stream-chat-react-native-core 5.27.0-beta.9 → 5.27.1-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/commonjs/components/Attachment/Attachment.js +23 -101
- package/lib/commonjs/components/Attachment/Attachment.js.map +1 -1
- package/lib/commonjs/components/Attachment/AttachmentActions.js +26 -49
- package/lib/commonjs/components/Attachment/AttachmentActions.js.map +1 -1
- package/lib/commonjs/components/Attachment/AudioAttachment.js +73 -139
- package/lib/commonjs/components/Attachment/AudioAttachment.js.map +1 -1
- package/lib/commonjs/components/Attachment/Card.js +67 -162
- package/lib/commonjs/components/Attachment/Card.js.map +1 -1
- package/lib/commonjs/components/Attachment/FileAttachment.js +33 -78
- package/lib/commonjs/components/Attachment/FileAttachment.js.map +1 -1
- package/lib/commonjs/components/Attachment/FileAttachmentGroup.js +47 -81
- package/lib/commonjs/components/Attachment/FileAttachmentGroup.js.map +1 -1
- package/lib/commonjs/components/Attachment/FileIcon.js +3 -10
- package/lib/commonjs/components/Attachment/FileIcon.js.map +1 -1
- package/lib/commonjs/components/Attachment/Gallery.js +131 -218
- package/lib/commonjs/components/Attachment/Gallery.js.map +1 -1
- package/lib/commonjs/components/Attachment/GalleryImage.js +5 -24
- package/lib/commonjs/components/Attachment/GalleryImage.js.map +1 -1
- package/lib/commonjs/components/Attachment/Giphy.js +151 -295
- package/lib/commonjs/components/Attachment/Giphy.js.map +1 -1
- package/lib/commonjs/components/Attachment/ImageLoadingFailedIndicator.js +19 -40
- package/lib/commonjs/components/Attachment/ImageLoadingFailedIndicator.js.map +1 -1
- package/lib/commonjs/components/Attachment/ImageLoadingIndicator.js +3 -15
- package/lib/commonjs/components/Attachment/ImageLoadingIndicator.js.map +1 -1
- package/lib/commonjs/components/Attachment/ImageReloadIndicator.js +8 -18
- package/lib/commonjs/components/Attachment/ImageReloadIndicator.js.map +1 -1
- package/lib/commonjs/components/Attachment/VideoThumbnail.js +13 -28
- package/lib/commonjs/components/Attachment/VideoThumbnail.js.map +1 -1
- package/lib/commonjs/components/Attachment/utils/buildGallery/buildGallery.js.map +1 -1
- package/lib/commonjs/components/Attachment/utils/buildGallery/buildGalleryOfSingleImage.js +2 -4
- package/lib/commonjs/components/Attachment/utils/buildGallery/buildGalleryOfSingleImage.js.map +1 -1
- package/lib/commonjs/components/Attachment/utils/buildGallery/buildGalleryOfThreeImages.js +1 -2
- package/lib/commonjs/components/Attachment/utils/buildGallery/buildGalleryOfThreeImages.js.map +1 -1
- package/lib/commonjs/components/Attachment/utils/buildGallery/buildGalleryOfTwoImages.js.map +1 -1
- package/lib/commonjs/components/Attachment/utils/buildGallery/buildThumbnail.js.map +1 -1
- package/lib/commonjs/components/Attachment/utils/buildGallery/buildThumbnailGrid.js.map +1 -1
- package/lib/commonjs/components/Attachment/utils/buildGallery/types.js.map +1 -1
- package/lib/commonjs/components/Attachment/utils/getAspectRatio.js.map +1 -1
- package/lib/commonjs/components/Attachment/utils/getGalleryImageBorderRadius.js +1 -1
- package/lib/commonjs/components/Attachment/utils/getGalleryImageBorderRadius.js.map +1 -1
- package/lib/commonjs/components/Attachment/utils/getGiphyMimeType.js.map +1 -1
- package/lib/commonjs/components/Attachment/utils/openUrlSafely.js +1 -1
- package/lib/commonjs/components/Attachment/utils/openUrlSafely.js.map +1 -1
- package/lib/commonjs/components/AttachmentPicker/AttachmentPicker.js +37 -57
- package/lib/commonjs/components/AttachmentPicker/AttachmentPicker.js.map +1 -1
- package/lib/commonjs/components/AttachmentPicker/components/AttachmentPickerBottomSheetHandle.js +10 -20
- package/lib/commonjs/components/AttachmentPicker/components/AttachmentPickerBottomSheetHandle.js.map +1 -1
- package/lib/commonjs/components/AttachmentPicker/components/AttachmentPickerError.js +16 -37
- package/lib/commonjs/components/AttachmentPicker/components/AttachmentPickerError.js.map +1 -1
- package/lib/commonjs/components/AttachmentPicker/components/AttachmentPickerErrorImage.js +3 -8
- package/lib/commonjs/components/AttachmentPicker/components/AttachmentPickerErrorImage.js.map +1 -1
- package/lib/commonjs/components/AttachmentPicker/components/AttachmentPickerIOSSelectMorePhotos.js +9 -18
- package/lib/commonjs/components/AttachmentPicker/components/AttachmentPickerIOSSelectMorePhotos.js.map +1 -1
- package/lib/commonjs/components/AttachmentPicker/components/AttachmentPickerItem.js +54 -126
- package/lib/commonjs/components/AttachmentPicker/components/AttachmentPickerItem.js.map +1 -1
- package/lib/commonjs/components/AttachmentPicker/components/AttachmentSelectionBar.js +48 -100
- package/lib/commonjs/components/AttachmentPicker/components/AttachmentSelectionBar.js.map +1 -1
- package/lib/commonjs/components/AttachmentPicker/components/CameraSelectorIcon.js +3 -8
- package/lib/commonjs/components/AttachmentPicker/components/CameraSelectorIcon.js.map +1 -1
- package/lib/commonjs/components/AttachmentPicker/components/FileSelectorIcon.js +3 -8
- package/lib/commonjs/components/AttachmentPicker/components/FileSelectorIcon.js.map +1 -1
- package/lib/commonjs/components/AttachmentPicker/components/ImageOverlaySelectedComponent.js +4 -15
- package/lib/commonjs/components/AttachmentPicker/components/ImageOverlaySelectedComponent.js.map +1 -1
- package/lib/commonjs/components/AttachmentPicker/components/ImageSelectorIcon.js +3 -8
- package/lib/commonjs/components/AttachmentPicker/components/ImageSelectorIcon.js.map +1 -1
- package/lib/commonjs/components/AutoCompleteInput/AutoCompleteInput.js +226 -145
- package/lib/commonjs/components/AutoCompleteInput/AutoCompleteInput.js.map +1 -1
- package/lib/commonjs/components/AutoCompleteInput/AutoCompleteSuggestionCommandIcon.js +45 -134
- package/lib/commonjs/components/AutoCompleteInput/AutoCompleteSuggestionCommandIcon.js.map +1 -1
- package/lib/commonjs/components/AutoCompleteInput/AutoCompleteSuggestionHeader.js +24 -63
- package/lib/commonjs/components/AutoCompleteInput/AutoCompleteSuggestionHeader.js.map +1 -1
- package/lib/commonjs/components/AutoCompleteInput/AutoCompleteSuggestionItem.js +55 -125
- package/lib/commonjs/components/AutoCompleteInput/AutoCompleteSuggestionItem.js.map +1 -1
- package/lib/commonjs/components/AutoCompleteInput/AutoCompleteSuggestionList.js +31 -71
- package/lib/commonjs/components/AutoCompleteInput/AutoCompleteSuggestionList.js.map +1 -1
- package/lib/commonjs/components/Avatar/Avatar.js +45 -84
- package/lib/commonjs/components/Avatar/Avatar.js.map +1 -1
- package/lib/commonjs/components/Avatar/GroupAvatar.js +42 -65
- package/lib/commonjs/components/Avatar/GroupAvatar.js.map +1 -1
- package/lib/commonjs/components/Channel/Channel.js +90 -170
- package/lib/commonjs/components/Channel/Channel.js.map +1 -1
- package/lib/commonjs/components/Channel/hooks/useCreateChannelContext.js.map +1 -1
- package/lib/commonjs/components/Channel/hooks/useCreateInputMessageInputContext.js.map +1 -1
- package/lib/commonjs/components/Channel/hooks/useCreateMessagesContext.js.map +1 -1
- package/lib/commonjs/components/Channel/hooks/useCreateOwnCapabilitiesContext.js +1 -2
- package/lib/commonjs/components/Channel/hooks/useCreateOwnCapabilitiesContext.js.map +1 -1
- package/lib/commonjs/components/Channel/hooks/useCreatePaginatedMessageListContext.js.map +1 -1
- package/lib/commonjs/components/Channel/hooks/useCreateThreadContext.js.map +1 -1
- package/lib/commonjs/components/Channel/hooks/useCreateTypingContext.js.map +1 -1
- package/lib/commonjs/components/Channel/hooks/useTargetedMessage.js.map +1 -1
- package/lib/commonjs/components/ChannelList/ChannelList.js +12 -23
- package/lib/commonjs/components/ChannelList/ChannelList.js.map +1 -1
- package/lib/commonjs/components/ChannelList/ChannelListFooterLoadingIndicator.js +7 -17
- package/lib/commonjs/components/ChannelList/ChannelListFooterLoadingIndicator.js.map +1 -1
- package/lib/commonjs/components/ChannelList/ChannelListHeaderErrorIndicator.js +11 -20
- package/lib/commonjs/components/ChannelList/ChannelListHeaderErrorIndicator.js.map +1 -1
- package/lib/commonjs/components/ChannelList/ChannelListHeaderNetworkDownIndicator.js +10 -19
- package/lib/commonjs/components/ChannelList/ChannelListHeaderNetworkDownIndicator.js.map +1 -1
- package/lib/commonjs/components/ChannelList/ChannelListLoadingIndicator.js +6 -18
- package/lib/commonjs/components/ChannelList/ChannelListLoadingIndicator.js.map +1 -1
- package/lib/commonjs/components/ChannelList/ChannelListMessenger.js +51 -136
- package/lib/commonjs/components/ChannelList/ChannelListMessenger.js.map +1 -1
- package/lib/commonjs/components/ChannelList/Skeleton.js +50 -120
- package/lib/commonjs/components/ChannelList/Skeleton.js.map +1 -1
- package/lib/commonjs/components/ChannelList/hooks/listeners/useAddedToChannelNotification.js.map +1 -1
- package/lib/commonjs/components/ChannelList/hooks/listeners/useChannelDeleted.js.map +1 -1
- package/lib/commonjs/components/ChannelList/hooks/listeners/useChannelHidden.js.map +1 -1
- package/lib/commonjs/components/ChannelList/hooks/listeners/useChannelTruncated.js.map +1 -1
- package/lib/commonjs/components/ChannelList/hooks/listeners/useChannelUpdated.js +1 -2
- package/lib/commonjs/components/ChannelList/hooks/listeners/useChannelUpdated.js.map +1 -1
- package/lib/commonjs/components/ChannelList/hooks/listeners/useChannelVisible.js.map +1 -1
- package/lib/commonjs/components/ChannelList/hooks/listeners/useNewMessage.js.map +1 -1
- package/lib/commonjs/components/ChannelList/hooks/listeners/useNewMessageNotification.js.map +1 -1
- package/lib/commonjs/components/ChannelList/hooks/listeners/useRemovedFromChannelNotification.js.map +1 -1
- package/lib/commonjs/components/ChannelList/hooks/listeners/useUserPresence.js.map +1 -1
- package/lib/commonjs/components/ChannelList/hooks/useCreateChannelsContext.js +2 -2
- package/lib/commonjs/components/ChannelList/hooks/useCreateChannelsContext.js.map +1 -1
- package/lib/commonjs/components/ChannelList/hooks/usePaginatedChannels.js +2 -3
- package/lib/commonjs/components/ChannelList/hooks/usePaginatedChannels.js.map +1 -1
- package/lib/commonjs/components/ChannelList/utils.js +3 -3
- package/lib/commonjs/components/ChannelList/utils.js.map +1 -1
- package/lib/commonjs/components/ChannelPreview/ChannelAvatar.js +7 -25
- package/lib/commonjs/components/ChannelPreview/ChannelAvatar.js.map +1 -1
- package/lib/commonjs/components/ChannelPreview/ChannelPreview.js +8 -21
- package/lib/commonjs/components/ChannelPreview/ChannelPreview.js.map +1 -1
- package/lib/commonjs/components/ChannelPreview/ChannelPreviewMessage.js +11 -21
- package/lib/commonjs/components/ChannelPreview/ChannelPreviewMessage.js.map +1 -1
- package/lib/commonjs/components/ChannelPreview/ChannelPreviewMessenger.js +38 -107
- package/lib/commonjs/components/ChannelPreview/ChannelPreviewMessenger.js.map +1 -1
- package/lib/commonjs/components/ChannelPreview/ChannelPreviewMutedStatus.js +3 -8
- package/lib/commonjs/components/ChannelPreview/ChannelPreviewMutedStatus.js.map +1 -1
- package/lib/commonjs/components/ChannelPreview/ChannelPreviewStatus.js +13 -37
- package/lib/commonjs/components/ChannelPreview/ChannelPreviewStatus.js.map +1 -1
- package/lib/commonjs/components/ChannelPreview/ChannelPreviewTitle.js +4 -8
- package/lib/commonjs/components/ChannelPreview/ChannelPreviewTitle.js.map +1 -1
- package/lib/commonjs/components/ChannelPreview/ChannelPreviewUnreadCount.js +8 -17
- package/lib/commonjs/components/ChannelPreview/ChannelPreviewUnreadCount.js.map +1 -1
- package/lib/commonjs/components/ChannelPreview/hooks/useChannelPreviewDisplayAvatar.js.map +1 -1
- package/lib/commonjs/components/ChannelPreview/hooks/useChannelPreviewDisplayName.js +5 -5
- package/lib/commonjs/components/ChannelPreview/hooks/useChannelPreviewDisplayName.js.map +1 -1
- package/lib/commonjs/components/ChannelPreview/hooks/useChannelPreviewDisplayPresence.js.map +1 -1
- package/lib/commonjs/components/ChannelPreview/hooks/useLatestMessagePreview.js +5 -5
- package/lib/commonjs/components/ChannelPreview/hooks/useLatestMessagePreview.js.map +1 -1
- package/lib/commonjs/components/Chat/Chat.js +19 -46
- package/lib/commonjs/components/Chat/Chat.js.map +1 -1
- package/lib/commonjs/components/Chat/hooks/handleEventToSyncDB.js +100 -37
- package/lib/commonjs/components/Chat/hooks/handleEventToSyncDB.js.map +1 -1
- package/lib/commonjs/components/Chat/hooks/useAppSettings.js +3 -3
- package/lib/commonjs/components/Chat/hooks/useAppSettings.js.map +1 -1
- package/lib/commonjs/components/Chat/hooks/useCreateChatContext.js +1 -1
- package/lib/commonjs/components/Chat/hooks/useCreateChatContext.js.map +1 -1
- package/lib/commonjs/components/Chat/hooks/useIsOnline.js.map +1 -1
- package/lib/commonjs/components/Chat/hooks/useMutedUsers.js.map +1 -1
- package/lib/commonjs/components/Chat/hooks/useSyncDatabase.js +3 -1
- package/lib/commonjs/components/Chat/hooks/useSyncDatabase.js.map +1 -1
- package/lib/commonjs/components/ImageBackground.js +12 -23
- package/lib/commonjs/components/ImageBackground.js.map +1 -1
- package/lib/commonjs/components/ImageGallery/ImageGallery.js +162 -258
- package/lib/commonjs/components/ImageGallery/ImageGallery.js.map +1 -1
- package/lib/commonjs/components/ImageGallery/components/AnimatedGalleryImage.js +7 -18
- package/lib/commonjs/components/ImageGallery/components/AnimatedGalleryImage.js.map +1 -1
- package/lib/commonjs/components/ImageGallery/components/AnimatedGalleryVideo.js +39 -66
- package/lib/commonjs/components/ImageGallery/components/AnimatedGalleryVideo.js.map +1 -1
- package/lib/commonjs/components/ImageGallery/components/ImageGalleryFooter.js +74 -151
- package/lib/commonjs/components/ImageGallery/components/ImageGalleryFooter.js.map +1 -1
- package/lib/commonjs/components/ImageGallery/components/ImageGalleryHeader.js +45 -97
- package/lib/commonjs/components/ImageGallery/components/ImageGalleryHeader.js.map +1 -1
- package/lib/commonjs/components/ImageGallery/components/ImageGalleryOverlay.js +10 -20
- package/lib/commonjs/components/ImageGallery/components/ImageGalleryOverlay.js.map +1 -1
- package/lib/commonjs/components/ImageGallery/components/ImageGalleryVideoControl.js +42 -84
- package/lib/commonjs/components/ImageGallery/components/ImageGalleryVideoControl.js.map +1 -1
- package/lib/commonjs/components/ImageGallery/components/ImageGrid.js +26 -60
- package/lib/commonjs/components/ImageGallery/components/ImageGrid.js.map +1 -1
- package/lib/commonjs/components/ImageGallery/components/ImageGridHandle.js +22 -48
- package/lib/commonjs/components/ImageGallery/components/ImageGridHandle.js.map +1 -1
- package/lib/commonjs/components/ImageGallery/hooks/useImageGalleryGestures.js.map +1 -1
- package/lib/commonjs/components/Indicators/EmptyStateIndicator.js +24 -49
- package/lib/commonjs/components/Indicators/EmptyStateIndicator.js.map +1 -1
- package/lib/commonjs/components/Indicators/LoadingDot.js +5 -10
- package/lib/commonjs/components/Indicators/LoadingDot.js.map +1 -1
- package/lib/commonjs/components/Indicators/LoadingDots.js +17 -28
- package/lib/commonjs/components/Indicators/LoadingDots.js.map +1 -1
- package/lib/commonjs/components/Indicators/LoadingErrorIndicator.js +22 -53
- package/lib/commonjs/components/Indicators/LoadingErrorIndicator.js.map +1 -1
- package/lib/commonjs/components/Indicators/LoadingIndicator.js +21 -60
- package/lib/commonjs/components/Indicators/LoadingIndicator.js.map +1 -1
- package/lib/commonjs/components/KeyboardCompatibleView/KeyboardCompatibleView.js +46 -91
- package/lib/commonjs/components/KeyboardCompatibleView/KeyboardCompatibleView.js.map +1 -1
- package/lib/commonjs/components/KeyboardCompatibleView/KeyboardCompatibleViewFC.js +52 -93
- package/lib/commonjs/components/KeyboardCompatibleView/KeyboardCompatibleViewFC.js.map +1 -1
- package/lib/commonjs/components/Message/Message.js +34 -74
- package/lib/commonjs/components/Message/Message.js.map +1 -1
- package/lib/commonjs/components/Message/MessageSimple/MessageAvatar.js +14 -38
- package/lib/commonjs/components/Message/MessageSimple/MessageAvatar.js.map +1 -1
- package/lib/commonjs/components/Message/MessageSimple/MessageBounce.js +17 -22
- package/lib/commonjs/components/Message/MessageSimple/MessageBounce.js.map +1 -1
- package/lib/commonjs/components/Message/MessageSimple/MessageContent.js +72 -173
- package/lib/commonjs/components/Message/MessageSimple/MessageContent.js.map +1 -1
- package/lib/commonjs/components/Message/MessageSimple/MessageDeleted.js +29 -58
- package/lib/commonjs/components/Message/MessageSimple/MessageDeleted.js.map +1 -1
- package/lib/commonjs/components/Message/MessageSimple/MessageError.js +9 -26
- package/lib/commonjs/components/Message/MessageSimple/MessageError.js.map +1 -1
- package/lib/commonjs/components/Message/MessageSimple/MessageFooter.js +47 -106
- package/lib/commonjs/components/Message/MessageSimple/MessageFooter.js.map +1 -1
- package/lib/commonjs/components/Message/MessageSimple/MessagePinnedHeader.js +13 -36
- package/lib/commonjs/components/Message/MessageSimple/MessagePinnedHeader.js.map +1 -1
- package/lib/commonjs/components/Message/MessageSimple/MessageReplies.js +66 -122
- package/lib/commonjs/components/Message/MessageSimple/MessageReplies.js.map +1 -1
- package/lib/commonjs/components/Message/MessageSimple/MessageRepliesAvatars.js +22 -45
- package/lib/commonjs/components/Message/MessageSimple/MessageRepliesAvatars.js.map +1 -1
- package/lib/commonjs/components/Message/MessageSimple/MessageSimple.js +20 -56
- package/lib/commonjs/components/Message/MessageSimple/MessageSimple.js.map +1 -1
- package/lib/commonjs/components/Message/MessageSimple/MessageStatus.js +24 -79
- package/lib/commonjs/components/Message/MessageSimple/MessageStatus.js.map +1 -1
- package/lib/commonjs/components/Message/MessageSimple/MessageTextContainer.js +21 -39
- package/lib/commonjs/components/Message/MessageSimple/MessageTextContainer.js.map +1 -1
- package/lib/commonjs/components/Message/MessageSimple/ReactionList.js +123 -226
- package/lib/commonjs/components/Message/MessageSimple/ReactionList.js.map +1 -1
- package/lib/commonjs/components/Message/MessageSimple/utils/generateMarkdownText.js +20 -12
- package/lib/commonjs/components/Message/MessageSimple/utils/generateMarkdownText.js.map +1 -1
- package/lib/commonjs/components/Message/MessageSimple/utils/generateMarkdownText.test.js.map +1 -1
- package/lib/commonjs/components/Message/MessageSimple/utils/parseLinks.js.map +1 -1
- package/lib/commonjs/components/Message/MessageSimple/utils/parseLinks.test.js.map +1 -1
- package/lib/commonjs/components/Message/MessageSimple/utils/renderText.js +75 -164
- package/lib/commonjs/components/Message/MessageSimple/utils/renderText.js.map +1 -1
- package/lib/commonjs/components/Message/MessageSimple/utils/renderText.test.js +32 -65
- package/lib/commonjs/components/Message/MessageSimple/utils/renderText.test.js.map +1 -1
- package/lib/commonjs/components/Message/hooks/useCreateMessageContext.js +4 -4
- package/lib/commonjs/components/Message/hooks/useCreateMessageContext.js.map +1 -1
- package/lib/commonjs/components/Message/hooks/useMessageActionHandlers.js.map +1 -1
- package/lib/commonjs/components/Message/hooks/useMessageActions.js +25 -90
- package/lib/commonjs/components/Message/hooks/useMessageActions.js.map +1 -1
- package/lib/commonjs/components/Message/utils/messageActions.js.map +1 -1
- package/lib/commonjs/components/MessageInput/AttachButton.js +8 -26
- package/lib/commonjs/components/MessageInput/AttachButton.js.map +1 -1
- package/lib/commonjs/components/MessageInput/CommandsButton.js +10 -28
- package/lib/commonjs/components/MessageInput/CommandsButton.js.map +1 -1
- package/lib/commonjs/components/MessageInput/CooldownTimer.js +11 -20
- package/lib/commonjs/components/MessageInput/CooldownTimer.js.map +1 -1
- package/lib/commonjs/components/MessageInput/FileUploadPreview.js +104 -205
- package/lib/commonjs/components/MessageInput/FileUploadPreview.js.map +1 -1
- package/lib/commonjs/components/MessageInput/ImageUploadPreview.js +50 -123
- package/lib/commonjs/components/MessageInput/ImageUploadPreview.js.map +1 -1
- package/lib/commonjs/components/MessageInput/InputButtons.js +17 -50
- package/lib/commonjs/components/MessageInput/InputButtons.js.map +1 -1
- package/lib/commonjs/components/MessageInput/MessageInput.js +94 -238
- package/lib/commonjs/components/MessageInput/MessageInput.js.map +1 -1
- package/lib/commonjs/components/MessageInput/MoreOptionsButton.js +8 -26
- package/lib/commonjs/components/MessageInput/MoreOptionsButton.js.map +1 -1
- package/lib/commonjs/components/MessageInput/SendButton.js +12 -44
- package/lib/commonjs/components/MessageInput/SendButton.js.map +1 -1
- package/lib/commonjs/components/MessageInput/SendMessageDisallowedIndicator.js +9 -18
- package/lib/commonjs/components/MessageInput/SendMessageDisallowedIndicator.js.map +1 -1
- package/lib/commonjs/components/MessageInput/ShowThreadMessageInChannelButton.js +33 -72
- package/lib/commonjs/components/MessageInput/ShowThreadMessageInChannelButton.js.map +1 -1
- package/lib/commonjs/components/MessageInput/UploadProgressIndicator.js +28 -77
- package/lib/commonjs/components/MessageInput/UploadProgressIndicator.js.map +1 -1
- package/lib/commonjs/components/MessageInput/components/InputEditingStateHeader.js +23 -57
- package/lib/commonjs/components/MessageInput/components/InputEditingStateHeader.js.map +1 -1
- package/lib/commonjs/components/MessageInput/components/InputGiphySearch.js +35 -80
- package/lib/commonjs/components/MessageInput/components/InputGiphySearch.js.map +1 -1
- package/lib/commonjs/components/MessageInput/components/InputReplyStateHeader.js +23 -57
- package/lib/commonjs/components/MessageInput/components/InputReplyStateHeader.js.map +1 -1
- package/lib/commonjs/components/MessageInput/hooks/useCooldown.js.map +1 -1
- package/lib/commonjs/components/MessageInput/hooks/useCountdown.js.map +1 -1
- package/lib/commonjs/components/MessageList/DateHeader.js +9 -18
- package/lib/commonjs/components/MessageList/DateHeader.js.map +1 -1
- package/lib/commonjs/components/MessageList/InlineDateSeparator.js +9 -18
- package/lib/commonjs/components/MessageList/InlineDateSeparator.js.map +1 -1
- package/lib/commonjs/components/MessageList/InlineLoadingMoreIndicator.js +9 -25
- package/lib/commonjs/components/MessageList/InlineLoadingMoreIndicator.js.map +1 -1
- package/lib/commonjs/components/MessageList/InlineLoadingMoreRecentIndicator.js +9 -25
- package/lib/commonjs/components/MessageList/InlineLoadingMoreRecentIndicator.js.map +1 -1
- package/lib/commonjs/components/MessageList/InlineLoadingMoreThreadIndicator.js +9 -25
- package/lib/commonjs/components/MessageList/InlineLoadingMoreThreadIndicator.js.map +1 -1
- package/lib/commonjs/components/MessageList/InlineUnreadIndicator.js +42 -84
- package/lib/commonjs/components/MessageList/InlineUnreadIndicator.js.map +1 -1
- package/lib/commonjs/components/MessageList/MessageList.js +100 -270
- package/lib/commonjs/components/MessageList/MessageList.js.map +1 -1
- package/lib/commonjs/components/MessageList/MessageSystem.js +25 -56
- package/lib/commonjs/components/MessageList/MessageSystem.js.map +1 -1
- package/lib/commonjs/components/MessageList/NetworkDownIndicator.js +8 -17
- package/lib/commonjs/components/MessageList/NetworkDownIndicator.js.map +1 -1
- package/lib/commonjs/components/MessageList/ScrollToBottomButton.js +26 -56
- package/lib/commonjs/components/MessageList/ScrollToBottomButton.js.map +1 -1
- package/lib/commonjs/components/MessageList/TypingIndicator.js +12 -27
- package/lib/commonjs/components/MessageList/TypingIndicator.js.map +1 -1
- package/lib/commonjs/components/MessageList/TypingIndicatorContainer.js +6 -18
- package/lib/commonjs/components/MessageList/TypingIndicatorContainer.js.map +1 -1
- package/lib/commonjs/components/MessageList/hooks/useMessageList.js +1 -2
- package/lib/commonjs/components/MessageList/hooks/useMessageList.js.map +1 -1
- package/lib/commonjs/components/MessageList/hooks/useShouldScrollToRecentOnNewOwnMessage.js.map +1 -1
- package/lib/commonjs/components/MessageList/hooks/useTypingString.js.map +1 -1
- package/lib/commonjs/components/MessageList/utils/filterTypingUsers.js.map +1 -1
- package/lib/commonjs/components/MessageList/utils/getDateSeparators.js.map +1 -1
- package/lib/commonjs/components/MessageList/utils/getGroupStyles.js.map +1 -1
- package/lib/commonjs/components/MessageList/utils/getLastReceivedMessage.js +13 -5
- package/lib/commonjs/components/MessageList/utils/getLastReceivedMessage.js.map +1 -1
- package/lib/commonjs/components/MessageList/utils/getReadStates.js +52 -36
- package/lib/commonjs/components/MessageList/utils/getReadStates.js.map +1 -1
- package/lib/commonjs/components/MessageOverlay/MessageActionList.js +19 -40
- package/lib/commonjs/components/MessageOverlay/MessageActionList.js.map +1 -1
- package/lib/commonjs/components/MessageOverlay/MessageActionListItem.js +21 -48
- package/lib/commonjs/components/MessageOverlay/MessageActionListItem.js.map +1 -1
- package/lib/commonjs/components/MessageOverlay/MessageOverlay.js +163 -304
- package/lib/commonjs/components/MessageOverlay/MessageOverlay.js.map +1 -1
- package/lib/commonjs/components/MessageOverlay/OverlayBackdrop.js +3 -8
- package/lib/commonjs/components/MessageOverlay/OverlayBackdrop.js.map +1 -1
- package/lib/commonjs/components/MessageOverlay/OverlayReactionList.js +73 -145
- package/lib/commonjs/components/MessageOverlay/OverlayReactionList.js.map +1 -1
- package/lib/commonjs/components/MessageOverlay/OverlayReactions.js +119 -224
- package/lib/commonjs/components/MessageOverlay/OverlayReactions.js.map +1 -1
- package/lib/commonjs/components/MessageOverlay/OverlayReactionsAvatar.js +3 -8
- package/lib/commonjs/components/MessageOverlay/OverlayReactionsAvatar.js.map +1 -1
- package/lib/commonjs/components/MessageOverlay/hooks/useMessageActionAnimation.js.map +1 -1
- package/lib/commonjs/components/ProgressControl/ProgressControl.js +19 -51
- package/lib/commonjs/components/ProgressControl/ProgressControl.js.map +1 -1
- package/lib/commonjs/components/RTLComponents/WritingDirectionAwareText.js +4 -9
- package/lib/commonjs/components/RTLComponents/WritingDirectionAwareText.js.map +1 -1
- package/lib/commonjs/components/Reply/Reply.js +61 -113
- package/lib/commonjs/components/Reply/Reply.js.map +1 -1
- package/lib/commonjs/components/Spinner/Spinner.js +11 -21
- package/lib/commonjs/components/Spinner/Spinner.js.map +1 -1
- package/lib/commonjs/components/Thread/Thread.js +17 -44
- package/lib/commonjs/components/Thread/Thread.js.map +1 -1
- package/lib/commonjs/components/Thread/components/ThreadFooterComponent.js +57 -121
- package/lib/commonjs/components/Thread/components/ThreadFooterComponent.js.map +1 -1
- package/lib/commonjs/components/docs/data.js +1 -1
- package/lib/commonjs/components/docs/data.js.map +1 -1
- package/lib/commonjs/components/index.js.map +1 -1
- package/lib/commonjs/contexts/activeChannelsRefContext/ActiveChannelsRefContext.js +9 -21
- package/lib/commonjs/contexts/activeChannelsRefContext/ActiveChannelsRefContext.js.map +1 -1
- package/lib/commonjs/contexts/attachmentPickerContext/AttachmentPickerContext.js +9 -21
- package/lib/commonjs/contexts/attachmentPickerContext/AttachmentPickerContext.js.map +1 -1
- package/lib/commonjs/contexts/channelContext/ChannelContext.js +8 -21
- package/lib/commonjs/contexts/channelContext/ChannelContext.js.map +1 -1
- package/lib/commonjs/contexts/channelsContext/ChannelsContext.js +8 -21
- package/lib/commonjs/contexts/channelsContext/ChannelsContext.js.map +1 -1
- package/lib/commonjs/contexts/channelsStateContext/ChannelsStateContext.js +15 -32
- package/lib/commonjs/contexts/channelsStateContext/ChannelsStateContext.js.map +1 -1
- package/lib/commonjs/contexts/channelsStateContext/useChannelState.js.map +1 -1
- package/lib/commonjs/contexts/chatContext/ChatContext.js +8 -21
- package/lib/commonjs/contexts/chatContext/ChatContext.js.map +1 -1
- package/lib/commonjs/contexts/debugContext/DebugContext.js +6 -10
- package/lib/commonjs/contexts/debugContext/DebugContext.js.map +1 -1
- package/lib/commonjs/contexts/imageGalleryContext/ImageGalleryContext.js +8 -20
- package/lib/commonjs/contexts/imageGalleryContext/ImageGalleryContext.js.map +1 -1
- package/lib/commonjs/contexts/index.js.map +1 -1
- package/lib/commonjs/contexts/keyboardContext/KeyboardContext.js +8 -21
- package/lib/commonjs/contexts/keyboardContext/KeyboardContext.js.map +1 -1
- package/lib/commonjs/contexts/messageContext/MessageContext.js +8 -21
- package/lib/commonjs/contexts/messageContext/MessageContext.js.map +1 -1
- package/lib/commonjs/contexts/messageInputContext/MessageInputContext.js +126 -96
- package/lib/commonjs/contexts/messageInputContext/MessageInputContext.js.map +1 -1
- package/lib/commonjs/contexts/messageInputContext/hooks/useCreateMessageInputContext.js +5 -3
- package/lib/commonjs/contexts/messageInputContext/hooks/useCreateMessageInputContext.js.map +1 -1
- package/lib/commonjs/contexts/messageInputContext/hooks/useMessageDetailsForState.js +49 -41
- package/lib/commonjs/contexts/messageInputContext/hooks/useMessageDetailsForState.js.map +1 -1
- package/lib/commonjs/contexts/messageOverlayContext/MessageOverlayContext.js +8 -21
- package/lib/commonjs/contexts/messageOverlayContext/MessageOverlayContext.js.map +1 -1
- package/lib/commonjs/contexts/messageOverlayContext/hooks/useResettableState.js.map +1 -1
- package/lib/commonjs/contexts/messageOverlayContext/hooks/useResettableState.test.js +33 -53
- package/lib/commonjs/contexts/messageOverlayContext/hooks/useResettableState.test.js.map +1 -1
- package/lib/commonjs/contexts/messagesContext/MessagesContext.js +8 -21
- package/lib/commonjs/contexts/messagesContext/MessagesContext.js.map +1 -1
- package/lib/commonjs/contexts/overlayContext/OverlayContext.js +5 -13
- package/lib/commonjs/contexts/overlayContext/OverlayContext.js.map +1 -1
- package/lib/commonjs/contexts/overlayContext/OverlayProvider.js +52 -112
- package/lib/commonjs/contexts/overlayContext/OverlayProvider.js.map +1 -1
- package/lib/commonjs/contexts/ownCapabilitiesContext/OwnCapabilitiesContext.js +6 -10
- package/lib/commonjs/contexts/ownCapabilitiesContext/OwnCapabilitiesContext.js.map +1 -1
- package/lib/commonjs/contexts/paginatedMessageListContext/PaginatedMessageListContext.js +8 -21
- package/lib/commonjs/contexts/paginatedMessageListContext/PaginatedMessageListContext.js.map +1 -1
- package/lib/commonjs/contexts/suggestionsContext/SuggestionsContext.js +9 -21
- package/lib/commonjs/contexts/suggestionsContext/SuggestionsContext.js.map +1 -1
- package/lib/commonjs/contexts/themeContext/ThemeContext.js +6 -10
- package/lib/commonjs/contexts/themeContext/ThemeContext.js.map +1 -1
- package/lib/commonjs/contexts/themeContext/utils/theme.js +3 -3
- package/lib/commonjs/contexts/themeContext/utils/theme.js.map +1 -1
- package/lib/commonjs/contexts/threadContext/ThreadContext.js +8 -21
- package/lib/commonjs/contexts/threadContext/ThreadContext.js.map +1 -1
- package/lib/commonjs/contexts/translationContext/TranslationContext.js +8 -20
- package/lib/commonjs/contexts/translationContext/TranslationContext.js.map +1 -1
- package/lib/commonjs/contexts/typingContext/TypingContext.js +8 -21
- package/lib/commonjs/contexts/typingContext/TypingContext.js.map +1 -1
- package/lib/commonjs/contexts/utils/defaultBaseContextValue.js.map +1 -1
- package/lib/commonjs/contexts/utils/getDisplayName.js.map +1 -1
- package/lib/commonjs/contexts/utils/isTestEnvironment.js.map +1 -1
- package/lib/commonjs/emoji-data/compile.js +4 -5
- package/lib/commonjs/emoji-data/compile.js.map +1 -1
- package/lib/commonjs/emoji-data/index.js.map +1 -1
- package/lib/commonjs/hooks/index.js.map +1 -1
- package/lib/commonjs/hooks/useAppStateListener.js +3 -1
- package/lib/commonjs/hooks/useAppStateListener.js.map +1 -1
- package/lib/commonjs/hooks/useIsMountedRef.js.map +1 -1
- package/lib/commonjs/hooks/useLoadingImage.js +3 -4
- package/lib/commonjs/hooks/useLoadingImage.js.map +1 -1
- package/lib/commonjs/hooks/useStreami18n.js +1 -2
- package/lib/commonjs/hooks/useStreami18n.js.map +1 -1
- package/lib/commonjs/hooks/useTranslatedMessage.js +3 -5
- package/lib/commonjs/hooks/useTranslatedMessage.js.map +1 -1
- package/lib/commonjs/hooks/useViewport.js.map +1 -1
- package/lib/commonjs/i18n/es.json +10 -10
- package/lib/commonjs/i18n/fr.json +10 -10
- package/lib/commonjs/i18n/he.json +10 -10
- package/lib/commonjs/i18n/hi.json +10 -10
- package/lib/commonjs/i18n/it.json +10 -10
- package/lib/commonjs/i18n/ja.json +10 -10
- package/lib/commonjs/i18n/ko.json +10 -10
- package/lib/commonjs/i18n/nl.json +10 -10
- package/lib/commonjs/i18n/pt-BR.json +10 -10
- package/lib/commonjs/i18n/ru.json +10 -10
- package/lib/commonjs/i18n/tr.json +10 -10
- package/lib/commonjs/icons/ArrowRight.js +10 -36
- package/lib/commonjs/icons/ArrowRight.js.map +1 -1
- package/lib/commonjs/icons/AtMentions.js +6 -18
- package/lib/commonjs/icons/AtMentions.js.map +1 -1
- package/lib/commonjs/icons/Attach.js +6 -18
- package/lib/commonjs/icons/Attach.js.map +1 -1
- package/lib/commonjs/icons/Audio.js +28 -73
- package/lib/commonjs/icons/Audio.js.map +1 -1
- package/lib/commonjs/icons/CSV.js +18 -53
- package/lib/commonjs/icons/CSV.js.map +1 -1
- package/lib/commonjs/icons/Camera.js +6 -18
- package/lib/commonjs/icons/Camera.js.map +1 -1
- package/lib/commonjs/icons/Check.js +8 -27
- package/lib/commonjs/icons/Check.js.map +1 -1
- package/lib/commonjs/icons/CheckAll.js +8 -27
- package/lib/commonjs/icons/CheckAll.js.map +1 -1
- package/lib/commonjs/icons/CheckSend.js +6 -18
- package/lib/commonjs/icons/CheckSend.js.map +1 -1
- package/lib/commonjs/icons/CircleClose.js +8 -27
- package/lib/commonjs/icons/CircleClose.js.map +1 -1
- package/lib/commonjs/icons/CirclePlus.js +8 -27
- package/lib/commonjs/icons/CirclePlus.js.map +1 -1
- package/lib/commonjs/icons/CircleRight.js +8 -27
- package/lib/commonjs/icons/CircleRight.js.map +1 -1
- package/lib/commonjs/icons/Close.js +6 -18
- package/lib/commonjs/icons/Close.js.map +1 -1
- package/lib/commonjs/icons/Copy.js +6 -18
- package/lib/commonjs/icons/Copy.js.map +1 -1
- package/lib/commonjs/icons/CurveLineLeftUp.js +10 -36
- package/lib/commonjs/icons/CurveLineLeftUp.js.map +1 -1
- package/lib/commonjs/icons/DOC.js +32 -83
- package/lib/commonjs/icons/DOC.js.map +1 -1
- package/lib/commonjs/icons/DOCX.js +32 -83
- package/lib/commonjs/icons/DOCX.js.map +1 -1
- package/lib/commonjs/icons/Delete.js +8 -27
- package/lib/commonjs/icons/Delete.js.map +1 -1
- package/lib/commonjs/icons/Down.js +6 -18
- package/lib/commonjs/icons/Down.js.map +1 -1
- package/lib/commonjs/icons/DownloadArrow.js +6 -18
- package/lib/commonjs/icons/DownloadArrow.js.map +1 -1
- package/lib/commonjs/icons/DownloadCloud.js +12 -45
- package/lib/commonjs/icons/DownloadCloud.js.map +1 -1
- package/lib/commonjs/icons/Edit.js +6 -18
- package/lib/commonjs/icons/Edit.js.map +1 -1
- package/lib/commonjs/icons/Error.js +6 -18
- package/lib/commonjs/icons/Error.js.map +1 -1
- package/lib/commonjs/icons/Eye.js +6 -18
- package/lib/commonjs/icons/Eye.js.map +1 -1
- package/lib/commonjs/icons/Flag.js +6 -18
- package/lib/commonjs/icons/Flag.js.map +1 -1
- package/lib/commonjs/icons/Folder.js +6 -18
- package/lib/commonjs/icons/Folder.js.map +1 -1
- package/lib/commonjs/icons/GenericFile.js +28 -73
- package/lib/commonjs/icons/GenericFile.js.map +1 -1
- package/lib/commonjs/icons/GiphyIcon.js +22 -69
- package/lib/commonjs/icons/GiphyIcon.js.map +1 -1
- package/lib/commonjs/icons/Grid.js +6 -18
- package/lib/commonjs/icons/Grid.js.map +1 -1
- package/lib/commonjs/icons/Group.js +6 -18
- package/lib/commonjs/icons/Group.js.map +1 -1
- package/lib/commonjs/icons/HTML.js +18 -53
- package/lib/commonjs/icons/HTML.js.map +1 -1
- package/lib/commonjs/icons/Imgur.js +15 -41
- package/lib/commonjs/icons/Imgur.js.map +1 -1
- package/lib/commonjs/icons/LOLReaction.js +6 -18
- package/lib/commonjs/icons/LOLReaction.js.map +1 -1
- package/lib/commonjs/icons/Lightning.js +6 -18
- package/lib/commonjs/icons/Lightning.js.map +1 -1
- package/lib/commonjs/icons/Link.js +8 -27
- package/lib/commonjs/icons/Link.js.map +1 -1
- package/lib/commonjs/icons/Loading.js +23 -56
- package/lib/commonjs/icons/Loading.js.map +1 -1
- package/lib/commonjs/icons/Logo.js +7 -19
- package/lib/commonjs/icons/Logo.js.map +1 -1
- package/lib/commonjs/icons/LoveReaction.js +6 -18
- package/lib/commonjs/icons/LoveReaction.js.map +1 -1
- package/lib/commonjs/icons/MD.js +18 -53
- package/lib/commonjs/icons/MD.js.map +1 -1
- package/lib/commonjs/icons/MailOpen.js +6 -18
- package/lib/commonjs/icons/MailOpen.js.map +1 -1
- package/lib/commonjs/icons/MenuPointHorizontal.js +6 -18
- package/lib/commonjs/icons/MenuPointHorizontal.js.map +1 -1
- package/lib/commonjs/icons/MenuPointVertical.js +6 -18
- package/lib/commonjs/icons/MenuPointVertical.js.map +1 -1
- package/lib/commonjs/icons/MessageFlag.js +6 -18
- package/lib/commonjs/icons/MessageFlag.js.map +1 -1
- package/lib/commonjs/icons/MessageIcon.js +6 -18
- package/lib/commonjs/icons/MessageIcon.js.map +1 -1
- package/lib/commonjs/icons/Mute.js +6 -18
- package/lib/commonjs/icons/Mute.js.map +1 -1
- package/lib/commonjs/icons/Notification.js +10 -36
- package/lib/commonjs/icons/Notification.js.map +1 -1
- package/lib/commonjs/icons/ODT.js +18 -53
- package/lib/commonjs/icons/ODT.js.map +1 -1
- package/lib/commonjs/icons/PDF.js +18 -53
- package/lib/commonjs/icons/PDF.js.map +1 -1
- package/lib/commonjs/icons/PPT.js +32 -83
- package/lib/commonjs/icons/PPT.js.map +1 -1
- package/lib/commonjs/icons/PPTX.js +32 -83
- package/lib/commonjs/icons/PPTX.js.map +1 -1
- package/lib/commonjs/icons/Pause.js +16 -33
- package/lib/commonjs/icons/Pause.js.map +1 -1
- package/lib/commonjs/icons/Picture.js +8 -27
- package/lib/commonjs/icons/Picture.js.map +1 -1
- package/lib/commonjs/icons/Pin.js +7 -19
- package/lib/commonjs/icons/Pin.js.map +1 -1
- package/lib/commonjs/icons/PinHeader.js +6 -18
- package/lib/commonjs/icons/PinHeader.js.map +1 -1
- package/lib/commonjs/icons/Play.js +7 -19
- package/lib/commonjs/icons/Play.js.map +1 -1
- package/lib/commonjs/icons/RAR.js +18 -53
- package/lib/commonjs/icons/RAR.js.map +1 -1
- package/lib/commonjs/icons/RTF.js +18 -53
- package/lib/commonjs/icons/RTF.js.map +1 -1
- package/lib/commonjs/icons/Recorder.js +8 -27
- package/lib/commonjs/icons/Recorder.js.map +1 -1
- package/lib/commonjs/icons/Refresh.js +6 -18
- package/lib/commonjs/icons/Refresh.js.map +1 -1
- package/lib/commonjs/icons/SEVEN_Z.js +18 -53
- package/lib/commonjs/icons/SEVEN_Z.js.map +1 -1
- package/lib/commonjs/icons/Search.js +6 -18
- package/lib/commonjs/icons/Search.js.map +1 -1
- package/lib/commonjs/icons/SendRight.js +6 -18
- package/lib/commonjs/icons/SendRight.js.map +1 -1
- package/lib/commonjs/icons/SendUp.js +6 -18
- package/lib/commonjs/icons/SendUp.js.map +1 -1
- package/lib/commonjs/icons/Share.js +15 -40
- package/lib/commonjs/icons/Share.js.map +1 -1
- package/lib/commonjs/icons/ShareRightArrow.js +6 -18
- package/lib/commonjs/icons/ShareRightArrow.js.map +1 -1
- package/lib/commonjs/icons/Smile.js +8 -27
- package/lib/commonjs/icons/Smile.js.map +1 -1
- package/lib/commonjs/icons/Sound.js +6 -18
- package/lib/commonjs/icons/Sound.js.map +1 -1
- package/lib/commonjs/icons/TAR.js +18 -53
- package/lib/commonjs/icons/TAR.js.map +1 -1
- package/lib/commonjs/icons/TXT.js +18 -53
- package/lib/commonjs/icons/TXT.js.map +1 -1
- package/lib/commonjs/icons/ThreadReply.js +6 -18
- package/lib/commonjs/icons/ThreadReply.js.map +1 -1
- package/lib/commonjs/icons/ThumbsDownReaction.js +6 -18
- package/lib/commonjs/icons/ThumbsDownReaction.js.map +1 -1
- package/lib/commonjs/icons/ThumbsUpReaction.js +6 -18
- package/lib/commonjs/icons/ThumbsUpReaction.js.map +1 -1
- package/lib/commonjs/icons/Time.js +8 -27
- package/lib/commonjs/icons/Time.js.map +1 -1
- package/lib/commonjs/icons/Unknown.js +6 -18
- package/lib/commonjs/icons/Unknown.js.map +1 -1
- package/lib/commonjs/icons/Unpin.js +6 -18
- package/lib/commonjs/icons/Unpin.js.map +1 -1
- package/lib/commonjs/icons/User.js +6 -18
- package/lib/commonjs/icons/User.js.map +1 -1
- package/lib/commonjs/icons/UserAdd.js +8 -27
- package/lib/commonjs/icons/UserAdd.js.map +1 -1
- package/lib/commonjs/icons/UserAdmin.js +13 -32
- package/lib/commonjs/icons/UserAdmin.js.map +1 -1
- package/lib/commonjs/icons/UserDelete.js +8 -27
- package/lib/commonjs/icons/UserDelete.js.map +1 -1
- package/lib/commonjs/icons/UserMinus.js +8 -27
- package/lib/commonjs/icons/UserMinus.js.map +1 -1
- package/lib/commonjs/icons/Video.js +18 -58
- package/lib/commonjs/icons/Video.js.map +1 -1
- package/lib/commonjs/icons/Warning.js +6 -18
- package/lib/commonjs/icons/Warning.js.map +1 -1
- package/lib/commonjs/icons/WutReaction.js +6 -18
- package/lib/commonjs/icons/WutReaction.js.map +1 -1
- package/lib/commonjs/icons/XLS.js +32 -83
- package/lib/commonjs/icons/XLS.js.map +1 -1
- package/lib/commonjs/icons/XLSX.js +32 -83
- package/lib/commonjs/icons/XLSX.js.map +1 -1
- package/lib/commonjs/icons/ZIP.js +18 -53
- package/lib/commonjs/icons/ZIP.js.map +1 -1
- package/lib/commonjs/icons/index.js.map +1 -1
- package/lib/commonjs/icons/utils/base.js +8 -19
- package/lib/commonjs/icons/utils/base.js.map +1 -1
- package/lib/commonjs/index.js +2 -2
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/init.js.map +1 -1
- package/lib/commonjs/mock-builders/DB/consts.js.map +1 -1
- package/lib/commonjs/mock-builders/DB/mock.js +2 -2
- package/lib/commonjs/mock-builders/DB/mock.js.map +1 -1
- package/lib/commonjs/mock-builders/api/channelMocks.js.map +1 -1
- package/lib/commonjs/mock-builders/api/deleteMessage.js.map +1 -1
- package/lib/commonjs/mock-builders/api/deleteReaction.js.map +1 -1
- package/lib/commonjs/mock-builders/api/error.js +4 -6
- package/lib/commonjs/mock-builders/api/error.js.map +1 -1
- package/lib/commonjs/mock-builders/api/getOrCreateChannel.js.map +1 -1
- package/lib/commonjs/mock-builders/api/queryChannels.js.map +1 -1
- package/lib/commonjs/mock-builders/api/queryMembers.js.map +1 -1
- package/lib/commonjs/mock-builders/api/sendMessage.js.map +1 -1
- package/lib/commonjs/mock-builders/api/sendReaction.js.map +1 -1
- package/lib/commonjs/mock-builders/api/threadReplies.js.map +1 -1
- package/lib/commonjs/mock-builders/api/useMockedApis.js.map +1 -1
- package/lib/commonjs/mock-builders/api/utils.js.map +1 -1
- package/lib/commonjs/mock-builders/event/channelDeleted.js.map +1 -1
- package/lib/commonjs/mock-builders/event/channelHidden.js.map +1 -1
- package/lib/commonjs/mock-builders/event/channelTruncated.js.map +1 -1
- package/lib/commonjs/mock-builders/event/channelUpdated.js.map +1 -1
- package/lib/commonjs/mock-builders/event/connectionChanged.js.map +1 -1
- package/lib/commonjs/mock-builders/event/connectionRecovered.js.map +1 -1
- package/lib/commonjs/mock-builders/event/memberAdded.js.map +1 -1
- package/lib/commonjs/mock-builders/event/memberRemoved.js.map +1 -1
- package/lib/commonjs/mock-builders/event/memberUpdated.js.map +1 -1
- package/lib/commonjs/mock-builders/event/messageDeleted.js.map +1 -1
- package/lib/commonjs/mock-builders/event/messageNew.js.map +1 -1
- package/lib/commonjs/mock-builders/event/messageRead.js.map +1 -1
- package/lib/commonjs/mock-builders/event/messageUpdated.js.map +1 -1
- package/lib/commonjs/mock-builders/event/notificationAddedToChannel.js.map +1 -1
- package/lib/commonjs/mock-builders/event/notificationMessageNew.js.map +1 -1
- package/lib/commonjs/mock-builders/event/notificationMutesUpdated.js +1 -3
- package/lib/commonjs/mock-builders/event/notificationMutesUpdated.js.map +1 -1
- package/lib/commonjs/mock-builders/event/notificationRemovedFromChannel.js.map +1 -1
- package/lib/commonjs/mock-builders/event/reactionDeleted.js.map +1 -1
- package/lib/commonjs/mock-builders/event/reactionNew.js.map +1 -1
- package/lib/commonjs/mock-builders/event/reactionUpdated.js.map +1 -1
- package/lib/commonjs/mock-builders/event/typing.js.map +1 -1
- package/lib/commonjs/mock-builders/event/userPresence.js.map +1 -1
- package/lib/commonjs/mock-builders/event/userUpdated.js.map +1 -1
- package/lib/commonjs/mock-builders/generator/attachment.js +9 -11
- package/lib/commonjs/mock-builders/generator/attachment.js.map +1 -1
- package/lib/commonjs/mock-builders/generator/channel.js +11 -12
- package/lib/commonjs/mock-builders/generator/channel.js.map +1 -1
- package/lib/commonjs/mock-builders/generator/member.js +1 -3
- package/lib/commonjs/mock-builders/generator/member.js.map +1 -1
- package/lib/commonjs/mock-builders/generator/message.js +2 -4
- package/lib/commonjs/mock-builders/generator/message.js.map +1 -1
- package/lib/commonjs/mock-builders/generator/reaction.js +1 -3
- package/lib/commonjs/mock-builders/generator/reaction.js.map +1 -1
- package/lib/commonjs/mock-builders/generator/user.js +2 -4
- package/lib/commonjs/mock-builders/generator/user.js.map +1 -1
- package/lib/commonjs/mock-builders/mock.js +1 -2
- package/lib/commonjs/mock-builders/mock.js.map +1 -1
- package/lib/commonjs/mock-builders/native/react-native-mock.js.map +1 -1
- package/lib/commonjs/native.js.map +1 -1
- package/lib/commonjs/store/QuickSqliteClient.js +11 -11
- package/lib/commonjs/store/QuickSqliteClient.js.map +1 -1
- package/lib/commonjs/store/apis/addPendingTask.js.map +1 -1
- package/lib/commonjs/store/apis/deleteChannel.js.map +1 -1
- package/lib/commonjs/store/apis/deleteMember.js.map +1 -1
- package/lib/commonjs/store/apis/deleteMessage.js.map +1 -1
- package/lib/commonjs/store/apis/deleteMessagesForChannel.js.map +1 -1
- package/lib/commonjs/store/apis/deletePendingTask.js.map +1 -1
- package/lib/commonjs/store/apis/deleteReaction.js.map +1 -1
- package/lib/commonjs/store/apis/deleteReactions.js.map +1 -1
- package/lib/commonjs/store/apis/getAllChannelIds.js.map +1 -1
- package/lib/commonjs/store/apis/getAppSettings.js.map +1 -1
- package/lib/commonjs/store/apis/getChannelMessages.js.map +1 -1
- package/lib/commonjs/store/apis/getChannels.js +1 -3
- package/lib/commonjs/store/apis/getChannels.js.map +1 -1
- package/lib/commonjs/store/apis/getChannelsForFilterSort.js.map +1 -1
- package/lib/commonjs/store/apis/getLastSyncedAt.js.map +1 -1
- package/lib/commonjs/store/apis/getMembers.js.map +1 -1
- package/lib/commonjs/store/apis/getPendingTasks.js.map +1 -1
- package/lib/commonjs/store/apis/getReads.js.map +1 -1
- package/lib/commonjs/store/apis/index.js.map +1 -1
- package/lib/commonjs/store/apis/insertReaction.js.map +1 -1
- package/lib/commonjs/store/apis/queries/selectChannelIdsForFilterSort.js.map +1 -1
- package/lib/commonjs/store/apis/queries/selectChannels.js.map +1 -1
- package/lib/commonjs/store/apis/queries/selectMembersForChannels.js +3 -3
- package/lib/commonjs/store/apis/queries/selectMembersForChannels.js.map +1 -1
- package/lib/commonjs/store/apis/queries/selectMessagesForChannels.js +3 -3
- package/lib/commonjs/store/apis/queries/selectMessagesForChannels.js.map +1 -1
- package/lib/commonjs/store/apis/queries/selectReactionsForMessages.js +3 -3
- package/lib/commonjs/store/apis/queries/selectReactionsForMessages.js.map +1 -1
- package/lib/commonjs/store/apis/queries/selectReadsForChannels.js +3 -3
- package/lib/commonjs/store/apis/queries/selectReadsForChannels.js.map +1 -1
- package/lib/commonjs/store/apis/updateMessage.js.map +1 -1
- package/lib/commonjs/store/apis/updateReaction.js.map +1 -1
- package/lib/commonjs/store/apis/upsertAppSettings.js.map +1 -1
- package/lib/commonjs/store/apis/upsertChannelData.js.map +1 -1
- package/lib/commonjs/store/apis/upsertChannelDataFromChannel.js +21 -0
- package/lib/commonjs/store/apis/upsertChannelDataFromChannel.js.map +1 -0
- package/lib/commonjs/store/apis/upsertChannels.js +29 -21
- package/lib/commonjs/store/apis/upsertChannels.js.map +1 -1
- package/lib/commonjs/store/apis/upsertCidsForQuery.js.map +1 -1
- package/lib/commonjs/store/apis/upsertMembers.js.map +1 -1
- package/lib/commonjs/store/apis/upsertMessages.js.map +1 -1
- package/lib/commonjs/store/apis/upsertReads.js.map +1 -1
- package/lib/commonjs/store/apis/upsertUserSyncStatus.js.map +1 -1
- package/lib/commonjs/store/apis/utils/convertFilterSortToQuery.js +1 -1
- package/lib/commonjs/store/apis/utils/convertFilterSortToQuery.js.map +1 -1
- package/lib/commonjs/store/constants.js.map +1 -1
- package/lib/commonjs/store/mappers/mapChannelDataToStorable.js.map +1 -1
- package/lib/commonjs/store/mappers/mapChannelToStorable.js +63 -0
- package/lib/commonjs/store/mappers/mapChannelToStorable.js.map +1 -0
- package/lib/commonjs/store/mappers/mapDateTimeToStorable.js.map +1 -1
- package/lib/commonjs/store/mappers/mapMemberToStorable.js.map +1 -1
- package/lib/commonjs/store/mappers/mapMessageToStorable.js.map +1 -1
- package/lib/commonjs/store/mappers/mapReactionToStorable.js.map +1 -1
- package/lib/commonjs/store/mappers/mapReadToStorable.js.map +1 -1
- package/lib/commonjs/store/mappers/mapStorableToChannel.js +1 -3
- package/lib/commonjs/store/mappers/mapStorableToChannel.js.map +1 -1
- package/lib/commonjs/store/mappers/mapStorableToMember.js.map +1 -1
- package/lib/commonjs/store/mappers/mapStorableToMessage.js +1 -2
- package/lib/commonjs/store/mappers/mapStorableToMessage.js.map +1 -1
- package/lib/commonjs/store/mappers/mapStorableToReaction.js +1 -3
- package/lib/commonjs/store/mappers/mapStorableToReaction.js.map +1 -1
- package/lib/commonjs/store/mappers/mapStorableToRead.js.map +1 -1
- package/lib/commonjs/store/mappers/mapStorableToTask.js.map +1 -1
- package/lib/commonjs/store/mappers/mapStorableToUser.js +1 -3
- package/lib/commonjs/store/mappers/mapStorableToUser.js.map +1 -1
- package/lib/commonjs/store/mappers/mapTaskToStorable.js +1 -3
- package/lib/commonjs/store/mappers/mapTaskToStorable.js.map +1 -1
- package/lib/commonjs/store/mappers/mapUserToStorable.js.map +1 -1
- package/lib/commonjs/store/schema.js.map +1 -1
- package/lib/commonjs/store/sqlite-utils/appendOrderByClause.js +2 -2
- package/lib/commonjs/store/sqlite-utils/appendOrderByClause.js.map +1 -1
- package/lib/commonjs/store/sqlite-utils/appendWhereCluase.js +3 -3
- package/lib/commonjs/store/sqlite-utils/appendWhereCluase.js.map +1 -1
- package/lib/commonjs/store/sqlite-utils/createCreateTableQuery.js +5 -5
- package/lib/commonjs/store/sqlite-utils/createCreateTableQuery.js.map +1 -1
- package/lib/commonjs/store/sqlite-utils/createDeleteQuery.js +1 -1
- package/lib/commonjs/store/sqlite-utils/createDeleteQuery.js.map +1 -1
- package/lib/commonjs/store/sqlite-utils/createSelectQuery.js +2 -2
- package/lib/commonjs/store/sqlite-utils/createSelectQuery.js.map +1 -1
- package/lib/commonjs/store/sqlite-utils/createUpdateQuery.js +3 -3
- package/lib/commonjs/store/sqlite-utils/createUpdateQuery.js.map +1 -1
- package/lib/commonjs/store/sqlite-utils/createUpsertQuery.js +3 -3
- package/lib/commonjs/store/sqlite-utils/createUpsertQuery.js.map +1 -1
- package/lib/commonjs/store/sqlite-utils/printRow.js.map +1 -1
- package/lib/commonjs/store/types.js.map +1 -1
- package/lib/commonjs/test-utils/BetterSqlite.js +2 -2
- package/lib/commonjs/test-utils/BetterSqlite.js.map +1 -1
- package/lib/commonjs/types/types.js.map +1 -1
- package/lib/commonjs/utils/DBSyncManager.js +124 -98
- package/lib/commonjs/utils/DBSyncManager.js.map +1 -1
- package/lib/commonjs/utils/StreamChatRN.js +1 -2
- package/lib/commonjs/utils/StreamChatRN.js.map +1 -1
- package/lib/commonjs/utils/Streami18n.js +24 -22
- package/lib/commonjs/utils/Streami18n.js.map +1 -1
- package/lib/commonjs/utils/addReactionToLocalState.js.map +1 -1
- package/lib/commonjs/utils/compressImage.js.map +1 -1
- package/lib/commonjs/utils/date.js.map +1 -1
- package/lib/commonjs/utils/getResizedImageUrl.js +3 -3
- package/lib/commonjs/utils/getResizedImageUrl.js.map +1 -1
- package/lib/commonjs/utils/getUrlOfImageAttachment.js.map +1 -1
- package/lib/commonjs/utils/patchMessageTextCommand.js +2 -2
- package/lib/commonjs/utils/patchMessageTextCommand.js.map +1 -1
- package/lib/commonjs/utils/removeReactionFromLocalState.js.map +1 -1
- package/lib/commonjs/utils/removeReservedFields.js +1 -3
- package/lib/commonjs/utils/removeReservedFields.js.map +1 -1
- package/lib/commonjs/utils/utils.js +29 -22
- package/lib/commonjs/utils/utils.js.map +1 -1
- package/lib/commonjs/version.json +1 -1
- package/lib/module/components/Attachment/Attachment.js +23 -101
- package/lib/module/components/Attachment/Attachment.js.map +1 -1
- package/lib/module/components/Attachment/AttachmentActions.js +26 -49
- package/lib/module/components/Attachment/AttachmentActions.js.map +1 -1
- package/lib/module/components/Attachment/AudioAttachment.js +73 -139
- package/lib/module/components/Attachment/AudioAttachment.js.map +1 -1
- package/lib/module/components/Attachment/Card.js +67 -162
- package/lib/module/components/Attachment/Card.js.map +1 -1
- package/lib/module/components/Attachment/FileAttachment.js +33 -78
- package/lib/module/components/Attachment/FileAttachment.js.map +1 -1
- package/lib/module/components/Attachment/FileAttachmentGroup.js +47 -81
- package/lib/module/components/Attachment/FileAttachmentGroup.js.map +1 -1
- package/lib/module/components/Attachment/FileIcon.js +3 -10
- package/lib/module/components/Attachment/FileIcon.js.map +1 -1
- package/lib/module/components/Attachment/Gallery.js +131 -218
- package/lib/module/components/Attachment/Gallery.js.map +1 -1
- package/lib/module/components/Attachment/GalleryImage.js +5 -24
- package/lib/module/components/Attachment/GalleryImage.js.map +1 -1
- package/lib/module/components/Attachment/Giphy.js +151 -295
- package/lib/module/components/Attachment/Giphy.js.map +1 -1
- package/lib/module/components/Attachment/ImageLoadingFailedIndicator.js +19 -40
- package/lib/module/components/Attachment/ImageLoadingFailedIndicator.js.map +1 -1
- package/lib/module/components/Attachment/ImageLoadingIndicator.js +3 -15
- package/lib/module/components/Attachment/ImageLoadingIndicator.js.map +1 -1
- package/lib/module/components/Attachment/ImageReloadIndicator.js +8 -18
- package/lib/module/components/Attachment/ImageReloadIndicator.js.map +1 -1
- package/lib/module/components/Attachment/VideoThumbnail.js +13 -28
- package/lib/module/components/Attachment/VideoThumbnail.js.map +1 -1
- package/lib/module/components/Attachment/utils/buildGallery/buildGallery.js.map +1 -1
- package/lib/module/components/Attachment/utils/buildGallery/buildGalleryOfSingleImage.js +2 -4
- package/lib/module/components/Attachment/utils/buildGallery/buildGalleryOfSingleImage.js.map +1 -1
- package/lib/module/components/Attachment/utils/buildGallery/buildGalleryOfThreeImages.js +1 -2
- package/lib/module/components/Attachment/utils/buildGallery/buildGalleryOfThreeImages.js.map +1 -1
- package/lib/module/components/Attachment/utils/buildGallery/buildGalleryOfTwoImages.js.map +1 -1
- package/lib/module/components/Attachment/utils/buildGallery/buildThumbnail.js.map +1 -1
- package/lib/module/components/Attachment/utils/buildGallery/buildThumbnailGrid.js.map +1 -1
- package/lib/module/components/Attachment/utils/buildGallery/types.js.map +1 -1
- package/lib/module/components/Attachment/utils/getAspectRatio.js.map +1 -1
- package/lib/module/components/Attachment/utils/getGalleryImageBorderRadius.js +1 -1
- package/lib/module/components/Attachment/utils/getGalleryImageBorderRadius.js.map +1 -1
- package/lib/module/components/Attachment/utils/getGiphyMimeType.js.map +1 -1
- package/lib/module/components/Attachment/utils/openUrlSafely.js +1 -1
- package/lib/module/components/Attachment/utils/openUrlSafely.js.map +1 -1
- package/lib/module/components/AttachmentPicker/AttachmentPicker.js +37 -57
- package/lib/module/components/AttachmentPicker/AttachmentPicker.js.map +1 -1
- package/lib/module/components/AttachmentPicker/components/AttachmentPickerBottomSheetHandle.js +10 -20
- package/lib/module/components/AttachmentPicker/components/AttachmentPickerBottomSheetHandle.js.map +1 -1
- package/lib/module/components/AttachmentPicker/components/AttachmentPickerError.js +16 -37
- package/lib/module/components/AttachmentPicker/components/AttachmentPickerError.js.map +1 -1
- package/lib/module/components/AttachmentPicker/components/AttachmentPickerErrorImage.js +3 -8
- package/lib/module/components/AttachmentPicker/components/AttachmentPickerErrorImage.js.map +1 -1
- package/lib/module/components/AttachmentPicker/components/AttachmentPickerIOSSelectMorePhotos.js +9 -18
- package/lib/module/components/AttachmentPicker/components/AttachmentPickerIOSSelectMorePhotos.js.map +1 -1
- package/lib/module/components/AttachmentPicker/components/AttachmentPickerItem.js +54 -126
- package/lib/module/components/AttachmentPicker/components/AttachmentPickerItem.js.map +1 -1
- package/lib/module/components/AttachmentPicker/components/AttachmentSelectionBar.js +48 -100
- package/lib/module/components/AttachmentPicker/components/AttachmentSelectionBar.js.map +1 -1
- package/lib/module/components/AttachmentPicker/components/CameraSelectorIcon.js +3 -8
- package/lib/module/components/AttachmentPicker/components/CameraSelectorIcon.js.map +1 -1
- package/lib/module/components/AttachmentPicker/components/FileSelectorIcon.js +3 -8
- package/lib/module/components/AttachmentPicker/components/FileSelectorIcon.js.map +1 -1
- package/lib/module/components/AttachmentPicker/components/ImageOverlaySelectedComponent.js +4 -15
- package/lib/module/components/AttachmentPicker/components/ImageOverlaySelectedComponent.js.map +1 -1
- package/lib/module/components/AttachmentPicker/components/ImageSelectorIcon.js +3 -8
- package/lib/module/components/AttachmentPicker/components/ImageSelectorIcon.js.map +1 -1
- package/lib/module/components/AutoCompleteInput/AutoCompleteInput.js +226 -145
- package/lib/module/components/AutoCompleteInput/AutoCompleteInput.js.map +1 -1
- package/lib/module/components/AutoCompleteInput/AutoCompleteSuggestionCommandIcon.js +45 -134
- package/lib/module/components/AutoCompleteInput/AutoCompleteSuggestionCommandIcon.js.map +1 -1
- package/lib/module/components/AutoCompleteInput/AutoCompleteSuggestionHeader.js +24 -63
- package/lib/module/components/AutoCompleteInput/AutoCompleteSuggestionHeader.js.map +1 -1
- package/lib/module/components/AutoCompleteInput/AutoCompleteSuggestionItem.js +55 -125
- package/lib/module/components/AutoCompleteInput/AutoCompleteSuggestionItem.js.map +1 -1
- package/lib/module/components/AutoCompleteInput/AutoCompleteSuggestionList.js +31 -71
- package/lib/module/components/AutoCompleteInput/AutoCompleteSuggestionList.js.map +1 -1
- package/lib/module/components/Avatar/Avatar.js +45 -84
- package/lib/module/components/Avatar/Avatar.js.map +1 -1
- package/lib/module/components/Avatar/GroupAvatar.js +42 -65
- package/lib/module/components/Avatar/GroupAvatar.js.map +1 -1
- package/lib/module/components/Channel/Channel.js +90 -170
- package/lib/module/components/Channel/Channel.js.map +1 -1
- package/lib/module/components/Channel/hooks/useCreateChannelContext.js.map +1 -1
- package/lib/module/components/Channel/hooks/useCreateInputMessageInputContext.js.map +1 -1
- package/lib/module/components/Channel/hooks/useCreateMessagesContext.js.map +1 -1
- package/lib/module/components/Channel/hooks/useCreateOwnCapabilitiesContext.js +1 -2
- package/lib/module/components/Channel/hooks/useCreateOwnCapabilitiesContext.js.map +1 -1
- package/lib/module/components/Channel/hooks/useCreatePaginatedMessageListContext.js.map +1 -1
- package/lib/module/components/Channel/hooks/useCreateThreadContext.js.map +1 -1
- package/lib/module/components/Channel/hooks/useCreateTypingContext.js.map +1 -1
- package/lib/module/components/Channel/hooks/useTargetedMessage.js.map +1 -1
- package/lib/module/components/ChannelList/ChannelList.js +12 -23
- package/lib/module/components/ChannelList/ChannelList.js.map +1 -1
- package/lib/module/components/ChannelList/ChannelListFooterLoadingIndicator.js +7 -17
- package/lib/module/components/ChannelList/ChannelListFooterLoadingIndicator.js.map +1 -1
- package/lib/module/components/ChannelList/ChannelListHeaderErrorIndicator.js +11 -20
- package/lib/module/components/ChannelList/ChannelListHeaderErrorIndicator.js.map +1 -1
- package/lib/module/components/ChannelList/ChannelListHeaderNetworkDownIndicator.js +10 -19
- package/lib/module/components/ChannelList/ChannelListHeaderNetworkDownIndicator.js.map +1 -1
- package/lib/module/components/ChannelList/ChannelListLoadingIndicator.js +6 -18
- package/lib/module/components/ChannelList/ChannelListLoadingIndicator.js.map +1 -1
- package/lib/module/components/ChannelList/ChannelListMessenger.js +51 -136
- package/lib/module/components/ChannelList/ChannelListMessenger.js.map +1 -1
- package/lib/module/components/ChannelList/Skeleton.js +50 -120
- package/lib/module/components/ChannelList/Skeleton.js.map +1 -1
- package/lib/module/components/ChannelList/hooks/listeners/useAddedToChannelNotification.js.map +1 -1
- package/lib/module/components/ChannelList/hooks/listeners/useChannelDeleted.js.map +1 -1
- package/lib/module/components/ChannelList/hooks/listeners/useChannelHidden.js.map +1 -1
- package/lib/module/components/ChannelList/hooks/listeners/useChannelTruncated.js.map +1 -1
- package/lib/module/components/ChannelList/hooks/listeners/useChannelUpdated.js +1 -2
- package/lib/module/components/ChannelList/hooks/listeners/useChannelUpdated.js.map +1 -1
- package/lib/module/components/ChannelList/hooks/listeners/useChannelVisible.js.map +1 -1
- package/lib/module/components/ChannelList/hooks/listeners/useNewMessage.js.map +1 -1
- package/lib/module/components/ChannelList/hooks/listeners/useNewMessageNotification.js.map +1 -1
- package/lib/module/components/ChannelList/hooks/listeners/useRemovedFromChannelNotification.js.map +1 -1
- package/lib/module/components/ChannelList/hooks/listeners/useUserPresence.js.map +1 -1
- package/lib/module/components/ChannelList/hooks/useCreateChannelsContext.js +2 -2
- package/lib/module/components/ChannelList/hooks/useCreateChannelsContext.js.map +1 -1
- package/lib/module/components/ChannelList/hooks/usePaginatedChannels.js +2 -3
- package/lib/module/components/ChannelList/hooks/usePaginatedChannels.js.map +1 -1
- package/lib/module/components/ChannelList/utils.js +3 -3
- package/lib/module/components/ChannelList/utils.js.map +1 -1
- package/lib/module/components/ChannelPreview/ChannelAvatar.js +7 -25
- package/lib/module/components/ChannelPreview/ChannelAvatar.js.map +1 -1
- package/lib/module/components/ChannelPreview/ChannelPreview.js +8 -21
- package/lib/module/components/ChannelPreview/ChannelPreview.js.map +1 -1
- package/lib/module/components/ChannelPreview/ChannelPreviewMessage.js +11 -21
- package/lib/module/components/ChannelPreview/ChannelPreviewMessage.js.map +1 -1
- package/lib/module/components/ChannelPreview/ChannelPreviewMessenger.js +38 -107
- package/lib/module/components/ChannelPreview/ChannelPreviewMessenger.js.map +1 -1
- package/lib/module/components/ChannelPreview/ChannelPreviewMutedStatus.js +3 -8
- package/lib/module/components/ChannelPreview/ChannelPreviewMutedStatus.js.map +1 -1
- package/lib/module/components/ChannelPreview/ChannelPreviewStatus.js +13 -37
- package/lib/module/components/ChannelPreview/ChannelPreviewStatus.js.map +1 -1
- package/lib/module/components/ChannelPreview/ChannelPreviewTitle.js +4 -8
- package/lib/module/components/ChannelPreview/ChannelPreviewTitle.js.map +1 -1
- package/lib/module/components/ChannelPreview/ChannelPreviewUnreadCount.js +8 -17
- package/lib/module/components/ChannelPreview/ChannelPreviewUnreadCount.js.map +1 -1
- package/lib/module/components/ChannelPreview/hooks/useChannelPreviewDisplayAvatar.js.map +1 -1
- package/lib/module/components/ChannelPreview/hooks/useChannelPreviewDisplayName.js +5 -5
- package/lib/module/components/ChannelPreview/hooks/useChannelPreviewDisplayName.js.map +1 -1
- package/lib/module/components/ChannelPreview/hooks/useChannelPreviewDisplayPresence.js.map +1 -1
- package/lib/module/components/ChannelPreview/hooks/useLatestMessagePreview.js +5 -5
- package/lib/module/components/ChannelPreview/hooks/useLatestMessagePreview.js.map +1 -1
- package/lib/module/components/Chat/Chat.js +19 -46
- package/lib/module/components/Chat/Chat.js.map +1 -1
- package/lib/module/components/Chat/hooks/handleEventToSyncDB.js +100 -37
- package/lib/module/components/Chat/hooks/handleEventToSyncDB.js.map +1 -1
- package/lib/module/components/Chat/hooks/useAppSettings.js +3 -3
- package/lib/module/components/Chat/hooks/useAppSettings.js.map +1 -1
- package/lib/module/components/Chat/hooks/useCreateChatContext.js +1 -1
- package/lib/module/components/Chat/hooks/useCreateChatContext.js.map +1 -1
- package/lib/module/components/Chat/hooks/useIsOnline.js.map +1 -1
- package/lib/module/components/Chat/hooks/useMutedUsers.js.map +1 -1
- package/lib/module/components/Chat/hooks/useSyncDatabase.js +3 -1
- package/lib/module/components/Chat/hooks/useSyncDatabase.js.map +1 -1
- package/lib/module/components/ImageBackground.js +12 -23
- package/lib/module/components/ImageBackground.js.map +1 -1
- package/lib/module/components/ImageGallery/ImageGallery.js +162 -258
- package/lib/module/components/ImageGallery/ImageGallery.js.map +1 -1
- package/lib/module/components/ImageGallery/components/AnimatedGalleryImage.js +7 -18
- package/lib/module/components/ImageGallery/components/AnimatedGalleryImage.js.map +1 -1
- package/lib/module/components/ImageGallery/components/AnimatedGalleryVideo.js +39 -66
- package/lib/module/components/ImageGallery/components/AnimatedGalleryVideo.js.map +1 -1
- package/lib/module/components/ImageGallery/components/ImageGalleryFooter.js +74 -151
- package/lib/module/components/ImageGallery/components/ImageGalleryFooter.js.map +1 -1
- package/lib/module/components/ImageGallery/components/ImageGalleryHeader.js +45 -97
- package/lib/module/components/ImageGallery/components/ImageGalleryHeader.js.map +1 -1
- package/lib/module/components/ImageGallery/components/ImageGalleryOverlay.js +10 -20
- package/lib/module/components/ImageGallery/components/ImageGalleryOverlay.js.map +1 -1
- package/lib/module/components/ImageGallery/components/ImageGalleryVideoControl.js +42 -84
- package/lib/module/components/ImageGallery/components/ImageGalleryVideoControl.js.map +1 -1
- package/lib/module/components/ImageGallery/components/ImageGrid.js +26 -60
- package/lib/module/components/ImageGallery/components/ImageGrid.js.map +1 -1
- package/lib/module/components/ImageGallery/components/ImageGridHandle.js +22 -48
- package/lib/module/components/ImageGallery/components/ImageGridHandle.js.map +1 -1
- package/lib/module/components/ImageGallery/hooks/useImageGalleryGestures.js.map +1 -1
- package/lib/module/components/Indicators/EmptyStateIndicator.js +24 -49
- package/lib/module/components/Indicators/EmptyStateIndicator.js.map +1 -1
- package/lib/module/components/Indicators/LoadingDot.js +5 -10
- package/lib/module/components/Indicators/LoadingDot.js.map +1 -1
- package/lib/module/components/Indicators/LoadingDots.js +17 -28
- package/lib/module/components/Indicators/LoadingDots.js.map +1 -1
- package/lib/module/components/Indicators/LoadingErrorIndicator.js +22 -53
- package/lib/module/components/Indicators/LoadingErrorIndicator.js.map +1 -1
- package/lib/module/components/Indicators/LoadingIndicator.js +21 -60
- package/lib/module/components/Indicators/LoadingIndicator.js.map +1 -1
- package/lib/module/components/KeyboardCompatibleView/KeyboardCompatibleView.js +46 -91
- package/lib/module/components/KeyboardCompatibleView/KeyboardCompatibleView.js.map +1 -1
- package/lib/module/components/KeyboardCompatibleView/KeyboardCompatibleViewFC.js +52 -93
- package/lib/module/components/KeyboardCompatibleView/KeyboardCompatibleViewFC.js.map +1 -1
- package/lib/module/components/Message/Message.js +34 -74
- package/lib/module/components/Message/Message.js.map +1 -1
- package/lib/module/components/Message/MessageSimple/MessageAvatar.js +14 -38
- package/lib/module/components/Message/MessageSimple/MessageAvatar.js.map +1 -1
- package/lib/module/components/Message/MessageSimple/MessageBounce.js +17 -22
- package/lib/module/components/Message/MessageSimple/MessageBounce.js.map +1 -1
- package/lib/module/components/Message/MessageSimple/MessageContent.js +72 -173
- package/lib/module/components/Message/MessageSimple/MessageContent.js.map +1 -1
- package/lib/module/components/Message/MessageSimple/MessageDeleted.js +29 -58
- package/lib/module/components/Message/MessageSimple/MessageDeleted.js.map +1 -1
- package/lib/module/components/Message/MessageSimple/MessageError.js +9 -26
- package/lib/module/components/Message/MessageSimple/MessageError.js.map +1 -1
- package/lib/module/components/Message/MessageSimple/MessageFooter.js +47 -106
- package/lib/module/components/Message/MessageSimple/MessageFooter.js.map +1 -1
- package/lib/module/components/Message/MessageSimple/MessagePinnedHeader.js +13 -36
- package/lib/module/components/Message/MessageSimple/MessagePinnedHeader.js.map +1 -1
- package/lib/module/components/Message/MessageSimple/MessageReplies.js +66 -122
- package/lib/module/components/Message/MessageSimple/MessageReplies.js.map +1 -1
- package/lib/module/components/Message/MessageSimple/MessageRepliesAvatars.js +22 -45
- package/lib/module/components/Message/MessageSimple/MessageRepliesAvatars.js.map +1 -1
- package/lib/module/components/Message/MessageSimple/MessageSimple.js +20 -56
- package/lib/module/components/Message/MessageSimple/MessageSimple.js.map +1 -1
- package/lib/module/components/Message/MessageSimple/MessageStatus.js +24 -79
- package/lib/module/components/Message/MessageSimple/MessageStatus.js.map +1 -1
- package/lib/module/components/Message/MessageSimple/MessageTextContainer.js +21 -39
- package/lib/module/components/Message/MessageSimple/MessageTextContainer.js.map +1 -1
- package/lib/module/components/Message/MessageSimple/ReactionList.js +123 -226
- package/lib/module/components/Message/MessageSimple/ReactionList.js.map +1 -1
- package/lib/module/components/Message/MessageSimple/utils/generateMarkdownText.js +20 -12
- package/lib/module/components/Message/MessageSimple/utils/generateMarkdownText.js.map +1 -1
- package/lib/module/components/Message/MessageSimple/utils/generateMarkdownText.test.js.map +1 -1
- package/lib/module/components/Message/MessageSimple/utils/parseLinks.js.map +1 -1
- package/lib/module/components/Message/MessageSimple/utils/parseLinks.test.js.map +1 -1
- package/lib/module/components/Message/MessageSimple/utils/renderText.js +75 -164
- package/lib/module/components/Message/MessageSimple/utils/renderText.js.map +1 -1
- package/lib/module/components/Message/MessageSimple/utils/renderText.test.js +32 -65
- package/lib/module/components/Message/MessageSimple/utils/renderText.test.js.map +1 -1
- package/lib/module/components/Message/hooks/useCreateMessageContext.js +4 -4
- package/lib/module/components/Message/hooks/useCreateMessageContext.js.map +1 -1
- package/lib/module/components/Message/hooks/useMessageActionHandlers.js.map +1 -1
- package/lib/module/components/Message/hooks/useMessageActions.js +25 -90
- package/lib/module/components/Message/hooks/useMessageActions.js.map +1 -1
- package/lib/module/components/Message/utils/messageActions.js.map +1 -1
- package/lib/module/components/MessageInput/AttachButton.js +8 -26
- package/lib/module/components/MessageInput/AttachButton.js.map +1 -1
- package/lib/module/components/MessageInput/CommandsButton.js +10 -28
- package/lib/module/components/MessageInput/CommandsButton.js.map +1 -1
- package/lib/module/components/MessageInput/CooldownTimer.js +11 -20
- package/lib/module/components/MessageInput/CooldownTimer.js.map +1 -1
- package/lib/module/components/MessageInput/FileUploadPreview.js +104 -205
- package/lib/module/components/MessageInput/FileUploadPreview.js.map +1 -1
- package/lib/module/components/MessageInput/ImageUploadPreview.js +50 -123
- package/lib/module/components/MessageInput/ImageUploadPreview.js.map +1 -1
- package/lib/module/components/MessageInput/InputButtons.js +17 -50
- package/lib/module/components/MessageInput/InputButtons.js.map +1 -1
- package/lib/module/components/MessageInput/MessageInput.js +94 -238
- package/lib/module/components/MessageInput/MessageInput.js.map +1 -1
- package/lib/module/components/MessageInput/MoreOptionsButton.js +8 -26
- package/lib/module/components/MessageInput/MoreOptionsButton.js.map +1 -1
- package/lib/module/components/MessageInput/SendButton.js +12 -44
- package/lib/module/components/MessageInput/SendButton.js.map +1 -1
- package/lib/module/components/MessageInput/SendMessageDisallowedIndicator.js +9 -18
- package/lib/module/components/MessageInput/SendMessageDisallowedIndicator.js.map +1 -1
- package/lib/module/components/MessageInput/ShowThreadMessageInChannelButton.js +33 -72
- package/lib/module/components/MessageInput/ShowThreadMessageInChannelButton.js.map +1 -1
- package/lib/module/components/MessageInput/UploadProgressIndicator.js +28 -77
- package/lib/module/components/MessageInput/UploadProgressIndicator.js.map +1 -1
- package/lib/module/components/MessageInput/components/InputEditingStateHeader.js +23 -57
- package/lib/module/components/MessageInput/components/InputEditingStateHeader.js.map +1 -1
- package/lib/module/components/MessageInput/components/InputGiphySearch.js +35 -80
- package/lib/module/components/MessageInput/components/InputGiphySearch.js.map +1 -1
- package/lib/module/components/MessageInput/components/InputReplyStateHeader.js +23 -57
- package/lib/module/components/MessageInput/components/InputReplyStateHeader.js.map +1 -1
- package/lib/module/components/MessageInput/hooks/useCooldown.js.map +1 -1
- package/lib/module/components/MessageInput/hooks/useCountdown.js.map +1 -1
- package/lib/module/components/MessageList/DateHeader.js +9 -18
- package/lib/module/components/MessageList/DateHeader.js.map +1 -1
- package/lib/module/components/MessageList/InlineDateSeparator.js +9 -18
- package/lib/module/components/MessageList/InlineDateSeparator.js.map +1 -1
- package/lib/module/components/MessageList/InlineLoadingMoreIndicator.js +9 -25
- package/lib/module/components/MessageList/InlineLoadingMoreIndicator.js.map +1 -1
- package/lib/module/components/MessageList/InlineLoadingMoreRecentIndicator.js +9 -25
- package/lib/module/components/MessageList/InlineLoadingMoreRecentIndicator.js.map +1 -1
- package/lib/module/components/MessageList/InlineLoadingMoreThreadIndicator.js +9 -25
- package/lib/module/components/MessageList/InlineLoadingMoreThreadIndicator.js.map +1 -1
- package/lib/module/components/MessageList/InlineUnreadIndicator.js +42 -84
- package/lib/module/components/MessageList/InlineUnreadIndicator.js.map +1 -1
- package/lib/module/components/MessageList/MessageList.js +100 -270
- package/lib/module/components/MessageList/MessageList.js.map +1 -1
- package/lib/module/components/MessageList/MessageSystem.js +25 -56
- package/lib/module/components/MessageList/MessageSystem.js.map +1 -1
- package/lib/module/components/MessageList/NetworkDownIndicator.js +8 -17
- package/lib/module/components/MessageList/NetworkDownIndicator.js.map +1 -1
- package/lib/module/components/MessageList/ScrollToBottomButton.js +26 -56
- package/lib/module/components/MessageList/ScrollToBottomButton.js.map +1 -1
- package/lib/module/components/MessageList/TypingIndicator.js +12 -27
- package/lib/module/components/MessageList/TypingIndicator.js.map +1 -1
- package/lib/module/components/MessageList/TypingIndicatorContainer.js +6 -18
- package/lib/module/components/MessageList/TypingIndicatorContainer.js.map +1 -1
- package/lib/module/components/MessageList/hooks/useMessageList.js +1 -2
- package/lib/module/components/MessageList/hooks/useMessageList.js.map +1 -1
- package/lib/module/components/MessageList/hooks/useShouldScrollToRecentOnNewOwnMessage.js.map +1 -1
- package/lib/module/components/MessageList/hooks/useTypingString.js.map +1 -1
- package/lib/module/components/MessageList/utils/filterTypingUsers.js.map +1 -1
- package/lib/module/components/MessageList/utils/getDateSeparators.js.map +1 -1
- package/lib/module/components/MessageList/utils/getGroupStyles.js.map +1 -1
- package/lib/module/components/MessageList/utils/getLastReceivedMessage.js +13 -5
- package/lib/module/components/MessageList/utils/getLastReceivedMessage.js.map +1 -1
- package/lib/module/components/MessageList/utils/getReadStates.js +52 -36
- package/lib/module/components/MessageList/utils/getReadStates.js.map +1 -1
- package/lib/module/components/MessageOverlay/MessageActionList.js +19 -40
- package/lib/module/components/MessageOverlay/MessageActionList.js.map +1 -1
- package/lib/module/components/MessageOverlay/MessageActionListItem.js +21 -48
- package/lib/module/components/MessageOverlay/MessageActionListItem.js.map +1 -1
- package/lib/module/components/MessageOverlay/MessageOverlay.js +163 -304
- package/lib/module/components/MessageOverlay/MessageOverlay.js.map +1 -1
- package/lib/module/components/MessageOverlay/OverlayBackdrop.js +3 -8
- package/lib/module/components/MessageOverlay/OverlayBackdrop.js.map +1 -1
- package/lib/module/components/MessageOverlay/OverlayReactionList.js +73 -145
- package/lib/module/components/MessageOverlay/OverlayReactionList.js.map +1 -1
- package/lib/module/components/MessageOverlay/OverlayReactions.js +119 -224
- package/lib/module/components/MessageOverlay/OverlayReactions.js.map +1 -1
- package/lib/module/components/MessageOverlay/OverlayReactionsAvatar.js +3 -8
- package/lib/module/components/MessageOverlay/OverlayReactionsAvatar.js.map +1 -1
- package/lib/module/components/MessageOverlay/hooks/useMessageActionAnimation.js.map +1 -1
- package/lib/module/components/ProgressControl/ProgressControl.js +19 -51
- package/lib/module/components/ProgressControl/ProgressControl.js.map +1 -1
- package/lib/module/components/RTLComponents/WritingDirectionAwareText.js +4 -9
- package/lib/module/components/RTLComponents/WritingDirectionAwareText.js.map +1 -1
- package/lib/module/components/Reply/Reply.js +61 -113
- package/lib/module/components/Reply/Reply.js.map +1 -1
- package/lib/module/components/Spinner/Spinner.js +11 -21
- package/lib/module/components/Spinner/Spinner.js.map +1 -1
- package/lib/module/components/Thread/Thread.js +17 -44
- package/lib/module/components/Thread/Thread.js.map +1 -1
- package/lib/module/components/Thread/components/ThreadFooterComponent.js +57 -121
- package/lib/module/components/Thread/components/ThreadFooterComponent.js.map +1 -1
- package/lib/module/components/docs/data.js +1 -1
- package/lib/module/components/docs/data.js.map +1 -1
- package/lib/module/components/index.js.map +1 -1
- package/lib/module/contexts/activeChannelsRefContext/ActiveChannelsRefContext.js +9 -21
- package/lib/module/contexts/activeChannelsRefContext/ActiveChannelsRefContext.js.map +1 -1
- package/lib/module/contexts/attachmentPickerContext/AttachmentPickerContext.js +9 -21
- package/lib/module/contexts/attachmentPickerContext/AttachmentPickerContext.js.map +1 -1
- package/lib/module/contexts/channelContext/ChannelContext.js +8 -21
- package/lib/module/contexts/channelContext/ChannelContext.js.map +1 -1
- package/lib/module/contexts/channelsContext/ChannelsContext.js +8 -21
- package/lib/module/contexts/channelsContext/ChannelsContext.js.map +1 -1
- package/lib/module/contexts/channelsStateContext/ChannelsStateContext.js +15 -32
- package/lib/module/contexts/channelsStateContext/ChannelsStateContext.js.map +1 -1
- package/lib/module/contexts/channelsStateContext/useChannelState.js.map +1 -1
- package/lib/module/contexts/chatContext/ChatContext.js +8 -21
- package/lib/module/contexts/chatContext/ChatContext.js.map +1 -1
- package/lib/module/contexts/debugContext/DebugContext.js +6 -10
- package/lib/module/contexts/debugContext/DebugContext.js.map +1 -1
- package/lib/module/contexts/imageGalleryContext/ImageGalleryContext.js +8 -20
- package/lib/module/contexts/imageGalleryContext/ImageGalleryContext.js.map +1 -1
- package/lib/module/contexts/index.js.map +1 -1
- package/lib/module/contexts/keyboardContext/KeyboardContext.js +8 -21
- package/lib/module/contexts/keyboardContext/KeyboardContext.js.map +1 -1
- package/lib/module/contexts/messageContext/MessageContext.js +8 -21
- package/lib/module/contexts/messageContext/MessageContext.js.map +1 -1
- package/lib/module/contexts/messageInputContext/MessageInputContext.js +126 -96
- package/lib/module/contexts/messageInputContext/MessageInputContext.js.map +1 -1
- package/lib/module/contexts/messageInputContext/hooks/useCreateMessageInputContext.js +5 -3
- package/lib/module/contexts/messageInputContext/hooks/useCreateMessageInputContext.js.map +1 -1
- package/lib/module/contexts/messageInputContext/hooks/useMessageDetailsForState.js +49 -41
- package/lib/module/contexts/messageInputContext/hooks/useMessageDetailsForState.js.map +1 -1
- package/lib/module/contexts/messageOverlayContext/MessageOverlayContext.js +8 -21
- package/lib/module/contexts/messageOverlayContext/MessageOverlayContext.js.map +1 -1
- package/lib/module/contexts/messageOverlayContext/hooks/useResettableState.js.map +1 -1
- package/lib/module/contexts/messageOverlayContext/hooks/useResettableState.test.js +33 -53
- package/lib/module/contexts/messageOverlayContext/hooks/useResettableState.test.js.map +1 -1
- package/lib/module/contexts/messagesContext/MessagesContext.js +8 -21
- package/lib/module/contexts/messagesContext/MessagesContext.js.map +1 -1
- package/lib/module/contexts/overlayContext/OverlayContext.js +5 -13
- package/lib/module/contexts/overlayContext/OverlayContext.js.map +1 -1
- package/lib/module/contexts/overlayContext/OverlayProvider.js +52 -112
- package/lib/module/contexts/overlayContext/OverlayProvider.js.map +1 -1
- package/lib/module/contexts/ownCapabilitiesContext/OwnCapabilitiesContext.js +6 -10
- package/lib/module/contexts/ownCapabilitiesContext/OwnCapabilitiesContext.js.map +1 -1
- package/lib/module/contexts/paginatedMessageListContext/PaginatedMessageListContext.js +8 -21
- package/lib/module/contexts/paginatedMessageListContext/PaginatedMessageListContext.js.map +1 -1
- package/lib/module/contexts/suggestionsContext/SuggestionsContext.js +9 -21
- package/lib/module/contexts/suggestionsContext/SuggestionsContext.js.map +1 -1
- package/lib/module/contexts/themeContext/ThemeContext.js +6 -10
- package/lib/module/contexts/themeContext/ThemeContext.js.map +1 -1
- package/lib/module/contexts/themeContext/utils/theme.js +3 -3
- package/lib/module/contexts/themeContext/utils/theme.js.map +1 -1
- package/lib/module/contexts/threadContext/ThreadContext.js +8 -21
- package/lib/module/contexts/threadContext/ThreadContext.js.map +1 -1
- package/lib/module/contexts/translationContext/TranslationContext.js +8 -20
- package/lib/module/contexts/translationContext/TranslationContext.js.map +1 -1
- package/lib/module/contexts/typingContext/TypingContext.js +8 -21
- package/lib/module/contexts/typingContext/TypingContext.js.map +1 -1
- package/lib/module/contexts/utils/defaultBaseContextValue.js.map +1 -1
- package/lib/module/contexts/utils/getDisplayName.js.map +1 -1
- package/lib/module/contexts/utils/isTestEnvironment.js.map +1 -1
- package/lib/module/emoji-data/compile.js +4 -5
- package/lib/module/emoji-data/compile.js.map +1 -1
- package/lib/module/emoji-data/index.js.map +1 -1
- package/lib/module/hooks/index.js.map +1 -1
- package/lib/module/hooks/useAppStateListener.js +3 -1
- package/lib/module/hooks/useAppStateListener.js.map +1 -1
- package/lib/module/hooks/useIsMountedRef.js.map +1 -1
- package/lib/module/hooks/useLoadingImage.js +3 -4
- package/lib/module/hooks/useLoadingImage.js.map +1 -1
- package/lib/module/hooks/useStreami18n.js +1 -2
- package/lib/module/hooks/useStreami18n.js.map +1 -1
- package/lib/module/hooks/useTranslatedMessage.js +3 -5
- package/lib/module/hooks/useTranslatedMessage.js.map +1 -1
- package/lib/module/hooks/useViewport.js.map +1 -1
- package/lib/module/i18n/es.json +10 -10
- package/lib/module/i18n/fr.json +10 -10
- package/lib/module/i18n/he.json +10 -10
- package/lib/module/i18n/hi.json +10 -10
- package/lib/module/i18n/it.json +10 -10
- package/lib/module/i18n/ja.json +10 -10
- package/lib/module/i18n/ko.json +10 -10
- package/lib/module/i18n/nl.json +10 -10
- package/lib/module/i18n/pt-BR.json +10 -10
- package/lib/module/i18n/ru.json +10 -10
- package/lib/module/i18n/tr.json +10 -10
- package/lib/module/icons/ArrowRight.js +10 -36
- package/lib/module/icons/ArrowRight.js.map +1 -1
- package/lib/module/icons/AtMentions.js +6 -18
- package/lib/module/icons/AtMentions.js.map +1 -1
- package/lib/module/icons/Attach.js +6 -18
- package/lib/module/icons/Attach.js.map +1 -1
- package/lib/module/icons/Audio.js +28 -73
- package/lib/module/icons/Audio.js.map +1 -1
- package/lib/module/icons/CSV.js +18 -53
- package/lib/module/icons/CSV.js.map +1 -1
- package/lib/module/icons/Camera.js +6 -18
- package/lib/module/icons/Camera.js.map +1 -1
- package/lib/module/icons/Check.js +8 -27
- package/lib/module/icons/Check.js.map +1 -1
- package/lib/module/icons/CheckAll.js +8 -27
- package/lib/module/icons/CheckAll.js.map +1 -1
- package/lib/module/icons/CheckSend.js +6 -18
- package/lib/module/icons/CheckSend.js.map +1 -1
- package/lib/module/icons/CircleClose.js +8 -27
- package/lib/module/icons/CircleClose.js.map +1 -1
- package/lib/module/icons/CirclePlus.js +8 -27
- package/lib/module/icons/CirclePlus.js.map +1 -1
- package/lib/module/icons/CircleRight.js +8 -27
- package/lib/module/icons/CircleRight.js.map +1 -1
- package/lib/module/icons/Close.js +6 -18
- package/lib/module/icons/Close.js.map +1 -1
- package/lib/module/icons/Copy.js +6 -18
- package/lib/module/icons/Copy.js.map +1 -1
- package/lib/module/icons/CurveLineLeftUp.js +10 -36
- package/lib/module/icons/CurveLineLeftUp.js.map +1 -1
- package/lib/module/icons/DOC.js +32 -83
- package/lib/module/icons/DOC.js.map +1 -1
- package/lib/module/icons/DOCX.js +32 -83
- package/lib/module/icons/DOCX.js.map +1 -1
- package/lib/module/icons/Delete.js +8 -27
- package/lib/module/icons/Delete.js.map +1 -1
- package/lib/module/icons/Down.js +6 -18
- package/lib/module/icons/Down.js.map +1 -1
- package/lib/module/icons/DownloadArrow.js +6 -18
- package/lib/module/icons/DownloadArrow.js.map +1 -1
- package/lib/module/icons/DownloadCloud.js +12 -45
- package/lib/module/icons/DownloadCloud.js.map +1 -1
- package/lib/module/icons/Edit.js +6 -18
- package/lib/module/icons/Edit.js.map +1 -1
- package/lib/module/icons/Error.js +6 -18
- package/lib/module/icons/Error.js.map +1 -1
- package/lib/module/icons/Eye.js +6 -18
- package/lib/module/icons/Eye.js.map +1 -1
- package/lib/module/icons/Flag.js +6 -18
- package/lib/module/icons/Flag.js.map +1 -1
- package/lib/module/icons/Folder.js +6 -18
- package/lib/module/icons/Folder.js.map +1 -1
- package/lib/module/icons/GenericFile.js +28 -73
- package/lib/module/icons/GenericFile.js.map +1 -1
- package/lib/module/icons/GiphyIcon.js +22 -69
- package/lib/module/icons/GiphyIcon.js.map +1 -1
- package/lib/module/icons/Grid.js +6 -18
- package/lib/module/icons/Grid.js.map +1 -1
- package/lib/module/icons/Group.js +6 -18
- package/lib/module/icons/Group.js.map +1 -1
- package/lib/module/icons/HTML.js +18 -53
- package/lib/module/icons/HTML.js.map +1 -1
- package/lib/module/icons/Imgur.js +15 -41
- package/lib/module/icons/Imgur.js.map +1 -1
- package/lib/module/icons/LOLReaction.js +6 -18
- package/lib/module/icons/LOLReaction.js.map +1 -1
- package/lib/module/icons/Lightning.js +6 -18
- package/lib/module/icons/Lightning.js.map +1 -1
- package/lib/module/icons/Link.js +8 -27
- package/lib/module/icons/Link.js.map +1 -1
- package/lib/module/icons/Loading.js +23 -56
- package/lib/module/icons/Loading.js.map +1 -1
- package/lib/module/icons/Logo.js +7 -19
- package/lib/module/icons/Logo.js.map +1 -1
- package/lib/module/icons/LoveReaction.js +6 -18
- package/lib/module/icons/LoveReaction.js.map +1 -1
- package/lib/module/icons/MD.js +18 -53
- package/lib/module/icons/MD.js.map +1 -1
- package/lib/module/icons/MailOpen.js +6 -18
- package/lib/module/icons/MailOpen.js.map +1 -1
- package/lib/module/icons/MenuPointHorizontal.js +6 -18
- package/lib/module/icons/MenuPointHorizontal.js.map +1 -1
- package/lib/module/icons/MenuPointVertical.js +6 -18
- package/lib/module/icons/MenuPointVertical.js.map +1 -1
- package/lib/module/icons/MessageFlag.js +6 -18
- package/lib/module/icons/MessageFlag.js.map +1 -1
- package/lib/module/icons/MessageIcon.js +6 -18
- package/lib/module/icons/MessageIcon.js.map +1 -1
- package/lib/module/icons/Mute.js +6 -18
- package/lib/module/icons/Mute.js.map +1 -1
- package/lib/module/icons/Notification.js +10 -36
- package/lib/module/icons/Notification.js.map +1 -1
- package/lib/module/icons/ODT.js +18 -53
- package/lib/module/icons/ODT.js.map +1 -1
- package/lib/module/icons/PDF.js +18 -53
- package/lib/module/icons/PDF.js.map +1 -1
- package/lib/module/icons/PPT.js +32 -83
- package/lib/module/icons/PPT.js.map +1 -1
- package/lib/module/icons/PPTX.js +32 -83
- package/lib/module/icons/PPTX.js.map +1 -1
- package/lib/module/icons/Pause.js +16 -33
- package/lib/module/icons/Pause.js.map +1 -1
- package/lib/module/icons/Picture.js +8 -27
- package/lib/module/icons/Picture.js.map +1 -1
- package/lib/module/icons/Pin.js +7 -19
- package/lib/module/icons/Pin.js.map +1 -1
- package/lib/module/icons/PinHeader.js +6 -18
- package/lib/module/icons/PinHeader.js.map +1 -1
- package/lib/module/icons/Play.js +7 -19
- package/lib/module/icons/Play.js.map +1 -1
- package/lib/module/icons/RAR.js +18 -53
- package/lib/module/icons/RAR.js.map +1 -1
- package/lib/module/icons/RTF.js +18 -53
- package/lib/module/icons/RTF.js.map +1 -1
- package/lib/module/icons/Recorder.js +8 -27
- package/lib/module/icons/Recorder.js.map +1 -1
- package/lib/module/icons/Refresh.js +6 -18
- package/lib/module/icons/Refresh.js.map +1 -1
- package/lib/module/icons/SEVEN_Z.js +18 -53
- package/lib/module/icons/SEVEN_Z.js.map +1 -1
- package/lib/module/icons/Search.js +6 -18
- package/lib/module/icons/Search.js.map +1 -1
- package/lib/module/icons/SendRight.js +6 -18
- package/lib/module/icons/SendRight.js.map +1 -1
- package/lib/module/icons/SendUp.js +6 -18
- package/lib/module/icons/SendUp.js.map +1 -1
- package/lib/module/icons/Share.js +15 -40
- package/lib/module/icons/Share.js.map +1 -1
- package/lib/module/icons/ShareRightArrow.js +6 -18
- package/lib/module/icons/ShareRightArrow.js.map +1 -1
- package/lib/module/icons/Smile.js +8 -27
- package/lib/module/icons/Smile.js.map +1 -1
- package/lib/module/icons/Sound.js +6 -18
- package/lib/module/icons/Sound.js.map +1 -1
- package/lib/module/icons/TAR.js +18 -53
- package/lib/module/icons/TAR.js.map +1 -1
- package/lib/module/icons/TXT.js +18 -53
- package/lib/module/icons/TXT.js.map +1 -1
- package/lib/module/icons/ThreadReply.js +6 -18
- package/lib/module/icons/ThreadReply.js.map +1 -1
- package/lib/module/icons/ThumbsDownReaction.js +6 -18
- package/lib/module/icons/ThumbsDownReaction.js.map +1 -1
- package/lib/module/icons/ThumbsUpReaction.js +6 -18
- package/lib/module/icons/ThumbsUpReaction.js.map +1 -1
- package/lib/module/icons/Time.js +8 -27
- package/lib/module/icons/Time.js.map +1 -1
- package/lib/module/icons/Unknown.js +6 -18
- package/lib/module/icons/Unknown.js.map +1 -1
- package/lib/module/icons/Unpin.js +6 -18
- package/lib/module/icons/Unpin.js.map +1 -1
- package/lib/module/icons/User.js +6 -18
- package/lib/module/icons/User.js.map +1 -1
- package/lib/module/icons/UserAdd.js +8 -27
- package/lib/module/icons/UserAdd.js.map +1 -1
- package/lib/module/icons/UserAdmin.js +13 -32
- package/lib/module/icons/UserAdmin.js.map +1 -1
- package/lib/module/icons/UserDelete.js +8 -27
- package/lib/module/icons/UserDelete.js.map +1 -1
- package/lib/module/icons/UserMinus.js +8 -27
- package/lib/module/icons/UserMinus.js.map +1 -1
- package/lib/module/icons/Video.js +18 -58
- package/lib/module/icons/Video.js.map +1 -1
- package/lib/module/icons/Warning.js +6 -18
- package/lib/module/icons/Warning.js.map +1 -1
- package/lib/module/icons/WutReaction.js +6 -18
- package/lib/module/icons/WutReaction.js.map +1 -1
- package/lib/module/icons/XLS.js +32 -83
- package/lib/module/icons/XLS.js.map +1 -1
- package/lib/module/icons/XLSX.js +32 -83
- package/lib/module/icons/XLSX.js.map +1 -1
- package/lib/module/icons/ZIP.js +18 -53
- package/lib/module/icons/ZIP.js.map +1 -1
- package/lib/module/icons/index.js.map +1 -1
- package/lib/module/icons/utils/base.js +8 -19
- package/lib/module/icons/utils/base.js.map +1 -1
- package/lib/module/index.js +2 -2
- package/lib/module/index.js.map +1 -1
- package/lib/module/init.js.map +1 -1
- package/lib/module/mock-builders/DB/consts.js.map +1 -1
- package/lib/module/mock-builders/DB/mock.js +2 -2
- package/lib/module/mock-builders/DB/mock.js.map +1 -1
- package/lib/module/mock-builders/api/channelMocks.js.map +1 -1
- package/lib/module/mock-builders/api/deleteMessage.js.map +1 -1
- package/lib/module/mock-builders/api/deleteReaction.js.map +1 -1
- package/lib/module/mock-builders/api/error.js +4 -6
- package/lib/module/mock-builders/api/error.js.map +1 -1
- package/lib/module/mock-builders/api/getOrCreateChannel.js.map +1 -1
- package/lib/module/mock-builders/api/queryChannels.js.map +1 -1
- package/lib/module/mock-builders/api/queryMembers.js.map +1 -1
- package/lib/module/mock-builders/api/sendMessage.js.map +1 -1
- package/lib/module/mock-builders/api/sendReaction.js.map +1 -1
- package/lib/module/mock-builders/api/threadReplies.js.map +1 -1
- package/lib/module/mock-builders/api/useMockedApis.js.map +1 -1
- package/lib/module/mock-builders/api/utils.js.map +1 -1
- package/lib/module/mock-builders/event/channelDeleted.js.map +1 -1
- package/lib/module/mock-builders/event/channelHidden.js.map +1 -1
- package/lib/module/mock-builders/event/channelTruncated.js.map +1 -1
- package/lib/module/mock-builders/event/channelUpdated.js.map +1 -1
- package/lib/module/mock-builders/event/connectionChanged.js.map +1 -1
- package/lib/module/mock-builders/event/connectionRecovered.js.map +1 -1
- package/lib/module/mock-builders/event/memberAdded.js.map +1 -1
- package/lib/module/mock-builders/event/memberRemoved.js.map +1 -1
- package/lib/module/mock-builders/event/memberUpdated.js.map +1 -1
- package/lib/module/mock-builders/event/messageDeleted.js.map +1 -1
- package/lib/module/mock-builders/event/messageNew.js.map +1 -1
- package/lib/module/mock-builders/event/messageRead.js.map +1 -1
- package/lib/module/mock-builders/event/messageUpdated.js.map +1 -1
- package/lib/module/mock-builders/event/notificationAddedToChannel.js.map +1 -1
- package/lib/module/mock-builders/event/notificationMessageNew.js.map +1 -1
- package/lib/module/mock-builders/event/notificationMutesUpdated.js +1 -3
- package/lib/module/mock-builders/event/notificationMutesUpdated.js.map +1 -1
- package/lib/module/mock-builders/event/notificationRemovedFromChannel.js.map +1 -1
- package/lib/module/mock-builders/event/reactionDeleted.js.map +1 -1
- package/lib/module/mock-builders/event/reactionNew.js.map +1 -1
- package/lib/module/mock-builders/event/reactionUpdated.js.map +1 -1
- package/lib/module/mock-builders/event/typing.js.map +1 -1
- package/lib/module/mock-builders/event/userPresence.js.map +1 -1
- package/lib/module/mock-builders/event/userUpdated.js.map +1 -1
- package/lib/module/mock-builders/generator/attachment.js +9 -11
- package/lib/module/mock-builders/generator/attachment.js.map +1 -1
- package/lib/module/mock-builders/generator/channel.js +11 -12
- package/lib/module/mock-builders/generator/channel.js.map +1 -1
- package/lib/module/mock-builders/generator/member.js +1 -3
- package/lib/module/mock-builders/generator/member.js.map +1 -1
- package/lib/module/mock-builders/generator/message.js +2 -4
- package/lib/module/mock-builders/generator/message.js.map +1 -1
- package/lib/module/mock-builders/generator/reaction.js +1 -3
- package/lib/module/mock-builders/generator/reaction.js.map +1 -1
- package/lib/module/mock-builders/generator/user.js +2 -4
- package/lib/module/mock-builders/generator/user.js.map +1 -1
- package/lib/module/mock-builders/mock.js +1 -2
- package/lib/module/mock-builders/mock.js.map +1 -1
- package/lib/module/mock-builders/native/react-native-mock.js.map +1 -1
- package/lib/module/native.js.map +1 -1
- package/lib/module/store/QuickSqliteClient.js +11 -11
- package/lib/module/store/QuickSqliteClient.js.map +1 -1
- package/lib/module/store/apis/addPendingTask.js.map +1 -1
- package/lib/module/store/apis/deleteChannel.js.map +1 -1
- package/lib/module/store/apis/deleteMember.js.map +1 -1
- package/lib/module/store/apis/deleteMessage.js.map +1 -1
- package/lib/module/store/apis/deleteMessagesForChannel.js.map +1 -1
- package/lib/module/store/apis/deletePendingTask.js.map +1 -1
- package/lib/module/store/apis/deleteReaction.js.map +1 -1
- package/lib/module/store/apis/deleteReactions.js.map +1 -1
- package/lib/module/store/apis/getAllChannelIds.js.map +1 -1
- package/lib/module/store/apis/getAppSettings.js.map +1 -1
- package/lib/module/store/apis/getChannelMessages.js.map +1 -1
- package/lib/module/store/apis/getChannels.js +1 -3
- package/lib/module/store/apis/getChannels.js.map +1 -1
- package/lib/module/store/apis/getChannelsForFilterSort.js.map +1 -1
- package/lib/module/store/apis/getLastSyncedAt.js.map +1 -1
- package/lib/module/store/apis/getMembers.js.map +1 -1
- package/lib/module/store/apis/getPendingTasks.js.map +1 -1
- package/lib/module/store/apis/getReads.js.map +1 -1
- package/lib/module/store/apis/index.js.map +1 -1
- package/lib/module/store/apis/insertReaction.js.map +1 -1
- package/lib/module/store/apis/queries/selectChannelIdsForFilterSort.js.map +1 -1
- package/lib/module/store/apis/queries/selectChannels.js.map +1 -1
- package/lib/module/store/apis/queries/selectMembersForChannels.js +3 -3
- package/lib/module/store/apis/queries/selectMembersForChannels.js.map +1 -1
- package/lib/module/store/apis/queries/selectMessagesForChannels.js +3 -3
- package/lib/module/store/apis/queries/selectMessagesForChannels.js.map +1 -1
- package/lib/module/store/apis/queries/selectReactionsForMessages.js +3 -3
- package/lib/module/store/apis/queries/selectReactionsForMessages.js.map +1 -1
- package/lib/module/store/apis/queries/selectReadsForChannels.js +3 -3
- package/lib/module/store/apis/queries/selectReadsForChannels.js.map +1 -1
- package/lib/module/store/apis/updateMessage.js.map +1 -1
- package/lib/module/store/apis/updateReaction.js.map +1 -1
- package/lib/module/store/apis/upsertAppSettings.js.map +1 -1
- package/lib/module/store/apis/upsertChannelData.js.map +1 -1
- package/lib/module/store/apis/upsertChannelDataFromChannel.js +21 -0
- package/lib/module/store/apis/upsertChannelDataFromChannel.js.map +1 -0
- package/lib/module/store/apis/upsertChannels.js +29 -21
- package/lib/module/store/apis/upsertChannels.js.map +1 -1
- package/lib/module/store/apis/upsertCidsForQuery.js.map +1 -1
- package/lib/module/store/apis/upsertMembers.js.map +1 -1
- package/lib/module/store/apis/upsertMessages.js.map +1 -1
- package/lib/module/store/apis/upsertReads.js.map +1 -1
- package/lib/module/store/apis/upsertUserSyncStatus.js.map +1 -1
- package/lib/module/store/apis/utils/convertFilterSortToQuery.js +1 -1
- package/lib/module/store/apis/utils/convertFilterSortToQuery.js.map +1 -1
- package/lib/module/store/constants.js.map +1 -1
- package/lib/module/store/mappers/mapChannelDataToStorable.js.map +1 -1
- package/lib/module/store/mappers/mapChannelToStorable.js +63 -0
- package/lib/module/store/mappers/mapChannelToStorable.js.map +1 -0
- package/lib/module/store/mappers/mapDateTimeToStorable.js.map +1 -1
- package/lib/module/store/mappers/mapMemberToStorable.js.map +1 -1
- package/lib/module/store/mappers/mapMessageToStorable.js.map +1 -1
- package/lib/module/store/mappers/mapReactionToStorable.js.map +1 -1
- package/lib/module/store/mappers/mapReadToStorable.js.map +1 -1
- package/lib/module/store/mappers/mapStorableToChannel.js +1 -3
- package/lib/module/store/mappers/mapStorableToChannel.js.map +1 -1
- package/lib/module/store/mappers/mapStorableToMember.js.map +1 -1
- package/lib/module/store/mappers/mapStorableToMessage.js +1 -2
- package/lib/module/store/mappers/mapStorableToMessage.js.map +1 -1
- package/lib/module/store/mappers/mapStorableToReaction.js +1 -3
- package/lib/module/store/mappers/mapStorableToReaction.js.map +1 -1
- package/lib/module/store/mappers/mapStorableToRead.js.map +1 -1
- package/lib/module/store/mappers/mapStorableToTask.js.map +1 -1
- package/lib/module/store/mappers/mapStorableToUser.js +1 -3
- package/lib/module/store/mappers/mapStorableToUser.js.map +1 -1
- package/lib/module/store/mappers/mapTaskToStorable.js +1 -3
- package/lib/module/store/mappers/mapTaskToStorable.js.map +1 -1
- package/lib/module/store/mappers/mapUserToStorable.js.map +1 -1
- package/lib/module/store/schema.js.map +1 -1
- package/lib/module/store/sqlite-utils/appendOrderByClause.js +2 -2
- package/lib/module/store/sqlite-utils/appendOrderByClause.js.map +1 -1
- package/lib/module/store/sqlite-utils/appendWhereCluase.js +3 -3
- package/lib/module/store/sqlite-utils/appendWhereCluase.js.map +1 -1
- package/lib/module/store/sqlite-utils/createCreateTableQuery.js +5 -5
- package/lib/module/store/sqlite-utils/createCreateTableQuery.js.map +1 -1
- package/lib/module/store/sqlite-utils/createDeleteQuery.js +1 -1
- package/lib/module/store/sqlite-utils/createDeleteQuery.js.map +1 -1
- package/lib/module/store/sqlite-utils/createSelectQuery.js +2 -2
- package/lib/module/store/sqlite-utils/createSelectQuery.js.map +1 -1
- package/lib/module/store/sqlite-utils/createUpdateQuery.js +3 -3
- package/lib/module/store/sqlite-utils/createUpdateQuery.js.map +1 -1
- package/lib/module/store/sqlite-utils/createUpsertQuery.js +3 -3
- package/lib/module/store/sqlite-utils/createUpsertQuery.js.map +1 -1
- package/lib/module/store/sqlite-utils/printRow.js.map +1 -1
- package/lib/module/store/types.js.map +1 -1
- package/lib/module/test-utils/BetterSqlite.js +2 -2
- package/lib/module/test-utils/BetterSqlite.js.map +1 -1
- package/lib/module/types/types.js.map +1 -1
- package/lib/module/utils/DBSyncManager.js +124 -98
- package/lib/module/utils/DBSyncManager.js.map +1 -1
- package/lib/module/utils/StreamChatRN.js +1 -2
- package/lib/module/utils/StreamChatRN.js.map +1 -1
- package/lib/module/utils/Streami18n.js +24 -22
- package/lib/module/utils/Streami18n.js.map +1 -1
- package/lib/module/utils/addReactionToLocalState.js.map +1 -1
- package/lib/module/utils/compressImage.js.map +1 -1
- package/lib/module/utils/date.js.map +1 -1
- package/lib/module/utils/getResizedImageUrl.js +3 -3
- package/lib/module/utils/getResizedImageUrl.js.map +1 -1
- package/lib/module/utils/getUrlOfImageAttachment.js.map +1 -1
- package/lib/module/utils/patchMessageTextCommand.js +2 -2
- package/lib/module/utils/patchMessageTextCommand.js.map +1 -1
- package/lib/module/utils/removeReactionFromLocalState.js.map +1 -1
- package/lib/module/utils/removeReservedFields.js +1 -3
- package/lib/module/utils/removeReservedFields.js.map +1 -1
- package/lib/module/utils/utils.js +29 -22
- package/lib/module/utils/utils.js.map +1 -1
- package/lib/module/version.json +1 -1
- package/lib/typescript/components/Attachment/Attachment.d.ts +3 -2
- package/lib/typescript/components/Attachment/Attachment.d.ts.map +1 -0
- package/lib/typescript/components/Attachment/AttachmentActions.d.ts +3 -2
- package/lib/typescript/components/Attachment/AttachmentActions.d.ts.map +1 -0
- package/lib/typescript/components/Attachment/AudioAttachment.d.ts +3 -2
- package/lib/typescript/components/Attachment/AudioAttachment.d.ts.map +1 -0
- package/lib/typescript/components/Attachment/Card.d.ts +3 -2
- package/lib/typescript/components/Attachment/Card.d.ts.map +1 -0
- package/lib/typescript/components/Attachment/FileAttachment.d.ts +3 -2
- package/lib/typescript/components/Attachment/FileAttachment.d.ts.map +1 -0
- package/lib/typescript/components/Attachment/FileAttachmentGroup.d.ts +3 -2
- package/lib/typescript/components/Attachment/FileAttachmentGroup.d.ts.map +1 -0
- package/lib/typescript/components/Attachment/FileIcon.d.ts +5 -1
- package/lib/typescript/components/Attachment/FileIcon.d.ts.map +1 -0
- package/lib/typescript/components/Attachment/Gallery.d.ts +3 -2
- package/lib/typescript/components/Attachment/Gallery.d.ts.map +1 -0
- package/lib/typescript/components/Attachment/GalleryImage.d.ts +4 -3
- package/lib/typescript/components/Attachment/GalleryImage.d.ts.map +1 -0
- package/lib/typescript/components/Attachment/Giphy.d.ts +3 -2
- package/lib/typescript/components/Attachment/Giphy.d.ts.map +1 -0
- package/lib/typescript/components/Attachment/ImageLoadingFailedIndicator.d.ts +3 -2
- package/lib/typescript/components/Attachment/ImageLoadingFailedIndicator.d.ts.map +1 -0
- package/lib/typescript/components/Attachment/ImageLoadingIndicator.d.ts +3 -2
- package/lib/typescript/components/Attachment/ImageLoadingIndicator.d.ts.map +1 -0
- package/lib/typescript/components/Attachment/ImageReloadIndicator.d.ts +2 -1
- package/lib/typescript/components/Attachment/ImageReloadIndicator.d.ts.map +1 -0
- package/lib/typescript/components/Attachment/VideoThumbnail.d.ts +2 -1
- package/lib/typescript/components/Attachment/VideoThumbnail.d.ts.map +1 -0
- package/lib/typescript/components/Attachment/utils/buildGallery/buildGallery.d.ts +1 -0
- package/lib/typescript/components/Attachment/utils/buildGallery/buildGallery.d.ts.map +1 -0
- package/lib/typescript/components/Attachment/utils/buildGallery/buildGalleryOfSingleImage.d.ts +1 -0
- package/lib/typescript/components/Attachment/utils/buildGallery/buildGalleryOfSingleImage.d.ts.map +1 -0
- package/lib/typescript/components/Attachment/utils/buildGallery/buildGalleryOfThreeImages.d.ts +1 -0
- package/lib/typescript/components/Attachment/utils/buildGallery/buildGalleryOfThreeImages.d.ts.map +1 -0
- package/lib/typescript/components/Attachment/utils/buildGallery/buildGalleryOfTwoImages.d.ts +1 -0
- package/lib/typescript/components/Attachment/utils/buildGallery/buildGalleryOfTwoImages.d.ts.map +1 -0
- package/lib/typescript/components/Attachment/utils/buildGallery/buildThumbnail.d.ts +1 -0
- package/lib/typescript/components/Attachment/utils/buildGallery/buildThumbnail.d.ts.map +1 -0
- package/lib/typescript/components/Attachment/utils/buildGallery/buildThumbnailGrid.d.ts +1 -0
- package/lib/typescript/components/Attachment/utils/buildGallery/buildThumbnailGrid.d.ts.map +1 -0
- package/lib/typescript/components/Attachment/utils/buildGallery/types.d.ts +1 -0
- package/lib/typescript/components/Attachment/utils/buildGallery/types.d.ts.map +1 -0
- package/lib/typescript/components/Attachment/utils/getAspectRatio.d.ts +1 -0
- package/lib/typescript/components/Attachment/utils/getAspectRatio.d.ts.map +1 -0
- package/lib/typescript/components/Attachment/utils/getGalleryImageBorderRadius.d.ts +1 -0
- package/lib/typescript/components/Attachment/utils/getGalleryImageBorderRadius.d.ts.map +1 -0
- package/lib/typescript/components/Attachment/utils/getGiphyMimeType.d.ts +1 -0
- package/lib/typescript/components/Attachment/utils/getGiphyMimeType.d.ts.map +1 -0
- package/lib/typescript/components/Attachment/utils/openUrlSafely.d.ts +1 -0
- package/lib/typescript/components/Attachment/utils/openUrlSafely.d.ts.map +1 -0
- package/lib/typescript/components/AttachmentPicker/AttachmentPicker.d.ts +1 -0
- package/lib/typescript/components/AttachmentPicker/AttachmentPicker.d.ts.map +1 -0
- package/lib/typescript/components/AttachmentPicker/components/AttachmentPickerBottomSheetHandle.d.ts +5 -2
- package/lib/typescript/components/AttachmentPicker/components/AttachmentPickerBottomSheetHandle.d.ts.map +1 -0
- package/lib/typescript/components/AttachmentPicker/components/AttachmentPickerError.d.ts +2 -1
- package/lib/typescript/components/AttachmentPicker/components/AttachmentPickerError.d.ts.map +1 -0
- package/lib/typescript/components/AttachmentPicker/components/AttachmentPickerErrorImage.d.ts +2 -1
- package/lib/typescript/components/AttachmentPicker/components/AttachmentPickerErrorImage.d.ts.map +1 -0
- package/lib/typescript/components/AttachmentPicker/components/AttachmentPickerIOSSelectMorePhotos.d.ts +3 -2
- package/lib/typescript/components/AttachmentPicker/components/AttachmentPickerIOSSelectMorePhotos.d.ts.map +1 -0
- package/lib/typescript/components/AttachmentPicker/components/AttachmentPickerItem.d.ts +2 -1
- package/lib/typescript/components/AttachmentPicker/components/AttachmentPickerItem.d.ts.map +1 -0
- package/lib/typescript/components/AttachmentPicker/components/AttachmentSelectionBar.d.ts +2 -1
- package/lib/typescript/components/AttachmentPicker/components/AttachmentSelectionBar.d.ts.map +1 -0
- package/lib/typescript/components/AttachmentPicker/components/CameraSelectorIcon.d.ts +2 -1
- package/lib/typescript/components/AttachmentPicker/components/CameraSelectorIcon.d.ts.map +1 -0
- package/lib/typescript/components/AttachmentPicker/components/FileSelectorIcon.d.ts +2 -1
- package/lib/typescript/components/AttachmentPicker/components/FileSelectorIcon.d.ts.map +1 -0
- package/lib/typescript/components/AttachmentPicker/components/ImageOverlaySelectedComponent.d.ts +5 -1
- package/lib/typescript/components/AttachmentPicker/components/ImageOverlaySelectedComponent.d.ts.map +1 -0
- package/lib/typescript/components/AttachmentPicker/components/ImageSelectorIcon.d.ts +2 -1
- package/lib/typescript/components/AttachmentPicker/components/ImageSelectorIcon.d.ts.map +1 -0
- package/lib/typescript/components/AutoCompleteInput/AutoCompleteInput.d.ts +3 -2
- package/lib/typescript/components/AutoCompleteInput/AutoCompleteInput.d.ts.map +1 -0
- package/lib/typescript/components/AutoCompleteInput/AutoCompleteSuggestionCommandIcon.d.ts +3 -2
- package/lib/typescript/components/AutoCompleteInput/AutoCompleteSuggestionCommandIcon.d.ts.map +1 -0
- package/lib/typescript/components/AutoCompleteInput/AutoCompleteSuggestionHeader.d.ts +3 -2
- package/lib/typescript/components/AutoCompleteInput/AutoCompleteSuggestionHeader.d.ts.map +1 -0
- package/lib/typescript/components/AutoCompleteInput/AutoCompleteSuggestionItem.d.ts +3 -2
- package/lib/typescript/components/AutoCompleteInput/AutoCompleteSuggestionItem.d.ts.map +1 -0
- package/lib/typescript/components/AutoCompleteInput/AutoCompleteSuggestionList.d.ts +3 -2
- package/lib/typescript/components/AutoCompleteInput/AutoCompleteSuggestionList.d.ts.map +1 -0
- package/lib/typescript/components/Avatar/Avatar.d.ts +5 -1
- package/lib/typescript/components/Avatar/Avatar.d.ts.map +1 -0
- package/lib/typescript/components/Avatar/GroupAvatar.d.ts +5 -1
- package/lib/typescript/components/Avatar/GroupAvatar.d.ts.map +1 -0
- package/lib/typescript/components/Channel/Channel.d.ts +2 -1
- package/lib/typescript/components/Channel/Channel.d.ts.map +1 -0
- package/lib/typescript/components/Channel/hooks/useCreateChannelContext.d.ts +1 -0
- package/lib/typescript/components/Channel/hooks/useCreateChannelContext.d.ts.map +1 -0
- package/lib/typescript/components/Channel/hooks/useCreateInputMessageInputContext.d.ts +6 -5
- package/lib/typescript/components/Channel/hooks/useCreateInputMessageInputContext.d.ts.map +1 -0
- package/lib/typescript/components/Channel/hooks/useCreateMessagesContext.d.ts +1 -0
- package/lib/typescript/components/Channel/hooks/useCreateMessagesContext.d.ts.map +1 -0
- package/lib/typescript/components/Channel/hooks/useCreateOwnCapabilitiesContext.d.ts +1 -0
- package/lib/typescript/components/Channel/hooks/useCreateOwnCapabilitiesContext.d.ts.map +1 -0
- package/lib/typescript/components/Channel/hooks/useCreatePaginatedMessageListContext.d.ts +1 -0
- package/lib/typescript/components/Channel/hooks/useCreatePaginatedMessageListContext.d.ts.map +1 -0
- package/lib/typescript/components/Channel/hooks/useCreateThreadContext.d.ts +1 -0
- package/lib/typescript/components/Channel/hooks/useCreateThreadContext.d.ts.map +1 -0
- package/lib/typescript/components/Channel/hooks/useCreateTypingContext.d.ts +1 -0
- package/lib/typescript/components/Channel/hooks/useCreateTypingContext.d.ts.map +1 -0
- package/lib/typescript/components/Channel/hooks/useTargetedMessage.d.ts +1 -0
- package/lib/typescript/components/Channel/hooks/useTargetedMessage.d.ts.map +1 -0
- package/lib/typescript/components/ChannelList/ChannelList.d.ts +2 -1
- package/lib/typescript/components/ChannelList/ChannelList.d.ts.map +1 -0
- package/lib/typescript/components/ChannelList/ChannelListFooterLoadingIndicator.d.ts +5 -1
- package/lib/typescript/components/ChannelList/ChannelListFooterLoadingIndicator.d.ts.map +1 -0
- package/lib/typescript/components/ChannelList/ChannelListHeaderErrorIndicator.d.ts +5 -1
- package/lib/typescript/components/ChannelList/ChannelListHeaderErrorIndicator.d.ts.map +1 -0
- package/lib/typescript/components/ChannelList/ChannelListHeaderNetworkDownIndicator.d.ts +5 -1
- package/lib/typescript/components/ChannelList/ChannelListHeaderNetworkDownIndicator.d.ts.map +1 -0
- package/lib/typescript/components/ChannelList/ChannelListLoadingIndicator.d.ts +2 -1
- package/lib/typescript/components/ChannelList/ChannelListLoadingIndicator.d.ts.map +1 -0
- package/lib/typescript/components/ChannelList/ChannelListMessenger.d.ts +3 -2
- package/lib/typescript/components/ChannelList/ChannelListMessenger.d.ts.map +1 -0
- package/lib/typescript/components/ChannelList/Skeleton.d.ts +5 -1
- package/lib/typescript/components/ChannelList/Skeleton.d.ts.map +1 -0
- package/lib/typescript/components/ChannelList/hooks/listeners/useAddedToChannelNotification.d.ts +1 -0
- package/lib/typescript/components/ChannelList/hooks/listeners/useAddedToChannelNotification.d.ts.map +1 -0
- package/lib/typescript/components/ChannelList/hooks/listeners/useChannelDeleted.d.ts +1 -0
- package/lib/typescript/components/ChannelList/hooks/listeners/useChannelDeleted.d.ts.map +1 -0
- package/lib/typescript/components/ChannelList/hooks/listeners/useChannelHidden.d.ts +1 -0
- package/lib/typescript/components/ChannelList/hooks/listeners/useChannelHidden.d.ts.map +1 -0
- package/lib/typescript/components/ChannelList/hooks/listeners/useChannelTruncated.d.ts +1 -0
- package/lib/typescript/components/ChannelList/hooks/listeners/useChannelTruncated.d.ts.map +1 -0
- package/lib/typescript/components/ChannelList/hooks/listeners/useChannelUpdated.d.ts +1 -0
- package/lib/typescript/components/ChannelList/hooks/listeners/useChannelUpdated.d.ts.map +1 -0
- package/lib/typescript/components/ChannelList/hooks/listeners/useChannelVisible.d.ts +1 -0
- package/lib/typescript/components/ChannelList/hooks/listeners/useChannelVisible.d.ts.map +1 -0
- package/lib/typescript/components/ChannelList/hooks/listeners/useNewMessage.d.ts +1 -0
- package/lib/typescript/components/ChannelList/hooks/listeners/useNewMessage.d.ts.map +1 -0
- package/lib/typescript/components/ChannelList/hooks/listeners/useNewMessageNotification.d.ts +1 -0
- package/lib/typescript/components/ChannelList/hooks/listeners/useNewMessageNotification.d.ts.map +1 -0
- package/lib/typescript/components/ChannelList/hooks/listeners/useRemovedFromChannelNotification.d.ts +1 -0
- package/lib/typescript/components/ChannelList/hooks/listeners/useRemovedFromChannelNotification.d.ts.map +1 -0
- package/lib/typescript/components/ChannelList/hooks/listeners/useUserPresence.d.ts +1 -0
- package/lib/typescript/components/ChannelList/hooks/listeners/useUserPresence.d.ts.map +1 -0
- package/lib/typescript/components/ChannelList/hooks/useCreateChannelsContext.d.ts +1 -0
- package/lib/typescript/components/ChannelList/hooks/useCreateChannelsContext.d.ts.map +1 -0
- package/lib/typescript/components/ChannelList/hooks/usePaginatedChannels.d.ts +1 -0
- package/lib/typescript/components/ChannelList/hooks/usePaginatedChannels.d.ts.map +1 -0
- package/lib/typescript/components/ChannelList/utils.d.ts +2 -1
- package/lib/typescript/components/ChannelList/utils.d.ts.map +1 -0
- package/lib/typescript/components/ChannelPreview/ChannelAvatar.d.ts +4 -3
- package/lib/typescript/components/ChannelPreview/ChannelAvatar.d.ts.map +1 -0
- package/lib/typescript/components/ChannelPreview/ChannelPreview.d.ts +3 -2
- package/lib/typescript/components/ChannelPreview/ChannelPreview.d.ts.map +1 -0
- package/lib/typescript/components/ChannelPreview/ChannelPreviewMessage.d.ts +3 -2
- package/lib/typescript/components/ChannelPreview/ChannelPreviewMessage.d.ts.map +1 -0
- package/lib/typescript/components/ChannelPreview/ChannelPreviewMessenger.d.ts +3 -2
- package/lib/typescript/components/ChannelPreview/ChannelPreviewMessenger.d.ts.map +1 -0
- package/lib/typescript/components/ChannelPreview/ChannelPreviewMutedStatus.d.ts +3 -2
- package/lib/typescript/components/ChannelPreview/ChannelPreviewMutedStatus.d.ts.map +1 -0
- package/lib/typescript/components/ChannelPreview/ChannelPreviewStatus.d.ts +3 -2
- package/lib/typescript/components/ChannelPreview/ChannelPreviewStatus.d.ts.map +1 -0
- package/lib/typescript/components/ChannelPreview/ChannelPreviewTitle.d.ts +3 -2
- package/lib/typescript/components/ChannelPreview/ChannelPreviewTitle.d.ts.map +1 -0
- package/lib/typescript/components/ChannelPreview/ChannelPreviewUnreadCount.d.ts +3 -2
- package/lib/typescript/components/ChannelPreview/ChannelPreviewUnreadCount.d.ts.map +1 -0
- package/lib/typescript/components/ChannelPreview/hooks/useChannelPreviewDisplayAvatar.d.ts +1 -0
- package/lib/typescript/components/ChannelPreview/hooks/useChannelPreviewDisplayAvatar.d.ts.map +1 -0
- package/lib/typescript/components/ChannelPreview/hooks/useChannelPreviewDisplayName.d.ts +1 -0
- package/lib/typescript/components/ChannelPreview/hooks/useChannelPreviewDisplayName.d.ts.map +1 -0
- package/lib/typescript/components/ChannelPreview/hooks/useChannelPreviewDisplayPresence.d.ts +1 -0
- package/lib/typescript/components/ChannelPreview/hooks/useChannelPreviewDisplayPresence.d.ts.map +1 -0
- package/lib/typescript/components/ChannelPreview/hooks/useLatestMessagePreview.d.ts +1 -0
- package/lib/typescript/components/ChannelPreview/hooks/useLatestMessagePreview.d.ts.map +1 -0
- package/lib/typescript/components/Chat/Chat.d.ts +2 -1
- package/lib/typescript/components/Chat/Chat.d.ts.map +1 -0
- package/lib/typescript/components/Chat/hooks/handleEventToSyncDB.d.ts +5 -2
- package/lib/typescript/components/Chat/hooks/handleEventToSyncDB.d.ts.map +1 -0
- package/lib/typescript/components/Chat/hooks/useAppSettings.d.ts +1 -0
- package/lib/typescript/components/Chat/hooks/useAppSettings.d.ts.map +1 -0
- package/lib/typescript/components/Chat/hooks/useCreateChatContext.d.ts +1 -0
- package/lib/typescript/components/Chat/hooks/useCreateChatContext.d.ts.map +1 -0
- package/lib/typescript/components/Chat/hooks/useIsOnline.d.ts +1 -0
- package/lib/typescript/components/Chat/hooks/useIsOnline.d.ts.map +1 -0
- package/lib/typescript/components/Chat/hooks/useMutedUsers.d.ts +1 -0
- package/lib/typescript/components/Chat/hooks/useMutedUsers.d.ts.map +1 -0
- package/lib/typescript/components/Chat/hooks/useSyncDatabase.d.ts +1 -0
- package/lib/typescript/components/Chat/hooks/useSyncDatabase.d.ts.map +1 -0
- package/lib/typescript/components/ImageBackground.d.ts +1 -0
- package/lib/typescript/components/ImageBackground.d.ts.map +1 -0
- package/lib/typescript/components/ImageGallery/ImageGallery.d.ts +3 -2
- package/lib/typescript/components/ImageGallery/ImageGallery.d.ts.map +1 -0
- package/lib/typescript/components/ImageGallery/components/AnimatedGalleryImage.d.ts +2 -1
- package/lib/typescript/components/ImageGallery/components/AnimatedGalleryImage.d.ts.map +1 -0
- package/lib/typescript/components/ImageGallery/components/AnimatedGalleryVideo.d.ts +2 -1
- package/lib/typescript/components/ImageGallery/components/AnimatedGalleryVideo.d.ts.map +1 -0
- package/lib/typescript/components/ImageGallery/components/ImageGalleryFooter.d.ts +3 -2
- package/lib/typescript/components/ImageGallery/components/ImageGalleryFooter.d.ts.map +1 -0
- package/lib/typescript/components/ImageGallery/components/ImageGalleryHeader.d.ts +2 -1
- package/lib/typescript/components/ImageGallery/components/ImageGalleryHeader.d.ts.map +1 -0
- package/lib/typescript/components/ImageGallery/components/ImageGalleryOverlay.d.ts +5 -1
- package/lib/typescript/components/ImageGallery/components/ImageGalleryOverlay.d.ts.map +1 -0
- package/lib/typescript/components/ImageGallery/components/ImageGalleryVideoControl.d.ts +2 -1
- package/lib/typescript/components/ImageGallery/components/ImageGalleryVideoControl.d.ts.map +1 -0
- package/lib/typescript/components/ImageGallery/components/ImageGrid.d.ts +2 -1
- package/lib/typescript/components/ImageGallery/components/ImageGrid.d.ts.map +1 -0
- package/lib/typescript/components/ImageGallery/components/ImageGridHandle.d.ts +5 -1
- package/lib/typescript/components/ImageGallery/components/ImageGridHandle.d.ts.map +1 -0
- package/lib/typescript/components/ImageGallery/hooks/useImageGalleryGestures.d.ts +5 -4
- package/lib/typescript/components/ImageGallery/hooks/useImageGalleryGestures.d.ts.map +1 -0
- package/lib/typescript/components/Indicators/EmptyStateIndicator.d.ts +2 -1
- package/lib/typescript/components/Indicators/EmptyStateIndicator.d.ts.map +1 -0
- package/lib/typescript/components/Indicators/LoadingDot.d.ts +2 -1
- package/lib/typescript/components/Indicators/LoadingDot.d.ts.map +1 -0
- package/lib/typescript/components/Indicators/LoadingDots.d.ts +2 -1
- package/lib/typescript/components/Indicators/LoadingDots.d.ts.map +1 -0
- package/lib/typescript/components/Indicators/LoadingErrorIndicator.d.ts +5 -1
- package/lib/typescript/components/Indicators/LoadingErrorIndicator.d.ts.map +1 -0
- package/lib/typescript/components/Indicators/LoadingIndicator.d.ts +5 -1
- package/lib/typescript/components/Indicators/LoadingIndicator.d.ts.map +1 -0
- package/lib/typescript/components/KeyboardCompatibleView/KeyboardCompatibleView.d.ts +4 -3
- package/lib/typescript/components/KeyboardCompatibleView/KeyboardCompatibleView.d.ts.map +1 -0
- package/lib/typescript/components/KeyboardCompatibleView/KeyboardCompatibleViewFC.d.ts +2 -1
- package/lib/typescript/components/KeyboardCompatibleView/KeyboardCompatibleViewFC.d.ts.map +1 -0
- package/lib/typescript/components/Message/Message.d.ts +3 -2
- package/lib/typescript/components/Message/Message.d.ts.map +1 -0
- package/lib/typescript/components/Message/MessageSimple/MessageAvatar.d.ts +3 -2
- package/lib/typescript/components/Message/MessageSimple/MessageAvatar.d.ts.map +1 -0
- package/lib/typescript/components/Message/MessageSimple/MessageBounce.d.ts +3 -2
- package/lib/typescript/components/Message/MessageSimple/MessageBounce.d.ts.map +1 -0
- package/lib/typescript/components/Message/MessageSimple/MessageContent.d.ts +2 -1
- package/lib/typescript/components/Message/MessageSimple/MessageContent.d.ts.map +1 -0
- package/lib/typescript/components/Message/MessageSimple/MessageDeleted.d.ts +2 -1
- package/lib/typescript/components/Message/MessageSimple/MessageDeleted.d.ts.map +1 -0
- package/lib/typescript/components/Message/MessageSimple/MessageError.d.ts +2 -1
- package/lib/typescript/components/Message/MessageSimple/MessageError.d.ts.map +1 -0
- package/lib/typescript/components/Message/MessageSimple/MessageFooter.d.ts +2 -1
- package/lib/typescript/components/Message/MessageSimple/MessageFooter.d.ts.map +1 -0
- package/lib/typescript/components/Message/MessageSimple/MessagePinnedHeader.d.ts +3 -2
- package/lib/typescript/components/Message/MessageSimple/MessagePinnedHeader.d.ts.map +1 -0
- package/lib/typescript/components/Message/MessageSimple/MessageReplies.d.ts +3 -2
- package/lib/typescript/components/Message/MessageSimple/MessageReplies.d.ts.map +1 -0
- package/lib/typescript/components/Message/MessageSimple/MessageRepliesAvatars.d.ts +4 -3
- package/lib/typescript/components/Message/MessageSimple/MessageRepliesAvatars.d.ts.map +1 -0
- package/lib/typescript/components/Message/MessageSimple/MessageSimple.d.ts +3 -2
- package/lib/typescript/components/Message/MessageSimple/MessageSimple.d.ts.map +1 -0
- package/lib/typescript/components/Message/MessageSimple/MessageStatus.d.ts +3 -2
- package/lib/typescript/components/Message/MessageSimple/MessageStatus.d.ts.map +1 -0
- package/lib/typescript/components/Message/MessageSimple/MessageTextContainer.d.ts +3 -2
- package/lib/typescript/components/Message/MessageSimple/MessageTextContainer.d.ts.map +1 -0
- package/lib/typescript/components/Message/MessageSimple/ReactionList.d.ts +3 -2
- package/lib/typescript/components/Message/MessageSimple/ReactionList.d.ts.map +1 -0
- package/lib/typescript/components/Message/MessageSimple/utils/generateMarkdownText.d.ts +1 -0
- package/lib/typescript/components/Message/MessageSimple/utils/generateMarkdownText.d.ts.map +1 -0
- package/lib/typescript/components/Message/MessageSimple/utils/generateMarkdownText.test.d.ts +1 -0
- package/lib/typescript/components/Message/MessageSimple/utils/generateMarkdownText.test.d.ts.map +1 -0
- package/lib/typescript/components/Message/MessageSimple/utils/parseLinks.d.ts +1 -0
- package/lib/typescript/components/Message/MessageSimple/utils/parseLinks.d.ts.map +1 -0
- package/lib/typescript/components/Message/MessageSimple/utils/parseLinks.test.d.ts +1 -0
- package/lib/typescript/components/Message/MessageSimple/utils/parseLinks.test.d.ts.map +1 -0
- package/lib/typescript/components/Message/MessageSimple/utils/renderText.d.ts +4 -3
- package/lib/typescript/components/Message/MessageSimple/utils/renderText.d.ts.map +1 -0
- package/lib/typescript/components/Message/MessageSimple/utils/renderText.test.d.ts +1 -0
- package/lib/typescript/components/Message/MessageSimple/utils/renderText.test.d.ts.map +1 -0
- package/lib/typescript/components/Message/hooks/useCreateMessageContext.d.ts +1 -0
- package/lib/typescript/components/Message/hooks/useCreateMessageContext.d.ts.map +1 -0
- package/lib/typescript/components/Message/hooks/useMessageActionHandlers.d.ts +1 -0
- package/lib/typescript/components/Message/hooks/useMessageActionHandlers.d.ts.map +1 -0
- package/lib/typescript/components/Message/hooks/useMessageActions.d.ts +1 -0
- package/lib/typescript/components/Message/hooks/useMessageActions.d.ts.map +1 -0
- package/lib/typescript/components/Message/utils/messageActions.d.ts +1 -0
- package/lib/typescript/components/Message/utils/messageActions.d.ts.map +1 -0
- package/lib/typescript/components/MessageInput/AttachButton.d.ts +3 -2
- package/lib/typescript/components/MessageInput/AttachButton.d.ts.map +1 -0
- package/lib/typescript/components/MessageInput/CommandsButton.d.ts +3 -2
- package/lib/typescript/components/MessageInput/CommandsButton.d.ts.map +1 -0
- package/lib/typescript/components/MessageInput/CooldownTimer.d.ts +3 -2
- package/lib/typescript/components/MessageInput/CooldownTimer.d.ts.map +1 -0
- package/lib/typescript/components/MessageInput/FileUploadPreview.d.ts +3 -2
- package/lib/typescript/components/MessageInput/FileUploadPreview.d.ts.map +1 -0
- package/lib/typescript/components/MessageInput/ImageUploadPreview.d.ts +3 -2
- package/lib/typescript/components/MessageInput/ImageUploadPreview.d.ts.map +1 -0
- package/lib/typescript/components/MessageInput/InputButtons.d.ts +4 -3
- package/lib/typescript/components/MessageInput/InputButtons.d.ts.map +1 -0
- package/lib/typescript/components/MessageInput/MessageInput.d.ts +3 -2
- package/lib/typescript/components/MessageInput/MessageInput.d.ts.map +1 -0
- package/lib/typescript/components/MessageInput/MoreOptionsButton.d.ts +3 -2
- package/lib/typescript/components/MessageInput/MoreOptionsButton.d.ts.map +1 -0
- package/lib/typescript/components/MessageInput/SendButton.d.ts +3 -2
- package/lib/typescript/components/MessageInput/SendButton.d.ts.map +1 -0
- package/lib/typescript/components/MessageInput/SendMessageDisallowedIndicator.d.ts +3 -2
- package/lib/typescript/components/MessageInput/SendMessageDisallowedIndicator.d.ts.map +1 -0
- package/lib/typescript/components/MessageInput/ShowThreadMessageInChannelButton.d.ts +3 -2
- package/lib/typescript/components/MessageInput/ShowThreadMessageInChannelButton.d.ts.map +1 -0
- package/lib/typescript/components/MessageInput/UploadProgressIndicator.d.ts +3 -2
- package/lib/typescript/components/MessageInput/UploadProgressIndicator.d.ts.map +1 -0
- package/lib/typescript/components/MessageInput/components/InputEditingStateHeader.d.ts +4 -3
- package/lib/typescript/components/MessageInput/components/InputEditingStateHeader.d.ts.map +1 -0
- package/lib/typescript/components/MessageInput/components/InputGiphySearch.d.ts +4 -3
- package/lib/typescript/components/MessageInput/components/InputGiphySearch.d.ts.map +1 -0
- package/lib/typescript/components/MessageInput/components/InputReplyStateHeader.d.ts +4 -3
- package/lib/typescript/components/MessageInput/components/InputReplyStateHeader.d.ts.map +1 -0
- package/lib/typescript/components/MessageInput/hooks/useCooldown.d.ts +1 -0
- package/lib/typescript/components/MessageInput/hooks/useCooldown.d.ts.map +1 -0
- package/lib/typescript/components/MessageInput/hooks/useCountdown.d.ts +1 -0
- package/lib/typescript/components/MessageInput/hooks/useCountdown.d.ts.map +1 -0
- package/lib/typescript/components/MessageList/DateHeader.d.ts +2 -1
- package/lib/typescript/components/MessageList/DateHeader.d.ts.map +1 -0
- package/lib/typescript/components/MessageList/InlineDateSeparator.d.ts +2 -1
- package/lib/typescript/components/MessageList/InlineDateSeparator.d.ts.map +1 -0
- package/lib/typescript/components/MessageList/InlineLoadingMoreIndicator.d.ts +3 -2
- package/lib/typescript/components/MessageList/InlineLoadingMoreIndicator.d.ts.map +1 -0
- package/lib/typescript/components/MessageList/InlineLoadingMoreRecentIndicator.d.ts +3 -2
- package/lib/typescript/components/MessageList/InlineLoadingMoreRecentIndicator.d.ts.map +1 -0
- package/lib/typescript/components/MessageList/InlineLoadingMoreThreadIndicator.d.ts +3 -2
- package/lib/typescript/components/MessageList/InlineLoadingMoreThreadIndicator.d.ts.map +1 -0
- package/lib/typescript/components/MessageList/InlineUnreadIndicator.d.ts +2 -1
- package/lib/typescript/components/MessageList/InlineUnreadIndicator.d.ts.map +1 -0
- package/lib/typescript/components/MessageList/MessageList.d.ts +2 -1
- package/lib/typescript/components/MessageList/MessageList.d.ts.map +1 -0
- package/lib/typescript/components/MessageList/MessageSystem.d.ts +3 -2
- package/lib/typescript/components/MessageList/MessageSystem.d.ts.map +1 -0
- package/lib/typescript/components/MessageList/NetworkDownIndicator.d.ts +3 -2
- package/lib/typescript/components/MessageList/NetworkDownIndicator.d.ts.map +1 -0
- package/lib/typescript/components/MessageList/ScrollToBottomButton.d.ts +5 -1
- package/lib/typescript/components/MessageList/ScrollToBottomButton.d.ts.map +1 -0
- package/lib/typescript/components/MessageList/TypingIndicator.d.ts +3 -2
- package/lib/typescript/components/MessageList/TypingIndicator.d.ts.map +1 -0
- package/lib/typescript/components/MessageList/TypingIndicatorContainer.d.ts +3 -2
- package/lib/typescript/components/MessageList/TypingIndicatorContainer.d.ts.map +1 -0
- package/lib/typescript/components/MessageList/hooks/useMessageList.d.ts +1 -0
- package/lib/typescript/components/MessageList/hooks/useMessageList.d.ts.map +1 -0
- package/lib/typescript/components/MessageList/hooks/useShouldScrollToRecentOnNewOwnMessage.d.ts +1 -0
- package/lib/typescript/components/MessageList/hooks/useShouldScrollToRecentOnNewOwnMessage.d.ts.map +1 -0
- package/lib/typescript/components/MessageList/hooks/useTypingString.d.ts +1 -0
- package/lib/typescript/components/MessageList/hooks/useTypingString.d.ts.map +1 -0
- package/lib/typescript/components/MessageList/utils/filterTypingUsers.d.ts +1 -0
- package/lib/typescript/components/MessageList/utils/filterTypingUsers.d.ts.map +1 -0
- package/lib/typescript/components/MessageList/utils/getDateSeparators.d.ts +1 -0
- package/lib/typescript/components/MessageList/utils/getDateSeparators.d.ts.map +1 -0
- package/lib/typescript/components/MessageList/utils/getGroupStyles.d.ts +1 -0
- package/lib/typescript/components/MessageList/utils/getGroupStyles.d.ts.map +1 -0
- package/lib/typescript/components/MessageList/utils/getLastReceivedMessage.d.ts +1 -0
- package/lib/typescript/components/MessageList/utils/getLastReceivedMessage.d.ts.map +1 -0
- package/lib/typescript/components/MessageList/utils/getReadStates.d.ts +1 -0
- package/lib/typescript/components/MessageList/utils/getReadStates.d.ts.map +1 -0
- package/lib/typescript/components/MessageOverlay/MessageActionList.d.ts +3 -2
- package/lib/typescript/components/MessageOverlay/MessageActionList.d.ts.map +1 -0
- package/lib/typescript/components/MessageOverlay/MessageActionListItem.d.ts +3 -2
- package/lib/typescript/components/MessageOverlay/MessageActionListItem.d.ts.map +1 -0
- package/lib/typescript/components/MessageOverlay/MessageOverlay.d.ts +3 -2
- package/lib/typescript/components/MessageOverlay/MessageOverlay.d.ts.map +1 -0
- package/lib/typescript/components/MessageOverlay/OverlayBackdrop.d.ts +1 -0
- package/lib/typescript/components/MessageOverlay/OverlayBackdrop.d.ts.map +1 -0
- package/lib/typescript/components/MessageOverlay/OverlayReactionList.d.ts +4 -3
- package/lib/typescript/components/MessageOverlay/OverlayReactionList.d.ts.map +1 -0
- package/lib/typescript/components/MessageOverlay/OverlayReactions.d.ts +5 -1
- package/lib/typescript/components/MessageOverlay/OverlayReactions.d.ts.map +1 -0
- package/lib/typescript/components/MessageOverlay/OverlayReactionsAvatar.d.ts +5 -1
- package/lib/typescript/components/MessageOverlay/OverlayReactionsAvatar.d.ts.map +1 -0
- package/lib/typescript/components/MessageOverlay/hooks/useMessageActionAnimation.d.ts +2 -2
- package/lib/typescript/components/MessageOverlay/hooks/useMessageActionAnimation.d.ts.map +1 -0
- package/lib/typescript/components/ProgressControl/ProgressControl.d.ts +2 -1
- package/lib/typescript/components/ProgressControl/ProgressControl.d.ts.map +1 -0
- package/lib/typescript/components/RTLComponents/WritingDirectionAwareText.d.ts +2 -1
- package/lib/typescript/components/RTLComponents/WritingDirectionAwareText.d.ts.map +1 -0
- package/lib/typescript/components/Reply/Reply.d.ts +3 -2
- package/lib/typescript/components/Reply/Reply.d.ts.map +1 -0
- package/lib/typescript/components/Spinner/Spinner.d.ts +5 -1
- package/lib/typescript/components/Spinner/Spinner.d.ts.map +1 -0
- package/lib/typescript/components/Thread/Thread.d.ts +2 -1
- package/lib/typescript/components/Thread/Thread.d.ts.map +1 -0
- package/lib/typescript/components/Thread/components/ThreadFooterComponent.d.ts +3 -2
- package/lib/typescript/components/Thread/components/ThreadFooterComponent.d.ts.map +1 -0
- package/lib/typescript/components/index.d.ts +1 -0
- package/lib/typescript/components/index.d.ts.map +1 -0
- package/lib/typescript/contexts/activeChannelsRefContext/ActiveChannelsRefContext.d.ts +12 -2
- package/lib/typescript/contexts/activeChannelsRefContext/ActiveChannelsRefContext.d.ts.map +1 -0
- package/lib/typescript/contexts/attachmentPickerContext/AttachmentPickerContext.d.ts +12 -2
- package/lib/typescript/contexts/attachmentPickerContext/AttachmentPickerContext.d.ts.map +1 -0
- package/lib/typescript/contexts/channelContext/ChannelContext.d.ts +7 -2
- package/lib/typescript/contexts/channelContext/ChannelContext.d.ts.map +1 -0
- package/lib/typescript/contexts/channelsContext/ChannelsContext.d.ts +8 -3
- package/lib/typescript/contexts/channelsContext/ChannelsContext.d.ts.map +1 -0
- package/lib/typescript/contexts/channelsStateContext/ChannelsStateContext.d.ts +12 -2
- package/lib/typescript/contexts/channelsStateContext/ChannelsStateContext.d.ts.map +1 -0
- package/lib/typescript/contexts/channelsStateContext/useChannelState.d.ts +1 -0
- package/lib/typescript/contexts/channelsStateContext/useChannelState.d.ts.map +1 -0
- package/lib/typescript/contexts/chatContext/ChatContext.d.ts +7 -2
- package/lib/typescript/contexts/chatContext/ChatContext.d.ts.map +1 -0
- package/lib/typescript/contexts/debugContext/DebugContext.d.ts +2 -1
- package/lib/typescript/contexts/debugContext/DebugContext.d.ts.map +1 -0
- package/lib/typescript/contexts/imageGalleryContext/ImageGalleryContext.d.ts +12 -2
- package/lib/typescript/contexts/imageGalleryContext/ImageGalleryContext.d.ts.map +1 -0
- package/lib/typescript/contexts/index.d.ts +1 -0
- package/lib/typescript/contexts/index.d.ts.map +1 -0
- package/lib/typescript/contexts/keyboardContext/KeyboardContext.d.ts +14 -2
- package/lib/typescript/contexts/keyboardContext/KeyboardContext.d.ts.map +1 -0
- package/lib/typescript/contexts/messageContext/MessageContext.d.ts +9 -4
- package/lib/typescript/contexts/messageContext/MessageContext.d.ts.map +1 -0
- package/lib/typescript/contexts/messageInputContext/MessageInputContext.d.ts +8 -3
- package/lib/typescript/contexts/messageInputContext/MessageInputContext.d.ts.map +1 -0
- package/lib/typescript/contexts/messageInputContext/hooks/useCreateMessageInputContext.d.ts +1 -0
- package/lib/typescript/contexts/messageInputContext/hooks/useCreateMessageInputContext.d.ts.map +1 -0
- package/lib/typescript/contexts/messageInputContext/hooks/useMessageDetailsForState.d.ts +1 -0
- package/lib/typescript/contexts/messageInputContext/hooks/useMessageDetailsForState.d.ts.map +1 -0
- package/lib/typescript/contexts/messageOverlayContext/MessageOverlayContext.d.ts +9 -4
- package/lib/typescript/contexts/messageOverlayContext/MessageOverlayContext.d.ts.map +1 -0
- package/lib/typescript/contexts/messageOverlayContext/hooks/useResettableState.d.ts +1 -0
- package/lib/typescript/contexts/messageOverlayContext/hooks/useResettableState.d.ts.map +1 -0
- package/lib/typescript/contexts/messageOverlayContext/hooks/useResettableState.test.d.ts +1 -0
- package/lib/typescript/contexts/messageOverlayContext/hooks/useResettableState.test.d.ts.map +1 -0
- package/lib/typescript/contexts/messagesContext/MessagesContext.d.ts +10 -4
- package/lib/typescript/contexts/messagesContext/MessagesContext.d.ts.map +1 -0
- package/lib/typescript/contexts/overlayContext/OverlayContext.d.ts +11 -1
- package/lib/typescript/contexts/overlayContext/OverlayContext.d.ts.map +1 -0
- package/lib/typescript/contexts/overlayContext/OverlayProvider.d.ts +2 -1
- package/lib/typescript/contexts/overlayContext/OverlayProvider.d.ts.map +1 -0
- package/lib/typescript/contexts/ownCapabilitiesContext/OwnCapabilitiesContext.d.ts +2 -1
- package/lib/typescript/contexts/ownCapabilitiesContext/OwnCapabilitiesContext.d.ts.map +1 -0
- package/lib/typescript/contexts/paginatedMessageListContext/PaginatedMessageListContext.d.ts +9 -4
- package/lib/typescript/contexts/paginatedMessageListContext/PaginatedMessageListContext.d.ts.map +1 -0
- package/lib/typescript/contexts/suggestionsContext/SuggestionsContext.d.ts +12 -2
- package/lib/typescript/contexts/suggestionsContext/SuggestionsContext.d.ts.map +1 -0
- package/lib/typescript/contexts/themeContext/ThemeContext.d.ts +2 -1
- package/lib/typescript/contexts/themeContext/ThemeContext.d.ts.map +1 -0
- package/lib/typescript/contexts/themeContext/utils/theme.d.ts +10 -6
- package/lib/typescript/contexts/themeContext/utils/theme.d.ts.map +1 -0
- package/lib/typescript/contexts/threadContext/ThreadContext.d.ts +9 -4
- package/lib/typescript/contexts/threadContext/ThreadContext.d.ts.map +1 -0
- package/lib/typescript/contexts/translationContext/TranslationContext.d.ts +14 -2
- package/lib/typescript/contexts/translationContext/TranslationContext.d.ts.map +1 -0
- package/lib/typescript/contexts/typingContext/TypingContext.d.ts +8 -3
- package/lib/typescript/contexts/typingContext/TypingContext.d.ts.map +1 -0
- package/lib/typescript/contexts/utils/defaultBaseContextValue.d.ts +1 -0
- package/lib/typescript/contexts/utils/defaultBaseContextValue.d.ts.map +1 -0
- package/lib/typescript/contexts/utils/getDisplayName.d.ts +1 -0
- package/lib/typescript/contexts/utils/getDisplayName.d.ts.map +1 -0
- package/lib/typescript/contexts/utils/isTestEnvironment.d.ts +1 -0
- package/lib/typescript/contexts/utils/isTestEnvironment.d.ts.map +1 -0
- package/lib/typescript/emoji-data/index.d.ts +1 -0
- package/lib/typescript/emoji-data/index.d.ts.map +1 -0
- package/lib/typescript/hooks/index.d.ts +1 -0
- package/lib/typescript/hooks/index.d.ts.map +1 -0
- package/lib/typescript/hooks/useAppStateListener.d.ts +1 -0
- package/lib/typescript/hooks/useAppStateListener.d.ts.map +1 -0
- package/lib/typescript/hooks/useIsMountedRef.d.ts +1 -0
- package/lib/typescript/hooks/useIsMountedRef.d.ts.map +1 -0
- package/lib/typescript/hooks/useLoadingImage.d.ts +1 -0
- package/lib/typescript/hooks/useLoadingImage.d.ts.map +1 -0
- package/lib/typescript/hooks/useStreami18n.d.ts +1 -0
- package/lib/typescript/hooks/useStreami18n.d.ts.map +1 -0
- package/lib/typescript/hooks/useTranslatedMessage.d.ts +1 -0
- package/lib/typescript/hooks/useTranslatedMessage.d.ts.map +1 -0
- package/lib/typescript/hooks/useViewport.d.ts +1 -0
- package/lib/typescript/hooks/useViewport.d.ts.map +1 -0
- package/lib/typescript/i18n/es.json +10 -10
- package/lib/typescript/i18n/fr.json +10 -10
- package/lib/typescript/i18n/he.json +10 -10
- package/lib/typescript/i18n/hi.json +10 -10
- package/lib/typescript/i18n/it.json +10 -10
- package/lib/typescript/i18n/ja.json +10 -10
- package/lib/typescript/i18n/ko.json +10 -10
- package/lib/typescript/i18n/nl.json +10 -10
- package/lib/typescript/i18n/pt-BR.json +10 -10
- package/lib/typescript/i18n/ru.json +10 -10
- package/lib/typescript/i18n/tr.json +10 -10
- package/lib/typescript/icons/ArrowRight.d.ts +3 -2
- package/lib/typescript/icons/ArrowRight.d.ts.map +1 -0
- package/lib/typescript/icons/AtMentions.d.ts +3 -2
- package/lib/typescript/icons/AtMentions.d.ts.map +1 -0
- package/lib/typescript/icons/Attach.d.ts +3 -2
- package/lib/typescript/icons/Attach.d.ts.map +1 -0
- package/lib/typescript/icons/Audio.d.ts +3 -2
- package/lib/typescript/icons/Audio.d.ts.map +1 -0
- package/lib/typescript/icons/CSV.d.ts +3 -2
- package/lib/typescript/icons/CSV.d.ts.map +1 -0
- package/lib/typescript/icons/Camera.d.ts +3 -2
- package/lib/typescript/icons/Camera.d.ts.map +1 -0
- package/lib/typescript/icons/Check.d.ts +3 -2
- package/lib/typescript/icons/Check.d.ts.map +1 -0
- package/lib/typescript/icons/CheckAll.d.ts +3 -2
- package/lib/typescript/icons/CheckAll.d.ts.map +1 -0
- package/lib/typescript/icons/CheckSend.d.ts +3 -2
- package/lib/typescript/icons/CheckSend.d.ts.map +1 -0
- package/lib/typescript/icons/CircleClose.d.ts +3 -2
- package/lib/typescript/icons/CircleClose.d.ts.map +1 -0
- package/lib/typescript/icons/CirclePlus.d.ts +3 -2
- package/lib/typescript/icons/CirclePlus.d.ts.map +1 -0
- package/lib/typescript/icons/CircleRight.d.ts +3 -2
- package/lib/typescript/icons/CircleRight.d.ts.map +1 -0
- package/lib/typescript/icons/Close.d.ts +3 -2
- package/lib/typescript/icons/Close.d.ts.map +1 -0
- package/lib/typescript/icons/Copy.d.ts +2 -1
- package/lib/typescript/icons/Copy.d.ts.map +1 -0
- package/lib/typescript/icons/CurveLineLeftUp.d.ts +3 -2
- package/lib/typescript/icons/CurveLineLeftUp.d.ts.map +1 -0
- package/lib/typescript/icons/DOC.d.ts +3 -2
- package/lib/typescript/icons/DOC.d.ts.map +1 -0
- package/lib/typescript/icons/DOCX.d.ts +3 -2
- package/lib/typescript/icons/DOCX.d.ts.map +1 -0
- package/lib/typescript/icons/Delete.d.ts +3 -2
- package/lib/typescript/icons/Delete.d.ts.map +1 -0
- package/lib/typescript/icons/Down.d.ts +3 -2
- package/lib/typescript/icons/Down.d.ts.map +1 -0
- package/lib/typescript/icons/DownloadArrow.d.ts +3 -2
- package/lib/typescript/icons/DownloadArrow.d.ts.map +1 -0
- package/lib/typescript/icons/DownloadCloud.d.ts +3 -2
- package/lib/typescript/icons/DownloadCloud.d.ts.map +1 -0
- package/lib/typescript/icons/Edit.d.ts +3 -2
- package/lib/typescript/icons/Edit.d.ts.map +1 -0
- package/lib/typescript/icons/Error.d.ts +3 -2
- package/lib/typescript/icons/Error.d.ts.map +1 -0
- package/lib/typescript/icons/Eye.d.ts +3 -2
- package/lib/typescript/icons/Eye.d.ts.map +1 -0
- package/lib/typescript/icons/Flag.d.ts +3 -2
- package/lib/typescript/icons/Flag.d.ts.map +1 -0
- package/lib/typescript/icons/Folder.d.ts +3 -2
- package/lib/typescript/icons/Folder.d.ts.map +1 -0
- package/lib/typescript/icons/GenericFile.d.ts +3 -2
- package/lib/typescript/icons/GenericFile.d.ts.map +1 -0
- package/lib/typescript/icons/GiphyIcon.d.ts +3 -2
- package/lib/typescript/icons/GiphyIcon.d.ts.map +1 -0
- package/lib/typescript/icons/Grid.d.ts +3 -2
- package/lib/typescript/icons/Grid.d.ts.map +1 -0
- package/lib/typescript/icons/Group.d.ts +3 -2
- package/lib/typescript/icons/Group.d.ts.map +1 -0
- package/lib/typescript/icons/HTML.d.ts +3 -2
- package/lib/typescript/icons/HTML.d.ts.map +1 -0
- package/lib/typescript/icons/Imgur.d.ts +3 -2
- package/lib/typescript/icons/Imgur.d.ts.map +1 -0
- package/lib/typescript/icons/LOLReaction.d.ts +3 -2
- package/lib/typescript/icons/LOLReaction.d.ts.map +1 -0
- package/lib/typescript/icons/Lightning.d.ts +3 -2
- package/lib/typescript/icons/Lightning.d.ts.map +1 -0
- package/lib/typescript/icons/Link.d.ts +3 -2
- package/lib/typescript/icons/Link.d.ts.map +1 -0
- package/lib/typescript/icons/Loading.d.ts +2 -1
- package/lib/typescript/icons/Loading.d.ts.map +1 -0
- package/lib/typescript/icons/Logo.d.ts +3 -2
- package/lib/typescript/icons/Logo.d.ts.map +1 -0
- package/lib/typescript/icons/LoveReaction.d.ts +3 -2
- package/lib/typescript/icons/LoveReaction.d.ts.map +1 -0
- package/lib/typescript/icons/MD.d.ts +3 -2
- package/lib/typescript/icons/MD.d.ts.map +1 -0
- package/lib/typescript/icons/MailOpen.d.ts +3 -2
- package/lib/typescript/icons/MailOpen.d.ts.map +1 -0
- package/lib/typescript/icons/MenuPointHorizontal.d.ts +3 -2
- package/lib/typescript/icons/MenuPointHorizontal.d.ts.map +1 -0
- package/lib/typescript/icons/MenuPointVertical.d.ts +3 -2
- package/lib/typescript/icons/MenuPointVertical.d.ts.map +1 -0
- package/lib/typescript/icons/MessageFlag.d.ts +3 -2
- package/lib/typescript/icons/MessageFlag.d.ts.map +1 -0
- package/lib/typescript/icons/MessageIcon.d.ts +3 -2
- package/lib/typescript/icons/MessageIcon.d.ts.map +1 -0
- package/lib/typescript/icons/Mute.d.ts +3 -2
- package/lib/typescript/icons/Mute.d.ts.map +1 -0
- package/lib/typescript/icons/Notification.d.ts +3 -2
- package/lib/typescript/icons/Notification.d.ts.map +1 -0
- package/lib/typescript/icons/ODT.d.ts +3 -2
- package/lib/typescript/icons/ODT.d.ts.map +1 -0
- package/lib/typescript/icons/PDF.d.ts +3 -2
- package/lib/typescript/icons/PDF.d.ts.map +1 -0
- package/lib/typescript/icons/PPT.d.ts +3 -2
- package/lib/typescript/icons/PPT.d.ts.map +1 -0
- package/lib/typescript/icons/PPTX.d.ts +3 -2
- package/lib/typescript/icons/PPTX.d.ts.map +1 -0
- package/lib/typescript/icons/Pause.d.ts +3 -2
- package/lib/typescript/icons/Pause.d.ts.map +1 -0
- package/lib/typescript/icons/Picture.d.ts +3 -2
- package/lib/typescript/icons/Picture.d.ts.map +1 -0
- package/lib/typescript/icons/Pin.d.ts +3 -2
- package/lib/typescript/icons/Pin.d.ts.map +1 -0
- package/lib/typescript/icons/PinHeader.d.ts +3 -2
- package/lib/typescript/icons/PinHeader.d.ts.map +1 -0
- package/lib/typescript/icons/Play.d.ts +3 -2
- package/lib/typescript/icons/Play.d.ts.map +1 -0
- package/lib/typescript/icons/RAR.d.ts +3 -2
- package/lib/typescript/icons/RAR.d.ts.map +1 -0
- package/lib/typescript/icons/RTF.d.ts +3 -2
- package/lib/typescript/icons/RTF.d.ts.map +1 -0
- package/lib/typescript/icons/Recorder.d.ts +3 -2
- package/lib/typescript/icons/Recorder.d.ts.map +1 -0
- package/lib/typescript/icons/Refresh.d.ts +3 -2
- package/lib/typescript/icons/Refresh.d.ts.map +1 -0
- package/lib/typescript/icons/SEVEN_Z.d.ts +3 -2
- package/lib/typescript/icons/SEVEN_Z.d.ts.map +1 -0
- package/lib/typescript/icons/Search.d.ts +3 -2
- package/lib/typescript/icons/Search.d.ts.map +1 -0
- package/lib/typescript/icons/SendRight.d.ts +3 -2
- package/lib/typescript/icons/SendRight.d.ts.map +1 -0
- package/lib/typescript/icons/SendUp.d.ts +3 -2
- package/lib/typescript/icons/SendUp.d.ts.map +1 -0
- package/lib/typescript/icons/Share.d.ts +3 -2
- package/lib/typescript/icons/Share.d.ts.map +1 -0
- package/lib/typescript/icons/ShareRightArrow.d.ts +3 -2
- package/lib/typescript/icons/ShareRightArrow.d.ts.map +1 -0
- package/lib/typescript/icons/Smile.d.ts +3 -2
- package/lib/typescript/icons/Smile.d.ts.map +1 -0
- package/lib/typescript/icons/Sound.d.ts +3 -2
- package/lib/typescript/icons/Sound.d.ts.map +1 -0
- package/lib/typescript/icons/TAR.d.ts +3 -2
- package/lib/typescript/icons/TAR.d.ts.map +1 -0
- package/lib/typescript/icons/TXT.d.ts +3 -2
- package/lib/typescript/icons/TXT.d.ts.map +1 -0
- package/lib/typescript/icons/ThreadReply.d.ts +3 -2
- package/lib/typescript/icons/ThreadReply.d.ts.map +1 -0
- package/lib/typescript/icons/ThumbsDownReaction.d.ts +3 -2
- package/lib/typescript/icons/ThumbsDownReaction.d.ts.map +1 -0
- package/lib/typescript/icons/ThumbsUpReaction.d.ts +3 -2
- package/lib/typescript/icons/ThumbsUpReaction.d.ts.map +1 -0
- package/lib/typescript/icons/Time.d.ts +3 -2
- package/lib/typescript/icons/Time.d.ts.map +1 -0
- package/lib/typescript/icons/Unknown.d.ts +3 -2
- package/lib/typescript/icons/Unknown.d.ts.map +1 -0
- package/lib/typescript/icons/Unpin.d.ts +3 -2
- package/lib/typescript/icons/Unpin.d.ts.map +1 -0
- package/lib/typescript/icons/User.d.ts +3 -2
- package/lib/typescript/icons/User.d.ts.map +1 -0
- package/lib/typescript/icons/UserAdd.d.ts +3 -2
- package/lib/typescript/icons/UserAdd.d.ts.map +1 -0
- package/lib/typescript/icons/UserAdmin.d.ts +3 -2
- package/lib/typescript/icons/UserAdmin.d.ts.map +1 -0
- package/lib/typescript/icons/UserDelete.d.ts +3 -2
- package/lib/typescript/icons/UserDelete.d.ts.map +1 -0
- package/lib/typescript/icons/UserMinus.d.ts +3 -2
- package/lib/typescript/icons/UserMinus.d.ts.map +1 -0
- package/lib/typescript/icons/Video.d.ts +3 -2
- package/lib/typescript/icons/Video.d.ts.map +1 -0
- package/lib/typescript/icons/Warning.d.ts +3 -2
- package/lib/typescript/icons/Warning.d.ts.map +1 -0
- package/lib/typescript/icons/WutReaction.d.ts +3 -2
- package/lib/typescript/icons/WutReaction.d.ts.map +1 -0
- package/lib/typescript/icons/XLS.d.ts +3 -2
- package/lib/typescript/icons/XLS.d.ts.map +1 -0
- package/lib/typescript/icons/XLSX.d.ts +3 -2
- package/lib/typescript/icons/XLSX.d.ts.map +1 -0
- package/lib/typescript/icons/ZIP.d.ts +3 -2
- package/lib/typescript/icons/ZIP.d.ts.map +1 -0
- package/lib/typescript/icons/index.d.ts +1 -0
- package/lib/typescript/icons/index.d.ts.map +1 -0
- package/lib/typescript/icons/utils/base.d.ts +4 -3
- package/lib/typescript/icons/utils/base.d.ts.map +1 -0
- package/lib/typescript/index.d.ts +1 -0
- package/lib/typescript/index.d.ts.map +1 -0
- package/lib/typescript/init.d.ts +1 -0
- package/lib/typescript/init.d.ts.map +1 -0
- package/lib/typescript/native.d.ts +1 -0
- package/lib/typescript/native.d.ts.map +1 -0
- package/lib/typescript/store/QuickSqliteClient.d.ts +1 -0
- package/lib/typescript/store/QuickSqliteClient.d.ts.map +1 -0
- package/lib/typescript/store/apis/addPendingTask.d.ts +1 -0
- package/lib/typescript/store/apis/addPendingTask.d.ts.map +1 -0
- package/lib/typescript/store/apis/deleteChannel.d.ts +1 -0
- package/lib/typescript/store/apis/deleteChannel.d.ts.map +1 -0
- package/lib/typescript/store/apis/deleteMember.d.ts +1 -0
- package/lib/typescript/store/apis/deleteMember.d.ts.map +1 -0
- package/lib/typescript/store/apis/deleteMessage.d.ts +1 -0
- package/lib/typescript/store/apis/deleteMessage.d.ts.map +1 -0
- package/lib/typescript/store/apis/deleteMessagesForChannel.d.ts +1 -0
- package/lib/typescript/store/apis/deleteMessagesForChannel.d.ts.map +1 -0
- package/lib/typescript/store/apis/deletePendingTask.d.ts +1 -0
- package/lib/typescript/store/apis/deletePendingTask.d.ts.map +1 -0
- package/lib/typescript/store/apis/deleteReaction.d.ts +1 -0
- package/lib/typescript/store/apis/deleteReaction.d.ts.map +1 -0
- package/lib/typescript/store/apis/deleteReactions.d.ts +1 -0
- package/lib/typescript/store/apis/deleteReactions.d.ts.map +1 -0
- package/lib/typescript/store/apis/getAllChannelIds.d.ts +1 -0
- package/lib/typescript/store/apis/getAllChannelIds.d.ts.map +1 -0
- package/lib/typescript/store/apis/getAppSettings.d.ts +1 -0
- package/lib/typescript/store/apis/getAppSettings.d.ts.map +1 -0
- package/lib/typescript/store/apis/getChannelMessages.d.ts +1 -0
- package/lib/typescript/store/apis/getChannelMessages.d.ts.map +1 -0
- package/lib/typescript/store/apis/getChannels.d.ts +1 -0
- package/lib/typescript/store/apis/getChannels.d.ts.map +1 -0
- package/lib/typescript/store/apis/getChannelsForFilterSort.d.ts +1 -0
- package/lib/typescript/store/apis/getChannelsForFilterSort.d.ts.map +1 -0
- package/lib/typescript/store/apis/getLastSyncedAt.d.ts +1 -0
- package/lib/typescript/store/apis/getLastSyncedAt.d.ts.map +1 -0
- package/lib/typescript/store/apis/getMembers.d.ts +1 -0
- package/lib/typescript/store/apis/getMembers.d.ts.map +1 -0
- package/lib/typescript/store/apis/getPendingTasks.d.ts +1 -0
- package/lib/typescript/store/apis/getPendingTasks.d.ts.map +1 -0
- package/lib/typescript/store/apis/getReads.d.ts +1 -0
- package/lib/typescript/store/apis/getReads.d.ts.map +1 -0
- package/lib/typescript/store/apis/index.d.ts +1 -0
- package/lib/typescript/store/apis/index.d.ts.map +1 -0
- package/lib/typescript/store/apis/insertReaction.d.ts +1 -0
- package/lib/typescript/store/apis/insertReaction.d.ts.map +1 -0
- package/lib/typescript/store/apis/queries/selectChannelIdsForFilterSort.d.ts +1 -0
- package/lib/typescript/store/apis/queries/selectChannelIdsForFilterSort.d.ts.map +1 -0
- package/lib/typescript/store/apis/queries/selectChannels.d.ts +1 -0
- package/lib/typescript/store/apis/queries/selectChannels.d.ts.map +1 -0
- package/lib/typescript/store/apis/queries/selectMembersForChannels.d.ts +1 -0
- package/lib/typescript/store/apis/queries/selectMembersForChannels.d.ts.map +1 -0
- package/lib/typescript/store/apis/queries/selectMessagesForChannels.d.ts +1 -0
- package/lib/typescript/store/apis/queries/selectMessagesForChannels.d.ts.map +1 -0
- package/lib/typescript/store/apis/queries/selectReactionsForMessages.d.ts +1 -0
- package/lib/typescript/store/apis/queries/selectReactionsForMessages.d.ts.map +1 -0
- package/lib/typescript/store/apis/queries/selectReadsForChannels.d.ts +1 -0
- package/lib/typescript/store/apis/queries/selectReadsForChannels.d.ts.map +1 -0
- package/lib/typescript/store/apis/updateMessage.d.ts +1 -0
- package/lib/typescript/store/apis/updateMessage.d.ts.map +1 -0
- package/lib/typescript/store/apis/updateReaction.d.ts +1 -0
- package/lib/typescript/store/apis/updateReaction.d.ts.map +1 -0
- package/lib/typescript/store/apis/upsertAppSettings.d.ts +1 -0
- package/lib/typescript/store/apis/upsertAppSettings.d.ts.map +1 -0
- package/lib/typescript/store/apis/upsertChannelData.d.ts +1 -0
- package/lib/typescript/store/apis/upsertChannelData.d.ts.map +1 -0
- package/lib/typescript/store/apis/upsertChannelDataFromChannel.d.ts +7 -0
- package/lib/typescript/store/apis/upsertChannelDataFromChannel.d.ts.map +1 -0
- package/lib/typescript/store/apis/upsertChannels.d.ts +1 -0
- package/lib/typescript/store/apis/upsertChannels.d.ts.map +1 -0
- package/lib/typescript/store/apis/upsertCidsForQuery.d.ts +1 -0
- package/lib/typescript/store/apis/upsertCidsForQuery.d.ts.map +1 -0
- package/lib/typescript/store/apis/upsertMembers.d.ts +1 -0
- package/lib/typescript/store/apis/upsertMembers.d.ts.map +1 -0
- package/lib/typescript/store/apis/upsertMessages.d.ts +1 -0
- package/lib/typescript/store/apis/upsertMessages.d.ts.map +1 -0
- package/lib/typescript/store/apis/upsertReads.d.ts +1 -0
- package/lib/typescript/store/apis/upsertReads.d.ts.map +1 -0
- package/lib/typescript/store/apis/upsertUserSyncStatus.d.ts +1 -0
- package/lib/typescript/store/apis/upsertUserSyncStatus.d.ts.map +1 -0
- package/lib/typescript/store/apis/utils/convertFilterSortToQuery.d.ts +1 -0
- package/lib/typescript/store/apis/utils/convertFilterSortToQuery.d.ts.map +1 -0
- package/lib/typescript/store/constants.d.ts +1 -0
- package/lib/typescript/store/constants.d.ts.map +1 -0
- package/lib/typescript/store/mappers/mapChannelDataToStorable.d.ts +1 -0
- package/lib/typescript/store/mappers/mapChannelDataToStorable.d.ts.map +1 -0
- package/lib/typescript/store/mappers/mapChannelToStorable.d.ts +5 -0
- package/lib/typescript/store/mappers/mapChannelToStorable.d.ts.map +1 -0
- package/lib/typescript/store/mappers/mapDateTimeToStorable.d.ts +1 -0
- package/lib/typescript/store/mappers/mapDateTimeToStorable.d.ts.map +1 -0
- package/lib/typescript/store/mappers/mapMemberToStorable.d.ts +1 -0
- package/lib/typescript/store/mappers/mapMemberToStorable.d.ts.map +1 -0
- package/lib/typescript/store/mappers/mapMessageToStorable.d.ts +1 -0
- package/lib/typescript/store/mappers/mapMessageToStorable.d.ts.map +1 -0
- package/lib/typescript/store/mappers/mapReactionToStorable.d.ts +1 -0
- package/lib/typescript/store/mappers/mapReactionToStorable.d.ts.map +1 -0
- package/lib/typescript/store/mappers/mapReadToStorable.d.ts +1 -0
- package/lib/typescript/store/mappers/mapReadToStorable.d.ts.map +1 -0
- package/lib/typescript/store/mappers/mapStorableToChannel.d.ts +1 -0
- package/lib/typescript/store/mappers/mapStorableToChannel.d.ts.map +1 -0
- package/lib/typescript/store/mappers/mapStorableToMember.d.ts +1 -0
- package/lib/typescript/store/mappers/mapStorableToMember.d.ts.map +1 -0
- package/lib/typescript/store/mappers/mapStorableToMessage.d.ts +1 -0
- package/lib/typescript/store/mappers/mapStorableToMessage.d.ts.map +1 -0
- package/lib/typescript/store/mappers/mapStorableToReaction.d.ts +1 -0
- package/lib/typescript/store/mappers/mapStorableToReaction.d.ts.map +1 -0
- package/lib/typescript/store/mappers/mapStorableToRead.d.ts +1 -0
- package/lib/typescript/store/mappers/mapStorableToRead.d.ts.map +1 -0
- package/lib/typescript/store/mappers/mapStorableToTask.d.ts +1 -0
- package/lib/typescript/store/mappers/mapStorableToTask.d.ts.map +1 -0
- package/lib/typescript/store/mappers/mapStorableToUser.d.ts +1 -0
- package/lib/typescript/store/mappers/mapStorableToUser.d.ts.map +1 -0
- package/lib/typescript/store/mappers/mapTaskToStorable.d.ts +1 -0
- package/lib/typescript/store/mappers/mapTaskToStorable.d.ts.map +1 -0
- package/lib/typescript/store/mappers/mapUserToStorable.d.ts +1 -0
- package/lib/typescript/store/mappers/mapUserToStorable.d.ts.map +1 -0
- package/lib/typescript/store/schema.d.ts +1 -0
- package/lib/typescript/store/schema.d.ts.map +1 -0
- package/lib/typescript/store/sqlite-utils/appendOrderByClause.d.ts +1 -0
- package/lib/typescript/store/sqlite-utils/appendOrderByClause.d.ts.map +1 -0
- package/lib/typescript/store/sqlite-utils/appendWhereCluase.d.ts +1 -0
- package/lib/typescript/store/sqlite-utils/appendWhereCluase.d.ts.map +1 -0
- package/lib/typescript/store/sqlite-utils/createCreateTableQuery.d.ts +1 -0
- package/lib/typescript/store/sqlite-utils/createCreateTableQuery.d.ts.map +1 -0
- package/lib/typescript/store/sqlite-utils/createDeleteQuery.d.ts +1 -0
- package/lib/typescript/store/sqlite-utils/createDeleteQuery.d.ts.map +1 -0
- package/lib/typescript/store/sqlite-utils/createSelectQuery.d.ts +1 -0
- package/lib/typescript/store/sqlite-utils/createSelectQuery.d.ts.map +1 -0
- package/lib/typescript/store/sqlite-utils/createUpdateQuery.d.ts +1 -0
- package/lib/typescript/store/sqlite-utils/createUpdateQuery.d.ts.map +1 -0
- package/lib/typescript/store/sqlite-utils/createUpsertQuery.d.ts +1 -0
- package/lib/typescript/store/sqlite-utils/createUpsertQuery.d.ts.map +1 -0
- package/lib/typescript/store/sqlite-utils/printRow.d.ts +1 -0
- package/lib/typescript/store/sqlite-utils/printRow.d.ts.map +1 -0
- package/lib/typescript/store/types.d.ts +1 -0
- package/lib/typescript/store/types.d.ts.map +1 -0
- package/lib/typescript/test-utils/BetterSqlite.d.ts +1 -0
- package/lib/typescript/test-utils/BetterSqlite.d.ts.map +1 -0
- package/lib/typescript/types/types.d.ts +1 -0
- package/lib/typescript/types/types.d.ts.map +1 -0
- package/lib/typescript/utils/DBSyncManager.d.ts +2 -1
- package/lib/typescript/utils/DBSyncManager.d.ts.map +1 -0
- package/lib/typescript/utils/StreamChatRN.d.ts +1 -0
- package/lib/typescript/utils/StreamChatRN.d.ts.map +1 -0
- package/lib/typescript/utils/Streami18n.d.ts +2 -0
- package/lib/typescript/utils/Streami18n.d.ts.map +1 -0
- package/lib/typescript/utils/addReactionToLocalState.d.ts +1 -0
- package/lib/typescript/utils/addReactionToLocalState.d.ts.map +1 -0
- package/lib/typescript/utils/compressImage.d.ts +1 -0
- package/lib/typescript/utils/compressImage.d.ts.map +1 -0
- package/lib/typescript/utils/date.d.ts +1 -0
- package/lib/typescript/utils/date.d.ts.map +1 -0
- package/lib/typescript/utils/getResizedImageUrl.d.ts +1 -0
- package/lib/typescript/utils/getResizedImageUrl.d.ts.map +1 -0
- package/lib/typescript/utils/getUrlOfImageAttachment.d.ts +1 -0
- package/lib/typescript/utils/getUrlOfImageAttachment.d.ts.map +1 -0
- package/lib/typescript/utils/patchMessageTextCommand.d.ts +1 -0
- package/lib/typescript/utils/patchMessageTextCommand.d.ts.map +1 -0
- package/lib/typescript/utils/removeReactionFromLocalState.d.ts +1 -0
- package/lib/typescript/utils/removeReactionFromLocalState.d.ts.map +1 -0
- package/lib/typescript/utils/removeReservedFields.d.ts +1 -0
- package/lib/typescript/utils/removeReservedFields.d.ts.map +1 -0
- package/lib/typescript/utils/utils.d.ts +3 -2
- package/lib/typescript/utils/utils.d.ts.map +1 -0
- package/package.json +33 -33
- package/src/__tests__/offline-support/offline-feature.js +60 -61
- package/src/__tests__/offline-support/optimistic-update.js +15 -15
- package/src/components/Attachment/AudioAttachment.tsx +1 -1
- package/src/components/Attachment/Card.tsx +1 -1
- package/src/components/Attachment/FileAttachment.tsx +1 -1
- package/src/components/Attachment/FileIcon.tsx +3 -3
- package/src/components/Attachment/Gallery.tsx +5 -5
- package/src/components/Attachment/GalleryImage.tsx +1 -1
- package/src/components/Attachment/ImageLoadingFailedIndicator.tsx +1 -1
- package/src/components/Attachment/VideoThumbnail.tsx +1 -1
- package/src/components/Attachment/__tests__/Gallery.test.js +48 -47
- package/src/components/Attachment/__tests__/Giphy.test.js +62 -52
- package/src/components/AttachmentPicker/AttachmentPicker.tsx +7 -4
- package/src/components/AttachmentPicker/components/AttachmentPickerBottomSheetHandle.tsx +4 -2
- package/src/components/AttachmentPicker/components/AttachmentPickerError.tsx +3 -3
- package/src/components/AttachmentPicker/components/AttachmentPickerErrorImage.tsx +1 -1
- package/src/components/AttachmentPicker/components/AttachmentPickerIOSSelectMorePhotos.tsx +1 -1
- package/src/components/AttachmentPicker/components/AttachmentPickerItem.tsx +2 -2
- package/src/components/AttachmentPicker/components/AttachmentSelectionBar.tsx +1 -1
- package/src/components/AttachmentPicker/components/CameraSelectorIcon.tsx +1 -1
- package/src/components/AttachmentPicker/components/FileSelectorIcon.tsx +1 -1
- package/src/components/AttachmentPicker/components/ImageOverlaySelectedComponent.tsx +1 -1
- package/src/components/AttachmentPicker/components/ImageSelectorIcon.tsx +1 -1
- package/src/components/AutoCompleteInput/AutoCompleteInput.tsx +13 -12
- package/src/components/AutoCompleteInput/AutoCompleteSuggestionHeader.tsx +2 -2
- package/src/components/AutoCompleteInput/AutoCompleteSuggestionList.tsx +1 -1
- package/src/components/Avatar/Avatar.tsx +2 -2
- package/src/components/Avatar/GroupAvatar.tsx +1 -1
- package/src/components/Channel/Channel.tsx +11 -14
- package/src/components/ChannelList/ChannelList.tsx +4 -4
- package/src/components/ChannelList/ChannelListFooterLoadingIndicator.tsx +1 -1
- package/src/components/ChannelList/ChannelListHeaderErrorIndicator.tsx +2 -4
- package/src/components/ChannelList/ChannelListHeaderNetworkDownIndicator.tsx +4 -2
- package/src/components/ChannelList/ChannelListLoadingIndicator.tsx +1 -1
- package/src/components/ChannelList/Skeleton.tsx +1 -1
- package/src/components/ChannelList/__tests__/ChannelList.test.js +83 -75
- package/src/components/ChannelList/utils.ts +1 -1
- package/src/components/ChannelPreview/ChannelPreviewMessenger.tsx +1 -1
- package/src/components/ChannelPreview/ChannelPreviewStatus.tsx +2 -2
- package/src/components/ChannelPreview/__tests__/ChannelPreviewMessenger.test.js +11 -10
- package/src/components/ChannelPreview/hooks/__tests__/useChannelPreviewDisplayName.test.tsx +3 -3
- package/src/components/ChannelPreview/hooks/__tests__/useLatestMessagePreview.test.tsx +2 -4
- package/src/components/Chat/hooks/handleEventToSyncDB.ts +132 -46
- package/src/components/Chat/hooks/useSyncDatabase.ts +1 -1
- package/src/components/ImageGallery/ImageGallery.tsx +25 -2
- package/src/components/ImageGallery/__tests__/AnimatedVideoGallery.test.tsx +19 -19
- package/src/components/ImageGallery/__tests__/ImageGallery.test.tsx +20 -22
- package/src/components/ImageGallery/__tests__/ImageGalleryFooter.test.tsx +15 -13
- package/src/components/ImageGallery/__tests__/ImageGalleryGrid.test.tsx +9 -20
- package/src/components/ImageGallery/__tests__/ImageGalleryGridHandle.test.tsx +7 -14
- package/src/components/ImageGallery/__tests__/ImageGalleryHeader.test.tsx +12 -10
- package/src/components/ImageGallery/__tests__/ImageGalleryVideoControl.test.tsx +17 -12
- package/src/components/ImageGallery/components/AnimatedGalleryImage.tsx +2 -2
- package/src/components/ImageGallery/components/AnimatedGalleryVideo.tsx +2 -2
- package/src/components/ImageGallery/components/ImageGalleryFooter.tsx +1 -1
- package/src/components/ImageGallery/components/ImageGalleryHeader.tsx +4 -4
- package/src/components/ImageGallery/components/ImageGalleryOverlay.tsx +1 -1
- package/src/components/ImageGallery/components/ImageGalleryVideoControl.tsx +2 -2
- package/src/components/ImageGallery/components/ImageGridHandle.tsx +4 -2
- package/src/components/ImageGallery/components/__tests__/ImageGalleryHeader.test.tsx +1 -3
- package/src/components/Indicators/EmptyStateIndicator.tsx +3 -3
- package/src/components/Indicators/LoadingDot.tsx +1 -1
- package/src/components/Indicators/LoadingDots.tsx +1 -1
- package/src/components/Indicators/LoadingErrorIndicator.tsx +2 -2
- package/src/components/Indicators/LoadingIndicator.tsx +4 -2
- package/src/components/KeyboardCompatibleView/KeyboardCompatibleView.tsx +6 -3
- package/src/components/KeyboardCompatibleView/KeyboardCompatibleViewFC.tsx +15 -6
- package/src/components/Message/Message.tsx +6 -6
- package/src/components/Message/MessageSimple/MessageContent.tsx +8 -2
- package/src/components/Message/MessageSimple/MessageError.tsx +1 -1
- package/src/components/Message/MessageSimple/MessageFooter.tsx +6 -4
- package/src/components/Message/MessageSimple/MessagePinnedHeader.tsx +2 -2
- package/src/components/Message/MessageSimple/MessageReplies.tsx +2 -2
- package/src/components/Message/MessageSimple/ReactionList.tsx +7 -7
- package/src/components/Message/MessageSimple/__tests__/MessageAvatar.test.js +10 -10
- package/src/components/Message/MessageSimple/__tests__/MessageContent.test.js +32 -32
- package/src/components/Message/MessageSimple/__tests__/MessagePinnedHeader.test.js +7 -7
- package/src/components/Message/MessageSimple/__tests__/MessageReplies.test.js +21 -21
- package/src/components/Message/MessageSimple/__tests__/__snapshots__/MessageAvatar.test.js.snap +11 -11
- package/src/components/Message/MessageSimple/__tests__/__snapshots__/MessagePinnedHeader.test.js.snap +26 -14
- package/src/components/Message/MessageSimple/__tests__/__snapshots__/MessageStatus.test.js.snap +32 -15
- package/src/components/Message/MessageSimple/__tests__/__snapshots__/MessageTextContainer.test.tsx.snap +7 -7
- package/src/components/Message/MessageSimple/utils/renderText.test.tsx +9 -8
- package/src/components/MessageInput/FileUploadPreview.tsx +2 -2
- package/src/components/MessageInput/ImageUploadPreview.tsx +2 -2
- package/src/components/MessageInput/SendMessageDisallowedIndicator.tsx +1 -1
- package/src/components/MessageInput/ShowThreadMessageInChannelButton.tsx +58 -55
- package/src/components/MessageInput/__tests__/AttachButton.test.js +11 -11
- package/src/components/MessageInput/__tests__/AudioAttachmentUploadPreviewExpo.test.tsx +13 -12
- package/src/components/MessageInput/__tests__/AudioAttachmentUploadPreviewNative.test.tsx +20 -21
- package/src/components/MessageInput/__tests__/FileUploadPreview.test.js +51 -38
- package/src/components/MessageInput/__tests__/UploadProgressIndicator.test.js +22 -51
- package/src/components/MessageInput/__tests__/__snapshots__/AttachButton.test.js.snap +66 -18
- package/src/components/MessageInput/__tests__/__snapshots__/SendButton.test.js.snap +132 -36
- package/src/components/MessageInput/components/InputEditingStateHeader.tsx +1 -1
- package/src/components/MessageInput/components/InputReplyStateHeader.tsx +1 -1
- package/src/components/MessageList/DateHeader.tsx +1 -1
- package/src/components/MessageList/InlineDateSeparator.tsx +1 -1
- package/src/components/MessageList/InlineLoadingMoreIndicator.tsx +19 -18
- package/src/components/MessageList/InlineLoadingMoreRecentIndicator.tsx +19 -18
- package/src/components/MessageList/InlineLoadingMoreThreadIndicator.tsx +19 -18
- package/src/components/MessageList/InlineUnreadIndicator.tsx +2 -2
- package/src/components/MessageList/MessageList.tsx +1 -0
- package/src/components/MessageList/MessageSystem.tsx +1 -1
- package/src/components/MessageList/ScrollToBottomButton.tsx +1 -1
- package/src/components/MessageList/TypingIndicatorContainer.tsx +2 -2
- package/src/components/MessageList/__tests__/MessageSystem.test.js +3 -3
- package/src/components/MessageList/__tests__/__snapshots__/MessageSystem.test.js.snap +22 -22
- package/src/components/MessageList/__tests__/__snapshots__/ScrollToBottomButton.test.js.snap +44 -15
- package/src/components/MessageList/__tests__/__snapshots__/TypingIndicator.test.js.snap +27 -27
- package/src/components/MessageList/__tests__/useMessageList.test.tsx +1 -1
- package/src/components/MessageList/utils/getGroupStyles.ts +2 -2
- package/src/components/MessageOverlay/MessageActionList.tsx +5 -5
- package/src/components/MessageOverlay/MessageOverlay.tsx +8 -8
- package/src/components/MessageOverlay/OverlayReactionList.tsx +4 -4
- package/src/components/MessageOverlay/OverlayReactions.tsx +14 -15
- package/src/components/MessageOverlay/OverlayReactionsAvatar.tsx +1 -1
- package/src/components/ProgressControl/ProgressControl.tsx +4 -2
- package/src/components/RTLComponents/WritingDirectionAwareText.tsx +1 -1
- package/src/components/Reply/Reply.tsx +5 -5
- package/src/components/Spinner/Spinner.tsx +1 -1
- package/src/components/Thread/__tests__/__snapshots__/Thread.test.js.snap +482 -318
- package/src/components/Thread/components/ThreadFooterComponent.tsx +12 -6
- package/src/contexts/__tests__/index.test.tsx +1 -1
- package/src/contexts/activeChannelsRefContext/ActiveChannelsRefContext.tsx +10 -1
- package/src/contexts/attachmentPickerContext/AttachmentPickerContext.tsx +10 -1
- package/src/contexts/channelContext/ChannelContext.tsx +6 -1
- package/src/contexts/channelsContext/ChannelsContext.tsx +7 -2
- package/src/contexts/channelsStateContext/ChannelsStateContext.tsx +10 -1
- package/src/contexts/chatContext/ChatContext.tsx +5 -1
- package/src/contexts/imageGalleryContext/ImageGalleryContext.tsx +10 -1
- package/src/contexts/keyboardContext/KeyboardContext.tsx +14 -3
- package/src/contexts/messageContext/MessageContext.tsx +7 -3
- package/src/contexts/messageInputContext/MessageInputContext.tsx +6 -2
- package/src/contexts/messageInputContext/__tests__/MessageInputContext.test.tsx +92 -43
- package/src/contexts/messageInputContext/__tests__/__snapshots__/sendMessage.test.tsx.snap +24 -24
- package/src/contexts/messageInputContext/__tests__/__snapshots__/sendMessageAsync.test.tsx.snap +8 -8
- package/src/contexts/messageInputContext/__tests__/isValidMessage.test.tsx +15 -4
- package/src/contexts/messageInputContext/__tests__/pickFile.test.tsx +28 -13
- package/src/contexts/messageInputContext/__tests__/removeFile.test.tsx +9 -6
- package/src/contexts/messageInputContext/__tests__/removeImage.test.tsx +10 -7
- package/src/contexts/messageInputContext/__tests__/sendMessage.test.tsx +125 -53
- package/src/contexts/messageInputContext/__tests__/sendMessageAsync.test.tsx +46 -25
- package/src/contexts/messageInputContext/__tests__/updateMessage.test.tsx +22 -11
- package/src/contexts/messageInputContext/__tests__/uploadFile.test.tsx +30 -13
- package/src/contexts/messageInputContext/__tests__/uploadImage.test.tsx +15 -6
- package/src/contexts/messageInputContext/__tests__/useMessageDetailsForState.test.tsx +4 -3
- package/src/contexts/messageInputContext/hooks/useCreateMessageInputContext.ts +5 -1
- package/src/contexts/messageOverlayContext/MessageOverlayContext.tsx +7 -3
- package/src/contexts/messageOverlayContext/hooks/useResettableState.test.tsx +8 -7
- package/src/contexts/messagesContext/MessagesContext.tsx +8 -3
- package/src/contexts/overlayContext/OverlayContext.tsx +10 -1
- package/src/contexts/overlayContext/OverlayProvider.tsx +4 -4
- package/src/contexts/paginatedMessageListContext/PaginatedMessageListContext.tsx +7 -3
- package/src/contexts/suggestionsContext/SuggestionsContext.tsx +10 -1
- package/src/contexts/themeContext/utils/theme.ts +11 -6
- package/src/contexts/threadContext/ThreadContext.tsx +8 -3
- package/src/contexts/translationContext/TranslationContext.tsx +14 -3
- package/src/contexts/typingContext/TypingContext.tsx +6 -2
- package/src/hooks/__tests__/useAppStateListener.test.tsx +41 -15
- package/src/hooks/__tests__/useTranslatedMessage.test.tsx +9 -9
- package/src/hooks/useAppStateListener.ts +5 -1
- package/src/i18n/es.json +10 -10
- package/src/i18n/fr.json +10 -10
- package/src/i18n/he.json +10 -10
- package/src/i18n/hi.json +10 -10
- package/src/i18n/it.json +10 -10
- package/src/i18n/ja.json +10 -10
- package/src/i18n/ko.json +10 -10
- package/src/i18n/nl.json +10 -10
- package/src/i18n/pt-BR.json +10 -10
- package/src/i18n/ru.json +10 -10
- package/src/i18n/tr.json +10 -10
- package/src/icons/Copy.tsx +1 -1
- package/src/icons/Loading.tsx +1 -1
- package/src/mock-builders/generator/channel.ts +1 -1
- package/src/store/apis/upsertChannelDataFromChannel.ts +25 -0
- package/src/store/mappers/mapChannelToStorable.ts +68 -0
- package/src/utils/DBSyncManager.ts +7 -3
- package/src/utils/Streami18n.ts +3 -0
- package/src/utils/utils.ts +2 -2
- package/src/version.json +1 -1
- package/src/components/Message/MessageSimple/__tests__/__snapshots__/MessageReplies.test.js.snap +0 -93
- package/src/components/MessageInput/__tests__/__snapshots__/UploadProgressIndicator.test.js.snap +0 -250
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_KeyboardContext","_excluded","_this","_jsxFileName","_getRequireWildcardCache","nodeInterop","WeakMap","cacheBabelInterop","cacheNodeInterop","obj","__esModule","_typeof","cache","has","get","newObj","hasPropertyDescriptor","Object","defineProperty","getOwnPropertyDescriptor","key","prototype","hasOwnProperty","call","desc","set","KeyboardCompatibleView","_ref","_ref$behavior","behavior","Platform","OS","children","contentContainerStyle","_ref$enabled","enabled","_ref$keyboardVertical","keyboardVerticalOffset","style","props","_objectWithoutProperties2","frame","useRef","initialFrameHeight","keyboardEvent","subscriptions","viewRef","_useState","useState","AppState","currentState","_useState2","_slicedToArray2","appState","setAppState","_useState3","_useState4","bottom","setBottom","_useState5","_useState6","isKeyboardOpen","setIsKeyboardOpen","useEffect","handleAppStateChange","nextAppState","match","setKeyboardListeners","unsetKeyboardListeners","onKeyboardChange","event","current","Keyboard","addListener","filter","subscription","remove","addEventListener","removeEventListener","updateBottomIfNecessary","dismissKeyboard","Promise","resolve","dismiss","onLayout","nativeEvent","layout","height","relativeKeyboardHeight","keyboardFrame","keyboardY","screenY","Math","max","y","_keyboardEvent$curren","duration","easing","endCoordinates","LayoutAnimation","configureNext","update","type","Types","bottomHeight","heightStyle","flex","createElement","KeyboardProvider","value","__self","__source","fileName","lineNumber","columnNumber","View","_extends2","ref","StyleSheet","compose","paddingBottom","exports"],"sources":["KeyboardCompatibleViewFC.tsx"],"sourcesContent":["import React, { useEffect, useRef, useState } from 'react';\nimport {\n AppState,\n AppStateStatus,\n EmitterSubscription,\n Keyboard,\n KeyboardAvoidingViewProps,\n KeyboardEvent,\n KeyboardEventListener,\n LayoutAnimation,\n LayoutChangeEvent,\n LayoutRectangle,\n Platform,\n ScreenRect,\n StyleSheet,\n View,\n} from 'react-native';\n\nimport { KeyboardProvider } from '../../contexts/keyboardContext/KeyboardContext';\n\n/**\n * View that moves out of the way when the keyboard appears by automatically\n * adjusting its height, position, or bottom padding.\n *\n * Following piece of code has been mostly copied from KeyboardAvoidingView component, with few additional tweaks.\n */\nexport const KeyboardCompatibleView: React.FC<KeyboardAvoidingViewProps> = ({\n behavior = Platform.OS === 'ios' ? 'padding' : 'position',\n children,\n contentContainerStyle,\n enabled = true,\n keyboardVerticalOffset = Platform.OS === 'ios' ? 86.5 : -300,\n style,\n ...props\n}) => {\n const frame = useRef<LayoutRectangle>();\n const initialFrameHeight = useRef(0);\n const keyboardEvent = useRef<KeyboardEvent>();\n const subscriptions = useRef<EmitterSubscription[]>([]);\n const viewRef = useRef<View | null>(null);\n\n const [appState, setAppState] = useState<AppStateStatus>(AppState.currentState);\n const [bottom, setBottom] = useState(0);\n const [isKeyboardOpen, setIsKeyboardOpen] = useState(false);\n\n useEffect(() => {\n const handleAppStateChange = (nextAppState: AppStateStatus) => {\n if (appState.match(/inactive|background/) && nextAppState === 'active') {\n setKeyboardListeners();\n }\n\n if (nextAppState.match(/inactive|background/)) {\n unsetKeyboardListeners();\n }\n\n setAppState(nextAppState);\n };\n\n const onKeyboardChange: KeyboardEventListener = (event) => {\n keyboardEvent.current = event;\n };\n\n const setKeyboardListeners = () => {\n if (Platform.OS === 'ios') {\n subscriptions.current = [\n Keyboard.addListener('keyboardWillChangeFrame', onKeyboardChange),\n Keyboard.addListener('keyboardDidHide', () => {\n setIsKeyboardOpen(false);\n }),\n Keyboard.addListener('keyboardDidShow', () => {\n setIsKeyboardOpen(true);\n }),\n ];\n } else {\n subscriptions.current = [\n Keyboard.addListener('keyboardDidHide', (event) => {\n onKeyboardChange(event);\n setIsKeyboardOpen(false);\n }),\n Keyboard.addListener('keyboardDidShow', (event) => {\n onKeyboardChange(event);\n setIsKeyboardOpen(true);\n }),\n ];\n }\n };\n\n const unsetKeyboardListeners = () => {\n subscriptions.current = subscriptions.current.filter((subscription) => {\n subscription.remove();\n return false;\n });\n };\n\n AppState.addEventListener('change', handleAppStateChange);\n setKeyboardListeners();\n\n return () => {\n AppState.removeEventListener('change', handleAppStateChange);\n unsetKeyboardListeners();\n };\n }, []);\n\n useEffect(() => {\n updateBottomIfNecessary();\n }, [keyboardEvent.current]);\n\n const dismissKeyboard: () => Promise<void> | undefined = () => {\n if (!isKeyboardOpen) {\n return;\n }\n\n return new Promise((resolve) => {\n const subscription = Keyboard.addListener('keyboardDidHide', () => {\n resolve();\n subscription.remove();\n });\n\n Keyboard.dismiss();\n });\n };\n\n const onLayout: (event: LayoutChangeEvent) => void = (event) => {\n frame.current = event.nativeEvent.layout;\n if (!initialFrameHeight.current) {\n // save the initial frame height, before the keyboard is visible\n initialFrameHeight.current = frame.current.height;\n }\n\n updateBottomIfNecessary();\n };\n\n const relativeKeyboardHeight = (keyboardFrame: ScreenRect) => {\n if (!frame.current || !keyboardFrame) {\n return 0;\n }\n\n const keyboardY = keyboardFrame.screenY - keyboardVerticalOffset;\n\n // Calculate the displacement needed for the view such that it\n // no longer overlaps with the keyboard\n return Math.max(frame.current.y + frame.current.height - keyboardY, 0);\n };\n\n const updateBottomIfNecessary = () => {\n if (!keyboardEvent.current) {\n setBottom(0);\n return;\n }\n\n const { duration, easing, endCoordinates } = keyboardEvent.current;\n const height = relativeKeyboardHeight(endCoordinates);\n\n if (bottom === height) {\n return;\n }\n\n if (duration && easing) {\n LayoutAnimation.configureNext({\n // We have to pass the duration equal to minimal accepted duration defined here: RCTLayoutAnimation.m\n duration: duration > 10 ? duration : 10,\n update: {\n duration: duration > 10 ? duration : 10,\n type: LayoutAnimation.Types[easing] || 'keyboard',\n },\n });\n }\n setBottom(height);\n };\n\n const bottomHeight = enabled ? bottom : 0;\n switch (behavior) {\n case 'height':\n // eslint-disable-next-line no-case-declarations\n let heightStyle;\n if (frame.current && bottom > 0) {\n // Note that we only apply a height change when there is keyboard present,\n // i.e. this.state.bottom is greater than 0. If we remove that condition,\n // this.frame.height will never go back to its original value.\n // When height changes, we need to disable flex.\n heightStyle = {\n flex: 0,\n height: initialFrameHeight.current - bottomHeight,\n };\n }\n return (\n <KeyboardProvider value={{ dismissKeyboard }}>\n <View\n onLayout={onLayout}\n ref={viewRef}\n style={StyleSheet.compose(style, heightStyle)}\n {...props}\n >\n {children}\n </View>\n </KeyboardProvider>\n );\n\n case 'position':\n return (\n <KeyboardProvider value={{ dismissKeyboard }}>\n <View onLayout={onLayout} ref={viewRef} style={style} {...props}>\n <View\n style={StyleSheet.compose(contentContainerStyle, {\n bottom: bottomHeight,\n })}\n >\n {children}\n </View>\n </View>\n </KeyboardProvider>\n );\n\n case 'padding':\n return (\n <KeyboardProvider value={{ dismissKeyboard }}>\n <View\n onLayout={onLayout}\n ref={viewRef}\n style={StyleSheet.compose(style, { paddingBottom: bottomHeight })}\n {...props}\n >\n {children}\n </View>\n </KeyboardProvider>\n );\n\n default:\n return (\n <KeyboardProvider value={{ dismissKeyboard }}>\n <View onLayout={onLayout} ref={viewRef} style={style} {...props}>\n {children}\n </View>\n </KeyboardProvider>\n );\n }\n};\n"],"mappings":";;;;;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAiBA,IAAAE,gBAAA,GAAAF,OAAA;AAAkF,IAAAG,SAAA;AAAA,IAAAC,KAAA;EAAAC,YAAA;AAAA,SAAAC,yBAAAC,WAAA,eAAAC,OAAA,kCAAAC,iBAAA,OAAAD,OAAA,QAAAE,gBAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,yBAAAC,WAAA,WAAAA,WAAA,GAAAG,gBAAA,GAAAD,iBAAA,KAAAF,WAAA;AAAA,SAAAR,wBAAAY,GAAA,EAAAJ,WAAA,SAAAA,WAAA,IAAAI,GAAA,IAAAA,GAAA,CAAAC,UAAA,WAAAD,GAAA,QAAAA,GAAA,aAAAE,OAAA,CAAAF,GAAA,yBAAAA,GAAA,uCAAAA,GAAA,UAAAG,KAAA,GAAAR,wBAAA,CAAAC,WAAA,OAAAO,KAAA,IAAAA,KAAA,CAAAC,GAAA,CAAAJ,GAAA,YAAAG,KAAA,CAAAE,GAAA,CAAAL,GAAA,SAAAM,MAAA,WAAAC,qBAAA,GAAAC,MAAA,CAAAC,cAAA,IAAAD,MAAA,CAAAE,wBAAA,WAAAC,GAAA,IAAAX,GAAA,QAAAW,GAAA,kBAAAH,MAAA,CAAAI,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAd,GAAA,EAAAW,GAAA,SAAAI,IAAA,GAAAR,qBAAA,GAAAC,MAAA,CAAAE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UAAAC,YAAA;QAAA;MAAA,GAC3CtH,MAAA,YAAA+G,aAAA,CAAC5G,YAAA,CAAAoH,IAAI,MAAAC,SAAA;QACHhC,QAAQ,EAAEA,QAAS;QACnBiC,GAAG,EAAEvE,OAAQ;QACbR,KAAK,EAAEgF,uBAAU,CAACC,OAAO,CAACjF,KAAK,EAAE;UAAEkF,aAAa,EAAEhB;QAAa,CAAC;MAAE,GAC9DjE,KAAK;QAAAuE,MAAA,EAAA5G,KAAA;QAAA6G,QAAA;UAAAC,QAAA,EAAA7G,YAAA;UAAA8G,UAAA;UAAAC,YAAA;QAAA;MAAA,IAERlF,QACG,CACU,CAAC;IAGvB;MACE,OACEpC,MAAA,YAAA+G,aAAA,CAAC3G,gBAAA,CAAA4G,gBAAgB;QAACC,KAAK,EAAE;UAAE7B,eAAe,EAAfA;QAAgB,CAAE;QAAA8B,MAAA,EAAA5G,KAAA;QAAA6G,QAAA;UAAAC,QAAA,EAAA7G,YAAA;UAAA8G,UAAA;UAAAC,YAAA;QAAA;MAAA,GAC3CtH,MAAA,YAAA+G,aAAA,CAAC5G,YAAA,CAAAoH,IAAI,MAAAC,SAAA;QAAChC,QAAQ,EAAEA,QAAS;QAACiC,GAAG,EAAEvE,OAAQ;QAACR,KAAK,EAAEA;MAAM,GAAKC,KAAK;QAAAuE,MAAA,EAAA5G,KAAA;QAAA6G,QAAA;UAAAC,QAAA,EAAA7G,YAAA;UAAA8G,UAAA;UAAAC,YAAA;QAAA;MAAA,IAC5DlF,QACG,CACU,CAAC;EAEzB;AACF,CAAC;AAACyF,OAAA,CAAA/F,sBAAA,GAAAA,sBAAA"}
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_KeyboardContext","_jsxRuntime","_excluded","_this","_jsxFileName","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","_typeof","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","KeyboardCompatibleView","_ref","_ref$behavior","behavior","Platform","OS","children","contentContainerStyle","_ref$enabled","enabled","_ref$keyboardVertical","keyboardVerticalOffset","style","props","_objectWithoutProperties2","frame","useRef","initialFrameHeight","keyboardEvent","subscriptions","viewRef","_useState","useState","AppState","currentState","_useState2","_slicedToArray2","appState","setAppState","_useState3","_useState4","bottom","setBottom","_useState5","_useState6","isKeyboardOpen","setIsKeyboardOpen","useEffect","handleAppStateChange","nextAppState","match","setKeyboardListeners","unsetKeyboardListeners","onKeyboardChange","event","current","Keyboard","addListener","filter","subscription","remove","addEventListener","removeEventListener","updateBottomIfNecessary","dismissKeyboard","Promise","resolve","dismiss","onLayout","nativeEvent","layout","height","relativeKeyboardHeight","keyboardFrame","keyboardY","screenY","Math","max","y","_keyboardEvent$curren","duration","easing","endCoordinates","LayoutAnimation","configureNext","update","type","Types","bottomHeight","heightStyle","flex","jsx","KeyboardProvider","value","View","assign","ref","StyleSheet","compose","paddingBottom","exports"],"sourceRoot":"../../../../src","sources":["components/KeyboardCompatibleView/KeyboardCompatibleViewFC.tsx"],"mappings":";;;;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAiBA,IAAAE,gBAAA,GAAAF,OAAA;AAAkF,IAAAG,WAAA,GAAAH,OAAA;AAAA,IAAAI,SAAA;AAAA,IAAAC,KAAA;EAAAC,YAAA;AAAA,SAAAC,yBAAAC,CAAA,6BAAAC,OAAA,mBAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,yBAAAC,CAAA,WAAAA,CAAA,GAAAG,CAAA,GAAAD,CAAA,KAAAF,CAAA;AAAA,SAAAT,wBAAAS,CAAA,EAAAE,CAAA,SAAAA,CAAA,IAAAF,CAAA,IAAAA,CAAA,CAAAI,UAAA,SAAAJ,CAAA,eAAAA,CAAA,gBAAAK,OAAA,CAAAL,CAAA,0BAAAA,CAAA,sBAAAA,CAAA,QAAAG,CAAA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C1G,gBAAA,CAAA2G,gBAAgB;QAACC,KAAK,EAAE;UAAE7B,eAAe,EAAfA;QAAgB,CAAE;QAAAhD,QAAA,EAC3C,IAAA9B,WAAA,CAAAyG,GAAA,EAAC3G,YAAA,CAAA8G,IAAI,EAAA5F,MAAA,CAAA6F,MAAA;UACH3B,QAAQ,EAAEA,QAAS;UACnB4B,GAAG,EAAElE,OAAQ;UACbR,KAAK,EAAE2E,uBAAU,CAACC,OAAO,CAAC5E,KAAK,EAAE;YAAE6E,aAAa,EAAEX;UAAa,CAAC;QAAE,GAC9DjE,KAAK;UAAAP,QAAA,EAERA;QAAQ,EACL;MAAC,CACS,CAAC;IAGvB;MACE,OACE,IAAA9B,WAAA,CAAAyG,GAAA,EAAC1G,gBAAA,CAAA2G,gBAAgB;QAACC,KAAK,EAAE;UAAE7B,eAAe,EAAfA;QAAgB,CAAE;QAAAhD,QAAA,EAC3C,IAAA9B,WAAA,CAAAyG,GAAA,EAAC3G,YAAA,CAAA8G,IAAI,EAAA5F,MAAA,CAAA6F,MAAA;UAAC3B,QAAQ,EAAEA,QAAS;UAAC4B,GAAG,EAAElE,OAAQ;UAACR,KAAK,EAAEA;QAAM,GAAKC,KAAK;UAAAP,QAAA,EAC5DA;QAAQ,EACL;MAAC,CACS,CAAC;EAEzB;AACF,CAAC;AAACoF,OAAA,CAAA1F,sBAAA,GAAAA,sBAAA","ignoreList":[]}
|
|
@@ -5,7 +5,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.Message = void 0;
|
|
7
7
|
var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"));
|
|
8
|
-
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
9
8
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
10
9
|
var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));
|
|
11
10
|
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
|
@@ -29,10 +28,11 @@ var _TranslationContext = require("../../contexts/translationContext/Translation
|
|
|
29
28
|
var _native = require("../../native");
|
|
30
29
|
var _utils = require("../../utils/utils");
|
|
31
30
|
var _useMessageList = require("../MessageList/hooks/useMessageList");
|
|
31
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
32
32
|
var _this = this,
|
|
33
33
|
_jsxFileName = "/home/runner/work/stream-chat-react-native/stream-chat-react-native/package/src/components/Message/Message.tsx";
|
|
34
|
-
function _getRequireWildcardCache(
|
|
35
|
-
function _interopRequireWildcard(
|
|
34
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
35
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
|
|
36
36
|
var MessageWithContext = function MessageWithContext(props) {
|
|
37
37
|
var _message$user;
|
|
38
38
|
var _useState = (0, _react.useState)(false),
|
|
@@ -40,9 +40,10 @@ var MessageWithContext = function MessageWithContext(props) {
|
|
|
40
40
|
isBounceDialogOpen = _useState2[0],
|
|
41
41
|
setIsBounceDialogOpen = _useState2[1];
|
|
42
42
|
var isMessageTypeDeleted = props.message.type === 'deleted';
|
|
43
|
-
var
|
|
44
|
-
|
|
43
|
+
var channel = props.channel,
|
|
44
|
+
chatContext = props.chatContext,
|
|
45
45
|
deleteMessageFromContext = props.deleteMessage,
|
|
46
|
+
deleteReaction = props.deleteReaction,
|
|
46
47
|
disabled = props.disabled,
|
|
47
48
|
dismissKeyboard = props.dismissKeyboard,
|
|
48
49
|
dismissKeyboardOnMessageTouch = props.dismissKeyboardOnMessageTouch,
|
|
@@ -65,30 +66,30 @@ var MessageWithContext = function MessageWithContext(props) {
|
|
|
65
66
|
handleReactionProp = props.handleReaction,
|
|
66
67
|
handleRetry = props.handleRetry,
|
|
67
68
|
handleThreadReply = props.handleThreadReply,
|
|
68
|
-
|
|
69
|
+
isTargetedMessage = props.isTargetedMessage,
|
|
69
70
|
lastReceivedId = props.lastReceivedId,
|
|
70
71
|
members = props.members,
|
|
71
72
|
message = props.message,
|
|
72
73
|
_props$messageActions = props.messageActions,
|
|
73
74
|
messageActionsProp = _props$messageActions === void 0 ? _messageActions.messageActions : _props$messageActions,
|
|
75
|
+
MessageBounce = props.MessageBounce,
|
|
74
76
|
messageContentOrderProp = props.messageContentOrder,
|
|
75
77
|
messagesContext = props.messagesContext,
|
|
76
|
-
MessageBounce = props.MessageBounce,
|
|
77
78
|
MessageSimple = props.MessageSimple,
|
|
78
79
|
onLongPressProp = props.onLongPress,
|
|
79
80
|
onLongPressMessageProp = props.onLongPressMessage,
|
|
80
81
|
onPressProp = props.onPress,
|
|
81
|
-
onPressMessageProp = props.onPressMessage,
|
|
82
82
|
onPressInProp = props.onPressIn,
|
|
83
83
|
onPressInMessageProp = props.onPressInMessage,
|
|
84
|
+
onPressMessageProp = props.onPressMessage,
|
|
84
85
|
onThreadSelect = props.onThreadSelect,
|
|
85
86
|
openThread = props.openThread,
|
|
86
87
|
OverlayReactionList = props.OverlayReactionList,
|
|
87
88
|
preventPress = props.preventPress,
|
|
88
89
|
removeMessage = props.removeMessage,
|
|
89
|
-
deleteReaction = props.deleteReaction,
|
|
90
90
|
retrySendMessage = props.retrySendMessage,
|
|
91
91
|
selectReaction = props.selectReaction,
|
|
92
|
+
sendReaction = props.sendReaction,
|
|
92
93
|
setData = props.setData,
|
|
93
94
|
setEditingState = props.setEditingState,
|
|
94
95
|
setOverlay = props.setOverlay,
|
|
@@ -99,7 +100,6 @@ var MessageWithContext = function MessageWithContext(props) {
|
|
|
99
100
|
style = props.style,
|
|
100
101
|
supportedReactions = props.supportedReactions,
|
|
101
102
|
t = props.t,
|
|
102
|
-
isTargetedMessage = props.isTargetedMessage,
|
|
103
103
|
_props$threadList = props.threadList,
|
|
104
104
|
threadList = _props$threadList === void 0 ? false : _props$threadList,
|
|
105
105
|
updateMessage = props.updateMessage;
|
|
@@ -375,11 +375,11 @@ var MessageWithContext = function MessageWithContext(props) {
|
|
|
375
375
|
images: attachments.images,
|
|
376
376
|
message: message,
|
|
377
377
|
messageActions: messageActions == null ? void 0 : messageActions.filter(Boolean),
|
|
378
|
-
messageContext: (
|
|
378
|
+
messageContext: Object.assign({}, messageContext, {
|
|
379
379
|
preventPress: true
|
|
380
380
|
}),
|
|
381
381
|
messageReactionTitle: !error && messageReactions ? t('Message Reactions') : undefined,
|
|
382
|
-
messagesContext: (
|
|
382
|
+
messagesContext: Object.assign({}, messagesContext, {
|
|
383
383
|
messageContentOrder: messageContentOrder
|
|
384
384
|
}),
|
|
385
385
|
onlyEmojis: onlyEmojis,
|
|
@@ -509,61 +509,28 @@ var MessageWithContext = function MessageWithContext(props) {
|
|
|
509
509
|
videos: attachments.videos
|
|
510
510
|
});
|
|
511
511
|
if (!(isMessageTypeDeleted || messageContentOrder.length)) return null;
|
|
512
|
-
return
|
|
513
|
-
style: [message.pinned && (
|
|
512
|
+
return (0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
513
|
+
style: [message.pinned && Object.assign({}, targetedMessageContainer, {
|
|
514
514
|
backgroundColor: targetedMessageBackground
|
|
515
515
|
})],
|
|
516
516
|
testID: "message-wrapper",
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
}
|
|
533
|
-
}
|
|
534
|
-
style: [isTargetedMessage ? (0, _extends2["default"])({
|
|
535
|
-
backgroundColor: targetedMessageBackground
|
|
536
|
-
}, targetedMessageUnderlay) : {}],
|
|
537
|
-
__self: _this,
|
|
538
|
-
__source: {
|
|
539
|
-
fileName: _jsxFileName,
|
|
540
|
-
lineNumber: 757,
|
|
541
|
-
columnNumber: 9
|
|
542
|
-
}
|
|
543
|
-
}, _react["default"].createElement(_MessageContext.MessageProvider, {
|
|
544
|
-
value: messageContext,
|
|
545
|
-
__self: _this,
|
|
546
|
-
__source: {
|
|
547
|
-
fileName: _jsxFileName,
|
|
548
|
-
lineNumber: 764,
|
|
549
|
-
columnNumber: 11
|
|
550
|
-
}
|
|
551
|
-
}, _react["default"].createElement(MessageSimple, {
|
|
552
|
-
__self: _this,
|
|
553
|
-
__source: {
|
|
554
|
-
fileName: _jsxFileName,
|
|
555
|
-
lineNumber: 765,
|
|
556
|
-
columnNumber: 13
|
|
557
|
-
}
|
|
558
|
-
}), isBounceDialogOpen && _react["default"].createElement(MessageBounce, {
|
|
559
|
-
setIsBounceDialogOpen: setIsBounceDialogOpen,
|
|
560
|
-
__self: _this,
|
|
561
|
-
__source: {
|
|
562
|
-
fileName: _jsxFileName,
|
|
563
|
-
lineNumber: 766,
|
|
564
|
-
columnNumber: 36
|
|
565
|
-
}
|
|
566
|
-
})))));
|
|
517
|
+
children: (0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
518
|
+
style: [style, {
|
|
519
|
+
backgroundColor: showUnreadUnderlay ? bg_gradient_start : undefined
|
|
520
|
+
}],
|
|
521
|
+
children: (0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
522
|
+
style: [isTargetedMessage ? Object.assign({
|
|
523
|
+
backgroundColor: targetedMessageBackground
|
|
524
|
+
}, targetedMessageUnderlay) : {}],
|
|
525
|
+
children: (0, _jsxRuntime.jsxs)(_MessageContext.MessageProvider, {
|
|
526
|
+
value: messageContext,
|
|
527
|
+
children: [(0, _jsxRuntime.jsx)(MessageSimple, {}), isBounceDialogOpen && (0, _jsxRuntime.jsx)(MessageBounce, {
|
|
528
|
+
setIsBounceDialogOpen: setIsBounceDialogOpen
|
|
529
|
+
})]
|
|
530
|
+
})
|
|
531
|
+
})
|
|
532
|
+
})
|
|
533
|
+
});
|
|
567
534
|
};
|
|
568
535
|
var areEqual = function areEqual(prevProps, nextProps) {
|
|
569
536
|
var _prevMessage$quoted_m, _nextMessage$quoted_m, _prevMessage$quoted_m2, _nextMessage$quoted_m2, _prevMessage$user, _nextMessage$user;
|
|
@@ -604,7 +571,7 @@ var areEqual = function areEqual(prevProps, nextProps) {
|
|
|
604
571
|
if (!groupStylesEqual) return false;
|
|
605
572
|
var isPrevMessageTypeDeleted = prevMessage.type === 'deleted';
|
|
606
573
|
var isNextMessageTypeDeleted = nextMessage.type === 'deleted';
|
|
607
|
-
var messageEqual = isPrevMessageTypeDeleted === isNextMessageTypeDeleted && ((0, _useMessageList.isMessageWithStylesReadByAndDateSeparator)(prevMessage) && prevMessage.readBy) === ((0, _useMessageList.isMessageWithStylesReadByAndDateSeparator)(nextMessage) && nextMessage.readBy) && prevMessage.status === nextMessage.status && prevMessage.type === nextMessage.type && prevMessage.text === nextMessage.text && prevMessage.pinned === nextMessage.pinned && ""
|
|
574
|
+
var messageEqual = isPrevMessageTypeDeleted === isNextMessageTypeDeleted && ((0, _useMessageList.isMessageWithStylesReadByAndDateSeparator)(prevMessage) && prevMessage.readBy) === ((0, _useMessageList.isMessageWithStylesReadByAndDateSeparator)(nextMessage) && nextMessage.readBy) && prevMessage.status === nextMessage.status && prevMessage.type === nextMessage.type && prevMessage.text === nextMessage.text && prevMessage.pinned === nextMessage.pinned && "".concat(prevMessage == null ? void 0 : prevMessage.updated_at) === "".concat(nextMessage == null ? void 0 : nextMessage.updated_at);
|
|
608
575
|
if (!messageEqual) return false;
|
|
609
576
|
var isPrevQuotedMessageTypeDeleted = ((_prevMessage$quoted_m = prevMessage.quoted_message) == null ? void 0 : _prevMessage$quoted_m.type) === 'deleted';
|
|
610
577
|
var isNextQuotedMessageTypeDeleted = ((_nextMessage$quoted_m = nextMessage.quoted_message) == null ? void 0 : _nextMessage$quoted_m.type) === 'deleted';
|
|
@@ -665,7 +632,7 @@ var Message = function Message(props) {
|
|
|
665
632
|
openThread = _useThreadContext.openThread;
|
|
666
633
|
var _useTranslationContex2 = (0, _TranslationContext.useTranslationContext)(),
|
|
667
634
|
t = _useTranslationContex2.t;
|
|
668
|
-
return
|
|
635
|
+
return (0, _jsxRuntime.jsx)(MemoizedMessage, Object.assign({}, messagesContext, {
|
|
669
636
|
channel: channel,
|
|
670
637
|
chatContext: chatContext,
|
|
671
638
|
disabled: disabled,
|
|
@@ -677,14 +644,7 @@ var Message = function Message(props) {
|
|
|
677
644
|
setData: setData,
|
|
678
645
|
setOverlay: setOverlay,
|
|
679
646
|
t: t
|
|
680
|
-
}, props
|
|
681
|
-
__self: _this,
|
|
682
|
-
__source: {
|
|
683
|
-
fileName: _jsxFileName,
|
|
684
|
-
lineNumber: 945,
|
|
685
|
-
columnNumber: 5
|
|
686
|
-
}
|
|
687
|
-
}));
|
|
647
|
+
}, props));
|
|
688
648
|
};
|
|
689
649
|
exports.Message = Message;
|
|
690
650
|
//# sourceMappingURL=Message.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_useCreateMessageContext","_useMessageActionHandlers","_useMessageActions2","_messageActions","_ChannelContext","_ChatContext","_KeyboardContext","_MessageContext","_MessageOverlayContext","_MessagesContext","_OverlayContext","_OwnCapabilitiesContext","_ThemeContext","_ThreadContext","_TranslationContext","_native","_utils","_useMessageList","_this","_jsxFileName","_getRequireWildcardCache","nodeInterop","WeakMap","cacheBabelInterop","cacheNodeInterop","obj","__esModule","_typeof","cache","has","get","newObj","hasPropertyDescriptor","Object","defineProperty","getOwnPropertyDescriptor","key","prototype","hasOwnProperty","call","desc","set","MessageWithContext","props","_message$user","_useState","useState","_useState2","_slicedToArray2","isBounceDialogOpen","setIsBounceDialogOpen","isMessageTypeDeleted","message","type","sendReaction","channel","deleteMessageFromContext","deleteMessage","disabled","dismissKeyboard","dismissKeyboardOnMessageTouch","_props$enableLongPres","enableLongPress","enforceUniqueReaction","_props$forceAlignMess","forceAlignMessages","goToMessage","_props$groupStyles","groupStyles","handleBlock","handleCopy","handleDelete","handleEdit","handleFlag","handleMute","handlePinMessage","handleQuotedReply","handleReactionProp","handleReaction","handleRetry","handleThreadReply","chatContext","lastReceivedId","members","_props$messageActions","messageActions","messageActionsProp","defaultMessageActions","messageContentOrderProp","messageContentOrder","messagesContext","MessageBounce","MessageSimple","onLongPressProp","onLongPress","onLongPressMessageProp","onLongPressMessage","onPressProp","onPress","onPressMessageProp","onPressMessage","onPressInProp","onPressIn","onPressInMessageProp","onPressInMessage","onThreadSelect","openThread","OverlayReactionList","preventPress","removeMessage","deleteReaction","retrySendMessage","selectReaction","setData","setEditingState","setOverlay","setQuotedMessageState","showAvatar","showMessageStatus","showUnreadUnderlay","style","supportedReactions","t","isTargetedMessage","_props$threadList","threadList","updateMessage","client","_useTheme","useTheme","_useTheme$theme","theme","_useTheme$theme$color","colors","bg_gradient_start","targetedMessageBackground","_useTheme$theme$messa","messageSimple","targetedMessageContainer","targetedMessageUnderlay","actionsEnabled","status","MessageStatusTypes","RECEIVED","isMyMessage","userID","user","id","handleAction","_ref","_asyncToGenerator2","_regenerator","mark","_callee","name","value","data","wrap","_callee$","_context","prev","next","sendAction","_defineProperty2","sent","parent_id","stop","_x","_x2","apply","arguments","onPressQuotedMessage","quotedMessage","errorOrFailed","FAILED","error","length","undefined","Keyboard","dismiss","quoted_message","isBlockedMessage","isBouncedMessage","showMessageOverlay","alignment","attachments","Array","isArray","reduce","acc","cur","files","push","other","og_scrape_url","isVideoPackageAvailable","videos","image_url","asset_url","thumb_url","title_link","images","hasAttachmentActions","some","attachment","actions","filter","content","text","emojiOnlyText","useMemo","hasOnlyEmojis","onlyEmojis","onOpenThread","hasReactions","latest_reactions","clientId","reactions","_message$latest_react","reactionType","reactionsOfReactionType","reaction","hasOwnReaction","user_id","own","ownCapabilities","useOwnCapabilitiesContext","_useMessageActionHand","useMessageActionHandlers","handleDeleteMessage","handleEditMessage","handleQuotedReplyMessage","handleResendMessage","handleToggleBanUser","handleToggleMuteUser","handleTogglePinMessage","handleToggleReaction","_useMessageActions","useMessageActions","blockUser","copyMessage","editMessage","flagMessage","muteUser","pinMessage","quotedReply","retry","threadReply","unpinMessage","_useTranslationContex","useTranslationContext","userLanguage","_ref2","_callee2","messageReactions","isThreadMessage","dismissOverlay","_args2","_callee2$","_context2","Boolean","messageContext","_extends2","messageReactionTitle","otherAttachments","actionHandlers","resendMessage","toggleBanUser","toggleMuteUser","toggleReaction","payload","defaultHandler","emitter","event","triggerHaptic","useCreateMessageContext","lastGroupMessage","myMessageTheme","onPressArgs","additionalInfo","handleOnPress","onPressInArgs","handleOnpressIn","createElement","View","pinned","backgroundColor","testID","__self","__source","fileName","lineNumber","columnNumber","MessageProvider","areEqual","prevProps","nextProps","_prevMessage$quoted_m","_nextMessage$quoted_m","_prevMessage$quoted_m2","_nextMessage$quoted_m2","_prevMessage$user","_nextMessage$user","prevMutedUsers","mutedUsers","prevDisabled","prevGoToMessage","prevGroupStyles","isAttachmentEqual","prevIsTargetedMessage","prevLastReceivedId","prevMembers","prevMessage","prevMessagesContext","prevShowUnreadUnderlay","prevT","nextMutedUsers","nextDisabled","nextGoToMessage","nextGroupStyles","nextIsTargetedMessage","nextLastReceivedId","nextMembers","nextMessage","nextMessagesContext","nextShowUnreadUnderlay","nextT","disabledEqual","membersEqual","keys","repliesEqual","reply_count","lastReceivedIdChangedAndMatters","goToMessageChangedAndMatters","quoted_message_id","groupStylesEqual","isPrevMessageTypeDeleted","isNextMessageTypeDeleted","messageEqual","isMessageWithStylesReadByAndDateSeparator","readBy","updated_at","isPrevQuotedMessageTypeDeleted","isNextQuotedMessageTypeDeleted","quotedMessageEqual","messageUserBannedEqual","banned","prevMessageAttachments","nextMessageAttachments","attachmentsEqual","every","index","attachmentKeysEqual","latestReactionsEqual","_ref3","_nextMessage$latest_r","mutedUserSame","mutedUser","_prevMessage$user2","target","_nextMessage$user2","showUnreadUnderlayEqual","tEqual","targetedMessageEqual","prevMyMessageTheme","JSON","stringify","nextMyMessageTheme","messageThemeEqual","MemoizedMessage","React","memo","Message","_useChannelContext","useChannelContext","useChatContext","_useKeyboardContext","useKeyboardContext","_useMessageOverlayCon","useMessageOverlayContext","useMessagesContext","_useOverlayContext","useOverlayContext","_useThreadContext","useThreadContext","_useTranslationContex2","exports"],"sources":["Message.tsx"],"sourcesContent":["import React, { useMemo, useState } from 'react';\nimport { GestureResponderEvent, Keyboard, StyleProp, View, ViewStyle } from 'react-native';\n\nimport type { Attachment, UserResponse } from 'stream-chat';\n\nimport { useCreateMessageContext } from './hooks/useCreateMessageContext';\nimport { useMessageActionHandlers } from './hooks/useMessageActionHandlers';\nimport { useMessageActions } from './hooks/useMessageActions';\nimport { messageActions as defaultMessageActions } from './utils/messageActions';\n\nimport {\n ChannelContextValue,\n useChannelContext,\n} from '../../contexts/channelContext/ChannelContext';\nimport { ChatContextValue, useChatContext } from '../../contexts/chatContext/ChatContext';\nimport {\n KeyboardContextValue,\n useKeyboardContext,\n} from '../../contexts/keyboardContext/KeyboardContext';\nimport {\n MessageContextValue,\n MessageProvider,\n Reactions,\n} from '../../contexts/messageContext/MessageContext';\nimport {\n MessageOverlayContextValue,\n useMessageOverlayContext,\n} from '../../contexts/messageOverlayContext/MessageOverlayContext';\nimport {\n MessagesContextValue,\n useMessagesContext,\n} from '../../contexts/messagesContext/MessagesContext';\nimport {\n OverlayContextValue,\n useOverlayContext,\n} from '../../contexts/overlayContext/OverlayContext';\nimport { useOwnCapabilitiesContext } from '../../contexts/ownCapabilitiesContext/OwnCapabilitiesContext';\nimport { useTheme } from '../../contexts/themeContext/ThemeContext';\nimport { ThreadContextValue, useThreadContext } from '../../contexts/threadContext/ThreadContext';\nimport {\n TranslationContextValue,\n useTranslationContext,\n} from '../../contexts/translationContext/TranslationContext';\n\nimport { isVideoPackageAvailable, triggerHaptic } from '../../native';\nimport type { DefaultStreamChatGenerics } from '../../types/types';\nimport {\n hasOnlyEmojis,\n isBlockedMessage,\n isBouncedMessage,\n MessageStatusTypes,\n} from '../../utils/utils';\n\nimport {\n isMessageWithStylesReadByAndDateSeparator,\n MessageType,\n} from '../MessageList/hooks/useMessageList';\nimport type { MessageActionListItemProps } from '../MessageOverlay/MessageActionListItem';\n\nexport type TouchableEmitter =\n | 'fileAttachment'\n | 'gallery'\n | 'giphy'\n | 'message'\n | 'messageContent'\n | 'messageReplies'\n | 'reactionList';\n\nexport type TextMentionTouchableHandlerPayload<\n StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics,\n> = {\n emitter: 'textMention';\n additionalInfo?: { user?: UserResponse<StreamChatGenerics> };\n};\n\nexport type UrlTouchableHandlerPayload = {\n emitter: 'textLink' | 'card';\n additionalInfo?: { url?: string };\n};\n\nexport type FileAttachmentTouchableHandlerPayload<\n StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics,\n> = {\n emitter: 'fileAttachment';\n additionalInfo?: { attachment?: Attachment<StreamChatGenerics> };\n};\n\nexport type TouchableHandlerPayload = {\n defaultHandler?: () => void;\n event?: GestureResponderEvent;\n} & (\n | {\n emitter?: Exclude<TouchableEmitter, 'textMention' | 'textLink' | 'card' | 'fileAttachment'>;\n }\n | TextMentionTouchableHandlerPayload\n | UrlTouchableHandlerPayload\n | FileAttachmentTouchableHandlerPayload\n);\n\nexport type MessageTouchableHandlerPayload<\n StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics,\n> = TouchableHandlerPayload & {\n /**\n * Set of action handler functions for various message actions. You can use these functions to perform any action when give interaction occurs.\n */\n actionHandlers?: MessageActionHandlers;\n /**\n * Additional message touchable handler info.\n */\n additionalInfo?: Record<string, unknown>;\n /**\n * Message object, on which interaction occurred.\n */\n message?: MessageType<StreamChatGenerics>;\n};\n\nexport type MessageActionHandlers = {\n deleteMessage: () => Promise<void>;\n editMessage: () => void;\n pinMessage: () => Promise<void>;\n quotedReply: () => void;\n resendMessage: () => Promise<void>;\n showMessageOverlay: () => void;\n toggleBanUser: () => Promise<void>;\n toggleMuteUser: () => Promise<void>;\n toggleReaction: (reactionType: string) => Promise<void>;\n};\n\nexport type MessagePropsWithContext<\n StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics,\n> = Pick<\n ChannelContextValue<StreamChatGenerics>,\n 'channel' | 'disabled' | 'enforceUniqueReaction' | 'members'\n> &\n Pick<KeyboardContextValue, 'dismissKeyboard'> &\n Partial<Omit<MessageContextValue<StreamChatGenerics>, 'groupStyles' | 'message'>> &\n Pick<MessageContextValue<StreamChatGenerics>, 'groupStyles' | 'message'> &\n Pick<\n MessagesContextValue<StreamChatGenerics>,\n | 'sendReaction'\n | 'deleteMessage'\n | 'dismissKeyboardOnMessageTouch'\n | 'forceAlignMessages'\n | 'handleBlock'\n | 'handleCopy'\n | 'handleDelete'\n | 'handleEdit'\n | 'handleFlag'\n | 'handleMute'\n | 'handlePinMessage'\n | 'handleQuotedReply'\n | 'handleReaction'\n | 'handleRetry'\n | 'handleThreadReply'\n | 'isAttachmentEqual'\n | 'messageActions'\n | 'messageContentOrder'\n | 'MessageBounce'\n | 'MessageSimple'\n | 'onLongPressMessage'\n | 'onPressInMessage'\n | 'onPressMessage'\n | 'OverlayReactionList'\n | 'removeMessage'\n | 'deleteReaction'\n | 'retrySendMessage'\n | 'selectReaction'\n | 'setEditingState'\n | 'setQuotedMessageState'\n | 'supportedReactions'\n | 'updateMessage'\n > &\n Pick<MessageOverlayContextValue<StreamChatGenerics>, 'setData'> &\n Pick<OverlayContextValue, 'setOverlay'> &\n Pick<ThreadContextValue<StreamChatGenerics>, 'openThread'> &\n Pick<TranslationContextValue, 't'> & {\n chatContext: ChatContextValue<StreamChatGenerics>;\n messagesContext: MessagesContextValue<StreamChatGenerics>;\n /**\n * Whether or not users are able to long press messages.\n */\n enableLongPress?: boolean;\n goToMessage?: (messageId: string) => void;\n isTargetedMessage?: boolean;\n /**\n * Array of allowed actions or null on message, this can also be a function returning the array.\n * If all the actions need to be disabled an empty array should be provided as value of prop\n */\n /**\n * You can call methods available on the Message\n * component such as handleEdit, handleDelete, handleAction etc.\n *\n * Source - [Message](https://github.com/GetStream/stream-chat-react-native/blob/main/package/src/components/Message/Message.tsx)\n *\n * By default, we show the overlay with all the message actions on long press.\n *\n * @param message Message object which was long pressed\n * @param event Event object for onLongPress event\n **/\n onLongPress?: (payload: Partial<MessageTouchableHandlerPayload<StreamChatGenerics>>) => void;\n\n /**\n * You can call methods available on the Message\n * component such as handleEdit, handleDelete, handleAction etc.\n *\n * Source - [Message](https://github.com/GetStream/stream-chat-react-native/blob/main/package/src/components/Message/Message.tsx)\n *\n * By default, we will dismiss the keyboard on press.\n *\n * @param message Message object which was long pressed\n * @param event Event object for onLongPress event\n * */\n onPress?: (payload: Partial<MessageTouchableHandlerPayload<StreamChatGenerics>>) => void;\n onPressIn?: (payload: Partial<MessageTouchableHandlerPayload<StreamChatGenerics>>) => void;\n /**\n * Handler to open the thread on message. This is callback for touch event for replies button.\n *\n * @param message A message object to open the thread upon.\n */\n onThreadSelect?: (message: MessageType<StreamChatGenerics>) => void;\n showUnreadUnderlay?: boolean;\n style?: StyleProp<ViewStyle>;\n };\n\n/**\n * Since this component doesn't consume `messages` from `MessagesContext`,\n * we memoized and broke it up to prevent new messages from re-rendering\n * each individual Message component.\n */\nconst MessageWithContext = <\n StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics,\n>(\n props: MessagePropsWithContext<StreamChatGenerics>,\n) => {\n const [isBounceDialogOpen, setIsBounceDialogOpen] = useState(false);\n const isMessageTypeDeleted = props.message.type === 'deleted';\n\n const {\n sendReaction,\n channel,\n deleteMessage: deleteMessageFromContext,\n disabled,\n dismissKeyboard,\n dismissKeyboardOnMessageTouch,\n enableLongPress = true,\n enforceUniqueReaction,\n forceAlignMessages = false,\n goToMessage,\n groupStyles = ['bottom'],\n handleBlock,\n handleCopy,\n handleDelete,\n handleEdit,\n handleFlag,\n handleMute,\n handlePinMessage,\n handleQuotedReply,\n handleReaction: handleReactionProp,\n handleRetry,\n handleThreadReply,\n chatContext,\n lastReceivedId,\n members,\n message,\n messageActions: messageActionsProp = defaultMessageActions,\n messageContentOrder: messageContentOrderProp,\n messagesContext,\n MessageBounce,\n MessageSimple,\n onLongPress: onLongPressProp,\n onLongPressMessage: onLongPressMessageProp,\n onPress: onPressProp,\n onPressMessage: onPressMessageProp,\n onPressIn: onPressInProp,\n onPressInMessage: onPressInMessageProp,\n onThreadSelect,\n openThread,\n OverlayReactionList,\n preventPress,\n removeMessage,\n deleteReaction,\n retrySendMessage,\n selectReaction,\n setData,\n setEditingState,\n setOverlay,\n setQuotedMessageState,\n showAvatar,\n showMessageStatus,\n showUnreadUnderlay,\n style,\n supportedReactions,\n t,\n isTargetedMessage,\n threadList = false,\n updateMessage,\n } = props;\n const { client } = chatContext;\n const {\n theme: {\n colors: { bg_gradient_start, targetedMessageBackground },\n messageSimple: { targetedMessageContainer, targetedMessageUnderlay },\n },\n } = useTheme();\n\n const actionsEnabled =\n message.type === 'regular' && message.status === MessageStatusTypes.RECEIVED;\n\n const isMyMessage = client && message && client.userID === message.user?.id;\n\n const handleAction = async (name: string, value: string) => {\n if (message.id) {\n const data = await channel?.sendAction(message.id, { [name]: value });\n if (data?.message) {\n updateMessage(data.message);\n } else {\n removeMessage({\n id: message.id,\n parent_id: message.parent_id,\n });\n }\n }\n };\n\n const onPressQuotedMessage = (quotedMessage: MessageType<StreamChatGenerics>) => {\n if (!goToMessage) return;\n\n goToMessage(quotedMessage.id);\n };\n\n const errorOrFailed = message.type === 'error' || message.status === MessageStatusTypes.FAILED;\n\n const onPress = (error = errorOrFailed) => {\n if (dismissKeyboardOnMessageTouch) {\n Keyboard.dismiss();\n }\n const quotedMessage = message.quoted_message as MessageType<StreamChatGenerics>;\n if (error) {\n /**\n * If its a Blocked message, we don't do anything as per specs.\n */\n if (isBlockedMessage(message)) {\n return;\n }\n /**\n * If its a Bounced message, we open the message bounced options modal.\n */\n if (isBouncedMessage(message)) {\n setIsBounceDialogOpen(true);\n return;\n }\n showMessageOverlay(false, true);\n } else if (quotedMessage) {\n onPressQuotedMessage(quotedMessage);\n }\n };\n\n const alignment =\n forceAlignMessages && (forceAlignMessages === 'left' || forceAlignMessages === 'right')\n ? forceAlignMessages\n : isMyMessage\n ? 'right'\n : 'left';\n\n /**\n * attachments contain files/images or other attachments\n *\n * if a URL attachment is present with a file/image then we\n * show just the text and markdown should make the link\n * clickable\n */\n const attachments =\n !isMessageTypeDeleted && Array.isArray(message.attachments)\n ? message.attachments.reduce(\n (acc, cur) => {\n if (cur.type === 'file') {\n acc.files.push(cur);\n acc.other = []; // remove other attachments if a file exists\n } else if (cur.type === 'video' && !cur.og_scrape_url && isVideoPackageAvailable()) {\n acc.videos.push({\n image_url: cur.asset_url,\n thumb_url: cur.thumb_url,\n type: 'video',\n });\n acc.other = [];\n } else if (cur.type === 'video' && !cur.og_scrape_url) {\n acc.files.push(cur);\n acc.other = []; // remove other attachments if a file exists\n } else if (cur.type === 'audio') {\n acc.files.push(cur);\n } else if (cur.type === 'image' && !cur.title_link && !cur.og_scrape_url) {\n /**\n * this next if is not combined with the above one for cases where we have\n * an image with no url links at all falling back to being an attachment\n */\n if (cur.image_url || cur.thumb_url) {\n acc.images.push(cur);\n acc.other = []; // remove other attachments if an image exists\n }\n // only add other attachments if there are no files/images\n } else if (!acc.files.length && !acc.images.length && !acc.videos.length) {\n acc.other.push(cur);\n }\n\n return acc;\n },\n {\n files: [] as Attachment<StreamChatGenerics>[],\n images: [] as Attachment<StreamChatGenerics>[],\n other: [] as Attachment<StreamChatGenerics>[],\n videos: [] as Attachment<StreamChatGenerics>[],\n },\n )\n : {\n files: [] as Attachment<StreamChatGenerics>[],\n images: [] as Attachment<StreamChatGenerics>[],\n other: [] as Attachment<StreamChatGenerics>[],\n videos: [] as Attachment<StreamChatGenerics>[],\n };\n /**\n * Check if any actions to prevent long press\n */\n const hasAttachmentActions =\n !isMessageTypeDeleted &&\n Array.isArray(message.attachments) &&\n message.attachments.some((attachment) => attachment.actions && attachment.actions.length);\n\n const messageContentOrder = messageContentOrderProp.filter((content) => {\n if (content === 'quoted_reply') {\n return !!message.quoted_message;\n }\n\n switch (content) {\n case 'attachments':\n return !!attachments.other.length;\n case 'files':\n return !!attachments.files.length;\n case 'gallery':\n return !!attachments.images.length || !!attachments.videos.length;\n case 'text':\n default:\n return !!message.text;\n }\n });\n\n const emojiOnlyText = useMemo(() => {\n if (!message.text) return false;\n return hasOnlyEmojis(message.text);\n }, [message.text]);\n\n const onlyEmojis =\n !attachments.files.length &&\n !attachments.images.length &&\n !attachments.other.length &&\n emojiOnlyText;\n\n const onOpenThread = () => {\n if (onThreadSelect) {\n onThreadSelect(message);\n }\n if (openThread) {\n openThread(message);\n }\n };\n\n const hasReactions =\n !isMessageTypeDeleted && !!message.latest_reactions && message.latest_reactions.length > 0;\n\n const clientId = client.userID;\n\n const reactions = hasReactions\n ? supportedReactions.reduce((acc, cur) => {\n const reactionType = cur.type;\n const reactionsOfReactionType = message.latest_reactions?.filter(\n (reaction) => reaction.type === reactionType,\n );\n\n if (reactionsOfReactionType?.length) {\n const hasOwnReaction = reactionsOfReactionType.some(\n (reaction) => reaction.user_id === clientId,\n );\n acc.push({ own: hasOwnReaction, type: reactionType });\n }\n\n return acc;\n }, [] as Reactions)\n : [];\n\n const ownCapabilities = useOwnCapabilitiesContext();\n\n const {\n handleDeleteMessage,\n handleEditMessage,\n handleQuotedReplyMessage,\n handleResendMessage,\n handleToggleBanUser,\n handleToggleMuteUser,\n handleTogglePinMessage,\n handleToggleReaction,\n } = useMessageActionHandlers({\n channel,\n client,\n deleteMessage: deleteMessageFromContext,\n deleteReaction,\n enforceUniqueReaction,\n message,\n retrySendMessage,\n sendReaction,\n setEditingState,\n setQuotedMessageState,\n supportedReactions,\n });\n\n const {\n blockUser,\n copyMessage,\n deleteMessage,\n editMessage,\n flagMessage,\n handleReaction,\n muteUser,\n pinMessage,\n quotedReply,\n retry,\n threadReply,\n unpinMessage,\n } = useMessageActions({\n channel,\n client,\n deleteMessage: deleteMessageFromContext,\n deleteReaction,\n enforceUniqueReaction,\n handleBlock,\n handleCopy,\n handleDelete,\n handleEdit,\n handleFlag,\n handleMute,\n handlePinMessage,\n handleQuotedReply,\n handleReaction: handleReactionProp,\n handleRetry,\n handleThreadReply,\n message,\n onThreadSelect,\n openThread,\n removeMessage,\n retrySendMessage,\n selectReaction,\n sendReaction,\n setEditingState,\n setOverlay,\n setQuotedMessageState,\n supportedReactions,\n t,\n updateMessage,\n });\n\n const { userLanguage } = useTranslationContext();\n\n const showMessageOverlay = async (messageReactions = false, error = errorOrFailed) => {\n await dismissKeyboard();\n\n const isThreadMessage = threadList || !!message.parent_id;\n\n const dismissOverlay = () => setOverlay('none');\n\n const messageActions =\n typeof messageActionsProp !== 'function'\n ? messageActionsProp\n : messageActionsProp({\n blockUser,\n copyMessage,\n deleteMessage,\n dismissOverlay,\n editMessage,\n error,\n flagMessage,\n isMyMessage,\n isThreadMessage,\n message,\n messageReactions,\n muteUser,\n ownCapabilities,\n pinMessage,\n quotedReply,\n retry,\n threadReply,\n unpinMessage,\n });\n\n setData({\n alignment,\n chatContext,\n clientId: client.userID,\n files: attachments.files,\n groupStyles,\n handleReaction: ownCapabilities.sendReaction ? handleReaction : undefined,\n images: attachments.images,\n message,\n messageActions: messageActions?.filter(Boolean) as MessageActionListItemProps[] | undefined,\n messageContext: { ...messageContext, preventPress: true },\n messageReactionTitle: !error && messageReactions ? t('Message Reactions') : undefined,\n messagesContext: { ...messagesContext, messageContentOrder },\n onlyEmojis,\n otherAttachments: attachments.other,\n OverlayReactionList,\n ownCapabilities,\n supportedReactions,\n threadList,\n userLanguage,\n videos: attachments.videos,\n });\n\n setOverlay('message');\n };\n\n const actionHandlers: MessageActionHandlers = {\n deleteMessage: handleDeleteMessage,\n editMessage: handleEditMessage,\n pinMessage: handleTogglePinMessage,\n quotedReply: handleQuotedReplyMessage,\n resendMessage: handleResendMessage,\n showMessageOverlay,\n toggleBanUser: handleToggleBanUser,\n toggleMuteUser: handleToggleMuteUser,\n toggleReaction: handleToggleReaction,\n };\n\n const onLongPressMessage =\n disabled || hasAttachmentActions || isBlockedMessage(message)\n ? () => null\n : onLongPressMessageProp\n ? (payload?: TouchableHandlerPayload) =>\n onLongPressMessageProp({\n actionHandlers,\n defaultHandler: payload?.defaultHandler || showMessageOverlay,\n emitter: payload?.emitter || 'message',\n event: payload?.event,\n message,\n })\n : onLongPressProp\n ? (payload?: TouchableHandlerPayload) =>\n onLongPressProp({\n actionHandlers,\n defaultHandler: payload?.defaultHandler || showMessageOverlay,\n emitter: payload?.emitter || 'message',\n event: payload?.event,\n })\n : enableLongPress\n ? () => {\n // If a message is bounced, on long press the message bounce options modal should open.\n if (isBouncedMessage(message)) {\n setIsBounceDialogOpen(true);\n return;\n }\n triggerHaptic('impactMedium');\n showMessageOverlay(false);\n }\n : () => null;\n\n const messageContext = useCreateMessageContext({\n actionsEnabled,\n alignment,\n channel,\n disabled,\n files: attachments.files,\n goToMessage,\n groupStyles,\n handleAction,\n handleDeleteMessage,\n handleEditMessage,\n handleQuotedReplyMessage,\n handleResendMessage,\n handleToggleBanUser,\n handleToggleMuteUser,\n handleToggleReaction,\n hasReactions,\n images: attachments.images,\n isMyMessage,\n lastGroupMessage: groupStyles?.[0] === 'single' || groupStyles?.[0] === 'bottom',\n lastReceivedId,\n members,\n message,\n messageContentOrder,\n myMessageTheme: messagesContext.myMessageTheme,\n onLongPress: onLongPressMessage,\n onlyEmojis,\n onOpenThread,\n onPress: (payload) => {\n const onPressArgs = {\n actionHandlers,\n additionalInfo: payload.additionalInfo,\n defaultHandler: payload.defaultHandler || onPress,\n emitter: payload.emitter || 'message',\n event: payload.event,\n message,\n };\n\n const handleOnPress = () => {\n if (onPressProp) return onPressProp(onPressArgs);\n if (onPressMessageProp) return onPressMessageProp(onPressArgs);\n if (payload.defaultHandler) return payload.defaultHandler();\n\n return onPress();\n };\n\n handleOnPress();\n },\n onPressIn:\n onPressInProp || onPressInMessageProp\n ? (payload) => {\n const onPressInArgs = {\n actionHandlers,\n defaultHandler: payload.defaultHandler,\n emitter: payload.emitter || 'message',\n event: payload.event,\n message,\n };\n const handleOnpressIn = () => {\n if (onPressInProp) return onPressInProp(onPressInArgs);\n if (onPressInMessageProp) return onPressInMessageProp(onPressInArgs);\n };\n handleOnpressIn();\n }\n : null,\n otherAttachments: attachments.other,\n preventPress,\n reactions,\n showAvatar,\n showMessageOverlay,\n showMessageStatus: typeof showMessageStatus === 'boolean' ? showMessageStatus : isMyMessage,\n threadList,\n videos: attachments.videos,\n });\n\n if (!(isMessageTypeDeleted || messageContentOrder.length)) return null;\n\n return (\n <View\n style={[\n message.pinned && {\n ...targetedMessageContainer,\n backgroundColor: targetedMessageBackground,\n },\n ]}\n testID='message-wrapper'\n >\n <View\n style={[\n style,\n {\n backgroundColor: showUnreadUnderlay ? bg_gradient_start : undefined,\n },\n ]}\n >\n <View\n style={[\n isTargetedMessage\n ? { backgroundColor: targetedMessageBackground, ...targetedMessageUnderlay }\n : {},\n ]}\n >\n <MessageProvider value={messageContext}>\n <MessageSimple />\n {isBounceDialogOpen && <MessageBounce setIsBounceDialogOpen={setIsBounceDialogOpen} />}\n </MessageProvider>\n </View>\n </View>\n </View>\n );\n};\n\nconst areEqual = <StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>(\n prevProps: MessagePropsWithContext<StreamChatGenerics>,\n nextProps: MessagePropsWithContext<StreamChatGenerics>,\n) => {\n const {\n chatContext: { mutedUsers: prevMutedUsers },\n disabled: prevDisabled,\n goToMessage: prevGoToMessage,\n groupStyles: prevGroupStyles,\n isAttachmentEqual,\n isTargetedMessage: prevIsTargetedMessage,\n lastReceivedId: prevLastReceivedId,\n members: prevMembers,\n message: prevMessage,\n messagesContext: prevMessagesContext,\n showUnreadUnderlay: prevShowUnreadUnderlay,\n t: prevT,\n } = prevProps;\n const {\n chatContext: { mutedUsers: nextMutedUsers },\n disabled: nextDisabled,\n goToMessage: nextGoToMessage,\n groupStyles: nextGroupStyles,\n isTargetedMessage: nextIsTargetedMessage,\n lastReceivedId: nextLastReceivedId,\n members: nextMembers,\n message: nextMessage,\n messagesContext: nextMessagesContext,\n showUnreadUnderlay: nextShowUnreadUnderlay,\n t: nextT,\n } = nextProps;\n\n const disabledEqual = prevDisabled === nextDisabled;\n if (!disabledEqual) return false;\n\n const membersEqual = Object.keys(prevMembers).length === Object.keys(nextMembers).length;\n if (!membersEqual) return false;\n\n const repliesEqual = prevMessage.reply_count === nextMessage.reply_count;\n if (!repliesEqual) return false;\n\n const lastReceivedIdChangedAndMatters =\n prevLastReceivedId !== nextLastReceivedId &&\n (prevLastReceivedId === prevMessage.id ||\n prevLastReceivedId === nextMessage.id ||\n nextLastReceivedId === prevMessage.id ||\n nextLastReceivedId === nextMessage.id);\n\n if (lastReceivedIdChangedAndMatters) return false;\n\n const goToMessageChangedAndMatters =\n nextMessage.quoted_message_id && prevGoToMessage !== nextGoToMessage;\n\n if (goToMessageChangedAndMatters) return false;\n\n const groupStylesEqual =\n prevGroupStyles.length === nextGroupStyles.length && prevGroupStyles[0] === nextGroupStyles[0];\n if (!groupStylesEqual) return false;\n\n const isPrevMessageTypeDeleted = prevMessage.type === 'deleted';\n const isNextMessageTypeDeleted = nextMessage.type === 'deleted';\n\n const messageEqual =\n isPrevMessageTypeDeleted === isNextMessageTypeDeleted &&\n (isMessageWithStylesReadByAndDateSeparator(prevMessage) && prevMessage.readBy) ===\n (isMessageWithStylesReadByAndDateSeparator(nextMessage) && nextMessage.readBy) &&\n prevMessage.status === nextMessage.status &&\n prevMessage.type === nextMessage.type &&\n prevMessage.text === nextMessage.text &&\n prevMessage.pinned === nextMessage.pinned &&\n `${prevMessage?.updated_at}` === `${nextMessage?.updated_at}`;\n\n if (!messageEqual) return false;\n\n const isPrevQuotedMessageTypeDeleted = prevMessage.quoted_message?.type === 'deleted';\n const isNextQuotedMessageTypeDeleted = nextMessage.quoted_message?.type === 'deleted';\n\n const quotedMessageEqual =\n prevMessage.quoted_message?.id === nextMessage.quoted_message?.id &&\n isPrevQuotedMessageTypeDeleted === isNextQuotedMessageTypeDeleted;\n\n if (!quotedMessageEqual) return false;\n\n const messageUserBannedEqual = prevMessage.user?.banned === nextMessage.user?.banned;\n if (!messageUserBannedEqual) return false;\n\n const prevMessageAttachments = prevMessage.attachments;\n const nextMessageAttachments = nextMessage.attachments;\n const attachmentsEqual =\n (Array.isArray(prevMessageAttachments) &&\n Array.isArray(nextMessageAttachments) &&\n prevMessageAttachments.length === nextMessageAttachments.length &&\n prevMessageAttachments.every((attachment, index) => {\n const attachmentKeysEqual =\n attachment.type === 'image'\n ? attachment.image_url === nextMessageAttachments[index].image_url &&\n attachment.thumb_url === nextMessageAttachments[index].thumb_url\n : attachment.type === nextMessageAttachments[index].type;\n\n if (isAttachmentEqual)\n return (\n attachmentKeysEqual && !!isAttachmentEqual(attachment, nextMessageAttachments[index])\n );\n\n return attachmentKeysEqual;\n })) ||\n prevMessageAttachments === nextMessageAttachments;\n if (!attachmentsEqual) return false;\n\n const latestReactionsEqual =\n Array.isArray(prevMessage.latest_reactions) && Array.isArray(nextMessage.latest_reactions)\n ? prevMessage.latest_reactions.length === nextMessage.latest_reactions.length &&\n prevMessage.latest_reactions.every(\n ({ type }, index) => type === nextMessage.latest_reactions?.[index].type,\n )\n : prevMessage.latest_reactions === nextMessage.latest_reactions;\n if (!latestReactionsEqual) return false;\n\n const mutedUserSame =\n prevMutedUsers.length === nextMutedUsers.length ||\n prevMutedUsers.some((mutedUser) => mutedUser.target.id === prevMessage.user?.id) ===\n nextMutedUsers.some((mutedUser) => mutedUser.target.id === nextMessage.user?.id);\n if (!mutedUserSame) return false;\n\n const showUnreadUnderlayEqual = prevShowUnreadUnderlay === nextShowUnreadUnderlay;\n if (!showUnreadUnderlayEqual) return false;\n\n const tEqual = prevT === nextT;\n if (!tEqual) return false;\n\n const targetedMessageEqual = prevIsTargetedMessage === nextIsTargetedMessage;\n if (!targetedMessageEqual) return false;\n\n const prevMyMessageTheme = JSON.stringify(prevMessagesContext?.myMessageTheme);\n const nextMyMessageTheme = JSON.stringify(nextMessagesContext?.myMessageTheme);\n\n const messageThemeEqual = prevMyMessageTheme === nextMyMessageTheme;\n if (!messageThemeEqual) return false;\n\n return true;\n};\n\nconst MemoizedMessage = React.memo(MessageWithContext, areEqual) as typeof MessageWithContext;\n\nexport type MessageProps<\n StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics,\n> = Partial<Omit<MessagePropsWithContext<StreamChatGenerics>, 'groupStyles' | 'message'>> &\n Pick<MessagePropsWithContext<StreamChatGenerics>, 'groupStyles' | 'message'>;\n\n/**\n * Message - A high level component which implements all the logic required for a message.\n * The actual rendering of the message is delegated via the \"Message\" property\n *\n * @example ./Message.md\n */\nexport const Message = <\n StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics,\n>(\n props: MessageProps<StreamChatGenerics>,\n) => {\n const { channel, disabled, enforceUniqueReaction, members } =\n useChannelContext<StreamChatGenerics>();\n const chatContext = useChatContext<StreamChatGenerics>();\n const { dismissKeyboard } = useKeyboardContext();\n const { setData } = useMessageOverlayContext<StreamChatGenerics>();\n const messagesContext = useMessagesContext<StreamChatGenerics>();\n const { setOverlay } = useOverlayContext();\n const { openThread } = useThreadContext<StreamChatGenerics>();\n const { t } = useTranslationContext();\n\n return (\n <MemoizedMessage<StreamChatGenerics>\n {...messagesContext}\n {...{\n channel,\n chatContext,\n disabled,\n dismissKeyboard,\n enforceUniqueReaction,\n members,\n messagesContext,\n openThread,\n set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,MAAA,EAAA9Q,KAAA;IAAA+Q,QAAA;MAAAC,QAAA,EAAA/Q,YAAA;MAAAgR,UAAA;MAAAC,YAAA;IAAA;EAAA,EACV,CAAC;AAEN,CAAC;AAAC8F,OAAA,CAAAd,OAAA,GAAAA,OAAA"}
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_useCreateMessageContext","_useMessageActionHandlers","_useMessageActions2","_messageActions","_ChannelContext","_ChatContext","_KeyboardContext","_MessageContext","_MessageOverlayContext","_MessagesContext","_OverlayContext","_OwnCapabilitiesContext","_ThemeContext","_ThreadContext","_TranslationContext","_native","_utils","_useMessageList","_jsxRuntime","_this","_jsxFileName","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","_typeof","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","MessageWithContext","props","_message$user","_useState","useState","_useState2","_slicedToArray2","isBounceDialogOpen","setIsBounceDialogOpen","isMessageTypeDeleted","message","type","channel","chatContext","deleteMessageFromContext","deleteMessage","deleteReaction","disabled","dismissKeyboard","dismissKeyboardOnMessageTouch","_props$enableLongPres","enableLongPress","enforceUniqueReaction","_props$forceAlignMess","forceAlignMessages","goToMessage","_props$groupStyles","groupStyles","handleBlock","handleCopy","handleDelete","handleEdit","handleFlag","handleMute","handlePinMessage","handleQuotedReply","handleReactionProp","handleReaction","handleRetry","handleThreadReply","isTargetedMessage","lastReceivedId","members","_props$messageActions","messageActions","messageActionsProp","defaultMessageActions","MessageBounce","messageContentOrderProp","messageContentOrder","messagesContext","MessageSimple","onLongPressProp","onLongPress","onLongPressMessageProp","onLongPressMessage","onPressProp","onPress","onPressInProp","onPressIn","onPressInMessageProp","onPressInMessage","onPressMessageProp","onPressMessage","onThreadSelect","openThread","OverlayReactionList","preventPress","removeMessage","retrySendMessage","selectReaction","sendReaction","setData","setEditingState","setOverlay","setQuotedMessageState","showAvatar","showMessageStatus","showUnreadUnderlay","style","supportedReactions","_props$threadList","threadList","updateMessage","client","_useTheme","useTheme","_useTheme$theme","theme","_useTheme$theme$color","colors","bg_gradient_start","targetedMessageBackground","_useTheme$theme$messa","messageSimple","targetedMessageContainer","targetedMessageUnderlay","actionsEnabled","status","MessageStatusTypes","RECEIVED","isMyMessage","userID","user","id","handleAction","_ref","_asyncToGenerator2","_regenerator","mark","_callee","name","value","data","wrap","_callee$","_context","prev","next","sendAction","_defineProperty2","sent","parent_id","stop","_x","_x2","apply","arguments","onPressQuotedMessage","quotedMessage","errorOrFailed","FAILED","error","length","undefined","Keyboard","dismiss","quoted_message","isBlockedMessage","isBouncedMessage","showMessageOverlay","alignment","attachments","Array","isArray","reduce","acc","cur","files","push","other","og_scrape_url","isVideoPackageAvailable","videos","image_url","asset_url","thumb_url","title_link","images","hasAttachmentActions","some","attachment","actions","filter","content","text","emojiOnlyText","useMemo","hasOnlyEmojis","onlyEmojis","onOpenThread","hasReactions","latest_reactions","clientId","reactions","_message$latest_react","reactionType","reactionsOfReactionType","reaction","hasOwnReaction","user_id","own","ownCapabilities","useOwnCapabilitiesContext","_useMessageActionHand","useMessageActionHandlers","handleDeleteMessage","handleEditMessage","handleQuotedReplyMessage","handleResendMessage","handleToggleBanUser","handleToggleMuteUser","handleTogglePinMessage","handleToggleReaction","_useMessageActions","useMessageActions","blockUser","copyMessage","editMessage","flagMessage","muteUser","pinMessage","quotedReply","retry","threadReply","unpinMessage","_useTranslationContex","useTranslationContext","userLanguage","_ref2","_callee2","messageReactions","isThreadMessage","dismissOverlay","_args2","_callee2$","_context2","Boolean","messageContext","assign","messageReactionTitle","otherAttachments","actionHandlers","resendMessage","toggleBanUser","toggleMuteUser","toggleReaction","payload","defaultHandler","emitter","event","triggerHaptic","useCreateMessageContext","lastGroupMessage","myMessageTheme","onPressArgs","additionalInfo","handleOnPress","onPressInArgs","handleOnpressIn","jsx","View","pinned","backgroundColor","testID","children","jsxs","MessageProvider","areEqual","prevProps","nextProps","_prevMessage$quoted_m","_nextMessage$quoted_m","_prevMessage$quoted_m2","_nextMessage$quoted_m2","_prevMessage$user","_nextMessage$user","prevMutedUsers","mutedUsers","prevDisabled","prevGoToMessage","prevGroupStyles","isAttachmentEqual","prevIsTargetedMessage","prevLastReceivedId","prevMembers","prevMessage","prevMessagesContext","prevShowUnreadUnderlay","prevT","nextMutedUsers","nextDisabled","nextGoToMessage","nextGroupStyles","nextIsTargetedMessage","nextLastReceivedId","nextMembers","nextMessage","nextMessagesContext","nextShowUnreadUnderlay","nextT","disabledEqual","membersEqual","keys","repliesEqual","reply_count","lastReceivedIdChangedAndMatters","goToMessageChangedAndMatters","quoted_message_id","groupStylesEqual","isPrevMessageTypeDeleted","isNextMessageTypeDeleted","messageEqual","isMessageWithStylesReadByAndDateSeparator","readBy","concat","updated_at","isPrevQuotedMessageTypeDeleted","isNextQuotedMessageTypeDeleted","quotedMessageEqual","messageUserBannedEqual","banned","prevMessageAttachments","nextMessageAttachments","attachmentsEqual","every","index","attachmentKeysEqual","latestReactionsEqual","_ref3","_nextMessage$latest_r","mutedUserSame","mutedUser","_prevMessage$user2","target","_nextMessage$user2","showUnreadUnderlayEqual","tEqual","targetedMessageEqual","prevMyMessageTheme","JSON","stringify","nextMyMessageTheme","messageThemeEqual","MemoizedMessage","React","memo","Message","_useChannelContext","useChannelContext","useChatContext","_useKeyboardContext","useKeyboardContext","_useMessageOverlayCon","useMessageOverlayContext","useMessagesContext","_useOverlayContext","useOverlayContext","_useThreadContext","useThreadContext","_useTranslationContex2","exports"],"sourceRoot":"../../../../src","sources":["components/Message/Message.tsx"],"mappings":";;;;;;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAIA,IAAAE,wBAAA,GAAAF,OAAA;AACA,IAAAG,yBAAA,GAAAH,OAAA;AACA,IAAAI,mBAAA,GAAAJ,OAAA;AACA,IAAAK,eAAA,GAAAL,OAAA;AAEA,IAAAM,eAAA,GAAAN,OAAA;AAIA,IAAAO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I,yCAAqB,EAAC,CAAC;IAA7B/N,CAAC,GAAAoW,sBAAA,CAADpW,CAAC;EAET,OACE,IAAAP,WAAA,CAAAuQ,GAAA,EAACoF,eAAe,EAAA5U,MAAA,CAAAmO,MAAA,KACVzK,eAAe;IAEjBtC,OAAO,EAAPA,OAAO;IACPC,WAAW,EAAXA,WAAW;IACXI,QAAQ,EAARA,QAAQ;IACRC,eAAe,EAAfA,eAAe;IACfI,qBAAqB,EAArBA,qBAAqB;IACrBoB,OAAO,EAAPA,OAAO;IACPQ,eAAe,EAAfA,eAAe;IACfe,UAAU,EAAVA,UAAU;IACVO,OAAO,EAAPA,OAAO;IACPE,UAAU,EAAVA,UAAU;IACV1F,CAAC,EAADA;EAAC,GAECiB,KAAK,CACV,CAAC;AAEN,CAAC;AAACoV,OAAA,CAAAd,OAAA,GAAAA,OAAA","ignoreList":[]}
|
|
@@ -3,13 +3,13 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
3
3
|
value: true
|
|
4
4
|
});
|
|
5
5
|
exports.MessageAvatar = void 0;
|
|
6
|
-
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
7
6
|
var _react = _interopRequireDefault(require("react"));
|
|
8
7
|
var _reactNative = require("react-native");
|
|
9
8
|
var _ChatContext = require("../../../contexts/chatContext/ChatContext");
|
|
10
9
|
var _MessageContext = require("../../../contexts/messageContext/MessageContext");
|
|
11
10
|
var _ThemeContext = require("../../../contexts/themeContext/ThemeContext");
|
|
12
11
|
var _Avatar = require("../../Avatar/Avatar");
|
|
12
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
13
13
|
var _this = this,
|
|
14
14
|
_jsxFileName = "/home/runner/work/stream-chat-react-native/stream-chat-react-native/package/src/components/Message/MessageSimple/MessageAvatar.tsx";
|
|
15
15
|
var MessageAvatarWithContext = function MessageAvatarWithContext(props) {
|
|
@@ -29,36 +29,19 @@ var MessageAvatarWithContext = function MessageAvatarWithContext(props) {
|
|
|
29
29
|
rightAlign = _useTheme$theme$messa.rightAlign,
|
|
30
30
|
spacer = _useTheme$theme$messa.spacer;
|
|
31
31
|
var visible = typeof showAvatar === 'boolean' ? showAvatar : lastGroupMessage;
|
|
32
|
-
return
|
|
32
|
+
return (0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
33
33
|
style: [alignment === 'left' ? leftAlign : rightAlign, container],
|
|
34
34
|
testID: "message-avatar",
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
size: size || BASE_AVATAR_SIZE,
|
|
46
|
-
__self: _this,
|
|
47
|
-
__source: {
|
|
48
|
-
fileName: _jsxFileName,
|
|
49
|
-
lineNumber: 46,
|
|
50
|
-
columnNumber: 9
|
|
51
|
-
}
|
|
52
|
-
}) : _react["default"].createElement(_reactNative.View, {
|
|
53
|
-
style: spacer,
|
|
54
|
-
testID: "spacer",
|
|
55
|
-
__self: _this,
|
|
56
|
-
__source: {
|
|
57
|
-
fileName: _jsxFileName,
|
|
58
|
-
lineNumber: 53,
|
|
59
|
-
columnNumber: 9
|
|
60
|
-
}
|
|
61
|
-
}));
|
|
35
|
+
children: visible ? (0, _jsxRuntime.jsx)(_Avatar.Avatar, {
|
|
36
|
+
image: (_message$user = message.user) == null ? void 0 : _message$user.image,
|
|
37
|
+
ImageComponent: ImageComponent,
|
|
38
|
+
name: ((_message$user2 = message.user) == null ? void 0 : _message$user2.name) || ((_message$user3 = message.user) == null ? void 0 : _message$user3.id),
|
|
39
|
+
size: size || BASE_AVATAR_SIZE
|
|
40
|
+
}) : (0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
41
|
+
style: spacer,
|
|
42
|
+
testID: "spacer"
|
|
43
|
+
})
|
|
44
|
+
});
|
|
62
45
|
};
|
|
63
46
|
var areEqual = function areEqual(prevProps, nextProps) {
|
|
64
47
|
var _prevMessage$user, _nextMessage$user, _prevMessage$user2, _nextMessage$user2, _prevMessage$user3, _nextMessage$user3;
|
|
@@ -81,20 +64,13 @@ var MessageAvatar = function MessageAvatar(props) {
|
|
|
81
64
|
showAvatar = _useMessageContext.showAvatar;
|
|
82
65
|
var _useChatContext = (0, _ChatContext.useChatContext)(),
|
|
83
66
|
ImageComponent = _useChatContext.ImageComponent;
|
|
84
|
-
return
|
|
67
|
+
return (0, _jsxRuntime.jsx)(MemoizedMessageAvatar, Object.assign({
|
|
85
68
|
alignment: alignment,
|
|
86
69
|
ImageComponent: ImageComponent,
|
|
87
70
|
lastGroupMessage: lastGroupMessage,
|
|
88
71
|
message: message,
|
|
89
72
|
showAvatar: showAvatar
|
|
90
|
-
}, props
|
|
91
|
-
__self: _this,
|
|
92
|
-
__source: {
|
|
93
|
-
fileName: _jsxFileName,
|
|
94
|
-
lineNumber: 96,
|
|
95
|
-
columnNumber: 5
|
|
96
|
-
}
|
|
97
|
-
}));
|
|
73
|
+
}, props));
|
|
98
74
|
};
|
|
99
75
|
exports.MessageAvatar = MessageAvatar;
|
|
100
76
|
MessageAvatar.displayName = 'MessageAvatar{messageSimple{avatarWrapper}}';
|