@sendbird/uikit-react 3.8.2 → 3.9.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-qJVzRD5Y.js → bundle-0IelBspE.js} +3 -3
- package/chunks/bundle-0IelBspE.js.map +1 -0
- package/chunks/{bundle-WJ4T7o4h.js → bundle-0SIFukuT.js} +4 -4
- package/chunks/{bundle-WJ4T7o4h.js.map → bundle-0SIFukuT.js.map} +1 -1
- package/chunks/bundle-2AUp3oeN.js +15 -0
- package/chunks/bundle-2AUp3oeN.js.map +1 -0
- package/chunks/{bundle-dGdUFeGw.js → bundle-2YEsND5T.js} +1 -1
- package/chunks/bundle-2YEsND5T.js.map +1 -0
- package/chunks/{bundle-5WxplyP9.js → bundle-3WQuaADd.js} +1 -1
- package/chunks/bundle-3WQuaADd.js.map +1 -0
- package/chunks/{bundle-mg_7Exot.js → bundle-5JvP07dI.js} +5 -5
- package/chunks/bundle-5JvP07dI.js.map +1 -0
- package/chunks/{bundle-JJDjO0bj.js → bundle-6uVd8Nrl.js} +2 -2
- package/chunks/{bundle-JJDjO0bj.js.map → bundle-6uVd8Nrl.js.map} +1 -1
- package/chunks/{bundle-Ey2KFn-R.js → bundle-7x4clnC7.js} +4 -4
- package/chunks/bundle-7x4clnC7.js.map +1 -0
- package/chunks/{bundle-I0NSP9ei.js → bundle-89OkQYTj.js} +1 -1
- package/chunks/bundle-89OkQYTj.js.map +1 -0
- package/chunks/{bundle-LutukB6f.js → bundle-8VA5hO1c.js} +1 -1
- package/chunks/bundle-8VA5hO1c.js.map +1 -0
- package/chunks/{bundle-2zaLibl-.js → bundle-967zXkjf.js} +2 -2
- package/chunks/bundle-967zXkjf.js.map +1 -0
- package/chunks/{bundle-Zl59BqjG.js → bundle-96I4BbNe.js} +7 -7
- package/chunks/{bundle-Zl59BqjG.js.map → bundle-96I4BbNe.js.map} +1 -1
- package/chunks/{bundle-L1jL1HlF.js → bundle-EPtYsHAJ.js} +1 -1
- package/chunks/bundle-EPtYsHAJ.js.map +1 -0
- package/chunks/{bundle-n3JTobCF.js → bundle-EteEacTX.js} +4 -4
- package/chunks/{bundle-n3JTobCF.js.map → bundle-EteEacTX.js.map} +1 -1
- package/chunks/{bundle-GaBLtZQZ.js → bundle-GGcTNRCI.js} +1 -1
- package/chunks/bundle-GGcTNRCI.js.map +1 -0
- package/chunks/{bundle-grxc9ClY.js → bundle-GiSLT4lG.js} +4 -4
- package/chunks/bundle-GiSLT4lG.js.map +1 -0
- package/chunks/{bundle-4yQvKOnq.js → bundle-IeIHBN9i.js} +1 -1
- package/chunks/bundle-IeIHBN9i.js.map +1 -0
- package/chunks/{bundle-atKtJDZx.js → bundle-JSlDfYOF.js} +3 -3
- package/chunks/bundle-JSlDfYOF.js.map +1 -0
- package/chunks/{bundle-fBRojj0w.js → bundle-JhG5BHdE.js} +1 -1
- package/chunks/bundle-JhG5BHdE.js.map +1 -0
- package/chunks/{bundle-JGL7ecyE.js → bundle-JuKER7D_.js} +1 -1
- package/chunks/{bundle-JGL7ecyE.js.map → bundle-JuKER7D_.js.map} +1 -1
- package/chunks/{bundle-NRuB0VyT.js → bundle-Jw6D-oM_.js} +1 -1
- package/chunks/bundle-Jw6D-oM_.js.map +1 -0
- package/chunks/{bundle-zL8um0im.js → bundle-KOKqPpBq.js} +1 -1
- package/chunks/bundle-KOKqPpBq.js.map +1 -0
- package/chunks/{bundle-fiU7Tho8.js → bundle-Ku1a64TD.js} +3 -3
- package/chunks/{bundle-fiU7Tho8.js.map → bundle-Ku1a64TD.js.map} +1 -1
- package/chunks/{bundle-u_gMIDNK.js → bundle-LTnLzJFb.js} +9 -9
- package/chunks/{bundle-u_gMIDNK.js.map → bundle-LTnLzJFb.js.map} +1 -1
- package/chunks/{bundle-8Ct4JuXG.js → bundle-LhtrqZSE.js} +1 -1
- package/chunks/bundle-LhtrqZSE.js.map +1 -0
- package/chunks/{bundle-nB9Rk0Vg.js → bundle-Mn36ivpf.js} +1 -1
- package/chunks/bundle-Mn36ivpf.js.map +1 -0
- package/chunks/{bundle-mjC4Frm5.js → bundle-Nv1SlZSC.js} +2 -2
- package/chunks/bundle-Nv1SlZSC.js.map +1 -0
- package/chunks/{bundle-moPxtvhk.js → bundle-OiOp4RUP.js} +2 -2
- package/chunks/{bundle-moPxtvhk.js.map → bundle-OiOp4RUP.js.map} +1 -1
- package/chunks/{bundle-UvPIovuO.js → bundle-PwOQ689V.js} +1 -1
- package/chunks/bundle-PwOQ689V.js.map +1 -0
- package/chunks/{bundle-BgGUA_Do.js → bundle-QO9wq7-1.js} +18 -18
- package/chunks/{bundle-BgGUA_Do.js.map → bundle-QO9wq7-1.js.map} +1 -1
- package/chunks/{bundle-fRhlDZge.js → bundle-Sk3SXXP7.js} +2 -2
- package/chunks/bundle-Sk3SXXP7.js.map +1 -0
- package/chunks/{bundle-cTKDcBXH.js → bundle-Tep20T57.js} +23 -30
- package/chunks/bundle-Tep20T57.js.map +1 -0
- package/chunks/{bundle-9AVOtanU.js → bundle-WZvwkbYN.js} +3 -3
- package/chunks/bundle-WZvwkbYN.js.map +1 -0
- package/chunks/{bundle-1O7rPYFy.js → bundle-Xly_X4hP.js} +3 -3
- package/chunks/bundle-Xly_X4hP.js.map +1 -0
- package/chunks/{bundle-50blTGht.js → bundle-Xq25cpwP.js} +9 -9
- package/chunks/{bundle-50blTGht.js.map → bundle-Xq25cpwP.js.map} +1 -1
- package/chunks/{bundle-HUCZoqot.js → bundle-Y6TqPszM.js} +2 -2
- package/chunks/{bundle-HUCZoqot.js.map → bundle-Y6TqPszM.js.map} +1 -1
- package/chunks/{bundle-sTNKynXj.js → bundle-YQkYq090.js} +1 -1
- package/chunks/bundle-YQkYq090.js.map +1 -0
- package/chunks/{bundle-6Opy_RV-.js → bundle-YdRy5sj8.js} +3 -3
- package/chunks/{bundle-6Opy_RV-.js.map → bundle-YdRy5sj8.js.map} +1 -1
- package/chunks/{bundle-5asq-E-v.js → bundle-ZNwxfYJx.js} +6 -6
- package/chunks/bundle-ZNwxfYJx.js.map +1 -0
- package/chunks/{bundle-UW-TqfsF.js → bundle-ZT6XnGSN.js} +3 -3
- package/chunks/{bundle-UW-TqfsF.js.map → bundle-ZT6XnGSN.js.map} +1 -1
- package/chunks/{bundle-HTP_W562.js → bundle-cJc3JBZb.js} +3 -3
- package/chunks/bundle-cJc3JBZb.js.map +1 -0
- package/chunks/{bundle-ybonwZPt.js → bundle-dJBzT033.js} +1 -1
- package/chunks/bundle-dJBzT033.js.map +1 -0
- package/chunks/{bundle-kdRMkp9s.js → bundle-h4Ck6NLh.js} +2 -2
- package/chunks/bundle-h4Ck6NLh.js.map +1 -0
- package/chunks/{bundle-KkDaqYo6.js → bundle-hGeYEXGB.js} +2 -2
- package/chunks/{bundle-KkDaqYo6.js.map → bundle-hGeYEXGB.js.map} +1 -1
- package/chunks/{bundle-0QcaQ8yA.js → bundle-jw3t70tT.js} +10 -10
- package/chunks/{bundle-0QcaQ8yA.js.map → bundle-jw3t70tT.js.map} +1 -1
- package/chunks/bundle-jyTJAjUy.js +134 -0
- package/chunks/bundle-jyTJAjUy.js.map +1 -0
- package/chunks/{bundle-9YazFOHk.js → bundle-k4WuO78S.js} +4 -4
- package/chunks/{bundle-9YazFOHk.js.map → bundle-k4WuO78S.js.map} +1 -1
- package/chunks/{bundle-iTeulylJ.js → bundle-l0M5nN1Q.js} +7 -7
- package/chunks/{bundle-iTeulylJ.js.map → bundle-l0M5nN1Q.js.map} +1 -1
- package/chunks/{bundle-EaGyVrR8.js → bundle-lSKfBDuq.js} +3 -3
- package/chunks/{bundle-EaGyVrR8.js.map → bundle-lSKfBDuq.js.map} +1 -1
- package/chunks/{bundle-EoW7JC-6.js → bundle-menQ38z9.js} +6 -10
- package/chunks/bundle-menQ38z9.js.map +1 -0
- package/chunks/{bundle-RXyEKXFG.js → bundle-nHhZeAVb.js} +4 -4
- package/chunks/{bundle-RXyEKXFG.js.map → bundle-nHhZeAVb.js.map} +1 -1
- package/chunks/{bundle-0--XgUA7.js → bundle-oghsyfOE.js} +3 -3
- package/chunks/{bundle-0--XgUA7.js.map → bundle-oghsyfOE.js.map} +1 -1
- package/chunks/{bundle-j2oaAFR4.js → bundle-pCwi8C-K.js} +1 -1
- package/chunks/{bundle-j2oaAFR4.js.map → bundle-pCwi8C-K.js.map} +1 -1
- package/chunks/{bundle-o_MR5zP9.js → bundle-pmVgESW3.js} +2 -2
- package/chunks/{bundle-o_MR5zP9.js.map → bundle-pmVgESW3.js.map} +1 -1
- package/chunks/{bundle-iI1ssAAJ.js → bundle-s3qW-HFQ.js} +1 -1
- package/chunks/bundle-s3qW-HFQ.js.map +1 -0
- package/chunks/{bundle-rYiLt_kr.js → bundle-tUJWK_IX.js} +7 -7
- package/chunks/{bundle-rYiLt_kr.js.map → bundle-tUJWK_IX.js.map} +1 -1
- package/chunks/{bundle-zz-E8ZLu.js → bundle-vSJ8dTAZ.js} +5 -5
- package/chunks/{bundle-zz-E8ZLu.js.map → bundle-vSJ8dTAZ.js.map} +1 -1
- package/chunks/bundle-wRCPXISN.js +262 -0
- package/chunks/bundle-wRCPXISN.js.map +1 -0
- package/chunks/{bundle-FxBVAeu9.js → bundle-xgxXEKxk.js} +1 -1
- package/chunks/{bundle-FxBVAeu9.js.map → bundle-xgxXEKxk.js.map} +1 -1
- package/chunks/{bundle-WiQweU5U.js → bundle-zCWUhqT2.js} +1 -1
- package/chunks/bundle-zCWUhqT2.js.map +1 -0
- package/chunks/{bundle-qReOreYH.js → bundle-zz1eCYds.js} +1 -1
- package/chunks/{bundle-qReOreYH.js.map → bundle-zz1eCYds.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-1Rk5zlYY.js → bundle-0MHADZvF.js} +3 -3
- package/cjs/chunks/bundle-0MHADZvF.js.map +1 -0
- package/cjs/chunks/{bundle-7kVSLQPz.js → bundle-0bOWh2mP.js} +7 -7
- package/cjs/chunks/bundle-0bOWh2mP.js.map +1 -0
- package/cjs/chunks/{bundle-ONpNGzUN.js → bundle-0wbO-LdY.js} +4 -4
- package/cjs/chunks/bundle-0wbO-LdY.js.map +1 -0
- package/cjs/chunks/{bundle-6upaSfL9.js → bundle-5MVOBR4R.js} +3 -3
- package/cjs/chunks/bundle-5MVOBR4R.js.map +1 -0
- package/cjs/chunks/bundle-5NqynIJA.js +264 -0
- package/cjs/chunks/bundle-5NqynIJA.js.map +1 -0
- package/cjs/chunks/{bundle-vvpfLay7.js → bundle-5cuVj6Hi.js} +9 -9
- package/cjs/chunks/bundle-5cuVj6Hi.js.map +1 -0
- package/cjs/chunks/{bundle-4NrBnGEN.js → bundle-7gBYfQwU.js} +18 -18
- package/cjs/chunks/{bundle-4NrBnGEN.js.map → bundle-7gBYfQwU.js.map} +1 -1
- package/cjs/chunks/{bundle-z8FhI7RF.js → bundle-A4ywDIVT.js} +1 -1
- package/cjs/chunks/bundle-A4ywDIVT.js.map +1 -0
- package/cjs/chunks/{bundle-qnGmz8ai.js → bundle-AQhLE-Ci.js} +1 -1
- package/cjs/chunks/{bundle-qnGmz8ai.js.map → bundle-AQhLE-Ci.js.map} +1 -1
- package/cjs/chunks/{bundle-NXDlGjOm.js → bundle-AoaxviqO.js} +2 -2
- package/cjs/chunks/{bundle-NXDlGjOm.js.map → bundle-AoaxviqO.js.map} +1 -1
- package/cjs/chunks/{bundle-hBelyuMa.js → bundle-BA9K_smf.js} +3 -3
- package/{chunks/bundle-tR2Ipjel.js.map → cjs/chunks/bundle-BA9K_smf.js.map} +1 -1
- package/cjs/chunks/{bundle-9GSi_LkG.js → bundle-EVdeXpsD.js} +1 -1
- package/cjs/chunks/bundle-EVdeXpsD.js.map +1 -0
- package/cjs/chunks/{bundle-tFwEElQ4.js → bundle-F--qTOLe.js} +3 -3
- package/cjs/chunks/{bundle-tFwEElQ4.js.map → bundle-F--qTOLe.js.map} +1 -1
- package/cjs/chunks/{bundle-sVUGn8PI.js → bundle-FV9lCJz1.js} +9 -9
- package/cjs/chunks/{bundle-sVUGn8PI.js.map → bundle-FV9lCJz1.js.map} +1 -1
- package/cjs/chunks/{bundle-ww8_Dx5u.js → bundle-FpImAp7o.js} +3 -3
- package/cjs/chunks/bundle-FpImAp7o.js.map +1 -0
- package/cjs/chunks/{bundle-qtVxG8eL.js → bundle-GE1I3PNS.js} +1 -1
- package/cjs/chunks/bundle-GE1I3PNS.js.map +1 -0
- package/cjs/chunks/{bundle-mtATkaCS.js → bundle-HaufoaVC.js} +3 -3
- package/cjs/chunks/bundle-HaufoaVC.js.map +1 -0
- package/cjs/chunks/{bundle-jl7T2kDZ.js → bundle-HjwY9t7s.js} +5 -5
- package/cjs/chunks/bundle-HjwY9t7s.js.map +1 -0
- package/cjs/chunks/{bundle-UEKzL00k.js → bundle-IxIg8fhp.js} +4 -4
- package/cjs/chunks/{bundle-UEKzL00k.js.map → bundle-IxIg8fhp.js.map} +1 -1
- package/cjs/chunks/{bundle-6lAqYT4t.js → bundle-JragPpHy.js} +5 -5
- package/cjs/chunks/bundle-JragPpHy.js.map +1 -0
- package/cjs/chunks/{bundle-GJqVurdA.js → bundle-KKPmuuwX.js} +3 -3
- package/cjs/chunks/bundle-KKPmuuwX.js.map +1 -0
- package/cjs/chunks/{bundle-cIQlPA4P.js → bundle-KVlEj9_l.js} +7 -7
- package/cjs/chunks/{bundle-cIQlPA4P.js.map → bundle-KVlEj9_l.js.map} +1 -1
- package/cjs/chunks/{bundle-mLp_yP52.js → bundle-MBuX_zXW.js} +2 -2
- package/cjs/chunks/bundle-MBuX_zXW.js.map +1 -0
- package/cjs/chunks/bundle-MeuNh9Q9.js +17 -0
- package/cjs/chunks/bundle-MeuNh9Q9.js.map +1 -0
- package/cjs/chunks/{bundle-4ajshWV-.js → bundle-N1ipvkhN.js} +1 -1
- package/cjs/chunks/bundle-N1ipvkhN.js.map +1 -0
- package/cjs/chunks/{bundle--NEfAH1H.js → bundle-NYFm08XH.js} +1 -1
- package/cjs/chunks/bundle-NYFm08XH.js.map +1 -0
- package/cjs/chunks/{bundle--OdfDOjY.js → bundle-Pe-j2f1D.js} +1 -1
- package/cjs/chunks/bundle-Pe-j2f1D.js.map +1 -0
- package/cjs/chunks/{bundle-2s7rxLn3.js → bundle-QH7iLrPR.js} +1 -1
- package/cjs/chunks/{bundle-2s7rxLn3.js.map → bundle-QH7iLrPR.js.map} +1 -1
- package/cjs/chunks/{bundle-8YK4BV9m.js → bundle-SngxTjas.js} +1 -1
- package/cjs/chunks/bundle-SngxTjas.js.map +1 -0
- package/cjs/chunks/{bundle-S6CVN67K.js → bundle-VoZZnYtF.js} +3 -3
- package/cjs/chunks/bundle-VoZZnYtF.js.map +1 -0
- package/cjs/chunks/{bundle-IZeqjgE7.js → bundle-XoWonC_b.js} +2 -2
- package/cjs/chunks/bundle-XoWonC_b.js.map +1 -0
- package/cjs/chunks/{bundle-M4KuiFU1.js → bundle-YjWwnwWH.js} +3 -3
- package/cjs/chunks/{bundle-M4KuiFU1.js.map → bundle-YjWwnwWH.js.map} +1 -1
- package/cjs/chunks/{bundle-uOWwkmAr.js → bundle-YkzD-qec.js} +7 -7
- package/cjs/chunks/bundle-YkzD-qec.js.map +1 -0
- package/cjs/chunks/{bundle-3AvVQDMo.js → bundle-ZurhBjw4.js} +3 -3
- package/cjs/chunks/bundle-ZurhBjw4.js.map +1 -0
- package/cjs/chunks/{bundle-YXCUHkka.js → bundle-cV7uGK08.js} +1 -1
- package/cjs/chunks/{bundle-YXCUHkka.js.map → bundle-cV7uGK08.js.map} +1 -1
- package/cjs/chunks/{bundle-3PJj-XfK.js → bundle-fWyUHuJu.js} +1 -1
- package/cjs/chunks/bundle-fWyUHuJu.js.map +1 -0
- package/cjs/chunks/{bundle-r81ddDqP.js → bundle-gM8i5lGF.js} +1 -1
- package/cjs/chunks/bundle-gM8i5lGF.js.map +1 -0
- package/cjs/chunks/{bundle-X1dqH2Sm.js → bundle-hxGMLtWg.js} +1 -1
- package/cjs/chunks/bundle-hxGMLtWg.js.map +1 -0
- package/cjs/chunks/{bundle-veamuCpa.js → bundle-i5KLDxjz.js} +1 -1
- package/cjs/chunks/bundle-i5KLDxjz.js.map +1 -0
- package/cjs/chunks/{bundle-oCpY1j30.js → bundle-igY82TbB.js} +1 -1
- package/cjs/chunks/bundle-igY82TbB.js.map +1 -0
- package/cjs/chunks/{bundle-zNIQydjM.js → bundle-l92Ws-Rs.js} +1 -1
- package/cjs/chunks/bundle-l92Ws-Rs.js.map +1 -0
- package/cjs/chunks/{bundle-IpMpyY9U.js → bundle-mgmuHFWU.js} +6 -6
- package/cjs/chunks/bundle-mgmuHFWU.js.map +1 -0
- package/cjs/chunks/{bundle-KQyVyq1q.js → bundle-nGMCZjvM.js} +2 -2
- package/cjs/chunks/{bundle-KQyVyq1q.js.map → bundle-nGMCZjvM.js.map} +1 -1
- package/cjs/chunks/{bundle-iOLwSv4j.js → bundle-nuIgQkwQ.js} +2 -2
- package/cjs/chunks/bundle-nuIgQkwQ.js.map +1 -0
- package/cjs/chunks/{bundle-nsOL78qf.js → bundle-o1ta9AIa.js} +1 -1
- package/cjs/chunks/bundle-o1ta9AIa.js.map +1 -0
- package/cjs/chunks/{bundle-r1UVi2ak.js → bundle-omofvX-G.js} +4 -4
- package/cjs/chunks/{bundle-r1UVi2ak.js.map → bundle-omofvX-G.js.map} +1 -1
- package/cjs/chunks/{bundle-QkZHyxSs.js → bundle-ow5FLcVV.js} +1 -1
- package/cjs/chunks/bundle-ow5FLcVV.js.map +1 -0
- package/cjs/chunks/{bundle-DFBAN2Mi.js → bundle-pOTnhSyt.js} +2 -2
- package/cjs/chunks/bundle-pOTnhSyt.js.map +1 -0
- package/cjs/chunks/{bundle-1SeNKVYf.js → bundle-pVKke2mQ.js} +4 -4
- package/cjs/chunks/{bundle-1SeNKVYf.js.map → bundle-pVKke2mQ.js.map} +1 -1
- package/cjs/chunks/{bundle-5SOWNViS.js → bundle-pxBxPT0b.js} +6 -10
- package/cjs/chunks/{bundle-5SOWNViS.js.map → bundle-pxBxPT0b.js.map} +1 -1
- package/cjs/chunks/{bundle-L6ZM4yRd.js → bundle-tFuTz5CT.js} +4 -4
- package/cjs/chunks/{bundle-L6ZM4yRd.js.map → bundle-tFuTz5CT.js.map} +1 -1
- package/cjs/chunks/{bundle-ajGnEkbH.js → bundle-ugapct3R.js} +10 -10
- package/cjs/chunks/bundle-ugapct3R.js.map +1 -0
- package/cjs/chunks/{bundle-wvuQ096A.js → bundle-v8bBiJ_c.js} +1 -1
- package/cjs/chunks/bundle-v8bBiJ_c.js.map +1 -0
- package/cjs/chunks/{bundle-03qc56fX.js → bundle-vSdu8rrq.js} +25 -32
- package/cjs/chunks/bundle-vSdu8rrq.js.map +1 -0
- package/cjs/chunks/{bundle-K0D5qG0j.js → bundle-vWUmeH2R.js} +1 -1
- package/cjs/chunks/bundle-vWUmeH2R.js.map +1 -0
- package/cjs/chunks/{bundle-R4nsdVDF.js → bundle-vWlSj3_G.js} +1 -1
- package/cjs/chunks/bundle-vWlSj3_G.js.map +1 -0
- package/cjs/chunks/{bundle-0ugulztA.js → bundle-wN0CLPzM.js} +4 -4
- package/cjs/chunks/bundle-wN0CLPzM.js.map +1 -0
- package/cjs/chunks/bundle-x3a8KQ02.js +136 -0
- package/cjs/chunks/bundle-x3a8KQ02.js.map +1 -0
- package/cjs/chunks/{bundle-NS_si8Av.js → bundle-xeeBDhY6.js} +1 -1
- package/cjs/chunks/bundle-xeeBDhY6.js.map +1 -0
- package/cjs/chunks/{bundle-VQoPLYq1.js → bundle-xlnqnYUH.js} +2 -2
- package/cjs/chunks/bundle-xlnqnYUH.js.map +1 -0
- package/cjs/chunks/{bundle-DvBNc5Qi.js → bundle-yTYZiuXi.js} +1 -1
- package/cjs/chunks/bundle-yTYZiuXi.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 +146 -61
- 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/hooks/useModal.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { a as __spreadArray, _ as __assign } from '../chunks/bundle-
|
|
1
|
+
import { a as __spreadArray, _ as __assign } from '../chunks/bundle-Y6TqPszM.js';
|
|
2
2
|
import React__default, { createContext, useState, useCallback, useMemo, useContext } from 'react';
|
|
3
|
-
import { K } from '../chunks/bundle-
|
|
4
|
-
import { n as noop } from '../chunks/bundle-
|
|
5
|
-
import { M as Modal } from '../chunks/bundle-
|
|
6
|
-
export { a as MODAL_ROOT, b as ModalRoot } from '../chunks/bundle-
|
|
3
|
+
import { K } from '../chunks/bundle-zz1eCYds.js';
|
|
4
|
+
import { n as noop } from '../chunks/bundle-JhG5BHdE.js';
|
|
5
|
+
import { M as Modal } from '../chunks/bundle-5JvP07dI.js';
|
|
6
|
+
export { a as MODAL_ROOT, b as ModalRoot } from '../chunks/bundle-5JvP07dI.js';
|
|
7
7
|
import 'react-dom';
|
|
8
|
-
import '../chunks/bundle-
|
|
9
|
-
import '../chunks/bundle-
|
|
10
|
-
import '../chunks/bundle-
|
|
11
|
-
import '../chunks/bundle-
|
|
8
|
+
import '../chunks/bundle-Xly_X4hP.js';
|
|
9
|
+
import '../chunks/bundle-JuKER7D_.js';
|
|
10
|
+
import '../chunks/bundle-xgxXEKxk.js';
|
|
11
|
+
import '../chunks/bundle-Mn36ivpf.js';
|
|
12
12
|
import '../ui/IconButton.js';
|
|
13
13
|
import '../ui/Button.js';
|
|
14
|
-
import '../chunks/bundle-
|
|
14
|
+
import '../chunks/bundle-0IelBspE.js';
|
|
15
15
|
import '../ui/Icon.js';
|
|
16
16
|
|
|
17
17
|
var GlobalModalContext = createContext({
|
package/index.js
CHANGED
|
@@ -3,69 +3,71 @@ export { default as App } from './App.js';
|
|
|
3
3
|
export { default as ChannelSettings } from './ChannelSettings.js';
|
|
4
4
|
export { default as ChannelList } from './ChannelList.js';
|
|
5
5
|
export { default as Channel } from './Channel.js';
|
|
6
|
-
export { g as getStringSet } from './chunks/bundle-
|
|
6
|
+
export { g as getStringSet } from './chunks/bundle-JuKER7D_.js';
|
|
7
7
|
export { default as OpenChannel } from './OpenChannel.js';
|
|
8
8
|
export { default as OpenChannelSettings } from './OpenChannelSettings.js';
|
|
9
9
|
export { default as MessageSearch } from './MessageSearch.js';
|
|
10
10
|
export { default as withSendBird } from './withSendbird.js';
|
|
11
11
|
export { default as sendBirdSelectors, default as sendbirdSelectors } from './sendbirdSelectors.js';
|
|
12
12
|
export { useSendbirdStateContext } from './useSendbirdStateContext.js';
|
|
13
|
-
|
|
13
|
+
export { T as TypingIndicatorType } from './chunks/bundle-wRCPXISN.js';
|
|
14
|
+
import './chunks/bundle-Y6TqPszM.js';
|
|
14
15
|
import 'react';
|
|
15
16
|
import '@sendbird/uikit-tools';
|
|
16
17
|
import 'css-vars-ponyfill';
|
|
17
|
-
import './chunks/bundle-
|
|
18
|
-
import './chunks/bundle-
|
|
18
|
+
import './chunks/bundle-zz1eCYds.js';
|
|
19
|
+
import './chunks/bundle-IeIHBN9i.js';
|
|
19
20
|
import '@sendbird/chat';
|
|
20
|
-
import './chunks/bundle-
|
|
21
|
+
import './chunks/bundle-8VA5hO1c.js';
|
|
21
22
|
import '@sendbird/chat/openChannel';
|
|
22
23
|
import '@sendbird/chat/groupChannel';
|
|
23
|
-
import './chunks/bundle-
|
|
24
|
+
import './chunks/bundle-ZT6XnGSN.js';
|
|
24
25
|
import './utils/message/getOutgoingMessageState.js';
|
|
25
|
-
import './chunks/bundle-
|
|
26
|
-
import './chunks/bundle-
|
|
27
|
-
import './chunks/bundle-
|
|
26
|
+
import './chunks/bundle-JhG5BHdE.js';
|
|
27
|
+
import './chunks/bundle-Ku1a64TD.js';
|
|
28
|
+
import './chunks/bundle-Sk3SXXP7.js';
|
|
28
29
|
import './VoiceRecorder/context.js';
|
|
29
|
-
import './chunks/bundle-
|
|
30
|
-
import './chunks/bundle-
|
|
31
|
-
import './chunks/bundle-
|
|
30
|
+
import './chunks/bundle-Xly_X4hP.js';
|
|
31
|
+
import './chunks/bundle-xgxXEKxk.js';
|
|
32
|
+
import './chunks/bundle-5JvP07dI.js';
|
|
32
33
|
import 'react-dom';
|
|
33
|
-
import './chunks/bundle-
|
|
34
|
+
import './chunks/bundle-Mn36ivpf.js';
|
|
34
35
|
import './ui/IconButton.js';
|
|
35
36
|
import './ui/Button.js';
|
|
36
|
-
import './chunks/bundle-
|
|
37
|
+
import './chunks/bundle-0IelBspE.js';
|
|
37
38
|
import './ui/Icon.js';
|
|
38
|
-
import './chunks/bundle-
|
|
39
|
+
import './chunks/bundle-pCwi8C-K.js';
|
|
39
40
|
import './hooks/useModal.js';
|
|
40
41
|
import './Thread.js';
|
|
41
42
|
import './Thread/context.js';
|
|
42
|
-
import './chunks/bundle-
|
|
43
|
-
import './chunks/bundle-
|
|
44
|
-
import './chunks/bundle-
|
|
45
|
-
import './chunks/bundle-
|
|
43
|
+
import './chunks/bundle-EteEacTX.js';
|
|
44
|
+
import './chunks/bundle-7x4clnC7.js';
|
|
45
|
+
import './chunks/bundle-menQ38z9.js';
|
|
46
|
+
import './chunks/bundle-pmVgESW3.js';
|
|
46
47
|
import '@sendbird/chat/message';
|
|
47
|
-
import './chunks/bundle-
|
|
48
|
+
import './chunks/bundle-3WQuaADd.js';
|
|
48
49
|
import './Thread/context/types.js';
|
|
49
|
-
import './chunks/bundle-
|
|
50
|
-
import './chunks/bundle-
|
|
50
|
+
import './chunks/bundle-GGcTNRCI.js';
|
|
51
|
+
import './chunks/bundle-EPtYsHAJ.js';
|
|
51
52
|
import './Thread/components/ThreadUI.js';
|
|
52
|
-
import './chunks/bundle-
|
|
53
|
+
import './chunks/bundle-h4Ck6NLh.js';
|
|
53
54
|
import './Thread/components/ParentMessageInfo.js';
|
|
54
|
-
import './chunks/bundle-
|
|
55
|
-
import './chunks/bundle-
|
|
55
|
+
import './chunks/bundle-ZNwxfYJx.js';
|
|
56
|
+
import './chunks/bundle-JSlDfYOF.js';
|
|
56
57
|
import './Thread/components/ParentMessageInfoItem.js';
|
|
57
58
|
import './ui/ImageRenderer.js';
|
|
58
59
|
import './ui/TextButton.js';
|
|
59
|
-
import './chunks/bundle-
|
|
60
|
+
import './chunks/bundle-LhtrqZSE.js';
|
|
60
61
|
import './ui/EmojiReactions.js';
|
|
61
62
|
import './ui/ReactionBadge.js';
|
|
62
63
|
import './ui/ReactionButton.js';
|
|
63
|
-
import './chunks/bundle-
|
|
64
|
+
import './chunks/bundle-cJc3JBZb.js';
|
|
64
65
|
import './ui/ContextMenu.js';
|
|
65
66
|
import './ui/SortByRow.js';
|
|
66
67
|
import './ui/BottomSheet.js';
|
|
67
68
|
import './ui/UserListItem.js';
|
|
68
|
-
import './chunks/bundle-
|
|
69
|
+
import './chunks/bundle-Tep20T57.js';
|
|
70
|
+
import './chunks/bundle-2AUp3oeN.js';
|
|
69
71
|
import './ui/MutedAvatarOverlay.js';
|
|
70
72
|
import './ui/Checkbox.js';
|
|
71
73
|
import './ui/UserProfile.js';
|
|
@@ -77,71 +79,72 @@ import './ui/ProgressBar.js';
|
|
|
77
79
|
import './VoicePlayer/useVoicePlayer.js';
|
|
78
80
|
import './ui/PlaybackTime.js';
|
|
79
81
|
import './ui/Loader.js';
|
|
80
|
-
import './chunks/bundle-
|
|
81
|
-
import './chunks/bundle-
|
|
82
|
+
import './chunks/bundle-GiSLT4lG.js';
|
|
83
|
+
import './chunks/bundle-lSKfBDuq.js';
|
|
82
84
|
import './ui/MentionLabel.js';
|
|
83
85
|
import './ui/LinkLabel.js';
|
|
84
|
-
import './chunks/bundle-
|
|
85
|
-
import './chunks/bundle-
|
|
86
|
-
import './chunks/bundle-
|
|
87
|
-
import './chunks/bundle-
|
|
86
|
+
import './chunks/bundle-0SIFukuT.js';
|
|
87
|
+
import './chunks/bundle-LTnLzJFb.js';
|
|
88
|
+
import './chunks/bundle-QO9wq7-1.js';
|
|
89
|
+
import './chunks/bundle-YQkYq090.js';
|
|
88
90
|
import './Channel/hooks/useInitialMessagesFetch.js';
|
|
89
91
|
import './Channel/components/SuggestedMentionList.js';
|
|
90
|
-
import './chunks/bundle-
|
|
92
|
+
import './chunks/bundle-Jw6D-oM_.js';
|
|
91
93
|
import './ui/MessageItemMenu.js';
|
|
92
|
-
import './chunks/bundle-
|
|
94
|
+
import './chunks/bundle-KOKqPpBq.js';
|
|
93
95
|
import './ui/MessageItemReactionMenu.js';
|
|
94
96
|
import './ui/MessageInput.js';
|
|
95
|
-
import './chunks/bundle-
|
|
97
|
+
import './chunks/bundle-vSJ8dTAZ.js';
|
|
96
98
|
import 'dompurify';
|
|
97
|
-
import './chunks/bundle-
|
|
98
|
-
import './chunks/bundle-
|
|
99
|
-
import './chunks/bundle-
|
|
100
|
-
import './chunks/bundle-
|
|
99
|
+
import './chunks/bundle-2YEsND5T.js';
|
|
100
|
+
import './chunks/bundle-zCWUhqT2.js';
|
|
101
|
+
import './chunks/bundle-89OkQYTj.js';
|
|
102
|
+
import './chunks/bundle-k4WuO78S.js';
|
|
101
103
|
import './Message/hooks/useDirtyGetMentions.js';
|
|
102
104
|
import './Thread/components/ThreadHeader.js';
|
|
103
105
|
import './Thread/components/ThreadList.js';
|
|
104
106
|
import './Thread/components/ThreadListItem.js';
|
|
105
107
|
import './ui/DateSeparator.js';
|
|
106
|
-
import './chunks/bundle-
|
|
107
|
-
import './chunks/bundle-
|
|
108
|
-
import './chunks/bundle-
|
|
108
|
+
import './chunks/bundle-l0M5nN1Q.js';
|
|
109
|
+
import './chunks/bundle-oghsyfOE.js';
|
|
110
|
+
import './chunks/bundle-6uVd8Nrl.js';
|
|
109
111
|
import './ui/TextMessageItemBody.js';
|
|
110
112
|
import './ui/OGMessageItemBody.js';
|
|
111
113
|
import './ui/FileMessageItemBody.js';
|
|
112
114
|
import './ui/ThumbnailMessageItemBody.js';
|
|
113
|
-
import './chunks/bundle-
|
|
115
|
+
import './chunks/bundle-WZvwkbYN.js';
|
|
114
116
|
import './ui/UnknownMessageItemBody.js';
|
|
115
117
|
import 'date-fns';
|
|
116
118
|
import './Thread/components/ThreadMessageInput.js';
|
|
117
|
-
import './chunks/bundle-
|
|
119
|
+
import './chunks/bundle-jyTJAjUy.js';
|
|
118
120
|
import './VoiceRecorder/useVoiceRecorder.js';
|
|
119
|
-
import './chunks/bundle-
|
|
121
|
+
import './chunks/bundle-nHhZeAVb.js';
|
|
122
|
+
import './Channel/hooks/useHandleUploadFiles.js';
|
|
120
123
|
import './ui/PlaceHolder.js';
|
|
121
124
|
import './ChannelSettings/components/ChannelSettingsUI.js';
|
|
122
125
|
import './ChannelSettings/context.js';
|
|
123
126
|
import './ChannelSettings/components/ChannelProfile.js';
|
|
124
127
|
import './ui/ChannelAvatar.js';
|
|
125
|
-
import './chunks/bundle-
|
|
128
|
+
import './chunks/bundle-dJBzT033.js';
|
|
126
129
|
import './ChannelSettings/components/EditDetailsModal.js';
|
|
127
130
|
import './ui/Input.js';
|
|
128
131
|
import './ChannelSettings/components/ModerationPanel.js';
|
|
129
132
|
import './ui/Accordion.js';
|
|
130
133
|
import './ui/AccordionGroup.js';
|
|
131
|
-
import './chunks/bundle-
|
|
134
|
+
import './chunks/bundle-967zXkjf.js';
|
|
132
135
|
import './ui/Badge.js';
|
|
133
136
|
import './ui/Toggle.js';
|
|
134
137
|
import './ChannelSettings/components/UserListItem.js';
|
|
135
|
-
import './chunks/bundle-
|
|
138
|
+
import './chunks/bundle-tUJWK_IX.js';
|
|
136
139
|
import './ChannelSettings/components/LeaveChannel.js';
|
|
137
140
|
import './ChannelSettings/components/UserPanel.js';
|
|
138
|
-
import './chunks/bundle-
|
|
141
|
+
import './chunks/bundle-Xq25cpwP.js';
|
|
139
142
|
import './ChannelList/components/ChannelListUI.js';
|
|
140
143
|
import './ChannelList/components/ChannelListHeader.js';
|
|
141
144
|
import './ChannelList/components/AddChannel.js';
|
|
142
145
|
import './CreateChannel.js';
|
|
143
146
|
import './CreateChannel/components/CreateChannelUI.js';
|
|
144
|
-
import './chunks/bundle-
|
|
147
|
+
import './chunks/bundle-s3qW-HFQ.js';
|
|
145
148
|
import './CreateChannel/components/InviteUsers.js';
|
|
146
149
|
import './CreateChannel/components/SelectChannelType.js';
|
|
147
150
|
import './ChannelList/components/ChannelPreview.js';
|
|
@@ -154,44 +157,44 @@ import './EditUserProfile/components/EditUserProfileUI.js';
|
|
|
154
157
|
import './Channel/components/ChannelUI.js';
|
|
155
158
|
import './ui/ConnectionStatus.js';
|
|
156
159
|
import './Channel/components/ChannelHeader.js';
|
|
157
|
-
import './Channel/components/MessageList.js';
|
|
158
|
-
import './Channel/components/Message.js';
|
|
159
|
-
import './ui/MessageContent.js';
|
|
160
|
-
import './ui/AdminMessage.js';
|
|
161
|
-
import './ui/QuoteMessage.js';
|
|
162
|
-
import './ui/ThreadReplies.js';
|
|
163
|
-
import './Channel/components/FileViewer.js';
|
|
164
|
-
import './Channel/components/RemoveMessageModal.js';
|
|
165
|
-
import './chunks/bundle-mjC4Frm5.js';
|
|
166
|
-
import './Channel/utils/getMessagePartsInfo.js';
|
|
167
|
-
import './Channel/utils/compareMessagesForGrouping.js';
|
|
168
|
-
import './Channel/components/UnreadCount.js';
|
|
169
|
-
import './Channel/components/FrozenNotification.js';
|
|
170
160
|
import './Channel/components/MessageInput.js';
|
|
171
161
|
import './ui/QuoteMessageInput.js';
|
|
172
162
|
import './OpenChannel/components/OpenChannelUI.js';
|
|
173
|
-
import './chunks/bundle-
|
|
163
|
+
import './chunks/bundle-96I4BbNe.js';
|
|
174
164
|
import './OpenChannel/components/OpenChannelInput.js';
|
|
175
165
|
import './OpenChannel/components/FrozenChannelNotification.js';
|
|
176
166
|
import './OpenChannel/components/OpenChannelHeader.js';
|
|
177
167
|
import './OpenChannel/components/OpenChannelMessageList.js';
|
|
178
168
|
import './OpenChannel/components/OpenChannelMessage.js';
|
|
179
169
|
import './ui/OpenchannelUserMessage.js';
|
|
180
|
-
import './chunks/bundle-
|
|
181
|
-
import './chunks/bundle-
|
|
170
|
+
import './chunks/bundle-PwOQ689V.js';
|
|
171
|
+
import './chunks/bundle-OiOp4RUP.js';
|
|
182
172
|
import './ui/OpenChannelAdminMessage.js';
|
|
183
173
|
import './ui/OpenchannelOGMessage.js';
|
|
184
174
|
import './ui/OpenchannelThumbnailMessage.js';
|
|
185
175
|
import './ui/OpenchannelFileMessage.js';
|
|
176
|
+
import './chunks/bundle-Nv1SlZSC.js';
|
|
186
177
|
import './OpenChannelSettings/components/OpenChannelSettingsUI.js';
|
|
187
178
|
import './OpenChannelSettings/context.js';
|
|
188
179
|
import './OpenChannelSettings/components/OperatorUI.js';
|
|
189
180
|
import './OpenChannelSettings/components/OpenChannelProfile.js';
|
|
190
181
|
import './ui/OpenChannelAvatar.js';
|
|
191
182
|
import './OpenChannelSettings/components/EditDetailsModal.js';
|
|
192
|
-
import './chunks/bundle-
|
|
183
|
+
import './chunks/bundle-jw3t70tT.js';
|
|
193
184
|
import './MessageSearch/components/MessageSearchUI.js';
|
|
194
185
|
import './MessageSearch/context.js';
|
|
195
186
|
import './ui/MessageSearchItem.js';
|
|
196
187
|
import './ui/MessageSearchFileItem.js';
|
|
188
|
+
import './Channel/components/Message.js';
|
|
189
|
+
import './ui/MessageContent.js';
|
|
190
|
+
import './ui/AdminMessage.js';
|
|
191
|
+
import './ui/QuoteMessage.js';
|
|
192
|
+
import './ui/ThreadReplies.js';
|
|
193
|
+
import './Channel/components/FileViewer.js';
|
|
194
|
+
import './Channel/components/RemoveMessageModal.js';
|
|
195
|
+
import './Channel/utils/getMessagePartsInfo.js';
|
|
196
|
+
import './Channel/utils/compareMessagesForGrouping.js';
|
|
197
|
+
import './Channel/components/UnreadCount.js';
|
|
198
|
+
import './Channel/components/FrozenNotification.js';
|
|
199
|
+
import './ui/TypingIndicatorBubble.js';
|
|
197
200
|
//# sourceMappingURL=index.js.map
|
package/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/package.json
CHANGED
|
@@ -36,14 +36,14 @@
|
|
|
36
36
|
"url": "https://community.sendbird.com"
|
|
37
37
|
},
|
|
38
38
|
"homepage": "https://sendbird.com",
|
|
39
|
-
"version": "3.
|
|
39
|
+
"version": "3.9.0",
|
|
40
40
|
"peerDependencies": {
|
|
41
41
|
"react": "^16.8.6 || ^17.0.0 || ^18.0.0",
|
|
42
42
|
"react-dom": "^16.8.6 || ^17.0.0 || ^18.0.0"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
45
|
"@sendbird/chat": "^4.10.1",
|
|
46
|
-
"@sendbird/uikit-tools": "0.0.1-alpha.
|
|
46
|
+
"@sendbird/uikit-tools": "0.0.1-alpha.43",
|
|
47
47
|
"css-vars-ponyfill": "^2.3.2",
|
|
48
48
|
"date-fns": "^2.16.1",
|
|
49
49
|
"dompurify": "^3.0.1"
|
|
@@ -289,6 +289,12 @@
|
|
|
289
289
|
"import": "./Channel/hooks/useInitialMessagesFetch.js",
|
|
290
290
|
"default": "./Channel/hooks/useInitialMessagesFetch.js"
|
|
291
291
|
},
|
|
292
|
+
"./Channel/hooks/useHandleUploadFiles": {
|
|
293
|
+
"types": "./types/modules/Channel/components/MessageInput/useHandleUploadFiles.d.ts",
|
|
294
|
+
"require": "./cjs/Channel/hooks/useHandleUploadFiles.js",
|
|
295
|
+
"import": "./Channel/hooks/useHandleUploadFiles.js",
|
|
296
|
+
"default": "./Channel/hooks/useHandleUploadFiles.js"
|
|
297
|
+
},
|
|
292
298
|
"./Channel/utils/getMessagePartsInfo": {
|
|
293
299
|
"types": "./types/modules/Channel/components/MessageList/getMessagePartsInfo.d.ts",
|
|
294
300
|
"require": "./cjs/Channel/utils/getMessagePartsInfo.js",
|
|
@@ -979,6 +985,12 @@
|
|
|
979
985
|
"import": "./ui/TooltipWrapper.js",
|
|
980
986
|
"default": "./ui/TooltipWrapper.js"
|
|
981
987
|
},
|
|
988
|
+
"./ui/TypingIndicatorBubble": {
|
|
989
|
+
"types": "./types/ui/TypingIndicatorBubble/index.d.ts",
|
|
990
|
+
"require": "./cjs/ui/TypingIndicatorBubble.js",
|
|
991
|
+
"import": "./ui/TypingIndicatorBubble.js",
|
|
992
|
+
"default": "./ui/TypingIndicatorBubble.js"
|
|
993
|
+
},
|
|
982
994
|
"./ui/UnknownMessageItemBody": {
|
|
983
995
|
"types": "./types/ui/UnknownMessageItemBody/index.d.ts",
|
|
984
996
|
"require": "./cjs/ui/UnknownMessageItemBody.js",
|
|
@@ -997,11 +1009,11 @@
|
|
|
997
1009
|
"import": "./ui/UserProfile.js",
|
|
998
1010
|
"default": "./ui/UserProfile.js"
|
|
999
1011
|
},
|
|
1000
|
-
"./ui/
|
|
1012
|
+
"./ui/VoiceMessageInput": {
|
|
1001
1013
|
"types": "./types/ui/VoiceMessageInput/index.d.ts",
|
|
1002
|
-
"require": "./cjs/ui/
|
|
1003
|
-
"import": "./ui/
|
|
1004
|
-
"default": "./ui/
|
|
1014
|
+
"require": "./cjs/ui/VoiceMessageInput.js",
|
|
1015
|
+
"import": "./ui/VoiceMessageInput.js",
|
|
1016
|
+
"default": "./ui/VoiceMessageInput.js"
|
|
1005
1017
|
},
|
|
1006
1018
|
"./ui/VoiceMessageItemBody": {
|
|
1007
1019
|
"types": "./types/ui/VoiceMessageItemBody/index.d.ts",
|
|
@@ -1135,6 +1147,9 @@
|
|
|
1135
1147
|
"Channel/hooks/useInitialMessagesFetch": [
|
|
1136
1148
|
"./types/modules/Channel/context/hooks/useInitialMessagesFetch.d.ts"
|
|
1137
1149
|
],
|
|
1150
|
+
"Channel/hooks/useHandleUploadFiles": [
|
|
1151
|
+
"./types/modules/Channel/components/MessageInput/useHandleUploadFiles.d.ts"
|
|
1152
|
+
],
|
|
1138
1153
|
"Channel/utils/getMessagePartsInfo": [
|
|
1139
1154
|
"./types/modules/Channel/components/MessageList/getMessagePartsInfo.d.ts"
|
|
1140
1155
|
],
|
|
@@ -1480,6 +1495,9 @@
|
|
|
1480
1495
|
"ui/TooltipWrapper": [
|
|
1481
1496
|
"./types/ui/TooltipWrapper/index.d.ts"
|
|
1482
1497
|
],
|
|
1498
|
+
"ui/TypingIndicatorBubble": [
|
|
1499
|
+
"./types/ui/TypingIndicatorBubble/index.d.ts"
|
|
1500
|
+
],
|
|
1483
1501
|
"ui/UnknownMessageItemBody": [
|
|
1484
1502
|
"./types/ui/UnknownMessageItemBody/index.d.ts"
|
|
1485
1503
|
],
|
|
@@ -1489,7 +1507,7 @@
|
|
|
1489
1507
|
"ui/UserProfile": [
|
|
1490
1508
|
"./types/ui/UserProfile/index.d.ts"
|
|
1491
1509
|
],
|
|
1492
|
-
"ui/
|
|
1510
|
+
"ui/VoiceMessageInput": [
|
|
1493
1511
|
"./types/ui/VoiceMessageInput/index.d.ts"
|
|
1494
1512
|
],
|
|
1495
1513
|
"ui/VoiceMessageItemBody": [
|
package/pubSub/topics.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { b as PUBSUB_TOPICS, P as PublishingModuleType, p as default } from '../chunks/bundle-
|
|
1
|
+
export { b as PUBSUB_TOPICS, P as PublishingModuleType, p as default } from '../chunks/bundle-7x4clnC7.js';
|
|
2
2
|
//# sourceMappingURL=topics.js.map
|
package/sendbirdSelectors.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { p as pubSubTopics } from './chunks/bundle-
|
|
2
|
-
import { n as noop } from './chunks/bundle-
|
|
1
|
+
import { p as pubSubTopics } from './chunks/bundle-7x4clnC7.js';
|
|
2
|
+
import { n as noop } from './chunks/bundle-JhG5BHdE.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* 1. UIKit Instances
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface UseOnScrollReachedEndDetectorProps {
|
|
3
|
+
onReachedTop?: () => void;
|
|
4
|
+
onReachedBottom?: () => void;
|
|
5
|
+
onInBetween?: () => void;
|
|
6
|
+
}
|
|
7
|
+
export declare function useOnScrollPositionChangeDetector(props: UseOnScrollReachedEndDetectorProps): (event: React.UIEvent<HTMLDivElement, UIEvent>) => void;
|
package/types/index.d.ts
CHANGED
|
@@ -11,3 +11,4 @@ export { default as withSendBird } from './lib/SendbirdSdkContext';
|
|
|
11
11
|
export { default as sendbirdSelectors } from './lib/selectors';
|
|
12
12
|
export { default as sendBirdSelectors } from './lib/selectors';
|
|
13
13
|
export { default as useSendbirdStateContext } from './hooks/useSendbirdStateContext';
|
|
14
|
+
export { TypingIndicatorType } from './types';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { ConnectTypes } from './types';
|
|
2
|
-
export declare function connect({ logger, sdkDispatcher, userDispatcher, initDashboardConfigs, userId, appId, customApiHost, customWebSocketHost, configureSession, nickname, profileUrl, accessToken, sdk, sdkInitParams, customExtensionParams, isMobile, }: ConnectTypes): Promise<void>;
|
|
2
|
+
export declare function connect({ logger, sdkDispatcher, userDispatcher, initDashboardConfigs, userId, appId, customApiHost, customWebSocketHost, configureSession, nickname, profileUrl, accessToken, sdk, sdkInitParams, customExtensionParams, isMobile, eventHandlers, }: ConnectTypes): Promise<void>;
|
|
@@ -15,4 +15,4 @@ export declare function setUpParams({ appId, customApiHost, customWebSocketHost,
|
|
|
15
15
|
sdkInitParams?: SendbirdChatInitParams;
|
|
16
16
|
customExtensionParams?: CustomExtensionParams;
|
|
17
17
|
}): SendbirdChat & import("@sendbird/chat/lib/__definition").ModuleNamespaces<[...(import("@sendbird/chat/lib/__definition").Module & (GroupChannelModule | OpenChannelModule))[], import("@sendbird/chat/message").MessageModule, import("@sendbird/chat/poll").PollModule], import("@sendbird/chat/message").MessageModule | import("@sendbird/chat/poll").PollModule | (import("@sendbird/chat/lib/__definition").Module & (GroupChannelModule | OpenChannelModule))>;
|
|
18
|
-
export declare function setUpConnection({ logger, sdkDispatcher, userDispatcher, initDashboardConfigs, userId, appId, customApiHost, customWebSocketHost, configureSession, nickname, profileUrl, accessToken, isUserIdUsedForNickname, sdkInitParams, customExtensionParams, isMobile, }: SetupConnectionTypes): Promise<void>;
|
|
18
|
+
export declare function setUpConnection({ logger, sdkDispatcher, userDispatcher, initDashboardConfigs, userId, appId, customApiHost, customWebSocketHost, configureSession, nickname, profileUrl, accessToken, isUserIdUsedForNickname, sdkInitParams, customExtensionParams, isMobile, eventHandlers, }: SetupConnectionTypes): Promise<void>;
|
|
@@ -5,7 +5,7 @@ import { SendbirdOpenChat } from '@sendbird/chat/openChannel';
|
|
|
5
5
|
import { SdkActionTypes } from '../../dux/sdk/actionTypes';
|
|
6
6
|
import { UserActionTypes } from '../../dux/user/actionTypes';
|
|
7
7
|
import { Logger } from '../../SendbirdState';
|
|
8
|
-
import { SendbirdChatInitParams, CustomExtensionParams } from '../../types';
|
|
8
|
+
import { SendbirdChatInitParams, CustomExtensionParams, SBUEventHandlers } from '../../types';
|
|
9
9
|
type SdkDispatcher = React.Dispatch<SdkActionTypes>;
|
|
10
10
|
type UserDispatcher = React.Dispatch<UserActionTypes>;
|
|
11
11
|
export type TriggerTypes = {
|
|
@@ -29,6 +29,7 @@ export type StaticTypes = {
|
|
|
29
29
|
initDashboardConfigs: (sdk: SendbirdChat) => Promise<void>;
|
|
30
30
|
sdkInitParams?: SendbirdChatInitParams;
|
|
31
31
|
customExtensionParams?: CustomExtensionParams;
|
|
32
|
+
eventHandlers?: SBUEventHandlers;
|
|
32
33
|
};
|
|
33
34
|
export type ConnectTypes = TriggerTypes & StaticTypes;
|
|
34
35
|
export type SetupConnectionTypes = Omit<ConnectTypes, 'sdk'>;
|
package/types/lib/types.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type SendbirdChat from '@sendbird/chat';
|
|
3
|
-
import type { User, SendbirdChatParams } from '@sendbird/chat';
|
|
3
|
+
import type { User, SendbirdChatParams, SendbirdError } from '@sendbird/chat';
|
|
4
4
|
import type { GroupChannel, GroupChannelCreateParams, GroupChannelModule } from '@sendbird/chat/groupChannel';
|
|
5
5
|
import type { OpenChannel, OpenChannelCreateParams, OpenChannelModule } from '@sendbird/chat/openChannel';
|
|
6
6
|
import type { FileMessage, FileMessageCreateParams, UserMessage, UserMessageCreateParams, UserMessageUpdateParams } from '@sendbird/chat/message';
|
|
@@ -25,6 +25,9 @@ export interface SBUEventHandlers {
|
|
|
25
25
|
reaction?: {
|
|
26
26
|
onPressUserProfile?(member: User): void;
|
|
27
27
|
};
|
|
28
|
+
connection?: {
|
|
29
|
+
onFailed?(error: SendbirdError): void;
|
|
30
|
+
};
|
|
28
31
|
}
|
|
29
32
|
export interface SendBirdStateConfig {
|
|
30
33
|
disableUserProfile: boolean;
|
|
@@ -73,6 +76,7 @@ export interface SendBirdStateConfig {
|
|
|
73
76
|
enableTypingIndicator: SBUConfig['groupChannel']['channel']['enableTypingIndicator'];
|
|
74
77
|
enableDocument: SBUConfig['groupChannel']['channel']['input']['enableDocument'];
|
|
75
78
|
threadReplySelectType: SBUConfig['groupChannel']['channel']['threadReplySelectType'];
|
|
79
|
+
typingIndicatorTypes: SBUConfig['groupChannel']['channel']['typingIndicatorTypes'];
|
|
76
80
|
};
|
|
77
81
|
openChannel: {
|
|
78
82
|
enableOgtag: SBUConfig['openChannel']['channel']['enableOgtag'];
|
|
@@ -14,6 +14,7 @@ export interface ChannelUIProps {
|
|
|
14
14
|
renderSendMessageIcon?: () => React.ReactElement;
|
|
15
15
|
renderTypingIndicator?: () => React.ReactElement;
|
|
16
16
|
renderCustomSeparator?: (props: RenderCustomSeparatorProps) => React.ReactElement;
|
|
17
|
+
renderFrozenNotification?: () => React.ReactElement;
|
|
17
18
|
}
|
|
18
19
|
declare const ChannelUI: React.FC<ChannelUIProps>;
|
|
19
20
|
export default ChannelUI;
|
|
@@ -7,5 +7,6 @@ export type MessageInputWrapperProps = {
|
|
|
7
7
|
renderVoiceMessageIcon?: () => React.ReactElement;
|
|
8
8
|
renderSendMessageIcon?: () => React.ReactElement;
|
|
9
9
|
};
|
|
10
|
+
export { VoiceMessageInputWrapper, VoiceMessageInputWrapperProps, } from './VoiceMessageInputWrapper';
|
|
10
11
|
declare const _default: React.ForwardRefExoticComponent<MessageInputWrapperProps & React.RefAttributes<any>>;
|
|
11
12
|
export default _default;
|
|
@@ -7,6 +7,7 @@ export interface MessageListProps {
|
|
|
7
7
|
renderPlaceholderEmpty?: () => React.ReactElement;
|
|
8
8
|
renderCustomSeparator?: (props: RenderCustomSeparatorProps) => React.ReactElement;
|
|
9
9
|
renderPlaceholderLoader?: () => React.ReactElement;
|
|
10
|
+
renderFrozenNotification?: () => React.ReactElement;
|
|
10
11
|
}
|
|
11
12
|
declare const MessageList: React.FC<MessageListProps>;
|
|
12
13
|
export default MessageList;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { EditUserProfileProps } from './context/EditUserProfileProvider';
|
|
3
|
-
declare const
|
|
4
|
-
export default
|
|
3
|
+
declare const EditUserProfile: React.FC<EditUserProfileProps>;
|
|
4
|
+
export default EditUserProfile;
|
package/types/types.d.ts
CHANGED
|
@@ -16,6 +16,10 @@ export interface UserListQuery {
|
|
|
16
16
|
next(): Promise<Array<User>>;
|
|
17
17
|
get isLoading(): boolean;
|
|
18
18
|
}
|
|
19
|
+
export declare enum TypingIndicatorType {
|
|
20
|
+
Text = "text",
|
|
21
|
+
Bubble = "bubble"
|
|
22
|
+
}
|
|
19
23
|
export interface RenderUserProfileProps {
|
|
20
24
|
user: User | Member;
|
|
21
25
|
currentUserId: string;
|
|
@@ -5,7 +5,7 @@ import type { GroupChannel } from '@sendbird/chat/groupChannel';
|
|
|
5
5
|
import { Nullable, SpaceFromTriggerType } from '../../types';
|
|
6
6
|
import { SendableMessageType } from '../../utils';
|
|
7
7
|
import { User } from '@sendbird/chat';
|
|
8
|
-
interface
|
|
8
|
+
export interface EmojiReactionsProps {
|
|
9
9
|
className?: string | Array<string>;
|
|
10
10
|
userId: string;
|
|
11
11
|
message: SendableMessageType;
|
|
@@ -17,5 +17,5 @@ interface Props {
|
|
|
17
17
|
toggleReaction?: (message: SendableMessageType, key: string, byMe: boolean) => void;
|
|
18
18
|
onPressUserProfile?: (member: User) => void;
|
|
19
19
|
}
|
|
20
|
-
declare const EmojiReactions: ({ className, userId, message, channel, emojiContainer, memberNicknamesMap, spaceFromTrigger, isByMe, toggleReaction, onPressUserProfile, }:
|
|
20
|
+
declare const EmojiReactions: ({ className, userId, message, channel, emojiContainer, memberNicknamesMap, spaceFromTrigger, isByMe, toggleReaction, onPressUserProfile, }: EmojiReactionsProps) => ReactElement;
|
|
21
21
|
export default EmojiReactions;
|
|
@@ -1,15 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ReactElement } from 'react';
|
|
2
2
|
import '../index.scss';
|
|
3
3
|
import { MessageContentProps } from '../index';
|
|
4
4
|
export interface MessageProfileProps extends MessageContentProps {
|
|
5
|
-
setSupposedHover?: Dispatch<SetStateAction<boolean>>;
|
|
6
|
-
isMobile?: boolean;
|
|
7
|
-
isReactionEnabledInChannel?: boolean;
|
|
8
|
-
isReactionEnabledClassName?: string;
|
|
9
5
|
isByMe?: boolean;
|
|
10
|
-
isByMeClassName?: string;
|
|
11
|
-
useReplyingClassName?: string;
|
|
12
6
|
displayThreadReplies?: boolean;
|
|
13
|
-
supposedHoverClassName?: string;
|
|
14
7
|
}
|
|
15
8
|
export default function MessageProfile(props: MessageProfileProps): ReactElement;
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { ReactElement, ReactNode } from 'react';
|
|
2
2
|
import './index.scss';
|
|
3
|
+
import { MessageMenuProps } from '../MessageItemMenu';
|
|
4
|
+
import { MessageEmojiMenuProps } from '../MessageItemReactionMenu';
|
|
5
|
+
import { EmojiReactionsProps } from '../EmojiReactions';
|
|
3
6
|
import { SendableMessageType, CoreMessageType } from '../../utils';
|
|
4
7
|
import { GroupChannel } from '@sendbird/chat/groupChannel';
|
|
5
8
|
import { EmojiContainer } from '@sendbird/chat';
|
|
@@ -40,5 +43,8 @@ export interface MessageContentProps {
|
|
|
40
43
|
renderSenderProfile?: (props: MessageProfileProps) => ReactNode;
|
|
41
44
|
renderMessageBody?: (props: MessageBodyProps) => ReactNode;
|
|
42
45
|
renderMessageHeader?: (props: MessageHeaderProps) => ReactNode;
|
|
46
|
+
renderMessageMenu?: (props: MessageMenuProps) => ReactNode;
|
|
47
|
+
renderEmojiMenu?: (props: MessageEmojiMenuProps) => ReactNode;
|
|
48
|
+
renderEmojiReactions?: (props: EmojiReactionsProps) => ReactNode;
|
|
43
49
|
}
|
|
44
50
|
export default function MessageContent(props: MessageContentProps): ReactElement;
|
|
@@ -4,7 +4,7 @@ import type { GroupChannel } from '@sendbird/chat/groupChannel';
|
|
|
4
4
|
import type { OpenChannel } from '@sendbird/chat/openChannel';
|
|
5
5
|
import { SendableMessageType } from '../../utils/index';
|
|
6
6
|
import { ReplyType } from '../../types';
|
|
7
|
-
interface
|
|
7
|
+
export interface MessageMenuProps {
|
|
8
8
|
className?: string | Array<string>;
|
|
9
9
|
message: SendableMessageType;
|
|
10
10
|
channel: GroupChannel | OpenChannel;
|
|
@@ -22,5 +22,5 @@ interface Props {
|
|
|
22
22
|
}) => void;
|
|
23
23
|
onMoveToParentMessage?: () => void;
|
|
24
24
|
}
|
|
25
|
-
export
|
|
26
|
-
export
|
|
25
|
+
export declare function MessageMenu({ className, message, channel, isByMe, disabled, replyType, disableDeleteMessage, showEdit, showRemove, resendMessage, setQuoteMessage, setSupposedHover, onReplyInThread, onMoveToParentMessage, }: MessageMenuProps): ReactElement;
|
|
26
|
+
export default MessageMenu;
|
|
@@ -3,7 +3,7 @@ import { ReactElement } from 'react';
|
|
|
3
3
|
import type { EmojiContainer } from '@sendbird/chat';
|
|
4
4
|
import { SendableMessageType } from '../../utils';
|
|
5
5
|
import { SpaceFromTriggerType } from '../../types';
|
|
6
|
-
interface
|
|
6
|
+
export interface MessageEmojiMenuProps {
|
|
7
7
|
className?: string | Array<string>;
|
|
8
8
|
message: SendableMessageType;
|
|
9
9
|
userId: string;
|
|
@@ -12,5 +12,5 @@ interface Props {
|
|
|
12
12
|
toggleReaction?: (message: SendableMessageType, reactionKey: string, isReacted: boolean) => void;
|
|
13
13
|
setSupposedHover?: (bool: boolean) => void;
|
|
14
14
|
}
|
|
15
|
-
export
|
|
16
|
-
export
|
|
15
|
+
export declare function MessageEmojiMenu({ className, message, userId, spaceFromTrigger, emojiContainer, toggleReaction, setSupposedHover, }: MessageEmojiMenuProps): ReactElement;
|
|
16
|
+
export default MessageEmojiMenu;
|