@sendbird/uikit-react 3.2.6-rc.0 → 3.2.6-rc.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 +30 -30
- package/Channel/components/ChannelHeader.js +17 -17
- package/Channel/components/ChannelUI.js +23 -23
- package/Channel/components/FileViewer.js +14 -14
- package/Channel/components/FrozenNotification.js +4 -4
- package/Channel/components/Message.js +20 -20
- package/Channel/components/MessageInput.js +15 -15
- package/Channel/components/MessageList.js +22 -22
- package/Channel/components/RemoveMessageModal.js +16 -16
- package/Channel/components/SuggestedMentionList.js +15 -15
- package/Channel/components/TypingIndicator.js +14 -14
- package/Channel/components/UnreadCount.js +4 -4
- package/Channel/context.js +13 -13
- package/Channel.js +23 -23
- package/ChannelList/components/AddChannel.js +14 -14
- package/ChannelList/components/ChannelListHeader.js +7 -7
- package/ChannelList/components/ChannelListUI.js +27 -27
- package/ChannelList/components/ChannelPreview.js +23 -23
- package/ChannelList/components/ChannelPreviewAction.js +14 -14
- package/ChannelList/context.js +8 -8
- package/ChannelList.js +27 -27
- package/{ChannelListProvider-cef1f985.js → ChannelListProvider-fa5ee3c6.js} +8 -8
- package/{ChannelListProvider-cef1f985.js.map → ChannelListProvider-fa5ee3c6.js.map} +1 -1
- package/{ChannelProvider-924d5a93.js → ChannelProvider-c6154c45.js} +43 -23
- package/ChannelProvider-c6154c45.js.map +1 -0
- package/ChannelSettings/components/ChannelProfile.js +12 -12
- package/ChannelSettings/components/ChannelSettingsUI.js +18 -18
- package/ChannelSettings/components/EditDetailsModal.js +12 -12
- package/ChannelSettings/components/LeaveChannel.js +12 -12
- package/ChannelSettings/components/ModerationPanel.js +15 -15
- package/ChannelSettings/components/UserListItem.js +11 -11
- package/ChannelSettings/components/UserPanel.js +14 -14
- package/ChannelSettings/context.js +3 -3
- package/ChannelSettings.js +18 -18
- package/CreateChannel/components/CreateChannelUI.js +14 -14
- package/CreateChannel/components/InviteUsers.js +14 -14
- package/CreateChannel/components/SelectChannelType.js +11 -11
- package/CreateChannel/context.js +4 -4
- package/CreateChannel.js +14 -14
- package/{CreateChannelProvider-2b5b2952.js → CreateChannelProvider-8058f838.js} +1 -1
- package/{CreateChannelProvider-2b5b2952.js.map → CreateChannelProvider-8058f838.js.map} +1 -1
- package/CreateOpenChannel/components/CreateOpenChannelUI.js +10 -10
- package/CreateOpenChannel/context.js +1 -1
- package/CreateOpenChannel.js +10 -10
- package/EditUserProfile/components/EditUserProfileUI.js +13 -13
- package/EditUserProfile.js +13 -13
- package/{LocalizationContext-2bd4bbe8.js → LocalizationContext-8c300642.js} +3 -3
- package/{LocalizationContext-2bd4bbe8.js.map → LocalizationContext-8c300642.js.map} +1 -1
- package/{MediaQueryContext-7be72ab4.js → MediaQueryContext-fbda8d54.js} +1 -1
- package/{MediaQueryContext-7be72ab4.js.map → MediaQueryContext-fbda8d54.js.map} +1 -1
- package/{MemberList-405c20b6.js → MemberList-a1f955f3.js} +5 -5
- package/{MemberList-405c20b6.js.map → MemberList-a1f955f3.js.map} +1 -1
- package/MessageSearch/components/MessageSearchUI.js +11 -11
- package/MessageSearch/context.js +2 -2
- package/MessageSearch.js +11 -11
- package/OpenChannel/components/FrozenChannelNotification.js +4 -4
- package/OpenChannel/components/OpenChannelHeader.js +13 -13
- package/OpenChannel/components/OpenChannelInput.js +15 -15
- package/OpenChannel/components/OpenChannelMessage.js +22 -22
- package/OpenChannel/components/OpenChannelMessageList.js +24 -24
- package/OpenChannel/components/OpenChannelUI.js +27 -25
- package/OpenChannel/components/OpenChannelUI.js.map +1 -1
- package/OpenChannel/context.js +9 -9
- package/OpenChannel.js +24 -24
- package/OpenChannelList/components/OpenChannelListUI.js +13 -13
- package/OpenChannelList/components/OpenChannelPreview.js +4 -4
- package/OpenChannelList/context.js +4 -4
- package/OpenChannelList.js +13 -13
- package/{OpenChannelListProvider-13648dc9.js → OpenChannelListProvider-d39c8aac.js} +3 -3
- package/{OpenChannelListProvider-13648dc9.js.map → OpenChannelListProvider-d39c8aac.js.map} +1 -1
- package/{OpenChannelProvider-7a6eea29.js → OpenChannelProvider-2e9167b6.js} +36 -28
- package/OpenChannelProvider-2e9167b6.js.map +1 -0
- package/OpenChannelSettings/components/EditDetailsModal.js +13 -13
- package/OpenChannelSettings/components/OpenChannelProfile.js +13 -13
- package/OpenChannelSettings/components/OpenChannelSettingsUI.js +18 -18
- package/OpenChannelSettings/components/OperatorUI.js +17 -17
- package/OpenChannelSettings/components/ParticipantUI.js +15 -15
- package/OpenChannelSettings/context.js +3 -3
- package/OpenChannelSettings.js +18 -18
- package/SendbirdProvider.js +10 -10
- package/{UserProfileContext-0d8287d0.js → UserProfileContext-5678a04f.js} +1 -1
- package/{UserProfileContext-0d8287d0.js.map → UserProfileContext-5678a04f.js.map} +1 -1
- package/{_rollupPluginBabelHelpers-fa4874e9.js → _rollupPluginBabelHelpers-cdd0b511.js} +1 -1
- package/_rollupPluginBabelHelpers-cdd0b511.js.map +1 -0
- package/{actionTypes-36657780.js → actionTypes-3724a60f.js} +1 -1
- package/{actionTypes-36657780.js.map → actionTypes-3724a60f.js.map} +1 -1
- package/cjs/App.js +30 -30
- package/cjs/Channel/components/ChannelHeader.js +17 -17
- package/cjs/Channel/components/ChannelUI.js +23 -23
- package/cjs/Channel/components/FileViewer.js +14 -14
- package/cjs/Channel/components/FrozenNotification.js +4 -4
- package/cjs/Channel/components/Message.js +20 -20
- package/cjs/Channel/components/MessageInput.js +15 -15
- package/cjs/Channel/components/MessageList.js +22 -22
- package/cjs/Channel/components/RemoveMessageModal.js +16 -16
- package/cjs/Channel/components/SuggestedMentionList.js +15 -15
- package/cjs/Channel/components/TypingIndicator.js +14 -14
- package/cjs/Channel/components/UnreadCount.js +4 -4
- package/cjs/Channel/context.js +13 -13
- package/cjs/Channel.js +23 -23
- package/cjs/ChannelList/components/AddChannel.js +14 -14
- package/cjs/ChannelList/components/ChannelListHeader.js +7 -7
- package/cjs/ChannelList/components/ChannelListUI.js +27 -27
- package/cjs/ChannelList/components/ChannelPreview.js +23 -23
- package/cjs/ChannelList/components/ChannelPreviewAction.js +14 -14
- package/cjs/ChannelList/context.js +8 -8
- package/cjs/ChannelList.js +27 -27
- package/cjs/{ChannelListProvider-7ee975c5.js → ChannelListProvider-dc412a35.js} +8 -8
- package/cjs/{ChannelListProvider-7ee975c5.js.map → ChannelListProvider-dc412a35.js.map} +1 -1
- package/cjs/{ChannelProvider-b28cd92d.js → ChannelProvider-423912b2.js} +43 -23
- package/cjs/ChannelProvider-423912b2.js.map +1 -0
- package/cjs/ChannelSettings/components/ChannelProfile.js +12 -12
- package/cjs/ChannelSettings/components/ChannelSettingsUI.js +18 -18
- package/cjs/ChannelSettings/components/EditDetailsModal.js +12 -12
- package/cjs/ChannelSettings/components/LeaveChannel.js +12 -12
- package/cjs/ChannelSettings/components/ModerationPanel.js +15 -15
- package/cjs/ChannelSettings/components/UserListItem.js +11 -11
- package/cjs/ChannelSettings/components/UserPanel.js +14 -14
- package/cjs/ChannelSettings/context.js +3 -3
- package/cjs/ChannelSettings.js +18 -18
- package/cjs/CreateChannel/components/CreateChannelUI.js +14 -14
- package/cjs/CreateChannel/components/InviteUsers.js +14 -14
- package/cjs/CreateChannel/components/SelectChannelType.js +11 -11
- package/cjs/CreateChannel/context.js +4 -4
- package/cjs/CreateChannel.js +14 -14
- package/cjs/{CreateChannelProvider-e368f771.js → CreateChannelProvider-3fd8586c.js} +1 -1
- package/cjs/{CreateChannelProvider-e368f771.js.map → CreateChannelProvider-3fd8586c.js.map} +1 -1
- package/cjs/CreateOpenChannel/components/CreateOpenChannelUI.js +10 -10
- package/cjs/CreateOpenChannel/context.js +1 -1
- package/cjs/CreateOpenChannel.js +10 -10
- package/cjs/EditUserProfile/components/EditUserProfileUI.js +13 -13
- package/cjs/EditUserProfile.js +13 -13
- package/cjs/{LocalizationContext-2a1cb44b.js → LocalizationContext-6874bb17.js} +3 -3
- package/cjs/{LocalizationContext-2a1cb44b.js.map → LocalizationContext-6874bb17.js.map} +1 -1
- package/cjs/{MediaQueryContext-623586af.js → MediaQueryContext-feb3b07d.js} +1 -1
- package/cjs/{MediaQueryContext-623586af.js.map → MediaQueryContext-feb3b07d.js.map} +1 -1
- package/cjs/{MemberList-ab7f22b9.js → MemberList-00ad7f6d.js} +5 -5
- package/cjs/{MemberList-ab7f22b9.js.map → MemberList-00ad7f6d.js.map} +1 -1
- package/cjs/MessageSearch/components/MessageSearchUI.js +11 -11
- package/cjs/MessageSearch/context.js +2 -2
- package/cjs/MessageSearch.js +11 -11
- package/cjs/OpenChannel/components/FrozenChannelNotification.js +4 -4
- package/cjs/OpenChannel/components/OpenChannelHeader.js +13 -13
- package/cjs/OpenChannel/components/OpenChannelInput.js +15 -15
- package/cjs/OpenChannel/components/OpenChannelMessage.js +22 -22
- package/cjs/OpenChannel/components/OpenChannelMessageList.js +24 -24
- package/cjs/OpenChannel/components/OpenChannelUI.js +27 -25
- package/cjs/OpenChannel/components/OpenChannelUI.js.map +1 -1
- package/cjs/OpenChannel/context.js +9 -9
- package/cjs/OpenChannel.js +24 -24
- package/cjs/OpenChannelList/components/OpenChannelListUI.js +13 -13
- package/cjs/OpenChannelList/components/OpenChannelPreview.js +4 -4
- package/cjs/OpenChannelList/context.js +4 -4
- package/cjs/OpenChannelList.js +13 -13
- package/cjs/{OpenChannelListProvider-ee1df405.js → OpenChannelListProvider-8273ddeb.js} +3 -3
- package/cjs/{OpenChannelListProvider-ee1df405.js.map → OpenChannelListProvider-8273ddeb.js.map} +1 -1
- package/cjs/{OpenChannelProvider-8b0e26a5.js → OpenChannelProvider-37e885fb.js} +36 -28
- package/cjs/OpenChannelProvider-37e885fb.js.map +1 -0
- package/cjs/OpenChannelSettings/components/EditDetailsModal.js +13 -13
- package/cjs/OpenChannelSettings/components/OpenChannelProfile.js +13 -13
- package/cjs/OpenChannelSettings/components/OpenChannelSettingsUI.js +18 -18
- package/cjs/OpenChannelSettings/components/OperatorUI.js +17 -17
- package/cjs/OpenChannelSettings/components/ParticipantUI.js +15 -15
- package/cjs/OpenChannelSettings/context.js +3 -3
- package/cjs/OpenChannelSettings.js +18 -18
- package/cjs/SendbirdProvider.js +10 -10
- package/cjs/{UserProfileContext-157c5174.js → UserProfileContext-9d54afea.js} +1 -1
- package/cjs/{UserProfileContext-157c5174.js.map → UserProfileContext-9d54afea.js.map} +1 -1
- package/cjs/{_rollupPluginBabelHelpers-c8ddc77e.js → _rollupPluginBabelHelpers-63261191.js} +1 -1
- package/cjs/_rollupPluginBabelHelpers-63261191.js.map +1 -0
- package/cjs/{actionTypes-8d79679a.js → actionTypes-c65dff0d.js} +1 -1
- package/cjs/{actionTypes-8d79679a.js.map → actionTypes-c65dff0d.js.map} +1 -1
- package/cjs/{color-fcbb3426.js → color-fedc6b01.js} +1 -1
- package/cjs/{color-fcbb3426.js.map → color-fedc6b01.js.map} +1 -1
- package/cjs/{compareIds-eb7c82dc.js → compareIds-8c00aeb4.js} +1 -1
- package/cjs/{compareIds-eb7c82dc.js.map → compareIds-8c00aeb4.js.map} +1 -1
- package/cjs/{const-3ceaca5c.js → const-692c8ec4.js} +1 -1
- package/cjs/{const-3ceaca5c.js.map → const-692c8ec4.js.map} +1 -1
- package/cjs/{const-8b0c6ef1.js → const-e3a67a31.js} +1 -1
- package/cjs/{const-8b0c6ef1.js.map → const-e3a67a31.js.map} +1 -1
- package/cjs/{context-ca0ce6fa.js → context-df3ea28e.js} +2 -2
- package/cjs/{context-ca0ce6fa.js.map → context-df3ea28e.js.map} +1 -1
- package/cjs/{index-6f03baa8.js → index-200fff97.js} +2 -2
- package/cjs/{index-6f03baa8.js.map → index-200fff97.js.map} +1 -1
- package/cjs/{index-06c0cb5d.js → index-5b759304.js} +7 -7
- package/cjs/{index-06c0cb5d.js.map → index-5b759304.js.map} +1 -1
- package/cjs/{index-f1ad3c0d.js → index-6c53880c.js} +1 -1
- package/cjs/{index-f1ad3c0d.js.map → index-6c53880c.js.map} +1 -1
- package/cjs/{index-7f18a16f.js → index-7c35290e.js} +2 -2
- package/cjs/{index-7f18a16f.js.map → index-7c35290e.js.map} +1 -1
- package/cjs/{index-02154394.js → index-832708e6.js} +4 -4
- package/cjs/{index-02154394.js.map → index-832708e6.js.map} +1 -1
- package/cjs/{index-f42aafcc.js → index-8a4cee0d.js} +2 -2
- package/cjs/{index-f42aafcc.js.map → index-8a4cee0d.js.map} +1 -1
- package/cjs/{index-5ce5b5ef.js → index-93c444a5.js} +1 -1
- package/cjs/{index-5ce5b5ef.js.map → index-93c444a5.js.map} +1 -1
- package/cjs/{index-8d7bc2cf.js → index-aac53356.js} +4 -4
- package/cjs/{index-8d7bc2cf.js.map → index-aac53356.js.map} +1 -1
- package/cjs/{index-5513787c.js → index-d42411de.js} +2 -2
- package/cjs/{index-5513787c.js.map → index-d42411de.js.map} +1 -1
- package/cjs/{index-6c759d44.js → index-d459624c.js} +2 -2
- package/cjs/{index-6c759d44.js.map → index-d459624c.js.map} +1 -1
- package/cjs/{index-223b8a15.js → index-dcba8ae0.js} +5 -5
- package/cjs/{index-223b8a15.js.map → index-dcba8ae0.js.map} +1 -1
- package/cjs/index.js +34 -34
- package/cjs/sendbirdSelectors.js +2 -2
- package/cjs/{stringSet-b531455a.js → stringSet-c1f0eb5e.js} +1 -1
- package/cjs/{stringSet-b531455a.js.map → stringSet-c1f0eb5e.js.map} +1 -1
- package/cjs/{topics-14e5ee9f.js → topics-1a805c8d.js} +1 -1
- package/cjs/{topics-14e5ee9f.js.map → topics-1a805c8d.js.map} +1 -1
- package/cjs/{tslib.es6-ce6b9cf9.js → tslib.es6-7122e617.js} +1 -1
- package/cjs/{tslib.es6-ce6b9cf9.js.map → tslib.es6-7122e617.js.map} +1 -1
- package/cjs/ui/Accordion.js +3 -3
- package/cjs/ui/AccordionGroup.js +2 -2
- package/cjs/ui/AdminMessage.js +3 -3
- package/cjs/ui/Avatar.js +2 -2
- package/cjs/ui/Badge.js +5 -5
- package/cjs/ui/BottomSheet.js +1 -1
- package/cjs/ui/Button.js +3 -3
- package/cjs/ui/ChannelAvatar.js +3 -3
- package/cjs/ui/ConnectionStatus.js +4 -4
- package/cjs/ui/ContextMenu.js +5 -5
- package/cjs/ui/DateSeparator.js +4 -4
- package/cjs/ui/EmojiReactions.js +7 -7
- package/cjs/ui/FileMessageItemBody.js +6 -6
- package/cjs/ui/FileViewer.js +8 -8
- package/cjs/ui/IconButton.js +1 -1
- package/cjs/ui/ImageRenderer.js +1 -1
- package/cjs/ui/Input.js +2 -2
- package/cjs/ui/Label.js +2 -2
- package/cjs/ui/LinkLabel.js +2 -2
- package/cjs/ui/Loader.js +1 -1
- package/cjs/ui/MentionLabel.js +11 -11
- package/cjs/ui/MessageContent.js +16 -16
- package/cjs/ui/MessageInput.js +23 -16
- package/cjs/ui/MessageInput.js.map +1 -1
- package/cjs/ui/MessageItemMenu.js +7 -7
- package/cjs/ui/MessageItemReactionMenu.js +5 -5
- package/cjs/ui/MessageSearchFileItem.js +9 -9
- package/cjs/ui/MessageSearchItem.js +9 -9
- package/cjs/ui/MessageStatus.js +7 -7
- package/cjs/ui/Modal.js +7 -7
- package/cjs/ui/OGMessageItemBody.js +11 -11
- package/cjs/ui/OpenChannelAdminMessage.js +3 -3
- package/cjs/ui/OpenChannelAvatar.js +6 -6
- package/cjs/ui/OpenchannelConversationHeader.js +6 -6
- package/cjs/ui/OpenchannelFileMessage.js +16 -16
- package/cjs/ui/OpenchannelOGMessage.js +16 -16
- package/cjs/ui/OpenchannelThumbnailMessage.js +15 -15
- package/cjs/ui/OpenchannelUserMessage.js +16 -16
- package/cjs/ui/PlaceHolder.js +6 -6
- package/cjs/ui/QuoteMessage.js +6 -6
- package/cjs/ui/QuoteMessageInput.js +6 -6
- package/cjs/ui/ReactionBadge.js +3 -3
- package/cjs/ui/ReactionButton.js +1 -1
- package/cjs/ui/SortByRow.js +2 -2
- package/cjs/ui/TextButton.js +2 -2
- package/cjs/ui/TextMessageItemBody.js +11 -11
- package/cjs/ui/ThumbnailMessageItemBody.js +2 -2
- package/cjs/ui/Tooltip.js +3 -3
- package/cjs/ui/TooltipWrapper.js +1 -1
- package/cjs/ui/UnknownMessageItemBody.js +6 -6
- package/cjs/ui/UserListItem.js +11 -11
- package/cjs/ui/UserProfile.js +10 -10
- package/cjs/ui/Word.js +11 -11
- package/cjs/{useLongPress-ca8f8cd9.js → useLongPress-76811e64.js} +3 -3
- package/cjs/{useLongPress-ca8f8cd9.js.map → useLongPress-76811e64.js.map} +1 -1
- package/cjs/useSendbirdStateContext.js +1 -1
- package/cjs/{utils-54962329.js → utils-a757b63f.js} +1 -1
- package/cjs/{utils-54962329.js.map → utils-a757b63f.js.map} +1 -1
- package/cjs/{utils-b076caa2.js → utils-a9e5232a.js} +1 -1
- package/cjs/{utils-b076caa2.js.map → utils-a9e5232a.js.map} +1 -1
- package/cjs/{utils-d8b4def1.js → utils-c98ac06d.js} +1 -1
- package/cjs/{utils-d8b4def1.js.map → utils-c98ac06d.js.map} +1 -1
- package/cjs/{uuid-e0efb18c.js → uuid-0e4180d1.js} +1 -1
- package/cjs/{uuid-e0efb18c.js.map → uuid-0e4180d1.js.map} +1 -1
- package/cjs/withSendbird.js +1 -1
- package/{color-468f177a.js → color-baff39e6.js} +1 -1
- package/{color-468f177a.js.map → color-baff39e6.js.map} +1 -1
- package/{compareIds-7e80cfd0.js → compareIds-45cb6c7e.js} +1 -1
- package/{compareIds-7e80cfd0.js.map → compareIds-45cb6c7e.js.map} +1 -1
- package/{const-7a18ac0a.js → const-7f0a43cc.js} +1 -1
- package/{const-7a18ac0a.js.map → const-7f0a43cc.js.map} +1 -1
- package/{const-5feae56e.js → const-97f4dcf4.js} +1 -1
- package/{const-5feae56e.js.map → const-97f4dcf4.js.map} +1 -1
- package/{context-0e023b05.js → context-3e416fe0.js} +2 -2
- package/{context-0e023b05.js.map → context-3e416fe0.js.map} +1 -1
- package/{index-867e0d39.js → index-1f08f186.js} +2 -2
- package/{index-867e0d39.js.map → index-1f08f186.js.map} +1 -1
- package/{index-36f812a7.js → index-29c95f90.js} +4 -4
- package/{index-36f812a7.js.map → index-29c95f90.js.map} +1 -1
- package/{index-b8a1932a.js → index-55e004b6.js} +2 -2
- package/{index-b8a1932a.js.map → index-55e004b6.js.map} +1 -1
- package/{index-670435a8.js → index-5ba44303.js} +1 -1
- package/{index-670435a8.js.map → index-5ba44303.js.map} +1 -1
- package/{index-c4739f89.js → index-801ab41e.js} +2 -2
- package/{index-c4739f89.js.map → index-801ab41e.js.map} +1 -1
- package/{index-ec923bf5.js → index-a7f2d8fd.js} +4 -4
- package/{index-ec923bf5.js.map → index-a7f2d8fd.js.map} +1 -1
- package/{index-b4ee3569.js → index-b0bfb86e.js} +1 -1
- package/{index-b4ee3569.js.map → index-b0bfb86e.js.map} +1 -1
- package/{index-dcae1e38.js → index-b1fd400d.js} +5 -5
- package/{index-dcae1e38.js.map → index-b1fd400d.js.map} +1 -1
- package/{index-1c02ac0d.js → index-d993e454.js} +2 -2
- package/{index-1c02ac0d.js.map → index-d993e454.js.map} +1 -1
- package/{index-c4eefc9d.js → index-e80fbb97.js} +2 -2
- package/{index-c4eefc9d.js.map → index-e80fbb97.js.map} +1 -1
- package/{index-8b890de6.js → index-fde25086.js} +7 -7
- package/{index-8b890de6.js.map → index-fde25086.js.map} +1 -1
- package/index.d.ts +1 -1
- package/index.js +34 -34
- package/package.json +1 -1
- package/sendbirdSelectors.js +2 -2
- package/{stringSet-65cf83b4.js → stringSet-b9e1e7dc.js} +1 -1
- package/{stringSet-65cf83b4.js.map → stringSet-b9e1e7dc.js.map} +1 -1
- package/{topics-2ff5f12a.js → topics-9580e9ae.js} +1 -1
- package/{topics-2ff5f12a.js.map → topics-9580e9ae.js.map} +1 -1
- package/{tslib.es6-7fef98cd.js → tslib.es6-257c9dc0.js} +1 -1
- package/{tslib.es6-7fef98cd.js.map → tslib.es6-257c9dc0.js.map} +1 -1
- package/ui/Accordion.js +3 -3
- package/ui/AccordionGroup.js +2 -2
- package/ui/AdminMessage.js +3 -3
- package/ui/Avatar.js +2 -2
- package/ui/Badge.js +5 -5
- package/ui/BottomSheet.js +1 -1
- package/ui/Button.js +3 -3
- package/ui/ChannelAvatar.js +3 -3
- package/ui/ConnectionStatus.js +4 -4
- package/ui/ContextMenu.js +5 -5
- package/ui/DateSeparator.js +4 -4
- package/ui/EmojiReactions.js +7 -7
- package/ui/FileMessageItemBody.js +6 -6
- package/ui/FileViewer.js +8 -8
- package/ui/IconButton.js +1 -1
- package/ui/ImageRenderer.js +1 -1
- package/ui/Input.js +2 -2
- package/ui/Label.js +2 -2
- package/ui/LinkLabel.js +2 -2
- package/ui/Loader.js +1 -1
- package/ui/MentionLabel.js +11 -11
- package/ui/MessageContent.js +16 -16
- package/ui/MessageInput.js +23 -16
- package/ui/MessageInput.js.map +1 -1
- package/ui/MessageItemMenu.js +7 -7
- package/ui/MessageItemReactionMenu.js +5 -5
- package/ui/MessageSearchFileItem.js +9 -9
- package/ui/MessageSearchItem.js +9 -9
- package/ui/MessageStatus.js +7 -7
- package/ui/Modal.js +7 -7
- package/ui/OGMessageItemBody.js +11 -11
- package/ui/OpenChannelAdminMessage.js +3 -3
- package/ui/OpenChannelAvatar.js +6 -6
- package/ui/OpenchannelConversationHeader.js +6 -6
- package/ui/OpenchannelFileMessage.js +16 -16
- package/ui/OpenchannelOGMessage.js +16 -16
- package/ui/OpenchannelThumbnailMessage.js +15 -15
- package/ui/OpenchannelUserMessage.js +16 -16
- package/ui/PlaceHolder.js +6 -6
- package/ui/QuoteMessage.js +6 -6
- package/ui/QuoteMessageInput.js +6 -6
- package/ui/ReactionBadge.js +3 -3
- package/ui/ReactionButton.js +1 -1
- package/ui/SortByRow.js +2 -2
- package/ui/TextButton.js +2 -2
- package/ui/TextMessageItemBody.js +11 -11
- package/ui/ThumbnailMessageItemBody.js +2 -2
- package/ui/Tooltip.js +3 -3
- package/ui/TooltipWrapper.js +1 -1
- package/ui/UnknownMessageItemBody.js +6 -6
- package/ui/UserListItem.js +11 -11
- package/ui/UserProfile.js +10 -10
- package/ui/Word.js +11 -11
- package/{useLongPress-2c79297b.js → useLongPress-471668c2.js} +3 -3
- package/{useLongPress-2c79297b.js.map → useLongPress-471668c2.js.map} +1 -1
- package/useSendbirdStateContext.js +1 -1
- package/{utils-ac92824a.js → utils-27c9d41f.js} +1 -1
- package/{utils-ac92824a.js.map → utils-27c9d41f.js.map} +1 -1
- package/{utils-a3afc9f0.js → utils-63ed383e.js} +1 -1
- package/{utils-a3afc9f0.js.map → utils-63ed383e.js.map} +1 -1
- package/{utils-db039320.js → utils-f9a93d9a.js} +1 -1
- package/{utils-db039320.js.map → utils-f9a93d9a.js.map} +1 -1
- package/{uuid-68db8245.js → uuid-d2ed5e50.js} +1 -1
- package/{uuid-68db8245.js.map → uuid-d2ed5e50.js.map} +1 -1
- package/withSendbird.js +1 -1
- package/ChannelProvider-924d5a93.js.map +0 -1
- package/OpenChannelProvider-7a6eea29.js.map +0 -1
- package/_rollupPluginBabelHelpers-fa4874e9.js.map +0 -1
- package/cjs/ChannelProvider-b28cd92d.js.map +0 -1
- package/cjs/OpenChannelProvider-8b0e26a5.js.map +0 -1
- package/cjs/_rollupPluginBabelHelpers-c8ddc77e.js.map +0 -1
package/ui/AccordionGroup.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React__default, { useState } from 'react';
|
|
2
|
-
import { P as Provider } from '../context-
|
|
3
|
-
import '../utils-
|
|
2
|
+
import { P as Provider } from '../context-3e416fe0.js';
|
|
3
|
+
import '../utils-f9a93d9a.js';
|
|
4
4
|
|
|
5
5
|
// Wraps all the accordions in an accordion set
|
|
6
6
|
function AccordionGroup(_a) {
|
package/ui/AdminMessage.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { a as __spreadArray } from '../tslib.es6-
|
|
1
|
+
import { a as __spreadArray } from '../tslib.es6-257c9dc0.js';
|
|
2
2
|
import React__default from 'react';
|
|
3
|
-
import { L as Label, a as LabelTypography, b as LabelColors } from '../index-
|
|
3
|
+
import { L as Label, a as LabelTypography, b as LabelColors } from '../index-e80fbb97.js';
|
|
4
4
|
import 'prop-types';
|
|
5
|
-
import '../stringSet-
|
|
5
|
+
import '../stringSet-b9e1e7dc.js';
|
|
6
6
|
|
|
7
7
|
function AdminMessage(_a) {
|
|
8
8
|
var _b;
|
package/ui/Avatar.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { a as __spreadArray } from '../tslib.es6-
|
|
1
|
+
import { a as __spreadArray } from '../tslib.es6-257c9dc0.js';
|
|
2
2
|
import React__default from 'react';
|
|
3
3
|
import ImageRenderer from './ImageRenderer.js';
|
|
4
4
|
import Icon, { IconTypes, IconColors } from './Icon.js';
|
|
5
|
-
import { u as uuidv4 } from '../uuid-
|
|
5
|
+
import { u as uuidv4 } from '../uuid-d2ed5e50.js';
|
|
6
6
|
import 'prop-types';
|
|
7
7
|
|
|
8
8
|
var pxToNumber = (function (px) {
|
package/ui/Badge.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { a as __spreadArray } from '../tslib.es6-
|
|
1
|
+
import { a as __spreadArray } from '../tslib.es6-257c9dc0.js';
|
|
2
2
|
import React__default, { useContext } from 'react';
|
|
3
|
-
import { L as Label, a as LabelTypography, b as LabelColors } from '../index-
|
|
4
|
-
import { a as LocalizationContext } from '../LocalizationContext-
|
|
3
|
+
import { L as Label, a as LabelTypography, b as LabelColors } from '../index-e80fbb97.js';
|
|
4
|
+
import { a as LocalizationContext } from '../LocalizationContext-8c300642.js';
|
|
5
5
|
import 'prop-types';
|
|
6
|
-
import '../stringSet-
|
|
7
|
-
import '../index-
|
|
6
|
+
import '../stringSet-b9e1e7dc.js';
|
|
7
|
+
import '../index-5ba44303.js';
|
|
8
8
|
|
|
9
9
|
function Badge(_a) {
|
|
10
10
|
var count = _a.count,
|
package/ui/BottomSheet.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React__default, { useRef } from 'react';
|
|
2
2
|
import { createPortal } from 'react-dom';
|
|
3
|
-
import { M as MODAL_ROOT } from '../index-
|
|
3
|
+
import { M as MODAL_ROOT } from '../index-b0bfb86e.js';
|
|
4
4
|
|
|
5
5
|
var BottomSheet = function (props) {
|
|
6
6
|
var _a = props.className,
|
package/ui/Button.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { a as __spreadArray } from '../tslib.es6-
|
|
1
|
+
import { a as __spreadArray } from '../tslib.es6-257c9dc0.js';
|
|
2
2
|
import React__default from 'react';
|
|
3
|
-
import { L as Label, a as LabelTypography, b as LabelColors } from '../index-
|
|
3
|
+
import { L as Label, a as LabelTypography, b as LabelColors } from '../index-e80fbb97.js';
|
|
4
4
|
import 'prop-types';
|
|
5
|
-
import '../stringSet-
|
|
5
|
+
import '../stringSet-b9e1e7dc.js';
|
|
6
6
|
|
|
7
7
|
var ButtonTypes$1;
|
|
8
8
|
|
package/ui/ChannelAvatar.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React__default, { useMemo } from 'react';
|
|
2
2
|
import Avatar from './Avatar.js';
|
|
3
3
|
import Icon, { IconTypes, IconColors } from './Icon.js';
|
|
4
|
-
import { g as generateDefaultAvatar, a as getChannelAvatarSource } from '../utils-
|
|
5
|
-
import '../tslib.es6-
|
|
4
|
+
import { g as generateDefaultAvatar, a as getChannelAvatarSource } from '../utils-63ed383e.js';
|
|
5
|
+
import '../tslib.es6-257c9dc0.js';
|
|
6
6
|
import './ImageRenderer.js';
|
|
7
|
-
import '../uuid-
|
|
7
|
+
import '../uuid-d2ed5e50.js';
|
|
8
8
|
import 'prop-types';
|
|
9
9
|
|
|
10
10
|
function ChannelAvatar(_a) {
|
package/ui/ConnectionStatus.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React__default, { useContext } from 'react';
|
|
2
2
|
import Icon, { IconTypes, IconColors } from './Icon.js';
|
|
3
|
-
import { L as Label, a as LabelTypography, b as LabelColors } from '../index-
|
|
4
|
-
import { a as LocalizationContext } from '../LocalizationContext-
|
|
3
|
+
import { L as Label, a as LabelTypography, b as LabelColors } from '../index-e80fbb97.js';
|
|
4
|
+
import { a as LocalizationContext } from '../LocalizationContext-8c300642.js';
|
|
5
5
|
import 'prop-types';
|
|
6
|
-
import '../stringSet-
|
|
7
|
-
import '../index-
|
|
6
|
+
import '../stringSet-b9e1e7dc.js';
|
|
7
|
+
import '../index-5ba44303.js';
|
|
8
8
|
|
|
9
9
|
function ConnectionStatus() {
|
|
10
10
|
var stringSet = useContext(LocalizationContext).stringSet;
|
package/ui/ContextMenu.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import React__default, { useState, useRef, useEffect } from 'react';
|
|
2
|
-
import { b as __extends, _ as __assign } from '../tslib.es6-
|
|
2
|
+
import { b as __extends, _ as __assign } from '../tslib.es6-257c9dc0.js';
|
|
3
3
|
import { createPortal } from 'react-dom';
|
|
4
4
|
import SortByRow from './SortByRow.js';
|
|
5
|
-
import { h as getClassName } from '../index-
|
|
6
|
-
import { L as Label, a as LabelTypography, b as LabelColors } from '../index-
|
|
7
|
-
import '../uuid-
|
|
5
|
+
import { h as getClassName } from '../index-1f08f186.js';
|
|
6
|
+
import { L as Label, a as LabelTypography, b as LabelColors } from '../index-e80fbb97.js';
|
|
7
|
+
import '../uuid-d2ed5e50.js';
|
|
8
8
|
import '../utils/message/getOutgoingMessageState.js';
|
|
9
9
|
import 'prop-types';
|
|
10
|
-
import '../stringSet-
|
|
10
|
+
import '../stringSet-b9e1e7dc.js';
|
|
11
11
|
|
|
12
12
|
var MenuItems$1 =
|
|
13
13
|
/** @class */
|
package/ui/DateSeparator.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { a as __spreadArray } from '../tslib.es6-
|
|
1
|
+
import { a as __spreadArray } from '../tslib.es6-257c9dc0.js';
|
|
2
2
|
import React__default from 'react';
|
|
3
|
-
import { C as Colors, c as changeColorToClassName } from '../color-
|
|
4
|
-
import { L as Label, a as LabelTypography, b as LabelColors } from '../index-
|
|
3
|
+
import { C as Colors, c as changeColorToClassName } from '../color-baff39e6.js';
|
|
4
|
+
import { L as Label, a as LabelTypography, b as LabelColors } from '../index-e80fbb97.js';
|
|
5
5
|
import 'prop-types';
|
|
6
|
-
import '../stringSet-
|
|
6
|
+
import '../stringSet-b9e1e7dc.js';
|
|
7
7
|
|
|
8
8
|
var DateSeparator = function (_a) {
|
|
9
9
|
var _b = _a.children,
|
package/ui/EmojiReactions.js
CHANGED
|
@@ -6,17 +6,17 @@ import ReactionButton from './ReactionButton.js';
|
|
|
6
6
|
import ImageRenderer from './ImageRenderer.js';
|
|
7
7
|
import Icon, { IconTypes, IconColors } from './Icon.js';
|
|
8
8
|
import ContextMenu, { EmojiListItems } from './ContextMenu.js';
|
|
9
|
-
import { G as getEmojiMapAll, h as getClassName, H as isReactedBy, I as getEmojiTooltipString, x as getEmojiListAll } from '../index-
|
|
10
|
-
import { a as LocalizationContext } from '../LocalizationContext-
|
|
11
|
-
import '../tslib.es6-
|
|
12
|
-
import '../index-
|
|
9
|
+
import { G as getEmojiMapAll, h as getClassName, H as isReactedBy, I as getEmojiTooltipString, x as getEmojiListAll } from '../index-1f08f186.js';
|
|
10
|
+
import { a as LocalizationContext } from '../LocalizationContext-8c300642.js';
|
|
11
|
+
import '../tslib.es6-257c9dc0.js';
|
|
12
|
+
import '../index-e80fbb97.js';
|
|
13
13
|
import 'prop-types';
|
|
14
|
-
import '../stringSet-
|
|
14
|
+
import '../stringSet-b9e1e7dc.js';
|
|
15
15
|
import 'react-dom';
|
|
16
16
|
import './SortByRow.js';
|
|
17
|
-
import '../uuid-
|
|
17
|
+
import '../uuid-d2ed5e50.js';
|
|
18
18
|
import '../utils/message/getOutgoingMessageState.js';
|
|
19
|
-
import '../index-
|
|
19
|
+
import '../index-5ba44303.js';
|
|
20
20
|
|
|
21
21
|
var EmojiReactions = function (_a) {
|
|
22
22
|
var _b, _c;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
|
-
import { L as Label, a as LabelTypography, b as LabelColors } from '../index-
|
|
2
|
+
import { L as Label, a as LabelTypography, b as LabelColors } from '../index-e80fbb97.js';
|
|
3
3
|
import Icon, { IconTypes, IconColors } from './Icon.js';
|
|
4
4
|
import TextButton from './TextButton.js';
|
|
5
|
-
import { h as getClassName, J as getUIKitFileType, t as truncateString } from '../index-
|
|
6
|
-
import { C as Colors } from '../color-
|
|
7
|
-
import { u as useMediaQueryContext } from '../MediaQueryContext-
|
|
5
|
+
import { h as getClassName, J as getUIKitFileType, t as truncateString } from '../index-1f08f186.js';
|
|
6
|
+
import { C as Colors } from '../color-baff39e6.js';
|
|
7
|
+
import { u as useMediaQueryContext } from '../MediaQueryContext-fbda8d54.js';
|
|
8
8
|
import 'prop-types';
|
|
9
|
-
import '../stringSet-
|
|
10
|
-
import '../tslib.es6-
|
|
9
|
+
import '../stringSet-b9e1e7dc.js';
|
|
10
|
+
import '../tslib.es6-257c9dc0.js';
|
|
11
11
|
import '../utils/message/getOutgoingMessageState.js';
|
|
12
12
|
|
|
13
13
|
function FileMessageItemBody(_a) {
|
package/ui/FileViewer.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import React__default, { useContext } from 'react';
|
|
2
2
|
import { createPortal } from 'react-dom';
|
|
3
|
-
import { a as LocalizationContext } from '../LocalizationContext-
|
|
4
|
-
import { M as MODAL_ROOT } from '../index-
|
|
5
|
-
import { D as isSupportedFileView, E as isVideo, F as isImage } from '../index-
|
|
3
|
+
import { a as LocalizationContext } from '../LocalizationContext-8c300642.js';
|
|
4
|
+
import { M as MODAL_ROOT } from '../index-b0bfb86e.js';
|
|
5
|
+
import { D as isSupportedFileView, E as isVideo, F as isImage } from '../index-1f08f186.js';
|
|
6
6
|
import Avatar from './Avatar.js';
|
|
7
|
-
import { L as Label, a as LabelTypography, b as LabelColors } from '../index-
|
|
7
|
+
import { L as Label, a as LabelTypography, b as LabelColors } from '../index-e80fbb97.js';
|
|
8
8
|
import Icon, { IconTypes, IconColors } from './Icon.js';
|
|
9
|
-
import '../stringSet-
|
|
10
|
-
import '../index-
|
|
11
|
-
import '../tslib.es6-
|
|
9
|
+
import '../stringSet-b9e1e7dc.js';
|
|
10
|
+
import '../index-5ba44303.js';
|
|
11
|
+
import '../tslib.es6-257c9dc0.js';
|
|
12
12
|
import '../utils/message/getOutgoingMessageState.js';
|
|
13
13
|
import './ImageRenderer.js';
|
|
14
|
-
import '../uuid-
|
|
14
|
+
import '../uuid-d2ed5e50.js';
|
|
15
15
|
import 'prop-types';
|
|
16
16
|
|
|
17
17
|
var FileViewerComponent = function (_a) {
|
package/ui/IconButton.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as __spreadArray, _ as __assign } from '../tslib.es6-
|
|
1
|
+
import { a as __spreadArray, _ as __assign } from '../tslib.es6-257c9dc0.js';
|
|
2
2
|
import React__default, { useState } from 'react';
|
|
3
3
|
|
|
4
4
|
var IconButton = /*#__PURE__*/React__default.forwardRef(function (props, ref) {
|
package/ui/ImageRenderer.js
CHANGED
package/ui/Input.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React__default, { useState } from 'react';
|
|
2
|
-
import { L as Label, a as LabelTypography, b as LabelColors } from '../index-
|
|
2
|
+
import { L as Label, a as LabelTypography, b as LabelColors } from '../index-e80fbb97.js';
|
|
3
3
|
import 'prop-types';
|
|
4
|
-
import '../stringSet-
|
|
4
|
+
import '../stringSet-b9e1e7dc.js';
|
|
5
5
|
|
|
6
6
|
var InputLabel = function (_a) {
|
|
7
7
|
var children = _a.children;
|
package/ui/Label.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import 'react';
|
|
2
2
|
import 'prop-types';
|
|
3
|
-
export { b as LabelColors, c as LabelStringSet, a as LabelTypography, L as default } from '../index-
|
|
4
|
-
import '../stringSet-
|
|
3
|
+
export { b as LabelColors, c as LabelStringSet, a as LabelTypography, L as default } from '../index-e80fbb97.js';
|
|
4
|
+
import '../stringSet-b9e1e7dc.js';
|
|
5
5
|
//# sourceMappingURL=Label.js.map
|
package/ui/LinkLabel.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
|
-
import { d as changeColorToClassName, L as Label, a as LabelTypography, b as LabelColors } from '../index-
|
|
4
|
-
import '../stringSet-
|
|
3
|
+
import { d as changeColorToClassName, L as Label, a as LabelTypography, b as LabelColors } from '../index-e80fbb97.js';
|
|
4
|
+
import '../stringSet-b9e1e7dc.js';
|
|
5
5
|
|
|
6
6
|
const http = /https?:\/\//;
|
|
7
7
|
function LinkLabel(_ref) {
|
package/ui/Loader.js
CHANGED
package/ui/MentionLabel.js
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import React__default, { useRef, useState, useCallback } from 'react';
|
|
2
2
|
import ContextMenu, { MenuItems } from './ContextMenu.js';
|
|
3
|
-
import { L as Label, a as LabelTypography, b as LabelColors } from '../index-
|
|
3
|
+
import { L as Label, a as LabelTypography, b as LabelColors } from '../index-e80fbb97.js';
|
|
4
4
|
import ConnectedUserProfile from './UserProfile.js';
|
|
5
5
|
import useSendbirdStateContext from '../useSendbirdStateContext.js';
|
|
6
|
-
import '../tslib.es6-
|
|
6
|
+
import '../tslib.es6-257c9dc0.js';
|
|
7
7
|
import 'react-dom';
|
|
8
8
|
import './SortByRow.js';
|
|
9
|
-
import '../uuid-
|
|
10
|
-
import '../index-
|
|
9
|
+
import '../uuid-d2ed5e50.js';
|
|
10
|
+
import '../index-1f08f186.js';
|
|
11
11
|
import '../utils/message/getOutgoingMessageState.js';
|
|
12
12
|
import 'prop-types';
|
|
13
|
-
import '../stringSet-
|
|
14
|
-
import '../LocalizationContext-
|
|
15
|
-
import '../index-
|
|
13
|
+
import '../stringSet-b9e1e7dc.js';
|
|
14
|
+
import '../LocalizationContext-8c300642.js';
|
|
15
|
+
import '../index-5ba44303.js';
|
|
16
16
|
import '../withSendbird.js';
|
|
17
|
-
import '../_rollupPluginBabelHelpers-
|
|
18
|
-
import '../UserProfileContext-
|
|
17
|
+
import '../_rollupPluginBabelHelpers-cdd0b511.js';
|
|
18
|
+
import '../UserProfileContext-5678a04f.js';
|
|
19
19
|
import '../sendbirdSelectors.js';
|
|
20
|
-
import '../topics-
|
|
21
|
-
import '../utils-
|
|
20
|
+
import '../topics-9580e9ae.js';
|
|
21
|
+
import '../utils-f9a93d9a.js';
|
|
22
22
|
import './Avatar.js';
|
|
23
23
|
import './ImageRenderer.js';
|
|
24
24
|
import './Icon.js';
|
package/ui/MessageContent.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { a as _extends } from '../_rollupPluginBabelHelpers-
|
|
2
|
-
import { _ as __assign } from '../tslib.es6-
|
|
1
|
+
import { a as _extends } from '../_rollupPluginBabelHelpers-cdd0b511.js';
|
|
2
|
+
import { _ as __assign } from '../tslib.es6-257c9dc0.js';
|
|
3
3
|
import React__default, { useState, useContext, useRef } from 'react';
|
|
4
|
-
import { f as format } from '../index-
|
|
4
|
+
import { f as format } from '../index-55e004b6.js';
|
|
5
5
|
import Avatar from './Avatar.js';
|
|
6
6
|
import ConnectedUserProfile from './UserProfile.js';
|
|
7
7
|
import MessageStatus from './MessageStatus.js';
|
|
8
8
|
import MessageItemMenu from './MessageItemMenu.js';
|
|
9
9
|
import MessageItemReactionMenu from './MessageItemReactionMenu.js';
|
|
10
10
|
import ContextMenu, { MenuItems, MenuItem } from './ContextMenu.js';
|
|
11
|
-
import { L as Label, a as LabelTypography, b as LabelColors } from '../index-
|
|
11
|
+
import { L as Label, a as LabelTypography, b as LabelColors } from '../index-e80fbb97.js';
|
|
12
12
|
import EmojiReactions from './EmojiReactions.js';
|
|
13
13
|
import AdminMessage from './AdminMessage.js';
|
|
14
14
|
import TextMessageItemBody from './TextMessageItemBody.js';
|
|
@@ -17,25 +17,25 @@ import ThumbnailMessageItemBody from './ThumbnailMessageItemBody.js';
|
|
|
17
17
|
import OGMessageItemBody from './OGMessageItemBody.js';
|
|
18
18
|
import UnknownMessageItemBody from './UnknownMessageItemBody.js';
|
|
19
19
|
import QuoteMessage from './QuoteMessage.js';
|
|
20
|
-
import { r as isUserMessage, s as isSentMessage, u as isFailedMessage, v as isPendingMessage, l as isFileMessage, w as copyToClipboard, x as getEmojiListAll, y as getUIKitMessageTypes, h as getClassName, z as getSenderName, A as isTextMessage, B as isOGMessage, C as getUIKitMessageType, n as isThumbnailMessage } from '../index-
|
|
21
|
-
import { a as UserProfileContext } from '../UserProfileContext-
|
|
22
|
-
import { u as useLocalization } from '../LocalizationContext-
|
|
20
|
+
import { r as isUserMessage, s as isSentMessage, u as isFailedMessage, v as isPendingMessage, l as isFileMessage, w as copyToClipboard, x as getEmojiListAll, y as getUIKitMessageTypes, h as getClassName, z as getSenderName, A as isTextMessage, B as isOGMessage, C as getUIKitMessageType, n as isThumbnailMessage } from '../index-1f08f186.js';
|
|
21
|
+
import { a as UserProfileContext } from '../UserProfileContext-5678a04f.js';
|
|
22
|
+
import { u as useLocalization } from '../LocalizationContext-8c300642.js';
|
|
23
23
|
import useSendbirdStateContext from '../useSendbirdStateContext.js';
|
|
24
|
-
import { u as useLongPress } from '../useLongPress-
|
|
24
|
+
import { u as useLongPress } from '../useLongPress-471668c2.js';
|
|
25
25
|
import Icon, { IconTypes, IconColors } from './Icon.js';
|
|
26
26
|
import BottomSheet from './BottomSheet.js';
|
|
27
27
|
import ImageRenderer from './ImageRenderer.js';
|
|
28
28
|
import ReactionButton from './ReactionButton.js';
|
|
29
|
-
import { u as useMediaQueryContext } from '../MediaQueryContext-
|
|
30
|
-
import '../index-
|
|
31
|
-
import '../uuid-
|
|
29
|
+
import { u as useMediaQueryContext } from '../MediaQueryContext-fbda8d54.js';
|
|
30
|
+
import '../index-5ba44303.js';
|
|
31
|
+
import '../uuid-d2ed5e50.js';
|
|
32
32
|
import 'prop-types';
|
|
33
33
|
import '../withSendbird.js';
|
|
34
34
|
import '../sendbirdSelectors.js';
|
|
35
|
-
import '../topics-
|
|
36
|
-
import '../utils-
|
|
35
|
+
import '../topics-9580e9ae.js';
|
|
36
|
+
import '../utils-f9a93d9a.js';
|
|
37
37
|
import './Button.js';
|
|
38
|
-
import '../stringSet-
|
|
38
|
+
import '../stringSet-b9e1e7dc.js';
|
|
39
39
|
import './Loader.js';
|
|
40
40
|
import '../utils/message/getOutgoingMessageState.js';
|
|
41
41
|
import './IconButton.js';
|
|
@@ -48,8 +48,8 @@ import './Word.js';
|
|
|
48
48
|
import './LinkLabel.js';
|
|
49
49
|
import './MentionLabel.js';
|
|
50
50
|
import './TextButton.js';
|
|
51
|
-
import '../color-
|
|
52
|
-
import '../index-
|
|
51
|
+
import '../color-baff39e6.js';
|
|
52
|
+
import '../index-b0bfb86e.js';
|
|
53
53
|
|
|
54
54
|
var MobileContextMenu = function (props) {
|
|
55
55
|
var _a;
|
package/ui/MessageInput.js
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { _ as _objectSpread2 } from '../_rollupPluginBabelHelpers-
|
|
1
|
+
import { _ as _objectSpread2 } from '../_rollupPluginBabelHelpers-cdd0b511.js';
|
|
2
2
|
import React__default, { useContext, useRef, useState, useMemo, useEffect, useCallback } from 'react';
|
|
3
3
|
import { renderToString } from 'react-dom/server';
|
|
4
4
|
import PropTypes from 'prop-types';
|
|
5
|
-
import { N as NodeTypes, M as MessageInputKeys, a as NodeNames } from '../const-
|
|
6
|
-
import { U as USER_MENTION_TEMP_CHAR } from '../const-
|
|
5
|
+
import { N as NodeTypes, M as MessageInputKeys, a as NodeNames } from '../const-97f4dcf4.js';
|
|
6
|
+
import { U as USER_MENTION_TEMP_CHAR } from '../const-7f0a43cc.js';
|
|
7
7
|
import IconButton from './IconButton.js';
|
|
8
8
|
import Button, { ButtonTypes, ButtonSizes } from './Button.js';
|
|
9
9
|
import MentionUserLabel from './MentionUserLabel.js';
|
|
10
10
|
import Icon, { IconTypes, IconColors } from './Icon.js';
|
|
11
|
-
import { L as Label, a as LabelTypography, b as LabelColors } from '../index-
|
|
12
|
-
import { a as LocalizationContext } from '../LocalizationContext-
|
|
13
|
-
import { j as convertWordToStringObj, S as StringObjType, k as arrayEqual, h as getClassName } from '../index-
|
|
14
|
-
import '../tslib.es6-
|
|
15
|
-
import '../stringSet-
|
|
16
|
-
import '../index-
|
|
11
|
+
import { L as Label, a as LabelTypography, b as LabelColors } from '../index-e80fbb97.js';
|
|
12
|
+
import { a as LocalizationContext } from '../LocalizationContext-8c300642.js';
|
|
13
|
+
import { j as convertWordToStringObj, S as StringObjType, k as arrayEqual, h as getClassName } from '../index-1f08f186.js';
|
|
14
|
+
import '../tslib.es6-257c9dc0.js';
|
|
15
|
+
import '../stringSet-b9e1e7dc.js';
|
|
16
|
+
import '../index-5ba44303.js';
|
|
17
17
|
import '../utils/message/getOutgoingMessageState.js';
|
|
18
18
|
|
|
19
19
|
const TEXT_FIELD_ID = 'sendbird-message-input-text-field';
|
|
@@ -40,6 +40,13 @@ const displayCaret = (element, position) => {
|
|
|
40
40
|
element.focus();
|
|
41
41
|
};
|
|
42
42
|
|
|
43
|
+
const resetInput = ref => {
|
|
44
|
+
try {
|
|
45
|
+
ref.current.innerHTML = '';
|
|
46
|
+
} catch (_unused) {//
|
|
47
|
+
}
|
|
48
|
+
};
|
|
49
|
+
|
|
43
50
|
const initialTargetStringInfo = {
|
|
44
51
|
targetString: '',
|
|
45
52
|
startNodeIndex: null,
|
|
@@ -106,7 +113,7 @@ const MessageInput = /*#__PURE__*/React__default.forwardRef((props, ref) => {
|
|
|
106
113
|
try {
|
|
107
114
|
textField.innerHTML = initialValue;
|
|
108
115
|
displayCaret(textField, initialValue === null || initialValue === void 0 ? void 0 : initialValue.length);
|
|
109
|
-
} catch (
|
|
116
|
+
} catch (_unused2) {}
|
|
110
117
|
|
|
111
118
|
setMentionedUserIds([]);
|
|
112
119
|
setIsInput((textField === null || textField === void 0 ? void 0 : (_textField$innerText = textField.innerText) === null || _textField$innerText === void 0 ? void 0 : _textField$innerText.length) > 0);
|
|
@@ -116,7 +123,7 @@ const MessageInput = /*#__PURE__*/React__default.forwardRef((props, ref) => {
|
|
|
116
123
|
useEffect(() => {
|
|
117
124
|
if (!isEdit) {
|
|
118
125
|
setIsInput(false);
|
|
119
|
-
|
|
126
|
+
resetInput(ref);
|
|
120
127
|
}
|
|
121
128
|
}, [channelUrl]); // #Mention | Fill message input values
|
|
122
129
|
|
|
@@ -155,7 +162,7 @@ const MessageInput = /*#__PURE__*/React__default.forwardRef((props, ref) => {
|
|
|
155
162
|
/* mention disabled */
|
|
156
163
|
try {
|
|
157
164
|
textField.innerHTML = message === null || message === void 0 ? void 0 : message.message;
|
|
158
|
-
} catch (
|
|
165
|
+
} catch (_unused3) {}
|
|
159
166
|
|
|
160
167
|
setMentionedUserIds([]);
|
|
161
168
|
}
|
|
@@ -337,7 +344,7 @@ const MessageInput = /*#__PURE__*/React__default.forwardRef((props, ref) => {
|
|
|
337
344
|
mentionTemplate
|
|
338
345
|
};
|
|
339
346
|
onSendMessage(params);
|
|
340
|
-
|
|
347
|
+
resetInput(ref);
|
|
341
348
|
setIsInput(false);
|
|
342
349
|
setHeight();
|
|
343
350
|
}
|
|
@@ -379,7 +386,7 @@ const MessageInput = /*#__PURE__*/React__default.forwardRef((props, ref) => {
|
|
|
379
386
|
mentionTemplate
|
|
380
387
|
};
|
|
381
388
|
onUpdateMessage(params);
|
|
382
|
-
|
|
389
|
+
resetInput(ref);
|
|
383
390
|
}
|
|
384
391
|
};
|
|
385
392
|
|
|
@@ -427,11 +434,11 @@ const MessageInput = /*#__PURE__*/React__default.forwardRef((props, ref) => {
|
|
|
427
434
|
useMentionInputDetection();
|
|
428
435
|
},
|
|
429
436
|
onInput: () => {
|
|
430
|
-
var
|
|
437
|
+
var _ref$current3, _ref$current3$innerTe;
|
|
431
438
|
|
|
432
439
|
setHeight();
|
|
433
440
|
onStartTyping();
|
|
434
|
-
setIsInput((
|
|
441
|
+
setIsInput((ref === null || ref === void 0 ? void 0 : (_ref$current3 = ref.current) === null || _ref$current3 === void 0 ? void 0 : (_ref$current3$innerTe = _ref$current3.innerText) === null || _ref$current3$innerTe === void 0 ? void 0 : _ref$current3$innerTe.length) > 0);
|
|
435
442
|
useMentionedLabelDetection();
|
|
436
443
|
},
|
|
437
444
|
onPaste: e => {
|