Merge pull request #14367 from ramonlsouza/issue-3672

refactor: create 'common' folder for all reusable components
This commit is contained in:
Anton Georgiev 2022-02-15 13:36:51 -05:00 committed by GitHub
commit 7db0de32db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
196 changed files with 230 additions and 232 deletions

View File

@ -5,7 +5,7 @@ import Auth from '/imports/ui/services/auth';
import AppContainer from '/imports/ui/components/app/container';
import ErrorScreen from '/imports/ui/components/error-screen/component';
import MeetingEnded from '/imports/ui/components/meeting-ended/component';
import LoadingScreen from '/imports/ui/components/loading-screen/component';
import LoadingScreen from '/imports/ui/components/common/loading-screen/component';
import Settings from '/imports/ui/services/settings';
import logger from '/imports/startup/client/logger';
import Users from '/imports/api/users';

View File

@ -3,7 +3,7 @@ import { withTracker } from 'meteor/react-meteor-data';
import PropTypes from 'prop-types';
import { IntlProvider } from 'react-intl';
import Settings from '/imports/ui/services/settings';
import LoadingScreen from '/imports/ui/components/loading-screen/component';
import LoadingScreen from '/imports/ui/components/common/loading-screen/component';
import getFromUserSettings from '/imports/ui/services/users-settings';
import _ from 'lodash';
import { Session } from 'meteor/session';

View File

