@sendbird/uikit-react 3.6.3 → 3.6.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 +56 -52
- package/App.js.map +1 -1
- package/CHANGELOG.md +10 -0
- package/Channel/components/ChannelHeader.js +19 -19
- package/Channel/components/ChannelUI.js +41 -41
- package/Channel/components/FileViewer.js +15 -15
- package/Channel/components/FrozenNotification.js +4 -4
- package/Channel/components/Message.js +36 -36
- package/Channel/components/MessageInput.js +29 -29
- package/Channel/components/MessageList.js +37 -37
- 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 +12 -12
- package/Channel.js +41 -41
- package/ChannelList/components/AddChannel.js +14 -14
- package/ChannelList/components/ChannelListHeader.js +6 -6
- package/ChannelList/components/ChannelListUI.js +30 -30
- package/ChannelList/components/ChannelPreview.js +26 -26
- package/ChannelList/components/ChannelPreviewAction.js +13 -13
- package/ChannelList/context.js +7 -7
- package/ChannelList.js +30 -30
- package/{ChannelListProvider-1f3a3b98.js → ChannelListProvider-0605a997.js} +7 -7
- package/{ChannelListProvider-1f3a3b98.js.map → ChannelListProvider-0605a997.js.map} +1 -1
- package/{ChannelProvider-5c274c35.js → ChannelProvider-498954bf.js} +15 -15
- package/ChannelProvider-498954bf.js.map +1 -0
- package/ChannelSettings/components/ChannelProfile.js +11 -11
- package/ChannelSettings/components/ChannelSettingsUI.js +17 -17
- package/ChannelSettings/components/EditDetailsModal.js +11 -11
- package/ChannelSettings/components/LeaveChannel.js +11 -11
- package/ChannelSettings/components/ModerationPanel.js +14 -14
- package/ChannelSettings/components/UserListItem.js +10 -10
- package/ChannelSettings/components/UserPanel.js +13 -13
- package/ChannelSettings/context.js +3 -3
- package/ChannelSettings.js +17 -17
- package/CreateChannel/components/CreateChannelUI.js +13 -13
- package/CreateChannel/components/InviteUsers.js +13 -13
- package/CreateChannel/components/SelectChannelType.js +10 -10
- package/CreateChannel/context.js +4 -4
- package/CreateChannel.js +13 -13
- package/{CreateChannelProvider-7c210c5c.js → CreateChannelProvider-640f4660.js} +1 -1
- package/{CreateChannelProvider-7c210c5c.js.map → CreateChannelProvider-640f4660.js.map} +1 -1
- package/CreateOpenChannel/components/CreateOpenChannelUI.js +9 -9
- package/CreateOpenChannel/context.js +1 -1
- package/CreateOpenChannel.js +9 -9
- package/EditUserProfile/components/EditUserProfileUI.js +12 -12
- package/EditUserProfile.js +12 -12
- package/{LocalizationContext-946f1522.js → LocalizationContext-b2390bf8.js} +3 -3
- package/{LocalizationContext-946f1522.js.map → LocalizationContext-b2390bf8.js.map} +1 -1
- package/{MediaQueryContext-3082308b.js → MediaQueryContext-b4904a2e.js} +1 -1
- package/{MediaQueryContext-3082308b.js.map → MediaQueryContext-b4904a2e.js.map} +1 -1
- package/{MemberList-56b35618.js → MemberList-62532bf1.js} +5 -5
- package/{MemberList-56b35618.js.map → MemberList-62532bf1.js.map} +1 -1
- package/MessageSearch/components/MessageSearchUI.js +11 -11
- package/MessageSearch/context.js +1 -1
- package/MessageSearch.js +11 -11
- package/OpenChannel/components/FrozenChannelNotification.js +4 -4
- package/OpenChannel/components/OpenChannelHeader.js +12 -12
- package/OpenChannel/components/OpenChannelInput.js +19 -19
- package/OpenChannel/components/OpenChannelMessage.js +27 -27
- package/OpenChannel/components/OpenChannelMessageList.js +31 -31
- package/OpenChannel/components/OpenChannelUI.js +31 -31
- package/OpenChannel/context.js +8 -8
- package/OpenChannel.js +31 -31
- package/OpenChannelList/components/OpenChannelListUI.js +13 -13
- package/OpenChannelList/components/OpenChannelPreview.js +3 -3
- package/OpenChannelList/context.js +3 -3
- package/OpenChannelList.js +13 -13
- package/{OpenChannelListProvider-3e2d0231.js → OpenChannelListProvider-bdc39bee.js} +3 -3
- package/{OpenChannelListProvider-3e2d0231.js.map → OpenChannelListProvider-bdc39bee.js.map} +1 -1
- package/{OpenChannelProvider-1015964c.js → OpenChannelProvider-d0f0bf3a.js} +7 -7
- package/{OpenChannelProvider-1015964c.js.map → OpenChannelProvider-d0f0bf3a.js.map} +1 -1
- package/OpenChannelSettings/components/EditDetailsModal.js +12 -12
- package/OpenChannelSettings/components/OpenChannelProfile.js +12 -12
- package/OpenChannelSettings/components/OpenChannelSettingsUI.js +17 -17
- package/OpenChannelSettings/components/OperatorUI.js +16 -16
- package/OpenChannelSettings/components/ParticipantUI.js +14 -14
- package/OpenChannelSettings/context.js +3 -3
- package/OpenChannelSettings.js +17 -17
- package/{RemoveMessageModal-0c26de36.js → RemoveMessageModal-c9159223.js} +3 -3
- package/{RemoveMessageModal-0c26de36.js.map → RemoveMessageModal-c9159223.js.map} +1 -1
- package/SendbirdProvider.js +28 -22
- package/SendbirdProvider.js.map +1 -1
- package/Thread/components/ParentMessageInfo.js +33 -33
- package/Thread/components/ParentMessageInfoItem.js +21 -21
- package/Thread/components/ThreadHeader.js +6 -6
- package/Thread/components/ThreadList.js +36 -36
- package/Thread/components/ThreadListItem.js +36 -36
- package/Thread/components/ThreadMessageInput.js +30 -30
- package/Thread/components/ThreadUI.js +40 -40
- package/Thread/context.js +8 -8
- package/Thread.js +40 -40
- package/{ThreadProvider-d0b84f35.js → ThreadProvider-2bdeb95d.js} +7 -7
- package/{ThreadProvider-d0b84f35.js.map → ThreadProvider-2bdeb95d.js.map} +1 -1
- package/{UserProfileContext-00a2876c.js → UserProfileContext-d5787c95.js} +1 -1
- package/{UserProfileContext-00a2876c.js.map → UserProfileContext-d5787c95.js.map} +1 -1
- package/{VoiceMessageInputWrapper-a5804e24.js → VoiceMessageInputWrapper-4138830b.js} +7 -7
- package/{VoiceMessageInputWrapper-a5804e24.js.map → VoiceMessageInputWrapper-4138830b.js.map} +1 -1
- package/VoicePlayer/context.js +3 -3
- package/VoicePlayer/useVoicePlayer.js +9 -9
- package/VoiceRecorder/context.js +9 -9
- package/VoiceRecorder/useVoiceRecorder.js +8 -8
- package/{WebAudioUtils-eae97f80.js → WebAudioUtils-7c8d9b9c.js} +2 -2
- package/{WebAudioUtils-eae97f80.js.map → WebAudioUtils-7c8d9b9c.js.map} +1 -1
- package/{_rollupPluginBabelHelpers-b483a7d2.js → _rollupPluginBabelHelpers-4f8ebde4.js} +1 -1
- package/_rollupPluginBabelHelpers-4f8ebde4.js.map +1 -0
- package/{actionTypes-cb0b031b.js → actionTypes-42a0cb89.js} +1 -1
- package/{actionTypes-cb0b031b.js.map → actionTypes-42a0cb89.js.map} +1 -1
- package/cjs/App.js +56 -52
- package/cjs/App.js.map +1 -1
- package/cjs/Channel/components/ChannelHeader.js +19 -19
- package/cjs/Channel/components/ChannelUI.js +41 -41
- package/cjs/Channel/components/FileViewer.js +15 -15
- package/cjs/Channel/components/FrozenNotification.js +4 -4
- package/cjs/Channel/components/Message.js +36 -36
- package/cjs/Channel/components/MessageInput.js +29 -29
- package/cjs/Channel/components/MessageList.js +37 -37
- 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 +12 -12
- package/cjs/Channel.js +41 -41
- package/cjs/ChannelList/components/AddChannel.js +14 -14
- package/cjs/ChannelList/components/ChannelListHeader.js +6 -6
- package/cjs/ChannelList/components/ChannelListUI.js +30 -30
- package/cjs/ChannelList/components/ChannelPreview.js +26 -26
- package/cjs/ChannelList/components/ChannelPreviewAction.js +13 -13
- package/cjs/ChannelList/context.js +7 -7
- package/cjs/ChannelList.js +30 -30
- package/cjs/{ChannelListProvider-b45b79f5.js → ChannelListProvider-84fdbeba.js} +7 -7
- package/cjs/{ChannelListProvider-b45b79f5.js.map → ChannelListProvider-84fdbeba.js.map} +1 -1
- package/cjs/{ChannelProvider-7abd9fa3.js → ChannelProvider-39d1e9a4.js} +15 -15
- package/cjs/ChannelProvider-39d1e9a4.js.map +1 -0
- package/cjs/ChannelSettings/components/ChannelProfile.js +11 -11
- package/cjs/ChannelSettings/components/ChannelSettingsUI.js +17 -17
- package/cjs/ChannelSettings/components/EditDetailsModal.js +11 -11
- package/cjs/ChannelSettings/components/LeaveChannel.js +11 -11
- package/cjs/ChannelSettings/components/ModerationPanel.js +14 -14
- package/cjs/ChannelSettings/components/UserListItem.js +10 -10
- package/cjs/ChannelSettings/components/UserPanel.js +13 -13
- package/cjs/ChannelSettings/context.js +3 -3
- package/cjs/ChannelSettings.js +17 -17
- package/cjs/CreateChannel/components/CreateChannelUI.js +13 -13
- package/cjs/CreateChannel/components/InviteUsers.js +13 -13
- package/cjs/CreateChannel/components/SelectChannelType.js +10 -10
- package/cjs/CreateChannel/context.js +4 -4
- package/cjs/CreateChannel.js +13 -13
- package/cjs/{CreateChannelProvider-1cf31fc6.js → CreateChannelProvider-36e598db.js} +1 -1
- package/cjs/{CreateChannelProvider-1cf31fc6.js.map → CreateChannelProvider-36e598db.js.map} +1 -1
- package/cjs/CreateOpenChannel/components/CreateOpenChannelUI.js +9 -9
- package/cjs/CreateOpenChannel/context.js +1 -1
- package/cjs/CreateOpenChannel.js +9 -9
- package/cjs/EditUserProfile/components/EditUserProfileUI.js +12 -12
- package/cjs/EditUserProfile.js +12 -12
- package/cjs/{LocalizationContext-c014018b.js → LocalizationContext-8cc9717d.js} +3 -3
- package/cjs/{LocalizationContext-c014018b.js.map → LocalizationContext-8cc9717d.js.map} +1 -1
- package/cjs/{MediaQueryContext-aea0ce1a.js → MediaQueryContext-fad211ad.js} +1 -1
- package/cjs/{MediaQueryContext-aea0ce1a.js.map → MediaQueryContext-fad211ad.js.map} +1 -1
- package/cjs/{MemberList-c86e360b.js → MemberList-073f16cc.js} +5 -5
- package/cjs/{MemberList-c86e360b.js.map → MemberList-073f16cc.js.map} +1 -1
- package/cjs/MessageSearch/components/MessageSearchUI.js +11 -11
- package/cjs/MessageSearch/context.js +1 -1
- package/cjs/MessageSearch.js +11 -11
- package/cjs/OpenChannel/components/FrozenChannelNotification.js +4 -4
- package/cjs/OpenChannel/components/OpenChannelHeader.js +12 -12
- package/cjs/OpenChannel/components/OpenChannelInput.js +19 -19
- package/cjs/OpenChannel/components/OpenChannelMessage.js +27 -27
- package/cjs/OpenChannel/components/OpenChannelMessageList.js +31 -31
- package/cjs/OpenChannel/components/OpenChannelUI.js +31 -31
- package/cjs/OpenChannel/context.js +8 -8
- package/cjs/OpenChannel.js +31 -31
- package/cjs/OpenChannelList/components/OpenChannelListUI.js +13 -13
- package/cjs/OpenChannelList/components/OpenChannelPreview.js +3 -3
- package/cjs/OpenChannelList/context.js +3 -3
- package/cjs/OpenChannelList.js +13 -13
- package/cjs/{OpenChannelListProvider-6804c86a.js → OpenChannelListProvider-de00eec5.js} +3 -3
- package/cjs/{OpenChannelListProvider-6804c86a.js.map → OpenChannelListProvider-de00eec5.js.map} +1 -1
- package/cjs/{OpenChannelProvider-6ca34d20.js → OpenChannelProvider-946e4425.js} +7 -7
- package/cjs/{OpenChannelProvider-6ca34d20.js.map → OpenChannelProvider-946e4425.js.map} +1 -1
- package/cjs/OpenChannelSettings/components/EditDetailsModal.js +12 -12
- package/cjs/OpenChannelSettings/components/OpenChannelProfile.js +12 -12
- package/cjs/OpenChannelSettings/components/OpenChannelSettingsUI.js +17 -17
- package/cjs/OpenChannelSettings/components/OperatorUI.js +16 -16
- package/cjs/OpenChannelSettings/components/ParticipantUI.js +14 -14
- package/cjs/OpenChannelSettings/context.js +3 -3
- package/cjs/OpenChannelSettings.js +17 -17
- package/cjs/{RemoveMessageModal-443d81bf.js → RemoveMessageModal-e02d1dc0.js} +3 -3
- package/cjs/{RemoveMessageModal-443d81bf.js.map → RemoveMessageModal-e02d1dc0.js.map} +1 -1
- package/cjs/SendbirdProvider.js +28 -22
- package/cjs/SendbirdProvider.js.map +1 -1
- package/cjs/Thread/components/ParentMessageInfo.js +33 -33
- package/cjs/Thread/components/ParentMessageInfoItem.js +21 -21
- package/cjs/Thread/components/ThreadHeader.js +6 -6
- package/cjs/Thread/components/ThreadList.js +36 -36
- package/cjs/Thread/components/ThreadListItem.js +36 -36
- package/cjs/Thread/components/ThreadMessageInput.js +30 -30
- package/cjs/Thread/components/ThreadUI.js +40 -40
- package/cjs/Thread/context.js +8 -8
- package/cjs/Thread.js +40 -40
- package/cjs/{ThreadProvider-48a2b384.js → ThreadProvider-c83249cf.js} +7 -7
- package/cjs/{ThreadProvider-48a2b384.js.map → ThreadProvider-c83249cf.js.map} +1 -1
- package/cjs/{UserProfileContext-218e40b8.js → UserProfileContext-d993c96b.js} +1 -1
- package/cjs/{UserProfileContext-218e40b8.js.map → UserProfileContext-d993c96b.js.map} +1 -1
- package/cjs/{VoiceMessageInputWrapper-90c4bdb2.js → VoiceMessageInputWrapper-b46d3514.js} +7 -7
- package/cjs/{VoiceMessageInputWrapper-90c4bdb2.js.map → VoiceMessageInputWrapper-b46d3514.js.map} +1 -1
- package/cjs/VoicePlayer/context.js +3 -3
- package/cjs/VoicePlayer/useVoicePlayer.js +9 -9
- package/cjs/VoiceRecorder/context.js +9 -9
- package/cjs/VoiceRecorder/useVoiceRecorder.js +8 -8
- package/cjs/{WebAudioUtils-752880d0.js → WebAudioUtils-b81ee971.js} +2 -2
- package/cjs/{WebAudioUtils-752880d0.js.map → WebAudioUtils-b81ee971.js.map} +1 -1
- package/cjs/{_rollupPluginBabelHelpers-a2f03c55.js → _rollupPluginBabelHelpers-acf412a3.js} +1 -1
- package/cjs/_rollupPluginBabelHelpers-acf412a3.js.map +1 -0
- package/cjs/{actionTypes-12a94d6c.js → actionTypes-0755b8bb.js} +1 -1
- package/cjs/{actionTypes-12a94d6c.js.map → actionTypes-0755b8bb.js.map} +1 -1
- package/cjs/{color-e2978317.js → color-5cfb41c7.js} +1 -1
- package/cjs/{color-e2978317.js.map → color-5cfb41c7.js.map} +1 -1
- package/cjs/{compareIds-0f9de3a1.js → compareIds-784d9a4e.js} +1 -1
- package/cjs/{compareIds-0f9de3a1.js.map → compareIds-784d9a4e.js.map} +1 -1
- package/cjs/{const-2371a4db.js → const-a3e169f4.js} +1 -1
- package/cjs/{const-2371a4db.js.map → const-a3e169f4.js.map} +1 -1
- package/cjs/{const-fc4d15a8.js → const-b19292fd.js} +1 -1
- package/cjs/{const-fc4d15a8.js.map → const-b19292fd.js.map} +1 -1
- package/cjs/{consts-65d5b30a.js → consts-016f07ac.js} +1 -1
- package/cjs/{consts-65d5b30a.js.map → consts-016f07ac.js.map} +1 -1
- package/cjs/{consts-e09f89f0.js → consts-9641990e.js} +1 -1
- package/cjs/{consts-e09f89f0.js.map → consts-9641990e.js.map} +1 -1
- package/cjs/{consts-fb57db79.js → consts-d04401ad.js} +1 -1
- package/cjs/{consts-fb57db79.js.map → consts-d04401ad.js.map} +1 -1
- package/cjs/{consts-0374d4b1.js → consts-eb163887.js} +1 -1
- package/cjs/{consts-0374d4b1.js.map → consts-eb163887.js.map} +1 -1
- package/cjs/{context-5404064d.js → context-18074bb9.js} +2 -2
- package/cjs/{context-5404064d.js.map → context-18074bb9.js.map} +1 -1
- package/cjs/dist/index.css +94 -94
- package/cjs/dist/index.css.map +1 -1
- package/cjs/{index-b03881eb.js → index-0a0a6c08.js} +6 -6
- package/cjs/{index-b03881eb.js.map → index-0a0a6c08.js.map} +1 -1
- package/cjs/{index-449ba503.js → index-0e24aca4.js} +3 -3
- package/cjs/{index-449ba503.js.map → index-0e24aca4.js.map} +1 -1
- package/cjs/{index-347004c1.js → index-35633fb6.js} +2 -2
- package/cjs/{index-347004c1.js.map → index-35633fb6.js.map} +1 -1
- package/cjs/{index-ee440b53.js → index-3fc4f7d7.js} +2 -2
- package/cjs/{index-ee440b53.js.map → index-3fc4f7d7.js.map} +1 -1
- package/cjs/{index-b6aac2a6.js → index-63badba3.js} +6 -6
- package/cjs/{index-b6aac2a6.js.map → index-63badba3.js.map} +1 -1
- package/cjs/{index-fea92ea0.js → index-8029e07a.js} +1 -1
- package/cjs/{index-fea92ea0.js.map → index-8029e07a.js.map} +1 -1
- package/cjs/{index-451eee29.js → index-88a450f3.js} +2 -2
- package/cjs/{index-451eee29.js.map → index-88a450f3.js.map} +1 -1
- package/cjs/{index-513a30b7.js → index-90711a57.js} +3 -3
- package/cjs/{index-513a30b7.js.map → index-90711a57.js.map} +1 -1
- package/cjs/{index-3a1678b7.js → index-985a1afb.js} +3 -3
- package/cjs/{index-3a1678b7.js.map → index-985a1afb.js.map} +1 -1
- package/cjs/{index-f4d89559.js → index-a91b85d9.js} +2 -2
- package/cjs/{index-f4d89559.js.map → index-a91b85d9.js.map} +1 -1
- package/cjs/{index-45f1fd2f.js → index-bf8f9551.js} +2 -2
- package/cjs/{index-45f1fd2f.js.map → index-bf8f9551.js.map} +1 -1
- package/cjs/{index-b713c814.js → index-cb4e4067.js} +4 -4
- package/cjs/{index-b713c814.js.map → index-cb4e4067.js.map} +1 -1
- package/cjs/{index-035bdafb.js → index-d749c4c2.js} +1 -1
- package/cjs/{index-035bdafb.js.map → index-d749c4c2.js.map} +1 -1
- package/cjs/{index-10a942ae.js → index-db8116c0.js} +4 -4
- package/cjs/{index-10a942ae.js.map → index-db8116c0.js.map} +1 -1
- package/cjs/{index-dcbd98e1.js → index-f3784774.js} +5 -5
- package/cjs/{index-dcbd98e1.js.map → index-f3784774.js.map} +1 -1
- package/cjs/{index-4321dbbb.js → index-f6c6728e.js} +2 -2
- package/cjs/{index-4321dbbb.js.map → index-f6c6728e.js.map} +1 -1
- package/cjs/{index-016f7465.js → index-ff7b4cb6.js} +4 -4
- package/cjs/{index-016f7465.js.map → index-ff7b4cb6.js.map} +1 -1
- package/cjs/index.js +52 -52
- package/cjs/{index.module-81f6dfc4.js → index.module-e3392caa.js} +1 -1
- package/cjs/{index.module-81f6dfc4.js.map → index.module-e3392caa.js.map} +1 -1
- package/cjs/package.json +52 -0
- package/cjs/{resolvedReplyType-478d89dd.js → resolvedReplyType-930f5b54.js} +1 -1
- package/cjs/{resolvedReplyType-478d89dd.js.map → resolvedReplyType-930f5b54.js.map} +1 -1
- package/cjs/sendbirdSelectors.js +3 -3
- package/cjs/{stringSet-b0d09ab2.js → stringSet-ce782136.js} +1 -1
- package/cjs/{stringSet-b0d09ab2.js.map → stringSet-ce782136.js.map} +1 -1
- package/cjs/{tokenize-dd712668.js → tokenize-88b021e0.js} +2 -2
- package/cjs/{tokenize-dd712668.js.map → tokenize-88b021e0.js.map} +1 -1
- package/cjs/{topics-d64c7836.js → topics-e24ef339.js} +1 -1
- package/cjs/{topics-d64c7836.js.map → topics-e24ef339.js.map} +1 -1
- package/cjs/{types-81253512.js → types-9466af03.js} +1 -1
- package/cjs/{types-81253512.js.map → types-9466af03.js.map} +1 -1
- package/cjs/ui/Accordion.js +2 -2
- package/cjs/ui/AccordionGroup.js +2 -2
- package/cjs/ui/AdminMessage.js +2 -2
- package/cjs/ui/Avatar.js +1 -1
- package/cjs/ui/Badge.js +4 -4
- package/cjs/ui/BottomSheet.js +1 -1
- package/cjs/ui/Button.js +2 -2
- package/cjs/ui/ChannelAvatar.js +2 -2
- package/cjs/ui/ConnectionStatus.js +4 -4
- package/cjs/ui/ContextMenu.js +5 -5
- package/cjs/ui/DateSeparator.js +3 -3
- package/cjs/ui/EmojiReactions.js +13 -13
- package/cjs/ui/FileMessageItemBody.js +6 -6
- package/cjs/ui/FileViewer.js +8 -8
- package/cjs/ui/IconButton.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/MentionLabel.js +10 -10
- package/cjs/ui/MentionUserLabel.js +1 -1
- package/cjs/ui/MessageContent.js +28 -28
- package/cjs/ui/MessageInput.js +13 -13
- package/cjs/ui/MessageItemMenu.js +8 -8
- package/cjs/ui/MessageItemReactionMenu.js +8 -8
- package/cjs/ui/MessageSearchFileItem.js +10 -10
- package/cjs/ui/MessageSearchItem.js +8 -8
- package/cjs/ui/MessageStatus.js +10 -10
- package/cjs/ui/Modal.js +7 -7
- package/cjs/ui/OGMessageItemBody.js +14 -14
- package/cjs/ui/OpenChannelAdminMessage.js +2 -2
- package/cjs/ui/OpenChannelAvatar.js +5 -5
- package/cjs/ui/OpenchannelConversationHeader.js +6 -6
- package/cjs/ui/OpenchannelFileMessage.js +15 -15
- package/cjs/ui/OpenchannelOGMessage.js +18 -18
- package/cjs/ui/OpenchannelThumbnailMessage.js +14 -14
- package/cjs/ui/OpenchannelUserMessage.js +15 -15
- package/cjs/ui/PlaceHolder.js +5 -5
- 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 +2 -2
- package/cjs/ui/ReactionButton.js +4 -4
- package/cjs/ui/SortByRow.js +1 -1
- package/cjs/ui/TextButton.js +1 -1
- package/cjs/ui/TextMessageItemBody.js +14 -14
- package/cjs/ui/ThreadReplies.js +5 -5
- package/cjs/ui/ThumbnailMessageItemBody.js +5 -5
- package/cjs/ui/Toggle.js +1 -1
- package/cjs/ui/Tooltip.js +2 -2
- package/cjs/ui/UnknownMessageItemBody.js +6 -6
- package/cjs/ui/UserListItem.js +10 -10
- package/cjs/ui/UserProfile.js +9 -9
- package/cjs/ui/VoiceMessageItemBody.js +9 -9
- package/cjs/ui/VoiceMessgeInput.js +7 -7
- package/cjs/ui/Word.js +10 -10
- package/cjs/{useDirtyGetMentions-2f9462f1.js → useDirtyGetMentions-cc476482.js} +1 -1
- package/cjs/{useDirtyGetMentions-2f9462f1.js.map → useDirtyGetMentions-cc476482.js.map} +1 -1
- package/cjs/{useLongPress-d2e3654f.js → useLongPress-cf56e64a.js} +3 -3
- package/cjs/{useLongPress-d2e3654f.js.map → useLongPress-cf56e64a.js.map} +1 -1
- package/cjs/useSendbirdStateContext.js +1 -1
- package/cjs/utils/message/isVoiceMessage.js +2 -2
- package/cjs/{utils-29b5d4dd.js → utils-5aa0708e.js} +1 -1
- package/cjs/{utils-29b5d4dd.js.map → utils-5aa0708e.js.map} +1 -1
- package/cjs/{utils-799ac906.js → utils-68387d1c.js} +1 -1
- package/cjs/{utils-799ac906.js.map → utils-68387d1c.js.map} +1 -1
- package/cjs/{utils-d19c24e7.js → utils-d9c99217.js} +1 -1
- package/cjs/{utils-d19c24e7.js.map → utils-d9c99217.js.map} +1 -1
- package/cjs/{utils-f4dc128f.js → utils-e6c788f1.js} +2 -2
- package/cjs/{utils-f4dc128f.js.map → utils-e6c788f1.js.map} +1 -1
- package/cjs/{uuid-3462be83.js → uuid-1eceb0c8.js} +1 -1
- package/cjs/{uuid-3462be83.js.map → uuid-1eceb0c8.js.map} +1 -1
- package/cjs/withSendbird.js +1 -1
- package/{color-10f2cc07.js → color-9519a526.js} +1 -1
- package/{color-10f2cc07.js.map → color-9519a526.js.map} +1 -1
- package/{compareIds-ccc43f55.js → compareIds-7800035f.js} +1 -1
- package/{compareIds-ccc43f55.js.map → compareIds-7800035f.js.map} +1 -1
- package/{const-767f4b57.js → const-922f4cc5.js} +1 -1
- package/{const-767f4b57.js.map → const-922f4cc5.js.map} +1 -1
- package/{const-890116eb.js → const-97fac210.js} +1 -1
- package/{const-890116eb.js.map → const-97fac210.js.map} +1 -1
- package/{consts-7e4768e1.js → consts-33537265.js} +1 -1
- package/{consts-7e4768e1.js.map → consts-33537265.js.map} +1 -1
- package/{consts-da1e0e7e.js → consts-8ce876a0.js} +1 -1
- package/{consts-da1e0e7e.js.map → consts-8ce876a0.js.map} +1 -1
- package/{consts-1f057d2b.js → consts-cdccf171.js} +1 -1
- package/{consts-1f057d2b.js.map → consts-cdccf171.js.map} +1 -1
- package/{consts-0aca4c3a.js → consts-e3e03145.js} +1 -1
- package/{consts-0aca4c3a.js.map → consts-e3e03145.js.map} +1 -1
- package/{context-d11ebc96.js → context-8712877d.js} +2 -2
- package/{context-d11ebc96.js.map → context-8712877d.js.map} +1 -1
- package/dist/index.css +94 -94
- package/dist/index.css.map +1 -1
- package/{index-73542816.js → index-017c5a7d.js} +6 -6
- package/{index-73542816.js.map → index-017c5a7d.js.map} +1 -1
- package/{index-cd1c87b8.js → index-0d1114ee.js} +3 -3
- package/{index-cd1c87b8.js.map → index-0d1114ee.js.map} +1 -1
- package/{index-ffea1bf6.js → index-1d741554.js} +6 -6
- package/{index-ffea1bf6.js.map → index-1d741554.js.map} +1 -1
- package/{index-e090ec3e.js → index-1fefb8e6.js} +2 -2
- package/{index-e090ec3e.js.map → index-1fefb8e6.js.map} +1 -1
- package/{index-1f96f97d.js → index-28ad85ee.js} +2 -2
- package/{index-1f96f97d.js.map → index-28ad85ee.js.map} +1 -1
- package/{index-1d39c765.js → index-2dc53ac2.js} +2 -2
- package/{index-1d39c765.js.map → index-2dc53ac2.js.map} +1 -1
- package/{index-f7ed4f21.js → index-39306dfb.js} +2 -2
- package/{index-f7ed4f21.js.map → index-39306dfb.js.map} +1 -1
- package/{index-ea2470a3.js → index-4372fcec.js} +2 -2
- package/{index-ea2470a3.js.map → index-4372fcec.js.map} +1 -1
- package/{index-eb11c99c.js → index-484b4a5d.js} +4 -4
- package/{index-eb11c99c.js.map → index-484b4a5d.js.map} +1 -1
- package/{index-e10c31c8.js → index-49ff1ed1.js} +3 -3
- package/{index-e10c31c8.js.map → index-49ff1ed1.js.map} +1 -1
- package/{index-c764dea7.js → index-67135027.js} +1 -1
- package/{index-c764dea7.js.map → index-67135027.js.map} +1 -1
- package/{index-5ad0eb61.js → index-6a9fb317.js} +5 -5
- package/{index-5ad0eb61.js.map → index-6a9fb317.js.map} +1 -1
- package/{index-2862f2a8.js → index-7d496661.js} +3 -3
- package/{index-2862f2a8.js.map → index-7d496661.js.map} +1 -1
- package/{index-63ad98b8.js → index-896545a0.js} +1 -1
- package/{index-63ad98b8.js.map → index-896545a0.js.map} +1 -1
- package/{index-bccf4a37.js → index-8aa7880e.js} +4 -4
- package/{index-bccf4a37.js.map → index-8aa7880e.js.map} +1 -1
- package/{index-343ce5b1.js → index-ebab784c.js} +4 -4
- package/{index-343ce5b1.js.map → index-ebab784c.js.map} +1 -1
- package/{index-5e5ae563.js → index-eefb44ba.js} +2 -2
- package/{index-5e5ae563.js.map → index-eefb44ba.js.map} +1 -1
- package/index.d.ts +1 -1
- package/index.js +52 -52
- package/{index.module-44f80561.js → index.module-2885df8c.js} +1 -1
- package/{index.module-44f80561.js.map → index.module-2885df8c.js.map} +1 -1
- package/package.json +3 -3
- package/{resolvedReplyType-335fb072.js → resolvedReplyType-e00d5fd9.js} +1 -1
- package/{resolvedReplyType-335fb072.js.map → resolvedReplyType-e00d5fd9.js.map} +1 -1
- package/sendbirdSelectors.js +3 -3
- package/{stringSet-4a6632f7.js → stringSet-eefbc798.js} +1 -1
- package/{stringSet-4a6632f7.js.map → stringSet-eefbc798.js.map} +1 -1
- package/{tokenize-ad9d76bd.js → tokenize-b97bc343.js} +2 -2
- package/{tokenize-ad9d76bd.js.map → tokenize-b97bc343.js.map} +1 -1
- package/{topics-6de6eb25.js → topics-f3629ea0.js} +1 -1
- package/{topics-6de6eb25.js.map → topics-f3629ea0.js.map} +1 -1
- package/{types-9f55bf02.js → types-234b17b9.js} +1 -1
- package/{types-9f55bf02.js.map → types-234b17b9.js.map} +1 -1
- package/ui/Accordion.js +2 -2
- package/ui/AccordionGroup.js +2 -2
- package/ui/AdminMessage.js +2 -2
- package/ui/Avatar.js +1 -1
- package/ui/Badge.js +4 -4
- package/ui/BottomSheet.js +1 -1
- package/ui/Button.js +2 -2
- package/ui/ChannelAvatar.js +2 -2
- package/ui/ConnectionStatus.js +4 -4
- package/ui/ContextMenu.js +5 -5
- package/ui/DateSeparator.js +3 -3
- package/ui/EmojiReactions.js +13 -13
- package/ui/FileMessageItemBody.js +6 -6
- package/ui/FileViewer.js +8 -8
- package/ui/IconButton.js +1 -1
- package/ui/Input.js +2 -2
- package/ui/Label.js +2 -2
- package/ui/LinkLabel.js +2 -2
- package/ui/MentionLabel.js +10 -10
- package/ui/MentionUserLabel.js +1 -1
- package/ui/MessageContent.js +28 -28
- package/ui/MessageInput.js +13 -13
- package/ui/MessageItemMenu.js +8 -8
- package/ui/MessageItemReactionMenu.js +8 -8
- package/ui/MessageSearchFileItem.js +10 -10
- package/ui/MessageSearchItem.js +8 -8
- package/ui/MessageStatus.js +10 -10
- package/ui/Modal.js +7 -7
- package/ui/OGMessageItemBody.js +14 -14
- package/ui/OpenChannelAdminMessage.js +2 -2
- package/ui/OpenChannelAvatar.js +5 -5
- package/ui/OpenchannelConversationHeader.js +6 -6
- package/ui/OpenchannelFileMessage.js +15 -15
- package/ui/OpenchannelOGMessage.js +18 -18
- package/ui/OpenchannelThumbnailMessage.js +14 -14
- package/ui/OpenchannelUserMessage.js +15 -15
- package/ui/PlaceHolder.js +5 -5
- package/ui/PlaybackTime.js +2 -2
- package/ui/QuoteMessage.js +6 -6
- package/ui/QuoteMessageInput.js +6 -6
- package/ui/ReactionBadge.js +2 -2
- package/ui/ReactionButton.js +4 -4
- package/ui/SortByRow.js +1 -1
- package/ui/TextButton.js +1 -1
- package/ui/TextMessageItemBody.js +14 -14
- package/ui/ThreadReplies.js +5 -5
- package/ui/ThumbnailMessageItemBody.js +5 -5
- package/ui/Toggle.js +1 -1
- package/ui/Tooltip.js +2 -2
- package/ui/UnknownMessageItemBody.js +6 -6
- package/ui/UserListItem.js +10 -10
- package/ui/UserProfile.js +9 -9
- package/ui/VoiceMessageItemBody.js +9 -9
- package/ui/VoiceMessgeInput.js +7 -7
- package/ui/Word.js +10 -10
- package/{useDirtyGetMentions-b20104b0.js → useDirtyGetMentions-5f675b6c.js} +1 -1
- package/{useDirtyGetMentions-b20104b0.js.map → useDirtyGetMentions-5f675b6c.js.map} +1 -1
- package/{useLongPress-81ea622f.js → useLongPress-cb2d23be.js} +3 -3
- package/{useLongPress-81ea622f.js.map → useLongPress-cb2d23be.js.map} +1 -1
- package/useSendbirdStateContext.js +1 -1
- package/utils/message/isVoiceMessage.js +2 -2
- package/{utils-df79f9e8.js → utils-3b418b35.js} +1 -1
- package/{utils-df79f9e8.js.map → utils-3b418b35.js.map} +1 -1
- package/{utils-43a3a6c6.js → utils-46470b6b.js} +2 -2
- package/{utils-43a3a6c6.js.map → utils-46470b6b.js.map} +1 -1
- package/{utils-d062897c.js → utils-9e1bd161.js} +1 -1
- package/{utils-d062897c.js.map → utils-9e1bd161.js.map} +1 -1
- package/{utils-834dac5f.js → utils-b53fe532.js} +1 -1
- package/{utils-834dac5f.js.map → utils-b53fe532.js.map} +1 -1
- package/{uuid-79fbb889.js → uuid-a79b5ba8.js} +1 -1
- package/{uuid-79fbb889.js.map → uuid-a79b5ba8.js.map} +1 -1
- package/withSendbird.js +1 -1
- package/ChannelProvider-5c274c35.js.map +0 -1
- package/_rollupPluginBabelHelpers-b483a7d2.js.map +0 -1
- package/cjs/ChannelProvider-7abd9fa3.js.map +0 -1
- package/cjs/_rollupPluginBabelHelpers-a2f03c55.js.map +0 -1
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import { b as _extends, _ as _objectSpread2 } from '../_rollupPluginBabelHelpers-
|
|
1
|
+
import { b as _extends, _ as _objectSpread2 } from '../_rollupPluginBabelHelpers-4f8ebde4.js';
|
|
2
2
|
import React__default, { useContext, useRef, useState, useEffect } from 'react';
|
|
3
|
-
import { f as format } from '../index-
|
|
3
|
+
import { f as format } from '../index-2dc53ac2.js';
|
|
4
4
|
import Avatar from './Avatar.js';
|
|
5
5
|
import ContextMenu, { MenuItems, MenuItem } from './ContextMenu.js';
|
|
6
6
|
import Icon, { IconTypes, IconColors } from './Icon.js';
|
|
7
7
|
import IconButton from './IconButton.js';
|
|
8
|
-
import { L as Label, a as LabelTypography, b as LabelColors } from '../index-
|
|
8
|
+
import { L as Label, a as LabelTypography, b as LabelColors } from '../index-4372fcec.js';
|
|
9
9
|
import Loader from './Loader.js';
|
|
10
10
|
import UserProfile from './UserProfile.js';
|
|
11
|
-
import { a as UserProfileContext } from '../UserProfileContext-
|
|
12
|
-
import { u as useLocalization } from '../LocalizationContext-
|
|
13
|
-
import { c as copyToClipboard } from '../utils-
|
|
14
|
-
import { u as uuidv4 } from '../uuid-
|
|
15
|
-
import { g as getSenderFromMessage, s as showMenuTrigger, i as isFineCopy, a as isFineEdit, b as isFineResend, c as isFineDelete, O as OpenChannelMobileMenu, d as checkIsPending, e as checkIsFailed } from '../index-
|
|
16
|
-
import { u as useMediaQueryContext } from '../MediaQueryContext-
|
|
17
|
-
import { u as useLongPress } from '../useLongPress-
|
|
18
|
-
import { B as isEditedMessage } from '../index-
|
|
19
|
-
import '../index-
|
|
11
|
+
import { a as UserProfileContext } from '../UserProfileContext-d5787c95.js';
|
|
12
|
+
import { u as useLocalization } from '../LocalizationContext-b2390bf8.js';
|
|
13
|
+
import { c as copyToClipboard } from '../utils-3b418b35.js';
|
|
14
|
+
import { u as uuidv4 } from '../uuid-a79b5ba8.js';
|
|
15
|
+
import { g as getSenderFromMessage, s as showMenuTrigger, i as isFineCopy, a as isFineEdit, b as isFineResend, c as isFineDelete, O as OpenChannelMobileMenu, d as checkIsPending, e as checkIsFailed } from '../index-1fefb8e6.js';
|
|
16
|
+
import { u as useMediaQueryContext } from '../MediaQueryContext-b4904a2e.js';
|
|
17
|
+
import { u as useLongPress } from '../useLongPress-cb2d23be.js';
|
|
18
|
+
import { B as isEditedMessage } from '../index-eefb44ba.js';
|
|
19
|
+
import '../index-67135027.js';
|
|
20
20
|
import './ImageRenderer.js';
|
|
21
21
|
import 'prop-types';
|
|
22
22
|
import 'react-dom';
|
|
23
23
|
import './SortByRow.js';
|
|
24
24
|
import '../utils/message/getOutgoingMessageState.js';
|
|
25
|
-
import '../stringSet-
|
|
25
|
+
import '../stringSet-eefbc798.js';
|
|
26
26
|
import '../sendbirdSelectors.js';
|
|
27
|
-
import '../topics-
|
|
28
|
-
import '../utils-
|
|
27
|
+
import '../topics-f3629ea0.js';
|
|
28
|
+
import '../utils-b53fe532.js';
|
|
29
29
|
import './Button.js';
|
|
30
30
|
import '../useSendbirdStateContext.js';
|
|
31
31
|
import '../withSendbird.js';
|
package/ui/PlaceHolder.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import 'react';
|
|
2
|
-
export { a as PlaceHolderTypes, P as default } from '../index-
|
|
3
|
-
import '../LocalizationContext-
|
|
2
|
+
export { a as PlaceHolderTypes, P as default } from '../index-49ff1ed1.js';
|
|
3
|
+
import '../LocalizationContext-b2390bf8.js';
|
|
4
4
|
import './Icon.js';
|
|
5
|
-
import '../index-
|
|
5
|
+
import '../index-4372fcec.js';
|
|
6
6
|
import './Loader.js';
|
|
7
|
-
import '../stringSet-
|
|
8
|
-
import '../index-
|
|
7
|
+
import '../stringSet-eefbc798.js';
|
|
8
|
+
import '../index-67135027.js';
|
|
9
9
|
import 'prop-types';
|
|
10
10
|
//# sourceMappingURL=PlaceHolder.js.map
|
package/ui/PlaybackTime.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
|
-
import { a as LabelTypography, b as LabelColors, L as Label } from '../index-
|
|
2
|
+
import { a as LabelTypography, b as LabelColors, L as Label } from '../index-4372fcec.js';
|
|
3
3
|
import 'prop-types';
|
|
4
|
-
import '../stringSet-
|
|
4
|
+
import '../stringSet-eefbc798.js';
|
|
5
5
|
|
|
6
6
|
const PlaybackTime = _ref => {
|
|
7
7
|
let {
|
package/ui/QuoteMessage.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import React__default, { useContext, useState } from 'react';
|
|
2
2
|
import Icon, { IconTypes, IconColors } from './Icon.js';
|
|
3
|
-
import { L as Label, a as LabelTypography, b as LabelColors } from '../index-
|
|
3
|
+
import { L as Label, a as LabelTypography, b as LabelColors } from '../index-4372fcec.js';
|
|
4
4
|
import ImageRenderer from './ImageRenderer.js';
|
|
5
|
-
import { a as LocalizationContext } from '../LocalizationContext-
|
|
6
|
-
import { M as getUIKitFileTypes, h as getClassName, q as isUserMessage, d as isVoiceMessage, m as isThumbnailMessage, y as isVideo, N as isGif, r as getUIKitMessageType, U as UIKitMessageTypes, L as getUIKitFileType, t as truncateString } from '../index-
|
|
5
|
+
import { a as LocalizationContext } from '../LocalizationContext-b2390bf8.js';
|
|
6
|
+
import { M as getUIKitFileTypes, h as getClassName, q as isUserMessage, d as isVoiceMessage, m as isThumbnailMessage, y as isVideo, N as isGif, r as getUIKitMessageType, U as UIKitMessageTypes, L as getUIKitFileType, t as truncateString } from '../index-eefb44ba.js';
|
|
7
7
|
import 'prop-types';
|
|
8
|
-
import '../stringSet-
|
|
9
|
-
import '../index-
|
|
10
|
-
import '../_rollupPluginBabelHelpers-
|
|
8
|
+
import '../stringSet-eefbc798.js';
|
|
9
|
+
import '../index-67135027.js';
|
|
10
|
+
import '../_rollupPluginBabelHelpers-4f8ebde4.js';
|
|
11
11
|
import '../utils/message/getOutgoingMessageState.js';
|
|
12
12
|
|
|
13
13
|
function QuoteMessage(_ref) {
|
package/ui/QuoteMessageInput.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import React__default, { useContext } from 'react';
|
|
2
|
-
import { k as isFileMessage, d as isVoiceMessage, l as isImageMessage, m as isThumbnailMessage, n as isAudioMessage, h as getClassName, o as isGifMessage, p as isVideoMessage, q as isUserMessage, r as getUIKitMessageType, U as UIKitMessageTypes } from '../index-
|
|
2
|
+
import { k as isFileMessage, d as isVoiceMessage, l as isImageMessage, m as isThumbnailMessage, n as isAudioMessage, h as getClassName, o as isGifMessage, p as isVideoMessage, q as isUserMessage, r as getUIKitMessageType, U as UIKitMessageTypes } from '../index-eefb44ba.js';
|
|
3
3
|
import Icon, { IconTypes, IconColors } from './Icon.js';
|
|
4
|
-
import { L as Label, a as LabelTypography, b as LabelColors } from '../index-
|
|
5
|
-
import { a as LocalizationContext } from '../LocalizationContext-
|
|
4
|
+
import { L as Label, a as LabelTypography, b as LabelColors } from '../index-4372fcec.js';
|
|
5
|
+
import { a as LocalizationContext } from '../LocalizationContext-b2390bf8.js';
|
|
6
6
|
import ImageRenderer from './ImageRenderer.js';
|
|
7
|
-
import '../_rollupPluginBabelHelpers-
|
|
7
|
+
import '../_rollupPluginBabelHelpers-4f8ebde4.js';
|
|
8
8
|
import '../utils/message/getOutgoingMessageState.js';
|
|
9
9
|
import 'prop-types';
|
|
10
|
-
import '../stringSet-
|
|
11
|
-
import '../index-
|
|
10
|
+
import '../stringSet-eefbc798.js';
|
|
11
|
+
import '../index-67135027.js';
|
|
12
12
|
|
|
13
13
|
const componentClassname = 'sendbird-quote_message_input__avatar';
|
|
14
14
|
function QuoteMessageThumbnail(_ref) {
|
package/ui/ReactionBadge.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
|
-
import { L as Label, a as LabelTypography, b as LabelColors } from '../index-
|
|
2
|
+
import { L as Label, a as LabelTypography, b as LabelColors } from '../index-4372fcec.js';
|
|
3
3
|
import 'prop-types';
|
|
4
|
-
import '../stringSet-
|
|
4
|
+
import '../stringSet-eefbc798.js';
|
|
5
5
|
|
|
6
6
|
const ReactionBadge = /*#__PURE__*/React__default.forwardRef((props, ref) => {
|
|
7
7
|
const {
|
package/ui/ReactionButton.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { b as _extends } from '../_rollupPluginBabelHelpers-
|
|
1
|
+
import { b as _extends } from '../_rollupPluginBabelHelpers-4f8ebde4.js';
|
|
2
2
|
import React__default from 'react';
|
|
3
|
-
import { u as useLongPress } from '../useLongPress-
|
|
4
|
-
import { n as noop } from '../utils-
|
|
5
|
-
import '../MediaQueryContext-
|
|
3
|
+
import { u as useLongPress } from '../useLongPress-cb2d23be.js';
|
|
4
|
+
import { n as noop } from '../utils-b53fe532.js';
|
|
5
|
+
import '../MediaQueryContext-b4904a2e.js';
|
|
6
6
|
|
|
7
7
|
const ReactionButton = /*#__PURE__*/React__default.forwardRef((props, ref) => {
|
|
8
8
|
const {
|
package/ui/SortByRow.js
CHANGED
package/ui/TextButton.js
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import React__default, { useContext, useMemo } from 'react';
|
|
2
|
-
import { L as Label, a as LabelTypography, b as LabelColors } from '../index-
|
|
3
|
-
import { h as getClassName, B as isEditedMessage } from '../index-
|
|
4
|
-
import { a as LocalizationContext } from '../LocalizationContext-
|
|
5
|
-
import { t as tokenizeMessage } from '../tokenize-
|
|
6
|
-
import { T as TextFragment } from '../index-
|
|
7
|
-
import { T as TEXT_MESSAGE_BODY_CLASSNAME } from '../consts-
|
|
2
|
+
import { L as Label, a as LabelTypography, b as LabelColors } from '../index-4372fcec.js';
|
|
3
|
+
import { h as getClassName, B as isEditedMessage } from '../index-eefb44ba.js';
|
|
4
|
+
import { a as LocalizationContext } from '../LocalizationContext-b2390bf8.js';
|
|
5
|
+
import { t as tokenizeMessage } from '../tokenize-b97bc343.js';
|
|
6
|
+
import { T as TextFragment } from '../index-8aa7880e.js';
|
|
7
|
+
import { T as TEXT_MESSAGE_BODY_CLASSNAME } from '../consts-e3e03145.js';
|
|
8
8
|
import 'prop-types';
|
|
9
|
-
import '../stringSet-
|
|
10
|
-
import '../_rollupPluginBabelHelpers-
|
|
9
|
+
import '../stringSet-eefbc798.js';
|
|
10
|
+
import '../_rollupPluginBabelHelpers-4f8ebde4.js';
|
|
11
11
|
import '../utils/message/getOutgoingMessageState.js';
|
|
12
|
-
import '../index-
|
|
13
|
-
import '../index.module-
|
|
12
|
+
import '../index-67135027.js';
|
|
13
|
+
import '../index.module-2885df8c.js';
|
|
14
14
|
import '../Message/context.js';
|
|
15
15
|
import './MentionLabel.js';
|
|
16
16
|
import './ContextMenu.js';
|
|
17
17
|
import 'react-dom';
|
|
18
18
|
import './SortByRow.js';
|
|
19
|
-
import '../uuid-
|
|
19
|
+
import '../uuid-a79b5ba8.js';
|
|
20
20
|
import './UserProfile.js';
|
|
21
|
-
import '../UserProfileContext-
|
|
21
|
+
import '../UserProfileContext-d5787c95.js';
|
|
22
22
|
import '../sendbirdSelectors.js';
|
|
23
|
-
import '../topics-
|
|
24
|
-
import '../utils-
|
|
23
|
+
import '../topics-f3629ea0.js';
|
|
24
|
+
import '../utils-b53fe532.js';
|
|
25
25
|
import './Avatar.js';
|
|
26
26
|
import './ImageRenderer.js';
|
|
27
27
|
import './Icon.js';
|
package/ui/ThreadReplies.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
2
|
import Avatar from './Avatar.js';
|
|
3
3
|
import Icon, { IconTypes, IconColors } from './Icon.js';
|
|
4
|
-
import { L as Label, a as LabelTypography, b as LabelColors } from '../index-
|
|
5
|
-
import { u as useLocalization } from '../LocalizationContext-
|
|
6
|
-
import { u as uuidv4 } from '../uuid-
|
|
4
|
+
import { L as Label, a as LabelTypography, b as LabelColors } from '../index-4372fcec.js';
|
|
5
|
+
import { u as useLocalization } from '../LocalizationContext-b2390bf8.js';
|
|
6
|
+
import { u as uuidv4 } from '../uuid-a79b5ba8.js';
|
|
7
7
|
import './ImageRenderer.js';
|
|
8
8
|
import 'prop-types';
|
|
9
|
-
import '../stringSet-
|
|
10
|
-
import '../index-
|
|
9
|
+
import '../stringSet-eefbc798.js';
|
|
10
|
+
import '../index-67135027.js';
|
|
11
11
|
|
|
12
12
|
function ThreadReplies(_ref) {
|
|
13
13
|
var _mostRepliedUsers$;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { b as _extends } from '../_rollupPluginBabelHelpers-
|
|
1
|
+
import { b as _extends } from '../_rollupPluginBabelHelpers-4f8ebde4.js';
|
|
2
2
|
import React__default, { useState } from 'react';
|
|
3
3
|
import Icon, { IconTypes, IconColors } from './Icon.js';
|
|
4
4
|
import ImageRenderer from './ImageRenderer.js';
|
|
5
|
-
import { h as getClassName, p as isVideoMessage, o as isGifMessage, C as isSentMessage } from '../index-
|
|
6
|
-
import { n as noop } from '../utils-
|
|
7
|
-
import { u as useLongPress } from '../useLongPress-
|
|
5
|
+
import { h as getClassName, p as isVideoMessage, o as isGifMessage, C as isSentMessage } from '../index-eefb44ba.js';
|
|
6
|
+
import { n as noop } from '../utils-b53fe532.js';
|
|
7
|
+
import { u as useLongPress } from '../useLongPress-cb2d23be.js';
|
|
8
8
|
import 'prop-types';
|
|
9
9
|
import '../utils/message/getOutgoingMessageState.js';
|
|
10
|
-
import '../MediaQueryContext-
|
|
10
|
+
import '../MediaQueryContext-b4904a2e.js';
|
|
11
11
|
|
|
12
12
|
function ThumbnailMessageItemBody(_ref) {
|
|
13
13
|
var _thumbnails$, _message$reactions$le, _message$reactions;
|
package/ui/Toggle.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React__default, { useState, useCallback } from 'react';
|
|
2
|
-
import { _ as _objectSpread2 } from '../_rollupPluginBabelHelpers-
|
|
2
|
+
import { _ as _objectSpread2 } from '../_rollupPluginBabelHelpers-4f8ebde4.js';
|
|
3
3
|
import useSendbirdStateContext from '../useSendbirdStateContext.js';
|
|
4
4
|
import '../withSendbird.js';
|
|
5
5
|
|
package/ui/Tooltip.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
|
-
import { L as Label, a as LabelTypography, b as LabelColors } from '../index-
|
|
2
|
+
import { L as Label, a as LabelTypography, b as LabelColors } from '../index-4372fcec.js';
|
|
3
3
|
import 'prop-types';
|
|
4
|
-
import '../stringSet-
|
|
4
|
+
import '../stringSet-eefbc798.js';
|
|
5
5
|
|
|
6
6
|
function Tooltip(_ref) {
|
|
7
7
|
let {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import React__default, { useContext } from 'react';
|
|
2
|
-
import { L as Label, a as LabelTypography, b as LabelColors } from '../index-
|
|
3
|
-
import { h as getClassName } from '../index-
|
|
4
|
-
import { a as LocalizationContext } from '../LocalizationContext-
|
|
2
|
+
import { L as Label, a as LabelTypography, b as LabelColors } from '../index-4372fcec.js';
|
|
3
|
+
import { h as getClassName } from '../index-eefb44ba.js';
|
|
4
|
+
import { a as LocalizationContext } from '../LocalizationContext-b2390bf8.js';
|
|
5
5
|
import 'prop-types';
|
|
6
|
-
import '../stringSet-
|
|
7
|
-
import '../_rollupPluginBabelHelpers-
|
|
6
|
+
import '../stringSet-eefbc798.js';
|
|
7
|
+
import '../_rollupPluginBabelHelpers-4f8ebde4.js';
|
|
8
8
|
import '../utils/message/getOutgoingMessageState.js';
|
|
9
|
-
import '../index-
|
|
9
|
+
import '../index-67135027.js';
|
|
10
10
|
|
|
11
11
|
function UnknownMessageItemBody(_ref) {
|
|
12
12
|
var _message$reactions;
|
package/ui/UserListItem.js
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import React__default, { useContext } from 'react';
|
|
2
|
-
import { a as UserProfileContext } from '../UserProfileContext-
|
|
3
|
-
import { a as LocalizationContext } from '../LocalizationContext-
|
|
2
|
+
import { a as UserProfileContext } from '../UserProfileContext-d5787c95.js';
|
|
3
|
+
import { a as LocalizationContext } from '../LocalizationContext-b2390bf8.js';
|
|
4
4
|
import Avatar from './Avatar.js';
|
|
5
5
|
import MutedAvatarOverlay from './MutedAvatarOverlay.js';
|
|
6
6
|
import Checkbox from './Checkbox.js';
|
|
7
7
|
import UserProfile from './UserProfile.js';
|
|
8
8
|
import ContextMenu, { MenuItems } from './ContextMenu.js';
|
|
9
|
-
import { L as Label, a as LabelTypography, b as LabelColors } from '../index-
|
|
9
|
+
import { L as Label, a as LabelTypography, b as LabelColors } from '../index-4372fcec.js';
|
|
10
10
|
import 'prop-types';
|
|
11
|
-
import '../stringSet-
|
|
12
|
-
import '../index-
|
|
11
|
+
import '../stringSet-eefbc798.js';
|
|
12
|
+
import '../index-67135027.js';
|
|
13
13
|
import './ImageRenderer.js';
|
|
14
14
|
import './Icon.js';
|
|
15
|
-
import '../uuid-
|
|
15
|
+
import '../uuid-a79b5ba8.js';
|
|
16
16
|
import '../sendbirdSelectors.js';
|
|
17
|
-
import '../_rollupPluginBabelHelpers-
|
|
18
|
-
import '../topics-
|
|
19
|
-
import '../utils-
|
|
17
|
+
import '../_rollupPluginBabelHelpers-4f8ebde4.js';
|
|
18
|
+
import '../topics-f3629ea0.js';
|
|
19
|
+
import '../utils-b53fe532.js';
|
|
20
20
|
import './Button.js';
|
|
21
21
|
import '../useSendbirdStateContext.js';
|
|
22
22
|
import '../withSendbird.js';
|
|
23
23
|
import 'react-dom';
|
|
24
24
|
import './SortByRow.js';
|
|
25
|
-
import '../index-
|
|
25
|
+
import '../index-eefb44ba.js';
|
|
26
26
|
import '../utils/message/getOutgoingMessageState.js';
|
|
27
27
|
|
|
28
28
|
function UserListItem(_ref) {
|
package/ui/UserProfile.js
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import React__default, { useContext } from 'react';
|
|
2
|
-
import { a as LocalizationContext } from '../LocalizationContext-
|
|
3
|
-
import { a as UserProfileContext } from '../UserProfileContext-
|
|
2
|
+
import { a as LocalizationContext } from '../LocalizationContext-b2390bf8.js';
|
|
3
|
+
import { a as UserProfileContext } from '../UserProfileContext-d5787c95.js';
|
|
4
4
|
import { getCreateGroupChannel } from '../sendbirdSelectors.js';
|
|
5
5
|
import Avatar from './Avatar.js';
|
|
6
|
-
import { L as Label, a as LabelTypography, b as LabelColors } from '../index-
|
|
6
|
+
import { L as Label, a as LabelTypography, b as LabelColors } from '../index-4372fcec.js';
|
|
7
7
|
import Button, { ButtonTypes } from './Button.js';
|
|
8
8
|
import useSendbirdStateContext from '../useSendbirdStateContext.js';
|
|
9
|
-
import '../stringSet-
|
|
10
|
-
import '../index-
|
|
9
|
+
import '../stringSet-eefbc798.js';
|
|
10
|
+
import '../index-67135027.js';
|
|
11
11
|
import 'prop-types';
|
|
12
|
-
import '../_rollupPluginBabelHelpers-
|
|
13
|
-
import '../topics-
|
|
14
|
-
import '../utils-
|
|
12
|
+
import '../_rollupPluginBabelHelpers-4f8ebde4.js';
|
|
13
|
+
import '../topics-f3629ea0.js';
|
|
14
|
+
import '../utils-b53fe532.js';
|
|
15
15
|
import './ImageRenderer.js';
|
|
16
16
|
import './Icon.js';
|
|
17
|
-
import '../uuid-
|
|
17
|
+
import '../uuid-a79b5ba8.js';
|
|
18
18
|
import '../withSendbird.js';
|
|
19
19
|
|
|
20
20
|
function UserProfile(_ref) {
|
|
@@ -4,21 +4,21 @@ import { useVoicePlayer } from '../VoicePlayer/useVoicePlayer.js';
|
|
|
4
4
|
import { PlaybackTime } from './PlaybackTime.js';
|
|
5
5
|
import Loader from './Loader.js';
|
|
6
6
|
import Icon, { IconTypes, IconColors } from './Icon.js';
|
|
7
|
-
import { a as LabelTypography, b as LabelColors } from '../index-
|
|
8
|
-
import { a as VOICE_PLAYER_STATUS } from '../index-
|
|
9
|
-
import '../consts-
|
|
7
|
+
import { a as LabelTypography, b as LabelColors } from '../index-4372fcec.js';
|
|
8
|
+
import { a as VOICE_PLAYER_STATUS } from '../index-7d496661.js';
|
|
9
|
+
import '../consts-33537265.js';
|
|
10
10
|
import '../VoiceRecorder/context.js';
|
|
11
|
-
import '../LocalizationContext-
|
|
12
|
-
import '../stringSet-
|
|
13
|
-
import '../index-
|
|
11
|
+
import '../LocalizationContext-b2390bf8.js';
|
|
12
|
+
import '../stringSet-eefbc798.js';
|
|
13
|
+
import '../index-67135027.js';
|
|
14
14
|
import './Modal.js';
|
|
15
15
|
import 'react-dom';
|
|
16
|
-
import '../index-
|
|
16
|
+
import '../index-896545a0.js';
|
|
17
17
|
import './Button.js';
|
|
18
18
|
import 'prop-types';
|
|
19
19
|
import './IconButton.js';
|
|
20
|
-
import '../_rollupPluginBabelHelpers-
|
|
21
|
-
import '../MediaQueryContext-
|
|
20
|
+
import '../_rollupPluginBabelHelpers-4f8ebde4.js';
|
|
21
|
+
import '../MediaQueryContext-b4904a2e.js';
|
|
22
22
|
import '../useSendbirdStateContext.js';
|
|
23
23
|
import '../withSendbird.js';
|
|
24
24
|
|
package/ui/VoiceMessgeInput.js
CHANGED
|
@@ -3,12 +3,12 @@ import './PlaybackTime.js';
|
|
|
3
3
|
import './ProgressBar.js';
|
|
4
4
|
import './TextButton.js';
|
|
5
5
|
import './Icon.js';
|
|
6
|
-
import '../index-
|
|
7
|
-
import '../LocalizationContext-
|
|
8
|
-
export { a as VoiceMessageInput } from '../index-
|
|
9
|
-
import '../consts-
|
|
6
|
+
import '../index-4372fcec.js';
|
|
7
|
+
import '../LocalizationContext-b2390bf8.js';
|
|
8
|
+
export { a as VoiceMessageInput } from '../index-ebab784c.js';
|
|
9
|
+
import '../consts-33537265.js';
|
|
10
10
|
import 'prop-types';
|
|
11
|
-
import '../stringSet-
|
|
12
|
-
import '../color-
|
|
13
|
-
import '../index-
|
|
11
|
+
import '../stringSet-eefbc798.js';
|
|
12
|
+
import '../color-9519a526.js';
|
|
13
|
+
import '../index-67135027.js';
|
|
14
14
|
//# sourceMappingURL=VoiceMessgeInput.js.map
|
package/ui/Word.js
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
|
-
import { a as LabelTypography } from '../index-
|
|
2
|
+
import { a as LabelTypography } from '../index-4372fcec.js';
|
|
3
3
|
import LinkLabel from './LinkLabel.js';
|
|
4
|
-
import { u as uuidv4 } from '../uuid-
|
|
5
|
-
import { P as convertWordToStringObj, S as StringObjType } from '../index-
|
|
4
|
+
import { u as uuidv4 } from '../uuid-a79b5ba8.js';
|
|
5
|
+
import { P as convertWordToStringObj, S as StringObjType } from '../index-eefb44ba.js';
|
|
6
6
|
import MentionLabel from './MentionLabel.js';
|
|
7
7
|
import 'prop-types';
|
|
8
|
-
import '../stringSet-
|
|
9
|
-
import '../_rollupPluginBabelHelpers-
|
|
8
|
+
import '../stringSet-eefbc798.js';
|
|
9
|
+
import '../_rollupPluginBabelHelpers-4f8ebde4.js';
|
|
10
10
|
import '../utils/message/getOutgoingMessageState.js';
|
|
11
11
|
import './ContextMenu.js';
|
|
12
12
|
import 'react-dom';
|
|
13
13
|
import './SortByRow.js';
|
|
14
14
|
import './UserProfile.js';
|
|
15
|
-
import '../LocalizationContext-
|
|
16
|
-
import '../index-
|
|
17
|
-
import '../UserProfileContext-
|
|
15
|
+
import '../LocalizationContext-b2390bf8.js';
|
|
16
|
+
import '../index-67135027.js';
|
|
17
|
+
import '../UserProfileContext-d5787c95.js';
|
|
18
18
|
import '../sendbirdSelectors.js';
|
|
19
|
-
import '../topics-
|
|
20
|
-
import '../utils-
|
|
19
|
+
import '../topics-f3629ea0.js';
|
|
20
|
+
import '../utils-b53fe532.js';
|
|
21
21
|
import './Avatar.js';
|
|
22
22
|
import './ImageRenderer.js';
|
|
23
23
|
import './Icon.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useDirtyGetMentions-
|
|
1
|
+
{"version":3,"file":"useDirtyGetMentions-5f675b6c.js","sources":["../src/modules/Message/utils/getMentionNodes.ts","../src/modules/Message/hooks/useDirtyGetMentions.ts"],"sourcesContent":["export function getMentionNodes(root: HTMLElement): Element[] {\n if (root) {\n const mentions = root.querySelectorAll(\"[data-sb-mention='true']\");\n const mentionsArray = Array.from(mentions);\n return mentionsArray;\n }\n return [];\n}\n","import { useEffect, useLayoutEffect, useState } from 'react';\n\nimport { Logger } from '../../../lib/SendbirdState';\nimport { getMentionNodes } from '../utils/getMentionNodes';\n\ninterface DynamicParams {\n ref: React.RefObject<HTMLElement>;\n}\n\ninterface StaticParams {\n logger: Logger;\n}\n\n/**\n * This is a dirty way to get the mentions given DOM node\n */\nexport function useDirtyGetMentions({\n ref,\n}: DynamicParams, {\n logger,\n}: StaticParams) {\n // Select the node that will be observed for mutations\n const targetNode = ref.current as HTMLElement;\n const [mentionNodes, setMentionNodes] = useState<Element[]>([]);\n\n // to get the initial mentions\n useLayoutEffect(() => {\n if (targetNode) {\n const mentions = getMentionNodes(targetNode);\n setMentionNodes(mentions);\n }\n }, [targetNode]);\n\n useEffect(() => {\n // Options for the observer (which mutations to observe)\n const config = { childList: true, subtree: true };\n\n // Callback function to execute when mutations are observed\n const callback = (mutationList: MutationRecord[]): void => {\n const hasMutation = mutationList.length > 0;\n if (hasMutation) {\n setMentionNodes(getMentionNodes(targetNode));\n }\n };\n\n // Create an observer instance linked to the callback function\n const observer = new MutationObserver(callback);\n\n if (targetNode) {\n // Start observing the target node for configured mutations\n observer.observe(targetNode, config);\n logger.info('useDirtyGetMentions: observer started', { observer, config });\n }\n\n return () => {\n try {\n observer.disconnect();\n logger.info('useDirtyGetMentions: observer disconnected', { observer });\n } catch (error) {\n logger.error('useDirtyGetMentions: observer disconnect failed', { observer });\n }\n };\n }, [targetNode]);\n return mentionNodes;\n}\n"],"names":["getMentionNodes","root","mentions","querySelectorAll","mentionsArray","Array","from","useDirtyGetMentions","_ref","_ref2","ref","logger","targetNode","current","mentionNodes","setMentionNodes","useState","useLayoutEffect","useEffect","config","childList","subtree","callback","mutationList","hasMutation","length","observer","MutationObserver","observe","info","disconnect","error"],"mappings":";;AAAO,SAASA,eAAeA,CAACC,IAAiB,EAAa;AAC5D,EAAA,IAAIA,IAAI,EAAE;AACR,IAAA,MAAMC,QAAQ,GAAGD,IAAI,CAACE,gBAAgB,CAAC,0BAA0B,CAAC,CAAA;AAClE,IAAA,MAAMC,aAAa,GAAGC,KAAK,CAACC,IAAI,CAACJ,QAAQ,CAAC,CAAA;AAC1C,IAAA,OAAOE,aAAa,CAAA;AACtB,GAAA;AACA,EAAA,OAAO,EAAE,CAAA;AACX;;ACMA;AACA;AACA;AACO,SAASG,mBAAmBA,CAAAC,IAAA,EAAAC,KAAA,EAIlB;EAAA,IAJmB;AAClCC,IAAAA,GAAAA;AACa,GAAC,GAAAF,IAAA,CAAA;EAAA,IAAE;AAChBG,IAAAA,MAAAA;AACY,GAAC,GAAAF,KAAA,CAAA;AACb;AACA,EAAA,MAAMG,UAAU,GAAGF,GAAG,CAACG,OAAsB,CAAA;EAC7C,MAAM,CAACC,YAAY,EAAEC,eAAe,CAAC,GAAGC,QAAQ,CAAY,EAAE,CAAC,CAAA;;AAE/D;AACAC,EAAAA,eAAe,CAAC,MAAM;AACpB,IAAA,IAAIL,UAAU,EAAE;AACd,MAAA,MAAMV,QAAQ,GAAGF,e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B;;;;"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { _ as _objectSpread2 } from './_rollupPluginBabelHelpers-
|
|
1
|
+
import { _ as _objectSpread2 } from './_rollupPluginBabelHelpers-4f8ebde4.js';
|
|
2
2
|
import { useState, useRef, useCallback } from 'react';
|
|
3
|
-
import { u as useMediaQueryContext } from './MediaQueryContext-
|
|
3
|
+
import { u as useMediaQueryContext } from './MediaQueryContext-b4904a2e.js';
|
|
4
4
|
|
|
5
5
|
const DEFAULT_DURATION = 300;
|
|
6
6
|
function preventDefault(e) {
|
|
@@ -82,4 +82,4 @@ function useLongPress(_ref) {
|
|
|
82
82
|
}
|
|
83
83
|
|
|
84
84
|
export { useLongPress as u };
|
|
85
|
-
//# sourceMappingURL=useLongPress-
|
|
85
|
+
//# sourceMappingURL=useLongPress-cb2d23be.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useLongPress-
|
|
1
|
+
{"version":3,"file":"useLongPress-cb2d23be.js","sources":["../src/hooks/useLongPress.tsx"],"sourcesContent":["// thanks to: https://stackoverflow.com/questions/48048957/react-long-press-event\n/* example:\n const Component = ({ onClick }) => {\n const onLongPress = useLongPress({\n onClick: onClick,\n onLongPress: () => {\n alert('longpress');\n }\n }, {\n delay: 500,\n shouldPreventDefault: true,\n });\n return (\n <button {...onLongPress}>\n hello\n </button>\n )\n }\n*/\nimport React, {\n useState,\n useRef,\n useCallback,\n} from 'react';\nimport {\n useMediaQueryContext,\n} from '../lib/MediaQueryContext';\n\nconst DEFAULT_DURATION = 300;\n\nfunction preventDefault(e: Event) {\n if (!isTouchEvent(e)) {\n return;\n }\n\n if (e.touches.length < 2 && e.preventDefault) {\n e.preventDefault();\n }\n}\n\nexport function isTouchEvent(e: Event): e is TouchEvent {\n return e && 'touches' in e;\n}\n\ninterface PressHandlers<T> {\n onLongPress: (e: React.MouseEvent<T> | React.TouchEvent<T>) => void;\n onClick?: (e: React.MouseEvent<T> | React.TouchEvent<T>) => void;\n}\n\ninterface Options {\n delay?: number;\n shouldPreventDefault?: boolean;\n shouldStopPropagation?: boolean;\n}\n\ninterface UseLongPressType<T> {\n onTouchMove: (e: React.TouchEvent<T>) => void;\n onMouseDown: (e: React.MouseEvent<T>) => void;\n onTouchStart: (e: React.TouchEvent<T>) => void;\n onMouseUp: (e: React.MouseEvent<T>) => void;\n onMouseLeave: (e: React.MouseEvent<T>) => void;\n onTouchEnd: (e: React.TouchEvent<T>) => void;\n}\n\nexport default function useLongPress<T>({\n onLongPress,\n onClick,\n}: PressHandlers<T>, {\n delay = DEFAULT_DURATION,\n shouldPreventDefault = true,\n shouldStopPropagation = false,\n}: Options = {}): UseLongPressType<T> {\n const { isMobile } = useMediaQueryContext();\n const [longPressTriggered, setLongPressTriggered] = useState(false);\n const [dragTriggered, setDragTriggered] = useState(false);\n // https://www.typescriptlang.org/docs/handbook/utility-types.html#returntypetype\n const timeout = useRef<ReturnType<typeof setTimeout>>();\n const target = useRef<EventTarget>();\n\n const start = useCallback((e: React.MouseEvent<T> | React.TouchEvent<T>) => {\n e.persist();\n const clonedEvent = {\n ...e,\n };\n setDragTriggered(false);\n if (shouldStopPropagation) {\n e.stopPropagation();\n }\n if (shouldPreventDefault && e.target) {\n e.target.addEventListener(\n 'touchend',\n preventDefault,\n {\n passive: false,\n },\n );\n target.current = e.target;\n }\n\n timeout.current = setTimeout(() => {\n onLongPress(clonedEvent);\n setLongPressTriggered(true);\n }, delay);\n }, [onLongPress, delay, shouldPreventDefault, shouldStopPropagation, isMobile]);\n\n const clear = useCallback((\n e: React.MouseEvent<T> | React.TouchEvent<T>,\n shouldTriggerClick = true,\n onDrag = false,\n ) => {\n if (onDrag) {\n setDragTriggered(true);\n } else {\n setDragTriggered(false);\n }\n if (timeout?.current) {\n clearTimeout(timeout.current);\n }\n if (shouldTriggerClick && !longPressTriggered && !dragTriggered) {\n onClick?.(e);\n }\n setLongPressTriggered(false);\n if (shouldPreventDefault && target.current) {\n target.current.removeEventListener('touchend', preventDefault);\n }\n }, [shouldPreventDefault, onClick, longPressTriggered, dragTriggered]);\n\n return {\n onMouseDown: (e: React.MouseEvent<T>) => start(e),\n onMouseUp: (e: React.MouseEvent<T>) => clear(e),\n onMouseLeave: (e: React.MouseEvent<T>) => clear(e, false),\n onTouchStart: (e: React.TouchEvent<T>) => start(e),\n // setDragTriggered as true on touchmove, so that next onTouchEnd is ignored\n // if we dont do it, onClick?.(e) will be triggred, see inside clear()\n onTouchMove: (e: React.TouchEvent<T>) => clear(e, false, true),\n onTouchEnd: (e: React.TouchEvent<T>) => clear(e),\n };\n}\n"],"names":["DEFAULT_DURATION","preventDefault","e","isTouchEvent","touches","length","useLongPress","_ref","onLongPress","onClick","delay","shouldPreventDefault","shouldStopPropagation","arguments","undefined","isMobile","useMediaQueryContext","longPressTriggered","setLongPressTriggered","useState","dragTriggered","setDragTriggered","timeout","useRef","target","start","useCallback","persist","clonedEvent","_objectSpread","stopPropagation","addEventListener","passive","current","setTimeout","clear","shouldTriggerClick","onDrag","clearTimeout","removeEventListener","onMouseDown","onMouseUp","onMouseLeave","onTouchStart","onTouchMove","onTouchEnd"],"mappings":";;;;AA4BA,MAAMA,gBAAgB,GAAG,GAAG,CAAA;AAE5B,SAASC,cAAcA,CAACC,CAAQ,EAAE;AAChC,EAAA,IAAI,CAACC,YAAY,CAACD,CAAC,CAAC,EAAE;AACpB,IAAA,OAAA;AACF,GAAA;EAEA,IAAIA,CAAC,CAACE,OAAO,CAACC,MAAM,GAAG,CAAC,IAAIH,CAAC,CAACD,cAAc,EAAE;IAC5CC,CAAC,CAACD,cAAc,EAAE,CAAA;AACpB,GAAA;AACF,CAAA;AAEO,SAASE,YAAYA,CAACD,CAAQ,EAAmB;AACtD,EAAA,OAAOA,CAAC,IAAI,SAAS,IAAIA,CAAC,CAAA;AAC5B,CAAA;AAsBe,SAASI,YAAYA,CAAAC,IAAA,EAOE;EAAA,IAPE;IACtCC,WAAW;AACXC,IAAAA,OAAAA;AACgB,GAAC,G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AO,CAACM,mBAAmB,CAAC,UAAU,EAAEtC,cAAc,CAAC,CAAA;AAChE,KAAA;GACD,EAAE,CAACU,oBAAoB,EAAEF,OAAO,EAAEQ,kBAAkB,EAAEG,aAAa,CAAC,CAAC,CAAA;EAEtE,OAAO;AACLoB,IAAAA,WAAW,EAAGtC,CAAsB,IAAKuB,KAAK,CAACvB,CAAC,CAAC;AACjDuC,IAAAA,SAAS,EAAGvC,CAAsB,IAAKiC,KAAK,CAACjC,CAAC,CAAC;IAC/CwC,YAAY,EAAGxC,CAAsB,IAAKiC,KAAK,CAACjC,CAAC,EAAE,KAAK,CAAC;AACzDyC,IAAAA,YAAY,EAAGzC,CAAsB,IAAKuB,KAAK,CAACvB,CAAC,CAAC;AAClD;AACA;IACA0C,WAAW,EAAG1C,CAAsB,IAAKiC,KAAK,CAACjC,CAAC,EAAE,KAAK,EAAE,IAAI,CAAC;AAC9D2C,IAAAA,UAAU,EAAG3C,CAAsB,IAAKiC,KAAK,CAACjC,CAAC,CAAA;GAChD,CAAA;AACH;;;;"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { d as isVoiceMessage$1 } from '../../index-
|
|
2
|
-
import '../../_rollupPluginBabelHelpers-
|
|
1
|
+
import { d as isVoiceMessage$1 } from '../../index-eefb44ba.js';
|
|
2
|
+
import '../../_rollupPluginBabelHelpers-4f8ebde4.js';
|
|
3
3
|
import './getOutgoingMessageState.js';
|
|
4
4
|
|
|
5
5
|
const isVoiceMessage = isVoiceMessage$1;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils-
|
|
1
|
+
{"version":3,"file":"utils-3b418b35.js","sources":["../src/ui/OpenchannelUserMessage/utils.ts"],"sourcesContent":["export const copyToClipboard = (text: string): boolean => {\n // @ts-ignore: Unreachable code error\n if (window.clipboardData && window.clipboardData.setData) {\n // Internet Explorer-specific code path to prevent textarea being shown while dialog is visible.\n // @ts-ignore: Unreachable code error\n return window.clipboardData.setData('Text', text);\n }\n if (document.queryCommandSupported && document.queryCommandSupported('copy')) {\n const textarea = document.createElement('textarea');\n textarea.textContent = text;\n textarea.style.position = 'fixed'; // Prevent scrolling to bottom of page in Microsoft Edge.\n document.body.appendChild(textarea);\n textarea.select();\n try {\n return document.execCommand('copy'); // Security exception may be thrown by some browsers.\n } catch (ex) {\n return false;\n } finally {\n document.body.removeChild(textarea);\n }\n }\n return false;\n};\n\nexport default { copyToClipboard };\n"],"names":["copyToClipboard","text","window","clipboardData","setData","document","queryCommandSupported","textarea","createElement","textContent","style","position","body","appendChild","select","execCommand","ex","removeChild"],"mappings":"AAAaA,MAAAA,eAAe,GAAIC,IAAY,IAAc;AACxD;EACA,IAAIC,MAAM,CAACC,aAAa,IAAID,MAAM,CAACC,aAAa,CAACC,OAAO,EAAE;AACxD;AACA;IACA,OAAOF,MAAM,CAACC,aAAa,CAACC,OAAO,CAAC,MAAM,EAAEH,IAAI,CAAC,CAAA;AACnD,GAAA;EACA,IAAII,QAAQ,CAACC,qBAAqB,IAAID,QAAQ,CAACC,qBAAqB,CAAC,MAAM,CAAC,EAAE;AAC5E,IAAA,MAAMC,QAAQ,GAAGF,QAAQ,CAACG,aAAa,CAAC,UAAU,CAAC,CAAA;IACnDD,QAAQ,CAACE,WAAW,GAAGR,IAAI,CAAA;AAC3BM,IAAAA,QAAQ,CAACG,KAAK,CAACC,QAAQ,GAAG,OAAO,CAAC;AAClCN,IAAAA,QAAQ,CAACO,IAAI,CAACC,WAAW,CAACN,QAAQ,CAAC,CAAA;IACnCA,QAAQ,CAACO,MAAM,EAAE,CAAA;IACjB,IAAI;AACF,MAAA,OAAOT,QAAQ,CAACU,WAAW,CAAC,MAAM,CAAC,CAAC;KACrC,CAAC,OAAOC,EAAE,EAAE;AACX,MAAA,OAAO,KAAK,CAAA;AACd,KAAC,SAAS;AACRX,MAAAA,QAAQ,CAACO,IAAI,CAACK,WAAW,CAACV,QAAQ,CAAC,CAAA;AACrC,KAAA;AACF,GAAA;AACA,EAAA,OAAO,KAAK,CAAA;AACd;;;;"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as LabelStringSet } from './index-
|
|
1
|
+
import { c as LabelStringSet } from './index-4372fcec.js';
|
|
2
2
|
|
|
3
3
|
const getChannelTitle = (channel, currentUserId, stringSet) => {
|
|
4
4
|
var _channel$members;
|
|
@@ -26,4 +26,4 @@ const getChannelTitle = (channel, currentUserId, stringSet) => {
|
|
|
26
26
|
};
|
|
27
27
|
|
|
28
28
|
export { getChannelTitle as g };
|
|
29
|
-
//# sourceMappingURL=utils-
|
|
29
|
+
//# sourceMappingURL=utils-46470b6b.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils-
|
|
1
|
+
{"version":3,"file":"utils-46470b6b.js","sources":["../src/modules/Channel/components/ChannelHeader/utils.ts"],"sourcesContent":["import type { GroupChannel } from '@sendbird/chat/groupChannel';\nimport { LabelStringSet } from '../../../../ui/Label';\n\nexport const getChannelTitle = (\n channel: GroupChannel,\n currentUserId: string,\n stringSet: { [label: string]: string },\n): string => {\n const LABEL_STRING_SET: { [label: string]: string } = stringSet || LabelStringSet;\n if (!channel?.name && !channel?.members) {\n return LABEL_STRING_SET.NO_TITLE;\n }\n if (channel?.name && channel.name !== 'Group Channel') {\n return channel.name;\n }\n\n if (channel?.members?.length === 1) {\n return LABEL_STRING_SET.NO_MEMBERS;\n }\n\n return channel?.members\n .filter(({ userId }) => userId !== currentUserId)\n .map(({ nickname }) => (nickname || LABEL_STRING_SET.NO_NAME))\n .join(', ');\n};\n"],"names":["getChannelTitle","channel","currentUserId","stringSet","_channel$members","LABEL_STRING_SET","LabelStringSet","name","members","NO_TITLE","length","NO_MEMBERS","filter","_ref","userId","map","_ref2","nickname","NO_NAME","join"],"mappings":";;AAGO,MAAMA,eAAe,GAAGA,CAC7BC,OAAqB,EACrBC,aAAqB,EACrBC,SAAsC,KAC3B;AAAA,EAAA,IAAAC,gBAAA,CAAA;AACX,EAAA,MAAMC,gBA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