@sendbird/uikit-react 3.8.2 → 3.9.0-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/App.js +57 -54
- package/App.js.map +1 -1
- package/CHANGELOG.md +114 -0
- package/Channel/components/ChannelHeader.js +25 -24
- package/Channel/components/ChannelHeader.js.map +1 -1
- package/Channel/components/ChannelUI.js +59 -53
- package/Channel/components/ChannelUI.js.map +1 -1
- package/Channel/components/FileViewer.js +24 -23
- package/Channel/components/FileViewer.js.map +1 -1
- package/Channel/components/FrozenNotification.js +5 -5
- package/Channel/components/Message.js +45 -44
- package/Channel/components/Message.js.map +1 -1
- package/Channel/components/MessageInput.js +37 -35
- package/Channel/components/MessageInput.js.map +1 -1
- package/Channel/components/MessageList.js +57 -241
- package/Channel/components/MessageList.js.map +1 -1
- package/Channel/components/RemoveMessageModal.js +23 -23
- package/Channel/components/SuggestedMentionList.js +23 -22
- package/Channel/components/SuggestedMentionList.js.map +1 -1
- package/Channel/components/TypingIndicator.js +19 -19
- package/Channel/components/UnreadCount.js +7 -7
- package/Channel/context.js +16 -16
- package/{chunks/bundle-tR2Ipjel.js → Channel/hooks/useHandleUploadFiles.js} +22 -138
- package/Channel/hooks/useHandleUploadFiles.js.map +1 -0
- package/Channel/hooks/useInitialMessagesFetch.js +8 -8
- package/Channel/utils/compareMessagesForGrouping.js +6 -6
- package/Channel/utils/getMessagePartsInfo.js +7 -7
- package/Channel.js +53 -49
- package/Channel.js.map +1 -1
- package/ChannelList/components/AddChannel.js +18 -17
- package/ChannelList/components/AddChannel.js.map +1 -1
- package/ChannelList/components/ChannelListHeader.js +9 -8
- package/ChannelList/components/ChannelListHeader.js.map +1 -1
- package/ChannelList/components/ChannelListUI.js +38 -36
- package/ChannelList/components/ChannelListUI.js.map +1 -1
- package/ChannelList/components/ChannelPreview.js +38 -32
- package/ChannelList/components/ChannelPreview.js.map +1 -1
- package/ChannelList/components/ChannelPreviewAction.js +15 -15
- package/ChannelList/context.js +9 -9
- package/ChannelList.js +34 -33
- package/ChannelList.js.map +1 -1
- package/ChannelSettings/components/ChannelProfile.js +14 -13
- package/ChannelSettings/components/ChannelProfile.js.map +1 -1
- package/ChannelSettings/components/ChannelSettingsUI.js +19 -18
- package/ChannelSettings/components/ChannelSettingsUI.js.map +1 -1
- package/ChannelSettings/components/EditDetailsModal.js +14 -13
- package/ChannelSettings/components/EditDetailsModal.js.map +1 -1
- package/ChannelSettings/components/LeaveChannel.js +11 -11
- package/ChannelSettings/components/ModerationPanel.js +17 -16
- package/ChannelSettings/components/ModerationPanel.js.map +1 -1
- package/ChannelSettings/components/UserListItem.js +13 -12
- package/ChannelSettings/components/UserListItem.js.map +1 -1
- package/ChannelSettings/components/UserPanel.js +16 -15
- package/ChannelSettings/components/UserPanel.js.map +1 -1
- package/ChannelSettings/context.js +3 -3
- package/ChannelSettings.js +19 -18
- package/ChannelSettings.js.map +1 -1
- package/CreateChannel/components/CreateChannelUI.js +16 -15
- package/CreateChannel/components/CreateChannelUI.js.map +1 -1
- package/CreateChannel/components/InviteUsers.js +16 -15
- package/CreateChannel/components/InviteUsers.js.map +1 -1
- package/CreateChannel/components/SelectChannelType.js +10 -10
- package/CreateChannel/context.js +4 -4
- package/CreateChannel.js +16 -15
- package/CreateChannel.js.map +1 -1
- package/CreateOpenChannel/components/CreateOpenChannelUI.js +12 -11
- package/CreateOpenChannel/components/CreateOpenChannelUI.js.map +1 -1
- package/CreateOpenChannel/context.js +1 -1
- package/CreateOpenChannel.js +12 -11
- package/CreateOpenChannel.js.map +1 -1
- package/EditUserProfile/components/EditUserProfileUI.js +15 -14
- package/EditUserProfile/components/EditUserProfileUI.js.map +1 -1
- package/EditUserProfile.js +17 -16
- package/EditUserProfile.js.map +1 -1
- package/MessageSearch/components/MessageSearchUI.js +15 -14
- package/MessageSearch/components/MessageSearchUI.js.map +1 -1
- package/MessageSearch/context.js +1 -1
- package/MessageSearch.js +15 -14
- package/MessageSearch.js.map +1 -1
- package/OpenChannel/components/FrozenChannelNotification.js +5 -5
- package/OpenChannel/components/OpenChannelHeader.js +15 -14
- package/OpenChannel/components/OpenChannelHeader.js.map +1 -1
- package/OpenChannel/components/OpenChannelInput.js +21 -21
- package/OpenChannel/components/OpenChannelMessage.js +33 -32
- package/OpenChannel/components/OpenChannelMessage.js.map +1 -1
- package/OpenChannel/components/OpenChannelMessageList.js +35 -34
- package/OpenChannel/components/OpenChannelMessageList.js.map +1 -1
- package/OpenChannel/components/OpenChannelUI.js +35 -34
- package/OpenChannel/components/OpenChannelUI.js.map +1 -1
- package/OpenChannel/context.js +8 -8
- package/OpenChannel.js +35 -34
- package/OpenChannel.js.map +1 -1
- package/OpenChannelList/components/OpenChannelListUI.js +15 -14
- package/OpenChannelList/components/OpenChannelListUI.js.map +1 -1
- package/OpenChannelList/components/OpenChannelPreview.js +7 -6
- package/OpenChannelList/components/OpenChannelPreview.js.map +1 -1
- package/OpenChannelList/context.js +3 -3
- package/OpenChannelList.js +15 -14
- package/OpenChannelList.js.map +1 -1
- package/OpenChannelSettings/components/EditDetailsModal.js +15 -14
- package/OpenChannelSettings/components/EditDetailsModal.js.map +1 -1
- package/OpenChannelSettings/components/OpenChannelProfile.js +15 -14
- package/OpenChannelSettings/components/OpenChannelProfile.js.map +1 -1
- package/OpenChannelSettings/components/OpenChannelSettingsUI.js +19 -18
- package/OpenChannelSettings/components/OpenChannelSettingsUI.js.map +1 -1
- package/OpenChannelSettings/components/OperatorUI.js +19 -18
- package/OpenChannelSettings/components/OperatorUI.js.map +1 -1
- package/OpenChannelSettings/components/ParticipantUI.js +17 -16
- package/OpenChannelSettings/components/ParticipantUI.js.map +1 -1
- package/OpenChannelSettings/context.js +3 -3
- package/OpenChannelSettings.js +19 -18
- package/OpenChannelSettings.js.map +1 -1
- package/README.md +1 -1
- package/SendbirdProvider.js +45 -36
- package/SendbirdProvider.js.map +1 -1
- package/Thread/components/ParentMessageInfo.js +44 -43
- package/Thread/components/ParentMessageInfo.js.map +1 -1
- package/Thread/components/ParentMessageInfoItem.js +28 -27
- package/Thread/components/ParentMessageInfoItem.js.map +1 -1
- package/Thread/components/ThreadHeader.js +7 -7
- package/Thread/components/ThreadList.js +44 -43
- package/Thread/components/ThreadList.js.map +1 -1
- package/Thread/components/ThreadListItem.js +50 -49
- package/Thread/components/ThreadListItem.js.map +1 -1
- package/Thread/components/ThreadMessageInput.js +36 -34
- package/Thread/components/ThreadMessageInput.js.map +1 -1
- package/Thread/components/ThreadUI.js +48 -46
- package/Thread/components/ThreadUI.js.map +1 -1
- package/Thread/context.js +82 -53
- package/Thread/context.js.map +1 -1
- package/Thread.js +48 -46
- package/Thread.js.map +1 -1
- package/VoicePlayer/context.js +3 -3
- package/VoicePlayer/useVoicePlayer.js +10 -10
- package/VoiceRecorder/context.js +10 -10
- package/VoiceRecorder/useVoiceRecorder.js +9 -9
- package/chunks/{bundle-cTKDcBXH.js → bundle--vRpTESf.js} +23 -30
- package/chunks/bundle--vRpTESf.js.map +1 -0
- package/chunks/{bundle-iTeulylJ.js → bundle-0wRb_ox9.js} +7 -7
- package/chunks/{bundle-iTeulylJ.js.map → bundle-0wRb_ox9.js.map} +1 -1
- package/chunks/{bundle-JGL7ecyE.js → bundle-1Ni9PXLu.js} +1 -1
- package/chunks/{bundle-JGL7ecyE.js.map → bundle-1Ni9PXLu.js.map} +1 -1
- package/chunks/{bundle-RXyEKXFG.js → bundle-24dj5skA.js} +4 -4
- package/chunks/{bundle-RXyEKXFG.js.map → bundle-24dj5skA.js.map} +1 -1
- package/chunks/{bundle-ybonwZPt.js → bundle-3kSg3poT.js} +1 -1
- package/chunks/bundle-3kSg3poT.js.map +1 -0
- package/chunks/{bundle-HTP_W562.js → bundle-5r5nUzch.js} +3 -3
- package/chunks/bundle-5r5nUzch.js.map +1 -0
- package/chunks/bundle-6SUASyd-.js +134 -0
- package/chunks/bundle-6SUASyd-.js.map +1 -0
- package/chunks/{bundle-Ey2KFn-R.js → bundle-7qnTBkFI.js} +4 -4
- package/chunks/bundle-7qnTBkFI.js.map +1 -0
- package/chunks/{bundle-iI1ssAAJ.js → bundle-9oakeFBl.js} +1 -1
- package/chunks/bundle-9oakeFBl.js.map +1 -0
- package/chunks/{bundle-KkDaqYo6.js → bundle-AVZ2rql1.js} +2 -2
- package/chunks/{bundle-KkDaqYo6.js.map → bundle-AVZ2rql1.js.map} +1 -1
- package/chunks/{bundle-L1jL1HlF.js → bundle-Ahnepylk.js} +1 -1
- package/chunks/bundle-Ahnepylk.js.map +1 -0
- package/chunks/{bundle-NRuB0VyT.js → bundle-CLwn_FRg.js} +1 -1
- package/chunks/bundle-CLwn_FRg.js.map +1 -0
- package/chunks/{bundle-fBRojj0w.js → bundle-CYvmOLIw.js} +1 -1
- package/chunks/bundle-CYvmOLIw.js.map +1 -0
- package/chunks/bundle-F7vhZTzm.js +262 -0
- package/chunks/bundle-F7vhZTzm.js.map +1 -0
- package/chunks/{bundle-sTNKynXj.js → bundle-GIZVQ7W4.js} +1 -1
- package/chunks/bundle-GIZVQ7W4.js.map +1 -0
- package/chunks/{bundle-8Ct4JuXG.js → bundle-H2gT5GjQ.js} +1 -1
- package/chunks/bundle-H2gT5GjQ.js.map +1 -0
- package/chunks/{bundle-0--XgUA7.js → bundle-IY-fHnHj.js} +3 -3
- package/chunks/{bundle-0--XgUA7.js.map → bundle-IY-fHnHj.js.map} +1 -1
- package/chunks/{bundle-WiQweU5U.js → bundle-L5shvyy2.js} +1 -1
- package/chunks/bundle-L5shvyy2.js.map +1 -0
- package/chunks/{bundle-grxc9ClY.js → bundle-Ly8vUhTn.js} +4 -4
- package/chunks/bundle-Ly8vUhTn.js.map +1 -0
- package/chunks/{bundle-UW-TqfsF.js → bundle-MY-lEq_u.js} +3 -3
- package/chunks/{bundle-UW-TqfsF.js.map → bundle-MY-lEq_u.js.map} +1 -1
- package/chunks/{bundle-LutukB6f.js → bundle-P0Em254T.js} +1 -1
- package/chunks/bundle-P0Em254T.js.map +1 -0
- package/chunks/{bundle-nB9Rk0Vg.js → bundle-S6yFiUrY.js} +1 -1
- package/chunks/bundle-S6yFiUrY.js.map +1 -0
- package/chunks/{bundle-kdRMkp9s.js → bundle-T0Gu5k42.js} +2 -2
- package/chunks/bundle-T0Gu5k42.js.map +1 -0
- package/chunks/{bundle-GaBLtZQZ.js → bundle-TIBUJEGt.js} +1 -1
- package/chunks/bundle-TIBUJEGt.js.map +1 -0
- package/chunks/{bundle-o_MR5zP9.js → bundle-VELRmCgM.js} +2 -2
- package/chunks/{bundle-o_MR5zP9.js.map → bundle-VELRmCgM.js.map} +1 -1
- package/chunks/{bundle-HUCZoqot.js → bundle-WOkl3_Qa.js} +2 -2
- package/chunks/{bundle-HUCZoqot.js.map → bundle-WOkl3_Qa.js.map} +1 -1
- package/chunks/{bundle-n3JTobCF.js → bundle-WrbACLdS.js} +4 -4
- package/chunks/{bundle-n3JTobCF.js.map → bundle-WrbACLdS.js.map} +1 -1
- package/chunks/{bundle-JJDjO0bj.js → bundle-WwAytaYU.js} +2 -2
- package/chunks/{bundle-JJDjO0bj.js.map → bundle-WwAytaYU.js.map} +1 -1
- package/chunks/{bundle-qJVzRD5Y.js → bundle-XASWNrfg.js} +3 -3
- package/chunks/bundle-XASWNrfg.js.map +1 -0
- package/chunks/{bundle-UvPIovuO.js → bundle-XFtf-KBI.js} +1 -1
- package/chunks/bundle-XFtf-KBI.js.map +1 -0
- package/chunks/{bundle-1O7rPYFy.js → bundle-XQrrPHzm.js} +3 -3
- package/chunks/bundle-XQrrPHzm.js.map +1 -0
- package/chunks/{bundle-atKtJDZx.js → bundle-XbJe5Xl_.js} +3 -3
- package/chunks/bundle-XbJe5Xl_.js.map +1 -0
- package/chunks/{bundle-qReOreYH.js → bundle-Y1x4CZpy.js} +1 -1
- package/chunks/{bundle-qReOreYH.js.map → bundle-Y1x4CZpy.js.map} +1 -1
- package/chunks/{bundle-fiU7Tho8.js → bundle-_X0TUlY4.js} +3 -3
- package/chunks/{bundle-fiU7Tho8.js.map → bundle-_X0TUlY4.js.map} +1 -1
- package/chunks/{bundle-j2oaAFR4.js → bundle-_oSqlLwH.js} +1 -1
- package/chunks/{bundle-j2oaAFR4.js.map → bundle-_oSqlLwH.js.map} +1 -1
- package/chunks/{bundle-2zaLibl-.js → bundle-ab7JDkX-.js} +2 -2
- package/chunks/bundle-ab7JDkX-.js.map +1 -0
- package/chunks/{bundle-zz-E8ZLu.js → bundle-avof2r-9.js} +5 -5
- package/chunks/{bundle-zz-E8ZLu.js.map → bundle-avof2r-9.js.map} +1 -1
- package/chunks/{bundle-I0NSP9ei.js → bundle-bSloPXLn.js} +1 -1
- package/chunks/bundle-bSloPXLn.js.map +1 -0
- package/chunks/{bundle-rYiLt_kr.js → bundle-bxpCJddF.js} +7 -7
- package/chunks/{bundle-rYiLt_kr.js.map → bundle-bxpCJddF.js.map} +1 -1
- package/chunks/{bundle-5asq-E-v.js → bundle-cBi_2Vbd.js} +6 -6
- package/chunks/bundle-cBi_2Vbd.js.map +1 -0
- package/chunks/{bundle-50blTGht.js → bundle-d29XY04u.js} +9 -9
- package/chunks/{bundle-50blTGht.js.map → bundle-d29XY04u.js.map} +1 -1
- package/chunks/{bundle-BgGUA_Do.js → bundle-foFhJqNy.js} +18 -18
- package/chunks/{bundle-BgGUA_Do.js.map → bundle-foFhJqNy.js.map} +1 -1
- package/chunks/{bundle-EoW7JC-6.js → bundle-gxrNtcmM.js} +6 -10
- package/chunks/bundle-gxrNtcmM.js.map +1 -0
- package/chunks/{bundle-mjC4Frm5.js → bundle-h8tsadkG.js} +2 -2
- package/chunks/bundle-h8tsadkG.js.map +1 -0
- package/chunks/{bundle-0QcaQ8yA.js → bundle-j3ydiG4Y.js} +10 -10
- package/chunks/{bundle-0QcaQ8yA.js.map → bundle-j3ydiG4Y.js.map} +1 -1
- package/chunks/{bundle-WJ4T7o4h.js → bundle-jg-ROmIh.js} +4 -4
- package/chunks/{bundle-WJ4T7o4h.js.map → bundle-jg-ROmIh.js.map} +1 -1
- package/chunks/{bundle-5WxplyP9.js → bundle-lQUkPvfG.js} +1 -1
- package/chunks/bundle-lQUkPvfG.js.map +1 -0
- package/chunks/bundle-lWgUjnZ7.js +15 -0
- package/chunks/bundle-lWgUjnZ7.js.map +1 -0
- package/chunks/{bundle-moPxtvhk.js → bundle-luluIrQs.js} +2 -2
- package/chunks/{bundle-moPxtvhk.js.map → bundle-luluIrQs.js.map} +1 -1
- package/chunks/{bundle-EaGyVrR8.js → bundle-m5aRS8p_.js} +3 -3
- package/chunks/{bundle-EaGyVrR8.js.map → bundle-m5aRS8p_.js.map} +1 -1
- package/chunks/{bundle-mg_7Exot.js → bundle-m6y5OeVq.js} +5 -5
- package/chunks/bundle-m6y5OeVq.js.map +1 -0
- package/chunks/{bundle-dGdUFeGw.js → bundle-ohkKzbFZ.js} +1 -1
- package/chunks/bundle-ohkKzbFZ.js.map +1 -0
- package/chunks/{bundle-fRhlDZge.js → bundle-pfoFNefK.js} +2 -2
- package/chunks/bundle-pfoFNefK.js.map +1 -0
- package/chunks/{bundle-6Opy_RV-.js → bundle-pzaF7ZhV.js} +3 -3
- package/chunks/{bundle-6Opy_RV-.js.map → bundle-pzaF7ZhV.js.map} +1 -1
- package/chunks/{bundle-4yQvKOnq.js → bundle-qAGxD_Jb.js} +1 -1
- package/chunks/bundle-qAGxD_Jb.js.map +1 -0
- package/chunks/{bundle-9AVOtanU.js → bundle-sieNQ6Gk.js} +3 -3
- package/chunks/bundle-sieNQ6Gk.js.map +1 -0
- package/chunks/{bundle-zL8um0im.js → bundle-svI6ejWT.js} +1 -1
- package/chunks/bundle-svI6ejWT.js.map +1 -0
- package/chunks/{bundle-9YazFOHk.js → bundle-tDRC-k6Z.js} +4 -4
- package/chunks/{bundle-9YazFOHk.js.map → bundle-tDRC-k6Z.js.map} +1 -1
- package/chunks/{bundle-u_gMIDNK.js → bundle-wiEDSdp9.js} +9 -9
- package/chunks/{bundle-u_gMIDNK.js.map → bundle-wiEDSdp9.js.map} +1 -1
- package/chunks/{bundle-Zl59BqjG.js → bundle-x-RrvYoV.js} +7 -7
- package/chunks/{bundle-Zl59BqjG.js.map → bundle-x-RrvYoV.js.map} +1 -1
- package/chunks/{bundle-FxBVAeu9.js → bundle-zYQpPgUz.js} +1 -1
- package/chunks/{bundle-FxBVAeu9.js.map → bundle-zYQpPgUz.js.map} +1 -1
- package/cjs/App.js +57 -54
- package/cjs/App.js.map +1 -1
- package/cjs/Channel/components/ChannelHeader.js +25 -24
- package/cjs/Channel/components/ChannelHeader.js.map +1 -1
- package/cjs/Channel/components/ChannelUI.js +60 -54
- package/cjs/Channel/components/ChannelUI.js.map +1 -1
- package/cjs/Channel/components/FileViewer.js +24 -23
- package/cjs/Channel/components/FileViewer.js.map +1 -1
- package/cjs/Channel/components/FrozenNotification.js +5 -5
- package/cjs/Channel/components/Message.js +45 -44
- package/cjs/Channel/components/Message.js.map +1 -1
- package/cjs/Channel/components/MessageInput.js +42 -37
- package/cjs/Channel/components/MessageInput.js.map +1 -1
- package/cjs/Channel/components/MessageList.js +58 -238
- package/cjs/Channel/components/MessageList.js.map +1 -1
- package/cjs/Channel/components/RemoveMessageModal.js +23 -23
- package/cjs/Channel/components/SuggestedMentionList.js +23 -22
- package/cjs/Channel/components/SuggestedMentionList.js.map +1 -1
- package/cjs/Channel/components/TypingIndicator.js +19 -19
- package/cjs/Channel/components/UnreadCount.js +7 -7
- package/cjs/Channel/context.js +16 -16
- package/cjs/{chunks/bundle-xXG5L42q.js → Channel/hooks/useHandleUploadFiles.js} +22 -139
- package/cjs/Channel/hooks/useHandleUploadFiles.js.map +1 -0
- package/cjs/Channel/hooks/useInitialMessagesFetch.js +8 -8
- package/cjs/Channel/utils/compareMessagesForGrouping.js +6 -6
- package/cjs/Channel/utils/getMessagePartsInfo.js +7 -7
- package/cjs/Channel.js +53 -49
- package/cjs/Channel.js.map +1 -1
- package/cjs/ChannelList/components/AddChannel.js +18 -17
- package/cjs/ChannelList/components/AddChannel.js.map +1 -1
- package/cjs/ChannelList/components/ChannelListHeader.js +9 -8
- package/cjs/ChannelList/components/ChannelListHeader.js.map +1 -1
- package/cjs/ChannelList/components/ChannelListUI.js +37 -35
- package/cjs/ChannelList/components/ChannelListUI.js.map +1 -1
- package/cjs/ChannelList/components/ChannelPreview.js +38 -32
- package/cjs/ChannelList/components/ChannelPreview.js.map +1 -1
- package/cjs/ChannelList/components/ChannelPreviewAction.js +15 -15
- package/cjs/ChannelList/context.js +9 -9
- package/cjs/ChannelList.js +34 -33
- package/cjs/ChannelList.js.map +1 -1
- package/cjs/ChannelSettings/components/ChannelProfile.js +14 -13
- package/cjs/ChannelSettings/components/ChannelProfile.js.map +1 -1
- package/cjs/ChannelSettings/components/ChannelSettingsUI.js +19 -18
- package/cjs/ChannelSettings/components/ChannelSettingsUI.js.map +1 -1
- package/cjs/ChannelSettings/components/EditDetailsModal.js +14 -13
- package/cjs/ChannelSettings/components/EditDetailsModal.js.map +1 -1
- package/cjs/ChannelSettings/components/LeaveChannel.js +11 -11
- package/cjs/ChannelSettings/components/ModerationPanel.js +17 -16
- package/cjs/ChannelSettings/components/ModerationPanel.js.map +1 -1
- package/cjs/ChannelSettings/components/UserListItem.js +13 -12
- package/cjs/ChannelSettings/components/UserListItem.js.map +1 -1
- package/cjs/ChannelSettings/components/UserPanel.js +16 -15
- package/cjs/ChannelSettings/components/UserPanel.js.map +1 -1
- package/cjs/ChannelSettings/context.js +3 -3
- package/cjs/ChannelSettings.js +19 -18
- package/cjs/ChannelSettings.js.map +1 -1
- package/cjs/CreateChannel/components/CreateChannelUI.js +16 -15
- package/cjs/CreateChannel/components/CreateChannelUI.js.map +1 -1
- package/cjs/CreateChannel/components/InviteUsers.js +16 -15
- package/cjs/CreateChannel/components/InviteUsers.js.map +1 -1
- package/cjs/CreateChannel/components/SelectChannelType.js +10 -10
- package/cjs/CreateChannel/context.js +4 -4
- package/cjs/CreateChannel.js +16 -15
- package/cjs/CreateChannel.js.map +1 -1
- package/cjs/CreateOpenChannel/components/CreateOpenChannelUI.js +12 -11
- package/cjs/CreateOpenChannel/components/CreateOpenChannelUI.js.map +1 -1
- package/cjs/CreateOpenChannel/context.js +1 -1
- package/cjs/CreateOpenChannel.js +12 -11
- package/cjs/CreateOpenChannel.js.map +1 -1
- package/cjs/EditUserProfile/components/EditUserProfileUI.js +15 -14
- package/cjs/EditUserProfile/components/EditUserProfileUI.js.map +1 -1
- package/cjs/EditUserProfile.js +15 -14
- package/cjs/EditUserProfile.js.map +1 -1
- package/cjs/MessageSearch/components/MessageSearchUI.js +15 -14
- package/cjs/MessageSearch/components/MessageSearchUI.js.map +1 -1
- package/cjs/MessageSearch/context.js +1 -1
- package/cjs/MessageSearch.js +15 -14
- package/cjs/MessageSearch.js.map +1 -1
- package/cjs/OpenChannel/components/FrozenChannelNotification.js +5 -5
- package/cjs/OpenChannel/components/OpenChannelHeader.js +15 -14
- package/cjs/OpenChannel/components/OpenChannelHeader.js.map +1 -1
- package/cjs/OpenChannel/components/OpenChannelInput.js +21 -21
- package/cjs/OpenChannel/components/OpenChannelMessage.js +33 -32
- package/cjs/OpenChannel/components/OpenChannelMessage.js.map +1 -1
- package/cjs/OpenChannel/components/OpenChannelMessageList.js +35 -34
- package/cjs/OpenChannel/components/OpenChannelMessageList.js.map +1 -1
- package/cjs/OpenChannel/components/OpenChannelUI.js +35 -34
- package/cjs/OpenChannel/components/OpenChannelUI.js.map +1 -1
- package/cjs/OpenChannel/context.js +8 -8
- package/cjs/OpenChannel.js +35 -34
- package/cjs/OpenChannel.js.map +1 -1
- package/cjs/OpenChannelList/components/OpenChannelListUI.js +15 -14
- package/cjs/OpenChannelList/components/OpenChannelListUI.js.map +1 -1
- package/cjs/OpenChannelList/components/OpenChannelPreview.js +7 -6
- package/cjs/OpenChannelList/components/OpenChannelPreview.js.map +1 -1
- package/cjs/OpenChannelList/context.js +3 -3
- package/cjs/OpenChannelList.js +15 -14
- package/cjs/OpenChannelList.js.map +1 -1
- package/cjs/OpenChannelSettings/components/EditDetailsModal.js +15 -14
- package/cjs/OpenChannelSettings/components/EditDetailsModal.js.map +1 -1
- package/cjs/OpenChannelSettings/components/OpenChannelProfile.js +15 -14
- package/cjs/OpenChannelSettings/components/OpenChannelProfile.js.map +1 -1
- package/cjs/OpenChannelSettings/components/OpenChannelSettingsUI.js +19 -18
- package/cjs/OpenChannelSettings/components/OpenChannelSettingsUI.js.map +1 -1
- package/cjs/OpenChannelSettings/components/OperatorUI.js +19 -18
- package/cjs/OpenChannelSettings/components/OperatorUI.js.map +1 -1
- package/cjs/OpenChannelSettings/components/ParticipantUI.js +17 -16
- package/cjs/OpenChannelSettings/components/ParticipantUI.js.map +1 -1
- package/cjs/OpenChannelSettings/context.js +3 -3
- package/cjs/OpenChannelSettings.js +19 -18
- package/cjs/OpenChannelSettings.js.map +1 -1
- package/cjs/SendbirdProvider.js +45 -36
- package/cjs/SendbirdProvider.js.map +1 -1
- package/cjs/Thread/components/ParentMessageInfo.js +42 -41
- package/cjs/Thread/components/ParentMessageInfo.js.map +1 -1
- package/cjs/Thread/components/ParentMessageInfoItem.js +28 -27
- package/cjs/Thread/components/ParentMessageInfoItem.js.map +1 -1
- package/cjs/Thread/components/ThreadHeader.js +7 -7
- package/cjs/Thread/components/ThreadList.js +44 -43
- package/cjs/Thread/components/ThreadList.js.map +1 -1
- package/cjs/Thread/components/ThreadListItem.js +48 -47
- package/cjs/Thread/components/ThreadListItem.js.map +1 -1
- package/cjs/Thread/components/ThreadMessageInput.js +38 -36
- package/cjs/Thread/components/ThreadMessageInput.js.map +1 -1
- package/cjs/Thread/components/ThreadUI.js +48 -46
- package/cjs/Thread/components/ThreadUI.js.map +1 -1
- package/cjs/Thread/context.js +82 -53
- package/cjs/Thread/context.js.map +1 -1
- package/cjs/Thread.js +48 -46
- package/cjs/Thread.js.map +1 -1
- package/cjs/VoicePlayer/context.js +3 -3
- package/cjs/VoicePlayer/useVoicePlayer.js +10 -10
- package/cjs/VoiceRecorder/context.js +10 -10
- package/cjs/VoiceRecorder/useVoiceRecorder.js +9 -9
- package/cjs/chunks/{bundle-K0D5qG0j.js → bundle--C4OQHXx.js} +1 -1
- package/cjs/chunks/bundle--C4OQHXx.js.map +1 -0
- package/cjs/chunks/{bundle-9GSi_LkG.js → bundle-3_V46-kD.js} +1 -1
- package/cjs/chunks/bundle-3_V46-kD.js.map +1 -0
- package/cjs/chunks/{bundle-2s7rxLn3.js → bundle-4Ep0zw5t.js} +1 -1
- package/cjs/chunks/{bundle-2s7rxLn3.js.map → bundle-4Ep0zw5t.js.map} +1 -1
- package/cjs/chunks/{bundle-1Rk5zlYY.js → bundle-4F7y-CF9.js} +3 -3
- package/cjs/chunks/bundle-4F7y-CF9.js.map +1 -0
- package/cjs/chunks/{bundle-sVUGn8PI.js → bundle-69PwaiSc.js} +9 -9
- package/cjs/chunks/{bundle-sVUGn8PI.js.map → bundle-69PwaiSc.js.map} +1 -1
- package/cjs/chunks/{bundle-6upaSfL9.js → bundle-83qm6LGZ.js} +3 -3
- package/cjs/chunks/bundle-83qm6LGZ.js.map +1 -0
- package/cjs/chunks/{bundle-1SeNKVYf.js → bundle-9E79fUsu.js} +4 -4
- package/cjs/chunks/{bundle-1SeNKVYf.js.map → bundle-9E79fUsu.js.map} +1 -1
- package/cjs/chunks/{bundle-r1UVi2ak.js → bundle-ASHyn3JA.js} +4 -4
- package/cjs/chunks/{bundle-r1UVi2ak.js.map → bundle-ASHyn3JA.js.map} +1 -1
- package/cjs/chunks/{bundle-4NrBnGEN.js → bundle-BbFRsJzL.js} +18 -18
- package/cjs/chunks/{bundle-4NrBnGEN.js.map → bundle-BbFRsJzL.js.map} +1 -1
- package/cjs/chunks/{bundle-L6ZM4yRd.js → bundle-CbB0m0ZV.js} +4 -4
- package/cjs/chunks/{bundle-L6ZM4yRd.js.map → bundle-CbB0m0ZV.js.map} +1 -1
- package/cjs/chunks/{bundle-hBelyuMa.js → bundle-GV8CCDNy.js} +3 -3
- package/{chunks/bundle-tR2Ipjel.js.map → cjs/chunks/bundle-GV8CCDNy.js.map} +1 -1
- package/cjs/chunks/{bundle-veamuCpa.js → bundle-J6KP8pa0.js} +1 -1
- package/cjs/chunks/bundle-J6KP8pa0.js.map +1 -0
- package/cjs/chunks/{bundle-iOLwSv4j.js → bundle-KcD4tGcH.js} +2 -2
- package/cjs/chunks/bundle-KcD4tGcH.js.map +1 -0
- package/cjs/chunks/{bundle-GJqVurdA.js → bundle-OoVnHiDq.js} +3 -3
- package/cjs/chunks/bundle-OoVnHiDq.js.map +1 -0
- package/cjs/chunks/{bundle-4ajshWV-.js → bundle-Ox99eUrQ.js} +1 -1
- package/cjs/chunks/bundle-Ox99eUrQ.js.map +1 -0
- package/cjs/chunks/{bundle-S6CVN67K.js → bundle-P26GNXny.js} +3 -3
- package/cjs/chunks/bundle-P26GNXny.js.map +1 -0
- package/cjs/chunks/{bundle-3AvVQDMo.js → bundle-Pnz_sqaN.js} +3 -3
- package/cjs/chunks/bundle-Pnz_sqaN.js.map +1 -0
- package/cjs/chunks/{bundle-nsOL78qf.js → bundle-QrCU2Gzz.js} +1 -1
- package/cjs/chunks/bundle-QrCU2Gzz.js.map +1 -0
- package/cjs/chunks/{bundle-DFBAN2Mi.js → bundle-Txu61Was.js} +2 -2
- package/cjs/chunks/bundle-Txu61Was.js.map +1 -0
- package/cjs/chunks/{bundle-IZeqjgE7.js → bundle-U0ClHXwH.js} +2 -2
- package/cjs/chunks/bundle-U0ClHXwH.js.map +1 -0
- package/cjs/chunks/{bundle-cIQlPA4P.js → bundle-UWRtXuFq.js} +7 -7
- package/cjs/chunks/{bundle-cIQlPA4P.js.map → bundle-UWRtXuFq.js.map} +1 -1
- package/cjs/chunks/{bundle-vvpfLay7.js → bundle-VDVRYyfA.js} +9 -9
- package/cjs/chunks/bundle-VDVRYyfA.js.map +1 -0
- package/cjs/chunks/{bundle-qnGmz8ai.js → bundle-VXL1pHqu.js} +1 -1
- package/cjs/chunks/{bundle-qnGmz8ai.js.map → bundle-VXL1pHqu.js.map} +1 -1
- package/cjs/chunks/{bundle-DvBNc5Qi.js → bundle-Vmj_f5oF.js} +1 -1
- package/cjs/chunks/bundle-Vmj_f5oF.js.map +1 -0
- package/cjs/chunks/{bundle-uOWwkmAr.js → bundle-W74kTv5q.js} +7 -7
- package/cjs/chunks/bundle-W74kTv5q.js.map +1 -0
- package/cjs/chunks/{bundle-mLp_yP52.js → bundle-WtQRgvh-.js} +2 -2
- package/cjs/chunks/bundle-WtQRgvh-.js.map +1 -0
- package/cjs/chunks/{bundle-IpMpyY9U.js → bundle-X6gEpM13.js} +6 -6
- package/cjs/chunks/bundle-X6gEpM13.js.map +1 -0
- package/cjs/chunks/{bundle-ajGnEkbH.js → bundle-XCa9rYnV.js} +10 -10
- package/cjs/chunks/bundle-XCa9rYnV.js.map +1 -0
- package/cjs/chunks/{bundle-UEKzL00k.js → bundle-Y-U2PjW2.js} +4 -4
- package/cjs/chunks/{bundle-UEKzL00k.js.map → bundle-Y-U2PjW2.js.map} +1 -1
- package/cjs/chunks/{bundle-QkZHyxSs.js → bundle-YT87djGy.js} +1 -1
- package/cjs/chunks/bundle-YT87djGy.js.map +1 -0
- package/cjs/chunks/bundle-_F-LWSS7.js +264 -0
- package/cjs/chunks/bundle-_F-LWSS7.js.map +1 -0
- package/cjs/chunks/{bundle-r81ddDqP.js → bundle-ahsqlfk0.js} +1 -1
- package/cjs/chunks/bundle-ahsqlfk0.js.map +1 -0
- package/cjs/chunks/{bundle-M4KuiFU1.js → bundle-apAowyGO.js} +3 -3
- package/cjs/chunks/{bundle-M4KuiFU1.js.map → bundle-apAowyGO.js.map} +1 -1
- package/cjs/chunks/{bundle-jl7T2kDZ.js → bundle-ar6tgi9n.js} +5 -5
- package/cjs/chunks/bundle-ar6tgi9n.js.map +1 -0
- package/cjs/chunks/{bundle-X1dqH2Sm.js → bundle-b9ACXHsP.js} +1 -1
- package/cjs/chunks/bundle-b9ACXHsP.js.map +1 -0
- package/cjs/chunks/{bundle-zNIQydjM.js → bundle-bEHOCuOw.js} +1 -1
- package/cjs/chunks/bundle-bEHOCuOw.js.map +1 -0
- package/cjs/chunks/{bundle-NXDlGjOm.js → bundle-bH9uug3c.js} +2 -2
- package/cjs/chunks/{bundle-NXDlGjOm.js.map → bundle-bH9uug3c.js.map} +1 -1
- package/cjs/chunks/{bundle-oCpY1j30.js → bundle-bqQEjqte.js} +1 -1
- package/cjs/chunks/bundle-bqQEjqte.js.map +1 -0
- package/cjs/chunks/{bundle-0ugulztA.js → bundle-cRwas0gJ.js} +4 -4
- package/cjs/chunks/bundle-cRwas0gJ.js.map +1 -0
- package/cjs/chunks/{bundle-YXCUHkka.js → bundle-cYtusUc3.js} +1 -1
- package/cjs/chunks/{bundle-YXCUHkka.js.map → bundle-cYtusUc3.js.map} +1 -1
- package/cjs/chunks/bundle-chn4rwUr.js +17 -0
- package/cjs/chunks/bundle-chn4rwUr.js.map +1 -0
- package/cjs/chunks/{bundle-wvuQ096A.js → bundle-dbozU25E.js} +1 -1
- package/cjs/chunks/bundle-dbozU25E.js.map +1 -0
- package/cjs/chunks/{bundle-6lAqYT4t.js → bundle-efOp7vtv.js} +5 -5
- package/cjs/chunks/bundle-efOp7vtv.js.map +1 -0
- package/cjs/chunks/{bundle-VQoPLYq1.js → bundle-envInTgz.js} +2 -2
- package/cjs/chunks/bundle-envInTgz.js.map +1 -0
- package/cjs/chunks/{bundle-R4nsdVDF.js → bundle-fmqgbn8b.js} +1 -1
- package/cjs/chunks/bundle-fmqgbn8b.js.map +1 -0
- package/cjs/chunks/{bundle--OdfDOjY.js → bundle-gZ94G4-S.js} +1 -1
- package/cjs/chunks/bundle-gZ94G4-S.js.map +1 -0
- package/cjs/chunks/{bundle-qtVxG8eL.js → bundle-h6x-D_-L.js} +1 -1
- package/cjs/chunks/bundle-h6x-D_-L.js.map +1 -0
- package/cjs/chunks/{bundle-ONpNGzUN.js → bundle-in4L5bOo.js} +4 -4
- package/cjs/chunks/bundle-in4L5bOo.js.map +1 -0
- package/cjs/chunks/{bundle-7kVSLQPz.js → bundle-jMDzG5KY.js} +7 -7
- package/cjs/chunks/bundle-jMDzG5KY.js.map +1 -0
- package/cjs/chunks/{bundle-5SOWNViS.js → bundle-lmsd3CBz.js} +6 -10
- package/cjs/chunks/{bundle-5SOWNViS.js.map → bundle-lmsd3CBz.js.map} +1 -1
- package/cjs/chunks/{bundle-tFwEElQ4.js → bundle-mI_PIc66.js} +3 -3
- package/cjs/chunks/{bundle-tFwEElQ4.js.map → bundle-mI_PIc66.js.map} +1 -1
- package/cjs/chunks/{bundle-z8FhI7RF.js → bundle-mJ3G0oDb.js} +1 -1
- package/cjs/chunks/bundle-mJ3G0oDb.js.map +1 -0
- package/cjs/chunks/{bundle-3PJj-XfK.js → bundle-ofXSH1Ap.js} +1 -1
- package/cjs/chunks/bundle-ofXSH1Ap.js.map +1 -0
- package/cjs/chunks/{bundle-8YK4BV9m.js → bundle-ruXYGvit.js} +1 -1
- package/cjs/chunks/bundle-ruXYGvit.js.map +1 -0
- package/cjs/chunks/{bundle-mtATkaCS.js → bundle-rwRTI-fo.js} +3 -3
- package/cjs/chunks/bundle-rwRTI-fo.js.map +1 -0
- package/cjs/chunks/{bundle-03qc56fX.js → bundle-sXdSdEH6.js} +25 -32
- package/cjs/chunks/bundle-sXdSdEH6.js.map +1 -0
- package/cjs/chunks/bundle-upHd36Rz.js +136 -0
- package/cjs/chunks/bundle-upHd36Rz.js.map +1 -0
- package/cjs/chunks/{bundle-ww8_Dx5u.js → bundle-vaWya0T1.js} +3 -3
- package/cjs/chunks/bundle-vaWya0T1.js.map +1 -0
- package/cjs/chunks/{bundle-KQyVyq1q.js → bundle-w23L_Tb_.js} +2 -2
- package/cjs/chunks/{bundle-KQyVyq1q.js.map → bundle-w23L_Tb_.js.map} +1 -1
- package/cjs/chunks/{bundle--NEfAH1H.js → bundle-w6AgQhwT.js} +1 -1
- package/cjs/chunks/bundle-w6AgQhwT.js.map +1 -0
- package/cjs/chunks/{bundle-NS_si8Av.js → bundle-wC_YhuEb.js} +1 -1
- package/cjs/chunks/bundle-wC_YhuEb.js.map +1 -0
- package/cjs/hooks/useModal.js +9 -9
- package/cjs/index.js +76 -69
- package/cjs/index.js.map +1 -1
- package/cjs/pubSub/topics.js +1 -1
- package/cjs/sendbirdSelectors.js +2 -2
- package/cjs/ui/Accordion.js +3 -3
- package/cjs/ui/AccordionGroup.js +2 -2
- package/cjs/ui/AdminMessage.js +3 -3
- package/cjs/ui/Avatar.js +5 -4
- package/cjs/ui/Avatar.js.map +1 -1
- package/cjs/ui/Badge.js +5 -5
- package/cjs/ui/BottomSheet.js +9 -9
- package/cjs/ui/Button.js +3 -3
- package/cjs/ui/ChannelAvatar.js +6 -5
- package/cjs/ui/ChannelAvatar.js.map +1 -1
- package/cjs/ui/ConnectionStatus.js +6 -6
- package/cjs/ui/ContextMenu.js +6 -6
- package/cjs/ui/DateSeparator.js +4 -4
- package/cjs/ui/EmojiReactions.js +16 -15
- package/cjs/ui/EmojiReactions.js.map +1 -1
- package/cjs/ui/FileMessageItemBody.js +8 -8
- package/cjs/ui/FileViewer.js +15 -14
- package/cjs/ui/FileViewer.js.map +1 -1
- package/cjs/ui/Icon.js +5 -7
- package/cjs/ui/Icon.js.map +1 -1
- package/cjs/ui/IconButton.js +1 -1
- package/cjs/ui/ImageRenderer.js +1 -1
- package/cjs/ui/Input.js +3 -3
- package/cjs/ui/Label.js +3 -3
- package/cjs/ui/LinkLabel.js +3 -3
- package/cjs/ui/Loader.js +2 -2
- package/cjs/ui/MentionLabel.js +13 -12
- package/cjs/ui/MentionLabel.js.map +1 -1
- package/cjs/ui/MentionUserLabel.js +1 -1
- package/cjs/ui/MessageContent.js +137 -84
- package/cjs/ui/MessageContent.js.map +1 -1
- package/cjs/ui/MessageInput/hooks/usePaste.js +5 -5
- package/cjs/ui/MessageInput.js +15 -15
- package/cjs/ui/MessageItemMenu.js +26 -23
- package/cjs/ui/MessageItemMenu.js.map +1 -1
- package/cjs/ui/MessageItemReactionMenu.js +14 -11
- package/cjs/ui/MessageItemReactionMenu.js.map +1 -1
- package/cjs/ui/MessageSearchFileItem.js +15 -14
- package/cjs/ui/MessageSearchFileItem.js.map +1 -1
- package/cjs/ui/MessageSearchItem.js +12 -11
- package/cjs/ui/MessageSearchItem.js.map +1 -1
- package/cjs/ui/MessageStatus.js +12 -12
- package/cjs/ui/Modal.js +8 -8
- package/cjs/ui/MutedAvatarOverlay.js +2 -2
- package/cjs/ui/OGMessageItemBody.js +18 -19
- package/cjs/ui/OGMessageItemBody.js.map +1 -1
- package/cjs/ui/OpenChannelAdminMessage.js +3 -3
- package/cjs/ui/OpenChannelAvatar.js +9 -8
- package/cjs/ui/OpenChannelAvatar.js.map +1 -1
- package/cjs/ui/OpenchannelConversationHeader.js +9 -8
- package/cjs/ui/OpenchannelConversationHeader.js.map +1 -1
- package/cjs/ui/OpenchannelFileMessage.js +18 -17
- package/cjs/ui/OpenchannelFileMessage.js.map +1 -1
- package/cjs/ui/OpenchannelOGMessage.js +20 -19
- package/cjs/ui/OpenchannelOGMessage.js.map +1 -1
- package/cjs/ui/OpenchannelThumbnailMessage.js +17 -16
- package/cjs/ui/OpenchannelThumbnailMessage.js.map +1 -1
- package/cjs/ui/OpenchannelUserMessage.js +18 -17
- package/cjs/ui/OpenchannelUserMessage.js.map +1 -1
- package/cjs/ui/PlaceHolder.js +6 -6
- package/cjs/ui/PlaybackTime.js +3 -3
- package/cjs/ui/QuoteMessage.js +9 -9
- package/cjs/ui/QuoteMessageInput.js +9 -9
- package/cjs/ui/ReactionBadge.js +3 -3
- package/cjs/ui/ReactionButton.js +4 -4
- package/cjs/ui/SortByRow.js +2 -2
- package/cjs/ui/TextButton.js +2 -2
- package/cjs/ui/TextMessageItemBody.js +16 -15
- package/cjs/ui/TextMessageItemBody.js.map +1 -1
- package/cjs/ui/ThreadReplies.js +9 -8
- package/cjs/ui/ThreadReplies.js.map +1 -1
- package/cjs/ui/ThumbnailMessageItemBody.js +7 -7
- package/cjs/ui/Toggle.js +1 -1
- package/cjs/ui/Tooltip.js +3 -3
- package/cjs/ui/TooltipWrapper.js +1 -1
- package/cjs/ui/TypingIndicatorBubble.js +69 -0
- package/cjs/ui/TypingIndicatorBubble.js.map +1 -0
- package/cjs/ui/UnknownMessageItemBody.js +7 -7
- package/cjs/ui/UserListItem.js +13 -12
- package/cjs/ui/UserListItem.js.map +1 -1
- package/cjs/ui/UserProfile.js +11 -10
- package/cjs/ui/UserProfile.js.map +1 -1
- package/cjs/ui/VoiceMessageInput.js +21 -0
- package/cjs/ui/VoiceMessageInput.js.map +1 -0
- package/cjs/ui/VoiceMessageItemBody.js +10 -10
- package/cjs/ui/Word.js +13 -12
- package/cjs/ui/Word.js.map +1 -1
- package/cjs/useSendbirdStateContext.js +1 -1
- package/cjs/utils/message/isVoiceMessage.js +3 -3
- package/cjs/withSendbird.js +1 -1
- package/dist/index.css +134 -49
- package/dist/index.css.map +1 -1
- package/hooks/useModal.js +10 -10
- package/index.js +72 -69
- package/index.js.map +1 -1
- package/package.json +25 -7
- package/pubSub/topics.js +1 -1
- package/sendbirdSelectors.js +2 -2
- package/types/hooks/useOnScrollReachedEndDetector/index.d.ts +7 -0
- package/types/index.d.ts +1 -0
- package/types/lib/hooks/useConnect/connect.d.ts +1 -1
- package/types/lib/hooks/useConnect/setupConnection.d.ts +1 -1
- package/types/lib/hooks/useConnect/types.d.ts +2 -1
- package/types/lib/types.d.ts +5 -1
- package/types/modules/Channel/components/ChannelUI/index.d.ts +1 -0
- package/types/modules/Channel/components/MessageInput/index.d.ts +1 -0
- package/types/modules/Channel/components/MessageList/index.d.ts +1 -0
- package/types/modules/EditUserProfile/components/EditUserProfileUI/index.d.ts +1 -1
- package/types/modules/EditUserProfile/index.d.ts +2 -2
- package/types/types.d.ts +4 -0
- package/types/ui/Avatar/AvatarDefault.d.ts +8 -0
- package/types/ui/Avatar/index.d.ts +2 -0
- package/types/ui/EmojiReactions/index.d.ts +2 -2
- package/types/ui/MessageContent/MessageProfile/index.d.ts +1 -8
- package/types/ui/MessageContent/index.d.ts +6 -0
- package/types/ui/MessageItemMenu/index.d.ts +3 -3
- package/types/ui/MessageItemReactionMenu/index.d.ts +3 -3
- package/types/ui/TypingIndicatorBubble/index.d.ts +12 -0
- package/types/utils/typeHelpers/partialDeep.d.ts +1 -1
- package/ui/Accordion.js +3 -3
- package/ui/AccordionGroup.js +2 -2
- package/ui/AdminMessage.js +3 -3
- package/ui/Avatar.js +5 -4
- package/ui/Avatar.js.map +1 -1
- package/ui/Badge.js +5 -5
- package/ui/BottomSheet.js +9 -9
- package/ui/Button.js +3 -3
- package/ui/ChannelAvatar.js +6 -5
- package/ui/ChannelAvatar.js.map +1 -1
- package/ui/ConnectionStatus.js +6 -6
- package/ui/ContextMenu.js +6 -6
- package/ui/DateSeparator.js +4 -4
- package/ui/EmojiReactions.js +16 -15
- package/ui/EmojiReactions.js.map +1 -1
- package/ui/FileMessageItemBody.js +8 -8
- package/ui/FileViewer.js +15 -14
- package/ui/FileViewer.js.map +1 -1
- package/ui/Icon.js +5 -7
- package/ui/Icon.js.map +1 -1
- package/ui/IconButton.js +1 -1
- package/ui/ImageRenderer.js +1 -1
- package/ui/Input.js +3 -3
- package/ui/Label.js +3 -3
- package/ui/LinkLabel.js +3 -3
- package/ui/Loader.js +2 -2
- package/ui/MentionLabel.js +13 -12
- package/ui/MentionLabel.js.map +1 -1
- package/ui/MentionUserLabel.js +1 -1
- package/ui/MessageContent.js +139 -86
- package/ui/MessageContent.js.map +1 -1
- package/ui/MessageInput/hooks/usePaste.js +5 -5
- package/ui/MessageInput.js +15 -15
- package/ui/MessageItemMenu.js +23 -23
- package/ui/MessageItemReactionMenu.js +11 -11
- package/ui/MessageSearchFileItem.js +15 -14
- package/ui/MessageSearchFileItem.js.map +1 -1
- package/ui/MessageSearchItem.js +12 -11
- package/ui/MessageSearchItem.js.map +1 -1
- package/ui/MessageStatus.js +12 -12
- package/ui/Modal.js +8 -8
- package/ui/MutedAvatarOverlay.js +2 -2
- package/ui/OGMessageItemBody.js +18 -19
- package/ui/OGMessageItemBody.js.map +1 -1
- package/ui/OpenChannelAdminMessage.js +3 -3
- package/ui/OpenChannelAvatar.js +9 -8
- package/ui/OpenChannelAvatar.js.map +1 -1
- package/ui/OpenchannelConversationHeader.js +9 -8
- package/ui/OpenchannelConversationHeader.js.map +1 -1
- package/ui/OpenchannelFileMessage.js +18 -17
- package/ui/OpenchannelFileMessage.js.map +1 -1
- package/ui/OpenchannelOGMessage.js +20 -19
- package/ui/OpenchannelOGMessage.js.map +1 -1
- package/ui/OpenchannelThumbnailMessage.js +17 -16
- package/ui/OpenchannelThumbnailMessage.js.map +1 -1
- package/ui/OpenchannelUserMessage.js +18 -17
- package/ui/OpenchannelUserMessage.js.map +1 -1
- package/ui/PlaceHolder.js +6 -6
- package/ui/PlaybackTime.js +3 -3
- package/ui/QuoteMessage.js +9 -9
- package/ui/QuoteMessageInput.js +9 -9
- package/ui/ReactionBadge.js +3 -3
- package/ui/ReactionButton.js +4 -4
- package/ui/SortByRow.js +2 -2
- package/ui/TextButton.js +2 -2
- package/ui/TextMessageItemBody.js +16 -15
- package/ui/TextMessageItemBody.js.map +1 -1
- package/ui/ThreadReplies.js +9 -8
- package/ui/ThreadReplies.js.map +1 -1
- package/ui/ThumbnailMessageItemBody.js +7 -7
- package/ui/Toggle.js +1 -1
- package/ui/Tooltip.js +3 -3
- package/ui/TooltipWrapper.js +1 -1
- package/ui/TypingIndicatorBubble.js +67 -0
- package/ui/TypingIndicatorBubble.js.map +1 -0
- package/ui/UnknownMessageItemBody.js +7 -7
- package/ui/UserListItem.js +13 -12
- package/ui/UserListItem.js.map +1 -1
- package/ui/UserProfile.js +11 -10
- package/ui/UserProfile.js.map +1 -1
- package/ui/VoiceMessageInput.js +15 -0
- package/ui/VoiceMessageInput.js.map +1 -0
- package/ui/VoiceMessageItemBody.js +10 -10
- package/ui/Word.js +13 -12
- package/ui/Word.js.map +1 -1
- package/useSendbirdStateContext.js +1 -1
- package/utils/message/isVoiceMessage.js +3 -3
- package/withSendbird.js +1 -1
- package/chunks/bundle-1O7rPYFy.js.map +0 -1
- package/chunks/bundle-2zaLibl-.js.map +0 -1
- package/chunks/bundle-4yQvKOnq.js.map +0 -1
- package/chunks/bundle-5WxplyP9.js.map +0 -1
- package/chunks/bundle-5asq-E-v.js.map +0 -1
- package/chunks/bundle-8Ct4JuXG.js.map +0 -1
- package/chunks/bundle-9AVOtanU.js.map +0 -1
- package/chunks/bundle-EoW7JC-6.js.map +0 -1
- package/chunks/bundle-Ey2KFn-R.js.map +0 -1
- package/chunks/bundle-GaBLtZQZ.js.map +0 -1
- package/chunks/bundle-HTP_W562.js.map +0 -1
- package/chunks/bundle-I0NSP9ei.js.map +0 -1
- package/chunks/bundle-L1jL1HlF.js.map +0 -1
- package/chunks/bundle-LutukB6f.js.map +0 -1
- package/chunks/bundle-NRuB0VyT.js.map +0 -1
- package/chunks/bundle-UvPIovuO.js.map +0 -1
- package/chunks/bundle-WiQweU5U.js.map +0 -1
- package/chunks/bundle-atKtJDZx.js.map +0 -1
- package/chunks/bundle-cTKDcBXH.js.map +0 -1
- package/chunks/bundle-dGdUFeGw.js.map +0 -1
- package/chunks/bundle-fBRojj0w.js.map +0 -1
- package/chunks/bundle-fRhlDZge.js.map +0 -1
- package/chunks/bundle-grxc9ClY.js.map +0 -1
- package/chunks/bundle-iI1ssAAJ.js.map +0 -1
- package/chunks/bundle-kdRMkp9s.js.map +0 -1
- package/chunks/bundle-mg_7Exot.js.map +0 -1
- package/chunks/bundle-mjC4Frm5.js.map +0 -1
- package/chunks/bundle-nB9Rk0Vg.js.map +0 -1
- package/chunks/bundle-qJVzRD5Y.js.map +0 -1
- package/chunks/bundle-sTNKynXj.js.map +0 -1
- package/chunks/bundle-ybonwZPt.js.map +0 -1
- package/chunks/bundle-zL8um0im.js.map +0 -1
- package/cjs/chunks/bundle--NEfAH1H.js.map +0 -1
- package/cjs/chunks/bundle--OdfDOjY.js.map +0 -1
- package/cjs/chunks/bundle-03qc56fX.js.map +0 -1
- package/cjs/chunks/bundle-0ugulztA.js.map +0 -1
- package/cjs/chunks/bundle-1Rk5zlYY.js.map +0 -1
- package/cjs/chunks/bundle-3AvVQDMo.js.map +0 -1
- package/cjs/chunks/bundle-3PJj-XfK.js.map +0 -1
- package/cjs/chunks/bundle-4ajshWV-.js.map +0 -1
- package/cjs/chunks/bundle-6lAqYT4t.js.map +0 -1
- package/cjs/chunks/bundle-6upaSfL9.js.map +0 -1
- package/cjs/chunks/bundle-7kVSLQPz.js.map +0 -1
- package/cjs/chunks/bundle-8YK4BV9m.js.map +0 -1
- package/cjs/chunks/bundle-9GSi_LkG.js.map +0 -1
- package/cjs/chunks/bundle-DFBAN2Mi.js.map +0 -1
- package/cjs/chunks/bundle-DvBNc5Qi.js.map +0 -1
- package/cjs/chunks/bundle-GJqVurdA.js.map +0 -1
- package/cjs/chunks/bundle-IZeqjgE7.js.map +0 -1
- package/cjs/chunks/bundle-IpMpyY9U.js.map +0 -1
- package/cjs/chunks/bundle-K0D5qG0j.js.map +0 -1
- package/cjs/chunks/bundle-NS_si8Av.js.map +0 -1
- package/cjs/chunks/bundle-ONpNGzUN.js.map +0 -1
- package/cjs/chunks/bundle-QkZHyxSs.js.map +0 -1
- package/cjs/chunks/bundle-R4nsdVDF.js.map +0 -1
- package/cjs/chunks/bundle-S6CVN67K.js.map +0 -1
- package/cjs/chunks/bundle-VQoPLYq1.js.map +0 -1
- package/cjs/chunks/bundle-X1dqH2Sm.js.map +0 -1
- package/cjs/chunks/bundle-ajGnEkbH.js.map +0 -1
- package/cjs/chunks/bundle-hBelyuMa.js.map +0 -1
- package/cjs/chunks/bundle-iOLwSv4j.js.map +0 -1
- package/cjs/chunks/bundle-jl7T2kDZ.js.map +0 -1
- package/cjs/chunks/bundle-mLp_yP52.js.map +0 -1
- package/cjs/chunks/bundle-mtATkaCS.js.map +0 -1
- package/cjs/chunks/bundle-nsOL78qf.js.map +0 -1
- package/cjs/chunks/bundle-oCpY1j30.js.map +0 -1
- package/cjs/chunks/bundle-qtVxG8eL.js.map +0 -1
- package/cjs/chunks/bundle-r81ddDqP.js.map +0 -1
- package/cjs/chunks/bundle-uOWwkmAr.js.map +0 -1
- package/cjs/chunks/bundle-veamuCpa.js.map +0 -1
- package/cjs/chunks/bundle-vvpfLay7.js.map +0 -1
- package/cjs/chunks/bundle-wvuQ096A.js.map +0 -1
- package/cjs/chunks/bundle-ww8_Dx5u.js.map +0 -1
- package/cjs/chunks/bundle-xXG5L42q.js.map +0 -1
- package/cjs/chunks/bundle-z8FhI7RF.js.map +0 -1
- package/cjs/chunks/bundle-zNIQydjM.js.map +0 -1
- package/cjs/ui/VoiceMessgeInput.js +0 -21
- package/cjs/ui/VoiceMessgeInput.js.map +0 -1
- package/types/ui/TypingIndicatorMessage/index.d.ts +0 -6
- package/ui/VoiceMessgeInput.js +0 -15
- package/ui/VoiceMessgeInput.js.map +0 -1
- /package/types/ui/{TypingIndicatorMessage → TypingIndicatorBubble}/TypingDots.d.ts +0 -0
package/App.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React__default, { useState, useEffect } from 'react';
|
|
2
2
|
import { SendbirdProvider } from './SendbirdProvider.js';
|
|
3
|
-
import { u as useMediaQueryContext } from './chunks/bundle-
|
|
3
|
+
import { u as useMediaQueryContext } from './chunks/bundle-S6yFiUrY.js';
|
|
4
4
|
import ChannelList from './ChannelList.js';
|
|
5
5
|
import Channel from './Channel.js';
|
|
6
6
|
import ChannelSettings from './ChannelSettings.js';
|
|
@@ -8,43 +8,44 @@ import MessageSearchPannel from './MessageSearch.js';
|
|
|
8
8
|
import Thread from './Thread.js';
|
|
9
9
|
import { GroupChannelHandler } from '@sendbird/chat/groupChannel';
|
|
10
10
|
import { useSendbirdStateContext } from './useSendbirdStateContext.js';
|
|
11
|
-
import { u as uuidv4 } from './chunks/bundle-
|
|
12
|
-
import { u as useVoicePlayerContext, a as ALL } from './chunks/bundle-
|
|
13
|
-
import './chunks/bundle-
|
|
11
|
+
import { u as uuidv4 } from './chunks/bundle-P0Em254T.js';
|
|
12
|
+
import { u as useVoicePlayerContext, a as ALL } from './chunks/bundle-_X0TUlY4.js';
|
|
13
|
+
import './chunks/bundle-WOkl3_Qa.js';
|
|
14
14
|
import '@sendbird/uikit-tools';
|
|
15
15
|
import './withSendbird.js';
|
|
16
16
|
import 'css-vars-ponyfill';
|
|
17
|
-
import './chunks/bundle-
|
|
18
|
-
import './chunks/bundle-
|
|
17
|
+
import './chunks/bundle-Y1x4CZpy.js';
|
|
18
|
+
import './chunks/bundle-qAGxD_Jb.js';
|
|
19
19
|
import '@sendbird/chat';
|
|
20
20
|
import '@sendbird/chat/openChannel';
|
|
21
|
-
import './chunks/bundle-
|
|
21
|
+
import './chunks/bundle-MY-lEq_u.js';
|
|
22
22
|
import './utils/message/getOutgoingMessageState.js';
|
|
23
|
-
import './chunks/bundle-
|
|
23
|
+
import './chunks/bundle-CYvmOLIw.js';
|
|
24
24
|
import './VoiceRecorder/context.js';
|
|
25
|
-
import './chunks/bundle-
|
|
26
|
-
import './chunks/bundle-
|
|
27
|
-
import './chunks/bundle-
|
|
28
|
-
import './chunks/bundle-
|
|
25
|
+
import './chunks/bundle-XQrrPHzm.js';
|
|
26
|
+
import './chunks/bundle-1Ni9PXLu.js';
|
|
27
|
+
import './chunks/bundle-zYQpPgUz.js';
|
|
28
|
+
import './chunks/bundle-m6y5OeVq.js';
|
|
29
29
|
import 'react-dom';
|
|
30
30
|
import './ui/IconButton.js';
|
|
31
31
|
import './ui/Button.js';
|
|
32
|
-
import './chunks/bundle-
|
|
32
|
+
import './chunks/bundle-XASWNrfg.js';
|
|
33
33
|
import './ui/Icon.js';
|
|
34
|
-
import './chunks/bundle-
|
|
35
|
-
import './chunks/bundle-
|
|
34
|
+
import './chunks/bundle-pfoFNefK.js';
|
|
35
|
+
import './chunks/bundle-_oSqlLwH.js';
|
|
36
36
|
import './hooks/useModal.js';
|
|
37
|
-
import './chunks/bundle-
|
|
38
|
-
import './chunks/bundle-
|
|
39
|
-
import './chunks/bundle-
|
|
37
|
+
import './chunks/bundle-d29XY04u.js';
|
|
38
|
+
import './chunks/bundle-7qnTBkFI.js';
|
|
39
|
+
import './chunks/bundle-lQUkPvfG.js';
|
|
40
40
|
import './ChannelList/components/ChannelListUI.js';
|
|
41
41
|
import './ChannelList/components/ChannelListHeader.js';
|
|
42
|
-
import './chunks/bundle
|
|
42
|
+
import './chunks/bundle--vRpTESf.js';
|
|
43
43
|
import './ui/ImageRenderer.js';
|
|
44
|
+
import './chunks/bundle-lWgUjnZ7.js';
|
|
44
45
|
import './ChannelList/components/AddChannel.js';
|
|
45
46
|
import './CreateChannel.js';
|
|
46
47
|
import './CreateChannel/components/CreateChannelUI.js';
|
|
47
|
-
import './chunks/bundle-
|
|
48
|
+
import './chunks/bundle-9oakeFBl.js';
|
|
48
49
|
import './sendbirdSelectors.js';
|
|
49
50
|
import './CreateChannel/components/InviteUsers.js';
|
|
50
51
|
import './ui/UserListItem.js';
|
|
@@ -56,27 +57,27 @@ import './ui/SortByRow.js';
|
|
|
56
57
|
import './CreateChannel/components/SelectChannelType.js';
|
|
57
58
|
import './ChannelList/components/ChannelPreview.js';
|
|
58
59
|
import './ui/ChannelAvatar.js';
|
|
59
|
-
import './chunks/bundle-
|
|
60
|
+
import './chunks/bundle-3kSg3poT.js';
|
|
60
61
|
import './ui/Badge.js';
|
|
61
|
-
import './chunks/bundle-
|
|
62
|
-
import './chunks/bundle-
|
|
62
|
+
import './chunks/bundle-0wRb_ox9.js';
|
|
63
|
+
import './chunks/bundle-VELRmCgM.js';
|
|
63
64
|
import './ui/Loader.js';
|
|
64
|
-
import './chunks/bundle-
|
|
65
|
-
import './chunks/bundle-
|
|
65
|
+
import './chunks/bundle-IY-fHnHj.js';
|
|
66
|
+
import './chunks/bundle-WwAytaYU.js';
|
|
66
67
|
import './ui/MentionUserLabel.js';
|
|
67
|
-
import './chunks/bundle-
|
|
68
|
+
import './chunks/bundle-ohkKzbFZ.js';
|
|
68
69
|
import './ui/TextButton.js';
|
|
69
|
-
import './chunks/bundle-
|
|
70
|
+
import './chunks/bundle-H2gT5GjQ.js';
|
|
70
71
|
import './Channel/components/TypingIndicator.js';
|
|
71
|
-
import './chunks/bundle-
|
|
72
|
-
import './chunks/bundle-
|
|
73
|
-
import './chunks/bundle-
|
|
72
|
+
import './chunks/bundle-foFhJqNy.js';
|
|
73
|
+
import './chunks/bundle-GIZVQ7W4.js';
|
|
74
|
+
import './chunks/bundle-gxrNtcmM.js';
|
|
74
75
|
import '@sendbird/chat/message';
|
|
75
|
-
import './chunks/bundle-
|
|
76
|
-
import './chunks/bundle-
|
|
76
|
+
import './chunks/bundle-TIBUJEGt.js';
|
|
77
|
+
import './chunks/bundle-Ahnepylk.js';
|
|
77
78
|
import './Channel/hooks/useInitialMessagesFetch.js';
|
|
78
|
-
import './chunks/bundle-
|
|
79
|
-
import './chunks/bundle-
|
|
79
|
+
import './chunks/bundle-WrbACLdS.js';
|
|
80
|
+
import './chunks/bundle-5r5nUzch.js';
|
|
80
81
|
import './ChannelList/components/ChannelPreviewAction.js';
|
|
81
82
|
import './EditUserProfile.js';
|
|
82
83
|
import './EditUserProfile/context.js';
|
|
@@ -86,23 +87,23 @@ import './ui/PlaceHolder.js';
|
|
|
86
87
|
import './Channel/components/ChannelUI.js';
|
|
87
88
|
import './ui/ConnectionStatus.js';
|
|
88
89
|
import './Channel/components/ChannelHeader.js';
|
|
89
|
-
import './chunks/bundle-
|
|
90
|
-
import './
|
|
90
|
+
import './chunks/bundle-T0Gu5k42.js';
|
|
91
|
+
import './chunks/bundle-F7vhZTzm.js';
|
|
91
92
|
import './Channel/components/Message.js';
|
|
92
93
|
import './Channel/components/SuggestedMentionList.js';
|
|
93
|
-
import './chunks/bundle-
|
|
94
|
+
import './chunks/bundle-CLwn_FRg.js';
|
|
94
95
|
import './Thread/context.js';
|
|
95
96
|
import './Thread/context/types.js';
|
|
96
97
|
import './ui/DateSeparator.js';
|
|
97
98
|
import './ui/MessageInput.js';
|
|
98
|
-
import './chunks/bundle-
|
|
99
|
+
import './chunks/bundle-avof2r-9.js';
|
|
99
100
|
import 'dompurify';
|
|
100
|
-
import './chunks/bundle-
|
|
101
|
-
import './chunks/bundle-
|
|
102
|
-
import './chunks/bundle-
|
|
101
|
+
import './chunks/bundle-L5shvyy2.js';
|
|
102
|
+
import './chunks/bundle-bSloPXLn.js';
|
|
103
|
+
import './chunks/bundle-m5aRS8p_.js';
|
|
103
104
|
import './ui/MessageContent.js';
|
|
104
105
|
import './ui/MessageItemMenu.js';
|
|
105
|
-
import './chunks/bundle-
|
|
106
|
+
import './chunks/bundle-svI6ejWT.js';
|
|
106
107
|
import './ui/MessageItemReactionMenu.js';
|
|
107
108
|
import './ui/ReactionButton.js';
|
|
108
109
|
import './ui/EmojiReactions.js';
|
|
@@ -113,17 +114,17 @@ import './ui/TooltipWrapper.js';
|
|
|
113
114
|
import './Message/context.js';
|
|
114
115
|
import './ui/AdminMessage.js';
|
|
115
116
|
import './ui/QuoteMessage.js';
|
|
116
|
-
import './chunks/bundle-
|
|
117
|
-
import './chunks/bundle-
|
|
117
|
+
import './chunks/bundle-sieNQ6Gk.js';
|
|
118
|
+
import './chunks/bundle-tDRC-k6Z.js';
|
|
118
119
|
import './ui/ThreadReplies.js';
|
|
119
120
|
import './ui/OGMessageItemBody.js';
|
|
120
|
-
import './chunks/bundle-
|
|
121
|
+
import './chunks/bundle-Ly8vUhTn.js';
|
|
121
122
|
import './ui/MentionLabel.js';
|
|
122
123
|
import './ui/LinkLabel.js';
|
|
123
124
|
import './ui/TextMessageItemBody.js';
|
|
124
125
|
import './ui/FileMessageItemBody.js';
|
|
125
|
-
import './chunks/bundle-
|
|
126
|
-
import './chunks/bundle-
|
|
126
|
+
import './chunks/bundle-jg-ROmIh.js';
|
|
127
|
+
import './chunks/bundle-wiEDSdp9.js';
|
|
127
128
|
import './ui/VoiceMessageItemBody.js';
|
|
128
129
|
import './ui/ProgressBar.js';
|
|
129
130
|
import './VoicePlayer/useVoicePlayer.js';
|
|
@@ -132,18 +133,20 @@ import './ui/ThumbnailMessageItemBody.js';
|
|
|
132
133
|
import './ui/UnknownMessageItemBody.js';
|
|
133
134
|
import './Channel/components/FileViewer.js';
|
|
134
135
|
import './Channel/components/RemoveMessageModal.js';
|
|
135
|
-
import './chunks/bundle-
|
|
136
|
-
import './chunks/bundle-
|
|
136
|
+
import './chunks/bundle-XbJe5Xl_.js';
|
|
137
|
+
import './chunks/bundle-h8tsadkG.js';
|
|
137
138
|
import './Message/hooks/useDirtyGetMentions.js';
|
|
138
139
|
import './Channel/utils/getMessagePartsInfo.js';
|
|
139
140
|
import './Channel/utils/compareMessagesForGrouping.js';
|
|
140
141
|
import './Channel/components/UnreadCount.js';
|
|
141
142
|
import './Channel/components/FrozenNotification.js';
|
|
143
|
+
import './ui/TypingIndicatorBubble.js';
|
|
142
144
|
import './Channel/components/MessageInput.js';
|
|
143
145
|
import './ui/QuoteMessageInput.js';
|
|
144
|
-
import './chunks/bundle-
|
|
146
|
+
import './chunks/bundle-6SUASyd-.js';
|
|
145
147
|
import './VoiceRecorder/useVoiceRecorder.js';
|
|
146
|
-
import './chunks/bundle-
|
|
148
|
+
import './chunks/bundle-24dj5skA.js';
|
|
149
|
+
import './Channel/hooks/useHandleUploadFiles.js';
|
|
147
150
|
import './ChannelSettings/components/ChannelSettingsUI.js';
|
|
148
151
|
import './ChannelSettings/context.js';
|
|
149
152
|
import './ChannelSettings/components/ChannelProfile.js';
|
|
@@ -151,10 +154,10 @@ import './ChannelSettings/components/EditDetailsModal.js';
|
|
|
151
154
|
import './ChannelSettings/components/ModerationPanel.js';
|
|
152
155
|
import './ui/Accordion.js';
|
|
153
156
|
import './ui/AccordionGroup.js';
|
|
154
|
-
import './chunks/bundle-
|
|
157
|
+
import './chunks/bundle-ab7JDkX-.js';
|
|
155
158
|
import './ui/Toggle.js';
|
|
156
159
|
import './ChannelSettings/components/UserListItem.js';
|
|
157
|
-
import './chunks/bundle-
|
|
160
|
+
import './chunks/bundle-bxpCJddF.js';
|
|
158
161
|
import './ChannelSettings/components/LeaveChannel.js';
|
|
159
162
|
import './ChannelSettings/components/UserPanel.js';
|
|
160
163
|
import './MessageSearch/components/MessageSearchUI.js';
|
|
@@ -163,7 +166,7 @@ import './ui/MessageSearchItem.js';
|
|
|
163
166
|
import './ui/MessageSearchFileItem.js';
|
|
164
167
|
import './Thread/components/ThreadUI.js';
|
|
165
168
|
import './Thread/components/ParentMessageInfo.js';
|
|
166
|
-
import './chunks/bundle-
|
|
169
|
+
import './chunks/bundle-cBi_2Vbd.js';
|
|
167
170
|
import './Thread/components/ParentMessageInfoItem.js';
|
|
168
171
|
import './Thread/components/ThreadHeader.js';
|
|
169
172
|
import './Thread/components/ThreadList.js';
|
package/App.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"App.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"App.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,119 @@
|
|
|
1
1
|
# Changelog - v3
|
|
2
2
|
|
|
3
|
+
## [v3.9.0] (Nov 24 2023)
|
|
4
|
+
|
|
5
|
+
### Features:
|
|
6
|
+
#### Typing indicator bubble feature
|
|
7
|
+
|
|
8
|
+
`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.
|
|
9
|
+
|
|
10
|
+
* Added `typingIndicatorTypes` global option
|
|
11
|
+
* Added `TypingIndicatorType` enum
|
|
12
|
+
* How to use?
|
|
13
|
+
```tsx
|
|
14
|
+
<App
|
|
15
|
+
appId={appId}
|
|
16
|
+
userId={userId}
|
|
17
|
+
uikitOptions={{
|
|
18
|
+
groupChannel: {
|
|
19
|
+
// Below turns on both bubble and text typing indicators. Default is Text only.
|
|
20
|
+
typingIndicatorTypes: new Set([TypingIndicatorType.Bubble, TypingIndicatorType.Text]),
|
|
21
|
+
}
|
|
22
|
+
}}
|
|
23
|
+
/>
|
|
24
|
+
```
|
|
25
|
+
* Added `TypingIndicatorBubble`
|
|
26
|
+
* How to use?
|
|
27
|
+
```tsx
|
|
28
|
+
const moveScroll = (): void => {
|
|
29
|
+
const current = scrollRef?.current;
|
|
30
|
+
if (current) {
|
|
31
|
+
const bottom = current.scrollHeight - current.scrollTop - current.offsetHeight;
|
|
32
|
+
if (scrollBottom < bottom && scrollBottom < SCROLL_BUFFER) {
|
|
33
|
+
// Move the scroll as much as the height of the message has changed
|
|
34
|
+
current.scrollTop += bottom - scrollBottom;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
return (
|
|
40
|
+
<TypingIndicatorBubble
|
|
41
|
+
typingMembers={typingMembers}
|
|
42
|
+
handleScroll={moveScroll} // Scroll to the rendered typing indicator message IFF current scroll is bottom.
|
|
43
|
+
/>
|
|
44
|
+
);
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
#### Others
|
|
48
|
+
* Added support for `eventHandlers.connection.onFailed` callback in `setupConnection`. This callback will be called on connection failure
|
|
49
|
+
* How to use?
|
|
50
|
+
```tsx
|
|
51
|
+
<Sendbird
|
|
52
|
+
appId={appId}
|
|
53
|
+
userId={undefined} // this will cause an error
|
|
54
|
+
eventHandlers={{
|
|
55
|
+
connection: {
|
|
56
|
+
onFailed: (error) => {
|
|
57
|
+
alert(error?.message); // display a browser alert and print the error message inside
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}}
|
|
61
|
+
>
|
|
62
|
+
```
|
|
63
|
+
* Added new props to the `MessageContent` component: `renderMessageMenu`, `renderEmojiMenu`, and `renderEmojiReactions`
|
|
64
|
+
* How to use?
|
|
65
|
+
```tsx
|
|
66
|
+
<Channel
|
|
67
|
+
renderMessageContent={(props) => {
|
|
68
|
+
return <MessageContent
|
|
69
|
+
{...props}
|
|
70
|
+
renderMessageMenu={(props) => {
|
|
71
|
+
return <MessageMenu {...props} />
|
|
72
|
+
}}
|
|
73
|
+
renderEmojiMenu={(props) => {
|
|
74
|
+
return <MessageEmojiMenu {...props} />
|
|
75
|
+
}}
|
|
76
|
+
renderEmojiReactions={(props) => {
|
|
77
|
+
return <EmojiReactions {...props} />
|
|
78
|
+
}}
|
|
79
|
+
/>
|
|
80
|
+
}}
|
|
81
|
+
/>
|
|
82
|
+
```
|
|
83
|
+
* Added `onProfileEditSuccess` prop to `App` and `ChannelList` components
|
|
84
|
+
* Added `renderFrozenNotification` in `ChannelUIProps`
|
|
85
|
+
* How to use?
|
|
86
|
+
```tsx
|
|
87
|
+
<Channel
|
|
88
|
+
channelUrl={channelUrl}
|
|
89
|
+
renderFrozenNotification={() => {
|
|
90
|
+
return (
|
|
91
|
+
<div
|
|
92
|
+
className="sendbird-notification sendbird-notification--frozen sendbird-conversation__messages__notification"
|
|
93
|
+
>My custom Frozen Notification</div>
|
|
94
|
+
);
|
|
95
|
+
}}
|
|
96
|
+
/>
|
|
97
|
+
```
|
|
98
|
+
* Exported `VoiceMessageInputWrapper` and `useHandleUploadFiles`
|
|
99
|
+
* How to use?
|
|
100
|
+
```tsx
|
|
101
|
+
import { useHandleUploadFiles } from '@sendbird/uikit-react/Channel/hooks/useHandleUploadFiles'
|
|
102
|
+
import { VoiceMessageInputWrapper, VoiceMessageInputWrapperProps } from '@sendbird/uikit-react/Channel/components/MessageInput'
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
### Fixes:
|
|
106
|
+
* Fixed a bug where setting `startingPoint` scrolls to the middle of the target message when it should be at the top of the message
|
|
107
|
+
* Applied dark theme to the slide left icon
|
|
108
|
+
* Fixed a bug where changing current channel not clearing pending and failed messages from the previous channel
|
|
109
|
+
* Fixed a bug where the thumbnail image of `OGMessage` being displayed as not fitting the container
|
|
110
|
+
* Fixed a bug where resending a failed message in `Thread` results in displaying resulting message in `Channel`
|
|
111
|
+
* Fixed a bug where unread message notification not being removed when scroll reaches bottom
|
|
112
|
+
|
|
113
|
+
### Improvement:
|
|
114
|
+
* Channels list no longer displays unread message count badge for focused channel
|
|
115
|
+
|
|
116
|
+
|
|
3
117
|
## [v3.8.2] (Nov 10 2023)
|
|
4
118
|
|
|
5
119
|
### Features:
|
|
@@ -1,38 +1,39 @@
|
|
|
1
1
|
import React__default, { useContext } from 'react';
|
|
2
|
-
import { g as getChannelTitle } from '../../chunks/bundle-
|
|
3
|
-
import { L as Label, a as LabelTypography, b as LabelColors } from '../../chunks/bundle-
|
|
2
|
+
import { g as getChannelTitle } from '../../chunks/bundle-T0Gu5k42.js';
|
|
3
|
+
import { L as Label, a as LabelTypography, b as LabelColors } from '../../chunks/bundle-XASWNrfg.js';
|
|
4
4
|
import Icon, { IconColors, IconTypes } from '../../ui/Icon.js';
|
|
5
5
|
import IconButton from '../../ui/IconButton.js';
|
|
6
6
|
import ChannelAvatar from '../../ui/ChannelAvatar.js';
|
|
7
|
-
import { L as LocalizationContext } from '../../chunks/bundle-
|
|
7
|
+
import { L as LocalizationContext } from '../../chunks/bundle-XQrrPHzm.js';
|
|
8
8
|
import { useSendbirdStateContext } from '../../useSendbirdStateContext.js';
|
|
9
|
-
import { u as useChannelContext } from '../../chunks/bundle-
|
|
10
|
-
import { u as useMediaQueryContext } from '../../chunks/bundle-
|
|
11
|
-
import { n as noop } from '../../chunks/bundle-
|
|
12
|
-
import '../../chunks/bundle-
|
|
13
|
-
import '../../chunks/bundle-
|
|
14
|
-
import '../../chunks/bundle
|
|
9
|
+
import { u as useChannelContext } from '../../chunks/bundle-foFhJqNy.js';
|
|
10
|
+
import { u as useMediaQueryContext } from '../../chunks/bundle-S6yFiUrY.js';
|
|
11
|
+
import { n as noop } from '../../chunks/bundle-CYvmOLIw.js';
|
|
12
|
+
import '../../chunks/bundle-WOkl3_Qa.js';
|
|
13
|
+
import '../../chunks/bundle-1Ni9PXLu.js';
|
|
14
|
+
import '../../chunks/bundle--vRpTESf.js';
|
|
15
15
|
import '../../ui/ImageRenderer.js';
|
|
16
|
-
import '../../chunks/bundle-
|
|
17
|
-
import '../../chunks/bundle-
|
|
18
|
-
import '../../chunks/bundle-
|
|
16
|
+
import '../../chunks/bundle-P0Em254T.js';
|
|
17
|
+
import '../../chunks/bundle-lWgUjnZ7.js';
|
|
18
|
+
import '../../chunks/bundle-3kSg3poT.js';
|
|
19
|
+
import '../../chunks/bundle-zYQpPgUz.js';
|
|
19
20
|
import '../../withSendbird.js';
|
|
20
|
-
import '../../chunks/bundle-
|
|
21
|
-
import '../../chunks/bundle-
|
|
22
|
-
import '../../chunks/bundle-
|
|
23
|
-
import '../../chunks/bundle-
|
|
24
|
-
import '../../chunks/bundle-
|
|
21
|
+
import '../../chunks/bundle-lQUkPvfG.js';
|
|
22
|
+
import '../../chunks/bundle-GIZVQ7W4.js';
|
|
23
|
+
import '../../chunks/bundle-gxrNtcmM.js';
|
|
24
|
+
import '../../chunks/bundle-VELRmCgM.js';
|
|
25
|
+
import '../../chunks/bundle-MY-lEq_u.js';
|
|
25
26
|
import '../../utils/message/getOutgoingMessageState.js';
|
|
26
|
-
import '../../chunks/bundle-
|
|
27
|
+
import '../../chunks/bundle-Y1x4CZpy.js';
|
|
27
28
|
import '@sendbird/chat/message';
|
|
28
|
-
import '../../chunks/bundle-
|
|
29
|
-
import '../../chunks/bundle-
|
|
29
|
+
import '../../chunks/bundle-TIBUJEGt.js';
|
|
30
|
+
import '../../chunks/bundle-Ahnepylk.js';
|
|
30
31
|
import '@sendbird/chat/groupChannel';
|
|
31
32
|
import '../hooks/useInitialMessagesFetch.js';
|
|
32
|
-
import '../../chunks/bundle-
|
|
33
|
-
import '../../chunks/bundle-
|
|
34
|
-
import '../../chunks/bundle-
|
|
35
|
-
import '../../chunks/bundle-
|
|
33
|
+
import '../../chunks/bundle-7qnTBkFI.js';
|
|
34
|
+
import '../../chunks/bundle-pfoFNefK.js';
|
|
35
|
+
import '../../chunks/bundle-_oSqlLwH.js';
|
|
36
|
+
import '../../chunks/bundle-WrbACLdS.js';
|
|
36
37
|
|
|
37
38
|
var ChannelHeader = function (_a) {
|
|
38
39
|
var _b, _c, _d;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChannelHeader.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ChannelHeader.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,78 +1,79 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
2
|
import { useSendbirdStateContext } from '../../useSendbirdStateContext.js';
|
|
3
|
-
import { u as useChannelContext } from '../../chunks/bundle-
|
|
3
|
+
import { u as useChannelContext } from '../../chunks/bundle-foFhJqNy.js';
|
|
4
4
|
import PlaceHolder, { PlaceHolderTypes } from '../../ui/PlaceHolder.js';
|
|
5
5
|
import ConnectionStatus from '../../ui/ConnectionStatus.js';
|
|
6
6
|
import ChannelHeader from './ChannelHeader.js';
|
|
7
|
-
import MessageList from '
|
|
7
|
+
import { M as MessageList, T as TypingIndicatorType } from '../../chunks/bundle-F7vhZTzm.js';
|
|
8
8
|
import TypingIndicator from './TypingIndicator.js';
|
|
9
9
|
import MessageInputWrapper from './MessageInput.js';
|
|
10
10
|
import '../../withSendbird.js';
|
|
11
|
-
import '../../chunks/bundle-
|
|
12
|
-
import '../../chunks/bundle-
|
|
13
|
-
import '../../chunks/bundle-
|
|
14
|
-
import '../../chunks/bundle-
|
|
15
|
-
import '../../chunks/bundle-
|
|
16
|
-
import '../../chunks/bundle-
|
|
17
|
-
import '../../chunks/bundle-
|
|
11
|
+
import '../../chunks/bundle-WOkl3_Qa.js';
|
|
12
|
+
import '../../chunks/bundle-lQUkPvfG.js';
|
|
13
|
+
import '../../chunks/bundle-GIZVQ7W4.js';
|
|
14
|
+
import '../../chunks/bundle-gxrNtcmM.js';
|
|
15
|
+
import '../../chunks/bundle-VELRmCgM.js';
|
|
16
|
+
import '../../chunks/bundle-zYQpPgUz.js';
|
|
17
|
+
import '../../chunks/bundle-MY-lEq_u.js';
|
|
18
18
|
import '../../utils/message/getOutgoingMessageState.js';
|
|
19
|
-
import '../../chunks/bundle-
|
|
19
|
+
import '../../chunks/bundle-Y1x4CZpy.js';
|
|
20
20
|
import '@sendbird/chat/message';
|
|
21
|
-
import '../../chunks/bundle-
|
|
22
|
-
import '../../chunks/bundle-
|
|
21
|
+
import '../../chunks/bundle-TIBUJEGt.js';
|
|
22
|
+
import '../../chunks/bundle-Ahnepylk.js';
|
|
23
23
|
import '@sendbird/chat/groupChannel';
|
|
24
|
-
import '../../chunks/bundle-
|
|
24
|
+
import '../../chunks/bundle-P0Em254T.js';
|
|
25
25
|
import '../hooks/useInitialMessagesFetch.js';
|
|
26
|
-
import '../../chunks/bundle-
|
|
27
|
-
import '../../chunks/bundle-
|
|
28
|
-
import '../../chunks/bundle-
|
|
29
|
-
import '../../chunks/bundle-
|
|
30
|
-
import '../../chunks/bundle-
|
|
31
|
-
import '../../chunks/bundle-
|
|
26
|
+
import '../../chunks/bundle-7qnTBkFI.js';
|
|
27
|
+
import '../../chunks/bundle-pfoFNefK.js';
|
|
28
|
+
import '../../chunks/bundle-_oSqlLwH.js';
|
|
29
|
+
import '../../chunks/bundle-WrbACLdS.js';
|
|
30
|
+
import '../../chunks/bundle-XQrrPHzm.js';
|
|
31
|
+
import '../../chunks/bundle-1Ni9PXLu.js';
|
|
32
32
|
import '../../ui/Icon.js';
|
|
33
|
-
import '../../chunks/bundle-
|
|
34
|
-
import '../../chunks/bundle-
|
|
33
|
+
import '../../chunks/bundle-CYvmOLIw.js';
|
|
34
|
+
import '../../chunks/bundle-XASWNrfg.js';
|
|
35
35
|
import '../../ui/Loader.js';
|
|
36
|
-
import '../../chunks/bundle-
|
|
36
|
+
import '../../chunks/bundle-T0Gu5k42.js';
|
|
37
37
|
import '../../ui/IconButton.js';
|
|
38
38
|
import '../../ui/ChannelAvatar.js';
|
|
39
|
-
import '../../chunks/bundle
|
|
39
|
+
import '../../chunks/bundle--vRpTESf.js';
|
|
40
40
|
import '../../ui/ImageRenderer.js';
|
|
41
|
-
import '../../chunks/bundle-
|
|
42
|
-
import '../../chunks/bundle-
|
|
41
|
+
import '../../chunks/bundle-lWgUjnZ7.js';
|
|
42
|
+
import '../../chunks/bundle-3kSg3poT.js';
|
|
43
|
+
import '../../chunks/bundle-S6yFiUrY.js';
|
|
43
44
|
import './Message.js';
|
|
44
45
|
import './SuggestedMentionList.js';
|
|
45
|
-
import '../../chunks/bundle-
|
|
46
|
+
import '../../chunks/bundle-CLwn_FRg.js';
|
|
46
47
|
import '../../Thread/context.js';
|
|
47
48
|
import '../../Thread/context/types.js';
|
|
48
49
|
import '@sendbird/chat';
|
|
49
50
|
import '../../ui/DateSeparator.js';
|
|
50
|
-
import '../../chunks/bundle-
|
|
51
|
+
import '../../chunks/bundle-H2gT5GjQ.js';
|
|
51
52
|
import '../../ui/MessageInput.js';
|
|
52
53
|
import '../../ui/Button.js';
|
|
53
|
-
import '../../chunks/bundle-
|
|
54
|
+
import '../../chunks/bundle-avof2r-9.js';
|
|
54
55
|
import 'dompurify';
|
|
55
|
-
import '../../chunks/bundle-
|
|
56
|
-
import '../../chunks/bundle-
|
|
57
|
-
import '../../chunks/bundle-
|
|
58
|
-
import '../../chunks/bundle-
|
|
56
|
+
import '../../chunks/bundle-ohkKzbFZ.js';
|
|
57
|
+
import '../../chunks/bundle-L5shvyy2.js';
|
|
58
|
+
import '../../chunks/bundle-bSloPXLn.js';
|
|
59
|
+
import '../../chunks/bundle-m5aRS8p_.js';
|
|
59
60
|
import '../../ui/MessageContent.js';
|
|
60
|
-
import '../../chunks/bundle-
|
|
61
|
-
import '../../chunks/bundle-
|
|
62
|
-
import '../../chunks/bundle-
|
|
61
|
+
import '../../chunks/bundle-0wRb_ox9.js';
|
|
62
|
+
import '../../chunks/bundle-IY-fHnHj.js';
|
|
63
|
+
import '../../chunks/bundle-WwAytaYU.js';
|
|
63
64
|
import '../../ui/MessageItemMenu.js';
|
|
64
65
|
import '../../ui/ContextMenu.js';
|
|
65
66
|
import 'react-dom';
|
|
66
67
|
import '../../ui/SortByRow.js';
|
|
67
|
-
import '../../chunks/bundle-
|
|
68
|
+
import '../../chunks/bundle-svI6ejWT.js';
|
|
68
69
|
import '../../ui/MessageItemReactionMenu.js';
|
|
69
70
|
import '../../ui/ReactionButton.js';
|
|
70
|
-
import '../../chunks/bundle-
|
|
71
|
+
import '../../chunks/bundle-5r5nUzch.js';
|
|
71
72
|
import '../../ui/EmojiReactions.js';
|
|
72
73
|
import '../../ui/ReactionBadge.js';
|
|
73
74
|
import '../../ui/BottomSheet.js';
|
|
74
75
|
import '../../hooks/useModal.js';
|
|
75
|
-
import '../../chunks/bundle-
|
|
76
|
+
import '../../chunks/bundle-m6y5OeVq.js';
|
|
76
77
|
import '../../ui/UserListItem.js';
|
|
77
78
|
import '../../ui/MutedAvatarOverlay.js';
|
|
78
79
|
import '../../ui/Checkbox.js';
|
|
@@ -83,44 +84,47 @@ import '../../ui/TooltipWrapper.js';
|
|
|
83
84
|
import '../../Message/context.js';
|
|
84
85
|
import '../../ui/AdminMessage.js';
|
|
85
86
|
import '../../ui/QuoteMessage.js';
|
|
86
|
-
import '../../chunks/bundle-
|
|
87
|
-
import '../../chunks/bundle-
|
|
87
|
+
import '../../chunks/bundle-sieNQ6Gk.js';
|
|
88
|
+
import '../../chunks/bundle-tDRC-k6Z.js';
|
|
88
89
|
import '../../ui/ThreadReplies.js';
|
|
89
90
|
import '../../ui/OGMessageItemBody.js';
|
|
90
|
-
import '../../chunks/bundle-
|
|
91
|
+
import '../../chunks/bundle-Ly8vUhTn.js';
|
|
91
92
|
import '../../ui/MentionLabel.js';
|
|
92
93
|
import '../../ui/LinkLabel.js';
|
|
93
94
|
import '../../ui/TextMessageItemBody.js';
|
|
94
95
|
import '../../ui/FileMessageItemBody.js';
|
|
95
96
|
import '../../ui/TextButton.js';
|
|
96
|
-
import '../../chunks/bundle-
|
|
97
|
-
import '../../chunks/bundle-
|
|
97
|
+
import '../../chunks/bundle-jg-ROmIh.js';
|
|
98
|
+
import '../../chunks/bundle-wiEDSdp9.js';
|
|
98
99
|
import '../../ui/VoiceMessageItemBody.js';
|
|
99
100
|
import '../../ui/ProgressBar.js';
|
|
100
101
|
import '../../VoicePlayer/useVoicePlayer.js';
|
|
101
|
-
import '../../chunks/bundle-
|
|
102
|
+
import '../../chunks/bundle-_X0TUlY4.js';
|
|
102
103
|
import '../../VoiceRecorder/context.js';
|
|
103
104
|
import '../../ui/PlaybackTime.js';
|
|
104
105
|
import '../../ui/ThumbnailMessageItemBody.js';
|
|
105
106
|
import '../../ui/UnknownMessageItemBody.js';
|
|
106
107
|
import './FileViewer.js';
|
|
107
108
|
import './RemoveMessageModal.js';
|
|
108
|
-
import '../../chunks/bundle-
|
|
109
|
-
import '../../chunks/bundle-
|
|
109
|
+
import '../../chunks/bundle-XbJe5Xl_.js';
|
|
110
|
+
import '../../chunks/bundle-h8tsadkG.js';
|
|
110
111
|
import '../../Message/hooks/useDirtyGetMentions.js';
|
|
111
112
|
import '../utils/getMessagePartsInfo.js';
|
|
112
113
|
import '../utils/compareMessagesForGrouping.js';
|
|
113
114
|
import './UnreadCount.js';
|
|
114
115
|
import './FrozenNotification.js';
|
|
116
|
+
import '../../ui/TypingIndicatorBubble.js';
|
|
117
|
+
import '@sendbird/uikit-tools';
|
|
115
118
|
import '../../ui/QuoteMessageInput.js';
|
|
116
|
-
import '../../chunks/bundle-
|
|
119
|
+
import '../../chunks/bundle-6SUASyd-.js';
|
|
117
120
|
import '../../VoiceRecorder/useVoiceRecorder.js';
|
|
118
|
-
import '../../chunks/bundle-
|
|
121
|
+
import '../../chunks/bundle-24dj5skA.js';
|
|
122
|
+
import '../hooks/useHandleUploadFiles.js';
|
|
119
123
|
|
|
120
124
|
var ChannelUI = function (_a) {
|
|
121
|
-
var _b, _c, _d, _e, _f, _g;
|
|
122
|
-
var isLoading = _a.isLoading, renderPlaceholderLoader = _a.renderPlaceholderLoader, renderPlaceholderInvalid = _a.renderPlaceholderInvalid, renderPlaceholderEmpty = _a.renderPlaceholderEmpty, renderChannelHeader = _a.renderChannelHeader, renderMessage = _a.renderMessage, renderMessageInput = _a.renderMessageInput, renderTypingIndicator = _a.renderTypingIndicator, renderCustomSeparator = _a.renderCustomSeparator, renderFileUploadIcon = _a.renderFileUploadIcon, renderVoiceMessageIcon = _a.renderVoiceMessageIcon, renderSendMessageIcon = _a.renderSendMessageIcon;
|
|
123
|
-
var
|
|
125
|
+
var _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
126
|
+
var isLoading = _a.isLoading, renderPlaceholderLoader = _a.renderPlaceholderLoader, renderPlaceholderInvalid = _a.renderPlaceholderInvalid, renderPlaceholderEmpty = _a.renderPlaceholderEmpty, renderChannelHeader = _a.renderChannelHeader, renderMessage = _a.renderMessage, renderMessageInput = _a.renderMessageInput, renderTypingIndicator = _a.renderTypingIndicator, renderCustomSeparator = _a.renderCustomSeparator, renderFileUploadIcon = _a.renderFileUploadIcon, renderVoiceMessageIcon = _a.renderVoiceMessageIcon, renderSendMessageIcon = _a.renderSendMessageIcon, renderFrozenNotification = _a.renderFrozenNotification;
|
|
127
|
+
var _l = useChannelContext(), channelUrl = _l.channelUrl, isInvalid = _l.isInvalid;
|
|
124
128
|
var globalStore = useSendbirdStateContext();
|
|
125
129
|
var sdkError = (_c = (_b = globalStore === null || globalStore === void 0 ? void 0 : globalStore.stores) === null || _b === void 0 ? void 0 : _b.sdkStore) === null || _c === void 0 ? void 0 : _c.error;
|
|
126
130
|
var logger = (_d = globalStore === null || globalStore === void 0 ? void 0 : globalStore.config) === null || _d === void 0 ? void 0 : _d.logger;
|
|
@@ -142,12 +146,14 @@ var ChannelUI = function (_a) {
|
|
|
142
146
|
}
|
|
143
147
|
return (React__default.createElement("div", { className: 'sendbird-conversation' },
|
|
144
148
|
(renderChannelHeader === null || renderChannelHeader === void 0 ? void 0 : renderChannelHeader()) || (React__default.createElement(ChannelHeader, { className: "sendbird-conversation__channel-header" })),
|
|
145
|
-
React__default.createElement(MessageList, { className: "sendbird-conversation__message-list", renderMessage: renderMessage, renderPlaceholderEmpty: renderPlaceholderEmpty, renderCustomSeparator: renderCustomSeparator, renderPlaceholderLoader: renderPlaceholderLoader }),
|
|
149
|
+
React__default.createElement(MessageList, { className: "sendbird-conversation__message-list", renderMessage: renderMessage, renderPlaceholderEmpty: renderPlaceholderEmpty, renderCustomSeparator: renderCustomSeparator, renderPlaceholderLoader: renderPlaceholderLoader, renderFrozenNotification: renderFrozenNotification }),
|
|
146
150
|
React__default.createElement("div", { className: "sendbird-conversation__footer" },
|
|
147
151
|
(renderMessageInput === null || renderMessageInput === void 0 ? void 0 : renderMessageInput()) || (React__default.createElement(MessageInputWrapper, { renderFileUploadIcon: renderFileUploadIcon, renderVoiceMessageIcon: renderVoiceMessageIcon, renderSendMessageIcon: renderSendMessageIcon })),
|
|
148
152
|
React__default.createElement("div", { className: "sendbird-conversation__footer__typing-indicator" },
|
|
149
153
|
(renderTypingIndicator === null || renderTypingIndicator === void 0 ? void 0 : renderTypingIndicator())
|
|
150
|
-
|| ((_g = (_f = globalStore === null || globalStore === void 0 ? void 0 : globalStore.config) === null || _f === void 0 ? void 0 : _f.groupChannel) === null || _g === void 0 ? void 0 : _g.enableTypingIndicator)
|
|
154
|
+
|| (((_g = (_f = globalStore === null || globalStore === void 0 ? void 0 : globalStore.config) === null || _f === void 0 ? void 0 : _f.groupChannel) === null || _g === void 0 ? void 0 : _g.enableTypingIndicator)
|
|
155
|
+
&& ((_k = (_j = (_h = globalStore === null || globalStore === void 0 ? void 0 : globalStore.config) === null || _h === void 0 ? void 0 : _h.groupChannel) === null || _j === void 0 ? void 0 : _j.typingIndicatorTypes) === null || _k === void 0 ? void 0 : _k.has(TypingIndicatorType.Text))
|
|
156
|
+
&& (React__default.createElement(TypingIndicator, null))),
|
|
151
157
|
!isOnline && (React__default.createElement(ConnectionStatus, null))))));
|
|
152
158
|
};
|
|
153
159
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChannelUI.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ChannelUI.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|