@sendbird/uikit-react 3.16.12 → 3.17.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 +89 -88
- package/App.js.map +1 -1
- package/CHANGELOG.md +26 -0
- package/Channel/components/ChannelHeader.js +34 -32
- package/Channel/components/ChannelHeader.js.map +1 -1
- package/Channel/components/ChannelUI.js +69 -68
- package/Channel/components/ChannelUI.js.map +1 -1
- package/Channel/components/FileViewer.js +32 -30
- package/Channel/components/FileViewer.js.map +1 -1
- package/Channel/components/FrozenNotification.js +6 -6
- package/Channel/components/Message.js +58 -57
- package/Channel/components/Message.js.map +1 -1
- package/Channel/components/MessageInput.js +45 -43
- package/Channel/components/MessageInput.js.map +1 -1
- package/Channel/components/MessageInputWrapper.js +45 -43
- package/Channel/components/MessageInputWrapper.js.map +1 -1
- package/Channel/components/MessageList.js +62 -61
- package/Channel/components/MessageList.js.map +1 -1
- package/Channel/components/RemoveMessageModal.js +31 -29
- package/Channel/components/RemoveMessageModal.js.map +1 -1
- package/Channel/components/SuggestedMentionList.js +31 -29
- package/Channel/components/SuggestedMentionList.js.map +1 -1
- package/Channel/components/TypingIndicator.js +9 -9
- package/Channel/components/UnreadCount.js +8 -8
- package/Channel/context.js +123 -94
- package/Channel/context.js.map +1 -1
- package/Channel/hooks/useHandleUploadFiles.js +18 -18
- package/Channel/hooks/useInitialMessagesFetch.js +8 -8
- package/Channel/utils/compareMessagesForGrouping.js +8 -8
- package/Channel/utils/getMessagePartsInfo.js +12 -10
- package/Channel/utils/getMessagePartsInfo.js.map +1 -1
- package/Channel.js +69 -68
- package/Channel.js.map +1 -1
- package/ChannelList/components/AddChannel.js +89 -88
- package/ChannelList/components/AddChannel.js.map +1 -1
- package/ChannelList/components/ChannelListHeader.js +13 -13
- package/ChannelList/components/ChannelListUI.js +89 -88
- package/ChannelList/components/ChannelListUI.js.map +1 -1
- package/ChannelList/components/ChannelPreview.js +32 -32
- package/ChannelList/components/ChannelPreviewAction.js +17 -17
- package/ChannelList/context.js +14 -14
- package/ChannelList.js +89 -88
- package/ChannelList.js.map +1 -1
- package/ChannelSettings/components/ChannelProfile.js +23 -23
- package/ChannelSettings/components/ChannelSettingMenuList.js +14 -14
- package/ChannelSettings/components/ChannelSettingsHeader.js +11 -11
- package/ChannelSettings/components/ChannelSettingsMenuItem.js +2 -2
- package/ChannelSettings/components/ChannelSettingsUI.js +31 -31
- package/ChannelSettings/components/EditDetailsModal.js +19 -19
- package/ChannelSettings/components/LeaveChannel.js +20 -20
- package/ChannelSettings/components/ModerationPanel.js +29 -29
- package/ChannelSettings/components/UserListItem.js +19 -19
- package/ChannelSettings/components/UserPanel.js +28 -28
- package/ChannelSettings/context.js +9 -9
- package/ChannelSettings/hooks/useMenuList.js +29 -29
- package/ChannelSettings.js +31 -31
- package/CreateChannel/components/CreateChannelUI.js +89 -88
- package/CreateChannel/components/CreateChannelUI.js.map +1 -1
- package/CreateChannel/components/InviteUsers.js +89 -88
- package/CreateChannel/components/InviteUsers.js.map +1 -1
- package/CreateChannel/components/SelectChannelType.js +90 -89
- package/CreateChannel/components/SelectChannelType.js.map +1 -1
- package/CreateChannel/context.js +89 -88
- package/CreateChannel/context.js.map +1 -1
- package/CreateChannel.js +89 -88
- package/CreateChannel.js.map +1 -1
- package/CreateOpenChannel/components/CreateOpenChannelUI.js +15 -15
- package/CreateOpenChannel/context.js +4 -4
- package/CreateOpenChannel.js +15 -15
- package/EditUserProfile/components/EditUserProfileUI.js +15 -15
- package/EditUserProfile/context.js +1 -1
- package/EditUserProfile.js +15 -15
- package/GroupChannel/components/FileViewer.js +29 -29
- package/GroupChannel/components/FrozenNotification.js +6 -6
- package/GroupChannel/components/GroupChannelHeader.js +29 -29
- package/GroupChannel/components/GroupChannelUI.js +63 -63
- package/GroupChannel/components/Message.js +56 -56
- package/GroupChannel/components/MessageInputWrapper.js +41 -41
- package/GroupChannel/components/MessageList.js +205 -71
- package/GroupChannel/components/MessageList.js.map +1 -1
- package/GroupChannel/components/RemoveMessageModal.js +27 -27
- package/GroupChannel/components/SuggestedMentionList.js +15 -15
- package/GroupChannel/components/TypingIndicator.js +9 -9
- package/GroupChannel/components/UnreadCount.js +8 -8
- package/GroupChannel/context.js +15 -15
- package/GroupChannel.js +63 -63
- package/GroupChannelList/components/AddGroupChannel.js +89 -88
- package/GroupChannelList/components/AddGroupChannel.js.map +1 -1
- package/GroupChannelList/components/GroupChannelListHeader.js +13 -13
- package/GroupChannelList/components/GroupChannelListItem.js +32 -32
- package/GroupChannelList/components/GroupChannelListUI.js +90 -89
- package/GroupChannelList/components/GroupChannelListUI.js.map +1 -1
- package/GroupChannelList/components/GroupChannelPreviewAction.js +17 -17
- package/GroupChannelList/context.js +10 -10
- package/GroupChannelList.js +89 -88
- package/GroupChannelList.js.map +1 -1
- package/MessageSearch/components/MessageSearchUI.js +20 -20
- package/MessageSearch/context.js +6 -6
- package/MessageSearch.js +22 -22
- package/OpenChannel/components/FrozenChannelNotification.js +5 -5
- package/OpenChannel/components/OpenChannelHeader.js +20 -20
- package/OpenChannel/components/OpenChannelInput.js +29 -29
- package/OpenChannel/components/OpenChannelMessage.js +39 -39
- package/OpenChannel/components/OpenChannelMessageList.js +43 -43
- package/OpenChannel/components/OpenChannelUI.js +43 -43
- package/OpenChannel/context.js +19 -19
- package/OpenChannel.js +43 -43
- package/OpenChannelList/components/OpenChannelListUI.js +17 -17
- package/OpenChannelList/components/OpenChannelPreview.js +6 -6
- package/OpenChannelList/context.js +6 -6
- package/OpenChannelList.js +17 -17
- package/OpenChannelSettings/components/EditDetailsModal.js +18 -18
- package/OpenChannelSettings/components/OpenChannelProfile.js +18 -18
- package/OpenChannelSettings/components/OpenChannelSettingsUI.js +24 -24
- package/OpenChannelSettings/components/OperatorUI.js +24 -24
- package/OpenChannelSettings/components/ParticipantUI.js +22 -22
- package/OpenChannelSettings/context.js +6 -6
- package/OpenChannelSettings.js +24 -24
- package/SendbirdProvider.js +33 -48
- package/SendbirdProvider.js.map +1 -1
- package/Thread/components/ParentMessageInfo.js +49 -49
- package/Thread/components/ParentMessageInfoItem.js +34 -34
- package/Thread/components/ThreadHeader.js +8 -8
- package/Thread/components/ThreadList.js +56 -56
- package/Thread/components/ThreadListItem.js +56 -56
- package/Thread/components/ThreadMessageInput.js +46 -46
- package/Thread/components/ThreadUI.js +62 -62
- package/Thread/context.js +15 -15
- package/Thread.js +62 -62
- package/VoicePlayer/context.js +6 -6
- package/VoicePlayer/useVoicePlayer.js +14 -14
- package/VoiceRecorder/context.js +13 -13
- package/VoiceRecorder/useVoiceRecorder.js +12 -12
- package/chunks/{bundle-DlvCS0eB.js → bundle-0vQ6L6RB.js} +9 -9
- package/chunks/bundle-0vQ6L6RB.js.map +1 -0
- package/chunks/{bundle-BU0BvnMh.js → bundle-2U8QpYXo.js} +8 -8
- package/chunks/{bundle-BU0BvnMh.js.map → bundle-2U8QpYXo.js.map} +1 -1
- package/chunks/{bundle-gsWT87_Q.js → bundle-B0s_McF0.js} +2 -2
- package/chunks/bundle-B0s_McF0.js.map +1 -0
- package/chunks/{bundle-DTco3u4-.js → bundle-B2BBbSEN.js} +1 -1
- package/chunks/bundle-B2BBbSEN.js.map +1 -0
- package/chunks/{bundle-BIa01cUT.js → bundle-B6udMinl.js} +1 -1
- package/chunks/bundle-B6udMinl.js.map +1 -0
- package/chunks/{bundle-B2lzJfYh.js → bundle-BEx1sWnS.js} +1 -1
- package/chunks/bundle-BEx1sWnS.js.map +1 -0
- package/chunks/{bundle-DEanwH0s.js → bundle-BGCu7v8M.js} +4 -4
- package/chunks/bundle-BGCu7v8M.js.map +1 -0
- package/chunks/{bundle-CDrUVtmn.js → bundle-BJYztm64.js} +1 -1
- package/chunks/{bundle-CDrUVtmn.js.map → bundle-BJYztm64.js.map} +1 -1
- package/chunks/{bundle-D3Fuy4EO.js → bundle-BMfuf1lc.js} +2 -2
- package/chunks/{bundle-D3Fuy4EO.js.map → bundle-BMfuf1lc.js.map} +1 -1
- package/chunks/{bundle-D2CsheME.js → bundle-BNjG_5V3.js} +7 -5
- package/chunks/{bundle-DLFRobAL.js.map → bundle-BNjG_5V3.js.map} +1 -1
- package/chunks/{bundle-7upDXZ2x.js → bundle-BNtO7aXk.js} +1 -1
- package/chunks/bundle-BNtO7aXk.js.map +1 -0
- package/chunks/{bundle-BEsTeVKi.js → bundle-BOykFtQ3.js} +1 -1
- package/chunks/bundle-BOykFtQ3.js.map +1 -0
- package/chunks/{bundle-BLz9BjN4.js → bundle-BSy5MmTl.js} +1 -1
- package/chunks/bundle-BSy5MmTl.js.map +1 -0
- package/chunks/{bundle-BHVmxzEQ.js → bundle-BUYU9H94.js} +4 -3
- package/chunks/{bundle-BHVmxzEQ.js.map → bundle-BUYU9H94.js.map} +1 -1
- package/chunks/{bundle-DYNq2q2o.js → bundle-BY2z9V57.js} +1 -1
- package/chunks/bundle-BY2z9V57.js.map +1 -0
- package/chunks/{bundle-QoZ0XMP0.js → bundle-BZGITC2g.js} +1 -1
- package/chunks/{bundle-QoZ0XMP0.js.map → bundle-BZGITC2g.js.map} +1 -1
- package/chunks/{bundle-B5NfIzw6.js → bundle-Ba_cV-Zm.js} +3 -3
- package/chunks/bundle-Ba_cV-Zm.js.map +1 -0
- package/chunks/{bundle-DaQgvfV3.js → bundle-Bch_Ry4S.js} +7 -7
- package/chunks/{bundle-DaQgvfV3.js.map → bundle-Bch_Ry4S.js.map} +1 -1
- package/chunks/{bundle-B7tGV76S.js → bundle-BdQWhaHB.js} +14 -14
- package/chunks/{bundle-B7tGV76S.js.map → bundle-BdQWhaHB.js.map} +1 -1
- package/chunks/{bundle-BBIiHpWB.js → bundle-BhhLSKSz.js} +4 -4
- package/chunks/{bundle-BBIiHpWB.js.map → bundle-BhhLSKSz.js.map} +1 -1
- package/chunks/{bundle-DY70z44m.js → bundle-BiUltqE5.js} +33 -33
- package/chunks/{bundle-DY70z44m.js.map → bundle-BiUltqE5.js.map} +1 -1
- package/chunks/{bundle-DE6FtXLw.js → bundle-BmoSvBYM.js} +2 -2
- package/chunks/bundle-BmoSvBYM.js.map +1 -0
- package/chunks/{bundle-CdYBkjsA.js → bundle-Bokm7tQ9.js} +1 -1
- package/chunks/bundle-Bokm7tQ9.js.map +1 -0
- package/chunks/{bundle-BjLWi0FR.js → bundle-BpdtepPX.js} +1 -1
- package/chunks/bundle-BpdtepPX.js.map +1 -0
- package/chunks/{bundle-Bodsrtgn.js → bundle-BrBLR_c-.js} +5 -5
- package/chunks/{bundle-Bodsrtgn.js.map → bundle-BrBLR_c-.js.map} +1 -1
- package/chunks/{bundle-BcpczeF5.js → bundle-BtCCRSPc.js} +3 -3
- package/chunks/{bundle-BcpczeF5.js.map → bundle-BtCCRSPc.js.map} +1 -1
- package/chunks/{bundle-BtNwQ8Bf.js → bundle-BwvurfUT.js} +2 -2
- package/chunks/{bundle-BtNwQ8Bf.js.map → bundle-BwvurfUT.js.map} +1 -1
- package/chunks/{bundle-ExMX5-sC.js → bundle-BxzlMlCv.js} +3 -3
- package/chunks/bundle-BxzlMlCv.js.map +1 -0
- package/chunks/{bundle-4iMyv8rL.js → bundle-C-onA3TP.js} +1 -1
- package/chunks/bundle-C-onA3TP.js.map +1 -0
- package/chunks/{bundle-B9WM87iE.js → bundle-C1dqPUnT.js} +7 -3
- package/chunks/{bundle-B9WM87iE.js.map → bundle-C1dqPUnT.js.map} +1 -1
- package/chunks/{bundle-B2wqOmn3.js → bundle-C25g6A23.js} +5 -5
- package/chunks/{bundle-DcD-FILU.js.map → bundle-C25g6A23.js.map} +1 -1
- package/chunks/{bundle-DcD-FILU.js → bundle-C876LFzk.js} +4 -4
- package/chunks/{bundle-B2wqOmn3.js.map → bundle-C876LFzk.js.map} +1 -1
- package/chunks/{bundle-BCcSesWX.js → bundle-C8U5aHBw.js} +1 -1
- package/chunks/bundle-C8U5aHBw.js.map +1 -0
- package/chunks/{bundle-eJ-UusEp.js → bundle-C9akz570.js} +7 -7
- package/chunks/bundle-C9akz570.js.map +1 -0
- package/chunks/{bundle-BhVTrhDH.js → bundle-CAEBoiEz.js} +4 -4
- package/chunks/bundle-CAEBoiEz.js.map +1 -0
- package/chunks/{bundle-DLFRobAL.js → bundle-CIQCAe1h.js} +5 -5
- package/chunks/{bundle-BkQVRdgx.js.map → bundle-CIQCAe1h.js.map} +1 -1
- package/chunks/{bundle-Cfprk18z.js → bundle-CM73CDTO.js} +1 -1
- package/chunks/bundle-CM73CDTO.js.map +1 -0
- package/chunks/{bundle-B1vDwyVe.js → bundle-CMi8r50C.js} +1 -1
- package/chunks/bundle-CMi8r50C.js.map +1 -0
- package/chunks/{bundle-DkwziETx.js → bundle-CN_mZmg1.js} +7 -7
- package/chunks/{bundle-DkwziETx.js.map → bundle-CN_mZmg1.js.map} +1 -1
- package/chunks/{bundle-yh_rhV-v.js → bundle-CQ_-cyp9.js} +31 -10
- package/chunks/{bundle-CxlbHSYb.js.map → bundle-CQ_-cyp9.js.map} +1 -1
- package/chunks/{bundle-CxlbHSYb.js → bundle-CRpOTB7B.js} +54 -15
- package/chunks/bundle-CRpOTB7B.js.map +1 -0
- package/chunks/{bundle-BNN1I06d.js → bundle-CVD_LLYN.js} +14 -13
- package/chunks/{bundle-D2CsheME.js.map → bundle-CVD_LLYN.js.map} +1 -1
- package/chunks/{bundle-BaDSfPc2.js → bundle-Cc1gzgza.js} +1 -1
- package/chunks/bundle-Cc1gzgza.js.map +1 -0
- package/chunks/{bundle-BrXCxpq-.js → bundle-Ck6kmFoK.js} +2 -2
- package/chunks/{bundle-BrXCxpq-.js.map → bundle-Ck6kmFoK.js.map} +1 -1
- package/chunks/{bundle-DL6YPZS8.js → bundle-Cl9rtdlj.js} +2 -2
- package/chunks/{bundle-DL6YPZS8.js.map → bundle-Cl9rtdlj.js.map} +1 -1
- package/chunks/{bundle-IZT8GYVx.js → bundle-CmmJVpwV.js} +120 -39
- package/{cjs/chunks/bundle-DN33FixM.js.map → chunks/bundle-CmmJVpwV.js.map} +1 -1
- package/chunks/{bundle-DypQPtk9.js → bundle-CnnonhFO.js} +12 -12
- package/chunks/bundle-CnnonhFO.js.map +1 -0
- package/chunks/{bundle-Dwcu4WDN.js → bundle-Coe_wsHL.js} +4 -4
- package/chunks/bundle-Coe_wsHL.js.map +1 -0
- package/chunks/{bundle-ClaUOmc5.js → bundle-CqLLOVG5.js} +2 -2
- package/chunks/bundle-CqLLOVG5.js.map +1 -0
- package/chunks/{bundle-CO-raWw1.js → bundle-CtQtfJlT.js} +8 -8
- package/chunks/bundle-CtQtfJlT.js.map +1 -0
- package/chunks/{bundle-CmtsvUbO.js → bundle-CvsU5rx0.js} +8 -8
- package/chunks/{bundle-CmtsvUbO.js.map → bundle-CvsU5rx0.js.map} +1 -1
- package/chunks/{bundle-D2vnvNzv.js → bundle-CzwYTfhQ.js} +3 -3
- package/chunks/bundle-CzwYTfhQ.js.map +1 -0
- package/chunks/{bundle-CUGxWHRO.js → bundle-D1OvmDcy.js} +7 -7
- package/chunks/bundle-D1OvmDcy.js.map +1 -0
- package/chunks/{bundle-CzRkg0IM.js → bundle-D1nuDKhb.js} +1 -1
- package/chunks/bundle-D1nuDKhb.js.map +1 -0
- package/chunks/{bundle-hX6wE_5D.js → bundle-D5hQctFB.js} +12 -12
- package/chunks/{bundle-hX6wE_5D.js.map → bundle-D5hQctFB.js.map} +1 -1
- package/chunks/{bundle-BJP26iyF.js → bundle-D6b2YGeE.js} +1 -1
- package/chunks/bundle-D6b2YGeE.js.map +1 -0
- package/chunks/{bundle-DPQUP26z.js → bundle-DBhJIxHw.js} +1 -1
- package/chunks/bundle-DBhJIxHw.js.map +1 -0
- package/chunks/{bundle-RuHd2ZCg.js → bundle-DEuCwnTn.js} +1 -1
- package/chunks/{bundle-RuHd2ZCg.js.map → bundle-DEuCwnTn.js.map} +1 -1
- package/chunks/{bundle-tjQ6eCtV.js → bundle-DFni3Lhf.js} +3 -3
- package/chunks/bundle-DFni3Lhf.js.map +1 -0
- package/chunks/{bundle-FheET-Q4.js → bundle-DGh2T5IL.js} +1 -1
- package/chunks/bundle-DGh2T5IL.js.map +1 -0
- package/chunks/{bundle-DI0o43ul.js → bundle-DK3-aB7E.js} +1 -1
- package/chunks/{bundle-DI0o43ul.js.map → bundle-DK3-aB7E.js.map} +1 -1
- package/chunks/{bundle-DaubzkRs.js → bundle-DP--Jqg5.js} +9 -9
- package/chunks/{bundle-DaubzkRs.js.map → bundle-DP--Jqg5.js.map} +1 -1
- package/chunks/{bundle-DYb4lS8f.js → bundle-DS1Ocu-E.js} +3 -3
- package/chunks/{bundle-DYb4lS8f.js.map → bundle-DS1Ocu-E.js.map} +1 -1
- package/chunks/{bundle-CchdgpX6.js → bundle-DTnxJ2qz.js} +4 -4
- package/chunks/{bundle-CchdgpX6.js.map → bundle-DTnxJ2qz.js.map} +1 -1
- package/chunks/{bundle-CLGhkTnf.js → bundle-DZ3gQWc4.js} +4 -4
- package/chunks/bundle-DZ3gQWc4.js.map +1 -0
- package/chunks/{bundle-DRWMVBdn.js → bundle-DcLgcUpC.js} +4 -4
- package/chunks/bundle-DcLgcUpC.js.map +1 -0
- package/chunks/{bundle-DoS7oWHM.js → bundle-Del33VzI.js} +4 -4
- package/chunks/bundle-Del33VzI.js.map +1 -0
- package/chunks/{bundle-C7Yokt84.js → bundle-DfS7BDcp.js} +3 -3
- package/chunks/bundle-DfS7BDcp.js.map +1 -0
- package/chunks/{bundle-BI4FzGRR.js → bundle-DgosLQK9.js} +1 -1
- package/chunks/bundle-DgosLQK9.js.map +1 -0
- package/chunks/{bundle-Bza4PDR2.js → bundle-Dl_v8XoN.js} +1 -1
- package/chunks/bundle-Dl_v8XoN.js.map +1 -0
- package/chunks/{bundle-Debhp7OQ.js → bundle-Du8ejYW1.js} +12 -12
- package/chunks/bundle-Du8ejYW1.js.map +1 -0
- package/chunks/{bundle-CIo_6h4w.js → bundle-HVqdm8Dj.js} +5 -5
- package/chunks/{bundle-CIo_6h4w.js.map → bundle-HVqdm8Dj.js.map} +1 -1
- package/chunks/{bundle-Iw_NfQB-.js → bundle-Ha1krmtK.js} +1 -1
- package/chunks/bundle-Ha1krmtK.js.map +1 -0
- package/chunks/{bundle-DGhqcmbm.js → bundle-HwtLrcpn.js} +5 -5
- package/chunks/{bundle-DGhqcmbm.js.map → bundle-HwtLrcpn.js.map} +1 -1
- package/chunks/{bundle-P5nwZD8V.js → bundle-MlG9piGf.js} +1 -1
- package/chunks/bundle-MlG9piGf.js.map +1 -0
- package/chunks/{bundle-DRWzTTjk.js → bundle-NFCMnKfj.js} +4 -4
- package/chunks/bundle-NFCMnKfj.js.map +1 -0
- package/chunks/{bundle-B9NM2q6d.js → bundle-PH_M6LwR.js} +1 -1
- package/chunks/bundle-PH_M6LwR.js.map +1 -0
- package/chunks/{bundle-BdByFEV1.js → bundle-So54Aj7k.js} +6 -6
- package/chunks/bundle-So54Aj7k.js.map +1 -0
- package/chunks/{bundle-BwF929NT.js → bundle-XQQB24FY.js} +11 -11
- package/chunks/{bundle-BwF929NT.js.map → bundle-XQQB24FY.js.map} +1 -1
- package/chunks/bundle-YKDbjcG6.js +22 -0
- package/chunks/bundle-YKDbjcG6.js.map +1 -0
- package/chunks/{bundle-DaUBVpp-.js → bundle-a_zBi15q.js} +16 -16
- package/chunks/{bundle-DaUBVpp-.js.map → bundle-a_zBi15q.js.map} +1 -1
- package/chunks/{bundle-CmwzHSrB.js → bundle-c7SN5XJA.js} +6 -6
- package/chunks/bundle-c7SN5XJA.js.map +1 -0
- package/chunks/{bundle-B4vASmiS.js → bundle-fdEQfX2s.js} +1 -1
- package/chunks/{bundle-B4vASmiS.js.map → bundle-fdEQfX2s.js.map} +1 -1
- package/chunks/{bundle-DfIuos0r.js → bundle-g_iPnYTz.js} +10 -10
- package/chunks/bundle-g_iPnYTz.js.map +1 -0
- package/chunks/{bundle-BIwdGWMT.js → bundle-h6bAY7E9.js} +3 -3
- package/chunks/bundle-h6bAY7E9.js.map +1 -0
- package/chunks/{bundle-q9ddBKNI.js → bundle-i_3w58Zd.js} +4 -4
- package/chunks/bundle-i_3w58Zd.js.map +1 -0
- package/chunks/{bundle-d5LRZz0u.js → bundle-mGsud0ec.js} +3 -3
- package/chunks/{bundle-d5LRZz0u.js.map → bundle-mGsud0ec.js.map} +1 -1
- package/chunks/{bundle-BkQVRdgx.js → bundle-sf0POh6_.js} +10 -10
- package/{cjs/chunks/bundle-cNHhPSGz.js.map → chunks/bundle-sf0POh6_.js.map} +1 -1
- package/chunks/{bundle-C1GT9VW0.js → bundle-viBng0Kh.js} +3 -3
- package/chunks/bundle-viBng0Kh.js.map +1 -0
- package/chunks/{bundle-DPyYquOn.js → bundle-vmZ9LoYK.js} +7 -7
- package/chunks/{bundle-DPyYquOn.js.map → bundle-vmZ9LoYK.js.map} +1 -1
- package/chunks/{bundle-BygaXL5p.js → bundle-xxejwSP0.js} +17 -15
- package/chunks/{bundle-BygaXL5p.js.map → bundle-xxejwSP0.js.map} +1 -1
- package/chunks/{bundle-Cc3I5CYX.js → bundle-yl5d1NoZ.js} +2 -2
- package/chunks/{bundle-Cc3I5CYX.js.map → bundle-yl5d1NoZ.js.map} +1 -1
- package/cjs/App.js +89 -88
- package/cjs/App.js.map +1 -1
- package/cjs/Channel/components/ChannelHeader.js +34 -32
- package/cjs/Channel/components/ChannelHeader.js.map +1 -1
- package/cjs/Channel/components/ChannelUI.js +69 -68
- package/cjs/Channel/components/ChannelUI.js.map +1 -1
- package/cjs/Channel/components/FileViewer.js +32 -30
- package/cjs/Channel/components/FileViewer.js.map +1 -1
- package/cjs/Channel/components/FrozenNotification.js +6 -6
- package/cjs/Channel/components/Message.js +58 -57
- package/cjs/Channel/components/Message.js.map +1 -1
- package/cjs/Channel/components/MessageInput.js +45 -43
- package/cjs/Channel/components/MessageInput.js.map +1 -1
- package/cjs/Channel/components/MessageInputWrapper.js +45 -43
- package/cjs/Channel/components/MessageInputWrapper.js.map +1 -1
- package/cjs/Channel/components/MessageList.js +62 -61
- package/cjs/Channel/components/MessageList.js.map +1 -1
- package/cjs/Channel/components/RemoveMessageModal.js +31 -29
- package/cjs/Channel/components/RemoveMessageModal.js.map +1 -1
- package/cjs/Channel/components/SuggestedMentionList.js +31 -29
- package/cjs/Channel/components/SuggestedMentionList.js.map +1 -1
- package/cjs/Channel/components/TypingIndicator.js +9 -9
- package/cjs/Channel/components/UnreadCount.js +8 -8
- package/cjs/Channel/context.js +123 -94
- package/cjs/Channel/context.js.map +1 -1
- package/cjs/Channel/hooks/useHandleUploadFiles.js +18 -18
- package/cjs/Channel/hooks/useInitialMessagesFetch.js +8 -8
- package/cjs/Channel/utils/compareMessagesForGrouping.js +8 -8
- package/cjs/Channel/utils/getMessagePartsInfo.js +12 -10
- package/cjs/Channel/utils/getMessagePartsInfo.js.map +1 -1
- package/cjs/Channel.js +69 -68
- package/cjs/Channel.js.map +1 -1
- package/cjs/ChannelList/components/AddChannel.js +89 -88
- package/cjs/ChannelList/components/AddChannel.js.map +1 -1
- package/cjs/ChannelList/components/ChannelListHeader.js +13 -13
- package/cjs/ChannelList/components/ChannelListUI.js +89 -88
- package/cjs/ChannelList/components/ChannelListUI.js.map +1 -1
- package/cjs/ChannelList/components/ChannelPreview.js +32 -32
- package/cjs/ChannelList/components/ChannelPreviewAction.js +17 -17
- package/cjs/ChannelList/context.js +14 -14
- package/cjs/ChannelList.js +89 -88
- package/cjs/ChannelList.js.map +1 -1
- package/cjs/ChannelSettings/components/ChannelProfile.js +23 -23
- package/cjs/ChannelSettings/components/ChannelSettingMenuList.js +14 -14
- package/cjs/ChannelSettings/components/ChannelSettingsHeader.js +11 -11
- package/cjs/ChannelSettings/components/ChannelSettingsMenuItem.js +2 -2
- package/cjs/ChannelSettings/components/ChannelSettingsUI.js +31 -31
- package/cjs/ChannelSettings/components/EditDetailsModal.js +19 -19
- package/cjs/ChannelSettings/components/LeaveChannel.js +20 -20
- package/cjs/ChannelSettings/components/ModerationPanel.js +29 -29
- package/cjs/ChannelSettings/components/UserListItem.js +19 -19
- package/cjs/ChannelSettings/components/UserPanel.js +28 -28
- package/cjs/ChannelSettings/context.js +9 -9
- package/cjs/ChannelSettings/hooks/useMenuList.js +29 -29
- package/cjs/ChannelSettings.js +31 -31
- package/cjs/CreateChannel/components/CreateChannelUI.js +89 -88
- package/cjs/CreateChannel/components/CreateChannelUI.js.map +1 -1
- package/cjs/CreateChannel/components/InviteUsers.js +89 -88
- package/cjs/CreateChannel/components/InviteUsers.js.map +1 -1
- package/cjs/CreateChannel/components/SelectChannelType.js +90 -89
- package/cjs/CreateChannel/components/SelectChannelType.js.map +1 -1
- package/cjs/CreateChannel/context.js +89 -88
- package/cjs/CreateChannel/context.js.map +1 -1
- package/cjs/CreateChannel.js +89 -88
- package/cjs/CreateChannel.js.map +1 -1
- package/cjs/CreateOpenChannel/components/CreateOpenChannelUI.js +15 -15
- package/cjs/CreateOpenChannel/context.js +4 -4
- package/cjs/CreateOpenChannel.js +15 -15
- package/cjs/EditUserProfile/components/EditUserProfileUI.js +15 -15
- package/cjs/EditUserProfile/context.js +1 -1
- package/cjs/EditUserProfile.js +15 -15
- package/cjs/GroupChannel/components/FileViewer.js +29 -29
- package/cjs/GroupChannel/components/FrozenNotification.js +6 -6
- package/cjs/GroupChannel/components/GroupChannelHeader.js +29 -29
- package/cjs/GroupChannel/components/GroupChannelUI.js +63 -63
- package/cjs/GroupChannel/components/Message.js +56 -56
- package/cjs/GroupChannel/components/MessageInputWrapper.js +40 -40
- package/cjs/GroupChannel/components/MessageList.js +206 -72
- package/cjs/GroupChannel/components/MessageList.js.map +1 -1
- package/cjs/GroupChannel/components/RemoveMessageModal.js +27 -27
- package/cjs/GroupChannel/components/SuggestedMentionList.js +15 -15
- package/cjs/GroupChannel/components/TypingIndicator.js +9 -9
- package/cjs/GroupChannel/components/UnreadCount.js +8 -8
- package/cjs/GroupChannel/context.js +15 -15
- package/cjs/GroupChannel.js +63 -63
- package/cjs/GroupChannelList/components/AddGroupChannel.js +89 -88
- package/cjs/GroupChannelList/components/AddGroupChannel.js.map +1 -1
- package/cjs/GroupChannelList/components/GroupChannelListHeader.js +13 -13
- package/cjs/GroupChannelList/components/GroupChannelListItem.js +32 -32
- package/cjs/GroupChannelList/components/GroupChannelListUI.js +90 -89
- package/cjs/GroupChannelList/components/GroupChannelListUI.js.map +1 -1
- package/cjs/GroupChannelList/components/GroupChannelPreviewAction.js +17 -17
- package/cjs/GroupChannelList/context.js +10 -10
- package/cjs/GroupChannelList.js +89 -88
- package/cjs/GroupChannelList.js.map +1 -1
- package/cjs/MessageSearch/components/MessageSearchUI.js +20 -20
- package/cjs/MessageSearch/context.js +6 -6
- package/cjs/MessageSearch.js +22 -22
- package/cjs/OpenChannel/components/FrozenChannelNotification.js +5 -5
- package/cjs/OpenChannel/components/OpenChannelHeader.js +20 -20
- package/cjs/OpenChannel/components/OpenChannelInput.js +29 -29
- package/cjs/OpenChannel/components/OpenChannelMessage.js +39 -39
- package/cjs/OpenChannel/components/OpenChannelMessageList.js +43 -43
- package/cjs/OpenChannel/components/OpenChannelUI.js +43 -43
- package/cjs/OpenChannel/context.js +19 -19
- package/cjs/OpenChannel.js +43 -43
- package/cjs/OpenChannelList/components/OpenChannelListUI.js +17 -17
- package/cjs/OpenChannelList/components/OpenChannelPreview.js +6 -6
- package/cjs/OpenChannelList/context.js +6 -6
- package/cjs/OpenChannelList.js +17 -17
- package/cjs/OpenChannelSettings/components/EditDetailsModal.js +18 -18
- package/cjs/OpenChannelSettings/components/OpenChannelProfile.js +18 -18
- package/cjs/OpenChannelSettings/components/OpenChannelSettingsUI.js +24 -24
- package/cjs/OpenChannelSettings/components/OperatorUI.js +24 -24
- package/cjs/OpenChannelSettings/components/ParticipantUI.js +22 -22
- package/cjs/OpenChannelSettings/context.js +6 -6
- package/cjs/OpenChannelSettings.js +24 -24
- package/cjs/SendbirdProvider.js +34 -49
- package/cjs/SendbirdProvider.js.map +1 -1
- package/cjs/Thread/components/ParentMessageInfo.js +49 -49
- package/cjs/Thread/components/ParentMessageInfoItem.js +34 -34
- package/cjs/Thread/components/ThreadHeader.js +8 -8
- package/cjs/Thread/components/ThreadList.js +56 -56
- package/cjs/Thread/components/ThreadListItem.js +56 -56
- package/cjs/Thread/components/ThreadMessageInput.js +46 -46
- package/cjs/Thread/components/ThreadUI.js +62 -62
- package/cjs/Thread/context.js +15 -15
- package/cjs/Thread.js +62 -62
- package/cjs/VoicePlayer/context.js +6 -6
- package/cjs/VoicePlayer/useVoicePlayer.js +14 -14
- package/cjs/VoiceRecorder/context.js +13 -13
- package/cjs/VoiceRecorder/useVoiceRecorder.js +12 -12
- package/cjs/chunks/{bundle-CeXeJFhP.js → bundle-19BZVS4G.js} +1 -1
- package/cjs/chunks/bundle-19BZVS4G.js.map +1 -0
- package/cjs/chunks/{bundle-DWyP7Ln4.js → bundle-2PCdBxVA.js} +1 -1
- package/cjs/chunks/bundle-2PCdBxVA.js.map +1 -0
- package/cjs/chunks/{bundle-CZF0eYCK.js → bundle-8juyGk3c.js} +6 -6
- package/cjs/chunks/bundle-8juyGk3c.js.map +1 -0
- package/cjs/chunks/{bundle-m7OSJz-r.js → bundle-B19RHFpR.js} +4 -3
- package/cjs/chunks/{bundle-m7OSJz-r.js.map → bundle-B19RHFpR.js.map} +1 -1
- package/cjs/chunks/{bundle-Bf5ejboi.js → bundle-B2b-r84m.js} +3 -3
- package/cjs/chunks/bundle-B2b-r84m.js.map +1 -0
- package/cjs/chunks/{bundle-DHcMGBjJ.js → bundle-B4ZDxwge.js} +8 -8
- package/cjs/chunks/{bundle-DMRJszP_.js.map → bundle-B4ZDxwge.js.map} +1 -1
- package/cjs/chunks/{bundle-BE757tKv.js → bundle-B78tdF27.js} +3 -3
- package/cjs/chunks/bundle-B78tdF27.js.map +1 -0
- package/cjs/chunks/{bundle-dJSqzDl8.js → bundle-B7KG10z2.js} +4 -4
- package/cjs/chunks/bundle-B7KG10z2.js.map +1 -0
- package/cjs/chunks/{bundle-CUmbwwRx.js → bundle-B7tlFbQZ.js} +10 -10
- package/cjs/chunks/{bundle-CUmbwwRx.js.map → bundle-B7tlFbQZ.js.map} +1 -1
- package/cjs/chunks/{bundle-C9Ek6NtK.js → bundle-B9fRtMCR.js} +4 -4
- package/cjs/chunks/bundle-B9fRtMCR.js.map +1 -0
- package/cjs/chunks/{bundle-CmeMJxeb.js → bundle-BC4SHck9.js} +17 -15
- package/cjs/chunks/bundle-BC4SHck9.js.map +1 -0
- package/cjs/chunks/{bundle-BzbvCQPE.js → bundle-BG0LKEPR.js} +5 -5
- package/cjs/chunks/{bundle-BzbvCQPE.js.map → bundle-BG0LKEPR.js.map} +1 -1
- package/cjs/chunks/{bundle-SGpUasmZ.js → bundle-BHp3N9Mz.js} +5 -5
- package/cjs/chunks/{bundle-SGpUasmZ.js.map → bundle-BHp3N9Mz.js.map} +1 -1
- package/cjs/chunks/{bundle-cNHhPSGz.js → bundle-BLLzQxHS.js} +5 -5
- package/cjs/chunks/bundle-BLLzQxHS.js.map +1 -0
- package/cjs/chunks/{bundle-BRRaudPQ.js → bundle-BLz2EOZ5.js} +1 -1
- package/cjs/chunks/bundle-BLz2EOZ5.js.map +1 -0
- package/cjs/chunks/{bundle-DgZ0_jtE.js → bundle-BPUhuptz.js} +1 -1
- package/cjs/chunks/bundle-BPUhuptz.js.map +1 -0
- package/cjs/chunks/{bundle-DvZkBioZ.js → bundle-BS4GiQtn.js} +1 -1
- package/cjs/chunks/bundle-BS4GiQtn.js.map +1 -0
- package/cjs/chunks/{bundle-CIjYa6CG.js → bundle-BaklVkXV.js} +10 -10
- package/cjs/chunks/bundle-BaklVkXV.js.map +1 -0
- package/cjs/chunks/{bundle-COwctOx9.js → bundle-BbrBawlX.js} +7 -3
- package/cjs/chunks/bundle-BbrBawlX.js.map +1 -0
- package/cjs/chunks/{bundle-ZYV0nwXX.js → bundle-BkgFGPs_.js} +1 -1
- package/cjs/chunks/bundle-BkgFGPs_.js.map +1 -0
- package/cjs/chunks/{bundle-vpR1VtKm.js → bundle-Bnb8seJF.js} +2 -2
- package/cjs/chunks/bundle-Bnb8seJF.js.map +1 -0
- package/cjs/chunks/{bundle-CKm7qDYV.js → bundle-Bomzwcdt.js} +1 -1
- package/cjs/chunks/bundle-Bomzwcdt.js.map +1 -0
- package/cjs/chunks/{bundle-DHoGPvtu.js → bundle-Bq15P9qk.js} +4 -4
- package/cjs/chunks/bundle-Bq15P9qk.js.map +1 -0
- package/cjs/chunks/{bundle-C6rZw4Si.js → bundle-Bslx22kt.js} +9 -9
- package/cjs/chunks/{bundle-C6rZw4Si.js.map → bundle-Bslx22kt.js.map} +1 -1
- package/cjs/chunks/{bundle-C1pS3XtL.js → bundle-Bt1qvip8.js} +1 -1
- package/cjs/chunks/{bundle-C1pS3XtL.js.map → bundle-Bt1qvip8.js.map} +1 -1
- package/cjs/chunks/{bundle-CzeSw_kf.js → bundle-Bvjprr6O.js} +1 -1
- package/cjs/chunks/bundle-Bvjprr6O.js.map +1 -0
- package/cjs/chunks/{bundle-BfowfMGA.js → bundle-BwwNS3QS.js} +1 -1
- package/cjs/chunks/bundle-BwwNS3QS.js.map +1 -0
- package/cjs/chunks/{bundle-BUmN3EqF.js → bundle-BzCZ_Let.js} +12 -12
- package/cjs/chunks/bundle-BzCZ_Let.js.map +1 -0
- package/cjs/chunks/{bundle-DN33FixM.js → bundle-C0RMVFg8.js} +120 -39
- package/{chunks/bundle-IZT8GYVx.js.map → cjs/chunks/bundle-C0RMVFg8.js.map} +1 -1
- package/cjs/chunks/{bundle-C-M_gAqm.js → bundle-C5D9vwVf.js} +4 -4
- package/cjs/chunks/bundle-C5D9vwVf.js.map +1 -0
- package/cjs/chunks/{bundle-1xkZXP5V.js → bundle-C5p82xwC.js} +3 -3
- package/cjs/chunks/bundle-C5p82xwC.js.map +1 -0
- package/cjs/chunks/bundle-C6rru8Hj.js +24 -0
- package/cjs/chunks/bundle-C6rru8Hj.js.map +1 -0
- package/cjs/chunks/{bundle-ODGXXyhJ.js → bundle-C8INNeGk.js} +1 -1
- package/cjs/chunks/bundle-C8INNeGk.js.map +1 -0
- package/cjs/chunks/{bundle-DTWU-Vq1.js → bundle-C99t7tzf.js} +1 -1
- package/cjs/chunks/bundle-C99t7tzf.js.map +1 -0
- package/cjs/chunks/{bundle-CuE1oE9C.js → bundle-CHAKEXIJ.js} +3 -3
- package/cjs/chunks/{bundle-CuE1oE9C.js.map → bundle-CHAKEXIJ.js.map} +1 -1
- package/cjs/chunks/{bundle-B_IV_G9J.js → bundle-CNwwuHHA.js} +4 -4
- package/cjs/chunks/bundle-CNwwuHHA.js.map +1 -0
- package/cjs/chunks/{bundle-BbEatRUZ.js → bundle-COgAaDxc.js} +6 -6
- package/cjs/chunks/bundle-COgAaDxc.js.map +1 -0
- package/cjs/chunks/{bundle-D_UMNfoe.js → bundle-CPW__Nwr.js} +3 -3
- package/cjs/chunks/bundle-CPW__Nwr.js.map +1 -0
- package/cjs/chunks/{bundle-DMRJszP_.js → bundle-CPoi7VvJ.js} +53 -14
- package/cjs/chunks/bundle-CPoi7VvJ.js.map +1 -0
- package/cjs/chunks/{bundle-Bob6o9tQ.js → bundle-CSwFibbo.js} +9 -9
- package/cjs/chunks/{bundle-Bob6o9tQ.js.map → bundle-CSwFibbo.js.map} +1 -1
- package/cjs/chunks/{bundle-B_EJgRJD.js → bundle-CVJwHwWn.js} +1 -1
- package/cjs/chunks/{bundle-B_EJgRJD.js.map → bundle-CVJwHwWn.js.map} +1 -1
- package/cjs/chunks/{bundle-lh-EzNyM.js → bundle-CX7K4z2J.js} +4 -4
- package/cjs/chunks/bundle-CX7K4z2J.js.map +1 -0
- package/cjs/chunks/{bundle-DATFC0E8.js → bundle-CXbYckbN.js} +1 -1
- package/cjs/chunks/bundle-CXbYckbN.js.map +1 -0
- package/cjs/chunks/{bundle-DLWv0Bfo.js → bundle-CYACBqrn.js} +14 -13
- package/cjs/chunks/{bundle-DLWv0Bfo.js.map → bundle-CYACBqrn.js.map} +1 -1
- package/cjs/chunks/{bundle-CKMUe2Il.js → bundle-CZ38Etcw.js} +1 -1
- package/cjs/chunks/bundle-CZ38Etcw.js.map +1 -0
- package/cjs/chunks/{bundle-DivaNE7P.js → bundle-Cfh78Xnm.js} +1 -1
- package/cjs/chunks/bundle-Cfh78Xnm.js.map +1 -0
- package/cjs/chunks/{bundle-CX5IsWff.js → bundle-CiIV14jC.js} +12 -12
- package/cjs/chunks/bundle-CiIV14jC.js.map +1 -0
- package/cjs/chunks/{bundle-Bwzi3QPW.js → bundle-CkQrhwR6.js} +1 -1
- package/cjs/chunks/bundle-CkQrhwR6.js.map +1 -0
- package/cjs/chunks/{bundle-B3FXQ2Tv.js → bundle-Conb-pOy.js} +1 -1
- package/cjs/chunks/{bundle-B3FXQ2Tv.js.map → bundle-Conb-pOy.js.map} +1 -1
- package/cjs/chunks/{bundle-Bvh4Rdtz.js → bundle-CvzQ7oQz.js} +2 -2
- package/cjs/chunks/bundle-CvzQ7oQz.js.map +1 -0
- package/cjs/chunks/{bundle-BwBcV8q1.js → bundle-CxArG0ag.js} +2 -2
- package/cjs/chunks/bundle-CxArG0ag.js.map +1 -0
- package/cjs/chunks/{bundle-DjwXtb4A.js → bundle-Cyl6_qLo.js} +1 -1
- package/cjs/chunks/{bundle-DjwXtb4A.js.map → bundle-Cyl6_qLo.js.map} +1 -1
- package/cjs/chunks/{bundle-CYZAriK2.js → bundle-CzkEKbFB.js} +2 -2
- package/cjs/chunks/bundle-CzkEKbFB.js.map +1 -0
- package/cjs/chunks/{bundle-9gPTkX-g.js → bundle-D1yaNUXR.js} +4 -4
- package/cjs/chunks/bundle-D1yaNUXR.js.map +1 -0
- package/cjs/chunks/{bundle-DpK5fRLi.js → bundle-D36T0dOY.js} +3 -3
- package/cjs/chunks/bundle-D36T0dOY.js.map +1 -0
- package/cjs/chunks/{bundle-CnzzsH6a.js → bundle-D8HbGJZJ.js} +1 -1
- package/cjs/chunks/bundle-D8HbGJZJ.js.map +1 -0
- package/cjs/chunks/{bundle-DAZMzxUL.js → bundle-D9d0Qum8.js} +3 -3
- package/cjs/chunks/bundle-D9d0Qum8.js.map +1 -0
- package/cjs/chunks/{bundle-D7MJRfDI.js → bundle-DAdgL6r8.js} +1 -1
- package/cjs/chunks/bundle-DAdgL6r8.js.map +1 -0
- package/cjs/chunks/{bundle-DrOZS9jL.js → bundle-DBHia8pg.js} +7 -7
- package/cjs/chunks/bundle-DBHia8pg.js.map +1 -0
- package/cjs/chunks/{bundle-4GZpNnMt.js → bundle-DGV1BX0m.js} +7 -7
- package/cjs/chunks/{bundle-4GZpNnMt.js.map → bundle-DGV1BX0m.js.map} +1 -1
- package/cjs/chunks/{bundle-DAL6Y--L.js → bundle-DGb1FlkJ.js} +7 -4
- package/cjs/chunks/bundle-DGb1FlkJ.js.map +1 -0
- package/cjs/chunks/{bundle-n2idgBee.js → bundle-DHuNGmIj.js} +1 -1
- package/cjs/chunks/bundle-DHuNGmIj.js.map +1 -0
- package/cjs/chunks/{bundle-DUBIkN2G.js → bundle-DNv-S_8I.js} +1 -1
- package/cjs/chunks/bundle-DNv-S_8I.js.map +1 -0
- package/cjs/chunks/{bundle-CmjgA2nm.js → bundle-DO5FgbkI.js} +8 -8
- package/cjs/chunks/bundle-DO5FgbkI.js.map +1 -0
- package/cjs/chunks/{bundle-DbBt-U5A.js → bundle-DPDyqKIJ.js} +4 -4
- package/cjs/chunks/bundle-DPDyqKIJ.js.map +1 -0
- package/cjs/chunks/{bundle-Dik18nKA.js → bundle-DQaXgp8o.js} +2 -2
- package/cjs/chunks/{bundle-Dik18nKA.js.map → bundle-DQaXgp8o.js.map} +1 -1
- package/cjs/chunks/{bundle-BFqDu77k.js → bundle-DR7HusBx.js} +1 -1
- package/cjs/chunks/bundle-DR7HusBx.js.map +1 -0
- package/cjs/chunks/{bundle-1D9cnd5F.js → bundle-DUH3w6Kc.js} +33 -33
- package/cjs/chunks/{bundle-1D9cnd5F.js.map → bundle-DUH3w6Kc.js.map} +1 -1
- package/cjs/chunks/{bundle-CkcnoBm7.js → bundle-DX8YvrpL.js} +11 -11
- package/cjs/chunks/{bundle-CkcnoBm7.js.map → bundle-DX8YvrpL.js.map} +1 -1
- package/cjs/chunks/{bundle-DIxr8pTL.js → bundle-DXySM280.js} +16 -16
- package/cjs/chunks/{bundle-DIxr8pTL.js.map → bundle-DXySM280.js.map} +1 -1
- package/cjs/chunks/{bundle-YT4lzINs.js → bundle-DYon6O60.js} +14 -14
- package/cjs/chunks/{bundle-YT4lzINs.js.map → bundle-DYon6O60.js.map} +1 -1
- package/cjs/chunks/{bundle-BgrHmV0D.js → bundle-DZlJeh0V.js} +8 -8
- package/cjs/chunks/bundle-DZlJeh0V.js.map +1 -0
- package/cjs/chunks/{bundle-DrVsIHPY.js → bundle-Dhgx-4nj.js} +3 -3
- package/cjs/chunks/bundle-Dhgx-4nj.js.map +1 -0
- package/cjs/chunks/{bundle-BagReBtY.js → bundle-Dj4TnPsk.js} +7 -7
- package/cjs/chunks/bundle-Dj4TnPsk.js.map +1 -0
- package/cjs/chunks/{bundle-DIVV4uGd.js → bundle-Dobj18FB.js} +1 -1
- package/cjs/chunks/{bundle-DIVV4uGd.js.map → bundle-Dobj18FB.js.map} +1 -1
- package/cjs/chunks/{bundle-OcZpFAI2.js → bundle-DsPceGve.js} +4 -4
- package/cjs/chunks/bundle-DsPceGve.js.map +1 -0
- package/cjs/chunks/{bundle-CvX2lULC.js → bundle-DurllD3r.js} +1 -1
- package/cjs/chunks/bundle-DurllD3r.js.map +1 -0
- package/cjs/chunks/{bundle-yvA8mVvL.js → bundle-Fv6PNPGZ.js} +1 -1
- package/cjs/chunks/bundle-Fv6PNPGZ.js.map +1 -0
- package/cjs/chunks/{bundle-D_dQwbeh.js → bundle-KzwW_H6y.js} +5 -5
- package/cjs/chunks/bundle-KzwW_H6y.js.map +1 -0
- package/cjs/chunks/{bundle-CZN0hRTC.js → bundle-PVDrKOjZ.js} +2 -2
- package/cjs/chunks/bundle-PVDrKOjZ.js.map +1 -0
- package/cjs/chunks/{bundle-Co3RDPK8.js → bundle-VChMoNJa.js} +4 -4
- package/cjs/chunks/{bundle-Co3RDPK8.js.map → bundle-VChMoNJa.js.map} +1 -1
- package/cjs/chunks/{bundle-DT4Jubif.js → bundle-VKi81862.js} +7 -7
- package/cjs/chunks/bundle-VKi81862.js.map +1 -0
- package/cjs/chunks/{bundle-CLdoei-Z.js → bundle-Y-wq3CF0.js} +31 -10
- package/cjs/chunks/{bundle-DHcMGBjJ.js.map → bundle-Y-wq3CF0.js.map} +1 -1
- package/cjs/chunks/{bundle-BtOiexkT.js → bundle-Yq_R9TAN.js} +1 -1
- package/cjs/chunks/bundle-Yq_R9TAN.js.map +1 -0
- package/cjs/chunks/{bundle-DWFsWeVr.js → bundle-dUH189qO.js} +1 -1
- package/cjs/chunks/bundle-dUH189qO.js.map +1 -0
- package/cjs/chunks/{bundle-CwOT98Nu.js → bundle-djxmZVvC.js} +2 -2
- package/cjs/chunks/bundle-djxmZVvC.js.map +1 -0
- package/cjs/chunks/{bundle-Dve2Llpg.js → bundle-fYxs1lss.js} +6 -6
- package/cjs/chunks/{bundle-Dve2Llpg.js.map → bundle-fYxs1lss.js.map} +1 -1
- package/cjs/chunks/{bundle-D0fvUv8J.js → bundle-loh9z8L6.js} +5 -5
- package/cjs/chunks/{bundle-D0fvUv8J.js.map → bundle-loh9z8L6.js.map} +1 -1
- package/cjs/chunks/{bundle-BGhotUV4.js → bundle-ptQgj0WJ.js} +4 -4
- package/cjs/chunks/{bundle-BGhotUV4.js.map → bundle-ptQgj0WJ.js.map} +1 -1
- package/cjs/chunks/{bundle-SFB88awK.js → bundle-t8BQsgL5.js} +1 -1
- package/cjs/chunks/bundle-t8BQsgL5.js.map +1 -0
- package/cjs/chunks/{bundle-BByyHwHI.js → bundle-xIRA27JP.js} +12 -12
- package/cjs/chunks/{bundle-BByyHwHI.js.map → bundle-xIRA27JP.js.map} +1 -1
- package/cjs/chunks/{bundle-Cu969try.js → bundle-zgmRG2KL.js} +3 -3
- package/cjs/chunks/{bundle-Cu969try.js.map → bundle-zgmRG2KL.js.map} +1 -1
- package/cjs/hooks/useConnectionState.js +5 -5
- package/cjs/hooks/useLocalization.js +4 -4
- package/cjs/hooks/useModal.js +13 -13
- package/cjs/index.js +90 -89
- 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 +2 -2
- package/cjs/ui/AccordionGroup.js +1 -1
- package/cjs/ui/AdminMessage.js +3 -3
- package/cjs/ui/Avatar.js +4 -4
- package/cjs/ui/Badge.js +5 -5
- package/cjs/ui/BottomSheet.js +13 -13
- package/cjs/ui/Button.js +3 -3
- package/cjs/ui/ChannelAvatar.js +5 -5
- package/cjs/ui/ConnectionStatus.js +6 -6
- package/cjs/ui/ContextMenu.js +14 -14
- package/cjs/ui/DateSeparator.js +4 -4
- package/cjs/ui/EmojiReactions.js +23 -23
- package/cjs/ui/FallbackTemplateMessageItemBody.tsx.js +10 -10
- package/cjs/ui/FileMessageItemBody.js +13 -13
- package/cjs/ui/FileViewer.js +19 -19
- package/cjs/ui/Header.js +6 -6
- package/cjs/ui/Icon.js +279 -242
- package/cjs/ui/Icon.js.map +1 -1
- package/cjs/ui/IconButton.js +1 -1
- package/cjs/ui/ImageRenderer.js +2 -2
- package/cjs/ui/Input.js +3 -3
- package/cjs/ui/Label.js +3 -3
- package/cjs/ui/LinkLabel.js +4 -4
- package/cjs/ui/Loader.js +2 -2
- package/cjs/ui/LoadingTemplateMessageItemBody.tsx.js +2 -2
- package/cjs/ui/MentionLabel.js +19 -19
- package/cjs/ui/MentionUserLabel.js +2 -2
- package/cjs/ui/MessageContent.js +46 -43
- package/cjs/ui/MessageContent.js.map +1 -1
- package/cjs/ui/MessageFeedbackFailedModal.js +13 -13
- package/cjs/ui/MessageFeedbackModal.js +13 -13
- package/cjs/ui/MessageInput/hooks/usePaste.js +7 -7
- package/cjs/ui/MessageInput.js +20 -20
- package/cjs/ui/MessageItemMenu.js +15 -15
- package/cjs/ui/MessageItemReactionMenu.js +16 -16
- package/cjs/ui/MessageMenu.js +16 -16
- package/cjs/ui/MessageSearchFileItem.js +17 -17
- package/cjs/ui/MessageSearchItem.js +12 -12
- package/cjs/ui/MessageStatus.js +15 -15
- package/cjs/ui/MessageTemplate.js +1 -1
- package/cjs/ui/MobileFeedbackMenu.js +13 -13
- package/cjs/ui/MobileMenu.js +73 -31
- package/cjs/ui/MobileMenu.js.map +1 -1
- package/cjs/ui/Modal.js +12 -12
- package/cjs/ui/MutedAvatarOverlay.js +2 -2
- package/cjs/ui/OGMessageItemBody.js +23 -23
- package/cjs/ui/OpenChannelAdminMessage.js +3 -3
- package/cjs/ui/OpenChannelAvatar.js +8 -8
- package/cjs/ui/OpenchannelConversationHeader.js +8 -8
- package/cjs/ui/OpenchannelFileMessage.js +24 -24
- package/cjs/ui/OpenchannelOGMessage.js +26 -26
- package/cjs/ui/OpenchannelThumbnailMessage.js +23 -23
- package/cjs/ui/OpenchannelUserMessage.js +24 -24
- package/cjs/ui/PlaceHolder.js +6 -6
- package/cjs/ui/PlaybackTime.js +3 -3
- package/cjs/ui/ProgressBar.js +1 -1
- package/cjs/ui/QuoteMessage.js +12 -12
- package/cjs/ui/QuoteMessageInput.js +12 -12
- package/cjs/ui/ReactionBadge.js +3 -3
- package/cjs/ui/ReactionButton.js +4 -4
- package/cjs/ui/SortByRow.js +2 -2
- package/cjs/ui/TemplateMessageItemBody.js +14 -14
- package/cjs/ui/TextButton.js +2 -2
- package/cjs/ui/TextMessageItemBody.js +22 -22
- package/cjs/ui/ThreadReplies.js +8 -8
- package/cjs/ui/ThumbnailMessageItemBody.js +10 -10
- package/cjs/ui/Toggle.js +4 -4
- package/cjs/ui/Tooltip.js +3 -3
- package/cjs/ui/TooltipWrapper.js +1 -1
- package/cjs/ui/TypingIndicatorBubble.js +4 -4
- package/cjs/ui/UnknownMessageItemBody.js +10 -10
- package/cjs/ui/UserListItem.js +19 -19
- package/cjs/ui/UserListItemMenu.js +16 -16
- package/cjs/ui/UserProfile.js +13 -13
- package/cjs/ui/VoiceMessageInput.js +9 -9
- package/cjs/ui/VoiceMessageItemBody.js +14 -14
- package/cjs/ui/Word.js +19 -19
- package/cjs/useSendbirdStateContext.js +4 -4
- package/cjs/utils/message/isVoiceMessage.js +6 -6
- package/cjs/withSendbird.js +24 -23
- package/cjs/withSendbird.js.map +1 -1
- package/dist/index.css +248 -0
- package/hooks/useConnectionState.js +5 -5
- package/hooks/useLocalization.js +4 -4
- package/hooks/useModal.js +14 -14
- package/index.js +90 -89
- package/index.js.map +1 -1
- package/package.json +2 -2
- package/pubSub/topics.js +1 -1
- package/sendbirdSelectors.js +2 -2
- package/types/lib/Sendbird/context/SendbirdContext.d.ts +1 -0
- package/types/lib/Sendbird/types.d.ts +1 -0
- package/types/modules/Channel/components/NewMessageCountFloatingButton/index.d.ts +2 -0
- package/types/modules/Channel/components/UnreadCountFloatingButton/index.d.ts +2 -0
- package/types/modules/Channel/context/dux/actionTypes.d.ts +6 -0
- package/types/modules/GroupChannel/components/Message/MessageView.d.ts +6 -0
- package/types/modules/GroupChannel/components/MessageList/getMessagePartsInfo.d.ts +6 -1
- package/types/modules/GroupChannel/components/NewMessageCountFloatingButton/index.d.ts +9 -0
- package/types/modules/GroupChannel/components/UnreadCountFloatingButton/index.d.ts +10 -0
- package/types/modules/GroupChannel/context/GroupChannelProvider.d.ts +6 -0
- package/types/modules/GroupChannel/context/hooks/useGroupChannel.d.ts +4 -0
- package/types/modules/GroupChannel/context/types.d.ts +3 -0
- package/types/ui/Icon/index.d.ts +2 -0
- package/types/ui/Icon/type.d.ts +2 -0
- package/types/ui/Label/stringSet.d.ts +4 -0
- package/types/ui/MessageContent/index.d.ts +1 -0
- package/types/ui/MessageMenu/MessageMenu.d.ts +3 -1
- package/types/ui/MessageMenu/MessageMenuProvider.d.ts +1 -0
- package/types/ui/MessageMenu/menuItems/BottomSheetMenuItems.d.ts +1 -0
- package/types/ui/MessageMenu/menuItems/MessageMenuItems.d.ts +1 -0
- package/types/ui/MessageMenu/menuItems/MobileMenuItems.d.ts +1 -0
- package/types/ui/MobileMenu/types.d.ts +1 -0
- package/types/ui/NewMessageSeparator/index.d.ts +11 -0
- package/types/utils/menuConditions.d.ts +1 -0
- package/ui/Accordion.js +2 -2
- package/ui/AccordionGroup.js +1 -1
- package/ui/AdminMessage.js +3 -3
- package/ui/Avatar.js +4 -4
- package/ui/Badge.js +5 -5
- package/ui/BottomSheet.js +13 -13
- package/ui/Button.js +3 -3
- package/ui/ChannelAvatar.js +5 -5
- package/ui/ConnectionStatus.js +6 -6
- package/ui/ContextMenu.js +14 -14
- package/ui/DateSeparator.js +4 -4
- package/ui/EmojiReactions.js +23 -23
- package/ui/FallbackTemplateMessageItemBody.tsx.js +10 -10
- package/ui/FileMessageItemBody.js +13 -13
- package/ui/FileViewer.js +19 -19
- package/ui/Header.js +6 -6
- package/ui/Icon.js +279 -242
- package/ui/Icon.js.map +1 -1
- package/ui/IconButton.js +1 -1
- package/ui/ImageRenderer.js +2 -2
- package/ui/Input.js +3 -3
- package/ui/Label.js +3 -3
- package/ui/LinkLabel.js +4 -4
- package/ui/Loader.js +2 -2
- package/ui/LoadingTemplateMessageItemBody.tsx.js +2 -2
- package/ui/MentionLabel.js +19 -19
- package/ui/MentionUserLabel.js +2 -2
- package/ui/MessageContent.js +46 -43
- package/ui/MessageContent.js.map +1 -1
- package/ui/MessageFeedbackFailedModal.js +13 -13
- package/ui/MessageFeedbackModal.js +13 -13
- package/ui/MessageInput/hooks/usePaste.js +7 -7
- package/ui/MessageInput.js +20 -20
- package/ui/MessageItemMenu.js +15 -15
- package/ui/MessageItemReactionMenu.js +16 -16
- package/ui/MessageMenu.js +16 -16
- package/ui/MessageSearchFileItem.js +17 -17
- package/ui/MessageSearchItem.js +12 -12
- package/ui/MessageStatus.js +15 -15
- package/ui/MessageTemplate.js +1 -1
- package/ui/MobileFeedbackMenu.js +13 -13
- package/ui/MobileMenu.js +73 -31
- package/ui/MobileMenu.js.map +1 -1
- package/ui/Modal.js +12 -12
- package/ui/MutedAvatarOverlay.js +2 -2
- package/ui/OGMessageItemBody.js +23 -23
- package/ui/OpenChannelAdminMessage.js +3 -3
- package/ui/OpenChannelAvatar.js +8 -8
- package/ui/OpenchannelConversationHeader.js +8 -8
- package/ui/OpenchannelFileMessage.js +24 -24
- package/ui/OpenchannelOGMessage.js +26 -26
- package/ui/OpenchannelThumbnailMessage.js +23 -23
- package/ui/OpenchannelUserMessage.js +24 -24
- package/ui/PlaceHolder.js +6 -6
- package/ui/PlaybackTime.js +3 -3
- package/ui/ProgressBar.js +1 -1
- package/ui/QuoteMessage.js +12 -12
- package/ui/QuoteMessageInput.js +12 -12
- package/ui/ReactionBadge.js +3 -3
- package/ui/ReactionButton.js +4 -4
- package/ui/SortByRow.js +2 -2
- package/ui/TemplateMessageItemBody.js +14 -14
- package/ui/TextButton.js +2 -2
- package/ui/TextMessageItemBody.js +22 -22
- package/ui/ThreadReplies.js +8 -8
- package/ui/ThumbnailMessageItemBody.js +10 -10
- package/ui/Toggle.js +4 -4
- package/ui/Tooltip.js +3 -3
- package/ui/TooltipWrapper.js +1 -1
- package/ui/TypingIndicatorBubble.js +4 -4
- package/ui/UnknownMessageItemBody.js +10 -10
- package/ui/UserListItem.js +19 -19
- package/ui/UserListItemMenu.js +17 -17
- package/ui/UserProfile.js +13 -13
- package/ui/VoiceMessageInput.js +9 -9
- package/ui/VoiceMessageItemBody.js +14 -14
- package/ui/Word.js +19 -19
- package/useSendbirdStateContext.js +4 -4
- package/utils/message/isVoiceMessage.js +6 -6
- package/withSendbird.js +24 -23
- package/withSendbird.js.map +1 -1
- package/chunks/bundle-4iMyv8rL.js.map +0 -1
- package/chunks/bundle-7upDXZ2x.js.map +0 -1
- package/chunks/bundle-B1vDwyVe.js.map +0 -1
- package/chunks/bundle-B2lzJfYh.js.map +0 -1
- package/chunks/bundle-B5NfIzw6.js.map +0 -1
- package/chunks/bundle-B9NM2q6d.js.map +0 -1
- package/chunks/bundle-BCcSesWX.js.map +0 -1
- package/chunks/bundle-BEsTeVKi.js.map +0 -1
- package/chunks/bundle-BI4FzGRR.js.map +0 -1
- package/chunks/bundle-BIa01cUT.js.map +0 -1
- package/chunks/bundle-BIwdGWMT.js.map +0 -1
- package/chunks/bundle-BJP26iyF.js.map +0 -1
- package/chunks/bundle-BLz9BjN4.js.map +0 -1
- package/chunks/bundle-BNN1I06d.js.map +0 -1
- package/chunks/bundle-BaDSfPc2.js.map +0 -1
- package/chunks/bundle-BdByFEV1.js.map +0 -1
- package/chunks/bundle-BhVTrhDH.js.map +0 -1
- package/chunks/bundle-BjLWi0FR.js.map +0 -1
- package/chunks/bundle-Bza4PDR2.js.map +0 -1
- package/chunks/bundle-C1GT9VW0.js.map +0 -1
- package/chunks/bundle-C7Yokt84.js.map +0 -1
- package/chunks/bundle-CLGhkTnf.js.map +0 -1
- package/chunks/bundle-CO-raWw1.js.map +0 -1
- package/chunks/bundle-CUGxWHRO.js.map +0 -1
- package/chunks/bundle-CdYBkjsA.js.map +0 -1
- package/chunks/bundle-Cfprk18z.js.map +0 -1
- package/chunks/bundle-ClaUOmc5.js.map +0 -1
- package/chunks/bundle-CmwzHSrB.js.map +0 -1
- package/chunks/bundle-CzRkg0IM.js.map +0 -1
- package/chunks/bundle-D2vnvNzv.js.map +0 -1
- package/chunks/bundle-DE6FtXLw.js.map +0 -1
- package/chunks/bundle-DEanwH0s.js.map +0 -1
- package/chunks/bundle-DPQUP26z.js.map +0 -1
- package/chunks/bundle-DRWMVBdn.js.map +0 -1
- package/chunks/bundle-DRWzTTjk.js.map +0 -1
- package/chunks/bundle-DTco3u4-.js.map +0 -1
- package/chunks/bundle-DYNq2q2o.js.map +0 -1
- package/chunks/bundle-Debhp7OQ.js.map +0 -1
- package/chunks/bundle-DfIuos0r.js.map +0 -1
- package/chunks/bundle-DlvCS0eB.js.map +0 -1
- package/chunks/bundle-DoS7oWHM.js.map +0 -1
- package/chunks/bundle-Dwcu4WDN.js.map +0 -1
- package/chunks/bundle-DypQPtk9.js.map +0 -1
- package/chunks/bundle-ExMX5-sC.js.map +0 -1
- package/chunks/bundle-FheET-Q4.js.map +0 -1
- package/chunks/bundle-Iw_NfQB-.js.map +0 -1
- package/chunks/bundle-P5nwZD8V.js.map +0 -1
- package/chunks/bundle-eJ-UusEp.js.map +0 -1
- package/chunks/bundle-gsWT87_Q.js.map +0 -1
- package/chunks/bundle-q9ddBKNI.js.map +0 -1
- package/chunks/bundle-tjQ6eCtV.js.map +0 -1
- package/chunks/bundle-yh_rhV-v.js.map +0 -1
- package/cjs/chunks/bundle-1xkZXP5V.js.map +0 -1
- package/cjs/chunks/bundle-9gPTkX-g.js.map +0 -1
- package/cjs/chunks/bundle-BE757tKv.js.map +0 -1
- package/cjs/chunks/bundle-BFqDu77k.js.map +0 -1
- package/cjs/chunks/bundle-BRRaudPQ.js.map +0 -1
- package/cjs/chunks/bundle-BUmN3EqF.js.map +0 -1
- package/cjs/chunks/bundle-B_IV_G9J.js.map +0 -1
- package/cjs/chunks/bundle-BagReBtY.js.map +0 -1
- package/cjs/chunks/bundle-BbEatRUZ.js.map +0 -1
- package/cjs/chunks/bundle-Bf5ejboi.js.map +0 -1
- package/cjs/chunks/bundle-BfowfMGA.js.map +0 -1
- package/cjs/chunks/bundle-BgrHmV0D.js.map +0 -1
- package/cjs/chunks/bundle-BtOiexkT.js.map +0 -1
- package/cjs/chunks/bundle-Bvh4Rdtz.js.map +0 -1
- package/cjs/chunks/bundle-BwBcV8q1.js.map +0 -1
- package/cjs/chunks/bundle-Bwzi3QPW.js.map +0 -1
- package/cjs/chunks/bundle-C-M_gAqm.js.map +0 -1
- package/cjs/chunks/bundle-C9Ek6NtK.js.map +0 -1
- package/cjs/chunks/bundle-CIjYa6CG.js.map +0 -1
- package/cjs/chunks/bundle-CKMUe2Il.js.map +0 -1
- package/cjs/chunks/bundle-CKm7qDYV.js.map +0 -1
- package/cjs/chunks/bundle-CLdoei-Z.js.map +0 -1
- package/cjs/chunks/bundle-COwctOx9.js.map +0 -1
- package/cjs/chunks/bundle-CX5IsWff.js.map +0 -1
- package/cjs/chunks/bundle-CYZAriK2.js.map +0 -1
- package/cjs/chunks/bundle-CZF0eYCK.js.map +0 -1
- package/cjs/chunks/bundle-CZN0hRTC.js.map +0 -1
- package/cjs/chunks/bundle-CeXeJFhP.js.map +0 -1
- package/cjs/chunks/bundle-CmeMJxeb.js.map +0 -1
- package/cjs/chunks/bundle-CmjgA2nm.js.map +0 -1
- package/cjs/chunks/bundle-CnzzsH6a.js.map +0 -1
- package/cjs/chunks/bundle-CvX2lULC.js.map +0 -1
- package/cjs/chunks/bundle-CwOT98Nu.js.map +0 -1
- package/cjs/chunks/bundle-CzeSw_kf.js.map +0 -1
- package/cjs/chunks/bundle-D7MJRfDI.js.map +0 -1
- package/cjs/chunks/bundle-DAL6Y--L.js.map +0 -1
- package/cjs/chunks/bundle-DATFC0E8.js.map +0 -1
- package/cjs/chunks/bundle-DAZMzxUL.js.map +0 -1
- package/cjs/chunks/bundle-DHoGPvtu.js.map +0 -1
- package/cjs/chunks/bundle-DT4Jubif.js.map +0 -1
- package/cjs/chunks/bundle-DTWU-Vq1.js.map +0 -1
- package/cjs/chunks/bundle-DUBIkN2G.js.map +0 -1
- package/cjs/chunks/bundle-DWFsWeVr.js.map +0 -1
- package/cjs/chunks/bundle-DWyP7Ln4.js.map +0 -1
- package/cjs/chunks/bundle-D_UMNfoe.js.map +0 -1
- package/cjs/chunks/bundle-D_dQwbeh.js.map +0 -1
- package/cjs/chunks/bundle-DbBt-U5A.js.map +0 -1
- package/cjs/chunks/bundle-DgZ0_jtE.js.map +0 -1
- package/cjs/chunks/bundle-DivaNE7P.js.map +0 -1
- package/cjs/chunks/bundle-DpK5fRLi.js.map +0 -1
- package/cjs/chunks/bundle-DrOZS9jL.js.map +0 -1
- package/cjs/chunks/bundle-DrVsIHPY.js.map +0 -1
- package/cjs/chunks/bundle-DvZkBioZ.js.map +0 -1
- package/cjs/chunks/bundle-ODGXXyhJ.js.map +0 -1
- package/cjs/chunks/bundle-OcZpFAI2.js.map +0 -1
- package/cjs/chunks/bundle-SFB88awK.js.map +0 -1
- package/cjs/chunks/bundle-ZYV0nwXX.js.map +0 -1
- package/cjs/chunks/bundle-dJSqzDl8.js.map +0 -1
- package/cjs/chunks/bundle-lh-EzNyM.js.map +0 -1
- package/cjs/chunks/bundle-n2idgBee.js.map +0 -1
- package/cjs/chunks/bundle-vpR1VtKm.js.map +0 -1
- package/cjs/chunks/bundle-yvA8mVvL.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-C-onA3TP.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -9,7 +9,10 @@ var stringSet = {
|
|
|
9
9
|
en: {
|
|
10
10
|
// Group Channel - Conversation
|
|
11
11
|
MESSAGE_STATUS__YESTERDAY: 'Yesterday',
|
|
12
|
-
CHANNEL__MESSAGE_LIST__NOTIFICATION__NEW_MESSAGE: 'new message
|
|
12
|
+
CHANNEL__MESSAGE_LIST__NOTIFICATION__NEW_MESSAGE: 'new message',
|
|
13
|
+
CHANNEL__MESSAGE_LIST__NOTIFICATION__NEW_MESSAGE_S: 'new messages',
|
|
14
|
+
CHANNEL__MESSAGE_LIST__NOTIFICATION__UNREAD_MESSAGE: 'unread message',
|
|
15
|
+
CHANNEL__MESSAGE_LIST__NOTIFICATION__UNREAD_MESSAGE_S: 'unread messages',
|
|
13
16
|
/** @deprecated Please use `DATE_FORMAT__MESSAGE_LIST__NOTIFICATION__UNREAD_SINCE` instead * */
|
|
14
17
|
CHANNEL__MESSAGE_LIST__NOTIFICATION__ON: 'on',
|
|
15
18
|
// Channel List
|
|
@@ -88,7 +91,7 @@ var stringSet = {
|
|
|
88
91
|
TYPING_INDICATOR__AND: 'and',
|
|
89
92
|
TYPING_INDICATOR__ARE_TYPING: 'are typing...',
|
|
90
93
|
TYPING_INDICATOR__MULTIPLE_TYPING: 'Several people are typing...',
|
|
91
|
-
CHANNEL_FROZEN: 'Channel frozen',
|
|
94
|
+
CHANNEL_FROZEN: 'Channel is frozen',
|
|
92
95
|
PLACE_HOLDER__NO_CHANNEL: 'No channels',
|
|
93
96
|
PLACE_HOLDER__WRONG: 'Something went wrong',
|
|
94
97
|
PLACE_HOLDER__RETRY_TO_CONNECT: 'Retry',
|
|
@@ -165,6 +168,7 @@ var stringSet = {
|
|
|
165
168
|
MESSAGE_MENU__RESEND: 'Resend',
|
|
166
169
|
MESSAGE_MENU__DELETE: 'Delete',
|
|
167
170
|
MESSAGE_MENU__SAVE: 'Save',
|
|
171
|
+
MESSAGE_MENU__MARK_AS_UNREAD: 'Mark as unread',
|
|
168
172
|
// * FIXME: get back legacy, remove after refactoring open channel messages *
|
|
169
173
|
CONTEXT_MENU_DROPDOWN__COPY: 'Copy',
|
|
170
174
|
CONTEXT_MENU_DROPDOWN__EDIT: 'Edit',
|
|
@@ -247,4 +251,4 @@ var getStringSet = function (lang) {
|
|
|
247
251
|
};
|
|
248
252
|
|
|
249
253
|
export { getStringSet as g };
|
|
250
|
-
//# sourceMappingURL=bundle-
|
|
254
|
+
//# sourceMappingURL=bundle-C1dqPUnT.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bundle-
|
|
1
|
+
{"version":3,"file":"bundle-C1dqPUnT.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -3,10 +3,10 @@ import { PlaybackTime } from '../ui/PlaybackTime.js';
|
|
|
3
3
|
import { ProgressBar } from '../ui/ProgressBar.js';
|
|
4
4
|
import TextButton from '../ui/TextButton.js';
|
|
5
5
|
import Icon, { IconTypes, IconColors } from '../ui/Icon.js';
|
|
6
|
-
import { b as LabelColors, L as Label, a as LabelTypography } from './bundle-
|
|
7
|
-
import { u as useLocalization } from './bundle-
|
|
8
|
-
import { g as VOICE_RECORDER_DEFAULT_MIN, h as VOICE_RECORDER_CLICK_BUFFER_TIME } from './bundle-
|
|
9
|
-
import { c as classnames } from './bundle-
|
|
6
|
+
import { b as LabelColors, L as Label, a as LabelTypography } from './bundle-viBng0Kh.js';
|
|
7
|
+
import { u as useLocalization } from './bundle-Del33VzI.js';
|
|
8
|
+
import { g as VOICE_RECORDER_DEFAULT_MIN, h as VOICE_RECORDER_CLICK_BUFFER_TIME } from './bundle-CqLLOVG5.js';
|
|
9
|
+
import { c as classnames } from './bundle-MlG9piGf.js';
|
|
10
10
|
|
|
11
11
|
/* eslint-disable no-redeclare */
|
|
12
12
|
var VoiceMessageInputStatus = {
|
|
@@ -94,4 +94,4 @@ var VoiceMessageInput = function (_a) {
|
|
|
94
94
|
};
|
|
95
95
|
|
|
96
96
|
export { VoiceMessageInputStatus as V, VoiceMessageInput as a };
|
|
97
|
-
//# sourceMappingURL=bundle-
|
|
97
|
+
//# sourceMappingURL=bundle-C25g6A23.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bundle-
|
|
1
|
+
{"version":3,"file":"bundle-C25g6A23.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
|
-
import { C as ContextMenu, b as MenuItems, c as MenuItem } from './bundle-
|
|
3
|
-
import { u as useLocalization } from './bundle-
|
|
4
|
-
import { u as useSendbird } from './bundle-
|
|
2
|
+
import { C as ContextMenu, b as MenuItems, c as MenuItem } from './bundle-Bch_Ry4S.js';
|
|
3
|
+
import { u as useLocalization } from './bundle-Del33VzI.js';
|
|
4
|
+
import { u as useSendbird } from './bundle-i_3w58Zd.js';
|
|
5
5
|
|
|
6
6
|
var OpenChannelMessageStatusTypes = {
|
|
7
7
|
NONE: 'none',
|
|
@@ -94,4 +94,4 @@ var OpenChannelMobileMenu = function (props) {
|
|
|
94
94
|
};
|
|
95
95
|
|
|
96
96
|
export { OpenChannelMobileMenu as O, isFineEdit as a, isFineResend as b, isFineDelete as c, checkIsPending as d, checkIsFailed as e, checkIsSent as f, getSenderFromMessage as g, isFineCopy as i, showMenuTrigger as s };
|
|
97
|
-
//# sourceMappingURL=bundle-
|
|
97
|
+
//# sourceMappingURL=bundle-C876LFzk.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bundle-
|
|
1
|
+
{"version":3,"file":"bundle-C876LFzk.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-C8U5aHBw.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { _ as __assign } from './bundle-
|
|
1
|
+
import { _ as __assign } from './bundle-yl5d1NoZ.js';
|
|
2
2
|
import React__default from 'react';
|
|
3
3
|
import { IconTypes, IconColors } from '../ui/Icon.js';
|
|
4
4
|
import ChannelAvatar from '../ui/ChannelAvatar.js';
|
|
5
|
-
import { g as getChannelTitle } from './bundle-
|
|
6
|
-
import { u as useMediaQueryContext } from './bundle-
|
|
7
|
-
import { u as useLocalization } from './bundle-
|
|
5
|
+
import { g as getChannelTitle } from './bundle-DfS7BDcp.js';
|
|
6
|
+
import { u as useMediaQueryContext } from './bundle-DBhJIxHw.js';
|
|
7
|
+
import { u as useLocalization } from './bundle-Del33VzI.js';
|
|
8
8
|
import Header from '../ui/Header.js';
|
|
9
|
-
import { c as classnames } from './bundle-
|
|
10
|
-
import { u as useSendbird } from './bundle-
|
|
9
|
+
import { c as classnames } from './bundle-MlG9piGf.js';
|
|
10
|
+
import { u as useSendbird } from './bundle-i_3w58Zd.js';
|
|
11
11
|
|
|
12
12
|
var GroupChannelHeaderView = function (_a) {
|
|
13
13
|
var className = _a.className, currentChannel = _a.currentChannel, showSearchIcon = _a.showSearchIcon, onBackClick = _a.onBackClick, onSearchClick = _a.onSearchClick, onChatHeaderActionClick = _a.onChatHeaderActionClick,
|
|
@@ -29,4 +29,4 @@ var GroupChannelHeaderView = function (_a) {
|
|
|
29
29
|
};
|
|
30
30
|
|
|
31
31
|
export { GroupChannelHeaderView as G };
|
|
32
|
-
//# sourceMappingURL=bundle-
|
|
32
|
+
//# sourceMappingURL=bundle-C9akz570.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-C9akz570.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { c as __spreadArray } from './bundle-yl5d1NoZ.js';
|
|
2
2
|
import React__default from 'react';
|
|
3
3
|
import ImageRenderer from '../ui/ImageRenderer.js';
|
|
4
|
-
import { p as pxToNumber } from './bundle-
|
|
4
|
+
import { p as pxToNumber } from './bundle-Dl_v8XoN.js';
|
|
5
5
|
import Icon, { IconTypes, IconColors } from '../ui/Icon.js';
|
|
6
|
-
import { c as classnames } from './bundle-
|
|
6
|
+
import { c as classnames } from './bundle-MlG9piGf.js';
|
|
7
7
|
|
|
8
8
|
var AvatarDefault = function (props) {
|
|
9
9
|
var width = props.width, height = props.height, text = props.text;
|
|
@@ -68,4 +68,4 @@ function Avatar(_a, ref) {
|
|
|
68
68
|
var Avatar$1 = React__default.forwardRef(Avatar);
|
|
69
69
|
|
|
70
70
|
export { Avatar$1 as A, AvatarDefault as a, AvatarInner as b };
|
|
71
|
-
//# sourceMappingURL=bundle-
|
|
71
|
+
//# sourceMappingURL=bundle-CAEBoiEz.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-CAEBoiEz.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { useCallback } from 'react';
|
|
2
|
-
import { p as pubSubTopics, s as shouldPubSubPublishToChannel, a as shouldPubSubPublishToThread } from './bundle-
|
|
3
|
-
import { s as scrollIntoLast$1 } from './bundle-
|
|
2
|
+
import { p as pubSubTopics, s as shouldPubSubPublishToChannel, a as shouldPubSubPublishToThread } from './bundle-BOykFtQ3.js';
|
|
3
|
+
import { s as scrollIntoLast$1 } from './bundle-DFni3Lhf.js';
|
|
4
4
|
import '../utils/message/getOutgoingMessageState.js';
|
|
5
|
-
import './bundle-
|
|
6
|
-
import { e as SCROLL_BOTTOM_DELAY_FOR_SEND } from './bundle-
|
|
5
|
+
import './bundle-Del33VzI.js';
|
|
6
|
+
import { e as SCROLL_BOTTOM_DELAY_FOR_SEND } from './bundle-CqLLOVG5.js';
|
|
7
7
|
|
|
8
8
|
var getNicknamesMapFromMembers = function (members) {
|
|
9
9
|
if (members === void 0) { members = []; }
|
|
@@ -168,4 +168,4 @@ var useSendMultipleFilesMessage = function (_a, _b) {
|
|
|
168
168
|
};
|
|
169
169
|
|
|
170
170
|
export { getNicknamesMapFromMembers as a, compareIds as c, getParentMessageFrom as g, isAboutSame as i, scrollIntoLast as s, useSendMultipleFilesMessage as u };
|
|
171
|
-
//# sourceMappingURL=bundle-
|
|
171
|
+
//# sourceMappingURL=bundle-CIQCAe1h.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bundle-
|
|
1
|
+
{"version":3,"file":"bundle-CIQCAe1h.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-CM73CDTO.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-CMi8r50C.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { useCallback } from 'react';
|
|
2
2
|
import DOMPurify from 'dompurify';
|
|
3
|
-
import { a as NodeNames, N as NodeTypes } from './bundle-
|
|
4
|
-
import { a as USER_MENTION_TEMP_CHAR } from './bundle-
|
|
5
|
-
import {
|
|
6
|
-
import { M as MENTION_USER_LABEL_CLASSNAME } from './bundle-
|
|
7
|
-
import { T as TEXT_MESSAGE_BODY_CLASSNAME } from './bundle-
|
|
8
|
-
import { O as OG_MESSAGE_BODY_CLASSNAME } from './bundle-
|
|
3
|
+
import { a as NodeNames, N as NodeTypes } from './bundle-BNtO7aXk.js';
|
|
4
|
+
import { a as USER_MENTION_TEMP_CHAR } from './bundle-BEx1sWnS.js';
|
|
5
|
+
import { c as __spreadArray } from './bundle-yl5d1NoZ.js';
|
|
6
|
+
import { M as MENTION_USER_LABEL_CLASSNAME } from './bundle-D6b2YGeE.js';
|
|
7
|
+
import { T as TEXT_MESSAGE_BODY_CLASSNAME } from './bundle-B6udMinl.js';
|
|
8
|
+
import { O as OG_MESSAGE_BODY_CLASSNAME } from './bundle-Cc1gzgza.js';
|
|
9
9
|
|
|
10
10
|
function renderToString(_a) {
|
|
11
11
|
var userId = _a.userId, nickname = _a.nickname;
|
|
@@ -240,4 +240,4 @@ function getURIListText(e) {
|
|
|
240
240
|
}
|
|
241
241
|
|
|
242
242
|
export { extractTextAndMentions as e, isChannelTypeSupportsMultipleFilesMessage as i, nodeListToArray as n, renderToString as r, sanitizeString as s, usePaste as u };
|
|
243
|
-
//# sourceMappingURL=bundle-
|
|
243
|
+
//# sourceMappingURL=bundle-CN_mZmg1.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bundle-
|
|
1
|
+
{"version":3,"file":"bundle-CN_mZmg1.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import React__default, { useRef, useState } from 'react';
|
|
2
|
-
import { n as noop, c as classnames } from './bundle-
|
|
3
|
-
import { u as useMessageMenuContext, a as MenuItem, M as MessageMenuProvider, b as MenuItems, g as getObservingId } from './bundle-
|
|
4
|
-
import { _ as __assign } from './bundle-
|
|
2
|
+
import { n as noop, c as classnames } from './bundle-MlG9piGf.js';
|
|
3
|
+
import { u as useMessageMenuContext, a as MenuItem, M as MessageMenuProvider, b as MenuItems, g as getObservingId } from './bundle-Bch_Ry4S.js';
|
|
4
|
+
import { _ as __assign } from './bundle-yl5d1NoZ.js';
|
|
5
5
|
import IconButton from '../ui/IconButton.js';
|
|
6
6
|
import Icon, { IconTypes, IconColors } from '../ui/Icon.js';
|
|
7
|
-
import {
|
|
8
|
-
import { u as useLocalization } from './bundle-
|
|
7
|
+
import { n as isUserMessage, C as copyToClipboard, y as isFailedMessage, s as isSentMessage, x as isPendingMessage } from './bundle-vmZ9LoYK.js';
|
|
8
|
+
import { u as useLocalization } from './bundle-Del33VzI.js';
|
|
9
9
|
import { Role } from '@sendbird/chat';
|
|
10
|
-
import { u as useSendbird } from './bundle-
|
|
10
|
+
import { u as useSendbird } from './bundle-i_3w58Zd.js';
|
|
11
11
|
|
|
12
12
|
var TriggerIcon = function (_a) {
|
|
13
13
|
var ref = _a.ref, _b = _a.onClick, onClick = _b === void 0 ? noop : _b, _c = _a.onBlur, onBlur = _c === void 0 ? noop : _c, _d = _a.renderIcon, renderIcon = _d === void 0 ? function (props) { return React__default.createElement(Icon, __assign({}, props)); } : _d;
|
|
@@ -107,6 +107,19 @@ var DeleteMenuItem = function (props) {
|
|
|
107
107
|
}
|
|
108
108
|
} }), (_c = props.children) !== null && _c !== void 0 ? _c : stringSet.MESSAGE_MENU__DELETE));
|
|
109
109
|
};
|
|
110
|
+
var MarkAsUnreadMenuItem = function (props) {
|
|
111
|
+
var _a;
|
|
112
|
+
var stringSet = useLocalization().stringSet;
|
|
113
|
+
var _b = useMessageMenuContext(), message = _b.message, hideMenu = _b.hideMenu, markAsUnread = _b.markAsUnread;
|
|
114
|
+
return (React__default.createElement(MenuItem, __assign({}, props, { onClick: function (e) {
|
|
115
|
+
var _a;
|
|
116
|
+
if (markAsUnread) {
|
|
117
|
+
markAsUnread(message, 'manual');
|
|
118
|
+
}
|
|
119
|
+
hideMenu();
|
|
120
|
+
(_a = props.onClick) === null || _a === void 0 ? void 0 : _a.call(props, e);
|
|
121
|
+
} }), (_a = props.children) !== null && _a !== void 0 ? _a : stringSet.MESSAGE_MENU__MARK_AS_UNREAD));
|
|
122
|
+
};
|
|
110
123
|
|
|
111
124
|
var isReplyTypeMessageEnabled = function (_a) {
|
|
112
125
|
var _b;
|
|
@@ -151,14 +164,19 @@ var showMenuItemThread = function (_a) {
|
|
|
151
164
|
var channel = _a.channel, message = _a.message, replyType = _a.replyType, onReplyInThread = _a.onReplyInThread;
|
|
152
165
|
return isReplyTypeMessageEnabled({ channel: channel, message: message }) && replyType === 'THREAD' && !(message === null || message === void 0 ? void 0 : message.parentMessageId) && typeof onReplyInThread === 'function';
|
|
153
166
|
};
|
|
167
|
+
var showMenuItemMarkAsUnread = function (_a) {
|
|
168
|
+
var _b;
|
|
169
|
+
var message = _a.message, channel = _a.channel, replyType = _a.replyType;
|
|
170
|
+
return !isFailedMessage(message) && !isPendingMessage(message) && ((_b = channel === null || channel === void 0 ? void 0 : channel.isGroupChannel) === null || _b === void 0 ? void 0 : _b.call(channel)) && replyType !== 'THREAD';
|
|
171
|
+
};
|
|
154
172
|
|
|
155
173
|
var MessageMenu = function (_a) {
|
|
156
174
|
var _b;
|
|
157
|
-
var className = _a.className, message = _a.message, channel = _a.channel, isByMe = _a.isByMe, replyType = _a.replyType, _c = _a.renderTrigger, renderTrigger = _c === void 0 ? TriggerIcon : _c, renderMenuItems = _a.renderMenuItems, _d = _a.disableDeleteMessage, disableDeleteMessage = _d === void 0 ? null : _d, _e = _a.showEdit, showEdit = _e === void 0 ? noop : _e, _f = _a.showRemove, showRemove = _f === void 0 ? noop : _f, deleteMessage = _a.deleteMessage, resendMessage = _a.resendMessage, setQuoteMessage = _a.setQuoteMessage, onReplyInThread = _a.onReplyInThread, onMoveToParentMessage = _a.onMoveToParentMessage;
|
|
158
|
-
var
|
|
175
|
+
var className = _a.className, message = _a.message, channel = _a.channel, isByMe = _a.isByMe, replyType = _a.replyType, _c = _a.renderTrigger, renderTrigger = _c === void 0 ? TriggerIcon : _c, renderMenuItems = _a.renderMenuItems, _d = _a.disableDeleteMessage, disableDeleteMessage = _d === void 0 ? null : _d, _e = _a.showEdit, showEdit = _e === void 0 ? noop : _e, _f = _a.showRemove, showRemove = _f === void 0 ? noop : _f, deleteMessage = _a.deleteMessage, resendMessage = _a.resendMessage, markAsUnread = _a.markAsUnread, setQuoteMessage = _a.setQuoteMessage, onReplyInThread = _a.onReplyInThread, onMoveToParentMessage = _a.onMoveToParentMessage;
|
|
176
|
+
var _g = useSendbird().state.config, isOnline = _g.isOnline, enableMarkAsUnread = _g.groupChannel.enableMarkAsUnread;
|
|
159
177
|
var triggerRef = useRef(null);
|
|
160
178
|
var containerRef = useRef(null);
|
|
161
|
-
var
|
|
179
|
+
var _h = useState(false), isMenuVisible = _h[0], setMenuVisibility = _h[1];
|
|
162
180
|
var hideMenu = function () { return setMenuVisibility(false); };
|
|
163
181
|
var showMenu = function () { return setMenuVisibility(true); };
|
|
164
182
|
var toggleMenu = function () { return setMenuVisibility(function (visible) { return !visible; }); };
|
|
@@ -183,6 +201,7 @@ var MessageMenu = function (_a) {
|
|
|
183
201
|
showRemove: showRemove,
|
|
184
202
|
deleteMessage: deleteMessage,
|
|
185
203
|
resendMessage: resendMessage,
|
|
204
|
+
markAsUnread: markAsUnread,
|
|
186
205
|
isOnline: isOnline,
|
|
187
206
|
disableDeleteMessage: disableDeleteMessage,
|
|
188
207
|
triggerRef: triggerRef,
|
|
@@ -196,6 +215,7 @@ var MessageMenu = function (_a) {
|
|
|
196
215
|
ThreadMenuItem: ThreadMenuItem,
|
|
197
216
|
OpenInChannelMenuItem: OpenInChannelMenuItem,
|
|
198
217
|
EditMenuItem: EditMenuItem,
|
|
218
|
+
MarkAsUnreadMenuItem: MarkAsUnreadMenuItem,
|
|
199
219
|
ResendMenuItem: ResendMenuItem,
|
|
200
220
|
DeleteMenuItem: DeleteMenuItem,
|
|
201
221
|
},
|
|
@@ -205,9 +225,10 @@ var MessageMenu = function (_a) {
|
|
|
205
225
|
showMenuItemThread(params) && React__default.createElement(ThreadMenuItem, null),
|
|
206
226
|
showMenuItemOpenInChannel(params) && React__default.createElement(OpenInChannelMenuItem, null),
|
|
207
227
|
showMenuItemEdit(params) && React__default.createElement(EditMenuItem, null),
|
|
228
|
+
enableMarkAsUnread && showMenuItemMarkAsUnread(params) && React__default.createElement(MarkAsUnreadMenuItem, null),
|
|
208
229
|
showMenuItemResend(params) && React__default.createElement(ResendMenuItem, null),
|
|
209
230
|
showMenuItemDelete(params) && React__default.createElement(DeleteMenuItem, null))))))));
|
|
210
231
|
};
|
|
211
232
|
|
|
212
233
|
export { MessageMenu as M };
|
|
213
|
-
//# sourceMappingURL=bundle-
|
|
234
|
+
//# sourceMappingURL=bundle-CQ_-cyp9.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bundle-
|
|
1
|
+
{"version":3,"file":"bundle-CQ_-cyp9.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,20 +1,21 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import React__default, { useState, useEffect, useRef, useLayoutEffect, useMemo } from 'react';
|
|
3
|
-
import { f as format } from './bundle-
|
|
4
|
-
import { u as useLocalization } from './bundle-
|
|
5
|
-
import { M as MAX_USER_MENTION_COUNT, b as MAX_USER_SUGGESTION_COUNT } from './bundle-
|
|
6
|
-
import { i as isDisabledBecauseFrozen, a as isDisabledBecauseMuted } from './bundle-
|
|
1
|
+
import { c as __spreadArray, _ as __assign } from './bundle-yl5d1NoZ.js';
|
|
2
|
+
import React__default, { useState, useEffect, useRef, useCallback, useLayoutEffect, useMemo } from 'react';
|
|
3
|
+
import { f as format } from './bundle-mGsud0ec.js';
|
|
4
|
+
import { u as useLocalization } from './bundle-Del33VzI.js';
|
|
5
|
+
import { M as MAX_USER_MENTION_COUNT, b as MAX_USER_SUGGESTION_COUNT } from './bundle-BEx1sWnS.js';
|
|
6
|
+
import { i as isDisabledBecauseFrozen, a as isDisabledBecauseMuted } from './bundle-CzwYTfhQ.js';
|
|
7
7
|
import { useDirtyGetMentions } from '../Message/hooks/useDirtyGetMentions.js';
|
|
8
|
-
import { g as getSuggestedReplies } from './bundle-
|
|
8
|
+
import { g as getSuggestedReplies } from './bundle-vmZ9LoYK.js';
|
|
9
9
|
import DateSeparator from '../ui/DateSeparator.js';
|
|
10
|
-
import { L as Label, a as LabelTypography, b as LabelColors } from './bundle-
|
|
10
|
+
import { L as Label, a as LabelTypography, b as LabelColors } from './bundle-viBng0Kh.js';
|
|
11
11
|
import MessageInput from '../ui/MessageInput.js';
|
|
12
|
-
import { M as MessageInputKeys } from './bundle-
|
|
12
|
+
import { M as MessageInputKeys } from './bundle-BNtO7aXk.js';
|
|
13
13
|
import { MessageContent } from '../ui/MessageContent.js';
|
|
14
14
|
import SuggestedReplies from '../GroupChannel/components/SuggestedReplies.js';
|
|
15
|
-
import { S as SuggestedMentionListView } from './bundle-
|
|
16
|
-
import { d as deleteNullish, c as classnames } from './bundle-
|
|
17
|
-
import { u as useSendbird } from './bundle-
|
|
15
|
+
import { S as SuggestedMentionListView } from './bundle-sf0POh6_.js';
|
|
16
|
+
import { d as deleteNullish, c as classnames } from './bundle-MlG9piGf.js';
|
|
17
|
+
import { u as useSendbird } from './bundle-i_3w58Zd.js';
|
|
18
|
+
import { C as Colors, c as changeColorToClassName } from './bundle-Bokm7tQ9.js';
|
|
18
19
|
|
|
19
20
|
var useDidMountEffect = function (func, deps) {
|
|
20
21
|
var _a = useState(false), didMount = _a[0], setDidMount = _a[1];
|
|
@@ -28,14 +29,48 @@ var useDidMountEffect = function (func, deps) {
|
|
|
28
29
|
}, deps);
|
|
29
30
|
};
|
|
30
31
|
|
|
32
|
+
var NewMessageIndicator = function (_a) {
|
|
33
|
+
var _b = _a.children, children = _b === void 0 ? undefined : _b, _c = _a.className, className = _c === void 0 ? '' : _c, onVisibilityChange = _a.onVisibilityChange, _d = _a.separatorColor, separatorColor = _d === void 0 ? Colors.PRIMARY : _d;
|
|
34
|
+
var separatorRef = useRef(null);
|
|
35
|
+
var handleVisibilityChange = useCallback(function (isVisible) {
|
|
36
|
+
onVisibilityChange === null || onVisibilityChange === void 0 ? void 0 : onVisibilityChange(isVisible);
|
|
37
|
+
}, [onVisibilityChange]);
|
|
38
|
+
useLayoutEffect(function () {
|
|
39
|
+
var element = separatorRef.current;
|
|
40
|
+
if (!element || !onVisibilityChange)
|
|
41
|
+
return;
|
|
42
|
+
var observer = new IntersectionObserver(function (entries) {
|
|
43
|
+
entries.forEach(function (entry) {
|
|
44
|
+
var visible = entry.isIntersecting;
|
|
45
|
+
handleVisibilityChange(visible);
|
|
46
|
+
});
|
|
47
|
+
}, {
|
|
48
|
+
threshold: 1.0,
|
|
49
|
+
rootMargin: '0px',
|
|
50
|
+
root: null,
|
|
51
|
+
});
|
|
52
|
+
observer.observe(element);
|
|
53
|
+
return function () {
|
|
54
|
+
observer.disconnect();
|
|
55
|
+
};
|
|
56
|
+
}, [handleVisibilityChange, onVisibilityChange]);
|
|
57
|
+
return (React__default.createElement("div", { ref: separatorRef, className: __spreadArray(__spreadArray([], (Array.isArray(className) ? className : [className]), true), [
|
|
58
|
+
'sendbird-separator',
|
|
59
|
+
], false).join(' ') },
|
|
60
|
+
React__default.createElement("div", { className: ['sendbird-separator__left', "".concat(changeColorToClassName(separatorColor), "--background-color")].join(' ') }),
|
|
61
|
+
React__default.createElement("div", { className: "sendbird-separator__text" }, children
|
|
62
|
+
|| (React__default.createElement(Label, { type: LabelTypography.CAPTION_2, color: LabelColors.PRIMARY }, "New Messages"))),
|
|
63
|
+
React__default.createElement("div", { className: ['sendbird-separator__right', "".concat(changeColorToClassName(separatorColor), "--background-color")].join(' ') })));
|
|
64
|
+
};
|
|
65
|
+
|
|
31
66
|
// TODO: Refactor this component, is too complex now
|
|
32
67
|
var MessageView = function (props) {
|
|
33
68
|
var _a, _b;
|
|
34
69
|
var
|
|
35
70
|
// MessageProps
|
|
36
|
-
message = props.message, children = props.children, hasSeparator = props.hasSeparator, chainTop = props.chainTop, chainBottom = props.chainBottom, handleScroll = props.handleScroll,
|
|
71
|
+
message = props.message, children = props.children, hasSeparator = props.hasSeparator, hasNewMessageSeparator = props.hasNewMessageSeparator, chainTop = props.chainTop, chainBottom = props.chainBottom, handleScroll = props.handleScroll, onNewMessageSeparatorVisibilityChange = props.onNewMessageSeparatorVisibilityChange,
|
|
37
72
|
// MessageViewProps
|
|
38
|
-
channel = props.channel, emojiContainer = props.emojiContainer, editInputDisabled = props.editInputDisabled, shouldRenderSuggestedReplies = props.shouldRenderSuggestedReplies, isReactionEnabled = props.isReactionEnabled, replyType = props.replyType, threadReplySelectType = props.threadReplySelectType, nicknamesMap = props.nicknamesMap, scrollToMessage = props.scrollToMessage, toggleReaction = props.toggleReaction, setQuoteMessage = props.setQuoteMessage, onQuoteMessageClick = props.onQuoteMessageClick, onReplyInThreadClick = props.onReplyInThreadClick, onBeforeDownloadFileMessage = props.onBeforeDownloadFileMessage, sendUserMessage = props.sendUserMessage, updateUserMessage = props.updateUserMessage, resendMessage = props.resendMessage, deleteMessage = props.deleteMessage, setAnimatedMessageId = props.setAnimatedMessageId, animatedMessageId = props.animatedMessageId, onMessageAnimated = props.onMessageAnimated, _c = props.usedInLegacy, usedInLegacy = _c === void 0 ? true : _c;
|
|
73
|
+
channel = props.channel, emojiContainer = props.emojiContainer, editInputDisabled = props.editInputDisabled, shouldRenderSuggestedReplies = props.shouldRenderSuggestedReplies, isReactionEnabled = props.isReactionEnabled, replyType = props.replyType, threadReplySelectType = props.threadReplySelectType, nicknamesMap = props.nicknamesMap, scrollToMessage = props.scrollToMessage, toggleReaction = props.toggleReaction, setQuoteMessage = props.setQuoteMessage, onQuoteMessageClick = props.onQuoteMessageClick, onReplyInThreadClick = props.onReplyInThreadClick, onBeforeDownloadFileMessage = props.onBeforeDownloadFileMessage, sendUserMessage = props.sendUserMessage, updateUserMessage = props.updateUserMessage, resendMessage = props.resendMessage, deleteMessage = props.deleteMessage, markAsUnread = props.markAsUnread, setAnimatedMessageId = props.setAnimatedMessageId, animatedMessageId = props.animatedMessageId, onMessageAnimated = props.onMessageAnimated, _c = props.usedInLegacy, usedInLegacy = _c === void 0 ? true : _c;
|
|
39
74
|
var _d = deleteNullish(props), renderUserMentionItem = _d.renderUserMentionItem, renderMessage = _d.renderMessage, _e = _d.renderMessageContent, renderMessageContent = _e === void 0 ? function (props) { return React__default.createElement(MessageContent, __assign({}, props)); } : _e, _f = _d.renderSuggestedReplies, renderSuggestedReplies = _f === void 0 ? function (props) { return React__default.createElement(SuggestedReplies, __assign({}, props)); } : _f, renderCustomSeparator = _d.renderCustomSeparator, renderEditInput = _d.renderEditInput, renderFileViewer = _d.renderFileViewer, renderRemoveMessageModal = _d.renderRemoveMessageModal, filterEmojiCategoryIds = _d.filterEmojiCategoryIds;
|
|
40
75
|
var _g = useLocalization(), dateLocale = _g.dateLocale, stringSet = _g.stringSet;
|
|
41
76
|
var state = useSendbird().state;
|
|
@@ -150,6 +185,7 @@ var MessageView = function (props) {
|
|
|
150
185
|
onMessageHeightChange: handleScroll,
|
|
151
186
|
onBeforeDownloadFileMessage: onBeforeDownloadFileMessage,
|
|
152
187
|
filterEmojiCategoryIds: filterEmojiCategoryIds,
|
|
188
|
+
markAsUnread: markAsUnread,
|
|
153
189
|
}),
|
|
154
190
|
shouldRenderSuggestedReplies && renderSuggestedReplies({
|
|
155
191
|
replyOptions: getSuggestedReplies(message),
|
|
@@ -221,8 +257,11 @@ var MessageView = function (props) {
|
|
|
221
257
|
React__default.createElement(Label, { type: LabelTypography.CAPTION_2, color: LabelColors.ONBACKGROUND_2 }, format(message.createdAt, stringSet.DATE_FORMAT__MESSAGE_LIST__DATE_SEPARATOR, {
|
|
222
258
|
locale: dateLocale,
|
|
223
259
|
}))))),
|
|
260
|
+
hasNewMessageSeparator
|
|
261
|
+
&& (React__default.createElement(NewMessageIndicator, { onVisibilityChange: onNewMessageSeparatorVisibilityChange },
|
|
262
|
+
React__default.createElement(Label, { type: LabelTypography.CAPTION_2, color: LabelColors.PRIMARY }, "New Messages"))),
|
|
224
263
|
renderChildren()));
|
|
225
264
|
};
|
|
226
265
|
|
|
227
266
|
export { MessageView as M };
|
|
228
|
-
//# sourceMappingURL=bundle-
|
|
267
|
+
//# sourceMappingURL=bundle-CRpOTB7B.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-CRpOTB7B.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { _ as __assign } from './bundle-
|
|
1
|
+
import { _ as __assign } from './bundle-yl5d1NoZ.js';
|
|
2
2
|
import React__default, { useState } from 'react';
|
|
3
|
-
import { u as useLongPress } from './bundle-
|
|
4
|
-
import { u as useLocalization } from './bundle-
|
|
5
|
-
import { u as useMediaQueryContext } from './bundle-
|
|
6
|
-
import { n as noop } from './bundle-
|
|
7
|
-
import { i as isVoiceMessage } from './bundle-
|
|
8
|
-
import { a as getLastMessageText, b as getTotalMembers, M as MessageStatus, c as getLastMessageCreatedAt, d as getChannelUnreadMessageCount } from './bundle-
|
|
3
|
+
import { u as useLongPress } from './bundle-Ba_cV-Zm.js';
|
|
4
|
+
import { u as useLocalization } from './bundle-Del33VzI.js';
|
|
5
|
+
import { u as useMediaQueryContext } from './bundle-DBhJIxHw.js';
|
|
6
|
+
import { n as noop } from './bundle-MlG9piGf.js';
|
|
7
|
+
import { i as isVoiceMessage } from './bundle-vmZ9LoYK.js';
|
|
8
|
+
import { a as getLastMessageText, b as getTotalMembers, M as MessageStatus, c as getLastMessageCreatedAt, d as getChannelUnreadMessageCount } from './bundle-2U8QpYXo.js';
|
|
9
9
|
import { TypingIndicatorText } from '../GroupChannel/components/TypingIndicator.js';
|
|
10
10
|
import Badge from '../ui/Badge.js';
|
|
11
11
|
import ChannelAvatar from '../ui/ChannelAvatar.js';
|
|
12
12
|
import Icon, { IconTypes, IconColors } from '../ui/Icon.js';
|
|
13
|
-
import { L as Label, a as LabelTypography, b as LabelColors } from './bundle-
|
|
13
|
+
import { L as Label, a as LabelTypography, b as LabelColors } from './bundle-viBng0Kh.js';
|
|
14
14
|
import MentionUserLabel from '../ui/MentionUserLabel.js';
|
|
15
|
-
import { M as Modal } from './bundle-
|
|
15
|
+
import { M as Modal } from './bundle-CtQtfJlT.js';
|
|
16
16
|
import TextButton from '../ui/TextButton.js';
|
|
17
|
-
import { g as getChannelPreviewMessage } from './bundle-
|
|
18
|
-
import { u as useSendbird } from './bundle-
|
|
17
|
+
import { g as getChannelPreviewMessage } from './bundle-BwvurfUT.js';
|
|
18
|
+
import { u as useSendbird } from './bundle-i_3w58Zd.js';
|
|
19
19
|
|
|
20
20
|
var GroupChannelListItemView = function (_a) {
|
|
21
21
|
var channel = _a.channel, tabIndex = _a.tabIndex, isTyping = _a.isTyping, isSelected = _a.isSelected, channelName = _a.channelName, _b = _a.isMessageStatusEnabled, isMessageStatusEnabled = _b === void 0 ? true : _b, _c = _a.onClick, onClick = _c === void 0 ? noop : _c, _d = _a.onLeaveChannel, onLeaveChannel = _d === void 0 ? function () { return Promise.resolve(); } : _d, renderChannelAction = _a.renderChannelAction;
|
|
@@ -74,8 +74,9 @@ var GroupChannelListItemView = function (_a) {
|
|
|
74
74
|
* Do not show unread count for focused channel. This is because of the limitation where
|
|
75
75
|
* isScrollBottom and hasNext states needs to be added globally but they are from channel context
|
|
76
76
|
* so channel list cannot see them with the current architecture.
|
|
77
|
+
* However, when enableMarkAsUnread is true, we show unread count even for selected channels.
|
|
77
78
|
*/
|
|
78
|
-
!isSelected && !channel.isEphemeral && (React__default.createElement("div", { className: "sendbird-channel-preview__content__lower__unread-message-count" },
|
|
79
|
+
(!isSelected || config.groupChannel.enableMarkAsUnread) && !channel.isEphemeral && (React__default.createElement("div", { className: "sendbird-channel-preview__content__lower__unread-message-count" },
|
|
79
80
|
isMentionEnabled && channel.unreadMentionCount > 0 ? (React__default.createElement(MentionUserLabel, { className: "sendbird-channel-preview__content__lower__unread-message-count__mention", color: "purple" }, '@')) : null,
|
|
80
81
|
getChannelUnreadMessageCount(channel) ? ( // return number
|
|
81
82
|
React__default.createElement(Badge, { count: getChannelUnreadMessageCount(channel) })) : null)))),
|
|
@@ -89,4 +90,4 @@ var GroupChannelListItemView = function (_a) {
|
|
|
89
90
|
};
|
|
90
91
|
|
|
91
92
|
export { GroupChannelListItemView as G };
|
|
92
|
-
//# sourceMappingURL=bundle-
|
|
93
|
+
//# sourceMappingURL=bundle-CVD_LLYN.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bundle-
|
|
1
|
+
{"version":3,"file":"bundle-CVD_LLYN.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-Cc1gzgza.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { K } from './bundle-
|
|
1
|
+
import { K } from './bundle-DEuCwnTn.js';
|
|
2
2
|
|
|
3
3
|
var EmojiManager = /** @class */ (function () {
|
|
4
4
|
function EmojiManager(props) {
|
|
@@ -146,4 +146,4 @@ var mapColorKeys = function (colorSet) {
|
|
|
146
146
|
};
|
|
147
147
|
|
|
148
148
|
export { EmojiManager as E, mapColorKeys as m };
|
|
149
|
-
//# sourceMappingURL=bundle-
|
|
149
|
+
//# sourceMappingURL=bundle-Ck6kmFoK.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bundle-
|
|
1
|
+
{"version":3,"file":"bundle-Ck6kmFoK.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as requiredArgs, t as toDate } from './bundle-
|
|
1
|
+
import { r as requiredArgs, t as toDate } from './bundle-fdEQfX2s.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* @name startOfDay
|
|
@@ -61,4 +61,4 @@ function isSameDay(dirtyDateLeft, dirtyDateRight) {
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
export { isSameDay as i };
|
|
64
|
-
//# sourceMappingURL=bundle-
|
|
64
|
+
//# sourceMappingURL=bundle-Cl9rtdlj.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bundle-
|
|
1
|
+
{"version":3,"file":"bundle-Cl9rtdlj.js","sources":["../../node_modules/date-fns/esm/startOfDay/index.js","../../node_modules/date-fns/esm/isSameDay/index.js"],"sourcesContent":["import toDate from \"../toDate/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name startOfDay\n * @category Day Helpers\n * @summary Return the start of a day for the given date.\n *\n * @description\n * Return the start of a day for the given date.\n * The result will be in the local timezone.\n *\n * @param {Date|Number} date - the original date\n * @returns {Date} the start of a day\n * @throws {TypeError} 1 argument required\n *\n * @example\n * // The start of a day for 2 September 2014 11:55:00:\n * const result = startOfDay(new Date(2014, 8, 2, 11, 55, 0))\n * //=> Tue Sep 02 2014 00:00:00\n */\nexport default function startOfDay(dirtyDate) {\n requiredArgs(1, arguments);\n var date = toDate(dirtyDate);\n date.setHours(0, 0, 0, 0);\n return date;\n}","import startOfDay from \"../startOfDay/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name isSameDay\n * @category Day Helpers\n * @summary Are the given dates in the same day (and year and month)?\n *\n * @description\n * Are the given dates in the same day (and year and month)?\n *\n * @param {Date|Number} dateLeft - the first date to check\n * @param {Date|Number} dateRight - the second date to check\n * @returns {Boolean} the dates are in the same day (and year and month)\n * @throws {TypeError} 2 arguments required\n *\n * @example\n * // Are 4 September 06:00:00 and 4 September 18:00:00 in the same day?\n * const result = isSameDay(new Date(2014, 8, 4, 6, 0), new Date(2014, 8, 4, 18, 0))\n * //=> true\n *\n * @example\n * // Are 4 September and 4 October in the same day?\n * const result = isSameDay(new Date(2014, 8, 4), new Date(2014, 9, 4))\n * //=> false\n *\n * @example\n * // Are 4 September, 2014 and 4 September, 2015 in the same day?\n * const result = isSameDay(new Date(2014, 8, 4), new Date(2015, 8, 4))\n * //=> false\n */\nexport default function isSameDay(dirtyDateLeft, dirtyDateRight) {\n requiredArgs(2, arguments);\n var dateLeftStartOfDay = startOfDay(dirtyDateLeft);\n var dateRightStartOfDay = startOfDay(dirtyDateRight);\n return dateLeftStartOfDay.getTime() === dateRightStartOfDay.getTime();\n}"],"names":[],"mappings":";;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACe,SAAS,UAAU,CAAC,SAAS,EAAE;AAC9C,EAAE,YAAY,CAAC,CAAC,EAAE,SAAS,CAAC,CAAC;AAC7B,EAAE,IAAI,IAAI,GAAG,MAAM,CAAC,SAAS,CAAC,CAAC;AAC/B,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;AAC5B,EAAE,OAAO,IAAI,CAAC;AACd;;ACvBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACe,SAAS,SAAS,CAAC,aAAa,EAAE,cAAc,EAAE;AACjE,EAAE,YAAY,CAAC,CAAC,EAAE,SAAS,CAAC,CAAC;AAC7B,EAAE,IAAI,kBAAkB,GAAG,UAAU,CAAC,aAAa,CAAC,CAAC;AACrD,EAAE,IAAI,mBAAmB,GAAG,UAAU,CAAC,cAAc,CAAC,CAAC;AACvD,EAAE,OAAO,kBAAkB,CAAC,OAAO,EAAE,KAAK,mBAAmB,CAAC,OAAO,EAAE,CAAC;AACxE;;;;","x_google_ignoreList":[0,1]}
|