@sendbird/uikit-react 3.3.7 → 3.4.0-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +150 -0
- package/README.md +8 -0
- package/dist/App.js +664 -0
- package/dist/App.js.map +1 -0
- package/dist/CHANGELOG.md +782 -0
- package/dist/Channel/components/ChannelHeader.js +111 -0
- package/dist/Channel/components/ChannelHeader.js.map +1 -0
- package/dist/Channel/components/ChannelUI.js +234 -0
- package/dist/Channel/components/ChannelUI.js.map +1 -0
- package/dist/Channel/components/FileViewer.js +155 -0
- package/dist/Channel/components/FileViewer.js.map +1 -0
- package/dist/Channel/components/FrozenNotification.js +19 -0
- package/dist/Channel/components/Message.js +406 -0
- package/dist/Channel/components/Message.js.map +1 -0
- package/dist/Channel/components/MessageInput.js +265 -0
- package/dist/Channel/components/MessageInput.js.map +1 -0
- package/dist/Channel/components/MessageList.js +260 -0
- package/dist/Channel/components/MessageList.js.map +1 -0
- package/dist/Channel/components/RemoveMessageModal.js +60 -0
- package/dist/Channel/components/RemoveMessageModal.js.map +1 -0
- package/dist/Channel/components/SuggestedMentionList.js +314 -0
- package/dist/Channel/components/SuggestedMentionList.js.map +1 -0
- package/dist/Channel/components/TypingIndicator.js +106 -0
- package/dist/Channel/components/TypingIndicator.js.map +1 -0
- package/dist/Channel/components/UnreadCount.js +40 -0
- package/dist/Channel/context.js +28 -0
- package/dist/Channel/context.js.map +1 -0
- package/dist/Channel.js +143 -0
- package/dist/Channel.js.map +1 -0
- package/dist/ChannelList/components/AddChannel.js +76 -0
- package/dist/ChannelList/components/ChannelListHeader.js +72 -0
- package/dist/ChannelList/components/ChannelListUI.js +268 -0
- package/dist/ChannelList/components/ChannelListUI.js.map +1 -0
- package/dist/ChannelList/components/ChannelPreview.js +193 -0
- package/dist/ChannelList/components/ChannelPreview.js.map +1 -0
- package/dist/ChannelList/components/ChannelPreviewAction.js +133 -0
- package/dist/ChannelList/context.js +15 -0
- package/dist/ChannelList.js +97 -0
- package/dist/ChannelList.js.map +1 -0
- package/dist/ChannelListProvider-eced39aa.js +1074 -0
- package/dist/ChannelListProvider-eced39aa.js.map +1 -0
- package/dist/ChannelProvider-bbe16a96.js +2283 -0
- package/dist/ChannelProvider-bbe16a96.js.map +1 -0
- package/dist/ChannelSettings/components/ChannelProfile.js +102 -0
- package/dist/ChannelSettings/components/ChannelSettingsUI.js +155 -0
- package/dist/ChannelSettings/components/EditDetailsModal.js +157 -0
- package/dist/ChannelSettings/components/LeaveChannel.js +101 -0
- package/dist/ChannelSettings/components/ModerationPanel.js +871 -0
- package/dist/ChannelSettings/components/UserListItem.js +108 -0
- package/dist/ChannelSettings/components/UserPanel.js +84 -0
- package/dist/ChannelSettings/components/UserPanel.js.map +1 -0
- package/dist/ChannelSettings/context.js +99 -0
- package/dist/ChannelSettings.js +76 -0
- package/dist/CreateChannel/components/CreateChannelUI.js +58 -0
- package/dist/CreateChannel/components/InviteUsers.js +218 -0
- package/dist/CreateChannel/components/SelectChannelType.js +134 -0
- package/dist/CreateChannel/context.js +9 -0
- package/dist/CreateChannel.js +57 -0
- package/dist/CreateChannelProvider-951098e6.js +55 -0
- package/dist/CreateChannelProvider-951098e6.js.map +1 -0
- package/dist/CreateOpenChannel/components/CreateOpenChannelUI.js +130 -0
- package/dist/CreateOpenChannel/context.js +63 -0
- package/dist/CreateOpenChannel.js +46 -0
- package/dist/EditUserProfile/components/EditUserProfileUI.js +27 -0
- package/dist/EditUserProfile.js +40 -0
- package/dist/LICENSE +21 -0
- package/dist/LocalizationContext-948efac4.js +22 -0
- package/dist/LocalizationContext-948efac4.js.map +1 -0
- package/dist/MediaQueryContext-b04e7ffd.js +90 -0
- package/dist/MediaQueryContext-b04e7ffd.js.map +1 -0
- package/dist/MemberList-af295cb0.js +445 -0
- package/dist/MemberList-af295cb0.js.map +1 -0
- package/dist/MessageSearch/components/MessageSearchUI.js +153 -0
- package/dist/MessageSearch/components/MessageSearchUI.js.map +1 -0
- package/dist/MessageSearch/context.js +396 -0
- package/dist/MessageSearch.js +148 -0
- package/dist/MessageSearch.js.map +1 -0
- package/dist/OpenChannel/components/FrozenChannelNotification.js +19 -0
- package/dist/OpenChannel/components/OpenChannelHeader.js +90 -0
- package/dist/OpenChannel/components/OpenChannelInput.js +62 -0
- package/dist/OpenChannel/components/OpenChannelInput.js.map +1 -0
- package/dist/OpenChannel/components/OpenChannelMessage.js +306 -0
- package/dist/OpenChannel/components/OpenChannelMessageList.js +167 -0
- package/dist/OpenChannel/components/OpenChannelUI.js +118 -0
- package/dist/OpenChannel/context.js +16 -0
- package/dist/OpenChannel.js +88 -0
- package/dist/OpenChannelList/components/OpenChannelListUI.js +197 -0
- package/dist/OpenChannelList/components/OpenChannelPreview.js +67 -0
- package/dist/OpenChannelList/context.js +8 -0
- package/dist/OpenChannelList.js +59 -0
- package/dist/OpenChannelListProvider-13b17927.js +434 -0
- package/dist/OpenChannelListProvider-13b17927.js.map +1 -0
- package/dist/OpenChannelProvider-180d3e3a.js +2000 -0
- package/dist/OpenChannelProvider-180d3e3a.js.map +1 -0
- package/dist/OpenChannelSettings/components/EditDetailsModal.js +148 -0
- package/dist/OpenChannelSettings/components/OpenChannelProfile.js +83 -0
- package/dist/OpenChannelSettings/components/OpenChannelSettingsUI.js +126 -0
- package/dist/OpenChannelSettings/components/OperatorUI.js +912 -0
- package/dist/OpenChannelSettings/components/ParticipantUI.js +37 -0
- package/dist/OpenChannelSettings/context.js +145 -0
- package/dist/OpenChannelSettings.js +67 -0
- package/dist/README.md +131 -0
- package/dist/RemoveMessageModal-f1a27721.js +31 -0
- package/dist/RemoveMessageModal-f1a27721.js.map +1 -0
- package/dist/SendbirdProvider.js +822 -0
- package/dist/SendbirdProvider.js.map +1 -0
- package/dist/Thread/components/ParentMessageInfo.js +370 -0
- package/dist/Thread/components/ParentMessageInfo.js.map +1 -0
- package/dist/Thread/components/ParentMessageInfoItem.js +214 -0
- package/dist/Thread/components/ParentMessageInfoItem.js.map +1 -0
- package/dist/Thread/components/ThreadHeader.js +61 -0
- package/dist/Thread/components/ThreadList.js +150 -0
- package/dist/Thread/components/ThreadList.js.map +1 -0
- package/dist/Thread/components/ThreadListItem.js +539 -0
- package/dist/Thread/components/ThreadListItem.js.map +1 -0
- package/dist/Thread/components/ThreadMessageInput.js +243 -0
- package/dist/Thread/components/ThreadMessageInput.js.map +1 -0
- package/dist/Thread/components/ThreadUI.js +334 -0
- package/dist/Thread/components/ThreadUI.js.map +1 -0
- package/dist/Thread/context.js +19 -0
- package/dist/Thread/context.js.map +1 -0
- package/dist/Thread.js +132 -0
- package/dist/Thread.js.map +1 -0
- package/dist/ThreadProvider-50bdb59e.js +1724 -0
- package/dist/ThreadProvider-50bdb59e.js.map +1 -0
- package/dist/UserProfileContext-74d60d34.js +44 -0
- package/dist/UserProfileContext-74d60d34.js.map +1 -0
- package/dist/VoiceMessageInputWrapper-e5f8b5d0.js +173 -0
- package/dist/VoiceMessageInputWrapper-e5f8b5d0.js.map +1 -0
- package/dist/VoicePlayer/context.js +5 -0
- package/dist/VoicePlayer/context.js.map +1 -0
- package/dist/VoicePlayer/useVoicePlayer.js +87 -0
- package/dist/VoicePlayer/useVoicePlayer.js.map +1 -0
- package/dist/VoiceRecorder/context.js +243 -0
- package/dist/VoiceRecorder/context.js.map +1 -0
- package/dist/VoiceRecorder/useVoiceRecorder.js +117 -0
- package/dist/VoiceRecorder/useVoiceRecorder.js.map +1 -0
- package/dist/_rollupPluginBabelHelpers-e4ed87a8.js +60 -0
- package/dist/_rollupPluginBabelHelpers-e4ed87a8.js.map +1 -0
- package/dist/actionTypes-a37e872a.js +6 -0
- package/dist/actionTypes-a37e872a.js.map +1 -0
- package/dist/cjs/App.js +671 -0
- package/dist/cjs/App.js.map +1 -0
- package/dist/cjs/Channel/components/ChannelHeader.js +117 -0
- package/dist/cjs/Channel/components/ChannelHeader.js.map +1 -0
- package/dist/cjs/Channel/components/ChannelUI.js +240 -0
- package/dist/cjs/Channel/components/ChannelUI.js.map +1 -0
- package/dist/cjs/Channel/components/FileViewer.js +164 -0
- package/dist/cjs/Channel/components/FileViewer.js.map +1 -0
- package/dist/cjs/Channel/components/FrozenNotification.js +25 -0
- package/dist/cjs/Channel/components/Message.js +412 -0
- package/dist/cjs/Channel/components/Message.js.map +1 -0
- package/dist/cjs/Channel/components/MessageInput.js +271 -0
- package/dist/cjs/Channel/components/MessageInput.js.map +1 -0
- package/dist/cjs/Channel/components/MessageList.js +266 -0
- package/dist/cjs/Channel/components/MessageList.js.map +1 -0
- package/dist/cjs/Channel/components/RemoveMessageModal.js +66 -0
- package/dist/cjs/Channel/components/RemoveMessageModal.js.map +1 -0
- package/dist/cjs/Channel/components/SuggestedMentionList.js +320 -0
- package/dist/cjs/Channel/components/SuggestedMentionList.js.map +1 -0
- package/dist/cjs/Channel/components/TypingIndicator.js +115 -0
- package/dist/cjs/Channel/components/TypingIndicator.js.map +1 -0
- package/dist/cjs/Channel/components/UnreadCount.js +46 -0
- package/dist/cjs/Channel/context.js +41 -0
- package/dist/cjs/Channel/context.js.map +1 -0
- package/dist/cjs/Channel.js +149 -0
- package/dist/cjs/Channel.js.map +1 -0
- package/dist/cjs/ChannelList/components/AddChannel.js +85 -0
- package/dist/cjs/ChannelList/components/ChannelListHeader.js +78 -0
- package/dist/cjs/ChannelList/components/ChannelListUI.js +274 -0
- package/dist/cjs/ChannelList/components/ChannelListUI.js.map +1 -0
- package/dist/cjs/ChannelList/components/ChannelPreview.js +199 -0
- package/dist/cjs/ChannelList/components/ChannelPreview.js.map +1 -0
- package/dist/cjs/ChannelList/components/ChannelPreviewAction.js +140 -0
- package/dist/cjs/ChannelList/context.js +24 -0
- package/dist/cjs/ChannelList.js +103 -0
- package/dist/cjs/ChannelList.js.map +1 -0
- package/dist/cjs/ChannelListProvider-854e774b.js +1086 -0
- package/dist/cjs/ChannelListProvider-854e774b.js.map +1 -0
- package/dist/cjs/ChannelProvider-367995a6.js +2296 -0
- package/dist/cjs/ChannelProvider-367995a6.js.map +1 -0
- package/dist/cjs/ChannelSettings/components/ChannelProfile.js +108 -0
- package/dist/cjs/ChannelSettings/components/ChannelSettingsUI.js +161 -0
- package/dist/cjs/ChannelSettings/components/EditDetailsModal.js +163 -0
- package/dist/cjs/ChannelSettings/components/LeaveChannel.js +107 -0
- package/dist/cjs/ChannelSettings/components/ModerationPanel.js +877 -0
- package/dist/cjs/ChannelSettings/components/UserListItem.js +114 -0
- package/dist/cjs/ChannelSettings/components/UserPanel.js +90 -0
- package/dist/cjs/ChannelSettings/components/UserPanel.js.map +1 -0
- package/dist/cjs/ChannelSettings/context.js +108 -0
- package/dist/cjs/ChannelSettings.js +82 -0
- package/dist/cjs/CreateChannel/components/CreateChannelUI.js +64 -0
- package/dist/cjs/CreateChannel/components/InviteUsers.js +224 -0
- package/dist/cjs/CreateChannel/components/SelectChannelType.js +140 -0
- package/dist/cjs/CreateChannel/context.js +18 -0
- package/dist/cjs/CreateChannel.js +63 -0
- package/dist/cjs/CreateChannelProvider-31020b12.js +62 -0
- package/dist/cjs/CreateChannelProvider-31020b12.js.map +1 -0
- package/dist/cjs/CreateOpenChannel/components/CreateOpenChannelUI.js +136 -0
- package/dist/cjs/CreateOpenChannel/context.js +72 -0
- package/dist/cjs/CreateOpenChannel.js +52 -0
- package/dist/cjs/EditUserProfile/components/EditUserProfileUI.js +33 -0
- package/dist/cjs/EditUserProfile.js +46 -0
- package/dist/cjs/LocalizationContext-2fb0be1f.js +30 -0
- package/dist/cjs/LocalizationContext-2fb0be1f.js.map +1 -0
- package/dist/cjs/MediaQueryContext-db5159f3.js +97 -0
- package/dist/cjs/MediaQueryContext-db5159f3.js.map +1 -0
- package/dist/cjs/MemberList-3049bffe.js +451 -0
- package/dist/cjs/MemberList-3049bffe.js.map +1 -0
- package/dist/cjs/MessageSearch/components/MessageSearchUI.js +162 -0
- package/dist/cjs/MessageSearch/components/MessageSearchUI.js.map +1 -0
- package/dist/cjs/MessageSearch/context.js +405 -0
- package/dist/cjs/MessageSearch.js +154 -0
- package/dist/cjs/MessageSearch.js.map +1 -0
- package/dist/cjs/OpenChannel/components/FrozenChannelNotification.js +25 -0
- package/dist/cjs/OpenChannel/components/OpenChannelHeader.js +96 -0
- package/dist/cjs/OpenChannel/components/OpenChannelInput.js +68 -0
- package/dist/cjs/OpenChannel/components/OpenChannelInput.js.map +1 -0
- package/dist/cjs/OpenChannel/components/OpenChannelMessage.js +312 -0
- package/dist/cjs/OpenChannel/components/OpenChannelMessageList.js +173 -0
- package/dist/cjs/OpenChannel/components/OpenChannelUI.js +124 -0
- package/dist/cjs/OpenChannel/context.js +25 -0
- package/dist/cjs/OpenChannel.js +94 -0
- package/dist/cjs/OpenChannelList/components/OpenChannelListUI.js +203 -0
- package/dist/cjs/OpenChannelList/components/OpenChannelPreview.js +73 -0
- package/dist/cjs/OpenChannelList/context.js +18 -0
- package/dist/cjs/OpenChannelList.js +65 -0
- package/dist/cjs/OpenChannelListProvider-fee6af21.js +443 -0
- package/dist/cjs/OpenChannelListProvider-fee6af21.js.map +1 -0
- package/dist/cjs/OpenChannelProvider-bf43f315.js +2009 -0
- package/dist/cjs/OpenChannelProvider-bf43f315.js.map +1 -0
- package/dist/cjs/OpenChannelSettings/components/EditDetailsModal.js +154 -0
- package/dist/cjs/OpenChannelSettings/components/OpenChannelProfile.js +89 -0
- package/dist/cjs/OpenChannelSettings/components/OpenChannelSettingsUI.js +132 -0
- package/dist/cjs/OpenChannelSettings/components/OperatorUI.js +922 -0
- package/dist/cjs/OpenChannelSettings/components/ParticipantUI.js +43 -0
- package/dist/cjs/OpenChannelSettings/context.js +154 -0
- package/dist/cjs/OpenChannelSettings.js +73 -0
- package/dist/cjs/RemoveMessageModal-a9a5cd37.js +37 -0
- package/dist/cjs/RemoveMessageModal-a9a5cd37.js.map +1 -0
- package/dist/cjs/SendbirdProvider.js +831 -0
- package/dist/cjs/SendbirdProvider.js.map +1 -0
- package/dist/cjs/Thread/components/ParentMessageInfo.js +376 -0
- package/dist/cjs/Thread/components/ParentMessageInfo.js.map +1 -0
- package/dist/cjs/Thread/components/ParentMessageInfoItem.js +220 -0
- package/dist/cjs/Thread/components/ParentMessageInfoItem.js.map +1 -0
- package/dist/cjs/Thread/components/ThreadHeader.js +67 -0
- package/dist/cjs/Thread/components/ThreadList.js +156 -0
- package/dist/cjs/Thread/components/ThreadList.js.map +1 -0
- package/dist/cjs/Thread/components/ThreadListItem.js +545 -0
- package/dist/cjs/Thread/components/ThreadListItem.js.map +1 -0
- package/dist/cjs/Thread/components/ThreadMessageInput.js +249 -0
- package/dist/cjs/Thread/components/ThreadMessageInput.js.map +1 -0
- package/dist/cjs/Thread/components/ThreadUI.js +340 -0
- package/dist/cjs/Thread/components/ThreadUI.js.map +1 -0
- package/dist/cjs/Thread/context.js +28 -0
- package/dist/cjs/Thread/context.js.map +1 -0
- package/dist/cjs/Thread.js +138 -0
- package/dist/cjs/Thread.js.map +1 -0
- package/dist/cjs/ThreadProvider-6300587c.js +1733 -0
- package/dist/cjs/ThreadProvider-6300587c.js.map +1 -0
- package/dist/cjs/UserProfileContext-0549101e.js +52 -0
- package/dist/cjs/UserProfileContext-0549101e.js.map +1 -0
- package/dist/cjs/VoiceMessageInputWrapper-8eb47421.js +179 -0
- package/dist/cjs/VoiceMessageInputWrapper-8eb47421.js.map +1 -0
- package/dist/cjs/VoicePlayer/context.js +14 -0
- package/dist/cjs/VoicePlayer/context.js.map +1 -0
- package/dist/cjs/VoicePlayer/useVoicePlayer.js +91 -0
- package/dist/cjs/VoicePlayer/useVoicePlayer.js.map +1 -0
- package/dist/cjs/VoiceRecorder/context.js +253 -0
- package/dist/cjs/VoiceRecorder/context.js.map +1 -0
- package/dist/cjs/VoiceRecorder/useVoiceRecorder.js +122 -0
- package/dist/cjs/VoiceRecorder/useVoiceRecorder.js.map +1 -0
- package/dist/cjs/_rollupPluginBabelHelpers-e7c78521.js +63 -0
- package/dist/cjs/_rollupPluginBabelHelpers-e7c78521.js.map +1 -0
- package/dist/cjs/actionTypes-80ffd63e.js +10 -0
- package/dist/cjs/actionTypes-80ffd63e.js.map +1 -0
- package/dist/cjs/color-84bbbc0b.js +45 -0
- package/dist/cjs/color-84bbbc0b.js.map +1 -0
- package/dist/cjs/compareIds-19a11ffa.js +18 -0
- package/dist/cjs/compareIds-19a11ffa.js.map +1 -0
- package/dist/cjs/const-3c5d5059.js +20 -0
- package/dist/cjs/const-3c5d5059.js.map +1 -0
- package/dist/cjs/const-86e2750e.js +22 -0
- package/dist/cjs/const-86e2750e.js.map +1 -0
- package/dist/cjs/consts-9d221c68.js +36 -0
- package/dist/cjs/consts-9d221c68.js.map +1 -0
- package/dist/cjs/context-f5c934a0.js +19 -0
- package/dist/cjs/context-f5c934a0.js.map +1 -0
- package/dist/cjs/dist/index.css +7346 -0
- package/dist/cjs/dist/index.css.map +1 -0
- package/dist/cjs/index-02407ba5.js +360 -0
- package/dist/cjs/index-02407ba5.js.map +1 -0
- package/dist/cjs/index-1ec959ab.js +503 -0
- package/dist/cjs/index-1ec959ab.js.map +1 -0
- package/dist/cjs/index-2d7e8e6d.js +119 -0
- package/dist/cjs/index-2d7e8e6d.js.map +1 -0
- package/dist/cjs/index-43d893cf.js +157 -0
- package/dist/cjs/index-43d893cf.js.map +1 -0
- package/dist/cjs/index-490839e3.js +9 -0
- package/dist/cjs/index-490839e3.js.map +1 -0
- package/dist/cjs/index-4e46a153.js +68 -0
- package/dist/cjs/index-4e46a153.js.map +1 -0
- package/dist/cjs/index-578f0575.js +143 -0
- package/dist/cjs/index-578f0575.js.map +1 -0
- package/dist/cjs/index-6714492f.js +747 -0
- package/dist/cjs/index-6714492f.js.map +1 -0
- package/dist/cjs/index-812adbfb.js +179 -0
- package/dist/cjs/index-812adbfb.js.map +1 -0
- package/dist/cjs/index-8b769862.js +174 -0
- package/dist/cjs/index-8b769862.js.map +1 -0
- package/dist/cjs/index-a79f62a3.js +194 -0
- package/dist/cjs/index-a79f62a3.js.map +1 -0
- package/dist/cjs/index-aada6371.js +178 -0
- package/dist/cjs/index-aada6371.js.map +1 -0
- package/dist/cjs/index-e1d58610.js +280 -0
- package/dist/cjs/index-e1d58610.js.map +1 -0
- package/dist/cjs/index-f1bd9638.js +1857 -0
- package/dist/cjs/index-f1bd9638.js.map +1 -0
- package/dist/cjs/index.js +197 -0
- package/dist/cjs/index.js.map +1 -0
- package/dist/cjs/lame.all.js +14498 -0
- package/dist/cjs/lame.all.js.map +1 -0
- package/dist/cjs/sendbirdSelectors.js +696 -0
- package/dist/cjs/stringSet-388f679a.js +183 -0
- package/dist/cjs/stringSet-388f679a.js.map +1 -0
- package/dist/cjs/topics-839402ce.js +22 -0
- package/dist/cjs/topics-839402ce.js.map +1 -0
- package/dist/cjs/tslib.es6-e8acf1b5.js +97 -0
- package/dist/cjs/tslib.es6-e8acf1b5.js.map +1 -0
- package/dist/cjs/types-6ffa6822.js +11 -0
- package/dist/cjs/types-6ffa6822.js.map +1 -0
- package/dist/cjs/ui/Accordion.js +73 -0
- package/dist/cjs/ui/AccordionGroup.js +32 -0
- package/dist/cjs/ui/AdminMessage.js +34 -0
- package/dist/cjs/ui/Avatar.js +225 -0
- package/dist/cjs/ui/Badge.js +34 -0
- package/dist/cjs/ui/BottomSheet.js +43 -0
- package/dist/cjs/ui/Button.js +94 -0
- package/dist/cjs/ui/ChannelAvatar.js +58 -0
- package/dist/cjs/ui/ConnectionStatus.js +31 -0
- package/dist/cjs/ui/ContextMenu.js +329 -0
- package/dist/cjs/ui/DateSeparator.js +36 -0
- package/dist/cjs/ui/EmojiReactions.js +140 -0
- package/dist/cjs/ui/FileMessageItemBody.js +64 -0
- package/dist/cjs/ui/FileViewer.js +137 -0
- package/dist/cjs/ui/Icon.js +1507 -0
- package/dist/cjs/ui/Icon.js.map +1 -0
- package/dist/cjs/ui/IconButton.js +60 -0
- package/dist/cjs/ui/ImageRenderer.js +101 -0
- package/dist/cjs/ui/Input.js +54 -0
- package/dist/cjs/ui/Label.js +16 -0
- package/dist/cjs/ui/LinkLabel.js +60 -0
- package/dist/cjs/ui/Loader.js +34 -0
- package/dist/cjs/ui/MentionLabel.js +104 -0
- package/dist/cjs/ui/MessageContent.js +778 -0
- package/dist/cjs/ui/MessageContent.js.map +1 -0
- package/dist/cjs/ui/MessageInput.js +590 -0
- package/dist/cjs/ui/MessageInput.js.map +1 -0
- package/dist/cjs/ui/MessageItemMenu.js +163 -0
- package/dist/cjs/ui/MessageItemMenu.js.map +1 -0
- package/dist/cjs/ui/MessageItemReactionMenu.js +113 -0
- package/dist/cjs/ui/MessageSearchFileItem.js +134 -0
- package/dist/cjs/ui/MessageSearchFileItem.js.map +1 -0
- package/dist/cjs/ui/MessageSearchItem.js +102 -0
- package/dist/cjs/ui/MessageStatus.js +25 -0
- package/dist/cjs/ui/Modal.js +126 -0
- package/dist/cjs/ui/OGMessageItemBody.js +139 -0
- package/dist/cjs/ui/OGMessageItemBody.js.map +1 -0
- package/dist/cjs/ui/OpenChannelAdminMessage.js +26 -0
- package/dist/cjs/ui/OpenChannelAvatar.js +40 -0
- package/dist/cjs/ui/OpenchannelConversationHeader.js +72 -0
- package/dist/cjs/ui/OpenchannelFileMessage.js +264 -0
- package/dist/cjs/ui/OpenchannelOGMessage.js +380 -0
- package/dist/cjs/ui/OpenchannelThumbnailMessage.js +339 -0
- package/dist/cjs/ui/OpenchannelUserMessage.js +289 -0
- package/dist/cjs/ui/PlaceHolder.js +20 -0
- package/dist/cjs/ui/PlaybackTime.js +36 -0
- package/dist/cjs/ui/PlaybackTime.js.map +1 -0
- package/dist/cjs/ui/ProgressBar.js +41 -0
- package/dist/cjs/ui/ProgressBar.js.map +1 -0
- package/dist/cjs/ui/QuoteMessage.js +158 -0
- package/dist/cjs/ui/QuoteMessage.js.map +1 -0
- package/dist/cjs/ui/QuoteMessageInput.js +98 -0
- package/dist/cjs/ui/QuoteMessageInput.js.map +1 -0
- package/dist/cjs/ui/ReactionBadge.js +58 -0
- package/dist/cjs/ui/ReactionButton.js +44 -0
- package/dist/cjs/ui/SortByRow.js +47 -0
- package/dist/cjs/ui/TextButton.js +37 -0
- package/dist/cjs/ui/TextMessageItemBody.js +86 -0
- package/dist/cjs/ui/ThreadReplies.js +82 -0
- package/dist/cjs/ui/ThumbnailMessageItemBody.js +86 -0
- package/dist/cjs/ui/Tooltip.js +28 -0
- package/dist/cjs/ui/TooltipWrapper.js +55 -0
- package/dist/cjs/ui/UnknownMessageItemBody.js +43 -0
- package/dist/cjs/ui/UserListItem.js +133 -0
- package/dist/cjs/ui/UserProfile.js +91 -0
- package/dist/cjs/ui/VoiceMessageItemBody.js +119 -0
- package/dist/cjs/ui/VoiceMessageItemBody.js.map +1 -0
- package/dist/cjs/ui/VoiceMessgeInput.js +23 -0
- package/dist/cjs/ui/VoiceMessgeInput.js.map +1 -0
- package/dist/cjs/ui/Word.js +115 -0
- package/dist/cjs/useLongPress-b75b3860.js +118 -0
- package/dist/cjs/useLongPress-b75b3860.js.map +1 -0
- package/dist/cjs/useSendbirdStateContext.js +22 -0
- package/dist/cjs/utils/message/isVoiceMessage.js +10 -0
- package/dist/cjs/utils/message/isVoiceMessage.js.map +1 -0
- package/dist/cjs/utils-56a22c82.js +32 -0
- package/dist/cjs/utils-56a22c82.js.map +1 -0
- package/dist/cjs/utils-6e33484b.js +32 -0
- package/dist/cjs/utils-6e33484b.js.map +1 -0
- package/dist/cjs/utils-763f5a7f.js +38 -0
- package/dist/cjs/utils-763f5a7f.js.map +1 -0
- package/dist/cjs/utils-c61c3737.js +6 -0
- package/dist/cjs/utils-c61c3737.js.map +1 -0
- package/dist/cjs/uuid-a94df44e.js +19 -0
- package/dist/cjs/uuid-a94df44e.js.map +1 -0
- package/dist/cjs/withSendbird.js +33 -0
- package/dist/color-206fa031.js +43 -0
- package/dist/color-206fa031.js.map +1 -0
- package/dist/compareIds-3442d021.js +16 -0
- package/dist/compareIds-3442d021.js.map +1 -0
- package/dist/const-78033061.js +18 -0
- package/dist/const-78033061.js.map +1 -0
- package/dist/const-8f606c40.js +14 -0
- package/dist/const-8f606c40.js.map +1 -0
- package/dist/consts-854f6e5f.js +23 -0
- package/dist/consts-854f6e5f.js.map +1 -0
- package/dist/context-17109f64.js +12 -0
- package/dist/context-17109f64.js.map +1 -0
- package/dist/dist/index.css +7346 -0
- package/dist/dist/index.css.map +1 -0
- package/dist/index-39098053.js +7 -0
- package/dist/index-39098053.js.map +1 -0
- package/dist/index-3b737aa6.js +167 -0
- package/dist/index-3b737aa6.js.map +1 -0
- package/dist/index-4217213f.js +706 -0
- package/dist/index-4217213f.js.map +1 -0
- package/dist/index-515b7f4e.js +145 -0
- package/dist/index-515b7f4e.js.map +1 -0
- package/dist/index-5c8b0523.js +501 -0
- package/dist/index-5c8b0523.js.map +1 -0
- package/dist/index-6b63d598.js +1852 -0
- package/dist/index-6b63d598.js.map +1 -0
- package/dist/index-8a78af9f.js +111 -0
- package/dist/index-8a78af9f.js.map +1 -0
- package/dist/index-8ff79952.js +132 -0
- package/dist/index-8ff79952.js.map +1 -0
- package/dist/index-a3d3d77a.js +66 -0
- package/dist/index-a3d3d77a.js.map +1 -0
- package/dist/index-a983f435.js +174 -0
- package/dist/index-a983f435.js.map +1 -0
- package/dist/index-bb3ccac9.js +271 -0
- package/dist/index-bb3ccac9.js.map +1 -0
- package/dist/index-c17ebf21.js +172 -0
- package/dist/index-c17ebf21.js.map +1 -0
- package/dist/index-cb271040.js +179 -0
- package/dist/index-cb271040.js.map +1 -0
- package/dist/index-d4ce9200.js +353 -0
- package/dist/index-d4ce9200.js.map +1 -0
- package/dist/index.d.ts +2501 -0
- package/dist/index.js +177 -0
- package/dist/index.js.map +1 -0
- package/dist/lame.all.js +14492 -0
- package/dist/lame.all.js.map +1 -0
- package/dist/package.json +104 -0
- package/dist/sendbirdSelectors.js +671 -0
- package/dist/stringSet-fbd7c37c.js +181 -0
- package/dist/stringSet-fbd7c37c.js.map +1 -0
- package/dist/topics-d6268256.js +13 -0
- package/dist/topics-d6268256.js.map +1 -0
- package/dist/tslib.es6-96c33448.js +92 -0
- package/dist/tslib.es6-96c33448.js.map +1 -0
- package/dist/types-63b4e9db.js +9 -0
- package/dist/types-63b4e9db.js.map +1 -0
- package/dist/ui/Accordion.js +64 -0
- package/dist/ui/AccordionGroup.js +26 -0
- package/dist/ui/AdminMessage.js +28 -0
- package/dist/ui/Avatar.js +216 -0
- package/dist/ui/Badge.js +28 -0
- package/dist/ui/BottomSheet.js +37 -0
- package/dist/ui/Button.js +84 -0
- package/dist/ui/ChannelAvatar.js +52 -0
- package/dist/ui/ConnectionStatus.js +25 -0
- package/dist/ui/ContextMenu.js +316 -0
- package/dist/ui/DateSeparator.js +30 -0
- package/dist/ui/EmojiReactions.js +134 -0
- package/dist/ui/FileMessageItemBody.js +58 -0
- package/dist/ui/FileViewer.js +128 -0
- package/dist/ui/Icon.js +1478 -0
- package/dist/ui/Icon.js.map +1 -0
- package/dist/ui/IconButton.js +54 -0
- package/dist/ui/ImageRenderer.js +95 -0
- package/dist/ui/Input.js +45 -0
- package/dist/ui/Label.js +5 -0
- package/dist/ui/LinkLabel.js +49 -0
- package/dist/ui/Loader.js +28 -0
- package/dist/ui/MentionLabel.js +98 -0
- package/dist/ui/MessageContent.js +772 -0
- package/dist/ui/MessageContent.js.map +1 -0
- package/dist/ui/MessageInput.js +583 -0
- package/dist/ui/MessageInput.js.map +1 -0
- package/dist/ui/MessageItemMenu.js +157 -0
- package/dist/ui/MessageItemMenu.js.map +1 -0
- package/dist/ui/MessageItemReactionMenu.js +107 -0
- package/dist/ui/MessageSearchFileItem.js +128 -0
- package/dist/ui/MessageSearchFileItem.js.map +1 -0
- package/dist/ui/MessageSearchItem.js +96 -0
- package/dist/ui/MessageStatus.js +16 -0
- package/dist/ui/Modal.js +115 -0
- package/dist/ui/OGMessageItemBody.js +133 -0
- package/dist/ui/OGMessageItemBody.js.map +1 -0
- package/dist/ui/OpenChannelAdminMessage.js +20 -0
- package/dist/ui/OpenChannelAvatar.js +34 -0
- package/dist/ui/OpenchannelConversationHeader.js +66 -0
- package/dist/ui/OpenchannelFileMessage.js +258 -0
- package/dist/ui/OpenchannelOGMessage.js +374 -0
- package/dist/ui/OpenchannelThumbnailMessage.js +333 -0
- package/dist/ui/OpenchannelUserMessage.js +283 -0
- package/dist/ui/PlaceHolder.js +11 -0
- package/dist/ui/PlaybackTime.js +27 -0
- package/dist/ui/PlaybackTime.js.map +1 -0
- package/dist/ui/ProgressBar.js +31 -0
- package/dist/ui/ProgressBar.js.map +1 -0
- package/dist/ui/QuoteMessage.js +152 -0
- package/dist/ui/QuoteMessage.js.map +1 -0
- package/dist/ui/QuoteMessageInput.js +92 -0
- package/dist/ui/QuoteMessageInput.js.map +1 -0
- package/dist/ui/ReactionBadge.js +52 -0
- package/dist/ui/ReactionButton.js +38 -0
- package/dist/ui/SortByRow.js +41 -0
- package/dist/ui/TextButton.js +31 -0
- package/dist/ui/TextMessageItemBody.js +80 -0
- package/dist/ui/ThreadReplies.js +76 -0
- package/dist/ui/ThumbnailMessageItemBody.js +80 -0
- package/dist/ui/Tooltip.js +22 -0
- package/dist/ui/TooltipWrapper.js +49 -0
- package/dist/ui/UnknownMessageItemBody.js +37 -0
- package/dist/ui/UserListItem.js +127 -0
- package/dist/ui/UserProfile.js +85 -0
- package/dist/ui/VoiceMessageItemBody.js +110 -0
- package/dist/ui/VoiceMessageItemBody.js.map +1 -0
- package/dist/ui/VoiceMessgeInput.js +15 -0
- package/dist/ui/VoiceMessgeInput.js.map +1 -0
- package/dist/ui/Word.js +109 -0
- package/dist/useLongPress-96570844.js +116 -0
- package/dist/useLongPress-96570844.js.map +1 -0
- package/dist/useSendbirdStateContext.js +20 -0
- package/dist/utils/message/isVoiceMessage.js +7 -0
- package/dist/utils/message/isVoiceMessage.js.map +1 -0
- package/dist/utils-273068f6.js +4 -0
- package/dist/utils-273068f6.js.map +1 -0
- package/dist/utils-5cfd2d4d.js +34 -0
- package/dist/utils-5cfd2d4d.js.map +1 -0
- package/dist/utils-aa379202.js +30 -0
- package/dist/utils-aa379202.js.map +1 -0
- package/dist/utils-feeb0ce4.js +30 -0
- package/dist/utils-feeb0ce4.js.map +1 -0
- package/dist/uuid-d8fc0ef1.js +17 -0
- package/dist/uuid-d8fc0ef1.js.map +1 -0
- package/dist/withSendbird.js +24 -0
- package/package.json +54 -28
- package/App.js +0 -638
- package/App.js.map +0 -1
- package/Channel/components/ChannelHeader.js +0 -109
- package/Channel/components/ChannelHeader.js.map +0 -1
- package/Channel/components/ChannelUI.js +0 -215
- package/Channel/components/ChannelUI.js.map +0 -1
- package/Channel/components/FileViewer.js +0 -154
- package/Channel/components/FileViewer.js.map +0 -1
- package/Channel/components/FrozenNotification.js +0 -19
- package/Channel/components/Message.js +0 -397
- package/Channel/components/Message.js.map +0 -1
- package/Channel/components/MessageInput.js +0 -223
- package/Channel/components/MessageInput.js.map +0 -1
- package/Channel/components/MessageList.js +0 -251
- package/Channel/components/MessageList.js.map +0 -1
- package/Channel/components/RemoveMessageModal.js +0 -56
- package/Channel/components/RemoveMessageModal.js.map +0 -1
- package/Channel/components/SuggestedMentionList.js +0 -313
- package/Channel/components/SuggestedMentionList.js.map +0 -1
- package/Channel/components/TypingIndicator.js +0 -105
- package/Channel/components/TypingIndicator.js.map +0 -1
- package/Channel/components/UnreadCount.js +0 -40
- package/Channel/context.js +0 -27
- package/Channel/context.js.map +0 -1
- package/Channel.js +0 -128
- package/Channel.js.map +0 -1
- package/ChannelList/components/AddChannel.js +0 -76
- package/ChannelList/components/ChannelListHeader.js +0 -72
- package/ChannelList/components/ChannelListUI.js +0 -267
- package/ChannelList/components/ChannelListUI.js.map +0 -1
- package/ChannelList/components/ChannelPreview.js +0 -192
- package/ChannelList/components/ChannelPreview.js.map +0 -1
- package/ChannelList/components/ChannelPreviewAction.js +0 -133
- package/ChannelList/context.js +0 -15
- package/ChannelList.js +0 -96
- package/ChannelList.js.map +0 -1
- package/ChannelListProvider-eb4708a3.js +0 -1074
- package/ChannelListProvider-eb4708a3.js.map +0 -1
- package/ChannelProvider-1e540c0e.js +0 -2208
- package/ChannelProvider-1e540c0e.js.map +0 -1
- package/ChannelSettings/components/ChannelProfile.js +0 -102
- package/ChannelSettings/components/ChannelSettingsUI.js +0 -155
- package/ChannelSettings/components/EditDetailsModal.js +0 -157
- package/ChannelSettings/components/LeaveChannel.js +0 -101
- package/ChannelSettings/components/ModerationPanel.js +0 -871
- package/ChannelSettings/components/UserListItem.js +0 -108
- package/ChannelSettings/components/UserPanel.js +0 -81
- package/ChannelSettings/components/UserPanel.js.map +0 -1
- package/ChannelSettings/context.js +0 -99
- package/ChannelSettings.js +0 -76
- package/CreateChannel/components/CreateChannelUI.js +0 -58
- package/CreateChannel/components/InviteUsers.js +0 -218
- package/CreateChannel/components/SelectChannelType.js +0 -134
- package/CreateChannel/context.js +0 -9
- package/CreateChannel.js +0 -57
- package/CreateChannelProvider-ed2e3cb4.js +0 -55
- package/CreateChannelProvider-ed2e3cb4.js.map +0 -1
- package/CreateOpenChannel/components/CreateOpenChannelUI.js +0 -130
- package/CreateOpenChannel/context.js +0 -63
- package/CreateOpenChannel.js +0 -46
- package/EditUserProfile/components/EditUserProfileUI.js +0 -27
- package/EditUserProfile.js +0 -40
- package/LocalizationContext-4c2faa9a.js +0 -22
- package/LocalizationContext-4c2faa9a.js.map +0 -1
- package/MediaQueryContext-97a21b7e.js +0 -90
- package/MediaQueryContext-97a21b7e.js.map +0 -1
- package/MemberList-6483a7db.js +0 -442
- package/MemberList-6483a7db.js.map +0 -1
- package/MessageSearch/components/MessageSearchUI.js +0 -151
- package/MessageSearch/components/MessageSearchUI.js.map +0 -1
- package/MessageSearch/context.js +0 -396
- package/MessageSearch.js +0 -146
- package/MessageSearch.js.map +0 -1
- package/OpenChannel/components/FrozenChannelNotification.js +0 -19
- package/OpenChannel/components/OpenChannelHeader.js +0 -90
- package/OpenChannel/components/OpenChannelInput.js +0 -61
- package/OpenChannel/components/OpenChannelInput.js.map +0 -1
- package/OpenChannel/components/OpenChannelMessage.js +0 -306
- package/OpenChannel/components/OpenChannelMessageList.js +0 -167
- package/OpenChannel/components/OpenChannelUI.js +0 -118
- package/OpenChannel/context.js +0 -16
- package/OpenChannel.js +0 -88
- package/OpenChannelList/components/OpenChannelListUI.js +0 -197
- package/OpenChannelList/components/OpenChannelPreview.js +0 -67
- package/OpenChannelList/context.js +0 -8
- package/OpenChannelList.js +0 -59
- package/OpenChannelListProvider-95808e48.js +0 -434
- package/OpenChannelListProvider-95808e48.js.map +0 -1
- package/OpenChannelProvider-e3137432.js +0 -2000
- package/OpenChannelProvider-e3137432.js.map +0 -1
- package/OpenChannelSettings/components/EditDetailsModal.js +0 -148
- package/OpenChannelSettings/components/OpenChannelProfile.js +0 -83
- package/OpenChannelSettings/components/OpenChannelSettingsUI.js +0 -126
- package/OpenChannelSettings/components/OperatorUI.js +0 -912
- package/OpenChannelSettings/components/ParticipantUI.js +0 -37
- package/OpenChannelSettings/context.js +0 -145
- package/OpenChannelSettings.js +0 -67
- package/RemoveMessageModal-0baf3553.js +0 -31
- package/RemoveMessageModal-0baf3553.js.map +0 -1
- package/SendbirdProvider.js +0 -804
- package/SendbirdProvider.js.map +0 -1
- package/Thread/components/ParentMessageInfo.js +0 -360
- package/Thread/components/ParentMessageInfo.js.map +0 -1
- package/Thread/components/ParentMessageInfoItem.js +0 -197
- package/Thread/components/ParentMessageInfoItem.js.map +0 -1
- package/Thread/components/ThreadHeader.js +0 -61
- package/Thread/components/ThreadList.js +0 -141
- package/Thread/components/ThreadList.js.map +0 -1
- package/Thread/components/ThreadListItem.js +0 -524
- package/Thread/components/ThreadListItem.js.map +0 -1
- package/Thread/components/ThreadMessageInput.js +0 -193
- package/Thread/components/ThreadMessageInput.js.map +0 -1
- package/Thread/components/ThreadUI.js +0 -316
- package/Thread/components/ThreadUI.js.map +0 -1
- package/Thread/context.js +0 -18
- package/Thread.js +0 -114
- package/Thread.js.map +0 -1
- package/ThreadProvider-a1413f01.js +0 -1644
- package/ThreadProvider-a1413f01.js.map +0 -1
- package/UserProfileContext-e5d90f15.js +0 -44
- package/UserProfileContext-e5d90f15.js.map +0 -1
- package/_rollupPluginBabelHelpers-b45d3824.js +0 -60
- package/_rollupPluginBabelHelpers-b45d3824.js.map +0 -1
- package/actionTypes-c69daac1.js +0 -6
- package/actionTypes-c69daac1.js.map +0 -1
- package/cjs/App.js +0 -645
- package/cjs/App.js.map +0 -1
- package/cjs/Channel/components/ChannelHeader.js +0 -115
- package/cjs/Channel/components/ChannelHeader.js.map +0 -1
- package/cjs/Channel/components/ChannelUI.js +0 -221
- package/cjs/Channel/components/ChannelUI.js.map +0 -1
- package/cjs/Channel/components/FileViewer.js +0 -163
- package/cjs/Channel/components/FileViewer.js.map +0 -1
- package/cjs/Channel/components/FrozenNotification.js +0 -25
- package/cjs/Channel/components/Message.js +0 -403
- package/cjs/Channel/components/Message.js.map +0 -1
- package/cjs/Channel/components/MessageInput.js +0 -229
- package/cjs/Channel/components/MessageInput.js.map +0 -1
- package/cjs/Channel/components/MessageList.js +0 -257
- package/cjs/Channel/components/MessageList.js.map +0 -1
- package/cjs/Channel/components/RemoveMessageModal.js +0 -62
- package/cjs/Channel/components/RemoveMessageModal.js.map +0 -1
- package/cjs/Channel/components/SuggestedMentionList.js +0 -319
- package/cjs/Channel/components/SuggestedMentionList.js.map +0 -1
- package/cjs/Channel/components/TypingIndicator.js +0 -114
- package/cjs/Channel/components/TypingIndicator.js.map +0 -1
- package/cjs/Channel/components/UnreadCount.js +0 -46
- package/cjs/Channel/context.js +0 -40
- package/cjs/Channel/context.js.map +0 -1
- package/cjs/Channel.js +0 -134
- package/cjs/Channel.js.map +0 -1
- package/cjs/ChannelList/components/AddChannel.js +0 -85
- package/cjs/ChannelList/components/ChannelListHeader.js +0 -78
- package/cjs/ChannelList/components/ChannelListUI.js +0 -273
- package/cjs/ChannelList/components/ChannelListUI.js.map +0 -1
- package/cjs/ChannelList/components/ChannelPreview.js +0 -198
- package/cjs/ChannelList/components/ChannelPreview.js.map +0 -1
- package/cjs/ChannelList/components/ChannelPreviewAction.js +0 -140
- package/cjs/ChannelList/context.js +0 -24
- package/cjs/ChannelList.js +0 -102
- package/cjs/ChannelList.js.map +0 -1
- package/cjs/ChannelListProvider-94df9f01.js +0 -1086
- package/cjs/ChannelListProvider-94df9f01.js.map +0 -1
- package/cjs/ChannelProvider-3fbf7c5e.js +0 -2221
- package/cjs/ChannelProvider-3fbf7c5e.js.map +0 -1
- package/cjs/ChannelSettings/components/ChannelProfile.js +0 -108
- package/cjs/ChannelSettings/components/ChannelSettingsUI.js +0 -161
- package/cjs/ChannelSettings/components/EditDetailsModal.js +0 -163
- package/cjs/ChannelSettings/components/LeaveChannel.js +0 -107
- package/cjs/ChannelSettings/components/ModerationPanel.js +0 -877
- package/cjs/ChannelSettings/components/UserListItem.js +0 -114
- package/cjs/ChannelSettings/components/UserPanel.js +0 -87
- package/cjs/ChannelSettings/components/UserPanel.js.map +0 -1
- package/cjs/ChannelSettings/context.js +0 -108
- package/cjs/ChannelSettings.js +0 -82
- package/cjs/CreateChannel/components/CreateChannelUI.js +0 -64
- package/cjs/CreateChannel/components/InviteUsers.js +0 -224
- package/cjs/CreateChannel/components/SelectChannelType.js +0 -140
- package/cjs/CreateChannel/context.js +0 -18
- package/cjs/CreateChannel.js +0 -63
- package/cjs/CreateChannelProvider-70422add.js +0 -62
- package/cjs/CreateChannelProvider-70422add.js.map +0 -1
- package/cjs/CreateOpenChannel/components/CreateOpenChannelUI.js +0 -136
- package/cjs/CreateOpenChannel/context.js +0 -72
- package/cjs/CreateOpenChannel.js +0 -52
- package/cjs/EditUserProfile/components/EditUserProfileUI.js +0 -33
- package/cjs/EditUserProfile.js +0 -46
- package/cjs/LocalizationContext-a0f833e9.js +0 -30
- package/cjs/LocalizationContext-a0f833e9.js.map +0 -1
- package/cjs/MediaQueryContext-770ae8bc.js +0 -97
- package/cjs/MediaQueryContext-770ae8bc.js.map +0 -1
- package/cjs/MemberList-4a0910dd.js +0 -448
- package/cjs/MemberList-4a0910dd.js.map +0 -1
- package/cjs/MessageSearch/components/MessageSearchUI.js +0 -160
- package/cjs/MessageSearch/components/MessageSearchUI.js.map +0 -1
- package/cjs/MessageSearch/context.js +0 -405
- package/cjs/MessageSearch.js +0 -152
- package/cjs/MessageSearch.js.map +0 -1
- package/cjs/OpenChannel/components/FrozenChannelNotification.js +0 -25
- package/cjs/OpenChannel/components/OpenChannelHeader.js +0 -96
- package/cjs/OpenChannel/components/OpenChannelInput.js +0 -67
- package/cjs/OpenChannel/components/OpenChannelInput.js.map +0 -1
- package/cjs/OpenChannel/components/OpenChannelMessage.js +0 -312
- package/cjs/OpenChannel/components/OpenChannelMessageList.js +0 -173
- package/cjs/OpenChannel/components/OpenChannelUI.js +0 -124
- package/cjs/OpenChannel/context.js +0 -25
- package/cjs/OpenChannel.js +0 -94
- package/cjs/OpenChannelList/components/OpenChannelListUI.js +0 -203
- package/cjs/OpenChannelList/components/OpenChannelPreview.js +0 -73
- package/cjs/OpenChannelList/context.js +0 -18
- package/cjs/OpenChannelList/context.js.map +0 -1
- package/cjs/OpenChannelList.js +0 -65
- package/cjs/OpenChannelListProvider-e97c8ed9.js +0 -443
- package/cjs/OpenChannelListProvider-e97c8ed9.js.map +0 -1
- package/cjs/OpenChannelProvider-9b453ac0.js +0 -2009
- package/cjs/OpenChannelProvider-9b453ac0.js.map +0 -1
- package/cjs/OpenChannelSettings/components/EditDetailsModal.js +0 -154
- package/cjs/OpenChannelSettings/components/OpenChannelProfile.js +0 -89
- package/cjs/OpenChannelSettings/components/OpenChannelSettingsUI.js +0 -132
- package/cjs/OpenChannelSettings/components/OperatorUI.js +0 -922
- package/cjs/OpenChannelSettings/components/ParticipantUI.js +0 -43
- package/cjs/OpenChannelSettings/context.js +0 -154
- package/cjs/OpenChannelSettings.js +0 -73
- package/cjs/RemoveMessageModal-7bde69be.js +0 -37
- package/cjs/RemoveMessageModal-7bde69be.js.map +0 -1
- package/cjs/SendbirdProvider.js +0 -813
- package/cjs/SendbirdProvider.js.map +0 -1
- package/cjs/Thread/components/ParentMessageInfo.js +0 -366
- package/cjs/Thread/components/ParentMessageInfo.js.map +0 -1
- package/cjs/Thread/components/ParentMessageInfoItem.js +0 -203
- package/cjs/Thread/components/ParentMessageInfoItem.js.map +0 -1
- package/cjs/Thread/components/ThreadHeader.js +0 -67
- package/cjs/Thread/components/ThreadList.js +0 -147
- package/cjs/Thread/components/ThreadList.js.map +0 -1
- package/cjs/Thread/components/ThreadListItem.js +0 -530
- package/cjs/Thread/components/ThreadListItem.js.map +0 -1
- package/cjs/Thread/components/ThreadMessageInput.js +0 -199
- package/cjs/Thread/components/ThreadMessageInput.js.map +0 -1
- package/cjs/Thread/components/ThreadUI.js +0 -322
- package/cjs/Thread/components/ThreadUI.js.map +0 -1
- package/cjs/Thread/context.js +0 -27
- package/cjs/Thread/context.js.map +0 -1
- package/cjs/Thread.js +0 -120
- package/cjs/Thread.js.map +0 -1
- package/cjs/ThreadProvider-71441c16.js +0 -1653
- package/cjs/ThreadProvider-71441c16.js.map +0 -1
- package/cjs/UserProfileContext-74e6409b.js +0 -52
- package/cjs/UserProfileContext-74e6409b.js.map +0 -1
- package/cjs/_rollupPluginBabelHelpers-25763ef8.js +0 -63
- package/cjs/_rollupPluginBabelHelpers-25763ef8.js.map +0 -1
- package/cjs/actionTypes-85a652e4.js +0 -10
- package/cjs/actionTypes-85a652e4.js.map +0 -1
- package/cjs/color-51fd9a0c.js +0 -45
- package/cjs/color-51fd9a0c.js.map +0 -1
- package/cjs/compareIds-44844f10.js +0 -18
- package/cjs/compareIds-44844f10.js.map +0 -1
- package/cjs/const-4761421a.js +0 -22
- package/cjs/const-4761421a.js.map +0 -1
- package/cjs/const-618dd4f4.js +0 -20
- package/cjs/const-618dd4f4.js.map +0 -1
- package/cjs/context-4b1de73e.js +0 -19
- package/cjs/context-4b1de73e.js.map +0 -1
- package/cjs/dist/index.css +0 -6949
- package/cjs/dist/index.css.map +0 -1
- package/cjs/index-0e76934f.js +0 -157
- package/cjs/index-0e76934f.js.map +0 -1
- package/cjs/index-2c095d94.js +0 -143
- package/cjs/index-2c095d94.js.map +0 -1
- package/cjs/index-32b39be6.js +0 -179
- package/cjs/index-32b39be6.js.map +0 -1
- package/cjs/index-4d6f2a4e.js +0 -119
- package/cjs/index-4d6f2a4e.js.map +0 -1
- package/cjs/index-4dc29990.js +0 -503
- package/cjs/index-4dc29990.js.map +0 -1
- package/cjs/index-67134275.js +0 -1857
- package/cjs/index-67134275.js.map +0 -1
- package/cjs/index-756baf20.js +0 -360
- package/cjs/index-756baf20.js.map +0 -1
- package/cjs/index-7d4e7ad9.js +0 -9
- package/cjs/index-7d4e7ad9.js.map +0 -1
- package/cjs/index-97532335.js +0 -68
- package/cjs/index-97532335.js.map +0 -1
- package/cjs/index-9f6a474c.js +0 -194
- package/cjs/index-9f6a474c.js.map +0 -1
- package/cjs/index-bfe8bdde.js +0 -701
- package/cjs/index-bfe8bdde.js.map +0 -1
- package/cjs/index-c4738d8b.js +0 -178
- package/cjs/index-c4738d8b.js.map +0 -1
- package/cjs/index.js +0 -185
- package/cjs/index.js.map +0 -1
- package/cjs/sendbirdSelectors.js +0 -696
- package/cjs/stringSet-87e51d08.js +0 -179
- package/cjs/stringSet-87e51d08.js.map +0 -1
- package/cjs/topics-d9091126.js +0 -22
- package/cjs/topics-d9091126.js.map +0 -1
- package/cjs/tslib.es6-0b4c49f8.js +0 -97
- package/cjs/tslib.es6-0b4c49f8.js.map +0 -1
- package/cjs/ui/Accordion.js +0 -73
- package/cjs/ui/AccordionGroup.js +0 -32
- package/cjs/ui/AdminMessage.js +0 -34
- package/cjs/ui/Avatar.js +0 -225
- package/cjs/ui/Badge.js +0 -34
- package/cjs/ui/BottomSheet.js +0 -43
- package/cjs/ui/Button.js +0 -94
- package/cjs/ui/ChannelAvatar.js +0 -58
- package/cjs/ui/ConnectionStatus.js +0 -31
- package/cjs/ui/ContextMenu.js +0 -329
- package/cjs/ui/DateSeparator.js +0 -36
- package/cjs/ui/EmojiReactions.js +0 -140
- package/cjs/ui/FileMessageItemBody.js +0 -64
- package/cjs/ui/FileViewer.js +0 -137
- package/cjs/ui/Icon.js +0 -1467
- package/cjs/ui/Icon.js.map +0 -1
- package/cjs/ui/IconButton.js +0 -60
- package/cjs/ui/ImageRenderer.js +0 -101
- package/cjs/ui/Input.js +0 -54
- package/cjs/ui/Label.js +0 -16
- package/cjs/ui/LinkLabel.js +0 -60
- package/cjs/ui/Loader.js +0 -34
- package/cjs/ui/MentionLabel.js +0 -104
- package/cjs/ui/MessageContent.js +0 -763
- package/cjs/ui/MessageContent.js.map +0 -1
- package/cjs/ui/MessageInput.js +0 -571
- package/cjs/ui/MessageInput.js.map +0 -1
- package/cjs/ui/MessageItemMenu.js +0 -162
- package/cjs/ui/MessageItemMenu.js.map +0 -1
- package/cjs/ui/MessageItemReactionMenu.js +0 -113
- package/cjs/ui/MessageSearchFileItem.js +0 -131
- package/cjs/ui/MessageSearchFileItem.js.map +0 -1
- package/cjs/ui/MessageSearchItem.js +0 -102
- package/cjs/ui/MessageStatus.js +0 -25
- package/cjs/ui/Modal.js +0 -126
- package/cjs/ui/OGMessageItemBody.js +0 -129
- package/cjs/ui/OGMessageItemBody.js.map +0 -1
- package/cjs/ui/OpenChannelAdminMessage.js +0 -26
- package/cjs/ui/OpenChannelAvatar.js +0 -40
- package/cjs/ui/OpenchannelConversationHeader.js +0 -72
- package/cjs/ui/OpenchannelFileMessage.js +0 -264
- package/cjs/ui/OpenchannelOGMessage.js +0 -380
- package/cjs/ui/OpenchannelThumbnailMessage.js +0 -339
- package/cjs/ui/OpenchannelUserMessage.js +0 -289
- package/cjs/ui/PlaceHolder.js +0 -20
- package/cjs/ui/QuoteMessage.js +0 -152
- package/cjs/ui/QuoteMessage.js.map +0 -1
- package/cjs/ui/QuoteMessageInput.js +0 -97
- package/cjs/ui/QuoteMessageInput.js.map +0 -1
- package/cjs/ui/ReactionBadge.js +0 -58
- package/cjs/ui/ReactionButton.js +0 -44
- package/cjs/ui/SortByRow.js +0 -47
- package/cjs/ui/TextButton.js +0 -37
- package/cjs/ui/TextMessageItemBody.js +0 -86
- package/cjs/ui/ThreadReplies.js +0 -82
- package/cjs/ui/ThumbnailMessageItemBody.js +0 -86
- package/cjs/ui/Tooltip.js +0 -28
- package/cjs/ui/TooltipWrapper.js +0 -55
- package/cjs/ui/UnknownMessageItemBody.js +0 -43
- package/cjs/ui/UserListItem.js +0 -133
- package/cjs/ui/UserProfile.js +0 -91
- package/cjs/ui/Word.js +0 -115
- package/cjs/useLongPress-ff6353a1.js +0 -118
- package/cjs/useLongPress-ff6353a1.js.map +0 -1
- package/cjs/useSendbirdStateContext.js +0 -22
- package/cjs/utils-72ab488f.js +0 -38
- package/cjs/utils-72ab488f.js.map +0 -1
- package/cjs/utils-aa1597cc.js +0 -6
- package/cjs/utils-aa1597cc.js.map +0 -1
- package/cjs/utils-c948ddfe.js +0 -32
- package/cjs/utils-c948ddfe.js.map +0 -1
- package/cjs/utils-edb40a10.js +0 -32
- package/cjs/utils-edb40a10.js.map +0 -1
- package/cjs/uuid-0b5f4e5e.js +0 -19
- package/cjs/uuid-0b5f4e5e.js.map +0 -1
- package/cjs/withSendbird.js +0 -33
- package/color-1b42e49d.js +0 -43
- package/color-1b42e49d.js.map +0 -1
- package/compareIds-df760ae2.js +0 -16
- package/compareIds-df760ae2.js.map +0 -1
- package/const-11ae0dd9.js +0 -18
- package/const-11ae0dd9.js.map +0 -1
- package/const-c269fd32.js +0 -14
- package/const-c269fd32.js.map +0 -1
- package/context-2c35a852.js +0 -12
- package/context-2c35a852.js.map +0 -1
- package/dist/index.css +0 -6949
- package/dist/index.css.map +0 -1
- package/index-1f0b91f3.js +0 -179
- package/index-1f0b91f3.js.map +0 -1
- package/index-30726ee1.js +0 -66
- package/index-30726ee1.js.map +0 -1
- package/index-425e5f17.js +0 -662
- package/index-425e5f17.js.map +0 -1
- package/index-6491c190.js +0 -172
- package/index-6491c190.js.map +0 -1
- package/index-6a8be188.js +0 -353
- package/index-6a8be188.js.map +0 -1
- package/index-6d541758.js +0 -174
- package/index-6d541758.js.map +0 -1
- package/index-8c38f9d0.js +0 -1852
- package/index-8c38f9d0.js.map +0 -1
- package/index-a53d78b6.js +0 -501
- package/index-a53d78b6.js.map +0 -1
- package/index-aa4edbe2.js +0 -145
- package/index-aa4edbe2.js.map +0 -1
- package/index-aecdd02c.js +0 -111
- package/index-aecdd02c.js.map +0 -1
- package/index-e2994193.js +0 -132
- package/index-e2994193.js.map +0 -1
- package/index-fd5a03a3.js +0 -7
- package/index-fd5a03a3.js.map +0 -1
- package/index.d.ts +0 -2425
- package/index.js +0 -165
- package/index.js.map +0 -1
- package/sendbirdSelectors.js +0 -671
- package/stringSet-c2443946.js +0 -177
- package/stringSet-c2443946.js.map +0 -1
- package/topics-0ba43ee8.js +0 -13
- package/topics-0ba43ee8.js.map +0 -1
- package/tslib.es6-13412863.js +0 -92
- package/tslib.es6-13412863.js.map +0 -1
- package/ui/Accordion.js +0 -64
- package/ui/AccordionGroup.js +0 -26
- package/ui/AdminMessage.js +0 -28
- package/ui/Avatar.js +0 -216
- package/ui/Badge.js +0 -28
- package/ui/BottomSheet.js +0 -37
- package/ui/Button.js +0 -84
- package/ui/ChannelAvatar.js +0 -52
- package/ui/ConnectionStatus.js +0 -25
- package/ui/ContextMenu.js +0 -316
- package/ui/DateSeparator.js +0 -30
- package/ui/EmojiReactions.js +0 -134
- package/ui/FileMessageItemBody.js +0 -58
- package/ui/FileViewer.js +0 -128
- package/ui/Icon.js +0 -1436
- package/ui/Icon.js.map +0 -1
- package/ui/IconButton.js +0 -54
- package/ui/ImageRenderer.js +0 -95
- package/ui/Input.js +0 -45
- package/ui/Label.js +0 -5
- package/ui/LinkLabel.js +0 -49
- package/ui/Loader.js +0 -28
- package/ui/MentionLabel.js +0 -98
- package/ui/MessageContent.js +0 -757
- package/ui/MessageContent.js.map +0 -1
- package/ui/MessageInput.js +0 -564
- package/ui/MessageInput.js.map +0 -1
- package/ui/MessageItemMenu.js +0 -156
- package/ui/MessageItemMenu.js.map +0 -1
- package/ui/MessageItemReactionMenu.js +0 -107
- package/ui/MessageSearchFileItem.js +0 -125
- package/ui/MessageSearchFileItem.js.map +0 -1
- package/ui/MessageSearchItem.js +0 -96
- package/ui/MessageStatus.js +0 -16
- package/ui/Modal.js +0 -115
- package/ui/OGMessageItemBody.js +0 -123
- package/ui/OGMessageItemBody.js.map +0 -1
- package/ui/OpenChannelAdminMessage.js +0 -20
- package/ui/OpenChannelAvatar.js +0 -34
- package/ui/OpenchannelConversationHeader.js +0 -66
- package/ui/OpenchannelFileMessage.js +0 -258
- package/ui/OpenchannelOGMessage.js +0 -374
- package/ui/OpenchannelThumbnailMessage.js +0 -333
- package/ui/OpenchannelUserMessage.js +0 -283
- package/ui/PlaceHolder.js +0 -11
- package/ui/QuoteMessage.js +0 -146
- package/ui/QuoteMessage.js.map +0 -1
- package/ui/QuoteMessageInput.js +0 -91
- package/ui/QuoteMessageInput.js.map +0 -1
- package/ui/ReactionBadge.js +0 -52
- package/ui/ReactionButton.js +0 -38
- package/ui/SortByRow.js +0 -41
- package/ui/TextButton.js +0 -31
- package/ui/TextMessageItemBody.js +0 -80
- package/ui/ThreadReplies.js +0 -76
- package/ui/ThumbnailMessageItemBody.js +0 -80
- package/ui/Tooltip.js +0 -22
- package/ui/TooltipWrapper.js +0 -49
- package/ui/UnknownMessageItemBody.js +0 -37
- package/ui/UserListItem.js +0 -127
- package/ui/UserProfile.js +0 -85
- package/ui/Word.js +0 -109
- package/useLongPress-fbe83e54.js +0 -116
- package/useLongPress-fbe83e54.js.map +0 -1
- package/useSendbirdStateContext.js +0 -20
- package/utils-87d19647.js +0 -34
- package/utils-87d19647.js.map +0 -1
- package/utils-87dce5dd.js +0 -4
- package/utils-87dce5dd.js.map +0 -1
- package/utils-9c95a786.js +0 -30
- package/utils-9c95a786.js.map +0 -1
- package/utils-dd13f89e.js +0 -30
- package/utils-dd13f89e.js.map +0 -1
- package/uuid-7a5e68ed.js +0 -17
- package/uuid-7a5e68ed.js.map +0 -1
- package/withSendbird.js +0 -24
- /package/{Channel → dist/Channel}/components/FrozenNotification.js.map +0 -0
- /package/{Channel → dist/Channel}/components/UnreadCount.js.map +0 -0
- /package/{ChannelList → dist/ChannelList}/components/AddChannel.js.map +0 -0
- /package/{ChannelList → dist/ChannelList}/components/ChannelListHeader.js.map +0 -0
- /package/{ChannelList → dist/ChannelList}/components/ChannelPreviewAction.js.map +0 -0
- /package/{ChannelList → dist/ChannelList}/context.js.map +0 -0
- /package/{ChannelSettings → dist/ChannelSettings}/components/ChannelProfile.js.map +0 -0
- /package/{ChannelSettings → dist/ChannelSettings}/components/ChannelSettingsUI.js.map +0 -0
- /package/{ChannelSettings → dist/ChannelSettings}/components/EditDetailsModal.js.map +0 -0
- /package/{ChannelSettings → dist/ChannelSettings}/components/LeaveChannel.js.map +0 -0
- /package/{ChannelSettings → dist/ChannelSettings}/components/ModerationPanel.js.map +0 -0
- /package/{ChannelSettings → dist/ChannelSettings}/components/UserListItem.js.map +0 -0
- /package/{ChannelSettings → dist/ChannelSettings}/context.js.map +0 -0
- /package/{ChannelSettings.js.map → dist/ChannelSettings.js.map} +0 -0
- /package/{CreateChannel → dist/CreateChannel}/components/CreateChannelUI.js.map +0 -0
- /package/{CreateChannel → dist/CreateChannel}/components/InviteUsers.js.map +0 -0
- /package/{CreateChannel → dist/CreateChannel}/components/SelectChannelType.js.map +0 -0
- /package/{CreateChannel → dist/CreateChannel}/context.js.map +0 -0
- /package/{CreateChannel.js.map → dist/CreateChannel.js.map} +0 -0
- /package/{CreateOpenChannel → dist/CreateOpenChannel}/components/CreateOpenChannelUI.js.map +0 -0
- /package/{CreateOpenChannel → dist/CreateOpenChannel}/context.js.map +0 -0
- /package/{CreateOpenChannel.js.map → dist/CreateOpenChannel.js.map} +0 -0
- /package/{EditUserProfile → dist/EditUserProfile}/components/EditUserProfileUI.js.map +0 -0
- /package/{EditUserProfile → dist/EditUserProfile}/context.js +0 -0
- /package/{EditUserProfile → dist/EditUserProfile}/context.js.map +0 -0
- /package/{EditUserProfile.js.map → dist/EditUserProfile.js.map} +0 -0
- /package/{MessageSearch → dist/MessageSearch}/context.js.map +0 -0
- /package/{OpenChannel → dist/OpenChannel}/components/FrozenChannelNotification.js.map +0 -0
- /package/{OpenChannel → dist/OpenChannel}/components/OpenChannelHeader.js.map +0 -0
- /package/{OpenChannel → dist/OpenChannel}/components/OpenChannelMessage.js.map +0 -0
- /package/{OpenChannel → dist/OpenChannel}/components/OpenChannelMessageList.js.map +0 -0
- /package/{OpenChannel → dist/OpenChannel}/components/OpenChannelUI.js.map +0 -0
- /package/{OpenChannel → dist/OpenChannel}/context.js.map +0 -0
- /package/{OpenChannel.js.map → dist/OpenChannel.js.map} +0 -0
- /package/{OpenChannelList → dist/OpenChannelList}/components/OpenChannelListUI.js.map +0 -0
- /package/{OpenChannelList → dist/OpenChannelList}/components/OpenChannelPreview.js.map +0 -0
- /package/{OpenChannelList → dist/OpenChannelList}/context.js.map +0 -0
- /package/{OpenChannelList.js.map → dist/OpenChannelList.js.map} +0 -0
- /package/{OpenChannelSettings → dist/OpenChannelSettings}/components/EditDetailsModal.js.map +0 -0
- /package/{OpenChannelSettings → dist/OpenChannelSettings}/components/OpenChannelProfile.js.map +0 -0
- /package/{OpenChannelSettings → dist/OpenChannelSettings}/components/OpenChannelSettingsUI.js.map +0 -0
- /package/{OpenChannelSettings → dist/OpenChannelSettings}/components/OperatorUI.js.map +0 -0
- /package/{OpenChannelSettings → dist/OpenChannelSettings}/components/ParticipantUI.js.map +0 -0
- /package/{OpenChannelSettings → dist/OpenChannelSettings}/context.js.map +0 -0
- /package/{OpenChannelSettings.js.map → dist/OpenChannelSettings.js.map} +0 -0
- /package/{Thread → dist/Thread}/components/ThreadHeader.js.map +0 -0
- /package/{Thread → dist/Thread}/context/types.js +0 -0
- /package/{Thread → dist/Thread}/context/types.js.map +0 -0
- /package/{cjs → dist/cjs}/Channel/components/FrozenNotification.js.map +0 -0
- /package/{cjs → dist/cjs}/Channel/components/UnreadCount.js.map +0 -0
- /package/{cjs → dist/cjs}/ChannelList/components/AddChannel.js.map +0 -0
- /package/{cjs → dist/cjs}/ChannelList/components/ChannelListHeader.js.map +0 -0
- /package/{cjs → dist/cjs}/ChannelList/components/ChannelPreviewAction.js.map +0 -0
- /package/{cjs → dist/cjs}/ChannelList/context.js.map +0 -0
- /package/{cjs → dist/cjs}/ChannelSettings/components/ChannelProfile.js.map +0 -0
- /package/{cjs → dist/cjs}/ChannelSettings/components/ChannelSettingsUI.js.map +0 -0
- /package/{cjs → dist/cjs}/ChannelSettings/components/EditDetailsModal.js.map +0 -0
- /package/{cjs → dist/cjs}/ChannelSettings/components/LeaveChannel.js.map +0 -0
- /package/{cjs → dist/cjs}/ChannelSettings/components/ModerationPanel.js.map +0 -0
- /package/{cjs → dist/cjs}/ChannelSettings/components/UserListItem.js.map +0 -0
- /package/{cjs → dist/cjs}/ChannelSettings/context.js.map +0 -0
- /package/{cjs → dist/cjs}/ChannelSettings.js.map +0 -0
- /package/{cjs → dist/cjs}/CreateChannel/components/CreateChannelUI.js.map +0 -0
- /package/{cjs → dist/cjs}/CreateChannel/components/InviteUsers.js.map +0 -0
- /package/{cjs → dist/cjs}/CreateChannel/components/SelectChannelType.js.map +0 -0
- /package/{Thread → dist/cjs/CreateChannel}/context.js.map +0 -0
- /package/{cjs → dist/cjs}/CreateChannel.js.map +0 -0
- /package/{cjs → dist/cjs}/CreateOpenChannel/components/CreateOpenChannelUI.js.map +0 -0
- /package/{cjs → dist/cjs}/CreateOpenChannel/context.js.map +0 -0
- /package/{cjs → dist/cjs}/CreateOpenChannel.js.map +0 -0
- /package/{cjs → dist/cjs}/EditUserProfile/components/EditUserProfileUI.js.map +0 -0
- /package/{cjs → dist/cjs}/EditUserProfile/context.js +0 -0
- /package/{cjs → dist/cjs}/EditUserProfile/context.js.map +0 -0
- /package/{cjs → dist/cjs}/EditUserProfile.js.map +0 -0
- /package/{cjs → dist/cjs}/MessageSearch/context.js.map +0 -0
- /package/{cjs → dist/cjs}/OpenChannel/components/FrozenChannelNotification.js.map +0 -0
- /package/{cjs → dist/cjs}/OpenChannel/components/OpenChannelHeader.js.map +0 -0
- /package/{cjs → dist/cjs}/OpenChannel/components/OpenChannelMessage.js.map +0 -0
- /package/{cjs → dist/cjs}/OpenChannel/components/OpenChannelMessageList.js.map +0 -0
- /package/{cjs → dist/cjs}/OpenChannel/components/OpenChannelUI.js.map +0 -0
- /package/{cjs → dist/cjs}/OpenChannel/context.js.map +0 -0
- /package/{cjs → dist/cjs}/OpenChannel.js.map +0 -0
- /package/{cjs → dist/cjs}/OpenChannelList/components/OpenChannelListUI.js.map +0 -0
- /package/{cjs → dist/cjs}/OpenChannelList/components/OpenChannelPreview.js.map +0 -0
- /package/{cjs/CreateChannel → dist/cjs/OpenChannelList}/context.js.map +0 -0
- /package/{cjs → dist/cjs}/OpenChannelList.js.map +0 -0
- /package/{cjs → dist/cjs}/OpenChannelSettings/components/EditDetailsModal.js.map +0 -0
- /package/{cjs → dist/cjs}/OpenChannelSettings/components/OpenChannelProfile.js.map +0 -0
- /package/{cjs → dist/cjs}/OpenChannelSettings/components/OpenChannelSettingsUI.js.map +0 -0
- /package/{cjs → dist/cjs}/OpenChannelSettings/components/OperatorUI.js.map +0 -0
- /package/{cjs → dist/cjs}/OpenChannelSettings/components/ParticipantUI.js.map +0 -0
- /package/{cjs → dist/cjs}/OpenChannelSettings/context.js.map +0 -0
- /package/{cjs → dist/cjs}/OpenChannelSettings.js.map +0 -0
- /package/{cjs → dist/cjs}/Thread/components/ThreadHeader.js.map +0 -0
- /package/{cjs → dist/cjs}/Thread/context/types.js +0 -0
- /package/{cjs → dist/cjs}/Thread/context/types.js.map +0 -0
- /package/{cjs → dist/cjs}/handlers/ConnectionHandler.js +0 -0
- /package/{cjs → dist/cjs}/handlers/ConnectionHandler.js.map +0 -0
- /package/{cjs → dist/cjs}/handlers/GroupChannelHandler.js +0 -0
- /package/{cjs → dist/cjs}/handlers/GroupChannelHandler.js.map +0 -0
- /package/{cjs → dist/cjs}/handlers/OpenChannelHandler.js +0 -0
- /package/{cjs → dist/cjs}/handlers/OpenChannelHandler.js.map +0 -0
- /package/{cjs → dist/cjs}/handlers/SessionHandler.js +0 -0
- /package/{cjs → dist/cjs}/handlers/SessionHandler.js.map +0 -0
- /package/{cjs → dist/cjs}/handlers/UserEventHandler.js +0 -0
- /package/{cjs → dist/cjs}/handlers/UserEventHandler.js.map +0 -0
- /package/{cjs → dist/cjs}/sendbirdSelectors.js.map +0 -0
- /package/{cjs → dist/cjs}/ui/Accordion.js.map +0 -0
- /package/{cjs → dist/cjs}/ui/AccordionGroup.js.map +0 -0
- /package/{cjs → dist/cjs}/ui/AdminMessage.js.map +0 -0
- /package/{cjs → dist/cjs}/ui/Avatar.js.map +0 -0
- /package/{cjs → dist/cjs}/ui/Badge.js.map +0 -0
- /package/{cjs → dist/cjs}/ui/BottomSheet.js.map +0 -0
- /package/{cjs → dist/cjs}/ui/Button.js.map +0 -0
- /package/{cjs → dist/cjs}/ui/ChannelAvatar.js.map +0 -0
- /package/{cjs → dist/cjs}/ui/Checkbox.js +0 -0
- /package/{cjs → dist/cjs}/ui/Checkbox.js.map +0 -0
- /package/{cjs → dist/cjs}/ui/ConnectionStatus.js.map +0 -0
- /package/{cjs → dist/cjs}/ui/ContextMenu.js.map +0 -0
- /package/{cjs → dist/cjs}/ui/DateSeparator.js.map +0 -0
- /package/{cjs → dist/cjs}/ui/EmojiReactions.js.map +0 -0
- /package/{cjs → dist/cjs}/ui/FileMessageItemBody.js.map +0 -0
- /package/{cjs → dist/cjs}/ui/FileViewer.js.map +0 -0
- /package/{cjs → dist/cjs}/ui/IconButton.js.map +0 -0
- /package/{cjs → dist/cjs}/ui/ImageRenderer.js.map +0 -0
- /package/{cjs → dist/cjs}/ui/Input.js.map +0 -0
- /package/{cjs → dist/cjs}/ui/Label.js.map +0 -0
- /package/{cjs → dist/cjs}/ui/LinkLabel.js.map +0 -0
- /package/{cjs → dist/cjs}/ui/Loader.js.map +0 -0
- /package/{cjs → dist/cjs}/ui/MentionLabel.js.map +0 -0
- /package/{cjs → dist/cjs}/ui/MentionUserLabel.js +0 -0
- /package/{cjs → dist/cjs}/ui/MentionUserLabel.js.map +0 -0
- /package/{cjs → dist/cjs}/ui/MessageItemReactionMenu.js.map +0 -0
- /package/{cjs → dist/cjs}/ui/MessageSearchItem.js.map +0 -0
- /package/{cjs → dist/cjs}/ui/MessageStatus.js.map +0 -0
- /package/{cjs → dist/cjs}/ui/Modal.js.map +0 -0
- /package/{cjs → dist/cjs}/ui/MutedAvatarOverlay.js +0 -0
- /package/{cjs → dist/cjs}/ui/MutedAvatarOverlay.js.map +0 -0
- /package/{cjs → dist/cjs}/ui/OpenChannelAdminMessage.js.map +0 -0
- /package/{cjs → dist/cjs}/ui/OpenChannelAvatar.js.map +0 -0
- /package/{cjs → dist/cjs}/ui/OpenchannelConversationHeader.js.map +0 -0
- /package/{cjs → dist/cjs}/ui/OpenchannelFileMessage.js.map +0 -0
- /package/{cjs → dist/cjs}/ui/OpenchannelOGMessage.js.map +0 -0
- /package/{cjs → dist/cjs}/ui/OpenchannelThumbnailMessage.js.map +0 -0
- /package/{cjs → dist/cjs}/ui/OpenchannelUserMessage.js.map +0 -0
- /package/{cjs → dist/cjs}/ui/PlaceHolder.js.map +0 -0
- /package/{cjs → dist/cjs}/ui/ReactionBadge.js.map +0 -0
- /package/{cjs → dist/cjs}/ui/ReactionButton.js.map +0 -0
- /package/{cjs → dist/cjs}/ui/SortByRow.js.map +0 -0
- /package/{cjs → dist/cjs}/ui/TextButton.js.map +0 -0
- /package/{cjs → dist/cjs}/ui/TextMessageItemBody.js.map +0 -0
- /package/{cjs → dist/cjs}/ui/ThreadReplies.js.map +0 -0
- /package/{cjs → dist/cjs}/ui/ThumbnailMessageItemBody.js.map +0 -0
- /package/{cjs → dist/cjs}/ui/Tooltip.js.map +0 -0
- /package/{cjs → dist/cjs}/ui/TooltipWrapper.js.map +0 -0
- /package/{cjs → dist/cjs}/ui/UnknownMessageItemBody.js.map +0 -0
- /package/{cjs → dist/cjs}/ui/UserListItem.js.map +0 -0
- /package/{cjs → dist/cjs}/ui/UserProfile.js.map +0 -0
- /package/{cjs → dist/cjs}/ui/Word.js.map +0 -0
- /package/{cjs → dist/cjs}/useSendbirdStateContext.js.map +0 -0
- /package/{cjs → dist/cjs}/utils/message/getOutgoingMessageState.js +0 -0
- /package/{cjs → dist/cjs}/utils/message/getOutgoingMessageState.js.map +0 -0
- /package/{cjs → dist/cjs}/withSendbird.js.map +0 -0
- /package/{handlers → dist/handlers}/ConnectionHandler.js +0 -0
- /package/{handlers → dist/handlers}/ConnectionHandler.js.map +0 -0
- /package/{handlers → dist/handlers}/GroupChannelHandler.js +0 -0
- /package/{handlers → dist/handlers}/GroupChannelHandler.js.map +0 -0
- /package/{handlers → dist/handlers}/OpenChannelHandler.js +0 -0
- /package/{handlers → dist/handlers}/OpenChannelHandler.js.map +0 -0
- /package/{handlers → dist/handlers}/SessionHandler.js +0 -0
- /package/{handlers → dist/handlers}/SessionHandler.js.map +0 -0
- /package/{handlers → dist/handlers}/UserEventHandler.js +0 -0
- /package/{handlers → dist/handlers}/UserEventHandler.js.map +0 -0
- /package/{sendbirdSelectors.js.map → dist/sendbirdSelectors.js.map} +0 -0
- /package/{ui → dist/ui}/Accordion.js.map +0 -0
- /package/{ui → dist/ui}/AccordionGroup.js.map +0 -0
- /package/{ui → dist/ui}/AdminMessage.js.map +0 -0
- /package/{ui → dist/ui}/Avatar.js.map +0 -0
- /package/{ui → dist/ui}/Badge.js.map +0 -0
- /package/{ui → dist/ui}/BottomSheet.js.map +0 -0
- /package/{ui → dist/ui}/Button.js.map +0 -0
- /package/{ui → dist/ui}/ChannelAvatar.js.map +0 -0
- /package/{ui → dist/ui}/Checkbox.js +0 -0
- /package/{ui → dist/ui}/Checkbox.js.map +0 -0
- /package/{ui → dist/ui}/ConnectionStatus.js.map +0 -0
- /package/{ui → dist/ui}/ContextMenu.js.map +0 -0
- /package/{ui → dist/ui}/DateSeparator.js.map +0 -0
- /package/{ui → dist/ui}/EmojiReactions.js.map +0 -0
- /package/{ui → dist/ui}/FileMessageItemBody.js.map +0 -0
- /package/{ui → dist/ui}/FileViewer.js.map +0 -0
- /package/{ui → dist/ui}/IconButton.js.map +0 -0
- /package/{ui → dist/ui}/ImageRenderer.js.map +0 -0
- /package/{ui → dist/ui}/Input.js.map +0 -0
- /package/{ui → dist/ui}/Label.js.map +0 -0
- /package/{ui → dist/ui}/LinkLabel.js.map +0 -0
- /package/{ui → dist/ui}/Loader.js.map +0 -0
- /package/{ui → dist/ui}/MentionLabel.js.map +0 -0
- /package/{ui → dist/ui}/MentionUserLabel.js +0 -0
- /package/{ui → dist/ui}/MentionUserLabel.js.map +0 -0
- /package/{ui → dist/ui}/MessageItemReactionMenu.js.map +0 -0
- /package/{ui → dist/ui}/MessageSearchItem.js.map +0 -0
- /package/{ui → dist/ui}/MessageStatus.js.map +0 -0
- /package/{ui → dist/ui}/Modal.js.map +0 -0
- /package/{ui → dist/ui}/MutedAvatarOverlay.js +0 -0
- /package/{ui → dist/ui}/MutedAvatarOverlay.js.map +0 -0
- /package/{ui → dist/ui}/OpenChannelAdminMessage.js.map +0 -0
- /package/{ui → dist/ui}/OpenChannelAvatar.js.map +0 -0
- /package/{ui → dist/ui}/OpenchannelConversationHeader.js.map +0 -0
- /package/{ui → dist/ui}/OpenchannelFileMessage.js.map +0 -0
- /package/{ui → dist/ui}/OpenchannelOGMessage.js.map +0 -0
- /package/{ui → dist/ui}/OpenchannelThumbnailMessage.js.map +0 -0
- /package/{ui → dist/ui}/OpenchannelUserMessage.js.map +0 -0
- /package/{ui → dist/ui}/PlaceHolder.js.map +0 -0
- /package/{ui → dist/ui}/ReactionBadge.js.map +0 -0
- /package/{ui → dist/ui}/ReactionButton.js.map +0 -0
- /package/{ui → dist/ui}/SortByRow.js.map +0 -0
- /package/{ui → dist/ui}/TextButton.js.map +0 -0
- /package/{ui → dist/ui}/TextMessageItemBody.js.map +0 -0
- /package/{ui → dist/ui}/ThreadReplies.js.map +0 -0
- /package/{ui → dist/ui}/ThumbnailMessageItemBody.js.map +0 -0
- /package/{ui → dist/ui}/Tooltip.js.map +0 -0
- /package/{ui → dist/ui}/TooltipWrapper.js.map +0 -0
- /package/{ui → dist/ui}/UnknownMessageItemBody.js.map +0 -0
- /package/{ui → dist/ui}/UserListItem.js.map +0 -0
- /package/{ui → dist/ui}/UserProfile.js.map +0 -0
- /package/{ui → dist/ui}/Word.js.map +0 -0
- /package/{useSendbirdStateContext.js.map → dist/useSendbirdStateContext.js.map} +0 -0
- /package/{utils → dist/utils}/message/getOutgoingMessageState.js +0 -0
- /package/{utils → dist/utils}/message/getOutgoingMessageState.js.map +0 -0
- /package/{withSendbird.js.map → dist/withSendbird.js.map} +0 -0
|
@@ -0,0 +1,782 @@
|
|
|
1
|
+
# Changelog - v3
|
|
2
|
+
|
|
3
|
+
## [v3.4.0] (Mar 3 2023)
|
|
4
|
+
|
|
5
|
+
### Voice Message
|
|
6
|
+
Voice message is a new type of message and feature that you can use in group channel. You can record your voice on the message input and send it to the channel. Also the messages will be displayed as a new design of the voice message. You are able to use this feature from this version.
|
|
7
|
+
|
|
8
|
+
#### How to turn on/off
|
|
9
|
+
* You can turn this feature on/off using the props `isVoiceMessageEnabled` on the <App /> and <SendbirdProvider /> components. Here is an example.
|
|
10
|
+
```javascript
|
|
11
|
+
import App from '@sendbird/uikit-react/App'
|
|
12
|
+
import SendbirdProvider from '@sendbird/uikit-react/SendbirdProvider'
|
|
13
|
+
import { useEffect } from 'react'
|
|
14
|
+
|
|
15
|
+
const QuickStart = () => (<App isVoiceMessageEnabled />)
|
|
16
|
+
const CustomApp = () => {
|
|
17
|
+
const [useVoiceMessage, setUseVoiceMessage] = useEffect(true)
|
|
18
|
+
return (
|
|
19
|
+
<SendbirdProvider
|
|
20
|
+
isVoiceMessageEnabled={useVoiceMessage}
|
|
21
|
+
>
|
|
22
|
+
{/* Implement your custom app here */}
|
|
23
|
+
</SendbirdProvider>
|
|
24
|
+
)
|
|
25
|
+
}
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
#### How to customize the voice message in Channel and Thread?
|
|
29
|
+
You can identify the voice message to check if `message.type` includes `sbu_type=voice`. But you can use `isVoiceMessage` util function to do that.
|
|
30
|
+
```javascript
|
|
31
|
+
import Channel from '@sendbird/uikit-react/Channel'
|
|
32
|
+
import isVoiceMessage from '@sendbird/uikit-react/utils/message/isVoiceMessage'
|
|
33
|
+
|
|
34
|
+
const CustomChannel = () => {
|
|
35
|
+
return (
|
|
36
|
+
<Channel
|
|
37
|
+
renderMessage={({ message }) => {
|
|
38
|
+
if (isVoiceMessage(message)) {
|
|
39
|
+
// Return your custom voice message item component
|
|
40
|
+
}
|
|
41
|
+
return null
|
|
42
|
+
}}
|
|
43
|
+
/>
|
|
44
|
+
)
|
|
45
|
+
}
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
#### Limitation & Next step
|
|
49
|
+
* For now, it's not able to customize the inner components of VoiceMessageInput. We are going to provide an interface to customize it in the future. Until that time, you can replace the VoiceMessageInput component using the `renderVoiceMessageIcon` props of MessageInput component.
|
|
50
|
+
|
|
51
|
+
#### What has been changed?
|
|
52
|
+
* Add props `isVoiceMessageEnabled` and `voiceRecord` props to the App, `SendbirdProvider`, and `MessageInput` components, to turn on/off the voice message recording feature
|
|
53
|
+
```javascript
|
|
54
|
+
import SendbirdProvider from '@sendbird/uikit-react/SendbirdProvider'
|
|
55
|
+
const CustomApp = () => {
|
|
56
|
+
return (
|
|
57
|
+
<SendbirdProvider
|
|
58
|
+
isVoiceMessageEnabled
|
|
59
|
+
voiceRecord={{
|
|
60
|
+
maxRecordingTime: 60000,
|
|
61
|
+
minRecordingTime: 1000,
|
|
62
|
+
}}
|
|
63
|
+
>
|
|
64
|
+
{/* implement custom application */}
|
|
65
|
+
</SendbirdProvider>
|
|
66
|
+
)
|
|
67
|
+
}
|
|
68
|
+
```
|
|
69
|
+
* Add props `onVoiceMessageIconClick` to the `MessageInput` component
|
|
70
|
+
* Add props `onBeforeSendVoiceMessage` to the `Channel` component
|
|
71
|
+
* Fetch message list including `MetaArray` in the `Channel` and `Thread` modules
|
|
72
|
+
* Provide new IconType `AudioOnLined` & new IconColor `Primary2` and `OnBackground4`
|
|
73
|
+
* Provide new string sets
|
|
74
|
+
```javascript
|
|
75
|
+
import SendbirdProvider from '@sendbird/uikit-react/SendbirdProvider'
|
|
76
|
+
const CustomApp = () => {
|
|
77
|
+
return (
|
|
78
|
+
<SendbirdProvider
|
|
79
|
+
stringSet={{
|
|
80
|
+
BUTTON__OK: 'OK',
|
|
81
|
+
VOICE_MESSAGE: 'Voice Message',
|
|
82
|
+
MODAL__VOICE_MESSAGE_INPUT_DISABLED__TITLE_MUTED: 'You\'re muted by the operator.',
|
|
83
|
+
MODAL__VOICE_MESSAGE_INPUT_DISABLED__TITLE_FROZEN: 'Channel is frozen.',
|
|
84
|
+
}}
|
|
85
|
+
>
|
|
86
|
+
{/* implement custom application */}
|
|
87
|
+
</SendbirdProvider>
|
|
88
|
+
)
|
|
89
|
+
}
|
|
90
|
+
```
|
|
91
|
+
* `BUTTON__OK`: 'OK' → Used on the submit button of pop up modal
|
|
92
|
+
* `MODAL__VOICE_MESSAGE_INPUT_DISABLED__TITLE_MUTED`: 'You\'re muted by the operator.' → Used in an alert pop-up modal
|
|
93
|
+
* `MODAL__VOICE_MESSAGE_INPUT_DISABLED__TITLE_FROZEN`: 'Channel is frozen.' → Used in an alert pop-up modal
|
|
94
|
+
* `VOICE_MESSAGE`: 'Voice Message' → Used in ChannelPreviewItem, QuoteMessage, and MessageSearch to appear that the message type is the voice## External Contributions
|
|
95
|
+
|
|
96
|
+
#### What has been added?
|
|
97
|
+
* Install `lamejs` to convert the audio file to mp3 (iOS support)
|
|
98
|
+
* UI components
|
|
99
|
+
```javascript
|
|
100
|
+
import PlaybackTime from "@sendbird/uikit-react/ui/PlaybackTime"
|
|
101
|
+
import ProgressBar from "@sendbird/uikit-react/ui/ProgressBar"
|
|
102
|
+
import VoiceMessageInput from "@sendbird/uikit-react/ui/VoiceMessageInput"
|
|
103
|
+
import VoiceMessageItemBody from "@sendbird/uikit-react/ui/VoiceMessageItemBody"
|
|
104
|
+
```
|
|
105
|
+
* PlaybackTime: Display the current time in 00:00 format with the received millisecond value
|
|
106
|
+
* ProgressBar: Display the current progress status with the received maxSize and currentSize of millisecond unit value
|
|
107
|
+
* VoiceMessageInput: UI component for recording and playing a voice message
|
|
108
|
+
* VoiceMessageItemBody: UI component for rendering a voice message also able to play voice message
|
|
109
|
+
* VoiceRecorder
|
|
110
|
+
```javascript
|
|
111
|
+
import { VoiceRecorderProvider, useVoiceRecorderContext } from '@sendbird/uikit-react/VoiceRecorder/context'
|
|
112
|
+
import useVoiceRecorder from '@sendbird/uikit-react/VoiceRecorder/useVoiceRecorder'
|
|
113
|
+
```
|
|
114
|
+
* VoiceRecorderProvider: A react context provider component providing `start`, and `stop` functions
|
|
115
|
+
* useVoiceRecorderContext: A react useContext hook of VoiceRecorderProvider
|
|
116
|
+
* useVoiceRecorder: A react hook that provides advanced context, `recordingLimit`, `recordingTime`, `recordingFile`, and `recordingStatus`. Recommend using this hook in the customized components.
|
|
117
|
+
* VoicePlayer
|
|
118
|
+
```javascript
|
|
119
|
+
import { VoicePlayerProvider, useVoicePlayerContext } from '@sendbird/uikit-react/VoicePlayer/context'
|
|
120
|
+
import useVoicePlayer from '@sendbird/uikit-react/VoicePlayer/useVoicePlayer'
|
|
121
|
+
```
|
|
122
|
+
* VoicePlayerProvider: A react context provider component providing `play`, and `pause` functions
|
|
123
|
+
* useVoicePlayerContext: A react useContext hook of VoicePlayerProvider
|
|
124
|
+
* useVoicePlayer: A react hook that provides advanced context, `playbackTime`, `duration`, and `playingStatus`. Recommend using this hook in the customized components.
|
|
125
|
+
* utils/isVoiceMessage: A function that you can check if the given message is a voice message
|
|
126
|
+
```javascript
|
|
127
|
+
import isVoiceMessage from '@sendbird/uikit-react/utils/message/isVoiceMessage'
|
|
128
|
+
const isVoiceMsg: boolean = isVoiceMessage(message);
|
|
129
|
+
```
|
|
130
|
+
|
|
131
|
+
Features:
|
|
132
|
+
* Add props `renderFileUploadIcon`, `renderVoiceMessageIcon`, and `renderSendMessageIcon` into the `Channel`, `ChannelUI`, and `MessageInput` component
|
|
133
|
+
```javascript
|
|
134
|
+
interface MessageInputProps {
|
|
135
|
+
renderFileUploadIcon?: () => React.ReactElement;
|
|
136
|
+
renderVoiceMessageIcon?: () => React.ReactElement;
|
|
137
|
+
renderSendMessageIcon?: () => React.ReactElement;
|
|
138
|
+
}
|
|
139
|
+
```
|
|
140
|
+
|
|
141
|
+
Fixes:
|
|
142
|
+
* Use ApplicationUserListQuery on ChannelSettings component
|
|
143
|
+
* Fix some visual issues on the normal User Panel of ChannelSettings
|
|
144
|
+
* Indentify faulty images in OG message
|
|
145
|
+
* Add classname: sendbird-og-message-item-body__og-thumbnail__empty to identify faulty images in OG message
|
|
146
|
+
Clients can use CSS to target this class~
|
|
147
|
+
```css
|
|
148
|
+
.sendbird-og-message-item-body__og-thumbnail__empty {
|
|
149
|
+
display: none;
|
|
150
|
+
}
|
|
151
|
+
```
|
|
152
|
+
|
|
153
|
+
## [v3.3.7] (Feb 24 2023)
|
|
154
|
+
|
|
155
|
+
Features:
|
|
156
|
+
* Add props `activeChannelUrl` to ChannelList to give an option to pragmatically set a channel from a parent component router
|
|
157
|
+
```javascript
|
|
158
|
+
const MyChannelList = () => {
|
|
159
|
+
const [myActiveChannel] = useState()
|
|
160
|
+
return (<ChannelList activeChannelUrl={myActiveChannel.url} />)
|
|
161
|
+
}
|
|
162
|
+
```
|
|
163
|
+
|
|
164
|
+
Fixes:
|
|
165
|
+
* Fix not showing newly recived messages in channel which has less messages
|
|
166
|
+
* Use a real `channel.invitedAt` value when trying to fetch MessageSearchQuery
|
|
167
|
+
* Disable the checkbox of the joined users on the InviteUsersModal
|
|
168
|
+
* Set the default value of CheckBox component: `@sendbird/uikit-react/ui/CheckBox` as false
|
|
169
|
+
|
|
170
|
+
## [v3.3.6] (Feb 13 2023)
|
|
171
|
+
|
|
172
|
+
Fixes:
|
|
173
|
+
* pubsub should be initialized with useState
|
|
174
|
+
* update onBeforeCreateChannel example to use chat V4
|
|
175
|
+
|
|
176
|
+
## [v3.5.0-beta.0] (Feb 6 2023)
|
|
177
|
+
|
|
178
|
+
### Notification Channel
|
|
179
|
+
|
|
180
|
+
A notification channel is a new group channel dedicated to receiving one way marketing and transactional messages. To allow users to view messages sent through Sendbird Message Builder with the correct rendering, you need to implement the notification channel view using <NotificationChannel>
|
|
181
|
+
|
|
182
|
+
Overview:
|
|
183
|
+
* Provide new module `NotificationChannel`
|
|
184
|
+
* NotificationChannel
|
|
185
|
+
`import NotificationChannel from '@sendbird/uikit-react/NotificationChannel'`
|
|
186
|
+
props:
|
|
187
|
+
* channelUrl: string;
|
|
188
|
+
* children?: React.ReactElement;
|
|
189
|
+
// To customize Query
|
|
190
|
+
* messageListParams?: MessageListParams;
|
|
191
|
+
// Sets last seen externally
|
|
192
|
+
* lastSeen?: number;
|
|
193
|
+
// handles Actions sepcified in Message Templates
|
|
194
|
+
* handleWebAction?(event: React.SyntheticEvent, action: Action, message: BaseMessage): null;
|
|
195
|
+
* handleCustomAction?(event: React.SyntheticEvent, action: Action, message: BaseMessage): null;
|
|
196
|
+
* handlePredefinedAction?(event: React.SyntheticEvent, action: Action, message: BaseMessage): null;
|
|
197
|
+
// UI overrides
|
|
198
|
+
* isLoading?: boolean;
|
|
199
|
+
* renderPlaceholderLoader?: () => React.ReactElement;
|
|
200
|
+
* renderPlaceholderInvalid?: () => React.ReactElement;
|
|
201
|
+
* renderPlaceholderEmpty?: () => React.ReactElement;
|
|
202
|
+
* renderHeader?: () => React.ReactElement;
|
|
203
|
+
* renderMessageHeader?: ({ message }) => React.ReactElement;
|
|
204
|
+
* renderMessage?: ({ message }) => React.ReactElement;
|
|
205
|
+
|
|
206
|
+
```
|
|
207
|
+
example:
|
|
208
|
+
export const NotificationChannelComponenet = () => (
|
|
209
|
+
<Sendbird
|
|
210
|
+
appId={appId}
|
|
211
|
+
userId={userId}
|
|
212
|
+
accessToken={accessToken}
|
|
213
|
+
>
|
|
214
|
+
<div style={{ height: '960px', width: '360px' }}>
|
|
215
|
+
<NotificationChannel
|
|
216
|
+
channelUrl={`SENDBIRD_NOTIFICATION_CHANNEL_NOTIFICATION_${userId}`}
|
|
217
|
+
renderPlaceholderLoader={() => <MyBrandLogo />};
|
|
218
|
+
handleCustomAction={(event, action, message) => {
|
|
219
|
+
... implement custom action
|
|
220
|
+
}}
|
|
221
|
+
/>
|
|
222
|
+
</div>
|
|
223
|
+
</Sendbird>
|
|
224
|
+
);
|
|
225
|
+
```
|
|
226
|
+
* Submodules:
|
|
227
|
+
* Context
|
|
228
|
+
`import { NotficationChannelProvider useNotficationChannelContext } from '@sendbird/uikit-react/NotificationChannel/context'`
|
|
229
|
+
Handles business logic of Notification Channel
|
|
230
|
+
* NotificationChannelUI
|
|
231
|
+
`import NotificationChannelUI from '@sendbird/uikit-react/NotificationChannel/components/NotificationChannelUI'`
|
|
232
|
+
UI wrapper of Notification Channel
|
|
233
|
+
* NotificationMessageWrap
|
|
234
|
+
`import NotificationMessageWrap from '@sendbird/uikit-react/NotificationChannel/components/NotificationMessageWrap'`
|
|
235
|
+
* NotificationList
|
|
236
|
+
`import NotificationList from '@sendbird/uikit-react/NotificationChannel/components/NotificationList'`
|
|
237
|
+
* External modules:
|
|
238
|
+
Unlike some of our other releases we decide to release some components into seperate packages to enahnce reusability with other platforms/projects
|
|
239
|
+
* MessageTemplateParser('@sendbird/react-message-template')
|
|
240
|
+
* MessageTemplate
|
|
241
|
+
`import { createMessageTemplate } from '@sendbird/react-message-template'`
|
|
242
|
+
* Parser
|
|
243
|
+
`import { createParser } from '@sendbird/react-message-template'`
|
|
244
|
+
* Renderer
|
|
245
|
+
`import { createRenderer } from '@sendbird/react-message-template'`
|
|
246
|
+
* MessageTemplateParser('@sendbird/react-message-template')
|
|
247
|
+
* Context
|
|
248
|
+
`import { MessageProvider, useMessageContext } from '@sendbird/react-uikit-message-template-view';`
|
|
249
|
+
* MessageTemplateView
|
|
250
|
+
`import { MessageTemplateView } from '@sendbird/react-uikit-message-template-view';`
|
|
251
|
+
|
|
252
|
+
## [v3.3.5] (Feb 3 2023)
|
|
253
|
+
Features:
|
|
254
|
+
* Voice Recorder&Player logic(not public yet)
|
|
255
|
+
* Add a voice record logic: VoiceRecorderProvider, useVoiceRecorderContext, useVoiceRecorder
|
|
256
|
+
* Add an audio play logic: VoicePlayerProvider, useVoicePlayerContext, useVoicePlayer
|
|
257
|
+
* Create an integrated sample for the group channel
|
|
258
|
+
|
|
259
|
+
Fix:
|
|
260
|
+
* Migrate the outdated ChannelListQuery interface
|
|
261
|
+
* Issue: A customer said the `userIdsFilter` of ChannelListQuery doesn't work when receiving messages
|
|
262
|
+
There's been an internal channel filtering logic with custom channelListQuery, but it's broken because we've used the outdated interface of Chat SDK.
|
|
263
|
+
* Fix: We migrated the outdated interface `_searchFilter` and `_userIdsFilter` to new things `searchFilter` and `userIdsFilter
|
|
264
|
+
* Use the same word-splitting logic on the TextMessage and OGMessage
|
|
265
|
+
* TextMessage will also allow opening the URL links
|
|
266
|
+
* Use the same word wrapping style on the TextMessage and OGMessage
|
|
267
|
+
* Apply string set into the moderation section
|
|
268
|
+
* Add string set
|
|
269
|
+
* CHANNEL_SETTING__OPERATORS__ADD_BUTTON: 'Add'
|
|
270
|
+
* CHANNEL_SETTING__MODERATION__EMPTY_BAN: 'No banned members yet'
|
|
271
|
+
* CHANNEL_SETTING__MODERATION__ALL_BAN: 'All banned members'
|
|
272
|
+
* Edit should not be allowed when input is empty
|
|
273
|
+
* New channel interrupts the current conversation
|
|
274
|
+
* Do not set the current channel when getting an invitation
|
|
275
|
+
* Add test for USER_INVITED in the reducer of ChannelList
|
|
276
|
+
|
|
277
|
+
## [v3.3.4] (Jan 6 2023)
|
|
278
|
+
Fix:
|
|
279
|
+
* Add the time stamp rendering case for before this year on the ChannelList
|
|
280
|
+
* Improve the message input security
|
|
281
|
+
* Possibility of XSS has been discovered
|
|
282
|
+
* Recommend to do a version up, if you are using UIKit version 3.0.0 or higher
|
|
283
|
+
|
|
284
|
+
## [v3.3.3] (Dec 22 2022)
|
|
285
|
+
Fix:
|
|
286
|
+
* Change default value of the image compression rate to 70%(0.7)
|
|
287
|
+
|
|
288
|
+
## [v3.3.2] (Dec 8 2022)
|
|
289
|
+
Features:
|
|
290
|
+
* Add props `renderTitle` to the <ChannelListHeader /> component
|
|
291
|
+
* `renderHeader` of <ChannelListHeader /> will be deprecated
|
|
292
|
+
* Add interface overrideInviteUser
|
|
293
|
+
|
|
294
|
+
Add overrideInviteUser to ChannelList, CreateChannel and ChannelSettings
|
|
295
|
+
|
|
296
|
+
This interface overrides InviteMember functionality. Customer has to create the channel
|
|
297
|
+
and close the popup manually
|
|
298
|
+
|
|
299
|
+
```javascript
|
|
300
|
+
export type OverrideInviteUserType = {
|
|
301
|
+
users: Array<string>;
|
|
302
|
+
onClose: () => void;
|
|
303
|
+
channelType: 'group' | 'supergroup' | 'broadcast';
|
|
304
|
+
};
|
|
305
|
+
export interface ChannelListProps {
|
|
306
|
+
overrideInviteUser?(params: OverrideInviteUserType): void;
|
|
307
|
+
}
|
|
308
|
+
export interface CreateChannelProps {
|
|
309
|
+
overrideInviteUser?(params: OverrideInviteUserType): void;
|
|
310
|
+
}
|
|
311
|
+
export type OverrideInviteMemberType = {
|
|
312
|
+
users: Array<string>;
|
|
313
|
+
onClose: () => void;
|
|
314
|
+
channel: GroupChannel;
|
|
315
|
+
};
|
|
316
|
+
ChannelSettings.overrideInviteUser?(params: OverrideInviteMemberType): void;
|
|
317
|
+
```
|
|
318
|
+
|
|
319
|
+
example:
|
|
320
|
+
```javascript
|
|
321
|
+
<ChannelList
|
|
322
|
+
overrideInviteUser={({users, onClose, channelType}) => {
|
|
323
|
+
createMyChannel(users, channelType).then(() => {
|
|
324
|
+
onClose();
|
|
325
|
+
})
|
|
326
|
+
}}
|
|
327
|
+
/>
|
|
328
|
+
```
|
|
329
|
+
|
|
330
|
+
Fixes:
|
|
331
|
+
* Allow to override entire message search query.
|
|
332
|
+
Now message search query supports searching messages in multiple channels.
|
|
333
|
+
* Modify type definitions for props `ThreadUIProps.renderMessage`.
|
|
334
|
+
* Remove duplication of create channel button when using `renderHeader` of <ChannelList />.
|
|
335
|
+
* The online status should work even configureSession is provided.
|
|
336
|
+
This was disabled because of a bug in sessionHandler in SDK now, we can re-enable this.
|
|
337
|
+
* Create channel sometimes had empty operatorID.
|
|
338
|
+
Use sendbird state to access currentUserID and use it incase prop value is empty.
|
|
339
|
+
Also, remove legacy HOC pattern.
|
|
340
|
+
* Add the props type `isMentionEnabled` of <App />.
|
|
341
|
+
* Change the props type `messageSearchQuery` of <MessageSearch /> to **MessageSearchQueryParams**.
|
|
342
|
+
|
|
343
|
+
## [v3.3.1] (Nov 23 2022)
|
|
344
|
+
Fixes:
|
|
345
|
+
* Rename properties of `useThreadContext`
|
|
346
|
+
* `channelStatus` to `channelState`
|
|
347
|
+
* `parentMessageInfoStatus` to `parentMessageState`
|
|
348
|
+
* `threadListStatus` to `threadListState`
|
|
349
|
+
* Change the state types to enum
|
|
350
|
+
```typescript
|
|
351
|
+
enum ChannelStateTypes {
|
|
352
|
+
NIL = 'NIL',
|
|
353
|
+
LOADING = 'LOADING',
|
|
354
|
+
INVALID = 'INVALID',
|
|
355
|
+
INITIALIZED = 'INITIALIZED',
|
|
356
|
+
}
|
|
357
|
+
enum ParentMessageStateTypes {
|
|
358
|
+
NIL = 'NIL',
|
|
359
|
+
LOADING = 'LOADING',
|
|
360
|
+
INVALID = 'INVALID',
|
|
361
|
+
INITIALIZED = 'INITIALIZED',
|
|
362
|
+
}
|
|
363
|
+
enum ThreadListStateTypes {
|
|
364
|
+
NIL = 'NIL',
|
|
365
|
+
LOADING = 'LOADING',
|
|
366
|
+
INVALID = 'INVALID',
|
|
367
|
+
INITIALIZED = 'INITIALIZED',
|
|
368
|
+
}
|
|
369
|
+
```
|
|
370
|
+
|
|
371
|
+
## [v3.3.0] (Nov 23 2022)
|
|
372
|
+
Features:
|
|
373
|
+
* Provide new module `Thread`. See the specific informations of this module on the [Docs page](https://sendbird.com/docs/uikit)
|
|
374
|
+
* You can use a combined component `Thread`. Import it with
|
|
375
|
+
```typescript
|
|
376
|
+
import Thread from "@sendbird/uikit-react/Thread"
|
|
377
|
+
```
|
|
378
|
+
* Also you can use `ThreadProvider` and `useThreadContext` for customization. Import it with
|
|
379
|
+
```typescript
|
|
380
|
+
import { ThreadProvider, useThreadContext } from "@sendbird/uikit-react/Thread/context"
|
|
381
|
+
```
|
|
382
|
+
* And the other UI components are provided under the Thread. `ThreadUI`, `ThreadHeader`, `ParentMessageInfo`, `ParentMessageInfoItem`, `ThreadList`, `ThreadListItem`, and `ThreadMessageInput` are it
|
|
383
|
+
* Add channel props
|
|
384
|
+
* `threadReplySelectType`: Type of the value should be
|
|
385
|
+
```typescript
|
|
386
|
+
enum ThreadReplySelectType { PARENT, THREAD }
|
|
387
|
+
```
|
|
388
|
+
You can see how to use it below
|
|
389
|
+
```typescript
|
|
390
|
+
import { ThreadReplySelectType } from "@sendbird/uikit-react/Channel/context";
|
|
391
|
+
|
|
392
|
+
<Channel
|
|
393
|
+
...
|
|
394
|
+
threadReplySelectType={ThreadReplySelectType.PARENT}
|
|
395
|
+
/>
|
|
396
|
+
```
|
|
397
|
+
* `animatedMessage`: Type of the value should be number(messageId)
|
|
398
|
+
* `onReplyInThread`: This function is called when user click the button "Reply in thread" on the message context menu
|
|
399
|
+
```typescript
|
|
400
|
+
type onReplyInThread = ({ message: UserMessage | FileMessage }) => void
|
|
401
|
+
```
|
|
402
|
+
* `onQuoteMessageClick`: This function is called when user click the quote message on the message of Channel
|
|
403
|
+
```typescript
|
|
404
|
+
type onQuoteMessageClick = ({ message: UserMessage | FileMessage }) => {}
|
|
405
|
+
```
|
|
406
|
+
* `onMessageAnimated`: This function is called after that message item is animated
|
|
407
|
+
```typescript
|
|
408
|
+
type onMessageAnimated = () => void
|
|
409
|
+
```
|
|
410
|
+
* `onMessageHighlighted`: This function is called after that message item is highlighted
|
|
411
|
+
```typescript
|
|
412
|
+
type onMessageHighlighted = () => void
|
|
413
|
+
```
|
|
414
|
+
* Add `ui/ThreadReplies` component
|
|
415
|
+
```typescript
|
|
416
|
+
interface ThreadRepliesProps {
|
|
417
|
+
className?: string;
|
|
418
|
+
threadInfo: ThreadInfo;
|
|
419
|
+
onClick?: (e: React.MouseEvent<HTMLElement> | React.KeyboardEvent<HTMLElement>) => void;
|
|
420
|
+
}
|
|
421
|
+
```
|
|
422
|
+
|
|
423
|
+
Fixes:
|
|
424
|
+
* Do not allow operator to unregister itself on the OperatorList of GroupChannel
|
|
425
|
+
* Create new group channel when user open 1:1 channel on the UserProfile
|
|
426
|
+
* Register the channel creator as an operator in 1:1 channel
|
|
427
|
+
|
|
428
|
+
## [v3.2.6] (Nov 14 2022)
|
|
429
|
+
Fix:
|
|
430
|
+
* Use ref instead of querySelector for DOM manipulation
|
|
431
|
+
Fixes the issue where input is not cleared when multiple channels are open at the same time
|
|
432
|
+
* Apply pre-line into the OpenChannelUserMessage
|
|
433
|
+
Fixes the issue where OpenChannel UserMessage doesnt have new line
|
|
434
|
+
|
|
435
|
+
## [v3.2.5] (Nov 7 2022)
|
|
436
|
+
Fix:
|
|
437
|
+
* Modify the type of parameters in the sendbirdSelectors
|
|
438
|
+
There has been unsyncronous between reality and types
|
|
439
|
+
This fix only affects to TypeScript
|
|
440
|
+
* getLeaveGroupChannel: `channel` to `channelUrl`
|
|
441
|
+
* getEnterOpenChannel: `channel` to `channelUrl`
|
|
442
|
+
* getExitOpenChannel: `channel` to `channelUrl`
|
|
443
|
+
|
|
444
|
+
## [v3.2.4] (Nov 1 2022)
|
|
445
|
+
Features:
|
|
446
|
+
* For Channel component, added separate prop isLoading?.boolean
|
|
447
|
+
Usage: `<Channel channelUrl {currentChannelUrl} isLoading={!currentChannelUrl} />`
|
|
448
|
+
* For flicker in ChannelList, no extra props
|
|
449
|
+
|
|
450
|
+
Fixes:
|
|
451
|
+
* React UIKit placeholder rendering issue
|
|
452
|
+
* Fix scroll issue in ChannelList where user cannot load more channels
|
|
453
|
+
* Modify TS interface getLeaveChannel to getLeaveGroupChannel in selectors
|
|
454
|
+
|
|
455
|
+
## [v3.2.3] (Oct 14 2022)
|
|
456
|
+
Feature:
|
|
457
|
+
* Add a prop `disableMarkAsRead` into the <Channel />
|
|
458
|
+
This prop disables calling markAsRead in the Channel component
|
|
459
|
+
|
|
460
|
+
## [v3.2.2] (Oct 13 2022)
|
|
461
|
+
|
|
462
|
+
Feature:
|
|
463
|
+
* Export a type `OutgoingMessageStates`
|
|
464
|
+
* Type: `enum OutgoingMessageStates { NONE, PENDING, SENT, FAILED, DELIVERED, READ }`
|
|
465
|
+
* Export a util function `getOutgoingMessageState`
|
|
466
|
+
* Importing path: "@sendbird/uikit-react/utils/message/getOutgoingMessageState"
|
|
467
|
+
* Interface: `function getOutgoingMessageState(channel, message): OutgoingMessageStates`
|
|
468
|
+
* Add a prop `disableMarkAsDelivered` into the <App /> and <SendbirdProvider />
|
|
469
|
+
Some of our customers do not use the markAsDelivery feature,
|
|
470
|
+
but we always have called the markAsDelivered on the ChannelList with every channel
|
|
471
|
+
It caused a rate-limit issue, so we add a new prop to disable the markAdDelivered call for that case
|
|
472
|
+
|
|
473
|
+
## [v3.2.1] (Oct 02 2022)
|
|
474
|
+
|
|
475
|
+
Fixes:
|
|
476
|
+
* Do not bundle chat SDK with uikit compiled code
|
|
477
|
+
|
|
478
|
+
Compiled UIKit code that is distributed through npm shouldn't
|
|
479
|
+
have Chat SDK minified code included in it
|
|
480
|
+
Chat SDK should be a dependency of UIKit
|
|
481
|
+
Advantages:
|
|
482
|
+
* Chat SDK bug fixes will be added for free
|
|
483
|
+
* Eliminate the need for handlers
|
|
484
|
+
What caused the issue:
|
|
485
|
+
If you are using rollup for bundling
|
|
486
|
+
in config.external you have to be specific
|
|
487
|
+
ie>
|
|
488
|
+
This works:
|
|
489
|
+
```
|
|
490
|
+
external: [
|
|
491
|
+
'@sendbird/chat',
|
|
492
|
+
'@sendbird/chat/groupChannel',
|
|
493
|
+
'@sendbird/chat/openChannel',
|
|
494
|
+
'@sendbird/chat/message',
|
|
495
|
+
]
|
|
496
|
+
```
|
|
497
|
+
This doesn't:
|
|
498
|
+
```
|
|
499
|
+
external: [ '@sendbird/chat', ]
|
|
500
|
+
```
|
|
501
|
+
|
|
502
|
+
* Only react and react-dom should be peerDependencies
|
|
503
|
+
|
|
504
|
+
For npm >= v7, npm autoinstall peerDependency packages
|
|
505
|
+
According to `https://docs.npmjs.com/cli/v8/configuring-npm/package-json#peerdependencies`
|
|
506
|
+
You want to express the compatibility of your package with a host tool
|
|
507
|
+
or library while not necessarily doing a require of this host Even though react is required,
|
|
508
|
+
its better to show that react is the host tool
|
|
509
|
+
|
|
510
|
+
## [v3.2.0] (Sep 27 2022)
|
|
511
|
+
|
|
512
|
+
Features:
|
|
513
|
+
* OpenChannelList component
|
|
514
|
+
* Create new smart components (modules)
|
|
515
|
+
* CreateOpenChannel
|
|
516
|
+
* OpenChannelList
|
|
517
|
+
* Add a renderHeader props into the ui/Modal component
|
|
518
|
+
* Add stringSet for OpenChannelLisit and CreateOpenChannel components
|
|
519
|
+
* OPEN_CHANNEL_LIST__TITLE: 'Channels',
|
|
520
|
+
* CREATE_OPEN_CHANNEL_LIST__TITLE: 'New channel profile',
|
|
521
|
+
* CREATE_OPEN_CHANNEL_LIST__SUBTITLE__IMG_SECTION: 'Channel image',
|
|
522
|
+
* CREATE_OPEN_CHANNEL_LIST__SUBTITLE__IMG_UPLOAD: 'Upload',
|
|
523
|
+
* CREATE_OPEN_CHANNEL_LIST__SUBTITLE__TEXT_SECTION: 'Channel name',
|
|
524
|
+
* CREATE_OPEN_CHANNEL_LIST__SUBTITLE__TEXT_PLACE_HOLDER: 'Enter channel name',
|
|
525
|
+
* CREATE_OPEN_CHANNEL_LIST__SUBMIT: 'Create',
|
|
526
|
+
* Add prop?.value to MessageWrappers
|
|
527
|
+
* @sendbird/uikit-react/Channel/components/MessageInput
|
|
528
|
+
* @sendbird/uikit-react/OpenChannel/components/OpenChannelInput
|
|
529
|
+
* @sendbird/uikit-react/ui/MessageInput
|
|
530
|
+
* Value is reset when channelURL changes
|
|
531
|
+
|
|
532
|
+
Fixes:
|
|
533
|
+
* Fix issue where ConnectionHandler overwrite SessionHandler
|
|
534
|
+
* Use queries from @sendbird/chat
|
|
535
|
+
* Use imported versions of GroupChannelListQueryParams and ApplicationUserListQueryParams
|
|
536
|
+
* Fix `o`penChannel casing in type defn
|
|
537
|
+
* Add some missing localization variables
|
|
538
|
+
* Deprecate ChatHeader and ChannelPreview in @sendbird/uikit-react/ui
|
|
539
|
+
* Replace the ButtonTypes and ButtonSizes into the Button/index
|
|
540
|
+
* Apply scroll to input and dark theme color to UserProfile
|
|
541
|
+
* Disable the create channel button when no user invite
|
|
542
|
+
* Use ref from MessageInputWrapper props if present
|
|
543
|
+
* Some CSS level polishing fixes~
|
|
544
|
+
|
|
545
|
+
Dev. Env:
|
|
546
|
+
* Remove `enzyme` and `react-test-renderer`
|
|
547
|
+
* Upgrade the `react` version to **v18**
|
|
548
|
+
* Upgrade the `storybook` version to **v6.5.10**
|
|
549
|
+
* Upgrade the `jest` and `babel-jest` to **v29**
|
|
550
|
+
* Upgrade the `jsdom` to **v20**
|
|
551
|
+
* Install `jest-environment-jsdom`
|
|
552
|
+
* Install `global-jsdom`
|
|
553
|
+
* Install `testing-library` (`@testing-library/react` and `@testing-library/jest-dom`)
|
|
554
|
+
* Migrate every tests with `testing-library` instead of the `enzyme` and `react-test-renderer
|
|
555
|
+
* Replace node-sass with sass(Dart Sass)
|
|
556
|
+
* Reduce bundle size by treating react-dom/server as external
|
|
557
|
+
|
|
558
|
+
## [v3.1.3] (Sep 19 2022)
|
|
559
|
+
|
|
560
|
+
Features:
|
|
561
|
+
* Export SessionHandler through `@sendbird/uikit-react/handlers/SessionHandler`
|
|
562
|
+
* This is a workaround to fix an issue where inhertiance chains break custom handler implementation
|
|
563
|
+
* `import SessionHandler from '@sendbird/uikit-react/handlers/SessionHandler'`
|
|
564
|
+
* Rem units can be used for typography
|
|
565
|
+
* Pass prop `config.isREMUnitEnabled` -> true on SendbirdProvider
|
|
566
|
+
to use "rem" units
|
|
567
|
+
* We are adding rem as unit for typography/font size
|
|
568
|
+
|
|
569
|
+
Fixes:
|
|
570
|
+
* Fix the position of ContextMenu
|
|
571
|
+
* Do not exit the current open channel when the channel state is changed
|
|
572
|
+
* Display menu only for operators on the member list
|
|
573
|
+
* Hide muted icon when pop-up component is appeared
|
|
574
|
+
* Set message context's border roundly by the state using the reaction feature
|
|
575
|
+
* Add props `isReactionEnabled` to the <TextMessageItemBody />
|
|
576
|
+
* Add props `isReactionEnabled` to the <OGMessageItemBody />
|
|
577
|
+
* Add props `isReactionEnabled` to the <FileMessageItemBody />
|
|
578
|
+
* Add props `isReactionEnabled` to the <ThumbnailMessageItemBody />
|
|
579
|
+
* Add props `isReactionEnabled` to the <UnknownMessageItemBody />
|
|
580
|
+
* Add the message as a parameter of renderCustomSeparator
|
|
581
|
+
* before: renderCustomSeparator={() => ReactElement}
|
|
582
|
+
* after: renderCustomSeparator={(props: { message }) => ReactElement}
|
|
583
|
+
* Fix typo on the type
|
|
584
|
+
* renderCustomSep'e'rator to renderCustomSep'a'rator
|
|
585
|
+
|
|
586
|
+
## [v3.1.2] (Aug 31 2022)
|
|
587
|
+
|
|
588
|
+
* Migrate UI components into TypeScript
|
|
589
|
+
This doesnt affect anyone, it a step in task to migrate the project source code into TS
|
|
590
|
+
|
|
591
|
+
Fixes:
|
|
592
|
+
* Type defn: Change type of react elements to `React.ReactElement`
|
|
593
|
+
* Change every `React.ReactNode` and `React.Component` to `React.ReactElement`
|
|
594
|
+
* Use the type of SendbirdError
|
|
595
|
+
* Use the type MessageSearchQueryParams
|
|
596
|
+
* Use enum MessageSearchOrder.TIMESTAMP in the message search query params instead of `'ts' as const`
|
|
597
|
+
|
|
598
|
+
**ReactNode** could be `string | number | null | undefined | ReactElement | portal` and this(expecting string or number) causes **warning** when we use it like `<CustomComp />`
|
|
599
|
+
```typescript
|
|
600
|
+
// in the component
|
|
601
|
+
{ renderMessage } = props
|
|
602
|
+
const CustomMessage = useMemo(() => {
|
|
603
|
+
return renderMessage({ ... });
|
|
604
|
+
}, []);
|
|
605
|
+
return (
|
|
606
|
+
<div>
|
|
607
|
+
<CustomMessage />
|
|
608
|
+
</div>
|
|
609
|
+
);
|
|
610
|
+
```
|
|
611
|
+
so expecting **ReactElement** is better for our case
|
|
612
|
+
* Fix message grouping:
|
|
613
|
+
Set isMessageGroupingEnabed to true(was set to false during v2 migration)
|
|
614
|
+
|
|
615
|
+
## [v3.1.1] (Aug 17 2022)
|
|
616
|
+
|
|
617
|
+
Features:
|
|
618
|
+
* Add channel handlers to the open channel settings
|
|
619
|
+
* Add an open channel handler into the OpenChannelSettings component
|
|
620
|
+
* Use operators property to render operator list on the OpenChannelSetting
|
|
621
|
+
instead of fetching operators
|
|
622
|
+
* Export handlers through `@sendbird/uikit-react/handlers`, this is a workaround
|
|
623
|
+
to fix an issue where inhertiance chains break custom handler implementation
|
|
624
|
+
* ConnectionHandler -> `@sendbird/uikit-react/handlers/ConnectionHandler`
|
|
625
|
+
* GroupChannelHandler -> `@sendbird/uikit-react/handlers/GroupChannelHandler`
|
|
626
|
+
* OpenChannelHandler -> `@sendbird/uikit-react/handlers/OpenChannelHandler`
|
|
627
|
+
* UserEventHandler -> `@sendbird/uikit-react/handlers/UserEventHandler`
|
|
628
|
+
* Example: https://codesandbox.io/s/test-3-1-1-rc-5-f94w7i
|
|
629
|
+
|
|
630
|
+
Fixes:
|
|
631
|
+
* Update SendableMessage to UserMessage and FileMessage
|
|
632
|
+
* Change the type of MessageHandler.onFailed to FailedMessageHandler
|
|
633
|
+
* Add missing type defns into scripts/index_d_ts
|
|
634
|
+
* Typo in creating channelHandlerId on the ChannelList
|
|
635
|
+
|
|
636
|
+
## [v3.1.0] (Aug 03 2022)
|
|
637
|
+
Features:
|
|
638
|
+
* Support moderation in OpenChannel
|
|
639
|
+
* Provide moderations: mute, unmute, ban, and unban on the <OpenChannelSettings />
|
|
640
|
+
* Provide moderations: register and unregister operator on the <OpenChannelSettings />
|
|
641
|
+
* Add MutedParticipantList and MutedParticipantsModal into the <OpenChannelSettings />
|
|
642
|
+
* Add BannedUserList and BannedUsersModal into the <OpenChannelSettings />
|
|
643
|
+
* Add OperatorList and OperatorsModal into the <OpenChannelSettings />
|
|
644
|
+
* Add AddOperatorsModal into the <OpenChannelSettings />
|
|
645
|
+
|
|
646
|
+
## [v3.0.2] (Aug 03 2022)
|
|
647
|
+
Fixes:
|
|
648
|
+
* Explicitly export library as esm-module
|
|
649
|
+
ESM library should have "type": "module" (package.json file that is going to /dist)
|
|
650
|
+
This fixes Cannot use import outside module issue in next.js
|
|
651
|
+
* Add optional chaining for createApplicationUserList
|
|
652
|
+
* Fix QueryInProgress warning:
|
|
653
|
+
React 18 strict mode glitch that causes useEffect to run twice
|
|
654
|
+
* Cannot connect sometimes when customApiHost is empty
|
|
655
|
+
Connection couldnt be established with no error message when customApiHost and customWebSocketHost
|
|
656
|
+
were passed as empty string
|
|
657
|
+
* Handle all chances of command not received error
|
|
658
|
+
Handle chances of command not recieved error in markAsRead
|
|
659
|
+
Experimental markasread handling -> longer times, no more call after unmount
|
|
660
|
+
* Move typing handler in channellist into local variable
|
|
661
|
+
|
|
662
|
+
## [v3.0.1] (July 28 2022)
|
|
663
|
+
|
|
664
|
+
Features:
|
|
665
|
+
* Accept customApiHost & customWebSocketHost as props to SendbirdProvider
|
|
666
|
+
* Add basic TS project sample
|
|
667
|
+
|
|
668
|
+
Fixes:
|
|
669
|
+
* Improve URL detection in OG message
|
|
670
|
+
* Add onCloseClick to MessageSearchProps
|
|
671
|
+
* Safe call removeGroupChannelHandler in TypingIndicator
|
|
672
|
+
* Apply userListQuery
|
|
673
|
+
* Type definition for channellist and setting
|
|
674
|
+
|
|
675
|
+
## [v3.0.0] (July 12 2022)
|
|
676
|
+
|
|
677
|
+
Features:
|
|
678
|
+
* Support `modules` and `components` in the UIKit
|
|
679
|
+
* Upgraded to `@sendbird/chat@4`
|
|
680
|
+
* Support react 18
|
|
681
|
+
* See the Migration Guide for Converting V2 to V3. [[details](./MIGRATION_v2-to-v3.md)]
|
|
682
|
+
* See more details and breaking changes. [[details](./CHANGELOG.md)]
|
|
683
|
+
|
|
684
|
+
## [3.0.0-beta.6] (June 03 2022)
|
|
685
|
+
|
|
686
|
+
Feature:
|
|
687
|
+
* Show profile on clicking a mention
|
|
688
|
+
* Visual highlight when user is mention
|
|
689
|
+
* Add session handler interface
|
|
690
|
+
```
|
|
691
|
+
// its recommended to memoize configureSession function
|
|
692
|
+
const memoizedConfigureSession = (sb) => {
|
|
693
|
+
const sessionHandler = new sb.SessionHandler();
|
|
694
|
+
sessionHandler.onSessionTokenRequired = (onSuccess, onError) => {
|
|
695
|
+
};
|
|
696
|
+
return sessionHandler;
|
|
697
|
+
};
|
|
698
|
+
|
|
699
|
+
// see: https://sendbird.com/docs/chat/v3/javascript/guides/authentication
|
|
700
|
+
<SendbirdProvider
|
|
701
|
+
configureSession={memoizedConfigureSession}
|
|
702
|
+
/>
|
|
703
|
+
```
|
|
704
|
+
|
|
705
|
+
Fix:
|
|
706
|
+
* Change the front-weight of Subtitle2 from 600 to 500
|
|
707
|
+
* Modify mention badge position on the ChannelListItem component
|
|
708
|
+
* Change Info Icon size to 20px on the SuggestedMentionListItem component
|
|
709
|
+
* Differentiate the message status 'read' and 'delivered' with message grouping
|
|
710
|
+
* Modify KeyDown event handler on the message input for sending Korean text edge case
|
|
711
|
+
Fix: Mention related stuff
|
|
712
|
+
* Modify the onMouseOver event on the SuggestedMentionList component
|
|
713
|
+
* Filter 'html' text when pasting text to the MessageInput component
|
|
714
|
+
* Hide and apply ellipsis for overflowing text on the SuggestedMentionListItem component
|
|
715
|
+
* Deactivate the MessageInput component when the current user is muted or the current channel is frozen
|
|
716
|
+
* Reset the mention states of the current channel when changing channel and closing the edit MessageInput component
|
|
717
|
+
|
|
718
|
+
## [3.0.0-beta.5] (May 24 2022)
|
|
719
|
+
Fixes:
|
|
720
|
+
* Export useChannelList
|
|
721
|
+
* Active disableAutoSelect props
|
|
722
|
+
* Remove empty CSS file to fix source map warning
|
|
723
|
+
|
|
724
|
+
DOC:
|
|
725
|
+
* Add info about webpack 5 breaking changes
|
|
726
|
+
|
|
727
|
+
## [3.0.0-beta.4] (May 24 2022) -> unpublished
|
|
728
|
+
## [3.0.0-beta.3] (May 19 2022)
|
|
729
|
+
Fixes:
|
|
730
|
+
* Rate limit markAsDelivered call
|
|
731
|
+
* Do not render date separator when renderCustomSeparator is null
|
|
732
|
+
Misc:
|
|
733
|
+
* Update Chat SDK minimum version to `3.1.13`
|
|
734
|
+
|
|
735
|
+
## [3.0.0-beta.2] (April 29 2022)
|
|
736
|
+
|
|
737
|
+
Feature:
|
|
738
|
+
* Mention
|
|
739
|
+
* Add isMentionEnabled props to the <App /> and <SendbirdProvider />
|
|
740
|
+
* Add userMention into the config props of the <App /> andd <SendbirdProvider />
|
|
741
|
+
* <SendbirdProvider config={{ userMention: { maxMentionCount: 10, maxSuggestionCount: 15 } }} />
|
|
742
|
+
* maxMentionCount: A maximum count that you can mention in the message input
|
|
743
|
+
* maxSuggestionCount: A maximum user count that the SuggestedMentionList suggests for user mention
|
|
744
|
+
* Create SuggestedMentionList component under the Channel smart component
|
|
745
|
+
* Create SuggestedUserMentionItem component
|
|
746
|
+
* Create MentionUserLabel ui component
|
|
747
|
+
* Add string set
|
|
748
|
+
* MENTION_NAME__NO_NAME: '(No name)'
|
|
749
|
+
* MENTION_COUNT__OVER_LIMIT: 'You can mention up to %d times per message.'
|
|
750
|
+
Fix:
|
|
751
|
+
* Type definition file fix for TS project
|
|
752
|
+
For typescript projects, add `node_modules/@sendbird/uikit-react/index.d.ts`
|
|
753
|
+
to your `include` section in tsconfig file to get type definitions
|
|
754
|
+
|
|
755
|
+
* Move font import to top of CSS file
|
|
756
|
+
Some bundlers such as parcel throw error:
|
|
757
|
+
`@import rules must precede all rules aside from @charset and @layer statements`
|
|
758
|
+
Resolve this issue by moving the line to the top
|
|
759
|
+
|
|
760
|
+
## [3.0.0-beta] (Apr 12 2022)
|
|
761
|
+
|
|
762
|
+
This is the official beta for Sendbird UIKit for React version 3!
|
|
763
|
+
|
|
764
|
+
TLDR -> We split the old `smart-components` into modules which contian context and UI. Context contain logic and UI Components handle UI
|
|
765
|
+
|
|
766
|
+
**[Check out the v2 to v3 migration guide for details](MIGRATION_v2-to-v3.md)**
|
|
767
|
+
|
|
768
|
+
Changelog:
|
|
769
|
+
* Package should be installed using `@sendbird/uikit-react`
|
|
770
|
+
* Restructure smart-components into modules that contain a context and related UI components
|
|
771
|
+
* Export these context and UI components to allow fine-grain customization
|
|
772
|
+
* Recommend to use these context elements `useXXXXX()` and react function components to make custom components
|
|
773
|
+
* All generic UI components are available as exports
|
|
774
|
+
* Restrcuture export paths to allow better tree-shaking
|
|
775
|
+
* Example:
|
|
776
|
+
```
|
|
777
|
+
import { useChannel } from '@sendbird/uikit-react/Channel/context';
|
|
778
|
+
import ChannelUI from '@sendbird/uikit-react/Channel/components/ChannelUI';
|
|
779
|
+
```
|
|
780
|
+
* We keep older export patterns to make migration easier
|
|
781
|
+
* Retained modules - ChannelList, Channel, ChannelSettings, OpenChannel, OpenChannelSettings, MessageSearch
|
|
782
|
+
* New modules(not including context and ui of above) - CreateChannel, EditUserProfile, ui
|