@sendbird/uikit-react 3.9.3 → 3.10.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 +66 -57
- package/App.js.map +1 -1
- package/CHANGELOG.md +72 -0
- package/Channel/components/ChannelHeader.js +26 -26
- package/Channel/components/ChannelUI.js +59 -54
- package/Channel/components/ChannelUI.js.map +1 -1
- package/Channel/components/FileViewer.js +25 -25
- package/Channel/components/FrozenNotification.js +5 -5
- package/Channel/components/Message.js +106 -77
- package/Channel/components/Message.js.map +1 -1
- package/Channel/components/MessageFeedbackModal.js +66 -0
- package/Channel/components/MessageFeedbackModal.js.map +1 -0
- package/Channel/components/MessageInput.js +39 -39
- package/Channel/components/MessageList.js +52 -47
- package/Channel/components/MessageList.js.map +1 -1
- package/Channel/components/RemoveMessageModal.js +24 -24
- package/Channel/components/SuggestedMentionList.js +24 -24
- package/Channel/components/TypingIndicator.js +19 -19
- package/Channel/components/UnreadCount.js +7 -7
- package/Channel/context.js +17 -17
- package/Channel/hooks/useHandleUploadFiles.js +14 -13
- package/Channel/hooks/useHandleUploadFiles.js.map +1 -1
- package/Channel/hooks/useInitialMessagesFetch.js +9 -8
- package/Channel/hooks/useInitialMessagesFetch.js.map +1 -1
- package/Channel/utils/compareMessagesForGrouping.js +7 -6
- package/Channel/utils/compareMessagesForGrouping.js.map +1 -1
- package/Channel/utils/getMessagePartsInfo.js +8 -7
- package/Channel/utils/getMessagePartsInfo.js.map +1 -1
- package/Channel.js +58 -53
- package/Channel.js.map +1 -1
- package/ChannelList/components/AddChannel.js +19 -19
- package/ChannelList/components/ChannelListHeader.js +9 -9
- package/ChannelList/components/ChannelListUI.js +35 -35
- package/ChannelList/components/ChannelPreview.js +32 -32
- package/ChannelList/components/ChannelPreviewAction.js +16 -16
- package/ChannelList/context.js +9 -9
- package/ChannelList.js +34 -34
- package/ChannelSettings/components/ChannelProfile.js +14 -14
- package/ChannelSettings/components/ChannelSettingsUI.js +20 -20
- package/ChannelSettings/components/EditDetailsModal.js +14 -14
- package/ChannelSettings/components/LeaveChannel.js +11 -11
- package/ChannelSettings/components/ModerationPanel.js +35 -23
- package/ChannelSettings/components/ModerationPanel.js.map +1 -1
- package/ChannelSettings/components/UserListItem.js +14 -13
- package/ChannelSettings/components/UserListItem.js.map +1 -1
- package/ChannelSettings/components/UserPanel.js +17 -16
- package/ChannelSettings/components/UserPanel.js.map +1 -1
- package/ChannelSettings/context.js +3 -3
- package/ChannelSettings.js +20 -20
- package/CreateChannel/components/CreateChannelUI.js +17 -16
- package/CreateChannel/components/CreateChannelUI.js.map +1 -1
- package/CreateChannel/components/InviteUsers.js +17 -16
- package/CreateChannel/components/InviteUsers.js.map +1 -1
- package/CreateChannel/components/SelectChannelType.js +10 -10
- package/CreateChannel/context.js +4 -4
- package/CreateChannel.js +17 -16
- package/CreateChannel.js.map +1 -1
- package/CreateOpenChannel/components/CreateOpenChannelUI.js +12 -12
- package/CreateOpenChannel/context.js +1 -1
- package/CreateOpenChannel.js +12 -12
- package/EditUserProfile/components/EditUserProfileUI.js +13 -13
- package/EditUserProfile.js +13 -13
- package/MessageSearch/components/MessageSearchUI.js +16 -15
- package/MessageSearch/components/MessageSearchUI.js.map +1 -1
- package/MessageSearch/context.js +1 -1
- package/MessageSearch.js +16 -15
- package/MessageSearch.js.map +1 -1
- package/OpenChannel/components/FrozenChannelNotification.js +5 -5
- package/OpenChannel/components/OpenChannelHeader.js +19 -19
- package/OpenChannel/components/OpenChannelInput.js +27 -26
- package/OpenChannel/components/OpenChannelInput.js.map +1 -1
- package/OpenChannel/components/OpenChannelMessage.js +37 -34
- package/OpenChannel/components/OpenChannelMessage.js.map +1 -1
- package/OpenChannel/components/OpenChannelMessageList.js +40 -38
- package/OpenChannel/components/OpenChannelMessageList.js.map +1 -1
- package/OpenChannel/components/OpenChannelUI.js +39 -37
- package/OpenChannel/components/OpenChannelUI.js.map +1 -1
- package/OpenChannel/context.js +18 -18
- package/OpenChannel.js +39 -37
- package/OpenChannel.js.map +1 -1
- package/OpenChannelList/components/OpenChannelListUI.js +15 -15
- package/OpenChannelList/components/OpenChannelPreview.js +7 -7
- package/OpenChannelList/context.js +3 -3
- package/OpenChannelList.js +15 -15
- package/OpenChannelSettings/components/EditDetailsModal.js +15 -15
- package/OpenChannelSettings/components/OpenChannelProfile.js +15 -15
- package/OpenChannelSettings/components/OpenChannelSettingsUI.js +20 -19
- package/OpenChannelSettings/components/OpenChannelSettingsUI.js.map +1 -1
- package/OpenChannelSettings/components/OperatorUI.js +20 -19
- package/OpenChannelSettings/components/OperatorUI.js.map +1 -1
- package/OpenChannelSettings/components/ParticipantUI.js +18 -17
- package/OpenChannelSettings/components/ParticipantUI.js.map +1 -1
- package/OpenChannelSettings/context.js +3 -3
- package/OpenChannelSettings.js +20 -19
- package/OpenChannelSettings.js.map +1 -1
- package/SendbirdProvider.js +25 -23
- package/SendbirdProvider.js.map +1 -1
- package/Thread/components/ParentMessageInfo.js +43 -41
- package/Thread/components/ParentMessageInfo.js.map +1 -1
- package/Thread/components/ParentMessageInfoItem.js +32 -30
- package/Thread/components/ParentMessageInfoItem.js.map +1 -1
- package/Thread/components/ThreadHeader.js +7 -7
- package/Thread/components/ThreadList.js +47 -45
- package/Thread/components/ThreadList.js.map +1 -1
- package/Thread/components/ThreadListItem.js +46 -44
- package/Thread/components/ThreadListItem.js.map +1 -1
- package/Thread/components/ThreadMessageInput.js +38 -38
- package/Thread/components/ThreadUI.js +50 -48
- package/Thread/components/ThreadUI.js.map +1 -1
- package/Thread/context.js +13 -13
- package/Thread.js +51 -49
- package/Thread.js.map +1 -1
- package/VoicePlayer/context.js +3 -3
- package/VoicePlayer/useVoicePlayer.js +10 -10
- package/VoiceRecorder/context.js +10 -10
- package/VoiceRecorder/useVoiceRecorder.js +9 -9
- package/chunks/{bundle-rcUMtSzr.js → bundle-1WAo3loP.js} +1 -1
- package/chunks/bundle-1WAo3loP.js.map +1 -0
- package/chunks/{bundle-MtGjgUxA.js → bundle-DeRyZP32.js} +18 -47
- package/chunks/{bundle-4PBxOF7r.js.map → bundle-DeRyZP32.js.map} +1 -1
- package/chunks/{bundle-0-7ScOR7.js → bundle-E33Oa46E.js} +10 -10
- package/chunks/{bundle-0-7ScOR7.js.map → bundle-E33Oa46E.js.map} +1 -1
- package/chunks/{bundle-zL2GggA_.js → bundle-ETZY-eQc.js} +5 -5
- package/chunks/{bundle-zL2GggA_.js.map → bundle-ETZY-eQc.js.map} +1 -1
- package/chunks/{bundle-YknGoAU3.js → bundle-F3QT9IFj.js} +2 -2
- package/chunks/{bundle-YknGoAU3.js.map → bundle-F3QT9IFj.js.map} +1 -1
- package/chunks/{bundle-W0Wz_roj.js → bundle-Fkv6nKcy.js} +3 -3
- package/chunks/{bundle-W0Wz_roj.js.map → bundle-Fkv6nKcy.js.map} +1 -1
- package/chunks/{bundle-t6JaUd1b.js → bundle-GKopZh-T.js} +1 -1
- package/chunks/{bundle-t6JaUd1b.js.map → bundle-GKopZh-T.js.map} +1 -1
- package/chunks/{bundle-LFXAxMSp.js → bundle-GbC4a59M.js} +4 -4
- package/chunks/bundle-GbC4a59M.js.map +1 -0
- package/chunks/{bundle-nyXhTs2k.js → bundle-Gkl7Q1IK.js} +3 -3
- package/chunks/bundle-Gkl7Q1IK.js.map +1 -0
- package/chunks/{bundle-A36uZCDl.js → bundle-H2Il__gY.js} +1 -1
- package/chunks/bundle-H2Il__gY.js.map +1 -0
- package/chunks/{bundle-v0nGdiTZ.js → bundle-HkbweK1K.js} +1 -1
- package/chunks/bundle-HkbweK1K.js.map +1 -0
- package/chunks/{bundle-oaL-WZdX.js → bundle-J79McRkg.js} +15 -15
- package/chunks/{bundle-oaL-WZdX.js.map → bundle-J79McRkg.js.map} +1 -1
- package/chunks/{bundle-jzsK-B6H.js → bundle-J_erGfOo.js} +3 -3
- package/chunks/{bundle-jzsK-B6H.js.map → bundle-J_erGfOo.js.map} +1 -1
- package/chunks/{bundle-DXjnvT3X.js → bundle-JbVZ1Tsw.js} +2 -2
- package/chunks/bundle-JbVZ1Tsw.js.map +1 -0
- package/chunks/{bundle-Q-3uYmLU.js → bundle-Jp5g4YZl.js} +1 -1
- package/chunks/bundle-Jp5g4YZl.js.map +1 -0
- package/chunks/{bundle-iGWTklyk.js → bundle-KSjFhl4l.js} +1 -1
- package/chunks/bundle-KSjFhl4l.js.map +1 -0
- package/chunks/{bundle-ior2BlUD.js → bundle-KmauOTrg.js} +1 -1
- package/chunks/bundle-KmauOTrg.js.map +1 -0
- package/chunks/{bundle-gdweDZjg.js → bundle-Kv4GXRTs.js} +1 -1
- package/chunks/bundle-Kv4GXRTs.js.map +1 -0
- package/chunks/{bundle-21p8ODP_.js → bundle-LEanaSuB.js} +3 -3
- package/chunks/{bundle-21p8ODP_.js.map → bundle-LEanaSuB.js.map} +1 -1
- package/chunks/{bundle-hnbY99fx.js → bundle-Lt8mReNU.js} +3 -3
- package/chunks/bundle-Lt8mReNU.js.map +1 -0
- package/chunks/{bundle-_nBy-aBx.js → bundle-MyYphU00.js} +7 -7
- package/chunks/{bundle-_nBy-aBx.js.map → bundle-MyYphU00.js.map} +1 -1
- package/chunks/{bundle-qnTU06K7.js → bundle-MzSKVbUQ.js} +7 -7
- package/chunks/{bundle-qnTU06K7.js.map → bundle-MzSKVbUQ.js.map} +1 -1
- package/chunks/{bundle-L_mUjiuK.js → bundle-NYZlEPQ4.js} +9 -9
- package/chunks/{bundle-L_mUjiuK.js.map → bundle-NYZlEPQ4.js.map} +1 -1
- package/chunks/{bundle-yND4UFpN.js → bundle-OZZH5fXZ.js} +1 -1
- package/chunks/bundle-OZZH5fXZ.js.map +1 -0
- package/chunks/{bundle-TSWaRDnP.js → bundle-PZta2LmS.js} +3 -3
- package/chunks/{bundle-TSWaRDnP.js.map → bundle-PZta2LmS.js.map} +1 -1
- package/chunks/{bundle-vAvSNdmj.js → bundle-TV4-nyqN.js} +1 -1
- package/chunks/{bundle-vAvSNdmj.js.map → bundle-TV4-nyqN.js.map} +1 -1
- package/chunks/{bundle-yT-RH-aL.js → bundle-VCZsMdpB.js} +2 -2
- package/chunks/{bundle-yT-RH-aL.js.map → bundle-VCZsMdpB.js.map} +1 -1
- package/chunks/{bundle-q1M15U1p.js → bundle-VPanFdbf.js} +15 -12
- package/chunks/bundle-VPanFdbf.js.map +1 -0
- package/chunks/{bundle-IHKKjTVb.js → bundle-W8t7rR3H.js} +3 -3
- package/chunks/bundle-W8t7rR3H.js.map +1 -0
- package/chunks/{bundle-jJZAQH44.js → bundle-WDOQg3ty.js} +2 -2
- package/chunks/{bundle-jJZAQH44.js.map → bundle-WDOQg3ty.js.map} +1 -1
- package/chunks/{bundle-f-bQSvmA.js → bundle-WpHDilD_.js} +1 -1
- package/chunks/bundle-WpHDilD_.js.map +1 -0
- package/chunks/{bundle-vVdAEhWk.js → bundle-X3h4GiLa.js} +4 -4
- package/chunks/bundle-X3h4GiLa.js.map +1 -0
- package/chunks/{bundle-olZmltOQ.js → bundle-YmIrZYPF.js} +16 -1
- package/chunks/bundle-YmIrZYPF.js.map +1 -0
- package/chunks/{bundle-joPrRU5E.js → bundle-ZKM9Qk_j.js} +1 -1
- package/chunks/bundle-ZKM9Qk_j.js.map +1 -0
- package/chunks/{bundle-amfimmWY.js → bundle-ZcE3JzW_.js} +1 -1
- package/chunks/bundle-ZcE3JzW_.js.map +1 -0
- package/chunks/{bundle-mO3J4SXS.js → bundle-_-2NCsYr.js} +1 -1
- package/chunks/bundle-_-2NCsYr.js.map +1 -0
- package/chunks/{bundle-v7nqMv6h.js → bundle-aVVX2zHR.js} +3 -3
- package/chunks/bundle-aVVX2zHR.js.map +1 -0
- package/chunks/{bundle-hEvM6x_9.js → bundle-aeQZ5WsP.js} +1 -1
- package/chunks/bundle-aeQZ5WsP.js.map +1 -0
- package/chunks/{bundle-fe2EF_iJ.js → bundle-cHbX4Rxo.js} +4 -4
- package/chunks/{bundle-fe2EF_iJ.js.map → bundle-cHbX4Rxo.js.map} +1 -1
- package/chunks/{bundle-79RbKDD4.js → bundle-cXqs96Pt.js} +1 -1
- package/chunks/bundle-cXqs96Pt.js.map +1 -0
- package/chunks/{bundle-Xp-L1BVs.js → bundle-d6R6m9-9.js} +4 -4
- package/chunks/{bundle-Xp-L1BVs.js.map → bundle-d6R6m9-9.js.map} +1 -1
- package/chunks/{bundle-mxq273ll.js → bundle-dWJnfDPH.js} +5 -3
- package/chunks/bundle-dWJnfDPH.js.map +1 -0
- package/chunks/{bundle-XlrrUjEJ.js → bundle-f9mkey82.js} +1 -1
- package/chunks/bundle-f9mkey82.js.map +1 -0
- package/chunks/{bundle-Zzg_Wc7p.js → bundle-gEwUSFTG.js} +8 -8
- package/chunks/{bundle-Zzg_Wc7p.js.map → bundle-gEwUSFTG.js.map} +1 -1
- package/chunks/{bundle-OiOYIWNt.js → bundle-iWI3kIle.js} +12 -12
- package/chunks/{bundle-OiOYIWNt.js.map → bundle-iWI3kIle.js.map} +1 -1
- package/chunks/{bundle-uNgbgg3h.js → bundle-iYCB6XN2.js} +1 -1
- package/chunks/bundle-iYCB6XN2.js.map +1 -0
- package/chunks/{bundle-K0r8aWXg.js → bundle-ipC2A4Tb.js} +24 -40
- package/chunks/{bundle-K0r8aWXg.js.map → bundle-ipC2A4Tb.js.map} +1 -1
- package/chunks/{bundle-2axFKCIx.js → bundle-kfNTRju0.js} +1 -1
- package/chunks/{bundle-2axFKCIx.js.map → bundle-kfNTRju0.js.map} +1 -1
- package/chunks/{bundle-KF1IhHsV.js → bundle-ku6CEjGk.js} +1 -1
- package/chunks/bundle-ku6CEjGk.js.map +1 -0
- package/chunks/{bundle-uDxWy2vD.js → bundle-ldRkCosA.js} +4 -4
- package/chunks/{bundle-uDxWy2vD.js.map → bundle-ldRkCosA.js.map} +1 -1
- package/chunks/{bundle-ZbGteG77.js → bundle-lmXvuxOb.js} +1 -1
- package/chunks/bundle-lmXvuxOb.js.map +1 -0
- package/chunks/{bundle-KVQUrA22.js → bundle-mTQPBbmZ.js} +6 -6
- package/chunks/bundle-mTQPBbmZ.js.map +1 -0
- package/chunks/{bundle-j-DHjJge.js → bundle-niN5G0Bo.js} +2 -2
- package/chunks/{bundle-j-DHjJge.js.map → bundle-niN5G0Bo.js.map} +1 -1
- package/chunks/{bundle-mW5agIOj.js → bundle-pWIkt9Ng.js} +1 -1
- package/chunks/bundle-pWIkt9Ng.js.map +1 -0
- package/chunks/{bundle-PCj9QYWV.js → bundle-tca5p7Pl.js} +2 -2
- package/chunks/bundle-tca5p7Pl.js.map +1 -0
- package/chunks/{bundle-wZlSE8gx.js → bundle-ucXG1Py7.js} +4 -4
- package/chunks/{bundle-wZlSE8gx.js.map → bundle-ucXG1Py7.js.map} +1 -1
- package/chunks/{bundle-NZcldiSn.js → bundle-uk2Y0AQu.js} +18 -24
- package/chunks/{bundle-NZcldiSn.js.map → bundle-uk2Y0AQu.js.map} +1 -1
- package/chunks/{bundle-Pv7OUzJM.js → bundle-wUwB6Q8m.js} +3 -3
- package/chunks/{bundle-Pv7OUzJM.js.map → bundle-wUwB6Q8m.js.map} +1 -1
- package/chunks/bundle-xgiw36M5.js +18 -0
- package/chunks/bundle-xgiw36M5.js.map +1 -0
- package/chunks/{bundle-4PBxOF7r.js → bundle-xsV7pD8p.js} +5 -5
- package/chunks/bundle-xsV7pD8p.js.map +1 -0
- package/chunks/{bundle-KjVIQqaY.js → bundle-y_LgB6DS.js} +3 -3
- package/chunks/bundle-y_LgB6DS.js.map +1 -0
- package/chunks/{bundle-l9d09gzQ.js → bundle-yur9nm4N.js} +1 -1
- package/chunks/bundle-yur9nm4N.js.map +1 -0
- package/chunks/{bundle-EvZinAAd.js → bundle-zpSxKsxM.js} +1 -1
- package/chunks/{bundle-EvZinAAd.js.map → bundle-zpSxKsxM.js.map} +1 -1
- package/cjs/App.js +66 -57
- package/cjs/App.js.map +1 -1
- package/cjs/Channel/components/ChannelHeader.js +26 -26
- package/cjs/Channel/components/ChannelUI.js +59 -54
- package/cjs/Channel/components/ChannelUI.js.map +1 -1
- package/cjs/Channel/components/FileViewer.js +25 -25
- package/cjs/Channel/components/FrozenNotification.js +5 -5
- package/cjs/Channel/components/Message.js +106 -77
- package/cjs/Channel/components/Message.js.map +1 -1
- package/cjs/Channel/components/MessageFeedbackModal.js +68 -0
- package/cjs/Channel/components/MessageFeedbackModal.js.map +1 -0
- package/cjs/Channel/components/MessageInput.js +39 -39
- package/cjs/Channel/components/MessageList.js +52 -47
- package/cjs/Channel/components/MessageList.js.map +1 -1
- package/cjs/Channel/components/RemoveMessageModal.js +24 -24
- package/cjs/Channel/components/SuggestedMentionList.js +24 -24
- package/cjs/Channel/components/TypingIndicator.js +19 -19
- package/cjs/Channel/components/UnreadCount.js +7 -7
- package/cjs/Channel/context.js +17 -17
- package/cjs/Channel/hooks/useHandleUploadFiles.js +14 -13
- package/cjs/Channel/hooks/useHandleUploadFiles.js.map +1 -1
- package/cjs/Channel/hooks/useInitialMessagesFetch.js +9 -8
- package/cjs/Channel/hooks/useInitialMessagesFetch.js.map +1 -1
- package/cjs/Channel/utils/compareMessagesForGrouping.js +7 -6
- package/cjs/Channel/utils/compareMessagesForGrouping.js.map +1 -1
- package/cjs/Channel/utils/getMessagePartsInfo.js +8 -7
- package/cjs/Channel/utils/getMessagePartsInfo.js.map +1 -1
- package/cjs/Channel.js +58 -53
- package/cjs/Channel.js.map +1 -1
- package/cjs/ChannelList/components/AddChannel.js +19 -19
- package/cjs/ChannelList/components/ChannelListHeader.js +9 -9
- package/cjs/ChannelList/components/ChannelListUI.js +35 -35
- package/cjs/ChannelList/components/ChannelPreview.js +32 -32
- package/cjs/ChannelList/components/ChannelPreviewAction.js +16 -16
- package/cjs/ChannelList/context.js +9 -9
- package/cjs/ChannelList.js +34 -34
- package/cjs/ChannelSettings/components/ChannelProfile.js +14 -14
- package/cjs/ChannelSettings/components/ChannelSettingsUI.js +20 -20
- package/cjs/ChannelSettings/components/EditDetailsModal.js +14 -14
- package/cjs/ChannelSettings/components/LeaveChannel.js +11 -11
- package/cjs/ChannelSettings/components/ModerationPanel.js +35 -23
- package/cjs/ChannelSettings/components/ModerationPanel.js.map +1 -1
- package/cjs/ChannelSettings/components/UserListItem.js +14 -13
- package/cjs/ChannelSettings/components/UserListItem.js.map +1 -1
- package/cjs/ChannelSettings/components/UserPanel.js +17 -16
- package/cjs/ChannelSettings/components/UserPanel.js.map +1 -1
- package/cjs/ChannelSettings/context.js +3 -3
- package/cjs/ChannelSettings.js +20 -20
- package/cjs/CreateChannel/components/CreateChannelUI.js +17 -16
- package/cjs/CreateChannel/components/CreateChannelUI.js.map +1 -1
- package/cjs/CreateChannel/components/InviteUsers.js +17 -16
- package/cjs/CreateChannel/components/InviteUsers.js.map +1 -1
- package/cjs/CreateChannel/components/SelectChannelType.js +10 -10
- package/cjs/CreateChannel/context.js +4 -4
- package/cjs/CreateChannel.js +17 -16
- package/cjs/CreateChannel.js.map +1 -1
- package/cjs/CreateOpenChannel/components/CreateOpenChannelUI.js +12 -12
- package/cjs/CreateOpenChannel/context.js +1 -1
- package/cjs/CreateOpenChannel.js +12 -12
- package/cjs/EditUserProfile/components/EditUserProfileUI.js +13 -13
- package/cjs/EditUserProfile.js +13 -13
- package/cjs/MessageSearch/components/MessageSearchUI.js +16 -15
- package/cjs/MessageSearch/components/MessageSearchUI.js.map +1 -1
- package/cjs/MessageSearch/context.js +1 -1
- package/cjs/MessageSearch.js +16 -15
- package/cjs/MessageSearch.js.map +1 -1
- package/cjs/OpenChannel/components/FrozenChannelNotification.js +5 -5
- package/cjs/OpenChannel/components/OpenChannelHeader.js +19 -19
- package/cjs/OpenChannel/components/OpenChannelInput.js +27 -26
- package/cjs/OpenChannel/components/OpenChannelInput.js.map +1 -1
- package/cjs/OpenChannel/components/OpenChannelMessage.js +37 -34
- package/cjs/OpenChannel/components/OpenChannelMessage.js.map +1 -1
- package/cjs/OpenChannel/components/OpenChannelMessageList.js +40 -38
- package/cjs/OpenChannel/components/OpenChannelMessageList.js.map +1 -1
- package/cjs/OpenChannel/components/OpenChannelUI.js +39 -37
- package/cjs/OpenChannel/components/OpenChannelUI.js.map +1 -1
- package/cjs/OpenChannel/context.js +18 -18
- package/cjs/OpenChannel.js +39 -37
- package/cjs/OpenChannel.js.map +1 -1
- package/cjs/OpenChannelList/components/OpenChannelListUI.js +15 -15
- package/cjs/OpenChannelList/components/OpenChannelPreview.js +7 -7
- package/cjs/OpenChannelList/context.js +3 -3
- package/cjs/OpenChannelList.js +15 -15
- package/cjs/OpenChannelSettings/components/EditDetailsModal.js +15 -15
- package/cjs/OpenChannelSettings/components/OpenChannelProfile.js +15 -15
- package/cjs/OpenChannelSettings/components/OpenChannelSettingsUI.js +20 -19
- package/cjs/OpenChannelSettings/components/OpenChannelSettingsUI.js.map +1 -1
- package/cjs/OpenChannelSettings/components/OperatorUI.js +20 -19
- package/cjs/OpenChannelSettings/components/OperatorUI.js.map +1 -1
- package/cjs/OpenChannelSettings/components/ParticipantUI.js +18 -17
- package/cjs/OpenChannelSettings/components/ParticipantUI.js.map +1 -1
- package/cjs/OpenChannelSettings/context.js +3 -3
- package/cjs/OpenChannelSettings.js +20 -19
- package/cjs/OpenChannelSettings.js.map +1 -1
- package/cjs/SendbirdProvider.js +25 -23
- package/cjs/SendbirdProvider.js.map +1 -1
- package/cjs/Thread/components/ParentMessageInfo.js +43 -41
- package/cjs/Thread/components/ParentMessageInfo.js.map +1 -1
- package/cjs/Thread/components/ParentMessageInfoItem.js +32 -30
- package/cjs/Thread/components/ParentMessageInfoItem.js.map +1 -1
- package/cjs/Thread/components/ThreadHeader.js +7 -7
- package/cjs/Thread/components/ThreadList.js +47 -45
- package/cjs/Thread/components/ThreadList.js.map +1 -1
- package/cjs/Thread/components/ThreadListItem.js +46 -44
- package/cjs/Thread/components/ThreadListItem.js.map +1 -1
- package/cjs/Thread/components/ThreadMessageInput.js +38 -38
- package/cjs/Thread/components/ThreadUI.js +50 -48
- package/cjs/Thread/components/ThreadUI.js.map +1 -1
- package/cjs/Thread/context.js +13 -13
- package/cjs/Thread.js +51 -49
- package/cjs/Thread.js.map +1 -1
- package/cjs/VoicePlayer/context.js +3 -3
- package/cjs/VoicePlayer/useVoicePlayer.js +10 -10
- package/cjs/VoiceRecorder/context.js +10 -10
- package/cjs/VoiceRecorder/useVoiceRecorder.js +9 -9
- package/cjs/chunks/{bundle-BQTyUmzj.js → bundle--MJd6Gw1.js} +1 -1
- package/cjs/chunks/bundle--MJd6Gw1.js.map +1 -0
- package/cjs/chunks/{bundle-xOGNakZW.js → bundle--d5w7FVF.js} +1 -1
- package/cjs/chunks/bundle--d5w7FVF.js.map +1 -0
- package/cjs/chunks/{bundle-BWHZlxBD.js → bundle-135pRm7i.js} +1 -1
- package/cjs/chunks/bundle-135pRm7i.js.map +1 -0
- package/cjs/chunks/{bundle-CyWFkcBh.js → bundle-1dUHK2qC.js} +1 -1
- package/cjs/chunks/bundle-1dUHK2qC.js.map +1 -0
- package/cjs/chunks/{bundle-f9YMFNAC.js → bundle-2gCdAlxv.js} +2 -2
- package/cjs/chunks/{bundle-f9YMFNAC.js.map → bundle-2gCdAlxv.js.map} +1 -1
- package/cjs/chunks/{bundle-p-3ceZAU.js → bundle-3K153hLM.js} +4 -4
- package/cjs/chunks/{bundle-p-3ceZAU.js.map → bundle-3K153hLM.js.map} +1 -1
- package/cjs/chunks/{bundle-F74wrKkr.js → bundle-5Nd6zn0d.js} +3 -3
- package/cjs/chunks/bundle-5Nd6zn0d.js.map +1 -0
- package/cjs/chunks/{bundle-F4Y7xmf1.js → bundle-65IwoStx.js} +1 -1
- package/cjs/chunks/{bundle-F4Y7xmf1.js.map → bundle-65IwoStx.js.map} +1 -1
- package/cjs/chunks/{bundle-pAGpMj4-.js → bundle-68NdNRjR.js} +17 -46
- package/cjs/chunks/bundle-68NdNRjR.js.map +1 -0
- package/cjs/chunks/{bundle-Guz_a7Pd.js → bundle-6ZegaDWX.js} +2 -2
- package/cjs/chunks/{bundle-Guz_a7Pd.js.map → bundle-6ZegaDWX.js.map} +1 -1
- package/cjs/chunks/{bundle-KfrHCpUu.js → bundle-7AS0Rcch.js} +1 -1
- package/cjs/chunks/bundle-7AS0Rcch.js.map +1 -0
- package/cjs/chunks/{bundle-R4oiSD0L.js → bundle-7J-qpEzM.js} +1 -1
- package/cjs/chunks/bundle-7J-qpEzM.js.map +1 -0
- package/cjs/chunks/{bundle-aLBNZXTm.js → bundle-7J3nX_hP.js} +5 -3
- package/cjs/chunks/bundle-7J3nX_hP.js.map +1 -0
- package/cjs/chunks/{bundle-T4vZ2tFS.js → bundle-7QMU-JU1.js} +2 -2
- package/cjs/chunks/bundle-7QMU-JU1.js.map +1 -0
- package/cjs/chunks/{bundle-yTBDgBVp.js → bundle-7VJjqIPJ.js} +4 -4
- package/cjs/chunks/bundle-7VJjqIPJ.js.map +1 -0
- package/cjs/chunks/{bundle-rXVQ4vD5.js → bundle-9iE0HY96.js} +3 -3
- package/cjs/chunks/bundle-9iE0HY96.js.map +1 -0
- package/cjs/chunks/{bundle-69aUvlr0.js → bundle-AbGazomk.js} +9 -9
- package/cjs/chunks/{bundle-69aUvlr0.js.map → bundle-AbGazomk.js.map} +1 -1
- package/cjs/chunks/{bundle-zFwFhCDW.js → bundle-B5gH_etT.js} +10 -10
- package/cjs/chunks/bundle-B5gH_etT.js.map +1 -0
- package/cjs/chunks/{bundle-jOx4XDkO.js → bundle-BH9aeaqG.js} +2 -2
- package/cjs/chunks/bundle-BH9aeaqG.js.map +1 -0
- package/cjs/chunks/{bundle-P5uaoEp7.js → bundle-CUa6Hz7c.js} +6 -6
- package/cjs/chunks/bundle-CUa6Hz7c.js.map +1 -0
- package/cjs/chunks/{bundle-wKifHXnJ.js → bundle-Dax6YIIr.js} +1 -1
- package/cjs/chunks/bundle-Dax6YIIr.js.map +1 -0
- package/cjs/chunks/{bundle-yqb-T4DB.js → bundle-Dz3ncvS3.js} +4 -4
- package/cjs/chunks/bundle-Dz3ncvS3.js.map +1 -0
- package/cjs/chunks/{bundle-5x6xkP9v.js → bundle-GDX6wyym.js} +7 -7
- package/cjs/chunks/bundle-GDX6wyym.js.map +1 -0
- package/cjs/chunks/{bundle-b7L7rtxl.js → bundle-GsUulypb.js} +1 -1
- package/cjs/chunks/bundle-GsUulypb.js.map +1 -0
- package/cjs/chunks/{bundle-bXa0UWvD.js → bundle-INJtS58R.js} +1 -1
- package/cjs/chunks/bundle-INJtS58R.js.map +1 -0
- package/cjs/chunks/{bundle-Gz75GoMH.js → bundle-JOBLCwk9.js} +1 -1
- package/cjs/chunks/bundle-JOBLCwk9.js.map +1 -0
- package/cjs/chunks/{bundle-AA3e_g5q.js → bundle-JVe1J2FX.js} +4 -4
- package/{chunks/bundle-MtGjgUxA.js.map → cjs/chunks/bundle-JVe1J2FX.js.map} +1 -1
- package/cjs/chunks/{bundle-fYGB5Ibr.js → bundle-J_ooPKgS.js} +3 -3
- package/cjs/chunks/{bundle-fYGB5Ibr.js.map → bundle-J_ooPKgS.js.map} +1 -1
- package/cjs/chunks/{bundle-Z0z4XcoC.js → bundle-JbxviE94.js} +1 -1
- package/cjs/chunks/bundle-JbxviE94.js.map +1 -0
- package/cjs/chunks/{bundle-agHXB3n2.js → bundle-Jcrboe06.js} +24 -40
- package/cjs/chunks/{bundle-agHXB3n2.js.map → bundle-Jcrboe06.js.map} +1 -1
- package/cjs/chunks/{bundle-t3HW5lYr.js → bundle-LRCFL23q.js} +1 -1
- package/cjs/chunks/bundle-LRCFL23q.js.map +1 -0
- package/cjs/chunks/{bundle--EcmFAgY.js → bundle-OVfymd1y.js} +1 -1
- package/cjs/chunks/bundle-OVfymd1y.js.map +1 -0
- package/cjs/chunks/{bundle-8xsZqXyY.js → bundle-Oc2T5_VP.js} +15 -12
- package/cjs/chunks/bundle-Oc2T5_VP.js.map +1 -0
- package/cjs/chunks/{bundle-L7Qg6fc_.js → bundle-RSklGv-u.js} +1 -1
- package/cjs/chunks/{bundle-L7Qg6fc_.js.map → bundle-RSklGv-u.js.map} +1 -1
- package/cjs/chunks/{bundle-ymVHfRPV.js → bundle-TFo3Eb8z.js} +3 -3
- package/cjs/chunks/bundle-TFo3Eb8z.js.map +1 -0
- package/cjs/chunks/{bundle-ZodVwNmU.js → bundle-TxdziCwH.js} +4 -4
- package/cjs/chunks/bundle-TxdziCwH.js.map +1 -0
- package/cjs/chunks/{bundle-OauzEgdX.js → bundle-UaSM_xZY.js} +1 -1
- package/cjs/chunks/bundle-UaSM_xZY.js.map +1 -0
- package/cjs/chunks/{bundle-lDnBB9bN.js → bundle-Ue5GkT2H.js} +15 -15
- package/cjs/chunks/{bundle-lDnBB9bN.js.map → bundle-Ue5GkT2H.js.map} +1 -1
- package/cjs/chunks/{bundle-ur5aaH73.js → bundle-VB_a0u7i.js} +1 -1
- package/cjs/chunks/bundle-VB_a0u7i.js.map +1 -0
- package/cjs/chunks/{bundle-DaAowZN7.js → bundle-VogwjxgI.js} +3 -3
- package/cjs/chunks/{bundle-DaAowZN7.js.map → bundle-VogwjxgI.js.map} +1 -1
- package/cjs/chunks/{bundle-cwoX1jzF.js → bundle-WzrocC57.js} +1 -1
- package/cjs/chunks/bundle-WzrocC57.js.map +1 -0
- package/cjs/chunks/{bundle-E0v2C4b1.js → bundle-XaLiuh0L.js} +5 -5
- package/cjs/chunks/{bundle-E0v2C4b1.js.map → bundle-XaLiuh0L.js.map} +1 -1
- package/cjs/chunks/{bundle-ko9gtVkc.js → bundle-aoIToceJ.js} +3 -3
- package/cjs/chunks/bundle-aoIToceJ.js.map +1 -0
- package/cjs/chunks/{bundle-5MABXNJ2.js → bundle-bXLZZTmP.js} +1 -1
- package/cjs/chunks/bundle-bXLZZTmP.js.map +1 -0
- package/cjs/chunks/{bundle-xunrnVEC.js → bundle-dny_TiUT.js} +2 -2
- package/cjs/chunks/bundle-dny_TiUT.js.map +1 -0
- package/cjs/chunks/{bundle-XyN4tk9V.js → bundle-hEYmMlZe.js} +5 -5
- package/cjs/chunks/bundle-hEYmMlZe.js.map +1 -0
- package/cjs/chunks/{bundle-xKfD9-QM.js → bundle-hXzxY0NJ.js} +1 -1
- package/cjs/chunks/bundle-hXzxY0NJ.js.map +1 -0
- package/cjs/chunks/{bundle-5tXC271i.js → bundle-kSScygqj.js} +16 -1
- package/cjs/chunks/bundle-kSScygqj.js.map +1 -0
- package/cjs/chunks/{bundle-D0M3IH6J.js → bundle-mnbFX6XC.js} +12 -12
- package/cjs/chunks/{bundle-D0M3IH6J.js.map → bundle-mnbFX6XC.js.map} +1 -1
- package/cjs/chunks/bundle-n6iwTZAo.js +20 -0
- package/cjs/chunks/bundle-n6iwTZAo.js.map +1 -0
- package/cjs/chunks/{bundle-EE-R19J8.js → bundle-p6kWiWDv.js} +17 -23
- package/cjs/chunks/{bundle-EE-R19J8.js.map → bundle-p6kWiWDv.js.map} +1 -1
- package/cjs/chunks/{bundle-Zhc5iYOj.js → bundle-ptZslG_m.js} +7 -7
- package/cjs/chunks/bundle-ptZslG_m.js.map +1 -0
- package/cjs/chunks/{bundle-4VdNtJoS.js → bundle-qtXdbPNE.js} +3 -3
- package/cjs/chunks/bundle-qtXdbPNE.js.map +1 -0
- package/cjs/chunks/{bundle-ErBxWt-v.js → bundle-r8Z3GYqh.js} +1 -1
- package/cjs/chunks/bundle-r8Z3GYqh.js.map +1 -0
- package/cjs/chunks/{bundle-_c4Xia0x.js → bundle-rgxTgHrK.js} +3 -3
- package/cjs/chunks/{bundle-_c4Xia0x.js.map → bundle-rgxTgHrK.js.map} +1 -1
- package/cjs/chunks/{bundle-GqhEUb4r.js → bundle-s82XYT1Q.js} +4 -4
- package/cjs/chunks/{bundle-GqhEUb4r.js.map → bundle-s82XYT1Q.js.map} +1 -1
- package/cjs/chunks/{bundle-5v9Bc23p.js → bundle-tad4_cNF.js} +3 -3
- package/cjs/chunks/bundle-tad4_cNF.js.map +1 -0
- package/cjs/chunks/{bundle-_CS6i_H9.js → bundle-v02q7K8T.js} +3 -3
- package/cjs/chunks/bundle-v02q7K8T.js.map +1 -0
- package/cjs/chunks/{bundle-CUizz12L.js → bundle-vphYV1gz.js} +1 -1
- package/cjs/chunks/bundle-vphYV1gz.js.map +1 -0
- package/cjs/chunks/{bundle-Doe4Xob7.js → bundle-y8EiLlDT.js} +2 -2
- package/cjs/chunks/bundle-y8EiLlDT.js.map +1 -0
- package/cjs/chunks/{bundle-9XbbRH_M.js → bundle-y_gkwZqM.js} +8 -8
- package/cjs/chunks/bundle-y_gkwZqM.js.map +1 -0
- package/cjs/chunks/{bundle-yDmAxC7s.js → bundle-zgoic8x9.js} +1 -1
- package/cjs/chunks/bundle-zgoic8x9.js.map +1 -0
- package/cjs/chunks/{bundle-j9zO3Qdj.js → bundle-zrsbDQGp.js} +1 -1
- package/cjs/chunks/bundle-zrsbDQGp.js.map +1 -0
- package/cjs/hooks/useModal.js +9 -9
- package/cjs/index.js +64 -60
- package/cjs/index.js.map +1 -1
- package/cjs/pubSub/topics.js +1 -1
- package/cjs/sendbirdSelectors.js +2 -2
- 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 +5 -5
- package/cjs/ui/Badge.js +5 -5
- package/cjs/ui/BottomSheet.js +9 -9
- package/cjs/ui/Button.js +7 -5
- package/cjs/ui/Button.js.map +1 -1
- package/cjs/ui/ChannelAvatar.js +6 -6
- package/cjs/ui/ConnectionStatus.js +6 -6
- package/cjs/ui/ContextMenu.js +7 -6
- package/cjs/ui/ContextMenu.js.map +1 -1
- package/cjs/ui/DateSeparator.js +4 -4
- package/cjs/ui/EmojiReactions.js +17 -16
- package/cjs/ui/EmojiReactions.js.map +1 -1
- package/cjs/ui/FeedbackIconButton.js +22 -0
- package/cjs/ui/FeedbackIconButton.js.map +1 -0
- package/cjs/ui/FileMessageItemBody.js +9 -8
- package/cjs/ui/FileMessageItemBody.js.map +1 -1
- package/cjs/ui/FileViewer.js +18 -15
- package/cjs/ui/FileViewer.js.map +1 -1
- package/cjs/ui/Icon.js +244 -206
- package/cjs/ui/Icon.js.map +1 -1
- package/cjs/ui/IconButton.js +1 -1
- package/cjs/ui/ImageRenderer.js +1 -1
- package/cjs/ui/Input.js +6 -6
- package/cjs/ui/Label.js +3 -3
- package/cjs/ui/LinkLabel.js +3 -3
- package/cjs/ui/Loader.js +2 -2
- package/cjs/ui/MentionLabel.js +14 -13
- package/cjs/ui/MentionLabel.js.map +1 -1
- package/cjs/ui/MentionUserLabel.js +1 -1
- package/cjs/ui/MessageContent.js +277 -75
- package/cjs/ui/MessageContent.js.map +1 -1
- package/cjs/ui/MessageInput/hooks/usePaste.js +5 -5
- package/cjs/ui/MessageInput.js +16 -15
- package/cjs/ui/MessageInput.js.map +1 -1
- package/cjs/ui/MessageItemMenu.js +22 -22
- package/cjs/ui/MessageItemReactionMenu.js +10 -9
- package/cjs/ui/MessageItemReactionMenu.js.map +1 -1
- package/cjs/ui/MessageSearchFileItem.js +16 -15
- package/cjs/ui/MessageSearchFileItem.js.map +1 -1
- package/cjs/ui/MessageSearchItem.js +12 -12
- package/cjs/ui/MessageStatus.js +13 -12
- package/cjs/ui/MessageStatus.js.map +1 -1
- package/cjs/ui/MobileFeedbackMenu.js +38 -0
- package/cjs/ui/MobileFeedbackMenu.js.map +1 -0
- package/cjs/ui/Modal.js +8 -8
- package/cjs/ui/MutedAvatarOverlay.js +2 -2
- package/cjs/ui/OGMessageItemBody.js +18 -17
- package/cjs/ui/OGMessageItemBody.js.map +1 -1
- package/cjs/ui/OpenChannelAdminMessage.js +3 -3
- package/cjs/ui/OpenChannelAvatar.js +9 -9
- package/cjs/ui/OpenchannelConversationHeader.js +9 -9
- package/cjs/ui/OpenchannelFileMessage.js +19 -18
- package/cjs/ui/OpenchannelFileMessage.js.map +1 -1
- package/cjs/ui/OpenchannelOGMessage.js +22 -21
- package/cjs/ui/OpenchannelOGMessage.js.map +1 -1
- package/cjs/ui/OpenchannelThumbnailMessage.js +18 -17
- package/cjs/ui/OpenchannelThumbnailMessage.js.map +1 -1
- package/cjs/ui/OpenchannelUserMessage.js +19 -18
- package/cjs/ui/OpenchannelUserMessage.js.map +1 -1
- package/cjs/ui/PlaceHolder.js +6 -6
- package/cjs/ui/PlaybackTime.js +3 -3
- package/cjs/ui/QuoteMessage.js +10 -9
- package/cjs/ui/QuoteMessage.js.map +1 -1
- package/cjs/ui/QuoteMessageInput.js +10 -9
- package/cjs/ui/QuoteMessageInput.js.map +1 -1
- package/cjs/ui/ReactionBadge.js +3 -3
- package/cjs/ui/ReactionButton.js +4 -4
- package/cjs/ui/SortByRow.js +2 -2
- package/cjs/ui/TextButton.js +2 -2
- package/cjs/ui/TextMessageItemBody.js +18 -17
- package/cjs/ui/TextMessageItemBody.js.map +1 -1
- package/cjs/ui/ThreadReplies.js +9 -9
- package/cjs/ui/ThumbnailMessageItemBody.js +8 -7
- package/cjs/ui/ThumbnailMessageItemBody.js.map +1 -1
- package/cjs/ui/Toggle.js +1 -1
- package/cjs/ui/Tooltip.js +3 -3
- package/cjs/ui/TooltipWrapper.js +1 -1
- package/cjs/ui/TypingIndicatorBubble.js +5 -5
- package/cjs/ui/UnknownMessageItemBody.js +8 -7
- package/cjs/ui/UnknownMessageItemBody.js.map +1 -1
- package/cjs/ui/UserListItem.js +14 -13
- package/cjs/ui/UserListItem.js.map +1 -1
- package/cjs/ui/UserProfile.js +11 -11
- package/cjs/ui/VoiceMessageInput.js +9 -9
- package/cjs/ui/VoiceMessageItemBody.js +10 -10
- package/cjs/ui/Word.js +14 -13
- package/cjs/ui/Word.js.map +1 -1
- package/cjs/useSendbirdStateContext.js +1 -1
- package/cjs/utils/message/isVoiceMessage.js +4 -3
- package/cjs/utils/message/isVoiceMessage.js.map +1 -1
- package/cjs/withSendbird.js +1 -1
- package/dist/index.css +254 -39
- package/dist/index.css.map +1 -1
- package/hooks/useModal.js +10 -10
- package/index.js +64 -60
- package/index.js.map +1 -1
- package/package.json +30 -3
- package/pubSub/topics.js +1 -1
- package/sendbirdSelectors.js +2 -2
- package/types/hooks/useKeyDown/data.mock.d.ts +2 -0
- package/types/hooks/useKeyDown/useKeyDown.d.ts +4 -0
- package/types/lib/types.d.ts +1 -0
- package/types/modules/Channel/components/ChannelUI/index.d.ts +4 -2
- package/types/modules/Channel/components/Message/index.d.ts +7 -6
- package/types/modules/Channel/components/MessageFeedbackFailedModal/index.d.ts +7 -0
- package/types/modules/Channel/components/MessageFeedbackModal/index.d.ts +13 -0
- package/types/modules/Channel/components/MessageInput/index.d.ts +1 -0
- package/types/modules/Channel/components/MessageList/index.d.ts +4 -2
- package/types/modules/ChannelList/dux/actionTypes.d.ts +0 -2
- package/types/modules/Thread/components/ThreadMessageInput/index.d.ts +1 -0
- package/types/types.d.ts +2 -0
- package/types/ui/Button/index.d.ts +6 -1
- package/types/ui/Button/types.d.ts +2 -1
- package/types/ui/FeedbackIconButton/index.d.ts +10 -0
- package/types/ui/FileViewer/types.d.ts +1 -1
- package/types/ui/Icon/index.d.ts +2 -0
- package/types/ui/Icon/type.d.ts +2 -0
- package/types/ui/Input/index.d.ts +1 -0
- package/types/ui/Label/index.d.ts +1 -0
- package/types/ui/Label/stringSet.d.ts +11 -0
- package/types/ui/Label/types.d.ts +1 -0
- package/types/ui/Label/utils.d.ts +1 -1
- package/types/ui/LinkLabel/index.d.ts +1 -0
- package/types/ui/MessageContent/types.d.ts +8 -0
- package/types/ui/MobileFeedbackMenu/index.d.ts +8 -0
- package/types/ui/Modal/index.d.ts +2 -0
- package/types/utils/index.d.ts +2 -3
- package/types/utils/omitObjectProperty.d.ts +1 -0
- package/ui/Accordion.js +3 -3
- package/ui/AccordionGroup.js +2 -2
- package/ui/AdminMessage.js +3 -3
- package/ui/Avatar.js +5 -5
- package/ui/Badge.js +5 -5
- package/ui/BottomSheet.js +9 -9
- package/ui/Button.js +7 -5
- package/ui/Button.js.map +1 -1
- package/ui/ChannelAvatar.js +6 -6
- package/ui/ConnectionStatus.js +6 -6
- package/ui/ContextMenu.js +7 -6
- package/ui/ContextMenu.js.map +1 -1
- package/ui/DateSeparator.js +4 -4
- package/ui/EmojiReactions.js +17 -16
- package/ui/EmojiReactions.js.map +1 -1
- package/ui/FeedbackIconButton.js +20 -0
- package/ui/FeedbackIconButton.js.map +1 -0
- package/ui/FileMessageItemBody.js +9 -8
- package/ui/FileMessageItemBody.js.map +1 -1
- package/ui/FileViewer.js +18 -15
- package/ui/FileViewer.js.map +1 -1
- package/ui/Icon.js +244 -206
- package/ui/Icon.js.map +1 -1
- package/ui/IconButton.js +1 -1
- package/ui/ImageRenderer.js +1 -1
- package/ui/Input.js +6 -6
- package/ui/Label.js +3 -3
- package/ui/LinkLabel.js +3 -3
- package/ui/Loader.js +2 -2
- package/ui/MentionLabel.js +14 -13
- package/ui/MentionLabel.js.map +1 -1
- package/ui/MentionUserLabel.js +1 -1
- package/ui/MessageContent.js +257 -55
- package/ui/MessageContent.js.map +1 -1
- package/ui/MessageInput/hooks/usePaste.js +5 -5
- package/ui/MessageInput.js +16 -15
- package/ui/MessageInput.js.map +1 -1
- package/ui/MessageItemMenu.js +22 -22
- package/ui/MessageItemReactionMenu.js +10 -9
- package/ui/MessageItemReactionMenu.js.map +1 -1
- package/ui/MessageSearchFileItem.js +16 -15
- package/ui/MessageSearchFileItem.js.map +1 -1
- package/ui/MessageSearchItem.js +12 -12
- package/ui/MessageStatus.js +13 -12
- package/ui/MessageStatus.js.map +1 -1
- package/ui/MobileFeedbackMenu.js +36 -0
- package/ui/MobileFeedbackMenu.js.map +1 -0
- package/ui/Modal.js +8 -8
- package/ui/MutedAvatarOverlay.js +2 -2
- package/ui/OGMessageItemBody.js +18 -17
- package/ui/OGMessageItemBody.js.map +1 -1
- package/ui/OpenChannelAdminMessage.js +3 -3
- package/ui/OpenChannelAvatar.js +9 -9
- package/ui/OpenchannelConversationHeader.js +9 -9
- package/ui/OpenchannelFileMessage.js +19 -18
- package/ui/OpenchannelFileMessage.js.map +1 -1
- package/ui/OpenchannelOGMessage.js +22 -21
- package/ui/OpenchannelOGMessage.js.map +1 -1
- package/ui/OpenchannelThumbnailMessage.js +18 -17
- package/ui/OpenchannelThumbnailMessage.js.map +1 -1
- package/ui/OpenchannelUserMessage.js +19 -18
- package/ui/OpenchannelUserMessage.js.map +1 -1
- package/ui/PlaceHolder.js +6 -6
- package/ui/PlaybackTime.js +3 -3
- package/ui/QuoteMessage.js +10 -9
- package/ui/QuoteMessage.js.map +1 -1
- package/ui/QuoteMessageInput.js +10 -9
- package/ui/QuoteMessageInput.js.map +1 -1
- package/ui/ReactionBadge.js +3 -3
- package/ui/ReactionButton.js +4 -4
- package/ui/SortByRow.js +2 -2
- package/ui/TextButton.js +2 -2
- package/ui/TextMessageItemBody.js +18 -17
- package/ui/TextMessageItemBody.js.map +1 -1
- package/ui/ThreadReplies.js +9 -9
- package/ui/ThumbnailMessageItemBody.js +8 -7
- package/ui/ThumbnailMessageItemBody.js.map +1 -1
- package/ui/Toggle.js +1 -1
- package/ui/Tooltip.js +3 -3
- package/ui/TooltipWrapper.js +1 -1
- package/ui/TypingIndicatorBubble.js +5 -5
- package/ui/UnknownMessageItemBody.js +8 -7
- package/ui/UnknownMessageItemBody.js.map +1 -1
- package/ui/UserListItem.js +14 -13
- package/ui/UserListItem.js.map +1 -1
- package/ui/UserProfile.js +11 -11
- package/ui/VoiceMessageInput.js +9 -9
- package/ui/VoiceMessageItemBody.js +10 -10
- package/ui/Word.js +14 -13
- package/ui/Word.js.map +1 -1
- package/useSendbirdStateContext.js +1 -1
- package/utils/message/isVoiceMessage.js +4 -3
- package/utils/message/isVoiceMessage.js.map +1 -1
- package/withSendbird.js +1 -1
- package/chunks/bundle-79RbKDD4.js.map +0 -1
- package/chunks/bundle-A36uZCDl.js.map +0 -1
- package/chunks/bundle-DXjnvT3X.js.map +0 -1
- package/chunks/bundle-IHKKjTVb.js.map +0 -1
- package/chunks/bundle-KF1IhHsV.js.map +0 -1
- package/chunks/bundle-KVQUrA22.js.map +0 -1
- package/chunks/bundle-KjVIQqaY.js.map +0 -1
- package/chunks/bundle-LFXAxMSp.js.map +0 -1
- package/chunks/bundle-PCj9QYWV.js.map +0 -1
- package/chunks/bundle-Q-3uYmLU.js.map +0 -1
- package/chunks/bundle-XlrrUjEJ.js.map +0 -1
- package/chunks/bundle-ZbGteG77.js.map +0 -1
- package/chunks/bundle-amfimmWY.js.map +0 -1
- package/chunks/bundle-f-bQSvmA.js.map +0 -1
- package/chunks/bundle-gdweDZjg.js.map +0 -1
- package/chunks/bundle-hEvM6x_9.js.map +0 -1
- package/chunks/bundle-hnbY99fx.js.map +0 -1
- package/chunks/bundle-iGWTklyk.js.map +0 -1
- package/chunks/bundle-ior2BlUD.js.map +0 -1
- package/chunks/bundle-joPrRU5E.js.map +0 -1
- package/chunks/bundle-l9d09gzQ.js.map +0 -1
- package/chunks/bundle-mO3J4SXS.js.map +0 -1
- package/chunks/bundle-mW5agIOj.js.map +0 -1
- package/chunks/bundle-mxq273ll.js.map +0 -1
- package/chunks/bundle-nyXhTs2k.js.map +0 -1
- package/chunks/bundle-olZmltOQ.js.map +0 -1
- package/chunks/bundle-q1M15U1p.js.map +0 -1
- package/chunks/bundle-rcUMtSzr.js.map +0 -1
- package/chunks/bundle-uNgbgg3h.js.map +0 -1
- package/chunks/bundle-v0nGdiTZ.js.map +0 -1
- package/chunks/bundle-v7nqMv6h.js.map +0 -1
- package/chunks/bundle-vVdAEhWk.js.map +0 -1
- package/chunks/bundle-yND4UFpN.js.map +0 -1
- package/cjs/chunks/bundle--EcmFAgY.js.map +0 -1
- package/cjs/chunks/bundle-4VdNtJoS.js.map +0 -1
- package/cjs/chunks/bundle-5MABXNJ2.js.map +0 -1
- package/cjs/chunks/bundle-5tXC271i.js.map +0 -1
- package/cjs/chunks/bundle-5v9Bc23p.js.map +0 -1
- package/cjs/chunks/bundle-5x6xkP9v.js.map +0 -1
- package/cjs/chunks/bundle-8xsZqXyY.js.map +0 -1
- package/cjs/chunks/bundle-9XbbRH_M.js.map +0 -1
- package/cjs/chunks/bundle-AA3e_g5q.js.map +0 -1
- package/cjs/chunks/bundle-BQTyUmzj.js.map +0 -1
- package/cjs/chunks/bundle-BWHZlxBD.js.map +0 -1
- package/cjs/chunks/bundle-CUizz12L.js.map +0 -1
- package/cjs/chunks/bundle-CyWFkcBh.js.map +0 -1
- package/cjs/chunks/bundle-Doe4Xob7.js.map +0 -1
- package/cjs/chunks/bundle-ErBxWt-v.js.map +0 -1
- package/cjs/chunks/bundle-F74wrKkr.js.map +0 -1
- package/cjs/chunks/bundle-Gz75GoMH.js.map +0 -1
- package/cjs/chunks/bundle-KfrHCpUu.js.map +0 -1
- package/cjs/chunks/bundle-OauzEgdX.js.map +0 -1
- package/cjs/chunks/bundle-P5uaoEp7.js.map +0 -1
- package/cjs/chunks/bundle-R4oiSD0L.js.map +0 -1
- package/cjs/chunks/bundle-T4vZ2tFS.js.map +0 -1
- package/cjs/chunks/bundle-XyN4tk9V.js.map +0 -1
- package/cjs/chunks/bundle-Z0z4XcoC.js.map +0 -1
- package/cjs/chunks/bundle-Zhc5iYOj.js.map +0 -1
- package/cjs/chunks/bundle-ZodVwNmU.js.map +0 -1
- package/cjs/chunks/bundle-_CS6i_H9.js.map +0 -1
- package/cjs/chunks/bundle-aLBNZXTm.js.map +0 -1
- package/cjs/chunks/bundle-b7L7rtxl.js.map +0 -1
- package/cjs/chunks/bundle-bXa0UWvD.js.map +0 -1
- package/cjs/chunks/bundle-cwoX1jzF.js.map +0 -1
- package/cjs/chunks/bundle-j9zO3Qdj.js.map +0 -1
- package/cjs/chunks/bundle-jOx4XDkO.js.map +0 -1
- package/cjs/chunks/bundle-ko9gtVkc.js.map +0 -1
- package/cjs/chunks/bundle-pAGpMj4-.js.map +0 -1
- package/cjs/chunks/bundle-rXVQ4vD5.js.map +0 -1
- package/cjs/chunks/bundle-t3HW5lYr.js.map +0 -1
- package/cjs/chunks/bundle-ur5aaH73.js.map +0 -1
- package/cjs/chunks/bundle-wKifHXnJ.js.map +0 -1
- package/cjs/chunks/bundle-xKfD9-QM.js.map +0 -1
- package/cjs/chunks/bundle-xOGNakZW.js.map +0 -1
- package/cjs/chunks/bundle-xunrnVEC.js.map +0 -1
- package/cjs/chunks/bundle-yDmAxC7s.js.map +0 -1
- package/cjs/chunks/bundle-yTBDgBVp.js.map +0 -1
- package/cjs/chunks/bundle-ymVHfRPV.js.map +0 -1
- package/cjs/chunks/bundle-yqb-T4DB.js.map +0 -1
- package/cjs/chunks/bundle-zFwFhCDW.js.map +0 -1
- package/types/ui/FileViewer/hooks/useKeyDown.d.ts +0 -8
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-WpHDilD_.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { a as __spreadArray } from './bundle-
|
|
1
|
+
import { a as __spreadArray } from './bundle-GKopZh-T.js';
|
|
2
2
|
import React__default from 'react';
|
|
3
3
|
import ImageRenderer from '../ui/ImageRenderer.js';
|
|
4
|
-
import { u as uuidv4 } from './bundle-
|
|
5
|
-
import { p as pxToNumber } from './bundle-
|
|
4
|
+
import { u as uuidv4 } from './bundle-aeQZ5WsP.js';
|
|
5
|
+
import { p as pxToNumber } from './bundle-Kv4GXRTs.js';
|
|
6
6
|
import Icon, { IconTypes, IconColors } from '../ui/Icon.js';
|
|
7
7
|
|
|
8
8
|
var AvatarDefault = function (props) {
|
|
@@ -67,4 +67,4 @@ function Avatar(_a, ref) {
|
|
|
67
67
|
var Avatar$1 = React__default.forwardRef(Avatar);
|
|
68
68
|
|
|
69
69
|
export { Avatar$1 as A, AvatarDefault as a, AvatarInner as b };
|
|
70
|
-
//# sourceMappingURL=bundle-
|
|
70
|
+
//# sourceMappingURL=bundle-X3h4GiLa.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-X3h4GiLa.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -138,6 +138,7 @@ var stringSet = {
|
|
|
138
138
|
MESSAGE_INPUT__PLACE_HOLDER__MUTED_SHORT: 'You\'re muted',
|
|
139
139
|
MESSAGE_INPUT__QUOTE_REPLY__PLACE_HOLDER: 'Reply to message',
|
|
140
140
|
// Common UI
|
|
141
|
+
BUTTON__SUBMIT: 'Submit',
|
|
141
142
|
BUTTON__CANCEL: 'Cancel',
|
|
142
143
|
BUTTON__DELETE: 'Delete',
|
|
143
144
|
BUTTON__SAVE: 'Save',
|
|
@@ -207,6 +208,20 @@ var stringSet = {
|
|
|
207
208
|
// File upload
|
|
208
209
|
FILE_UPLOAD_NOTIFICATION__COUNT_LIMIT: 'Up to %d files can be attached.',
|
|
209
210
|
FILE_UPLOAD_NOTIFICATION__SIZE_LIMIT: 'The maximum size per file is %d MB.',
|
|
211
|
+
// Feedback button text
|
|
212
|
+
FEEDBACK_LIKE: 'Like',
|
|
213
|
+
FEEDBACK_DISLIKE: 'Dislike',
|
|
214
|
+
// Mobile feedback options menu items
|
|
215
|
+
EDIT_COMMENT: 'Edit comment',
|
|
216
|
+
REMOVE_FEEDBACK: 'Remove Feedback',
|
|
217
|
+
// Feedback modal title
|
|
218
|
+
FEEDBACK_MODAL_TITLE: 'Provide additional feedback (optional)',
|
|
219
|
+
FEEDBACK_CONTENT_PLACEHOLDER: 'Leave a comment',
|
|
220
|
+
BUTTON__REMOVE_FEEDBACK: 'Remove feedback',
|
|
221
|
+
// Feedback failed modal title
|
|
222
|
+
FEEDBACK_FAILED_SUBMIT: 'Couldn’t submit. Try again.',
|
|
223
|
+
FEEDBACK_FAILED_SAVE: 'Couldn’t save. Try again.',
|
|
224
|
+
FEEDBACK_FAILED_DELETE: 'Couldn’t delete. Try again.',
|
|
210
225
|
},
|
|
211
226
|
};
|
|
212
227
|
var getStringSet = function (lang) {
|
|
@@ -215,4 +230,4 @@ var getStringSet = function (lang) {
|
|
|
215
230
|
};
|
|
216
231
|
|
|
217
232
|
export { getStringSet as g };
|
|
218
|
-
//# sourceMappingURL=bundle-
|
|
233
|
+
//# sourceMappingURL=bundle-YmIrZYPF.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-YmIrZYPF.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -28,4 +28,4 @@ var SLIDER_BUTTON_ICON_SIDE_LENGTH = '32px';
|
|
|
28
28
|
var DEFAULT_MULTIPLE_FILES_MESSAGE_LIMIT = 10;
|
|
29
29
|
|
|
30
30
|
export { BROWSER_SUPPORT_MIME_TYPE_LIST as B, DELIVERY_RECEIPT as D, META_ARRAY_VOICE_DURATION_KEY as M, ONE_MiB as O, SCROLL_BUFFER as S, VOICE_RECORDER_AUDIO_BIT_RATE as V, VOICE_MESSAGE_FILE_NAME as a, VOICE_MESSAGE_MIME_TYPE as b, VOICE_RECORDER_DEFAULT_MIN as c, VOICE_RECORDER_AUDIO_SAMPLE_RATE as d, VOICE_PLAYER_AUDIO_ID as e, VOICE_RECORDER_CLICK_BUFFER_TIME as f, VOICE_PLAYER_ROOT_ID as g, SLIDER_BUTTON_ICON_SIDE_LENGTH as h, META_ARRAY_MESSAGE_TYPE_KEY as i, META_ARRAY_MESSAGE_TYPE_VALUE__VOICE as j, DEFAULT_MULTIPLE_FILES_MESSAGE_LIMIT as k, VOICE_RECORDER_DEFAULT_MAX as l };
|
|
31
|
-
//# sourceMappingURL=bundle-
|
|
31
|
+
//# sourceMappingURL=bundle-ZKM9Qk_j.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-ZKM9Qk_j.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -33,4 +33,4 @@ var CreateChannelProvider = function (props) {
|
|
|
33
33
|
var useCreateChannelContext = function () { return (React__default.useContext(CreateChannelContext)); };
|
|
34
34
|
|
|
35
35
|
export { CreateChannelProvider as C, CHANNEL_TYPE as a, useCreateChannelContext as u };
|
|
36
|
-
//# sourceMappingURL=bundle-
|
|
36
|
+
//# sourceMappingURL=bundle-ZcE3JzW_.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-ZcE3JzW_.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-_-2NCsYr.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { d as isFileMessage, b as isMultipleFilesMessage } from './bundle-
|
|
2
|
-
import { K } from './bundle-
|
|
1
|
+
import { d as isFileMessage, b as isMultipleFilesMessage } from './bundle-uk2Y0AQu.js';
|
|
2
|
+
import { K } from './bundle-kfNTRju0.js';
|
|
3
3
|
|
|
4
4
|
function getMessageFirstFileType(message) {
|
|
5
5
|
return K(message)
|
|
@@ -66,4 +66,4 @@ function getMessageFirstFileThumbnailUrl(message) {
|
|
|
66
66
|
}
|
|
67
67
|
|
|
68
68
|
export { getMessageFirstFileType as a, getMessageFirstFileName as b, getMessageFirstFileThumbnailUrl as c, getMessageFirstFileUrl as g };
|
|
69
|
-
//# sourceMappingURL=bundle-
|
|
69
|
+
//# sourceMappingURL=bundle-aVVX2zHR.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-aVVX2zHR.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-aeQZ5WsP.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useCallback } from 'react';
|
|
2
|
-
import { p as pubSubTopics, s as shouldPubSubPublishToChannel, a as shouldPubSubPublishToThread } from './bundle-
|
|
3
|
-
import { s as scrollIntoLast$1 } from './bundle-
|
|
4
|
-
import { f as format } from './bundle-
|
|
2
|
+
import { p as pubSubTopics, s as shouldPubSubPublishToChannel, a as shouldPubSubPublishToThread } from './bundle-ku6CEjGk.js';
|
|
3
|
+
import { s as scrollIntoLast$1 } from './bundle-xsV7pD8p.js';
|
|
4
|
+
import { f as format } from './bundle-WDOQg3ty.js';
|
|
5
5
|
import { getOutgoingMessageState, OutgoingMessageStates } from '../utils/message/getOutgoingMessageState.js';
|
|
6
6
|
|
|
7
7
|
var getNicknamesMapFromMembers = function (members) {
|
|
@@ -213,4 +213,4 @@ var useSendMultipleFilesMessage = function (_a, _b) {
|
|
|
213
213
|
};
|
|
214
214
|
|
|
215
215
|
export { compareIds as a, getNicknamesMapFromMembers as b, compareMessagesForGrouping as c, getParentMessageFrom as g, isAboutSame as i, scrollIntoLast as s, useSendMultipleFilesMessage as u };
|
|
216
|
-
//# sourceMappingURL=bundle-
|
|
216
|
+
//# sourceMappingURL=bundle-cHbX4Rxo.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bundle-
|
|
1
|
+
{"version":3,"file":"bundle-cHbX4Rxo.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-cXqs96Pt.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React__default, { useState } from 'react';
|
|
2
2
|
import ContextMenu, { MenuItems, MenuItem } from '../ui/ContextMenu.js';
|
|
3
|
-
import { j as isUserMessage, k as isSentMessage, l as isFailedMessage, m as isPendingMessage, d as isFileMessage, i as isVoiceMessage,
|
|
4
|
-
import { u as useLocalization } from './bundle-
|
|
3
|
+
import { j as isUserMessage, k as isSentMessage, l as isFailedMessage, m as isPendingMessage, d as isFileMessage, i as isVoiceMessage, L as isThreadMessage, o as copyToClipboard, p as getEmojiListAll } from './bundle-uk2Y0AQu.js';
|
|
4
|
+
import { u as useLocalization } from './bundle-y_LgB6DS.js';
|
|
5
5
|
import Icon, { IconTypes, IconColors } from '../ui/Icon.js';
|
|
6
|
-
import { L as Label, a as LabelTypography, b as LabelColors } from './bundle-
|
|
6
|
+
import { L as Label, a as LabelTypography, b as LabelColors } from './bundle-dWJnfDPH.js';
|
|
7
7
|
import BottomSheet from '../ui/BottomSheet.js';
|
|
8
8
|
import ImageRenderer from '../ui/ImageRenderer.js';
|
|
9
9
|
import ReactionButton from '../ui/ReactionButton.js';
|
|
@@ -219,4 +219,4 @@ var MobileMenu = function (props) {
|
|
|
219
219
|
};
|
|
220
220
|
|
|
221
221
|
export { MobileMenu as M };
|
|
222
|
-
//# sourceMappingURL=bundle-
|
|
222
|
+
//# sourceMappingURL=bundle-d6R6m9-9.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bundle-
|
|
1
|
+
{"version":3,"file":"bundle-d6R6m9-9.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as __spreadArray } from './bundle-
|
|
1
|
+
import { a as __spreadArray } from './bundle-GKopZh-T.js';
|
|
2
2
|
import React__default from 'react';
|
|
3
|
-
import { g as getStringSet } from './bundle-
|
|
3
|
+
import { g as getStringSet } from './bundle-YmIrZYPF.js';
|
|
4
4
|
|
|
5
5
|
var Typography = {
|
|
6
6
|
H_1: 'H_1',
|
|
@@ -11,6 +11,7 @@ var Typography = {
|
|
|
11
11
|
BODY_2: 'BODY_2',
|
|
12
12
|
BUTTON_1: 'BUTTON_1',
|
|
13
13
|
BUTTON_2: 'BUTTON_2',
|
|
14
|
+
BUTTON_3: 'BUTTON_3',
|
|
14
15
|
CAPTION_1: 'CAPTION_1',
|
|
15
16
|
CAPTION_2: 'CAPTION_2',
|
|
16
17
|
CAPTION_3: 'CAPTION_3',
|
|
@@ -37,6 +38,7 @@ function changeTypographyToClassName(type) {
|
|
|
37
38
|
case Typography.BODY_2: return 'sendbird-label--body-2';
|
|
38
39
|
case Typography.BUTTON_1: return 'sendbird-label--button-1';
|
|
39
40
|
case Typography.BUTTON_2: return 'sendbird-label--button-2';
|
|
41
|
+
case Typography.BUTTON_3: return 'sendbird-label--button-3';
|
|
40
42
|
case Typography.CAPTION_1: return 'sendbird-label--caption-1';
|
|
41
43
|
case Typography.CAPTION_2: return 'sendbird-label--caption-2';
|
|
42
44
|
case Typography.CAPTION_3: return 'sendbird-label--caption-3';
|
|
@@ -75,4 +77,4 @@ var LabelColors = Colors;
|
|
|
75
77
|
var LabelStringSet = getStringSet('en');
|
|
76
78
|
|
|
77
79
|
export { Label as L, LabelTypography as a, LabelColors as b, LabelStringSet as c, changeColorToClassName as d };
|
|
78
|
-
//# sourceMappingURL=bundle-
|
|
80
|
+
//# sourceMappingURL=bundle-dWJnfDPH.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-dWJnfDPH.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -10,4 +10,4 @@ var ThreadReplySelectType;
|
|
|
10
10
|
})(ThreadReplySelectType || (ThreadReplySelectType = {}));
|
|
11
11
|
|
|
12
12
|
export { MAX_USER_MENTION_COUNT as M, NEXT_RESULT_SIZE as N, PREV_RESULT_SIZE as P, ThreadReplySelectType as T, USER_MENTION_TEMP_CHAR as U, MAX_USER_SUGGESTION_COUNT as a };
|
|
13
|
-
//# sourceMappingURL=bundle-
|
|
13
|
+
//# sourceMappingURL=bundle-f9mkey82.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-f9mkey82.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;"}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import React__default, { useRef, useState, useEffect } from 'react';
|
|
2
|
-
import { u as useLocalization } from './bundle-
|
|
2
|
+
import { u as useLocalization } from './bundle-y_LgB6DS.js';
|
|
3
3
|
import { useVoicePlayer } from '../VoicePlayer/useVoicePlayer.js';
|
|
4
4
|
import { useVoiceRecorder, VoiceRecorderStatus } from '../VoiceRecorder/useVoiceRecorder.js';
|
|
5
|
-
import { i as isDisabledBecauseFrozen, b as isDisabledBecauseMuted } from './bundle-
|
|
6
|
-
import { V as VoiceMessageInputStatus, a as VoiceMessageInput } from './bundle-
|
|
7
|
-
import { M as Modal } from './bundle-
|
|
5
|
+
import { i as isDisabledBecauseFrozen, b as isDisabledBecauseMuted } from './bundle-xsV7pD8p.js';
|
|
6
|
+
import { V as VoiceMessageInputStatus, a as VoiceMessageInput } from './bundle-ldRkCosA.js';
|
|
7
|
+
import { M as Modal } from './bundle-VPanFdbf.js';
|
|
8
8
|
import Button, { ButtonTypes, ButtonSizes } from '../ui/Button.js';
|
|
9
9
|
import { useSendbirdStateContext } from '../useSendbirdStateContext.js';
|
|
10
|
-
import { c as VOICE_RECORDER_DEFAULT_MIN } from './bundle-
|
|
11
|
-
import { V as VOICE_PLAYER_STATUS } from './bundle-
|
|
12
|
-
import { u as uuidv4 } from './bundle-
|
|
10
|
+
import { c as VOICE_RECORDER_DEFAULT_MIN } from './bundle-ZKM9Qk_j.js';
|
|
11
|
+
import { V as VOICE_PLAYER_STATUS } from './bundle-J_erGfOo.js';
|
|
12
|
+
import { u as uuidv4 } from './bundle-aeQZ5WsP.js';
|
|
13
13
|
|
|
14
14
|
var VoiceMessageInputWrapper = function (_a) {
|
|
15
15
|
var _b;
|
|
@@ -131,4 +131,4 @@ var VoiceMessageInputWrapper = function (_a) {
|
|
|
131
131
|
};
|
|
132
132
|
|
|
133
133
|
export { VoiceMessageInputWrapper as V };
|
|
134
|
-
//# sourceMappingURL=bundle-
|
|
134
|
+
//# sourceMappingURL=bundle-gEwUSFTG.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bundle-
|
|
1
|
+
{"version":3,"file":"bundle-gEwUSFTG.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import React__default, { useEffect, useCallback, useState, useReducer, useRef, useMemo } from 'react';
|
|
2
|
-
import { f as format } from './bundle-
|
|
3
|
-
import { U as UserProfileProvider } from './bundle-
|
|
4
|
-
import { _ as __assign, a as __spreadArray, b as __awaiter, c as __generator } from './bundle-
|
|
5
|
-
import { c as compareIds } from './bundle-
|
|
6
|
-
import { p as pubSubTopics } from './bundle-
|
|
2
|
+
import { f as format } from './bundle-WDOQg3ty.js';
|
|
3
|
+
import { U as UserProfileProvider } from './bundle-cXqs96Pt.js';
|
|
4
|
+
import { _ as __assign, a as __spreadArray, b as __awaiter, c as __generator } from './bundle-GKopZh-T.js';
|
|
5
|
+
import { c as compareIds } from './bundle-yur9nm4N.js';
|
|
6
|
+
import { p as pubSubTopics } from './bundle-ku6CEjGk.js';
|
|
7
7
|
import { ChannelType } from '@sendbird/chat';
|
|
8
8
|
import { OpenChannelHandler } from '@sendbird/chat/openChannel';
|
|
9
|
-
import { u as uuidv4 } from './bundle-
|
|
10
|
-
import { c as compressImages } from './bundle-
|
|
9
|
+
import { u as uuidv4 } from './bundle-aeQZ5WsP.js';
|
|
10
|
+
import { c as compressImages } from './bundle-LEanaSuB.js';
|
|
11
11
|
import { useSendbirdStateContext } from '../useSendbirdStateContext.js';
|
|
12
12
|
import { useGlobalModalContext } from '../hooks/useModal.js';
|
|
13
|
-
import { u as useLocalization } from './bundle-
|
|
14
|
-
import { O as ONE_MiB } from './bundle-
|
|
15
|
-
import { c as ModalFooter } from './bundle-
|
|
16
|
-
import './bundle-
|
|
13
|
+
import { u as useLocalization } from './bundle-y_LgB6DS.js';
|
|
14
|
+
import { O as ONE_MiB } from './bundle-ZKM9Qk_j.js';
|
|
15
|
+
import { c as ModalFooter } from './bundle-VPanFdbf.js';
|
|
16
|
+
import './bundle-dWJnfDPH.js';
|
|
17
17
|
import { ButtonTypes } from '../ui/Button.js';
|
|
18
18
|
|
|
19
19
|
var getMessageCreatedAt = function (message) { return format(message.createdAt, 'p'); };
|
|
@@ -1391,4 +1391,4 @@ var OpenChannelProvider = function (props) {
|
|
|
1391
1391
|
var useOpenChannelContext = function () { return React__default.useContext(OpenChannelContext); };
|
|
1392
1392
|
|
|
1393
1393
|
export { OpenChannelProvider as O, compareMessagesForGrouping as c, kFormatter as k, useOpenChannelContext as u };
|
|
1394
|
-
//# sourceMappingURL=bundle-
|
|
1394
|
+
//# sourceMappingURL=bundle-iWI3kIle.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bundle-
|
|
1
|
+
{"version":3,"file":"bundle-iWI3kIle.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-iYCB6XN2.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { _ as __assign, a as __spreadArray, b as __awaiter, c as __generator } from './bundle-
|
|
1
|
+
import { _ as __assign, a as __spreadArray, b as __awaiter, c as __generator } from './bundle-GKopZh-T.js';
|
|
2
2
|
import React__default, { useEffect, useCallback, useReducer, useState, useMemo, useContext } from 'react';
|
|
3
3
|
import { GroupChannelHandler } from '@sendbird/chat/groupChannel';
|
|
4
|
-
import { p as pubSubTopics } from './bundle-
|
|
5
|
-
import { u as uuidv4 } from './bundle-
|
|
6
|
-
import { n as noop } from './bundle-
|
|
7
|
-
import { D as DELIVERY_RECEIPT$1 } from './bundle-
|
|
8
|
-
import { U as UserProfileProvider } from './bundle-
|
|
4
|
+
import { p as pubSubTopics } from './bundle-ku6CEjGk.js';
|
|
5
|
+
import { u as uuidv4 } from './bundle-aeQZ5WsP.js';
|
|
6
|
+
import { n as noop } from './bundle-WpHDilD_.js';
|
|
7
|
+
import { D as DELIVERY_RECEIPT$1 } from './bundle-ZKM9Qk_j.js';
|
|
8
|
+
import { U as UserProfileProvider } from './bundle-cXqs96Pt.js';
|
|
9
9
|
import { useSendbirdStateContext } from '../useSendbirdStateContext.js';
|
|
10
|
-
import { K, S } from './bundle-
|
|
11
|
-
import { T as filterChannelListParams, V as getChannelsWithUpsertedChannel } from './bundle-
|
|
10
|
+
import { K, S } from './bundle-kfNTRju0.js';
|
|
11
|
+
import { T as filterChannelListParams, V as getChannelsWithUpsertedChannel } from './bundle-uk2Y0AQu.js';
|
|
12
12
|
|
|
13
13
|
var RESET_CHANNEL_LIST = 'RESET_CHANNEL_LIST';
|
|
14
14
|
var CREATE_CHANNEL = 'CREATE_CHANNEL';
|
|
@@ -30,7 +30,6 @@ var ON_CHANNEL_FROZEN = 'ON_CHANNEL_FROZEN';
|
|
|
30
30
|
var ON_CHANNEL_UNFROZEN = 'ON_CHANNEL_UNFROZEN';
|
|
31
31
|
var ON_READ_RECEIPT_UPDATED = 'ON_READ_RECEIPT_UPDATED';
|
|
32
32
|
var ON_DELIVERY_RECEIPT_UPDATED = 'ON_DELIVERY_RECEIPT_UPDATED';
|
|
33
|
-
var CHANNEL_REPLACED_TO_TOP = 'CHANNEL_REPLACED_TO_TOP';
|
|
34
33
|
var CHANNEL_LIST_PARAMS_UPDATED = 'CHANNEL_LIST_PARAMS_UPDATED';
|
|
35
34
|
|
|
36
35
|
var DELIVERY_RECEIPT = 'delivery_receipt';
|
|
@@ -265,15 +264,6 @@ var pubSubHandler = function (pubSub, channelListDispatcher) {
|
|
|
265
264
|
payload: channel === null || channel === void 0 ? void 0 : channel.url,
|
|
266
265
|
});
|
|
267
266
|
}));
|
|
268
|
-
subscriber.set(pubSubTopics.SEND_MESSAGE_START, pubSub.subscribe(pubSubTopics.SEND_MESSAGE_START, function (_a) {
|
|
269
|
-
var channel = _a.channel;
|
|
270
|
-
if (channel.isGroupChannel()) {
|
|
271
|
-
channelListDispatcher({
|
|
272
|
-
type: CHANNEL_REPLACED_TO_TOP,
|
|
273
|
-
payload: channel,
|
|
274
|
-
});
|
|
275
|
-
}
|
|
276
|
-
}));
|
|
277
267
|
return subscriber;
|
|
278
268
|
};
|
|
279
269
|
|
|
@@ -327,12 +317,13 @@ function channelListReducer(state, action) {
|
|
|
327
317
|
return __assign(__assign({}, state), { allChannels: __spreadArray(__spreadArray([], state.allChannels, true), filteredChannels, true) });
|
|
328
318
|
})
|
|
329
319
|
.with({ type: CREATE_CHANNEL }, function (action) {
|
|
320
|
+
var _a;
|
|
330
321
|
var channel = action.payload;
|
|
331
322
|
var allChannels = state.allChannels, currentUserId = state.currentUserId, channelListQuery = state.channelListQuery;
|
|
332
323
|
if (channelListQuery) {
|
|
333
324
|
if (filterChannelListParams(channelListQuery, channel, currentUserId)) {
|
|
334
325
|
// Good to add to the ChannelList
|
|
335
|
-
return __assign(__assign({}, state), { currentChannel: channel, allChannels: getChannelsWithUpsertedChannel(allChannels, channel) });
|
|
326
|
+
return __assign(__assign({}, state), { currentChannel: channel, allChannels: getChannelsWithUpsertedChannel(allChannels, channel, (_a = state.channelListQuery) === null || _a === void 0 ? void 0 : _a.order) });
|
|
336
327
|
}
|
|
337
328
|
// Do not add to the ChannelList
|
|
338
329
|
return __assign(__assign({}, state), { currentChannel: channel });
|
|
@@ -343,12 +334,13 @@ function channelListReducer(state, action) {
|
|
|
343
334
|
})
|
|
344
335
|
// A hidden channel will be unhidden when getting new message
|
|
345
336
|
.with({ type: ON_CHANNEL_ARCHIVED }, function (action) {
|
|
337
|
+
var _a;
|
|
346
338
|
var channel = action.payload;
|
|
347
339
|
var allChannels = state.allChannels, currentUserId = state.currentUserId, currentChannel = state.currentChannel, channelListQuery = state.channelListQuery, disableAutoSelect = state.disableAutoSelect;
|
|
348
340
|
if (channelListQuery) {
|
|
349
341
|
if (filterChannelListParams(channelListQuery, channel, currentUserId)) {
|
|
350
342
|
// Good to [add to/keep in] the ChannelList
|
|
351
|
-
return __assign(__assign({}, state), { allChannels: getChannelsWithUpsertedChannel(allChannels, channel) });
|
|
343
|
+
return __assign(__assign({}, state), { allChannels: getChannelsWithUpsertedChannel(allChannels, channel, (_a = state.channelListQuery) === null || _a === void 0 ? void 0 : _a.order) });
|
|
352
344
|
}
|
|
353
345
|
// * Remove the channel from the ChannelList: because the channel is filtered
|
|
354
346
|
}
|
|
@@ -376,14 +368,15 @@ function channelListReducer(state, action) {
|
|
|
376
368
|
return __assign(__assign({}, state), { currentChannel: channelUrl === ((_a = state.currentChannel) === null || _a === void 0 ? void 0 : _a.url) ? allChannels[0] : state.currentChannel, allChannels: allChannels });
|
|
377
369
|
})
|
|
378
370
|
.with({ type: ON_USER_LEFT }, function (action) {
|
|
379
|
-
var _a
|
|
371
|
+
var _a;
|
|
372
|
+
var _b = action.payload, channel = _b.channel, isMe = _b.isMe;
|
|
380
373
|
var allChannels = state.allChannels, currentUserId = state.currentUserId, currentChannel = state.currentChannel, channelListQuery = state.channelListQuery, disableAutoSelect = state.disableAutoSelect;
|
|
381
374
|
var nextChannels = allChannels.filter(function (ch) { return ch.url !== channel.url; });
|
|
382
375
|
var nextChannel = null;
|
|
383
376
|
if (channelListQuery) {
|
|
384
377
|
if (filterChannelListParams(channelListQuery, channel, currentUserId)) {
|
|
385
378
|
// Good to [add to/keep in] the ChannelList
|
|
386
|
-
nextChannels = getChannelsWithUpsertedChannel(allChannels, channel);
|
|
379
|
+
nextChannels = getChannelsWithUpsertedChannel(allChannels, channel, (_a = state.channelListQuery) === null || _a === void 0 ? void 0 : _a.order);
|
|
387
380
|
}
|
|
388
381
|
}
|
|
389
382
|
// Replace the currentChannel if I left the currentChannel
|
|
@@ -400,14 +393,14 @@ function channelListReducer(state, action) {
|
|
|
400
393
|
.with({
|
|
401
394
|
type: S.union(ON_USER_JOINED, ON_CHANNEL_CHANGED, ON_READ_RECEIPT_UPDATED, ON_DELIVERY_RECEIPT_UPDATED),
|
|
402
395
|
}, function (action) {
|
|
403
|
-
var _a, _b;
|
|
396
|
+
var _a, _b, _c;
|
|
404
397
|
var channel = action.payload;
|
|
405
|
-
var
|
|
398
|
+
var _d = state.allChannels, allChannels = _d === void 0 ? [] : _d, currentUserId = state.currentUserId, currentChannel = state.currentChannel, channelListQuery = state.channelListQuery, disableAutoSelect = state.disableAutoSelect;
|
|
406
399
|
var unreadMessageCount = channel.unreadMessageCount;
|
|
407
400
|
if (channelListQuery) {
|
|
408
401
|
if (filterChannelListParams(channelListQuery, channel, currentUserId)) {
|
|
409
402
|
// Good to [add to/keep in] the ChannelList
|
|
410
|
-
return __assign(__assign({}, state), { allChannels: getChannelsWithUpsertedChannel(allChannels, channel) });
|
|
403
|
+
return __assign(__assign({}, state), { allChannels: getChannelsWithUpsertedChannel(allChannels, channel, (_a = state.channelListQuery) === null || _a === void 0 ? void 0 : _a.order) });
|
|
411
404
|
}
|
|
412
405
|
// Filter the channel from the ChannelList
|
|
413
406
|
// Replace the currentChannel if it's filtered channel
|
|
@@ -426,7 +419,7 @@ function channelListReducer(state, action) {
|
|
|
426
419
|
// When marking as read the channel
|
|
427
420
|
unreadMessageCount === 0
|
|
428
421
|
// @ts-ignore - When sending a message by the current peer
|
|
429
|
-
&& ((
|
|
422
|
+
&& ((_c = (_b = channel === null || channel === void 0 ? void 0 : channel.lastMessage) === null || _b === void 0 ? void 0 : _b.sender) === null || _c === void 0 ? void 0 : _c.userId) !== currentUserId) {
|
|
430
423
|
// Don't move to the top
|
|
431
424
|
return __assign(__assign({}, state), { allChannels: allChannels.map(function (ch) { return (ch.url === (channel === null || channel === void 0 ? void 0 : channel.url) ? channel : ch); }) });
|
|
432
425
|
}
|
|
@@ -443,12 +436,13 @@ function channelListReducer(state, action) {
|
|
|
443
436
|
return __assign(__assign({}, state), { allChannels: state.allChannels.map(function (channel) { return (channel === null || channel === void 0 ? void 0 : channel.url) === action.payload.url ? action.payload : channel; }) });
|
|
444
437
|
})
|
|
445
438
|
.with({ type: ON_CHANNEL_FROZEN }, function (action) {
|
|
439
|
+
var _a;
|
|
446
440
|
var channel = action.payload;
|
|
447
441
|
var allChannels = state.allChannels, currentUserId = state.currentUserId, currentChannel = state.currentChannel, channelListQuery = state.channelListQuery, disableAutoSelect = state.disableAutoSelect;
|
|
448
442
|
if (channelListQuery) {
|
|
449
443
|
if (filterChannelListParams(channelListQuery, channel, currentUserId)) {
|
|
450
444
|
// Good to [add to/keep in] the ChannelList
|
|
451
|
-
return __assign(__assign({}, state), { allChannels: getChannelsWithUpsertedChannel(allChannels, channel) });
|
|
445
|
+
return __assign(__assign({}, state), { allChannels: getChannelsWithUpsertedChannel(allChannels, channel, (_a = state.channelListQuery) === null || _a === void 0 ? void 0 : _a.order) });
|
|
452
446
|
}
|
|
453
447
|
// Filter the channel from the ChannelList
|
|
454
448
|
// Replace the currentChannel if it's filtered channel
|
|
@@ -473,12 +467,13 @@ function channelListReducer(state, action) {
|
|
|
473
467
|
}) });
|
|
474
468
|
})
|
|
475
469
|
.with({ type: ON_CHANNEL_UNFROZEN }, function (action) {
|
|
470
|
+
var _a;
|
|
476
471
|
var channel = action.payload;
|
|
477
472
|
var allChannels = state.allChannels, currentUserId = state.currentUserId, currentChannel = state.currentChannel, channelListQuery = state.channelListQuery, disableAutoSelect = state.disableAutoSelect;
|
|
478
473
|
if (channelListQuery) {
|
|
479
474
|
if (filterChannelListParams(channelListQuery, channel, currentUserId)) {
|
|
480
475
|
// Good to [add to/keep in] the ChannelList
|
|
481
|
-
return __assign(__assign({}, state), { allChannels: getChannelsWithUpsertedChannel(allChannels, channel) });
|
|
476
|
+
return __assign(__assign({}, state), { allChannels: getChannelsWithUpsertedChannel(allChannels, channel, (_a = state.channelListQuery) === null || _a === void 0 ? void 0 : _a.order) });
|
|
482
477
|
}
|
|
483
478
|
// Filter the channel from the ChannelList
|
|
484
479
|
// Replace the currentChannel if it's filtered channel
|
|
@@ -502,17 +497,6 @@ function channelListReducer(state, action) {
|
|
|
502
497
|
}
|
|
503
498
|
return ch;
|
|
504
499
|
}) });
|
|
505
|
-
})
|
|
506
|
-
.with({ type: CHANNEL_REPLACED_TO_TOP }, function (action) {
|
|
507
|
-
if (state.channelListQuery) {
|
|
508
|
-
if (filterChannelListParams(state.channelListQuery, action.payload, state.currentUserId)) {
|
|
509
|
-
return __assign(__assign({}, state), { allChannels: __spreadArray([
|
|
510
|
-
action.payload
|
|
511
|
-
], state.allChannels.filter(function (channel) { return (channel === null || channel === void 0 ? void 0 : channel.url) !== action.payload.url; }), true) });
|
|
512
|
-
}
|
|
513
|
-
return state;
|
|
514
|
-
}
|
|
515
|
-
return __assign(__assign({}, state), { allChannels: __spreadArray([action.payload], state.allChannels.filter(function (channel) { return (channel === null || channel === void 0 ? void 0 : channel.url) !== action.payload.url; }), true) });
|
|
516
500
|
})
|
|
517
501
|
.with({ type: CHANNEL_LIST_PARAMS_UPDATED }, function (action) { return (__assign(__assign({}, state), { channelListQuery: action.payload.channelListQuery, currentUserId: action.payload.currentUserId })); })
|
|
518
502
|
.otherwise(function () { return state; }));
|
|
@@ -837,4 +821,4 @@ function useChannelListContext() {
|
|
|
837
821
|
}
|
|
838
822
|
|
|
839
823
|
export { ChannelListProvider as C, LEAVE_CHANNEL_SUCCESS as L, SET_CURRENT_CHANNEL as S, useChannelListContext as u };
|
|
840
|
-
//# sourceMappingURL=bundle-
|
|
824
|
+
//# sourceMappingURL=bundle-ipC2A4Tb.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bundle-
|
|
1
|
+
{"version":3,"file":"bundle-ipC2A4Tb.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
var n=Symbol("@ts-pattern/matcher"),t="@ts-pattern/anonymous-select-key",e=function(n){return Boolean(n&&"object"==typeof n)},r=function(t){return t&&!!t[n]},u=function t(u,i,c){if(e(u)){if(r(u)){var o=u[n]().match(i),a=o.matched,f=o.selections;return a&&f&&Object.keys(f).forEach(function(n){return c(n,f[n])}),a}if(!e(i))return !1;if(Array.isArray(u))return !!Array.isArray(i)&&u.length===i.length&&u.every(function(n,e){return t(n,i[e],c)});if(u instanceof Map)return i instanceof Map&&Array.from(u.keys()).every(function(n){return t(u.get(n),i.get(n),c)});if(u instanceof Set){if(!(i instanceof Set))return !1;if(0===u.size)return 0===i.size;if(1===u.size){var s=Array.from(u.values())[0];return r(s)?Array.from(i.values()).every(function(n){return t(s,n,c)}):i.has(s)}return Array.from(u.values()).every(function(n){return i.has(n)})}return Object.keys(u).every(function(e){var o,a=u[e];return (e in i||r(o=a)&&"optional"===o[n]().matcherType)&&t(a,i[e],c)})}return Object.is(i,u)},i=function t(u){var i,o,a;return e(u)?r(u)?null!=(i=null==(o=(a=u[n]()).getSelectionKeys)?void 0:o.call(a))?i:[]:Array.isArray(u)?c(u,t):c(Object.values(u),t):[]},c=function(n,t){return n.reduce(function(n,e){return n.concat(t(e))},[])};function o(t){var e;return (e={})[n]=function(){return {match:function(n){var e={},r=function(n,t){e[n]=t;};return void 0===n?(i(t).forEach(function(n){return r(n,void 0)}),{matched:!0,selections:e}):{matched:u(t,n,r),selections:e}},getSelectionKeys:function(){return i(t)},matcherType:"optional"}},e}function a(t){var e;return (e={})[n]=function(){return {match:function(n){if(!Array.isArray(n))return {matched:!1};var e={};if(0===n.length)return i(t).forEach(function(n){e[n]=[];}),{matched:!0,selections:e};var r=function(n,t){e[n]=(e[n]||[]).concat([t]);};return {matched:n.every(function(n){return u(t,n,r)}),selections:e}},getSelectionKeys:function(){return i(t)}}},e}function f(){var t,e=[].slice.call(arguments);return (t={})[n]=function(){return {match:function(n){var t={},r=function(n,e){t[n]=e;};return {matched:e.every(function(t){return u(t,n,r)}),selections:t}},getSelectionKeys:function(){return c(e,i)},matcherType:"and"}},t}function s(){var t,e=[].slice.call(arguments);return (t={})[n]=function(){return {match:function(n){var t={},r=function(n,e){t[n]=e;};return c(e,i).forEach(function(n){return r(n,void 0)}),{matched:e.some(function(t){return u(t,n,r)}),selections:t}},getSelectionKeys:function(){return c(e,i)},matcherType:"or"}},t}function l(t){var e;return (e={})[n]=function(){return {match:function(n){return {matched:!u(t,n,function(){})}},getSelectionKeys:function(){return []},matcherType:"not"}},e}function h(t){var e;return (e={})[n]=function(){return {match:function(n){return {matched:Boolean(t(n))}}}},e}function v(){var e,r=[].slice.call(arguments),c="string"==typeof r[0]?r[0]:void 0,o=2===r.length?r[1]:"string"==typeof r[0]?void 0:r[0];return (e={})[n]=function(){return {match:function(n){var e,r=((e={})[null!=c?c:t]=n,e);return {matched:void 0===o||u(o,n,function(n,t){r[n]=t;}),selections:r}},getSelectionKeys:function(){return [null!=c?c:t].concat(void 0===o?[]:i(o))}}},e}var y=h(function(n){return !0}),m=y,d=h(function(n){return "string"==typeof n}),g=h(function(n){return "number"==typeof n}),p=h(function(n){return "boolean"==typeof n}),b=h(function(n){return "bigint"==typeof n}),w=h(function(n){return "symbol"==typeof n}),A=h(function(n){return null==n}),S={__proto__:null,optional:o,array:a,intersection:f,union:s,not:l,when:h,select:v,any:y,_:m,string:d,number:g,boolean:p,bigint:b,symbol:w,nullish:A,instanceOf:function(n){return h(function(n){return function(t){return t instanceof n}}(n))},typed:function(){return {array:a,optional:o,intersection:f,union:s,not:l,select:v,when:h}}};function K(n){return new O(n,[])}var O=/*#__PURE__*/function(){function n(n,t){this.value=void 0,this.cases=void 0,this.value=n,this.cases=t;}var e=n.prototype;return e.with=function(){var e=[].slice.call(arguments),r=e[e.length-1],i=[e[0]],c=[];return 3===e.length&&"function"==typeof e[1]?(i.push(e[0]),c.push(e[1])):e.length>2&&i.push.apply(i,e.slice(1,e.length-1)),new n(this.value,this.cases.concat([{match:function(n){var e={},r=Boolean(i.some(function(t){return u(t,n,function(n,t){e[n]=t;})})&&c.every(function(t){return t(n)}));return {matched:r,value:r&&Object.keys(e).length?t in e?e[t]:e:n}},handler:r}]))},e.when=function(t,e){return new n(this.value,this.cases.concat([{match:function(n){return {matched:Boolean(t(n)),value:n}},handler:e}]))},e.otherwise=function(t){return new n(this.value,this.cases.concat([{match:function(n){return {matched:!0,value:n}},handler:t}])).run()},e.exhaustive=function(){return this.run()},e.run=function(){for(var n=this.value,t=void 0,e=0;e<this.cases.length;e++){var r=this.cases[e],u=r.match(this.value);if(u.matched){n=u.value,t=r.handler;break}}if(!t){var i;try{i=JSON.stringify(this.value);}catch(n){i=this.value;}throw new Error("Pattern matching error: no pattern matches value "+i)}return t(n,this.value)},n}();
|
|
2
2
|
|
|
3
3
|
export { K, S };
|
|
4
|
-
//# sourceMappingURL=bundle-
|
|
4
|
+
//# sourceMappingURL=bundle-kfNTRju0.js.map
|