@sendbird/uikit-react 3.0.0-rc.2 → 3.0.2-beta.0
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 +33 -2
- 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-fec439b3.js → ChannelListProvider-945445c9.js} +43 -29
- package/ChannelListProvider-945445c9.js.map +1 -0
- package/{ChannelProvider-1f56082e.js → ChannelProvider-21d4378a.js} +21 -15
- package/ChannelProvider-21d4378a.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 +27 -23
- 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-2746c280.js → CreateChannelProvider-53259d87.js} +1 -1
- package/CreateChannelProvider-53259d87.js.map +1 -0
- package/EditUserProfile/components/EditUserProfileUI.js +13 -13
- package/EditUserProfile.js +13 -13
- package/{LocalizationContext-3dbcc9d8.js → LocalizationContext-08cebf79.js} +3 -3
- package/{LocalizationContext-3dbcc9d8.js.map → LocalizationContext-08cebf79.js.map} +1 -1
- package/{MemberList-f1c78686.js → MemberList-29cf5f98.js} +24 -20
- package/MemberList-29cf5f98.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-5ecafbb1.js → OpenChannelProvider-404556c2.js} +9 -9
- package/{OpenChannelProvider-5ecafbb1.js.map → OpenChannelProvider-404556c2.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-f0ef00c0.js → UserProfileContext-97bec8f7.js} +1 -1
- package/{UserProfileContext-f0ef00c0.js.map → UserProfileContext-97bec8f7.js.map} +1 -1
- package/__bundle-7dfccc8c-ff995ba0.js +4396 -0
- package/__bundle-7dfccc8c-ff995ba0.js.map +1 -0
- package/{_rollupPluginBabelHelpers-8ba74698.js → _rollupPluginBabelHelpers-9a08c8bf.js} +1 -1
- package/{_rollupPluginBabelHelpers-8ba74698.js.map → _rollupPluginBabelHelpers-9a08c8bf.js.map} +1 -1
- package/{actionTypes-1444365b.js → actionTypes-eea40cdf.js} +1 -1
- package/{actionTypes-1444365b.js.map → actionTypes-eea40cdf.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-94d4c78c.js → ChannelListProvider-0639f230.js} +43 -29
- package/cjs/ChannelListProvider-0639f230.js.map +1 -0
- package/cjs/{ChannelProvider-190bd453.js → ChannelProvider-33719788.js} +21 -15
- package/cjs/ChannelProvider-33719788.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 +27 -23
- 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-9fa1d794.js → CreateChannelProvider-87272710.js} +1 -1
- package/cjs/CreateChannelProvider-87272710.js.map +1 -0
- package/cjs/EditUserProfile/components/EditUserProfileUI.js +13 -13
- package/cjs/EditUserProfile.js +13 -13
- package/cjs/{LocalizationContext-65b97b58.js → LocalizationContext-6465626c.js} +3 -3
- package/cjs/{LocalizationContext-65b97b58.js.map → LocalizationContext-6465626c.js.map} +1 -1
- package/cjs/{MemberList-3e3448b2.js → MemberList-ee6eb19f.js} +24 -20
- package/cjs/MemberList-ee6eb19f.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-5c81bdb4.js → OpenChannelProvider-3683d099.js} +9 -9
- package/cjs/{OpenChannelProvider-5c81bdb4.js.map → OpenChannelProvider-3683d099.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-9f3727c8.js → UserProfileContext-df8199ec.js} +1 -1
- package/cjs/{UserProfileContext-9f3727c8.js.map → UserProfileContext-df8199ec.js.map} +1 -1
- package/cjs/__bundle-7dfccc8c-5e21874b.js +4523 -0
- package/cjs/__bundle-7dfccc8c-5e21874b.js.map +1 -0
- package/cjs/{_rollupPluginBabelHelpers-0d29c748.js → _rollupPluginBabelHelpers-720b1baf.js} +1 -1
- package/cjs/{_rollupPluginBabelHelpers-0d29c748.js.map → _rollupPluginBabelHelpers-720b1baf.js.map} +1 -1
- package/cjs/{actionTypes-5dc3015b.js → actionTypes-ed5cc34a.js} +1 -1
- package/cjs/{actionTypes-5dc3015b.js.map → actionTypes-ed5cc34a.js.map} +1 -1
- package/cjs/{color-51e4fff0.js → color-63291cc4.js} +1 -1
- package/cjs/{color-51e4fff0.js.map → color-63291cc4.js.map} +1 -1
- package/cjs/{compareIds-7f5ab4de.js → compareIds-b63abf00.js} +1 -1
- package/cjs/{compareIds-7f5ab4de.js.map → compareIds-b63abf00.js.map} +1 -1
- package/cjs/{const-63ed85a4.js → const-766cd123.js} +1 -1
- package/cjs/{const-63ed85a4.js.map → const-766cd123.js.map} +1 -1
- package/cjs/{const-ffda0b97.js → const-ff74be91.js} +1 -1
- package/cjs/{const-ffda0b97.js.map → const-ff74be91.js.map} +1 -1
- package/cjs/{context-0aa8e3f8.js → context-f090cc51.js} +2 -2
- package/cjs/{context-0aa8e3f8.js.map → context-f090cc51.js.map} +1 -1
- package/cjs/dist/index.css +44 -44
- package/cjs/dist/index.css.map +1 -1
- package/cjs/{groupChannel-8023bd09.js → groupChannel-c1f53052.js} +2 -2
- package/cjs/{groupChannel-8023bd09.js.map → groupChannel-c1f53052.js.map} +1 -1
- package/cjs/{index-119a7a34.js → index-0b461031.js} +2 -2
- package/cjs/{index-119a7a34.js.map → index-0b461031.js.map} +1 -1
- package/cjs/{index-574ef41e.js → index-11031c1a.js} +3 -3
- package/cjs/{index-574ef41e.js.map → index-11031c1a.js.map} +1 -1
- package/cjs/{index-481324b7.js → index-6d39a929.js} +2 -2
- package/cjs/{index-481324b7.js.map → index-6d39a929.js.map} +1 -1
- package/cjs/{index-a372cc51.js → index-7ca86e7a.js} +4 -4
- package/cjs/{index-a372cc51.js.map → index-7ca86e7a.js.map} +1 -1
- package/cjs/{index-97c28907.js → index-8cd26508.js} +1 -1
- package/cjs/{index-97c28907.js.map → index-8cd26508.js.map} +1 -1
- package/cjs/{index-7ef68704.js → index-b28dfe02.js} +3 -3
- package/cjs/{index-7ef68704.js.map → index-b28dfe02.js.map} +1 -1
- package/cjs/{index-bf350acc.js → index-c142357a.js} +1 -1
- package/cjs/{index-bf350acc.js.map → index-c142357a.js.map} +1 -1
- package/cjs/{index-32f8310c.js → index-cb538ec6.js} +2 -2
- package/cjs/{index-32f8310c.js.map → index-cb538ec6.js.map} +1 -1
- package/cjs/{index-22c82558.js → index-dd1efb51.js} +6 -6
- package/cjs/{index-22c82558.js.map → index-dd1efb51.js.map} +1 -1
- package/cjs/{index-a66b1af1.js → index-f2004893.js} +4 -4
- package/cjs/{index-a66b1af1.js.map → index-f2004893.js.map} +1 -1
- package/cjs/index.js +35 -35
- package/cjs/openChannel-44cc2f8f.js +5251 -0
- package/cjs/openChannel-44cc2f8f.js.map +1 -0
- package/cjs/{openChannelUtils-6a8fb5bf.js → openChannelUtils-6101651d.js} +1 -1
- package/cjs/{openChannelUtils-6a8fb5bf.js.map → openChannelUtils-6101651d.js.map} +1 -1
- package/cjs/sendbirdSelectors.js +2 -2
- package/cjs/{stringSet-da976cc5.js → stringSet-8cf3905e.js} +1 -1
- package/cjs/{stringSet-da976cc5.js.map → stringSet-8cf3905e.js.map} +1 -1
- package/cjs/{topics-a595e22a.js → topics-db086d13.js} +1 -1
- package/cjs/{topics-a595e22a.js.map → topics-db086d13.js.map} +1 -1
- package/cjs/{tslib.es6-4b76ba01.js → tslib.es6-22430723.js} +1 -1
- package/cjs/{tslib.es6-4b76ba01.js.map → tslib.es6-22430723.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-52a504d9.js → utils-65925965.js} +1 -1
- package/cjs/{utils-52a504d9.js.map → utils-65925965.js.map} +1 -1
- package/cjs/{utils-f0f90fdf.js → utils-bbccbba3.js} +1 -1
- package/cjs/{utils-f0f90fdf.js.map → utils-bbccbba3.js.map} +1 -1
- package/cjs/{utils-4d87243e.js → utils-f5e0083d.js} +1 -1
- package/cjs/{utils-4d87243e.js.map → utils-f5e0083d.js.map} +1 -1
- package/cjs/{uuid-d0e513e8.js → uuid-88159451.js} +1 -1
- package/cjs/{uuid-d0e513e8.js.map → uuid-88159451.js.map} +1 -1
- package/cjs/withSendbird.js +1 -1
- package/{color-b580a421.js → color-aef1bef8.js} +1 -1
- package/{color-b580a421.js.map → color-aef1bef8.js.map} +1 -1
- package/{compareIds-1114d2b7.js → compareIds-3f1a5a5a.js} +1 -1
- package/{compareIds-1114d2b7.js.map → compareIds-3f1a5a5a.js.map} +1 -1
- package/{const-a11ccf78.js → const-a6734af7.js} +1 -1
- package/{const-a11ccf78.js.map → const-a6734af7.js.map} +1 -1
- package/{const-b72fa505.js → const-b1f038b0.js} +1 -1
- package/{const-b72fa505.js.map → const-b1f038b0.js.map} +1 -1
- package/{context-d867aec7.js → context-d04e2502.js} +2 -2
- package/{context-d867aec7.js.map → context-d04e2502.js.map} +1 -1
- package/dist/index.css +44 -44
- package/dist/index.css.map +1 -1
- package/{groupChannel-9a1eb726.js → groupChannel-10e918af.js} +2 -2
- package/{groupChannel-9a1eb726.js.map → groupChannel-10e918af.js.map} +1 -1
- package/{index-d1179659.js → index-0d4dcc94.js} +3 -3
- package/{index-d1179659.js.map → index-0d4dcc94.js.map} +1 -1
- package/{index-93e3dce0.js → index-13e3837f.js} +2 -2
- package/{index-93e3dce0.js.map → index-13e3837f.js.map} +1 -1
- package/{index-64bb5b19.js → index-41a3e405.js} +4 -4
- package/{index-64bb5b19.js.map → index-41a3e405.js.map} +1 -1
- package/{index-21a0df21.js → index-623fd405.js} +1 -1
- package/{index-21a0df21.js.map → index-623fd405.js.map} +1 -1
- package/{index-9c121a8c.js → index-73193bfa.js} +6 -6
- package/{index-9c121a8c.js.map → index-73193bfa.js.map} +1 -1
- package/{index-3ea848a1.js → index-8528dcd1.js} +1 -1
- package/{index-3ea848a1.js.map → index-8528dcd1.js.map} +1 -1
- package/{index-4c5351e9.js → index-afd61eff.js} +2 -2
- package/{index-4c5351e9.js.map → index-afd61eff.js.map} +1 -1
- package/{index-eebcc3d0.js → index-cc9419b6.js} +4 -4
- package/{index-eebcc3d0.js.map → index-cc9419b6.js.map} +1 -1
- package/{index-905615b2.js → index-cdd2789a.js} +3 -3
- package/{index-905615b2.js.map → index-cdd2789a.js.map} +1 -1
- package/{index-5ba00ba3.js → index-f222d022.js} +2 -2
- package/{index-5ba00ba3.js.map → index-f222d022.js.map} +1 -1
- package/index.d.ts +10 -4
- package/index.js +35 -35
- package/openChannel-b0ad7380.js +5246 -0
- package/openChannel-b0ad7380.js.map +1 -0
- package/{openChannelUtils-a232a39f.js → openChannelUtils-3ababdd1.js} +1 -1
- package/{openChannelUtils-a232a39f.js.map → openChannelUtils-3ababdd1.js.map} +1 -1
- package/package-lock.json +1 -1
- package/package.json +3 -2
- package/sendbirdSelectors.js +2 -2
- package/{stringSet-3a2b916e.js → stringSet-efeb1ad3.js} +1 -1
- package/{stringSet-3a2b916e.js.map → stringSet-efeb1ad3.js.map} +1 -1
- package/{topics-19b96cc7.js → topics-7181983e.js} +1 -1
- package/{topics-19b96cc7.js.map → topics-7181983e.js.map} +1 -1
- package/{tslib.es6-9548150b.js → tslib.es6-91aa0158.js} +1 -1
- package/{tslib.es6-9548150b.js.map → tslib.es6-91aa0158.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-83135175.js → utils-0db9b91e.js} +1 -1
- package/{utils-83135175.js.map → utils-0db9b91e.js.map} +1 -1
- package/{utils-8222d5cb.js → utils-6ed4fbb8.js} +1 -1
- package/{utils-8222d5cb.js.map → utils-6ed4fbb8.js.map} +1 -1
- package/{utils-29691dff.js → utils-7b9c4aab.js} +1 -1
- package/{utils-29691dff.js.map → utils-7b9c4aab.js.map} +1 -1
- package/{uuid-c5e7a9dd.js → uuid-902e6498.js} +1 -1
- package/{uuid-c5e7a9dd.js.map → uuid-902e6498.js.map} +1 -1
- package/withSendbird.js +1 -1
- package/ChannelListProvider-fec439b3.js.map +0 -1
- package/ChannelProvider-1f56082e.js.map +0 -1
- package/CreateChannelProvider-2746c280.js.map +0 -1
- package/MemberList-f1c78686.js.map +0 -1
- package/__bundle-7dfccc8c-c503198e.js +0 -24
- package/__bundle-7dfccc8c-c503198e.js.map +0 -1
- package/cjs/ChannelListProvider-94d4c78c.js.map +0 -1
- package/cjs/ChannelProvider-190bd453.js.map +0 -1
- package/cjs/CreateChannelProvider-9fa1d794.js.map +0 -1
- package/cjs/MemberList-3e3448b2.js.map +0 -1
- package/cjs/__bundle-7dfccc8c-d9262ff8.js +0 -151
- package/cjs/__bundle-7dfccc8c-d9262ff8.js.map +0 -1
- package/cjs/openChannel-146282ad.js +0 -13
- package/cjs/openChannel-146282ad.js.map +0 -1
- package/index.d.ts____ +0 -1883
- package/openChannel-f429ff22.js +0 -8
- package/openChannel-f429ff22.js.map +0 -1
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import React__default, { useRef, useState, useContext } from 'react';
|
|
2
|
-
import { a as LocalizationContext } from '../../LocalizationContext-
|
|
2
|
+
import { a as LocalizationContext } from '../../LocalizationContext-08cebf79.js';
|
|
3
3
|
import Modal from '../../ui/Modal.js';
|
|
4
4
|
import Input, { InputLabel } from '../../ui/Input.js';
|
|
5
5
|
import Avatar from '../../ui/Avatar.js';
|
|
6
|
-
import { T as Type } from '../../index-
|
|
7
|
-
import { L as Label, a as LabelTypography, b as LabelColors } from '../../index-
|
|
6
|
+
import { T as Type } from '../../index-cdd2789a.js';
|
|
7
|
+
import { L as Label, a as LabelTypography, b as LabelColors } from '../../index-0d4dcc94.js';
|
|
8
8
|
import TextButton from '../../ui/TextButton.js';
|
|
9
9
|
import ChannelAvatar from '../../ui/OpenChannelAvatar.js';
|
|
10
10
|
import { useOpenChannelSettingsContext } from '../context.js';
|
|
11
11
|
import useSendbirdStateContext from '../../useSendbirdStateContext.js';
|
|
12
|
-
import '../../stringSet-
|
|
13
|
-
import '../../index-
|
|
12
|
+
import '../../stringSet-efeb1ad3.js';
|
|
13
|
+
import '../../index-623fd405.js';
|
|
14
14
|
import 'prop-types';
|
|
15
15
|
import 'react-dom';
|
|
16
|
-
import '../../index-
|
|
16
|
+
import '../../index-8528dcd1.js';
|
|
17
17
|
import '../../ui/IconButton.js';
|
|
18
|
-
import '../../_rollupPluginBabelHelpers-
|
|
18
|
+
import '../../_rollupPluginBabelHelpers-9a08c8bf.js';
|
|
19
19
|
import '../../ui/Icon.js';
|
|
20
|
-
import '../../utils-
|
|
21
|
-
import '../../tslib.es6-
|
|
20
|
+
import '../../utils-0db9b91e.js';
|
|
21
|
+
import '../../tslib.es6-91aa0158.js';
|
|
22
22
|
import '../../ui/ImageRenderer.js';
|
|
23
|
-
import '../../uuid-
|
|
24
|
-
import '../../color-
|
|
25
|
-
import '../../utils-
|
|
26
|
-
import '../../UserProfileContext-
|
|
23
|
+
import '../../uuid-902e6498.js';
|
|
24
|
+
import '../../color-aef1bef8.js';
|
|
25
|
+
import '../../utils-7b9c4aab.js';
|
|
26
|
+
import '../../UserProfileContext-97bec8f7.js';
|
|
27
27
|
import '../../withSendbird.js';
|
|
28
28
|
|
|
29
29
|
var EditDetails = function EditDetails(props) {
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import React__default, { useState, useContext } 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-08cebf79.js';
|
|
3
|
+
import { L as Label, a as LabelTypography, b as LabelColors } from '../../index-0d4dcc94.js';
|
|
4
4
|
import TextButton from '../../ui/TextButton.js';
|
|
5
5
|
import ChannelAvatar from '../../ui/OpenChannelAvatar.js';
|
|
6
6
|
import EditDetails from './EditDetailsModal.js';
|
|
7
7
|
import useSendbirdStateContext from '../../useSendbirdStateContext.js';
|
|
8
8
|
import { useOpenChannelSettingsContext } from '../context.js';
|
|
9
|
-
import '../../stringSet-
|
|
10
|
-
import '../../index-
|
|
11
|
-
import '../../_rollupPluginBabelHelpers-
|
|
9
|
+
import '../../stringSet-efeb1ad3.js';
|
|
10
|
+
import '../../index-623fd405.js';
|
|
11
|
+
import '../../_rollupPluginBabelHelpers-9a08c8bf.js';
|
|
12
12
|
import 'prop-types';
|
|
13
|
-
import '../../color-
|
|
13
|
+
import '../../color-aef1bef8.js';
|
|
14
14
|
import '../../ui/Avatar.js';
|
|
15
|
-
import '../../tslib.es6-
|
|
15
|
+
import '../../tslib.es6-91aa0158.js';
|
|
16
16
|
import '../../ui/ImageRenderer.js';
|
|
17
17
|
import '../../ui/Icon.js';
|
|
18
|
-
import '../../uuid-
|
|
19
|
-
import '../../utils-
|
|
18
|
+
import '../../uuid-902e6498.js';
|
|
19
|
+
import '../../utils-7b9c4aab.js';
|
|
20
20
|
import '../../ui/Modal.js';
|
|
21
21
|
import 'react-dom';
|
|
22
|
-
import '../../index-
|
|
22
|
+
import '../../index-8528dcd1.js';
|
|
23
23
|
import '../../ui/IconButton.js';
|
|
24
|
-
import '../../index-
|
|
25
|
-
import '../../utils-
|
|
24
|
+
import '../../index-cdd2789a.js';
|
|
25
|
+
import '../../utils-0db9b91e.js';
|
|
26
26
|
import '../../ui/Input.js';
|
|
27
27
|
import '../../withSendbird.js';
|
|
28
|
-
import '../../UserProfileContext-
|
|
28
|
+
import '../../UserProfileContext-97bec8f7.js';
|
|
29
29
|
|
|
30
30
|
function ChannelProfile() {
|
|
31
31
|
var _a, _b;
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import React__default, { useContext } from 'react';
|
|
2
2
|
import useSendbirdStateContext from '../../useSendbirdStateContext.js';
|
|
3
3
|
import { useOpenChannelSettingsContext } from '../context.js';
|
|
4
|
-
import { U as UserProfileProvider } from '../../UserProfileContext-
|
|
5
|
-
import { a as LocalizationContext } from '../../LocalizationContext-
|
|
6
|
-
import { L as Label, a as LabelTypography, b as LabelColors } from '../../index-
|
|
4
|
+
import { U as UserProfileProvider } from '../../UserProfileContext-97bec8f7.js';
|
|
5
|
+
import { a as LocalizationContext } from '../../LocalizationContext-08cebf79.js';
|
|
6
|
+
import { L as Label, a as LabelTypography, b as LabelColors } from '../../index-0d4dcc94.js';
|
|
7
7
|
import Icon, { IconTypes } from '../../ui/Icon.js';
|
|
8
|
-
import { P as PlaceHolder, b as PlaceHolderTypes } from '../../index-
|
|
8
|
+
import { P as PlaceHolder, b as PlaceHolderTypes } from '../../index-41a3e405.js';
|
|
9
9
|
import { OperatorUI } from './OperatorUI.js';
|
|
10
10
|
import ParticipantsList from './ParticipantUI.js';
|
|
11
11
|
import '../../withSendbird.js';
|
|
12
|
-
import '../../_rollupPluginBabelHelpers-
|
|
12
|
+
import '../../_rollupPluginBabelHelpers-9a08c8bf.js';
|
|
13
13
|
import 'prop-types';
|
|
14
|
-
import '../../stringSet-
|
|
15
|
-
import '../../index-
|
|
14
|
+
import '../../stringSet-efeb1ad3.js';
|
|
15
|
+
import '../../index-623fd405.js';
|
|
16
16
|
import '../../ui/Loader.js';
|
|
17
17
|
import './OpenChannelProfile.js';
|
|
18
18
|
import '../../ui/TextButton.js';
|
|
19
|
-
import '../../color-
|
|
19
|
+
import '../../color-aef1bef8.js';
|
|
20
20
|
import '../../ui/OpenChannelAvatar.js';
|
|
21
21
|
import '../../ui/Avatar.js';
|
|
22
|
-
import '../../tslib.es6-
|
|
22
|
+
import '../../tslib.es6-91aa0158.js';
|
|
23
23
|
import '../../ui/ImageRenderer.js';
|
|
24
|
-
import '../../uuid-
|
|
25
|
-
import '../../utils-
|
|
24
|
+
import '../../uuid-902e6498.js';
|
|
25
|
+
import '../../utils-7b9c4aab.js';
|
|
26
26
|
import './EditDetailsModal.js';
|
|
27
27
|
import '../../ui/Modal.js';
|
|
28
28
|
import 'react-dom';
|
|
29
|
-
import '../../index-
|
|
29
|
+
import '../../index-8528dcd1.js';
|
|
30
30
|
import '../../ui/IconButton.js';
|
|
31
|
-
import '../../index-
|
|
32
|
-
import '../../utils-
|
|
31
|
+
import '../../index-cdd2789a.js';
|
|
32
|
+
import '../../utils-0db9b91e.js';
|
|
33
33
|
import '../../ui/Input.js';
|
|
34
34
|
import '../../ui/Accordion.js';
|
|
35
35
|
import '../../ui/AccordionGroup.js';
|
|
36
|
-
import '../../context-
|
|
36
|
+
import '../../context-d04e2502.js';
|
|
37
37
|
import '../../ui/UserListItem.js';
|
|
38
38
|
import '../../ui/MutedAvatarOverlay.js';
|
|
39
39
|
import '../../ui/Checkbox.js';
|
|
40
40
|
import '../../ui/UserProfile.js';
|
|
41
41
|
import '../../sendbirdSelectors.js';
|
|
42
|
-
import '../../topics-
|
|
42
|
+
import '../../topics-7181983e.js';
|
|
43
43
|
import '../../ui/ContextMenu.js';
|
|
44
|
-
import '../../index-
|
|
44
|
+
import '../../index-afd61eff.js';
|
|
45
45
|
import '../../ui/SortByRow.js';
|
|
46
46
|
|
|
47
47
|
function InvalidChannel(_a) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React__default, { useState, useContext } 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-08cebf79.js';
|
|
3
|
+
import { L as Label, a as LabelTypography, b as LabelColors } from '../../index-0d4dcc94.js';
|
|
4
4
|
import Icon, { IconTypes, IconColors } from '../../ui/Icon.js';
|
|
5
5
|
import { useOpenChannelSettingsContext } from '../context.js';
|
|
6
6
|
import ChannelProfile from './OpenChannelProfile.js';
|
|
@@ -8,36 +8,36 @@ import Modal from '../../ui/Modal.js';
|
|
|
8
8
|
import useSendbirdStateContext from '../../useSendbirdStateContext.js';
|
|
9
9
|
import ParticipantsList from './ParticipantUI.js';
|
|
10
10
|
import Accordion, { AccordionGroup } from '../../ui/Accordion.js';
|
|
11
|
-
import '../../stringSet-
|
|
12
|
-
import '../../index-
|
|
13
|
-
import '../../_rollupPluginBabelHelpers-
|
|
11
|
+
import '../../stringSet-efeb1ad3.js';
|
|
12
|
+
import '../../index-623fd405.js';
|
|
13
|
+
import '../../_rollupPluginBabelHelpers-9a08c8bf.js';
|
|
14
14
|
import 'prop-types';
|
|
15
|
-
import '../../UserProfileContext-
|
|
15
|
+
import '../../UserProfileContext-97bec8f7.js';
|
|
16
16
|
import '../../withSendbird.js';
|
|
17
17
|
import '../../ui/TextButton.js';
|
|
18
|
-
import '../../color-
|
|
18
|
+
import '../../color-aef1bef8.js';
|
|
19
19
|
import '../../ui/OpenChannelAvatar.js';
|
|
20
20
|
import '../../ui/Avatar.js';
|
|
21
|
-
import '../../tslib.es6-
|
|
21
|
+
import '../../tslib.es6-91aa0158.js';
|
|
22
22
|
import '../../ui/ImageRenderer.js';
|
|
23
|
-
import '../../uuid-
|
|
24
|
-
import '../../utils-
|
|
23
|
+
import '../../uuid-902e6498.js';
|
|
24
|
+
import '../../utils-7b9c4aab.js';
|
|
25
25
|
import './EditDetailsModal.js';
|
|
26
26
|
import '../../ui/Input.js';
|
|
27
|
-
import '../../index-
|
|
27
|
+
import '../../index-cdd2789a.js';
|
|
28
28
|
import 'react-dom';
|
|
29
|
-
import '../../index-
|
|
29
|
+
import '../../index-8528dcd1.js';
|
|
30
30
|
import '../../ui/IconButton.js';
|
|
31
|
-
import '../../utils-
|
|
32
|
-
import '../../context-
|
|
31
|
+
import '../../utils-0db9b91e.js';
|
|
32
|
+
import '../../context-d04e2502.js';
|
|
33
33
|
import '../../ui/UserListItem.js';
|
|
34
34
|
import '../../ui/MutedAvatarOverlay.js';
|
|
35
35
|
import '../../ui/Checkbox.js';
|
|
36
36
|
import '../../ui/UserProfile.js';
|
|
37
37
|
import '../../sendbirdSelectors.js';
|
|
38
|
-
import '../../topics-
|
|
38
|
+
import '../../topics-7181983e.js';
|
|
39
39
|
import '../../ui/ContextMenu.js';
|
|
40
|
-
import '../../index-
|
|
40
|
+
import '../../index-afd61eff.js';
|
|
41
41
|
import '../../ui/SortByRow.js';
|
|
42
42
|
import '../../ui/AccordionGroup.js';
|
|
43
43
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { a as __spreadArray } from '../../tslib.es6-
|
|
1
|
+
import { a as __spreadArray } from '../../tslib.es6-91aa0158.js';
|
|
2
2
|
import React__default, { useRef, useContext, useState, useEffect } from 'react';
|
|
3
|
-
import { L as Label, a as LabelTypography, b as LabelColors } from '../../index-
|
|
4
|
-
import { a as LocalizationContext } from '../../LocalizationContext-
|
|
5
|
-
import { a as UserProfileContext } from '../../UserProfileContext-
|
|
6
|
-
import '../../index-
|
|
3
|
+
import { L as Label, a as LabelTypography, b as LabelColors } from '../../index-0d4dcc94.js';
|
|
4
|
+
import { a as LocalizationContext } from '../../LocalizationContext-08cebf79.js';
|
|
5
|
+
import { a as UserProfileContext } from '../../UserProfileContext-97bec8f7.js';
|
|
6
|
+
import '../../index-cdd2789a.js';
|
|
7
7
|
import '../../ui/Icon.js';
|
|
8
|
-
import '../../context-
|
|
8
|
+
import '../../context-d04e2502.js';
|
|
9
9
|
import Avatar from '../../ui/Avatar.js';
|
|
10
10
|
import '../../ui/Modal.js';
|
|
11
11
|
import '../../ui/UserListItem.js';
|
|
@@ -13,22 +13,22 @@ import ConnectedUserProfile from '../../ui/UserProfile.js';
|
|
|
13
13
|
import ContextMenu, { MenuItems } from '../../ui/ContextMenu.js';
|
|
14
14
|
import { useOpenChannelSettingsContext } from '../context.js';
|
|
15
15
|
import useSendbirdStateContext from '../../useSendbirdStateContext.js';
|
|
16
|
-
import '../../_rollupPluginBabelHelpers-
|
|
16
|
+
import '../../_rollupPluginBabelHelpers-9a08c8bf.js';
|
|
17
17
|
import 'prop-types';
|
|
18
|
-
import '../../stringSet-
|
|
19
|
-
import '../../index-
|
|
20
|
-
import '../../utils-
|
|
18
|
+
import '../../stringSet-efeb1ad3.js';
|
|
19
|
+
import '../../index-623fd405.js';
|
|
20
|
+
import '../../utils-0db9b91e.js';
|
|
21
21
|
import '../../ui/ImageRenderer.js';
|
|
22
|
-
import '../../uuid-
|
|
22
|
+
import '../../uuid-902e6498.js';
|
|
23
23
|
import 'react-dom';
|
|
24
|
-
import '../../index-
|
|
24
|
+
import '../../index-8528dcd1.js';
|
|
25
25
|
import '../../ui/IconButton.js';
|
|
26
26
|
import '../../ui/MutedAvatarOverlay.js';
|
|
27
27
|
import '../../ui/Checkbox.js';
|
|
28
28
|
import '../../withSendbird.js';
|
|
29
29
|
import '../../sendbirdSelectors.js';
|
|
30
|
-
import '../../topics-
|
|
31
|
-
import '../../index-
|
|
30
|
+
import '../../topics-7181983e.js';
|
|
31
|
+
import '../../index-afd61eff.js';
|
|
32
32
|
import '../../ui/SortByRow.js';
|
|
33
33
|
|
|
34
34
|
var UserListItem = function UserListItem(_a) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React__default, { useState, useEffect } from 'react';
|
|
2
2
|
import useSendbirdStateContext from '../useSendbirdStateContext.js';
|
|
3
|
-
import { U as UserProfileProvider } from '../UserProfileContext-
|
|
3
|
+
import { U as UserProfileProvider } from '../UserProfileContext-97bec8f7.js';
|
|
4
4
|
import '../withSendbird.js';
|
|
5
|
-
import '../_rollupPluginBabelHelpers-
|
|
5
|
+
import '../_rollupPluginBabelHelpers-9a08c8bf.js';
|
|
6
6
|
import 'prop-types';
|
|
7
7
|
|
|
8
8
|
var OpenChannelSettingsContext = /*#__PURE__*/React__default.createContext(undefined);
|
package/OpenChannelSettings.js
CHANGED
|
@@ -3,44 +3,44 @@ import OpenChannelUI from './OpenChannelSettings/components/OpenChannelSettingsU
|
|
|
3
3
|
import { OpenChannelSettingsProvider } from './OpenChannelSettings/context.js';
|
|
4
4
|
import './useSendbirdStateContext.js';
|
|
5
5
|
import './withSendbird.js';
|
|
6
|
-
import './_rollupPluginBabelHelpers-
|
|
7
|
-
import './UserProfileContext-
|
|
6
|
+
import './_rollupPluginBabelHelpers-9a08c8bf.js';
|
|
7
|
+
import './UserProfileContext-97bec8f7.js';
|
|
8
8
|
import 'prop-types';
|
|
9
|
-
import './LocalizationContext-
|
|
10
|
-
import './stringSet-
|
|
11
|
-
import './index-
|
|
12
|
-
import './index-
|
|
9
|
+
import './LocalizationContext-08cebf79.js';
|
|
10
|
+
import './stringSet-efeb1ad3.js';
|
|
11
|
+
import './index-623fd405.js';
|
|
12
|
+
import './index-0d4dcc94.js';
|
|
13
13
|
import './ui/Icon.js';
|
|
14
|
-
import './index-
|
|
14
|
+
import './index-41a3e405.js';
|
|
15
15
|
import './ui/Loader.js';
|
|
16
16
|
import './OpenChannelSettings/components/OperatorUI.js';
|
|
17
17
|
import './OpenChannelSettings/components/OpenChannelProfile.js';
|
|
18
18
|
import './ui/TextButton.js';
|
|
19
|
-
import './color-
|
|
19
|
+
import './color-aef1bef8.js';
|
|
20
20
|
import './ui/OpenChannelAvatar.js';
|
|
21
21
|
import './ui/Avatar.js';
|
|
22
|
-
import './tslib.es6-
|
|
22
|
+
import './tslib.es6-91aa0158.js';
|
|
23
23
|
import './ui/ImageRenderer.js';
|
|
24
|
-
import './uuid-
|
|
25
|
-
import './utils-
|
|
24
|
+
import './uuid-902e6498.js';
|
|
25
|
+
import './utils-7b9c4aab.js';
|
|
26
26
|
import './OpenChannelSettings/components/EditDetailsModal.js';
|
|
27
27
|
import './ui/Modal.js';
|
|
28
28
|
import 'react-dom';
|
|
29
|
-
import './index-
|
|
29
|
+
import './index-8528dcd1.js';
|
|
30
30
|
import './ui/IconButton.js';
|
|
31
|
-
import './index-
|
|
32
|
-
import './utils-
|
|
31
|
+
import './index-cdd2789a.js';
|
|
32
|
+
import './utils-0db9b91e.js';
|
|
33
33
|
import './ui/Input.js';
|
|
34
34
|
import './OpenChannelSettings/components/ParticipantUI.js';
|
|
35
|
-
import './context-
|
|
35
|
+
import './context-d04e2502.js';
|
|
36
36
|
import './ui/UserListItem.js';
|
|
37
37
|
import './ui/MutedAvatarOverlay.js';
|
|
38
38
|
import './ui/Checkbox.js';
|
|
39
39
|
import './ui/UserProfile.js';
|
|
40
40
|
import './sendbirdSelectors.js';
|
|
41
|
-
import './topics-
|
|
41
|
+
import './topics-7181983e.js';
|
|
42
42
|
import './ui/ContextMenu.js';
|
|
43
|
-
import './index-
|
|
43
|
+
import './index-afd61eff.js';
|
|
44
44
|
import './ui/SortByRow.js';
|
|
45
45
|
import './ui/Accordion.js';
|
|
46
46
|
import './ui/AccordionGroup.js';
|
package/SendbirdProvider.js
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { _ as _objectSpread2, a as _slicedToArray } from './_rollupPluginBabelHelpers-
|
|
1
|
+
import { _ as _objectSpread2, a as _slicedToArray } from './_rollupPluginBabelHelpers-9a08c8bf.js';
|
|
2
2
|
import React__default, { useLayoutEffect, useState, useEffect, useReducer } from 'react';
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
4
|
import { SendbirdSdkContext } from './withSendbird.js';
|
|
5
|
-
import {
|
|
6
|
-
import { $ as $r } from './groupChannel-
|
|
7
|
-
import { R as RESET_USER, I as INIT_USER, U as UPDATE_USER_INFO } from './actionTypes-
|
|
8
|
-
import { i as isTextuallyNull } from './index-
|
|
9
|
-
import { _ as __assign } from './tslib.es6-
|
|
5
|
+
import { N as Nn, F as Fn, P as Pe } from './openChannel-b0ad7380.js';
|
|
6
|
+
import { $ as $r } from './groupChannel-10e918af.js';
|
|
7
|
+
import { R as RESET_USER, I as INIT_USER, U as UPDATE_USER_INFO } from './actionTypes-eea40cdf.js';
|
|
8
|
+
import { i as isTextuallyNull } from './index-afd61eff.js';
|
|
9
|
+
import { _ as __assign } from './tslib.es6-91aa0158.js';
|
|
10
10
|
import cssVars from 'css-vars-ponyfill';
|
|
11
|
-
import { u as uuidv4 } from './uuid-
|
|
12
|
-
import { L as LocalizationProvider } from './LocalizationContext-
|
|
13
|
-
import { g as getStringSet } from './stringSet-
|
|
14
|
-
import './__bundle-7dfccc8c-
|
|
15
|
-
import './index-
|
|
11
|
+
import { u as uuidv4 } from './uuid-902e6498.js';
|
|
12
|
+
import { L as LocalizationProvider } from './LocalizationContext-08cebf79.js';
|
|
13
|
+
import { g as getStringSet } from './stringSet-efeb1ad3.js';
|
|
14
|
+
import './__bundle-7dfccc8c-ff995ba0.js';
|
|
15
|
+
import './index-623fd405.js';
|
|
16
16
|
|
|
17
17
|
var INIT_SDK = 'INIT_SDK';
|
|
18
18
|
var SET_SDK_LOADING = 'SET_SDK_LOADING';
|
|
19
19
|
var RESET_SDK = 'RESET_SDK';
|
|
20
20
|
var SDK_ERROR = 'SDK_ERROR';
|
|
21
21
|
|
|
22
|
-
var APP_VERSION_STRING = '
|
|
22
|
+
var APP_VERSION_STRING = 'v3.0.2-beta.0';
|
|
23
23
|
var disconnectSdk = function disconnectSdk(_ref) {
|
|
24
24
|
var sdkDispatcher = _ref.sdkDispatcher,
|
|
25
25
|
userDispatcher = _ref.userDispatcher,
|
|
@@ -52,6 +52,8 @@ var handleConnection = function handleConnection(_ref2, dispatchers) {
|
|
|
52
52
|
profileUrl = _ref2.profileUrl,
|
|
53
53
|
accessToken = _ref2.accessToken,
|
|
54
54
|
configureSession = _ref2.configureSession,
|
|
55
|
+
customApiHost = _ref2.customApiHost,
|
|
56
|
+
customWebSocketHost = _ref2.customWebSocketHost,
|
|
55
57
|
sdk = _ref2.sdk,
|
|
56
58
|
logger = _ref2.logger;
|
|
57
59
|
var sdkDispatcher = dispatchers.sdkDispatcher,
|
|
@@ -70,10 +72,20 @@ var handleConnection = function handleConnection(_ref2, dispatchers) {
|
|
|
70
72
|
});
|
|
71
73
|
|
|
72
74
|
if (userId && appId) {
|
|
73
|
-
var
|
|
75
|
+
var params = {
|
|
74
76
|
appId: appId,
|
|
75
77
|
modules: [new $r(), new Nn()]
|
|
76
|
-
}
|
|
78
|
+
};
|
|
79
|
+
|
|
80
|
+
if (customApiHost) {
|
|
81
|
+
params.customApiHost = customApiHost;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
if (customWebSocketHost) {
|
|
85
|
+
params.customWebSocketHost = customWebSocketHost;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
var newSdk = Fn.init(params);
|
|
77
89
|
|
|
78
90
|
if (configureSession && typeof configureSession === 'function') {
|
|
79
91
|
sessionHandler = configureSession(newSdk);
|
|
@@ -324,39 +336,49 @@ function useConnectionStatus(sdk, logger) {
|
|
|
324
336
|
|
|
325
337
|
useEffect(function () {
|
|
326
338
|
var uniqueHandlerId = uuidv4();
|
|
327
|
-
logger.warning('sdk changed', uniqueHandlerId);
|
|
328
|
-
var handler = new Pe();
|
|
329
339
|
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
isOnline: isOnline
|
|
334
|
-
});
|
|
335
|
-
};
|
|
340
|
+
try {
|
|
341
|
+
logger.warning('sdk changed', uniqueHandlerId);
|
|
342
|
+
var handler = new Pe();
|
|
336
343
|
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
}
|
|
342
|
-
};
|
|
344
|
+
handler.onDisconnected = function () {
|
|
345
|
+
logger.warning('onDisconnected', {
|
|
346
|
+
isOnline: isOnline
|
|
347
|
+
});
|
|
348
|
+
};
|
|
343
349
|
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
350
|
+
handler.onReconnectStarted = function () {
|
|
351
|
+
setIsOnline(false);
|
|
352
|
+
logger.warning('onReconnectStarted', {
|
|
353
|
+
isOnline: isOnline
|
|
354
|
+
});
|
|
355
|
+
};
|
|
356
|
+
|
|
357
|
+
handler.onReconnectSucceeded = function () {
|
|
358
|
+
setIsOnline(true);
|
|
359
|
+
logger.warning('onReconnectSucceeded', {
|
|
360
|
+
isOnline: isOnline
|
|
361
|
+
});
|
|
362
|
+
};
|
|
363
|
+
|
|
364
|
+
handler.onReconnectFailed = function () {
|
|
365
|
+
sdk.reconnect();
|
|
366
|
+
logger.warning('onReconnectFailed');
|
|
367
|
+
};
|
|
348
368
|
|
|
349
|
-
|
|
369
|
+
logger.info('Added ConnectionHandler', uniqueHandlerId);
|
|
350
370
|
|
|
351
|
-
|
|
352
|
-
|
|
371
|
+
if (sdk !== null && sdk !== void 0 && sdk.addConnectionHandler) {
|
|
372
|
+
sdk.addConnectionHandler(uniqueHandlerId, handler);
|
|
373
|
+
}
|
|
374
|
+
} catch (_unused) {//
|
|
353
375
|
}
|
|
354
376
|
|
|
355
377
|
return function () {
|
|
356
378
|
try {
|
|
357
379
|
sdk.removeConnectionHandler(uniqueHandlerId);
|
|
358
380
|
logger.info('Removed ConnectionHandler', uniqueHandlerId);
|
|
359
|
-
} catch (
|
|
381
|
+
} catch (_unused2) {//
|
|
360
382
|
}
|
|
361
383
|
};
|
|
362
384
|
}, [sdk]);
|
|
@@ -369,7 +391,7 @@ function useConnectionStatus(sdk, logger) {
|
|
|
369
391
|
// connection is not broken yet
|
|
370
392
|
sdk.reconnect();
|
|
371
393
|
}
|
|
372
|
-
} catch (
|
|
394
|
+
} catch (_unused3) {//
|
|
373
395
|
}
|
|
374
396
|
}; // addEventListener version
|
|
375
397
|
|
|
@@ -554,6 +576,8 @@ function Sendbird(props) {
|
|
|
554
576
|
appId = props.appId,
|
|
555
577
|
accessToken = props.accessToken,
|
|
556
578
|
configureSession = props.configureSession,
|
|
579
|
+
customApiHost = props.customApiHost,
|
|
580
|
+
customWebSocketHost = props.customWebSocketHost,
|
|
557
581
|
children = props.children,
|
|
558
582
|
disableUserProfile = props.disableUserProfile,
|
|
559
583
|
renderUserProfile = props.renderUserProfile,
|
|
@@ -611,6 +635,8 @@ function Sendbird(props) {
|
|
|
611
635
|
nickname: nickname,
|
|
612
636
|
profileUrl: profileUrl,
|
|
613
637
|
configureSession: configureSession,
|
|
638
|
+
customApiHost: customApiHost,
|
|
639
|
+
customWebSocketHost: customWebSocketHost,
|
|
614
640
|
sdk: sdkStore.sdk,
|
|
615
641
|
logger: logger
|
|
616
642
|
}, {
|
|
@@ -723,6 +749,8 @@ Sendbird.propTypes = {
|
|
|
723
749
|
userId: PropTypes.string.isRequired,
|
|
724
750
|
appId: PropTypes.string.isRequired,
|
|
725
751
|
accessToken: PropTypes.string,
|
|
752
|
+
customApiHost: PropTypes.string,
|
|
753
|
+
customWebSocketHost: PropTypes.string,
|
|
726
754
|
configureSession: PropTypes.func,
|
|
727
755
|
children: PropTypes.oneOfType([PropTypes.element, PropTypes.arrayOf(PropTypes.element), PropTypes.any]).isRequired,
|
|
728
756
|
theme: PropTypes.string,
|
|
@@ -759,6 +787,8 @@ Sendbird.propTypes = {
|
|
|
759
787
|
};
|
|
760
788
|
Sendbird.defaultProps = {
|
|
761
789
|
accessToken: '',
|
|
790
|
+
customApiHost: null,
|
|
791
|
+
customWebSocketHost: null,
|
|
762
792
|
configureSession: null,
|
|
763
793
|
theme: 'light',
|
|
764
794
|
nickname: '',
|