@sendbird/uikit-react 3.9.0 → 3.9.1-rc-2
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/CHANGELOG.md +23 -0
- package/dist/App.js +422 -0
- package/dist/App.js.map +1 -0
- package/dist/CHANGELOG.md +1980 -0
- package/dist/Channel/components/ChannelHeader.js +67 -0
- package/dist/Channel/components/ChannelUI.js +162 -0
- package/dist/Channel/components/ChannelUI.js.map +1 -0
- package/dist/Channel/components/FileViewer.js +88 -0
- package/dist/Channel/components/FrozenNotification.js +16 -0
- package/dist/Channel/components/Message.js +341 -0
- package/dist/Channel/components/MessageInput.js +205 -0
- package/dist/Channel/components/MessageInput.js.map +1 -0
- package/dist/Channel/components/MessageList.js +111 -0
- package/dist/Channel/components/RemoveMessageModal.js +52 -0
- package/dist/Channel/components/SuggestedMentionList.js +198 -0
- package/dist/Channel/components/TypingIndicator.js +84 -0
- package/dist/Channel/components/UnreadCount.js +33 -0
- package/dist/Channel/context.js +24 -0
- package/dist/Channel/hooks/useHandleUploadFiles.js +133 -0
- package/dist/Channel/hooks/useHandleUploadFiles.js.map +1 -0
- package/dist/Channel/hooks/useInitialMessagesFetch.js +109 -0
- package/dist/Channel/utils/compareMessagesForGrouping.js +26 -0
- package/dist/Channel/utils/getMessagePartsInfo.js +34 -0
- package/dist/Channel.js +132 -0
- package/dist/Channel.js.map +1 -0
- package/dist/ChannelList/components/AddChannel.js +61 -0
- package/dist/ChannelList/components/ChannelListHeader.js +41 -0
- package/dist/ChannelList/components/ChannelListUI.js +147 -0
- package/dist/ChannelList/components/ChannelPreview.js +131 -0
- package/dist/ChannelList/components/ChannelPreviewAction.js +71 -0
- package/dist/ChannelList/context.js +15 -0
- package/dist/ChannelList.js +81 -0
- package/dist/ChannelSettings/components/ChannelProfile.js +65 -0
- package/dist/ChannelSettings/components/ChannelSettingsUI.js +119 -0
- package/dist/ChannelSettings/components/EditDetailsModal.js +97 -0
- package/dist/ChannelSettings/components/LeaveChannel.js +67 -0
- package/dist/ChannelSettings/components/ModerationPanel.js +455 -0
- package/dist/ChannelSettings/components/UserListItem.js +67 -0
- package/dist/ChannelSettings/components/UserPanel.js +64 -0
- package/dist/ChannelSettings/context.js +69 -0
- package/dist/ChannelSettings.js +61 -0
- package/dist/CreateChannel/components/CreateChannelUI.js +48 -0
- package/dist/CreateChannel/components/InviteUsers.js +167 -0
- package/dist/CreateChannel/components/SelectChannelType.js +80 -0
- package/dist/CreateChannel/context.js +9 -0
- package/dist/CreateChannel.js +44 -0
- package/dist/CreateOpenChannel/components/CreateOpenChannelUI.js +68 -0
- package/dist/CreateOpenChannel/context.js +49 -0
- package/dist/CreateOpenChannel.js +33 -0
- package/dist/EditUserProfile/components/EditUserProfileUI.js +118 -0
- package/dist/EditUserProfile/components/EditUserProfileUI.js.map +1 -0
- package/dist/EditUserProfile.js +34 -0
- package/dist/LICENSE +21 -0
- package/dist/MessageSearch/components/MessageSearchUI.js +89 -0
- package/dist/MessageSearch/context.js +258 -0
- package/dist/MessageSearch.js +77 -0
- package/dist/OpenChannel/components/FrozenChannelNotification.js +15 -0
- package/dist/OpenChannel/components/OpenChannelHeader.js +54 -0
- package/dist/OpenChannel/components/OpenChannelHeader.js.map +1 -0
- package/dist/OpenChannel/components/OpenChannelInput.js +63 -0
- package/dist/OpenChannel/components/OpenChannelInput.js.map +1 -0
- package/dist/OpenChannel/components/OpenChannelMessage.js +197 -0
- package/dist/OpenChannel/components/OpenChannelMessage.js.map +1 -0
- package/dist/OpenChannel/components/OpenChannelMessageList.js +122 -0
- package/dist/OpenChannel/components/OpenChannelMessageList.js.map +1 -0
- package/dist/OpenChannel/components/OpenChannelUI.js +102 -0
- package/dist/OpenChannel/components/OpenChannelUI.js.map +1 -0
- package/dist/OpenChannel/context.js +29 -0
- package/dist/OpenChannel/context.js.map +1 -0
- package/dist/OpenChannel.js +80 -0
- package/dist/OpenChannel.js.map +1 -0
- package/dist/OpenChannelList/components/OpenChannelListUI.js +114 -0
- package/dist/OpenChannelList/components/OpenChannelPreview.js +29 -0
- package/dist/OpenChannelList/context.js +7 -0
- package/dist/OpenChannelList.js +45 -0
- package/dist/OpenChannelSettings/components/EditDetailsModal.js +89 -0
- package/dist/OpenChannelSettings/components/OpenChannelProfile.js +56 -0
- package/dist/OpenChannelSettings/components/OpenChannelSettingsUI.js +90 -0
- package/dist/OpenChannelSettings/components/OperatorUI.js +502 -0
- package/dist/OpenChannelSettings/components/ParticipantUI.js +36 -0
- package/dist/OpenChannelSettings/context.js +123 -0
- package/dist/OpenChannelSettings.js +56 -0
- package/dist/README.md +172 -0
- package/dist/SendbirdProvider.js +1060 -0
- package/dist/Thread/components/ParentMessageInfo.js +252 -0
- package/dist/Thread/components/ParentMessageInfo.js.map +1 -0
- package/dist/Thread/components/ParentMessageInfoItem.js +148 -0
- package/dist/Thread/components/ThreadHeader.js +32 -0
- package/dist/Thread/components/ThreadList.js +170 -0
- package/dist/Thread/components/ThreadListItem.js +333 -0
- package/dist/Thread/components/ThreadListItem.js.map +1 -0
- package/dist/Thread/components/ThreadMessageInput.js +187 -0
- package/dist/Thread/components/ThreadMessageInput.js.map +1 -0
- package/dist/Thread/components/ThreadUI.js +266 -0
- package/dist/Thread/components/ThreadUI.js.map +1 -0
- package/dist/Thread/context.js +1334 -0
- package/dist/Thread/context.js.map +1 -0
- package/dist/Thread.js +128 -0
- package/dist/Thread.js.map +1 -0
- package/dist/VoicePlayer/context.js +7 -0
- package/dist/VoicePlayer/useVoicePlayer.js +71 -0
- package/dist/VoiceRecorder/context.js +132 -0
- package/dist/VoiceRecorder/useVoiceRecorder.js +108 -0
- package/dist/chunks/bundle--Ejuxki1.js +16 -0
- package/dist/chunks/bundle--Ejuxki1.js.map +1 -0
- package/dist/chunks/bundle-14ncl99m.js +12 -0
- package/dist/chunks/bundle-14ncl99m.js.map +1 -0
- package/dist/chunks/bundle-2Op65qKC.js +277 -0
- package/dist/chunks/bundle-2Op65qKC.js.map +1 -0
- package/dist/chunks/bundle-3n2XFetI.js +16 -0
- package/dist/chunks/bundle-3n2XFetI.js.map +1 -0
- package/dist/chunks/bundle-4F9sKnDa.js +176 -0
- package/dist/chunks/bundle-4F9sKnDa.js.map +1 -0
- package/dist/chunks/bundle-5ZJpptGh.js +174 -0
- package/dist/chunks/bundle-5ZJpptGh.js.map +1 -0
- package/dist/chunks/bundle-5q71Q0qR.js +211 -0
- package/dist/chunks/bundle-5q71Q0qR.js.map +1 -0
- package/dist/chunks/bundle-6BNmQ0LM.js +13 -0
- package/dist/chunks/bundle-6BNmQ0LM.js.map +1 -0
- package/dist/chunks/bundle-6Jgiyczc.js +8 -0
- package/dist/chunks/bundle-6Jgiyczc.js.map +1 -0
- package/dist/chunks/bundle-6KxAQ3DO.js +1853 -0
- package/dist/chunks/bundle-6KxAQ3DO.js.map +1 -0
- package/dist/chunks/bundle-6_XxQIkT.js +125 -0
- package/dist/chunks/bundle-6_XxQIkT.js.map +1 -0
- package/dist/chunks/bundle-7JfqNhKH.js +18 -0
- package/dist/chunks/bundle-7JfqNhKH.js.map +1 -0
- package/dist/chunks/bundle-7sEsVYzR.js +66 -0
- package/dist/chunks/bundle-7sEsVYzR.js.map +1 -0
- package/dist/chunks/bundle-BLTESd6l.js +230 -0
- package/dist/chunks/bundle-BLTESd6l.js.map +1 -0
- package/dist/chunks/bundle-BMfmU73b.js +355 -0
- package/dist/chunks/bundle-BMfmU73b.js.map +1 -0
- package/dist/chunks/bundle-BYmCRR2q.js +15 -0
- package/dist/chunks/bundle-BYmCRR2q.js.map +1 -0
- package/dist/chunks/bundle-CUfPglBq.js +216 -0
- package/dist/chunks/bundle-CUfPglBq.js.map +1 -0
- package/dist/chunks/bundle-GWEiVUz_.js +147 -0
- package/dist/chunks/bundle-GWEiVUz_.js.map +1 -0
- package/dist/chunks/bundle-GxF20zCF.js +29 -0
- package/dist/chunks/bundle-GxF20zCF.js.map +1 -0
- package/dist/chunks/bundle-Hs9aaQff.js +222 -0
- package/dist/chunks/bundle-Hs9aaQff.js.map +1 -0
- package/dist/chunks/bundle-Iv7qFX4X.js +834 -0
- package/dist/chunks/bundle-Iv7qFX4X.js.map +1 -0
- package/dist/chunks/bundle-K753WYIS.js +57 -0
- package/dist/chunks/bundle-K753WYIS.js.map +1 -0
- package/dist/chunks/bundle-M4oxyPE-.js +24 -0
- package/dist/chunks/bundle-M4oxyPE-.js.map +1 -0
- package/dist/chunks/bundle-MF8abnx2.js +218 -0
- package/dist/chunks/bundle-MF8abnx2.js.map +1 -0
- package/dist/chunks/bundle-MPYPncdD.js +4 -0
- package/dist/chunks/bundle-MPYPncdD.js.map +1 -0
- package/dist/chunks/bundle-NjIn5xfq.js +36 -0
- package/dist/chunks/bundle-NjIn5xfq.js.map +1 -0
- package/dist/chunks/bundle-OxW3t01r.js +31 -0
- package/dist/chunks/bundle-OxW3t01r.js.map +1 -0
- package/dist/chunks/bundle-Rl5fvonY.js +1404 -0
- package/dist/chunks/bundle-Rl5fvonY.js.map +1 -0
- package/dist/chunks/bundle-RrmxRjer.js +508 -0
- package/dist/chunks/bundle-RrmxRjer.js.map +1 -0
- package/dist/chunks/bundle-U45GcWA_.js +28 -0
- package/dist/chunks/bundle-U45GcWA_.js.map +1 -0
- package/dist/chunks/bundle-UApGrG-m.js +1541 -0
- package/dist/chunks/bundle-UApGrG-m.js.map +1 -0
- package/dist/chunks/bundle-UGKbXjDM.js +112 -0
- package/dist/chunks/bundle-UGKbXjDM.js.map +1 -0
- package/dist/chunks/bundle-Vp2hvuBO.js +31 -0
- package/dist/chunks/bundle-Vp2hvuBO.js.map +1 -0
- package/dist/chunks/bundle-W3iSjA2l.js +235 -0
- package/dist/chunks/bundle-W3iSjA2l.js.map +1 -0
- package/dist/chunks/bundle-_HbjO2rd.js +262 -0
- package/dist/chunks/bundle-_HbjO2rd.js.map +1 -0
- package/dist/chunks/bundle-a2JLFpDM.js +78 -0
- package/dist/chunks/bundle-a2JLFpDM.js.map +1 -0
- package/dist/chunks/bundle-a8y3Ewac.js +174 -0
- package/dist/chunks/bundle-a8y3Ewac.js.map +1 -0
- package/dist/chunks/bundle-dVgSt0b0.js +36 -0
- package/dist/chunks/bundle-dVgSt0b0.js.map +1 -0
- package/dist/chunks/bundle-dxJV8pSS.js +76 -0
- package/dist/chunks/bundle-dxJV8pSS.js.map +1 -0
- package/dist/chunks/bundle-eBjVWhHZ.js +96 -0
- package/dist/chunks/bundle-eBjVWhHZ.js.map +1 -0
- package/dist/chunks/bundle-e_9mGqwg.js +13 -0
- package/dist/chunks/bundle-e_9mGqwg.js.map +1 -0
- package/dist/chunks/bundle-gXxnKnlk.js +9 -0
- package/dist/chunks/bundle-gXxnKnlk.js.map +1 -0
- package/dist/chunks/bundle-gkOxTHma.js +657 -0
- package/dist/chunks/bundle-gkOxTHma.js.map +1 -0
- package/dist/chunks/bundle-jczKqLnP.js +24 -0
- package/dist/chunks/bundle-jczKqLnP.js.map +1 -0
- package/dist/chunks/bundle-lnteErrw.js +5 -0
- package/dist/chunks/bundle-lnteErrw.js.map +1 -0
- package/dist/chunks/bundle-m-DDpdq8.js +70 -0
- package/dist/chunks/bundle-m-DDpdq8.js.map +1 -0
- package/dist/chunks/bundle-oTQSHYWK.js +98 -0
- package/dist/chunks/bundle-oTQSHYWK.js.map +1 -0
- package/dist/chunks/bundle-q496PSxP.js +72 -0
- package/dist/chunks/bundle-q496PSxP.js.map +1 -0
- package/dist/chunks/bundle-qHAQziqO.js +97 -0
- package/dist/chunks/bundle-qHAQziqO.js.map +1 -0
- package/dist/chunks/bundle-qufSYree.js +14 -0
- package/dist/chunks/bundle-qufSYree.js.map +1 -0
- package/dist/chunks/bundle-rdL93Rxj.js +42 -0
- package/dist/chunks/bundle-rdL93Rxj.js.map +1 -0
- package/dist/chunks/bundle-rfKswtch.js +134 -0
- package/dist/chunks/bundle-rfKswtch.js.map +1 -0
- package/dist/chunks/bundle-saiSPI85.js +4 -0
- package/dist/chunks/bundle-saiSPI85.js.map +1 -0
- package/dist/chunks/bundle-uDaAbuPs.js +132 -0
- package/dist/chunks/bundle-uDaAbuPs.js.map +1 -0
- package/dist/chunks/bundle-wfnnwHTT.js +77 -0
- package/dist/chunks/bundle-wfnnwHTT.js.map +1 -0
- package/dist/chunks/bundle-x4ZuQz8S.js +4 -0
- package/dist/chunks/bundle-x4ZuQz8S.js.map +1 -0
- package/dist/chunks/bundle-xTeLtbXU.js +4 -0
- package/dist/chunks/bundle-xTeLtbXU.js.map +1 -0
- package/dist/chunks/bundle-yOmQxfc5.js +131 -0
- package/dist/chunks/bundle-yOmQxfc5.js.map +1 -0
- package/dist/chunks/bundle-y_cfYqAg.js +69 -0
- package/dist/chunks/bundle-y_cfYqAg.js.map +1 -0
- package/dist/chunks/bundle-ybeKF-fO.js +26 -0
- package/dist/chunks/bundle-ybeKF-fO.js.map +1 -0
- package/dist/chunks/bundle-ypBBz_XL.js +62 -0
- package/dist/chunks/bundle-ypBBz_XL.js.map +1 -0
- package/dist/chunks/bundle-zrpCI795.js +25 -0
- package/dist/chunks/bundle-zrpCI795.js.map +1 -0
- package/dist/cjs/App.js +424 -0
- package/dist/cjs/App.js.map +1 -0
- package/dist/cjs/Channel/components/ChannelHeader.js +69 -0
- package/dist/cjs/Channel/components/ChannelUI.js +164 -0
- package/dist/cjs/Channel/components/ChannelUI.js.map +1 -0
- package/dist/cjs/Channel/components/FileViewer.js +93 -0
- package/dist/cjs/Channel/components/FrozenNotification.js +18 -0
- package/dist/cjs/Channel/components/Message.js +343 -0
- package/dist/cjs/Channel/components/MessageInput.js +210 -0
- package/dist/cjs/Channel/components/MessageInput.js.map +1 -0
- package/dist/cjs/Channel/components/MessageList.js +117 -0
- package/dist/cjs/Channel/components/RemoveMessageModal.js +54 -0
- package/dist/cjs/Channel/components/SuggestedMentionList.js +200 -0
- package/dist/cjs/Channel/components/TypingIndicator.js +89 -0
- package/dist/cjs/Channel/components/UnreadCount.js +35 -0
- package/dist/cjs/Channel/context.js +31 -0
- package/dist/cjs/Channel/hooks/useHandleUploadFiles.js +135 -0
- package/dist/cjs/Channel/hooks/useHandleUploadFiles.js.map +1 -0
- package/dist/cjs/Channel/hooks/useInitialMessagesFetch.js +111 -0
- package/dist/cjs/Channel/utils/compareMessagesForGrouping.js +28 -0
- package/dist/cjs/Channel/utils/getMessagePartsInfo.js +36 -0
- package/dist/cjs/Channel.js +134 -0
- package/dist/cjs/Channel.js.map +1 -0
- package/dist/cjs/ChannelList/components/AddChannel.js +66 -0
- package/dist/cjs/ChannelList/components/ChannelListHeader.js +43 -0
- package/dist/cjs/ChannelList/components/ChannelListUI.js +149 -0
- package/dist/cjs/ChannelList/components/ChannelPreview.js +133 -0
- package/dist/cjs/ChannelList/components/ChannelPreviewAction.js +73 -0
- package/dist/cjs/ChannelList/context.js +22 -0
- package/dist/cjs/ChannelList.js +83 -0
- package/dist/cjs/ChannelSettings/components/ChannelProfile.js +67 -0
- package/dist/cjs/ChannelSettings/components/ChannelSettingsUI.js +121 -0
- package/dist/cjs/ChannelSettings/components/EditDetailsModal.js +99 -0
- package/dist/cjs/ChannelSettings/components/LeaveChannel.js +69 -0
- package/dist/cjs/ChannelSettings/components/ModerationPanel.js +457 -0
- package/dist/cjs/ChannelSettings/components/UserListItem.js +69 -0
- package/dist/cjs/ChannelSettings/components/UserListItem.js.map +1 -0
- package/dist/cjs/ChannelSettings/components/UserPanel.js +66 -0
- package/dist/cjs/ChannelSettings/context.js +72 -0
- package/dist/cjs/ChannelSettings.js +63 -0
- package/dist/cjs/CreateChannel/components/CreateChannelUI.js +50 -0
- package/dist/cjs/CreateChannel/components/InviteUsers.js +169 -0
- package/dist/cjs/CreateChannel/components/SelectChannelType.js +82 -0
- package/dist/cjs/CreateChannel/context.js +16 -0
- package/dist/cjs/CreateChannel.js +46 -0
- package/dist/cjs/CreateOpenChannel/components/CreateOpenChannelUI.js +70 -0
- package/dist/cjs/CreateOpenChannel/context.js +52 -0
- package/dist/cjs/CreateOpenChannel.js +35 -0
- package/dist/cjs/EditUserProfile/components/EditUserProfileUI.js +125 -0
- package/dist/cjs/EditUserProfile/components/EditUserProfileUI.js.map +1 -0
- package/dist/cjs/EditUserProfile.js +36 -0
- package/dist/cjs/MessageSearch/components/MessageSearchUI.js +94 -0
- package/dist/cjs/MessageSearch/context.js +261 -0
- package/dist/cjs/MessageSearch.js +79 -0
- package/dist/cjs/OpenChannel/components/FrozenChannelNotification.js +17 -0
- package/dist/cjs/OpenChannel/components/OpenChannelHeader.js +56 -0
- package/dist/cjs/OpenChannel/components/OpenChannelHeader.js.map +1 -0
- package/dist/cjs/OpenChannel/components/OpenChannelInput.js +65 -0
- package/dist/cjs/OpenChannel/components/OpenChannelInput.js.map +1 -0
- package/dist/cjs/OpenChannel/components/OpenChannelMessage.js +199 -0
- package/dist/cjs/OpenChannel/components/OpenChannelMessage.js.map +1 -0
- package/dist/cjs/OpenChannel/components/OpenChannelMessageList.js +124 -0
- package/dist/cjs/OpenChannel/components/OpenChannelMessageList.js.map +1 -0
- package/dist/cjs/OpenChannel/components/OpenChannelUI.js +104 -0
- package/dist/cjs/OpenChannel/components/OpenChannelUI.js.map +1 -0
- package/dist/cjs/OpenChannel/context.js +36 -0
- package/dist/cjs/OpenChannel/context.js.map +1 -0
- package/dist/cjs/OpenChannel.js +82 -0
- package/dist/cjs/OpenChannel.js.map +1 -0
- package/dist/cjs/OpenChannelList/components/OpenChannelListUI.js +116 -0
- package/dist/cjs/OpenChannelList/components/OpenChannelPreview.js +31 -0
- package/dist/cjs/OpenChannelList/context.js +17 -0
- package/dist/cjs/OpenChannelList.js +47 -0
- package/dist/cjs/OpenChannelSettings/components/EditDetailsModal.js +91 -0
- package/dist/cjs/OpenChannelSettings/components/OpenChannelProfile.js +58 -0
- package/dist/cjs/OpenChannelSettings/components/OpenChannelSettingsUI.js +92 -0
- package/dist/cjs/OpenChannelSettings/components/OperatorUI.js +508 -0
- package/dist/cjs/OpenChannelSettings/components/ParticipantUI.js +42 -0
- package/dist/cjs/OpenChannelSettings/context.js +126 -0
- package/dist/cjs/OpenChannelSettings.js +58 -0
- package/dist/cjs/SendbirdProvider.js +1066 -0
- package/dist/cjs/Thread/components/ParentMessageInfo.js +254 -0
- package/dist/cjs/Thread/components/ParentMessageInfo.js.map +1 -0
- package/dist/cjs/Thread/components/ParentMessageInfoItem.js +150 -0
- package/dist/cjs/Thread/components/ThreadHeader.js +34 -0
- package/dist/cjs/Thread/components/ThreadList.js +172 -0
- package/dist/cjs/Thread/components/ThreadListItem.js +335 -0
- package/dist/cjs/Thread/components/ThreadListItem.js.map +1 -0
- package/dist/cjs/Thread/components/ThreadMessageInput.js +189 -0
- package/dist/cjs/Thread/components/ThreadMessageInput.js.map +1 -0
- package/dist/cjs/Thread/components/ThreadUI.js +268 -0
- package/dist/cjs/Thread/components/ThreadUI.js.map +1 -0
- package/dist/cjs/Thread/context.js +1337 -0
- package/dist/cjs/Thread/context.js.map +1 -0
- package/dist/cjs/Thread.js +130 -0
- package/dist/cjs/Thread.js.map +1 -0
- package/dist/cjs/VoicePlayer/context.js +15 -0
- package/dist/cjs/VoicePlayer/useVoicePlayer.js +73 -0
- package/dist/cjs/VoiceRecorder/context.js +138 -0
- package/dist/cjs/VoiceRecorder/useVoiceRecorder.js +111 -0
- package/dist/cjs/chunks/bundle--A7guNuh.js +179 -0
- package/dist/cjs/chunks/bundle--A7guNuh.js.map +1 -0
- package/dist/cjs/chunks/bundle--gwwLhzk.js +20 -0
- package/dist/cjs/chunks/bundle--gwwLhzk.js.map +1 -0
- package/dist/cjs/chunks/bundle-0fVnLVNe.js +236 -0
- package/dist/cjs/chunks/bundle-0fVnLVNe.js.map +1 -0
- package/dist/cjs/chunks/bundle-0pCHXNhB.js +102 -0
- package/dist/cjs/chunks/bundle-0pCHXNhB.js.map +1 -0
- package/dist/cjs/chunks/bundle-1NVer2pf.js +279 -0
- package/dist/cjs/chunks/bundle-1NVer2pf.js.map +1 -0
- package/dist/cjs/chunks/bundle-1m_ISTBo.js +224 -0
- package/dist/cjs/chunks/bundle-1m_ISTBo.js.map +1 -0
- package/dist/cjs/chunks/bundle-21NdG-dk.js +839 -0
- package/dist/cjs/chunks/bundle-21NdG-dk.js.map +1 -0
- package/dist/cjs/chunks/bundle-2Gla4s_W.js +69 -0
- package/dist/cjs/chunks/bundle-2Gla4s_W.js.map +1 -0
- package/dist/cjs/chunks/bundle-2OrFys0C.js +35 -0
- package/dist/cjs/chunks/bundle-2OrFys0C.js.map +1 -0
- package/dist/cjs/chunks/bundle-2k4v26zP.js +79 -0
- package/dist/cjs/chunks/bundle-2k4v26zP.js.map +1 -0
- package/dist/cjs/chunks/bundle-3CEbSubz.js +1858 -0
- package/dist/cjs/chunks/bundle-3CEbSubz.js.map +1 -0
- package/dist/cjs/chunks/bundle-4RnnhACR.js +84 -0
- package/dist/cjs/chunks/bundle-4RnnhACR.js.map +1 -0
- package/dist/cjs/chunks/bundle-4c_n4Hqm.js +220 -0
- package/dist/cjs/chunks/bundle-4c_n4Hqm.js.map +1 -0
- package/dist/cjs/chunks/bundle-5ApFd_AY.js +707 -0
- package/dist/cjs/chunks/bundle-5ApFd_AY.js.map +1 -0
- package/dist/cjs/chunks/bundle-60azKP5A.js +26 -0
- package/dist/cjs/chunks/bundle-60azKP5A.js.map +1 -0
- package/dist/cjs/chunks/bundle-66bD8OVx.js +84 -0
- package/dist/cjs/chunks/bundle-66bD8OVx.js.map +1 -0
- package/dist/cjs/chunks/bundle-9-nr_N-b.js +74 -0
- package/dist/cjs/chunks/bundle-9-nr_N-b.js.map +1 -0
- package/dist/cjs/chunks/bundle-9pKlhVIU.js +178 -0
- package/dist/cjs/chunks/bundle-9pKlhVIU.js.map +1 -0
- package/dist/cjs/chunks/bundle-BuqbuTrW.js +217 -0
- package/dist/cjs/chunks/bundle-BuqbuTrW.js.map +1 -0
- package/dist/cjs/chunks/bundle-CCMHQL0G.js +238 -0
- package/dist/cjs/chunks/bundle-CCMHQL0G.js.map +1 -0
- package/dist/cjs/chunks/bundle-Et2Mrxtk.js +74 -0
- package/dist/cjs/chunks/bundle-Et2Mrxtk.js.map +1 -0
- package/dist/cjs/chunks/bundle-J8UlQsgX.js +6 -0
- package/dist/cjs/chunks/bundle-J8UlQsgX.js.map +1 -0
- package/dist/cjs/chunks/bundle-MH5QFTEj.js +360 -0
- package/dist/cjs/chunks/bundle-MH5QFTEj.js.map +1 -0
- package/dist/cjs/chunks/bundle-NE9TILWI.js +28 -0
- package/dist/cjs/chunks/bundle-NE9TILWI.js.map +1 -0
- package/dist/cjs/chunks/bundle-NkP5dRWo.js +181 -0
- package/dist/cjs/chunks/bundle-NkP5dRWo.js.map +1 -0
- package/dist/cjs/chunks/bundle-NrEnVvdl.js +17 -0
- package/dist/cjs/chunks/bundle-NrEnVvdl.js.map +1 -0
- package/dist/cjs/chunks/bundle-Nz8Lrwe4.js +11 -0
- package/dist/cjs/chunks/bundle-Nz8Lrwe4.js.map +1 -0
- package/dist/cjs/chunks/bundle-Ptyw-8Gc.js +50 -0
- package/dist/cjs/chunks/bundle-Ptyw-8Gc.js.map +1 -0
- package/dist/cjs/chunks/bundle-PvmgqR2n.js +15 -0
- package/dist/cjs/chunks/bundle-PvmgqR2n.js.map +1 -0
- package/dist/cjs/chunks/bundle-SOsWW37c.js +6 -0
- package/dist/cjs/chunks/bundle-SOsWW37c.js.map +1 -0
- package/dist/cjs/chunks/bundle-V1HT7uWN.js +8 -0
- package/dist/cjs/chunks/bundle-V1HT7uWN.js.map +1 -0
- package/dist/cjs/chunks/bundle-V2Qx8kYB.js +99 -0
- package/dist/cjs/chunks/bundle-V2Qx8kYB.js.map +1 -0
- package/dist/cjs/chunks/bundle-Ve2qVeg-.js +30 -0
- package/dist/cjs/chunks/bundle-Ve2qVeg-.js.map +1 -0
- package/dist/cjs/chunks/bundle-X2iyUz_d.js +27 -0
- package/dist/cjs/chunks/bundle-X2iyUz_d.js.map +1 -0
- package/dist/cjs/chunks/bundle-XAU1mgI8.js +39 -0
- package/dist/cjs/chunks/bundle-XAU1mgI8.js.map +1 -0
- package/dist/cjs/chunks/bundle-Xwc-PXin.js +27 -0
- package/dist/cjs/chunks/bundle-Xwc-PXin.js.map +1 -0
- package/dist/cjs/chunks/bundle-YEhDTta6.js +19 -0
- package/dist/cjs/chunks/bundle-YEhDTta6.js.map +1 -0
- package/dist/cjs/chunks/bundle-Z30xKPjr.js +32 -0
- package/dist/cjs/chunks/bundle-Z30xKPjr.js.map +1 -0
- package/dist/cjs/chunks/bundle-_fpgAJFT.js +16 -0
- package/dist/cjs/chunks/bundle-_fpgAJFT.js.map +1 -0
- package/dist/cjs/chunks/bundle-aKKIV6sp.js +68 -0
- package/dist/cjs/chunks/bundle-aKKIV6sp.js.map +1 -0
- package/dist/cjs/chunks/bundle-alfVNg30.js +22 -0
- package/dist/cjs/chunks/bundle-alfVNg30.js.map +1 -0
- package/dist/cjs/chunks/bundle-ayxcxLwI.js +264 -0
- package/dist/cjs/chunks/bundle-ayxcxLwI.js.map +1 -0
- package/dist/cjs/chunks/bundle-bQ1hwrcE.js +6 -0
- package/dist/cjs/chunks/bundle-bQ1hwrcE.js.map +1 -0
- package/dist/cjs/chunks/bundle-c8PEMQg3.js +137 -0
- package/dist/cjs/chunks/bundle-c8PEMQg3.js.map +1 -0
- package/dist/cjs/chunks/bundle-eSkHuU0e.js +38 -0
- package/dist/cjs/chunks/bundle-eSkHuU0e.js.map +1 -0
- package/dist/cjs/chunks/bundle-fV1pX_hi.js +114 -0
- package/dist/cjs/chunks/bundle-fV1pX_hi.js.map +1 -0
- package/dist/cjs/chunks/bundle-f_lSJlZS.js +15 -0
- package/dist/cjs/chunks/bundle-f_lSJlZS.js.map +1 -0
- package/dist/cjs/chunks/bundle-gOtrtUIz.js +75 -0
- package/dist/cjs/chunks/bundle-gOtrtUIz.js.map +1 -0
- package/dist/cjs/chunks/bundle-ga2lvSm8.js +46 -0
- package/dist/cjs/chunks/bundle-ga2lvSm8.js.map +1 -0
- package/dist/cjs/chunks/bundle-jGjSthM3.js +128 -0
- package/dist/cjs/chunks/bundle-jGjSthM3.js.map +1 -0
- package/dist/cjs/chunks/bundle-kbntHY88.js +1409 -0
- package/dist/cjs/chunks/bundle-kbntHY88.js.map +1 -0
- package/dist/cjs/chunks/bundle-oTWBtf3l.js +510 -0
- package/dist/cjs/chunks/bundle-oTWBtf3l.js.map +1 -0
- package/dist/cjs/chunks/bundle-oXJwwgxy.js +79 -0
- package/dist/cjs/chunks/bundle-oXJwwgxy.js.map +1 -0
- package/dist/cjs/chunks/bundle-p04f0r41.js +136 -0
- package/dist/cjs/chunks/bundle-p04f0r41.js.map +1 -0
- package/dist/cjs/chunks/bundle-p9s6eIWW.js +18 -0
- package/dist/cjs/chunks/bundle-p9s6eIWW.js.map +1 -0
- package/dist/cjs/chunks/bundle-tWIm10AV.js +7 -0
- package/dist/cjs/chunks/bundle-tWIm10AV.js.map +1 -0
- package/dist/cjs/chunks/bundle-ttM5NXg0.js +224 -0
- package/dist/cjs/chunks/bundle-ttM5NXg0.js.map +1 -0
- package/dist/cjs/chunks/bundle-wiCMJG39.js +139 -0
- package/dist/cjs/chunks/bundle-wiCMJG39.js.map +1 -0
- package/dist/cjs/chunks/bundle-xeTDYh-o.js +159 -0
- package/dist/cjs/chunks/bundle-xeTDYh-o.js.map +1 -0
- package/dist/cjs/chunks/bundle-zBsUorPd.js +109 -0
- package/dist/cjs/chunks/bundle-zBsUorPd.js.map +1 -0
- package/dist/cjs/chunks/bundle-zaeeh2h7.js +1545 -0
- package/dist/cjs/chunks/bundle-zaeeh2h7.js.map +1 -0
- package/dist/cjs/chunks/bundle-zpXEP6A3.js +10 -0
- package/dist/cjs/chunks/bundle-zpXEP6A3.js.map +1 -0
- package/dist/cjs/hooks/useModal.js +59 -0
- package/dist/cjs/index.js +223 -0
- package/dist/cjs/index.js.map +1 -0
- package/dist/cjs/lame.all.js +10 -0
- package/dist/cjs/lame.all.js.map +1 -0
- package/dist/cjs/pubSub/topics.js +18 -0
- package/dist/cjs/sendbirdSelectors.js +580 -0
- package/dist/cjs/ui/Accordion.js +52 -0
- package/dist/cjs/ui/AccordionGroup.js +17 -0
- package/dist/cjs/ui/AdminMessage.js +21 -0
- package/dist/cjs/ui/Avatar.js +18 -0
- package/dist/cjs/ui/Badge.js +26 -0
- package/dist/cjs/ui/BottomSheet.js +38 -0
- package/dist/cjs/ui/Button.js +53 -0
- package/dist/cjs/ui/ChannelAvatar.js +32 -0
- package/dist/cjs/ui/ConnectionStatus.js +20 -0
- package/dist/cjs/ui/ContextMenu.js +216 -0
- package/dist/cjs/ui/DateSeparator.js +21 -0
- package/dist/cjs/ui/EmojiReactions.js +179 -0
- package/dist/cjs/ui/EmojiReactions.js.map +1 -0
- package/dist/cjs/ui/FileMessageItemBody.js +41 -0
- package/dist/cjs/ui/FileViewer.js +33 -0
- package/dist/cjs/ui/Icon.js +1140 -0
- package/dist/cjs/ui/IconButton.js +26 -0
- package/dist/cjs/ui/ImageRenderer.js +151 -0
- package/dist/cjs/ui/ImageRenderer.js.map +1 -0
- package/dist/cjs/ui/Input.js +26 -0
- package/dist/cjs/ui/Label.js +16 -0
- package/dist/cjs/ui/LinkLabel.js +32 -0
- package/dist/cjs/ui/Loader.js +20 -0
- package/dist/cjs/ui/MentionLabel.js +69 -0
- package/dist/cjs/ui/MentionUserLabel.js +12 -0
- package/dist/cjs/ui/MessageContent.js +341 -0
- package/dist/cjs/ui/MessageContent.js.map +1 -0
- package/dist/cjs/ui/MessageInput/hooks/usePaste.js +17 -0
- package/dist/cjs/ui/MessageInput.js +464 -0
- package/dist/cjs/ui/MessageItemMenu.js +131 -0
- package/dist/cjs/ui/MessageItemReactionMenu.js +58 -0
- package/dist/cjs/ui/MessageSearchFileItem.js +92 -0
- package/dist/cjs/ui/MessageSearchItem.js +63 -0
- package/dist/cjs/ui/MessageStatus.js +26 -0
- package/dist/cjs/ui/Modal.js +26 -0
- package/dist/cjs/ui/MutedAvatarOverlay.js +23 -0
- package/dist/cjs/ui/OGMessageItemBody.js +87 -0
- package/dist/cjs/ui/OpenChannelAdminMessage.js +17 -0
- package/dist/cjs/ui/OpenChannelAvatar.js +26 -0
- package/dist/cjs/ui/OpenchannelConversationHeader.js +34 -0
- package/dist/cjs/ui/OpenchannelFileMessage.js +141 -0
- package/dist/cjs/ui/OpenchannelFileMessage.js.map +1 -0
- package/dist/cjs/ui/OpenchannelOGMessage.js +186 -0
- package/dist/cjs/ui/OpenchannelOGMessage.js.map +1 -0
- package/dist/cjs/ui/OpenchannelThumbnailMessage.js +178 -0
- package/dist/cjs/ui/OpenchannelThumbnailMessage.js.map +1 -0
- package/dist/cjs/ui/OpenchannelUserMessage.js +149 -0
- package/dist/cjs/ui/OpenchannelUserMessage.js.map +1 -0
- package/dist/cjs/ui/PlaceHolder.js +58 -0
- package/dist/cjs/ui/PlaybackTime.js +22 -0
- package/dist/cjs/ui/QuoteMessage.js +81 -0
- package/dist/cjs/ui/QuoteMessageInput.js +84 -0
- package/dist/cjs/ui/ReactionBadge.js +28 -0
- package/dist/cjs/ui/ReactionButton.js +25 -0
- package/dist/cjs/ui/SortByRow.js +31 -0
- package/dist/cjs/ui/TextButton.js +17 -0
- package/dist/cjs/ui/TextMessageItemBody.js +66 -0
- package/dist/cjs/ui/ThreadReplies.js +44 -0
- package/dist/cjs/ui/ThumbnailMessageItemBody.js +45 -0
- package/dist/cjs/ui/Toggle.js +131 -0
- package/dist/cjs/ui/Tooltip.js +17 -0
- package/dist/cjs/ui/TooltipWrapper.js +21 -0
- package/dist/cjs/ui/TypingIndicatorBubble.js +69 -0
- package/dist/cjs/ui/UnknownMessageItemBody.js +29 -0
- package/dist/cjs/ui/UserListItem.js +75 -0
- package/dist/cjs/ui/UserListItem.js.map +1 -0
- package/dist/cjs/ui/UserProfile.js +60 -0
- package/dist/cjs/ui/VoiceMessageInput.js +21 -0
- package/dist/cjs/ui/VoiceMessageItemBody.js +74 -0
- package/dist/cjs/ui/Word.js +82 -0
- package/dist/cjs/useSendbirdStateContext.js +27 -0
- package/dist/cjs/utils/message/isVoiceMessage.js +11 -0
- package/dist/cjs/withSendbird.js +28 -0
- package/dist/dist/index.css +7839 -0
- package/dist/dist/index.css.map +1 -0
- package/dist/hooks/useModal.js +55 -0
- package/dist/index.js +201 -0
- package/dist/index.js.map +1 -0
- package/dist/lame.all.js +4 -0
- package/dist/lame.all.js.map +1 -0
- package/dist/package.json +1521 -0
- package/dist/pubSub/topics.js +2 -0
- package/dist/sendbirdSelectors.js +555 -0
- package/dist/types/lib/hooks/useConnect/setupConnection.d.ts +18 -0
- package/dist/types/modules/Channel/components/Message/hooks/useIsElementInViewport.d.ts +2 -0
- package/dist/types/modules/Channel/components/Message/hooks/useLazyImageLoader.d.ts +2 -0
- package/dist/types/modules/Channel/context/hooks/useHandleChannelEvents.d.ts +29 -0
- package/dist/types/modules/Channel/context/hooks/useHandleUploadFiles.d.ts +19 -0
- package/dist/types/modules/Channel/context/hooks/useResendMessageCallback.d.ts +16 -0
- package/dist/types/modules/ChannelList/components/ChannelListUI/index.d.ts +18 -0
- package/dist/types/modules/ChannelList/dux/actionTypes.d.ts +68 -0
- package/dist/types/modules/EditUserProfile/components/EditUserProfileUI/EditUserProfileUIView.d.ts +8 -0
- package/dist/types/modules/EditUserProfile/components/EditUserProfileUI/index.d.ts +17 -0
- package/dist/types/modules/OpenChannel/context/hooks/useFileUploadCallback.d.ts +27 -0
- package/dist/types/types.d.ts +61 -0
- package/dist/types/ui/EmojiReactions/ReactionItem.d.ts +18 -0
- package/dist/types/ui/Label/stringSet.d.ts +193 -0
- package/dist/types/utils/consts.d.ts +24 -0
- package/dist/ui/Accordion.js +47 -0
- package/dist/ui/AccordionGroup.js +15 -0
- package/dist/ui/AdminMessage.js +19 -0
- package/dist/ui/Avatar.js +9 -0
- package/dist/ui/Badge.js +24 -0
- package/dist/ui/BottomSheet.js +36 -0
- package/dist/ui/Button.js +49 -0
- package/dist/ui/ChannelAvatar.js +30 -0
- package/dist/ui/ConnectionStatus.js +18 -0
- package/dist/ui/ContextMenu.js +207 -0
- package/dist/ui/DateSeparator.js +19 -0
- package/dist/ui/EmojiReactions.js +177 -0
- package/dist/ui/EmojiReactions.js.map +1 -0
- package/dist/ui/FileMessageItemBody.js +39 -0
- package/dist/ui/FileViewer.js +24 -0
- package/dist/ui/Icon.js +1116 -0
- package/dist/ui/IconButton.js +24 -0
- package/dist/ui/ImageRenderer.js +145 -0
- package/dist/ui/ImageRenderer.js.map +1 -0
- package/dist/ui/Input.js +21 -0
- package/dist/ui/Label.js +5 -0
- package/dist/ui/LinkLabel.js +26 -0
- package/dist/ui/Loader.js +18 -0
- package/dist/ui/MentionLabel.js +67 -0
- package/dist/ui/MentionUserLabel.js +10 -0
- package/dist/ui/MessageContent.js +339 -0
- package/dist/ui/MessageInput/hooks/usePaste.js +8 -0
- package/dist/ui/MessageInput.js +462 -0
- package/dist/ui/MessageItemMenu.js +126 -0
- package/dist/ui/MessageItemReactionMenu.js +53 -0
- package/dist/ui/MessageSearchFileItem.js +90 -0
- package/dist/ui/MessageSearchItem.js +61 -0
- package/dist/ui/MessageStatus.js +17 -0
- package/dist/ui/Modal.js +14 -0
- package/dist/ui/MutedAvatarOverlay.js +21 -0
- package/dist/ui/OGMessageItemBody.js +85 -0
- package/dist/ui/OpenChannelAdminMessage.js +15 -0
- package/dist/ui/OpenChannelAvatar.js +24 -0
- package/dist/ui/OpenchannelConversationHeader.js +32 -0
- package/dist/ui/OpenchannelFileMessage.js +139 -0
- package/dist/ui/OpenchannelOGMessage.js +184 -0
- package/dist/ui/OpenchannelThumbnailMessage.js +176 -0
- package/dist/ui/OpenchannelUserMessage.js +147 -0
- package/dist/ui/PlaceHolder.js +53 -0
- package/dist/ui/PlaybackTime.js +17 -0
- package/dist/ui/QuoteMessage.js +79 -0
- package/dist/ui/QuoteMessageInput.js +82 -0
- package/dist/ui/ReactionBadge.js +26 -0
- package/dist/ui/ReactionButton.js +23 -0
- package/dist/ui/SortByRow.js +29 -0
- package/dist/ui/TextButton.js +15 -0
- package/dist/ui/TextMessageItemBody.js +64 -0
- package/dist/ui/ThreadReplies.js +42 -0
- package/dist/ui/ThumbnailMessageItemBody.js +43 -0
- package/dist/ui/Toggle.js +126 -0
- package/dist/ui/Tooltip.js +15 -0
- package/dist/ui/TooltipWrapper.js +19 -0
- package/dist/ui/TypingIndicatorBubble.js +67 -0
- package/dist/ui/UnknownMessageItemBody.js +27 -0
- package/dist/ui/UserListItem.js +73 -0
- package/dist/ui/UserProfile.js +58 -0
- package/dist/ui/VoiceMessageInput.js +15 -0
- package/dist/ui/VoiceMessageItemBody.js +69 -0
- package/dist/ui/Word.js +80 -0
- package/dist/useSendbirdStateContext.js +22 -0
- package/dist/utils/message/isVoiceMessage.js +9 -0
- package/dist/withSendbird.js +23 -0
- package/package.json +111 -1477
- package/App.js +0 -421
- package/App.js.map +0 -1
- package/Channel/components/ChannelHeader.js +0 -67
- package/Channel/components/ChannelUI.js +0 -161
- package/Channel/components/ChannelUI.js.map +0 -1
- package/Channel/components/FileViewer.js +0 -88
- package/Channel/components/FrozenNotification.js +0 -16
- package/Channel/components/Message.js +0 -341
- package/Channel/components/MessageInput.js +0 -204
- package/Channel/components/MessageInput.js.map +0 -1
- package/Channel/components/MessageList.js +0 -111
- package/Channel/components/RemoveMessageModal.js +0 -52
- package/Channel/components/SuggestedMentionList.js +0 -198
- package/Channel/components/TypingIndicator.js +0 -84
- package/Channel/components/UnreadCount.js +0 -33
- package/Channel/context.js +0 -24
- package/Channel/hooks/useHandleUploadFiles.js +0 -237
- package/Channel/hooks/useHandleUploadFiles.js.map +0 -1
- package/Channel/hooks/useInitialMessagesFetch.js +0 -109
- package/Channel/utils/compareMessagesForGrouping.js +0 -26
- package/Channel/utils/getMessagePartsInfo.js +0 -34
- package/Channel.js +0 -131
- package/Channel.js.map +0 -1
- package/ChannelList/components/AddChannel.js +0 -61
- package/ChannelList/components/ChannelListHeader.js +0 -41
- package/ChannelList/components/ChannelListUI.js +0 -147
- package/ChannelList/components/ChannelPreview.js +0 -131
- package/ChannelList/components/ChannelPreviewAction.js +0 -71
- package/ChannelList/context.js +0 -15
- package/ChannelList.js +0 -81
- package/ChannelSettings/components/ChannelProfile.js +0 -65
- package/ChannelSettings/components/ChannelSettingsUI.js +0 -119
- package/ChannelSettings/components/EditDetailsModal.js +0 -97
- package/ChannelSettings/components/LeaveChannel.js +0 -67
- package/ChannelSettings/components/ModerationPanel.js +0 -455
- package/ChannelSettings/components/UserListItem.js +0 -65
- package/ChannelSettings/components/UserListItem.js.map +0 -1
- package/ChannelSettings/components/UserPanel.js +0 -64
- package/ChannelSettings/context.js +0 -69
- package/ChannelSettings.js +0 -61
- package/CreateChannel/components/CreateChannelUI.js +0 -48
- package/CreateChannel/components/InviteUsers.js +0 -167
- package/CreateChannel/components/SelectChannelType.js +0 -80
- package/CreateChannel/context.js +0 -9
- package/CreateChannel.js +0 -44
- package/CreateOpenChannel/components/CreateOpenChannelUI.js +0 -68
- package/CreateOpenChannel/context.js +0 -49
- package/CreateOpenChannel.js +0 -33
- package/EditUserProfile/components/EditUserProfileUI.js +0 -98
- package/EditUserProfile/components/EditUserProfileUI.js.map +0 -1
- package/EditUserProfile.js +0 -34
- package/MessageSearch/components/MessageSearchUI.js +0 -89
- package/MessageSearch/context.js +0 -258
- package/MessageSearch.js +0 -77
- package/OpenChannel/components/FrozenChannelNotification.js +0 -15
- package/OpenChannel/components/OpenChannelHeader.js +0 -47
- package/OpenChannel/components/OpenChannelHeader.js.map +0 -1
- package/OpenChannel/components/OpenChannelInput.js +0 -56
- package/OpenChannel/components/OpenChannelInput.js.map +0 -1
- package/OpenChannel/components/OpenChannelMessage.js +0 -196
- package/OpenChannel/components/OpenChannelMessage.js.map +0 -1
- package/OpenChannel/components/OpenChannelMessageList.js +0 -121
- package/OpenChannel/components/OpenChannelMessageList.js.map +0 -1
- package/OpenChannel/components/OpenChannelUI.js +0 -101
- package/OpenChannel/components/OpenChannelUI.js.map +0 -1
- package/OpenChannel/context.js +0 -14
- package/OpenChannel/context.js.map +0 -1
- package/OpenChannel.js +0 -79
- package/OpenChannel.js.map +0 -1
- package/OpenChannelList/components/OpenChannelListUI.js +0 -114
- package/OpenChannelList/components/OpenChannelPreview.js +0 -29
- package/OpenChannelList/context.js +0 -7
- package/OpenChannelList.js +0 -45
- package/OpenChannelSettings/components/EditDetailsModal.js +0 -89
- package/OpenChannelSettings/components/OpenChannelProfile.js +0 -56
- package/OpenChannelSettings/components/OpenChannelSettingsUI.js +0 -90
- package/OpenChannelSettings/components/OperatorUI.js +0 -502
- package/OpenChannelSettings/components/ParticipantUI.js +0 -36
- package/OpenChannelSettings/context.js +0 -123
- package/OpenChannelSettings.js +0 -56
- package/SendbirdProvider.js +0 -1060
- package/Thread/components/ParentMessageInfo.js +0 -246
- package/Thread/components/ParentMessageInfo.js.map +0 -1
- package/Thread/components/ParentMessageInfoItem.js +0 -148
- package/Thread/components/ThreadHeader.js +0 -32
- package/Thread/components/ThreadList.js +0 -170
- package/Thread/components/ThreadListItem.js +0 -327
- package/Thread/components/ThreadListItem.js.map +0 -1
- package/Thread/components/ThreadMessageInput.js +0 -186
- package/Thread/components/ThreadMessageInput.js.map +0 -1
- package/Thread/components/ThreadUI.js +0 -265
- package/Thread/components/ThreadUI.js.map +0 -1
- package/Thread/context.js +0 -1301
- package/Thread/context.js.map +0 -1
- package/Thread.js +0 -127
- package/Thread.js.map +0 -1
- package/VoicePlayer/context.js +0 -7
- package/VoicePlayer/useVoicePlayer.js +0 -71
- package/VoiceRecorder/context.js +0 -132
- package/VoiceRecorder/useVoiceRecorder.js +0 -108
- package/chunks/bundle-0IelBspE.js +0 -78
- package/chunks/bundle-0IelBspE.js.map +0 -1
- package/chunks/bundle-0SIFukuT.js +0 -173
- package/chunks/bundle-0SIFukuT.js.map +0 -1
- package/chunks/bundle-2AUp3oeN.js +0 -15
- package/chunks/bundle-2AUp3oeN.js.map +0 -1
- package/chunks/bundle-2YEsND5T.js +0 -4
- package/chunks/bundle-2YEsND5T.js.map +0 -1
- package/chunks/bundle-3WQuaADd.js +0 -24
- package/chunks/bundle-3WQuaADd.js.map +0 -1
- package/chunks/bundle-5JvP07dI.js +0 -62
- package/chunks/bundle-5JvP07dI.js.map +0 -1
- package/chunks/bundle-6uVd8Nrl.js +0 -66
- package/chunks/bundle-6uVd8Nrl.js.map +0 -1
- package/chunks/bundle-7x4clnC7.js +0 -42
- package/chunks/bundle-7x4clnC7.js.map +0 -1
- package/chunks/bundle-89OkQYTj.js +0 -4
- package/chunks/bundle-89OkQYTj.js.map +0 -1
- package/chunks/bundle-8VA5hO1c.js +0 -13
- package/chunks/bundle-8VA5hO1c.js.map +0 -1
- package/chunks/bundle-967zXkjf.js +0 -12
- package/chunks/bundle-967zXkjf.js.map +0 -1
- package/chunks/bundle-96I4BbNe.js +0 -1455
- package/chunks/bundle-96I4BbNe.js.map +0 -1
- package/chunks/bundle-EPtYsHAJ.js +0 -14
- package/chunks/bundle-EPtYsHAJ.js.map +0 -1
- package/chunks/bundle-EteEacTX.js +0 -220
- package/chunks/bundle-EteEacTX.js.map +0 -1
- package/chunks/bundle-GGcTNRCI.js +0 -57
- package/chunks/bundle-GGcTNRCI.js.map +0 -1
- package/chunks/bundle-GiSLT4lG.js +0 -36
- package/chunks/bundle-GiSLT4lG.js.map +0 -1
- package/chunks/bundle-IeIHBN9i.js +0 -8
- package/chunks/bundle-IeIHBN9i.js.map +0 -1
- package/chunks/bundle-JSlDfYOF.js +0 -16
- package/chunks/bundle-JSlDfYOF.js.map +0 -1
- package/chunks/bundle-JhG5BHdE.js +0 -5
- package/chunks/bundle-JhG5BHdE.js.map +0 -1
- package/chunks/bundle-JuKER7D_.js +0 -213
- package/chunks/bundle-JuKER7D_.js.map +0 -1
- package/chunks/bundle-Jw6D-oM_.js +0 -18
- package/chunks/bundle-Jw6D-oM_.js.map +0 -1
- package/chunks/bundle-KOKqPpBq.js +0 -9
- package/chunks/bundle-KOKqPpBq.js.map +0 -1
- package/chunks/bundle-Ku1a64TD.js +0 -230
- package/chunks/bundle-Ku1a64TD.js.map +0 -1
- package/chunks/bundle-LTnLzJFb.js +0 -176
- package/chunks/bundle-LTnLzJFb.js.map +0 -1
- package/chunks/bundle-LhtrqZSE.js +0 -26
- package/chunks/bundle-LhtrqZSE.js.map +0 -1
- package/chunks/bundle-Mn36ivpf.js +0 -76
- package/chunks/bundle-Mn36ivpf.js.map +0 -1
- package/chunks/bundle-Nv1SlZSC.js +0 -72
- package/chunks/bundle-Nv1SlZSC.js.map +0 -1
- package/chunks/bundle-OiOp4RUP.js +0 -98
- package/chunks/bundle-OiOp4RUP.js.map +0 -1
- package/chunks/bundle-PwOQ689V.js +0 -28
- package/chunks/bundle-PwOQ689V.js.map +0 -1
- package/chunks/bundle-QO9wq7-1.js +0 -1519
- package/chunks/bundle-QO9wq7-1.js.map +0 -1
- package/chunks/bundle-Sk3SXXP7.js +0 -30
- package/chunks/bundle-Sk3SXXP7.js.map +0 -1
- package/chunks/bundle-Tep20T57.js +0 -70
- package/chunks/bundle-Tep20T57.js.map +0 -1
- package/chunks/bundle-WZvwkbYN.js +0 -69
- package/chunks/bundle-WZvwkbYN.js.map +0 -1
- package/chunks/bundle-Xly_X4hP.js +0 -16
- package/chunks/bundle-Xly_X4hP.js.map +0 -1
- package/chunks/bundle-Xq25cpwP.js +0 -826
- package/chunks/bundle-Xq25cpwP.js.map +0 -1
- package/chunks/bundle-Y6TqPszM.js +0 -97
- package/chunks/bundle-Y6TqPszM.js.map +0 -1
- package/chunks/bundle-YQkYq090.js +0 -13
- package/chunks/bundle-YQkYq090.js.map +0 -1
- package/chunks/bundle-YdRy5sj8.js +0 -355
- package/chunks/bundle-YdRy5sj8.js.map +0 -1
- package/chunks/bundle-ZNwxfYJx.js +0 -24
- package/chunks/bundle-ZNwxfYJx.js.map +0 -1
- package/chunks/bundle-ZT6XnGSN.js +0 -657
- package/chunks/bundle-ZT6XnGSN.js.map +0 -1
- package/chunks/bundle-cJc3JBZb.js +0 -77
- package/chunks/bundle-cJc3JBZb.js.map +0 -1
- package/chunks/bundle-dJBzT033.js +0 -31
- package/chunks/bundle-dJBzT033.js.map +0 -1
- package/chunks/bundle-h4Ck6NLh.js +0 -25
- package/chunks/bundle-h4Ck6NLh.js.map +0 -1
- package/chunks/bundle-hGeYEXGB.js +0 -125
- package/chunks/bundle-hGeYEXGB.js.map +0 -1
- package/chunks/bundle-jw3t70tT.js +0 -233
- package/chunks/bundle-jw3t70tT.js.map +0 -1
- package/chunks/bundle-jyTJAjUy.js +0 -134
- package/chunks/bundle-jyTJAjUy.js.map +0 -1
- package/chunks/bundle-k4WuO78S.js +0 -222
- package/chunks/bundle-k4WuO78S.js.map +0 -1
- package/chunks/bundle-l0M5nN1Q.js +0 -131
- package/chunks/bundle-l0M5nN1Q.js.map +0 -1
- package/chunks/bundle-lSKfBDuq.js +0 -132
- package/chunks/bundle-lSKfBDuq.js.map +0 -1
- package/chunks/bundle-menQ38z9.js +0 -147
- package/chunks/bundle-menQ38z9.js.map +0 -1
- package/chunks/bundle-nHhZeAVb.js +0 -96
- package/chunks/bundle-nHhZeAVb.js.map +0 -1
- package/chunks/bundle-oghsyfOE.js +0 -174
- package/chunks/bundle-oghsyfOE.js.map +0 -1
- package/chunks/bundle-pCwi8C-K.js +0 -29
- package/chunks/bundle-pCwi8C-K.js.map +0 -1
- package/chunks/bundle-pmVgESW3.js +0 -1853
- package/chunks/bundle-pmVgESW3.js.map +0 -1
- package/chunks/bundle-s3qW-HFQ.js +0 -36
- package/chunks/bundle-s3qW-HFQ.js.map +0 -1
- package/chunks/bundle-tUJWK_IX.js +0 -277
- package/chunks/bundle-tUJWK_IX.js.map +0 -1
- package/chunks/bundle-vSJ8dTAZ.js +0 -211
- package/chunks/bundle-vSJ8dTAZ.js.map +0 -1
- package/chunks/bundle-wRCPXISN.js +0 -262
- package/chunks/bundle-wRCPXISN.js.map +0 -1
- package/chunks/bundle-xgxXEKxk.js +0 -508
- package/chunks/bundle-xgxXEKxk.js.map +0 -1
- package/chunks/bundle-zCWUhqT2.js +0 -4
- package/chunks/bundle-zCWUhqT2.js.map +0 -1
- package/chunks/bundle-zz1eCYds.js +0 -4
- package/chunks/bundle-zz1eCYds.js.map +0 -1
- package/cjs/App.js +0 -423
- package/cjs/App.js.map +0 -1
- package/cjs/Channel/components/ChannelHeader.js +0 -69
- package/cjs/Channel/components/ChannelUI.js +0 -163
- package/cjs/Channel/components/ChannelUI.js.map +0 -1
- package/cjs/Channel/components/FileViewer.js +0 -93
- package/cjs/Channel/components/FrozenNotification.js +0 -18
- package/cjs/Channel/components/Message.js +0 -343
- package/cjs/Channel/components/MessageInput.js +0 -209
- package/cjs/Channel/components/MessageInput.js.map +0 -1
- package/cjs/Channel/components/MessageList.js +0 -117
- package/cjs/Channel/components/RemoveMessageModal.js +0 -54
- package/cjs/Channel/components/SuggestedMentionList.js +0 -200
- package/cjs/Channel/components/TypingIndicator.js +0 -89
- package/cjs/Channel/components/UnreadCount.js +0 -35
- package/cjs/Channel/context.js +0 -31
- package/cjs/Channel/hooks/useHandleUploadFiles.js +0 -239
- package/cjs/Channel/hooks/useHandleUploadFiles.js.map +0 -1
- package/cjs/Channel/hooks/useInitialMessagesFetch.js +0 -111
- package/cjs/Channel/utils/compareMessagesForGrouping.js +0 -28
- package/cjs/Channel/utils/getMessagePartsInfo.js +0 -36
- package/cjs/Channel.js +0 -133
- package/cjs/Channel.js.map +0 -1
- package/cjs/ChannelList/components/AddChannel.js +0 -66
- package/cjs/ChannelList/components/ChannelListHeader.js +0 -43
- package/cjs/ChannelList/components/ChannelListUI.js +0 -149
- package/cjs/ChannelList/components/ChannelPreview.js +0 -133
- package/cjs/ChannelList/components/ChannelPreviewAction.js +0 -73
- package/cjs/ChannelList/context.js +0 -22
- package/cjs/ChannelList.js +0 -83
- package/cjs/ChannelSettings/components/ChannelProfile.js +0 -67
- package/cjs/ChannelSettings/components/ChannelSettingsUI.js +0 -121
- package/cjs/ChannelSettings/components/EditDetailsModal.js +0 -99
- package/cjs/ChannelSettings/components/LeaveChannel.js +0 -69
- package/cjs/ChannelSettings/components/ModerationPanel.js +0 -457
- package/cjs/ChannelSettings/components/UserListItem.js +0 -67
- package/cjs/ChannelSettings/components/UserPanel.js +0 -66
- package/cjs/ChannelSettings/context.js +0 -72
- package/cjs/ChannelSettings.js +0 -63
- package/cjs/CreateChannel/components/CreateChannelUI.js +0 -50
- package/cjs/CreateChannel/components/InviteUsers.js +0 -169
- package/cjs/CreateChannel/components/SelectChannelType.js +0 -82
- package/cjs/CreateChannel/context.js +0 -16
- package/cjs/CreateChannel.js +0 -46
- package/cjs/CreateOpenChannel/components/CreateOpenChannelUI.js +0 -70
- package/cjs/CreateOpenChannel/context.js +0 -52
- package/cjs/CreateOpenChannel.js +0 -35
- package/cjs/EditUserProfile/components/EditUserProfileUI.js +0 -100
- package/cjs/EditUserProfile/components/EditUserProfileUI.js.map +0 -1
- package/cjs/EditUserProfile.js +0 -36
- package/cjs/MessageSearch/components/MessageSearchUI.js +0 -94
- package/cjs/MessageSearch/context.js +0 -261
- package/cjs/MessageSearch.js +0 -79
- package/cjs/OpenChannel/components/FrozenChannelNotification.js +0 -17
- package/cjs/OpenChannel/components/OpenChannelHeader.js +0 -49
- package/cjs/OpenChannel/components/OpenChannelHeader.js.map +0 -1
- package/cjs/OpenChannel/components/OpenChannelInput.js +0 -58
- package/cjs/OpenChannel/components/OpenChannelInput.js.map +0 -1
- package/cjs/OpenChannel/components/OpenChannelMessage.js +0 -198
- package/cjs/OpenChannel/components/OpenChannelMessage.js.map +0 -1
- package/cjs/OpenChannel/components/OpenChannelMessageList.js +0 -123
- package/cjs/OpenChannel/components/OpenChannelMessageList.js.map +0 -1
- package/cjs/OpenChannel/components/OpenChannelUI.js +0 -103
- package/cjs/OpenChannel/components/OpenChannelUI.js.map +0 -1
- package/cjs/OpenChannel/context.js +0 -21
- package/cjs/OpenChannel/context.js.map +0 -1
- package/cjs/OpenChannel.js +0 -81
- package/cjs/OpenChannel.js.map +0 -1
- package/cjs/OpenChannelList/components/OpenChannelListUI.js +0 -116
- package/cjs/OpenChannelList/components/OpenChannelPreview.js +0 -31
- package/cjs/OpenChannelList/context.js +0 -17
- package/cjs/OpenChannelList.js +0 -47
- package/cjs/OpenChannelSettings/components/EditDetailsModal.js +0 -91
- package/cjs/OpenChannelSettings/components/OpenChannelProfile.js +0 -58
- package/cjs/OpenChannelSettings/components/OpenChannelSettingsUI.js +0 -92
- package/cjs/OpenChannelSettings/components/OperatorUI.js +0 -508
- package/cjs/OpenChannelSettings/components/ParticipantUI.js +0 -42
- package/cjs/OpenChannelSettings/context.js +0 -126
- package/cjs/OpenChannelSettings.js +0 -58
- package/cjs/SendbirdProvider.js +0 -1066
- package/cjs/Thread/components/ParentMessageInfo.js +0 -248
- package/cjs/Thread/components/ParentMessageInfo.js.map +0 -1
- package/cjs/Thread/components/ParentMessageInfoItem.js +0 -150
- package/cjs/Thread/components/ThreadHeader.js +0 -34
- package/cjs/Thread/components/ThreadList.js +0 -172
- package/cjs/Thread/components/ThreadListItem.js +0 -329
- package/cjs/Thread/components/ThreadListItem.js.map +0 -1
- package/cjs/Thread/components/ThreadMessageInput.js +0 -188
- package/cjs/Thread/components/ThreadMessageInput.js.map +0 -1
- package/cjs/Thread/components/ThreadUI.js +0 -267
- package/cjs/Thread/components/ThreadUI.js.map +0 -1
- package/cjs/Thread/context.js +0 -1304
- package/cjs/Thread/context.js.map +0 -1
- package/cjs/Thread.js +0 -129
- package/cjs/Thread.js.map +0 -1
- package/cjs/VoicePlayer/context.js +0 -15
- package/cjs/VoicePlayer/useVoicePlayer.js +0 -73
- package/cjs/VoiceRecorder/context.js +0 -138
- package/cjs/VoiceRecorder/useVoiceRecorder.js +0 -111
- package/cjs/chunks/bundle-0MHADZvF.js +0 -84
- package/cjs/chunks/bundle-0MHADZvF.js.map +0 -1
- package/cjs/chunks/bundle-0bOWh2mP.js +0 -139
- package/cjs/chunks/bundle-0bOWh2mP.js.map +0 -1
- package/cjs/chunks/bundle-0wbO-LdY.js +0 -46
- package/cjs/chunks/bundle-0wbO-LdY.js.map +0 -1
- package/cjs/chunks/bundle-5MVOBR4R.js +0 -79
- package/cjs/chunks/bundle-5MVOBR4R.js.map +0 -1
- package/cjs/chunks/bundle-5NqynIJA.js +0 -264
- package/cjs/chunks/bundle-5NqynIJA.js.map +0 -1
- package/cjs/chunks/bundle-5cuVj6Hi.js +0 -181
- package/cjs/chunks/bundle-5cuVj6Hi.js.map +0 -1
- package/cjs/chunks/bundle-7gBYfQwU.js +0 -1523
- package/cjs/chunks/bundle-7gBYfQwU.js.map +0 -1
- package/cjs/chunks/bundle-A4ywDIVT.js +0 -35
- package/cjs/chunks/bundle-A4ywDIVT.js.map +0 -1
- package/cjs/chunks/bundle-AQhLE-Ci.js +0 -7
- package/cjs/chunks/bundle-AQhLE-Ci.js.map +0 -1
- package/cjs/chunks/bundle-AoaxviqO.js +0 -68
- package/cjs/chunks/bundle-AoaxviqO.js.map +0 -1
- package/cjs/chunks/bundle-BA9K_smf.js +0 -360
- package/cjs/chunks/bundle-BA9K_smf.js.map +0 -1
- package/cjs/chunks/bundle-EVdeXpsD.js +0 -48
- package/cjs/chunks/bundle-EVdeXpsD.js.map +0 -1
- package/cjs/chunks/bundle-F--qTOLe.js +0 -707
- package/cjs/chunks/bundle-F--qTOLe.js.map +0 -1
- package/cjs/chunks/bundle-FV9lCJz1.js +0 -831
- package/cjs/chunks/bundle-FV9lCJz1.js.map +0 -1
- package/cjs/chunks/bundle-FpImAp7o.js +0 -137
- package/cjs/chunks/bundle-FpImAp7o.js.map +0 -1
- package/cjs/chunks/bundle-GE1I3PNS.js +0 -84
- package/cjs/chunks/bundle-GE1I3PNS.js.map +0 -1
- package/cjs/chunks/bundle-HaufoaVC.js +0 -18
- package/cjs/chunks/bundle-HaufoaVC.js.map +0 -1
- package/cjs/chunks/bundle-HjwY9t7s.js +0 -217
- package/cjs/chunks/bundle-HjwY9t7s.js.map +0 -1
- package/cjs/chunks/bundle-IxIg8fhp.js +0 -99
- package/cjs/chunks/bundle-IxIg8fhp.js.map +0 -1
- package/cjs/chunks/bundle-JragPpHy.js +0 -69
- package/cjs/chunks/bundle-JragPpHy.js.map +0 -1
- package/cjs/chunks/bundle-KKPmuuwX.js +0 -74
- package/cjs/chunks/bundle-KKPmuuwX.js.map +0 -1
- package/cjs/chunks/bundle-KVlEj9_l.js +0 -1460
- package/cjs/chunks/bundle-KVlEj9_l.js.map +0 -1
- package/cjs/chunks/bundle-MBuX_zXW.js +0 -27
- package/cjs/chunks/bundle-MBuX_zXW.js.map +0 -1
- package/cjs/chunks/bundle-MeuNh9Q9.js +0 -17
- package/cjs/chunks/bundle-MeuNh9Q9.js.map +0 -1
- package/cjs/chunks/bundle-N1ipvkhN.js +0 -6
- package/cjs/chunks/bundle-N1ipvkhN.js.map +0 -1
- package/cjs/chunks/bundle-NYFm08XH.js +0 -15
- package/cjs/chunks/bundle-NYFm08XH.js.map +0 -1
- package/cjs/chunks/bundle-Pe-j2f1D.js +0 -8
- package/cjs/chunks/bundle-Pe-j2f1D.js.map +0 -1
- package/cjs/chunks/bundle-QH7iLrPR.js +0 -102
- package/cjs/chunks/bundle-QH7iLrPR.js.map +0 -1
- package/cjs/chunks/bundle-SngxTjas.js +0 -30
- package/cjs/chunks/bundle-SngxTjas.js.map +0 -1
- package/cjs/chunks/bundle-VoZZnYtF.js +0 -236
- package/cjs/chunks/bundle-VoZZnYtF.js.map +0 -1
- package/cjs/chunks/bundle-XoWonC_b.js +0 -128
- package/cjs/chunks/bundle-XoWonC_b.js.map +0 -1
- package/cjs/chunks/bundle-YjWwnwWH.js +0 -178
- package/cjs/chunks/bundle-YjWwnwWH.js.map +0 -1
- package/cjs/chunks/bundle-YkzD-qec.js +0 -279
- package/cjs/chunks/bundle-YkzD-qec.js.map +0 -1
- package/cjs/chunks/bundle-ZurhBjw4.js +0 -20
- package/cjs/chunks/bundle-ZurhBjw4.js.map +0 -1
- package/cjs/chunks/bundle-cV7uGK08.js +0 -510
- package/cjs/chunks/bundle-cV7uGK08.js.map +0 -1
- package/cjs/chunks/bundle-fWyUHuJu.js +0 -11
- package/cjs/chunks/bundle-fWyUHuJu.js.map +0 -1
- package/cjs/chunks/bundle-gM8i5lGF.js +0 -27
- package/cjs/chunks/bundle-gM8i5lGF.js.map +0 -1
- package/cjs/chunks/bundle-hxGMLtWg.js +0 -22
- package/cjs/chunks/bundle-hxGMLtWg.js.map +0 -1
- package/cjs/chunks/bundle-i5KLDxjz.js +0 -6
- package/cjs/chunks/bundle-i5KLDxjz.js.map +0 -1
- package/cjs/chunks/bundle-igY82TbB.js +0 -39
- package/cjs/chunks/bundle-igY82TbB.js.map +0 -1
- package/cjs/chunks/bundle-l92Ws-Rs.js +0 -32
- package/cjs/chunks/bundle-l92Ws-Rs.js.map +0 -1
- package/cjs/chunks/bundle-mgmuHFWU.js +0 -26
- package/cjs/chunks/bundle-mgmuHFWU.js.map +0 -1
- package/cjs/chunks/bundle-nGMCZjvM.js +0 -1858
- package/cjs/chunks/bundle-nGMCZjvM.js.map +0 -1
- package/cjs/chunks/bundle-nuIgQkwQ.js +0 -75
- package/cjs/chunks/bundle-nuIgQkwQ.js.map +0 -1
- package/cjs/chunks/bundle-o1ta9AIa.js +0 -19
- package/cjs/chunks/bundle-o1ta9AIa.js.map +0 -1
- package/cjs/chunks/bundle-omofvX-G.js +0 -178
- package/cjs/chunks/bundle-omofvX-G.js.map +0 -1
- package/cjs/chunks/bundle-ow5FLcVV.js +0 -16
- package/cjs/chunks/bundle-ow5FLcVV.js.map +0 -1
- package/cjs/chunks/bundle-pOTnhSyt.js +0 -15
- package/cjs/chunks/bundle-pOTnhSyt.js.map +0 -1
- package/cjs/chunks/bundle-pVKke2mQ.js +0 -224
- package/cjs/chunks/bundle-pVKke2mQ.js.map +0 -1
- package/cjs/chunks/bundle-pxBxPT0b.js +0 -159
- package/cjs/chunks/bundle-pxBxPT0b.js.map +0 -1
- package/cjs/chunks/bundle-tFuTz5CT.js +0 -228
- package/cjs/chunks/bundle-tFuTz5CT.js.map +0 -1
- package/cjs/chunks/bundle-ugapct3R.js +0 -236
- package/cjs/chunks/bundle-ugapct3R.js.map +0 -1
- package/cjs/chunks/bundle-v8bBiJ_c.js +0 -215
- package/cjs/chunks/bundle-v8bBiJ_c.js.map +0 -1
- package/cjs/chunks/bundle-vSdu8rrq.js +0 -74
- package/cjs/chunks/bundle-vSdu8rrq.js.map +0 -1
- package/cjs/chunks/bundle-vWUmeH2R.js +0 -79
- package/cjs/chunks/bundle-vWUmeH2R.js.map +0 -1
- package/cjs/chunks/bundle-vWlSj3_G.js +0 -10
- package/cjs/chunks/bundle-vWlSj3_G.js.map +0 -1
- package/cjs/chunks/bundle-wN0CLPzM.js +0 -38
- package/cjs/chunks/bundle-wN0CLPzM.js.map +0 -1
- package/cjs/chunks/bundle-x3a8KQ02.js +0 -136
- package/cjs/chunks/bundle-x3a8KQ02.js.map +0 -1
- package/cjs/chunks/bundle-xeeBDhY6.js +0 -6
- package/cjs/chunks/bundle-xeeBDhY6.js.map +0 -1
- package/cjs/chunks/bundle-xlnqnYUH.js +0 -109
- package/cjs/chunks/bundle-xlnqnYUH.js.map +0 -1
- package/cjs/chunks/bundle-yTYZiuXi.js +0 -28
- package/cjs/chunks/bundle-yTYZiuXi.js.map +0 -1
- package/cjs/hooks/useModal.js +0 -59
- package/cjs/index.js +0 -222
- package/cjs/index.js.map +0 -1
- package/cjs/lame.all.js +0 -16659
- package/cjs/lame.all.js.map +0 -1
- package/cjs/pubSub/topics.js +0 -18
- package/cjs/sendbirdSelectors.js +0 -580
- package/cjs/ui/Accordion.js +0 -52
- package/cjs/ui/AccordionGroup.js +0 -17
- package/cjs/ui/AdminMessage.js +0 -21
- package/cjs/ui/Avatar.js +0 -18
- package/cjs/ui/Badge.js +0 -26
- package/cjs/ui/BottomSheet.js +0 -38
- package/cjs/ui/Button.js +0 -53
- package/cjs/ui/ChannelAvatar.js +0 -32
- package/cjs/ui/ConnectionStatus.js +0 -20
- package/cjs/ui/ContextMenu.js +0 -216
- package/cjs/ui/DateSeparator.js +0 -21
- package/cjs/ui/EmojiReactions.js +0 -180
- package/cjs/ui/EmojiReactions.js.map +0 -1
- package/cjs/ui/FileMessageItemBody.js +0 -41
- package/cjs/ui/FileViewer.js +0 -33
- package/cjs/ui/Icon.js +0 -1140
- package/cjs/ui/IconButton.js +0 -26
- package/cjs/ui/ImageRenderer.js +0 -120
- package/cjs/ui/ImageRenderer.js.map +0 -1
- package/cjs/ui/Input.js +0 -26
- package/cjs/ui/Label.js +0 -16
- package/cjs/ui/LinkLabel.js +0 -32
- package/cjs/ui/Loader.js +0 -20
- package/cjs/ui/MentionLabel.js +0 -69
- package/cjs/ui/MentionUserLabel.js +0 -12
- package/cjs/ui/MessageContent.js +0 -339
- package/cjs/ui/MessageInput/hooks/usePaste.js +0 -17
- package/cjs/ui/MessageInput.js +0 -464
- package/cjs/ui/MessageItemMenu.js +0 -131
- package/cjs/ui/MessageItemReactionMenu.js +0 -58
- package/cjs/ui/MessageSearchFileItem.js +0 -92
- package/cjs/ui/MessageSearchItem.js +0 -63
- package/cjs/ui/MessageStatus.js +0 -26
- package/cjs/ui/Modal.js +0 -26
- package/cjs/ui/MutedAvatarOverlay.js +0 -23
- package/cjs/ui/OGMessageItemBody.js +0 -87
- package/cjs/ui/OpenChannelAdminMessage.js +0 -17
- package/cjs/ui/OpenChannelAvatar.js +0 -26
- package/cjs/ui/OpenchannelConversationHeader.js +0 -34
- package/cjs/ui/OpenchannelFileMessage.js +0 -139
- package/cjs/ui/OpenchannelOGMessage.js +0 -184
- package/cjs/ui/OpenchannelThumbnailMessage.js +0 -176
- package/cjs/ui/OpenchannelUserMessage.js +0 -147
- package/cjs/ui/PlaceHolder.js +0 -58
- package/cjs/ui/PlaybackTime.js +0 -22
- package/cjs/ui/QuoteMessage.js +0 -81
- package/cjs/ui/QuoteMessageInput.js +0 -84
- package/cjs/ui/ReactionBadge.js +0 -28
- package/cjs/ui/ReactionButton.js +0 -25
- package/cjs/ui/SortByRow.js +0 -31
- package/cjs/ui/TextButton.js +0 -17
- package/cjs/ui/TextMessageItemBody.js +0 -66
- package/cjs/ui/ThreadReplies.js +0 -44
- package/cjs/ui/ThumbnailMessageItemBody.js +0 -45
- package/cjs/ui/Toggle.js +0 -131
- package/cjs/ui/Tooltip.js +0 -17
- package/cjs/ui/TooltipWrapper.js +0 -21
- package/cjs/ui/TypingIndicatorBubble.js +0 -69
- package/cjs/ui/UnknownMessageItemBody.js +0 -29
- package/cjs/ui/UserListItem.js +0 -73
- package/cjs/ui/UserProfile.js +0 -60
- package/cjs/ui/VoiceMessageInput.js +0 -21
- package/cjs/ui/VoiceMessageItemBody.js +0 -74
- package/cjs/ui/Word.js +0 -82
- package/cjs/useSendbirdStateContext.js +0 -27
- package/cjs/utils/message/isVoiceMessage.js +0 -11
- package/cjs/withSendbird.js +0 -28
- package/dist/index.css +0 -7839
- package/dist/index.css.map +0 -1
- package/hooks/useModal.js +0 -55
- package/index.js +0 -200
- package/index.js.map +0 -1
- package/lame.all.js +0 -16655
- package/lame.all.js.map +0 -1
- package/pubSub/topics.js +0 -2
- package/sendbirdSelectors.js +0 -555
- package/types/lib/hooks/useConnect/setupConnection.d.ts +0 -18
- package/types/modules/Channel/components/MessageInput/useHandleUploadFiles.d.ts +0 -19
- package/types/modules/Channel/context/hooks/useHandleChannelEvents.d.ts +0 -29
- package/types/modules/Channel/context/hooks/useResendMessageCallback.d.ts +0 -14
- package/types/modules/ChannelList/components/ChannelListUI/index.d.ts +0 -23
- package/types/modules/ChannelList/dux/actionTypes.d.ts +0 -66
- package/types/modules/EditUserProfile/components/EditUserProfileUI/index.d.ts +0 -3
- package/types/modules/OpenChannel/context/hooks/useFileUploadCallback.d.ts +0 -27
- package/types/types.d.ts +0 -59
- package/types/ui/EmojiReactions/ReactionItem.d.ts +0 -17
- package/types/ui/Label/stringSet.d.ts +0 -189
- package/types/utils/consts.d.ts +0 -23
- package/ui/Accordion.js +0 -47
- package/ui/AccordionGroup.js +0 -15
- package/ui/AdminMessage.js +0 -19
- package/ui/Avatar.js +0 -9
- package/ui/Badge.js +0 -24
- package/ui/BottomSheet.js +0 -36
- package/ui/Button.js +0 -49
- package/ui/ChannelAvatar.js +0 -30
- package/ui/ConnectionStatus.js +0 -18
- package/ui/ContextMenu.js +0 -207
- package/ui/DateSeparator.js +0 -19
- package/ui/EmojiReactions.js +0 -178
- package/ui/EmojiReactions.js.map +0 -1
- package/ui/FileMessageItemBody.js +0 -39
- package/ui/FileViewer.js +0 -24
- package/ui/Icon.js +0 -1116
- package/ui/IconButton.js +0 -24
- package/ui/ImageRenderer.js +0 -114
- package/ui/ImageRenderer.js.map +0 -1
- package/ui/Input.js +0 -21
- package/ui/Label.js +0 -5
- package/ui/LinkLabel.js +0 -26
- package/ui/Loader.js +0 -18
- package/ui/MentionLabel.js +0 -67
- package/ui/MentionUserLabel.js +0 -10
- package/ui/MessageContent.js +0 -337
- package/ui/MessageContent.js.map +0 -1
- package/ui/MessageInput/hooks/usePaste.js +0 -8
- package/ui/MessageInput.js +0 -462
- package/ui/MessageItemMenu.js +0 -126
- package/ui/MessageItemReactionMenu.js +0 -53
- package/ui/MessageSearchFileItem.js +0 -90
- package/ui/MessageSearchItem.js +0 -61
- package/ui/MessageStatus.js +0 -17
- package/ui/Modal.js +0 -14
- package/ui/MutedAvatarOverlay.js +0 -21
- package/ui/OGMessageItemBody.js +0 -85
- package/ui/OpenChannelAdminMessage.js +0 -15
- package/ui/OpenChannelAvatar.js +0 -24
- package/ui/OpenchannelConversationHeader.js +0 -32
- package/ui/OpenchannelFileMessage.js +0 -137
- package/ui/OpenchannelFileMessage.js.map +0 -1
- package/ui/OpenchannelOGMessage.js +0 -182
- package/ui/OpenchannelOGMessage.js.map +0 -1
- package/ui/OpenchannelThumbnailMessage.js +0 -174
- package/ui/OpenchannelThumbnailMessage.js.map +0 -1
- package/ui/OpenchannelUserMessage.js +0 -145
- package/ui/OpenchannelUserMessage.js.map +0 -1
- package/ui/PlaceHolder.js +0 -53
- package/ui/PlaybackTime.js +0 -17
- package/ui/QuoteMessage.js +0 -79
- package/ui/QuoteMessageInput.js +0 -82
- package/ui/ReactionBadge.js +0 -26
- package/ui/ReactionButton.js +0 -23
- package/ui/SortByRow.js +0 -29
- package/ui/TextButton.js +0 -15
- package/ui/TextMessageItemBody.js +0 -64
- package/ui/ThreadReplies.js +0 -42
- package/ui/ThumbnailMessageItemBody.js +0 -43
- package/ui/Toggle.js +0 -126
- package/ui/Tooltip.js +0 -15
- package/ui/TooltipWrapper.js +0 -19
- package/ui/TypingIndicatorBubble.js +0 -67
- package/ui/UnknownMessageItemBody.js +0 -27
- package/ui/UserListItem.js +0 -71
- package/ui/UserListItem.js.map +0 -1
- package/ui/UserProfile.js +0 -58
- package/ui/VoiceMessageInput.js +0 -15
- package/ui/VoiceMessageItemBody.js +0 -69
- package/ui/Word.js +0 -80
- package/useSendbirdStateContext.js +0 -22
- package/utils/message/isVoiceMessage.js +0 -9
- package/withSendbird.js +0 -23
- /package/{Channel → dist/Channel}/components/ChannelHeader.js.map +0 -0
- /package/{Channel → dist/Channel}/components/FileViewer.js.map +0 -0
- /package/{Channel → dist/Channel}/components/FrozenNotification.js.map +0 -0
- /package/{Channel → dist/Channel}/components/Message.js.map +0 -0
- /package/{Channel → dist/Channel}/components/MessageList.js.map +0 -0
- /package/{Channel → dist/Channel}/components/RemoveMessageModal.js.map +0 -0
- /package/{Channel → dist/Channel}/components/SuggestedMentionList.js.map +0 -0
- /package/{Channel → dist/Channel}/components/TypingIndicator.js.map +0 -0
- /package/{Channel → dist/Channel}/components/UnreadCount.js.map +0 -0
- /package/{Channel → dist/Channel}/context.js.map +0 -0
- /package/{Channel → dist/Channel}/hooks/useInitialMessagesFetch.js.map +0 -0
- /package/{Channel → dist/Channel}/utils/compareMessagesForGrouping.js.map +0 -0
- /package/{Channel → dist/Channel}/utils/getMessagePartsInfo.js.map +0 -0
- /package/{ChannelList → dist/ChannelList}/components/AddChannel.js.map +0 -0
- /package/{ChannelList → dist/ChannelList}/components/ChannelListHeader.js.map +0 -0
- /package/{ChannelList → dist/ChannelList}/components/ChannelListUI.js.map +0 -0
- /package/{ChannelList → dist/ChannelList}/components/ChannelPreview.js.map +0 -0
- /package/{ChannelList → dist/ChannelList}/components/ChannelPreviewAction.js.map +0 -0
- /package/{ChannelList → dist/ChannelList}/context.js.map +0 -0
- /package/{ChannelList.js.map → dist/ChannelList.js.map} +0 -0
- /package/{ChannelSettings → dist/ChannelSettings}/components/ChannelProfile.js.map +0 -0
- /package/{ChannelSettings → dist/ChannelSettings}/components/ChannelSettingsUI.js.map +0 -0
- /package/{ChannelSettings → dist/ChannelSettings}/components/EditDetailsModal.js.map +0 -0
- /package/{ChannelSettings → dist/ChannelSettings}/components/LeaveChannel.js.map +0 -0
- /package/{ChannelSettings → dist/ChannelSettings}/components/ModerationPanel.js.map +0 -0
- /package/{cjs → dist}/ChannelSettings/components/UserListItem.js.map +0 -0
- /package/{ChannelSettings → dist/ChannelSettings}/components/UserPanel.js.map +0 -0
- /package/{ChannelSettings → dist/ChannelSettings}/context.js.map +0 -0
- /package/{ChannelSettings.js.map → dist/ChannelSettings.js.map} +0 -0
- /package/{CreateChannel → dist/CreateChannel}/components/CreateChannelUI.js.map +0 -0
- /package/{CreateChannel → dist/CreateChannel}/components/InviteUsers.js.map +0 -0
- /package/{CreateChannel → dist/CreateChannel}/components/SelectChannelType.js.map +0 -0
- /package/{CreateChannel → dist/CreateChannel}/context.js.map +0 -0
- /package/{CreateChannel.js.map → dist/CreateChannel.js.map} +0 -0
- /package/{CreateOpenChannel → dist/CreateOpenChannel}/components/CreateOpenChannelUI.js.map +0 -0
- /package/{CreateOpenChannel → dist/CreateOpenChannel}/context.js.map +0 -0
- /package/{CreateOpenChannel.js.map → dist/CreateOpenChannel.js.map} +0 -0
- /package/{EditUserProfile → dist/EditUserProfile}/context.js +0 -0
- /package/{EditUserProfile → dist/EditUserProfile}/context.js.map +0 -0
- /package/{EditUserProfile.js.map → dist/EditUserProfile.js.map} +0 -0
- /package/{Message → dist/Message}/context.js +0 -0
- /package/{Message → dist/Message}/context.js.map +0 -0
- /package/{Message → dist/Message}/hooks/useDirtyGetMentions.js +0 -0
- /package/{Message → dist/Message}/hooks/useDirtyGetMentions.js.map +0 -0
- /package/{MessageSearch → dist/MessageSearch}/components/MessageSearchUI.js.map +0 -0
- /package/{MessageSearch → dist/MessageSearch}/context.js.map +0 -0
- /package/{MessageSearch.js.map → dist/MessageSearch.js.map} +0 -0
- /package/{OpenChannel → dist/OpenChannel}/components/FrozenChannelNotification.js.map +0 -0
- /package/{OpenChannelList → dist/OpenChannelList}/components/OpenChannelListUI.js.map +0 -0
- /package/{OpenChannelList → dist/OpenChannelList}/components/OpenChannelPreview.js.map +0 -0
- /package/{OpenChannelList → dist/OpenChannelList}/context.js.map +0 -0
- /package/{OpenChannelList.js.map → dist/OpenChannelList.js.map} +0 -0
- /package/{OpenChannelSettings → dist/OpenChannelSettings}/components/EditDetailsModal.js.map +0 -0
- /package/{OpenChannelSettings → dist/OpenChannelSettings}/components/OpenChannelProfile.js.map +0 -0
- /package/{OpenChannelSettings → dist/OpenChannelSettings}/components/OpenChannelSettingsUI.js.map +0 -0
- /package/{OpenChannelSettings → dist/OpenChannelSettings}/components/OperatorUI.js.map +0 -0
- /package/{OpenChannelSettings → dist/OpenChannelSettings}/components/ParticipantUI.js.map +0 -0
- /package/{OpenChannelSettings → dist/OpenChannelSettings}/context.js.map +0 -0
- /package/{OpenChannelSettings.js.map → dist/OpenChannelSettings.js.map} +0 -0
- /package/{SendbirdProvider.js.map → dist/SendbirdProvider.js.map} +0 -0
- /package/{Thread → dist/Thread}/components/ParentMessageInfoItem.js.map +0 -0
- /package/{Thread → dist/Thread}/components/ThreadHeader.js.map +0 -0
- /package/{Thread → dist/Thread}/components/ThreadList.js.map +0 -0
- /package/{Thread → dist/Thread}/context/types.js +0 -0
- /package/{Thread → dist/Thread}/context/types.js.map +0 -0
- /package/{VoicePlayer → dist/VoicePlayer}/context.js.map +0 -0
- /package/{VoicePlayer → dist/VoicePlayer}/useVoicePlayer.js.map +0 -0
- /package/{VoiceRecorder → dist/VoiceRecorder}/context.js.map +0 -0
- /package/{VoiceRecorder → dist/VoiceRecorder}/useVoiceRecorder.js.map +0 -0
- /package/{cjs → dist/cjs}/Channel/components/ChannelHeader.js.map +0 -0
- /package/{cjs → dist/cjs}/Channel/components/FileViewer.js.map +0 -0
- /package/{cjs → dist/cjs}/Channel/components/FrozenNotification.js.map +0 -0
- /package/{cjs → dist/cjs}/Channel/components/Message.js.map +0 -0
- /package/{cjs → dist/cjs}/Channel/components/MessageList.js.map +0 -0
- /package/{cjs → dist/cjs}/Channel/components/RemoveMessageModal.js.map +0 -0
- /package/{cjs → dist/cjs}/Channel/components/SuggestedMentionList.js.map +0 -0
- /package/{cjs → dist/cjs}/Channel/components/TypingIndicator.js.map +0 -0
- /package/{cjs → dist/cjs}/Channel/components/UnreadCount.js.map +0 -0
- /package/{cjs → dist/cjs}/Channel/context.js.map +0 -0
- /package/{cjs → dist/cjs}/Channel/hooks/useInitialMessagesFetch.js.map +0 -0
- /package/{cjs → dist/cjs}/Channel/utils/compareMessagesForGrouping.js.map +0 -0
- /package/{cjs → dist/cjs}/Channel/utils/getMessagePartsInfo.js.map +0 -0
- /package/{cjs → dist/cjs}/ChannelList/components/AddChannel.js.map +0 -0
- /package/{cjs → dist/cjs}/ChannelList/components/ChannelListHeader.js.map +0 -0
- /package/{cjs → dist/cjs}/ChannelList/components/ChannelListUI.js.map +0 -0
- /package/{cjs → dist/cjs}/ChannelList/components/ChannelPreview.js.map +0 -0
- /package/{cjs → dist/cjs}/ChannelList/components/ChannelPreviewAction.js.map +0 -0
- /package/{cjs → dist/cjs}/ChannelList/context.js.map +0 -0
- /package/{cjs → dist/cjs}/ChannelList.js.map +0 -0
- /package/{cjs → dist/cjs}/ChannelSettings/components/ChannelProfile.js.map +0 -0
- /package/{cjs → dist/cjs}/ChannelSettings/components/ChannelSettingsUI.js.map +0 -0
- /package/{cjs → dist/cjs}/ChannelSettings/components/EditDetailsModal.js.map +0 -0
- /package/{cjs → dist/cjs}/ChannelSettings/components/LeaveChannel.js.map +0 -0
- /package/{cjs → dist/cjs}/ChannelSettings/components/ModerationPanel.js.map +0 -0
- /package/{cjs → dist/cjs}/ChannelSettings/components/UserPanel.js.map +0 -0
- /package/{cjs → dist/cjs}/ChannelSettings/context.js.map +0 -0
- /package/{cjs → dist/cjs}/ChannelSettings.js.map +0 -0
- /package/{cjs → dist/cjs}/CreateChannel/components/CreateChannelUI.js.map +0 -0
- /package/{cjs → dist/cjs}/CreateChannel/components/InviteUsers.js.map +0 -0
- /package/{cjs → dist/cjs}/CreateChannel/components/SelectChannelType.js.map +0 -0
- /package/{cjs → dist/cjs}/CreateChannel/context.js.map +0 -0
- /package/{cjs → dist/cjs}/CreateChannel.js.map +0 -0
- /package/{cjs → dist/cjs}/CreateOpenChannel/components/CreateOpenChannelUI.js.map +0 -0
- /package/{cjs → dist/cjs}/CreateOpenChannel/context.js.map +0 -0
- /package/{cjs → dist/cjs}/CreateOpenChannel.js.map +0 -0
- /package/{cjs → dist/cjs}/EditUserProfile/context.js +0 -0
- /package/{cjs → dist/cjs}/EditUserProfile/context.js.map +0 -0
- /package/{cjs → dist/cjs}/EditUserProfile.js.map +0 -0
- /package/{cjs → dist/cjs}/Message/context.js +0 -0
- /package/{cjs → dist/cjs}/Message/context.js.map +0 -0
- /package/{cjs → dist/cjs}/Message/hooks/useDirtyGetMentions.js +0 -0
- /package/{cjs → dist/cjs}/Message/hooks/useDirtyGetMentions.js.map +0 -0
- /package/{cjs → dist/cjs}/MessageSearch/components/MessageSearchUI.js.map +0 -0
- /package/{cjs → dist/cjs}/MessageSearch/context.js.map +0 -0
- /package/{cjs → dist/cjs}/MessageSearch.js.map +0 -0
- /package/{cjs → dist/cjs}/OpenChannel/components/FrozenChannelNotification.js.map +0 -0
- /package/{cjs → dist/cjs}/OpenChannelList/components/OpenChannelListUI.js.map +0 -0
- /package/{cjs → dist/cjs}/OpenChannelList/components/OpenChannelPreview.js.map +0 -0
- /package/{cjs → dist/cjs}/OpenChannelList/context.js.map +0 -0
- /package/{cjs → dist/cjs}/OpenChannelList.js.map +0 -0
- /package/{cjs → dist/cjs}/OpenChannelSettings/components/EditDetailsModal.js.map +0 -0
- /package/{cjs → dist/cjs}/OpenChannelSettings/components/OpenChannelProfile.js.map +0 -0
- /package/{cjs → dist/cjs}/OpenChannelSettings/components/OpenChannelSettingsUI.js.map +0 -0
- /package/{cjs → dist/cjs}/OpenChannelSettings/components/OperatorUI.js.map +0 -0
- /package/{cjs → dist/cjs}/OpenChannelSettings/components/ParticipantUI.js.map +0 -0
- /package/{cjs → dist/cjs}/OpenChannelSettings/context.js.map +0 -0
- /package/{cjs → dist/cjs}/OpenChannelSettings.js.map +0 -0
- /package/{cjs → dist/cjs}/SendbirdProvider.js.map +0 -0
- /package/{cjs → dist/cjs}/Thread/components/ParentMessageInfoItem.js.map +0 -0
- /package/{cjs → dist/cjs}/Thread/components/ThreadHeader.js.map +0 -0
- /package/{cjs → dist/cjs}/Thread/components/ThreadList.js.map +0 -0
- /package/{cjs → dist/cjs}/Thread/context/types.js +0 -0
- /package/{cjs → dist/cjs}/Thread/context/types.js.map +0 -0
- /package/{cjs → dist/cjs}/VoicePlayer/context.js.map +0 -0
- /package/{cjs → dist/cjs}/VoicePlayer/useVoicePlayer.js.map +0 -0
- /package/{cjs → dist/cjs}/VoiceRecorder/context.js.map +0 -0
- /package/{cjs → dist/cjs}/VoiceRecorder/useVoiceRecorder.js.map +0 -0
- /package/{cjs → dist/cjs}/handlers/ConnectionHandler.js +0 -0
- /package/{cjs → dist/cjs}/handlers/ConnectionHandler.js.map +0 -0
- /package/{cjs → dist/cjs}/handlers/GroupChannelHandler.js +0 -0
- /package/{cjs → dist/cjs}/handlers/GroupChannelHandler.js.map +0 -0
- /package/{cjs → dist/cjs}/handlers/OpenChannelHandler.js +0 -0
- /package/{cjs → dist/cjs}/handlers/OpenChannelHandler.js.map +0 -0
- /package/{cjs → dist/cjs}/handlers/SessionHandler.js +0 -0
- /package/{cjs → dist/cjs}/handlers/SessionHandler.js.map +0 -0
- /package/{cjs → dist/cjs}/handlers/UserEventHandler.js +0 -0
- /package/{cjs → dist/cjs}/handlers/UserEventHandler.js.map +0 -0
- /package/{cjs → dist/cjs}/hooks/useModal.js.map +0 -0
- /package/{cjs → dist/cjs}/package.json +0 -0
- /package/{cjs → dist/cjs}/pubSub/topics.js.map +0 -0
- /package/{cjs → dist/cjs}/sendbirdSelectors.js.map +0 -0
- /package/{cjs → dist/cjs}/ui/Accordion.js.map +0 -0
- /package/{cjs → dist/cjs}/ui/AccordionGroup.js.map +0 -0
- /package/{cjs → dist/cjs}/ui/AdminMessage.js.map +0 -0
- /package/{cjs → dist/cjs}/ui/Avatar.js.map +0 -0
- /package/{cjs → dist/cjs}/ui/Badge.js.map +0 -0
- /package/{cjs → dist/cjs}/ui/BottomSheet.js.map +0 -0
- /package/{cjs → dist/cjs}/ui/Button.js.map +0 -0
- /package/{cjs → dist/cjs}/ui/ChannelAvatar.js.map +0 -0
- /package/{cjs → dist/cjs}/ui/Checkbox.js +0 -0
- /package/{cjs → dist/cjs}/ui/Checkbox.js.map +0 -0
- /package/{cjs → dist/cjs}/ui/ConnectionStatus.js.map +0 -0
- /package/{cjs → dist/cjs}/ui/ContextMenu.js.map +0 -0
- /package/{cjs → dist/cjs}/ui/DateSeparator.js.map +0 -0
- /package/{cjs → dist/cjs}/ui/FileMessageItemBody.js.map +0 -0
- /package/{cjs → dist/cjs}/ui/FileViewer.js.map +0 -0
- /package/{cjs → dist/cjs}/ui/Icon.js.map +0 -0
- /package/{cjs → dist/cjs}/ui/IconButton.js.map +0 -0
- /package/{cjs → dist/cjs}/ui/Input.js.map +0 -0
- /package/{cjs → dist/cjs}/ui/Label.js.map +0 -0
- /package/{cjs → dist/cjs}/ui/LinkLabel.js.map +0 -0
- /package/{cjs → dist/cjs}/ui/Loader.js.map +0 -0
- /package/{cjs → dist/cjs}/ui/MentionLabel.js.map +0 -0
- /package/{cjs → dist/cjs}/ui/MentionUserLabel.js.map +0 -0
- /package/{cjs → dist/cjs}/ui/MessageInput/hooks/usePaste.js.map +0 -0
- /package/{cjs → dist/cjs}/ui/MessageInput.js.map +0 -0
- /package/{cjs → dist/cjs}/ui/MessageItemMenu.js.map +0 -0
- /package/{cjs → dist/cjs}/ui/MessageItemReactionMenu.js.map +0 -0
- /package/{cjs → dist/cjs}/ui/MessageSearchFileItem.js.map +0 -0
- /package/{cjs → dist/cjs}/ui/MessageSearchItem.js.map +0 -0
- /package/{cjs → dist/cjs}/ui/MessageStatus.js.map +0 -0
- /package/{cjs → dist/cjs}/ui/Modal.js.map +0 -0
- /package/{cjs → dist/cjs}/ui/MutedAvatarOverlay.js.map +0 -0
- /package/{cjs → dist/cjs}/ui/OGMessageItemBody.js.map +0 -0
- /package/{cjs → dist/cjs}/ui/OpenChannelAdminMessage.js.map +0 -0
- /package/{cjs → dist/cjs}/ui/OpenChannelAvatar.js.map +0 -0
- /package/{cjs → dist/cjs}/ui/OpenchannelConversationHeader.js.map +0 -0
- /package/{cjs → dist/cjs}/ui/PlaceHolder.js.map +0 -0
- /package/{cjs → dist/cjs}/ui/PlaybackTime.js.map +0 -0
- /package/{cjs → dist/cjs}/ui/ProgressBar.js +0 -0
- /package/{cjs → dist/cjs}/ui/ProgressBar.js.map +0 -0
- /package/{cjs → dist/cjs}/ui/QuoteMessage.js.map +0 -0
- /package/{cjs → dist/cjs}/ui/QuoteMessageInput.js.map +0 -0
- /package/{cjs → dist/cjs}/ui/ReactionBadge.js.map +0 -0
- /package/{cjs → dist/cjs}/ui/ReactionButton.js.map +0 -0
- /package/{cjs → dist/cjs}/ui/SortByRow.js.map +0 -0
- /package/{cjs → dist/cjs}/ui/TextButton.js.map +0 -0
- /package/{cjs → dist/cjs}/ui/TextMessageItemBody.js.map +0 -0
- /package/{cjs → dist/cjs}/ui/ThreadReplies.js.map +0 -0
- /package/{cjs → dist/cjs}/ui/ThumbnailMessageItemBody.js.map +0 -0
- /package/{cjs → dist/cjs}/ui/Toggle.js.map +0 -0
- /package/{cjs → dist/cjs}/ui/Tooltip.js.map +0 -0
- /package/{cjs → dist/cjs}/ui/TooltipWrapper.js.map +0 -0
- /package/{cjs → dist/cjs}/ui/TypingIndicatorBubble.js.map +0 -0
- /package/{cjs → dist/cjs}/ui/UnknownMessageItemBody.js.map +0 -0
- /package/{cjs → dist/cjs}/ui/UserProfile.js.map +0 -0
- /package/{cjs → dist/cjs}/ui/VoiceMessageInput.js.map +0 -0
- /package/{cjs → dist/cjs}/ui/VoiceMessageItemBody.js.map +0 -0
- /package/{cjs → dist/cjs}/ui/Word.js.map +0 -0
- /package/{cjs → dist/cjs}/useSendbirdStateContext.js.map +0 -0
- /package/{cjs → dist/cjs}/utils/message/getOutgoingMessageState.js +0 -0
- /package/{cjs → dist/cjs}/utils/message/getOutgoingMessageState.js.map +0 -0
- /package/{cjs → dist/cjs}/utils/message/isVoiceMessage.js.map +0 -0
- /package/{cjs → dist/cjs}/withSendbird.js.map +0 -0
- /package/{handlers → dist/handlers}/ConnectionHandler.js +0 -0
- /package/{handlers → dist/handlers}/ConnectionHandler.js.map +0 -0
- /package/{handlers → dist/handlers}/GroupChannelHandler.js +0 -0
- /package/{handlers → dist/handlers}/GroupChannelHandler.js.map +0 -0
- /package/{handlers → dist/handlers}/OpenChannelHandler.js +0 -0
- /package/{handlers → dist/handlers}/OpenChannelHandler.js.map +0 -0
- /package/{handlers → dist/handlers}/SessionHandler.js +0 -0
- /package/{handlers → dist/handlers}/SessionHandler.js.map +0 -0
- /package/{handlers → dist/handlers}/UserEventHandler.js +0 -0
- /package/{handlers → dist/handlers}/UserEventHandler.js.map +0 -0
- /package/{hooks → dist/hooks}/useModal.js.map +0 -0
- /package/{pubSub → dist/pubSub}/topics.js.map +0 -0
- /package/{sendbirdSelectors.js.map → dist/sendbirdSelectors.js.map} +0 -0
- /package/{types → dist/types}/hooks/VoicePlayer/dux/actionTypes.d.ts +0 -0
- /package/{types → dist/types}/hooks/VoicePlayer/dux/initialState.d.ts +0 -0
- /package/{types → dist/types}/hooks/VoicePlayer/dux/reducer.d.ts +0 -0
- /package/{types → dist/types}/hooks/VoicePlayer/index.d.ts +0 -0
- /package/{types → dist/types}/hooks/VoicePlayer/useVoicePlayer.d.ts +0 -0
- /package/{types → dist/types}/hooks/VoicePlayer/utils.d.ts +0 -0
- /package/{types → dist/types}/hooks/VoiceRecorder/WebAudioUtils.d.ts +0 -0
- /package/{types → dist/types}/hooks/VoiceRecorder/index.d.ts +0 -0
- /package/{types → dist/types}/hooks/VoiceRecorder/useVoiceRecorder.d.ts +0 -0
- /package/{types → dist/types}/hooks/useAppendDomNode.d.ts +0 -0
- /package/{types → dist/types}/hooks/useDebounce.d.ts +0 -0
- /package/{types → dist/types}/hooks/useHandleOnScrollCallback/index.d.ts +0 -0
- /package/{types → dist/types}/hooks/useLongPress.d.ts +0 -0
- /package/{types → dist/types}/hooks/useModal/ModalRoot/index.d.ts +0 -0
- /package/{types → dist/types}/hooks/useModal/index.d.ts +0 -0
- /package/{types → dist/types}/hooks/useMouseHover.d.ts +0 -0
- /package/{types → dist/types}/hooks/useOnScrollReachedEndDetector/index.d.ts +0 -0
- /package/{types → dist/types}/hooks/useOutsideAlerter.d.ts +0 -0
- /package/{types → dist/types}/hooks/useSendbirdStateContext.d.ts +0 -0
- /package/{types → dist/types}/hooks/useUnmount.d.ts +0 -0
- /package/{types → dist/types}/index.d.ts +0 -0
- /package/{types → dist/types}/lib/LocalizationContext.d.ts +0 -0
- /package/{types → dist/types}/lib/Logger/index.d.ts +0 -0
- /package/{types → dist/types}/lib/MediaQueryContext.d.ts +0 -0
- /package/{types → dist/types}/lib/Sendbird.d.ts +0 -0
- /package/{types → dist/types}/lib/SendbirdSdkContext.d.ts +0 -0
- /package/{types → dist/types}/lib/SendbirdState.d.ts +0 -0
- /package/{types → dist/types}/lib/UserProfileContext.d.ts +0 -0
- /package/{types → dist/types}/lib/VoiceMessageProvider.d.ts +0 -0
- /package/{types → dist/types}/lib/dux/sdk/actionTypes.d.ts +0 -0
- /package/{types → dist/types}/lib/dux/sdk/initialState.d.ts +0 -0
- /package/{types → dist/types}/lib/dux/sdk/reducers.d.ts +0 -0
- /package/{types → dist/types}/lib/dux/user/actionTypes.d.ts +0 -0
- /package/{types → dist/types}/lib/dux/user/initialState.d.ts +0 -0
- /package/{types → dist/types}/lib/dux/user/reducers.d.ts +0 -0
- /package/{types → dist/types}/lib/handlers/ConnectionHandler.d.ts +0 -0
- /package/{types → dist/types}/lib/handlers/GroupChannelHandler.d.ts +0 -0
- /package/{types → dist/types}/lib/handlers/OpenChannelHandler.d.ts +0 -0
- /package/{types → dist/types}/lib/handlers/SessionHandler.d.ts +0 -0
- /package/{types → dist/types}/lib/handlers/UserEventHandler.d.ts +0 -0
- /package/{types → dist/types}/lib/hooks/schedulerFactory.d.ts +0 -0
- /package/{types → dist/types}/lib/hooks/useConnect/__test__/data.mocks.d.ts +0 -0
- /package/{types → dist/types}/lib/hooks/useConnect/connect.d.ts +0 -0
- /package/{types → dist/types}/lib/hooks/useConnect/disconnectSdk.d.ts +0 -0
- /package/{types → dist/types}/lib/hooks/useConnect/index.d.ts +0 -0
- /package/{types → dist/types}/lib/hooks/useConnect/types.d.ts +0 -0
- /package/{types → dist/types}/lib/hooks/useMarkAsDeliveredScheduler.d.ts +0 -0
- /package/{types → dist/types}/lib/hooks/useMarkAsReadScheduler.d.ts +0 -0
- /package/{types → dist/types}/lib/hooks/useOnlineStatus.d.ts +0 -0
- /package/{types → dist/types}/lib/hooks/useTheme.d.ts +0 -0
- /package/{types → dist/types}/lib/pubSub/index.d.ts +0 -0
- /package/{types → dist/types}/lib/pubSub/topics.d.ts +0 -0
- /package/{types → dist/types}/lib/selectors.d.ts +0 -0
- /package/{types → dist/types}/lib/types.d.ts +0 -0
- /package/{types → dist/types}/lib/utils/resolvedReplyType.d.ts +0 -0
- /package/{types → dist/types}/lib/utils/uikitConfigMapper.d.ts +0 -0
- /package/{types → dist/types}/modules/App/AppLayout.d.ts +0 -0
- /package/{types → dist/types}/modules/App/DesktopLayout.d.ts +0 -0
- /package/{types → dist/types}/modules/App/MobileLayout.d.ts +0 -0
- /package/{types → dist/types}/modules/App/index.d.ts +0 -0
- /package/{types → dist/types}/modules/App/types.d.ts +0 -0
- /package/{types → dist/types}/modules/Channel/components/ChannelHeader/index.d.ts +0 -0
- /package/{types → dist/types}/modules/Channel/components/ChannelHeader/utils.d.ts +0 -0
- /package/{types → dist/types}/modules/Channel/components/ChannelUI/index.d.ts +0 -0
- /package/{types → dist/types}/modules/Channel/components/FileViewer/index.d.ts +0 -0
- /package/{types → dist/types}/modules/Channel/components/FrozenNotification/index.d.ts +0 -0
- /package/{types → dist/types}/modules/Channel/components/Message/index.d.ts +0 -0
- /package/{types → dist/types}/modules/Channel/components/MessageInput/VoiceMessageInputWrapper.d.ts +0 -0
- /package/{types → dist/types}/modules/Channel/components/MessageInput/index.d.ts +0 -0
- /package/{types → dist/types}/modules/Channel/components/MessageList/getMessagePartsInfo.d.ts +0 -0
- /package/{types → dist/types}/modules/Channel/components/MessageList/hooks/useScrollBehavior.d.ts +0 -0
- /package/{types → dist/types}/modules/Channel/components/MessageList/hooks/useSetScrollToBottom.d.ts +0 -0
- /package/{types → dist/types}/modules/Channel/components/MessageList/index.d.ts +0 -0
- /package/{types → dist/types}/modules/Channel/components/RemoveMessageModal.d.ts +0 -0
- /package/{types → dist/types}/modules/Channel/components/SuggestedMentionList/SuggestedUserMentionItem.d.ts +0 -0
- /package/{types → dist/types}/modules/Channel/components/SuggestedMentionList/index.d.ts +0 -0
- /package/{types → dist/types}/modules/Channel/components/SuggestedMentionList/utils.d.ts +0 -0
- /package/{types → dist/types}/modules/Channel/components/SuggestedReplies/index.d.ts +0 -0
- /package/{types → dist/types}/modules/Channel/components/TypingIndicator.d.ts +0 -0
- /package/{types → dist/types}/modules/Channel/components/UnreadCount/index.d.ts +0 -0
- /package/{types → dist/types}/modules/Channel/context/ChannelProvider.d.ts +0 -0
- /package/{types → dist/types}/modules/Channel/context/compareMessagesForGrouping.d.ts +0 -0
- /package/{types → dist/types}/modules/Channel/context/const.d.ts +0 -0
- /package/{types → dist/types}/modules/Channel/context/dux/actionTypes.d.ts +0 -0
- /package/{types → dist/types}/modules/Channel/context/dux/initialState.d.ts +0 -0
- /package/{types → dist/types}/modules/Channel/context/dux/reducers.d.ts +0 -0
- /package/{types → dist/types}/modules/Channel/context/hooks/useDeleteMessageCallback.d.ts +0 -0
- /package/{types → dist/types}/modules/Channel/context/hooks/useGetChannel.d.ts +0 -0
- /package/{types → dist/types}/modules/Channel/context/hooks/useHandleChannelPubsubEvents.d.ts +0 -0
- /package/{types → dist/types}/modules/Channel/context/hooks/useHandleReconnect.d.ts +0 -0
- /package/{types → dist/types}/modules/Channel/context/hooks/useInitialMessagesFetch.d.ts +0 -0
- /package/{types → dist/types}/modules/Channel/context/hooks/useReconnectOnIdle.d.ts +0 -0
- /package/{types → dist/types}/modules/Channel/context/hooks/useScrollCallback.d.ts +0 -0
- /package/{types → dist/types}/modules/Channel/context/hooks/useScrollDownCallback.d.ts +0 -0
- /package/{types → dist/types}/modules/Channel/context/hooks/useScrollToMessage.d.ts +0 -0
- /package/{types → dist/types}/modules/Channel/context/hooks/useSendFileMessageCallback.d.ts +0 -0
- /package/{types → dist/types}/modules/Channel/context/hooks/useSendMessageCallback.d.ts +0 -0
- /package/{types → dist/types}/modules/Channel/context/hooks/useSendMultipleFilesMessage.d.ts +0 -0
- /package/{types → dist/types}/modules/Channel/context/hooks/useSendVoiceMessageCallback.d.ts +0 -0
- /package/{types → dist/types}/modules/Channel/context/hooks/useStatefulFileInfoList.d.ts +0 -0
- /package/{types → dist/types}/modules/Channel/context/hooks/useThreadMessageKindKeySelector.d.ts +0 -0
- /package/{types → dist/types}/modules/Channel/context/hooks/useToggleReactionCallback.d.ts +0 -0
- /package/{types → dist/types}/modules/Channel/context/hooks/useUpdateMessageCallback.d.ts +0 -0
- /package/{types → dist/types}/modules/Channel/context/utils.d.ts +0 -0
- /package/{types → dist/types}/modules/Channel/index.d.ts +0 -0
- /package/{types → dist/types}/modules/ChannelList/components/AddChannel/index.d.ts +0 -0
- /package/{types → dist/types}/modules/ChannelList/components/ChannelListHeader/index.d.ts +0 -0
- /package/{types → dist/types}/modules/ChannelList/components/ChannelPreview/index.d.ts +0 -0
- /package/{types → dist/types}/modules/ChannelList/components/ChannelPreview/utils.d.ts +0 -0
- /package/{types → dist/types}/modules/ChannelList/components/ChannelPreviewAction.d.ts +0 -0
- /package/{types → dist/types}/modules/ChannelList/components/LeaveChannel/index.d.ts +0 -0
- /package/{types → dist/types}/modules/ChannelList/components/Placeholder.d.ts +0 -0
- /package/{types → dist/types}/modules/ChannelList/context/ChannelListProvider.d.ts +0 -0
- /package/{types → dist/types}/modules/ChannelList/context/hooks/useActiveChannelUrl.d.ts +0 -0
- /package/{types → dist/types}/modules/ChannelList/context/hooks/useFetchChannelList.d.ts +0 -0
- /package/{types → dist/types}/modules/ChannelList/dux/getNextChannel.d.ts +0 -0
- /package/{types → dist/types}/modules/ChannelList/dux/initialState.d.ts +0 -0
- /package/{types → dist/types}/modules/ChannelList/dux/reducers.d.ts +0 -0
- /package/{types → dist/types}/modules/ChannelList/index.d.ts +0 -0
- /package/{types → dist/types}/modules/ChannelList/utils.d.ts +0 -0
- /package/{types → dist/types}/modules/ChannelSettings/components/ChannelProfile/index.d.ts +0 -0
- /package/{types → dist/types}/modules/ChannelSettings/components/ChannelSettingsUI/index.d.ts +0 -0
- /package/{types → dist/types}/modules/ChannelSettings/components/EditDetailsModal/index.d.ts +0 -0
- /package/{types → dist/types}/modules/ChannelSettings/components/LeaveChannel/index.d.ts +0 -0
- /package/{types → dist/types}/modules/ChannelSettings/components/ModerationPanel/AddOperatorsModal.d.ts +0 -0
- /package/{types → dist/types}/modules/ChannelSettings/components/ModerationPanel/BannedUserList.d.ts +0 -0
- /package/{types → dist/types}/modules/ChannelSettings/components/ModerationPanel/BannedUsersModal.d.ts +0 -0
- /package/{types → dist/types}/modules/ChannelSettings/components/ModerationPanel/InviteUsersModal.d.ts +0 -0
- /package/{types → dist/types}/modules/ChannelSettings/components/ModerationPanel/MemberList.d.ts +0 -0
- /package/{types → dist/types}/modules/ChannelSettings/components/ModerationPanel/MembersModal.d.ts +0 -0
- /package/{types → dist/types}/modules/ChannelSettings/components/ModerationPanel/MutedMemberList.d.ts +0 -0
- /package/{types → dist/types}/modules/ChannelSettings/components/ModerationPanel/MutedMembersModal.d.ts +0 -0
- /package/{types → dist/types}/modules/ChannelSettings/components/ModerationPanel/OperatorList.d.ts +0 -0
- /package/{types → dist/types}/modules/ChannelSettings/components/ModerationPanel/OperatorsModal.d.ts +0 -0
- /package/{types → dist/types}/modules/ChannelSettings/components/ModerationPanel/index.d.ts +0 -0
- /package/{types → dist/types}/modules/ChannelSettings/components/UserListItem/index.d.ts +0 -0
- /package/{types → dist/types}/modules/ChannelSettings/components/UserPanel/index.d.ts +0 -0
- /package/{types → dist/types}/modules/ChannelSettings/context/ChannelSettingsProvider.d.ts +0 -0
- /package/{types → dist/types}/modules/ChannelSettings/index.d.ts +0 -0
- /package/{types → dist/types}/modules/CreateChannel/components/CreateChannelUI/index.d.ts +0 -0
- /package/{types → dist/types}/modules/CreateChannel/components/InviteUsers/index.d.ts +0 -0
- /package/{types → dist/types}/modules/CreateChannel/components/InviteUsers/utils.d.ts +0 -0
- /package/{types → dist/types}/modules/CreateChannel/components/SelectChannelType.d.ts +0 -0
- /package/{types → dist/types}/modules/CreateChannel/context/CreateChannelProvider.d.ts +0 -0
- /package/{types → dist/types}/modules/CreateChannel/index.d.ts +0 -0
- /package/{types → dist/types}/modules/CreateChannel/types.d.ts +0 -0
- /package/{types → dist/types}/modules/CreateChannel/utils.d.ts +0 -0
- /package/{types → dist/types}/modules/CreateOpenChannel/components/CreateOpenChannelUI/index.d.ts +0 -0
- /package/{types → dist/types}/modules/CreateOpenChannel/context/CreateOpenChannelProvider.d.ts +0 -0
- /package/{types → dist/types}/modules/CreateOpenChannel/index.d.ts +0 -0
- /package/{types → dist/types}/modules/EditUserProfile/context/EditUserProfileProvider.d.ts +0 -0
- /package/{types → dist/types}/modules/EditUserProfile/index.d.ts +0 -0
- /package/{types → dist/types}/modules/Message/components/TextFragment/index.d.ts +0 -0
- /package/{types → dist/types}/modules/Message/consts.d.ts +0 -0
- /package/{types → dist/types}/modules/Message/context/MessageProvider.d.ts +0 -0
- /package/{types → dist/types}/modules/Message/hooks/useDirtyGetMentions.d.ts +0 -0
- /package/{types → dist/types}/modules/Message/utils/getMentionNodes.d.ts +0 -0
- /package/{types → dist/types}/modules/Message/utils/tokens/keyGenerator.d.ts +0 -0
- /package/{types → dist/types}/modules/Message/utils/tokens/tokenize.d.ts +0 -0
- /package/{types → dist/types}/modules/Message/utils/tokens/types.d.ts +0 -0
- /package/{types → dist/types}/modules/MessageSearch/components/MessageSearchUI/index.d.ts +0 -0
- /package/{types → dist/types}/modules/MessageSearch/context/MessageSearchProvider.d.ts +0 -0
- /package/{types → dist/types}/modules/MessageSearch/context/dux/actionTypes.d.ts +0 -0
- /package/{types → dist/types}/modules/MessageSearch/context/dux/initialState.d.ts +0 -0
- /package/{types → dist/types}/modules/MessageSearch/context/dux/reducers.d.ts +0 -0
- /package/{types → dist/types}/modules/MessageSearch/context/hooks/useGetSearchedMessages.d.ts +0 -0
- /package/{types → dist/types}/modules/MessageSearch/context/hooks/useScrollCallback.d.ts +0 -0
- /package/{types → dist/types}/modules/MessageSearch/context/hooks/useSearchStringEffect.d.ts +0 -0
- /package/{types → dist/types}/modules/MessageSearch/context/hooks/useSetChannel.d.ts +0 -0
- /package/{types → dist/types}/modules/MessageSearch/index.d.ts +0 -0
- /package/{types → dist/types}/modules/OpenChannel/components/FrozenChannelNotification/index.d.ts +0 -0
- /package/{types → dist/types}/modules/OpenChannel/components/OpenChannelHeader/index.d.ts +0 -0
- /package/{types → dist/types}/modules/OpenChannel/components/OpenChannelInput/index.d.ts +0 -0
- /package/{types → dist/types}/modules/OpenChannel/components/OpenChannelMessage/RemoveMessageModal.d.ts +0 -0
- /package/{types → dist/types}/modules/OpenChannel/components/OpenChannelMessage/index.d.ts +0 -0
- /package/{types → dist/types}/modules/OpenChannel/components/OpenChannelMessage/utils.d.ts +0 -0
- /package/{types → dist/types}/modules/OpenChannel/components/OpenChannelMessageList/index.d.ts +0 -0
- /package/{types → dist/types}/modules/OpenChannel/components/OpenChannelUI/index.d.ts +0 -0
- /package/{types → dist/types}/modules/OpenChannel/context/OpenChannelProvider.d.ts +0 -0
- /package/{types → dist/types}/modules/OpenChannel/context/dux/actionTypes.d.ts +0 -0
- /package/{types → dist/types}/modules/OpenChannel/context/dux/initialState.d.ts +0 -0
- /package/{types → dist/types}/modules/OpenChannel/context/dux/reducers.d.ts +0 -0
- /package/{types → dist/types}/modules/OpenChannel/context/hooks/useCheckScrollBottom.d.ts +0 -0
- /package/{types → dist/types}/modules/OpenChannel/context/hooks/useDeleteMessageCallback.d.ts +0 -0
- /package/{types → dist/types}/modules/OpenChannel/context/hooks/useHandleChannelEvents.d.ts +0 -0
- /package/{types → dist/types}/modules/OpenChannel/context/hooks/useInitialMessagesFetch.d.ts +0 -0
- /package/{types → dist/types}/modules/OpenChannel/context/hooks/useResendMessageCallback.d.ts +0 -0
- /package/{types → dist/types}/modules/OpenChannel/context/hooks/useScrollCallback.d.ts +0 -0
- /package/{types → dist/types}/modules/OpenChannel/context/hooks/useSendMessageCallback.d.ts +0 -0
- /package/{types → dist/types}/modules/OpenChannel/context/hooks/useSetChannel.d.ts +0 -0
- /package/{types → dist/types}/modules/OpenChannel/context/hooks/useTrimMessageList.d.ts +0 -0
- /package/{types → dist/types}/modules/OpenChannel/context/hooks/useUpdateMessageCallback.d.ts +0 -0
- /package/{types → dist/types}/modules/OpenChannel/context/utils.d.ts +0 -0
- /package/{types → dist/types}/modules/OpenChannel/index.d.ts +0 -0
- /package/{types → dist/types}/modules/OpenChannelApp/Community.d.ts +0 -0
- /package/{types → dist/types}/modules/OpenChannelApp/Streaming.d.ts +0 -0
- /package/{types → dist/types}/modules/OpenChannelApp/assets/Icons.d.ts +0 -0
- /package/{types → dist/types}/modules/OpenChannelApp/components/CommunityChannelList.d.ts +0 -0
- /package/{types → dist/types}/modules/OpenChannelApp/components/DummyStream.d.ts +0 -0
- /package/{types → dist/types}/modules/OpenChannelApp/components/Login.d.ts +0 -0
- /package/{types → dist/types}/modules/OpenChannelApp/components/OpenChannelPreview.d.ts +0 -0
- /package/{types → dist/types}/modules/OpenChannelApp/components/Profile.d.ts +0 -0
- /package/{types → dist/types}/modules/OpenChannelApp/components/StreamingChannelList.d.ts +0 -0
- /package/{types → dist/types}/modules/OpenChannelApp/index.d.ts +0 -0
- /package/{types → dist/types}/modules/OpenChannelApp/stories/utils.d.ts +0 -0
- /package/{types → dist/types}/modules/OpenChannelList/components/OpenChannelListUI/index.d.ts +0 -0
- /package/{types → dist/types}/modules/OpenChannelList/components/OpenChannelPreview/index.d.ts +0 -0
- /package/{types → dist/types}/modules/OpenChannelList/context/OpenChannelListInterfaces.d.ts +0 -0
- /package/{types → dist/types}/modules/OpenChannelList/context/OpenChannelListProvider.d.ts +0 -0
- /package/{types → dist/types}/modules/OpenChannelList/context/dux/actionTypes.d.ts +0 -0
- /package/{types → dist/types}/modules/OpenChannelList/context/dux/initialState.d.ts +0 -0
- /package/{types → dist/types}/modules/OpenChannelList/context/dux/reducer.d.ts +0 -0
- /package/{types → dist/types}/modules/OpenChannelList/context/hooks/createChannelListQuery.d.ts +0 -0
- /package/{types → dist/types}/modules/OpenChannelList/context/hooks/useFetchNextCallback.d.ts +0 -0
- /package/{types → dist/types}/modules/OpenChannelList/context/hooks/useRefreshOpenChannelList.d.ts +0 -0
- /package/{types → dist/types}/modules/OpenChannelList/context/hooks/useSetupOpenChannelList.d.ts +0 -0
- /package/{types → dist/types}/modules/OpenChannelList/index.d.ts +0 -0
- /package/{types → dist/types}/modules/OpenChannelSettings/components/EditDetailsModal.d.ts +0 -0
- /package/{types → dist/types}/modules/OpenChannelSettings/components/InvalidChannel.d.ts +0 -0
- /package/{types → dist/types}/modules/OpenChannelSettings/components/OpenChannelProfile/index.d.ts +0 -0
- /package/{types → dist/types}/modules/OpenChannelSettings/components/OpenChannelSettingsUI/index.d.ts +0 -0
- /package/{types → dist/types}/modules/OpenChannelSettings/components/OperatorUI/AddOperatorsModal.d.ts +0 -0
- /package/{types → dist/types}/modules/OpenChannelSettings/components/OperatorUI/BannedUserList.d.ts +0 -0
- /package/{types → dist/types}/modules/OpenChannelSettings/components/OperatorUI/BannedUsersModal.d.ts +0 -0
- /package/{types → dist/types}/modules/OpenChannelSettings/components/OperatorUI/DeleteOpenChannel.d.ts +0 -0
- /package/{types → dist/types}/modules/OpenChannelSettings/components/OperatorUI/MutedParticipantList.d.ts +0 -0
- /package/{types → dist/types}/modules/OpenChannelSettings/components/OperatorUI/MutedParticipantsModal.d.ts +0 -0
- /package/{types → dist/types}/modules/OpenChannelSettings/components/OperatorUI/OperatorList.d.ts +0 -0
- /package/{types → dist/types}/modules/OpenChannelSettings/components/OperatorUI/OperatorsModal.d.ts +0 -0
- /package/{types → dist/types}/modules/OpenChannelSettings/components/OperatorUI/index.d.ts +0 -0
- /package/{types → dist/types}/modules/OpenChannelSettings/components/ParticipantUI/ParticipantItem.d.ts +0 -0
- /package/{types → dist/types}/modules/OpenChannelSettings/components/ParticipantUI/ParticipantsModal.d.ts +0 -0
- /package/{types → dist/types}/modules/OpenChannelSettings/components/ParticipantUI/index.d.ts +0 -0
- /package/{types → dist/types}/modules/OpenChannelSettings/context/OpenChannelSettingsProvider.d.ts +0 -0
- /package/{types → dist/types}/modules/OpenChannelSettings/index.d.ts +0 -0
- /package/{types → dist/types}/modules/Thread/components/ParentMessageInfo/ParentMessageInfoItem.d.ts +0 -0
- /package/{types → dist/types}/modules/Thread/components/ParentMessageInfo/index.d.ts +0 -0
- /package/{types → dist/types}/modules/Thread/components/RemoveMessageModal.d.ts +0 -0
- /package/{types → dist/types}/modules/Thread/components/ThreadHeader/index.d.ts +0 -0
- /package/{types → dist/types}/modules/Thread/components/ThreadList/ThreadListItem.d.ts +0 -0
- /package/{types → dist/types}/modules/Thread/components/ThreadList/ThreadListItemContent.d.ts +0 -0
- /package/{types → dist/types}/modules/Thread/components/ThreadList/index.d.ts +0 -0
- /package/{types → dist/types}/modules/Thread/components/ThreadMessageInput/index.d.ts +0 -0
- /package/{types → dist/types}/modules/Thread/components/ThreadUI/index.d.ts +0 -0
- /package/{types → dist/types}/modules/Thread/components/ThreadUI/useMemorizedHeader.d.ts +0 -0
- /package/{types → dist/types}/modules/Thread/components/ThreadUI/useMemorizedParentMessageInfo.d.ts +0 -0
- /package/{types → dist/types}/modules/Thread/components/ThreadUI/useMemorizedThreadList.d.ts +0 -0
- /package/{types → dist/types}/modules/Thread/consts.d.ts +0 -0
- /package/{types → dist/types}/modules/Thread/context/ThreadProvider.d.ts +0 -0
- /package/{types → dist/types}/modules/Thread/context/dux/actionTypes.d.ts +0 -0
- /package/{types → dist/types}/modules/Thread/context/dux/initialState.d.ts +0 -0
- /package/{types → dist/types}/modules/Thread/context/dux/reducer.d.ts +0 -0
- /package/{types → dist/types}/modules/Thread/context/hooks/useDeleteMessageCallback.d.ts +0 -0
- /package/{types → dist/types}/modules/Thread/context/hooks/useGetAllEmoji.d.ts +0 -0
- /package/{types → dist/types}/modules/Thread/context/hooks/useGetChannel.d.ts +0 -0
- /package/{types → dist/types}/modules/Thread/context/hooks/useGetNextThreadsCallback.d.ts +0 -0
- /package/{types → dist/types}/modules/Thread/context/hooks/useGetParentMessage.d.ts +0 -0
- /package/{types → dist/types}/modules/Thread/context/hooks/useGetPrevThreadsCallback.d.ts +0 -0
- /package/{types → dist/types}/modules/Thread/context/hooks/useGetThreadList.d.ts +0 -0
- /package/{types → dist/types}/modules/Thread/context/hooks/useHandleChannelEvents.d.ts +0 -0
- /package/{types → dist/types}/modules/Thread/context/hooks/useHandleThreadPubsubEvents.d.ts +0 -0
- /package/{types → dist/types}/modules/Thread/context/hooks/useResendMessageCallback.d.ts +0 -0
- /package/{types → dist/types}/modules/Thread/context/hooks/useSendFileMessage.d.ts +0 -0
- /package/{types → dist/types}/modules/Thread/context/hooks/useSendMultipleFilesMessage.d.ts +0 -0
- /package/{types → dist/types}/modules/Thread/context/hooks/useSendUserMessageCallback.d.ts +0 -0
- /package/{types → dist/types}/modules/Thread/context/hooks/useSendVoiceMessageCallback.d.ts +0 -0
- /package/{types → dist/types}/modules/Thread/context/hooks/useToggleReactionsCallback.d.ts +0 -0
- /package/{types → dist/types}/modules/Thread/context/hooks/useUpdateMessageCallback.d.ts +0 -0
- /package/{types → dist/types}/modules/Thread/context/utils.d.ts +0 -0
- /package/{types → dist/types}/modules/Thread/index.d.ts +0 -0
- /package/{types → dist/types}/modules/Thread/types.d.ts +0 -0
- /package/{types → dist/types}/modules/internalInterfaces.d.ts +0 -0
- /package/{types → dist/types}/ui/Accordion/AccordionGroup.d.ts +0 -0
- /package/{types → dist/types}/ui/Accordion/context.d.ts +0 -0
- /package/{types → dist/types}/ui/Accordion/index.d.ts +0 -0
- /package/{types → dist/types}/ui/AdminMessage/adminMessageDummyData.mock.d.ts +0 -0
- /package/{types → dist/types}/ui/AdminMessage/index.d.ts +0 -0
- /package/{types → dist/types}/ui/Avatar/AvatarDefault.d.ts +0 -0
- /package/{types → dist/types}/ui/Avatar/MutedAvatarOverlay.d.ts +0 -0
- /package/{types → dist/types}/ui/Avatar/index.d.ts +0 -0
- /package/{types → dist/types}/ui/Badge/index.d.ts +0 -0
- /package/{types → dist/types}/ui/BottomSheet/index.d.ts +0 -0
- /package/{types → dist/types}/ui/Button/index.d.ts +0 -0
- /package/{types → dist/types}/ui/Button/types.d.ts +0 -0
- /package/{types → dist/types}/ui/Button/utils.d.ts +0 -0
- /package/{types → dist/types}/ui/ChannelAvatar/OpenChannelAvatar.d.ts +0 -0
- /package/{types → dist/types}/ui/ChannelAvatar/index.d.ts +0 -0
- /package/{types → dist/types}/ui/ChannelAvatar/utils.d.ts +0 -0
- /package/{types → dist/types}/ui/Checkbox/index.d.ts +0 -0
- /package/{types → dist/types}/ui/ConnectionStatus/index.d.ts +0 -0
- /package/{types → dist/types}/ui/ContextMenu/EmojiListItems.d.ts +0 -0
- /package/{types → dist/types}/ui/ContextMenu/MenuItems.d.ts +0 -0
- /package/{types → dist/types}/ui/ContextMenu/index.d.ts +0 -0
- /package/{types → dist/types}/ui/DateSeparator/index.d.ts +0 -0
- /package/{types → dist/types}/ui/Docs/Introduction.d.ts +0 -0
- /package/{types → dist/types}/ui/EmojiReactions/AddReactionBadgeItem.d.ts +0 -0
- /package/{types → dist/types}/ui/EmojiReactions/index.d.ts +0 -0
- /package/{types → dist/types}/ui/FileMessageItemBody/index.d.ts +0 -0
- /package/{types → dist/types}/ui/FileViewer/DeleteButton.d.ts +0 -0
- /package/{types → dist/types}/ui/FileViewer/Slider.d.ts +0 -0
- /package/{types → dist/types}/ui/FileViewer/data.mock.d.ts +0 -0
- /package/{types → dist/types}/ui/FileViewer/hooks/useKeyDown.d.ts +0 -0
- /package/{types → dist/types}/ui/FileViewer/index.d.ts +0 -0
- /package/{types → dist/types}/ui/FileViewer/types.d.ts +0 -0
- /package/{types → dist/types}/ui/FileViewer/utils.d.ts +0 -0
- /package/{types → dist/types}/ui/Icon/colors.d.ts +0 -0
- /package/{types → dist/types}/ui/Icon/index.d.ts +0 -0
- /package/{types → dist/types}/ui/Icon/type.d.ts +0 -0
- /package/{types → dist/types}/ui/Icon/utils.d.ts +0 -0
- /package/{types → dist/types}/ui/IconButton/index.d.ts +0 -0
- /package/{types → dist/types}/ui/ImageGrid/index.d.ts +0 -0
- /package/{types → dist/types}/ui/ImageRenderer/index.d.ts +0 -0
- /package/{types → dist/types}/ui/ImageRenderer/useDynamicSideLength.d.ts +0 -0
- /package/{types → dist/types}/ui/ImageRenderer/utils.d.ts +0 -0
- /package/{types → dist/types}/ui/Input/index.d.ts +0 -0
- /package/{types → dist/types}/ui/Label/index.d.ts +0 -0
- /package/{types → dist/types}/ui/Label/stringFormatterUtils.d.ts +0 -0
- /package/{types → dist/types}/ui/Label/types.d.ts +0 -0
- /package/{types → dist/types}/ui/Label/utils.d.ts +0 -0
- /package/{types → dist/types}/ui/LegacyEditUserProfile/index.d.ts +0 -0
- /package/{types → dist/types}/ui/LinkLabel/index.d.ts +0 -0
- /package/{types → dist/types}/ui/Loader/index.d.ts +0 -0
- /package/{types → dist/types}/ui/MentionLabel/index.d.ts +0 -0
- /package/{types → dist/types}/ui/MentionUserLabel/consts.d.ts +0 -0
- /package/{types → dist/types}/ui/MentionUserLabel/index.d.ts +0 -0
- /package/{types → dist/types}/ui/MentionUserLabel/renderToString.d.ts +0 -0
- /package/{types → dist/types}/ui/MessageContent/MessageBody/index.d.ts +0 -0
- /package/{types → dist/types}/ui/MessageContent/MessageHeader/index.d.ts +0 -0
- /package/{types → dist/types}/ui/MessageContent/MessageProfile/index.d.ts +0 -0
- /package/{types → dist/types}/ui/MessageContent/index.d.ts +0 -0
- /package/{types → dist/types}/ui/MessageInput/const.d.ts +0 -0
- /package/{types → dist/types}/ui/MessageInput/hooks/usePaste/consts.d.ts +0 -0
- /package/{types → dist/types}/ui/MessageInput/hooks/usePaste/index.d.ts +0 -0
- /package/{types → dist/types}/ui/MessageInput/hooks/usePaste/insertTemplate.d.ts +0 -0
- /package/{types → dist/types}/ui/MessageInput/hooks/usePaste/types.d.ts +0 -0
- /package/{types → dist/types}/ui/MessageInput/hooks/usePaste/utils.d.ts +0 -0
- /package/{types → dist/types}/ui/MessageInput/index.d.ts +0 -0
- /package/{types → dist/types}/ui/MessageInput/messageInputUtils.d.ts +0 -0
- /package/{types → dist/types}/ui/MessageInput/utils.d.ts +0 -0
- /package/{types → dist/types}/ui/MessageItemMenu/index.d.ts +0 -0
- /package/{types → dist/types}/ui/MessageItemReactionMenu/index.d.ts +0 -0
- /package/{types → dist/types}/ui/MessageSearchFileItem/index.d.ts +0 -0
- /package/{types → dist/types}/ui/MessageSearchFileItem/mockFileMessage.d.ts +0 -0
- /package/{types → dist/types}/ui/MessageSearchFileItem/utils.d.ts +0 -0
- /package/{types → dist/types}/ui/MessageSearchItem/getCreatedAt.d.ts +0 -0
- /package/{types → dist/types}/ui/MessageSearchItem/index.d.ts +0 -0
- /package/{types → dist/types}/ui/MessageSearchItem/messageDummyDate.mock.d.ts +0 -0
- /package/{types → dist/types}/ui/MessageStatus/index.d.ts +0 -0
- /package/{types → dist/types}/ui/MessageStatus/messageDummyData.mock.d.ts +0 -0
- /package/{types → dist/types}/ui/MobileMenu/MobileBottomSheet.d.ts +0 -0
- /package/{types → dist/types}/ui/MobileMenu/MobileContextMenu.d.ts +0 -0
- /package/{types → dist/types}/ui/MobileMenu/MobileEmojisBottomSheet.d.ts +0 -0
- /package/{types → dist/types}/ui/MobileMenu/ReactedMembersBottomSheet.d.ts +0 -0
- /package/{types → dist/types}/ui/MobileMenu/index.d.ts +0 -0
- /package/{types → dist/types}/ui/MobileMenu/types.d.ts +0 -0
- /package/{types → dist/types}/ui/Modal/index.d.ts +0 -0
- /package/{types → dist/types}/ui/MultipleFilesMessageItemBody/const.d.ts +0 -0
- /package/{types → dist/types}/ui/MultipleFilesMessageItemBody/index.d.ts +0 -0
- /package/{types → dist/types}/ui/OGMessageItemBody/consts.d.ts +0 -0
- /package/{types → dist/types}/ui/OGMessageItemBody/index.d.ts +0 -0
- /package/{types → dist/types}/ui/OpenChannelAdminMessage/index.d.ts +0 -0
- /package/{types → dist/types}/ui/OpenChannelMobileMenu/index.d.ts +0 -0
- /package/{types → dist/types}/ui/OpenchannelConversationHeader/index.d.ts +0 -0
- /package/{types → dist/types}/ui/OpenchannelFileMessage/index.d.ts +0 -0
- /package/{types → dist/types}/ui/OpenchannelFileMessage/mockMessages.d.ts +0 -0
- /package/{types → dist/types}/ui/OpenchannelFileMessage/utils.d.ts +0 -0
- /package/{types → dist/types}/ui/OpenchannelOGMessage/index.d.ts +0 -0
- /package/{types → dist/types}/ui/OpenchannelOGMessage/utils.d.ts +0 -0
- /package/{types → dist/types}/ui/OpenchannelThumbnailMessage/index.d.ts +0 -0
- /package/{types → dist/types}/ui/OpenchannelThumbnailMessage/utils.d.ts +0 -0
- /package/{types → dist/types}/ui/OpenchannelUserMessage/index.d.ts +0 -0
- /package/{types → dist/types}/ui/OpenchannelUserMessage/utils.d.ts +0 -0
- /package/{types → dist/types}/ui/PlaceHolder/index.d.ts +0 -0
- /package/{types → dist/types}/ui/PlaybackTime/index.d.ts +0 -0
- /package/{types → dist/types}/ui/ProgressBar/index.d.ts +0 -0
- /package/{types → dist/types}/ui/QuoteMessage/index.d.ts +0 -0
- /package/{types → dist/types}/ui/QuoteMessage/utils.d.ts +0 -0
- /package/{types → dist/types}/ui/QuoteMessageInput/QuoteMessageThumbnail.d.ts +0 -0
- /package/{types → dist/types}/ui/QuoteMessageInput/index.d.ts +0 -0
- /package/{types → dist/types}/ui/QuoteMessageInput/mockMessage.d.ts +0 -0
- /package/{types → dist/types}/ui/ReactionBadge/index.d.ts +0 -0
- /package/{types → dist/types}/ui/ReactionButton/index.d.ts +0 -0
- /package/{types → dist/types}/ui/SortByRow/index.d.ts +0 -0
- /package/{types → dist/types}/ui/TextButton/index.d.ts +0 -0
- /package/{types → dist/types}/ui/TextMessageItemBody/consts.d.ts +0 -0
- /package/{types → dist/types}/ui/TextMessageItemBody/index.d.ts +0 -0
- /package/{types → dist/types}/ui/ThreadReplies/index.d.ts +0 -0
- /package/{types → dist/types}/ui/ThumbnailMessageItemBody/index.d.ts +0 -0
- /package/{types → dist/types}/ui/Toggle/ToggleContainer.d.ts +0 -0
- /package/{types → dist/types}/ui/Toggle/ToggleContext.d.ts +0 -0
- /package/{types → dist/types}/ui/Toggle/ToggleUI.d.ts +0 -0
- /package/{types → dist/types}/ui/Toggle/index.d.ts +0 -0
- /package/{types → dist/types}/ui/Toggle/utils.d.ts +0 -0
- /package/{types → dist/types}/ui/Tooltip/index.d.ts +0 -0
- /package/{types → dist/types}/ui/TooltipWrapper/index.d.ts +0 -0
- /package/{types → dist/types}/ui/TypingIndicatorBubble/TypingDots.d.ts +0 -0
- /package/{types → dist/types}/ui/TypingIndicatorBubble/index.d.ts +0 -0
- /package/{types → dist/types}/ui/UnknownMessageItemBody/index.d.ts +0 -0
- /package/{types → dist/types}/ui/UserListItem/index.d.ts +0 -0
- /package/{types → dist/types}/ui/UserProfile/index.d.ts +0 -0
- /package/{types → dist/types}/ui/VoiceMessageInput/controlerIcons.d.ts +0 -0
- /package/{types → dist/types}/ui/VoiceMessageInput/index.d.ts +0 -0
- /package/{types → dist/types}/ui/VoiceMessageInput/types.d.ts +0 -0
- /package/{types → dist/types}/ui/VoiceMessageItemBody/index.d.ts +0 -0
- /package/{types → dist/types}/ui/Word/index.d.ts +0 -0
- /package/{types → dist/types}/utils/cloneMessage.d.ts +0 -0
- /package/{types → dist/types}/utils/color.d.ts +0 -0
- /package/{types → dist/types}/utils/compareIds.d.ts +0 -0
- /package/{types → dist/types}/utils/compressImages.d.ts +0 -0
- /package/{types → dist/types}/utils/createStatefulFileInfoList.d.ts +0 -0
- /package/{types → dist/types}/utils/exports/getOutgoingMessageState.d.ts +0 -0
- /package/{types → dist/types}/utils/getIsReactionEnabled.d.ts +0 -0
- /package/{types → dist/types}/utils/index.d.ts +0 -0
- /package/{types → dist/types}/utils/isVoiceMessage.d.ts +0 -0
- /package/{types → dist/types}/utils/numberToPx.d.ts +0 -0
- /package/{types → dist/types}/utils/openChannelUtils.d.ts +0 -0
- /package/{types → dist/types}/utils/pxToNumber.d.ts +0 -0
- /package/{types → dist/types}/utils/testMocks/error.d.ts +0 -0
- /package/{types → dist/types}/utils/testMocks/message.d.ts +0 -0
- /package/{types → dist/types}/utils/testMocks/messageRequestHandler.d.ts +0 -0
- /package/{types → dist/types}/utils/typeHelpers/objectValues.d.ts +0 -0
- /package/{types → dist/types}/utils/typeHelpers/partialDeep.d.ts +0 -0
- /package/{types → dist/types}/utils/typeHelpers/reducers/createAction.d.ts +0 -0
- /package/{types → dist/types}/utils/useDidMountEffect.d.ts +0 -0
- /package/{types → dist/types}/utils/utils.d.ts +0 -0
- /package/{types → dist/types}/utils/uuid.d.ts +0 -0
- /package/{ui → dist/ui}/Accordion.js.map +0 -0
- /package/{ui → dist/ui}/AccordionGroup.js.map +0 -0
- /package/{ui → dist/ui}/AdminMessage.js.map +0 -0
- /package/{ui → dist/ui}/Avatar.js.map +0 -0
- /package/{ui → dist/ui}/Badge.js.map +0 -0
- /package/{ui → dist/ui}/BottomSheet.js.map +0 -0
- /package/{ui → dist/ui}/Button.js.map +0 -0
- /package/{ui → dist/ui}/ChannelAvatar.js.map +0 -0
- /package/{ui → dist/ui}/Checkbox.js +0 -0
- /package/{ui → dist/ui}/Checkbox.js.map +0 -0
- /package/{ui → dist/ui}/ConnectionStatus.js.map +0 -0
- /package/{ui → dist/ui}/ContextMenu.js.map +0 -0
- /package/{ui → dist/ui}/DateSeparator.js.map +0 -0
- /package/{ui → dist/ui}/FileMessageItemBody.js.map +0 -0
- /package/{ui → dist/ui}/FileViewer.js.map +0 -0
- /package/{ui → dist/ui}/Icon.js.map +0 -0
- /package/{ui → dist/ui}/IconButton.js.map +0 -0
- /package/{ui → dist/ui}/Input.js.map +0 -0
- /package/{ui → dist/ui}/Label.js.map +0 -0
- /package/{ui → dist/ui}/LinkLabel.js.map +0 -0
- /package/{ui → dist/ui}/Loader.js.map +0 -0
- /package/{ui → dist/ui}/MentionLabel.js.map +0 -0
- /package/{ui → dist/ui}/MentionUserLabel.js.map +0 -0
- /package/{cjs → dist}/ui/MessageContent.js.map +0 -0
- /package/{ui → dist/ui}/MessageInput/hooks/usePaste.js.map +0 -0
- /package/{ui → dist/ui}/MessageInput.js.map +0 -0
- /package/{ui → dist/ui}/MessageItemMenu.js.map +0 -0
- /package/{ui → dist/ui}/MessageItemReactionMenu.js.map +0 -0
- /package/{ui → dist/ui}/MessageSearchFileItem.js.map +0 -0
- /package/{ui → dist/ui}/MessageSearchItem.js.map +0 -0
- /package/{ui → dist/ui}/MessageStatus.js.map +0 -0
- /package/{ui → dist/ui}/Modal.js.map +0 -0
- /package/{ui → dist/ui}/MutedAvatarOverlay.js.map +0 -0
- /package/{ui → dist/ui}/OGMessageItemBody.js.map +0 -0
- /package/{ui → dist/ui}/OpenChannelAdminMessage.js.map +0 -0
- /package/{ui → dist/ui}/OpenChannelAvatar.js.map +0 -0
- /package/{ui → dist/ui}/OpenchannelConversationHeader.js.map +0 -0
- /package/{cjs → dist}/ui/OpenchannelFileMessage.js.map +0 -0
- /package/{cjs → dist}/ui/OpenchannelOGMessage.js.map +0 -0
- /package/{cjs → dist}/ui/OpenchannelThumbnailMessage.js.map +0 -0
- /package/{cjs → dist}/ui/OpenchannelUserMessage.js.map +0 -0
- /package/{ui → dist/ui}/PlaceHolder.js.map +0 -0
- /package/{ui → dist/ui}/PlaybackTime.js.map +0 -0
- /package/{ui → dist/ui}/ProgressBar.js +0 -0
- /package/{ui → dist/ui}/ProgressBar.js.map +0 -0
- /package/{ui → dist/ui}/QuoteMessage.js.map +0 -0
- /package/{ui → dist/ui}/QuoteMessageInput.js.map +0 -0
- /package/{ui → dist/ui}/ReactionBadge.js.map +0 -0
- /package/{ui → dist/ui}/ReactionButton.js.map +0 -0
- /package/{ui → dist/ui}/SortByRow.js.map +0 -0
- /package/{ui → dist/ui}/TextButton.js.map +0 -0
- /package/{ui → dist/ui}/TextMessageItemBody.js.map +0 -0
- /package/{ui → dist/ui}/ThreadReplies.js.map +0 -0
- /package/{ui → dist/ui}/ThumbnailMessageItemBody.js.map +0 -0
- /package/{ui → dist/ui}/Toggle.js.map +0 -0
- /package/{ui → dist/ui}/Tooltip.js.map +0 -0
- /package/{ui → dist/ui}/TooltipWrapper.js.map +0 -0
- /package/{ui → dist/ui}/TypingIndicatorBubble.js.map +0 -0
- /package/{ui → dist/ui}/UnknownMessageItemBody.js.map +0 -0
- /package/{cjs → dist}/ui/UserListItem.js.map +0 -0
- /package/{ui → dist/ui}/UserProfile.js.map +0 -0
- /package/{ui → dist/ui}/VoiceMessageInput.js.map +0 -0
- /package/{ui → dist/ui}/VoiceMessageItemBody.js.map +0 -0
- /package/{ui → dist/ui}/Word.js.map +0 -0
- /package/{useSendbirdStateContext.js.map → dist/useSendbirdStateContext.js.map} +0 -0
- /package/{utils → dist/utils}/message/getOutgoingMessageState.js +0 -0
- /package/{utils → dist/utils}/message/getOutgoingMessageState.js.map +0 -0
- /package/{utils → dist/utils}/message/isVoiceMessage.js.map +0 -0
- /package/{withSendbird.js.map → dist/withSendbird.js.map} +0 -0
|
@@ -0,0 +1,1980 @@
|
|
|
1
|
+
# Changelog - v3
|
|
2
|
+
|
|
3
|
+
## [v3.9.1] (Dec 8 2023)
|
|
4
|
+
|
|
5
|
+
### Features:
|
|
6
|
+
* Improved image loading speed by implementing lazy load with `IntersectionObserver`
|
|
7
|
+
* Replaced lamejs binary
|
|
8
|
+
* Applied the `uikitUploadSizeLimit` to the Open Channel Message Input
|
|
9
|
+
* Check the file size limit when sending file messages from Open Channel
|
|
10
|
+
* Display the modal alert when the file size over the limit
|
|
11
|
+
### Fixes:
|
|
12
|
+
* Fixed a bug where the admin message disappears when sending a message
|
|
13
|
+
* Recognized the hash property in the URL
|
|
14
|
+
* Fixed a bug where resending MFM fails in the thread
|
|
15
|
+
* Group channel user left or banned event should not be ignored
|
|
16
|
+
* Removed left 0px from `<Avatar />` component to fix ruined align
|
|
17
|
+
* Applied StringSet for the file upload limit notification
|
|
18
|
+
* Updated currentUserId properly in the channel list initialize step.
|
|
19
|
+
* Fixed group channel doesn't move to the top in a channel list even though `latest_last_message` is the default order.
|
|
20
|
+
|
|
21
|
+
### Improvements:
|
|
22
|
+
* Divided `<EditUserProfileUI />` into Modal and View parts
|
|
23
|
+
* Added a message prop to `<ReactionItem />` component
|
|
24
|
+
* Improved the storybook of `<EmojiReactions />`
|
|
25
|
+
|
|
26
|
+
## [v3.9.0] (Nov 24 2023)
|
|
27
|
+
|
|
28
|
+
### Features:
|
|
29
|
+
#### Typing indicator bubble feature
|
|
30
|
+
|
|
31
|
+
`TypingIndicatorBubble` is a new typing indicator UI that can be turned on through `typingIndicatorTypes` option. When turned on, it will be displayed in `MessageList` upon receiving typing event in real time.
|
|
32
|
+
|
|
33
|
+
* Added `typingIndicatorTypes` global option
|
|
34
|
+
* Added `TypingIndicatorType` enum
|
|
35
|
+
* How to use?
|
|
36
|
+
```tsx
|
|
37
|
+
<App
|
|
38
|
+
appId={appId}
|
|
39
|
+
userId={userId}
|
|
40
|
+
uikitOptions={{
|
|
41
|
+
groupChannel: {
|
|
42
|
+
// Below turns on both bubble and text typing indicators. Default is Text only.
|
|
43
|
+
typingIndicatorTypes: new Set([TypingIndicatorType.Bubble, TypingIndicatorType.Text]),
|
|
44
|
+
}
|
|
45
|
+
}}
|
|
46
|
+
/>
|
|
47
|
+
```
|
|
48
|
+
* Added `TypingIndicatorBubble`
|
|
49
|
+
* How to use?
|
|
50
|
+
```tsx
|
|
51
|
+
const moveScroll = (): void => {
|
|
52
|
+
const current = scrollRef?.current;
|
|
53
|
+
if (current) {
|
|
54
|
+
const bottom = current.scrollHeight - current.scrollTop - current.offsetHeight;
|
|
55
|
+
if (scrollBottom < bottom && scrollBottom < SCROLL_BUFFER) {
|
|
56
|
+
// Move the scroll as much as the height of the message has changed
|
|
57
|
+
current.scrollTop += bottom - scrollBottom;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
};
|
|
61
|
+
|
|
62
|
+
return (
|
|
63
|
+
<TypingIndicatorBubble
|
|
64
|
+
typingMembers={typingMembers}
|
|
65
|
+
handleScroll={moveScroll} // Scroll to the rendered typing indicator message IFF current scroll is bottom.
|
|
66
|
+
/>
|
|
67
|
+
);
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
#### Others
|
|
71
|
+
* Added support for `eventHandlers.connection.onFailed` callback in `setupConnection`. This callback will be called on connection failure
|
|
72
|
+
* How to use?
|
|
73
|
+
```tsx
|
|
74
|
+
<Sendbird
|
|
75
|
+
appId={appId}
|
|
76
|
+
userId={undefined} // this will cause an error
|
|
77
|
+
eventHandlers={{
|
|
78
|
+
connection: {
|
|
79
|
+
onFailed: (error) => {
|
|
80
|
+
alert(error?.message); // display a browser alert and print the error message inside
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}}
|
|
84
|
+
>
|
|
85
|
+
```
|
|
86
|
+
* Added new props to the `MessageContent` component: `renderMessageMenu`, `renderEmojiMenu`, and `renderEmojiReactions`
|
|
87
|
+
* How to use?
|
|
88
|
+
```tsx
|
|
89
|
+
<Channel
|
|
90
|
+
renderMessageContent={(props) => {
|
|
91
|
+
return <MessageContent
|
|
92
|
+
{...props}
|
|
93
|
+
renderMessageMenu={(props) => {
|
|
94
|
+
return <MessageMenu {...props} />
|
|
95
|
+
}}
|
|
96
|
+
renderEmojiMenu={(props) => {
|
|
97
|
+
return <MessageEmojiMenu {...props} />
|
|
98
|
+
}}
|
|
99
|
+
renderEmojiReactions={(props) => {
|
|
100
|
+
return <EmojiReactions {...props} />
|
|
101
|
+
}}
|
|
102
|
+
/>
|
|
103
|
+
}}
|
|
104
|
+
/>
|
|
105
|
+
```
|
|
106
|
+
* Added `onProfileEditSuccess` prop to `App` and `ChannelList` components
|
|
107
|
+
* Added `renderFrozenNotification` in `ChannelUIProps`
|
|
108
|
+
* How to use?
|
|
109
|
+
```tsx
|
|
110
|
+
<Channel
|
|
111
|
+
channelUrl={channelUrl}
|
|
112
|
+
renderFrozenNotification={() => {
|
|
113
|
+
return (
|
|
114
|
+
<div
|
|
115
|
+
className="sendbird-notification sendbird-notification--frozen sendbird-conversation__messages__notification"
|
|
116
|
+
>My custom Frozen Notification</div>
|
|
117
|
+
);
|
|
118
|
+
}}
|
|
119
|
+
/>
|
|
120
|
+
```
|
|
121
|
+
* Exported `VoiceMessageInputWrapper` and `useHandleUploadFiles`
|
|
122
|
+
* How to use?
|
|
123
|
+
```tsx
|
|
124
|
+
import { useHandleUploadFiles } from '@sendbird/uikit-react/Channel/hooks/useHandleUploadFiles'
|
|
125
|
+
import { VoiceMessageInputWrapper, VoiceMessageInputWrapperProps } from '@sendbird/uikit-react/Channel/components/MessageInput'
|
|
126
|
+
```
|
|
127
|
+
|
|
128
|
+
### Fixes:
|
|
129
|
+
* Fixed a bug where setting `startingPoint` scrolls to the middle of the target message when it should be at the top of the message
|
|
130
|
+
* Applied dark theme to the slide left icon
|
|
131
|
+
* Fixed a bug where changing current channel not clearing pending and failed messages from the previous channel
|
|
132
|
+
* Fixed a bug where the thumbnail image of `OGMessage` being displayed as not fitting the container
|
|
133
|
+
* Fixed a bug where resending a failed message in `Thread` results in displaying resulting message in `Channel`
|
|
134
|
+
* Fixed a bug where unread message notification not being removed when scroll reaches bottom
|
|
135
|
+
|
|
136
|
+
### Improvement:
|
|
137
|
+
* Channels list no longer displays unread message count badge for focused channel
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
## [v3.8.2] (Nov 10 2023)
|
|
141
|
+
|
|
142
|
+
### Features:
|
|
143
|
+
* `MessageContent` is not customizable with three new optional properties:
|
|
144
|
+
* `renderSenderProfile`, `renderMessageBody`, and `renderMessageHeader`
|
|
145
|
+
* How to use?
|
|
146
|
+
```tsx
|
|
147
|
+
import Channel from '@sendbird/uikit-react/Channel'
|
|
148
|
+
import { useSendbirdStateContext } from '@sendbird/uikit-react/useSendbirdStateContext'
|
|
149
|
+
import { useChannelContext } from '@sendbird/uikit-react/Channel/context'
|
|
150
|
+
import MessageContent from '@sendbird/uikit-react/ui/MessageContent'
|
|
151
|
+
|
|
152
|
+
const CustomChannel = () => {
|
|
153
|
+
const { config } = useSendbirdStateContext();
|
|
154
|
+
const { userId } = config;
|
|
155
|
+
const { currentGroupChannel } = useChannelContext();
|
|
156
|
+
return (
|
|
157
|
+
<Channel
|
|
158
|
+
...
|
|
159
|
+
renderMessage={({ message }) => {
|
|
160
|
+
return (
|
|
161
|
+
<MessageContent
|
|
162
|
+
userId={userId}
|
|
163
|
+
channel={currentGroupChannel}
|
|
164
|
+
message={message}
|
|
165
|
+
...
|
|
166
|
+
renderSenderProfile={(props: MessageProfileProps) => (
|
|
167
|
+
<MessageProfile {...props}/>
|
|
168
|
+
)}
|
|
169
|
+
renderMessageBody={(props: MessageBodyProps) => (
|
|
170
|
+
<MessageBody {...props}/>
|
|
171
|
+
)}
|
|
172
|
+
renderMessageHeader={(props: MessageHeaderProps) => (
|
|
173
|
+
<MessageHeader {...props}/>
|
|
174
|
+
)}
|
|
175
|
+
/>
|
|
176
|
+
)
|
|
177
|
+
}}
|
|
178
|
+
/>
|
|
179
|
+
)
|
|
180
|
+
}
|
|
181
|
+
```
|
|
182
|
+
|
|
183
|
+
### Fixes:
|
|
184
|
+
* Fix runtime error due to publishing modules
|
|
185
|
+
* Add missing date locale to the `UnreadCount` banner since string
|
|
186
|
+
* Use the more impactful value between the `resizingWidth` and `resizingHeight`
|
|
187
|
+
* So, the original images' ratio won't be broken
|
|
188
|
+
* Apply the `ImageCompression` to the `Thread` module
|
|
189
|
+
* Apply the `ImageCompression` for sending file message and multiple files message
|
|
190
|
+
|
|
191
|
+
### Improvements:
|
|
192
|
+
* Use `channel.members` instead of fetching for non-super group channels in the `SuggestedMentionList`
|
|
193
|
+
|
|
194
|
+
## [v3.8.1] (Nov 10 2023) - DEPRECATED
|
|
195
|
+
|
|
196
|
+
## [v3.8.0] (Nov 3 2023)
|
|
197
|
+
|
|
198
|
+
### Feat:
|
|
199
|
+
* Added a feature to support predefined suggested reply options for AI chatbot trigger messages.
|
|
200
|
+
* Introduced custom date format string sets, allowing users to customize the date format for `DateSeparators` and `UnreadCount`.
|
|
201
|
+
* Exported the `initialMessagesFetch` callback from the hook to provide more flexibility in UIKit customization.
|
|
202
|
+
|
|
203
|
+
### Fixes:
|
|
204
|
+
* Removed duplicate `UserProfileProvider` in `OpenChannelSettings``.
|
|
205
|
+
* Removed the logic blocking the addition of empty channels to the ChannelList.
|
|
206
|
+
* Fixed a runtime error in empty channels.
|
|
207
|
+
* Added precise object dependencies in effect hooks to prevent unnecessary re-renders in the Channel module.
|
|
208
|
+
* Used channel members instead of fetch when searched.
|
|
209
|
+
|
|
210
|
+
### Chores:
|
|
211
|
+
* Migrated the rest of modules & UI components to TypeScript from Javascript.
|
|
212
|
+
* Introduced new build settings:
|
|
213
|
+
* Changes have been made to export modules using the [sub-path exports](https://nodejs.org/api/packages.html#subpath-exports) in the `package.json`. If you were using the package in a Native CJS environment, this might have an impact.
|
|
214
|
+
In that case, you can migrate the path as follows:
|
|
215
|
+
```diff
|
|
216
|
+
- const ChannelList = require('@sendbird/uikit-react/cjs/ChannelList');
|
|
217
|
+
+ const ChannelList = require('@sendbird/uikit-react/ChannelList');
|
|
218
|
+
```
|
|
219
|
+
* TypeScript support also has been improved. Now, precise types based on the source code are used.
|
|
220
|
+
|
|
221
|
+
## [v3.7.0] (Oct 23 2023)
|
|
222
|
+
|
|
223
|
+
### Multiple Files Message
|
|
224
|
+
Now we are supporting Multiple Files Message feature!<br/>
|
|
225
|
+
You can select some **multiple files** in the message inputs, and send **multiple images** in one message.<br/>
|
|
226
|
+
If you select several types of files, only images will be combined in the message and the other files will be sent separately.
|
|
227
|
+
Also we have resolved many issues found during QA.
|
|
228
|
+
|
|
229
|
+
#### How to enable this feature?
|
|
230
|
+
You can turn it on in four places.
|
|
231
|
+
|
|
232
|
+
1. App Component
|
|
233
|
+
```tsx
|
|
234
|
+
import App from '@sendbird/uikit-react/App'
|
|
235
|
+
|
|
236
|
+
<App
|
|
237
|
+
...
|
|
238
|
+
isMultipleFilesMessageEnabled
|
|
239
|
+
/>
|
|
240
|
+
```
|
|
241
|
+
2. SendbirdProvider
|
|
242
|
+
```tsx
|
|
243
|
+
import { SendbirdProvider } from '@sendbird/uikit-react/SendbirdProvider'
|
|
244
|
+
|
|
245
|
+
<SendbirdProvider
|
|
246
|
+
...
|
|
247
|
+
isMultipleFilesMessageEnabled
|
|
248
|
+
>
|
|
249
|
+
{...}
|
|
250
|
+
</SendbirdProvider>
|
|
251
|
+
```
|
|
252
|
+
3. Channel
|
|
253
|
+
```tsx
|
|
254
|
+
import Channel from '@sendbird/uikit-react/Channel';
|
|
255
|
+
import { ChannelProvider } from '@sendbird/uikit-react/Channel/context';
|
|
256
|
+
|
|
257
|
+
<Channel
|
|
258
|
+
...
|
|
259
|
+
isMultipleFilesMessageEnabled
|
|
260
|
+
/>
|
|
261
|
+
<ChannelProvider
|
|
262
|
+
...
|
|
263
|
+
isMultipleFilesMessageEnabled
|
|
264
|
+
>
|
|
265
|
+
{...}
|
|
266
|
+
</ChannelProvider>
|
|
267
|
+
```
|
|
268
|
+
3. Thread
|
|
269
|
+
```tsx
|
|
270
|
+
import Thread from '@sendbird/uikit-react/Thread';
|
|
271
|
+
import { ThreadProvider } from '@sendbird/uikit-react/Thread/context';
|
|
272
|
+
|
|
273
|
+
<Thread
|
|
274
|
+
...
|
|
275
|
+
isMultipleFilesMessageEnabled
|
|
276
|
+
/>
|
|
277
|
+
<ThreadProvider
|
|
278
|
+
...
|
|
279
|
+
isMultipleFilesMessageEnabled
|
|
280
|
+
>
|
|
281
|
+
{...}
|
|
282
|
+
</ThreadProvider>
|
|
283
|
+
```
|
|
284
|
+
|
|
285
|
+
### Interface change/publish
|
|
286
|
+
* The properties of the `ChannelContext` and `ThreadContext` has been changed little bit.
|
|
287
|
+
* `allMessages` of the ChannelContext has been divided into `allMessages` and `localMessages`
|
|
288
|
+
* `allThreadMessages` of the ThreadContext has been divided into `allThreadMessages` and `localThreadMessages`
|
|
289
|
+
* Each local messages includes `pending` and `failed` messages, and the all messages will contain only `succeeded` messages
|
|
290
|
+
* **Please keep in mind, you have to migrate to using the local messages, IF you have used the `local messages` to draw your custom message components.**
|
|
291
|
+
* pubSub has been published
|
|
292
|
+
* `publishingModules` has been added to the payload of pubSub.publish
|
|
293
|
+
You can specify the particular modules that you propose for event publishing
|
|
294
|
+
```tsx
|
|
295
|
+
import { useCallback } from 'react'
|
|
296
|
+
import { SendbirdProvider, useSendbirdStateContext } from '@sendbird/uikit-react/SendbirdProvider'
|
|
297
|
+
import { PUBSUB_TOPICS as topics, PublishingModuleTypes } from '@sendbird/uikit-react/pubSub/topics'
|
|
298
|
+
|
|
299
|
+
const CustomApp = () => {
|
|
300
|
+
const globalState = useSendbirdStateContext();
|
|
301
|
+
const { stores, config } = globalState;
|
|
302
|
+
const { sdk, initialized } = stores.sdkStore;
|
|
303
|
+
const { pubSub } = config;
|
|
304
|
+
|
|
305
|
+
const onSendFileMessageOnlyInChannel = useCallback((channel, params) => {
|
|
306
|
+
channel.sendFileMessage(params)
|
|
307
|
+
.onPending((pendingMessage) => {
|
|
308
|
+
pubSub.publish(topics.SEND_MESSAGE_START, {
|
|
309
|
+
channel,
|
|
310
|
+
message: pendingMessage,
|
|
311
|
+
publishingModules: [PublishingModuleTypes.CHANNEL],
|
|
312
|
+
});
|
|
313
|
+
})
|
|
314
|
+
.onFailed((failedMessage) => {
|
|
315
|
+
pubSub.publish(topics.SEND_MESSAGE_FAILED, {
|
|
316
|
+
channel,
|
|
317
|
+
message: failedMessage,
|
|
318
|
+
publishingModules: [PublishingModuleTypes.CHANNEL],
|
|
319
|
+
});
|
|
320
|
+
})
|
|
321
|
+
.onSucceeded((succeededMessage) => {
|
|
322
|
+
pubSub.publish(topics.SEND_FILE_MESSAGE, {
|
|
323
|
+
channel,
|
|
324
|
+
message: succeededMessage,
|
|
325
|
+
publishingModules: [PublishingModuleTypes.CHANNEL],
|
|
326
|
+
});
|
|
327
|
+
})
|
|
328
|
+
}, []);
|
|
329
|
+
|
|
330
|
+
return (<>...</>)
|
|
331
|
+
};
|
|
332
|
+
|
|
333
|
+
const App = () => (
|
|
334
|
+
<SendbirdProvider>
|
|
335
|
+
<CustomApp />
|
|
336
|
+
</SendbirdProvider>
|
|
337
|
+
);
|
|
338
|
+
```
|
|
339
|
+
|
|
340
|
+
### Fixes:
|
|
341
|
+
* Improve the pubSub&dispatch logics
|
|
342
|
+
* Allow deleting failed messages
|
|
343
|
+
* Check applicationUserListQuery.isLoading before fetching user list
|
|
344
|
+
* Fix the error message: "Query in progress."
|
|
345
|
+
* Fix missed or wrong type definitions
|
|
346
|
+
* `quoteMessage` of ChannelProviderInterface
|
|
347
|
+
* `useEditUserProfileProviderContext` has been renamed to `useEditUserProfileContext`
|
|
348
|
+
```tsx
|
|
349
|
+
import { useEditUserProfileProviderContext } from '@sendbird/uikit-react/EditUserProfile/context'
|
|
350
|
+
// to
|
|
351
|
+
import { useEditUserProfileContext } from '@sendbird/uikit-react/EditUserProfile/context'
|
|
352
|
+
```
|
|
353
|
+
|
|
354
|
+
## [v3.6.10] (Oct 11 2023)
|
|
355
|
+
### Fixes:
|
|
356
|
+
* (in Safari) Display the placeholder of the MessageInput when the input text is cleared
|
|
357
|
+
* Remove duplicated CSS line
|
|
358
|
+
* (in iOS) fix focusing on the chat screen starts from the top in Mobile device
|
|
359
|
+
* Move to the top in the ChannelList when the current user but a different peer sends a message
|
|
360
|
+
|
|
361
|
+
## [v3.6.9] (Oct 6 2023)
|
|
362
|
+
### Fixes:
|
|
363
|
+
* Able to see the quoted messages regardless of the ReplyType
|
|
364
|
+
* Improve the types of the function props of `ui/MessageInput` component
|
|
365
|
+
```ts
|
|
366
|
+
interface MessageInputProps {
|
|
367
|
+
...
|
|
368
|
+
onFileUpload?: (fileList: FileList) => void;
|
|
369
|
+
onSendMessage?: (props: { message: string, mentionTemplate: string }) => void;
|
|
370
|
+
onUpdateMessage?: (props: { messageId: string, message: string, mentionTemplate: string }) => void;
|
|
371
|
+
}
|
|
372
|
+
```
|
|
373
|
+
* Move to the channel list when current user is banned or the channel is deleted in MobileLayout
|
|
374
|
+
* Add new iconColor: THUMBNAIL_ICON which doesn't change by theme
|
|
375
|
+
* Add some props types that we have missed in the public interface
|
|
376
|
+
* ChannelProvider
|
|
377
|
+
* Add
|
|
378
|
+
```ts
|
|
379
|
+
interface ChannelContextProps {
|
|
380
|
+
onBeforeSendVoiceMessage?: (file: File, quotedMessage?: SendableMessageType) => FileMessageCreateParams;
|
|
381
|
+
}
|
|
382
|
+
```
|
|
383
|
+
* Usage
|
|
384
|
+
```tsx
|
|
385
|
+
import { ChannelProvider } from '@sendbird/uikit-react/Channel/context'
|
|
386
|
+
|
|
387
|
+
<ChannelProvider
|
|
388
|
+
onBeforeSendVoiceMessage={() => {}}
|
|
389
|
+
/>
|
|
390
|
+
```
|
|
391
|
+
* ThreadProvider
|
|
392
|
+
* Add
|
|
393
|
+
```ts
|
|
394
|
+
interface ThreadProviderProps {
|
|
395
|
+
onBeforeSendUserMessage?: (message: string, quotedMessage?: SendableMessageType) => UserMessageCreateParams;
|
|
396
|
+
onBeforeSendFileMessage?: (file: File, quotedMessage?: SendableMessageType) => FileMessageCreateParams;
|
|
397
|
+
onBeforeSendVoiceMessage?: (file: File, quotedMessage?: SendableMessageType) => FileMessageCreateParams;
|
|
398
|
+
}
|
|
399
|
+
```
|
|
400
|
+
* Usage
|
|
401
|
+
```tsx
|
|
402
|
+
import { ThreadProvider } from '@sendbird/uikit-react/Thread/context'
|
|
403
|
+
|
|
404
|
+
<ThreadProvider
|
|
405
|
+
onBeforeSendUserMessage={() => {}}
|
|
406
|
+
onBeforeSendFileMessage={() => {}}
|
|
407
|
+
onBeforeSendVoiceMessage={() => {}}
|
|
408
|
+
/>
|
|
409
|
+
```
|
|
410
|
+
* ui/Button
|
|
411
|
+
* Add
|
|
412
|
+
```ts
|
|
413
|
+
enum ButtonTypes {
|
|
414
|
+
PRIMARY = 'PRIMARY',
|
|
415
|
+
SECONDARY = 'SECONDARY',
|
|
416
|
+
DANGER = 'DANGER',
|
|
417
|
+
DISABLED = 'DISABLED',
|
|
418
|
+
}
|
|
419
|
+
enum ButtonSizes {
|
|
420
|
+
BIG = 'BIG',
|
|
421
|
+
SMALL = 'SMALL',
|
|
422
|
+
}
|
|
423
|
+
```
|
|
424
|
+
* Usage
|
|
425
|
+
```ts
|
|
426
|
+
import Button, { ButtonTypes, ButtonSizes } from '@sendbird/uikit-react/ui/Button'
|
|
427
|
+
|
|
428
|
+
<Button
|
|
429
|
+
type={ButtonTypes.PRIMARY}
|
|
430
|
+
size={ButtonSizes.BIG}
|
|
431
|
+
/>
|
|
432
|
+
```
|
|
433
|
+
* ui/Icon
|
|
434
|
+
* Add
|
|
435
|
+
```ts
|
|
436
|
+
export enum IconTypes {
|
|
437
|
+
ADD = 'ADD',
|
|
438
|
+
ARROW_LEFT = 'ARROW_LEFT',
|
|
439
|
+
ATTACH = 'ATTACH',
|
|
440
|
+
AUDIO_ON_LINED = 'AUDIO_ON_LINED',
|
|
441
|
+
BAN = 'BAN',
|
|
442
|
+
BROADCAST = 'BROADCAST',
|
|
443
|
+
CAMERA = 'CAMERA',
|
|
444
|
+
CHANNELS = 'CHANNELS',
|
|
445
|
+
CHAT = 'CHAT',
|
|
446
|
+
CHAT_FILLED = 'CHAT_FILLED',
|
|
447
|
+
CHEVRON_DOWN = 'CHEVRON_DOWN',
|
|
448
|
+
CHEVRON_RIGHT = 'CHEVRON_RIGHT',
|
|
449
|
+
CLOSE = 'CLOSE',
|
|
450
|
+
COLLAPSE = 'COLLAPSE',
|
|
451
|
+
COPY = 'COPY',
|
|
452
|
+
CREATE = 'CREATE',
|
|
453
|
+
DELETE = 'DELETE',
|
|
454
|
+
DISCONNECTED = 'DISCONNECTED',
|
|
455
|
+
DOCUMENT = 'DOCUMENT',
|
|
456
|
+
DONE = 'DONE',
|
|
457
|
+
DONE_ALL = 'DONE_ALL',
|
|
458
|
+
DOWNLOAD = 'DOWNLOAD',
|
|
459
|
+
EDIT = 'EDIT',
|
|
460
|
+
EMOJI_MORE = 'EMOJI_MORE',
|
|
461
|
+
ERROR = 'ERROR',
|
|
462
|
+
EXPAND = 'EXPAND',
|
|
463
|
+
FILE_AUDIO = 'FILE_AUDIO',
|
|
464
|
+
FILE_DOCUMENT = 'FILE_DOCUMENT',
|
|
465
|
+
FREEZE = 'FREEZE',
|
|
466
|
+
GIF = 'GIF',
|
|
467
|
+
INFO = 'INFO',
|
|
468
|
+
LEAVE = 'LEAVE',
|
|
469
|
+
MEMBERS = 'MEMBERS',
|
|
470
|
+
MESSAGE = 'MESSAGE',
|
|
471
|
+
MODERATIONS = 'MODERATIONS',
|
|
472
|
+
MORE = 'MORE',
|
|
473
|
+
MUTE = 'MUTE',
|
|
474
|
+
NOTIFICATIONS = 'NOTIFICATIONS',
|
|
475
|
+
NOTIFICATIONS_OFF_FILLED = 'NOTIFICATIONS_OFF_FILLED',
|
|
476
|
+
OPERATOR = 'OPERATOR',
|
|
477
|
+
PHOTO = 'PHOTO',
|
|
478
|
+
PLAY = 'PLAY',
|
|
479
|
+
PLUS = 'PLUS',
|
|
480
|
+
QUESTION = 'QUESTION',
|
|
481
|
+
REFRESH = 'REFRESH',
|
|
482
|
+
REPLY = 'REPLY',
|
|
483
|
+
REMOVE = 'REMOVE',
|
|
484
|
+
SEARCH = 'SEARCH',
|
|
485
|
+
SEND = 'SEND',
|
|
486
|
+
SETTINGS_FILLED = 'SETTINGS_FILLED',
|
|
487
|
+
SLIDE_LEFT = 'SLIDE_LEFT',
|
|
488
|
+
SPINNER = 'SPINNER',
|
|
489
|
+
SUPERGROUP = 'SUPERGROUP',
|
|
490
|
+
THREAD = 'THREAD',
|
|
491
|
+
THUMBNAIL_NONE = 'THUMBNAIL_NONE',
|
|
492
|
+
TOGGLE_OFF = 'TOGGLE_OFF',
|
|
493
|
+
TOGGLE_ON = 'TOGGLE_ON',
|
|
494
|
+
USER = 'USER',
|
|
495
|
+
}
|
|
496
|
+
export enum IconColors {
|
|
497
|
+
DEFAULT = 'DEFAULT',
|
|
498
|
+
PRIMARY = 'PRIMARY',
|
|
499
|
+
PRIMARY_2 = 'PRIMARY_2',
|
|
500
|
+
SECONDARY = 'SECONDARY',
|
|
501
|
+
CONTENT = 'CONTENT',
|
|
502
|
+
CONTENT_INVERSE = 'CONTENT_INVERSE',
|
|
503
|
+
WHITE = 'WHITE',
|
|
504
|
+
GRAY = 'GRAY',
|
|
505
|
+
THUMBNAIL_ICON = 'THUMBNAIL_ICON',
|
|
506
|
+
SENT = 'SENT',
|
|
507
|
+
READ = 'READ',
|
|
508
|
+
ON_BACKGROUND_1 = 'ON_BACKGROUND_1',
|
|
509
|
+
ON_BACKGROUND_2 = 'ON_BACKGROUND_2',
|
|
510
|
+
ON_BACKGROUND_3 = 'ON_BACKGROUND_3',
|
|
511
|
+
ON_BACKGROUND_4 = 'ON_BACKGROUND_4',
|
|
512
|
+
BACKGROUND_3 = 'BACKGROUND_3',
|
|
513
|
+
ERROR = 'ERROR',
|
|
514
|
+
}
|
|
515
|
+
```
|
|
516
|
+
* Usage
|
|
517
|
+
```ts
|
|
518
|
+
import Icon, { IconTypes, IconColors } from '@sendbird/uikit-react/ui/Icon'
|
|
519
|
+
|
|
520
|
+
<Icon
|
|
521
|
+
type={IconTypes.INFO}
|
|
522
|
+
fillColor={IconColors.PRIMARY}
|
|
523
|
+
/>
|
|
524
|
+
```
|
|
525
|
+
|
|
526
|
+
## [v3.6.8] (Sep 1 2023)
|
|
527
|
+
### Feats:
|
|
528
|
+
* Update `ui/FileViewer` to support multiple images
|
|
529
|
+
* Modify the props structure
|
|
530
|
+
```typescript
|
|
531
|
+
export enum ViewerTypes {
|
|
532
|
+
SINGLE = 'SINGLE',
|
|
533
|
+
MULTI = 'MULTI',
|
|
534
|
+
}
|
|
535
|
+
interface SenderInfo {
|
|
536
|
+
profileUrl: string;
|
|
537
|
+
nickname: string;
|
|
538
|
+
}
|
|
539
|
+
interface FileInfo {
|
|
540
|
+
name: string;
|
|
541
|
+
type: string;
|
|
542
|
+
url: string;
|
|
543
|
+
}
|
|
544
|
+
interface BaseViewer {
|
|
545
|
+
onClose: (e: React.MouseEvent) => void;
|
|
546
|
+
}
|
|
547
|
+
interface SingleFileViewer extends SenderInfo, FileInfo, BaseViewer {
|
|
548
|
+
viewerType?: typeof ViewerTypes.SINGLE;
|
|
549
|
+
isByMe?: boolean;
|
|
550
|
+
disableDelete?: boolean;
|
|
551
|
+
onDelete: (e: React.MouseEvent) => void;
|
|
552
|
+
}
|
|
553
|
+
interface MultiFilesViewer extends SenderInfo, BaseViewer {
|
|
554
|
+
viewerType: typeof ViewerTypes.MULTI;
|
|
555
|
+
fileInfoList: FileInfo[];
|
|
556
|
+
currentIndex: number;
|
|
557
|
+
onClickLeft: () => void;
|
|
558
|
+
onClickRight: () => void;
|
|
559
|
+
}
|
|
560
|
+
export type FileViewerComponentProps = SingleFileViewer | MultiFilesViewer;
|
|
561
|
+
```
|
|
562
|
+
* Export misc. utils
|
|
563
|
+
* `Channel/utils/getMessagePartsInfo`
|
|
564
|
+
* `Channel/utils/compareMessagesForGrouping`
|
|
565
|
+
* `Message/hooks/useDirtyGetMentions`
|
|
566
|
+
* `ui/MessageInput/hooks/usePaste`
|
|
567
|
+
|
|
568
|
+
### Fixes:
|
|
569
|
+
* Apply some props which are related to the `metadata` to the ChannelListQuery
|
|
570
|
+
* Add metadataKey, metadataValues, and metadataStartsWith to the Channel.queries.channelListQuery
|
|
571
|
+
* How to use
|
|
572
|
+
```javascript
|
|
573
|
+
<Channel or ChannelProvider
|
|
574
|
+
queries={{
|
|
575
|
+
channelListQuery: {
|
|
576
|
+
metadataKey: 'isMatching',
|
|
577
|
+
metadataValues: ['true'],
|
|
578
|
+
}
|
|
579
|
+
}}
|
|
580
|
+
/>
|
|
581
|
+
```
|
|
582
|
+
* Improve types of `ui/FileViewer` and `Channel/component/FileViewer`
|
|
583
|
+
* Add some props that have been missed
|
|
584
|
+
* Fix `<ImageRenderer />` not converting number to pixel string
|
|
585
|
+
* Modify the types on useChannelContext & useThreadContext
|
|
586
|
+
* `useChannelContext.setQuoteMessage` should accept `UserMessage | FileMessage`
|
|
587
|
+
* `useThreadContext.sendMessage` should be `string`
|
|
588
|
+
|
|
589
|
+
## [v3.6.7] (Aug 11 2023)
|
|
590
|
+
### Feats:
|
|
591
|
+
* Added a new ImageGrid UI component (for internal use only) (#703)
|
|
592
|
+
* Introduced `fetchChannelList` to the `ChannelListContext`.
|
|
593
|
+
* Implemented a custom hook function `useFetchChannelList`.
|
|
594
|
+
* Utilized this function to fetch the channel list within the `ChannelListUI` component.
|
|
595
|
+
* Added relevant tests for this function.
|
|
596
|
+
* Provided the method through the `ChannelListContext`: `fetchChannelList`.
|
|
597
|
+
Example Usage:
|
|
598
|
+
```jsx
|
|
599
|
+
import SendbirdProvider from '@sendbird/uikit-react/SendbirdProvider'
|
|
600
|
+
import useSendbirdStateContext from '@sendbird/uikit-react/useSendbirdStateContext'
|
|
601
|
+
import { ChannelListProvider, useChannelListContext } from '@sendbird/uikit-react/ChannelList/context'
|
|
602
|
+
|
|
603
|
+
const isAboutSame = (a, b, px) => (Math.abs(a - b) <= px);
|
|
604
|
+
|
|
605
|
+
const CustomChannelList = () => {
|
|
606
|
+
const {
|
|
607
|
+
allChannels,
|
|
608
|
+
fetchChannelList,
|
|
609
|
+
} = useChannelListContext();
|
|
610
|
+
|
|
611
|
+
return (
|
|
612
|
+
<div
|
|
613
|
+
className="custom-channel-list"
|
|
614
|
+
onScroll={(e) => {
|
|
615
|
+
const target = e.target;
|
|
616
|
+
if (isAboutSame(target.clientHeight + target.scrollTop, target.scrollHeight, 10)) {
|
|
617
|
+
fetchChannelList();
|
|
618
|
+
}
|
|
619
|
+
}}
|
|
620
|
+
>
|
|
621
|
+
{allChannels.map((channel) => {
|
|
622
|
+
return // custom channel list item
|
|
623
|
+
})}
|
|
624
|
+
</div>
|
|
625
|
+
);
|
|
626
|
+
};
|
|
627
|
+
|
|
628
|
+
const CustomApp = () => {
|
|
629
|
+
return (
|
|
630
|
+
<div className="custom-app">
|
|
631
|
+
<SendbirdProvider ... >
|
|
632
|
+
<ChannelListProvider ... >
|
|
633
|
+
<CustomChannelList />
|
|
634
|
+
</ChannelListProvider>
|
|
635
|
+
</SendbirdProvider>
|
|
636
|
+
</div>
|
|
637
|
+
);
|
|
638
|
+
};
|
|
639
|
+
```
|
|
640
|
+
### Fixes:
|
|
641
|
+
* Removed duplicated getEmoji API call from the `useGetChannel` hook (#705).
|
|
642
|
+
* Fixed missing `SEND_MESSAGE_FAILED` event publishing (#704):
|
|
643
|
+
* Addressed the failure state in `sendbirdSelectors.getSendUserMessage` and published the `SEND_MESSAGE_FAILED` event.
|
|
644
|
+
* Corrected typo `SEND_MESSAGEGE_FAILURE`.
|
|
645
|
+
|
|
646
|
+
### Chores:
|
|
647
|
+
* Added a troubleshooting guide to the README. (#702)
|
|
648
|
+
* Made minor improvements to the onboarding process. (#701)
|
|
649
|
+
|
|
650
|
+
## [v3.6.6] (Aug 3 2023)
|
|
651
|
+
### Feat:
|
|
652
|
+
* Add `customExtensionParams` for `sdk.addSendbirdExtensions` (#698)
|
|
653
|
+
The 3rd parameter customData to the `sdk.addSendbirdExtension` function, allowing it to be delivered from outside of UIKit React.
|
|
654
|
+
e.g.
|
|
655
|
+
```
|
|
656
|
+
// its recommended to memoize customExtensionParams
|
|
657
|
+
const memoizedCustomExtensionParams = useRef({
|
|
658
|
+
// the key-value sets will be passed when sdk.addSendbirdExtensions is called
|
|
659
|
+
...
|
|
660
|
+
})
|
|
661
|
+
<SendbirdProvider
|
|
662
|
+
customExtensionParams={memoizedCustomExtensionParams.current}
|
|
663
|
+
/>
|
|
664
|
+
```
|
|
665
|
+
* Call `sdk.addSendbirdExtensions` during the connection process (#682)
|
|
666
|
+
|
|
667
|
+
### Fixes:
|
|
668
|
+
* Change the MessageInput cursor style from disabled to not-allowed; Thanks @roderickhsiao (#697)
|
|
669
|
+
* PendingMsg is missing isUserMessage method (#695)
|
|
670
|
+
This resolves the issue where spreading the message object in the reducer loses some methods like `isUserMessage` and `isFileMessage`
|
|
671
|
+
* fix util functions logic of verifying message type. We updated logic in util functions to verify the message type. (#700)
|
|
672
|
+
|
|
673
|
+
|
|
674
|
+
### Chore:
|
|
675
|
+
* Update Trunk-Based Development to Scaled Trunk-Based Development (#696)
|
|
676
|
+
It describes the flow with short-lived feature branches, code review, and build automation before integrating into main.
|
|
677
|
+
|
|
678
|
+
## [v3.6.5] (July 21 2023)
|
|
679
|
+
### Feat:
|
|
680
|
+
* Add a new prop `sdkInitParams` that allows passing custom parameters when `sdk.init(params)` is called from outside of UIKit.
|
|
681
|
+
|
|
682
|
+
e.g.
|
|
683
|
+
```
|
|
684
|
+
// its recommended to memoize sdkInitParams
|
|
685
|
+
const memoizedSdkInitParams = useRef({
|
|
686
|
+
appStateToggleEnabled: false,
|
|
687
|
+
debugMode: true,
|
|
688
|
+
// more options can be found here https://sendbird.com/docs/chat/v4/javascript/ref/interfaces/_sendbird_chat.SendbirdChatParams.html
|
|
689
|
+
})
|
|
690
|
+
<SendbirdProvider
|
|
691
|
+
sdkInitParams={memoizedSdkInitParams.current}
|
|
692
|
+
/>
|
|
693
|
+
```
|
|
694
|
+
|
|
695
|
+
## [v3.6.4] (July 20 2023)
|
|
696
|
+
### Feat:
|
|
697
|
+
* Create a separate package.json for CommonJS (cjs) module during build time. This package.json is located under dist/cjs directory. (#687)
|
|
698
|
+
* Add a new prop `isUserIdUsedForNickname` to the public interface. This prop allows using the userId as the nickname. (#683)
|
|
699
|
+
* Add an option to the ChannelProvider: `reconnectOnIdle`(default: true), which prevents data refresh in the background. (#690)
|
|
700
|
+
|
|
701
|
+
### Fixes:
|
|
702
|
+
* Fix an issue where the server returns 32 messages even when requesting 31 messages in the Channel. Now, hasMorePrev will not be set to false when the result size is larger than the query. (#688)
|
|
703
|
+
* Verify the fetched message list size with the requested size of the MessageListParams. Added a test case for verifying the fetched message list size. (#686)
|
|
704
|
+
* Address the incorrect cjs path in package.json. The common js module path in the pacakge.json has been fixed. (#685)
|
|
705
|
+
|
|
706
|
+
|
|
707
|
+
## [v3.6.3] (July 6 2023)
|
|
708
|
+
### Feat:
|
|
709
|
+
* Add new scrollBehavior prop to Channel (#676)
|
|
710
|
+
The default option is set to "auto," preserving the existing scroll behavior.
|
|
711
|
+
Possible to set smooth for smooth scroll effect.
|
|
712
|
+
|
|
713
|
+
### Fixes:
|
|
714
|
+
* Move message list scroll when the last message is edited (#674)
|
|
715
|
+
Added optional parameters to moveScroll to scroll only when the last message reaches the bottom.
|
|
716
|
+
Scroll is now moved only when the updatedAt property of the last message is changed.
|
|
717
|
+
* Add missing `UIKitConfig` to type definition (#677)
|
|
718
|
+
Reported by [GitHub PR #650](https://github.com/sendbird/sendbird-uikit-react/pull/650#issuecomment-1622331367).
|
|
719
|
+
|
|
720
|
+
## [v3.6.2] (June 30 2023)
|
|
721
|
+
|
|
722
|
+
### Fixes:
|
|
723
|
+
* UIKit@3.6.0 build error on CRA (#668)
|
|
724
|
+
UIKit@3.6.0 wouldnt work by default on CRA
|
|
725
|
+
because of module resolution error on uikit-tools
|
|
726
|
+
This is fixed in uikit-tools, and released in 40.alpha
|
|
727
|
+
see: https://github.com/sendbird/sendbird-uikit-core-ts/pull/55
|
|
728
|
+
* Improve invitation modal submit btn disable condition
|
|
729
|
+
Modify the invitation modal disable condition to not include the
|
|
730
|
+
logged-in user for the user counting logic
|
|
731
|
+
|
|
732
|
+
## [v3.6.1] (June 30 2023)
|
|
733
|
+
|
|
734
|
+
### Feat:
|
|
735
|
+
* Enable channel creation when no user present to select
|
|
736
|
+
If there are no users in the channel creation menu,
|
|
737
|
+
User still get to create an empty channel with themselves
|
|
738
|
+
* Mobile: Keep keyboard open after sending the message
|
|
739
|
+
|
|
740
|
+
### Fixes:
|
|
741
|
+
* Update @sendbird/uikit-tools to 0.0.1-alpha.39
|
|
742
|
+
alpha.39 has CJS support, otherwise, UIKit wont work
|
|
743
|
+
on next-js page router
|
|
744
|
+
|
|
745
|
+
### Chore:
|
|
746
|
+
* Update all examples to V4 + StackBlitz
|
|
747
|
+
* Update all sample code to V4
|
|
748
|
+
* Convert CodeSandbox to StackBlitz
|
|
749
|
+
* Render all examples with Vite
|
|
750
|
+
* Thanks @tylerhammer
|
|
751
|
+
|
|
752
|
+
## [v3.6.0] (June 28 2023)
|
|
753
|
+
|
|
754
|
+
### Feat:
|
|
755
|
+
* Official support for Feature Configuration
|
|
756
|
+
- You can now configure the features of UIKit through the `uikitOptions` prop of `<SendbirdProvider />` or `<App />` component. You can also find the detailed sample usage from [SAMPLE.md#UIKit-Configuration-Samples](./SAMPLES.md#UIKit-Configuration-Samples)
|
|
757
|
+
- The minimum `@sendbird/chat` version has been increased to 4.9.2.
|
|
758
|
+
```jsx
|
|
759
|
+
<SendbirdProvider
|
|
760
|
+
uikitOptions={{
|
|
761
|
+
common: {
|
|
762
|
+
enableUsingDefaultUserProfile: true,
|
|
763
|
+
},
|
|
764
|
+
groupChannel: {
|
|
765
|
+
enableMention: false,
|
|
766
|
+
enableOgtag: true,
|
|
767
|
+
enableReaction: true,
|
|
768
|
+
enableTypingIndicator: true,
|
|
769
|
+
input: {
|
|
770
|
+
camera: {
|
|
771
|
+
enablePhoto: true,
|
|
772
|
+
enableVideo: true,
|
|
773
|
+
},
|
|
774
|
+
gallery: {
|
|
775
|
+
enablePhoto: true,
|
|
776
|
+
enableVideo: true,
|
|
777
|
+
},
|
|
778
|
+
enableDocument: true,
|
|
779
|
+
},
|
|
780
|
+
},
|
|
781
|
+
groupChannelList: {
|
|
782
|
+
enableTypingIndicator: true,
|
|
783
|
+
enableMessageReceiptStatus: true,
|
|
784
|
+
},
|
|
785
|
+
groupChannelSettings: {
|
|
786
|
+
enableMessageSearch: true,
|
|
787
|
+
},
|
|
788
|
+
openChannel: {
|
|
789
|
+
enableOgtag: true,
|
|
790
|
+
input: {
|
|
791
|
+
camera: {
|
|
792
|
+
enablePhoto: true,
|
|
793
|
+
enableVideo: true,
|
|
794
|
+
},
|
|
795
|
+
gallery: {
|
|
796
|
+
enablePhoto: true,
|
|
797
|
+
enableVideo: true,
|
|
798
|
+
},
|
|
799
|
+
enableDocument: true,
|
|
800
|
+
},
|
|
801
|
+
},
|
|
802
|
+
}}
|
|
803
|
+
/>
|
|
804
|
+
```
|
|
805
|
+
|
|
806
|
+
## [v3.5.2] (June 23 2023)
|
|
807
|
+
|
|
808
|
+
Fixes:
|
|
809
|
+
* Allow to reduce the mobile app height
|
|
810
|
+
It was not able to reduce the height of the mobile app with some wrapper components
|
|
811
|
+
* Do not display the UnreadCount(new message notification) comp when unreadSince is null
|
|
812
|
+
* Improve sampling and bitrate of Voice Recording
|
|
813
|
+
* sampling rate: 11025
|
|
814
|
+
* bit rate: 12000
|
|
815
|
+
* Move scroll every time when message height changes
|
|
816
|
+
It moved scroll only when the last message height changes
|
|
817
|
+
|
|
818
|
+
## [v3.5.1] (June 15 2023)
|
|
819
|
+
|
|
820
|
+
Fixes:
|
|
821
|
+
* Set fallback values \w global configs in App comp
|
|
822
|
+
* Use global config's replyType if channel one is undefined
|
|
823
|
+
* Use global disableUserProfile if each context's one is defined
|
|
824
|
+
* Clear `scrollBottom` on channel state loading
|
|
825
|
+
* Fixes a runtime error
|
|
826
|
+
caused by clicking "Reply in thread" menu from a parent message
|
|
827
|
+
* Check if the `message.type` property is empty
|
|
828
|
+
and return false when it is empty in the isVoiceMessage function
|
|
829
|
+
|
|
830
|
+
## [v3.5.0] (June 14 2023)
|
|
831
|
+
|
|
832
|
+
### Feat:
|
|
833
|
+
* Mobile Browser UX Revamp
|
|
834
|
+
We have revamped the UX to support mobile devices -
|
|
835
|
+
* Revamped Modals
|
|
836
|
+
* Revamped Context Menu -> Long press to open context menu
|
|
837
|
+
* Revamped Message Input
|
|
838
|
+
|
|
839
|
+
This feature is disabled by default. To enable this feature, add the following prop to `SendBirdProvider` & `App` component.
|
|
840
|
+
```javascript
|
|
841
|
+
breakpoint?: string | boolean
|
|
842
|
+
```
|
|
843
|
+
|
|
844
|
+
Example:
|
|
845
|
+
```javascript
|
|
846
|
+
<SendBirdProvider breakpoint="768px">
|
|
847
|
+
```
|
|
848
|
+
```javascript
|
|
849
|
+
const isMobile = /iPhone|iPad|iPod|Android/i.test(navigator.userAgent);
|
|
850
|
+
return (
|
|
851
|
+
<SendbirdProvider breakpoint={isMobile} />
|
|
852
|
+
{
|
|
853
|
+
isMobile
|
|
854
|
+
? <MobileChatLayout />
|
|
855
|
+
: <DesktopChatLayout />
|
|
856
|
+
}
|
|
857
|
+
</SendbirdProvider>
|
|
858
|
+
)
|
|
859
|
+
```
|
|
860
|
+
|
|
861
|
+
Other props:
|
|
862
|
+
* SendbirdProvider?.onUserProfileMessage?: (channel: GroupChannel) => void
|
|
863
|
+
Callback for handling when user sends a user profile message.
|
|
864
|
+
* Channel?.onBackClick?: () => void
|
|
865
|
+
Callback for handling when user clicks on back button in channel.
|
|
866
|
+
This is only applicable for mobile devices.
|
|
867
|
+
|
|
868
|
+
* Configure UIKit through Dashboard(not released yet)
|
|
869
|
+
We are doing groundwork to support configuring UIKit through
|
|
870
|
+
the dashboard. This will allow you to configure UIKit without
|
|
871
|
+
having to add props to each component. This feature *will not* be a
|
|
872
|
+
breaking change and will be backwards compatible.
|
|
873
|
+
|
|
874
|
+
### Chore:
|
|
875
|
+
* TSC error in typescript sample
|
|
876
|
+
* Samples -> Upgrade vite to 4.3.9
|
|
877
|
+
|
|
878
|
+
### Fixes:
|
|
879
|
+
* Connection
|
|
880
|
+
* Disconnect SDK on Sendbird provider component unmount
|
|
881
|
+
* Message
|
|
882
|
+
* Desktop - allow text select on Labels
|
|
883
|
+
* Remove loading placeholder on ThumbnailMessage
|
|
884
|
+
* OGMessage width overflow while adding reaction
|
|
885
|
+
* Center align & remove ellipsis from admin message
|
|
886
|
+
* Voice Message
|
|
887
|
+
* Hide download option for voice message
|
|
888
|
+
* Show warning when there is no voice recording permission
|
|
889
|
+
* Race condition in playing audio files simultaneously
|
|
890
|
+
* Stop voice player when recorder exits
|
|
891
|
+
* Pause voice when component is removed from layout
|
|
892
|
+
* Replies
|
|
893
|
+
* Quoted text alignment for reply messages
|
|
894
|
+
* MessageList: Triggering of random clicks while scroll to parent
|
|
895
|
+
* Thread
|
|
896
|
+
* Improve parent message detection
|
|
897
|
+
* Emoji reactions overflow in message
|
|
898
|
+
* Settings
|
|
899
|
+
* <AllMemebers />: Show context menu on click
|
|
900
|
+
* Open Channel
|
|
901
|
+
* OpenChannel Context menu click leak
|
|
902
|
+
* Vertical scroll on labels in open channel list
|
|
903
|
+
|
|
904
|
+
## [v3.4.9] (June 02 2023)
|
|
905
|
+
|
|
906
|
+
Fixes:
|
|
907
|
+
* ChannelList
|
|
908
|
+
* Display a channel on channel list only when there's a message
|
|
909
|
+
* Remove edited message from ChannelPreview
|
|
910
|
+
|
|
911
|
+
* MarkAsRead & MarkAsDelivered
|
|
912
|
+
* Batch markAsRead & markAsDelivered requests
|
|
913
|
+
|
|
914
|
+
* Scrolling
|
|
915
|
+
* Various scroll issues in Channel component
|
|
916
|
+
* Shaky scroll on messages when fetching messages
|
|
917
|
+
* Scroll into view when starting point is set
|
|
918
|
+
* Scroll into message on clicking quote reply
|
|
919
|
+
* Inconsistent rendering on scrollToBottom button
|
|
920
|
+
|
|
921
|
+
* Mention
|
|
922
|
+
* Improve max mention count logic in Messages
|
|
923
|
+
* Improve mention detection when there are curly braces in user's name Mentions
|
|
924
|
+
were not working when user nickname had curly braces
|
|
925
|
+
|
|
926
|
+
* Special channels
|
|
927
|
+
* Disable mention in the broadcast channel
|
|
928
|
+
* Change OpenChannelInput muted state notice text in broadcast channel
|
|
929
|
+
|
|
930
|
+
* Reply
|
|
931
|
+
* Apply ellipsis to a sender of quote and admin message
|
|
932
|
+
|
|
933
|
+
* Thread
|
|
934
|
+
* Add border bottom to the ParentMessageInfo component
|
|
935
|
+
* Modify string set for thread menu "Reply to Thread" -> "Reply in Thread"
|
|
936
|
+
Do not display "Reply in Thread" to the reply messages
|
|
937
|
+
* Prevent hover style of ParentMessageInfo component
|
|
938
|
+
|
|
939
|
+
* OpenChannel
|
|
940
|
+
* Apply theme to the OpenChannelList header
|
|
941
|
+
|
|
942
|
+
Chores:
|
|
943
|
+
* Add a sample with router
|
|
944
|
+
* Add dataId to the every menu items
|
|
945
|
+
|
|
946
|
+
## [v3.4.8] (May 19 2023)
|
|
947
|
+
|
|
948
|
+
Fixes:
|
|
949
|
+
* Prevent white space only text sending
|
|
950
|
+
* Mentioned user Regex parsing
|
|
951
|
+
Mention will now work even if userId has `.*+?^${}()|[\]\\` characters.
|
|
952
|
+
* ChannelList blink when when message is send
|
|
953
|
+
Happened when there were two channelLists in the same page with
|
|
954
|
+
different query params.
|
|
955
|
+
* ChannelSetting `renderUserProfile` prop
|
|
956
|
+
We were applying `renderChannelProfile` in place of `renderUserProfile`.
|
|
957
|
+
* MessageBody: Words break mid word
|
|
958
|
+
Words were breaking midword because all white spaces
|
|
959
|
+
were converted into nbsps. CSS couldnt distinguish nbsps
|
|
960
|
+
as whitespaces, so wrapping didnt work well.
|
|
961
|
+
|
|
962
|
+
Chores:
|
|
963
|
+
* Setup CircleCI
|
|
964
|
+
* We are moving from Github Actions to CircleCI
|
|
965
|
+
* Setup Husky
|
|
966
|
+
* Setup lint on post push
|
|
967
|
+
* Auto run yarn install on post pull
|
|
968
|
+
* Update EsLint
|
|
969
|
+
* Update version to 8.40.x
|
|
970
|
+
* Apply more strict rules
|
|
971
|
+
|
|
972
|
+
## [v3.4.7] (May 4 2023)
|
|
973
|
+
|
|
974
|
+
Important Notes:
|
|
975
|
+
* @sendbird/chat@4.8.0 has an issue with `abortcontroller-polyfill` plugin. Please use version 4.7.2 or install it separately.
|
|
976
|
+
|
|
977
|
+
Features:
|
|
978
|
+
* Set Chat SDK v4.3.0 as the minimum required version.
|
|
979
|
+
* Add a new UI component, Toggle:
|
|
980
|
+
* `ToggleContainer`: A context provider component that manages only the toggle status.
|
|
981
|
+
* `ToggleUI`: A UI component that does not include the status managing logic.
|
|
982
|
+
* `Toggle`: A combination of ToggleContainer and ToggleUI components.
|
|
983
|
+
* `useToggleContext`: A custom useContext hook that provides context from ToggleContainer.
|
|
984
|
+
```javascript
|
|
985
|
+
import { Toggle, ToggleContainer, ToggleUI, useToggleContext } from '@sendbird/ui/Toggle';
|
|
986
|
+
```
|
|
987
|
+
|
|
988
|
+
Fixes:
|
|
989
|
+
* Apply `isMuted` to the participant list. Operators can now unmute the muted participants from the participant list.
|
|
990
|
+
* Update the max mention count notice message.
|
|
991
|
+
* Modify the URL Regex to filter various types of formats.
|
|
992
|
+
* Give a left margin to the link text inside the message.
|
|
993
|
+
* Move the message list scroll after the OG image is loaded.
|
|
994
|
+
* Specify that getSdk returns SendbirdGroupChannel or SendbirdOpenChannel.
|
|
995
|
+
* Fix the issue where the current channel flickers on the ChannelList while creating a new group channel.
|
|
996
|
+
|
|
997
|
+
Chores:
|
|
998
|
+
* Rewrite the connection logic in sdk/thunks to hooks/useConnect
|
|
999
|
+
```
|
|
1000
|
+
const reconnect = useConnect({
|
|
1001
|
+
appId,
|
|
1002
|
+
userId,
|
|
1003
|
+
accessToken,
|
|
1004
|
+
}, {
|
|
1005
|
+
logger,
|
|
1006
|
+
nickname,
|
|
1007
|
+
profileUrl,
|
|
1008
|
+
configureSession,
|
|
1009
|
+
customApiHost,
|
|
1010
|
+
customWebSocketHost,
|
|
1011
|
+
sdk: sdkStore?.sdk,
|
|
1012
|
+
sdkDispatcher,
|
|
1013
|
+
userDispatcher,
|
|
1014
|
+
});
|
|
1015
|
+
```
|
|
1016
|
+
* Rename `smart-components/` to `modules/`.
|
|
1017
|
+
* Modify Logger method:
|
|
1018
|
+
* The first parameter (log message) of the method is now required.
|
|
1019
|
+
* Any other values can be passed to the second parameter of the method in a key-value format.
|
|
1020
|
+
|
|
1021
|
+
## [v3.4.6] (Apr 21 2023)
|
|
1022
|
+
|
|
1023
|
+
Fixes:
|
|
1024
|
+
* Use markAsReadScheduler in MessageList:
|
|
1025
|
+
* `markAsReadScheduler` method throttles `markAsRead` calls.
|
|
1026
|
+
* Reduces cmd no ack error.
|
|
1027
|
+
* Apply common scroll hook to GroupChannel MessageList:
|
|
1028
|
+
* Prevent whole page from scrolling when <GroupChannel /> scrolls. This issue occurs when customer implements an <GroupChannel /> in a web page with scroll.
|
|
1029
|
+
* This is a same fix that we fixed OpenChannel in `v3.4.4`.
|
|
1030
|
+
* To unify message sending policies with ios & android:
|
|
1031
|
+
* Do not show send button when there is only new line or empty space in the input.
|
|
1032
|
+
* Do not trim leading white spaces in message text.
|
|
1033
|
+
* Optimize lamjs import:
|
|
1034
|
+
* Lazy load the audio converting processor(lamejs) only when `isVoiceMessageEnabled` is true.
|
|
1035
|
+
* This saves 106KB Gzipped(85KB Brotli) if you are not using the VoiceMessage feature.
|
|
1036
|
+
|
|
1037
|
+
## [v3.4.5] (Apr 7 2023)
|
|
1038
|
+
|
|
1039
|
+
Features:
|
|
1040
|
+
|
|
1041
|
+
* Add a message list filter of UI level in the `Channel` module
|
|
1042
|
+
* Add `Channel.filterMessageList?: (messages: BaseMessage): boolean;`, a UI level filter prop
|
|
1043
|
+
to Channel. This function will be used to filter messages in `<MessageList />`
|
|
1044
|
+
|
|
1045
|
+
example:
|
|
1046
|
+
```javascript
|
|
1047
|
+
// set your channel URL
|
|
1048
|
+
const channel = "";
|
|
1049
|
+
export const ChannelWithFilter = () => {
|
|
1050
|
+
const channelFilter = useCallback((message) => {
|
|
1051
|
+
const now = Date.now();
|
|
1052
|
+
const twoWeeksAgo = now - 1000 * 60 * 60 * 24 * 14;
|
|
1053
|
+
return message.createdAt > twoWeeksAgo;
|
|
1054
|
+
}, []);
|
|
1055
|
+
return (
|
|
1056
|
+
<Channel
|
|
1057
|
+
channelUrl={channel}
|
|
1058
|
+
filterMessageList={channelFilter}
|
|
1059
|
+
/>
|
|
1060
|
+
);
|
|
1061
|
+
};
|
|
1062
|
+
```
|
|
1063
|
+
|
|
1064
|
+
* Improve structure of message UI for copying
|
|
1065
|
+
Before:
|
|
1066
|
+
* The words inside messages were kept in separate spans
|
|
1067
|
+
* This would lead to unfavourable formatting when pasted in other applications
|
|
1068
|
+
|
|
1069
|
+
After:
|
|
1070
|
+
* Remove span for wrapping simple strings in message body
|
|
1071
|
+
* Urls and Mentions will still be wrapped in spans(for formatting)
|
|
1072
|
+
* Apply new logic & components(TextFragment) to tokenize strings
|
|
1073
|
+
* Improve keys used in rendering inside message,
|
|
1074
|
+
* UUIDs are not the optimal way to improve rendering
|
|
1075
|
+
* Create a composite key with message.updatedAt
|
|
1076
|
+
* Refactor usePaste hook to make mentions work ~
|
|
1077
|
+
* Fix overflow of long strings
|
|
1078
|
+
* Deprecate `Word` and `convertWordToStringObj`
|
|
1079
|
+
|
|
1080
|
+
* Export MessageProvider, a simple provider to avoid prop drilling into Messages
|
|
1081
|
+
Note - this is still in works, but these props will remain
|
|
1082
|
+
* In the future, we will add methods - to this module - to:
|
|
1083
|
+
* Edit & delete callbacks
|
|
1084
|
+
* Menu render options(ACLs)
|
|
1085
|
+
* Reaction configs
|
|
1086
|
+
* This will improve the customizability and remove a lot of prop drilling in Messages
|
|
1087
|
+
|
|
1088
|
+
```
|
|
1089
|
+
export type MessageProviderProps = {
|
|
1090
|
+
children: React.ReactNode;
|
|
1091
|
+
message: BaseMessage;
|
|
1092
|
+
isByMe?: boolean;
|
|
1093
|
+
}
|
|
1094
|
+
|
|
1095
|
+
import { MessageProvider, useMessageContext } from '@sendbird/uikit-react/Message/context'
|
|
1096
|
+
```
|
|
1097
|
+
Incase if you were using MessageComponents and see error message
|
|
1098
|
+
`useMessageContext must be used within a MessageProvider `
|
|
1099
|
+
use: `<MessageProvider message={message}><CustomMessage /></MessageProvider>`
|
|
1100
|
+
|
|
1101
|
+
* Add a scheduler for calling markAsRead intervally
|
|
1102
|
+
* The `markAsRead` is called on individual channels is un-optimal(causes command ack. error)
|
|
1103
|
+
because we have a list of channels that do this
|
|
1104
|
+
ideally this should be fixed in server/SDK
|
|
1105
|
+
this is a work around for the meantime to un-throttle the customer
|
|
1106
|
+
|
|
1107
|
+
Fixes:
|
|
1108
|
+
* Set current channel on `ChannelList` when opening channel from the parent message of `Thread`
|
|
1109
|
+
* Issue: The ChannelPreview item is not selected when opening the channel from
|
|
1110
|
+
the ParentMessage of the Thread
|
|
1111
|
+
* Fix: Set activeChannelUrl of ChannelList
|
|
1112
|
+
* Detect new lines in safari on the `MessageInput` component
|
|
1113
|
+
* Safari puts `<div>text</div>` for new lines inside content editable div(input)
|
|
1114
|
+
* Other browsers put newline or `br`
|
|
1115
|
+
|
|
1116
|
+
## [v3.4.4] (Mar 31 2023)
|
|
1117
|
+
|
|
1118
|
+
Features:
|
|
1119
|
+
* Increase default maximum recording time of Voice Message to 10 minutes
|
|
1120
|
+
* Add logger to VoicePlayer, VoiceRecorder, and useSendVoiceMessage hook
|
|
1121
|
+
|
|
1122
|
+
Fixes:
|
|
1123
|
+
* Prevent whole page from scrolling when OpenChannel scrolls
|
|
1124
|
+
This issue occurs when customer implements an OpenChannel in a web page with scroll
|
|
1125
|
+
* Fix edgecase in which voice messages were sent twice
|
|
1126
|
+
* Clean up Thread interface
|
|
1127
|
+
If message.parentMessage doesnt exist, treat message as parentMessage
|
|
1128
|
+
`<Thread message={message} />`
|
|
1129
|
+
|
|
1130
|
+
## [v3.4.3] (Mar 24 2023)
|
|
1131
|
+
|
|
1132
|
+
Features:
|
|
1133
|
+
* Add rollup-plugin-size-snapshot for bundle-size
|
|
1134
|
+
Run rollup-plugin-size-snapshot on build,
|
|
1135
|
+
we will check bundle size before every release
|
|
1136
|
+
* Move old samples to use vite
|
|
1137
|
+
React team these days are using vite for their samples,
|
|
1138
|
+
CRA is discourged
|
|
1139
|
+
* Run code coverage on commenting `./coverage`
|
|
1140
|
+
Check code coverage on PR comment
|
|
1141
|
+
* Add prop to disable Channel & Thread inputs
|
|
1142
|
+
Add prop: `disabled?: false` for Channel & Thread MessageInputWrapper
|
|
1143
|
+
* Replace renderToString(react-dom) with custom fn
|
|
1144
|
+
Replace renderToString from react-dom/server with custom function
|
|
1145
|
+
This function was creating issue in customers with cra@4 & react@17
|
|
1146
|
+
|
|
1147
|
+
Fixes:
|
|
1148
|
+
* Replace outdated CSS rules
|
|
1149
|
+
`justify-content: start;` and `height: fill-available;`
|
|
1150
|
+
* Menu position in tight screens
|
|
1151
|
+
* Condition where some menus get clipped in left side:
|
|
1152
|
+
* Usually user profile in channel moderation
|
|
1153
|
+
* Context menu of last item in channel gets clipped in the bottom
|
|
1154
|
+
|
|
1155
|
+
|
|
1156
|
+
## [v3.4.2] (Mar 17 2023)
|
|
1157
|
+
|
|
1158
|
+
Features:
|
|
1159
|
+
* Mentions should be preserved when copy pasted from sendbird-messages and message input
|
|
1160
|
+
* Make sure you are posting mentions of users from same channel
|
|
1161
|
+
* We dont support pasting of rich text from other applications
|
|
1162
|
+
* For copying simple text, we recommend using paste option in message context-menu
|
|
1163
|
+
|
|
1164
|
+
* Conditions tested:
|
|
1165
|
+
1. paste simple text
|
|
1166
|
+
2. paste text with mention
|
|
1167
|
+
3. paste text with mention and text
|
|
1168
|
+
4. paste text with mention and text and paste again before and after
|
|
1169
|
+
5. copy message with mention(only one mention, no other text) and paste
|
|
1170
|
+
6. copy message with mention from input and paste(before and after)
|
|
1171
|
+
|
|
1172
|
+
Chores:
|
|
1173
|
+
* Arrange the order of the string set table
|
|
1174
|
+
Some string-set were missing on the current string set table, so our customers werent able to use the latest state of the string set feature
|
|
1175
|
+
|
|
1176
|
+
Library added:
|
|
1177
|
+
* [dompurify@3.0.1](https://www.npmjs.com/package/dompurify): +8Kb Gzipped
|
|
1178
|
+
|
|
1179
|
+
## [v3.4.1] (Mar 10 2023)
|
|
1180
|
+
|
|
1181
|
+
Fixes:
|
|
1182
|
+
* Keep scroll if context menu is opened when receiving messages
|
|
1183
|
+
* Handle Ephemeral channel
|
|
1184
|
+
* Group channel list
|
|
1185
|
+
* Remove the message receipt status (channel preview)
|
|
1186
|
+
* Remove the unread message count (channel preview)
|
|
1187
|
+
* Group channel
|
|
1188
|
+
* Remove the message edit
|
|
1189
|
+
* Remove the message delete
|
|
1190
|
+
* Remove the message reactions
|
|
1191
|
+
* Remove the message receipt status (message)
|
|
1192
|
+
* Remove the message reply (quote_reply, thread)
|
|
1193
|
+
* Group channel settings
|
|
1194
|
+
* Remove the search in channel
|
|
1195
|
+
* Open channel
|
|
1196
|
+
* Remove the message edit
|
|
1197
|
+
* Remove the message delete
|
|
1198
|
+
* Clear timeout in useLayoutEffect of Message
|
|
1199
|
+
* This removes memory leak warnings
|
|
1200
|
+
|
|
1201
|
+
## [v3.4.0] (Mar 6 2023)
|
|
1202
|
+
|
|
1203
|
+
### Voice Message
|
|
1204
|
+
Voice message is a new type of message and feature that you can use in group channel. You can record your voice on the message input and send it to the channel. Also the messages will be displayed as a new design of the voice message. You are able to use this feature from this version.
|
|
1205
|
+
|
|
1206
|
+
#### How to turn on/off
|
|
1207
|
+
* You can turn this feature on/off using the props `isVoiceMessageEnabled` on the <App /> and <SendbirdProvider /> components. Here is an example.
|
|
1208
|
+
```javascript
|
|
1209
|
+
import App from '@sendbird/uikit-react/App'
|
|
1210
|
+
import SendbirdProvider from '@sendbird/uikit-react/SendbirdProvider'
|
|
1211
|
+
import { useEffect } from 'react'
|
|
1212
|
+
|
|
1213
|
+
const QuickStart = () => (<App isVoiceMessageEnabled />)
|
|
1214
|
+
const CustomApp = () => {
|
|
1215
|
+
const [useVoiceMessage, setUseVoiceMessage] = useEffect(true)
|
|
1216
|
+
return (
|
|
1217
|
+
<SendbirdProvider
|
|
1218
|
+
isVoiceMessageEnabled={useVoiceMessage}
|
|
1219
|
+
>
|
|
1220
|
+
{/* Implement your custom app here */}
|
|
1221
|
+
</SendbirdProvider>
|
|
1222
|
+
)
|
|
1223
|
+
}
|
|
1224
|
+
```
|
|
1225
|
+
|
|
1226
|
+
#### How to customize the voice message in Channel and Thread?
|
|
1227
|
+
You can identify the voice message to check if `message.type` includes `sbu_type=voice`. But you can use `isVoiceMessage` util function to do that.
|
|
1228
|
+
```javascript
|
|
1229
|
+
import Channel from '@sendbird/uikit-react/Channel'
|
|
1230
|
+
import isVoiceMessage from '@sendbird/uikit-react/utils/message/isVoiceMessage'
|
|
1231
|
+
|
|
1232
|
+
const CustomChannel = () => {
|
|
1233
|
+
return (
|
|
1234
|
+
<Channel
|
|
1235
|
+
renderMessage={({ message }) => {
|
|
1236
|
+
if (isVoiceMessage(message)) {
|
|
1237
|
+
// Return your custom voice message item component
|
|
1238
|
+
}
|
|
1239
|
+
return null
|
|
1240
|
+
}}
|
|
1241
|
+
/>
|
|
1242
|
+
)
|
|
1243
|
+
}
|
|
1244
|
+
```
|
|
1245
|
+
|
|
1246
|
+
#### Limitation & Next step
|
|
1247
|
+
* For now, it's not able to customize the inner components of VoiceMessageInput. We are going to provide an interface to customize it in the future. Until that time, you can replace the VoiceMessageInput component using the `renderVoiceMessageIcon` props of MessageInput component.
|
|
1248
|
+
|
|
1249
|
+
#### What has been changed?
|
|
1250
|
+
* Add props `isVoiceMessageEnabled` and `voiceRecord` props to the App, `SendbirdProvider`, and `MessageInput` components, to turn on/off the voice message recording feature
|
|
1251
|
+
```javascript
|
|
1252
|
+
import SendbirdProvider from '@sendbird/uikit-react/SendbirdProvider'
|
|
1253
|
+
const CustomApp = () => {
|
|
1254
|
+
return (
|
|
1255
|
+
<SendbirdProvider
|
|
1256
|
+
isVoiceMessageEnabled
|
|
1257
|
+
voiceRecord={{
|
|
1258
|
+
maxRecordingTime: 60000,
|
|
1259
|
+
minRecordingTime: 1000,
|
|
1260
|
+
}}
|
|
1261
|
+
>
|
|
1262
|
+
{/* implement custom application */}
|
|
1263
|
+
</SendbirdProvider>
|
|
1264
|
+
)
|
|
1265
|
+
}
|
|
1266
|
+
```
|
|
1267
|
+
* Add props `onVoiceMessageIconClick` to the `MessageInput` component
|
|
1268
|
+
* Add props `onBeforeSendVoiceMessage` to the `Channel` component
|
|
1269
|
+
* Fetch message list including `MetaArray` in the `Channel` and `Thread` modules
|
|
1270
|
+
* Provide new IconType `AudioOnLined` & new IconColor `Primary2` and `OnBackground4`
|
|
1271
|
+
* Provide new string sets
|
|
1272
|
+
```javascript
|
|
1273
|
+
import SendbirdProvider from '@sendbird/uikit-react/SendbirdProvider'
|
|
1274
|
+
const CustomApp = () => {
|
|
1275
|
+
return (
|
|
1276
|
+
<SendbirdProvider
|
|
1277
|
+
stringSet={{
|
|
1278
|
+
BUTTON__OK: 'OK',
|
|
1279
|
+
VOICE_MESSAGE: 'Voice Message',
|
|
1280
|
+
MODAL__VOICE_MESSAGE_INPUT_DISABLED__TITLE_MUTED: 'You\'re muted by the operator.',
|
|
1281
|
+
MODAL__VOICE_MESSAGE_INPUT_DISABLED__TITLE_FROZEN: 'Channel is frozen.',
|
|
1282
|
+
}}
|
|
1283
|
+
>
|
|
1284
|
+
{/* implement custom application */}
|
|
1285
|
+
</SendbirdProvider>
|
|
1286
|
+
)
|
|
1287
|
+
}
|
|
1288
|
+
```
|
|
1289
|
+
* `BUTTON__OK`: 'OK' → Used on the submit button of pop up modal
|
|
1290
|
+
* `MODAL__VOICE_MESSAGE_INPUT_DISABLED__TITLE_MUTED`: 'You\'re muted by the operator.' → Used in an alert pop-up modal
|
|
1291
|
+
* `MODAL__VOICE_MESSAGE_INPUT_DISABLED__TITLE_FROZEN`: 'Channel is frozen.' → Used in an alert pop-up modal
|
|
1292
|
+
* `VOICE_MESSAGE`: 'Voice Message' → Used in ChannelPreviewItem, QuoteMessage, and MessageSearch to appear that the message type is the voice## External Contributions
|
|
1293
|
+
|
|
1294
|
+
#### What has been added?
|
|
1295
|
+
* Install `lamejs` to convert the audio file to mp3 (iOS support)
|
|
1296
|
+
* UI components
|
|
1297
|
+
```javascript
|
|
1298
|
+
import PlaybackTime from "@sendbird/uikit-react/ui/PlaybackTime"
|
|
1299
|
+
import ProgressBar from "@sendbird/uikit-react/ui/ProgressBar"
|
|
1300
|
+
import VoiceMessageInput from "@sendbird/uikit-react/ui/VoiceMessageInput"
|
|
1301
|
+
import VoiceMessageItemBody from "@sendbird/uikit-react/ui/VoiceMessageItemBody"
|
|
1302
|
+
```
|
|
1303
|
+
* PlaybackTime: Display the current time in 00:00 format with the received millisecond value
|
|
1304
|
+
* ProgressBar: Display the current progress status with the received maxSize and currentSize of millisecond unit value
|
|
1305
|
+
* VoiceMessageInput: UI component for recording and playing a voice message
|
|
1306
|
+
* VoiceMessageItemBody: UI component for rendering a voice message also able to play voice message
|
|
1307
|
+
* VoiceRecorder
|
|
1308
|
+
```javascript
|
|
1309
|
+
import { VoiceRecorderProvider, useVoiceRecorderContext } from '@sendbird/uikit-react/VoiceRecorder/context'
|
|
1310
|
+
import useVoiceRecorder from '@sendbird/uikit-react/VoiceRecorder/useVoiceRecorder'
|
|
1311
|
+
```
|
|
1312
|
+
* VoiceRecorderProvider: A react context provider component providing `start`, and `stop` functions
|
|
1313
|
+
* useVoiceRecorderContext: A react useContext hook of VoiceRecorderProvider
|
|
1314
|
+
* useVoiceRecorder: A react hook that provides advanced context, `recordingLimit`, `recordingTime`, `recordingFile`, and `recordingStatus`. Recommend using this hook in the customized components.
|
|
1315
|
+
* VoicePlayer
|
|
1316
|
+
```javascript
|
|
1317
|
+
import { VoicePlayerProvider, useVoicePlayerContext } from '@sendbird/uikit-react/VoicePlayer/context'
|
|
1318
|
+
import useVoicePlayer from '@sendbird/uikit-react/VoicePlayer/useVoicePlayer'
|
|
1319
|
+
```
|
|
1320
|
+
* VoicePlayerProvider: A react context provider component providing `play`, and `pause` functions
|
|
1321
|
+
* useVoicePlayerContext: A react useContext hook of VoicePlayerProvider
|
|
1322
|
+
* useVoicePlayer: A react hook that provides advanced context, `playbackTime`, `duration`, and `playingStatus`. Recommend using this hook in the customized components.
|
|
1323
|
+
* utils/isVoiceMessage: A function that you can check if the given message is a voice message
|
|
1324
|
+
```javascript
|
|
1325
|
+
import isVoiceMessage from '@sendbird/uikit-react/utils/message/isVoiceMessage'
|
|
1326
|
+
const isVoiceMsg: boolean = isVoiceMessage(message);
|
|
1327
|
+
```
|
|
1328
|
+
|
|
1329
|
+
Features:
|
|
1330
|
+
* Add props `renderFileUploadIcon`, `renderVoiceMessageIcon`, and `renderSendMessageIcon` into the `Channel`, `ChannelUI`, and `MessageInput` component
|
|
1331
|
+
```javascript
|
|
1332
|
+
interface MessageInputProps {
|
|
1333
|
+
renderFileUploadIcon?: () => React.ReactElement;
|
|
1334
|
+
renderVoiceMessageIcon?: () => React.ReactElement;
|
|
1335
|
+
renderSendMessageIcon?: () => React.ReactElement;
|
|
1336
|
+
}
|
|
1337
|
+
```
|
|
1338
|
+
|
|
1339
|
+
Fixes:
|
|
1340
|
+
* Use ApplicationUserListQuery on ChannelSettings component
|
|
1341
|
+
* Fix some visual issues on the normal User Panel of ChannelSettings
|
|
1342
|
+
* Indentify faulty images in OG message
|
|
1343
|
+
* Add classname: sendbird-og-message-item-body__og-thumbnail__empty to identify faulty images in OG message
|
|
1344
|
+
Clients can use CSS to target this class~
|
|
1345
|
+
```css
|
|
1346
|
+
.sendbird-og-message-item-body__og-thumbnail__empty {
|
|
1347
|
+
display: none;
|
|
1348
|
+
}
|
|
1349
|
+
```
|
|
1350
|
+
|
|
1351
|
+
## [v3.3.7] (Feb 24 2023)
|
|
1352
|
+
|
|
1353
|
+
Features:
|
|
1354
|
+
* Add props `activeChannelUrl` to ChannelList to give an option to pragmatically set a channel from a parent component router
|
|
1355
|
+
```javascript
|
|
1356
|
+
const MyChannelList = () => {
|
|
1357
|
+
const [myActiveChannel] = useState()
|
|
1358
|
+
return (<ChannelList activeChannelUrl={myActiveChannel.url} />)
|
|
1359
|
+
}
|
|
1360
|
+
```
|
|
1361
|
+
|
|
1362
|
+
Fixes:
|
|
1363
|
+
* Fix not showing newly recived messages in channel which has less messages
|
|
1364
|
+
* Use a real `channel.invitedAt` value when trying to fetch MessageSearchQuery
|
|
1365
|
+
* Disable the checkbox of the joined users on the InviteUsersModal
|
|
1366
|
+
* Set the default value of CheckBox component: `@sendbird/uikit-react/ui/CheckBox` as false
|
|
1367
|
+
|
|
1368
|
+
## [v3.3.6] (Feb 13 2023)
|
|
1369
|
+
|
|
1370
|
+
Fixes:
|
|
1371
|
+
* pubsub should be initialized with useState
|
|
1372
|
+
* update onBeforeCreateChannel example to use chat V4
|
|
1373
|
+
|
|
1374
|
+
## [v3.5.0-beta.0] (Feb 6 2023)
|
|
1375
|
+
|
|
1376
|
+
### Notification Channel
|
|
1377
|
+
|
|
1378
|
+
A notification channel is a new group channel dedicated to receiving one way marketing and transactional messages. To allow users to view messages sent through Sendbird Message Builder with the correct rendering, you need to implement the notification channel view using <NotificationChannel>
|
|
1379
|
+
|
|
1380
|
+
Overview:
|
|
1381
|
+
* Provide new module `NotificationChannel`
|
|
1382
|
+
* NotificationChannel
|
|
1383
|
+
`import NotificationChannel from '@sendbird/uikit-react/NotificationChannel'`
|
|
1384
|
+
props:
|
|
1385
|
+
* channelUrl: string;
|
|
1386
|
+
* children?: React.ReactElement;
|
|
1387
|
+
// To customize Query
|
|
1388
|
+
* messageListParams?: MessageListParams;
|
|
1389
|
+
// Sets last seen externally
|
|
1390
|
+
* lastSeen?: number;
|
|
1391
|
+
// handles Actions sepcified in Message Templates
|
|
1392
|
+
* handleWebAction?(event: React.SyntheticEvent, action: Action, message: BaseMessage): null;
|
|
1393
|
+
* handleCustomAction?(event: React.SyntheticEvent, action: Action, message: BaseMessage): null;
|
|
1394
|
+
* handlePredefinedAction?(event: React.SyntheticEvent, action: Action, message: BaseMessage): null;
|
|
1395
|
+
// UI overrides
|
|
1396
|
+
* isLoading?: boolean;
|
|
1397
|
+
* renderPlaceholderLoader?: () => React.ReactElement;
|
|
1398
|
+
* renderPlaceholderInvalid?: () => React.ReactElement;
|
|
1399
|
+
* renderPlaceholderEmpty?: () => React.ReactElement;
|
|
1400
|
+
* renderHeader?: () => React.ReactElement;
|
|
1401
|
+
* renderMessageHeader?: ({ message }) => React.ReactElement;
|
|
1402
|
+
* renderMessage?: ({ message }) => React.ReactElement;
|
|
1403
|
+
|
|
1404
|
+
```
|
|
1405
|
+
example:
|
|
1406
|
+
export const NotificationChannelComponenet = () => (
|
|
1407
|
+
<Sendbird
|
|
1408
|
+
appId={appId}
|
|
1409
|
+
userId={userId}
|
|
1410
|
+
accessToken={accessToken}
|
|
1411
|
+
>
|
|
1412
|
+
<div style={{ height: '960px', width: '360px' }}>
|
|
1413
|
+
<NotificationChannel
|
|
1414
|
+
channelUrl={`SENDBIRD_NOTIFICATION_CHANNEL_NOTIFICATION_${userId}`}
|
|
1415
|
+
renderPlaceholderLoader={() => <MyBrandLogo />};
|
|
1416
|
+
handleCustomAction={(event, action, message) => {
|
|
1417
|
+
... implement custom action
|
|
1418
|
+
}}
|
|
1419
|
+
/>
|
|
1420
|
+
</div>
|
|
1421
|
+
</Sendbird>
|
|
1422
|
+
);
|
|
1423
|
+
```
|
|
1424
|
+
* Submodules:
|
|
1425
|
+
* Context
|
|
1426
|
+
`import { NotficationChannelProvider useNotficationChannelContext } from '@sendbird/uikit-react/NotificationChannel/context'`
|
|
1427
|
+
Handles business logic of Notification Channel
|
|
1428
|
+
* NotificationChannelUI
|
|
1429
|
+
`import NotificationChannelUI from '@sendbird/uikit-react/NotificationChannel/components/NotificationChannelUI'`
|
|
1430
|
+
UI wrapper of Notification Channel
|
|
1431
|
+
* NotificationMessageWrap
|
|
1432
|
+
`import NotificationMessageWrap from '@sendbird/uikit-react/NotificationChannel/components/NotificationMessageWrap'`
|
|
1433
|
+
* NotificationList
|
|
1434
|
+
`import NotificationList from '@sendbird/uikit-react/NotificationChannel/components/NotificationList'`
|
|
1435
|
+
* External modules:
|
|
1436
|
+
Unlike some of our other releases we decide to release some components into seperate packages to enahnce reusability with other platforms/projects
|
|
1437
|
+
* MessageTemplateParser('@sendbird/react-message-template')
|
|
1438
|
+
* MessageTemplate
|
|
1439
|
+
`import { createMessageTemplate } from '@sendbird/react-message-template'`
|
|
1440
|
+
* Parser
|
|
1441
|
+
`import { createParser } from '@sendbird/react-message-template'`
|
|
1442
|
+
* Renderer
|
|
1443
|
+
`import { createRenderer } from '@sendbird/react-message-template'`
|
|
1444
|
+
* MessageTemplateParser('@sendbird/react-message-template')
|
|
1445
|
+
* Context
|
|
1446
|
+
`import { MessageProvider, useMessageContext } from '@sendbird/react-uikit-message-template-view';`
|
|
1447
|
+
* MessageTemplateView
|
|
1448
|
+
`import { MessageTemplateView } from '@sendbird/react-uikit-message-template-view';`
|
|
1449
|
+
|
|
1450
|
+
## [v3.3.5] (Feb 3 2023)
|
|
1451
|
+
Features:
|
|
1452
|
+
* Voice Recorder&Player logic(not public yet)
|
|
1453
|
+
* Add a voice record logic: VoiceRecorderProvider, useVoiceRecorderContext, useVoiceRecorder
|
|
1454
|
+
* Add an audio play logic: VoicePlayerProvider, useVoicePlayerContext, useVoicePlayer
|
|
1455
|
+
* Create an integrated sample for the group channel
|
|
1456
|
+
|
|
1457
|
+
Fix:
|
|
1458
|
+
* Migrate the outdated ChannelListQuery interface
|
|
1459
|
+
* Issue: A customer said the `userIdsFilter` of ChannelListQuery doesn't work when receiving messages
|
|
1460
|
+
There's been an internal channel filtering logic with custom channelListQuery, but it's broken because we've used the outdated interface of Chat SDK.
|
|
1461
|
+
* Fix: We migrated the outdated interface `_searchFilter` and `_userIdsFilter` to new things `searchFilter` and `userIdsFilter
|
|
1462
|
+
* Use the same word-splitting logic on the TextMessage and OGMessage
|
|
1463
|
+
* TextMessage will also allow opening the URL links
|
|
1464
|
+
* Use the same word wrapping style on the TextMessage and OGMessage
|
|
1465
|
+
* Apply string set into the moderation section
|
|
1466
|
+
* Add string set
|
|
1467
|
+
* CHANNEL_SETTING__OPERATORS__ADD_BUTTON: 'Add'
|
|
1468
|
+
* CHANNEL_SETTING__MODERATION__EMPTY_BAN: 'No banned members yet'
|
|
1469
|
+
* CHANNEL_SETTING__MODERATION__ALL_BAN: 'All banned members'
|
|
1470
|
+
* Edit should not be allowed when input is empty
|
|
1471
|
+
* New channel interrupts the current conversation
|
|
1472
|
+
* Do not set the current channel when getting an invitation
|
|
1473
|
+
* Add test for USER_INVITED in the reducer of ChannelList
|
|
1474
|
+
|
|
1475
|
+
## [v3.3.4] (Jan 6 2023)
|
|
1476
|
+
Fix:
|
|
1477
|
+
* Add the time stamp rendering case for before this year on the ChannelList
|
|
1478
|
+
* Improve the message input security
|
|
1479
|
+
* Possibility of XSS has been discovered
|
|
1480
|
+
* Recommend to do a version up, if you are using UIKit version 3.0.0 or higher
|
|
1481
|
+
|
|
1482
|
+
## [v3.3.3] (Dec 22 2022)
|
|
1483
|
+
Fix:
|
|
1484
|
+
* Change default value of the image compression rate to 70%(0.7)
|
|
1485
|
+
|
|
1486
|
+
## [v3.3.2] (Dec 8 2022)
|
|
1487
|
+
Features:
|
|
1488
|
+
* Add props `renderTitle` to the <ChannelListHeader /> component
|
|
1489
|
+
* `renderHeader` of <ChannelListHeader /> will be deprecated
|
|
1490
|
+
* Add interface overrideInviteUser
|
|
1491
|
+
|
|
1492
|
+
Add overrideInviteUser to ChannelList, CreateChannel and ChannelSettings
|
|
1493
|
+
|
|
1494
|
+
This interface overrides InviteMember functionality. Customer has to create the channel
|
|
1495
|
+
and close the popup manually
|
|
1496
|
+
|
|
1497
|
+
```javascript
|
|
1498
|
+
export type OverrideInviteUserType = {
|
|
1499
|
+
users: Array<string>;
|
|
1500
|
+
onClose: () => void;
|
|
1501
|
+
channelType: 'group' | 'supergroup' | 'broadcast';
|
|
1502
|
+
};
|
|
1503
|
+
export interface ChannelListProps {
|
|
1504
|
+
overrideInviteUser?(params: OverrideInviteUserType): void;
|
|
1505
|
+
}
|
|
1506
|
+
export interface CreateChannelProps {
|
|
1507
|
+
overrideInviteUser?(params: OverrideInviteUserType): void;
|
|
1508
|
+
}
|
|
1509
|
+
export type OverrideInviteMemberType = {
|
|
1510
|
+
users: Array<string>;
|
|
1511
|
+
onClose: () => void;
|
|
1512
|
+
channel: GroupChannel;
|
|
1513
|
+
};
|
|
1514
|
+
ChannelSettings.overrideInviteUser?(params: OverrideInviteMemberType): void;
|
|
1515
|
+
```
|
|
1516
|
+
|
|
1517
|
+
example:
|
|
1518
|
+
```javascript
|
|
1519
|
+
<ChannelList
|
|
1520
|
+
overrideInviteUser={({users, onClose, channelType}) => {
|
|
1521
|
+
createMyChannel(users, channelType).then(() => {
|
|
1522
|
+
onClose();
|
|
1523
|
+
})
|
|
1524
|
+
}}
|
|
1525
|
+
/>
|
|
1526
|
+
```
|
|
1527
|
+
|
|
1528
|
+
Fixes:
|
|
1529
|
+
* Allow to override entire message search query.
|
|
1530
|
+
Now message search query supports searching messages in multiple channels.
|
|
1531
|
+
* Modify type definitions for props `ThreadUIProps.renderMessage`.
|
|
1532
|
+
* Remove duplication of create channel button when using `renderHeader` of <ChannelList />.
|
|
1533
|
+
* The online status should work even configureSession is provided.
|
|
1534
|
+
This was disabled because of a bug in sessionHandler in SDK now, we can re-enable this.
|
|
1535
|
+
* Create channel sometimes had empty operatorID.
|
|
1536
|
+
Use sendbird state to access currentUserID and use it incase prop value is empty.
|
|
1537
|
+
Also, remove legacy HOC pattern.
|
|
1538
|
+
* Add the props type `isMentionEnabled` of <App />.
|
|
1539
|
+
* Change the props type `messageSearchQuery` of <MessageSearch /> to **MessageSearchQueryParams**.
|
|
1540
|
+
|
|
1541
|
+
## [v3.3.1] (Nov 23 2022)
|
|
1542
|
+
Fixes:
|
|
1543
|
+
* Rename properties of `useThreadContext`
|
|
1544
|
+
* `channelStatus` to `channelState`
|
|
1545
|
+
* `parentMessageInfoStatus` to `parentMessageState`
|
|
1546
|
+
* `threadListStatus` to `threadListState`
|
|
1547
|
+
* Change the state types to enum
|
|
1548
|
+
```typescript
|
|
1549
|
+
enum ChannelStateTypes {
|
|
1550
|
+
NIL = 'NIL',
|
|
1551
|
+
LOADING = 'LOADING',
|
|
1552
|
+
INVALID = 'INVALID',
|
|
1553
|
+
INITIALIZED = 'INITIALIZED',
|
|
1554
|
+
}
|
|
1555
|
+
enum ParentMessageStateTypes {
|
|
1556
|
+
NIL = 'NIL',
|
|
1557
|
+
LOADING = 'LOADING',
|
|
1558
|
+
INVALID = 'INVALID',
|
|
1559
|
+
INITIALIZED = 'INITIALIZED',
|
|
1560
|
+
}
|
|
1561
|
+
enum ThreadListStateTypes {
|
|
1562
|
+
NIL = 'NIL',
|
|
1563
|
+
LOADING = 'LOADING',
|
|
1564
|
+
INVALID = 'INVALID',
|
|
1565
|
+
INITIALIZED = 'INITIALIZED',
|
|
1566
|
+
}
|
|
1567
|
+
```
|
|
1568
|
+
|
|
1569
|
+
## [v3.3.0] (Nov 23 2022)
|
|
1570
|
+
Features:
|
|
1571
|
+
* Provide new module `Thread`. See the specific informations of this module on the [Docs page](https://sendbird.com/docs/uikit)
|
|
1572
|
+
* You can use a combined component `Thread`. Import it with
|
|
1573
|
+
```typescript
|
|
1574
|
+
import Thread from "@sendbird/uikit-react/Thread"
|
|
1575
|
+
```
|
|
1576
|
+
* Also you can use `ThreadProvider` and `useThreadContext` for customization. Import it with
|
|
1577
|
+
```typescript
|
|
1578
|
+
import { ThreadProvider, useThreadContext } from "@sendbird/uikit-react/Thread/context"
|
|
1579
|
+
```
|
|
1580
|
+
* And the other UI components are provided under the Thread. `ThreadUI`, `ThreadHeader`, `ParentMessageInfo`, `ParentMessageInfoItem`, `ThreadList`, `ThreadListItem`, and `ThreadMessageInput` are it
|
|
1581
|
+
* Add channel props
|
|
1582
|
+
* `threadReplySelectType`: Type of the value should be
|
|
1583
|
+
```typescript
|
|
1584
|
+
enum ThreadReplySelectType { PARENT, THREAD }
|
|
1585
|
+
```
|
|
1586
|
+
You can see how to use it below
|
|
1587
|
+
```typescript
|
|
1588
|
+
import { ThreadReplySelectType } from "@sendbird/uikit-react/Channel/context";
|
|
1589
|
+
|
|
1590
|
+
<Channel
|
|
1591
|
+
...
|
|
1592
|
+
threadReplySelectType={ThreadReplySelectType.PARENT}
|
|
1593
|
+
/>
|
|
1594
|
+
```
|
|
1595
|
+
* `animatedMessage`: Type of the value should be number(messageId)
|
|
1596
|
+
* `onReplyInThread`: This function is called when user click the button "Reply in thread" on the message context menu
|
|
1597
|
+
```typescript
|
|
1598
|
+
type onReplyInThread = ({ message: UserMessage | FileMessage }) => void
|
|
1599
|
+
```
|
|
1600
|
+
* `onQuoteMessageClick`: This function is called when user click the quote message on the message of Channel
|
|
1601
|
+
```typescript
|
|
1602
|
+
type onQuoteMessageClick = ({ message: UserMessage | FileMessage }) => {}
|
|
1603
|
+
```
|
|
1604
|
+
* `onMessageAnimated`: This function is called after that message item is animated
|
|
1605
|
+
```typescript
|
|
1606
|
+
type onMessageAnimated = () => void
|
|
1607
|
+
```
|
|
1608
|
+
* `onMessageHighlighted`: This function is called after that message item is highlighted
|
|
1609
|
+
```typescript
|
|
1610
|
+
type onMessageHighlighted = () => void
|
|
1611
|
+
```
|
|
1612
|
+
* Add `ui/ThreadReplies` component
|
|
1613
|
+
```typescript
|
|
1614
|
+
interface ThreadRepliesProps {
|
|
1615
|
+
className?: string;
|
|
1616
|
+
threadInfo: ThreadInfo;
|
|
1617
|
+
onClick?: (e: React.MouseEvent<HTMLElement> | React.KeyboardEvent<HTMLElement>) => void;
|
|
1618
|
+
}
|
|
1619
|
+
```
|
|
1620
|
+
|
|
1621
|
+
Fixes:
|
|
1622
|
+
* Do not allow operator to unregister itself on the OperatorList of GroupChannel
|
|
1623
|
+
* Create new group channel when user open 1:1 channel on the UserProfile
|
|
1624
|
+
* Register the channel creator as an operator in 1:1 channel
|
|
1625
|
+
|
|
1626
|
+
## [v3.2.6] (Nov 14 2022)
|
|
1627
|
+
Fix:
|
|
1628
|
+
* Use ref instead of querySelector for DOM manipulation
|
|
1629
|
+
Fixes the issue where input is not cleared when multiple channels are open at the same time
|
|
1630
|
+
* Apply pre-line into the OpenChannelUserMessage
|
|
1631
|
+
Fixes the issue where OpenChannel UserMessage doesnt have new line
|
|
1632
|
+
|
|
1633
|
+
## [v3.2.5] (Nov 7 2022)
|
|
1634
|
+
Fix:
|
|
1635
|
+
* Modify the type of parameters in the sendbirdSelectors
|
|
1636
|
+
There has been unsyncronous between reality and types
|
|
1637
|
+
This fix only affects to TypeScript
|
|
1638
|
+
* getLeaveGroupChannel: `channel` to `channelUrl`
|
|
1639
|
+
* getEnterOpenChannel: `channel` to `channelUrl`
|
|
1640
|
+
* getExitOpenChannel: `channel` to `channelUrl`
|
|
1641
|
+
|
|
1642
|
+
## [v3.2.4] (Nov 1 2022)
|
|
1643
|
+
Features:
|
|
1644
|
+
* For Channel component, added separate prop isLoading?.boolean
|
|
1645
|
+
Usage: `<Channel channelUrl {currentChannelUrl} isLoading={!currentChannelUrl} />`
|
|
1646
|
+
* For flicker in ChannelList, no extra props
|
|
1647
|
+
|
|
1648
|
+
Fixes:
|
|
1649
|
+
* React UIKit placeholder rendering issue
|
|
1650
|
+
* Fix scroll issue in ChannelList where user cannot load more channels
|
|
1651
|
+
* Modify TS interface getLeaveChannel to getLeaveGroupChannel in selectors
|
|
1652
|
+
|
|
1653
|
+
## [v3.2.3] (Oct 14 2022)
|
|
1654
|
+
Feature:
|
|
1655
|
+
* Add a prop `disableMarkAsRead` into the <Channel />
|
|
1656
|
+
This prop disables calling markAsRead in the Channel component
|
|
1657
|
+
|
|
1658
|
+
## [v3.2.2] (Oct 13 2022)
|
|
1659
|
+
|
|
1660
|
+
Feature:
|
|
1661
|
+
* Export a type `OutgoingMessageStates`
|
|
1662
|
+
* Type: `enum OutgoingMessageStates { NONE, PENDING, SENT, FAILED, DELIVERED, READ }`
|
|
1663
|
+
* Export a util function `getOutgoingMessageState`
|
|
1664
|
+
* Importing path: "@sendbird/uikit-react/utils/message/getOutgoingMessageState"
|
|
1665
|
+
* Interface: `function getOutgoingMessageState(channel, message): OutgoingMessageStates`
|
|
1666
|
+
* Add a prop `disableMarkAsDelivered` into the <App /> and <SendbirdProvider />
|
|
1667
|
+
Some of our customers do not use the markAsDelivery feature,
|
|
1668
|
+
but we always have called the markAsDelivered on the ChannelList with every channel
|
|
1669
|
+
It caused a rate-limit issue, so we add a new prop to disable the markAdDelivered call for that case
|
|
1670
|
+
|
|
1671
|
+
## [v3.2.1] (Oct 02 2022)
|
|
1672
|
+
|
|
1673
|
+
Fixes:
|
|
1674
|
+
* Do not bundle chat SDK with uikit compiled code
|
|
1675
|
+
|
|
1676
|
+
Compiled UIKit code that is distributed through npm shouldn't
|
|
1677
|
+
have Chat SDK minified code included in it
|
|
1678
|
+
Chat SDK should be a dependency of UIKit
|
|
1679
|
+
Advantages:
|
|
1680
|
+
* Chat SDK bug fixes will be added for free
|
|
1681
|
+
* Eliminate the need for handlers
|
|
1682
|
+
What caused the issue:
|
|
1683
|
+
If you are using rollup for bundling
|
|
1684
|
+
in config.external you have to be specific
|
|
1685
|
+
ie>
|
|
1686
|
+
This works:
|
|
1687
|
+
```
|
|
1688
|
+
external: [
|
|
1689
|
+
'@sendbird/chat',
|
|
1690
|
+
'@sendbird/chat/groupChannel',
|
|
1691
|
+
'@sendbird/chat/openChannel',
|
|
1692
|
+
'@sendbird/chat/message',
|
|
1693
|
+
]
|
|
1694
|
+
```
|
|
1695
|
+
This doesn't:
|
|
1696
|
+
```
|
|
1697
|
+
external: [ '@sendbird/chat', ]
|
|
1698
|
+
```
|
|
1699
|
+
|
|
1700
|
+
* Only react and react-dom should be peerDependencies
|
|
1701
|
+
|
|
1702
|
+
For npm >= v7, npm autoinstall peerDependency packages
|
|
1703
|
+
According to `https://docs.npmjs.com/cli/v8/configuring-npm/package-json#peerdependencies`
|
|
1704
|
+
You want to express the compatibility of your package with a host tool
|
|
1705
|
+
or library while not necessarily doing a require of this host Even though react is required,
|
|
1706
|
+
its better to show that react is the host tool
|
|
1707
|
+
|
|
1708
|
+
## [v3.2.0] (Sep 27 2022)
|
|
1709
|
+
|
|
1710
|
+
Features:
|
|
1711
|
+
* OpenChannelList component
|
|
1712
|
+
* Create new smart components (modules)
|
|
1713
|
+
* CreateOpenChannel
|
|
1714
|
+
* OpenChannelList
|
|
1715
|
+
* Add a renderHeader props into the ui/Modal component
|
|
1716
|
+
* Add stringSet for OpenChannelLisit and CreateOpenChannel components
|
|
1717
|
+
* OPEN_CHANNEL_LIST__TITLE: 'Channels',
|
|
1718
|
+
* CREATE_OPEN_CHANNEL_LIST__TITLE: 'New channel profile',
|
|
1719
|
+
* CREATE_OPEN_CHANNEL_LIST__SUBTITLE__IMG_SECTION: 'Channel image',
|
|
1720
|
+
* CREATE_OPEN_CHANNEL_LIST__SUBTITLE__IMG_UPLOAD: 'Upload',
|
|
1721
|
+
* CREATE_OPEN_CHANNEL_LIST__SUBTITLE__TEXT_SECTION: 'Channel name',
|
|
1722
|
+
* CREATE_OPEN_CHANNEL_LIST__SUBTITLE__TEXT_PLACE_HOLDER: 'Enter channel name',
|
|
1723
|
+
* CREATE_OPEN_CHANNEL_LIST__SUBMIT: 'Create',
|
|
1724
|
+
* Add prop?.value to MessageWrappers
|
|
1725
|
+
* @sendbird/uikit-react/Channel/components/MessageInput
|
|
1726
|
+
* @sendbird/uikit-react/OpenChannel/components/OpenChannelInput
|
|
1727
|
+
* @sendbird/uikit-react/ui/MessageInput
|
|
1728
|
+
* Value is reset when channelURL changes
|
|
1729
|
+
|
|
1730
|
+
Fixes:
|
|
1731
|
+
* Fix issue where ConnectionHandler overwrite SessionHandler
|
|
1732
|
+
* Use queries from @sendbird/chat
|
|
1733
|
+
* Use imported versions of GroupChannelListQueryParams and ApplicationUserListQueryParams
|
|
1734
|
+
* Fix `o`penChannel casing in type defn
|
|
1735
|
+
* Add some missing localization variables
|
|
1736
|
+
* Deprecate ChatHeader and ChannelPreview in @sendbird/uikit-react/ui
|
|
1737
|
+
* Replace the ButtonTypes and ButtonSizes into the Button/index
|
|
1738
|
+
* Apply scroll to input and dark theme color to UserProfile
|
|
1739
|
+
* Disable the create channel button when no user invite
|
|
1740
|
+
* Use ref from MessageInputWrapper props if present
|
|
1741
|
+
* Some CSS level polishing fixes~
|
|
1742
|
+
|
|
1743
|
+
Dev. Env:
|
|
1744
|
+
* Remove `enzyme` and `react-test-renderer`
|
|
1745
|
+
* Upgrade the `react` version to **v18**
|
|
1746
|
+
* Upgrade the `storybook` version to **v6.5.10**
|
|
1747
|
+
* Upgrade the `jest` and `babel-jest` to **v29**
|
|
1748
|
+
* Upgrade the `jsdom` to **v20**
|
|
1749
|
+
* Install `jest-environment-jsdom`
|
|
1750
|
+
* Install `global-jsdom`
|
|
1751
|
+
* Install `testing-library` (`@testing-library/react` and `@testing-library/jest-dom`)
|
|
1752
|
+
* Migrate every tests with `testing-library` instead of the `enzyme` and `react-test-renderer
|
|
1753
|
+
* Replace node-sass with sass(Dart Sass)
|
|
1754
|
+
* Reduce bundle size by treating react-dom/server as external
|
|
1755
|
+
|
|
1756
|
+
## [v3.1.3] (Sep 19 2022)
|
|
1757
|
+
|
|
1758
|
+
Features:
|
|
1759
|
+
* Export SessionHandler through `@sendbird/uikit-react/handlers/SessionHandler`
|
|
1760
|
+
* This is a workaround to fix an issue where inhertiance chains break custom handler implementation
|
|
1761
|
+
* `import SessionHandler from '@sendbird/uikit-react/handlers/SessionHandler'`
|
|
1762
|
+
* Rem units can be used for typography
|
|
1763
|
+
* Pass prop `config.isREMUnitEnabled` -> true on SendbirdProvider
|
|
1764
|
+
to use "rem" units
|
|
1765
|
+
* We are adding rem as unit for typography/font size
|
|
1766
|
+
|
|
1767
|
+
Fixes:
|
|
1768
|
+
* Fix the position of ContextMenu
|
|
1769
|
+
* Do not exit the current open channel when the channel state is changed
|
|
1770
|
+
* Display menu only for operators on the member list
|
|
1771
|
+
* Hide muted icon when pop-up component is appeared
|
|
1772
|
+
* Set message context's border roundly by the state using the reaction feature
|
|
1773
|
+
* Add props `isReactionEnabled` to the <TextMessageItemBody />
|
|
1774
|
+
* Add props `isReactionEnabled` to the <OGMessageItemBody />
|
|
1775
|
+
* Add props `isReactionEnabled` to the <FileMessageItemBody />
|
|
1776
|
+
* Add props `isReactionEnabled` to the <ThumbnailMessageItemBody />
|
|
1777
|
+
* Add props `isReactionEnabled` to the <UnknownMessageItemBody />
|
|
1778
|
+
* Add the message as a parameter of renderCustomSeparator
|
|
1779
|
+
* before: renderCustomSeparator={() => ReactElement}
|
|
1780
|
+
* after: renderCustomSeparator={(props: { message }) => ReactElement}
|
|
1781
|
+
* Fix typo on the type
|
|
1782
|
+
* renderCustomSep'e'rator to renderCustomSep'a'rator
|
|
1783
|
+
|
|
1784
|
+
## [v3.1.2] (Aug 31 2022)
|
|
1785
|
+
|
|
1786
|
+
* Migrate UI components into TypeScript
|
|
1787
|
+
This doesnt affect anyone, it a step in task to migrate the project source code into TS
|
|
1788
|
+
|
|
1789
|
+
Fixes:
|
|
1790
|
+
* Type defn: Change type of react elements to `React.ReactElement`
|
|
1791
|
+
* Change every `React.ReactNode` and `React.Component` to `React.ReactElement`
|
|
1792
|
+
* Use the type of SendbirdError
|
|
1793
|
+
* Use the type MessageSearchQueryParams
|
|
1794
|
+
* Use enum MessageSearchOrder.TIMESTAMP in the message search query params instead of `'ts' as const`
|
|
1795
|
+
|
|
1796
|
+
**ReactNode** could be `string | number | null | undefined | ReactElement | portal` and this(expecting string or number) causes **warning** when we use it like `<CustomComp />`
|
|
1797
|
+
```typescript
|
|
1798
|
+
// in the component
|
|
1799
|
+
{ renderMessage } = props
|
|
1800
|
+
const CustomMessage = useMemo(() => {
|
|
1801
|
+
return renderMessage({ ... });
|
|
1802
|
+
}, []);
|
|
1803
|
+
return (
|
|
1804
|
+
<div>
|
|
1805
|
+
<CustomMessage />
|
|
1806
|
+
</div>
|
|
1807
|
+
);
|
|
1808
|
+
```
|
|
1809
|
+
so expecting **ReactElement** is better for our case
|
|
1810
|
+
* Fix message grouping:
|
|
1811
|
+
Set isMessageGroupingEnabed to true(was set to false during v2 migration)
|
|
1812
|
+
|
|
1813
|
+
## [v3.1.1] (Aug 17 2022)
|
|
1814
|
+
|
|
1815
|
+
Features:
|
|
1816
|
+
* Add channel handlers to the open channel settings
|
|
1817
|
+
* Add an open channel handler into the OpenChannelSettings component
|
|
1818
|
+
* Use operators property to render operator list on the OpenChannelSetting
|
|
1819
|
+
instead of fetching operators
|
|
1820
|
+
* Export handlers through `@sendbird/uikit-react/handlers`, this is a workaround
|
|
1821
|
+
to fix an issue where inhertiance chains break custom handler implementation
|
|
1822
|
+
* ConnectionHandler -> `@sendbird/uikit-react/handlers/ConnectionHandler`
|
|
1823
|
+
* GroupChannelHandler -> `@sendbird/uikit-react/handlers/GroupChannelHandler`
|
|
1824
|
+
* OpenChannelHandler -> `@sendbird/uikit-react/handlers/OpenChannelHandler`
|
|
1825
|
+
* UserEventHandler -> `@sendbird/uikit-react/handlers/UserEventHandler`
|
|
1826
|
+
* Example: https://codesandbox.io/s/test-3-1-1-rc-5-f94w7i
|
|
1827
|
+
|
|
1828
|
+
Fixes:
|
|
1829
|
+
* Update SendableMessage to UserMessage and FileMessage
|
|
1830
|
+
* Change the type of MessageHandler.onFailed to FailedMessageHandler
|
|
1831
|
+
* Add missing type defns into scripts/index_d_ts
|
|
1832
|
+
* Typo in creating channelHandlerId on the ChannelList
|
|
1833
|
+
|
|
1834
|
+
## [v3.1.0] (Aug 03 2022)
|
|
1835
|
+
Features:
|
|
1836
|
+
* Support moderation in OpenChannel
|
|
1837
|
+
* Provide moderations: mute, unmute, ban, and unban on the <OpenChannelSettings />
|
|
1838
|
+
* Provide moderations: register and unregister operator on the <OpenChannelSettings />
|
|
1839
|
+
* Add MutedParticipantList and MutedParticipantsModal into the <OpenChannelSettings />
|
|
1840
|
+
* Add BannedUserList and BannedUsersModal into the <OpenChannelSettings />
|
|
1841
|
+
* Add OperatorList and OperatorsModal into the <OpenChannelSettings />
|
|
1842
|
+
* Add AddOperatorsModal into the <OpenChannelSettings />
|
|
1843
|
+
|
|
1844
|
+
## [v3.0.2] (Aug 03 2022)
|
|
1845
|
+
Fixes:
|
|
1846
|
+
* Explicitly export library as esm-module
|
|
1847
|
+
ESM library should have "type": "module" (package.json file that is going to /dist)
|
|
1848
|
+
This fixes Cannot use import outside module issue in next.js
|
|
1849
|
+
* Add optional chaining for createApplicationUserList
|
|
1850
|
+
* Fix QueryInProgress warning:
|
|
1851
|
+
React 18 strict mode glitch that causes useEffect to run twice
|
|
1852
|
+
* Cannot connect sometimes when customApiHost is empty
|
|
1853
|
+
Connection couldnt be established with no error message when customApiHost and customWebSocketHost
|
|
1854
|
+
were passed as empty string
|
|
1855
|
+
* Handle all chances of command not received error
|
|
1856
|
+
Handle chances of command not recieved error in markAsRead
|
|
1857
|
+
Experimental markasread handling -> longer times, no more call after unmount
|
|
1858
|
+
* Move typing handler in channellist into local variable
|
|
1859
|
+
|
|
1860
|
+
## [v3.0.1] (July 28 2022)
|
|
1861
|
+
|
|
1862
|
+
Features:
|
|
1863
|
+
* Accept customApiHost & customWebSocketHost as props to SendbirdProvider
|
|
1864
|
+
* Add basic TS project sample
|
|
1865
|
+
|
|
1866
|
+
Fixes:
|
|
1867
|
+
* Improve URL detection in OG message
|
|
1868
|
+
* Add onCloseClick to MessageSearchProps
|
|
1869
|
+
* Safe call removeGroupChannelHandler in TypingIndicator
|
|
1870
|
+
* Apply userListQuery
|
|
1871
|
+
* Type definition for channellist and setting
|
|
1872
|
+
|
|
1873
|
+
## [v3.0.0] (July 12 2022)
|
|
1874
|
+
|
|
1875
|
+
Features:
|
|
1876
|
+
* Support `modules` and `components` in the UIKit
|
|
1877
|
+
* Upgraded to `@sendbird/chat@4`
|
|
1878
|
+
* Support react 18
|
|
1879
|
+
* See the Migration Guide for Converting V2 to V3. [[details](./MIGRATION_v2-to-v3.md)]
|
|
1880
|
+
* See more details and breaking changes. [[details](./CHANGELOG.md)]
|
|
1881
|
+
|
|
1882
|
+
## [3.0.0-beta.6] (June 03 2022)
|
|
1883
|
+
|
|
1884
|
+
Feature:
|
|
1885
|
+
* Show profile on clicking a mention
|
|
1886
|
+
* Visual highlight when user is mention
|
|
1887
|
+
* Add session handler interface
|
|
1888
|
+
```
|
|
1889
|
+
// its recommended to memoize configureSession function
|
|
1890
|
+
const memoizedConfigureSession = (sb) => {
|
|
1891
|
+
const sessionHandler = new sb.SessionHandler();
|
|
1892
|
+
sessionHandler.onSessionTokenRequired = (onSuccess, onError) => {
|
|
1893
|
+
};
|
|
1894
|
+
return sessionHandler;
|
|
1895
|
+
};
|
|
1896
|
+
|
|
1897
|
+
// see: https://sendbird.com/docs/chat/v3/javascript/guides/authentication
|
|
1898
|
+
<SendbirdProvider
|
|
1899
|
+
configureSession={memoizedConfigureSession}
|
|
1900
|
+
/>
|
|
1901
|
+
```
|
|
1902
|
+
|
|
1903
|
+
Fix:
|
|
1904
|
+
* Change the front-weight of Subtitle2 from 600 to 500
|
|
1905
|
+
* Modify mention badge position on the ChannelListItem component
|
|
1906
|
+
* Change Info Icon size to 20px on the SuggestedMentionListItem component
|
|
1907
|
+
* Differentiate the message status 'read' and 'delivered' with message grouping
|
|
1908
|
+
* Modify KeyDown event handler on the message input for sending Korean text edge case
|
|
1909
|
+
Fix: Mention related stuff
|
|
1910
|
+
* Modify the onMouseOver event on the SuggestedMentionList component
|
|
1911
|
+
* Filter 'html' text when pasting text to the MessageInput component
|
|
1912
|
+
* Hide and apply ellipsis for overflowing text on the SuggestedMentionListItem component
|
|
1913
|
+
* Deactivate the MessageInput component when the current user is muted or the current channel is frozen
|
|
1914
|
+
* Reset the mention states of the current channel when changing channel and closing the edit MessageInput component
|
|
1915
|
+
|
|
1916
|
+
## [3.0.0-beta.5] (May 24 2022)
|
|
1917
|
+
Fixes:
|
|
1918
|
+
* Export useChannelList
|
|
1919
|
+
* Active disableAutoSelect props
|
|
1920
|
+
* Remove empty CSS file to fix source map warning
|
|
1921
|
+
|
|
1922
|
+
DOC:
|
|
1923
|
+
* Add info about webpack 5 breaking changes
|
|
1924
|
+
|
|
1925
|
+
## [3.0.0-beta.4] (May 24 2022) -> unpublished
|
|
1926
|
+
## [3.0.0-beta.3] (May 19 2022)
|
|
1927
|
+
Fixes:
|
|
1928
|
+
* Rate limit markAsDelivered call
|
|
1929
|
+
* Do not render date separator when renderCustomSeparator is null
|
|
1930
|
+
Misc:
|
|
1931
|
+
* Update Chat SDK minimum version to `3.1.13`
|
|
1932
|
+
|
|
1933
|
+
## [3.0.0-beta.2] (April 29 2022)
|
|
1934
|
+
|
|
1935
|
+
Feature:
|
|
1936
|
+
* Mention
|
|
1937
|
+
* Add isMentionEnabled props to the <App /> and <SendbirdProvider />
|
|
1938
|
+
* Add userMention into the config props of the <App /> andd <SendbirdProvider />
|
|
1939
|
+
* <SendbirdProvider config={{ userMention: { maxMentionCount: 10, maxSuggestionCount: 15 } }} />
|
|
1940
|
+
* maxMentionCount: A maximum count that you can mention in the message input
|
|
1941
|
+
* maxSuggestionCount: A maximum user count that the SuggestedMentionList suggests for user mention
|
|
1942
|
+
* Create SuggestedMentionList component under the Channel smart component
|
|
1943
|
+
* Create SuggestedUserMentionItem component
|
|
1944
|
+
* Create MentionUserLabel ui component
|
|
1945
|
+
* Add string set
|
|
1946
|
+
* MENTION_NAME__NO_NAME: '(No name)'
|
|
1947
|
+
* MENTION_COUNT__OVER_LIMIT: 'You can mention up to %d times per message.'
|
|
1948
|
+
Fix:
|
|
1949
|
+
* Type definition file fix for TS project
|
|
1950
|
+
For typescript projects, add `node_modules/@sendbird/uikit-react/index.d.ts`
|
|
1951
|
+
to your `include` section in tsconfig file to get type definitions
|
|
1952
|
+
|
|
1953
|
+
* Move font import to top of CSS file
|
|
1954
|
+
Some bundlers such as parcel throw error:
|
|
1955
|
+
`@import rules must precede all rules aside from @charset and @layer statements`
|
|
1956
|
+
Resolve this issue by moving the line to the top
|
|
1957
|
+
|
|
1958
|
+
## [3.0.0-beta] (Apr 12 2022)
|
|
1959
|
+
|
|
1960
|
+
This is the official beta for Sendbird UIKit for React version 3!
|
|
1961
|
+
|
|
1962
|
+
TLDR -> We split the old `smart-components` into modules which contian context and UI. Context contain logic and UI Components handle UI
|
|
1963
|
+
|
|
1964
|
+
**[Check out the v2 to v3 migration guide for details](MIGRATION_v2-to-v3.md)**
|
|
1965
|
+
|
|
1966
|
+
Changelog:
|
|
1967
|
+
* Package should be installed using `@sendbird/uikit-react`
|
|
1968
|
+
* Restructure smart-components into modules that contain a context and related UI components
|
|
1969
|
+
* Export these context and UI components to allow fine-grain customization
|
|
1970
|
+
* Recommend to use these context elements `useXXXXX()` and react function components to make custom components
|
|
1971
|
+
* All generic UI components are available as exports
|
|
1972
|
+
* Restrcuture export paths to allow better tree-shaking
|
|
1973
|
+
* Example:
|
|
1974
|
+
```
|
|
1975
|
+
import { useChannel } from '@sendbird/uikit-react/Channel/context';
|
|
1976
|
+
import ChannelUI from '@sendbird/uikit-react/Channel/components/ChannelUI';
|
|
1977
|
+
```
|
|
1978
|
+
* We keep older export patterns to make migration easier
|
|
1979
|
+
* Retained modules - ChannelList, Channel, ChannelSettings, OpenChannel, OpenChannelSettings, MessageSearch
|
|
1980
|
+
* New modules(not including context and ui of above) - CreateChannel, EditUserProfile, ui
|