@sendbird/uikit-react 3.4.3 → 3.4.4-rc.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 +41 -45
- package/App.js.map +1 -1
- package/CHANGELOG.md +11 -0
- package/Channel/components/ChannelHeader.js +19 -19
- package/Channel/components/ChannelUI.js +33 -34
- package/Channel/components/ChannelUI.js.map +1 -1
- package/Channel/components/FileViewer.js +15 -15
- package/Channel/components/FrozenNotification.js +4 -4
- package/Channel/components/Message.js +28 -29
- package/Channel/components/Message.js.map +1 -1
- package/Channel/components/MessageInput.js +24 -25
- package/Channel/components/MessageInput.js.map +1 -1
- package/Channel/components/MessageList.js +32 -33
- package/Channel/components/MessageList.js.map +1 -1
- package/Channel/components/RemoveMessageModal.js +17 -17
- package/Channel/components/SuggestedMentionList.js +17 -17
- package/Channel/components/TypingIndicator.js +15 -15
- package/Channel/components/UnreadCount.js +4 -4
- package/Channel/context.js +14 -14
- package/Channel.js +33 -34
- package/Channel.js.map +1 -1
- package/ChannelList/components/AddChannel.js +15 -15
- package/ChannelList/components/ChannelListHeader.js +6 -7
- package/ChannelList/components/ChannelListHeader.js.map +1 -1
- package/ChannelList/components/ChannelListUI.js +30 -30
- package/ChannelList/components/ChannelPreview.js +26 -26
- package/ChannelList/components/ChannelPreviewAction.js +14 -14
- package/ChannelList/context.js +8 -8
- package/ChannelList.js +30 -30
- package/{ChannelListProvider-74d39ce5.js → ChannelListProvider-02be684a.js} +12 -12
- package/ChannelListProvider-02be684a.js.map +1 -0
- package/{ChannelProvider-7b83d4fd.js → ChannelProvider-fcab0099.js} +21 -20
- package/ChannelProvider-fcab0099.js.map +1 -0
- package/ChannelSettings/components/ChannelProfile.js +11 -12
- package/ChannelSettings/components/ChannelProfile.js.map +1 -1
- package/ChannelSettings/components/ChannelSettingsUI.js +17 -18
- package/ChannelSettings/components/ChannelSettingsUI.js.map +1 -1
- package/ChannelSettings/components/EditDetailsModal.js +11 -12
- package/ChannelSettings/components/EditDetailsModal.js.map +1 -1
- package/ChannelSettings/components/LeaveChannel.js +11 -12
- package/ChannelSettings/components/LeaveChannel.js.map +1 -1
- package/ChannelSettings/components/ModerationPanel.js +14 -15
- package/ChannelSettings/components/ModerationPanel.js.map +1 -1
- package/ChannelSettings/components/UserListItem.js +10 -11
- package/ChannelSettings/components/UserListItem.js.map +1 -1
- package/ChannelSettings/components/UserPanel.js +13 -14
- package/ChannelSettings/components/UserPanel.js.map +1 -1
- package/ChannelSettings/context.js +3 -3
- package/ChannelSettings.js +17 -18
- package/ChannelSettings.js.map +1 -1
- package/CreateChannel/components/CreateChannelUI.js +13 -14
- package/CreateChannel/components/CreateChannelUI.js.map +1 -1
- package/CreateChannel/components/InviteUsers.js +13 -14
- package/CreateChannel/components/InviteUsers.js.map +1 -1
- package/CreateChannel/components/SelectChannelType.js +10 -11
- package/CreateChannel/components/SelectChannelType.js.map +1 -1
- package/CreateChannel/context.js +4 -4
- package/CreateChannel.js +13 -14
- package/CreateChannel.js.map +1 -1
- package/{CreateChannelProvider-488e930d.js → CreateChannelProvider-33fa0e76.js} +1 -1
- package/{CreateChannelProvider-488e930d.js.map → CreateChannelProvider-33fa0e76.js.map} +1 -1
- package/CreateOpenChannel/components/CreateOpenChannelUI.js +9 -10
- package/CreateOpenChannel/components/CreateOpenChannelUI.js.map +1 -1
- package/CreateOpenChannel/context.js +1 -1
- package/CreateOpenChannel.js +9 -10
- package/CreateOpenChannel.js.map +1 -1
- package/EditUserProfile/components/EditUserProfileUI.js +12 -13
- package/EditUserProfile/components/EditUserProfileUI.js.map +1 -1
- package/EditUserProfile.js +12 -13
- package/EditUserProfile.js.map +1 -1
- package/{LocalizationContext-4b25e6bc.js → LocalizationContext-21c445a7.js} +3 -3
- package/{LocalizationContext-4b25e6bc.js.map → LocalizationContext-21c445a7.js.map} +1 -1
- package/{MediaQueryContext-29dcaddb.js → MediaQueryContext-46321124.js} +1 -1
- package/{MediaQueryContext-29dcaddb.js.map → MediaQueryContext-46321124.js.map} +1 -1
- package/{MemberList-5cf25437.js → MemberList-eba5d99c.js} +5 -5
- package/{MemberList-5cf25437.js.map → MemberList-eba5d99c.js.map} +1 -1
- package/MessageSearch/components/MessageSearchUI.js +11 -12
- package/MessageSearch/components/MessageSearchUI.js.map +1 -1
- package/MessageSearch/context.js +1 -2
- package/MessageSearch/context.js.map +1 -1
- package/MessageSearch.js +11 -12
- package/MessageSearch.js.map +1 -1
- package/OpenChannel/components/FrozenChannelNotification.js +4 -4
- package/OpenChannel/components/OpenChannelHeader.js +12 -13
- package/OpenChannel/components/OpenChannelHeader.js.map +1 -1
- package/OpenChannel/components/OpenChannelInput.js +16 -16
- package/OpenChannel/components/OpenChannelMessage.js +23 -23
- package/OpenChannel/components/OpenChannelMessageList.js +58 -47
- package/OpenChannel/components/OpenChannelMessageList.js.map +1 -1
- package/OpenChannel/components/OpenChannelUI.js +26 -25
- package/OpenChannel/components/OpenChannelUI.js.map +1 -1
- package/OpenChannel/context.js +8 -9
- package/OpenChannel/context.js.map +1 -1
- package/OpenChannel.js +26 -25
- package/OpenChannel.js.map +1 -1
- package/OpenChannelList/components/OpenChannelListUI.js +14 -14
- package/OpenChannelList/components/OpenChannelListUI.js.map +1 -1
- package/OpenChannelList/components/OpenChannelPreview.js +4 -4
- package/OpenChannelList/context.js +3 -4
- package/OpenChannelList/context.js.map +1 -1
- package/OpenChannelList.js +13 -13
- package/{OpenChannelListProvider-2685f3d5.js → OpenChannelListProvider-6ed76740.js} +4 -4
- package/OpenChannelListProvider-6ed76740.js.map +1 -0
- package/{OpenChannelProvider-9bd64275.js → OpenChannelProvider-5887d4bd.js} +12 -12
- package/OpenChannelProvider-5887d4bd.js.map +1 -0
- package/OpenChannelSettings/components/EditDetailsModal.js +13 -14
- package/OpenChannelSettings/components/EditDetailsModal.js.map +1 -1
- package/OpenChannelSettings/components/OpenChannelProfile.js +12 -13
- package/OpenChannelSettings/components/OpenChannelProfile.js.map +1 -1
- package/OpenChannelSettings/components/OpenChannelSettingsUI.js +17 -18
- package/OpenChannelSettings/components/OpenChannelSettingsUI.js.map +1 -1
- package/OpenChannelSettings/components/OperatorUI.js +16 -17
- package/OpenChannelSettings/components/OperatorUI.js.map +1 -1
- package/OpenChannelSettings/components/ParticipantUI.js +14 -15
- package/OpenChannelSettings/components/ParticipantUI.js.map +1 -1
- package/OpenChannelSettings/context.js +3 -3
- package/OpenChannelSettings.js +17 -18
- package/OpenChannelSettings.js.map +1 -1
- package/{RemoveMessageModal-0182446a.js → RemoveMessageModal-99978eb5.js} +3 -3
- package/{RemoveMessageModal-0182446a.js.map → RemoveMessageModal-99978eb5.js.map} +1 -1
- package/SendbirdProvider.js +225 -244
- package/SendbirdProvider.js.map +1 -1
- package/Thread/components/ParentMessageInfo.js +26 -27
- package/Thread/components/ParentMessageInfo.js.map +1 -1
- package/Thread/components/ParentMessageInfoItem.js +15 -17
- package/Thread/components/ParentMessageInfoItem.js.map +1 -1
- package/Thread/components/ThreadHeader.js +6 -6
- package/Thread/components/ThreadList.js +28 -29
- package/Thread/components/ThreadList.js.map +1 -1
- package/Thread/components/ThreadListItem.js +28 -29
- package/Thread/components/ThreadListItem.js.map +1 -1
- package/Thread/components/ThreadMessageInput.js +25 -26
- package/Thread/components/ThreadMessageInput.js.map +1 -1
- package/Thread/components/ThreadUI.js +32 -33
- package/Thread/components/ThreadUI.js.map +1 -1
- package/Thread/context.js +8 -9
- package/Thread/context.js.map +1 -1
- package/Thread.js +32 -33
- package/Thread.js.map +1 -1
- package/{ThreadProvider-daedc3df.js → ThreadProvider-c3528b8f.js} +46 -29
- package/ThreadProvider-c3528b8f.js.map +1 -0
- package/{UserProfileContext-2ea97dc1.js → UserProfileContext-b722645f.js} +1 -1
- package/{UserProfileContext-2ea97dc1.js.map → UserProfileContext-b722645f.js.map} +1 -1
- package/{VoiceMessageInputWrapper-f65cc3ae.js → VoiceMessageInputWrapper-6bce7f18.js} +12 -8
- package/VoiceMessageInputWrapper-6bce7f18.js.map +1 -0
- package/VoicePlayer/context.js +5 -3
- package/VoicePlayer/context.js.map +1 -1
- package/VoicePlayer/useVoicePlayer.js +5 -4
- package/VoicePlayer/useVoicePlayer.js.map +1 -1
- package/VoiceRecorder/context.js +2553 -6
- package/VoiceRecorder/context.js.map +1 -1
- package/VoiceRecorder/useVoiceRecorder.js +2 -3
- package/VoiceRecorder/useVoiceRecorder.js.map +1 -1
- package/{_rollupPluginBabelHelpers-38fb8170.js → _rollupPluginBabelHelpers-06a0d79e.js} +1 -1
- package/_rollupPluginBabelHelpers-06a0d79e.js.map +1 -0
- package/{actionTypes-ce60cab6.js → actionTypes-77e04912.js} +1 -1
- package/{actionTypes-ce60cab6.js.map → actionTypes-77e04912.js.map} +1 -1
- package/cjs/App.js +41 -45
- package/cjs/App.js.map +1 -1
- package/cjs/Channel/components/ChannelHeader.js +19 -19
- package/cjs/Channel/components/ChannelUI.js +33 -34
- package/cjs/Channel/components/ChannelUI.js.map +1 -1
- package/cjs/Channel/components/FileViewer.js +15 -15
- package/cjs/Channel/components/FrozenNotification.js +4 -4
- package/cjs/Channel/components/Message.js +28 -29
- package/cjs/Channel/components/Message.js.map +1 -1
- package/cjs/Channel/components/MessageInput.js +24 -25
- package/cjs/Channel/components/MessageInput.js.map +1 -1
- package/cjs/Channel/components/MessageList.js +32 -33
- package/cjs/Channel/components/MessageList.js.map +1 -1
- package/cjs/Channel/components/RemoveMessageModal.js +17 -17
- package/cjs/Channel/components/SuggestedMentionList.js +17 -17
- package/cjs/Channel/components/TypingIndicator.js +15 -15
- package/cjs/Channel/components/UnreadCount.js +4 -4
- package/cjs/Channel/context.js +14 -14
- package/cjs/Channel.js +33 -34
- package/cjs/Channel.js.map +1 -1
- package/cjs/ChannelList/components/AddChannel.js +15 -15
- package/cjs/ChannelList/components/ChannelListHeader.js +6 -7
- package/cjs/ChannelList/components/ChannelListHeader.js.map +1 -1
- package/cjs/ChannelList/components/ChannelListUI.js +30 -30
- package/cjs/ChannelList/components/ChannelPreview.js +26 -26
- package/cjs/ChannelList/components/ChannelPreviewAction.js +14 -14
- package/cjs/ChannelList/context.js +8 -8
- package/cjs/ChannelList.js +30 -30
- package/cjs/{ChannelListProvider-4cf41348.js → ChannelListProvider-182857e2.js} +12 -12
- package/cjs/ChannelListProvider-182857e2.js.map +1 -0
- package/cjs/{ChannelProvider-af11f0e6.js → ChannelProvider-218991b0.js} +21 -20
- package/cjs/ChannelProvider-218991b0.js.map +1 -0
- package/cjs/ChannelSettings/components/ChannelProfile.js +11 -12
- package/cjs/ChannelSettings/components/ChannelProfile.js.map +1 -1
- package/cjs/ChannelSettings/components/ChannelSettingsUI.js +17 -18
- package/cjs/ChannelSettings/components/ChannelSettingsUI.js.map +1 -1
- package/cjs/ChannelSettings/components/EditDetailsModal.js +11 -12
- package/cjs/ChannelSettings/components/EditDetailsModal.js.map +1 -1
- package/cjs/ChannelSettings/components/LeaveChannel.js +11 -12
- package/cjs/ChannelSettings/components/LeaveChannel.js.map +1 -1
- package/cjs/ChannelSettings/components/ModerationPanel.js +14 -15
- package/cjs/ChannelSettings/components/ModerationPanel.js.map +1 -1
- package/cjs/ChannelSettings/components/UserListItem.js +10 -11
- package/cjs/ChannelSettings/components/UserListItem.js.map +1 -1
- package/cjs/ChannelSettings/components/UserPanel.js +13 -14
- package/cjs/ChannelSettings/components/UserPanel.js.map +1 -1
- package/cjs/ChannelSettings/context.js +3 -3
- package/cjs/ChannelSettings.js +17 -18
- package/cjs/ChannelSettings.js.map +1 -1
- package/cjs/CreateChannel/components/CreateChannelUI.js +13 -14
- package/cjs/CreateChannel/components/CreateChannelUI.js.map +1 -1
- package/cjs/CreateChannel/components/InviteUsers.js +13 -14
- package/cjs/CreateChannel/components/InviteUsers.js.map +1 -1
- package/cjs/CreateChannel/components/SelectChannelType.js +10 -11
- package/cjs/CreateChannel/components/SelectChannelType.js.map +1 -1
- package/cjs/CreateChannel/context.js +4 -4
- package/cjs/CreateChannel.js +13 -14
- package/cjs/CreateChannel.js.map +1 -1
- package/cjs/{CreateChannelProvider-1241284b.js → CreateChannelProvider-9b9a224f.js} +1 -1
- package/cjs/{CreateChannelProvider-1241284b.js.map → CreateChannelProvider-9b9a224f.js.map} +1 -1
- package/cjs/CreateOpenChannel/components/CreateOpenChannelUI.js +9 -10
- package/cjs/CreateOpenChannel/components/CreateOpenChannelUI.js.map +1 -1
- package/cjs/CreateOpenChannel/context.js +1 -1
- package/cjs/CreateOpenChannel.js +9 -10
- package/cjs/CreateOpenChannel.js.map +1 -1
- package/cjs/EditUserProfile/components/EditUserProfileUI.js +12 -13
- package/cjs/EditUserProfile/components/EditUserProfileUI.js.map +1 -1
- package/cjs/EditUserProfile.js +12 -13
- package/cjs/EditUserProfile.js.map +1 -1
- package/cjs/{LocalizationContext-d6a49817.js → LocalizationContext-51dc836f.js} +3 -3
- package/cjs/{LocalizationContext-d6a49817.js.map → LocalizationContext-51dc836f.js.map} +1 -1
- package/cjs/{MediaQueryContext-fe920821.js → MediaQueryContext-07055899.js} +1 -1
- package/cjs/{MediaQueryContext-fe920821.js.map → MediaQueryContext-07055899.js.map} +1 -1
- package/cjs/{MemberList-b3c99792.js → MemberList-8e959bdc.js} +5 -5
- package/cjs/{MemberList-b3c99792.js.map → MemberList-8e959bdc.js.map} +1 -1
- package/cjs/MessageSearch/components/MessageSearchUI.js +11 -12
- package/cjs/MessageSearch/components/MessageSearchUI.js.map +1 -1
- package/cjs/MessageSearch/context.js +1 -2
- package/cjs/MessageSearch/context.js.map +1 -1
- package/cjs/MessageSearch.js +11 -12
- package/cjs/MessageSearch.js.map +1 -1
- package/cjs/OpenChannel/components/FrozenChannelNotification.js +4 -4
- package/cjs/OpenChannel/components/OpenChannelHeader.js +12 -13
- package/cjs/OpenChannel/components/OpenChannelHeader.js.map +1 -1
- package/cjs/OpenChannel/components/OpenChannelInput.js +16 -16
- package/cjs/OpenChannel/components/OpenChannelMessage.js +23 -23
- package/cjs/OpenChannel/components/OpenChannelMessageList.js +57 -46
- package/cjs/OpenChannel/components/OpenChannelMessageList.js.map +1 -1
- package/cjs/OpenChannel/components/OpenChannelUI.js +26 -25
- package/cjs/OpenChannel/components/OpenChannelUI.js.map +1 -1
- package/cjs/OpenChannel/context.js +8 -9
- package/cjs/OpenChannel/context.js.map +1 -1
- package/cjs/OpenChannel.js +26 -25
- package/cjs/OpenChannel.js.map +1 -1
- package/cjs/OpenChannelList/components/OpenChannelListUI.js +14 -14
- package/cjs/OpenChannelList/components/OpenChannelListUI.js.map +1 -1
- package/cjs/OpenChannelList/components/OpenChannelPreview.js +4 -4
- package/cjs/OpenChannelList/context.js +3 -4
- package/cjs/OpenChannelList/context.js.map +1 -1
- package/cjs/OpenChannelList.js +13 -13
- package/cjs/{OpenChannelListProvider-aa38b9f3.js → OpenChannelListProvider-e49acf04.js} +4 -4
- package/cjs/OpenChannelListProvider-e49acf04.js.map +1 -0
- package/cjs/{OpenChannelProvider-689e3690.js → OpenChannelProvider-c018bfe2.js} +12 -12
- package/cjs/OpenChannelProvider-c018bfe2.js.map +1 -0
- package/cjs/OpenChannelSettings/components/EditDetailsModal.js +13 -14
- package/cjs/OpenChannelSettings/components/EditDetailsModal.js.map +1 -1
- package/cjs/OpenChannelSettings/components/OpenChannelProfile.js +12 -13
- package/cjs/OpenChannelSettings/components/OpenChannelProfile.js.map +1 -1
- package/cjs/OpenChannelSettings/components/OpenChannelSettingsUI.js +17 -18
- package/cjs/OpenChannelSettings/components/OpenChannelSettingsUI.js.map +1 -1
- package/cjs/OpenChannelSettings/components/OperatorUI.js +16 -17
- package/cjs/OpenChannelSettings/components/OperatorUI.js.map +1 -1
- package/cjs/OpenChannelSettings/components/ParticipantUI.js +14 -15
- package/cjs/OpenChannelSettings/components/ParticipantUI.js.map +1 -1
- package/cjs/OpenChannelSettings/context.js +3 -3
- package/cjs/OpenChannelSettings.js +17 -18
- package/cjs/OpenChannelSettings.js.map +1 -1
- package/cjs/{RemoveMessageModal-e454585a.js → RemoveMessageModal-6f481228.js} +3 -3
- package/cjs/{RemoveMessageModal-e454585a.js.map → RemoveMessageModal-6f481228.js.map} +1 -1
- package/cjs/SendbirdProvider.js +225 -245
- package/cjs/SendbirdProvider.js.map +1 -1
- package/cjs/Thread/components/ParentMessageInfo.js +26 -27
- package/cjs/Thread/components/ParentMessageInfo.js.map +1 -1
- package/cjs/Thread/components/ParentMessageInfoItem.js +15 -17
- package/cjs/Thread/components/ParentMessageInfoItem.js.map +1 -1
- package/cjs/Thread/components/ThreadHeader.js +6 -6
- package/cjs/Thread/components/ThreadList.js +28 -29
- package/cjs/Thread/components/ThreadList.js.map +1 -1
- package/cjs/Thread/components/ThreadListItem.js +28 -29
- package/cjs/Thread/components/ThreadListItem.js.map +1 -1
- package/cjs/Thread/components/ThreadMessageInput.js +25 -26
- package/cjs/Thread/components/ThreadMessageInput.js.map +1 -1
- package/cjs/Thread/components/ThreadUI.js +32 -33
- package/cjs/Thread/components/ThreadUI.js.map +1 -1
- package/cjs/Thread/context.js +8 -9
- package/cjs/Thread/context.js.map +1 -1
- package/cjs/Thread.js +32 -33
- package/cjs/Thread.js.map +1 -1
- package/cjs/{ThreadProvider-03fb5452.js → ThreadProvider-77682d98.js} +46 -29
- package/cjs/ThreadProvider-77682d98.js.map +1 -0
- package/cjs/{UserProfileContext-6b73c8c7.js → UserProfileContext-4c1cc9e7.js} +1 -1
- package/cjs/{UserProfileContext-6b73c8c7.js.map → UserProfileContext-4c1cc9e7.js.map} +1 -1
- package/cjs/{VoiceMessageInputWrapper-b00f09e0.js → VoiceMessageInputWrapper-bb085ef5.js} +12 -8
- package/cjs/VoiceMessageInputWrapper-bb085ef5.js.map +1 -0
- package/cjs/VoicePlayer/context.js +5 -3
- package/cjs/VoicePlayer/context.js.map +1 -1
- package/cjs/VoicePlayer/useVoicePlayer.js +5 -4
- package/cjs/VoicePlayer/useVoicePlayer.js.map +1 -1
- package/cjs/VoiceRecorder/context.js +2555 -8
- package/cjs/VoiceRecorder/context.js.map +1 -1
- package/cjs/VoiceRecorder/useVoiceRecorder.js +2 -3
- package/cjs/VoiceRecorder/useVoiceRecorder.js.map +1 -1
- package/cjs/{_rollupPluginBabelHelpers-6bd3ed3b.js → _rollupPluginBabelHelpers-6137a140.js} +1 -1
- package/cjs/_rollupPluginBabelHelpers-6137a140.js.map +1 -0
- package/cjs/{actionTypes-f0a152e4.js → actionTypes-e9702e2f.js} +1 -1
- package/cjs/{actionTypes-f0a152e4.js.map → actionTypes-e9702e2f.js.map} +1 -1
- package/cjs/{color-273e8911.js → color-6be2e9f3.js} +1 -1
- package/cjs/{color-273e8911.js.map → color-6be2e9f3.js.map} +1 -1
- package/cjs/{compareIds-cedb6c39.js → compareIds-83a57e5f.js} +1 -1
- package/cjs/{compareIds-cedb6c39.js.map → compareIds-83a57e5f.js.map} +1 -1
- package/cjs/{const-b8ef9240.js → const-743dfc24.js} +1 -3
- package/cjs/const-743dfc24.js.map +1 -0
- package/cjs/{const-5de4173e.js → const-eb0722bc.js} +1 -1
- package/cjs/{const-5de4173e.js.map → const-eb0722bc.js.map} +1 -1
- package/cjs/{consts-0e64ad01.js → consts-7df240d1.js} +8 -4
- package/cjs/consts-7df240d1.js.map +1 -0
- package/cjs/{consts-9d6ed0a6.js → consts-bb5e01e7.js} +1 -1
- package/cjs/{consts-9d6ed0a6.js.map → consts-bb5e01e7.js.map} +1 -1
- package/cjs/{context-e0a53b29.js → context-d22fc6e7.js} +2 -2
- package/cjs/{context-e0a53b29.js.map → context-d22fc6e7.js.map} +1 -1
- package/cjs/dist/index.css +55 -55
- package/cjs/dist/index.css.map +1 -1
- package/cjs/{index-31298927.js → index-1dd6b0e3.js} +2 -2
- package/cjs/{index-31298927.js.map → index-1dd6b0e3.js.map} +1 -1
- package/cjs/{index-75f8f2cd.js → index-244136d1.js} +2 -2
- package/cjs/{index-75f8f2cd.js.map → index-244136d1.js.map} +1 -1
- package/cjs/{index-36be8d44.js → index-30065b59.js} +4 -4
- package/cjs/{index-36be8d44.js.map → index-30065b59.js.map} +1 -1
- package/cjs/{index-aa5383c4.js → index-31bdfe4d.js} +5 -5
- package/cjs/{index-aa5383c4.js.map → index-31bdfe4d.js.map} +1 -1
- package/cjs/{index-7ba6befd.js → index-39a87513.js} +2 -2
- package/cjs/{index-7ba6befd.js.map → index-39a87513.js.map} +1 -1
- package/cjs/{index-197e3c5b.js → index-42d826d2.js} +2 -2
- package/cjs/{index-197e3c5b.js.map → index-42d826d2.js.map} +1 -1
- package/cjs/{index-25af7767.js → index-81bd0a0d.js} +7 -7
- package/cjs/{index-25af7767.js.map → index-81bd0a0d.js.map} +1 -1
- package/cjs/{index-f2e27f6a.js → index-9e4bf057.js} +21 -3
- package/cjs/index-9e4bf057.js.map +1 -0
- package/cjs/{index-f0d6f431.js → index-adcde1d2.js} +7 -7
- package/cjs/{index-f0d6f431.js.map → index-adcde1d2.js.map} +1 -1
- package/cjs/{index-6ed2df90.js → index-addd3be5.js} +4 -4
- package/cjs/{index-6ed2df90.js.map → index-addd3be5.js.map} +1 -1
- package/cjs/{index-8aa6d8c9.js → index-ba572c7a.js} +2 -2
- package/cjs/{index-8aa6d8c9.js.map → index-ba572c7a.js.map} +1 -1
- package/cjs/{index-3b0363a8.js → index-bef0eca0.js} +1 -1
- package/cjs/{index-3b0363a8.js.map → index-bef0eca0.js.map} +1 -1
- package/cjs/{index-684be350.js → index-c78778a6.js} +3 -3
- package/cjs/{index-684be350.js.map → index-c78778a6.js.map} +1 -1
- package/cjs/{index-c810e78c.js → index-f52eb778.js} +1 -1
- package/cjs/{index-c810e78c.js.map → index-f52eb778.js.map} +1 -1
- package/cjs/index.js +45 -46
- package/cjs/index.js.map +1 -1
- package/cjs/sendbirdSelectors.js +11 -11
- package/cjs/sendbirdSelectors.js.map +1 -1
- package/cjs/{stringSet-1e9a4bf2.js → stringSet-618eb438.js} +1 -1
- package/cjs/{stringSet-1e9a4bf2.js.map → stringSet-618eb438.js.map} +1 -1
- package/cjs/topics-a335cb1e.js +18 -0
- package/cjs/topics-a335cb1e.js.map +1 -0
- package/cjs/{tslib.es6-a674f4e5.js → tslib.es6-08359f50.js} +1 -1
- package/cjs/{tslib.es6-a674f4e5.js.map → tslib.es6-08359f50.js.map} +1 -1
- package/cjs/{types-ff787253.js → types-518abc78.js} +1 -1
- package/cjs/{types-ff787253.js.map → types-518abc78.js.map} +1 -1
- package/cjs/ui/Accordion.js +3 -3
- package/cjs/ui/AccordionGroup.js +2 -2
- package/cjs/ui/AdminMessage.js +3 -3
- package/cjs/ui/Avatar.js +2 -2
- package/cjs/ui/Badge.js +5 -5
- package/cjs/ui/BottomSheet.js +1 -1
- package/cjs/ui/Button.js +3 -3
- package/cjs/ui/ChannelAvatar.js +3 -3
- package/cjs/ui/ConnectionStatus.js +4 -4
- package/cjs/ui/ContextMenu.js +5 -5
- package/cjs/ui/DateSeparator.js +4 -4
- package/cjs/ui/EmojiReactions.js +7 -7
- package/cjs/ui/FileMessageItemBody.js +6 -6
- package/cjs/ui/FileViewer.js +8 -8
- package/cjs/ui/IconButton.js +1 -1
- package/cjs/ui/ImageRenderer.js +1 -1
- package/cjs/ui/Input.js +2 -2
- package/cjs/ui/Label.js +2 -2
- package/cjs/ui/LinkLabel.js +2 -2
- package/cjs/ui/Loader.js +1 -1
- package/cjs/ui/MentionLabel.js +10 -11
- package/cjs/ui/MentionLabel.js.map +1 -1
- package/cjs/ui/MentionUserLabel.js +1 -1
- package/cjs/ui/MessageContent.js +23 -24
- package/cjs/ui/MessageContent.js.map +1 -1
- package/cjs/ui/MessageInput.js +10 -10
- package/cjs/ui/MessageItemMenu.js +8 -8
- package/cjs/ui/MessageItemReactionMenu.js +5 -5
- package/cjs/ui/MessageSearchFileItem.js +10 -10
- package/cjs/ui/MessageSearchItem.js +9 -9
- package/cjs/ui/MessageStatus.js +10 -10
- package/cjs/ui/Modal.js +7 -7
- package/cjs/ui/OGMessageItemBody.js +10 -11
- package/cjs/ui/OGMessageItemBody.js.map +1 -1
- package/cjs/ui/OpenChannelAdminMessage.js +3 -3
- package/cjs/ui/OpenChannelAvatar.js +6 -6
- package/cjs/ui/OpenchannelConversationHeader.js +6 -6
- package/cjs/ui/OpenchannelFileMessage.js +16 -16
- package/cjs/ui/OpenchannelOGMessage.js +16 -16
- package/cjs/ui/OpenchannelThumbnailMessage.js +15 -15
- package/cjs/ui/OpenchannelUserMessage.js +16 -16
- package/cjs/ui/PlaceHolder.js +6 -6
- package/cjs/ui/PlaybackTime.js +2 -2
- package/cjs/ui/QuoteMessage.js +6 -6
- package/cjs/ui/QuoteMessageInput.js +6 -6
- package/cjs/ui/ReactionBadge.js +3 -3
- package/cjs/ui/ReactionButton.js +1 -1
- package/cjs/ui/SortByRow.js +2 -2
- package/cjs/ui/TextButton.js +2 -2
- package/cjs/ui/TextMessageItemBody.js +10 -11
- package/cjs/ui/TextMessageItemBody.js.map +1 -1
- package/cjs/ui/ThreadReplies.js +6 -6
- package/cjs/ui/ThumbnailMessageItemBody.js +2 -2
- package/cjs/ui/Tooltip.js +3 -3
- package/cjs/ui/TooltipWrapper.js +1 -1
- package/cjs/ui/UnknownMessageItemBody.js +6 -6
- package/cjs/ui/UserListItem.js +10 -11
- package/cjs/ui/UserListItem.js.map +1 -1
- package/cjs/ui/UserProfile.js +9 -10
- package/cjs/ui/UserProfile.js.map +1 -1
- package/cjs/ui/VoiceMessageItemBody.js +7 -6
- package/cjs/ui/VoiceMessageItemBody.js.map +1 -1
- package/cjs/ui/VoiceMessgeInput.js +8 -8
- package/cjs/ui/Word.js +10 -11
- package/cjs/ui/Word.js.map +1 -1
- package/cjs/{useLongPress-37c403d8.js → useLongPress-50b32689.js} +3 -3
- package/cjs/{useLongPress-37c403d8.js.map → useLongPress-50b32689.js.map} +1 -1
- package/cjs/useSendbirdStateContext.js +1 -1
- package/cjs/utils/message/isVoiceMessage.js +2 -2
- package/cjs/{utils-50ff8ad6.js → utils-60cddb64.js} +2 -2
- package/cjs/{utils-50ff8ad6.js.map → utils-60cddb64.js.map} +1 -1
- package/cjs/{utils-9df4cc6c.js → utils-66a05605.js} +1 -1
- package/cjs/{utils-9df4cc6c.js.map → utils-66a05605.js.map} +1 -1
- package/cjs/{utils-afdab4b0.js → utils-81f8670a.js} +1 -1
- package/cjs/{utils-afdab4b0.js.map → utils-81f8670a.js.map} +1 -1
- package/cjs/{utils-9fed7de8.js → utils-e669f1ee.js} +1 -1
- package/cjs/{utils-9fed7de8.js.map → utils-e669f1ee.js.map} +1 -1
- package/cjs/{uuid-f5d1a1fe.js → uuid-cd03215f.js} +1 -1
- package/cjs/{uuid-f5d1a1fe.js.map → uuid-cd03215f.js.map} +1 -1
- package/cjs/withSendbird.js +15 -13
- package/cjs/withSendbird.js.map +1 -1
- package/{color-a450612f.js → color-e4afd956.js} +1 -1
- package/{color-a450612f.js.map → color-e4afd956.js.map} +1 -1
- package/{compareIds-27ab0100.js → compareIds-90b5fdcc.js} +1 -1
- package/{compareIds-27ab0100.js.map → compareIds-90b5fdcc.js.map} +1 -1
- package/{const-2d43b497.js → const-2c43da6a.js} +2 -3
- package/const-2c43da6a.js.map +1 -0
- package/{const-de21a301.js → const-ed6c468d.js} +1 -1
- package/{const-de21a301.js.map → const-ed6c468d.js.map} +1 -1
- package/{consts-cedae35a.js → consts-4cdf8265.js} +8 -5
- package/consts-4cdf8265.js.map +1 -0
- package/{consts-9f2eecf3.js → consts-9c372f2e.js} +1 -1
- package/{consts-9f2eecf3.js.map → consts-9c372f2e.js.map} +1 -1
- package/{context-b7ccbd17.js → context-3da7becc.js} +2 -2
- package/{context-b7ccbd17.js.map → context-3da7becc.js.map} +1 -1
- package/dist/index.css +55 -55
- package/dist/index.css.map +1 -1
- package/{index-58b5008c.js → index-0a265c2c.js} +2 -2
- package/{index-58b5008c.js.map → index-0a265c2c.js.map} +1 -1
- package/{index-4729324a.js → index-2b6d5baa.js} +5 -5
- package/{index-4729324a.js.map → index-2b6d5baa.js.map} +1 -1
- package/{index-eba6c13e.js → index-3c6b00b6.js} +7 -7
- package/{index-eba6c13e.js.map → index-3c6b00b6.js.map} +1 -1
- package/{index-9f08118f.js → index-71682b33.js} +4 -4
- package/{index-9f08118f.js.map → index-71682b33.js.map} +1 -1
- package/{index-a245d213.js → index-7e7649f2.js} +2 -2
- package/{index-a245d213.js.map → index-7e7649f2.js.map} +1 -1
- package/{index-fb9f4d36.js → index-8e2d6bf1.js} +2 -2
- package/{index-fb9f4d36.js.map → index-8e2d6bf1.js.map} +1 -1
- package/{index-d69c6128.js → index-906f26f4.js} +3 -3
- package/{index-d69c6128.js.map → index-906f26f4.js.map} +1 -1
- package/{index-f3ba7696.js → index-9746b9e4.js} +1 -1
- package/{index-f3ba7696.js.map → index-9746b9e4.js.map} +1 -1
- package/{index-ba549e6a.js → index-99e3b057.js} +2 -2
- package/{index-ba549e6a.js.map → index-99e3b057.js.map} +1 -1
- package/{index-e8294858.js → index-b0c02bbc.js} +4 -4
- package/{index-e8294858.js.map → index-b0c02bbc.js.map} +1 -1
- package/{index-533dff7c.js → index-b498f4df.js} +7 -7
- package/{index-533dff7c.js.map → index-b498f4df.js.map} +1 -1
- package/{index-af6e4d1e.js → index-c24fc3d9.js} +1 -1
- package/{index-af6e4d1e.js.map → index-c24fc3d9.js.map} +1 -1
- package/{index-9ee89f7c.js → index-caabeae5.js} +2 -2
- package/{index-9ee89f7c.js.map → index-caabeae5.js.map} +1 -1
- package/{index-5e921f58.js → index-e21d4934.js} +21 -3
- package/index-e21d4934.js.map +1 -0
- package/index.d.ts +1 -2
- package/index.js +45 -46
- package/index.js.map +1 -1
- package/package.json +33 -33
- package/sendbirdSelectors.js +11 -11
- package/sendbirdSelectors.js.map +1 -1
- package/{stringSet-80381462.js → stringSet-8f776451.js} +1 -1
- package/{stringSet-80381462.js.map → stringSet-8f776451.js.map} +1 -1
- package/topics-e27c1d5d.js +16 -0
- package/topics-e27c1d5d.js.map +1 -0
- package/{tslib.es6-33004eb4.js → tslib.es6-c441d88b.js} +1 -1
- package/{tslib.es6-33004eb4.js.map → tslib.es6-c441d88b.js.map} +1 -1
- package/{types-79f3626f.js → types-9069552c.js} +1 -1
- package/{types-79f3626f.js.map → types-9069552c.js.map} +1 -1
- package/ui/Accordion.js +3 -3
- package/ui/AccordionGroup.js +2 -2
- package/ui/AdminMessage.js +3 -3
- package/ui/Avatar.js +2 -2
- package/ui/Badge.js +5 -5
- package/ui/BottomSheet.js +1 -1
- package/ui/Button.js +3 -3
- package/ui/ChannelAvatar.js +3 -3
- package/ui/ConnectionStatus.js +4 -4
- package/ui/ContextMenu.js +5 -5
- package/ui/DateSeparator.js +4 -4
- package/ui/EmojiReactions.js +7 -7
- package/ui/FileMessageItemBody.js +6 -6
- package/ui/FileViewer.js +8 -8
- package/ui/IconButton.js +1 -1
- package/ui/ImageRenderer.js +1 -1
- package/ui/Input.js +2 -2
- package/ui/Label.js +2 -2
- package/ui/LinkLabel.js +2 -2
- package/ui/Loader.js +1 -1
- package/ui/MentionLabel.js +10 -11
- package/ui/MentionLabel.js.map +1 -1
- package/ui/MentionUserLabel.js +1 -1
- package/ui/MessageContent.js +23 -24
- package/ui/MessageContent.js.map +1 -1
- package/ui/MessageInput.js +10 -10
- package/ui/MessageItemMenu.js +8 -8
- package/ui/MessageItemReactionMenu.js +5 -5
- package/ui/MessageSearchFileItem.js +10 -10
- package/ui/MessageSearchItem.js +9 -9
- package/ui/MessageStatus.js +10 -10
- package/ui/Modal.js +7 -7
- package/ui/OGMessageItemBody.js +10 -11
- package/ui/OGMessageItemBody.js.map +1 -1
- package/ui/OpenChannelAdminMessage.js +3 -3
- package/ui/OpenChannelAvatar.js +6 -6
- package/ui/OpenchannelConversationHeader.js +6 -6
- package/ui/OpenchannelFileMessage.js +16 -16
- package/ui/OpenchannelOGMessage.js +16 -16
- package/ui/OpenchannelThumbnailMessage.js +15 -15
- package/ui/OpenchannelUserMessage.js +16 -16
- package/ui/PlaceHolder.js +6 -6
- package/ui/PlaybackTime.js +2 -2
- package/ui/QuoteMessage.js +6 -6
- package/ui/QuoteMessageInput.js +6 -6
- package/ui/ReactionBadge.js +3 -3
- package/ui/ReactionButton.js +1 -1
- package/ui/SortByRow.js +2 -2
- package/ui/TextButton.js +2 -2
- package/ui/TextMessageItemBody.js +10 -11
- package/ui/TextMessageItemBody.js.map +1 -1
- package/ui/ThreadReplies.js +6 -6
- package/ui/ThumbnailMessageItemBody.js +2 -2
- package/ui/Tooltip.js +3 -3
- package/ui/TooltipWrapper.js +1 -1
- package/ui/UnknownMessageItemBody.js +6 -6
- package/ui/UserListItem.js +10 -11
- package/ui/UserListItem.js.map +1 -1
- package/ui/UserProfile.js +9 -10
- package/ui/UserProfile.js.map +1 -1
- package/ui/VoiceMessageItemBody.js +7 -6
- package/ui/VoiceMessageItemBody.js.map +1 -1
- package/ui/VoiceMessgeInput.js +8 -8
- package/ui/Word.js +10 -11
- package/ui/Word.js.map +1 -1
- package/{useLongPress-562f0826.js → useLongPress-c46971c4.js} +3 -3
- package/{useLongPress-562f0826.js.map → useLongPress-c46971c4.js.map} +1 -1
- package/useSendbirdStateContext.js +1 -1
- package/utils/message/isVoiceMessage.js +2 -2
- package/{utils-4e5389df.js → utils-0f335ebc.js} +1 -1
- package/{utils-4e5389df.js.map → utils-0f335ebc.js.map} +1 -1
- package/{utils-8fa2a634.js → utils-51f19122.js} +2 -2
- package/{utils-8fa2a634.js.map → utils-51f19122.js.map} +1 -1
- package/{utils-b84d9295.js → utils-cd7aab7a.js} +1 -1
- package/{utils-b84d9295.js.map → utils-cd7aab7a.js.map} +1 -1
- package/{utils-3eee4302.js → utils-ce528957.js} +1 -1
- package/{utils-3eee4302.js.map → utils-ce528957.js.map} +1 -1
- package/{uuid-7397f1ec.js → uuid-e3615ce2.js} +1 -1
- package/{uuid-7397f1ec.js.map → uuid-e3615ce2.js.map} +1 -1
- package/withSendbird.js +15 -13
- package/withSendbird.js.map +1 -1
- package/.size-snapshot.json +0 -9696
- package/ChannelListProvider-74d39ce5.js.map +0 -1
- package/ChannelProvider-7b83d4fd.js.map +0 -1
- package/OpenChannelListProvider-2685f3d5.js.map +0 -1
- package/OpenChannelProvider-9bd64275.js.map +0 -1
- package/ThreadProvider-daedc3df.js.map +0 -1
- package/VoiceMessageInputWrapper-f65cc3ae.js.map +0 -1
- package/_rollupPluginBabelHelpers-38fb8170.js.map +0 -1
- package/cjs/ChannelListProvider-4cf41348.js.map +0 -1
- package/cjs/ChannelProvider-af11f0e6.js.map +0 -1
- package/cjs/OpenChannelListProvider-aa38b9f3.js.map +0 -1
- package/cjs/OpenChannelProvider-689e3690.js.map +0 -1
- package/cjs/ThreadProvider-03fb5452.js.map +0 -1
- package/cjs/VoiceMessageInputWrapper-b00f09e0.js.map +0 -1
- package/cjs/_rollupPluginBabelHelpers-6bd3ed3b.js.map +0 -1
- package/cjs/const-b8ef9240.js.map +0 -1
- package/cjs/consts-0e64ad01.js.map +0 -1
- package/cjs/index-f2e27f6a.js.map +0 -1
- package/cjs/lame.all.js +0 -2541
- package/cjs/lame.all.js.map +0 -1
- package/cjs/topics-33dacb94.js +0 -22
- package/cjs/topics-33dacb94.js.map +0 -1
- package/const-2d43b497.js.map +0 -1
- package/consts-cedae35a.js.map +0 -1
- package/index-5e921f58.js.map +0 -1
- package/lame.all.js +0 -2537
- package/lame.all.js.map +0 -1
- package/topics-aa4d9dac.js +0 -13
- package/topics-aa4d9dac.js.map +0 -1
|
@@ -3,40 +3,40 @@ import IconButton from '../../ui/IconButton.js';
|
|
|
3
3
|
import Icon, { IconTypes, IconColors } from '../../ui/Icon.js';
|
|
4
4
|
import CreateChannel from '../../CreateChannel.js';
|
|
5
5
|
import useSendbirdStateContext from '../../useSendbirdStateContext.js';
|
|
6
|
-
import { u as useChannelListContext } from '../../ChannelListProvider-
|
|
7
|
-
import '../../tslib.es6-
|
|
6
|
+
import { u as useChannelListContext } from '../../ChannelListProvider-02be684a.js';
|
|
7
|
+
import '../../tslib.es6-c441d88b.js';
|
|
8
8
|
import 'prop-types';
|
|
9
9
|
import '../../CreateChannel/components/CreateChannelUI.js';
|
|
10
|
-
import '../../CreateChannelProvider-
|
|
10
|
+
import '../../CreateChannelProvider-33fa0e76.js';
|
|
11
11
|
import '../../sendbirdSelectors.js';
|
|
12
|
-
import '../../topics-
|
|
13
|
-
import '../../utils-
|
|
12
|
+
import '../../topics-e27c1d5d.js';
|
|
13
|
+
import '../../utils-cd7aab7a.js';
|
|
14
14
|
import '../../CreateChannel/components/InviteUsers.js';
|
|
15
|
-
import '../../LocalizationContext-
|
|
16
|
-
import '../../stringSet-
|
|
17
|
-
import '../../index-
|
|
15
|
+
import '../../LocalizationContext-21c445a7.js';
|
|
16
|
+
import '../../stringSet-8f776451.js';
|
|
17
|
+
import '../../index-9746b9e4.js';
|
|
18
18
|
import '../../ui/Modal.js';
|
|
19
19
|
import 'react-dom';
|
|
20
|
-
import '../../index-
|
|
20
|
+
import '../../index-c24fc3d9.js';
|
|
21
21
|
import '../../ui/Button.js';
|
|
22
|
-
import '../../index-
|
|
23
|
-
import '../../MediaQueryContext-
|
|
22
|
+
import '../../index-99e3b057.js';
|
|
23
|
+
import '../../MediaQueryContext-46321124.js';
|
|
24
24
|
import '../../ui/UserListItem.js';
|
|
25
|
-
import '../../UserProfileContext-
|
|
25
|
+
import '../../UserProfileContext-b722645f.js';
|
|
26
26
|
import '../../ui/Avatar.js';
|
|
27
27
|
import '../../ui/ImageRenderer.js';
|
|
28
|
-
import '../../uuid-
|
|
28
|
+
import '../../uuid-e3615ce2.js';
|
|
29
29
|
import '../../ui/MutedAvatarOverlay.js';
|
|
30
30
|
import '../../ui/Checkbox.js';
|
|
31
31
|
import '../../ui/UserProfile.js';
|
|
32
32
|
import '../../ui/ContextMenu.js';
|
|
33
33
|
import '../../ui/SortByRow.js';
|
|
34
|
-
import '../../index-
|
|
34
|
+
import '../../index-0a265c2c.js';
|
|
35
35
|
import '../../utils/message/getOutgoingMessageState.js';
|
|
36
36
|
import '../../CreateChannel/components/SelectChannelType.js';
|
|
37
37
|
import '../../withSendbird.js';
|
|
38
|
-
import '../../_rollupPluginBabelHelpers-38fb8170.js';
|
|
39
38
|
import '@sendbird/chat/groupChannel';
|
|
39
|
+
import '../../_rollupPluginBabelHelpers-06a0d79e.js';
|
|
40
40
|
|
|
41
41
|
var AddChannel = function () {
|
|
42
42
|
var _a;
|
|
@@ -1,17 +1,16 @@
|
|
|
1
1
|
import React__default, { useContext } from 'react';
|
|
2
|
-
import { a as LocalizationContext } from '../../LocalizationContext-
|
|
2
|
+
import { a as LocalizationContext } from '../../LocalizationContext-21c445a7.js';
|
|
3
3
|
import useSendbirdStateContext from '../../useSendbirdStateContext.js';
|
|
4
|
-
import { L as Label, a as LabelTypography, b as LabelColors } from '../../index-
|
|
4
|
+
import { L as Label, a as LabelTypography, b as LabelColors } from '../../index-99e3b057.js';
|
|
5
5
|
import Avatar from '../../ui/Avatar.js';
|
|
6
|
-
import '../../stringSet-
|
|
7
|
-
import '../../index-
|
|
6
|
+
import '../../stringSet-8f776451.js';
|
|
7
|
+
import '../../index-9746b9e4.js';
|
|
8
8
|
import '../../withSendbird.js';
|
|
9
|
-
import '../../
|
|
9
|
+
import '../../tslib.es6-c441d88b.js';
|
|
10
10
|
import 'prop-types';
|
|
11
|
-
import '../../tslib.es6-33004eb4.js';
|
|
12
11
|
import '../../ui/ImageRenderer.js';
|
|
13
12
|
import '../../ui/Icon.js';
|
|
14
|
-
import '../../uuid-
|
|
13
|
+
import '../../uuid-e3615ce2.js';
|
|
15
14
|
|
|
16
15
|
var ChannelListHeader = function (_a) {
|
|
17
16
|
var renderHeader = _a.renderHeader,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChannelListHeader.js","sources":["../../../src/smart-components/ChannelList/components/ChannelListHeader/index.tsx"],"sourcesContent":["import React, { useContext } from 'react';\n\nimport { LocalizationContext } from '../../../../lib/LocalizationContext';\nimport useSendbirdStateContext from '../../../../hooks/useSendbirdStateContext';\nimport Label, { LabelTypography, LabelColors } from '../../../../ui/Label';\n\nimport './index.scss';\nimport Avatar from '../../../../ui/Avatar';\n\ninterface ChannelListHeaderInterface {\n renderHeader?: (props: void) => React.ReactElement;\n renderTitle?: () => React.ReactElement;\n renderIconButton?: (props: void) => React.ReactElement;\n onEdit?: (props: void) => void;\n allowProfileEdit?: boolean;\n}\n\nconst ChannelListHeader: React.FC<ChannelListHeaderInterface> = ({\n renderHeader,\n renderTitle,\n renderIconButton,\n onEdit,\n allowProfileEdit,\n}: ChannelListHeaderInterface) => {\n const { stores, config } = useSendbirdStateContext?.();\n const { user } = stores?.userStore;\n const { logger } = config;\n\n const { stringSet } = useContext(LocalizationContext);\n\n if (renderHeader) {\n logger?.warning('Recomend to use \"renderTitle\" instead of \"renderHeader\". It will be deprecated.');\n }\n // renderTitle should have higher priority\n const titleRenderer = renderHeader || renderTitle;\n\n return (\n <div\n className={[\n 'sendbird-channel-header',\n allowProfileEdit ? 'sendbird-channel-header--allow-edit' : '',\n ].join(' ')}\n >\n {\n titleRenderer?.() || (\n <div\n className=\"sendbird-channel-header__title\"\n role=\"button\"\n onClick={() => { onEdit?.() }}\n onKeyDown={() => { onEdit?.() }}\n tabIndex={0}\n >\n <div className=\"sendbird-channel-header__title__left\">\n <Avatar\n width=\"32px\"\n height=\"32px\"\n src={user.profileUrl}\n alt={user.nickname}\n />\n </div>\n <div className=\"sendbird-channel-header__title__right\">\n <Label\n className=\"sendbird-channel-header__title__right__name\"\n type={LabelTypography.SUBTITLE_2}\n color={LabelColors.ONBACKGROUND_1}\n >\n {user.nickname || stringSet.NO_NAME}\n </Label>\n <Label\n className=\"sendbird-channel-header__title__right__user-id\"\n type={LabelTypography.BODY_2}\n color={LabelColors.ONBACKGROUND_2}\n >\n {user.userId}\n </Label>\n </div>\n </div>\n )\n }\n <div className=\"sendbird-channel-header__right-icon\">\n {renderIconButton?.()}\n </div>\n </div>\n );\n}\n\nexport default ChannelListHeader;\n"],"names":["ChannelListHeader","_a","renderHeader","renderTitle","renderIconButton","onEdit","allowProfileEdit","_b","useSendbirdStateContext","stores","config","user","userStore","logger","stringSet","useContext","LocalizationContext","warning","titleRenderer","React","join","profileUrl","nickname","LabelTypography","SUBTITLE_2","LabelColors","ONBACKGROUND_1","NO_NAME","BODY_2","ONBACKGROUND_2","userId"],"mappings":"
|
|
1
|
+
{"version":3,"file":"ChannelListHeader.js","sources":["../../../src/smart-components/ChannelList/components/ChannelListHeader/index.tsx"],"sourcesContent":["import React, { useContext } from 'react';\n\nimport { LocalizationContext } from '../../../../lib/LocalizationContext';\nimport useSendbirdStateContext from '../../../../hooks/useSendbirdStateContext';\nimport Label, { LabelTypography, LabelColors } from '../../../../ui/Label';\n\nimport './index.scss';\nimport Avatar from '../../../../ui/Avatar';\n\ninterface ChannelListHeaderInterface {\n renderHeader?: (props: void) => React.ReactElement;\n renderTitle?: () => React.ReactElement;\n renderIconButton?: (props: void) => React.ReactElement;\n onEdit?: (props: void) => void;\n allowProfileEdit?: boolean;\n}\n\nconst ChannelListHeader: React.FC<ChannelListHeaderInterface> = ({\n renderHeader,\n renderTitle,\n renderIconButton,\n onEdit,\n allowProfileEdit,\n}: ChannelListHeaderInterface) => {\n const { stores, config } = useSendbirdStateContext?.();\n const { user } = stores?.userStore;\n const { logger } = config;\n\n const { stringSet } = useContext(LocalizationContext);\n\n if (renderHeader) {\n logger?.warning('Recomend to use \"renderTitle\" instead of \"renderHeader\". It will be deprecated.');\n }\n // renderTitle should have higher priority\n const titleRenderer = renderHeader || renderTitle;\n\n return (\n <div\n className={[\n 'sendbird-channel-header',\n allowProfileEdit ? 'sendbird-channel-header--allow-edit' : '',\n ].join(' ')}\n >\n {\n titleRenderer?.() || (\n <div\n className=\"sendbird-channel-header__title\"\n role=\"button\"\n onClick={() => { onEdit?.() }}\n onKeyDown={() => { onEdit?.() }}\n tabIndex={0}\n >\n <div className=\"sendbird-channel-header__title__left\">\n <Avatar\n width=\"32px\"\n height=\"32px\"\n src={user.profileUrl}\n alt={user.nickname}\n />\n </div>\n <div className=\"sendbird-channel-header__title__right\">\n <Label\n className=\"sendbird-channel-header__title__right__name\"\n type={LabelTypography.SUBTITLE_2}\n color={LabelColors.ONBACKGROUND_1}\n >\n {user.nickname || stringSet.NO_NAME}\n </Label>\n <Label\n className=\"sendbird-channel-header__title__right__user-id\"\n type={LabelTypography.BODY_2}\n color={LabelColors.ONBACKGROUND_2}\n >\n {user.userId}\n </Label>\n </div>\n </div>\n )\n }\n <div className=\"sendbird-channel-header__right-icon\">\n {renderIconButton?.()}\n </div>\n </div>\n );\n}\n\nexport default ChannelListHeader;\n"],"names":["ChannelListHeader","_a","renderHeader","renderTitle","renderIconButton","onEdit","allowProfileEdit","_b","useSendbirdStateContext","stores","config","user","userStore","logger","stringSet","useContext","LocalizationContext","warning","titleRenderer","React","join","profileUrl","nickname","LabelTypography","SUBTITLE_2","LabelColors","ONBACKGROUND_1","NO_NAME","BODY_2","ONBACKGROUND_2","userId"],"mappings":";;;;;;;;;;;;;;AAiBA,IAAMA,iBAAiB,GAAyC,UAACC,EAAD,EAMnC;AAL3B,EAAA,IAAAC,YAAY,GAAAD,EAAA,CAAAC,YAAZ;AAAA,MACAC,WAAW,GAAAF,EAAA,CAAAE,WADX;AAAA,MAEAC,gBAAgB,GAAAH,EAAA,CAAAG,gBAFhB;AAAA,MAGAC,MAAM,GAAAJ,EAAA,CAAAI,MAHN;AAAA,MAIAC,gBAAgB,GAAAL,EAAA,CAAAK,gBAJhB,CAAA;;AAMM,EAAA,IAAAC,EAAqB,GAAAC,uBAAuB,KAAvB,IAAA,IAAAA,uBAAuB,KAAvB,KAAA,CAAA,GAAA,KAAA,CAAA,GAAAA,uBAAuB,EAA5C;AAAA,MAAEC,MAAM,GAAAF,EAAA,CAAAE,MAAR;AAAA,MAAUC,MAAM,YAAhB,CAAA;;AACE,EAAA,IAAAC,IAAI,GAAK,CAAAF,MAAM,KAAN,IAAA,IAAAA,MAAM,KAAN,KAAA,CAAA,GAAA,KAAA,CAAA,GAAAA,MAAM,CAAEG,SAAR,EAAiBD,IAA1B,CAAA;AACA,EAAA,IAAAE,MAAM,GAAKH,MAAM,CAAAG,MAAjB,CAAA;AAEA,EAAA,IAAAC,SAAS,GAAKC,UAAU,CAACC,mBAAD,CAAV,UAAd,CAAA;;AAER,EAAA,IAAId,YAAJ,EAAkB;AAChBW,IAAAA,MAAM,KAAA,IAAN,IAAAA,MAAM,KAAN,KAAA,CAAA,GAAA,KAAA,CAAA,GAAAA,MAAM,CAAEI,OAAR,CAAgB,iFAAhB,CAAA,CAAA;AACD,GAT0B;;;AAW3B,EAAA,IAAMC,aAAa,GAAGhB,YAAY,IAAIC,WAAtC,CAAA;EAEA,oBACEgB,cAAA,CAAA,aAAA,CAAA,KAAA,EAAA;AACE,IAAA,SAAS,EAAE,CACT,yBADS,EAETb,gBAAgB,GAAG,qCAAH,GAA2C,EAFlD,CAAA,CAGTc,IAHS,CAGJ,GAHI,CAAA;AADb,GAAA,EAOI,CAAAF,aAAa,KAAA,IAAb,IAAAA,aAAa,KAAA,KAAA,CAAb,GAAa,KAAA,CAAb,GAAAA,aAAa,EAAb,kBACEC,cAAA,CAAA,aAAA,CAAA,KAAA,EAAA;AACE,IAAA,SAAS,EAAC,gCADZ;AAEE,IAAA,IAAI,EAAC,QAFP;AAGE,IAAA,OAAO,EAAE,YAAQ;AAAAd,MAAAA,MAAM,KAAN,IAAA,IAAAA,MAAM,WAAN,SAAA,GAAAA,MAAM,EAAN,CAAA;KAHnB;AAIE,IAAA,SAAS,EAAE,YAAQ;AAAAA,MAAAA,MAAM,KAAN,IAAA,IAAAA,MAAM,WAAN,SAAA,GAAAA,MAAM,EAAN,CAAA;KAJrB;AAKE,IAAA,QAAQ,EAAE,CAAA;GAEV,eAAAc,cAAA,CAAA,aAAA,CAAA,KAAA,EAAA;AAAK,IAAA,SAAS,EAAC,sCAAA;AAAf,GAAA,eACEA,6BAAC,MAAD,EAAA;AACE,IAAA,KAAK,EAAC,MADR;AAEE,IAAA,MAAM,EAAC,MAFT;IAGE,GAAG,EAAER,IAAI,CAACU,UAHZ;IAIE,GAAG,EAAEV,IAAI,CAACW,QAAAA;AAJZ,GAAA,CADF,CAPF,eAeEH,cAAA,CAAA,aAAA,CAAA,KAAA,EAAA;AAAK,IAAA,SAAS,EAAC,uCAAA;AAAf,GAAA,eACEA,6BAAC,KAAD,EAAA;AACE,IAAA,SAAS,EAAC,6CADZ;IAEE,IAAI,EAAEI,eAAe,CAACC,UAFxB;IAGE,KAAK,EAAEC,WAAW,CAACC,cAAAA;GAElBf,EAAAA,IAAI,CAACW,QAAL,IAAiBR,SAAS,CAACa,OAL9B,CADF,eAQER,cAAA,CAAA,aAAA,CAAC,KAAD,EAAA;AACE,IAAA,SAAS,EAAC,gDADZ;IAEE,IAAI,EAAEI,eAAe,CAACK,MAFxB;IAGE,KAAK,EAAEH,WAAW,CAACI,cAAAA;AAHrB,GAAA,EAKGlB,IAAI,CAACmB,MALR,CARF,CAfF,CARN,eA0CEX,cAAA,CAAA,aAAA,CAAA,KAAA,EAAA;AAAK,IAAA,SAAS,EAAC,qCAAA;AAAf,GAAA,EACGf,gBAAgB,KAAhB,IAAA,IAAAA,gBAAgB,KAAhB,KAAA,CAAA,GAAA,KAAA,CAAA,GAAAA,gBAAgB,EADnB,CA1CF,CADF,CAAA;AAgDD;;;;"}
|
|
@@ -3,69 +3,69 @@ import ChannelListHeader from './ChannelListHeader.js';
|
|
|
3
3
|
import { AddChannel } from './AddChannel.js';
|
|
4
4
|
import ChannelPreview from './ChannelPreview.js';
|
|
5
5
|
import ChannelPreviewAction from './ChannelPreviewAction.js';
|
|
6
|
-
import { u as useChannelListContext, F as FETCH_CHANNELS_START, a as FETCH_CHANNELS_SUCCESS, b as FETCH_CHANNELS_FAILURE, L as LEAVE_CHANNEL_SUCCESS, S as SET_CURRENT_CHANNEL } from '../../ChannelListProvider-
|
|
6
|
+
import { u as useChannelListContext, F as FETCH_CHANNELS_START, a as FETCH_CHANNELS_SUCCESS, b as FETCH_CHANNELS_FAILURE, L as LEAVE_CHANNEL_SUCCESS, S as SET_CURRENT_CHANNEL } from '../../ChannelListProvider-02be684a.js';
|
|
7
7
|
import useSendbirdStateContext from '../../useSendbirdStateContext.js';
|
|
8
8
|
import EditProfile from '../../EditUserProfile.js';
|
|
9
|
-
import { P as PlaceHolder, a as PlaceHolderTypes } from '../../index-
|
|
10
|
-
import '../../LocalizationContext-
|
|
11
|
-
import '../../stringSet-
|
|
12
|
-
import '../../index-
|
|
13
|
-
import '../../index-
|
|
9
|
+
import { P as PlaceHolder, a as PlaceHolderTypes } from '../../index-b0c02bbc.js';
|
|
10
|
+
import '../../LocalizationContext-21c445a7.js';
|
|
11
|
+
import '../../stringSet-8f776451.js';
|
|
12
|
+
import '../../index-9746b9e4.js';
|
|
13
|
+
import '../../index-99e3b057.js';
|
|
14
14
|
import 'prop-types';
|
|
15
15
|
import '../../ui/Avatar.js';
|
|
16
|
-
import '../../tslib.es6-
|
|
16
|
+
import '../../tslib.es6-c441d88b.js';
|
|
17
17
|
import '../../ui/ImageRenderer.js';
|
|
18
18
|
import '../../ui/Icon.js';
|
|
19
|
-
import '../../uuid-
|
|
19
|
+
import '../../uuid-e3615ce2.js';
|
|
20
20
|
import '../../ui/IconButton.js';
|
|
21
21
|
import '../../CreateChannel.js';
|
|
22
22
|
import '../../CreateChannel/components/CreateChannelUI.js';
|
|
23
|
-
import '../../CreateChannelProvider-
|
|
23
|
+
import '../../CreateChannelProvider-33fa0e76.js';
|
|
24
24
|
import '../../sendbirdSelectors.js';
|
|
25
|
-
import '../../topics-
|
|
26
|
-
import '../../utils-
|
|
25
|
+
import '../../topics-e27c1d5d.js';
|
|
26
|
+
import '../../utils-cd7aab7a.js';
|
|
27
27
|
import '../../CreateChannel/components/InviteUsers.js';
|
|
28
28
|
import '../../ui/Modal.js';
|
|
29
29
|
import 'react-dom';
|
|
30
|
-
import '../../index-
|
|
30
|
+
import '../../index-c24fc3d9.js';
|
|
31
31
|
import '../../ui/Button.js';
|
|
32
|
-
import '../../MediaQueryContext-
|
|
32
|
+
import '../../MediaQueryContext-46321124.js';
|
|
33
33
|
import '../../ui/UserListItem.js';
|
|
34
|
-
import '../../UserProfileContext-
|
|
34
|
+
import '../../UserProfileContext-b722645f.js';
|
|
35
35
|
import '../../ui/MutedAvatarOverlay.js';
|
|
36
36
|
import '../../ui/Checkbox.js';
|
|
37
37
|
import '../../ui/UserProfile.js';
|
|
38
38
|
import '../../ui/ContextMenu.js';
|
|
39
39
|
import '../../ui/SortByRow.js';
|
|
40
|
-
import '../../index-
|
|
40
|
+
import '../../index-0a265c2c.js';
|
|
41
41
|
import '../../utils/message/getOutgoingMessageState.js';
|
|
42
42
|
import '../../CreateChannel/components/SelectChannelType.js';
|
|
43
|
-
import '../../_rollupPluginBabelHelpers-
|
|
43
|
+
import '../../_rollupPluginBabelHelpers-06a0d79e.js';
|
|
44
44
|
import '../../ui/ChannelAvatar.js';
|
|
45
|
-
import '../../utils-
|
|
45
|
+
import '../../utils-0f335ebc.js';
|
|
46
46
|
import '../../ui/Badge.js';
|
|
47
|
-
import '../../index-
|
|
48
|
-
import '../../index-
|
|
47
|
+
import '../../index-3c6b00b6.js';
|
|
48
|
+
import '../../index-caabeae5.js';
|
|
49
49
|
import '../../ui/Loader.js';
|
|
50
|
-
import '../../index-
|
|
51
|
-
import '../../index-
|
|
50
|
+
import '../../index-906f26f4.js';
|
|
51
|
+
import '../../index-8e2d6bf1.js';
|
|
52
52
|
import '../../ui/MentionUserLabel.js';
|
|
53
|
-
import '../../consts-
|
|
53
|
+
import '../../consts-9c372f2e.js';
|
|
54
54
|
import '../../ui/TextButton.js';
|
|
55
|
-
import '../../color-
|
|
55
|
+
import '../../color-e4afd956.js';
|
|
56
56
|
import '../../Channel/components/TypingIndicator.js';
|
|
57
57
|
import '@sendbird/chat/groupChannel';
|
|
58
|
-
import '../../ChannelProvider-
|
|
59
|
-
import '../../compareIds-
|
|
60
|
-
import '../../const-
|
|
58
|
+
import '../../ChannelProvider-fcab0099.js';
|
|
59
|
+
import '../../compareIds-90b5fdcc.js';
|
|
60
|
+
import '../../const-2c43da6a.js';
|
|
61
61
|
import '@sendbird/chat/message';
|
|
62
62
|
import '../../ui/ReactionButton.js';
|
|
63
|
-
import '../../consts-
|
|
64
|
-
import '../../useLongPress-
|
|
63
|
+
import '../../consts-4cdf8265.js';
|
|
64
|
+
import '../../useLongPress-c46971c4.js';
|
|
65
65
|
import '../../withSendbird.js';
|
|
66
|
-
import '../../index-
|
|
66
|
+
import '../../index-2b6d5baa.js';
|
|
67
67
|
import '../../ui/Input.js';
|
|
68
|
-
import '../../actionTypes-
|
|
68
|
+
import '../../actionTypes-77e04912.js';
|
|
69
69
|
|
|
70
70
|
const isAboutSame = (a, b, px) => Math.abs(a - b) <= px;
|
|
71
71
|
|
|
@@ -1,52 +1,52 @@
|
|
|
1
|
-
import { a as _extends } from '../../_rollupPluginBabelHelpers-
|
|
2
|
-
import { _ as __assign } from '../../tslib.es6-
|
|
1
|
+
import { a as _extends } from '../../_rollupPluginBabelHelpers-06a0d79e.js';
|
|
2
|
+
import { _ as __assign } from '../../tslib.es6-c441d88b.js';
|
|
3
3
|
import React__default, { useState } from 'react';
|
|
4
4
|
import ChannelAvatar from '../../ui/ChannelAvatar.js';
|
|
5
5
|
import Badge from '../../ui/Badge.js';
|
|
6
6
|
import Icon, { IconTypes, IconColors } from '../../ui/Icon.js';
|
|
7
|
-
import { L as Label, a as LabelTypography, b as LabelColors } from '../../index-
|
|
8
|
-
import { g as getChannelTitle, a as getTotalMembers, M as MessageStatus, b as getLastMessageCreatedAt, c as getLastMessage, d as getChannelUnreadMessageCount } from '../../index-
|
|
7
|
+
import { L as Label, a as LabelTypography, b as LabelColors } from '../../index-99e3b057.js';
|
|
8
|
+
import { g as getChannelTitle, a as getTotalMembers, M as MessageStatus, b as getLastMessageCreatedAt, c as getLastMessage, d as getChannelUnreadMessageCount } from '../../index-3c6b00b6.js';
|
|
9
9
|
import useSendbirdStateContext from '../../useSendbirdStateContext.js';
|
|
10
|
-
import { u as useLocalization } from '../../LocalizationContext-
|
|
10
|
+
import { u as useLocalization } from '../../LocalizationContext-21c445a7.js';
|
|
11
11
|
import MentionUserLabel from '../../ui/MentionUserLabel.js';
|
|
12
12
|
import Modal from '../../ui/Modal.js';
|
|
13
13
|
import TextButton from '../../ui/TextButton.js';
|
|
14
|
-
import { u as useChannelListContext } from '../../ChannelListProvider-
|
|
14
|
+
import { u as useChannelListContext } from '../../ChannelListProvider-02be684a.js';
|
|
15
15
|
import { TypingIndicatorText } from '../../Channel/components/TypingIndicator.js';
|
|
16
|
-
import { d as isVoiceMessage, e as isEditedMessage } from '../../index-
|
|
17
|
-
import { u as useMediaQueryContext } from '../../MediaQueryContext-
|
|
18
|
-
import { u as useLongPress } from '../../useLongPress-
|
|
16
|
+
import { d as isVoiceMessage, e as isEditedMessage } from '../../index-0a265c2c.js';
|
|
17
|
+
import { u as useMediaQueryContext } from '../../MediaQueryContext-46321124.js';
|
|
18
|
+
import { u as useLongPress } from '../../useLongPress-c46971c4.js';
|
|
19
19
|
import '../../ui/Avatar.js';
|
|
20
20
|
import '../../ui/ImageRenderer.js';
|
|
21
|
-
import '../../uuid-
|
|
22
|
-
import '../../utils-
|
|
21
|
+
import '../../uuid-e3615ce2.js';
|
|
22
|
+
import '../../utils-0f335ebc.js';
|
|
23
23
|
import 'prop-types';
|
|
24
|
-
import '../../stringSet-
|
|
25
|
-
import '../../index-
|
|
26
|
-
import '../../index-
|
|
24
|
+
import '../../stringSet-8f776451.js';
|
|
25
|
+
import '../../index-caabeae5.js';
|
|
26
|
+
import '../../index-9746b9e4.js';
|
|
27
27
|
import '../../ui/Loader.js';
|
|
28
28
|
import '../../utils/message/getOutgoingMessageState.js';
|
|
29
|
-
import '../../index-
|
|
30
|
-
import '../../index-
|
|
29
|
+
import '../../index-906f26f4.js';
|
|
30
|
+
import '../../index-8e2d6bf1.js';
|
|
31
31
|
import '../../withSendbird.js';
|
|
32
|
-
import '../../consts-
|
|
32
|
+
import '../../consts-9c372f2e.js';
|
|
33
33
|
import 'react-dom';
|
|
34
|
-
import '../../index-
|
|
34
|
+
import '../../index-c24fc3d9.js';
|
|
35
35
|
import '../../ui/Button.js';
|
|
36
36
|
import '../../ui/IconButton.js';
|
|
37
|
-
import '../../color-
|
|
37
|
+
import '../../color-e4afd956.js';
|
|
38
38
|
import '@sendbird/chat/groupChannel';
|
|
39
|
-
import '../../topics-
|
|
40
|
-
import '../../utils-
|
|
41
|
-
import '../../UserProfileContext-
|
|
42
|
-
import '../../ChannelProvider-
|
|
43
|
-
import '../../compareIds-
|
|
44
|
-
import '../../const-
|
|
39
|
+
import '../../topics-e27c1d5d.js';
|
|
40
|
+
import '../../utils-cd7aab7a.js';
|
|
41
|
+
import '../../UserProfileContext-b722645f.js';
|
|
42
|
+
import '../../ChannelProvider-fcab0099.js';
|
|
43
|
+
import '../../compareIds-90b5fdcc.js';
|
|
44
|
+
import '../../const-2c43da6a.js';
|
|
45
45
|
import '@sendbird/chat/message';
|
|
46
46
|
import '../../ui/ContextMenu.js';
|
|
47
47
|
import '../../ui/SortByRow.js';
|
|
48
48
|
import '../../ui/ReactionButton.js';
|
|
49
|
-
import '../../consts-
|
|
49
|
+
import '../../consts-4cdf8265.js';
|
|
50
50
|
|
|
51
51
|
var ChannelPreview = function (_a) {
|
|
52
52
|
var _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import React__default, { useRef, useState, useContext } from 'react';
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
|
-
import { u as useLocalization, a as LocalizationContext } from '../../LocalizationContext-
|
|
3
|
+
import { u as useLocalization, a as LocalizationContext } from '../../LocalizationContext-21c445a7.js';
|
|
4
4
|
import ContextMenu, { MenuItems, MenuItem } from '../../ui/ContextMenu.js';
|
|
5
5
|
import IconButton from '../../ui/IconButton.js';
|
|
6
6
|
import Icon, { IconTypes, IconColors } from '../../ui/Icon.js';
|
|
7
7
|
import useSendbirdStateContext from '../../useSendbirdStateContext.js';
|
|
8
|
-
import { n as noop } from '../../utils-
|
|
8
|
+
import { n as noop } from '../../utils-cd7aab7a.js';
|
|
9
9
|
import Modal from '../../ui/Modal.js';
|
|
10
|
-
import { u as useChannelListContext } from '../../ChannelListProvider-
|
|
11
|
-
import '../../stringSet-
|
|
12
|
-
import '../../index-
|
|
13
|
-
import '../../tslib.es6-
|
|
10
|
+
import { u as useChannelListContext } from '../../ChannelListProvider-02be684a.js';
|
|
11
|
+
import '../../stringSet-8f776451.js';
|
|
12
|
+
import '../../index-9746b9e4.js';
|
|
13
|
+
import '../../tslib.es6-c441d88b.js';
|
|
14
14
|
import 'react-dom';
|
|
15
15
|
import '../../ui/SortByRow.js';
|
|
16
|
-
import '../../uuid-
|
|
17
|
-
import '../../index-
|
|
16
|
+
import '../../uuid-e3615ce2.js';
|
|
17
|
+
import '../../index-0a265c2c.js';
|
|
18
18
|
import '../../utils/message/getOutgoingMessageState.js';
|
|
19
|
-
import '../../index-
|
|
19
|
+
import '../../index-99e3b057.js';
|
|
20
20
|
import '../../withSendbird.js';
|
|
21
|
-
import '../../
|
|
22
|
-
import '../../index-af6e4d1e.js';
|
|
21
|
+
import '../../index-c24fc3d9.js';
|
|
23
22
|
import '../../ui/Button.js';
|
|
24
|
-
import '../../MediaQueryContext-
|
|
23
|
+
import '../../MediaQueryContext-46321124.js';
|
|
25
24
|
import '@sendbird/chat/groupChannel';
|
|
26
|
-
import '../../topics-
|
|
27
|
-
import '../../UserProfileContext-
|
|
25
|
+
import '../../topics-e27c1d5d.js';
|
|
26
|
+
import '../../UserProfileContext-b722645f.js';
|
|
27
|
+
import '../../_rollupPluginBabelHelpers-06a0d79e.js';
|
|
28
28
|
|
|
29
29
|
var LeaveChannel = function (props) {
|
|
30
30
|
var _a, _b, _c;
|
package/ChannelList/context.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import '../tslib.es6-
|
|
1
|
+
import '../tslib.es6-c441d88b.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import '@sendbird/chat/groupChannel';
|
|
4
|
-
export { C as ChannelListProvider, u as useChannelListContext } from '../ChannelListProvider-
|
|
5
|
-
import '../uuid-
|
|
6
|
-
import '../utils-
|
|
7
|
-
import '../UserProfileContext-
|
|
4
|
+
export { C as ChannelListProvider, u as useChannelListContext } from '../ChannelListProvider-02be684a.js';
|
|
5
|
+
import '../uuid-e3615ce2.js';
|
|
6
|
+
import '../utils-cd7aab7a.js';
|
|
7
|
+
import '../UserProfileContext-b722645f.js';
|
|
8
8
|
import '../useSendbirdStateContext.js';
|
|
9
|
-
import '../topics-
|
|
10
|
-
import '../_rollupPluginBabelHelpers-
|
|
11
|
-
import '../index-
|
|
9
|
+
import '../topics-e27c1d5d.js';
|
|
10
|
+
import '../_rollupPluginBabelHelpers-06a0d79e.js';
|
|
11
|
+
import '../index-0a265c2c.js';
|
|
12
12
|
import '../utils/message/getOutgoingMessageState.js';
|
|
13
13
|
import 'prop-types';
|
|
14
14
|
import '../withSendbird.js';
|
package/ChannelList.js
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
|
-
import { C as ChannelListProvider } from './ChannelListProvider-
|
|
2
|
+
import { C as ChannelListProvider } from './ChannelListProvider-02be684a.js';
|
|
3
3
|
import ChannelListUI from './ChannelList/components/ChannelListUI.js';
|
|
4
|
-
import './tslib.es6-
|
|
4
|
+
import './tslib.es6-c441d88b.js';
|
|
5
5
|
import '@sendbird/chat/groupChannel';
|
|
6
|
-
import './topics-
|
|
7
|
-
import './uuid-
|
|
8
|
-
import './utils-
|
|
9
|
-
import './UserProfileContext-
|
|
6
|
+
import './topics-e27c1d5d.js';
|
|
7
|
+
import './uuid-e3615ce2.js';
|
|
8
|
+
import './utils-cd7aab7a.js';
|
|
9
|
+
import './UserProfileContext-b722645f.js';
|
|
10
10
|
import 'prop-types';
|
|
11
11
|
import './useSendbirdStateContext.js';
|
|
12
12
|
import './withSendbird.js';
|
|
13
|
-
import './_rollupPluginBabelHelpers-
|
|
14
|
-
import './index-
|
|
13
|
+
import './_rollupPluginBabelHelpers-06a0d79e.js';
|
|
14
|
+
import './index-0a265c2c.js';
|
|
15
15
|
import './utils/message/getOutgoingMessageState.js';
|
|
16
16
|
import './ChannelList/components/ChannelListHeader.js';
|
|
17
|
-
import './LocalizationContext-
|
|
18
|
-
import './stringSet-
|
|
19
|
-
import './index-
|
|
20
|
-
import './index-
|
|
17
|
+
import './LocalizationContext-21c445a7.js';
|
|
18
|
+
import './stringSet-8f776451.js';
|
|
19
|
+
import './index-9746b9e4.js';
|
|
20
|
+
import './index-99e3b057.js';
|
|
21
21
|
import './ui/Avatar.js';
|
|
22
22
|
import './ui/ImageRenderer.js';
|
|
23
23
|
import './ui/Icon.js';
|
|
@@ -25,14 +25,14 @@ import './ChannelList/components/AddChannel.js';
|
|
|
25
25
|
import './ui/IconButton.js';
|
|
26
26
|
import './CreateChannel.js';
|
|
27
27
|
import './CreateChannel/components/CreateChannelUI.js';
|
|
28
|
-
import './CreateChannelProvider-
|
|
28
|
+
import './CreateChannelProvider-33fa0e76.js';
|
|
29
29
|
import './sendbirdSelectors.js';
|
|
30
30
|
import './CreateChannel/components/InviteUsers.js';
|
|
31
31
|
import './ui/Modal.js';
|
|
32
32
|
import 'react-dom';
|
|
33
|
-
import './index-
|
|
33
|
+
import './index-c24fc3d9.js';
|
|
34
34
|
import './ui/Button.js';
|
|
35
|
-
import './MediaQueryContext-
|
|
35
|
+
import './MediaQueryContext-46321124.js';
|
|
36
36
|
import './ui/UserListItem.js';
|
|
37
37
|
import './ui/MutedAvatarOverlay.js';
|
|
38
38
|
import './ui/Checkbox.js';
|
|
@@ -42,31 +42,31 @@ import './ui/SortByRow.js';
|
|
|
42
42
|
import './CreateChannel/components/SelectChannelType.js';
|
|
43
43
|
import './ChannelList/components/ChannelPreview.js';
|
|
44
44
|
import './ui/ChannelAvatar.js';
|
|
45
|
-
import './utils-
|
|
45
|
+
import './utils-0f335ebc.js';
|
|
46
46
|
import './ui/Badge.js';
|
|
47
|
-
import './index-
|
|
48
|
-
import './index-
|
|
47
|
+
import './index-3c6b00b6.js';
|
|
48
|
+
import './index-caabeae5.js';
|
|
49
49
|
import './ui/Loader.js';
|
|
50
|
-
import './index-
|
|
51
|
-
import './index-
|
|
50
|
+
import './index-906f26f4.js';
|
|
51
|
+
import './index-8e2d6bf1.js';
|
|
52
52
|
import './ui/MentionUserLabel.js';
|
|
53
|
-
import './consts-
|
|
53
|
+
import './consts-9c372f2e.js';
|
|
54
54
|
import './ui/TextButton.js';
|
|
55
|
-
import './color-
|
|
55
|
+
import './color-e4afd956.js';
|
|
56
56
|
import './Channel/components/TypingIndicator.js';
|
|
57
|
-
import './ChannelProvider-
|
|
58
|
-
import './compareIds-
|
|
59
|
-
import './const-
|
|
57
|
+
import './ChannelProvider-fcab0099.js';
|
|
58
|
+
import './compareIds-90b5fdcc.js';
|
|
59
|
+
import './const-2c43da6a.js';
|
|
60
60
|
import '@sendbird/chat/message';
|
|
61
61
|
import './ui/ReactionButton.js';
|
|
62
|
-
import './consts-
|
|
63
|
-
import './useLongPress-
|
|
62
|
+
import './consts-4cdf8265.js';
|
|
63
|
+
import './useLongPress-c46971c4.js';
|
|
64
64
|
import './ChannelList/components/ChannelPreviewAction.js';
|
|
65
65
|
import './EditUserProfile.js';
|
|
66
|
-
import './index-
|
|
66
|
+
import './index-2b6d5baa.js';
|
|
67
67
|
import './ui/Input.js';
|
|
68
|
-
import './actionTypes-
|
|
69
|
-
import './index-
|
|
68
|
+
import './actionTypes-77e04912.js';
|
|
69
|
+
import './index-b0c02bbc.js';
|
|
70
70
|
|
|
71
71
|
var ChannelList = function (props) {
|
|
72
72
|
return /*#__PURE__*/React__default.createElement(ChannelListProvider, {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { a as __spreadArray, _ as __assign } from './tslib.es6-
|
|
1
|
+
import { a as __spreadArray, _ as __assign } from './tslib.es6-c441d88b.js';
|
|
2
2
|
import React__default, { useEffect, useReducer, useState, useMemo, useContext } from 'react';
|
|
3
3
|
import { GroupChannelHandler } from '@sendbird/chat/groupChannel';
|
|
4
|
-
import {
|
|
5
|
-
import { u as uuidv4 } from './uuid-
|
|
6
|
-
import { n as noop } from './utils-
|
|
7
|
-
import { U as UserProfileProvider } from './UserProfileContext-
|
|
4
|
+
import { P as PUBSUB_TOPICS } from './topics-e27c1d5d.js';
|
|
5
|
+
import { u as uuidv4 } from './uuid-e3615ce2.js';
|
|
6
|
+
import { n as noop } from './utils-cd7aab7a.js';
|
|
7
|
+
import { U as UserProfileProvider } from './UserProfileContext-b722645f.js';
|
|
8
8
|
import useSendbirdStateContext from './useSendbirdStateContext.js';
|
|
9
|
-
import { _ as _objectSpread2 } from './_rollupPluginBabelHelpers-
|
|
10
|
-
import { f as filterChannelListParams, g as getChannelsWithUpsertedChannel } from './index-
|
|
9
|
+
import { _ as _objectSpread2 } from './_rollupPluginBabelHelpers-06a0d79e.js';
|
|
10
|
+
import { f as filterChannelListParams, g as getChannelsWithUpsertedChannel } from './index-0a265c2c.js';
|
|
11
11
|
|
|
12
12
|
const RESET_CHANNEL_LIST = 'RESET_CHANNEL_LIST';
|
|
13
13
|
const CREATE_CHANNEL = 'CREATE_CHANNEL';
|
|
@@ -309,7 +309,7 @@ const pubSubHandleRemover = subscriber => {
|
|
|
309
309
|
const pubSubHandler = (pubSub, channelListDispatcher) => {
|
|
310
310
|
const subscriber = new Map();
|
|
311
311
|
if (!pubSub) return subscriber;
|
|
312
|
-
subscriber.set(CREATE_CHANNEL
|
|
312
|
+
subscriber.set(PUBSUB_TOPICS.CREATE_CHANNEL, pubSub.subscribe(PUBSUB_TOPICS.CREATE_CHANNEL, msg => {
|
|
313
313
|
const {
|
|
314
314
|
channel
|
|
315
315
|
} = msg;
|
|
@@ -318,7 +318,7 @@ const pubSubHandler = (pubSub, channelListDispatcher) => {
|
|
|
318
318
|
payload: channel
|
|
319
319
|
});
|
|
320
320
|
}));
|
|
321
|
-
subscriber.set(UPDATE_USER_MESSAGE, pubSub.subscribe(UPDATE_USER_MESSAGE, msg => {
|
|
321
|
+
subscriber.set(PUBSUB_TOPICS.UPDATE_USER_MESSAGE, pubSub.subscribe(PUBSUB_TOPICS.UPDATE_USER_MESSAGE, msg => {
|
|
322
322
|
var _updatedChannel$lastM;
|
|
323
323
|
|
|
324
324
|
const {
|
|
@@ -338,7 +338,7 @@ const pubSubHandler = (pubSub, channelListDispatcher) => {
|
|
|
338
338
|
});
|
|
339
339
|
}
|
|
340
340
|
}));
|
|
341
|
-
subscriber.set(LEAVE_CHANNEL, pubSub.subscribe(LEAVE_CHANNEL, msg => {
|
|
341
|
+
subscriber.set(PUBSUB_TOPICS.LEAVE_CHANNEL, pubSub.subscribe(PUBSUB_TOPICS.LEAVE_CHANNEL, msg => {
|
|
342
342
|
const {
|
|
343
343
|
channel
|
|
344
344
|
} = msg;
|
|
@@ -347,7 +347,7 @@ const pubSubHandler = (pubSub, channelListDispatcher) => {
|
|
|
347
347
|
payload: channel === null || channel === void 0 ? void 0 : channel.url
|
|
348
348
|
});
|
|
349
349
|
}));
|
|
350
|
-
subscriber.set(SEND_MESSAGE_START, pubSub.subscribe(SEND_MESSAGE_START, msg => {
|
|
350
|
+
subscriber.set(PUBSUB_TOPICS.SEND_MESSAGE_START, pubSub.subscribe(PUBSUB_TOPICS.SEND_MESSAGE_START, msg => {
|
|
351
351
|
const {
|
|
352
352
|
channel
|
|
353
353
|
} = msg;
|
|
@@ -1071,4 +1071,4 @@ function useChannelListContext() {
|
|
|
1071
1071
|
}
|
|
1072
1072
|
|
|
1073
1073
|
export { ChannelListProvider as C, FETCH_CHANNELS_START as F, LEAVE_CHANNEL_SUCCESS as L, SET_CURRENT_CHANNEL as S, FETCH_CHANNELS_SUCCESS as a, FETCH_CHANNELS_FAILURE as b, useChannelListContext as u };
|
|
1074
|
-
//# sourceMappingURL=ChannelListProvider-
|
|
1074
|
+
//# sourceMappingURL=ChannelListProvider-02be684a.js.map
|