@sendbird/uikit-react 3.0.0 → 3.0.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 +40 -32
- package/App.js.map +1 -1
- package/CHANGELOG.md +12 -0
- package/Channel/components/ChannelHeader.js +17 -17
- package/Channel/components/ChannelUI.js +24 -24
- package/Channel/components/FileViewer.js +16 -16
- package/Channel/components/FrozenNotification.js +5 -5
- package/Channel/components/Message.js +21 -21
- package/Channel/components/MessageInput.js +18 -18
- package/Channel/components/MessageList.js +23 -23
- package/Channel/components/RemoveMessageModal.js +19 -19
- package/Channel/components/SuggestedMentionList.js +17 -17
- package/Channel/components/TypingIndicator.js +19 -17
- package/Channel/components/TypingIndicator.js.map +1 -1
- package/Channel/components/UnreadCount.js +5 -5
- package/Channel/context.js +15 -15
- package/Channel.js +24 -24
- package/ChannelList/components/AddChannel.js +14 -14
- package/ChannelList/components/ChannelListHeader.js +7 -7
- package/ChannelList/components/ChannelListUI.js +28 -28
- package/ChannelList/components/ChannelPreview.js +21 -21
- package/ChannelList/components/ChannelPreviewAction.js +16 -16
- package/ChannelList/context.js +10 -10
- package/ChannelList.js +28 -28
- package/ChannelList.js.map +1 -1
- package/{ChannelListProvider-bc1f14ac.js → ChannelListProvider-471abb8f.js} +9 -9
- package/{ChannelListProvider-bc1f14ac.js.map → ChannelListProvider-471abb8f.js.map} +1 -1
- package/{ChannelProvider-3d7434a2.js → ChannelProvider-01a680e0.js} +11 -11
- package/{ChannelProvider-3d7434a2.js.map → ChannelProvider-01a680e0.js.map} +1 -1
- package/ChannelSettings/components/ChannelProfile.js +13 -13
- package/ChannelSettings/components/ChannelSettingsUI.js +18 -18
- package/ChannelSettings/components/EditDetailsModal.js +13 -13
- package/ChannelSettings/components/LeaveChannel.js +10 -10
- package/ChannelSettings/components/ModerationPanel.js +15 -15
- 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 +18 -18
- package/CreateChannel/components/CreateChannelUI.js +21 -17
- package/CreateChannel/components/CreateChannelUI.js.map +1 -1
- package/CreateChannel/components/InviteUsers.js +17 -16
- package/CreateChannel/components/InviteUsers.js.map +1 -1
- package/CreateChannel/components/SelectChannelType.js +10 -10
- package/CreateChannel/context.js +4 -4
- package/CreateChannel.js +14 -14
- package/{CreateChannelProvider-8464145a.js → CreateChannelProvider-efa959ed.js} +1 -1
- package/CreateChannelProvider-efa959ed.js.map +1 -0
- package/EditUserProfile/components/EditUserProfileUI.js +13 -13
- package/EditUserProfile.js +13 -13
- package/{LocalizationContext-4b1ec8b9.js → LocalizationContext-7f115178.js} +3 -3
- package/{LocalizationContext-4b1ec8b9.js.map → LocalizationContext-7f115178.js.map} +1 -1
- package/{MemberList-0f94f1c7.js → MemberList-9863866e.js} +17 -16
- package/MemberList-9863866e.js.map +1 -0
- package/MessageSearch/components/MessageSearchUI.js +11 -11
- package/MessageSearch/context.js +2 -2
- package/MessageSearch.js +11 -11
- package/OpenChannel/components/FrozenChannelNotification.js +5 -5
- package/OpenChannel/components/OpenChannelHeader.js +14 -14
- package/OpenChannel/components/OpenChannelInput.js +18 -18
- package/OpenChannel/components/OpenChannelMessage.js +23 -23
- package/OpenChannel/components/OpenChannelMessageList.js +25 -25
- package/OpenChannel/components/OpenChannelUI.js +25 -25
- package/OpenChannel/context.js +11 -11
- package/OpenChannel.js +25 -25
- package/{OpenChannelProvider-c9d83594.js → OpenChannelProvider-d11382d9.js} +9 -9
- package/{OpenChannelProvider-c9d83594.js.map → OpenChannelProvider-d11382d9.js.map} +1 -1
- package/OpenChannelSettings/components/EditDetailsModal.js +13 -13
- package/OpenChannelSettings/components/OpenChannelProfile.js +13 -13
- package/OpenChannelSettings/components/OpenChannelSettingsUI.js +17 -17
- package/OpenChannelSettings/components/OperatorUI.js +16 -16
- package/OpenChannelSettings/components/ParticipantUI.js +14 -14
- package/OpenChannelSettings/context.js +2 -2
- package/OpenChannelSettings.js +17 -17
- package/SendbirdProvider.js +25 -13
- package/SendbirdProvider.js.map +1 -1
- package/{UserProfileContext-d0287bb6.js → UserProfileContext-eccdbd50.js} +1 -1
- package/{UserProfileContext-d0287bb6.js.map → UserProfileContext-eccdbd50.js.map} +1 -1
- package/{__bundle-7dfccc8c-36a58bd4.js → __bundle-7dfccc8c-62bd23b5.js} +1 -1
- package/{__bundle-7dfccc8c-36a58bd4.js.map → __bundle-7dfccc8c-62bd23b5.js.map} +1 -1
- package/{_rollupPluginBabelHelpers-abbcef5e.js → _rollupPluginBabelHelpers-2a8797d8.js} +1 -1
- package/{_rollupPluginBabelHelpers-abbcef5e.js.map → _rollupPluginBabelHelpers-2a8797d8.js.map} +1 -1
- package/{actionTypes-d0ccd7e4.js → actionTypes-a992088f.js} +1 -1
- package/{actionTypes-d0ccd7e4.js.map → actionTypes-a992088f.js.map} +1 -1
- package/cjs/App.js +40 -32
- package/cjs/App.js.map +1 -1
- package/cjs/Channel/components/ChannelHeader.js +17 -17
- package/cjs/Channel/components/ChannelUI.js +24 -24
- package/cjs/Channel/components/FileViewer.js +16 -16
- package/cjs/Channel/components/FrozenNotification.js +5 -5
- package/cjs/Channel/components/Message.js +21 -21
- package/cjs/Channel/components/MessageInput.js +18 -18
- package/cjs/Channel/components/MessageList.js +23 -23
- package/cjs/Channel/components/RemoveMessageModal.js +19 -19
- package/cjs/Channel/components/SuggestedMentionList.js +17 -17
- package/cjs/Channel/components/TypingIndicator.js +19 -17
- package/cjs/Channel/components/TypingIndicator.js.map +1 -1
- package/cjs/Channel/components/UnreadCount.js +5 -5
- package/cjs/Channel/context.js +15 -15
- package/cjs/Channel.js +24 -24
- package/cjs/ChannelList/components/AddChannel.js +14 -14
- package/cjs/ChannelList/components/ChannelListHeader.js +7 -7
- package/cjs/ChannelList/components/ChannelListUI.js +28 -28
- package/cjs/ChannelList/components/ChannelPreview.js +21 -21
- package/cjs/ChannelList/components/ChannelPreviewAction.js +16 -16
- package/cjs/ChannelList/context.js +10 -10
- package/cjs/ChannelList.js +28 -28
- package/cjs/ChannelList.js.map +1 -1
- package/cjs/{ChannelListProvider-8157ae01.js → ChannelListProvider-8632f526.js} +9 -9
- package/cjs/{ChannelListProvider-8157ae01.js.map → ChannelListProvider-8632f526.js.map} +1 -1
- package/cjs/{ChannelProvider-793fddf5.js → ChannelProvider-5e683eb1.js} +11 -11
- package/cjs/{ChannelProvider-793fddf5.js.map → ChannelProvider-5e683eb1.js.map} +1 -1
- package/cjs/ChannelSettings/components/ChannelProfile.js +13 -13
- package/cjs/ChannelSettings/components/ChannelSettingsUI.js +18 -18
- package/cjs/ChannelSettings/components/EditDetailsModal.js +13 -13
- package/cjs/ChannelSettings/components/LeaveChannel.js +10 -10
- package/cjs/ChannelSettings/components/ModerationPanel.js +15 -15
- 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 +18 -18
- package/cjs/CreateChannel/components/CreateChannelUI.js +21 -17
- package/cjs/CreateChannel/components/CreateChannelUI.js.map +1 -1
- package/cjs/CreateChannel/components/InviteUsers.js +17 -16
- package/cjs/CreateChannel/components/InviteUsers.js.map +1 -1
- package/cjs/CreateChannel/components/SelectChannelType.js +10 -10
- package/cjs/CreateChannel/context.js +4 -4
- package/cjs/CreateChannel.js +14 -14
- package/cjs/{CreateChannelProvider-b462ce84.js → CreateChannelProvider-7f6cf793.js} +1 -1
- package/cjs/CreateChannelProvider-7f6cf793.js.map +1 -0
- package/cjs/EditUserProfile/components/EditUserProfileUI.js +13 -13
- package/cjs/EditUserProfile.js +13 -13
- package/cjs/{LocalizationContext-855bfc31.js → LocalizationContext-0537da22.js} +3 -3
- package/cjs/{LocalizationContext-855bfc31.js.map → LocalizationContext-0537da22.js.map} +1 -1
- package/cjs/{MemberList-c446abed.js → MemberList-4efb8994.js} +17 -16
- package/cjs/MemberList-4efb8994.js.map +1 -0
- 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 +5 -5
- package/cjs/OpenChannel/components/OpenChannelHeader.js +14 -14
- package/cjs/OpenChannel/components/OpenChannelInput.js +18 -18
- package/cjs/OpenChannel/components/OpenChannelMessage.js +23 -23
- package/cjs/OpenChannel/components/OpenChannelMessageList.js +25 -25
- package/cjs/OpenChannel/components/OpenChannelUI.js +25 -25
- package/cjs/OpenChannel/context.js +11 -11
- package/cjs/OpenChannel.js +25 -25
- package/cjs/{OpenChannelProvider-2264dc27.js → OpenChannelProvider-7969a8c0.js} +9 -9
- package/cjs/{OpenChannelProvider-2264dc27.js.map → OpenChannelProvider-7969a8c0.js.map} +1 -1
- package/cjs/OpenChannelSettings/components/EditDetailsModal.js +13 -13
- package/cjs/OpenChannelSettings/components/OpenChannelProfile.js +13 -13
- package/cjs/OpenChannelSettings/components/OpenChannelSettingsUI.js +17 -17
- package/cjs/OpenChannelSettings/components/OperatorUI.js +16 -16
- package/cjs/OpenChannelSettings/components/ParticipantUI.js +14 -14
- package/cjs/OpenChannelSettings/context.js +2 -2
- package/cjs/OpenChannelSettings.js +17 -17
- package/cjs/SendbirdProvider.js +25 -13
- package/cjs/SendbirdProvider.js.map +1 -1
- package/cjs/{UserProfileContext-627c1f20.js → UserProfileContext-e13859c2.js} +1 -1
- package/cjs/{UserProfileContext-627c1f20.js.map → UserProfileContext-e13859c2.js.map} +1 -1
- package/cjs/{__bundle-7dfccc8c-437d2fd3.js → __bundle-7dfccc8c-d812ccd2.js} +1 -1
- package/cjs/{__bundle-7dfccc8c-437d2fd3.js.map → __bundle-7dfccc8c-d812ccd2.js.map} +1 -1
- package/cjs/{_rollupPluginBabelHelpers-89a197f1.js → _rollupPluginBabelHelpers-116d792d.js} +1 -1
- package/cjs/{_rollupPluginBabelHelpers-89a197f1.js.map → _rollupPluginBabelHelpers-116d792d.js.map} +1 -1
- package/cjs/{actionTypes-3f5d873f.js → actionTypes-ce9861e1.js} +1 -1
- package/cjs/{actionTypes-3f5d873f.js.map → actionTypes-ce9861e1.js.map} +1 -1
- package/cjs/{color-894bd822.js → color-76e3ed0d.js} +1 -1
- package/cjs/{color-894bd822.js.map → color-76e3ed0d.js.map} +1 -1
- package/cjs/{compareIds-bc1f1524.js → compareIds-d11fdea7.js} +1 -1
- package/cjs/{compareIds-bc1f1524.js.map → compareIds-d11fdea7.js.map} +1 -1
- package/cjs/{const-8fdee18a.js → const-2da24989.js} +1 -1
- package/cjs/{const-8fdee18a.js.map → const-2da24989.js.map} +1 -1
- package/cjs/{const-bb23ef90.js → const-a6cfa3dc.js} +1 -1
- package/cjs/{const-bb23ef90.js.map → const-a6cfa3dc.js.map} +1 -1
- package/cjs/{context-f07caf29.js → context-7d13e92d.js} +2 -2
- package/cjs/{context-f07caf29.js.map → context-7d13e92d.js.map} +1 -1
- package/cjs/dist/index.css +93 -93
- package/cjs/dist/index.css.map +1 -1
- package/cjs/{groupChannel-64ff0a33.js → groupChannel-3f4aaa32.js} +2 -2
- package/cjs/{groupChannel-64ff0a33.js.map → groupChannel-3f4aaa32.js.map} +1 -1
- package/cjs/{index-3298ba2f.js → index-0207af7d.js} +4 -4
- package/cjs/{index-3298ba2f.js.map → index-0207af7d.js.map} +1 -1
- package/cjs/{index-9bc1ab0f.js → index-2596c9f9.js} +2 -2
- package/cjs/{index-9bc1ab0f.js.map → index-2596c9f9.js.map} +1 -1
- package/cjs/{index-3dd33e71.js → index-2be8b3df.js} +2 -2
- package/cjs/{index-3dd33e71.js.map → index-2be8b3df.js.map} +1 -1
- package/cjs/{index-d85e4159.js → index-41b5e18c.js} +1 -1
- package/cjs/{index-d85e4159.js.map → index-41b5e18c.js.map} +1 -1
- package/cjs/{index-47e86329.js → index-62b2f3b4.js} +2 -2
- package/cjs/{index-47e86329.js.map → index-62b2f3b4.js.map} +1 -1
- package/cjs/{index-e844a017.js → index-691debed.js} +1 -1
- package/cjs/{index-e844a017.js.map → index-691debed.js.map} +1 -1
- package/cjs/{index-a7643049.js → index-86f7e77d.js} +3 -3
- package/cjs/{index-a7643049.js.map → index-86f7e77d.js.map} +1 -1
- package/cjs/{index-3bc84b64.js → index-8e975b91.js} +3 -3
- package/cjs/{index-3bc84b64.js.map → index-8e975b91.js.map} +1 -1
- package/cjs/{index-2ce368ff.js → index-a6cd696f.js} +4 -4
- package/cjs/{index-2ce368ff.js.map → index-a6cd696f.js.map} +1 -1
- package/cjs/{index-c730dbc7.js → index-eb6344e9.js} +6 -6
- package/cjs/{index-c730dbc7.js.map → index-eb6344e9.js.map} +1 -1
- package/cjs/index.js +35 -35
- package/cjs/{openChannel-1fe2127a.js → openChannel-7272b85b.js} +2 -2
- package/cjs/{openChannel-1fe2127a.js.map → openChannel-7272b85b.js.map} +1 -1
- package/cjs/{openChannelUtils-f64587d0.js → openChannelUtils-cede8a88.js} +1 -1
- package/cjs/{openChannelUtils-f64587d0.js.map → openChannelUtils-cede8a88.js.map} +1 -1
- package/cjs/sendbirdSelectors.js +2 -2
- package/cjs/{stringSet-46fdf7f6.js → stringSet-2b4edf07.js} +1 -1
- package/cjs/{stringSet-46fdf7f6.js.map → stringSet-2b4edf07.js.map} +1 -1
- package/cjs/{topics-8365570f.js → topics-b910c620.js} +1 -1
- package/cjs/{topics-8365570f.js.map → topics-b910c620.js.map} +1 -1
- package/cjs/{tslib.es6-e6723880.js → tslib.es6-9a5d5697.js} +1 -1
- package/cjs/{tslib.es6-e6723880.js.map → tslib.es6-9a5d5697.js.map} +1 -1
- package/cjs/ui/Accordion.js +4 -4
- package/cjs/ui/AccordionGroup.js +2 -2
- package/cjs/ui/AdminMessage.js +3 -3
- package/cjs/ui/Avatar.js +3 -3
- package/cjs/ui/Badge.js +5 -5
- package/cjs/ui/Button.js +4 -4
- package/cjs/ui/ChannelAvatar.js +4 -4
- package/cjs/ui/ChannelPreview.js +12 -12
- package/cjs/ui/ChatHeader.js +8 -8
- package/cjs/ui/Checkbox.js +1 -1
- package/cjs/ui/ConnectionStatus.js +5 -5
- package/cjs/ui/ContextMenu.js +5 -5
- package/cjs/ui/DateSeparator.js +4 -4
- package/cjs/ui/Dropdown.js +3 -3
- package/cjs/ui/EmojiReactions.js +7 -7
- package/cjs/ui/FileMessageItemBody.js +6 -6
- package/cjs/ui/FileViewer.js +7 -7
- package/cjs/ui/Icon.js +1 -1
- package/cjs/ui/IconButton.js +1 -1
- package/cjs/ui/ImageRenderer.js +1 -1
- package/cjs/ui/Input.js +3 -3
- package/cjs/ui/Label.js +3 -3
- package/cjs/ui/LinkLabel.js +3 -3
- package/cjs/ui/Loader.js +1 -1
- package/cjs/ui/MentionLabel.js +11 -11
- package/cjs/ui/MessageContent.js +14 -14
- package/cjs/ui/MessageInput.js +10 -10
- package/cjs/ui/MessageItemMenu.js +7 -7
- package/cjs/ui/MessageItemReactionMenu.js +5 -5
- package/cjs/ui/MessageSearchFileItem.js +10 -10
- package/cjs/ui/MessageSearchItem.js +10 -10
- package/cjs/ui/MessageStatus.js +8 -8
- package/cjs/ui/Modal.js +8 -8
- 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 +7 -7
- 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 +6 -6
- package/cjs/ui/QuoteMessage.js +7 -7
- package/cjs/ui/QuoteMessageInput.js +7 -7
- package/cjs/ui/ReactionBadge.js +3 -3
- package/cjs/ui/ReactionButton.js +1 -1
- package/cjs/ui/SortByRow.js +1 -1
- package/cjs/ui/TextButton.js +2 -2
- package/cjs/ui/TextMessageItemBody.js +11 -11
- package/cjs/ui/ThumbnailMessageItemBody.js +3 -3
- package/cjs/ui/Tooltip.js +3 -3
- package/cjs/ui/TooltipWrapper.js +1 -1
- package/cjs/ui/UnknownMessageItemBody.js +7 -7
- package/cjs/ui/UserListItem.js +12 -12
- package/cjs/ui/UserProfile.js +10 -10
- package/cjs/ui/Word.js +45 -11
- package/cjs/ui/Word.js.map +1 -1
- package/cjs/useSendbirdStateContext.js +1 -1
- package/cjs/{utils-d961e3ec.js → utils-15274d9b.js} +1 -1
- package/cjs/{utils-d961e3ec.js.map → utils-15274d9b.js.map} +1 -1
- package/cjs/{utils-a807e55b.js → utils-4fadd220.js} +1 -1
- package/cjs/{utils-a807e55b.js.map → utils-4fadd220.js.map} +1 -1
- package/cjs/{utils-896260ad.js → utils-b6bcd345.js} +1 -1
- package/cjs/{utils-896260ad.js.map → utils-b6bcd345.js.map} +1 -1
- package/cjs/{uuid-f50c28bd.js → uuid-de92c01b.js} +1 -1
- package/cjs/{uuid-f50c28bd.js.map → uuid-de92c01b.js.map} +1 -1
- package/cjs/withSendbird.js +1 -1
- package/{color-61b0f496.js → color-1727a3fb.js} +1 -1
- package/{color-61b0f496.js.map → color-1727a3fb.js.map} +1 -1
- package/{compareIds-e48fb1d0.js → compareIds-ccf594a3.js} +1 -1
- package/{compareIds-e48fb1d0.js.map → compareIds-ccf594a3.js.map} +1 -1
- package/{const-d3857731.js → const-4674ec61.js} +1 -1
- package/{const-d3857731.js.map → const-4674ec61.js.map} +1 -1
- package/{const-6fe536c0.js → const-d3d5e7fc.js} +1 -1
- package/{const-6fe536c0.js.map → const-d3d5e7fc.js.map} +1 -1
- package/{context-178f9029.js → context-5db053f0.js} +2 -2
- package/{context-178f9029.js.map → context-5db053f0.js.map} +1 -1
- package/dist/index.css +93 -93
- package/dist/index.css.map +1 -1
- package/{groupChannel-009a07f0.js → groupChannel-9bc7ca19.js} +2 -2
- package/{groupChannel-009a07f0.js.map → groupChannel-9bc7ca19.js.map} +1 -1
- package/{index-39d43f7e.js → index-04458193.js} +4 -4
- package/{index-39d43f7e.js.map → index-04458193.js.map} +1 -1
- package/{index-87af3e7d.js → index-201c73a9.js} +1 -1
- package/{index-87af3e7d.js.map → index-201c73a9.js.map} +1 -1
- package/{index-d6e33a8d.js → index-33a103e9.js} +3 -3
- package/{index-d6e33a8d.js.map → index-33a103e9.js.map} +1 -1
- package/{index-7b2f13ef.js → index-4e2ac873.js} +2 -2
- package/{index-7b2f13ef.js.map → index-4e2ac873.js.map} +1 -1
- package/{index-4eddd935.js → index-64b4e22e.js} +4 -4
- package/{index-4eddd935.js.map → index-64b4e22e.js.map} +1 -1
- package/{index-75f9b6fc.js → index-9570e69e.js} +1 -1
- package/{index-75f9b6fc.js.map → index-9570e69e.js.map} +1 -1
- package/{index-aa13fe48.js → index-a355e1d8.js} +2 -2
- package/{index-aa13fe48.js.map → index-a355e1d8.js.map} +1 -1
- package/{index-1b5914a8.js → index-b188a276.js} +6 -6
- package/{index-1b5914a8.js.map → index-b188a276.js.map} +1 -1
- package/{index-cff868a8.js → index-e15303b6.js} +2 -2
- package/{index-cff868a8.js.map → index-e15303b6.js.map} +1 -1
- package/{index-a5b58199.js → index-eeac3879.js} +3 -3
- package/{index-a5b58199.js.map → index-eeac3879.js.map} +1 -1
- package/index.d.ts +11 -5
- package/index.js +35 -35
- package/{openChannel-0d900561.js → openChannel-a5d4b5d4.js} +2 -2
- package/{openChannel-0d900561.js.map → openChannel-a5d4b5d4.js.map} +1 -1
- package/{openChannelUtils-41763348.js → openChannelUtils-0ffa52be.js} +1 -1
- package/{openChannelUtils-41763348.js.map → openChannelUtils-0ffa52be.js.map} +1 -1
- package/package-lock.json +1 -1
- package/package.json +1 -1
- package/sendbirdSelectors.js +2 -2
- package/{stringSet-130b5cd9.js → stringSet-a6858154.js} +1 -1
- package/{stringSet-130b5cd9.js.map → stringSet-a6858154.js.map} +1 -1
- package/{topics-2773df5c.js → topics-58103dff.js} +1 -1
- package/{topics-2773df5c.js.map → topics-58103dff.js.map} +1 -1
- package/{tslib.es6-41c9b7f1.js → tslib.es6-28c0bd97.js} +1 -1
- package/{tslib.es6-41c9b7f1.js.map → tslib.es6-28c0bd97.js.map} +1 -1
- package/ui/Accordion.js +4 -4
- package/ui/AccordionGroup.js +2 -2
- package/ui/AdminMessage.js +3 -3
- package/ui/Avatar.js +3 -3
- package/ui/Badge.js +5 -5
- package/ui/Button.js +4 -4
- package/ui/ChannelAvatar.js +4 -4
- package/ui/ChannelPreview.js +12 -12
- package/ui/ChatHeader.js +8 -8
- package/ui/Checkbox.js +1 -1
- package/ui/ConnectionStatus.js +5 -5
- package/ui/ContextMenu.js +5 -5
- package/ui/DateSeparator.js +4 -4
- package/ui/Dropdown.js +3 -3
- package/ui/EmojiReactions.js +7 -7
- package/ui/FileMessageItemBody.js +6 -6
- package/ui/FileViewer.js +7 -7
- package/ui/Icon.js +1 -1
- package/ui/IconButton.js +1 -1
- package/ui/ImageRenderer.js +1 -1
- package/ui/Input.js +3 -3
- package/ui/Label.js +3 -3
- package/ui/LinkLabel.js +3 -3
- package/ui/Loader.js +1 -1
- package/ui/MentionLabel.js +11 -11
- package/ui/MessageContent.js +14 -14
- package/ui/MessageInput.js +10 -10
- package/ui/MessageItemMenu.js +7 -7
- package/ui/MessageItemReactionMenu.js +5 -5
- package/ui/MessageSearchFileItem.js +10 -10
- package/ui/MessageSearchItem.js +10 -10
- package/ui/MessageStatus.js +8 -8
- package/ui/Modal.js +8 -8
- package/ui/MutedAvatarOverlay.js +1 -1
- package/ui/OGMessageItemBody.js +11 -11
- package/ui/OpenChannelAdminMessage.js +4 -4
- package/ui/OpenChannelAvatar.js +7 -7
- 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 +6 -6
- package/ui/QuoteMessage.js +7 -7
- package/ui/QuoteMessageInput.js +7 -7
- package/ui/ReactionBadge.js +3 -3
- package/ui/ReactionButton.js +1 -1
- package/ui/SortByRow.js +1 -1
- package/ui/TextButton.js +2 -2
- package/ui/TextMessageItemBody.js +11 -11
- package/ui/ThumbnailMessageItemBody.js +3 -3
- package/ui/Tooltip.js +3 -3
- package/ui/TooltipWrapper.js +1 -1
- package/ui/UnknownMessageItemBody.js +7 -7
- package/ui/UserListItem.js +12 -12
- package/ui/UserProfile.js +10 -10
- package/ui/Word.js +45 -11
- package/ui/Word.js.map +1 -1
- package/useSendbirdStateContext.js +1 -1
- package/{utils-ce5e300e.js → utils-5477ddbc.js} +1 -1
- package/{utils-ce5e300e.js.map → utils-5477ddbc.js.map} +1 -1
- package/{utils-24f3af49.js → utils-5fe76946.js} +1 -1
- package/{utils-24f3af49.js.map → utils-5fe76946.js.map} +1 -1
- package/{utils-c2b6ba56.js → utils-e2f16b69.js} +1 -1
- package/{utils-c2b6ba56.js.map → utils-e2f16b69.js.map} +1 -1
- package/{uuid-cd809c2c.js → uuid-38ace415.js} +1 -1
- package/{uuid-cd809c2c.js.map → uuid-38ace415.js.map} +1 -1
- package/withSendbird.js +1 -1
- package/CreateChannelProvider-8464145a.js.map +0 -1
- package/MemberList-0f94f1c7.js.map +0 -1
- package/cjs/CreateChannelProvider-b462ce84.js.map +0 -1
- package/cjs/MemberList-c446abed.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-2a8797d8.js';
|
|
2
2
|
import React__default, { useState } from 'react';
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
4
|
import Sendbird from './SendbirdProvider.js';
|
|
@@ -7,25 +7,25 @@ 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 './openChannel-
|
|
11
|
-
import './__bundle-7dfccc8c-
|
|
12
|
-
import './groupChannel-
|
|
13
|
-
import './actionTypes-
|
|
14
|
-
import './index-
|
|
15
|
-
import './tslib.es6-
|
|
10
|
+
import './openChannel-a5d4b5d4.js';
|
|
11
|
+
import './__bundle-7dfccc8c-62bd23b5.js';
|
|
12
|
+
import './groupChannel-9bc7ca19.js';
|
|
13
|
+
import './actionTypes-a992088f.js';
|
|
14
|
+
import './index-a355e1d8.js';
|
|
15
|
+
import './tslib.es6-28c0bd97.js';
|
|
16
16
|
import 'css-vars-ponyfill';
|
|
17
|
-
import './uuid-
|
|
18
|
-
import './LocalizationContext-
|
|
19
|
-
import './stringSet-
|
|
20
|
-
import './index-
|
|
21
|
-
import './ChannelListProvider-
|
|
22
|
-
import './topics-
|
|
23
|
-
import './utils-
|
|
24
|
-
import './UserProfileContext-
|
|
17
|
+
import './uuid-38ace415.js';
|
|
18
|
+
import './LocalizationContext-7f115178.js';
|
|
19
|
+
import './stringSet-a6858154.js';
|
|
20
|
+
import './index-9570e69e.js';
|
|
21
|
+
import './ChannelListProvider-471abb8f.js';
|
|
22
|
+
import './topics-58103dff.js';
|
|
23
|
+
import './utils-5477ddbc.js';
|
|
24
|
+
import './UserProfileContext-eccdbd50.js';
|
|
25
25
|
import './useSendbirdStateContext.js';
|
|
26
26
|
import './ChannelList/components/ChannelListUI.js';
|
|
27
27
|
import './ChannelList/components/ChannelListHeader.js';
|
|
28
|
-
import './index-
|
|
28
|
+
import './index-eeac3879.js';
|
|
29
29
|
import './ui/IconButton.js';
|
|
30
30
|
import './ui/Avatar.js';
|
|
31
31
|
import './ui/ImageRenderer.js';
|
|
@@ -33,13 +33,13 @@ import './ui/Icon.js';
|
|
|
33
33
|
import './ChannelList/components/AddChannel.js';
|
|
34
34
|
import './CreateChannel.js';
|
|
35
35
|
import './CreateChannel/components/CreateChannelUI.js';
|
|
36
|
-
import './CreateChannelProvider-
|
|
36
|
+
import './CreateChannelProvider-efa959ed.js';
|
|
37
37
|
import './sendbirdSelectors.js';
|
|
38
38
|
import './CreateChannel/components/InviteUsers.js';
|
|
39
39
|
import './ui/Modal.js';
|
|
40
40
|
import 'react-dom';
|
|
41
|
-
import './index-
|
|
42
|
-
import './index-
|
|
41
|
+
import './index-201c73a9.js';
|
|
42
|
+
import './index-33a103e9.js';
|
|
43
43
|
import './ui/UserListItem.js';
|
|
44
44
|
import './ui/MutedAvatarOverlay.js';
|
|
45
45
|
import './ui/Checkbox.js';
|
|
@@ -49,33 +49,33 @@ import './ui/SortByRow.js';
|
|
|
49
49
|
import './CreateChannel/components/SelectChannelType.js';
|
|
50
50
|
import './ChannelList/components/ChannelPreview.js';
|
|
51
51
|
import './ui/ChannelAvatar.js';
|
|
52
|
-
import './utils-
|
|
52
|
+
import './utils-5fe76946.js';
|
|
53
53
|
import './ui/Badge.js';
|
|
54
|
-
import './index-
|
|
55
|
-
import './index-
|
|
56
|
-
import './index-
|
|
54
|
+
import './index-64b4e22e.js';
|
|
55
|
+
import './index-4e2ac873.js';
|
|
56
|
+
import './index-e15303b6.js';
|
|
57
57
|
import './ui/MentionUserLabel.js';
|
|
58
58
|
import './Channel/components/TypingIndicator.js';
|
|
59
|
-
import './ChannelProvider-
|
|
60
|
-
import './compareIds-
|
|
61
|
-
import './const-
|
|
59
|
+
import './ChannelProvider-01a680e0.js';
|
|
60
|
+
import './compareIds-ccf594a3.js';
|
|
61
|
+
import './const-4674ec61.js';
|
|
62
62
|
import './ui/ReactionButton.js';
|
|
63
63
|
import './ui/MessageStatus.js';
|
|
64
64
|
import './ui/Loader.js';
|
|
65
65
|
import './ChannelList/components/ChannelPreviewAction.js';
|
|
66
66
|
import './EditUserProfile.js';
|
|
67
|
-
import './index-
|
|
67
|
+
import './index-b188a276.js';
|
|
68
68
|
import './ui/Input.js';
|
|
69
69
|
import './ui/TextButton.js';
|
|
70
|
-
import './color-
|
|
71
|
-
import './index-
|
|
70
|
+
import './color-1727a3fb.js';
|
|
71
|
+
import './index-04458193.js';
|
|
72
72
|
import './Channel/components/ChannelUI.js';
|
|
73
73
|
import './ui/ConnectionStatus.js';
|
|
74
74
|
import './Channel/components/ChannelHeader.js';
|
|
75
75
|
import './Channel/components/MessageList.js';
|
|
76
76
|
import './Channel/components/Message.js';
|
|
77
77
|
import './Channel/components/SuggestedMentionList.js';
|
|
78
|
-
import './const-
|
|
78
|
+
import './const-d3d5e7fc.js';
|
|
79
79
|
import './ui/DateSeparator.js';
|
|
80
80
|
import './ui/MessageInput.js';
|
|
81
81
|
import './ui/MessageContent.js';
|
|
@@ -108,9 +108,9 @@ import './ChannelSettings/components/EditDetailsModal.js';
|
|
|
108
108
|
import './ChannelSettings/components/ModerationPanel.js';
|
|
109
109
|
import './ui/Accordion.js';
|
|
110
110
|
import './ui/AccordionGroup.js';
|
|
111
|
-
import './context-
|
|
111
|
+
import './context-5db053f0.js';
|
|
112
112
|
import './ChannelSettings/components/UserListItem.js';
|
|
113
|
-
import './MemberList-
|
|
113
|
+
import './MemberList-9863866e.js';
|
|
114
114
|
import './ChannelSettings/components/LeaveChannel.js';
|
|
115
115
|
import './ChannelSettings/components/UserPanel.js';
|
|
116
116
|
import './MessageSearch/components/MessageSearchUI.js';
|
|
@@ -122,6 +122,8 @@ function App(props) {
|
|
|
122
122
|
var appId = props.appId,
|
|
123
123
|
userId = props.userId,
|
|
124
124
|
accessToken = props.accessToken,
|
|
125
|
+
customApiHost = props.customApiHost,
|
|
126
|
+
customWebSocketHost = props.customWebSocketHost,
|
|
125
127
|
theme = props.theme,
|
|
126
128
|
userListQuery = props.userListQuery,
|
|
127
129
|
nickname = props.nickname,
|
|
@@ -175,6 +177,8 @@ function App(props) {
|
|
|
175
177
|
appId: appId,
|
|
176
178
|
userId: userId,
|
|
177
179
|
accessToken: accessToken,
|
|
180
|
+
customApiHost: customApiHost,
|
|
181
|
+
customWebSocketHost: customWebSocketHost,
|
|
178
182
|
theme: theme,
|
|
179
183
|
nickname: nickname,
|
|
180
184
|
profileUrl: profileUrl,
|
|
@@ -257,6 +261,8 @@ App.propTypes = {
|
|
|
257
261
|
appId: PropTypes.string.isRequired,
|
|
258
262
|
userId: PropTypes.string.isRequired,
|
|
259
263
|
accessToken: PropTypes.string,
|
|
264
|
+
customApiHost: PropTypes.string,
|
|
265
|
+
customWebSocketHost: PropTypes.string,
|
|
260
266
|
theme: PropTypes.string,
|
|
261
267
|
userListQuery: PropTypes.func,
|
|
262
268
|
nickname: PropTypes.string,
|
|
@@ -288,6 +294,8 @@ App.propTypes = {
|
|
|
288
294
|
};
|
|
289
295
|
App.defaultProps = {
|
|
290
296
|
accessToken: '',
|
|
297
|
+
customApiHost: '',
|
|
298
|
+
customWebSocketHost: '',
|
|
291
299
|
theme: 'light',
|
|
292
300
|
nickname: '',
|
|
293
301
|
profileUrl: '',
|
package/App.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"App.js","sources":["../src/smart-components/App/index.jsx"],"sourcesContent":["/**\n * This is a drop in Chat solution\n * Can also be used as an example for creating\n * default chat apps\n */\nimport React, { useState } from 'react';\nimport PropTypes from 'prop-types';\n\nimport Sendbird from '../../lib/Sendbird';\n\nimport ChannelList from '../ChannelList';\nimport Channel from '../Channel';\nimport ChannelSettings from '../ChannelSettings';\nimport MessageSearchPannel from '../MessageSearch';\n\nimport './index.scss';\n\nexport default function App(props) {\n const {\n appId,\n userId,\n accessToken,\n theme,\n userListQuery,\n nickname,\n profileUrl,\n dateLocale,\n config = {},\n isReactionEnabled,\n isMentionEnabled,\n replyType,\n isMessageGroupingEnabled,\n colorSet,\n stringSet,\n allowProfileEdit,\n disableUserProfile,\n renderUserProfile,\n showSearchIcon,\n onProfileEditSuccess,\n imageCompression,\n disableAutoSelect,\n isTypingIndicatorEnabledOnChannelList,\n isMessageReceiptStatusEnabledOnChannelList,\n } = props;\n const [currentChannelUrl, setCurrentChannelUrl] = useState(null);\n const [showSettings, setShowSettings] = useState(false);\n const [showSearch, setShowSearch] = useState(false);\n const [highlightedMessage, setHighlightedMessage] = useState(null);\n const [startingPoint, setStartingPoint] = useState(null);\n\n return (\n <Sendbird\n stringSet={stringSet}\n appId={appId}\n userId={userId}\n accessToken={accessToken}\n theme={theme}\n nickname={nickname}\n profileUrl={profileUrl}\n dateLocale={dateLocale}\n userListQuery={userListQuery}\n config={config}\n colorSet={colorSet}\n disableUserProfile={disableUserProfile}\n renderUserProfile={renderUserProfile}\n imageCompression={imageCompression}\n isReactionEnabled={isReactionEnabled}\n isMentionEnabled={isMentionEnabled}\n isTypingIndicatorEnabledOnChannelList={isTypingIndicatorEnabledOnChannelList}\n isMessageReceiptStatusEnabledOnChannelList={isMessageReceiptStatusEnabledOnChannelList}\n >\n <div className=\"sendbird-app__wrap\">\n <div className=\"sendbird-app__channellist-wrap\">\n <ChannelList\n allowProfileEdit={allowProfileEdit}\n onProfileEditSuccess={onProfileEditSuccess}\n disableAutoSelect={disableAutoSelect}\n onChannelSelect={(channel) => {\n setStartingPoint(null);\n setHighlightedMessage(null);\n if (channel?.url) {\n setCurrentChannelUrl(channel.url);\n } else {\n setCurrentChannelUrl('');\n }\n }}\n />\n </div>\n <div\n className={`\n ${showSettings ? 'sendbird-app__conversation--settings-open' : ''}\n ${showSearch ? 'sendbird-app__conversation--search-open' : ''}\n sendbird-app__conversation-wrap\n `}\n >\n <Channel\n channelUrl={currentChannelUrl}\n onChatHeaderActionClick={() => {\n setShowSearch(false);\n setShowSettings(!showSettings);\n }}\n onSearchClick={() => {\n setShowSettings(false);\n setShowSearch(!showSearch);\n }}\n showSearchIcon={showSearchIcon}\n startingPoint={startingPoint}\n highlightedMessage={highlightedMessage}\n isReactionEnabled={isReactionEnabled}\n replyType={replyType}\n isMessageGroupingEnabled={isMessageGroupingEnabled}\n />\n </div>\n {showSettings && (\n <div className=\"sendbird-app__settingspanel-wrap\">\n <ChannelSettings\n className=\"sendbird-channel-settings\"\n channelUrl={currentChannelUrl}\n onCloseClick={() => {\n setShowSettings(false);\n }}\n />\n </div>\n )}\n {showSearch && (\n <div className=\"sendbird-app__searchpanel-wrap\">\n <MessageSearchPannel\n channelUrl={currentChannelUrl}\n onResultClick={(message) => {\n if (message.messageId === highlightedMessage) {\n setHighlightedMessage(null);\n setTimeout(() => {\n setHighlightedMessage(message.messageId);\n });\n } else {\n setStartingPoint(message.createdAt);\n setHighlightedMessage(message.messageId);\n }\n }}\n onCloseClick={() => {\n setShowSearch(false);\n }}\n />\n </div>\n )}\n </div>\n </Sendbird>\n );\n}\n\nApp.propTypes = {\n appId: PropTypes.string.isRequired,\n userId: PropTypes.string.isRequired,\n accessToken: PropTypes.string,\n theme: PropTypes.string,\n userListQuery: PropTypes.func,\n nickname: PropTypes.string,\n profileUrl: PropTypes.string,\n allowProfileEdit: PropTypes.bool,\n disableUserProfile: PropTypes.bool,\n renderUserProfile: PropTypes.func,\n onProfileEditSuccess: PropTypes.func,\n dateLocale: PropTypes.shape({}),\n config: PropTypes.shape({\n // None Error Warning Info 'All/Debug'\n logLevel: PropTypes.oneOfType([\n PropTypes.string,\n PropTypes.arrayOf(PropTypes.string),\n ]),\n }),\n isReactionEnabled: PropTypes.bool,\n replyType: PropTypes.oneOf(['NONE', 'QUOTE_REPLY', 'THREAD']),\n showSearchIcon: PropTypes.bool,\n isMessageGroupingEnabled: PropTypes.bool,\n stringSet: PropTypes.objectOf(PropTypes.string),\n colorSet: PropTypes.objectOf(PropTypes.string),\n imageCompression: PropTypes.shape({\n compressionRate: PropTypes.number,\n resizingWidth: PropTypes.oneOfType([\n PropTypes.number,\n PropTypes.string,\n ]),\n resizingHeight: PropTypes.oneOfType([\n PropTypes.number,\n PropTypes.string,\n ]),\n }),\n disableAutoSelect: PropTypes.bool,\n isMentionEnabled: PropTypes.bool,\n isTypingIndicatorEnabledOnChannelList: PropTypes.bool,\n isMessageReceiptStatusEnabledOnChannelList: PropTypes.bool,\n};\n\nApp.defaultProps = {\n accessToken: '',\n theme: 'light',\n nickname: '',\n profileUrl: '',\n userListQuery: null,\n dateLocale: null,\n allowProfileEdit: false,\n onProfileEditSuccess: null,\n disableUserProfile: false,\n showSearchIcon: false,\n renderUserProfile: null,\n config: {},\n isReactionEnabled: true,\n isMentionEnabled: false,\n replyType: 'NONE',\n isMessageGroupingEnabled: true,\n stringSet: null,\n colorSet: null,\n imageCompression: {},\n disableAutoSelect: false,\n isTypingIndicatorEnabledOnChannelList: false,\n isMessageReceiptStatusEnabledOnChannelList: false,\n};\n"],"names":["App","props","appId","userId","accessToken","theme","userListQuery","nickname","profileUrl","dateLocale","config","isReactionEnabled","isMentionEnabled","replyType","isMessageGroupingEnabled","colorSet","stringSet","allowProfileEdit","disableUserProfile","renderUserProfile","showSearchIcon","onProfileEditSuccess","imageCompression","disableAutoSelect","isTypingIndicatorEnabledOnChannelList","isMessageReceiptStatusEnabledOnChannelList","useState","currentChannelUrl","setCurrentChannelUrl","showSettings","setShowSettings","showSearch","setShowSearch","highlightedMessage","setHighlightedMessage","startingPoint","setStartingPoint","React","channel","url","message","messageId","setTimeout","createdAt","propTypes","PropTypes","string","isRequired","func","bool","shape","logLevel","oneOfType","arrayOf","oneOf","objectOf","compressionRate","number","resizingWidth","resizingHeight","defaultProps"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiBe,SAASA,GAAT,CAAaC,KAAb,EAAoB;AACjC,MACEC,KADF,GAyBID,KAzBJ,CACEC,KADF;AAAA,MAEEC,MAFF,GAyBIF,KAzBJ,CAEEE,MAFF;AAAA,MAGEC,WAHF,GAyBIH,KAzBJ,CAGEG,WAHF;AAAA,MAIEC,KAJF,GAyBIJ,KAzBJ,CAIEI,KAJF;AAAA,MAKEC,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QAAQ,EAAE,EAHO;AAIjBC,EAAAA,UAAU,EAAE,EAJK;AAKjBF,EAAAA,aAAa,EAAE,IALE;AAMjBG,EAAAA,UAAU,EAAE,IANK;AAOjBQ,EAAAA,gBAAgB,EAAE,KAPD;AAQjBI,EAAAA,oBAAoB,EAAE,IARL;AASjBH,EAAAA,kBAAkB,EAAE,KATH;AAUjBE,EAAAA,cAAc,EAAE,KAVC;AAWjBD,EAAAA,iBAAiB,EAAE,IAXF;AAYjBT,EAAAA,MAAM,EAAE,EAZS;AAajBC,EAAAA,iBAAiB,EAAE,IAbF;AAcjBC,EAAAA,gBAAgB,EAAE,KAdD;AAejBC,EAAAA,SAAS,EAAE,MAfM;AAgBjBC,EAAAA,wBAAwB,EAAE,IAhBT;AAiBjBE,EAAAA,SAAS,EAAE,IAjBM;AAkBjBD,EAAAA,QAAQ,EAAE,IAlBO;AAmBjBO,EAAAA,gBAAgB,EAAE,EAnBD;AAoBjBC,EAAAA,iBAAiB,EAAE,KApBF;AAqBjBC,EAAAA,qCAAqC,EAAE,KArBtB;AAsBjBC,EAAAA,0CAA0C,EAAE;AAtB3B,CAAnB;;;;"}
|
|
1
|
+
{"version":3,"file":"App.js","sources":["../src/smart-components/App/index.jsx"],"sourcesContent":["/**\n * This is a drop in Chat solution\n * Can also be used as an example for creating\n * default chat apps\n */\nimport React, { useState } from 'react';\nimport PropTypes from 'prop-types';\n\nimport Sendbird from '../../lib/Sendbird';\n\nimport ChannelList from '../ChannelList';\nimport Channel from '../Channel';\nimport ChannelSettings from '../ChannelSettings';\nimport MessageSearchPannel from '../MessageSearch';\n\nimport './index.scss';\n\nexport default function App(props) {\n const {\n appId,\n userId,\n accessToken,\n customApiHost,\n customWebSocketHost,\n theme,\n userListQuery,\n nickname,\n profileUrl,\n dateLocale,\n config = {},\n isReactionEnabled,\n isMentionEnabled,\n replyType,\n isMessageGroupingEnabled,\n colorSet,\n stringSet,\n allowProfileEdit,\n disableUserProfile,\n renderUserProfile,\n showSearchIcon,\n onProfileEditSuccess,\n imageCompression,\n disableAutoSelect,\n isTypingIndicatorEnabledOnChannelList,\n isMessageReceiptStatusEnabledOnChannelList,\n } = props;\n const [currentChannelUrl, setCurrentChannelUrl] = useState(null);\n const [showSettings, setShowSettings] = useState(false);\n const [showSearch, setShowSearch] = useState(false);\n const [highlightedMessage, setHighlightedMessage] = useState(null);\n const [startingPoint, setStartingPoint] = useState(null);\n\n return (\n <Sendbird\n stringSet={stringSet}\n appId={appId}\n userId={userId}\n accessToken={accessToken}\n customApiHost={customApiHost}\n customWebSocketHost={customWebSocketHost}\n theme={theme}\n nickname={nickname}\n profileUrl={profileUrl}\n dateLocale={dateLocale}\n userListQuery={userListQuery}\n config={config}\n colorSet={colorSet}\n disableUserProfile={disableUserProfile}\n renderUserProfile={renderUserProfile}\n imageCompression={imageCompression}\n isReactionEnabled={isReactionEnabled}\n isMentionEnabled={isMentionEnabled}\n isTypingIndicatorEnabledOnChannelList={isTypingIndicatorEnabledOnChannelList}\n isMessageReceiptStatusEnabledOnChannelList={isMessageReceiptStatusEnabledOnChannelList}\n >\n <div className=\"sendbird-app__wrap\">\n <div className=\"sendbird-app__channellist-wrap\">\n <ChannelList\n allowProfileEdit={allowProfileEdit}\n onProfileEditSuccess={onProfileEditSuccess}\n disableAutoSelect={disableAutoSelect}\n onChannelSelect={(channel) => {\n setStartingPoint(null);\n setHighlightedMessage(null);\n if (channel?.url) {\n setCurrentChannelUrl(channel.url);\n } else {\n setCurrentChannelUrl('');\n }\n }}\n />\n </div>\n <div\n className={`\n ${showSettings ? 'sendbird-app__conversation--settings-open' : ''}\n ${showSearch ? 'sendbird-app__conversation--search-open' : ''}\n sendbird-app__conversation-wrap\n `}\n >\n <Channel\n channelUrl={currentChannelUrl}\n onChatHeaderActionClick={() => {\n setShowSearch(false);\n setShowSettings(!showSettings);\n }}\n onSearchClick={() => {\n setShowSettings(false);\n setShowSearch(!showSearch);\n }}\n showSearchIcon={showSearchIcon}\n startingPoint={startingPoint}\n highlightedMessage={highlightedMessage}\n isReactionEnabled={isReactionEnabled}\n replyType={replyType}\n isMessageGroupingEnabled={isMessageGroupingEnabled}\n />\n </div>\n {showSettings && (\n <div className=\"sendbird-app__settingspanel-wrap\">\n <ChannelSettings\n className=\"sendbird-channel-settings\"\n channelUrl={currentChannelUrl}\n onCloseClick={() => {\n setShowSettings(false);\n }}\n />\n </div>\n )}\n {showSearch && (\n <div className=\"sendbird-app__searchpanel-wrap\">\n <MessageSearchPannel\n channelUrl={currentChannelUrl}\n onResultClick={(message) => {\n if (message.messageId === highlightedMessage) {\n setHighlightedMessage(null);\n setTimeout(() => {\n setHighlightedMessage(message.messageId);\n });\n } else {\n setStartingPoint(message.createdAt);\n setHighlightedMessage(message.messageId);\n }\n }}\n onCloseClick={() => {\n setShowSearch(false);\n }}\n />\n </div>\n )}\n </div>\n </Sendbird>\n );\n}\n\nApp.propTypes = {\n appId: PropTypes.string.isRequired,\n userId: PropTypes.string.isRequired,\n accessToken: PropTypes.string,\n customApiHost: PropTypes.string,\n customWebSocketHost: PropTypes.string,\n theme: PropTypes.string,\n userListQuery: PropTypes.func,\n nickname: PropTypes.string,\n profileUrl: PropTypes.string,\n allowProfileEdit: PropTypes.bool,\n disableUserProfile: PropTypes.bool,\n renderUserProfile: PropTypes.func,\n onProfileEditSuccess: PropTypes.func,\n dateLocale: PropTypes.shape({}),\n config: PropTypes.shape({\n // None Error Warning Info 'All/Debug'\n logLevel: PropTypes.oneOfType([\n PropTypes.string,\n PropTypes.arrayOf(PropTypes.string),\n ]),\n }),\n isReactionEnabled: PropTypes.bool,\n replyType: PropTypes.oneOf(['NONE', 'QUOTE_REPLY', 'THREAD']),\n showSearchIcon: PropTypes.bool,\n isMessageGroupingEnabled: PropTypes.bool,\n stringSet: PropTypes.objectOf(PropTypes.string),\n colorSet: PropTypes.objectOf(PropTypes.string),\n imageCompression: PropTypes.shape({\n compressionRate: PropTypes.number,\n resizingWidth: PropTypes.oneOfType([\n PropTypes.number,\n PropTypes.string,\n ]),\n resizingHeight: PropTypes.oneOfType([\n PropTypes.number,\n PropTypes.string,\n ]),\n }),\n disableAutoSelect: PropTypes.bool,\n isMentionEnabled: PropTypes.bool,\n isTypingIndicatorEnabledOnChannelList: PropTypes.bool,\n isMessageReceiptStatusEnabledOnChannelList: PropTypes.bool,\n};\n\nApp.defaultProps = {\n accessToken: '',\n customApiHost: '',\n customWebSocketHost: '',\n theme: 'light',\n nickname: '',\n profileUrl: '',\n userListQuery: null,\n dateLocale: null,\n allowProfileEdit: false,\n onProfileEditSuccess: null,\n disableUserProfile: false,\n showSearchIcon: false,\n renderUserProfile: null,\n config: {},\n isReactionEnabled: true,\n isMentionEnabled: false,\n replyType: 'NONE',\n isMessageGroupingEnabled: true,\n stringSet: null,\n colorSet: null,\n imageCompression: {},\n disableAutoSelect: false,\n isTypingIndicatorEnabledOnChannelList: false,\n isMessageReceiptStatusEnabledOnChannelList: false,\n};\n"],"names":["App","props","appId","userId","accessToken","customApiHost","customWebSocketHost","theme","userListQuery","nickname","profileUrl","dateLocale","config","isReactionEnabled","isMentionEnabled","replyType","isMessageGroupingEnabled","colorSet","stringSet","allowProfileEdit","disableUserProfile","renderUserProfile","showSearchIcon","onProfileEditSuccess","imageCompression","disableAutoSelect","isTypingIndicatorEnabledOnChannelList","isMessageReceiptStatusEnabledOnChannelList","useState","currentChannelUrl","setCurrentChannelUrl","showSettings","setShowSettings","showSearch","setShowSearch","highlightedMessage","setHighlightedMessage","startingPoint","setStartingPoint","React","channel","url","message","messageId","setTimeout","createdAt","propTypes","PropTypes","string","isRequired","func","bool","shape","logLevel","oneOfType","arrayOf","oneOf","objectOf","compressionRate","number","resizingWidth","resizingHeight","defaultProps"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiBe,SAASA,GAAT,CAAaC,KAA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,KAvBtB;AAwBjBC,EAAAA,0CAA0C,EAAE;AAxB3B,CAAnB;;;;"}
|
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,16 @@
|
|
|
1
1
|
# Changelog - v3
|
|
2
|
+
## [v3.0.1] (July 28 2022)
|
|
3
|
+
|
|
4
|
+
Features:
|
|
5
|
+
* Accept customApiHost & customWebSocketHost as props to SendbirdProvider
|
|
6
|
+
* Add basic TS project sample
|
|
7
|
+
|
|
8
|
+
Fixes:
|
|
9
|
+
* Improve URL detection in OG message
|
|
10
|
+
* Add onCloseClick to MessageSearchProps
|
|
11
|
+
* Safe call removeGroupChannelHandler in TypingIndicator
|
|
12
|
+
* Apply userListQuery
|
|
13
|
+
* Type definition for channellist and setting
|
|
2
14
|
|
|
3
15
|
## [v3.0.0] (July 12 2022)
|
|
4
16
|
|
|
@@ -1,29 +1,29 @@
|
|
|
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-eeac3879.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-7f115178.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-01a680e0.js';
|
|
9
|
+
import '../../_rollupPluginBabelHelpers-2a8797d8.js';
|
|
10
10
|
import 'prop-types';
|
|
11
|
-
import '../../stringSet-
|
|
11
|
+
import '../../stringSet-a6858154.js';
|
|
12
12
|
import '../../ui/Avatar.js';
|
|
13
|
-
import '../../tslib.es6-
|
|
13
|
+
import '../../tslib.es6-28c0bd97.js';
|
|
14
14
|
import '../../ui/ImageRenderer.js';
|
|
15
|
-
import '../../uuid-
|
|
16
|
-
import '../../utils-
|
|
17
|
-
import '../../index-
|
|
15
|
+
import '../../uuid-38ace415.js';
|
|
16
|
+
import '../../utils-5fe76946.js';
|
|
17
|
+
import '../../index-9570e69e.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-7dfccc8c-
|
|
19
|
+
import '../../UserProfileContext-eccdbd50.js';
|
|
20
|
+
import '../../index-e15303b6.js';
|
|
21
|
+
import '../../topics-58103dff.js';
|
|
22
|
+
import '../../index-a355e1d8.js';
|
|
23
|
+
import '../../compareIds-ccf594a3.js';
|
|
24
|
+
import '../../const-4674ec61.js';
|
|
25
|
+
import '../../groupChannel-9bc7ca19.js';
|
|
26
|
+
import '../../__bundle-7dfccc8c-62bd23b5.js';
|
|
27
27
|
import '../../ui/ContextMenu.js';
|
|
28
28
|
import 'react-dom';
|
|
29
29
|
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-01a680e0.js';
|
|
4
|
+
import { P as PlaceHolder, a as PlaceHolderTypes } from '../../index-04458193.js';
|
|
5
5
|
import ConnectionStatus from '../../ui/ConnectionStatus.js';
|
|
6
6
|
import ChatHeader from './ChannelHeader.js';
|
|
7
7
|
import MessageList from './MessageList.js';
|
|
@@ -10,46 +10,46 @@ 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-2a8797d8.js';
|
|
14
|
+
import '../../UserProfileContext-eccdbd50.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-7dfccc8c-
|
|
25
|
-
import '../../uuid-
|
|
16
|
+
import '../../index-e15303b6.js';
|
|
17
|
+
import '../../index-9570e69e.js';
|
|
18
|
+
import '../../topics-58103dff.js';
|
|
19
|
+
import '../../index-a355e1d8.js';
|
|
20
|
+
import '../../tslib.es6-28c0bd97.js';
|
|
21
|
+
import '../../compareIds-ccf594a3.js';
|
|
22
|
+
import '../../const-4674ec61.js';
|
|
23
|
+
import '../../groupChannel-9bc7ca19.js';
|
|
24
|
+
import '../../__bundle-7dfccc8c-62bd23b5.js';
|
|
25
|
+
import '../../uuid-38ace415.js';
|
|
26
26
|
import '../../ui/ContextMenu.js';
|
|
27
|
-
import '../../index-
|
|
28
|
-
import '../../stringSet-
|
|
27
|
+
import '../../index-eeac3879.js';
|
|
28
|
+
import '../../stringSet-a6858154.js';
|
|
29
29
|
import 'react-dom';
|
|
30
30
|
import '../../ui/SortByRow.js';
|
|
31
31
|
import '../../ui/ReactionButton.js';
|
|
32
32
|
import '../../ui/ImageRenderer.js';
|
|
33
33
|
import '../../ui/Icon.js';
|
|
34
34
|
import '../../ui/Loader.js';
|
|
35
|
-
import '../../LocalizationContext-
|
|
35
|
+
import '../../LocalizationContext-7f115178.js';
|
|
36
36
|
import '../../ui/IconButton.js';
|
|
37
37
|
import '../../ui/ChannelAvatar.js';
|
|
38
38
|
import '../../ui/Avatar.js';
|
|
39
|
-
import '../../utils-
|
|
40
|
-
import '../../index-
|
|
39
|
+
import '../../utils-5fe76946.js';
|
|
40
|
+
import '../../index-4e2ac873.js';
|
|
41
41
|
import './Message.js';
|
|
42
42
|
import './SuggestedMentionList.js';
|
|
43
|
-
import '../../const-
|
|
43
|
+
import '../../const-d3d5e7fc.js';
|
|
44
44
|
import '../../ui/DateSeparator.js';
|
|
45
|
-
import '../../color-
|
|
45
|
+
import '../../color-1727a3fb.js';
|
|
46
46
|
import '../../ui/MessageInput.js';
|
|
47
|
-
import '../../index-
|
|
47
|
+
import '../../index-33a103e9.js';
|
|
48
48
|
import '../../ui/MentionUserLabel.js';
|
|
49
49
|
import '../../ui/MessageContent.js';
|
|
50
50
|
import '../../ui/UserProfile.js';
|
|
51
51
|
import '../../sendbirdSelectors.js';
|
|
52
|
-
import '../../utils-
|
|
52
|
+
import '../../utils-5477ddbc.js';
|
|
53
53
|
import '../../ui/MessageStatus.js';
|
|
54
54
|
import '../../ui/MessageItemMenu.js';
|
|
55
55
|
import '../../ui/MessageItemReactionMenu.js';
|
|
@@ -69,7 +69,7 @@ import '../../ui/OGMessageItemBody.js';
|
|
|
69
69
|
import '../../ui/UnknownMessageItemBody.js';
|
|
70
70
|
import '../../ui/QuoteMessage.js';
|
|
71
71
|
import './FileViewer.js';
|
|
72
|
-
import '../../index-
|
|
72
|
+
import '../../index-201c73a9.js';
|
|
73
73
|
import './RemoveMessageModal.js';
|
|
74
74
|
import '../../ui/Modal.js';
|
|
75
75
|
import '../../ui/QuoteMessageInput.js';
|
|
@@ -1,27 +1,27 @@
|
|
|
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-eeac3879.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-201c73a9.js';
|
|
7
|
+
import { A as isSupportedFileView, B as isVideo, C as isImage } from '../../index-a355e1d8.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-01a680e0.js';
|
|
10
|
+
import '../../tslib.es6-28c0bd97.js';
|
|
11
11
|
import '../../ui/ImageRenderer.js';
|
|
12
|
-
import '../../_rollupPluginBabelHelpers-
|
|
12
|
+
import '../../_rollupPluginBabelHelpers-2a8797d8.js';
|
|
13
13
|
import 'prop-types';
|
|
14
|
-
import '../../uuid-
|
|
15
|
-
import '../../stringSet-
|
|
14
|
+
import '../../uuid-38ace415.js';
|
|
15
|
+
import '../../stringSet-a6858154.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-7dfccc8c-
|
|
17
|
+
import '../../UserProfileContext-eccdbd50.js';
|
|
18
|
+
import '../../index-e15303b6.js';
|
|
19
|
+
import '../../index-9570e69e.js';
|
|
20
|
+
import '../../topics-58103dff.js';
|
|
21
|
+
import '../../compareIds-ccf594a3.js';
|
|
22
|
+
import '../../const-4674ec61.js';
|
|
23
|
+
import '../../groupChannel-9bc7ca19.js';
|
|
24
|
+
import '../../__bundle-7dfccc8c-62bd23b5.js';
|
|
25
25
|
import '../../ui/ContextMenu.js';
|
|
26
26
|
import '../../ui/SortByRow.js';
|
|
27
27
|
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-7f115178.js';
|
|
3
|
+
import { L as Label, a as LabelTypography } from '../../index-eeac3879.js';
|
|
4
|
+
import '../../stringSet-a6858154.js';
|
|
5
|
+
import '../../index-9570e69e.js';
|
|
6
|
+
import '../../_rollupPluginBabelHelpers-2a8797d8.js';
|
|
7
7
|
import 'prop-types';
|
|
8
8
|
|
|
9
9
|
var FrozenNotification = function FrozenNotification() {
|
|
@@ -1,44 +1,44 @@
|
|
|
1
|
-
import { a as __spreadArray } from '../../tslib.es6-
|
|
1
|
+
import { a as __spreadArray } from '../../tslib.es6-28c0bd97.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-e15303b6.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-01a680e0.js';
|
|
7
|
+
import { k as getClassName } from '../../index-a355e1d8.js';
|
|
8
|
+
import { M as MAX_USER_MENTION_COUNT, a as MAX_USER_SUGGESTION_COUNT } from '../../const-4674ec61.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-eeac3879.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-d3d5e7fc.js';
|
|
16
|
+
import { u as useLocalization } from '../../LocalizationContext-7f115178.js';
|
|
17
|
+
import '../../index-9570e69e.js';
|
|
18
18
|
import '../../ui/Icon.js';
|
|
19
|
-
import '../../_rollupPluginBabelHelpers-
|
|
19
|
+
import '../../_rollupPluginBabelHelpers-2a8797d8.js';
|
|
20
20
|
import 'prop-types';
|
|
21
21
|
import '../../ui/Avatar.js';
|
|
22
22
|
import '../../ui/ImageRenderer.js';
|
|
23
|
-
import '../../uuid-
|
|
23
|
+
import '../../uuid-38ace415.js';
|
|
24
24
|
import '../../withSendbird.js';
|
|
25
|
-
import '../../UserProfileContext-
|
|
26
|
-
import '../../topics-
|
|
27
|
-
import '../../compareIds-
|
|
28
|
-
import '../../groupChannel-
|
|
29
|
-
import '../../__bundle-7dfccc8c-
|
|
25
|
+
import '../../UserProfileContext-eccdbd50.js';
|
|
26
|
+
import '../../topics-58103dff.js';
|
|
27
|
+
import '../../compareIds-ccf594a3.js';
|
|
28
|
+
import '../../groupChannel-9bc7ca19.js';
|
|
29
|
+
import '../../__bundle-7dfccc8c-62bd23b5.js';
|
|
30
30
|
import '../../ui/ContextMenu.js';
|
|
31
31
|
import 'react-dom';
|
|
32
32
|
import '../../ui/SortByRow.js';
|
|
33
|
-
import '../../stringSet-
|
|
33
|
+
import '../../stringSet-a6858154.js';
|
|
34
34
|
import '../../ui/ReactionButton.js';
|
|
35
|
-
import '../../color-
|
|
35
|
+
import '../../color-1727a3fb.js';
|
|
36
36
|
import '../../ui/IconButton.js';
|
|
37
|
-
import '../../index-
|
|
37
|
+
import '../../index-33a103e9.js';
|
|
38
38
|
import '../../ui/MentionUserLabel.js';
|
|
39
39
|
import '../../ui/UserProfile.js';
|
|
40
40
|
import '../../sendbirdSelectors.js';
|
|
41
|
-
import '../../utils-
|
|
41
|
+
import '../../utils-5477ddbc.js';
|
|
42
42
|
import '../../ui/MessageStatus.js';
|
|
43
43
|
import '../../ui/Loader.js';
|
|
44
44
|
import '../../ui/MessageItemMenu.js';
|
|
@@ -58,7 +58,7 @@ import '../../ui/ThumbnailMessageItemBody.js';
|
|
|
58
58
|
import '../../ui/OGMessageItemBody.js';
|
|
59
59
|
import '../../ui/UnknownMessageItemBody.js';
|
|
60
60
|
import '../../ui/QuoteMessage.js';
|
|
61
|
-
import '../../index-
|
|
61
|
+
import '../../index-201c73a9.js';
|
|
62
62
|
import '../../ui/Modal.js';
|
|
63
63
|
|
|
64
64
|
var Message = function Message(props) {
|
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
import { a as __spreadArray } from '../../tslib.es6-
|
|
1
|
+
import { a as __spreadArray } from '../../tslib.es6-28c0bd97.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-01a680e0.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-7f115178.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-d3d5e7fc.js';
|
|
10
|
+
import '../../UserProfileContext-eccdbd50.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-7dfccc8c-
|
|
21
|
-
import '../../uuid-
|
|
12
|
+
import '../../_rollupPluginBabelHelpers-2a8797d8.js';
|
|
13
|
+
import '../../index-e15303b6.js';
|
|
14
|
+
import '../../index-9570e69e.js';
|
|
15
|
+
import '../../topics-58103dff.js';
|
|
16
|
+
import '../../index-a355e1d8.js';
|
|
17
|
+
import '../../compareIds-ccf594a3.js';
|
|
18
|
+
import '../../const-4674ec61.js';
|
|
19
|
+
import '../../groupChannel-9bc7ca19.js';
|
|
20
|
+
import '../../__bundle-7dfccc8c-62bd23b5.js';
|
|
21
|
+
import '../../uuid-38ace415.js';
|
|
22
22
|
import '../../ui/ContextMenu.js';
|
|
23
|
-
import '../../index-
|
|
24
|
-
import '../../stringSet-
|
|
23
|
+
import '../../index-eeac3879.js';
|
|
24
|
+
import '../../stringSet-a6858154.js';
|
|
25
25
|
import 'react-dom';
|
|
26
26
|
import '../../ui/SortByRow.js';
|
|
27
27
|
import '../../ui/ReactionButton.js';
|
|
28
28
|
import '../../ui/ImageRenderer.js';
|
|
29
29
|
import '../../ui/Icon.js';
|
|
30
30
|
import '../../ui/IconButton.js';
|
|
31
|
-
import '../../index-
|
|
31
|
+
import '../../index-33a103e9.js';
|
|
32
32
|
import '../../ui/MentionUserLabel.js';
|
|
33
33
|
import '../../withSendbird.js';
|
|
34
34
|
import '../../ui/Avatar.js';
|