@ -1,6 +1,6 @@
import React from 'react';
import { defineMessages, injectIntl } from 'react-intl';
import Modal from '/imports/ui/components/modal/simple/component';
import Modal from '/imports/ui/components/common/modal/simple/component';
const intlMessages = defineMessages({
title: {

View File

@ -2,11 +2,11 @@ import _ from 'lodash';
import React, { PureComponent } from 'react';
import PropTypes from 'prop-types';
import { defineMessages } from 'react-intl';
import { withModalMounter } from '/imports/ui/components/modal/service';
import { withModalMounter } from '/imports/ui/components/common/modal/service';
import withShortcutHelper from '/imports/ui/components/shortcut-help/service';
import ExternalVideoModal from '/imports/ui/components/external-video-player/modal/container';
import RandomUserSelectContainer from '/imports/ui/components/modal/random-user/container';
import BBBMenu from '/imports/ui/components/menu/component';
import RandomUserSelectContainer from '/imports/ui/components/common/modal/random-user/container';
import BBBMenu from '/imports/ui/components/common/menu/component';
import Styled from './styles'
import { PANELS, ACTIONS } from '../../layout/enums';
import deviceInfo from '/imports/utils/deviceInfo';

View File

@ -1,6 +1,6 @@
import styled from 'styled-components';
import { smallOnly } from '/imports/ui/stylesheets/styled-components/breakpoints';
import Button from '/imports/ui/components/button/component';
import Button from '/imports/ui/components/common/button/component';
const HideDropdownButton = styled(Button)`
${({ open }) => open && `

View File

@ -3,10 +3,10 @@ import PropTypes from 'prop-types';
import { defineMessages, injectIntl } from 'react-intl';
import _ from 'lodash';
import deviceInfo from '/imports/utils/deviceInfo';
import Button from '/imports/ui/components/button/component';
import Button from '/imports/ui/components/common/button/component';
import { Session } from 'meteor/session';
import Modal from '/imports/ui/components/modal/fullscreen/component';
import { withModalMounter } from '/imports/ui/components/modal/service';
import Modal from '/imports/ui/components/common/modal/fullscreen/component';
import { withModalMounter } from '/imports/ui/components/common/modal/service';
import SortList from './sort-user-list/component';
import Styled from './styles';

View File

@ -1,5 +1,5 @@
import styled from 'styled-components';
import Button from '/imports/ui/components/button/component';
import Button from '/imports/ui/components/common/button/component';
import { TextElipsis, TitleElipsis } from '/imports/ui/stylesheets/styled-components/placeholders';
import Styled from '/imports/ui/components/actions-bar/create-breakout-room/styles';
import { colorWhite, colorGrayLighter } from '/imports/ui/stylesheets/styled-components/palette';

View File

@ -2,7 +2,7 @@ import styled from 'styled-components';
import { smallOnly } from '/imports/ui/stylesheets/styled-components/breakpoints';
import { ScrollboxVertical } from '/imports/ui/stylesheets/styled-components/scrollable';
import HoldButton from '/imports/ui/components/presentation/presentation-toolbar/zoom-tool/holdButton/component';
import Button from '/imports/ui/components/button/component';
import Button from '/imports/ui/components/common/button/component';
import { FlexRow, FlexColumn } from '/imports/ui/stylesheets/styled-components/placeholders';
import {
colorDanger,

View File

@ -1,5 +1,5 @@
import styled from 'styled-components';
import Button from '/imports/ui/components/button/component';
import Button from '/imports/ui/components/common/button/component';
import { colorWhite } from '/imports/ui/stylesheets/styled-components/palette';
const RestorePresentationButton = styled(Button)`

View File

@ -1,5 +1,5 @@
import styled from 'styled-components';
import Button from '/imports/ui/components/button/component';
import Button from '/imports/ui/components/common/button/component';
import { colorOffWhite, toolbarButtonColor } from '/imports/ui/stylesheets/styled-components/palette';
import { whiteboardToolbarPadding, borderSizeLarge } from '/imports/ui/stylesheets/styled-components/general';
import { headingsFontWeight } from '/imports/ui/stylesheets/styled-components/typography';

View File

@ -5,7 +5,7 @@ import deviceInfo from '/imports/utils/deviceInfo';
import browserInfo from '/imports/utils/browserInfo';
import logger from '/imports/startup/client/logger';
import { notify } from '/imports/ui/services/notification';
import { withModalMounter } from '../../modal/service';
import { withModalMounter } from '/imports/ui/components/common/modal/service';
import Styled from './styles';
import ScreenshareBridgeService from '/imports/api/screenshare/client/bridge/service';
import {

View File

@ -1,6 +1,6 @@
import React from 'react';
import { withTracker } from 'meteor/react-meteor-data';
import { withModalMounter } from '/imports/ui/components/modal/service';
import { withModalMounter } from '/imports/ui/components/common/modal/service';
import ScreenshareButton from './component';
import { isScreenSharingEnabled } from '/imports/ui/services/features';
import {

View File

@ -1,6 +1,6 @@
import styled from 'styled-components';
import Modal from '/imports/ui/components/modal/simple/component';
import Button from '/imports/ui/components/button/component';
import Modal from '/imports/ui/components/common/modal/simple/component';
import Button from '/imports/ui/components/common/button/component';
import { colorGrayDark, colorWhite } from '/imports/ui/stylesheets/styled-components/palette';
import {
jumboPaddingY,

View File

@ -2,7 +2,7 @@ import styled from 'styled-components';
import { smallOnly } from '/imports/ui/stylesheets/styled-components/breakpoints';
import { smPaddingX, smPaddingY } from '/imports/ui/stylesheets/styled-components/general';
import { colorWhite } from '/imports/ui/stylesheets/styled-components/palette';
import Button from '/imports/ui/components/button/component';
import Button from '/imports/ui/components/common/button/component';
const ActionsBar = styled.div`
display: flex;

View File

@ -2,8 +2,8 @@ import React, { Component } from 'react';
import PropTypes from 'prop-types';
import { defineMessages } from 'react-intl';
import Button from '/imports/ui/components/button/component';
import Modal from '/imports/ui/components/modal/simple/component';
import Button from '/imports/ui/components/common/button/component';
import Modal from '/imports/ui/components/common/modal/simple/component';
import { makeCall } from '/imports/ui/services/api';
import { Meteor } from 'meteor/meteor';

View File

@ -11,9 +11,9 @@ import ActivityCheckContainer from '/imports/ui/components/activity-check/contai
import UserInfoContainer from '/imports/ui/components/user-info/container';
import BreakoutRoomInvitation from '/imports/ui/components/breakout-room/invitation/container';
import { Meteor } from 'meteor/meteor';
import ToastContainer from '../toast/container';
import ToastContainer from '/imports/ui/components/common/toast/container';
import PadsSessionsContainer from '/imports/ui/components/pads/sessions/container';
import ModalContainer from '../modal/container';
import ModalContainer from '/imports/ui/components/common/modal/container';
import NotificationsBarContainer from '../notifications-bar/container';
import AudioContainer from '../audio/container';
import ChatAlertContainer from '../chat/alert/container';
@ -25,7 +25,7 @@ import MediaService from '/imports/ui/components/media/service';
import ManyWebcamsNotifier from '/imports/ui/components/video-provider/many-users-notify/container';
import UploaderContainer from '/imports/ui/components/presentation/presentation-uploader/container';
import CaptionsSpeechContainer from '/imports/ui/components/captions/speech/container';
import RandomUserSelectContainer from '/imports/ui/components/modal/random-user/container';
import RandomUserSelectContainer from '/imports/ui/components/common/modal/random-user/container';
import NewWebcamContainer from '../webcam/container';
import PresentationAreaContainer from '../presentation/presentation-area/container';
import ScreenshareContainer from '../screenshare/container';

View File

@ -27,7 +27,7 @@ import {
validIOSVersion,
} from './service';
import { withModalMounter, getModal } from '../modal/service';
import { withModalMounter, getModal } from '/imports/ui/components/common/modal/service';
import App from './component';
import ActionsBarContainer from '../actions-bar/container';

View File

@ -1,6 +1,6 @@
import React from 'react';
import { withTracker } from 'meteor/react-meteor-data';
import { withModalMounter } from '/imports/ui/components/modal/service';
import { withModalMounter } from '/imports/ui/components/common/modal/service';
import AudioManager from '/imports/ui/services/audio-manager';
import lockContextContainer from '/imports/ui/components/lock-viewers/context/container';
import { withUsersConsumer } from '/imports/ui/components/components-data/users-context/context';

View File

@ -3,8 +3,8 @@ import logger from '/imports/startup/client/logger';
import Auth from '/imports/ui/services/auth';
import { defineMessages, injectIntl } from 'react-intl';
import PropTypes from 'prop-types';
import Button from '/imports/ui/components/button/component';
import BBBMenu from '/imports/ui/components/menu/component';
import Button from '/imports/ui/components/common/button/component';
import BBBMenu from '/imports/ui/components/common/menu/component';
import withShortcutHelper from '/imports/ui/components/shortcut-help/service';
import Styled from './styles';

View File

@ -1,5 +1,5 @@
import styled from 'styled-components';
import ButtonEmoji from '/imports/ui/components/button/button-emoji/ButtonEmoji';
import ButtonEmoji from '/imports/ui/components/common/button/button-emoji/ButtonEmoji';
const AudioDropdown = styled(ButtonEmoji)`
span {

View File

@ -1,5 +1,5 @@
import styled, { css, keyframes } from 'styled-components';
import Button from '/imports/ui/components/button/component';
import Button from '/imports/ui/components/common/button/component';
import { smallOnly } from '/imports/ui/stylesheets/styled-components/breakpoints';
import { colorWhite } from '/imports/ui/stylesheets/styled-components/palette';
import { smPaddingX, smPaddingY } from '/imports/ui/stylesheets/styled-components/general';

View File

@ -1,6 +1,6 @@
import React from 'react';
import { withTracker } from 'meteor/react-meteor-data';
import { withModalMounter } from '/imports/ui/components/modal/service';
import { withModalMounter } from '/imports/ui/components/common/modal/service';
import browserInfo from '/imports/utils/browserInfo';
import getFromUserSettings from '/imports/ui/services/users-settings';
import AudioModal from './component';

View File

@ -1,4 +1,4 @@
import { showModal } from '/imports/ui/components/modal/service';
import { showModal } from '/imports/ui/components/common/modal/service';
import Service from '../service';
import Storage from '/imports/ui/services/storage/session';

View File

@ -1,6 +1,6 @@
import styled, { css, keyframes } from 'styled-components';
import Button from '/imports/ui/components/button/component';
import Modal from '/imports/ui/components/modal/simple/component';
import Button from '/imports/ui/components/common/button/component';
import Modal from '/imports/ui/components/common/modal/simple/component';
import { smallOnly } from '/imports/ui/stylesheets/styled-components/breakpoints';
import {
colorPrimary,

View File

@ -1,8 +1,8 @@
import React from 'react';
import PropTypes from 'prop-types';
import { defineMessages, injectIntl } from 'react-intl';
import Button from '/imports/ui/components/button/component';
import { withModalMounter } from '/imports/ui/components/modal/service';
import Button from '/imports/ui/components/common/button/component';
import { withModalMounter } from '/imports/ui/components/common/modal/service';
import AudioTestContainer from '/imports/ui/components/audio/audio-test/container';
import Styled from './styles';

View File

@ -1,5 +1,5 @@
import styled from 'styled-components';
import Button from '/imports/ui/components/button/component';
import Button from '/imports/ui/components/common/button/component';
import DeviceSelector from '/imports/ui/components/audio/device-selector/component';
import { smallOnly } from '/imports/ui/stylesheets/styled-components/breakpoints';
import {

View File

@ -1,5 +1,5 @@
import styled from 'styled-components';
import Button from '/imports/ui/components/button/component';
import Button from '/imports/ui/components/common/button/component';
import { colorPrimary } from '/imports/ui/stylesheets/styled-components/palette';
const TestAudioButton = styled(Button)`

View File

@ -1,5 +1,5 @@
import styled from 'styled-components';
import Button from '/imports/ui/components/button/component';
import Button from '/imports/ui/components/common/button/component';
const AutoplayPrompt = styled.span`
margin-top: auto;

View File

@ -2,7 +2,7 @@ import React, { PureComponent } from 'react';
import PropTypes from 'prop-types';
import { withTracker } from 'meteor/react-meteor-data';
import { Session } from 'meteor/session';
import { withModalMounter } from '/imports/ui/components/modal/service';
import { withModalMounter } from '/imports/ui/components/common/modal/service';
import { injectIntl, defineMessages } from 'react-intl';
import _ from 'lodash';
import Breakouts from '/imports/api/breakouts';

View File

@ -1,5 +1,5 @@
import styled from 'styled-components';
import Button from '/imports/ui/components/button/component';
import Button from '/imports/ui/components/common/button/component';
import { smallOnly } from '/imports/ui/stylesheets/styled-components/breakpoints';
const EchoTest = styled.span`

View File

@ -1,5 +1,5 @@
import styled from 'styled-components';
import Button from '/imports/ui/components/button/component';
import Button from '/imports/ui/components/common/button/component';
import { smallOnly } from '/imports/ui/stylesheets/styled-components/breakpoints';
const Help = styled.span`

View File

@ -1,5 +1,5 @@
import styled, { css, keyframes } from 'styled-components';
import Modal from '/imports/ui/components/modal/simple/component';
import Modal from '/imports/ui/components/common/modal/simple/component';
import { colorBlack } from '/imports/ui/stylesheets/styled-components/palette';
import { jumboPaddingX } from '/imports/ui/stylesheets/styled-components/general';

View File

@ -2,7 +2,7 @@ import React, { Component } from 'react';
import { Session } from 'meteor/session';
import logger from '/imports/startup/client/logger';
import Auth from '/imports/ui/services/auth';
import LoadingScreen from '/imports/ui/components/loading-screen/component';
import LoadingScreen from '/imports/ui/components/common/loading-screen/component';
const STATUS_CONNECTING = 'connecting';

View File

@ -1,7 +1,7 @@
import React, { Component } from 'react';
import { defineMessages, injectIntl } from 'react-intl';
import { withModalMounter } from '/imports/ui/components/modal/service';
import Modal from '/imports/ui/components/modal/fullscreen/component';
import { withModalMounter } from '/imports/ui/components/common/modal/service';
import Modal from '/imports/ui/components/common/modal/fullscreen/component';
import logger from '/imports/startup/client/logger';
import PropTypes from 'prop-types';
import AudioService from '../audio/service';

View File

@ -1,7 +1,7 @@
import React from 'react';
import { withTracker } from 'meteor/react-meteor-data';
import { defineMessages, injectIntl } from 'react-intl';
import injectNotify from '/imports/ui/components/toast/inject-notify/component';
import injectNotify from '/imports/ui/components/common/toast/inject-notify/component';
import humanizeSeconds from '/imports/utils/humanizeSeconds';
import _ from 'lodash';
import BreakoutRemainingTimeComponent from './component';

View File

@ -1,7 +1,7 @@
import React, { PureComponent } from 'react';
import { defineMessages, injectIntl } from 'react-intl';
import _ from 'lodash';
import Button from '/imports/ui/components/button/component';
import Button from '/imports/ui/components/common/button/component';
import { Session } from 'meteor/session';
import logger from '/imports/startup/client/logger';
import Styled from './styles';

View File

@ -1,7 +1,7 @@
import React, { Component } from 'react';
import PropTypes from 'prop-types';
import { Session } from 'meteor/session';
import { withModalMounter } from '/imports/ui/components/modal/service';
import { withModalMounter } from '/imports/ui/components/common/modal/service';
import BreakoutJoinConfirmation from '/imports/ui/components/breakout-join-confirmation/container';
import BreakoutService from '../service';

View File

@ -14,7 +14,7 @@ import {
} from '/imports/ui/stylesheets/styled-components/general';
import { fontSizeBase } from '/imports/ui/stylesheets/styled-components/typography';
import TextareaAutosize from 'react-autosize-textarea';
import Button from '/imports/ui/components/button/component';
import Button from '/imports/ui/components/common/button/component';
const Form = styled.form`
flex-grow: 0;

View File

@ -18,7 +18,7 @@ import {
fontSizeSmall,
} from '/imports/ui/stylesheets/styled-components/typography';
import { ScrollboxVertical } from '/imports/ui/stylesheets/styled-components/scrollable';
import Button from '/imports/ui/components/button/component';
import Button from '/imports/ui/components/common/button/component';
const BreakoutActions = styled.div`
display: flex;

View File

@ -1,6 +1,6 @@
import React from 'react';
import { withTracker } from 'meteor/react-meteor-data';
import { withModalMounter } from '/imports/ui/components/modal/service';
import { withModalMounter } from '/imports/ui/components/common/modal/service';
import Service from '/imports/ui/components/captions/service';
import CaptionsReaderMenuContainer from '/imports/ui/components/captions/reader-menu/container';
import CaptionButton from './component';

View File

@ -1,5 +1,5 @@
import styled from 'styled-components';
import Button from '/imports/ui/components/button/component';
import Button from '/imports/ui/components/common/button/component';
import { colorWhite } from '/imports/ui/stylesheets/styled-components/palette';
const CaptionsButton = styled(Button)`

View File

@ -2,7 +2,7 @@ import React from 'react';
import PropTypes from 'prop-types';
import { defineMessages, injectIntl } from 'react-intl';
import injectWbResizeEvent from '/imports/ui/components/presentation/resize-wrapper/component';
import Button from '/imports/ui/components/button/component';
import Button from '/imports/ui/components/common/button/component';
import PadContainer from '/imports/ui/components/pads/container';
import Service from '/imports/ui/components/captions/service';
import Styled from './styles';

View File

@ -1,9 +1,9 @@
import React, { PureComponent } from 'react';
import PropTypes from 'prop-types';
import Button from '/imports/ui/components/button/component';
import Button from '/imports/ui/components/common/button/component';
import { GithubPicker } from 'react-color';
import { defineMessages, injectIntl } from 'react-intl';
import { withModalMounter } from '/imports/ui/components/modal/service';
import { withModalMounter } from '/imports/ui/components/common/modal/service';
import Styled from './styles';
const DEFAULT_VALUE = 'select';

View File

@ -1,6 +1,6 @@
import React from 'react';
import { withTracker } from 'meteor/react-meteor-data';
import { withModalMounter } from '/imports/ui/components/modal/service';
import { withModalMounter } from '/imports/ui/components/common/modal/service';
import ReaderMenu from './component';
import CaptionsService from '/imports/ui/components/captions/service';

View File

@ -1,6 +1,6 @@
import styled from 'styled-components';
import { smallOnly } from '/imports/ui/stylesheets/styled-components/breakpoints';
import Modal from '/imports/ui/components/modal/simple/component';
import Modal from '/imports/ui/components/common/modal/simple/component';
import {
colorGrayDark,
colorWhite,

View File

@ -13,7 +13,7 @@ import {
} from '/imports/ui/stylesheets/styled-components/general';
import { smallOnly } from '/imports/ui/stylesheets/styled-components/breakpoints';
import { DivElipsis } from '/imports/ui/stylesheets/styled-components/placeholders';
import Button from '/imports/ui/components/button/component';
import Button from '/imports/ui/components/common/button/component';
const Captions = styled.div`
background-color: ${colorWhite};

View File

@ -1,9 +1,9 @@
import React, { PureComponent } from 'react';
import { defineMessages, injectIntl } from 'react-intl';
import { withModalMounter } from '/imports/ui/components/modal/service';
import { withModalMounter } from '/imports/ui/components/common/modal/service';
import PropTypes from 'prop-types';
import Service from '/imports/ui/components/captions/service';
import LocalesDropdown from '/imports/ui/components/locales-dropdown/component';
import LocalesDropdown from '/imports/ui/components/common/locales-dropdown/component';
import Styled from './styles';
import { PANELS, ACTIONS } from '../../layout/enums';

View File

@ -1,6 +1,6 @@
import React, { useContext } from 'react';
import { withTracker } from 'meteor/react-meteor-data';
import { withModalMounter } from '/imports/ui/components/modal/service';
import { withModalMounter } from '/imports/ui/components/common/modal/service';
import Service from '/imports/ui/components/captions/service';
import WriterMenu from './component';
import { layoutDispatch } from '../../layout/context';

View File

@ -10,8 +10,8 @@ import {
colorPrimary,
} from '/imports/ui/stylesheets/styled-components/palette';
import { HeaderElipsis } from '/imports/ui/stylesheets/styled-components/placeholders';
import Button from '/imports/ui/components/button/component';
import Modal from '/imports/ui/components/modal/simple/component';
import Button from '/imports/ui/components/common/button/component';
import Modal from '/imports/ui/components/common/modal/simple/component';
const WriterMenuModal = styled(Modal)`
padding: 1.5rem;

View File

@ -3,7 +3,7 @@ import PropTypes from 'prop-types';
import { Meteor } from 'meteor/meteor';
import { defineMessages, injectIntl } from 'react-intl';
import _ from 'lodash';
import injectNotify from '/imports/ui/components/toast/inject-notify/component';
import injectNotify from '/imports/ui/components/common/toast/inject-notify/component';
import AudioService from '/imports/ui/components/audio/service';
import ChatPushAlert from './push-alert/component';
import Service from '../service';

View File

@ -1,6 +1,6 @@
import React, { PureComponent } from 'react';
import PropTypes from 'prop-types';
import injectNotify from '/imports/ui/components/toast/inject-notify/component';
import injectNotify from '/imports/ui/components/common/toast/inject-notify/component';
import { PANELS, ACTIONS } from '../../../layout/enums';
const propTypes = {

View File

@ -1,9 +1,9 @@
import React, { PureComponent } from 'react';
import { defineMessages, injectIntl } from 'react-intl';
import { withModalMounter } from '/imports/ui/components/modal/service';
import { withModalMounter } from '/imports/ui/components/common/modal/service';
import _ from 'lodash';
import BBBMenu from "/imports/ui/components/menu/component";
import Button from '/imports/ui/components/button/component';
import BBBMenu from "/imports/ui/components/common/menu/component";
import Button from '/imports/ui/components/common/button/component';
import { alertScreenReader } from '/imports/utils/dom-utils';

View File

@ -2,7 +2,7 @@ import React, { memo } from 'react';
import PropTypes from 'prop-types';
import { defineMessages, injectIntl } from 'react-intl';
import injectWbResizeEvent from '/imports/ui/components/presentation/resize-wrapper/component';
import Button from '/imports/ui/components/button/component';
import Button from '/imports/ui/components/common/button/component';
import withShortcutHelper from '/imports/ui/components/shortcut-help/service';
import { Meteor } from 'meteor/meteor';
import ChatLogger from '/imports/ui/components/chat/chat-logger/ChatLogger';

View File

@ -13,7 +13,7 @@ import {
} from '/imports/ui/stylesheets/styled-components/general';
import { fontSizeBase } from '/imports/ui/stylesheets/styled-components/typography';
import TextareaAutosize from 'react-autosize-textarea';
import Button from '/imports/ui/components/button/component';
import Button from '/imports/ui/components/common/button/component';
const Form = styled.form`
flex-grow: 0;

View File

@ -4,7 +4,7 @@ import {
colorGrayDark,
} from '/imports/ui/stylesheets/styled-components/palette';
import { smallOnly } from '/imports/ui/stylesheets/styled-components/breakpoints';
import Button from '/imports/ui/components/button/component';
import Button from '/imports/ui/components/common/button/component';
import {
mdPaddingX,
mdPaddingY,

View File

@ -19,7 +19,7 @@ import {
colorText,
} from '/imports/ui/stylesheets/styled-components/palette';
import MessageChatItem from './message-chat-item/component';
import Icon from '/imports/ui/components/icon/component';
import Icon from '/imports/ui/components/common/icon/component';
const Item = styled.div`
padding: calc(${lineHeightComputed} / 4) 0 calc(${lineHeightComputed} / 2) 0;

View File

@ -1,7 +1,7 @@
import React from 'react';
import PropTypes from 'prop-types';
import Styled from './styles';
import TooltipContainer from '/imports/ui/components/tooltip/container';
import TooltipContainer from '/imports/ui/components/common/tooltip/container';
const propTypes = {
/**

View File

@ -1,5 +1,5 @@
import styled from 'styled-components';
import Icon from '../../icon/component';
import Icon from '/imports/ui/components/common/icon/component';
import {
btnDefaultColor,
btnDefaultBg,

View File

@ -1,7 +1,7 @@
import React from 'react';
import PropTypes from 'prop-types';
import cx from 'classnames';
import TooltipContainer from '/imports/ui/components/tooltip/container';
import TooltipContainer from '/imports/ui/components/common/tooltip/container';
import Styled from './styles';
import BaseButton from './base/component';
import ButtonEmoji from './button-emoji/ButtonEmoji';

View File

@ -1,5 +1,5 @@
import styled from 'styled-components';
import Icon from '../icon/component';
import Icon from '/imports/ui/components/common/icon/component';
import {
btnSpacing,
borderRadius,

View File

@ -1,6 +1,6 @@
import styled from 'styled-components';
import { colorGrayLight, colorSuccess } from '/imports/ui/stylesheets/styled-components/palette';
import Icon from '../icon/component';
import Icon from '/imports/ui/components/common/icon/component';
const CheckboxWrapper = styled.div`
opacity: 1;

View File

@ -1,7 +1,7 @@
import React from 'react';
import ModalSimple from '/imports/ui/components/modal/simple/component';
import ModalSimple from '/imports/ui/components/common/modal/simple/component';
import { defineMessages, injectIntl } from 'react-intl';
import { withModalMounter } from '/imports/ui/components/modal/service';
import { withModalMounter } from '/imports/ui/components/common/modal/service';
import FallbackView from '../fallback-view/component';
const intlMessages = defineMessages({

View File

@ -5,7 +5,7 @@ import {
colorGrayLighter,
} from '/imports/ui/stylesheets/styled-components/palette';
import { fontSizeBase } from '/imports/ui/stylesheets/styled-components/typography';
import Button from '/imports/ui/components/button/component';
import Button from '/imports/ui/components/common/button/component';
const Background = styled.div`
display: flex;

View File

@ -2,7 +2,7 @@ import React from 'react';
import { defineMessages, injectIntl } from 'react-intl';
import PropTypes from 'prop-types';
import Styled from './styles';
import { ACTIONS } from '../layout/enums';
import { ACTIONS } from '/imports/ui/components/layout/enums';
const intlMessages = defineMessages({
fullscreenButton: {

View File

@ -1,6 +1,6 @@
import React from 'react';
import FullscreenButtonComponent from './component';
import { layoutSelect, layoutDispatch } from '../layout/context';
import { layoutSelect, layoutDispatch } from '/imports/ui/components/layout/context';
import FullscreenService from './service';
const FullscreenButtonContainer = (props) => <FullscreenButtonComponent {...props} />;

View File

@ -1,5 +1,5 @@
import styled from 'styled-components';
import Button from '/imports/ui/components/button/component';
import Button from '/imports/ui/components/common/button/component';
import {
colorTransparent,
colorWhite,

View File

@ -5,7 +5,7 @@ import { defineMessages, injectIntl } from "react-intl";
import Menu from "@material-ui/core/Menu";
import { Divider } from "@material-ui/core";
import Icon from "/imports/ui/components/icon/component";
import Icon from "/imports/ui/components/common/icon/component";
import { ENTER } from "/imports/utils/keyCodes";

View File

@ -1,6 +1,6 @@
import styled from 'styled-components';
import Button from "/imports/ui/components/button/component";
import Icon from '/imports/ui/components/icon/component';
import Button from "/imports/ui/components/common/button/component";
import Icon from '/imports/ui/components/common/icon/component';
import MenuItem from "@material-ui/core/MenuItem";
import { colorWhite, colorPrimary } from '/imports/ui/stylesheets/styled-components/palette';
import { fontSizeLarge } from '/imports/ui/stylesheets/styled-components/typography';

View File

@ -1,7 +1,7 @@
import styled from 'styled-components';
import Styled from '../base/styles';
import { smallOnly } from '/imports/ui/stylesheets/styled-components/breakpoints';
import Button from '/imports/ui/components/button/component';
import Button from '/imports/ui/components/common/button/component';
import { borderSize, smPaddingX } from '/imports/ui/stylesheets/styled-components/general';
import {
lineHeightComputed,

View File

@ -1,7 +1,7 @@
import React, { Component } from 'react';
import { defineMessages, injectIntl } from 'react-intl';
import PropTypes from 'prop-types';
import Modal from '/imports/ui/components/modal/simple/component';
import Modal from '/imports/ui/components/common/modal/simple/component';
import AudioService from '/imports/ui/components/audio/service';
import Styled from './styles';

View File

@ -3,7 +3,7 @@ import { withTracker } from 'meteor/react-meteor-data';
import Meetings from '/imports/api/meetings';
import Users from '/imports/api/users';
import Auth from '/imports/ui/services/auth';
import { withModalMounter } from '/imports/ui/components/modal/service';
import { withModalMounter } from '/imports/ui/components/common/modal/service';
import { makeCall } from '/imports/ui/services/api';
import RandomUserSelect from './component';
import { UsersContext } from '/imports/ui/components/components-data/users-context/context';

View File

@ -1,5 +1,5 @@
import styled from 'styled-components';
import Button from '/imports/ui/components/button/component';
import Button from '/imports/ui/components/common/button/component';
import {
fontSizeLarge,
fontSizeXXL,

View File

@ -1,6 +1,6 @@
import React, { Component } from 'react';
import { defineMessages } from 'react-intl';
import { withModalMounter } from '/imports/ui/components/modal/service';
import { withModalMounter } from '/imports/ui/components/common/modal/service';
import Styled from './styles';
const messages = defineMessages({

View File

@ -1,6 +1,6 @@
import styled from 'styled-components';
import Button from '/imports/ui/components/button/component';
import Modal from '/imports/ui/components/modal/simple/component';
import Button from '/imports/ui/components/common/button/component';
import Modal from '/imports/ui/components/common/modal/simple/component';
import {
smPaddingX,
smPaddingY,

View File

@ -1,6 +1,6 @@
import styled from 'styled-components';
import Styled from '../base/styles';
import Button from '/imports/ui/components/button/component';
import Button from '/imports/ui/components/common/button/component';
import { borderSize } from '/imports/ui/stylesheets/styled-components/general';
import {
lineHeightComputed,

View File

@ -1,7 +1,7 @@
import React from 'react';
import PropTypes from 'prop-types';
import { toast } from 'react-toastify';
import Icon from '../icon/component';
import Icon from '/imports/ui/components/common/icon/component';
import Styled from './styles';
const propTypes = {

View File

@ -1,6 +1,6 @@
import styled from 'styled-components';
import { ToastContainer as Toastify } from 'react-toastify';
import Icon from '../icon/component';
import Icon from '/imports/ui/components/common/icon/component';
import {
fontSizeSmallest,
fontSizeSmaller,

View File

@ -8,9 +8,8 @@ import Tippy, { roundArrow, hideAll } from 'tippy.js';
import 'tippy.js/dist/svg-arrow.css';
import 'tippy.js/animations/shift-away.css';
import './bbbtip.css';
import BaseButton from '/imports/ui/components/button/base/component';
import ButtonEmoji from
'/imports/ui/components/button/button-emoji/ButtonEmoji';
import BaseButton from '/imports/ui/components/common/button/base/component';
import ButtonEmoji from '/imports/ui/components/common/button/button-emoji/ButtonEmoji';
const ANIMATION_DURATION = 350;
const ANIMATION_DELAY = [150, 50];

View File

@ -1,6 +1,6 @@
import React from 'react';
import { withTracker } from 'meteor/react-meteor-data';
import FullscreenService from '/imports/ui/components/fullscreen-button/service';
import FullscreenService from '/imports/ui/components/common/fullscreen-button/service';
import Tooltip from './component';
const TooltipContainer = props => <Tooltip {...props} />;

View File

@ -1,7 +1,7 @@
import React, { PureComponent } from 'react';
import { withModalMounter } from '/imports/ui/components/modal/service';
import { withModalMounter } from '/imports/ui/components/common/modal/service';
import { defineMessages, injectIntl } from 'react-intl';
import Button from '/imports/ui/components/button/component';
import Button from '/imports/ui/components/common/button/component';
import ConnectionStatusModalContainer from '/imports/ui/components/connection-status/modal/container';
import ConnectionStatusService from '/imports/ui/components/connection-status/service';
import Icon from '/imports/ui/components/connection-status/icon/component';

Some files were not shown because too many files have changed in this diff Show More