@sendbird/uikit-react 3.1.1-rc.5 → 3.1.2-rc.1
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 +50 -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-68910bcb.js → ChannelListProvider-c996f1ea.js} +9 -9
- package/ChannelListProvider-c996f1ea.js.map +1 -0
- package/{ChannelProvider-53adf8f8.js → ChannelProvider-a061c377.js} +31 -30
- package/ChannelProvider-a061c377.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-5678db6c.js → CreateChannelProvider-7adde24e.js} +1 -1
- package/CreateChannelProvider-7adde24e.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-ca7349bf.js → LocalizationContext-a8de2fdc.js} +3 -3
- package/LocalizationContext-a8de2fdc.js.map +1 -0
- package/{MemberList-981c5782.js → MemberList-e5e5d810.js} +6 -6
- package/{MemberList-981c5782.js.map → MemberList-e5e5d810.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-a4892f05.js → OpenChannelProvider-24673613.js} +15 -14
- package/{OpenChannelProvider-a4892f05.js.map → OpenChannelProvider-24673613.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-5afc8b47.js → UserProfileContext-929b77e4.js} +1 -1
- package/{UserProfileContext-5afc8b47.js.map → UserProfileContext-929b77e4.js.map} +1 -1
- package/{__bundle-6316ce22-04b37204.js → __bundle-6316ce22-b9197055.js} +1 -1
- package/{__bundle-6316ce22-04b37204.js.map → __bundle-6316ce22-b9197055.js.map} +1 -1
- package/{__bundle-7dfccc8c-ea9e99d7.js → __bundle-7dfccc8c-c3a44ee7.js} +2 -2
- package/{__bundle-7dfccc8c-ea9e99d7.js.map → __bundle-7dfccc8c-c3a44ee7.js.map} +1 -1
- package/{__bundle-fbda47dd-52c9a92f.js → __bundle-fbda47dd-e0e8f270.js} +2 -2
- package/{__bundle-fbda47dd-52c9a92f.js.map → __bundle-fbda47dd-e0e8f270.js.map} +1 -1
- package/{_rollupPluginBabelHelpers-c13d9e3e.js → _rollupPluginBabelHelpers-c664d679.js} +2 -105
- package/_rollupPluginBabelHelpers-c664d679.js.map +1 -0
- package/{actionTypes-c0fc26e6.js → actionTypes-0bb405f7.js} +1 -1
- package/{actionTypes-c0fc26e6.js.map → actionTypes-0bb405f7.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-173ffe5e.js → ChannelListProvider-332647b5.js} +9 -9
- package/cjs/ChannelListProvider-332647b5.js.map +1 -0
- package/cjs/{ChannelProvider-f87319af.js → ChannelProvider-faced097.js} +31 -30
- package/cjs/ChannelProvider-faced097.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-9707be7a.js → CreateChannelProvider-5984b10e.js} +1 -1
- package/cjs/CreateChannelProvider-5984b10e.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-fa706e1c.js → LocalizationContext-84d3ac9f.js} +3 -3
- package/cjs/LocalizationContext-84d3ac9f.js.map +1 -0
- package/cjs/{MemberList-a96f78d3.js → MemberList-4000c963.js} +6 -6
- package/cjs/{MemberList-a96f78d3.js.map → MemberList-4000c963.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-05e536a5.js → OpenChannelProvider-042867f0.js} +15 -14
- package/cjs/{OpenChannelProvider-05e536a5.js.map → OpenChannelProvider-042867f0.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-48819266.js → UserProfileContext-910971fc.js} +1 -1
- package/cjs/{UserProfileContext-48819266.js.map → UserProfileContext-910971fc.js.map} +1 -1
- package/cjs/{__bundle-6316ce22-af220228.js → __bundle-6316ce22-acb43d8b.js} +1 -1
- package/cjs/{__bundle-6316ce22-af220228.js.map → __bundle-6316ce22-acb43d8b.js.map} +1 -1
- package/cjs/{__bundle-7dfccc8c-de458892.js → __bundle-7dfccc8c-c3051ee3.js} +2 -2
- package/cjs/{__bundle-7dfccc8c-de458892.js.map → __bundle-7dfccc8c-c3051ee3.js.map} +1 -1
- package/cjs/{__bundle-fbda47dd-5bf11e66.js → __bundle-fbda47dd-313c7e5d.js} +2 -2
- package/cjs/{__bundle-fbda47dd-5bf11e66.js.map → __bundle-fbda47dd-313c7e5d.js.map} +1 -1
- package/cjs/{_rollupPluginBabelHelpers-b0d3dedc.js → _rollupPluginBabelHelpers-a016af9b.js} +1 -110
- package/cjs/_rollupPluginBabelHelpers-a016af9b.js.map +1 -0
- package/cjs/{actionTypes-aa366666.js → actionTypes-dcb6f12d.js} +1 -1
- package/cjs/{actionTypes-aa366666.js.map → actionTypes-dcb6f12d.js.map} +1 -1
- package/cjs/color-dacce310.js +45 -0
- package/cjs/color-dacce310.js.map +1 -0
- package/cjs/{compareIds-fe80e606.js → compareIds-30f8055b.js} +1 -1
- package/cjs/{compareIds-fe80e606.js.map → compareIds-30f8055b.js.map} +1 -1
- package/cjs/{const-0612d071.js → const-896e3a63.js} +1 -1
- package/cjs/{const-0612d071.js.map → const-896e3a63.js.map} +1 -1
- package/cjs/{const-517ba8f6.js → const-d144af7c.js} +1 -1
- package/cjs/{const-517ba8f6.js.map → const-d144af7c.js.map} +1 -1
- package/cjs/{context-f24f39c9.js → context-01845539.js} +2 -2
- package/cjs/{context-f24f39c9.js.map → context-01845539.js.map} +1 -1
- package/cjs/dist/index.css +50 -72
- package/cjs/dist/index.css.map +1 -1
- package/cjs/{groupChannel-62feb366.js → groupChannel-6d96e7e4.js} +4 -4
- package/cjs/{groupChannel-62feb366.js.map → groupChannel-6d96e7e4.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-af37f61b.js → index-234e186e.js} +7 -7
- package/cjs/index-234e186e.js.map +1 -0
- package/cjs/index-5350f579.js +90 -0
- package/cjs/index-5350f579.js.map +1 -0
- package/cjs/{index-988cca27.js → index-5a5cbb28.js} +11 -10
- package/cjs/{index-988cca27.js.map → index-5a5cbb28.js.map} +1 -1
- package/cjs/{index-50ba13b6.js → index-5ee0b6e5.js} +2 -2
- package/cjs/{index-50ba13b6.js.map → index-5ee0b6e5.js.map} +1 -1
- package/cjs/{index-d5dca97a.js → index-6db26f9d.js} +3 -3
- package/cjs/{index-d5dca97a.js.map → index-6db26f9d.js.map} +1 -1
- package/cjs/{index-5467f0b8.js → index-704081e2.js} +2 -2
- package/cjs/{index-5467f0b8.js.map → index-704081e2.js.map} +1 -1
- package/cjs/{index-57a2b466.js → index-b5b5772d.js} +2 -2
- package/cjs/{index-57a2b466.js.map → index-b5b5772d.js.map} +1 -1
- package/cjs/{index-fd6d4acf.js → index-bec2f801.js} +1 -1
- package/cjs/{index-fd6d4acf.js.map → index-bec2f801.js.map} +1 -1
- package/cjs/{index-7077441b.js → index-bfbb5bcd.js} +1 -1
- package/cjs/{index-7077441b.js.map → index-bfbb5bcd.js.map} +1 -1
- package/cjs/{index-48d749fe.js → index-d6966c0d.js} +4 -4
- package/cjs/{index-48d749fe.js.map → index-d6966c0d.js.map} +1 -1
- package/cjs/{index-1125fa1c.js → index-ee2fd0cf.js} +15 -27
- package/cjs/{index-1125fa1c.js.map → index-ee2fd0cf.js.map} +1 -1
- package/cjs/index.js +39 -39
- package/cjs/{openChannel-f8862fe1.js → openChannel-2891d860.js} +3 -3
- package/cjs/{openChannel-f8862fe1.js.map → openChannel-2891d860.js.map} +1 -1
- package/cjs/{openChannelUtils-6f424236.js → openChannelUtils-fd36e419.js} +1 -1
- package/cjs/{openChannelUtils-6f424236.js.map → openChannelUtils-fd36e419.js.map} +1 -1
- package/cjs/{sendbird-6a5725dc.js → sendbird-9dd8f715.js} +3 -3
- package/cjs/{sendbird-6a5725dc.js.map → sendbird-9dd8f715.js.map} +1 -1
- package/cjs/sendbirdSelectors.js +2 -2
- package/cjs/{stringSet-5c71b9a3.js → stringSet-558f83b3.js} +3 -2
- package/cjs/stringSet-558f83b3.js.map +1 -0
- package/cjs/{topics-a39dc7ea.js → topics-1ee2d4c4.js} +1 -1
- package/cjs/{topics-a39dc7ea.js.map → topics-1ee2d4c4.js.map} +1 -1
- package/cjs/{tslib.es6-db2f8eca.js → tslib.es6-e27033df.js} +1 -1
- package/cjs/{tslib.es6-db2f8eca.js.map → tslib.es6-e27033df.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-a8958520.js → utils-007dcdba.js} +1 -1
- package/cjs/{utils-a8958520.js.map → utils-007dcdba.js.map} +1 -1
- package/cjs/{utils-6c7ab021.js → utils-9b806a3e.js} +1 -1
- package/cjs/{utils-6c7ab021.js.map → utils-9b806a3e.js.map} +1 -1
- package/cjs/{utils-2e31da16.js → utils-c47d1e8e.js} +1 -1
- package/cjs/{utils-2e31da16.js.map → utils-c47d1e8e.js.map} +1 -1
- package/cjs/{uuid-6c4b09a0.js → uuid-72d43c80.js} +1 -1
- package/cjs/{uuid-6c4b09a0.js.map → uuid-72d43c80.js.map} +1 -1
- package/cjs/withSendbird.js +1 -1
- package/{color-7099b95c.js → color-cb1ed76e.js} +16 -12
- package/color-cb1ed76e.js.map +1 -0
- package/{compareIds-be28eb6d.js → compareIds-1099f54e.js} +1 -1
- package/{compareIds-be28eb6d.js.map → compareIds-1099f54e.js.map} +1 -1
- package/{const-a52be02e.js → const-2ceebd19.js} +1 -1
- package/{const-a52be02e.js.map → const-2ceebd19.js.map} +1 -1
- package/{const-4aa7e55a.js → const-4f478366.js} +1 -1
- package/{const-4aa7e55a.js.map → const-4f478366.js.map} +1 -1
- package/{context-db702739.js → context-d34f14e9.js} +2 -2
- package/{context-db702739.js.map → context-d34f14e9.js.map} +1 -1
- package/dist/index.css +50 -72
- package/dist/index.css.map +1 -1
- package/{groupChannel-dd6256e5.js → groupChannel-df63e5f2.js} +4 -4
- package/{groupChannel-dd6256e5.js.map → groupChannel-df63e5f2.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-294fabb5.js → index-04a36bb6.js} +2 -2
- package/{index-294fabb5.js.map → index-04a36bb6.js.map} +1 -1
- package/{index-a98a3bd9.js → index-36f78aed.js} +11 -10
- package/{index-a98a3bd9.js.map → index-36f78aed.js.map} +1 -1
- package/{index-03a9ea12.js → index-5131dac7.js} +7 -7
- package/index-5131dac7.js.map +1 -0
- package/{index-50027bce.js → index-639db833.js} +2 -2
- package/{index-50027bce.js.map → index-639db833.js.map} +1 -1
- package/{index-11362f36.js → index-726762e7.js} +1 -1
- package/{index-11362f36.js.map → index-726762e7.js.map} +1 -1
- package/index-8b26f4f3.js +82 -0
- package/index-8b26f4f3.js.map +1 -0
- package/{index-f318de0c.js → index-9f7bc963.js} +4 -4
- package/{index-f318de0c.js.map → index-9f7bc963.js.map} +1 -1
- package/{index-14742522.js → index-c6093226.js} +2 -2
- package/{index-14742522.js.map → index-c6093226.js.map} +1 -1
- package/{index-05a75ad4.js → index-da4fcb79.js} +15 -26
- package/index-da4fcb79.js.map +1 -0
- package/{index-3bb932f2.js → index-ed66e9b7.js} +3 -3
- package/{index-3bb932f2.js.map → index-ed66e9b7.js.map} +1 -1
- package/{index-5ebb19e0.js → index-f392bd44.js} +1 -1
- package/{index-5ebb19e0.js.map → index-f392bd44.js.map} +1 -1
- package/index.d.ts +115 -108
- package/index.js +39 -39
- package/{openChannel-03c0769e.js → openChannel-7bf250d9.js} +3 -3
- package/{openChannel-03c0769e.js.map → openChannel-7bf250d9.js.map} +1 -1
- package/{openChannelUtils-3d2848bc.js → openChannelUtils-4c2890ef.js} +1 -1
- package/{openChannelUtils-3d2848bc.js.map → openChannelUtils-4c2890ef.js.map} +1 -1
- package/package-lock.json +34500 -31
- package/package.json +1 -1
- package/{sendbird-a19be513.js → sendbird-7b09e4b2.js} +3 -3
- package/{sendbird-a19be513.js.map → sendbird-7b09e4b2.js.map} +1 -1
- package/sendbirdSelectors.js +2 -2
- package/{stringSet-c851aa33.js → stringSet-a761f45e.js} +3 -2
- package/stringSet-a761f45e.js.map +1 -0
- package/{topics-2f6ae0e6.js → topics-6f5089f9.js} +1 -1
- package/{topics-2f6ae0e6.js.map → topics-6f5089f9.js.map} +1 -1
- package/{tslib.es6-99120ac2.js → tslib.es6-b4d5e936.js} +1 -1
- package/{tslib.es6-99120ac2.js.map → tslib.es6-b4d5e936.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-6de0cc82.js → utils-4a93fe15.js} +1 -1
- package/{utils-6de0cc82.js.map → utils-4a93fe15.js.map} +1 -1
- package/{utils-980e0f60.js → utils-b0fa8ce9.js} +1 -1
- package/{utils-980e0f60.js.map → utils-b0fa8ce9.js.map} +1 -1
- package/{utils-25d50226.js → utils-e2f7dc6d.js} +1 -1
- package/{utils-25d50226.js.map → utils-e2f7dc6d.js.map} +1 -1
- package/{uuid-bd559a90.js → uuid-bf4fe830.js} +1 -1
- package/{uuid-bd559a90.js.map → uuid-bf4fe830.js.map} +1 -1
- package/withSendbird.js +1 -1
- package/ChannelListProvider-68910bcb.js.map +0 -1
- package/ChannelProvider-53adf8f8.js.map +0 -1
- package/CreateChannelProvider-5678db6c.js.map +0 -1
- package/LocalizationContext-ca7349bf.js.map +0 -1
- package/_rollupPluginBabelHelpers-c13d9e3e.js.map +0 -1
- package/cjs/ChannelListProvider-173ffe5e.js.map +0 -1
- package/cjs/ChannelProvider-f87319af.js.map +0 -1
- package/cjs/CreateChannelProvider-9707be7a.js.map +0 -1
- package/cjs/LocalizationContext-fa706e1c.js.map +0 -1
- package/cjs/_rollupPluginBabelHelpers-b0d3dedc.js.map +0 -1
- package/cjs/color-6b89ec38.js +0 -42
- package/cjs/color-6b89ec38.js.map +0 -1
- package/cjs/index-af37f61b.js.map +0 -1
- package/cjs/index-d14481f6.js +0 -97
- package/cjs/index-d14481f6.js.map +0 -1
- package/cjs/stringSet-5c71b9a3.js.map +0 -1
- package/cjs/ui/Dropdown.js +0 -107
- package/cjs/ui/Dropdown.js.map +0 -1
- package/color-7099b95c.js.map +0 -1
- package/index-03a9ea12.js.map +0 -1
- package/index-05a75ad4.js.map +0 -1
- package/index-989585e2.js +0 -87
- package/index-989585e2.js.map +0 -1
- package/stringSet-c851aa33.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-c664d679.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-7b09e4b2.js';
|
|
11
|
+
import './__bundle-6316ce22-b9197055.js';
|
|
12
|
+
import './__bundle-fbda47dd-e0e8f270.js';
|
|
13
|
+
import './openChannel-7bf250d9.js';
|
|
14
|
+
import './__bundle-7dfccc8c-c3a44ee7.js';
|
|
15
|
+
import './groupChannel-df63e5f2.js';
|
|
16
|
+
import './actionTypes-0bb405f7.js';
|
|
17
|
+
import './index-639db833.js';
|
|
18
|
+
import './tslib.es6-b4d5e936.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-bf4fe830.js';
|
|
21
|
+
import './LocalizationContext-a8de2fdc.js';
|
|
22
|
+
import './stringSet-a761f45e.js';
|
|
23
|
+
import './index-f392bd44.js';
|
|
24
|
+
import './ChannelListProvider-c996f1ea.js';
|
|
25
|
+
import './topics-6f5089f9.js';
|
|
26
|
+
import './utils-4a93fe15.js';
|
|
27
|
+
import './UserProfileContext-929b77e4.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-ed66e9b7.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-7adde24e.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-726762e7.js';
|
|
45
|
+
import './index-8b26f4f3.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-e2f7dc6d.js';
|
|
56
56
|
import './ui/Badge.js';
|
|
57
|
-
import './index-
|
|
58
|
-
import './index-
|
|
59
|
-
import './index-
|
|
57
|
+
import './index-9f7bc963.js';
|
|
58
|
+
import './index-04a36bb6.js';
|
|
59
|
+
import './index-c6093226.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-a061c377.js';
|
|
63
|
+
import './compareIds-1099f54e.js';
|
|
64
|
+
import './const-4f478366.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-5131dac7.js';
|
|
71
71
|
import './ui/Input.js';
|
|
72
72
|
import './ui/TextButton.js';
|
|
73
|
-
import './color-
|
|
74
|
-
import './index-
|
|
73
|
+
import './color-cb1ed76e.js';
|
|
74
|
+
import './index-da4fcb79.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-2ceebd19.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-d34f14e9.js';
|
|
115
115
|
import './ChannelSettings/components/UserListItem.js';
|
|
116
|
-
import './MemberList-
|
|
116
|
+
import './MemberList-e5e5d810.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,55 @@
|
|
|
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
|
+
|
|
32
|
+
## [v3.1.1] (Aug 17 2022)
|
|
33
|
+
|
|
34
|
+
Features:
|
|
35
|
+
* Add channel handlers to the open channel settings
|
|
36
|
+
* Add an open channel handler into the OpenChannelSettings component
|
|
37
|
+
* Use operators property to render operator list on the OpenChannelSetting
|
|
38
|
+
instead of fetching operators
|
|
39
|
+
* Export handlers through `@sendbird/uikit-react/handlers`, this is a workaround
|
|
40
|
+
to fix an issue where inhertiance chains break custom handler implementation
|
|
41
|
+
* ConnectionHandler -> `@sendbird/uikit-react/handlers/ConnectionHandler`
|
|
42
|
+
* GroupChannelHandler -> `@sendbird/uikit-react/handlers/GroupChannelHandler`
|
|
43
|
+
* OpenChannelHandler -> `@sendbird/uikit-react/handlers/OpenChannelHandler`
|
|
44
|
+
* UserEventHandler -> `@sendbird/uikit-react/handlers/UserEventHandler`
|
|
45
|
+
* Example: https://codesandbox.io/s/test-3-1-1-rc-5-f94w7i
|
|
46
|
+
|
|
47
|
+
Fixes:
|
|
48
|
+
* Update SendableMessage to UserMessage and FileMessage
|
|
49
|
+
* Change the type of MessageHandler.onFailed to FailedMessageHandler
|
|
50
|
+
* Add missing type defns into scripts/index_d_ts
|
|
51
|
+
* Typo in creating channelHandlerId on the ChannelList
|
|
52
|
+
|
|
3
53
|
## [v3.1.0] (Aug 03 2022)
|
|
4
54
|
Features:
|
|
5
55
|
* Support moderation in OpenChannel
|
|
@@ -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-ed66e9b7.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-a8de2fdc.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-a061c377.js';
|
|
9
|
+
import '../../_rollupPluginBabelHelpers-c664d679.js';
|
|
10
10
|
import 'prop-types';
|
|
11
|
-
import '../../stringSet-
|
|
11
|
+
import '../../stringSet-a761f45e.js';
|
|
12
|
+
import '../../tslib.es6-b4d5e936.js';
|
|
12
13
|
import '../../ui/Avatar.js';
|
|
13
|
-
import '../../tslib.es6-99120ac2.js';
|
|
14
14
|
import '../../ui/ImageRenderer.js';
|
|
15
|
-
import '../../uuid-
|
|
16
|
-
import '../../utils-
|
|
17
|
-
import '../../index-
|
|
15
|
+
import '../../uuid-bf4fe830.js';
|
|
16
|
+
import '../../utils-e2f7dc6d.js';
|
|
17
|
+
import '../../index-f392bd44.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-929b77e4.js';
|
|
20
|
+
import '../../index-c6093226.js';
|
|
21
|
+
import '../../topics-6f5089f9.js';
|
|
22
|
+
import '../../index-639db833.js';
|
|
23
|
+
import '../../compareIds-1099f54e.js';
|
|
24
|
+
import '../../const-4f478366.js';
|
|
25
|
+
import '../../groupChannel-df63e5f2.js';
|
|
26
|
+
import '../../__bundle-6316ce22-b9197055.js';
|
|
27
|
+
import '../../__bundle-fbda47dd-e0e8f270.js';
|
|
28
|
+
import '../../__bundle-7dfccc8c-c3a44ee7.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-a061c377.js';
|
|
4
|
+
import { P as PlaceHolder, a as PlaceHolderTypes } from '../../index-da4fcb79.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-c664d679.js';
|
|
14
|
+
import '../../UserProfileContext-929b77e4.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-c6093226.js';
|
|
17
|
+
import '../../index-f392bd44.js';
|
|
18
|
+
import '../../topics-6f5089f9.js';
|
|
19
|
+
import '../../index-639db833.js';
|
|
20
|
+
import '../../tslib.es6-b4d5e936.js';
|
|
21
|
+
import '../../compareIds-1099f54e.js';
|
|
22
|
+
import '../../const-4f478366.js';
|
|
23
|
+
import '../../groupChannel-df63e5f2.js';
|
|
24
|
+
import '../../__bundle-6316ce22-b9197055.js';
|
|
25
|
+
import '../../__bundle-fbda47dd-e0e8f270.js';
|
|
26
|
+
import '../../__bundle-7dfccc8c-c3a44ee7.js';
|
|
27
|
+
import '../../uuid-bf4fe830.js';
|
|
28
28
|
import '../../ui/ContextMenu.js';
|
|
29
|
-
import '../../index-3bb932f2.js';
|
|
30
|
-
import '../../stringSet-c851aa33.js';
|
|
31
29
|
import 'react-dom';
|
|
32
30
|
import '../../ui/SortByRow.js';
|
|
31
|
+
import '../../index-ed66e9b7.js';
|
|
32
|
+
import '../../stringSet-a761f45e.js';
|
|
33
33
|
import '../../ui/ReactionButton.js';
|
|
34
34
|
import '../../ui/ImageRenderer.js';
|
|
35
35
|
import '../../ui/Icon.js';
|
|
36
|
+
import '../../LocalizationContext-a8de2fdc.js';
|
|
36
37
|
import '../../ui/Loader.js';
|
|
37
|
-
import '../../LocalizationContext-ca7349bf.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-e2f7dc6d.js';
|
|
42
|
+
import '../../index-04a36bb6.js';
|
|
43
43
|
import './Message.js';
|
|
44
44
|
import './SuggestedMentionList.js';
|
|
45
|
-
import '../../const-
|
|
45
|
+
import '../../const-2ceebd19.js';
|
|
46
46
|
import '../../ui/DateSeparator.js';
|
|
47
|
-
import '../../color-
|
|
47
|
+
import '../../color-cb1ed76e.js';
|
|
48
48
|
import '../../ui/MessageInput.js';
|
|
49
|
-
import '../../index-
|
|
49
|
+
import '../../index-8b26f4f3.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-4a93fe15.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-726762e7.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-ed66e9b7.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-726762e7.js';
|
|
7
|
+
import { A as isSupportedFileView, B as isVideo, C as isImage } from '../../index-639db833.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-a061c377.js';
|
|
10
|
+
import '../../tslib.es6-b4d5e936.js';
|
|
11
11
|
import '../../ui/ImageRenderer.js';
|
|
12
|
-
import '../../
|
|
12
|
+
import '../../uuid-bf4fe830.js';
|
|
13
|
+
import '../../_rollupPluginBabelHelpers-c664d679.js';
|
|
13
14
|
import 'prop-types';
|
|
14
|
-
import '../../
|
|
15
|
-
import '../../stringSet-c851aa33.js';
|
|
15
|
+
import '../../stringSet-a761f45e.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-929b77e4.js';
|
|
18
|
+
import '../../index-c6093226.js';
|
|
19
|
+
import '../../index-f392bd44.js';
|
|
20
|
+
import '../../topics-6f5089f9.js';
|
|
21
|
+
import '../../compareIds-1099f54e.js';
|
|
22
|
+
import '../../const-4f478366.js';
|
|
23
|
+
import '../../groupChannel-df63e5f2.js';
|
|
24
|
+
import '../../__bundle-6316ce22-b9197055.js';
|
|
25
|
+
import '../../__bundle-fbda47dd-e0e8f270.js';
|
|
26
|
+
import '../../__bundle-7dfccc8c-c3a44ee7.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-a8de2fdc.js';
|
|
3
|
+
import { L as Label, a as LabelTypography } from '../../index-ed66e9b7.js';
|
|
4
|
+
import '../../stringSet-a761f45e.js';
|
|
5
|
+
import '../../index-f392bd44.js';
|
|
6
|
+
import '../../_rollupPluginBabelHelpers-c664d679.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-b4d5e936.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-c6093226.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-a061c377.js';
|
|
7
|
+
import { k as getClassName } from '../../index-639db833.js';
|
|
8
|
+
import { M as MAX_USER_MENTION_COUNT, a as MAX_USER_SUGGESTION_COUNT } from '../../const-4f478366.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-ed66e9b7.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-2ceebd19.js';
|
|
16
|
+
import { u as useLocalization } from '../../LocalizationContext-a8de2fdc.js';
|
|
17
|
+
import '../../index-f392bd44.js';
|
|
18
18
|
import '../../ui/Icon.js';
|
|
19
|
-
import '../../_rollupPluginBabelHelpers-
|
|
19
|
+
import '../../_rollupPluginBabelHelpers-c664d679.js';
|
|
20
20
|
import 'prop-types';
|
|
21
21
|
import '../../ui/Avatar.js';
|
|
22
22
|
import '../../ui/ImageRenderer.js';
|
|
23
|
-
import '../../uuid-
|
|
23
|
+
import '../../uuid-bf4fe830.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-929b77e4.js';
|
|
26
|
+
import '../../topics-6f5089f9.js';
|
|
27
|
+
import '../../compareIds-1099f54e.js';
|
|
28
|
+
import '../../groupChannel-df63e5f2.js';
|
|
29
|
+
import '../../__bundle-6316ce22-b9197055.js';
|
|
30
|
+
import '../../__bundle-fbda47dd-e0e8f270.js';
|
|
31
|
+
import '../../__bundle-7dfccc8c-c3a44ee7.js';
|
|
32
32
|
import '../../ui/ContextMenu.js';
|
|
33
33
|
import 'react-dom';
|
|
34
34
|
import '../../ui/SortByRow.js';
|
|
35
|
-
import '../../stringSet-
|
|
35
|
+
import '../../stringSet-a761f45e.js';
|
|
36
36
|
import '../../ui/ReactionButton.js';
|
|
37
|
-
import '../../color-
|
|
37
|
+
import '../../color-cb1ed76e.js';
|
|
38
38
|
import '../../ui/IconButton.js';
|
|
39
|
-
import '../../index-
|
|
39
|
+
import '../../index-8b26f4f3.js';
|
|
40
40
|
import '../../ui/MentionUserLabel.js';
|
|
41
41
|
import '../../ui/UserProfile.js';
|
|
42
42
|
import '../../sendbirdSelectors.js';
|
|
43
|
-
import '../../utils-
|
|
43
|
+
import '../../utils-4a93fe15.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-726762e7.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-b4d5e936.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-a061c377.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-a8de2fdc.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-2ceebd19.js';
|
|
10
|
+
import '../../UserProfileContext-929b77e4.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-c664d679.js';
|
|
13
|
+
import '../../index-c6093226.js';
|
|
14
|
+
import '../../index-f392bd44.js';
|
|
15
|
+
import '../../topics-6f5089f9.js';
|
|
16
|
+
import '../../index-639db833.js';
|
|
17
|
+
import '../../compareIds-1099f54e.js';
|
|
18
|
+
import '../../const-4f478366.js';
|
|
19
|
+
import '../../groupChannel-df63e5f2.js';
|
|
20
|
+
import '../../__bundle-6316ce22-b9197055.js';
|
|
21
|
+
import '../../__bundle-fbda47dd-e0e8f270.js';
|
|
22
|
+
import '../../__bundle-7dfccc8c-c3a44ee7.js';
|
|
23
|
+
import '../../uuid-bf4fe830.js';
|
|
24
24
|
import '../../ui/ContextMenu.js';
|
|
25
|
-
import '../../index-3bb932f2.js';
|
|
26
|
-
import '../../stringSet-c851aa33.js';
|
|
27
25
|
import 'react-dom';
|
|
28
26
|
import '../../ui/SortByRow.js';
|
|
27
|
+
import '../../index-ed66e9b7.js';
|
|
28
|
+
import '../../stringSet-a761f45e.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-8b26f4f3.js';
|
|
34
34
|
import '../../ui/MentionUserLabel.js';
|
|
35
35
|
import '../../withSendbird.js';
|
|
36
36
|
import '../../ui/Avatar.js';
|