@sendbird/uikit-react 3.14.5 → 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 +4 -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-Cj-w5I5i.js → bundle-3Mubyujl.js} +1 -1
- package/chunks/bundle-3Mubyujl.js.map +1 -0
- package/chunks/{bundle-DEFOjZw9.js → bundle-B-DnYw4p.js} +4 -4
- package/chunks/bundle-B-DnYw4p.js.map +1 -0
- package/chunks/{bundle-YveljAuC.js → bundle-B3nNazhn.js} +1 -1
- package/chunks/bundle-B3nNazhn.js.map +1 -0
- package/chunks/{bundle-BI0n-T1b.js → bundle-B3sFrr1p.js} +4 -4
- package/chunks/bundle-B3sFrr1p.js.map +1 -0
- package/chunks/{bundle-DG8DFRNL.js → bundle-B3xB7_P4.js} +6 -5
- package/chunks/{bundle-DG8DFRNL.js.map → bundle-B3xB7_P4.js.map} +1 -1
- package/chunks/{bundle-Cw_yF4Vi.js → bundle-B4izwMfD.js} +1 -1
- package/chunks/bundle-B4izwMfD.js.map +1 -0
- package/chunks/{bundle-E4462uBn.js → bundle-B65gr4tC.js} +1 -1
- package/chunks/bundle-B65gr4tC.js.map +1 -0
- package/chunks/{bundle-CDMcNani.js → bundle-B9ue8vfn.js} +6 -5
- package/chunks/{bundle-CDMcNani.js.map → bundle-B9ue8vfn.js.map} +1 -1
- package/chunks/{bundle-BxaysvGU.js → bundle-BFa8UJ8b.js} +2 -2
- package/chunks/bundle-BFa8UJ8b.js.map +1 -0
- package/chunks/{bundle-Br_sURBN.js → bundle-BKVuhi2w.js} +1 -1
- package/chunks/bundle-BKVuhi2w.js.map +1 -0
- package/chunks/{bundle-D2MpL8t0.js → bundle-BMQLJ23N.js} +16 -11
- package/chunks/{bundle-D2MpL8t0.js.map → bundle-BMQLJ23N.js.map} +1 -1
- package/chunks/{bundle-Cdx5L_Jm.js → bundle-BRZDoZIQ.js} +3 -3
- package/chunks/bundle-BRZDoZIQ.js.map +1 -0
- package/chunks/{bundle-SI5OarjR.js → bundle-BWiA6-mB.js} +3 -3
- package/chunks/{bundle-SI5OarjR.js.map → bundle-BWiA6-mB.js.map} +1 -1
- package/chunks/{bundle-cgNuve_E.js → bundle-BYyMnx0z.js} +2 -2
- package/chunks/bundle-BYyMnx0z.js.map +1 -0
- package/chunks/{bundle-Y_WIAHds.js → bundle-BaXke8XU.js} +3 -3
- package/chunks/bundle-BaXke8XU.js.map +1 -0
- package/chunks/{bundle-HFOQJZAX.js → bundle-Bd6fN8eX.js} +1 -1
- package/chunks/bundle-Bd6fN8eX.js.map +1 -0
- package/chunks/{bundle-C1XVT5qc.js → bundle-BgL9QnGd.js} +5 -4
- package/chunks/bundle-BgL9QnGd.js.map +1 -0
- package/chunks/{bundle-B26G55qN.js → bundle-BiK_ngKm.js} +1 -1
- package/chunks/{bundle-B26G55qN.js.map → bundle-BiK_ngKm.js.map} +1 -1
- package/chunks/{bundle-CUOi3VHK.js → bundle-BjTYwue9.js} +5 -5
- package/chunks/{bundle-CUOi3VHK.js.map → bundle-BjTYwue9.js.map} +1 -1
- package/chunks/{bundle-BQPvwBK8.js → bundle-Bmk2FVdj.js} +1 -1
- package/chunks/bundle-Bmk2FVdj.js.map +1 -0
- package/chunks/{bundle-hF8Gurf8.js → bundle-Boh0Ffwo.js} +1 -1
- package/chunks/bundle-Boh0Ffwo.js.map +1 -0
- package/chunks/{bundle-C8hyJJ4a.js → bundle-C093wLqR.js} +10 -9
- package/chunks/{bundle-C8hyJJ4a.js.map → bundle-C093wLqR.js.map} +1 -1
- package/chunks/{bundle-B4q4jk6S.js → bundle-C3gISq8S.js} +31 -26
- package/chunks/bundle-C3gISq8S.js.map +1 -0
- package/chunks/{bundle-CTqXLoJ-.js → bundle-C7Vw36CA.js} +1 -1
- package/chunks/{bundle-CTqXLoJ-.js.map → bundle-C7Vw36CA.js.map} +1 -1
- package/chunks/{bundle-C2B-jwQF.js → bundle-C8jE79mn.js} +1 -1
- package/chunks/bundle-C8jE79mn.js.map +1 -0
- package/chunks/{bundle-u9Zl-7Je.js → bundle-CFgnDIJC.js} +1 -1
- package/chunks/bundle-CFgnDIJC.js.map +1 -0
- package/chunks/{bundle-DiVyB2HD.js → bundle-CGmq3qGM.js} +25 -30
- package/chunks/bundle-CGmq3qGM.js.map +1 -0
- package/chunks/{bundle-DudTIr4X.js → bundle-COYqO05C.js} +1 -1
- package/chunks/bundle-COYqO05C.js.map +1 -0
- package/chunks/{bundle-B8F-tpmW.js → bundle-COd0N3nE.js} +34 -30
- package/chunks/{bundle-B8F-tpmW.js.map → bundle-COd0N3nE.js.map} +1 -1
- package/chunks/{bundle-DHrYAkRt.js → bundle-COoyrRF6.js} +2 -1
- package/chunks/bundle-COoyrRF6.js.map +1 -0
- package/chunks/{bundle-C5i4dn9q.js → bundle-CWXSCBTE.js} +1 -1
- package/chunks/bundle-CWXSCBTE.js.map +1 -0
- package/chunks/{bundle-BD-1uffr.js → bundle-CYknZObK.js} +6 -6
- package/chunks/{bundle-BD-1uffr.js.map → bundle-CYknZObK.js.map} +1 -1
- package/chunks/{bundle-60et0yds.js → bundle-C_dNvBEo.js} +2 -4
- package/chunks/bundle-C_dNvBEo.js.map +1 -0
- package/chunks/{bundle-DElB1Hqa.js → bundle-CbFt9rKR.js} +6 -6
- package/chunks/bundle-CbFt9rKR.js.map +1 -0
- package/chunks/{bundle-B621kS6J.js → bundle-Ce-B4ROs.js} +1 -1
- package/chunks/{bundle-B621kS6J.js.map → bundle-Ce-B4ROs.js.map} +1 -1
- package/chunks/{bundle-BGTq2aZA.js → bundle-Ck_ke5Gq.js} +4 -4
- package/chunks/bundle-Ck_ke5Gq.js.map +1 -0
- package/chunks/{bundle-DYmy2oK3.js → bundle-Cn6S1UKt.js} +11 -11
- package/chunks/bundle-Cn6S1UKt.js.map +1 -0
- package/chunks/{bundle-C6yCDg1g.js → bundle-Cp2PKGXI.js} +18 -17
- package/chunks/{bundle-C6yCDg1g.js.map → bundle-Cp2PKGXI.js.map} +1 -1
- package/chunks/{bundle-CtgXJZJt.js → bundle-CriEArZn.js} +1 -1
- package/chunks/bundle-CriEArZn.js.map +1 -0
- package/chunks/{bundle-2jZ-0hKC.js → bundle-Ct6xKrI3.js} +35 -38
- package/{cjs/chunks/bundle-BEtlTF8Q.js.map → chunks/bundle-Ct6xKrI3.js.map} +1 -1
- package/chunks/{bundle-D-cEFrBM.js → bundle-CttExrDx.js} +19 -35
- package/chunks/{bundle-D-cEFrBM.js.map → bundle-CttExrDx.js.map} +1 -1
- package/chunks/{bundle-DZl5IVWc.js → bundle-D1rcEkoi.js} +2 -2
- package/chunks/{bundle-DZl5IVWc.js.map → bundle-D1rcEkoi.js.map} +1 -1
- package/chunks/{bundle-BXXtOrta.js → bundle-D5P54ZJi.js} +58 -50
- package/chunks/{bundle-BXXtOrta.js.map → bundle-D5P54ZJi.js.map} +1 -1
- package/chunks/{bundle-BfjOoJk6.js → bundle-D9dyuFq0.js} +8 -8
- package/chunks/bundle-D9dyuFq0.js.map +1 -0
- package/chunks/{bundle-CDy_GVNR.js → bundle-DKkCwVCs.js} +1 -1
- package/chunks/{bundle-CDy_GVNR.js.map → bundle-DKkCwVCs.js.map} +1 -1
- package/chunks/{bundle-BA5xmpyI.js → bundle-DKs8lowG.js} +40 -62
- package/chunks/{bundle-BA5xmpyI.js.map → bundle-DKs8lowG.js.map} +1 -1
- package/chunks/{bundle-C8XqVZD9.js → bundle-DQZG-uS3.js} +6 -6
- package/chunks/bundle-DQZG-uS3.js.map +1 -0
- package/chunks/{bundle-D5DtB0L7.js → bundle-DQdztuN4.js} +62 -69
- package/chunks/{bundle-D5DtB0L7.js.map → bundle-DQdztuN4.js.map} +1 -1
- package/chunks/{bundle-ARb5Lm9T.js → bundle-DYErcqMl.js} +2 -2
- package/chunks/bundle-DYErcqMl.js.map +1 -0
- package/chunks/{bundle-DwvN2wPi.js → bundle-DYtgOX1c.js} +6 -6
- package/chunks/bundle-DYtgOX1c.js.map +1 -0
- package/chunks/{bundle-thdxvFU8.js → bundle-DhBuJR0w.js} +3 -2
- package/chunks/bundle-DhBuJR0w.js.map +1 -0
- package/chunks/{bundle-DwPw_RW5.js → bundle-Dk5y6RzJ.js} +1 -1
- package/chunks/bundle-Dk5y6RzJ.js.map +1 -0
- package/chunks/{bundle-9Pg6kODx.js → bundle-DprHnWfH.js} +1 -1
- package/chunks/{bundle-9Pg6kODx.js.map → bundle-DprHnWfH.js.map} +1 -1
- package/chunks/{bundle-uI-GOX6U.js → bundle-DuBg9tG9.js} +2 -2
- package/chunks/bundle-DuBg9tG9.js.map +1 -0
- package/chunks/{bundle-WdeDKCD0.js → bundle-DuRujwfr.js} +10 -10
- package/chunks/bundle-DuRujwfr.js.map +1 -0
- package/chunks/{bundle-e3NlFYfX.js → bundle-Dv6nIlPZ.js} +7 -7
- package/chunks/bundle-Dv6nIlPZ.js.map +1 -0
- package/chunks/{bundle-Chn4Xw78.js → bundle-DvNDJy8Z.js} +2 -2
- package/chunks/bundle-DvNDJy8Z.js.map +1 -0
- package/chunks/{bundle-DhJuLwLJ.js → bundle-Dw9nwO7e.js} +1 -1
- package/chunks/bundle-Dw9nwO7e.js.map +1 -0
- package/chunks/{bundle-2vhBVWLQ.js → bundle-DwJ8HgZK.js} +7 -4
- package/{cjs/chunks/bundle-Bpy7IQta.js.map → chunks/bundle-DwJ8HgZK.js.map} +1 -1
- package/chunks/{bundle-DVc25Jb7.js → bundle-EYdnditu.js} +5 -5
- package/chunks/bundle-EYdnditu.js.map +1 -0
- package/chunks/{bundle-klvZ-YE5.js → bundle-EgWLYRXK.js} +1 -1
- package/chunks/bundle-EgWLYRXK.js.map +1 -0
- package/chunks/{bundle-DoXeGvHN.js → bundle-FfoT30Gt.js} +1 -1
- package/chunks/bundle-FfoT30Gt.js.map +1 -0
- package/chunks/{bundle-Pw31xKtZ.js → bundle-GMapp_Tb.js} +9 -5
- package/chunks/bundle-GMapp_Tb.js.map +1 -0
- package/chunks/{bundle-iA2l_iD3.js → bundle-Ps1Qc3cX.js} +9 -3
- package/chunks/bundle-Ps1Qc3cX.js.map +1 -0
- package/chunks/{bundle-DUVa5cu6.js → bundle-QPuxH0uW.js} +1 -1
- package/chunks/bundle-QPuxH0uW.js.map +1 -0
- package/chunks/{bundle-xHRJMo_A.js → bundle-RoB3xpYU.js} +3 -3
- package/chunks/bundle-RoB3xpYU.js.map +1 -0
- package/chunks/{bundle-DVMiIa_8.js → bundle-RuTR5KRM.js} +13 -13
- package/chunks/{bundle-DVMiIa_8.js.map → bundle-RuTR5KRM.js.map} +1 -1
- package/chunks/{bundle-CLQfFjkS.js → bundle-U_oIvkG2.js} +3 -3
- package/chunks/bundle-U_oIvkG2.js.map +1 -0
- package/chunks/{bundle-Dpj_mOs8.js → bundle-YUF6WfTL.js} +30 -33
- package/chunks/bundle-YUF6WfTL.js.map +1 -0
- package/chunks/{bundle-HhDUyQa4.js → bundle-ZBhGb8Lc.js} +2 -2
- package/chunks/bundle-ZBhGb8Lc.js.map +1 -0
- package/chunks/{bundle-BUMKThPh.js → bundle-gH-X0MYD.js} +17 -16
- package/chunks/{bundle-BEbribQZ.js.map → bundle-gH-X0MYD.js.map} +1 -1
- package/chunks/{bundle-KmtzKHnJ.js → bundle-gNs_MAJh.js} +1 -1
- package/chunks/bundle-gNs_MAJh.js.map +1 -0
- package/chunks/{bundle-BCuW6lS8.js → bundle-h8I0AuUK.js} +2 -2
- package/chunks/bundle-h8I0AuUK.js.map +1 -0
- package/chunks/{bundle-BH5EGLxi.js → bundle-janisM9b.js} +7 -7
- package/chunks/{bundle-BH5EGLxi.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-q3jyuKU7.js → bundle-prXB4t_m.js} +3 -3
- package/chunks/bundle-prXB4t_m.js.map +1 -0
- package/chunks/{bundle-BEbribQZ.js → bundle-sX9kxwmI.js} +11 -13
- package/chunks/{bundle-BUMKThPh.js.map → bundle-sX9kxwmI.js.map} +1 -1
- package/chunks/{bundle-DQ3tLeW9.js → bundle-t4qeDosj.js} +2 -2
- package/chunks/{bundle-DQ3tLeW9.js.map → bundle-t4qeDosj.js.map} +1 -1
- package/chunks/{bundle-8J9SSfIS.js → bundle-uIqOEfCa.js} +1 -1
- package/chunks/bundle-uIqOEfCa.js.map +1 -0
- package/chunks/{bundle-CclWZYVY.js → bundle-zwvszN0Y.js} +19 -16
- package/{cjs/chunks/bundle-Cc89qdjT.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-DvkiHRsE.js → bundle-0t_JDxef.js} +6 -5
- package/cjs/chunks/bundle-0t_JDxef.js.map +1 -0
- package/cjs/chunks/{bundle-ZItyfz7r.js → bundle-133JUAh1.js} +4 -4
- package/cjs/chunks/bundle-133JUAh1.js.map +1 -0
- package/cjs/chunks/{bundle-CpIdIHld.js → bundle-13qq2yWM.js} +10 -10
- package/cjs/chunks/bundle-13qq2yWM.js.map +1 -0
- package/cjs/chunks/{bundle-CDJXrIVC.js → bundle-1A4pOyri.js} +1 -1
- package/cjs/chunks/{bundle-CDJXrIVC.js.map → bundle-1A4pOyri.js.map} +1 -1
- package/cjs/chunks/{bundle-BG8qs_3y.js → bundle-6_B00yYz.js} +1 -1
- package/cjs/chunks/bundle-6_B00yYz.js.map +1 -0
- package/cjs/chunks/{bundle-BvhC4El1.js → bundle-6aemRbmn.js} +18 -17
- package/cjs/chunks/{bundle-BvhC4El1.js.map → bundle-6aemRbmn.js.map} +1 -1
- package/cjs/chunks/{bundle-DpK1fr1j.js → bundle-7CEyuoln.js} +1 -1
- package/cjs/chunks/bundle-7CEyuoln.js.map +1 -0
- package/cjs/chunks/{bundle-B-0_xv9u.js → bundle-86A5Bf9J.js} +9 -3
- package/cjs/chunks/bundle-86A5Bf9J.js.map +1 -0
- package/cjs/chunks/{bundle-BOrMDMdN.js → bundle-A_xDyoq6.js} +30 -33
- package/cjs/chunks/bundle-A_xDyoq6.js.map +1 -0
- package/cjs/chunks/{bundle-DFVUnSWq.js → bundle-B1Ql7yM0.js} +2 -2
- package/cjs/chunks/bundle-B1Ql7yM0.js.map +1 -0
- package/cjs/chunks/{bundle-B2h5VMZ6.js → bundle-B2WuxwoH.js} +2 -2
- package/cjs/chunks/bundle-B2WuxwoH.js.map +1 -0
- package/cjs/chunks/{bundle-D1X4MKLh.js → bundle-BBsKv3Vz.js} +6 -5
- package/{chunks/bundle-B4q4jk6S.js.map → cjs/chunks/bundle-BBsKv3Vz.js.map} +1 -1
- package/cjs/chunks/{bundle-B1uXZFKP.js → bundle-BE-L5873.js} +19 -16
- package/cjs/chunks/{bundle-B1uXZFKP.js.map → bundle-BE-L5873.js.map} +1 -1
- package/cjs/chunks/{bundle-DZMn5ScB.js → bundle-BE1dAigY.js} +6 -6
- package/cjs/chunks/bundle-BE1dAigY.js.map +1 -0
- package/cjs/chunks/{bundle-Ci6F_UQc.js → bundle-BFy8_d3W.js} +1 -1
- package/cjs/chunks/bundle-BFy8_d3W.js.map +1 -0
- package/cjs/chunks/{bundle-CcmMvK6l.js → bundle-BK_SqbHE.js} +1 -1
- package/cjs/chunks/bundle-BK_SqbHE.js.map +1 -0
- package/cjs/chunks/{bundle-8IuV93EV.js → bundle-BLs0JcXs.js} +62 -69
- package/cjs/chunks/{bundle-8IuV93EV.js.map → bundle-BLs0JcXs.js.map} +1 -1
- package/cjs/chunks/{bundle-DWBc-Yv7.js → bundle-BNMoxGCr.js} +1 -1
- package/cjs/chunks/bundle-BNMoxGCr.js.map +1 -0
- package/cjs/chunks/{bundle-Ca7xeBTO.js → bundle-BNzVVkzd.js} +3 -1
- package/cjs/chunks/bundle-BNzVVkzd.js.map +1 -0
- package/cjs/chunks/{bundle-DsrfvJYA.js → bundle-BPV3CKzS.js} +30 -25
- package/cjs/chunks/bundle-BPV3CKzS.js.map +1 -0
- package/cjs/chunks/{bundle-Pfx0MBr4.js → bundle-Bgeq75IH.js} +3 -3
- package/cjs/chunks/bundle-Bgeq75IH.js.map +1 -0
- package/cjs/chunks/{bundle-B4EdciCR.js → bundle-BimsU_nb.js} +2 -1
- package/cjs/chunks/bundle-BimsU_nb.js.map +1 -0
- package/cjs/chunks/{bundle-OCHWYrfg.js → bundle-BtsHzLKX.js} +2 -2
- package/cjs/chunks/bundle-BtsHzLKX.js.map +1 -0
- package/cjs/chunks/{bundle-BMN1aDia.js → bundle-Bvsx1m1J.js} +1 -1
- package/cjs/chunks/bundle-Bvsx1m1J.js.map +1 -0
- package/cjs/chunks/{bundle-DOUm656A.js → bundle-Bw1ttM89.js} +3 -3
- package/cjs/chunks/bundle-Bw1ttM89.js.map +1 -0
- package/cjs/chunks/{bundle-IE4yQ0qq.js → bundle-BzyQ6Vof.js} +1 -1
- package/cjs/chunks/bundle-BzyQ6Vof.js.map +1 -0
- package/cjs/chunks/{bundle-cl2q8NwQ.js → bundle-C1YuUjH3.js} +6 -6
- package/cjs/chunks/bundle-C1YuUjH3.js.map +1 -0
- package/cjs/chunks/{bundle-DFsKxEv-.js → bundle-C4Gs08vJ.js} +34 -30
- package/cjs/chunks/bundle-C4Gs08vJ.js.map +1 -0
- package/cjs/chunks/{bundle-DWGp201o.js → bundle-CA69fSDI.js} +2 -2
- package/cjs/chunks/bundle-CA69fSDI.js.map +1 -0
- package/cjs/chunks/{bundle-ClBBhzU-.js → bundle-CBNBRNN0.js} +1 -1
- package/cjs/chunks/bundle-CBNBRNN0.js.map +1 -0
- package/cjs/chunks/{bundle-hVU-fzqu.js → bundle-CCYpnzRf.js} +58 -50
- package/cjs/chunks/bundle-CCYpnzRf.js.map +1 -0
- package/cjs/chunks/{bundle-DvpCzVKY.js → bundle-CHvJg3bD.js} +1 -1
- package/cjs/chunks/bundle-CHvJg3bD.js.map +1 -0
- package/cjs/chunks/{bundle-D4e0UT-6.js → bundle-CI1zoEKe.js} +1 -1
- package/cjs/chunks/bundle-CI1zoEKe.js.map +1 -0
- package/cjs/chunks/{bundle-Cvu5DOpl.js → bundle-CJk1q-XX.js} +13 -13
- package/cjs/chunks/{bundle-Cvu5DOpl.js.map → bundle-CJk1q-XX.js.map} +1 -1
- package/cjs/chunks/{bundle-DLTCoQzD.js → bundle-CL4Kklzg.js} +1 -1
- package/cjs/chunks/bundle-CL4Kklzg.js.map +1 -0
- package/cjs/chunks/{bundle-IZLtKe6R.js → bundle-CTraI7aM.js} +11 -11
- package/cjs/chunks/bundle-CTraI7aM.js.map +1 -0
- package/cjs/chunks/{bundle-BAqFIbKr.js → bundle-CW2oMonb.js} +16 -11
- package/cjs/chunks/bundle-CW2oMonb.js.map +1 -0
- package/cjs/chunks/{bundle-C0ZNrrcl.js → bundle-C_8UQBXr.js} +5 -4
- package/cjs/chunks/bundle-C_8UQBXr.js.map +1 -0
- package/cjs/chunks/{bundle-CjYhSLRD.js → bundle-Cd-3W3UM.js} +2 -2
- package/cjs/chunks/{bundle-CjYhSLRD.js.map → bundle-Cd-3W3UM.js.map} +1 -1
- package/cjs/chunks/{bundle-WETElB-o.js → bundle-Cd0cyqgA.js} +7 -7
- package/cjs/chunks/bundle-Cd0cyqgA.js.map +1 -0
- package/cjs/chunks/{bundle-BEtlTF8Q.js → bundle-CliI7H5v.js} +39 -61
- package/cjs/chunks/bundle-CliI7H5v.js.map +1 -0
- package/cjs/chunks/{bundle-BCt-Rzil.js → bundle-CoJbL3ob.js} +4 -4
- package/cjs/chunks/bundle-CoJbL3ob.js.map +1 -0
- package/cjs/chunks/{bundle-B2KKkvdj.js → bundle-CuOOXDK0.js} +1 -1
- package/cjs/chunks/bundle-CuOOXDK0.js.map +1 -0
- package/cjs/chunks/{bundle-LLV3t4--.js → bundle-D1Ka8I9e.js} +5 -5
- package/cjs/chunks/bundle-D1Ka8I9e.js.map +1 -0
- package/cjs/chunks/{bundle-DGJX80zy.js → bundle-D1mguvwi.js} +10 -9
- package/cjs/chunks/bundle-D1mguvwi.js.map +1 -0
- package/cjs/chunks/{bundle-SfusZfMJ.js → bundle-D3BhVTZt.js} +1 -1
- package/cjs/chunks/bundle-D3BhVTZt.js.map +1 -0
- package/cjs/chunks/{bundle-DPrTZ-1L.js → bundle-D7rSRN-8.js} +5 -5
- package/cjs/chunks/bundle-D7rSRN-8.js.map +1 -0
- package/cjs/chunks/{bundle-BNVygboA.js → bundle-DAEHB1AV.js} +3 -3
- package/cjs/chunks/bundle-DAEHB1AV.js.map +1 -0
- package/cjs/chunks/{bundle-dr9zoU1D.js → bundle-DMUz-Xui.js} +17 -16
- package/cjs/chunks/{bundle-dr9zoU1D.js.map → bundle-DMUz-Xui.js.map} +1 -1
- package/cjs/chunks/{bundle-CLte647H.js → bundle-DOoshvnj.js} +1 -1
- package/cjs/chunks/bundle-DOoshvnj.js.map +1 -0
- package/cjs/chunks/{bundle-hXD0NDZt.js → bundle-DQu5RJ2y.js} +4 -4
- package/cjs/chunks/bundle-DQu5RJ2y.js.map +1 -0
- package/cjs/chunks/{bundle-Cc89qdjT.js → bundle-DSLFcE0C.js} +11 -13
- package/{chunks/bundle-CclWZYVY.js.map → cjs/chunks/bundle-DSLFcE0C.js.map} +1 -1
- package/cjs/chunks/{bundle-CgOafeY_.js → bundle-DTJnlh7y.js} +3 -3
- package/cjs/chunks/{bundle-CgOafeY_.js.map → bundle-DTJnlh7y.js.map} +1 -1
- package/cjs/chunks/{bundle-D7v4i_Ae.js → bundle-DTzydpqA.js} +2 -4
- package/cjs/chunks/bundle-DTzydpqA.js.map +1 -0
- package/cjs/chunks/{bundle-jLW3AG2G.js → bundle-DUzcm-3u.js} +1 -1
- package/cjs/chunks/{bundle-jLW3AG2G.js.map → bundle-DUzcm-3u.js.map} +1 -1
- package/cjs/chunks/{bundle-DJ9gapN2.js → bundle-DW8u-n3u.js} +25 -30
- package/cjs/chunks/{bundle-DJ9gapN2.js.map → bundle-DW8u-n3u.js.map} +1 -1
- package/cjs/chunks/{bundle-Deao1Upp.js → bundle-DY5rfl6W.js} +3 -3
- package/cjs/chunks/bundle-DY5rfl6W.js.map +1 -0
- package/cjs/chunks/{bundle-CxNGVWIy.js → bundle-DcQeRT4T.js} +1 -1
- package/cjs/chunks/bundle-DcQeRT4T.js.map +1 -0
- package/cjs/chunks/{bundle-BCQxFX-W.js → bundle-Dd1DS9KT.js} +1 -1
- package/cjs/chunks/bundle-Dd1DS9KT.js.map +1 -0
- package/cjs/chunks/{bundle-CPIzT1cf.js → bundle-DikFXMAd.js} +1 -1
- package/cjs/chunks/bundle-DikFXMAd.js.map +1 -0
- package/cjs/chunks/{bundle-CHXLIlQ1.js → bundle-DohVekRv.js} +19 -35
- package/cjs/chunks/{bundle-CHXLIlQ1.js.map → bundle-DohVekRv.js.map} +1 -1
- package/cjs/chunks/{bundle-Cw7xe6J1.js → bundle-DrYI_bNa.js} +7 -7
- package/cjs/chunks/{bundle-Cw7xe6J1.js.map → bundle-DrYI_bNa.js.map} +1 -1
- package/cjs/chunks/{bundle-Bpy7IQta.js → bundle-Dymg5zVO.js} +7 -4
- package/cjs/chunks/{bundle-DGJX80zy.js.map → bundle-Dymg5zVO.js.map} +1 -1
- package/cjs/chunks/{bundle-30fh5iPx.js → bundle-H13ErLKW.js} +2 -2
- package/cjs/chunks/bundle-H13ErLKW.js.map +1 -0
- package/cjs/chunks/{bundle-Cnyr9_mq.js → bundle-KUj3wjEl.js} +3 -3
- package/cjs/chunks/bundle-KUj3wjEl.js.map +1 -0
- package/cjs/chunks/{bundle-GFjnAifB.js → bundle-Kf3idGio.js} +9 -5
- package/cjs/chunks/bundle-Kf3idGio.js.map +1 -0
- package/cjs/chunks/{bundle-Bw_LvbLk.js → bundle-LO6QlzTz.js} +2 -2
- package/cjs/chunks/bundle-LO6QlzTz.js.map +1 -0
- package/cjs/chunks/{bundle-CLNUkVC8.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-glVs_8wY.js → bundle-RUFiV4i0.js} +1 -1
- package/cjs/chunks/bundle-RUFiV4i0.js.map +1 -0
- package/cjs/chunks/{bundle-CL-vjR4o.js → bundle-TEjGhclf.js} +2 -2
- package/cjs/chunks/{bundle-CL-vjR4o.js.map → bundle-TEjGhclf.js.map} +1 -1
- package/cjs/chunks/{bundle-Ub33KGva.js → bundle-YRiE_c63.js} +1 -1
- package/cjs/chunks/bundle-YRiE_c63.js.map +1 -0
- package/cjs/chunks/{bundle-BiTKgXrx.js → bundle-ZjYFUjTH.js} +35 -38
- package/{chunks/bundle-2jZ-0hKC.js.map → cjs/chunks/bundle-ZjYFUjTH.js.map} +1 -1
- package/cjs/chunks/{bundle-DmVeFWB4.js → bundle-cqwHj7Dj.js} +2 -2
- package/cjs/chunks/bundle-cqwHj7Dj.js.map +1 -0
- package/cjs/chunks/{bundle-C-r9vRgc.js → bundle-eTYC1RPT.js} +1 -1
- package/cjs/chunks/bundle-eTYC1RPT.js.map +1 -0
- package/cjs/chunks/{bundle-D9UFa9yx.js → bundle-jHjvHr01.js} +1 -1
- package/cjs/chunks/bundle-jHjvHr01.js.map +1 -0
- package/cjs/chunks/{bundle-xADAFEo0.js → bundle-kbRkyLdH.js} +6 -6
- package/cjs/chunks/bundle-kbRkyLdH.js.map +1 -0
- package/cjs/chunks/{bundle-Bv_QMEk2.js → bundle-lYouUxag.js} +6 -6
- package/cjs/chunks/bundle-lYouUxag.js.map +1 -0
- package/cjs/chunks/{bundle-Bc92JuA7.js → bundle-ozey_V94.js} +8 -8
- package/cjs/chunks/bundle-ozey_V94.js.map +1 -0
- package/cjs/chunks/{bundle-C4UzGGy_.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-2vhBVWLQ.js.map +0 -1
- package/chunks/bundle-60et0yds.js.map +0 -1
- package/chunks/bundle-8J9SSfIS.js.map +0 -1
- package/chunks/bundle-ARb5Lm9T.js.map +0 -1
- package/chunks/bundle-BCuW6lS8.js.map +0 -1
- package/chunks/bundle-BGTq2aZA.js.map +0 -1
- package/chunks/bundle-BI0n-T1b.js.map +0 -1
- package/chunks/bundle-BQPvwBK8.js.map +0 -1
- package/chunks/bundle-BfjOoJk6.js.map +0 -1
- package/chunks/bundle-Br_sURBN.js.map +0 -1
- package/chunks/bundle-BxaysvGU.js.map +0 -1
- package/chunks/bundle-C1XVT5qc.js.map +0 -1
- package/chunks/bundle-C2B-jwQF.js.map +0 -1
- package/chunks/bundle-C5i4dn9q.js.map +0 -1
- package/chunks/bundle-C8XqVZD9.js.map +0 -1
- package/chunks/bundle-CAdxJnio.js +0 -16
- package/chunks/bundle-CAdxJnio.js.map +0 -1
- package/chunks/bundle-CLQfFjkS.js.map +0 -1
- package/chunks/bundle-Cdx5L_Jm.js.map +0 -1
- package/chunks/bundle-Chn4Xw78.js.map +0 -1
- package/chunks/bundle-Cj-w5I5i.js.map +0 -1
- package/chunks/bundle-CtgXJZJt.js.map +0 -1
- package/chunks/bundle-Cw_yF4Vi.js.map +0 -1
- package/chunks/bundle-DEFOjZw9.js.map +0 -1
- package/chunks/bundle-DElB1Hqa.js.map +0 -1
- package/chunks/bundle-DHrYAkRt.js.map +0 -1
- package/chunks/bundle-DUVa5cu6.js.map +0 -1
- package/chunks/bundle-DVc25Jb7.js.map +0 -1
- package/chunks/bundle-DYmy2oK3.js.map +0 -1
- package/chunks/bundle-DhJuLwLJ.js.map +0 -1
- package/chunks/bundle-DiVyB2HD.js.map +0 -1
- package/chunks/bundle-DoXeGvHN.js.map +0 -1
- package/chunks/bundle-Dpj_mOs8.js.map +0 -1
- package/chunks/bundle-DudTIr4X.js.map +0 -1
- package/chunks/bundle-DwPw_RW5.js.map +0 -1
- package/chunks/bundle-DwvN2wPi.js.map +0 -1
- package/chunks/bundle-E4462uBn.js.map +0 -1
- package/chunks/bundle-HFOQJZAX.js.map +0 -1
- package/chunks/bundle-HhDUyQa4.js.map +0 -1
- package/chunks/bundle-KmtzKHnJ.js.map +0 -1
- package/chunks/bundle-Pw31xKtZ.js.map +0 -1
- package/chunks/bundle-WdeDKCD0.js.map +0 -1
- package/chunks/bundle-Y_WIAHds.js.map +0 -1
- package/chunks/bundle-YveljAuC.js.map +0 -1
- package/chunks/bundle-cgNuve_E.js.map +0 -1
- package/chunks/bundle-e3NlFYfX.js.map +0 -1
- package/chunks/bundle-hF8Gurf8.js.map +0 -1
- package/chunks/bundle-iA2l_iD3.js.map +0 -1
- package/chunks/bundle-klvZ-YE5.js.map +0 -1
- package/chunks/bundle-q3jyuKU7.js.map +0 -1
- package/chunks/bundle-thdxvFU8.js.map +0 -1
- package/chunks/bundle-u9Zl-7Je.js.map +0 -1
- package/chunks/bundle-uI-GOX6U.js.map +0 -1
- package/chunks/bundle-xHRJMo_A.js.map +0 -1
- package/cjs/chunks/bundle-30fh5iPx.js.map +0 -1
- package/cjs/chunks/bundle-B-0_xv9u.js.map +0 -1
- package/cjs/chunks/bundle-B2KKkvdj.js.map +0 -1
- package/cjs/chunks/bundle-B2h5VMZ6.js.map +0 -1
- package/cjs/chunks/bundle-B4EdciCR.js.map +0 -1
- package/cjs/chunks/bundle-B7wJ4Hqk.js +0 -20
- package/cjs/chunks/bundle-B7wJ4Hqk.js.map +0 -1
- package/cjs/chunks/bundle-BAqFIbKr.js.map +0 -1
- package/cjs/chunks/bundle-BCQxFX-W.js.map +0 -1
- package/cjs/chunks/bundle-BCt-Rzil.js.map +0 -1
- package/cjs/chunks/bundle-BG8qs_3y.js.map +0 -1
- package/cjs/chunks/bundle-BMN1aDia.js.map +0 -1
- package/cjs/chunks/bundle-BNVygboA.js.map +0 -1
- package/cjs/chunks/bundle-BOrMDMdN.js.map +0 -1
- package/cjs/chunks/bundle-Bc92JuA7.js.map +0 -1
- package/cjs/chunks/bundle-BiTKgXrx.js.map +0 -1
- package/cjs/chunks/bundle-Bv_QMEk2.js.map +0 -1
- package/cjs/chunks/bundle-Bw_LvbLk.js.map +0 -1
- package/cjs/chunks/bundle-C-r9vRgc.js.map +0 -1
- package/cjs/chunks/bundle-C0ZNrrcl.js.map +0 -1
- package/cjs/chunks/bundle-C4UzGGy_.js.map +0 -1
- package/cjs/chunks/bundle-CLNUkVC8.js.map +0 -1
- package/cjs/chunks/bundle-CLte647H.js.map +0 -1
- package/cjs/chunks/bundle-CPIzT1cf.js.map +0 -1
- package/cjs/chunks/bundle-Ca7xeBTO.js.map +0 -1
- package/cjs/chunks/bundle-CcmMvK6l.js.map +0 -1
- package/cjs/chunks/bundle-Ci6F_UQc.js.map +0 -1
- package/cjs/chunks/bundle-ClBBhzU-.js.map +0 -1
- package/cjs/chunks/bundle-Cnyr9_mq.js.map +0 -1
- package/cjs/chunks/bundle-CpIdIHld.js.map +0 -1
- package/cjs/chunks/bundle-CxNGVWIy.js.map +0 -1
- package/cjs/chunks/bundle-D1X4MKLh.js.map +0 -1
- package/cjs/chunks/bundle-D4e0UT-6.js.map +0 -1
- package/cjs/chunks/bundle-D7v4i_Ae.js.map +0 -1
- package/cjs/chunks/bundle-D9UFa9yx.js.map +0 -1
- package/cjs/chunks/bundle-DFVUnSWq.js.map +0 -1
- package/cjs/chunks/bundle-DFsKxEv-.js.map +0 -1
- package/cjs/chunks/bundle-DLTCoQzD.js.map +0 -1
- package/cjs/chunks/bundle-DOUm656A.js.map +0 -1
- package/cjs/chunks/bundle-DPrTZ-1L.js.map +0 -1
- package/cjs/chunks/bundle-DWBc-Yv7.js.map +0 -1
- package/cjs/chunks/bundle-DWGp201o.js.map +0 -1
- package/cjs/chunks/bundle-DZMn5ScB.js.map +0 -1
- package/cjs/chunks/bundle-Deao1Upp.js.map +0 -1
- package/cjs/chunks/bundle-DmVeFWB4.js.map +0 -1
- package/cjs/chunks/bundle-DpK1fr1j.js.map +0 -1
- package/cjs/chunks/bundle-DsrfvJYA.js.map +0 -1
- package/cjs/chunks/bundle-DvkiHRsE.js.map +0 -1
- package/cjs/chunks/bundle-DvpCzVKY.js.map +0 -1
- package/cjs/chunks/bundle-GFjnAifB.js.map +0 -1
- package/cjs/chunks/bundle-IE4yQ0qq.js.map +0 -1
- package/cjs/chunks/bundle-IZLtKe6R.js.map +0 -1
- package/cjs/chunks/bundle-LLV3t4--.js.map +0 -1
- package/cjs/chunks/bundle-OCHWYrfg.js.map +0 -1
- package/cjs/chunks/bundle-Pfx0MBr4.js.map +0 -1
- package/cjs/chunks/bundle-SfusZfMJ.js.map +0 -1
- package/cjs/chunks/bundle-Ub33KGva.js.map +0 -1
- package/cjs/chunks/bundle-WETElB-o.js.map +0 -1
- package/cjs/chunks/bundle-ZItyfz7r.js.map +0 -1
- package/cjs/chunks/bundle-cl2q8NwQ.js.map +0 -1
- package/cjs/chunks/bundle-glVs_8wY.js.map +0 -1
- package/cjs/chunks/bundle-hVU-fzqu.js.map +0 -1
- package/cjs/chunks/bundle-hXD0NDZt.js.map +0 -1
- package/cjs/chunks/bundle-xADAFEo0.js.map +0 -1
- package/dist/index.css.map +0 -1
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
import { c as __spreadArray, _ as __assign } from '../chunks/bundle-
|
|
1
|
+
import { c as __spreadArray, _ as __assign } from '../chunks/bundle-DKkCwVCs.js';
|
|
2
2
|
import React__default, { useContext, useRef, useState, useEffect } from 'react';
|
|
3
|
-
import { f as format } from '../chunks/bundle-
|
|
4
|
-
import { A as Avatar } from '../chunks/bundle-
|
|
3
|
+
import { f as format } from '../chunks/bundle-t4qeDosj.js';
|
|
4
|
+
import { A as Avatar } from '../chunks/bundle-BgL9QnGd.js';
|
|
5
5
|
import ContextMenu, { MenuItems, MenuItem } from './ContextMenu.js';
|
|
6
6
|
import Icon, { IconTypes, IconColors } from './Icon.js';
|
|
7
7
|
import IconButton from './IconButton.js';
|
|
8
|
-
import { L as Label, a as LabelTypography, b as LabelColors } from '../chunks/bundle-
|
|
8
|
+
import { L as Label, a as LabelTypography, b as LabelColors } from '../chunks/bundle-prXB4t_m.js';
|
|
9
9
|
import Loader from './Loader.js';
|
|
10
10
|
import UserProfile from './UserProfile.js';
|
|
11
|
-
import { a as UserProfileContext } from '../chunks/bundle-
|
|
12
|
-
import { u as useLocalization } from '../chunks/bundle-
|
|
13
|
-
import { c as copyToClipboard } from '../chunks/bundle-
|
|
14
|
-
import { u as uuidv4 } from '../chunks/bundle-
|
|
15
|
-
import { g as getSenderFromMessage, s as showMenuTrigger, i as isFineCopy, a as isFineEdit, b as isFineResend, c as isFineDelete, O as OpenChannelMobileMenu, d as checkIsPending, e as checkIsFailed } from '../chunks/bundle-
|
|
16
|
-
import { u as useMediaQueryContext } from '../chunks/bundle-
|
|
17
|
-
import { u as useLongPress } from '../chunks/bundle-
|
|
18
|
-
import { d as isEditedMessage } from '../chunks/bundle-
|
|
19
|
-
import '../chunks/bundle-
|
|
11
|
+
import { a as UserProfileContext } from '../chunks/bundle-C_dNvBEo.js';
|
|
12
|
+
import { u as useLocalization } from '../chunks/bundle-nfJ9J5Md.js';
|
|
13
|
+
import { c as copyToClipboard } from '../chunks/bundle-FfoT30Gt.js';
|
|
14
|
+
import { u as uuidv4 } from '../chunks/bundle-uIqOEfCa.js';
|
|
15
|
+
import { g as getSenderFromMessage, s as showMenuTrigger, i as isFineCopy, a as isFineEdit, b as isFineResend, c as isFineDelete, O as OpenChannelMobileMenu, d as checkIsPending, e as checkIsFailed } from '../chunks/bundle-CYknZObK.js';
|
|
16
|
+
import { u as useMediaQueryContext } from '../chunks/bundle-3Mubyujl.js';
|
|
17
|
+
import { u as useLongPress } from '../chunks/bundle-RoB3xpYU.js';
|
|
18
|
+
import { d as isEditedMessage } from '../chunks/bundle-janisM9b.js';
|
|
19
|
+
import '../chunks/bundle-DprHnWfH.js';
|
|
20
20
|
import './ImageRenderer.js';
|
|
21
|
-
import '../chunks/bundle-
|
|
22
|
-
import '../chunks/bundle-
|
|
23
|
-
import '../chunks/bundle-
|
|
21
|
+
import '../chunks/bundle-Dw9nwO7e.js';
|
|
22
|
+
import '../chunks/bundle-Bmk2FVdj.js';
|
|
23
|
+
import '../chunks/bundle-DwJ8HgZK.js';
|
|
24
24
|
import 'react-dom';
|
|
25
25
|
import '@sendbird/chat';
|
|
26
26
|
import '@sendbird/chat/openChannel';
|
|
27
27
|
import './SortByRow.js';
|
|
28
|
-
import '../chunks/bundle-
|
|
28
|
+
import '../chunks/bundle-Ce-B4ROs.js';
|
|
29
29
|
import '../sendbirdSelectors.js';
|
|
30
|
-
import '../chunks/bundle-
|
|
30
|
+
import '../chunks/bundle-CriEArZn.js';
|
|
31
31
|
import './Button.js';
|
|
32
32
|
import '../useSendbirdStateContext.js';
|
|
33
33
|
import '../withSendbird.js';
|
|
@@ -39,10 +39,10 @@ function OpenchannelUserMessage(_a) {
|
|
|
39
39
|
// hooks
|
|
40
40
|
var _c = useLocalization(), stringSet = _c.stringSet, dateLocale = _c.dateLocale;
|
|
41
41
|
var _d = useContext(UserProfileContext), disableUserProfile = _d.disableUserProfile, renderUserProfile = _d.renderUserProfile;
|
|
42
|
-
var messageRef = useRef(
|
|
43
|
-
var avatarRef = useRef(
|
|
44
|
-
var contextMenuRef = useRef(
|
|
45
|
-
var mobileMenuRef = useRef(
|
|
42
|
+
var messageRef = useRef();
|
|
43
|
+
var avatarRef = useRef();
|
|
44
|
+
var contextMenuRef = useRef();
|
|
45
|
+
var mobileMenuRef = useRef();
|
|
46
46
|
var _e = useState({}), contextStyle = _e[0], setContextStyle = _e[1];
|
|
47
47
|
var _f = useState(false), contextMenu = _f[0], setContextMenu = _f[1];
|
|
48
48
|
// consts
|
|
@@ -53,7 +53,7 @@ function OpenchannelUserMessage(_a) {
|
|
|
53
53
|
// place context menu top depending clientHeight of message component
|
|
54
54
|
useEffect(function () {
|
|
55
55
|
var _a;
|
|
56
|
-
if (((_a = messageRef === null || messageRef === void 0 ? void 0 : messageRef.current) === null || _a === void 0 ? void 0 : _a.clientHeight) > 36) {
|
|
56
|
+
if (((_a = messageRef === null || messageRef === void 0 ? void 0 : messageRef.current) === null || _a === void 0 ? void 0 : _a.clientHeight) && messageRef.current.clientHeight > 36) {
|
|
57
57
|
setContextStyle({ top: '8px ' });
|
|
58
58
|
}
|
|
59
59
|
else {
|
package/ui/PlaceHolder.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { c as __spreadArray } from '../chunks/bundle-
|
|
1
|
+
import { c as __spreadArray } from '../chunks/bundle-DKkCwVCs.js';
|
|
2
2
|
import React__default, { useContext } from 'react';
|
|
3
|
-
import { L as LocalizationContext } from '../chunks/bundle-
|
|
3
|
+
import { L as LocalizationContext } from '../chunks/bundle-nfJ9J5Md.js';
|
|
4
4
|
import Icon, { IconTypes, IconColors } from './Icon.js';
|
|
5
|
-
import { L as Label, a as LabelTypography, b as LabelColors } from '../chunks/bundle-
|
|
5
|
+
import { L as Label, a as LabelTypography, b as LabelColors } from '../chunks/bundle-prXB4t_m.js';
|
|
6
6
|
import Loader from './Loader.js';
|
|
7
|
-
import '../chunks/bundle-
|
|
8
|
-
import '../chunks/bundle-
|
|
9
|
-
import '../chunks/bundle-
|
|
7
|
+
import '../chunks/bundle-Ce-B4ROs.js';
|
|
8
|
+
import '../chunks/bundle-DprHnWfH.js';
|
|
9
|
+
import '../chunks/bundle-Dw9nwO7e.js';
|
|
10
10
|
|
|
11
11
|
var PlaceHolderTypes = {
|
|
12
12
|
LOADING: 'LOADING',
|
|
@@ -18,7 +18,7 @@ var PlaceHolderTypes = {
|
|
|
18
18
|
NO_RESULTS: 'NO_RESULTS',
|
|
19
19
|
};
|
|
20
20
|
function PlaceHolder(_a) {
|
|
21
|
-
var _b = _a.className, className = _b === void 0 ? '' : _b, type = _a.type, iconSize = _a.iconSize, _c = _a.searchInString, searchInString = _c === void 0 ? '' : _c,
|
|
21
|
+
var _b = _a.className, className = _b === void 0 ? '' : _b, type = _a.type, iconSize = _a.iconSize, _c = _a.searchInString, searchInString = _c === void 0 ? '' : _c, retryToConnect = _a.retryToConnect;
|
|
22
22
|
var stringSet = useContext(LocalizationContext).stringSet;
|
|
23
23
|
return (React__default.createElement("div", { className: __spreadArray(__spreadArray([], (Array.isArray(className) ? className : [className]), true), [
|
|
24
24
|
'sendbird-place-holder',
|
package/ui/PlaybackTime.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
|
-
import { a as LabelTypography, b as LabelColors, L as Label } from '../chunks/bundle-
|
|
3
|
-
import '../chunks/bundle-
|
|
4
|
-
import '../chunks/bundle-
|
|
2
|
+
import { a as LabelTypography, b as LabelColors, L as Label } from '../chunks/bundle-prXB4t_m.js';
|
|
3
|
+
import '../chunks/bundle-DKkCwVCs.js';
|
|
4
|
+
import '../chunks/bundle-Ce-B4ROs.js';
|
|
5
5
|
|
|
6
6
|
var PlaybackTime = function (_a) {
|
|
7
7
|
var className = _a.className, _b = _a.time, time = _b === void 0 ? 0 : _b, _c = _a.labelType, labelType = _c === void 0 ? LabelTypography.CAPTION_2 : _c, _d = _a.labelColor, labelColor = _d === void 0 ? LabelColors.ONCONTENT_1 : _d;
|
package/ui/ProgressBar.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import React__default, { useMemo } from 'react';
|
|
2
|
+
import { c as classnames } from '../chunks/bundle-Dw9nwO7e.js';
|
|
2
3
|
|
|
3
4
|
/* eslint-disable no-redeclare */
|
|
4
5
|
var ProgressBarColorTypes = {
|
|
@@ -10,7 +11,7 @@ var ProgressBar = function (_a) {
|
|
|
10
11
|
var width = useMemo(function () {
|
|
11
12
|
return "".concat(currentSize / maxSize * 100, "%");
|
|
12
13
|
}, [currentSize, maxSize]);
|
|
13
|
-
return (React__default.createElement("div", { className:
|
|
14
|
+
return (React__default.createElement("div", { className: classnames('sendbird-progress-bar', className, colorType, disabled && 'progress-bar--disabled') },
|
|
14
15
|
React__default.createElement("div", { className: "sendbird-progress-bar__fill", style: { width: width } })));
|
|
15
16
|
};
|
|
16
17
|
|
package/ui/ProgressBar.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProgressBar.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ProgressBar.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;"}
|
package/ui/QuoteMessage.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import React__default, { useContext, useState } 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-
|
|
3
|
+
import { L as Label, a as LabelTypography, b as LabelColors } from '../chunks/bundle-prXB4t_m.js';
|
|
4
4
|
import ImageRenderer from './ImageRenderer.js';
|
|
5
|
-
import { L as LocalizationContext } from '../chunks/bundle-
|
|
6
|
-
import { z as getUIKitFileTypes, w as getClassName, l as isUserMessage, i as isVoiceMessage, p as isThumbnailMessage, c as isMultipleFilesMessage, j as isVideo, A as isGif, m as getUIKitMessageType, U as UIKitMessageTypes, o as getUIKitFileType, t as truncateString } from '../chunks/bundle-
|
|
7
|
-
import { g as getMessageFirstFileUrl, a as getMessageFirstFileType, b as getMessageFirstFileName } from '../chunks/bundle-
|
|
8
|
-
import '../chunks/bundle-
|
|
9
|
-
import '../chunks/bundle-
|
|
10
|
-
import '../chunks/bundle-
|
|
11
|
-
import '../chunks/bundle-
|
|
5
|
+
import { L as LocalizationContext } from '../chunks/bundle-nfJ9J5Md.js';
|
|
6
|
+
import { z as getUIKitFileTypes, w as getClassName, l as isUserMessage, i as isVoiceMessage, p as isThumbnailMessage, c as isMultipleFilesMessage, j as isVideo, A as isGif, m as getUIKitMessageType, U as UIKitMessageTypes, o as getUIKitFileType, t as truncateString } from '../chunks/bundle-janisM9b.js';
|
|
7
|
+
import { g as getMessageFirstFileUrl, a as getMessageFirstFileType, b as getMessageFirstFileName } from '../chunks/bundle-DYErcqMl.js';
|
|
8
|
+
import '../chunks/bundle-DKkCwVCs.js';
|
|
9
|
+
import '../chunks/bundle-Dw9nwO7e.js';
|
|
10
|
+
import '../chunks/bundle-Ce-B4ROs.js';
|
|
11
|
+
import '../chunks/bundle-DprHnWfH.js';
|
|
12
12
|
import '@sendbird/chat/groupChannel';
|
|
13
13
|
import '../utils/message/getOutgoingMessageState.js';
|
|
14
14
|
|
package/ui/QuoteMessageInput.js
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import React__default, { useContext } from 'react';
|
|
2
|
-
import { b as isFileMessage, c as isMultipleFilesMessage, i as isVoiceMessage, I as isImageMessage, r as isVideoMessage, J as isImageFileInfo, p as isThumbnailMessage, L as isAudioMessage, w as getClassName, s as isGifMessage, l as isUserMessage, m as getUIKitMessageType, U as UIKitMessageTypes } from '../chunks/bundle-
|
|
2
|
+
import { b as isFileMessage, c as isMultipleFilesMessage, i as isVoiceMessage, I as isImageMessage, r as isVideoMessage, J as isImageFileInfo, p as isThumbnailMessage, L as isAudioMessage, w as getClassName, s as isGifMessage, l as isUserMessage, m as getUIKitMessageType, U as UIKitMessageTypes } from '../chunks/bundle-janisM9b.js';
|
|
3
3
|
import Icon, { IconTypes, IconColors } from './Icon.js';
|
|
4
|
-
import { L as Label, a as LabelTypography, b as LabelColors } from '../chunks/bundle-
|
|
5
|
-
import { L as LocalizationContext } from '../chunks/bundle-
|
|
4
|
+
import { L as Label, a as LabelTypography, b as LabelColors } from '../chunks/bundle-prXB4t_m.js';
|
|
5
|
+
import { L as LocalizationContext } from '../chunks/bundle-nfJ9J5Md.js';
|
|
6
6
|
import ImageRenderer from './ImageRenderer.js';
|
|
7
|
-
import { c as getMessageFirstFileThumbnailUrl, g as getMessageFirstFileUrl, a as getMessageFirstFileType, b as getMessageFirstFileName } from '../chunks/bundle-
|
|
8
|
-
import '../chunks/bundle-
|
|
7
|
+
import { c as getMessageFirstFileThumbnailUrl, g as getMessageFirstFileUrl, a as getMessageFirstFileType, b as getMessageFirstFileName } from '../chunks/bundle-DYErcqMl.js';
|
|
8
|
+
import '../chunks/bundle-DKkCwVCs.js';
|
|
9
9
|
import '@sendbird/chat/groupChannel';
|
|
10
10
|
import '../utils/message/getOutgoingMessageState.js';
|
|
11
|
-
import '../chunks/bundle-
|
|
12
|
-
import '../chunks/bundle-
|
|
13
|
-
import '../chunks/bundle-
|
|
11
|
+
import '../chunks/bundle-Dw9nwO7e.js';
|
|
12
|
+
import '../chunks/bundle-Ce-B4ROs.js';
|
|
13
|
+
import '../chunks/bundle-DprHnWfH.js';
|
|
14
14
|
|
|
15
15
|
var componentClassname = 'sendbird-quote_message_input__avatar';
|
|
16
16
|
function QuoteMessageThumbnail(_a) {
|
|
17
17
|
var _b;
|
|
18
18
|
var message = _a.message;
|
|
19
19
|
if (!isFileMessage(message) && !isMultipleFilesMessage(message) || isVoiceMessage(message)) {
|
|
20
|
-
return null;
|
|
20
|
+
return React__default.createElement(React__default.Fragment, null);
|
|
21
21
|
}
|
|
22
22
|
var thumbnailUrl = getMessageFirstFileThumbnailUrl(message);
|
|
23
23
|
if (!thumbnailUrl) {
|
|
@@ -55,7 +55,7 @@ function QuoteMessageInput(_a) {
|
|
|
55
55
|
var sender = replyingMessage === null || replyingMessage === void 0 ? void 0 : replyingMessage.sender;
|
|
56
56
|
var displayFileIcon = (isFileMessage(replyingMessage) || isMultipleFilesMessage(replyingMessage))
|
|
57
57
|
&& !isVoiceMessage(replyingMessage);
|
|
58
|
-
return (React__default.createElement("div", { className: getClassName(['sendbird-quote_message_input', className]) },
|
|
58
|
+
return (React__default.createElement("div", { className: getClassName(['sendbird-quote_message_input', className !== null && className !== void 0 ? className : '']) },
|
|
59
59
|
displayFileIcon && (React__default.createElement(QuoteMessageThumbnail, { message: fileMessage })),
|
|
60
60
|
React__default.createElement("div", { className: "sendbird-quote_message_input__body", style: {
|
|
61
61
|
width: "calc(100% - ".concat(displayFileIcon ? '164px' : '120px', ")"),
|
|
@@ -71,7 +71,7 @@ function QuoteMessageInput(_a) {
|
|
|
71
71
|
isMultipleFilesMessage(replyingMessage)
|
|
72
72
|
&& "".concat(fileMessage.fileInfoList.length, " Photos"),
|
|
73
73
|
isVoiceMessage(replyingMessage) && stringSet.VOICE_MESSAGE)),
|
|
74
|
-
React__default.createElement(Icon, { className: "sendbird-quote_message_input__close-button", type: IconTypes.CLOSE, fillColor: IconColors.ON_BACKGROUND_2, width: "24px", height: "24px", onClick: function () { return onClose(replyingMessage); } })));
|
|
74
|
+
React__default.createElement(Icon, { className: "sendbird-quote_message_input__close-button", type: IconTypes.CLOSE, fillColor: IconColors.ON_BACKGROUND_2, width: "24px", height: "24px", onClick: function () { return onClose === null || onClose === void 0 ? void 0 : onClose(replyingMessage); } })));
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
export { QuoteMessageInput as default };
|
package/ui/ReactionBadge.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { c as __spreadArray } from '../chunks/bundle-
|
|
1
|
+
import { c as __spreadArray } from '../chunks/bundle-DKkCwVCs.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-prXB4t_m.js';
|
|
4
|
+
import '../chunks/bundle-Ce-B4ROs.js';
|
|
5
5
|
|
|
6
6
|
var ReactionBadge = React__default.forwardRef(function (props, ref) {
|
|
7
7
|
var _a = props.className, className = _a === void 0 ? '' : _a, children = props.children, _b = props.count, count = _b === void 0 ? '' : _b, _c = props.isAdd, isAdd = _c === void 0 ? false : _c, _d = props.selected, selected = _d === void 0 ? false : _d, _e = props.onClick, onClick = _e === void 0 ? function () { } : _e;
|
|
@@ -19,7 +19,7 @@ var ReactionBadge = React__default.forwardRef(function (props, ref) {
|
|
|
19
19
|
], false).join(' '), role: "button", ref: ref, onClick: onClick, onKeyDown: onClick, onTouchEnd: onClick, tabIndex: 0 },
|
|
20
20
|
React__default.createElement("div", { className: "sendbird-reaction-badge__inner" },
|
|
21
21
|
React__default.createElement("div", { className: "sendbird-reaction-badge__inner__icon" }, children),
|
|
22
|
-
React__default.createElement(Label, { className: (children && count)
|
|
22
|
+
React__default.createElement(Label, { className: (children && count) ? 'sendbird-reaction-badge__inner__count' : '', type: LabelTypography.CAPTION_3, color: LabelColors.ONBACKGROUND_1 }, count))));
|
|
23
23
|
});
|
|
24
24
|
|
|
25
25
|
export { ReactionBadge as default };
|
package/ui/ReactionButton.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { _ as __assign, c as __spreadArray } from '../chunks/bundle-
|
|
1
|
+
import { _ as __assign, c as __spreadArray } from '../chunks/bundle-DKkCwVCs.js';
|
|
2
2
|
import React__default from 'react';
|
|
3
|
-
import { u as useLongPress } from '../chunks/bundle-
|
|
4
|
-
import { n as noop } from '../chunks/bundle-
|
|
5
|
-
import '../chunks/bundle-
|
|
3
|
+
import { u as useLongPress } from '../chunks/bundle-RoB3xpYU.js';
|
|
4
|
+
import { n as noop } from '../chunks/bundle-Dw9nwO7e.js';
|
|
5
|
+
import '../chunks/bundle-3Mubyujl.js';
|
|
6
6
|
|
|
7
7
|
var ReactionButton = React__default.forwardRef(function (props, ref) {
|
|
8
8
|
var className = props.className, width = props.width, height = props.height, selected = props.selected, _a = props.dataSbId, dataSbId = _a === void 0 ? '' : _a, onClick = props.onClick, children = props.children;
|
package/ui/SortByRow.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { c as __spreadArray } from '../chunks/bundle-
|
|
1
|
+
import { c as __spreadArray } from '../chunks/bundle-DKkCwVCs.js';
|
|
2
2
|
import React__default from 'react';
|
|
3
|
-
import { u as uuidv4 } from '../chunks/bundle-
|
|
3
|
+
import { u as uuidv4 } from '../chunks/bundle-uIqOEfCa.js';
|
|
4
4
|
|
|
5
5
|
var componentClassName = 'sendbird-sort-by-row';
|
|
6
6
|
function SortByRow(_a) {
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { d as __extends, _ as __assign } from '../chunks/bundle-
|
|
1
|
+
import { d as __extends, _ as __assign } from '../chunks/bundle-DKkCwVCs.js';
|
|
2
2
|
import React__default, { Component, useState, useEffect } from 'react';
|
|
3
|
-
import { Z as startsWithAtAndEndsWithBraces, _ as removeAtAndBraces, w as getClassName } from '../chunks/bundle-
|
|
4
|
-
import { M as MessageProvider, a as MessageTemplate, C as CompositeComponentType } from '../chunks/bundle-
|
|
3
|
+
import { Z as startsWithAtAndEndsWithBraces, _ as removeAtAndBraces, w as getClassName } from '../chunks/bundle-janisM9b.js';
|
|
4
|
+
import { M as MessageProvider, a as MessageTemplate, C as CompositeComponentType } from '../chunks/bundle-C7Vw36CA.js';
|
|
5
5
|
import { useSendbirdStateContext } from '../useSendbirdStateContext.js';
|
|
6
6
|
import { FallbackTemplateMessageItemBody } from './FallbackTemplateMessageItemBody.tsx.js';
|
|
7
7
|
import { LoadingTemplateMessageItemBody } from './LoadingTemplateMessageItemBody.tsx.js';
|
|
8
8
|
import '@sendbird/chat/groupChannel';
|
|
9
9
|
import '../utils/message/getOutgoingMessageState.js';
|
|
10
10
|
import '../withSendbird.js';
|
|
11
|
-
import '../chunks/bundle-
|
|
12
|
-
import '../chunks/bundle-
|
|
13
|
-
import '../chunks/bundle-
|
|
14
|
-
import '../chunks/bundle-
|
|
11
|
+
import '../chunks/bundle-nfJ9J5Md.js';
|
|
12
|
+
import '../chunks/bundle-Ce-B4ROs.js';
|
|
13
|
+
import '../chunks/bundle-DprHnWfH.js';
|
|
14
|
+
import '../chunks/bundle-prXB4t_m.js';
|
|
15
15
|
import './Loader.js';
|
|
16
16
|
import './Icon.js';
|
|
17
|
-
import '../chunks/bundle-
|
|
17
|
+
import '../chunks/bundle-Dw9nwO7e.js';
|
|
18
18
|
|
|
19
19
|
var MessageTemplateWrapper = function (_a) {
|
|
20
20
|
var message = _a.message, templateVersion = _a.templateVersion, templateItems = _a.templateItems;
|
|
@@ -39,7 +39,7 @@ function restoreNumbersFromMessageTemplateObject(value, key) {
|
|
|
39
39
|
if (Array.isArray(value)) {
|
|
40
40
|
return value.map(function (item) { return restoreNumbersFromMessageTemplateObject(item); });
|
|
41
41
|
}
|
|
42
|
-
if (typeof value === 'object') {
|
|
42
|
+
if (value && typeof value === 'object') {
|
|
43
43
|
return Object.keys(value).reduce(function (acc, key) {
|
|
44
44
|
acc[key] = restoreNumbersFromMessageTemplateObject(value[key], key);
|
|
45
45
|
return acc;
|
|
@@ -205,8 +205,8 @@ var getFilledMessageTemplateWithData = function (_a) {
|
|
|
205
205
|
return parsedTemplate;
|
|
206
206
|
};
|
|
207
207
|
function TemplateMessageItemBody(_a) {
|
|
208
|
-
var _b;
|
|
209
|
-
var
|
|
208
|
+
var _b, _c;
|
|
209
|
+
var _d = _a.className, className = _d === void 0 ? '' : _d, message = _a.message, _e = _a.isByMe, isByMe = _e === void 0 ? false : _e, _f = _a.theme, theme = _f === void 0 ? 'light' : _f, _g = _a.onTemplateMessageRenderedCallback, onTemplateMessageRenderedCallback = _g === void 0 ? function () { } : _g;
|
|
210
210
|
var templateData = (_b = message.extendedMessagePayload) === null || _b === void 0 ? void 0 : _b['template'];
|
|
211
211
|
var getFailedBody = function () {
|
|
212
212
|
onTemplateMessageRenderedCallback('failed');
|
|
@@ -220,7 +220,7 @@ function TemplateMessageItemBody(_a) {
|
|
|
220
220
|
if (!globalState) {
|
|
221
221
|
return getFailedBody();
|
|
222
222
|
}
|
|
223
|
-
var
|
|
223
|
+
var _h = globalState.utils, getCachedTemplate = _h.getCachedTemplate, updateMessageTemplatesInfo = _h.updateMessageTemplatesInfo;
|
|
224
224
|
var logger = globalState.config.logger;
|
|
225
225
|
var waitingTemplateKeysMap = globalState.stores.appInfoStore.waitingTemplateKeysMap;
|
|
226
226
|
var waitingTemplateKeysMapString = Object.entries(waitingTemplateKeysMap)
|
|
@@ -228,7 +228,7 @@ function TemplateMessageItemBody(_a) {
|
|
|
228
228
|
var key = _a[0], value = _a[1];
|
|
229
229
|
return [key, value.requestedAt, value.erroredMessageIds.join(',')].join('-');
|
|
230
230
|
}).join('_');
|
|
231
|
-
var
|
|
231
|
+
var _j = useState(getFilledMessageTemplateItems()), renderData = _j[0], setRenderData = _j[1];
|
|
232
232
|
function getFilledMessageTemplateItemsForCarouselTemplateByMessagePayload(simpleTemplateDataList) {
|
|
233
233
|
var cachedSimpleTemplates = [];
|
|
234
234
|
var simpleTemplatesVariables = [];
|
|
@@ -240,9 +240,11 @@ function TemplateMessageItemBody(_a) {
|
|
|
240
240
|
throw new Error('TemplateMessageItemBody | simple template keys are not found in view_variables.');
|
|
241
241
|
}
|
|
242
242
|
var simpleCachedTemplate = getCachedTemplate(simpleTemplateKey);
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
243
|
+
if (simpleCachedTemplate) {
|
|
244
|
+
cachedSimpleTemplates.push(simpleCachedTemplate);
|
|
245
|
+
simpleTemplatesVariables.push(simpleTemplateData.variables);
|
|
246
|
+
maxVersion = Math.max(maxVersion, simpleCachedTemplate.version);
|
|
247
|
+
}
|
|
246
248
|
});
|
|
247
249
|
var filledMessageTemplateItemsList = cachedSimpleTemplates
|
|
248
250
|
.map(function (cachedSimpleTemplate, index) {
|
|
@@ -295,7 +297,7 @@ function TemplateMessageItemBody(_a) {
|
|
|
295
297
|
if (!cachedTemplate) {
|
|
296
298
|
nonCachedTemplateKeys.push(templateKey);
|
|
297
299
|
}
|
|
298
|
-
if (templateData.view_variables) {
|
|
300
|
+
if (templateData === null || templateData === void 0 ? void 0 : templateData.view_variables) {
|
|
299
301
|
try {
|
|
300
302
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
301
303
|
Object.entries(templateData.view_variables).forEach(function (_a) {
|
|
@@ -320,7 +322,7 @@ function TemplateMessageItemBody(_a) {
|
|
|
320
322
|
if (nonCachedTemplateKeys.length > 0) {
|
|
321
323
|
tryFetchTemplateByKey(nonCachedTemplateKeys);
|
|
322
324
|
}
|
|
323
|
-
else {
|
|
325
|
+
else if (cachedTemplate) {
|
|
324
326
|
var parsedUiTemplate = JSON.parse(cachedTemplate.uiTemplate);
|
|
325
327
|
if (!Array.isArray(parsedUiTemplate) || parsedUiTemplate.length === 0) {
|
|
326
328
|
logger.error('TemplateMessageItemBody | parsed template is missing ui_template: ', parsedUiTemplate);
|
|
@@ -340,7 +342,7 @@ function TemplateMessageItemBody(_a) {
|
|
|
340
342
|
logger.error('TemplateMessageItemBody | composite template with reservation key must follow the following string format "{@your-reservation-key}": ', templateKey, carouselItem);
|
|
341
343
|
throw new Error('TemplateMessageItemBody | composite template with reservation key must follow the following string format "{@your-reservation-key}". See error log in console for details');
|
|
342
344
|
}
|
|
343
|
-
if (!templateData.view_variables) {
|
|
345
|
+
if (!(templateData === null || templateData === void 0 ? void 0 : templateData.view_variables)) {
|
|
344
346
|
logger.error('TemplateMessageItemBody | template key suggests composite template but template data is missing view_variables: ', templateKey, templateData);
|
|
345
347
|
throw new Error('TemplateMessageItemBody | template key suggests composite template but template data is missing view_variables. See error log in console for details');
|
|
346
348
|
}
|
|
@@ -442,7 +444,7 @@ function TemplateMessageItemBody(_a) {
|
|
|
442
444
|
'sendbird-template-message-item-body',
|
|
443
445
|
]) },
|
|
444
446
|
React__default.createElement(MessageTemplateErrorBoundary, { fallbackMessage: React__default.createElement(FallbackTemplateMessageItemBody, { className: className, message: message, isByMe: isByMe }), onTemplateMessageRenderedCallback: onTemplateMessageRenderedCallback, isComposite: renderData.isComposite, logger: logger },
|
|
445
|
-
React__default.createElement(MessageTemplateWrapper, { message: message, templateVersion: renderData.templateVersion, templateItems: renderData.filledMessageTemplateItemsList }))));
|
|
447
|
+
React__default.createElement(MessageTemplateWrapper, { message: message, templateVersion: (_c = renderData.templateVersion) !== null && _c !== void 0 ? _c : 0, templateItems: renderData.filledMessageTemplateItemsList }))));
|
|
446
448
|
}
|
|
447
449
|
|
|
448
450
|
export { TemplateMessageItemBody, TemplateMessageItemBody as default };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TemplateMessageItemBody.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"TemplateMessageItemBody.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/ui/TextButton.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { c as __spreadArray } from '../chunks/bundle-
|
|
1
|
+
import { c as __spreadArray } from '../chunks/bundle-DKkCwVCs.js';
|
|
2
2
|
import React__default from 'react';
|
|
3
|
-
import { C as Colors, c as changeColorToClassName } from '../chunks/bundle-
|
|
3
|
+
import { C as Colors, c as changeColorToClassName } from '../chunks/bundle-h8I0AuUK.js';
|
|
4
4
|
|
|
5
5
|
var TextButton = function (_a) {
|
|
6
6
|
var _b = _a.className, className = _b === void 0 ? '' : _b, _c = _a.color, color = _c === void 0 ? Colors.ONBACKGROUND_1 : _c, _d = _a.disabled, disabled = _d === void 0 ? false : _d, _e = _a.disableUnderline, disableUnderline = _e === void 0 ? false : _e, _f = _a.onClick, onClick = _f === void 0 ? function () { } : _f, children = _a.children;
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import React__default, { useContext, useMemo } from 'react';
|
|
2
|
-
import { L as Label, a as LabelTypography, b as LabelColors } from '../chunks/bundle-
|
|
3
|
-
import { w as getClassName, d as isEditedMessage } from '../chunks/bundle-
|
|
4
|
-
import { L as LocalizationContext } from '../chunks/bundle-
|
|
5
|
-
import { t as tokenizeMessage } from '../chunks/bundle-
|
|
6
|
-
import { T as TextFragment } from '../chunks/bundle-
|
|
7
|
-
import { T as TEXT_MESSAGE_BODY_CLASSNAME } from '../chunks/bundle-
|
|
8
|
-
import '../chunks/bundle-
|
|
9
|
-
import '../chunks/bundle-
|
|
2
|
+
import { L as Label, a as LabelTypography, b as LabelColors } from '../chunks/bundle-prXB4t_m.js';
|
|
3
|
+
import { w as getClassName, d as isEditedMessage } from '../chunks/bundle-janisM9b.js';
|
|
4
|
+
import { L as LocalizationContext } from '../chunks/bundle-nfJ9J5Md.js';
|
|
5
|
+
import { t as tokenizeMessage } from '../chunks/bundle-ZBhGb8Lc.js';
|
|
6
|
+
import { T as TextFragment } from '../chunks/bundle-B-DnYw4p.js';
|
|
7
|
+
import { T as TEXT_MESSAGE_BODY_CLASSNAME } from '../chunks/bundle-QPuxH0uW.js';
|
|
8
|
+
import '../chunks/bundle-DKkCwVCs.js';
|
|
9
|
+
import '../chunks/bundle-Ce-B4ROs.js';
|
|
10
10
|
import '@sendbird/chat/groupChannel';
|
|
11
11
|
import '../utils/message/getOutgoingMessageState.js';
|
|
12
|
-
import '../chunks/bundle-
|
|
12
|
+
import '../chunks/bundle-DprHnWfH.js';
|
|
13
13
|
import '../Message/context.js';
|
|
14
14
|
import './MentionLabel.js';
|
|
15
15
|
import './ContextMenu.js';
|
|
16
|
-
import '../chunks/bundle-
|
|
16
|
+
import '../chunks/bundle-DwJ8HgZK.js';
|
|
17
17
|
import 'react-dom';
|
|
18
18
|
import '@sendbird/chat';
|
|
19
19
|
import '@sendbird/chat/openChannel';
|
|
20
20
|
import './SortByRow.js';
|
|
21
|
-
import '../chunks/bundle-
|
|
21
|
+
import '../chunks/bundle-uIqOEfCa.js';
|
|
22
22
|
import './UserProfile.js';
|
|
23
|
-
import '../chunks/bundle-
|
|
23
|
+
import '../chunks/bundle-C_dNvBEo.js';
|
|
24
24
|
import '../sendbirdSelectors.js';
|
|
25
|
-
import '../chunks/bundle-
|
|
26
|
-
import '../chunks/bundle-
|
|
27
|
-
import '../chunks/bundle-
|
|
25
|
+
import '../chunks/bundle-CriEArZn.js';
|
|
26
|
+
import '../chunks/bundle-Dw9nwO7e.js';
|
|
27
|
+
import '../chunks/bundle-BgL9QnGd.js';
|
|
28
28
|
import './ImageRenderer.js';
|
|
29
|
-
import '../chunks/bundle-
|
|
29
|
+
import '../chunks/bundle-Bmk2FVdj.js';
|
|
30
30
|
import './Icon.js';
|
|
31
31
|
import './Button.js';
|
|
32
32
|
import '../useSendbirdStateContext.js';
|
|
@@ -34,16 +34,19 @@ import '../withSendbird.js';
|
|
|
34
34
|
import './LinkLabel.js';
|
|
35
35
|
|
|
36
36
|
function TextMessageItemBody(_a) {
|
|
37
|
-
var _b
|
|
38
|
-
var
|
|
37
|
+
var _b;
|
|
38
|
+
var _c = _a.className, className = _c === void 0 ? '' : _c, message = _a.message, _d = _a.isByMe, isByMe = _d === void 0 ? false : _d, _e = _a.mouseHover, mouseHover = _e === void 0 ? false : _e, _f = _a.isMentionEnabled, isMentionEnabled = _f === void 0 ? false : _f, _g = _a.isReactionEnabled, isReactionEnabled = _g === void 0 ? false : _g;
|
|
39
39
|
var stringSet = useContext(LocalizationContext).stringSet;
|
|
40
40
|
var isMessageMentioned = isMentionEnabled
|
|
41
|
-
&& (
|
|
42
|
-
&&
|
|
41
|
+
&& (message === null || message === void 0 ? void 0 : message.mentionedMessageTemplate)
|
|
42
|
+
&& message.mentionedMessageTemplate.length > 0
|
|
43
|
+
&& (message === null || message === void 0 ? void 0 : message.mentionedUsers)
|
|
44
|
+
&& message.mentionedUsers.length > 0;
|
|
43
45
|
var tokens = useMemo(function () {
|
|
46
|
+
var _a;
|
|
44
47
|
if (isMessageMentioned) {
|
|
45
48
|
return tokenizeMessage({
|
|
46
|
-
mentionedUsers: message === null || message === void 0 ? void 0 : message.mentionedUsers,
|
|
49
|
+
mentionedUsers: (_a = message === null || message === void 0 ? void 0 : message.mentionedUsers) !== null && _a !== void 0 ? _a : undefined,
|
|
47
50
|
messageText: message === null || message === void 0 ? void 0 : message.mentionedMessageTemplate,
|
|
48
51
|
});
|
|
49
52
|
}
|
|
@@ -57,7 +60,7 @@ function TextMessageItemBody(_a) {
|
|
|
57
60
|
TEXT_MESSAGE_BODY_CLASSNAME,
|
|
58
61
|
isByMe ? 'outgoing' : 'incoming',
|
|
59
62
|
mouseHover ? 'mouse-hover' : '',
|
|
60
|
-
(isReactionEnabled && ((
|
|
63
|
+
(isReactionEnabled && ((_b = message === null || message === void 0 ? void 0 : message.reactions) === null || _b === void 0 ? void 0 : _b.length) > 0) ? 'reactions' : '',
|
|
61
64
|
]) },
|
|
62
65
|
React__default.createElement(TextFragment, { tokens: tokens }),
|
|
63
66
|
isEditedMessage(message) && (React__default.createElement(Label, { className: "sendbird-text-message-item-body__message edited", type: LabelTypography.BODY_1, color: isByMe ? LabelColors.ONCONTENT_2 : LabelColors.ONBACKGROUND_2 }, " ".concat(stringSet.MESSAGE_EDITED, " "))))));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextMessageItemBody.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"TextMessageItemBody.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/ui/ThreadReplies.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
|
-
import { A as Avatar } from '../chunks/bundle-
|
|
2
|
+
import { A as Avatar } from '../chunks/bundle-BgL9QnGd.js';
|
|
3
3
|
import Icon, { IconTypes, IconColors } from './Icon.js';
|
|
4
|
-
import { L as Label, a as LabelTypography, b as LabelColors } from '../chunks/bundle-
|
|
5
|
-
import { u as useLocalization } from '../chunks/bundle-
|
|
6
|
-
import '../chunks/bundle-
|
|
4
|
+
import { L as Label, a as LabelTypography, b as LabelColors } from '../chunks/bundle-prXB4t_m.js';
|
|
5
|
+
import { u as useLocalization } from '../chunks/bundle-nfJ9J5Md.js';
|
|
6
|
+
import '../chunks/bundle-DKkCwVCs.js';
|
|
7
7
|
import './ImageRenderer.js';
|
|
8
|
-
import '../chunks/bundle-
|
|
9
|
-
import '../chunks/bundle-
|
|
10
|
-
import '../chunks/bundle-
|
|
11
|
-
import '../chunks/bundle-
|
|
8
|
+
import '../chunks/bundle-Dw9nwO7e.js';
|
|
9
|
+
import '../chunks/bundle-Bmk2FVdj.js';
|
|
10
|
+
import '../chunks/bundle-Ce-B4ROs.js';
|
|
11
|
+
import '../chunks/bundle-DprHnWfH.js';
|
|
12
12
|
|
|
13
13
|
function ThreadReplies(_a, ref) {
|
|
14
14
|
var _b;
|
|
@@ -16,10 +16,10 @@ function ThreadReplies(_a, ref) {
|
|
|
16
16
|
var _c = threadInfo.mostRepliedUsers, mostRepliedUsers = _c === void 0 ? [] : _c, replyCount = threadInfo.replyCount;
|
|
17
17
|
var stringSet = useLocalization().stringSet;
|
|
18
18
|
return (React__default.createElement("div", { className: "sendbird-ui-thread-replies ".concat(className), role: "button", onClick: function (e) {
|
|
19
|
-
onClick(e);
|
|
19
|
+
onClick === null || onClick === void 0 ? void 0 : onClick(e);
|
|
20
20
|
e === null || e === void 0 ? void 0 : e.stopPropagation();
|
|
21
21
|
}, onKeyDown: function (e) {
|
|
22
|
-
onClick(e);
|
|
22
|
+
onClick === null || onClick === void 0 ? void 0 : onClick(e);
|
|
23
23
|
e === null || e === void 0 ? void 0 : e.stopPropagation();
|
|
24
24
|
}, ref: ref },
|
|
25
25
|
React__default.createElement("div", { className: "sendbird-ui-thread-replies__user-profiles" },
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { _ as __assign } from '../chunks/bundle-
|
|
1
|
+
import { _ as __assign } from '../chunks/bundle-DKkCwVCs.js';
|
|
2
2
|
import React__default, { useState } from 'react';
|
|
3
3
|
import Icon, { IconTypes, IconColors } from './Icon.js';
|
|
4
4
|
import ImageRenderer from './ImageRenderer.js';
|
|
5
|
-
import { q as isSentMessage, w as getClassName, r as isVideoMessage, s as isGifMessage } from '../chunks/bundle-
|
|
6
|
-
import { n as noop } from '../chunks/bundle-
|
|
7
|
-
import { u as useLongPress } from '../chunks/bundle-
|
|
8
|
-
import { c as getMessageFirstFileThumbnailUrl, g as getMessageFirstFileUrl, a as getMessageFirstFileType } from '../chunks/bundle-
|
|
5
|
+
import { q as isSentMessage, w as getClassName, r as isVideoMessage, s as isGifMessage } from '../chunks/bundle-janisM9b.js';
|
|
6
|
+
import { n as noop } from '../chunks/bundle-Dw9nwO7e.js';
|
|
7
|
+
import { u as useLongPress } from '../chunks/bundle-RoB3xpYU.js';
|
|
8
|
+
import { c as getMessageFirstFileThumbnailUrl, g as getMessageFirstFileUrl, a as getMessageFirstFileType } from '../chunks/bundle-DYErcqMl.js';
|
|
9
9
|
import '@sendbird/chat/groupChannel';
|
|
10
10
|
import '../utils/message/getOutgoingMessageState.js';
|
|
11
|
-
import '../chunks/bundle-
|
|
11
|
+
import '../chunks/bundle-3Mubyujl.js';
|
|
12
12
|
|
|
13
13
|
function ThumbnailMessageItemBody(_a) {
|
|
14
14
|
var _b, _c;
|
package/ui/Toggle.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React__default, { useState, useCallback } from 'react';
|
|
2
|
-
import { _ as __assign } from '../chunks/bundle-
|
|
2
|
+
import { _ as __assign } from '../chunks/bundle-DKkCwVCs.js';
|
|
3
3
|
import { useSendbirdStateContext } from '../useSendbirdStateContext.js';
|
|
4
4
|
import '../withSendbird.js';
|
|
5
5
|
|
|
@@ -103,8 +103,8 @@ function ToggleUI(props) {
|
|
|
103
103
|
height: "".concat(dotSize, "px"),
|
|
104
104
|
animationDuration: animationDuration,
|
|
105
105
|
} }),
|
|
106
|
-
React__default.createElement("input", { type: "checkbox", "aria-label": ariaLabel, "aria-labelledby": ariaLabelledby, name: name, id: id, checked: checked, disabled: disabled, onChange: function (e) {
|
|
107
|
-
onChange(e);
|
|
106
|
+
React__default.createElement("input", { type: "checkbox", "aria-label": ariaLabel, "aria-labelledby": ariaLabelledby, name: name, id: id, checked: checked !== null && checked !== void 0 ? checked : undefined, disabled: disabled, onChange: function (e) {
|
|
107
|
+
onChange === null || onChange === void 0 ? void 0 : onChange(e);
|
|
108
108
|
setAnimatedClassName(e.currentTarget.checked ? 'sendbird-input-toggle-button--turned-on' : 'sendbird-input-toggle-button--turned-off');
|
|
109
109
|
}, onFocus: onFocus, onBlur: onBlur })));
|
|
110
110
|
}
|
package/ui/Tooltip.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { c as __spreadArray } from '../chunks/bundle-
|
|
1
|
+
import { c as __spreadArray } from '../chunks/bundle-DKkCwVCs.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-prXB4t_m.js';
|
|
4
|
+
import '../chunks/bundle-Ce-B4ROs.js';
|
|
5
5
|
|
|
6
6
|
function Tooltip(_a) {
|
|
7
7
|
var _b = _a.className, className = _b === void 0 ? '' : _b, _c = _a.children, children = _c === void 0 ? '' : _c;
|
package/ui/TooltipWrapper.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { c as __spreadArray } from '../chunks/bundle-
|
|
1
|
+
import { c as __spreadArray } from '../chunks/bundle-DKkCwVCs.js';
|
|
2
2
|
import React__default, { useState, useRef } from 'react';
|
|
3
3
|
|
|
4
4
|
var SPACE_FROM_TRIGGER = 8;
|
|
5
5
|
function TooltipWrapper(_a) {
|
|
6
6
|
var _b = _a.className, className = _b === void 0 ? '' : _b, children = _a.children, hoverTooltip = _a.hoverTooltip;
|
|
7
7
|
var _c = useState(false), showHoverTooltip = _c[0], setShowHoverTooltip = _c[1];
|
|
8
|
-
var childrenRef = useRef(
|
|
8
|
+
var childrenRef = useRef();
|
|
9
9
|
return (React__default.createElement("div", { className: __spreadArray(__spreadArray([], (Array.isArray(className) ? className : [className]), true), [
|
|
10
10
|
'sendbird-tooltip-wrapper',
|
|
11
11
|
], false).join(' '), onMouseOver: function () { setShowHoverTooltip(true); }, onFocus: function () { setShowHoverTooltip(true); }, onMouseOut: function () { setShowHoverTooltip(false); }, onBlur: function () { setShowHoverTooltip(false); } },
|
|
12
12
|
React__default.createElement("div", { className: "sendbird-tooltip-wrapper__children", ref: childrenRef }, children),
|
|
13
13
|
showHoverTooltip && (React__default.createElement("div", { className: "sendbird-tooltip-wrapper__hover-tooltip", style: { bottom: "calc(100% + ".concat(SPACE_FROM_TRIGGER, "px)") } },
|
|
14
14
|
React__default.createElement("div", { className: "sendbird-tooltip-wrapper__hover-tooltip__inner" },
|
|
15
|
-
React__default.createElement("div", { className: "sendbird-tooltip-wrapper__hover-tooltip__inner__tooltip-container", style: { left: childrenRef.current
|
|
15
|
+
React__default.createElement("div", { className: "sendbird-tooltip-wrapper__hover-tooltip__inner__tooltip-container", style: { left: childrenRef.current ? "calc(".concat(childrenRef.current.offsetWidth / 2, "px - 50%)") : undefined } }, hoverTooltip))))));
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
export { TooltipWrapper as default };
|