@sendbird/uikit-react 3.3.6 → 3.3.7-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 +34 -34
- package/CHANGELOG.md +17 -0
- package/Channel/components/ChannelHeader.js +18 -18
- package/Channel/components/ChannelUI.js +27 -27
- package/Channel/components/FileViewer.js +14 -14
- package/Channel/components/FrozenNotification.js +4 -4
- package/Channel/components/Message.js +24 -24
- package/Channel/components/MessageInput.js +16 -16
- package/Channel/components/MessageList.js +25 -25
- package/Channel/components/RemoveMessageModal.js +16 -16
- package/Channel/components/SuggestedMentionList.js +16 -16
- package/Channel/components/TypingIndicator.js +14 -14
- package/Channel/components/UnreadCount.js +4 -4
- package/Channel/context.js +13 -13
- package/Channel.js +27 -27
- package/ChannelList/components/AddChannel.js +15 -15
- package/ChannelList/components/ChannelListHeader.js +7 -7
- package/ChannelList/components/ChannelListUI.js +28 -28
- package/ChannelList/components/ChannelPreview.js +24 -24
- package/ChannelList/components/ChannelPreviewAction.js +14 -14
- package/ChannelList/context.js +8 -8
- package/ChannelList.js +29 -28
- package/ChannelList.js.map +1 -1
- package/{ChannelListProvider-0acdc048.js → ChannelListProvider-e7339d8c.js} +67 -12
- package/ChannelListProvider-e7339d8c.js.map +1 -0
- package/{ChannelProvider-725d7d1d.js → ChannelProvider-16c5544e.js} +36 -32
- package/ChannelProvider-16c5544e.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-0f611910.js → CreateChannelProvider-1aa2025b.js} +1 -1
- package/{CreateChannelProvider-0f611910.js.map → CreateChannelProvider-1aa2025b.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-18d80268.js → LocalizationContext-c8119a4d.js} +3 -3
- package/{LocalizationContext-18d80268.js.map → LocalizationContext-c8119a4d.js.map} +1 -1
- package/{MediaQueryContext-090910cd.js → MediaQueryContext-14f0e614.js} +1 -1
- package/{MediaQueryContext-090910cd.js.map → MediaQueryContext-14f0e614.js.map} +1 -1
- package/{MemberList-2f5e3cee.js → MemberList-d87a1b9a.js} +13 -6
- package/MemberList-d87a1b9a.js.map +1 -0
- package/MessageSearch/components/MessageSearchUI.js +11 -11
- package/MessageSearch/context.js +35 -33
- package/MessageSearch/context.js.map +1 -1
- package/MessageSearch.js +11 -11
- 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 +22 -22
- 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-86f46582.js → OpenChannelListProvider-7141158c.js} +3 -3
- package/{OpenChannelListProvider-86f46582.js.map → OpenChannelListProvider-7141158c.js.map} +1 -1
- package/{OpenChannelProvider-b51d74f5.js → OpenChannelProvider-f5d93311.js} +7 -7
- package/{OpenChannelProvider-b51d74f5.js.map → OpenChannelProvider-f5d93311.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-af130425.js → RemoveMessageModal-afad72a1.js} +3 -3
- package/{RemoveMessageModal-af130425.js.map → RemoveMessageModal-afad72a1.js.map} +1 -1
- package/SendbirdProvider.js +10 -10
- package/SendbirdProvider.js.map +1 -1
- package/Thread/components/ParentMessageInfo.js +21 -21
- package/Thread/components/ParentMessageInfoItem.js +14 -14
- package/Thread/components/ThreadHeader.js +6 -6
- package/Thread/components/ThreadList.js +24 -24
- package/Thread/components/ThreadListItem.js +24 -24
- package/Thread/components/ThreadMessageInput.js +16 -16
- package/Thread/components/ThreadUI.js +26 -26
- package/Thread/context.js +8 -8
- package/Thread.js +26 -26
- package/{ThreadProvider-2c626537.js → ThreadProvider-611aaf8b.js} +6 -6
- package/{ThreadProvider-2c626537.js.map → ThreadProvider-611aaf8b.js.map} +1 -1
- package/{UserProfileContext-b97d337b.js → UserProfileContext-82be3db3.js} +1 -1
- package/{UserProfileContext-b97d337b.js.map → UserProfileContext-82be3db3.js.map} +1 -1
- package/{_rollupPluginBabelHelpers-ff9b2c51.js → _rollupPluginBabelHelpers-03564bc5.js} +1 -1
- package/_rollupPluginBabelHelpers-03564bc5.js.map +1 -0
- package/{actionTypes-47956ffa.js → actionTypes-9d11a9b7.js} +1 -1
- package/{actionTypes-47956ffa.js.map → actionTypes-9d11a9b7.js.map} +1 -1
- package/cjs/App.js +34 -34
- package/cjs/Channel/components/ChannelHeader.js +18 -18
- package/cjs/Channel/components/ChannelUI.js +27 -27
- package/cjs/Channel/components/FileViewer.js +14 -14
- package/cjs/Channel/components/FrozenNotification.js +4 -4
- package/cjs/Channel/components/Message.js +24 -24
- package/cjs/Channel/components/MessageInput.js +16 -16
- package/cjs/Channel/components/MessageList.js +25 -25
- package/cjs/Channel/components/RemoveMessageModal.js +16 -16
- package/cjs/Channel/components/SuggestedMentionList.js +16 -16
- package/cjs/Channel/components/TypingIndicator.js +14 -14
- package/cjs/Channel/components/UnreadCount.js +4 -4
- package/cjs/Channel/context.js +13 -13
- package/cjs/Channel.js +27 -27
- package/cjs/ChannelList/components/AddChannel.js +15 -15
- package/cjs/ChannelList/components/ChannelListHeader.js +7 -7
- package/cjs/ChannelList/components/ChannelListUI.js +28 -28
- package/cjs/ChannelList/components/ChannelPreview.js +24 -24
- package/cjs/ChannelList/components/ChannelPreviewAction.js +14 -14
- package/cjs/ChannelList/context.js +8 -8
- package/cjs/ChannelList.js +29 -28
- package/cjs/ChannelList.js.map +1 -1
- package/cjs/{ChannelListProvider-5df99911.js → ChannelListProvider-a487db78.js} +66 -11
- package/cjs/ChannelListProvider-a487db78.js.map +1 -0
- package/cjs/{ChannelProvider-cb8a51f5.js → ChannelProvider-fd6409a8.js} +36 -32
- package/cjs/ChannelProvider-fd6409a8.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-0a273d90.js → CreateChannelProvider-ac23f4d9.js} +1 -1
- package/cjs/{CreateChannelProvider-0a273d90.js.map → CreateChannelProvider-ac23f4d9.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-f97df901.js → LocalizationContext-ace09ab6.js} +3 -3
- package/cjs/{LocalizationContext-f97df901.js.map → LocalizationContext-ace09ab6.js.map} +1 -1
- package/cjs/{MediaQueryContext-32a5ff1a.js → MediaQueryContext-4c243ae6.js} +1 -1
- package/cjs/{MediaQueryContext-32a5ff1a.js.map → MediaQueryContext-4c243ae6.js.map} +1 -1
- package/cjs/{MemberList-fa8eaf62.js → MemberList-39afb1a2.js} +13 -6
- package/cjs/MemberList-39afb1a2.js.map +1 -0
- package/cjs/MessageSearch/components/MessageSearchUI.js +11 -11
- package/cjs/MessageSearch/context.js +35 -33
- package/cjs/MessageSearch/context.js.map +1 -1
- package/cjs/MessageSearch.js +11 -11
- 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 +22 -22
- 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-eb542100.js → OpenChannelListProvider-3b3f26a6.js} +3 -3
- package/cjs/{OpenChannelListProvider-eb542100.js.map → OpenChannelListProvider-3b3f26a6.js.map} +1 -1
- package/cjs/{OpenChannelProvider-5f42d696.js → OpenChannelProvider-1120b4b2.js} +7 -7
- package/cjs/{OpenChannelProvider-5f42d696.js.map → OpenChannelProvider-1120b4b2.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-2fe760cb.js → RemoveMessageModal-38503b81.js} +3 -3
- package/cjs/{RemoveMessageModal-2fe760cb.js.map → RemoveMessageModal-38503b81.js.map} +1 -1
- package/cjs/SendbirdProvider.js +10 -10
- package/cjs/SendbirdProvider.js.map +1 -1
- package/cjs/Thread/components/ParentMessageInfo.js +21 -21
- package/cjs/Thread/components/ParentMessageInfoItem.js +14 -14
- package/cjs/Thread/components/ThreadHeader.js +6 -6
- package/cjs/Thread/components/ThreadList.js +24 -24
- package/cjs/Thread/components/ThreadListItem.js +24 -24
- package/cjs/Thread/components/ThreadMessageInput.js +16 -16
- package/cjs/Thread/components/ThreadUI.js +26 -26
- package/cjs/Thread/context.js +8 -8
- package/cjs/Thread.js +26 -26
- package/cjs/{ThreadProvider-72dcc4ab.js → ThreadProvider-bc8ea720.js} +6 -6
- package/cjs/{ThreadProvider-72dcc4ab.js.map → ThreadProvider-bc8ea720.js.map} +1 -1
- package/cjs/{UserProfileContext-18f7c3a6.js → UserProfileContext-fae16479.js} +1 -1
- package/cjs/{UserProfileContext-18f7c3a6.js.map → UserProfileContext-fae16479.js.map} +1 -1
- package/cjs/{_rollupPluginBabelHelpers-3c7afd9c.js → _rollupPluginBabelHelpers-02902127.js} +1 -1
- package/cjs/_rollupPluginBabelHelpers-02902127.js.map +1 -0
- package/cjs/{actionTypes-a74c9a7b.js → actionTypes-e130fb57.js} +1 -1
- package/cjs/{actionTypes-a74c9a7b.js.map → actionTypes-e130fb57.js.map} +1 -1
- package/cjs/{color-780f6723.js → color-536225b3.js} +1 -1
- package/cjs/{color-780f6723.js.map → color-536225b3.js.map} +1 -1
- package/cjs/{compareIds-583e51ba.js → compareIds-9feec0fb.js} +1 -1
- package/cjs/{compareIds-583e51ba.js.map → compareIds-9feec0fb.js.map} +1 -1
- package/cjs/{const-2eccd1a7.js → const-08c0a380.js} +1 -1
- package/cjs/{const-2eccd1a7.js.map → const-08c0a380.js.map} +1 -1
- package/cjs/{const-492525b1.js → const-a8ea4bc8.js} +1 -1
- package/cjs/{const-492525b1.js.map → const-a8ea4bc8.js.map} +1 -1
- package/cjs/{context-b5ce420e.js → context-b13ff74a.js} +2 -2
- package/cjs/{context-b5ce420e.js.map → context-b13ff74a.js.map} +1 -1
- package/cjs/dist/index.css +58 -55
- package/cjs/dist/index.css.map +1 -1
- package/cjs/{index-641997ac.js → index-2757696a.js} +3 -3
- package/cjs/{index-641997ac.js.map → index-2757696a.js.map} +1 -1
- package/cjs/{index-deac63ad.js → index-33462597.js} +7 -7
- package/cjs/{index-deac63ad.js.map → index-33462597.js.map} +1 -1
- package/cjs/{index-059ace2e.js → index-3e6ea382.js} +5 -5
- package/cjs/{index-059ace2e.js.map → index-3e6ea382.js.map} +1 -1
- package/cjs/{index-6db9817d.js → index-4d328360.js} +1 -1
- package/cjs/{index-6db9817d.js.map → index-4d328360.js.map} +1 -1
- package/cjs/{index-a2e9d2d3.js → index-6dd24635.js} +4 -4
- package/cjs/{index-a2e9d2d3.js.map → index-6dd24635.js.map} +1 -1
- package/cjs/{index-e9363a3a.js → index-8acf124b.js} +2 -2
- package/cjs/{index-e9363a3a.js.map → index-8acf124b.js.map} +1 -1
- package/cjs/{index-fe4ed3a7.js → index-8b16d134.js} +2 -2
- package/cjs/{index-fe4ed3a7.js.map → index-8b16d134.js.map} +1 -1
- package/cjs/{index-af7e72b0.js → index-a3ec84b4.js} +2 -2
- package/cjs/{index-af7e72b0.js.map → index-a3ec84b4.js.map} +1 -1
- package/cjs/{index-ee34e881.js → index-a434a147.js} +1 -1
- package/cjs/{index-ee34e881.js.map → index-a434a147.js.map} +1 -1
- package/cjs/{index-2f1100d1.js → index-c4000ca9.js} +2 -2
- package/cjs/{index-2f1100d1.js.map → index-c4000ca9.js.map} +1 -1
- package/cjs/{index-21526550.js → index-e30cba63.js} +7 -7
- package/cjs/{index-21526550.js.map → index-e30cba63.js.map} +1 -1
- package/cjs/{index-ae6284ae.js → index-e9624ce0.js} +2 -2
- package/cjs/{index-ae6284ae.js.map → index-e9624ce0.js.map} +1 -1
- package/cjs/index.js +38 -38
- package/cjs/sendbirdSelectors.js +2 -2
- package/cjs/{stringSet-b7a88492.js → stringSet-6f1ae22f.js} +1 -1
- package/cjs/{stringSet-b7a88492.js.map → stringSet-6f1ae22f.js.map} +1 -1
- package/cjs/{topics-02d19bd7.js → topics-27e1fae9.js} +1 -1
- package/cjs/{topics-02d19bd7.js.map → topics-27e1fae9.js.map} +1 -1
- package/cjs/{tslib.es6-fde0dfbe.js → tslib.es6-0626ad00.js} +1 -1
- package/cjs/{tslib.es6-fde0dfbe.js.map → tslib.es6-0626ad00.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/Checkbox.js +5 -4
- package/cjs/ui/Checkbox.js.map +1 -1
- package/cjs/ui/ConnectionStatus.js +4 -4
- package/cjs/ui/ContextMenu.js +5 -5
- package/cjs/ui/DateSeparator.js +4 -4
- package/cjs/ui/EmojiReactions.js +7 -7
- package/cjs/ui/FileMessageItemBody.js +6 -6
- package/cjs/ui/FileViewer.js +8 -8
- package/cjs/ui/IconButton.js +1 -1
- package/cjs/ui/ImageRenderer.js +1 -1
- package/cjs/ui/Input.js +2 -2
- package/cjs/ui/Label.js +2 -2
- package/cjs/ui/LinkLabel.js +2 -2
- package/cjs/ui/Loader.js +1 -1
- package/cjs/ui/MentionLabel.js +11 -11
- package/cjs/ui/MessageContent.js +20 -20
- package/cjs/ui/MessageInput.js +9 -9
- package/cjs/ui/MessageItemMenu.js +7 -7
- package/cjs/ui/MessageItemReactionMenu.js +5 -5
- package/cjs/ui/MessageSearchFileItem.js +9 -9
- 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 +16 -16
- package/cjs/ui/OpenchannelOGMessage.js +16 -16
- package/cjs/ui/OpenchannelThumbnailMessage.js +15 -15
- package/cjs/ui/OpenchannelUserMessage.js +16 -16
- package/cjs/ui/PlaceHolder.js +6 -6
- package/cjs/ui/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/Word.js +11 -11
- package/cjs/{useLongPress-0167e59c.js → useLongPress-a90dd2a4.js} +3 -3
- package/cjs/{useLongPress-0167e59c.js.map → useLongPress-a90dd2a4.js.map} +1 -1
- package/cjs/useSendbirdStateContext.js +1 -1
- package/cjs/{utils-8fb2ac56.js → utils-00ef5b9d.js} +1 -1
- package/cjs/{utils-8fb2ac56.js.map → utils-00ef5b9d.js.map} +1 -1
- package/cjs/{utils-5c18b9a3.js → utils-5e8af8fc.js} +2 -2
- package/cjs/{utils-5c18b9a3.js.map → utils-5e8af8fc.js.map} +1 -1
- package/cjs/{utils-5172c63a.js → utils-aa1a4288.js} +1 -1
- package/cjs/{utils-5172c63a.js.map → utils-aa1a4288.js.map} +1 -1
- package/cjs/{utils-280337ff.js → utils-b5452f20.js} +1 -1
- package/cjs/{utils-280337ff.js.map → utils-b5452f20.js.map} +1 -1
- package/cjs/{uuid-a7340c0b.js → uuid-4673dc04.js} +1 -1
- package/cjs/{uuid-a7340c0b.js.map → uuid-4673dc04.js.map} +1 -1
- package/cjs/withSendbird.js +1 -1
- package/{color-874fad60.js → color-2afb534d.js} +1 -1
- package/{color-874fad60.js.map → color-2afb534d.js.map} +1 -1
- package/{compareIds-6d933e55.js → compareIds-14eda0e2.js} +1 -1
- package/{compareIds-6d933e55.js.map → compareIds-14eda0e2.js.map} +1 -1
- package/{const-d0b9ef03.js → const-82f390fb.js} +1 -1
- package/{const-d0b9ef03.js.map → const-82f390fb.js.map} +1 -1
- package/{const-3c9cbe82.js → const-894c1f7a.js} +1 -1
- package/{const-3c9cbe82.js.map → const-894c1f7a.js.map} +1 -1
- package/{context-8fdca3df.js → context-6ea94634.js} +2 -2
- package/{context-8fdca3df.js.map → context-6ea94634.js.map} +1 -1
- package/dist/index.css +58 -55
- package/dist/index.css.map +1 -1
- package/{index-8a4055b8.js → index-1c7f1933.js} +2 -2
- package/{index-8a4055b8.js.map → index-1c7f1933.js.map} +1 -1
- package/{index-508fde69.js → index-39a6d05a.js} +5 -5
- package/{index-508fde69.js.map → index-39a6d05a.js.map} +1 -1
- package/{index-38cc690b.js → index-42d42ed5.js} +7 -7
- package/{index-38cc690b.js.map → index-42d42ed5.js.map} +1 -1
- package/{index-686c220a.js → index-47ffbb65.js} +2 -2
- package/{index-686c220a.js.map → index-47ffbb65.js.map} +1 -1
- package/{index-7f5ef1e1.js → index-51deabbf.js} +2 -2
- package/{index-7f5ef1e1.js.map → index-51deabbf.js.map} +1 -1
- package/{index-1c396c78.js → index-5a6b11d2.js} +4 -4
- package/{index-1c396c78.js.map → index-5a6b11d2.js.map} +1 -1
- package/{index-a0a7b2d5.js → index-85ae7001.js} +1 -1
- package/{index-a0a7b2d5.js.map → index-85ae7001.js.map} +1 -1
- package/{index-e9f7e30a.js → index-aebde211.js} +7 -7
- package/{index-e9f7e30a.js.map → index-aebde211.js.map} +1 -1
- package/{index-f4ea44d2.js → index-b5461a88.js} +3 -3
- package/{index-f4ea44d2.js.map → index-b5461a88.js.map} +1 -1
- package/{index-b01ec750.js → index-c8f0ed84.js} +2 -2
- package/{index-b01ec750.js.map → index-c8f0ed84.js.map} +1 -1
- package/{index-dc6ec6c6.js → index-e8a6a0df.js} +2 -2
- package/{index-dc6ec6c6.js.map → index-e8a6a0df.js.map} +1 -1
- package/{index-d1cf8ac0.js → index-fde13261.js} +1 -1
- package/{index-d1cf8ac0.js.map → index-fde13261.js.map} +1 -1
- package/index.d.ts +2 -1
- package/index.js +38 -38
- package/package.json +1 -1
- package/sendbirdSelectors.js +2 -2
- package/{stringSet-9e97eb68.js → stringSet-9fae0b1d.js} +1 -1
- package/{stringSet-9e97eb68.js.map → stringSet-9fae0b1d.js.map} +1 -1
- package/{topics-c899a4b5.js → topics-2392c733.js} +1 -1
- package/{topics-c899a4b5.js.map → topics-2392c733.js.map} +1 -1
- package/{tslib.es6-356e4352.js → tslib.es6-0713b47f.js} +1 -1
- package/{tslib.es6-356e4352.js.map → tslib.es6-0713b47f.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/Checkbox.js +5 -4
- package/ui/Checkbox.js.map +1 -1
- package/ui/ConnectionStatus.js +4 -4
- package/ui/ContextMenu.js +5 -5
- package/ui/DateSeparator.js +4 -4
- package/ui/EmojiReactions.js +7 -7
- package/ui/FileMessageItemBody.js +6 -6
- package/ui/FileViewer.js +8 -8
- package/ui/IconButton.js +1 -1
- package/ui/ImageRenderer.js +1 -1
- package/ui/Input.js +2 -2
- package/ui/Label.js +2 -2
- package/ui/LinkLabel.js +2 -2
- package/ui/Loader.js +1 -1
- package/ui/MentionLabel.js +11 -11
- package/ui/MessageContent.js +20 -20
- package/ui/MessageInput.js +9 -9
- package/ui/MessageItemMenu.js +7 -7
- package/ui/MessageItemReactionMenu.js +5 -5
- package/ui/MessageSearchFileItem.js +9 -9
- 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 +16 -16
- package/ui/OpenchannelOGMessage.js +16 -16
- package/ui/OpenchannelThumbnailMessage.js +15 -15
- package/ui/OpenchannelUserMessage.js +16 -16
- package/ui/PlaceHolder.js +6 -6
- package/ui/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/Word.js +11 -11
- package/{useLongPress-b6324cd2.js → useLongPress-b4ff7ad2.js} +3 -3
- package/{useLongPress-b6324cd2.js.map → useLongPress-b4ff7ad2.js.map} +1 -1
- package/useSendbirdStateContext.js +1 -1
- package/{utils-11d16985.js → utils-aca630a5.js} +1 -1
- package/{utils-11d16985.js.map → utils-aca630a5.js.map} +1 -1
- package/{utils-eda8644e.js → utils-c1217a88.js} +2 -2
- package/{utils-eda8644e.js.map → utils-c1217a88.js.map} +1 -1
- package/{utils-ab38ad8d.js → utils-e8644eb2.js} +1 -1
- package/{utils-ab38ad8d.js.map → utils-e8644eb2.js.map} +1 -1
- package/{utils-c4ad9122.js → utils-feb3f5f5.js} +1 -1
- package/{utils-c4ad9122.js.map → utils-feb3f5f5.js.map} +1 -1
- package/{uuid-40d04eb4.js → uuid-715c0b7d.js} +1 -1
- package/{uuid-40d04eb4.js.map → uuid-715c0b7d.js.map} +1 -1
- package/withSendbird.js +1 -1
- package/ChannelListProvider-0acdc048.js.map +0 -1
- package/ChannelProvider-725d7d1d.js.map +0 -1
- package/MemberList-2f5e3cee.js.map +0 -1
- package/_rollupPluginBabelHelpers-ff9b2c51.js.map +0 -1
- package/cjs/ChannelListProvider-5df99911.js.map +0 -1
- package/cjs/ChannelProvider-cb8a51f5.js.map +0 -1
- package/cjs/MemberList-fa8eaf62.js.map +0 -1
- package/cjs/_rollupPluginBabelHelpers-3c7afd9c.js.map +0 -1
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
import { a as _extends } from '../_rollupPluginBabelHelpers-
|
|
2
|
-
import { a as __spreadArray, _ as __assign } from '../tslib.es6-
|
|
1
|
+
import { a as _extends } from '../_rollupPluginBabelHelpers-03564bc5.js';
|
|
2
|
+
import { a as __spreadArray, _ as __assign } from '../tslib.es6-0713b47f.js';
|
|
3
3
|
import React__default, { useRef, useContext, useState } from 'react';
|
|
4
|
-
import { f as format } from '../index-
|
|
4
|
+
import { f as format } from '../index-e8a6a0df.js';
|
|
5
5
|
import Avatar from './Avatar.js';
|
|
6
6
|
import ContextMenu, { MenuItems, MenuItem } from './ContextMenu.js';
|
|
7
|
-
import { L as Label, a as LabelTypography, b as LabelColors } from '../index-
|
|
7
|
+
import { L as Label, a as LabelTypography, b as LabelColors } from '../index-1c7f1933.js';
|
|
8
8
|
import Loader from './Loader.js';
|
|
9
9
|
import Icon, { IconTypes, IconColors } from './Icon.js';
|
|
10
10
|
import IconButton from './IconButton.js';
|
|
11
11
|
import TextButton from './TextButton.js';
|
|
12
12
|
import UserProfile from './UserProfile.js';
|
|
13
|
-
import { a as UserProfileContext } from '../UserProfileContext-
|
|
14
|
-
import { u as useLocalization } from '../LocalizationContext-
|
|
15
|
-
import { g as getSenderFromMessage, s as showMenuTrigger, 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 '../index-
|
|
13
|
+
import { a as UserProfileContext } from '../UserProfileContext-82be3db3.js';
|
|
14
|
+
import { u as useLocalization } from '../LocalizationContext-c8119a4d.js';
|
|
15
|
+
import { g as getSenderFromMessage, s as showMenuTrigger, b as isFineResend, c as isFineDelete, O as OpenChannelMobileMenu, d as checkIsPending, e as checkIsFailed } from '../index-c8f0ed84.js';
|
|
16
|
+
import { u as useMediaQueryContext } from '../MediaQueryContext-14f0e614.js';
|
|
17
|
+
import { u as useLongPress } from '../useLongPress-b4ff7ad2.js';
|
|
18
|
+
import '../index-85ae7001.js';
|
|
19
19
|
import './ImageRenderer.js';
|
|
20
|
-
import '../uuid-
|
|
20
|
+
import '../uuid-715c0b7d.js';
|
|
21
21
|
import 'prop-types';
|
|
22
22
|
import 'react-dom';
|
|
23
23
|
import './SortByRow.js';
|
|
24
|
-
import '../index-
|
|
24
|
+
import '../index-51deabbf.js';
|
|
25
25
|
import '../utils/message/getOutgoingMessageState.js';
|
|
26
|
-
import '../stringSet-
|
|
27
|
-
import '../color-
|
|
26
|
+
import '../stringSet-9fae0b1d.js';
|
|
27
|
+
import '../color-2afb534d.js';
|
|
28
28
|
import '../sendbirdSelectors.js';
|
|
29
|
-
import '../topics-
|
|
30
|
-
import '../utils-
|
|
29
|
+
import '../topics-2392c733.js';
|
|
30
|
+
import '../utils-aca630a5.js';
|
|
31
31
|
import './Button.js';
|
|
32
32
|
import '../useSendbirdStateContext.js';
|
|
33
33
|
import '../withSendbird.js';
|
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
import { a as _extends } from '../_rollupPluginBabelHelpers-
|
|
2
|
-
import { a as __spreadArray, _ as __assign } from '../tslib.es6-
|
|
1
|
+
import { a as _extends } from '../_rollupPluginBabelHelpers-03564bc5.js';
|
|
2
|
+
import { a as __spreadArray, _ as __assign } from '../tslib.es6-0713b47f.js';
|
|
3
3
|
import React__default, { useContext, useState, useRef, useMemo, useEffect } from 'react';
|
|
4
|
-
import { f as format } from '../index-
|
|
4
|
+
import { f as format } from '../index-e8a6a0df.js';
|
|
5
5
|
import Avatar from './Avatar.js';
|
|
6
6
|
import ContextMenu, { MenuItems, MenuItem } from './ContextMenu.js';
|
|
7
7
|
import Icon, { IconTypes, IconColors } from './Icon.js';
|
|
8
8
|
import IconButton from './IconButton.js';
|
|
9
9
|
import ImageRenderer from './ImageRenderer.js';
|
|
10
10
|
import LinkLabel from './LinkLabel.js';
|
|
11
|
-
import { L as Label, a as LabelTypography, b as LabelColors } from '../index-
|
|
11
|
+
import { L as Label, a as LabelTypography, b as LabelColors } from '../index-1c7f1933.js';
|
|
12
12
|
import Loader from './Loader.js';
|
|
13
13
|
import UserProfile from './UserProfile.js';
|
|
14
14
|
import Word from './Word.js';
|
|
15
|
-
import { a as UserProfileContext } from '../UserProfileContext-
|
|
16
|
-
import { u as uuidv4 } from '../uuid-
|
|
17
|
-
import { c as copyToClipboard } from '../utils-
|
|
18
|
-
import { u as useLocalization } from '../LocalizationContext-
|
|
19
|
-
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-
|
|
15
|
+
import { a as UserProfileContext } from '../UserProfileContext-82be3db3.js';
|
|
16
|
+
import { u as uuidv4 } from '../uuid-715c0b7d.js';
|
|
17
|
+
import { c as copyToClipboard } from '../utils-feb3f5f5.js';
|
|
18
|
+
import { u as useLocalization } from '../LocalizationContext-c8119a4d.js';
|
|
19
|
+
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-c8f0ed84.js';
|
|
20
20
|
import useSendbirdStateContext from '../useSendbirdStateContext.js';
|
|
21
|
-
import { u as useMediaQueryContext } from '../MediaQueryContext-
|
|
22
|
-
import { u as useLongPress } from '../useLongPress-
|
|
23
|
-
import '../index-
|
|
21
|
+
import { u as useMediaQueryContext } from '../MediaQueryContext-14f0e614.js';
|
|
22
|
+
import { u as useLongPress } from '../useLongPress-b4ff7ad2.js';
|
|
23
|
+
import '../index-85ae7001.js';
|
|
24
24
|
import 'prop-types';
|
|
25
25
|
import 'react-dom';
|
|
26
26
|
import './SortByRow.js';
|
|
27
|
-
import '../index-
|
|
27
|
+
import '../index-51deabbf.js';
|
|
28
28
|
import '../utils/message/getOutgoingMessageState.js';
|
|
29
|
-
import '../stringSet-
|
|
29
|
+
import '../stringSet-9fae0b1d.js';
|
|
30
30
|
import '../sendbirdSelectors.js';
|
|
31
|
-
import '../topics-
|
|
32
|
-
import '../utils-
|
|
31
|
+
import '../topics-2392c733.js';
|
|
32
|
+
import '../utils-aca630a5.js';
|
|
33
33
|
import './Button.js';
|
|
34
34
|
import './MentionLabel.js';
|
|
35
35
|
import '../withSendbird.js';
|
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import { a as _extends } from '../_rollupPluginBabelHelpers-
|
|
2
|
-
import { a as __spreadArray, _ as __assign } from '../tslib.es6-
|
|
1
|
+
import { a as _extends } from '../_rollupPluginBabelHelpers-03564bc5.js';
|
|
2
|
+
import { a as __spreadArray, _ as __assign } from '../tslib.es6-0713b47f.js';
|
|
3
3
|
import React__default, { useContext, useState, useRef, useMemo, useEffect } from 'react';
|
|
4
|
-
import { f as format } from '../index-
|
|
5
|
-
import { u as useLocalization } from '../LocalizationContext-
|
|
4
|
+
import { f as format } from '../index-e8a6a0df.js';
|
|
5
|
+
import { u as useLocalization } from '../LocalizationContext-c8119a4d.js';
|
|
6
6
|
import Avatar from './Avatar.js';
|
|
7
7
|
import ContextMenu, { MenuItems, MenuItem } from './ContextMenu.js';
|
|
8
8
|
import Icon, { IconColors, IconTypes } from './Icon.js';
|
|
9
9
|
import IconButton from './IconButton.js';
|
|
10
10
|
import ImageRenderer from './ImageRenderer.js';
|
|
11
|
-
import { L as Label, a as LabelTypography, b as LabelColors } from '../index-
|
|
11
|
+
import { L as Label, a as LabelTypography, b as LabelColors } from '../index-1c7f1933.js';
|
|
12
12
|
import Loader from './Loader.js';
|
|
13
13
|
import UserProfile from './UserProfile.js';
|
|
14
|
-
import { a as UserProfileContext } from '../UserProfileContext-
|
|
15
|
-
import { g as getSenderFromMessage, s as showMenuTrigger, b as isFineResend, c as isFineDelete, O as OpenChannelMobileMenu, f as checkIsSent, d as checkIsPending, e as checkIsFailed } from '../index-
|
|
16
|
-
import { u as useMediaQueryContext } from '../MediaQueryContext-
|
|
17
|
-
import { u as useLongPress } from '../useLongPress-
|
|
18
|
-
import '../index-
|
|
19
|
-
import '../stringSet-
|
|
20
|
-
import '../uuid-
|
|
14
|
+
import { a as UserProfileContext } from '../UserProfileContext-82be3db3.js';
|
|
15
|
+
import { g as getSenderFromMessage, s as showMenuTrigger, b as isFineResend, c as isFineDelete, O as OpenChannelMobileMenu, f as checkIsSent, d as checkIsPending, e as checkIsFailed } from '../index-c8f0ed84.js';
|
|
16
|
+
import { u as useMediaQueryContext } from '../MediaQueryContext-14f0e614.js';
|
|
17
|
+
import { u as useLongPress } from '../useLongPress-b4ff7ad2.js';
|
|
18
|
+
import '../index-85ae7001.js';
|
|
19
|
+
import '../stringSet-9fae0b1d.js';
|
|
20
|
+
import '../uuid-715c0b7d.js';
|
|
21
21
|
import 'prop-types';
|
|
22
22
|
import 'react-dom';
|
|
23
23
|
import './SortByRow.js';
|
|
24
|
-
import '../index-
|
|
24
|
+
import '../index-51deabbf.js';
|
|
25
25
|
import '../utils/message/getOutgoingMessageState.js';
|
|
26
26
|
import '../sendbirdSelectors.js';
|
|
27
|
-
import '../topics-
|
|
28
|
-
import '../utils-
|
|
27
|
+
import '../topics-2392c733.js';
|
|
28
|
+
import '../utils-aca630a5.js';
|
|
29
29
|
import './Button.js';
|
|
30
30
|
import '../useSendbirdStateContext.js';
|
|
31
31
|
import '../withSendbird.js';
|
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
import { a as _extends } from '../_rollupPluginBabelHelpers-
|
|
2
|
-
import { a as __spreadArray, _ as __assign } from '../tslib.es6-
|
|
1
|
+
import { a as _extends } from '../_rollupPluginBabelHelpers-03564bc5.js';
|
|
2
|
+
import { a as __spreadArray, _ as __assign } from '../tslib.es6-0713b47f.js';
|
|
3
3
|
import React__default, { useContext, useRef, useState, useEffect } from 'react';
|
|
4
|
-
import { f as format } from '../index-
|
|
4
|
+
import { f as format } from '../index-e8a6a0df.js';
|
|
5
5
|
import Avatar from './Avatar.js';
|
|
6
6
|
import ContextMenu, { MenuItems, MenuItem } from './ContextMenu.js';
|
|
7
7
|
import Icon, { IconTypes, IconColors } from './Icon.js';
|
|
8
8
|
import IconButton from './IconButton.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-1c7f1933.js';
|
|
10
10
|
import Loader from './Loader.js';
|
|
11
11
|
import UserProfile from './UserProfile.js';
|
|
12
|
-
import { a as UserProfileContext } from '../UserProfileContext-
|
|
13
|
-
import { u as useLocalization } from '../LocalizationContext-
|
|
14
|
-
import { c as copyToClipboard } from '../utils-
|
|
15
|
-
import { u as uuidv4 } from '../uuid-
|
|
16
|
-
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-
|
|
17
|
-
import { u as useMediaQueryContext } from '../MediaQueryContext-
|
|
18
|
-
import { u as useLongPress } from '../useLongPress-
|
|
19
|
-
import { d as isEditedMessage } from '../index-
|
|
20
|
-
import '../index-
|
|
12
|
+
import { a as UserProfileContext } from '../UserProfileContext-82be3db3.js';
|
|
13
|
+
import { u as useLocalization } from '../LocalizationContext-c8119a4d.js';
|
|
14
|
+
import { c as copyToClipboard } from '../utils-feb3f5f5.js';
|
|
15
|
+
import { u as uuidv4 } from '../uuid-715c0b7d.js';
|
|
16
|
+
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-c8f0ed84.js';
|
|
17
|
+
import { u as useMediaQueryContext } from '../MediaQueryContext-14f0e614.js';
|
|
18
|
+
import { u as useLongPress } from '../useLongPress-b4ff7ad2.js';
|
|
19
|
+
import { d as isEditedMessage } from '../index-51deabbf.js';
|
|
20
|
+
import '../index-85ae7001.js';
|
|
21
21
|
import './ImageRenderer.js';
|
|
22
22
|
import 'prop-types';
|
|
23
23
|
import 'react-dom';
|
|
24
24
|
import './SortByRow.js';
|
|
25
25
|
import '../utils/message/getOutgoingMessageState.js';
|
|
26
|
-
import '../stringSet-
|
|
26
|
+
import '../stringSet-9fae0b1d.js';
|
|
27
27
|
import '../sendbirdSelectors.js';
|
|
28
|
-
import '../topics-
|
|
29
|
-
import '../utils-
|
|
28
|
+
import '../topics-2392c733.js';
|
|
29
|
+
import '../utils-aca630a5.js';
|
|
30
30
|
import './Button.js';
|
|
31
31
|
import '../useSendbirdStateContext.js';
|
|
32
32
|
import '../withSendbird.js';
|
package/ui/PlaceHolder.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import '../tslib.es6-
|
|
1
|
+
import '../tslib.es6-0713b47f.js';
|
|
2
2
|
import 'react';
|
|
3
|
-
export { a as PlaceHolderTypes, P as default } from '../index-
|
|
4
|
-
import '../LocalizationContext-
|
|
3
|
+
export { a as PlaceHolderTypes, P as default } from '../index-5a6b11d2.js';
|
|
4
|
+
import '../LocalizationContext-c8119a4d.js';
|
|
5
5
|
import './Icon.js';
|
|
6
|
-
import '../index-
|
|
6
|
+
import '../index-1c7f1933.js';
|
|
7
7
|
import './Loader.js';
|
|
8
|
-
import '../stringSet-
|
|
9
|
-
import '../index-
|
|
8
|
+
import '../stringSet-9fae0b1d.js';
|
|
9
|
+
import '../index-85ae7001.js';
|
|
10
10
|
import 'prop-types';
|
|
11
11
|
//# sourceMappingURL=PlaceHolder.js.map
|
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-1c7f1933.js';
|
|
4
4
|
import ImageRenderer from './ImageRenderer.js';
|
|
5
|
-
import { a as LocalizationContext } from '../LocalizationContext-
|
|
6
|
-
import { K as getUIKitFileTypes, h as getClassName, r as isUserMessage, n as isThumbnailMessage, E as isVideo, L as isGif, l as isFileMessage, D as isSupportedFileView, J as getUIKitFileType, t as truncateString } from '../index-
|
|
5
|
+
import { a as LocalizationContext } from '../LocalizationContext-c8119a4d.js';
|
|
6
|
+
import { K as getUIKitFileTypes, h as getClassName, r as isUserMessage, n as isThumbnailMessage, E as isVideo, L as isGif, l as isFileMessage, D as isSupportedFileView, J as getUIKitFileType, t as truncateString } from '../index-51deabbf.js';
|
|
7
7
|
import 'prop-types';
|
|
8
|
-
import '../stringSet-
|
|
9
|
-
import '../tslib.es6-
|
|
10
|
-
import '../index-
|
|
8
|
+
import '../stringSet-9fae0b1d.js';
|
|
9
|
+
import '../tslib.es6-0713b47f.js';
|
|
10
|
+
import '../index-85ae7001.js';
|
|
11
11
|
import '../utils/message/getOutgoingMessageState.js';
|
|
12
12
|
|
|
13
13
|
function QuoteMessage(_a) {
|
package/ui/QuoteMessageInput.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import React__default, { useContext } from 'react';
|
|
2
|
-
import { l as isFileMessage, m as isImageMessage, n as isThumbnailMessage, o as isAudioMessage, h as getClassName, p as isGifMessage, q as isVideoMessage, r as isUserMessage } from '../index-
|
|
2
|
+
import { l as isFileMessage, m as isImageMessage, n as isThumbnailMessage, o as isAudioMessage, h as getClassName, p as isGifMessage, q as isVideoMessage, r as isUserMessage } from '../index-51deabbf.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-1c7f1933.js';
|
|
5
|
+
import { a as LocalizationContext } from '../LocalizationContext-c8119a4d.js';
|
|
6
6
|
import ImageRenderer from './ImageRenderer.js';
|
|
7
|
-
import '../tslib.es6-
|
|
7
|
+
import '../tslib.es6-0713b47f.js';
|
|
8
8
|
import '../utils/message/getOutgoingMessageState.js';
|
|
9
9
|
import 'prop-types';
|
|
10
|
-
import '../stringSet-
|
|
11
|
-
import '../index-
|
|
10
|
+
import '../stringSet-9fae0b1d.js';
|
|
11
|
+
import '../index-85ae7001.js';
|
|
12
12
|
|
|
13
13
|
var componentClassname = 'sendbird-quote_message_input__avatar';
|
|
14
14
|
function QuoteMessageThumbnail(_a) {
|
package/ui/ReactionBadge.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { a as __spreadArray } from '../tslib.es6-
|
|
1
|
+
import { a as __spreadArray } from '../tslib.es6-0713b47f.js';
|
|
2
2
|
import React__default from 'react';
|
|
3
|
-
import { L as Label, a as LabelTypography, b as LabelColors } from '../index-
|
|
3
|
+
import { L as Label, a as LabelTypography, b as LabelColors } from '../index-1c7f1933.js';
|
|
4
4
|
import 'prop-types';
|
|
5
|
-
import '../stringSet-
|
|
5
|
+
import '../stringSet-9fae0b1d.js';
|
|
6
6
|
|
|
7
7
|
var ReactionBadge = /*#__PURE__*/React__default.forwardRef(function (props, ref) {
|
|
8
8
|
var _a = props.className,
|
package/ui/ReactionButton.js
CHANGED
package/ui/SortByRow.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as __spreadArray } from '../tslib.es6-
|
|
1
|
+
import { a as __spreadArray } from '../tslib.es6-0713b47f.js';
|
|
2
2
|
import React__default from 'react';
|
|
3
|
-
import { u as uuidv4 } from '../uuid-
|
|
3
|
+
import { u as uuidv4 } from '../uuid-715c0b7d.js';
|
|
4
4
|
|
|
5
5
|
var componentClassName = 'sendbird-sort-by-row';
|
|
6
6
|
function SortByRow(_a) {
|
package/ui/TextButton.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as __spreadArray } from '../tslib.es6-
|
|
1
|
+
import { a as __spreadArray } from '../tslib.es6-0713b47f.js';
|
|
2
2
|
import React__default from 'react';
|
|
3
|
-
import { C as Colors, c as changeColorToClassName } from '../color-
|
|
3
|
+
import { C as Colors, c as changeColorToClassName } from '../color-2afb534d.js';
|
|
4
4
|
|
|
5
5
|
var TextButton = function (_a) {
|
|
6
6
|
var _b = _a.className,
|
|
@@ -1,31 +1,31 @@
|
|
|
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, d as isEditedMessage } from '../index-
|
|
4
|
-
import { a as LocalizationContext } from '../LocalizationContext-
|
|
5
|
-
import { u as uuidv4 } from '../uuid-
|
|
2
|
+
import { L as Label, a as LabelTypography, b as LabelColors } from '../index-1c7f1933.js';
|
|
3
|
+
import { h as getClassName, d as isEditedMessage } from '../index-51deabbf.js';
|
|
4
|
+
import { a as LocalizationContext } from '../LocalizationContext-c8119a4d.js';
|
|
5
|
+
import { u as uuidv4 } from '../uuid-715c0b7d.js';
|
|
6
6
|
import Word from './Word.js';
|
|
7
7
|
import 'prop-types';
|
|
8
|
-
import '../stringSet-
|
|
9
|
-
import '../tslib.es6-
|
|
8
|
+
import '../stringSet-9fae0b1d.js';
|
|
9
|
+
import '../tslib.es6-0713b47f.js';
|
|
10
10
|
import '../utils/message/getOutgoingMessageState.js';
|
|
11
|
-
import '../index-
|
|
11
|
+
import '../index-85ae7001.js';
|
|
12
12
|
import './LinkLabel.js';
|
|
13
13
|
import './MentionLabel.js';
|
|
14
14
|
import './ContextMenu.js';
|
|
15
15
|
import 'react-dom';
|
|
16
16
|
import './SortByRow.js';
|
|
17
17
|
import './UserProfile.js';
|
|
18
|
-
import '../UserProfileContext-
|
|
18
|
+
import '../UserProfileContext-82be3db3.js';
|
|
19
19
|
import '../sendbirdSelectors.js';
|
|
20
|
-
import '../topics-
|
|
21
|
-
import '../utils-
|
|
20
|
+
import '../topics-2392c733.js';
|
|
21
|
+
import '../utils-aca630a5.js';
|
|
22
22
|
import './Avatar.js';
|
|
23
23
|
import './ImageRenderer.js';
|
|
24
24
|
import './Icon.js';
|
|
25
25
|
import './Button.js';
|
|
26
26
|
import '../useSendbirdStateContext.js';
|
|
27
27
|
import '../withSendbird.js';
|
|
28
|
-
import '../_rollupPluginBabelHelpers-
|
|
28
|
+
import '../_rollupPluginBabelHelpers-03564bc5.js';
|
|
29
29
|
|
|
30
30
|
function TextMessageItemBody(_a) {
|
|
31
31
|
var _b, _c, _d;
|
package/ui/ThreadReplies.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
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-
|
|
7
|
-
import '../tslib.es6-
|
|
4
|
+
import { L as Label, a as LabelTypography, b as LabelColors } from '../index-1c7f1933.js';
|
|
5
|
+
import { u as useLocalization } from '../LocalizationContext-c8119a4d.js';
|
|
6
|
+
import { u as uuidv4 } from '../uuid-715c0b7d.js';
|
|
7
|
+
import '../tslib.es6-0713b47f.js';
|
|
8
8
|
import './ImageRenderer.js';
|
|
9
9
|
import 'prop-types';
|
|
10
|
-
import '../stringSet-
|
|
11
|
-
import '../index-
|
|
10
|
+
import '../stringSet-9fae0b1d.js';
|
|
11
|
+
import '../index-85ae7001.js';
|
|
12
12
|
|
|
13
13
|
function ThreadReplies(_a) {
|
|
14
14
|
var _b;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React__default, { useState } from 'react';
|
|
2
2
|
import Icon, { IconTypes, IconColors } from './Icon.js';
|
|
3
3
|
import ImageRenderer from './ImageRenderer.js';
|
|
4
|
-
import { h as getClassName, s as isSentMessage, q as isVideoMessage, p as isGifMessage } from '../index-
|
|
4
|
+
import { h as getClassName, s as isSentMessage, q as isVideoMessage, p as isGifMessage } from '../index-51deabbf.js';
|
|
5
5
|
import 'prop-types';
|
|
6
|
-
import '../tslib.es6-
|
|
6
|
+
import '../tslib.es6-0713b47f.js';
|
|
7
7
|
import '../utils/message/getOutgoingMessageState.js';
|
|
8
8
|
|
|
9
9
|
function ThumbnailMessageItemBody(_a) {
|
package/ui/Tooltip.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { a as __spreadArray } from '../tslib.es6-
|
|
1
|
+
import { a as __spreadArray } from '../tslib.es6-0713b47f.js';
|
|
2
2
|
import React__default from 'react';
|
|
3
|
-
import { L as Label, a as LabelTypography, b as LabelColors } from '../index-
|
|
3
|
+
import { L as Label, a as LabelTypography, b as LabelColors } from '../index-1c7f1933.js';
|
|
4
4
|
import 'prop-types';
|
|
5
|
-
import '../stringSet-
|
|
5
|
+
import '../stringSet-9fae0b1d.js';
|
|
6
6
|
|
|
7
7
|
function Tooltip(_a) {
|
|
8
8
|
var _b = _a.className,
|
package/ui/TooltipWrapper.js
CHANGED
|
@@ -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-1c7f1933.js';
|
|
3
|
+
import { h as getClassName } from '../index-51deabbf.js';
|
|
4
|
+
import { a as LocalizationContext } from '../LocalizationContext-c8119a4d.js';
|
|
5
5
|
import 'prop-types';
|
|
6
|
-
import '../stringSet-
|
|
7
|
-
import '../tslib.es6-
|
|
6
|
+
import '../stringSet-9fae0b1d.js';
|
|
7
|
+
import '../tslib.es6-0713b47f.js';
|
|
8
8
|
import '../utils/message/getOutgoingMessageState.js';
|
|
9
|
-
import '../index-
|
|
9
|
+
import '../index-85ae7001.js';
|
|
10
10
|
|
|
11
11
|
function UnknownMessageItemBody(_a) {
|
|
12
12
|
var _b;
|
package/ui/UserListItem.js
CHANGED
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import { a as __spreadArray } from '../tslib.es6-
|
|
1
|
+
import { a as __spreadArray } from '../tslib.es6-0713b47f.js';
|
|
2
2
|
import React__default, { useContext } from 'react';
|
|
3
|
-
import { a as UserProfileContext } from '../UserProfileContext-
|
|
4
|
-
import { a as LocalizationContext } from '../LocalizationContext-
|
|
3
|
+
import { a as UserProfileContext } from '../UserProfileContext-82be3db3.js';
|
|
4
|
+
import { a as LocalizationContext } from '../LocalizationContext-c8119a4d.js';
|
|
5
5
|
import Avatar from './Avatar.js';
|
|
6
6
|
import MutedAvatarOverlay from './MutedAvatarOverlay.js';
|
|
7
7
|
import Checkbox from './Checkbox.js';
|
|
8
8
|
import UserProfile from './UserProfile.js';
|
|
9
9
|
import ContextMenu, { MenuItems } from './ContextMenu.js';
|
|
10
|
-
import { L as Label, a as LabelTypography, b as LabelColors } from '../index-
|
|
10
|
+
import { L as Label, a as LabelTypography, b as LabelColors } from '../index-1c7f1933.js';
|
|
11
11
|
import 'prop-types';
|
|
12
|
-
import '../stringSet-
|
|
13
|
-
import '../index-
|
|
12
|
+
import '../stringSet-9fae0b1d.js';
|
|
13
|
+
import '../index-85ae7001.js';
|
|
14
14
|
import './ImageRenderer.js';
|
|
15
15
|
import './Icon.js';
|
|
16
|
-
import '../uuid-
|
|
16
|
+
import '../uuid-715c0b7d.js';
|
|
17
17
|
import '../sendbirdSelectors.js';
|
|
18
|
-
import '../topics-
|
|
19
|
-
import '../utils-
|
|
18
|
+
import '../topics-2392c733.js';
|
|
19
|
+
import '../utils-aca630a5.js';
|
|
20
20
|
import './Button.js';
|
|
21
21
|
import '../useSendbirdStateContext.js';
|
|
22
22
|
import '../withSendbird.js';
|
|
23
|
-
import '../_rollupPluginBabelHelpers-
|
|
23
|
+
import '../_rollupPluginBabelHelpers-03564bc5.js';
|
|
24
24
|
import 'react-dom';
|
|
25
25
|
import './SortByRow.js';
|
|
26
|
-
import '../index-
|
|
26
|
+
import '../index-51deabbf.js';
|
|
27
27
|
import '../utils/message/getOutgoingMessageState.js';
|
|
28
28
|
|
|
29
29
|
function UserListItem(_a) {
|
package/ui/UserProfile.js
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
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-c8119a4d.js';
|
|
3
|
+
import { a as UserProfileContext } from '../UserProfileContext-82be3db3.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-1c7f1933.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-9fae0b1d.js';
|
|
10
|
+
import '../index-85ae7001.js';
|
|
11
11
|
import 'prop-types';
|
|
12
|
-
import '../topics-
|
|
13
|
-
import '../utils-
|
|
14
|
-
import '../tslib.es6-
|
|
12
|
+
import '../topics-2392c733.js';
|
|
13
|
+
import '../utils-aca630a5.js';
|
|
14
|
+
import '../tslib.es6-0713b47f.js';
|
|
15
15
|
import './ImageRenderer.js';
|
|
16
16
|
import './Icon.js';
|
|
17
|
-
import '../uuid-
|
|
17
|
+
import '../uuid-715c0b7d.js';
|
|
18
18
|
import '../withSendbird.js';
|
|
19
|
-
import '../_rollupPluginBabelHelpers-
|
|
19
|
+
import '../_rollupPluginBabelHelpers-03564bc5.js';
|
|
20
20
|
|
|
21
21
|
function UserProfile(_a) {
|
|
22
22
|
var _b, _c;
|
package/ui/Word.js
CHANGED
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
|
-
import { a as LabelTypography } from '../index-
|
|
2
|
+
import { a as LabelTypography } from '../index-1c7f1933.js';
|
|
3
3
|
import LinkLabel from './LinkLabel.js';
|
|
4
|
-
import { u as uuidv4 } from '../uuid-
|
|
5
|
-
import { j as convertWordToStringObj, S as StringObjType } from '../index-
|
|
4
|
+
import { u as uuidv4 } from '../uuid-715c0b7d.js';
|
|
5
|
+
import { j as convertWordToStringObj, S as StringObjType } from '../index-51deabbf.js';
|
|
6
6
|
import MentionLabel from './MentionLabel.js';
|
|
7
7
|
import 'prop-types';
|
|
8
|
-
import '../stringSet-
|
|
9
|
-
import '../tslib.es6-
|
|
8
|
+
import '../stringSet-9fae0b1d.js';
|
|
9
|
+
import '../tslib.es6-0713b47f.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-c8119a4d.js';
|
|
16
|
+
import '../index-85ae7001.js';
|
|
17
|
+
import '../UserProfileContext-82be3db3.js';
|
|
18
18
|
import '../sendbirdSelectors.js';
|
|
19
|
-
import '../topics-
|
|
20
|
-
import '../utils-
|
|
19
|
+
import '../topics-2392c733.js';
|
|
20
|
+
import '../utils-aca630a5.js';
|
|
21
21
|
import './Avatar.js';
|
|
22
22
|
import './ImageRenderer.js';
|
|
23
23
|
import './Icon.js';
|
|
24
24
|
import './Button.js';
|
|
25
25
|
import '../useSendbirdStateContext.js';
|
|
26
26
|
import '../withSendbird.js';
|
|
27
|
-
import '../_rollupPluginBabelHelpers-
|
|
27
|
+
import '../_rollupPluginBabelHelpers-03564bc5.js';
|
|
28
28
|
|
|
29
29
|
function Word(props) {
|
|
30
30
|
var word = props.word,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { _ as __assign } from './tslib.es6-
|
|
1
|
+
import { _ as __assign } from './tslib.es6-0713b47f.js';
|
|
2
2
|
import { useState, useRef, useCallback } from 'react';
|
|
3
|
-
import { u as useMediaQueryContext } from './MediaQueryContext-
|
|
3
|
+
import { u as useMediaQueryContext } from './MediaQueryContext-14f0e614.js';
|
|
4
4
|
|
|
5
5
|
var DEFAULT_DURATION = 300;
|
|
6
6
|
|
|
@@ -113,4 +113,4 @@ function useLongPress(_a, _b) {
|
|
|
113
113
|
}
|
|
114
114
|
|
|
115
115
|
export { useLongPress as u };
|
|
116
|
-
//# sourceMappingURL=useLongPress-
|
|
116
|
+
//# sourceMappingURL=useLongPress-b4ff7ad2.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useLongPress-
|
|
1
|
+
{"version":3,"file":"useLongPress-b4ff7ad2.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}\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}: 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 (shouldPreventDefault && e.target) {\n e.target.addEventListener(\n 'touchend',\n preventDefault, {\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, 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","_a","_b","onLongPress","onClick","_c","_d","delay","_e","shouldPreventDefault","isMobile","useMediaQueryContext","_f","useState","longPressTriggered","setLongPressTriggered","_g","dragTriggered","setDragTriggered","timeout","useRef","target","start","useCallback","persist","clonedEvent","__assign","addEventListener","passive","current","setTimeout","clear","shouldTriggerClick","onDrag","clearTimeout","removeEventListener","onMouseDown","onMouseUp","onMouseLeave","onTouchStart","onTouchMove","onTouchEnd"],"mappings":";;;;AA4BA,IAAMA,gBAAgB,GAAG,GAAzB,CAAA;;AAEA,SAASC,cAAT,CAAwBC,CAAxB,EAAgC;AAC9B,EAAA,IAAI,CAACC,YAAY,CAACD,CAAD,CAAjB,EAAsB;AACpB,IAAA,OAAA;AACD,GAAA;;EAED,IAAIA,CAAC,CAACE,OAAF,CAAUC,MAAV,GAAmB,CAAnB,IAAwBH,CAAC,CAACD,cAA9B,EAA8C;AAC5CC,IAAAA,CAAC,CAACD,cAAF,EAAA,CAAA;AACD,GAAA;AACF,CAAA;;AAEK,SAAUE,YAAV,CAAuBD,CAAvB,EAA+B;EACnC,OAAOA,CAAC,IAAI,SAAA,IAAaA,CAAzB,CAAA;AACD,CAAA;AAqBa,SAAUI,YAAV,CAA2BC,EAA3B,EAGOC,EAHP,EAMC;MALbC,WAAW,GAAAF,EAAA,CAAAE;MACXC,OAAO,GAAAH,EAAA,CAAAG;;EACY,IAAAC,EAAA,GAAAH,EAAA,KAAA,KAAA,CAAA,GAGR,EAHQ,GAGNA,EAHM;AAAA,MACnBI,EAAA,GAAAD,EAAA,CAAAE,KADmB;MACnBA,KAAK,GAAAD,EAAA,KAAA,KAAA,CAAA,GAAGZ,gBAAH,GAAmBY,EADL;AAAA,MAEnBE,EAA2B,GAAAH,EAAA,CAAAI,oBAFR;MAEnBA,oBAAoB,GAAAD,EAAA,KAAA,KAAA,CAAA,GAAG,IAAH,GAAOA,EAFR,CAAA;;AAIX,EAAA,IAAAE,QAAQ,GAAKC,oBAAoB,EAAA,SAAjC,CAAA;;AACF,EAAA,IAAAC,EAAA,GAA8CC,QAAQ,CAAC,KAAD,CAAtD;AAAA,MAACC,kBAAkB,GAAAF,EAAA,CAAA,CAAA,CAAnB;AAAA,MAAqBG,qBAAqB,GAAAH,EAAA,CAAA,CAAA,CAA1C,CAAA;;AACA,EAAA,IAAAI,EAAA,GAAoCH,QAAQ,CAAC,KAAD,CAA5C;AAAA,MAACI,aAAa,GAAAD,EAAA,CAAA,CAAA,CAAd;AAAA,MAAgBE,gBAAgB,GAAAF,EAAA,CAAA,CAAA,CAAhC,CAHO;;;EAKb,IAAMG,OAAO,GAAGC,MAAM,EAAtB,CAAA;EACA,IAAMC,MAAM,GAAGD,MAAM,EAArB,CAAA;AAEA,EAAA,IAAME,KAAK,GAAGC,WAAW,CAAC,UAAC3B,CAAD,EAA6C;AACrEA,IAAAA,CAAC,CAAC4B,OAAF,EAAA,CAAA;;AACA,IAAA,IAAMC,WAAW,GAAAC,QAAA,CAAA,EAAA,EACZ9B,CADY,CAAjB,CAAA;;IAGAsB,gBAAgB,CAAC,KAAD,CAAhB,CAAA;;AACA,IAAA,IAAIT,oBAAoB,IAAIb,CAAC,CAACyB,MAA9B,EAAsC;MACpCzB,CAAC,CAACyB,MAAF,CAASM,gBAAT,CACE,UADF,EAEEhC,cAFF,EAEkB;AACdiC,QAAAA,OAAO,EAAE,KAAA;OAHb,CAAA,CAAA;AAMAP,MAAAA,MAAM,CAACQ,OAAP,GAAiBjC,CAAC,CAACyB,MAAnB,CAAA;AACD,KAAA;;AAEDF,IAAAA,OAAO,CAACU,OAAR,GAAkBC,UAAU,CAAC,YAAA;MAC3B3B,WAAW,CAACsB,WAAD,CAAX,CAAA;MACAV,qBAAqB,CAAC,IAAD,CAArB,CAAA;KAF0B,EAGzBR,KAHyB,CAA5B,CAAA;GAhBuB,EAoBtB,CAACJ,WAAD,EAAcI,KAAd,EAAqBE,oBAArB,EAA2CC,QAA3C,CApBsB,CAAzB,CAAA;EAsBA,IAAMqB,KAAK,GAAGR,WAAW,CAAC,UACxB3B,CADwB,EAExBoC,kBAFwB,EAGxBC,MAHwB,EAGV;AADd,IAAA,IAAAD,kBAAA,KAAA,KAAA,CAAA,EAAA;AAAAA,MAAAA,kBAAyB,GAAA,IAAzB,CAAA;AAAyB,KAAA;;AACzB,IAAA,IAAAC,MAAA,KAAA,KAAA,CAAA,EAAA;AAAAA,MAAAA,MAAc,GAAA,KAAd,CAAA;AAAc,KAAA;;AAEd,IAAA,IAAIA,MAAJ,EAAY;MACVf,gBAAgB,CAAC,IAAD,CAAhB,CAAA;AACD,KAFD,MAEO;MACLA,gBAAgB,CAAC,KAAD,CAAhB,CAAA;AACD,KAAA;;AACD,IAAA,IAAIC,OAAO,KAAP,IAAA,IAAAA,OAAO,WAAP,SAAA,GAAAA,OAAO,CAAEU,OAAb,EAAsB;AACpBK,MAAAA,YAAY,CAACf,OAAO,CAACU,OAAT,CAAZ,CAAA;AACD,KAAA;;AACD,IAAA,IAAIG,kBAAkB,IAAI,CAAClB,kBAAvB,IAA6C,CAACG,aAAlD,EAAiE;AAC/Db,MAAAA,OAAO,SAAP,IAAAA,OAAO,KAAA,KAAA,CAAP,GAAO,KAAA,CAAP,GAAAA,OAAO,CAAGR,CAAH,CAAP,CAAA;AACD,KAAA;;IACDmB,qBAAqB,CAAC,KAAD,CAArB,CAAA;;AACA,IAAA,IAAIN,oBAAoB,IAAIY,MAAM,CAACQ,OAAnC,EAA4C;AAC1CR,MAAAA,MAAM,CAACQ,OAAP,CAAeM,mBAAf,CAAmC,UAAnC,EAA+CxC,cAA/C,CAAA,CAAA;AACD,KAAA;GAnBsB,EAoBvB,CAACc,oBAAD,EAAuBL,OAAvB,EAAgCU,kBAAhC,EAAoDG,aAApD,CApBuB,CAAzB,CAAA;EAsBA,OAAO;IACLmB,WAAW,EAAE,UAACxC,CAAD,EAA4B;MAAA,OAAA0B,KAAK,CAAC1B,CAAD,CAAL,CAAA;KADpC;IAELyC,SAAS,EAAE,UAACzC,CAAD,EAA4B;MAAA,OAAAmC,KAAK,CAACnC,CAAD,CAAL,CAAA;KAFlC;IAGL0C,YAAY,EAAE,UAAC1C,CAAD,EAAuB;AAAK,MAAA,OAAAmC,KAAK,CAACnC,CAAD,EAAI,KAAJ,CAAL,CAAA;KAHrC;IAIL2C,YAAY,EAAE,UAAC3C,CAAD,EAA4B;MAAA,OAAA0B,KAAK,CAAC1B,CAAD,CAAL,CAAA;KAJrC;AAKL;AACA;IACA4C,WAAW,EAAE,UAAC5C,CAAD,EAAuB;AAAK,MAAA,OAAAmC,KAAK,CAACnC,CAAD,EAAI,KAAJ,EAAW,IAAX,CAAL,CAAA;KAPpC;IAQL6C,UAAU,EAAE,UAAC7C,CAAD,EAA4B;MAAA,OAAAmC,KAAK,CAACnC,CAAD,CAAL,CAAA;AAAQ,KAAA;GARlD,CAAA;AAUD;;;;"}
|