@sendbird/uikit-react 3.6.6 → 3.6.7
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 +48 -48
- package/CHANGELOG.md +61 -0
- package/Channel/components/ChannelHeader.js +19 -19
- package/Channel/components/ChannelUI.js +41 -41
- package/Channel/components/FileViewer.js +15 -15
- package/Channel/components/FrozenNotification.js +4 -4
- package/Channel/components/Message.js +36 -36
- package/Channel/components/MessageInput.js +29 -29
- package/Channel/components/MessageList.js +37 -37
- package/Channel/components/RemoveMessageModal.js +17 -17
- package/Channel/components/SuggestedMentionList.js +17 -17
- package/Channel/components/TypingIndicator.js +15 -15
- package/Channel/components/UnreadCount.js +4 -4
- package/Channel/context.js +12 -12
- package/Channel.js +41 -41
- package/ChannelList/components/AddChannel.js +15 -14
- package/ChannelList/components/AddChannel.js.map +1 -1
- package/ChannelList/components/ChannelListHeader.js +6 -6
- package/ChannelList/components/ChannelListUI.js +35 -68
- package/ChannelList/components/ChannelListUI.js.map +1 -1
- package/ChannelList/components/ChannelPreview.js +26 -26
- package/ChannelList/components/ChannelPreviewAction.js +14 -13
- package/ChannelList/components/ChannelPreviewAction.js.map +1 -1
- package/ChannelList/context.js +8 -7
- package/ChannelList/context.js.map +1 -1
- package/ChannelList.js +30 -30
- package/{ChannelListProvider-2e7026e9.js → ChannelListProvider-fc14f42d.js} +77 -11
- package/ChannelListProvider-fc14f42d.js.map +1 -0
- package/{ChannelProvider-31a344d3.js → ChannelProvider-78e85f32.js} +32 -21
- package/ChannelProvider-78e85f32.js.map +1 -0
- package/ChannelSettings/components/ChannelProfile.js +11 -11
- package/ChannelSettings/components/ChannelSettingsUI.js +17 -17
- package/ChannelSettings/components/EditDetailsModal.js +11 -11
- package/ChannelSettings/components/LeaveChannel.js +11 -11
- package/ChannelSettings/components/ModerationPanel.js +14 -14
- package/ChannelSettings/components/UserListItem.js +10 -10
- package/ChannelSettings/components/UserPanel.js +13 -13
- package/ChannelSettings/context.js +3 -3
- package/ChannelSettings.js +17 -17
- package/CreateChannel/components/CreateChannelUI.js +13 -13
- package/CreateChannel/components/InviteUsers.js +13 -13
- package/CreateChannel/components/SelectChannelType.js +10 -10
- package/CreateChannel/context.js +4 -4
- package/CreateChannel.js +13 -13
- package/{CreateChannelProvider-eeaa1371.js → CreateChannelProvider-fe23c38f.js} +1 -1
- package/{CreateChannelProvider-eeaa1371.js.map → CreateChannelProvider-fe23c38f.js.map} +1 -1
- package/CreateOpenChannel/components/CreateOpenChannelUI.js +9 -9
- package/CreateOpenChannel/context.js +1 -1
- package/CreateOpenChannel.js +9 -9
- package/EditUserProfile/components/EditUserProfileUI.js +12 -12
- package/EditUserProfile.js +12 -12
- package/{LocalizationContext-2952e678.js → LocalizationContext-5fe9b59d.js} +3 -3
- package/{LocalizationContext-2952e678.js.map → LocalizationContext-5fe9b59d.js.map} +1 -1
- package/{MediaQueryContext-2173573f.js → MediaQueryContext-66b59195.js} +1 -1
- package/{MediaQueryContext-2173573f.js.map → MediaQueryContext-66b59195.js.map} +1 -1
- package/{MemberList-a51051e6.js → MemberList-c03817ad.js} +5 -5
- package/{MemberList-a51051e6.js.map → MemberList-c03817ad.js.map} +1 -1
- package/MessageSearch/components/MessageSearchUI.js +11 -11
- package/MessageSearch/context.js +1 -1
- package/MessageSearch.js +11 -11
- package/OpenChannel/components/FrozenChannelNotification.js +4 -4
- package/OpenChannel/components/OpenChannelHeader.js +12 -12
- package/OpenChannel/components/OpenChannelInput.js +19 -19
- package/OpenChannel/components/OpenChannelMessage.js +27 -27
- package/OpenChannel/components/OpenChannelMessageList.js +31 -31
- package/OpenChannel/components/OpenChannelUI.js +31 -31
- package/OpenChannel/context.js +8 -8
- package/OpenChannel.js +31 -31
- package/OpenChannelList/components/OpenChannelListUI.js +13 -13
- package/OpenChannelList/components/OpenChannelPreview.js +3 -3
- package/OpenChannelList/context.js +3 -3
- package/OpenChannelList.js +13 -13
- package/{OpenChannelListProvider-ce900f45.js → OpenChannelListProvider-5d21932a.js} +3 -3
- package/{OpenChannelListProvider-ce900f45.js.map → OpenChannelListProvider-5d21932a.js.map} +1 -1
- package/{OpenChannelProvider-bc20868c.js → OpenChannelProvider-a6f4f92a.js} +7 -7
- package/{OpenChannelProvider-bc20868c.js.map → OpenChannelProvider-a6f4f92a.js.map} +1 -1
- package/OpenChannelSettings/components/EditDetailsModal.js +12 -12
- package/OpenChannelSettings/components/OpenChannelProfile.js +12 -12
- package/OpenChannelSettings/components/OpenChannelSettingsUI.js +17 -17
- package/OpenChannelSettings/components/OperatorUI.js +16 -16
- package/OpenChannelSettings/components/ParticipantUI.js +14 -14
- package/OpenChannelSettings/context.js +3 -3
- package/OpenChannelSettings.js +17 -17
- package/README.md +6 -3
- package/{RemoveMessageModal-9c579f0f.js → RemoveMessageModal-0d438e31.js} +3 -3
- package/{RemoveMessageModal-9c579f0f.js.map → RemoveMessageModal-0d438e31.js.map} +1 -1
- package/SendbirdProvider.js +15 -15
- package/Thread/components/ParentMessageInfo.js +33 -33
- package/Thread/components/ParentMessageInfoItem.js +21 -21
- package/Thread/components/ThreadHeader.js +6 -6
- package/Thread/components/ThreadList.js +36 -36
- package/Thread/components/ThreadListItem.js +36 -36
- package/Thread/components/ThreadMessageInput.js +30 -30
- package/Thread/components/ThreadUI.js +40 -40
- package/Thread/context.js +8 -8
- package/Thread.js +40 -40
- package/{ThreadProvider-27c497dc.js → ThreadProvider-2a4356a2.js} +21 -7
- package/ThreadProvider-2a4356a2.js.map +1 -0
- package/{UserProfileContext-76aab169.js → UserProfileContext-8b8f3e3a.js} +1 -1
- package/{UserProfileContext-76aab169.js.map → UserProfileContext-8b8f3e3a.js.map} +1 -1
- package/{VoiceMessageInputWrapper-e45ec2f0.js → VoiceMessageInputWrapper-b8742ea1.js} +7 -7
- package/{VoiceMessageInputWrapper-e45ec2f0.js.map → VoiceMessageInputWrapper-b8742ea1.js.map} +1 -1
- package/VoicePlayer/context.js +3 -3
- package/VoicePlayer/useVoicePlayer.js +9 -9
- package/VoiceRecorder/context.js +9 -9
- package/VoiceRecorder/useVoiceRecorder.js +8 -8
- package/{WebAudioUtils-97e524fa.js → WebAudioUtils-63418113.js} +2 -2
- package/{WebAudioUtils-97e524fa.js.map → WebAudioUtils-63418113.js.map} +1 -1
- package/{_rollupPluginBabelHelpers-34f2bdc3.js → _rollupPluginBabelHelpers-90ff7fc4.js} +1 -1
- package/_rollupPluginBabelHelpers-90ff7fc4.js.map +1 -0
- package/{actionTypes-e67c8999.js → actionTypes-66bf934b.js} +1 -1
- package/{actionTypes-e67c8999.js.map → actionTypes-66bf934b.js.map} +1 -1
- package/cjs/App.js +48 -48
- package/cjs/Channel/components/ChannelHeader.js +19 -19
- package/cjs/Channel/components/ChannelUI.js +41 -41
- package/cjs/Channel/components/FileViewer.js +15 -15
- package/cjs/Channel/components/FrozenNotification.js +4 -4
- package/cjs/Channel/components/Message.js +36 -36
- package/cjs/Channel/components/MessageInput.js +29 -29
- package/cjs/Channel/components/MessageList.js +37 -37
- package/cjs/Channel/components/RemoveMessageModal.js +17 -17
- package/cjs/Channel/components/SuggestedMentionList.js +17 -17
- package/cjs/Channel/components/TypingIndicator.js +15 -15
- package/cjs/Channel/components/UnreadCount.js +4 -4
- package/cjs/Channel/context.js +12 -12
- package/cjs/Channel.js +41 -41
- package/cjs/ChannelList/components/AddChannel.js +15 -14
- package/cjs/ChannelList/components/AddChannel.js.map +1 -1
- package/cjs/ChannelList/components/ChannelListHeader.js +6 -6
- package/cjs/ChannelList/components/ChannelListUI.js +35 -68
- package/cjs/ChannelList/components/ChannelListUI.js.map +1 -1
- package/cjs/ChannelList/components/ChannelPreview.js +26 -26
- package/cjs/ChannelList/components/ChannelPreviewAction.js +14 -13
- package/cjs/ChannelList/components/ChannelPreviewAction.js.map +1 -1
- package/cjs/ChannelList/context.js +8 -7
- package/cjs/ChannelList/context.js.map +1 -1
- package/cjs/ChannelList.js +30 -30
- package/cjs/{ChannelListProvider-51837593.js → ChannelListProvider-c1f3cf4a.js} +75 -12
- package/cjs/ChannelListProvider-c1f3cf4a.js.map +1 -0
- package/cjs/{ChannelProvider-ab59275b.js → ChannelProvider-633edf61.js} +32 -21
- package/cjs/ChannelProvider-633edf61.js.map +1 -0
- package/cjs/ChannelSettings/components/ChannelProfile.js +11 -11
- package/cjs/ChannelSettings/components/ChannelSettingsUI.js +17 -17
- package/cjs/ChannelSettings/components/EditDetailsModal.js +11 -11
- package/cjs/ChannelSettings/components/LeaveChannel.js +11 -11
- package/cjs/ChannelSettings/components/ModerationPanel.js +14 -14
- package/cjs/ChannelSettings/components/UserListItem.js +10 -10
- package/cjs/ChannelSettings/components/UserPanel.js +13 -13
- package/cjs/ChannelSettings/context.js +3 -3
- package/cjs/ChannelSettings.js +17 -17
- package/cjs/CreateChannel/components/CreateChannelUI.js +13 -13
- package/cjs/CreateChannel/components/InviteUsers.js +13 -13
- package/cjs/CreateChannel/components/SelectChannelType.js +10 -10
- package/cjs/CreateChannel/context.js +4 -4
- package/cjs/CreateChannel.js +13 -13
- package/cjs/{CreateChannelProvider-e0ae2cf1.js → CreateChannelProvider-32102712.js} +1 -1
- package/cjs/{CreateChannelProvider-e0ae2cf1.js.map → CreateChannelProvider-32102712.js.map} +1 -1
- package/cjs/CreateOpenChannel/components/CreateOpenChannelUI.js +9 -9
- package/cjs/CreateOpenChannel/context.js +1 -1
- package/cjs/CreateOpenChannel.js +9 -9
- package/cjs/EditUserProfile/components/EditUserProfileUI.js +12 -12
- package/cjs/EditUserProfile.js +12 -12
- package/cjs/{LocalizationContext-76831b0e.js → LocalizationContext-a15ec4eb.js} +3 -3
- package/cjs/{LocalizationContext-76831b0e.js.map → LocalizationContext-a15ec4eb.js.map} +1 -1
- package/cjs/{MediaQueryContext-792b58f7.js → MediaQueryContext-80d10d7b.js} +1 -1
- package/cjs/{MediaQueryContext-792b58f7.js.map → MediaQueryContext-80d10d7b.js.map} +1 -1
- package/cjs/{MemberList-6b630054.js → MemberList-5303bbbb.js} +5 -5
- package/cjs/{MemberList-6b630054.js.map → MemberList-5303bbbb.js.map} +1 -1
- package/cjs/MessageSearch/components/MessageSearchUI.js +11 -11
- package/cjs/MessageSearch/context.js +1 -1
- package/cjs/MessageSearch.js +11 -11
- package/cjs/OpenChannel/components/FrozenChannelNotification.js +4 -4
- package/cjs/OpenChannel/components/OpenChannelHeader.js +12 -12
- package/cjs/OpenChannel/components/OpenChannelInput.js +19 -19
- package/cjs/OpenChannel/components/OpenChannelMessage.js +27 -27
- package/cjs/OpenChannel/components/OpenChannelMessageList.js +31 -31
- package/cjs/OpenChannel/components/OpenChannelUI.js +31 -31
- package/cjs/OpenChannel/context.js +8 -8
- package/cjs/OpenChannel.js +31 -31
- package/cjs/OpenChannelList/components/OpenChannelListUI.js +13 -13
- package/cjs/OpenChannelList/components/OpenChannelPreview.js +3 -3
- package/cjs/OpenChannelList/context.js +3 -3
- package/cjs/OpenChannelList.js +13 -13
- package/cjs/{OpenChannelListProvider-4d15730f.js → OpenChannelListProvider-49874b88.js} +3 -3
- package/cjs/{OpenChannelListProvider-4d15730f.js.map → OpenChannelListProvider-49874b88.js.map} +1 -1
- package/cjs/{OpenChannelProvider-2f59b53a.js → OpenChannelProvider-c2b3dc2c.js} +7 -7
- package/cjs/{OpenChannelProvider-2f59b53a.js.map → OpenChannelProvider-c2b3dc2c.js.map} +1 -1
- package/cjs/OpenChannelSettings/components/EditDetailsModal.js +12 -12
- package/cjs/OpenChannelSettings/components/OpenChannelProfile.js +12 -12
- package/cjs/OpenChannelSettings/components/OpenChannelSettingsUI.js +17 -17
- package/cjs/OpenChannelSettings/components/OperatorUI.js +16 -16
- package/cjs/OpenChannelSettings/components/ParticipantUI.js +14 -14
- package/cjs/OpenChannelSettings/context.js +3 -3
- package/cjs/OpenChannelSettings.js +17 -17
- package/cjs/{RemoveMessageModal-47cae846.js → RemoveMessageModal-271f1251.js} +3 -3
- package/cjs/{RemoveMessageModal-47cae846.js.map → RemoveMessageModal-271f1251.js.map} +1 -1
- package/cjs/SendbirdProvider.js +15 -15
- package/cjs/Thread/components/ParentMessageInfo.js +33 -33
- package/cjs/Thread/components/ParentMessageInfoItem.js +22 -22
- package/cjs/Thread/components/ParentMessageInfoItem.js.map +1 -1
- package/cjs/Thread/components/ThreadHeader.js +6 -6
- package/cjs/Thread/components/ThreadList.js +36 -36
- package/cjs/Thread/components/ThreadListItem.js +36 -36
- package/cjs/Thread/components/ThreadMessageInput.js +30 -30
- package/cjs/Thread/components/ThreadUI.js +40 -40
- package/cjs/Thread/context.js +8 -8
- package/cjs/Thread.js +40 -40
- package/cjs/{ThreadProvider-5844bd6d.js → ThreadProvider-8d2ce923.js} +21 -7
- package/cjs/ThreadProvider-8d2ce923.js.map +1 -0
- package/cjs/{UserProfileContext-5fd27232.js → UserProfileContext-f8f1cee7.js} +1 -1
- package/cjs/{UserProfileContext-5fd27232.js.map → UserProfileContext-f8f1cee7.js.map} +1 -1
- package/cjs/{VoiceMessageInputWrapper-e10f305f.js → VoiceMessageInputWrapper-e8d7b9ba.js} +7 -7
- package/cjs/{VoiceMessageInputWrapper-e10f305f.js.map → VoiceMessageInputWrapper-e8d7b9ba.js.map} +1 -1
- package/cjs/VoicePlayer/context.js +3 -3
- package/cjs/VoicePlayer/useVoicePlayer.js +9 -9
- package/cjs/VoiceRecorder/context.js +9 -9
- package/cjs/VoiceRecorder/useVoiceRecorder.js +8 -8
- package/cjs/{WebAudioUtils-4227909a.js → WebAudioUtils-88dbfaed.js} +2 -2
- package/cjs/{WebAudioUtils-4227909a.js.map → WebAudioUtils-88dbfaed.js.map} +1 -1
- package/cjs/{_rollupPluginBabelHelpers-2c208df7.js → _rollupPluginBabelHelpers-0d9d52a5.js} +1 -1
- package/cjs/_rollupPluginBabelHelpers-0d9d52a5.js.map +1 -0
- package/cjs/{actionTypes-64cb54b1.js → actionTypes-974dfe33.js} +1 -1
- package/cjs/{actionTypes-64cb54b1.js.map → actionTypes-974dfe33.js.map} +1 -1
- package/cjs/{color-2a756176.js → color-1e9cc481.js} +1 -1
- package/cjs/{color-2a756176.js.map → color-1e9cc481.js.map} +1 -1
- package/cjs/{compareIds-d6d1cc62.js → compareIds-0344920c.js} +1 -1
- package/cjs/{compareIds-d6d1cc62.js.map → compareIds-0344920c.js.map} +1 -1
- package/cjs/{const-0f73f007.js → const-0d4d91cd.js} +1 -1
- package/cjs/{const-0f73f007.js.map → const-0d4d91cd.js.map} +1 -1
- package/cjs/{const-2d057dc1.js → const-182fe978.js} +1 -1
- package/cjs/{const-2d057dc1.js.map → const-182fe978.js.map} +1 -1
- package/cjs/{consts-0a4f487c.js → consts-0c9a38ef.js} +5 -1
- package/cjs/{consts-0a4f487c.js.map → consts-0c9a38ef.js.map} +1 -1
- package/cjs/{consts-c1c7f3b9.js → consts-10e5b075.js} +1 -1
- package/cjs/{consts-c1c7f3b9.js.map → consts-10e5b075.js.map} +1 -1
- package/cjs/{consts-c16c955d.js → consts-5bdc2c7f.js} +1 -1
- package/cjs/{consts-c16c955d.js.map → consts-5bdc2c7f.js.map} +1 -1
- package/cjs/{consts-5a40550e.js → consts-c336bb61.js} +1 -1
- package/cjs/{consts-5a40550e.js.map → consts-c336bb61.js.map} +1 -1
- package/cjs/{context-0bf4608e.js → context-0276d21e.js} +2 -2
- package/cjs/{context-0bf4608e.js.map → context-0276d21e.js.map} +1 -1
- package/cjs/{index-ea4739fe.js → index-08c5777e.js} +2 -2
- package/cjs/{index-ea4739fe.js.map → index-08c5777e.js.map} +1 -1
- package/cjs/{index-060711f6.js → index-092b22dd.js} +2 -2
- package/cjs/{index-060711f6.js.map → index-092b22dd.js.map} +1 -1
- package/cjs/{index-f3743012.js → index-1325e266.js} +3 -3
- package/cjs/{index-f3743012.js.map → index-1325e266.js.map} +1 -1
- package/cjs/{index-71863abf.js → index-17a6519d.js} +1 -1
- package/cjs/{index-71863abf.js.map → index-17a6519d.js.map} +1 -1
- package/cjs/{index-44985c08.js → index-2cb13008.js} +2 -2
- package/cjs/{index-44985c08.js.map → index-2cb13008.js.map} +1 -1
- package/cjs/{index-03a83f97.js → index-49fe0efb.js} +4 -4
- package/cjs/{index-03a83f97.js.map → index-49fe0efb.js.map} +1 -1
- package/cjs/{index-6a9e8bcb.js → index-54228aa8.js} +6 -6
- package/cjs/{index-6a9e8bcb.js.map → index-54228aa8.js.map} +1 -1
- package/cjs/{index-b5614bfa.js → index-5a651f3c.js} +2 -2
- package/cjs/{index-b5614bfa.js.map → index-5a651f3c.js.map} +1 -1
- package/cjs/{index-b1b515a7.js → index-6cb3365f.js} +2 -2
- package/cjs/{index-b1b515a7.js.map → index-6cb3365f.js.map} +1 -1
- package/cjs/{index-d69866c1.js → index-87e11d7e.js} +5 -5
- package/cjs/{index-d69866c1.js.map → index-87e11d7e.js.map} +1 -1
- package/cjs/{index-6b02cca4.js → index-9c8e297d.js} +3 -3
- package/cjs/{index-6b02cca4.js.map → index-9c8e297d.js.map} +1 -1
- package/cjs/{index-29f85f9b.js → index-b428366f.js} +2 -2
- package/cjs/{index-29f85f9b.js.map → index-b428366f.js.map} +1 -1
- package/cjs/{index-c00c028b.js → index-c2454b7e.js} +1 -1
- package/cjs/{index-c00c028b.js.map → index-c2454b7e.js.map} +1 -1
- package/cjs/{index-803f2ff2.js → index-cebd1362.js} +4 -4
- package/cjs/{index-803f2ff2.js.map → index-cebd1362.js.map} +1 -1
- package/cjs/{index-6977efce.js → index-dbccd7fb.js} +3 -3
- package/cjs/{index-6977efce.js.map → index-dbccd7fb.js.map} +1 -1
- package/cjs/{index-6c3bc4f9.js → index-e46cc828.js} +6 -6
- package/cjs/{index-6c3bc4f9.js.map → index-e46cc828.js.map} +1 -1
- package/cjs/{index-3aeb8bf9.js → index-ed1ee70b.js} +6 -6
- package/cjs/{index-3aeb8bf9.js.map → index-ed1ee70b.js.map} +1 -1
- package/cjs/index.js +52 -52
- package/cjs/{index.module-bee98cc5.js → index.module-8026e7d3.js} +1 -1
- package/cjs/{index.module-bee98cc5.js.map → index.module-8026e7d3.js.map} +1 -1
- package/cjs/package.json +1 -1
- package/cjs/{resolvedReplyType-9517a813.js → resolvedReplyType-8137e072.js} +1 -1
- package/cjs/{resolvedReplyType-9517a813.js.map → resolvedReplyType-8137e072.js.map} +1 -1
- package/cjs/sendbirdSelectors.js +19 -5
- package/cjs/sendbirdSelectors.js.map +1 -1
- package/cjs/{stringSet-39e8b84e.js → stringSet-769f181d.js} +1 -1
- package/cjs/{stringSet-39e8b84e.js.map → stringSet-769f181d.js.map} +1 -1
- package/cjs/{tokenize-3176b8f2.js → tokenize-586ed01a.js} +2 -2
- package/cjs/{tokenize-3176b8f2.js.map → tokenize-586ed01a.js.map} +1 -1
- package/cjs/{topics-e1897e48.js → topics-99121946.js} +2 -1
- package/cjs/topics-99121946.js.map +1 -0
- package/cjs/{types-be32f153.js → types-812b3bfd.js} +1 -1
- package/cjs/{types-be32f153.js.map → types-812b3bfd.js.map} +1 -1
- package/cjs/ui/Accordion.js +2 -2
- package/cjs/ui/AccordionGroup.js +2 -2
- package/cjs/ui/AdminMessage.js +2 -2
- package/cjs/ui/Avatar.js +10 -10
- package/cjs/ui/Avatar.js.map +1 -1
- package/cjs/ui/Badge.js +4 -4
- package/cjs/ui/BottomSheet.js +1 -1
- package/cjs/ui/Button.js +2 -2
- package/cjs/ui/ChannelAvatar.js +2 -2
- package/cjs/ui/ConnectionStatus.js +4 -4
- package/cjs/ui/ContextMenu.js +5 -5
- package/cjs/ui/DateSeparator.js +3 -3
- package/cjs/ui/EmojiReactions.js +17 -17
- package/cjs/ui/EmojiReactions.js.map +1 -1
- package/cjs/ui/FileMessageItemBody.js +6 -6
- package/cjs/ui/FileViewer.js +8 -8
- package/cjs/ui/IconButton.js +1 -1
- package/cjs/ui/ImageRenderer.js +26 -11
- package/cjs/ui/ImageRenderer.js.map +1 -1
- package/cjs/ui/Input.js +2 -2
- package/cjs/ui/Label.js +2 -2
- package/cjs/ui/LinkLabel.js +2 -2
- package/cjs/ui/MentionLabel.js +10 -10
- package/cjs/ui/MentionUserLabel.js +1 -1
- package/cjs/ui/MessageContent.js +28 -28
- package/cjs/ui/MessageInput.js +13 -13
- package/cjs/ui/MessageItemMenu.js +8 -8
- package/cjs/ui/MessageItemReactionMenu.js +9 -9
- package/cjs/ui/MessageItemReactionMenu.js.map +1 -1
- package/cjs/ui/MessageSearchFileItem.js +10 -10
- package/cjs/ui/MessageSearchItem.js +8 -8
- package/cjs/ui/MessageStatus.js +10 -10
- package/cjs/ui/Modal.js +7 -7
- package/cjs/ui/OGMessageItemBody.js +15 -15
- package/cjs/ui/OGMessageItemBody.js.map +1 -1
- package/cjs/ui/OpenChannelAdminMessage.js +2 -2
- package/cjs/ui/OpenChannelAvatar.js +5 -5
- package/cjs/ui/OpenchannelConversationHeader.js +6 -6
- package/cjs/ui/OpenchannelFileMessage.js +15 -15
- package/cjs/ui/OpenchannelOGMessage.js +19 -19
- package/cjs/ui/OpenchannelOGMessage.js.map +1 -1
- package/cjs/ui/OpenchannelThumbnailMessage.js +16 -16
- package/cjs/ui/OpenchannelThumbnailMessage.js.map +1 -1
- package/cjs/ui/OpenchannelUserMessage.js +15 -15
- package/cjs/ui/PlaceHolder.js +5 -5
- package/cjs/ui/PlaybackTime.js +2 -2
- package/cjs/ui/QuoteMessage.js +7 -7
- package/cjs/ui/QuoteMessage.js.map +1 -1
- package/cjs/ui/QuoteMessageInput.js +7 -7
- package/cjs/ui/QuoteMessageInput.js.map +1 -1
- package/cjs/ui/ReactionBadge.js +2 -2
- package/cjs/ui/ReactionButton.js +4 -4
- package/cjs/ui/SortByRow.js +1 -1
- package/cjs/ui/TextButton.js +1 -1
- package/cjs/ui/TextMessageItemBody.js +14 -14
- package/cjs/ui/ThreadReplies.js +5 -5
- package/cjs/ui/ThumbnailMessageItemBody.js +6 -6
- package/cjs/ui/ThumbnailMessageItemBody.js.map +1 -1
- package/cjs/ui/Toggle.js +1 -1
- package/cjs/ui/Tooltip.js +2 -2
- package/cjs/ui/UnknownMessageItemBody.js +6 -6
- package/cjs/ui/UserListItem.js +10 -10
- package/cjs/ui/UserProfile.js +9 -9
- package/cjs/ui/VoiceMessageItemBody.js +9 -9
- package/cjs/ui/VoiceMessgeInput.js +7 -7
- package/cjs/ui/Word.js +10 -10
- package/cjs/{useDirtyGetMentions-041acd2a.js → useDirtyGetMentions-a37639f1.js} +1 -1
- package/cjs/{useDirtyGetMentions-041acd2a.js.map → useDirtyGetMentions-a37639f1.js.map} +1 -1
- package/cjs/{useLongPress-5432edbf.js → useLongPress-a77054d5.js} +3 -3
- package/cjs/{useLongPress-5432edbf.js.map → useLongPress-a77054d5.js.map} +1 -1
- package/cjs/useSendbirdStateContext.js +1 -1
- package/cjs/utils/message/isVoiceMessage.js +2 -2
- package/cjs/{utils-bec85954.js → utils-18517a45.js} +2 -2
- package/cjs/{utils-bec85954.js.map → utils-18517a45.js.map} +1 -1
- package/cjs/{utils-24df69e2.js → utils-3fda8de7.js} +1 -1
- package/cjs/{utils-24df69e2.js.map → utils-3fda8de7.js.map} +1 -1
- package/cjs/{utils-b653226e.js → utils-c8ca7346.js} +1 -1
- package/cjs/{utils-b653226e.js.map → utils-c8ca7346.js.map} +1 -1
- package/cjs/{utils-e7fdfd61.js → utils-d6b081f0.js} +1 -1
- package/cjs/{utils-e7fdfd61.js.map → utils-d6b081f0.js.map} +1 -1
- package/cjs/{uuid-54dc5376.js → uuid-6c019e89.js} +1 -1
- package/cjs/{uuid-54dc5376.js.map → uuid-6c019e89.js.map} +1 -1
- package/cjs/withSendbird.js +1 -1
- package/{color-b73a158c.js → color-2315a258.js} +1 -1
- package/{color-b73a158c.js.map → color-2315a258.js.map} +1 -1
- package/{compareIds-eab12c15.js → compareIds-2464aab2.js} +1 -1
- package/{compareIds-eab12c15.js.map → compareIds-2464aab2.js.map} +1 -1
- package/{const-9ab08d0b.js → const-0cca8d38.js} +1 -1
- package/{const-9ab08d0b.js.map → const-0cca8d38.js.map} +1 -1
- package/{const-72965dcb.js → const-c6a266f4.js} +1 -1
- package/{const-72965dcb.js.map → const-c6a266f4.js.map} +1 -1
- package/{consts-2475c80c.js → consts-32a2c4a7.js} +1 -1
- package/{consts-2475c80c.js.map → consts-32a2c4a7.js.map} +1 -1
- package/{consts-8c9214ee.js → consts-3d956927.js} +1 -1
- package/{consts-8c9214ee.js.map → consts-3d956927.js.map} +1 -1
- package/{consts-0726d733.js → consts-991d3823.js} +1 -1
- package/{consts-0726d733.js.map → consts-991d3823.js.map} +1 -1
- package/{consts-55e36248.js → consts-b6f24cc7.js} +5 -2
- package/{consts-55e36248.js.map → consts-b6f24cc7.js.map} +1 -1
- package/{context-ebecf7b8.js → context-e46fff7b.js} +2 -2
- package/{context-ebecf7b8.js.map → context-e46fff7b.js.map} +1 -1
- package/{index-7727118e.js → index-07345a6e.js} +5 -5
- package/{index-7727118e.js.map → index-07345a6e.js.map} +1 -1
- package/{index-0dd2ee39.js → index-13d9d766.js} +2 -2
- package/{index-0dd2ee39.js.map → index-13d9d766.js.map} +1 -1
- package/{index-007ff82b.js → index-17b78bb0.js} +6 -6
- package/{index-007ff82b.js.map → index-17b78bb0.js.map} +1 -1
- package/{index-7b514167.js → index-2544bb0a.js} +4 -4
- package/{index-7b514167.js.map → index-2544bb0a.js.map} +1 -1
- package/{index-b74226dc.js → index-335e7557.js} +2 -2
- package/{index-b74226dc.js.map → index-335e7557.js.map} +1 -1
- package/{index-c2640752.js → index-499d9ef9.js} +2 -2
- package/{index-c2640752.js.map → index-499d9ef9.js.map} +1 -1
- package/{index-96fe32b3.js → index-56249831.js} +2 -2
- package/{index-96fe32b3.js.map → index-56249831.js.map} +1 -1
- package/{index-c2c52b45.js → index-63c995b8.js} +3 -3
- package/{index-c2c52b45.js.map → index-63c995b8.js.map} +1 -1
- package/{index-055e94b6.js → index-7b3790d3.js} +4 -4
- package/{index-055e94b6.js.map → index-7b3790d3.js.map} +1 -1
- package/{index-8dcf7652.js → index-879bcfab.js} +3 -3
- package/{index-8dcf7652.js.map → index-879bcfab.js.map} +1 -1
- package/{index-c191462d.js → index-a39b9075.js} +3 -3
- package/{index-c191462d.js.map → index-a39b9075.js.map} +1 -1
- package/{index-e43e7fa2.js → index-b9b184a4.js} +1 -1
- package/{index-e43e7fa2.js.map → index-b9b184a4.js.map} +1 -1
- package/{index-a5bf5a96.js → index-bafedab0.js} +1 -1
- package/{index-a5bf5a96.js.map → index-bafedab0.js.map} +1 -1
- package/{index-af1fb797.js → index-c4273470.js} +4 -4
- package/{index-af1fb797.js.map → index-c4273470.js.map} +1 -1
- package/{index-04e037ff.js → index-ebb8a7df.js} +2 -2
- package/{index-04e037ff.js.map → index-ebb8a7df.js.map} +1 -1
- package/{index-8485f009.js → index-f2e30f98.js} +2 -2
- package/{index-8485f009.js.map → index-f2e30f98.js.map} +1 -1
- package/{index-642e3f32.js → index-fe2c7493.js} +6 -6
- package/{index-642e3f32.js.map → index-fe2c7493.js.map} +1 -1
- package/index.d.ts +4 -2
- package/index.js +52 -52
- package/{index.module-0ccd37ce.js → index.module-41885c5b.js} +1 -1
- package/{index.module-0ccd37ce.js.map → index.module-41885c5b.js.map} +1 -1
- package/package.json +1 -1
- package/{resolvedReplyType-6785a18d.js → resolvedReplyType-d6e22593.js} +1 -1
- package/{resolvedReplyType-6785a18d.js.map → resolvedReplyType-d6e22593.js.map} +1 -1
- package/sendbirdSelectors.js +19 -5
- package/sendbirdSelectors.js.map +1 -1
- package/{stringSet-23a36018.js → stringSet-47601d79.js} +1 -1
- package/{stringSet-23a36018.js.map → stringSet-47601d79.js.map} +1 -1
- package/{tokenize-6f680d6a.js → tokenize-c0cf9574.js} +2 -2
- package/{tokenize-6f680d6a.js.map → tokenize-c0cf9574.js.map} +1 -1
- package/{topics-67f9a9f1.js → topics-e985567d.js} +2 -1
- package/topics-e985567d.js.map +1 -0
- package/{types-82eb7ae8.js → types-02054e6e.js} +1 -1
- package/{types-82eb7ae8.js.map → types-02054e6e.js.map} +1 -1
- package/ui/Accordion.js +2 -2
- package/ui/AccordionGroup.js +2 -2
- package/ui/AdminMessage.js +2 -2
- package/ui/Avatar.js +1 -1
- package/ui/Badge.js +4 -4
- package/ui/BottomSheet.js +1 -1
- package/ui/Button.js +2 -2
- package/ui/ChannelAvatar.js +2 -2
- package/ui/ConnectionStatus.js +4 -4
- package/ui/ContextMenu.js +5 -5
- package/ui/DateSeparator.js +3 -3
- package/ui/EmojiReactions.js +13 -13
- package/ui/FileMessageItemBody.js +6 -6
- package/ui/FileViewer.js +8 -8
- package/ui/IconButton.js +1 -1
- package/ui/ImageRenderer.js +23 -11
- package/ui/ImageRenderer.js.map +1 -1
- package/ui/Input.js +2 -2
- package/ui/Label.js +2 -2
- package/ui/LinkLabel.js +2 -2
- package/ui/MentionLabel.js +10 -10
- package/ui/MentionUserLabel.js +1 -1
- package/ui/MessageContent.js +28 -28
- package/ui/MessageInput.js +13 -13
- package/ui/MessageItemMenu.js +8 -8
- package/ui/MessageItemReactionMenu.js +8 -8
- package/ui/MessageSearchFileItem.js +10 -10
- package/ui/MessageSearchItem.js +8 -8
- package/ui/MessageStatus.js +10 -10
- package/ui/Modal.js +7 -7
- package/ui/OGMessageItemBody.js +14 -14
- package/ui/OpenChannelAdminMessage.js +2 -2
- package/ui/OpenChannelAvatar.js +5 -5
- package/ui/OpenchannelConversationHeader.js +6 -6
- package/ui/OpenchannelFileMessage.js +15 -15
- package/ui/OpenchannelOGMessage.js +18 -18
- package/ui/OpenchannelThumbnailMessage.js +14 -14
- package/ui/OpenchannelUserMessage.js +15 -15
- package/ui/PlaceHolder.js +5 -5
- package/ui/PlaybackTime.js +2 -2
- package/ui/QuoteMessage.js +6 -6
- package/ui/QuoteMessageInput.js +6 -6
- package/ui/ReactionBadge.js +2 -2
- package/ui/ReactionButton.js +4 -4
- package/ui/SortByRow.js +1 -1
- package/ui/TextButton.js +1 -1
- package/ui/TextMessageItemBody.js +14 -14
- package/ui/ThreadReplies.js +5 -5
- package/ui/ThumbnailMessageItemBody.js +5 -5
- package/ui/Toggle.js +1 -1
- package/ui/Tooltip.js +2 -2
- package/ui/UnknownMessageItemBody.js +6 -6
- package/ui/UserListItem.js +10 -10
- package/ui/UserProfile.js +9 -9
- package/ui/VoiceMessageItemBody.js +9 -9
- package/ui/VoiceMessgeInput.js +7 -7
- package/ui/Word.js +10 -10
- package/{useDirtyGetMentions-e4e855e3.js → useDirtyGetMentions-3f7692ab.js} +1 -1
- package/{useDirtyGetMentions-e4e855e3.js.map → useDirtyGetMentions-3f7692ab.js.map} +1 -1
- package/{useLongPress-0cf29ece.js → useLongPress-0a2a8916.js} +3 -3
- package/{useLongPress-0cf29ece.js.map → useLongPress-0a2a8916.js.map} +1 -1
- package/useSendbirdStateContext.js +1 -1
- package/utils/message/isVoiceMessage.js +2 -2
- package/{utils-e81640a7.js → utils-2f26afa0.js} +1 -1
- package/{utils-e81640a7.js.map → utils-2f26afa0.js.map} +1 -1
- package/{utils-a7468577.js → utils-70ea4cc9.js} +2 -2
- package/{utils-a7468577.js.map → utils-70ea4cc9.js.map} +1 -1
- package/{utils-8e781334.js → utils-93924431.js} +1 -1
- package/{utils-8e781334.js.map → utils-93924431.js.map} +1 -1
- package/{utils-cae251db.js → utils-d15f13cf.js} +1 -1
- package/{utils-cae251db.js.map → utils-d15f13cf.js.map} +1 -1
- package/{uuid-10fc0de7.js → uuid-ec51ac4d.js} +1 -1
- package/{uuid-10fc0de7.js.map → uuid-ec51ac4d.js.map} +1 -1
- package/withSendbird.js +1 -1
- package/ChannelListProvider-2e7026e9.js.map +0 -1
- package/ChannelProvider-31a344d3.js.map +0 -1
- package/ThreadProvider-27c497dc.js.map +0 -1
- package/_rollupPluginBabelHelpers-34f2bdc3.js.map +0 -1
- package/cjs/ChannelListProvider-51837593.js.map +0 -1
- package/cjs/ChannelProvider-ab59275b.js.map +0 -1
- package/cjs/ThreadProvider-5844bd6d.js.map +0 -1
- package/cjs/_rollupPluginBabelHelpers-2c208df7.js.map +0 -1
- package/cjs/topics-e1897e48.js.map +0 -1
- package/topics-67f9a9f1.js.map +0 -1
package/ui/DateSeparator.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
|
-
import { C as Colors, c as changeColorToClassName } from '../color-
|
|
3
|
-
import { L as Label, a as LabelTypography, b as LabelColors } from '../index-
|
|
2
|
+
import { C as Colors, c as changeColorToClassName } from '../color-2315a258.js';
|
|
3
|
+
import { L as Label, a as LabelTypography, b as LabelColors } from '../index-13d9d766.js';
|
|
4
4
|
import 'prop-types';
|
|
5
|
-
import '../stringSet-
|
|
5
|
+
import '../stringSet-47601d79.js';
|
|
6
6
|
|
|
7
7
|
const DateSeparator = _ref => {
|
|
8
8
|
let {
|
package/ui/EmojiReactions.js
CHANGED
|
@@ -4,35 +4,35 @@ import ReactionButton from './ReactionButton.js';
|
|
|
4
4
|
import ImageRenderer from './ImageRenderer.js';
|
|
5
5
|
import Icon, { IconTypes, IconColors } from './Icon.js';
|
|
6
6
|
import ContextMenu, { EmojiListItems } from './ContextMenu.js';
|
|
7
|
-
import { H as getEmojiUrl, I as isReactedBy, J as getEmojiTooltipString, G as getEmojiListAll, K as getEmojiMapAll, h as getClassName } from '../index-
|
|
7
|
+
import { H as getEmojiUrl, I as isReactedBy, J as getEmojiTooltipString, G as getEmojiListAll, K as getEmojiMapAll, h as getClassName } from '../index-56249831.js';
|
|
8
8
|
import BottomSheet from './BottomSheet.js';
|
|
9
|
-
import { L as Label, a as LabelTypography, b as LabelColors } from '../index-
|
|
9
|
+
import { L as Label, a as LabelTypography, b as LabelColors } from '../index-13d9d766.js';
|
|
10
10
|
import UserListItem from './UserListItem.js';
|
|
11
11
|
import Tooltip from './Tooltip.js';
|
|
12
12
|
import TooltipWrapper from './TooltipWrapper.js';
|
|
13
|
-
import { u as useMediaQueryContext } from '../MediaQueryContext-
|
|
14
|
-
import { u as useLongPress } from '../useLongPress-
|
|
15
|
-
import { a as LocalizationContext } from '../LocalizationContext-
|
|
13
|
+
import { u as useMediaQueryContext } from '../MediaQueryContext-66b59195.js';
|
|
14
|
+
import { u as useLongPress } from '../useLongPress-0a2a8916.js';
|
|
15
|
+
import { a as LocalizationContext } from '../LocalizationContext-5fe9b59d.js';
|
|
16
16
|
import useSendbirdStateContext from '../useSendbirdStateContext.js';
|
|
17
17
|
import { useMessageContext } from '../Message/context.js';
|
|
18
|
-
import { b as _extends } from '../_rollupPluginBabelHelpers-
|
|
19
|
-
import '../utils-
|
|
18
|
+
import { b as _extends } from '../_rollupPluginBabelHelpers-90ff7fc4.js';
|
|
19
|
+
import '../utils-d15f13cf.js';
|
|
20
20
|
import 'prop-types';
|
|
21
21
|
import 'react-dom';
|
|
22
22
|
import './SortByRow.js';
|
|
23
|
-
import '../uuid-
|
|
23
|
+
import '../uuid-ec51ac4d.js';
|
|
24
24
|
import '../utils/message/getOutgoingMessageState.js';
|
|
25
|
-
import '../stringSet-
|
|
26
|
-
import '../index-
|
|
27
|
-
import '../UserProfileContext-
|
|
25
|
+
import '../stringSet-47601d79.js';
|
|
26
|
+
import '../index-bafedab0.js';
|
|
27
|
+
import '../UserProfileContext-8b8f3e3a.js';
|
|
28
28
|
import './Avatar.js';
|
|
29
29
|
import './MutedAvatarOverlay.js';
|
|
30
30
|
import './Checkbox.js';
|
|
31
31
|
import './UserProfile.js';
|
|
32
32
|
import '../sendbirdSelectors.js';
|
|
33
|
-
import '../topics-
|
|
33
|
+
import '../topics-e985567d.js';
|
|
34
34
|
import './Button.js';
|
|
35
|
-
import '../index-
|
|
35
|
+
import '../index-b9b184a4.js';
|
|
36
36
|
import '../withSendbird.js';
|
|
37
37
|
|
|
38
38
|
const ReactedMembersBottomSheet = _ref => {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
|
-
import { L as Label, a as LabelTypography, b as LabelColors } from '../index-
|
|
2
|
+
import { L as Label, a as LabelTypography, b as LabelColors } from '../index-13d9d766.js';
|
|
3
3
|
import Icon, { IconTypes, IconColors } from './Icon.js';
|
|
4
4
|
import TextButton from './TextButton.js';
|
|
5
|
-
import { h as getClassName, L as getUIKitFileType, t as truncateString } from '../index-
|
|
6
|
-
import { C as Colors } from '../color-
|
|
7
|
-
import { u as useMediaQueryContext } from '../MediaQueryContext-
|
|
5
|
+
import { h as getClassName, L as getUIKitFileType, t as truncateString } from '../index-56249831.js';
|
|
6
|
+
import { C as Colors } from '../color-2315a258.js';
|
|
7
|
+
import { u as useMediaQueryContext } from '../MediaQueryContext-66b59195.js';
|
|
8
8
|
import 'prop-types';
|
|
9
|
-
import '../stringSet-
|
|
10
|
-
import '../_rollupPluginBabelHelpers-
|
|
9
|
+
import '../stringSet-47601d79.js';
|
|
10
|
+
import '../_rollupPluginBabelHelpers-90ff7fc4.js';
|
|
11
11
|
import '../utils/message/getOutgoingMessageState.js';
|
|
12
12
|
|
|
13
13
|
function FileMessageItemBody(_ref) {
|
package/ui/FileViewer.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import React__default, { useContext } from 'react';
|
|
2
2
|
import { createPortal } from 'react-dom';
|
|
3
|
-
import { a as LocalizationContext } from '../LocalizationContext-
|
|
4
|
-
import { M as MODAL_ROOT } from '../index-
|
|
5
|
-
import { x as isSupportedFileView, y as isVideo, z as isImage } from '../index-
|
|
3
|
+
import { a as LocalizationContext } from '../LocalizationContext-5fe9b59d.js';
|
|
4
|
+
import { M as MODAL_ROOT } from '../index-bafedab0.js';
|
|
5
|
+
import { x as isSupportedFileView, y as isVideo, z as isImage } from '../index-56249831.js';
|
|
6
6
|
import Avatar from './Avatar.js';
|
|
7
|
-
import { L as Label, a as LabelTypography, b as LabelColors } from '../index-
|
|
7
|
+
import { L as Label, a as LabelTypography, b as LabelColors } from '../index-13d9d766.js';
|
|
8
8
|
import Icon, { IconTypes, IconColors } from './Icon.js';
|
|
9
|
-
import '../stringSet-
|
|
10
|
-
import '../index-
|
|
11
|
-
import '../_rollupPluginBabelHelpers-
|
|
9
|
+
import '../stringSet-47601d79.js';
|
|
10
|
+
import '../index-b9b184a4.js';
|
|
11
|
+
import '../_rollupPluginBabelHelpers-90ff7fc4.js';
|
|
12
12
|
import '../utils/message/getOutgoingMessageState.js';
|
|
13
13
|
import './ImageRenderer.js';
|
|
14
|
-
import '../uuid-
|
|
14
|
+
import '../uuid-ec51ac4d.js';
|
|
15
15
|
import 'prop-types';
|
|
16
16
|
|
|
17
17
|
const FileViewerComponent = _ref => {
|
package/ui/IconButton.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as _objectSpread2 } from '../_rollupPluginBabelHelpers-
|
|
1
|
+
import { _ as _objectSpread2 } from '../_rollupPluginBabelHelpers-90ff7fc4.js';
|
|
2
2
|
import React__default, { useState } from 'react';
|
|
3
3
|
|
|
4
4
|
const IconButton = /*#__PURE__*/React__default.forwardRef((props, ref) => {
|
package/ui/ImageRenderer.js
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import React__default, { useState, useMemo } from 'react';
|
|
2
2
|
|
|
3
|
+
var numberToPx = (value => {
|
|
4
|
+
return typeof value === 'number' ? `${value}px` : value;
|
|
5
|
+
});
|
|
6
|
+
|
|
3
7
|
/*
|
|
4
8
|
ImageRenderer displays image with url or source
|
|
5
9
|
it checks if the source exist with img tag first
|
|
@@ -7,6 +11,11 @@ import React__default, { useState, useMemo } from 'react';
|
|
|
7
11
|
and those properties switch img tag to real purposing element
|
|
8
12
|
*/
|
|
9
13
|
|
|
14
|
+
function getBorderRadiusForImageRenderer() {
|
|
15
|
+
let circle = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
|
|
16
|
+
let borderRadius = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
|
|
17
|
+
return circle ? '50%' : numberToPx(borderRadius);
|
|
18
|
+
}
|
|
10
19
|
const ImageRenderer = _ref => {
|
|
11
20
|
let {
|
|
12
21
|
className = '',
|
|
@@ -18,11 +27,14 @@ const ImageRenderer = _ref => {
|
|
|
18
27
|
fixedSize = false,
|
|
19
28
|
placeHolder = null,
|
|
20
29
|
defaultComponent = null,
|
|
30
|
+
borderRadius = null,
|
|
21
31
|
onLoad = () => {/* noop */},
|
|
22
32
|
onError = () => {/* noop */}
|
|
23
33
|
} = _ref;
|
|
24
34
|
const [showDefaultComponent, setShowDefaultComponent] = useState(false);
|
|
25
35
|
const [showPlaceHolder, setShowPlaceHolder] = useState(true);
|
|
36
|
+
const parsedWidth = numberToPx(width);
|
|
37
|
+
const parsedHeight = numberToPx(height);
|
|
26
38
|
const DefaultComponent = useMemo(() => {
|
|
27
39
|
return typeof defaultComponent === 'function' ? defaultComponent() : defaultComponent;
|
|
28
40
|
}, [defaultComponent]);
|
|
@@ -30,9 +42,9 @@ const ImageRenderer = _ref => {
|
|
|
30
42
|
return placeHolder && typeof placeHolder === 'function' ? placeHolder({
|
|
31
43
|
style: {
|
|
32
44
|
width: '100%',
|
|
33
|
-
minWidth:
|
|
34
|
-
maxWidth: fixedSize ?
|
|
35
|
-
height,
|
|
45
|
+
minWidth: parsedWidth,
|
|
46
|
+
maxWidth: fixedSize ? parsedWidth : '400px',
|
|
47
|
+
height: parsedHeight,
|
|
36
48
|
position: 'absolute',
|
|
37
49
|
display: 'flex',
|
|
38
50
|
justifyContent: 'center',
|
|
@@ -61,26 +73,26 @@ const ImageRenderer = _ref => {
|
|
|
61
73
|
className: [...(Array.isArray(className) ? className : [className]), 'sendbird-image-renderer'].join(' '),
|
|
62
74
|
style: {
|
|
63
75
|
width: '100%',
|
|
64
|
-
minWidth:
|
|
65
|
-
maxWidth: fixedSize ?
|
|
66
|
-
height
|
|
76
|
+
minWidth: parsedWidth,
|
|
77
|
+
maxWidth: fixedSize ? parsedWidth : '400px',
|
|
78
|
+
height: parsedHeight
|
|
67
79
|
}
|
|
68
80
|
}, showPlaceHolder && PlaceHolder, showDefaultComponent ? DefaultComponent : /*#__PURE__*/React__default.createElement("div", {
|
|
69
81
|
className: "sendbird-image-renderer__image",
|
|
70
82
|
style: {
|
|
71
83
|
width: '100%',
|
|
72
|
-
minWidth:
|
|
73
|
-
maxWidth: fixedSize ?
|
|
74
|
-
height,
|
|
84
|
+
minWidth: parsedWidth,
|
|
85
|
+
maxWidth: fixedSize ? parsedWidth : '400px',
|
|
86
|
+
height: parsedHeight,
|
|
75
87
|
position: 'absolute',
|
|
76
88
|
backgroundRepeat: 'no-repeat',
|
|
77
89
|
backgroundPosition: 'center',
|
|
78
90
|
backgroundSize: 'cover',
|
|
79
91
|
backgroundImage: `url(${url})`,
|
|
80
|
-
borderRadius: circle
|
|
92
|
+
borderRadius: getBorderRadiusForImageRenderer(circle, borderRadius)
|
|
81
93
|
}
|
|
82
94
|
}), HiddenImageLoader);
|
|
83
95
|
};
|
|
84
96
|
|
|
85
|
-
export { ImageRenderer as default };
|
|
97
|
+
export { ImageRenderer as default, getBorderRadiusForImageRenderer };
|
|
86
98
|
//# sourceMappingURL=ImageRenderer.js.map
|
package/ui/ImageRenderer.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ImageRenderer.js","sources":["../../src/ui/ImageRenderer/index.tsx"],"sourcesContent":["import React, { useState, useMemo, ReactElement } from 'react';\n\nimport './index.scss';\n\n/*\n ImageRenderer displays image with url or source\n it checks if the source exist with img tag first\n if it exists onLoad is called, if not onError is called\n and those properties switch img tag to real purposing element\n*/\n\nexport interface ImageRendererProps {\n className?: string | Array<string>;\n url: string;\n alt?: string;\n width?: string | number;\n height?: string | number;\n circle?: boolean;\n fixedSize?: boolean;\n placeHolder?: ((props: { style: { [key: string]: string | number } }) => ReactElement) | ReactElement;\n defaultComponent?: (() => ReactElement) | ReactElement;\n onLoad?: () => void;\n onError?: () => void;\n}\n\nconst ImageRenderer = ({\n className = '',\n url,\n alt = '',\n width = null,\n height = null,\n circle = false,\n fixedSize = false,\n placeHolder = null,\n defaultComponent = null,\n onLoad = () => { /* noop */ },\n onError = () => { /* noop */ },\n}: ImageRendererProps): ReactElement => {\n const [showDefaultComponent, setShowDefaultComponent] = useState(false);\n const [showPlaceHolder, setShowPlaceHolder] = useState(true);\n\n const DefaultComponent = useMemo(() => {\n return typeof defaultComponent === 'function'\n ? defaultComponent()\n : defaultComponent;\n }, [defaultComponent]);\n\n const PlaceHolder = useMemo(() => {\n return (placeHolder && typeof placeHolder === 'function')\n ? placeHolder({\n style: {\n width: '100%',\n minWidth:
|
|
1
|
+
{"version":3,"file":"ImageRenderer.js","sources":["../../src/utils/numberToPx.ts","../../src/ui/ImageRenderer/index.tsx"],"sourcesContent":["export default (value: string | number): string => {\n return typeof value === 'number' ? `${value}px` : value;\n};\n","import React, { useState, useMemo, ReactElement } from 'react';\n\nimport './index.scss';\nimport numberToPx from '../../utils/numberToPx';\n\n/*\n ImageRenderer displays image with url or source\n it checks if the source exist with img tag first\n if it exists onLoad is called, if not onError is called\n and those properties switch img tag to real purposing element\n*/\n\nexport function getBorderRadiusForImageRenderer(\n circle = false,\n borderRadius: string | number = null,\n): string {\n return circle ? '50%' : numberToPx(borderRadius);\n}\n\nexport interface ImageRendererProps {\n className?: string | Array<string>;\n url: string;\n alt?: string;\n width?: string | number;\n height?: string | number;\n circle?: boolean;\n fixedSize?: boolean;\n placeHolder?: ((props: { style: { [key: string]: string | number } }) => ReactElement) | ReactElement;\n defaultComponent?: (() => ReactElement) | ReactElement;\n borderRadius?: string | number;\n onLoad?: () => void;\n onError?: () => void;\n}\n\nconst ImageRenderer = ({\n className = '',\n url,\n alt = '',\n width = null,\n height = null,\n circle = false,\n fixedSize = false,\n placeHolder = null,\n defaultComponent = null,\n borderRadius = null,\n onLoad = () => { /* noop */ },\n onError = () => { /* noop */ },\n}: ImageRendererProps): ReactElement => {\n const [showDefaultComponent, setShowDefaultComponent] = useState(false);\n const [showPlaceHolder, setShowPlaceHolder] = useState(true);\n\n const parsedWidth = numberToPx(width);\n const parsedHeight = numberToPx(height);\n\n const DefaultComponent = useMemo(() => {\n return typeof defaultComponent === 'function'\n ? defaultComponent()\n : defaultComponent;\n }, [defaultComponent]);\n\n const PlaceHolder = useMemo(() => {\n return (placeHolder && typeof placeHolder === 'function')\n ? placeHolder({\n style: {\n width: '100%',\n minWidth: parsedWidth,\n maxWidth: fixedSize ? parsedWidth : '400px',\n height: parsedHeight,\n position: 'absolute',\n display: 'flex',\n justifyContent: 'center',\n alignItems: 'center',\n },\n })\n : null;\n }, [placeHolder]);\n\n const HiddenImageLoader = useMemo(() => {\n setShowDefaultComponent(false);\n // reset the state when url is changed\n return (\n <img\n className=\"sendbird-image-renderer__hidden-image-loader\"\n src={url}\n alt={alt}\n onLoad={() => {\n setShowPlaceHolder(false);\n onLoad();\n }}\n onError={() => {\n setShowDefaultComponent(true);\n onError();\n }}\n />\n );\n }, [url]);\n\n return (\n <div\n className={[\n ...(Array.isArray(className) ? className : [className]),\n 'sendbird-image-renderer',\n ].join(' ')}\n style={{\n width: '100%',\n minWidth: parsedWidth,\n maxWidth: fixedSize ? parsedWidth : '400px',\n height: parsedHeight,\n }}\n >\n {showPlaceHolder && PlaceHolder}\n {\n showDefaultComponent\n ? DefaultComponent\n : (\n <div\n className=\"sendbird-image-renderer__image\"\n style={{\n width: '100%',\n minWidth: parsedWidth,\n maxWidth: fixedSize ? parsedWidth : '400px',\n height: parsedHeight,\n position: 'absolute',\n backgroundRepeat: 'no-repeat',\n backgroundPosition: 'center',\n backgroundSize: 'cover',\n backgroundImage: `url(${url})`,\n borderRadius: getBorderRadiusForImageRenderer(circle, borderRadius),\n }}\n />\n )\n }\n {HiddenImageLoader}\n </div>\n );\n};\n\nexport default ImageRenderer;\n"],"names":["value","getBorderRadiusForImageRenderer","circle","arguments","length","undefined","borderRadius","numberToPx","ImageRenderer","_ref","className","url","alt","width","height","fixedSize","placeHolder","defaultComponent","onLoad","onError","showDefaultComponent","setShowDefaultComponent","useState","showPlaceHolder","setShowPlaceHolder","parsedWidth","parsedHeight","DefaultComponent","useMemo","PlaceHolder","style","minWidth","maxWidth","position","display","justifyContent","alignItems","HiddenImageLoader","React","createElement","src","Array","isArray","join","backgroundRepeat","backgroundPosition","backgroundSize","backgroundImage"],"mappings":"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"}
|
package/ui/Input.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React__default, { useState } from 'react';
|
|
2
|
-
import { L as Label, a as LabelTypography, b as LabelColors } from '../index-
|
|
2
|
+
import { L as Label, a as LabelTypography, b as LabelColors } from '../index-13d9d766.js';
|
|
3
3
|
import 'prop-types';
|
|
4
|
-
import '../stringSet-
|
|
4
|
+
import '../stringSet-47601d79.js';
|
|
5
5
|
|
|
6
6
|
const InputLabel = _ref => {
|
|
7
7
|
let {
|
package/ui/Label.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import 'react';
|
|
2
2
|
import 'prop-types';
|
|
3
|
-
export { b as LabelColors, c as LabelStringSet, a as LabelTypography, L as default } from '../index-
|
|
4
|
-
import '../stringSet-
|
|
3
|
+
export { b as LabelColors, c as LabelStringSet, a as LabelTypography, L as default } from '../index-13d9d766.js';
|
|
4
|
+
import '../stringSet-47601d79.js';
|
|
5
5
|
//# sourceMappingURL=Label.js.map
|
package/ui/LinkLabel.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
|
-
import { d as changeColorToClassName, L as Label, a as LabelTypography, b as LabelColors } from '../index-
|
|
4
|
-
import '../stringSet-
|
|
3
|
+
import { d as changeColorToClassName, L as Label, a as LabelTypography, b as LabelColors } from '../index-13d9d766.js';
|
|
4
|
+
import '../stringSet-47601d79.js';
|
|
5
5
|
|
|
6
6
|
const http = /https?:\/\//;
|
|
7
7
|
function LinkLabel(_ref) {
|
package/ui/MentionLabel.js
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import React__default, { useRef, useState, useCallback } from 'react';
|
|
2
2
|
import ContextMenu, { MenuItems } from './ContextMenu.js';
|
|
3
|
-
import { L as Label, a as LabelTypography, b as LabelColors } from '../index-
|
|
3
|
+
import { L as Label, a as LabelTypography, b as LabelColors } from '../index-13d9d766.js';
|
|
4
4
|
import UserProfile from './UserProfile.js';
|
|
5
5
|
import useSendbirdStateContext from '../useSendbirdStateContext.js';
|
|
6
|
-
import '../_rollupPluginBabelHelpers-
|
|
6
|
+
import '../_rollupPluginBabelHelpers-90ff7fc4.js';
|
|
7
7
|
import 'react-dom';
|
|
8
8
|
import './SortByRow.js';
|
|
9
|
-
import '../uuid-
|
|
10
|
-
import '../index-
|
|
9
|
+
import '../uuid-ec51ac4d.js';
|
|
10
|
+
import '../index-56249831.js';
|
|
11
11
|
import '../utils/message/getOutgoingMessageState.js';
|
|
12
12
|
import 'prop-types';
|
|
13
|
-
import '../stringSet-
|
|
14
|
-
import '../LocalizationContext-
|
|
15
|
-
import '../index-
|
|
16
|
-
import '../UserProfileContext-
|
|
13
|
+
import '../stringSet-47601d79.js';
|
|
14
|
+
import '../LocalizationContext-5fe9b59d.js';
|
|
15
|
+
import '../index-b9b184a4.js';
|
|
16
|
+
import '../UserProfileContext-8b8f3e3a.js';
|
|
17
17
|
import '../sendbirdSelectors.js';
|
|
18
|
-
import '../topics-
|
|
19
|
-
import '../utils-
|
|
18
|
+
import '../topics-e985567d.js';
|
|
19
|
+
import '../utils-d15f13cf.js';
|
|
20
20
|
import './Avatar.js';
|
|
21
21
|
import './ImageRenderer.js';
|
|
22
22
|
import './Icon.js';
|
package/ui/MentionUserLabel.js
CHANGED
package/ui/MessageContent.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { b as _extends, _ as _objectSpread2 } from '../_rollupPluginBabelHelpers-
|
|
1
|
+
import { b as _extends, _ as _objectSpread2 } from '../_rollupPluginBabelHelpers-90ff7fc4.js';
|
|
2
2
|
import React__default, { useContext, useRef, useState } from 'react';
|
|
3
|
-
import { f as format } from '../index-
|
|
3
|
+
import { f as format } from '../index-335e7557.js';
|
|
4
4
|
import Avatar from './Avatar.js';
|
|
5
5
|
import UserProfile from './UserProfile.js';
|
|
6
|
-
import { M as MessageStatus } from '../index-
|
|
6
|
+
import { M as MessageStatus } from '../index-17b78bb0.js';
|
|
7
7
|
import MessageItemMenu from './MessageItemMenu.js';
|
|
8
8
|
import MessageItemReactionMenu from './MessageItemReactionMenu.js';
|
|
9
9
|
import ContextMenu, { MenuItems } from './ContextMenu.js';
|
|
10
|
-
import { L as Label, a as LabelTypography, b as LabelColors } from '../index-
|
|
10
|
+
import { L as Label, a as LabelTypography, b as LabelColors } from '../index-13d9d766.js';
|
|
11
11
|
import EmojiReactions from './EmojiReactions.js';
|
|
12
12
|
import AdminMessage from './AdminMessage.js';
|
|
13
13
|
import TextMessageItemBody from './TextMessageItemBody.js';
|
|
@@ -16,58 +16,58 @@ import ThumbnailMessageItemBody from './ThumbnailMessageItemBody.js';
|
|
|
16
16
|
import OGMessageItemBody from './OGMessageItemBody.js';
|
|
17
17
|
import UnknownMessageItemBody from './UnknownMessageItemBody.js';
|
|
18
18
|
import QuoteMessage from './QuoteMessage.js';
|
|
19
|
-
import { s as getUIKitMessageTypes, h as getClassName, u as getSenderName, v as isOGMessage, w as isTextMessage, r as getUIKitMessageType, d as isVoiceMessage, m as isThumbnailMessage } from '../index-
|
|
20
|
-
import { a as UserProfileContext } from '../UserProfileContext-
|
|
21
|
-
import { u as useLocalization } from '../LocalizationContext-
|
|
19
|
+
import { s as getUIKitMessageTypes, h as getClassName, u as getSenderName, v as isOGMessage, w as isTextMessage, r as getUIKitMessageType, d as isVoiceMessage, m as isThumbnailMessage } from '../index-56249831.js';
|
|
20
|
+
import { a as UserProfileContext } from '../UserProfileContext-8b8f3e3a.js';
|
|
21
|
+
import { u as useLocalization } from '../LocalizationContext-5fe9b59d.js';
|
|
22
22
|
import useSendbirdStateContext from '../useSendbirdStateContext.js';
|
|
23
|
-
import { u as useLongPress } from '../useLongPress-
|
|
24
|
-
import { M as MobileMenu } from '../index-
|
|
25
|
-
import { u as useMediaQueryContext } from '../MediaQueryContext-
|
|
23
|
+
import { u as useLongPress } from '../useLongPress-0a2a8916.js';
|
|
24
|
+
import { M as MobileMenu } from '../index-c4273470.js';
|
|
25
|
+
import { u as useMediaQueryContext } from '../MediaQueryContext-66b59195.js';
|
|
26
26
|
import ThreadReplies from './ThreadReplies.js';
|
|
27
|
-
import { T as ThreadReplySelectType } from '../const-
|
|
27
|
+
import { T as ThreadReplySelectType } from '../const-c6a266f4.js';
|
|
28
28
|
import { VoiceMessageItemBody } from './VoiceMessageItemBody.js';
|
|
29
|
-
import { n as noop } from '../utils-
|
|
30
|
-
import '../index-
|
|
29
|
+
import { n as noop } from '../utils-d15f13cf.js';
|
|
30
|
+
import '../index-b9b184a4.js';
|
|
31
31
|
import './ImageRenderer.js';
|
|
32
32
|
import './Icon.js';
|
|
33
33
|
import 'prop-types';
|
|
34
|
-
import '../uuid-
|
|
34
|
+
import '../uuid-ec51ac4d.js';
|
|
35
35
|
import '../sendbirdSelectors.js';
|
|
36
|
-
import '../topics-
|
|
36
|
+
import '../topics-e985567d.js';
|
|
37
37
|
import './Button.js';
|
|
38
|
-
import '../stringSet-
|
|
38
|
+
import '../stringSet-47601d79.js';
|
|
39
39
|
import './Loader.js';
|
|
40
40
|
import '../utils/message/getOutgoingMessageState.js';
|
|
41
|
-
import '../index-
|
|
42
|
-
import '../index-
|
|
41
|
+
import '../index-a39b9075.js';
|
|
42
|
+
import '../index-499d9ef9.js';
|
|
43
43
|
import './IconButton.js';
|
|
44
|
-
import '../types-
|
|
44
|
+
import '../types-02054e6e.js';
|
|
45
45
|
import './ReactionButton.js';
|
|
46
46
|
import 'react-dom';
|
|
47
47
|
import './SortByRow.js';
|
|
48
48
|
import './ReactionBadge.js';
|
|
49
49
|
import './BottomSheet.js';
|
|
50
|
-
import '../index-
|
|
50
|
+
import '../index-bafedab0.js';
|
|
51
51
|
import './UserListItem.js';
|
|
52
52
|
import './MutedAvatarOverlay.js';
|
|
53
53
|
import './Checkbox.js';
|
|
54
54
|
import './Tooltip.js';
|
|
55
55
|
import './TooltipWrapper.js';
|
|
56
56
|
import '../Message/context.js';
|
|
57
|
-
import '../tokenize-
|
|
58
|
-
import '../index-
|
|
59
|
-
import '../index.module-
|
|
57
|
+
import '../tokenize-c0cf9574.js';
|
|
58
|
+
import '../index-2544bb0a.js';
|
|
59
|
+
import '../index.module-41885c5b.js';
|
|
60
60
|
import './MentionLabel.js';
|
|
61
61
|
import './LinkLabel.js';
|
|
62
|
-
import '../consts-
|
|
62
|
+
import '../consts-991d3823.js';
|
|
63
63
|
import './TextButton.js';
|
|
64
|
-
import '../color-
|
|
65
|
-
import '../consts-
|
|
64
|
+
import '../color-2315a258.js';
|
|
65
|
+
import '../consts-3d956927.js';
|
|
66
66
|
import '../withSendbird.js';
|
|
67
67
|
import './ProgressBar.js';
|
|
68
68
|
import '../VoicePlayer/useVoicePlayer.js';
|
|
69
|
-
import '../index-
|
|
70
|
-
import '../consts-
|
|
69
|
+
import '../index-879bcfab.js';
|
|
70
|
+
import '../consts-b6f24cc7.js';
|
|
71
71
|
import '../VoiceRecorder/context.js';
|
|
72
72
|
import './Modal.js';
|
|
73
73
|
import './PlaybackTime.js';
|
package/ui/MessageInput.js
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { _ as _objectSpread2 } from '../_rollupPluginBabelHelpers-
|
|
1
|
+
import { _ as _objectSpread2 } from '../_rollupPluginBabelHelpers-90ff7fc4.js';
|
|
2
2
|
import React__default, { useCallback, useRef, useState, useMemo, useEffect } from 'react';
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
|
-
import { N as NodeTypes, M as MessageInputKeys, a as NodeNames } from '../const-
|
|
5
|
-
import { U as USER_MENTION_TEMP_CHAR } from '../const-
|
|
4
|
+
import { N as NodeTypes, M as MessageInputKeys, a as NodeNames } from '../const-0cca8d38.js';
|
|
5
|
+
import { U as USER_MENTION_TEMP_CHAR } from '../const-c6a266f4.js';
|
|
6
6
|
import IconButton from './IconButton.js';
|
|
7
7
|
import Button, { ButtonTypes, ButtonSizes } from './Button.js';
|
|
8
8
|
import DOMPurify from 'dompurify';
|
|
9
|
-
import { M as MENTION_USER_LABEL_CLASSNAME } from '../consts-
|
|
9
|
+
import { M as MENTION_USER_LABEL_CLASSNAME } from '../consts-32a2c4a7.js';
|
|
10
10
|
import Icon, { IconTypes, IconColors } from './Icon.js';
|
|
11
|
-
import { L as Label, a as LabelTypography, b as LabelColors } from '../index-
|
|
12
|
-
import { u as useLocalization } from '../LocalizationContext-
|
|
11
|
+
import { L as Label, a as LabelTypography, b as LabelColors } from '../index-13d9d766.js';
|
|
12
|
+
import { u as useLocalization } from '../LocalizationContext-5fe9b59d.js';
|
|
13
13
|
import useSendbirdStateContext from '../useSendbirdStateContext.js';
|
|
14
|
-
import { j as arrayEqual, h as getClassName } from '../index-
|
|
15
|
-
import { T as TEXT_MESSAGE_BODY_CLASSNAME } from '../consts-
|
|
16
|
-
import { O as OG_MESSAGE_BODY_CLASSNAME } from '../consts-
|
|
17
|
-
import { t as tokenizeMessage, T as TOKEN_TYPES, U as USER_MENTION_PREFIX } from '../tokenize-
|
|
18
|
-
import { K } from '../index.module-
|
|
19
|
-
import '../stringSet-
|
|
20
|
-
import '../index-
|
|
14
|
+
import { j as arrayEqual, h as getClassName } from '../index-56249831.js';
|
|
15
|
+
import { T as TEXT_MESSAGE_BODY_CLASSNAME } from '../consts-991d3823.js';
|
|
16
|
+
import { O as OG_MESSAGE_BODY_CLASSNAME } from '../consts-3d956927.js';
|
|
17
|
+
import { t as tokenizeMessage, T as TOKEN_TYPES, U as USER_MENTION_PREFIX } from '../tokenize-c0cf9574.js';
|
|
18
|
+
import { K } from '../index.module-41885c5b.js';
|
|
19
|
+
import '../stringSet-47601d79.js';
|
|
20
|
+
import '../index-b9b184a4.js';
|
|
21
21
|
import '../withSendbird.js';
|
|
22
22
|
import '../utils/message/getOutgoingMessageState.js';
|
|
23
23
|
|
package/ui/MessageItemMenu.js
CHANGED
|
@@ -2,18 +2,18 @@ import React__default, { useContext, useRef } from 'react';
|
|
|
2
2
|
import ContextMenu, { MenuItems, MenuItem } from './ContextMenu.js';
|
|
3
3
|
import Icon, { IconTypes, IconColors } from './Icon.js';
|
|
4
4
|
import IconButton from './IconButton.js';
|
|
5
|
-
import { q as isUserMessage, C as isSentMessage, D as isFailedMessage, E as isPendingMessage, h as getClassName, F as copyToClipboard } from '../index-
|
|
6
|
-
import { a as LocalizationContext } from '../LocalizationContext-
|
|
7
|
-
import { R as Role } from '../types-
|
|
8
|
-
import '../_rollupPluginBabelHelpers-
|
|
5
|
+
import { q as isUserMessage, C as isSentMessage, D as isFailedMessage, E as isPendingMessage, h as getClassName, F as copyToClipboard } from '../index-56249831.js';
|
|
6
|
+
import { a as LocalizationContext } from '../LocalizationContext-5fe9b59d.js';
|
|
7
|
+
import { R as Role } from '../types-02054e6e.js';
|
|
8
|
+
import '../_rollupPluginBabelHelpers-90ff7fc4.js';
|
|
9
9
|
import 'react-dom';
|
|
10
10
|
import './SortByRow.js';
|
|
11
|
-
import '../uuid-
|
|
12
|
-
import '../index-
|
|
11
|
+
import '../uuid-ec51ac4d.js';
|
|
12
|
+
import '../index-13d9d766.js';
|
|
13
13
|
import 'prop-types';
|
|
14
|
-
import '../stringSet-
|
|
14
|
+
import '../stringSet-47601d79.js';
|
|
15
15
|
import '../utils/message/getOutgoingMessageState.js';
|
|
16
|
-
import '../index-
|
|
16
|
+
import '../index-b9b184a4.js';
|
|
17
17
|
|
|
18
18
|
function MessageItemMenu(_ref) {
|
|
19
19
|
var _channel$isGroupChann;
|
|
@@ -4,18 +4,18 @@ import Icon, { IconTypes, IconColors } from './Icon.js';
|
|
|
4
4
|
import IconButton from './IconButton.js';
|
|
5
5
|
import ImageRenderer from './ImageRenderer.js';
|
|
6
6
|
import ReactionButton from './ReactionButton.js';
|
|
7
|
-
import { E as isPendingMessage, D as isFailedMessage, h as getClassName, G as getEmojiListAll } from '../index-
|
|
8
|
-
import '../_rollupPluginBabelHelpers-
|
|
7
|
+
import { E as isPendingMessage, D as isFailedMessage, h as getClassName, G as getEmojiListAll } from '../index-56249831.js';
|
|
8
|
+
import '../_rollupPluginBabelHelpers-90ff7fc4.js';
|
|
9
9
|
import 'react-dom';
|
|
10
10
|
import './SortByRow.js';
|
|
11
|
-
import '../uuid-
|
|
12
|
-
import '../index-
|
|
11
|
+
import '../uuid-ec51ac4d.js';
|
|
12
|
+
import '../index-13d9d766.js';
|
|
13
13
|
import 'prop-types';
|
|
14
|
-
import '../stringSet-
|
|
14
|
+
import '../stringSet-47601d79.js';
|
|
15
15
|
import '../utils/message/getOutgoingMessageState.js';
|
|
16
|
-
import '../useLongPress-
|
|
17
|
-
import '../MediaQueryContext-
|
|
18
|
-
import '../utils-
|
|
16
|
+
import '../useLongPress-0a2a8916.js';
|
|
17
|
+
import '../MediaQueryContext-66b59195.js';
|
|
18
|
+
import '../utils-d15f13cf.js';
|
|
19
19
|
|
|
20
20
|
function MessageItemReactionMenu(_ref) {
|
|
21
21
|
let {
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
2
|
import Avatar from './Avatar.js';
|
|
3
3
|
import Icon, { IconTypes, IconColors } from './Icon.js';
|
|
4
|
-
import { L as Label, a as LabelTypography, b as LabelColors } from '../index-
|
|
5
|
-
import { u as useLocalization } from '../LocalizationContext-
|
|
6
|
-
import { f as format } from '../index-
|
|
7
|
-
import { i as isToday, a as isYesterday, b as isThisYear } from '../index-
|
|
8
|
-
import { d as isVoiceMessage } from '../index-
|
|
4
|
+
import { L as Label, a as LabelTypography, b as LabelColors } from '../index-13d9d766.js';
|
|
5
|
+
import { u as useLocalization } from '../LocalizationContext-5fe9b59d.js';
|
|
6
|
+
import { f as format } from '../index-335e7557.js';
|
|
7
|
+
import { i as isToday, a as isYesterday, b as isThisYear } from '../index-a39b9075.js';
|
|
8
|
+
import { d as isVoiceMessage } from '../index-56249831.js';
|
|
9
9
|
import './ImageRenderer.js';
|
|
10
|
-
import '../uuid-
|
|
10
|
+
import '../uuid-ec51ac4d.js';
|
|
11
11
|
import 'prop-types';
|
|
12
|
-
import '../stringSet-
|
|
13
|
-
import '../index-
|
|
14
|
-
import '../index-
|
|
15
|
-
import '../_rollupPluginBabelHelpers-
|
|
12
|
+
import '../stringSet-47601d79.js';
|
|
13
|
+
import '../index-b9b184a4.js';
|
|
14
|
+
import '../index-499d9ef9.js';
|
|
15
|
+
import '../_rollupPluginBabelHelpers-90ff7fc4.js';
|
|
16
16
|
import '../utils/message/getOutgoingMessageState.js';
|
|
17
17
|
|
|
18
18
|
function getCreatedAt(_ref) {
|
package/ui/MessageSearchItem.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
|
-
import { f as format } from '../index-
|
|
3
|
-
import { i as isToday, a as isYesterday, b as isThisYear } from '../index-
|
|
2
|
+
import { f as format } from '../index-335e7557.js';
|
|
3
|
+
import { i as isToday, a as isYesterday, b as isThisYear } from '../index-a39b9075.js';
|
|
4
4
|
import Avatar from './Avatar.js';
|
|
5
|
-
import { L as Label, a as LabelTypography, b as LabelColors } from '../index-
|
|
6
|
-
import { u as useLocalization } from '../LocalizationContext-
|
|
7
|
-
import '../index-
|
|
8
|
-
import '../index-
|
|
5
|
+
import { L as Label, a as LabelTypography, b as LabelColors } from '../index-13d9d766.js';
|
|
6
|
+
import { u as useLocalization } from '../LocalizationContext-5fe9b59d.js';
|
|
7
|
+
import '../index-b9b184a4.js';
|
|
8
|
+
import '../index-499d9ef9.js';
|
|
9
9
|
import './ImageRenderer.js';
|
|
10
10
|
import './Icon.js';
|
|
11
11
|
import 'prop-types';
|
|
12
|
-
import '../uuid-
|
|
13
|
-
import '../stringSet-
|
|
12
|
+
import '../uuid-ec51ac4d.js';
|
|
13
|
+
import '../stringSet-47601d79.js';
|
|
14
14
|
|
|
15
15
|
// getCreatedAt
|
|
16
16
|
function getCreatedAt (_ref) {
|
package/ui/MessageStatus.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import 'react';
|
|
2
|
-
import '../index-
|
|
2
|
+
import '../index-335e7557.js';
|
|
3
3
|
import './Icon.js';
|
|
4
|
-
import '../index-
|
|
4
|
+
import '../index-13d9d766.js';
|
|
5
5
|
import './Loader.js';
|
|
6
|
-
import '../index-
|
|
6
|
+
import '../index-56249831.js';
|
|
7
7
|
import '../utils/message/getOutgoingMessageState.js';
|
|
8
|
-
export { e as MessageStatusTypes, M as default } from '../index-
|
|
9
|
-
import '../LocalizationContext-
|
|
10
|
-
import '../index-
|
|
8
|
+
export { e as MessageStatusTypes, M as default } from '../index-17b78bb0.js';
|
|
9
|
+
import '../LocalizationContext-5fe9b59d.js';
|
|
10
|
+
import '../index-b9b184a4.js';
|
|
11
11
|
import 'prop-types';
|
|
12
|
-
import '../stringSet-
|
|
13
|
-
import '../_rollupPluginBabelHelpers-
|
|
14
|
-
import '../index-
|
|
15
|
-
import '../index-
|
|
12
|
+
import '../stringSet-47601d79.js';
|
|
13
|
+
import '../_rollupPluginBabelHelpers-90ff7fc4.js';
|
|
14
|
+
import '../index-a39b9075.js';
|
|
15
|
+
import '../index-499d9ef9.js';
|
|
16
16
|
//# sourceMappingURL=MessageStatus.js.map
|