@sendbird/uikit-react 3.14.3 → 3.14.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/App.js +377 -378
- package/App.js.map +1 -1
- package/CHANGELOG.md +27 -0
- package/Channel/components/ChannelHeader.js +36 -34
- package/Channel/components/ChannelHeader.js.map +1 -1
- package/Channel/components/ChannelUI.js +74 -74
- package/Channel/components/FileViewer.js +37 -33
- package/Channel/components/FileViewer.js.map +1 -1
- package/Channel/components/FrozenNotification.js +5 -5
- package/Channel/components/Message.js +80 -81
- package/Channel/components/Message.js.map +1 -1
- package/Channel/components/MessageInput.js +72 -70
- package/Channel/components/MessageInput.js.map +1 -1
- package/Channel/components/MessageInputWrapper.js +45 -43
- package/Channel/components/MessageInputWrapper.js.map +1 -1
- package/Channel/components/MessageList.js +249 -250
- package/Channel/components/MessageList.js.map +1 -1
- package/Channel/components/RemoveMessageModal.js +38 -33
- package/Channel/components/RemoveMessageModal.js.map +1 -1
- package/Channel/components/SuggestedMentionList.js +29 -30
- package/Channel/components/SuggestedMentionList.js.map +1 -1
- package/Channel/components/TypingIndicator.js +6 -6
- package/Channel/components/UnreadCount.js +7 -7
- package/Channel/context.js +1453 -1453
- package/Channel/hooks/useHandleUploadFiles.js +125 -120
- package/Channel/hooks/useHandleUploadFiles.js.map +1 -1
- package/Channel/hooks/useInitialMessagesFetch.js +6 -6
- package/Channel/utils/compareMessagesForGrouping.js +50 -51
- package/Channel/utils/compareMessagesForGrouping.js.map +1 -1
- package/Channel/utils/getMessagePartsInfo.js +26 -27
- package/Channel/utils/getMessagePartsInfo.js.map +1 -1
- package/Channel.js +71 -71
- package/ChannelList/components/AddChannel.js +29 -26
- package/ChannelList/components/AddChannel.js.map +1 -1
- package/ChannelList/components/ChannelListHeader.js +13 -8
- package/ChannelList/components/ChannelListHeader.js.map +1 -1
- package/ChannelList/components/ChannelListUI.js +109 -106
- package/ChannelList/components/ChannelListUI.js.map +1 -1
- package/ChannelList/components/ChannelPreview.js +43 -38
- package/ChannelList/components/ChannelPreview.js.map +1 -1
- package/ChannelList/components/ChannelPreviewAction.js +16 -12
- package/ChannelList/components/ChannelPreviewAction.js.map +1 -1
- package/ChannelList/context.js +9 -10
- package/ChannelList/context.js.map +1 -1
- package/ChannelList.js +43 -40
- package/ChannelList.js.map +1 -1
- package/ChannelSettings/components/ChannelProfile.js +57 -47
- package/ChannelSettings/components/ChannelProfile.js.map +1 -1
- package/ChannelSettings/components/ChannelSettingsHeader.js +24 -21
- package/ChannelSettings/components/ChannelSettingsHeader.js.map +1 -1
- package/ChannelSettings/components/ChannelSettingsUI.js +78 -75
- package/ChannelSettings/components/ChannelSettingsUI.js.map +1 -1
- package/ChannelSettings/components/EditDetailsModal.js +90 -80
- package/ChannelSettings/components/EditDetailsModal.js.map +1 -1
- package/ChannelSettings/components/LeaveChannel.js +63 -53
- package/ChannelSettings/components/LeaveChannel.js.map +1 -1
- package/ChannelSettings/components/ModerationPanel.js +447 -445
- package/ChannelSettings/components/ModerationPanel.js.map +1 -1
- package/ChannelSettings/components/UserListItem.js +49 -49
- package/ChannelSettings/components/UserPanel.js +47 -45
- package/ChannelSettings/components/UserPanel.js.map +1 -1
- package/ChannelSettings/context.js +105 -105
- package/ChannelSettings.js +35 -32
- package/ChannelSettings.js.map +1 -1
- package/CreateChannel/components/CreateChannelUI.js +33 -29
- package/CreateChannel/components/CreateChannelUI.js.map +1 -1
- package/CreateChannel/components/InviteUsers.js +143 -139
- package/CreateChannel/components/InviteUsers.js.map +1 -1
- package/CreateChannel/components/SelectChannelType.js +76 -65
- package/CreateChannel/components/SelectChannelType.js.map +1 -1
- package/CreateChannel/context.js +4 -4
- package/CreateChannel.js +27 -23
- package/CreateChannel.js.map +1 -1
- package/CreateOpenChannel/components/CreateOpenChannelUI.js +63 -52
- package/CreateOpenChannel/components/CreateOpenChannelUI.js.map +1 -1
- package/CreateOpenChannel/context.js +41 -41
- package/CreateOpenChannel.js +28 -17
- package/CreateOpenChannel.js.map +1 -1
- package/EditUserProfile/components/EditUserProfileUI.js +110 -99
- package/EditUserProfile/components/EditUserProfileUI.js.map +1 -1
- package/EditUserProfile/context.js +12 -12
- package/EditUserProfile.js +27 -16
- package/EditUserProfile.js.map +1 -1
- package/GroupChannel/components/FileViewer.js +62 -58
- package/GroupChannel/components/FileViewer.js.map +1 -1
- package/GroupChannel/components/FrozenNotification.js +10 -10
- package/GroupChannel/components/GroupChannelHeader.js +30 -28
- package/GroupChannel/components/GroupChannelHeader.js.map +1 -1
- package/GroupChannel/components/GroupChannelUI.js +68 -68
- package/GroupChannel/components/Message.js +66 -77
- package/GroupChannel/components/Message.js.map +1 -1
- package/GroupChannel/components/MessageInputWrapper.js +63 -62
- package/GroupChannel/components/MessageInputWrapper.js.map +1 -1
- package/GroupChannel/components/MessageList.js +154 -155
- package/GroupChannel/components/MessageList.js.map +1 -1
- package/GroupChannel/components/RemoveMessageModal.js +32 -27
- package/GroupChannel/components/RemoveMessageModal.js.map +1 -1
- package/GroupChannel/components/SuggestedMentionList.js +14 -14
- package/GroupChannel/components/SuggestedReplies.js +15 -14
- package/GroupChannel/components/SuggestedReplies.js.map +1 -1
- package/GroupChannel/components/TypingIndicator.js +59 -59
- package/GroupChannel/components/UnreadCount.js +26 -26
- package/GroupChannel/context.js +568 -568
- package/GroupChannel.js +65 -65
- package/GroupChannelList/components/AddGroupChannel.js +30 -27
- package/GroupChannelList/components/AddGroupChannel.js.map +1 -1
- package/GroupChannelList/components/GroupChannelListHeader.js +34 -28
- package/GroupChannelList/components/GroupChannelListHeader.js.map +1 -1
- package/GroupChannelList/components/GroupChannelListItem.js +39 -35
- package/GroupChannelList/components/GroupChannelListItem.js.map +1 -1
- package/GroupChannelList/components/GroupChannelListUI.js +86 -83
- package/GroupChannelList/components/GroupChannelListUI.js.map +1 -1
- package/GroupChannelList/components/GroupChannelPreviewAction.js +48 -44
- package/GroupChannelList/components/GroupChannelPreviewAction.js.map +1 -1
- package/GroupChannelList/context.js +81 -97
- package/GroupChannelList/context.js.map +1 -1
- package/GroupChannelList.js +43 -40
- package/GroupChannelList.js.map +1 -1
- package/Message/context.js +21 -21
- package/Message/hooks/useDirtyGetMentions.js +52 -52
- package/MessageSearch/components/MessageSearchUI.js +71 -72
- package/MessageSearch/components/MessageSearchUI.js.map +1 -1
- package/MessageSearch/context.js +247 -247
- package/MessageSearch.js +59 -59
- package/OpenChannel/components/FrozenChannelNotification.js +9 -9
- package/OpenChannel/components/OpenChannelHeader.js +43 -38
- package/OpenChannel/components/OpenChannelHeader.js.map +1 -1
- package/OpenChannel/components/OpenChannelInput.js +47 -45
- package/OpenChannel/components/OpenChannelInput.js.map +1 -1
- package/OpenChannel/components/OpenChannelMessage.js +158 -157
- package/OpenChannel/components/OpenChannelMessage.js.map +1 -1
- package/OpenChannel/components/OpenChannelMessageList.js +95 -94
- package/OpenChannel/components/OpenChannelMessageList.js.map +1 -1
- package/OpenChannel/components/OpenChannelUI.js +71 -70
- package/OpenChannel/components/OpenChannelUI.js.map +1 -1
- package/OpenChannel/context.js +23 -18
- package/OpenChannel/context.js.map +1 -1
- package/OpenChannel.js +44 -43
- package/OpenChannel.js.map +1 -1
- package/OpenChannelList/components/OpenChannelListUI.js +102 -92
- package/OpenChannelList/components/OpenChannelListUI.js.map +1 -1
- package/OpenChannelList/components/OpenChannelPreview.js +20 -20
- package/OpenChannelList/context.js +3 -3
- package/OpenChannelList.js +34 -24
- package/OpenChannelList.js.map +1 -1
- package/OpenChannelSettings/components/EditDetailsModal.js +82 -73
- package/OpenChannelSettings/components/EditDetailsModal.js.map +1 -1
- package/OpenChannelSettings/components/OpenChannelProfile.js +47 -38
- package/OpenChannelSettings/components/OpenChannelProfile.js.map +1 -1
- package/OpenChannelSettings/components/OpenChannelSettingsUI.js +61 -57
- package/OpenChannelSettings/components/OpenChannelSettingsUI.js.map +1 -1
- package/OpenChannelSettings/components/OperatorUI.js +454 -450
- package/OpenChannelSettings/components/OperatorUI.js.map +1 -1
- package/OpenChannelSettings/components/ParticipantUI.js +21 -17
- package/OpenChannelSettings/components/ParticipantUI.js.map +1 -1
- package/OpenChannelSettings/context.js +114 -114
- package/OpenChannelSettings.js +29 -25
- package/OpenChannelSettings.js.map +1 -1
- package/README.md +2 -13
- package/SendbirdProvider.js +1139 -1183
- package/SendbirdProvider.js.map +1 -1
- package/Thread/components/ParentMessageInfo.js +240 -239
- package/Thread/components/ParentMessageInfo.js.map +1 -1
- package/Thread/components/ParentMessageInfoItem.js +148 -148
- package/Thread/components/ThreadHeader.js +23 -26
- package/Thread/components/ThreadHeader.js.map +1 -1
- package/Thread/components/ThreadList.js +122 -122
- package/Thread/components/ThreadListItem.js +341 -340
- package/Thread/components/ThreadListItem.js.map +1 -1
- package/Thread/components/ThreadMessageInput.js +167 -165
- package/Thread/components/ThreadMessageInput.js.map +1 -1
- package/Thread/components/ThreadUI.js +207 -207
- package/Thread/context/types.js +21 -21
- package/Thread/context.js +1283 -1281
- package/Thread/context.js.map +1 -1
- package/Thread.js +73 -73
- package/VoicePlayer/context.js +3 -3
- package/VoicePlayer/useVoicePlayer.js +68 -60
- package/VoicePlayer/useVoicePlayer.js.map +1 -1
- package/VoiceRecorder/context.js +21 -127
- package/VoiceRecorder/context.js.map +1 -1
- package/VoiceRecorder/useVoiceRecorder.js +105 -96
- package/VoiceRecorder/useVoiceRecorder.js.map +1 -1
- package/chunks/{bundle-DL_Xts3y.js → bundle-2jZ-0hKC.js} +370 -368
- package/chunks/{bundle-DL_Xts3y.js.map → bundle-2jZ-0hKC.js.map} +1 -1
- package/chunks/bundle-2vhBVWLQ.js +93 -0
- package/chunks/bundle-2vhBVWLQ.js.map +1 -0
- package/chunks/{bundle-DGnpw8up.js → bundle-60et0yds.js} +19 -19
- package/chunks/bundle-60et0yds.js.map +1 -0
- package/chunks/{bundle-BbeHRXOp.js → bundle-8J9SSfIS.js} +10 -10
- package/chunks/bundle-8J9SSfIS.js.map +1 -0
- package/chunks/{bundle-Danvz0zD.js → bundle-9Pg6kODx.js} +1 -1
- package/chunks/{bundle-Danvz0zD.js.map → bundle-9Pg6kODx.js.map} +1 -1
- package/chunks/{bundle-CY2Lga-4.js → bundle-ARb5Lm9T.js} +64 -65
- package/chunks/bundle-ARb5Lm9T.js.map +1 -0
- package/chunks/{bundle-BhkcPTQE.js → bundle-B26G55qN.js} +26 -26
- package/chunks/{bundle-BhkcPTQE.js.map → bundle-B26G55qN.js.map} +1 -1
- package/chunks/{bundle-Otcx8Wxy.js → bundle-B4q4jk6S.js} +124 -124
- package/chunks/bundle-B4q4jk6S.js.map +1 -0
- package/chunks/{bundle-BLGMGsvT.js → bundle-B621kS6J.js} +234 -234
- package/chunks/{bundle-BLGMGsvT.js.map → bundle-B621kS6J.js.map} +1 -1
- package/chunks/{bundle-C2A3dCIs.js → bundle-B8F-tpmW.js} +192 -185
- package/chunks/{bundle-C2A3dCIs.js.map → bundle-B8F-tpmW.js.map} +1 -1
- package/chunks/{bundle-XogVJY7Q.js → bundle-BA5xmpyI.js} +333 -333
- package/chunks/{bundle-XogVJY7Q.js.map → bundle-BA5xmpyI.js.map} +1 -1
- package/chunks/{bundle-BMPm6lKq.js → bundle-BCuW6lS8.js} +23 -23
- package/chunks/bundle-BCuW6lS8.js.map +1 -0
- package/chunks/{bundle-DbwlpQTj.js → bundle-BD-1uffr.js} +89 -89
- package/chunks/{bundle-DbwlpQTj.js.map → bundle-BD-1uffr.js.map} +1 -1
- package/chunks/{bundle-CXxeDfXV.js → bundle-BEbribQZ.js} +164 -164
- package/chunks/{bundle-CXxeDfXV.js.map → bundle-BEbribQZ.js.map} +1 -1
- package/chunks/{bundle-CMZVPZeM.js → bundle-BGTq2aZA.js} +51 -51
- package/chunks/bundle-BGTq2aZA.js.map +1 -0
- package/chunks/{bundle-DwApARpe.js → bundle-BH5EGLxi.js} +732 -731
- package/chunks/bundle-BH5EGLxi.js.map +1 -0
- package/chunks/{bundle-Dzm909k5.js → bundle-BI0n-T1b.js} +48 -48
- package/chunks/bundle-BI0n-T1b.js.map +1 -0
- package/chunks/{bundle-CUd4X5O2.js → bundle-BQPvwBK8.js} +12 -12
- package/chunks/bundle-BQPvwBK8.js.map +1 -0
- package/chunks/{bundle-CKf9oBLV.js → bundle-BUMKThPh.js} +160 -160
- package/chunks/{bundle-CKf9oBLV.js.map → bundle-BUMKThPh.js.map} +1 -1
- package/chunks/{bundle-BcKA_SAt.js → bundle-BXXtOrta.js} +258 -258
- package/chunks/{bundle-BcKA_SAt.js.map → bundle-BXXtOrta.js.map} +1 -1
- package/chunks/{bundle-DfDCjniq.js → bundle-BfjOoJk6.js} +17 -17
- package/chunks/bundle-BfjOoJk6.js.map +1 -0
- package/chunks/{bundle-5yHWoLVJ.js → bundle-Br_sURBN.js} +11 -11
- package/chunks/bundle-Br_sURBN.js.map +1 -0
- package/chunks/{bundle-DfhJ_oFZ.js → bundle-BxaysvGU.js} +13 -13
- package/chunks/bundle-BxaysvGU.js.map +1 -0
- package/chunks/{bundle-BPvfVEd8.js → bundle-C1XVT5qc.js} +61 -61
- package/chunks/bundle-C1XVT5qc.js.map +1 -0
- package/chunks/{bundle-D5lQwKgM.js → bundle-C2B-jwQF.js} +1 -1
- package/chunks/bundle-C2B-jwQF.js.map +1 -0
- package/chunks/{bundle-OIgXk-TJ.js → bundle-C5i4dn9q.js} +15 -15
- package/chunks/bundle-C5i4dn9q.js.map +1 -0
- package/chunks/{bundle-CwHpV2cp.js → bundle-C6yCDg1g.js} +213 -213
- package/chunks/{bundle-CwHpV2cp.js.map → bundle-C6yCDg1g.js.map} +1 -1
- package/chunks/{bundle-Y3Y435SA.js → bundle-C8XqVZD9.js} +29 -29
- package/chunks/bundle-C8XqVZD9.js.map +1 -0
- package/chunks/{bundle-DOG83iYO.js → bundle-C8hyJJ4a.js} +83 -83
- package/chunks/{bundle-DOG83iYO.js.map → bundle-C8hyJJ4a.js.map} +1 -1
- package/chunks/{bundle-tIPAQa1P.js → bundle-CAdxJnio.js} +11 -11
- package/chunks/bundle-CAdxJnio.js.map +1 -0
- package/chunks/{bundle-DWW0XPV9.js → bundle-CDMcNani.js} +118 -118
- package/chunks/{bundle-DWW0XPV9.js.map → bundle-CDMcNani.js.map} +1 -1
- package/chunks/{bundle-DZcgZWKq.js → bundle-CDy_GVNR.js} +2 -2
- package/chunks/{bundle-DZcgZWKq.js.map → bundle-CDy_GVNR.js.map} +1 -1
- package/chunks/{bundle-fxTywxQ4.js → bundle-CLQfFjkS.js} +6 -6
- package/chunks/bundle-CLQfFjkS.js.map +1 -0
- package/chunks/{bundle-CllFAkeZ.js → bundle-CTqXLoJ-.js} +152 -1079
- package/chunks/bundle-CTqXLoJ-.js.map +1 -0
- package/chunks/{bundle-DkspvEHK.js → bundle-CUOi3VHK.js} +185 -185
- package/chunks/{bundle-DkspvEHK.js.map → bundle-CUOi3VHK.js.map} +1 -1
- package/chunks/{bundle-DiuoVXwl.js → bundle-CclWZYVY.js} +161 -162
- package/chunks/{bundle-DiuoVXwl.js.map → bundle-CclWZYVY.js.map} +1 -1
- package/chunks/{bundle-B7J4Fm0y.js → bundle-Cdx5L_Jm.js} +36 -36
- package/chunks/bundle-Cdx5L_Jm.js.map +1 -0
- package/chunks/{bundle-BPbwxMIx.js → bundle-Chn4Xw78.js} +11 -12
- package/chunks/bundle-Chn4Xw78.js.map +1 -0
- package/chunks/{bundle-BlK-fMQm.js → bundle-Cj-w5I5i.js} +71 -71
- package/chunks/bundle-Cj-w5I5i.js.map +1 -0
- package/chunks/{bundle-BX_IXLSp.js → bundle-CtgXJZJt.js} +37 -37
- package/chunks/bundle-CtgXJZJt.js.map +1 -0
- package/chunks/{bundle-BmFbOU4C.js → bundle-Cw_yF4Vi.js} +12 -12
- package/chunks/bundle-Cw_yF4Vi.js.map +1 -0
- package/chunks/{bundle-CYXIQgUE.js → bundle-D-cEFrBM.js} +920 -923
- package/chunks/{bundle-CYXIQgUE.js.map → bundle-D-cEFrBM.js.map} +1 -1
- package/chunks/{bundle-BbusXHy3.js → bundle-D2MpL8t0.js} +234 -234
- package/chunks/{bundle-BbusXHy3.js.map → bundle-D2MpL8t0.js.map} +1 -1
- package/chunks/{bundle-CDnCdfIC.js → bundle-D5DtB0L7.js} +1326 -1327
- package/chunks/{bundle-CDnCdfIC.js.map → bundle-D5DtB0L7.js.map} +1 -1
- package/chunks/{bundle-D4x1_hkl.js → bundle-DEFOjZw9.js} +26 -26
- package/chunks/bundle-DEFOjZw9.js.map +1 -0
- package/chunks/{bundle-D8JekjLy.js → bundle-DElB1Hqa.js} +45 -46
- package/chunks/bundle-DElB1Hqa.js.map +1 -0
- package/chunks/{bundle-CkgVJjMI.js → bundle-DG8DFRNL.js} +94 -94
- package/chunks/{bundle-CkgVJjMI.js.map → bundle-DG8DFRNL.js.map} +1 -1
- package/chunks/{bundle-BKCDSKx6.js → bundle-DHrYAkRt.js} +28 -28
- package/chunks/bundle-DHrYAkRt.js.map +1 -0
- package/chunks/{bundle-DZie-lCF.js → bundle-DQ3tLeW9.js} +2 -2
- package/chunks/{bundle-DZie-lCF.js.map → bundle-DQ3tLeW9.js.map} +1 -1
- package/chunks/{bundle-DpkEqNiD.js → bundle-DUVa5cu6.js} +1 -1
- package/chunks/bundle-DUVa5cu6.js.map +1 -0
- package/chunks/{bundle-DpCn3P9s.js → bundle-DVMiIa_8.js} +218 -206
- package/{cjs/chunks/bundle-DvWHV-PM.js.map → chunks/bundle-DVMiIa_8.js.map} +1 -1
- package/chunks/bundle-DVc25Jb7.js +30 -0
- package/chunks/bundle-DVc25Jb7.js.map +1 -0
- package/chunks/{bundle-BiINvVSK.js → bundle-DYmy2oK3.js} +131 -132
- package/chunks/{bundle-DBBVxbFA.js.map → bundle-DYmy2oK3.js.map} +1 -1
- package/chunks/{bundle-Bkbg_RQ-.js → bundle-DZl5IVWc.js} +2 -2
- package/chunks/{bundle-Bkbg_RQ-.js.map → bundle-DZl5IVWc.js.map} +1 -1
- package/chunks/{bundle-DZl__KhG.js → bundle-DhJuLwLJ.js} +36 -29
- package/chunks/bundle-DhJuLwLJ.js.map +1 -0
- package/chunks/bundle-DiVyB2HD.js +279 -0
- package/chunks/bundle-DiVyB2HD.js.map +1 -0
- package/chunks/{bundle-BOUVMTAt.js → bundle-DoXeGvHN.js} +25 -25
- package/chunks/bundle-DoXeGvHN.js.map +1 -0
- package/chunks/{bundle-B_fxVgAX.js → bundle-Dpj_mOs8.js} +244 -244
- package/chunks/{bundle-B_fxVgAX.js.map → bundle-Dpj_mOs8.js.map} +1 -1
- package/chunks/{bundle-BTLVyMgj.js → bundle-DudTIr4X.js} +8 -8
- package/chunks/bundle-DudTIr4X.js.map +1 -0
- package/chunks/{bundle-DQKxIg_X.js → bundle-DwPw_RW5.js} +11 -11
- package/chunks/bundle-DwPw_RW5.js.map +1 -0
- package/chunks/bundle-DwvN2wPi.js +120 -0
- package/chunks/bundle-DwvN2wPi.js.map +1 -0
- package/chunks/{bundle-CUPPssXo.js → bundle-E4462uBn.js} +27 -27
- package/chunks/bundle-E4462uBn.js.map +1 -0
- package/chunks/{bundle-BLMDgHS-.js → bundle-HFOQJZAX.js} +82 -82
- package/chunks/bundle-HFOQJZAX.js.map +1 -0
- package/chunks/{bundle-DBBVxbFA.js → bundle-HhDUyQa4.js} +138 -138
- package/chunks/bundle-HhDUyQa4.js.map +1 -0
- package/chunks/{bundle-Bf6VvPhp.js → bundle-KmtzKHnJ.js} +25 -25
- package/chunks/bundle-KmtzKHnJ.js.map +1 -0
- package/chunks/{bundle-WmbZYtqM.js → bundle-Pw31xKtZ.js} +120 -120
- package/chunks/bundle-Pw31xKtZ.js.map +1 -0
- package/chunks/{bundle-BKTUnkiE.js → bundle-SI5OarjR.js} +3 -3
- package/chunks/{bundle-BKTUnkiE.js.map → bundle-SI5OarjR.js.map} +1 -1
- package/chunks/{bundle-CUDCHaXM.js → bundle-WdeDKCD0.js} +75 -74
- package/chunks/bundle-WdeDKCD0.js.map +1 -0
- package/chunks/{bundle-B9sTU4LX.js → bundle-Y_WIAHds.js} +58 -58
- package/chunks/bundle-Y_WIAHds.js.map +1 -0
- package/chunks/{bundle-COLsFI7t.js → bundle-YveljAuC.js} +1 -1
- package/chunks/bundle-YveljAuC.js.map +1 -0
- package/chunks/{bundle-D4rjbjNv.js → bundle-cgNuve_E.js} +18 -18
- package/chunks/bundle-cgNuve_E.js.map +1 -0
- package/chunks/{bundle-BzYv4x2T.js → bundle-e3NlFYfX.js} +22 -22
- package/chunks/bundle-e3NlFYfX.js.map +1 -0
- package/chunks/{bundle-BPj0X5TA.js → bundle-hF8Gurf8.js} +6 -6
- package/chunks/bundle-hF8Gurf8.js.map +1 -0
- package/chunks/{bundle-mRqHYNyY.js → bundle-iA2l_iD3.js} +28 -28
- package/chunks/bundle-iA2l_iD3.js.map +1 -0
- package/chunks/{bundle-C3K7W_E-.js → bundle-klvZ-YE5.js} +31 -31
- package/chunks/bundle-klvZ-YE5.js.map +1 -0
- package/chunks/{bundle-Dk211z5R.js → bundle-q3jyuKU7.js} +78 -79
- package/chunks/bundle-q3jyuKU7.js.map +1 -0
- package/chunks/{bundle-Dc7E6GJc.js → bundle-thdxvFU8.js} +35 -35
- package/chunks/bundle-thdxvFU8.js.map +1 -0
- package/chunks/{bundle-DS5ljghe.js → bundle-u9Zl-7Je.js} +5 -5
- package/chunks/bundle-u9Zl-7Je.js.map +1 -0
- package/chunks/{bundle-CXtl77MC.js → bundle-uI-GOX6U.js} +21 -21
- package/chunks/bundle-uI-GOX6U.js.map +1 -0
- package/chunks/{bundle-BwJTKHEl.js → bundle-xHRJMo_A.js} +72 -72
- package/chunks/bundle-xHRJMo_A.js.map +1 -0
- package/cjs/App.js +377 -378
- package/cjs/App.js.map +1 -1
- package/cjs/Channel/components/ChannelHeader.js +36 -34
- package/cjs/Channel/components/ChannelHeader.js.map +1 -1
- package/cjs/Channel/components/ChannelUI.js +74 -74
- package/cjs/Channel/components/FileViewer.js +37 -33
- package/cjs/Channel/components/FileViewer.js.map +1 -1
- package/cjs/Channel/components/FrozenNotification.js +5 -5
- package/cjs/Channel/components/Message.js +80 -81
- package/cjs/Channel/components/Message.js.map +1 -1
- package/cjs/Channel/components/MessageInput.js +72 -70
- package/cjs/Channel/components/MessageInput.js.map +1 -1
- package/cjs/Channel/components/MessageInputWrapper.js +45 -43
- package/cjs/Channel/components/MessageInputWrapper.js.map +1 -1
- package/cjs/Channel/components/MessageList.js +249 -250
- package/cjs/Channel/components/MessageList.js.map +1 -1
- package/cjs/Channel/components/RemoveMessageModal.js +38 -33
- package/cjs/Channel/components/RemoveMessageModal.js.map +1 -1
- package/cjs/Channel/components/SuggestedMentionList.js +29 -30
- package/cjs/Channel/components/SuggestedMentionList.js.map +1 -1
- package/cjs/Channel/components/TypingIndicator.js +6 -6
- package/cjs/Channel/components/UnreadCount.js +7 -7
- package/cjs/Channel/context.js +1453 -1453
- package/cjs/Channel/hooks/useHandleUploadFiles.js +125 -120
- package/cjs/Channel/hooks/useHandleUploadFiles.js.map +1 -1
- package/cjs/Channel/hooks/useInitialMessagesFetch.js +6 -6
- package/cjs/Channel/utils/compareMessagesForGrouping.js +50 -51
- package/cjs/Channel/utils/compareMessagesForGrouping.js.map +1 -1
- package/cjs/Channel/utils/getMessagePartsInfo.js +26 -27
- package/cjs/Channel/utils/getMessagePartsInfo.js.map +1 -1
- package/cjs/Channel.js +71 -71
- package/cjs/ChannelList/components/AddChannel.js +29 -26
- package/cjs/ChannelList/components/AddChannel.js.map +1 -1
- package/cjs/ChannelList/components/ChannelListHeader.js +13 -8
- package/cjs/ChannelList/components/ChannelListHeader.js.map +1 -1
- package/cjs/ChannelList/components/ChannelListUI.js +109 -106
- package/cjs/ChannelList/components/ChannelListUI.js.map +1 -1
- package/cjs/ChannelList/components/ChannelPreview.js +43 -38
- package/cjs/ChannelList/components/ChannelPreview.js.map +1 -1
- package/cjs/ChannelList/components/ChannelPreviewAction.js +16 -12
- package/cjs/ChannelList/components/ChannelPreviewAction.js.map +1 -1
- package/cjs/ChannelList/context.js +9 -10
- package/cjs/ChannelList/context.js.map +1 -1
- package/cjs/ChannelList.js +43 -40
- package/cjs/ChannelList.js.map +1 -1
- package/cjs/ChannelSettings/components/ChannelProfile.js +57 -47
- package/cjs/ChannelSettings/components/ChannelProfile.js.map +1 -1
- package/cjs/ChannelSettings/components/ChannelSettingsHeader.js +23 -20
- package/cjs/ChannelSettings/components/ChannelSettingsHeader.js.map +1 -1
- package/cjs/ChannelSettings/components/ChannelSettingsUI.js +78 -75
- package/cjs/ChannelSettings/components/ChannelSettingsUI.js.map +1 -1
- package/cjs/ChannelSettings/components/EditDetailsModal.js +90 -80
- package/cjs/ChannelSettings/components/EditDetailsModal.js.map +1 -1
- package/cjs/ChannelSettings/components/LeaveChannel.js +63 -53
- package/cjs/ChannelSettings/components/LeaveChannel.js.map +1 -1
- package/cjs/ChannelSettings/components/ModerationPanel.js +447 -445
- package/cjs/ChannelSettings/components/ModerationPanel.js.map +1 -1
- package/cjs/ChannelSettings/components/UserListItem.js +49 -49
- package/cjs/ChannelSettings/components/UserPanel.js +47 -45
- package/cjs/ChannelSettings/components/UserPanel.js.map +1 -1
- package/cjs/ChannelSettings/context.js +105 -105
- package/cjs/ChannelSettings.js +35 -32
- package/cjs/ChannelSettings.js.map +1 -1
- package/cjs/CreateChannel/components/CreateChannelUI.js +33 -29
- package/cjs/CreateChannel/components/CreateChannelUI.js.map +1 -1
- package/cjs/CreateChannel/components/InviteUsers.js +143 -139
- package/cjs/CreateChannel/components/InviteUsers.js.map +1 -1
- package/cjs/CreateChannel/components/SelectChannelType.js +76 -65
- package/cjs/CreateChannel/components/SelectChannelType.js.map +1 -1
- package/cjs/CreateChannel/context.js +4 -4
- package/cjs/CreateChannel.js +27 -23
- package/cjs/CreateChannel.js.map +1 -1
- package/cjs/CreateOpenChannel/components/CreateOpenChannelUI.js +63 -52
- package/cjs/CreateOpenChannel/components/CreateOpenChannelUI.js.map +1 -1
- package/cjs/CreateOpenChannel/context.js +41 -41
- package/cjs/CreateOpenChannel.js +28 -17
- package/cjs/CreateOpenChannel.js.map +1 -1
- package/cjs/EditUserProfile/components/EditUserProfileUI.js +110 -99
- package/cjs/EditUserProfile/components/EditUserProfileUI.js.map +1 -1
- package/cjs/EditUserProfile/context.js +12 -12
- package/cjs/EditUserProfile.js +27 -16
- package/cjs/EditUserProfile.js.map +1 -1
- package/cjs/GroupChannel/components/FileViewer.js +62 -58
- package/cjs/GroupChannel/components/FileViewer.js.map +1 -1
- package/cjs/GroupChannel/components/FrozenNotification.js +10 -10
- package/cjs/GroupChannel/components/GroupChannelHeader.js +30 -28
- package/cjs/GroupChannel/components/GroupChannelHeader.js.map +1 -1
- package/cjs/GroupChannel/components/GroupChannelUI.js +68 -68
- package/cjs/GroupChannel/components/Message.js +66 -77
- package/cjs/GroupChannel/components/Message.js.map +1 -1
- package/cjs/GroupChannel/components/MessageInputWrapper.js +62 -61
- package/cjs/GroupChannel/components/MessageInputWrapper.js.map +1 -1
- package/cjs/GroupChannel/components/MessageList.js +154 -155
- package/cjs/GroupChannel/components/MessageList.js.map +1 -1
- package/cjs/GroupChannel/components/RemoveMessageModal.js +32 -27
- package/cjs/GroupChannel/components/RemoveMessageModal.js.map +1 -1
- package/cjs/GroupChannel/components/SuggestedMentionList.js +14 -14
- package/cjs/GroupChannel/components/SuggestedReplies.js +15 -14
- package/cjs/GroupChannel/components/SuggestedReplies.js.map +1 -1
- package/cjs/GroupChannel/components/TypingIndicator.js +59 -59
- package/cjs/GroupChannel/components/UnreadCount.js +26 -26
- package/cjs/GroupChannel/context.js +568 -568
- package/cjs/GroupChannel.js +65 -65
- package/cjs/GroupChannelList/components/AddGroupChannel.js +30 -27
- package/cjs/GroupChannelList/components/AddGroupChannel.js.map +1 -1
- package/cjs/GroupChannelList/components/GroupChannelListHeader.js +34 -28
- package/cjs/GroupChannelList/components/GroupChannelListHeader.js.map +1 -1
- package/cjs/GroupChannelList/components/GroupChannelListItem.js +39 -35
- package/cjs/GroupChannelList/components/GroupChannelListItem.js.map +1 -1
- package/cjs/GroupChannelList/components/GroupChannelListUI.js +86 -83
- package/cjs/GroupChannelList/components/GroupChannelListUI.js.map +1 -1
- package/cjs/GroupChannelList/components/GroupChannelPreviewAction.js +48 -44
- package/cjs/GroupChannelList/components/GroupChannelPreviewAction.js.map +1 -1
- package/cjs/GroupChannelList/context.js +81 -97
- package/cjs/GroupChannelList/context.js.map +1 -1
- package/cjs/GroupChannelList.js +43 -40
- package/cjs/GroupChannelList.js.map +1 -1
- package/cjs/Message/context.js +21 -21
- package/cjs/Message/hooks/useDirtyGetMentions.js +52 -52
- package/cjs/MessageSearch/components/MessageSearchUI.js +71 -72
- package/cjs/MessageSearch/components/MessageSearchUI.js.map +1 -1
- package/cjs/MessageSearch/context.js +247 -247
- package/cjs/MessageSearch.js +59 -59
- package/cjs/OpenChannel/components/FrozenChannelNotification.js +9 -9
- package/cjs/OpenChannel/components/OpenChannelHeader.js +43 -38
- package/cjs/OpenChannel/components/OpenChannelHeader.js.map +1 -1
- package/cjs/OpenChannel/components/OpenChannelInput.js +47 -45
- package/cjs/OpenChannel/components/OpenChannelInput.js.map +1 -1
- package/cjs/OpenChannel/components/OpenChannelMessage.js +158 -157
- package/cjs/OpenChannel/components/OpenChannelMessage.js.map +1 -1
- package/cjs/OpenChannel/components/OpenChannelMessageList.js +95 -94
- package/cjs/OpenChannel/components/OpenChannelMessageList.js.map +1 -1
- package/cjs/OpenChannel/components/OpenChannelUI.js +71 -70
- package/cjs/OpenChannel/components/OpenChannelUI.js.map +1 -1
- package/cjs/OpenChannel/context.js +23 -18
- package/cjs/OpenChannel/context.js.map +1 -1
- package/cjs/OpenChannel.js +44 -43
- package/cjs/OpenChannel.js.map +1 -1
- package/cjs/OpenChannelList/components/OpenChannelListUI.js +102 -92
- package/cjs/OpenChannelList/components/OpenChannelListUI.js.map +1 -1
- package/cjs/OpenChannelList/components/OpenChannelPreview.js +20 -20
- package/cjs/OpenChannelList/context.js +3 -3
- package/cjs/OpenChannelList.js +34 -24
- package/cjs/OpenChannelList.js.map +1 -1
- package/cjs/OpenChannelSettings/components/EditDetailsModal.js +82 -73
- package/cjs/OpenChannelSettings/components/EditDetailsModal.js.map +1 -1
- package/cjs/OpenChannelSettings/components/OpenChannelProfile.js +47 -38
- package/cjs/OpenChannelSettings/components/OpenChannelProfile.js.map +1 -1
- package/cjs/OpenChannelSettings/components/OpenChannelSettingsUI.js +61 -57
- package/cjs/OpenChannelSettings/components/OpenChannelSettingsUI.js.map +1 -1
- package/cjs/OpenChannelSettings/components/OperatorUI.js +454 -450
- package/cjs/OpenChannelSettings/components/OperatorUI.js.map +1 -1
- package/cjs/OpenChannelSettings/components/ParticipantUI.js +21 -17
- package/cjs/OpenChannelSettings/components/ParticipantUI.js.map +1 -1
- package/cjs/OpenChannelSettings/context.js +114 -114
- package/cjs/OpenChannelSettings.js +29 -25
- package/cjs/OpenChannelSettings.js.map +1 -1
- package/cjs/SendbirdProvider.js +1139 -1183
- package/cjs/SendbirdProvider.js.map +1 -1
- package/cjs/Thread/components/ParentMessageInfo.js +240 -239
- package/cjs/Thread/components/ParentMessageInfo.js.map +1 -1
- package/cjs/Thread/components/ParentMessageInfoItem.js +148 -148
- package/cjs/Thread/components/ThreadHeader.js +22 -25
- package/cjs/Thread/components/ThreadHeader.js.map +1 -1
- package/cjs/Thread/components/ThreadList.js +122 -122
- package/cjs/Thread/components/ThreadListItem.js +341 -340
- package/cjs/Thread/components/ThreadListItem.js.map +1 -1
- package/cjs/Thread/components/ThreadMessageInput.js +167 -165
- package/cjs/Thread/components/ThreadMessageInput.js.map +1 -1
- package/cjs/Thread/components/ThreadUI.js +207 -207
- package/cjs/Thread/context/types.js +21 -21
- package/cjs/Thread/context.js +1283 -1281
- package/cjs/Thread/context.js.map +1 -1
- package/cjs/Thread.js +73 -73
- package/cjs/VoicePlayer/context.js +3 -3
- package/cjs/VoicePlayer/useVoicePlayer.js +68 -60
- package/cjs/VoicePlayer/useVoicePlayer.js.map +1 -1
- package/cjs/VoiceRecorder/context.js +25 -127
- package/cjs/VoiceRecorder/context.js.map +1 -1
- package/cjs/VoiceRecorder/useVoiceRecorder.js +105 -96
- package/cjs/VoiceRecorder/useVoiceRecorder.js.map +1 -1
- package/cjs/chunks/{bundle-C-gA8UhR.js → bundle-30fh5iPx.js} +13 -13
- package/cjs/chunks/bundle-30fh5iPx.js.map +1 -0
- package/cjs/chunks/{bundle-C80RIOub.js → bundle-8IuV93EV.js} +1326 -1327
- package/cjs/chunks/{bundle-C80RIOub.js.map → bundle-8IuV93EV.js.map} +1 -1
- package/cjs/chunks/{bundle-IVTygAtE.js → bundle-B-0_xv9u.js} +28 -28
- package/cjs/chunks/bundle-B-0_xv9u.js.map +1 -0
- package/cjs/chunks/{bundle-ChIhNCh1.js → bundle-B1uXZFKP.js} +161 -162
- package/cjs/chunks/bundle-B1uXZFKP.js.map +1 -0
- package/cjs/chunks/{bundle-B6uiunjG.js → bundle-B2KKkvdj.js} +8 -8
- package/cjs/chunks/bundle-B2KKkvdj.js.map +1 -0
- package/cjs/chunks/{bundle-CBmExSEr.js → bundle-B2h5VMZ6.js} +21 -21
- package/cjs/chunks/bundle-B2h5VMZ6.js.map +1 -0
- package/cjs/chunks/{bundle-BJBClQcM.js → bundle-B4EdciCR.js} +28 -28
- package/cjs/chunks/bundle-B4EdciCR.js.map +1 -0
- package/cjs/chunks/{bundle-E9H8fQL4.js → bundle-B7wJ4Hqk.js} +11 -11
- package/cjs/chunks/bundle-B7wJ4Hqk.js.map +1 -0
- package/cjs/chunks/{bundle-DlPLp6fm.js → bundle-BAqFIbKr.js} +234 -234
- package/cjs/chunks/bundle-BAqFIbKr.js.map +1 -0
- package/cjs/chunks/{bundle-XEpryGfs.js → bundle-BCQxFX-W.js} +27 -27
- package/cjs/chunks/bundle-BCQxFX-W.js.map +1 -0
- package/cjs/chunks/{bundle-Df0cAbH6.js → bundle-BCt-Rzil.js} +26 -26
- package/cjs/chunks/bundle-BCt-Rzil.js.map +1 -0
- package/cjs/chunks/{bundle-BF3NYKgh.js → bundle-BEtlTF8Q.js} +333 -333
- package/cjs/chunks/{bundle-BF3NYKgh.js.map → bundle-BEtlTF8Q.js.map} +1 -1
- package/cjs/chunks/{bundle-D8-ob9Ia.js → bundle-BG8qs_3y.js} +26 -26
- package/cjs/chunks/bundle-BG8qs_3y.js.map +1 -0
- package/cjs/chunks/{bundle-DsKL-Ede.js → bundle-BMN1aDia.js} +82 -82
- package/cjs/chunks/bundle-BMN1aDia.js.map +1 -0
- package/cjs/chunks/{bundle-DYZo-ek9.js → bundle-BNVygboA.js} +58 -58
- package/cjs/chunks/bundle-BNVygboA.js.map +1 -0
- package/cjs/chunks/{bundle-C0LFi1ur.js → bundle-BOrMDMdN.js} +244 -244
- package/cjs/chunks/bundle-BOrMDMdN.js.map +1 -0
- package/cjs/chunks/{bundle-CVSpiKNJ.js → bundle-Bc92JuA7.js} +17 -17
- package/cjs/chunks/bundle-Bc92JuA7.js.map +1 -0
- package/cjs/chunks/{bundle-DR-T3oW9.js → bundle-BiTKgXrx.js} +370 -368
- package/cjs/chunks/{bundle-DR-T3oW9.js.map → bundle-BiTKgXrx.js.map} +1 -1
- package/cjs/chunks/bundle-Bpy7IQta.js +95 -0
- package/cjs/chunks/{bundle-BRUrQgUE.js.map → bundle-Bpy7IQta.js.map} +1 -1
- package/cjs/chunks/{bundle-ZuDe6I0q.js → bundle-Bv_QMEk2.js} +89 -89
- package/cjs/chunks/bundle-Bv_QMEk2.js.map +1 -0
- package/cjs/chunks/{bundle-66eVSkB5.js → bundle-BvhC4El1.js} +213 -213
- package/cjs/chunks/{bundle-66eVSkB5.js.map → bundle-BvhC4El1.js.map} +1 -1
- package/cjs/chunks/{bundle-q2tBQOdq.js → bundle-Bw_LvbLk.js} +11 -12
- package/cjs/chunks/bundle-Bw_LvbLk.js.map +1 -0
- package/cjs/chunks/{bundle-CY1bUkfG.js → bundle-C-r9vRgc.js} +1 -1
- package/cjs/chunks/bundle-C-r9vRgc.js.map +1 -0
- package/cjs/chunks/{bundle-oUs61pbv.js → bundle-C0ZNrrcl.js} +61 -61
- package/cjs/chunks/bundle-C0ZNrrcl.js.map +1 -0
- package/cjs/chunks/{bundle-BoCS4RH3.js → bundle-C4UzGGy_.js} +15 -15
- package/cjs/chunks/bundle-C4UzGGy_.js.map +1 -0
- package/cjs/chunks/{bundle-BwvM-P29.js → bundle-CDJXrIVC.js} +1 -1
- package/cjs/chunks/{bundle-BwvM-P29.js.map → bundle-CDJXrIVC.js.map} +1 -1
- package/cjs/chunks/{bundle-BiXN0Ylc.js → bundle-CHXLIlQ1.js} +920 -923
- package/cjs/chunks/{bundle-BiXN0Ylc.js.map → bundle-CHXLIlQ1.js.map} +1 -1
- package/cjs/chunks/{bundle--yYCgVRq.js → bundle-CL-vjR4o.js} +2 -2
- package/cjs/chunks/{bundle--yYCgVRq.js.map → bundle-CL-vjR4o.js.map} +1 -1
- package/cjs/chunks/{bundle-BwEcnJDm.js → bundle-CLNUkVC8.js} +71 -71
- package/cjs/chunks/bundle-CLNUkVC8.js.map +1 -0
- package/cjs/chunks/{bundle-BDbnsPGF.js → bundle-CLte647H.js} +36 -28
- package/cjs/chunks/bundle-CLte647H.js.map +1 -0
- package/cjs/chunks/{bundle-BufWOg42.js → bundle-CPIzT1cf.js} +5 -5
- package/cjs/chunks/bundle-CPIzT1cf.js.map +1 -0
- package/cjs/chunks/{bundle-DnXNmdmw.js → bundle-Ca7xeBTO.js} +34 -34
- package/cjs/chunks/bundle-Ca7xeBTO.js.map +1 -0
- package/cjs/chunks/{bundle-DbS-u43Y.js → bundle-Cc89qdjT.js} +164 -164
- package/cjs/chunks/bundle-Cc89qdjT.js.map +1 -0
- package/cjs/chunks/{bundle-DbykvtHO.js → bundle-CcmMvK6l.js} +11 -11
- package/cjs/chunks/bundle-CcmMvK6l.js.map +1 -0
- package/cjs/chunks/{bundle-juHuQ6-V.js → bundle-CgOafeY_.js} +3 -3
- package/cjs/chunks/{bundle-juHuQ6-V.js.map → bundle-CgOafeY_.js.map} +1 -1
- package/cjs/chunks/{bundle-DdSNUhSn.js → bundle-Ci6F_UQc.js} +6 -6
- package/cjs/chunks/bundle-Ci6F_UQc.js.map +1 -0
- package/cjs/chunks/{bundle-BmEl3iIW.js → bundle-CjYhSLRD.js} +2 -2
- package/cjs/chunks/{bundle-BmEl3iIW.js.map → bundle-CjYhSLRD.js.map} +1 -1
- package/cjs/chunks/{bundle-DPoAoYEl.js → bundle-ClBBhzU-.js} +1 -1
- package/cjs/chunks/bundle-ClBBhzU-.js.map +1 -0
- package/cjs/chunks/{bundle-7zHCY6TY.js → bundle-Cnyr9_mq.js} +36 -36
- package/cjs/chunks/bundle-Cnyr9_mq.js.map +1 -0
- package/cjs/chunks/{bundle-t1Tb_Gz2.js → bundle-CpIdIHld.js} +75 -74
- package/cjs/chunks/bundle-CpIdIHld.js.map +1 -0
- package/cjs/chunks/{bundle-GtlapnzG.js → bundle-Cvu5DOpl.js} +218 -206
- package/cjs/chunks/bundle-Cvu5DOpl.js.map +1 -0
- package/cjs/chunks/{bundle-D3Gxy8S0.js → bundle-Cw7xe6J1.js} +733 -730
- package/cjs/chunks/bundle-Cw7xe6J1.js.map +1 -0
- package/cjs/chunks/{bundle-C-zGGOpz.js → bundle-CxNGVWIy.js} +12 -12
- package/cjs/chunks/bundle-CxNGVWIy.js.map +1 -0
- package/cjs/chunks/{bundle-u8pJrzSP.js → bundle-D1X4MKLh.js} +118 -118
- package/cjs/chunks/bundle-D1X4MKLh.js.map +1 -0
- package/cjs/chunks/{bundle-DIxulCCm.js → bundle-D4e0UT-6.js} +1 -1
- package/cjs/chunks/bundle-D4e0UT-6.js.map +1 -0
- package/cjs/chunks/{bundle-C7_tieEZ.js → bundle-D7v4i_Ae.js} +19 -19
- package/cjs/chunks/bundle-D7v4i_Ae.js.map +1 -0
- package/cjs/chunks/{bundle-CEueJUxG.js → bundle-D9UFa9yx.js} +12 -12
- package/cjs/chunks/bundle-D9UFa9yx.js.map +1 -0
- package/cjs/chunks/{bundle-SdH24Cv9.js → bundle-DFVUnSWq.js} +138 -138
- package/{chunks/bundle-BiINvVSK.js.map → cjs/chunks/bundle-DFVUnSWq.js.map} +1 -1
- package/cjs/chunks/{bundle-DBdGwyXE.js → bundle-DFsKxEv-.js} +192 -185
- package/cjs/chunks/bundle-DFsKxEv-.js.map +1 -0
- package/cjs/chunks/{bundle-BRUrQgUE.js → bundle-DGJX80zy.js} +83 -83
- package/cjs/chunks/bundle-DGJX80zy.js.map +1 -0
- package/cjs/chunks/bundle-DJ9gapN2.js +292 -0
- package/cjs/chunks/bundle-DJ9gapN2.js.map +1 -0
- package/cjs/chunks/{bundle-C8aAwUsg.js → bundle-DLTCoQzD.js} +25 -25
- package/cjs/chunks/bundle-DLTCoQzD.js.map +1 -0
- package/cjs/chunks/{bundle-DLdV8LNR.js → bundle-DOUm656A.js} +6 -6
- package/cjs/chunks/bundle-DOUm656A.js.map +1 -0
- package/cjs/chunks/bundle-DPrTZ-1L.js +32 -0
- package/cjs/chunks/bundle-DPrTZ-1L.js.map +1 -0
- package/cjs/chunks/{bundle-DvWHV-PM.js → bundle-DWBc-Yv7.js} +234 -234
- package/cjs/chunks/bundle-DWBc-Yv7.js.map +1 -0
- package/cjs/chunks/{bundle-DI-qrtXL.js → bundle-DWGp201o.js} +23 -23
- package/cjs/chunks/bundle-DWGp201o.js.map +1 -0
- package/cjs/chunks/{bundle-CZz2cvTG.js → bundle-DZMn5ScB.js} +45 -46
- package/cjs/chunks/bundle-DZMn5ScB.js.map +1 -0
- package/cjs/chunks/{bundle-BuYf2Pa8.js → bundle-Deao1Upp.js} +77 -79
- package/cjs/chunks/bundle-Deao1Upp.js.map +1 -0
- package/cjs/chunks/{bundle-DDmTdnuT.js → bundle-DmVeFWB4.js} +64 -65
- package/cjs/chunks/bundle-DmVeFWB4.js.map +1 -0
- package/cjs/chunks/{bundle-0W_w8lRK.js → bundle-DpK1fr1j.js} +37 -37
- package/cjs/chunks/bundle-DpK1fr1j.js.map +1 -0
- package/cjs/chunks/{bundle-DHuWzY0s.js → bundle-DsrfvJYA.js} +124 -124
- package/cjs/chunks/bundle-DsrfvJYA.js.map +1 -0
- package/cjs/chunks/{bundle-ByBh6M0g.js → bundle-DvkiHRsE.js} +94 -94
- package/cjs/chunks/bundle-DvkiHRsE.js.map +1 -0
- package/cjs/chunks/{bundle-BzR58JaC.js → bundle-DvpCzVKY.js} +31 -31
- package/cjs/chunks/bundle-DvpCzVKY.js.map +1 -0
- package/cjs/chunks/{bundle-BrD0IuOc.js → bundle-GFjnAifB.js} +120 -120
- package/cjs/chunks/bundle-GFjnAifB.js.map +1 -0
- package/cjs/chunks/{bundle-C-noHeKZ.js → bundle-IE4yQ0qq.js} +25 -25
- package/cjs/chunks/bundle-IE4yQ0qq.js.map +1 -0
- package/cjs/chunks/{bundle-D9hSjP4_.js → bundle-IZLtKe6R.js} +131 -132
- package/cjs/chunks/bundle-IZLtKe6R.js.map +1 -0
- package/cjs/chunks/{bundle-D5AiwZE4.js → bundle-LLV3t4--.js} +185 -185
- package/cjs/chunks/bundle-LLV3t4--.js.map +1 -0
- package/cjs/chunks/{bundle-jkB4LAcp.js → bundle-OCHWYrfg.js} +18 -18
- package/cjs/chunks/bundle-OCHWYrfg.js.map +1 -0
- package/cjs/chunks/{bundle-D4pqJjg-.js → bundle-Pfx0MBr4.js} +72 -72
- package/cjs/chunks/bundle-Pfx0MBr4.js.map +1 -0
- package/cjs/chunks/{bundle-DessEmBr.js → bundle-SfusZfMJ.js} +1 -1
- package/cjs/chunks/bundle-SfusZfMJ.js.map +1 -0
- package/cjs/chunks/{bundle-BRjBigtB.js → bundle-Ub33KGva.js} +10 -10
- package/cjs/chunks/bundle-Ub33KGva.js.map +1 -0
- package/cjs/chunks/{bundle-CFWumCsy.js → bundle-WETElB-o.js} +22 -22
- package/cjs/chunks/bundle-WETElB-o.js.map +1 -0
- package/cjs/chunks/{bundle-B6hKU81Z.js → bundle-ZItyfz7r.js} +48 -48
- package/cjs/chunks/bundle-ZItyfz7r.js.map +1 -0
- package/cjs/chunks/bundle-cl2q8NwQ.js +122 -0
- package/{chunks/bundle-CVu64-xY.js.map → cjs/chunks/bundle-cl2q8NwQ.js.map} +1 -1
- package/cjs/chunks/{bundle-D3tBia0F.js → bundle-dr9zoU1D.js} +160 -160
- package/cjs/chunks/{bundle-D3tBia0F.js.map → bundle-dr9zoU1D.js.map} +1 -1
- package/cjs/chunks/{bundle-pZbKLQPU.js → bundle-glVs_8wY.js} +11 -11
- package/cjs/chunks/bundle-glVs_8wY.js.map +1 -0
- package/cjs/chunks/{bundle-B3N7ehMH.js → bundle-hVU-fzqu.js} +258 -258
- package/cjs/chunks/bundle-hVU-fzqu.js.map +1 -0
- package/cjs/chunks/{bundle-Dn17aH6v.js → bundle-hXD0NDZt.js} +51 -51
- package/cjs/chunks/bundle-hXD0NDZt.js.map +1 -0
- package/cjs/chunks/{bundle-Djp6Qheo.js → bundle-jLW3AG2G.js} +146 -1073
- package/cjs/chunks/bundle-jLW3AG2G.js.map +1 -0
- package/cjs/chunks/{bundle-CZObcUAk.js → bundle-xADAFEo0.js} +29 -29
- package/cjs/chunks/bundle-xADAFEo0.js.map +1 -0
- package/cjs/handlers/OpenChannelHandler.js +2 -2
- package/cjs/handlers/SessionHandler.js +2 -2
- package/cjs/hooks/useModal.js +25 -48
- package/cjs/hooks/useModal.js.map +1 -1
- package/cjs/index.js +80 -81
- package/cjs/index.js.map +1 -1
- package/cjs/pubSub/topics.js +1 -1
- package/cjs/sendbirdSelectors.js +550 -550
- package/cjs/ui/Accordion.js +25 -25
- package/cjs/ui/AccordionGroup.js +40 -40
- package/cjs/ui/AdminMessage.js +13 -13
- package/cjs/ui/Avatar.js +4 -4
- package/cjs/ui/Badge.js +18 -18
- package/cjs/ui/BottomSheet.js +40 -26
- package/cjs/ui/BottomSheet.js.map +1 -1
- package/cjs/ui/Button.js +41 -41
- package/cjs/ui/ChannelAvatar.js +21 -21
- package/cjs/ui/Checkbox.js +15 -15
- package/cjs/ui/ConnectionStatus.js +11 -11
- package/cjs/ui/ContextMenu.js +180 -267
- package/cjs/ui/ContextMenu.js.map +1 -1
- package/cjs/ui/DateSeparator.js +13 -13
- package/cjs/ui/EmojiReactions.js +167 -164
- package/cjs/ui/EmojiReactions.js.map +1 -1
- package/cjs/ui/FallbackTemplateMessageItemBody.tsx.js +20 -21
- package/cjs/ui/FallbackTemplateMessageItemBody.tsx.js.map +1 -1
- package/cjs/ui/FeedbackIconButton.js +14 -14
- package/cjs/ui/FileMessageItemBody.js +65 -66
- package/cjs/ui/FileMessageItemBody.js.map +1 -1
- package/cjs/ui/FileViewer.js +23 -17
- package/cjs/ui/FileViewer.js.map +1 -1
- package/cjs/ui/Header.js +53 -0
- package/cjs/ui/Header.js.map +1 -0
- package/cjs/ui/Icon.js +844 -964
- package/cjs/ui/Icon.js.map +1 -1
- package/cjs/ui/IconButton.js +18 -18
- package/cjs/ui/ImageRenderer.js +151 -151
- package/cjs/ui/Input.js +15 -15
- package/cjs/ui/Label.js +4 -4
- package/cjs/ui/LinkLabel.js +21 -21
- package/cjs/ui/Loader.js +11 -11
- package/cjs/ui/LoadingTemplateMessageItemBody.tsx.js +13 -14
- package/cjs/ui/LoadingTemplateMessageItemBody.tsx.js.map +1 -1
- package/cjs/ui/MentionLabel.js +50 -50
- package/cjs/ui/MentionUserLabel.js +4 -4
- package/cjs/ui/MessageContent.js +586 -581
- package/cjs/ui/MessageContent.js.map +1 -1
- package/cjs/ui/MessageFeedbackFailedModal.js +34 -22
- package/cjs/ui/MessageFeedbackFailedModal.js.map +1 -1
- package/cjs/ui/MessageFeedbackModal.js +66 -54
- package/cjs/ui/MessageFeedbackModal.js.map +1 -1
- package/cjs/ui/MessageInput/hooks/usePaste.js +7 -7
- package/cjs/ui/MessageInput.js +423 -424
- package/cjs/ui/MessageInput.js.map +1 -1
- package/cjs/ui/MessageItemMenu.js +134 -134
- package/cjs/ui/MessageItemReactionMenu.js +42 -42
- package/cjs/ui/MessageSearchFileItem.js +77 -78
- package/cjs/ui/MessageSearchFileItem.js.map +1 -1
- package/cjs/ui/MessageSearchItem.js +50 -50
- package/cjs/ui/MessageStatus.js +11 -12
- package/cjs/ui/MessageStatus.js.map +1 -1
- package/cjs/ui/MessageTemplate.js +1 -2
- package/cjs/ui/MessageTemplate.js.map +1 -1
- package/cjs/ui/MobileFeedbackMenu.js +36 -25
- package/cjs/ui/MobileFeedbackMenu.js.map +1 -1
- package/cjs/ui/Modal.js +21 -8
- package/cjs/ui/Modal.js.map +1 -1
- package/cjs/ui/MutedAvatarOverlay.js +14 -14
- package/cjs/ui/OGMessageItemBody.js +76 -76
- package/cjs/ui/OpenChannelAdminMessage.js +9 -9
- package/cjs/ui/OpenChannelAvatar.js +15 -15
- package/cjs/ui/OpenchannelConversationHeader.js +22 -22
- package/cjs/ui/OpenchannelFileMessage.js +117 -117
- package/cjs/ui/OpenchannelOGMessage.js +146 -146
- package/cjs/ui/OpenchannelThumbnailMessage.js +155 -155
- package/cjs/ui/OpenchannelUserMessage.js +128 -128
- package/cjs/ui/PlaceHolder.js +45 -45
- package/cjs/ui/PlaybackTime.js +11 -11
- package/cjs/ui/ProgressBar.js +12 -12
- package/cjs/ui/QuoteMessage.js +69 -70
- package/cjs/ui/QuoteMessage.js.map +1 -1
- package/cjs/ui/QuoteMessageInput.js +66 -67
- package/cjs/ui/QuoteMessageInput.js.map +1 -1
- package/cjs/ui/ReactionBadge.js +20 -20
- package/cjs/ui/ReactionButton.js +17 -17
- package/cjs/ui/SortByRow.js +23 -23
- package/cjs/ui/TemplateMessageItemBody.js +423 -424
- package/cjs/ui/TemplateMessageItemBody.js.map +1 -1
- package/cjs/ui/TextButton.js +9 -9
- package/cjs/ui/TextMessageItemBody.js +44 -44
- package/cjs/ui/ThreadReplies.js +34 -34
- package/cjs/ui/ThumbnailMessageItemBody.js +36 -37
- package/cjs/ui/ThumbnailMessageItemBody.js.map +1 -1
- package/cjs/ui/Toggle.js +110 -110
- package/cjs/ui/Tooltip.js +9 -9
- package/cjs/ui/TooltipWrapper.js +13 -13
- package/cjs/ui/TypingIndicatorBubble.js +56 -56
- package/cjs/ui/UnknownMessageItemBody.js +19 -20
- package/cjs/ui/UnknownMessageItemBody.js.map +1 -1
- package/cjs/ui/UserListItem.js +56 -56
- package/cjs/ui/UserProfile.js +45 -45
- package/cjs/ui/VoiceMessageInput.js +9 -9
- package/cjs/ui/VoiceMessageItemBody.js +62 -54
- package/cjs/ui/VoiceMessageItemBody.js.map +1 -1
- package/cjs/ui/Word.js +41 -41
- package/cjs/useSendbirdStateContext.js +15 -15
- package/cjs/utils/message/getOutgoingMessageState.js +32 -32
- package/cjs/utils/message/isVoiceMessage.js +2 -3
- package/cjs/utils/message/isVoiceMessage.js.map +1 -1
- package/cjs/withSendbird.js +17 -17
- package/dist/index.css +195 -169
- package/dist/index.css.map +1 -1
- package/handlers/OpenChannelHandler.js +2 -2
- package/handlers/SessionHandler.js +2 -2
- package/hooks/useModal.js +22 -50
- package/hooks/useModal.js.map +1 -1
- package/index.js +80 -81
- package/index.js.map +1 -1
- package/package.json +13 -5
- package/pubSub/topics.js +1 -1
- package/sendbirdSelectors.js +550 -550
- package/types/lib/pubSub/topics.d.ts +2 -2
- package/types/lib/types.d.ts +50 -15
- package/types/modules/App/index.d.ts +17 -10
- package/types/modules/Channel/context/ChannelProvider.d.ts +1 -4
- package/types/modules/ChannelList/components/ChannelPreviewAction.d.ts +2 -2
- package/types/modules/ChannelSettings/components/ChannelSettingsUI/ChannelSettingsHeader.d.ts +4 -3
- package/types/modules/GroupChannel/components/FileViewer/FileViewerView.d.ts +2 -2
- package/types/modules/GroupChannel/components/GroupChannelHeader/GroupChannelHeaderView.d.ts +3 -2
- package/types/modules/GroupChannel/components/GroupChannelHeader/index.d.ts +3 -2
- package/types/modules/GroupChannel/components/MessageInputWrapper/MessageInputWrapperView.d.ts +1 -1
- package/types/modules/GroupChannel/components/MessageInputWrapper/VoiceMessageInputWrapper.d.ts +2 -2
- package/types/modules/GroupChannel/components/MessageInputWrapper/index.d.ts +1 -1
- package/types/modules/GroupChannel/components/SuggestedReplies/index.d.ts +3 -1
- package/types/modules/GroupChannelList/components/GroupChannelListHeader/index.d.ts +4 -2
- package/types/modules/MessageSearch/context/MessageSearchProvider.d.ts +1 -1
- package/types/modules/OpenChannelApp/index.d.ts +3 -3
- package/types/modules/Thread/components/ThreadHeader/index.d.ts +2 -2
- package/types/ui/Header/index.d.ts +45 -0
- package/types/ui/Icon/index.d.ts +2 -3
- package/types/ui/Label/index.d.ts +3 -4
- package/types/ui/MessageInput/hooks/usePaste/consts.d.ts +1 -1
- package/types/ui/Modal/index.d.ts +2 -4
- package/types/ui/TextButton/index.d.ts +1 -1
- package/types/ui/Toggle/ToggleContainer.d.ts +2 -1
- package/types/utils/index.d.ts +0 -1
- package/types/utils/utils.d.ts +2 -0
- package/ui/Accordion.js +25 -25
- package/ui/AccordionGroup.js +40 -40
- package/ui/AdminMessage.js +13 -13
- package/ui/Avatar.js +4 -4
- package/ui/Badge.js +18 -18
- package/ui/BottomSheet.js +40 -26
- package/ui/BottomSheet.js.map +1 -1
- package/ui/Button.js +41 -41
- package/ui/ChannelAvatar.js +21 -21
- package/ui/Checkbox.js +15 -15
- package/ui/ConnectionStatus.js +11 -11
- package/ui/ContextMenu.js +180 -267
- package/ui/ContextMenu.js.map +1 -1
- package/ui/DateSeparator.js +13 -13
- package/ui/EmojiReactions.js +167 -164
- package/ui/EmojiReactions.js.map +1 -1
- package/ui/FallbackTemplateMessageItemBody.tsx.js +20 -21
- package/ui/FallbackTemplateMessageItemBody.tsx.js.map +1 -1
- package/ui/FeedbackIconButton.js +14 -14
- package/ui/FileMessageItemBody.js +65 -66
- package/ui/FileMessageItemBody.js.map +1 -1
- package/ui/FileViewer.js +23 -17
- package/ui/FileViewer.js.map +1 -1
- package/ui/Header.js +45 -0
- package/ui/Header.js.map +1 -0
- package/ui/Icon.js +845 -965
- package/ui/Icon.js.map +1 -1
- package/ui/IconButton.js +18 -18
- package/ui/ImageRenderer.js +151 -151
- package/ui/Input.js +15 -15
- package/ui/Label.js +3 -3
- package/ui/LinkLabel.js +21 -21
- package/ui/Loader.js +11 -11
- package/ui/LoadingTemplateMessageItemBody.tsx.js +13 -14
- package/ui/LoadingTemplateMessageItemBody.tsx.js.map +1 -1
- package/ui/MentionLabel.js +50 -50
- package/ui/MentionUserLabel.js +4 -4
- package/ui/MessageContent.js +586 -581
- package/ui/MessageContent.js.map +1 -1
- package/ui/MessageFeedbackFailedModal.js +34 -22
- package/ui/MessageFeedbackFailedModal.js.map +1 -1
- package/ui/MessageFeedbackModal.js +66 -54
- package/ui/MessageFeedbackModal.js.map +1 -1
- package/ui/MessageInput/hooks/usePaste.js +7 -7
- package/ui/MessageInput.js +423 -424
- package/ui/MessageInput.js.map +1 -1
- package/ui/MessageItemMenu.js +134 -134
- package/ui/MessageItemReactionMenu.js +42 -42
- package/ui/MessageSearchFileItem.js +77 -78
- package/ui/MessageSearchFileItem.js.map +1 -1
- package/ui/MessageSearchItem.js +50 -50
- package/ui/MessageStatus.js +11 -12
- package/ui/MessageStatus.js.map +1 -1
- package/ui/MessageTemplate.js +1 -2
- package/ui/MessageTemplate.js.map +1 -1
- package/ui/MobileFeedbackMenu.js +36 -25
- package/ui/MobileFeedbackMenu.js.map +1 -1
- package/ui/Modal.js +21 -8
- package/ui/Modal.js.map +1 -1
- package/ui/MutedAvatarOverlay.js +14 -14
- package/ui/OGMessageItemBody.js +76 -76
- package/ui/OpenChannelAdminMessage.js +9 -9
- package/ui/OpenChannelAvatar.js +15 -15
- package/ui/OpenchannelConversationHeader.js +22 -22
- package/ui/OpenchannelFileMessage.js +117 -117
- package/ui/OpenchannelOGMessage.js +146 -146
- package/ui/OpenchannelThumbnailMessage.js +155 -155
- package/ui/OpenchannelUserMessage.js +128 -128
- package/ui/PlaceHolder.js +45 -45
- package/ui/PlaybackTime.js +11 -11
- package/ui/ProgressBar.js +12 -12
- package/ui/QuoteMessage.js +69 -70
- package/ui/QuoteMessage.js.map +1 -1
- package/ui/QuoteMessageInput.js +66 -67
- package/ui/QuoteMessageInput.js.map +1 -1
- package/ui/ReactionBadge.js +20 -20
- package/ui/ReactionButton.js +17 -17
- package/ui/SortByRow.js +23 -23
- package/ui/TemplateMessageItemBody.js +423 -424
- package/ui/TemplateMessageItemBody.js.map +1 -1
- package/ui/TextButton.js +9 -9
- package/ui/TextMessageItemBody.js +44 -44
- package/ui/ThreadReplies.js +34 -34
- package/ui/ThumbnailMessageItemBody.js +36 -37
- package/ui/ThumbnailMessageItemBody.js.map +1 -1
- package/ui/Toggle.js +110 -110
- package/ui/Tooltip.js +9 -9
- package/ui/TooltipWrapper.js +13 -13
- package/ui/TypingIndicatorBubble.js +56 -56
- package/ui/UnknownMessageItemBody.js +19 -20
- package/ui/UnknownMessageItemBody.js.map +1 -1
- package/ui/UserListItem.js +56 -56
- package/ui/UserProfile.js +45 -45
- package/ui/VoiceMessageInput.js +9 -9
- package/ui/VoiceMessageItemBody.js +62 -54
- package/ui/VoiceMessageItemBody.js.map +1 -1
- package/ui/Word.js +41 -41
- package/useSendbirdStateContext.js +15 -15
- package/utils/message/getOutgoingMessageState.js +32 -32
- package/utils/message/isVoiceMessage.js +2 -3
- package/utils/message/isVoiceMessage.js.map +1 -1
- package/withSendbird.js +17 -17
- package/chunks/bundle-5yHWoLVJ.js.map +0 -1
- package/chunks/bundle-B7J4Fm0y.js.map +0 -1
- package/chunks/bundle-B9rwLbgh.js +0 -36
- package/chunks/bundle-B9rwLbgh.js.map +0 -1
- package/chunks/bundle-B9sTU4LX.js.map +0 -1
- package/chunks/bundle-BKCDSKx6.js.map +0 -1
- package/chunks/bundle-BLMDgHS-.js.map +0 -1
- package/chunks/bundle-BMPm6lKq.js.map +0 -1
- package/chunks/bundle-BOUVMTAt.js.map +0 -1
- package/chunks/bundle-BPbwxMIx.js.map +0 -1
- package/chunks/bundle-BPj0X5TA.js.map +0 -1
- package/chunks/bundle-BPvfVEd8.js.map +0 -1
- package/chunks/bundle-BTLVyMgj.js.map +0 -1
- package/chunks/bundle-BX_IXLSp.js.map +0 -1
- package/chunks/bundle-BbeHRXOp.js.map +0 -1
- package/chunks/bundle-Bdw6eUSG.js +0 -4
- package/chunks/bundle-Bdw6eUSG.js.map +0 -1
- package/chunks/bundle-Bf6VvPhp.js.map +0 -1
- package/chunks/bundle-BlK-fMQm.js.map +0 -1
- package/chunks/bundle-BmFbOU4C.js.map +0 -1
- package/chunks/bundle-BwJTKHEl.js.map +0 -1
- package/chunks/bundle-BzYv4x2T.js.map +0 -1
- package/chunks/bundle-C3K7W_E-.js.map +0 -1
- package/chunks/bundle-CMZVPZeM.js.map +0 -1
- package/chunks/bundle-COLsFI7t.js.map +0 -1
- package/chunks/bundle-CSOdmQ75.js +0 -65
- package/chunks/bundle-CSOdmQ75.js.map +0 -1
- package/chunks/bundle-CUDCHaXM.js.map +0 -1
- package/chunks/bundle-CUPPssXo.js.map +0 -1
- package/chunks/bundle-CUd4X5O2.js.map +0 -1
- package/chunks/bundle-CVu64-xY.js +0 -122
- package/chunks/bundle-CXtl77MC.js.map +0 -1
- package/chunks/bundle-CY2Lga-4.js.map +0 -1
- package/chunks/bundle-CllFAkeZ.js.map +0 -1
- package/chunks/bundle-D4rjbjNv.js.map +0 -1
- package/chunks/bundle-D4x1_hkl.js.map +0 -1
- package/chunks/bundle-D5lQwKgM.js.map +0 -1
- package/chunks/bundle-D8JekjLy.js.map +0 -1
- package/chunks/bundle-DGnpw8up.js.map +0 -1
- package/chunks/bundle-DQKxIg_X.js.map +0 -1
- package/chunks/bundle-DS5ljghe.js.map +0 -1
- package/chunks/bundle-DZl__KhG.js.map +0 -1
- package/chunks/bundle-Dc7E6GJc.js.map +0 -1
- package/chunks/bundle-DfDCjniq.js.map +0 -1
- package/chunks/bundle-DfhJ_oFZ.js.map +0 -1
- package/chunks/bundle-Dk211z5R.js.map +0 -1
- package/chunks/bundle-DpCn3P9s.js.map +0 -1
- package/chunks/bundle-DpkEqNiD.js.map +0 -1
- package/chunks/bundle-DwApARpe.js.map +0 -1
- package/chunks/bundle-Dzm909k5.js.map +0 -1
- package/chunks/bundle-OIgXk-TJ.js.map +0 -1
- package/chunks/bundle-Otcx8Wxy.js.map +0 -1
- package/chunks/bundle-WmbZYtqM.js.map +0 -1
- package/chunks/bundle-Y3Y435SA.js.map +0 -1
- package/chunks/bundle-fxTywxQ4.js.map +0 -1
- package/chunks/bundle-mRqHYNyY.js.map +0 -1
- package/chunks/bundle-tIPAQa1P.js.map +0 -1
- package/cjs/chunks/bundle-0W_w8lRK.js.map +0 -1
- package/cjs/chunks/bundle-7zHCY6TY.js.map +0 -1
- package/cjs/chunks/bundle-B3N7ehMH.js.map +0 -1
- package/cjs/chunks/bundle-B6hKU81Z.js.map +0 -1
- package/cjs/chunks/bundle-B6uiunjG.js.map +0 -1
- package/cjs/chunks/bundle-BDbnsPGF.js.map +0 -1
- package/cjs/chunks/bundle-BJBClQcM.js.map +0 -1
- package/cjs/chunks/bundle-BRjBigtB.js.map +0 -1
- package/cjs/chunks/bundle-Bka-H9ks.js +0 -7
- package/cjs/chunks/bundle-Bka-H9ks.js.map +0 -1
- package/cjs/chunks/bundle-BoCS4RH3.js.map +0 -1
- package/cjs/chunks/bundle-BrD0IuOc.js.map +0 -1
- package/cjs/chunks/bundle-BuYf2Pa8.js.map +0 -1
- package/cjs/chunks/bundle-BufWOg42.js.map +0 -1
- package/cjs/chunks/bundle-BwEcnJDm.js.map +0 -1
- package/cjs/chunks/bundle-ByBh6M0g.js.map +0 -1
- package/cjs/chunks/bundle-BzR58JaC.js.map +0 -1
- package/cjs/chunks/bundle-C-gA8UhR.js.map +0 -1
- package/cjs/chunks/bundle-C-noHeKZ.js.map +0 -1
- package/cjs/chunks/bundle-C-zGGOpz.js.map +0 -1
- package/cjs/chunks/bundle-C0LFi1ur.js.map +0 -1
- package/cjs/chunks/bundle-C7_tieEZ.js.map +0 -1
- package/cjs/chunks/bundle-C8aAwUsg.js.map +0 -1
- package/cjs/chunks/bundle-CBmExSEr.js.map +0 -1
- package/cjs/chunks/bundle-CEueJUxG.js.map +0 -1
- package/cjs/chunks/bundle-CFWumCsy.js.map +0 -1
- package/cjs/chunks/bundle-CVSpiKNJ.js.map +0 -1
- package/cjs/chunks/bundle-CY1bUkfG.js.map +0 -1
- package/cjs/chunks/bundle-CZObcUAk.js.map +0 -1
- package/cjs/chunks/bundle-CZz2cvTG.js.map +0 -1
- package/cjs/chunks/bundle-Cc-KyTf-.js +0 -38
- package/cjs/chunks/bundle-Cc-KyTf-.js.map +0 -1
- package/cjs/chunks/bundle-ChIhNCh1.js.map +0 -1
- package/cjs/chunks/bundle-D3Gxy8S0.js.map +0 -1
- package/cjs/chunks/bundle-D4pqJjg-.js.map +0 -1
- package/cjs/chunks/bundle-D5AiwZE4.js.map +0 -1
- package/cjs/chunks/bundle-D8-ob9Ia.js.map +0 -1
- package/cjs/chunks/bundle-D9hSjP4_.js.map +0 -1
- package/cjs/chunks/bundle-DBdGwyXE.js.map +0 -1
- package/cjs/chunks/bundle-DDmTdnuT.js.map +0 -1
- package/cjs/chunks/bundle-DHuWzY0s.js.map +0 -1
- package/cjs/chunks/bundle-DI-qrtXL.js.map +0 -1
- package/cjs/chunks/bundle-DIxulCCm.js.map +0 -1
- package/cjs/chunks/bundle-DLdV8LNR.js.map +0 -1
- package/cjs/chunks/bundle-DPoAoYEl.js.map +0 -1
- package/cjs/chunks/bundle-DYZo-ek9.js.map +0 -1
- package/cjs/chunks/bundle-DbS-u43Y.js.map +0 -1
- package/cjs/chunks/bundle-DbykvtHO.js.map +0 -1
- package/cjs/chunks/bundle-DdSNUhSn.js.map +0 -1
- package/cjs/chunks/bundle-DessEmBr.js.map +0 -1
- package/cjs/chunks/bundle-Df0cAbH6.js.map +0 -1
- package/cjs/chunks/bundle-Djp6Qheo.js.map +0 -1
- package/cjs/chunks/bundle-DlPLp6fm.js.map +0 -1
- package/cjs/chunks/bundle-Dn17aH6v.js.map +0 -1
- package/cjs/chunks/bundle-DnXNmdmw.js.map +0 -1
- package/cjs/chunks/bundle-DsKL-Ede.js.map +0 -1
- package/cjs/chunks/bundle-E9H8fQL4.js.map +0 -1
- package/cjs/chunks/bundle-GtlapnzG.js.map +0 -1
- package/cjs/chunks/bundle-IVTygAtE.js.map +0 -1
- package/cjs/chunks/bundle-SdH24Cv9.js.map +0 -1
- package/cjs/chunks/bundle-XEpryGfs.js.map +0 -1
- package/cjs/chunks/bundle-ZuDe6I0q.js.map +0 -1
- package/cjs/chunks/bundle-fG1bRzYE.js +0 -72
- package/cjs/chunks/bundle-fG1bRzYE.js.map +0 -1
- package/cjs/chunks/bundle-jkB4LAcp.js.map +0 -1
- package/cjs/chunks/bundle-oUs61pbv.js.map +0 -1
- package/cjs/chunks/bundle-pZbKLQPU.js.map +0 -1
- package/cjs/chunks/bundle-q2tBQOdq.js.map +0 -1
- package/cjs/chunks/bundle-t1Tb_Gz2.js.map +0 -1
- package/cjs/chunks/bundle-ti18J4ii.js +0 -124
- package/cjs/chunks/bundle-ti18J4ii.js.map +0 -1
- package/cjs/chunks/bundle-u8pJrzSP.js.map +0 -1
- package/types/modules/OpenChannelApp/stories/utils.d.ts +0 -6
|
@@ -3,65 +3,65 @@ import { GroupChannelListHeader } from '../GroupChannelList/components/GroupChan
|
|
|
3
3
|
import { useSendbirdStateContext } from '../useSendbirdStateContext.js';
|
|
4
4
|
import EditUserProfile from '../EditUserProfile.js';
|
|
5
5
|
import PlaceHolder, { PlaceHolderTypes } from '../ui/PlaceHolder.js';
|
|
6
|
-
import { u as useOnScrollPositionChangeDetector } from './bundle-
|
|
6
|
+
import { u as useOnScrollPositionChangeDetector } from './bundle-BGTq2aZA.js';
|
|
7
7
|
|
|
8
|
-
var GroupChannelListUIView = function (_a) {
|
|
9
|
-
var renderHeader = _a.renderHeader, renderPlaceHolderError = _a.renderPlaceHolderError, renderPlaceHolderLoading = _a.renderPlaceHolderLoading, renderPlaceHolderEmptyList = _a.renderPlaceHolderEmptyList, onChangeTheme = _a.onChangeTheme, onUserProfileUpdated = _a.onUserProfileUpdated, allowProfileEdit = _a.allowProfileEdit, channels = _a.channels, onLoadMore = _a.onLoadMore, initialized = _a.initialized, renderChannel = _a.renderChannel, renderAddChannel = _a.renderAddChannel;
|
|
10
|
-
var _b = useState(false), showProfileEdit = _b[0], setShowProfileEdit = _b[1];
|
|
11
|
-
var stores = useSendbirdStateContext().stores;
|
|
12
|
-
var renderer = {
|
|
13
|
-
addChannel: renderAddChannel,
|
|
14
|
-
channel: renderChannel,
|
|
15
|
-
placeholder: {
|
|
16
|
-
loading: function () {
|
|
17
|
-
if (initialized)
|
|
18
|
-
return null;
|
|
19
|
-
if (renderPlaceHolderLoading)
|
|
20
|
-
return renderPlaceHolderLoading();
|
|
21
|
-
return React__default.createElement(PlaceHolder, { type: PlaceHolderTypes.LOADING });
|
|
22
|
-
},
|
|
23
|
-
empty: function () {
|
|
24
|
-
if (!initialized)
|
|
25
|
-
return null;
|
|
26
|
-
if (renderPlaceHolderEmptyList)
|
|
27
|
-
return renderPlaceHolderEmptyList();
|
|
28
|
-
return React__default.createElement(PlaceHolder, { type: PlaceHolderTypes.NO_CHANNELS });
|
|
29
|
-
},
|
|
30
|
-
error: function () {
|
|
31
|
-
if (!initialized || !stores.sdkStore.error)
|
|
32
|
-
return null;
|
|
33
|
-
if (renderPlaceHolderError)
|
|
34
|
-
return renderPlaceHolderError();
|
|
35
|
-
return React__default.createElement(PlaceHolder, { type: PlaceHolderTypes.WRONG });
|
|
36
|
-
},
|
|
37
|
-
},
|
|
38
|
-
};
|
|
39
|
-
return (React__default.createElement(React__default.Fragment, null,
|
|
40
|
-
React__default.createElement("div", { className: "sendbird-channel-list__header" }, (renderHeader === null || renderHeader === void 0 ? void 0 : renderHeader()) || (React__default.createElement(GroupChannelListHeader, { onEdit: function () { return allowProfileEdit && setShowProfileEdit(true); }, allowProfileEdit: allowProfileEdit, renderIconButton: function () { return renderer.addChannel(); } }))),
|
|
41
|
-
showProfileEdit && (React__default.createElement(EditUserProfile, { onThemeChange: onChangeTheme, onCancel: function () { return setShowProfileEdit(false); }, onEditProfile: function (user) {
|
|
42
|
-
setShowProfileEdit(false);
|
|
43
|
-
onUserProfileUpdated(user);
|
|
44
|
-
} })),
|
|
45
|
-
React__default.createElement(ChannelListComponent, { data: channels, renderItem: renderer.channel, onLoadMore: onLoadMore, placeholderLoading: renderer.placeholder.loading(), placeholderEmpty: renderer.placeholder.empty(), placeholderError: renderer.placeholder.error() })));
|
|
46
|
-
};
|
|
47
|
-
/**
|
|
48
|
-
* To do: Implement windowing
|
|
49
|
-
* Implement windowing if you are dealing with large number of messages/channels
|
|
50
|
-
* https://github.com/bvaughn/react-window -> recommendation
|
|
51
|
-
* We hesitate to bring one more dependency to our library,
|
|
52
|
-
* we are planning to implement it inside the library
|
|
53
|
-
* */
|
|
54
|
-
var ChannelListComponent = function (props) {
|
|
55
|
-
var data = props.data, renderItem = props.renderItem, onLoadMore = props.onLoadMore, placeholderLoading = props.placeholderLoading, placeholderError = props.placeholderError, placeholderEmpty = props.placeholderEmpty;
|
|
56
|
-
var onScroll = useOnScrollPositionChangeDetector({
|
|
57
|
-
onReachedBottom: function () { return onLoadMore(); },
|
|
58
|
-
});
|
|
59
|
-
return (React__default.createElement("div", { className: 'sendbird-channel-list__body', onScroll: onScroll },
|
|
60
|
-
placeholderError,
|
|
61
|
-
React__default.createElement("div", null, data.map(function (item, index) { return renderItem({ item: item, index: index }); })),
|
|
62
|
-
placeholderLoading,
|
|
63
|
-
data.length === 0 && placeholderEmpty));
|
|
8
|
+
var GroupChannelListUIView = function (_a) {
|
|
9
|
+
var renderHeader = _a.renderHeader, renderPlaceHolderError = _a.renderPlaceHolderError, renderPlaceHolderLoading = _a.renderPlaceHolderLoading, renderPlaceHolderEmptyList = _a.renderPlaceHolderEmptyList, onChangeTheme = _a.onChangeTheme, onUserProfileUpdated = _a.onUserProfileUpdated, allowProfileEdit = _a.allowProfileEdit, channels = _a.channels, onLoadMore = _a.onLoadMore, initialized = _a.initialized, renderChannel = _a.renderChannel, renderAddChannel = _a.renderAddChannel;
|
|
10
|
+
var _b = useState(false), showProfileEdit = _b[0], setShowProfileEdit = _b[1];
|
|
11
|
+
var stores = useSendbirdStateContext().stores;
|
|
12
|
+
var renderer = {
|
|
13
|
+
addChannel: renderAddChannel,
|
|
14
|
+
channel: renderChannel,
|
|
15
|
+
placeholder: {
|
|
16
|
+
loading: function () {
|
|
17
|
+
if (initialized)
|
|
18
|
+
return null;
|
|
19
|
+
if (renderPlaceHolderLoading)
|
|
20
|
+
return renderPlaceHolderLoading();
|
|
21
|
+
return React__default.createElement(PlaceHolder, { type: PlaceHolderTypes.LOADING });
|
|
22
|
+
},
|
|
23
|
+
empty: function () {
|
|
24
|
+
if (!initialized)
|
|
25
|
+
return null;
|
|
26
|
+
if (renderPlaceHolderEmptyList)
|
|
27
|
+
return renderPlaceHolderEmptyList();
|
|
28
|
+
return React__default.createElement(PlaceHolder, { type: PlaceHolderTypes.NO_CHANNELS });
|
|
29
|
+
},
|
|
30
|
+
error: function () {
|
|
31
|
+
if (!initialized || !stores.sdkStore.error)
|
|
32
|
+
return null;
|
|
33
|
+
if (renderPlaceHolderError)
|
|
34
|
+
return renderPlaceHolderError();
|
|
35
|
+
return React__default.createElement(PlaceHolder, { type: PlaceHolderTypes.WRONG });
|
|
36
|
+
},
|
|
37
|
+
},
|
|
38
|
+
};
|
|
39
|
+
return (React__default.createElement(React__default.Fragment, null,
|
|
40
|
+
React__default.createElement("div", { className: "sendbird-channel-list__header" }, (renderHeader === null || renderHeader === void 0 ? void 0 : renderHeader()) || (React__default.createElement(GroupChannelListHeader, { onEdit: function () { return allowProfileEdit && setShowProfileEdit(true); }, allowProfileEdit: allowProfileEdit, renderIconButton: function () { return renderer.addChannel(); } }))),
|
|
41
|
+
showProfileEdit && (React__default.createElement(EditUserProfile, { onThemeChange: onChangeTheme, onCancel: function () { return setShowProfileEdit(false); }, onEditProfile: function (user) {
|
|
42
|
+
setShowProfileEdit(false);
|
|
43
|
+
onUserProfileUpdated(user);
|
|
44
|
+
} })),
|
|
45
|
+
React__default.createElement(ChannelListComponent, { data: channels, renderItem: renderer.channel, onLoadMore: onLoadMore, placeholderLoading: renderer.placeholder.loading(), placeholderEmpty: renderer.placeholder.empty(), placeholderError: renderer.placeholder.error() })));
|
|
46
|
+
};
|
|
47
|
+
/**
|
|
48
|
+
* To do: Implement windowing
|
|
49
|
+
* Implement windowing if you are dealing with large number of messages/channels
|
|
50
|
+
* https://github.com/bvaughn/react-window -> recommendation
|
|
51
|
+
* We hesitate to bring one more dependency to our library,
|
|
52
|
+
* we are planning to implement it inside the library
|
|
53
|
+
* */
|
|
54
|
+
var ChannelListComponent = function (props) {
|
|
55
|
+
var data = props.data, renderItem = props.renderItem, onLoadMore = props.onLoadMore, placeholderLoading = props.placeholderLoading, placeholderError = props.placeholderError, placeholderEmpty = props.placeholderEmpty;
|
|
56
|
+
var onScroll = useOnScrollPositionChangeDetector({
|
|
57
|
+
onReachedBottom: function () { return onLoadMore(); },
|
|
58
|
+
});
|
|
59
|
+
return (React__default.createElement("div", { className: 'sendbird-channel-list__body', onScroll: onScroll },
|
|
60
|
+
placeholderError,
|
|
61
|
+
React__default.createElement("div", null, data.map(function (item, index) { return renderItem({ item: item, index: index }); })),
|
|
62
|
+
placeholderLoading,
|
|
63
|
+
data.length === 0 && placeholderEmpty));
|
|
64
64
|
};
|
|
65
65
|
|
|
66
66
|
export { GroupChannelListUIView as G };
|
|
67
|
-
//# sourceMappingURL=bundle-
|
|
67
|
+
//# sourceMappingURL=bundle-Y_WIAHds.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-Y_WIAHds.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-YveljAuC.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { useState, useEffect } from 'react';
|
|
2
2
|
|
|
3
|
-
function useReconnectOnIdle(isOnline, currentGroupChannel, reconnectOnIdle) {
|
|
4
|
-
if (reconnectOnIdle === void 0) { reconnectOnIdle = true; }
|
|
5
|
-
var _a = useState(false), isTabHidden = _a[0], setIsTabHidden = _a[1];
|
|
6
|
-
var wasOffline = !isOnline;
|
|
7
|
-
useEffect(function () {
|
|
8
|
-
var handleVisibilityChange = function () {
|
|
9
|
-
if (reconnectOnIdle) {
|
|
10
|
-
setIsTabHidden(document.hidden);
|
|
11
|
-
}
|
|
12
|
-
};
|
|
13
|
-
document.addEventListener('visibilitychange', handleVisibilityChange);
|
|
14
|
-
return function () {
|
|
15
|
-
document.removeEventListener('visibilitychange', handleVisibilityChange);
|
|
16
|
-
};
|
|
17
|
-
}, [reconnectOnIdle, document.hidden]);
|
|
18
|
-
var shouldReconnect = wasOffline && (currentGroupChannel === null || currentGroupChannel === void 0 ? void 0 : currentGroupChannel.url) != null && !isTabHidden;
|
|
19
|
-
return { shouldReconnect: shouldReconnect };
|
|
3
|
+
function useReconnectOnIdle(isOnline, currentGroupChannel, reconnectOnIdle) {
|
|
4
|
+
if (reconnectOnIdle === void 0) { reconnectOnIdle = true; }
|
|
5
|
+
var _a = useState(false), isTabHidden = _a[0], setIsTabHidden = _a[1];
|
|
6
|
+
var wasOffline = !isOnline;
|
|
7
|
+
useEffect(function () {
|
|
8
|
+
var handleVisibilityChange = function () {
|
|
9
|
+
if (reconnectOnIdle) {
|
|
10
|
+
setIsTabHidden(document.hidden);
|
|
11
|
+
}
|
|
12
|
+
};
|
|
13
|
+
document.addEventListener('visibilitychange', handleVisibilityChange);
|
|
14
|
+
return function () {
|
|
15
|
+
document.removeEventListener('visibilitychange', handleVisibilityChange);
|
|
16
|
+
};
|
|
17
|
+
}, [reconnectOnIdle, document.hidden]);
|
|
18
|
+
var shouldReconnect = wasOffline && (currentGroupChannel === null || currentGroupChannel === void 0 ? void 0 : currentGroupChannel.url) != null && !isTabHidden;
|
|
19
|
+
return { shouldReconnect: shouldReconnect };
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
export { useReconnectOnIdle as u };
|
|
23
|
-
//# sourceMappingURL=bundle-
|
|
23
|
+
//# sourceMappingURL=bundle-cgNuve_E.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-cgNuve_E.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import React__default, { useContext } from 'react';
|
|
2
|
-
import { M as Modal } from './bundle-
|
|
3
|
-
import './bundle-
|
|
4
|
-
import './bundle-
|
|
2
|
+
import { M as Modal } from './bundle-DiVyB2HD.js';
|
|
3
|
+
import './bundle-CDy_GVNR.js';
|
|
4
|
+
import './bundle-q3jyuKU7.js';
|
|
5
5
|
import { ButtonTypes } from '../ui/Button.js';
|
|
6
|
-
import { L as LocalizationContext } from './bundle-
|
|
7
|
-
import { g as getModalDeleteMessageTitle } from './bundle-
|
|
6
|
+
import { L as LocalizationContext } from './bundle-CAdxJnio.js';
|
|
7
|
+
import { g as getModalDeleteMessageTitle } from './bundle-Chn4Xw78.js';
|
|
8
8
|
|
|
9
|
-
var RemoveMessageModalView = function (props) {
|
|
10
|
-
var _a;
|
|
11
|
-
var _b = props.onSubmit, onSubmit = _b === void 0 ? function () {
|
|
12
|
-
/* noop */
|
|
13
|
-
} : _b, onCancel = props.onCancel, message = props.message, deleteMessage = props.deleteMessage;
|
|
14
|
-
var stringSet = useContext(LocalizationContext).stringSet;
|
|
15
|
-
return (React__default.createElement(Modal, { type: ButtonTypes.DANGER, disabled: ((_a = message === null || message === void 0 ? void 0 : message.threadInfo) === null || _a === void 0 ? void 0 : _a.replyCount) > 0, onCancel: onCancel, onSubmit: function () {
|
|
16
|
-
if (message.isUserMessage() || message.isFileMessage() || message.isMultipleFilesMessage()) {
|
|
17
|
-
deleteMessage(message).then(function () {
|
|
18
|
-
// For other status such as PENDING, SCHEDULED, and CANCELED,
|
|
19
|
-
// invalid parameters error is thrown so nothing happens.
|
|
20
|
-
onSubmit();
|
|
21
|
-
onCancel();
|
|
22
|
-
});
|
|
23
|
-
}
|
|
24
|
-
}, submitText: stringSet.MESSAGE_MENU__DELETE, titleText: getModalDeleteMessageTitle(stringSet, message) }));
|
|
9
|
+
var RemoveMessageModalView = function (props) {
|
|
10
|
+
var _a;
|
|
11
|
+
var _b = props.onSubmit, onSubmit = _b === void 0 ? function () {
|
|
12
|
+
/* noop */
|
|
13
|
+
} : _b, onCancel = props.onCancel, message = props.message, deleteMessage = props.deleteMessage;
|
|
14
|
+
var stringSet = useContext(LocalizationContext).stringSet;
|
|
15
|
+
return (React__default.createElement(Modal, { type: ButtonTypes.DANGER, disabled: ((_a = message === null || message === void 0 ? void 0 : message.threadInfo) === null || _a === void 0 ? void 0 : _a.replyCount) > 0, onCancel: onCancel, onSubmit: function () {
|
|
16
|
+
if (message.isUserMessage() || message.isFileMessage() || message.isMultipleFilesMessage()) {
|
|
17
|
+
deleteMessage(message).then(function () {
|
|
18
|
+
// For other status such as PENDING, SCHEDULED, and CANCELED,
|
|
19
|
+
// invalid parameters error is thrown so nothing happens.
|
|
20
|
+
onSubmit();
|
|
21
|
+
onCancel();
|
|
22
|
+
});
|
|
23
|
+
}
|
|
24
|
+
}, submitText: stringSet.MESSAGE_MENU__DELETE, titleText: getModalDeleteMessageTitle(stringSet, message) }));
|
|
25
25
|
};
|
|
26
26
|
|
|
27
27
|
export { RemoveMessageModalView as R };
|
|
28
|
-
//# sourceMappingURL=bundle-
|
|
28
|
+
//# sourceMappingURL=bundle-e3NlFYfX.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-e3NlFYfX.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
// note to SDK team:
|
|
2
|
-
// using enum inside .d.ts won’t work for jest, but const enum will work.
|
|
3
|
-
var Role = {
|
|
4
|
-
OPERATOR: 'operator',
|
|
5
|
-
NONE: 'none',
|
|
1
|
+
// note to SDK team:
|
|
2
|
+
// using enum inside .d.ts won’t work for jest, but const enum will work.
|
|
3
|
+
var Role = {
|
|
4
|
+
OPERATOR: 'operator',
|
|
5
|
+
NONE: 'none',
|
|
6
6
|
};
|
|
7
7
|
|
|
8
8
|
export { Role as R };
|
|
9
|
-
//# sourceMappingURL=bundle-
|
|
9
|
+
//# sourceMappingURL=bundle-hF8Gurf8.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-hF8Gurf8.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;"}
|
|
@@ -2,36 +2,36 @@ import React__default, { useState } from 'react';
|
|
|
2
2
|
import { getCreateGroupChannel } from '../sendbirdSelectors.js';
|
|
3
3
|
import { useSendbirdStateContext } from '../useSendbirdStateContext.js';
|
|
4
4
|
|
|
5
|
-
var CHANNEL_TYPE;
|
|
6
|
-
(function (CHANNEL_TYPE) {
|
|
7
|
-
CHANNEL_TYPE["GROUP"] = "group";
|
|
8
|
-
CHANNEL_TYPE["SUPERGROUP"] = "supergroup";
|
|
9
|
-
CHANNEL_TYPE["BROADCAST"] = "broadcast";
|
|
5
|
+
var CHANNEL_TYPE;
|
|
6
|
+
(function (CHANNEL_TYPE) {
|
|
7
|
+
CHANNEL_TYPE["GROUP"] = "group";
|
|
8
|
+
CHANNEL_TYPE["SUPERGROUP"] = "supergroup";
|
|
9
|
+
CHANNEL_TYPE["BROADCAST"] = "broadcast";
|
|
10
10
|
})(CHANNEL_TYPE || (CHANNEL_TYPE = {}));
|
|
11
11
|
|
|
12
|
-
var CreateChannelContext = React__default.createContext(undefined);
|
|
13
|
-
var CreateChannelProvider = function (props) {
|
|
14
|
-
var _a;
|
|
15
|
-
var children = props.children, onCreateChannelClick = props.onCreateChannelClick, onBeforeCreateChannel = props.onBeforeCreateChannel, onChannelCreated = props.onChannelCreated, userListQuery = props.userListQuery, onCreateChannel = props.onCreateChannel, overrideInviteUser = props.overrideInviteUser;
|
|
16
|
-
var store = useSendbirdStateContext();
|
|
17
|
-
var _userListQuery = userListQuery !== null && userListQuery !== void 0 ? userListQuery : (_a = store === null || store === void 0 ? void 0 : store.config) === null || _a === void 0 ? void 0 : _a.userListQuery;
|
|
18
|
-
var _b = useState(0), step = _b[0], setStep = _b[1];
|
|
19
|
-
var _c = useState(CHANNEL_TYPE.GROUP), type = _c[0], setType = _c[1];
|
|
20
|
-
return (React__default.createElement(CreateChannelContext.Provider, { value: {
|
|
21
|
-
createChannel: getCreateGroupChannel(store),
|
|
22
|
-
onCreateChannelClick: onCreateChannelClick,
|
|
23
|
-
onBeforeCreateChannel: onBeforeCreateChannel,
|
|
24
|
-
onChannelCreated: onChannelCreated,
|
|
25
|
-
userListQuery: _userListQuery,
|
|
26
|
-
step: step,
|
|
27
|
-
setStep: setStep,
|
|
28
|
-
type: type,
|
|
29
|
-
setType: setType,
|
|
30
|
-
onCreateChannel: onCreateChannel,
|
|
31
|
-
overrideInviteUser: overrideInviteUser,
|
|
32
|
-
} }, children));
|
|
33
|
-
};
|
|
12
|
+
var CreateChannelContext = React__default.createContext(undefined);
|
|
13
|
+
var CreateChannelProvider = function (props) {
|
|
14
|
+
var _a;
|
|
15
|
+
var children = props.children, onCreateChannelClick = props.onCreateChannelClick, onBeforeCreateChannel = props.onBeforeCreateChannel, onChannelCreated = props.onChannelCreated, userListQuery = props.userListQuery, onCreateChannel = props.onCreateChannel, overrideInviteUser = props.overrideInviteUser;
|
|
16
|
+
var store = useSendbirdStateContext();
|
|
17
|
+
var _userListQuery = userListQuery !== null && userListQuery !== void 0 ? userListQuery : (_a = store === null || store === void 0 ? void 0 : store.config) === null || _a === void 0 ? void 0 : _a.userListQuery;
|
|
18
|
+
var _b = useState(0), step = _b[0], setStep = _b[1];
|
|
19
|
+
var _c = useState(CHANNEL_TYPE.GROUP), type = _c[0], setType = _c[1];
|
|
20
|
+
return (React__default.createElement(CreateChannelContext.Provider, { value: {
|
|
21
|
+
createChannel: getCreateGroupChannel(store),
|
|
22
|
+
onCreateChannelClick: onCreateChannelClick,
|
|
23
|
+
onBeforeCreateChannel: onBeforeCreateChannel,
|
|
24
|
+
onChannelCreated: onChannelCreated,
|
|
25
|
+
userListQuery: _userListQuery,
|
|
26
|
+
step: step,
|
|
27
|
+
setStep: setStep,
|
|
28
|
+
type: type,
|
|
29
|
+
setType: setType,
|
|
30
|
+
onCreateChannel: onCreateChannel,
|
|
31
|
+
overrideInviteUser: overrideInviteUser,
|
|
32
|
+
} }, children));
|
|
33
|
+
};
|
|
34
34
|
var useCreateChannelContext = function () { return (React__default.useContext(CreateChannelContext)); };
|
|
35
35
|
|
|
36
36
|
export { CreateChannelProvider as C, CHANNEL_TYPE as a, useCreateChannelContext as u };
|
|
37
|
-
//# sourceMappingURL=bundle-
|
|
37
|
+
//# sourceMappingURL=bundle-iA2l_iD3.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-iA2l_iD3.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
function getComponentKeyFromMessage(message) {
|
|
2
|
-
if ('sendingStatus' in message) {
|
|
3
|
-
if (message.sendingStatus === 'succeeded')
|
|
4
|
-
return String(message.messageId);
|
|
5
|
-
return message.reqId;
|
|
6
|
-
}
|
|
7
|
-
return String(message.messageId);
|
|
8
|
-
}
|
|
9
|
-
function isContextMenuClosed() {
|
|
10
|
-
var _a, _b;
|
|
11
|
-
return (((_a = document.getElementById('sendbird-dropdown-portal')) === null || _a === void 0 ? void 0 : _a.childElementCount) === 0
|
|
12
|
-
&& ((_b = document.getElementById('sendbird-emoji-list-portal')) === null || _b === void 0 ? void 0 : _b.childElementCount) === 0);
|
|
13
|
-
}
|
|
14
|
-
function getMessageTopOffset(messageCreatedAt) {
|
|
15
|
-
var _a;
|
|
16
|
-
var element = (_a = document.querySelectorAll("[data-sb-created-at=\"".concat(messageCreatedAt, "\"]"))) === null || _a === void 0 ? void 0 : _a[0];
|
|
17
|
-
if (element instanceof HTMLElement) {
|
|
18
|
-
return element.offsetTop;
|
|
19
|
-
}
|
|
20
|
-
return null;
|
|
21
|
-
}
|
|
22
|
-
var isDisabledBecauseFrozen = function (groupChannel) {
|
|
23
|
-
if (!groupChannel)
|
|
24
|
-
return false;
|
|
25
|
-
return groupChannel.isFrozen && groupChannel.myRole !== 'operator';
|
|
26
|
-
};
|
|
27
|
-
var isDisabledBecauseMuted = function (groupChannel) {
|
|
28
|
-
if (!groupChannel)
|
|
29
|
-
return false;
|
|
30
|
-
return groupChannel.myMutedState === 'muted';
|
|
1
|
+
function getComponentKeyFromMessage(message) {
|
|
2
|
+
if ('sendingStatus' in message) {
|
|
3
|
+
if (message.sendingStatus === 'succeeded')
|
|
4
|
+
return String(message.messageId);
|
|
5
|
+
return message.reqId;
|
|
6
|
+
}
|
|
7
|
+
return String(message.messageId);
|
|
8
|
+
}
|
|
9
|
+
function isContextMenuClosed() {
|
|
10
|
+
var _a, _b;
|
|
11
|
+
return (((_a = document.getElementById('sendbird-dropdown-portal')) === null || _a === void 0 ? void 0 : _a.childElementCount) === 0
|
|
12
|
+
&& ((_b = document.getElementById('sendbird-emoji-list-portal')) === null || _b === void 0 ? void 0 : _b.childElementCount) === 0);
|
|
13
|
+
}
|
|
14
|
+
function getMessageTopOffset(messageCreatedAt) {
|
|
15
|
+
var _a;
|
|
16
|
+
var element = (_a = document.querySelectorAll("[data-sb-created-at=\"".concat(messageCreatedAt, "\"]"))) === null || _a === void 0 ? void 0 : _a[0];
|
|
17
|
+
if (element instanceof HTMLElement) {
|
|
18
|
+
return element.offsetTop;
|
|
19
|
+
}
|
|
20
|
+
return null;
|
|
21
|
+
}
|
|
22
|
+
var isDisabledBecauseFrozen = function (groupChannel) {
|
|
23
|
+
if (!groupChannel)
|
|
24
|
+
return false;
|
|
25
|
+
return groupChannel.isFrozen && groupChannel.myRole !== 'operator';
|
|
26
|
+
};
|
|
27
|
+
var isDisabledBecauseMuted = function (groupChannel) {
|
|
28
|
+
if (!groupChannel)
|
|
29
|
+
return false;
|
|
30
|
+
return groupChannel.myMutedState === 'muted';
|
|
31
31
|
};
|
|
32
32
|
|
|
33
33
|
export { isDisabledBecauseMuted as a, isContextMenuClosed as b, getMessageTopOffset as c, getComponentKeyFromMessage as g, isDisabledBecauseFrozen as i };
|
|
34
|
-
//# sourceMappingURL=bundle-
|
|
34
|
+
//# sourceMappingURL=bundle-klvZ-YE5.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-klvZ-YE5.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,85 +1,84 @@
|
|
|
1
|
-
import { c as __spreadArray } from './bundle-
|
|
2
|
-
import React__default from 'react';
|
|
3
|
-
import { g as getStringSet } from './bundle-
|
|
1
|
+
import { c as __spreadArray } from './bundle-CDy_GVNR.js';
|
|
2
|
+
import React__default, { forwardRef } from 'react';
|
|
3
|
+
import { g as getStringSet } from './bundle-B621kS6J.js';
|
|
4
4
|
|
|
5
|
-
var Typography = {
|
|
6
|
-
H_1: 'H_1',
|
|
7
|
-
H_2: 'H_2',
|
|
8
|
-
SUBTITLE_1: 'SUBTITLE_1',
|
|
9
|
-
SUBTITLE_2: 'SUBTITLE_2',
|
|
10
|
-
BODY_1: 'BODY_1',
|
|
11
|
-
BODY_2: 'BODY_2',
|
|
12
|
-
BUTTON_1: 'BUTTON_1',
|
|
13
|
-
BUTTON_2: 'BUTTON_2',
|
|
14
|
-
BUTTON_3: 'BUTTON_3',
|
|
15
|
-
CAPTION_1: 'CAPTION_1',
|
|
16
|
-
CAPTION_2: 'CAPTION_2',
|
|
17
|
-
CAPTION_3: 'CAPTION_3',
|
|
18
|
-
};
|
|
19
|
-
var Colors = {
|
|
20
|
-
ONBACKGROUND_1: 'ONBACKGROUND_1',
|
|
21
|
-
ONBACKGROUND_2: 'ONBACKGROUND_2',
|
|
22
|
-
ONBACKGROUND_3: 'ONBACKGROUND_3',
|
|
23
|
-
ONBACKGROUND_4: 'ONBACKGROUND_4',
|
|
24
|
-
ONCONTENT_1: 'ONCONTENT_1',
|
|
25
|
-
ONCONTENT_2: 'ONCONTENT_2',
|
|
26
|
-
ONCONTENT_INVERSE_1: 'ONCONTENT_INVERSE_1',
|
|
27
|
-
ONCONTENT_INVERSE_5: 'ONCONTENT_INVERSE_5',
|
|
28
|
-
PRIMARY: 'PRIMARY',
|
|
29
|
-
ERROR: 'ERROR',
|
|
30
|
-
SECONDARY_3: 'SECONDARY_3',
|
|
5
|
+
var Typography = {
|
|
6
|
+
H_1: 'H_1',
|
|
7
|
+
H_2: 'H_2',
|
|
8
|
+
SUBTITLE_1: 'SUBTITLE_1',
|
|
9
|
+
SUBTITLE_2: 'SUBTITLE_2',
|
|
10
|
+
BODY_1: 'BODY_1',
|
|
11
|
+
BODY_2: 'BODY_2',
|
|
12
|
+
BUTTON_1: 'BUTTON_1',
|
|
13
|
+
BUTTON_2: 'BUTTON_2',
|
|
14
|
+
BUTTON_3: 'BUTTON_3',
|
|
15
|
+
CAPTION_1: 'CAPTION_1',
|
|
16
|
+
CAPTION_2: 'CAPTION_2',
|
|
17
|
+
CAPTION_3: 'CAPTION_3',
|
|
18
|
+
};
|
|
19
|
+
var Colors = {
|
|
20
|
+
ONBACKGROUND_1: 'ONBACKGROUND_1',
|
|
21
|
+
ONBACKGROUND_2: 'ONBACKGROUND_2',
|
|
22
|
+
ONBACKGROUND_3: 'ONBACKGROUND_3',
|
|
23
|
+
ONBACKGROUND_4: 'ONBACKGROUND_4',
|
|
24
|
+
ONCONTENT_1: 'ONCONTENT_1',
|
|
25
|
+
ONCONTENT_2: 'ONCONTENT_2',
|
|
26
|
+
ONCONTENT_INVERSE_1: 'ONCONTENT_INVERSE_1',
|
|
27
|
+
ONCONTENT_INVERSE_5: 'ONCONTENT_INVERSE_5',
|
|
28
|
+
PRIMARY: 'PRIMARY',
|
|
29
|
+
ERROR: 'ERROR',
|
|
30
|
+
SECONDARY_3: 'SECONDARY_3',
|
|
31
31
|
};
|
|
32
32
|
|
|
33
|
-
function changeTypographyToClassName(type) {
|
|
34
|
-
switch (type) {
|
|
35
|
-
case Typography.H_1: return 'sendbird-label--h-1';
|
|
36
|
-
case Typography.H_2: return 'sendbird-label--h-2';
|
|
37
|
-
case Typography.SUBTITLE_1: return 'sendbird-label--subtitle-1';
|
|
38
|
-
case Typography.SUBTITLE_2: return 'sendbird-label--subtitle-2';
|
|
39
|
-
case Typography.BODY_1: return 'sendbird-label--body-1';
|
|
40
|
-
case Typography.BODY_2: return 'sendbird-label--body-2';
|
|
41
|
-
case Typography.BUTTON_1: return 'sendbird-label--button-1';
|
|
42
|
-
case Typography.BUTTON_2: return 'sendbird-label--button-2';
|
|
43
|
-
case Typography.BUTTON_3: return 'sendbird-label--button-3';
|
|
44
|
-
case Typography.CAPTION_1: return 'sendbird-label--caption-1';
|
|
45
|
-
case Typography.CAPTION_2: return 'sendbird-label--caption-2';
|
|
46
|
-
case Typography.CAPTION_3: return 'sendbird-label--caption-3';
|
|
47
|
-
default: return '';
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
function changeColorToClassName(color) {
|
|
51
|
-
switch (color) {
|
|
52
|
-
case Colors.ONBACKGROUND_1: return 'sendbird-label--color-onbackground-1';
|
|
53
|
-
case Colors.ONBACKGROUND_2: return 'sendbird-label--color-onbackground-2';
|
|
54
|
-
case Colors.ONBACKGROUND_3: return 'sendbird-label--color-onbackground-3';
|
|
55
|
-
case Colors.ONBACKGROUND_4: return 'sendbird-label--color-onbackground-4';
|
|
56
|
-
case Colors.ONCONTENT_1: return 'sendbird-label--color-oncontent-1';
|
|
57
|
-
case Colors.ONCONTENT_2: return 'sendbird-label--color-oncontent-2';
|
|
58
|
-
case Colors.ONCONTENT_INVERSE_1: return 'sendbird-label--color-oncontent-inverse-1';
|
|
59
|
-
case Colors.ONCONTENT_INVERSE_5: return 'sendbird-label--color-oncontent-inverse-5';
|
|
60
|
-
case Colors.PRIMARY: return 'sendbird-label--color-primary'; // should be Primary-3 fix me
|
|
61
|
-
case Colors.ERROR: return 'sendbird-label--color-error';
|
|
62
|
-
case Colors.SECONDARY_3: return 'sendbird-label--color-secondary-3';
|
|
63
|
-
default: return '';
|
|
64
|
-
}
|
|
33
|
+
function changeTypographyToClassName(type) {
|
|
34
|
+
switch (type) {
|
|
35
|
+
case Typography.H_1: return 'sendbird-label--h-1';
|
|
36
|
+
case Typography.H_2: return 'sendbird-label--h-2';
|
|
37
|
+
case Typography.SUBTITLE_1: return 'sendbird-label--subtitle-1';
|
|
38
|
+
case Typography.SUBTITLE_2: return 'sendbird-label--subtitle-2';
|
|
39
|
+
case Typography.BODY_1: return 'sendbird-label--body-1';
|
|
40
|
+
case Typography.BODY_2: return 'sendbird-label--body-2';
|
|
41
|
+
case Typography.BUTTON_1: return 'sendbird-label--button-1';
|
|
42
|
+
case Typography.BUTTON_2: return 'sendbird-label--button-2';
|
|
43
|
+
case Typography.BUTTON_3: return 'sendbird-label--button-3';
|
|
44
|
+
case Typography.CAPTION_1: return 'sendbird-label--caption-1';
|
|
45
|
+
case Typography.CAPTION_2: return 'sendbird-label--caption-2';
|
|
46
|
+
case Typography.CAPTION_3: return 'sendbird-label--caption-3';
|
|
47
|
+
default: return '';
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
function changeColorToClassName(color) {
|
|
51
|
+
switch (color) {
|
|
52
|
+
case Colors.ONBACKGROUND_1: return 'sendbird-label--color-onbackground-1';
|
|
53
|
+
case Colors.ONBACKGROUND_2: return 'sendbird-label--color-onbackground-2';
|
|
54
|
+
case Colors.ONBACKGROUND_3: return 'sendbird-label--color-onbackground-3';
|
|
55
|
+
case Colors.ONBACKGROUND_4: return 'sendbird-label--color-onbackground-4';
|
|
56
|
+
case Colors.ONCONTENT_1: return 'sendbird-label--color-oncontent-1';
|
|
57
|
+
case Colors.ONCONTENT_2: return 'sendbird-label--color-oncontent-2';
|
|
58
|
+
case Colors.ONCONTENT_INVERSE_1: return 'sendbird-label--color-oncontent-inverse-1';
|
|
59
|
+
case Colors.ONCONTENT_INVERSE_5: return 'sendbird-label--color-oncontent-inverse-5';
|
|
60
|
+
case Colors.PRIMARY: return 'sendbird-label--color-primary'; // should be Primary-3 fix me
|
|
61
|
+
case Colors.ERROR: return 'sendbird-label--color-error';
|
|
62
|
+
case Colors.SECONDARY_3: return 'sendbird-label--color-secondary-3';
|
|
63
|
+
default: return '';
|
|
64
|
+
}
|
|
65
65
|
}
|
|
66
66
|
|
|
67
|
-
|
|
68
|
-
var _b = _a.className, className = _b === void 0 ? [] : _b, type = _a.type, color = _a.color, _c = _a.children, children = _c === void 0 ? null : _c;
|
|
69
|
-
return (
|
|
70
|
-
// Donot make this into div
|
|
71
|
-
// Mention uses Label. If we use div, it would break the mention detection on Paste
|
|
72
|
-
// https://github.com/sendbird/sendbird-uikit-react/pull/479
|
|
73
|
-
React__default.createElement("span", { className: __spreadArray(__spreadArray([], (Array.isArray(className) ? className : [className]), true), [
|
|
74
|
-
'sendbird-label',
|
|
75
|
-
changeTypographyToClassName(type),
|
|
76
|
-
changeColorToClassName(color),
|
|
77
|
-
], false).join(' '), ref: ref }, children));
|
|
78
|
-
}
|
|
79
|
-
var LabelTypography = Typography;
|
|
80
|
-
var LabelColors = Colors;
|
|
81
|
-
var LabelStringSet = getStringSet('en');
|
|
82
|
-
var Label$1 = React__default.forwardRef(Label);
|
|
67
|
+
var Label = forwardRef(function (_a, ref) {
|
|
68
|
+
var _b = _a.className, className = _b === void 0 ? [] : _b, type = _a.type, color = _a.color, _c = _a.children, children = _c === void 0 ? null : _c;
|
|
69
|
+
return (
|
|
70
|
+
// Donot make this into div
|
|
71
|
+
// Mention uses Label. If we use div, it would break the mention detection on Paste
|
|
72
|
+
// https://github.com/sendbird/sendbird-uikit-react/pull/479
|
|
73
|
+
React__default.createElement("span", { className: __spreadArray(__spreadArray([], (Array.isArray(className) ? className : [className]), true), [
|
|
74
|
+
'sendbird-label',
|
|
75
|
+
changeTypographyToClassName(type),
|
|
76
|
+
changeColorToClassName(color),
|
|
77
|
+
], false).join(' '), ref: ref }, children));
|
|
78
|
+
});
|
|
79
|
+
var LabelTypography = Typography;
|
|
80
|
+
var LabelColors = Colors;
|
|
81
|
+
var LabelStringSet = getStringSet('en');
|
|
83
82
|
|
|
84
|
-
export { Label
|
|
85
|
-
//# sourceMappingURL=bundle-
|
|
83
|
+
export { Label as L, LabelTypography as a, LabelColors as b, LabelStringSet as c, changeColorToClassName as d };
|
|
84
|
+
//# sourceMappingURL=bundle-q3jyuKU7.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-q3jyuKU7.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|