@sendbird/uikit-react 3.4.0 → 3.4.1-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 +40 -40
- package/CHANGELOG.md +22 -0
- package/Channel/components/ChannelHeader.js +30 -28
- package/Channel/components/ChannelHeader.js.map +1 -1
- package/Channel/components/ChannelUI.js +42 -94
- package/Channel/components/ChannelUI.js.map +1 -1
- package/Channel/components/FileViewer.js +15 -15
- package/Channel/components/FrozenNotification.js +8 -6
- package/Channel/components/FrozenNotification.js.map +1 -1
- package/Channel/components/Message.js +162 -132
- package/Channel/components/Message.js.map +1 -1
- package/Channel/components/MessageInput.js +23 -23
- package/Channel/components/MessageList.js +169 -95
- 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 +14 -17
- package/Channel/components/UnreadCount.js.map +1 -1
- package/Channel/context.js +14 -14
- package/Channel.js +34 -34
- package/ChannelList/components/AddChannel.js +22 -17
- package/ChannelList/components/AddChannel.js.map +1 -1
- package/ChannelList/components/ChannelListHeader.js +7 -7
- package/ChannelList/components/ChannelListUI.js +29 -29
- package/ChannelList/components/ChannelPreview.js +28 -28
- package/ChannelList/components/ChannelPreview.js.map +1 -1
- package/ChannelList/components/ChannelPreviewAction.js +14 -14
- package/ChannelList/context.js +8 -8
- package/ChannelList.js +29 -29
- package/{ChannelListProvider-442bea80.js → ChannelListProvider-9f51ca7a.js} +8 -8
- package/{ChannelListProvider-442bea80.js.map → ChannelListProvider-9f51ca7a.js.map} +1 -1
- package/{ChannelProvider-43d68897.js → ChannelProvider-19d75ee9.js} +13 -12
- package/ChannelProvider-19d75ee9.js.map +1 -0
- package/ChannelSettings/components/ChannelProfile.js +12 -12
- package/ChannelSettings/components/ChannelSettingsUI.js +18 -18
- package/ChannelSettings/components/EditDetailsModal.js +12 -12
- package/ChannelSettings/components/LeaveChannel.js +12 -12
- package/ChannelSettings/components/ModerationPanel.js +15 -15
- package/ChannelSettings/components/UserListItem.js +11 -11
- package/ChannelSettings/components/UserPanel.js +14 -14
- package/ChannelSettings/context.js +3 -3
- package/ChannelSettings.js +18 -18
- package/CreateChannel/components/CreateChannelUI.js +14 -14
- package/CreateChannel/components/InviteUsers.js +14 -14
- package/CreateChannel/components/SelectChannelType.js +11 -11
- package/CreateChannel/context.js +4 -4
- package/CreateChannel.js +14 -14
- package/{CreateChannelProvider-62afdf07.js → CreateChannelProvider-4a26fc5d.js} +1 -1
- package/{CreateChannelProvider-62afdf07.js.map → CreateChannelProvider-4a26fc5d.js.map} +1 -1
- package/CreateOpenChannel/components/CreateOpenChannelUI.js +10 -10
- package/CreateOpenChannel/context.js +1 -1
- package/CreateOpenChannel.js +10 -10
- package/EditUserProfile/components/EditUserProfileUI.js +13 -13
- package/EditUserProfile.js +13 -13
- package/{LocalizationContext-83ddce67.js → LocalizationContext-646420ca.js} +3 -3
- package/{LocalizationContext-83ddce67.js.map → LocalizationContext-646420ca.js.map} +1 -1
- package/{MediaQueryContext-010e9df0.js → MediaQueryContext-1441c35c.js} +1 -1
- package/{MediaQueryContext-010e9df0.js.map → MediaQueryContext-1441c35c.js.map} +1 -1
- package/{MemberList-299e055b.js → MemberList-e1088d7b.js} +5 -5
- package/{MemberList-299e055b.js.map → MemberList-e1088d7b.js.map} +1 -1
- package/MessageSearch/components/MessageSearchUI.js +12 -12
- package/MessageSearch/context.js +2 -2
- package/MessageSearch.js +12 -12
- package/OpenChannel/components/FrozenChannelNotification.js +4 -4
- package/OpenChannel/components/OpenChannelHeader.js +13 -13
- package/OpenChannel/components/OpenChannelInput.js +15 -15
- package/OpenChannel/components/OpenChannelMessage.js +26 -22
- package/OpenChannel/components/OpenChannelMessage.js.map +1 -1
- package/OpenChannel/components/OpenChannelMessageList.js +24 -24
- package/OpenChannel/components/OpenChannelUI.js +24 -24
- package/OpenChannel/context.js +9 -9
- package/OpenChannel.js +24 -24
- package/OpenChannelList/components/OpenChannelListUI.js +13 -13
- package/OpenChannelList/components/OpenChannelPreview.js +4 -4
- package/OpenChannelList/context.js +4 -4
- package/OpenChannelList.js +13 -13
- package/{OpenChannelListProvider-2d811cef.js → OpenChannelListProvider-76b2bc47.js} +3 -3
- package/{OpenChannelListProvider-2d811cef.js.map → OpenChannelListProvider-76b2bc47.js.map} +1 -1
- package/{OpenChannelProvider-7aef2b42.js → OpenChannelProvider-de0549fc.js} +7 -7
- package/{OpenChannelProvider-7aef2b42.js.map → OpenChannelProvider-de0549fc.js.map} +1 -1
- package/OpenChannelSettings/components/EditDetailsModal.js +13 -13
- package/OpenChannelSettings/components/OpenChannelProfile.js +13 -13
- package/OpenChannelSettings/components/OpenChannelSettingsUI.js +18 -18
- package/OpenChannelSettings/components/OperatorUI.js +17 -17
- package/OpenChannelSettings/components/ParticipantUI.js +15 -15
- package/OpenChannelSettings/context.js +3 -3
- package/OpenChannelSettings.js +18 -18
- package/{RemoveMessageModal-1ca08354.js → RemoveMessageModal-c25f1f20.js} +3 -3
- package/{RemoveMessageModal-1ca08354.js.map → RemoveMessageModal-c25f1f20.js.map} +1 -1
- package/SendbirdProvider.js +12 -12
- package/SendbirdProvider.js.map +1 -1
- package/Thread/components/ParentMessageInfo.js +24 -24
- package/Thread/components/ParentMessageInfoItem.js +16 -16
- package/Thread/components/ThreadHeader.js +6 -6
- package/Thread/components/ThreadList.js +27 -27
- package/Thread/components/ThreadListItem.js +39 -38
- package/Thread/components/ThreadListItem.js.map +1 -1
- package/Thread/components/ThreadMessageInput.js +24 -24
- package/Thread/components/ThreadUI.js +31 -31
- package/Thread/context.js +9 -9
- package/Thread.js +31 -31
- package/{ThreadProvider-94605d33.js → ThreadProvider-0ebc9c60.js} +7 -7
- package/{ThreadProvider-94605d33.js.map → ThreadProvider-0ebc9c60.js.map} +1 -1
- package/{UserProfileContext-236a8db5.js → UserProfileContext-eb7f4891.js} +1 -1
- package/{UserProfileContext-236a8db5.js.map → UserProfileContext-eb7f4891.js.map} +1 -1
- package/{VoiceMessageInputWrapper-8d50dc6c.js → VoiceMessageInputWrapper-c0ac4f9c.js} +7 -7
- package/{VoiceMessageInputWrapper-8d50dc6c.js.map → VoiceMessageInputWrapper-c0ac4f9c.js.map} +1 -1
- package/VoicePlayer/context.js +3 -3
- package/VoicePlayer/useVoicePlayer.js +3 -3
- package/VoiceRecorder/context.js +1 -1
- package/VoiceRecorder/useVoiceRecorder.js +2 -2
- package/{_rollupPluginBabelHelpers-b0efb0e7.js → _rollupPluginBabelHelpers-5827233e.js} +1 -1
- package/_rollupPluginBabelHelpers-5827233e.js.map +1 -0
- package/{actionTypes-42a0e7a6.js → actionTypes-42080a5c.js} +1 -1
- package/{actionTypes-42a0e7a6.js.map → actionTypes-42080a5c.js.map} +1 -1
- package/cjs/App.js +40 -40
- package/cjs/Channel/components/ChannelHeader.js +30 -28
- package/cjs/Channel/components/ChannelHeader.js.map +1 -1
- package/cjs/Channel/components/ChannelUI.js +41 -93
- package/cjs/Channel/components/ChannelUI.js.map +1 -1
- package/cjs/Channel/components/FileViewer.js +15 -15
- package/cjs/Channel/components/FrozenNotification.js +8 -6
- package/cjs/Channel/components/FrozenNotification.js.map +1 -1
- package/cjs/Channel/components/Message.js +161 -131
- package/cjs/Channel/components/Message.js.map +1 -1
- package/cjs/Channel/components/MessageInput.js +23 -23
- package/cjs/Channel/components/MessageList.js +168 -94
- 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 +14 -17
- package/cjs/Channel/components/UnreadCount.js.map +1 -1
- package/cjs/Channel/context.js +14 -14
- package/cjs/Channel.js +34 -34
- package/cjs/ChannelList/components/AddChannel.js +22 -17
- package/cjs/ChannelList/components/AddChannel.js.map +1 -1
- package/cjs/ChannelList/components/ChannelListHeader.js +7 -7
- package/cjs/ChannelList/components/ChannelListUI.js +29 -29
- package/cjs/ChannelList/components/ChannelPreview.js +28 -28
- package/cjs/ChannelList/components/ChannelPreview.js.map +1 -1
- package/cjs/ChannelList/components/ChannelPreviewAction.js +14 -14
- package/cjs/ChannelList/context.js +8 -8
- package/cjs/ChannelList.js +29 -29
- package/cjs/{ChannelListProvider-c2da1fdd.js → ChannelListProvider-f0ae2b2b.js} +8 -8
- package/cjs/{ChannelListProvider-c2da1fdd.js.map → ChannelListProvider-f0ae2b2b.js.map} +1 -1
- package/cjs/{ChannelProvider-d207316d.js → ChannelProvider-7a4dc56f.js} +12 -12
- package/cjs/ChannelProvider-7a4dc56f.js.map +1 -0
- package/cjs/ChannelSettings/components/ChannelProfile.js +12 -12
- package/cjs/ChannelSettings/components/ChannelSettingsUI.js +18 -18
- package/cjs/ChannelSettings/components/EditDetailsModal.js +12 -12
- package/cjs/ChannelSettings/components/LeaveChannel.js +12 -12
- package/cjs/ChannelSettings/components/ModerationPanel.js +15 -15
- package/cjs/ChannelSettings/components/UserListItem.js +11 -11
- package/cjs/ChannelSettings/components/UserPanel.js +14 -14
- package/cjs/ChannelSettings/context.js +3 -3
- package/cjs/ChannelSettings.js +18 -18
- package/cjs/CreateChannel/components/CreateChannelUI.js +14 -14
- package/cjs/CreateChannel/components/InviteUsers.js +14 -14
- package/cjs/CreateChannel/components/SelectChannelType.js +11 -11
- package/cjs/CreateChannel/context.js +4 -4
- package/cjs/CreateChannel.js +14 -14
- package/cjs/{CreateChannelProvider-02349744.js → CreateChannelProvider-f93f94ce.js} +1 -1
- package/cjs/{CreateChannelProvider-02349744.js.map → CreateChannelProvider-f93f94ce.js.map} +1 -1
- package/cjs/CreateOpenChannel/components/CreateOpenChannelUI.js +10 -10
- package/cjs/CreateOpenChannel/context.js +1 -1
- package/cjs/CreateOpenChannel.js +10 -10
- package/cjs/EditUserProfile/components/EditUserProfileUI.js +13 -13
- package/cjs/EditUserProfile.js +13 -13
- package/cjs/{LocalizationContext-a60a75a7.js → LocalizationContext-c7dba320.js} +3 -3
- package/cjs/{LocalizationContext-a60a75a7.js.map → LocalizationContext-c7dba320.js.map} +1 -1
- package/cjs/{MediaQueryContext-5d0a1ebc.js → MediaQueryContext-c21176c2.js} +1 -1
- package/cjs/{MediaQueryContext-5d0a1ebc.js.map → MediaQueryContext-c21176c2.js.map} +1 -1
- package/cjs/{MemberList-4c6bb907.js → MemberList-8beacafe.js} +5 -5
- package/cjs/{MemberList-4c6bb907.js.map → MemberList-8beacafe.js.map} +1 -1
- package/cjs/MessageSearch/components/MessageSearchUI.js +12 -12
- package/cjs/MessageSearch/context.js +2 -2
- package/cjs/MessageSearch.js +12 -12
- package/cjs/OpenChannel/components/FrozenChannelNotification.js +4 -4
- package/cjs/OpenChannel/components/OpenChannelHeader.js +13 -13
- package/cjs/OpenChannel/components/OpenChannelInput.js +15 -15
- package/cjs/OpenChannel/components/OpenChannelMessage.js +26 -22
- package/cjs/OpenChannel/components/OpenChannelMessage.js.map +1 -1
- package/cjs/OpenChannel/components/OpenChannelMessageList.js +24 -24
- package/cjs/OpenChannel/components/OpenChannelUI.js +24 -24
- package/cjs/OpenChannel/context.js +9 -9
- package/cjs/OpenChannel.js +24 -24
- package/cjs/OpenChannelList/components/OpenChannelListUI.js +13 -13
- package/cjs/OpenChannelList/components/OpenChannelPreview.js +4 -4
- package/cjs/OpenChannelList/context.js +4 -4
- package/cjs/OpenChannelList.js +13 -13
- package/cjs/{OpenChannelListProvider-5a949d98.js → OpenChannelListProvider-be9e4a7a.js} +3 -3
- package/cjs/{OpenChannelListProvider-5a949d98.js.map → OpenChannelListProvider-be9e4a7a.js.map} +1 -1
- package/cjs/{OpenChannelProvider-7c843439.js → OpenChannelProvider-48f2c689.js} +7 -7
- package/cjs/{OpenChannelProvider-7c843439.js.map → OpenChannelProvider-48f2c689.js.map} +1 -1
- package/cjs/OpenChannelSettings/components/EditDetailsModal.js +13 -13
- package/cjs/OpenChannelSettings/components/OpenChannelProfile.js +13 -13
- package/cjs/OpenChannelSettings/components/OpenChannelSettingsUI.js +18 -18
- package/cjs/OpenChannelSettings/components/OperatorUI.js +17 -17
- package/cjs/OpenChannelSettings/components/ParticipantUI.js +15 -15
- package/cjs/OpenChannelSettings/context.js +3 -3
- package/cjs/OpenChannelSettings.js +18 -18
- package/cjs/{RemoveMessageModal-a069ff52.js → RemoveMessageModal-a2906376.js} +3 -3
- package/cjs/{RemoveMessageModal-a069ff52.js.map → RemoveMessageModal-a2906376.js.map} +1 -1
- package/cjs/SendbirdProvider.js +12 -12
- package/cjs/SendbirdProvider.js.map +1 -1
- package/cjs/Thread/components/ParentMessageInfo.js +24 -24
- package/cjs/Thread/components/ParentMessageInfoItem.js +16 -16
- package/cjs/Thread/components/ThreadHeader.js +6 -6
- package/cjs/Thread/components/ThreadList.js +27 -27
- package/cjs/Thread/components/ThreadListItem.js +39 -38
- package/cjs/Thread/components/ThreadListItem.js.map +1 -1
- package/cjs/Thread/components/ThreadMessageInput.js +24 -24
- package/cjs/Thread/components/ThreadUI.js +31 -31
- package/cjs/Thread/context.js +9 -9
- package/cjs/Thread.js +31 -31
- package/cjs/{ThreadProvider-66fcc519.js → ThreadProvider-c69173ee.js} +7 -7
- package/cjs/{ThreadProvider-66fcc519.js.map → ThreadProvider-c69173ee.js.map} +1 -1
- package/cjs/{UserProfileContext-2ec6891e.js → UserProfileContext-55f0e6bb.js} +1 -1
- package/cjs/{UserProfileContext-2ec6891e.js.map → UserProfileContext-55f0e6bb.js.map} +1 -1
- package/cjs/{VoiceMessageInputWrapper-289e18f6.js → VoiceMessageInputWrapper-1f621f96.js} +7 -7
- package/cjs/{VoiceMessageInputWrapper-289e18f6.js.map → VoiceMessageInputWrapper-1f621f96.js.map} +1 -1
- package/cjs/VoicePlayer/context.js +3 -3
- package/cjs/VoicePlayer/useVoicePlayer.js +3 -3
- package/cjs/VoiceRecorder/context.js +1 -1
- package/cjs/VoiceRecorder/useVoiceRecorder.js +2 -2
- package/cjs/{_rollupPluginBabelHelpers-24f49f41.js → _rollupPluginBabelHelpers-53067984.js} +1 -1
- package/cjs/_rollupPluginBabelHelpers-53067984.js.map +1 -0
- package/cjs/{actionTypes-31463602.js → actionTypes-6116824d.js} +1 -1
- package/cjs/{actionTypes-31463602.js.map → actionTypes-6116824d.js.map} +1 -1
- package/cjs/{color-7144c59e.js → color-9ec8fac6.js} +1 -1
- package/cjs/{color-7144c59e.js.map → color-9ec8fac6.js.map} +1 -1
- package/cjs/{compareIds-b3e3cffc.js → compareIds-d6461851.js} +1 -1
- package/cjs/{compareIds-b3e3cffc.js.map → compareIds-d6461851.js.map} +1 -1
- package/cjs/{const-21424d05.js → const-1f3d1ae1.js} +1 -1
- package/cjs/{const-21424d05.js.map → const-1f3d1ae1.js.map} +1 -1
- package/cjs/{const-d6a997ec.js → const-3d3ea5a6.js} +3 -1
- package/cjs/const-3d3ea5a6.js.map +1 -0
- package/cjs/{consts-47e4d487.js → consts-a7f5f91d.js} +1 -1
- package/cjs/{consts-47e4d487.js.map → consts-a7f5f91d.js.map} +1 -1
- package/cjs/{context-8cb8affd.js → context-5374df4e.js} +2 -2
- package/cjs/{context-8cb8affd.js.map → context-5374df4e.js.map} +1 -1
- package/cjs/dist/index.css +161 -141
- package/cjs/dist/index.css.map +1 -1
- package/cjs/{index-a1b754e9.js → index-082ae73e.js} +7 -7
- package/cjs/{index-a1b754e9.js.map → index-082ae73e.js.map} +1 -1
- package/cjs/{index-31f28d2f.js → index-4dc4e6b5.js} +4 -4
- package/cjs/{index-31f28d2f.js.map → index-4dc4e6b5.js.map} +1 -1
- package/cjs/{index-4c8c854d.js → index-5993f1e6.js} +3 -3
- package/cjs/{index-4c8c854d.js.map → index-5993f1e6.js.map} +1 -1
- package/cjs/{index-62b0b176.js → index-5fef7cd4.js} +7 -7
- package/cjs/{index-62b0b176.js.map → index-5fef7cd4.js.map} +1 -1
- package/cjs/{index-a3f2fc1e.js → index-7ee2031a.js} +3 -3
- package/cjs/{index-a3f2fc1e.js.map → index-7ee2031a.js.map} +1 -1
- package/cjs/{index-e97ad39a.js → index-84e17bfc.js} +2 -2
- package/cjs/{index-e97ad39a.js.map → index-84e17bfc.js.map} +1 -1
- package/cjs/{index-c65779c7.js → index-8e745dca.js} +2 -2
- package/cjs/{index-c65779c7.js.map → index-8e745dca.js.map} +1 -1
- package/cjs/{index-4678a454.js → index-9d41d610.js} +1 -1
- package/cjs/{index-4678a454.js.map → index-9d41d610.js.map} +1 -1
- package/cjs/{index-8ea5c90b.js → index-b583b8df.js} +5 -5
- package/cjs/{index-8ea5c90b.js.map → index-b583b8df.js.map} +1 -1
- package/cjs/{index-c77b4d21.js → index-bb8788c1.js} +2 -2
- package/cjs/{index-c77b4d21.js.map → index-bb8788c1.js.map} +1 -1
- package/cjs/{index-dbe73222.js → index-dbfa9e30.js} +4 -4
- package/cjs/{index-dbe73222.js.map → index-dbfa9e30.js.map} +1 -1
- package/cjs/{index-7f8189a8.js → index-e2cb4259.js} +2 -2
- package/cjs/{index-7f8189a8.js.map → index-e2cb4259.js.map} +1 -1
- package/cjs/{index-254f336f.js → index-ef4ab52a.js} +7 -5
- package/cjs/index-ef4ab52a.js.map +1 -0
- package/cjs/{index-987764bd.js → index-f0738051.js} +1 -1
- package/cjs/{index-987764bd.js.map → index-f0738051.js.map} +1 -1
- package/cjs/index.js +44 -44
- package/cjs/sendbirdSelectors.js +2 -2
- package/cjs/{stringSet-4ee01b87.js → stringSet-39f04718.js} +1 -1
- package/cjs/{stringSet-4ee01b87.js.map → stringSet-39f04718.js.map} +1 -1
- package/cjs/{topics-022da857.js → topics-5606f43e.js} +1 -1
- package/cjs/{topics-022da857.js.map → topics-5606f43e.js.map} +1 -1
- package/cjs/{tslib.es6-e6498d62.js → tslib.es6-aab6b54f.js} +1 -1
- package/cjs/{tslib.es6-e6498d62.js.map → tslib.es6-aab6b54f.js.map} +1 -1
- package/cjs/{types-aeca242a.js → types-45b8cd42.js} +1 -1
- package/cjs/{types-aeca242a.js.map → types-45b8cd42.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 +7 -6
- package/cjs/ui/ContextMenu.js.map +1 -1
- 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 +11 -11
- package/cjs/ui/MessageContent.js +35 -34
- package/cjs/ui/MessageContent.js.map +1 -1
- package/cjs/ui/MessageInput.js +9 -9
- package/cjs/ui/MessageItemMenu.js +11 -11
- package/cjs/ui/MessageItemMenu.js.map +1 -1
- 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 +11 -11
- 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 +33 -27
- package/cjs/ui/OpenchannelFileMessage.js.map +1 -1
- package/cjs/ui/OpenchannelOGMessage.js +32 -30
- package/cjs/ui/OpenchannelOGMessage.js.map +1 -1
- package/cjs/ui/OpenchannelThumbnailMessage.js +35 -29
- package/cjs/ui/OpenchannelThumbnailMessage.js.map +1 -1
- package/cjs/ui/OpenchannelUserMessage.js +32 -30
- package/cjs/ui/OpenchannelUserMessage.js.map +1 -1
- 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 +11 -11
- 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 +11 -11
- package/cjs/ui/UserProfile.js +10 -10
- package/cjs/ui/VoiceMessageItemBody.js +5 -5
- package/cjs/ui/VoiceMessgeInput.js +8 -8
- package/cjs/ui/Word.js +11 -11
- package/cjs/{useLongPress-322218d9.js → useLongPress-9261da40.js} +3 -3
- package/cjs/{useLongPress-322218d9.js.map → useLongPress-9261da40.js.map} +1 -1
- package/cjs/useSendbirdStateContext.js +1 -1
- package/cjs/utils/message/isVoiceMessage.js +2 -2
- package/cjs/{utils-eb7febed.js → utils-1575dcd5.js} +1 -1
- package/cjs/{utils-eb7febed.js.map → utils-1575dcd5.js.map} +1 -1
- package/cjs/{utils-642928b9.js → utils-5ee973c5.js} +2 -2
- package/cjs/{utils-642928b9.js.map → utils-5ee973c5.js.map} +1 -1
- package/cjs/{utils-37fca8a6.js → utils-67a9f818.js} +1 -1
- package/cjs/{utils-37fca8a6.js.map → utils-67a9f818.js.map} +1 -1
- package/cjs/{utils-c95c0536.js → utils-acf605ed.js} +1 -1
- package/cjs/{utils-c95c0536.js.map → utils-acf605ed.js.map} +1 -1
- package/cjs/{uuid-74ed3d6f.js → uuid-7daa634b.js} +1 -1
- package/cjs/{uuid-74ed3d6f.js.map → uuid-7daa634b.js.map} +1 -1
- package/cjs/withSendbird.js +1 -1
- package/{color-1e2ee795.js → color-9754a8a3.js} +1 -1
- package/{color-1e2ee795.js.map → color-9754a8a3.js.map} +1 -1
- package/{compareIds-5ccbddc5.js → compareIds-5ff919a8.js} +1 -1
- package/{compareIds-5ccbddc5.js.map → compareIds-5ff919a8.js.map} +1 -1
- package/{const-8faafb2e.js → const-21dcd857.js} +3 -2
- package/const-21dcd857.js.map +1 -0
- package/{const-dc9e776d.js → const-7588ac16.js} +1 -1
- package/{const-dc9e776d.js.map → const-7588ac16.js.map} +1 -1
- package/{consts-36a3e18c.js → consts-20a8f693.js} +1 -1
- package/{consts-36a3e18c.js.map → consts-20a8f693.js.map} +1 -1
- package/{context-7f6e48a4.js → context-01308b37.js} +2 -2
- package/{context-7f6e48a4.js.map → context-01308b37.js.map} +1 -1
- package/dist/index.css +161 -141
- package/dist/index.css.map +1 -1
- package/{index-34aa10d1.js → index-100b143d.js} +2 -2
- package/{index-34aa10d1.js.map → index-100b143d.js.map} +1 -1
- package/{index-3fb2524a.js → index-1a8fa4cd.js} +4 -4
- package/{index-3fb2524a.js.map → index-1a8fa4cd.js.map} +1 -1
- package/{index-ba7daf9f.js → index-1de84663.js} +3 -3
- package/{index-ba7daf9f.js.map → index-1de84663.js.map} +1 -1
- package/{index-33f2cf64.js → index-2e23c452.js} +2 -2
- package/{index-33f2cf64.js.map → index-2e23c452.js.map} +1 -1
- package/{index-28d6891b.js → index-3e5cbf80.js} +7 -7
- package/{index-28d6891b.js.map → index-3e5cbf80.js.map} +1 -1
- package/{index-5f7a15e3.js → index-44342614.js} +1 -1
- package/{index-5f7a15e3.js.map → index-44342614.js.map} +1 -1
- package/{index-ece24db0.js → index-561ddd27.js} +2 -2
- package/{index-ece24db0.js.map → index-561ddd27.js.map} +1 -1
- package/{index-5eb9a836.js → index-5e057577.js} +1 -1
- package/{index-5eb9a836.js.map → index-5e057577.js.map} +1 -1
- package/{index-ba245747.js → index-82382d4a.js} +5 -5
- package/{index-ba245747.js.map → index-82382d4a.js.map} +1 -1
- package/{index-a66bf2c0.js → index-9e5cf819.js} +4 -4
- package/{index-a66bf2c0.js.map → index-9e5cf819.js.map} +1 -1
- package/{index-5258ee05.js → index-aa29a843.js} +2 -2
- package/{index-5258ee05.js.map → index-aa29a843.js.map} +1 -1
- package/{index-7e47ba7d.js → index-cebb1db7.js} +7 -5
- package/index-cebb1db7.js.map +1 -0
- package/{index-25d0ba0b.js → index-dc672161.js} +7 -7
- package/{index-25d0ba0b.js.map → index-dc672161.js.map} +1 -1
- package/{index-87ea8714.js → index-dd2a9d44.js} +3 -3
- package/{index-87ea8714.js.map → index-dd2a9d44.js.map} +1 -1
- package/index.d.ts +30 -22
- package/index.js +44 -44
- package/package.json +1 -1
- package/sendbirdSelectors.js +2 -2
- package/{stringSet-44be1369.js → stringSet-ea4aeced.js} +1 -1
- package/{stringSet-44be1369.js.map → stringSet-ea4aeced.js.map} +1 -1
- package/{topics-3f0db840.js → topics-2b0b1403.js} +1 -1
- package/{topics-3f0db840.js.map → topics-2b0b1403.js.map} +1 -1
- package/{tslib.es6-d163c646.js → tslib.es6-ca21063f.js} +1 -1
- package/{tslib.es6-d163c646.js.map → tslib.es6-ca21063f.js.map} +1 -1
- package/{types-490489b7.js → types-d5ea9376.js} +1 -1
- package/{types-490489b7.js.map → types-d5ea9376.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 +7 -6
- package/ui/ContextMenu.js.map +1 -1
- 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 +11 -11
- package/ui/MessageContent.js +35 -34
- package/ui/MessageContent.js.map +1 -1
- package/ui/MessageInput.js +9 -9
- package/ui/MessageItemMenu.js +11 -11
- package/ui/MessageItemMenu.js.map +1 -1
- 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 +11 -11
- package/ui/OpenChannelAdminMessage.js +3 -3
- package/ui/OpenChannelAvatar.js +6 -6
- package/ui/OpenchannelConversationHeader.js +6 -6
- package/ui/OpenchannelFileMessage.js +33 -27
- package/ui/OpenchannelFileMessage.js.map +1 -1
- package/ui/OpenchannelOGMessage.js +32 -30
- package/ui/OpenchannelOGMessage.js.map +1 -1
- package/ui/OpenchannelThumbnailMessage.js +35 -29
- package/ui/OpenchannelThumbnailMessage.js.map +1 -1
- package/ui/OpenchannelUserMessage.js +32 -30
- package/ui/OpenchannelUserMessage.js.map +1 -1
- 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 +11 -11
- 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 +11 -11
- package/ui/UserProfile.js +10 -10
- package/ui/VoiceMessageItemBody.js +5 -5
- package/ui/VoiceMessgeInput.js +8 -8
- package/ui/Word.js +11 -11
- package/{useLongPress-a05b8d13.js → useLongPress-0dccc5ca.js} +3 -3
- package/{useLongPress-a05b8d13.js.map → useLongPress-0dccc5ca.js.map} +1 -1
- package/useSendbirdStateContext.js +1 -1
- package/utils/message/isVoiceMessage.js +2 -2
- package/{utils-e96969ad.js → utils-2088448e.js} +1 -1
- package/{utils-e96969ad.js.map → utils-2088448e.js.map} +1 -1
- package/{utils-49a0dde3.js → utils-3f271584.js} +1 -1
- package/{utils-49a0dde3.js.map → utils-3f271584.js.map} +1 -1
- package/{utils-3a9b2a5b.js → utils-a4003ad3.js} +1 -1
- package/{utils-3a9b2a5b.js.map → utils-a4003ad3.js.map} +1 -1
- package/{utils-14105f2b.js → utils-a9e361cf.js} +2 -2
- package/{utils-14105f2b.js.map → utils-a9e361cf.js.map} +1 -1
- package/{uuid-bf5599d8.js → uuid-e2d2f65c.js} +1 -1
- package/{uuid-bf5599d8.js.map → uuid-e2d2f65c.js.map} +1 -1
- package/withSendbird.js +1 -1
- package/ChannelProvider-43d68897.js.map +0 -1
- package/_rollupPluginBabelHelpers-b0efb0e7.js.map +0 -1
- package/cjs/ChannelProvider-d207316d.js.map +0 -1
- package/cjs/_rollupPluginBabelHelpers-24f49f41.js.map +0 -1
- package/cjs/const-d6a997ec.js.map +0 -1
- package/cjs/index-254f336f.js.map +0 -1
- package/const-8faafb2e.js.map +0 -1
- package/index-7e47ba7d.js.map +0 -1
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import React__default, { useContext, useState, useEffect } from 'react';
|
|
2
2
|
import { GroupChannelHandler } from '@sendbird/chat/groupChannel';
|
|
3
|
-
import { a as LocalizationContext } from '../../LocalizationContext-
|
|
4
|
-
import { u as uuidv4 } from '../../uuid-
|
|
5
|
-
import { L as Label, a as LabelTypography, b as LabelColors } from '../../index-
|
|
6
|
-
import { u as useChannelContext } from '../../ChannelProvider-
|
|
3
|
+
import { a as LocalizationContext } from '../../LocalizationContext-646420ca.js';
|
|
4
|
+
import { u as uuidv4 } from '../../uuid-e2d2f65c.js';
|
|
5
|
+
import { L as Label, a as LabelTypography, b as LabelColors } from '../../index-aa29a843.js';
|
|
6
|
+
import { u as useChannelContext } from '../../ChannelProvider-19d75ee9.js';
|
|
7
7
|
import useSendbirdStateContext from '../../useSendbirdStateContext.js';
|
|
8
|
-
import '../../stringSet-
|
|
9
|
-
import '../../index-
|
|
8
|
+
import '../../stringSet-ea4aeced.js';
|
|
9
|
+
import '../../index-5e057577.js';
|
|
10
10
|
import 'prop-types';
|
|
11
|
-
import '../../UserProfileContext-
|
|
12
|
-
import '../../index-
|
|
13
|
-
import '../../topics-
|
|
14
|
-
import '../../index-
|
|
15
|
-
import '../../tslib.es6-
|
|
11
|
+
import '../../UserProfileContext-eb7f4891.js';
|
|
12
|
+
import '../../index-2e23c452.js';
|
|
13
|
+
import '../../topics-2b0b1403.js';
|
|
14
|
+
import '../../index-100b143d.js';
|
|
15
|
+
import '../../tslib.es6-ca21063f.js';
|
|
16
16
|
import '../../utils/message/getOutgoingMessageState.js';
|
|
17
|
-
import '../../_rollupPluginBabelHelpers-
|
|
18
|
-
import '../../compareIds-
|
|
19
|
-
import '../../const-
|
|
17
|
+
import '../../_rollupPluginBabelHelpers-5827233e.js';
|
|
18
|
+
import '../../compareIds-5ff919a8.js';
|
|
19
|
+
import '../../const-21dcd857.js';
|
|
20
20
|
import '@sendbird/chat/message';
|
|
21
21
|
import '../../ui/ContextMenu.js';
|
|
22
22
|
import 'react-dom';
|
|
@@ -24,7 +24,7 @@ import '../../ui/SortByRow.js';
|
|
|
24
24
|
import '../../ui/ReactionButton.js';
|
|
25
25
|
import '../../ui/ImageRenderer.js';
|
|
26
26
|
import '../../ui/Icon.js';
|
|
27
|
-
import '../../consts-
|
|
27
|
+
import '../../consts-20a8f693.js';
|
|
28
28
|
import '../../withSendbird.js';
|
|
29
29
|
|
|
30
30
|
var TypingIndicatorText = function (_a) {
|
|
@@ -1,28 +1,25 @@
|
|
|
1
1
|
import React__default, { useContext } from 'react';
|
|
2
|
-
import { a as LocalizationContext } from '../../LocalizationContext-
|
|
3
|
-
import { L as Label, b as LabelColors, a as LabelTypography } from '../../index-
|
|
2
|
+
import { a as LocalizationContext } from '../../LocalizationContext-646420ca.js';
|
|
3
|
+
import { L as Label, b as LabelColors, a as LabelTypography } from '../../index-aa29a843.js';
|
|
4
4
|
import Icon, { IconTypes, IconColors } from '../../ui/Icon.js';
|
|
5
|
-
import '../../stringSet-
|
|
6
|
-
import '../../index-
|
|
5
|
+
import '../../stringSet-ea4aeced.js';
|
|
6
|
+
import '../../index-5e057577.js';
|
|
7
7
|
import 'prop-types';
|
|
8
8
|
|
|
9
|
-
var UnreadCount = function (
|
|
10
|
-
var
|
|
9
|
+
var UnreadCount = function (_a) {
|
|
10
|
+
var _b, _c;
|
|
11
11
|
|
|
12
|
-
var
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
12
|
+
var _d = _a.className,
|
|
13
|
+
className = _d === void 0 ? '' : _d,
|
|
14
|
+
count = _a.count,
|
|
15
|
+
_e = _a.time,
|
|
16
|
+
time = _e === void 0 ? '' : _e,
|
|
17
|
+
onClick = _a.onClick;
|
|
16
18
|
var stringSet = useContext(LocalizationContext).stringSet;
|
|
17
|
-
var timeArray = ((
|
|
19
|
+
var timeArray = ((_c = (_b = time === null || time === void 0 ? void 0 : time.toString) === null || _b === void 0 ? void 0 : _b.call(time)) === null || _c === void 0 ? void 0 : _c.split(' ')) || [];
|
|
18
20
|
timeArray === null || timeArray === void 0 ? void 0 : timeArray.splice(-2, 0, stringSet.CHANNEL__MESSAGE_LIST__NOTIFICATION__ON);
|
|
19
|
-
|
|
20
|
-
if (count < 1) {
|
|
21
|
-
return;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
21
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
25
|
-
className: "sendbird-notification",
|
|
22
|
+
className: "sendbird-notification".concat(count < 1 ? '--hide' : '', " ").concat(className),
|
|
26
23
|
onClick: onClick
|
|
27
24
|
}, /*#__PURE__*/React__default.createElement(Label, {
|
|
28
25
|
className: "sendbird-notification__text",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UnreadCount.js","sources":["../../../src/smart-components/Channel/components/UnreadCount/index.tsx"],"sourcesContent":["import React, { useContext } from 'react';\n\nimport './unread-count.scss';\nimport { LocalizationContext } from '../../../../lib/LocalizationContext';\nimport Label, { LabelTypography, LabelColors } from '../../../../ui/Label';\nimport Icon, { IconTypes, IconColors } from '../../../../ui/Icon';\n\nexport interface UnreadCountProps {\n count: number;\n time: string;\n onClick(): void;\n}\n\nconst UnreadCount: React.FC<UnreadCountProps> = (
|
|
1
|
+
{"version":3,"file":"UnreadCount.js","sources":["../../../src/smart-components/Channel/components/UnreadCount/index.tsx"],"sourcesContent":["import React, { useContext } from 'react';\n\nimport './unread-count.scss';\nimport { LocalizationContext } from '../../../../lib/LocalizationContext';\nimport Label, { LabelTypography, LabelColors } from '../../../../ui/Label';\nimport Icon, { IconTypes, IconColors } from '../../../../ui/Icon';\n\nexport interface UnreadCountProps {\n className?: string;\n count: number;\n time: string;\n onClick(): void;\n}\n\nconst UnreadCount: React.FC<UnreadCountProps> = ({\n className = '',\n count,\n time = '',\n onClick,\n}: UnreadCountProps) => {\n const { stringSet } = useContext(LocalizationContext);\n const timeArray = time?.toString?.()?.split(' ') || [];\n timeArray?.splice(-2, 0, stringSet.CHANNEL__MESSAGE_LIST__NOTIFICATION__ON);\n\n return (\n <div\n className={`sendbird-notification${count < 1 ? '--hide' : ''} ${className}`}\n onClick={onClick}\n >\n <Label className=\"sendbird-notification__text\" color={LabelColors.ONCONTENT_1} type={LabelTypography.CAPTION_2}>\n {`${count} `}\n {stringSet.CHANNEL__MESSAGE_LIST__NOTIFICATION__NEW_MESSAGE}\n {` ${timeArray.join(' ')}`}\n </Label>\n <Icon\n width=\"24px\"\n height=\"24px\"\n type={IconTypes.CHEVRON_DOWN}\n fillColor={IconColors.CONTENT}\n />\n </div>\n );\n}\n\nexport default UnreadCount;\n"],"names":["UnreadCount","_a","_d","className","count","_e","time","onClick","stringSet","useContext","LocalizationContext","timeArray","_c","toString","_b","call","split","splice","CHANNEL__MESSAGE_LIST__NOTIFICATION__ON","React","concat","LabelColors","ONCONTENT_1","LabelTypography","CAPTION_2","CHANNEL__MESSAGE_LIST__NOTIFICATION__NEW_MESSAGE","join","IconTypes","CHEVRON_DOWN","IconColors","CONTENT"],"mappings":";;;;;;;;AAcA,IAAMA,WAAW,GAA+B,UAACC,EAAD,EAK7B;;;AAJjB,EAAA,IAAAC,EAAA,GAAAD,EAAA,CAAAE,SAAA;MAAAA,SAAS,GAAAD,EAAA,KAAA,KAAA,CAAA,GAAG,EAAH,GAAKA,EAAd;AAAA,MACAE,KAAK,GAAAH,EAAA,CAAAG,KADL;AAAA,MAEAC,EAAA,GAAAJ,EAAA,CAAAK,IAFA;MAEAA,IAAI,GAAAD,EAAA,KAAA,KAAA,CAAA,GAAG,EAAH,GAAKA,EAFT;AAAA,MAGAE,OAAO,GAAAN,EAAA,CAAAM,OAHP,CAAA;AAKQ,EAAA,IAAAC,SAAS,GAAKC,UAAU,CAACC,mBAAD,CAAV,UAAd,CAAA;EACR,IAAMC,SAAS,GAAG,CAAA,CAAAC,EAAA,GAAA,MAAAN,IAAI,KAAA,IAAJ,IAAAA,IAAI,KAAJ,KAAA,CAAA,GAAA,KAAA,CAAA,GAAAA,IAAI,CAAEO,QAAN,MAAc,IAAd,IAAcC,EAAA,KAAA,KAAA,CAAd,GAAc,KAAA,CAAd,GAAcA,EAAA,CAAAC,IAAA,CAAAT,IAAA,CAAd,UAAA,iBAAA,SAAA,MAAoBU,MAAM,IAA1B,KAAkC,EAApD,CAAA;EACAL,SAAS,SAAT,IAAAA,SAAS,KAAA,KAAA,CAAT,GAAS,KAAA,CAAT,GAAAA,SAAS,CAAEM,MAAX,CAAkB,CAAC,CAAnB,EAAsB,CAAtB,EAAyBT,SAAS,CAACU,uCAAnC,CAAA,CAAA;EAEA,oBACEC,cAAA,CAAA,aAAA,CAAA,KAAA,EAAA;AACE,IAAA,SAAS,EAAE,uBAAAC,CAAAA,MAAA,CAAwBhB,KAAK,GAAG,CAAR,GAAY,QAAZ,GAAuB,EAA/C,EAAiD,GAAjD,EAAiDgB,MAAjD,CAAqDjB,SAArD,CADb;AAEE,IAAA,OAAO,EAAEI,OAAAA;AAFX,GAAA,eAIEY,6BAAC,KAAD,EAAA;AAAO,IAAA,SAAS,EAAC,6BAAjB;IAA+C,KAAK,EAAEE,WAAW,CAACC,WAAlE;IAA+E,IAAI,EAAEC,eAAe,CAACC,SAAAA;GAClG,EAAA,EAAA,CAAAJ,MAAA,CAAGhB,KAAH,EAAQ,GAAR,CADH,EAEGI,SAAS,CAACiB,gDAFb,EAGG,IAAAL,MAAA,CAAIT,SAAS,CAACe,IAAV,CAAe,GAAf,CAAJ,CAHH,CAJF,eASEP,cAAA,CAAA,aAAA,CAAC,IAAD,EAAA;AACE,IAAA,KAAK,EAAC,MADR;AAEE,IAAA,MAAM,EAAC,MAFT;IAGE,IAAI,EAAEQ,SAAS,CAACC,YAHlB;IAIE,SAAS,EAAEC,UAAU,CAACC,OAAAA;AAJxB,GAAA,CATF,CADF,CAAA;AAkBD;;;;"}
|
package/Channel/context.js
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import 'react';
|
|
2
|
-
import '../UserProfileContext-
|
|
2
|
+
import '../UserProfileContext-eb7f4891.js';
|
|
3
3
|
import '../useSendbirdStateContext.js';
|
|
4
|
-
export { C as ChannelProvider, T as ThreadReplySelectType, u as useChannelContext } from '../ChannelProvider-
|
|
4
|
+
export { C as ChannelProvider, T as ThreadReplySelectType, u as useChannelContext } from '../ChannelProvider-19d75ee9.js';
|
|
5
5
|
import 'prop-types';
|
|
6
6
|
import '../withSendbird.js';
|
|
7
|
-
import '../_rollupPluginBabelHelpers-
|
|
8
|
-
import '../index-
|
|
9
|
-
import '../index-
|
|
10
|
-
import '../topics-
|
|
11
|
-
import '../index-
|
|
12
|
-
import '../tslib.es6-
|
|
7
|
+
import '../_rollupPluginBabelHelpers-5827233e.js';
|
|
8
|
+
import '../index-2e23c452.js';
|
|
9
|
+
import '../index-5e057577.js';
|
|
10
|
+
import '../topics-2b0b1403.js';
|
|
11
|
+
import '../index-100b143d.js';
|
|
12
|
+
import '../tslib.es6-ca21063f.js';
|
|
13
13
|
import '../utils/message/getOutgoingMessageState.js';
|
|
14
|
-
import '../compareIds-
|
|
15
|
-
import '../const-
|
|
14
|
+
import '../compareIds-5ff919a8.js';
|
|
15
|
+
import '../const-21dcd857.js';
|
|
16
16
|
import '@sendbird/chat/groupChannel';
|
|
17
|
-
import '../uuid-
|
|
17
|
+
import '../uuid-e2d2f65c.js';
|
|
18
18
|
import '@sendbird/chat/message';
|
|
19
19
|
import '../ui/ContextMenu.js';
|
|
20
20
|
import 'react-dom';
|
|
21
21
|
import '../ui/SortByRow.js';
|
|
22
|
-
import '../index-
|
|
23
|
-
import '../stringSet-
|
|
22
|
+
import '../index-aa29a843.js';
|
|
23
|
+
import '../stringSet-ea4aeced.js';
|
|
24
24
|
import '../ui/ReactionButton.js';
|
|
25
25
|
import '../ui/ImageRenderer.js';
|
|
26
26
|
import '../ui/Icon.js';
|
|
27
|
-
import '../consts-
|
|
27
|
+
import '../consts-20a8f693.js';
|
|
28
28
|
//# sourceMappingURL=context.js.map
|
package/Channel.js
CHANGED
|
@@ -1,53 +1,52 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
|
-
import { C as ChannelProvider } from './ChannelProvider-
|
|
2
|
+
import { C as ChannelProvider } from './ChannelProvider-19d75ee9.js';
|
|
3
3
|
import ChannelUI from './Channel/components/ChannelUI.js';
|
|
4
|
-
import './UserProfileContext-
|
|
4
|
+
import './UserProfileContext-eb7f4891.js';
|
|
5
5
|
import 'prop-types';
|
|
6
6
|
import './useSendbirdStateContext.js';
|
|
7
7
|
import './withSendbird.js';
|
|
8
|
-
import './_rollupPluginBabelHelpers-
|
|
9
|
-
import './index-
|
|
10
|
-
import './index-
|
|
11
|
-
import './topics-
|
|
12
|
-
import './index-
|
|
13
|
-
import './tslib.es6-
|
|
8
|
+
import './_rollupPluginBabelHelpers-5827233e.js';
|
|
9
|
+
import './index-2e23c452.js';
|
|
10
|
+
import './index-5e057577.js';
|
|
11
|
+
import './topics-2b0b1403.js';
|
|
12
|
+
import './index-100b143d.js';
|
|
13
|
+
import './tslib.es6-ca21063f.js';
|
|
14
14
|
import './utils/message/getOutgoingMessageState.js';
|
|
15
|
-
import './compareIds-
|
|
16
|
-
import './const-
|
|
15
|
+
import './compareIds-5ff919a8.js';
|
|
16
|
+
import './const-21dcd857.js';
|
|
17
17
|
import '@sendbird/chat/groupChannel';
|
|
18
|
-
import './uuid-
|
|
18
|
+
import './uuid-e2d2f65c.js';
|
|
19
19
|
import '@sendbird/chat/message';
|
|
20
20
|
import './ui/ContextMenu.js';
|
|
21
21
|
import 'react-dom';
|
|
22
22
|
import './ui/SortByRow.js';
|
|
23
|
-
import './index-
|
|
24
|
-
import './stringSet-
|
|
23
|
+
import './index-aa29a843.js';
|
|
24
|
+
import './stringSet-ea4aeced.js';
|
|
25
25
|
import './ui/ReactionButton.js';
|
|
26
26
|
import './ui/ImageRenderer.js';
|
|
27
27
|
import './ui/Icon.js';
|
|
28
|
-
import './consts-
|
|
29
|
-
import './index-
|
|
30
|
-
import './LocalizationContext-
|
|
28
|
+
import './consts-20a8f693.js';
|
|
29
|
+
import './index-9e5cf819.js';
|
|
30
|
+
import './LocalizationContext-646420ca.js';
|
|
31
31
|
import './ui/Loader.js';
|
|
32
32
|
import './ui/ConnectionStatus.js';
|
|
33
33
|
import './Channel/components/ChannelHeader.js';
|
|
34
|
-
import './utils-
|
|
34
|
+
import './utils-a9e361cf.js';
|
|
35
35
|
import './ui/IconButton.js';
|
|
36
36
|
import './ui/ChannelAvatar.js';
|
|
37
37
|
import './ui/Avatar.js';
|
|
38
|
-
import './utils-
|
|
39
|
-
import './MediaQueryContext-
|
|
40
|
-
import './utils-
|
|
38
|
+
import './utils-2088448e.js';
|
|
39
|
+
import './MediaQueryContext-1441c35c.js';
|
|
40
|
+
import './utils-3f271584.js';
|
|
41
41
|
import './Channel/components/MessageList.js';
|
|
42
|
-
import './index-ece24db0.js';
|
|
43
42
|
import './Channel/components/Message.js';
|
|
44
43
|
import './Channel/components/SuggestedMentionList.js';
|
|
45
|
-
import './const-
|
|
46
|
-
import './ThreadProvider-
|
|
44
|
+
import './const-7588ac16.js';
|
|
45
|
+
import './ThreadProvider-0ebc9c60.js';
|
|
47
46
|
import './Thread/context/types.js';
|
|
48
47
|
import '@sendbird/chat';
|
|
49
48
|
import './ui/DateSeparator.js';
|
|
50
|
-
import './color-
|
|
49
|
+
import './color-9754a8a3.js';
|
|
51
50
|
import './ui/MessageInput.js';
|
|
52
51
|
import 'react-dom/server';
|
|
53
52
|
import './ui/Button.js';
|
|
@@ -55,10 +54,11 @@ import './ui/MentionUserLabel.js';
|
|
|
55
54
|
import './ui/MessageContent.js';
|
|
56
55
|
import './ui/UserProfile.js';
|
|
57
56
|
import './sendbirdSelectors.js';
|
|
58
|
-
import './index-
|
|
59
|
-
import './index-
|
|
57
|
+
import './index-dc672161.js';
|
|
58
|
+
import './index-dd2a9d44.js';
|
|
59
|
+
import './index-561ddd27.js';
|
|
60
60
|
import './ui/MessageItemMenu.js';
|
|
61
|
-
import './types-
|
|
61
|
+
import './types-d5ea9376.js';
|
|
62
62
|
import './ui/MessageItemReactionMenu.js';
|
|
63
63
|
import './ui/EmojiReactions.js';
|
|
64
64
|
import './ui/Tooltip.js';
|
|
@@ -75,28 +75,28 @@ import './ui/ThumbnailMessageItemBody.js';
|
|
|
75
75
|
import './ui/OGMessageItemBody.js';
|
|
76
76
|
import './ui/UnknownMessageItemBody.js';
|
|
77
77
|
import './ui/QuoteMessage.js';
|
|
78
|
-
import './useLongPress-
|
|
78
|
+
import './useLongPress-0dccc5ca.js';
|
|
79
79
|
import './ui/BottomSheet.js';
|
|
80
|
-
import './index-
|
|
80
|
+
import './index-44342614.js';
|
|
81
81
|
import './ui/ThreadReplies.js';
|
|
82
82
|
import './ui/VoiceMessageItemBody.js';
|
|
83
83
|
import './ui/ProgressBar.js';
|
|
84
84
|
import './VoicePlayer/useVoicePlayer.js';
|
|
85
|
-
import './index-
|
|
85
|
+
import './index-1de84663.js';
|
|
86
86
|
import './VoiceRecorder/context.js';
|
|
87
87
|
import './lame.all.js';
|
|
88
88
|
import './ui/PlaybackTime.js';
|
|
89
89
|
import './Channel/components/FileViewer.js';
|
|
90
90
|
import './Channel/components/RemoveMessageModal.js';
|
|
91
91
|
import './ui/Modal.js';
|
|
92
|
-
import './Channel/components/TypingIndicator.js';
|
|
93
|
-
import './Channel/components/FrozenNotification.js';
|
|
94
92
|
import './Channel/components/UnreadCount.js';
|
|
93
|
+
import './Channel/components/FrozenNotification.js';
|
|
94
|
+
import './Channel/components/TypingIndicator.js';
|
|
95
95
|
import './Channel/components/MessageInput.js';
|
|
96
96
|
import './ui/QuoteMessageInput.js';
|
|
97
|
-
import './VoiceMessageInputWrapper-
|
|
97
|
+
import './VoiceMessageInputWrapper-c0ac4f9c.js';
|
|
98
98
|
import './VoiceRecorder/useVoiceRecorder.js';
|
|
99
|
-
import './index-
|
|
99
|
+
import './index-1a8fa4cd.js';
|
|
100
100
|
|
|
101
101
|
var Channel = function (props) {
|
|
102
102
|
return /*#__PURE__*/React__default.createElement(ChannelProvider, {
|
|
@@ -3,39 +3,39 @@ 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-9f51ca7a.js';
|
|
7
|
+
import '../../tslib.es6-ca21063f.js';
|
|
8
8
|
import 'prop-types';
|
|
9
9
|
import '../../CreateChannel/components/CreateChannelUI.js';
|
|
10
|
-
import '../../CreateChannelProvider-
|
|
10
|
+
import '../../CreateChannelProvider-4a26fc5d.js';
|
|
11
11
|
import '../../sendbirdSelectors.js';
|
|
12
|
-
import '../../topics-
|
|
13
|
-
import '../../utils-
|
|
12
|
+
import '../../topics-2b0b1403.js';
|
|
13
|
+
import '../../utils-3f271584.js';
|
|
14
14
|
import '../../CreateChannel/components/InviteUsers.js';
|
|
15
|
-
import '../../LocalizationContext-
|
|
16
|
-
import '../../stringSet-
|
|
17
|
-
import '../../index-
|
|
15
|
+
import '../../LocalizationContext-646420ca.js';
|
|
16
|
+
import '../../stringSet-ea4aeced.js';
|
|
17
|
+
import '../../index-5e057577.js';
|
|
18
18
|
import '../../ui/Modal.js';
|
|
19
19
|
import 'react-dom';
|
|
20
|
-
import '../../index-
|
|
20
|
+
import '../../index-44342614.js';
|
|
21
21
|
import '../../ui/Button.js';
|
|
22
|
-
import '../../index-
|
|
23
|
-
import '../../MediaQueryContext-
|
|
22
|
+
import '../../index-aa29a843.js';
|
|
23
|
+
import '../../MediaQueryContext-1441c35c.js';
|
|
24
24
|
import '../../ui/UserListItem.js';
|
|
25
|
-
import '../../UserProfileContext-
|
|
25
|
+
import '../../UserProfileContext-eb7f4891.js';
|
|
26
26
|
import '../../ui/Avatar.js';
|
|
27
27
|
import '../../ui/ImageRenderer.js';
|
|
28
|
-
import '../../uuid-
|
|
28
|
+
import '../../uuid-e2d2f65c.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-100b143d.js';
|
|
35
35
|
import '../../utils/message/getOutgoingMessageState.js';
|
|
36
36
|
import '../../CreateChannel/components/SelectChannelType.js';
|
|
37
37
|
import '../../withSendbird.js';
|
|
38
|
-
import '../../_rollupPluginBabelHelpers-
|
|
38
|
+
import '../../_rollupPluginBabelHelpers-5827233e.js';
|
|
39
39
|
import '@sendbird/chat/groupChannel';
|
|
40
40
|
|
|
41
41
|
var AddChannel = function () {
|
|
@@ -48,7 +48,11 @@ var AddChannel = function () {
|
|
|
48
48
|
var state = useSendbirdStateContext();
|
|
49
49
|
var isOnline = (_a = state === null || state === void 0 ? void 0 : state.config) === null || _a === void 0 ? void 0 : _a.isOnline;
|
|
50
50
|
var disabled = !isOnline;
|
|
51
|
-
|
|
51
|
+
|
|
52
|
+
var _c = useChannelListContext(),
|
|
53
|
+
overrideInviteUser = _c.overrideInviteUser,
|
|
54
|
+
onBeforeCreateChannel = _c.onBeforeCreateChannel;
|
|
55
|
+
|
|
52
56
|
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(IconButton, {
|
|
53
57
|
height: "32px",
|
|
54
58
|
width: "32px",
|
|
@@ -68,7 +72,8 @@ var AddChannel = function () {
|
|
|
68
72
|
overrideInviteUser: overrideInviteUser,
|
|
69
73
|
onCreateChannel: function () {
|
|
70
74
|
setShowModal(false);
|
|
71
|
-
}
|
|
75
|
+
},
|
|
76
|
+
onBeforeCreateChannel: onBeforeCreateChannel
|
|
72
77
|
}));
|
|
73
78
|
};
|
|
74
79
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AddChannel.js","sources":["../../../src/smart-components/ChannelList/components/AddChannel/index.tsx"],"sourcesContent":["import React, { useState } from 'react';\n\nimport IconButton from '../../../../ui/IconButton';\nimport Icon, { IconTypes, IconColors } from '../../../../ui/Icon';\n\nimport CreateChannel from '../../../CreateChannel';\nimport useSendbirdStateContext from '../../../../hooks/useSendbirdStateContext';\nimport { useChannelListContext } from '../../context/ChannelListProvider';\n\nexport const AddChannel: React.VoidFunctionComponent = () => {\n const [showModal, setShowModal] = useState(false);\n const state = useSendbirdStateContext();\n const isOnline = state?.config?.isOnline;\n const disabled = !isOnline;\n const {
|
|
1
|
+
{"version":3,"file":"AddChannel.js","sources":["../../../src/smart-components/ChannelList/components/AddChannel/index.tsx"],"sourcesContent":["import React, { useState } from 'react';\n\nimport IconButton from '../../../../ui/IconButton';\nimport Icon, { IconTypes, IconColors } from '../../../../ui/Icon';\n\nimport CreateChannel from '../../../CreateChannel';\nimport useSendbirdStateContext from '../../../../hooks/useSendbirdStateContext';\nimport { useChannelListContext } from '../../context/ChannelListProvider';\n\nexport const AddChannel: React.VoidFunctionComponent = () => {\n const [showModal, setShowModal] = useState(false);\n const state = useSendbirdStateContext();\n const isOnline = state?.config?.isOnline;\n const disabled = !isOnline;\n const {\n overrideInviteUser,\n onBeforeCreateChannel,\n } = useChannelListContext();\n\n return (\n <>\n <IconButton\n height=\"32px\"\n width=\"32px\"\n onClick={() => {\n setShowModal(true);\n }}\n disabled={disabled}\n >\n <Icon\n type={IconTypes.CREATE}\n fillColor={IconColors.PRIMARY}\n width=\"24px\"\n height=\"24px\"\n />\n </IconButton>\n {\n showModal && (\n <CreateChannel\n onCancel={() => {\n setShowModal(false);\n }}\n overrideInviteUser={overrideInviteUser}\n onCreateChannel={() => {\n setShowModal(false);\n }}\n onBeforeCreateChannel={onBeforeCreateChannel}\n />\n )\n }\n </>\n );\n}\n\nexport default AddChannel;\n"],"names":["AddChannel","_b","useState","showModal","setShowModal","state","useSendbirdStateContext","isOnline","_a","config","disabled","_c","useChannelListContext","overrideInviteUser","onBeforeCreateChannel","React","IconTypes","CREATE","IconColors","PRIMARY"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AASO,IAAMA,UAAU,GAAgC,YAAA;;;AAC/C,EAAA,IAAAC,EAAA,GAA4BC,QAAQ,CAAC,KAAD,CAApC;AAAA,MAACC,SAAS,GAAAF,EAAA,CAAA,CAAA,CAAV;AAAA,MAAYG,YAAY,GAAAH,EAAA,CAAA,CAAA,CAAxB,CAAA;;EACN,IAAMI,KAAK,GAAGC,uBAAuB,EAArC,CAAA;AACA,EAAA,IAAMC,QAAQ,GAAG,CAAAC,EAAA,GAAAH,KAAK,KAAL,IAAA,IAAAA,KAAK,KAAL,KAAA,CAAA,GAAA,KAAA,CAAA,GAAAA,KAAK,CAAEI,MAAP,MAAe,IAAf,IAAeD,EAAA,KAAA,KAAA,CAAf,GAAe,KAAA,CAAf,GAAeA,EAAA,CAAAD,QAAhC,CAAA;EACA,IAAMG,QAAQ,GAAG,CAACH,QAAlB,CAAA;;EACM,IAAAI,EAAA,GAGFC,qBAAqB,EAHnB;AAAA,MACJC,kBAAkB,GAAAF,EAAA,CAAAE,kBADd;AAAA,MAEJC,qBAAqB,GAAAH,EAAA,CAAAG,qBAFjB,CAAA;;EAKN,oBACEC,cAAA,CAAA,aAAA,CAAAA,cAAA,CAAA,QAAA,EAAA,IAAA,eACEA,6BAAC,UAAD,EAAA;AACE,IAAA,MAAM,EAAC,MADT;AAEE,IAAA,KAAK,EAAC,MAFR;AAGE,IAAA,OAAO,EAAE,YAAA;MACPX,YAAY,CAAC,IAAD,CAAZ,CAAA;KAJJ;AAME,IAAA,QAAQ,EAAEM,QAAAA;AANZ,GAAA,eAQEK,6BAAC,IAAD,EAAA;IACE,IAAI,EAAEC,SAAS,CAACC,MADlB;IAEE,SAAS,EAAEC,UAAU,CAACC,OAFxB;AAGE,IAAA,KAAK,EAAC,MAHR;AAIE,IAAA,MAAM,EAAC,MAAA;AAJT,GAAA,CARF,CADF,EAiBIhB,SAAS,iBACPY,6BAAC,aAAD,EAAA;AACE,IAAA,QAAQ,EAAE,YAAA;MACRX,YAAY,CAAC,KAAD,CAAZ,CAAA;KAFJ;AAIE,IAAA,kBAAkB,EAAES,kBAJtB;AAKE,IAAA,eAAe,EAAE,YAAA;MACfT,YAAY,CAAC,KAAD,CAAZ,CAAA;KANJ;AAQE,IAAA,qBAAqB,EAAEU,qBAAAA;AARzB,GAAA,CAlBN,CADF,CAAA;AAiCD;;;;"}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import React__default, { useContext } from 'react';
|
|
2
|
-
import { a as LocalizationContext } from '../../LocalizationContext-
|
|
2
|
+
import { a as LocalizationContext } from '../../LocalizationContext-646420ca.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-aa29a843.js';
|
|
5
5
|
import Avatar from '../../ui/Avatar.js';
|
|
6
|
-
import '../../stringSet-
|
|
7
|
-
import '../../index-
|
|
6
|
+
import '../../stringSet-ea4aeced.js';
|
|
7
|
+
import '../../index-5e057577.js';
|
|
8
8
|
import '../../withSendbird.js';
|
|
9
|
-
import '../../_rollupPluginBabelHelpers-
|
|
9
|
+
import '../../_rollupPluginBabelHelpers-5827233e.js';
|
|
10
10
|
import 'prop-types';
|
|
11
|
-
import '../../tslib.es6-
|
|
11
|
+
import '../../tslib.es6-ca21063f.js';
|
|
12
12
|
import '../../ui/ImageRenderer.js';
|
|
13
13
|
import '../../ui/Icon.js';
|
|
14
|
-
import '../../uuid-
|
|
14
|
+
import '../../uuid-e2d2f65c.js';
|
|
15
15
|
|
|
16
16
|
var ChannelListHeader = function (_a) {
|
|
17
17
|
var renderHeader = _a.renderHeader,
|
|
@@ -3,68 +3,68 @@ 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-9f51ca7a.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-9e5cf819.js';
|
|
10
|
+
import '../../LocalizationContext-646420ca.js';
|
|
11
|
+
import '../../stringSet-ea4aeced.js';
|
|
12
|
+
import '../../index-5e057577.js';
|
|
13
|
+
import '../../index-aa29a843.js';
|
|
14
14
|
import 'prop-types';
|
|
15
15
|
import '../../ui/Avatar.js';
|
|
16
|
-
import '../../tslib.es6-
|
|
16
|
+
import '../../tslib.es6-ca21063f.js';
|
|
17
17
|
import '../../ui/ImageRenderer.js';
|
|
18
18
|
import '../../ui/Icon.js';
|
|
19
|
-
import '../../uuid-
|
|
19
|
+
import '../../uuid-e2d2f65c.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-4a26fc5d.js';
|
|
24
24
|
import '../../sendbirdSelectors.js';
|
|
25
|
-
import '../../topics-
|
|
26
|
-
import '../../utils-
|
|
25
|
+
import '../../topics-2b0b1403.js';
|
|
26
|
+
import '../../utils-3f271584.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-44342614.js';
|
|
31
31
|
import '../../ui/Button.js';
|
|
32
|
-
import '../../MediaQueryContext-
|
|
32
|
+
import '../../MediaQueryContext-1441c35c.js';
|
|
33
33
|
import '../../ui/UserListItem.js';
|
|
34
|
-
import '../../UserProfileContext-
|
|
34
|
+
import '../../UserProfileContext-eb7f4891.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-100b143d.js';
|
|
41
41
|
import '../../utils/message/getOutgoingMessageState.js';
|
|
42
42
|
import '../../CreateChannel/components/SelectChannelType.js';
|
|
43
|
-
import '../../_rollupPluginBabelHelpers-
|
|
43
|
+
import '../../_rollupPluginBabelHelpers-5827233e.js';
|
|
44
44
|
import '../../ui/ChannelAvatar.js';
|
|
45
|
-
import '../../utils-
|
|
45
|
+
import '../../utils-2088448e.js';
|
|
46
46
|
import '../../ui/Badge.js';
|
|
47
|
-
import '../../index-
|
|
48
|
-
import '../../index-
|
|
47
|
+
import '../../index-dc672161.js';
|
|
48
|
+
import '../../index-2e23c452.js';
|
|
49
49
|
import '../../ui/Loader.js';
|
|
50
|
-
import '../../index-
|
|
51
|
-
import '../../index-
|
|
50
|
+
import '../../index-dd2a9d44.js';
|
|
51
|
+
import '../../index-561ddd27.js';
|
|
52
52
|
import '../../ui/MentionUserLabel.js';
|
|
53
53
|
import '../../ui/TextButton.js';
|
|
54
|
-
import '../../color-
|
|
54
|
+
import '../../color-9754a8a3.js';
|
|
55
55
|
import '../../Channel/components/TypingIndicator.js';
|
|
56
56
|
import '@sendbird/chat/groupChannel';
|
|
57
|
-
import '../../ChannelProvider-
|
|
58
|
-
import '../../compareIds-
|
|
59
|
-
import '../../const-
|
|
57
|
+
import '../../ChannelProvider-19d75ee9.js';
|
|
58
|
+
import '../../compareIds-5ff919a8.js';
|
|
59
|
+
import '../../const-21dcd857.js';
|
|
60
60
|
import '@sendbird/chat/message';
|
|
61
61
|
import '../../ui/ReactionButton.js';
|
|
62
|
-
import '../../consts-
|
|
63
|
-
import '../../useLongPress-
|
|
62
|
+
import '../../consts-20a8f693.js';
|
|
63
|
+
import '../../useLongPress-0dccc5ca.js';
|
|
64
64
|
import '../../withSendbird.js';
|
|
65
|
-
import '../../index-
|
|
65
|
+
import '../../index-82382d4a.js';
|
|
66
66
|
import '../../ui/Input.js';
|
|
67
|
-
import '../../actionTypes-
|
|
67
|
+
import '../../actionTypes-42080a5c.js';
|
|
68
68
|
|
|
69
69
|
const isAboutSame = (a, b, px) => Math.abs(a - b) <= px;
|
|
70
70
|
|
|
@@ -1,51 +1,51 @@
|
|
|
1
|
-
import { a as _extends } from '../../_rollupPluginBabelHelpers-
|
|
2
|
-
import { _ as __assign } from '../../tslib.es6-
|
|
1
|
+
import { a as _extends } from '../../_rollupPluginBabelHelpers-5827233e.js';
|
|
2
|
+
import { _ as __assign } from '../../tslib.es6-ca21063f.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-aa29a843.js';
|
|
8
|
+
import { g as getChannelTitle, a as getTotalMembers, M as MessageStatus, b as getLastMessageCreatedAt, c as getLastMessage, d as getChannelUnreadMessageCount } from '../../index-dc672161.js';
|
|
9
9
|
import useSendbirdStateContext from '../../useSendbirdStateContext.js';
|
|
10
|
-
import { u as useLocalization } from '../../LocalizationContext-
|
|
10
|
+
import { u as useLocalization } from '../../LocalizationContext-646420ca.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-9f51ca7a.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-100b143d.js';
|
|
17
|
+
import { u as useMediaQueryContext } from '../../MediaQueryContext-1441c35c.js';
|
|
18
|
+
import { u as useLongPress } from '../../useLongPress-0dccc5ca.js';
|
|
19
19
|
import '../../ui/Avatar.js';
|
|
20
20
|
import '../../ui/ImageRenderer.js';
|
|
21
|
-
import '../../uuid-
|
|
22
|
-
import '../../utils-
|
|
21
|
+
import '../../uuid-e2d2f65c.js';
|
|
22
|
+
import '../../utils-2088448e.js';
|
|
23
23
|
import 'prop-types';
|
|
24
|
-
import '../../stringSet-
|
|
25
|
-
import '../../index-
|
|
26
|
-
import '../../index-
|
|
24
|
+
import '../../stringSet-ea4aeced.js';
|
|
25
|
+
import '../../index-2e23c452.js';
|
|
26
|
+
import '../../index-5e057577.js';
|
|
27
27
|
import '../../ui/Loader.js';
|
|
28
28
|
import '../../utils/message/getOutgoingMessageState.js';
|
|
29
|
-
import '../../index-
|
|
30
|
-
import '../../index-
|
|
29
|
+
import '../../index-dd2a9d44.js';
|
|
30
|
+
import '../../index-561ddd27.js';
|
|
31
31
|
import '../../withSendbird.js';
|
|
32
32
|
import 'react-dom';
|
|
33
|
-
import '../../index-
|
|
33
|
+
import '../../index-44342614.js';
|
|
34
34
|
import '../../ui/Button.js';
|
|
35
35
|
import '../../ui/IconButton.js';
|
|
36
|
-
import '../../color-
|
|
36
|
+
import '../../color-9754a8a3.js';
|
|
37
37
|
import '@sendbird/chat/groupChannel';
|
|
38
|
-
import '../../topics-
|
|
39
|
-
import '../../utils-
|
|
40
|
-
import '../../UserProfileContext-
|
|
41
|
-
import '../../ChannelProvider-
|
|
42
|
-
import '../../compareIds-
|
|
43
|
-
import '../../const-
|
|
38
|
+
import '../../topics-2b0b1403.js';
|
|
39
|
+
import '../../utils-3f271584.js';
|
|
40
|
+
import '../../UserProfileContext-eb7f4891.js';
|
|
41
|
+
import '../../ChannelProvider-19d75ee9.js';
|
|
42
|
+
import '../../compareIds-5ff919a8.js';
|
|
43
|
+
import '../../const-21dcd857.js';
|
|
44
44
|
import '@sendbird/chat/message';
|
|
45
45
|
import '../../ui/ContextMenu.js';
|
|
46
46
|
import '../../ui/SortByRow.js';
|
|
47
47
|
import '../../ui/ReactionButton.js';
|
|
48
|
-
import '../../consts-
|
|
48
|
+
import '../../consts-20a8f693.js';
|
|
49
49
|
|
|
50
50
|
var ChannelPreview = function (_a) {
|
|
51
51
|
var _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
@@ -136,12 +136,12 @@ var ChannelPreview = function (_a) {
|
|
|
136
136
|
fillColor: IconColors.PRIMARY,
|
|
137
137
|
height: 12,
|
|
138
138
|
width: 12
|
|
139
|
-
}))),
|
|
139
|
+
}))), !(channel === null || channel === void 0 ? void 0 : channel.isEphemeral) && isMessageStatusEnabled && /*#__PURE__*/React__default.createElement(MessageStatus, {
|
|
140
140
|
className: "sendbird-channel-preview__content__upper__last-message-at",
|
|
141
141
|
channel: channel,
|
|
142
142
|
message: channel === null || channel === void 0 ? void 0 : channel.lastMessage,
|
|
143
143
|
isDateSeparatorConsidered: false
|
|
144
|
-
}) : /*#__PURE__*/React__default.createElement(Label, {
|
|
144
|
+
}), !(channel === null || channel === void 0 ? void 0 : channel.isEphemeral) && !isMessageStatusEnabled && /*#__PURE__*/React__default.createElement(Label, {
|
|
145
145
|
className: "sendbird-channel-preview__content__upper__last-message-at",
|
|
146
146
|
type: LabelTypography.CAPTION_3,
|
|
147
147
|
color: LabelColors.ONBACKGROUND_2
|
|
@@ -157,7 +157,7 @@ var ChannelPreview = function (_a) {
|
|
|
157
157
|
color: LabelColors.ONBACKGROUND_3
|
|
158
158
|
}, isChannelTyping && /*#__PURE__*/React__default.createElement(TypingIndicatorText, {
|
|
159
159
|
members: channel === null || channel === void 0 ? void 0 : channel.getTypingUsers()
|
|
160
|
-
}), !isChannelTyping && !isVoiceMessage(channel === null || channel === void 0 ? void 0 : channel.lastMessage) && getLastMessage(channel) + (isEditedMessage(channel === null || channel === void 0 ? void 0 : channel.lastMessage) ? " ".concat(stringSet.MESSAGE_EDITED) : ''), !isChannelTyping && isVoiceMessage(channel === null || channel === void 0 ? void 0 : channel.lastMessage) && stringSet.VOICE_MESSAGE), /*#__PURE__*/React__default.createElement("div", {
|
|
160
|
+
}), !isChannelTyping && !isVoiceMessage(channel === null || channel === void 0 ? void 0 : channel.lastMessage) && getLastMessage(channel) + (isEditedMessage(channel === null || channel === void 0 ? void 0 : channel.lastMessage) ? " ".concat(stringSet.MESSAGE_EDITED) : ''), !isChannelTyping && isVoiceMessage(channel === null || channel === void 0 ? void 0 : channel.lastMessage) && stringSet.VOICE_MESSAGE), !(channel === null || channel === void 0 ? void 0 : channel.isEphemeral) && /*#__PURE__*/React__default.createElement("div", {
|
|
161
161
|
className: "sendbird-channel-preview__content__lower__unread-message-count"
|
|
162
162
|
}, isMentionEnabled && (channel === null || channel === void 0 ? void 0 : channel.unreadMentionCount) > 0 ? /*#__PURE__*/React__default.createElement(MentionUserLabel, {
|
|
163
163
|
className: "sendbird-channel-preview__content__lower__unread-message-count__mention",
|