@sendbird/uikit-react 3.13.2 → 3.13.3-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/App.js +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-C6MmX70M.js → bundle-4hS7j-gs.js} +1 -1
- package/chunks/bundle-4hS7j-gs.js.map +1 -0
- package/chunks/{bundle-Clnr6ml_.js → bundle-5OktsffG.js} +10 -10
- package/chunks/{bundle-Clnr6ml_.js.map → bundle-5OktsffG.js.map} +1 -1
- package/chunks/{bundle-_B5yFEP0.js → bundle-B0tCGD6H.js} +2 -2
- package/chunks/bundle-B0tCGD6H.js.map +1 -0
- package/chunks/{bundle-B_ah2kxT.js → bundle-B3YSUEgS.js} +1 -1
- package/chunks/bundle-B3YSUEgS.js.map +1 -0
- package/chunks/{bundle-5rwlX4db.js → bundle-BAdGwFBk.js} +2 -2
- package/chunks/{bundle-5rwlX4db.js.map → bundle-BAdGwFBk.js.map} +1 -1
- package/chunks/{bundle-BqWBruLa.js → bundle-BBFU4eTL.js} +3 -3
- package/chunks/bundle-BBFU4eTL.js.map +1 -0
- package/chunks/{bundle-DdwjYXOX.js → bundle-BK1kBm4R.js} +6 -6
- package/chunks/bundle-BK1kBm4R.js.map +1 -0
- package/chunks/{bundle-BpyUTLY3.js → bundle-BLA2XkKm.js} +4 -4
- package/chunks/bundle-BLA2XkKm.js.map +1 -0
- package/chunks/{bundle-B1v1xIP1.js → bundle-BLcD7awq.js} +1 -1
- package/chunks/bundle-BLcD7awq.js.map +1 -0
- package/chunks/{bundle-Be2HIA26.js → bundle-BQvbZc7K.js} +2 -2
- package/chunks/bundle-BQvbZc7K.js.map +1 -0
- package/chunks/{bundle-C9WS75DY.js → bundle-BVp7_cQQ.js} +3 -3
- package/chunks/{bundle-C9WS75DY.js.map → bundle-BVp7_cQQ.js.map} +1 -1
- package/chunks/{bundle-CUBnQyTA.js → bundle-BXtCWdlN.js} +1 -1
- package/chunks/{bundle-CUBnQyTA.js.map → bundle-BXtCWdlN.js.map} +1 -1
- package/chunks/{bundle-kO-Z-dxL.js → bundle-BggUR2rY.js} +1 -1
- package/chunks/bundle-BggUR2rY.js.map +1 -0
- package/chunks/{bundle-mkC088ne.js → bundle-BhjIUcay.js} +1 -1
- package/chunks/bundle-BhjIUcay.js.map +1 -0
- package/chunks/{bundle-BRedj7J7.js → bundle-BjIhMAvw.js} +2 -2
- package/chunks/{bundle-BRedj7J7.js.map → bundle-BjIhMAvw.js.map} +1 -1
- package/chunks/{bundle-C-UZ_gr4.js → bundle-BjJPI7Sc.js} +2 -2
- package/chunks/{bundle-C-UZ_gr4.js.map → bundle-BjJPI7Sc.js.map} +1 -1
- package/chunks/{bundle-B3KaaIrh.js → bundle-BncIazvl.js} +2 -2
- package/chunks/{bundle-B3KaaIrh.js.map → bundle-BncIazvl.js.map} +1 -1
- package/chunks/{bundle-CHxXgtL2.js → bundle-C1yuAXw9.js} +1 -1
- package/chunks/bundle-C1yuAXw9.js.map +1 -0
- package/chunks/{bundle-CNInpRIS.js → bundle-C2iUqETc.js} +3 -3
- package/chunks/bundle-C2iUqETc.js.map +1 -0
- package/chunks/{bundle-BEzsjrvw.js → bundle-C7Vg2sg7.js} +6 -6
- package/chunks/bundle-C7Vg2sg7.js.map +1 -0
- package/chunks/{bundle-BKPDTl9U.js → bundle-C7zPvb8E.js} +3 -3
- package/chunks/bundle-C7zPvb8E.js.map +1 -0
- package/chunks/{bundle-2g0N2xdw.js → bundle-C8iYQbFu.js} +1 -1
- package/chunks/bundle-C8iYQbFu.js.map +1 -0
- package/chunks/{bundle-C-35JoOu.js → bundle-CHGpi0M7.js} +1 -1
- package/chunks/bundle-CHGpi0M7.js.map +1 -0
- package/chunks/{bundle-CI0ovNa-.js → bundle-CPj7I_Ht.js} +1 -1
- package/chunks/bundle-CPj7I_Ht.js.map +1 -0
- package/chunks/{bundle-BIcgVVCw.js → bundle-CTbKbzja.js} +12 -11
- package/chunks/{bundle-BIcgVVCw.js.map → bundle-CTbKbzja.js.map} +1 -1
- package/chunks/{bundle-CcRuHA7i.js → bundle-CXTic09W.js} +5 -5
- package/chunks/{bundle-CcRuHA7i.js.map → bundle-CXTic09W.js.map} +1 -1
- package/chunks/{bundle-TYwaKAYl.js → bundle-CXhtYaaJ.js} +54 -52
- package/chunks/{bundle-TYwaKAYl.js.map → bundle-CXhtYaaJ.js.map} +1 -1
- package/chunks/{bundle-BNL2dgIA.js → bundle-CYV8zeeH.js} +8 -8
- package/chunks/{bundle-BNL2dgIA.js.map → bundle-CYV8zeeH.js.map} +1 -1
- package/chunks/{bundle-sQj5xACh.js → bundle-C_p9TOC_.js} +5 -5
- package/chunks/bundle-C_p9TOC_.js.map +1 -0
- package/chunks/{bundle-CExm_LIL.js → bundle-CabpA5ei.js} +14 -14
- package/chunks/{bundle-CExm_LIL.js.map → bundle-CabpA5ei.js.map} +1 -1
- package/chunks/{bundle-Bm8gzDx1.js → bundle-CaeGyC4L.js} +4 -4
- package/chunks/{bundle-Bm8gzDx1.js.map → bundle-CaeGyC4L.js.map} +1 -1
- package/chunks/{bundle-Cm3yLDom.js → bundle-Ccrcu-lm.js} +2 -2
- package/chunks/bundle-Ccrcu-lm.js.map +1 -0
- package/chunks/{bundle-CBIAPOPy.js → bundle-CfNFTpLH.js} +11 -11
- package/chunks/{bundle-CBIAPOPy.js.map → bundle-CfNFTpLH.js.map} +1 -1
- package/chunks/{bundle-BkTOcqVY.js → bundle-CnJ586P-.js} +40 -9
- package/{cjs/chunks/bundle-B2QAlKH1.js.map → chunks/bundle-CnJ586P-.js.map} +1 -1
- package/chunks/{bundle-BlSpe5qA.js → bundle-CnNbY4d-.js} +1 -1
- package/chunks/bundle-CnNbY4d-.js.map +1 -0
- package/chunks/{bundle-C6ZHgzD6.js → bundle-CnTDWHJx.js} +2 -2
- package/chunks/bundle-CnTDWHJx.js.map +1 -0
- package/chunks/{bundle-Bceke7Nk.js → bundle-CpIXjIkm.js} +7 -7
- package/chunks/bundle-CpIXjIkm.js.map +1 -0
- package/chunks/{bundle-D1otjGeL.js → bundle-CwzTv0XS.js} +3 -3
- package/chunks/{bundle-D1otjGeL.js.map → bundle-CwzTv0XS.js.map} +1 -1
- package/chunks/{bundle-Cb6tbPro.js → bundle-Cx7XPmRo.js} +2 -2
- package/chunks/bundle-Cx7XPmRo.js.map +1 -0
- package/chunks/{bundle-C6387K33.js → bundle-D0kBwA_N.js} +1 -1
- package/chunks/bundle-D0kBwA_N.js.map +1 -0
- package/chunks/{bundle-hAKR7PVp.js → bundle-D2NwprR1.js} +1 -1
- package/chunks/bundle-D2NwprR1.js.map +1 -0
- package/chunks/{bundle-4bxiD94h.js → bundle-D5O3p2sd.js} +1 -1
- package/chunks/{bundle-4bxiD94h.js.map → bundle-D5O3p2sd.js.map} +1 -1
- package/chunks/{bundle-BRhZt2zf.js → bundle-D82-9DC8.js} +1 -1
- package/chunks/{bundle-BRhZt2zf.js.map → bundle-D82-9DC8.js.map} +1 -1
- package/chunks/{bundle-Cgtk2LV4.js → bundle-D8mVQVHI.js} +4 -4
- package/chunks/bundle-D8mVQVHI.js.map +1 -0
- package/chunks/{bundle-CXMfzdI7.js → bundle-D9jjb4vl.js} +1 -1
- package/chunks/bundle-D9jjb4vl.js.map +1 -0
- package/chunks/{bundle-BUHwsL2D.js → bundle-D9r0cGat.js} +3 -3
- package/chunks/bundle-D9r0cGat.js.map +1 -0
- package/chunks/{bundle-B9Jpp9ee.js → bundle-DAyGLgqp.js} +1 -1
- package/chunks/bundle-DAyGLgqp.js.map +1 -0
- package/chunks/{bundle-DIy5BllY.js → bundle-DBqlfZ2d.js} +16 -16
- package/chunks/bundle-DBqlfZ2d.js.map +1 -0
- package/chunks/{bundle-DtcJzbuk.js → bundle-DCUEuROU.js} +1 -1
- package/chunks/bundle-DCUEuROU.js.map +1 -0
- package/chunks/{bundle-D9xWky57.js → bundle-DFRQ-Oo2.js} +1 -1
- package/chunks/bundle-DFRQ-Oo2.js.map +1 -0
- package/chunks/{bundle-QPbZ_XSR.js → bundle-DH4fYwuY.js} +3 -3
- package/chunks/{bundle-QPbZ_XSR.js.map → bundle-DH4fYwuY.js.map} +1 -1
- package/chunks/{bundle-B1ObaBN3.js → bundle-DIc-itow.js} +1 -1
- package/chunks/{bundle-B1ObaBN3.js.map → bundle-DIc-itow.js.map} +1 -1
- package/chunks/{bundle-DIhQqYC5.js → bundle-DIdcX_-2.js} +6 -6
- package/chunks/bundle-DIdcX_-2.js.map +1 -0
- package/chunks/{bundle-D57EENOn.js → bundle-DJ-85RBu.js} +1 -1
- package/chunks/bundle-DJ-85RBu.js.map +1 -0
- package/chunks/{bundle-BdCGrzcY.js → bundle-DU1sAKMN.js} +1 -1
- package/chunks/bundle-DU1sAKMN.js.map +1 -0
- package/chunks/{bundle-CIHv_OFc.js → bundle-DVw9N5gr.js} +4 -4
- package/chunks/bundle-DVw9N5gr.js.map +1 -0
- package/chunks/{bundle-DT8UMQCr.js → bundle-Dal90qsH.js} +1 -1
- package/chunks/{bundle-DT8UMQCr.js.map → bundle-Dal90qsH.js.map} +1 -1
- package/chunks/{bundle-Hl5CUM1x.js → bundle-Dg7p2p52.js} +1 -1
- package/chunks/bundle-Dg7p2p52.js.map +1 -0
- package/chunks/{bundle-DwRQcRou.js → bundle-DjgD9t7D.js} +3 -3
- package/chunks/bundle-DjgD9t7D.js.map +1 -0
- package/chunks/{bundle-DzQcMztv.js → bundle-DmJV6gQD.js} +1 -1
- package/chunks/{bundle-DzQcMztv.js.map → bundle-DmJV6gQD.js.map} +1 -1
- package/chunks/{bundle-BZK5eiX2.js → bundle-DmPACCke.js} +1 -1
- package/chunks/bundle-DmPACCke.js.map +1 -0
- package/chunks/{bundle-CtBgDIuq.js → bundle-DohVktRn.js} +10 -10
- package/chunks/{bundle-CtBgDIuq.js.map → bundle-DohVktRn.js.map} +1 -1
- package/chunks/{bundle-C7SA85dp.js → bundle-DqzqAw0N.js} +1 -1
- package/chunks/bundle-DqzqAw0N.js.map +1 -0
- package/chunks/{bundle-B9ZQfJSL.js → bundle-DufKYoOA.js} +4 -4
- package/chunks/{bundle-B9ZQfJSL.js.map → bundle-DufKYoOA.js.map} +1 -1
- package/chunks/{bundle-BYdjor8f.js → bundle-EgY839OD.js} +1 -1
- package/chunks/bundle-EgY839OD.js.map +1 -0
- package/chunks/{bundle-BxmlG4s-.js → bundle-HB10teHo.js} +3 -3
- package/chunks/bundle-HB10teHo.js.map +1 -0
- package/chunks/{bundle-2UMLs1R6.js → bundle-KgsD7sHP.js} +1 -1
- package/chunks/bundle-KgsD7sHP.js.map +1 -0
- package/chunks/{bundle-5DiiOFi-.js → bundle-Kmel75IS.js} +9 -9
- package/chunks/bundle-Kmel75IS.js.map +1 -0
- package/chunks/{bundle-D-OF1Dsr.js → bundle-Ly0drX6F.js} +3 -3
- package/chunks/{bundle-D-OF1Dsr.js.map → bundle-Ly0drX6F.js.map} +1 -1
- package/chunks/{bundle-BV8WCwVA.js → bundle-SR6DLu-t.js} +3 -3
- package/chunks/bundle-SR6DLu-t.js.map +1 -0
- package/chunks/{bundle-5E39Cv3A.js → bundle-TgWo1p5X.js} +1 -1
- package/chunks/bundle-TgWo1p5X.js.map +1 -0
- package/chunks/{bundle-cWhfb441.js → bundle-VcVV1LMj.js} +1 -1
- package/chunks/bundle-VcVV1LMj.js.map +1 -0
- package/chunks/{bundle-BgunHZ2y.js → bundle-XUXMq2yd.js} +1 -1
- package/chunks/bundle-XUXMq2yd.js.map +1 -0
- package/chunks/{bundle-CU8x_Vlw.js → bundle-_1Q-aBYk.js} +1 -1
- package/chunks/bundle-_1Q-aBYk.js.map +1 -0
- package/chunks/{bundle-DPRlCjJt.js → bundle-ac7nQTxZ.js} +3 -3
- package/chunks/bundle-ac7nQTxZ.js.map +1 -0
- package/chunks/{bundle-Pw0Ofufv.js → bundle-hRWx3bGt.js} +10 -10
- package/chunks/{bundle-Pw0Ofufv.js.map → bundle-hRWx3bGt.js.map} +1 -1
- package/chunks/{bundle-D4TIkniH.js → bundle-hj2wCdHR.js} +3 -3
- package/chunks/{bundle-D4TIkniH.js.map → bundle-hj2wCdHR.js.map} +1 -1
- package/chunks/{bundle-RJu3P_iQ.js → bundle-mRKEMtyQ.js} +1 -1
- package/chunks/bundle-mRKEMtyQ.js.map +1 -0
- package/chunks/{bundle-x0WnpBed.js → bundle-n75SbS1b.js} +7 -7
- package/chunks/{bundle-x0WnpBed.js.map → bundle-n75SbS1b.js.map} +1 -1
- package/chunks/{bundle-Bb7wwF7C.js → bundle-o68clRDX.js} +10 -10
- package/chunks/bundle-o68clRDX.js.map +1 -0
- package/chunks/{bundle-OTdL9cWR.js → bundle-qGxP6Pc7.js} +2 -2
- package/chunks/bundle-qGxP6Pc7.js.map +1 -0
- package/chunks/{bundle-ugWtu0YZ.js → bundle-xoAyfPjv.js} +1 -1
- package/chunks/bundle-xoAyfPjv.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-BC16qA15.js → bundle-2reRLh0Z.js} +1 -1
- package/cjs/chunks/bundle-2reRLh0Z.js.map +1 -0
- package/cjs/chunks/{bundle-CyopFRXm.js → bundle-2yFiF6kQ.js} +1 -1
- package/cjs/chunks/{bundle-CyopFRXm.js.map → bundle-2yFiF6kQ.js.map} +1 -1
- package/cjs/chunks/{bundle-BkYT_Hch.js → bundle-4dIM0G6u.js} +3 -3
- package/{chunks/bundle-CNInpRIS.js.map → cjs/chunks/bundle-4dIM0G6u.js.map} +1 -1
- package/cjs/chunks/{bundle-D9rC4yPj.js → bundle-8FWQICxW.js} +1 -1
- package/cjs/chunks/bundle-8FWQICxW.js.map +1 -0
- package/cjs/chunks/{bundle-B-wprLUV.js → bundle-B21dx33o.js} +1 -1
- package/cjs/chunks/{bundle-B-wprLUV.js.map → bundle-B21dx33o.js.map} +1 -1
- package/cjs/chunks/{bundle-Cwr1hx-z.js → bundle-B3Fo2XCG.js} +11 -11
- package/cjs/chunks/{bundle-Cwr1hx-z.js.map → bundle-B3Fo2XCG.js.map} +1 -1
- package/cjs/chunks/{bundle-Drfn-tNj.js → bundle-B4AwmBQ0.js} +2 -2
- package/cjs/chunks/bundle-B4AwmBQ0.js.map +1 -0
- package/cjs/chunks/{bundle-Ud8W92re.js → bundle-B7JquFRf.js} +5 -5
- package/cjs/chunks/bundle-B7JquFRf.js.map +1 -0
- package/cjs/chunks/{bundle-RH9DajrH.js → bundle-B9G9UO0N.js} +2 -2
- package/cjs/chunks/bundle-B9G9UO0N.js.map +1 -0
- package/cjs/chunks/{bundle-VqK6Sgiy.js → bundle-BANgPmax.js} +3 -3
- package/cjs/chunks/bundle-BANgPmax.js.map +1 -0
- package/cjs/chunks/{bundle-UJc1wb2l.js → bundle-BDpHsAPf.js} +10 -10
- package/cjs/chunks/{bundle-UJc1wb2l.js.map → bundle-BDpHsAPf.js.map} +1 -1
- package/cjs/chunks/{bundle-DA7uhOAM.js → bundle-BFNNhVuo.js} +1 -1
- package/cjs/chunks/bundle-BFNNhVuo.js.map +1 -0
- package/cjs/chunks/{bundle-D-izgOCe.js → bundle-BUPgOXm2.js} +54 -52
- package/cjs/chunks/bundle-BUPgOXm2.js.map +1 -0
- package/cjs/chunks/{bundle-C4s5Xn-0.js → bundle-BV94CSp2.js} +1 -1
- package/cjs/chunks/bundle-BV94CSp2.js.map +1 -0
- package/cjs/chunks/{bundle-CTjNx2bJ.js → bundle-Bbj1TT0N.js} +1 -1
- package/cjs/chunks/bundle-Bbj1TT0N.js.map +1 -0
- package/cjs/chunks/{bundle-CaUIrp6R.js → bundle-Bcu5UBFA.js} +1 -1
- package/cjs/chunks/bundle-Bcu5UBFA.js.map +1 -0
- package/cjs/chunks/{bundle-Dp2kRPpd.js → bundle-BcxjlS_X.js} +1 -1
- package/cjs/chunks/bundle-BcxjlS_X.js.map +1 -0
- package/cjs/chunks/{bundle-DIvM3-on.js → bundle-BklTloRx.js} +7 -7
- package/cjs/chunks/bundle-BklTloRx.js.map +1 -0
- package/cjs/chunks/{bundle-UDIPXpOV.js → bundle-BrHJysNQ.js} +1 -1
- package/cjs/chunks/bundle-BrHJysNQ.js.map +1 -0
- package/cjs/chunks/{bundle-Dj2Oa2F6.js → bundle-Bvt7-98T.js} +1 -1
- package/cjs/chunks/{bundle-Dj2Oa2F6.js.map → bundle-Bvt7-98T.js.map} +1 -1
- package/cjs/chunks/{bundle-CxuGQxaT.js → bundle-C-Pbefnh.js} +1 -1
- package/cjs/chunks/bundle-C-Pbefnh.js.map +1 -0
- package/cjs/chunks/{bundle-CHVN5sv2.js → bundle-C-pBrVph.js} +4 -4
- package/cjs/chunks/{bundle-CHVN5sv2.js.map → bundle-C-pBrVph.js.map} +1 -1
- package/cjs/chunks/{bundle-JKeFsVQp.js → bundle-C0u1Gb8j.js} +1 -1
- package/cjs/chunks/bundle-C0u1Gb8j.js.map +1 -0
- package/cjs/chunks/{bundle-CJ87J3R1.js → bundle-C1fJTf8W.js} +3 -3
- package/cjs/chunks/bundle-C1fJTf8W.js.map +1 -0
- package/cjs/chunks/{bundle-DWp3JSCd.js → bundle-C4sIJSvk.js} +1 -1
- package/cjs/chunks/bundle-C4sIJSvk.js.map +1 -0
- package/cjs/chunks/{bundle-DG1IpvjA.js → bundle-C5sCB5rF.js} +16 -16
- package/cjs/chunks/bundle-C5sCB5rF.js.map +1 -0
- package/cjs/chunks/{bundle-DQM5RZ7p.js → bundle-C7U0khPf.js} +1 -1
- package/cjs/chunks/bundle-C7U0khPf.js.map +1 -0
- package/cjs/chunks/{bundle-3-9K7DVM.js → bundle-C9VTfZtr.js} +6 -6
- package/cjs/chunks/bundle-C9VTfZtr.js.map +1 -0
- package/cjs/chunks/{bundle-CHI5iCph.js → bundle-CDUcNozj.js} +1 -1
- package/cjs/chunks/bundle-CDUcNozj.js.map +1 -0
- package/cjs/chunks/{bundle-CjWn0S2s.js → bundle-CDgSCAgm.js} +1 -1
- package/cjs/chunks/bundle-CDgSCAgm.js.map +1 -0
- package/cjs/chunks/{bundle-WCt_Po-w.js → bundle-CGJX2Qnm.js} +3 -3
- package/cjs/chunks/{bundle-WCt_Po-w.js.map → bundle-CGJX2Qnm.js.map} +1 -1
- package/cjs/chunks/{bundle-BcZEQhhq.js → bundle-CH1WsALE.js} +1 -1
- package/cjs/chunks/bundle-CH1WsALE.js.map +1 -0
- package/cjs/chunks/{bundle-Dj0eVVGW.js → bundle-CIUrH5DI.js} +10 -10
- package/cjs/chunks/bundle-CIUrH5DI.js.map +1 -0
- package/cjs/chunks/{bundle-7Mbs7JEn.js → bundle-CNehdWqB.js} +3 -3
- package/cjs/chunks/bundle-CNehdWqB.js.map +1 -0
- package/cjs/chunks/{bundle-CfYRwgks.js → bundle-CNkd73Vf.js} +1 -1
- package/cjs/chunks/bundle-CNkd73Vf.js.map +1 -0
- package/cjs/chunks/{bundle-D8ubAia5.js → bundle-COj1aep9.js} +6 -6
- package/cjs/chunks/bundle-COj1aep9.js.map +1 -0
- package/cjs/chunks/{bundle-BTsTFHLV.js → bundle-CaEBgffR.js} +7 -7
- package/cjs/chunks/bundle-CaEBgffR.js.map +1 -0
- package/cjs/chunks/{bundle-BEQWEQgH.js → bundle-CaEowufh.js} +3 -3
- package/cjs/chunks/bundle-CaEowufh.js.map +1 -0
- package/cjs/chunks/{bundle-D1EDPlQX.js → bundle-CbnAVv_A.js} +1 -1
- package/cjs/chunks/bundle-CbnAVv_A.js.map +1 -0
- package/cjs/chunks/{bundle-XCOUGtdD.js → bundle-CbsHyoPp.js} +3 -3
- package/cjs/chunks/bundle-CbsHyoPp.js.map +1 -0
- package/cjs/chunks/{bundle-gSaGPkzz.js → bundle-CeBj4yyf.js} +3 -3
- package/cjs/chunks/{bundle-gSaGPkzz.js.map → bundle-CeBj4yyf.js.map} +1 -1
- package/cjs/chunks/{bundle-DnF-KuhG.js → bundle-CjM-npDV.js} +2 -2
- package/cjs/chunks/bundle-CjM-npDV.js.map +1 -0
- package/cjs/chunks/{bundle-B_CGu6U0.js → bundle-CmqcgK7J.js} +5 -5
- package/cjs/chunks/{bundle-B_CGu6U0.js.map → bundle-CmqcgK7J.js.map} +1 -1
- package/cjs/chunks/{bundle-Bln5Elhn.js → bundle-Cn14koTY.js} +1 -1
- package/cjs/chunks/bundle-Cn14koTY.js.map +1 -0
- package/cjs/chunks/{bundle-BgCtP7V4.js → bundle-Cse4am5b.js} +3 -3
- package/cjs/chunks/bundle-Cse4am5b.js.map +1 -0
- package/cjs/chunks/{bundle-CWXfgOJy.js → bundle-CxQgUFNw.js} +2 -2
- package/cjs/chunks/bundle-CxQgUFNw.js.map +1 -0
- package/cjs/chunks/{bundle--Ti8q5z8.js → bundle-CxZ2AmTw.js} +4 -4
- package/cjs/chunks/bundle-CxZ2AmTw.js.map +1 -0
- package/cjs/chunks/{bundle-B2QAlKH1.js → bundle-Cy2HkDwf.js} +4 -4
- package/cjs/chunks/bundle-Cy2HkDwf.js.map +1 -0
- package/cjs/chunks/{bundle-BcQPY3B6.js → bundle-D-pddCuD.js} +2 -2
- package/cjs/chunks/bundle-D-pddCuD.js.map +1 -0
- package/cjs/chunks/{bundle-CwGDa8mu.js → bundle-D1uX57dT.js} +1 -1
- package/cjs/chunks/bundle-D1uX57dT.js.map +1 -0
- package/cjs/chunks/{bundle-CD82WkIi.js → bundle-D6AviDBu.js} +1 -1
- package/cjs/chunks/bundle-D6AviDBu.js.map +1 -0
- package/cjs/chunks/{bundle-BO2p70mH.js → bundle-D7M5mSdn.js} +1 -1
- package/cjs/chunks/bundle-D7M5mSdn.js.map +1 -0
- package/cjs/chunks/{bundle-BQtI4UIy.js → bundle-D98gyQCw.js} +1 -1
- package/cjs/chunks/bundle-D98gyQCw.js.map +1 -0
- package/cjs/chunks/{bundle-CGBPEEGS.js → bundle-DB92inio.js} +1 -1
- package/cjs/chunks/{bundle-CGBPEEGS.js.map → bundle-DB92inio.js.map} +1 -1
- package/cjs/chunks/{bundle-DwpBeRp2.js → bundle-DBzEFTnR.js} +6 -6
- package/cjs/chunks/bundle-DBzEFTnR.js.map +1 -0
- package/cjs/chunks/{bundle-C11HvpZq.js → bundle-DDwMNEy3.js} +1 -1
- package/cjs/chunks/bundle-DDwMNEy3.js.map +1 -0
- package/cjs/chunks/{bundle-DgX9o5Mt.js → bundle-DOD1PhSm.js} +1 -1
- package/cjs/chunks/bundle-DOD1PhSm.js.map +1 -0
- package/cjs/chunks/{bundle-FLujzEX2.js → bundle-DPnRAyp8.js} +12 -11
- package/cjs/chunks/bundle-DPnRAyp8.js.map +1 -0
- package/cjs/chunks/{bundle-CkG1F8lG.js → bundle-DTzTjsP9.js} +2 -2
- package/cjs/chunks/bundle-DTzTjsP9.js.map +1 -0
- package/cjs/chunks/{bundle-C2yYR5hZ.js → bundle-DVY0zH22.js} +10 -10
- package/cjs/chunks/{bundle-C2yYR5hZ.js.map → bundle-DVY0zH22.js.map} +1 -1
- package/cjs/chunks/{bundle-BodKdXyG.js → bundle-DWUAobM0.js} +14 -14
- package/cjs/chunks/{bundle-BodKdXyG.js.map → bundle-DWUAobM0.js.map} +1 -1
- package/cjs/chunks/{bundle-DF3rT3ak.js → bundle-DY9u_IFU.js} +4 -4
- package/cjs/chunks/bundle-DY9u_IFU.js.map +1 -0
- package/cjs/chunks/{bundle-DTcE7Dci.js → bundle-DYS35hRn.js} +9 -9
- package/cjs/chunks/bundle-DYS35hRn.js.map +1 -0
- package/cjs/chunks/{bundle-qJ5-0bqN.js → bundle-DYVejIVZ.js} +3 -3
- package/cjs/chunks/bundle-DYVejIVZ.js.map +1 -0
- package/cjs/chunks/{bundle-WZOflhxA.js → bundle-D_gMAyu1.js} +2 -2
- package/cjs/chunks/{bundle-WZOflhxA.js.map → bundle-D_gMAyu1.js.map} +1 -1
- package/cjs/chunks/{bundle-DqysFYzQ.js → bundle-Dc2t5oT1.js} +2 -2
- package/cjs/chunks/bundle-Dc2t5oT1.js.map +1 -0
- package/cjs/chunks/{bundle-Dwy0Hf3u.js → bundle-Dgk9FZdP.js} +10 -10
- package/cjs/chunks/bundle-Dgk9FZdP.js.map +1 -0
- package/cjs/chunks/{bundle-DLg-6Upp.js → bundle-DoUWVfXt.js} +2 -2
- package/cjs/chunks/{bundle-DLg-6Upp.js.map → bundle-DoUWVfXt.js.map} +1 -1
- package/cjs/chunks/{bundle-BfzgaLQx.js → bundle-EG6qbvOb.js} +1 -1
- package/cjs/chunks/bundle-EG6qbvOb.js.map +1 -0
- package/cjs/chunks/{bundle-BbpNwwR8.js → bundle-E_Je42lT.js} +2 -2
- package/cjs/chunks/bundle-E_Je42lT.js.map +1 -0
- package/cjs/chunks/{bundle-CEMPv2S1.js → bundle-EwIUxN8I.js} +1 -1
- package/cjs/chunks/bundle-EwIUxN8I.js.map +1 -0
- package/cjs/chunks/{bundle-nu9oFcYy.js → bundle-QK-CXstg.js} +4 -4
- package/cjs/chunks/bundle-QK-CXstg.js.map +1 -0
- package/cjs/chunks/{bundle-KR9lSala.js → bundle-Rn1REAku.js} +3 -3
- package/cjs/chunks/bundle-Rn1REAku.js.map +1 -0
- package/cjs/chunks/{bundle-DLgX_uIA.js → bundle-SK7Moc76.js} +3 -3
- package/cjs/chunks/{bundle-DLgX_uIA.js.map → bundle-SK7Moc76.js.map} +1 -1
- package/cjs/chunks/{bundle-D_4vATFJ.js → bundle-W39lK1Kk.js} +1 -1
- package/cjs/chunks/bundle-W39lK1Kk.js.map +1 -0
- package/cjs/chunks/{bundle-Cn_c8gj0.js → bundle-ai_1yB2-.js} +8 -8
- package/cjs/chunks/{bundle-Cn_c8gj0.js.map → bundle-ai_1yB2-.js.map} +1 -1
- package/cjs/chunks/{bundle-CEN95Xmn.js → bundle-nAjjdr8R.js} +1 -1
- package/cjs/chunks/bundle-nAjjdr8R.js.map +1 -0
- package/cjs/chunks/{bundle-BYp2_-p_.js → bundle-pbdB8Hjo.js} +40 -9
- package/cjs/chunks/bundle-pbdB8Hjo.js.map +1 -0
- package/cjs/chunks/{bundle-udIHWjxi.js → bundle-sUHIAQuV.js} +1 -1
- package/cjs/chunks/bundle-sUHIAQuV.js.map +1 -0
- package/cjs/chunks/{bundle-xaau8Z4q.js → bundle-uvDH5Qcq.js} +1 -1
- package/cjs/chunks/bundle-uvDH5Qcq.js.map +1 -0
- package/cjs/chunks/{bundle-BxER_OfA.js → bundle-yl9X8uaX.js} +3 -3
- package/cjs/chunks/bundle-yl9X8uaX.js.map +1 -0
- package/cjs/chunks/{bundle-BruXgSj3.js → bundle-zzky2WM3.js} +1 -1
- package/cjs/chunks/bundle-zzky2WM3.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-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-D5O3p2sd.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-DmJV6gQD.js';
|
|
4
|
+
import { n as noop } from '../chunks/bundle-DU1sAKMN.js';
|
|
5
|
+
import { M as Modal } from '../chunks/bundle-BK1kBm4R.js';
|
|
6
|
+
export { a as MODAL_ROOT, b as ModalRoot } from '../chunks/bundle-BK1kBm4R.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-SR6DLu-t.js';
|
|
9
|
+
import '../chunks/bundle-Dal90qsH.js';
|
|
10
|
+
import '../chunks/bundle-BXtCWdlN.js';
|
|
11
|
+
import '../chunks/bundle-C1yuAXw9.js';
|
|
12
12
|
import '../ui/IconButton.js';
|
|
13
13
|
import '../ui/Button.js';
|
|
14
|
-
import '../chunks/bundle-
|
|
14
|
+
import '../chunks/bundle-D9r0cGat.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-Dal90qsH.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-BLcD7awq.js';
|
|
14
|
+
import './chunks/bundle-D5O3p2sd.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-DmJV6gQD.js';
|
|
19
|
+
import './chunks/bundle-DAyGLgqp.js';
|
|
20
|
+
import './chunks/bundle-Ly0drX6F.js';
|
|
21
21
|
import '@sendbird/chat';
|
|
22
|
-
import './chunks/bundle-
|
|
22
|
+
import './chunks/bundle-D9jjb4vl.js';
|
|
23
23
|
import '@sendbird/chat/openChannel';
|
|
24
24
|
import '@sendbird/chat/groupChannel';
|
|
25
|
-
import './chunks/bundle-
|
|
25
|
+
import './chunks/bundle-CwzTv0XS.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-DU1sAKMN.js';
|
|
28
|
+
import './chunks/bundle-KgsD7sHP.js';
|
|
29
|
+
import './chunks/bundle-hj2wCdHR.js';
|
|
30
|
+
import './chunks/bundle-xoAyfPjv.js';
|
|
31
31
|
import './VoiceRecorder/context.js';
|
|
32
|
-
import './chunks/bundle-
|
|
33
|
-
import './chunks/bundle-
|
|
34
|
-
import './chunks/bundle-
|
|
32
|
+
import './chunks/bundle-SR6DLu-t.js';
|
|
33
|
+
import './chunks/bundle-BXtCWdlN.js';
|
|
34
|
+
import './chunks/bundle-BK1kBm4R.js';
|
|
35
35
|
import 'react-dom';
|
|
36
|
-
import './chunks/bundle-
|
|
36
|
+
import './chunks/bundle-C1yuAXw9.js';
|
|
37
37
|
import './ui/IconButton.js';
|
|
38
38
|
import './ui/Button.js';
|
|
39
|
-
import './chunks/bundle-
|
|
39
|
+
import './chunks/bundle-D9r0cGat.js';
|
|
40
40
|
import './ui/Icon.js';
|
|
41
|
-
import './chunks/bundle-
|
|
41
|
+
import './chunks/bundle-D82-9DC8.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-B3YSUEgS.js';
|
|
49
|
+
import './chunks/bundle-DCUEuROU.js';
|
|
50
|
+
import './chunks/bundle-BggUR2rY.js';
|
|
51
|
+
import './chunks/bundle-DVw9N5gr.js';
|
|
52
|
+
import './chunks/bundle-BncIazvl.js';
|
|
53
|
+
import './chunks/bundle-mRKEMtyQ.js';
|
|
54
|
+
import './chunks/bundle-DmPACCke.js';
|
|
53
55
|
import './GroupChannel/components/GroupChannelUI.js';
|
|
54
|
-
import './chunks/bundle-
|
|
56
|
+
import './chunks/bundle-qGxP6Pc7.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-C_p9TOC_.js';
|
|
61
63
|
import './ui/ChannelAvatar.js';
|
|
62
|
-
import './chunks/bundle-
|
|
64
|
+
import './chunks/bundle-DjgD9t7D.js';
|
|
63
65
|
import './ui/ImageRenderer.js';
|
|
64
|
-
import './chunks/bundle-
|
|
65
|
-
import './chunks/bundle-
|
|
66
|
-
import './chunks/bundle-
|
|
66
|
+
import './chunks/bundle-VcVV1LMj.js';
|
|
67
|
+
import './chunks/bundle-CnNbY4d-.js';
|
|
68
|
+
import './chunks/bundle-BQvbZc7K.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-CTbKbzja.js';
|
|
72
|
+
import './chunks/bundle-BAdGwFBk.js';
|
|
73
|
+
import './chunks/bundle-C8iYQbFu.js';
|
|
72
74
|
import './Message/hooks/useDirtyGetMentions.js';
|
|
73
75
|
import './ui/DateSeparator.js';
|
|
74
|
-
import './chunks/bundle-
|
|
76
|
+
import './chunks/bundle-DFRQ-Oo2.js';
|
|
75
77
|
import './ui/MessageInput.js';
|
|
76
|
-
import './chunks/bundle-
|
|
77
|
-
import './chunks/bundle-
|
|
78
|
+
import './chunks/bundle-CHGpi0M7.js';
|
|
79
|
+
import './chunks/bundle-n75SbS1b.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-D2NwprR1.js';
|
|
82
|
+
import './chunks/bundle-_1Q-aBYk.js';
|
|
83
|
+
import './chunks/bundle-EgY839OD.js';
|
|
84
|
+
import './chunks/bundle-CnTDWHJx.js';
|
|
83
85
|
import './ui/MessageContent.js';
|
|
84
|
-
import './chunks/bundle-
|
|
85
|
-
import './chunks/bundle-
|
|
86
|
-
import './chunks/bundle-
|
|
86
|
+
import './chunks/bundle-CpIXjIkm.js';
|
|
87
|
+
import './chunks/bundle-BVp7_cQQ.js';
|
|
88
|
+
import './chunks/bundle-BjJPI7Sc.js';
|
|
87
89
|
import './ui/MessageItemMenu.js';
|
|
88
|
-
import './
|
|
89
|
-
import './ui/SortByRow.js';
|
|
90
|
-
import './chunks/bundle-C6MmX70M.js';
|
|
90
|
+
import './chunks/bundle-4hS7j-gs.js';
|
|
91
91
|
import './ui/MessageItemReactionMenu.js';
|
|
92
92
|
import './ui/ReactionButton.js';
|
|
93
|
-
import './chunks/bundle-
|
|
93
|
+
import './chunks/bundle-C2iUqETc.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-HB10teHo.js';
|
|
107
|
+
import './chunks/bundle-5OktsffG.js';
|
|
108
108
|
import './ui/ThreadReplies.js';
|
|
109
109
|
import './ui/OGMessageItemBody.js';
|
|
110
|
-
import './chunks/bundle-
|
|
110
|
+
import './chunks/bundle-D8mVQVHI.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-CnJ586P-.js';
|
|
117
|
+
import './chunks/bundle-DBqlfZ2d.js';
|
|
118
|
+
import './chunks/bundle-BhjIUcay.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-DIc-itow.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-CYV8zeeH.js';
|
|
135
135
|
import './GroupChannel/components/FileViewer.js';
|
|
136
|
-
import './chunks/bundle-
|
|
136
|
+
import './chunks/bundle-Kmel75IS.js';
|
|
137
137
|
import './GroupChannel/components/RemoveMessageModal.js';
|
|
138
|
-
import './chunks/bundle-
|
|
139
|
-
import './chunks/bundle-
|
|
138
|
+
import './chunks/bundle-C7Vg2sg7.js';
|
|
139
|
+
import './chunks/bundle-C7zPvb8E.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-CabpA5ei.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-DufKYoOA.js';
|
|
151
|
+
import './chunks/bundle-ac7nQTxZ.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-Ccrcu-lm.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-o68clRDX.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-XUXMq2yd.js';
|
|
167
167
|
import './CreateChannel.js';
|
|
168
168
|
import './CreateChannel/components/CreateChannelUI.js';
|
|
169
|
-
import './chunks/bundle-
|
|
169
|
+
import './chunks/bundle-TgWo1p5X.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-CaeGyC4L.js';
|
|
175
175
|
import './Thread/context/types.js';
|
|
176
|
-
import './chunks/bundle-
|
|
177
|
-
import './chunks/bundle-
|
|
176
|
+
import './chunks/bundle-DqzqAw0N.js';
|
|
177
|
+
import './chunks/bundle-CPj7I_Ht.js';
|
|
178
178
|
import './Thread/components/ThreadUI.js';
|
|
179
179
|
import './Thread/components/ParentMessageInfo.js';
|
|
180
|
-
import './chunks/bundle-
|
|
180
|
+
import './chunks/bundle-DIdcX_-2.js';
|
|
181
181
|
import './Thread/components/ParentMessageInfoItem.js';
|
|
182
|
-
import './chunks/bundle-
|
|
183
|
-
import './chunks/bundle-
|
|
182
|
+
import './chunks/bundle-D0kBwA_N.js';
|
|
183
|
+
import './chunks/bundle-BBFU4eTL.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-B0tCGD6H.js';
|
|
199
199
|
import './ui/Toggle.js';
|
|
200
200
|
import './ChannelSettings/components/UserListItem.js';
|
|
201
|
-
import './chunks/bundle-
|
|
201
|
+
import './chunks/bundle-CXhtYaaJ.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-hRWx3bGt.js';
|
|
205
|
+
import './chunks/bundle-Dg7p2p52.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-CXTic09W.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-BLA2XkKm.js';
|
|
218
218
|
import './Channel/components/MessageInput.js';
|
|
219
219
|
import './OpenChannel/components/OpenChannelUI.js';
|
|
220
|
-
import './chunks/bundle-
|
|
220
|
+
import './chunks/bundle-CfNFTpLH.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-DJ-85RBu.js';
|
|
228
|
+
import './chunks/bundle-BjIhMAvw.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-DohVktRn.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-DmPACCke.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-DmPACCke.js';
|
|
2
|
+
import { n as noop } from './chunks/bundle-DU1sAKMN.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 {};
|