@sendbird/uikit-react 3.14.4 → 3.14.6
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/.env +3 -0
- package/App.js +83 -83
- package/CHANGELOG.md +8 -0
- package/Channel/components/ChannelHeader.js +29 -29
- package/Channel/components/ChannelUI.js +63 -63
- package/Channel/components/FileViewer.js +29 -29
- package/Channel/components/FrozenNotification.js +6 -5
- package/Channel/components/FrozenNotification.js.map +1 -1
- package/Channel/components/Message.js +57 -54
- package/Channel/components/Message.js.map +1 -1
- package/Channel/components/MessageInput.js +46 -46
- package/Channel/components/MessageInputWrapper.js +41 -41
- package/Channel/components/MessageList.js +59 -59
- package/Channel/components/RemoveMessageModal.js +28 -28
- package/Channel/components/SuggestedMentionList.js +26 -26
- package/Channel/components/TypingIndicator.js +6 -6
- package/Channel/components/UnreadCount.js +7 -7
- package/Channel/context.js +107 -133
- package/Channel/context.js.map +1 -1
- package/Channel/hooks/useHandleUploadFiles.js +15 -15
- package/Channel/hooks/useInitialMessagesFetch.js +6 -6
- package/Channel/utils/compareMessagesForGrouping.js +4 -4
- package/Channel/utils/getMessagePartsInfo.js +8 -8
- package/Channel.js +63 -63
- package/ChannelList/components/AddChannel.js +22 -22
- package/ChannelList/components/ChannelListHeader.js +10 -10
- package/ChannelList/components/ChannelListUI.js +36 -36
- package/ChannelList/components/ChannelPreview.js +28 -28
- package/ChannelList/components/ChannelPreviewAction.js +13 -13
- package/ChannelList/context.js +9 -9
- package/ChannelList.js +35 -35
- package/ChannelSettings/components/ChannelProfile.js +20 -20
- package/ChannelSettings/components/ChannelSettingsHeader.js +8 -8
- package/ChannelSettings/components/ChannelSettingsUI.js +26 -26
- package/ChannelSettings/components/EditDetailsModal.js +32 -27
- package/ChannelSettings/components/EditDetailsModal.js.map +1 -1
- package/ChannelSettings/components/LeaveChannel.js +16 -16
- package/ChannelSettings/components/ModerationPanel.js +39 -36
- package/ChannelSettings/components/ModerationPanel.js.map +1 -1
- package/ChannelSettings/components/UserListItem.js +19 -19
- package/ChannelSettings/components/UserPanel.js +22 -22
- package/ChannelSettings/context.js +10 -5
- package/ChannelSettings/context.js.map +1 -1
- package/ChannelSettings.js +23 -23
- package/CreateChannel/components/CreateChannelUI.js +19 -19
- package/CreateChannel/components/InviteUsers.js +28 -31
- package/CreateChannel/components/InviteUsers.js.map +1 -1
- package/CreateChannel/components/SelectChannelType.js +16 -16
- package/CreateChannel/context.js +4 -4
- package/CreateChannel.js +18 -18
- package/CreateOpenChannel/components/CreateOpenChannelUI.js +26 -22
- package/CreateOpenChannel/components/CreateOpenChannelUI.js.map +1 -1
- package/CreateOpenChannel/context.js +10 -10
- package/CreateOpenChannel.js +16 -16
- package/EditUserProfile/components/EditUserProfileUI.js +26 -22
- package/EditUserProfile/components/EditUserProfileUI.js.map +1 -1
- package/EditUserProfile/context.js +12 -13
- package/EditUserProfile/context.js.map +1 -1
- package/EditUserProfile.js +17 -17
- package/GroupChannel/components/FileViewer.js +28 -29
- package/GroupChannel/components/FileViewer.js.map +1 -1
- package/GroupChannel/components/FrozenNotification.js +7 -6
- package/GroupChannel/components/FrozenNotification.js.map +1 -1
- package/GroupChannel/components/GroupChannelHeader.js +24 -24
- package/GroupChannel/components/GroupChannelUI.js +58 -58
- package/GroupChannel/components/Message.js +55 -52
- package/GroupChannel/components/Message.js.map +1 -1
- package/GroupChannel/components/MessageInputWrapper.js +41 -41
- package/GroupChannel/components/MessageList.js +53 -53
- package/GroupChannel/components/RemoveMessageModal.js +25 -25
- package/GroupChannel/components/SuggestedMentionList.js +12 -12
- package/GroupChannel/components/TypingIndicator.js +6 -6
- package/GroupChannel/components/UnreadCount.js +8 -8
- package/GroupChannel/context.js +39 -31
- package/GroupChannel/context.js.map +1 -1
- package/GroupChannel.js +58 -58
- package/GroupChannelList/components/AddGroupChannel.js +20 -20
- package/GroupChannelList/components/GroupChannelListHeader.js +11 -11
- package/GroupChannelList/components/GroupChannelListItem.js +26 -26
- package/GroupChannelList/components/GroupChannelListUI.js +35 -35
- package/GroupChannelList/components/GroupChannelPreviewAction.js +14 -14
- package/GroupChannelList/context.js +5 -5
- package/GroupChannelList.js +34 -34
- package/MessageSearch/components/MessageSearchUI.js +21 -22
- package/MessageSearch/components/MessageSearchUI.js.map +1 -1
- package/MessageSearch/context.js +18 -10
- package/MessageSearch/context.js.map +1 -1
- package/MessageSearch.js +24 -25
- package/MessageSearch.js.map +1 -1
- package/OpenChannel/components/FrozenChannelNotification.js +5 -5
- package/OpenChannel/components/OpenChannelHeader.js +20 -20
- package/OpenChannel/components/OpenChannelInput.js +26 -26
- package/OpenChannel/components/OpenChannelMessage.js +37 -37
- package/OpenChannel/components/OpenChannelMessageList.js +43 -42
- package/OpenChannel/components/OpenChannelMessageList.js.map +1 -1
- package/OpenChannel/components/OpenChannelUI.js +40 -40
- package/OpenChannel/context.js +19 -19
- package/OpenChannel.js +40 -40
- package/OpenChannelList/components/OpenChannelListUI.js +18 -18
- package/OpenChannelList/components/OpenChannelPreview.js +8 -8
- package/OpenChannelList/context.js +3 -3
- package/OpenChannelList.js +18 -18
- package/OpenChannelSettings/components/EditDetailsModal.js +34 -30
- package/OpenChannelSettings/components/EditDetailsModal.js.map +1 -1
- package/OpenChannelSettings/components/OpenChannelProfile.js +19 -19
- package/OpenChannelSettings/components/OpenChannelSettingsUI.js +22 -22
- package/OpenChannelSettings/components/OperatorUI.js +56 -49
- package/OpenChannelSettings/components/OperatorUI.js.map +1 -1
- package/OpenChannelSettings/components/ParticipantUI.js +18 -18
- package/OpenChannelSettings/context.js +10 -5
- package/OpenChannelSettings/context.js.map +1 -1
- package/OpenChannelSettings.js +20 -20
- package/SendbirdProvider.js +37 -43
- package/SendbirdProvider.js.map +1 -1
- package/Thread/components/ParentMessageInfo.js +52 -51
- package/Thread/components/ParentMessageInfo.js.map +1 -1
- package/Thread/components/ParentMessageInfoItem.js +43 -41
- package/Thread/components/ParentMessageInfoItem.js.map +1 -1
- package/Thread/components/ThreadHeader.js +9 -9
- package/Thread/components/ThreadList.js +48 -48
- package/Thread/components/ThreadListItem.js +56 -58
- package/Thread/components/ThreadListItem.js.map +1 -1
- package/Thread/components/ThreadMessageInput.js +46 -46
- package/Thread/components/ThreadUI.js +60 -58
- package/Thread/components/ThreadUI.js.map +1 -1
- package/Thread/context.js +28 -38
- package/Thread/context.js.map +1 -1
- package/Thread.js +56 -56
- package/VoicePlayer/context.js +3 -3
- package/VoicePlayer/useVoicePlayer.js +17 -17
- package/VoiceRecorder/context.js +13 -13
- package/VoiceRecorder/useVoiceRecorder.js +20 -20
- package/chunks/{bundle-Diqj6For.js → bundle-3Mubyujl.js} +1 -1
- package/chunks/bundle-3Mubyujl.js.map +1 -0
- package/chunks/{bundle-C1hw1sij.js → bundle-B-DnYw4p.js} +4 -4
- package/chunks/bundle-B-DnYw4p.js.map +1 -0
- package/chunks/{bundle-B5N2u5f-.js → bundle-B3nNazhn.js} +1 -1
- package/chunks/bundle-B3nNazhn.js.map +1 -0
- package/chunks/{bundle-h3a36twH.js → bundle-B3sFrr1p.js} +4 -4
- package/chunks/bundle-B3sFrr1p.js.map +1 -0
- package/chunks/{bundle-BTkRy0wv.js → bundle-B3xB7_P4.js} +6 -5
- package/chunks/{bundle-BTkRy0wv.js.map → bundle-B3xB7_P4.js.map} +1 -1
- package/chunks/{bundle-D_eJq5Xk.js → bundle-B4izwMfD.js} +1 -1
- package/chunks/bundle-B4izwMfD.js.map +1 -0
- package/chunks/{bundle-2uJIsyo2.js → bundle-B65gr4tC.js} +1 -1
- package/chunks/bundle-B65gr4tC.js.map +1 -0
- package/chunks/{bundle-DDkUg3Os.js → bundle-B9ue8vfn.js} +6 -5
- package/chunks/bundle-B9ue8vfn.js.map +1 -0
- package/chunks/{bundle-Jir4hfa9.js → bundle-BFa8UJ8b.js} +2 -2
- package/chunks/bundle-BFa8UJ8b.js.map +1 -0
- package/chunks/{bundle-DQFIz2Zf.js → bundle-BKVuhi2w.js} +1 -1
- package/chunks/bundle-BKVuhi2w.js.map +1 -0
- package/chunks/{bundle-CIwVkd-E.js → bundle-BMQLJ23N.js} +16 -11
- package/chunks/{bundle-CIwVkd-E.js.map → bundle-BMQLJ23N.js.map} +1 -1
- package/chunks/{bundle-D2i2ti1U.js → bundle-BRZDoZIQ.js} +3 -3
- package/chunks/bundle-BRZDoZIQ.js.map +1 -0
- package/chunks/{bundle-yZ1rqvSQ.js → bundle-BWiA6-mB.js} +3 -3
- package/chunks/{bundle-yZ1rqvSQ.js.map → bundle-BWiA6-mB.js.map} +1 -1
- package/chunks/{bundle-dC3DwujZ.js → bundle-BYyMnx0z.js} +2 -2
- package/chunks/bundle-BYyMnx0z.js.map +1 -0
- package/chunks/{bundle-CJk_QDUV.js → bundle-BaXke8XU.js} +3 -3
- package/chunks/bundle-BaXke8XU.js.map +1 -0
- package/chunks/{bundle-uBJzoaNT.js → bundle-Bd6fN8eX.js} +1 -1
- package/chunks/bundle-Bd6fN8eX.js.map +1 -0
- package/chunks/{bundle-CNJMLyGJ.js → bundle-BgL9QnGd.js} +5 -4
- package/chunks/bundle-BgL9QnGd.js.map +1 -0
- package/chunks/{bundle-BtY8jyVv.js → bundle-BiK_ngKm.js} +1 -1
- package/chunks/{bundle-BtY8jyVv.js.map → bundle-BiK_ngKm.js.map} +1 -1
- package/chunks/{bundle-Byig85JJ.js → bundle-BjTYwue9.js} +5 -5
- package/chunks/{bundle-Byig85JJ.js.map → bundle-BjTYwue9.js.map} +1 -1
- package/chunks/{bundle-CT8ZXUi2.js → bundle-Bmk2FVdj.js} +1 -1
- package/chunks/bundle-Bmk2FVdj.js.map +1 -0
- package/chunks/{bundle-DmYqVYeD.js → bundle-Boh0Ffwo.js} +1 -1
- package/chunks/bundle-Boh0Ffwo.js.map +1 -0
- package/chunks/{bundle-BZd5IHBF.js → bundle-C093wLqR.js} +10 -9
- package/{cjs/chunks/bundle-BTU876jx.js.map → chunks/bundle-C093wLqR.js.map} +1 -1
- package/chunks/{bundle-DJTSztr0.js → bundle-C3gISq8S.js} +31 -26
- package/chunks/bundle-C3gISq8S.js.map +1 -0
- package/chunks/{bundle-IGQYX_K1.js → bundle-C7Vw36CA.js} +1 -1
- package/chunks/{bundle-IGQYX_K1.js.map → bundle-C7Vw36CA.js.map} +1 -1
- package/chunks/{bundle-DQ2q-zNM.js → bundle-C8jE79mn.js} +1 -1
- package/chunks/bundle-C8jE79mn.js.map +1 -0
- package/chunks/{bundle-BvaqGh4L.js → bundle-CFgnDIJC.js} +1 -1
- package/chunks/bundle-CFgnDIJC.js.map +1 -0
- package/chunks/{bundle-C4Z-NWqF.js → bundle-CGmq3qGM.js} +25 -30
- package/chunks/bundle-CGmq3qGM.js.map +1 -0
- package/chunks/{bundle-BOSnopxk.js → bundle-COYqO05C.js} +1 -1
- package/chunks/bundle-COYqO05C.js.map +1 -0
- package/chunks/{bundle-ZsYMd8JA.js → bundle-COd0N3nE.js} +34 -30
- package/chunks/bundle-COd0N3nE.js.map +1 -0
- package/chunks/{bundle-_-vntp1z.js → bundle-COoyrRF6.js} +2 -1
- package/chunks/bundle-COoyrRF6.js.map +1 -0
- package/chunks/{bundle-QxUVt4Ms.js → bundle-CWXSCBTE.js} +1 -1
- package/chunks/bundle-CWXSCBTE.js.map +1 -0
- package/chunks/{bundle-BTD0sBED.js → bundle-CYknZObK.js} +6 -6
- package/chunks/{bundle-BTD0sBED.js.map → bundle-CYknZObK.js.map} +1 -1
- package/chunks/{bundle-B7barEsR.js → bundle-C_dNvBEo.js} +2 -4
- package/chunks/bundle-C_dNvBEo.js.map +1 -0
- package/chunks/{bundle-BAvMd_j0.js → bundle-CbFt9rKR.js} +6 -6
- package/chunks/bundle-CbFt9rKR.js.map +1 -0
- package/chunks/{bundle-C8im5l9B.js → bundle-Ce-B4ROs.js} +1 -1
- package/chunks/{bundle-C8im5l9B.js.map → bundle-Ce-B4ROs.js.map} +1 -1
- package/chunks/{bundle-DaoHZIZy.js → bundle-Ck_ke5Gq.js} +4 -4
- package/chunks/bundle-Ck_ke5Gq.js.map +1 -0
- package/chunks/{bundle-B__zC9zD.js → bundle-Cn6S1UKt.js} +11 -11
- package/chunks/bundle-Cn6S1UKt.js.map +1 -0
- package/chunks/{bundle-DXCQovsu.js → bundle-Cp2PKGXI.js} +18 -17
- package/chunks/{bundle-DXCQovsu.js.map → bundle-Cp2PKGXI.js.map} +1 -1
- package/chunks/{bundle-BWuyd0AD.js → bundle-CriEArZn.js} +1 -1
- package/chunks/bundle-CriEArZn.js.map +1 -0
- package/chunks/{bundle-Ci146LvO.js → bundle-Ct6xKrI3.js} +35 -38
- package/chunks/{bundle-k3XccyCm.js.map → bundle-Ct6xKrI3.js.map} +1 -1
- package/chunks/{bundle-BmTGlIgs.js → bundle-CttExrDx.js} +19 -35
- package/chunks/{bundle-BmTGlIgs.js.map → bundle-CttExrDx.js.map} +1 -1
- package/chunks/{bundle-CaaUNO3F.js → bundle-D1rcEkoi.js} +2 -2
- package/chunks/{bundle-CaaUNO3F.js.map → bundle-D1rcEkoi.js.map} +1 -1
- package/chunks/{bundle-BjrRhdgd.js → bundle-D5P54ZJi.js} +58 -50
- package/chunks/{bundle-BjrRhdgd.js.map → bundle-D5P54ZJi.js.map} +1 -1
- package/chunks/{bundle-BHn3F_OF.js → bundle-D9dyuFq0.js} +8 -8
- package/chunks/bundle-D9dyuFq0.js.map +1 -0
- package/chunks/{bundle-7oF7KbGv.js → bundle-DKkCwVCs.js} +1 -1
- package/chunks/{bundle-7oF7KbGv.js.map → bundle-DKkCwVCs.js.map} +1 -1
- package/chunks/{bundle-k3XccyCm.js → bundle-DKs8lowG.js} +40 -62
- package/{cjs/chunks/bundle-D6E8Fmnl.js.map → chunks/bundle-DKs8lowG.js.map} +1 -1
- package/chunks/{bundle-oCSRGy9i.js → bundle-DQZG-uS3.js} +6 -6
- package/chunks/bundle-DQZG-uS3.js.map +1 -0
- package/chunks/{bundle-Bi8Wfc2I.js → bundle-DQdztuN4.js} +62 -69
- package/chunks/{bundle-Bi8Wfc2I.js.map → bundle-DQdztuN4.js.map} +1 -1
- package/chunks/{bundle-DDhhxSv0.js → bundle-DYErcqMl.js} +2 -2
- package/chunks/bundle-DYErcqMl.js.map +1 -0
- package/chunks/{bundle-3amhHjNa.js → bundle-DYtgOX1c.js} +6 -6
- package/chunks/{bundle-3amhHjNa.js.map → bundle-DYtgOX1c.js.map} +1 -1
- package/chunks/{bundle-CD9AzC6s.js → bundle-DhBuJR0w.js} +3 -2
- package/chunks/bundle-DhBuJR0w.js.map +1 -0
- package/chunks/{bundle-BKho3Uub.js → bundle-Dk5y6RzJ.js} +1 -1
- package/chunks/bundle-Dk5y6RzJ.js.map +1 -0
- package/chunks/{bundle-C1ds4cil.js → bundle-DprHnWfH.js} +1 -1
- package/chunks/{bundle-C1ds4cil.js.map → bundle-DprHnWfH.js.map} +1 -1
- package/chunks/{bundle-9MhshueU.js → bundle-DuBg9tG9.js} +2 -2
- package/chunks/bundle-DuBg9tG9.js.map +1 -0
- package/chunks/{bundle-fRP_rTVb.js → bundle-DuRujwfr.js} +10 -10
- package/chunks/bundle-DuRujwfr.js.map +1 -0
- package/chunks/{bundle-afCfXO2C.js → bundle-Dv6nIlPZ.js} +7 -7
- package/chunks/bundle-Dv6nIlPZ.js.map +1 -0
- package/chunks/{bundle-DzxiMlgV.js → bundle-DvNDJy8Z.js} +2 -2
- package/chunks/bundle-DvNDJy8Z.js.map +1 -0
- package/chunks/{bundle-ByvmbZD0.js → bundle-Dw9nwO7e.js} +1 -1
- package/chunks/bundle-Dw9nwO7e.js.map +1 -0
- package/chunks/{bundle-BbWD2VuS.js → bundle-DwJ8HgZK.js} +7 -4
- package/chunks/{bundle-BZd5IHBF.js.map → bundle-DwJ8HgZK.js.map} +1 -1
- package/chunks/{bundle-BymWz1lX.js → bundle-EYdnditu.js} +5 -5
- package/chunks/bundle-EYdnditu.js.map +1 -0
- package/chunks/{bundle-BvG71y_P.js → bundle-EgWLYRXK.js} +1 -1
- package/chunks/bundle-EgWLYRXK.js.map +1 -0
- package/chunks/{bundle-DThbnyZd.js → bundle-FfoT30Gt.js} +1 -1
- package/chunks/bundle-FfoT30Gt.js.map +1 -0
- package/chunks/{bundle-DNMURwG9.js → bundle-GMapp_Tb.js} +9 -5
- package/chunks/bundle-GMapp_Tb.js.map +1 -0
- package/chunks/{bundle-B8gKMDtp.js → bundle-Ps1Qc3cX.js} +9 -3
- package/chunks/bundle-Ps1Qc3cX.js.map +1 -0
- package/chunks/{bundle-DSOf9RKe.js → bundle-QPuxH0uW.js} +1 -1
- package/chunks/bundle-QPuxH0uW.js.map +1 -0
- package/chunks/{bundle-Gx0ryc_f.js → bundle-RoB3xpYU.js} +3 -3
- package/chunks/bundle-RoB3xpYU.js.map +1 -0
- package/chunks/{bundle-CDwtSJbC.js → bundle-RuTR5KRM.js} +25 -17
- package/{cjs/chunks/bundle-Cgl5e8xs.js.map → chunks/bundle-RuTR5KRM.js.map} +1 -1
- package/chunks/{bundle-Clhqc2C_.js → bundle-U_oIvkG2.js} +3 -3
- package/chunks/bundle-U_oIvkG2.js.map +1 -0
- package/chunks/{bundle-DO1vNias.js → bundle-YUF6WfTL.js} +30 -33
- package/chunks/bundle-YUF6WfTL.js.map +1 -0
- package/chunks/{bundle-DpGWywZ5.js → bundle-ZBhGb8Lc.js} +2 -2
- package/chunks/bundle-ZBhGb8Lc.js.map +1 -0
- package/chunks/{bundle-DlfN5GTa.js → bundle-gH-X0MYD.js} +17 -16
- package/chunks/{bundle-DaAoUDJk.js.map → bundle-gH-X0MYD.js.map} +1 -1
- package/chunks/{bundle-C_Vyt_ii.js → bundle-gNs_MAJh.js} +1 -1
- package/chunks/bundle-gNs_MAJh.js.map +1 -0
- package/chunks/{bundle-HoQqraNc.js → bundle-h8I0AuUK.js} +2 -2
- package/chunks/bundle-h8I0AuUK.js.map +1 -0
- package/chunks/{bundle-BWCGFXhj.js → bundle-janisM9b.js} +7 -7
- package/chunks/{bundle-BWCGFXhj.js.map → bundle-janisM9b.js.map} +1 -1
- package/chunks/bundle-nfJ9J5Md.js +18 -0
- package/chunks/bundle-nfJ9J5Md.js.map +1 -0
- package/chunks/{bundle-LYAWKk4n.js → bundle-prXB4t_m.js} +3 -3
- package/chunks/bundle-prXB4t_m.js.map +1 -0
- package/chunks/{bundle-DaAoUDJk.js → bundle-sX9kxwmI.js} +11 -13
- package/chunks/{bundle-DlfN5GTa.js.map → bundle-sX9kxwmI.js.map} +1 -1
- package/chunks/{bundle-C040958G.js → bundle-t4qeDosj.js} +2 -2
- package/chunks/{bundle-C040958G.js.map → bundle-t4qeDosj.js.map} +1 -1
- package/chunks/{bundle-BJ46V6XQ.js → bundle-uIqOEfCa.js} +1 -1
- package/chunks/bundle-uIqOEfCa.js.map +1 -0
- package/chunks/{bundle--nVHk3fx.js → bundle-zwvszN0Y.js} +19 -16
- package/{cjs/chunks/bundle-BXEGf4g2.js.map → chunks/bundle-zwvszN0Y.js.map} +1 -1
- package/cjs/App.js +83 -83
- package/cjs/Channel/components/ChannelHeader.js +29 -29
- package/cjs/Channel/components/ChannelUI.js +63 -63
- package/cjs/Channel/components/FileViewer.js +29 -29
- package/cjs/Channel/components/FrozenNotification.js +6 -5
- package/cjs/Channel/components/FrozenNotification.js.map +1 -1
- package/cjs/Channel/components/Message.js +57 -54
- package/cjs/Channel/components/Message.js.map +1 -1
- package/cjs/Channel/components/MessageInput.js +46 -46
- package/cjs/Channel/components/MessageInputWrapper.js +41 -41
- package/cjs/Channel/components/MessageList.js +59 -59
- package/cjs/Channel/components/RemoveMessageModal.js +28 -28
- package/cjs/Channel/components/SuggestedMentionList.js +26 -26
- package/cjs/Channel/components/TypingIndicator.js +6 -6
- package/cjs/Channel/components/UnreadCount.js +7 -7
- package/cjs/Channel/context.js +107 -133
- package/cjs/Channel/context.js.map +1 -1
- package/cjs/Channel/hooks/useHandleUploadFiles.js +15 -15
- package/cjs/Channel/hooks/useInitialMessagesFetch.js +6 -6
- package/cjs/Channel/utils/compareMessagesForGrouping.js +4 -4
- package/cjs/Channel/utils/getMessagePartsInfo.js +8 -8
- package/cjs/Channel.js +63 -63
- package/cjs/ChannelList/components/AddChannel.js +22 -22
- package/cjs/ChannelList/components/ChannelListHeader.js +10 -10
- package/cjs/ChannelList/components/ChannelListUI.js +36 -36
- package/cjs/ChannelList/components/ChannelPreview.js +28 -28
- package/cjs/ChannelList/components/ChannelPreviewAction.js +13 -13
- package/cjs/ChannelList/context.js +9 -9
- package/cjs/ChannelList.js +35 -35
- package/cjs/ChannelSettings/components/ChannelProfile.js +20 -20
- package/cjs/ChannelSettings/components/ChannelSettingsHeader.js +8 -8
- package/cjs/ChannelSettings/components/ChannelSettingsUI.js +25 -25
- package/cjs/ChannelSettings/components/EditDetailsModal.js +32 -27
- package/cjs/ChannelSettings/components/EditDetailsModal.js.map +1 -1
- package/cjs/ChannelSettings/components/LeaveChannel.js +16 -16
- package/cjs/ChannelSettings/components/ModerationPanel.js +39 -36
- package/cjs/ChannelSettings/components/ModerationPanel.js.map +1 -1
- package/cjs/ChannelSettings/components/UserListItem.js +19 -19
- package/cjs/ChannelSettings/components/UserPanel.js +22 -22
- package/cjs/ChannelSettings/context.js +10 -5
- package/cjs/ChannelSettings/context.js.map +1 -1
- package/cjs/ChannelSettings.js +23 -23
- package/cjs/CreateChannel/components/CreateChannelUI.js +19 -19
- package/cjs/CreateChannel/components/InviteUsers.js +28 -31
- package/cjs/CreateChannel/components/InviteUsers.js.map +1 -1
- package/cjs/CreateChannel/components/SelectChannelType.js +16 -16
- package/cjs/CreateChannel/context.js +4 -4
- package/cjs/CreateChannel.js +18 -18
- package/cjs/CreateOpenChannel/components/CreateOpenChannelUI.js +26 -22
- package/cjs/CreateOpenChannel/components/CreateOpenChannelUI.js.map +1 -1
- package/cjs/CreateOpenChannel/context.js +10 -10
- package/cjs/CreateOpenChannel.js +16 -16
- package/cjs/EditUserProfile/components/EditUserProfileUI.js +26 -22
- package/cjs/EditUserProfile/components/EditUserProfileUI.js.map +1 -1
- package/cjs/EditUserProfile/context.js +11 -12
- package/cjs/EditUserProfile/context.js.map +1 -1
- package/cjs/EditUserProfile.js +17 -17
- package/cjs/GroupChannel/components/FileViewer.js +28 -29
- package/cjs/GroupChannel/components/FileViewer.js.map +1 -1
- package/cjs/GroupChannel/components/FrozenNotification.js +7 -6
- package/cjs/GroupChannel/components/FrozenNotification.js.map +1 -1
- package/cjs/GroupChannel/components/GroupChannelHeader.js +24 -24
- package/cjs/GroupChannel/components/GroupChannelUI.js +58 -58
- package/cjs/GroupChannel/components/Message.js +55 -52
- package/cjs/GroupChannel/components/Message.js.map +1 -1
- package/cjs/GroupChannel/components/MessageInputWrapper.js +40 -40
- package/cjs/GroupChannel/components/MessageList.js +53 -53
- package/cjs/GroupChannel/components/RemoveMessageModal.js +25 -25
- package/cjs/GroupChannel/components/SuggestedMentionList.js +12 -12
- package/cjs/GroupChannel/components/TypingIndicator.js +6 -6
- package/cjs/GroupChannel/components/UnreadCount.js +8 -8
- package/cjs/GroupChannel/context.js +39 -31
- package/cjs/GroupChannel/context.js.map +1 -1
- package/cjs/GroupChannel.js +58 -58
- package/cjs/GroupChannelList/components/AddGroupChannel.js +20 -20
- package/cjs/GroupChannelList/components/GroupChannelListHeader.js +11 -11
- package/cjs/GroupChannelList/components/GroupChannelListItem.js +26 -26
- package/cjs/GroupChannelList/components/GroupChannelListUI.js +35 -35
- package/cjs/GroupChannelList/components/GroupChannelPreviewAction.js +14 -14
- package/cjs/GroupChannelList/context.js +5 -5
- package/cjs/GroupChannelList.js +34 -34
- package/cjs/MessageSearch/components/MessageSearchUI.js +21 -22
- package/cjs/MessageSearch/components/MessageSearchUI.js.map +1 -1
- package/cjs/MessageSearch/context.js +18 -10
- package/cjs/MessageSearch/context.js.map +1 -1
- package/cjs/MessageSearch.js +24 -25
- package/cjs/MessageSearch.js.map +1 -1
- package/cjs/OpenChannel/components/FrozenChannelNotification.js +5 -5
- package/cjs/OpenChannel/components/OpenChannelHeader.js +20 -20
- package/cjs/OpenChannel/components/OpenChannelInput.js +26 -26
- package/cjs/OpenChannel/components/OpenChannelMessage.js +37 -37
- package/cjs/OpenChannel/components/OpenChannelMessageList.js +43 -42
- package/cjs/OpenChannel/components/OpenChannelMessageList.js.map +1 -1
- package/cjs/OpenChannel/components/OpenChannelUI.js +40 -40
- package/cjs/OpenChannel/context.js +19 -19
- package/cjs/OpenChannel.js +40 -40
- package/cjs/OpenChannelList/components/OpenChannelListUI.js +18 -18
- package/cjs/OpenChannelList/components/OpenChannelPreview.js +8 -8
- package/cjs/OpenChannelList/context.js +3 -3
- package/cjs/OpenChannelList.js +18 -18
- package/cjs/OpenChannelSettings/components/EditDetailsModal.js +34 -30
- package/cjs/OpenChannelSettings/components/EditDetailsModal.js.map +1 -1
- package/cjs/OpenChannelSettings/components/OpenChannelProfile.js +19 -19
- package/cjs/OpenChannelSettings/components/OpenChannelSettingsUI.js +22 -22
- package/cjs/OpenChannelSettings/components/OperatorUI.js +56 -49
- package/cjs/OpenChannelSettings/components/OperatorUI.js.map +1 -1
- package/cjs/OpenChannelSettings/components/ParticipantUI.js +18 -18
- package/cjs/OpenChannelSettings/context.js +10 -5
- package/cjs/OpenChannelSettings/context.js.map +1 -1
- package/cjs/OpenChannelSettings.js +20 -20
- package/cjs/SendbirdProvider.js +37 -43
- package/cjs/SendbirdProvider.js.map +1 -1
- package/cjs/Thread/components/ParentMessageInfo.js +52 -51
- package/cjs/Thread/components/ParentMessageInfo.js.map +1 -1
- package/cjs/Thread/components/ParentMessageInfoItem.js +43 -41
- package/cjs/Thread/components/ParentMessageInfoItem.js.map +1 -1
- package/cjs/Thread/components/ThreadHeader.js +9 -9
- package/cjs/Thread/components/ThreadList.js +48 -48
- package/cjs/Thread/components/ThreadListItem.js +56 -58
- package/cjs/Thread/components/ThreadListItem.js.map +1 -1
- package/cjs/Thread/components/ThreadMessageInput.js +46 -46
- package/cjs/Thread/components/ThreadUI.js +60 -58
- package/cjs/Thread/components/ThreadUI.js.map +1 -1
- package/cjs/Thread/context.js +28 -38
- 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 +16 -16
- package/cjs/VoiceRecorder/context.js +13 -13
- package/cjs/VoiceRecorder/useVoiceRecorder.js +20 -20
- package/cjs/chunks/{bundle-7UHC8ujA.js → bundle-0t_JDxef.js} +6 -5
- package/cjs/chunks/{bundle-7UHC8ujA.js.map → bundle-0t_JDxef.js.map} +1 -1
- package/cjs/chunks/{bundle-D-qAbZhp.js → bundle-133JUAh1.js} +4 -4
- package/cjs/chunks/bundle-133JUAh1.js.map +1 -0
- package/cjs/chunks/{bundle-DeQZn8GZ.js → bundle-13qq2yWM.js} +10 -10
- package/cjs/chunks/bundle-13qq2yWM.js.map +1 -0
- package/cjs/chunks/{bundle-BWGOXLHb.js → bundle-1A4pOyri.js} +1 -1
- package/cjs/chunks/{bundle-BWGOXLHb.js.map → bundle-1A4pOyri.js.map} +1 -1
- package/cjs/chunks/{bundle-BjgfoBVC.js → bundle-6_B00yYz.js} +1 -1
- package/cjs/chunks/bundle-6_B00yYz.js.map +1 -0
- package/cjs/chunks/{bundle-Cgl5e8xs.js → bundle-6aemRbmn.js} +18 -17
- package/{chunks/bundle-CDwtSJbC.js.map → cjs/chunks/bundle-6aemRbmn.js.map} +1 -1
- package/cjs/chunks/{bundle-Dehhi1FZ.js → bundle-7CEyuoln.js} +1 -1
- package/cjs/chunks/bundle-7CEyuoln.js.map +1 -0
- package/cjs/chunks/{bundle-DAIf7fWo.js → bundle-86A5Bf9J.js} +9 -3
- package/cjs/chunks/bundle-86A5Bf9J.js.map +1 -0
- package/cjs/chunks/{bundle-BLc7P6Sp.js → bundle-A_xDyoq6.js} +30 -33
- package/{chunks/bundle-DO1vNias.js.map → cjs/chunks/bundle-A_xDyoq6.js.map} +1 -1
- package/cjs/chunks/{bundle-CLOaQmX9.js → bundle-B1Ql7yM0.js} +2 -2
- package/cjs/chunks/bundle-B1Ql7yM0.js.map +1 -0
- package/cjs/chunks/{bundle-Tjx9wNAv.js → bundle-B2WuxwoH.js} +2 -2
- package/cjs/chunks/bundle-B2WuxwoH.js.map +1 -0
- package/cjs/chunks/{bundle-CE6bFQmu.js → bundle-BBsKv3Vz.js} +6 -5
- package/cjs/chunks/bundle-BBsKv3Vz.js.map +1 -0
- package/cjs/chunks/{bundle-DTCz0BH1.js → bundle-BE-L5873.js} +19 -16
- package/cjs/chunks/bundle-BE-L5873.js.map +1 -0
- package/cjs/chunks/{bundle-X03vJTEw.js → bundle-BE1dAigY.js} +6 -6
- package/cjs/chunks/bundle-BE1dAigY.js.map +1 -0
- package/cjs/chunks/{bundle-BaAUvjl9.js → bundle-BFy8_d3W.js} +1 -1
- package/cjs/chunks/bundle-BFy8_d3W.js.map +1 -0
- package/cjs/chunks/{bundle-DRy7eNJ0.js → bundle-BK_SqbHE.js} +1 -1
- package/cjs/chunks/bundle-BK_SqbHE.js.map +1 -0
- package/cjs/chunks/{bundle-B-olJv7b.js → bundle-BLs0JcXs.js} +62 -69
- package/cjs/chunks/{bundle-B-olJv7b.js.map → bundle-BLs0JcXs.js.map} +1 -1
- package/cjs/chunks/{bundle-gtkPlUrw.js → bundle-BNMoxGCr.js} +1 -1
- package/cjs/chunks/bundle-BNMoxGCr.js.map +1 -0
- package/cjs/chunks/{bundle-DfcEln0Z.js → bundle-BNzVVkzd.js} +3 -1
- package/cjs/chunks/bundle-BNzVVkzd.js.map +1 -0
- package/cjs/chunks/{bundle-N_CwOE5a.js → bundle-BPV3CKzS.js} +30 -25
- package/cjs/chunks/bundle-BPV3CKzS.js.map +1 -0
- package/cjs/chunks/{bundle-miB6ue8g.js → bundle-Bgeq75IH.js} +3 -3
- package/cjs/chunks/bundle-Bgeq75IH.js.map +1 -0
- package/cjs/chunks/{bundle-DRp9IuV2.js → bundle-BimsU_nb.js} +2 -1
- package/cjs/chunks/bundle-BimsU_nb.js.map +1 -0
- package/cjs/chunks/{bundle-_ekaw3iI.js → bundle-BtsHzLKX.js} +2 -2
- package/cjs/chunks/bundle-BtsHzLKX.js.map +1 -0
- package/cjs/chunks/{bundle-Com-Z-XI.js → bundle-Bvsx1m1J.js} +1 -1
- package/cjs/chunks/bundle-Bvsx1m1J.js.map +1 -0
- package/cjs/chunks/{bundle-Dnq2YP_l.js → bundle-Bw1ttM89.js} +3 -3
- package/cjs/chunks/bundle-Bw1ttM89.js.map +1 -0
- package/cjs/chunks/{bundle-T4lp5F85.js → bundle-BzyQ6Vof.js} +1 -1
- package/cjs/chunks/bundle-BzyQ6Vof.js.map +1 -0
- package/cjs/chunks/{bundle-Q4icQ1qH.js → bundle-C1YuUjH3.js} +6 -6
- package/cjs/chunks/bundle-C1YuUjH3.js.map +1 -0
- package/cjs/chunks/{bundle-B31bbem0.js → bundle-C4Gs08vJ.js} +34 -30
- package/cjs/chunks/bundle-C4Gs08vJ.js.map +1 -0
- package/cjs/chunks/{bundle-DAxedY0T.js → bundle-CA69fSDI.js} +2 -2
- package/cjs/chunks/bundle-CA69fSDI.js.map +1 -0
- package/cjs/chunks/{bundle-D4aDRH9m.js → bundle-CBNBRNN0.js} +1 -1
- package/cjs/chunks/bundle-CBNBRNN0.js.map +1 -0
- package/cjs/chunks/{bundle-Bi-soOXA.js → bundle-CCYpnzRf.js} +58 -50
- package/{chunks/bundle-C4Z-NWqF.js.map → cjs/chunks/bundle-CCYpnzRf.js.map} +1 -1
- package/cjs/chunks/{bundle-DQy218lT.js → bundle-CHvJg3bD.js} +1 -1
- package/cjs/chunks/bundle-CHvJg3bD.js.map +1 -0
- package/cjs/chunks/{bundle-DdxJqNSP.js → bundle-CI1zoEKe.js} +1 -1
- package/cjs/chunks/bundle-CI1zoEKe.js.map +1 -0
- package/cjs/chunks/{bundle-ByyccRIt.js → bundle-CJk1q-XX.js} +25 -17
- package/cjs/chunks/{bundle-ByyccRIt.js.map → bundle-CJk1q-XX.js.map} +1 -1
- package/cjs/chunks/{bundle-C51HeaX4.js → bundle-CL4Kklzg.js} +1 -1
- package/cjs/chunks/bundle-CL4Kklzg.js.map +1 -0
- package/cjs/chunks/{bundle-C6a-umLQ.js → bundle-CTraI7aM.js} +11 -11
- package/cjs/chunks/bundle-CTraI7aM.js.map +1 -0
- package/cjs/chunks/{bundle-L3FEqZsK.js → bundle-CW2oMonb.js} +16 -11
- package/cjs/chunks/bundle-CW2oMonb.js.map +1 -0
- package/cjs/chunks/{bundle-DxSB9NRz.js → bundle-C_8UQBXr.js} +5 -4
- package/cjs/chunks/bundle-C_8UQBXr.js.map +1 -0
- package/cjs/chunks/{bundle-DAj-1QVM.js → bundle-Cd-3W3UM.js} +2 -2
- package/cjs/chunks/{bundle-DAj-1QVM.js.map → bundle-Cd-3W3UM.js.map} +1 -1
- package/cjs/chunks/{bundle-BBoPpUMg.js → bundle-Cd0cyqgA.js} +7 -7
- package/cjs/chunks/bundle-Cd0cyqgA.js.map +1 -0
- package/cjs/chunks/{bundle-D6E8Fmnl.js → bundle-CliI7H5v.js} +39 -61
- package/cjs/chunks/bundle-CliI7H5v.js.map +1 -0
- package/cjs/chunks/{bundle-C3DKUT4Q.js → bundle-CoJbL3ob.js} +4 -4
- package/cjs/chunks/bundle-CoJbL3ob.js.map +1 -0
- package/cjs/chunks/{bundle-CR04Yhbr.js → bundle-CuOOXDK0.js} +1 -1
- package/cjs/chunks/bundle-CuOOXDK0.js.map +1 -0
- package/cjs/chunks/{bundle-BrNoc2XZ.js → bundle-D1Ka8I9e.js} +5 -5
- package/cjs/chunks/bundle-D1Ka8I9e.js.map +1 -0
- package/cjs/chunks/{bundle-BTod-EOk.js → bundle-D1mguvwi.js} +10 -9
- package/cjs/chunks/bundle-D1mguvwi.js.map +1 -0
- package/cjs/chunks/{bundle-8VyIP0TE.js → bundle-D3BhVTZt.js} +1 -1
- package/cjs/chunks/bundle-D3BhVTZt.js.map +1 -0
- package/cjs/chunks/{bundle-DmX69_-l.js → bundle-D7rSRN-8.js} +5 -5
- package/cjs/chunks/bundle-D7rSRN-8.js.map +1 -0
- package/cjs/chunks/{bundle-JtgSY0zB.js → bundle-DAEHB1AV.js} +3 -3
- package/cjs/chunks/bundle-DAEHB1AV.js.map +1 -0
- package/cjs/chunks/{bundle-BaM5Ed34.js → bundle-DMUz-Xui.js} +17 -16
- package/cjs/chunks/{bundle-BaM5Ed34.js.map → bundle-DMUz-Xui.js.map} +1 -1
- package/cjs/chunks/{bundle-BoLhr7Ko.js → bundle-DOoshvnj.js} +1 -1
- package/cjs/chunks/bundle-DOoshvnj.js.map +1 -0
- package/cjs/chunks/{bundle-C1XVsHlE.js → bundle-DQu5RJ2y.js} +4 -4
- package/cjs/chunks/bundle-DQu5RJ2y.js.map +1 -0
- package/cjs/chunks/{bundle-BXEGf4g2.js → bundle-DSLFcE0C.js} +11 -13
- package/{chunks/bundle--nVHk3fx.js.map → cjs/chunks/bundle-DSLFcE0C.js.map} +1 -1
- package/cjs/chunks/{bundle-B_51Svr9.js → bundle-DTJnlh7y.js} +3 -3
- package/cjs/chunks/{bundle-B_51Svr9.js.map → bundle-DTJnlh7y.js.map} +1 -1
- package/cjs/chunks/{bundle-CAUMYdVU.js → bundle-DTzydpqA.js} +2 -4
- package/cjs/chunks/bundle-DTzydpqA.js.map +1 -0
- package/cjs/chunks/{bundle-CDIVI7bT.js → bundle-DUzcm-3u.js} +1 -1
- package/cjs/chunks/{bundle-CDIVI7bT.js.map → bundle-DUzcm-3u.js.map} +1 -1
- package/cjs/chunks/{bundle-CZfcXYaX.js → bundle-DW8u-n3u.js} +25 -30
- package/cjs/chunks/{bundle-CZfcXYaX.js.map → bundle-DW8u-n3u.js.map} +1 -1
- package/cjs/chunks/{bundle-5_kPn4wU.js → bundle-DY5rfl6W.js} +3 -3
- package/cjs/chunks/bundle-DY5rfl6W.js.map +1 -0
- package/cjs/chunks/{bundle-C93-onMF.js → bundle-DcQeRT4T.js} +1 -1
- package/cjs/chunks/bundle-DcQeRT4T.js.map +1 -0
- package/cjs/chunks/{bundle-BOkZUm8a.js → bundle-Dd1DS9KT.js} +1 -1
- package/cjs/chunks/bundle-Dd1DS9KT.js.map +1 -0
- package/cjs/chunks/{bundle-qI5gnScC.js → bundle-DikFXMAd.js} +1 -1
- package/cjs/chunks/bundle-DikFXMAd.js.map +1 -0
- package/cjs/chunks/{bundle-BSAWCcb_.js → bundle-DohVekRv.js} +19 -35
- package/cjs/chunks/{bundle-BSAWCcb_.js.map → bundle-DohVekRv.js.map} +1 -1
- package/cjs/chunks/{bundle-wl1uuzU7.js → bundle-DrYI_bNa.js} +7 -7
- package/cjs/chunks/{bundle-wl1uuzU7.js.map → bundle-DrYI_bNa.js.map} +1 -1
- package/cjs/chunks/{bundle-BTU876jx.js → bundle-Dymg5zVO.js} +7 -4
- package/cjs/chunks/{bundle-BTod-EOk.js.map → bundle-Dymg5zVO.js.map} +1 -1
- package/cjs/chunks/{bundle-Dww6fCVQ.js → bundle-H13ErLKW.js} +2 -2
- package/cjs/chunks/bundle-H13ErLKW.js.map +1 -0
- package/cjs/chunks/{bundle-CQ34zxiR.js → bundle-KUj3wjEl.js} +3 -3
- package/cjs/chunks/bundle-KUj3wjEl.js.map +1 -0
- package/cjs/chunks/{bundle-CsJKON_3.js → bundle-Kf3idGio.js} +9 -5
- package/cjs/chunks/bundle-Kf3idGio.js.map +1 -0
- package/cjs/chunks/{bundle-D8gia2Hg.js → bundle-LO6QlzTz.js} +2 -2
- package/cjs/chunks/bundle-LO6QlzTz.js.map +1 -0
- package/cjs/chunks/{bundle-BwQ4BJif.js → bundle-OIKGVRus.js} +1 -1
- package/cjs/chunks/bundle-OIKGVRus.js.map +1 -0
- package/cjs/chunks/bundle-OWb8eJt-.js +22 -0
- package/cjs/chunks/bundle-OWb8eJt-.js.map +1 -0
- package/cjs/chunks/{bundle-BhCAlWKP.js → bundle-RUFiV4i0.js} +1 -1
- package/cjs/chunks/bundle-RUFiV4i0.js.map +1 -0
- package/cjs/chunks/{bundle-wMKhbE3c.js → bundle-TEjGhclf.js} +2 -2
- package/cjs/chunks/{bundle-wMKhbE3c.js.map → bundle-TEjGhclf.js.map} +1 -1
- package/cjs/chunks/{bundle-1XtsxT8L.js → bundle-YRiE_c63.js} +1 -1
- package/cjs/chunks/bundle-YRiE_c63.js.map +1 -0
- package/cjs/chunks/{bundle-DMGpM9Ye.js → bundle-ZjYFUjTH.js} +35 -38
- package/{chunks/bundle-Ci146LvO.js.map → cjs/chunks/bundle-ZjYFUjTH.js.map} +1 -1
- package/cjs/chunks/{bundle-DcSTnNI0.js → bundle-cqwHj7Dj.js} +2 -2
- package/cjs/chunks/bundle-cqwHj7Dj.js.map +1 -0
- package/cjs/chunks/{bundle-HGbi-rCv.js → bundle-eTYC1RPT.js} +1 -1
- package/cjs/chunks/bundle-eTYC1RPT.js.map +1 -0
- package/cjs/chunks/{bundle-bqRlVm3u.js → bundle-jHjvHr01.js} +1 -1
- package/cjs/chunks/bundle-jHjvHr01.js.map +1 -0
- package/cjs/chunks/{bundle-BaQc9oOW.js → bundle-kbRkyLdH.js} +6 -6
- package/cjs/chunks/bundle-kbRkyLdH.js.map +1 -0
- package/cjs/chunks/{bundle-C3RFfU6_.js → bundle-lYouUxag.js} +6 -6
- package/cjs/chunks/bundle-lYouUxag.js.map +1 -0
- package/cjs/chunks/{bundle-4vdy6J5u.js → bundle-ozey_V94.js} +8 -8
- package/cjs/chunks/bundle-ozey_V94.js.map +1 -0
- package/cjs/chunks/{bundle-CmpLg1_S.js → bundle-wz_O1vyk.js} +1 -1
- package/cjs/chunks/bundle-wz_O1vyk.js.map +1 -0
- package/cjs/hooks/useModal.js +13 -13
- package/cjs/index.js +78 -78
- package/cjs/pubSub/topics.js +1 -1
- package/cjs/sendbirdSelectors.js +3 -3
- package/cjs/ui/Accordion.js +3 -3
- package/cjs/ui/AccordionGroup.js +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 +16 -16
- package/cjs/ui/Button.js +5 -5
- 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 +5 -5
- package/cjs/ui/EmojiReactions.js +22 -22
- package/cjs/ui/FallbackTemplateMessageItemBody.tsx.js +7 -7
- package/cjs/ui/FileMessageItemBody.js +9 -9
- package/cjs/ui/FileViewer.js +17 -17
- package/cjs/ui/Header.js +8 -8
- package/cjs/ui/Icon.js +2 -2
- package/cjs/ui/IconButton.js +1 -1
- package/cjs/ui/ImageRenderer.js +4 -2
- package/cjs/ui/ImageRenderer.js.map +1 -1
- package/cjs/ui/Input.js +3 -3
- package/cjs/ui/Label.js +3 -3
- package/cjs/ui/LinkLabel.js +4 -4
- package/cjs/ui/Loader.js +2 -2
- package/cjs/ui/LoadingTemplateMessageItemBody.tsx.js +4 -4
- package/cjs/ui/MentionLabel.js +14 -14
- package/cjs/ui/MentionUserLabel.js +3 -2
- package/cjs/ui/MentionUserLabel.js.map +1 -1
- package/cjs/ui/MessageContent.js +76 -69
- package/cjs/ui/MessageContent.js.map +1 -1
- package/cjs/ui/MessageFeedbackFailedModal.js +14 -14
- package/cjs/ui/MessageFeedbackModal.js +19 -19
- package/cjs/ui/MessageInput/hooks/usePaste.js +7 -7
- package/cjs/ui/MessageInput.js +103 -82
- package/cjs/ui/MessageInput.js.map +1 -1
- package/cjs/ui/MessageItemMenu.js +20 -20
- package/cjs/ui/MessageItemReactionMenu.js +15 -15
- package/cjs/ui/MessageSearchFileItem.js +15 -15
- package/cjs/ui/MessageSearchItem.js +13 -13
- package/cjs/ui/MessageStatus.js +11 -11
- package/cjs/ui/MessageTemplate.js +1 -1
- package/cjs/ui/MobileFeedbackMenu.js +13 -13
- package/cjs/ui/Modal.js +13 -13
- package/cjs/ui/MutedAvatarOverlay.js +2 -2
- package/cjs/ui/OGMessageItemBody.js +23 -22
- 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 +36 -36
- package/cjs/ui/OpenchannelThumbnailMessage.js +18 -18
- package/cjs/ui/OpenchannelUserMessage.js +23 -23
- package/cjs/ui/PlaceHolder.js +7 -7
- package/cjs/ui/PlaybackTime.js +3 -3
- package/cjs/ui/ProgressBar.js +2 -1
- package/cjs/ui/ProgressBar.js.map +1 -1
- package/cjs/ui/QuoteMessage.js +8 -8
- package/cjs/ui/QuoteMessageInput.js +11 -11
- package/cjs/ui/ReactionBadge.js +4 -4
- package/cjs/ui/ReactionButton.js +4 -4
- package/cjs/ui/SortByRow.js +2 -2
- package/cjs/ui/TemplateMessageItemBody.js +22 -20
- package/cjs/ui/TemplateMessageItemBody.js.map +1 -1
- package/cjs/ui/TextButton.js +2 -2
- package/cjs/ui/TextMessageItemBody.js +25 -22
- package/cjs/ui/TextMessageItemBody.js.map +1 -1
- package/cjs/ui/ThreadReplies.js +10 -10
- package/cjs/ui/ThumbnailMessageItemBody.js +6 -6
- package/cjs/ui/Toggle.js +3 -3
- package/cjs/ui/Tooltip.js +3 -3
- package/cjs/ui/TooltipWrapper.js +3 -3
- package/cjs/ui/TypingIndicatorBubble.js +4 -4
- package/cjs/ui/UnknownMessageItemBody.js +7 -7
- package/cjs/ui/UserListItem.js +15 -15
- package/cjs/ui/UserProfile.js +12 -12
- package/cjs/ui/VoiceMessageInput.js +9 -9
- package/cjs/ui/VoiceMessageItemBody.js +20 -19
- package/cjs/ui/VoiceMessageItemBody.js.map +1 -1
- package/cjs/ui/Word.js +14 -14
- package/cjs/useSendbirdStateContext.js +1 -1
- package/cjs/utils/message/isVoiceMessage.js +2 -2
- package/cjs/withSendbird.js +4 -3
- package/cjs/withSendbird.js.map +1 -1
- package/dist/index.css +3 -4
- package/hooks/useModal.js +13 -13
- package/index.js +78 -78
- package/package.json +1 -1
- package/pubSub/topics.js +1 -1
- package/sendbirdSelectors.js +3 -3
- package/types/hooks/VoicePlayer/useVoicePlayer.d.ts +2 -2
- package/types/hooks/VoiceRecorder/WebAudioUtils.d.ts +5 -2
- package/types/hooks/VoiceRecorder/useVoiceRecorder.d.ts +1 -1
- package/types/lib/LocalizationContext.d.ts +3 -4
- package/types/lib/Logger/index.d.ts +1 -1
- package/types/lib/Sendbird.d.ts +2 -8
- package/types/lib/SendbirdSdkContext.d.ts +3 -0
- package/types/lib/hooks/useTheme.d.ts +1 -1
- package/types/lib/pubSub/topics.d.ts +2 -2
- package/types/lib/selectors.d.ts +4 -4
- package/types/lib/types.d.ts +5 -5
- package/types/modules/App/AppLayout.d.ts +1 -1
- package/types/modules/App/types.d.ts +1 -1
- package/types/modules/Channel/components/Message/index.d.ts +1 -1
- package/types/modules/Channel/context/ChannelProvider.d.ts +11 -12
- package/types/modules/Channel/context/hooks/useHandleChannelEvents.d.ts +2 -2
- package/types/modules/Channel/context/hooks/useHandleReconnect.d.ts +1 -1
- package/types/modules/Channel/context/hooks/useHandleReconnectForChannelList.d.ts +4 -4
- package/types/modules/Channel/context/hooks/useInitialMessagesFetch.d.ts +3 -3
- package/types/modules/Channel/context/hooks/useReconnectOnIdle.d.ts +1 -1
- package/types/modules/Channel/context/hooks/useScrollCallback.d.ts +2 -2
- package/types/modules/Channel/context/hooks/useScrollDownCallback.d.ts +1 -1
- package/types/modules/Channel/context/hooks/useScrollToMessage.d.ts +3 -3
- package/types/modules/Channel/context/hooks/useSendFileMessageCallback.d.ts +2 -2
- package/types/modules/Channel/context/hooks/useSendVoiceMessageCallback.d.ts +1 -1
- package/types/modules/Channel/context/utils.d.ts +4 -4
- package/types/modules/ChannelList/components/ChannelListUI/index.d.ts +1 -1
- package/types/modules/ChannelList/context/ChannelListProvider.d.ts +7 -7
- package/types/modules/ChannelList/index.d.ts +1 -1
- package/types/modules/ChannelList/utils.d.ts +2 -2
- package/types/modules/ChannelSettings/components/UserListItem/index.d.ts +4 -7
- package/types/modules/ChannelSettings/context/ChannelSettingsProvider.d.ts +1 -1
- package/types/modules/CreateChannel/context/CreateChannelProvider.d.ts +3 -2
- package/types/modules/EditUserProfile/components/EditUserProfileUI/EditUserProfileUIView.d.ts +1 -1
- package/types/modules/EditUserProfile/components/EditUserProfileUI/index.d.ts +1 -1
- package/types/modules/EditUserProfile/context/EditUserProfileProvider.d.ts +1 -1
- package/types/modules/GroupChannel/components/Message/MessageView.d.ts +9 -9
- package/types/modules/GroupChannel/components/MessageInputWrapper/MessageInputWrapperView.d.ts +2 -2
- package/types/modules/GroupChannel/components/MessageList/getMessagePartsInfo.d.ts +3 -3
- package/types/modules/GroupChannel/context/GroupChannelProvider.d.ts +4 -4
- package/types/modules/GroupChannel/context/hooks/useMessageActions.d.ts +1 -1
- package/types/modules/GroupChannel/context/utils.d.ts +2 -2
- package/types/modules/MessageSearch/context/MessageSearchProvider.d.ts +4 -4
- package/types/modules/MessageSearch/context/hooks/useGetSearchedMessages.d.ts +1 -1
- package/types/modules/MessageSearch/context/hooks/useScrollCallback.d.ts +4 -4
- package/types/modules/MessageSearch/index.d.ts +0 -1
- package/types/modules/OpenChannel/context/OpenChannelProvider.d.ts +1 -2
- package/types/modules/OpenChannel/context/hooks/useDeleteMessageCallback.d.ts +1 -1
- package/types/modules/OpenChannel/context/hooks/useFileUploadCallback.d.ts +3 -3
- package/types/modules/OpenChannel/context/hooks/useHandleChannelEvents.d.ts +1 -1
- package/types/modules/OpenChannel/context/hooks/useInitialMessagesFetch.d.ts +1 -1
- package/types/modules/OpenChannel/context/hooks/useResendMessageCallback.d.ts +1 -1
- package/types/modules/OpenChannel/context/hooks/useScrollCallback.d.ts +1 -1
- package/types/modules/OpenChannel/context/hooks/useSendMessageCallback.d.ts +2 -2
- package/types/modules/OpenChannel/context/hooks/useSetChannel.d.ts +1 -1
- package/types/modules/OpenChannel/context/hooks/useTrimMessageList.d.ts +1 -1
- package/types/modules/OpenChannel/context/hooks/useUpdateMessageCallback.d.ts +3 -3
- package/types/modules/OpenChannel/context/utils.d.ts +2 -3
- package/types/modules/OpenChannelList/context/hooks/createChannelListQuery.d.ts +1 -1
- package/types/modules/OpenChannelList/context/hooks/useRefreshOpenChannelList.d.ts +1 -1
- package/types/modules/OpenChannelList/context/hooks/useSetupOpenChannelList.d.ts +1 -1
- package/types/modules/OpenChannelSettings/components/ParticipantUI/ParticipantItem.d.ts +2 -2
- package/types/modules/OpenChannelSettings/context/OpenChannelSettingsProvider.d.ts +3 -4
- package/types/modules/Thread/context/ThreadProvider.d.ts +7 -5
- package/types/modules/Thread/context/hooks/useDeleteMessageCallback.d.ts +1 -1
- package/types/modules/Thread/context/hooks/useGetChannel.d.ts +2 -2
- package/types/modules/Thread/context/hooks/useGetParentMessage.d.ts +1 -1
- package/types/modules/Thread/context/hooks/useHandleChannelEvents.d.ts +1 -1
- package/types/modules/Thread/context/hooks/useHandleThreadPubsubEvents.d.ts +2 -2
- package/types/modules/Thread/context/hooks/useResendMessageCallback.d.ts +1 -1
- package/types/modules/Thread/context/hooks/useSendFileMessage.d.ts +1 -1
- package/types/modules/Thread/context/hooks/useSendUserMessageCallback.d.ts +1 -1
- package/types/modules/Thread/context/hooks/useSendVoiceMessageCallback.d.ts +1 -1
- package/types/modules/Thread/context/hooks/useThreadFetchers.d.ts +1 -1
- package/types/modules/Thread/context/hooks/useToggleReactionsCallback.d.ts +3 -2
- package/types/modules/Thread/context/hooks/useUpdateMessageCallback.d.ts +9 -2
- package/types/modules/Thread/context/utils.d.ts +3 -4
- package/types/ui/AdminMessage/index.d.ts +1 -1
- package/types/ui/ChannelAvatar/utils.d.ts +3 -3
- package/types/ui/ContextMenu/MenuItems.d.ts +3 -3
- package/types/ui/ImageRenderer/index.d.ts +7 -7
- package/types/ui/ImageRenderer/useDynamicSideLength.d.ts +2 -2
- package/types/ui/ImageRenderer/utils.d.ts +1 -1
- package/types/ui/LegacyEditUserProfile/index.d.ts +1 -1
- package/types/ui/MessageContent/MessageProfile/index.d.ts +1 -1
- package/types/ui/MessageInput/hooks/usePaste/types.d.ts +1 -1
- package/types/ui/MessageItemMenu/index.d.ts +5 -7
- package/types/ui/MessageItemReactionMenu/index.d.ts +1 -1
- package/types/ui/ThreadReplies/index.d.ts +1 -1
- package/types/ui/UserProfile/index.d.ts +1 -1
- package/types/ui/Word/index.d.ts +1 -1
- package/types/utils/consts.d.ts +1 -0
- package/types/utils/exports/getOutgoingMessageState.d.ts +1 -1
- package/types/utils/getIsReactionEnabled.d.ts +1 -1
- package/types/utils/index.d.ts +2 -2
- package/types/utils/messages.d.ts +1 -1
- package/types/utils/numberToPx.d.ts +1 -1
- package/ui/Accordion.js +3 -3
- package/ui/AccordionGroup.js +1 -1
- package/ui/AdminMessage.js +3 -3
- package/ui/Avatar.js +4 -4
- package/ui/Badge.js +5 -5
- package/ui/BottomSheet.js +16 -16
- package/ui/Button.js +5 -5
- package/ui/ChannelAvatar.js +5 -5
- package/ui/ConnectionStatus.js +6 -6
- package/ui/ContextMenu.js +6 -6
- package/ui/DateSeparator.js +5 -5
- package/ui/EmojiReactions.js +22 -22
- package/ui/FallbackTemplateMessageItemBody.tsx.js +7 -7
- package/ui/FileMessageItemBody.js +9 -9
- package/ui/FileViewer.js +17 -17
- package/ui/Header.js +8 -8
- package/ui/Icon.js +2 -2
- package/ui/IconButton.js +1 -1
- package/ui/ImageRenderer.js +4 -2
- package/ui/ImageRenderer.js.map +1 -1
- package/ui/Input.js +3 -3
- package/ui/Label.js +3 -3
- package/ui/LinkLabel.js +4 -4
- package/ui/Loader.js +2 -2
- package/ui/LoadingTemplateMessageItemBody.tsx.js +4 -4
- package/ui/MentionLabel.js +14 -14
- package/ui/MentionUserLabel.js +3 -2
- package/ui/MentionUserLabel.js.map +1 -1
- package/ui/MessageContent.js +76 -69
- package/ui/MessageContent.js.map +1 -1
- package/ui/MessageFeedbackFailedModal.js +14 -14
- package/ui/MessageFeedbackModal.js +19 -19
- package/ui/MessageInput/hooks/usePaste.js +7 -7
- package/ui/MessageInput.js +103 -82
- package/ui/MessageInput.js.map +1 -1
- package/ui/MessageItemMenu.js +20 -20
- package/ui/MessageItemReactionMenu.js +15 -15
- package/ui/MessageSearchFileItem.js +15 -15
- package/ui/MessageSearchItem.js +13 -13
- package/ui/MessageStatus.js +11 -11
- package/ui/MessageTemplate.js +1 -1
- package/ui/MobileFeedbackMenu.js +13 -13
- package/ui/Modal.js +13 -13
- package/ui/MutedAvatarOverlay.js +2 -2
- package/ui/OGMessageItemBody.js +23 -22
- 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 +36 -36
- package/ui/OpenchannelThumbnailMessage.js +18 -18
- package/ui/OpenchannelUserMessage.js +23 -23
- package/ui/PlaceHolder.js +7 -7
- package/ui/PlaybackTime.js +3 -3
- package/ui/ProgressBar.js +2 -1
- package/ui/ProgressBar.js.map +1 -1
- package/ui/QuoteMessage.js +8 -8
- package/ui/QuoteMessageInput.js +11 -11
- package/ui/ReactionBadge.js +4 -4
- package/ui/ReactionButton.js +4 -4
- package/ui/SortByRow.js +2 -2
- package/ui/TemplateMessageItemBody.js +22 -20
- package/ui/TemplateMessageItemBody.js.map +1 -1
- package/ui/TextButton.js +2 -2
- package/ui/TextMessageItemBody.js +25 -22
- package/ui/TextMessageItemBody.js.map +1 -1
- package/ui/ThreadReplies.js +10 -10
- package/ui/ThumbnailMessageItemBody.js +6 -6
- package/ui/Toggle.js +3 -3
- package/ui/Tooltip.js +3 -3
- package/ui/TooltipWrapper.js +3 -3
- package/ui/TypingIndicatorBubble.js +4 -4
- package/ui/UnknownMessageItemBody.js +7 -7
- package/ui/UserListItem.js +15 -15
- package/ui/UserProfile.js +12 -12
- package/ui/VoiceMessageInput.js +9 -9
- package/ui/VoiceMessageItemBody.js +20 -19
- package/ui/VoiceMessageItemBody.js.map +1 -1
- package/ui/Word.js +14 -14
- package/useSendbirdStateContext.js +1 -1
- package/utils/message/isVoiceMessage.js +2 -2
- package/withSendbird.js +4 -3
- package/withSendbird.js.map +1 -1
- package/chunks/bundle-2uJIsyo2.js.map +0 -1
- package/chunks/bundle-9MhshueU.js.map +0 -1
- package/chunks/bundle-B5N2u5f-.js.map +0 -1
- package/chunks/bundle-B7barEsR.js.map +0 -1
- package/chunks/bundle-B8gKMDtp.js.map +0 -1
- package/chunks/bundle-BAvMd_j0.js.map +0 -1
- package/chunks/bundle-BHn3F_OF.js.map +0 -1
- package/chunks/bundle-BJ46V6XQ.js.map +0 -1
- package/chunks/bundle-BKho3Uub.js.map +0 -1
- package/chunks/bundle-BOSnopxk.js.map +0 -1
- package/chunks/bundle-BWuyd0AD.js.map +0 -1
- package/chunks/bundle-B__zC9zD.js.map +0 -1
- package/chunks/bundle-BbWD2VuS.js.map +0 -1
- package/chunks/bundle-BvG71y_P.js.map +0 -1
- package/chunks/bundle-BvaqGh4L.js.map +0 -1
- package/chunks/bundle-Bx5vhTbU.js +0 -16
- package/chunks/bundle-Bx5vhTbU.js.map +0 -1
- package/chunks/bundle-BymWz1lX.js.map +0 -1
- package/chunks/bundle-ByvmbZD0.js.map +0 -1
- package/chunks/bundle-C1hw1sij.js.map +0 -1
- package/chunks/bundle-CD9AzC6s.js.map +0 -1
- package/chunks/bundle-CJk_QDUV.js.map +0 -1
- package/chunks/bundle-CNJMLyGJ.js.map +0 -1
- package/chunks/bundle-CT8ZXUi2.js.map +0 -1
- package/chunks/bundle-C_Vyt_ii.js.map +0 -1
- package/chunks/bundle-Clhqc2C_.js.map +0 -1
- package/chunks/bundle-D2i2ti1U.js.map +0 -1
- package/chunks/bundle-DDhhxSv0.js.map +0 -1
- package/chunks/bundle-DDkUg3Os.js.map +0 -1
- package/chunks/bundle-DJTSztr0.js.map +0 -1
- package/chunks/bundle-DNMURwG9.js.map +0 -1
- package/chunks/bundle-DQ2q-zNM.js.map +0 -1
- package/chunks/bundle-DQFIz2Zf.js.map +0 -1
- package/chunks/bundle-DSOf9RKe.js.map +0 -1
- package/chunks/bundle-DThbnyZd.js.map +0 -1
- package/chunks/bundle-D_eJq5Xk.js.map +0 -1
- package/chunks/bundle-DaoHZIZy.js.map +0 -1
- package/chunks/bundle-Diqj6For.js.map +0 -1
- package/chunks/bundle-DmYqVYeD.js.map +0 -1
- package/chunks/bundle-DpGWywZ5.js.map +0 -1
- package/chunks/bundle-DzxiMlgV.js.map +0 -1
- package/chunks/bundle-Gx0ryc_f.js.map +0 -1
- package/chunks/bundle-HoQqraNc.js.map +0 -1
- package/chunks/bundle-Jir4hfa9.js.map +0 -1
- package/chunks/bundle-LYAWKk4n.js.map +0 -1
- package/chunks/bundle-QxUVt4Ms.js.map +0 -1
- package/chunks/bundle-ZsYMd8JA.js.map +0 -1
- package/chunks/bundle-_-vntp1z.js.map +0 -1
- package/chunks/bundle-afCfXO2C.js.map +0 -1
- package/chunks/bundle-dC3DwujZ.js.map +0 -1
- package/chunks/bundle-fRP_rTVb.js.map +0 -1
- package/chunks/bundle-h3a36twH.js.map +0 -1
- package/chunks/bundle-oCSRGy9i.js.map +0 -1
- package/chunks/bundle-uBJzoaNT.js.map +0 -1
- package/cjs/chunks/bundle-1XtsxT8L.js.map +0 -1
- package/cjs/chunks/bundle-4vdy6J5u.js.map +0 -1
- package/cjs/chunks/bundle-5_kPn4wU.js.map +0 -1
- package/cjs/chunks/bundle-8VyIP0TE.js.map +0 -1
- package/cjs/chunks/bundle-B31bbem0.js.map +0 -1
- package/cjs/chunks/bundle-BBoPpUMg.js.map +0 -1
- package/cjs/chunks/bundle-BLc7P6Sp.js.map +0 -1
- package/cjs/chunks/bundle-BOkZUm8a.js.map +0 -1
- package/cjs/chunks/bundle-BaAUvjl9.js.map +0 -1
- package/cjs/chunks/bundle-BaQc9oOW.js.map +0 -1
- package/cjs/chunks/bundle-BhCAlWKP.js.map +0 -1
- package/cjs/chunks/bundle-Bi-soOXA.js.map +0 -1
- package/cjs/chunks/bundle-BjgfoBVC.js.map +0 -1
- package/cjs/chunks/bundle-BoLhr7Ko.js.map +0 -1
- package/cjs/chunks/bundle-BrNoc2XZ.js.map +0 -1
- package/cjs/chunks/bundle-BwQ4BJif.js.map +0 -1
- package/cjs/chunks/bundle-C1XVsHlE.js.map +0 -1
- package/cjs/chunks/bundle-C3DKUT4Q.js.map +0 -1
- package/cjs/chunks/bundle-C3RFfU6_.js.map +0 -1
- package/cjs/chunks/bundle-C51HeaX4.js.map +0 -1
- package/cjs/chunks/bundle-C6a-umLQ.js.map +0 -1
- package/cjs/chunks/bundle-C93-onMF.js.map +0 -1
- package/cjs/chunks/bundle-CAUMYdVU.js.map +0 -1
- package/cjs/chunks/bundle-CE6bFQmu.js.map +0 -1
- package/cjs/chunks/bundle-CLOaQmX9.js.map +0 -1
- package/cjs/chunks/bundle-CQ34zxiR.js.map +0 -1
- package/cjs/chunks/bundle-CR04Yhbr.js.map +0 -1
- package/cjs/chunks/bundle-CmpLg1_S.js.map +0 -1
- package/cjs/chunks/bundle-Com-Z-XI.js.map +0 -1
- package/cjs/chunks/bundle-CsJKON_3.js.map +0 -1
- package/cjs/chunks/bundle-D-qAbZhp.js.map +0 -1
- package/cjs/chunks/bundle-D4aDRH9m.js.map +0 -1
- package/cjs/chunks/bundle-D8gia2Hg.js.map +0 -1
- package/cjs/chunks/bundle-DAIf7fWo.js.map +0 -1
- package/cjs/chunks/bundle-DAxedY0T.js.map +0 -1
- package/cjs/chunks/bundle-DMGpM9Ye.js.map +0 -1
- package/cjs/chunks/bundle-DQy218lT.js.map +0 -1
- package/cjs/chunks/bundle-DRp9IuV2.js.map +0 -1
- package/cjs/chunks/bundle-DRy7eNJ0.js.map +0 -1
- package/cjs/chunks/bundle-DTCz0BH1.js.map +0 -1
- package/cjs/chunks/bundle-DcSTnNI0.js.map +0 -1
- package/cjs/chunks/bundle-DdxJqNSP.js.map +0 -1
- package/cjs/chunks/bundle-DeQZn8GZ.js.map +0 -1
- package/cjs/chunks/bundle-Dehhi1FZ.js.map +0 -1
- package/cjs/chunks/bundle-DfcEln0Z.js.map +0 -1
- package/cjs/chunks/bundle-DmX69_-l.js.map +0 -1
- package/cjs/chunks/bundle-Dnq2YP_l.js.map +0 -1
- package/cjs/chunks/bundle-Dww6fCVQ.js.map +0 -1
- package/cjs/chunks/bundle-DxSB9NRz.js.map +0 -1
- package/cjs/chunks/bundle-HGbi-rCv.js.map +0 -1
- package/cjs/chunks/bundle-JtgSY0zB.js.map +0 -1
- package/cjs/chunks/bundle-L3FEqZsK.js.map +0 -1
- package/cjs/chunks/bundle-N_CwOE5a.js.map +0 -1
- package/cjs/chunks/bundle-Q4icQ1qH.js.map +0 -1
- package/cjs/chunks/bundle-T4lp5F85.js.map +0 -1
- package/cjs/chunks/bundle-Tjx9wNAv.js.map +0 -1
- package/cjs/chunks/bundle-X03vJTEw.js.map +0 -1
- package/cjs/chunks/bundle-_ekaw3iI.js.map +0 -1
- package/cjs/chunks/bundle-bqRlVm3u.js.map +0 -1
- package/cjs/chunks/bundle-gtkPlUrw.js.map +0 -1
- package/cjs/chunks/bundle-miB6ue8g.js.map +0 -1
- package/cjs/chunks/bundle-oeWNUdCB.js +0 -20
- package/cjs/chunks/bundle-oeWNUdCB.js.map +0 -1
- package/cjs/chunks/bundle-qI5gnScC.js.map +0 -1
- package/dist/index.css.map +0 -1
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import React__default, { useState } from 'react';
|
|
2
2
|
import ContextMenu, { MenuItems, MenuItem } from '../ui/ContextMenu.js';
|
|
3
|
-
import { l as isUserMessage, q as isSentMessage, u as isFailedMessage, v as isPendingMessage, b as isFileMessage, i as isVoiceMessage, O as isThreadMessage, x as copyToClipboard, y as getEmojiListAll } from './bundle-
|
|
4
|
-
import { u as useLocalization } from './bundle-
|
|
3
|
+
import { l as isUserMessage, q as isSentMessage, u as isFailedMessage, v as isPendingMessage, b as isFileMessage, i as isVoiceMessage, O as isThreadMessage, x as copyToClipboard, y as getEmojiListAll } from './bundle-janisM9b.js';
|
|
4
|
+
import { u as useLocalization } from './bundle-nfJ9J5Md.js';
|
|
5
5
|
import Icon, { IconTypes, IconColors } from '../ui/Icon.js';
|
|
6
|
-
import { L as Label, a as LabelTypography, b as LabelColors } from './bundle-
|
|
6
|
+
import { L as Label, a as LabelTypography, b as LabelColors } from './bundle-prXB4t_m.js';
|
|
7
7
|
import BottomSheet from '../ui/BottomSheet.js';
|
|
8
8
|
import ImageRenderer from '../ui/ImageRenderer.js';
|
|
9
9
|
import ReactionButton from '../ui/ReactionButton.js';
|
|
10
10
|
import { useSendbirdStateContext } from '../useSendbirdStateContext.js';
|
|
11
|
+
import { c as classnames } from './bundle-Dw9nwO7e.js';
|
|
11
12
|
|
|
12
13
|
var MobileContextMenu = function (props) {
|
|
13
14
|
var _a, _b, _c;
|
|
@@ -45,7 +46,7 @@ var MobileContextMenu = function (props) {
|
|
|
45
46
|
React__default.createElement(Icon, { type: IconTypes.COPY, fillColor: IconColors.PRIMARY, width: "24px", height: "24px" }))),
|
|
46
47
|
showMenuItemReply && (React__default.createElement(MenuItem, { className: "sendbird-message__mobile-context-menu-item menu-item-reply", onClick: function () {
|
|
47
48
|
hideMenu();
|
|
48
|
-
setQuoteMessage(message);
|
|
49
|
+
setQuoteMessage === null || setQuoteMessage === void 0 ? void 0 : setQuoteMessage(message);
|
|
49
50
|
}, disable: ((_a = message === null || message === void 0 ? void 0 : message.parentMessageId) !== null && _a !== void 0 ? _a : 0) > 0, dataSbId: "ui_mobile_message_item_menu_reply" },
|
|
50
51
|
React__default.createElement(Label, { type: LabelTypography.SUBTITLE_1, color: ((_b = message === null || message === void 0 ? void 0 : message.parentMessageId) !== null && _b !== void 0 ? _b : 0) > 0
|
|
51
52
|
? LabelColors.ONBACKGROUND_4
|
|
@@ -61,13 +62,13 @@ var MobileContextMenu = function (props) {
|
|
|
61
62
|
React__default.createElement(Icon, { type: IconTypes.THREAD, fillColor: IconColors.PRIMARY, width: "24px", height: "24px" }))),
|
|
62
63
|
showMenuItemEdit && (React__default.createElement(MenuItem, { className: "sendbird-message__mobile-context-menu-item menu-item-edit", onClick: function () {
|
|
63
64
|
hideMenu();
|
|
64
|
-
showEdit(true);
|
|
65
|
+
showEdit === null || showEdit === void 0 ? void 0 : showEdit(true);
|
|
65
66
|
}, dataSbId: "ui_mobile_message_item_menu_edit" },
|
|
66
67
|
React__default.createElement(Label, { type: LabelTypography.SUBTITLE_1, color: LabelColors.ONBACKGROUND_1 }, stringSet.MESSAGE_MENU__EDIT),
|
|
67
68
|
React__default.createElement(Icon, { type: IconTypes.EDIT, fillColor: IconColors.PRIMARY, width: "24px", height: "24px" }))),
|
|
68
69
|
showMenuItemResend && (React__default.createElement(MenuItem, { className: "sendbird-message__mobile-context-menu-item menu-item-resend", onClick: function () {
|
|
69
70
|
hideMenu();
|
|
70
|
-
resendMessage(message);
|
|
71
|
+
resendMessage === null || resendMessage === void 0 ? void 0 : resendMessage(message);
|
|
71
72
|
}, dataSbId: "ui_mobile_message_item_menu_resend" },
|
|
72
73
|
React__default.createElement(Label, { type: LabelTypography.SUBTITLE_1, color: LabelColors.ONBACKGROUND_1 }, stringSet.MESSAGE_MENU__RESEND),
|
|
73
74
|
React__default.createElement(Icon, { type: IconTypes.REFRESH, fillColor: IconColors.PRIMARY, width: "24px", height: "24px" }))),
|
|
@@ -99,7 +100,7 @@ var MobileContextMenu = function (props) {
|
|
|
99
100
|
var EMOJI_SIZE = 38;
|
|
100
101
|
var MobileBottomSheet = function (props) {
|
|
101
102
|
var _a, _b, _c;
|
|
102
|
-
var hideMenu = props.hideMenu, channel = props.channel, emojiContainer = props.emojiContainer, message = props.message, replyType = props.replyType, userId = props.userId, resendMessage = props.resendMessage, deleteMessage = props.deleteMessage, toggleReaction = props.toggleReaction,
|
|
103
|
+
var hideMenu = props.hideMenu, channel = props.channel, emojiContainer = props.emojiContainer, message = props.message, replyType = props.replyType, userId = props.userId, resendMessage = props.resendMessage, deleteMessage = props.deleteMessage, toggleReaction = props.toggleReaction, _d = props.isReactionEnabled, isReactionEnabled = _d === void 0 ? false : _d, showEdit = props.showEdit, showRemove = props.showRemove, deleteMenuState = props.deleteMenuState, setQuoteMessage = props.setQuoteMessage, onReplyInThread = props.onReplyInThread, _e = props.isOpenedFromThread, isOpenedFromThread = _e === void 0 ? false : _e, onDownloadClick = props.onDownloadClick;
|
|
103
104
|
var isByMe = ((_a = message === null || message === void 0 ? void 0 : message.sender) === null || _a === void 0 ? void 0 : _a.userId) === userId;
|
|
104
105
|
var stringSet = useLocalization().stringSet;
|
|
105
106
|
var globalStore = useSendbirdStateContext();
|
|
@@ -126,24 +127,24 @@ var MobileBottomSheet = function (props) {
|
|
|
126
127
|
var disableReaction = (message === null || message === void 0 ? void 0 : message.parentMessageId) > 0;
|
|
127
128
|
var fileMessage = message;
|
|
128
129
|
var maxEmojisPerRow = Math.floor(window.innerWidth / EMOJI_SIZE) - 1;
|
|
129
|
-
var
|
|
130
|
-
var emojis = getEmojiListAll(emojiContainer);
|
|
130
|
+
var _f = useState(false), showEmojisOnly = _f[0], setShowEmojisOnly = _f[1];
|
|
131
|
+
var emojis = emojiContainer && getEmojiListAll(emojiContainer);
|
|
131
132
|
// calculate max emojis that can be shown in screen
|
|
132
133
|
var visibleEmojis = showEmojisOnly
|
|
133
134
|
? emojis
|
|
134
135
|
: emojis === null || emojis === void 0 ? void 0 : emojis.slice(0, maxEmojisPerRow);
|
|
135
|
-
var canShowMoreEmojis = emojis.length > maxEmojisPerRow;
|
|
136
|
+
var canShowMoreEmojis = emojis && emojis.length > maxEmojisPerRow;
|
|
136
137
|
return (React__default.createElement(BottomSheet, { onBackdropClick: hideMenu },
|
|
137
138
|
React__default.createElement("div", { className: 'sendbird-message__bottomsheet' },
|
|
138
139
|
showReaction && (React__default.createElement("div", { className: 'sendbird-message__bottomsheet-reactions' },
|
|
139
140
|
React__default.createElement("ul", { className: "sendbird-message__bottomsheet-reaction-bar" },
|
|
140
|
-
React__default.createElement("div", { className:
|
|
141
|
+
React__default.createElement("div", { className: classnames('sendbird-message__bottomsheet-reaction-bar__row', showEmojisOnly && 'sendbird-message__bottomsheet-reaction-bar__all') },
|
|
141
142
|
visibleEmojis.map(function (emoji) {
|
|
142
143
|
var _a, _b, _c;
|
|
143
144
|
var isReacted = (_c = (_b = (_a = message === null || message === void 0 ? void 0 : message.reactions) === null || _a === void 0 ? void 0 : _a.filter(function (reaction) { return reaction.key === emoji.key; })[0]) === null || _b === void 0 ? void 0 : _b.userIds) === null || _c === void 0 ? void 0 : _c.some(function (reactorId) { return reactorId === userId; });
|
|
144
145
|
return (React__default.createElement(ReactionButton, { key: emoji.key, width: "".concat(EMOJI_SIZE, "px"), height: "".concat(EMOJI_SIZE, "px"), selected: isReacted, onClick: function () {
|
|
145
146
|
hideMenu();
|
|
146
|
-
toggleReaction(message, emoji.key, isReacted);
|
|
147
|
+
toggleReaction === null || toggleReaction === void 0 ? void 0 : toggleReaction(message, emoji.key, isReacted);
|
|
147
148
|
}, dataSbId: "ui_mobile_emoji_reactions_menu_".concat(emoji.key) },
|
|
148
149
|
React__default.createElement(ImageRenderer, { url: (emoji === null || emoji === void 0 ? void 0 : emoji.url) || '', width: "28px", height: "28px", placeHolder: function (_a) {
|
|
149
150
|
var style = _a.style;
|
|
@@ -168,20 +169,20 @@ var MobileBottomSheet = function (props) {
|
|
|
168
169
|
React__default.createElement(Label, { type: LabelTypography.SUBTITLE_1, color: LabelColors.ONBACKGROUND_1 }, stringSet === null || stringSet === void 0 ? void 0 : stringSet.MESSAGE_MENU__COPY))),
|
|
169
170
|
showMenuItemEdit && (React__default.createElement("div", { className: 'sendbird-message__bottomsheet--action', onClick: function () {
|
|
170
171
|
hideMenu();
|
|
171
|
-
showEdit(true);
|
|
172
|
+
showEdit === null || showEdit === void 0 ? void 0 : showEdit(true);
|
|
172
173
|
} },
|
|
173
174
|
React__default.createElement(Icon, { type: IconTypes.EDIT, fillColor: IconColors.PRIMARY, width: "24px", height: "24px" }),
|
|
174
175
|
React__default.createElement(Label, { type: LabelTypography.SUBTITLE_1, color: LabelColors.ONBACKGROUND_1 }, stringSet === null || stringSet === void 0 ? void 0 : stringSet.MESSAGE_MENU__EDIT))),
|
|
175
176
|
showMenuItemResend && (React__default.createElement("div", { className: 'sendbird-message__bottomsheet--action', onClick: function () {
|
|
176
177
|
hideMenu();
|
|
177
|
-
resendMessage(message);
|
|
178
|
+
resendMessage === null || resendMessage === void 0 ? void 0 : resendMessage(message);
|
|
178
179
|
} },
|
|
179
180
|
React__default.createElement(Icon, { type: IconTypes.REFRESH, fillColor: IconColors.PRIMARY, width: "24px", height: "24px" }),
|
|
180
181
|
React__default.createElement(Label, { type: LabelTypography.SUBTITLE_1, color: LabelColors.ONBACKGROUND_1 }, stringSet === null || stringSet === void 0 ? void 0 : stringSet.MESSAGE_MENU__RESEND))),
|
|
181
|
-
showMenuItemReply && (React__default.createElement("div", { className:
|
|
182
|
+
showMenuItemReply && (React__default.createElement("div", { className: classnames('sendbird-message__bottomsheet--action', disableReaction && 'sendbird-message__bottomsheet--action-disabled'), role: "menuitem", "aria-disabled": disableReaction ? true : false, onClick: function () {
|
|
182
183
|
if (!disableReaction) {
|
|
183
184
|
hideMenu();
|
|
184
|
-
setQuoteMessage(message);
|
|
185
|
+
setQuoteMessage === null || setQuoteMessage === void 0 ? void 0 : setQuoteMessage(message);
|
|
185
186
|
}
|
|
186
187
|
} },
|
|
187
188
|
React__default.createElement(Icon, { type: IconTypes.REPLY, fillColor: disableReaction
|
|
@@ -225,4 +226,4 @@ var MobileMenu = function (props) {
|
|
|
225
226
|
};
|
|
226
227
|
|
|
227
228
|
export { MobileMenu as M };
|
|
228
|
-
//# sourceMappingURL=bundle-
|
|
229
|
+
//# sourceMappingURL=bundle-Cp2PKGXI.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bundle-
|
|
1
|
+
{"version":3,"file":"bundle-Cp2PKGXI.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -39,4 +39,4 @@ var PUBSUB_TOPICS;
|
|
|
39
39
|
var pubSubTopics = PUBSUB_TOPICS;
|
|
40
40
|
|
|
41
41
|
export { PublishingModuleType as P, shouldPubSubPublishToThread as a, PUBSUB_TOPICS as b, pubSubTopics as p, shouldPubSubPublishToChannel as s };
|
|
42
|
-
//# sourceMappingURL=bundle-
|
|
42
|
+
//# sourceMappingURL=bundle-CriEArZn.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-CriEArZn.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,50 +1,47 @@
|
|
|
1
|
-
import { a as __awaiter, b as __generator, c as __spreadArray } from './bundle-
|
|
1
|
+
import { a as __awaiter, b as __generator, c as __spreadArray } from './bundle-DKkCwVCs.js';
|
|
2
2
|
import React__default, { useRef, useState, useEffect, useCallback } from 'react';
|
|
3
|
-
import { i as isDisabledBecauseFrozen, a as isDisabledBecauseMuted } from './bundle-
|
|
3
|
+
import { i as isDisabledBecauseFrozen, a as isDisabledBecauseMuted } from './bundle-EgWLYRXK.js';
|
|
4
4
|
import { useSendbirdStateContext } from '../useSendbirdStateContext.js';
|
|
5
|
-
import { u as useLocalization } from './bundle-
|
|
5
|
+
import { u as useLocalization } from './bundle-nfJ9J5Md.js';
|
|
6
6
|
import { SuggestedMentionList } from '../GroupChannel/components/SuggestedMentionList.js';
|
|
7
7
|
import { useDirtyGetMentions } from '../Message/hooks/useDirtyGetMentions.js';
|
|
8
8
|
import QuoteMessageInput from '../ui/QuoteMessageInput.js';
|
|
9
9
|
import { useVoicePlayer } from '../VoicePlayer/useVoicePlayer.js';
|
|
10
10
|
import { useVoiceRecorder, VoiceRecorderStatus } from '../VoiceRecorder/useVoiceRecorder.js';
|
|
11
|
-
import { V as VoiceMessageInputStatus, a as VoiceMessageInput } from './bundle-
|
|
12
|
-
import { M as Modal, b as useGlobalModalContext, c as ModalFooter } from './bundle-
|
|
11
|
+
import { V as VoiceMessageInputStatus, a as VoiceMessageInput } from './bundle-C093wLqR.js';
|
|
12
|
+
import { M as Modal, b as useGlobalModalContext, c as ModalFooter } from './bundle-CGmq3qGM.js';
|
|
13
13
|
import Button, { ButtonTypes, ButtonSizes } from '../ui/Button.js';
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import { u as uuidv4 } from './bundle-BJ46V6XQ.js';
|
|
14
|
+
import { V as VOICE_PLAYER_STATUS } from './bundle-BMQLJ23N.js';
|
|
15
|
+
import { u as uuidv4 } from './bundle-uIqOEfCa.js';
|
|
17
16
|
import MessageInput from '../ui/MessageInput.js';
|
|
18
|
-
import { u as useMediaQueryContext } from './bundle-
|
|
19
|
-
import { M as MessageInputKeys } from './bundle-
|
|
20
|
-
import { k as isImage } from './bundle-
|
|
21
|
-
import './bundle-
|
|
22
|
-
import { c as compressImages } from './bundle-
|
|
17
|
+
import { u as useMediaQueryContext } from './bundle-3Mubyujl.js';
|
|
18
|
+
import { M as MessageInputKeys } from './bundle-CWXSCBTE.js';
|
|
19
|
+
import { k as isImage } from './bundle-janisM9b.js';
|
|
20
|
+
import './bundle-prXB4t_m.js';
|
|
21
|
+
import { c as compressImages } from './bundle-DYtgOX1c.js';
|
|
23
22
|
|
|
24
23
|
var VoiceMessageInputWrapper = function (_a) {
|
|
25
|
-
var _b;
|
|
26
24
|
var channel = _a.channel, onCancelClick = _a.onCancelClick, onSubmitClick = _a.onSubmitClick;
|
|
27
25
|
var uuid = useRef(uuidv4()).current;
|
|
28
|
-
var
|
|
29
|
-
var
|
|
30
|
-
var
|
|
31
|
-
var
|
|
32
|
-
var
|
|
26
|
+
var _b = useState(null), audioFile = _b[0], setAudioFile = _b[1];
|
|
27
|
+
var _c = useState(VoiceMessageInputStatus.READY_TO_RECORD), voiceInputState = _c[0], setVoiceInputState = _c[1];
|
|
28
|
+
var _d = useState(false), isSubmitted = _d[0], setSubmit = _d[1];
|
|
29
|
+
var _e = useState(false), isDisabled = _e[0], setDisabled = _e[1];
|
|
30
|
+
var _f = useState(false), showModal = _f[0], setShowModal = _f[1];
|
|
33
31
|
var stringSet = useLocalization().stringSet;
|
|
34
32
|
var config = useSendbirdStateContext().config;
|
|
35
|
-
var
|
|
36
|
-
var _h = useVoiceRecorder({
|
|
33
|
+
var _g = useVoiceRecorder({
|
|
37
34
|
onRecordingStarted: function () {
|
|
38
35
|
setVoiceInputState(VoiceMessageInputStatus.RECORDING);
|
|
39
36
|
},
|
|
40
37
|
onRecordingEnded: function (audioFile) {
|
|
41
38
|
setAudioFile(audioFile);
|
|
42
39
|
},
|
|
43
|
-
}), start =
|
|
40
|
+
}), start = _g.start, stop = _g.stop, cancel = _g.cancel, recordingTime = _g.recordingTime, recordingStatus = _g.recordingStatus, recordingLimit = _g.recordingLimit;
|
|
44
41
|
var voicePlayer = useVoicePlayer({
|
|
45
42
|
channelUrl: channel === null || channel === void 0 ? void 0 : channel.url,
|
|
46
43
|
key: uuid,
|
|
47
|
-
audioFile: audioFile,
|
|
44
|
+
audioFile: audioFile !== null && audioFile !== void 0 ? audioFile : undefined,
|
|
48
45
|
});
|
|
49
46
|
var play = voicePlayer.play, pause = voicePlayer.pause, playbackTime = voicePlayer.playbackTime, playingStatus = voicePlayer.playingStatus;
|
|
50
47
|
var stopVoicePlayer = voicePlayer.stop;
|
|
@@ -60,7 +57,7 @@ var VoiceMessageInputWrapper = function (_a) {
|
|
|
60
57
|
// call onSubmitClick when submit button is clicked and recorded audio file is created
|
|
61
58
|
useEffect(function () {
|
|
62
59
|
if (isSubmitted && audioFile) {
|
|
63
|
-
onSubmitClick(audioFile, recordingTime);
|
|
60
|
+
onSubmitClick === null || onSubmitClick === void 0 ? void 0 : onSubmitClick(audioFile, recordingTime);
|
|
64
61
|
setSubmit(false);
|
|
65
62
|
setAudioFile(null);
|
|
66
63
|
}
|
|
@@ -68,7 +65,7 @@ var VoiceMessageInputWrapper = function (_a) {
|
|
|
68
65
|
// operate which control button should be displayed
|
|
69
66
|
useEffect(function () {
|
|
70
67
|
if (audioFile) {
|
|
71
|
-
if (recordingTime < minRecordingTime) {
|
|
68
|
+
if (recordingTime < config.voiceRecord.minRecordingTime) {
|
|
72
69
|
setVoiceInputState(VoiceMessageInputStatus.READY_TO_RECORD);
|
|
73
70
|
setAudioFile(null);
|
|
74
71
|
}
|
|
@@ -82,7 +79,7 @@ var VoiceMessageInputWrapper = function (_a) {
|
|
|
82
79
|
}, [audioFile, recordingTime, playingStatus]);
|
|
83
80
|
return (React__default.createElement("div", { className: "sendbird-voice-message-input-wrapper" },
|
|
84
81
|
React__default.createElement(VoiceMessageInput, { currentValue: recordingStatus === VoiceRecorderStatus.COMPLETED ? playbackTime : recordingTime, maximumValue: recordingStatus === VoiceRecorderStatus.COMPLETED ? recordingTime : recordingLimit, currentType: voiceInputState, onCancelClick: function () {
|
|
85
|
-
onCancelClick();
|
|
82
|
+
onCancelClick === null || onCancelClick === void 0 ? void 0 : onCancelClick();
|
|
86
83
|
cancel();
|
|
87
84
|
stopVoicePlayer();
|
|
88
85
|
}, onSubmitClick: function () {
|
|
@@ -103,7 +100,7 @@ var VoiceMessageInputWrapper = function (_a) {
|
|
|
103
100
|
break;
|
|
104
101
|
}
|
|
105
102
|
case VoiceMessageInputStatus.RECORDING: {
|
|
106
|
-
if (recordingTime >= minRecordingTime && !isDisabled) {
|
|
103
|
+
if (recordingTime >= config.voiceRecord.minRecordingTime && !isDisabled) {
|
|
107
104
|
stop();
|
|
108
105
|
}
|
|
109
106
|
else if (isDisabled) {
|
|
@@ -129,14 +126,14 @@ var VoiceMessageInputWrapper = function (_a) {
|
|
|
129
126
|
} }),
|
|
130
127
|
showModal && (React__default.createElement(Modal, { className: "sendbird-voice-message-input-wrapper-alert", titleText: isDisabledBecauseMuted(channel)
|
|
131
128
|
? stringSet.MODAL__VOICE_MESSAGE_INPUT_DISABLED__TITLE_MUTED
|
|
132
|
-
: stringSet.MODAL__VOICE_MESSAGE_INPUT_DISABLED__TITLE_FROZEN, hideFooter: true, isCloseOnClickOutside: true,
|
|
129
|
+
: stringSet.MODAL__VOICE_MESSAGE_INPUT_DISABLED__TITLE_FROZEN, hideFooter: true, isCloseOnClickOutside: true, onClose: function () {
|
|
133
130
|
setShowModal(false);
|
|
134
|
-
onCancelClick();
|
|
131
|
+
onCancelClick === null || onCancelClick === void 0 ? void 0 : onCancelClick();
|
|
135
132
|
} },
|
|
136
133
|
React__default.createElement("div", { className: "sendbird-voice-message-input-wrapper-alert__body" },
|
|
137
134
|
React__default.createElement(Button, { className: "sendbird-voice-message-input-wrapper-alert__body__ok-button", type: ButtonTypes.PRIMARY, size: ButtonSizes.BIG, onClick: function () {
|
|
138
135
|
setShowModal(false);
|
|
139
|
-
onCancelClick();
|
|
136
|
+
onCancelClick === null || onCancelClick === void 0 ? void 0 : onCancelClick();
|
|
140
137
|
} }, stringSet.BUTTON__OK))))));
|
|
141
138
|
};
|
|
142
139
|
|
|
@@ -281,7 +278,7 @@ var MessageInputWrapperView = React__default.forwardRef(function (props, ref) {
|
|
|
281
278
|
&& isMentionEnabled
|
|
282
279
|
&& mentionNickname.length > 0
|
|
283
280
|
&& !isBroadcast;
|
|
284
|
-
var mentionNodes = useDirtyGetMentions({ ref: ref || messageInputRef }, { logger: logger });
|
|
281
|
+
var mentionNodes = useDirtyGetMentions({ ref: (ref || messageInputRef) }, { logger: logger });
|
|
285
282
|
var ableMention = (mentionNodes === null || mentionNodes === void 0 ? void 0 : mentionNodes.length) < maxMentionCount;
|
|
286
283
|
// Operate states
|
|
287
284
|
useEffect(function () {
|
|
@@ -310,15 +307,15 @@ var MessageInputWrapperView = React__default.forwardRef(function (props, ref) {
|
|
|
310
307
|
var handleUploadFiles = useHandleUploadFiles({
|
|
311
308
|
sendFileMessage: sendFileMessage,
|
|
312
309
|
sendMultipleFilesMessage: sendMultipleFilesMessage,
|
|
313
|
-
quoteMessage: quoteMessage,
|
|
310
|
+
quoteMessage: quoteMessage !== null && quoteMessage !== void 0 ? quoteMessage : undefined,
|
|
314
311
|
}, { logger: logger });
|
|
315
312
|
if (isBroadcast && !isOperator) {
|
|
316
313
|
/* Only `Operator` can send messages in the Broadcast channel */
|
|
317
314
|
return null;
|
|
318
315
|
}
|
|
319
316
|
// other conditions
|
|
320
|
-
return (React__default.createElement("div", { className:
|
|
321
|
-
showSuggestedMentionList && (React__default.createElement(SuggestedMentionList, { currentChannel: currentChannel, targetNickname: mentionNickname, inputEvent: messageInputEvent, renderUserMentionItem: renderUserMentionItem, onUserItemClick: function (user) {
|
|
317
|
+
return (React__default.createElement("div", { className: showVoiceMessageInput ? 'sendbird-message-input-wrapper--voice-message' : 'sendbird-message-input-wrapper' },
|
|
318
|
+
showSuggestedMentionList && (React__default.createElement(SuggestedMentionList, { currentChannel: currentChannel, targetNickname: mentionNickname, inputEvent: messageInputEvent !== null && messageInputEvent !== void 0 ? messageInputEvent : undefined, renderUserMentionItem: renderUserMentionItem, onUserItemClick: function (user) {
|
|
322
319
|
if (user) {
|
|
323
320
|
setMentionedUsers(__spreadArray(__spreadArray([], mentionedUsers, true), [user], false));
|
|
324
321
|
}
|
|
@@ -332,7 +329,7 @@ var MessageInputWrapperView = React__default.forwardRef(function (props, ref) {
|
|
|
332
329
|
}, ableAddMention: ableMention, maxMentionCount: maxMentionCount, maxSuggestionCount: maxSuggestionCount })),
|
|
333
330
|
quoteMessage && (React__default.createElement("div", { className: "sendbird-message-input-wrapper__quote-message-input" },
|
|
334
331
|
React__default.createElement(QuoteMessageInput, { replyingMessage: quoteMessage, onClose: function () { return setQuoteMessage(null); } }))),
|
|
335
|
-
showVoiceMessageInput ? (React__default.createElement(VoiceMessageInputWrapper, { channel: currentChannel, onSubmitClick: function (recordedFile, duration) {
|
|
332
|
+
showVoiceMessageInput ? (React__default.createElement(VoiceMessageInputWrapper, { channel: currentChannel !== null && currentChannel !== void 0 ? currentChannel : undefined, onSubmitClick: function (recordedFile, duration) {
|
|
336
333
|
sendVoiceMessage({ file: recordedFile, parentMessageId: quoteMessage === null || quoteMessage === void 0 ? void 0 : quoteMessage.messageId }, duration);
|
|
337
334
|
setQuoteMessage(null);
|
|
338
335
|
setShowVoiceMessageInput(false);
|
|
@@ -342,8 +339,8 @@ var MessageInputWrapperView = React__default.forwardRef(function (props, ref) {
|
|
|
342
339
|
setShowVoiceMessageInput(true);
|
|
343
340
|
}, setMentionedUsers: setMentionedUsers, placeholder: (quoteMessage && stringSet.MESSAGE_INPUT__QUOTE_REPLY__PLACE_HOLDER)
|
|
344
341
|
|| ((disabled || isDisabledBecauseFrozen(currentChannel)) && stringSet.MESSAGE_INPUT__PLACE_HOLDER__DISABLED)
|
|
345
|
-
|| (isDisabledBecauseMuted(currentChannel)
|
|
346
|
-
|
|
342
|
+
|| (isDisabledBecauseMuted(currentChannel) && (isMobile ? stringSet.MESSAGE_INPUT__PLACE_HOLDER__MUTED_SHORT : stringSet.MESSAGE_INPUT__PLACE_HOLDER__MUTED))
|
|
343
|
+
|| undefined, ref: (ref || messageInputRef), disabled: isMessageInputDisabled, renderFileUploadIcon: renderFileUploadIcon, renderSendMessageIcon: renderSendMessageIcon, renderVoiceMessageIcon: renderVoiceMessageIcon, onStartTyping: function () {
|
|
347
344
|
currentChannel === null || currentChannel === void 0 ? void 0 : currentChannel.startTyping();
|
|
348
345
|
}, onSendMessage: function (_a) {
|
|
349
346
|
var _b;
|
|
@@ -384,4 +381,4 @@ var MessageInputWrapperView = React__default.forwardRef(function (props, ref) {
|
|
|
384
381
|
});
|
|
385
382
|
|
|
386
383
|
export { MessageInputWrapperView as M, VoiceMessageInputWrapper as V };
|
|
387
|
-
//# sourceMappingURL=bundle-
|
|
384
|
+
//# sourceMappingURL=bundle-Ct6xKrI3.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bundle-
|
|
1
|
+
{"version":3,"file":"bundle-Ct6xKrI3.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { _ as __assign, c as __spreadArray, a as __awaiter, b as __generator } from './bundle-
|
|
1
|
+
import { _ as __assign, c as __spreadArray, a as __awaiter, b as __generator } from './bundle-DKkCwVCs.js';
|
|
2
2
|
import React__default, { useEffect, useCallback, useReducer, useState, useMemo, useContext } from 'react';
|
|
3
3
|
import { GroupChannelHandler, GroupChannelListOrder } from '@sendbird/chat/groupChannel';
|
|
4
|
-
import { p as pubSubTopics } from './bundle-
|
|
5
|
-
import { u as uuidv4 } from './bundle-
|
|
6
|
-
import { n as noop } from './bundle-
|
|
7
|
-
import { D as DELIVERY_RECEIPT$1 } from './bundle-
|
|
8
|
-
import { U as UserProfileProvider } from './bundle-
|
|
4
|
+
import { p as pubSubTopics } from './bundle-CriEArZn.js';
|
|
5
|
+
import { u as uuidv4 } from './bundle-uIqOEfCa.js';
|
|
6
|
+
import { n as noop } from './bundle-Dw9nwO7e.js';
|
|
7
|
+
import { D as DELIVERY_RECEIPT$1 } from './bundle-DhBuJR0w.js';
|
|
8
|
+
import { U as UserProfileProvider } from './bundle-C_dNvBEo.js';
|
|
9
9
|
import { useSendbirdStateContext } from '../useSendbirdStateContext.js';
|
|
10
|
-
import { K, $ as filterChannelListParams, a0 as getChannelsWithUpsertedChannel, a1 as S } from './bundle-
|
|
11
|
-
import { u as useReconnectOnIdle } from './bundle-
|
|
10
|
+
import { K, $ as filterChannelListParams, a0 as getChannelsWithUpsertedChannel, a1 as S } from './bundle-janisM9b.js';
|
|
11
|
+
import { u as useReconnectOnIdle } from './bundle-BYyMnx0z.js';
|
|
12
12
|
|
|
13
13
|
var RESET_CHANNEL_LIST = 'RESET_CHANNEL_LIST';
|
|
14
14
|
var CREATE_CHANNEL = 'CREATE_CHANNEL';
|
|
@@ -97,7 +97,8 @@ var createEventHandler = function (_a) {
|
|
|
97
97
|
}
|
|
98
98
|
},
|
|
99
99
|
onMessageUpdated: function (channel, message) {
|
|
100
|
-
|
|
100
|
+
var _a;
|
|
101
|
+
if (channel.isGroupChannel() && ((_a = channel.lastMessage) === null || _a === void 0 ? void 0 : _a.isEqual(message))) {
|
|
101
102
|
logger.info('ChannelList: onMessageUpdated', channel);
|
|
102
103
|
channelListDispatcher({
|
|
103
104
|
type: ON_LAST_MESSAGE_UPDATED,
|
|
@@ -143,6 +144,7 @@ var createChannelListQuery = function (_a) {
|
|
|
143
144
|
};
|
|
144
145
|
if (userFilledChannelListQuery) {
|
|
145
146
|
Object.keys(userFilledChannelListQuery).forEach(function (key) {
|
|
147
|
+
// @ts-ignore
|
|
146
148
|
params[key] = userFilledChannelListQuery[key];
|
|
147
149
|
});
|
|
148
150
|
}
|
|
@@ -240,8 +242,8 @@ var pubSubHandler = function (pubSub, channelListDispatcher) {
|
|
|
240
242
|
var subscriber = new Map();
|
|
241
243
|
if (!pubSub)
|
|
242
244
|
return subscriber;
|
|
243
|
-
subscriber.set(pubSubTopics.CREATE_CHANNEL, pubSub.subscribe(pubSubTopics.CREATE_CHANNEL, function (
|
|
244
|
-
var channel =
|
|
245
|
+
subscriber.set(pubSubTopics.CREATE_CHANNEL, pubSub.subscribe(pubSubTopics.CREATE_CHANNEL, function (_a) {
|
|
246
|
+
var channel = _a.channel;
|
|
245
247
|
channelListDispatcher({
|
|
246
248
|
type: CREATE_CHANNEL,
|
|
247
249
|
payload: channel,
|
|
@@ -696,27 +698,7 @@ function useHandleReconnectForChannelList(_a) {
|
|
|
696
698
|
}, [shouldReconnect]);
|
|
697
699
|
}
|
|
698
700
|
|
|
699
|
-
var ChannelListContext = React__default.createContext(
|
|
700
|
-
disableUserProfile: true,
|
|
701
|
-
allowProfileEdit: true,
|
|
702
|
-
onBeforeCreateChannel: null,
|
|
703
|
-
onThemeChange: null,
|
|
704
|
-
onProfileEditSuccess: null,
|
|
705
|
-
onChannelSelect: null,
|
|
706
|
-
queries: {},
|
|
707
|
-
className: null,
|
|
708
|
-
initialized: false,
|
|
709
|
-
loading: false,
|
|
710
|
-
allChannels: [],
|
|
711
|
-
currentChannel: null,
|
|
712
|
-
channelListQuery: {},
|
|
713
|
-
currentUserId: null,
|
|
714
|
-
channelListDispatcher: null,
|
|
715
|
-
channelSource: null,
|
|
716
|
-
typingChannels: [],
|
|
717
|
-
fetchChannelList: noop,
|
|
718
|
-
reconnectOnIdle: true,
|
|
719
|
-
});
|
|
701
|
+
var ChannelListContext = React__default.createContext(null);
|
|
720
702
|
var ChannelListProvider = function (props) {
|
|
721
703
|
var _a, _b;
|
|
722
704
|
// destruct props
|
|
@@ -737,7 +719,7 @@ var ChannelListProvider = function (props) {
|
|
|
737
719
|
// enable if it is true at least once(both are false by default)
|
|
738
720
|
var userDefinedDisableUserProfile = disableUserProfile !== null && disableUserProfile !== void 0 ? disableUserProfile : !config.common.enableUsingDefaultUserProfile;
|
|
739
721
|
var userDefinedRenderProfile = config === null || config === void 0 ? void 0 : config.renderUserProfile;
|
|
740
|
-
var enableEditProfile = allowProfileEdit ||
|
|
722
|
+
var enableEditProfile = allowProfileEdit || config.allowProfileEdit;
|
|
741
723
|
var userFilledChannelListQuery = queries === null || queries === void 0 ? void 0 : queries.channelListQuery;
|
|
742
724
|
var userFilledApplicationUserListQuery = queries === null || queries === void 0 ? void 0 : queries.applicationUserListQuery;
|
|
743
725
|
var sdkIntialized = sdkStore === null || sdkStore === void 0 ? void 0 : sdkStore.initialized;
|
|
@@ -762,7 +744,7 @@ var ChannelListProvider = function (props) {
|
|
|
762
744
|
channelListDispatcher: channelListDispatcher,
|
|
763
745
|
setChannelSource: setChannelSource,
|
|
764
746
|
onChannelSelect: onChannelSelect,
|
|
765
|
-
userFilledChannelListQuery: userFilledChannelListQuery,
|
|
747
|
+
userFilledChannelListQuery: __assign({}, userFilledChannelListQuery),
|
|
766
748
|
logger: logger,
|
|
767
749
|
sortChannelList: sortChannelList,
|
|
768
750
|
disableAutoSelect: disableAutoSelect,
|
|
@@ -936,8 +918,10 @@ var ChannelListProvider = function (props) {
|
|
|
936
918
|
};
|
|
937
919
|
function useChannelListContext() {
|
|
938
920
|
var context = useContext(ChannelListContext);
|
|
921
|
+
if (!context)
|
|
922
|
+
throw new Error('ChannelListContext not found. Use within the ChannelList module.');
|
|
939
923
|
return context;
|
|
940
924
|
}
|
|
941
925
|
|
|
942
926
|
export { ChannelListProvider as C, LEAVE_CHANNEL_SUCCESS as L, SET_CURRENT_CHANNEL as S, useChannelListContext as u };
|
|
943
|
-
//# sourceMappingURL=bundle-
|
|
927
|
+
//# sourceMappingURL=bundle-CttExrDx.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bundle-
|
|
1
|
+
{"version":3,"file":"bundle-CttExrDx.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as requiredArgs, t as toDate } from './bundle-
|
|
1
|
+
import { r as requiredArgs, t as toDate } from './bundle-t4qeDosj.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* @name startOfDay
|
|
@@ -61,4 +61,4 @@ function isSameDay(dirtyDateLeft, dirtyDateRight) {
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
export { isSameDay as i };
|
|
64
|
-
//# sourceMappingURL=bundle-
|
|
64
|
+
//# sourceMappingURL=bundle-D1rcEkoi.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bundle-
|
|
1
|
+
{"version":3,"file":"bundle-D1rcEkoi.js","sources":["../../node_modules/date-fns/esm/startOfDay/index.js","../../node_modules/date-fns/esm/isSameDay/index.js"],"sourcesContent":["import toDate from \"../toDate/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name startOfDay\n * @category Day Helpers\n * @summary Return the start of a day for the given date.\n *\n * @description\n * Return the start of a day for the given date.\n * The result will be in the local timezone.\n *\n * @param {Date|Number} date - the original date\n * @returns {Date} the start of a day\n * @throws {TypeError} 1 argument required\n *\n * @example\n * // The start of a day for 2 September 2014 11:55:00:\n * const result = startOfDay(new Date(2014, 8, 2, 11, 55, 0))\n * //=> Tue Sep 02 2014 00:00:00\n */\nexport default function startOfDay(dirtyDate) {\n requiredArgs(1, arguments);\n var date = toDate(dirtyDate);\n date.setHours(0, 0, 0, 0);\n return date;\n}","import startOfDay from \"../startOfDay/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name isSameDay\n * @category Day Helpers\n * @summary Are the given dates in the same day (and year and month)?\n *\n * @description\n * Are the given dates in the same day (and year and month)?\n *\n * @param {Date|Number} dateLeft - the first date to check\n * @param {Date|Number} dateRight - the second date to check\n * @returns {Boolean} the dates are in the same day (and year and month)\n * @throws {TypeError} 2 arguments required\n *\n * @example\n * // Are 4 September 06:00:00 and 4 September 18:00:00 in the same day?\n * const result = isSameDay(new Date(2014, 8, 4, 6, 0), new Date(2014, 8, 4, 18, 0))\n * //=> true\n *\n * @example\n * // Are 4 September and 4 October in the same day?\n * const result = isSameDay(new Date(2014, 8, 4), new Date(2014, 9, 4))\n * //=> false\n *\n * @example\n * // Are 4 September, 2014 and 4 September, 2015 in the same day?\n * const result = isSameDay(new Date(2014, 8, 4), new Date(2015, 8, 4))\n * //=> false\n */\nexport default function isSameDay(dirtyDateLeft, dirtyDateRight) {\n requiredArgs(2, arguments);\n var dateLeftStartOfDay = startOfDay(dirtyDateLeft);\n var dateRightStartOfDay = startOfDay(dirtyDateRight);\n return dateLeftStartOfDay.getTime() === dateRightStartOfDay.getTime();\n}"],"names":[],"mappings":";;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACe,SAAS,UAAU,CAAC,SAAS,EAAE;AAC9C,EAAE,YAAY,CAAC,CAAC,EAAE,SAAS,CAAC,CAAC;AAC7B,EAAE,IAAI,IAAI,GAAG,MAAM,CAAC,SAAS,CAAC,CAAC;AAC/B,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;AAC5B,EAAE,OAAO,IAAI,CAAC;AACd;;ACvBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACe,SAAS,SAAS,CAAC,aAAa,EAAE,cAAc,EAAE;AACjE,EAAE,YAAY,CAAC,CAAC,EAAE,SAAS,CAAC,CAAC;AAC7B,EAAE,IAAI,kBAAkB,GAAG,UAAU,CAAC,aAAa,CAAC,CAAC;AACrD,EAAE,IAAI,mBAAmB,GAAG,UAAU,CAAC,cAAc,CAAC,CAAC;AACvD,EAAE,OAAO,kBAAkB,CAAC,OAAO,EAAE,KAAK,mBAAmB,CAAC,OAAO,EAAE,CAAC;AACxE;;;;","x_google_ignoreList":[0,1]}
|