quickblox-react-ui-kit 0.4.1 → 0.4.2-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Presentation/ui-components/TextField/TextField.d.ts +1 -1
- package/dist/index-ui.d.ts +2 -1
- package/dist/index-ui.js +21 -0
- package/dist/index-ui.js.map +1 -1
- package/package.json +2 -2
- package/.storybook/main.ts +0 -26
- package/.storybook/preview.ts +0 -16
- package/public/favicon.ico +0 -0
- package/public/index.html +0 -47
- package/public/logo192.png +0 -0
- package/public/logo512.png +0 -0
- package/public/manifest.json +0 -25
- package/public/quickblox.js +0 -54609
- package/public/robots.txt +0 -3
- package/src/App.scss +0 -3
- package/src/App.tsx +0 -232
- package/src/CommonTypes/BaseViewModel.ts +0 -95
- package/src/CommonTypes/CommonTypes.ts +0 -260
- package/src/CommonTypes/FunctionResult.ts +0 -7
- package/src/Data/Creator.ts +0 -105
- package/src/Data/DefaultConfigurations.ts +0 -277
- package/src/Data/Stubs.ts +0 -1241
- package/src/Data/dto/dialog/LocalDialogDTO.ts +0 -42
- package/src/Data/dto/dialog/LocalDialogsDTO.ts +0 -21
- package/src/Data/dto/dialog/RemoteDialogDTO.ts +0 -58
- package/src/Data/dto/dialog/RemoteDialogsDTO.ts +0 -21
- package/src/Data/dto/file/LocalFileDTO.ts +0 -26
- package/src/Data/dto/file/RemoteFileDTO.ts +0 -26
- package/src/Data/dto/message/LocalMessageDTO.ts +0 -49
- package/src/Data/dto/message/LocalMessagesDTO.ts +0 -21
- package/src/Data/dto/message/RemoteMessageDTO.ts +0 -57
- package/src/Data/dto/message/RemoteMessagesDTO.ts +0 -21
- package/src/Data/dto/user/LocalUserDTO.ts +0 -37
- package/src/Data/dto/user/LocalUsersDTO.ts +0 -21
- package/src/Data/dto/user/RemoteUserDTO.ts +0 -37
- package/src/Data/dto/user/RemoteUsersDTO.ts +0 -21
- package/src/Data/mapper/DialogLocalDTOMapper.ts +0 -736
- package/src/Data/mapper/DialogRemoteDTOMapper.ts +0 -736
- package/src/Data/mapper/FileLocalDTOMapper.ts +0 -216
- package/src/Data/mapper/FileRemoteDTOMapper.ts +0 -230
- package/src/Data/mapper/IMapper.ts +0 -4
- package/src/Data/mapper/MessageLocalDTOMapper.ts +0 -426
- package/src/Data/mapper/MessageRemoteDTOMapper.ts +0 -465
- package/src/Data/mapper/UserLocalDTOMapper.ts +0 -387
- package/src/Data/mapper/UserRemoteDTOMapper.ts +0 -398
- package/src/Data/repository/ConnectionRepository.ts +0 -135
- package/src/Data/repository/DialogsRepository.ts +0 -374
- package/src/Data/repository/EventMessagesRepository.ts +0 -325
- package/src/Data/repository/FileRepository.ts +0 -107
- package/src/Data/repository/MessagesRepository.ts +0 -291
- package/src/Data/repository/UsersRepository.ts +0 -297
- package/src/Data/source/AISource.ts +0 -133
- package/src/Data/source/exception/LocalDataSourceException.ts +0 -17
- package/src/Data/source/exception/MapperDTOException.ts +0 -22
- package/src/Data/source/exception/RemoteDataSourceException.ts +0 -28
- package/src/Data/source/exception/RepositoryException.ts +0 -27
- package/src/Data/source/local/ChatLocalStorageDataSource.ts +0 -260
- package/src/Data/source/local/ILocalDataSource.ts +0 -41
- package/src/Data/source/local/ILocalFileDataSource.ts +0 -11
- package/src/Data/source/local/LocalDataSource.ts +0 -353
- package/src/Data/source/local/LocalFileDataSource.ts +0 -20
- package/src/Data/source/remote/IRemoteDataSource.ts +0 -127
- package/src/Data/source/remote/Mapper/DialogDTOMapper.ts +0 -443
- package/src/Data/source/remote/Mapper/FileDTOMapper.ts +0 -274
- package/src/Data/source/remote/Mapper/IDTOMapper.ts +0 -4
- package/src/Data/source/remote/Mapper/MessageDTOMapper.ts +0 -608
- package/src/Data/source/remote/Mapper/UserDTOMapper.ts +0 -344
- package/src/Data/source/remote/RemoteDataSource.ts +0 -1503
- package/src/Domain/entity/Chat.ts +0 -4
- package/src/Domain/entity/ChatMessageAttachmentEntity.ts +0 -15
- package/src/Domain/entity/CustomDataEntity.ts +0 -3
- package/src/Domain/entity/DialogEntity.ts +0 -15
- package/src/Domain/entity/DialogEventInfo.ts +0 -19
- package/src/Domain/entity/DialogTypes.ts +0 -7
- package/src/Domain/entity/EventMessageType.ts +0 -7
- package/src/Domain/entity/FileEntity.ts +0 -11
- package/src/Domain/entity/FileTypes.ts +0 -9
- package/src/Domain/entity/GroupDialogEntity.ts +0 -54
- package/src/Domain/entity/LastMessageEntity.ts +0 -5
- package/src/Domain/entity/MessageEntity.ts +0 -25
- package/src/Domain/entity/NotificationTypes.ts +0 -9
- package/src/Domain/entity/PrivateDialogEntity.ts +0 -46
- package/src/Domain/entity/PublicDialogEntity.ts +0 -80
- package/src/Domain/entity/UserEntity.ts +0 -13
- package/src/Domain/exception/domain/DomainExecption.ts +0 -5
- package/src/Domain/repository/IDialogsRepository.ts +0 -42
- package/src/Domain/repository/IFileRepository.ts +0 -9
- package/src/Domain/repository/IMessagesRepository.ts +0 -28
- package/src/Domain/repository/IUsersRepository.ts +0 -13
- package/src/Domain/repository/Pagination.ts +0 -48
- package/src/Domain/use_cases/CreateDialogUseCase.ts +0 -79
- package/src/Domain/use_cases/ForwardMessagesUseCase.ts +0 -73
- package/src/Domain/use_cases/GetAllDialogsUseCase.ts +0 -20
- package/src/Domain/use_cases/GetAllDialogsUseCaseWithMock.ts +0 -40
- package/src/Domain/use_cases/GetAllMessagesForDialog.ts +0 -61
- package/src/Domain/use_cases/GetAllUsersUseCase.ts +0 -34
- package/src/Domain/use_cases/GetDialogByIdUseCase.ts +0 -32
- package/src/Domain/use_cases/GetUsersByIdsUseCase.ts +0 -22
- package/src/Domain/use_cases/LeaveDialogUseCase.ts +0 -116
- package/src/Domain/use_cases/RemoveUsersFromTheDialogUseCase.ts +0 -118
- package/src/Domain/use_cases/ReplyMessagesUseCase.ts +0 -35
- package/src/Domain/use_cases/SendTextMessageUseCase.ts +0 -27
- package/src/Domain/use_cases/SubscribeToDialogEventsUseCase.ts +0 -160
- package/src/Domain/use_cases/SubscribeToDialogsUpdatesUseCase.ts +0 -68
- package/src/Domain/use_cases/SubscribeToDialogsUpdatesUseCaseWithMock.ts +0 -45
- package/src/Domain/use_cases/SyncDialogsUseCase.ts +0 -177
- package/src/Domain/use_cases/UpdateCurrentDialogInDataSourceUseCase.ts +0 -31
- package/src/Domain/use_cases/UpdateDialogUseCase.ts +0 -77
- package/src/Domain/use_cases/UploadFileUseCase.ts +0 -24
- package/src/Domain/use_cases/UserTypingMessageUseCase.ts +0 -50
- package/src/Domain/use_cases/ai/AIAnswerAssistUseCase.ts +0 -69
- package/src/Domain/use_cases/ai/AIAnswerAssistWithProxyUseCase.ts +0 -57
- package/src/Domain/use_cases/ai/AIAnswerAssistWithSDKUseCase.ts +0 -50
- package/src/Domain/use_cases/ai/AIRephraseUseCase.ts +0 -89
- package/src/Domain/use_cases/ai/AIRephraseWithProxyUseCase.ts +0 -62
- package/src/Domain/use_cases/ai/AITranslateUseCase.ts +0 -76
- package/src/Domain/use_cases/ai/AITranslateWithProxyUseCase.ts +0 -63
- package/src/Domain/use_cases/ai/AITranslateWithSDKUseCase.ts +0 -107
- package/src/Domain/use_cases/base/BaseUseCase.ts +0 -77
- package/src/Domain/use_cases/base/IUseCase.ts +0 -5
- package/src/Domain/use_cases/base/Subscribable/ISubscribable.ts +0 -6
- package/src/Domain/use_cases/base/Subscribable/SubscriptionPerformer.ts +0 -144
- package/src/Presentation/.gitkeep +0 -0
- package/src/Presentation/Views/Dialog/AIComponents/AIAssist/AIAssist.scss +0 -39
- package/src/Presentation/Views/Dialog/AIComponents/AIAssist/AIAssist.tsx +0 -71
- package/src/Presentation/Views/Dialog/AIComponents/AIAssistComponent/AIAssistComponent.scss +0 -32
- package/src/Presentation/Views/Dialog/AIComponents/AIAssistComponent/AIAssistComponent.tsx +0 -28
- package/src/Presentation/Views/Dialog/AIComponents/AITranslate/AITranslate.scss +0 -77
- package/src/Presentation/Views/Dialog/AIComponents/AITranslate/AITranslate.tsx +0 -126
- package/src/Presentation/Views/Dialog/AIComponents/AITranslateComponent/AITranslateComponent.scss +0 -47
- package/src/Presentation/Views/Dialog/AIComponents/AITranslateComponent/AITranslateComponent.tsx +0 -78
- package/src/Presentation/Views/Dialog/AIWidgets/AIMessageWidget.ts +0 -40
- package/src/Presentation/Views/Dialog/AIWidgets/AIRephraseWidget/AIRephraseWidget.scss +0 -25
- package/src/Presentation/Views/Dialog/AIWidgets/AIRephraseWidget/AIRephraseWidget.tsx +0 -186
- package/src/Presentation/Views/Dialog/AIWidgets/AIWidgetActions/AIWidgetActions.scss +0 -55
- package/src/Presentation/Views/Dialog/AIWidgets/AIWidgetActions/AIWidgetActions.tsx +0 -122
- package/src/Presentation/Views/Dialog/AIWidgets/ErrorMessageIcon.tsx +0 -98
- package/src/Presentation/Views/Dialog/AIWidgets/SliderMenu.tsx +0 -172
- package/src/Presentation/Views/Dialog/AIWidgets/Tone.ts +0 -21
- package/src/Presentation/Views/Dialog/AIWidgets/UseDefaultAIAssistAnswerWidget.tsx +0 -72
- package/src/Presentation/Views/Dialog/AIWidgets/UseDefaultAIAssistAnswerWidgetWithProxy.tsx +0 -72
- package/src/Presentation/Views/Dialog/AIWidgets/UseDefaultAIAssistAnswerWidgetWithSDK.tsx +0 -74
- package/src/Presentation/Views/Dialog/AIWidgets/UseDefaultAIRephraseMessageWidget.tsx +0 -96
- package/src/Presentation/Views/Dialog/AIWidgets/UseDefaultAIRephraseMessageWidgetWithProxy.tsx +0 -94
- package/src/Presentation/Views/Dialog/AIWidgets/UseDefaultAITranslateWidget.tsx +0 -78
- package/src/Presentation/Views/Dialog/AIWidgets/UseDefaultAITranslateWidgetWithProxy.tsx +0 -78
- package/src/Presentation/Views/Dialog/AIWidgets/UseDefaultAITranslateWidgetWithSDK.tsx +0 -70
- package/src/Presentation/Views/Dialog/AIWidgets/useDefaultVoiceInputWidget.tsx +0 -88
- package/src/Presentation/Views/Dialog/ContextMenu/ContextMenu.scss +0 -58
- package/src/Presentation/Views/Dialog/ContextMenu/ContextMenu.tsx +0 -93
- package/src/Presentation/Views/Dialog/Dialog.scss +0 -368
- package/src/Presentation/Views/Dialog/Dialog.tsx +0 -100
- package/src/Presentation/Views/Dialog/DialogHeader/DialogBackIcon/DialogBackIcon.scss +0 -29
- package/src/Presentation/Views/Dialog/DialogHeader/DialogBackIcon/DialogBackIcon.tsx +0 -34
- package/src/Presentation/Views/Dialog/DialogHeader/DialogHeader.scss +0 -114
- package/src/Presentation/Views/Dialog/DialogHeader/DialogHeader.tsx +0 -51
- package/src/Presentation/Views/Dialog/DialogHeader/DialogInfoIcon/DialogInfoIcon.scss +0 -53
- package/src/Presentation/Views/Dialog/DialogHeader/DialogInfoIcon/DialogInfoIcon.tsx +0 -58
- package/src/Presentation/Views/Dialog/DialogViewModel.ts +0 -26
- package/src/Presentation/Views/Dialog/DropDownMenu/DropDownMenu.scss +0 -84
- package/src/Presentation/Views/Dialog/DropDownMenu/DropDownMenu.tsx +0 -105
- package/src/Presentation/Views/Dialog/DropDownMenu/ItemDropDownMenu/ItemDropDownMenu.scss +0 -50
- package/src/Presentation/Views/Dialog/DropDownMenu/ItemDropDownMenu/ItemDropDownMenu.tsx +0 -43
- package/src/Presentation/Views/Dialog/ErrorToast/ErrorToast.scss +0 -26
- package/src/Presentation/Views/Dialog/ErrorToast/ErrorToast.tsx +0 -23
- package/src/Presentation/Views/Dialog/ForwardMessageFlow/DialogsWithSearch/DialogListItem/DialogListItem.scss +0 -74
- package/src/Presentation/Views/Dialog/ForwardMessageFlow/DialogsWithSearch/DialogListItem/DialogListItem.tsx +0 -96
- package/src/Presentation/Views/Dialog/ForwardMessageFlow/DialogsWithSearch/DialogsWithSearch.scss +0 -50
- package/src/Presentation/Views/Dialog/ForwardMessageFlow/DialogsWithSearch/DialogsWithSearch.tsx +0 -97
- package/src/Presentation/Views/Dialog/ForwardMessageFlow/DialogsWithSearch/SearchComponent/SearchComponent.scss +0 -98
- package/src/Presentation/Views/Dialog/ForwardMessageFlow/DialogsWithSearch/SearchComponent/SearchComponent.tsx +0 -65
- package/src/Presentation/Views/Dialog/ForwardMessageFlow/ForwardMessageFlow.scss +0 -159
- package/src/Presentation/Views/Dialog/ForwardMessageFlow/ForwardMessageFlow.tsx +0 -122
- package/src/Presentation/Views/Dialog/ForwardMessageFlow/ForwardMessagePreview/ForwardMessagePreview.scss +0 -100
- package/src/Presentation/Views/Dialog/ForwardMessageFlow/ForwardMessagePreview/ForwardMessagePreview.tsx +0 -90
- package/src/Presentation/Views/Dialog/ForwardMessageFlow/InputForForwarding/InputForForwarding.scss +0 -95
- package/src/Presentation/Views/Dialog/ForwardMessageFlow/InputForForwarding/InputForForwarding.tsx +0 -47
- package/src/Presentation/Views/Dialog/InputMessage/InputMessage.scss +0 -92
- package/src/Presentation/Views/Dialog/InputMessage/InputMessage.tsx +0 -145
- package/src/Presentation/Views/Dialog/Message/HighLightLink/HighLightLink.scss +0 -97
- package/src/Presentation/Views/Dialog/Message/HighLightLink/HighLightLink.tsx +0 -114
- package/src/Presentation/Views/Dialog/Message/IncomingForwardedMessage/IncomingForwardedMessage.scss +0 -250
- package/src/Presentation/Views/Dialog/Message/IncomingForwardedMessage/IncomingForwardedMessage.tsx +0 -290
- package/src/Presentation/Views/Dialog/Message/IncomingMessage/AvatarContentIncomingUser/AvatarContentIncomingUser.scss +0 -22
- package/src/Presentation/Views/Dialog/Message/IncomingMessage/AvatarContentIncomingUser/AvatarContentIncomingUser.tsx +0 -32
- package/src/Presentation/Views/Dialog/Message/IncomingMessage/IncomingMessage.scss +0 -241
- package/src/Presentation/Views/Dialog/Message/IncomingMessage/IncomingMessage.tsx +0 -316
- package/src/Presentation/Views/Dialog/Message/IncomingMessage/MessageContentComponent/MessageContentComponent.scss +0 -4
- package/src/Presentation/Views/Dialog/Message/IncomingMessage/MessageContentComponent/MessageContentComponent.tsx +0 -67
- package/src/Presentation/Views/Dialog/Message/IncomingRepliedMessage/IncomingRepliedMessage.scss +0 -250
- package/src/Presentation/Views/Dialog/Message/IncomingRepliedMessage/IncomingRepliedMessage.tsx +0 -298
- package/src/Presentation/Views/Dialog/Message/Message.tsx +0 -378
- package/src/Presentation/Views/Dialog/Message/MessageAttachment/AudioAttachment/AudioAttachment.scss +0 -31
- package/src/Presentation/Views/Dialog/Message/MessageAttachment/AudioAttachment/AudioAttachment.tsx +0 -155
- package/src/Presentation/Views/Dialog/Message/MessageAttachment/DefaultAttachment/DefaultAttachment.scss +0 -76
- package/src/Presentation/Views/Dialog/Message/MessageAttachment/DefaultAttachment/DefaultAttachment.tsx +0 -50
- package/src/Presentation/Views/Dialog/Message/MessageAttachment/ImageAttachment/ImageAttachment.scss +0 -14
- package/src/Presentation/Views/Dialog/Message/MessageAttachment/ImageAttachment/ImageAttachment.tsx +0 -50
- package/src/Presentation/Views/Dialog/Message/MessageAttachment/MessageAttachment.tsx +0 -92
- package/src/Presentation/Views/Dialog/Message/MessageAttachment/VideoAttachment/VideoAttachment.scss +0 -18
- package/src/Presentation/Views/Dialog/Message/MessageAttachment/VideoAttachment/VideoAttachment.tsx +0 -58
- package/src/Presentation/Views/Dialog/Message/MessageContextMenu/MessageContextMenu.scss +0 -10
- package/src/Presentation/Views/Dialog/Message/MessageContextMenu/MessageContextMenu.tsx +0 -61
- package/src/Presentation/Views/Dialog/Message/OutgoinForwardedMessage/OutgoinForwardedMessage.scss +0 -160
- package/src/Presentation/Views/Dialog/Message/OutgoinForwardedMessage/OutgoinForwardedMessage.tsx +0 -133
- package/src/Presentation/Views/Dialog/Message/OutgoingMessage/OutgoingMessage.scss +0 -122
- package/src/Presentation/Views/Dialog/Message/OutgoingMessage/OutgoingMessage.tsx +0 -104
- package/src/Presentation/Views/Dialog/Message/OutgoingRepliedMessage/OutgoingRepliedMessage.scss +0 -155
- package/src/Presentation/Views/Dialog/Message/OutgoingRepliedMessage/OutgoingRepliedMessage.tsx +0 -103
- package/src/Presentation/Views/Dialog/MessageContextMenu/MessageContextMenu.scss +0 -19
- package/src/Presentation/Views/Dialog/MessageContextMenu/MessageContextMenu.tsx +0 -78
- package/src/Presentation/Views/Dialog/MessageItem/MessageItem.scss +0 -21
- package/src/Presentation/Views/Dialog/MessageItem/MessageItem.tsx +0 -378
- package/src/Presentation/Views/Dialog/SystemDateBanner/SystemDateBanner.scss +0 -23
- package/src/Presentation/Views/Dialog/SystemDateBanner/SystemDateBanner.tsx +0 -17
- package/src/Presentation/Views/Dialog/SystemMessageBanner/SystemMessageBanner.scss +0 -21
- package/src/Presentation/Views/Dialog/SystemMessageBanner/SystemMessageBanner.tsx +0 -17
- package/src/Presentation/Views/Dialog/VoiceMessage/VoiceMessage.tsx +0 -21
- package/src/Presentation/Views/Dialog/useDialogViewModel.ts +0 -765
- package/src/Presentation/Views/DialogInfo/DialogInfo.scss +0 -237
- package/src/Presentation/Views/DialogInfo/DialogInfo.tsx +0 -495
- package/src/Presentation/Views/DialogInfo/DialogMemberButton/DialogMembersButton.scss +0 -42
- package/src/Presentation/Views/DialogInfo/DialogMemberButton/DialogMembersButton.tsx +0 -26
- package/src/Presentation/Views/DialogInfo/MembersList/MembersList.scss +0 -85
- package/src/Presentation/Views/DialogInfo/MembersList/MembersList.tsx +0 -74
- package/src/Presentation/Views/DialogInfo/UsersList/SingleUser/SingleUser.scss +0 -66
- package/src/Presentation/Views/DialogInfo/UsersList/SingleUser/SingleUser.tsx +0 -71
- package/src/Presentation/Views/DialogInfo/UsersList/UsersList.scss +0 -0
- package/src/Presentation/Views/DialogInfo/UsersList/UsersList.tsx +0 -71
- package/src/Presentation/Views/DialogInfo/UsersList/UsersListViewModel.ts +0 -15
- package/src/Presentation/Views/DialogInfo/UsersList/useUsersListViewModel.ts +0 -125
- package/src/Presentation/Views/DialogList/DialogList.scss +0 -150
- package/src/Presentation/Views/DialogList/DialogList.tsx +0 -407
- package/src/Presentation/Views/DialogList/DialogListViewModel.ts +0 -25
- package/src/Presentation/Views/DialogList/useDialogListViewModel.ts +0 -579
- package/src/Presentation/Views/DialogListHeader/DialogListHeader.scss +0 -68
- package/src/Presentation/Views/DialogListHeader/DialogListHeader.tsx +0 -90
- package/src/Presentation/Views/EditDialog/EditDialog.scss +0 -175
- package/src/Presentation/Views/EditDialog/EditDialog.tsx +0 -273
- package/src/Presentation/Views/EditDialog/UserAvatar/UserAvatar.scss +0 -32
- package/src/Presentation/Views/EditDialog/UserAvatar/UserAvatar.tsx +0 -59
- package/src/Presentation/Views/Flow/CreateDialog/CreateDialog.scss +0 -93
- package/src/Presentation/Views/Flow/CreateDialog/CreateDialog.tsx +0 -69
- package/src/Presentation/Views/Flow/CreateDialogFlow/CreateNewDialogFlow.tsx +0 -191
- package/src/Presentation/Views/Flow/LeaveDialogFlow/LeaveDialogFlow.tsx +0 -37
- package/src/Presentation/Views/InviteMembers/InviteMembers.scss +0 -202
- package/src/Presentation/Views/InviteMembers/InviteMembers.tsx +0 -316
- package/src/Presentation/Views/InviteMembers/InviteMembersViewModel.ts +0 -18
- package/src/Presentation/Views/InviteMembers/InviteUsersList/SingleUserWithCheckBox/SingleUserWithCheckBox.scss +0 -90
- package/src/Presentation/Views/InviteMembers/InviteUsersList/SingleUserWithCheckBox/SingleUserWithCheckBox.tsx +0 -122
- package/src/Presentation/Views/InviteMembers/InviteUsersResultViewModel.ts +0 -12
- package/src/Presentation/Views/InviteMembers/NotFoundContent/NotFoundContent.scss +0 -38
- package/src/Presentation/Views/InviteMembers/NotFoundContent/NotFoundContent.tsx +0 -22
- package/src/Presentation/Views/InviteMembers/useInviteMembersViewModel.ts +0 -146
- package/src/Presentation/Views/Navigation/More.svg +0 -7
- package/src/Presentation/Views/PreviewDialog/PreviewDialog.scss +0 -211
- package/src/Presentation/Views/PreviewDialog/PreviewDialog.tsx +0 -332
- package/src/Presentation/Views/PreviewDialog/PreviewDialogContextMenu/PreviewDialogContextMenu.scss +0 -9
- package/src/Presentation/Views/PreviewDialog/PreviewDialogContextMenu/PreviewDialogContextMenu.tsx +0 -59
- package/src/Presentation/Views/PreviewDialog/PreviewDialogViewModel.ts +0 -42
- package/src/Presentation/Views/YesNoQuestion/YesNoQuestion.scss +0 -11
- package/src/Presentation/Views/YesNoQuestion/YesNoQuestion.tsx +0 -48
- package/src/Presentation/assets/fonts/.gitkeep +0 -0
- package/src/Presentation/assets/fonts/Roboto-Bold.eot +0 -0
- package/src/Presentation/assets/fonts/Roboto-Bold.ttf +0 -0
- package/src/Presentation/assets/fonts/Roboto-Bold.woff +0 -0
- package/src/Presentation/assets/fonts/Roboto-Bold.woff2 +0 -0
- package/src/Presentation/assets/fonts/Roboto-Medium.eot +0 -0
- package/src/Presentation/assets/fonts/Roboto-Medium.ttf +0 -0
- package/src/Presentation/assets/fonts/Roboto-Medium.woff +0 -0
- package/src/Presentation/assets/fonts/Roboto-Medium.woff2 +0 -0
- package/src/Presentation/assets/fonts/Roboto-Regular.eot +0 -0
- package/src/Presentation/assets/fonts/Roboto-Regular.ttf +0 -0
- package/src/Presentation/assets/fonts/Roboto-Regular.woff +0 -0
- package/src/Presentation/assets/fonts/Roboto-Regular.woff2 +0 -0
- package/src/Presentation/assets/img/Artem_Koltunov_Selfi.png +0 -0
- package/src/Presentation/assets/img/bee-img.png +0 -0
- package/src/Presentation/assets/img/web-doc.png +0 -0
- package/src/Presentation/components/Button.js +0 -5
- package/src/Presentation/components/Navbar.tsx +0 -45
- package/src/Presentation/components/TextInput.js +0 -10
- package/src/Presentation/components/UI/Buttons/ActiveButton/ActiveButton.tsx +0 -40
- package/src/Presentation/components/UI/Buttons/MainBoundedButton/MainBoundedButton.scss +0 -0
- package/src/Presentation/components/UI/Buttons/MainBoundedButton/MainBoundedButton.tsx +0 -30
- package/src/Presentation/components/UI/Buttons/MainButton/MainButton.css +0 -103
- package/src/Presentation/components/UI/Buttons/MainButton/MainButton.tsx +0 -62
- package/src/Presentation/components/UI/Elements/SwitchButton/SwitchButton.scss +0 -61
- package/src/Presentation/components/UI/Elements/SwitchButton/SwitchButton.tsx +0 -48
- package/src/Presentation/components/UI/Placeholders/ErrorComponent/ErrorComponent.scss +0 -74
- package/src/Presentation/components/UI/Placeholders/ErrorComponent/ErrorComponent.tsx +0 -52
- package/src/Presentation/components/UI/Placeholders/LoaderComponent/LoaderComponent.scss +0 -21
- package/src/Presentation/components/UI/Placeholders/LoaderComponent/LoaderComponent.tsx +0 -44
- package/src/Presentation/components/UI/svgs/ActiveSvg/ActiveSvg.scss +0 -3
- package/src/Presentation/components/UI/svgs/ActiveSvg/ActiveSvg.tsx +0 -45
- package/src/Presentation/components/UI/svgs/Icons/AIWidgets/AIWidget/Send.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/AIWidgets/AIWidget/index.tsx +0 -39
- package/src/Presentation/components/UI/svgs/Icons/AIWidgets/BookIcon/BookIcon.tsx +0 -7
- package/src/Presentation/components/UI/svgs/Icons/AIWidgets/BotIcon/BotIcon.svg +0 -5
- package/src/Presentation/components/UI/svgs/Icons/AIWidgets/BotIcon/BotIcon.tsx +0 -50
- package/src/Presentation/components/UI/svgs/Icons/AIWidgets/HammerIcon/index.tsx +0 -7
- package/src/Presentation/components/UI/svgs/Icons/AIWidgets/HandshakeIcon/index.tsx +0 -7
- package/src/Presentation/components/UI/svgs/Icons/AIWidgets/MuscleIcon/index.tsx +0 -7
- package/src/Presentation/components/UI/svgs/Icons/AIWidgets/NecktieIcon/index.tsx +0 -7
- package/src/Presentation/components/UI/svgs/Icons/AIWidgets/NeutralFaceIcon/index.tsx +0 -7
- package/src/Presentation/components/UI/svgs/Icons/AIWidgets/PalmsUpTogetherIcon/index.tsx +0 -7
- package/src/Presentation/components/UI/svgs/Icons/AIWidgets/PerformingArtsIcon/index.tsx +0 -7
- package/src/Presentation/components/UI/svgs/Icons/AIWidgets/PointUpIcon/index.tsx +0 -7
- package/src/Presentation/components/UI/svgs/Icons/AIWidgets/SmileyIcon/index.tsx +0 -20
- package/src/Presentation/components/UI/svgs/Icons/AIWidgets/SmirkIcon/index.tsx +0 -7
- package/src/Presentation/components/UI/svgs/Icons/AIWidgets/WhiteCheckMarkIcon/index.tsx +0 -7
- package/src/Presentation/components/UI/svgs/Icons/Actions/Add/Add.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Actions/Add/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Actions/AddContact/Add contact.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Actions/AddContact/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Actions/Archive/Archive.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Actions/Archive/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Actions/AssistAnswer/AssistAnswer.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Actions/AssistAnswer/index.tsx +0 -93
- package/src/Presentation/components/UI/svgs/Icons/Actions/Copy/Copy.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Actions/Copy/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Actions/Delete/Delete.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Actions/Delete/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Actions/Download/Download.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Actions/Download/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Actions/Edit/Edit.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Actions/Edit/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Actions/EditDots/EditDots.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Actions/EditDots/index.tsx +0 -35
- package/src/Presentation/components/UI/svgs/Icons/Actions/Emoji/Emoji.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Actions/Emoji/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Actions/ForwardFilled/Forward filled.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Actions/ForwardFilled/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Actions/Hungup/Hungup.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Actions/Hungup/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Actions/IncomeCall/Income call.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Actions/IncomeCall/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Actions/Like/Like.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Actions/Like/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Actions/NewChat/New chat.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Actions/NewChat/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Actions/OutcomeCall/Outcome call.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Actions/OutcomeCall/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Actions/Phone/Phone.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Actions/Phone/index.tsx +0 -35
- package/src/Presentation/components/UI/svgs/Icons/Actions/PhoneFilled/Phone filled.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Actions/PhoneFilled/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Actions/Remove/Remove.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Actions/Remove/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Actions/Remove2/Remove2.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Actions/Remove2/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Actions/ReplyFilled/Reply filled.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Actions/ReplyFilled/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Actions/Send/Send.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Actions/Send/index.tsx +0 -38
- package/src/Presentation/components/UI/svgs/Icons/Actions/Share/Share.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Actions/Share/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Actions/Summarize/Summarize.svg +0 -6
- package/src/Presentation/components/UI/svgs/Icons/Actions/Summarize/index.tsx +0 -58
- package/src/Presentation/components/UI/svgs/Icons/Actions/SwapCamera/Swap camera.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Actions/SwapCamera/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Actions/Tone/Tone.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Actions/Tone/index.tsx +0 -34
- package/src/Presentation/components/UI/svgs/Icons/Actions/Unarchive/Unarchive.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Actions/Unarchive/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Actions/VideoIcon/Video.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Actions/VideoIcon/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Actions/Voice/Voice.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Actions/Voice/index.tsx +0 -35
- package/src/Presentation/components/UI/svgs/Icons/Contents/Brodcast/Broadcast.svg +0 -7
- package/src/Presentation/components/UI/svgs/Icons/Contents/Brodcast/index.tsx +0 -38
- package/src/Presentation/components/UI/svgs/Icons/Contents/Chat/Chat.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Contents/Chat/index.tsx +0 -35
- package/src/Presentation/components/UI/svgs/Icons/Contents/ChatFilled/Chat filled.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Contents/ChatFilled/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Contents/Conference/Conference.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Contents/Conference/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Contents/Contact/Contact.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Contents/Contact/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Contents/ContactFilled/Contact filled.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Contents/ContactFilled/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Contents/GroupChat/Group chat.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Contents/GroupChat/index.tsx +0 -35
- package/src/Presentation/components/UI/svgs/Icons/Contents/Notifications/Notifications.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Contents/Notifications/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Contents/PrivateChat/Private chat.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Contents/PrivateChat/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Contents/PublicChannel/Public channel.svg +0 -7
- package/src/Presentation/components/UI/svgs/Icons/Contents/PublicChannel/index.tsx +0 -67
- package/src/Presentation/components/UI/svgs/Icons/Contents/Stream/Stream.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Contents/Stream/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Contents/StreamFilled/Stream filled.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Contents/StreamFilled/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Contents/User/User.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Contents/User/index.tsx +0 -35
- package/src/Presentation/components/UI/svgs/Icons/IconsCommonTypes.ts +0 -6
- package/src/Presentation/components/UI/svgs/Icons/Media/Attachment/Attachment.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Media/Attachment/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Media/AudioFile/Audio file.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Media/AudioFile/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Media/BrokenFile/Broken file.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Media/BrokenFile/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Media/Camera/Camera.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Media/Camera/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Media/GifFile/GIF file.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Media/GifFile/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Media/ImageEmpty/Image.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Media/ImageEmpty/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Media/ImageFile/File.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Media/ImageFile/index.tsx +0 -35
- package/src/Presentation/components/UI/svgs/Icons/Media/ImageFilled/Image filled.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Media/ImageFilled/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Media/LinkWeb/Link.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Media/LinkWeb/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Media/Location/Location.svg +0 -4
- package/src/Presentation/components/UI/svgs/Icons/Media/Location/index.tsx +0 -26
- package/src/Presentation/components/UI/svgs/Icons/Media/TextDocument/Text document.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Media/TextDocument/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Media/Translate/Translate.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Media/Translate/index.tsx +0 -35
- package/src/Presentation/components/UI/svgs/Icons/Media/VideoFile/Video file.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Media/VideoFile/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Moderation/Admin/Admin.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Moderation/Admin/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Moderation/Banned/Banned.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Moderation/Banned/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Moderation/Freeze/Freeze.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Moderation/Freeze/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Moderation/Moderations/Moderations.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Moderation/Moderations/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Moderation/Muted/Muted.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Moderation/Muted/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Navigation/ArrowLeft/Arrow left.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Navigation/ArrowLeft/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Navigation/ArrowRight/Arrow right.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Navigation/ArrowRight/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Navigation/Back/Back.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Navigation/Back/index.tsx +0 -34
- package/src/Presentation/components/UI/svgs/Icons/Navigation/Close/Close.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Navigation/Close/index.tsx +0 -35
- package/src/Presentation/components/UI/svgs/Icons/Navigation/Down/Down.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Navigation/Down/index.tsx +0 -35
- package/src/Presentation/components/UI/svgs/Icons/Navigation/Leave/Leave.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Navigation/Leave/index.tsx +0 -35
- package/src/Presentation/components/UI/svgs/Icons/Navigation/More/More.svg +0 -7
- package/src/Presentation/components/UI/svgs/Icons/Navigation/More/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Navigation/Next/Next.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Navigation/Next/index.tsx +0 -35
- package/src/Presentation/components/UI/svgs/Icons/Navigation/Plus/Plus.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Navigation/Plus/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Navigation/Refresh/Refresh.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Navigation/Refresh/index.tsx +0 -36
- package/src/Presentation/components/UI/svgs/Icons/Navigation/Search/Search.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Navigation/Search/index.tsx +0 -35
- package/src/Presentation/components/UI/svgs/Icons/Navigation/Settings/Settings.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Navigation/Settings/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Navigation/SettingsField/Settings filled.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Navigation/SettingsField/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Status/Error/Error.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Status/Error/index.tsx +0 -36
- package/src/Presentation/components/UI/svgs/Icons/Status/Help/Help.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Status/Help/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Status/Information/Information.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Status/Information/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Status/InformationFill/index.tsx +0 -40
- package/src/Presentation/components/UI/svgs/Icons/Status/Loader/Loader.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Status/Loader/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Status/Mention/Mention.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Status/Mention/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Status/Sent/Sent.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Status/Sent/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Status/ViewedDelivered/Viewed_Delivered.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Status/ViewedDelivered/index.tsx +0 -38
- package/src/Presentation/components/UI/svgs/Icons/Toggle/CameraOff/Camera off.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Toggle/CameraOff/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Toggle/CameraOn/Camera on.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Toggle/CameraOn/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Toggle/CheckOff/Check off.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Toggle/CheckOff/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Toggle/CheckOn/Check on.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Toggle/CheckOn/index.tsx +0 -24
- package/src/Presentation/components/UI/svgs/Icons/Toggle/Favourite/Favourite.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Toggle/Favourite/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Toggle/FavouriteFilled/Favourite filled.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Toggle/FavouriteFilled/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Toggle/FullScreen/Full screen.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Toggle/FullScreen/inex.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Toggle/Hide/Hide.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Toggle/Hide/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Toggle/ImagePlay/Play.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Toggle/ImagePlay/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Toggle/Louder/Louder.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Toggle/Louder/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Toggle/MicOff/Mic off.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Toggle/MicOff/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Toggle/MicOn/Mic on.svg +0 -4
- package/src/Presentation/components/UI/svgs/Icons/Toggle/MicOn/index.tsx +0 -26
- package/src/Presentation/components/UI/svgs/Icons/Toggle/Minimize/Minimize.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Toggle/Minimize/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Toggle/NotifyOff/Notify off.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Toggle/NotifyOff/index.tsx +0 -35
- package/src/Presentation/components/UI/svgs/Icons/Toggle/NotifyOn/Notify on.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Toggle/NotifyOn/index.tsx +0 -35
- package/src/Presentation/components/UI/svgs/Icons/Toggle/Pause/Pause.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Toggle/Pause/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Toggle/Quite/Quite.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Toggle/Quite/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Toggle/Record/Record.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Toggle/Record/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Toggle/Screenshare/Screenshare.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Toggle/Screenshare/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Toggle/Show/Show.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Toggle/Show/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Toggle/Speaker/Speaker.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Toggle/Speaker/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Toggle/SpeakerOff/Speaker off.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Toggle/SpeakerOff/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Toggle/StopRecord/Stop record.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Toggle/StopRecord/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Toggle/StopShare/Stop share.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Toggle/StopShare/index.tsx +0 -22
- package/src/Presentation/components/containers/ColumnContainer/ColumnContainer.scss +0 -16
- package/src/Presentation/components/containers/ColumnContainer/ColumnContainer.tsx +0 -27
- package/src/Presentation/components/containers/RowCenterContainer/RowCenterContainer.scss +0 -45
- package/src/Presentation/components/containers/RowCenterContainer/RowCenterContainer.tsx +0 -88
- package/src/Presentation/components/containers/RowLeftContainer/RowLeftContainer.scss +0 -45
- package/src/Presentation/components/containers/RowLeftContainer/RowLeftContainer.tsx +0 -90
- package/src/Presentation/components/containers/RowRightContainer/RowRightContainer.scss +0 -46
- package/src/Presentation/components/containers/RowRightContainer/RowRightContainer.tsx +0 -90
- package/src/Presentation/components/containers/ScrollableContainer/ScrollableContainer.scss +0 -45
- package/src/Presentation/components/containers/ScrollableContainer/ScrollableContainer.tsx +0 -102
- package/src/Presentation/components/containers/SectionList/hooks/createUseComponent.ts +0 -20
- package/src/Presentation/components/containers/SectionList/hooks/index.ts +0 -4
- package/src/Presentation/components/containers/SectionList/hooks/useMobileLayout.ts +0 -27
- package/src/Presentation/components/containers/SectionList/hooks/usePrevious.ts +0 -11
- package/src/Presentation/components/containers/SectionList/hooks/useVisibility.ts +0 -17
- package/src/Presentation/components/containers/SectionList/index.tsx +0 -52
- package/src/Presentation/components/containers/SectionList/styles.css +0 -50
- package/src/Presentation/components/containers/SectionList/useComponent.ts +0 -136
- package/src/Presentation/icons/actions/add-contact.svg +0 -3
- package/src/Presentation/icons/actions/add.svg +0 -3
- package/src/Presentation/icons/actions/archive.svg +0 -3
- package/src/Presentation/icons/actions/copy.svg +0 -3
- package/src/Presentation/icons/actions/delete.svg +0 -3
- package/src/Presentation/icons/actions/download.svg +0 -3
- package/src/Presentation/icons/actions/edit.svg +0 -3
- package/src/Presentation/icons/actions/emoji.svg +0 -3
- package/src/Presentation/icons/actions/forward-filled.svg +0 -3
- package/src/Presentation/icons/actions/hungup.svg +0 -3
- package/src/Presentation/icons/actions/income-call.svg +0 -3
- package/src/Presentation/icons/actions/index.ts +0 -26
- package/src/Presentation/icons/actions/like.svg +0 -3
- package/src/Presentation/icons/actions/new-chat.svg +0 -3
- package/src/Presentation/icons/actions/outcome-call.svg +0 -3
- package/src/Presentation/icons/actions/phone-filled.svg +0 -3
- package/src/Presentation/icons/actions/phone.svg +0 -3
- package/src/Presentation/icons/actions/remove-2.svg +0 -3
- package/src/Presentation/icons/actions/remove.svg +0 -3
- package/src/Presentation/icons/actions/rephrase.svg +0 -6
- package/src/Presentation/icons/actions/reply-filled.svg +0 -3
- package/src/Presentation/icons/actions/robot.svg +0 -5
- package/src/Presentation/icons/actions/send.svg +0 -3
- package/src/Presentation/icons/actions/share.svg +0 -3
- package/src/Presentation/icons/actions/swap-camera.svg +0 -3
- package/src/Presentation/icons/actions/translate.svg +0 -3
- package/src/Presentation/icons/actions/unarchive.svg +0 -3
- package/src/Presentation/icons/actions/video.svg +0 -3
- package/src/Presentation/icons/actions/voice.svg +0 -3
- package/src/Presentation/icons/contents/broadcast.svg +0 -7
- package/src/Presentation/icons/contents/chat-filled.svg +0 -3
- package/src/Presentation/icons/contents/chat.svg +0 -3
- package/src/Presentation/icons/contents/conference.svg +0 -3
- package/src/Presentation/icons/contents/contact-filled.svg +0 -3
- package/src/Presentation/icons/contents/contact.svg +0 -3
- package/src/Presentation/icons/contents/group-chat.svg +0 -3
- package/src/Presentation/icons/contents/index.ts +0 -13
- package/src/Presentation/icons/contents/notifications.svg +0 -3
- package/src/Presentation/icons/contents/private-chat.svg +0 -3
- package/src/Presentation/icons/contents/public-channel.svg +0 -7
- package/src/Presentation/icons/contents/stream-filled.svg +0 -3
- package/src/Presentation/icons/contents/stream.svg +0 -3
- package/src/Presentation/icons/contents/user.svg +0 -3
- package/src/Presentation/icons/index.ts +0 -7
- package/src/Presentation/icons/media/attachment.svg +0 -3
- package/src/Presentation/icons/media/audio-file.svg +0 -3
- package/src/Presentation/icons/media/broken-file.svg +0 -3
- package/src/Presentation/icons/media/camera.svg +0 -3
- package/src/Presentation/icons/media/file.svg +0 -3
- package/src/Presentation/icons/media/gif-file.svg +0 -3
- package/src/Presentation/icons/media/image-filled.svg +0 -3
- package/src/Presentation/icons/media/image.svg +0 -3
- package/src/Presentation/icons/media/index.ts +0 -12
- package/src/Presentation/icons/media/link.svg +0 -3
- package/src/Presentation/icons/media/location.svg +0 -4
- package/src/Presentation/icons/media/text-document.svg +0 -3
- package/src/Presentation/icons/media/video-file.svg +0 -3
- package/src/Presentation/icons/moderation/admin.svg +0 -3
- package/src/Presentation/icons/moderation/banned.svg +0 -3
- package/src/Presentation/icons/moderation/freeze.svg +0 -3
- package/src/Presentation/icons/moderation/index.ts +0 -5
- package/src/Presentation/icons/moderation/moderations.svg +0 -3
- package/src/Presentation/icons/moderation/muted.svg +0 -3
- package/src/Presentation/icons/navigation/arrow-left.svg +0 -3
- package/src/Presentation/icons/navigation/arrow-right.svg +0 -3
- package/src/Presentation/icons/navigation/back.svg +0 -3
- package/src/Presentation/icons/navigation/close.svg +0 -3
- package/src/Presentation/icons/navigation/down.svg +0 -3
- package/src/Presentation/icons/navigation/index.ts +0 -12
- package/src/Presentation/icons/navigation/leave.svg +0 -3
- package/src/Presentation/icons/navigation/more.svg +0 -3
- package/src/Presentation/icons/navigation/next.svg +0 -3
- package/src/Presentation/icons/navigation/plus.svg +0 -3
- package/src/Presentation/icons/navigation/refresh.svg +0 -3
- package/src/Presentation/icons/navigation/search.svg +0 -3
- package/src/Presentation/icons/navigation/settings-filled.svg +0 -3
- package/src/Presentation/icons/navigation/settings.svg +0 -3
- package/src/Presentation/icons/status/error.svg +0 -3
- package/src/Presentation/icons/status/help.svg +0 -3
- package/src/Presentation/icons/status/index.ts +0 -7
- package/src/Presentation/icons/status/information.svg +0 -3
- package/src/Presentation/icons/status/loader.svg +0 -3
- package/src/Presentation/icons/status/mention.svg +0 -3
- package/src/Presentation/icons/status/sent.svg +0 -3
- package/src/Presentation/icons/status/viewed-delivered.svg +0 -3
- package/src/Presentation/icons/toggle/camera-off.svg +0 -3
- package/src/Presentation/icons/toggle/camera-on.svg +0 -3
- package/src/Presentation/icons/toggle/check-off.svg +0 -3
- package/src/Presentation/icons/toggle/check-on.svg +0 -3
- package/src/Presentation/icons/toggle/favorite.svg +0 -3
- package/src/Presentation/icons/toggle/favourite.svg +0 -3
- package/src/Presentation/icons/toggle/full-screen.svg +0 -3
- package/src/Presentation/icons/toggle/hide.svg +0 -3
- package/src/Presentation/icons/toggle/index.ts +0 -23
- package/src/Presentation/icons/toggle/louder.svg +0 -3
- package/src/Presentation/icons/toggle/mic-off.svg +0 -3
- package/src/Presentation/icons/toggle/mic-on.svg +0 -4
- package/src/Presentation/icons/toggle/minimize.svg +0 -3
- package/src/Presentation/icons/toggle/notify-off.svg +0 -3
- package/src/Presentation/icons/toggle/notify-on.svg +0 -3
- package/src/Presentation/icons/toggle/pause.svg +0 -3
- package/src/Presentation/icons/toggle/play.svg +0 -3
- package/src/Presentation/icons/toggle/quite.svg +0 -3
- package/src/Presentation/icons/toggle/record.svg +0 -3
- package/src/Presentation/icons/toggle/screenshare.svg +0 -3
- package/src/Presentation/icons/toggle/show.svg +0 -3
- package/src/Presentation/icons/toggle/speaker off.svg +0 -3
- package/src/Presentation/icons/toggle/speaker-off.svg +0 -3
- package/src/Presentation/icons/toggle/speaker.svg +0 -3
- package/src/Presentation/icons/toggle/stop-record.svg +0 -3
- package/src/Presentation/icons/toggle/stop-share.svg +0 -3
- package/src/Presentation/layouts/Desktop/DesktopLayout.scss +0 -62
- package/src/Presentation/layouts/Desktop/DesktopLayout.tsx +0 -89
- package/src/Presentation/layouts/Desktop/QuickBloxUIKitDesktopLayout.tsx +0 -1354
- package/src/Presentation/layouts/LayoutCommonTypes.ts +0 -7
- package/src/Presentation/layouts/TestStage/CompanyLogo/CompanyLogo.tsx +0 -27
- package/src/Presentation/layouts/TestStage/LoginView/Login.scss +0 -72
- package/src/Presentation/layouts/TestStage/LoginView/Login.tsx +0 -91
- package/src/Presentation/providers/ProviderProps.ts +0 -5
- package/src/Presentation/providers/QuickBloxUIKitProvider/QuickBloxUIKitProvider.tsx +0 -375
- package/src/Presentation/providers/QuickBloxUIKitProvider/useEventMessagesRepository.ts +0 -10
- package/src/Presentation/providers/QuickBloxUIKitProvider/useQBConnection.ts +0 -54
- package/src/Presentation/providers/QuickBloxUIKitProvider/useQbInitializedDataContext.ts +0 -83
- package/src/Presentation/providers/QuickBloxUIKitProvider/useQbUIKitDataContext.ts +0 -11
- package/src/Presentation/themes/DarkTheme.ts +0 -58
- package/src/Presentation/themes/DefaultThemes/CustomTheme.ts +0 -58
- package/src/Presentation/themes/DefaultThemes/DefaultTheme.ts +0 -58
- package/src/Presentation/themes/LightTheme.ts +0 -58
- package/src/Presentation/themes/ThemeScheme.ts +0 -83
- package/src/Presentation/themes/UiKitTheme.ts +0 -37
- package/src/Presentation/themes/styles/_fonts.scss +0 -32
- package/src/Presentation/themes/styles/_mixins.scss +0 -6
- package/src/Presentation/themes/styles/_theme_colors_scheme.scss +0 -56
- package/src/Presentation/themes/styles/_theme_colors_scheme_green.scss +0 -57
- package/src/Presentation/themes/styles/_theme_colors_scheme_pink.scss +0 -72
- package/src/Presentation/themes/styles/_theme_dark.scss +0 -37
- package/src/Presentation/themes/styles/_theme_light.scss +0 -38
- package/src/Presentation/themes/styles/_variables.scss +0 -54
- package/src/Presentation/ui-components/Avatar/Avatar.scss +0 -58
- package/src/Presentation/ui-components/Avatar/Avatar.tsx +0 -30
- package/src/Presentation/ui-components/Avatar/avatar.stories.tsx +0 -78
- package/src/Presentation/ui-components/Badge/Badge.scss +0 -23
- package/src/Presentation/ui-components/Badge/Badge.stories.ts +0 -64
- package/src/Presentation/ui-components/Badge/Badge.tsx +0 -23
- package/src/Presentation/ui-components/Button/Button.scss +0 -133
- package/src/Presentation/ui-components/Button/Button.stories.ts +0 -93
- package/src/Presentation/ui-components/Button/Button.tsx +0 -49
- package/src/Presentation/ui-components/CheckBox/CheckBox.scss +0 -10
- package/src/Presentation/ui-components/CheckBox/CheckBox.tsx +0 -23
- package/src/Presentation/ui-components/DialogBanner/DialogBanner.scss +0 -29
- package/src/Presentation/ui-components/DialogBanner/DialogBanner.stories.ts +0 -39
- package/src/Presentation/ui-components/DialogBanner/DialogBanner.tsx +0 -16
- package/src/Presentation/ui-components/DialogItemPreview/DialogItemPreview.scss +0 -71
- package/src/Presentation/ui-components/DialogItemPreview/DialogItemPreview.stories.tsx +0 -194
- package/src/Presentation/ui-components/DialogItemPreview/DialogItemPreview.tsx +0 -73
- package/src/Presentation/ui-components/DialogWindow/DialogWindow.scss +0 -56
- package/src/Presentation/ui-components/DialogWindow/DialogWindow.stories.tsx +0 -107
- package/src/Presentation/ui-components/DialogWindow/DialogWindow.tsx +0 -44
- package/src/Presentation/ui-components/Dropdown/Dropdown.scss +0 -82
- package/src/Presentation/ui-components/Dropdown/Dropdown.stories.tsx +0 -150
- package/src/Presentation/ui-components/Dropdown/Dropdown.tsx +0 -92
- package/src/Presentation/ui-components/Dropdown/DropdownOption.tsx +0 -38
- package/src/Presentation/ui-components/Header/Header.scss +0 -72
- package/src/Presentation/ui-components/Header/Header.stories.tsx +0 -117
- package/src/Presentation/ui-components/Header/Header.tsx +0 -51
- package/src/Presentation/ui-components/Loader/Loader.scss +0 -27
- package/src/Presentation/ui-components/Loader/Loader.stories.ts +0 -42
- package/src/Presentation/ui-components/Loader/Loader.tsx +0 -15
- package/src/Presentation/ui-components/Message/Bubble/AttachmentBubble/AttachmentBubble.tsx +0 -71
- package/src/Presentation/ui-components/Message/Bubble/AudioBubble/AudioBubble.scss +0 -84
- package/src/Presentation/ui-components/Message/Bubble/AudioBubble/AudioBubble.tsx +0 -162
- package/src/Presentation/ui-components/Message/Bubble/FileBubble/FileBubble.scss +0 -29
- package/src/Presentation/ui-components/Message/Bubble/FileBubble/FileBubble.tsx +0 -16
- package/src/Presentation/ui-components/Message/Bubble/ImageBubble/ImageBubble.scss +0 -16
- package/src/Presentation/ui-components/Message/Bubble/ImageBubble/ImageBubble.tsx +0 -25
- package/src/Presentation/ui-components/Message/Bubble/TextBubble/TextBubble.scss +0 -40
- package/src/Presentation/ui-components/Message/Bubble/TextBubble/TextBubble.tsx +0 -22
- package/src/Presentation/ui-components/Message/Bubble/VideoBubble/VideoBubble.scss +0 -27
- package/src/Presentation/ui-components/Message/Bubble/VideoBubble/VideoBubble.tsx +0 -34
- package/src/Presentation/ui-components/Message/FileUrl/FileUrl.scss +0 -58
- package/src/Presentation/ui-components/Message/FileUrl/FileUrl.tsx +0 -43
- package/src/Presentation/ui-components/Message/Message.scss +0 -136
- package/src/Presentation/ui-components/Message/Message.stories.tsx +0 -328
- package/src/Presentation/ui-components/Message/Message.tsx +0 -85
- package/src/Presentation/ui-components/Message/MessageCaption/MessageCaption.scss +0 -90
- package/src/Presentation/ui-components/Message/MessageCaption/MessageCaption.tsx +0 -46
- package/src/Presentation/ui-components/Message/TimeAndStatus/TimeAndStatus.scss +0 -51
- package/src/Presentation/ui-components/Message/TimeAndStatus/TimeAndStatus.tsx +0 -32
- package/src/Presentation/ui-components/MessageInput/AttachmentUploader/AttachmentUploader.tsx +0 -38
- package/src/Presentation/ui-components/MessageInput/MessageInput.scss +0 -137
- package/src/Presentation/ui-components/MessageInput/MessageInput.stories.tsx +0 -145
- package/src/Presentation/ui-components/MessageInput/MessageInput.tsx +0 -161
- package/src/Presentation/ui-components/MessageInput/ReplyMessagePreview/ReplyImagePreviewAttachment/ReplyImagePreviewAttachment.scss +0 -16
- package/src/Presentation/ui-components/MessageInput/ReplyMessagePreview/ReplyImagePreviewAttachment/ReplyImagePreviewAttachment.tsx +0 -27
- package/src/Presentation/ui-components/MessageInput/ReplyMessagePreview/ReplyMessagePreview.scss +0 -140
- package/src/Presentation/ui-components/MessageInput/ReplyMessagePreview/ReplyMessagePreview.tsx +0 -101
- package/src/Presentation/ui-components/MessageInput/VoiceRecordingProgress/VoiceRecordingProgress.scss +0 -35
- package/src/Presentation/ui-components/MessageInput/VoiceRecordingProgress/VoiceRecordingProgress.tsx +0 -79
- package/src/Presentation/ui-components/MessageSeparator/MessageSeparator.scss +0 -30
- package/src/Presentation/ui-components/MessageSeparator/MessageSeparator.stories.ts +0 -160
- package/src/Presentation/ui-components/MessageSeparator/MessageSeparator.tsx +0 -34
- package/src/Presentation/ui-components/Placeholder/Placeholder.scss +0 -51
- package/src/Presentation/ui-components/Placeholder/Placeholder.stories.tsx +0 -91
- package/src/Presentation/ui-components/Placeholder/Placeholder.tsx +0 -38
- package/src/Presentation/ui-components/PreviewFileMessage/PreviewFileMessage.scss +0 -30
- package/src/Presentation/ui-components/PreviewFileMessage/PreviewFileMessage.stories.ts +0 -77
- package/src/Presentation/ui-components/PreviewFileMessage/PreviewFileMessage.tsx +0 -38
- package/src/Presentation/ui-components/SettingsItem/SettingsItem.scss +0 -69
- package/src/Presentation/ui-components/SettingsItem/SettingsItem.stories.tsx +0 -184
- package/src/Presentation/ui-components/SettingsItem/SettingsItem.tsx +0 -56
- package/src/Presentation/ui-components/TextField/TextField.scss +0 -91
- package/src/Presentation/ui-components/TextField/TextField.stories.ts +0 -108
- package/src/Presentation/ui-components/TextField/TextField.tsx +0 -88
- package/src/Presentation/ui-components/Toast/Toast.scss +0 -22
- package/src/Presentation/ui-components/Toast/Toast.stories.tsx +0 -50
- package/src/Presentation/ui-components/Toast/ToastProvider.tsx +0 -29
- package/src/Presentation/ui-components/UserListItem/UserListItem.scss +0 -33
- package/src/Presentation/ui-components/UserListItem/UserListItem.stories.tsx +0 -130
- package/src/Presentation/ui-components/UserListItem/UserListItem.tsx +0 -43
- package/src/Presentation/ui-components/index.ts +0 -19
- package/src/QBconfig.ts +0 -151
- package/src/hooks/useModal.ts +0 -13
- package/src/index-ui.ts +0 -87
- package/src/index.scss +0 -28
- package/src/index.tsx +0 -25
- package/src/logo.svg +0 -1
- package/src/package_artan_react_ui.json +0 -91
- package/src/package_original.json +0 -115
- package/src/qb-api-calls/index.ts +0 -670
- package/src/react-app-env.d.ts +0 -1
- package/src/setupTests.ts +0 -5
- package/src/utils/DateTimeFormatter.ts +0 -90
- package/src/utils/formatFileSize.ts +0 -8
- package/src/utils/parse.ts +0 -76
- package/src/utils/utils.ts +0 -102
- package/storybook-static/426.be971fb5.iframe.bundle.js +0 -157
- package/storybook-static/426.be971fb5.iframe.bundle.js.map +0 -1
- package/storybook-static/433.dffc897e.iframe.bundle.js +0 -1
- package/storybook-static/603.4cf0423b.iframe.bundle.js +0 -1
- package/storybook-static/607.b04b9f0b.iframe.bundle.js +0 -1
- package/storybook-static/703.f12f2e71.iframe.bundle.js +0 -33
- package/storybook-static/703.f12f2e71.iframe.bundle.js.map +0 -1
- package/storybook-static/729.734b4ae4.iframe.bundle.js +0 -1
- package/storybook-static/768.e44c05aa.iframe.bundle.js +0 -351
- package/storybook-static/768.e44c05aa.iframe.bundle.js.map +0 -1
- package/storybook-static/797.b3873e04.iframe.bundle.js +0 -1
- package/storybook-static/926.f5308089.iframe.bundle.js +0 -508
- package/storybook-static/926.f5308089.iframe.bundle.js.map +0 -1
- package/storybook-static/938.56e9d83c.iframe.bundle.js +0 -1
- package/storybook-static/Presentation-ui-components-Avatar-avatar-stories.1b74ae55.iframe.bundle.js +0 -14
- package/storybook-static/Presentation-ui-components-Avatar-avatar-stories.1b74ae55.iframe.bundle.js.map +0 -1
- package/storybook-static/Presentation-ui-components-Badge-Badge-stories.9449e470.iframe.bundle.js +0 -14
- package/storybook-static/Presentation-ui-components-Badge-Badge-stories.9449e470.iframe.bundle.js.map +0 -1
- package/storybook-static/Presentation-ui-components-Button-Button-stories.84103f20.iframe.bundle.js +0 -14
- package/storybook-static/Presentation-ui-components-Button-Button-stories.84103f20.iframe.bundle.js.map +0 -1
- package/storybook-static/Presentation-ui-components-DialogBanner-DialogBanner-stories.fa91d2c7.iframe.bundle.js +0 -10
- package/storybook-static/Presentation-ui-components-DialogBanner-DialogBanner-stories.fa91d2c7.iframe.bundle.js.map +0 -1
- package/storybook-static/Presentation-ui-components-DialogItemPreview-DialogItemPreview-stories.bf9005d3.iframe.bundle.js +0 -14
- package/storybook-static/Presentation-ui-components-DialogItemPreview-DialogItemPreview-stories.bf9005d3.iframe.bundle.js.map +0 -1
- package/storybook-static/Presentation-ui-components-DialogWindow-DialogWindow-stories.f81a8e38.iframe.bundle.js +0 -14
- package/storybook-static/Presentation-ui-components-DialogWindow-DialogWindow-stories.f81a8e38.iframe.bundle.js.map +0 -1
- package/storybook-static/Presentation-ui-components-Dropdown-Dropdown-stories.141a3ae7.iframe.bundle.js +0 -14
- package/storybook-static/Presentation-ui-components-Dropdown-Dropdown-stories.141a3ae7.iframe.bundle.js.map +0 -1
- package/storybook-static/Presentation-ui-components-Header-Header-stories.9f45c30e.iframe.bundle.js +0 -14
- package/storybook-static/Presentation-ui-components-Header-Header-stories.9f45c30e.iframe.bundle.js.map +0 -1
- package/storybook-static/Presentation-ui-components-Loader-Loader-stories.af01e15d.iframe.bundle.js +0 -14
- package/storybook-static/Presentation-ui-components-Loader-Loader-stories.af01e15d.iframe.bundle.js.map +0 -1
- package/storybook-static/Presentation-ui-components-Message-Message-stories.264d251d.iframe.bundle.js +0 -14
- package/storybook-static/Presentation-ui-components-Message-Message-stories.264d251d.iframe.bundle.js.map +0 -1
- package/storybook-static/Presentation-ui-components-MessageInput-MessageInput-stories.0d1800d9.iframe.bundle.js +0 -1
- package/storybook-static/Presentation-ui-components-MessageSeparator-MessageSeparator-stories.a7d43c0b.iframe.bundle.js +0 -10
- package/storybook-static/Presentation-ui-components-MessageSeparator-MessageSeparator-stories.a7d43c0b.iframe.bundle.js.map +0 -1
- package/storybook-static/Presentation-ui-components-Placeholder-Placeholder-stories.97287936.iframe.bundle.js +0 -14
- package/storybook-static/Presentation-ui-components-Placeholder-Placeholder-stories.97287936.iframe.bundle.js.map +0 -1
- package/storybook-static/Presentation-ui-components-PreviewFileMessage-PreviewFileMessage-stories.a9f5cd67.iframe.bundle.js +0 -14
- package/storybook-static/Presentation-ui-components-PreviewFileMessage-PreviewFileMessage-stories.a9f5cd67.iframe.bundle.js.map +0 -1
- package/storybook-static/Presentation-ui-components-SettingsItem-SettingsItem-stories.429a72d5.iframe.bundle.js +0 -14
- package/storybook-static/Presentation-ui-components-SettingsItem-SettingsItem-stories.429a72d5.iframe.bundle.js.map +0 -1
- package/storybook-static/Presentation-ui-components-TextField-TextField-stories.fd8caf6c.iframe.bundle.js +0 -14
- package/storybook-static/Presentation-ui-components-TextField-TextField-stories.fd8caf6c.iframe.bundle.js.map +0 -1
- package/storybook-static/Presentation-ui-components-Toast-Toast-stories.1b8758fc.iframe.bundle.js +0 -14
- package/storybook-static/Presentation-ui-components-Toast-Toast-stories.1b8758fc.iframe.bundle.js.map +0 -1
- package/storybook-static/Presentation-ui-components-UserListItem-UserListItem-stories.8781472b.iframe.bundle.js +0 -14
- package/storybook-static/Presentation-ui-components-UserListItem-UserListItem-stories.8781472b.iframe.bundle.js.map +0 -1
- package/storybook-static/docs-Introduction-mdx.9dc275f1.iframe.bundle.js +0 -10
- package/storybook-static/docs-Introduction-mdx.9dc275f1.iframe.bundle.js.map +0 -1
- package/storybook-static/docs-Styling-mdx.72149f36.iframe.bundle.js +0 -10
- package/storybook-static/docs-Styling-mdx.72149f36.iframe.bundle.js.map +0 -1
- package/storybook-static/favicon.ico +0 -0
- package/storybook-static/favicon.svg +0 -7
- package/storybook-static/iframe.html +0 -355
- package/storybook-static/index.html +0 -127
- package/storybook-static/index.json +0 -1
- package/storybook-static/logo192.png +0 -0
- package/storybook-static/logo512.png +0 -0
- package/storybook-static/main.2f6d7582.iframe.bundle.js +0 -1
- package/storybook-static/manifest.json +0 -25
- package/storybook-static/project.json +0 -1
- package/storybook-static/quickblox.js +0 -54609
- package/storybook-static/robots.txt +0 -3
- package/storybook-static/runtime~main.72d6302b.iframe.bundle.js +0 -1
- package/storybook-static/sb-addons/essentials-actions-2/manager-bundle.js +0 -3
- package/storybook-static/sb-addons/essentials-actions-2/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/essentials-backgrounds-3/manager-bundle.js +0 -12
- package/storybook-static/sb-addons/essentials-backgrounds-3/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/essentials-controls-1/manager-bundle.js +0 -63
- package/storybook-static/sb-addons/essentials-controls-1/manager-bundle.js.LEGAL.txt +0 -18
- package/storybook-static/sb-addons/essentials-measure-5/manager-bundle.js +0 -3
- package/storybook-static/sb-addons/essentials-measure-5/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/essentials-outline-6/manager-bundle.js +0 -3
- package/storybook-static/sb-addons/essentials-outline-6/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/essentials-toolbars-4/manager-bundle.js +0 -3
- package/storybook-static/sb-addons/essentials-toolbars-4/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/interactions-7/manager-bundle.js +0 -12
- package/storybook-static/sb-addons/interactions-7/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/links-0/manager-bundle.js +0 -3
- package/storybook-static/sb-addons/links-0/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/viewport-8/manager-bundle.js +0 -3
- package/storybook-static/sb-addons/viewport-8/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-common-assets/fonts.css +0 -31
- package/storybook-static/sb-common-assets/nunito-sans-bold-italic.woff2 +0 -0
- package/storybook-static/sb-common-assets/nunito-sans-bold.woff2 +0 -0
- package/storybook-static/sb-common-assets/nunito-sans-italic.woff2 +0 -0
- package/storybook-static/sb-common-assets/nunito-sans-regular.woff2 +0 -0
- package/storybook-static/sb-manager/WithTooltip-V3YHNWJZ-LVYLGZW2.js +0 -1
- package/storybook-static/sb-manager/chunk-2IXBUOFS.js +0 -7
- package/storybook-static/sb-manager/chunk-INSKDKQB.js +0 -348
- package/storybook-static/sb-manager/chunk-NGTUFCUO.js +0 -9
- package/storybook-static/sb-manager/chunk-NMB3SATH.js +0 -406
- package/storybook-static/sb-manager/chunk-ZEU7PDD3.js +0 -1
- package/storybook-static/sb-manager/formatter-SWP5E3XI-7BGIK6BL.js +0 -156
- package/storybook-static/sb-manager/globals-module-info.js +0 -1
- package/storybook-static/sb-manager/globals.js +0 -1
- package/storybook-static/sb-manager/index.js +0 -1
- package/storybook-static/sb-manager/runtime.js +0 -1
- package/storybook-static/sb-manager/syntaxhighlighter-V7JZZA35-DXZCI2WR.js +0 -1
- package/storybook-static/sb-preview/globals.js +0 -1
- package/storybook-static/sb-preview/runtime.js +0 -112
- package/storybook-static/static/css/Presentation-ui-components-Avatar-avatar-stories.7b228eb0.chunk.css +0 -3
- package/storybook-static/static/css/Presentation-ui-components-Avatar-avatar-stories.7b228eb0.chunk.css.map +0 -1
- package/storybook-static/static/css/Presentation-ui-components-Badge-Badge-stories.7b8317f8.chunk.css +0 -3
- package/storybook-static/static/css/Presentation-ui-components-Badge-Badge-stories.7b8317f8.chunk.css.map +0 -1
- package/storybook-static/static/css/Presentation-ui-components-Button-Button-stories.1b6e1c55.chunk.css +0 -4
- package/storybook-static/static/css/Presentation-ui-components-Button-Button-stories.1b6e1c55.chunk.css.map +0 -1
- package/storybook-static/static/css/Presentation-ui-components-DialogBanner-DialogBanner-stories.bd07fad3.chunk.css +0 -3
- package/storybook-static/static/css/Presentation-ui-components-DialogBanner-DialogBanner-stories.bd07fad3.chunk.css.map +0 -1
- package/storybook-static/static/css/Presentation-ui-components-DialogItemPreview-DialogItemPreview-stories.6d563072.chunk.css +0 -7
- package/storybook-static/static/css/Presentation-ui-components-DialogItemPreview-DialogItemPreview-stories.6d563072.chunk.css.map +0 -1
- package/storybook-static/static/css/Presentation-ui-components-DialogWindow-DialogWindow-stories.4f813450.chunk.css +0 -6
- package/storybook-static/static/css/Presentation-ui-components-DialogWindow-DialogWindow-stories.4f813450.chunk.css.map +0 -1
- package/storybook-static/static/css/Presentation-ui-components-Dropdown-Dropdown-stories.e37f549d.chunk.css +0 -5
- package/storybook-static/static/css/Presentation-ui-components-Dropdown-Dropdown-stories.e37f549d.chunk.css.map +0 -1
- package/storybook-static/static/css/Presentation-ui-components-Header-Header-stories.fb1001e7.chunk.css +0 -4
- package/storybook-static/static/css/Presentation-ui-components-Header-Header-stories.fb1001e7.chunk.css.map +0 -1
- package/storybook-static/static/css/Presentation-ui-components-Loader-Loader-stories.dab34da1.chunk.css +0 -3
- package/storybook-static/static/css/Presentation-ui-components-Loader-Loader-stories.dab34da1.chunk.css.map +0 -1
- package/storybook-static/static/css/Presentation-ui-components-Message-Message-stories.4c915c89.chunk.css +0 -14
- package/storybook-static/static/css/Presentation-ui-components-Message-Message-stories.4c915c89.chunk.css.map +0 -1
- package/storybook-static/static/css/Presentation-ui-components-MessageInput-MessageInput-stories.7eb916fc.chunk.css +0 -7
- package/storybook-static/static/css/Presentation-ui-components-MessageInput-MessageInput-stories.7eb916fc.chunk.css.map +0 -1
- package/storybook-static/static/css/Presentation-ui-components-MessageSeparator-MessageSeparator-stories.34aa36b2.chunk.css +0 -3
- package/storybook-static/static/css/Presentation-ui-components-MessageSeparator-MessageSeparator-stories.34aa36b2.chunk.css.map +0 -1
- package/storybook-static/static/css/Presentation-ui-components-Placeholder-Placeholder-stories.cb7fb80a.chunk.css +0 -3
- package/storybook-static/static/css/Presentation-ui-components-Placeholder-Placeholder-stories.cb7fb80a.chunk.css.map +0 -1
- package/storybook-static/static/css/Presentation-ui-components-PreviewFileMessage-PreviewFileMessage-stories.31cd021e.chunk.css +0 -3
- package/storybook-static/static/css/Presentation-ui-components-PreviewFileMessage-PreviewFileMessage-stories.31cd021e.chunk.css.map +0 -1
- package/storybook-static/static/css/Presentation-ui-components-SettingsItem-SettingsItem-stories.b67b748b.chunk.css +0 -5
- package/storybook-static/static/css/Presentation-ui-components-SettingsItem-SettingsItem-stories.b67b748b.chunk.css.map +0 -1
- package/storybook-static/static/css/Presentation-ui-components-TextField-TextField-stories.412027f8.chunk.css +0 -4
- package/storybook-static/static/css/Presentation-ui-components-TextField-TextField-stories.412027f8.chunk.css.map +0 -1
- package/storybook-static/static/css/Presentation-ui-components-Toast-Toast-stories.a5b284f4.chunk.css +0 -754
- package/storybook-static/static/css/Presentation-ui-components-Toast-Toast-stories.a5b284f4.chunk.css.map +0 -1
- package/storybook-static/static/css/Presentation-ui-components-UserListItem-UserListItem-stories.655aa6c1.chunk.css +0 -7
- package/storybook-static/static/css/Presentation-ui-components-UserListItem-UserListItem-stories.655aa6c1.chunk.css.map +0 -1
- package/storybook-static/static/css/main.a921485c.css +0 -5
- package/storybook-static/static/css/main.a921485c.css.map +0 -1
- package/storybook-static/static/media/add-contact.e7e7b8b15edebe99cae9c46963126e7c.svg +0 -3
- package/storybook-static/static/media/add.5cbe1f2c489b81396863f7128e3d26e7.svg +0 -3
- package/storybook-static/static/media/admin.476c2854d7ad23f2afdedac2d9bd6815.svg +0 -3
- package/storybook-static/static/media/archive.d0a72898f3c47a4194d18f560a54e109.svg +0 -3
- package/storybook-static/static/media/arrow-left.5005351d4fa6a7c074dd9780fb49dcc8.svg +0 -3
- package/storybook-static/static/media/arrow-right.1be3b599e21158807fdf72f4976179a2.svg +0 -3
- package/storybook-static/static/media/attachment.a58b8549f46ae5bbe93be779cd9f2037.svg +0 -3
- package/storybook-static/static/media/audio-file.40179c472f715fc74d4da607da96aa5e.svg +0 -3
- package/storybook-static/static/media/back.b541e72fe05542e145575c8851558998.svg +0 -3
- package/storybook-static/static/media/banned.c7c74bfa1c833263f3ab42d0529132d1.svg +0 -3
- package/storybook-static/static/media/broadcast.55273926379e5f486ccfdfab1a310b2d.svg +0 -7
- package/storybook-static/static/media/broken-file.bc084278a0d284b7901b47f24001caa6.svg +0 -3
- package/storybook-static/static/media/camera-off.8e01960815ce7620a1039d0fc5f758b2.svg +0 -3
- package/storybook-static/static/media/camera-on.ddd56e36fa505d618ab772e23c8381e6.svg +0 -3
- package/storybook-static/static/media/camera.a5a215695fba60146e649094188f37e2.svg +0 -3
- package/storybook-static/static/media/chat-filled.aaf0b778d198e7b8f632a68299a8fd13.svg +0 -3
- package/storybook-static/static/media/chat.59cd437f21fe7043682dd04cbe6377be.svg +0 -3
- package/storybook-static/static/media/check-off.0c0256f00eeb75770ffc2fbd2b59eab0.svg +0 -3
- package/storybook-static/static/media/check-on.80442753ef6922df1913453f50099315.svg +0 -3
- package/storybook-static/static/media/close.c145af996de81b25f3930bf36d88b161.svg +0 -3
- package/storybook-static/static/media/conference.ffbdf37c0510c796138f18e6c1205204.svg +0 -3
- package/storybook-static/static/media/contact-filled.f04f56ba3f98ade5d7ced7814d8a5fa8.svg +0 -3
- package/storybook-static/static/media/contact.40a8b8104c3a448b81108ffede850963.svg +0 -3
- package/storybook-static/static/media/copy.100bd0fff933cbde8ad4bc2ac281c845.svg +0 -3
- package/storybook-static/static/media/delete.287c9b4b3b0e58cb081c6e388e68b409.svg +0 -3
- package/storybook-static/static/media/down.7a43a3d78885f40616ce111c86c108a4.svg +0 -3
- package/storybook-static/static/media/download.43c26d404dd023e42aaacc52151f7a59.svg +0 -3
- package/storybook-static/static/media/edit.8d813af82ecab84303ee3c97bd7bc562.svg +0 -3
- package/storybook-static/static/media/emoji.9a202cbb16735f3c83ba8772f0218aa4.svg +0 -3
- package/storybook-static/static/media/error.ec60e2052661b82f27b7ce270ae133a7.svg +0 -3
- package/storybook-static/static/media/favorite.194d78057be6cd7968c85e7b5822f82a.svg +0 -3
- package/storybook-static/static/media/file.e537292693b3c89c023fd383c70bd221.svg +0 -3
- package/storybook-static/static/media/forward-filled.43120a68057427c89c88b28d9b20dd90.svg +0 -3
- package/storybook-static/static/media/freeze.35619771e645b649c38e0427d9b39a25.svg +0 -3
- package/storybook-static/static/media/full-screen.6b01c93e069421c69bda2bbde5d01336.svg +0 -3
- package/storybook-static/static/media/gif-file.2c46a5df6c8397f5b9088e66aee3fd44.svg +0 -3
- package/storybook-static/static/media/group-chat.19d5305cab6017d494ac35ecb285a9fe.svg +0 -3
- package/storybook-static/static/media/help.786f48518c96c8e7098296d68245c339.svg +0 -3
- package/storybook-static/static/media/hide.2785264246d70868717984a5ad44d4c9.svg +0 -3
- package/storybook-static/static/media/hungup.e5d2289a9e8cd755bd1ee36b738305a2.svg +0 -3
- package/storybook-static/static/media/image-filled.8afb62b142d786e90102f1cac73a9c13.svg +0 -3
- package/storybook-static/static/media/image.64092dadd5215c8d3ba99ccac753d743.svg +0 -3
- package/storybook-static/static/media/income-call.60ca2d367a00d582f4b6f4a5f2047e27.svg +0 -3
- package/storybook-static/static/media/information.8217e163c334852f143e7199c97fab1d.svg +0 -3
- package/storybook-static/static/media/leave.ae5422a12edec1b61484ff2932819c77.svg +0 -3
- package/storybook-static/static/media/like.45662989373aa524cd580fb42432e0bc.svg +0 -3
- package/storybook-static/static/media/link.74f567c3ee4366d79fb81d73eb8c0919.svg +0 -3
- package/storybook-static/static/media/loader.2eb72391c5267453edb4106528c075ad.svg +0 -3
- package/storybook-static/static/media/location.cab52453404524c345ec7efdd86fa66b.svg +0 -4
- package/storybook-static/static/media/louder.133519141541a9cd2f0e898534b39732.svg +0 -3
- package/storybook-static/static/media/mention.6c4885bb0ea5ca85c8962f6f51ac1cb4.svg +0 -3
- package/storybook-static/static/media/mic-off.43e60427600bcf7fd78fb840ff50d804.svg +0 -3
- package/storybook-static/static/media/mic-on.5a52100de3770550b3a57a76827843c2.svg +0 -4
- package/storybook-static/static/media/minimize.a849dd3a36ece08b992a773d135a0c3f.svg +0 -3
- package/storybook-static/static/media/moderations.07c8d1fe96b0b8bb5911f6cc37f764c6.svg +0 -3
- package/storybook-static/static/media/more.4ed9ad54ae110d9760b6e9698d821960.svg +0 -3
- package/storybook-static/static/media/muted.cb37ac3c577c87c800466aa7aee65af2.svg +0 -3
- package/storybook-static/static/media/new-chat.124e0351bd0e19ff4c5fdbabbe5c6027.svg +0 -3
- package/storybook-static/static/media/next.97a0eeea1f8daa2d31c8452f29908bf1.svg +0 -3
- package/storybook-static/static/media/notifications.ab8e847ae04e2bec9209dbdd1054b0f2.svg +0 -3
- package/storybook-static/static/media/notify-off.4a669a3a8cbd38b3309dbc4c909f6089.svg +0 -3
- package/storybook-static/static/media/notify-on.ea9ffc856ad6cdbe87184af558c78eec.svg +0 -3
- package/storybook-static/static/media/outcome-call.9f5fec07823796ad78963a06cdcf629e.svg +0 -3
- package/storybook-static/static/media/pause.27eb8c32999f10d05d6a200165d798a9.svg +0 -3
- package/storybook-static/static/media/phone-filled.e969511d74935af26ef366f575929f68.svg +0 -3
- package/storybook-static/static/media/phone.6355580a064a488b6317372d71f84c00.svg +0 -3
- package/storybook-static/static/media/play.00bfe0e9c94dc6dfb230262e45b2f860.svg +0 -3
- package/storybook-static/static/media/plus.d3953cb1cf830bcfc41c8cc6133b13b1.svg +0 -3
- package/storybook-static/static/media/private-chat.c68f36baf025b9d20ad1f801a2396e7a.svg +0 -3
- package/storybook-static/static/media/public-channel.7a6ada7f30c44fb4a99021df0eb0e996.svg +0 -7
- package/storybook-static/static/media/quite.9f45e2152fe6c499a776cb387ee4859f.svg +0 -3
- package/storybook-static/static/media/record.e49ee7da793b2ce446a4e7128970c0cc.svg +0 -3
- package/storybook-static/static/media/refresh.6e955728d9ec086f34e9adaaaafacf3e.svg +0 -3
- package/storybook-static/static/media/remove-2.8a7700757f02c941f03c37c7e495bf63.svg +0 -3
- package/storybook-static/static/media/remove.831e69b70db1b3eb72a49444b8aa1e16.svg +0 -3
- package/storybook-static/static/media/rephrase.551171aa8903b31746a58a95528b1f68.svg +0 -6
- package/storybook-static/static/media/reply-filled.17ed65506e902f17bb22e87ffac93314.svg +0 -3
- package/storybook-static/static/media/screenshare.c2f94264a7640ea1bbb2a22f7d570038.svg +0 -3
- package/storybook-static/static/media/search.25663e60d71e01c64fdfc83df7460ab0.svg +0 -3
- package/storybook-static/static/media/send.d298db52aafdb846a46c9d180ad45946.svg +0 -3
- package/storybook-static/static/media/sent.f427753e5502fd7783a08e5f0e0d2f35.svg +0 -3
- package/storybook-static/static/media/settings-filled.bd9b60ff4e9eae911e4e2bc69e8e79ca.svg +0 -3
- package/storybook-static/static/media/share.7ce8283aa267fb065c568d65b482e211.svg +0 -3
- package/storybook-static/static/media/show.de1782527c4a7fa14101dffbfba8aea6.svg +0 -3
- package/storybook-static/static/media/speaker-off.fe84597c4b68f4f761e12f789dc58718.svg +0 -3
- package/storybook-static/static/media/speaker.e7ff48a73ca43188703b36dfecd932b5.svg +0 -3
- package/storybook-static/static/media/stop-record.a2e9d50a0930c24af43d7f357093be81.svg +0 -3
- package/storybook-static/static/media/stop-share.d1be236e01dd924ba711e1e17f41054c.svg +0 -3
- package/storybook-static/static/media/stream-filled.c40bae61fea25455602a61db5e77fa71.svg +0 -3
- package/storybook-static/static/media/stream.700f4f8ce0cee0ae1ef56132867427fe.svg +0 -3
- package/storybook-static/static/media/swap-camera.bc3a4652106f5c57d14b4dcbffff08a5.svg +0 -3
- package/storybook-static/static/media/text-document.cad7e87368501b96de2a939d08852dcd.svg +0 -3
- package/storybook-static/static/media/unarchive.1b1a7438cd8eb6fee80e6ac89baa195b.svg +0 -3
- package/storybook-static/static/media/user.911c7ae778615185b285ce0ae4068486.svg +0 -3
- package/storybook-static/static/media/video-file.dbd1f8c63a3769f9e9a027f0922d56b2.svg +0 -3
- package/storybook-static/static/media/video.bbcc2109285c18eea02ede86920de0dd.svg +0 -3
- package/storybook-static/static/media/viewed-delivered.f43360dc87235a6cf574ff53f73dd777.svg +0 -3
- package/storybook-static/static/media/voice.b937c8a1f744050bec2cd389ad2a1f3a.svg +0 -3
- package/storybook-static/stories.json +0 -1
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import './CheckBox.scss';
|
|
2
|
-
|
|
3
|
-
interface CheckBoxProps {
|
|
4
|
-
disabled: boolean;
|
|
5
|
-
checked: boolean;
|
|
6
|
-
onChange?: (isSelected: boolean) => void;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
export default function CheckBox({
|
|
10
|
-
disabled,
|
|
11
|
-
checked,
|
|
12
|
-
onChange,
|
|
13
|
-
}: CheckBoxProps) {
|
|
14
|
-
return (
|
|
15
|
-
<input
|
|
16
|
-
className="checkbox"
|
|
17
|
-
type="checkbox"
|
|
18
|
-
checked={checked}
|
|
19
|
-
disabled={disabled}
|
|
20
|
-
onChange={() => onChange?.(!checked)}
|
|
21
|
-
/>
|
|
22
|
-
);
|
|
23
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
@import '../../themes/styles/mixins';
|
|
2
|
-
|
|
3
|
-
.dialog-banner {
|
|
4
|
-
@include applyBorderBox;
|
|
5
|
-
background: var(--main-elements, #3978fc);
|
|
6
|
-
border-radius: 4px;
|
|
7
|
-
padding: 2px 8px 2px 8px;
|
|
8
|
-
display: flex;
|
|
9
|
-
gap: 8px;
|
|
10
|
-
align-items: center;
|
|
11
|
-
justify-content: center;
|
|
12
|
-
width: 100%;
|
|
13
|
-
min-width: 312px;
|
|
14
|
-
cursor: pointer;
|
|
15
|
-
|
|
16
|
-
&__text {
|
|
17
|
-
color: var(--color-background, #ffffff);
|
|
18
|
-
text-align: center;
|
|
19
|
-
font: var(--label-label-small);
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
&__navigation-icon {
|
|
23
|
-
flex-shrink: 0;
|
|
24
|
-
width: 16px;
|
|
25
|
-
height: 16px;
|
|
26
|
-
fill: var(--color-background, #ffffff);
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
|
|
3
|
-
import DialogBanner from './DialogBanner';
|
|
4
|
-
|
|
5
|
-
const meta = {
|
|
6
|
-
title: '@quickblox-react-ui-kit/Presentation/ui-components/DialogBanner',
|
|
7
|
-
component: DialogBanner,
|
|
8
|
-
tags: ['autodocs'],
|
|
9
|
-
parameters: {
|
|
10
|
-
layout: 'centered',
|
|
11
|
-
},
|
|
12
|
-
args: { text: '' },
|
|
13
|
-
argTypes: {
|
|
14
|
-
text: {
|
|
15
|
-
table: {
|
|
16
|
-
defaultValue: {
|
|
17
|
-
summary: '',
|
|
18
|
-
},
|
|
19
|
-
},
|
|
20
|
-
description: 'Text content',
|
|
21
|
-
},
|
|
22
|
-
onClick: {
|
|
23
|
-
description: 'click function',
|
|
24
|
-
table: {
|
|
25
|
-
type: { summary: 'function' },
|
|
26
|
-
},
|
|
27
|
-
},
|
|
28
|
-
},
|
|
29
|
-
} satisfies Meta<typeof DialogBanner>;
|
|
30
|
-
|
|
31
|
-
export default meta;
|
|
32
|
-
type Story = StoryObj<typeof meta>;
|
|
33
|
-
|
|
34
|
-
export const DialogBannerDefault: Story = {
|
|
35
|
-
name: 'DialogBanner Default',
|
|
36
|
-
args: {
|
|
37
|
-
text: '3 new messages',
|
|
38
|
-
},
|
|
39
|
-
};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { ReactComponent as DownSvg } from '../../icons/navigation/down.svg';
|
|
2
|
-
import './DialogBanner.scss';
|
|
3
|
-
|
|
4
|
-
type DialogBannerProps = {
|
|
5
|
-
text: string;
|
|
6
|
-
onClick?: VoidFunction;
|
|
7
|
-
};
|
|
8
|
-
|
|
9
|
-
export default function ({ text, onClick }: DialogBannerProps) {
|
|
10
|
-
return (
|
|
11
|
-
<div className="dialog-banner">
|
|
12
|
-
<span className="dialog-banner__text">{text}</span>
|
|
13
|
-
<DownSvg className="dialog-banner__navigation-icon" onClick={onClick} />
|
|
14
|
-
</div>
|
|
15
|
-
);
|
|
16
|
-
}
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
@import '../../themes/styles/mixins';
|
|
2
|
-
|
|
3
|
-
.dialog-item-preview {
|
|
4
|
-
@include applyBorderBox;
|
|
5
|
-
display: flex;
|
|
6
|
-
align-items: center;
|
|
7
|
-
padding: 8px 16px;
|
|
8
|
-
gap: 16px;
|
|
9
|
-
|
|
10
|
-
&:hover {
|
|
11
|
-
background: var(--divider);
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
&--active {
|
|
15
|
-
box-shadow: 4px 0px 0px 0px var(--primary) inset;
|
|
16
|
-
background: var(--divider);
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
&__content {
|
|
20
|
-
width: calc(100% - 72px);
|
|
21
|
-
display: flex;
|
|
22
|
-
flex-direction: column;
|
|
23
|
-
gap: 2px;
|
|
24
|
-
|
|
25
|
-
&-top {
|
|
26
|
-
display: flex;
|
|
27
|
-
justify-content: space-between;
|
|
28
|
-
|
|
29
|
-
&-title {
|
|
30
|
-
font: var(--label-label-medium, 500 12px/16px "Roboto", sans-serif);
|
|
31
|
-
color: var(--main-text, #0b1b0f);
|
|
32
|
-
overflow: hidden;
|
|
33
|
-
white-space: nowrap;
|
|
34
|
-
text-overflow: ellipsis;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
&-date {
|
|
38
|
-
color: var(--tertiary-elements, #636d78);
|
|
39
|
-
font: var(--label-label-small, 500 11px/16px "Roboto", sans-serif);
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
&-bottom {
|
|
44
|
-
display: flex;
|
|
45
|
-
justify-content: space-between;
|
|
46
|
-
gap: 5px;
|
|
47
|
-
height: 32px;
|
|
48
|
-
|
|
49
|
-
&-message {
|
|
50
|
-
color: var(--secondary-text, #636d78);
|
|
51
|
-
text-align: left;
|
|
52
|
-
font: var(--body-body-small, 400 12px/16px "Roboto", sans-serif);
|
|
53
|
-
overflow: hidden;
|
|
54
|
-
display: -webkit-box;
|
|
55
|
-
-webkit-line-clamp: 2;
|
|
56
|
-
-webkit-box-orient: vertical;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
&-controls {
|
|
60
|
-
display: flex;
|
|
61
|
-
align-items: center;
|
|
62
|
-
gap: 5px;
|
|
63
|
-
|
|
64
|
-
&-menu {
|
|
65
|
-
width: 24px;
|
|
66
|
-
height: 24px;
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
}
|
|
@@ -1,194 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import { INITIAL_VIEWPORTS } from '@storybook/addon-viewport';
|
|
3
|
-
import DialogItemPreview from './DialogItemPreview';
|
|
4
|
-
import Badge from '../Badge/Badge';
|
|
5
|
-
import Avatar from '../Avatar/Avatar';
|
|
6
|
-
import {
|
|
7
|
-
ConferenceSvg,
|
|
8
|
-
GroupChatSvg,
|
|
9
|
-
MoreSvg,
|
|
10
|
-
PublicChannelSvg,
|
|
11
|
-
UserSvg,
|
|
12
|
-
} from '../../icons';
|
|
13
|
-
import PreviewFileMessage from '../PreviewFileMessage/PreviewFileMessage';
|
|
14
|
-
import Dropdown from '../Dropdown/Dropdown';
|
|
15
|
-
|
|
16
|
-
const meta: Meta<typeof DialogItemPreview> = {
|
|
17
|
-
title: '@quickblox-react-ui-kit/Presentation/ui-components/DialogItemPreview',
|
|
18
|
-
tags: ['autodocs'],
|
|
19
|
-
component: DialogItemPreview,
|
|
20
|
-
decorators: [],
|
|
21
|
-
parameters: {
|
|
22
|
-
viewport: {
|
|
23
|
-
viewports: INITIAL_VIEWPORTS,
|
|
24
|
-
},
|
|
25
|
-
},
|
|
26
|
-
argTypes: {
|
|
27
|
-
avatar: {
|
|
28
|
-
description: 'Avatar or Icon',
|
|
29
|
-
control: 'select',
|
|
30
|
-
options: ['User', 'Group', 'Conference', 'Public', 'Photo'],
|
|
31
|
-
mapping: {
|
|
32
|
-
User: <Avatar size="lg" icon={<UserSvg />} />,
|
|
33
|
-
Group: <Avatar size="lg" icon={<GroupChatSvg />} />,
|
|
34
|
-
Conference: <Avatar size="lg" icon={<ConferenceSvg />} />,
|
|
35
|
-
Public: <Avatar size="lg" icon={<PublicChannelSvg />} />,
|
|
36
|
-
Photo: (
|
|
37
|
-
<Avatar
|
|
38
|
-
size="lg"
|
|
39
|
-
src="https://quickblox.com/wp-content/themes/QuickbloxTheme2021/img/chat-messaging.svg"
|
|
40
|
-
/>
|
|
41
|
-
),
|
|
42
|
-
},
|
|
43
|
-
},
|
|
44
|
-
lastMessage: {
|
|
45
|
-
description: 'Last message by type',
|
|
46
|
-
control: 'select',
|
|
47
|
-
options: ['ShortText', 'LongText', 'Image', 'File', 'None'],
|
|
48
|
-
mapping: {
|
|
49
|
-
ShortText: 'Hello, world!How are you?',
|
|
50
|
-
LongText:
|
|
51
|
-
"Hello, dear Mr. User. Thank you for choosing us. I'm here to assist with your order's delivery. Please provide your preferred address and any specific instructions. We offer standard, express, and same-day delivery in select areas. Let us know your convenience, and we'll ensure a smooth process.",
|
|
52
|
-
Image: (
|
|
53
|
-
<PreviewFileMessage
|
|
54
|
-
name="My avatar.png"
|
|
55
|
-
src="https://quickblox.com/wp-content/themes/QuickbloxTheme2021/img/chat-messaging.svg"
|
|
56
|
-
/>
|
|
57
|
-
),
|
|
58
|
-
File: <PreviewFileMessage name="My Document.txt" />,
|
|
59
|
-
None: undefined,
|
|
60
|
-
},
|
|
61
|
-
},
|
|
62
|
-
badge: {
|
|
63
|
-
description: 'Badge',
|
|
64
|
-
control: 'select',
|
|
65
|
-
options: ['Default', 'OverCount', 'None'],
|
|
66
|
-
mapping: {
|
|
67
|
-
Default: <Badge count={5} />,
|
|
68
|
-
OverCount: <Badge count={15} limit={9} />,
|
|
69
|
-
None: undefined,
|
|
70
|
-
},
|
|
71
|
-
},
|
|
72
|
-
active: {
|
|
73
|
-
table: {
|
|
74
|
-
defaultValue: {
|
|
75
|
-
summary: false,
|
|
76
|
-
},
|
|
77
|
-
type: { summary: 'boolean' },
|
|
78
|
-
},
|
|
79
|
-
description: 'Active',
|
|
80
|
-
},
|
|
81
|
-
contextMenu: {
|
|
82
|
-
description: 'Context action icon',
|
|
83
|
-
control: 'select',
|
|
84
|
-
options: ['Default', 'Leave', 'None'],
|
|
85
|
-
mapping: {
|
|
86
|
-
Default: <MoreSvg />,
|
|
87
|
-
Leave: (
|
|
88
|
-
<Dropdown
|
|
89
|
-
placement="left"
|
|
90
|
-
options={[
|
|
91
|
-
{
|
|
92
|
-
value: 'Leave',
|
|
93
|
-
label: 'Leave',
|
|
94
|
-
},
|
|
95
|
-
]}
|
|
96
|
-
onSelect={(value: string) => {
|
|
97
|
-
console.log(value);
|
|
98
|
-
}}
|
|
99
|
-
>
|
|
100
|
-
<MoreSvg />
|
|
101
|
-
</Dropdown>
|
|
102
|
-
),
|
|
103
|
-
None: undefined,
|
|
104
|
-
},
|
|
105
|
-
},
|
|
106
|
-
},
|
|
107
|
-
};
|
|
108
|
-
|
|
109
|
-
export default meta;
|
|
110
|
-
|
|
111
|
-
type Story = StoryObj<typeof meta>;
|
|
112
|
-
|
|
113
|
-
export const DialogItemPreviewDefault: Story = {
|
|
114
|
-
name: 'DialogItemPreview Default',
|
|
115
|
-
args: {
|
|
116
|
-
title: 'Name',
|
|
117
|
-
avatar: <Avatar size="lg" icon={<UserSvg />} />,
|
|
118
|
-
},
|
|
119
|
-
render: (args) => {
|
|
120
|
-
// eslint-disable-next-line no-param-reassign
|
|
121
|
-
args.date = new Date(args.date!).toLocaleDateString();
|
|
122
|
-
|
|
123
|
-
return <DialogItemPreview {...args} />;
|
|
124
|
-
},
|
|
125
|
-
};
|
|
126
|
-
|
|
127
|
-
export const DialogItemPreviewFullScreen: Story = {
|
|
128
|
-
name: 'DialogItemPreview FullScreen',
|
|
129
|
-
args: {
|
|
130
|
-
title: 'Name',
|
|
131
|
-
avatar: <Avatar size="lg" icon={<UserSvg />} />,
|
|
132
|
-
lastMessage:
|
|
133
|
-
"Hello, dear Mr. User. Thank you for choosing us. I'm here to assist with your order's delivery. Please provide your preferred address and any specific instructions. We offer standard, express, and same-day delivery in select areas. Let us know your convenience, and we'll ensure a smooth process.",
|
|
134
|
-
badge: <Badge count={5} />,
|
|
135
|
-
contextMenu: <MoreSvg />,
|
|
136
|
-
},
|
|
137
|
-
parameters: {
|
|
138
|
-
viewport: {
|
|
139
|
-
defaultViewport: 'responsive',
|
|
140
|
-
},
|
|
141
|
-
},
|
|
142
|
-
render: (args) => {
|
|
143
|
-
// eslint-disable-next-line no-param-reassign
|
|
144
|
-
args.date = new Date(args.date!).toLocaleDateString();
|
|
145
|
-
|
|
146
|
-
return <DialogItemPreview {...args} />;
|
|
147
|
-
},
|
|
148
|
-
};
|
|
149
|
-
|
|
150
|
-
export const DialogItemPreviewMobileScreen: Story = {
|
|
151
|
-
name: 'DialogItemPreview MobileScreen',
|
|
152
|
-
args: {
|
|
153
|
-
title: 'Name',
|
|
154
|
-
avatar: <Avatar size="lg" icon={<UserSvg />} />,
|
|
155
|
-
lastMessage:
|
|
156
|
-
"Hello, dear Mr. User. Thank you for choosing us. I'm here to assist with your order's delivery. Please provide your preferred address and any specific instructions. We offer standard, express, and same-day delivery in select areas. Let us know your convenience, and we'll ensure a smooth process.",
|
|
157
|
-
badge: <Badge count={5} />,
|
|
158
|
-
contextMenu: <MoreSvg />,
|
|
159
|
-
},
|
|
160
|
-
parameters: {
|
|
161
|
-
viewport: {
|
|
162
|
-
defaultViewport: 'iphonese2',
|
|
163
|
-
},
|
|
164
|
-
},
|
|
165
|
-
render: (args) => {
|
|
166
|
-
// eslint-disable-next-line no-param-reassign
|
|
167
|
-
args.date = new Date(args.date!).toLocaleDateString();
|
|
168
|
-
|
|
169
|
-
return <DialogItemPreview {...args} />;
|
|
170
|
-
},
|
|
171
|
-
};
|
|
172
|
-
|
|
173
|
-
export const DialogItemPreviewMobileScreenIPad: Story = {
|
|
174
|
-
name: 'DialogItemPreview MobileScreen IPad',
|
|
175
|
-
args: {
|
|
176
|
-
title: 'Name',
|
|
177
|
-
avatar: <Avatar size="lg" icon={<UserSvg />} />,
|
|
178
|
-
lastMessage:
|
|
179
|
-
"Hello, dear Mr. User. Thank you for choosing us. I'm here to assist with your order's delivery. Please provide your preferred address and any specific instructions. We offer standard, express, and same-day delivery in select areas. Let us know your convenience, and we'll ensure a smooth process.",
|
|
180
|
-
badge: <Badge count={5} />,
|
|
181
|
-
contextMenu: <MoreSvg />,
|
|
182
|
-
},
|
|
183
|
-
parameters: {
|
|
184
|
-
viewport: {
|
|
185
|
-
defaultViewport: 'ipad',
|
|
186
|
-
},
|
|
187
|
-
},
|
|
188
|
-
render: (args) => {
|
|
189
|
-
// eslint-disable-next-line no-param-reassign
|
|
190
|
-
args.date = new Date(args.date!).toLocaleDateString();
|
|
191
|
-
|
|
192
|
-
return <DialogItemPreview {...args} />;
|
|
193
|
-
},
|
|
194
|
-
};
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
import { ReactElement } from 'react';
|
|
2
|
-
import cn from 'classnames';
|
|
3
|
-
import { FunctionTypeVoidToVoid } from '../../../CommonTypes/BaseViewModel';
|
|
4
|
-
import './DialogItemPreview.scss';
|
|
5
|
-
|
|
6
|
-
export type DialogItemPreviewProps = {
|
|
7
|
-
avatar: ReactElement;
|
|
8
|
-
title: string;
|
|
9
|
-
active?: boolean;
|
|
10
|
-
date?: string;
|
|
11
|
-
lastMessage?: ReactElement | string;
|
|
12
|
-
badge?: ReactElement;
|
|
13
|
-
contextMenu?: ReactElement;
|
|
14
|
-
onClick?: FunctionTypeVoidToVoid;
|
|
15
|
-
className?: string;
|
|
16
|
-
};
|
|
17
|
-
|
|
18
|
-
// eslint-disable-next-line react/function-component-definition
|
|
19
|
-
const DialogItemPreview: React.FC<DialogItemPreviewProps> = ({
|
|
20
|
-
avatar,
|
|
21
|
-
title,
|
|
22
|
-
date,
|
|
23
|
-
active,
|
|
24
|
-
lastMessage,
|
|
25
|
-
badge,
|
|
26
|
-
contextMenu,
|
|
27
|
-
onClick,
|
|
28
|
-
className,
|
|
29
|
-
}: DialogItemPreviewProps) => {
|
|
30
|
-
// eslint-disable-next-line consistent-return
|
|
31
|
-
return (
|
|
32
|
-
<div
|
|
33
|
-
className={cn(
|
|
34
|
-
'dialog-item-preview',
|
|
35
|
-
{ 'dialog-item-preview--active': active },
|
|
36
|
-
className,
|
|
37
|
-
)}
|
|
38
|
-
onClick={onClick}
|
|
39
|
-
>
|
|
40
|
-
{avatar}
|
|
41
|
-
<div className="dialog-item-preview__content">
|
|
42
|
-
<div className="dialog-item-preview__content-top">
|
|
43
|
-
<span className="dialog-item-preview__content-top-title">
|
|
44
|
-
{title}
|
|
45
|
-
</span>
|
|
46
|
-
{date && (
|
|
47
|
-
<span className="dialog-item-preview__content-top-date">
|
|
48
|
-
{date}
|
|
49
|
-
</span>
|
|
50
|
-
)}
|
|
51
|
-
</div>
|
|
52
|
-
<div className="dialog-item-preview__content-bottom">
|
|
53
|
-
<div className="dialog-item-preview__content-bottom-message">
|
|
54
|
-
{lastMessage}
|
|
55
|
-
</div>
|
|
56
|
-
<div
|
|
57
|
-
onClick={(event) => event.stopPropagation()}
|
|
58
|
-
className="dialog-item-preview__content-bottom-controls"
|
|
59
|
-
>
|
|
60
|
-
{badge}
|
|
61
|
-
{contextMenu && (
|
|
62
|
-
<div className="dialog-item-preview__content-bottom-controls-menu">
|
|
63
|
-
{contextMenu}
|
|
64
|
-
</div>
|
|
65
|
-
)}
|
|
66
|
-
</div>
|
|
67
|
-
</div>
|
|
68
|
-
</div>
|
|
69
|
-
</div>
|
|
70
|
-
);
|
|
71
|
-
};
|
|
72
|
-
|
|
73
|
-
export default DialogItemPreview;
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
@import '../../themes/styles/mixins';
|
|
2
|
-
|
|
3
|
-
.dialog-window {
|
|
4
|
-
@include applyBorderBox;
|
|
5
|
-
|
|
6
|
-
left: 0;
|
|
7
|
-
top: 0;
|
|
8
|
-
width: 100%;
|
|
9
|
-
height: 100%;
|
|
10
|
-
z-index: 100;
|
|
11
|
-
position: fixed;
|
|
12
|
-
background-color: rgba(19, 29, 40, 0.8);
|
|
13
|
-
|
|
14
|
-
&--disable {
|
|
15
|
-
position: absolute;
|
|
16
|
-
top: 0;
|
|
17
|
-
left: 0;
|
|
18
|
-
width: 100%;
|
|
19
|
-
height: 100%;
|
|
20
|
-
background-color: rgba(0, 0, 0, 0.5);
|
|
21
|
-
z-index: 100;
|
|
22
|
-
display: block;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
&__content {
|
|
26
|
-
width: 380px;
|
|
27
|
-
position: absolute;
|
|
28
|
-
|
|
29
|
-
top: 50%;
|
|
30
|
-
left: 50%;
|
|
31
|
-
transform: translate(-50%, -50%);
|
|
32
|
-
|
|
33
|
-
padding: 24px;
|
|
34
|
-
border-radius: 4px;
|
|
35
|
-
background-color: var(--main-background);
|
|
36
|
-
box-shadow: 0 9px 15px 0 rgba(0, 0, 0, 0.04),
|
|
37
|
-
0 9px 46px 0 rgba(0, 0, 0, 0.08);
|
|
38
|
-
|
|
39
|
-
@media (max-width: 767px) {
|
|
40
|
-
width: 300px;
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
&__header {
|
|
45
|
-
margin-bottom: 28px;
|
|
46
|
-
padding: 0px !important;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
&__close {
|
|
50
|
-
width: 24px;
|
|
51
|
-
height: 24px;
|
|
52
|
-
|
|
53
|
-
fill: var(--secondary-elements);
|
|
54
|
-
cursor: pointer;
|
|
55
|
-
}
|
|
56
|
-
}
|
|
@@ -1,107 +0,0 @@
|
|
|
1
|
-
import { useState } from 'react';
|
|
2
|
-
import type { Meta, StoryObj } from '@storybook/react';
|
|
3
|
-
|
|
4
|
-
import DialogWindow from './DialogWindow';
|
|
5
|
-
import Button from '../Button/Button';
|
|
6
|
-
|
|
7
|
-
const meta: Meta<typeof DialogWindow> = {
|
|
8
|
-
title: '@quickblox-react-ui-kit/Presentation/ui-components/DialogWindow',
|
|
9
|
-
component: DialogWindow,
|
|
10
|
-
tags: ['autodocs'],
|
|
11
|
-
parameters: {
|
|
12
|
-
layout: 'centered',
|
|
13
|
-
},
|
|
14
|
-
args: {
|
|
15
|
-
children: undefined,
|
|
16
|
-
open: false,
|
|
17
|
-
title: '',
|
|
18
|
-
className: '',
|
|
19
|
-
onClose: undefined,
|
|
20
|
-
},
|
|
21
|
-
argTypes: {
|
|
22
|
-
title: {
|
|
23
|
-
table: {
|
|
24
|
-
defaultValue: {
|
|
25
|
-
summary: '',
|
|
26
|
-
},
|
|
27
|
-
type: { summary: 'string' },
|
|
28
|
-
},
|
|
29
|
-
description: 'Title for modal window',
|
|
30
|
-
},
|
|
31
|
-
children: {
|
|
32
|
-
table: {
|
|
33
|
-
defaultValue: {
|
|
34
|
-
summary: 'ReactNode',
|
|
35
|
-
},
|
|
36
|
-
type: { summary: 'ReactElement | ReactElement[]' },
|
|
37
|
-
},
|
|
38
|
-
description: 'Primary content',
|
|
39
|
-
},
|
|
40
|
-
open: {
|
|
41
|
-
table: {
|
|
42
|
-
defaultValue: {
|
|
43
|
-
summary: false,
|
|
44
|
-
},
|
|
45
|
-
type: { summary: 'boolean' },
|
|
46
|
-
},
|
|
47
|
-
description: 'Open modal window',
|
|
48
|
-
},
|
|
49
|
-
className: {
|
|
50
|
-
table: {
|
|
51
|
-
defaultValue: {
|
|
52
|
-
summary: 'string',
|
|
53
|
-
},
|
|
54
|
-
type: { summary: 'string' },
|
|
55
|
-
},
|
|
56
|
-
description: 'Additional classes',
|
|
57
|
-
},
|
|
58
|
-
onClose: {
|
|
59
|
-
table: {
|
|
60
|
-
type: { summary: 'VoidFunction' },
|
|
61
|
-
},
|
|
62
|
-
description: 'closes the modal window',
|
|
63
|
-
},
|
|
64
|
-
},
|
|
65
|
-
};
|
|
66
|
-
|
|
67
|
-
export default meta;
|
|
68
|
-
type StoryDefault = StoryObj<typeof meta>;
|
|
69
|
-
|
|
70
|
-
function DialogWindowExample() {
|
|
71
|
-
const [isOpen, setIsOpen] = useState(false);
|
|
72
|
-
|
|
73
|
-
const handleOnChange = () => {
|
|
74
|
-
setIsOpen((state) => !state);
|
|
75
|
-
};
|
|
76
|
-
|
|
77
|
-
return (
|
|
78
|
-
<div>
|
|
79
|
-
<Button onClick={handleOnChange} type="button">
|
|
80
|
-
Button
|
|
81
|
-
</Button>
|
|
82
|
-
<DialogWindow open={isOpen} title="Headline" onClose={handleOnChange}>
|
|
83
|
-
<div
|
|
84
|
-
style={{
|
|
85
|
-
display: 'flex',
|
|
86
|
-
alignItems: 'center',
|
|
87
|
-
justifyContent: 'flex-end',
|
|
88
|
-
marginTop: '48px',
|
|
89
|
-
gap: '8px',
|
|
90
|
-
}}
|
|
91
|
-
>
|
|
92
|
-
<Button variant="outlined" onClick={handleOnChange}>
|
|
93
|
-
Button
|
|
94
|
-
</Button>
|
|
95
|
-
<Button variant="danger" onClick={handleOnChange}>
|
|
96
|
-
Button
|
|
97
|
-
</Button>
|
|
98
|
-
</div>
|
|
99
|
-
</DialogWindow>
|
|
100
|
-
</div>
|
|
101
|
-
);
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
export const DialogWindowDefault: StoryDefault = {
|
|
105
|
-
name: 'DialogWindow Default',
|
|
106
|
-
render: () => <DialogWindowExample />,
|
|
107
|
-
};
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import React, { ReactElement } from 'react';
|
|
2
|
-
import { createPortal } from 'react-dom';
|
|
3
|
-
import cn from 'classnames';
|
|
4
|
-
|
|
5
|
-
import Header from '../Header/Header';
|
|
6
|
-
import { CloseSvg } from '../../icons';
|
|
7
|
-
import './DialogWindow.scss';
|
|
8
|
-
|
|
9
|
-
interface DialogWindowProps {
|
|
10
|
-
open: boolean;
|
|
11
|
-
title: string;
|
|
12
|
-
children: ReactElement | ReactElement[];
|
|
13
|
-
onClose?: VoidFunction;
|
|
14
|
-
className?: string;
|
|
15
|
-
disableActions?: boolean;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
export default function DialogWindow({
|
|
19
|
-
children,
|
|
20
|
-
onClose,
|
|
21
|
-
open = false,
|
|
22
|
-
title,
|
|
23
|
-
className,
|
|
24
|
-
disableActions = false,
|
|
25
|
-
}: DialogWindowProps) {
|
|
26
|
-
if (!open) return null;
|
|
27
|
-
|
|
28
|
-
return createPortal(
|
|
29
|
-
<div className={cn('dialog-window', className)}>
|
|
30
|
-
<div className={cn('', { 'dialog-window--disable': disableActions })} />
|
|
31
|
-
<div className="dialog-window__content">
|
|
32
|
-
<Header
|
|
33
|
-
className="dialog-window__header"
|
|
34
|
-
onGoBack={onClose}
|
|
35
|
-
title={title}
|
|
36
|
-
>
|
|
37
|
-
<CloseSvg onClick={onClose} className="dialog-window__close" />
|
|
38
|
-
</Header>
|
|
39
|
-
{children}
|
|
40
|
-
</div>
|
|
41
|
-
</div>,
|
|
42
|
-
document.body,
|
|
43
|
-
);
|
|
44
|
-
}
|