@sendbird/uikit-react 3.0.0 → 3.0.2-beta.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 +28 -0
- package/Channel/components/ChannelHeader.js +17 -17
- package/Channel/components/ChannelUI.js +29 -25
- package/Channel/components/ChannelUI.js.map +1 -1
- 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 +28 -24
- package/Channel/components/MessageList.js.map +1 -1
- 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 +54 -35
- package/ChannelList/components/ChannelListUI.js.map +1 -1
- 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-551b956e.js} +43 -29
- package/ChannelListProvider-551b956e.js.map +1 -0
- package/{ChannelProvider-3d7434a2.js → ChannelProvider-f2229414.js} +21 -15
- package/ChannelProvider-f2229414.js.map +1 -0
- 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 +51 -41
- 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-15dfa1af.js} +1 -1
- package/CreateChannelProvider-15dfa1af.js.map +1 -0
- package/EditUserProfile/components/EditUserProfileUI.js +13 -13
- package/EditUserProfile.js +13 -13
- package/{LocalizationContext-4b1ec8b9.js → LocalizationContext-cf80416c.js} +3 -3
- package/{LocalizationContext-4b1ec8b9.js.map → LocalizationContext-cf80416c.js.map} +1 -1
- package/{MemberList-0f94f1c7.js → MemberList-f79c33ff.js} +24 -20
- package/MemberList-f79c33ff.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-e5364b83.js} +9 -9
- package/{OpenChannelProvider-c9d83594.js.map → OpenChannelProvider-e5364b83.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 +67 -37
- package/SendbirdProvider.js.map +1 -1
- package/{UserProfileContext-d0287bb6.js → UserProfileContext-977db3ff.js} +1 -1
- package/{UserProfileContext-d0287bb6.js.map → UserProfileContext-977db3ff.js.map} +1 -1
- package/__bundle-7dfccc8c-db2ded0f.js +4396 -0
- package/__bundle-7dfccc8c-db2ded0f.js.map +1 -0
- package/{_rollupPluginBabelHelpers-abbcef5e.js → _rollupPluginBabelHelpers-fdcfbfcc.js} +1 -1
- package/{_rollupPluginBabelHelpers-abbcef5e.js.map → _rollupPluginBabelHelpers-fdcfbfcc.js.map} +1 -1
- package/{actionTypes-d0ccd7e4.js → actionTypes-6075fcef.js} +1 -1
- package/{actionTypes-d0ccd7e4.js.map → actionTypes-6075fcef.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 +29 -25
- package/cjs/Channel/components/ChannelUI.js.map +1 -1
- 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 +28 -24
- package/cjs/Channel/components/MessageList.js.map +1 -1
- 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 +53 -34
- package/cjs/ChannelList/components/ChannelListUI.js.map +1 -1
- 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-a78dcace.js} +43 -29
- package/cjs/ChannelListProvider-a78dcace.js.map +1 -0
- package/cjs/{ChannelProvider-793fddf5.js → ChannelProvider-1c64ff8e.js} +21 -15
- package/cjs/ChannelProvider-1c64ff8e.js.map +1 -0
- 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 +51 -41
- 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-d3305abc.js} +1 -1
- package/cjs/CreateChannelProvider-d3305abc.js.map +1 -0
- package/cjs/EditUserProfile/components/EditUserProfileUI.js +13 -13
- package/cjs/EditUserProfile.js +13 -13
- package/cjs/{LocalizationContext-855bfc31.js → LocalizationContext-baf1fe9b.js} +3 -3
- package/cjs/{LocalizationContext-855bfc31.js.map → LocalizationContext-baf1fe9b.js.map} +1 -1
- package/cjs/{MemberList-c446abed.js → MemberList-95fc8f1a.js} +24 -20
- package/cjs/MemberList-95fc8f1a.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-cc9ee134.js} +9 -9
- package/cjs/{OpenChannelProvider-2264dc27.js.map → OpenChannelProvider-cc9ee134.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 +67 -37
- package/cjs/SendbirdProvider.js.map +1 -1
- package/cjs/{UserProfileContext-627c1f20.js → UserProfileContext-d4c230c3.js} +1 -1
- package/cjs/{UserProfileContext-627c1f20.js.map → UserProfileContext-d4c230c3.js.map} +1 -1
- package/cjs/__bundle-7dfccc8c-e40d0934.js +4523 -0
- package/cjs/__bundle-7dfccc8c-e40d0934.js.map +1 -0
- package/cjs/{_rollupPluginBabelHelpers-89a197f1.js → _rollupPluginBabelHelpers-29633c69.js} +1 -1
- package/cjs/{_rollupPluginBabelHelpers-89a197f1.js.map → _rollupPluginBabelHelpers-29633c69.js.map} +1 -1
- package/cjs/{actionTypes-3f5d873f.js → actionTypes-27fdf504.js} +1 -1
- package/cjs/{actionTypes-3f5d873f.js.map → actionTypes-27fdf504.js.map} +1 -1
- package/cjs/{color-894bd822.js → color-10db49db.js} +1 -1
- package/cjs/{color-894bd822.js.map → color-10db49db.js.map} +1 -1
- package/cjs/{compareIds-bc1f1524.js → compareIds-b6c1549b.js} +1 -1
- package/cjs/{compareIds-bc1f1524.js.map → compareIds-b6c1549b.js.map} +1 -1
- package/cjs/{const-8fdee18a.js → const-216f25a9.js} +1 -1
- package/cjs/{const-8fdee18a.js.map → const-216f25a9.js.map} +1 -1
- package/cjs/{const-bb23ef90.js → const-7cba20e4.js} +1 -1
- package/cjs/{const-bb23ef90.js.map → const-7cba20e4.js.map} +1 -1
- package/cjs/{context-f07caf29.js → context-1bb3f131.js} +2 -2
- package/cjs/{context-f07caf29.js.map → context-1bb3f131.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-7c2201a9.js} +2 -2
- package/cjs/{groupChannel-64ff0a33.js.map → groupChannel-7c2201a9.js.map} +1 -1
- package/cjs/{index-a7643049.js → index-31de37a9.js} +3 -3
- package/cjs/{index-a7643049.js.map → index-31de37a9.js.map} +1 -1
- package/cjs/{index-2ce368ff.js → index-4aac2260.js} +4 -4
- package/cjs/{index-2ce368ff.js.map → index-4aac2260.js.map} +1 -1
- package/cjs/{index-47e86329.js → index-802a624a.js} +2 -2
- package/cjs/{index-47e86329.js.map → index-802a624a.js.map} +1 -1
- package/cjs/{index-3dd33e71.js → index-885e6586.js} +2 -2
- package/cjs/{index-3dd33e71.js.map → index-885e6586.js.map} +1 -1
- package/cjs/{index-9bc1ab0f.js → index-8a02c34e.js} +2 -2
- package/cjs/{index-9bc1ab0f.js.map → index-8a02c34e.js.map} +1 -1
- package/cjs/{index-3298ba2f.js → index-9f277fa2.js} +4 -4
- package/cjs/{index-3298ba2f.js.map → index-9f277fa2.js.map} +1 -1
- package/cjs/{index-c730dbc7.js → index-c5e7bc6f.js} +6 -6
- package/cjs/{index-c730dbc7.js.map → index-c5e7bc6f.js.map} +1 -1
- package/cjs/{index-d85e4159.js → index-d4396be3.js} +1 -1
- package/cjs/{index-d85e4159.js.map → index-d4396be3.js.map} +1 -1
- package/cjs/{index-3bc84b64.js → index-f457d792.js} +3 -3
- package/cjs/{index-3bc84b64.js.map → index-f457d792.js.map} +1 -1
- package/cjs/{index-e844a017.js → index-fdfc8df4.js} +1 -1
- package/cjs/{index-e844a017.js.map → index-fdfc8df4.js.map} +1 -1
- package/cjs/index.js +35 -35
- package/cjs/openChannel-1f1f5648.js +5251 -0
- package/cjs/openChannel-1f1f5648.js.map +1 -0
- package/cjs/{openChannelUtils-f64587d0.js → openChannelUtils-3b8eec58.js} +1 -1
- package/cjs/{openChannelUtils-f64587d0.js.map → openChannelUtils-3b8eec58.js.map} +1 -1
- package/cjs/sendbirdSelectors.js +2 -2
- package/cjs/{stringSet-46fdf7f6.js → stringSet-f932274f.js} +1 -1
- package/cjs/{stringSet-46fdf7f6.js.map → stringSet-f932274f.js.map} +1 -1
- package/cjs/{topics-8365570f.js → topics-e0269931.js} +1 -1
- package/cjs/{topics-8365570f.js.map → topics-e0269931.js.map} +1 -1
- package/cjs/{tslib.es6-e6723880.js → tslib.es6-592b36e8.js} +1 -1
- package/cjs/{tslib.es6-e6723880.js.map → tslib.es6-592b36e8.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 +14 -13
- package/cjs/ui/MentionLabel.js.map +1 -1
- 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-a807e55b.js → utils-01d5bf79.js} +1 -1
- package/cjs/{utils-a807e55b.js.map → utils-01d5bf79.js.map} +1 -1
- package/cjs/{utils-d961e3ec.js → utils-352cb0a5.js} +1 -1
- package/cjs/{utils-d961e3ec.js.map → utils-352cb0a5.js.map} +1 -1
- package/cjs/{utils-896260ad.js → utils-762f2f61.js} +1 -1
- package/cjs/{utils-896260ad.js.map → utils-762f2f61.js.map} +1 -1
- package/cjs/{uuid-f50c28bd.js → uuid-5ffba0f8.js} +1 -1
- package/cjs/{uuid-f50c28bd.js.map → uuid-5ffba0f8.js.map} +1 -1
- package/cjs/withSendbird.js +1 -1
- package/{color-61b0f496.js → color-24138028.js} +1 -1
- package/{color-61b0f496.js.map → color-24138028.js.map} +1 -1
- package/{compareIds-e48fb1d0.js → compareIds-286831ea.js} +1 -1
- package/{compareIds-e48fb1d0.js.map → compareIds-286831ea.js.map} +1 -1
- package/{const-6fe536c0.js → const-725e6443.js} +1 -1
- package/{const-6fe536c0.js.map → const-725e6443.js.map} +1 -1
- package/{const-d3857731.js → const-9ccaba50.js} +1 -1
- package/{const-d3857731.js.map → const-9ccaba50.js.map} +1 -1
- package/{context-178f9029.js → context-482c87f7.js} +2 -2
- package/{context-178f9029.js.map → context-482c87f7.js.map} +1 -1
- package/dist/index.css +93 -93
- package/dist/index.css.map +1 -1
- package/{groupChannel-009a07f0.js → groupChannel-4ad208bd.js} +2 -2
- package/{groupChannel-009a07f0.js.map → groupChannel-4ad208bd.js.map} +1 -1
- package/{index-87af3e7d.js → index-072521c3.js} +1 -1
- package/{index-87af3e7d.js.map → index-072521c3.js.map} +1 -1
- package/{index-4eddd935.js → index-25339141.js} +4 -4
- package/{index-4eddd935.js.map → index-25339141.js.map} +1 -1
- package/{index-75f9b6fc.js → index-35ab7b97.js} +1 -1
- package/{index-75f9b6fc.js.map → index-35ab7b97.js.map} +1 -1
- package/{index-cff868a8.js → index-78302d10.js} +2 -2
- package/{index-cff868a8.js.map → index-78302d10.js.map} +1 -1
- package/{index-d6e33a8d.js → index-8a388ae7.js} +3 -3
- package/{index-d6e33a8d.js.map → index-8a388ae7.js.map} +1 -1
- package/{index-a5b58199.js → index-8d874712.js} +3 -3
- package/{index-a5b58199.js.map → index-8d874712.js.map} +1 -1
- package/{index-7b2f13ef.js → index-e53b04fa.js} +2 -2
- package/{index-7b2f13ef.js.map → index-e53b04fa.js.map} +1 -1
- package/{index-1b5914a8.js → index-e63d152e.js} +6 -6
- package/{index-1b5914a8.js.map → index-e63d152e.js.map} +1 -1
- package/{index-39d43f7e.js → index-e9e40be7.js} +4 -4
- package/{index-39d43f7e.js.map → index-e9e40be7.js.map} +1 -1
- package/{index-aa13fe48.js → index-f6b6701e.js} +2 -2
- package/{index-aa13fe48.js.map → index-f6b6701e.js.map} +1 -1
- package/index.d.ts +11 -5
- package/index.js +35 -35
- package/openChannel-6f350123.js +5246 -0
- package/openChannel-6f350123.js.map +1 -0
- package/{openChannelUtils-41763348.js → openChannelUtils-d9065b0b.js} +1 -1
- package/{openChannelUtils-41763348.js.map → openChannelUtils-d9065b0b.js.map} +1 -1
- package/package-lock.json +1 -1
- package/package.json +2 -1
- package/sendbirdSelectors.js +2 -2
- package/{stringSet-130b5cd9.js → stringSet-f697bfff.js} +1 -1
- package/{stringSet-130b5cd9.js.map → stringSet-f697bfff.js.map} +1 -1
- package/{topics-2773df5c.js → topics-b6afa630.js} +1 -1
- package/{topics-2773df5c.js.map → topics-b6afa630.js.map} +1 -1
- package/{tslib.es6-41c9b7f1.js → tslib.es6-42c9ba76.js} +1 -1
- package/{tslib.es6-41c9b7f1.js.map → tslib.es6-42c9ba76.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 +14 -13
- package/ui/MentionLabel.js.map +1 -1
- 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-c2b6ba56.js → utils-02eaadb8.js} +1 -1
- package/{utils-c2b6ba56.js.map → utils-02eaadb8.js.map} +1 -1
- package/{utils-24f3af49.js → utils-78b45bd0.js} +1 -1
- package/{utils-24f3af49.js.map → utils-78b45bd0.js.map} +1 -1
- package/{utils-ce5e300e.js → utils-fb8d9bf1.js} +1 -1
- package/{utils-ce5e300e.js.map → utils-fb8d9bf1.js.map} +1 -1
- package/{uuid-cd809c2c.js → uuid-d61c5d2d.js} +1 -1
- package/{uuid-cd809c2c.js.map → uuid-d61c5d2d.js.map} +1 -1
- package/withSendbird.js +1 -1
- package/ChannelListProvider-bc1f14ac.js.map +0 -1
- package/ChannelProvider-3d7434a2.js.map +0 -1
- package/CreateChannelProvider-8464145a.js.map +0 -1
- package/MemberList-0f94f1c7.js.map +0 -1
- package/__bundle-7dfccc8c-36a58bd4.js +0 -24
- package/__bundle-7dfccc8c-36a58bd4.js.map +0 -1
- package/cjs/ChannelListProvider-8157ae01.js.map +0 -1
- package/cjs/ChannelProvider-793fddf5.js.map +0 -1
- package/cjs/CreateChannelProvider-b462ce84.js.map +0 -1
- package/cjs/MemberList-c446abed.js.map +0 -1
- package/cjs/__bundle-7dfccc8c-437d2fd3.js +0 -151
- package/cjs/__bundle-7dfccc8c-437d2fd3.js.map +0 -1
- package/cjs/openChannel-1fe2127a.js +0 -13
- package/cjs/openChannel-1fe2127a.js.map +0 -1
- package/openChannel-0d900561.js +0 -8
- package/openChannel-0d900561.js.map +0 -1
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import React__default, { useContext, useState } from 'react';
|
|
2
|
-
import { a as LocalizationContext } from '../../LocalizationContext-
|
|
2
|
+
import { a as LocalizationContext } from '../../LocalizationContext-cf80416c.js';
|
|
3
3
|
import useSendbirdStateContext from '../../useSendbirdStateContext.js';
|
|
4
4
|
import { useChannelSettingsContext } from '../context.js';
|
|
5
5
|
import ChannelAvatar from '../../ui/ChannelAvatar.js';
|
|
6
6
|
import TextButton from '../../ui/TextButton.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-8d874712.js';
|
|
8
8
|
import EditDetails from './EditDetailsModal.js';
|
|
9
|
-
import '../../stringSet-
|
|
10
|
-
import '../../index-
|
|
9
|
+
import '../../stringSet-f697bfff.js';
|
|
10
|
+
import '../../index-35ab7b97.js';
|
|
11
11
|
import '../../withSendbird.js';
|
|
12
|
-
import '../../_rollupPluginBabelHelpers-
|
|
13
|
-
import '../../UserProfileContext-
|
|
12
|
+
import '../../_rollupPluginBabelHelpers-fdcfbfcc.js';
|
|
13
|
+
import '../../UserProfileContext-977db3ff.js';
|
|
14
14
|
import 'prop-types';
|
|
15
|
-
import '../../uuid-
|
|
15
|
+
import '../../uuid-d61c5d2d.js';
|
|
16
16
|
import '../../ui/Avatar.js';
|
|
17
|
-
import '../../tslib.es6-
|
|
17
|
+
import '../../tslib.es6-42c9ba76.js';
|
|
18
18
|
import '../../ui/ImageRenderer.js';
|
|
19
19
|
import '../../ui/Icon.js';
|
|
20
|
-
import '../../utils-
|
|
21
|
-
import '../../color-
|
|
20
|
+
import '../../utils-78b45bd0.js';
|
|
21
|
+
import '../../color-24138028.js';
|
|
22
22
|
import '../../ui/Modal.js';
|
|
23
23
|
import 'react-dom';
|
|
24
|
-
import '../../index-
|
|
24
|
+
import '../../index-072521c3.js';
|
|
25
25
|
import '../../ui/IconButton.js';
|
|
26
|
-
import '../../index-
|
|
27
|
-
import '../../utils-
|
|
26
|
+
import '../../index-8a388ae7.js';
|
|
27
|
+
import '../../utils-fb8d9bf1.js';
|
|
28
28
|
import '../../ui/Input.js';
|
|
29
29
|
|
|
30
30
|
var ChannelProfile = function ChannelProfile() {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React__default, { useContext, useState } from 'react';
|
|
2
2
|
import useSendbirdStateContext from '../../useSendbirdStateContext.js';
|
|
3
3
|
import { useChannelSettingsContext } from '../context.js';
|
|
4
|
-
import { P as PlaceHolder, a as PlaceHolderTypes } from '../../index-
|
|
5
|
-
import { L as Label, a as LabelTypography, b as LabelColors } from '../../index-
|
|
6
|
-
import { a as LocalizationContext } from '../../LocalizationContext-
|
|
4
|
+
import { P as PlaceHolder, a as PlaceHolderTypes } from '../../index-e9e40be7.js';
|
|
5
|
+
import { L as Label, a as LabelTypography, b as LabelColors } from '../../index-8d874712.js';
|
|
6
|
+
import { a as LocalizationContext } from '../../LocalizationContext-cf80416c.js';
|
|
7
7
|
import Icon, { IconTypes, IconColors } from '../../ui/Icon.js';
|
|
8
8
|
import IconButton from '../../ui/IconButton.js';
|
|
9
9
|
import ChannelProfile from './ChannelProfile.js';
|
|
@@ -11,42 +11,42 @@ import AdminPannel from './ModerationPanel.js';
|
|
|
11
11
|
import LeaveChannel from './LeaveChannel.js';
|
|
12
12
|
import UserPanel from './UserPanel.js';
|
|
13
13
|
import '../../withSendbird.js';
|
|
14
|
-
import '../../_rollupPluginBabelHelpers-
|
|
15
|
-
import '../../UserProfileContext-
|
|
14
|
+
import '../../_rollupPluginBabelHelpers-fdcfbfcc.js';
|
|
15
|
+
import '../../UserProfileContext-977db3ff.js';
|
|
16
16
|
import 'prop-types';
|
|
17
|
-
import '../../uuid-
|
|
17
|
+
import '../../uuid-d61c5d2d.js';
|
|
18
18
|
import '../../ui/Loader.js';
|
|
19
|
-
import '../../stringSet-
|
|
20
|
-
import '../../index-
|
|
19
|
+
import '../../stringSet-f697bfff.js';
|
|
20
|
+
import '../../index-35ab7b97.js';
|
|
21
21
|
import '../../ui/ChannelAvatar.js';
|
|
22
22
|
import '../../ui/Avatar.js';
|
|
23
|
-
import '../../tslib.es6-
|
|
23
|
+
import '../../tslib.es6-42c9ba76.js';
|
|
24
24
|
import '../../ui/ImageRenderer.js';
|
|
25
|
-
import '../../utils-
|
|
25
|
+
import '../../utils-78b45bd0.js';
|
|
26
26
|
import '../../ui/TextButton.js';
|
|
27
|
-
import '../../color-
|
|
27
|
+
import '../../color-24138028.js';
|
|
28
28
|
import './EditDetailsModal.js';
|
|
29
29
|
import '../../ui/Modal.js';
|
|
30
30
|
import 'react-dom';
|
|
31
|
-
import '../../index-
|
|
32
|
-
import '../../index-
|
|
33
|
-
import '../../utils-
|
|
31
|
+
import '../../index-072521c3.js';
|
|
32
|
+
import '../../index-8a388ae7.js';
|
|
33
|
+
import '../../utils-fb8d9bf1.js';
|
|
34
34
|
import '../../ui/Input.js';
|
|
35
35
|
import '../../ui/Accordion.js';
|
|
36
36
|
import '../../ui/AccordionGroup.js';
|
|
37
|
-
import '../../context-
|
|
37
|
+
import '../../context-482c87f7.js';
|
|
38
38
|
import '../../ui/Badge.js';
|
|
39
39
|
import '../../ui/ContextMenu.js';
|
|
40
|
-
import '../../index-
|
|
40
|
+
import '../../index-f6b6701e.js';
|
|
41
41
|
import '../../ui/SortByRow.js';
|
|
42
42
|
import './UserListItem.js';
|
|
43
43
|
import '../../ui/MutedAvatarOverlay.js';
|
|
44
44
|
import '../../ui/UserProfile.js';
|
|
45
45
|
import '../../sendbirdSelectors.js';
|
|
46
|
-
import '../../topics-
|
|
46
|
+
import '../../topics-b6afa630.js';
|
|
47
47
|
import '../../ui/UserListItem.js';
|
|
48
48
|
import '../../ui/Checkbox.js';
|
|
49
|
-
import '../../MemberList-
|
|
49
|
+
import '../../MemberList-f79c33ff.js';
|
|
50
50
|
|
|
51
51
|
var ChannelSettingsUI = function ChannelSettingsUI(props) {
|
|
52
52
|
var _a, _b;
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import React__default, { useRef, useState, useContext } from 'react';
|
|
2
2
|
import { useChannelSettingsContext } from '../context.js';
|
|
3
|
-
import { a as LocalizationContext } from '../../LocalizationContext-
|
|
3
|
+
import { a as LocalizationContext } from '../../LocalizationContext-cf80416c.js';
|
|
4
4
|
import useSendbirdStateContext from '../../useSendbirdStateContext.js';
|
|
5
5
|
import Modal from '../../ui/Modal.js';
|
|
6
6
|
import Input, { InputLabel } from '../../ui/Input.js';
|
|
7
7
|
import Avatar from '../../ui/Avatar.js';
|
|
8
|
-
import { T as Type } from '../../index-
|
|
9
|
-
import { L as Label, a as LabelTypography, b as LabelColors } from '../../index-
|
|
8
|
+
import { T as Type } from '../../index-8a388ae7.js';
|
|
9
|
+
import { L as Label, a as LabelTypography, b as LabelColors } from '../../index-8d874712.js';
|
|
10
10
|
import TextButton from '../../ui/TextButton.js';
|
|
11
11
|
import ChannelAvatar from '../../ui/ChannelAvatar.js';
|
|
12
|
-
import { u as uuidv4 } from '../../uuid-
|
|
13
|
-
import '../../UserProfileContext-
|
|
12
|
+
import { u as uuidv4 } from '../../uuid-d61c5d2d.js';
|
|
13
|
+
import '../../UserProfileContext-977db3ff.js';
|
|
14
14
|
import 'prop-types';
|
|
15
15
|
import '../../withSendbird.js';
|
|
16
|
-
import '../../_rollupPluginBabelHelpers-
|
|
17
|
-
import '../../stringSet-
|
|
18
|
-
import '../../index-
|
|
16
|
+
import '../../_rollupPluginBabelHelpers-fdcfbfcc.js';
|
|
17
|
+
import '../../stringSet-f697bfff.js';
|
|
18
|
+
import '../../index-35ab7b97.js';
|
|
19
19
|
import 'react-dom';
|
|
20
|
-
import '../../index-
|
|
20
|
+
import '../../index-072521c3.js';
|
|
21
21
|
import '../../ui/IconButton.js';
|
|
22
22
|
import '../../ui/Icon.js';
|
|
23
|
-
import '../../utils-
|
|
24
|
-
import '../../tslib.es6-
|
|
23
|
+
import '../../utils-fb8d9bf1.js';
|
|
24
|
+
import '../../tslib.es6-42c9ba76.js';
|
|
25
25
|
import '../../ui/ImageRenderer.js';
|
|
26
|
-
import '../../color-
|
|
27
|
-
import '../../utils-
|
|
26
|
+
import '../../color-24138028.js';
|
|
27
|
+
import '../../utils-78b45bd0.js';
|
|
28
28
|
|
|
29
29
|
var EditDetails = function EditDetails(props) {
|
|
30
30
|
var _a, _b, _c;
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
2
|
import useSendbirdStateContext from '../../useSendbirdStateContext.js';
|
|
3
3
|
import { useChannelSettingsContext } from '../context.js';
|
|
4
|
-
import { n as noop } from '../../utils-
|
|
4
|
+
import { n as noop } from '../../utils-fb8d9bf1.js';
|
|
5
5
|
import Modal from '../../ui/Modal.js';
|
|
6
6
|
import '../../withSendbird.js';
|
|
7
|
-
import '../../_rollupPluginBabelHelpers-
|
|
8
|
-
import '../../UserProfileContext-
|
|
7
|
+
import '../../_rollupPluginBabelHelpers-fdcfbfcc.js';
|
|
8
|
+
import '../../UserProfileContext-977db3ff.js';
|
|
9
9
|
import 'prop-types';
|
|
10
|
-
import '../../uuid-
|
|
10
|
+
import '../../uuid-d61c5d2d.js';
|
|
11
11
|
import 'react-dom';
|
|
12
|
-
import '../../LocalizationContext-
|
|
13
|
-
import '../../stringSet-
|
|
14
|
-
import '../../index-
|
|
15
|
-
import '../../index-
|
|
12
|
+
import '../../LocalizationContext-cf80416c.js';
|
|
13
|
+
import '../../stringSet-f697bfff.js';
|
|
14
|
+
import '../../index-35ab7b97.js';
|
|
15
|
+
import '../../index-072521c3.js';
|
|
16
16
|
import '../../ui/IconButton.js';
|
|
17
17
|
import '../../ui/Icon.js';
|
|
18
|
-
import '../../index-
|
|
19
|
-
import '../../index-
|
|
18
|
+
import '../../index-8a388ae7.js';
|
|
19
|
+
import '../../index-8d874712.js';
|
|
20
20
|
|
|
21
21
|
var LeaveChannel = function LeaveChannel(props) {
|
|
22
22
|
var _a, _b, _c;
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import React__default, { useState, useEffect, useContext, useCallback } from 'react';
|
|
2
|
-
import { a as LocalizationContext } from '../../LocalizationContext-
|
|
2
|
+
import { a as LocalizationContext } from '../../LocalizationContext-cf80416c.js';
|
|
3
3
|
import Accordion, { AccordionGroup } from '../../ui/Accordion.js';
|
|
4
|
-
import { L as Label, b as LabelColors, a as LabelTypography } from '../../index-
|
|
4
|
+
import { L as Label, b as LabelColors, a as LabelTypography } from '../../index-8d874712.js';
|
|
5
5
|
import Icon, { IconTypes, IconColors } from '../../ui/Icon.js';
|
|
6
6
|
import Badge from '../../ui/Badge.js';
|
|
7
|
-
import { T as Type, B as Button, a as ButtonTypes, b as ButtonSizes } from '../../index-
|
|
7
|
+
import { T as Type, B as Button, a as ButtonTypes, b as ButtonSizes } from '../../index-8a388ae7.js';
|
|
8
8
|
import IconButton from '../../ui/IconButton.js';
|
|
9
9
|
import ContextMenu, { MenuItems, MenuItem } from '../../ui/ContextMenu.js';
|
|
10
10
|
import UserListItem$1 from './UserListItem.js';
|
|
11
|
-
import { a as __spreadArray, _ as __assign } from '../../tslib.es6-
|
|
11
|
+
import { a as __spreadArray, _ as __assign } from '../../tslib.es6-42c9ba76.js';
|
|
12
12
|
import Modal from '../../ui/Modal.js';
|
|
13
13
|
import UserListItem from '../../ui/UserListItem.js';
|
|
14
14
|
import { useChannelSettingsContext } from '../context.js';
|
|
15
15
|
import useSendbirdStateContext from '../../useSendbirdStateContext.js';
|
|
16
|
-
import { M as MemberList } from '../../MemberList-
|
|
17
|
-
import { n as noop } from '../../utils-
|
|
18
|
-
import '../../stringSet-
|
|
19
|
-
import '../../index-
|
|
16
|
+
import { M as MemberList } from '../../MemberList-f79c33ff.js';
|
|
17
|
+
import { n as noop } from '../../utils-fb8d9bf1.js';
|
|
18
|
+
import '../../stringSet-f697bfff.js';
|
|
19
|
+
import '../../index-35ab7b97.js';
|
|
20
20
|
import '../../ui/AccordionGroup.js';
|
|
21
|
-
import '../../context-
|
|
22
|
-
import '../../_rollupPluginBabelHelpers-
|
|
21
|
+
import '../../context-482c87f7.js';
|
|
22
|
+
import '../../_rollupPluginBabelHelpers-fdcfbfcc.js';
|
|
23
23
|
import 'prop-types';
|
|
24
|
-
import '../../index-
|
|
24
|
+
import '../../index-f6b6701e.js';
|
|
25
25
|
import 'react-dom';
|
|
26
26
|
import '../../ui/SortByRow.js';
|
|
27
|
-
import '../../UserProfileContext-
|
|
27
|
+
import '../../UserProfileContext-977db3ff.js';
|
|
28
28
|
import '../../ui/Avatar.js';
|
|
29
29
|
import '../../ui/ImageRenderer.js';
|
|
30
|
-
import '../../uuid-
|
|
30
|
+
import '../../uuid-d61c5d2d.js';
|
|
31
31
|
import '../../ui/MutedAvatarOverlay.js';
|
|
32
32
|
import '../../ui/UserProfile.js';
|
|
33
33
|
import '../../withSendbird.js';
|
|
34
34
|
import '../../sendbirdSelectors.js';
|
|
35
|
-
import '../../topics-
|
|
36
|
-
import '../../index-
|
|
35
|
+
import '../../topics-b6afa630.js';
|
|
36
|
+
import '../../index-072521c3.js';
|
|
37
37
|
import '../../ui/Checkbox.js';
|
|
38
38
|
|
|
39
39
|
function OperatorsModal(_a) {
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { a as __spreadArray } from '../../tslib.es6-
|
|
1
|
+
import { a as __spreadArray } from '../../tslib.es6-42c9ba76.js';
|
|
2
2
|
import React__default, { useRef, useContext } from 'react';
|
|
3
|
-
import { a as LocalizationContext } from '../../LocalizationContext-
|
|
4
|
-
import { a as UserProfileContext } from '../../UserProfileContext-
|
|
3
|
+
import { a as LocalizationContext } from '../../LocalizationContext-cf80416c.js';
|
|
4
|
+
import { a as UserProfileContext } from '../../UserProfileContext-977db3ff.js';
|
|
5
5
|
import Avatar from '../../ui/Avatar.js';
|
|
6
6
|
import MutedAvatarOverlay from '../../ui/MutedAvatarOverlay.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-8d874712.js';
|
|
8
8
|
import ConnectedUserProfile from '../../ui/UserProfile.js';
|
|
9
9
|
import ContextMenu, { MenuItems } from '../../ui/ContextMenu.js';
|
|
10
|
-
import '../../stringSet-
|
|
11
|
-
import '../../index-
|
|
10
|
+
import '../../stringSet-f697bfff.js';
|
|
11
|
+
import '../../index-35ab7b97.js';
|
|
12
12
|
import 'prop-types';
|
|
13
13
|
import '../../ui/ImageRenderer.js';
|
|
14
|
-
import '../../_rollupPluginBabelHelpers-
|
|
14
|
+
import '../../_rollupPluginBabelHelpers-fdcfbfcc.js';
|
|
15
15
|
import '../../ui/Icon.js';
|
|
16
|
-
import '../../uuid-
|
|
16
|
+
import '../../uuid-d61c5d2d.js';
|
|
17
17
|
import '../../withSendbird.js';
|
|
18
18
|
import '../../sendbirdSelectors.js';
|
|
19
|
-
import '../../topics-
|
|
20
|
-
import '../../utils-
|
|
21
|
-
import '../../index-
|
|
22
|
-
import '../../index-
|
|
19
|
+
import '../../topics-b6afa630.js';
|
|
20
|
+
import '../../utils-fb8d9bf1.js';
|
|
21
|
+
import '../../index-8a388ae7.js';
|
|
22
|
+
import '../../index-f6b6701e.js';
|
|
23
23
|
import 'react-dom';
|
|
24
24
|
import '../../ui/SortByRow.js';
|
|
25
25
|
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import React__default, { useContext, useState } from 'react';
|
|
2
|
-
import { a as LocalizationContext } from '../../LocalizationContext-
|
|
3
|
-
import { L as Label, a as LabelTypography, b as LabelColors } from '../../index-
|
|
2
|
+
import { a as LocalizationContext } from '../../LocalizationContext-cf80416c.js';
|
|
3
|
+
import { L as Label, a as LabelTypography, b as LabelColors } from '../../index-8d874712.js';
|
|
4
4
|
import Icon, { IconTypes, IconColors } from '../../ui/Icon.js';
|
|
5
5
|
import Badge from '../../ui/Badge.js';
|
|
6
|
-
import { M as MemberList } from '../../MemberList-
|
|
6
|
+
import { M as MemberList } from '../../MemberList-f79c33ff.js';
|
|
7
7
|
import { useChannelSettingsContext } from '../context.js';
|
|
8
|
-
import '../../stringSet-
|
|
9
|
-
import '../../index-
|
|
10
|
-
import '../../_rollupPluginBabelHelpers-
|
|
8
|
+
import '../../stringSet-f697bfff.js';
|
|
9
|
+
import '../../index-35ab7b97.js';
|
|
10
|
+
import '../../_rollupPluginBabelHelpers-fdcfbfcc.js';
|
|
11
11
|
import 'prop-types';
|
|
12
|
-
import '../../index-
|
|
12
|
+
import '../../index-8a388ae7.js';
|
|
13
13
|
import '../../ui/IconButton.js';
|
|
14
14
|
import '../../ui/ContextMenu.js';
|
|
15
|
-
import '../../index-
|
|
16
|
-
import '../../tslib.es6-
|
|
15
|
+
import '../../index-f6b6701e.js';
|
|
16
|
+
import '../../tslib.es6-42c9ba76.js';
|
|
17
17
|
import 'react-dom';
|
|
18
18
|
import '../../ui/SortByRow.js';
|
|
19
19
|
import './UserListItem.js';
|
|
20
|
-
import '../../UserProfileContext-
|
|
20
|
+
import '../../UserProfileContext-977db3ff.js';
|
|
21
21
|
import '../../ui/Avatar.js';
|
|
22
22
|
import '../../ui/ImageRenderer.js';
|
|
23
|
-
import '../../uuid-
|
|
23
|
+
import '../../uuid-d61c5d2d.js';
|
|
24
24
|
import '../../ui/MutedAvatarOverlay.js';
|
|
25
25
|
import '../../ui/UserProfile.js';
|
|
26
26
|
import '../../withSendbird.js';
|
|
27
27
|
import '../../sendbirdSelectors.js';
|
|
28
|
-
import '../../topics-
|
|
29
|
-
import '../../utils-
|
|
28
|
+
import '../../topics-b6afa630.js';
|
|
29
|
+
import '../../utils-fb8d9bf1.js';
|
|
30
30
|
import '../../ui/Modal.js';
|
|
31
|
-
import '../../index-
|
|
31
|
+
import '../../index-072521c3.js';
|
|
32
32
|
import '../../ui/UserListItem.js';
|
|
33
33
|
import '../../ui/Checkbox.js';
|
|
34
34
|
import '../../useSendbirdStateContext.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React__default, { useState, useEffect } from 'react';
|
|
2
2
|
import useSendbirdStateContext from '../useSendbirdStateContext.js';
|
|
3
|
-
import { U as UserProfileProvider } from '../UserProfileContext-
|
|
4
|
-
import { u as uuidv4 } from '../uuid-
|
|
3
|
+
import { U as UserProfileProvider } from '../UserProfileContext-977db3ff.js';
|
|
4
|
+
import { u as uuidv4 } from '../uuid-d61c5d2d.js';
|
|
5
5
|
import '../withSendbird.js';
|
|
6
|
-
import '../_rollupPluginBabelHelpers-
|
|
6
|
+
import '../_rollupPluginBabelHelpers-fdcfbfcc.js';
|
|
7
7
|
import 'prop-types';
|
|
8
8
|
|
|
9
9
|
var ChannelSettingsContext = /*#__PURE__*/React__default.createContext(undefined);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"context.js","sources":["../../src/smart-components/ChannelSettings/context/ChannelSettingsProvider.tsx"],"sourcesContent":["\nimport React, {\n useEffect,\n useState,\n} from 'react';\nimport type {\n GroupChannel,\n GroupChannelUpdateParams,\n SendbirdGroupChat,\n} from '@sendbird/chat/groupChannel';\n\nimport useSendbirdStateContext from '../../../hooks/useSendbirdStateContext';\nimport { RenderUserProfileProps } from '../../../types';\nimport { UserProfileProvider } from '../../../lib/UserProfileContext';\nimport uuidv4 from '../../../utils/uuid';\n\ninterface ApplicationUserListQuery {\n limit?: number;\n userIdsFilter?: Array<string>;\n metaDataKeyFilter?: string;\n metaDataValuesFilter?: Array<string>;\n}\n\ninterface ChannelSettingsQueries {\n applicationUserListQuery?: ApplicationUserListQuery;\n}\n\nexport type ChannelSettingsContextProps = {\n children
|
|
1
|
+
{"version":3,"file":"context.js","sources":["../../src/smart-components/ChannelSettings/context/ChannelSettingsProvider.tsx"],"sourcesContent":["\nimport React, {\n useEffect,\n useState,\n} from 'react';\nimport type {\n GroupChannel,\n GroupChannelUpdateParams,\n SendbirdGroupChat,\n} from '@sendbird/chat/groupChannel';\n\nimport useSendbirdStateContext from '../../../hooks/useSendbirdStateContext';\nimport { RenderUserProfileProps } from '../../../types';\nimport { UserProfileProvider } from '../../../lib/UserProfileContext';\nimport uuidv4 from '../../../utils/uuid';\n\ninterface ApplicationUserListQuery {\n limit?: number;\n userIdsFilter?: Array<string>;\n metaDataKeyFilter?: string;\n metaDataValuesFilter?: Array<string>;\n}\n\ninterface ChannelSettingsQueries {\n applicationUserListQuery?: ApplicationUserListQuery;\n}\n\nexport type ChannelSettingsContextProps = {\n children?: React.ReactNode;\n channelUrl: string;\n className?: string;\n onCloseClick?(): void;\n onChannelModified?(channel: GroupChannel): void;\n onBeforeUpdateChannel?(currentTitle: string, currentImg: File, data: string): GroupChannelUpdateParams;\n queries?: ChannelSettingsQueries;\n renderUserProfile?: (props: RenderUserProfileProps) => React.ReactNode;\n disableUserProfile?: boolean;\n}\n\ninterface ChannelSettingsProviderInterface {\n channelUrl: string;\n onCloseClick?(): void;\n onChannelModified?(channel: GroupChannel): void;\n onBeforeUpdateChannel?(currentTitle: string, currentImg: File, data: string): GroupChannelUpdateParams;\n queries?: ChannelSettingsQueries;\n setChannelUpdateId(uniqId: string): void;\n forceUpdateUI(): void;\n channel: GroupChannel;\n invalidChannel: boolean;\n}\n\nconst ChannelSettingsContext = React.createContext<ChannelSettingsProviderInterface|null>(undefined);\n\nconst ChannelSettingsProvider: React.FC<ChannelSettingsContextProps> = (props: ChannelSettingsContextProps) => {\n const {\n children,\n className,\n channelUrl,\n onCloseClick,\n onChannelModified,\n onBeforeUpdateChannel,\n queries,\n } = props;\n\n // fetch store from <SendbirdProvider />\n const globalStore = useSendbirdStateContext();\n const { config, stores } = globalStore;\n const { sdkStore } = stores;\n const { logger } = config;\n\n const { initialized } = sdkStore;\n const sdk = sdkStore?.sdk as SendbirdGroupChat;\n\n // hack to keep track of channel updates by triggering useEffect\n const [channelUpdateId, setChannelUpdateId] = useState(uuidv4());\n const [channel, setChannel] = useState(null);\n const [invalidChannel, setInvalidChannel] = useState(false);\n\n const forceUpdateUI = () => {\n setChannelUpdateId(uuidv4());\n }\n\n useEffect(() => {\n logger.info('ChannelSettings: Setting up');\n if (!channelUrl || !initialized || !sdk) {\n logger.warning('ChannelSettings: Setting up failed', 'No channelUrl or sdk uninitialized');\n setInvalidChannel(false);\n } else {\n if (!sdk || !sdk.groupChannel) {\n logger.warning('ChannelSettings: No GroupChannel');\n return;\n }\n sdk.groupChannel.getChannel(channelUrl).then((groupChannel) => {\n if (!groupChannel) {\n logger.warning('ChannelSettings: Channel not found');\n setInvalidChannel(true);\n } else {\n logger.info('ChannelSettings: Fetched group channel', groupChannel);\n setInvalidChannel(false);\n setChannel(groupChannel);\n }\n });\n }\n }, [channelUrl, initialized, channelUpdateId]);\n\n return (\n <ChannelSettingsContext.Provider value={{\n channelUrl,\n onCloseClick,\n onChannelModified,\n onBeforeUpdateChannel,\n queries,\n setChannelUpdateId,\n forceUpdateUI,\n channel,\n invalidChannel,\n }}>\n <UserProfileProvider\n renderUserProfile={props?.renderUserProfile}\n disableUserProfile={props?.disableUserProfile}\n >\n <div className={`sendbird-channel-settings ${className}`}>\n {children}\n </div>\n </UserProfileProvider>\n </ChannelSettingsContext.Provider>\n );\n}\n\nexport type UseChannelSettingsType = () => ChannelSettingsProviderInterface;\nconst useChannelSettingsContext: UseChannelSettingsType = () => React.useContext(ChannelSettingsContext);\n\nexport {\n ChannelSettingsProvider,\n useChannelSettingsContext,\n};\n"],"names":["ChannelSettingsContext","React","createContext","undefined","ChannelSettingsProvider","props","children","className","channelUrl","onCloseClick","onChannelModified","onBeforeUpdateChannel","queries","globalStore","useSendbirdStateContext","config","stores","sdkStore","logger","initialized","sdk","_a","useState","uuidv4","channelUpdateId","setChannelUpdateId","_b","channel","setChannel","_c","invalidChannel","setInvalidChannel","forceUpdateUI","useEffect","info","warning","groupChannel","getChannel","then","renderUserProfile","disableUserProfile","useChannelSettingsContext","useContext"],"mappings":"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"}
|
package/ChannelSettings.js
CHANGED
|
@@ -3,49 +3,49 @@ import ChannelSettingsUI from './ChannelSettings/components/ChannelSettingsUI.js
|
|
|
3
3
|
import { ChannelSettingsProvider } from './ChannelSettings/context.js';
|
|
4
4
|
import './useSendbirdStateContext.js';
|
|
5
5
|
import './withSendbird.js';
|
|
6
|
-
import './_rollupPluginBabelHelpers-
|
|
7
|
-
import './index-
|
|
6
|
+
import './_rollupPluginBabelHelpers-fdcfbfcc.js';
|
|
7
|
+
import './index-e9e40be7.js';
|
|
8
8
|
import 'prop-types';
|
|
9
9
|
import './ui/Icon.js';
|
|
10
10
|
import './ui/Loader.js';
|
|
11
|
-
import './LocalizationContext-
|
|
12
|
-
import './stringSet-
|
|
13
|
-
import './index-
|
|
14
|
-
import './index-
|
|
11
|
+
import './LocalizationContext-cf80416c.js';
|
|
12
|
+
import './stringSet-f697bfff.js';
|
|
13
|
+
import './index-35ab7b97.js';
|
|
14
|
+
import './index-8d874712.js';
|
|
15
15
|
import './ui/IconButton.js';
|
|
16
16
|
import './ChannelSettings/components/ChannelProfile.js';
|
|
17
17
|
import './ui/ChannelAvatar.js';
|
|
18
18
|
import './ui/Avatar.js';
|
|
19
|
-
import './tslib.es6-
|
|
19
|
+
import './tslib.es6-42c9ba76.js';
|
|
20
20
|
import './ui/ImageRenderer.js';
|
|
21
|
-
import './uuid-
|
|
22
|
-
import './utils-
|
|
21
|
+
import './uuid-d61c5d2d.js';
|
|
22
|
+
import './utils-78b45bd0.js';
|
|
23
23
|
import './ui/TextButton.js';
|
|
24
|
-
import './color-
|
|
24
|
+
import './color-24138028.js';
|
|
25
25
|
import './ChannelSettings/components/EditDetailsModal.js';
|
|
26
26
|
import './ui/Modal.js';
|
|
27
27
|
import 'react-dom';
|
|
28
|
-
import './index-
|
|
29
|
-
import './index-
|
|
30
|
-
import './utils-
|
|
28
|
+
import './index-072521c3.js';
|
|
29
|
+
import './index-8a388ae7.js';
|
|
30
|
+
import './utils-fb8d9bf1.js';
|
|
31
31
|
import './ui/Input.js';
|
|
32
32
|
import './ChannelSettings/components/ModerationPanel.js';
|
|
33
33
|
import './ui/Accordion.js';
|
|
34
34
|
import './ui/AccordionGroup.js';
|
|
35
|
-
import './context-
|
|
35
|
+
import './context-482c87f7.js';
|
|
36
36
|
import './ui/Badge.js';
|
|
37
37
|
import './ui/ContextMenu.js';
|
|
38
|
-
import './index-
|
|
38
|
+
import './index-f6b6701e.js';
|
|
39
39
|
import './ui/SortByRow.js';
|
|
40
40
|
import './ChannelSettings/components/UserListItem.js';
|
|
41
|
-
import './UserProfileContext-
|
|
41
|
+
import './UserProfileContext-977db3ff.js';
|
|
42
42
|
import './ui/MutedAvatarOverlay.js';
|
|
43
43
|
import './ui/UserProfile.js';
|
|
44
44
|
import './sendbirdSelectors.js';
|
|
45
|
-
import './topics-
|
|
45
|
+
import './topics-b6afa630.js';
|
|
46
46
|
import './ui/UserListItem.js';
|
|
47
47
|
import './ui/Checkbox.js';
|
|
48
|
-
import './MemberList-
|
|
48
|
+
import './MemberList-f79c33ff.js';
|
|
49
49
|
import './ChannelSettings/components/LeaveChannel.js';
|
|
50
50
|
import './ChannelSettings/components/UserPanel.js';
|
|
51
51
|
|
|
@@ -1,46 +1,50 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
|
-
import { u as useCreateChannelContext } from '../../CreateChannelProvider-
|
|
2
|
+
import { u as useCreateChannelContext } from '../../CreateChannelProvider-15dfa1af.js';
|
|
3
3
|
import InviteUsers from './InviteUsers.js';
|
|
4
4
|
import SelectChannelType from './SelectChannelType.js';
|
|
5
5
|
import '../../sendbirdSelectors.js';
|
|
6
|
-
import '../../topics-
|
|
7
|
-
import '../../utils-
|
|
6
|
+
import '../../topics-b6afa630.js';
|
|
7
|
+
import '../../utils-fb8d9bf1.js';
|
|
8
8
|
import '../../useSendbirdStateContext.js';
|
|
9
9
|
import '../../withSendbird.js';
|
|
10
|
-
import '../../_rollupPluginBabelHelpers-
|
|
11
|
-
import '../../tslib.es6-
|
|
12
|
-
import '../../LocalizationContext-
|
|
13
|
-
import '../../stringSet-
|
|
14
|
-
import '../../index-
|
|
10
|
+
import '../../_rollupPluginBabelHelpers-fdcfbfcc.js';
|
|
11
|
+
import '../../tslib.es6-42c9ba76.js';
|
|
12
|
+
import '../../LocalizationContext-cf80416c.js';
|
|
13
|
+
import '../../stringSet-f697bfff.js';
|
|
14
|
+
import '../../index-35ab7b97.js';
|
|
15
15
|
import '../../ui/Modal.js';
|
|
16
16
|
import 'prop-types';
|
|
17
17
|
import 'react-dom';
|
|
18
|
-
import '../../index-
|
|
18
|
+
import '../../index-072521c3.js';
|
|
19
19
|
import '../../ui/IconButton.js';
|
|
20
20
|
import '../../ui/Icon.js';
|
|
21
|
-
import '../../index-
|
|
22
|
-
import '../../index-
|
|
21
|
+
import '../../index-8a388ae7.js';
|
|
22
|
+
import '../../index-8d874712.js';
|
|
23
23
|
import '../../ui/UserListItem.js';
|
|
24
|
-
import '../../UserProfileContext-
|
|
24
|
+
import '../../UserProfileContext-977db3ff.js';
|
|
25
25
|
import '../../ui/Avatar.js';
|
|
26
26
|
import '../../ui/ImageRenderer.js';
|
|
27
|
-
import '../../uuid-
|
|
27
|
+
import '../../uuid-d61c5d2d.js';
|
|
28
28
|
import '../../ui/MutedAvatarOverlay.js';
|
|
29
29
|
import '../../ui/Checkbox.js';
|
|
30
30
|
import '../../ui/UserProfile.js';
|
|
31
31
|
import '../../ui/ContextMenu.js';
|
|
32
|
-
import '../../index-
|
|
32
|
+
import '../../index-f6b6701e.js';
|
|
33
33
|
import '../../ui/SortByRow.js';
|
|
34
34
|
|
|
35
35
|
var CreateChannel = function CreateChannel(props) {
|
|
36
36
|
var _onCancel = props.onCancel,
|
|
37
37
|
renderStepOne = props.renderStepOne;
|
|
38
|
-
|
|
39
|
-
var
|
|
40
|
-
|
|
38
|
+
|
|
39
|
+
var _a = useCreateChannelContext(),
|
|
40
|
+
step = _a.step,
|
|
41
|
+
setStep = _a.setStep,
|
|
42
|
+
userListQuery = _a.userListQuery;
|
|
43
|
+
|
|
41
44
|
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, step === 0 && ((renderStepOne === null || renderStepOne === void 0 ? void 0 : renderStepOne()) || /*#__PURE__*/React__default.createElement(SelectChannelType, {
|
|
42
45
|
onCancel: _onCancel
|
|
43
46
|
})), step === 1 && /*#__PURE__*/React__default.createElement(InviteUsers, {
|
|
47
|
+
userListQuery: userListQuery,
|
|
44
48
|
onCancel: function onCancel() {
|
|
45
49
|
setStep(0);
|
|
46
50
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateChannelUI.js","sources":["../../../src/smart-components/CreateChannel/components/CreateChannelUI/index.tsx"],"sourcesContent":["import React from 'react';\n\nimport { useCreateChannelContext } from '../../context/CreateChannelProvider';\nimport InviteUsers from '../InviteUsers';\n\nimport SelectChannelType from '../SelectChannelType';\n\nexport interface CreateChannelUIProps {\n onCancel?(): void;\n renderStepOne?:(props: void) => React.ReactNode;\n}\n\nconst CreateChannel: React.FC<CreateChannelUIProps> = (props: CreateChannelUIProps) => {\n const { onCancel, renderStepOne } = props;\n\n const
|
|
1
|
+
{"version":3,"file":"CreateChannelUI.js","sources":["../../../src/smart-components/CreateChannel/components/CreateChannelUI/index.tsx"],"sourcesContent":["import React from 'react';\n\nimport { useCreateChannelContext } from '../../context/CreateChannelProvider';\nimport InviteUsers from '../InviteUsers';\n\nimport SelectChannelType from '../SelectChannelType';\n\nexport interface CreateChannelUIProps {\n onCancel?(): void;\n renderStepOne?:(props: void) => React.ReactNode;\n}\n\nconst CreateChannel: React.FC<CreateChannelUIProps> = (props: CreateChannelUIProps) => {\n const { onCancel, renderStepOne } = props;\n\n const {\n step,\n setStep,\n userListQuery,\n } = useCreateChannelContext();\n\n return (\n <>\n {\n step === 0 && (\n renderStepOne?.() || (\n <SelectChannelType\n onCancel={onCancel}\n />\n )\n )\n }\n {\n step === 1 && (\n <InviteUsers\n userListQuery={userListQuery}\n onCancel={() => {\n setStep(0);\n onCancel();\n }}\n />\n )\n }\n </>\n )\n}\n\nexport default CreateChannel;\n"],"names":["CreateChannel","props","onCancel","renderStepOne","_a","useCreateChannelContext","step","setStep","userListQuery","React"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAYMA,aAAa,GAAmC,SAAhDA,aAAgD,CAACC,KAAD;AAC5C,MAAAC,SAAQ,GAAoBD,KAAK,SAAjC;AAAA,MAAUE,aAAa,GAAKF,KAAK,cAAjC;;AAEF,MAAAG,KAIFC,uBAAuB,EAJrB;AAAA,MACJC,IAAI,UADA;AAAA,MAEJC,OAAO,aAFH;AAAA,MAGJC,aAAa,mBAHT;;AAMN,sBACEC,4DAEIH,IAAI,KAAK,CAAT,KACE,CAAAH,aAAa,SAAb,IAAAA,aAAa,WAAb,SAAA,GAAAA,aAAa,EAAb,kBACEM,6BAAC,iBAAD;AACE,IAAA,QAAQ,EAAEP;AADZ,IAFJ,CAFJ,EAWII,IAAI,KAAK,CAAT,iBACEG,6BAAC,WAAD;AACE,IAAA,aAAa,EAAED,aADjB;AAEE,IAAA,QAAQ,EAAE;AACRD,MAAAA,OAAO,CAAC,CAAD,CAAP;;AACAL,MAAAA,SAAQ;AACT;AALH,IAZN,CADF;AAwBD;;;;"}
|