@sendbird/uikit-react 3.1.1 → 3.1.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/App.js +35 -35
- package/CHANGELOG.md +29 -0
- package/Channel/components/ChannelHeader.js +19 -19
- package/Channel/components/ChannelUI.js +26 -26
- package/Channel/components/ChannelUI.js.map +1 -1
- package/Channel/components/FileViewer.js +18 -18
- package/Channel/components/FrozenNotification.js +5 -5
- package/Channel/components/Message.js +23 -23
- package/Channel/components/MessageInput.js +20 -20
- package/Channel/components/MessageList.js +25 -25
- package/Channel/components/RemoveMessageModal.js +22 -23
- package/Channel/components/RemoveMessageModal.js.map +1 -1
- package/Channel/components/SuggestedMentionList.js +19 -19
- package/Channel/components/TypingIndicator.js +18 -18
- package/Channel/components/UnreadCount.js +5 -5
- package/Channel/context.js +17 -17
- package/Channel.js +26 -26
- package/ChannelList/components/AddChannel.js +14 -14
- package/ChannelList/components/ChannelListHeader.js +7 -7
- package/ChannelList/components/ChannelListHeader.js.map +1 -1
- package/ChannelList/components/ChannelListUI.js +30 -30
- package/ChannelList/components/ChannelListUI.js.map +1 -1
- package/ChannelList/components/ChannelPreview.js +23 -23
- package/ChannelList/components/ChannelPreview.js.map +1 -1
- package/ChannelList/components/ChannelPreviewAction.js +18 -18
- package/ChannelList/context.js +12 -12
- package/ChannelList.js +30 -30
- package/{ChannelListProvider-bdac2e90.js → ChannelListProvider-9c82d370.js} +9 -9
- package/ChannelListProvider-9c82d370.js.map +1 -0
- package/{ChannelProvider-0174d0f3.js → ChannelProvider-d891cf5f.js} +31 -30
- package/ChannelProvider-d891cf5f.js.map +1 -0
- package/ChannelSettings/components/ChannelProfile.js +13 -14
- package/ChannelSettings/components/ChannelProfile.js.map +1 -1
- package/ChannelSettings/components/ChannelSettingsUI.js +22 -22
- package/ChannelSettings/components/ChannelSettingsUI.js.map +1 -1
- package/ChannelSettings/components/EditDetailsModal.js +14 -15
- package/ChannelSettings/components/EditDetailsModal.js.map +1 -1
- package/ChannelSettings/components/LeaveChannel.js +12 -11
- package/ChannelSettings/components/LeaveChannel.js.map +1 -1
- package/ChannelSettings/components/ModerationPanel.js +19 -19
- package/ChannelSettings/components/UserListItem.js +12 -12
- package/ChannelSettings/components/UserPanel.js +14 -14
- package/ChannelSettings/context.js +3 -3
- package/ChannelSettings/context.js.map +1 -1
- package/ChannelSettings.js +23 -23
- package/CreateChannel/components/CreateChannelUI.js +16 -16
- package/CreateChannel/components/CreateChannelUI.js.map +1 -1
- package/CreateChannel/components/InviteUsers.js +16 -16
- package/CreateChannel/components/SelectChannelType.js +11 -10
- package/CreateChannel/components/SelectChannelType.js.map +1 -1
- package/CreateChannel/context.js +4 -4
- package/CreateChannel.js +16 -16
- package/{CreateChannelProvider-1cf4ef27.js → CreateChannelProvider-0af2a424.js} +1 -1
- package/CreateChannelProvider-0af2a424.js.map +1 -0
- package/EditUserProfile/components/EditUserProfileUI.js +14 -14
- package/EditUserProfile/context.js.map +1 -1
- package/EditUserProfile.js +15 -15
- package/{LocalizationContext-61a4a931.js → LocalizationContext-2a073ef0.js} +3 -3
- package/LocalizationContext-2a073ef0.js.map +1 -0
- package/{MemberList-24ad6b63.js → MemberList-0acc36c3.js} +6 -6
- package/{MemberList-24ad6b63.js.map → MemberList-0acc36c3.js.map} +1 -1
- package/MessageSearch/components/MessageSearchUI.js +12 -12
- package/MessageSearch/components/MessageSearchUI.js.map +1 -1
- package/MessageSearch/context.js +10 -3
- package/MessageSearch/context.js.map +1 -1
- package/MessageSearch.js +12 -12
- package/OpenChannel/components/FrozenChannelNotification.js +5 -5
- package/OpenChannel/components/OpenChannelHeader.js +17 -17
- package/OpenChannel/components/OpenChannelInput.js +21 -21
- package/OpenChannel/components/OpenChannelMessage.js +29 -29
- package/OpenChannel/components/OpenChannelMessage.js.map +1 -1
- package/OpenChannel/components/OpenChannelMessageList.js +28 -28
- package/OpenChannel/components/OpenChannelUI.js +28 -28
- package/OpenChannel/context.js +14 -14
- package/OpenChannel.js +28 -28
- package/{OpenChannelProvider-9b3a6eb1.js → OpenChannelProvider-2e3fa2dd.js} +15 -14
- package/{OpenChannelProvider-9b3a6eb1.js.map → OpenChannelProvider-2e3fa2dd.js.map} +1 -1
- package/OpenChannelSettings/components/EditDetailsModal.js +18 -19
- package/OpenChannelSettings/components/EditDetailsModal.js.map +1 -1
- package/OpenChannelSettings/components/OpenChannelProfile.js +16 -17
- package/OpenChannelSettings/components/OpenChannelProfile.js.map +1 -1
- package/OpenChannelSettings/components/OpenChannelSettingsUI.js +21 -21
- package/OpenChannelSettings/components/OpenChannelSettingsUI.js.map +1 -1
- package/OpenChannelSettings/components/OperatorUI.js +20 -20
- package/OpenChannelSettings/components/OperatorUI.js.map +1 -1
- package/OpenChannelSettings/components/ParticipantUI.js +20 -20
- package/OpenChannelSettings/context.js +6 -6
- package/OpenChannelSettings/context.js.map +1 -1
- package/OpenChannelSettings.js +21 -21
- package/SendbirdProvider.js +15 -15
- package/{UserProfileContext-3524e64c.js → UserProfileContext-143a6a42.js} +1 -1
- package/{UserProfileContext-3524e64c.js.map → UserProfileContext-143a6a42.js.map} +1 -1
- package/{__bundle-6316ce22-b659cee1.js → __bundle-6316ce22-cd546820.js} +1 -1
- package/{__bundle-6316ce22-b659cee1.js.map → __bundle-6316ce22-cd546820.js.map} +1 -1
- package/{__bundle-7dfccc8c-37d3f8ab.js → __bundle-7dfccc8c-6c6e7ab4.js} +2 -2
- package/{__bundle-7dfccc8c-37d3f8ab.js.map → __bundle-7dfccc8c-6c6e7ab4.js.map} +1 -1
- package/{__bundle-fbda47dd-ef31252f.js → __bundle-fbda47dd-9dbeee1d.js} +2 -2
- package/{__bundle-fbda47dd-ef31252f.js.map → __bundle-fbda47dd-9dbeee1d.js.map} +1 -1
- package/{_rollupPluginBabelHelpers-30d122aa.js → _rollupPluginBabelHelpers-3043541a.js} +2 -105
- package/_rollupPluginBabelHelpers-3043541a.js.map +1 -0
- package/{actionTypes-d5d5ac7b.js → actionTypes-2873dec9.js} +1 -1
- package/{actionTypes-d5d5ac7b.js.map → actionTypes-2873dec9.js.map} +1 -1
- package/cjs/App.js +35 -35
- package/cjs/Channel/components/ChannelHeader.js +19 -19
- package/cjs/Channel/components/ChannelUI.js +26 -26
- package/cjs/Channel/components/ChannelUI.js.map +1 -1
- package/cjs/Channel/components/FileViewer.js +18 -18
- package/cjs/Channel/components/FrozenNotification.js +5 -5
- package/cjs/Channel/components/Message.js +23 -23
- package/cjs/Channel/components/MessageInput.js +20 -20
- package/cjs/Channel/components/MessageList.js +25 -25
- package/cjs/Channel/components/RemoveMessageModal.js +22 -23
- package/cjs/Channel/components/RemoveMessageModal.js.map +1 -1
- package/cjs/Channel/components/SuggestedMentionList.js +19 -19
- package/cjs/Channel/components/TypingIndicator.js +18 -18
- package/cjs/Channel/components/UnreadCount.js +5 -5
- package/cjs/Channel/context.js +17 -17
- package/cjs/Channel.js +26 -26
- package/cjs/ChannelList/components/AddChannel.js +14 -14
- package/cjs/ChannelList/components/ChannelListHeader.js +7 -7
- package/cjs/ChannelList/components/ChannelListHeader.js.map +1 -1
- package/cjs/ChannelList/components/ChannelListUI.js +30 -30
- package/cjs/ChannelList/components/ChannelListUI.js.map +1 -1
- package/cjs/ChannelList/components/ChannelPreview.js +23 -23
- package/cjs/ChannelList/components/ChannelPreview.js.map +1 -1
- package/cjs/ChannelList/components/ChannelPreviewAction.js +18 -18
- package/cjs/ChannelList/context.js +12 -12
- package/cjs/ChannelList.js +30 -30
- package/cjs/{ChannelListProvider-e7756677.js → ChannelListProvider-b60fe6ed.js} +9 -9
- package/cjs/ChannelListProvider-b60fe6ed.js.map +1 -0
- package/cjs/{ChannelProvider-c179835a.js → ChannelProvider-b21b3c2a.js} +31 -30
- package/cjs/ChannelProvider-b21b3c2a.js.map +1 -0
- package/cjs/ChannelSettings/components/ChannelProfile.js +13 -14
- package/cjs/ChannelSettings/components/ChannelProfile.js.map +1 -1
- package/cjs/ChannelSettings/components/ChannelSettingsUI.js +22 -22
- package/cjs/ChannelSettings/components/ChannelSettingsUI.js.map +1 -1
- package/cjs/ChannelSettings/components/EditDetailsModal.js +14 -15
- package/cjs/ChannelSettings/components/EditDetailsModal.js.map +1 -1
- package/cjs/ChannelSettings/components/LeaveChannel.js +12 -11
- package/cjs/ChannelSettings/components/LeaveChannel.js.map +1 -1
- package/cjs/ChannelSettings/components/ModerationPanel.js +19 -19
- package/cjs/ChannelSettings/components/UserListItem.js +12 -12
- package/cjs/ChannelSettings/components/UserPanel.js +14 -14
- package/cjs/ChannelSettings/context.js +3 -3
- package/cjs/ChannelSettings/context.js.map +1 -1
- package/cjs/ChannelSettings.js +23 -23
- package/cjs/CreateChannel/components/CreateChannelUI.js +16 -16
- package/cjs/CreateChannel/components/CreateChannelUI.js.map +1 -1
- package/cjs/CreateChannel/components/InviteUsers.js +16 -16
- package/cjs/CreateChannel/components/SelectChannelType.js +11 -10
- package/cjs/CreateChannel/components/SelectChannelType.js.map +1 -1
- package/cjs/CreateChannel/context.js +4 -4
- package/cjs/CreateChannel.js +16 -16
- package/cjs/{CreateChannelProvider-a7ca5511.js → CreateChannelProvider-71e1e6d6.js} +1 -1
- package/cjs/CreateChannelProvider-71e1e6d6.js.map +1 -0
- package/cjs/EditUserProfile/components/EditUserProfileUI.js +14 -14
- package/cjs/EditUserProfile/context.js.map +1 -1
- package/cjs/EditUserProfile.js +15 -15
- package/cjs/{LocalizationContext-f05328b8.js → LocalizationContext-da62a103.js} +3 -3
- package/cjs/LocalizationContext-da62a103.js.map +1 -0
- package/cjs/{MemberList-bfaafb40.js → MemberList-442ade8c.js} +6 -6
- package/cjs/{MemberList-bfaafb40.js.map → MemberList-442ade8c.js.map} +1 -1
- package/cjs/MessageSearch/components/MessageSearchUI.js +12 -12
- package/cjs/MessageSearch/components/MessageSearchUI.js.map +1 -1
- package/cjs/MessageSearch/context.js +10 -3
- package/cjs/MessageSearch/context.js.map +1 -1
- package/cjs/MessageSearch.js +12 -12
- package/cjs/OpenChannel/components/FrozenChannelNotification.js +5 -5
- package/cjs/OpenChannel/components/OpenChannelHeader.js +17 -17
- package/cjs/OpenChannel/components/OpenChannelInput.js +21 -21
- package/cjs/OpenChannel/components/OpenChannelMessage.js +29 -29
- package/cjs/OpenChannel/components/OpenChannelMessage.js.map +1 -1
- package/cjs/OpenChannel/components/OpenChannelMessageList.js +28 -28
- package/cjs/OpenChannel/components/OpenChannelUI.js +28 -28
- package/cjs/OpenChannel/context.js +14 -14
- package/cjs/OpenChannel.js +28 -28
- package/cjs/{OpenChannelProvider-12e0412f.js → OpenChannelProvider-bc8d7f0d.js} +15 -14
- package/cjs/{OpenChannelProvider-12e0412f.js.map → OpenChannelProvider-bc8d7f0d.js.map} +1 -1
- package/cjs/OpenChannelSettings/components/EditDetailsModal.js +18 -19
- package/cjs/OpenChannelSettings/components/EditDetailsModal.js.map +1 -1
- package/cjs/OpenChannelSettings/components/OpenChannelProfile.js +16 -17
- package/cjs/OpenChannelSettings/components/OpenChannelProfile.js.map +1 -1
- package/cjs/OpenChannelSettings/components/OpenChannelSettingsUI.js +21 -21
- package/cjs/OpenChannelSettings/components/OpenChannelSettingsUI.js.map +1 -1
- package/cjs/OpenChannelSettings/components/OperatorUI.js +20 -20
- package/cjs/OpenChannelSettings/components/OperatorUI.js.map +1 -1
- package/cjs/OpenChannelSettings/components/ParticipantUI.js +20 -20
- package/cjs/OpenChannelSettings/context.js +6 -6
- package/cjs/OpenChannelSettings/context.js.map +1 -1
- package/cjs/OpenChannelSettings.js +21 -21
- package/cjs/SendbirdProvider.js +15 -15
- package/cjs/{UserProfileContext-87ebb4a4.js → UserProfileContext-891590a7.js} +1 -1
- package/cjs/{UserProfileContext-87ebb4a4.js.map → UserProfileContext-891590a7.js.map} +1 -1
- package/cjs/{__bundle-6316ce22-c57c6fe0.js → __bundle-6316ce22-c06e03fc.js} +1 -1
- package/cjs/{__bundle-6316ce22-c57c6fe0.js.map → __bundle-6316ce22-c06e03fc.js.map} +1 -1
- package/cjs/{__bundle-7dfccc8c-205c0e66.js → __bundle-7dfccc8c-dcc1c854.js} +2 -2
- package/cjs/{__bundle-7dfccc8c-205c0e66.js.map → __bundle-7dfccc8c-dcc1c854.js.map} +1 -1
- package/cjs/{__bundle-fbda47dd-f6e08be2.js → __bundle-fbda47dd-1a2c2d97.js} +2 -2
- package/cjs/{__bundle-fbda47dd-f6e08be2.js.map → __bundle-fbda47dd-1a2c2d97.js.map} +1 -1
- package/cjs/{_rollupPluginBabelHelpers-92e5e012.js → _rollupPluginBabelHelpers-4265e501.js} +1 -110
- package/cjs/_rollupPluginBabelHelpers-4265e501.js.map +1 -0
- package/cjs/{actionTypes-331e63c2.js → actionTypes-7c5a0f8b.js} +1 -1
- package/cjs/{actionTypes-331e63c2.js.map → actionTypes-7c5a0f8b.js.map} +1 -1
- package/cjs/color-42e34a43.js +45 -0
- package/cjs/color-42e34a43.js.map +1 -0
- package/cjs/{compareIds-2df40a8f.js → compareIds-26079db4.js} +1 -1
- package/cjs/{compareIds-2df40a8f.js.map → compareIds-26079db4.js.map} +1 -1
- package/cjs/{const-77f608c8.js → const-8a9ec74c.js} +1 -1
- package/cjs/{const-77f608c8.js.map → const-8a9ec74c.js.map} +1 -1
- package/cjs/{const-e0dbad82.js → const-c1a4604d.js} +1 -1
- package/cjs/{const-e0dbad82.js.map → const-c1a4604d.js.map} +1 -1
- package/cjs/{context-5e7ba41f.js → context-82ac7edc.js} +2 -2
- package/cjs/{context-5e7ba41f.js.map → context-82ac7edc.js.map} +1 -1
- package/cjs/dist/index.css +50 -72
- package/cjs/dist/index.css.map +1 -1
- package/cjs/{groupChannel-ddd470ad.js → groupChannel-11ed3837.js} +4 -4
- package/cjs/{groupChannel-ddd470ad.js.map → groupChannel-11ed3837.js.map} +1 -1
- package/cjs/handlers/ConnectionHandler.js +3 -3
- package/cjs/handlers/GroupChannelHandler.js +4 -4
- package/cjs/handlers/OpenChannelHandler.js +3 -3
- package/cjs/handlers/UserEventHandler.js +3 -3
- package/cjs/index-05692021.js +90 -0
- package/cjs/index-05692021.js.map +1 -0
- package/cjs/{index-10b68ab4.js → index-06c3dca9.js} +2 -2
- package/cjs/{index-10b68ab4.js.map → index-06c3dca9.js.map} +1 -1
- package/cjs/{index-cce2b8c0.js → index-089e0fba.js} +3 -3
- package/cjs/{index-cce2b8c0.js.map → index-089e0fba.js.map} +1 -1
- package/cjs/{index-2dacade8.js → index-25336220.js} +1 -1
- package/cjs/{index-2dacade8.js.map → index-25336220.js.map} +1 -1
- package/cjs/{index-4bebe375.js → index-32562627.js} +1 -1
- package/cjs/{index-4bebe375.js.map → index-32562627.js.map} +1 -1
- package/cjs/{index-52631939.js → index-81e2234a.js} +11 -10
- package/cjs/{index-52631939.js.map → index-81e2234a.js.map} +1 -1
- package/cjs/{index-edd379fd.js → index-82646d4d.js} +7 -7
- package/cjs/index-82646d4d.js.map +1 -0
- package/cjs/{index-1c009ee9.js → index-b440f8c6.js} +15 -27
- package/cjs/{index-1c009ee9.js.map → index-b440f8c6.js.map} +1 -1
- package/cjs/{index-b1ed74bd.js → index-c79f62fd.js} +4 -4
- package/cjs/{index-b1ed74bd.js.map → index-c79f62fd.js.map} +1 -1
- package/cjs/{index-39372722.js → index-f5cb5c7f.js} +2 -2
- package/cjs/{index-39372722.js.map → index-f5cb5c7f.js.map} +1 -1
- package/cjs/{index-4911c708.js → index-fb127b1f.js} +2 -2
- package/cjs/{index-4911c708.js.map → index-fb127b1f.js.map} +1 -1
- package/cjs/index.js +39 -39
- package/cjs/{openChannel-865f6910.js → openChannel-76345cfa.js} +3 -3
- package/cjs/{openChannel-865f6910.js.map → openChannel-76345cfa.js.map} +1 -1
- package/cjs/{openChannelUtils-341c5ad7.js → openChannelUtils-56d57483.js} +1 -1
- package/cjs/{openChannelUtils-341c5ad7.js.map → openChannelUtils-56d57483.js.map} +1 -1
- package/cjs/{sendbird-313241e2.js → sendbird-dfd051c8.js} +3 -3
- package/cjs/{sendbird-313241e2.js.map → sendbird-dfd051c8.js.map} +1 -1
- package/cjs/sendbirdSelectors.js +2 -2
- package/cjs/{stringSet-afc1ff3b.js → stringSet-857a128c.js} +3 -2
- package/cjs/stringSet-857a128c.js.map +1 -0
- package/cjs/{topics-57ad0394.js → topics-a755c9c6.js} +1 -1
- package/cjs/{topics-57ad0394.js.map → topics-a755c9c6.js.map} +1 -1
- package/cjs/{tslib.es6-12c25052.js → tslib.es6-ba69891c.js} +1 -1
- package/cjs/{tslib.es6-12c25052.js.map → tslib.es6-ba69891c.js.map} +1 -1
- package/cjs/ui/Accordion.js +4 -4
- package/cjs/ui/AccordionGroup.js +2 -2
- package/cjs/ui/AdminMessage.js +14 -24
- package/cjs/ui/AdminMessage.js.map +1 -1
- package/cjs/ui/Avatar.js +3 -3
- package/cjs/ui/Avatar.js.map +1 -1
- package/cjs/ui/Badge.js +15 -25
- package/cjs/ui/Badge.js.map +1 -1
- package/cjs/ui/Button.js +5 -4
- package/cjs/ui/Button.js.map +1 -1
- package/cjs/ui/ChannelAvatar.js +4 -4
- package/cjs/ui/ChannelPreview.js +16 -12
- package/cjs/ui/ChannelPreview.js.map +1 -1
- package/cjs/ui/ChatHeader.js +42 -74
- package/cjs/ui/ChatHeader.js.map +1 -1
- package/cjs/ui/ConnectionStatus.js +6 -8
- package/cjs/ui/ConnectionStatus.js.map +1 -1
- package/cjs/ui/ContextMenu.js +186 -290
- package/cjs/ui/ContextMenu.js.map +1 -1
- package/cjs/ui/DateSeparator.js +18 -25
- package/cjs/ui/DateSeparator.js.map +1 -1
- package/cjs/ui/EmojiReactions.js +8 -7
- package/cjs/ui/EmojiReactions.js.map +1 -1
- package/cjs/ui/FileMessageItemBody.js +7 -7
- package/cjs/ui/FileMessageItemBody.js.map +1 -1
- package/cjs/ui/FileViewer.js +46 -83
- package/cjs/ui/FileViewer.js.map +1 -1
- package/cjs/ui/Icon.js +1 -1
- package/cjs/ui/IconButton.js +45 -68
- package/cjs/ui/IconButton.js.map +1 -1
- package/cjs/ui/ImageRenderer.js +43 -78
- package/cjs/ui/ImageRenderer.js.map +1 -1
- package/cjs/ui/Input.js +11 -30
- package/cjs/ui/Input.js.map +1 -1
- package/cjs/ui/Label.js +3 -3
- package/cjs/ui/LinkLabel.js +3 -3
- package/cjs/ui/Loader.js +15 -24
- package/cjs/ui/Loader.js.map +1 -1
- package/cjs/ui/MentionLabel.js +12 -12
- package/cjs/ui/MessageContent.js +15 -15
- package/cjs/ui/MessageInput.js +10 -10
- package/cjs/ui/MessageItemMenu.js +9 -8
- package/cjs/ui/MessageItemMenu.js.map +1 -1
- package/cjs/ui/MessageItemReactionMenu.js +7 -6
- package/cjs/ui/MessageItemReactionMenu.js.map +1 -1
- package/cjs/ui/MessageSearchFileItem.js +10 -10
- package/cjs/ui/MessageSearchItem.js +11 -11
- package/cjs/ui/MessageStatus.js +8 -8
- package/cjs/ui/Modal.js +36 -68
- package/cjs/ui/Modal.js.map +1 -1
- package/cjs/ui/MutedAvatarOverlay.js +1 -1
- package/cjs/ui/OGMessageItemBody.js +11 -11
- package/cjs/ui/OpenChannelAdminMessage.js +4 -4
- package/cjs/ui/OpenChannelAvatar.js +8 -8
- package/cjs/ui/OpenchannelConversationHeader.js +7 -7
- package/cjs/ui/OpenchannelFileMessage.js +15 -15
- package/cjs/ui/OpenchannelOGMessage.js +15 -15
- package/cjs/ui/OpenchannelThumbnailMessage.js +14 -14
- package/cjs/ui/OpenchannelUserMessage.js +15 -15
- package/cjs/ui/PlaceHolder.js +8 -7
- package/cjs/ui/PlaceHolder.js.map +1 -1
- package/cjs/ui/QuoteMessage.js +7 -7
- package/cjs/ui/QuoteMessageInput.js +7 -7
- package/cjs/ui/ReactionBadge.js +16 -26
- package/cjs/ui/ReactionBadge.js.map +1 -1
- package/cjs/ui/ReactionButton.js +4 -21
- package/cjs/ui/ReactionButton.js.map +1 -1
- package/cjs/ui/SortByRow.js +16 -26
- package/cjs/ui/SortByRow.js.map +1 -1
- package/cjs/ui/TextButton.js +22 -29
- package/cjs/ui/TextButton.js.map +1 -1
- package/cjs/ui/TextMessageItemBody.js +11 -11
- package/cjs/ui/ThumbnailMessageItemBody.js +3 -3
- package/cjs/ui/Tooltip.js +11 -17
- package/cjs/ui/Tooltip.js.map +1 -1
- package/cjs/ui/TooltipWrapper.js +10 -20
- package/cjs/ui/TooltipWrapper.js.map +1 -1
- package/cjs/ui/UnknownMessageItemBody.js +7 -7
- package/cjs/ui/UserListItem.js +12 -12
- package/cjs/ui/UserProfile.js +11 -11
- package/cjs/ui/Word.js +11 -11
- package/cjs/useSendbirdStateContext.js +1 -1
- package/cjs/{utils-6f828dbd.js → utils-bf57a41a.js} +1 -1
- package/cjs/{utils-6f828dbd.js.map → utils-bf57a41a.js.map} +1 -1
- package/cjs/{utils-71bd80e8.js → utils-bfbac88e.js} +1 -1
- package/cjs/{utils-71bd80e8.js.map → utils-bfbac88e.js.map} +1 -1
- package/cjs/{utils-1a8a0b72.js → utils-c39eb349.js} +1 -1
- package/cjs/{utils-1a8a0b72.js.map → utils-c39eb349.js.map} +1 -1
- package/cjs/{uuid-920ae00d.js → uuid-49679ac2.js} +1 -1
- package/cjs/{uuid-920ae00d.js.map → uuid-49679ac2.js.map} +1 -1
- package/cjs/withSendbird.js +1 -1
- package/{color-f6548425.js → color-798488ed.js} +16 -12
- package/color-798488ed.js.map +1 -0
- package/{compareIds-8402fa74.js → compareIds-2e073780.js} +1 -1
- package/{compareIds-8402fa74.js.map → compareIds-2e073780.js.map} +1 -1
- package/{const-c81e2d08.js → const-51fc1a68.js} +1 -1
- package/{const-c81e2d08.js.map → const-51fc1a68.js.map} +1 -1
- package/{const-9039e539.js → const-b88f8299.js} +1 -1
- package/{const-9039e539.js.map → const-b88f8299.js.map} +1 -1
- package/{context-3629064f.js → context-406bf9f1.js} +2 -2
- package/{context-3629064f.js.map → context-406bf9f1.js.map} +1 -1
- package/dist/index.css +50 -72
- package/dist/index.css.map +1 -1
- package/{groupChannel-fc842dca.js → groupChannel-17ffbb7f.js} +4 -4
- package/{groupChannel-fc842dca.js.map → groupChannel-17ffbb7f.js.map} +1 -1
- package/handlers/ConnectionHandler.js +4 -4
- package/handlers/GroupChannelHandler.js +5 -5
- package/handlers/OpenChannelHandler.js +4 -4
- package/handlers/UserEventHandler.js +4 -4
- package/{index-65007eeb.js → index-03ccaf35.js} +2 -2
- package/{index-65007eeb.js.map → index-03ccaf35.js.map} +1 -1
- package/{index-b1f9e3f9.js → index-4e56f382.js} +4 -4
- package/{index-b1f9e3f9.js.map → index-4e56f382.js.map} +1 -1
- package/{index-191d1d43.js → index-5ec69689.js} +1 -1
- package/{index-191d1d43.js.map → index-5ec69689.js.map} +1 -1
- package/index-6a47d16f.js +82 -0
- package/index-6a47d16f.js.map +1 -0
- package/{index-fc480728.js → index-702d2072.js} +11 -10
- package/{index-fc480728.js.map → index-702d2072.js.map} +1 -1
- package/{index-aa2d32cc.js → index-7f2be3d7.js} +2 -2
- package/{index-aa2d32cc.js.map → index-7f2be3d7.js.map} +1 -1
- package/{index-5428ab4f.js → index-b4944539.js} +2 -2
- package/{index-5428ab4f.js.map → index-b4944539.js.map} +1 -1
- package/{index-42b2527f.js → index-c9cda9f6.js} +1 -1
- package/{index-42b2527f.js.map → index-c9cda9f6.js.map} +1 -1
- package/{index-2034978f.js → index-ced613ea.js} +15 -26
- package/index-ced613ea.js.map +1 -0
- package/{index-07cd4778.js → index-ed39099a.js} +3 -3
- package/{index-07cd4778.js.map → index-ed39099a.js.map} +1 -1
- package/{index-17024830.js → index-fa8ac00a.js} +7 -7
- package/index-fa8ac00a.js.map +1 -0
- package/index.d.ts +116 -109
- package/index.js +39 -39
- package/{openChannel-2b51e3d3.js → openChannel-1548376e.js} +3 -3
- package/{openChannel-2b51e3d3.js.map → openChannel-1548376e.js.map} +1 -1
- package/{openChannelUtils-6a414996.js → openChannelUtils-09e4bac8.js} +1 -1
- package/{openChannelUtils-6a414996.js.map → openChannelUtils-09e4bac8.js.map} +1 -1
- package/package-lock.json +2 -2
- package/package.json +1 -1
- package/{sendbird-d625a809.js → sendbird-597583ed.js} +3 -3
- package/{sendbird-d625a809.js.map → sendbird-597583ed.js.map} +1 -1
- package/sendbirdSelectors.js +2 -2
- package/{stringSet-92f53c6e.js → stringSet-647493ce.js} +3 -2
- package/stringSet-647493ce.js.map +1 -0
- package/{topics-71b67878.js → topics-18836011.js} +1 -1
- package/{topics-71b67878.js.map → topics-18836011.js.map} +1 -1
- package/{tslib.es6-c793443a.js → tslib.es6-710c6267.js} +1 -1
- package/{tslib.es6-c793443a.js.map → tslib.es6-710c6267.js.map} +1 -1
- package/ui/Accordion.js +4 -4
- package/ui/AccordionGroup.js +2 -2
- package/ui/AdminMessage.js +14 -23
- package/ui/AdminMessage.js.map +1 -1
- package/ui/Avatar.js +3 -3
- package/ui/Avatar.js.map +1 -1
- package/ui/Badge.js +15 -24
- package/ui/Badge.js.map +1 -1
- package/ui/Button.js +5 -4
- package/ui/Button.js.map +1 -1
- package/ui/ChannelAvatar.js +4 -4
- package/ui/ChannelPreview.js +17 -13
- package/ui/ChannelPreview.js.map +1 -1
- package/ui/ChatHeader.js +43 -74
- package/ui/ChatHeader.js.map +1 -1
- package/ui/ConnectionStatus.js +6 -8
- package/ui/ConnectionStatus.js.map +1 -1
- package/ui/ContextMenu.js +188 -291
- package/ui/ContextMenu.js.map +1 -1
- package/ui/DateSeparator.js +18 -24
- package/ui/DateSeparator.js.map +1 -1
- package/ui/EmojiReactions.js +8 -7
- package/ui/EmojiReactions.js.map +1 -1
- package/ui/FileMessageItemBody.js +7 -7
- package/ui/FileMessageItemBody.js.map +1 -1
- package/ui/FileViewer.js +47 -83
- package/ui/FileViewer.js.map +1 -1
- package/ui/Icon.js +1 -1
- package/ui/IconButton.js +43 -65
- package/ui/IconButton.js.map +1 -1
- package/ui/ImageRenderer.js +43 -77
- package/ui/ImageRenderer.js.map +1 -1
- package/ui/Input.js +11 -29
- package/ui/Input.js.map +1 -1
- package/ui/Label.js +3 -3
- package/ui/LinkLabel.js +3 -3
- package/ui/Loader.js +15 -23
- package/ui/Loader.js.map +1 -1
- package/ui/MentionLabel.js +12 -12
- package/ui/MessageContent.js +15 -15
- package/ui/MessageInput.js +10 -10
- package/ui/MessageItemMenu.js +9 -8
- package/ui/MessageItemMenu.js.map +1 -1
- package/ui/MessageItemReactionMenu.js +7 -6
- package/ui/MessageItemReactionMenu.js.map +1 -1
- package/ui/MessageSearchFileItem.js +10 -10
- package/ui/MessageSearchItem.js +11 -11
- package/ui/MessageStatus.js +8 -8
- package/ui/Modal.js +36 -67
- package/ui/Modal.js.map +1 -1
- package/ui/MutedAvatarOverlay.js +1 -1
- package/ui/OGMessageItemBody.js +11 -11
- package/ui/OpenChannelAdminMessage.js +4 -4
- package/ui/OpenChannelAvatar.js +8 -8
- package/ui/OpenchannelConversationHeader.js +7 -7
- package/ui/OpenchannelFileMessage.js +15 -15
- package/ui/OpenchannelOGMessage.js +15 -15
- package/ui/OpenchannelThumbnailMessage.js +14 -14
- package/ui/OpenchannelUserMessage.js +15 -15
- package/ui/PlaceHolder.js +8 -7
- package/ui/PlaceHolder.js.map +1 -1
- package/ui/QuoteMessage.js +7 -7
- package/ui/QuoteMessageInput.js +7 -7
- package/ui/ReactionBadge.js +16 -25
- package/ui/ReactionBadge.js.map +1 -1
- package/ui/ReactionButton.js +4 -20
- package/ui/ReactionButton.js.map +1 -1
- package/ui/SortByRow.js +15 -24
- package/ui/SortByRow.js.map +1 -1
- package/ui/TextButton.js +22 -28
- package/ui/TextButton.js.map +1 -1
- package/ui/TextMessageItemBody.js +11 -11
- package/ui/ThumbnailMessageItemBody.js +3 -3
- package/ui/Tooltip.js +11 -16
- package/ui/Tooltip.js.map +1 -1
- package/ui/TooltipWrapper.js +10 -19
- package/ui/TooltipWrapper.js.map +1 -1
- package/ui/UnknownMessageItemBody.js +7 -7
- package/ui/UserListItem.js +12 -12
- package/ui/UserProfile.js +11 -11
- package/ui/Word.js +11 -11
- package/useSendbirdStateContext.js +1 -1
- package/{utils-972c4edb.js → utils-19e84a08.js} +1 -1
- package/{utils-972c4edb.js.map → utils-19e84a08.js.map} +1 -1
- package/{utils-b37c6db3.js → utils-2666bdfb.js} +1 -1
- package/{utils-b37c6db3.js.map → utils-2666bdfb.js.map} +1 -1
- package/{utils-b69f7583.js → utils-301322ba.js} +1 -1
- package/{utils-b69f7583.js.map → utils-301322ba.js.map} +1 -1
- package/{uuid-7c3f59a3.js → uuid-60ae25c1.js} +1 -1
- package/{uuid-7c3f59a3.js.map → uuid-60ae25c1.js.map} +1 -1
- package/withSendbird.js +1 -1
- package/ChannelListProvider-bdac2e90.js.map +0 -1
- package/ChannelProvider-0174d0f3.js.map +0 -1
- package/CreateChannelProvider-1cf4ef27.js.map +0 -1
- package/LocalizationContext-61a4a931.js.map +0 -1
- package/_rollupPluginBabelHelpers-30d122aa.js.map +0 -1
- package/cjs/ChannelListProvider-e7756677.js.map +0 -1
- package/cjs/ChannelProvider-c179835a.js.map +0 -1
- package/cjs/CreateChannelProvider-a7ca5511.js.map +0 -1
- package/cjs/LocalizationContext-f05328b8.js.map +0 -1
- package/cjs/_rollupPluginBabelHelpers-92e5e012.js.map +0 -1
- package/cjs/color-2f811855.js +0 -42
- package/cjs/color-2f811855.js.map +0 -1
- package/cjs/index-188e8e7f.js +0 -97
- package/cjs/index-188e8e7f.js.map +0 -1
- package/cjs/index-edd379fd.js.map +0 -1
- package/cjs/stringSet-afc1ff3b.js.map +0 -1
- package/cjs/ui/Dropdown.js +0 -107
- package/cjs/ui/Dropdown.js.map +0 -1
- package/color-f6548425.js.map +0 -1
- package/index-17024830.js.map +0 -1
- package/index-2034978f.js.map +0 -1
- package/index-d3358aa9.js +0 -87
- package/index-d3358aa9.js.map +0 -1
- package/stringSet-92f53c6e.js.map +0 -1
- package/ui/Dropdown.js +0 -97
- package/ui/Dropdown.js.map +0 -1
package/App.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as _slicedToArray } from './_rollupPluginBabelHelpers-
|
|
1
|
+
import { a as _slicedToArray } from './_rollupPluginBabelHelpers-3043541a.js';
|
|
2
2
|
import React__default, { useState } from 'react';
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
4
|
import Sendbird from './SendbirdProvider.js';
|
|
@@ -7,28 +7,28 @@ import Channel from './Channel.js';
|
|
|
7
7
|
import ChannelSettings from './ChannelSettings.js';
|
|
8
8
|
import MessageSearchPannel from './MessageSearch.js';
|
|
9
9
|
import './withSendbird.js';
|
|
10
|
-
import './sendbird-
|
|
11
|
-
import './__bundle-6316ce22-
|
|
12
|
-
import './__bundle-fbda47dd-
|
|
13
|
-
import './openChannel-
|
|
14
|
-
import './__bundle-7dfccc8c-
|
|
15
|
-
import './groupChannel-
|
|
16
|
-
import './actionTypes-
|
|
17
|
-
import './index-
|
|
18
|
-
import './tslib.es6-
|
|
10
|
+
import './sendbird-597583ed.js';
|
|
11
|
+
import './__bundle-6316ce22-cd546820.js';
|
|
12
|
+
import './__bundle-fbda47dd-9dbeee1d.js';
|
|
13
|
+
import './openChannel-1548376e.js';
|
|
14
|
+
import './__bundle-7dfccc8c-6c6e7ab4.js';
|
|
15
|
+
import './groupChannel-17ffbb7f.js';
|
|
16
|
+
import './actionTypes-2873dec9.js';
|
|
17
|
+
import './index-03ccaf35.js';
|
|
18
|
+
import './tslib.es6-710c6267.js';
|
|
19
19
|
import 'css-vars-ponyfill';
|
|
20
|
-
import './uuid-
|
|
21
|
-
import './LocalizationContext-
|
|
22
|
-
import './stringSet-
|
|
23
|
-
import './index-
|
|
24
|
-
import './ChannelListProvider-
|
|
25
|
-
import './topics-
|
|
26
|
-
import './utils-
|
|
27
|
-
import './UserProfileContext-
|
|
20
|
+
import './uuid-60ae25c1.js';
|
|
21
|
+
import './LocalizationContext-2a073ef0.js';
|
|
22
|
+
import './stringSet-647493ce.js';
|
|
23
|
+
import './index-5ec69689.js';
|
|
24
|
+
import './ChannelListProvider-9c82d370.js';
|
|
25
|
+
import './topics-18836011.js';
|
|
26
|
+
import './utils-301322ba.js';
|
|
27
|
+
import './UserProfileContext-143a6a42.js';
|
|
28
28
|
import './useSendbirdStateContext.js';
|
|
29
29
|
import './ChannelList/components/ChannelListUI.js';
|
|
30
30
|
import './ChannelList/components/ChannelListHeader.js';
|
|
31
|
-
import './index-
|
|
31
|
+
import './index-ed39099a.js';
|
|
32
32
|
import './ui/IconButton.js';
|
|
33
33
|
import './ui/Avatar.js';
|
|
34
34
|
import './ui/ImageRenderer.js';
|
|
@@ -36,13 +36,13 @@ import './ui/Icon.js';
|
|
|
36
36
|
import './ChannelList/components/AddChannel.js';
|
|
37
37
|
import './CreateChannel.js';
|
|
38
38
|
import './CreateChannel/components/CreateChannelUI.js';
|
|
39
|
-
import './CreateChannelProvider-
|
|
39
|
+
import './CreateChannelProvider-0af2a424.js';
|
|
40
40
|
import './sendbirdSelectors.js';
|
|
41
41
|
import './CreateChannel/components/InviteUsers.js';
|
|
42
42
|
import './ui/Modal.js';
|
|
43
43
|
import 'react-dom';
|
|
44
|
-
import './index-
|
|
45
|
-
import './index-
|
|
44
|
+
import './index-c9cda9f6.js';
|
|
45
|
+
import './index-6a47d16f.js';
|
|
46
46
|
import './ui/UserListItem.js';
|
|
47
47
|
import './ui/MutedAvatarOverlay.js';
|
|
48
48
|
import './ui/Checkbox.js';
|
|
@@ -52,33 +52,33 @@ import './ui/SortByRow.js';
|
|
|
52
52
|
import './CreateChannel/components/SelectChannelType.js';
|
|
53
53
|
import './ChannelList/components/ChannelPreview.js';
|
|
54
54
|
import './ui/ChannelAvatar.js';
|
|
55
|
-
import './utils-
|
|
55
|
+
import './utils-2666bdfb.js';
|
|
56
56
|
import './ui/Badge.js';
|
|
57
|
-
import './index-
|
|
58
|
-
import './index-
|
|
59
|
-
import './index-
|
|
57
|
+
import './index-4e56f382.js';
|
|
58
|
+
import './index-b4944539.js';
|
|
59
|
+
import './index-7f2be3d7.js';
|
|
60
60
|
import './ui/MentionUserLabel.js';
|
|
61
61
|
import './Channel/components/TypingIndicator.js';
|
|
62
|
-
import './ChannelProvider-
|
|
63
|
-
import './compareIds-
|
|
64
|
-
import './const-
|
|
62
|
+
import './ChannelProvider-d891cf5f.js';
|
|
63
|
+
import './compareIds-2e073780.js';
|
|
64
|
+
import './const-b88f8299.js';
|
|
65
65
|
import './ui/ReactionButton.js';
|
|
66
66
|
import './ui/MessageStatus.js';
|
|
67
67
|
import './ui/Loader.js';
|
|
68
68
|
import './ChannelList/components/ChannelPreviewAction.js';
|
|
69
69
|
import './EditUserProfile.js';
|
|
70
|
-
import './index-
|
|
70
|
+
import './index-fa8ac00a.js';
|
|
71
71
|
import './ui/Input.js';
|
|
72
72
|
import './ui/TextButton.js';
|
|
73
|
-
import './color-
|
|
74
|
-
import './index-
|
|
73
|
+
import './color-798488ed.js';
|
|
74
|
+
import './index-ced613ea.js';
|
|
75
75
|
import './Channel/components/ChannelUI.js';
|
|
76
76
|
import './ui/ConnectionStatus.js';
|
|
77
77
|
import './Channel/components/ChannelHeader.js';
|
|
78
78
|
import './Channel/components/MessageList.js';
|
|
79
79
|
import './Channel/components/Message.js';
|
|
80
80
|
import './Channel/components/SuggestedMentionList.js';
|
|
81
|
-
import './const-
|
|
81
|
+
import './const-51fc1a68.js';
|
|
82
82
|
import './ui/DateSeparator.js';
|
|
83
83
|
import './ui/MessageInput.js';
|
|
84
84
|
import './ui/MessageContent.js';
|
|
@@ -111,9 +111,9 @@ import './ChannelSettings/components/EditDetailsModal.js';
|
|
|
111
111
|
import './ChannelSettings/components/ModerationPanel.js';
|
|
112
112
|
import './ui/Accordion.js';
|
|
113
113
|
import './ui/AccordionGroup.js';
|
|
114
|
-
import './context-
|
|
114
|
+
import './context-406bf9f1.js';
|
|
115
115
|
import './ChannelSettings/components/UserListItem.js';
|
|
116
|
-
import './MemberList-
|
|
116
|
+
import './MemberList-0acc36c3.js';
|
|
117
117
|
import './ChannelSettings/components/LeaveChannel.js';
|
|
118
118
|
import './ChannelSettings/components/UserPanel.js';
|
|
119
119
|
import './MessageSearch/components/MessageSearchUI.js';
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,34 @@
|
|
|
1
1
|
# Changelog - v3
|
|
2
2
|
|
|
3
|
+
## [v3.1.2] (Aug 31 2022)
|
|
4
|
+
|
|
5
|
+
* Migrate UI components into TypeScript
|
|
6
|
+
This doesnt affect anyone, it a step in task to migrate the project source code into TS
|
|
7
|
+
|
|
8
|
+
Fixes:
|
|
9
|
+
* Type defn: Change type of react elements to `React.ReactElement`
|
|
10
|
+
* Change every `React.ReactNode` and `React.Component` to `React.ReactElement`
|
|
11
|
+
* Use the type of SendbirdError
|
|
12
|
+
* Use the type MessageSearchQueryParams
|
|
13
|
+
* Use enum MessageSearchOrder.TIMESTAMP in the message search query params instead of `'ts' as const`
|
|
14
|
+
|
|
15
|
+
**ReactNode** could be `string | number | null | undefined | ReactElement | portal` and this(expecting string or number) causes **warning** when we use it like `<CustomComp />`
|
|
16
|
+
```typescript
|
|
17
|
+
// in the component
|
|
18
|
+
{ renderMessage } = props
|
|
19
|
+
const CustomMessage = useMemo(() => {
|
|
20
|
+
return renderMessage({ ... });
|
|
21
|
+
}, []);
|
|
22
|
+
return (
|
|
23
|
+
<div>
|
|
24
|
+
<CustomMessage />
|
|
25
|
+
</div>
|
|
26
|
+
);
|
|
27
|
+
```
|
|
28
|
+
so expecting **ReactElement** is better for our case
|
|
29
|
+
* Fix message grouping:
|
|
30
|
+
Set isMessageGroupingEnabed to true(was set to false during v2 migration)
|
|
31
|
+
|
|
3
32
|
## [v3.1.1] (Aug 17 2022)
|
|
4
33
|
|
|
5
34
|
Features:
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import React__default, { useContext } from 'react';
|
|
2
|
-
import { c as LabelStringSet, L as Label, a as LabelTypography, b as LabelColors } from '../../index-
|
|
2
|
+
import { c as LabelStringSet, L as Label, a as LabelTypography, b as LabelColors } from '../../index-ed39099a.js';
|
|
3
3
|
import Icon, { IconTypes, IconColors } from '../../ui/Icon.js';
|
|
4
4
|
import IconButton from '../../ui/IconButton.js';
|
|
5
5
|
import ChannelAvatar from '../../ui/ChannelAvatar.js';
|
|
6
|
-
import { a as LocalizationContext } from '../../LocalizationContext-
|
|
6
|
+
import { a as LocalizationContext } from '../../LocalizationContext-2a073ef0.js';
|
|
7
7
|
import useSendbirdStateContext from '../../useSendbirdStateContext.js';
|
|
8
|
-
import { u as useChannelContext } from '../../ChannelProvider-
|
|
9
|
-
import '../../_rollupPluginBabelHelpers-
|
|
8
|
+
import { u as useChannelContext } from '../../ChannelProvider-d891cf5f.js';
|
|
9
|
+
import '../../_rollupPluginBabelHelpers-3043541a.js';
|
|
10
10
|
import 'prop-types';
|
|
11
|
-
import '../../stringSet-
|
|
11
|
+
import '../../stringSet-647493ce.js';
|
|
12
|
+
import '../../tslib.es6-710c6267.js';
|
|
12
13
|
import '../../ui/Avatar.js';
|
|
13
|
-
import '../../tslib.es6-c793443a.js';
|
|
14
14
|
import '../../ui/ImageRenderer.js';
|
|
15
|
-
import '../../uuid-
|
|
16
|
-
import '../../utils-
|
|
17
|
-
import '../../index-
|
|
15
|
+
import '../../uuid-60ae25c1.js';
|
|
16
|
+
import '../../utils-2666bdfb.js';
|
|
17
|
+
import '../../index-5ec69689.js';
|
|
18
18
|
import '../../withSendbird.js';
|
|
19
|
-
import '../../UserProfileContext-
|
|
20
|
-
import '../../index-
|
|
21
|
-
import '../../topics-
|
|
22
|
-
import '../../index-
|
|
23
|
-
import '../../compareIds-
|
|
24
|
-
import '../../const-
|
|
25
|
-
import '../../groupChannel-
|
|
26
|
-
import '../../__bundle-6316ce22-
|
|
27
|
-
import '../../__bundle-fbda47dd-
|
|
28
|
-
import '../../__bundle-7dfccc8c-
|
|
19
|
+
import '../../UserProfileContext-143a6a42.js';
|
|
20
|
+
import '../../index-7f2be3d7.js';
|
|
21
|
+
import '../../topics-18836011.js';
|
|
22
|
+
import '../../index-03ccaf35.js';
|
|
23
|
+
import '../../compareIds-2e073780.js';
|
|
24
|
+
import '../../const-b88f8299.js';
|
|
25
|
+
import '../../groupChannel-17ffbb7f.js';
|
|
26
|
+
import '../../__bundle-6316ce22-cd546820.js';
|
|
27
|
+
import '../../__bundle-fbda47dd-9dbeee1d.js';
|
|
28
|
+
import '../../__bundle-7dfccc8c-6c6e7ab4.js';
|
|
29
29
|
import '../../ui/ContextMenu.js';
|
|
30
30
|
import 'react-dom';
|
|
31
31
|
import '../../ui/SortByRow.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React__default, { useState, useEffect } from 'react';
|
|
2
2
|
import useSendbirdStateContext from '../../useSendbirdStateContext.js';
|
|
3
|
-
import { u as useChannelContext, M as MARK_AS_READ } from '../../ChannelProvider-
|
|
4
|
-
import { P as PlaceHolder, a as PlaceHolderTypes } from '../../index-
|
|
3
|
+
import { u as useChannelContext, M as MARK_AS_READ } from '../../ChannelProvider-d891cf5f.js';
|
|
4
|
+
import { P as PlaceHolder, a as PlaceHolderTypes } from '../../index-ced613ea.js';
|
|
5
5
|
import ConnectionStatus from '../../ui/ConnectionStatus.js';
|
|
6
6
|
import ChatHeader from './ChannelHeader.js';
|
|
7
7
|
import MessageList from './MessageList.js';
|
|
@@ -10,48 +10,48 @@ import FrozenNotification from './FrozenNotification.js';
|
|
|
10
10
|
import UnreadCount from './UnreadCount.js';
|
|
11
11
|
import MessageInputWrapper from './MessageInput.js';
|
|
12
12
|
import '../../withSendbird.js';
|
|
13
|
-
import '../../_rollupPluginBabelHelpers-
|
|
14
|
-
import '../../UserProfileContext-
|
|
13
|
+
import '../../_rollupPluginBabelHelpers-3043541a.js';
|
|
14
|
+
import '../../UserProfileContext-143a6a42.js';
|
|
15
15
|
import 'prop-types';
|
|
16
|
-
import '../../index-
|
|
17
|
-
import '../../index-
|
|
18
|
-
import '../../topics-
|
|
19
|
-
import '../../index-
|
|
20
|
-
import '../../tslib.es6-
|
|
21
|
-
import '../../compareIds-
|
|
22
|
-
import '../../const-
|
|
23
|
-
import '../../groupChannel-
|
|
24
|
-
import '../../__bundle-6316ce22-
|
|
25
|
-
import '../../__bundle-fbda47dd-
|
|
26
|
-
import '../../__bundle-7dfccc8c-
|
|
27
|
-
import '../../uuid-
|
|
16
|
+
import '../../index-7f2be3d7.js';
|
|
17
|
+
import '../../index-5ec69689.js';
|
|
18
|
+
import '../../topics-18836011.js';
|
|
19
|
+
import '../../index-03ccaf35.js';
|
|
20
|
+
import '../../tslib.es6-710c6267.js';
|
|
21
|
+
import '../../compareIds-2e073780.js';
|
|
22
|
+
import '../../const-b88f8299.js';
|
|
23
|
+
import '../../groupChannel-17ffbb7f.js';
|
|
24
|
+
import '../../__bundle-6316ce22-cd546820.js';
|
|
25
|
+
import '../../__bundle-fbda47dd-9dbeee1d.js';
|
|
26
|
+
import '../../__bundle-7dfccc8c-6c6e7ab4.js';
|
|
27
|
+
import '../../uuid-60ae25c1.js';
|
|
28
28
|
import '../../ui/ContextMenu.js';
|
|
29
|
-
import '../../index-07cd4778.js';
|
|
30
|
-
import '../../stringSet-92f53c6e.js';
|
|
31
29
|
import 'react-dom';
|
|
32
30
|
import '../../ui/SortByRow.js';
|
|
31
|
+
import '../../index-ed39099a.js';
|
|
32
|
+
import '../../stringSet-647493ce.js';
|
|
33
33
|
import '../../ui/ReactionButton.js';
|
|
34
34
|
import '../../ui/ImageRenderer.js';
|
|
35
35
|
import '../../ui/Icon.js';
|
|
36
|
+
import '../../LocalizationContext-2a073ef0.js';
|
|
36
37
|
import '../../ui/Loader.js';
|
|
37
|
-
import '../../LocalizationContext-61a4a931.js';
|
|
38
38
|
import '../../ui/IconButton.js';
|
|
39
39
|
import '../../ui/ChannelAvatar.js';
|
|
40
40
|
import '../../ui/Avatar.js';
|
|
41
|
-
import '../../utils-
|
|
42
|
-
import '../../index-
|
|
41
|
+
import '../../utils-2666bdfb.js';
|
|
42
|
+
import '../../index-b4944539.js';
|
|
43
43
|
import './Message.js';
|
|
44
44
|
import './SuggestedMentionList.js';
|
|
45
|
-
import '../../const-
|
|
45
|
+
import '../../const-51fc1a68.js';
|
|
46
46
|
import '../../ui/DateSeparator.js';
|
|
47
|
-
import '../../color-
|
|
47
|
+
import '../../color-798488ed.js';
|
|
48
48
|
import '../../ui/MessageInput.js';
|
|
49
|
-
import '../../index-
|
|
49
|
+
import '../../index-6a47d16f.js';
|
|
50
50
|
import '../../ui/MentionUserLabel.js';
|
|
51
51
|
import '../../ui/MessageContent.js';
|
|
52
52
|
import '../../ui/UserProfile.js';
|
|
53
53
|
import '../../sendbirdSelectors.js';
|
|
54
|
-
import '../../utils-
|
|
54
|
+
import '../../utils-301322ba.js';
|
|
55
55
|
import '../../ui/MessageStatus.js';
|
|
56
56
|
import '../../ui/MessageItemMenu.js';
|
|
57
57
|
import '../../ui/MessageItemReactionMenu.js';
|
|
@@ -71,7 +71,7 @@ import '../../ui/OGMessageItemBody.js';
|
|
|
71
71
|
import '../../ui/UnknownMessageItemBody.js';
|
|
72
72
|
import '../../ui/QuoteMessage.js';
|
|
73
73
|
import './FileViewer.js';
|
|
74
|
-
import '../../index-
|
|
74
|
+
import '../../index-c9cda9f6.js';
|
|
75
75
|
import './RemoveMessageModal.js';
|
|
76
76
|
import '../../ui/Modal.js';
|
|
77
77
|
import '../../ui/QuoteMessageInput.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChannelUI.js","sources":["../../../src/smart-components/Channel/components/ChannelUI/index.tsx"],"sourcesContent":["import './channel-ui.scss';\n\nimport React, { useEffect, useState } from 'react';\nimport useSendbirdStateContext from '../../../../hooks/useSendbirdStateContext';\n\nimport { useChannelContext } from '../../context/ChannelProvider';\nimport PlaceHolder, { PlaceHolderTypes } from '../../../../ui/PlaceHolder';\nimport ConnectionStatus from '../../../../ui/ConnectionStatus';\nimport ChannelHeader from '../ChannelHeader';\nimport MessageList from '../MessageList';\nimport TypingIndicator from '../TypingIndicator';\nimport FrozenNotification from '../FrozenNotification';\nimport UnreadCount from '../UnreadCount';\nimport MessageInputWrapper from '../MessageInput';\nimport { RenderMessageProps } from '../../../../types';\nimport * as messageActionTypes from '../../context/dux/actionTypes';\n\nexport interface ChannelUIProps {\n renderPlaceholderLoader?: () => React.
|
|
1
|
+
{"version":3,"file":"ChannelUI.js","sources":["../../../src/smart-components/Channel/components/ChannelUI/index.tsx"],"sourcesContent":["import './channel-ui.scss';\n\nimport React, { useEffect, useState } from 'react';\nimport useSendbirdStateContext from '../../../../hooks/useSendbirdStateContext';\n\nimport { useChannelContext } from '../../context/ChannelProvider';\nimport PlaceHolder, { PlaceHolderTypes } from '../../../../ui/PlaceHolder';\nimport ConnectionStatus from '../../../../ui/ConnectionStatus';\nimport ChannelHeader from '../ChannelHeader';\nimport MessageList from '../MessageList';\nimport TypingIndicator from '../TypingIndicator';\nimport FrozenNotification from '../FrozenNotification';\nimport UnreadCount from '../UnreadCount';\nimport MessageInputWrapper from '../MessageInput';\nimport { RenderMessageProps } from '../../../../types';\nimport * as messageActionTypes from '../../context/dux/actionTypes';\n\nexport interface ChannelUIProps {\n renderPlaceholderLoader?: () => React.ReactElement;\n renderPlaceholderInvalid?: () => React.ReactElement;\n renderPlaceholderEmpty?: () => React.ReactElement;\n renderChannelHeader?: () => React.ReactElement;\n renderMessage?: (props: RenderMessageProps) => React.ReactElement;\n renderMessageInput?: () => React.ReactElement;\n renderTypingIndicator?: () => React.ReactElement;\n renderCustomSeparator?: () => React.ReactElement;\n}\n\nconst ChannelUI: React.FC<ChannelUIProps> = ({\n renderPlaceholderLoader,\n renderPlaceholderInvalid,\n renderPlaceholderEmpty,\n renderChannelHeader,\n renderMessage,\n renderMessageInput,\n renderTypingIndicator,\n renderCustomSeparator,\n}: ChannelUIProps) => {\n const {\n currentGroupChannel,\n channelUrl,\n isInvalid,\n unreadSince,\n loading,\n setInitialTimeStamp,\n setAnimatedMessageId,\n setHighLightedMessageId,\n scrollRef,\n messagesDispatcher,\n } = useChannelContext();\n const [unreadCount, setUnreadCount] = useState(0);\n useEffect(() => {\n setUnreadCount(currentGroupChannel?.unreadMessageCount);\n }, [currentGroupChannel?.unreadMessageCount]);\n\n const globalStore = useSendbirdStateContext();\n const sdkError = globalStore?.stores?.sdkStore?.error;\n const logger = globalStore?.config?.logger;\n const isOnline = globalStore?.config?.isOnline;\n\n if (!channelUrl) {\n return (<div className=\"sendbird-conversation\">\n {\n renderPlaceholderInvalid?.() || (\n <PlaceHolder type={PlaceHolderTypes.NO_CHANNELS} />\n )\n }\n </div>);\n }\n if (isInvalid) {\n return (\n <div className=\"sendbird-conversation\">\n {\n renderPlaceholderInvalid?.() || (\n <PlaceHolder type={PlaceHolderTypes.WRONG} />\n )\n }\n </div>\n );\n }\n if (sdkError) {\n return (\n <div className=\"sendbird-conversation\">\n {\n renderPlaceholderInvalid?.() || (\n <PlaceHolder\n type={PlaceHolderTypes.WRONG}\n retryToConnect={() => {\n logger.info('Channel: reconnecting');\n // reconnect();\n }}\n />\n )\n }\n </div>\n );\n }\n return (\n <div className='sendbird-conversation'>\n {\n renderChannelHeader?.() || (\n <ChannelHeader />\n )\n }\n {\n currentGroupChannel?.isFrozen && (\n <FrozenNotification />\n )\n }\n {\n unreadCount > 0 && (\n <UnreadCount\n count={unreadCount}\n time={unreadSince}\n onClick={() => {\n setUnreadCount(0);\n if (scrollRef?.current?.scrollTop) {\n scrollRef.current.scrollTop = scrollRef?.current?.scrollHeight - scrollRef?.current?.offsetHeight;\n }\n try {\n currentGroupChannel?.markAsRead();\n } catch {\n //\n }\n messagesDispatcher({\n type: messageActionTypes.MARK_AS_READ,\n payload: { channel: currentGroupChannel },\n });\n setInitialTimeStamp(null);\n setAnimatedMessageId(null);\n setHighLightedMessageId(null);\n }}\n />\n )\n }\n {\n loading\n ? (\n <div className=\"sendbird-conversation\">\n {\n renderPlaceholderLoader?.() || (\n <PlaceHolder type={PlaceHolderTypes.LOADING} />\n )\n }\n </div>\n ) : (\n <MessageList\n renderMessage={renderMessage}\n renderPlaceholderEmpty={renderPlaceholderEmpty}\n renderCustomSeparator={renderCustomSeparator}\n />\n )\n }\n <div className=\"sendbird-conversation__footer\">\n {\n renderMessageInput?.() || (\n <MessageInputWrapper />\n )\n }\n <div className=\"sendbird-conversation__footer__typing-indicator\">\n {\n renderTypingIndicator?.() || (\n <TypingIndicator />\n )\n }\n {\n !isOnline && (\n <ConnectionStatus />\n )\n }\n </div>\n </div>\n </div>\n );\n}\n\nexport default ChannelUI;\n"],"names":["ChannelUI","_a","renderPlaceholderLoader","renderPlaceholderInvalid","renderPlaceholderEmpty","renderChannelHeader","renderMessage","renderMessageInput","renderTypingIndicator","renderCustomSeparator","_f","useChannelContext","currentGroupChannel","channelUrl","isInvalid","unreadSince","loading","setInitialTimeStamp","setAnimatedMessageId","setHighLightedMessageId","scrollRef","messagesDispatcher","_g","useState","unreadCount","setUnreadCount","useEffect","unreadMessageCount","globalStore","useSendbirdStateContext","sdkError","stores","sdkStore","error","logger","config","isOnline","React","PlaceHolderTypes","NO_CHANNELS","WRONG","info","ChannelHeader","isFrozen","current","scrollTop","scrollHeight","offsetHeight","markAsRead","type","messageActionTypes","payload","channel","LOADING"],"mappings":"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"}
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
2
|
import { createPortal } from 'react-dom';
|
|
3
3
|
import Avatar from '../../ui/Avatar.js';
|
|
4
|
-
import { L as Label, a as LabelTypography, b as LabelColors } from '../../index-
|
|
4
|
+
import { L as Label, a as LabelTypography, b as LabelColors } from '../../index-ed39099a.js';
|
|
5
5
|
import Icon, { IconTypes, IconColors } from '../../ui/Icon.js';
|
|
6
|
-
import { M as MODAL_ROOT } from '../../index-
|
|
7
|
-
import { A as isSupportedFileView, B as isVideo, C as isImage } from '../../index-
|
|
6
|
+
import { M as MODAL_ROOT } from '../../index-c9cda9f6.js';
|
|
7
|
+
import { A as isSupportedFileView, B as isVideo, C as isImage } from '../../index-03ccaf35.js';
|
|
8
8
|
import useSendbirdStateContext from '../../useSendbirdStateContext.js';
|
|
9
|
-
import { u as useChannelContext } from '../../ChannelProvider-
|
|
10
|
-
import '../../tslib.es6-
|
|
9
|
+
import { u as useChannelContext } from '../../ChannelProvider-d891cf5f.js';
|
|
10
|
+
import '../../tslib.es6-710c6267.js';
|
|
11
11
|
import '../../ui/ImageRenderer.js';
|
|
12
|
-
import '../../
|
|
12
|
+
import '../../uuid-60ae25c1.js';
|
|
13
|
+
import '../../_rollupPluginBabelHelpers-3043541a.js';
|
|
13
14
|
import 'prop-types';
|
|
14
|
-
import '../../
|
|
15
|
-
import '../../stringSet-92f53c6e.js';
|
|
15
|
+
import '../../stringSet-647493ce.js';
|
|
16
16
|
import '../../withSendbird.js';
|
|
17
|
-
import '../../UserProfileContext-
|
|
18
|
-
import '../../index-
|
|
19
|
-
import '../../index-
|
|
20
|
-
import '../../topics-
|
|
21
|
-
import '../../compareIds-
|
|
22
|
-
import '../../const-
|
|
23
|
-
import '../../groupChannel-
|
|
24
|
-
import '../../__bundle-6316ce22-
|
|
25
|
-
import '../../__bundle-fbda47dd-
|
|
26
|
-
import '../../__bundle-7dfccc8c-
|
|
17
|
+
import '../../UserProfileContext-143a6a42.js';
|
|
18
|
+
import '../../index-7f2be3d7.js';
|
|
19
|
+
import '../../index-5ec69689.js';
|
|
20
|
+
import '../../topics-18836011.js';
|
|
21
|
+
import '../../compareIds-2e073780.js';
|
|
22
|
+
import '../../const-b88f8299.js';
|
|
23
|
+
import '../../groupChannel-17ffbb7f.js';
|
|
24
|
+
import '../../__bundle-6316ce22-cd546820.js';
|
|
25
|
+
import '../../__bundle-fbda47dd-9dbeee1d.js';
|
|
26
|
+
import '../../__bundle-7dfccc8c-6c6e7ab4.js';
|
|
27
27
|
import '../../ui/ContextMenu.js';
|
|
28
28
|
import '../../ui/SortByRow.js';
|
|
29
29
|
import '../../ui/ReactionButton.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React__default, { useContext } from 'react';
|
|
2
|
-
import { a as LocalizationContext } from '../../LocalizationContext-
|
|
3
|
-
import { L as Label, a as LabelTypography } from '../../index-
|
|
4
|
-
import '../../stringSet-
|
|
5
|
-
import '../../index-
|
|
6
|
-
import '../../_rollupPluginBabelHelpers-
|
|
2
|
+
import { a as LocalizationContext } from '../../LocalizationContext-2a073ef0.js';
|
|
3
|
+
import { L as Label, a as LabelTypography } from '../../index-ed39099a.js';
|
|
4
|
+
import '../../stringSet-647493ce.js';
|
|
5
|
+
import '../../index-5ec69689.js';
|
|
6
|
+
import '../../_rollupPluginBabelHelpers-3043541a.js';
|
|
7
7
|
import 'prop-types';
|
|
8
8
|
|
|
9
9
|
var FrozenNotification = function FrozenNotification() {
|
|
@@ -1,46 +1,46 @@
|
|
|
1
|
-
import { a as __spreadArray } from '../../tslib.es6-
|
|
1
|
+
import { a as __spreadArray } from '../../tslib.es6-710c6267.js';
|
|
2
2
|
import React__default, { useState, useRef, useEffect, useLayoutEffect, useMemo } from 'react';
|
|
3
|
-
import { f as format } from '../../index-
|
|
3
|
+
import { f as format } from '../../index-7f2be3d7.js';
|
|
4
4
|
import SuggestedMentionList from './SuggestedMentionList.js';
|
|
5
5
|
import useSendbirdStateContext from '../../useSendbirdStateContext.js';
|
|
6
|
-
import { u as useChannelContext, a as isDisabledBecauseFrozen, b as isDisabledBecauseMuted } from '../../ChannelProvider-
|
|
7
|
-
import { k as getClassName } from '../../index-
|
|
8
|
-
import { M as MAX_USER_MENTION_COUNT, a as MAX_USER_SUGGESTION_COUNT } from '../../const-
|
|
6
|
+
import { u as useChannelContext, a as isDisabledBecauseFrozen, b as isDisabledBecauseMuted } from '../../ChannelProvider-d891cf5f.js';
|
|
7
|
+
import { k as getClassName } from '../../index-03ccaf35.js';
|
|
8
|
+
import { M as MAX_USER_MENTION_COUNT, a as MAX_USER_SUGGESTION_COUNT } from '../../const-b88f8299.js';
|
|
9
9
|
import DateSeparator from '../../ui/DateSeparator.js';
|
|
10
|
-
import { L as Label, a as LabelTypography, b as LabelColors } from '../../index-
|
|
10
|
+
import { L as Label, a as LabelTypography, b as LabelColors } from '../../index-ed39099a.js';
|
|
11
11
|
import MessageInput from '../../ui/MessageInput.js';
|
|
12
12
|
import MessageContent from '../../ui/MessageContent.js';
|
|
13
13
|
import FileViewer from './FileViewer.js';
|
|
14
14
|
import RemoveMessage from './RemoveMessageModal.js';
|
|
15
|
-
import { M as MessageInputKeys } from '../../const-
|
|
16
|
-
import { u as useLocalization } from '../../LocalizationContext-
|
|
17
|
-
import '../../index-
|
|
15
|
+
import { M as MessageInputKeys } from '../../const-51fc1a68.js';
|
|
16
|
+
import { u as useLocalization } from '../../LocalizationContext-2a073ef0.js';
|
|
17
|
+
import '../../index-5ec69689.js';
|
|
18
18
|
import '../../ui/Icon.js';
|
|
19
|
-
import '../../_rollupPluginBabelHelpers-
|
|
19
|
+
import '../../_rollupPluginBabelHelpers-3043541a.js';
|
|
20
20
|
import 'prop-types';
|
|
21
21
|
import '../../ui/Avatar.js';
|
|
22
22
|
import '../../ui/ImageRenderer.js';
|
|
23
|
-
import '../../uuid-
|
|
23
|
+
import '../../uuid-60ae25c1.js';
|
|
24
24
|
import '../../withSendbird.js';
|
|
25
|
-
import '../../UserProfileContext-
|
|
26
|
-
import '../../topics-
|
|
27
|
-
import '../../compareIds-
|
|
28
|
-
import '../../groupChannel-
|
|
29
|
-
import '../../__bundle-6316ce22-
|
|
30
|
-
import '../../__bundle-fbda47dd-
|
|
31
|
-
import '../../__bundle-7dfccc8c-
|
|
25
|
+
import '../../UserProfileContext-143a6a42.js';
|
|
26
|
+
import '../../topics-18836011.js';
|
|
27
|
+
import '../../compareIds-2e073780.js';
|
|
28
|
+
import '../../groupChannel-17ffbb7f.js';
|
|
29
|
+
import '../../__bundle-6316ce22-cd546820.js';
|
|
30
|
+
import '../../__bundle-fbda47dd-9dbeee1d.js';
|
|
31
|
+
import '../../__bundle-7dfccc8c-6c6e7ab4.js';
|
|
32
32
|
import '../../ui/ContextMenu.js';
|
|
33
33
|
import 'react-dom';
|
|
34
34
|
import '../../ui/SortByRow.js';
|
|
35
|
-
import '../../stringSet-
|
|
35
|
+
import '../../stringSet-647493ce.js';
|
|
36
36
|
import '../../ui/ReactionButton.js';
|
|
37
|
-
import '../../color-
|
|
37
|
+
import '../../color-798488ed.js';
|
|
38
38
|
import '../../ui/IconButton.js';
|
|
39
|
-
import '../../index-
|
|
39
|
+
import '../../index-6a47d16f.js';
|
|
40
40
|
import '../../ui/MentionUserLabel.js';
|
|
41
41
|
import '../../ui/UserProfile.js';
|
|
42
42
|
import '../../sendbirdSelectors.js';
|
|
43
|
-
import '../../utils-
|
|
43
|
+
import '../../utils-301322ba.js';
|
|
44
44
|
import '../../ui/MessageStatus.js';
|
|
45
45
|
import '../../ui/Loader.js';
|
|
46
46
|
import '../../ui/MessageItemMenu.js';
|
|
@@ -60,7 +60,7 @@ import '../../ui/ThumbnailMessageItemBody.js';
|
|
|
60
60
|
import '../../ui/OGMessageItemBody.js';
|
|
61
61
|
import '../../ui/UnknownMessageItemBody.js';
|
|
62
62
|
import '../../ui/QuoteMessage.js';
|
|
63
|
-
import '../../index-
|
|
63
|
+
import '../../index-c9cda9f6.js';
|
|
64
64
|
import '../../ui/Modal.js';
|
|
65
65
|
|
|
66
66
|
var Message = function Message(props) {
|
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
import { a as __spreadArray } from '../../tslib.es6-
|
|
1
|
+
import { a as __spreadArray } from '../../tslib.es6-710c6267.js';
|
|
2
2
|
import React__default, { useContext, useState, useEffect } from 'react';
|
|
3
|
-
import { u as useChannelContext, a as isDisabledBecauseFrozen, b as isDisabledBecauseMuted, d as isOperator } from '../../ChannelProvider-
|
|
3
|
+
import { u as useChannelContext, a as isDisabledBecauseFrozen, b as isDisabledBecauseMuted, d as isOperator } from '../../ChannelProvider-d891cf5f.js';
|
|
4
4
|
import MessageInput from '../../ui/MessageInput.js';
|
|
5
5
|
import QuoteMessageInput from '../../ui/QuoteMessageInput.js';
|
|
6
|
-
import { a as LocalizationContext } from '../../LocalizationContext-
|
|
6
|
+
import { a as LocalizationContext } from '../../LocalizationContext-2a073ef0.js';
|
|
7
7
|
import useSendbirdStateContext from '../../useSendbirdStateContext.js';
|
|
8
8
|
import SuggestedMentionList from './SuggestedMentionList.js';
|
|
9
|
-
import { M as MessageInputKeys } from '../../const-
|
|
10
|
-
import '../../UserProfileContext-
|
|
9
|
+
import { M as MessageInputKeys } from '../../const-51fc1a68.js';
|
|
10
|
+
import '../../UserProfileContext-143a6a42.js';
|
|
11
11
|
import 'prop-types';
|
|
12
|
-
import '../../_rollupPluginBabelHelpers-
|
|
13
|
-
import '../../index-
|
|
14
|
-
import '../../index-
|
|
15
|
-
import '../../topics-
|
|
16
|
-
import '../../index-
|
|
17
|
-
import '../../compareIds-
|
|
18
|
-
import '../../const-
|
|
19
|
-
import '../../groupChannel-
|
|
20
|
-
import '../../__bundle-6316ce22-
|
|
21
|
-
import '../../__bundle-fbda47dd-
|
|
22
|
-
import '../../__bundle-7dfccc8c-
|
|
23
|
-
import '../../uuid-
|
|
12
|
+
import '../../_rollupPluginBabelHelpers-3043541a.js';
|
|
13
|
+
import '../../index-7f2be3d7.js';
|
|
14
|
+
import '../../index-5ec69689.js';
|
|
15
|
+
import '../../topics-18836011.js';
|
|
16
|
+
import '../../index-03ccaf35.js';
|
|
17
|
+
import '../../compareIds-2e073780.js';
|
|
18
|
+
import '../../const-b88f8299.js';
|
|
19
|
+
import '../../groupChannel-17ffbb7f.js';
|
|
20
|
+
import '../../__bundle-6316ce22-cd546820.js';
|
|
21
|
+
import '../../__bundle-fbda47dd-9dbeee1d.js';
|
|
22
|
+
import '../../__bundle-7dfccc8c-6c6e7ab4.js';
|
|
23
|
+
import '../../uuid-60ae25c1.js';
|
|
24
24
|
import '../../ui/ContextMenu.js';
|
|
25
|
-
import '../../index-07cd4778.js';
|
|
26
|
-
import '../../stringSet-92f53c6e.js';
|
|
27
25
|
import 'react-dom';
|
|
28
26
|
import '../../ui/SortByRow.js';
|
|
27
|
+
import '../../index-ed39099a.js';
|
|
28
|
+
import '../../stringSet-647493ce.js';
|
|
29
29
|
import '../../ui/ReactionButton.js';
|
|
30
30
|
import '../../ui/ImageRenderer.js';
|
|
31
31
|
import '../../ui/Icon.js';
|
|
32
32
|
import '../../ui/IconButton.js';
|
|
33
|
-
import '../../index-
|
|
33
|
+
import '../../index-6a47d16f.js';
|
|
34
34
|
import '../../ui/MentionUserLabel.js';
|
|
35
35
|
import '../../withSendbird.js';
|
|
36
36
|
import '../../ui/Avatar.js';
|