@sendbird/uikit-react 3.15.13 → 3.15.14-rc
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 +115 -270
- package/App.js.map +1 -1
- package/CHANGELOG.md +39 -0
- package/Channel/components/ChannelHeader.js +32 -40
- package/Channel/components/ChannelHeader.js.map +1 -1
- package/Channel/components/ChannelUI.js +77 -76
- package/Channel/components/ChannelUI.js.map +1 -1
- package/Channel/components/FileViewer.js +31 -35
- package/Channel/components/FileViewer.js.map +1 -1
- package/Channel/components/FrozenNotification.js +6 -5
- package/Channel/components/FrozenNotification.js.map +1 -1
- package/Channel/components/Message.js +68 -67
- package/Channel/components/Message.js.map +1 -1
- package/Channel/components/MessageInput.js +48 -50
- package/Channel/components/MessageInput.js.map +1 -1
- package/Channel/components/MessageInputWrapper.js +48 -50
- package/Channel/components/MessageInputWrapper.js.map +1 -1
- package/Channel/components/MessageList.js +74 -70
- package/Channel/components/MessageList.js.map +1 -1
- package/Channel/components/RemoveMessageModal.js +31 -36
- package/Channel/components/RemoveMessageModal.js.map +1 -1
- package/Channel/components/SuggestedMentionList.js +31 -41
- package/Channel/components/SuggestedMentionList.js.map +1 -1
- package/Channel/components/TypingIndicator.js +11 -7
- package/Channel/components/TypingIndicator.js.map +1 -1
- package/Channel/components/UnreadCount.js +8 -7
- package/Channel/components/UnreadCount.js.map +1 -1
- package/Channel/context.js +71 -39
- package/Channel/context.js.map +1 -1
- package/Channel/hooks/useHandleUploadFiles.js +20 -22
- package/Channel/hooks/useHandleUploadFiles.js.map +1 -1
- package/Channel/hooks/useInitialMessagesFetch.js +8 -8
- package/Channel/utils/compareMessagesForGrouping.js +16 -18
- package/Channel/utils/compareMessagesForGrouping.js.map +1 -1
- package/Channel/utils/getMessagePartsInfo.js +13 -14
- package/Channel/utils/getMessagePartsInfo.js.map +1 -1
- package/Channel.js +77 -76
- package/Channel.js.map +1 -1
- package/ChannelList/components/AddChannel.js +214 -45
- package/ChannelList/components/AddChannel.js.map +1 -1
- package/ChannelList/components/ChannelListHeader.js +16 -11
- package/ChannelList/components/ChannelListHeader.js.map +1 -1
- package/ChannelList/components/ChannelListUI.js +205 -138
- package/ChannelList/components/ChannelListUI.js.map +1 -1
- package/ChannelList/components/ChannelPreview.js +39 -41
- package/ChannelList/components/ChannelPreview.js.map +1 -1
- package/ChannelList/components/ChannelPreviewAction.js +17 -18
- package/ChannelList/components/ChannelPreviewAction.js.map +1 -1
- package/ChannelList/context.js +14 -27
- package/ChannelList/context.js.map +1 -1
- package/ChannelList.js +212 -81
- package/ChannelList.js.map +1 -1
- package/ChannelSettings/components/ChannelProfile.js +28 -32
- package/ChannelSettings/components/ChannelProfile.js.map +1 -1
- package/ChannelSettings/components/ChannelSettingMenuList.js +15 -28
- package/ChannelSettings/components/ChannelSettingMenuList.js.map +1 -1
- package/ChannelSettings/components/ChannelSettingsHeader.js +16 -10
- package/ChannelSettings/components/ChannelSettingsHeader.js.map +1 -1
- package/ChannelSettings/components/ChannelSettingsMenuItem.js +2 -2
- package/ChannelSettings/components/ChannelSettingsUI.js +49 -50
- package/ChannelSettings/components/ChannelSettingsUI.js.map +1 -1
- package/ChannelSettings/components/EditDetailsModal.js +23 -31
- package/ChannelSettings/components/EditDetailsModal.js.map +1 -1
- package/ChannelSettings/components/LeaveChannel.js +25 -28
- package/ChannelSettings/components/LeaveChannel.js.map +1 -1
- package/ChannelSettings/components/ModerationPanel.js +33 -33
- package/ChannelSettings/components/UserListItem.js +26 -29
- package/ChannelSettings/components/UserListItem.js.map +1 -1
- package/ChannelSettings/components/UserPanel.js +35 -35
- package/ChannelSettings/context.js +11 -173
- package/ChannelSettings/context.js.map +1 -1
- package/ChannelSettings/hooks/useMenuList.js +33 -33
- package/ChannelSettings.js +52 -52
- package/CreateChannel/components/CreateChannelUI.js +214 -45
- package/CreateChannel/components/CreateChannelUI.js.map +1 -1
- package/CreateChannel/components/InviteUsers.js +215 -153
- package/CreateChannel/components/InviteUsers.js.map +1 -1
- package/CreateChannel/components/SelectChannelType.js +216 -85
- package/CreateChannel/components/SelectChannelType.js.map +1 -1
- package/CreateChannel/context.js +221 -6
- package/CreateChannel/context.js.map +1 -1
- package/CreateChannel.js +213 -39
- package/CreateChannel.js.map +1 -1
- package/CreateOpenChannel/components/CreateOpenChannelUI.js +16 -24
- package/CreateOpenChannel/components/CreateOpenChannelUI.js.map +1 -1
- package/CreateOpenChannel/context.js +9 -4
- package/CreateOpenChannel/context.js.map +1 -1
- package/CreateOpenChannel.js +16 -24
- package/CreateOpenChannel.js.map +1 -1
- package/EditUserProfile/components/EditUserProfileUI.js +27 -35
- package/EditUserProfile/components/EditUserProfileUI.js.map +1 -1
- package/EditUserProfile/context.js +1 -1
- package/EditUserProfile.js +16 -25
- package/EditUserProfile.js.map +1 -1
- package/GroupChannel/components/FileViewer.js +34 -36
- package/GroupChannel/components/FileViewer.js.map +1 -1
- package/GroupChannel/components/FrozenNotification.js +6 -5
- package/GroupChannel/components/FrozenNotification.js.map +1 -1
- package/GroupChannel/components/GroupChannelHeader.js +31 -37
- package/GroupChannel/components/GroupChannelHeader.js.map +1 -1
- package/GroupChannel/components/GroupChannelUI.js +73 -70
- package/GroupChannel/components/GroupChannelUI.js.map +1 -1
- package/GroupChannel/components/Message.js +67 -63
- package/GroupChannel/components/Message.js.map +1 -1
- package/GroupChannel/components/MessageInputWrapper.js +49 -48
- package/GroupChannel/components/MessageInputWrapper.js.map +1 -1
- package/GroupChannel/components/MessageList.js +76 -71
- package/GroupChannel/components/MessageList.js.map +1 -1
- package/GroupChannel/components/RemoveMessageModal.js +32 -34
- package/GroupChannel/components/RemoveMessageModal.js.map +1 -1
- package/GroupChannel/components/SuggestedMentionList.js +18 -13
- package/GroupChannel/components/SuggestedMentionList.js.map +1 -1
- package/GroupChannel/components/TypingIndicator.js +14 -10
- package/GroupChannel/components/TypingIndicator.js.map +1 -1
- package/GroupChannel/components/UnreadCount.js +8 -7
- package/GroupChannel/components/UnreadCount.js.map +1 -1
- package/GroupChannel/context.js +19 -513
- package/GroupChannel/context.js.map +1 -1
- package/GroupChannel.js +71 -68
- package/GroupChannel.js.map +1 -1
- package/GroupChannelList/components/AddGroupChannel.js +214 -45
- package/GroupChannelList/components/AddGroupChannel.js.map +1 -1
- package/GroupChannelList/components/GroupChannelListHeader.js +17 -13
- package/GroupChannelList/components/GroupChannelListHeader.js.map +1 -1
- package/GroupChannelList/components/GroupChannelListItem.js +39 -40
- package/GroupChannelList/components/GroupChannelListItem.js.map +1 -1
- package/GroupChannelList/components/GroupChannelListUI.js +211 -115
- package/GroupChannelList/components/GroupChannelListUI.js.map +1 -1
- package/GroupChannelList/components/GroupChannelPreviewAction.js +18 -20
- package/GroupChannelList/components/GroupChannelPreviewAction.js.map +1 -1
- package/GroupChannelList/context.js +13 -118
- package/GroupChannelList/context.js.map +1 -1
- package/GroupChannelList.js +209 -72
- package/GroupChannelList.js.map +1 -1
- package/MessageSearch/components/MessageSearchUI.js +24 -23
- package/MessageSearch/components/MessageSearchUI.js.map +1 -1
- package/MessageSearch/context.js +9 -280
- package/MessageSearch/context.js.map +1 -1
- package/MessageSearch.js +24 -20
- package/MessageSearch.js.map +1 -1
- package/OpenChannel/components/FrozenChannelNotification.js +5 -4
- package/OpenChannel/components/FrozenChannelNotification.js.map +1 -1
- package/OpenChannel/components/OpenChannelHeader.js +23 -29
- package/OpenChannel/components/OpenChannelHeader.js.map +1 -1
- package/OpenChannel/components/OpenChannelInput.js +31 -33
- package/OpenChannel/components/OpenChannelInput.js.map +1 -1
- package/OpenChannel/components/OpenChannelMessage.js +45 -44
- package/OpenChannel/components/OpenChannelMessage.js.map +1 -1
- package/OpenChannel/components/OpenChannelMessageList.js +54 -52
- package/OpenChannel/components/OpenChannelMessageList.js.map +1 -1
- package/OpenChannel/components/OpenChannelUI.js +49 -48
- package/OpenChannel/components/OpenChannelUI.js.map +1 -1
- package/OpenChannel/context.js +21 -27
- package/OpenChannel/context.js.map +1 -1
- package/OpenChannel.js +47 -46
- package/OpenChannel.js.map +1 -1
- package/OpenChannelList/components/OpenChannelListUI.js +20 -28
- package/OpenChannelList/components/OpenChannelListUI.js.map +1 -1
- package/OpenChannelList/components/OpenChannelPreview.js +6 -6
- package/OpenChannelList/context.js +9 -5
- package/OpenChannelList/context.js.map +1 -1
- package/OpenChannelList.js +18 -26
- package/OpenChannelList.js.map +1 -1
- package/OpenChannelSettings/components/EditDetailsModal.js +23 -31
- package/OpenChannelSettings/components/EditDetailsModal.js.map +1 -1
- package/OpenChannelSettings/components/OpenChannelProfile.js +24 -32
- package/OpenChannelSettings/components/OpenChannelProfile.js.map +1 -1
- package/OpenChannelSettings/components/OpenChannelSettingsUI.js +33 -34
- package/OpenChannelSettings/components/OpenChannelSettingsUI.js.map +1 -1
- package/OpenChannelSettings/components/OperatorUI.js +37 -41
- package/OpenChannelSettings/components/OperatorUI.js.map +1 -1
- package/OpenChannelSettings/components/ParticipantUI.js +22 -23
- package/OpenChannelSettings/components/ParticipantUI.js.map +1 -1
- package/OpenChannelSettings/context.js +16 -35
- package/OpenChannelSettings/context.js.map +1 -1
- package/OpenChannelSettings.js +27 -28
- package/OpenChannelSettings.js.map +1 -1
- package/SendbirdProvider.js +486 -914
- package/SendbirdProvider.js.map +1 -1
- package/Thread/components/ParentMessageInfo.js +71 -68
- package/Thread/components/ParentMessageInfo.js.map +1 -1
- package/Thread/components/ParentMessageInfoItem.js +42 -39
- package/Thread/components/ParentMessageInfoItem.js.map +1 -1
- package/Thread/components/ThreadHeader.js +8 -7
- package/Thread/components/ThreadHeader.js.map +1 -1
- package/Thread/components/ThreadList.js +67 -63
- package/Thread/components/ThreadList.js.map +1 -1
- package/Thread/components/ThreadListItem.js +77 -76
- package/Thread/components/ThreadListItem.js.map +1 -1
- package/Thread/components/ThreadMessageInput.js +67 -67
- package/Thread/components/ThreadUI.js +74 -72
- package/Thread/components/ThreadUI.js.map +1 -1
- package/Thread/context/types.js +0 -1
- package/Thread/context/types.js.map +1 -1
- package/Thread/context.js +20 -1335
- package/Thread/context.js.map +1 -1
- package/Thread.js +70 -68
- package/Thread.js.map +1 -1
- package/VoicePlayer/context.js +9 -6
- package/VoicePlayer/context.js.map +1 -1
- package/VoicePlayer/useVoicePlayer.js +17 -22
- package/VoicePlayer/useVoicePlayer.js.map +1 -1
- package/VoiceRecorder/context.js +127 -22
- package/VoiceRecorder/context.js.map +1 -1
- package/VoiceRecorder/useVoiceRecorder.js +16 -22
- package/VoiceRecorder/useVoiceRecorder.js.map +1 -1
- package/chunks/{bundle-Dl9NVsui.js → bundle-1WicDXzs.js} +1 -1
- package/chunks/{bundle-Dl9NVsui.js.map → bundle-1WicDXzs.js.map} +1 -1
- package/chunks/{bundle-BXE5p6Kc.js → bundle-1dw3VwGW.js} +14 -13
- package/chunks/{bundle-BXE5p6Kc.js.map → bundle-1dw3VwGW.js.map} +1 -1
- package/chunks/{bundle-CDvvzlad.js → bundle-6HmJcgNR.js} +6 -5
- package/chunks/bundle-6HmJcgNR.js.map +1 -0
- package/chunks/{bundle-BAQj91eb.js → bundle-A2onzY73.js} +9 -8
- package/chunks/bundle-A2onzY73.js.map +1 -0
- package/chunks/{bundle-C6-Ix-Lk.js → bundle-B-hLTjcZ.js} +8 -7
- package/chunks/{bundle-DLlgZtQy.js.map → bundle-B-hLTjcZ.js.map} +1 -1
- package/chunks/{bundle-DfDrbjM5.js → bundle-B2hCX5Y1.js} +1 -1
- package/chunks/bundle-B2hCX5Y1.js.map +1 -0
- package/chunks/{bundle-DCX2mqfp.js → bundle-B8U-MPIR.js} +8 -22
- package/{cjs/chunks/bundle-DpyxKl7F.js.map → chunks/bundle-B8U-MPIR.js.map} +1 -1
- package/chunks/{bundle-BE58pe-0.js → bundle-B9ip9Rgs.js} +8 -8
- package/chunks/bundle-B9ip9Rgs.js.map +1 -0
- package/chunks/{bundle-5-21Jk06.js → bundle-BBTkAdNh.js} +16 -20
- package/chunks/bundle-BBTkAdNh.js.map +1 -0
- package/chunks/{bundle-DaKZZ13Y.js → bundle-BBhGk7VW.js} +1 -1
- package/chunks/bundle-BBhGk7VW.js.map +1 -0
- package/chunks/{bundle-TGosz9cX.js → bundle-BD_ok0_K.js} +1 -1
- package/chunks/bundle-BD_ok0_K.js.map +1 -0
- package/chunks/{bundle-_-FiwcfQ.js → bundle-BJw1wPlD.js} +2 -2
- package/chunks/{bundle-_-FiwcfQ.js.map → bundle-BJw1wPlD.js.map} +1 -1
- package/chunks/{bundle-Er6ifVzM.js → bundle-BMqNmFAC.js} +1 -1
- package/chunks/{bundle-Er6ifVzM.js.map → bundle-BMqNmFAC.js.map} +1 -1
- package/chunks/{bundle-Ci2fMtNJ.js → bundle-BMtR335z.js} +1 -2
- package/chunks/bundle-BMtR335z.js.map +1 -0
- package/chunks/{bundle-DWrM1EW4.js → bundle-BVQ6FvPr.js} +4 -4
- package/chunks/bundle-BVQ6FvPr.js.map +1 -0
- package/chunks/{bundle-DUTyBaXr.js → bundle-BY9oUVFG.js} +7 -2
- package/chunks/bundle-BY9oUVFG.js.map +1 -0
- package/chunks/{bundle-Deel9XzY.js → bundle-B_2pLVhC.js} +3 -3
- package/chunks/bundle-B_2pLVhC.js.map +1 -0
- package/chunks/bundle-BdjfIRue.js +24 -0
- package/chunks/bundle-BdjfIRue.js.map +1 -0
- package/chunks/{bundle-gQ2a8Eki.js → bundle-Bkbt9_K2.js} +4 -19
- package/chunks/bundle-Bkbt9_K2.js.map +1 -0
- package/chunks/bundle-BlijUxQw.js +38 -0
- package/chunks/bundle-BlijUxQw.js.map +1 -0
- package/chunks/{bundle-BFqR1X1Q.js → bundle-BneAvNJ6.js} +1 -1
- package/chunks/bundle-BneAvNJ6.js.map +1 -0
- package/chunks/bundle-BqSIw_8a.js +740 -0
- package/chunks/bundle-BqSIw_8a.js.map +1 -0
- package/chunks/{bundle-ryUmMhVP.js → bundle-ByVGO6Cn.js} +1 -1
- package/chunks/{bundle-ryUmMhVP.js.map → bundle-ByVGO6Cn.js.map} +1 -1
- package/chunks/{bundle-DkviGBGz.js → bundle-BznbvczW.js} +2 -2
- package/chunks/bundle-BznbvczW.js.map +1 -0
- package/chunks/{bundle-Dpdq7qeD.js → bundle-C-JPnBnR.js} +1 -1
- package/chunks/bundle-C-JPnBnR.js.map +1 -0
- package/chunks/{bundle-DrHsf0sP.js → bundle-C-rvXpNA.js} +4 -4
- package/chunks/bundle-C-rvXpNA.js.map +1 -0
- package/chunks/{bundle-90vsNbxW.js → bundle-C-yTkyP0.js} +1 -1
- package/chunks/bundle-C-yTkyP0.js.map +1 -0
- package/chunks/{bundle-CDjVXDOc.js → bundle-C1ncZUjl.js} +1 -1
- package/chunks/bundle-C1ncZUjl.js.map +1 -0
- package/chunks/{bundle-JYgg9UJ5.js → bundle-C9ITO9KN.js} +23 -23
- package/chunks/{bundle-JYgg9UJ5.js.map → bundle-C9ITO9KN.js.map} +1 -1
- package/chunks/{bundle-DRyEkedz.js → bundle-CAUVIS8U.js} +28 -24
- package/chunks/{bundle-DRyEkedz.js.map → bundle-CAUVIS8U.js.map} +1 -1
- package/chunks/{bundle-eYHtE5ry.js → bundle-CCC20GHQ.js} +3 -3
- package/chunks/bundle-CCC20GHQ.js.map +1 -0
- package/chunks/bundle-CClknHGO.js +4 -0
- package/chunks/bundle-CClknHGO.js.map +1 -0
- package/chunks/{bundle-yLTgHCRG.js → bundle-CDRwx6ov.js} +2 -2
- package/chunks/{bundle-yLTgHCRG.js.map → bundle-CDRwx6ov.js.map} +1 -1
- package/chunks/bundle-CDp-g5XU.js +257 -0
- package/chunks/{bundle-DCX2mqfp.js.map → bundle-CDp-g5XU.js.map} +1 -1
- package/chunks/{bundle-Dvg19muo.js → bundle-CFIe1TQh.js} +6 -6
- package/chunks/bundle-CFIe1TQh.js.map +1 -0
- package/chunks/{bundle-CZsW3iP9.js → bundle-CL4aee1v.js} +2 -2
- package/chunks/bundle-CL4aee1v.js.map +1 -0
- package/chunks/{bundle-D5-VMB5f.js → bundle-CPrxIh9y.js} +13 -12
- package/chunks/{bundle-D5-VMB5f.js.map → bundle-CPrxIh9y.js.map} +1 -1
- package/chunks/bundle-CQ2tpjBC.js +65 -0
- package/chunks/bundle-CQ2tpjBC.js.map +1 -0
- package/chunks/{bundle-BMygDCXK.js → bundle-CQrtVJsS.js} +1 -1
- package/chunks/bundle-CQrtVJsS.js.map +1 -0
- package/chunks/{bundle-LWpHaUiZ.js → bundle-CSXuv4Bd.js} +9 -7
- package/chunks/bundle-CSXuv4Bd.js.map +1 -0
- package/chunks/{bundle-CLonR-iH.js → bundle-CT9lv9jW.js} +8 -7
- package/chunks/{bundle-CLonR-iH.js.map → bundle-CT9lv9jW.js.map} +1 -1
- package/chunks/bundle-CUrIGyMS.js +661 -0
- package/chunks/bundle-CUrIGyMS.js.map +1 -0
- package/chunks/{bundle-MkyS3j4-.js → bundle-CdizyEdk.js} +1 -1
- package/chunks/bundle-CdizyEdk.js.map +1 -0
- package/chunks/{bundle-BBowfNDO.js → bundle-CfElKzoM.js} +1 -1
- package/chunks/bundle-CfElKzoM.js.map +1 -0
- package/chunks/{bundle-Cq6wCLlD.js → bundle-CgYA6f2I.js} +15 -15
- package/chunks/{bundle-Cq6wCLlD.js.map → bundle-CgYA6f2I.js.map} +1 -1
- package/chunks/{bundle-C7jYHvwG.js → bundle-Cj5_JUGB.js} +2 -2
- package/chunks/{bundle-C7jYHvwG.js.map → bundle-Cj5_JUGB.js.map} +1 -1
- package/chunks/{bundle-3aUfVJHj.js → bundle-ClwW4Dg-.js} +8 -9
- package/chunks/bundle-ClwW4Dg-.js.map +1 -0
- package/chunks/{bundle-Crm9sJrW.js → bundle-CrfqwS86.js} +8 -8
- package/chunks/{bundle-Crm9sJrW.js.map → bundle-CrfqwS86.js.map} +1 -1
- package/chunks/{bundle-CMuwfYDs.js → bundle-CuNiKKod.js} +17 -17
- package/chunks/{bundle-CMuwfYDs.js.map → bundle-CuNiKKod.js.map} +1 -1
- package/chunks/{bundle-DjgT6gu4.js → bundle-Cui2dEHn.js} +1 -1
- package/chunks/bundle-Cui2dEHn.js.map +1 -0
- package/chunks/{bundle-V4PrrT67.js → bundle-CvS9hHiN.js} +13 -13
- package/chunks/bundle-CvS9hHiN.js.map +1 -0
- package/chunks/{bundle-LPNnEgGp.js → bundle-CwlHaxRY.js} +1 -1
- package/chunks/bundle-CwlHaxRY.js.map +1 -0
- package/chunks/{bundle-DImSV9VW.js → bundle-CyiL7cM0.js} +3 -3
- package/chunks/bundle-CyiL7cM0.js.map +1 -0
- package/chunks/{bundle-CbEyAimK.js → bundle-CyrtxrpV.js} +4 -4
- package/chunks/bundle-CyrtxrpV.js.map +1 -0
- package/chunks/bundle-CzQv-JhI.js +9 -0
- package/chunks/bundle-CzQv-JhI.js.map +1 -0
- package/chunks/{bundle-B2dhmpsj.js → bundle-D1dUz9rt.js} +14 -14
- package/chunks/{bundle-B2dhmpsj.js.map → bundle-D1dUz9rt.js.map} +1 -1
- package/chunks/{bundle-BH8ohfFx.js → bundle-D5jjox7Q.js} +8 -8
- package/chunks/{bundle-BH8ohfFx.js.map → bundle-D5jjox7Q.js.map} +1 -1
- package/chunks/{bundle-BL_0pgq0.js → bundle-D7RFGuQj.js} +17 -16
- package/chunks/{bundle-BL_0pgq0.js.map → bundle-D7RFGuQj.js.map} +1 -1
- package/chunks/{bundle-4W3uBGU3.js → bundle-D9R7Jiqe.js} +1 -1
- package/chunks/bundle-D9R7Jiqe.js.map +1 -0
- package/chunks/bundle-DCVn-5-M.js +209 -0
- package/chunks/bundle-DCVn-5-M.js.map +1 -0
- package/chunks/bundle-DFLinAbj.js +12 -0
- package/chunks/bundle-DFLinAbj.js.map +1 -0
- package/chunks/{bundle-BI2YMBw_.js → bundle-DG6u-bEo.js} +60 -6
- package/chunks/bundle-DG6u-bEo.js.map +1 -0
- package/chunks/{bundle-C1U8wE49.js → bundle-DGW9ZhNd.js} +2 -2
- package/chunks/bundle-DGW9ZhNd.js.map +1 -0
- package/chunks/{bundle-BiPxcZtH.js → bundle-DMhVPx55.js} +1 -1
- package/chunks/bundle-DMhVPx55.js.map +1 -0
- package/chunks/{bundle-2kzSicIw.js → bundle-DTsnEKas.js} +3 -3
- package/chunks/{bundle-2kzSicIw.js.map → bundle-DTsnEKas.js.map} +1 -1
- package/chunks/bundle-DYlj08ur.js +1108 -0
- package/chunks/bundle-DYlj08ur.js.map +1 -0
- package/chunks/{bundle-DYeeW5nS.js → bundle-DbJ8lyIW.js} +7 -14
- package/chunks/bundle-DbJ8lyIW.js.map +1 -0
- package/chunks/{bundle-Bzt5nDi4.js → bundle-DbWSwWAr.js} +4 -4
- package/chunks/{bundle-Bzt5nDi4.js.map → bundle-DbWSwWAr.js.map} +1 -1
- package/chunks/{bundle-BeUKuH7h.js → bundle-Dg1G5COD.js} +3 -3
- package/chunks/{bundle-BeUKuH7h.js.map → bundle-Dg1G5COD.js.map} +1 -1
- package/chunks/{bundle-CcHvUx-a.js → bundle-DloA6aeM.js} +11 -10
- package/chunks/{bundle-CcHvUx-a.js.map → bundle-DloA6aeM.js.map} +1 -1
- package/chunks/{bundle-P-vXuw8U.js → bundle-DqDF0kxo.js} +1 -1
- package/chunks/bundle-DqDF0kxo.js.map +1 -0
- package/chunks/{bundle-k6zcGkBp.js → bundle-Dw8813nX.js} +4 -4
- package/chunks/bundle-Dw8813nX.js.map +1 -0
- package/chunks/{bundle-BP1CB0js.js → bundle-DwSHHkPT.js} +1 -1
- package/chunks/bundle-DwSHHkPT.js.map +1 -0
- package/chunks/{bundle-pOZPN8hk.js → bundle-DxxvrMQI.js} +1 -1
- package/chunks/{bundle-pOZPN8hk.js.map → bundle-DxxvrMQI.js.map} +1 -1
- package/chunks/{bundle-C9dF4QVS.js → bundle-DyUM-cLB.js} +1 -1
- package/chunks/bundle-DyUM-cLB.js.map +1 -0
- package/chunks/{bundle-BP1DBRft.js → bundle-HWQAzYJv.js} +5 -5
- package/chunks/{bundle-BP1DBRft.js.map → bundle-HWQAzYJv.js.map} +1 -1
- package/chunks/{bundle-DLlgZtQy.js → bundle-I8q8yCrt.js} +5 -5
- package/{cjs/chunks/bundle-DUanoG7J.js.map → chunks/bundle-I8q8yCrt.js.map} +1 -1
- package/chunks/{bundle-CzdrQ_Yq.js → bundle-IJCJg91y.js} +1 -1
- package/chunks/bundle-IJCJg91y.js.map +1 -0
- package/chunks/bundle-JsdOq6pg.js +260 -0
- package/chunks/bundle-JsdOq6pg.js.map +1 -0
- package/{cjs/chunks/bundle-DE5YH8Q-.js → chunks/bundle-KQc1NYs1.js} +2 -32
- package/chunks/{bundle-CIN9yQRB.js.map → bundle-KQc1NYs1.js.map} +1 -1
- package/chunks/{bundle-BR3O1lZq.js → bundle-RBoKRbHz.js} +1 -1
- package/chunks/bundle-RBoKRbHz.js.map +1 -0
- package/chunks/{bundle-DCbJaskZ.js → bundle-c5KbzTiA.js} +3 -2
- package/chunks/bundle-c5KbzTiA.js.map +1 -0
- package/chunks/{bundle-Dskg5qjd.js → bundle-eHS4YF9i.js} +1 -1
- package/chunks/bundle-eHS4YF9i.js.map +1 -0
- package/chunks/bundle-hj-JCZtT.js +149 -0
- package/chunks/bundle-hj-JCZtT.js.map +1 -0
- package/chunks/{bundle-DvcOxLrR.js → bundle-i9LnR1n4.js} +3 -3
- package/chunks/bundle-i9LnR1n4.js.map +1 -0
- package/chunks/{bundle-CJBs1h8R.js → bundle-jlClj1B3.js} +16 -16
- package/chunks/{bundle-CJBs1h8R.js.map → bundle-jlClj1B3.js.map} +1 -1
- package/chunks/{bundle-jw_xHmHg.js → bundle-k2A_Dplg.js} +3 -2
- package/chunks/bundle-k2A_Dplg.js.map +1 -0
- package/chunks/bundle-m1et25Jg.js +2920 -0
- package/chunks/bundle-m1et25Jg.js.map +1 -0
- package/chunks/bundle-t7Yx3Waq.js +190 -0
- package/chunks/bundle-t7Yx3Waq.js.map +1 -0
- package/chunks/{bundle-CTE4m7bC.js → bundle-ur8S4QkK.js} +5 -5
- package/chunks/{bundle-CTE4m7bC.js.map → bundle-ur8S4QkK.js.map} +1 -1
- package/chunks/{bundle-_sFl37fA.js → bundle-zZfVGvhn.js} +6 -7
- package/{cjs/chunks/bundle-ChVeqDIG.js.map → chunks/bundle-zZfVGvhn.js.map} +1 -1
- package/cjs/App.js +116 -271
- package/cjs/App.js.map +1 -1
- package/cjs/Channel/components/ChannelHeader.js +32 -40
- package/cjs/Channel/components/ChannelHeader.js.map +1 -1
- package/cjs/Channel/components/ChannelUI.js +77 -76
- package/cjs/Channel/components/ChannelUI.js.map +1 -1
- package/cjs/Channel/components/FileViewer.js +31 -35
- package/cjs/Channel/components/FileViewer.js.map +1 -1
- package/cjs/Channel/components/FrozenNotification.js +6 -5
- package/cjs/Channel/components/FrozenNotification.js.map +1 -1
- package/cjs/Channel/components/Message.js +68 -67
- package/cjs/Channel/components/Message.js.map +1 -1
- package/cjs/Channel/components/MessageInput.js +48 -50
- package/cjs/Channel/components/MessageInput.js.map +1 -1
- package/cjs/Channel/components/MessageInputWrapper.js +48 -50
- package/cjs/Channel/components/MessageInputWrapper.js.map +1 -1
- package/cjs/Channel/components/MessageList.js +74 -70
- package/cjs/Channel/components/MessageList.js.map +1 -1
- package/cjs/Channel/components/RemoveMessageModal.js +31 -36
- package/cjs/Channel/components/RemoveMessageModal.js.map +1 -1
- package/cjs/Channel/components/SuggestedMentionList.js +31 -41
- package/cjs/Channel/components/SuggestedMentionList.js.map +1 -1
- package/cjs/Channel/components/TypingIndicator.js +11 -7
- package/cjs/Channel/components/TypingIndicator.js.map +1 -1
- package/cjs/Channel/components/UnreadCount.js +8 -7
- package/cjs/Channel/components/UnreadCount.js.map +1 -1
- package/cjs/Channel/context.js +153 -121
- package/cjs/Channel/context.js.map +1 -1
- package/cjs/Channel/hooks/useHandleUploadFiles.js +21 -23
- package/cjs/Channel/hooks/useHandleUploadFiles.js.map +1 -1
- package/cjs/Channel/hooks/useInitialMessagesFetch.js +8 -8
- package/cjs/Channel/utils/compareMessagesForGrouping.js +16 -18
- package/cjs/Channel/utils/compareMessagesForGrouping.js.map +1 -1
- package/cjs/Channel/utils/getMessagePartsInfo.js +13 -14
- package/cjs/Channel/utils/getMessagePartsInfo.js.map +1 -1
- package/cjs/Channel.js +77 -76
- package/cjs/Channel.js.map +1 -1
- package/cjs/ChannelList/components/AddChannel.js +216 -47
- package/cjs/ChannelList/components/AddChannel.js.map +1 -1
- package/cjs/ChannelList/components/ChannelListHeader.js +16 -11
- package/cjs/ChannelList/components/ChannelListHeader.js.map +1 -1
- package/cjs/ChannelList/components/ChannelListUI.js +206 -139
- package/cjs/ChannelList/components/ChannelListUI.js.map +1 -1
- package/cjs/ChannelList/components/ChannelPreview.js +39 -41
- package/cjs/ChannelList/components/ChannelPreview.js.map +1 -1
- package/cjs/ChannelList/components/ChannelPreviewAction.js +17 -18
- package/cjs/ChannelList/components/ChannelPreviewAction.js.map +1 -1
- package/cjs/ChannelList/context.js +14 -27
- package/cjs/ChannelList/context.js.map +1 -1
- package/cjs/ChannelList.js +213 -82
- package/cjs/ChannelList.js.map +1 -1
- package/cjs/ChannelSettings/components/ChannelProfile.js +28 -32
- package/cjs/ChannelSettings/components/ChannelProfile.js.map +1 -1
- package/cjs/ChannelSettings/components/ChannelSettingMenuList.js +15 -28
- package/cjs/ChannelSettings/components/ChannelSettingMenuList.js.map +1 -1
- package/cjs/ChannelSettings/components/ChannelSettingsHeader.js +16 -10
- package/cjs/ChannelSettings/components/ChannelSettingsHeader.js.map +1 -1
- package/cjs/ChannelSettings/components/ChannelSettingsMenuItem.js +2 -2
- package/cjs/ChannelSettings/components/ChannelSettingsUI.js +48 -49
- package/cjs/ChannelSettings/components/ChannelSettingsUI.js.map +1 -1
- package/cjs/ChannelSettings/components/EditDetailsModal.js +23 -31
- package/cjs/ChannelSettings/components/EditDetailsModal.js.map +1 -1
- package/cjs/ChannelSettings/components/LeaveChannel.js +25 -28
- package/cjs/ChannelSettings/components/LeaveChannel.js.map +1 -1
- package/cjs/ChannelSettings/components/ModerationPanel.js +33 -33
- package/cjs/ChannelSettings/components/UserListItem.js +26 -29
- package/cjs/ChannelSettings/components/UserListItem.js.map +1 -1
- package/cjs/ChannelSettings/components/UserPanel.js +34 -34
- package/cjs/ChannelSettings/context.js +14 -175
- package/cjs/ChannelSettings/context.js.map +1 -1
- package/cjs/ChannelSettings/hooks/useMenuList.js +33 -33
- package/cjs/ChannelSettings.js +53 -53
- package/cjs/CreateChannel/components/CreateChannelUI.js +215 -46
- package/cjs/CreateChannel/components/CreateChannelUI.js.map +1 -1
- package/cjs/CreateChannel/components/InviteUsers.js +216 -154
- package/cjs/CreateChannel/components/InviteUsers.js.map +1 -1
- package/cjs/CreateChannel/components/SelectChannelType.js +217 -86
- package/cjs/CreateChannel/components/SelectChannelType.js.map +1 -1
- package/cjs/CreateChannel/context.js +225 -8
- package/cjs/CreateChannel/context.js.map +1 -1
- package/cjs/CreateChannel.js +214 -40
- package/cjs/CreateChannel.js.map +1 -1
- package/cjs/CreateOpenChannel/components/CreateOpenChannelUI.js +16 -24
- package/cjs/CreateOpenChannel/components/CreateOpenChannelUI.js.map +1 -1
- package/cjs/CreateOpenChannel/context.js +9 -4
- package/cjs/CreateOpenChannel/context.js.map +1 -1
- package/cjs/CreateOpenChannel.js +16 -24
- package/cjs/CreateOpenChannel.js.map +1 -1
- package/cjs/EditUserProfile/components/EditUserProfileUI.js +27 -35
- package/cjs/EditUserProfile/components/EditUserProfileUI.js.map +1 -1
- package/cjs/EditUserProfile/context.js +1 -1
- package/cjs/EditUserProfile.js +16 -25
- package/cjs/EditUserProfile.js.map +1 -1
- package/cjs/GroupChannel/components/FileViewer.js +34 -36
- package/cjs/GroupChannel/components/FileViewer.js.map +1 -1
- package/cjs/GroupChannel/components/FrozenNotification.js +6 -5
- package/cjs/GroupChannel/components/FrozenNotification.js.map +1 -1
- package/cjs/GroupChannel/components/GroupChannelHeader.js +32 -38
- package/cjs/GroupChannel/components/GroupChannelHeader.js.map +1 -1
- package/cjs/GroupChannel/components/GroupChannelUI.js +74 -71
- package/cjs/GroupChannel/components/GroupChannelUI.js.map +1 -1
- package/cjs/GroupChannel/components/Message.js +67 -63
- package/cjs/GroupChannel/components/Message.js.map +1 -1
- package/cjs/GroupChannel/components/MessageInputWrapper.js +48 -47
- package/cjs/GroupChannel/components/MessageInputWrapper.js.map +1 -1
- package/cjs/GroupChannel/components/MessageList.js +75 -70
- package/cjs/GroupChannel/components/MessageList.js.map +1 -1
- package/cjs/GroupChannel/components/RemoveMessageModal.js +32 -34
- package/cjs/GroupChannel/components/RemoveMessageModal.js.map +1 -1
- package/cjs/GroupChannel/components/SuggestedMentionList.js +18 -13
- package/cjs/GroupChannel/components/SuggestedMentionList.js.map +1 -1
- package/cjs/GroupChannel/components/TypingIndicator.js +14 -10
- package/cjs/GroupChannel/components/TypingIndicator.js.map +1 -1
- package/cjs/GroupChannel/components/UnreadCount.js +8 -7
- package/cjs/GroupChannel/components/UnreadCount.js.map +1 -1
- package/cjs/GroupChannel/context.js +25 -520
- package/cjs/GroupChannel/context.js.map +1 -1
- package/cjs/GroupChannel.js +72 -69
- package/cjs/GroupChannel.js.map +1 -1
- package/cjs/GroupChannelList/components/AddGroupChannel.js +216 -47
- package/cjs/GroupChannelList/components/AddGroupChannel.js.map +1 -1
- package/cjs/GroupChannelList/components/GroupChannelListHeader.js +17 -13
- package/cjs/GroupChannelList/components/GroupChannelListHeader.js.map +1 -1
- package/cjs/GroupChannelList/components/GroupChannelListItem.js +39 -40
- package/cjs/GroupChannelList/components/GroupChannelListItem.js.map +1 -1
- package/cjs/GroupChannelList/components/GroupChannelListUI.js +213 -117
- package/cjs/GroupChannelList/components/GroupChannelListUI.js.map +1 -1
- package/cjs/GroupChannelList/components/GroupChannelPreviewAction.js +18 -20
- package/cjs/GroupChannelList/components/GroupChannelPreviewAction.js.map +1 -1
- package/cjs/GroupChannelList/context.js +19 -121
- package/cjs/GroupChannelList/context.js.map +1 -1
- package/cjs/GroupChannelList.js +211 -74
- package/cjs/GroupChannelList.js.map +1 -1
- package/cjs/MessageSearch/components/MessageSearchUI.js +24 -23
- package/cjs/MessageSearch/components/MessageSearchUI.js.map +1 -1
- package/cjs/MessageSearch/context.js +17 -285
- package/cjs/MessageSearch/context.js.map +1 -1
- package/cjs/MessageSearch.js +25 -21
- package/cjs/MessageSearch.js.map +1 -1
- package/cjs/OpenChannel/components/FrozenChannelNotification.js +5 -4
- package/cjs/OpenChannel/components/FrozenChannelNotification.js.map +1 -1
- package/cjs/OpenChannel/components/OpenChannelHeader.js +23 -29
- package/cjs/OpenChannel/components/OpenChannelHeader.js.map +1 -1
- package/cjs/OpenChannel/components/OpenChannelInput.js +31 -33
- package/cjs/OpenChannel/components/OpenChannelInput.js.map +1 -1
- package/cjs/OpenChannel/components/OpenChannelMessage.js +45 -44
- package/cjs/OpenChannel/components/OpenChannelMessage.js.map +1 -1
- package/cjs/OpenChannel/components/OpenChannelMessageList.js +54 -52
- package/cjs/OpenChannel/components/OpenChannelMessageList.js.map +1 -1
- package/cjs/OpenChannel/components/OpenChannelUI.js +49 -48
- package/cjs/OpenChannel/components/OpenChannelUI.js.map +1 -1
- package/cjs/OpenChannel/context.js +21 -27
- package/cjs/OpenChannel/context.js.map +1 -1
- package/cjs/OpenChannel.js +47 -46
- package/cjs/OpenChannel.js.map +1 -1
- package/cjs/OpenChannelList/components/OpenChannelListUI.js +20 -28
- package/cjs/OpenChannelList/components/OpenChannelListUI.js.map +1 -1
- package/cjs/OpenChannelList/components/OpenChannelPreview.js +6 -6
- package/cjs/OpenChannelList/context.js +9 -5
- package/cjs/OpenChannelList/context.js.map +1 -1
- package/cjs/OpenChannelList.js +18 -26
- package/cjs/OpenChannelList.js.map +1 -1
- package/cjs/OpenChannelSettings/components/EditDetailsModal.js +23 -31
- package/cjs/OpenChannelSettings/components/EditDetailsModal.js.map +1 -1
- package/cjs/OpenChannelSettings/components/OpenChannelProfile.js +24 -32
- package/cjs/OpenChannelSettings/components/OpenChannelProfile.js.map +1 -1
- package/cjs/OpenChannelSettings/components/OpenChannelSettingsUI.js +33 -34
- package/cjs/OpenChannelSettings/components/OpenChannelSettingsUI.js.map +1 -1
- package/cjs/OpenChannelSettings/components/OperatorUI.js +37 -41
- package/cjs/OpenChannelSettings/components/OperatorUI.js.map +1 -1
- package/cjs/OpenChannelSettings/components/ParticipantUI.js +22 -23
- package/cjs/OpenChannelSettings/components/ParticipantUI.js.map +1 -1
- package/cjs/OpenChannelSettings/context.js +16 -35
- package/cjs/OpenChannelSettings/context.js.map +1 -1
- package/cjs/OpenChannelSettings.js +27 -28
- package/cjs/OpenChannelSettings.js.map +1 -1
- package/cjs/SendbirdProvider.js +486 -915
- package/cjs/SendbirdProvider.js.map +1 -1
- package/cjs/Thread/components/ParentMessageInfo.js +71 -68
- package/cjs/Thread/components/ParentMessageInfo.js.map +1 -1
- package/cjs/Thread/components/ParentMessageInfoItem.js +42 -39
- package/cjs/Thread/components/ParentMessageInfoItem.js.map +1 -1
- package/cjs/Thread/components/ThreadHeader.js +8 -7
- package/cjs/Thread/components/ThreadHeader.js.map +1 -1
- package/cjs/Thread/components/ThreadList.js +67 -63
- package/cjs/Thread/components/ThreadList.js.map +1 -1
- package/cjs/Thread/components/ThreadListItem.js +77 -76
- package/cjs/Thread/components/ThreadListItem.js.map +1 -1
- package/cjs/Thread/components/ThreadMessageInput.js +67 -67
- package/cjs/Thread/components/ThreadUI.js +74 -72
- package/cjs/Thread/components/ThreadUI.js.map +1 -1
- package/cjs/Thread/context/types.js +0 -1
- package/cjs/Thread/context/types.js.map +1 -1
- package/cjs/Thread/context.js +26 -1337
- package/cjs/Thread/context.js.map +1 -1
- package/cjs/Thread.js +71 -69
- package/cjs/Thread.js.map +1 -1
- package/cjs/VoicePlayer/context.js +9 -6
- package/cjs/VoicePlayer/context.js.map +1 -1
- package/cjs/VoicePlayer/useVoicePlayer.js +18 -23
- package/cjs/VoicePlayer/useVoicePlayer.js.map +1 -1
- package/cjs/VoiceRecorder/context.js +130 -25
- package/cjs/VoiceRecorder/context.js.map +1 -1
- package/cjs/VoiceRecorder/useVoiceRecorder.js +17 -23
- package/cjs/VoiceRecorder/useVoiceRecorder.js.map +1 -1
- package/cjs/chunks/{bundle-s1cLz65w.js → bundle-89fX6BxE.js} +1 -1
- package/cjs/chunks/bundle-89fX6BxE.js.map +1 -0
- package/cjs/chunks/{bundle-ByQJ042a.js → bundle-9_krLx4g.js} +1 -1
- package/cjs/chunks/bundle-9_krLx4g.js.map +1 -0
- package/cjs/chunks/bundle-9tkwiavu.js +76 -0
- package/cjs/chunks/bundle-9tkwiavu.js.map +1 -0
- package/cjs/chunks/{bundle-B5-vaN7x.js → bundle-AIWiAqMa.js} +17 -16
- package/cjs/chunks/{bundle-DeLEOQNO.js.map → bundle-AIWiAqMa.js.map} +1 -1
- package/cjs/chunks/{bundle-qMxPIH0k.js → bundle-B0eUHYFY.js} +6 -6
- package/cjs/chunks/bundle-B0eUHYFY.js.map +1 -0
- package/cjs/chunks/{bundle-BcIrmepz.js → bundle-B1kfg8W4.js} +1 -1
- package/cjs/chunks/bundle-B1kfg8W4.js.map +1 -0
- package/cjs/chunks/{bundle-BloKh_k7.js → bundle-B6qGo4m1.js} +1 -1
- package/cjs/chunks/bundle-B6qGo4m1.js.map +1 -0
- package/cjs/chunks/{bundle-DHPSwRDh.js → bundle-B9hMMeRS.js} +4 -4
- package/cjs/chunks/bundle-B9hMMeRS.js.map +1 -0
- package/cjs/chunks/{bundle-Cq5LKFhE.js → bundle-BDIgb36c.js} +7 -1
- package/cjs/chunks/bundle-BDIgb36c.js.map +1 -0
- package/cjs/chunks/{bundle-XANrnOqB.js → bundle-BETqmgP_.js} +1 -2
- package/cjs/chunks/bundle-BETqmgP_.js.map +1 -0
- package/cjs/chunks/{bundle-BA6Cum_9.js → bundle-BFcjbhNL.js} +3 -3
- package/cjs/chunks/{bundle-BA6Cum_9.js.map → bundle-BFcjbhNL.js.map} +1 -1
- package/cjs/chunks/bundle-BJftto_l.js +7 -0
- package/cjs/chunks/bundle-BJftto_l.js.map +1 -0
- package/cjs/chunks/bundle-BNJqog7S.js +217 -0
- package/{chunks/bundle-5-21Jk06.js.map → cjs/chunks/bundle-BNJqog7S.js.map} +1 -1
- package/cjs/chunks/{bundle-6UD0H-nz.js → bundle-BPPW92E3.js} +14 -14
- package/cjs/chunks/bundle-BPPW92E3.js.map +1 -0
- package/cjs/chunks/{bundle-D1slQ3hS.js → bundle-BPkbLqnu.js} +1 -1
- package/cjs/chunks/bundle-BPkbLqnu.js.map +1 -0
- package/cjs/chunks/{bundle-BpThX3wu.js → bundle-BRCUEZkM.js} +5 -5
- package/{chunks/bundle-BI2YMBw_.js.map → cjs/chunks/bundle-BRCUEZkM.js.map} +1 -1
- package/cjs/chunks/{bundle-DX3sBwvt.js → bundle-BT0N2gkH.js} +29 -25
- package/{chunks/bundle-MyLy9AIu.js.map → cjs/chunks/bundle-BT0N2gkH.js.map} +1 -1
- package/cjs/chunks/{bundle-BZd597ep.js → bundle-BT4XFhDb.js} +1 -1
- package/cjs/chunks/bundle-BT4XFhDb.js.map +1 -0
- package/cjs/chunks/bundle-BVPusRwU.js +187 -0
- package/cjs/chunks/bundle-BVPusRwU.js.map +1 -0
- package/cjs/chunks/{bundle-LNbeYHuL.js → bundle-BX-bINZz.js} +24 -24
- package/cjs/chunks/{bundle-LNbeYHuL.js.map → bundle-BX-bINZz.js.map} +1 -1
- package/cjs/chunks/{bundle-m5OpCHlj.js → bundle-Baj1zcQe.js} +8 -22
- package/cjs/chunks/bundle-Baj1zcQe.js.map +1 -0
- package/cjs/chunks/{bundle-DTD48j2K.js → bundle-BauO6Klm.js} +7 -17
- package/cjs/chunks/bundle-BauO6Klm.js.map +1 -0
- package/cjs/chunks/{bundle-Aw-PHA-I.js → bundle-BbTEVoxS.js} +1 -1
- package/cjs/chunks/bundle-BbTEVoxS.js.map +1 -0
- package/cjs/chunks/bundle-BgQpYkVd.js +263 -0
- package/cjs/chunks/bundle-BgQpYkVd.js.map +1 -0
- package/cjs/chunks/{bundle-BbpZ1Xe-.js → bundle-BhqxNcA7.js} +2 -2
- package/cjs/chunks/{bundle-BbpZ1Xe-.js.map → bundle-BhqxNcA7.js.map} +1 -1
- package/cjs/chunks/{bundle-DuSS5Dmw.js → bundle-BlmK-5Zz.js} +1 -1
- package/cjs/chunks/bundle-BlmK-5Zz.js.map +1 -0
- package/cjs/chunks/{bundle-DkDRIPJe.js → bundle-BptOxtGN.js} +6 -5
- package/cjs/chunks/bundle-BptOxtGN.js.map +1 -0
- package/cjs/chunks/bundle-BreESs72.js +672 -0
- package/cjs/chunks/bundle-BreESs72.js.map +1 -0
- package/cjs/chunks/{bundle-DVc6YedH.js → bundle-Bt94Y5zF.js} +4 -4
- package/cjs/chunks/bundle-Bt94Y5zF.js.map +1 -0
- package/cjs/chunks/{bundle-YTiDKoON.js → bundle-BtQOYbDr.js} +1 -1
- package/cjs/chunks/bundle-BtQOYbDr.js.map +1 -0
- package/cjs/chunks/bundle-BxRRC13A.js +40 -0
- package/cjs/chunks/bundle-BxRRC13A.js.map +1 -0
- package/cjs/chunks/{bundle-C3_KfqSN.js → bundle-BzLDYrps.js} +1 -1
- package/cjs/chunks/bundle-BzLDYrps.js.map +1 -0
- package/cjs/chunks/{bundle-BFFRQpby.js → bundle-C1XBtmxo.js} +8 -8
- package/cjs/chunks/bundle-C1XBtmxo.js.map +1 -0
- package/cjs/chunks/{bundle-Bua7cUR6.js → bundle-CIv79KtD.js} +16 -16
- package/cjs/chunks/{bundle-Bua7cUR6.js.map → bundle-CIv79KtD.js.map} +1 -1
- package/cjs/chunks/{bundle-bfd2VoyQ.js → bundle-CJLuEmh0.js} +26 -25
- package/cjs/chunks/{bundle-bfd2VoyQ.js.map → bundle-CJLuEmh0.js.map} +1 -1
- package/cjs/chunks/{bundle-B0uIbH1T.js → bundle-CK1N-Lna.js} +4 -19
- package/cjs/chunks/bundle-CK1N-Lna.js.map +1 -0
- package/cjs/chunks/{bundle-D4NkDFD-.js → bundle-CKctMt7s.js} +11 -10
- package/cjs/chunks/{bundle-sZREfKpL.js.map → bundle-CKctMt7s.js.map} +1 -1
- package/cjs/chunks/bundle-CPmEIY0J.js +1119 -0
- package/cjs/chunks/bundle-CPmEIY0J.js.map +1 -0
- package/cjs/chunks/{bundle-DUanoG7J.js → bundle-CTa0qp2J.js} +5 -5
- package/cjs/chunks/bundle-CTa0qp2J.js.map +1 -0
- package/cjs/chunks/{bundle-CNvRk1Z6.js → bundle-CVshjFAv.js} +1 -1
- package/cjs/chunks/bundle-CVshjFAv.js.map +1 -0
- package/cjs/chunks/{bundle-DeLEOQNO.js → bundle-C_Lbwszw.js} +5 -5
- package/cjs/chunks/{bundle-B5-vaN7x.js.map → bundle-C_Lbwszw.js.map} +1 -1
- package/cjs/chunks/{bundle-BfjugOIp.js → bundle-CayzfAtS.js} +4 -4
- package/cjs/chunks/bundle-CayzfAtS.js.map +1 -0
- package/cjs/chunks/bundle-Cbdc9ZJY.js +201 -0
- package/cjs/chunks/bundle-Cbdc9ZJY.js.map +1 -0
- package/cjs/chunks/{bundle-BSfpBazH.js → bundle-CcGys-84.js} +3 -3
- package/cjs/chunks/bundle-CcGys-84.js.map +1 -0
- package/cjs/chunks/{bundle-BAF8GaDh.js → bundle-Cgx64DbJ.js} +1 -1
- package/cjs/chunks/bundle-Cgx64DbJ.js.map +1 -0
- package/cjs/chunks/{bundle-D-kYFL1Z.js → bundle-CkXIqGZB.js} +1 -1
- package/cjs/chunks/bundle-CkXIqGZB.js.map +1 -0
- package/cjs/chunks/bundle-CmF5XsRI.js +270 -0
- package/cjs/chunks/bundle-CmF5XsRI.js.map +1 -0
- package/cjs/chunks/{bundle-BOCivP7e.js → bundle-CmJi_0Nb.js} +2 -2
- package/cjs/chunks/bundle-CmJi_0Nb.js.map +1 -0
- package/cjs/chunks/{bundle-QF_AmnwV.js → bundle-CqCReWdH.js} +8 -7
- package/cjs/chunks/{bundle-D4NkDFD-.js.map → bundle-CqCReWdH.js.map} +1 -1
- package/cjs/chunks/{bundle-n_Z6yPjx.js → bundle-CsoIWjn3.js} +6 -7
- package/cjs/chunks/bundle-CsoIWjn3.js.map +1 -0
- package/cjs/chunks/{bundle-sZREfKpL.js → bundle-Csp1LbIg.js} +7 -6
- package/{chunks/bundle-C6-Ix-Lk.js.map → cjs/chunks/bundle-Csp1LbIg.js.map} +1 -1
- package/cjs/chunks/bundle-Ctgz-ey7.js +761 -0
- package/cjs/chunks/bundle-Ctgz-ey7.js.map +1 -0
- package/cjs/chunks/{bundle-Bu4cmOCm.js → bundle-D-ZoYmRl.js} +1 -1
- package/cjs/chunks/bundle-D-ZoYmRl.js.map +1 -0
- package/cjs/chunks/{bundle-JpIugjtL.js → bundle-D07kXU0F.js} +3 -3
- package/cjs/chunks/bundle-D07kXU0F.js.map +1 -0
- package/cjs/chunks/{bundle-B5aEwfu1.js → bundle-D0lw9Bpa.js} +1 -1
- package/cjs/chunks/bundle-D0lw9Bpa.js.map +1 -0
- package/cjs/chunks/{bundle-D30swLTX.js → bundle-D1THQ7gU.js} +3 -3
- package/cjs/chunks/bundle-D1THQ7gU.js.map +1 -0
- package/cjs/chunks/{bundle-DpyxKl7F.js → bundle-D6K2mhIo.js} +16 -20
- package/{chunks/bundle-3aUfVJHj.js.map → cjs/chunks/bundle-D6K2mhIo.js.map} +1 -1
- package/cjs/chunks/{bundle-DYjhaLRW.js → bundle-D6rmjKfk.js} +9 -7
- package/cjs/chunks/bundle-D6rmjKfk.js.map +1 -0
- package/{chunks/bundle-CIN9yQRB.js → cjs/chunks/bundle-D8Y4YVC3.js} +3 -22
- package/cjs/chunks/{bundle-DE5YH8Q-.js.map → bundle-D8Y4YVC3.js.map} +1 -1
- package/cjs/chunks/{bundle-DWfeFlxG.js → bundle-DB7AA9OZ.js} +1 -1
- package/cjs/chunks/bundle-DB7AA9OZ.js.map +1 -0
- package/cjs/chunks/{bundle-CuWm0vby.js → bundle-DFU6GAqv.js} +1 -1
- package/cjs/chunks/{bundle-CuWm0vby.js.map → bundle-DFU6GAqv.js.map} +1 -1
- package/cjs/chunks/{bundle-COBYaK8T.js → bundle-DGGbCcCF.js} +4 -4
- package/cjs/chunks/{bundle-COBYaK8T.js.map → bundle-DGGbCcCF.js.map} +1 -1
- package/cjs/chunks/{bundle-Khwf-z37.js → bundle-DGGi0jBz.js} +9 -9
- package/cjs/chunks/bundle-DGGi0jBz.js.map +1 -0
- package/cjs/chunks/{bundle-XxCVYLKy.js → bundle-DHln-sDF.js} +8 -9
- package/cjs/chunks/bundle-DHln-sDF.js.map +1 -0
- package/cjs/chunks/bundle-DKTpL0g1.js +32 -0
- package/cjs/chunks/bundle-DKTpL0g1.js.map +1 -0
- package/cjs/chunks/{bundle-A5UoPEJO.js → bundle-DNSLlJbl.js} +4 -4
- package/cjs/chunks/bundle-DNSLlJbl.js.map +1 -0
- package/cjs/chunks/{bundle-DL3fuSPu.js → bundle-DQuGiR7V.js} +1 -1
- package/cjs/chunks/bundle-DQuGiR7V.js.map +1 -0
- package/cjs/chunks/{bundle-BL1sGjVd.js → bundle-DY7vPqdQ.js} +1 -1
- package/cjs/chunks/bundle-DY7vPqdQ.js.map +1 -0
- package/cjs/chunks/bundle-DYhBZd6j.js +152 -0
- package/cjs/chunks/bundle-DYhBZd6j.js.map +1 -0
- package/cjs/chunks/{bundle-Clz7RiTn.js → bundle-DeK5VJQG.js} +1 -1
- package/cjs/chunks/bundle-DeK5VJQG.js.map +1 -0
- package/cjs/chunks/{bundle-Bhf_RRfA.js → bundle-DeUnCD5j.js} +1 -1
- package/cjs/chunks/bundle-DeUnCD5j.js.map +1 -0
- package/cjs/chunks/{bundle-vf5ayidG.js → bundle-Dj5V094j.js} +17 -17
- package/cjs/chunks/{bundle-vf5ayidG.js.map → bundle-Dj5V094j.js.map} +1 -1
- package/cjs/chunks/{bundle-DzEGN4bG.js → bundle-Dk0-umQd.js} +1 -1
- package/cjs/chunks/bundle-Dk0-umQd.js.map +1 -0
- package/cjs/chunks/{bundle-nWxq3V_Q.js → bundle-DmbYmCTt.js} +3 -3
- package/cjs/chunks/bundle-DmbYmCTt.js.map +1 -0
- package/cjs/chunks/{bundle-B3LOu7kN.js → bundle-DxdlR74x.js} +4 -3
- package/cjs/chunks/bundle-DxdlR74x.js.map +1 -0
- package/cjs/chunks/{bundle-D6fimwV5.js → bundle-DyKOhVHq.js} +8 -8
- package/cjs/chunks/bundle-DyKOhVHq.js.map +1 -0
- package/cjs/chunks/{bundle-BOSyMutC.js → bundle-DzDaD05v.js} +2 -2
- package/cjs/chunks/{bundle-BOSyMutC.js.map → bundle-DzDaD05v.js.map} +1 -1
- package/cjs/chunks/{bundle-DHZYT5M_.js → bundle-DzywW4aT.js} +1 -1
- package/cjs/chunks/bundle-DzywW4aT.js.map +1 -0
- package/cjs/chunks/bundle-G3zxoxUu.js +11 -0
- package/cjs/chunks/bundle-G3zxoxUu.js.map +1 -0
- package/cjs/chunks/{bundle-Bc_sQb3i.js → bundle-Kcs0P7Bk.js} +5 -5
- package/cjs/chunks/bundle-Kcs0P7Bk.js.map +1 -0
- package/cjs/chunks/bundle-LSngpiw3.js +2932 -0
- package/cjs/chunks/bundle-LSngpiw3.js.map +1 -0
- package/cjs/chunks/{bundle-Dq5LRxGL.js → bundle-QCztkj4c.js} +11 -10
- package/cjs/chunks/bundle-QCztkj4c.js.map +1 -0
- package/cjs/chunks/{bundle-ChVeqDIG.js → bundle-QoSUa8d1.js} +13 -13
- package/{chunks/bundle-_sFl37fA.js.map → cjs/chunks/bundle-QoSUa8d1.js.map} +1 -1
- package/cjs/chunks/{bundle-WqJcr9PX.js → bundle-aZt_yr7x.js} +4 -4
- package/cjs/chunks/{bundle-WqJcr9PX.js.map → bundle-aZt_yr7x.js.map} +1 -1
- package/cjs/chunks/{bundle-DmO3Qtot.js → bundle-es5xApqy.js} +1 -1
- package/cjs/chunks/{bundle-DmO3Qtot.js.map → bundle-es5xApqy.js.map} +1 -1
- package/cjs/chunks/{bundle-R7sVfaA9.js → bundle-jKIGkHX-.js} +9 -8
- package/cjs/chunks/bundle-jKIGkHX-.js.map +1 -0
- package/cjs/chunks/{bundle-ChDTEa9-.js → bundle-lK-G2WrJ.js} +1 -1
- package/cjs/chunks/bundle-lK-G2WrJ.js.map +1 -0
- package/cjs/chunks/{bundle-CfUeEOi0.js → bundle-nScEwTro.js} +14 -14
- package/cjs/chunks/bundle-nScEwTro.js.map +1 -0
- package/cjs/chunks/{bundle-S-XkXH4q.js → bundle-r0O7RuH2.js} +2 -2
- package/cjs/chunks/bundle-r0O7RuH2.js.map +1 -0
- package/cjs/chunks/{bundle-B2zio8XF.js → bundle-vqTlMP2p.js} +1 -1
- package/cjs/chunks/bundle-vqTlMP2p.js.map +1 -0
- package/cjs/chunks/{bundle-BBgc3koD.js → bundle-ysciuVYD.js} +15 -14
- package/cjs/chunks/{bundle-BBgc3koD.js.map → bundle-ysciuVYD.js.map} +1 -1
- package/cjs/hooks/useConnectionState.js +8 -5
- package/cjs/hooks/useConnectionState.js.map +1 -1
- package/cjs/hooks/useLocalization.js +4 -3
- package/cjs/hooks/useLocalization.js.map +1 -1
- package/cjs/hooks/useModal.js +56 -24
- package/cjs/hooks/useModal.js.map +1 -1
- package/cjs/index.js +119 -127
- package/cjs/index.js.map +1 -1
- package/cjs/pubSub/topics.js +1 -1
- package/cjs/sendbirdSelectors.js +3 -3
- package/cjs/ui/Accordion.js +2 -2
- 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 -4
- package/cjs/ui/Badge.js.map +1 -1
- package/cjs/ui/BottomSheet.js +19 -25
- package/cjs/ui/BottomSheet.js.map +1 -1
- package/cjs/ui/Button.js +3 -3
- package/cjs/ui/ChannelAvatar.js +5 -5
- package/cjs/ui/ConnectionStatus.js +6 -5
- package/cjs/ui/ConnectionStatus.js.map +1 -1
- package/cjs/ui/ContextMenu.js +16 -14
- package/cjs/ui/ContextMenu.js.map +1 -1
- package/cjs/ui/DateSeparator.js +4 -4
- package/cjs/ui/EmojiReactions.js +27 -28
- package/cjs/ui/EmojiReactions.js.map +1 -1
- package/cjs/ui/FallbackTemplateMessageItemBody.tsx.js +10 -8
- package/cjs/ui/FallbackTemplateMessageItemBody.tsx.js.map +1 -1
- package/cjs/ui/FileMessageItemBody.js +20 -16
- package/cjs/ui/FileMessageItemBody.js.map +1 -1
- package/cjs/ui/FileViewer.js +22 -23
- package/cjs/ui/FileViewer.js.map +1 -1
- package/cjs/ui/Header.js +6 -6
- package/cjs/ui/Icon.js +2 -2
- package/cjs/ui/IconButton.js +1 -1
- package/cjs/ui/ImageRenderer.js +2 -2
- package/cjs/ui/Input.js +3 -3
- package/cjs/ui/Label.js +3 -3
- package/cjs/ui/LinkLabel.js +4 -4
- package/cjs/ui/Loader.js +2 -2
- package/cjs/ui/LoadingTemplateMessageItemBody.tsx.js +2 -2
- package/cjs/ui/MentionLabel.js +24 -27
- package/cjs/ui/MentionLabel.js.map +1 -1
- package/cjs/ui/MentionUserLabel.js +2 -2
- package/cjs/ui/MessageContent.js +48 -45
- package/cjs/ui/MessageContent.js.map +1 -1
- package/cjs/ui/MessageFeedbackFailedModal.js +15 -22
- package/cjs/ui/MessageFeedbackFailedModal.js.map +1 -1
- package/cjs/ui/MessageFeedbackModal.js +15 -22
- package/cjs/ui/MessageFeedbackModal.js.map +1 -1
- package/cjs/ui/MessageInput/hooks/usePaste.js +7 -7
- package/cjs/ui/MessageInput.js +26 -22
- package/cjs/ui/MessageInput.js.map +1 -1
- package/cjs/ui/MessageItemMenu.js +15 -13
- package/cjs/ui/MessageItemMenu.js.map +1 -1
- package/cjs/ui/MessageItemReactionMenu.js +16 -14
- package/cjs/ui/MessageItemReactionMenu.js.map +1 -1
- package/cjs/ui/MessageMenu.js +17 -15
- package/cjs/ui/MessageMenu.js.map +1 -1
- package/cjs/ui/MessageSearchFileItem.js +17 -15
- package/cjs/ui/MessageSearchFileItem.js.map +1 -1
- package/cjs/ui/MessageSearchItem.js +12 -11
- package/cjs/ui/MessageSearchItem.js.map +1 -1
- package/cjs/ui/MessageStatus.js +15 -13
- package/cjs/ui/MessageStatus.js.map +1 -1
- package/cjs/ui/MessageTemplate.js +1 -1
- package/cjs/ui/MobileFeedbackMenu.js +15 -21
- package/cjs/ui/MobileFeedbackMenu.js.map +1 -1
- package/cjs/ui/MobileMenu.js +21 -23
- package/cjs/ui/MobileMenu.js.map +1 -1
- package/cjs/ui/Modal.js +13 -21
- package/cjs/ui/Modal.js.map +1 -1
- package/cjs/ui/MutedAvatarOverlay.js +2 -2
- package/cjs/ui/OGMessageItemBody.js +24 -26
- package/cjs/ui/OGMessageItemBody.js.map +1 -1
- package/cjs/ui/OpenChannelAdminMessage.js +3 -3
- package/cjs/ui/OpenChannelAvatar.js +8 -7
- package/cjs/ui/OpenChannelAvatar.js.map +1 -1
- package/cjs/ui/OpenchannelConversationHeader.js +8 -7
- package/cjs/ui/OpenchannelConversationHeader.js.map +1 -1
- package/cjs/ui/OpenchannelFileMessage.js +24 -26
- package/cjs/ui/OpenchannelFileMessage.js.map +1 -1
- package/cjs/ui/OpenchannelOGMessage.js +26 -28
- package/cjs/ui/OpenchannelOGMessage.js.map +1 -1
- package/cjs/ui/OpenchannelThumbnailMessage.js +23 -25
- package/cjs/ui/OpenchannelThumbnailMessage.js.map +1 -1
- package/cjs/ui/OpenchannelUserMessage.js +25 -27
- package/cjs/ui/OpenchannelUserMessage.js.map +1 -1
- package/cjs/ui/PlaceHolder.js +6 -5
- package/cjs/ui/PlaceHolder.js.map +1 -1
- package/cjs/ui/PlaybackTime.js +3 -3
- package/cjs/ui/ProgressBar.js +1 -1
- package/cjs/ui/QuoteMessage.js +12 -10
- package/cjs/ui/QuoteMessage.js.map +1 -1
- package/cjs/ui/QuoteMessageInput.js +12 -10
- package/cjs/ui/QuoteMessageInput.js.map +1 -1
- package/cjs/ui/ReactionBadge.js +3 -3
- package/cjs/ui/ReactionButton.js +4 -4
- package/cjs/ui/SortByRow.js +2 -2
- package/cjs/ui/TemplateMessageItemBody.js +21 -17
- package/cjs/ui/TemplateMessageItemBody.js.map +1 -1
- package/cjs/ui/TextButton.js +2 -2
- package/cjs/ui/TextMessageItemBody.js +24 -27
- package/cjs/ui/TextMessageItemBody.js.map +1 -1
- package/cjs/ui/ThreadReplies.js +8 -7
- package/cjs/ui/ThreadReplies.js.map +1 -1
- package/cjs/ui/ThumbnailMessageItemBody.js +10 -9
- package/cjs/ui/ThumbnailMessageItemBody.js.map +1 -1
- package/cjs/ui/Toggle.js +8 -5
- package/cjs/ui/Toggle.js.map +1 -1
- package/cjs/ui/Tooltip.js +3 -3
- package/cjs/ui/TooltipWrapper.js +1 -1
- package/cjs/ui/TypingIndicatorBubble.js +4 -4
- package/cjs/ui/UnknownMessageItemBody.js +10 -8
- package/cjs/ui/UnknownMessageItemBody.js.map +1 -1
- package/cjs/ui/UserListItem.js +28 -31
- package/cjs/ui/UserListItem.js.map +1 -1
- package/cjs/ui/UserListItemMenu.js +17 -15
- package/cjs/ui/UserListItemMenu.js.map +1 -1
- package/cjs/ui/UserProfile.js +19 -32
- package/cjs/ui/UserProfile.js.map +1 -1
- package/cjs/ui/VoiceMessageInput.js +9 -8
- package/cjs/ui/VoiceMessageInput.js.map +1 -1
- package/cjs/ui/VoiceMessageItemBody.js +16 -21
- package/cjs/ui/VoiceMessageItemBody.js.map +1 -1
- package/cjs/ui/Word.js +21 -24
- package/cjs/ui/Word.js.map +1 -1
- package/cjs/utils/message/isVoiceMessage.js +6 -5
- package/cjs/utils/message/isVoiceMessage.js.map +1 -1
- package/dist/index.css +113 -113
- package/hooks/useConnectionState.js +8 -5
- package/hooks/useConnectionState.js.map +1 -1
- package/hooks/useLocalization.js +4 -3
- package/hooks/useLocalization.js.map +1 -1
- package/hooks/useModal.js +55 -22
- package/hooks/useModal.js.map +1 -1
- package/index.js +116 -125
- package/index.js.map +1 -1
- package/package.json +15 -33
- package/pubSub/topics.js +1 -1
- package/sendbirdSelectors.js +3 -3
- package/types/hooks/useDeepCompareEffect.d.ts +24 -0
- package/types/hooks/useStore.d.ts +14 -0
- package/types/hooks/useThrottleCallback.d.ts +0 -7
- package/types/index.d.ts +3 -2
- package/types/lib/MediaQueryContext.d.ts +1 -1
- package/types/lib/Sendbird/context/SendbirdContext.d.ts +18 -0
- package/types/lib/Sendbird/context/SendbirdProvider.d.ts +4 -0
- package/types/lib/Sendbird/context/hooks/useSendbird.d.ts +32 -0
- package/types/lib/Sendbird/context/hooks/useSendbirdStateContext.d.ts +3 -0
- package/types/lib/Sendbird/context/initialState.d.ts +2 -0
- package/types/lib/Sendbird/index.d.ts +16 -0
- package/types/lib/{types.d.ts → Sendbird/types.d.ts} +167 -102
- package/types/lib/Sendbird/utils.d.ts +28 -0
- package/types/lib/emojiManager.d.ts +2 -3
- package/types/lib/hooks/schedulerFactory.d.ts +1 -1
- package/types/lib/hooks/useMarkAsDeliveredScheduler.d.ts +1 -1
- package/types/lib/hooks/useMarkAsReadScheduler.d.ts +1 -1
- package/types/lib/hooks/useMessageTemplateUtils.d.ts +10 -5
- package/types/lib/selectors.d.ts +37 -37
- package/types/lib/utils/uikitConfigMapper.d.ts +1 -1
- package/types/modules/App/types.d.ts +1 -1
- package/types/modules/Channel/context/hooks/useGetChannel.d.ts +1 -1
- package/types/modules/Channel/context/hooks/useHandleChannelEvents.d.ts +1 -1
- package/types/modules/Channel/context/hooks/useHandleReconnect.d.ts +1 -2
- package/types/modules/Channel/context/hooks/useHandleReconnectForChannelList.d.ts +1 -2
- package/types/modules/Channel/context/hooks/useHandleUploadFiles.d.ts +1 -1
- package/types/modules/Channel/context/hooks/useScrollCallback.d.ts +1 -1
- package/types/modules/Channel/context/hooks/useScrollDownCallback.d.ts +1 -1
- package/types/modules/Channel/context/hooks/useSendFileMessageCallback.d.ts +2 -2
- package/types/modules/Channel/context/hooks/useSendMultipleFilesMessage.d.ts +1 -1
- package/types/modules/Channel/context/hooks/useSendVoiceMessageCallback.d.ts +1 -1
- package/types/modules/Channel/context/hooks/useToggleReactionCallback.d.ts +16 -8
- package/types/modules/Channel/context/utils.d.ts +1 -1
- package/types/modules/ChannelList/context/hooks/useActiveChannelUrl.d.ts +1 -2
- package/types/modules/ChannelList/context/hooks/useFetchChannelList.d.ts +1 -1
- package/types/modules/ChannelList/utils.d.ts +1 -1
- package/types/modules/ChannelSettings/components/ChannelSettingsUI/index.d.ts +2 -1
- package/types/modules/ChannelSettings/components/ModerationPanel/BannedUsersModal.d.ts +1 -1
- package/types/modules/ChannelSettings/components/ModerationPanel/MutedMembersModal.d.ts +1 -1
- package/types/modules/ChannelSettings/context/ChannelSettingsProvider.d.ts +23 -38
- package/types/modules/ChannelSettings/context/hooks/useChannelHandler.d.ts +10 -0
- package/types/modules/ChannelSettings/context/hooks/useSetChannel.d.ts +10 -0
- package/types/modules/ChannelSettings/context/index.d.ts +3 -0
- package/types/modules/ChannelSettings/context/types.d.ts +40 -0
- package/types/modules/ChannelSettings/context/useChannelSettings.d.ts +11 -0
- package/types/modules/ChannelSettings/index.d.ts +1 -1
- package/types/modules/CreateChannel/components/InviteUsers/utils.d.ts +1 -1
- package/types/modules/CreateChannel/context/CreateChannelProvider.d.ts +36 -9
- package/types/modules/CreateChannel/context/index.d.ts +2 -0
- package/types/modules/CreateChannel/context/useCreateChannel.d.ts +11 -0
- package/types/modules/CreateChannel/utils.d.ts +1 -1
- package/types/modules/CreateOpenChannel/context/CreateOpenChannelProvider.d.ts +1 -2
- package/types/modules/GroupChannel/components/Message/MessageView.d.ts +1 -1
- package/types/modules/GroupChannel/components/MessageInputWrapper/useHandleUploadFiles.d.ts +1 -1
- package/types/modules/GroupChannel/components/MessageList/getMessagePartsInfo.d.ts +3 -1
- package/types/modules/GroupChannel/context/GroupChannelProvider.d.ts +64 -55
- package/types/modules/GroupChannel/context/hooks/useGroupChannel.d.ts +23 -0
- package/types/modules/GroupChannel/context/hooks/useMessageActions.d.ts +4 -10
- package/types/modules/GroupChannel/context/hooks/useMessageListScroll.d.ts +0 -2
- package/types/modules/GroupChannel/context/index.d.ts +2 -0
- package/types/modules/GroupChannel/context/types.d.ts +80 -0
- package/types/modules/GroupChannel/index.d.ts +1 -1
- package/types/modules/GroupChannelList/context/GroupChannelListProvider.d.ts +36 -4
- package/types/modules/GroupChannelList/context/index.d.ts +2 -0
- package/types/modules/GroupChannelList/context/useGroupChannelList.d.ts +8 -0
- package/types/modules/Message/hooks/useDirtyGetMentions.d.ts +1 -1
- package/types/modules/MessageSearch/context/MessageSearchProvider.d.ts +51 -24
- package/types/modules/MessageSearch/context/hooks/useGetSearchedMessages.d.ts +2 -8
- package/types/modules/MessageSearch/context/hooks/useMessageSearch.d.ts +21 -0
- package/types/modules/MessageSearch/context/hooks/useScrollCallback.d.ts +2 -9
- package/types/modules/MessageSearch/context/hooks/useSearchStringEffect.d.ts +1 -7
- package/types/modules/MessageSearch/context/hooks/useSetChannel.d.ts +2 -7
- package/types/modules/MessageSearch/context/index.d.ts +2 -0
- package/types/modules/OpenChannel/context/hooks/useDeleteMessageCallback.d.ts +1 -1
- package/types/modules/OpenChannel/context/hooks/useFileUploadCallback.d.ts +1 -3
- package/types/modules/OpenChannel/context/hooks/useHandleChannelEvents.d.ts +1 -2
- 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 -2
- package/types/modules/OpenChannel/context/hooks/useSendMessageCallback.d.ts +1 -2
- package/types/modules/OpenChannel/context/hooks/useSetChannel.d.ts +1 -2
- package/types/modules/OpenChannel/context/hooks/useUpdateMessageCallback.d.ts +1 -1
- package/types/modules/OpenChannel/context/utils.d.ts +1 -1
- package/types/modules/OpenChannelList/context/OpenChannelListInterfaces.d.ts +1 -1
- package/types/modules/OpenChannelList/context/hooks/createChannelListQuery.d.ts +1 -2
- package/types/modules/OpenChannelList/context/hooks/useFetchNextCallback.d.ts +1 -1
- package/types/modules/OpenChannelList/context/hooks/useRefreshOpenChannelList.d.ts +1 -2
- package/types/modules/OpenChannelList/context/hooks/useSetupOpenChannelList.d.ts +1 -2
- package/types/modules/Thread/components/ParentMessageInfo/ParentMessageInfoItem.d.ts +1 -1
- package/types/modules/Thread/context/ThreadProvider.d.ts +110 -22
- package/types/modules/Thread/context/hooks/useDeleteMessageCallback.d.ts +4 -3
- package/types/modules/Thread/context/hooks/useGetAllEmoji.d.ts +2 -4
- package/types/modules/Thread/context/hooks/useGetChannel.d.ts +2 -7
- package/types/modules/Thread/context/hooks/useGetParentMessage.d.ts +2 -4
- package/types/modules/Thread/context/hooks/useHandleChannelEvents.d.ts +2 -4
- package/types/modules/Thread/context/hooks/useHandleThreadPubsubEvents.d.ts +2 -3
- package/types/modules/Thread/context/hooks/useResendMessageCallback.d.ts +5 -3
- package/types/modules/Thread/context/hooks/useSendFileMessage.d.ts +4 -3
- package/types/modules/Thread/context/hooks/useSendUserMessageCallback.d.ts +4 -3
- package/types/modules/Thread/context/hooks/useSendVoiceMessageCallback.d.ts +4 -3
- package/types/modules/Thread/context/hooks/useSetCurrentUserId.d.ts +6 -0
- package/types/modules/Thread/context/hooks/useThreadFetchers.d.ts +14 -7
- package/types/modules/Thread/context/hooks/useToggleReactionsCallback.d.ts +1 -1
- package/types/modules/Thread/context/hooks/useUpdateMessageCallback.d.ts +4 -3
- package/types/modules/Thread/context/index.d.ts +2 -0
- package/types/modules/Thread/context/useThread.d.ts +64 -0
- package/types/modules/Thread/types.d.ts +8 -0
- package/types/ui/FileMessageItemBody/index.d.ts +1 -1
- package/types/ui/MessageContent/MessageBody/index.d.ts +3 -3
- package/types/ui/MessageContent/index.d.ts +1 -1
- package/types/ui/MessageInput/messageInputUtils.d.ts +3 -3
- package/types/ui/MultipleFilesMessageItemBody/index.d.ts +1 -1
- package/types/utils/color.d.ts +0 -1
- package/types/utils/compressImages.d.ts +1 -2
- package/types/utils/getIsReactionEnabled.d.ts +2 -2
- package/types/utils/index.d.ts +2 -26
- package/types/utils/messages.d.ts +7 -6
- package/types/utils/storeManager.d.ts +10 -0
- package/types/utils/utils.d.ts +5 -0
- package/ui/Accordion.js +2 -2
- package/ui/AccordionGroup.js +1 -1
- package/ui/AdminMessage.js +3 -3
- package/ui/Avatar.js +4 -4
- package/ui/Badge.js +5 -4
- package/ui/Badge.js.map +1 -1
- package/ui/BottomSheet.js +19 -25
- package/ui/BottomSheet.js.map +1 -1
- package/ui/Button.js +3 -3
- package/ui/ChannelAvatar.js +5 -5
- package/ui/ConnectionStatus.js +6 -5
- package/ui/ConnectionStatus.js.map +1 -1
- package/ui/ContextMenu.js +16 -14
- package/ui/ContextMenu.js.map +1 -1
- package/ui/DateSeparator.js +4 -4
- package/ui/EmojiReactions.js +26 -27
- package/ui/EmojiReactions.js.map +1 -1
- package/ui/FallbackTemplateMessageItemBody.tsx.js +10 -8
- package/ui/FallbackTemplateMessageItemBody.tsx.js.map +1 -1
- package/ui/FileMessageItemBody.js +20 -16
- package/ui/FileMessageItemBody.js.map +1 -1
- package/ui/FileViewer.js +22 -23
- package/ui/FileViewer.js.map +1 -1
- package/ui/Header.js +6 -6
- package/ui/Icon.js +2 -2
- package/ui/IconButton.js +1 -1
- package/ui/ImageRenderer.js +2 -2
- package/ui/Input.js +3 -3
- package/ui/Label.js +3 -3
- package/ui/LinkLabel.js +4 -4
- package/ui/Loader.js +2 -2
- package/ui/LoadingTemplateMessageItemBody.tsx.js +2 -2
- package/ui/MentionLabel.js +24 -27
- package/ui/MentionLabel.js.map +1 -1
- package/ui/MentionUserLabel.js +2 -2
- package/ui/MessageContent.js +48 -45
- package/ui/MessageContent.js.map +1 -1
- package/ui/MessageFeedbackFailedModal.js +15 -22
- package/ui/MessageFeedbackFailedModal.js.map +1 -1
- package/ui/MessageFeedbackModal.js +15 -22
- package/ui/MessageFeedbackModal.js.map +1 -1
- package/ui/MessageInput/hooks/usePaste.js +7 -7
- package/ui/MessageInput.js +24 -20
- package/ui/MessageInput.js.map +1 -1
- package/ui/MessageItemMenu.js +15 -13
- package/ui/MessageItemMenu.js.map +1 -1
- package/ui/MessageItemReactionMenu.js +16 -14
- package/ui/MessageItemReactionMenu.js.map +1 -1
- package/ui/MessageMenu.js +17 -15
- package/ui/MessageMenu.js.map +1 -1
- package/ui/MessageSearchFileItem.js +17 -15
- package/ui/MessageSearchFileItem.js.map +1 -1
- package/ui/MessageSearchItem.js +12 -11
- package/ui/MessageSearchItem.js.map +1 -1
- package/ui/MessageStatus.js +15 -13
- package/ui/MessageStatus.js.map +1 -1
- package/ui/MessageTemplate.js +1 -1
- package/ui/MobileFeedbackMenu.js +15 -21
- package/ui/MobileFeedbackMenu.js.map +1 -1
- package/ui/MobileMenu.js +21 -23
- package/ui/MobileMenu.js.map +1 -1
- package/ui/Modal.js +13 -21
- package/ui/Modal.js.map +1 -1
- package/ui/MutedAvatarOverlay.js +2 -2
- package/ui/OGMessageItemBody.js +24 -26
- package/ui/OGMessageItemBody.js.map +1 -1
- package/ui/OpenChannelAdminMessage.js +3 -3
- package/ui/OpenChannelAvatar.js +8 -7
- package/ui/OpenChannelAvatar.js.map +1 -1
- package/ui/OpenchannelConversationHeader.js +8 -7
- package/ui/OpenchannelConversationHeader.js.map +1 -1
- package/ui/OpenchannelFileMessage.js +24 -26
- package/ui/OpenchannelFileMessage.js.map +1 -1
- package/ui/OpenchannelOGMessage.js +26 -28
- package/ui/OpenchannelOGMessage.js.map +1 -1
- package/ui/OpenchannelThumbnailMessage.js +23 -25
- package/ui/OpenchannelThumbnailMessage.js.map +1 -1
- package/ui/OpenchannelUserMessage.js +25 -27
- package/ui/OpenchannelUserMessage.js.map +1 -1
- package/ui/PlaceHolder.js +6 -5
- package/ui/PlaceHolder.js.map +1 -1
- package/ui/PlaybackTime.js +3 -3
- package/ui/ProgressBar.js +1 -1
- package/ui/QuoteMessage.js +12 -10
- package/ui/QuoteMessage.js.map +1 -1
- package/ui/QuoteMessageInput.js +12 -10
- package/ui/QuoteMessageInput.js.map +1 -1
- package/ui/ReactionBadge.js +3 -3
- package/ui/ReactionButton.js +4 -4
- package/ui/SortByRow.js +2 -2
- package/ui/TemplateMessageItemBody.js +21 -17
- package/ui/TemplateMessageItemBody.js.map +1 -1
- package/ui/TextButton.js +2 -2
- package/ui/TextMessageItemBody.js +24 -27
- package/ui/TextMessageItemBody.js.map +1 -1
- package/ui/ThreadReplies.js +8 -7
- package/ui/ThreadReplies.js.map +1 -1
- package/ui/ThumbnailMessageItemBody.js +10 -9
- package/ui/ThumbnailMessageItemBody.js.map +1 -1
- package/ui/Toggle.js +8 -5
- package/ui/Toggle.js.map +1 -1
- package/ui/Tooltip.js +3 -3
- package/ui/TooltipWrapper.js +1 -1
- package/ui/TypingIndicatorBubble.js +4 -4
- package/ui/UnknownMessageItemBody.js +10 -8
- package/ui/UnknownMessageItemBody.js.map +1 -1
- package/ui/UserListItem.js +28 -31
- package/ui/UserListItem.js.map +1 -1
- package/ui/UserListItemMenu.js +18 -16
- package/ui/UserListItemMenu.js.map +1 -1
- package/ui/UserProfile.js +19 -32
- package/ui/UserProfile.js.map +1 -1
- package/ui/VoiceMessageInput.js +9 -8
- package/ui/VoiceMessageInput.js.map +1 -1
- package/ui/VoiceMessageItemBody.js +16 -21
- package/ui/VoiceMessageItemBody.js.map +1 -1
- package/ui/Word.js +21 -24
- package/ui/Word.js.map +1 -1
- package/utils/message/isVoiceMessage.js +6 -5
- package/utils/message/isVoiceMessage.js.map +1 -1
- package/chunks/bundle-4W3uBGU3.js.map +0 -1
- package/chunks/bundle-90vsNbxW.js.map +0 -1
- package/chunks/bundle-BAQj91eb.js.map +0 -1
- package/chunks/bundle-BBowfNDO.js.map +0 -1
- package/chunks/bundle-BE58pe-0.js.map +0 -1
- package/chunks/bundle-BFqR1X1Q.js.map +0 -1
- package/chunks/bundle-BMygDCXK.js.map +0 -1
- package/chunks/bundle-BP1CB0js.js.map +0 -1
- package/chunks/bundle-BR3O1lZq.js.map +0 -1
- package/chunks/bundle-BWM5xqIs.js +0 -57
- package/chunks/bundle-BWM5xqIs.js.map +0 -1
- package/chunks/bundle-BiPxcZtH.js.map +0 -1
- package/chunks/bundle-Bk5X1tDl.js +0 -8
- package/chunks/bundle-Bk5X1tDl.js.map +0 -1
- package/chunks/bundle-C1U8wE49.js.map +0 -1
- package/chunks/bundle-C9dF4QVS.js.map +0 -1
- package/chunks/bundle-CB5ZFhrW.js +0 -9
- package/chunks/bundle-CB5ZFhrW.js.map +0 -1
- package/chunks/bundle-CDjVXDOc.js.map +0 -1
- package/chunks/bundle-CDvvzlad.js.map +0 -1
- package/chunks/bundle-CHzQIw7_.js +0 -43
- package/chunks/bundle-CHzQIw7_.js.map +0 -1
- package/chunks/bundle-CZsW3iP9.js.map +0 -1
- package/chunks/bundle-CbEyAimK.js.map +0 -1
- package/chunks/bundle-Ci2fMtNJ.js.map +0 -1
- package/chunks/bundle-Ctm0h0rU.js +0 -12
- package/chunks/bundle-Ctm0h0rU.js.map +0 -1
- package/chunks/bundle-Cu4bYcMG.js +0 -67
- package/chunks/bundle-Cu4bYcMG.js.map +0 -1
- package/chunks/bundle-CzdrQ_Yq.js.map +0 -1
- package/chunks/bundle-DCbJaskZ.js.map +0 -1
- package/chunks/bundle-DImSV9VW.js.map +0 -1
- package/chunks/bundle-DUTyBaXr.js.map +0 -1
- package/chunks/bundle-DWrM1EW4.js.map +0 -1
- package/chunks/bundle-DYeeW5nS.js.map +0 -1
- package/chunks/bundle-DaKZZ13Y.js.map +0 -1
- package/chunks/bundle-Deel9XzY.js.map +0 -1
- package/chunks/bundle-DfDrbjM5.js.map +0 -1
- package/chunks/bundle-DjgT6gu4.js.map +0 -1
- package/chunks/bundle-DkviGBGz.js.map +0 -1
- package/chunks/bundle-Dpdq7qeD.js.map +0 -1
- package/chunks/bundle-DrHsf0sP.js.map +0 -1
- package/chunks/bundle-Dskg5qjd.js.map +0 -1
- package/chunks/bundle-DtycZWOo.js +0 -20
- package/chunks/bundle-DtycZWOo.js.map +0 -1
- package/chunks/bundle-DvcOxLrR.js.map +0 -1
- package/chunks/bundle-Dvg19muo.js.map +0 -1
- package/chunks/bundle-LPNnEgGp.js.map +0 -1
- package/chunks/bundle-LWpHaUiZ.js.map +0 -1
- package/chunks/bundle-MkyS3j4-.js.map +0 -1
- package/chunks/bundle-MrMJJXf2.js +0 -34
- package/chunks/bundle-MrMJJXf2.js.map +0 -1
- package/chunks/bundle-MyLy9AIu.js +0 -367
- package/chunks/bundle-P-vXuw8U.js.map +0 -1
- package/chunks/bundle-TGosz9cX.js.map +0 -1
- package/chunks/bundle-V4PrrT67.js.map +0 -1
- package/chunks/bundle-eYHtE5ry.js.map +0 -1
- package/chunks/bundle-gQ2a8Eki.js.map +0 -1
- package/chunks/bundle-jw_xHmHg.js.map +0 -1
- package/chunks/bundle-k6zcGkBp.js.map +0 -1
- package/cjs/chunks/bundle-4i5ybSGL.js +0 -107
- package/cjs/chunks/bundle-4i5ybSGL.js.map +0 -1
- package/cjs/chunks/bundle-6UD0H-nz.js.map +0 -1
- package/cjs/chunks/bundle-A5UoPEJO.js.map +0 -1
- package/cjs/chunks/bundle-Aw-PHA-I.js.map +0 -1
- package/cjs/chunks/bundle-B0uIbH1T.js.map +0 -1
- package/cjs/chunks/bundle-B2zio8XF.js.map +0 -1
- package/cjs/chunks/bundle-B3LOu7kN.js.map +0 -1
- package/cjs/chunks/bundle-B5aEwfu1.js.map +0 -1
- package/cjs/chunks/bundle-BAF8GaDh.js.map +0 -1
- package/cjs/chunks/bundle-BFFRQpby.js.map +0 -1
- package/cjs/chunks/bundle-BFPhV1oD.js +0 -10
- package/cjs/chunks/bundle-BFPhV1oD.js.map +0 -1
- package/cjs/chunks/bundle-BFXyNnQ0.js +0 -11
- package/cjs/chunks/bundle-BFXyNnQ0.js.map +0 -1
- package/cjs/chunks/bundle-BL1sGjVd.js.map +0 -1
- package/cjs/chunks/bundle-BOCivP7e.js.map +0 -1
- package/cjs/chunks/bundle-BSfpBazH.js.map +0 -1
- package/cjs/chunks/bundle-BUuEhLl0.js +0 -26
- package/cjs/chunks/bundle-BUuEhLl0.js.map +0 -1
- package/cjs/chunks/bundle-BZd597ep.js.map +0 -1
- package/cjs/chunks/bundle-BcIrmepz.js.map +0 -1
- package/cjs/chunks/bundle-Bc_sQb3i.js.map +0 -1
- package/cjs/chunks/bundle-BfjugOIp.js.map +0 -1
- package/cjs/chunks/bundle-Bhf_RRfA.js.map +0 -1
- package/cjs/chunks/bundle-BloKh_k7.js.map +0 -1
- package/cjs/chunks/bundle-BpThX3wu.js.map +0 -1
- package/cjs/chunks/bundle-Bu4cmOCm.js.map +0 -1
- package/cjs/chunks/bundle-ByQJ042a.js.map +0 -1
- package/cjs/chunks/bundle-C3_KfqSN.js.map +0 -1
- package/cjs/chunks/bundle-CNvRk1Z6.js.map +0 -1
- package/cjs/chunks/bundle-CT3qZJLT.js +0 -36
- package/cjs/chunks/bundle-CT3qZJLT.js.map +0 -1
- package/cjs/chunks/bundle-CYAm3mYC.js +0 -50
- package/cjs/chunks/bundle-CYAm3mYC.js.map +0 -1
- package/cjs/chunks/bundle-CfUeEOi0.js.map +0 -1
- package/cjs/chunks/bundle-ChDTEa9-.js.map +0 -1
- package/cjs/chunks/bundle-Clz7RiTn.js.map +0 -1
- package/cjs/chunks/bundle-Cq5LKFhE.js.map +0 -1
- package/cjs/chunks/bundle-D-kYFL1Z.js.map +0 -1
- package/cjs/chunks/bundle-D1slQ3hS.js.map +0 -1
- package/cjs/chunks/bundle-D30swLTX.js.map +0 -1
- package/cjs/chunks/bundle-D6fimwV5.js.map +0 -1
- package/cjs/chunks/bundle-D7uROwt_.js +0 -73
- package/cjs/chunks/bundle-D7uROwt_.js.map +0 -1
- package/cjs/chunks/bundle-DHPSwRDh.js.map +0 -1
- package/cjs/chunks/bundle-DHZYT5M_.js.map +0 -1
- package/cjs/chunks/bundle-DL3fuSPu.js.map +0 -1
- package/cjs/chunks/bundle-DQy9DqFO.js +0 -84
- package/cjs/chunks/bundle-DQy9DqFO.js.map +0 -1
- package/cjs/chunks/bundle-DTD48j2K.js.map +0 -1
- package/cjs/chunks/bundle-DVc6YedH.js.map +0 -1
- package/cjs/chunks/bundle-DWfeFlxG.js.map +0 -1
- package/cjs/chunks/bundle-DX3sBwvt.js.map +0 -1
- package/cjs/chunks/bundle-DYjhaLRW.js.map +0 -1
- package/cjs/chunks/bundle-DkDRIPJe.js.map +0 -1
- package/cjs/chunks/bundle-Dq5LRxGL.js.map +0 -1
- package/cjs/chunks/bundle-DuSS5Dmw.js.map +0 -1
- package/cjs/chunks/bundle-DzEGN4bG.js.map +0 -1
- package/cjs/chunks/bundle-JpIugjtL.js.map +0 -1
- package/cjs/chunks/bundle-Khwf-z37.js.map +0 -1
- package/cjs/chunks/bundle-Ol1CxgYk.js +0 -385
- package/cjs/chunks/bundle-Ol1CxgYk.js.map +0 -1
- package/cjs/chunks/bundle-QF_AmnwV.js.map +0 -1
- package/cjs/chunks/bundle-R7sVfaA9.js.map +0 -1
- package/cjs/chunks/bundle-S-XkXH4q.js.map +0 -1
- package/cjs/chunks/bundle-XANrnOqB.js.map +0 -1
- package/cjs/chunks/bundle-XxCVYLKy.js.map +0 -1
- package/cjs/chunks/bundle-YTiDKoON.js.map +0 -1
- package/cjs/chunks/bundle-m5OpCHlj.js.map +0 -1
- package/cjs/chunks/bundle-nWxq3V_Q.js.map +0 -1
- package/cjs/chunks/bundle-n_Z6yPjx.js.map +0 -1
- package/cjs/chunks/bundle-qMxPIH0k.js.map +0 -1
- package/cjs/chunks/bundle-s1cLz65w.js.map +0 -1
- package/cjs/useSendbirdStateContext.js +0 -27
- package/cjs/useSendbirdStateContext.js.map +0 -1
- package/cjs/withSendbird.js +0 -33
- package/cjs/withSendbird.js.map +0 -1
- package/types/hooks/useAppendDomNode.d.ts +0 -2
- package/types/hooks/useSendbirdStateContext.d.ts +0 -3
- package/types/lib/Sendbird.d.ts +0 -67
- package/types/lib/SendbirdSdkContext.d.ts +0 -12
- package/types/lib/SendbirdState.d.ts +0 -7
- package/types/lib/dux/appInfo/actionTypes.d.ts +0 -26
- package/types/lib/dux/appInfo/initialState.d.ts +0 -23
- package/types/lib/dux/appInfo/reducers.d.ts +0 -3
- package/types/lib/dux/appInfo/utils.d.ts +0 -7
- package/types/lib/dux/sdk/actionTypes.d.ts +0 -16
- package/types/lib/dux/sdk/initialState.d.ts +0 -9
- package/types/lib/dux/sdk/reducers.d.ts +0 -3
- package/types/lib/dux/user/actionTypes.d.ts +0 -14
- package/types/lib/dux/user/initialState.d.ts +0 -8
- package/types/lib/dux/user/reducers.d.ts +0 -3
- package/types/lib/hooks/useConnect/__test__/data.mocks.d.ts +0 -16
- package/types/lib/hooks/useConnect/connect.d.ts +0 -2
- package/types/lib/hooks/useConnect/disconnectSdk.d.ts +0 -2
- package/types/lib/hooks/useConnect/index.d.ts +0 -2
- package/types/lib/hooks/useConnect/setupConnection.d.ts +0 -22
- package/types/lib/hooks/useConnect/types.d.ts +0 -47
- package/types/modules/GroupChannel/context/hooks/useToggleReactionCallback.d.ts +0 -4
- package/types/modules/MessageSearch/context/dux/actionTypes.d.ts +0 -8
- package/types/modules/MessageSearch/context/dux/initialState.d.ts +0 -14
- package/types/modules/MessageSearch/context/dux/reducers.d.ts +0 -7
- package/types/modules/Thread/context/dux/actionTypes.d.ts +0 -38
- package/types/modules/Thread/context/dux/initialState.d.ts +0 -22
- package/types/modules/Thread/context/dux/reducer.d.ts +0 -8
- package/useSendbirdStateContext.js +0 -22
- package/useSendbirdStateContext.js.map +0 -1
- package/withSendbird.js +0 -24
- package/withSendbird.js.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"bundle-DWfeFlxG.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"bundle-DX3sBwvt.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"bundle-DYjhaLRW.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"bundle-DkDRIPJe.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"bundle-Dq5LRxGL.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"bundle-DuSS5Dmw.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"bundle-DzEGN4bG.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"bundle-JpIugjtL.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"bundle-Khwf-z37.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,385 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var _tslib = require('./bundle-D1slQ3hS.js');
|
|
4
|
-
var React = require('react');
|
|
5
|
-
var index$1 = require('./bundle-DTD48j2K.js');
|
|
6
|
-
var utils = require('./bundle-Cq5LKFhE.js');
|
|
7
|
-
var reactDom = require('react-dom');
|
|
8
|
-
var LocalizationContext = require('./bundle-DE5YH8Q-.js');
|
|
9
|
-
var MediaQueryContext = require('./bundle-B5aEwfu1.js');
|
|
10
|
-
var ui_IconButton = require('../ui/IconButton.js');
|
|
11
|
-
var ui_Button = require('../ui/Button.js');
|
|
12
|
-
var ui_Icon = require('../ui/Icon.js');
|
|
13
|
-
var ui_Label = require('./bundle-BA6Cum_9.js');
|
|
14
|
-
require('@sendbird/uikit-tools');
|
|
15
|
-
require('../withSendbird.js');
|
|
16
|
-
require('css-vars-ponyfill');
|
|
17
|
-
require('@sendbird/chat');
|
|
18
|
-
var uuid = require('./bundle-s1cLz65w.js');
|
|
19
|
-
require('@sendbird/chat/openChannel');
|
|
20
|
-
require('@sendbird/chat/groupChannel');
|
|
21
|
-
require('./bundle-sZREfKpL.js');
|
|
22
|
-
var consts = require('./bundle-BloKh_k7.js');
|
|
23
|
-
var useSendbirdStateContext = require('../useSendbirdStateContext.js');
|
|
24
|
-
require('./bundle-QF_AmnwV.js');
|
|
25
|
-
|
|
26
|
-
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
|
27
|
-
|
|
28
|
-
var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
29
|
-
|
|
30
|
-
/**
|
|
31
|
-
* Mapping object to convert numeric keys to descriptive text
|
|
32
|
-
* [(legacy) numeric key]: [(new) descriptive text]
|
|
33
|
-
*/
|
|
34
|
-
var colorMapping = {
|
|
35
|
-
// Primary / Secondary / Error / Information
|
|
36
|
-
100: 'extra-light',
|
|
37
|
-
200: 'light',
|
|
38
|
-
300: 'main',
|
|
39
|
-
400: 'dark',
|
|
40
|
-
500: 'extra-dark',
|
|
41
|
-
// Overlay
|
|
42
|
-
'overlay-01': 'overlay-dark',
|
|
43
|
-
'overlay-02': 'overlay-light',
|
|
44
|
-
// OnLight
|
|
45
|
-
'onlight-01': 'onlight-text-high-emphasis',
|
|
46
|
-
'onlight-02': 'onlight-text-mid-emphasis',
|
|
47
|
-
'onlight-03': 'onlight-text-low-emphasis',
|
|
48
|
-
'onlight-04': 'onlight-text-disabled',
|
|
49
|
-
// OnDark
|
|
50
|
-
'ondark-01': 'ondark-text-high-emphasis',
|
|
51
|
-
'ondark-02': 'ondark-text-mid-emphasis',
|
|
52
|
-
'ondark-03': 'ondark-text-low-emphasis',
|
|
53
|
-
'ondark-04': 'ondark-text-disabled',
|
|
54
|
-
};
|
|
55
|
-
/**
|
|
56
|
-
* Order of mappings to ensure longer keys are matched first
|
|
57
|
-
* e.g. In --sendbird-dark-background-extra-dark, 'extra-dark' should be matched instead of 'dark'
|
|
58
|
-
*/
|
|
59
|
-
var colorMappingOrder = Object
|
|
60
|
-
.values(colorMapping)
|
|
61
|
-
.sort(function (a, b) { return b.length - a.length; });
|
|
62
|
-
/**
|
|
63
|
-
* Convert colorMapping to a Map for quick lookup in mapColorKeys
|
|
64
|
-
*/
|
|
65
|
-
var colorMappingMap = new Map(Object.entries(colorMapping).map(function (_a) {
|
|
66
|
-
var key = _a[0], value = _a[1];
|
|
67
|
-
return [value, key];
|
|
68
|
-
}));
|
|
69
|
-
/**
|
|
70
|
-
* Converts descriptive color keys to their numeric equivalents.
|
|
71
|
-
*
|
|
72
|
-
* This function takes a set of CSS variable keys and transforms
|
|
73
|
-
* descriptive color keys (e.g. 'extra-light', 'main') into their
|
|
74
|
-
* numeric equivalents(e.g. 100, 200, ..., 500) as defined in the colorMapping object.
|
|
75
|
-
*
|
|
76
|
-
* e.g.
|
|
77
|
-
* Input:
|
|
78
|
-
* {
|
|
79
|
-
* '--sendbird-light-primary-extra-dark': '#00487c',
|
|
80
|
-
* '--sendbird-light-primary-dark': '#4bb3fd',
|
|
81
|
-
* '--sendbird-light-primary-main': '#3e6680',
|
|
82
|
-
* '--sendbird-light-primary-light': '#0496ff',
|
|
83
|
-
* '--sendbird-light-primary-extra-light': '#027bce',
|
|
84
|
-
* }
|
|
85
|
-
*
|
|
86
|
-
* Output:
|
|
87
|
-
* {
|
|
88
|
-
* '--sendbird-light-primary-500': '#00487c',
|
|
89
|
-
* '--sendbird-light-primary-400': '#4bb3fd',
|
|
90
|
-
* '--sendbird-light-primary-300': '#3e6680',
|
|
91
|
-
* '--sendbird-light-primary-200': '#0496ff',
|
|
92
|
-
* '--sendbird-light-primary-100': '#027bce',
|
|
93
|
-
* }
|
|
94
|
-
*
|
|
95
|
-
* @param {ColorSet} colorSet - The input object containing CSS variables with descriptive keys.
|
|
96
|
-
* @returns {ColorSet} The transformed object with numeric keys.
|
|
97
|
-
*/
|
|
98
|
-
var mapColorKeys = function (colorSet) {
|
|
99
|
-
var mappedColors = {};
|
|
100
|
-
Object.entries(colorSet).forEach(function (_a) {
|
|
101
|
-
var key = _a[0], value = _a[1];
|
|
102
|
-
var descriptiveKey = key;
|
|
103
|
-
for (var _i = 0, colorMappingOrder_1 = colorMappingOrder; _i < colorMappingOrder_1.length; _i++) {
|
|
104
|
-
var mappingValue = colorMappingOrder_1[_i];
|
|
105
|
-
// Prepare a regex to match the mapping value at the end of the key
|
|
106
|
-
// e.g., '-extra-dark$'
|
|
107
|
-
var regex = new RegExp("-".concat(mappingValue, "$"));
|
|
108
|
-
if (regex.test(key)) {
|
|
109
|
-
// Find the corresponding numeric key for the mapping value using Map
|
|
110
|
-
var numericKey = colorMappingMap.get(mappingValue);
|
|
111
|
-
if (numericKey) {
|
|
112
|
-
// Replace the descriptive text with the numeric key
|
|
113
|
-
descriptiveKey = key.replace(regex, "-".concat(numericKey));
|
|
114
|
-
break;
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
mappedColors[descriptiveKey] = value;
|
|
119
|
-
});
|
|
120
|
-
return mappedColors;
|
|
121
|
-
};
|
|
122
|
-
|
|
123
|
-
// simple component to be used as modal root
|
|
124
|
-
var MODAL_ROOT = 'sendbird-modal-root';
|
|
125
|
-
var ModalRoot = function () { return (React__default.default.createElement("div", { id: MODAL_ROOT, className: MODAL_ROOT })); };
|
|
126
|
-
|
|
127
|
-
var ModalHeader = function (_a) {
|
|
128
|
-
var titleText = _a.titleText, onCloseClick = _a.onCloseClick;
|
|
129
|
-
return (React__default.default.createElement("div", { className: "sendbird-modal__header" },
|
|
130
|
-
React__default.default.createElement(ui_Label.Label, { type: ui_Label.LabelTypography.H_1, color: ui_Label.LabelColors.ONBACKGROUND_1 }, titleText),
|
|
131
|
-
React__default.default.createElement("div", { className: "sendbird-modal__close" },
|
|
132
|
-
React__default.default.createElement(ui_IconButton, { width: "32px", height: "32px", onClick: onCloseClick },
|
|
133
|
-
React__default.default.createElement(ui_Icon.default, { type: ui_Icon.IconTypes.CLOSE, fillColor: ui_Icon.IconColors.DEFAULT, width: "24px", height: "24px" })))));
|
|
134
|
-
};
|
|
135
|
-
var ModalBody = function (_a) {
|
|
136
|
-
var children = _a.children;
|
|
137
|
-
return (React__default.default.createElement("div", { className: "sendbird-modal__body" },
|
|
138
|
-
React__default.default.createElement(ui_Label.Label, { type: ui_Label.LabelTypography.SUBTITLE_1, color: ui_Label.LabelColors.ONBACKGROUND_2 }, children)));
|
|
139
|
-
};
|
|
140
|
-
var ModalFooter = function (_a) {
|
|
141
|
-
var submitText = _a.submitText, _b = _a.disabled, disabled = _b === void 0 ? false : _b, _c = _a.hideCancelButton, hideCancelButton = _c === void 0 ? false : _c, _d = _a.type, type = _d === void 0 ? ui_Button.ButtonTypes.DANGER : _d, onSubmit = _a.onSubmit, onCancel = _a.onCancel;
|
|
142
|
-
var stringSet = React.useContext(LocalizationContext.LocalizationContext).stringSet;
|
|
143
|
-
return (React__default.default.createElement("div", { className: "sendbird-modal__footer" },
|
|
144
|
-
!hideCancelButton && (React__default.default.createElement(ui_Button.default, { type: ui_Button.ButtonTypes.SECONDARY, onClick: onCancel },
|
|
145
|
-
React__default.default.createElement(ui_Label.Label, { type: ui_Label.LabelTypography.BUTTON_1, color: ui_Label.LabelColors.ONBACKGROUND_1 }, stringSet.BUTTON__CANCEL))),
|
|
146
|
-
React__default.default.createElement(ui_Button.default, { type: type, disabled: disabled, onClick: onSubmit }, submitText)));
|
|
147
|
-
};
|
|
148
|
-
function Modal(props) {
|
|
149
|
-
var _a;
|
|
150
|
-
var _b = props.children, children = _b === void 0 ? null : _b, _c = props.className, className = _c === void 0 ? '' : _c, _d = props.contentClassName, contentClassName = _d === void 0 ? '' : _d, _e = props.isCloseOnClickOutside, isCloseOnClickOutside = _e === void 0 ? false : _e, _f = props.isFullScreenOnMobile, isFullScreenOnMobile = _f === void 0 ? false : _f, titleText = props.titleText, submitText = props.submitText, _g = props.disabled, disabled = _g === void 0 ? false : _g, _h = props.hideFooter, hideFooter = _h === void 0 ? false : _h, _j = props.type, type = _j === void 0 ? ui_Button.ButtonTypes.DANGER : _j, renderHeader = props.renderHeader, _k = props.onSubmit, onSubmit = _k === void 0 ? utils.noop : _k, onClose = props.onClose, onCancel = props.onCancel, customFooter = props.customFooter;
|
|
151
|
-
var handleClose = (_a = onClose !== null && onClose !== void 0 ? onClose : onCancel) !== null && _a !== void 0 ? _a : utils.noop;
|
|
152
|
-
var eventHandlers = useSendbirdStateContext.useSendbirdStateContext().eventHandlers;
|
|
153
|
-
var id = React.useState(function () { return "sbu-modal-".concat(uuid.uuidv4()); })[0];
|
|
154
|
-
React.useEffect(function () {
|
|
155
|
-
var _a, _b;
|
|
156
|
-
return (_b = (_a = eventHandlers === null || eventHandlers === void 0 ? void 0 : eventHandlers.modal) === null || _a === void 0 ? void 0 : _a.onMounted) === null || _b === void 0 ? void 0 : _b.call(_a, { close: handleClose, id: id });
|
|
157
|
-
}, []);
|
|
158
|
-
var isMobile = MediaQueryContext.useMediaQueryContext().isMobile;
|
|
159
|
-
return reactDom.createPortal(React__default.default.createElement("div", { className: utils.classnames('sendbird-modal', className, isFullScreenOnMobile && isMobile && 'sendbird-modal--full-mobile') },
|
|
160
|
-
React__default.default.createElement("div", { className: utils.classnames.apply(void 0, _tslib.__spreadArray(['sendbird-modal__content'], (Array.isArray(contentClassName) ? contentClassName : [contentClassName]), false)) },
|
|
161
|
-
(renderHeader === null || renderHeader === void 0 ? void 0 : renderHeader()) || React__default.default.createElement(ModalHeader, { titleText: titleText !== null && titleText !== void 0 ? titleText : '', onCloseClick: handleClose }),
|
|
162
|
-
React__default.default.createElement(ModalBody, null, children),
|
|
163
|
-
!hideFooter
|
|
164
|
-
&& (customFooter !== null && customFooter !== void 0 ? customFooter : (React__default.default.createElement(ModalFooter, { disabled: disabled, onCancel: handleClose, onSubmit: onSubmit, submitText: submitText !== null && submitText !== void 0 ? submitText : '', type: type })))),
|
|
165
|
-
React__default.default.createElement("div", { className: utils.classnames('sendbird-modal__backdrop', isCloseOnClickOutside && 'sendbird-modal__backdrop--clickoutside'), onClick: function (e) {
|
|
166
|
-
e === null || e === void 0 ? void 0 : e.stopPropagation();
|
|
167
|
-
if (isCloseOnClickOutside) {
|
|
168
|
-
handleClose();
|
|
169
|
-
}
|
|
170
|
-
} })), document.getElementById(MODAL_ROOT));
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
var Context = React.createContext({
|
|
174
|
-
start: utils.noop,
|
|
175
|
-
stop: utils.noop,
|
|
176
|
-
isRecordable: false,
|
|
177
|
-
});
|
|
178
|
-
var VoiceRecorderProvider = function (props) {
|
|
179
|
-
var _a;
|
|
180
|
-
var children = props.children;
|
|
181
|
-
var config = useSendbirdStateContext.useSendbirdStateContext().config;
|
|
182
|
-
var logger = config.logger, groupChannel = config.groupChannel;
|
|
183
|
-
var _b = React.useState(null), mediaRecorder = _b[0], setMediaRecorder = _b[1];
|
|
184
|
-
var _c = React.useState(false), isRecordable = _c[0], setIsRecordable = _c[1];
|
|
185
|
-
var _d = React.useState(false), permissionWarning = _d[0], setPermissionWarning = _d[1];
|
|
186
|
-
var stringSet = LocalizationContext.useLocalization().stringSet;
|
|
187
|
-
var isVoiceMessageEnabled = groupChannel.enableVoiceMessage;
|
|
188
|
-
var _e = React.useState(null), webAudioUtils = _e[0], setWebAudioUtils = _e[1];
|
|
189
|
-
var browserSupportMimeType = (_a = consts.BROWSER_SUPPORT_MIME_TYPE_LIST.find(function (mimeType) { return MediaRecorder.isTypeSupported(mimeType); })) !== null && _a !== void 0 ? _a : '';
|
|
190
|
-
if (isVoiceMessageEnabled && !browserSupportMimeType) {
|
|
191
|
-
logger.error('VoiceRecorder: Browser does not support mimeType', { mimmeTypes: consts.BROWSER_SUPPORT_MIME_TYPE_LIST });
|
|
192
|
-
}
|
|
193
|
-
React.useEffect(function () {
|
|
194
|
-
if (isVoiceMessageEnabled && !webAudioUtils) {
|
|
195
|
-
Promise.resolve().then(function () { return require('./bundle-BOCivP7e.js'); }).then(function (module) { return setWebAudioUtils(module); });
|
|
196
|
-
}
|
|
197
|
-
}, [isVoiceMessageEnabled, webAudioUtils]);
|
|
198
|
-
var start = React.useCallback(function (eventHandler) {
|
|
199
|
-
var _a, _b;
|
|
200
|
-
if (isVoiceMessageEnabled && !webAudioUtils) {
|
|
201
|
-
logger.error('VoiceRecorder: Recording audio processor is being loaded.');
|
|
202
|
-
return;
|
|
203
|
-
}
|
|
204
|
-
var checkPermission = function () {
|
|
205
|
-
try {
|
|
206
|
-
// Type '"microphone"' is not assignable to type 'PermissionName'.ts(2322)
|
|
207
|
-
// this is typescript issue
|
|
208
|
-
// https://github.com/microsoft/TypeScript/issues/33923
|
|
209
|
-
// @ts-expect-error
|
|
210
|
-
navigator.permissions.query({ name: 'microphone' }).then(function (result) {
|
|
211
|
-
if (result.state === 'denied') {
|
|
212
|
-
logger.warning('VoiceRecorder: Permission denied.');
|
|
213
|
-
setPermissionWarning(true);
|
|
214
|
-
}
|
|
215
|
-
});
|
|
216
|
-
}
|
|
217
|
-
catch (error) {
|
|
218
|
-
logger.warning('VoiceRecorder: Failed to check permission.', error);
|
|
219
|
-
}
|
|
220
|
-
};
|
|
221
|
-
logger.info('VoiceRecorder: Start recording.');
|
|
222
|
-
if (mediaRecorder) {
|
|
223
|
-
stop();
|
|
224
|
-
logger.info('VoiceRecorder: Previous mediaRecorder is stopped.');
|
|
225
|
-
}
|
|
226
|
-
checkPermission();
|
|
227
|
-
(_b = (_a = navigator === null || navigator === void 0 ? void 0 : navigator.mediaDevices) === null || _a === void 0 ? void 0 : _a.getUserMedia) === null || _b === void 0 ? void 0 : _b.call(_a, { audio: true }).then(function (stream) {
|
|
228
|
-
var _a;
|
|
229
|
-
logger.info('VoiceRecorder: Succeeded getting media stream.', stream);
|
|
230
|
-
setIsRecordable(true);
|
|
231
|
-
var mediaRecorder = new MediaRecorder(stream, {
|
|
232
|
-
mimeType: browserSupportMimeType,
|
|
233
|
-
audioBitsPerSecond: consts.VOICE_RECORDER_AUDIO_BIT_RATE,
|
|
234
|
-
});
|
|
235
|
-
// when recording stops
|
|
236
|
-
mediaRecorder.ondataavailable = function (e) {
|
|
237
|
-
logger.info('VoiceRecorder: Succeeded getting an available data.', e.data);
|
|
238
|
-
var audioFile = new File([e.data], consts.VOICE_MESSAGE_FILE_NAME, {
|
|
239
|
-
lastModified: new Date().getTime(),
|
|
240
|
-
type: consts.VOICE_MESSAGE_MIME_TYPE,
|
|
241
|
-
});
|
|
242
|
-
webAudioUtils === null || webAudioUtils === void 0 ? void 0 : webAudioUtils.downsampleToWav(audioFile, function (buffer) {
|
|
243
|
-
var _a;
|
|
244
|
-
var mp3Buffer = webAudioUtils === null || webAudioUtils === void 0 ? void 0 : webAudioUtils.encodeMp3(buffer);
|
|
245
|
-
var mp3blob = new Blob(mp3Buffer, { type: consts.VOICE_MESSAGE_MIME_TYPE });
|
|
246
|
-
var convertedAudioFile = new File([mp3blob], consts.VOICE_MESSAGE_FILE_NAME, {
|
|
247
|
-
lastModified: new Date().getTime(),
|
|
248
|
-
type: consts.VOICE_MESSAGE_MIME_TYPE,
|
|
249
|
-
});
|
|
250
|
-
(_a = eventHandler === null || eventHandler === void 0 ? void 0 : eventHandler.onRecordingEnded) === null || _a === void 0 ? void 0 : _a.call(eventHandler, convertedAudioFile);
|
|
251
|
-
logger.info('VoiceRecorder: Succeeded converting audio file.', convertedAudioFile);
|
|
252
|
-
});
|
|
253
|
-
var tracks = stream.getAudioTracks();
|
|
254
|
-
tracks.forEach(function (track) { return track.stop(); });
|
|
255
|
-
setIsRecordable(false);
|
|
256
|
-
};
|
|
257
|
-
mediaRecorder.onstart = (_a = eventHandler === null || eventHandler === void 0 ? void 0 : eventHandler.onRecordingStarted) !== null && _a !== void 0 ? _a : utils.noop;
|
|
258
|
-
mediaRecorder === null || mediaRecorder === void 0 ? void 0 : mediaRecorder.start();
|
|
259
|
-
setMediaRecorder(mediaRecorder);
|
|
260
|
-
}).catch(function (err) {
|
|
261
|
-
logger.error('VoiceRecorder: Failed getting media stream.', err);
|
|
262
|
-
setMediaRecorder(null);
|
|
263
|
-
});
|
|
264
|
-
}, [mediaRecorder, webAudioUtils]);
|
|
265
|
-
var stop = React.useCallback(function () {
|
|
266
|
-
// Stop recording
|
|
267
|
-
mediaRecorder === null || mediaRecorder === void 0 ? void 0 : mediaRecorder.stop();
|
|
268
|
-
setMediaRecorder(null);
|
|
269
|
-
setIsRecordable(false);
|
|
270
|
-
logger.info('VoiceRecorder: Stop recording.');
|
|
271
|
-
}, [mediaRecorder]);
|
|
272
|
-
return (React__default.default.createElement(Context.Provider, { value: { start: start, stop: stop, isRecordable: isRecordable } },
|
|
273
|
-
children,
|
|
274
|
-
permissionWarning && (React__default.default.createElement(Modal, { hideFooter: true, onClose: function () { return setPermissionWarning(false); } },
|
|
275
|
-
React__default.default.createElement(React__default.default.Fragment, null, stringSet.VOICE_RECORDING_PERMISSION_DENIED)))));
|
|
276
|
-
};
|
|
277
|
-
var useVoiceRecorderContext = function () { return React.useContext(Context); };
|
|
278
|
-
var index = {
|
|
279
|
-
VoiceRecorderProvider: VoiceRecorderProvider,
|
|
280
|
-
useVoiceRecorderContext: useVoiceRecorderContext,
|
|
281
|
-
};
|
|
282
|
-
|
|
283
|
-
var GlobalModalContext = React.createContext({
|
|
284
|
-
openModal: utils.noop,
|
|
285
|
-
});
|
|
286
|
-
var GlobalModalProvider = function (_a) {
|
|
287
|
-
var children = _a.children;
|
|
288
|
-
// Idea from https://dev.to/nurislamov/simple-modals-queue-in-react-4g6c
|
|
289
|
-
var _b = React.useState([]), globalModalQueue = _b[0], setGlobalModalQueue = _b[1];
|
|
290
|
-
var openModal = React.useCallback(function (props) {
|
|
291
|
-
setGlobalModalQueue(function (currentQue) { return _tslib.__spreadArray(_tslib.__spreadArray([], currentQue, true), [props], false); });
|
|
292
|
-
}, []);
|
|
293
|
-
var closeModal = React.useCallback(function () {
|
|
294
|
-
setGlobalModalQueue(function (currentQue) { return currentQue.slice(1); });
|
|
295
|
-
}, []);
|
|
296
|
-
var ModalComponent = React.useMemo(function () { return function () {
|
|
297
|
-
return index$1.K(globalModalQueue)
|
|
298
|
-
.when(function (q) { return q.length === 0; }, function () {
|
|
299
|
-
return React__default.default.createElement(React__default.default.Fragment, null);
|
|
300
|
-
})
|
|
301
|
-
.otherwise(function () {
|
|
302
|
-
var _a = globalModalQueue[0], modalProps = _a.modalProps, childElement = _a.childElement;
|
|
303
|
-
return (React__default.default.createElement(Modal, _tslib.__assign({}, modalProps, { className: utils.classnames('sendbird-global-modal', modalProps === null || modalProps === void 0 ? void 0 : modalProps.className), onClose: function () {
|
|
304
|
-
var _a;
|
|
305
|
-
(_a = modalProps === null || modalProps === void 0 ? void 0 : modalProps.onClose) === null || _a === void 0 ? void 0 : _a.call(modalProps);
|
|
306
|
-
closeModal();
|
|
307
|
-
} }), childElement({
|
|
308
|
-
closeModal: closeModal,
|
|
309
|
-
})));
|
|
310
|
-
});
|
|
311
|
-
}; }, [globalModalQueue]);
|
|
312
|
-
return (React__default.default.createElement(GlobalModalContext.Provider, { value: {
|
|
313
|
-
openModal: openModal,
|
|
314
|
-
} },
|
|
315
|
-
React__default.default.createElement(ModalComponent, null),
|
|
316
|
-
children));
|
|
317
|
-
};
|
|
318
|
-
var useGlobalModalContext = function () { return React.useContext(GlobalModalContext); };
|
|
319
|
-
|
|
320
|
-
var EmojiManager = /** @class */ (function () {
|
|
321
|
-
function EmojiManager(props) {
|
|
322
|
-
var _this = this;
|
|
323
|
-
var _a;
|
|
324
|
-
var sdk = props.sdk, logger = props.logger;
|
|
325
|
-
(_a = sdk === null || sdk === void 0 ? void 0 : sdk.getAllEmoji) === null || _a === void 0 ? void 0 : _a.call(sdk).then(function (emojiContainer) {
|
|
326
|
-
_this._emojiContainer = emojiContainer;
|
|
327
|
-
logger === null || logger === void 0 ? void 0 : logger.info('EmojiManager | Succeeded getting all emojis. ', emojiContainer);
|
|
328
|
-
}).catch(function () {
|
|
329
|
-
logger === null || logger === void 0 ? void 0 : logger.warning('EmojiManager | Failed getting all emojis.');
|
|
330
|
-
});
|
|
331
|
-
}
|
|
332
|
-
Object.defineProperty(EmojiManager.prototype, "AllEmojisAsArray", {
|
|
333
|
-
get: function () {
|
|
334
|
-
return this._emojiContainer.emojiCategories.flatMap(function (category) { return category.emojis; });
|
|
335
|
-
},
|
|
336
|
-
enumerable: false,
|
|
337
|
-
configurable: true
|
|
338
|
-
});
|
|
339
|
-
Object.defineProperty(EmojiManager.prototype, "AllEmojisAsMap", {
|
|
340
|
-
get: function () {
|
|
341
|
-
return this._emojiContainer.emojiCategories
|
|
342
|
-
.flatMap(function (category) { return category.emojis; })
|
|
343
|
-
.reduce(function (map, emoji) {
|
|
344
|
-
map.set(emoji.key, emoji.url);
|
|
345
|
-
return map;
|
|
346
|
-
}, new Map());
|
|
347
|
-
},
|
|
348
|
-
enumerable: false,
|
|
349
|
-
configurable: true
|
|
350
|
-
});
|
|
351
|
-
EmojiManager.prototype.getAllEmojis = function (type) {
|
|
352
|
-
var _this = this;
|
|
353
|
-
return index$1.K(type)
|
|
354
|
-
.when(function (type) { return ['array', 'arr'].includes(type); }, function () { return _this.AllEmojisAsArray; })
|
|
355
|
-
.when(function (type) { return ['map'].includes(type); }, function () { return _this.AllEmojisAsMap; })
|
|
356
|
-
.otherwise(function () { return _this.AllEmojisAsArray; });
|
|
357
|
-
};
|
|
358
|
-
EmojiManager.prototype.getEmojiUrl = function (reactionKey) {
|
|
359
|
-
var _a, _b;
|
|
360
|
-
return (_b = (_a = this.AllEmojisAsArray.find(function (emoji) { return emoji.key === reactionKey; })) === null || _a === void 0 ? void 0 : _a.url) !== null && _b !== void 0 ? _b : '';
|
|
361
|
-
};
|
|
362
|
-
Object.defineProperty(EmojiManager.prototype, "emojiContainer", {
|
|
363
|
-
get: function () {
|
|
364
|
-
return this._emojiContainer;
|
|
365
|
-
},
|
|
366
|
-
enumerable: false,
|
|
367
|
-
configurable: true
|
|
368
|
-
});
|
|
369
|
-
return EmojiManager;
|
|
370
|
-
}());
|
|
371
|
-
|
|
372
|
-
exports.EmojiManager = EmojiManager;
|
|
373
|
-
exports.GlobalModalProvider = GlobalModalProvider;
|
|
374
|
-
exports.MODAL_ROOT = MODAL_ROOT;
|
|
375
|
-
exports.Modal = Modal;
|
|
376
|
-
exports.ModalBody = ModalBody;
|
|
377
|
-
exports.ModalFooter = ModalFooter;
|
|
378
|
-
exports.ModalHeader = ModalHeader;
|
|
379
|
-
exports.ModalRoot = ModalRoot;
|
|
380
|
-
exports.VoiceRecorderProvider = VoiceRecorderProvider;
|
|
381
|
-
exports.index = index;
|
|
382
|
-
exports.mapColorKeys = mapColorKeys;
|
|
383
|
-
exports.useGlobalModalContext = useGlobalModalContext;
|
|
384
|
-
exports.useVoiceRecorderContext = useVoiceRecorderContext;
|
|
385
|
-
//# sourceMappingURL=bundle-Ol1CxgYk.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"bundle-Ol1CxgYk.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"bundle-QF_AmnwV.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"bundle-R7sVfaA9.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"bundle-S-XkXH4q.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"bundle-XANrnOqB.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"bundle-XxCVYLKy.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"bundle-YTiDKoON.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"bundle-m5OpCHlj.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"bundle-nWxq3V_Q.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"bundle-n_Z6yPjx.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"bundle-qMxPIH0k.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"bundle-s1cLz65w.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;"}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
var React = require('react');
|
|
6
|
-
var withSendbird = require('./withSendbird.js');
|
|
7
|
-
require('./chunks/bundle-D1slQ3hS.js');
|
|
8
|
-
|
|
9
|
-
/**
|
|
10
|
-
* Example:
|
|
11
|
-
* const MyComponent = () => {
|
|
12
|
-
* const context = useSendbirdStateContext();
|
|
13
|
-
* const sdk = sendbirdSelectors.getSdk(context);
|
|
14
|
-
* return (<div>...</div>);
|
|
15
|
-
* }
|
|
16
|
-
*/
|
|
17
|
-
var NO_CONTEXT_ERROR = 'No sendbird state value available. Make sure you are rendering `<SendbirdProvider>` at the top of your app.';
|
|
18
|
-
function useSendbirdStateContext() {
|
|
19
|
-
var context = React.useContext(withSendbird.SendbirdSdkContext);
|
|
20
|
-
if (!context)
|
|
21
|
-
throw new Error(NO_CONTEXT_ERROR);
|
|
22
|
-
return context;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
exports.default = useSendbirdStateContext;
|
|
26
|
-
exports.useSendbirdStateContext = useSendbirdStateContext;
|
|
27
|
-
//# sourceMappingURL=useSendbirdStateContext.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useSendbirdStateContext.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/cjs/withSendbird.js
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
var _tslib = require('./chunks/bundle-D1slQ3hS.js');
|
|
6
|
-
var React = require('react');
|
|
7
|
-
|
|
8
|
-
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
|
9
|
-
|
|
10
|
-
var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
11
|
-
|
|
12
|
-
var SendbirdSdkContext = React__default.default.createContext(null);
|
|
13
|
-
/**
|
|
14
|
-
* @deprecated This function is deprecated. Use `useSendbirdStateContext` instead.
|
|
15
|
-
* */
|
|
16
|
-
var withSendbirdContext = function (OriginalComponent, mapStoreToProps) {
|
|
17
|
-
var ContextAwareComponent = function (props) { return (React__default.default.createElement(SendbirdSdkContext.Consumer, null, function (context) {
|
|
18
|
-
if (mapStoreToProps && typeof mapStoreToProps !== 'function') {
|
|
19
|
-
// eslint-disable-next-line no-console
|
|
20
|
-
console.warn('Second parameter to withSendbirdContext must be a pure function');
|
|
21
|
-
}
|
|
22
|
-
var mergedProps = (mapStoreToProps && typeof mapStoreToProps === 'function')
|
|
23
|
-
? _tslib.__assign(_tslib.__assign({}, mapStoreToProps(context)), props) : _tslib.__assign(_tslib.__assign({}, context), props);
|
|
24
|
-
return React__default.default.createElement(OriginalComponent, _tslib.__assign({}, mergedProps));
|
|
25
|
-
})); };
|
|
26
|
-
var componentName = OriginalComponent.displayName || OriginalComponent.name || 'Component';
|
|
27
|
-
ContextAwareComponent.displayName = "SendbirdAware".concat(componentName);
|
|
28
|
-
return ContextAwareComponent;
|
|
29
|
-
};
|
|
30
|
-
|
|
31
|
-
exports.SendbirdSdkContext = SendbirdSdkContext;
|
|
32
|
-
exports.default = withSendbirdContext;
|
|
33
|
-
//# sourceMappingURL=withSendbird.js.map
|
package/cjs/withSendbird.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"withSendbird.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/types/lib/Sendbird.d.ts
DELETED
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import './index.scss';
|
|
2
|
-
import './__experimental__typography.scss';
|
|
3
|
-
import React from 'react';
|
|
4
|
-
import { GroupChannel } from '@sendbird/chat/groupChannel';
|
|
5
|
-
import { StringSet } from '../ui/Label/stringSet';
|
|
6
|
-
import { ConfigureSessionTypes } from './hooks/useConnect/types';
|
|
7
|
-
import { UIKitOptions, CommonUIKitConfigProps, SendbirdChatInitParams, CustomExtensionParams, SBUEventHandlers } from './types';
|
|
8
|
-
import { HTMLTextDirection, RenderUserProfileProps, UserListQuery } from '../types';
|
|
9
|
-
import { SBUGlobalPubSub } from './pubSub/topics';
|
|
10
|
-
export { useSendbirdStateContext } from '../hooks/useSendbirdStateContext';
|
|
11
|
-
interface VoiceRecordOptions {
|
|
12
|
-
maxRecordingTime?: number;
|
|
13
|
-
minRecordingTime?: number;
|
|
14
|
-
}
|
|
15
|
-
export type ImageCompressionOutputFormatType = 'preserve' | 'png' | 'jpeg';
|
|
16
|
-
export interface ImageCompressionOptions {
|
|
17
|
-
compressionRate?: number;
|
|
18
|
-
resizingWidth?: number | string;
|
|
19
|
-
resizingHeight?: number | string;
|
|
20
|
-
outputFormat?: ImageCompressionOutputFormatType;
|
|
21
|
-
}
|
|
22
|
-
export interface SendbirdConfig {
|
|
23
|
-
logLevel?: string | Array<string>;
|
|
24
|
-
pubSub?: SBUGlobalPubSub;
|
|
25
|
-
userMention?: {
|
|
26
|
-
maxMentionCount?: number;
|
|
27
|
-
maxSuggestionCount?: number;
|
|
28
|
-
};
|
|
29
|
-
isREMUnitEnabled?: boolean;
|
|
30
|
-
}
|
|
31
|
-
export interface SendbirdProviderProps extends CommonUIKitConfigProps, React.PropsWithChildren<unknown> {
|
|
32
|
-
appId: string;
|
|
33
|
-
userId: string;
|
|
34
|
-
accessToken?: string;
|
|
35
|
-
customApiHost?: string;
|
|
36
|
-
customWebSocketHost?: string;
|
|
37
|
-
configureSession?: ConfigureSessionTypes;
|
|
38
|
-
theme?: 'light' | 'dark';
|
|
39
|
-
config?: SendbirdConfig;
|
|
40
|
-
nickname?: string;
|
|
41
|
-
colorSet?: Record<string, string>;
|
|
42
|
-
stringSet?: Partial<StringSet>;
|
|
43
|
-
dateLocale?: Locale;
|
|
44
|
-
profileUrl?: string;
|
|
45
|
-
voiceRecord?: VoiceRecordOptions;
|
|
46
|
-
userListQuery?: () => UserListQuery;
|
|
47
|
-
imageCompression?: ImageCompressionOptions;
|
|
48
|
-
allowProfileEdit?: boolean;
|
|
49
|
-
disableMarkAsDelivered?: boolean;
|
|
50
|
-
breakpoint?: string | boolean;
|
|
51
|
-
htmlTextDirection?: HTMLTextDirection;
|
|
52
|
-
forceLeftToRightMessageLayout?: boolean;
|
|
53
|
-
uikitOptions?: UIKitOptions;
|
|
54
|
-
isUserIdUsedForNickname?: boolean;
|
|
55
|
-
sdkInitParams?: SendbirdChatInitParams;
|
|
56
|
-
customExtensionParams?: CustomExtensionParams;
|
|
57
|
-
isMultipleFilesMessageEnabled?: boolean;
|
|
58
|
-
renderUserProfile?: (props: RenderUserProfileProps) => React.ReactElement;
|
|
59
|
-
onStartDirectMessage?: (channel: GroupChannel) => void;
|
|
60
|
-
/**
|
|
61
|
-
* @deprecated Please use `onStartDirectMessage` instead. It's renamed.
|
|
62
|
-
*/
|
|
63
|
-
onUserProfileMessage?: (channel: GroupChannel) => void;
|
|
64
|
-
eventHandlers?: SBUEventHandlers;
|
|
65
|
-
}
|
|
66
|
-
export declare function SendbirdProvider(props: SendbirdProviderProps): React.JSX.Element;
|
|
67
|
-
export default SendbirdProvider;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { SendBirdState } from './types';
|
|
3
|
-
type ContextAwareComponentType = {
|
|
4
|
-
(props: any): JSX.Element;
|
|
5
|
-
displayName: string;
|
|
6
|
-
};
|
|
7
|
-
export declare const SendbirdSdkContext: React.Context<SendBirdState>;
|
|
8
|
-
/**
|
|
9
|
-
* @deprecated This function is deprecated. Use `useSendbirdStateContext` instead.
|
|
10
|
-
* */
|
|
11
|
-
declare const withSendbirdContext: (OriginalComponent: any, mapStoreToProps: Record<string, any>) => ContextAwareComponentType;
|
|
12
|
-
export default withSendbirdContext;
|