@sendbird/uikit-react 3.4.3 → 3.4.4-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/App.js +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-d3db5c63.js} +12 -12
- package/ChannelListProvider-d3db5c63.js.map +1 -0
- package/{ChannelProvider-7b83d4fd.js → ChannelProvider-fd4e313f.js} +21 -20
- package/ChannelProvider-fd4e313f.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-1573dc88.js} +1 -1
- package/{CreateChannelProvider-488e930d.js.map → CreateChannelProvider-1573dc88.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-4fbc679d.js} +3 -3
- package/{LocalizationContext-4b25e6bc.js.map → LocalizationContext-4fbc679d.js.map} +1 -1
- package/{MediaQueryContext-29dcaddb.js → MediaQueryContext-96262052.js} +1 -1
- package/{MediaQueryContext-29dcaddb.js.map → MediaQueryContext-96262052.js.map} +1 -1
- package/{MemberList-5cf25437.js → MemberList-3edad420.js} +5 -5
- package/{MemberList-5cf25437.js.map → MemberList-3edad420.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-c41274c2.js} +4 -4
- package/OpenChannelListProvider-c41274c2.js.map +1 -0
- package/{OpenChannelProvider-9bd64275.js → OpenChannelProvider-698975bd.js} +12 -12
- package/OpenChannelProvider-698975bd.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-c0880289.js} +3 -3
- package/{RemoveMessageModal-0182446a.js.map → RemoveMessageModal-c0880289.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-fb0cdceb.js} +46 -29
- package/ThreadProvider-fb0cdceb.js.map +1 -0
- package/{UserProfileContext-2ea97dc1.js → UserProfileContext-08a492ab.js} +1 -1
- package/{UserProfileContext-2ea97dc1.js.map → UserProfileContext-08a492ab.js.map} +1 -1
- package/{VoiceMessageInputWrapper-f65cc3ae.js → VoiceMessageInputWrapper-40e4fea8.js} +12 -8
- package/VoiceMessageInputWrapper-40e4fea8.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-b23d4685.js} +1 -1
- package/_rollupPluginBabelHelpers-b23d4685.js.map +1 -0
- package/{actionTypes-ce60cab6.js → actionTypes-179e71b8.js} +1 -1
- package/{actionTypes-ce60cab6.js.map → actionTypes-179e71b8.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-4453157b.js} +12 -12
- package/cjs/ChannelListProvider-4453157b.js.map +1 -0
- package/cjs/{ChannelProvider-af11f0e6.js → ChannelProvider-af2098e9.js} +21 -20
- package/cjs/ChannelProvider-af2098e9.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-194c7642.js} +1 -1
- package/cjs/{CreateChannelProvider-1241284b.js.map → CreateChannelProvider-194c7642.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-1082110f.js} +3 -3
- package/cjs/{LocalizationContext-d6a49817.js.map → LocalizationContext-1082110f.js.map} +1 -1
- package/cjs/{MediaQueryContext-fe920821.js → MediaQueryContext-f8ce4d27.js} +1 -1
- package/cjs/{MediaQueryContext-fe920821.js.map → MediaQueryContext-f8ce4d27.js.map} +1 -1
- package/cjs/{MemberList-b3c99792.js → MemberList-47b1849f.js} +5 -5
- package/cjs/{MemberList-b3c99792.js.map → MemberList-47b1849f.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-724b2d08.js} +4 -4
- package/cjs/OpenChannelListProvider-724b2d08.js.map +1 -0
- package/cjs/{OpenChannelProvider-689e3690.js → OpenChannelProvider-37f051db.js} +12 -12
- package/cjs/OpenChannelProvider-37f051db.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-22baefe2.js} +3 -3
- package/cjs/{RemoveMessageModal-e454585a.js.map → RemoveMessageModal-22baefe2.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-52c9c70d.js} +46 -29
- package/cjs/ThreadProvider-52c9c70d.js.map +1 -0
- package/cjs/{UserProfileContext-6b73c8c7.js → UserProfileContext-1f8618e0.js} +1 -1
- package/cjs/{UserProfileContext-6b73c8c7.js.map → UserProfileContext-1f8618e0.js.map} +1 -1
- package/cjs/{VoiceMessageInputWrapper-b00f09e0.js → VoiceMessageInputWrapper-e8a59b75.js} +12 -8
- package/cjs/VoiceMessageInputWrapper-e8a59b75.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-818d7e95.js} +1 -1
- package/cjs/_rollupPluginBabelHelpers-818d7e95.js.map +1 -0
- package/cjs/{actionTypes-f0a152e4.js → actionTypes-0a67a40a.js} +1 -1
- package/cjs/{actionTypes-f0a152e4.js.map → actionTypes-0a67a40a.js.map} +1 -1
- package/cjs/{color-273e8911.js → color-d2329a70.js} +1 -1
- package/cjs/{color-273e8911.js.map → color-d2329a70.js.map} +1 -1
- package/cjs/{compareIds-cedb6c39.js → compareIds-ae657885.js} +1 -1
- package/cjs/{compareIds-cedb6c39.js.map → compareIds-ae657885.js.map} +1 -1
- package/cjs/{const-5de4173e.js → const-76d95d9b.js} +1 -1
- package/cjs/{const-5de4173e.js.map → const-76d95d9b.js.map} +1 -1
- package/cjs/{const-b8ef9240.js → const-c1eec493.js} +1 -3
- package/cjs/const-c1eec493.js.map +1 -0
- package/cjs/{consts-0e64ad01.js → consts-22207ff1.js} +8 -4
- package/cjs/consts-22207ff1.js.map +1 -0
- package/cjs/{consts-9d6ed0a6.js → consts-2c20d358.js} +1 -1
- package/cjs/{consts-9d6ed0a6.js.map → consts-2c20d358.js.map} +1 -1
- package/cjs/{context-e0a53b29.js → context-7826d2d3.js} +2 -2
- package/cjs/{context-e0a53b29.js.map → context-7826d2d3.js.map} +1 -1
- package/cjs/dist/index.css +92 -92
- package/cjs/dist/index.css.map +1 -1
- package/cjs/{index-aa5383c4.js → index-100492b5.js} +5 -5
- package/cjs/{index-aa5383c4.js.map → index-100492b5.js.map} +1 -1
- package/cjs/{index-3b0363a8.js → index-1019bf7d.js} +1 -1
- package/cjs/{index-3b0363a8.js.map → index-1019bf7d.js.map} +1 -1
- package/cjs/{index-8aa6d8c9.js → index-40ff1dce.js} +2 -2
- package/cjs/{index-8aa6d8c9.js.map → index-40ff1dce.js.map} +1 -1
- package/cjs/{index-31298927.js → index-45ba7735.js} +2 -2
- package/cjs/{index-31298927.js.map → index-45ba7735.js.map} +1 -1
- package/cjs/{index-25af7767.js → index-7955a554.js} +7 -7
- package/cjs/{index-25af7767.js.map → index-7955a554.js.map} +1 -1
- package/cjs/{index-c810e78c.js → index-97f6350c.js} +1 -1
- package/cjs/{index-c810e78c.js.map → index-97f6350c.js.map} +1 -1
- package/cjs/{index-36be8d44.js → index-aa95b410.js} +4 -4
- package/cjs/{index-36be8d44.js.map → index-aa95b410.js.map} +1 -1
- package/cjs/{index-f0d6f431.js → index-abf3cbfd.js} +7 -7
- package/cjs/{index-f0d6f431.js.map → index-abf3cbfd.js.map} +1 -1
- package/cjs/{index-197e3c5b.js → index-b3488c9f.js} +2 -2
- package/cjs/{index-197e3c5b.js.map → index-b3488c9f.js.map} +1 -1
- package/cjs/{index-684be350.js → index-b803e77c.js} +3 -3
- package/cjs/{index-684be350.js.map → index-b803e77c.js.map} +1 -1
- package/cjs/{index-75f8f2cd.js → index-ce519eb3.js} +2 -2
- package/cjs/{index-75f8f2cd.js.map → index-ce519eb3.js.map} +1 -1
- package/cjs/{index-f2e27f6a.js → index-e4356695.js} +21 -3
- package/cjs/index-e4356695.js.map +1 -0
- package/cjs/{index-6ed2df90.js → index-f426f55d.js} +4 -4
- package/cjs/{index-6ed2df90.js.map → index-f426f55d.js.map} +1 -1
- package/cjs/{index-7ba6befd.js → index-fc73474a.js} +2 -2
- package/cjs/{index-7ba6befd.js.map → index-fc73474a.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-2922e280.js} +1 -1
- package/cjs/{stringSet-1e9a4bf2.js.map → stringSet-2922e280.js.map} +1 -1
- package/cjs/topics-4f45210e.js +18 -0
- package/cjs/topics-4f45210e.js.map +1 -0
- package/cjs/{tslib.es6-a674f4e5.js → tslib.es6-5f9a94d3.js} +1 -1
- package/cjs/{tslib.es6-a674f4e5.js.map → tslib.es6-5f9a94d3.js.map} +1 -1
- package/cjs/{types-ff787253.js → types-12f7f462.js} +1 -1
- package/cjs/{types-ff787253.js.map → types-12f7f462.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-7d3a560d.js} +3 -3
- package/cjs/{useLongPress-37c403d8.js.map → useLongPress-7d3a560d.js.map} +1 -1
- package/cjs/useSendbirdStateContext.js +1 -1
- package/cjs/utils/message/isVoiceMessage.js +2 -2
- package/cjs/{utils-50ff8ad6.js → utils-91ce072b.js} +2 -2
- package/cjs/{utils-50ff8ad6.js.map → utils-91ce072b.js.map} +1 -1
- package/cjs/{utils-9df4cc6c.js → utils-966a10b2.js} +1 -1
- package/cjs/{utils-9df4cc6c.js.map → utils-966a10b2.js.map} +1 -1
- package/cjs/{utils-afdab4b0.js → utils-ae312689.js} +1 -1
- package/cjs/{utils-afdab4b0.js.map → utils-ae312689.js.map} +1 -1
- package/cjs/{utils-9fed7de8.js → utils-f30ad5fb.js} +1 -1
- package/cjs/{utils-9fed7de8.js.map → utils-f30ad5fb.js.map} +1 -1
- package/cjs/{uuid-f5d1a1fe.js → uuid-deaedf88.js} +1 -1
- package/cjs/{uuid-f5d1a1fe.js.map → uuid-deaedf88.js.map} +1 -1
- package/cjs/withSendbird.js +15 -13
- package/cjs/withSendbird.js.map +1 -1
- package/{color-a450612f.js → color-a8e8431b.js} +1 -1
- package/{color-a450612f.js.map → color-a8e8431b.js.map} +1 -1
- package/{compareIds-27ab0100.js → compareIds-1e83739b.js} +1 -1
- package/{compareIds-27ab0100.js.map → compareIds-1e83739b.js.map} +1 -1
- package/{const-2d43b497.js → const-19948b22.js} +2 -3
- package/const-19948b22.js.map +1 -0
- package/{const-de21a301.js → const-89cc643e.js} +1 -1
- package/{const-de21a301.js.map → const-89cc643e.js.map} +1 -1
- package/{consts-9f2eecf3.js → consts-6cda3569.js} +1 -1
- package/{consts-9f2eecf3.js.map → consts-6cda3569.js.map} +1 -1
- package/{consts-cedae35a.js → consts-ebe0485e.js} +8 -5
- package/consts-ebe0485e.js.map +1 -0
- package/{context-b7ccbd17.js → context-ca1665ce.js} +2 -2
- package/{context-b7ccbd17.js.map → context-ca1665ce.js.map} +1 -1
- package/dist/index.css +92 -92
- package/dist/index.css.map +1 -1
- package/{index-4729324a.js → index-059a6706.js} +5 -5
- package/{index-4729324a.js.map → index-059a6706.js.map} +1 -1
- package/{index-eba6c13e.js → index-0b9d1551.js} +7 -7
- package/{index-eba6c13e.js.map → index-0b9d1551.js.map} +1 -1
- package/{index-9ee89f7c.js → index-1fa1e6d0.js} +2 -2
- package/{index-9ee89f7c.js.map → index-1fa1e6d0.js.map} +1 -1
- package/{index-533dff7c.js → index-2643cf19.js} +7 -7
- package/{index-533dff7c.js.map → index-2643cf19.js.map} +1 -1
- package/{index-f3ba7696.js → index-27f0ab65.js} +1 -1
- package/{index-f3ba7696.js.map → index-27f0ab65.js.map} +1 -1
- package/{index-58b5008c.js → index-2dfbf6a2.js} +2 -2
- package/{index-58b5008c.js.map → index-2dfbf6a2.js.map} +1 -1
- package/{index-d69c6128.js → index-328ab4c8.js} +3 -3
- package/{index-d69c6128.js.map → index-328ab4c8.js.map} +1 -1
- package/{index-fb9f4d36.js → index-4732c108.js} +2 -2
- package/{index-fb9f4d36.js.map → index-4732c108.js.map} +1 -1
- package/{index-ba549e6a.js → index-62f648a3.js} +2 -2
- package/{index-ba549e6a.js.map → index-62f648a3.js.map} +1 -1
- package/{index-5e921f58.js → index-64ea2c4d.js} +21 -3
- package/index-64ea2c4d.js.map +1 -0
- package/{index-9f08118f.js → index-a85cb707.js} +4 -4
- package/{index-9f08118f.js.map → index-a85cb707.js.map} +1 -1
- package/{index-e8294858.js → index-b90e1c4f.js} +4 -4
- package/{index-e8294858.js.map → index-b90e1c4f.js.map} +1 -1
- package/{index-a245d213.js → index-e28eedfe.js} +2 -2
- package/{index-a245d213.js.map → index-e28eedfe.js.map} +1 -1
- package/{index-af6e4d1e.js → index-fbd4a0c4.js} +1 -1
- package/{index-af6e4d1e.js.map → index-fbd4a0c4.js.map} +1 -1
- package/index.d.ts +1 -2
- package/index.js +45 -46
- package/index.js.map +1 -1
- package/package.json +32 -33
- package/sendbirdSelectors.js +11 -11
- package/sendbirdSelectors.js.map +1 -1
- package/{stringSet-80381462.js → stringSet-5c7aee85.js} +1 -1
- package/{stringSet-80381462.js.map → stringSet-5c7aee85.js.map} +1 -1
- package/topics-812ef49c.js +16 -0
- package/topics-812ef49c.js.map +1 -0
- package/{tslib.es6-33004eb4.js → tslib.es6-f2e08a44.js} +1 -1
- package/{tslib.es6-33004eb4.js.map → tslib.es6-f2e08a44.js.map} +1 -1
- package/{types-79f3626f.js → types-f3611450.js} +1 -1
- package/{types-79f3626f.js.map → types-f3611450.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-37f6a445.js} +3 -3
- package/{useLongPress-562f0826.js.map → useLongPress-37f6a445.js.map} +1 -1
- package/useSendbirdStateContext.js +1 -1
- package/utils/message/isVoiceMessage.js +2 -2
- package/{utils-3eee4302.js → utils-1c87a0fe.js} +1 -1
- package/{utils-3eee4302.js.map → utils-1c87a0fe.js.map} +1 -1
- package/{utils-4e5389df.js → utils-5403f9b1.js} +1 -1
- package/{utils-4e5389df.js.map → utils-5403f9b1.js.map} +1 -1
- package/{utils-8fa2a634.js → utils-96d6b362.js} +2 -2
- package/{utils-8fa2a634.js.map → utils-96d6b362.js.map} +1 -1
- package/{utils-b84d9295.js → utils-edb71921.js} +1 -1
- package/{utils-b84d9295.js.map → utils-edb71921.js.map} +1 -1
- package/{uuid-7397f1ec.js → uuid-ba6bc915.js} +1 -1
- package/{uuid-7397f1ec.js.map → uuid-ba6bc915.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-d3db5c63.js';
|
|
7
|
+
import '../../tslib.es6-f2e08a44.js';
|
|
8
8
|
import 'prop-types';
|
|
9
9
|
import '../../CreateChannel/components/CreateChannelUI.js';
|
|
10
|
-
import '../../CreateChannelProvider-
|
|
10
|
+
import '../../CreateChannelProvider-1573dc88.js';
|
|
11
11
|
import '../../sendbirdSelectors.js';
|
|
12
|
-
import '../../topics-
|
|
13
|
-
import '../../utils-
|
|
12
|
+
import '../../topics-812ef49c.js';
|
|
13
|
+
import '../../utils-edb71921.js';
|
|
14
14
|
import '../../CreateChannel/components/InviteUsers.js';
|
|
15
|
-
import '../../LocalizationContext-
|
|
16
|
-
import '../../stringSet-
|
|
17
|
-
import '../../index-
|
|
15
|
+
import '../../LocalizationContext-4fbc679d.js';
|
|
16
|
+
import '../../stringSet-5c7aee85.js';
|
|
17
|
+
import '../../index-27f0ab65.js';
|
|
18
18
|
import '../../ui/Modal.js';
|
|
19
19
|
import 'react-dom';
|
|
20
|
-
import '../../index-
|
|
20
|
+
import '../../index-fbd4a0c4.js';
|
|
21
21
|
import '../../ui/Button.js';
|
|
22
|
-
import '../../index-
|
|
23
|
-
import '../../MediaQueryContext-
|
|
22
|
+
import '../../index-62f648a3.js';
|
|
23
|
+
import '../../MediaQueryContext-96262052.js';
|
|
24
24
|
import '../../ui/UserListItem.js';
|
|
25
|
-
import '../../UserProfileContext-
|
|
25
|
+
import '../../UserProfileContext-08a492ab.js';
|
|
26
26
|
import '../../ui/Avatar.js';
|
|
27
27
|
import '../../ui/ImageRenderer.js';
|
|
28
|
-
import '../../uuid-
|
|
28
|
+
import '../../uuid-ba6bc915.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-2dfbf6a2.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-b23d4685.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-4fbc679d.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-62f648a3.js';
|
|
5
5
|
import Avatar from '../../ui/Avatar.js';
|
|
6
|
-
import '../../stringSet-
|
|
7
|
-
import '../../index-
|
|
6
|
+
import '../../stringSet-5c7aee85.js';
|
|
7
|
+
import '../../index-27f0ab65.js';
|
|
8
8
|
import '../../withSendbird.js';
|
|
9
|
-
import '../../
|
|
9
|
+
import '../../tslib.es6-f2e08a44.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-ba6bc915.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-d3db5c63.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-b90e1c4f.js';
|
|
10
|
+
import '../../LocalizationContext-4fbc679d.js';
|
|
11
|
+
import '../../stringSet-5c7aee85.js';
|
|
12
|
+
import '../../index-27f0ab65.js';
|
|
13
|
+
import '../../index-62f648a3.js';
|
|
14
14
|
import 'prop-types';
|
|
15
15
|
import '../../ui/Avatar.js';
|
|
16
|
-
import '../../tslib.es6-
|
|
16
|
+
import '../../tslib.es6-f2e08a44.js';
|
|
17
17
|
import '../../ui/ImageRenderer.js';
|
|
18
18
|
import '../../ui/Icon.js';
|
|
19
|
-
import '../../uuid-
|
|
19
|
+
import '../../uuid-ba6bc915.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-1573dc88.js';
|
|
24
24
|
import '../../sendbirdSelectors.js';
|
|
25
|
-
import '../../topics-
|
|
26
|
-
import '../../utils-
|
|
25
|
+
import '../../topics-812ef49c.js';
|
|
26
|
+
import '../../utils-edb71921.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-fbd4a0c4.js';
|
|
31
31
|
import '../../ui/Button.js';
|
|
32
|
-
import '../../MediaQueryContext-
|
|
32
|
+
import '../../MediaQueryContext-96262052.js';
|
|
33
33
|
import '../../ui/UserListItem.js';
|
|
34
|
-
import '../../UserProfileContext-
|
|
34
|
+
import '../../UserProfileContext-08a492ab.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-2dfbf6a2.js';
|
|
41
41
|
import '../../utils/message/getOutgoingMessageState.js';
|
|
42
42
|
import '../../CreateChannel/components/SelectChannelType.js';
|
|
43
|
-
import '../../_rollupPluginBabelHelpers-
|
|
43
|
+
import '../../_rollupPluginBabelHelpers-b23d4685.js';
|
|
44
44
|
import '../../ui/ChannelAvatar.js';
|
|
45
|
-
import '../../utils-
|
|
45
|
+
import '../../utils-5403f9b1.js';
|
|
46
46
|
import '../../ui/Badge.js';
|
|
47
|
-
import '../../index-
|
|
48
|
-
import '../../index-
|
|
47
|
+
import '../../index-0b9d1551.js';
|
|
48
|
+
import '../../index-1fa1e6d0.js';
|
|
49
49
|
import '../../ui/Loader.js';
|
|
50
|
-
import '../../index-
|
|
51
|
-
import '../../index-
|
|
50
|
+
import '../../index-328ab4c8.js';
|
|
51
|
+
import '../../index-4732c108.js';
|
|
52
52
|
import '../../ui/MentionUserLabel.js';
|
|
53
|
-
import '../../consts-
|
|
53
|
+
import '../../consts-6cda3569.js';
|
|
54
54
|
import '../../ui/TextButton.js';
|
|
55
|
-
import '../../color-
|
|
55
|
+
import '../../color-a8e8431b.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-fd4e313f.js';
|
|
59
|
+
import '../../compareIds-1e83739b.js';
|
|
60
|
+
import '../../const-19948b22.js';
|
|
61
61
|
import '@sendbird/chat/message';
|
|
62
62
|
import '../../ui/ReactionButton.js';
|
|
63
|
-
import '../../consts-
|
|
64
|
-
import '../../useLongPress-
|
|
63
|
+
import '../../consts-ebe0485e.js';
|
|
64
|
+
import '../../useLongPress-37f6a445.js';
|
|
65
65
|
import '../../withSendbird.js';
|
|
66
|
-
import '../../index-
|
|
66
|
+
import '../../index-059a6706.js';
|
|
67
67
|
import '../../ui/Input.js';
|
|
68
|
-
import '../../actionTypes-
|
|
68
|
+
import '../../actionTypes-179e71b8.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-b23d4685.js';
|
|
2
|
+
import { _ as __assign } from '../../tslib.es6-f2e08a44.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-62f648a3.js';
|
|
8
|
+
import { g as getChannelTitle, a as getTotalMembers, M as MessageStatus, b as getLastMessageCreatedAt, c as getLastMessage, d as getChannelUnreadMessageCount } from '../../index-0b9d1551.js';
|
|
9
9
|
import useSendbirdStateContext from '../../useSendbirdStateContext.js';
|
|
10
|
-
import { u as useLocalization } from '../../LocalizationContext-
|
|
10
|
+
import { u as useLocalization } from '../../LocalizationContext-4fbc679d.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-d3db5c63.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-2dfbf6a2.js';
|
|
17
|
+
import { u as useMediaQueryContext } from '../../MediaQueryContext-96262052.js';
|
|
18
|
+
import { u as useLongPress } from '../../useLongPress-37f6a445.js';
|
|
19
19
|
import '../../ui/Avatar.js';
|
|
20
20
|
import '../../ui/ImageRenderer.js';
|
|
21
|
-
import '../../uuid-
|
|
22
|
-
import '../../utils-
|
|
21
|
+
import '../../uuid-ba6bc915.js';
|
|
22
|
+
import '../../utils-5403f9b1.js';
|
|
23
23
|
import 'prop-types';
|
|
24
|
-
import '../../stringSet-
|
|
25
|
-
import '../../index-
|
|
26
|
-
import '../../index-
|
|
24
|
+
import '../../stringSet-5c7aee85.js';
|
|
25
|
+
import '../../index-1fa1e6d0.js';
|
|
26
|
+
import '../../index-27f0ab65.js';
|
|
27
27
|
import '../../ui/Loader.js';
|
|
28
28
|
import '../../utils/message/getOutgoingMessageState.js';
|
|
29
|
-
import '../../index-
|
|
30
|
-
import '../../index-
|
|
29
|
+
import '../../index-328ab4c8.js';
|
|
30
|
+
import '../../index-4732c108.js';
|
|
31
31
|
import '../../withSendbird.js';
|
|
32
|
-
import '../../consts-
|
|
32
|
+
import '../../consts-6cda3569.js';
|
|
33
33
|
import 'react-dom';
|
|
34
|
-
import '../../index-
|
|
34
|
+
import '../../index-fbd4a0c4.js';
|
|
35
35
|
import '../../ui/Button.js';
|
|
36
36
|
import '../../ui/IconButton.js';
|
|
37
|
-
import '../../color-
|
|
37
|
+
import '../../color-a8e8431b.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-812ef49c.js';
|
|
40
|
+
import '../../utils-edb71921.js';
|
|
41
|
+
import '../../UserProfileContext-08a492ab.js';
|
|
42
|
+
import '../../ChannelProvider-fd4e313f.js';
|
|
43
|
+
import '../../compareIds-1e83739b.js';
|
|
44
|
+
import '../../const-19948b22.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-ebe0485e.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-4fbc679d.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-edb71921.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-d3db5c63.js';
|
|
11
|
+
import '../../stringSet-5c7aee85.js';
|
|
12
|
+
import '../../index-27f0ab65.js';
|
|
13
|
+
import '../../tslib.es6-f2e08a44.js';
|
|
14
14
|
import 'react-dom';
|
|
15
15
|
import '../../ui/SortByRow.js';
|
|
16
|
-
import '../../uuid-
|
|
17
|
-
import '../../index-
|
|
16
|
+
import '../../uuid-ba6bc915.js';
|
|
17
|
+
import '../../index-2dfbf6a2.js';
|
|
18
18
|
import '../../utils/message/getOutgoingMessageState.js';
|
|
19
|
-
import '../../index-
|
|
19
|
+
import '../../index-62f648a3.js';
|
|
20
20
|
import '../../withSendbird.js';
|
|
21
|
-
import '../../
|
|
22
|
-
import '../../index-af6e4d1e.js';
|
|
21
|
+
import '../../index-fbd4a0c4.js';
|
|
23
22
|
import '../../ui/Button.js';
|
|
24
|
-
import '../../MediaQueryContext-
|
|
23
|
+
import '../../MediaQueryContext-96262052.js';
|
|
25
24
|
import '@sendbird/chat/groupChannel';
|
|
26
|
-
import '../../topics-
|
|
27
|
-
import '../../UserProfileContext-
|
|
25
|
+
import '../../topics-812ef49c.js';
|
|
26
|
+
import '../../UserProfileContext-08a492ab.js';
|
|
27
|
+
import '../../_rollupPluginBabelHelpers-b23d4685.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-f2e08a44.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-d3db5c63.js';
|
|
5
|
+
import '../uuid-ba6bc915.js';
|
|
6
|
+
import '../utils-edb71921.js';
|
|
7
|
+
import '../UserProfileContext-08a492ab.js';
|
|
8
8
|
import '../useSendbirdStateContext.js';
|
|
9
|
-
import '../topics-
|
|
10
|
-
import '../_rollupPluginBabelHelpers-
|
|
11
|
-
import '../index-
|
|
9
|
+
import '../topics-812ef49c.js';
|
|
10
|
+
import '../_rollupPluginBabelHelpers-b23d4685.js';
|
|
11
|
+
import '../index-2dfbf6a2.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-d3db5c63.js';
|
|
3
3
|
import ChannelListUI from './ChannelList/components/ChannelListUI.js';
|
|
4
|
-
import './tslib.es6-
|
|
4
|
+
import './tslib.es6-f2e08a44.js';
|
|
5
5
|
import '@sendbird/chat/groupChannel';
|
|
6
|
-
import './topics-
|
|
7
|
-
import './uuid-
|
|
8
|
-
import './utils-
|
|
9
|
-
import './UserProfileContext-
|
|
6
|
+
import './topics-812ef49c.js';
|
|
7
|
+
import './uuid-ba6bc915.js';
|
|
8
|
+
import './utils-edb71921.js';
|
|
9
|
+
import './UserProfileContext-08a492ab.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-b23d4685.js';
|
|
14
|
+
import './index-2dfbf6a2.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-4fbc679d.js';
|
|
18
|
+
import './stringSet-5c7aee85.js';
|
|
19
|
+
import './index-27f0ab65.js';
|
|
20
|
+
import './index-62f648a3.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-1573dc88.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-fbd4a0c4.js';
|
|
34
34
|
import './ui/Button.js';
|
|
35
|
-
import './MediaQueryContext-
|
|
35
|
+
import './MediaQueryContext-96262052.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-5403f9b1.js';
|
|
46
46
|
import './ui/Badge.js';
|
|
47
|
-
import './index-
|
|
48
|
-
import './index-
|
|
47
|
+
import './index-0b9d1551.js';
|
|
48
|
+
import './index-1fa1e6d0.js';
|
|
49
49
|
import './ui/Loader.js';
|
|
50
|
-
import './index-
|
|
51
|
-
import './index-
|
|
50
|
+
import './index-328ab4c8.js';
|
|
51
|
+
import './index-4732c108.js';
|
|
52
52
|
import './ui/MentionUserLabel.js';
|
|
53
|
-
import './consts-
|
|
53
|
+
import './consts-6cda3569.js';
|
|
54
54
|
import './ui/TextButton.js';
|
|
55
|
-
import './color-
|
|
55
|
+
import './color-a8e8431b.js';
|
|
56
56
|
import './Channel/components/TypingIndicator.js';
|
|
57
|
-
import './ChannelProvider-
|
|
58
|
-
import './compareIds-
|
|
59
|
-
import './const-
|
|
57
|
+
import './ChannelProvider-fd4e313f.js';
|
|
58
|
+
import './compareIds-1e83739b.js';
|
|
59
|
+
import './const-19948b22.js';
|
|
60
60
|
import '@sendbird/chat/message';
|
|
61
61
|
import './ui/ReactionButton.js';
|
|
62
|
-
import './consts-
|
|
63
|
-
import './useLongPress-
|
|
62
|
+
import './consts-ebe0485e.js';
|
|
63
|
+
import './useLongPress-37f6a445.js';
|
|
64
64
|
import './ChannelList/components/ChannelPreviewAction.js';
|
|
65
65
|
import './EditUserProfile.js';
|
|
66
|
-
import './index-
|
|
66
|
+
import './index-059a6706.js';
|
|
67
67
|
import './ui/Input.js';
|
|
68
|
-
import './actionTypes-
|
|
69
|
-
import './index-
|
|
68
|
+
import './actionTypes-179e71b8.js';
|
|
69
|
+
import './index-b90e1c4f.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-f2e08a44.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-812ef49c.js';
|
|
5
|
+
import { u as uuidv4 } from './uuid-ba6bc915.js';
|
|
6
|
+
import { n as noop } from './utils-edb71921.js';
|
|
7
|
+
import { U as UserProfileProvider } from './UserProfileContext-08a492ab.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-b23d4685.js';
|
|
10
|
+
import { f as filterChannelListParams, g as getChannelsWithUpsertedChannel } from './index-2dfbf6a2.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-d3db5c63.js.map
|