@sendbird/uikit-react 3.14.0-beta.2 → 3.14.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 -79
- package/App.js.map +1 -1
- package/CHANGELOG.md +99 -8
- package/Channel/components/ChannelHeader.js +29 -29
- package/Channel/components/ChannelUI.js +65 -65
- package/Channel/components/FileViewer.js +28 -28
- package/Channel/components/FrozenNotification.js +5 -5
- package/Channel/components/Message.js +55 -55
- package/Channel/components/MessageInput.js +41 -41
- package/Channel/components/MessageInputWrapper.js +41 -41
- package/Channel/components/MessageList.js +58 -58
- 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 +21 -24
- package/Channel/context.js.map +1 -1
- 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 +65 -65
- 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 +24 -25
- package/ChannelSettings/components/ChannelSettingsUI.js.map +1 -1
- package/ChannelSettings/components/EditDetailsModal.js +14 -14
- package/ChannelSettings/components/LeaveChannel.js +11 -11
- package/ChannelSettings/components/ModerationPanel.js +22 -23
- package/ChannelSettings/components/ModerationPanel.js.map +1 -1
- package/ChannelSettings/components/UserListItem.js +13 -13
- package/ChannelSettings/components/UserPanel.js +20 -20
- package/ChannelSettings/context.js +3 -3
- package/ChannelSettings.js +22 -23
- package/ChannelSettings.js.map +1 -1
- 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 +57 -27
- package/GroupChannel/components/FileViewer.js.map +1 -1
- package/GroupChannel/components/FrozenNotification.js +5 -5
- package/GroupChannel/components/GroupChannelHeader.js +23 -22
- package/GroupChannel/components/GroupChannelHeader.js.map +1 -1
- package/GroupChannel/components/GroupChannelUI.js +60 -59
- package/GroupChannel/components/GroupChannelUI.js.map +1 -1
- package/GroupChannel/components/Message.js +55 -54
- package/GroupChannel/components/Message.js.map +1 -1
- package/GroupChannel/components/MessageInputWrapper.js +39 -38
- package/GroupChannel/components/MessageInputWrapper.js.map +1 -1
- package/GroupChannel/components/MessageList.js +53 -52
- package/GroupChannel/components/MessageList.js.map +1 -1
- package/GroupChannel/components/RemoveMessageModal.js +23 -22
- package/GroupChannel/components/RemoveMessageModal.js.map +1 -1
- 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 +29 -26
- package/GroupChannel/context.js.map +1 -1
- package/GroupChannel.js +60 -59
- package/GroupChannel.js.map +1 -1
- 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 +18 -19
- package/OpenChannelSettings/components/OpenChannelSettingsUI.js.map +1 -1
- package/OpenChannelSettings/components/OperatorUI.js +19 -20
- package/OpenChannelSettings/components/OperatorUI.js.map +1 -1
- package/OpenChannelSettings/components/ParticipantUI.js +17 -17
- package/OpenChannelSettings/context.js +3 -3
- package/OpenChannelSettings.js +19 -20
- package/OpenChannelSettings.js.map +1 -1
- package/SendbirdProvider.js +26 -48
- package/SendbirdProvider.js.map +1 -1
- package/Thread/components/ParentMessageInfo.js +78 -49
- package/Thread/components/ParentMessageInfo.js.map +1 -1
- package/Thread/components/ParentMessageInfoItem.js +74 -36
- 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 +112 -55
- package/Thread/components/ThreadListItem.js.map +1 -1
- package/Thread/components/ThreadMessageInput.js +43 -42
- package/Thread/components/ThreadMessageInput.js.map +1 -1
- 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-BJs_5v6q.js → bundle--v2l79xO.js} +2 -2
- package/chunks/{bundle-BJs_5v6q.js.map → bundle--v2l79xO.js.map} +1 -1
- package/chunks/{bundle-CF6PMu9B.js → bundle-65boKdRp.js} +1 -1
- package/chunks/bundle-65boKdRp.js.map +1 -0
- package/chunks/{bundle-BNydv1KA.js → bundle-B5vsennE.js} +6 -6
- package/chunks/bundle-B5vsennE.js.map +1 -0
- package/chunks/{bundle-CcTHgZqq.js → bundle-BFdttAaW.js} +1 -1
- package/chunks/{bundle-CcTHgZqq.js.map → bundle-BFdttAaW.js.map} +1 -1
- package/chunks/{bundle-D-cpJ5MP.js → bundle-BJxRm-OS.js} +1 -1
- package/chunks/bundle-BJxRm-OS.js.map +1 -0
- package/chunks/{bundle-BKG2cvZ9.js → bundle-BKYbtWkn.js} +3 -3
- package/chunks/bundle-BKYbtWkn.js.map +1 -0
- package/chunks/{bundle-GQqssfTX.js → bundle-BN9xM02J.js} +1 -1
- package/chunks/bundle-BN9xM02J.js.map +1 -0
- package/chunks/{bundle-CPszRkFg.js → bundle-BQoN_-_d.js} +1 -1
- package/chunks/bundle-BQoN_-_d.js.map +1 -0
- package/chunks/{bundle-DoLed6JB.js → bundle-BU3SRwZT.js} +1 -1
- package/chunks/bundle-BU3SRwZT.js.map +1 -0
- package/chunks/{bundle-CfKGkWtT.js → bundle-BUC4DRq0.js} +1 -1
- package/chunks/bundle-BUC4DRq0.js.map +1 -0
- package/chunks/{bundle-dw1OtCIz.js → bundle-Ba74MVBa.js} +2 -2
- package/chunks/{bundle-dw1OtCIz.js.map → bundle-Ba74MVBa.js.map} +1 -1
- package/chunks/{bundle-BNeRxCQA.js → bundle-BaMugzjD.js} +1 -1
- package/chunks/bundle-BaMugzjD.js.map +1 -0
- package/chunks/{bundle-C_n2Emjx.js → bundle-BbRFaX0l.js} +1 -1
- package/chunks/bundle-BbRFaX0l.js.map +1 -0
- package/chunks/{bundle-DvI4QhV3.js → bundle-BfvTBFop.js} +3 -3
- package/chunks/{bundle-DvI4QhV3.js.map → bundle-BfvTBFop.js.map} +1 -1
- package/chunks/{bundle-CcVFQEGF.js → bundle-BhXdj56o.js} +3 -3
- package/chunks/{bundle-CcVFQEGF.js.map → bundle-BhXdj56o.js.map} +1 -1
- package/chunks/{bundle-B2pNgmzq.js → bundle-BjWhPiF7.js} +3 -3
- package/chunks/bundle-BjWhPiF7.js.map +1 -0
- package/chunks/{bundle-cjTAVQxr.js → bundle-BsCYcxaN.js} +7 -7
- package/chunks/{bundle-cjTAVQxr.js.map → bundle-BsCYcxaN.js.map} +1 -1
- package/chunks/{bundle-CJIPD7gN.js → bundle-Bsg3ZeXI.js} +3 -3
- package/chunks/bundle-Bsg3ZeXI.js.map +1 -0
- package/chunks/{bundle-C8TvjQ68.js → bundle-BtLxIgDH.js} +10 -10
- package/chunks/{bundle-C8TvjQ68.js.map → bundle-BtLxIgDH.js.map} +1 -1
- package/chunks/{bundle-DCjOFMcr.js → bundle-Bu4CHE14.js} +4 -4
- package/chunks/bundle-Bu4CHE14.js.map +1 -0
- package/chunks/{bundle-aH4n4ipp.js → bundle-BubacXNL.js} +1 -1
- package/chunks/{bundle-aH4n4ipp.js.map → bundle-BubacXNL.js.map} +1 -1
- package/chunks/{bundle-rSEP1XoB.js → bundle-C-mS5Dam.js} +40 -9
- package/{cjs/chunks/bundle-B8jj7upa.js.map → chunks/bundle-C-mS5Dam.js.map} +1 -1
- package/chunks/{bundle-CbBN2HTx.js → bundle-C0fGI40C.js} +10 -10
- package/chunks/bundle-C0fGI40C.js.map +1 -0
- package/chunks/{bundle-CS7t26su.js → bundle-C4xjDmEt.js} +1 -1
- package/chunks/bundle-C4xjDmEt.js.map +1 -0
- package/chunks/{bundle-BJ9OAqWz.js → bundle-C5Wf2y_6.js} +1 -1
- package/chunks/bundle-C5Wf2y_6.js.map +1 -0
- package/chunks/{bundle-WwYLGAen.js → bundle-C8jQWzDU.js} +2 -2
- package/chunks/bundle-C8jQWzDU.js.map +1 -0
- package/chunks/{bundle-BFDyBk4r.js → bundle-CFYZBlok.js} +1 -1
- package/chunks/bundle-CFYZBlok.js.map +1 -0
- package/chunks/{bundle-Dicb9Y5f.js → bundle-CHtHakLU.js} +6 -6
- package/chunks/bundle-CHtHakLU.js.map +1 -0
- package/chunks/{bundle-azFrmmyK.js → bundle-CI-NOqgi.js} +10 -10
- package/chunks/{bundle-azFrmmyK.js.map → bundle-CI-NOqgi.js.map} +1 -1
- package/chunks/{bundle-BSPBjwR6.js → bundle-CIwNgqhu.js} +6 -6
- package/chunks/bundle-CIwNgqhu.js.map +1 -0
- package/chunks/{bundle-rfEyWmAm.js → bundle-CMax-oWd.js} +1 -1
- package/chunks/bundle-CMax-oWd.js.map +1 -0
- package/chunks/{bundle-XGYpSNOg.js → bundle-CThF5Krw.js} +5 -5
- package/chunks/{bundle-XGYpSNOg.js.map → bundle-CThF5Krw.js.map} +1 -1
- package/chunks/{bundle-BdZAuvN7.js → bundle-CVtMSwfw.js} +7 -7
- package/chunks/{bundle-BdZAuvN7.js.map → bundle-CVtMSwfw.js.map} +1 -1
- package/chunks/{bundle-DkRogqRS.js → bundle-CWVPqsi_.js} +3 -3
- package/chunks/bundle-CWVPqsi_.js.map +1 -0
- package/chunks/{bundle-C0LxowmB.js → bundle-CWYkDVsf.js} +3 -3
- package/chunks/{bundle-C0LxowmB.js.map → bundle-CWYkDVsf.js.map} +1 -1
- package/chunks/{bundle-C1RngQCJ.js → bundle-CYIneUd3.js} +9 -9
- package/chunks/bundle-CYIneUd3.js.map +1 -0
- package/chunks/{bundle-CTyr18ZN.js → bundle-CaUvCYOg.js} +3 -3
- package/chunks/{bundle-CTyr18ZN.js.map → bundle-CaUvCYOg.js.map} +1 -1
- package/chunks/{bundle-Bf5VthYV.js → bundle-CaYPuZ9G.js} +1 -1
- package/chunks/bundle-CaYPuZ9G.js.map +1 -0
- package/chunks/{bundle-D_KO6Orc.js → bundle-CfcfVkxG.js} +1 -1
- package/chunks/{bundle-D_KO6Orc.js.map → bundle-CfcfVkxG.js.map} +1 -1
- package/chunks/{bundle-BoezGGkX.js → bundle-Cl5_xPaV.js} +11 -11
- package/chunks/{bundle-BoezGGkX.js.map → bundle-Cl5_xPaV.js.map} +1 -1
- package/chunks/{bundle-PsMmoXV_.js → bundle-CmZPkDe1.js} +4 -4
- package/chunks/{bundle-PsMmoXV_.js.map → bundle-CmZPkDe1.js.map} +1 -1
- package/chunks/{bundle-DgJrJ2xn.js → bundle-CnzbHeuJ.js} +4 -4
- package/chunks/bundle-CnzbHeuJ.js.map +1 -0
- package/chunks/{bundle-GKCJ2hC_.js → bundle-Ct48juZF.js} +3 -3
- package/chunks/{bundle-GKCJ2hC_.js.map → bundle-Ct48juZF.js.map} +1 -1
- package/chunks/{bundle-BuIxT5aZ.js → bundle-CuD6w3tY.js} +1 -1
- package/chunks/bundle-CuD6w3tY.js.map +1 -0
- package/chunks/{bundle-Cvk0UZLW.js → bundle-CuW57Fa0.js} +4 -4
- package/chunks/{bundle-Cvk0UZLW.js.map → bundle-CuW57Fa0.js.map} +1 -1
- package/chunks/{bundle-DUTTSKO5.js → bundle-CvZD4CjF.js} +3 -3
- package/chunks/bundle-CvZD4CjF.js.map +1 -0
- package/chunks/{bundle-DnFiUPoR.js → bundle-CwINP854.js} +1 -1
- package/chunks/bundle-CwINP854.js.map +1 -0
- package/chunks/{bundle-BJgNc4do.js → bundle-Cy3rlDS2.js} +2 -2
- package/chunks/{bundle-BJgNc4do.js.map → bundle-Cy3rlDS2.js.map} +1 -1
- package/chunks/{bundle-CRLJsnLv.js → bundle-CznK5-Sd.js} +10 -10
- package/chunks/{bundle-CRLJsnLv.js.map → bundle-CznK5-Sd.js.map} +1 -1
- package/chunks/{bundle-By4sE23W.js → bundle-D4k3lbic.js} +8 -8
- package/chunks/{bundle-By4sE23W.js.map → bundle-D4k3lbic.js.map} +1 -1
- package/chunks/{bundle-D_X2Bqh-.js → bundle-D6_jF6vA.js} +2 -2
- package/chunks/bundle-D6_jF6vA.js.map +1 -0
- package/chunks/{bundle-C-_RpFyM.js → bundle-D81rUAiK.js} +3 -3
- package/chunks/bundle-D81rUAiK.js.map +1 -0
- package/chunks/{bundle-BUy5u56K.js → bundle-DF_LuHdb.js} +1 -1
- package/chunks/bundle-DF_LuHdb.js.map +1 -0
- package/chunks/{bundle-COGPgRK-.js → bundle-DKfCP7IG.js} +1 -1
- package/chunks/bundle-DKfCP7IG.js.map +1 -0
- package/chunks/{bundle-D56MXYqF.js → bundle-DMs2iFV3.js} +4 -4
- package/chunks/bundle-DMs2iFV3.js.map +1 -0
- package/chunks/{bundle-BPclYGwz.js → bundle-DO6PYt2s.js} +1 -1
- package/chunks/bundle-DO6PYt2s.js.map +1 -0
- package/chunks/{bundle-BvQAepkJ.js → bundle-DPSsFTo9.js} +1 -1
- package/chunks/bundle-DPSsFTo9.js.map +1 -0
- package/chunks/{bundle-DRIvYDIu.js → bundle-DRcme3Wk.js} +13 -12
- package/chunks/{bundle-DRIvYDIu.js.map → bundle-DRcme3Wk.js.map} +1 -1
- package/chunks/{bundle-Bys5RwQj.js → bundle-DcURn6BN.js} +2 -2
- package/chunks/bundle-DcURn6BN.js.map +1 -0
- package/chunks/{bundle-gSQF3Ob-.js → bundle-Don9PlYG.js} +1 -1
- package/chunks/bundle-Don9PlYG.js.map +1 -0
- package/chunks/{bundle-BH5rbsxO.js → bundle-DoqoSCJx.js} +1370 -120
- package/chunks/bundle-DoqoSCJx.js.map +1 -0
- package/chunks/{bundle-ynxAt7xC.js → bundle-DrjAD_2v.js} +1 -1
- package/chunks/bundle-DrjAD_2v.js.map +1 -0
- package/chunks/{bundle-RpPfSzD9.js → bundle-DuUoXuv1.js} +1 -1
- package/chunks/{bundle-RpPfSzD9.js.map → bundle-DuUoXuv1.js.map} +1 -1
- package/chunks/{bundle-DzuAq6CR.js → bundle-DzZlONIt.js} +2 -2
- package/chunks/bundle-DzZlONIt.js.map +1 -0
- package/chunks/{bundle-5okwu0-4.js → bundle-FVThTEKh.js} +5 -20
- package/chunks/{bundle-5okwu0-4.js.map → bundle-FVThTEKh.js.map} +1 -1
- package/chunks/{bundle-zf2ni0YJ.js → bundle-Go8RJZ6S.js} +16 -16
- package/chunks/bundle-Go8RJZ6S.js.map +1 -0
- package/chunks/{bundle-DRL21d0s.js → bundle-HQX6RTqS.js} +1 -1
- package/chunks/bundle-HQX6RTqS.js.map +1 -0
- package/chunks/{bundle-DXhynnjn.js → bundle-KeJ_rVJL.js} +1 -1
- package/chunks/{bundle-DXhynnjn.js.map → bundle-KeJ_rVJL.js.map} +1 -1
- package/chunks/{bundle-B0azZJiA.js → bundle-LL2dZ_t-.js} +14 -14
- package/chunks/{bundle-B0azZJiA.js.map → bundle-LL2dZ_t-.js.map} +1 -1
- package/chunks/{bundle-87W4GPnC.js → bundle-Y5rRHVbA.js} +1 -1
- package/chunks/bundle-Y5rRHVbA.js.map +1 -0
- package/chunks/{bundle-BhjXV0mk.js → bundle-YaC569om.js} +1 -1
- package/chunks/bundle-YaC569om.js.map +1 -0
- package/chunks/{bundle-DTDkmegk.js → bundle-aDOQN2rV.js} +1 -1
- package/chunks/bundle-aDOQN2rV.js.map +1 -0
- package/chunks/{bundle-N_XkA5JB.js → bundle-abfFo17w.js} +57 -63
- package/chunks/bundle-abfFo17w.js.map +1 -0
- package/chunks/{bundle-l_8hg8H3.js → bundle-c_OhpzFv.js} +2 -2
- package/chunks/bundle-c_OhpzFv.js.map +1 -0
- package/chunks/{bundle-BmPxXQ_C.js → bundle-gFk75Dds.js} +5 -5
- package/chunks/bundle-gFk75Dds.js.map +1 -0
- package/chunks/{bundle-DcOT2xg0.js → bundle-hWMpOZwq.js} +1 -1
- package/chunks/bundle-hWMpOZwq.js.map +1 -0
- package/chunks/{bundle-CwofYH9U.js → bundle-rA2Y0qFJ.js} +1 -1
- package/chunks/bundle-rA2Y0qFJ.js.map +1 -0
- package/chunks/{bundle-B1s46xJT.js → bundle-rGg9UI8F.js} +2 -2
- package/chunks/bundle-rGg9UI8F.js.map +1 -0
- package/chunks/bundle-v1dt12FL.js +16 -0
- package/chunks/bundle-v1dt12FL.js.map +1 -0
- package/chunks/{bundle-C4sUzPGS.js → bundle-vsdOwl6R.js} +3 -3
- package/chunks/bundle-vsdOwl6R.js.map +1 -0
- package/cjs/App.js +78 -79
- package/cjs/App.js.map +1 -1
- package/cjs/Channel/components/ChannelHeader.js +29 -29
- package/cjs/Channel/components/ChannelUI.js +65 -65
- package/cjs/Channel/components/FileViewer.js +28 -28
- package/cjs/Channel/components/FrozenNotification.js +5 -5
- package/cjs/Channel/components/Message.js +55 -55
- package/cjs/Channel/components/MessageInput.js +41 -41
- package/cjs/Channel/components/MessageInputWrapper.js +41 -41
- package/cjs/Channel/components/MessageList.js +58 -58
- 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 +21 -24
- package/cjs/Channel/context.js.map +1 -1
- 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 +65 -65
- 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 +22 -23
- package/cjs/ChannelSettings/components/ChannelSettingsUI.js.map +1 -1
- package/cjs/ChannelSettings/components/EditDetailsModal.js +14 -14
- package/cjs/ChannelSettings/components/LeaveChannel.js +11 -11
- package/cjs/ChannelSettings/components/ModerationPanel.js +22 -23
- package/cjs/ChannelSettings/components/ModerationPanel.js.map +1 -1
- 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 +22 -23
- package/cjs/ChannelSettings.js.map +1 -1
- 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 +57 -27
- package/cjs/GroupChannel/components/FileViewer.js.map +1 -1
- package/cjs/GroupChannel/components/FrozenNotification.js +5 -5
- package/cjs/GroupChannel/components/GroupChannelHeader.js +23 -22
- package/cjs/GroupChannel/components/GroupChannelHeader.js.map +1 -1
- package/cjs/GroupChannel/components/GroupChannelUI.js +60 -59
- package/cjs/GroupChannel/components/GroupChannelUI.js.map +1 -1
- package/cjs/GroupChannel/components/Message.js +55 -54
- package/cjs/GroupChannel/components/Message.js.map +1 -1
- package/cjs/GroupChannel/components/MessageInputWrapper.js +38 -37
- package/cjs/GroupChannel/components/MessageInputWrapper.js.map +1 -1
- package/cjs/GroupChannel/components/MessageList.js +53 -52
- package/cjs/GroupChannel/components/MessageList.js.map +1 -1
- package/cjs/GroupChannel/components/RemoveMessageModal.js +23 -22
- package/cjs/GroupChannel/components/RemoveMessageModal.js.map +1 -1
- 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 +29 -26
- package/cjs/GroupChannel/context.js.map +1 -1
- package/cjs/GroupChannel.js +60 -59
- package/cjs/GroupChannel.js.map +1 -1
- 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 +18 -19
- package/cjs/OpenChannelSettings/components/OpenChannelSettingsUI.js.map +1 -1
- package/cjs/OpenChannelSettings/components/OperatorUI.js +19 -20
- package/cjs/OpenChannelSettings/components/OperatorUI.js.map +1 -1
- package/cjs/OpenChannelSettings/components/ParticipantUI.js +17 -17
- package/cjs/OpenChannelSettings/context.js +3 -3
- package/cjs/OpenChannelSettings.js +19 -20
- package/cjs/OpenChannelSettings.js.map +1 -1
- package/cjs/SendbirdProvider.js +26 -48
- package/cjs/SendbirdProvider.js.map +1 -1
- package/cjs/Thread/components/ParentMessageInfo.js +78 -49
- package/cjs/Thread/components/ParentMessageInfo.js.map +1 -1
- package/cjs/Thread/components/ParentMessageInfoItem.js +74 -36
- 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 +112 -55
- package/cjs/Thread/components/ThreadListItem.js.map +1 -1
- package/cjs/Thread/components/ThreadMessageInput.js +43 -42
- package/cjs/Thread/components/ThreadMessageInput.js.map +1 -1
- 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-DxdzDF19.js → bundle--n4D2PVF.js} +2 -2
- package/cjs/chunks/bundle--n4D2PVF.js.map +1 -0
- package/cjs/chunks/{bundle-DUP4cxoZ.js → bundle-0NyPGfcV.js} +1 -1
- package/cjs/chunks/bundle-0NyPGfcV.js.map +1 -0
- package/cjs/chunks/{bundle-BsGXZt6G.js → bundle-1Lraxvfp.js} +3 -3
- package/cjs/chunks/bundle-1Lraxvfp.js.map +1 -0
- package/cjs/chunks/{bundle-BUOuk2jo.js → bundle-3ku2DsRp.js} +2 -2
- package/cjs/chunks/bundle-3ku2DsRp.js.map +1 -0
- package/cjs/chunks/{bundle-Q5_I3n-8.js → bundle-7SR3bIHI.js} +1 -1
- package/cjs/chunks/bundle-7SR3bIHI.js.map +1 -0
- package/cjs/chunks/{bundle-CsvKRjaK.js → bundle-B04GCotY.js} +1 -1
- package/cjs/chunks/bundle-B04GCotY.js.map +1 -0
- package/cjs/chunks/{bundle-DTjdtS4A.js → bundle-BAWPNqDt.js} +13 -12
- package/cjs/chunks/bundle-BAWPNqDt.js.map +1 -0
- package/cjs/chunks/{bundle-C2v2lxLx.js → bundle-BB5SwDry.js} +3 -3
- package/cjs/chunks/bundle-BB5SwDry.js.map +1 -0
- package/cjs/chunks/{bundle-1hCsXfVb.js → bundle-BDam-wvP.js} +1 -1
- package/cjs/chunks/{bundle-1hCsXfVb.js.map → bundle-BDam-wvP.js.map} +1 -1
- package/cjs/chunks/{bundle-7GCXhi1c.js → bundle-BHoDcZuM.js} +3 -3
- package/cjs/chunks/bundle-BHoDcZuM.js.map +1 -0
- package/cjs/chunks/{bundle-DJxxPTK5.js → bundle-BQ8kBY7P.js} +3 -3
- package/cjs/chunks/{bundle-DJxxPTK5.js.map → bundle-BQ8kBY7P.js.map} +1 -1
- package/cjs/chunks/{bundle-jdEKrUGh.js → bundle-BZwhrU6K.js} +1 -1
- package/cjs/chunks/bundle-BZwhrU6K.js.map +1 -0
- package/cjs/chunks/{bundle-6eXm5bOG.js → bundle-BaJn2YsZ.js} +1 -1
- package/cjs/chunks/bundle-BaJn2YsZ.js.map +1 -0
- package/cjs/chunks/{bundle-DREyIwSt.js → bundle-BdkEfjlQ.js} +10 -10
- package/cjs/chunks/{bundle-DREyIwSt.js.map → bundle-BdkEfjlQ.js.map} +1 -1
- package/cjs/chunks/{bundle-Dy6Gn-sd.js → bundle-Bqn5UkGf.js} +7 -7
- package/cjs/chunks/bundle-Bqn5UkGf.js.map +1 -0
- package/cjs/chunks/{bundle-C88DsCNB.js → bundle-BvwX2pXU.js} +3 -3
- package/cjs/chunks/bundle-BvwX2pXU.js.map +1 -0
- package/cjs/chunks/{bundle-BMsGwLym.js → bundle-BwuEkyq5.js} +1 -1
- package/cjs/chunks/bundle-BwuEkyq5.js.map +1 -0
- package/cjs/chunks/{bundle-BlvFC-Rm.js → bundle-Bx_5BAxl.js} +1 -1
- package/cjs/chunks/bundle-Bx_5BAxl.js.map +1 -0
- package/cjs/chunks/{bundle-BxaGZqGJ.js → bundle-ByUOxOjA.js} +3 -3
- package/cjs/chunks/bundle-ByUOxOjA.js.map +1 -0
- package/cjs/chunks/{bundle-FD0n8tOs.js → bundle-C1NORWsC.js} +4 -4
- package/cjs/chunks/bundle-C1NORWsC.js.map +1 -0
- package/cjs/chunks/{bundle-Y_FLyDnc.js → bundle-CDD7rA5D.js} +40 -9
- package/cjs/chunks/bundle-CDD7rA5D.js.map +1 -0
- package/cjs/chunks/{bundle-INETVVGE.js → bundle-CIoqC6d1.js} +1 -1
- package/cjs/chunks/bundle-CIoqC6d1.js.map +1 -0
- package/cjs/chunks/{bundle-qgvbJv89.js → bundle-CM2Yesst.js} +2 -2
- package/cjs/chunks/bundle-CM2Yesst.js.map +1 -0
- package/cjs/chunks/{bundle-tHnRbr7F.js → bundle-CYRD0mhW.js} +1 -1
- package/cjs/chunks/bundle-CYRD0mhW.js.map +1 -0
- package/cjs/chunks/{bundle-CqF06THu.js → bundle-CcICQ161.js} +1 -1
- package/cjs/chunks/{bundle-CqF06THu.js.map → bundle-CcICQ161.js.map} +1 -1
- package/cjs/chunks/{bundle-BF04PgMH.js → bundle-CcejNHwV.js} +1 -1
- package/cjs/chunks/bundle-CcejNHwV.js.map +1 -0
- package/cjs/chunks/{bundle-03LrACV2.js → bundle-CjPaNItW.js} +6 -6
- package/cjs/chunks/bundle-CjPaNItW.js.map +1 -0
- package/cjs/chunks/{bundle-BgLtZgZ_.js → bundle-Co8JsD2l.js} +1 -1
- package/cjs/chunks/bundle-Co8JsD2l.js.map +1 -0
- package/cjs/chunks/{bundle-CS644BJp.js → bundle-CpgiyizX.js} +1369 -119
- package/cjs/chunks/bundle-CpgiyizX.js.map +1 -0
- package/cjs/chunks/{bundle-DRFWOXrL.js → bundle-Cq1mLH5J.js} +1 -1
- package/cjs/chunks/bundle-Cq1mLH5J.js.map +1 -0
- package/cjs/chunks/{bundle-BwO19Jro.js → bundle-Crb55m_S.js} +3 -3
- package/cjs/chunks/bundle-Crb55m_S.js.map +1 -0
- package/cjs/chunks/{bundle-DX2BaZv_.js → bundle-Ctjr6ytm.js} +2 -2
- package/cjs/chunks/bundle-Ctjr6ytm.js.map +1 -0
- package/cjs/chunks/{bundle-Cyr1aQpR.js → bundle-Cv_3sQEK.js} +1 -1
- package/cjs/chunks/bundle-Cv_3sQEK.js.map +1 -0
- package/cjs/chunks/{bundle-BVgN7Stu.js → bundle-D1LOTtRp.js} +2 -2
- package/cjs/chunks/{bundle-BVgN7Stu.js.map → bundle-D1LOTtRp.js.map} +1 -1
- package/cjs/chunks/{bundle-tOZCSmZj.js → bundle-D2rrmfUO.js} +2 -2
- package/cjs/chunks/bundle-D2rrmfUO.js.map +1 -0
- package/cjs/chunks/{bundle-B8jj7upa.js → bundle-D69KMIe6.js} +4 -4
- package/cjs/chunks/bundle-D69KMIe6.js.map +1 -0
- package/cjs/chunks/{bundle-7FLBAmYO.js → bundle-DC4hSZ50.js} +2 -2
- package/cjs/chunks/{bundle-7FLBAmYO.js.map → bundle-DC4hSZ50.js.map} +1 -1
- package/cjs/chunks/{bundle-CmFB08Wf.js → bundle-DDm1Q65G.js} +3 -3
- package/cjs/chunks/bundle-DDm1Q65G.js.map +1 -0
- package/cjs/chunks/{bundle-B-dy_WYW.js → bundle-DJ64rHSo.js} +8 -8
- package/cjs/chunks/{bundle-B-dy_WYW.js.map → bundle-DJ64rHSo.js.map} +1 -1
- package/cjs/chunks/{bundle-dNtU9_eg.js → bundle-DOVeRCEG.js} +6 -6
- package/cjs/chunks/bundle-DOVeRCEG.js.map +1 -0
- package/cjs/chunks/{bundle-BH87xcnc.js → bundle-DSsqgxx7.js} +1 -1
- package/cjs/chunks/bundle-DSsqgxx7.js.map +1 -0
- package/cjs/chunks/{bundle-e6crA6HI.js → bundle-DTNXVmlf.js} +1 -1
- package/cjs/chunks/bundle-DTNXVmlf.js.map +1 -0
- package/cjs/chunks/{bundle-9K7l85xj.js → bundle-DUpA78AC.js} +4 -4
- package/cjs/chunks/bundle-DUpA78AC.js.map +1 -0
- package/cjs/chunks/{bundle-DjB9bkvD.js → bundle-DWVQJ2gC.js} +1 -1
- package/cjs/chunks/bundle-DWVQJ2gC.js.map +1 -0
- package/cjs/chunks/{bundle-BVuqbZx2.js → bundle-DWwL0a4W.js} +11 -11
- package/cjs/chunks/{bundle-BVuqbZx2.js.map → bundle-DWwL0a4W.js.map} +1 -1
- package/cjs/chunks/{bundle-B1Nml3ap.js → bundle-DYH-Fpti.js} +4 -19
- package/cjs/chunks/{bundle-B1Nml3ap.js.map → bundle-DYH-Fpti.js.map} +1 -1
- package/cjs/chunks/{bundle-BVLguSfh.js → bundle-Dcn5Xw_v.js} +4 -4
- package/cjs/chunks/{bundle-BVLguSfh.js.map → bundle-Dcn5Xw_v.js.map} +1 -1
- package/cjs/chunks/{bundle-CD9H6RqJ.js → bundle-Dg5cJzTw.js} +57 -63
- package/cjs/chunks/bundle-Dg5cJzTw.js.map +1 -0
- package/cjs/chunks/{bundle-BpOxHgfP.js → bundle-Dhc8aysm.js} +3 -3
- package/cjs/chunks/bundle-Dhc8aysm.js.map +1 -0
- package/cjs/chunks/{bundle-SIHqK2VF.js → bundle-DoE4Q2WU.js} +1 -1
- package/cjs/chunks/bundle-DoE4Q2WU.js.map +1 -0
- package/cjs/chunks/{bundle-ORLbcTP_.js → bundle-DsxetdDB.js} +1 -1
- package/cjs/chunks/bundle-DsxetdDB.js.map +1 -0
- package/cjs/chunks/{bundle-C8cnT2au.js → bundle-DvowIJM9.js} +9 -9
- package/cjs/chunks/bundle-DvowIJM9.js.map +1 -0
- package/cjs/chunks/{bundle-D1duSVks.js → bundle-L3CfQ_hg.js} +14 -14
- package/cjs/chunks/{bundle-D1duSVks.js.map → bundle-L3CfQ_hg.js.map} +1 -1
- package/cjs/chunks/{bundle-NU2voiKZ.js → bundle-LsedFW92.js} +2 -2
- package/cjs/chunks/bundle-LsedFW92.js.map +1 -0
- package/cjs/chunks/{bundle-BdHrSYl1.js → bundle-N_1Gt5W3.js} +4 -4
- package/cjs/chunks/bundle-N_1Gt5W3.js.map +1 -0
- package/cjs/chunks/{bundle-C9YHSQ4e.js → bundle-QN_dssGC.js} +1 -1
- package/cjs/chunks/bundle-QN_dssGC.js.map +1 -0
- package/cjs/chunks/{bundle-djPmP6bl.js → bundle-TEaGoE63.js} +5 -5
- package/cjs/chunks/bundle-TEaGoE63.js.map +1 -0
- package/cjs/chunks/{bundle-CDBTt08y.js → bundle-XORoItM6.js} +1 -1
- package/cjs/chunks/bundle-XORoItM6.js.map +1 -0
- package/cjs/chunks/{bundle-DgY0qwTL.js → bundle-ZARlfEpr.js} +5 -5
- package/cjs/chunks/bundle-ZARlfEpr.js.map +1 -0
- package/cjs/chunks/{bundle-CW9QUnWM.js → bundle-_KPYoqvO.js} +1 -1
- package/cjs/chunks/bundle-_KPYoqvO.js.map +1 -0
- package/cjs/chunks/{bundle-xvNVoWia.js → bundle-cFWnX4Tf.js} +6 -6
- package/cjs/chunks/bundle-cFWnX4Tf.js.map +1 -0
- package/cjs/chunks/{bundle-C9jXxNI1.js → bundle-gYlXAuPh.js} +7 -7
- package/cjs/chunks/bundle-gYlXAuPh.js.map +1 -0
- package/cjs/chunks/{bundle-JNAedgrE.js → bundle-hQ7iLiTN.js} +1 -1
- package/cjs/chunks/bundle-hQ7iLiTN.js.map +1 -0
- package/cjs/chunks/{bundle-BR23SbdZ.js → bundle-hVPEu0_c.js} +3 -3
- package/cjs/chunks/{bundle-BR23SbdZ.js.map → bundle-hVPEu0_c.js.map} +1 -1
- package/cjs/chunks/{bundle-f6dhmXLj.js → bundle-ioAYAc1x.js} +2 -2
- package/cjs/chunks/bundle-ioAYAc1x.js.map +1 -0
- package/cjs/chunks/bundle-k-Y_BM9m.js +18 -0
- package/cjs/chunks/bundle-k-Y_BM9m.js.map +1 -0
- package/cjs/chunks/{bundle-cf3-zuo6.js → bundle-lRPypcEP.js} +1 -1
- package/cjs/chunks/bundle-lRPypcEP.js.map +1 -0
- package/cjs/chunks/{bundle-DNP731Dg.js → bundle-lg2VZUfB.js} +16 -16
- package/cjs/chunks/bundle-lg2VZUfB.js.map +1 -0
- package/cjs/chunks/{bundle-DAVdWPDx.js → bundle-lwejARF-.js} +10 -10
- package/cjs/chunks/bundle-lwejARF-.js.map +1 -0
- package/cjs/chunks/{bundle-DfYperTC.js → bundle-mgZT4o2L.js} +1 -1
- package/cjs/chunks/bundle-mgZT4o2L.js.map +1 -0
- package/cjs/chunks/{bundle-8oxVWV_9.js → bundle-n7yqWnYc.js} +1 -1
- package/cjs/chunks/bundle-n7yqWnYc.js.map +1 -0
- package/cjs/chunks/{bundle-Cmmi9pdk.js → bundle-nbIOXEwY.js} +1 -1
- package/cjs/chunks/{bundle-Cmmi9pdk.js.map → bundle-nbIOXEwY.js.map} +1 -1
- package/cjs/chunks/{bundle-BR1tsZpK.js → bundle-pDTpawXd.js} +1 -1
- package/cjs/chunks/bundle-pDTpawXd.js.map +1 -0
- package/cjs/chunks/{bundle--ToWZ9cj.js → bundle-pJv3Q0cb.js} +1 -1
- package/cjs/chunks/bundle-pJv3Q0cb.js.map +1 -0
- package/cjs/chunks/{bundle-Dpu1gg5r.js → bundle-pW3_ob-0.js} +1 -1
- package/cjs/chunks/bundle-pW3_ob-0.js.map +1 -0
- package/cjs/chunks/{bundle-DcPTVUQJ.js → bundle-qc5egsO_.js} +3 -3
- package/cjs/chunks/bundle-qc5egsO_.js.map +1 -0
- package/cjs/chunks/{bundle-MFvyy6ar.js → bundle-sRcY6eTA.js} +10 -10
- package/cjs/chunks/{bundle-MFvyy6ar.js.map → bundle-sRcY6eTA.js.map} +1 -1
- package/cjs/chunks/{bundle-CIswYN43.js → bundle-vsCAD9Ej.js} +3 -3
- package/cjs/chunks/bundle-vsCAD9Ej.js.map +1 -0
- package/cjs/chunks/{bundle-B2cSnWcr.js → bundle-xOjjMFaY.js} +1 -1
- package/cjs/chunks/bundle-xOjjMFaY.js.map +1 -0
- package/cjs/chunks/{bundle-Bm5ysFU-.js → bundle-xn7uMkjF.js} +10 -10
- package/cjs/chunks/bundle-xn7uMkjF.js.map +1 -0
- package/cjs/hooks/useModal.js +9 -9
- package/cjs/index.js +82 -83
- package/cjs/index.js.map +1 -1
- package/cjs/pubSub/topics.js +1 -1
- package/cjs/sendbirdSelectors.js +2 -2
- package/cjs/ui/Accordion.js +28 -36
- package/cjs/ui/Accordion.js.map +1 -1
- package/cjs/ui/AccordionGroup.js +47 -11
- package/cjs/ui/AccordionGroup.js.map +1 -1
- 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 +29 -17
- package/cjs/ui/EmojiReactions.js.map +1 -1
- 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 +3 -3
- 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 +138 -114
- package/cjs/ui/MessageContent.js.map +1 -1
- package/cjs/ui/MessageFeedbackFailedModal.js +35 -0
- package/cjs/ui/MessageFeedbackFailedModal.js.map +1 -0
- package/cjs/{Channel/components → ui}/MessageFeedbackModal.js +13 -13
- 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 +2 -1
- package/cjs/ui/MessageTemplate.js.map +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 +19 -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 +143 -72
- 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 +17 -16
- 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 +142 -148
- package/dist/index.css.map +1 -1
- package/hooks/useModal.js +10 -10
- package/index.js +82 -83
- package/index.js.map +1 -1
- package/package.json +19 -19
- package/pubSub/topics.js +1 -1
- package/sendbirdSelectors.js +2 -2
- package/types/lib/dux/appInfo/initialState.d.ts +1 -0
- package/types/lib/types.d.ts +1 -0
- package/types/modules/ChannelSettings/components/ModerationPanel/index.d.ts +1 -1
- 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/components/MessageTemplateWrapper/index.d.ts +1 -1
- 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/types.d.ts +1 -2
- package/types/ui/Accordion/Accordion.d.ts +10 -0
- package/types/ui/Accordion/AccordionGroup.d.ts +15 -5
- package/types/ui/Accordion/index.d.ts +6 -12
- package/types/ui/Carousel/index.d.ts +2 -3
- package/types/ui/EmojiReactions/index.d.ts +1 -2
- 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 +5 -1
- package/types/ui/MessageContent/index.d.ts +3 -1
- package/types/{modules/Channel/components → ui}/MessageFeedbackModal/index.d.ts +1 -1
- package/types/ui/MessageItemMenu/index.d.ts +10 -2
- package/types/ui/MessageTemplate/index.d.ts +4 -3
- package/types/ui/MessageTemplate/messageTemplateErrorBoundary.d.ts +3 -0
- package/types/ui/MobileMenu/types.d.ts +2 -1
- package/types/ui/MultipleFilesMessageItemBody/index.d.ts +3 -1
- package/types/ui/TemplateMessageItemBody/index.d.ts +3 -2
- package/types/ui/TemplateMessageItemBody/types.d.ts +11 -12
- package/types/ui/UserListItem/index.d.ts +2 -1
- package/types/utils/getIsReactionEnabled.d.ts +5 -4
- package/types/utils/index.d.ts +0 -2
- package/ui/Accordion.js +28 -39
- package/ui/Accordion.js.map +1 -1
- package/ui/AccordionGroup.js +43 -12
- package/ui/AccordionGroup.js.map +1 -1
- 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 +29 -17
- package/ui/EmojiReactions.js.map +1 -1
- 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 +3 -3
- 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 +137 -113
- package/ui/MessageContent.js.map +1 -1
- package/ui/MessageFeedbackFailedModal.js +33 -0
- package/ui/MessageFeedbackFailedModal.js.map +1 -0
- package/{Channel/components → ui}/MessageFeedbackModal.js +13 -13
- 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 +2 -1
- package/ui/MessageTemplate.js.map +1 -1
- package/ui/MobileFeedbackMenu.js +9 -9
- package/ui/Modal.js +8 -8
- package/ui/MutedAvatarOverlay.js +2 -2
- package/ui/OGMessageItemBody.js +19 -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 +143 -72
- 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 +17 -16
- 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-87W4GPnC.js.map +0 -1
- package/chunks/bundle-B1s46xJT.js.map +0 -1
- package/chunks/bundle-B2pNgmzq.js.map +0 -1
- package/chunks/bundle-B5kwbUC5.js +0 -11
- package/chunks/bundle-B5kwbUC5.js.map +0 -1
- package/chunks/bundle-BFDyBk4r.js.map +0 -1
- package/chunks/bundle-BH5rbsxO.js.map +0 -1
- package/chunks/bundle-BJ9OAqWz.js.map +0 -1
- package/chunks/bundle-BKG2cvZ9.js.map +0 -1
- package/chunks/bundle-BNeRxCQA.js.map +0 -1
- package/chunks/bundle-BNydv1KA.js.map +0 -1
- package/chunks/bundle-BPclYGwz.js.map +0 -1
- package/chunks/bundle-BSPBjwR6.js.map +0 -1
- package/chunks/bundle-BUy5u56K.js.map +0 -1
- package/chunks/bundle-Bf5VthYV.js.map +0 -1
- package/chunks/bundle-BhjXV0mk.js.map +0 -1
- package/chunks/bundle-BmPxXQ_C.js.map +0 -1
- package/chunks/bundle-BuIxT5aZ.js.map +0 -1
- package/chunks/bundle-BvQAepkJ.js.map +0 -1
- package/chunks/bundle-Bys5RwQj.js.map +0 -1
- package/chunks/bundle-C-_RpFyM.js.map +0 -1
- package/chunks/bundle-C1RngQCJ.js.map +0 -1
- package/chunks/bundle-C4sUzPGS.js.map +0 -1
- package/chunks/bundle-CF6PMu9B.js.map +0 -1
- package/chunks/bundle-CJIPD7gN.js.map +0 -1
- package/chunks/bundle-COGPgRK-.js.map +0 -1
- package/chunks/bundle-CPszRkFg.js.map +0 -1
- package/chunks/bundle-CS7t26su.js.map +0 -1
- package/chunks/bundle-C_n2Emjx.js.map +0 -1
- package/chunks/bundle-CbBN2HTx.js.map +0 -1
- package/chunks/bundle-CfKGkWtT.js.map +0 -1
- package/chunks/bundle-CwofYH9U.js.map +0 -1
- package/chunks/bundle-D-cpJ5MP.js.map +0 -1
- package/chunks/bundle-D56MXYqF.js.map +0 -1
- package/chunks/bundle-DCjOFMcr.js.map +0 -1
- package/chunks/bundle-DRL21d0s.js.map +0 -1
- package/chunks/bundle-DTDkmegk.js.map +0 -1
- package/chunks/bundle-DUTTSKO5.js.map +0 -1
- package/chunks/bundle-D_X2Bqh-.js.map +0 -1
- package/chunks/bundle-DcOT2xg0.js.map +0 -1
- package/chunks/bundle-DgJrJ2xn.js.map +0 -1
- package/chunks/bundle-Dicb9Y5f.js.map +0 -1
- package/chunks/bundle-DkRogqRS.js.map +0 -1
- package/chunks/bundle-DnFiUPoR.js.map +0 -1
- package/chunks/bundle-DoLed6JB.js.map +0 -1
- package/chunks/bundle-DrfdRrEf.js +0 -12
- package/chunks/bundle-DrfdRrEf.js.map +0 -1
- package/chunks/bundle-DzuAq6CR.js.map +0 -1
- package/chunks/bundle-GQqssfTX.js.map +0 -1
- package/chunks/bundle-N_XkA5JB.js.map +0 -1
- package/chunks/bundle-WwYLGAen.js.map +0 -1
- package/chunks/bundle-gSQF3Ob-.js.map +0 -1
- package/chunks/bundle-l_8hg8H3.js.map +0 -1
- package/chunks/bundle-rSEP1XoB.js.map +0 -1
- package/chunks/bundle-rfEyWmAm.js.map +0 -1
- package/chunks/bundle-ynxAt7xC.js.map +0 -1
- package/chunks/bundle-zf2ni0YJ.js.map +0 -1
- package/cjs/chunks/bundle--ToWZ9cj.js.map +0 -1
- package/cjs/chunks/bundle-03LrACV2.js.map +0 -1
- package/cjs/chunks/bundle-6eXm5bOG.js.map +0 -1
- package/cjs/chunks/bundle-7GCXhi1c.js.map +0 -1
- package/cjs/chunks/bundle-8oxVWV_9.js.map +0 -1
- package/cjs/chunks/bundle-9K7l85xj.js.map +0 -1
- package/cjs/chunks/bundle-B2cSnWcr.js.map +0 -1
- package/cjs/chunks/bundle-BF04PgMH.js.map +0 -1
- package/cjs/chunks/bundle-BH87xcnc.js.map +0 -1
- package/cjs/chunks/bundle-BLh1DOSs.js +0 -15
- package/cjs/chunks/bundle-BLh1DOSs.js.map +0 -1
- package/cjs/chunks/bundle-BMsGwLym.js.map +0 -1
- package/cjs/chunks/bundle-BR1tsZpK.js.map +0 -1
- package/cjs/chunks/bundle-BUOuk2jo.js.map +0 -1
- package/cjs/chunks/bundle-BdHrSYl1.js.map +0 -1
- package/cjs/chunks/bundle-BgLtZgZ_.js.map +0 -1
- package/cjs/chunks/bundle-BlvFC-Rm.js.map +0 -1
- package/cjs/chunks/bundle-Bm5ysFU-.js.map +0 -1
- package/cjs/chunks/bundle-BpOxHgfP.js.map +0 -1
- package/cjs/chunks/bundle-BsGXZt6G.js.map +0 -1
- package/cjs/chunks/bundle-BwO19Jro.js.map +0 -1
- package/cjs/chunks/bundle-BxaGZqGJ.js.map +0 -1
- package/cjs/chunks/bundle-C2v2lxLx.js.map +0 -1
- package/cjs/chunks/bundle-C88DsCNB.js.map +0 -1
- package/cjs/chunks/bundle-C8cnT2au.js.map +0 -1
- package/cjs/chunks/bundle-C9YHSQ4e.js.map +0 -1
- package/cjs/chunks/bundle-C9jXxNI1.js.map +0 -1
- package/cjs/chunks/bundle-CCVRe_w3.js +0 -13
- package/cjs/chunks/bundle-CCVRe_w3.js.map +0 -1
- package/cjs/chunks/bundle-CD9H6RqJ.js.map +0 -1
- package/cjs/chunks/bundle-CDBTt08y.js.map +0 -1
- package/cjs/chunks/bundle-CIswYN43.js.map +0 -1
- package/cjs/chunks/bundle-CS644BJp.js.map +0 -1
- package/cjs/chunks/bundle-CW9QUnWM.js.map +0 -1
- package/cjs/chunks/bundle-CmFB08Wf.js.map +0 -1
- package/cjs/chunks/bundle-CsvKRjaK.js.map +0 -1
- package/cjs/chunks/bundle-Cyr1aQpR.js.map +0 -1
- package/cjs/chunks/bundle-DAVdWPDx.js.map +0 -1
- package/cjs/chunks/bundle-DNP731Dg.js.map +0 -1
- package/cjs/chunks/bundle-DRFWOXrL.js.map +0 -1
- package/cjs/chunks/bundle-DTjdtS4A.js.map +0 -1
- package/cjs/chunks/bundle-DUP4cxoZ.js.map +0 -1
- package/cjs/chunks/bundle-DX2BaZv_.js.map +0 -1
- package/cjs/chunks/bundle-DcPTVUQJ.js.map +0 -1
- package/cjs/chunks/bundle-DfYperTC.js.map +0 -1
- package/cjs/chunks/bundle-DgY0qwTL.js.map +0 -1
- package/cjs/chunks/bundle-DjB9bkvD.js.map +0 -1
- package/cjs/chunks/bundle-Dpu1gg5r.js.map +0 -1
- package/cjs/chunks/bundle-DxdzDF19.js.map +0 -1
- package/cjs/chunks/bundle-Dy6Gn-sd.js.map +0 -1
- package/cjs/chunks/bundle-FD0n8tOs.js.map +0 -1
- package/cjs/chunks/bundle-INETVVGE.js.map +0 -1
- package/cjs/chunks/bundle-JNAedgrE.js.map +0 -1
- package/cjs/chunks/bundle-NU2voiKZ.js.map +0 -1
- package/cjs/chunks/bundle-ORLbcTP_.js.map +0 -1
- package/cjs/chunks/bundle-Q5_I3n-8.js.map +0 -1
- package/cjs/chunks/bundle-SIHqK2VF.js.map +0 -1
- package/cjs/chunks/bundle-Y_FLyDnc.js.map +0 -1
- package/cjs/chunks/bundle-cf3-zuo6.js.map +0 -1
- package/cjs/chunks/bundle-dNtU9_eg.js.map +0 -1
- package/cjs/chunks/bundle-djPmP6bl.js.map +0 -1
- package/cjs/chunks/bundle-e6crA6HI.js.map +0 -1
- package/cjs/chunks/bundle-f6dhmXLj.js.map +0 -1
- package/cjs/chunks/bundle-jdEKrUGh.js.map +0 -1
- package/cjs/chunks/bundle-qgvbJv89.js.map +0 -1
- package/cjs/chunks/bundle-tHnRbr7F.js.map +0 -1
- package/cjs/chunks/bundle-tOZCSmZj.js.map +0 -1
- package/cjs/chunks/bundle-xvNVoWia.js.map +0 -1
- package/cjs/ui/Carousel.js +0 -254
- package/cjs/ui/Carousel.js.map +0 -1
- package/ui/Carousel.js +0 -249
- package/ui/Carousel.js.map +0 -1
- /package/cjs/{Channel/components → ui}/MessageFeedbackModal.js.map +0 -0
- /package/types/{modules/Channel/components → ui}/MessageFeedbackFailedModal/index.d.ts +0 -0
- /package/{Channel/components → ui}/MessageFeedbackModal.js.map +0 -0
|
@@ -1,13 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import './index.scss';
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
renderContent(): ReactElement;
|
|
9
|
-
renderFooter?(): ReactElement;
|
|
10
|
-
}
|
|
11
|
-
export default function Accordion({ className, id, renderTitle, renderContent, renderFooter, }: Props): ReactElement;
|
|
12
|
-
export declare const AccordionGroup: typeof AccordionGroup_;
|
|
13
|
-
export {};
|
|
3
|
+
import { Accordion } from './Accordion';
|
|
4
|
+
export default Accordion;
|
|
5
|
+
export declare const AccordionGroup: ({ className, children, allowMultipleOpen, }: import("./AccordionGroup").AccordionGroupProps) => import("react").JSX.Element;
|
|
6
|
+
export * from './Accordion';
|
|
7
|
+
export * from './AccordionGroup';
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import './index.scss';
|
|
2
|
-
import
|
|
2
|
+
import { ReactElement } from 'react';
|
|
3
3
|
interface CarouselProps {
|
|
4
4
|
id: string;
|
|
5
5
|
items: ReactElement[];
|
|
6
6
|
gap?: number;
|
|
7
|
-
classNameWithTouchAction?: string;
|
|
8
7
|
}
|
|
9
|
-
export declare
|
|
8
|
+
export declare function Carousel({ id, items, gap, }: CarouselProps): ReactElement;
|
|
10
9
|
export default Carousel;
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import './index.scss';
|
|
2
2
|
import { ReactElement } from 'react';
|
|
3
|
-
import type { EmojiContainer } from '@sendbird/chat';
|
|
3
|
+
import type { EmojiContainer, User } from '@sendbird/chat';
|
|
4
4
|
import type { GroupChannel } from '@sendbird/chat/groupChannel';
|
|
5
5
|
import { Nullable, SpaceFromTriggerType } from '../../types';
|
|
6
6
|
import { SendableMessageType } from '../../utils';
|
|
7
|
-
import { User } from '@sendbird/chat';
|
|
8
7
|
export interface EmojiReactionsProps {
|
|
9
8
|
className?: string | Array<string>;
|
|
10
9
|
userId: string;
|
|
@@ -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,15 @@ 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';
|
|
8
|
+
export type RenderedTemplateBodyType = 'failed' | 'composite' | 'simple';
|
|
7
9
|
export interface MessageBodyProps {
|
|
8
10
|
channel: Nullable<GroupChannel>;
|
|
9
11
|
message: CoreMessageType;
|
|
10
12
|
showFileViewer?: (bool: boolean) => void;
|
|
11
|
-
|
|
13
|
+
onTemplateMessageRenderedCallback?: (renderedTemplateBodyType: RenderedTemplateBodyType) => void;
|
|
14
|
+
onMessageHeightChange?: () => void;
|
|
15
|
+
onBeforeDownloadFileMessage?: OnBeforeDownloadFileMessageType;
|
|
12
16
|
mouseHover: boolean;
|
|
13
17
|
isMobile: boolean;
|
|
14
18
|
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 { CoreMessageType, SendableMessageType } from '../../utils';
|
|
7
8
|
import { GroupChannel } from '@sendbird/chat/groupChannel';
|
|
8
9
|
import { EmojiContainer } from '@sendbird/chat';
|
|
@@ -40,7 +41,8 @@ export interface MessageContentProps {
|
|
|
40
41
|
onQuoteMessageClick?: (props: {
|
|
41
42
|
message: SendableMessageType;
|
|
42
43
|
}) => void;
|
|
43
|
-
onMessageHeightChange?: (
|
|
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,6 +1,6 @@
|
|
|
1
1
|
import { ReactElement } from 'react';
|
|
2
2
|
import './index.scss';
|
|
3
|
-
import { CoreMessageType } from '
|
|
3
|
+
import { CoreMessageType } from '../../utils';
|
|
4
4
|
import { FeedbackRating } from '@sendbird/chat/message';
|
|
5
5
|
export interface MessageFeedbackModalProps {
|
|
6
6
|
selectedFeedback: FeedbackRating | undefined;
|
|
@@ -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;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { type ComponentsUnion } from '@sendbird/uikit-message-template';
|
|
3
3
|
import './index.scss';
|
|
4
4
|
export interface MessageTemplateProps {
|
|
5
|
-
|
|
5
|
+
templateVersion: number;
|
|
6
|
+
templateItems: ComponentsUnion['properties'][];
|
|
6
7
|
}
|
|
7
|
-
export declare function MessageTemplate({ templateItems }: MessageTemplateProps): React.JSX.Element;
|
|
8
|
+
export declare function MessageTemplate({ templateItems, templateVersion }: MessageTemplateProps): React.JSX.Element;
|
|
8
9
|
export default MessageTemplate;
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import { Component, ErrorInfo, ReactNode } from 'react';
|
|
2
2
|
import { LoggerInterface } from '../../lib/Logger';
|
|
3
|
+
import { RenderedTemplateBodyType } from '../MessageContent/MessageBody';
|
|
3
4
|
interface ErrorBoundaryProps {
|
|
4
5
|
children: ReactNode;
|
|
5
6
|
fallbackMessage: ReactNode;
|
|
7
|
+
onTemplateMessageRenderedCallback: (renderedTemplateBodyType: RenderedTemplateBodyType) => void;
|
|
8
|
+
isComposite?: boolean;
|
|
6
9
|
logger?: LoggerInterface;
|
|
7
10
|
}
|
|
8
11
|
interface ErrorBoundaryState {
|
|
@@ -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 {};
|
|
@@ -2,12 +2,13 @@ import './index.scss';
|
|
|
2
2
|
import { ReactElement } from 'react';
|
|
3
3
|
import type { BaseMessage } from '@sendbird/chat/message';
|
|
4
4
|
import { SendbirdTheme } from '../../types';
|
|
5
|
+
import { RenderedTemplateBodyType } from '../MessageContent/MessageBody';
|
|
5
6
|
interface TemplateMessageItemBodyProps {
|
|
6
7
|
className?: string | Array<string>;
|
|
7
8
|
message: BaseMessage;
|
|
8
9
|
isByMe?: boolean;
|
|
9
10
|
theme?: SendbirdTheme;
|
|
10
|
-
|
|
11
|
+
onTemplateMessageRenderedCallback?: (renderedTemplateBodyType: RenderedTemplateBodyType) => void;
|
|
11
12
|
}
|
|
12
|
-
export declare function TemplateMessageItemBody({ className, message, isByMe, theme, }: TemplateMessageItemBodyProps): ReactElement;
|
|
13
|
+
export declare function TemplateMessageItemBody({ className, message, isByMe, theme, onTemplateMessageRenderedCallback, }: TemplateMessageItemBodyProps): ReactElement;
|
|
13
14
|
export default TemplateMessageItemBody;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
import type { ViewStyle } from '@sendbird/uikit-message-template/src/types/styles';
|
|
1
|
+
import { ComponentsUnion, CompositeComponentType } from '@sendbird/uikit-message-template';
|
|
3
2
|
type SendbirdFontWeight = 'bold' | 'normal';
|
|
4
3
|
/**
|
|
5
4
|
* The value of each theme property contains both light and dark value with comma separated string
|
|
@@ -76,12 +75,11 @@ export type MessageTemplateTheme = {
|
|
|
76
75
|
};
|
|
77
76
|
};
|
|
78
77
|
};
|
|
79
|
-
export type MessageTemplateItem = ComponentsUnion['properties']
|
|
78
|
+
export type MessageTemplateItem = ComponentsUnion['properties'];
|
|
80
79
|
export interface CarouselItem {
|
|
81
|
-
type:
|
|
82
|
-
viewStyle?: ViewStyle;
|
|
80
|
+
type: CompositeComponentType.Carousel;
|
|
83
81
|
spacing: number;
|
|
84
|
-
items: string;
|
|
82
|
+
items: string | SendbirdUiTemplate[];
|
|
85
83
|
}
|
|
86
84
|
export type MessageTemplateData = SimpleTemplateData & {
|
|
87
85
|
view_variables?: Record<string, SimpleTemplateData[]>;
|
|
@@ -90,16 +88,17 @@ export type SimpleTemplateData = {
|
|
|
90
88
|
key: string;
|
|
91
89
|
variables?: Record<string, any>;
|
|
92
90
|
};
|
|
91
|
+
export interface SendbirdUiTemplate {
|
|
92
|
+
version: number;
|
|
93
|
+
body: {
|
|
94
|
+
items: MessageTemplateItem[];
|
|
95
|
+
};
|
|
96
|
+
}
|
|
93
97
|
export type SendbirdMessageTemplate = {
|
|
94
98
|
key: string;
|
|
95
99
|
created_at: number;
|
|
96
100
|
updated_at: number;
|
|
97
|
-
ui_template:
|
|
98
|
-
version: number;
|
|
99
|
-
body: {
|
|
100
|
-
items: MessageTemplateItem[];
|
|
101
|
-
};
|
|
102
|
-
};
|
|
101
|
+
ui_template: SendbirdUiTemplate;
|
|
103
102
|
name?: string;
|
|
104
103
|
color_variables?: Record<string, string>;
|
|
105
104
|
};
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { ChangeEvent, MutableRefObject, ReactElement } from 'react';
|
|
2
2
|
import { User } from '@sendbird/chat';
|
|
3
|
+
import { Member } from '@sendbird/chat/groupChannel';
|
|
3
4
|
import './index.scss';
|
|
4
5
|
export interface UserListItemProps {
|
|
5
|
-
user: User;
|
|
6
|
+
user: User | Member;
|
|
6
7
|
className?: string;
|
|
7
8
|
checked?: boolean;
|
|
8
9
|
checkBox?: boolean;
|
|
@@ -2,10 +2,11 @@
|
|
|
2
2
|
* This function helps consider the every condition
|
|
3
3
|
* related to enabling emoji reaction feature.
|
|
4
4
|
*/
|
|
5
|
+
import type { GroupChannel } from '@sendbird/chat/groupChannel';
|
|
6
|
+
import type { SendBirdStateConfig } from '../lib/types';
|
|
5
7
|
export interface IsReactionEnabledProps {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
globalLevel?: boolean;
|
|
8
|
+
channel: GroupChannel;
|
|
9
|
+
config: SendBirdStateConfig;
|
|
9
10
|
moduleLevel?: boolean;
|
|
10
11
|
}
|
|
11
|
-
export declare function getIsReactionEnabled({
|
|
12
|
+
export declare function getIsReactionEnabled({ channel, config, moduleLevel, }: IsReactionEnabledProps): boolean;
|
package/types/utils/index.d.ts
CHANGED
|
@@ -60,11 +60,9 @@ export declare const isMultipleFilesMessage: (message: CoreMessageType) => boole
|
|
|
60
60
|
export declare const isParentMessage: (message: CoreMessageType) => boolean;
|
|
61
61
|
export declare const isThreadMessage: (message: CoreMessageType) => boolean;
|
|
62
62
|
export declare const isTemplateMessage: (message: CoreMessageType) => boolean;
|
|
63
|
-
export declare const isCompositeTemplateMessage: (message: CoreMessageType) => boolean;
|
|
64
63
|
export declare enum UI_CONTAINER_TYPES {
|
|
65
64
|
DEFAULT = "",
|
|
66
65
|
WIDE = "ui_container_type__wide",
|
|
67
|
-
FULL = "ui_container_type__full",
|
|
68
66
|
DEFAULT_CAROUSEL = "ui_container_type__default-carousel"
|
|
69
67
|
}
|
|
70
68
|
export declare const getMessageContentMiddleClassNameByContainerType: ({ message, isMobile, }: {
|
package/ui/Accordion.js
CHANGED
|
@@ -1,47 +1,36 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import React__default, { useState } from 'react';
|
|
1
|
+
import React__default, { useMemo } from 'react';
|
|
3
2
|
import Icon, { IconTypes } from './Icon.js';
|
|
4
|
-
import
|
|
5
|
-
|
|
6
|
-
import '../chunks/bundle-
|
|
3
|
+
import { useAccordionGroupContext, AccordionGroupProvider } from './AccordionGroup.js';
|
|
4
|
+
export { AccordionGroupContext } from './AccordionGroup.js';
|
|
5
|
+
import '../chunks/bundle-CfcfVkxG.js';
|
|
6
|
+
import '../chunks/bundle-rA2Y0qFJ.js';
|
|
7
7
|
|
|
8
|
-
function
|
|
8
|
+
var Accordion = function (_a) {
|
|
9
9
|
var className = _a.className, id = _a.id, renderTitle = _a.renderTitle, renderContent = _a.renderContent, renderFooter = _a.renderFooter;
|
|
10
|
-
var _b =
|
|
11
|
-
return
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
if (id === opened) {
|
|
16
|
-
setShowAccordion(true);
|
|
10
|
+
var _b = useAccordionGroupContext(), openedListKeys = _b.openedListKeys, addOpenedListKey = _b.addOpenedListKey, removeOpenedListKey = _b.removeOpenedListKey;
|
|
11
|
+
var isOpened = useMemo(function () { return openedListKeys.includes(id); }, [openedListKeys]);
|
|
12
|
+
var handleClick = function () {
|
|
13
|
+
if (isOpened) {
|
|
14
|
+
removeOpenedListKey(id);
|
|
17
15
|
}
|
|
18
16
|
else {
|
|
19
|
-
|
|
17
|
+
addOpenedListKey(id);
|
|
20
18
|
}
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
React__default.createElement(Icon, { type: IconTypes.CHEVRON_RIGHT, className: [
|
|
35
|
-
'sendbird-accordion__panel-icon-right',
|
|
36
|
-
'sendbird-accordion__panel-icon--chevron',
|
|
37
|
-
(showAccordion ? 'sendbird-accordion__panel-icon--open' : ''),
|
|
38
|
-
].join(' '), height: "24px", width: "24px" })),
|
|
39
|
-
showAccordion && (React__default.createElement("div", { className: "sendbird-accordion" },
|
|
40
|
-
React__default.createElement("div", { className: "sendbird-accordion__list" }, renderContent()),
|
|
41
|
-
renderFooter && (React__default.createElement("div", { className: "sendbird-accordion__footer" }, renderFooter()))))));
|
|
42
|
-
}));
|
|
43
|
-
}
|
|
44
|
-
var AccordionGroup = AccordionGroup$1;
|
|
19
|
+
};
|
|
20
|
+
return (React__default.createElement("div", { className: "sendbird-accordion ".concat(className, " ").concat(isOpened ? 'sendbird-accordion--opened' : 'sendbird-accordion--closed') },
|
|
21
|
+
React__default.createElement("div", { className: "sendbird-accordion__panel-header", id: id, role: "switch", "aria-checked": false, onClick: handleClick, onKeyDown: handleClick, tabIndex: 0 },
|
|
22
|
+
renderTitle(),
|
|
23
|
+
React__default.createElement(Icon, { type: IconTypes.CHEVRON_RIGHT, className: [
|
|
24
|
+
'sendbird-accordion__panel-icon-right',
|
|
25
|
+
'sendbird-accordion__panel-icon--chevron',
|
|
26
|
+
(isOpened ? 'sendbird-accordion__panel-icon--open' : ''),
|
|
27
|
+
].join(' '), height: "24px", width: "24px" })),
|
|
28
|
+
isOpened && (React__default.createElement("div", { className: "sendbird-accordion-opened-list" },
|
|
29
|
+
React__default.createElement("div", { className: "sendbird-accordion__list" }, renderContent()),
|
|
30
|
+
renderFooter && (React__default.createElement("div", { className: "sendbird-accordion__footer" }, renderFooter()))))));
|
|
31
|
+
};
|
|
45
32
|
|
|
46
|
-
|
|
33
|
+
var AccordionGroup = AccordionGroupProvider;
|
|
34
|
+
|
|
35
|
+
export { Accordion, AccordionGroup, AccordionGroupProvider, Accordion as default, useAccordionGroupContext };
|
|
47
36
|
//# sourceMappingURL=Accordion.js.map
|
package/ui/Accordion.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Accordion.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Accordion.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/ui/AccordionGroup.js
CHANGED
|
@@ -1,15 +1,46 @@
|
|
|
1
|
-
import React__default, { useState } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import '../chunks/bundle-CwofYH9U.js';
|
|
1
|
+
import React__default, { createContext, useState, useContext } from 'react';
|
|
2
|
+
import { n as noop } from '../chunks/bundle-rA2Y0qFJ.js';
|
|
4
3
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
4
|
+
var AccordionGroupContext = createContext({
|
|
5
|
+
openedListKeys: [],
|
|
6
|
+
addOpenedListKey: noop,
|
|
7
|
+
removeOpenedListKey: noop,
|
|
8
|
+
clearOpenedListKeys: noop,
|
|
9
|
+
allowMultipleOpen: false,
|
|
10
|
+
});
|
|
11
|
+
var AccordionGroupProvider = function (_a) {
|
|
12
|
+
var className = _a.className, children = _a.children, _b = _a.allowMultipleOpen, allowMultipleOpen = _b === void 0 ? false : _b;
|
|
13
|
+
var _c = useState([]), openedListKeys = _c[0], setOpenedListKeys = _c[1];
|
|
14
|
+
var addOpenedListKey = function (key) {
|
|
15
|
+
setOpenedListKeys(function (prevList) {
|
|
16
|
+
if (!allowMultipleOpen) {
|
|
17
|
+
return [key];
|
|
18
|
+
}
|
|
19
|
+
prevList.push(key);
|
|
20
|
+
return prevList;
|
|
21
|
+
});
|
|
22
|
+
};
|
|
23
|
+
var removeOpenedListKey = function (key) {
|
|
24
|
+
setOpenedListKeys(function (prevList) { return prevList.filter(function (k) { return k !== key; }); });
|
|
25
|
+
};
|
|
26
|
+
var clearOpenedListKeys = function () {
|
|
27
|
+
setOpenedListKeys([]);
|
|
28
|
+
};
|
|
29
|
+
return (React__default.createElement("div", { className: "sendbird-accordion-group-provider ".concat(className) },
|
|
30
|
+
React__default.createElement(AccordionGroupContext.Provider, { value: {
|
|
31
|
+
openedListKeys: openedListKeys,
|
|
32
|
+
addOpenedListKey: addOpenedListKey,
|
|
33
|
+
removeOpenedListKey: removeOpenedListKey,
|
|
34
|
+
clearOpenedListKeys: clearOpenedListKeys,
|
|
35
|
+
allowMultipleOpen: allowMultipleOpen,
|
|
36
|
+
} }, children)));
|
|
37
|
+
};
|
|
38
|
+
var useAccordionGroupContext = function () {
|
|
39
|
+
var context = useContext(AccordionGroupContext);
|
|
40
|
+
if (!context)
|
|
41
|
+
throw new Error('No accordion group context available. Make sure you are rending <AccordionGroupContext />.');
|
|
42
|
+
return context;
|
|
43
|
+
};
|
|
13
44
|
|
|
14
|
-
export {
|
|
45
|
+
export { AccordionGroupContext, AccordionGroupProvider, AccordionGroupProvider as default, useAccordionGroupContext };
|
|
15
46
|
//# sourceMappingURL=AccordionGroup.js.map
|
package/ui/AccordionGroup.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AccordionGroup.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AccordionGroup.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/ui/AdminMessage.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { c as __spreadArray } from '../chunks/bundle-
|
|
1
|
+
import { c as __spreadArray } from '../chunks/bundle-CfcfVkxG.js';
|
|
2
2
|
import React__default from 'react';
|
|
3
|
-
import { L as Label, a as LabelTypography, b as LabelColors } from '../chunks/bundle-
|
|
4
|
-
import '../chunks/bundle-
|
|
3
|
+
import { L as Label, a as LabelTypography, b as LabelColors } from '../chunks/bundle-D81rUAiK.js';
|
|
4
|
+
import '../chunks/bundle-KeJ_rVJL.js';
|
|
5
5
|
|
|
6
6
|
function AdminMessage(_a) {
|
|
7
7
|
var _b;
|
package/ui/Avatar.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import '../chunks/bundle-
|
|
1
|
+
import '../chunks/bundle-CfcfVkxG.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import './ImageRenderer.js';
|
|
4
|
-
export { b as AvatarInner, A as default } from '../chunks/bundle-
|
|
5
|
-
import '../chunks/bundle-
|
|
6
|
-
import '../chunks/bundle-
|
|
4
|
+
export { b as AvatarInner, A as default } from '../chunks/bundle-vsdOwl6R.js';
|
|
5
|
+
import '../chunks/bundle-rA2Y0qFJ.js';
|
|
6
|
+
import '../chunks/bundle-DF_LuHdb.js';
|
|
7
7
|
import './Icon.js';
|
|
8
8
|
//# sourceMappingURL=Avatar.js.map
|
package/ui/Badge.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { c as __spreadArray } from '../chunks/bundle-
|
|
1
|
+
import { c as __spreadArray } from '../chunks/bundle-CfcfVkxG.js';
|
|
2
2
|
import React__default, { useContext } from 'react';
|
|
3
|
-
import { L as Label, a as LabelTypography, b as LabelColors } from '../chunks/bundle-
|
|
4
|
-
import { L as LocalizationContext } from '../chunks/bundle-
|
|
5
|
-
import '../chunks/bundle-
|
|
6
|
-
import '../chunks/bundle-
|
|
3
|
+
import { L as Label, a as LabelTypography, b as LabelColors } from '../chunks/bundle-D81rUAiK.js';
|
|
4
|
+
import { L as LocalizationContext } from '../chunks/bundle-Bsg3ZeXI.js';
|
|
5
|
+
import '../chunks/bundle-KeJ_rVJL.js';
|
|
6
|
+
import '../chunks/bundle-BFdttAaW.js';
|
|
7
7
|
|
|
8
8
|
function Badge(_a) {
|
|
9
9
|
var count = _a.count, _b = _a.maxLevel, maxLevel = _b === void 0 ? 2 : _b, _c = _a.className, className = _c === void 0 ? '' : _c;
|
package/ui/BottomSheet.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import React__default, { useRef } from 'react';
|
|
2
2
|
import { createPortal } from 'react-dom';
|
|
3
3
|
import '../hooks/useModal.js';
|
|
4
|
-
import { a as MODAL_ROOT } from '../chunks/bundle-
|
|
5
|
-
import '../chunks/bundle-
|
|
6
|
-
import '../chunks/bundle-
|
|
7
|
-
import '../chunks/bundle-
|
|
8
|
-
import '../chunks/bundle-
|
|
9
|
-
import '../chunks/bundle-
|
|
10
|
-
import '../chunks/bundle-
|
|
11
|
-
import '../chunks/bundle-
|
|
4
|
+
import { a as MODAL_ROOT } from '../chunks/bundle-CIwNgqhu.js';
|
|
5
|
+
import '../chunks/bundle-CfcfVkxG.js';
|
|
6
|
+
import '../chunks/bundle-BubacXNL.js';
|
|
7
|
+
import '../chunks/bundle-rA2Y0qFJ.js';
|
|
8
|
+
import '../chunks/bundle-Bsg3ZeXI.js';
|
|
9
|
+
import '../chunks/bundle-KeJ_rVJL.js';
|
|
10
|
+
import '../chunks/bundle-BFdttAaW.js';
|
|
11
|
+
import '../chunks/bundle-CuD6w3tY.js';
|
|
12
12
|
import './IconButton.js';
|
|
13
13
|
import './Button.js';
|
|
14
|
-
import '../chunks/bundle-
|
|
14
|
+
import '../chunks/bundle-D81rUAiK.js';
|
|
15
15
|
import './Icon.js';
|
|
16
16
|
|
|
17
17
|
var BottomSheet = function (props) {
|
package/ui/Button.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { c as __spreadArray } from '../chunks/bundle-
|
|
1
|
+
import { c as __spreadArray } from '../chunks/bundle-CfcfVkxG.js';
|
|
2
2
|
import React__default from 'react';
|
|
3
|
-
import { L as Label, a as LabelTypography, b as LabelColors } from '../chunks/bundle-
|
|
4
|
-
import '../chunks/bundle-
|
|
3
|
+
import { L as Label, a as LabelTypography, b as LabelColors } from '../chunks/bundle-D81rUAiK.js';
|
|
4
|
+
import '../chunks/bundle-KeJ_rVJL.js';
|
|
5
5
|
|
|
6
6
|
var ButtonTypes;
|
|
7
7
|
(function (ButtonTypes) {
|
package/ui/ChannelAvatar.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import React__default, { useMemo } from 'react';
|
|
2
|
-
import { A as Avatar } from '../chunks/bundle-
|
|
2
|
+
import { A as Avatar } from '../chunks/bundle-vsdOwl6R.js';
|
|
3
3
|
import Icon, { IconTypes, IconColors } from './Icon.js';
|
|
4
|
-
import { g as generateDefaultAvatar, a as getChannelAvatarSource } from '../chunks/bundle-
|
|
5
|
-
import '../chunks/bundle-
|
|
4
|
+
import { g as generateDefaultAvatar, a as getChannelAvatarSource } from '../chunks/bundle-DO6PYt2s.js';
|
|
5
|
+
import '../chunks/bundle-CfcfVkxG.js';
|
|
6
6
|
import './ImageRenderer.js';
|
|
7
|
-
import '../chunks/bundle-
|
|
8
|
-
import '../chunks/bundle-
|
|
7
|
+
import '../chunks/bundle-rA2Y0qFJ.js';
|
|
8
|
+
import '../chunks/bundle-DF_LuHdb.js';
|
|
9
9
|
|
|
10
10
|
function ChannelAvatar(_a) {
|
|
11
11
|
var channel = _a.channel, userId = _a.userId, theme = _a.theme, _b = _a.width, width = _b === void 0 ? 56 : _b, _c = _a.height, height = _c === void 0 ? 56 : _c;
|
package/ui/ConnectionStatus.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import React__default, { useContext } from 'react';
|
|
2
2
|
import Icon, { IconTypes, IconColors } from './Icon.js';
|
|
3
|
-
import { L as Label, a as LabelTypography, b as LabelColors } from '../chunks/bundle-
|
|
4
|
-
import { L as LocalizationContext } from '../chunks/bundle-
|
|
5
|
-
import '../chunks/bundle-
|
|
6
|
-
import '../chunks/bundle-
|
|
7
|
-
import '../chunks/bundle-
|
|
8
|
-
import '../chunks/bundle-
|
|
3
|
+
import { L as Label, a as LabelTypography, b as LabelColors } from '../chunks/bundle-D81rUAiK.js';
|
|
4
|
+
import { L as LocalizationContext } from '../chunks/bundle-Bsg3ZeXI.js';
|
|
5
|
+
import '../chunks/bundle-CfcfVkxG.js';
|
|
6
|
+
import '../chunks/bundle-rA2Y0qFJ.js';
|
|
7
|
+
import '../chunks/bundle-KeJ_rVJL.js';
|
|
8
|
+
import '../chunks/bundle-BFdttAaW.js';
|
|
9
9
|
|
|
10
10
|
function ConnectionStatus() {
|
|
11
11
|
var stringSet = useContext(LocalizationContext).stringSet;
|