stream-chat-react-native-core 9.0.0-beta.30 → 9.0.0-beta.32
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/lib/commonjs/components/Attachment/Attachment.js +15 -52
- package/lib/commonjs/components/Attachment/Attachment.js.map +1 -1
- package/lib/commonjs/components/Attachment/FileAttachment.js +4 -6
- package/lib/commonjs/components/Attachment/FileAttachment.js.map +1 -1
- package/lib/commonjs/components/Attachment/FileAttachmentGroup.js +4 -10
- package/lib/commonjs/components/Attachment/FileAttachmentGroup.js.map +1 -1
- package/lib/commonjs/components/Attachment/FilePreview.js +3 -6
- package/lib/commonjs/components/Attachment/FilePreview.js.map +1 -1
- package/lib/commonjs/components/Attachment/Gallery.js +9 -28
- package/lib/commonjs/components/Attachment/Gallery.js.map +1 -1
- package/lib/commonjs/components/Attachment/GalleryImage.js +3 -3
- package/lib/commonjs/components/Attachment/GalleryImage.js.map +1 -1
- package/lib/commonjs/components/Attachment/Giphy/GiphyImage.js +7 -13
- package/lib/commonjs/components/Attachment/Giphy/GiphyImage.js.map +1 -1
- package/lib/commonjs/components/Attachment/UnsupportedAttachment.js +4 -6
- package/lib/commonjs/components/Attachment/UnsupportedAttachment.js.map +1 -1
- package/lib/commonjs/components/Attachment/UrlPreview/URLPreview.js +3 -3
- package/lib/commonjs/components/Attachment/UrlPreview/URLPreview.js.map +1 -1
- package/lib/commonjs/components/Attachment/UrlPreview/URLPreviewCompact.js +3 -3
- package/lib/commonjs/components/Attachment/UrlPreview/URLPreviewCompact.js.map +1 -1
- package/lib/commonjs/components/AttachmentPicker/AttachmentPicker.js +4 -2
- package/lib/commonjs/components/AttachmentPicker/AttachmentPicker.js.map +1 -1
- package/lib/commonjs/components/AttachmentPicker/components/AttachmentMediaPicker/AttachmentPickerItem.js +7 -4
- package/lib/commonjs/components/AttachmentPicker/components/AttachmentMediaPicker/AttachmentPickerItem.js.map +1 -1
- package/lib/commonjs/components/AutoCompleteInput/AutoCompleteSuggestionList.js +9 -13
- package/lib/commonjs/components/AutoCompleteInput/AutoCompleteSuggestionList.js.map +1 -1
- package/lib/commonjs/components/Channel/Channel.js +9 -418
- package/lib/commonjs/components/Channel/Channel.js.map +1 -1
- package/lib/commonjs/components/Channel/hooks/useCreateChannelContext.js +0 -8
- package/lib/commonjs/components/Channel/hooks/useCreateChannelContext.js.map +1 -1
- package/lib/commonjs/components/Channel/hooks/useCreateInputMessageInputContext.js +3 -77
- package/lib/commonjs/components/Channel/hooks/useCreateInputMessageInputContext.js.map +1 -1
- package/lib/commonjs/components/Channel/hooks/useCreateMessagesContext.js +2 -132
- package/lib/commonjs/components/Channel/hooks/useCreateMessagesContext.js.map +1 -1
- package/lib/commonjs/components/ChannelList/ChannelList.js +1 -57
- package/lib/commonjs/components/ChannelList/ChannelList.js.map +1 -1
- package/lib/commonjs/components/ChannelList/ChannelListLoadingIndicator.js +4 -2
- package/lib/commonjs/components/ChannelList/ChannelListLoadingIndicator.js.map +1 -1
- package/lib/commonjs/components/ChannelList/ChannelListView.js +11 -20
- package/lib/commonjs/components/ChannelList/ChannelListView.js.map +1 -1
- package/lib/commonjs/components/ChannelList/hooks/useCreateChannelsContext.js +1 -39
- package/lib/commonjs/components/ChannelList/hooks/useCreateChannelsContext.js.map +1 -1
- package/lib/commonjs/components/ChannelPreview/ChannelDetailsBottomSheet.js +3 -2
- package/lib/commonjs/components/ChannelPreview/ChannelDetailsBottomSheet.js.map +1 -1
- package/lib/commonjs/components/ChannelPreview/ChannelPreview.js +4 -6
- package/lib/commonjs/components/ChannelPreview/ChannelPreview.js.map +1 -1
- package/lib/commonjs/components/ChannelPreview/ChannelPreviewMessage.js +6 -18
- package/lib/commonjs/components/ChannelPreview/ChannelPreviewMessage.js.map +1 -1
- package/lib/commonjs/components/ChannelPreview/ChannelPreviewView.js +8 -28
- package/lib/commonjs/components/ChannelPreview/ChannelPreviewView.js.map +1 -1
- package/lib/commonjs/components/ChannelPreview/ChannelSwipableWrapper.js +3 -3
- package/lib/commonjs/components/ChannelPreview/ChannelSwipableWrapper.js.map +1 -1
- package/lib/commonjs/components/Chat/Chat.js +4 -6
- package/lib/commonjs/components/Chat/Chat.js.map +1 -1
- package/lib/commonjs/components/Chat/hooks/useCreateChatContext.js +0 -2
- package/lib/commonjs/components/Chat/hooks/useCreateChatContext.js.map +1 -1
- package/lib/commonjs/components/ImageGallery/ImageGallery.js +7 -9
- package/lib/commonjs/components/ImageGallery/ImageGallery.js.map +1 -1
- package/lib/commonjs/components/ImageGallery/components/ImageGalleryFooter.js +4 -2
- package/lib/commonjs/components/ImageGallery/components/ImageGalleryFooter.js.map +1 -1
- package/lib/commonjs/components/Message/Message.js +9 -13
- package/lib/commonjs/components/Message/Message.js.map +1 -1
- package/lib/commonjs/components/Message/MessageItemView/MessageBubble.js +4 -2
- package/lib/commonjs/components/Message/MessageItemView/MessageBubble.js.map +1 -1
- package/lib/commonjs/components/Message/MessageItemView/MessageContent.js +18 -39
- package/lib/commonjs/components/Message/MessageItemView/MessageContent.js.map +1 -1
- package/lib/commonjs/components/Message/MessageItemView/MessageDeleted.js +5 -7
- package/lib/commonjs/components/Message/MessageItemView/MessageDeleted.js.map +1 -1
- package/lib/commonjs/components/Message/MessageItemView/MessageFooter.js +4 -8
- package/lib/commonjs/components/Message/MessageItemView/MessageFooter.js.map +1 -1
- package/lib/commonjs/components/Message/MessageItemView/MessageHeader.js +8 -16
- package/lib/commonjs/components/Message/MessageItemView/MessageHeader.js.map +1 -1
- package/lib/commonjs/components/Message/MessageItemView/MessageItemView.js +13 -35
- package/lib/commonjs/components/Message/MessageItemView/MessageItemView.js.map +1 -1
- package/lib/commonjs/components/Message/MessageItemView/MessageReplies.js +3 -5
- package/lib/commonjs/components/Message/MessageItemView/MessageReplies.js.map +1 -1
- package/lib/commonjs/components/Message/MessageItemView/MessageTextContainer.js +3 -3
- package/lib/commonjs/components/Message/MessageItemView/MessageTextContainer.js.map +1 -1
- package/lib/commonjs/components/Message/MessageItemView/MessageWrapper.js +6 -4
- package/lib/commonjs/components/Message/MessageItemView/MessageWrapper.js.map +1 -1
- package/lib/commonjs/components/Message/MessageItemView/ReactionList/ReactionListBottom.js +6 -8
- package/lib/commonjs/components/Message/MessageItemView/ReactionList/ReactionListBottom.js.map +1 -1
- package/lib/commonjs/components/Message/MessageItemView/ReactionList/ReactionListTop.js +7 -11
- package/lib/commonjs/components/Message/MessageItemView/ReactionList/ReactionListTop.js.map +1 -1
- package/lib/commonjs/components/Message/MessageItemView/utils/renderText.js +3 -1
- package/lib/commonjs/components/Message/MessageItemView/utils/renderText.js.map +1 -1
- package/lib/commonjs/components/MessageInput/MessageComposer.js +15 -55
- package/lib/commonjs/components/MessageInput/MessageComposer.js.map +1 -1
- package/lib/commonjs/components/MessageInput/MessageInputHeaderView.js +5 -5
- package/lib/commonjs/components/MessageInput/MessageInputHeaderView.js.map +1 -1
- package/lib/commonjs/components/MessageInput/components/AttachmentPreview/AttachmentUploadPreviewList.js +9 -17
- package/lib/commonjs/components/MessageInput/components/AttachmentPreview/AttachmentUploadPreviewList.js.map +1 -1
- package/lib/commonjs/components/MessageInput/components/AttachmentPreview/FileAttachmentUploadPreview.js +5 -5
- package/lib/commonjs/components/MessageInput/components/AttachmentPreview/FileAttachmentUploadPreview.js.map +1 -1
- package/lib/commonjs/components/MessageInput/components/AttachmentPreview/ImageAttachmentUploadPreview.js +5 -5
- package/lib/commonjs/components/MessageInput/components/AttachmentPreview/ImageAttachmentUploadPreview.js.map +1 -1
- package/lib/commonjs/components/MessageInput/components/AudioRecorder/AudioRecordingInProgress.js +5 -5
- package/lib/commonjs/components/MessageInput/components/AudioRecorder/AudioRecordingInProgress.js.map +1 -1
- package/lib/commonjs/components/MessageInput/components/InputButtons/index.js +4 -4
- package/lib/commonjs/components/MessageInput/components/InputButtons/index.js.map +1 -1
- package/lib/commonjs/components/MessageInput/components/LinkPreviewList.js +3 -2
- package/lib/commonjs/components/MessageInput/components/LinkPreviewList.js.map +1 -1
- package/lib/commonjs/components/MessageInput/components/OutputButtons/index.js +7 -13
- package/lib/commonjs/components/MessageInput/components/OutputButtons/index.js.map +1 -1
- package/lib/commonjs/components/MessageList/MessageFlashList.js +14 -40
- package/lib/commonjs/components/MessageList/MessageFlashList.js.map +1 -1
- package/lib/commonjs/components/MessageList/MessageList.js +12 -38
- package/lib/commonjs/components/MessageList/MessageList.js.map +1 -1
- package/lib/commonjs/components/MessageList/StickyHeader.js +3 -1
- package/lib/commonjs/components/MessageList/StickyHeader.js.map +1 -1
- package/lib/commonjs/components/MessageMenu/MessageActionList.js +4 -2
- package/lib/commonjs/components/MessageMenu/MessageActionList.js.map +1 -1
- package/lib/commonjs/components/MessageMenu/MessageMenu.js.map +1 -1
- package/lib/commonjs/components/MessageMenu/MessageUserReactions.js +4 -8
- package/lib/commonjs/components/MessageMenu/MessageUserReactions.js.map +1 -1
- package/lib/commonjs/components/MessageMenu/MessageUserReactionsItem.js +4 -2
- package/lib/commonjs/components/MessageMenu/MessageUserReactionsItem.js.map +1 -1
- package/lib/commonjs/components/Poll/CreatePollContent.js +8 -4
- package/lib/commonjs/components/Poll/CreatePollContent.js.map +1 -1
- package/lib/commonjs/components/Poll/Poll.js +12 -9
- package/lib/commonjs/components/Poll/Poll.js.map +1 -1
- package/lib/commonjs/components/Poll/components/MultipleAnswersField.js +5 -3
- package/lib/commonjs/components/Poll/components/MultipleAnswersField.js.map +1 -1
- package/lib/commonjs/components/Poll/components/MultipleVotesSettings.js +5 -3
- package/lib/commonjs/components/Poll/components/MultipleVotesSettings.js.map +1 -1
- package/lib/commonjs/components/Poll/components/PollAnswersList.js +5 -3
- package/lib/commonjs/components/Poll/components/PollAnswersList.js.map +1 -1
- package/lib/commonjs/components/Poll/components/PollInputDialog.js +2 -1
- package/lib/commonjs/components/Poll/components/PollInputDialog.js.map +1 -1
- package/lib/commonjs/components/Poll/components/PollOption.js +5 -3
- package/lib/commonjs/components/Poll/components/PollOption.js.map +1 -1
- package/lib/commonjs/components/Poll/components/PollResults/PollOptionFullResults.js +5 -5
- package/lib/commonjs/components/Poll/components/PollResults/PollOptionFullResults.js.map +1 -1
- package/lib/commonjs/components/Poll/components/PollResults/PollResults.js +5 -3
- package/lib/commonjs/components/Poll/components/PollResults/PollResults.js.map +1 -1
- package/lib/commonjs/components/Reply/Reply.js +11 -4
- package/lib/commonjs/components/Reply/Reply.js.map +1 -1
- package/lib/commonjs/components/Thread/Thread.js +4 -8
- package/lib/commonjs/components/Thread/Thread.js.map +1 -1
- package/lib/commonjs/components/Thread/components/ThreadFooterComponent.js +4 -6
- package/lib/commonjs/components/Thread/components/ThreadFooterComponent.js.map +1 -1
- package/lib/commonjs/components/ThreadList/ThreadList.js +12 -15
- package/lib/commonjs/components/ThreadList/ThreadList.js.map +1 -1
- package/lib/commonjs/components/ThreadList/ThreadListItem.js +8 -11
- package/lib/commonjs/components/ThreadList/ThreadListItem.js.map +1 -1
- package/lib/commonjs/components/ui/Avatar/Avatar.js +3 -3
- package/lib/commonjs/components/ui/Avatar/Avatar.js.map +1 -1
- package/lib/commonjs/contexts/attachmentPickerContext/AttachmentPickerContext.js.map +1 -1
- package/lib/commonjs/contexts/channelContext/ChannelContext.js.map +1 -1
- package/lib/commonjs/contexts/channelsContext/ChannelsContext.js.map +1 -1
- package/lib/commonjs/contexts/chatContext/ChatContext.js.map +1 -1
- package/lib/commonjs/contexts/componentsContext/ComponentsContext.js +37 -0
- package/lib/commonjs/contexts/componentsContext/ComponentsContext.js.map +1 -0
- package/lib/commonjs/contexts/componentsContext/PLAN.md +148 -0
- package/lib/commonjs/contexts/componentsContext/defaultComponents.js +286 -0
- package/lib/commonjs/contexts/componentsContext/defaultComponents.js.map +1 -0
- package/lib/commonjs/contexts/imageGalleryContext/ImageGalleryContext.js +1 -9
- package/lib/commonjs/contexts/imageGalleryContext/ImageGalleryContext.js.map +1 -1
- package/lib/commonjs/contexts/imageGalleryContext/ImageGalleryContextBase.js.map +1 -1
- package/lib/commonjs/contexts/index.js +11 -0
- package/lib/commonjs/contexts/index.js.map +1 -1
- package/lib/commonjs/contexts/messageInputContext/MessageInputContext.js.map +1 -1
- package/lib/commonjs/contexts/messageInputContext/hooks/useCreateMessageInputContext.js +2 -76
- package/lib/commonjs/contexts/messageInputContext/hooks/useCreateMessageInputContext.js.map +1 -1
- package/lib/commonjs/contexts/messagesContext/MessagesContext.js.map +1 -1
- package/lib/commonjs/contexts/overlayContext/MessageOverlayHostLayer.js +7 -5
- package/lib/commonjs/contexts/overlayContext/MessageOverlayHostLayer.js.map +1 -1
- package/lib/commonjs/contexts/overlayContext/OverlayContext.js.map +1 -1
- package/lib/commonjs/contexts/overlayContext/OverlayProvider.js +1 -4
- package/lib/commonjs/contexts/overlayContext/OverlayProvider.js.map +1 -1
- package/lib/commonjs/contexts/threadsContext/ThreadsContext.js.map +1 -1
- package/lib/commonjs/hooks/messagePreview/useMessagePreviewText.js +28 -13
- package/lib/commonjs/hooks/messagePreview/useMessagePreviewText.js.map +1 -1
- package/lib/commonjs/i18n/en.json +20 -0
- package/lib/commonjs/i18n/es.json +20 -0
- package/lib/commonjs/i18n/fr.json +20 -0
- package/lib/commonjs/i18n/he.json +20 -0
- package/lib/commonjs/i18n/hi.json +20 -0
- package/lib/commonjs/i18n/it.json +20 -0
- package/lib/commonjs/i18n/ja.json +20 -0
- package/lib/commonjs/i18n/ko.json +20 -0
- package/lib/commonjs/i18n/nl.json +20 -0
- package/lib/commonjs/i18n/pt-br.json +20 -0
- package/lib/commonjs/i18n/ru.json +20 -0
- package/lib/commonjs/i18n/tr.json +20 -0
- package/lib/commonjs/icons/arrow-up-right.js +10 -6
- package/lib/commonjs/icons/arrow-up-right.js.map +1 -1
- package/lib/commonjs/icons/audio.js +10 -6
- package/lib/commonjs/icons/audio.js.map +1 -1
- package/lib/commonjs/icons/chevron-left.js +10 -6
- package/lib/commonjs/icons/chevron-left.js.map +1 -1
- package/lib/commonjs/icons/leave.js +10 -6
- package/lib/commonjs/icons/leave.js.map +1 -1
- package/lib/commonjs/icons/message-bubble.js +10 -6
- package/lib/commonjs/icons/message-bubble.js.map +1 -1
- package/lib/commonjs/icons/mute.js +11 -7
- package/lib/commonjs/icons/mute.js.map +1 -1
- package/lib/commonjs/icons/reply.js +10 -6
- package/lib/commonjs/icons/reply.js.map +1 -1
- package/lib/commonjs/icons/search.js +11 -7
- package/lib/commonjs/icons/search.js.map +1 -1
- package/lib/commonjs/icons/send.js +11 -7
- package/lib/commonjs/icons/send.js.map +1 -1
- package/lib/commonjs/icons/thread.js +10 -6
- package/lib/commonjs/icons/thread.js.map +1 -1
- package/lib/commonjs/icons/video-fill.js +2 -0
- package/lib/commonjs/icons/video-fill.js.map +1 -1
- package/lib/commonjs/icons/video.js +10 -6
- package/lib/commonjs/icons/video.js.map +1 -1
- package/lib/commonjs/utils/rtlMirrorSwitchStyle.js +20 -0
- package/lib/commonjs/utils/rtlMirrorSwitchStyle.js.map +1 -0
- package/lib/commonjs/version.json +1 -1
- package/lib/module/components/Attachment/Attachment.js +15 -52
- package/lib/module/components/Attachment/Attachment.js.map +1 -1
- package/lib/module/components/Attachment/FileAttachment.js +4 -6
- package/lib/module/components/Attachment/FileAttachment.js.map +1 -1
- package/lib/module/components/Attachment/FileAttachmentGroup.js +4 -10
- package/lib/module/components/Attachment/FileAttachmentGroup.js.map +1 -1
- package/lib/module/components/Attachment/FilePreview.js +3 -6
- package/lib/module/components/Attachment/FilePreview.js.map +1 -1
- package/lib/module/components/Attachment/Gallery.js +9 -28
- package/lib/module/components/Attachment/Gallery.js.map +1 -1
- package/lib/module/components/Attachment/GalleryImage.js +3 -3
- package/lib/module/components/Attachment/GalleryImage.js.map +1 -1
- package/lib/module/components/Attachment/Giphy/GiphyImage.js +7 -13
- package/lib/module/components/Attachment/Giphy/GiphyImage.js.map +1 -1
- package/lib/module/components/Attachment/UnsupportedAttachment.js +4 -6
- package/lib/module/components/Attachment/UnsupportedAttachment.js.map +1 -1
- package/lib/module/components/Attachment/UrlPreview/URLPreview.js +3 -3
- package/lib/module/components/Attachment/UrlPreview/URLPreview.js.map +1 -1
- package/lib/module/components/Attachment/UrlPreview/URLPreviewCompact.js +3 -3
- package/lib/module/components/Attachment/UrlPreview/URLPreviewCompact.js.map +1 -1
- package/lib/module/components/AttachmentPicker/AttachmentPicker.js +4 -2
- package/lib/module/components/AttachmentPicker/AttachmentPicker.js.map +1 -1
- package/lib/module/components/AttachmentPicker/components/AttachmentMediaPicker/AttachmentPickerItem.js +7 -4
- package/lib/module/components/AttachmentPicker/components/AttachmentMediaPicker/AttachmentPickerItem.js.map +1 -1
- package/lib/module/components/AutoCompleteInput/AutoCompleteSuggestionList.js +9 -13
- package/lib/module/components/AutoCompleteInput/AutoCompleteSuggestionList.js.map +1 -1
- package/lib/module/components/Channel/Channel.js +9 -418
- package/lib/module/components/Channel/Channel.js.map +1 -1
- package/lib/module/components/Channel/hooks/useCreateChannelContext.js +0 -8
- package/lib/module/components/Channel/hooks/useCreateChannelContext.js.map +1 -1
- package/lib/module/components/Channel/hooks/useCreateInputMessageInputContext.js +3 -77
- package/lib/module/components/Channel/hooks/useCreateInputMessageInputContext.js.map +1 -1
- package/lib/module/components/Channel/hooks/useCreateMessagesContext.js +2 -132
- package/lib/module/components/Channel/hooks/useCreateMessagesContext.js.map +1 -1
- package/lib/module/components/ChannelList/ChannelList.js +1 -57
- package/lib/module/components/ChannelList/ChannelList.js.map +1 -1
- package/lib/module/components/ChannelList/ChannelListLoadingIndicator.js +4 -2
- package/lib/module/components/ChannelList/ChannelListLoadingIndicator.js.map +1 -1
- package/lib/module/components/ChannelList/ChannelListView.js +11 -20
- package/lib/module/components/ChannelList/ChannelListView.js.map +1 -1
- package/lib/module/components/ChannelList/hooks/useCreateChannelsContext.js +1 -39
- package/lib/module/components/ChannelList/hooks/useCreateChannelsContext.js.map +1 -1
- package/lib/module/components/ChannelPreview/ChannelDetailsBottomSheet.js +3 -2
- package/lib/module/components/ChannelPreview/ChannelDetailsBottomSheet.js.map +1 -1
- package/lib/module/components/ChannelPreview/ChannelPreview.js +4 -6
- package/lib/module/components/ChannelPreview/ChannelPreview.js.map +1 -1
- package/lib/module/components/ChannelPreview/ChannelPreviewMessage.js +6 -18
- package/lib/module/components/ChannelPreview/ChannelPreviewMessage.js.map +1 -1
- package/lib/module/components/ChannelPreview/ChannelPreviewView.js +8 -28
- package/lib/module/components/ChannelPreview/ChannelPreviewView.js.map +1 -1
- package/lib/module/components/ChannelPreview/ChannelSwipableWrapper.js +3 -3
- package/lib/module/components/ChannelPreview/ChannelSwipableWrapper.js.map +1 -1
- package/lib/module/components/Chat/Chat.js +4 -6
- package/lib/module/components/Chat/Chat.js.map +1 -1
- package/lib/module/components/Chat/hooks/useCreateChatContext.js +0 -2
- package/lib/module/components/Chat/hooks/useCreateChatContext.js.map +1 -1
- package/lib/module/components/ImageGallery/ImageGallery.js +7 -9
- package/lib/module/components/ImageGallery/ImageGallery.js.map +1 -1
- package/lib/module/components/ImageGallery/components/ImageGalleryFooter.js +4 -2
- package/lib/module/components/ImageGallery/components/ImageGalleryFooter.js.map +1 -1
- package/lib/module/components/Message/Message.js +9 -13
- package/lib/module/components/Message/Message.js.map +1 -1
- package/lib/module/components/Message/MessageItemView/MessageBubble.js +4 -2
- package/lib/module/components/Message/MessageItemView/MessageBubble.js.map +1 -1
- package/lib/module/components/Message/MessageItemView/MessageContent.js +18 -39
- package/lib/module/components/Message/MessageItemView/MessageContent.js.map +1 -1
- package/lib/module/components/Message/MessageItemView/MessageDeleted.js +5 -7
- package/lib/module/components/Message/MessageItemView/MessageDeleted.js.map +1 -1
- package/lib/module/components/Message/MessageItemView/MessageFooter.js +4 -8
- package/lib/module/components/Message/MessageItemView/MessageFooter.js.map +1 -1
- package/lib/module/components/Message/MessageItemView/MessageHeader.js +8 -16
- package/lib/module/components/Message/MessageItemView/MessageHeader.js.map +1 -1
- package/lib/module/components/Message/MessageItemView/MessageItemView.js +13 -35
- package/lib/module/components/Message/MessageItemView/MessageItemView.js.map +1 -1
- package/lib/module/components/Message/MessageItemView/MessageReplies.js +3 -5
- package/lib/module/components/Message/MessageItemView/MessageReplies.js.map +1 -1
- package/lib/module/components/Message/MessageItemView/MessageTextContainer.js +3 -3
- package/lib/module/components/Message/MessageItemView/MessageTextContainer.js.map +1 -1
- package/lib/module/components/Message/MessageItemView/MessageWrapper.js +6 -4
- package/lib/module/components/Message/MessageItemView/MessageWrapper.js.map +1 -1
- package/lib/module/components/Message/MessageItemView/ReactionList/ReactionListBottom.js +6 -8
- package/lib/module/components/Message/MessageItemView/ReactionList/ReactionListBottom.js.map +1 -1
- package/lib/module/components/Message/MessageItemView/ReactionList/ReactionListTop.js +7 -11
- package/lib/module/components/Message/MessageItemView/ReactionList/ReactionListTop.js.map +1 -1
- package/lib/module/components/Message/MessageItemView/utils/renderText.js +3 -1
- package/lib/module/components/Message/MessageItemView/utils/renderText.js.map +1 -1
- package/lib/module/components/MessageInput/MessageComposer.js +15 -55
- package/lib/module/components/MessageInput/MessageComposer.js.map +1 -1
- package/lib/module/components/MessageInput/MessageInputHeaderView.js +5 -5
- package/lib/module/components/MessageInput/MessageInputHeaderView.js.map +1 -1
- package/lib/module/components/MessageInput/components/AttachmentPreview/AttachmentUploadPreviewList.js +9 -17
- package/lib/module/components/MessageInput/components/AttachmentPreview/AttachmentUploadPreviewList.js.map +1 -1
- package/lib/module/components/MessageInput/components/AttachmentPreview/FileAttachmentUploadPreview.js +5 -5
- package/lib/module/components/MessageInput/components/AttachmentPreview/FileAttachmentUploadPreview.js.map +1 -1
- package/lib/module/components/MessageInput/components/AttachmentPreview/ImageAttachmentUploadPreview.js +5 -5
- package/lib/module/components/MessageInput/components/AttachmentPreview/ImageAttachmentUploadPreview.js.map +1 -1
- package/lib/module/components/MessageInput/components/AudioRecorder/AudioRecordingInProgress.js +5 -5
- package/lib/module/components/MessageInput/components/AudioRecorder/AudioRecordingInProgress.js.map +1 -1
- package/lib/module/components/MessageInput/components/InputButtons/index.js +4 -4
- package/lib/module/components/MessageInput/components/InputButtons/index.js.map +1 -1
- package/lib/module/components/MessageInput/components/LinkPreviewList.js +3 -2
- package/lib/module/components/MessageInput/components/LinkPreviewList.js.map +1 -1
- package/lib/module/components/MessageInput/components/OutputButtons/index.js +7 -13
- package/lib/module/components/MessageInput/components/OutputButtons/index.js.map +1 -1
- package/lib/module/components/MessageList/MessageFlashList.js +14 -40
- package/lib/module/components/MessageList/MessageFlashList.js.map +1 -1
- package/lib/module/components/MessageList/MessageList.js +12 -38
- package/lib/module/components/MessageList/MessageList.js.map +1 -1
- package/lib/module/components/MessageList/StickyHeader.js +3 -1
- package/lib/module/components/MessageList/StickyHeader.js.map +1 -1
- package/lib/module/components/MessageMenu/MessageActionList.js +4 -2
- package/lib/module/components/MessageMenu/MessageActionList.js.map +1 -1
- package/lib/module/components/MessageMenu/MessageMenu.js.map +1 -1
- package/lib/module/components/MessageMenu/MessageUserReactions.js +4 -8
- package/lib/module/components/MessageMenu/MessageUserReactions.js.map +1 -1
- package/lib/module/components/MessageMenu/MessageUserReactionsItem.js +4 -2
- package/lib/module/components/MessageMenu/MessageUserReactionsItem.js.map +1 -1
- package/lib/module/components/Poll/CreatePollContent.js +8 -4
- package/lib/module/components/Poll/CreatePollContent.js.map +1 -1
- package/lib/module/components/Poll/Poll.js +12 -9
- package/lib/module/components/Poll/Poll.js.map +1 -1
- package/lib/module/components/Poll/components/MultipleAnswersField.js +5 -3
- package/lib/module/components/Poll/components/MultipleAnswersField.js.map +1 -1
- package/lib/module/components/Poll/components/MultipleVotesSettings.js +5 -3
- package/lib/module/components/Poll/components/MultipleVotesSettings.js.map +1 -1
- package/lib/module/components/Poll/components/PollAnswersList.js +5 -3
- package/lib/module/components/Poll/components/PollAnswersList.js.map +1 -1
- package/lib/module/components/Poll/components/PollInputDialog.js +2 -1
- package/lib/module/components/Poll/components/PollInputDialog.js.map +1 -1
- package/lib/module/components/Poll/components/PollOption.js +5 -3
- package/lib/module/components/Poll/components/PollOption.js.map +1 -1
- package/lib/module/components/Poll/components/PollResults/PollOptionFullResults.js +5 -5
- package/lib/module/components/Poll/components/PollResults/PollOptionFullResults.js.map +1 -1
- package/lib/module/components/Poll/components/PollResults/PollResults.js +5 -3
- package/lib/module/components/Poll/components/PollResults/PollResults.js.map +1 -1
- package/lib/module/components/Reply/Reply.js +11 -4
- package/lib/module/components/Reply/Reply.js.map +1 -1
- package/lib/module/components/Thread/Thread.js +4 -8
- package/lib/module/components/Thread/Thread.js.map +1 -1
- package/lib/module/components/Thread/components/ThreadFooterComponent.js +4 -6
- package/lib/module/components/Thread/components/ThreadFooterComponent.js.map +1 -1
- package/lib/module/components/ThreadList/ThreadList.js +12 -15
- package/lib/module/components/ThreadList/ThreadList.js.map +1 -1
- package/lib/module/components/ThreadList/ThreadListItem.js +8 -11
- package/lib/module/components/ThreadList/ThreadListItem.js.map +1 -1
- package/lib/module/components/ui/Avatar/Avatar.js +3 -3
- package/lib/module/components/ui/Avatar/Avatar.js.map +1 -1
- package/lib/module/contexts/attachmentPickerContext/AttachmentPickerContext.js.map +1 -1
- package/lib/module/contexts/channelContext/ChannelContext.js.map +1 -1
- package/lib/module/contexts/channelsContext/ChannelsContext.js.map +1 -1
- package/lib/module/contexts/chatContext/ChatContext.js.map +1 -1
- package/lib/module/contexts/componentsContext/ComponentsContext.js +37 -0
- package/lib/module/contexts/componentsContext/ComponentsContext.js.map +1 -0
- package/lib/module/contexts/componentsContext/PLAN.md +148 -0
- package/lib/module/contexts/componentsContext/defaultComponents.js +286 -0
- package/lib/module/contexts/componentsContext/defaultComponents.js.map +1 -0
- package/lib/module/contexts/imageGalleryContext/ImageGalleryContext.js +1 -9
- package/lib/module/contexts/imageGalleryContext/ImageGalleryContext.js.map +1 -1
- package/lib/module/contexts/imageGalleryContext/ImageGalleryContextBase.js.map +1 -1
- package/lib/module/contexts/index.js +11 -0
- package/lib/module/contexts/index.js.map +1 -1
- package/lib/module/contexts/messageInputContext/MessageInputContext.js.map +1 -1
- package/lib/module/contexts/messageInputContext/hooks/useCreateMessageInputContext.js +2 -76
- package/lib/module/contexts/messageInputContext/hooks/useCreateMessageInputContext.js.map +1 -1
- package/lib/module/contexts/messagesContext/MessagesContext.js.map +1 -1
- package/lib/module/contexts/overlayContext/MessageOverlayHostLayer.js +7 -5
- package/lib/module/contexts/overlayContext/MessageOverlayHostLayer.js.map +1 -1
- package/lib/module/contexts/overlayContext/OverlayContext.js.map +1 -1
- package/lib/module/contexts/overlayContext/OverlayProvider.js +1 -4
- package/lib/module/contexts/overlayContext/OverlayProvider.js.map +1 -1
- package/lib/module/contexts/threadsContext/ThreadsContext.js.map +1 -1
- package/lib/module/hooks/messagePreview/useMessagePreviewText.js +28 -13
- package/lib/module/hooks/messagePreview/useMessagePreviewText.js.map +1 -1
- package/lib/module/i18n/en.json +20 -0
- package/lib/module/i18n/es.json +20 -0
- package/lib/module/i18n/fr.json +20 -0
- package/lib/module/i18n/he.json +20 -0
- package/lib/module/i18n/hi.json +20 -0
- package/lib/module/i18n/it.json +20 -0
- package/lib/module/i18n/ja.json +20 -0
- package/lib/module/i18n/ko.json +20 -0
- package/lib/module/i18n/nl.json +20 -0
- package/lib/module/i18n/pt-br.json +20 -0
- package/lib/module/i18n/ru.json +20 -0
- package/lib/module/i18n/tr.json +20 -0
- package/lib/module/icons/arrow-up-right.js +10 -6
- package/lib/module/icons/arrow-up-right.js.map +1 -1
- package/lib/module/icons/audio.js +10 -6
- package/lib/module/icons/audio.js.map +1 -1
- package/lib/module/icons/chevron-left.js +10 -6
- package/lib/module/icons/chevron-left.js.map +1 -1
- package/lib/module/icons/leave.js +10 -6
- package/lib/module/icons/leave.js.map +1 -1
- package/lib/module/icons/message-bubble.js +10 -6
- package/lib/module/icons/message-bubble.js.map +1 -1
- package/lib/module/icons/mute.js +11 -7
- package/lib/module/icons/mute.js.map +1 -1
- package/lib/module/icons/reply.js +10 -6
- package/lib/module/icons/reply.js.map +1 -1
- package/lib/module/icons/search.js +11 -7
- package/lib/module/icons/search.js.map +1 -1
- package/lib/module/icons/send.js +11 -7
- package/lib/module/icons/send.js.map +1 -1
- package/lib/module/icons/thread.js +10 -6
- package/lib/module/icons/thread.js.map +1 -1
- package/lib/module/icons/video-fill.js +2 -0
- package/lib/module/icons/video-fill.js.map +1 -1
- package/lib/module/icons/video.js +10 -6
- package/lib/module/icons/video.js.map +1 -1
- package/lib/module/utils/rtlMirrorSwitchStyle.js +20 -0
- package/lib/module/utils/rtlMirrorSwitchStyle.js.map +1 -0
- package/lib/module/version.json +1 -1
- package/lib/typescript/components/Attachment/Attachment.d.ts +1 -1
- package/lib/typescript/components/Attachment/Attachment.d.ts.map +1 -1
- package/lib/typescript/components/Attachment/FileAttachment.d.ts +1 -1
- package/lib/typescript/components/Attachment/FileAttachment.d.ts.map +1 -1
- package/lib/typescript/components/Attachment/FileAttachmentGroup.d.ts +1 -2
- package/lib/typescript/components/Attachment/FileAttachmentGroup.d.ts.map +1 -1
- package/lib/typescript/components/Attachment/FilePreview.d.ts +2 -3
- package/lib/typescript/components/Attachment/FilePreview.d.ts.map +1 -1
- package/lib/typescript/components/Attachment/Gallery.d.ts +1 -1
- package/lib/typescript/components/Attachment/Gallery.d.ts.map +1 -1
- package/lib/typescript/components/Attachment/GalleryImage.d.ts +3 -2
- package/lib/typescript/components/Attachment/GalleryImage.d.ts.map +1 -1
- package/lib/typescript/components/Attachment/Giphy/GiphyImage.d.ts +4 -2
- package/lib/typescript/components/Attachment/Giphy/GiphyImage.d.ts.map +1 -1
- package/lib/typescript/components/Attachment/UnsupportedAttachment.d.ts +2 -3
- package/lib/typescript/components/Attachment/UnsupportedAttachment.d.ts.map +1 -1
- package/lib/typescript/components/Attachment/UrlPreview/URLPreview.d.ts +4 -3
- package/lib/typescript/components/Attachment/UrlPreview/URLPreview.d.ts.map +1 -1
- package/lib/typescript/components/Attachment/UrlPreview/URLPreviewCompact.d.ts +4 -3
- package/lib/typescript/components/Attachment/UrlPreview/URLPreviewCompact.d.ts.map +1 -1
- package/lib/typescript/components/AttachmentPicker/AttachmentPicker.d.ts.map +1 -1
- package/lib/typescript/components/AttachmentPicker/components/AttachmentMediaPicker/AttachmentPickerItem.d.ts.map +1 -1
- package/lib/typescript/components/AutoCompleteInput/AutoCompleteSuggestionList.d.ts +2 -3
- package/lib/typescript/components/AutoCompleteInput/AutoCompleteSuggestionList.d.ts.map +1 -1
- package/lib/typescript/components/Channel/Channel.d.ts +3 -28
- package/lib/typescript/components/Channel/Channel.d.ts.map +1 -1
- package/lib/typescript/components/Channel/hooks/useCreateChannelContext.d.ts +1 -1
- package/lib/typescript/components/Channel/hooks/useCreateChannelContext.d.ts.map +1 -1
- package/lib/typescript/components/Channel/hooks/useCreateInputMessageInputContext.d.ts +1 -1
- package/lib/typescript/components/Channel/hooks/useCreateInputMessageInputContext.d.ts.map +1 -1
- package/lib/typescript/components/Channel/hooks/useCreateMessagesContext.d.ts +1 -1
- package/lib/typescript/components/Channel/hooks/useCreateMessagesContext.d.ts.map +1 -1
- package/lib/typescript/components/Channel/hooks/useMessageListPagination.d.ts.map +1 -1
- package/lib/typescript/components/ChannelList/ChannelList.d.ts +2 -10
- package/lib/typescript/components/ChannelList/ChannelList.d.ts.map +1 -1
- package/lib/typescript/components/ChannelList/ChannelListLoadingIndicator.d.ts.map +1 -1
- package/lib/typescript/components/ChannelList/ChannelListView.d.ts +1 -1
- package/lib/typescript/components/ChannelList/ChannelListView.d.ts.map +1 -1
- package/lib/typescript/components/ChannelList/hooks/useCreateChannelsContext.d.ts +1 -1
- package/lib/typescript/components/ChannelList/hooks/useCreateChannelsContext.d.ts.map +1 -1
- package/lib/typescript/components/ChannelPreview/ChannelDetailsBottomSheet.d.ts +1 -2
- package/lib/typescript/components/ChannelPreview/ChannelDetailsBottomSheet.d.ts.map +1 -1
- package/lib/typescript/components/ChannelPreview/ChannelPreview.d.ts +1 -1
- package/lib/typescript/components/ChannelPreview/ChannelPreview.d.ts.map +1 -1
- package/lib/typescript/components/ChannelPreview/ChannelPreviewMessage.d.ts +1 -2
- package/lib/typescript/components/ChannelPreview/ChannelPreviewMessage.d.ts.map +1 -1
- package/lib/typescript/components/ChannelPreview/ChannelPreviewView.d.ts +1 -1
- package/lib/typescript/components/ChannelPreview/ChannelPreviewView.d.ts.map +1 -1
- package/lib/typescript/components/ChannelPreview/ChannelSwipableWrapper.d.ts +1 -3
- package/lib/typescript/components/ChannelPreview/ChannelSwipableWrapper.d.ts.map +1 -1
- package/lib/typescript/components/Chat/Chat.d.ts +1 -7
- package/lib/typescript/components/Chat/Chat.d.ts.map +1 -1
- package/lib/typescript/components/Chat/hooks/useCreateChatContext.d.ts +1 -1
- package/lib/typescript/components/Chat/hooks/useCreateChatContext.d.ts.map +1 -1
- package/lib/typescript/components/ImageGallery/ImageGallery.d.ts +6 -1
- package/lib/typescript/components/ImageGallery/ImageGallery.d.ts.map +1 -1
- package/lib/typescript/components/ImageGallery/components/ImageGalleryFooter.d.ts.map +1 -1
- package/lib/typescript/components/ImageGallery/components/types.d.ts +0 -2
- package/lib/typescript/components/ImageGallery/components/types.d.ts.map +1 -1
- package/lib/typescript/components/Message/Message.d.ts +1 -1
- package/lib/typescript/components/Message/Message.d.ts.map +1 -1
- package/lib/typescript/components/Message/MessageItemView/MessageBubble.d.ts +1 -2
- package/lib/typescript/components/Message/MessageItemView/MessageBubble.d.ts.map +1 -1
- package/lib/typescript/components/Message/MessageItemView/MessageContent.d.ts +1 -1
- package/lib/typescript/components/Message/MessageItemView/MessageContent.d.ts.map +1 -1
- package/lib/typescript/components/Message/MessageItemView/MessageDeleted.d.ts +1 -2
- package/lib/typescript/components/Message/MessageItemView/MessageDeleted.d.ts.map +1 -1
- package/lib/typescript/components/Message/MessageItemView/MessageFooter.d.ts +0 -2
- package/lib/typescript/components/Message/MessageItemView/MessageFooter.d.ts.map +1 -1
- package/lib/typescript/components/Message/MessageItemView/MessageHeader.d.ts.map +1 -1
- package/lib/typescript/components/Message/MessageItemView/MessageItemView.d.ts +1 -1
- package/lib/typescript/components/Message/MessageItemView/MessageItemView.d.ts.map +1 -1
- package/lib/typescript/components/Message/MessageItemView/MessageReplies.d.ts +1 -2
- package/lib/typescript/components/Message/MessageItemView/MessageReplies.d.ts.map +1 -1
- package/lib/typescript/components/Message/MessageItemView/MessageTextContainer.d.ts +1 -1
- package/lib/typescript/components/Message/MessageItemView/MessageTextContainer.d.ts.map +1 -1
- package/lib/typescript/components/Message/MessageItemView/MessageWrapper.d.ts.map +1 -1
- package/lib/typescript/components/Message/MessageItemView/ReactionList/ReactionListBottom.d.ts +1 -1
- package/lib/typescript/components/Message/MessageItemView/ReactionList/ReactionListBottom.d.ts.map +1 -1
- package/lib/typescript/components/Message/MessageItemView/ReactionList/ReactionListTop.d.ts +1 -1
- package/lib/typescript/components/Message/MessageItemView/ReactionList/ReactionListTop.d.ts.map +1 -1
- package/lib/typescript/components/Message/MessageItemView/utils/renderText.d.ts.map +1 -1
- package/lib/typescript/components/MessageInput/MessageComposer.d.ts +1 -2
- package/lib/typescript/components/MessageInput/MessageComposer.d.ts.map +1 -1
- package/lib/typescript/components/MessageInput/components/AttachmentPreview/AttachmentUploadPreviewList.d.ts +3 -4
- package/lib/typescript/components/MessageInput/components/AttachmentPreview/AttachmentUploadPreviewList.d.ts.map +1 -1
- package/lib/typescript/components/MessageInput/components/AudioRecorder/AudioRecordingInProgress.d.ts +1 -1
- package/lib/typescript/components/MessageInput/components/AudioRecorder/AudioRecordingInProgress.d.ts.map +1 -1
- package/lib/typescript/components/MessageInput/components/InputButtons/index.d.ts +1 -1
- package/lib/typescript/components/MessageInput/components/InputButtons/index.d.ts.map +1 -1
- package/lib/typescript/components/MessageInput/components/LinkPreviewList.d.ts.map +1 -1
- package/lib/typescript/components/MessageInput/components/OutputButtons/index.d.ts +1 -1
- package/lib/typescript/components/MessageInput/components/OutputButtons/index.d.ts.map +1 -1
- package/lib/typescript/components/MessageList/MessageFlashList.d.ts +1 -1
- package/lib/typescript/components/MessageList/MessageFlashList.d.ts.map +1 -1
- package/lib/typescript/components/MessageList/MessageList.d.ts +1 -1
- package/lib/typescript/components/MessageList/MessageList.d.ts.map +1 -1
- package/lib/typescript/components/MessageList/StickyHeader.d.ts +2 -3
- package/lib/typescript/components/MessageList/StickyHeader.d.ts.map +1 -1
- package/lib/typescript/components/MessageMenu/MessageActionList.d.ts +1 -2
- package/lib/typescript/components/MessageMenu/MessageActionList.d.ts.map +1 -1
- package/lib/typescript/components/MessageMenu/MessageMenu.d.ts +1 -2
- package/lib/typescript/components/MessageMenu/MessageMenu.d.ts.map +1 -1
- package/lib/typescript/components/MessageMenu/MessageUserReactions.d.ts +1 -1
- package/lib/typescript/components/MessageMenu/MessageUserReactions.d.ts.map +1 -1
- package/lib/typescript/components/MessageMenu/MessageUserReactionsItem.d.ts +2 -3
- package/lib/typescript/components/MessageMenu/MessageUserReactionsItem.d.ts.map +1 -1
- package/lib/typescript/components/Poll/CreatePollContent.d.ts +2 -2
- package/lib/typescript/components/Poll/CreatePollContent.d.ts.map +1 -1
- package/lib/typescript/components/Poll/Poll.d.ts +5 -8
- package/lib/typescript/components/Poll/Poll.d.ts.map +1 -1
- package/lib/typescript/components/Poll/components/MultipleVotesSettings.d.ts.map +1 -1
- package/lib/typescript/components/Poll/components/PollAnswersList.d.ts +1 -2
- package/lib/typescript/components/Poll/components/PollAnswersList.d.ts.map +1 -1
- package/lib/typescript/components/Poll/components/PollOption.d.ts +1 -2
- package/lib/typescript/components/Poll/components/PollOption.d.ts.map +1 -1
- package/lib/typescript/components/Poll/components/PollResults/PollOptionFullResults.d.ts +1 -4
- package/lib/typescript/components/Poll/components/PollResults/PollOptionFullResults.d.ts.map +1 -1
- package/lib/typescript/components/Poll/components/PollResults/PollResults.d.ts +1 -2
- package/lib/typescript/components/Poll/components/PollResults/PollResults.d.ts.map +1 -1
- package/lib/typescript/components/Reply/Reply.d.ts +4 -3
- package/lib/typescript/components/Reply/Reply.d.ts.map +1 -1
- package/lib/typescript/components/Thread/Thread.d.ts +2 -8
- package/lib/typescript/components/Thread/Thread.d.ts.map +1 -1
- package/lib/typescript/components/Thread/components/ThreadFooterComponent.d.ts +1 -2
- package/lib/typescript/components/Thread/components/ThreadFooterComponent.d.ts.map +1 -1
- package/lib/typescript/components/ThreadList/ThreadList.d.ts +2 -3
- package/lib/typescript/components/ThreadList/ThreadList.d.ts.map +1 -1
- package/lib/typescript/components/ThreadList/ThreadListItem.d.ts.map +1 -1
- package/lib/typescript/contexts/attachmentPickerContext/AttachmentPickerContext.d.ts +0 -17
- package/lib/typescript/contexts/attachmentPickerContext/AttachmentPickerContext.d.ts.map +1 -1
- package/lib/typescript/contexts/channelContext/ChannelContext.d.ts +0 -23
- package/lib/typescript/contexts/channelContext/ChannelContext.d.ts.map +1 -1
- package/lib/typescript/contexts/channelsContext/ChannelsContext.d.ts +0 -112
- package/lib/typescript/contexts/channelsContext/ChannelsContext.d.ts.map +1 -1
- package/lib/typescript/contexts/chatContext/ChatContext.d.ts +0 -5
- package/lib/typescript/contexts/chatContext/ChatContext.d.ts.map +1 -1
- package/lib/typescript/contexts/componentsContext/ComponentsContext.d.ts +321 -0
- package/lib/typescript/contexts/componentsContext/ComponentsContext.d.ts.map +1 -0
- package/lib/typescript/contexts/componentsContext/defaultComponents.d.ts +296 -0
- package/lib/typescript/contexts/componentsContext/defaultComponents.d.ts.map +1 -0
- package/lib/typescript/contexts/imageGalleryContext/ImageGalleryContext.d.ts.map +1 -1
- package/lib/typescript/contexts/imageGalleryContext/ImageGalleryContextBase.d.ts +0 -5
- package/lib/typescript/contexts/imageGalleryContext/ImageGalleryContextBase.d.ts.map +1 -1
- package/lib/typescript/contexts/index.d.ts +1 -0
- package/lib/typescript/contexts/index.d.ts.map +1 -1
- package/lib/typescript/contexts/messageInputContext/MessageInputContext.d.ts +1 -169
- package/lib/typescript/contexts/messageInputContext/MessageInputContext.d.ts.map +1 -1
- package/lib/typescript/contexts/messageInputContext/hooks/useCreateMessageInputContext.d.ts +1 -1
- package/lib/typescript/contexts/messageInputContext/hooks/useCreateMessageInputContext.d.ts.map +1 -1
- package/lib/typescript/contexts/messagesContext/MessagesContext.d.ts +3 -332
- package/lib/typescript/contexts/messagesContext/MessagesContext.d.ts.map +1 -1
- package/lib/typescript/contexts/overlayContext/MessageOverlayHostLayer.d.ts +2 -5
- package/lib/typescript/contexts/overlayContext/MessageOverlayHostLayer.d.ts.map +1 -1
- package/lib/typescript/contexts/overlayContext/OverlayContext.d.ts +0 -4
- package/lib/typescript/contexts/overlayContext/OverlayContext.d.ts.map +1 -1
- package/lib/typescript/contexts/overlayContext/OverlayProvider.d.ts.map +1 -1
- package/lib/typescript/contexts/threadsContext/ThreadsContext.d.ts +0 -9
- package/lib/typescript/contexts/threadsContext/ThreadsContext.d.ts.map +1 -1
- package/lib/typescript/hooks/messagePreview/useMessagePreviewText.d.ts.map +1 -1
- package/lib/typescript/i18n/en.json +20 -0
- package/lib/typescript/i18n/es.json +20 -0
- package/lib/typescript/i18n/fr.json +20 -0
- package/lib/typescript/i18n/he.json +20 -0
- package/lib/typescript/i18n/hi.json +20 -0
- package/lib/typescript/i18n/it.json +20 -0
- package/lib/typescript/i18n/ja.json +20 -0
- package/lib/typescript/i18n/ko.json +20 -0
- package/lib/typescript/i18n/nl.json +20 -0
- package/lib/typescript/i18n/pt-br.json +20 -0
- package/lib/typescript/i18n/ru.json +20 -0
- package/lib/typescript/i18n/tr.json +20 -0
- package/lib/typescript/icons/arrow-up-right.d.ts.map +1 -1
- package/lib/typescript/icons/audio.d.ts.map +1 -1
- package/lib/typescript/icons/chevron-left.d.ts.map +1 -1
- package/lib/typescript/icons/leave.d.ts.map +1 -1
- package/lib/typescript/icons/message-bubble.d.ts.map +1 -1
- package/lib/typescript/icons/mute.d.ts.map +1 -1
- package/lib/typescript/icons/reply.d.ts.map +1 -1
- package/lib/typescript/icons/search.d.ts.map +1 -1
- package/lib/typescript/icons/send.d.ts.map +1 -1
- package/lib/typescript/icons/thread.d.ts.map +1 -1
- package/lib/typescript/icons/video-fill.d.ts.map +1 -1
- package/lib/typescript/icons/video.d.ts.map +1 -1
- package/lib/typescript/utils/i18n/Streami18n.d.ts +20 -0
- package/lib/typescript/utils/i18n/Streami18n.d.ts.map +1 -1
- package/lib/typescript/utils/rtlMirrorSwitchStyle.d.ts +9 -0
- package/lib/typescript/utils/rtlMirrorSwitchStyle.d.ts.map +1 -0
- package/package.json +1 -1
- package/src/__tests__/offline-support/offline-feature.js +64 -67
- package/src/components/Attachment/Attachment.tsx +7 -69
- package/src/components/Attachment/FileAttachment.tsx +4 -7
- package/src/components/Attachment/FileAttachmentGroup.tsx +9 -19
- package/src/components/Attachment/FilePreview.tsx +4 -9
- package/src/components/Attachment/Gallery.tsx +6 -83
- package/src/components/Attachment/GalleryImage.tsx +5 -4
- package/src/components/Attachment/Giphy/GiphyImage.tsx +15 -37
- package/src/components/Attachment/UnsupportedAttachment.tsx +5 -10
- package/src/components/Attachment/UrlPreview/URLPreview.tsx +6 -4
- package/src/components/Attachment/UrlPreview/URLPreviewCompact.tsx +6 -4
- package/src/components/AttachmentPicker/AttachmentPicker.tsx +2 -2
- package/src/components/AttachmentPicker/components/AttachmentMediaPicker/AttachmentPickerItem.tsx +5 -4
- package/src/components/AutoCompleteInput/AutoCompleteSuggestionList.tsx +4 -20
- package/src/components/Channel/Channel.tsx +31 -438
- package/src/components/Channel/__tests__/isAttachmentEqualHandler.test.js +12 -9
- package/src/components/Channel/hooks/useCreateChannelContext.ts +0 -8
- package/src/components/Channel/hooks/useCreateInputMessageInputContext.ts +1 -81
- package/src/components/Channel/hooks/useCreateMessagesContext.ts +0 -130
- package/src/components/ChannelList/ChannelList.tsx +3 -76
- package/src/components/ChannelList/ChannelListLoadingIndicator.tsx +3 -1
- package/src/components/ChannelList/ChannelListView.tsx +12 -33
- package/src/components/ChannelList/__tests__/ChannelList.test.js +173 -116
- package/src/components/ChannelList/__tests__/ChannelListView.test.js +64 -41
- package/src/components/ChannelList/hooks/useCreateChannelsContext.ts +0 -39
- package/src/components/ChannelPreview/ChannelDetailsBottomSheet.tsx +2 -2
- package/src/components/ChannelPreview/ChannelPreview.tsx +6 -14
- package/src/components/ChannelPreview/ChannelPreviewMessage.tsx +7 -33
- package/src/components/ChannelPreview/ChannelPreviewView.tsx +11 -40
- package/src/components/ChannelPreview/ChannelSwipableWrapper.tsx +2 -4
- package/src/components/ChannelPreview/__tests__/ChannelDetailsBottomSheet.test.tsx +16 -12
- package/src/components/ChannelPreview/__tests__/ChannelPreview.test.tsx +25 -24
- package/src/components/ChannelPreview/__tests__/ChannelSwipableWrapper.test.tsx +11 -6
- package/src/components/Chat/Chat.tsx +5 -12
- package/src/components/Chat/hooks/useCreateChatContext.ts +0 -2
- package/src/components/ImageGallery/ImageGallery.tsx +14 -16
- package/src/components/ImageGallery/__tests__/ImageGallery.test.tsx +0 -8
- package/src/components/ImageGallery/__tests__/ImageGalleryFooter.test.tsx +25 -21
- package/src/components/ImageGallery/components/ImageGalleryFooter.tsx +3 -1
- package/src/components/ImageGallery/components/types.ts +0 -3
- package/src/components/Message/Message.tsx +11 -32
- package/src/components/Message/MessageItemView/MessageBubble.tsx +11 -7
- package/src/components/Message/MessageItemView/MessageContent.tsx +14 -47
- package/src/components/Message/MessageItemView/MessageDeleted.tsx +3 -9
- package/src/components/Message/MessageItemView/MessageFooter.tsx +2 -14
- package/src/components/Message/MessageItemView/MessageHeader.tsx +11 -29
- package/src/components/Message/MessageItemView/MessageItemView.tsx +10 -42
- package/src/components/Message/MessageItemView/MessageReplies.tsx +2 -8
- package/src/components/Message/MessageItemView/MessageTextContainer.tsx +4 -8
- package/src/components/Message/MessageItemView/MessageWrapper.tsx +4 -9
- package/src/components/Message/MessageItemView/ReactionList/ReactionListBottom.tsx +4 -12
- package/src/components/Message/MessageItemView/ReactionList/ReactionListTop.tsx +4 -20
- package/src/components/Message/MessageItemView/__tests__/MessageContent.test.js +47 -30
- package/src/components/Message/MessageItemView/__tests__/MessageItemView.test.js +16 -7
- package/src/components/Message/MessageItemView/__tests__/MessageTextContainer.test.tsx +8 -4
- package/src/components/Message/MessageItemView/__tests__/__snapshots__/MessageTextContainer.test.tsx.snap +1 -0
- package/src/components/Message/MessageItemView/utils/renderText.tsx +2 -0
- package/src/components/MessageInput/MessageComposer.tsx +16 -76
- package/src/components/MessageInput/MessageInputHeaderView.tsx +3 -3
- package/src/components/MessageInput/__tests__/__snapshots__/SendButton.test.js.snap +54 -36
- package/src/components/MessageInput/components/AttachmentPreview/AttachmentUploadPreviewList.tsx +7 -35
- package/src/components/MessageInput/components/AttachmentPreview/FileAttachmentUploadPreview.tsx +2 -2
- package/src/components/MessageInput/components/AttachmentPreview/ImageAttachmentUploadPreview.tsx +2 -2
- package/src/components/MessageInput/components/AudioRecorder/AudioRecordingInProgress.tsx +6 -4
- package/src/components/MessageInput/components/InputButtons/index.tsx +4 -5
- package/src/components/MessageInput/components/LinkPreviewList.tsx +3 -2
- package/src/components/MessageInput/components/OutputButtons/index.tsx +4 -23
- package/src/components/MessageList/MessageFlashList.tsx +13 -57
- package/src/components/MessageList/MessageList.tsx +15 -57
- package/src/components/MessageList/StickyHeader.tsx +4 -3
- package/src/components/MessageMenu/MessageActionList.tsx +4 -3
- package/src/components/MessageMenu/MessageMenu.tsx +35 -47
- package/src/components/MessageMenu/MessageUserReactions.tsx +7 -27
- package/src/components/MessageMenu/MessageUserReactionsItem.tsx +3 -6
- package/src/components/MessageMenu/__tests__/MessageUserReactions.test.tsx +12 -11
- package/src/components/Poll/CreatePollContent.tsx +7 -6
- package/src/components/Poll/Poll.tsx +22 -24
- package/src/components/Poll/components/MultipleAnswersField.tsx +4 -3
- package/src/components/Poll/components/MultipleVotesSettings.tsx +4 -2
- package/src/components/Poll/components/PollAnswersList.tsx +9 -11
- package/src/components/Poll/components/PollInputDialog.tsx +1 -0
- package/src/components/Poll/components/PollOption.tsx +9 -11
- package/src/components/Poll/components/PollResults/PollOptionFullResults.tsx +10 -11
- package/src/components/Poll/components/PollResults/PollResults.tsx +9 -15
- package/src/components/Reply/Reply.tsx +25 -10
- package/src/components/Thread/Thread.tsx +3 -18
- package/src/components/Thread/__tests__/__snapshots__/Thread.test.js.snap +31 -18
- package/src/components/Thread/components/ThreadFooterComponent.tsx +10 -11
- package/src/components/ThreadList/ThreadList.tsx +14 -22
- package/src/components/ThreadList/ThreadListItem.tsx +6 -11
- package/src/components/ui/Avatar/Avatar.tsx +2 -2
- package/src/contexts/attachmentPickerContext/AttachmentPickerContext.tsx +0 -15
- package/src/contexts/channelContext/ChannelContext.tsx +0 -24
- package/src/contexts/channelsContext/ChannelsContext.tsx +0 -113
- package/src/contexts/chatContext/ChatContext.tsx +0 -5
- package/src/contexts/componentsContext/ComponentsContext.tsx +62 -0
- package/src/contexts/componentsContext/PLAN.md +148 -0
- package/src/contexts/componentsContext/__tests__/defaultComponents.test.ts +44 -0
- package/src/contexts/componentsContext/defaultComponents.ts +332 -0
- package/src/contexts/imageGalleryContext/ImageGalleryContext.tsx +0 -8
- package/src/contexts/imageGalleryContext/ImageGalleryContextBase.tsx +0 -10
- package/src/contexts/index.ts +1 -0
- package/src/contexts/messageInputContext/MessageInputContext.tsx +0 -185
- package/src/contexts/messageInputContext/hooks/useCreateMessageInputContext.ts +1 -75
- package/src/contexts/messagesContext/MessagesContext.tsx +3 -358
- package/src/contexts/overlayContext/MessageOverlayHostLayer.tsx +5 -7
- package/src/contexts/overlayContext/OverlayContext.tsx +0 -4
- package/src/contexts/overlayContext/OverlayProvider.tsx +1 -2
- package/src/contexts/overlayContext/__tests__/MessageOverlayHostLayer.test.tsx +21 -6
- package/src/contexts/threadsContext/ThreadsContext.tsx +0 -9
- package/src/hooks/messagePreview/useMessagePreviewText.tsx +17 -13
- package/src/i18n/en.json +20 -0
- package/src/i18n/es.json +20 -0
- package/src/i18n/fr.json +20 -0
- package/src/i18n/he.json +20 -0
- package/src/i18n/hi.json +20 -0
- package/src/i18n/it.json +20 -0
- package/src/i18n/ja.json +20 -0
- package/src/i18n/ko.json +20 -0
- package/src/i18n/nl.json +20 -0
- package/src/i18n/pt-br.json +20 -0
- package/src/i18n/ru.json +20 -0
- package/src/i18n/tr.json +20 -0
- package/src/icons/arrow-up-right.tsx +11 -8
- package/src/icons/audio.tsx +11 -8
- package/src/icons/chevron-left.tsx +11 -8
- package/src/icons/leave.tsx +11 -8
- package/src/icons/message-bubble.tsx +11 -8
- package/src/icons/mute.tsx +12 -9
- package/src/icons/reply.tsx +11 -8
- package/src/icons/search.tsx +12 -9
- package/src/icons/send.tsx +12 -9
- package/src/icons/thread.tsx +11 -8
- package/src/icons/video-fill.tsx +5 -1
- package/src/icons/video.tsx +11 -8
- package/src/utils/rtlMirrorSwitchStyle.ts +20 -0
- package/src/version.json +1 -1
|
@@ -4,6 +4,7 @@ import { Text } from 'react-native';
|
|
|
4
4
|
import { act, render } from '@testing-library/react-native';
|
|
5
5
|
import type { Channel } from 'stream-chat';
|
|
6
6
|
|
|
7
|
+
import { WithComponents } from '../../../contexts/componentsContext/ComponentsContext';
|
|
7
8
|
import type { ChannelActionItem } from '../../ChannelList/hooks/useChannelActionItems';
|
|
8
9
|
import * as ChannelActionItemsModule from '../../ChannelList/hooks/useChannelActionItems';
|
|
9
10
|
import * as ChannelActionsModule from '../../ChannelList/hooks/useChannelActions';
|
|
@@ -115,9 +116,11 @@ describe('ChannelSwipableWrapper', () => {
|
|
|
115
116
|
});
|
|
116
117
|
|
|
117
118
|
render(
|
|
118
|
-
<
|
|
119
|
-
<
|
|
120
|
-
|
|
119
|
+
<WithComponents overrides={{ ChannelDetailsBottomSheet: customBottomSheet }}>
|
|
120
|
+
<ChannelSwipableWrapper channel={channel}>
|
|
121
|
+
<Text>child</Text>
|
|
122
|
+
</ChannelSwipableWrapper>
|
|
123
|
+
</WithComponents>,
|
|
121
124
|
);
|
|
122
125
|
|
|
123
126
|
expect(customBottomSheet).toHaveBeenCalledWith(
|
|
@@ -181,9 +184,11 @@ describe('ChannelSwipableWrapper', () => {
|
|
|
181
184
|
});
|
|
182
185
|
|
|
183
186
|
render(
|
|
184
|
-
<
|
|
185
|
-
<
|
|
186
|
-
|
|
187
|
+
<WithComponents overrides={{ ChannelDetailsBottomSheet: customBottomSheet }}>
|
|
188
|
+
<ChannelSwipableWrapper channel={channel}>
|
|
189
|
+
<Text>child</Text>
|
|
190
|
+
</ChannelSwipableWrapper>
|
|
191
|
+
</WithComponents>,
|
|
187
192
|
);
|
|
188
193
|
|
|
189
194
|
expect(customBottomSheet).toHaveBeenCalledWith(
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { PropsWithChildren, useEffect, useMemo, useState } from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { Platform } from 'react-native';
|
|
3
3
|
|
|
4
4
|
import { Channel, OfflineDBState } from 'stream-chat';
|
|
5
5
|
|
|
@@ -10,6 +10,7 @@ import { useIsOnline } from './hooks/useIsOnline';
|
|
|
10
10
|
|
|
11
11
|
import { ChannelsStateProvider } from '../../contexts/channelsStateContext/ChannelsStateContext';
|
|
12
12
|
import { ChatContextValue, ChatProvider } from '../../contexts/chatContext/ChatContext';
|
|
13
|
+
import { useComponentsContext } from '../../contexts/componentsContext/ComponentsContext';
|
|
13
14
|
import { useDebugContext } from '../../contexts/debugContext/DebugContext';
|
|
14
15
|
import { DeepPartial, ThemeProvider, useTheme } from '../../contexts/themeContext/ThemeContext';
|
|
15
16
|
import type { Theme } from '../../contexts/themeContext/utils/theme';
|
|
@@ -30,7 +31,7 @@ import { version } from '../../version.json';
|
|
|
30
31
|
init();
|
|
31
32
|
|
|
32
33
|
export type ChatProps = Pick<ChatContextValue, 'client'> &
|
|
33
|
-
Partial<Pick<ChatContextValue, '
|
|
34
|
+
Partial<Pick<ChatContextValue, 'isMessageAIGenerated'>> & {
|
|
34
35
|
/**
|
|
35
36
|
* When false, ws connection won't be disconnection upon backgrounding the app.
|
|
36
37
|
* To receive push notifications, its necessary that user doesn't have active
|
|
@@ -94,12 +95,6 @@ export type ChatProps = Pick<ChatContextValue, 'client'> &
|
|
|
94
95
|
* ```
|
|
95
96
|
*/
|
|
96
97
|
i18nInstance?: Streami18n;
|
|
97
|
-
/**
|
|
98
|
-
* Custom loading indicator component to be used to represent the loading state of the chat.
|
|
99
|
-
*
|
|
100
|
-
* This can be used during the phase when db is not initialised.
|
|
101
|
-
*/
|
|
102
|
-
LoadingIndicator?: React.ComponentType | null;
|
|
103
98
|
/**
|
|
104
99
|
* You can pass the theme object to customize the styles of Chat components. You can check the default theme in [theme.ts](https://github.com/GetStream/stream-chat-react-native/blob/main/package/src/contexts/themeContext/utils/theme.ts)
|
|
105
100
|
*
|
|
@@ -144,11 +139,10 @@ const ChatWithContext = (props: PropsWithChildren<ChatProps>) => {
|
|
|
144
139
|
closeConnectionOnBackground = true,
|
|
145
140
|
enableOfflineSupport = false,
|
|
146
141
|
i18nInstance,
|
|
147
|
-
ImageComponent = Image,
|
|
148
142
|
isMessageAIGenerated,
|
|
149
|
-
LoadingIndicator = null,
|
|
150
143
|
style,
|
|
151
144
|
} = props;
|
|
145
|
+
const { ChatLoadingIndicator } = useComponentsContext();
|
|
152
146
|
|
|
153
147
|
const [channel, setChannel] = useState<Channel>();
|
|
154
148
|
|
|
@@ -257,7 +251,6 @@ const ChatWithContext = (props: PropsWithChildren<ChatProps>) => {
|
|
|
257
251
|
client,
|
|
258
252
|
connectionRecovering,
|
|
259
253
|
enableOfflineSupport,
|
|
260
|
-
ImageComponent,
|
|
261
254
|
isMessageAIGenerated,
|
|
262
255
|
isOnline,
|
|
263
256
|
mutedUsers,
|
|
@@ -266,7 +259,7 @@ const ChatWithContext = (props: PropsWithChildren<ChatProps>) => {
|
|
|
266
259
|
|
|
267
260
|
if (userID && enableOfflineSupport && !initialisedDatabase) {
|
|
268
261
|
// if user id has been set and offline support is enabled, we need to wait for database to be initialised
|
|
269
|
-
return
|
|
262
|
+
return ChatLoadingIndicator ? <ChatLoadingIndicator /> : null;
|
|
270
263
|
}
|
|
271
264
|
|
|
272
265
|
return (
|
|
@@ -8,7 +8,6 @@ export const useCreateChatContext = ({
|
|
|
8
8
|
client,
|
|
9
9
|
connectionRecovering,
|
|
10
10
|
enableOfflineSupport,
|
|
11
|
-
ImageComponent,
|
|
12
11
|
isMessageAIGenerated,
|
|
13
12
|
isOnline,
|
|
14
13
|
mutedUsers,
|
|
@@ -29,7 +28,6 @@ export const useCreateChatContext = ({
|
|
|
29
28
|
client,
|
|
30
29
|
connectionRecovering,
|
|
31
30
|
enableOfflineSupport,
|
|
32
|
-
ImageComponent,
|
|
33
31
|
isMessageAIGenerated,
|
|
34
32
|
isOnline,
|
|
35
33
|
mutedUsers,
|
|
@@ -13,9 +13,15 @@ import Animated, {
|
|
|
13
13
|
|
|
14
14
|
import { AnimatedGalleryImage } from './components/AnimatedGalleryImage';
|
|
15
15
|
import { AnimatedGalleryVideo } from './components/AnimatedGalleryVideo';
|
|
16
|
+
import type {
|
|
17
|
+
ImageGalleryFooterProps,
|
|
18
|
+
ImageGalleryGridProps,
|
|
19
|
+
ImageGalleryHeaderProps,
|
|
20
|
+
} from './components/types';
|
|
16
21
|
|
|
17
22
|
import { useImageGalleryGestures } from './hooks/useImageGalleryGestures';
|
|
18
23
|
|
|
24
|
+
import { useComponentsContext } from '../../contexts/componentsContext/ComponentsContext';
|
|
19
25
|
import {
|
|
20
26
|
ImageGalleryProviderProps,
|
|
21
27
|
useImageGalleryContext,
|
|
@@ -63,13 +69,13 @@ const imageGallerySelector = (state: ImageGalleryState) => ({
|
|
|
63
69
|
|
|
64
70
|
type ImageGalleryWithContextProps = Pick<
|
|
65
71
|
ImageGalleryProviderProps,
|
|
66
|
-
|
|
67
|
-
| 'ImageGalleryHeader'
|
|
68
|
-
| 'ImageGalleryFooter'
|
|
69
|
-
| 'ImageGalleryVideoControls'
|
|
70
|
-
| 'ImageGalleryGrid'
|
|
72
|
+
'numberOfImageGalleryGridColumns'
|
|
71
73
|
> &
|
|
72
|
-
Pick<OverlayContextValue, 'overlayOpacity'
|
|
74
|
+
Pick<OverlayContextValue, 'overlayOpacity'> & {
|
|
75
|
+
ImageGalleryHeader?: React.ComponentType<ImageGalleryHeaderProps>;
|
|
76
|
+
ImageGalleryFooter?: React.ComponentType<ImageGalleryFooterProps>;
|
|
77
|
+
ImageGalleryGrid?: React.ComponentType<ImageGalleryGridProps>;
|
|
78
|
+
};
|
|
73
79
|
|
|
74
80
|
export const ImageGalleryWithContext = (props: ImageGalleryWithContextProps) => {
|
|
75
81
|
const {
|
|
@@ -77,7 +83,6 @@ export const ImageGalleryWithContext = (props: ImageGalleryWithContextProps) =>
|
|
|
77
83
|
overlayOpacity,
|
|
78
84
|
ImageGalleryHeader,
|
|
79
85
|
ImageGalleryFooter,
|
|
80
|
-
ImageGalleryVideoControls,
|
|
81
86
|
ImageGalleryGrid,
|
|
82
87
|
} = props;
|
|
83
88
|
const [isGridViewVisible, setIsGridViewVisible] = useState(false);
|
|
@@ -345,7 +350,6 @@ export const ImageGalleryWithContext = (props: ImageGalleryWithContextProps) =>
|
|
|
345
350
|
opacity={headerFooterOpacity}
|
|
346
351
|
openGridView={openGridView}
|
|
347
352
|
visible={headerFooterVisible}
|
|
348
|
-
ImageGalleryVideoControls={ImageGalleryVideoControls}
|
|
349
353
|
/>
|
|
350
354
|
) : null}
|
|
351
355
|
|
|
@@ -370,13 +374,8 @@ export const ImageGalleryWithContext = (props: ImageGalleryWithContextProps) =>
|
|
|
370
374
|
export type ImageGalleryProps = Partial<ImageGalleryWithContextProps>;
|
|
371
375
|
|
|
372
376
|
export const ImageGallery = (props: ImageGalleryProps) => {
|
|
373
|
-
const {
|
|
374
|
-
|
|
375
|
-
ImageGalleryHeader,
|
|
376
|
-
ImageGalleryFooter,
|
|
377
|
-
ImageGalleryVideoControls,
|
|
378
|
-
ImageGalleryGrid,
|
|
379
|
-
} = useImageGalleryContext();
|
|
377
|
+
const { numberOfImageGalleryGridColumns } = useImageGalleryContext();
|
|
378
|
+
const { ImageGalleryHeader, ImageGalleryFooter, ImageGalleryGrid } = useComponentsContext();
|
|
380
379
|
const { overlayOpacity } = useOverlayContext();
|
|
381
380
|
return (
|
|
382
381
|
<ImageGalleryWithContext
|
|
@@ -384,7 +383,6 @@ export const ImageGallery = (props: ImageGalleryProps) => {
|
|
|
384
383
|
overlayOpacity={overlayOpacity}
|
|
385
384
|
ImageGalleryHeader={ImageGalleryHeader}
|
|
386
385
|
ImageGalleryFooter={ImageGalleryFooter}
|
|
387
|
-
ImageGalleryVideoControls={ImageGalleryVideoControls}
|
|
388
386
|
ImageGalleryGrid={ImageGalleryGrid}
|
|
389
387
|
{...props}
|
|
390
388
|
/>
|
|
@@ -9,10 +9,6 @@ import duration from 'dayjs/plugin/duration';
|
|
|
9
9
|
|
|
10
10
|
import { LocalMessage } from 'stream-chat';
|
|
11
11
|
|
|
12
|
-
import { ImageGalleryFooter as ImageGalleryFooterDefault } from '../../../components/ImageGallery/components/ImageGalleryFooter';
|
|
13
|
-
import { ImageGalleryHeader as ImageGalleryHeaderDefault } from '../../../components/ImageGallery/components/ImageGalleryHeader';
|
|
14
|
-
import { ImageGalleryVideoControl as ImageGalleryVideoControlDefault } from '../../../components/ImageGallery/components/ImageGalleryVideoControl';
|
|
15
|
-
import { ImageGalleryGrid as ImageGalleryGridDefault } from '../../../components/ImageGallery/components/ImageGrid';
|
|
16
12
|
import {
|
|
17
13
|
ImageGalleryContext,
|
|
18
14
|
ImageGalleryContextValue,
|
|
@@ -66,10 +62,6 @@ const ImageGalleryComponent = (props: ImageGalleryProps & { message: LocalMessag
|
|
|
66
62
|
value={
|
|
67
63
|
{
|
|
68
64
|
imageGalleryStateStore,
|
|
69
|
-
ImageGalleryHeader: ImageGalleryHeaderDefault,
|
|
70
|
-
ImageGalleryFooter: ImageGalleryFooterDefault,
|
|
71
|
-
ImageGalleryVideoControls: ImageGalleryVideoControlDefault,
|
|
72
|
-
ImageGalleryGrid: ImageGalleryGridDefault,
|
|
73
65
|
} as unknown as ImageGalleryContextValue
|
|
74
66
|
}
|
|
75
67
|
>
|
|
@@ -6,7 +6,7 @@ import { render, screen, userEvent, waitFor } from '@testing-library/react-nativ
|
|
|
6
6
|
|
|
7
7
|
import { Attachment, LocalMessage } from 'stream-chat';
|
|
8
8
|
|
|
9
|
-
import {
|
|
9
|
+
import { WithComponents } from '../../../contexts/componentsContext/ComponentsContext';
|
|
10
10
|
import {
|
|
11
11
|
ImageGalleryContext,
|
|
12
12
|
ImageGalleryContextValue,
|
|
@@ -60,16 +60,18 @@ const ImageGalleryComponentVideo = (props: ImageGalleryProps) => {
|
|
|
60
60
|
|
|
61
61
|
return (
|
|
62
62
|
<OverlayProvider value={{ overlayOpacity: { value: 1 } as SharedValue<number> }}>
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
63
|
+
{/* eslint-disable-next-line @typescript-eslint/no-explicit-any */}
|
|
64
|
+
<WithComponents overrides={{ ImageGalleryHeader: undefined as any }}>
|
|
65
|
+
<ImageGalleryContext.Provider
|
|
66
|
+
value={
|
|
67
|
+
{
|
|
68
|
+
imageGalleryStateStore,
|
|
69
|
+
} as unknown as ImageGalleryContextValue
|
|
70
|
+
}
|
|
71
|
+
>
|
|
72
|
+
<ImageGallery {...props} />
|
|
73
|
+
</ImageGalleryContext.Provider>
|
|
74
|
+
</WithComponents>
|
|
73
75
|
</OverlayProvider>
|
|
74
76
|
);
|
|
75
77
|
};
|
|
@@ -100,16 +102,18 @@ const ImageGalleryComponentImage = (
|
|
|
100
102
|
|
|
101
103
|
return (
|
|
102
104
|
<OverlayProvider value={{ overlayOpacity: { value: 1 } as SharedValue<number> }}>
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
105
|
+
{/* eslint-disable-next-line @typescript-eslint/no-explicit-any */}
|
|
106
|
+
<WithComponents overrides={{ ImageGalleryHeader: undefined as any }}>
|
|
107
|
+
<ImageGalleryContext.Provider
|
|
108
|
+
value={
|
|
109
|
+
{
|
|
110
|
+
imageGalleryStateStore,
|
|
111
|
+
} as unknown as ImageGalleryContextValue
|
|
112
|
+
}
|
|
113
|
+
>
|
|
114
|
+
<ImageGallery {...props} />
|
|
115
|
+
</ImageGalleryContext.Provider>
|
|
116
|
+
</WithComponents>
|
|
113
117
|
</OverlayProvider>
|
|
114
118
|
);
|
|
115
119
|
};
|
|
@@ -4,6 +4,7 @@ import Animated, { Extrapolation, interpolate, useAnimatedStyle } from 'react-na
|
|
|
4
4
|
|
|
5
5
|
import type { ImageGalleryFooterProps, ImageGalleryVideoControlProps } from './types';
|
|
6
6
|
|
|
7
|
+
import { useComponentsContext } from '../../../contexts/componentsContext/ComponentsContext';
|
|
7
8
|
import { useImageGalleryContext } from '../../../contexts/imageGalleryContext/ImageGalleryContextBase';
|
|
8
9
|
import { useTheme } from '../../../contexts/themeContext/ThemeContext';
|
|
9
10
|
import { useTranslationContext } from '../../../contexts/translationContext/TranslationContext';
|
|
@@ -42,7 +43,8 @@ const imageGallerySelector = (state: ImageGalleryState) => ({
|
|
|
42
43
|
});
|
|
43
44
|
|
|
44
45
|
export const ImageGalleryFooterWithContext = (props: ImageGalleryFooterProps) => {
|
|
45
|
-
const { accessibilityLabel, opacity, openGridView, visible
|
|
46
|
+
const { accessibilityLabel, opacity, openGridView, visible } = props;
|
|
47
|
+
const { ImageGalleryVideoControls } = useComponentsContext();
|
|
46
48
|
|
|
47
49
|
const [height, setHeight] = useState(200);
|
|
48
50
|
const [savingInProgress, setSavingInProgress] = useState(false);
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import type React from 'react';
|
|
2
|
-
|
|
3
1
|
import type { SharedValue } from 'react-native-reanimated';
|
|
4
2
|
|
|
5
3
|
export type ImageGalleryVideoControlProps = {
|
|
@@ -13,7 +11,6 @@ export type ImageGalleryHeaderProps = {
|
|
|
13
11
|
|
|
14
12
|
export type ImageGalleryFooterProps = {
|
|
15
13
|
accessibilityLabel: string;
|
|
16
|
-
ImageGalleryVideoControls?: React.ComponentType<ImageGalleryVideoControlProps>;
|
|
17
14
|
opacity: SharedValue<number>;
|
|
18
15
|
openGridView: () => void;
|
|
19
16
|
visible: SharedValue<number>;
|
|
@@ -27,6 +27,7 @@ import {
|
|
|
27
27
|
useChannelContext,
|
|
28
28
|
} from '../../contexts/channelContext/ChannelContext';
|
|
29
29
|
import { ChatContextValue, useChatContext } from '../../contexts/chatContext/ChatContext';
|
|
30
|
+
import { useComponentsContext } from '../../contexts/componentsContext/ComponentsContext';
|
|
30
31
|
import {
|
|
31
32
|
KeyboardContextValue,
|
|
32
33
|
useKeyboardContext,
|
|
@@ -205,12 +206,8 @@ export type MessagePropsWithContext = Pick<
|
|
|
205
206
|
| 'handleThreadReply'
|
|
206
207
|
| 'handleBlockUser'
|
|
207
208
|
| 'isAttachmentEqual'
|
|
208
|
-
| 'MessageMenu'
|
|
209
209
|
| 'messageActions'
|
|
210
210
|
| 'messageContentOrder'
|
|
211
|
-
| 'MessageBounce'
|
|
212
|
-
| 'MessageBlocked'
|
|
213
|
-
| 'MessageItemView'
|
|
214
211
|
| 'onLongPressMessage'
|
|
215
212
|
| 'onPressInMessage'
|
|
216
213
|
| 'onPressMessage'
|
|
@@ -220,14 +217,6 @@ export type MessagePropsWithContext = Pick<
|
|
|
220
217
|
| 'selectReaction'
|
|
221
218
|
| 'supportedReactions'
|
|
222
219
|
| 'updateMessage'
|
|
223
|
-
| 'PollContent'
|
|
224
|
-
// TODO: remove this comment later, using it as a pragma mark
|
|
225
|
-
| 'MessageUserReactions'
|
|
226
|
-
| 'MessageUserReactionsAvatar'
|
|
227
|
-
| 'MessageUserReactionsItem'
|
|
228
|
-
| 'MessageReactionPicker'
|
|
229
|
-
| 'MessageActionList'
|
|
230
|
-
| 'MessageActionListItem'
|
|
231
220
|
> &
|
|
232
221
|
Pick<ThreadContextValue, 'openThread'> &
|
|
233
222
|
Pick<TranslationContextValue, 't'> & {
|
|
@@ -289,11 +278,8 @@ const MessageWithContext = (props: MessagePropsWithContext) => {
|
|
|
289
278
|
members,
|
|
290
279
|
message,
|
|
291
280
|
messageActions: messageActionsProp = defaultMessageActions,
|
|
292
|
-
MessageBlocked,
|
|
293
|
-
MessageBounce,
|
|
294
281
|
messageContentOrder: messageContentOrderProp,
|
|
295
282
|
messagesContext,
|
|
296
|
-
MessageItemView,
|
|
297
283
|
onLongPressMessage: onLongPressMessageProp,
|
|
298
284
|
onPressInMessage: onPressInMessageProp,
|
|
299
285
|
onPressMessage: onPressMessageProp,
|
|
@@ -314,13 +300,15 @@ const MessageWithContext = (props: MessagePropsWithContext) => {
|
|
|
314
300
|
updateMessage,
|
|
315
301
|
readBy,
|
|
316
302
|
setQuotedMessage,
|
|
317
|
-
MessageUserReactions,
|
|
318
|
-
MessageUserReactionsAvatar,
|
|
319
|
-
MessageUserReactionsItem,
|
|
320
|
-
MessageReactionPicker,
|
|
321
|
-
MessageActionList,
|
|
322
|
-
MessageActionListItem,
|
|
323
303
|
} = props;
|
|
304
|
+
const {
|
|
305
|
+
MessageActionList,
|
|
306
|
+
MessageBlocked,
|
|
307
|
+
MessageBounce,
|
|
308
|
+
MessageItemView,
|
|
309
|
+
MessageReactionPicker,
|
|
310
|
+
MessageUserReactions,
|
|
311
|
+
} = useComponentsContext();
|
|
324
312
|
// TODO: V9: Reconsider using safe area insets in every message.
|
|
325
313
|
const insets = useSafeAreaInsets();
|
|
326
314
|
const isMessageAIGenerated = messagesContext.isMessageAIGenerated;
|
|
@@ -878,12 +866,7 @@ const MessageWithContext = (props: MessagePropsWithContext) => {
|
|
|
878
866
|
visible={showMessageReactions}
|
|
879
867
|
height={424}
|
|
880
868
|
>
|
|
881
|
-
<MessageUserReactions
|
|
882
|
-
message={message}
|
|
883
|
-
MessageUserReactionsAvatar={MessageUserReactionsAvatar}
|
|
884
|
-
MessageUserReactionsItem={MessageUserReactionsItem}
|
|
885
|
-
selectedReaction={selectedReaction}
|
|
886
|
-
/>
|
|
869
|
+
<MessageUserReactions message={message} selectedReaction={selectedReaction} />
|
|
887
870
|
</BottomSheetModal>
|
|
888
871
|
) : null}
|
|
889
872
|
<Portal hostName={overlayActive && rect ? 'bottom-item' : undefined}>
|
|
@@ -902,11 +885,7 @@ const MessageWithContext = (props: MessagePropsWithContext) => {
|
|
|
902
885
|
});
|
|
903
886
|
}}
|
|
904
887
|
>
|
|
905
|
-
<MessageActionList
|
|
906
|
-
dismissOverlay={dismissOverlay}
|
|
907
|
-
MessageActionListItem={MessageActionListItem}
|
|
908
|
-
messageActions={messageActions}
|
|
909
|
-
/>
|
|
888
|
+
<MessageActionList dismissOverlay={dismissOverlay} messageActions={messageActions} />
|
|
910
889
|
</View>
|
|
911
890
|
) : null}
|
|
912
891
|
</Portal>
|
|
@@ -12,20 +12,24 @@ import Animated, {
|
|
|
12
12
|
|
|
13
13
|
import { MessageItemViewPropsWithContext } from './MessageItemView';
|
|
14
14
|
|
|
15
|
-
import {
|
|
15
|
+
import { useTheme } from '../../../contexts';
|
|
16
|
+
import { useComponentsContext } from '../../../contexts/componentsContext/ComponentsContext';
|
|
16
17
|
|
|
17
18
|
import { NativeHandlers } from '../../../native';
|
|
18
19
|
|
|
19
20
|
const AnimatedWrapper = Animated.createAnimatedComponent(View);
|
|
20
21
|
|
|
21
|
-
type SwipableMessageWrapperProps = Pick<
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
22
|
+
type SwipableMessageWrapperProps = Pick<
|
|
23
|
+
MessageItemViewPropsWithContext,
|
|
24
|
+
'messageSwipeToReplyHitSlop'
|
|
25
|
+
> & {
|
|
26
|
+
children: ReactNode;
|
|
27
|
+
onSwipe: () => void;
|
|
28
|
+
};
|
|
26
29
|
|
|
27
30
|
export const SwipableMessageWrapper = React.memo((props: SwipableMessageWrapperProps) => {
|
|
28
|
-
const {
|
|
31
|
+
const { children, messageSwipeToReplyHitSlop, onSwipe } = props;
|
|
32
|
+
const { MessageSwipeContent } = useComponentsContext();
|
|
29
33
|
const isRTL = I18nManager.isRTL;
|
|
30
34
|
const swipeDirectionMultiplier = isRTL ? -1 : 1;
|
|
31
35
|
|
|
@@ -4,6 +4,7 @@ import { AnimatableNumericValue, ColorValue, Pressable, StyleSheet, View } from
|
|
|
4
4
|
import { MessageTextContainer } from './MessageTextContainer';
|
|
5
5
|
|
|
6
6
|
import { useChatContext } from '../../../contexts';
|
|
7
|
+
import { useComponentsContext } from '../../../contexts/componentsContext/ComponentsContext';
|
|
7
8
|
import {
|
|
8
9
|
MessageContextValue,
|
|
9
10
|
useMessageContext,
|
|
@@ -67,19 +68,9 @@ export type MessageContentPropsWithContext = Pick<
|
|
|
67
68
|
Pick<
|
|
68
69
|
MessagesContextValue,
|
|
69
70
|
| 'additionalPressableProps'
|
|
70
|
-
| 'Attachment'
|
|
71
71
|
| 'enableMessageGroupingByUser'
|
|
72
|
-
| 'FileAttachmentGroup'
|
|
73
|
-
| 'Gallery'
|
|
74
72
|
| 'isAttachmentEqual'
|
|
75
|
-
| 'MessageContentBottomView'
|
|
76
|
-
| 'MessageContentLeadingView'
|
|
77
|
-
| 'MessageLocation'
|
|
78
|
-
| 'MessageContentTrailingView'
|
|
79
|
-
| 'MessageContentTopView'
|
|
80
73
|
| 'myMessageTheme'
|
|
81
|
-
| 'Reply'
|
|
82
|
-
| 'StreamingMessageView'
|
|
83
74
|
> &
|
|
84
75
|
Pick<TranslationContextValue, 't'> & {
|
|
85
76
|
/**
|
|
@@ -115,11 +106,8 @@ const MessageContentWithContext = (props: MessageContentPropsWithContext) => {
|
|
|
115
106
|
const {
|
|
116
107
|
additionalPressableProps,
|
|
117
108
|
alignment,
|
|
118
|
-
Attachment,
|
|
119
109
|
backgroundColor,
|
|
120
110
|
enableMessageGroupingByUser,
|
|
121
|
-
FileAttachmentGroup,
|
|
122
|
-
Gallery,
|
|
123
111
|
groupStyles,
|
|
124
112
|
goToMessage,
|
|
125
113
|
isMessageAIGenerated,
|
|
@@ -127,26 +115,30 @@ const MessageContentWithContext = (props: MessageContentPropsWithContext) => {
|
|
|
127
115
|
isVeryLastMessage,
|
|
128
116
|
message,
|
|
129
117
|
messageContentOrder,
|
|
130
|
-
MessageContentBottomView,
|
|
131
|
-
MessageContentLeadingView,
|
|
132
118
|
messageGroupedSingleOrBottom = false,
|
|
133
|
-
MessageLocation,
|
|
134
|
-
MessageContentTrailingView,
|
|
135
|
-
MessageContentTopView,
|
|
136
119
|
noBorder,
|
|
137
120
|
onLongPress,
|
|
138
121
|
onPress,
|
|
139
122
|
onPressIn,
|
|
140
123
|
otherAttachments,
|
|
141
124
|
preventPress,
|
|
142
|
-
Reply,
|
|
143
|
-
StreamingMessageView,
|
|
144
125
|
hidePaddingTop,
|
|
145
126
|
hidePaddingHorizontal,
|
|
146
127
|
hidePaddingBottom,
|
|
147
128
|
} = props;
|
|
148
129
|
const { client } = useChatContext();
|
|
149
|
-
const {
|
|
130
|
+
const {
|
|
131
|
+
Attachment,
|
|
132
|
+
FileAttachmentGroup,
|
|
133
|
+
Gallery,
|
|
134
|
+
MessageContentBottomView,
|
|
135
|
+
MessageContentLeadingView,
|
|
136
|
+
MessageContentTopView,
|
|
137
|
+
MessageContentTrailingView,
|
|
138
|
+
MessageLocation,
|
|
139
|
+
Reply,
|
|
140
|
+
StreamingMessageView,
|
|
141
|
+
} = useComponentsContext();
|
|
150
142
|
const replyStyles = useReplyStyles();
|
|
151
143
|
|
|
152
144
|
const {
|
|
@@ -298,12 +290,7 @@ const MessageContentWithContext = (props: MessageContentPropsWithContext) => {
|
|
|
298
290
|
const pollId = message.poll_id;
|
|
299
291
|
const poll = pollId && client.polls.fromState(pollId);
|
|
300
292
|
return pollId && poll ? (
|
|
301
|
-
<Poll
|
|
302
|
-
key={`poll_${message.poll_id}`}
|
|
303
|
-
message={message}
|
|
304
|
-
poll={poll}
|
|
305
|
-
PollContent={PollContentOverride}
|
|
306
|
-
/>
|
|
293
|
+
<Poll key={`poll_${message.poll_id}`} message={message} poll={poll} />
|
|
307
294
|
) : null;
|
|
308
295
|
}
|
|
309
296
|
case 'location':
|
|
@@ -590,19 +577,9 @@ export const MessageContent = (props: MessageContentProps) => {
|
|
|
590
577
|
} = useMessageContext();
|
|
591
578
|
const {
|
|
592
579
|
additionalPressableProps,
|
|
593
|
-
Attachment,
|
|
594
580
|
enableMessageGroupingByUser,
|
|
595
|
-
FileAttachmentGroup,
|
|
596
|
-
Gallery,
|
|
597
581
|
isAttachmentEqual,
|
|
598
|
-
MessageContentBottomView,
|
|
599
|
-
MessageContentLeadingView,
|
|
600
|
-
MessageLocation,
|
|
601
|
-
MessageContentTrailingView,
|
|
602
|
-
MessageContentTopView,
|
|
603
582
|
myMessageTheme,
|
|
604
|
-
Reply,
|
|
605
|
-
StreamingMessageView,
|
|
606
583
|
} = useMessagesContext();
|
|
607
584
|
const { t } = useTranslationContext();
|
|
608
585
|
const isSingleFile = files.length === 1;
|
|
@@ -647,10 +624,7 @@ export const MessageContent = (props: MessageContentProps) => {
|
|
|
647
624
|
{...{
|
|
648
625
|
additionalPressableProps,
|
|
649
626
|
alignment,
|
|
650
|
-
Attachment,
|
|
651
627
|
enableMessageGroupingByUser,
|
|
652
|
-
FileAttachmentGroup,
|
|
653
|
-
Gallery,
|
|
654
628
|
goToMessage,
|
|
655
629
|
groupStyles,
|
|
656
630
|
isAttachmentEqual,
|
|
@@ -658,19 +632,12 @@ export const MessageContent = (props: MessageContentProps) => {
|
|
|
658
632
|
isMyMessage,
|
|
659
633
|
message,
|
|
660
634
|
messageContentOrder,
|
|
661
|
-
MessageContentBottomView,
|
|
662
|
-
MessageContentLeadingView,
|
|
663
|
-
MessageLocation,
|
|
664
|
-
MessageContentTrailingView,
|
|
665
|
-
MessageContentTopView,
|
|
666
635
|
myMessageTheme,
|
|
667
636
|
onLongPress,
|
|
668
637
|
onPress,
|
|
669
638
|
onPressIn,
|
|
670
639
|
otherAttachments,
|
|
671
640
|
preventPress,
|
|
672
|
-
Reply,
|
|
673
|
-
StreamingMessageView,
|
|
674
641
|
t,
|
|
675
642
|
threadList,
|
|
676
643
|
hidePaddingTop,
|
|
@@ -1,14 +1,11 @@
|
|
|
1
1
|
import React, { useMemo } from 'react';
|
|
2
2
|
import { StyleSheet, Text, View } from 'react-native';
|
|
3
3
|
|
|
4
|
+
import { useComponentsContext } from '../../../contexts/componentsContext/ComponentsContext';
|
|
4
5
|
import {
|
|
5
6
|
MessageContextValue,
|
|
6
7
|
useMessageContext,
|
|
7
8
|
} from '../../../contexts/messageContext/MessageContext';
|
|
8
|
-
import {
|
|
9
|
-
MessagesContextValue,
|
|
10
|
-
useMessagesContext,
|
|
11
|
-
} from '../../../contexts/messagesContext/MessagesContext';
|
|
12
9
|
import { useTheme } from '../../../contexts/themeContext/ThemeContext';
|
|
13
10
|
import { useTranslationContext } from '../../../contexts/translationContext/TranslationContext';
|
|
14
11
|
import { CircleBan } from '../../../icons/no-sign';
|
|
@@ -20,11 +17,11 @@ type MessageDeletedComponentProps = {
|
|
|
20
17
|
};
|
|
21
18
|
|
|
22
19
|
type MessageDeletedPropsWithContext = Pick<MessageContextValue, 'alignment' | 'message'> &
|
|
23
|
-
Pick<MessagesContextValue, 'MessageFooter'> &
|
|
24
20
|
MessageDeletedComponentProps;
|
|
25
21
|
|
|
26
22
|
const MessageDeletedWithContext = (props: MessageDeletedPropsWithContext) => {
|
|
27
|
-
const { alignment, date, groupStyle
|
|
23
|
+
const { alignment, date, groupStyle } = props;
|
|
24
|
+
const { MessageFooter } = useComponentsContext();
|
|
28
25
|
|
|
29
26
|
const {
|
|
30
27
|
theme: {
|
|
@@ -111,14 +108,11 @@ export type MessageDeletedProps = Partial<MessageDeletedPropsWithContext> & {
|
|
|
111
108
|
export const MessageDeleted = (props: MessageDeletedProps) => {
|
|
112
109
|
const { alignment, message } = useMessageContext();
|
|
113
110
|
|
|
114
|
-
const { MessageFooter } = useMessagesContext();
|
|
115
|
-
|
|
116
111
|
return (
|
|
117
112
|
<MemoizedMessageDeleted
|
|
118
113
|
{...{
|
|
119
114
|
alignment,
|
|
120
115
|
message,
|
|
121
|
-
MessageFooter,
|
|
122
116
|
}}
|
|
123
117
|
{...props}
|
|
124
118
|
/>
|