@sendbird/uikit-react 3.0.0-beta.5 → 3.0.0-beta.6
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 +31 -30
- package/App.js.map +1 -1
- package/Channel/components/ChannelHeader.js +15 -15
- package/Channel/components/ChannelUI.js +24 -23
- package/Channel/components/ChannelUI.js.map +1 -1
- package/Channel/components/FileViewer.js +14 -14
- package/Channel/components/FrozenNotification.js +5 -5
- package/Channel/components/Message.js +25 -20
- package/Channel/components/Message.js.map +1 -1
- package/Channel/components/MessageInput.js +27 -17
- package/Channel/components/MessageInput.js.map +1 -1
- package/Channel/components/MessageList.js +23 -22
- package/Channel/components/MessageList.js.map +1 -1
- package/Channel/components/RemoveMessageModal.js +17 -17
- package/Channel/components/SuggestedMentionList.js +94 -43
- package/Channel/components/SuggestedMentionList.js.map +1 -1
- package/Channel/components/TypingIndicator.js +14 -14
- package/Channel/components/UnreadCount.js +5 -5
- package/Channel/context.js +13 -13
- package/Channel.js +24 -23
- package/Channel.js.map +1 -1
- package/ChannelList/components/AddChannel.js +14 -14
- package/ChannelList/components/ChannelListHeader.js +7 -7
- package/ChannelList/components/ChannelListUI.js +26 -26
- package/ChannelList/components/ChannelPreview.js +21 -20
- package/ChannelList/components/ChannelPreview.js.map +1 -1
- package/ChannelList/components/ChannelPreviewAction.js +14 -14
- package/ChannelList/context.js +8 -8
- package/ChannelList.js +26 -26
- package/{ChannelListProvider-a7bdd63a.js → ChannelListProvider-737ee36f.js} +8 -8
- package/{ChannelListProvider-a7bdd63a.js.map → ChannelListProvider-737ee36f.js.map} +1 -1
- package/{ChannelProvider-923b58df.js → ChannelProvider-34834493.js} +13 -13
- package/ChannelProvider-34834493.js.map +1 -0
- package/ChannelSettings/components/AdminPanel.js +15 -15
- 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/UserListItem.js +11 -11
- package/ChannelSettings/components/UserPanel.js +14 -14
- package/ChannelSettings/context.js +3 -3
- package/ChannelSettings.js +18 -18
- package/CreateChannel/components/CreateChannelUI.js +14 -14
- package/CreateChannel/components/InviteMembers.js +14 -14
- package/CreateChannel/components/SelectChannelType.js +10 -10
- package/CreateChannel/context.js +3 -3
- package/CreateChannel.js +14 -14
- package/{CreateChannelProvider-e491613f.js → CreateChannelProvider-3d3e4a7c.js} +1 -1
- package/{CreateChannelProvider-e491613f.js.map → CreateChannelProvider-3d3e4a7c.js.map} +1 -1
- package/EditUserProfile/components/EditUserProfileUI.js +13 -13
- package/EditUserProfile.js +13 -13
- package/{LocalizationContext-0e05ddca.js → LocalizationContext-5b0a9339.js} +3 -3
- package/{LocalizationContext-0e05ddca.js.map → LocalizationContext-5b0a9339.js.map} +1 -1
- package/{MemberList-ed7da941.js → MemberList-6e33a562.js} +5 -5
- package/{MemberList-ed7da941.js.map → MemberList-6e33a562.js.map} +1 -1
- package/MessageSearch/components/MessageSearchUI.js +11 -11
- package/MessageSearch/context.js +2 -2
- package/MessageSearch.js +11 -11
- package/OpenChannel/components/FrozenChannelNotification.js +5 -5
- package/OpenChannel/components/OpenChannelHeader.js +12 -12
- package/OpenChannel/components/OpenChannelInput.js +16 -16
- package/OpenChannel/components/OpenChannelMessage.js +21 -21
- package/OpenChannel/components/OpenChannelMessageList.js +23 -23
- package/OpenChannel/components/OpenChannelUI.js +23 -23
- package/OpenChannel/context.js +9 -9
- package/OpenChannel.js +23 -23
- package/{OpenChannelProvider-45a848a3.js → OpenChannelProvider-9ef0d52a.js} +7 -7
- package/{OpenChannelProvider-45a848a3.js.map → OpenChannelProvider-9ef0d52a.js.map} +1 -1
- package/OpenChannelSettings/components/EditDetailsModal.js +13 -13
- package/OpenChannelSettings/components/OpenChannelProfile.js +13 -13
- package/OpenChannelSettings/components/OpenChannelSettingsUI.js +17 -17
- package/OpenChannelSettings/components/OperatorUI.js +16 -16
- package/OpenChannelSettings/components/ParticipantUI.js +14 -14
- package/OpenChannelSettings/context.js +2 -2
- package/OpenChannelSettings.js +17 -17
- package/SendbirdProvider.js +25 -10
- package/SendbirdProvider.js.map +1 -1
- package/{UserProfileContext-90704c73.js → UserProfileContext-b6d89d0d.js} +1 -1
- package/{UserProfileContext-90704c73.js.map → UserProfileContext-b6d89d0d.js.map} +1 -1
- package/{_rollupPluginBabelHelpers-c7eeba03.js → _rollupPluginBabelHelpers-d10f91b9.js} +1 -1
- package/{_rollupPluginBabelHelpers-c7eeba03.js.map → _rollupPluginBabelHelpers-d10f91b9.js.map} +1 -1
- package/{actionTypes-e0f4e19c.js → actionTypes-17920f59.js} +1 -1
- package/{actionTypes-e0f4e19c.js.map → actionTypes-17920f59.js.map} +1 -1
- package/cjs/App.js +31 -30
- package/cjs/App.js.map +1 -1
- package/cjs/Channel/components/ChannelHeader.js +15 -15
- package/cjs/Channel/components/ChannelUI.js +24 -23
- package/cjs/Channel/components/ChannelUI.js.map +1 -1
- package/cjs/Channel/components/FileViewer.js +14 -14
- package/cjs/Channel/components/FrozenNotification.js +5 -5
- package/cjs/Channel/components/Message.js +25 -20
- package/cjs/Channel/components/Message.js.map +1 -1
- package/cjs/Channel/components/MessageInput.js +27 -17
- package/cjs/Channel/components/MessageInput.js.map +1 -1
- package/cjs/Channel/components/MessageList.js +23 -22
- package/cjs/Channel/components/MessageList.js.map +1 -1
- package/cjs/Channel/components/RemoveMessageModal.js +17 -17
- package/cjs/Channel/components/SuggestedMentionList.js +94 -43
- package/cjs/Channel/components/SuggestedMentionList.js.map +1 -1
- package/cjs/Channel/components/TypingIndicator.js +14 -14
- package/cjs/Channel/components/UnreadCount.js +5 -5
- package/cjs/Channel/context.js +13 -13
- package/cjs/Channel.js +24 -23
- package/cjs/Channel.js.map +1 -1
- package/cjs/ChannelList/components/AddChannel.js +14 -14
- package/cjs/ChannelList/components/ChannelListHeader.js +7 -7
- package/cjs/ChannelList/components/ChannelListUI.js +26 -26
- package/cjs/ChannelList/components/ChannelPreview.js +21 -20
- package/cjs/ChannelList/components/ChannelPreview.js.map +1 -1
- package/cjs/ChannelList/components/ChannelPreviewAction.js +14 -14
- package/cjs/ChannelList/context.js +8 -8
- package/cjs/ChannelList.js +26 -26
- package/cjs/{ChannelListProvider-01864e22.js → ChannelListProvider-f910e236.js} +8 -8
- package/cjs/{ChannelListProvider-01864e22.js.map → ChannelListProvider-f910e236.js.map} +1 -1
- package/cjs/{ChannelProvider-3ef2a755.js → ChannelProvider-86e2e68c.js} +13 -13
- package/cjs/ChannelProvider-86e2e68c.js.map +1 -0
- package/cjs/ChannelSettings/components/AdminPanel.js +15 -15
- 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/UserListItem.js +11 -11
- package/cjs/ChannelSettings/components/UserPanel.js +14 -14
- package/cjs/ChannelSettings/context.js +3 -3
- package/cjs/ChannelSettings.js +18 -18
- package/cjs/CreateChannel/components/CreateChannelUI.js +14 -14
- package/cjs/CreateChannel/components/InviteMembers.js +14 -14
- package/cjs/CreateChannel/components/SelectChannelType.js +10 -10
- package/cjs/CreateChannel/context.js +3 -3
- package/cjs/CreateChannel.js +14 -14
- package/cjs/{CreateChannelProvider-0d01dcbf.js → CreateChannelProvider-07992a6d.js} +1 -1
- package/cjs/{CreateChannelProvider-0d01dcbf.js.map → CreateChannelProvider-07992a6d.js.map} +1 -1
- package/cjs/EditUserProfile/components/EditUserProfileUI.js +13 -13
- package/cjs/EditUserProfile.js +13 -13
- package/cjs/{LocalizationContext-4c0a4a70.js → LocalizationContext-79514649.js} +3 -3
- package/cjs/{LocalizationContext-4c0a4a70.js.map → LocalizationContext-79514649.js.map} +1 -1
- package/cjs/{MemberList-b917d2b8.js → MemberList-015c1075.js} +5 -5
- package/cjs/{MemberList-b917d2b8.js.map → MemberList-015c1075.js.map} +1 -1
- package/cjs/MessageSearch/components/MessageSearchUI.js +11 -11
- package/cjs/MessageSearch/context.js +2 -2
- package/cjs/MessageSearch.js +11 -11
- package/cjs/OpenChannel/components/FrozenChannelNotification.js +5 -5
- package/cjs/OpenChannel/components/OpenChannelHeader.js +12 -12
- package/cjs/OpenChannel/components/OpenChannelInput.js +16 -16
- package/cjs/OpenChannel/components/OpenChannelMessage.js +21 -21
- package/cjs/OpenChannel/components/OpenChannelMessageList.js +23 -23
- package/cjs/OpenChannel/components/OpenChannelUI.js +23 -23
- package/cjs/OpenChannel/context.js +9 -9
- package/cjs/OpenChannel.js +23 -23
- package/cjs/{OpenChannelProvider-862a55ec.js → OpenChannelProvider-445f214c.js} +7 -7
- package/cjs/{OpenChannelProvider-862a55ec.js.map → OpenChannelProvider-445f214c.js.map} +1 -1
- package/cjs/OpenChannelSettings/components/EditDetailsModal.js +13 -13
- package/cjs/OpenChannelSettings/components/OpenChannelProfile.js +13 -13
- package/cjs/OpenChannelSettings/components/OpenChannelSettingsUI.js +17 -17
- package/cjs/OpenChannelSettings/components/OperatorUI.js +16 -16
- package/cjs/OpenChannelSettings/components/ParticipantUI.js +14 -14
- package/cjs/OpenChannelSettings/context.js +2 -2
- package/cjs/OpenChannelSettings.js +17 -17
- package/cjs/SendbirdProvider.js +25 -10
- package/cjs/SendbirdProvider.js.map +1 -1
- package/cjs/{UserProfileContext-0081d7b2.js → UserProfileContext-12cfee31.js} +1 -1
- package/cjs/{UserProfileContext-0081d7b2.js.map → UserProfileContext-12cfee31.js.map} +1 -1
- package/cjs/{_rollupPluginBabelHelpers-08d1d0ec.js → _rollupPluginBabelHelpers-f802e0e8.js} +1 -1
- package/cjs/{_rollupPluginBabelHelpers-08d1d0ec.js.map → _rollupPluginBabelHelpers-f802e0e8.js.map} +1 -1
- package/cjs/{actionTypes-03bdd863.js → actionTypes-93161807.js} +1 -1
- package/cjs/{actionTypes-03bdd863.js.map → actionTypes-93161807.js.map} +1 -1
- package/cjs/{color-37edcf95.js → color-c53ac792.js} +1 -1
- package/cjs/{color-37edcf95.js.map → color-c53ac792.js.map} +1 -1
- package/cjs/{compareIds-1cb14940.js → compareIds-37e8380c.js} +1 -1
- package/cjs/{compareIds-1cb14940.js.map → compareIds-37e8380c.js.map} +1 -1
- package/cjs/{const-21636adb.js → const-3024c719.js} +1 -1
- package/cjs/{const-21636adb.js.map → const-3024c719.js.map} +1 -1
- package/cjs/{const-64185108.js → const-489c46b6.js} +1 -1
- package/cjs/{const-64185108.js.map → const-489c46b6.js.map} +1 -1
- package/cjs/{context-8f183eb3.js → context-961d5b11.js} +2 -2
- package/cjs/{context-8f183eb3.js.map → context-961d5b11.js.map} +1 -1
- package/{index.css → cjs/dist/index.css} +74 -56
- package/cjs/dist/index.css.map +1 -0
- package/cjs/{index-23c51d89.js → index-07623c8b.js} +2 -2
- package/cjs/{index-23c51d89.js.map → index-07623c8b.js.map} +1 -1
- package/cjs/{index-4e4d7494.js → index-0b2e2c2a.js} +1 -1
- package/cjs/{index-4e4d7494.js.map → index-0b2e2c2a.js.map} +1 -1
- package/cjs/{index-630f8d1b.js → index-2180f74f.js} +3 -3
- package/cjs/{index-630f8d1b.js.map → index-2180f74f.js.map} +1 -1
- package/cjs/{index-94e8cf13.js → index-4e8b61f7.js} +10 -9
- package/cjs/index-4e8b61f7.js.map +1 -0
- package/cjs/{index-7532e1ca.js → index-5615eab4.js} +4 -4
- package/cjs/{index-7532e1ca.js.map → index-5615eab4.js.map} +1 -1
- package/cjs/{index-8479199c.js → index-5eaebc66.js} +6 -6
- package/cjs/{index-8479199c.js.map → index-5eaebc66.js.map} +1 -1
- package/cjs/{index-30e8e785.js → index-a20b40c4.js} +3 -3
- package/cjs/{index-30e8e785.js.map → index-a20b40c4.js.map} +1 -1
- package/cjs/{index-a40d57a5.js → index-bc563d47.js} +6 -2
- package/cjs/index-bc563d47.js.map +1 -0
- package/cjs/{index-dcd38046.js → index-cb53adf5.js} +2 -2
- package/cjs/{index-dcd38046.js.map → index-cb53adf5.js.map} +1 -1
- package/cjs/{index-6d82098c.js → index-d25a7cbf.js} +4 -4
- package/cjs/{index-6d82098c.js.map → index-d25a7cbf.js.map} +1 -1
- package/cjs/{index-1a6c1893.js → index-d70ac86e.js} +1 -1
- package/cjs/{index-1a6c1893.js.map → index-d70ac86e.js.map} +1 -1
- package/cjs/index.js +34 -33
- package/cjs/index.js.map +1 -1
- package/cjs/{openChannelUtils-46a3a403.js → openChannelUtils-7fb1abc6.js} +1 -1
- package/cjs/{openChannelUtils-46a3a403.js.map → openChannelUtils-7fb1abc6.js.map} +1 -1
- package/cjs/sendBirdSelectors.js +1 -1
- package/cjs/{stringSet-d9121aa6.js → stringSet-ae448472.js} +1 -1
- package/cjs/{stringSet-d9121aa6.js.map → stringSet-ae448472.js.map} +1 -1
- package/cjs/{topics-4fc933cb.js → topics-bdbff23e.js} +1 -1
- package/cjs/{topics-4fc933cb.js.map → topics-bdbff23e.js.map} +1 -1
- package/cjs/{tslib.es6-571bbfc9.js → tslib.es6-a7af7bb8.js} +1 -1
- package/cjs/{tslib.es6-571bbfc9.js.map → tslib.es6-a7af7bb8.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 +98 -0
- package/cjs/ui/MentionLabel.js.map +1 -0
- package/cjs/ui/MessageContent.js +15 -14
- package/cjs/ui/MessageContent.js.map +1 -1
- package/cjs/ui/MessageInput.js +18 -14
- package/cjs/ui/MessageInput.js.map +1 -1
- package/cjs/ui/MessageItemMenu.js +7 -7
- package/cjs/ui/MessageItemReactionMenu.js +5 -5
- package/cjs/ui/MessageSearchFileItem.js +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 +20 -9
- package/cjs/ui/OGMessageItemBody.js.map +1 -1
- 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 +14 -14
- package/cjs/ui/OpenchannelOGMessage.js +14 -14
- package/cjs/ui/OpenchannelThumbnailMessage.js +13 -13
- package/cjs/ui/OpenchannelUserMessage.js +14 -14
- 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 +22 -9
- package/cjs/ui/TextMessageItemBody.js.map +1 -1
- 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 +11 -11
- package/cjs/ui/UserProfile.js +13 -13
- package/cjs/ui/UserProfile.js.map +1 -1
- package/cjs/useSendbirdStateContext.js +1 -1
- package/cjs/{utils-f734965d.js → utils-03155980.js} +1 -1
- package/cjs/{utils-f734965d.js.map → utils-03155980.js.map} +1 -1
- package/cjs/{utils-b88eb3e0.js → utils-0d5ecf05.js} +1 -1
- package/cjs/{utils-b88eb3e0.js.map → utils-0d5ecf05.js.map} +1 -1
- package/cjs/{utils-63225dc9.js → utils-139469a5.js} +1 -1
- package/cjs/{utils-63225dc9.js.map → utils-139469a5.js.map} +1 -1
- package/cjs/{uuid-086f0c34.js → uuid-03009a31.js} +1 -1
- package/cjs/{uuid-086f0c34.js.map → uuid-03009a31.js.map} +1 -1
- package/cjs/withSendBird.js +1 -1
- package/{color-a3d3742c.js → color-6b259e40.js} +1 -1
- package/{color-a3d3742c.js.map → color-6b259e40.js.map} +1 -1
- package/{compareIds-2bfd667a.js → compareIds-982972e8.js} +1 -1
- package/{compareIds-2bfd667a.js.map → compareIds-982972e8.js.map} +1 -1
- package/{const-9f83647a.js → const-da3968a5.js} +1 -1
- package/{const-9f83647a.js.map → const-da3968a5.js.map} +1 -1
- package/{const-a8df15de.js → const-e3d1e0ec.js} +1 -1
- package/{const-a8df15de.js.map → const-e3d1e0ec.js.map} +1 -1
- package/{context-ae164d45.js → context-3d5505d0.js} +2 -2
- package/{context-ae164d45.js.map → context-3d5505d0.js.map} +1 -1
- package/dist/index.css +74 -56
- package/dist/index.css.map +1 -1
- package/{index-89f5a4ba.js → index-065ef420.js} +6 -6
- package/{index-89f5a4ba.js.map → index-065ef420.js.map} +1 -1
- package/{index-e1b93b3a.js → index-17cf7808.js} +3 -3
- package/{index-e1b93b3a.js.map → index-17cf7808.js.map} +1 -1
- package/{index-df459121.js → index-691dc8da.js} +4 -4
- package/{index-df459121.js.map → index-691dc8da.js.map} +1 -1
- package/{index-13eb0f5e.js → index-81a93b05.js} +10 -9
- package/index-81a93b05.js.map +1 -0
- package/{index-03baba6a.js → index-902c2068.js} +6 -3
- package/index-902c2068.js.map +1 -0
- package/{index-2c56786f.js → index-92160328.js} +2 -2
- package/{index-2c56786f.js.map → index-92160328.js.map} +1 -1
- package/{index-e7c0bc26.js → index-94489c17.js} +1 -1
- package/{index-e7c0bc26.js.map → index-94489c17.js.map} +1 -1
- package/{index-29563598.js → index-95677caf.js} +2 -2
- package/{index-29563598.js.map → index-95677caf.js.map} +1 -1
- package/{index-f78ebc31.js → index-9deb1389.js} +3 -3
- package/{index-f78ebc31.js.map → index-9deb1389.js.map} +1 -1
- package/{index-d7840fad.js → index-a755675d.js} +4 -4
- package/{index-d7840fad.js.map → index-a755675d.js.map} +1 -1
- package/{index-80e330a9.js → index-db6a4860.js} +1 -1
- package/{index-80e330a9.js.map → index-db6a4860.js.map} +1 -1
- package/index.d.ts +14 -3
- package/index.js +34 -33
- package/index.js.map +1 -1
- package/{openChannelUtils-ae1d6038.js → openChannelUtils-2cd370a7.js} +1 -1
- package/{openChannelUtils-ae1d6038.js.map → openChannelUtils-2cd370a7.js.map} +1 -1
- package/package.json +1 -1
- package/sendBirdSelectors.js +1 -1
- package/{stringSet-6c9c68ae.js → stringSet-5a85ff4b.js} +1 -1
- package/{stringSet-6c9c68ae.js.map → stringSet-5a85ff4b.js.map} +1 -1
- package/{topics-d347c996.js → topics-24a660ee.js} +1 -1
- package/{topics-d347c996.js.map → topics-24a660ee.js.map} +1 -1
- package/{tslib.es6-61821688.js → tslib.es6-2c4d01e9.js} +1 -1
- package/{tslib.es6-61821688.js.map → tslib.es6-2c4d01e9.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 +92 -0
- package/ui/MentionLabel.js.map +1 -0
- package/ui/MessageContent.js +15 -14
- package/ui/MessageContent.js.map +1 -1
- package/ui/MessageInput.js +18 -14
- package/ui/MessageInput.js.map +1 -1
- 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 +20 -9
- package/ui/OGMessageItemBody.js.map +1 -1
- package/ui/OpenChannelAdminMessage.js +4 -4
- package/ui/OpenChannelAvatar.js +7 -7
- package/ui/OpenchannelConversationHeader.js +7 -7
- package/ui/OpenchannelFileMessage.js +14 -14
- package/ui/OpenchannelOGMessage.js +14 -14
- package/ui/OpenchannelThumbnailMessage.js +13 -13
- package/ui/OpenchannelUserMessage.js +14 -14
- 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 +22 -9
- package/ui/TextMessageItemBody.js.map +1 -1
- 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 +11 -11
- package/ui/UserProfile.js +13 -13
- package/ui/UserProfile.js.map +1 -1
- package/useSendbirdStateContext.js +1 -1
- package/{utils-aed86fb8.js → utils-57c79308.js} +1 -1
- package/{utils-aed86fb8.js.map → utils-57c79308.js.map} +1 -1
- package/{utils-4e85584a.js → utils-85d3d94c.js} +1 -1
- package/{utils-4e85584a.js.map → utils-85d3d94c.js.map} +1 -1
- package/{utils-5e25aca3.js → utils-b3b6f503.js} +1 -1
- package/{utils-5e25aca3.js.map → utils-b3b6f503.js.map} +1 -1
- package/{uuid-6e6389e2.js → uuid-0ab81e67.js} +1 -1
- package/{uuid-6e6389e2.js.map → uuid-0ab81e67.js.map} +1 -1
- package/withSendBird.js +1 -1
- package/CHANGELOG.md +0 -65
- package/ChannelProvider-923b58df.js.map +0 -1
- package/README.md +0 -129
- package/cjs/ChannelProvider-3ef2a755.js.map +0 -1
- package/cjs/index-94e8cf13.js.map +0 -1
- package/cjs/index-a40d57a5.js.map +0 -1
- package/cjs/index.css +0 -4463
- package/cjs/index.css.map +0 -1
- package/index-03baba6a.js.map +0 -1
- package/index-13eb0f5e.js.map +0 -1
- package/index.css.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-5b0a9339.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-9deb1389.js';
|
|
7
|
+
import { L as Label, a as LabelTypography, b as LabelColors } from '../../index-17cf7808.js';
|
|
8
8
|
import TextButton from '../../ui/TextButton.js';
|
|
9
9
|
import ChannelAvatar from '../../ui/OpenChannelAvatar.js';
|
|
10
10
|
import { useOpenChannelSettings } from '../context.js';
|
|
11
11
|
import useSendbirdStateContext from '../../useSendbirdStateContext.js';
|
|
12
|
-
import '../../stringSet-
|
|
13
|
-
import '../../index-
|
|
12
|
+
import '../../stringSet-5a85ff4b.js';
|
|
13
|
+
import '../../index-94489c17.js';
|
|
14
14
|
import 'prop-types';
|
|
15
15
|
import 'react-dom';
|
|
16
|
-
import '../../index-
|
|
16
|
+
import '../../index-db6a4860.js';
|
|
17
17
|
import '../../ui/IconButton.js';
|
|
18
|
-
import '../../_rollupPluginBabelHelpers-
|
|
18
|
+
import '../../_rollupPluginBabelHelpers-d10f91b9.js';
|
|
19
19
|
import '../../ui/Icon.js';
|
|
20
|
-
import '../../utils-
|
|
21
|
-
import '../../tslib.es6-
|
|
20
|
+
import '../../utils-85d3d94c.js';
|
|
21
|
+
import '../../tslib.es6-2c4d01e9.js';
|
|
22
22
|
import '../../ui/ImageRenderer.js';
|
|
23
|
-
import '../../uuid-
|
|
24
|
-
import '../../color-
|
|
25
|
-
import '../../utils-
|
|
26
|
-
import '../../UserProfileContext-
|
|
23
|
+
import '../../uuid-0ab81e67.js';
|
|
24
|
+
import '../../color-6b259e40.js';
|
|
25
|
+
import '../../utils-b3b6f503.js';
|
|
26
|
+
import '../../UserProfileContext-b6d89d0d.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-5b0a9339.js';
|
|
3
|
+
import { L as Label, a as LabelTypography, b as LabelColors } from '../../index-17cf7808.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 { useOpenChannelSettings } from '../context.js';
|
|
9
|
-
import '../../stringSet-
|
|
10
|
-
import '../../index-
|
|
11
|
-
import '../../_rollupPluginBabelHelpers-
|
|
9
|
+
import '../../stringSet-5a85ff4b.js';
|
|
10
|
+
import '../../index-94489c17.js';
|
|
11
|
+
import '../../_rollupPluginBabelHelpers-d10f91b9.js';
|
|
12
12
|
import 'prop-types';
|
|
13
|
-
import '../../color-
|
|
13
|
+
import '../../color-6b259e40.js';
|
|
14
14
|
import '../../ui/Avatar.js';
|
|
15
|
-
import '../../tslib.es6-
|
|
15
|
+
import '../../tslib.es6-2c4d01e9.js';
|
|
16
16
|
import '../../ui/ImageRenderer.js';
|
|
17
17
|
import '../../ui/Icon.js';
|
|
18
|
-
import '../../uuid-
|
|
19
|
-
import '../../utils-
|
|
18
|
+
import '../../uuid-0ab81e67.js';
|
|
19
|
+
import '../../utils-b3b6f503.js';
|
|
20
20
|
import '../../ui/Modal.js';
|
|
21
21
|
import 'react-dom';
|
|
22
|
-
import '../../index-
|
|
22
|
+
import '../../index-db6a4860.js';
|
|
23
23
|
import '../../ui/IconButton.js';
|
|
24
|
-
import '../../index-
|
|
25
|
-
import '../../utils-
|
|
24
|
+
import '../../index-9deb1389.js';
|
|
25
|
+
import '../../utils-85d3d94c.js';
|
|
26
26
|
import '../../ui/Input.js';
|
|
27
27
|
import '../../withSendBird.js';
|
|
28
|
-
import '../../UserProfileContext-
|
|
28
|
+
import '../../UserProfileContext-b6d89d0d.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 { useOpenChannelSettings } 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-b6d89d0d.js';
|
|
5
|
+
import { a as LocalizationContext } from '../../LocalizationContext-5b0a9339.js';
|
|
6
|
+
import { L as Label, a as LabelTypography, b as LabelColors } from '../../index-17cf7808.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-691dc8da.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-d10f91b9.js';
|
|
13
13
|
import 'prop-types';
|
|
14
|
-
import '../../stringSet-
|
|
15
|
-
import '../../index-
|
|
14
|
+
import '../../stringSet-5a85ff4b.js';
|
|
15
|
+
import '../../index-94489c17.js';
|
|
16
16
|
import '../../ui/Loader.js';
|
|
17
17
|
import './OpenChannelProfile.js';
|
|
18
18
|
import '../../ui/TextButton.js';
|
|
19
|
-
import '../../color-
|
|
19
|
+
import '../../color-6b259e40.js';
|
|
20
20
|
import '../../ui/OpenChannelAvatar.js';
|
|
21
21
|
import '../../ui/Avatar.js';
|
|
22
|
-
import '../../tslib.es6-
|
|
22
|
+
import '../../tslib.es6-2c4d01e9.js';
|
|
23
23
|
import '../../ui/ImageRenderer.js';
|
|
24
|
-
import '../../uuid-
|
|
25
|
-
import '../../utils-
|
|
24
|
+
import '../../uuid-0ab81e67.js';
|
|
25
|
+
import '../../utils-b3b6f503.js';
|
|
26
26
|
import './EditDetailsModal.js';
|
|
27
27
|
import '../../ui/Modal.js';
|
|
28
28
|
import 'react-dom';
|
|
29
|
-
import '../../index-
|
|
29
|
+
import '../../index-db6a4860.js';
|
|
30
30
|
import '../../ui/IconButton.js';
|
|
31
|
-
import '../../index-
|
|
32
|
-
import '../../utils-
|
|
31
|
+
import '../../index-9deb1389.js';
|
|
32
|
+
import '../../utils-85d3d94c.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-3d5505d0.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-24a660ee.js';
|
|
43
43
|
import '../../ui/ContextMenu.js';
|
|
44
|
-
import '../../index-
|
|
44
|
+
import '../../index-902c2068.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-5b0a9339.js';
|
|
3
|
+
import { L as Label, a as LabelTypography, b as LabelColors } from '../../index-17cf7808.js';
|
|
4
4
|
import Icon, { IconTypes } from '../../ui/Icon.js';
|
|
5
5
|
import { useOpenChannelSettings } 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 { AccordionGroup } from '../../ui/Accordion.js';
|
|
11
|
-
import '../../stringSet-
|
|
12
|
-
import '../../index-
|
|
13
|
-
import '../../_rollupPluginBabelHelpers-
|
|
11
|
+
import '../../stringSet-5a85ff4b.js';
|
|
12
|
+
import '../../index-94489c17.js';
|
|
13
|
+
import '../../_rollupPluginBabelHelpers-d10f91b9.js';
|
|
14
14
|
import 'prop-types';
|
|
15
|
-
import '../../UserProfileContext-
|
|
15
|
+
import '../../UserProfileContext-b6d89d0d.js';
|
|
16
16
|
import '../../withSendBird.js';
|
|
17
17
|
import '../../ui/TextButton.js';
|
|
18
|
-
import '../../color-
|
|
18
|
+
import '../../color-6b259e40.js';
|
|
19
19
|
import '../../ui/OpenChannelAvatar.js';
|
|
20
20
|
import '../../ui/Avatar.js';
|
|
21
|
-
import '../../tslib.es6-
|
|
21
|
+
import '../../tslib.es6-2c4d01e9.js';
|
|
22
22
|
import '../../ui/ImageRenderer.js';
|
|
23
|
-
import '../../uuid-
|
|
24
|
-
import '../../utils-
|
|
23
|
+
import '../../uuid-0ab81e67.js';
|
|
24
|
+
import '../../utils-b3b6f503.js';
|
|
25
25
|
import './EditDetailsModal.js';
|
|
26
26
|
import '../../ui/Input.js';
|
|
27
|
-
import '../../index-
|
|
27
|
+
import '../../index-9deb1389.js';
|
|
28
28
|
import 'react-dom';
|
|
29
|
-
import '../../index-
|
|
29
|
+
import '../../index-db6a4860.js';
|
|
30
30
|
import '../../ui/IconButton.js';
|
|
31
|
-
import '../../utils-
|
|
32
|
-
import '../../context-
|
|
31
|
+
import '../../utils-85d3d94c.js';
|
|
32
|
+
import '../../context-3d5505d0.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-24a660ee.js';
|
|
39
39
|
import '../../ui/ContextMenu.js';
|
|
40
|
-
import '../../index-
|
|
40
|
+
import '../../index-902c2068.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-2c4d01e9.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-
|
|
3
|
+
import { L as Label, a as LabelTypography, b as LabelColors } from '../../index-17cf7808.js';
|
|
4
4
|
import Icon, { IconTypes } from '../../ui/Icon.js';
|
|
5
|
-
import { a as LocalizationContext } from '../../LocalizationContext-
|
|
6
|
-
import { a as UserProfileContext } from '../../UserProfileContext-
|
|
7
|
-
import '../../index-
|
|
8
|
-
import '../../context-
|
|
5
|
+
import { a as LocalizationContext } from '../../LocalizationContext-5b0a9339.js';
|
|
6
|
+
import { a as UserProfileContext } from '../../UserProfileContext-b6d89d0d.js';
|
|
7
|
+
import '../../index-9deb1389.js';
|
|
8
|
+
import '../../context-3d5505d0.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 { useOpenChannelSettings } from '../context.js';
|
|
15
15
|
import useSendbirdStateContext from '../../useSendbirdStateContext.js';
|
|
16
|
-
import '../../_rollupPluginBabelHelpers-
|
|
16
|
+
import '../../_rollupPluginBabelHelpers-d10f91b9.js';
|
|
17
17
|
import 'prop-types';
|
|
18
|
-
import '../../stringSet-
|
|
19
|
-
import '../../index-
|
|
20
|
-
import '../../utils-
|
|
18
|
+
import '../../stringSet-5a85ff4b.js';
|
|
19
|
+
import '../../index-94489c17.js';
|
|
20
|
+
import '../../utils-85d3d94c.js';
|
|
21
21
|
import '../../ui/ImageRenderer.js';
|
|
22
|
-
import '../../uuid-
|
|
22
|
+
import '../../uuid-0ab81e67.js';
|
|
23
23
|
import 'react-dom';
|
|
24
|
-
import '../../index-
|
|
24
|
+
import '../../index-db6a4860.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-24a660ee.js';
|
|
31
|
+
import '../../index-902c2068.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-b6d89d0d.js';
|
|
4
4
|
import '../withSendBird.js';
|
|
5
|
-
import '../_rollupPluginBabelHelpers-
|
|
5
|
+
import '../_rollupPluginBabelHelpers-d10f91b9.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-d10f91b9.js';
|
|
7
|
+
import './UserProfileContext-b6d89d0d.js';
|
|
8
8
|
import 'prop-types';
|
|
9
|
-
import './LocalizationContext-
|
|
10
|
-
import './stringSet-
|
|
11
|
-
import './index-
|
|
12
|
-
import './index-
|
|
9
|
+
import './LocalizationContext-5b0a9339.js';
|
|
10
|
+
import './stringSet-5a85ff4b.js';
|
|
11
|
+
import './index-94489c17.js';
|
|
12
|
+
import './index-17cf7808.js';
|
|
13
13
|
import './ui/Icon.js';
|
|
14
|
-
import './index-
|
|
14
|
+
import './index-691dc8da.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-6b259e40.js';
|
|
20
20
|
import './ui/OpenChannelAvatar.js';
|
|
21
21
|
import './ui/Avatar.js';
|
|
22
|
-
import './tslib.es6-
|
|
22
|
+
import './tslib.es6-2c4d01e9.js';
|
|
23
23
|
import './ui/ImageRenderer.js';
|
|
24
|
-
import './uuid-
|
|
25
|
-
import './utils-
|
|
24
|
+
import './uuid-0ab81e67.js';
|
|
25
|
+
import './utils-b3b6f503.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-db6a4860.js';
|
|
30
30
|
import './ui/IconButton.js';
|
|
31
|
-
import './index-
|
|
32
|
-
import './utils-
|
|
31
|
+
import './index-9deb1389.js';
|
|
32
|
+
import './utils-85d3d94c.js';
|
|
33
33
|
import './ui/Input.js';
|
|
34
34
|
import './OpenChannelSettings/components/ParticipantUI.js';
|
|
35
|
-
import './context-
|
|
35
|
+
import './context-3d5505d0.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-24a660ee.js';
|
|
42
42
|
import './ui/ContextMenu.js';
|
|
43
|
-
import './index-
|
|
43
|
+
import './index-902c2068.js';
|
|
44
44
|
import './ui/SortByRow.js';
|
|
45
45
|
import './ui/Accordion.js';
|
|
46
46
|
import './ui/AccordionGroup.js';
|
package/SendbirdProvider.js
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { _ as _objectSpread2, a as _slicedToArray } from './_rollupPluginBabelHelpers-
|
|
1
|
+
import { _ as _objectSpread2, a as _slicedToArray } from './_rollupPluginBabelHelpers-d10f91b9.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
5
|
import Sb from 'sendbird';
|
|
6
|
-
import { R as RESET_USER, I as INIT_USER, U as UPDATE_USER_INFO } from './actionTypes-
|
|
7
|
-
import { i as isTextuallyNull } from './index-
|
|
8
|
-
import { _ as __assign } from './tslib.es6-
|
|
6
|
+
import { R as RESET_USER, I as INIT_USER, U as UPDATE_USER_INFO } from './actionTypes-17920f59.js';
|
|
7
|
+
import { i as isTextuallyNull } from './index-902c2068.js';
|
|
8
|
+
import { _ as __assign } from './tslib.es6-2c4d01e9.js';
|
|
9
9
|
import cssVars from 'css-vars-ponyfill';
|
|
10
|
-
import { u as uuidv4 } from './uuid-
|
|
11
|
-
import { L as LocalizationProvider } from './LocalizationContext-
|
|
12
|
-
import { g as getStringSet } from './stringSet-
|
|
13
|
-
import './index-
|
|
10
|
+
import { u as uuidv4 } from './uuid-0ab81e67.js';
|
|
11
|
+
import { L as LocalizationProvider } from './LocalizationContext-5b0a9339.js';
|
|
12
|
+
import { g as getStringSet } from './stringSet-5a85ff4b.js';
|
|
13
|
+
import './index-94489c17.js';
|
|
14
14
|
|
|
15
15
|
var INIT_SDK = 'INIT_SDK';
|
|
16
16
|
var SET_SDK_LOADING = 'SET_SDK_LOADING';
|
|
17
17
|
var RESET_SDK = 'RESET_SDK';
|
|
18
18
|
var SDK_ERROR = 'SDK_ERROR';
|
|
19
19
|
|
|
20
|
-
var APP_VERSION_STRING = '
|
|
20
|
+
var APP_VERSION_STRING = '3.0.0-beta.6';
|
|
21
21
|
var disconnectSdk = function disconnectSdk(_ref) {
|
|
22
22
|
var sdkDispatcher = _ref.sdkDispatcher,
|
|
23
23
|
userDispatcher = _ref.userDispatcher,
|
|
@@ -49,6 +49,7 @@ var handleConnection = function handleConnection(_ref2, dispatchers) {
|
|
|
49
49
|
nickname = _ref2.nickname,
|
|
50
50
|
profileUrl = _ref2.profileUrl,
|
|
51
51
|
accessToken = _ref2.accessToken,
|
|
52
|
+
configureSession = _ref2.configureSession,
|
|
52
53
|
sdk = _ref2.sdk,
|
|
53
54
|
logger = _ref2.logger;
|
|
54
55
|
var sdkDispatcher = dispatchers.sdkDispatcher,
|
|
@@ -60,6 +61,7 @@ var handleConnection = function handleConnection(_ref2, dispatchers) {
|
|
|
60
61
|
logger: logger,
|
|
61
62
|
onDisconnect: function onDisconnect() {
|
|
62
63
|
logger.info('Setup connection');
|
|
64
|
+
var sessionHandler = null;
|
|
63
65
|
sdkDispatcher({
|
|
64
66
|
type: SET_SDK_LOADING,
|
|
65
67
|
payload: true
|
|
@@ -68,9 +70,14 @@ var handleConnection = function handleConnection(_ref2, dispatchers) {
|
|
|
68
70
|
if (userId && appId) {
|
|
69
71
|
var newSdk = new Sb({
|
|
70
72
|
appId: appId
|
|
71
|
-
});
|
|
73
|
+
});
|
|
74
|
+
|
|
75
|
+
if (configureSession && typeof configureSession === 'function') {
|
|
76
|
+
sessionHandler = configureSession(newSdk);
|
|
77
|
+
} // to check if code is released version from rollup and *not from storybook*
|
|
72
78
|
// see rollup config file
|
|
73
79
|
|
|
80
|
+
|
|
74
81
|
{
|
|
75
82
|
newSdk.addExtension('sb_uikit', APP_VERSION_STRING);
|
|
76
83
|
}
|
|
@@ -116,6 +123,10 @@ var handleConnection = function handleConnection(_ref2, dispatchers) {
|
|
|
116
123
|
return connectCbError(err);
|
|
117
124
|
});
|
|
118
125
|
} else {
|
|
126
|
+
if (sessionHandler) {
|
|
127
|
+
newSdk.setSessionHandler(sessionHandler);
|
|
128
|
+
}
|
|
129
|
+
|
|
119
130
|
newSdk.connect(userId).then(function (res) {
|
|
120
131
|
return connectCbSucess(res);
|
|
121
132
|
}).catch(function (err) {
|
|
@@ -537,6 +548,7 @@ function Sendbird(props) {
|
|
|
537
548
|
dateLocale = props.dateLocale,
|
|
538
549
|
appId = props.appId,
|
|
539
550
|
accessToken = props.accessToken,
|
|
551
|
+
configureSession = props.configureSession,
|
|
540
552
|
children = props.children,
|
|
541
553
|
disableUserProfile = props.disableUserProfile,
|
|
542
554
|
renderUserProfile = props.renderUserProfile,
|
|
@@ -593,6 +605,7 @@ function Sendbird(props) {
|
|
|
593
605
|
sdkStore: sdkStore,
|
|
594
606
|
nickname: nickname,
|
|
595
607
|
profileUrl: profileUrl,
|
|
608
|
+
configureSession: configureSession,
|
|
596
609
|
sdk: sdkStore.sdk,
|
|
597
610
|
logger: logger
|
|
598
611
|
}, {
|
|
@@ -705,6 +718,7 @@ Sendbird.propTypes = {
|
|
|
705
718
|
userId: PropTypes.string.isRequired,
|
|
706
719
|
appId: PropTypes.string.isRequired,
|
|
707
720
|
accessToken: PropTypes.string,
|
|
721
|
+
configureSession: PropTypes.func,
|
|
708
722
|
children: PropTypes.oneOfType([PropTypes.element, PropTypes.arrayOf(PropTypes.element), PropTypes.any]).isRequired,
|
|
709
723
|
theme: PropTypes.string,
|
|
710
724
|
nickname: PropTypes.string,
|
|
@@ -740,6 +754,7 @@ Sendbird.propTypes = {
|
|
|
740
754
|
};
|
|
741
755
|
Sendbird.defaultProps = {
|
|
742
756
|
accessToken: '',
|
|
757
|
+
configureSession: null,
|
|
743
758
|
theme: 'light',
|
|
744
759
|
nickname: '',
|
|
745
760
|
dateLocale: null,
|