@sendbird/uikit-react 3.13.2 → 3.13.3
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 +78 -78
- package/CHANGELOG.md +75 -1
- package/Channel/components/ChannelHeader.js +29 -29
- package/Channel/components/ChannelUI.js +64 -64
- package/Channel/components/FileViewer.js +28 -28
- package/Channel/components/FrozenNotification.js +5 -5
- package/Channel/components/Message.js +53 -53
- package/Channel/components/MessageFeedbackModal.js +9 -9
- package/Channel/components/MessageInput.js +41 -41
- package/Channel/components/MessageInputWrapper.js +41 -41
- package/Channel/components/MessageList.js +57 -57
- package/Channel/components/RemoveMessageModal.js +27 -27
- package/Channel/components/SuggestedMentionList.js +27 -27
- package/Channel/components/TypingIndicator.js +6 -6
- package/Channel/components/UnreadCount.js +7 -7
- package/Channel/context.js +19 -19
- package/Channel/hooks/useHandleUploadFiles.js +13 -13
- package/Channel/hooks/useInitialMessagesFetch.js +6 -6
- package/Channel/utils/compareMessagesForGrouping.js +5 -5
- package/Channel/utils/getMessagePartsInfo.js +6 -6
- package/Channel.js +64 -64
- package/ChannelList/components/AddChannel.js +20 -20
- package/ChannelList/components/ChannelListHeader.js +8 -8
- package/ChannelList/components/ChannelListUI.js +34 -34
- package/ChannelList/components/ChannelPreview.js +27 -27
- package/ChannelList/components/ChannelPreviewAction.js +11 -11
- package/ChannelList/context.js +10 -10
- package/ChannelList.js +34 -34
- package/ChannelSettings/components/ChannelProfile.js +14 -14
- package/ChannelSettings/components/ChannelSettingsHeader.js +6 -6
- package/ChannelSettings/components/ChannelSettingsUI.js +23 -23
- package/ChannelSettings/components/EditDetailsModal.js +14 -14
- package/ChannelSettings/components/LeaveChannel.js +11 -11
- package/ChannelSettings/components/ModerationPanel.js +21 -21
- package/ChannelSettings/components/UserListItem.js +13 -13
- package/ChannelSettings/components/UserPanel.js +20 -20
- package/ChannelSettings/context.js +3 -3
- package/ChannelSettings.js +23 -23
- package/CreateChannel/components/CreateChannelUI.js +16 -16
- package/CreateChannel/components/InviteUsers.js +16 -16
- package/CreateChannel/components/SelectChannelType.js +10 -10
- package/CreateChannel/context.js +4 -4
- package/CreateChannel.js +16 -16
- package/CreateOpenChannel/components/CreateOpenChannelUI.js +11 -11
- package/CreateOpenChannel/context.js +1 -1
- package/CreateOpenChannel.js +11 -11
- package/EditUserProfile/components/EditUserProfileUI.js +12 -12
- package/EditUserProfile.js +12 -12
- package/GroupChannel/components/FileViewer.js +56 -27
- package/GroupChannel/components/FileViewer.js.map +1 -1
- package/GroupChannel/components/FrozenNotification.js +5 -5
- package/GroupChannel/components/GroupChannelHeader.js +22 -22
- package/GroupChannel/components/GroupChannelUI.js +58 -58
- package/GroupChannel/components/Message.js +52 -52
- package/GroupChannel/components/MessageInputWrapper.js +38 -38
- package/GroupChannel/components/MessageList.js +51 -51
- package/GroupChannel/components/RemoveMessageModal.js +22 -22
- package/GroupChannel/components/SuggestedMentionList.js +12 -12
- package/GroupChannel/components/TypingIndicator.js +6 -6
- package/GroupChannel/components/UnreadCount.js +7 -7
- package/GroupChannel/context.js +13 -13
- package/GroupChannel.js +58 -58
- package/GroupChannelList/components/AddGroupChannel.js +18 -18
- package/GroupChannelList/components/GroupChannelListHeader.js +8 -8
- package/GroupChannelList/components/GroupChannelListItem.js +24 -24
- package/GroupChannelList/components/GroupChannelListUI.js +33 -33
- package/GroupChannelList/components/GroupChannelPreviewAction.js +11 -11
- package/GroupChannelList/context.js +5 -5
- package/GroupChannelList.js +33 -33
- package/MessageSearch/components/MessageSearchUI.js +14 -14
- package/MessageSearch/context.js +1 -1
- package/MessageSearch.js +14 -14
- package/OpenChannel/components/FrozenChannelNotification.js +5 -5
- package/OpenChannel/components/OpenChannelHeader.js +18 -18
- package/OpenChannel/components/OpenChannelInput.js +25 -25
- package/OpenChannel/components/OpenChannelMessage.js +35 -35
- package/OpenChannel/components/OpenChannelMessageList.js +39 -39
- package/OpenChannel/components/OpenChannelUI.js +39 -39
- package/OpenChannel/context.js +17 -17
- package/OpenChannel.js +39 -39
- package/OpenChannelList/components/OpenChannelListUI.js +14 -14
- package/OpenChannelList/components/OpenChannelPreview.js +6 -6
- package/OpenChannelList/context.js +3 -3
- package/OpenChannelList.js +14 -14
- package/OpenChannelSettings/components/EditDetailsModal.js +15 -15
- package/OpenChannelSettings/components/OpenChannelProfile.js +15 -15
- package/OpenChannelSettings/components/OpenChannelSettingsUI.js +19 -19
- package/OpenChannelSettings/components/OperatorUI.js +19 -19
- package/OpenChannelSettings/components/ParticipantUI.js +17 -17
- package/OpenChannelSettings/context.js +3 -3
- package/OpenChannelSettings.js +19 -19
- package/SendbirdProvider.js +24 -48
- package/SendbirdProvider.js.map +1 -1
- package/Thread/components/ParentMessageInfo.js +75 -46
- package/Thread/components/ParentMessageInfo.js.map +1 -1
- package/Thread/components/ParentMessageInfoItem.js +73 -34
- package/Thread/components/ParentMessageInfoItem.js.map +1 -1
- package/Thread/components/ThreadHeader.js +7 -7
- package/Thread/components/ThreadList.js +46 -46
- package/Thread/components/ThreadListItem.js +109 -52
- package/Thread/components/ThreadListItem.js.map +1 -1
- package/Thread/components/ThreadMessageInput.js +42 -42
- package/Thread/components/ThreadUI.js +56 -56
- package/Thread/context.js +11 -10
- package/Thread/context.js.map +1 -1
- package/Thread.js +56 -56
- 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-2UMLs1R6.js → bundle-1ymLj4Og.js} +1 -1
- package/chunks/bundle-1ymLj4Og.js.map +1 -0
- package/chunks/{bundle-DzQcMztv.js → bundle-4a9M9y8N.js} +1 -1
- package/chunks/{bundle-DzQcMztv.js.map → bundle-4a9M9y8N.js.map} +1 -1
- package/chunks/{bundle-B9ZQfJSL.js → bundle-5HwGq_hd.js} +4 -4
- package/chunks/{bundle-B9ZQfJSL.js.map → bundle-5HwGq_hd.js.map} +1 -1
- package/chunks/{bundle-hAKR7PVp.js → bundle-B8HW06Fl.js} +1 -1
- package/chunks/bundle-B8HW06Fl.js.map +1 -0
- package/chunks/{bundle-D57EENOn.js → bundle-BAsn0CBE.js} +1 -1
- package/chunks/bundle-BAsn0CBE.js.map +1 -0
- package/chunks/{bundle-BRhZt2zf.js → bundle-BHOxoDJO.js} +1 -1
- package/chunks/{bundle-BRhZt2zf.js.map → bundle-BHOxoDJO.js.map} +1 -1
- package/chunks/{bundle-BgunHZ2y.js → bundle-BIvhXCoF.js} +1 -1
- package/chunks/bundle-BIvhXCoF.js.map +1 -0
- package/chunks/{bundle-BkTOcqVY.js → bundle-BMvaJoQA.js} +40 -9
- package/{cjs/chunks/bundle-B2QAlKH1.js.map → chunks/bundle-BMvaJoQA.js.map} +1 -1
- package/chunks/{bundle-TYwaKAYl.js → bundle-BOrV2z_R.js} +54 -52
- package/chunks/{bundle-TYwaKAYl.js.map → bundle-BOrV2z_R.js.map} +1 -1
- package/chunks/{bundle-BlSpe5qA.js → bundle-BVGlC_pg.js} +1 -1
- package/chunks/bundle-BVGlC_pg.js.map +1 -0
- package/chunks/{bundle-BV8WCwVA.js → bundle-BX0LQWqY.js} +3 -3
- package/chunks/bundle-BX0LQWqY.js.map +1 -0
- package/chunks/{bundle-DwRQcRou.js → bundle-BXpzbAbi.js} +3 -3
- package/chunks/bundle-BXpzbAbi.js.map +1 -0
- package/chunks/{bundle-5DiiOFi-.js → bundle-BkM4cdOJ.js} +9 -9
- package/chunks/bundle-BkM4cdOJ.js.map +1 -0
- package/chunks/{bundle-ugWtu0YZ.js → bundle-BlHQV-25.js} +1 -1
- package/chunks/bundle-BlHQV-25.js.map +1 -0
- package/chunks/{bundle-C-UZ_gr4.js → bundle-Bm_WZS3a.js} +2 -2
- package/chunks/{bundle-C-UZ_gr4.js.map → bundle-Bm_WZS3a.js.map} +1 -1
- package/chunks/{bundle-RJu3P_iQ.js → bundle-BntzGGYb.js} +1 -1
- package/chunks/bundle-BntzGGYb.js.map +1 -0
- package/chunks/{bundle-BpyUTLY3.js → bundle-BpDuHeEB.js} +4 -4
- package/chunks/bundle-BpDuHeEB.js.map +1 -0
- package/chunks/{bundle-CUBnQyTA.js → bundle-BxBdkxXV.js} +1 -1
- package/chunks/{bundle-CUBnQyTA.js.map → bundle-BxBdkxXV.js.map} +1 -1
- package/chunks/{bundle-QPbZ_XSR.js → bundle-C2vpr4DU.js} +3 -3
- package/chunks/{bundle-QPbZ_XSR.js.map → bundle-C2vpr4DU.js.map} +1 -1
- package/chunks/{bundle-C7SA85dp.js → bundle-C6ZXjQ1L.js} +1 -1
- package/chunks/bundle-C6ZXjQ1L.js.map +1 -0
- package/chunks/{bundle-Cgtk2LV4.js → bundle-C6fuKmVo.js} +4 -4
- package/chunks/bundle-C6fuKmVo.js.map +1 -0
- package/chunks/{bundle-CI0ovNa-.js → bundle-CAki7JUf.js} +1 -1
- package/chunks/bundle-CAki7JUf.js.map +1 -0
- package/chunks/{bundle-DdwjYXOX.js → bundle-CCUBCV04.js} +6 -6
- package/chunks/bundle-CCUBCV04.js.map +1 -0
- package/chunks/{bundle-C6MmX70M.js → bundle-CIO0N9hp.js} +1 -1
- package/chunks/bundle-CIO0N9hp.js.map +1 -0
- package/chunks/{bundle-BKPDTl9U.js → bundle-CIhbNReG.js} +3 -3
- package/chunks/bundle-CIhbNReG.js.map +1 -0
- package/chunks/{bundle-CU8x_Vlw.js → bundle-CJ9_QDKY.js} +1 -1
- package/chunks/bundle-CJ9_QDKY.js.map +1 -0
- package/chunks/{bundle-CHxXgtL2.js → bundle-CLqgMCvn.js} +1 -1
- package/chunks/bundle-CLqgMCvn.js.map +1 -0
- package/chunks/{bundle-C9WS75DY.js → bundle-CMKCY3ba.js} +3 -3
- package/chunks/{bundle-C9WS75DY.js.map → bundle-CMKCY3ba.js.map} +1 -1
- package/chunks/{bundle-D-OF1Dsr.js → bundle-COR7gPrO.js} +3 -3
- package/chunks/{bundle-D-OF1Dsr.js.map → bundle-COR7gPrO.js.map} +1 -1
- package/chunks/{bundle-mkC088ne.js → bundle-CP1hwfFC.js} +1 -1
- package/chunks/bundle-CP1hwfFC.js.map +1 -0
- package/chunks/{bundle-BNL2dgIA.js → bundle-CS4RK0T7.js} +8 -8
- package/chunks/{bundle-BNL2dgIA.js.map → bundle-CS4RK0T7.js.map} +1 -1
- package/chunks/{bundle-BdCGrzcY.js → bundle-CT3xDvIx.js} +1 -1
- package/chunks/bundle-CT3xDvIx.js.map +1 -0
- package/chunks/{bundle-4bxiD94h.js → bundle-CVDtzU3E.js} +1 -1
- package/chunks/{bundle-4bxiD94h.js.map → bundle-CVDtzU3E.js.map} +1 -1
- package/chunks/{bundle-Bm8gzDx1.js → bundle-CVFMpKJZ.js} +4 -4
- package/chunks/{bundle-Bm8gzDx1.js.map → bundle-CVFMpKJZ.js.map} +1 -1
- package/chunks/{bundle-CBIAPOPy.js → bundle-CYtZF1xr.js} +11 -11
- package/chunks/{bundle-CBIAPOPy.js.map → bundle-CYtZF1xr.js.map} +1 -1
- package/chunks/{bundle-2g0N2xdw.js → bundle-CZYvKysu.js} +1 -1
- package/chunks/bundle-CZYvKysu.js.map +1 -0
- package/chunks/{bundle-DPRlCjJt.js → bundle-CfZFWZM3.js} +3 -3
- package/chunks/bundle-CfZFWZM3.js.map +1 -0
- package/chunks/{bundle-Cm3yLDom.js → bundle-CilkBcv-.js} +2 -2
- package/chunks/bundle-CilkBcv-.js.map +1 -0
- package/chunks/{bundle-CtBgDIuq.js → bundle-CjW6ZQ1k.js} +10 -10
- package/chunks/{bundle-CtBgDIuq.js.map → bundle-CjW6ZQ1k.js.map} +1 -1
- package/chunks/{bundle-CXMfzdI7.js → bundle-CkInAxxb.js} +1 -1
- package/chunks/bundle-CkInAxxb.js.map +1 -0
- package/chunks/{bundle-CExm_LIL.js → bundle-CmdUup8N.js} +14 -14
- package/chunks/{bundle-CExm_LIL.js.map → bundle-CmdUup8N.js.map} +1 -1
- package/chunks/{bundle-C6387K33.js → bundle-Cvm8Ag45.js} +1 -1
- package/chunks/bundle-Cvm8Ag45.js.map +1 -0
- package/chunks/{bundle-Hl5CUM1x.js → bundle-D3OeBr-9.js} +1 -1
- package/chunks/bundle-D3OeBr-9.js.map +1 -0
- package/chunks/{bundle-CIHv_OFc.js → bundle-D45e30Hl.js} +4 -4
- package/chunks/bundle-D45e30Hl.js.map +1 -0
- package/chunks/{bundle-B1ObaBN3.js → bundle-D47WMGAq.js} +1 -1
- package/chunks/{bundle-B1ObaBN3.js.map → bundle-D47WMGAq.js.map} +1 -1
- package/chunks/{bundle-CcRuHA7i.js → bundle-D6kFzMhH.js} +5 -5
- package/chunks/{bundle-CcRuHA7i.js.map → bundle-D6kFzMhH.js.map} +1 -1
- package/chunks/{bundle-5rwlX4db.js → bundle-DBzkkIf1.js} +2 -2
- package/chunks/{bundle-5rwlX4db.js.map → bundle-DBzkkIf1.js.map} +1 -1
- package/chunks/{bundle-BZK5eiX2.js → bundle-DEqxoG9B.js} +1 -1
- package/chunks/bundle-DEqxoG9B.js.map +1 -0
- package/chunks/{bundle-D9xWky57.js → bundle-DHp0VTVS.js} +1 -1
- package/chunks/bundle-DHp0VTVS.js.map +1 -0
- package/chunks/{bundle-D1otjGeL.js → bundle-DI3fL4Xw.js} +3 -3
- package/chunks/{bundle-D1otjGeL.js.map → bundle-DI3fL4Xw.js.map} +1 -1
- package/chunks/{bundle-OTdL9cWR.js → bundle-DIEAFe_F.js} +2 -2
- package/chunks/bundle-DIEAFe_F.js.map +1 -0
- package/chunks/{bundle-x0WnpBed.js → bundle-DNq8IoOw.js} +7 -7
- package/chunks/{bundle-x0WnpBed.js.map → bundle-DNq8IoOw.js.map} +1 -1
- package/chunks/{bundle-BUHwsL2D.js → bundle-DPhbbRZE.js} +3 -3
- package/chunks/bundle-DPhbbRZE.js.map +1 -0
- package/chunks/{bundle-BqWBruLa.js → bundle-DQnpJfyk.js} +3 -3
- package/chunks/bundle-DQnpJfyk.js.map +1 -0
- package/chunks/{bundle-Clnr6ml_.js → bundle-DTywBX7q.js} +10 -10
- package/chunks/{bundle-Clnr6ml_.js.map → bundle-DTywBX7q.js.map} +1 -1
- package/chunks/{bundle-cWhfb441.js → bundle-DYJilNov.js} +1 -1
- package/chunks/bundle-DYJilNov.js.map +1 -0
- package/chunks/{bundle-DT8UMQCr.js → bundle-DaQK1Cox.js} +1 -1
- package/chunks/{bundle-DT8UMQCr.js.map → bundle-DaQK1Cox.js.map} +1 -1
- package/chunks/{bundle-_B5yFEP0.js → bundle-DavEbLba.js} +2 -2
- package/chunks/bundle-DavEbLba.js.map +1 -0
- package/chunks/{bundle-5E39Cv3A.js → bundle-Di7baNGv.js} +1 -1
- package/chunks/bundle-Di7baNGv.js.map +1 -0
- package/chunks/{bundle-DIy5BllY.js → bundle-Dj4HLKX0.js} +16 -16
- package/chunks/bundle-Dj4HLKX0.js.map +1 -0
- package/chunks/{bundle-B1v1xIP1.js → bundle-DlHudqve.js} +1 -1
- package/chunks/bundle-DlHudqve.js.map +1 -0
- package/chunks/{bundle-DtcJzbuk.js → bundle-DoJNLxY9.js} +1 -1
- package/chunks/bundle-DoJNLxY9.js.map +1 -0
- package/chunks/{bundle-C6ZHgzD6.js → bundle-DqNfXH8L.js} +2 -2
- package/chunks/bundle-DqNfXH8L.js.map +1 -0
- package/chunks/{bundle-Bb7wwF7C.js → bundle-Ds2X6Fjs.js} +10 -10
- package/chunks/bundle-Ds2X6Fjs.js.map +1 -0
- package/chunks/{bundle-B9Jpp9ee.js → bundle-DuNr1Njk.js} +1 -1
- package/chunks/bundle-DuNr1Njk.js.map +1 -0
- package/chunks/{bundle-D4TIkniH.js → bundle-DxdGwARh.js} +3 -3
- package/chunks/{bundle-D4TIkniH.js.map → bundle-DxdGwARh.js.map} +1 -1
- package/chunks/{bundle-BRedj7J7.js → bundle-Dypl_pLH.js} +2 -2
- package/chunks/{bundle-BRedj7J7.js.map → bundle-Dypl_pLH.js.map} +1 -1
- package/chunks/{bundle-BxmlG4s-.js → bundle-GRqvZZ2N.js} +3 -3
- package/chunks/bundle-GRqvZZ2N.js.map +1 -0
- package/chunks/{bundle-B3KaaIrh.js → bundle-HsrPpAtd.js} +2 -2
- package/chunks/{bundle-B3KaaIrh.js.map → bundle-HsrPpAtd.js.map} +1 -1
- package/chunks/{bundle-kO-Z-dxL.js → bundle-IuZ6uyzU.js} +1 -1
- package/chunks/bundle-IuZ6uyzU.js.map +1 -0
- package/chunks/{bundle-BEzsjrvw.js → bundle-SvqLmXeF.js} +6 -6
- package/chunks/bundle-SvqLmXeF.js.map +1 -0
- package/chunks/{bundle-Pw0Ofufv.js → bundle-VttuSapS.js} +10 -10
- package/chunks/{bundle-Pw0Ofufv.js.map → bundle-VttuSapS.js.map} +1 -1
- package/chunks/{bundle-BYdjor8f.js → bundle-WrvoTlHQ.js} +1 -1
- package/chunks/bundle-WrvoTlHQ.js.map +1 -0
- package/chunks/{bundle-Be2HIA26.js → bundle-aE9efllI.js} +2 -2
- package/chunks/bundle-aE9efllI.js.map +1 -0
- package/chunks/{bundle-DIhQqYC5.js → bundle-aJhoAKLH.js} +6 -6
- package/chunks/bundle-aJhoAKLH.js.map +1 -0
- package/chunks/{bundle-sQj5xACh.js → bundle-fvRtOX6P.js} +5 -5
- package/chunks/bundle-fvRtOX6P.js.map +1 -0
- package/chunks/{bundle-CNInpRIS.js → bundle-j5EP0k3D.js} +3 -3
- package/chunks/bundle-j5EP0k3D.js.map +1 -0
- package/chunks/{bundle-Bceke7Nk.js → bundle-jd7__XU_.js} +7 -7
- package/chunks/bundle-jd7__XU_.js.map +1 -0
- package/chunks/{bundle-Cb6tbPro.js → bundle-oLhQai93.js} +2 -2
- package/chunks/bundle-oLhQai93.js.map +1 -0
- package/chunks/{bundle-BIcgVVCw.js → bundle-rl7Rvf_6.js} +12 -11
- package/chunks/{bundle-BIcgVVCw.js.map → bundle-rl7Rvf_6.js.map} +1 -1
- package/chunks/{bundle-C-35JoOu.js → bundle-ts_i6oEg.js} +1 -1
- package/chunks/bundle-ts_i6oEg.js.map +1 -0
- package/chunks/{bundle-B_ah2kxT.js → bundle-yNfnN0a6.js} +1 -1
- package/chunks/bundle-yNfnN0a6.js.map +1 -0
- package/cjs/App.js +78 -78
- package/cjs/Channel/components/ChannelHeader.js +29 -29
- package/cjs/Channel/components/ChannelUI.js +64 -64
- package/cjs/Channel/components/FileViewer.js +28 -28
- package/cjs/Channel/components/FrozenNotification.js +5 -5
- package/cjs/Channel/components/Message.js +53 -53
- package/cjs/Channel/components/MessageFeedbackModal.js +9 -9
- package/cjs/Channel/components/MessageInput.js +41 -41
- package/cjs/Channel/components/MessageInputWrapper.js +41 -41
- package/cjs/Channel/components/MessageList.js +57 -57
- package/cjs/Channel/components/RemoveMessageModal.js +27 -27
- package/cjs/Channel/components/SuggestedMentionList.js +27 -27
- package/cjs/Channel/components/TypingIndicator.js +6 -6
- package/cjs/Channel/components/UnreadCount.js +7 -7
- package/cjs/Channel/context.js +19 -19
- package/cjs/Channel/hooks/useHandleUploadFiles.js +13 -13
- package/cjs/Channel/hooks/useInitialMessagesFetch.js +6 -6
- package/cjs/Channel/utils/compareMessagesForGrouping.js +5 -5
- package/cjs/Channel/utils/getMessagePartsInfo.js +6 -6
- package/cjs/Channel.js +64 -64
- package/cjs/ChannelList/components/AddChannel.js +20 -20
- package/cjs/ChannelList/components/ChannelListHeader.js +8 -8
- package/cjs/ChannelList/components/ChannelListUI.js +34 -34
- package/cjs/ChannelList/components/ChannelPreview.js +27 -27
- package/cjs/ChannelList/components/ChannelPreviewAction.js +11 -11
- package/cjs/ChannelList/context.js +10 -10
- package/cjs/ChannelList.js +34 -34
- package/cjs/ChannelSettings/components/ChannelProfile.js +14 -14
- package/cjs/ChannelSettings/components/ChannelSettingsHeader.js +6 -6
- package/cjs/ChannelSettings/components/ChannelSettingsUI.js +23 -23
- package/cjs/ChannelSettings/components/EditDetailsModal.js +14 -14
- package/cjs/ChannelSettings/components/LeaveChannel.js +11 -11
- package/cjs/ChannelSettings/components/ModerationPanel.js +21 -21
- package/cjs/ChannelSettings/components/UserListItem.js +13 -13
- package/cjs/ChannelSettings/components/UserPanel.js +20 -20
- package/cjs/ChannelSettings/context.js +3 -3
- package/cjs/ChannelSettings.js +23 -23
- package/cjs/CreateChannel/components/CreateChannelUI.js +16 -16
- package/cjs/CreateChannel/components/InviteUsers.js +16 -16
- package/cjs/CreateChannel/components/SelectChannelType.js +10 -10
- package/cjs/CreateChannel/context.js +4 -4
- package/cjs/CreateChannel.js +16 -16
- package/cjs/CreateOpenChannel/components/CreateOpenChannelUI.js +11 -11
- package/cjs/CreateOpenChannel/context.js +1 -1
- package/cjs/CreateOpenChannel.js +11 -11
- package/cjs/EditUserProfile/components/EditUserProfileUI.js +12 -12
- package/cjs/EditUserProfile.js +12 -12
- package/cjs/GroupChannel/components/FileViewer.js +56 -27
- package/cjs/GroupChannel/components/FileViewer.js.map +1 -1
- package/cjs/GroupChannel/components/FrozenNotification.js +5 -5
- package/cjs/GroupChannel/components/GroupChannelHeader.js +22 -22
- package/cjs/GroupChannel/components/GroupChannelUI.js +58 -58
- package/cjs/GroupChannel/components/Message.js +52 -52
- package/cjs/GroupChannel/components/MessageInputWrapper.js +37 -37
- package/cjs/GroupChannel/components/MessageList.js +51 -51
- package/cjs/GroupChannel/components/RemoveMessageModal.js +22 -22
- package/cjs/GroupChannel/components/SuggestedMentionList.js +12 -12
- package/cjs/GroupChannel/components/TypingIndicator.js +6 -6
- package/cjs/GroupChannel/components/UnreadCount.js +7 -7
- package/cjs/GroupChannel/context.js +13 -13
- package/cjs/GroupChannel.js +58 -58
- package/cjs/GroupChannelList/components/AddGroupChannel.js +18 -18
- package/cjs/GroupChannelList/components/GroupChannelListHeader.js +8 -8
- package/cjs/GroupChannelList/components/GroupChannelListItem.js +24 -24
- package/cjs/GroupChannelList/components/GroupChannelListUI.js +33 -33
- package/cjs/GroupChannelList/components/GroupChannelPreviewAction.js +11 -11
- package/cjs/GroupChannelList/context.js +5 -5
- package/cjs/GroupChannelList.js +33 -33
- package/cjs/MessageSearch/components/MessageSearchUI.js +14 -14
- package/cjs/MessageSearch/context.js +1 -1
- package/cjs/MessageSearch.js +14 -14
- package/cjs/OpenChannel/components/FrozenChannelNotification.js +5 -5
- package/cjs/OpenChannel/components/OpenChannelHeader.js +18 -18
- package/cjs/OpenChannel/components/OpenChannelInput.js +25 -25
- package/cjs/OpenChannel/components/OpenChannelMessage.js +35 -35
- package/cjs/OpenChannel/components/OpenChannelMessageList.js +39 -39
- package/cjs/OpenChannel/components/OpenChannelUI.js +39 -39
- package/cjs/OpenChannel/context.js +17 -17
- package/cjs/OpenChannel.js +39 -39
- package/cjs/OpenChannelList/components/OpenChannelListUI.js +14 -14
- package/cjs/OpenChannelList/components/OpenChannelPreview.js +6 -6
- package/cjs/OpenChannelList/context.js +3 -3
- package/cjs/OpenChannelList.js +14 -14
- package/cjs/OpenChannelSettings/components/EditDetailsModal.js +15 -15
- package/cjs/OpenChannelSettings/components/OpenChannelProfile.js +15 -15
- package/cjs/OpenChannelSettings/components/OpenChannelSettingsUI.js +19 -19
- package/cjs/OpenChannelSettings/components/OperatorUI.js +19 -19
- package/cjs/OpenChannelSettings/components/ParticipantUI.js +17 -17
- package/cjs/OpenChannelSettings/context.js +3 -3
- package/cjs/OpenChannelSettings.js +19 -19
- package/cjs/SendbirdProvider.js +24 -48
- package/cjs/SendbirdProvider.js.map +1 -1
- package/cjs/Thread/components/ParentMessageInfo.js +75 -46
- package/cjs/Thread/components/ParentMessageInfo.js.map +1 -1
- package/cjs/Thread/components/ParentMessageInfoItem.js +73 -34
- package/cjs/Thread/components/ParentMessageInfoItem.js.map +1 -1
- package/cjs/Thread/components/ThreadHeader.js +7 -7
- package/cjs/Thread/components/ThreadList.js +46 -46
- package/cjs/Thread/components/ThreadListItem.js +109 -52
- package/cjs/Thread/components/ThreadListItem.js.map +1 -1
- package/cjs/Thread/components/ThreadMessageInput.js +42 -42
- package/cjs/Thread/components/ThreadUI.js +56 -56
- package/cjs/Thread/context.js +11 -10
- package/cjs/Thread/context.js.map +1 -1
- package/cjs/Thread.js +56 -56
- 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-CD82WkIi.js → bundle-1FXPxsfD.js} +1 -1
- package/cjs/chunks/bundle-1FXPxsfD.js.map +1 -0
- package/cjs/chunks/{bundle-nu9oFcYy.js → bundle-2ATovRxE.js} +4 -4
- package/cjs/chunks/bundle-2ATovRxE.js.map +1 -0
- package/cjs/chunks/{bundle-Cwr1hx-z.js → bundle-8uCH3epo.js} +11 -11
- package/cjs/chunks/{bundle-Cwr1hx-z.js.map → bundle-8uCH3epo.js.map} +1 -1
- package/cjs/chunks/{bundle-BgCtP7V4.js → bundle-B-njjZtk.js} +3 -3
- package/cjs/chunks/bundle-B-njjZtk.js.map +1 -0
- package/cjs/chunks/{bundle-BC16qA15.js → bundle-B3Lu20wG.js} +1 -1
- package/cjs/chunks/bundle-B3Lu20wG.js.map +1 -0
- package/cjs/chunks/{bundle-CWXfgOJy.js → bundle-B6FFmfTl.js} +2 -2
- package/cjs/chunks/bundle-B6FFmfTl.js.map +1 -0
- package/cjs/chunks/{bundle-BbpNwwR8.js → bundle-B7TedQKS.js} +2 -2
- package/cjs/chunks/bundle-B7TedQKS.js.map +1 -0
- package/cjs/chunks/{bundle-DWp3JSCd.js → bundle-BBS4PSSm.js} +1 -1
- package/cjs/chunks/bundle-BBS4PSSm.js.map +1 -0
- package/cjs/chunks/{bundle-WCt_Po-w.js → bundle-BBdLSx_x.js} +3 -3
- package/cjs/chunks/{bundle-WCt_Po-w.js.map → bundle-BBdLSx_x.js.map} +1 -1
- package/cjs/chunks/{bundle-DTcE7Dci.js → bundle-BElidCBa.js} +9 -9
- package/cjs/chunks/bundle-BElidCBa.js.map +1 -0
- package/cjs/chunks/{bundle-D8ubAia5.js → bundle-BJD09510.js} +6 -6
- package/cjs/chunks/bundle-BJD09510.js.map +1 -0
- package/cjs/chunks/{bundle-DF3rT3ak.js → bundle-BJjQQMo0.js} +4 -4
- package/cjs/chunks/bundle-BJjQQMo0.js.map +1 -0
- package/cjs/chunks/{bundle-BkYT_Hch.js → bundle-BNCNRHux.js} +3 -3
- package/cjs/chunks/bundle-BNCNRHux.js.map +1 -0
- package/cjs/chunks/{bundle-D1EDPlQX.js → bundle-BO1-msX2.js} +1 -1
- package/cjs/chunks/bundle-BO1-msX2.js.map +1 -0
- package/cjs/chunks/{bundle-7Mbs7JEn.js → bundle-BSLZ5pEu.js} +3 -3
- package/cjs/chunks/bundle-BSLZ5pEu.js.map +1 -0
- package/cjs/chunks/{bundle-CjWn0S2s.js → bundle-BXEAjuTY.js} +1 -1
- package/cjs/chunks/bundle-BXEAjuTY.js.map +1 -0
- package/cjs/chunks/{bundle-C4s5Xn-0.js → bundle-BXQqL0gU.js} +1 -1
- package/cjs/chunks/bundle-BXQqL0gU.js.map +1 -0
- package/cjs/chunks/{bundle-3-9K7DVM.js → bundle-B_BPxhrG.js} +6 -6
- package/cjs/chunks/bundle-B_BPxhrG.js.map +1 -0
- package/cjs/chunks/{bundle-BQtI4UIy.js → bundle-Bc6y_vRE.js} +1 -1
- package/cjs/chunks/bundle-Bc6y_vRE.js.map +1 -0
- package/cjs/chunks/{bundle-CEMPv2S1.js → bundle-BiEQOJHh.js} +1 -1
- package/cjs/chunks/bundle-BiEQOJHh.js.map +1 -0
- package/cjs/chunks/{bundle-FLujzEX2.js → bundle-BnTCpa1X.js} +12 -11
- package/cjs/chunks/bundle-BnTCpa1X.js.map +1 -0
- package/cjs/chunks/{bundle-DIvM3-on.js → bundle-Bpm6PJIl.js} +7 -7
- package/cjs/chunks/bundle-Bpm6PJIl.js.map +1 -0
- package/cjs/chunks/{bundle-UDIPXpOV.js → bundle-BpwSTA3F.js} +1 -1
- package/cjs/chunks/bundle-BpwSTA3F.js.map +1 -0
- package/cjs/chunks/{bundle-BcZEQhhq.js → bundle-BzBRoraS.js} +1 -1
- package/cjs/chunks/bundle-BzBRoraS.js.map +1 -0
- package/cjs/chunks/{bundle-Ud8W92re.js → bundle-C1j0QNr3.js} +5 -5
- package/cjs/chunks/bundle-C1j0QNr3.js.map +1 -0
- package/cjs/chunks/{bundle-Drfn-tNj.js → bundle-C36gEKFp.js} +2 -2
- package/cjs/chunks/bundle-C36gEKFp.js.map +1 -0
- package/cjs/chunks/{bundle-CaUIrp6R.js → bundle-CAyt7i0X.js} +1 -1
- package/cjs/chunks/bundle-CAyt7i0X.js.map +1 -0
- package/cjs/chunks/{bundle-Cn_c8gj0.js → bundle-CEcY1I0M.js} +8 -8
- package/cjs/chunks/{bundle-Cn_c8gj0.js.map → bundle-CEcY1I0M.js.map} +1 -1
- package/cjs/chunks/{bundle-CyopFRXm.js → bundle-CEiDcA9X.js} +1 -1
- package/cjs/chunks/{bundle-CyopFRXm.js.map → bundle-CEiDcA9X.js.map} +1 -1
- package/cjs/chunks/{bundle-qJ5-0bqN.js → bundle-CKC-b4Bw.js} +3 -3
- package/cjs/chunks/bundle-CKC-b4Bw.js.map +1 -0
- package/cjs/chunks/{bundle-WZOflhxA.js → bundle-CN0vR-TH.js} +2 -2
- package/cjs/chunks/{bundle-WZOflhxA.js.map → bundle-CN0vR-TH.js.map} +1 -1
- package/cjs/chunks/{bundle-CkG1F8lG.js → bundle-CQiNKK2y.js} +2 -2
- package/cjs/chunks/bundle-CQiNKK2y.js.map +1 -0
- package/cjs/chunks/{bundle-Dj0eVVGW.js → bundle-CXDp72cg.js} +10 -10
- package/cjs/chunks/bundle-CXDp72cg.js.map +1 -0
- package/cjs/chunks/{bundle-BYp2_-p_.js → bundle-CXaKbxhR.js} +40 -9
- package/cjs/chunks/bundle-CXaKbxhR.js.map +1 -0
- package/cjs/chunks/{bundle-CJ87J3R1.js → bundle-CbATYgnP.js} +3 -3
- package/cjs/chunks/bundle-CbATYgnP.js.map +1 -0
- package/cjs/chunks/{bundle-RH9DajrH.js → bundle-CfEubbCT.js} +2 -2
- package/cjs/chunks/bundle-CfEubbCT.js.map +1 -0
- package/cjs/chunks/{bundle-CfYRwgks.js → bundle-CfRX00vQ.js} +1 -1
- package/cjs/chunks/bundle-CfRX00vQ.js.map +1 -0
- package/cjs/chunks/{bundle-BTsTFHLV.js → bundle-ChQ3Q-GS.js} +7 -7
- package/cjs/chunks/bundle-ChQ3Q-GS.js.map +1 -0
- package/cjs/chunks/{bundle-UJc1wb2l.js → bundle-CncTMWLv.js} +10 -10
- package/cjs/chunks/{bundle-UJc1wb2l.js.map → bundle-CncTMWLv.js.map} +1 -1
- package/cjs/chunks/{bundle-B2QAlKH1.js → bundle-CoTIkHcU.js} +4 -4
- package/cjs/chunks/bundle-CoTIkHcU.js.map +1 -0
- package/cjs/chunks/{bundle-Bln5Elhn.js → bundle-CqTg15Dn.js} +1 -1
- package/cjs/chunks/bundle-CqTg15Dn.js.map +1 -0
- package/cjs/chunks/{bundle-D_4vATFJ.js → bundle-D1mv8BUm.js} +1 -1
- package/cjs/chunks/bundle-D1mv8BUm.js.map +1 -0
- package/cjs/chunks/{bundle-CwGDa8mu.js → bundle-DIfKPcm_.js} +1 -1
- package/cjs/chunks/bundle-DIfKPcm_.js.map +1 -0
- package/cjs/chunks/{bundle-D9rC4yPj.js → bundle-DKspFBdx.js} +1 -1
- package/cjs/chunks/bundle-DKspFBdx.js.map +1 -0
- package/cjs/chunks/{bundle-D-izgOCe.js → bundle-DOmB6XkC.js} +54 -52
- package/cjs/chunks/bundle-DOmB6XkC.js.map +1 -0
- package/cjs/chunks/{bundle--Ti8q5z8.js → bundle-DRT94QO5.js} +4 -4
- package/cjs/chunks/bundle-DRT94QO5.js.map +1 -0
- package/cjs/chunks/{bundle-BfzgaLQx.js → bundle-D_RomXCz.js} +1 -1
- package/cjs/chunks/bundle-D_RomXCz.js.map +1 -0
- package/cjs/chunks/{bundle-B-wprLUV.js → bundle-D_qbYkHk.js} +1 -1
- package/cjs/chunks/{bundle-B-wprLUV.js.map → bundle-D_qbYkHk.js.map} +1 -1
- package/cjs/chunks/{bundle-DgX9o5Mt.js → bundle-DcVYwXP-.js} +1 -1
- package/cjs/chunks/bundle-DcVYwXP-.js.map +1 -0
- package/cjs/chunks/{bundle-KR9lSala.js → bundle-DdS-jEnE.js} +3 -3
- package/cjs/chunks/bundle-DdS-jEnE.js.map +1 -0
- package/cjs/chunks/{bundle-XCOUGtdD.js → bundle-DeOn9o6F.js} +3 -3
- package/cjs/chunks/bundle-DeOn9o6F.js.map +1 -0
- package/cjs/chunks/{bundle-C11HvpZq.js → bundle-DiER49ZF.js} +1 -1
- package/cjs/chunks/bundle-DiER49ZF.js.map +1 -0
- package/cjs/chunks/{bundle-VqK6Sgiy.js → bundle-DkGYX29W.js} +3 -3
- package/cjs/chunks/bundle-DkGYX29W.js.map +1 -0
- package/cjs/chunks/{bundle-C2yYR5hZ.js → bundle-Dm7xuKwW.js} +10 -10
- package/cjs/chunks/{bundle-C2yYR5hZ.js.map → bundle-Dm7xuKwW.js.map} +1 -1
- package/cjs/chunks/{bundle-BcQPY3B6.js → bundle-DmPl_3ye.js} +2 -2
- package/cjs/chunks/bundle-DmPl_3ye.js.map +1 -0
- package/cjs/chunks/{bundle-DnF-KuhG.js → bundle-DsDhHgmF.js} +2 -2
- package/cjs/chunks/bundle-DsDhHgmF.js.map +1 -0
- package/cjs/chunks/{bundle-DLg-6Upp.js → bundle-DskQULoR.js} +2 -2
- package/cjs/chunks/{bundle-DLg-6Upp.js.map → bundle-DskQULoR.js.map} +1 -1
- package/cjs/chunks/{bundle-gSaGPkzz.js → bundle-DtroGUKx.js} +3 -3
- package/cjs/chunks/{bundle-gSaGPkzz.js.map → bundle-DtroGUKx.js.map} +1 -1
- package/cjs/chunks/{bundle-DG1IpvjA.js → bundle-DuHJq3hs.js} +16 -16
- package/cjs/chunks/bundle-DuHJq3hs.js.map +1 -0
- package/cjs/chunks/{bundle-BEQWEQgH.js → bundle-DvduWWQk.js} +3 -3
- package/cjs/chunks/bundle-DvduWWQk.js.map +1 -0
- package/cjs/chunks/{bundle-Dj2Oa2F6.js → bundle-HOuE7syZ.js} +1 -1
- package/cjs/chunks/{bundle-Dj2Oa2F6.js.map → bundle-HOuE7syZ.js.map} +1 -1
- package/cjs/chunks/{bundle-CxuGQxaT.js → bundle-HXyGAP9T.js} +1 -1
- package/cjs/chunks/bundle-HXyGAP9T.js.map +1 -0
- package/cjs/chunks/{bundle-DA7uhOAM.js → bundle-IVxSH9N4.js} +1 -1
- package/cjs/chunks/bundle-IVxSH9N4.js.map +1 -0
- package/cjs/chunks/{bundle-BruXgSj3.js → bundle-P5AI1HkP.js} +1 -1
- package/cjs/chunks/bundle-P5AI1HkP.js.map +1 -0
- package/cjs/chunks/{bundle-Dp2kRPpd.js → bundle-QSgOdsGM.js} +1 -1
- package/cjs/chunks/bundle-QSgOdsGM.js.map +1 -0
- package/cjs/chunks/{bundle-B_CGu6U0.js → bundle-QsOyTCMH.js} +5 -5
- package/cjs/chunks/{bundle-B_CGu6U0.js.map → bundle-QsOyTCMH.js.map} +1 -1
- package/cjs/chunks/{bundle-BO2p70mH.js → bundle-S09sS9Ub.js} +1 -1
- package/cjs/chunks/bundle-S09sS9Ub.js.map +1 -0
- package/cjs/chunks/{bundle-DLgX_uIA.js → bundle-Tx6vw4BY.js} +3 -3
- package/cjs/chunks/{bundle-DLgX_uIA.js.map → bundle-Tx6vw4BY.js.map} +1 -1
- package/cjs/chunks/{bundle-DqysFYzQ.js → bundle-VIGS3UfE.js} +2 -2
- package/cjs/chunks/bundle-VIGS3UfE.js.map +1 -0
- package/cjs/chunks/{bundle-CHVN5sv2.js → bundle-Vn-fJ6dU.js} +4 -4
- package/cjs/chunks/{bundle-CHVN5sv2.js.map → bundle-Vn-fJ6dU.js.map} +1 -1
- package/cjs/chunks/{bundle-xaau8Z4q.js → bundle-YUHup5bR.js} +1 -1
- package/cjs/chunks/bundle-YUHup5bR.js.map +1 -0
- package/cjs/chunks/{bundle-CHI5iCph.js → bundle-_D9xt-bK.js} +1 -1
- package/cjs/chunks/bundle-_D9xt-bK.js.map +1 -0
- package/cjs/chunks/{bundle-JKeFsVQp.js → bundle-d3t3a2vc.js} +1 -1
- package/cjs/chunks/bundle-d3t3a2vc.js.map +1 -0
- package/cjs/chunks/{bundle-BodKdXyG.js → bundle-knUfDzC9.js} +14 -14
- package/cjs/chunks/{bundle-BodKdXyG.js.map → bundle-knUfDzC9.js.map} +1 -1
- package/cjs/chunks/{bundle-DwpBeRp2.js → bundle-kzleXCM7.js} +6 -6
- package/cjs/chunks/bundle-kzleXCM7.js.map +1 -0
- package/cjs/chunks/{bundle-CEN95Xmn.js → bundle-p3gZAjMS.js} +1 -1
- package/cjs/chunks/bundle-p3gZAjMS.js.map +1 -0
- package/cjs/chunks/{bundle-BxER_OfA.js → bundle-pVDX6G_q.js} +3 -3
- package/cjs/chunks/bundle-pVDX6G_q.js.map +1 -0
- package/cjs/chunks/{bundle-CGBPEEGS.js → bundle-prE7SKQr.js} +1 -1
- package/cjs/chunks/{bundle-CGBPEEGS.js.map → bundle-prE7SKQr.js.map} +1 -1
- package/cjs/chunks/{bundle-Dwy0Hf3u.js → bundle-r8oxykjl.js} +10 -10
- package/cjs/chunks/bundle-r8oxykjl.js.map +1 -0
- package/cjs/chunks/{bundle-DQM5RZ7p.js → bundle-tbYf0yOX.js} +1 -1
- package/cjs/chunks/bundle-tbYf0yOX.js.map +1 -0
- package/cjs/chunks/{bundle-CTjNx2bJ.js → bundle-urLzDFXK.js} +1 -1
- package/cjs/chunks/bundle-urLzDFXK.js.map +1 -0
- package/cjs/chunks/{bundle-udIHWjxi.js → bundle-vxdq428L.js} +1 -1
- package/cjs/chunks/bundle-vxdq428L.js.map +1 -0
- package/cjs/hooks/useModal.js +9 -9
- package/cjs/index.js +82 -82
- 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 +4 -4
- package/cjs/ui/Badge.js +5 -5
- package/cjs/ui/BottomSheet.js +9 -9
- package/cjs/ui/Button.js +3 -3
- package/cjs/ui/ChannelAvatar.js +5 -5
- package/cjs/ui/ConnectionStatus.js +6 -6
- package/cjs/ui/ContextMenu.js +6 -6
- package/cjs/ui/DateSeparator.js +4 -4
- package/cjs/ui/EmojiReactions.js +16 -16
- package/cjs/ui/FallbackTemplateMessageItemBody.tsx.js +7 -7
- package/cjs/ui/FileMessageItemBody.js +50 -12
- package/cjs/ui/FileMessageItemBody.js.map +1 -1
- package/cjs/ui/FileViewer.js +15 -15
- package/cjs/ui/Icon.js +2 -2
- package/cjs/ui/IconButton.js +1 -1
- package/cjs/ui/ImageRenderer.js +2 -2
- package/cjs/ui/Input.js +3 -3
- package/cjs/ui/Label.js +3 -3
- package/cjs/ui/LinkLabel.js +3 -3
- package/cjs/ui/Loader.js +2 -2
- package/cjs/ui/LoadingTemplateMessageItemBody.tsx.js +4 -4
- package/cjs/ui/MentionLabel.js +13 -13
- package/cjs/ui/MentionUserLabel.js +1 -1
- package/cjs/ui/MessageContent.js +69 -39
- package/cjs/ui/MessageContent.js.map +1 -1
- package/cjs/ui/MessageInput/hooks/usePaste.js +7 -7
- package/cjs/ui/MessageInput.js +15 -15
- package/cjs/ui/MessageItemMenu.js +63 -26
- package/cjs/ui/MessageItemMenu.js.map +1 -1
- package/cjs/ui/MessageItemReactionMenu.js +9 -9
- package/cjs/ui/MessageSearchFileItem.js +14 -14
- package/cjs/ui/MessageSearchItem.js +11 -11
- package/cjs/ui/MessageStatus.js +12 -12
- package/cjs/ui/MessageTemplate.js +1 -1
- package/cjs/ui/MobileFeedbackMenu.js +9 -9
- 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 +8 -8
- package/cjs/ui/OpenchannelConversationHeader.js +8 -8
- package/cjs/ui/OpenchannelFileMessage.js +18 -18
- package/cjs/ui/OpenchannelOGMessage.js +20 -20
- package/cjs/ui/OpenchannelThumbnailMessage.js +17 -17
- package/cjs/ui/OpenchannelUserMessage.js +18 -18
- package/cjs/ui/PlaceHolder.js +6 -6
- package/cjs/ui/PlaybackTime.js +3 -3
- package/cjs/ui/QuoteMessage.js +9 -9
- package/cjs/ui/QuoteMessageInput.js +9 -9
- package/cjs/ui/ReactionBadge.js +3 -3
- package/cjs/ui/ReactionButton.js +4 -4
- package/cjs/ui/SortByRow.js +2 -2
- package/cjs/ui/TemplateMessageItemBody.js +43 -17
- package/cjs/ui/TemplateMessageItemBody.js.map +1 -1
- package/cjs/ui/TextButton.js +2 -2
- package/cjs/ui/TextMessageItemBody.js +16 -16
- package/cjs/ui/ThreadReplies.js +8 -8
- package/cjs/ui/ThumbnailMessageItemBody.js +7 -7
- 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 +4 -4
- package/cjs/ui/UnknownMessageItemBody.js +7 -7
- package/cjs/ui/UserListItem.js +16 -15
- package/cjs/ui/UserListItem.js.map +1 -1
- package/cjs/ui/UserProfile.js +10 -10
- package/cjs/ui/VoiceMessageInput.js +9 -9
- package/cjs/ui/VoiceMessageItemBody.js +10 -10
- package/cjs/ui/Word.js +13 -13
- package/cjs/useSendbirdStateContext.js +1 -1
- package/cjs/utils/message/isVoiceMessage.js +3 -3
- package/cjs/withSendbird.js +1 -1
- package/dist/index.css +93 -91
- package/dist/index.css.map +1 -1
- package/hooks/useModal.js +10 -10
- package/index.js +82 -82
- package/package.json +1 -1
- package/pubSub/topics.js +1 -1
- package/sendbirdSelectors.js +2 -2
- package/types/modules/GroupChannel/components/FileViewer/FileViewerView.d.ts +5 -3
- package/types/modules/GroupChannel/components/Message/MessageView.d.ts +6 -0
- package/types/modules/GroupChannel/context/GroupChannelProvider.d.ts +6 -1
- package/types/modules/Thread/components/ParentMessageInfo/ParentMessageInfoItem.d.ts +3 -1
- package/types/modules/Thread/context/ThreadProvider.d.ts +2 -0
- package/types/ui/FileMessageItemBody/index.d.ts +3 -1
- package/types/ui/FileViewer/index.d.ts +2 -1
- package/types/ui/FileViewer/types.d.ts +4 -2
- package/types/ui/MessageContent/MessageBody/index.d.ts +2 -0
- package/types/ui/MessageContent/index.d.ts +2 -0
- package/types/ui/MessageItemMenu/index.d.ts +10 -2
- package/types/ui/MessageTemplate/messageTemplateErrorBoundary.d.ts +19 -0
- package/types/ui/MobileMenu/types.d.ts +2 -1
- package/types/ui/MultipleFilesMessageItemBody/index.d.ts +3 -1
- package/types/ui/UserListItem/index.d.ts +2 -1
- package/ui/Accordion.js +3 -3
- package/ui/AccordionGroup.js +2 -2
- package/ui/AdminMessage.js +3 -3
- package/ui/Avatar.js +4 -4
- package/ui/Badge.js +5 -5
- package/ui/BottomSheet.js +9 -9
- package/ui/Button.js +3 -3
- package/ui/ChannelAvatar.js +5 -5
- package/ui/ConnectionStatus.js +6 -6
- package/ui/ContextMenu.js +6 -6
- package/ui/DateSeparator.js +4 -4
- package/ui/EmojiReactions.js +16 -16
- package/ui/FallbackTemplateMessageItemBody.tsx.js +7 -7
- package/ui/FileMessageItemBody.js +50 -12
- package/ui/FileMessageItemBody.js.map +1 -1
- package/ui/FileViewer.js +15 -15
- package/ui/Icon.js +2 -2
- package/ui/IconButton.js +1 -1
- package/ui/ImageRenderer.js +2 -2
- package/ui/Input.js +3 -3
- package/ui/Label.js +3 -3
- package/ui/LinkLabel.js +3 -3
- package/ui/Loader.js +2 -2
- package/ui/LoadingTemplateMessageItemBody.tsx.js +4 -4
- package/ui/MentionLabel.js +13 -13
- package/ui/MentionUserLabel.js +1 -1
- package/ui/MessageContent.js +69 -39
- package/ui/MessageContent.js.map +1 -1
- package/ui/MessageInput/hooks/usePaste.js +7 -7
- package/ui/MessageInput.js +15 -15
- package/ui/MessageItemMenu.js +63 -26
- package/ui/MessageItemMenu.js.map +1 -1
- package/ui/MessageItemReactionMenu.js +9 -9
- package/ui/MessageSearchFileItem.js +14 -14
- package/ui/MessageSearchItem.js +11 -11
- package/ui/MessageStatus.js +12 -12
- package/ui/MessageTemplate.js +1 -1
- package/ui/MobileFeedbackMenu.js +9 -9
- 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 +8 -8
- package/ui/OpenchannelConversationHeader.js +8 -8
- package/ui/OpenchannelFileMessage.js +18 -18
- package/ui/OpenchannelOGMessage.js +20 -20
- package/ui/OpenchannelThumbnailMessage.js +17 -17
- package/ui/OpenchannelUserMessage.js +18 -18
- package/ui/PlaceHolder.js +6 -6
- package/ui/PlaybackTime.js +3 -3
- package/ui/QuoteMessage.js +9 -9
- package/ui/QuoteMessageInput.js +9 -9
- package/ui/ReactionBadge.js +3 -3
- package/ui/ReactionButton.js +4 -4
- package/ui/SortByRow.js +2 -2
- package/ui/TemplateMessageItemBody.js +44 -18
- package/ui/TemplateMessageItemBody.js.map +1 -1
- package/ui/TextButton.js +2 -2
- package/ui/TextMessageItemBody.js +16 -16
- package/ui/ThreadReplies.js +8 -8
- package/ui/ThumbnailMessageItemBody.js +7 -7
- package/ui/Toggle.js +1 -1
- package/ui/Tooltip.js +3 -3
- package/ui/TooltipWrapper.js +1 -1
- package/ui/TypingIndicatorBubble.js +4 -4
- package/ui/UnknownMessageItemBody.js +7 -7
- package/ui/UserListItem.js +16 -15
- package/ui/UserListItem.js.map +1 -1
- package/ui/UserProfile.js +10 -10
- package/ui/VoiceMessageInput.js +9 -9
- package/ui/VoiceMessageItemBody.js +10 -10
- package/ui/Word.js +13 -13
- package/useSendbirdStateContext.js +1 -1
- package/utils/message/isVoiceMessage.js +3 -3
- package/withSendbird.js +1 -1
- package/chunks/bundle-2UMLs1R6.js.map +0 -1
- package/chunks/bundle-2g0N2xdw.js.map +0 -1
- package/chunks/bundle-5DiiOFi-.js.map +0 -1
- package/chunks/bundle-5E39Cv3A.js.map +0 -1
- package/chunks/bundle-B1v1xIP1.js.map +0 -1
- package/chunks/bundle-B9Jpp9ee.js.map +0 -1
- package/chunks/bundle-BEzsjrvw.js.map +0 -1
- package/chunks/bundle-BKPDTl9U.js.map +0 -1
- package/chunks/bundle-BUHwsL2D.js.map +0 -1
- package/chunks/bundle-BV8WCwVA.js.map +0 -1
- package/chunks/bundle-BYdjor8f.js.map +0 -1
- package/chunks/bundle-BZK5eiX2.js.map +0 -1
- package/chunks/bundle-B_ah2kxT.js.map +0 -1
- package/chunks/bundle-Bb7wwF7C.js.map +0 -1
- package/chunks/bundle-Bceke7Nk.js.map +0 -1
- package/chunks/bundle-BdCGrzcY.js.map +0 -1
- package/chunks/bundle-Be2HIA26.js.map +0 -1
- package/chunks/bundle-BgunHZ2y.js.map +0 -1
- package/chunks/bundle-BkTOcqVY.js.map +0 -1
- package/chunks/bundle-BlSpe5qA.js.map +0 -1
- package/chunks/bundle-BpyUTLY3.js.map +0 -1
- package/chunks/bundle-BqWBruLa.js.map +0 -1
- package/chunks/bundle-BxmlG4s-.js.map +0 -1
- package/chunks/bundle-C-35JoOu.js.map +0 -1
- package/chunks/bundle-C6387K33.js.map +0 -1
- package/chunks/bundle-C6MmX70M.js.map +0 -1
- package/chunks/bundle-C6ZHgzD6.js.map +0 -1
- package/chunks/bundle-C7SA85dp.js.map +0 -1
- package/chunks/bundle-CHxXgtL2.js.map +0 -1
- package/chunks/bundle-CI0ovNa-.js.map +0 -1
- package/chunks/bundle-CIHv_OFc.js.map +0 -1
- package/chunks/bundle-CNInpRIS.js.map +0 -1
- package/chunks/bundle-CU8x_Vlw.js.map +0 -1
- package/chunks/bundle-CXMfzdI7.js.map +0 -1
- package/chunks/bundle-Cb6tbPro.js.map +0 -1
- package/chunks/bundle-Cgtk2LV4.js.map +0 -1
- package/chunks/bundle-Cm3yLDom.js.map +0 -1
- package/chunks/bundle-D57EENOn.js.map +0 -1
- package/chunks/bundle-D9xWky57.js.map +0 -1
- package/chunks/bundle-DIhQqYC5.js.map +0 -1
- package/chunks/bundle-DIy5BllY.js.map +0 -1
- package/chunks/bundle-DPRlCjJt.js.map +0 -1
- package/chunks/bundle-DdwjYXOX.js.map +0 -1
- package/chunks/bundle-DtcJzbuk.js.map +0 -1
- package/chunks/bundle-DwRQcRou.js.map +0 -1
- package/chunks/bundle-Hl5CUM1x.js.map +0 -1
- package/chunks/bundle-OTdL9cWR.js.map +0 -1
- package/chunks/bundle-RJu3P_iQ.js.map +0 -1
- package/chunks/bundle-_B5yFEP0.js.map +0 -1
- package/chunks/bundle-cWhfb441.js.map +0 -1
- package/chunks/bundle-hAKR7PVp.js.map +0 -1
- package/chunks/bundle-kO-Z-dxL.js.map +0 -1
- package/chunks/bundle-mkC088ne.js.map +0 -1
- package/chunks/bundle-sQj5xACh.js.map +0 -1
- package/chunks/bundle-ugWtu0YZ.js.map +0 -1
- package/cjs/chunks/bundle--Ti8q5z8.js.map +0 -1
- package/cjs/chunks/bundle-3-9K7DVM.js.map +0 -1
- package/cjs/chunks/bundle-7Mbs7JEn.js.map +0 -1
- package/cjs/chunks/bundle-BC16qA15.js.map +0 -1
- package/cjs/chunks/bundle-BEQWEQgH.js.map +0 -1
- package/cjs/chunks/bundle-BO2p70mH.js.map +0 -1
- package/cjs/chunks/bundle-BQtI4UIy.js.map +0 -1
- package/cjs/chunks/bundle-BTsTFHLV.js.map +0 -1
- package/cjs/chunks/bundle-BYp2_-p_.js.map +0 -1
- package/cjs/chunks/bundle-BbpNwwR8.js.map +0 -1
- package/cjs/chunks/bundle-BcQPY3B6.js.map +0 -1
- package/cjs/chunks/bundle-BcZEQhhq.js.map +0 -1
- package/cjs/chunks/bundle-BfzgaLQx.js.map +0 -1
- package/cjs/chunks/bundle-BgCtP7V4.js.map +0 -1
- package/cjs/chunks/bundle-BkYT_Hch.js.map +0 -1
- package/cjs/chunks/bundle-Bln5Elhn.js.map +0 -1
- package/cjs/chunks/bundle-BruXgSj3.js.map +0 -1
- package/cjs/chunks/bundle-BxER_OfA.js.map +0 -1
- package/cjs/chunks/bundle-C11HvpZq.js.map +0 -1
- package/cjs/chunks/bundle-C4s5Xn-0.js.map +0 -1
- package/cjs/chunks/bundle-CD82WkIi.js.map +0 -1
- package/cjs/chunks/bundle-CEMPv2S1.js.map +0 -1
- package/cjs/chunks/bundle-CEN95Xmn.js.map +0 -1
- package/cjs/chunks/bundle-CHI5iCph.js.map +0 -1
- package/cjs/chunks/bundle-CJ87J3R1.js.map +0 -1
- package/cjs/chunks/bundle-CTjNx2bJ.js.map +0 -1
- package/cjs/chunks/bundle-CWXfgOJy.js.map +0 -1
- package/cjs/chunks/bundle-CaUIrp6R.js.map +0 -1
- package/cjs/chunks/bundle-CfYRwgks.js.map +0 -1
- package/cjs/chunks/bundle-CjWn0S2s.js.map +0 -1
- package/cjs/chunks/bundle-CkG1F8lG.js.map +0 -1
- package/cjs/chunks/bundle-CwGDa8mu.js.map +0 -1
- package/cjs/chunks/bundle-CxuGQxaT.js.map +0 -1
- package/cjs/chunks/bundle-D-izgOCe.js.map +0 -1
- package/cjs/chunks/bundle-D1EDPlQX.js.map +0 -1
- package/cjs/chunks/bundle-D8ubAia5.js.map +0 -1
- package/cjs/chunks/bundle-D9rC4yPj.js.map +0 -1
- package/cjs/chunks/bundle-DA7uhOAM.js.map +0 -1
- package/cjs/chunks/bundle-DF3rT3ak.js.map +0 -1
- package/cjs/chunks/bundle-DG1IpvjA.js.map +0 -1
- package/cjs/chunks/bundle-DIvM3-on.js.map +0 -1
- package/cjs/chunks/bundle-DQM5RZ7p.js.map +0 -1
- package/cjs/chunks/bundle-DTcE7Dci.js.map +0 -1
- package/cjs/chunks/bundle-DWp3JSCd.js.map +0 -1
- package/cjs/chunks/bundle-D_4vATFJ.js.map +0 -1
- package/cjs/chunks/bundle-DgX9o5Mt.js.map +0 -1
- package/cjs/chunks/bundle-Dj0eVVGW.js.map +0 -1
- package/cjs/chunks/bundle-DnF-KuhG.js.map +0 -1
- package/cjs/chunks/bundle-Dp2kRPpd.js.map +0 -1
- package/cjs/chunks/bundle-DqysFYzQ.js.map +0 -1
- package/cjs/chunks/bundle-Drfn-tNj.js.map +0 -1
- package/cjs/chunks/bundle-DwpBeRp2.js.map +0 -1
- package/cjs/chunks/bundle-Dwy0Hf3u.js.map +0 -1
- package/cjs/chunks/bundle-FLujzEX2.js.map +0 -1
- package/cjs/chunks/bundle-JKeFsVQp.js.map +0 -1
- package/cjs/chunks/bundle-KR9lSala.js.map +0 -1
- package/cjs/chunks/bundle-RH9DajrH.js.map +0 -1
- package/cjs/chunks/bundle-UDIPXpOV.js.map +0 -1
- package/cjs/chunks/bundle-Ud8W92re.js.map +0 -1
- package/cjs/chunks/bundle-VqK6Sgiy.js.map +0 -1
- package/cjs/chunks/bundle-XCOUGtdD.js.map +0 -1
- package/cjs/chunks/bundle-nu9oFcYy.js.map +0 -1
- package/cjs/chunks/bundle-qJ5-0bqN.js.map +0 -1
- package/cjs/chunks/bundle-udIHWjxi.js.map +0 -1
- package/cjs/chunks/bundle-xaau8Z4q.js.map +0 -1
package/hooks/useModal.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { c as __spreadArray, _ as __assign } from '../chunks/bundle-
|
|
1
|
+
import { c as __spreadArray, _ as __assign } from '../chunks/bundle-CVDtzU3E.js';
|
|
2
2
|
import React__default, { createContext, useState, useCallback, useMemo, useContext } from 'react';
|
|
3
|
-
import { K } from '../chunks/bundle-
|
|
4
|
-
import { n as noop } from '../chunks/bundle-
|
|
5
|
-
import { M as Modal } from '../chunks/bundle-
|
|
6
|
-
export { a as MODAL_ROOT, b as ModalRoot } from '../chunks/bundle-
|
|
3
|
+
import { K } from '../chunks/bundle-4a9M9y8N.js';
|
|
4
|
+
import { n as noop } from '../chunks/bundle-CT3xDvIx.js';
|
|
5
|
+
import { M as Modal } from '../chunks/bundle-CCUBCV04.js';
|
|
6
|
+
export { a as MODAL_ROOT, b as ModalRoot } from '../chunks/bundle-CCUBCV04.js';
|
|
7
7
|
import 'react-dom';
|
|
8
|
-
import '../chunks/bundle-
|
|
9
|
-
import '../chunks/bundle-
|
|
10
|
-
import '../chunks/bundle-
|
|
11
|
-
import '../chunks/bundle-
|
|
8
|
+
import '../chunks/bundle-BX0LQWqY.js';
|
|
9
|
+
import '../chunks/bundle-DaQK1Cox.js';
|
|
10
|
+
import '../chunks/bundle-BxBdkxXV.js';
|
|
11
|
+
import '../chunks/bundle-CLqgMCvn.js';
|
|
12
12
|
import '../ui/IconButton.js';
|
|
13
13
|
import '../ui/Button.js';
|
|
14
|
-
import '../chunks/bundle-
|
|
14
|
+
import '../chunks/bundle-DPhbbRZE.js';
|
|
15
15
|
import '../ui/Icon.js';
|
|
16
16
|
|
|
17
17
|
var GlobalModalContext = createContext({
|
package/index.js
CHANGED
|
@@ -3,94 +3,94 @@ export { default as App } from './App.js';
|
|
|
3
3
|
export { default as ChannelSettings } from './ChannelSettings.js';
|
|
4
4
|
export { default as ChannelList } from './ChannelList.js';
|
|
5
5
|
export { default as Channel } from './Channel.js';
|
|
6
|
-
export { g as getStringSet } from './chunks/bundle-
|
|
6
|
+
export { g as getStringSet } from './chunks/bundle-DaQK1Cox.js';
|
|
7
7
|
export { default as OpenChannel } from './OpenChannel.js';
|
|
8
8
|
export { default as OpenChannelSettings } from './OpenChannelSettings.js';
|
|
9
9
|
export { default as MessageSearch } from './MessageSearch.js';
|
|
10
10
|
export { default as withSendBird } from './withSendbird.js';
|
|
11
11
|
export { default as sendBirdSelectors, default as sendbirdSelectors } from './sendbirdSelectors.js';
|
|
12
12
|
export { useSendbirdStateContext } from './useSendbirdStateContext.js';
|
|
13
|
-
export { T as TypingIndicatorType } from './chunks/bundle-
|
|
14
|
-
import './chunks/bundle-
|
|
13
|
+
export { T as TypingIndicatorType } from './chunks/bundle-DlHudqve.js';
|
|
14
|
+
import './chunks/bundle-CVDtzU3E.js';
|
|
15
15
|
import 'react';
|
|
16
16
|
import '@sendbird/uikit-tools';
|
|
17
17
|
import 'css-vars-ponyfill';
|
|
18
|
-
import './chunks/bundle-
|
|
19
|
-
import './chunks/bundle-
|
|
20
|
-
import './chunks/bundle-
|
|
18
|
+
import './chunks/bundle-4a9M9y8N.js';
|
|
19
|
+
import './chunks/bundle-DuNr1Njk.js';
|
|
20
|
+
import './chunks/bundle-COR7gPrO.js';
|
|
21
21
|
import '@sendbird/chat';
|
|
22
|
-
import './chunks/bundle-
|
|
22
|
+
import './chunks/bundle-CkInAxxb.js';
|
|
23
23
|
import '@sendbird/chat/openChannel';
|
|
24
24
|
import '@sendbird/chat/groupChannel';
|
|
25
|
-
import './chunks/bundle-
|
|
25
|
+
import './chunks/bundle-DI3fL4Xw.js';
|
|
26
26
|
import './utils/message/getOutgoingMessageState.js';
|
|
27
|
-
import './chunks/bundle-
|
|
28
|
-
import './chunks/bundle-
|
|
29
|
-
import './chunks/bundle-
|
|
30
|
-
import './chunks/bundle-
|
|
27
|
+
import './chunks/bundle-CT3xDvIx.js';
|
|
28
|
+
import './chunks/bundle-1ymLj4Og.js';
|
|
29
|
+
import './chunks/bundle-DxdGwARh.js';
|
|
30
|
+
import './chunks/bundle-BlHQV-25.js';
|
|
31
31
|
import './VoiceRecorder/context.js';
|
|
32
|
-
import './chunks/bundle-
|
|
33
|
-
import './chunks/bundle-
|
|
34
|
-
import './chunks/bundle-
|
|
32
|
+
import './chunks/bundle-BX0LQWqY.js';
|
|
33
|
+
import './chunks/bundle-BxBdkxXV.js';
|
|
34
|
+
import './chunks/bundle-CCUBCV04.js';
|
|
35
35
|
import 'react-dom';
|
|
36
|
-
import './chunks/bundle-
|
|
36
|
+
import './chunks/bundle-CLqgMCvn.js';
|
|
37
37
|
import './ui/IconButton.js';
|
|
38
38
|
import './ui/Button.js';
|
|
39
|
-
import './chunks/bundle-
|
|
39
|
+
import './chunks/bundle-DPhbbRZE.js';
|
|
40
40
|
import './ui/Icon.js';
|
|
41
|
-
import './chunks/bundle-
|
|
41
|
+
import './chunks/bundle-BHOxoDJO.js';
|
|
42
42
|
import './hooks/useModal.js';
|
|
43
|
+
import './ui/ContextMenu.js';
|
|
44
|
+
import './ui/SortByRow.js';
|
|
43
45
|
import './GroupChannel.js';
|
|
44
46
|
import './GroupChannel/context.js';
|
|
45
47
|
import '@sendbird/chat/message';
|
|
46
|
-
import './chunks/bundle-
|
|
47
|
-
import './chunks/bundle-
|
|
48
|
-
import './chunks/bundle-
|
|
49
|
-
import './chunks/bundle-
|
|
50
|
-
import './chunks/bundle-
|
|
51
|
-
import './chunks/bundle-
|
|
52
|
-
import './chunks/bundle-
|
|
48
|
+
import './chunks/bundle-yNfnN0a6.js';
|
|
49
|
+
import './chunks/bundle-DoJNLxY9.js';
|
|
50
|
+
import './chunks/bundle-IuZ6uyzU.js';
|
|
51
|
+
import './chunks/bundle-D45e30Hl.js';
|
|
52
|
+
import './chunks/bundle-HsrPpAtd.js';
|
|
53
|
+
import './chunks/bundle-BntzGGYb.js';
|
|
54
|
+
import './chunks/bundle-DEqxoG9B.js';
|
|
53
55
|
import './GroupChannel/components/GroupChannelUI.js';
|
|
54
|
-
import './chunks/bundle-
|
|
56
|
+
import './chunks/bundle-DIEAFe_F.js';
|
|
55
57
|
import './GroupChannel/components/TypingIndicator.js';
|
|
56
58
|
import './ui/ConnectionStatus.js';
|
|
57
59
|
import './ui/PlaceHolder.js';
|
|
58
60
|
import './ui/Loader.js';
|
|
59
61
|
import './GroupChannel/components/GroupChannelHeader.js';
|
|
60
|
-
import './chunks/bundle-
|
|
62
|
+
import './chunks/bundle-fvRtOX6P.js';
|
|
61
63
|
import './ui/ChannelAvatar.js';
|
|
62
|
-
import './chunks/bundle-
|
|
64
|
+
import './chunks/bundle-BXpzbAbi.js';
|
|
63
65
|
import './ui/ImageRenderer.js';
|
|
64
|
-
import './chunks/bundle-
|
|
65
|
-
import './chunks/bundle-
|
|
66
|
-
import './chunks/bundle-
|
|
66
|
+
import './chunks/bundle-DYJilNov.js';
|
|
67
|
+
import './chunks/bundle-BVGlC_pg.js';
|
|
68
|
+
import './chunks/bundle-aE9efllI.js';
|
|
67
69
|
import './GroupChannel/components/MessageList.js';
|
|
68
70
|
import './GroupChannel/components/Message.js';
|
|
69
|
-
import './chunks/bundle-
|
|
70
|
-
import './chunks/bundle-
|
|
71
|
-
import './chunks/bundle-
|
|
71
|
+
import './chunks/bundle-rl7Rvf_6.js';
|
|
72
|
+
import './chunks/bundle-DBzkkIf1.js';
|
|
73
|
+
import './chunks/bundle-CZYvKysu.js';
|
|
72
74
|
import './Message/hooks/useDirtyGetMentions.js';
|
|
73
75
|
import './ui/DateSeparator.js';
|
|
74
|
-
import './chunks/bundle-
|
|
76
|
+
import './chunks/bundle-DHp0VTVS.js';
|
|
75
77
|
import './ui/MessageInput.js';
|
|
76
|
-
import './chunks/bundle-
|
|
77
|
-
import './chunks/bundle-
|
|
78
|
+
import './chunks/bundle-ts_i6oEg.js';
|
|
79
|
+
import './chunks/bundle-DNq8IoOw.js';
|
|
78
80
|
import 'dompurify';
|
|
79
|
-
import './chunks/bundle-
|
|
80
|
-
import './chunks/bundle-
|
|
81
|
-
import './chunks/bundle-
|
|
82
|
-
import './chunks/bundle-
|
|
81
|
+
import './chunks/bundle-B8HW06Fl.js';
|
|
82
|
+
import './chunks/bundle-CJ9_QDKY.js';
|
|
83
|
+
import './chunks/bundle-WrvoTlHQ.js';
|
|
84
|
+
import './chunks/bundle-DqNfXH8L.js';
|
|
83
85
|
import './ui/MessageContent.js';
|
|
84
|
-
import './chunks/bundle-
|
|
85
|
-
import './chunks/bundle-
|
|
86
|
-
import './chunks/bundle-
|
|
86
|
+
import './chunks/bundle-jd7__XU_.js';
|
|
87
|
+
import './chunks/bundle-CMKCY3ba.js';
|
|
88
|
+
import './chunks/bundle-Bm_WZS3a.js';
|
|
87
89
|
import './ui/MessageItemMenu.js';
|
|
88
|
-
import './
|
|
89
|
-
import './ui/SortByRow.js';
|
|
90
|
-
import './chunks/bundle-C6MmX70M.js';
|
|
90
|
+
import './chunks/bundle-CIO0N9hp.js';
|
|
91
91
|
import './ui/MessageItemReactionMenu.js';
|
|
92
92
|
import './ui/ReactionButton.js';
|
|
93
|
-
import './chunks/bundle-
|
|
93
|
+
import './chunks/bundle-j5EP0k3D.js';
|
|
94
94
|
import './ui/EmojiReactions.js';
|
|
95
95
|
import './ui/ReactionBadge.js';
|
|
96
96
|
import './ui/BottomSheet.js';
|
|
@@ -103,19 +103,19 @@ import './ui/TooltipWrapper.js';
|
|
|
103
103
|
import './Message/context.js';
|
|
104
104
|
import './ui/AdminMessage.js';
|
|
105
105
|
import './ui/QuoteMessage.js';
|
|
106
|
-
import './chunks/bundle-
|
|
107
|
-
import './chunks/bundle-
|
|
106
|
+
import './chunks/bundle-GRqvZZ2N.js';
|
|
107
|
+
import './chunks/bundle-DTywBX7q.js';
|
|
108
108
|
import './ui/ThreadReplies.js';
|
|
109
109
|
import './ui/OGMessageItemBody.js';
|
|
110
|
-
import './chunks/bundle-
|
|
110
|
+
import './chunks/bundle-C6fuKmVo.js';
|
|
111
111
|
import './ui/MentionLabel.js';
|
|
112
112
|
import './ui/LinkLabel.js';
|
|
113
113
|
import './ui/TextMessageItemBody.js';
|
|
114
114
|
import './ui/FileMessageItemBody.js';
|
|
115
115
|
import './ui/TextButton.js';
|
|
116
|
-
import './chunks/bundle-
|
|
117
|
-
import './chunks/bundle-
|
|
118
|
-
import './chunks/bundle-
|
|
116
|
+
import './chunks/bundle-BMvaJoQA.js';
|
|
117
|
+
import './chunks/bundle-Dj4HLKX0.js';
|
|
118
|
+
import './chunks/bundle-CP1hwfFC.js';
|
|
119
119
|
import './ui/VoiceMessageItemBody.js';
|
|
120
120
|
import './ui/ProgressBar.js';
|
|
121
121
|
import './VoicePlayer/useVoicePlayer.js';
|
|
@@ -123,7 +123,7 @@ import './ui/PlaybackTime.js';
|
|
|
123
123
|
import './ui/ThumbnailMessageItemBody.js';
|
|
124
124
|
import './ui/UnknownMessageItemBody.js';
|
|
125
125
|
import './ui/TemplateMessageItemBody.js';
|
|
126
|
-
import './chunks/bundle-
|
|
126
|
+
import './chunks/bundle-D47WMGAq.js';
|
|
127
127
|
import './ui/FallbackTemplateMessageItemBody.tsx.js';
|
|
128
128
|
import './ui/LoadingTemplateMessageItemBody.tsx.js';
|
|
129
129
|
import './ui/FeedbackIconButton.js';
|
|
@@ -131,56 +131,56 @@ import './ui/MobileFeedbackMenu.js';
|
|
|
131
131
|
import './Channel/components/MessageFeedbackModal.js';
|
|
132
132
|
import './ui/Input.js';
|
|
133
133
|
import './GroupChannel/components/SuggestedReplies.js';
|
|
134
|
-
import './chunks/bundle-
|
|
134
|
+
import './chunks/bundle-CS4RK0T7.js';
|
|
135
135
|
import './GroupChannel/components/FileViewer.js';
|
|
136
|
-
import './chunks/bundle-
|
|
136
|
+
import './chunks/bundle-BkM4cdOJ.js';
|
|
137
137
|
import './GroupChannel/components/RemoveMessageModal.js';
|
|
138
|
-
import './chunks/bundle-
|
|
139
|
-
import './chunks/bundle-
|
|
138
|
+
import './chunks/bundle-SvqLmXeF.js';
|
|
139
|
+
import './chunks/bundle-CIhbNReG.js';
|
|
140
140
|
import './Channel/utils/getMessagePartsInfo.js';
|
|
141
141
|
import './Channel/utils/compareMessagesForGrouping.js';
|
|
142
142
|
import './GroupChannel/components/UnreadCount.js';
|
|
143
143
|
import './GroupChannel/components/FrozenNotification.js';
|
|
144
144
|
import './ui/TypingIndicatorBubble.js';
|
|
145
145
|
import './GroupChannel/components/MessageInputWrapper.js';
|
|
146
|
-
import './chunks/bundle-
|
|
146
|
+
import './chunks/bundle-CmdUup8N.js';
|
|
147
147
|
import './GroupChannel/components/SuggestedMentionList.js';
|
|
148
148
|
import './ui/QuoteMessageInput.js';
|
|
149
149
|
import './VoiceRecorder/useVoiceRecorder.js';
|
|
150
|
-
import './chunks/bundle-
|
|
151
|
-
import './chunks/bundle-
|
|
150
|
+
import './chunks/bundle-5HwGq_hd.js';
|
|
151
|
+
import './chunks/bundle-CfZFWZM3.js';
|
|
152
152
|
import './GroupChannelList.js';
|
|
153
153
|
import './GroupChannelList/context.js';
|
|
154
154
|
import './GroupChannelList/components/GroupChannelListUI.js';
|
|
155
|
-
import './chunks/bundle-
|
|
155
|
+
import './chunks/bundle-CilkBcv-.js';
|
|
156
156
|
import './GroupChannelList/components/GroupChannelListHeader.js';
|
|
157
157
|
import './EditUserProfile.js';
|
|
158
158
|
import './EditUserProfile/context.js';
|
|
159
159
|
import './EditUserProfile/components/EditUserProfileUI.js';
|
|
160
160
|
import './GroupChannelList/components/GroupChannelPreviewAction.js';
|
|
161
161
|
import './GroupChannelList/components/GroupChannelListItem.js';
|
|
162
|
-
import './chunks/bundle-
|
|
162
|
+
import './chunks/bundle-Ds2X6Fjs.js';
|
|
163
163
|
import './ui/Badge.js';
|
|
164
164
|
import './ui/MentionUserLabel.js';
|
|
165
165
|
import './GroupChannelList/components/AddGroupChannel.js';
|
|
166
|
-
import './chunks/bundle-
|
|
166
|
+
import './chunks/bundle-BIvhXCoF.js';
|
|
167
167
|
import './CreateChannel.js';
|
|
168
168
|
import './CreateChannel/components/CreateChannelUI.js';
|
|
169
|
-
import './chunks/bundle-
|
|
169
|
+
import './chunks/bundle-Di7baNGv.js';
|
|
170
170
|
import './CreateChannel/components/InviteUsers.js';
|
|
171
171
|
import './CreateChannel/components/SelectChannelType.js';
|
|
172
172
|
import './Thread.js';
|
|
173
173
|
import './Thread/context.js';
|
|
174
|
-
import './chunks/bundle-
|
|
174
|
+
import './chunks/bundle-CVFMpKJZ.js';
|
|
175
175
|
import './Thread/context/types.js';
|
|
176
|
-
import './chunks/bundle-
|
|
177
|
-
import './chunks/bundle-
|
|
176
|
+
import './chunks/bundle-C6ZXjQ1L.js';
|
|
177
|
+
import './chunks/bundle-CAki7JUf.js';
|
|
178
178
|
import './Thread/components/ThreadUI.js';
|
|
179
179
|
import './Thread/components/ParentMessageInfo.js';
|
|
180
|
-
import './chunks/bundle-
|
|
180
|
+
import './chunks/bundle-aJhoAKLH.js';
|
|
181
181
|
import './Thread/components/ParentMessageInfoItem.js';
|
|
182
|
-
import './chunks/bundle-
|
|
183
|
-
import './chunks/bundle-
|
|
182
|
+
import './chunks/bundle-Cvm8Ag45.js';
|
|
183
|
+
import './chunks/bundle-DQnpJfyk.js';
|
|
184
184
|
import './Thread/components/ThreadHeader.js';
|
|
185
185
|
import './Thread/components/ThreadList.js';
|
|
186
186
|
import './Thread/components/ThreadListItem.js';
|
|
@@ -195,37 +195,37 @@ import './ChannelSettings/components/EditDetailsModal.js';
|
|
|
195
195
|
import './ChannelSettings/components/ModerationPanel.js';
|
|
196
196
|
import './ui/Accordion.js';
|
|
197
197
|
import './ui/AccordionGroup.js';
|
|
198
|
-
import './chunks/bundle-
|
|
198
|
+
import './chunks/bundle-DavEbLba.js';
|
|
199
199
|
import './ui/Toggle.js';
|
|
200
200
|
import './ChannelSettings/components/UserListItem.js';
|
|
201
|
-
import './chunks/bundle-
|
|
201
|
+
import './chunks/bundle-BOrV2z_R.js';
|
|
202
202
|
import './ChannelSettings/components/LeaveChannel.js';
|
|
203
203
|
import './ChannelSettings/components/UserPanel.js';
|
|
204
|
-
import './chunks/bundle-
|
|
205
|
-
import './chunks/bundle-
|
|
204
|
+
import './chunks/bundle-VttuSapS.js';
|
|
205
|
+
import './chunks/bundle-D3OeBr-9.js';
|
|
206
206
|
import './ChannelList/components/ChannelListUI.js';
|
|
207
207
|
import './ChannelList/components/ChannelPreview.js';
|
|
208
208
|
import './ChannelList/components/AddChannel.js';
|
|
209
209
|
import './Channel/context.js';
|
|
210
|
-
import './chunks/bundle-
|
|
210
|
+
import './chunks/bundle-D6kFzMhH.js';
|
|
211
211
|
import './Channel/components/ChannelUI.js';
|
|
212
212
|
import './Channel/components/ChannelHeader.js';
|
|
213
213
|
import './Channel/components/MessageList.js';
|
|
214
214
|
import './Channel/components/Message.js';
|
|
215
215
|
import './Channel/components/FileViewer.js';
|
|
216
216
|
import './Channel/components/RemoveMessageModal.js';
|
|
217
|
-
import './chunks/bundle-
|
|
217
|
+
import './chunks/bundle-BpDuHeEB.js';
|
|
218
218
|
import './Channel/components/MessageInput.js';
|
|
219
219
|
import './OpenChannel/components/OpenChannelUI.js';
|
|
220
|
-
import './chunks/bundle-
|
|
220
|
+
import './chunks/bundle-CYtZF1xr.js';
|
|
221
221
|
import './OpenChannel/components/OpenChannelInput.js';
|
|
222
222
|
import './OpenChannel/components/FrozenChannelNotification.js';
|
|
223
223
|
import './OpenChannel/components/OpenChannelHeader.js';
|
|
224
224
|
import './OpenChannel/components/OpenChannelMessageList.js';
|
|
225
225
|
import './OpenChannel/components/OpenChannelMessage.js';
|
|
226
226
|
import './ui/OpenchannelUserMessage.js';
|
|
227
|
-
import './chunks/bundle-
|
|
228
|
-
import './chunks/bundle-
|
|
227
|
+
import './chunks/bundle-BAsn0CBE.js';
|
|
228
|
+
import './chunks/bundle-Dypl_pLH.js';
|
|
229
229
|
import './ui/OpenChannelAdminMessage.js';
|
|
230
230
|
import './ui/OpenchannelOGMessage.js';
|
|
231
231
|
import './ui/OpenchannelThumbnailMessage.js';
|
|
@@ -236,7 +236,7 @@ import './OpenChannelSettings/components/OperatorUI.js';
|
|
|
236
236
|
import './OpenChannelSettings/components/OpenChannelProfile.js';
|
|
237
237
|
import './ui/OpenChannelAvatar.js';
|
|
238
238
|
import './OpenChannelSettings/components/EditDetailsModal.js';
|
|
239
|
-
import './chunks/bundle-
|
|
239
|
+
import './chunks/bundle-CjW6ZQ1k.js';
|
|
240
240
|
import './MessageSearch/components/MessageSearchUI.js';
|
|
241
241
|
import './MessageSearch/context.js';
|
|
242
242
|
import './ui/MessageSearchItem.js';
|
package/package.json
CHANGED
package/pubSub/topics.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { b as PUBSUB_TOPICS, P as PublishingModuleType, p as default } from '../chunks/bundle-
|
|
1
|
+
export { b as PUBSUB_TOPICS, P as PublishingModuleType, p as default } from '../chunks/bundle-DEqxoG9B.js';
|
|
2
2
|
//# sourceMappingURL=topics.js.map
|
package/sendbirdSelectors.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { p as pubSubTopics } from './chunks/bundle-
|
|
2
|
-
import { n as noop } from './chunks/bundle-
|
|
1
|
+
import { p as pubSubTopics } from './chunks/bundle-DEqxoG9B.js';
|
|
2
|
+
import { n as noop } from './chunks/bundle-CT3xDvIx.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* 1. UIKit Instances
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import './index.scss';
|
|
2
|
-
import React from 'react';
|
|
2
|
+
import React, { MouseEvent } from 'react';
|
|
3
3
|
import { FileViewerProps } from '.';
|
|
4
4
|
import type { CoreMessageType, SendableMessageType } from '../../../../utils';
|
|
5
5
|
type DeleteMessageTypeLegacy = (message: CoreMessageType) => Promise<void>;
|
|
6
6
|
export interface FileViewerViewProps extends FileViewerProps {
|
|
7
7
|
deleteMessage: ((message: SendableMessageType) => Promise<void>) | DeleteMessageTypeLegacy;
|
|
8
|
+
onDownloadClick?: (e: MouseEvent) => Promise<void>;
|
|
8
9
|
}
|
|
9
|
-
export declare const FileViewerView: ({ message, onCancel, deleteMessage, }: FileViewerViewProps) => React.ReactPortal;
|
|
10
|
+
export declare const FileViewerView: ({ message, onCancel, deleteMessage, onDownloadClick, }: FileViewerViewProps) => React.ReactPortal;
|
|
10
11
|
export interface FileViewerUIProps {
|
|
11
12
|
profileUrl: string;
|
|
12
13
|
nickname: string;
|
|
@@ -17,6 +18,7 @@ export interface FileViewerUIProps {
|
|
|
17
18
|
onCancel: () => void;
|
|
18
19
|
onDelete: () => void;
|
|
19
20
|
disableDelete: boolean;
|
|
21
|
+
onDownloadClick?: (e: MouseEvent) => Promise<void>;
|
|
20
22
|
}
|
|
21
|
-
export declare const FileViewerComponent: ({ profileUrl, nickname, name, type, url, isByMe, onCancel, onDelete, disableDelete, }: FileViewerUIProps) => React.JSX.Element;
|
|
23
|
+
export declare const FileViewerComponent: ({ profileUrl, nickname, name, type, url, isByMe, onCancel, onDelete, disableDelete, onDownloadClick, }: FileViewerUIProps) => React.JSX.Element;
|
|
22
24
|
export {};
|
|
@@ -7,6 +7,7 @@ import { ThreadReplySelectType } from '../../context/const';
|
|
|
7
7
|
import { CoreMessageType, SendableMessageType } from '../../../../utils';
|
|
8
8
|
import { MessageContentProps } from '../../../../ui/MessageContent';
|
|
9
9
|
import { SuggestedRepliesProps } from '../SuggestedReplies';
|
|
10
|
+
import type { OnBeforeDownloadFileMessageType } from '../../context/GroupChannelProvider';
|
|
10
11
|
export interface MessageProps {
|
|
11
12
|
message: EveryMessage;
|
|
12
13
|
hasSeparator?: boolean;
|
|
@@ -72,6 +73,11 @@ export interface MessageViewProps extends MessageProps {
|
|
|
72
73
|
message: EveryMessage;
|
|
73
74
|
onCancel: () => void;
|
|
74
75
|
}) => React.ReactElement;
|
|
76
|
+
/**
|
|
77
|
+
* You can't use this prop in the Channel component (legacy).
|
|
78
|
+
* Accepting this prop only for the GroupChannel.
|
|
79
|
+
*/
|
|
80
|
+
onBeforeDownloadFileMessage?: OnBeforeDownloadFileMessageType;
|
|
75
81
|
animatedMessageId: number;
|
|
76
82
|
setAnimatedMessageId: React.Dispatch<React.SetStateAction<number>>;
|
|
77
83
|
onMessageAnimated?: () => void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { SendbirdError, User } from '@sendbird/chat';
|
|
3
|
-
import { FileMessageCreateParams, MultipleFilesMessageCreateParams, UserMessageCreateParams, UserMessageUpdateParams } from '@sendbird/chat/message';
|
|
3
|
+
import { FileMessageCreateParams, MultipleFilesMessageCreateParams, UserMessageCreateParams, UserMessageUpdateParams, type FileMessage, type MultipleFilesMessage } from '@sendbird/chat/message';
|
|
4
4
|
import type { GroupChannel, MessageCollectionParams, MessageFilterParams } from '@sendbird/chat/groupChannel';
|
|
5
5
|
import { useGroupChannelMessages } from '@sendbird/uikit-tools';
|
|
6
6
|
import type { SendableMessageType } from '../../../utils';
|
|
@@ -14,6 +14,10 @@ type OnBeforeHandler<T> = (params: T) => T | Promise<T>;
|
|
|
14
14
|
type MessageListQueryParamsType = Omit<MessageCollectionParams, 'filter'> & MessageFilterParams;
|
|
15
15
|
type MessageActions = ReturnType<typeof useMessageActions>;
|
|
16
16
|
type MessageListDataSourceWithoutActions = Omit<ReturnType<typeof useGroupChannelMessages>, keyof MessageActions | `_dangerous_${string}`>;
|
|
17
|
+
export type OnBeforeDownloadFileMessageType = (params: {
|
|
18
|
+
message: FileMessage | MultipleFilesMessage;
|
|
19
|
+
index?: number;
|
|
20
|
+
}) => Promise<boolean>;
|
|
17
21
|
interface ContextBaseType {
|
|
18
22
|
channelUrl: string;
|
|
19
23
|
isReactionEnabled?: boolean;
|
|
@@ -34,6 +38,7 @@ interface ContextBaseType {
|
|
|
34
38
|
onBeforeSendVoiceMessage?: OnBeforeHandler<FileMessageCreateParams>;
|
|
35
39
|
onBeforeSendMultipleFilesMessage?: OnBeforeHandler<MultipleFilesMessageCreateParams>;
|
|
36
40
|
onBeforeUpdateUserMessage?: OnBeforeHandler<UserMessageUpdateParams>;
|
|
41
|
+
onBeforeDownloadFileMessage?: OnBeforeDownloadFileMessageType;
|
|
37
42
|
onBackClick?(): void;
|
|
38
43
|
onChatHeaderActionClick?(event: React.MouseEvent<HTMLElement>): void;
|
|
39
44
|
onReplyInThreadClick?: (props: {
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { ReactElement } from 'react';
|
|
2
2
|
import './ParentMessageInfoItem.scss';
|
|
3
3
|
import { SendableMessageType } from '../../../../utils';
|
|
4
|
+
import type { OnBeforeDownloadFileMessageType } from '../../../GroupChannel/context/GroupChannelProvider';
|
|
4
5
|
export interface ParentMessageInfoItemProps {
|
|
5
6
|
className?: string;
|
|
6
7
|
message: SendableMessageType;
|
|
7
8
|
showFileViewer?: (bool: boolean) => void;
|
|
9
|
+
onBeforeDownloadFileMessage?: OnBeforeDownloadFileMessageType;
|
|
8
10
|
}
|
|
9
|
-
export default function ParentMessageInfoItem({ className, message, showFileViewer, }: ParentMessageInfoItemProps): ReactElement;
|
|
11
|
+
export default function ParentMessageInfoItem({ className, message, showFileViewer, onBeforeDownloadFileMessage, }: ParentMessageInfoItemProps): ReactElement;
|
|
@@ -5,6 +5,7 @@ import type { BaseMessage, FileMessage, FileMessageCreateParams, MultipleFilesMe
|
|
|
5
5
|
import { ThreadContextInitialState } from './dux/initialState';
|
|
6
6
|
import { SendMessageParams } from './hooks/useSendUserMessageCallback';
|
|
7
7
|
import { SendableMessageType } from '../../../utils';
|
|
8
|
+
import type { OnBeforeDownloadFileMessageType } from '../../GroupChannel/context/GroupChannelProvider';
|
|
8
9
|
export type ThreadProviderProps = {
|
|
9
10
|
children?: React.ReactElement;
|
|
10
11
|
channelUrl: string;
|
|
@@ -18,6 +19,7 @@ export type ThreadProviderProps = {
|
|
|
18
19
|
onBeforeSendFileMessage?: (file: File, quotedMessage?: SendableMessageType) => FileMessageCreateParams;
|
|
19
20
|
onBeforeSendVoiceMessage?: (file: File, quotedMessage?: SendableMessageType) => FileMessageCreateParams;
|
|
20
21
|
onBeforeSendMultipleFilesMessage?: (files: Array<File>, quotedMessage?: SendableMessageType) => MultipleFilesMessageCreateParams;
|
|
22
|
+
onBeforeDownloadFileMessage?: OnBeforeDownloadFileMessageType;
|
|
21
23
|
disableUserProfile?: boolean;
|
|
22
24
|
renderUserProfile?: (props: {
|
|
23
25
|
user: User;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import './index.scss';
|
|
2
2
|
import { ReactElement } from 'react';
|
|
3
3
|
import type { FileMessage } from '@sendbird/chat/message';
|
|
4
|
+
import type { OnBeforeDownloadFileMessageType } from '../../modules/GroupChannel/context/GroupChannelProvider';
|
|
4
5
|
interface Props {
|
|
5
6
|
className?: string | Array<string>;
|
|
6
7
|
message: FileMessage;
|
|
@@ -8,6 +9,7 @@ interface Props {
|
|
|
8
9
|
mouseHover?: boolean;
|
|
9
10
|
isReactionEnabled?: boolean;
|
|
10
11
|
truncateLimit?: number;
|
|
12
|
+
onBeforeDownloadFileMessage?: OnBeforeDownloadFileMessageType;
|
|
11
13
|
}
|
|
12
|
-
export default function FileMessageItemBody({ className, message, isByMe, mouseHover, isReactionEnabled, truncateLimit, }: Props): ReactElement;
|
|
14
|
+
export default function FileMessageItemBody({ className, message, isByMe, mouseHover, isReactionEnabled, truncateLimit, onBeforeDownloadFileMessage, }: Props): ReactElement;
|
|
13
15
|
export {};
|
|
@@ -13,5 +13,6 @@ export interface FileViewerProps {
|
|
|
13
13
|
onDelete?: (e: MouseEvent) => void;
|
|
14
14
|
onClickLeft?: () => void;
|
|
15
15
|
onClickRight?: () => void;
|
|
16
|
+
onDownloadClick?: (e: MouseEvent) => Promise<void>;
|
|
16
17
|
}
|
|
17
|
-
export default function FileViewer({ message, statefulFileInfoList, onClose, isByMe, onDelete, currentIndex, onClickLeft, onClickRight, }: FileViewerProps): ReactElement;
|
|
18
|
+
export default function FileViewer({ message, statefulFileInfoList, onClose, isByMe, onDelete, currentIndex, onClickLeft, onClickRight, onDownloadClick, }: FileViewerProps): ReactElement;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import { MouseEvent } from 'react';
|
|
2
2
|
export type SupportedImageMimesType = 'image/jpeg' | 'image/jpg' | 'image/png' | 'image/gif' | 'image/svg+xml' | 'image/webp';
|
|
3
3
|
export type SupportedVideoMimesType = 'video/mpeg' | 'video/ogg' | 'video/webm' | 'video/mp4';
|
|
4
4
|
export type SupportedMimesType = SupportedImageMimesType | SupportedVideoMimesType;
|
|
@@ -32,7 +32,8 @@ export interface SingleFileViewer extends SenderInfo, FileInfo, BaseViewer {
|
|
|
32
32
|
viewerType?: typeof ViewerTypes.SINGLE;
|
|
33
33
|
isByMe?: boolean;
|
|
34
34
|
disableDelete?: boolean;
|
|
35
|
-
onDelete: (e:
|
|
35
|
+
onDelete: (e: MouseEvent) => void;
|
|
36
|
+
onDownloadClick?: (e: MouseEvent) => Promise<void>;
|
|
36
37
|
}
|
|
37
38
|
export interface MultiFilesViewer extends SenderInfo, BaseViewer {
|
|
38
39
|
viewerType: typeof ViewerTypes.MULTI;
|
|
@@ -40,5 +41,6 @@ export interface MultiFilesViewer extends SenderInfo, BaseViewer {
|
|
|
40
41
|
currentIndex: number;
|
|
41
42
|
onClickLeft: () => void;
|
|
42
43
|
onClickRight: () => void;
|
|
44
|
+
onDownloadClick?: (e: MouseEvent) => Promise<void>;
|
|
43
45
|
}
|
|
44
46
|
export type FileViewerComponentProps = SingleFileViewer | MultiFilesViewer;
|
|
@@ -4,11 +4,13 @@ import { CoreMessageType } from '../../../utils';
|
|
|
4
4
|
import { SendBirdStateConfig } from '../../../lib/types';
|
|
5
5
|
import { Nullable } from '../../../types';
|
|
6
6
|
import { GroupChannel } from '@sendbird/chat/groupChannel';
|
|
7
|
+
import type { OnBeforeDownloadFileMessageType } from '../../../modules/GroupChannel/context/GroupChannelProvider';
|
|
7
8
|
export interface MessageBodyProps {
|
|
8
9
|
channel: Nullable<GroupChannel>;
|
|
9
10
|
message: CoreMessageType;
|
|
10
11
|
showFileViewer?: (bool: boolean) => void;
|
|
11
12
|
onMessageHeightChange?: () => void;
|
|
13
|
+
onBeforeDownloadFileMessage?: OnBeforeDownloadFileMessageType;
|
|
12
14
|
mouseHover: boolean;
|
|
13
15
|
isMobile: boolean;
|
|
14
16
|
config: SendBirdStateConfig;
|
|
@@ -3,6 +3,7 @@ import './index.scss';
|
|
|
3
3
|
import { MessageMenuProps } from '../MessageItemMenu';
|
|
4
4
|
import { MessageEmojiMenuProps } from '../MessageItemReactionMenu';
|
|
5
5
|
import { EmojiReactionsProps } from '../EmojiReactions';
|
|
6
|
+
import type { OnBeforeDownloadFileMessageType } from '../../modules/GroupChannel/context/GroupChannelProvider';
|
|
6
7
|
import { SendableMessageType, CoreMessageType } from '../../utils';
|
|
7
8
|
import { GroupChannel } from '@sendbird/chat/groupChannel';
|
|
8
9
|
import { EmojiContainer } from '@sendbird/chat';
|
|
@@ -41,6 +42,7 @@ export interface MessageContentProps {
|
|
|
41
42
|
message: SendableMessageType;
|
|
42
43
|
}) => void;
|
|
43
44
|
onMessageHeightChange?: () => void;
|
|
45
|
+
onBeforeDownloadFileMessage?: OnBeforeDownloadFileMessageType;
|
|
44
46
|
renderSenderProfile?: (props: MessageProfileProps) => ReactNode;
|
|
45
47
|
renderMessageBody?: (props: MessageBodyProps) => ReactNode;
|
|
46
48
|
renderMessageHeader?: (props: MessageHeaderProps) => ReactNode;
|
|
@@ -1,9 +1,16 @@
|
|
|
1
1
|
import './index.scss';
|
|
2
|
-
import { ReactElement } from 'react';
|
|
2
|
+
import { MouseEvent, ReactElement } from 'react';
|
|
3
3
|
import type { GroupChannel } from '@sendbird/chat/groupChannel';
|
|
4
4
|
import type { OpenChannel } from '@sendbird/chat/openChannel';
|
|
5
5
|
import { SendableMessageType } from '../../utils/index';
|
|
6
6
|
import { ReplyType } from '../../types';
|
|
7
|
+
export interface MessageMenuRenderMenuItemProps {
|
|
8
|
+
className?: string;
|
|
9
|
+
onClick?: (e: MouseEvent) => void;
|
|
10
|
+
dataSbId?: string;
|
|
11
|
+
disable?: boolean;
|
|
12
|
+
text: string;
|
|
13
|
+
}
|
|
7
14
|
export interface MessageMenuProps {
|
|
8
15
|
className?: string | Array<string>;
|
|
9
16
|
message: SendableMessageType;
|
|
@@ -22,6 +29,7 @@ export interface MessageMenuProps {
|
|
|
22
29
|
message: SendableMessageType;
|
|
23
30
|
}) => void;
|
|
24
31
|
onMoveToParentMessage?: () => void;
|
|
32
|
+
renderMenuItem?: (props: MessageMenuRenderMenuItemProps) => ReactElement;
|
|
25
33
|
}
|
|
26
|
-
export declare function MessageMenu({ className, message, channel, isByMe, disabled, replyType, disableDeleteMessage, showEdit, showRemove, deleteMessage, resendMessage, setQuoteMessage, setSupposedHover, onReplyInThread, onMoveToParentMessage, }: MessageMenuProps): ReactElement;
|
|
34
|
+
export declare function MessageMenu({ className, message, channel, isByMe, disabled, replyType, disableDeleteMessage, showEdit, showRemove, deleteMessage, resendMessage, setQuoteMessage, setSupposedHover, onReplyInThread, onMoveToParentMessage, renderMenuItem, }: MessageMenuProps): ReactElement;
|
|
27
35
|
export default MessageMenu;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Component, ErrorInfo, ReactNode } from 'react';
|
|
2
|
+
import { LoggerInterface } from '../../lib/Logger';
|
|
3
|
+
interface ErrorBoundaryProps {
|
|
4
|
+
children: ReactNode;
|
|
5
|
+
fallbackMessage: ReactNode;
|
|
6
|
+
logger?: LoggerInterface;
|
|
7
|
+
}
|
|
8
|
+
interface ErrorBoundaryState {
|
|
9
|
+
hasError: boolean;
|
|
10
|
+
}
|
|
11
|
+
export declare class MessageTemplateErrorBoundary extends Component<ErrorBoundaryProps, ErrorBoundaryState> {
|
|
12
|
+
constructor(props: ErrorBoundaryProps);
|
|
13
|
+
static getDerivedStateFromError(): {
|
|
14
|
+
hasError: boolean;
|
|
15
|
+
};
|
|
16
|
+
componentDidCatch(error: Error, errorInfo: ErrorInfo): void;
|
|
17
|
+
render(): ReactNode;
|
|
18
|
+
}
|
|
19
|
+
export default MessageTemplateErrorBoundary;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import React, { MouseEvent } from 'react';
|
|
1
2
|
import type { EmojiContainer } from '@sendbird/chat';
|
|
2
3
|
import type { GroupChannel } from '@sendbird/chat/groupChannel';
|
|
3
4
|
import type { OpenChannel } from '@sendbird/chat/openChannel';
|
|
4
|
-
import React from 'react';
|
|
5
5
|
import { CoreMessageType, SendableMessageType } from '../../utils';
|
|
6
6
|
import { ReplyType } from '../../types';
|
|
7
7
|
export type DeleteMenuStates = 'DISABLE' | 'HIDE' | 'ACTIVE';
|
|
@@ -25,6 +25,7 @@ export interface BaseMenuProps {
|
|
|
25
25
|
message: SendableMessageType;
|
|
26
26
|
}) => void;
|
|
27
27
|
isOpenedFromThread?: boolean;
|
|
28
|
+
onDownloadClick?: (e: MouseEvent) => Promise<void>;
|
|
28
29
|
}
|
|
29
30
|
export interface MobileBottomSheetProps extends BaseMenuProps {
|
|
30
31
|
emojiContainer?: EmojiContainer;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ReactElement } from 'react';
|
|
2
2
|
import { MultipleFilesMessage } from '@sendbird/chat/message';
|
|
3
|
+
import type { OnBeforeDownloadFileMessageType } from '../../modules/GroupChannel/context/GroupChannelProvider';
|
|
3
4
|
import './index.scss';
|
|
4
5
|
import { UploadedFileInfoWithUpload } from '../../types';
|
|
5
6
|
export declare const ThreadMessageKind: {
|
|
@@ -16,6 +17,7 @@ interface Props {
|
|
|
16
17
|
truncateLimit?: number;
|
|
17
18
|
threadMessageKindKey?: string;
|
|
18
19
|
statefulFileInfoList?: UploadedFileInfoWithUpload[];
|
|
20
|
+
onBeforeDownloadFileMessage?: OnBeforeDownloadFileMessageType;
|
|
19
21
|
}
|
|
20
|
-
export default function MultipleFilesMessageItemBody({ className, message, isReactionEnabled, threadMessageKindKey, statefulFileInfoList, }: Props): ReactElement;
|
|
22
|
+
export default function MultipleFilesMessageItemBody({ className, message, isReactionEnabled, threadMessageKindKey, statefulFileInfoList, onBeforeDownloadFileMessage, }: Props): ReactElement;
|
|
21
23
|
export {};
|