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
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { Channel, ChannelFilters, ChannelOptions, ChannelSort, Event, QueryChannelsRequestType } from 'stream-chat';
|
|
3
|
-
import { ChannelListViewProps } from './ChannelListView';
|
|
4
3
|
import { ChannelsContextValue } from '../../contexts/channelsContext/ChannelsContext';
|
|
5
4
|
import type { ChannelListEventListenerOptions } from '../../types/types';
|
|
6
|
-
export type ChannelListProps = Partial<Pick<ChannelsContextValue, 'additionalFlatListProps' | '
|
|
5
|
+
export type ChannelListProps = Partial<Pick<ChannelsContextValue, 'additionalFlatListProps' | 'setFlatListRef' | 'onSelect' | 'getChannelActionItems' | 'swipeActionsEnabled' | 'loadMoreThreshold' | 'maxUnreadCount' | 'numberOfSkeletons' | 'mutedStatusPosition'>> & {
|
|
7
6
|
/** Optional function to filter channels prior to rendering the list. Do not use any complex logic that would delay the loading of the ChannelList. We recommend using a pure function with array methods like filter/sort/reduce. */
|
|
8
7
|
channelRenderFilterFn?: (channels: Array<Channel>) => Array<Channel>;
|
|
9
8
|
/**
|
|
@@ -14,12 +13,6 @@ export type ChannelListProps = Partial<Pick<ChannelsContextValue, 'additionalFla
|
|
|
14
13
|
* @overrideType object
|
|
15
14
|
* */
|
|
16
15
|
filters?: ChannelFilters;
|
|
17
|
-
/**
|
|
18
|
-
* Custom UI component to display the list of channels
|
|
19
|
-
*
|
|
20
|
-
* Default: [ChannelListView](https://getstream.io/chat/docs/sdk/reactnative/ui-components/channel-list-view/)
|
|
21
|
-
*/
|
|
22
|
-
List?: React.ComponentType<ChannelListViewProps>;
|
|
23
16
|
/**
|
|
24
17
|
* If set to true, channels won't dynamically sort by most recent message, defaults to false
|
|
25
18
|
*/
|
|
@@ -143,8 +136,7 @@ export type ChannelListProps = Partial<Pick<ChannelsContextValue, 'additionalFla
|
|
|
143
136
|
};
|
|
144
137
|
/**
|
|
145
138
|
* This component fetches a list of channels, allowing you to select the channel you want to open.
|
|
146
|
-
* The ChannelList
|
|
147
|
-
* provided to the ChannelList component as a prop. By default, the ChannelListView component is used as the list UI.
|
|
139
|
+
* The ChannelList renders a ChannelListView which provides the UI for the underlying React Native FlatList.
|
|
148
140
|
*
|
|
149
141
|
* @example ./ChannelList.md
|
|
150
142
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChannelList.d.ts","sourceRoot":"","sources":["../../../../src/components/ChannelList/ChannelList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAI5D,OAAO,EACL,OAAO,EACP,cAAc,EACd,cAAc,EACd,WAAW,EACX,KAAK,EACL,wBAAwB,EACzB,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"ChannelList.d.ts","sourceRoot":"","sources":["../../../../src/components/ChannelList/ChannelList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAI5D,OAAO,EACL,OAAO,EACP,cAAc,EACd,cAAc,EACd,WAAW,EACX,KAAK,EACL,wBAAwB,EACzB,MAAM,aAAa,CAAC;AAOrB,OAAO,EACL,oBAAoB,EAErB,MAAM,gDAAgD,CAAC;AAGxD,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,mBAAmB,CAAC;AAEzE,MAAM,MAAM,gBAAgB,GAAG,OAAO,CACpC,IAAI,CACF,oBAAo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C,EAAE,wBAAwB,CAAC;CAClD,CAAC;AAMF;;;;;GAKG;AACH,eAAO,MAAM,WAAW,GAAI,OAAO,gBAAgB,sBA4JlD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChannelListLoadingIndicator.d.ts","sourceRoot":"","sources":["../../../../src/components/ChannelList/ChannelListLoadingIndicator.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"ChannelListLoadingIndicator.d.ts","sourceRoot":"","sources":["../../../../src/components/ChannelList/ChannelListLoadingIndicator.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAa1B,eAAO,MAAM,2BAA2B,yBAgBvC,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { ChannelsContextValue } from '../../contexts/channelsContext/ChannelsContext';
|
|
3
|
-
export type ChannelListViewPropsWithContext = Omit<ChannelsContextValue, '
|
|
3
|
+
export type ChannelListViewPropsWithContext = Omit<ChannelsContextValue, 'maxUnreadCount' | 'numberOfSkeletons' | 'onSelect'>;
|
|
4
4
|
export type ChannelListViewProps = Partial<ChannelListViewPropsWithContext>;
|
|
5
5
|
/**
|
|
6
6
|
* This UI component displays the preview list of channels and handles Channel navigation. It
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChannelListView.d.ts","sourceRoot":"","sources":["../../../../src/components/ChannelList/ChannelListView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+C,MAAM,OAAO,CAAC;AAOpE,OAAO,EACL,oBAAoB,EAErB,MAAM,gDAAgD,CAAC;
|
|
1
|
+
{"version":3,"file":"ChannelListView.d.ts","sourceRoot":"","sources":["../../../../src/components/ChannelList/ChannelListView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+C,MAAM,OAAO,CAAC;AAOpE,OAAO,EACL,oBAAoB,EAErB,MAAM,gDAAgD,CAAC;AASxD,MAAM,MAAM,+BAA+B,GAAG,IAAI,CAChD,oBAAoB,EACpB,gBAAgB,GAAG,mBAAmB,GAAG,UAAU,CACpD,CAAC;AAwIF,MAAM,MAAM,oBAAoB,GAAG,OAAO,CAAC,+BAA+B,CAAC,CAAC;AAE5E;;;;;GAKG;AACH,eAAO,MAAM,eAAe;YAAW,oBAAoB;;CAuC1D,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { ChannelsContextValue } from '../../../contexts/channelsContext/ChannelsContext';
|
|
2
|
-
export declare const useCreateChannelsContext: ({ additionalFlatListProps, channelListInitialized, channels,
|
|
2
|
+
export declare const useCreateChannelsContext: ({ additionalFlatListProps, channelListInitialized, channels, error, forceUpdate, hasNextPage, loadingChannels, loadingNextPage, loadMoreThreshold, loadNextPage, maxUnreadCount, numberOfSkeletons, onSelect, getChannelActionItems, swipeActionsEnabled, refreshing, refreshList, reloadList, setFlatListRef, mutedStatusPosition, }: ChannelsContextValue) => ChannelsContextValue;
|
|
3
3
|
//# sourceMappingURL=useCreateChannelsContext.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useCreateChannelsContext.d.ts","sourceRoot":"","sources":["../../../../../src/components/ChannelList/hooks/useCreateChannelsContext.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,mDAAmD,CAAC;AAE9F,eAAO,MAAM,wBAAwB,GAAI,
|
|
1
|
+
{"version":3,"file":"useCreateChannelsContext.d.ts","sourceRoot":"","sources":["../../../../../src/components/ChannelList/hooks/useCreateChannelsContext.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,mDAAmD,CAAC;AAE9F,eAAO,MAAM,wBAAwB,GAAI,uUAqBtC,oBAAoB,yBAkDtB,CAAC"}
|
|
@@ -8,12 +8,11 @@ export type ChannelDetailsHeaderProps = {
|
|
|
8
8
|
export type ChannelDetailsBottomSheetProps = {
|
|
9
9
|
additionalFlatListProps?: Partial<FlatListProps<ChannelActionItem>>;
|
|
10
10
|
channel: Channel;
|
|
11
|
-
ChannelDetailsHeader?: React.ComponentType<ChannelDetailsHeaderProps>;
|
|
12
11
|
items: ChannelActionItem[];
|
|
13
12
|
};
|
|
14
13
|
export declare const ChannelDetailsHeader: ({ channel }: ChannelDetailsHeaderProps) => React.JSX.Element;
|
|
15
14
|
export declare const ChannelActionItemView: ({ item }: {
|
|
16
15
|
item: ChannelActionItem;
|
|
17
16
|
}) => React.JSX.Element;
|
|
18
|
-
export declare const ChannelDetailsBottomSheet: ({ additionalFlatListProps,
|
|
17
|
+
export declare const ChannelDetailsBottomSheet: ({ additionalFlatListProps, items, channel, }: ChannelDetailsBottomSheetProps) => React.JSX.Element;
|
|
19
18
|
//# sourceMappingURL=ChannelDetailsBottomSheet.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChannelDetailsBottomSheet.d.ts","sourceRoot":"","sources":["../../../../src/components/ChannelPreview/ChannelDetailsBottomSheet.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAEvC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAIlD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"ChannelDetailsBottomSheet.d.ts","sourceRoot":"","sources":["../../../../src/components/ChannelPreview/ChannelDetailsBottomSheet.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAEvC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAIlD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAa3C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,4CAA4C,CAAC;AAQpF,MAAM,MAAM,yBAAyB,GAAG;IAAE,OAAO,EAAE,OAAO,CAAA;CAAE,CAAC;AAE7D,MAAM,MAAM,8BAA8B,GAAG;IAC3C,uBAAuB,CAAC,EAAE,OAAO,CAAC,aAAa,CAAC,iBAAiB,CAAC,CAAC,CAAC;IACpE,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,iBAAiB,EAAE,CAAC;CAC5B,CAAC;AAEF,eAAO,MAAM,oBAAoB,GAAI,aAAa,yBAAyB,sBAoC1E,CAAC;AAEF,eAAO,MAAM,qBAAqB,GAAI,UAAU;IAAE,IAAI,EAAE,iBAAiB,CAAA;CAAE,sBAuB1E,CAAC;AAQF,eAAO,MAAM,yBAAyB,GAAI,8CAIvC,8BAA8B,sBAehC,CAAC"}
|
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import type { Channel } from 'stream-chat';
|
|
3
3
|
import { ChannelsContextValue } from '../../contexts/channelsContext/ChannelsContext';
|
|
4
4
|
import { ChatContextValue } from '../../contexts/chatContext/ChatContext';
|
|
5
|
-
export type ChannelPreviewProps = Partial<Pick<ChatContextValue, 'client'>> & Partial<Pick<ChannelsContextValue, '
|
|
5
|
+
export type ChannelPreviewProps = Partial<Pick<ChatContextValue, 'client'>> & Partial<Pick<ChannelsContextValue, 'forceUpdate'>> & {
|
|
6
6
|
/**
|
|
7
7
|
* Instance of Channel from stream-chat package.
|
|
8
8
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChannelPreview.d.ts","sourceRoot":"","sources":["../../../../src/components/ChannelPreview/ChannelPreview.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAK3C,OAAO,EACL,oBAAoB,EAErB,MAAM,gDAAgD,CAAC;AACxD,OAAO,EAAE,gBAAgB,EAAkB,MAAM,wCAAwC,CAAC;
|
|
1
|
+
{"version":3,"file":"ChannelPreview.d.ts","sourceRoot":"","sources":["../../../../src/components/ChannelPreview/ChannelPreview.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAK3C,OAAO,EACL,oBAAoB,EAErB,MAAM,gDAAgD,CAAC;AACxD,OAAO,EAAE,gBAAgB,EAAkB,MAAM,wCAAwC,CAAC;AAI1F,MAAM,MAAM,mBAAmB,GAAG,OAAO,CAAC,IAAI,CAAC,gBAAgB,EAAE,QAAQ,CAAC,CAAC,GACzE,OAAO,CAAC,IAAI,CAAC,oBAAoB,EAAE,aAAa,CAAC,CAAC,GAAG;IACnD;;OAEG;IACH,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AAEJ,eAAO,MAAM,cAAc,GAAI,OAAO,mBAAmB,sBAwBxD,CAAC"}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { ChannelPreviewProps } from './ChannelPreview';
|
|
3
3
|
import { LastMessageType } from './hooks/useChannelPreviewData';
|
|
4
|
-
|
|
5
|
-
export type ChannelPreviewMessageProps = Pick<ChannelPreviewProps, 'channel'> & Partial<Pick<ChannelsContextValue, 'PreviewTypingIndicator' | 'PreviewMessageDeliveryStatus' | 'PreviewLastMessage'>> & {
|
|
4
|
+
export type ChannelPreviewMessageProps = Pick<ChannelPreviewProps, 'channel'> & {
|
|
6
5
|
lastMessage?: LastMessageType;
|
|
7
6
|
};
|
|
8
7
|
export declare const ChannelPreviewMessage: (props: ChannelPreviewMessageProps) => React.JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChannelPreviewMessage.d.ts","sourceRoot":"","sources":["../../../../src/components/ChannelPreview/ChannelPreviewMessage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"ChannelPreviewMessage.d.ts","sourceRoot":"","sources":["../../../../src/components/ChannelPreview/ChannelPreviewMessage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAGvC,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAEvD,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAiBhE,MAAM,MAAM,0BAA0B,GAAG,IAAI,CAAC,mBAAmB,EAAE,SAAS,CAAC,GAAG;IAC9E,WAAW,CAAC,EAAE,eAAe,CAAC;CAC/B,CAAC;AAEF,eAAO,MAAM,qBAAqB,GAAI,OAAO,0BAA0B,sBAyFtE,CAAC"}
|
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import type { ChannelPreviewProps } from './ChannelPreview';
|
|
3
3
|
import type { LastMessageType } from './hooks/useChannelPreviewData';
|
|
4
4
|
import { ChannelsContextValue } from '../../contexts/channelsContext/ChannelsContext';
|
|
5
|
-
export type ChannelPreviewViewPropsWithContext = Pick<ChannelPreviewProps, 'channel'> & Pick<ChannelsContextValue, 'maxUnreadCount' | 'onSelect' | '
|
|
5
|
+
export type ChannelPreviewViewPropsWithContext = Pick<ChannelPreviewProps, 'channel'> & Pick<ChannelsContextValue, 'maxUnreadCount' | 'onSelect' | 'mutedStatusPosition'> & {
|
|
6
6
|
/**
|
|
7
7
|
* Formatter function for date of latest message.
|
|
8
8
|
* @param date Message date
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChannelPreviewView.d.ts","sourceRoot":"","sources":["../../../../src/components/ChannelPreview/ChannelPreviewView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAGvC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"ChannelPreviewView.d.ts","sourceRoot":"","sources":["../../../../src/components/ChannelPreview/ChannelPreviewView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAGvC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAE5D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAErE,OAAO,EACL,oBAAoB,EAErB,MAAM,gDAAgD,CAAC;AAOxD,MAAM,MAAM,kCAAkC,GAAG,IAAI,CAAC,mBAAmB,EAAE,SAAS,CAAC,GACnF,IAAI,CAAC,oBAAoB,EAAE,gBAAgB,GAAG,UAAU,GAAG,qBAAqB,CAAC,GAAG;IAClF;;;;;;;;OAQG;IACH,uBAAuB,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,MAAM,CAAC;IACjD,+BAA+B;IAC/B,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,+CAA+C;IAC/C,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,eAAe,CAAC;CAC/B,CAAC;AAoGJ,MAAM,MAAM,uBAAuB,GAAG,OAAO,CAAC,IAAI,CAAC,kCAAkC,EAAE,SAAS,CAAC,CAAC,GAChG,IAAI,CAAC,kCAAkC,EAAE,SAAS,CAAC,CAAC;AAMtD;;;GAGG;AACH,eAAO,MAAM,kBAAkB;YAAW,uBAAuB;;CAahE,CAAC"}
|
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
import React, { PropsWithChildren } from 'react';
|
|
2
2
|
import type { Channel } from 'stream-chat';
|
|
3
|
-
import type { ChannelDetailsBottomSheetProps } from './ChannelDetailsBottomSheet';
|
|
4
3
|
import type { GetChannelActionItems } from '../ChannelList/hooks/useChannelActionItems';
|
|
5
4
|
import { SwipableWrapperProps } from '../UIComponents/SwipableWrapper';
|
|
6
5
|
export declare const OpenChannelDetailsButton: () => React.JSX.Element;
|
|
7
|
-
export declare const ChannelSwipableWrapper: ({ channel, getChannelActionItems,
|
|
6
|
+
export declare const ChannelSwipableWrapper: ({ channel, getChannelActionItems, swipableProps: _swipableProps, children, }: PropsWithChildren<{
|
|
8
7
|
channel: Channel;
|
|
9
|
-
ChannelDetailsBottomSheet?: React.ComponentType<ChannelDetailsBottomSheetProps>;
|
|
10
8
|
getChannelActionItems?: GetChannelActionItems;
|
|
11
9
|
swipableProps?: SwipableWrapperProps["swipableProps"];
|
|
12
10
|
}>) => React.JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChannelSwipableWrapper.d.ts","sourceRoot":"","sources":["../../../../src/components/ChannelPreview/ChannelSwipableWrapper.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,iBAAiB,EAAkC,MAAM,OAAO,CAAC;AAKjF,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"ChannelSwipableWrapper.d.ts","sourceRoot":"","sources":["../../../../src/components/ChannelPreview/ChannelSwipableWrapper.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,iBAAiB,EAAkC,MAAM,OAAO,CAAC;AAKjF,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAQ3C,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,4CAA4C,CAAC;AAIxF,OAAO,EAIL,oBAAoB,EACrB,MAAM,iCAAiC,CAAC;AAEzC,eAAO,MAAM,wBAAwB,yBAKpC,CAAC;AAEF,eAAO,MAAM,sBAAsB,GAAI,8EAKpC,iBAAiB,CAAC;IACnB,OAAO,EAAE,OAAO,CAAC;IACjB,qBAAqB,CAAC,EAAE,qBAAqB,CAAC;IAC9C,aAAa,CAAC,EAAE,oBAAoB,CAAC,eAAe,CAAC,CAAC;CACvD,CAAC,sBAyFD,CAAC"}
|
|
@@ -3,7 +3,7 @@ import { ChatContextValue } from '../../contexts/chatContext/ChatContext';
|
|
|
3
3
|
import { DeepPartial } from '../../contexts/themeContext/ThemeContext';
|
|
4
4
|
import type { Theme } from '../../contexts/themeContext/utils/theme';
|
|
5
5
|
import type { Streami18n } from '../../utils/i18n/Streami18n';
|
|
6
|
-
export type ChatProps = Pick<ChatContextValue, 'client'> & Partial<Pick<ChatContextValue, '
|
|
6
|
+
export type ChatProps = Pick<ChatContextValue, 'client'> & Partial<Pick<ChatContextValue, 'isMessageAIGenerated'>> & {
|
|
7
7
|
/**
|
|
8
8
|
* When false, ws connection won't be disconnection upon backgrounding the app.
|
|
9
9
|
* To receive push notifications, its necessary that user doesn't have active
|
|
@@ -67,12 +67,6 @@ export type ChatProps = Pick<ChatContextValue, 'client'> & Partial<Pick<ChatCont
|
|
|
67
67
|
* ```
|
|
68
68
|
*/
|
|
69
69
|
i18nInstance?: Streami18n;
|
|
70
|
-
/**
|
|
71
|
-
* Custom loading indicator component to be used to represent the loading state of the chat.
|
|
72
|
-
*
|
|
73
|
-
* This can be used during the phase when db is not initialised.
|
|
74
|
-
*/
|
|
75
|
-
LoadingIndicator?: React.ComponentType | null;
|
|
76
70
|
/**
|
|
77
71
|
* 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)
|
|
78
72
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Chat.d.ts","sourceRoot":"","sources":["../../../../src/components/Chat/Chat.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,iBAAiB,EAAgC,MAAM,OAAO,CAAC;AAW/E,OAAO,EAAE,gBAAgB,EAAgB,MAAM,wCAAwC,CAAC;
|
|
1
|
+
{"version":3,"file":"Chat.d.ts","sourceRoot":"","sources":["../../../../src/components/Chat/Chat.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,iBAAiB,EAAgC,MAAM,OAAO,CAAC;AAW/E,OAAO,EAAE,gBAAgB,EAAgB,MAAM,wCAAwC,CAAC;AAGxF,OAAO,EAAE,WAAW,EAA2B,MAAM,0CAA0C,CAAC;AAChG,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,yCAAyC,CAAC;AAYrE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AAK9D,MAAM,MAAM,SAAS,GAAG,IAAI,CAAC,gBAAgB,EAAE,QAAQ,CAAC,GACtD,OAAO,CAAC,IAAI,CAAC,gBAAgB,EAAE,sBAAsB,CAAC,CAAC,GAAG;IACxD;;;;;OAKG;IACH,2BAA2B,CAAC,EAAE,OAAO,CAAC;IACtC;;OAEG;IACH,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAkDG;IACH,YAAY,CAAC,EAAE,UAAU,CAAC;IAC1B;;;;;;;;;;;;;;;;;;;;;;;;;;;OA2BG;IACH,KAAK,CAAC,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;CAC5B,CAAC;AAqJJ;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,IAAI,GAAI,OAAO,iBAAiB,CAAC,SAAS,CAAC,sBAIvD,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { ChatContextValue } from '../../../contexts/chatContext/ChatContext';
|
|
2
|
-
export declare const useCreateChatContext: ({ appSettings, channel, client, connectionRecovering, enableOfflineSupport,
|
|
2
|
+
export declare const useCreateChatContext: ({ appSettings, channel, client, connectionRecovering, enableOfflineSupport, isMessageAIGenerated, isOnline, mutedUsers, setActiveChannel, }: ChatContextValue) => ChatContextValue;
|
|
3
3
|
//# sourceMappingURL=useCreateChatContext.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useCreateChatContext.d.ts","sourceRoot":"","sources":["../../../../../src/components/Chat/hooks/useCreateChatContext.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,2CAA2C,CAAC;AAElF,eAAO,MAAM,oBAAoB,GAAI,
|
|
1
|
+
{"version":3,"file":"useCreateChatContext.d.ts","sourceRoot":"","sources":["../../../../../src/components/Chat/hooks/useCreateChatContext.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,2CAA2C,CAAC;AAElF,eAAO,MAAM,oBAAoB,GAAI,6IAUlC,gBAAgB,qBA0BlB,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import type { ImageGalleryFooterProps, ImageGalleryGridProps, ImageGalleryHeaderProps } from './components/types';
|
|
2
3
|
import { ImageGalleryProviderProps } from '../../contexts/imageGalleryContext/ImageGalleryContext';
|
|
3
4
|
import { OverlayContextValue } from '../../contexts/overlayContext/OverlayContext';
|
|
4
5
|
import { IconProps } from '../../icons/utils/base';
|
|
@@ -19,7 +20,11 @@ export declare enum IsSwiping {
|
|
|
19
20
|
TRUE = 1,
|
|
20
21
|
FALSE = 2
|
|
21
22
|
}
|
|
22
|
-
type ImageGalleryWithContextProps = Pick<ImageGalleryProviderProps, 'numberOfImageGalleryGridColumns'
|
|
23
|
+
type ImageGalleryWithContextProps = Pick<ImageGalleryProviderProps, 'numberOfImageGalleryGridColumns'> & Pick<OverlayContextValue, 'overlayOpacity'> & {
|
|
24
|
+
ImageGalleryHeader?: React.ComponentType<ImageGalleryHeaderProps>;
|
|
25
|
+
ImageGalleryFooter?: React.ComponentType<ImageGalleryFooterProps>;
|
|
26
|
+
ImageGalleryGrid?: React.ComponentType<ImageGalleryGridProps>;
|
|
27
|
+
};
|
|
23
28
|
export declare const ImageGalleryWithContext: (props: ImageGalleryWithContextProps) => React.JSX.Element;
|
|
24
29
|
export type ImageGalleryProps = Partial<ImageGalleryWithContextProps>;
|
|
25
30
|
export declare const ImageGallery: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ImageGallery.d.ts","sourceRoot":"","sources":["../../../../src/components/ImageGallery/ImageGallery.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA2C,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"ImageGallery.d.ts","sourceRoot":"","sources":["../../../../src/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AAC;AAEF,MAAM,MAAM,iBAAiB,GAAG,OAAO,CAAC,4BAA4B,CAAC,CAAC;AAEtE,eAAO,MAAM,YAAY;YAAW,iBAAiB;;CAcpD,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,KAAK,GAAI,OAAO,MAAM,EAAE,YAAY,MAAM,EAAE,YAAY,MAAM,WAG1E,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ImageGalleryFooter.d.ts","sourceRoot":"","sources":["../../../../../src/components/ImageGallery/components/ImageGalleryFooter.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoC,MAAM,OAAO,CAAC;AAIzD,OAAO,KAAK,EAAE,uBAAuB,EAAE,6BAA6B,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"ImageGalleryFooter.d.ts","sourceRoot":"","sources":["../../../../../src/components/ImageGallery/components/ImageGalleryFooter.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoC,MAAM,OAAO,CAAC;AAIzD,OAAO,KAAK,EAAE,uBAAuB,EAAE,6BAA6B,EAAE,MAAM,SAAS,CAAC;AAqBtF,MAAM,MAAM,iCAAiC,GAAG,CAAC,EAC/C,YAAY,EACZ,KAAK,EACL,aAAa,GACd,EAAE;IACD,YAAY,EAAE,MAAM,IAAI,CAAC;IACzB,KAAK,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAC3B,aAAa,EAAE,OAAO,CAAC;CACxB,KAAK,KAAK,CAAC,YAAY,GAAG,IAAI,CAAC;AAEhC,MAAM,MAAM,iCAAiC,GAAG,CAAC,EAC/C,YAAY,GACb,EAAE,6BAA6B,KAAK,KAAK,CAAC,YAAY,GAAG,IAAI,CAAC;AAO/D,eAAO,MAAM,6BAA6B,GAAI,OAAO,uBAAuB,6BAwG3E,CAAC;AAmCF,eAAO,MAAM,kBAAkB;YAAW,uBAAuB;;CAEhE,CAAC"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import type React from 'react';
|
|
2
1
|
import type { SharedValue } from 'react-native-reanimated';
|
|
3
2
|
export type ImageGalleryVideoControlProps = {
|
|
4
3
|
attachmentId: string;
|
|
@@ -9,7 +8,6 @@ export type ImageGalleryHeaderProps = {
|
|
|
9
8
|
};
|
|
10
9
|
export type ImageGalleryFooterProps = {
|
|
11
10
|
accessibilityLabel: string;
|
|
12
|
-
ImageGalleryVideoControls?: React.ComponentType<ImageGalleryVideoControlProps>;
|
|
13
11
|
opacity: SharedValue<number>;
|
|
14
12
|
openGridView: () => void;
|
|
15
13
|
visible: SharedValue<number>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/ImageGallery/components/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/ImageGallery/components/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAE3D,MAAM,MAAM,6BAA6B,GAAG;IAC1C,YAAY,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAAG;IACpC,OAAO,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAC7B,OAAO,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;CAC9B,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAAG;IACpC,kBAAkB,EAAE,MAAM,CAAC;IAC3B,OAAO,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAC7B,YAAY,EAAE,MAAM,IAAI,CAAC;IACzB,OAAO,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;CAC9B,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG;IAClC,aAAa,EAAE,MAAM,IAAI,CAAC;IAC1B,+BAA+B,CAAC,EAAE,MAAM,CAAC;CAC1C,CAAC"}
|
|
@@ -75,7 +75,7 @@ export type MessageActionHandlers = {
|
|
|
75
75
|
unpinMessage: () => Promise<void>;
|
|
76
76
|
threadReply?: (message: LocalMessage) => Promise<void>;
|
|
77
77
|
};
|
|
78
|
-
export type MessagePropsWithContext = Pick<ChannelContextValue, 'channel' | 'enforceUniqueReaction' | 'members'> & Pick<KeyboardContextValue, 'dismissKeyboard'> & Partial<Omit<MessageContextValue, 'groupStyles' | 'handleReaction' | 'message' | 'isMessageAIGenerated' | 'deliveredToCount' | 'readBy'>> & Pick<MessageContextValue, 'groupStyles' | 'message' | 'isMessageAIGenerated' | 'readBy' | 'deliveredToCount'> & Pick<MessagesContextValue, 'sendReaction' | 'deleteMessage' | 'dismissKeyboardOnMessageTouch' | 'forceAlignMessages' | 'handleBan' | 'handleCopy' | 'handleDelete' | 'handleDeleteForMe' | 'handleEdit' | 'handleFlag' | 'handleMarkUnread' | 'handleMute' | 'handlePinMessage' | 'handleQuotedReply' | 'handleReaction' | 'handleRetry' | 'handleThreadReply' | 'handleBlockUser' | 'isAttachmentEqual' | '
|
|
78
|
+
export type MessagePropsWithContext = Pick<ChannelContextValue, 'channel' | 'enforceUniqueReaction' | 'members'> & Pick<KeyboardContextValue, 'dismissKeyboard'> & Partial<Omit<MessageContextValue, 'groupStyles' | 'handleReaction' | 'message' | 'isMessageAIGenerated' | 'deliveredToCount' | 'readBy'>> & Pick<MessageContextValue, 'groupStyles' | 'message' | 'isMessageAIGenerated' | 'readBy' | 'deliveredToCount'> & Pick<MessagesContextValue, 'sendReaction' | 'deleteMessage' | 'dismissKeyboardOnMessageTouch' | 'forceAlignMessages' | 'handleBan' | 'handleCopy' | 'handleDelete' | 'handleDeleteForMe' | 'handleEdit' | 'handleFlag' | 'handleMarkUnread' | 'handleMute' | 'handlePinMessage' | 'handleQuotedReply' | 'handleReaction' | 'handleRetry' | 'handleThreadReply' | 'handleBlockUser' | 'isAttachmentEqual' | 'messageActions' | 'messageContentOrder' | 'onLongPressMessage' | 'onPressInMessage' | 'onPressMessage' | 'removeMessage' | 'deleteReaction' | 'retrySendMessage' | 'selectReaction' | 'supportedReactions' | 'updateMessage'> & Pick<ThreadContextValue, 'openThread'> & Pick<TranslationContextValue, 't'> & {
|
|
79
79
|
chatContext: ChatContextValue;
|
|
80
80
|
messagesContext: MessagesContextValue;
|
|
81
81
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Message.d.ts","sourceRoot":"","sources":["../../../../src/components/Message/Message.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+C,MAAM,OAAO,CAAC;AACpE,OAAO,EACL,qBAAqB,EAErB,SAAS,EAGT,SAAS,EACV,MAAM,cAAc,CAAC;AAKtB,OAAO,KAAK,EAAE,UAAU,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAW1E,OAAO,EACL,mBAAmB,EAEpB,MAAM,8CAA8C,CAAC;AACtD,OAAO,EAAE,gBAAgB,EAAkB,MAAM,wCAAwC,CAAC;
|
|
1
|
+
{"version":3,"file":"Message.d.ts","sourceRoot":"","sources":["../../../../src/components/Message/Message.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+C,MAAM,OAAO,CAAC;AACpE,OAAO,EACL,qBAAqB,EAErB,SAAS,EAGT,SAAS,EACV,MAAM,cAAc,CAAC;AAKtB,OAAO,KAAK,EAAE,UAAU,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAW1E,OAAO,EACL,mBAAmB,EAEpB,MAAM,8CAA8C,CAAC;AACtD,OAAO,EAAE,gBAAgB,EAAkB,MAAM,wCAAwC,CAAC;AAE1F,OAAO,EACL,oBAAoB,EAErB,MAAM,gDAAgD,CAAC;AACxD,OAAO,EACL,8BAA8B,EAE/B,MAAM,iEAAiE,CAAC;AACzE,OAAO,EAAE,mBAAmB,EAAmB,MAAM,8CAA8C,CAAC;AAEpG,OAAO,EACL,oBAAoB,EAErB,MAAM,gDAAgD,CAAC;AAGxD,OAAO,EAAE,kBAAkB,EAAoB,MAAM,4CAA4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B,GAAG,iBAAiB,CAAC,CAAC;AAk0BnF,MAAM,MAAM,YAAY,GAAG,OAAO,CAChC,IAAI,CAAC,uBAAuB,EAAE,aAAa,GAAG,gBAAgB,GAAG,SAAS,CAAC,CAC5E,GACC,IAAI,CAAC,uBAAuB,EAAE,aAAa,GAAG,SAAS,CAAC,CAAC;AAE3D;;;;;GAKG;AACH,eAAO,MAAM,OAAO,GAAI,OAAO,YAAY,sBAgC1C,CAAC"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import React, { ReactNode } from 'react';
|
|
2
2
|
import { MessageItemViewPropsWithContext } from './MessageItemView';
|
|
3
|
-
|
|
4
|
-
type SwipableMessageWrapperProps = Pick<MessagesContextValue, 'MessageSwipeContent'> & Pick<MessageItemViewPropsWithContext, 'messageSwipeToReplyHitSlop'> & {
|
|
3
|
+
type SwipableMessageWrapperProps = Pick<MessageItemViewPropsWithContext, 'messageSwipeToReplyHitSlop'> & {
|
|
5
4
|
children: ReactNode;
|
|
6
5
|
onSwipe: () => void;
|
|
7
6
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MessageBubble.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/MessageItemView/MessageBubble.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAqB,MAAM,OAAO,CAAC;AAY5D,OAAO,EAAE,+BAA+B,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"MessageBubble.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/MessageItemView/MessageBubble.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAqB,MAAM,OAAO,CAAC;AAY5D,OAAO,EAAE,+BAA+B,EAAE,MAAM,mBAAmB,CAAC;AASpE,KAAK,2BAA2B,GAAG,IAAI,CACrC,+BAA+B,EAC/B,4BAA4B,CAC7B,GAAG;IACF,QAAQ,EAAE,SAAS,CAAC;IACpB,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB,CAAC;AAEF,eAAO,MAAM,sBAAsB,oCAAsB,2BAA2B,uBA6GlF,CAAC"}
|
|
@@ -3,7 +3,7 @@ import { ColorValue } from 'react-native';
|
|
|
3
3
|
import { MessageContextValue } from '../../../contexts/messageContext/MessageContext';
|
|
4
4
|
import { MessagesContextValue } from '../../../contexts/messagesContext/MessagesContext';
|
|
5
5
|
import { TranslationContextValue } from '../../../contexts/translationContext/TranslationContext';
|
|
6
|
-
export type MessageContentPropsWithContext = Pick<MessageContextValue, 'alignment' | 'goToMessage' | 'groupStyles' | 'isMyMessage' | 'message' | 'messageContentOrder' | 'onLongPress' | 'onPress' | 'onPressIn' | 'otherAttachments' | 'preventPress' | 'threadList' | 'isMessageAIGenerated'> & Pick<MessagesContextValue, 'additionalPressableProps' | '
|
|
6
|
+
export type MessageContentPropsWithContext = Pick<MessageContextValue, 'alignment' | 'goToMessage' | 'groupStyles' | 'isMyMessage' | 'message' | 'messageContentOrder' | 'onLongPress' | 'onPress' | 'onPressIn' | 'otherAttachments' | 'preventPress' | 'threadList' | 'isMessageAIGenerated'> & Pick<MessagesContextValue, 'additionalPressableProps' | 'enableMessageGroupingByUser' | 'isAttachmentEqual' | 'myMessageTheme'> & Pick<TranslationContextValue, 't'> & {
|
|
7
7
|
/**
|
|
8
8
|
* Background color for the message content
|
|
9
9
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MessageContent.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/MessageItemView/MessageContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AACvC,OAAO,EAA0B,UAAU,EAA+B,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"MessageContent.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/MessageItemView/MessageContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AACvC,OAAO,EAA0B,UAAU,EAA+B,MAAM,cAAc,CAAC;AAM/F,OAAO,EACL,mBAAmB,EAEpB,MAAM,iDAAiD,CAAC;AAEzD,OAAO,EACL,oBAAoB,EAErB,MAAM,mDAAmD,CAAC;AAE3D,OAAO,EACL,uBAAuB,EAExB,MAAM,yDAAyD,CAAC;AA+BjE,MAAM,MAAM,8BAA8B,GAAG,IAAI,CAC/C,mBAAmB,EACjB,WAAW,GACX,aAAa,GACb,aAAa,GACb,aAAa,GACb,SAAS,GACT,qBAAqB,GACrB,aAAa,GACb,SAAS,GACT,WAAW,GACX,kBAAkB,GAClB,cAAc,GACd,YAAY,GACZ,sBAAsB,CACzB,GACC,IAAI,CACF,oBAAoB,EAClB,0BAA0B,GAC1B,6BAA6B,GAC7B,mBAAmB,GACnB,gBAAgB,CACnB,GACD,IAAI,CAAC,uBAAuB,EAAE,GAAG,CAAC,GAAG;IACnC;;OAEG;IACH,eAAe,CAAC,EAAE,UAAU,CAAC;IAC7B;;OAEG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,4BAA4B,CAAC,EAAE,OAAO,CAAC;IAEvC;;OAEG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC7B,CAAC;AAscJ,MAAM,MAAM,mBAAmB,GAAG,OAAO,CAAC,8BAA8B,CAAC,CAAC;AAE1E;;GAEG;AACH,eAAO,MAAM,cAAc,GAAI,OAAO,mBAAmB,sBA2FxD,CAAC"}
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { MessageContextValue } from '../../../contexts/messageContext/MessageContext';
|
|
3
|
-
import { MessagesContextValue } from '../../../contexts/messagesContext/MessagesContext';
|
|
4
3
|
type MessageDeletedComponentProps = {
|
|
5
4
|
groupStyle: string;
|
|
6
5
|
date?: string | Date;
|
|
7
6
|
};
|
|
8
|
-
type MessageDeletedPropsWithContext = Pick<MessageContextValue, 'alignment' | 'message'> &
|
|
7
|
+
type MessageDeletedPropsWithContext = Pick<MessageContextValue, 'alignment' | 'message'> & MessageDeletedComponentProps;
|
|
9
8
|
export type MessageDeletedProps = Partial<MessageDeletedPropsWithContext> & {
|
|
10
9
|
groupStyle: string;
|
|
11
10
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MessageDeleted.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/MessageItemView/MessageDeleted.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"MessageDeleted.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/MessageItemView/MessageDeleted.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAIvC,OAAO,EACL,mBAAmB,EAEpB,MAAM,iDAAiD,CAAC;AAMzD,KAAK,4BAA4B,GAAG;IAClC,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACtB,CAAC;AAEF,KAAK,8BAA8B,GAAG,IAAI,CAAC,mBAAmB,EAAE,WAAW,GAAG,SAAS,CAAC,GACtF,4BAA4B,CAAC;AAoF/B,MAAM,MAAM,mBAAmB,GAAG,OAAO,CAAC,8BAA8B,CAAC,GAAG;IAC1E,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,eAAO,MAAM,cAAc;YAAW,mBAAmB;;CAYxD,CAAC"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { Attachment, LocalMessage } from 'stream-chat';
|
|
3
|
-
import type { MessageStatusProps } from './MessageStatus';
|
|
4
3
|
import type { ChannelContextValue } from '../../../contexts/channelContext/ChannelContext';
|
|
5
4
|
import { Alignment } from '../../../contexts/messageContext/MessageContext';
|
|
6
5
|
type MessageFooterComponentProps = {
|
|
@@ -11,7 +10,6 @@ export type MessageFooterProps = Partial<Pick<ChannelContextValue, 'members'>> &
|
|
|
11
10
|
alignment?: Alignment;
|
|
12
11
|
lastGroupMessage?: boolean;
|
|
13
12
|
message?: LocalMessage;
|
|
14
|
-
MessageStatus?: React.ComponentType<MessageStatusProps>;
|
|
15
13
|
otherAttachments?: Attachment[];
|
|
16
14
|
showMessageStatus?: boolean;
|
|
17
15
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MessageFooter.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/MessageItemView/MessageFooter.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAGvC,OAAO,KAAK,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAE5D,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"MessageFooter.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/MessageItemView/MessageFooter.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAGvC,OAAO,KAAK,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAE5D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iDAAiD,CAAC;AAE3F,OAAO,EACL,SAAS,EAGV,MAAM,iDAAiD,CAAC;AASzD,KAAK,2BAA2B,GAAG;IACjC,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC/B,CAAC;AAwIF,MAAM,MAAM,kBAAkB,GAAG,OAAO,CAAC,IAAI,CAAC,mBAAmB,EAAE,SAAS,CAAC,CAAC,GAC5E,2BAA2B,GAAG;IAC5B,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,OAAO,CAAC,EAAE,YAAY,CAAC;IACvB,gBAAgB,CAAC,EAAE,UAAU,EAAE,CAAC;IAChC,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC7B,CAAC;AAEJ,eAAO,MAAM,aAAa,GAAI,OAAO,kBAAkB,sBAiBtD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MessageHeader.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/MessageItemView/MessageHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"MessageHeader.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/MessageItemView/MessageHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAKvC,OAAO,EACL,mBAAmB,EAEpB,MAAM,iDAAiD,CAAC;AAiGzD,MAAM,MAAM,kBAAkB,GAAG,OAAO,CAAC,IAAI,CAAC,mBAAmB,EAAE,SAAS,CAAC,CAAC,CAAC;AAE/E,eAAO,MAAM,aAAa,GAAI,OAAO,kBAAkB,6BA6BtD,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { MessageContextValue } from '../../../contexts/messageContext/MessageContext';
|
|
3
3
|
import { MessagesContextValue } from '../../../contexts/messagesContext/MessagesContext';
|
|
4
|
-
export type MessageItemViewPropsWithContext = Pick<MessageContextValue, 'alignment' | 'channel' | 'groupStyles' | 'hasAttachmentActions' | 'isMyMessage' | 'message' | 'onlyEmojis' | 'otherAttachments' | 'setQuotedMessage' | 'lastGroupMessage' | 'contextMenuAnchorRef' | 'members'> & Pick<MessagesContextValue, 'customMessageSwipeAction' | 'enableMessageGroupingByUser' | 'enableSwipeToReply' | 'myMessageTheme' | '
|
|
4
|
+
export type MessageItemViewPropsWithContext = Pick<MessageContextValue, 'alignment' | 'channel' | 'groupStyles' | 'hasAttachmentActions' | 'isMyMessage' | 'message' | 'onlyEmojis' | 'otherAttachments' | 'setQuotedMessage' | 'lastGroupMessage' | 'contextMenuAnchorRef' | 'members'> & Pick<MessagesContextValue, 'customMessageSwipeAction' | 'enableMessageGroupingByUser' | 'enableSwipeToReply' | 'myMessageTheme' | 'messageSwipeToReplyHitSlop' | 'reactionListPosition' | 'reactionListType'>;
|
|
5
5
|
export type MessageItemViewProps = Partial<MessageItemViewPropsWithContext>;
|
|
6
6
|
/**
|
|
7
7
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MessageItemView.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/MessageItemView/MessageItemView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"MessageItemView.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/MessageItemView/MessageItemView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAMvC,OAAO,EAEL,mBAAmB,EAEpB,MAAM,iDAAiD,CAAC;AACzD,OAAO,EACL,oBAAoB,EAErB,MAAM,mDAAmD,CAAC;AAwL3D,MAAM,MAAM,+BAA+B,GAAG,IAAI,CAChD,mBAAmB,EACjB,WAAW,GACX,SAAS,GACT,aAAa,GACb,sBAAsB,GACtB,aAAa,GACb,SAAS,GACT,YAAY,GACZ,kBAAkB,GAClB,kBAAkB,GAClB,kBAAkB,GAClB,sBAAsB,GACtB,SAAS,CACZ,GACC,IAAI,CACF,oBAAoB,EAClB,0BAA0B,GAC1B,6BAA6B,GAC7B,oBAAoB,GACpB,gBAAgB,GAChB,4BAA4B,GAC5B,sBAAsB,GACtB,kBAAkB,CACrB,CAAC;AA4RJ,MAAM,MAAM,oBAAoB,GAAG,OAAO,CAAC,+BAA+B,CAAC,CAAC;AAE5E;;;GAGG;AACH,eAAO,MAAM,eAAe;YAAW,oBAAoB;;CAoD1D,CAAC"}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { MessageContextValue } from '../../../contexts/messageContext/MessageContext';
|
|
3
|
-
import { MessagesContextValue } from '../../../contexts/messagesContext/MessagesContext';
|
|
4
3
|
import { TranslationContextValue } from '../../../contexts/translationContext/TranslationContext';
|
|
5
|
-
export type MessageRepliesPropsWithContext = Pick<MessageContextValue, 'alignment' | 'isMyMessage' | 'message' | 'onLongPress' | 'onPress' | 'onPressIn' | 'onOpenThread' | 'preventPress' | 'threadList'> & Pick<
|
|
4
|
+
export type MessageRepliesPropsWithContext = Pick<MessageContextValue, 'alignment' | 'isMyMessage' | 'message' | 'onLongPress' | 'onPress' | 'onPressIn' | 'onOpenThread' | 'preventPress' | 'threadList'> & Pick<TranslationContextValue, 't'>;
|
|
6
5
|
export type MessageRepliesProps = Partial<MessageRepliesPropsWithContext>;
|
|
7
6
|
export declare const MessageReplies: {
|
|
8
7
|
(props: MessageRepliesProps): React.JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MessageReplies.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/MessageItemView/MessageReplies.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"MessageReplies.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/MessageItemView/MessageReplies.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAIvC,OAAO,EACL,mBAAmB,EAEpB,MAAM,iDAAiD,CAAC;AAEzD,OAAO,EACL,uBAAuB,EAExB,MAAM,yDAAyD,CAAC;AAMjE,MAAM,MAAM,8BAA8B,GAAG,IAAI,CAC/C,mBAAmB,EACjB,WAAW,GACX,aAAa,GACb,SAAS,GACT,aAAa,GACb,SAAS,GACT,WAAW,GACX,cAAc,GACd,cAAc,GACd,YAAY,CACf,GACC,IAAI,CAAC,uBAAuB,EAAE,GAAG,CAAC,CAAC;AAgJrC,MAAM,MAAM,mBAAmB,GAAG,OAAO,CAAC,8BAA8B,CAAC,CAAC;AAE1E,eAAO,MAAM,cAAc;YAAW,mBAAmB;;CA+BxD,CAAC"}
|
|
@@ -10,7 +10,7 @@ export type MessageTextProps = MessageTextContainerProps & {
|
|
|
10
10
|
theme: Theme;
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
export type MessageTextContainerPropsWithContext = Pick<MessageContextValue, 'message' | 'onLongPress' | 'onlyEmojis' | 'onPress' | 'preventPress' | 'isMyMessage'> & Pick<MessagesContextValue, 'markdownRules' | '
|
|
13
|
+
export type MessageTextContainerPropsWithContext = Pick<MessageContextValue, 'message' | 'onLongPress' | 'onlyEmojis' | 'onPress' | 'preventPress' | 'isMyMessage'> & Pick<MessagesContextValue, 'markdownRules' | 'myMessageTheme' | 'messageTextNumberOfLines'> & {
|
|
14
14
|
markdownStyles?: MarkdownStyle;
|
|
15
15
|
messageOverlay?: boolean;
|
|
16
16
|
styles?: Partial<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MessageTextContainer.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/MessageItemView/MessageTextContainer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,SAAS,EAAoB,SAAS,EAAE,MAAM,cAAc,CAAC;AAItE,OAAO,EAAc,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"MessageTextContainer.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/MessageItemView/MessageTextContainer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,SAAS,EAAoB,SAAS,EAAE,MAAM,cAAc,CAAC;AAItE,OAAO,EAAc,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAGlE,OAAO,EACL,mBAAmB,EAEpB,MAAM,iDAAiD,CAAC;AACzD,OAAO,EACL,oBAAoB,EAErB,MAAM,mDAAmD,CAAC;AAG3D,OAAO,KAAK,EAAE,aAAa,EAAE,KAAK,EAAE,MAAM,4CAA4C,CAAC;AAQvF,MAAM,MAAM,gBAAgB,GAAG,yBAAyB,GAAG;IACzD,UAAU,EAAE,CAAC,MAAM,EAAE,gBAAgB,KAAK,KAAK,CAAC,SAAS,GAAG,IAAI,CAAC;IACjE,KAAK,EAAE;QAAE,KAAK,EAAE,KAAK,CAAA;KAAE,CAAC;CACzB,CAAC;AAEF,MAAM,MAAM,oCAAoC,GAAG,IAAI,CACrD,mBAAmB,EACnB,SAAS,GAAG,aAAa,GAAG,YAAY,GAAG,SAAS,GAAG,cAAc,GAAG,aAAa,CACtF,GACC,IAAI,CAAC,oBAAoB,EAAE,eAAe,GAAG,gBAAgB,GAAG,0BAA0B,CAAC,GAAG;IAC5F,cAAc,CAAC,EAAE,aAAa,CAAC;IAC/B,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,MAAM,CAAC,EAAE,OAAO,CAAC;QACf,aAAa,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;KACrC,CAAC,CAAC;CACJ,CAAC;AA4IJ,MAAM,MAAM,yBAAyB,GAAG,OAAO,CAAC,oCAAoC,CAAC,CAAC;AAEtF,eAAO,MAAM,oBAAoB;YAAW,yBAAyB;;CAqBpE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MessageWrapper.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/MessageItemView/MessageWrapper.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAIvC,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"MessageWrapper.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/MessageItemView/MessageWrapper.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAIvC,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAsB3C,MAAM,MAAM,mBAAmB,GAAG;IAChC,OAAO,EAAE,YAAY,CAAC;IACtB,eAAe,CAAC,EAAE,YAAY,CAAC;IAC/B,WAAW,CAAC,EAAE,YAAY,CAAC;CAC5B,CAAC;AAEF,eAAO,MAAM,cAAc,oCAAsB,mBAAmB,8BAsGlE,CAAC"}
|
package/lib/typescript/components/Message/MessageItemView/ReactionList/ReactionListBottom.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { MessageContextValue } from '../../../../contexts/messageContext/MessageContext';
|
|
3
3
|
import { MessagesContextValue } from '../../../../contexts/messagesContext/MessagesContext';
|
|
4
|
-
export type ReactionListBottomProps = Partial<Pick<MessageContextValue, 'alignment' | 'handleReaction' | 'hasReactions' | 'onLongPress' | 'onPress' | 'onPressIn' | 'preventPress' | 'reactions' | 'showReactionsOverlay'>> & Partial<Pick<MessagesContextValue, 'supportedReactions'
|
|
4
|
+
export type ReactionListBottomProps = Partial<Pick<MessageContextValue, 'alignment' | 'handleReaction' | 'hasReactions' | 'onLongPress' | 'onPress' | 'onPressIn' | 'preventPress' | 'reactions' | 'showReactionsOverlay'>> & Partial<Pick<MessagesContextValue, 'supportedReactions'>> & {
|
|
5
5
|
type?: 'clustered' | 'segmented';
|
|
6
6
|
showCount?: boolean;
|
|
7
7
|
};
|
package/lib/typescript/components/Message/MessageItemView/ReactionList/ReactionListBottom.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReactionListBottom.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Message/MessageItemView/ReactionList/ReactionListBottom.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+B,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"ReactionListBottom.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Message/MessageItemView/ReactionList/ReactionListBottom.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+B,MAAM,OAAO,CAAC;AAMpD,OAAO,EACL,mBAAmB,EAEpB,MAAM,oDAAoD,CAAC;AAC5D,OAAO,EACL,oBAAoB,EAErB,MAAM,sDAAsD,CAAC;AAK9D,MAAM,MAAM,uBAAuB,GAAG,OAAO,CAC3C,IAAI,CACF,mBAAmB,EACjB,WAAW,GACX,gBAAgB,GAChB,cAAc,GACd,aAAa,GACb,SAAS,GACT,WAAW,GACX,cAAc,GACd,WAAW,GACX,sBAAsB,CACzB,CACF,GACC,OAAO,CAAC,IAAI,CAAC,oBAAoB,EAAE,oBAAoB,CAAC,CAAC,GAAG;IAC1D,IAAI,CAAC,EAAE,WAAW,GAAG,WAAW,CAAC;IACjC,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAOJ,eAAO,MAAM,kBAAkB,GAAI,OAAO,uBAAuB,6BAwGhE,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { MessageContextValue } from '../../../../contexts/messageContext/MessageContext';
|
|
3
3
|
import { MessagesContextValue } from '../../../../contexts/messagesContext/MessagesContext';
|
|
4
|
-
export type ReactionListTopProps = Partial<Pick<MessageContextValue, 'alignment' | 'hasReactions' | 'onLongPress' | 'onPress' | 'onPressIn' | 'preventPress' | 'reactions' | 'showReactionsOverlay' | 'handleReaction'> & Pick<MessagesContextValue, 'supportedReactions' | 'reactionListType'
|
|
4
|
+
export type ReactionListTopProps = Partial<Pick<MessageContextValue, 'alignment' | 'hasReactions' | 'onLongPress' | 'onPress' | 'onPressIn' | 'preventPress' | 'reactions' | 'showReactionsOverlay' | 'handleReaction'> & Pick<MessagesContextValue, 'supportedReactions' | 'reactionListType'>> & {
|
|
5
5
|
type?: 'clustered' | 'segmented';
|
|
6
6
|
showCount?: boolean;
|
|
7
7
|
};
|
package/lib/typescript/components/Message/MessageItemView/ReactionList/ReactionListTop.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReactionListTop.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Message/MessageItemView/ReactionList/ReactionListTop.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"ReactionListTop.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Message/MessageItemView/ReactionList/ReactionListTop.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAKvC,OAAO,EACL,mBAAmB,EAEpB,MAAM,oDAAoD,CAAC;AAC5D,OAAO,EACL,oBAAoB,EAErB,MAAM,sDAAsD,CAAC;AAI9D,MAAM,MAAM,oBAAoB,GAAG,OAAO,CACxC,IAAI,CACF,mBAAmB,EACjB,WAAW,GACX,cAAc,GACd,aAAa,GACb,SAAS,GACT,WAAW,GACX,cAAc,GACd,WAAW,GACX,sBAAsB,GACtB,gBAAgB,CACnB,GACC,IAAI,CAAC,oBAAoB,EAAE,oBAAoB,GAAG,kBAAkB,CAAC,CACxE,GAAG;IACF,IAAI,CAAC,EAAE,WAAW,GAAG,WAAW,CAAC;IACjC,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,eAAe,GAAI,OAAO,oBAAoB,6BAoG1D,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"renderText.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Message/MessageItemView/utils/renderText.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAqB,SAAS,EAAwB,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"renderText.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Message/MessageItemView/utils/renderText.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAqB,SAAS,EAAwB,MAAM,OAAO,CAAC;AAiBlF,OAAO,EACL,YAAY,EAIZ,MAAM,EAGN,aAAa,EACb,KAAK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H,eAAO,MAAM,UAAU,GAAI,iCAAiC,eAAe,sBAsC1E,CAAC;AAoBF,MAAM,MAAM,kBAAkB,GAAG;IAC/B,IAAI,EAAE,aAAa,CAAC;IACpB,MAAM,EAAE,WAAW,CAAC;IACpB,KAAK,EAAE,KAAK,CAAC;IACb,MAAM,EAAE,OAAO,CAAC,aAAa,CAAC,CAAC;CAChC,CAAC;AA2BF,MAAM,MAAM,qBAAqB,GAAG;IAClC,KAAK,EAAE,aAAa,EAAE,CAAC;IACvB,MAAM,EAAE,WAAW,CAAC;IACpB,KAAK,EAAE,KAAK,CAAC;IACb,MAAM,EAAE,OAAO,CAAC,aAAa,CAAC,CAAC;CAChC,CAAC"}
|
|
@@ -3,11 +3,10 @@ import { ChatContextValue } from '../../contexts';
|
|
|
3
3
|
import { ChannelContextValue } from '../../contexts/channelContext/ChannelContext';
|
|
4
4
|
import { MessageComposerAPIContextValue } from '../../contexts/messageComposerContext/MessageComposerAPIContext';
|
|
5
5
|
import { MessageInputContextValue } from '../../contexts/messageInputContext/MessageInputContext';
|
|
6
|
-
import { MessagesContextValue } from '../../contexts/messagesContext/MessagesContext';
|
|
7
6
|
import { TranslationContextValue } from '../../contexts/translationContext/TranslationContext';
|
|
8
7
|
import { AudioRecorderManagerState } from '../../state-store/audio-recorder-manager';
|
|
9
8
|
import { type TextInputOverrideComponent } from '../AutoCompleteInput/AutoCompleteInput';
|
|
10
|
-
type MessageComposerPropsWithContext = Pick<ChatContextValue, 'isOnline'> & Pick<ChannelContextValue, 'channel' | 'members' | 'watchers'> & Pick<MessageInputContextValue, 'audioRecorderManager' | 'additionalTextInputProps' | 'audioRecordingSendOnComplete' | 'audioRecordingEnabled' | 'asyncMessagesLockDistance' | 'asyncMessagesMinimumPressDuration' | 'asyncMessagesSlideToCancelDistance' | '
|
|
9
|
+
type MessageComposerPropsWithContext = Pick<ChatContextValue, 'isOnline'> & Pick<ChannelContextValue, 'channel' | 'members' | 'watchers'> & Pick<MessageInputContextValue, 'audioRecorderManager' | 'additionalTextInputProps' | 'audioRecordingSendOnComplete' | 'audioRecordingEnabled' | 'asyncMessagesLockDistance' | 'asyncMessagesMinimumPressDuration' | 'asyncMessagesSlideToCancelDistance' | 'closeAttachmentPicker' | 'compressImageQuality' | 'inputBoxRef' | 'messageInputFloating' | 'messageInputHeightStore' | 'uploadNewFile' | 'openPollCreationDialog' | 'closePollCreationDialog' | 'showPollCreationDialog' | 'sendMessage' | 'createPollOptionGap'> & Pick<TranslationContextValue, 't'> & Pick<MessageComposerAPIContextValue, 'clearEditingState'> & Pick<AudioRecorderManagerState, 'micLocked'> & {
|
|
11
10
|
editing: boolean;
|
|
12
11
|
isKeyboardVisible: boolean;
|
|
13
12
|
threadList?: boolean;
|