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":["_reactNative","require","_reactNativeReanimated","_OverlayContext","_native","HasPinched","exports","IsSwiping","MARGIN","useImageGalleryGestures","_ref","currentImageHeight","halfScreenHeight","halfScreenWidth","headerFooterVisible","offsetScale","overlayOpacity","photoLength","scale","screenHeight","screenWidth","selectedIndex","setSelectedIndex","translateX","translateY","translationX","_useOverlayContext","useOverlayContext","setOverlay","isAndroid","Platform","OS","hasHitBottomScale","useSharedValue","hasHitTopScale","originX","originY","oldFocalX","oldFocalY","focalX","focalY","index","value","offsetX","offsetY","focalOffsetX","focalOffsetY","adjustedFocalX","adjustedFocalY","tapX","tapY","numberOfPinchFingers","isSwiping","isPinch","hasPinched","resetTouchValues","UNDETERMINED","resetMovementValues","onPan","useAnimatedGestureHandler","onActive","evt","numberOfPointers","TRUE","FALSE","translationY","maxXYRatio","Math","abs","localEvtScale","onFinish","finalXPosition","velocityX","finalYPosition","velocityY","cancelAnimation","withTiming","duration","easing","Easing","out","ease","runOnJS","withDecay","clamp","deceleration","velocity","onStart","onPinch","triggerHaptic","onSingleTap","onDoubleTap","absoluteX","absoluteY","translateYTopBottom","lowerBound","upperBound","min","max"],"sources":["useImageGalleryGestures.tsx"],"sourcesContent":["import { Platform } from 'react-native';\nimport type {\n PanGestureHandlerGestureEvent,\n PinchGestureHandlerGestureEvent,\n TapGestureHandlerGestureEvent,\n} from 'react-native-gesture-handler';\nimport {\n cancelAnimation,\n Easing,\n runOnJS,\n SharedValue,\n useAnimatedGestureHandler,\n useSharedValue,\n withDecay,\n withTiming,\n} from 'react-native-reanimated';\n\nimport { useOverlayContext } from '../../../contexts/overlayContext/OverlayContext';\nimport { triggerHaptic } from '../../../native';\n\nexport enum HasPinched {\n FALSE = 0,\n TRUE,\n}\n\nexport enum IsSwiping {\n UNDETERMINED = 0,\n TRUE,\n FALSE,\n}\n\nconst MARGIN = 32;\n\nexport const useImageGalleryGestures = ({\n currentImageHeight,\n halfScreenHeight,\n halfScreenWidth,\n headerFooterVisible,\n offsetScale,\n overlayOpacity,\n photoLength,\n scale,\n screenHeight,\n screenWidth,\n selectedIndex,\n setSelectedIndex,\n translateX,\n translateY,\n translationX,\n}: {\n currentImageHeight: number;\n halfScreenHeight: number;\n halfScreenWidth: number;\n headerFooterVisible: SharedValue<number>;\n offsetScale: SharedValue<number>;\n overlayOpacity: SharedValue<number>;\n photoLength: number;\n scale: SharedValue<number>;\n screenHeight: number;\n screenWidth: number;\n selectedIndex: number;\n setSelectedIndex: React.Dispatch<React.SetStateAction<number>>;\n translateX: SharedValue<number>;\n translateY: SharedValue<number>;\n translationX: SharedValue<number>;\n}) => {\n const { setOverlay } = useOverlayContext();\n const isAndroid = Platform.OS === 'android';\n\n /**\n * Values to track scale for haptic feedback firing\n */\n const hasHitBottomScale = useSharedValue(1);\n const hasHitTopScale = useSharedValue(0);\n\n /**\n * Shared values for touch tracking\n */\n const originX = useSharedValue(0);\n const originY = useSharedValue(0);\n const oldFocalX = useSharedValue(0);\n const oldFocalY = useSharedValue(0);\n const focalX = useSharedValue(0);\n const focalY = useSharedValue(0);\n const index = useSharedValue(0);\n\n /**\n * if a specific image index > 0 has been passed in\n * while creating the hook, set the value of the index\n * reference to its value.\n *\n * This makes it possible to seelct an image in the list,\n * and scroll/pan as normal. Prior to this,\n * it was always assumed that one started at index 0 in the\n * gallery.\n * */\n if (index.value !== selectedIndex) {\n index.value = selectedIndex;\n }\n\n /**\n * Shared values for movement\n */\n const offsetX = useSharedValue(0);\n const offsetY = useSharedValue(0);\n\n /**\n * Shared values for touch tracking\n */\n const focalOffsetX = useSharedValue(0);\n const focalOffsetY = useSharedValue(0);\n const adjustedFocalX = useSharedValue(0);\n const adjustedFocalY = useSharedValue(0);\n const tapX = useSharedValue(0);\n const tapY = useSharedValue(0);\n\n /**\n * Shared values for gesture tracking\n */\n const numberOfPinchFingers = useSharedValue(0);\n const isSwiping = useSharedValue(0);\n const isPinch = useSharedValue(false);\n const hasPinched = useSharedValue(0);\n\n /**\n * Reset gesture values for use on touch release\n */\n const resetTouchValues = () => {\n 'worklet';\n focalX.value = 0;\n focalY.value = 0;\n oldFocalX.value = 0;\n oldFocalY.value = 0;\n originX.value = 0;\n originY.value = 0;\n focalOffsetX.value = 0;\n focalOffsetY.value = 0;\n numberOfPinchFingers.value = 0;\n isPinch.value = false;\n isSwiping.value = IsSwiping.UNDETERMINED;\n };\n\n /**\n * Reset movement values for use on selected photo change\n */\n const resetMovementValues = () => {\n 'worklet';\n translateX.value = 0;\n translateY.value = 0;\n scale.value = 1;\n offsetScale.value = 1;\n };\n\n /**\n * We use simultaneousHandlers to allow pan and pinch gesture handlers\n * depending on the gesture. The touch is fully handled by the pinch\n * gesture handler once it has began so all interactions by the pan\n * handler are blocked if isPinch.value is true\n */\n const onPan = useAnimatedGestureHandler<PanGestureHandlerGestureEvent>(\n {\n onActive: (evt) => {\n if (evt.numberOfPointers === 1 && !isPinch.value) {\n /**\n * If Android where a second finger cannot be added back and\n * removing one finger returns to Pan Handler then adjust origin\n * on finger remove and set swiping false\n */\n if (isAndroid && hasPinched.value === HasPinched.TRUE) {\n hasPinched.value = HasPinched.FALSE;\n isSwiping.value = IsSwiping.FALSE;\n offsetX.value = translateX.value + evt.translationX;\n offsetY.value = translateY.value - evt.translationY;\n }\n\n /**\n * isSwiping is used to prevent Y movement if a clear swipe to next\n * or previous is begun when at the edge of a photo. The value is\n * either 0, 1, or 2, via the IsSwiping enum designating undetermined,\n * true, or false and is reset on releasing the touch\n */\n if (isSwiping.value === IsSwiping.UNDETERMINED) {\n const maxXYRatio = isAndroid ? 1 : 0.25;\n if (\n Math.abs(evt.translationX / evt.translationY) > maxXYRatio &&\n (Math.abs(-halfScreenWidth * (scale.value - 1) - offsetX.value) < 3 ||\n Math.abs(halfScreenWidth * (scale.value - 1) - offsetX.value) < 3)\n ) {\n isSwiping.value = IsSwiping.TRUE;\n }\n if (Math.abs(evt.translationY) > 25) {\n isSwiping.value = IsSwiping.FALSE;\n }\n }\n\n /**\n * localEvtScale is used for swipe away\n */\n const localEvtScale = scale.value / offsetScale.value;\n\n /**\n * If not swiping translate the image in X and Y to the event\n * translation plus offset. If swiping only translate X, if\n * swiping down when at top of screen or centered balance scale\n * using offset to a degree (this needs improvement the calculation\n * is incorrect but likely needs origin use to be 100%)\n */\n translateX.value =\n scale.value !== offsetScale.value\n ? offsetX.value * localEvtScale - evt.translationX\n : offsetX.value - evt.translationX;\n translateY.value =\n isSwiping.value !== IsSwiping.TRUE\n ? scale.value !== offsetScale.value\n ? offsetY.value * localEvtScale + evt.translationY\n : offsetY.value + evt.translationY\n : translateY.value;\n\n /**\n * If swiping down start scaling down the image for swipe\n * away effect\n */\n scale.value =\n currentImageHeight * offsetScale.value < screenHeight && translateY.value > 0\n ? offsetScale.value * (1 - (1 / 3) * (translateY.value / screenHeight))\n : currentImageHeight * offsetScale.value > screenHeight &&\n translateY.value > (currentImageHeight / 2) * offsetScale.value - halfScreenHeight\n ? offsetScale.value *\n (1 -\n (1 / 3) *\n ((translateY.value -\n ((currentImageHeight / 2) * offsetScale.value - halfScreenHeight)) /\n screenHeight))\n : scale.value;\n\n overlayOpacity.value = localEvtScale;\n }\n },\n onFinish: (evt) => {\n if (!isPinch.value && evt.numberOfPointers < 2) {\n /**\n * To determine if the fling should page to the next image we\n * calculate a final position based on the current position and\n * event velocity\n */\n const finalXPosition = evt.translationX - evt.velocityX * 0.3;\n const finalYPosition = evt.translationY + evt.velocityY * 0.1;\n\n /**\n * If there is a next photo, the image is lined up to the right\n * edge, the swipe is to the left, and the final position is more\n * than half the screen width, move to the next image\n */\n if (\n index.value < photoLength - 1 &&\n Math.abs(halfScreenWidth * (scale.value - 1) + offsetX.value) < 3 &&\n translateX.value < 0 &&\n finalXPosition < -halfScreenWidth &&\n isSwiping.value === IsSwiping.TRUE\n ) {\n cancelAnimation(translationX);\n translationX.value = withTiming(\n -(screenWidth + MARGIN) * (index.value + 1),\n {\n duration: 200,\n easing: Easing.out(Easing.ease),\n },\n () => {\n resetMovementValues();\n index.value = index.value + 1;\n runOnJS(setSelectedIndex)(index.value);\n },\n );\n\n /**\n * If there is a previous photo, the image is lined up to the left\n * edge, the swipe is to the right, and the final position is more\n * than half the screen width, move to the previous image\n */\n } else if (\n index.value > 0 &&\n Math.abs(-halfScreenWidth * (scale.value - 1) + offsetX.value) < 3 &&\n translateX.value > 0 &&\n finalXPosition > halfScreenWidth &&\n isSwiping.value === IsSwiping.TRUE\n ) {\n cancelAnimation(translationX);\n translationX.value = withTiming(\n -(screenWidth + MARGIN) * (index.value - 1),\n {\n duration: 200,\n easing: Easing.out(Easing.ease),\n },\n () => {\n resetMovementValues();\n index.value = index.value - 1;\n runOnJS(setSelectedIndex)(index.value);\n },\n );\n }\n\n /**\n * When the pan is finished if the scale is less than 1 return the\n * photo to center, if the photo is inside the edges of the screen\n * return the photo to line up with the edges, otherwise use decay\n * with a clamping at the edges to give the effect the image is\n * sliding along using velocity and friction\n */\n translateX.value =\n scale.value < 1\n ? withTiming(0)\n : translateX.value > halfScreenWidth * (scale.value - 1)\n ? withTiming(halfScreenWidth * (scale.value - 1), {\n duration: 200,\n })\n : translateX.value < -halfScreenWidth * (scale.value - 1)\n ? withTiming(-halfScreenWidth * (scale.value - 1), {\n duration: 200,\n })\n : withDecay({\n clamp: [\n -halfScreenWidth * (scale.value - 1),\n halfScreenWidth * (scale.value - 1),\n ],\n deceleration: 0.99,\n velocity: -evt.velocityX,\n });\n\n /**\n * When the pan is finished if the height is less than the screen\n * height return the photo to center, if the photo is inside the\n * edges of the screen return the photo to line up with the edges,\n * otherwise use decay with a clamping at the edges to give the effect\n * the image is sliding along using velocity and friction\n */\n translateY.value =\n currentImageHeight * scale.value < screenHeight\n ? withTiming(0)\n : translateY.value > (currentImageHeight / 2) * scale.value - halfScreenHeight\n ? withTiming((currentImageHeight / 2) * scale.value - halfScreenHeight)\n : translateY.value < (-currentImageHeight / 2) * scale.value + halfScreenHeight\n ? withTiming((-currentImageHeight / 2) * scale.value + halfScreenHeight)\n : withDecay({\n clamp: [\n (-currentImageHeight / 2) * scale.value + halfScreenHeight,\n (currentImageHeight / 2) * scale.value - halfScreenHeight,\n ],\n deceleration: 0.99,\n velocity: evt.velocityY,\n });\n\n resetTouchValues();\n\n /**\n * If the scale has been reduced below one, i.e. zoomed out, translate\n * the zoom back to one\n */\n scale.value =\n scale.value !== offsetScale.value ? withTiming(offsetScale.value) : offsetScale.value;\n\n /**\n * If the photo is centered or at the top of the screen if scaled larger\n * than the screen, and not paging left or right, and the final Y position\n * is greater than half the screen using swipe velocity and position, close\n * the overlay\n */\n if (\n finalYPosition > halfScreenHeight &&\n offsetY.value + 8 >= (currentImageHeight / 2) * scale.value - halfScreenHeight &&\n isSwiping.value !== IsSwiping.TRUE &&\n translateY.value !== 0 &&\n !(\n Math.abs(halfScreenWidth * (scale.value - 1) + offsetX.value) < 3 &&\n translateX.value < 0 &&\n finalXPosition < -halfScreenWidth\n ) &&\n !(\n Math.abs(-halfScreenWidth * (scale.value - 1) + offsetX.value) < 3 &&\n translateX.value > 0 &&\n finalXPosition > halfScreenWidth\n )\n ) {\n cancelAnimation(translateX);\n cancelAnimation(translateY);\n cancelAnimation(scale);\n overlayOpacity.value = withTiming(\n 0,\n {\n duration: 200,\n easing: Easing.out(Easing.ease),\n },\n () => {\n runOnJS(setOverlay)('none');\n },\n );\n scale.value = withTiming(0.6, {\n duration: 200,\n easing: Easing.out(Easing.ease),\n });\n translateY.value =\n evt.velocityY > 1000\n ? withDecay({\n velocity: evt.velocityY,\n })\n : withTiming(halfScreenHeight + (currentImageHeight / 2) * scale.value, {\n duration: 200,\n easing: Easing.out(Easing.ease),\n });\n translateX.value = withDecay({\n velocity: -evt.velocityX,\n });\n }\n }\n },\n onStart: () => {\n if (!isPinch.value) {\n /**\n * Cancel any previous motion animation on translations when a touch\n * begins to interrupt the animation and take over the position handling\n */\n cancelAnimation(translateX);\n cancelAnimation(translateY);\n cancelAnimation(scale);\n offsetX.value = translateX.value;\n offsetY.value = translateY.value;\n }\n\n /**\n * Reset hasPinched for Android single finger offset\n */\n hasPinched.value = HasPinched.FALSE;\n },\n },\n [currentImageHeight, photoLength],\n );\n\n /**\n * On pinch is run when two or more fingers touch the screen, it then takes over\n * all touch handling even if the number of fingers is reduced to one until the\n * touch is complete\n */\n const onPinch = useAnimatedGestureHandler<PinchGestureHandlerGestureEvent>(\n {\n onActive: (evt) => {\n /**\n * Android starts with a zero event with 1 touch instead of two\n * we therefore must wait to capture starting info until the double\n * touch begins\n */\n if (!isPinch.value && isAndroid) {\n /**\n * Set hasPinched to true so when removing one finger the pan active\n * state adjusts the offset\n */\n hasPinched.value = HasPinched.TRUE;\n\n /**\n * Cancel any previous motion animation on translations when a touch\n * begins to interrupt the animation and take over the position handling\n */\n cancelAnimation(translateX);\n cancelAnimation(translateY);\n cancelAnimation(scale);\n\n /**\n * Reset isSwiping as now the pan gesture handler is no longer running\n */\n isSwiping.value = IsSwiping.UNDETERMINED;\n\n /**\n * Set initial values for pinch gesture interaction handler\n */\n numberOfPinchFingers.value = evt.numberOfPointers;\n offsetX.value = translateX.value;\n offsetY.value = translateY.value;\n adjustedFocalX.value = evt.focalX - (halfScreenWidth - offsetX.value);\n adjustedFocalY.value = evt.focalY - (halfScreenHeight + offsetY.value);\n originX.value = adjustedFocalX.value;\n originY.value = adjustedFocalY.value;\n offsetScale.value = scale.value;\n }\n\n /**\n * Set pinch to true to stop all pan gesture interactions, we do this\n * again here for Android outside the check that creates type\n */\n isPinch.value = true;\n\n /**\n * The scale is clamped to a minimum of 1 and maximum of 8 for aesthetics.\n * We use the clamped value to determine a local event scale so the focal\n * point does not become out of sync with the actual photo scaling, e.g.\n * evt.scale is 20 but scale is 8, using evt.scale for offset will put the\n * photo and calculations out of sync\n */\n scale.value = clamp(offsetScale.value * evt.scale, 1, 8);\n const localEvtScale = scale.value / offsetScale.value;\n\n /**\n * When we hit the top or bottom of the scale clamping we run a haptic\n * trigger, we track if it has been run to not spam the trigger\n */\n if (scale.value !== 8 && scale.value !== 1) {\n hasHitTopScale.value = 0;\n hasHitBottomScale.value = 0;\n } else if (scale.value === 8 && hasHitTopScale.value === 0) {\n hasHitTopScale.value = 1;\n runOnJS(triggerHaptic)('impactLight');\n } else if (scale.value === 1 && hasHitBottomScale.value === 0) {\n hasHitBottomScale.value = 1;\n runOnJS(triggerHaptic)('impactLight');\n }\n\n /**\n * We calculate the adjusted focal point on the photo using the events\n * focal position on the screen, screen size, and current photo offset\n */\n adjustedFocalX.value = evt.focalX - (halfScreenWidth - offsetX.value);\n adjustedFocalY.value = evt.focalY - (halfScreenHeight + offsetY.value);\n\n /**\n * If the number of fingers on the screen changes, the position of the\n * focal point will change and this needs to be accounted for, e.g. if\n * two fingers are on the screen the focal is between them, but if one is\n * then removed the focal is now at the remaining fingers touch position.\n * If this happens without accounting for the change the image will jump\n * around, we keep track of the previous two finger focal to adjust for this\n * change in a reduction from two fingers to one, then if another finger\n * is added again we adjust the origin to account for the difference between\n * the original two finger touch and the new two finger touch position.\n */\n if (numberOfPinchFingers.value !== evt.numberOfPointers) {\n numberOfPinchFingers.value = evt.numberOfPointers;\n if (evt.numberOfPointers === 1) {\n focalOffsetX.value = oldFocalX.value - adjustedFocalX.value;\n focalOffsetY.value = oldFocalY.value - adjustedFocalY.value;\n } else if (numberOfPinchFingers.value > 1) {\n originX.value =\n originX.value -\n (oldFocalX.value / localEvtScale - adjustedFocalX.value / localEvtScale);\n originY.value =\n originY.value -\n (oldFocalY.value / localEvtScale - adjustedFocalY.value / localEvtScale);\n }\n }\n\n /**\n * If pinch handler has been activated via two fingers then the fingers\n * reduced to one we keep track of the old focal using the focal offset\n * from when the number of fingers was two. We then translate the photo\n * taking into account the offset, focal, focal offset, origin, and scale.\n */\n if (numberOfPinchFingers.value === 1) {\n oldFocalX.value = adjustedFocalX.value + focalOffsetX.value;\n oldFocalY.value = adjustedFocalY.value + focalOffsetY.value;\n translateX.value = offsetX.value - oldFocalX.value + localEvtScale * originX.value;\n translateY.value = offsetY.value + oldFocalY.value - localEvtScale * originY.value;\n\n /**\n * If the number of fingers in the gesture is greater than one the\n * adjusted focal point is saved as the old focal and the photo is\n * translated taking into account the offset, focal, origin, and scale.\n */\n } else if (numberOfPinchFingers.value > 1) {\n oldFocalX.value = adjustedFocalX.value;\n oldFocalY.value = adjustedFocalY.value;\n translateX.value = offsetX.value - adjustedFocalX.value + localEvtScale * originX.value;\n translateY.value = offsetY.value + adjustedFocalY.value - localEvtScale * originY.value;\n }\n },\n onFinish: () => {\n if (isPinch.value) {\n /**\n * When the pinch is finished if the scale is less than 1 return the\n * photo to center, if the photo is inside the edges of the screen\n * return the photo to line up with the edges, otherwise leave the\n * photo in its current position\n */\n translateX.value =\n scale.value < 1\n ? withTiming(0)\n : translateX.value > halfScreenWidth * (scale.value - 1)\n ? withTiming(halfScreenWidth * (scale.value - 1))\n : translateX.value < -halfScreenWidth * (scale.value - 1)\n ? withTiming(-halfScreenWidth * (scale.value - 1))\n : translateX.value;\n\n /**\n * When the pinch is finished if the height is less than the screen\n * height return the photo to center, if the photo is inside the\n * edges of the screen return the photo to line up with the edges,\n * otherwise leave the photo in its current position\n */\n translateY.value =\n currentImageHeight * scale.value < screenHeight\n ? withTiming(0)\n : translateY.value > (currentImageHeight / 2) * scale.value - screenHeight / 2\n ? withTiming((currentImageHeight / 2) * scale.value - screenHeight / 2)\n : translateY.value < (-currentImageHeight / 2) * scale.value + screenHeight / 2\n ? withTiming((-currentImageHeight / 2) * scale.value + screenHeight / 2)\n : translateY.value;\n\n /**\n * If the scale has been reduced below one, i.e. zoomed out, translate\n * the zoom back to one\n */\n offsetScale.value = scale.value < 1 ? 1 : scale.value;\n scale.value = scale.value < 1 ? withTiming(1) : scale.value;\n resetTouchValues();\n }\n },\n onStart: (evt) => {\n /**\n * Android starts with a zero event with 1 touch instead of two\n * we therefore must wait to capture starting info until the double\n * touch begins\n */\n if (!isAndroid) {\n /**\n * Cancel any previous motion animation on translations when a touch\n * begins to interrupt the animation and take over the position handling\n */\n cancelAnimation(translateX);\n cancelAnimation(translateY);\n cancelAnimation(scale);\n\n /**\n * Set pinch to true to stop all pan gesture interactions\n */\n isPinch.value = true;\n\n /**\n * Reset isSwiping as now the pan gesture handler is no longer running\n */\n isSwiping.value = IsSwiping.UNDETERMINED;\n\n /**\n * Set initial values for pinch gesture interaction handler\n */\n numberOfPinchFingers.value = evt.numberOfPointers;\n offsetX.value = translateX.value;\n offsetY.value = translateY.value;\n adjustedFocalX.value = evt.focalX - (halfScreenWidth - offsetX.value);\n adjustedFocalY.value = evt.focalY - (halfScreenHeight + offsetY.value);\n originX.value = adjustedFocalX.value;\n originY.value = adjustedFocalY.value;\n offsetScale.value = scale.value;\n }\n\n /**\n * Reset hasPinched for Android single finger offset\n */\n hasPinched.value = HasPinched.FALSE;\n },\n },\n [currentImageHeight],\n );\n\n /**\n * Single tap handler for header hiding and showing\n */\n const onSingleTap = useAnimatedGestureHandler<TapGestureHandlerGestureEvent>({\n onActive: () => {\n cancelAnimation(headerFooterVisible);\n headerFooterVisible.value = headerFooterVisible.value > 0 ? withTiming(0) : withTiming(1);\n },\n });\n\n /**\n * Double tap handler to zoom back out and hide header and footer\n */\n const onDoubleTap = useAnimatedGestureHandler<TapGestureHandlerGestureEvent>({\n onActive: (evt) => {\n if (Math.abs(tapX.value - evt.absoluteX) < 64 && Math.abs(tapY.value - evt.absoluteY) < 64) {\n if (offsetScale.value === 1 && offsetX.value === 0 && offsetY.value === 0) {\n offsetScale.value = 2;\n scale.value = withTiming(2, {\n duration: 200,\n easing: Easing.out(Easing.ease),\n });\n translateX.value = withTiming(evt.absoluteX - halfScreenWidth, {\n duration: 200,\n easing: Easing.out(Easing.ease),\n });\n if (currentImageHeight * 2 > screenHeight) {\n const translateYTopBottom =\n evt.absoluteY > halfScreenHeight\n ? -(currentImageHeight * 2 - screenHeight) / 2\n : (currentImageHeight * 2 - screenHeight) / 2;\n translateY.value = withTiming(translateYTopBottom, {\n duration: 200,\n easing: Easing.out(Easing.ease),\n });\n }\n } else {\n offsetScale.value = 1;\n scale.value = withTiming(1, {\n duration: 200,\n easing: Easing.out(Easing.ease),\n });\n offsetX.value = 0;\n offsetY.value = 0;\n translateX.value = withTiming(0, {\n duration: 200,\n easing: Easing.out(Easing.ease),\n });\n translateY.value = withTiming(0, {\n duration: 200,\n easing: Easing.out(Easing.ease),\n });\n if (headerFooterVisible.value !== 0) {\n cancelAnimation(headerFooterVisible);\n headerFooterVisible.value = withTiming(0);\n }\n }\n }\n },\n onStart: (evt) => {\n tapX.value = evt.absoluteX;\n tapY.value = evt.absoluteY;\n },\n });\n\n return {\n onDoubleTap,\n onPan,\n onPinch,\n onSingleTap,\n };\n};\n\n/**\n * Clamping worklet to clamp the scaling\n */\nexport const clamp = (value: number, lowerBound: number, upperBound: number) => {\n 'worklet';\n return Math.min(Math.max(lowerBound, value), upperBound);\n};\n"],"mappings":";;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAMA,IAAAC,sBAAA,GAAAD,OAAA;AAWA,IAAAE,eAAA,GAAAF,OAAA;AACA,IAAAG,OAAA,GAAAH,OAAA;AAAgD,IAEpCI,UAAU,aAAVA,UAAU;EAAVA,UAAU,CAAVA,UAAU;EAAVA,UAAU,CAAVA,UAAU;EAAA,OAAVA,UAAU;AAAA;AAAAC,OAAA,CAAAD,UAAA,GAAAA,UAAA;AAAA,IAKVE,SAAS,aAATA,SAAS;EAATA,SAAS,CAATA,SAAS;EAATA,SAAS,CAATA,SAAS;EAATA,SAAS,CAATA,SAAS;EAAA,OAATA,SAAS;AAAA;AAAAD,OAAA,CAAAC,SAAA,GAAAA,SAAA;AAMrB,IAAMC,MAAM,GAAG,EAAE;AAEV,IAAMC,uBAAuB,GAAG,SAA1BA,uBAAuBA,CAAAC,IAAA,EAgC9B;EAAA,IA/BJC,kBAAkB,GAAAD,IAAA,CAAlBC,kBAAkB;IAClBC,gBAAgB,GAAAF,IAAA,CAAhBE,gBAAgB;IAChBC,eAAe,GAAAH,IAAA,CAAfG,eAAe;IACfC,mBAAmB,GAAAJ,IAAA,CAAnBI,mBAAmB;IACnBC,WAAW,GAAAL,IAAA,CAAXK,WAAW;IACXC,cAAc,GAAAN,IAAA,CAAdM,cAAc;IACdC,WAAW,GAAAP,IAAA,CAAXO,WAAW;IACXC,KAAK,GAAAR,IAAA,CAALQ,KAAK;IACLC,YAAY,GAAAT,IAAA,CAAZS,YAAY;IACZC,WAAW,GAAAV,IAAA,CAAXU,WAAW;IACX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CAAC;AAAC1F,OAAA,CAAA8E,KAAA,GAAAA,KAAA"}
|
|
1
|
+
{"version":3,"names":["_reactNative","require","_reactNativeReanimated","_OverlayContext","_native","HasPinched","exports","IsSwiping","MARGIN","useImageGalleryGestures","_ref","currentImageHeight","halfScreenHeight","halfScreenWidth","headerFooterVisible","offsetScale","overlayOpacity","photoLength","scale","screenHeight","screenWidth","selectedIndex","setSelectedIndex","translateX","translateY","translationX","_useOverlayContext","useOverlayContext","setOverlay","isAndroid","Platform","OS","hasHitBottomScale","useSharedValue","hasHitTopScale","originX","originY","oldFocalX","oldFocalY","focalX","focalY","index","value","offsetX","offsetY","focalOffsetX","focalOffsetY","adjustedFocalX","adjustedFocalY","tapX","tapY","numberOfPinchFingers","isSwiping","isPinch","hasPinched","resetTouchValues","UNDETERMINED","resetMovementValues","onPan","useAnimatedGestureHandler","onActive","evt","numberOfPointers","TRUE","FALSE","translationY","maxXYRatio","Math","abs","localEvtScale","onFinish","finalXPosition","velocityX","finalYPosition","velocityY","cancelAnimation","withTiming","duration","easing","Easing","out","ease","runOnJS","withDecay","clamp","deceleration","velocity","onStart","onPinch","triggerHaptic","onSingleTap","onDoubleTap","absoluteX","absoluteY","translateYTopBottom","lowerBound","upperBound","min","max"],"sourceRoot":"../../../../../src","sources":["components/ImageGallery/hooks/useImageGalleryGestures.tsx"],"mappings":";;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAMA,IAAAC,sBAAA,GAAAD,OAAA;AAWA,IAAAE,eAAA,GAAAF,OAAA;AACA,IAAAG,OAAA,GAAAH,OAAA;AAAgD,IAEpCI,UAAU,aAAVA,UAAU;EAAVA,UAAU,CAAVA,UAAU;EAAVA,UAAU,CAAVA,UAAU;EAAA,OAAVA,UAAU;AAAA;AAAAC,OAAA,CAAAD,UAAA,GAAAA,UAAA;AAAA,IAKVE,SAAS,aAATA,SAAS;EAATA,SAAS,CAATA,SAAS;EAATA,SAAS,CAATA,SAAS;EAATA,SAAS,CAATA,SAAS;EAA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;IACDW,OAAO,EAAE,SAAAA,QAAC1B,GAAG,EAAK;MAChBZ,IAAI,CAACP,KAAK,GAAGmB,GAAG,CAAC+B,SAAS;MAC1B1C,IAAI,CAACR,KAAK,GAAGmB,GAAG,CAACgC,SAAS;IAC5B;EACF,CAAC,CAAC;EAEF,OAAO;IACLF,WAAW,EAAXA,WAAW;IACXjC,KAAK,EAALA,KAAK;IACL8B,OAAO,EAAPA,OAAO;IACPE,WAAW,EAAXA;EACF,CAAC;AACH,CAAC;AAACpF,OAAA,CAAAG,uBAAA,GAAAA,uBAAA;AAKK,IAAM2E,KAAK,GAAG,SAARA,KAAKA,CAAI1C,KAAa,EAAEqD,UAAkB,EAAEC,UAAkB,EAAK;EAC9E,SAAS;;EACT,OAAO7B,IAAI,CAAC8B,GAAG,CAAC9B,IAAI,CAAC+B,GAAG,CAACH,UAAU,EAAErD,KAAK,CAAC,EAAEsD,UAAU,CAAC;AAC1D,CAAC;AAAC1F,OAAA,CAAA8E,KAAA,GAAAA,KAAA","ignoreList":[]}
|
|
@@ -9,6 +9,7 @@ var _ThemeContext = require("../../contexts/themeContext/ThemeContext");
|
|
|
9
9
|
var _TranslationContext = require("../../contexts/translationContext/TranslationContext");
|
|
10
10
|
var _useViewport2 = require("../../hooks/useViewport");
|
|
11
11
|
var _MessageIcon = require("../../icons/MessageIcon");
|
|
12
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
12
13
|
var _this = this,
|
|
13
14
|
_jsxFileName = "/home/runner/work/stream-chat-react-native/stream-chat-react-native/package/src/components/Indicators/EmptyStateIndicator.tsx";
|
|
14
15
|
var styles = _reactNative.StyleSheet.create({
|
|
@@ -46,62 +47,36 @@ var EmptyStateIndicator = function EmptyStateIndicator(_ref) {
|
|
|
46
47
|
t = _useTranslationContex.t;
|
|
47
48
|
switch (listType) {
|
|
48
49
|
case 'channel':
|
|
49
|
-
return
|
|
50
|
+
return (0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
50
51
|
style: [styles.channelContainer, channelContainer],
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
}, channelTitle],
|
|
71
|
-
testID: "empty-channel-state-title",
|
|
72
|
-
__self: _this,
|
|
73
|
-
__source: {
|
|
74
|
-
fileName: _jsxFileName,
|
|
75
|
-
lineNumber: 46,
|
|
76
|
-
columnNumber: 11
|
|
77
|
-
}
|
|
78
|
-
}, t("Let's start chatting!")), _react["default"].createElement(_reactNative.Text, {
|
|
79
|
-
style: [styles.channelDetails, {
|
|
80
|
-
color: grey,
|
|
81
|
-
width: vw(66)
|
|
82
|
-
}, channelDetails],
|
|
83
|
-
testID: "empty-channel-state-details",
|
|
84
|
-
__self: _this,
|
|
85
|
-
__source: {
|
|
86
|
-
fileName: _jsxFileName,
|
|
87
|
-
lineNumber: 52,
|
|
88
|
-
columnNumber: 11
|
|
89
|
-
}
|
|
90
|
-
}, t('How about sending your first message to a friend?')));
|
|
52
|
+
children: [(0, _jsxRuntime.jsx)(_MessageIcon.MessageIcon, {
|
|
53
|
+
height: width,
|
|
54
|
+
pathFill: grey_gainsboro,
|
|
55
|
+
width: width
|
|
56
|
+
}), (0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
57
|
+
style: [styles.channelTitle, {
|
|
58
|
+
color: black
|
|
59
|
+
}, channelTitle],
|
|
60
|
+
testID: "empty-channel-state-title",
|
|
61
|
+
children: t("Let's start chatting!")
|
|
62
|
+
}), (0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
63
|
+
style: [styles.channelDetails, {
|
|
64
|
+
color: grey,
|
|
65
|
+
width: vw(66)
|
|
66
|
+
}, channelDetails],
|
|
67
|
+
testID: "empty-channel-state-details",
|
|
68
|
+
children: t('How about sending your first message to a friend?')
|
|
69
|
+
})]
|
|
70
|
+
});
|
|
91
71
|
case 'message':
|
|
92
72
|
return null;
|
|
93
73
|
default:
|
|
94
|
-
return
|
|
74
|
+
return (0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
95
75
|
style: {
|
|
96
76
|
color: black
|
|
97
77
|
},
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
fileName: _jsxFileName,
|
|
101
|
-
lineNumber: 63,
|
|
102
|
-
columnNumber: 14
|
|
103
|
-
}
|
|
104
|
-
}, "No items exist");
|
|
78
|
+
children: "No items exist"
|
|
79
|
+
});
|
|
105
80
|
}
|
|
106
81
|
};
|
|
107
82
|
exports.EmptyStateIndicator = EmptyStateIndicator;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_ThemeContext","_TranslationContext","_useViewport2","_MessageIcon","_this","_jsxFileName","styles","StyleSheet","create","channelContainer","alignItems","flex","justifyContent","channelDetails","fontSize","textAlign","channelTitle","paddingBottom","paddingTop","EmptyStateIndicator","_ref","listType","_useTheme","useTheme","_useTheme$theme","theme","_useTheme$theme$color","colors","black","grey","grey_gainsboro","_useTheme$theme$empty","emptyStateIndicator","_useViewport","useViewport","vw","width","_useTranslationContex","useTranslationContext","t","
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_ThemeContext","_TranslationContext","_useViewport2","_MessageIcon","_jsxRuntime","_this","_jsxFileName","styles","StyleSheet","create","channelContainer","alignItems","flex","justifyContent","channelDetails","fontSize","textAlign","channelTitle","paddingBottom","paddingTop","EmptyStateIndicator","_ref","listType","_useTheme","useTheme","_useTheme$theme","theme","_useTheme$theme$color","colors","black","grey","grey_gainsboro","_useTheme$theme$empty","emptyStateIndicator","_useViewport","useViewport","vw","width","_useTranslationContex","useTranslationContext","t","jsxs","View","style","children","jsx","MessageIcon","height","pathFill","Text","color","testID","exports"],"sourceRoot":"../../../../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AkD,IAAI;QAACN,KAAK,EAAE;UAAEO,KAAK,EAAErB;QAAM,CAAE;QAAAe,QAAA,EAAC;MAAc,CAAM,CAAC;EAC/D;AACF,CAAC;AAACQ,OAAA,CAAAhC,mBAAA,GAAAA,mBAAA","ignoreList":[]}
|
|
@@ -6,10 +6,11 @@ exports.LoadingDot = void 0;
|
|
|
6
6
|
var _react = _interopRequireWildcard(require("react"));
|
|
7
7
|
var _reactNativeReanimated = _interopRequireWildcard(require("react-native-reanimated"));
|
|
8
8
|
var _ThemeContext = require("../../contexts/themeContext/ThemeContext");
|
|
9
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
9
10
|
var _this = this,
|
|
10
11
|
_jsxFileName = "/home/runner/work/stream-chat-react-native/stream-chat-react-native/package/src/components/Indicators/LoadingDot.tsx";
|
|
11
|
-
function _getRequireWildcardCache(
|
|
12
|
-
function _interopRequireWildcard(
|
|
12
|
+
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); }
|
|
13
|
+
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; }
|
|
13
14
|
var LoadingDot = function LoadingDot(props) {
|
|
14
15
|
var _props$diameter = props.diameter,
|
|
15
16
|
diameter = _props$diameter === void 0 ? 4 : _props$diameter,
|
|
@@ -42,19 +43,13 @@ var LoadingDot = function LoadingDot(props) {
|
|
|
42
43
|
opacity: opacity.value
|
|
43
44
|
};
|
|
44
45
|
}, []);
|
|
45
|
-
return
|
|
46
|
+
return (0, _jsxRuntime.jsx)(_reactNativeReanimated["default"].View, {
|
|
46
47
|
style: [{
|
|
47
48
|
backgroundColor: black,
|
|
48
49
|
borderRadius: diameter / 2,
|
|
49
50
|
height: diameter,
|
|
50
51
|
width: diameter
|
|
51
|
-
}, style, loadingDot, dotStyle]
|
|
52
|
-
__self: _this,
|
|
53
|
-
__source: {
|
|
54
|
-
fileName: _jsxFileName,
|
|
55
|
-
lineNumber: 55,
|
|
56
|
-
columnNumber: 5
|
|
57
|
-
}
|
|
52
|
+
}, style, loadingDot, dotStyle]
|
|
58
53
|
});
|
|
59
54
|
};
|
|
60
55
|
exports.LoadingDot = LoadingDot;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactNativeReanimated","_ThemeContext","_this","_jsxFileName","_getRequireWildcardCache","
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactNativeReanimated","_ThemeContext","_jsxRuntime","_this","_jsxFileName","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","_typeof","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","LoadingDot","props","_props$diameter","diameter","_props$duration","duration","_props$offset","offset","style","halfDuration","startingOffset","_useTheme","useTheme","_useTheme$theme","theme","black","colors","loadingDot","loadingDots","opacity","useSharedValue","useEffect","value","withSequence","withTiming","easing","Easing","linear","withRepeat","dotStyle","useAnimatedStyle","jsx","View","backgroundColor","borderRadius","height","width","exports"],"sourceRoot":"../../../../src","sources":["components/Indicators/LoadingDot.tsx"],"mappings":";;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AAEA,IAAAC,sBAAA,GAAAF,uBAAA,CAAAC,OAAA;AASA,IAAAE,aAAA,GAAAF,OAAA;AAAoE,IAAAG,WAAA,GAAAH,OAAA;AAAA,IAAAI,KAAA;EAAAC,YAAA;A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AAC,EACF,EACF,CAAC;EAED,OACE,IAAA7C,WAAA,CAAAsD,GAAA,EAACxD,sBAAA,WAAQ,CAACyD,IAAI;IACZxB,KAAK,EAAE,CACL;MACEyB,eAAe,EAAElB,KAAK;MACtBmB,YAAY,EAAE/B,QAAQ,GAAG,CAAC;MAC1BgC,MAAM,EAAEhC,QAAQ;MAChBiC,KAAK,EAAEjC;IACT,CAAC,EACDK,KAAK,EACLS,UAAU,EACVY,QAAQ;EACR,CACH,CAAC;AAEN,CAAC;AAACQ,OAAA,CAAArC,UAAA,GAAAA,UAAA","ignoreList":[]}
|
|
@@ -7,6 +7,7 @@ var _react = _interopRequireDefault(require("react"));
|
|
|
7
7
|
var _reactNative = require("react-native");
|
|
8
8
|
var _LoadingDot = require("./LoadingDot");
|
|
9
9
|
var _ThemeContext = require("../../contexts/themeContext/ThemeContext");
|
|
10
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
10
11
|
var _this = this,
|
|
11
12
|
_jsxFileName = "/home/runner/work/stream-chat-react-native/stream-chat-react-native/package/src/components/Indicators/LoadingDots.tsx";
|
|
12
13
|
var LoadingDots = function LoadingDots(props) {
|
|
@@ -24,37 +25,25 @@ var LoadingDots = function LoadingDots(props) {
|
|
|
24
25
|
spacing = _useTheme$theme$loadi.spacing;
|
|
25
26
|
var halfSpacing = spacingProp ? spacingProp / 2 : spacing / 2;
|
|
26
27
|
var offsetLength = duration / numberOfDots;
|
|
27
|
-
return
|
|
28
|
+
return (0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
28
29
|
style: [{
|
|
29
30
|
flexDirection: 'row'
|
|
30
31
|
}, container, style],
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
marginLeft: halfSpacing
|
|
47
|
-
} : {
|
|
48
|
-
marginHorizontal: halfSpacing
|
|
49
|
-
},
|
|
50
|
-
__self: _this,
|
|
51
|
-
__source: {
|
|
52
|
-
fileName: _jsxFileName,
|
|
53
|
-
lineNumber: 31,
|
|
54
|
-
columnNumber: 9
|
|
55
|
-
}
|
|
56
|
-
});
|
|
57
|
-
}));
|
|
32
|
+
children: Array.from(Array(numberOfDots)).map(function (_item, index) {
|
|
33
|
+
return (0, _jsxRuntime.jsx)(_LoadingDot.LoadingDot, {
|
|
34
|
+
diameter: diameter,
|
|
35
|
+
duration: duration,
|
|
36
|
+
offset: duration - offsetLength * (index + 1),
|
|
37
|
+
style: index === 0 ? {
|
|
38
|
+
marginRight: halfSpacing
|
|
39
|
+
} : index === numberOfDots - 1 ? {
|
|
40
|
+
marginLeft: halfSpacing
|
|
41
|
+
} : {
|
|
42
|
+
marginHorizontal: halfSpacing
|
|
43
|
+
}
|
|
44
|
+
}, index);
|
|
45
|
+
})
|
|
46
|
+
});
|
|
58
47
|
};
|
|
59
48
|
exports.LoadingDots = LoadingDots;
|
|
60
49
|
//# sourceMappingURL=LoadingDots.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_LoadingDot","_ThemeContext","_this","_jsxFileName","LoadingDots","props","_props$diameter","diameter","_props$duration","duration","_props$numberOfDots","numberOfDots","spacingProp","spacing","style","_useTheme","useTheme","_useTheme$theme$loadi","theme","loadingDots","container","halfSpacing","offsetLength","
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_LoadingDot","_ThemeContext","_jsxRuntime","_this","_jsxFileName","LoadingDots","props","_props$diameter","diameter","_props$duration","duration","_props$numberOfDots","numberOfDots","spacingProp","spacing","style","_useTheme","useTheme","_useTheme$theme$loadi","theme","loadingDots","container","halfSpacing","offsetLength","jsx","View","flexDirection","children","Array","from","map","_item","index","LoadingDot","offset","marginRight","marginLeft","marginHorizontal","exports"],"sourceRoot":"../../../../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C,CAAC,CAACkB,GAAG,CAAC,UAACC,KAAK,EAAEC,KAAK;MAAA,OAChD,IAAA9B,WAAA,CAAAsB,GAAA,EAACxB,WAAA,CAAAiC,UAAU;QACTzB,QAAQ,EAAEA,QAAS;QACnBE,QAAQ,EAAEA,QAAS;QAEnBwB,MAAM,EAAExB,QAAQ,GAAGa,YAAY,IAAIS,KAAK,GAAG,CAAC,CAAE;QAC9CjB,KAAK,EACHiB,KAAK,KAAK,CAAC,GACP;UAAEG,WAAW,EAAEb;QAAY,CAAC,GAC5BU,KAAK,KAAKpB,YAAY,GAAG,CAAC,GAC1B;UAAEwB,UAAU,EAAEd;QAAY,CAAC,GAC3B;UAAEe,gBAAgB,EAAEf;QAAY;MACrC,GARIU,KASN,CAAC;IAAA,CACH;EAAC,CACE,CAAC;AAEX,CAAC;AAACM,OAAA,CAAAjC,WAAA,GAAAA,WAAA","ignoreList":[]}
|
|
@@ -7,6 +7,7 @@ var _react = _interopRequireDefault(require("react"));
|
|
|
7
7
|
var _reactNative = require("react-native");
|
|
8
8
|
var _ThemeContext = require("../../contexts/themeContext/ThemeContext");
|
|
9
9
|
var _TranslationContext = require("../../contexts/translationContext/TranslationContext");
|
|
10
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
10
11
|
var _this = this,
|
|
11
12
|
_jsxFileName = "/home/runner/work/stream-chat-react-native/stream-chat-react-native/package/src/components/Indicators/LoadingErrorIndicator.tsx";
|
|
12
13
|
var styles = _reactNative.StyleSheet.create({
|
|
@@ -36,27 +37,17 @@ var LoadingErrorWrapper = function LoadingErrorWrapper(props) {
|
|
|
36
37
|
_useTheme$theme$loadi = _useTheme$theme.loadingErrorIndicator,
|
|
37
38
|
container = _useTheme$theme$loadi.container,
|
|
38
39
|
errorText = _useTheme$theme$loadi.errorText;
|
|
39
|
-
return
|
|
40
|
+
return (0, _jsxRuntime.jsxs)(_reactNative.TouchableOpacity, {
|
|
40
41
|
onPress: onPress,
|
|
41
42
|
style: [styles.container, container],
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
color: accent_red
|
|
51
|
-
}, errorText],
|
|
52
|
-
testID: "loading-error",
|
|
53
|
-
__self: _this,
|
|
54
|
-
__source: {
|
|
55
|
-
fileName: _jsxFileName,
|
|
56
|
-
lineNumber: 42,
|
|
57
|
-
columnNumber: 7
|
|
58
|
-
}
|
|
59
|
-
}, text), children);
|
|
43
|
+
children: [(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
44
|
+
style: [styles.errorText, {
|
|
45
|
+
color: accent_red
|
|
46
|
+
}, errorText],
|
|
47
|
+
testID: "loading-error",
|
|
48
|
+
children: text
|
|
49
|
+
}), children]
|
|
50
|
+
});
|
|
60
51
|
};
|
|
61
52
|
var LoadingErrorIndicator = function LoadingErrorIndicator(props) {
|
|
62
53
|
var listType = props.listType,
|
|
@@ -72,46 +63,24 @@ var LoadingErrorIndicator = function LoadingErrorIndicator(props) {
|
|
|
72
63
|
t = _useTranslationContex.t;
|
|
73
64
|
switch (listType) {
|
|
74
65
|
case 'channel':
|
|
75
|
-
return
|
|
66
|
+
return (0, _jsxRuntime.jsx)(LoadingErrorWrapper, {
|
|
76
67
|
onPress: retry,
|
|
77
68
|
text: t('Error loading channel list...'),
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
style: [styles.retryText, {
|
|
86
|
-
color: black
|
|
87
|
-
}, retryText],
|
|
88
|
-
__self: _this,
|
|
89
|
-
__source: {
|
|
90
|
-
fileName: _jsxFileName,
|
|
91
|
-
lineNumber: 72,
|
|
92
|
-
columnNumber: 11
|
|
93
|
-
}
|
|
94
|
-
}, "\u27F3"));
|
|
69
|
+
children: (0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
70
|
+
style: [styles.retryText, {
|
|
71
|
+
color: black
|
|
72
|
+
}, retryText],
|
|
73
|
+
children: "\u27F3"
|
|
74
|
+
})
|
|
75
|
+
});
|
|
95
76
|
case 'message':
|
|
96
|
-
return
|
|
77
|
+
return (0, _jsxRuntime.jsx)(LoadingErrorWrapper, {
|
|
97
78
|
onPress: retry,
|
|
98
|
-
text: t('Error loading messages for this channel...')
|
|
99
|
-
__self: _this,
|
|
100
|
-
__source: {
|
|
101
|
-
fileName: _jsxFileName,
|
|
102
|
-
lineNumber: 77,
|
|
103
|
-
columnNumber: 9
|
|
104
|
-
}
|
|
79
|
+
text: t('Error loading messages for this channel...')
|
|
105
80
|
});
|
|
106
81
|
default:
|
|
107
|
-
return
|
|
108
|
-
text: t('Error loading')
|
|
109
|
-
__self: _this,
|
|
110
|
-
__source: {
|
|
111
|
-
fileName: _jsxFileName,
|
|
112
|
-
lineNumber: 83,
|
|
113
|
-
columnNumber: 14
|
|
114
|
-
}
|
|
82
|
+
return (0, _jsxRuntime.jsx)(LoadingErrorWrapper, {
|
|
83
|
+
text: t('Error loading')
|
|
115
84
|
});
|
|
116
85
|
}
|
|
117
86
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_ThemeContext","_TranslationContext","_this","_jsxFileName","styles","StyleSheet","create","container","alignItems","height","justifyContent","width","errorText","fontSize","fontWeight","marginTop","retryText","LoadingErrorWrapper","props","children","onPress","text","_useTheme","useTheme","_useTheme$theme","theme","accent_red","colors","_useTheme$theme$loadi","loadingErrorIndicator","
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_ThemeContext","_TranslationContext","_jsxRuntime","_this","_jsxFileName","styles","StyleSheet","create","container","alignItems","height","justifyContent","width","errorText","fontSize","fontWeight","marginTop","retryText","LoadingErrorWrapper","props","children","onPress","text","_useTheme","useTheme","_useTheme$theme","theme","accent_red","colors","_useTheme$theme$loadi","loadingErrorIndicator","jsxs","TouchableOpacity","style","jsx","Text","color","testID","LoadingErrorIndicator","listType","_props$retry","retry","_useTheme2","_useTheme2$theme","black","_useTranslationContex","useTranslationContext","t","exports","displayName"],"sourceRoot":"../../../../src","sources":["components/Indicators/LoadingErrorIndicator.tsx"],"mappings":";;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAEA,IAAAE,aAAA,GAAAF,OAAA;AACA,IAAAG,mBAAA,GAAAH,OAAA;AAA6F,IAAAI,WAAA,GAAAJ,OAAA;AAAA,IAAAK,KAAA;EAAAC,YAAA;AAE7F,IAAMC,MAAM,GAAGC,uBAAU,CAACC,MAAM,CAAC;EAC/BC,SAAS,EAAE;IACTC,UAAU,EAAE,QAAQ;IACpBC,MAAM,EAAE,MAAM;IACdC,cAAc,EAAE,QAAQ;IACxBC,KAAK,EAAE;EACT,CAAC;EACDC,SAAS,EAAE;IACTC,QAAQ,EAAE,EAAE;IACZC,UAAU,EAAE,KAAK;IACjBC,SAAS,EAAE;EACb,CAAC;EACDC,SAAS,EAAE;IACTH,QAAQ,EAAE,EAAE;IACZC,UAAU,EAAE;EACd;AACF,CAAC,CAAC;AAOF,IAAMG,mBAAmB,GAAG,SAAtBA,mBAAmBA,CAAIC,KAAwD,EAAK;EACxF,IAAQC,QAAQ,GAAoBD,KAAK,CAAjCC,QAAQ;IAAEC,OAAO,GAAWF,KAAK,CAAvBE,OAAO;IAAEC,IAAI,GAAKH,KAAK,CAAdG,IAAI;EAE/B,IAAAC,SAAA,GAKI,IAAAC,sBAAQ,EAAC,CAAC;IAAAC,eAAA,GAAAF,SAAA,CAJZG,KAAK;IACOC,UAAU,GAAAF,eAAA,CAApBG,MAAM,CAAID,UAAU;IAAAE,qBAAA,GAAAJ,eAAA,CACpBK,qBAAqB;IAAItB,SAAS,GAAAqB,qBAAA,CAATrB,SAAS;IAAEK,SAAS,GAAAgB,qBAAA,CAAThB,SAAS;EAIjD,OACE,IAAAX,WAAA,CAAA6B,IAAA,EAAChC,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