stream-chat-react-native-core 5.27.0 → 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 +127 -214
- 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 +36 -56
- 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 +2 -2
- 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.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 +145 -259
- 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/en.json +1 -1
- package/lib/commonjs/i18n/es.json +64 -64
- package/lib/commonjs/i18n/fr.json +64 -64
- package/lib/commonjs/i18n/he.json +64 -64
- package/lib/commonjs/i18n/hi.json +64 -64
- package/lib/commonjs/i18n/it.json +64 -64
- package/lib/commonjs/i18n/ja.json +64 -64
- package/lib/commonjs/i18n/ko.json +64 -64
- package/lib/commonjs/i18n/nl.json +64 -64
- package/lib/commonjs/i18n/pt-BR.json +64 -64
- package/lib/commonjs/i18n/ru.json +64 -64
- package/lib/commonjs/i18n/tr.json +64 -64
- 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.map +1 -1
- 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.map +1 -1
- 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 +51 -30
- 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 +127 -214
- 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 +36 -56
- 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 +2 -2
- 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.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 +145 -259
- 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/en.json +1 -1
- package/lib/module/i18n/es.json +64 -64
- package/lib/module/i18n/fr.json +64 -64
- package/lib/module/i18n/he.json +64 -64
- package/lib/module/i18n/hi.json +64 -64
- package/lib/module/i18n/it.json +64 -64
- package/lib/module/i18n/ja.json +64 -64
- package/lib/module/i18n/ko.json +64 -64
- package/lib/module/i18n/nl.json +64 -64
- package/lib/module/i18n/pt-BR.json +64 -64
- package/lib/module/i18n/ru.json +64 -64
- package/lib/module/i18n/tr.json +64 -64
- 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.map +1 -1
- 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.map +1 -1
- 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 +51 -30
- 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 +1 -0
- 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/en.json +1 -1
- package/lib/typescript/i18n/es.json +64 -64
- package/lib/typescript/i18n/fr.json +64 -64
- package/lib/typescript/i18n/he.json +64 -64
- package/lib/typescript/i18n/hi.json +64 -64
- package/lib/typescript/i18n/it.json +64 -64
- package/lib/typescript/i18n/ja.json +64 -64
- package/lib/typescript/i18n/ko.json +64 -64
- package/lib/typescript/i18n/nl.json +64 -64
- package/lib/typescript/i18n/pt-BR.json +64 -64
- package/lib/typescript/i18n/ru.json +64 -64
- package/lib/typescript/i18n/tr.json +64 -64
- 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 +1 -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 +1 -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 +1 -0
- 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/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 +6 -3
- 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/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/en.json +1 -1
- package/src/i18n/es.json +64 -64
- package/src/i18n/fr.json +64 -64
- package/src/i18n/he.json +64 -64
- package/src/i18n/hi.json +64 -64
- package/src/i18n/it.json +64 -64
- package/src/i18n/ja.json +64 -64
- package/src/i18n/ko.json +64 -64
- package/src/i18n/nl.json +64 -64
- package/src/i18n/pt-BR.json +64 -64
- package/src/i18n/ru.json +64 -64
- package/src/i18n/tr.json +64 -64
- 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/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":["ONE_SECOND_IN_MS","exports","secondsUntil","date","Math","trunc","getTime","Date","now"],"
|
|
1
|
+
{"version":3,"names":["ONE_SECOND_IN_MS","exports","secondsUntil","date","Math","trunc","getTime","Date","now"],"sourceRoot":"../../../src","sources":["utils/date.ts"],"mappings":";;;;AAAO,IAAMA,gBAAgB,GAAG,IAAI;AAACC,OAAA,CAAAD,gBAAA,GAAAA,gBAAA;AAE9B,IAAME,YAAY,GAAG,SAAfA,YAAYA,CAAIC,IAAU;EAAA,OACrCC,IAAI,CAACC,KAAK,CAAC,CAACF,IAAI,CAACG,OAAO,CAAC,CAAC,GAAGC,IAAI,CAACC,GAAG,CAAC,CAAC,IAAIR,gBAAgB,CAAC;AAAA;AAACC,OAAA,CAAAC,YAAA,GAAAA,YAAA","ignoreList":[]}
|
|
@@ -19,12 +19,12 @@ function getResizedImageUrl(_ref) {
|
|
|
19
19
|
}) && originalHeight && originalWidth;
|
|
20
20
|
if (!isResizableUrl || !height && !width) return url;
|
|
21
21
|
if (height) {
|
|
22
|
-
parsedUrl.searchParams.set('h', ""
|
|
22
|
+
parsedUrl.searchParams.set('h', "".concat(_reactNative.PixelRatio.getPixelSizeForLayoutSize(Number(height))));
|
|
23
23
|
}
|
|
24
24
|
if (width) {
|
|
25
|
-
parsedUrl.searchParams.set('w', ""
|
|
25
|
+
parsedUrl.searchParams.set('w', "".concat(_reactNative.PixelRatio.getPixelSizeForLayoutSize(Number(width))));
|
|
26
26
|
}
|
|
27
|
-
parsedUrl.searchParams.set('resize', ""
|
|
27
|
+
parsedUrl.searchParams.set('resize', "".concat(resize));
|
|
28
28
|
return parsedUrl.toString();
|
|
29
29
|
} catch (error) {
|
|
30
30
|
console.warn(error);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_reactNative","require","_StreamChatRN","getResizedImageUrl","_ref","height","_ref$resize","resize","url","width","parsedUrl","URL","originalHeight","searchParams","get","originalWidth","isResizableUrl","StreamChatRN","config","resizableCDNHosts","some","rCDNh","includes","set","PixelRatio","getPixelSizeForLayoutSize","Number","toString","error","console","warn"],"
|
|
1
|
+
{"version":3,"names":["_reactNative","require","_StreamChatRN","getResizedImageUrl","_ref","height","_ref$resize","resize","url","width","parsedUrl","URL","originalHeight","searchParams","get","originalWidth","isResizableUrl","StreamChatRN","config","resizableCDNHosts","some","rCDNh","includes","set","concat","PixelRatio","getPixelSizeForLayoutSize","Number","toString","error","console","warn"],"sourceRoot":"../../../src","sources":["utils/getResizedImageUrl.ts"],"mappings":";;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAEA,IAAAC,aAAA,GAAAD,OAAA;AAqBO,SAASE,kBAAkBA,CAAAC,IAAA,EAKL;EAAA,IAJ3BC,MAAM,GAAAD,IAAA,CAANC,MAAM;IAAAC,WAAA,GAAAF,IAAA,CACNG,MAAM;IAANA,MAAM,GAAAD,WAAA,cAAG,MAAM,GAAAA,WAAA;IACfE,GAAG,GAAAJ,IAAA,CAAHI,GAAG;IACHC,KAAK,GAAAL,IAAA,CAALK,KAAK;EAEL,IAAI;IACF,IAAMC,SAAS,GAAG,IAAIC,GAAG,CAACH,GAAG,CAAC;IAE9B,IAAMI,cAAc,GAAGF,SAAS,CAACG,YAAY,CAACC,GAAG,CAAC,IAAI,CAAC;IACvD,IAAMC,aAAa,GAAGL,SAAS,CAACG,YAAY,CAACC,GAAG,CAAC,IAAI,CAAC;IAMtD,IAAME,cAAc,GAClBC,0BAAY,CAACC,MAAM,CAACC,iBAAiB,CAACC,IAAI,CAAC,UAACC,KAAK;MAAA,OAAKb,GAAG,CAACc,QAAQ,CAACD,KAAK,CAAC;IAAA,EAAC,IAC1ET,cAAc,IACdG,aAAa;IAEf,IAAI,CAACC,cAAc,IAAK,CAACX,MAAM,IAAI,CAACI,KAAM,EAAE,OAAOD,GAAG;IAEtD,IAAIH,MAAM,EAAE;MACVK,SAAS,CAACG,YAAY,CAACU,GAAG,CAAC,GAAG,KAAAC,MAAA,CAAKC,uBAAU,CAACC,yBAAyB,CAACC,MAAM,CAACtB,MAAM,CAAC,CAAC,CAAE,CAAC;IAC5F;IAEA,IAAII,KAAK,EAAE;MACTC,SAAS,CAACG,YAAY,CAACU,GAAG,CAAC,GAAG,KAAAC,MAAA,CAAKC,uBAAU,CAACC,yBAAyB,CAACC,MAAM,CAAClB,KAAK,CAAC,CAAC,CAAE,CAAC;IAC3F;IAEAC,SAAS,CAACG,YAAY,CAACU,GAAG,CAAC,QAAQ,KAAAC,MAAA,CAAKjB,MAAM,CAAE,CAAC;IAEjD,OAAOG,SAAS,CAACkB,QAAQ,CAAC,CAAC;EAC7B,CAAC,CAAC,OAAOC,KAAK,EAAE;IAGdC,OAAO,CAACC,IAAI,CAACF,KAAK,CAAC;IAEnB,OAAOrB,GAAG;EACZ;AACF","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["getUrlOfImageAttachment","image","image_url","asset_url"],"
|
|
1
|
+
{"version":3,"names":["getUrlOfImageAttachment","image","image_url","asset_url"],"sourceRoot":"../../../src","sources":["utils/getUrlOfImageAttachment.ts"],"mappings":";;;;AAOO,SAASA,uBAAuBA,CAACC,KAAiB,EAAE;EACzD,OAAOA,KAAK,CAACC,SAAS,IAAID,KAAK,CAACE,SAAS;AAC3C","ignoreList":[]}
|
|
@@ -8,12 +8,12 @@ function patchMessageTextCommand(messageText, mentionedUserIds) {
|
|
|
8
8
|
}
|
|
9
9
|
var trimmedMessageText = messageText.trim();
|
|
10
10
|
if (trimmedMessageText.startsWith('/mute ') || trimmedMessageText.startsWith('/unmute ') || trimmedMessageText.startsWith('/unban ')) {
|
|
11
|
-
return trimmedMessageText.replace(/@.+/, "@"
|
|
11
|
+
return trimmedMessageText.replace(/@.+/, "@".concat(mentionedUserIds[0]));
|
|
12
12
|
}
|
|
13
13
|
if (trimmedMessageText.startsWith('/ban ')) {
|
|
14
14
|
var _trimmedMessageText$s;
|
|
15
15
|
var reasonText = (_trimmedMessageText$s = trimmedMessageText.split(' ').pop()) != null ? _trimmedMessageText$s : '';
|
|
16
|
-
return
|
|
16
|
+
return "/ban @".concat(mentionedUserIds[0], " ").concat(reasonText).trim();
|
|
17
17
|
}
|
|
18
18
|
return messageText;
|
|
19
19
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["patchMessageTextCommand","messageText","mentionedUserIds","length","trimmedMessageText","trim","startsWith","replace","_trimmedMessageText$s","reasonText","split","pop"],"
|
|
1
|
+
{"version":3,"names":["patchMessageTextCommand","messageText","mentionedUserIds","length","trimmedMessageText","trim","startsWith","replace","concat","_trimmedMessageText$s","reasonText","split","pop"],"sourceRoot":"../../../src","sources":["utils/patchMessageTextCommand.ts"],"mappings":";;;;AAQO,SAASA,uBAAuBA,CAACC,WAAmB,EAAEC,gBAA0B,EAAU;EAC/F,IAAIA,gBAAgB,CAACC,MAAM,KAAK,CAAC,EAAE;IACjC,OAAOF,WAAW;EACpB;EACA,IAAMG,kBAAkB,GAAGH,WAAW,CAACI,IAAI,CAAC,CAAC;EAK7C,IACED,kBAAkB,CAACE,UAAU,CAAC,QAAQ,CAAC,IACvCF,kBAAkB,CAACE,UAAU,CAAC,UAAU,CAAC,IACzCF,kBAAkB,CAACE,UAAU,CAAC,SAAS,CAAC,EACxC;IACA,OAAOF,kBAAkB,CAACG,OAAO,CAAC,KAAK,MAAAC,MAAA,CAAMN,gBAAgB,CAAC,CAAC,CAAC,CAAE,CAAC;EACrE;EAKA,IAAIE,kBAAkB,CAACE,UAAU,CAAC,OAAO,CAAC,EAAE;IAAA,IAAAG,qBAAA;IAC1C,IAAMC,UAAU,IAAAD,qBAAA,GAAGL,kBAAkB,CAACO,KAAK,CAAC,GAAG,CAAC,CAACC,GAAG,CAAC,CAAC,YAAAH,qBAAA,GAAI,EAAE;IAC5D,OAAO,SAAAD,MAAA,CAASN,gBAAgB,CAAC,CAAC,CAAC,OAAAM,MAAA,CAAIE,UAAU,EAAGL,IAAI,CAAC,CAAC;EAC5D;EAEA,OAAOJ,WAAW;AACpB","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_deleteReaction","require","removeReactionFromLocalState","_ref","_message$own_reaction","_message$latest_react","_message$reaction_cou","_message$reaction_cou2","channel","messageId","reactionType","user","message","state","messages","find","_ref2","id","own_reactions","filter","reaction","type","latest_reactions","r","user_id","reaction_counts","deleteReaction","userId","exports"],"
|
|
1
|
+
{"version":3,"names":["_deleteReaction","require","removeReactionFromLocalState","_ref","_message$own_reaction","_message$latest_react","_message$reaction_cou","_message$reaction_cou2","channel","messageId","reactionType","user","message","state","messages","find","_ref2","id","own_reactions","filter","reaction","type","latest_reactions","r","user_id","reaction_counts","deleteReaction","userId","exports"],"sourceRoot":"../../../src","sources":["utils/removeReactionFromLocalState.ts"],"mappings":";;;;AAEA,IAAAA,eAAA,GAAAC,OAAA;AAIO,IAAMC,4BAA4B,GAAG,SAA/BA,4BAA4BA,CAAAC,IAAA,EAYnC;EAAA,IAAAC,qBAAA,EAAAC,qBAAA,EAAAC,qBAAA,EAAA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c,EAAC;IACbjB,SAAS,EAATA,SAAS;IACTC,YAAY,EAAZA,YAAY;IACZiB,MAAM,EAAEhB,IAAI,CAACM;EACf,CAAC,CAAC;AACJ,CAAC;AAACW,OAAA,CAAA1B,4BAAA,GAAAA,4BAAA","ignoreList":[]}
|
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
2
1
|
Object.defineProperty(exports, "__esModule", {
|
|
3
2
|
value: true
|
|
4
3
|
});
|
|
5
4
|
exports.removeReservedFields = void 0;
|
|
6
|
-
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
7
5
|
var removeReservedFields = function removeReservedFields(message) {
|
|
8
|
-
var retryMessage = (
|
|
6
|
+
var retryMessage = Object.assign({}, message);
|
|
9
7
|
var reserved = ['cid', 'config', 'created_at', 'created_by', 'deleted_at', 'i18n', 'latest_reactions', 'own_reactions', 'reaction_counts', 'last_message_at', 'member_count', 'type', 'updated_at', 'reply_count'];
|
|
10
8
|
reserved.forEach(function (key) {
|
|
11
9
|
delete retryMessage[key];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["removeReservedFields","message","retryMessage","
|
|
1
|
+
{"version":3,"names":["removeReservedFields","message","retryMessage","Object","assign","reserved","forEach","key","exports"],"sourceRoot":"../../../src","sources":["utils/removeReservedFields.ts"],"mappings":";;;;AAKO,IAAMA,oBAAoB,GAAG,SAAvBA,oBAAoBA,CAG/BC,OAA8E,EACJ;EAC1E,IAAMC,YAAY,GAAAC,MAAA,CAAAC,MAAA,KAAQH,OAAO,CAAE;EACnC,IAAMI,QAAQ,GAAG,CACf,KAAK,EACL,QAAQ,EACR,YAAY,EACZ,YAAY,EACZ,YAAY,EACZ,MAAM,EACN,kBAAkB,EAClB,eAAe,EACf,iBAAiB,EACjB,iBAAiB,EACjB,cAAc,EACd,MAAM,EACN,YAAY,EACZ,aAAa,CACd;EACDA,QAAQ,CAACC,OAAO,CAAC,UAACC,GAAG,EAAK;IACxB,OAAOL,YAAY,CAACK,GAAG,CAAC;EAC1B,CAAC,CAAC;EAEF,OAAOL,YAAY;AACrB,CAAC;AAACM,OAAA,CAAAR,oBAAA,GAAAA,oBAAA","ignoreList":[]}
|
|
@@ -5,14 +5,13 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
exports.reduceMessagesToString = exports.queryUsersDebounced = exports.queryMembersDebounced = exports.makeImageCompatibleUrl = exports.isMentionTrigger = exports.isLocalUrl = exports.isEmojiTrigger = exports.isCommandTrigger = exports.isBouncedMessage = exports.isBlockedMessage = exports.hasOnlyEmojis = exports.getUrlWithoutParams = exports.getIndicatorTypeForFileState = exports.generateRandomId = exports.defaultEmojiSearchIndex = exports.ProgressIndicatorTypes = exports.MessageStatusTypes = exports.FileState = exports.ACITriggerSettings = void 0;
|
|
6
6
|
var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"));
|
|
7
7
|
var _typeof2 = _interopRequireDefault(require("@babel/runtime/helpers/typeof"));
|
|
8
|
-
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
9
8
|
var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));
|
|
10
9
|
var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers/toConsumableArray"));
|
|
11
10
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
12
11
|
var _emojiRegex = _interopRequireDefault(require("emoji-regex"));
|
|
13
12
|
var _debounce = _interopRequireDefault(require("lodash/debounce"));
|
|
14
13
|
var _emojiData = require("../emoji-data");
|
|
15
|
-
function
|
|
14
|
+
function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
|
|
16
15
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
17
16
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
18
17
|
var FileState = Object.freeze({
|
|
@@ -154,7 +153,7 @@ var queryUsers = function () {
|
|
|
154
153
|
break;
|
|
155
154
|
}
|
|
156
155
|
_options$limit2 = options.limit, limit = _options$limit2 === void 0 ? defaultAutoCompleteSuggestionsLimit : _options$limit2, _options$mentionAllAp = options.mentionAllAppUsersQuery, mentionAllAppUsersQuery = _options$mentionAllAp === void 0 ? defaultMentionAllAppUsersQuery : _options$mentionAllAp;
|
|
157
|
-
filters = (
|
|
156
|
+
filters = Object.assign({
|
|
158
157
|
id: {
|
|
159
158
|
$ne: client.userID
|
|
160
159
|
}
|
|
@@ -171,9 +170,9 @@ var queryUsers = function () {
|
|
|
171
170
|
}];
|
|
172
171
|
}
|
|
173
172
|
_context2.next = 7;
|
|
174
|
-
return client.queryUsers(filters, (
|
|
173
|
+
return client.queryUsers(filters, Object.assign({
|
|
175
174
|
id: 1
|
|
176
|
-
}, mentionAllAppUsersQuery == null ? void 0 : mentionAllAppUsersQuery.sort), (
|
|
175
|
+
}, mentionAllAppUsersQuery == null ? void 0 : mentionAllAppUsersQuery.sort), Object.assign({
|
|
177
176
|
limit: limit
|
|
178
177
|
}, mentionAllAppUsersQuery == null ? void 0 : mentionAllAppUsersQuery.options));
|
|
179
178
|
case 7:
|
|
@@ -223,13 +222,13 @@ var defaultEmojiSearchIndex = {
|
|
|
223
222
|
return name.includes(query);
|
|
224
223
|
})) {
|
|
225
224
|
if (emoji.skins) {
|
|
226
|
-
results.push((
|
|
227
|
-
name: emoji.name
|
|
225
|
+
results.push(Object.assign({}, emoji, {
|
|
226
|
+
name: "".concat(emoji.name, "-tone-1"),
|
|
228
227
|
skins: undefined
|
|
229
228
|
}));
|
|
230
229
|
emoji.skins.forEach(function (tone, index) {
|
|
231
|
-
return results.push((
|
|
232
|
-
name: emoji.name
|
|
230
|
+
return results.push(Object.assign({}, emoji, {
|
|
231
|
+
name: "".concat(emoji.name, "-tone-").concat(index + 2),
|
|
233
232
|
skins: undefined,
|
|
234
233
|
unicode: tone
|
|
235
234
|
}));
|
|
@@ -239,10 +238,18 @@ var defaultEmojiSearchIndex = {
|
|
|
239
238
|
}
|
|
240
239
|
}
|
|
241
240
|
};
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
241
|
+
var _iterator = _createForOfIteratorHelper(_emojiData.compiledEmojis),
|
|
242
|
+
_step;
|
|
243
|
+
try {
|
|
244
|
+
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
245
|
+
var emoji = _step.value;
|
|
246
|
+
var _ret = _loop(emoji);
|
|
247
|
+
if ((0, _typeof2["default"])(_ret) === "object") return _ret.v;
|
|
248
|
+
}
|
|
249
|
+
} catch (err) {
|
|
250
|
+
_iterator.e(err);
|
|
251
|
+
} finally {
|
|
252
|
+
_iterator.f();
|
|
246
253
|
}
|
|
247
254
|
return results;
|
|
248
255
|
}
|
|
@@ -269,10 +276,10 @@ var ACITriggerSettings = function ACITriggerSettings(_ref3) {
|
|
|
269
276
|
var nameA = ((_a$name = a.name) == null ? void 0 : _a$name.toLowerCase()) || '';
|
|
270
277
|
var nameB = ((_b$name = b.name) == null ? void 0 : _b$name.toLowerCase()) || '';
|
|
271
278
|
if (query && nameA.indexOf(query) === 0) {
|
|
272
|
-
nameA = "0"
|
|
279
|
+
nameA = "0".concat(nameA);
|
|
273
280
|
}
|
|
274
281
|
if (query && nameB.indexOf(query) === 0) {
|
|
275
|
-
nameB = "0"
|
|
282
|
+
nameB = "0".concat(nameB);
|
|
276
283
|
}
|
|
277
284
|
if (nameA < nameB) return -1;
|
|
278
285
|
if (nameA > nameB) return 1;
|
|
@@ -287,8 +294,8 @@ var ACITriggerSettings = function ACITriggerSettings(_ref3) {
|
|
|
287
294
|
output: function output(entity) {
|
|
288
295
|
return {
|
|
289
296
|
caretPosition: 'next',
|
|
290
|
-
key: ""
|
|
291
|
-
text: "/"
|
|
297
|
+
key: "".concat(entity.name),
|
|
298
|
+
text: "/".concat(entity.name)
|
|
292
299
|
};
|
|
293
300
|
},
|
|
294
301
|
type: 'command'
|
|
@@ -397,7 +404,7 @@ var ACITriggerSettings = function ACITriggerSettings(_ref3) {
|
|
|
397
404
|
return {
|
|
398
405
|
caretPosition: 'next',
|
|
399
406
|
key: entity.id,
|
|
400
|
-
text: "@"
|
|
407
|
+
text: "@".concat(entity.name || entity.id)
|
|
401
408
|
};
|
|
402
409
|
},
|
|
403
410
|
type: 'mention'
|
|
@@ -406,7 +413,7 @@ var ACITriggerSettings = function ACITriggerSettings(_ref3) {
|
|
|
406
413
|
};
|
|
407
414
|
exports.ACITriggerSettings = ACITriggerSettings;
|
|
408
415
|
var makeImageCompatibleUrl = function makeImageCompatibleUrl(url) {
|
|
409
|
-
return (url.indexOf('//') === 0 ? "https:"
|
|
416
|
+
return (url.indexOf('//') === 0 ? "https:".concat(url) : url).trim();
|
|
410
417
|
};
|
|
411
418
|
exports.makeImageCompatibleUrl = makeImageCompatibleUrl;
|
|
412
419
|
var getUrlWithoutParams = function getUrlWithoutParams(url) {
|
|
@@ -422,7 +429,7 @@ var isLocalUrl = function isLocalUrl(url) {
|
|
|
422
429
|
exports.isLocalUrl = isLocalUrl;
|
|
423
430
|
var generateRandomId = function generateRandomId() {
|
|
424
431
|
var a = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
|
|
425
|
-
return a ? ((Number(a) ^ Math.random() * 16) >> Number(a) / 4).toString(16) : (1e7
|
|
432
|
+
return a ? ((Number(a) ^ Math.random() * 16) >> Number(a) / 4).toString(16) : "".concat(1e7, "-", 1e3, "-", 4e3, "-", 8e3, "-", 1e11).replace(/[018]/g, generateRandomId);
|
|
426
433
|
};
|
|
427
434
|
exports.generateRandomId = generateRandomId;
|
|
428
435
|
var hasOnlyEmojis = function hasOnlyEmojis(text) {
|
|
@@ -442,10 +449,10 @@ var stringifyMessage = function stringifyMessage(_ref4) {
|
|
|
442
449
|
status = _ref4.status,
|
|
443
450
|
type = _ref4.type,
|
|
444
451
|
updated_at = _ref4.updated_at;
|
|
445
|
-
return ""
|
|
452
|
+
return "".concat(type).concat(deleted_at).concat(latest_reactions ? latest_reactions.map(function (_ref5) {
|
|
446
453
|
var type = _ref5.type;
|
|
447
454
|
return type;
|
|
448
|
-
}).join() : '')
|
|
455
|
+
}).join() : '').concat(reply_count).concat(status).concat((updated_at == null ? void 0 : updated_at.toISOString == null ? void 0 : updated_at.toISOString()) || updated_at);
|
|
449
456
|
};
|
|
450
457
|
var reduceMessagesToString = function reduceMessagesToString(messages) {
|
|
451
458
|
return messages.map(stringifyMessage).join();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_emojiRegex","_interopRequireDefault","require","_debounce","_emojiData","_createForOfIteratorHelperLoose","o","allowArrayLike","it","Symbol","iterator","call","next","bind","Array","isArray","_unsupportedIterableToArray","length","i","done","value","TypeError","minLen","_arrayLikeToArray","n","Object","prototype","toString","slice","constructor","name","from","test","arr","len","arr2","FileState","freeze","FINISHED","NOT_SUPPORTED","UPLOAD_FAILED","UPLOADED","UPLOADING","exports","ProgressIndicatorTypes","IN_PROGRESS","INACTIVE","RETRY","MessageStatusTypes","FAILED","RECEIVED","SENDING","getIndicatorTypeForFileState","fileState","enableOfflineSupport","_indicatorMap","indicatorMap","_defineProperty2","isBlockedMessage","message","pattern","type","text","isBouncedMessage","moderation_details","undefined","defaultAutoCompleteSuggestionsLimit","defaultMentionAllAppUsersQuery","filters","options","sort","isUserResponse","user","getCommands","channel","_channel$getConfig","getConfig","commands","getMembers","members","state","values","filter","member","map","getWatchers","watchers","_toConsumableArray2","getMembersAndWatchers","users","concat","reduce","acc","cur","id","queryMembers","_ref","_asyncToGenerator2","_regenerator","mark","_callee","query","onReady","_options$limit","limit","response","_users","_args","arguments","wrap","_callee$","_context","prev","$autocomplete","sent","forEach","push","stop","_x","_x2","_x3","apply","queryMembersDebounced","debounce","leading","trailing","queryUsers","_ref2","_callee2","client","_options$limit2","_options$mentionAllAp","mentionAllAppUsersQuery","_users2","_args2","_callee2$","_context2","_extends2","$ne","userID","$or","_x4","_x5","_x6","queryUsersDebounced","isCommandTrigger","trigger","isEmojiTrigger","isMentionTrigger","defaultEmojiSearchIndex","search","results","_loop","emoji","v","names","some","includes","skins","tone","index","unicode","_iterator","compiledEmojis","_step","_ret","_typeof2","ACITriggerSettings","_ref3","emojiSearchIndex","onMentionSelectItem","dataProvider","indexOf","_options$limit3","selectedCommands","command","_command$name","a","b","_a$name","_b$name","nameA","toLowerCase","nameB","result","output","entity","caretPosition","key","_dataProvider","_callee3","_","_yield$emojiSearchInd","emojis","_callee3$","_context3","abrupt","t0","t1","_x7","_x8","_x9","callback","item","mentionAllAppUsersEnabled","data","matchingUsers","_user$name","makeImageCompatibleUrl","url","trim","getUrlWithoutParams","indexOfQuestion","substring","isLocalUrl","generateRandomId","Number","Math","random","replace","hasOnlyEmojis","emojiOnlyString","matchAll","EmojiRegex","join","originalTextWithNoSpaces","replaceAll","e","stringifyMessage","_ref4","deleted_at","latest_reactions","reply_count","status","updated_at","_ref5","toISOString","reduceMessagesToString","messages"],"sources":["utils.ts"],"sourcesContent":["import type React from 'react';\n\nimport EmojiRegex from 'emoji-regex';\nimport type { DebouncedFunc } from 'lodash';\nimport debounce from 'lodash/debounce';\nimport type {\n Channel,\n ChannelMemberAPIResponse,\n ChannelMemberResponse,\n CommandResponse,\n FormatMessageResponse,\n StreamChat,\n UserResponse,\n} from 'stream-chat';\n\nimport type { MessageType } from '../components/MessageList/hooks/useMessageList';\nimport type {\n EmojiSearchIndex,\n MentionAllAppUsersQuery,\n} from '../contexts/messageInputContext/MessageInputContext';\nimport type {\n SuggestionCommand,\n SuggestionComponentType,\n SuggestionUser,\n} from '../contexts/suggestionsContext/SuggestionsContext';\nimport { compiledEmojis, Emoji } from '../emoji-data';\nimport type { IconProps } from '../icons/utils/base';\nimport type { TableRowJoinedUser } from '../store/types';\nimport type { DefaultStreamChatGenerics, ValueOf } from '../types/types';\n\nexport type ReactionData = {\n Icon: React.FC<IconProps>;\n type: string;\n};\n\nexport const FileState = Object.freeze({\n // finished and uploaded state are the same thing. First is set on frontend,\n // while later is set on backend side\n // TODO: Unify both of them\n FINISHED: 'finished',\n NOT_SUPPORTED: 'not_supported',\n UPLOAD_FAILED: 'upload_failed',\n UPLOADED: 'uploaded',\n UPLOADING: 'uploading',\n});\n\nexport const ProgressIndicatorTypes: {\n IN_PROGRESS: 'in_progress';\n INACTIVE: 'inactive';\n NOT_SUPPORTED: 'not_supported';\n RETRY: 'retry';\n} = Object.freeze({\n IN_PROGRESS: 'in_progress',\n INACTIVE: 'inactive',\n NOT_SUPPORTED: 'not_supported',\n RETRY: 'retry',\n});\n\nexport const MessageStatusTypes = {\n FAILED: 'failed',\n RECEIVED: 'received',\n SENDING: 'sending',\n};\n\nexport type FileStateValue = typeof FileState[keyof typeof FileState];\n\ntype Progress = ValueOf<typeof ProgressIndicatorTypes>;\ntype IndicatorStatesMap = Record<ValueOf<typeof FileState>, Progress | null>;\n\nexport const getIndicatorTypeForFileState = (\n fileState: FileStateValue,\n enableOfflineSupport: boolean,\n): Progress | null => {\n const indicatorMap: IndicatorStatesMap = {\n [FileState.UPLOADING]: enableOfflineSupport\n ? ProgressIndicatorTypes.INACTIVE\n : ProgressIndicatorTypes.IN_PROGRESS,\n // If offline support is disabled, then there is no need\n [FileState.UPLOAD_FAILED]: enableOfflineSupport\n ? ProgressIndicatorTypes.INACTIVE\n : ProgressIndicatorTypes.RETRY,\n [FileState.NOT_SUPPORTED]: ProgressIndicatorTypes.NOT_SUPPORTED,\n [FileState.UPLOADED]: ProgressIndicatorTypes.INACTIVE,\n [FileState.FINISHED]: ProgressIndicatorTypes.INACTIVE,\n };\n\n return indicatorMap[fileState];\n};\n\n/**\n * Utility to check if the message is a Blocked message.\n * @param message\n * @returns boolean\n */\nexport const isBlockedMessage = <\n StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics,\n>(\n message: MessageType<StreamChatGenerics> | TableRowJoinedUser<'messages'>,\n) => {\n // The only indicator for the blocked message is its message type is error and that the message text contains \"Message was blocked by moderation policies\".\n const pattern = /\\bMessage was blocked by moderation policies\\b/;\n return message.type === 'error' && message.text && pattern.test(message.text);\n};\n\n/**\n * Utility to check if the message is a Bounced message.\n * @param message\n * @returns boolean\n */\nexport const isBouncedMessage = <\n StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics,\n>(\n message: MessageType<StreamChatGenerics>,\n) => message.type === 'error' && message.moderation_details !== undefined;\n\nconst defaultAutoCompleteSuggestionsLimit = 10;\nconst defaultMentionAllAppUsersQuery = {\n filters: {},\n options: {},\n sort: {},\n};\n\nconst isUserResponse = <\n StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics,\n>(\n user: SuggestionUser<StreamChatGenerics> | undefined,\n): user is SuggestionUser<StreamChatGenerics> =>\n (user as SuggestionUser<StreamChatGenerics>) !== undefined;\n\nconst getCommands = <\n StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics,\n>(\n channel: Channel<StreamChatGenerics>,\n) => channel.getConfig()?.commands || [];\n\nconst getMembers = <\n StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics,\n>(\n channel: Channel<StreamChatGenerics>,\n) => {\n const members = channel.state.members;\n\n return Object.values(members).length\n ? (\n Object.values(members).filter((member) => member.user) as Array<\n ChannelMemberResponse<StreamChatGenerics> & { user: UserResponse<StreamChatGenerics> }\n >\n ).map((member) => member.user)\n : [];\n};\n\nconst getWatchers = <\n StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics,\n>(\n channel: Channel<StreamChatGenerics>,\n) => {\n const watchers = channel.state.watchers;\n return Object.values(watchers).length ? [...Object.values(watchers)] : [];\n};\n\nconst getMembersAndWatchers = <\n StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics,\n>(\n channel: Channel<StreamChatGenerics>,\n) => {\n const users = [...getMembers(channel), ...getWatchers(channel)];\n\n return Object.values(\n users.reduce((acc, cur) => {\n if (!acc[cur.id]) {\n acc[cur.id] = cur;\n }\n\n return acc;\n }, {} as { [key: string]: SuggestionUser<StreamChatGenerics> }),\n );\n};\n\nconst queryMembers = async <\n StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics,\n>(\n channel: Channel<StreamChatGenerics>,\n query: SuggestionUser<StreamChatGenerics>['name'],\n onReady?: (users: SuggestionUser<StreamChatGenerics>[]) => void,\n options: {\n limit?: number;\n } = {},\n): Promise<void> => {\n const { limit = defaultAutoCompleteSuggestionsLimit } = options;\n\n if (typeof query === 'string') {\n const response = (await (channel as unknown as Channel).queryMembers(\n {\n name: { $autocomplete: query },\n },\n {},\n { limit },\n )) as ChannelMemberAPIResponse<StreamChatGenerics>;\n\n const users: SuggestionUser<StreamChatGenerics>[] = [];\n response.members.forEach((member) => isUserResponse(member.user) && users.push(member.user));\n if (onReady && users) {\n onReady(users);\n }\n }\n};\n\nexport const queryMembersDebounced = debounce(queryMembers, 200, {\n leading: false,\n trailing: true,\n});\n\nconst queryUsers = async <\n StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics,\n>(\n client: StreamChat<StreamChatGenerics>,\n query: SuggestionUser<StreamChatGenerics>['name'],\n onReady?: (users: SuggestionUser<StreamChatGenerics>[]) => void,\n options: {\n limit?: number;\n mentionAllAppUsersQuery?: MentionAllAppUsersQuery<StreamChatGenerics>;\n } = {},\n): Promise<void> => {\n if (typeof query === 'string') {\n const {\n limit = defaultAutoCompleteSuggestionsLimit,\n mentionAllAppUsersQuery = defaultMentionAllAppUsersQuery,\n } = options;\n const filters = {\n id: { $ne: client.userID },\n ...mentionAllAppUsersQuery?.filters,\n };\n\n if (query) {\n // @ts-ignore\n filters.$or = [{ id: { $autocomplete: query } }, { name: { $autocomplete: query } }];\n }\n\n const response = await client.queryUsers(\n // @ts-ignore\n filters,\n { id: 1, ...mentionAllAppUsersQuery?.sort },\n { limit, ...mentionAllAppUsersQuery?.options },\n );\n const users: SuggestionUser<StreamChatGenerics>[] = [];\n response.users.forEach((user) => isUserResponse(user) && users.push(user));\n if (onReady && users) {\n onReady(users);\n }\n }\n};\n\nexport const queryUsersDebounced = debounce(queryUsers, 200, {\n leading: false,\n trailing: true,\n});\n\nexport const isCommandTrigger = (trigger: Trigger): trigger is '/' => trigger === '/';\n\nexport const isEmojiTrigger = (trigger: Trigger): trigger is ':' => trigger === ':';\n\nexport const isMentionTrigger = (trigger: Trigger): trigger is '@' => trigger === '@';\n\nexport type Trigger = '/' | '@' | ':';\n\nexport type TriggerSettings<\n StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics,\n> = {\n '/'?: {\n dataProvider: (\n query: CommandResponse<StreamChatGenerics>['name'],\n text: string,\n onReady?: (\n data: CommandResponse<StreamChatGenerics>[],\n q: CommandResponse<StreamChatGenerics>['name'],\n ) => void,\n options?: {\n limit?: number;\n },\n ) => SuggestionCommand<StreamChatGenerics>[];\n output: (entity: CommandResponse<StreamChatGenerics>) => {\n caretPosition: string;\n key: string;\n text: string;\n };\n type: SuggestionComponentType;\n };\n ':'?: {\n dataProvider: (\n query: Emoji['name'],\n _: string,\n onReady?: (data: Emoji[], q: Emoji['name']) => void,\n ) => Emoji[] | Promise<Emoji[]>;\n output: (entity: Emoji) => {\n caretPosition: string;\n key: string;\n text: string;\n };\n type: SuggestionComponentType;\n };\n '@'?: {\n callback: (item: SuggestionUser<StreamChatGenerics>) => void;\n dataProvider: (\n query: SuggestionUser<StreamChatGenerics>['name'],\n _: string,\n onReady?: (\n data: SuggestionUser<StreamChatGenerics>[],\n q: SuggestionUser<StreamChatGenerics>['name'],\n ) => void,\n options?: {\n limit?: number;\n mentionAllAppUsersEnabled?: boolean;\n mentionAllAppUsersQuery?: MentionAllAppUsersQuery<StreamChatGenerics>;\n },\n ) => SuggestionUser<StreamChatGenerics>[] | Promise<void> | void;\n output: (entity: SuggestionUser<StreamChatGenerics>) => {\n caretPosition: string;\n key: string;\n text: string;\n };\n type: SuggestionComponentType;\n };\n};\n\nexport type ACITriggerSettingsParams<\n StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics,\n> = {\n channel: Channel<StreamChatGenerics>;\n client: StreamChat<StreamChatGenerics>;\n onMentionSelectItem: (item: SuggestionUser<StreamChatGenerics>) => void;\n emojiSearchIndex?: EmojiSearchIndex;\n};\n\nexport type QueryUsersFunction<\n StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics,\n> = (\n client: StreamChat<StreamChatGenerics>,\n query: SuggestionUser<StreamChatGenerics>['name'],\n onReady?: (users: SuggestionUser<StreamChatGenerics>[]) => void,\n options?: {\n limit?: number;\n mentionAllAppUsersQuery?: MentionAllAppUsersQuery<StreamChatGenerics>;\n },\n) => Promise<void>;\n\nexport type QueryMembersFunction<\n StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics,\n> = (\n channel: Channel<StreamChatGenerics>,\n query: SuggestionUser<StreamChatGenerics>['name'],\n onReady?: (users: SuggestionUser<StreamChatGenerics>[]) => void,\n options?: {\n limit?: number;\n },\n) => Promise<void>;\n\n/**\n * Default emoji search index for auto complete text input\n */\nexport const defaultEmojiSearchIndex: EmojiSearchIndex = {\n search: (query) => {\n const results = [];\n\n for (const emoji of compiledEmojis) {\n if (results.length >= 10) return results;\n if (emoji.names.some((name) => name.includes(query))) {\n // Aggregate skins as different toned emojis - if skins are present\n if (emoji.skins) {\n results.push({\n ...emoji,\n name: `${emoji.name}-tone-1`,\n skins: undefined,\n });\n emoji.skins.forEach((tone, index) =>\n results.push({\n ...emoji,\n name: `${emoji.name}-tone-${index + 2}`,\n skins: undefined,\n unicode: tone,\n }),\n );\n } else {\n results.push(emoji);\n }\n }\n }\n\n return results;\n },\n};\n\n/**\n * ACI = AutoCompleteInput\n *\n * DataProvider accepts `onReady` function, which will execute once the data is ready.\n * Another approach would have been to simply return the data from dataProvider and let the\n * component await for it and then execute the required logic. We are going for callback instead\n * of async-await since we have debounce function in dataProvider. Which will delay the execution\n * of api call on trailing end of debounce (lets call it a1) but will return with result of\n * previous call without waiting for a1. So in this case, we want to execute onReady, when trailing\n * end of debounce executes.\n */\nexport const ACITriggerSettings = <\n StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics,\n>({\n channel,\n client,\n emojiSearchIndex,\n onMentionSelectItem,\n}: ACITriggerSettingsParams<StreamChatGenerics>): TriggerSettings<StreamChatGenerics> => ({\n '/': {\n dataProvider: (query, text, onReady, options = {}) => {\n if (text.indexOf('/') !== 0) return [];\n\n const { limit = defaultAutoCompleteSuggestionsLimit } = options;\n const selectedCommands = !query\n ? getCommands(channel)\n : getCommands(channel).filter((command) => query && command.name?.indexOf(query) !== -1);\n\n // sort alphabetically unless the you're matching the first char\n selectedCommands.sort((a, b) => {\n let nameA = a.name?.toLowerCase() || '';\n let nameB = b.name?.toLowerCase() || '';\n if (query && nameA.indexOf(query) === 0) {\n nameA = `0${nameA}`;\n }\n if (query && nameB.indexOf(query) === 0) {\n nameB = `0${nameB}`;\n }\n if (nameA < nameB) return -1;\n if (nameA > nameB) return 1;\n\n return 0;\n });\n\n const result = selectedCommands.slice(0, limit);\n\n if (onReady) {\n onReady(result, query);\n }\n\n return result;\n },\n output: (entity) => ({\n caretPosition: 'next',\n key: `${entity.name}`,\n text: `/${entity.name}`,\n }),\n type: 'command',\n },\n ':': {\n dataProvider: async (query, _, onReady) => {\n if (!query) return [];\n\n const emojis = (await emojiSearchIndex?.search(query)) ?? [];\n\n if (onReady) {\n onReady(emojis, query);\n }\n\n return emojis;\n },\n output: (entity) => ({\n caretPosition: 'next',\n key: entity.name,\n text: entity.unicode,\n }),\n type: 'emoji',\n },\n '@': {\n callback: (item) => {\n onMentionSelectItem(item);\n },\n dataProvider: (\n query,\n _,\n onReady,\n options = {\n limit: defaultAutoCompleteSuggestionsLimit,\n mentionAllAppUsersEnabled: false,\n mentionAllAppUsersQuery: defaultMentionAllAppUsersQuery,\n },\n ) => {\n if (options?.mentionAllAppUsersEnabled) {\n return (queryUsersDebounced as DebouncedFunc<QueryUsersFunction<StreamChatGenerics>>)(\n client,\n query,\n (data) => {\n if (onReady) {\n onReady(data, query);\n }\n },\n {\n limit: options.limit,\n mentionAllAppUsersQuery: options.mentionAllAppUsersQuery,\n },\n );\n }\n\n /**\n * By default, we return maximum 100 members via queryChannels api call.\n * Thus it is safe to assume, that if number of members in channel.state is < 100,\n * then all the members are already available on client side and we don't need to\n * make any api call to queryMembers endpoint.\n */\n if (!query || Object.values(channel.state.members).length < 100) {\n const users = getMembersAndWatchers(channel);\n\n const matchingUsers = users.filter((user) => {\n if (!query) return true;\n if (user.name?.toLowerCase().indexOf(query.toLowerCase()) !== -1) {\n return true;\n }\n if (user.id.toLowerCase().indexOf(query.toLowerCase()) !== -1) {\n return true;\n }\n return false;\n });\n\n const data = matchingUsers.slice(0, options?.limit);\n\n if (onReady) {\n onReady(data, query);\n }\n\n return data;\n }\n\n return (queryMembersDebounced as DebouncedFunc<QueryMembersFunction<StreamChatGenerics>>)(\n channel,\n query,\n (data) => {\n if (onReady) {\n onReady(data, query);\n }\n },\n {\n limit: options.limit,\n },\n );\n },\n output: (entity) => ({\n caretPosition: 'next',\n key: entity.id,\n text: `@${entity.name || entity.id}`,\n }),\n type: 'mention',\n },\n});\n\nexport const makeImageCompatibleUrl = (url: string) =>\n (url.indexOf('//') === 0 ? `https:${url}` : url).trim();\n\nexport const getUrlWithoutParams = (url?: string) => {\n if (!url) return url;\n\n const indexOfQuestion = url.indexOf('?');\n if (indexOfQuestion === -1) return url;\n\n return url.substring(0, url.indexOf('?'));\n};\n\nexport const isLocalUrl = (url: string) => url.indexOf('http') !== 0;\n\nexport const generateRandomId = (a = ''): string =>\n a\n ? /* eslint-disable no-bitwise */\n ((Number(a) ^ (Math.random() * 16)) >> (Number(a) / 4)).toString(16)\n : `${1e7}-${1e3}-${4e3}-${8e3}-${1e11}`.replace(/[018]/g, generateRandomId);\n\n/*\n * Returns true if the message text only contains emojis\n */\nexport const hasOnlyEmojis = (text: string) => {\n try {\n // get all emojis in the string\n const emojiOnlyString = [...text.matchAll(EmojiRegex())].join('');\n // remove all spaces from original text\n const originalTextWithNoSpaces = text.replaceAll(/\\s/g, '');\n // check if both are the same\n return (\n emojiOnlyString.length !== 0 && emojiOnlyString.length === originalTextWithNoSpaces.length\n );\n } catch (e) {\n return false;\n }\n};\n\n/**\n * Stringifies a message object\n * @param {FormatMessageResponse<StreamChatGenerics>} message - the message object to be stringified\n * @returns {string} The stringified message\n */\nconst stringifyMessage = <\n StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics,\n>({\n deleted_at,\n latest_reactions,\n reply_count,\n status,\n type,\n updated_at,\n}: FormatMessageResponse<StreamChatGenerics>): string =>\n `${type}${deleted_at}${\n latest_reactions ? latest_reactions.map(({ type }) => type).join() : ''\n }${reply_count}${status}${updated_at?.toISOString?.() || updated_at}`;\n\n/**\n * Reduces a list of messages to strings that are used in useEffect & useMemo\n * @param {messages} messages - the array of messages to be compared\n * @returns {string} The mapped message string\n */\nexport const reduceMessagesToString = <\n StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics,\n>(\n messages: FormatMessageResponse<StreamChatGenerics>[],\n): string => messages.map(stringifyMessage).join();\n"],"mappings":";;;;;;;;;;;AAEA,IAAAA,WAAA,GAAAC,sBAAA,CAAAC,OAAA;AAEA,IAAAC,SAAA,GAAAF,sBAAA,CAAAC,OAAA;AAqBA,IAAAE,UAAA,GAAAF,OAAA;AAAsD,SAAAG,gCAAAC,CAAA,EAAAC,cAAA,QAAAC,EAAA,UAAAC,MAAA,oBAAAH,CAAA,CAAAG,MAAA,CAAAC,QAAA,KAAAJ,CAAA,oBAAAE,EAAA,UAAAA,EAAA,GAAAA,EAAA,CAAAG,IAAA,CAAAL,CAAA,GAAAM,IAAA,CAAAC,IAAA,CAAAL,EAAA,OAAAM,KAAA,CAAAC,OAAA,CAAAT,CAAA,MAAAE,EAAA,GAAAQ,2BAAA,CAAAV,CAAA,MAAAC,cAAA,IAAAD,CAAA,WAAAA,CAAA,CAAAW,MAAA,qBAAAT,EAAA,EAAAF,CAAA,GAAAE,EAAA,MAAAU,CAAA,+BAAAA,CAAA,IAAAZ,CAAA,CAAAW,MAAA,WAAAE,IAAA,mBAAAA,IAAA,SAAAC,KAAA,EAAAd,CAAA,CAAAY,CAAA,sBAAAG,SAAA;AAAA,SAAAL,4BAAAV,CAAA,EAAAgB,MAAA,SAAAhB,CAAA,qBAAAA,CAAA,sBAAAiB,iBAAA,CAAAjB,CAAA,EAAAgB,MAAA,OAAAE,CAAA,GAAAC,MAAA,CAAAC,SAAA,CAAAC,QAAA,CAAAhB,IAAA,CAAAL,CAAA,EAAAsB,KAAA,aAAAJ,CAAA,iBAAAlB,CAAA,CAAAuB,WAAA,EAAAL,CAAA,GAAAlB,CAAA,CAAAuB,WAA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AAI,GAAA8K,KAAA,CAAJ9K,IAAI;IAAA,OAAOA,IAAI;EAAA,EAAC,CAACmK,IAAI,CAAC,CAAC,GAAG,EAAE,IACtEQ,WAAW,GAAGC,MAAM,IAAG,CAAAC,UAAU,oBAAVA,UAAU,CAAEE,WAAW,oBAAvBF,UAAU,CAAEE,WAAW,CAAG,CAAC,KAAIF,UAAU;AAAA,CAAE;AAOhE,IAAMG,sBAAsB,GAAG,SAAzBA,sBAAsBA,CAGjCC,QAAqD;EAAA,OAC1CA,QAAQ,CAAC1J,GAAG,CAACgJ,gBAAgB,CAAC,CAACJ,IAAI,CAAC,CAAC;AAAA;AAACrL,OAAA,CAAAkM,sBAAA,GAAAA,sBAAA"}
|
|
1
|
+
{"version":3,"names":["_emojiRegex","_interopRequireDefault","require","_debounce","_emojiData","_createForOfIteratorHelper","o","allowArrayLike","it","Symbol","iterator","Array","isArray","_unsupportedIterableToArray","length","i","F","s","n","done","value","e","_e","f","TypeError","normalCompletion","didErr","err","call","step","next","_e2","minLen","_arrayLikeToArray","Object","prototype","toString","slice","constructor","name","from","test","arr","len","arr2","FileState","freeze","FINISHED","NOT_SUPPORTED","UPLOAD_FAILED","UPLOADED","UPLOADING","exports","ProgressIndicatorTypes","IN_PROGRESS","INACTIVE","RETRY","MessageStatusTypes","FAILED","RECEIVED","SENDING","getIndicatorTypeForFileState","fileState","enableOfflineSupport","_indicatorMap","indicatorMap","_defineProperty2","isBlockedMessage","message","pattern","type","text","isBouncedMessage","moderation_details","undefined","defaultAutoCompleteSuggestionsLimit","defaultMentionAllAppUsersQuery","filters","options","sort","isUserResponse","user","getCommands","channel","_channel$getConfig","getConfig","commands","getMembers","members","state","values","filter","member","map","getWatchers","watchers","_toConsumableArray2","getMembersAndWatchers","users","concat","reduce","acc","cur","id","queryMembers","_ref","_asyncToGenerator2","_regenerator","mark","_callee","query","onReady","_options$limit","limit","response","_users","_args","arguments","wrap","_callee$","_context","prev","$autocomplete","sent","forEach","push","stop","_x","_x2","_x3","apply","queryMembersDebounced","debounce","leading","trailing","queryUsers","_ref2","_callee2","client","_options$limit2","_options$mentionAllAp","mentionAllAppUsersQuery","_users2","_args2","_callee2$","_context2","assign","$ne","userID","$or","_x4","_x5","_x6","queryUsersDebounced","isCommandTrigger","trigger","isEmojiTrigger","isMentionTrigger","defaultEmojiSearchIndex","search","results","_loop","emoji","v","names","some","includes","skins","tone","index","unicode","_iterator","compiledEmojis","_step","_ret","_typeof2","ACITriggerSettings","_ref3","emojiSearchIndex","onMentionSelectItem","dataProvider","indexOf","_options$limit3","selectedCommands","command","_command$name","a","b","_a$name","_b$name","nameA","toLowerCase","nameB","result","output","entity","caretPosition","key","_dataProvider","_callee3","_","_yield$emojiSearchInd","emojis","_callee3$","_context3","abrupt","t0","t1","_x7","_x8","_x9","callback","item","mentionAllAppUsersEnabled","data","matchingUsers","_user$name","makeImageCompatibleUrl","url","trim","getUrlWithoutParams","indexOfQuestion","substring","isLocalUrl","generateRandomId","Number","Math","random","replace","hasOnlyEmojis","emojiOnlyString","matchAll","EmojiRegex","join","originalTextWithNoSpaces","replaceAll","stringifyMessage","_ref4","deleted_at","latest_reactions","reply_count","status","updated_at","_ref5","toISOString","reduceMessagesToString","messages"],"sourceRoot":"../../../src","sources":["utils/utils.ts"],"mappings":";;;;;;;;;;AAEA,IAAAA,WAAA,GAAAC,sBAAA,CAAAC,OAAA;AAEA,IAAAC,SAAA,GAAAF,sBAAA,CAAAC,OAAA;AAqBA,IAAAE,UAAA,GAAAF,OAAA;AAAsD,SAAAG,2BAAAC,CAAA,EAAAC,cAAA,QAAAC,EAAA,UAAAC,MAAA,oBAAAH,CAAA,CAAAG,MAAA,CAAAC,QAAA,KAAAJ,CAAA,qBAAAE,EAAA,QAAAG,KAAA,CAAAC,OAAA,CAAAN,CAAA,MAAAE,EAAA,GAAAK,2BAAA,CAAAP,CAAA,MAAAC,cAAA,IAAAD,CAAA,WAAAA,CAAA,CAAAQ,MAAA,qBAAAN,EAAA,EAAAF,CAAA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IAAI,GAAAuK,KAAA,CAAJvK,IAAI;IACJ4K,UAAU,GAAAL,KAAA,CAAVK,UAAU;EAAA,UAAA/I,MAAA,CAEP7B,IAAI,EAAA6B,MAAA,CAAG2I,UAAU,EAAA3I,MAAA,CAClB4I,gBAAgB,GAAGA,gBAAgB,CAAClJ,GAAG,CAAC,UAAAsJ,KAAA;IAAA,IAAG7K,IAAI,GAAA6K,KAAA,CAAJ7K,IAAI;IAAA,OAAOA,IAAI;EAAA,EAAC,CAACmK,IAAI,CAAC,CAAC,GAAG,EAAE,EAAAtI,MAAA,CACtE6I,WAAW,EAAA7I,MAAA,CAAG8I,MAAM,EAAA9I,MAAA,CAAG,CAAA+I,UAAU,oBAAVA,UAAU,CAAEE,WAAW,oBAAvBF,UAAU,CAAEE,WAAW,CAAG,CAAC,KAAIF,UAAU;AAAA,CAAE;AAOhE,IAAMG,sBAAsB,GAAG,SAAzBA,sBAAsBA,CAGjCC,QAAqD;EAAA,OAC1CA,QAAQ,CAACzJ,GAAG,CAAC+I,gBAAgB,CAAC,CAACH,IAAI,CAAC,CAAC;AAAA;AAACrL,OAAA,CAAAiM,sBAAA,GAAAA,sBAAA","ignoreList":[]}
|
package/lib/module/version.json
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import type { Attachment as AttachmentType } from 'stream-chat';
|
|
3
3
|
import { MessagesContextValue } from '../../contexts/messagesContext/MessagesContext';
|
|
4
4
|
import type { DefaultStreamChatGenerics } from '../../types/types';
|
|
@@ -13,4 +13,5 @@ export type AttachmentProps<StreamChatGenerics extends DefaultStreamChatGenerics
|
|
|
13
13
|
/**
|
|
14
14
|
* Attachment - The message attachment
|
|
15
15
|
*/
|
|
16
|
-
export declare const Attachment: <StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>(props: AttachmentProps<StreamChatGenerics>) => JSX.Element | null;
|
|
16
|
+
export declare const Attachment: <StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>(props: AttachmentProps<StreamChatGenerics>) => React.JSX.Element | null;
|
|
17
|
+
//# sourceMappingURL=Attachment.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Attachment.d.ts","sourceRoot":"","sources":["../../../../src/components/Attachment/Attachment.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAAE,UAAU,IAAI,cAAc,EAAE,MAAM,aAAa,CAAC;AAOhE,OAAO,EACL,oBAAoB,EAErB,MAAM,gDAAgD,CAAC;AAGxD,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAC;AAEnE,MAAM,MAAM,aAAa,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;AAElE,MAAM,MAAM,0BAA0B,CACpC,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,IAC9E,IAAI,CACN,oBAAoB,CAAC,kBAAkB,CAAC,EACtC,mBAAmB,GACnB,MAAM,GACN,gBAAgB,GAChB,SAAS,GACT,cAAc,GACd,OAAO,GACP,mBAAmB,GACnB,YAAY,GACZ,gBAAgB,CACnB,GAAG;IACF;;OAEG;IACH,UAAU,EAAE,cAAc,CAAC,kBAAkB,CAAC,CAAC;CAChD,CAAC;AAqGF,MAAM,MAAM,eAAe,CACzB,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,IAC9E,OAAO,CACT,IAAI,CACF,oBAAoB,CAAC,kBAAkB,CAAC,EACtC,mBAAmB,GACnB,MAAM,GACN,gBAAgB,GAChB,SAAS,GACT,OAAO,GACP,cAAc,GACd,gBAAgB,GAChB,YAAY,GACZ,mBAAmB,CACtB,CACF,GACC,IAAI,CAAC,0BAA0B,CAAC,kBAAkB,CAAC,EAAE,YAAY,CAAC,CAAC;AAErE;;GAEG;AACH,eAAO,MAAM,UAAU,4JA2DtB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { StyleProp, TextStyle, ViewStyle } from 'react-native';
|
|
3
3
|
import type { Attachment } from 'stream-chat';
|
|
4
4
|
import { MessageContextValue } from '../../contexts/messageContext/MessageContext';
|
|
@@ -16,6 +16,7 @@ export type AttachmentActionsProps<StreamChatGenerics extends DefaultStreamChatG
|
|
|
16
16
|
* Actions in combination with attachments can be used to build [commands](https://getstream.io/chat/docs/#channel_commands).
|
|
17
17
|
*/
|
|
18
18
|
export declare const AttachmentActions: {
|
|
19
|
-
<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>(props: AttachmentActionsProps<StreamChatGenerics>): JSX.Element;
|
|
19
|
+
<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>(props: AttachmentActionsProps<StreamChatGenerics>): React.JSX.Element;
|
|
20
20
|
displayName: string;
|
|
21
21
|
};
|
|
22
|
+
//# sourceMappingURL=AttachmentActions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AttachmentActions.d.ts","sourceRoot":"","sources":["../../../../src/components/Attachment/AttachmentActions.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EACL,SAAS,EAGT,SAAS,EAGT,SAAS,EACV,MAAM,cAAc,CAAC;AAEtB,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAE9C,OAAO,EACL,mBAAmB,EAEpB,MAAM,8CAA8C,CAAC;AAGtD,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAC;AAgBnE,MAAM,MAAM,iCAAiC,CAC3C,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,IAC9E,IAAI,CAAC,UAAU,CAAC,kBAAkB,CAAC,EAAE,SAAS,CAAC,GACjD,IAAI,CAAC,mBAAmB,CAAC,kBAAkB,CAAC,EAAE,cAAc,CAAC,GAAG;IAC9D,MAAM,CAAC,EAAE,OAAO,CAAC;QACf,YAAY,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;QACnC,UAAU,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;QACjC,SAAS,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;KACjC,CAAC,CAAC;CACJ,CAAC;AA2FJ,MAAM,MAAM,sBAAsB,CAChC,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,IAC9E,UAAU,CAAC,kBAAkB,CAAC,GAChC,OAAO,CAAC,IAAI,CAAC,mBAAmB,CAAC,kBAAkB,CAAC,EAAE,cAAc,CAAC,CAAC,CAAC;AAEzE;;;GAGG;AACH,eAAO,MAAM,iBAAiB;;;CAO7B,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import type { FileUpload } from '../../types/types';
|
|
3
3
|
export type AudioAttachmentPropsWithContext = {
|
|
4
4
|
item: Omit<FileUpload, 'state'>;
|
|
@@ -19,6 +19,7 @@ export type AudioAttachmentProps = Partial<AudioAttachmentPropsWithContext> & {
|
|
|
19
19
|
* UI Component to preview the audio files
|
|
20
20
|
*/
|
|
21
21
|
export declare const AudioAttachment: {
|
|
22
|
-
(props: AudioAttachmentProps): JSX.Element;
|
|
22
|
+
(props: AudioAttachmentProps): React.JSX.Element;
|
|
23
23
|
displayName: string;
|
|
24
24
|
};
|
|
25
|
+
//# sourceMappingURL=AudioAttachment.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AudioAttachment.d.ts","sourceRoot":"","sources":["../../../../src/components/Attachment/AudioAttachment.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAezC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AA0DpD,MAAM,MAAM,+BAA+B,GAAG;IAC5C,IAAI,EAAE,IAAI,CAAC,UAAU,EAAE,OAAO,CAAC,CAAC;IAChC,MAAM,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IAClD,WAAW,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,YAAY,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;IAC7D,UAAU,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,WAAW,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;IAC5E,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AA0NF,MAAM,MAAM,oBAAoB,GAAG,OAAO,CAAC,+BAA+B,CAAC,GAAG;IAC5E,IAAI,EAAE,IAAI,CAAC,UAAU,EAAE,OAAO,CAAC,CAAC;IAChC,MAAM,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IAClD,WAAW,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,YAAY,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;IAC7D,UAAU,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,WAAW,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;IAC5E,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,eAAe;YAAW,oBAAoB;;CAE1D,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { ImageStyle, StyleProp, TextStyle, ViewStyle } from 'react-native';
|
|
3
3
|
import type { Attachment } from 'stream-chat';
|
|
4
4
|
import { ChatContextValue } from '../../contexts/chatContext/ChatContext';
|
|
@@ -26,6 +26,7 @@ export type CardProps<StreamChatGenerics extends DefaultStreamChatGenerics = Def
|
|
|
26
26
|
* UI component for card in attachments.
|
|
27
27
|
*/
|
|
28
28
|
export declare const Card: {
|
|
29
|
-
<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>(props: CardProps<StreamChatGenerics>): JSX.Element;
|
|
29
|
+
<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>(props: CardProps<StreamChatGenerics>): React.JSX.Element;
|
|
30
30
|
displayName: string;
|
|
31
31
|
};
|
|
32
|
+
//# sourceMappingURL=Card.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Card.d.ts","sourceRoot":"","sources":["../../../../src/components/Attachment/Card.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAEL,UAAU,EACV,SAAS,EAGT,SAAS,EAGT,SAAS,EACV,MAAM,cAAc,CAAC;AAEtB,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAI9C,OAAO,EAAE,gBAAgB,EAAkB,MAAM,wCAAwC,CAAC;AAE1F,OAAO,EACL,mBAAmB,EAEpB,MAAM,8CAA8C,CAAC;AACtD,OAAO,EACL,oBAAoB,EAErB,MAAM,gDAAgD,CAAC;AAGxD,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAC;AAuDnE,MAAM,MAAM,oBAAoB,CAC9B,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,IAC9E,UAAU,CAAC,kBAAkB,CAAC,GAChC,IAAI,CAAC,gBAAgB,EAAE,gBAAgB,CAAC,GACxC,IAAI,CACF,mBAAmB,CAAC,kBAAkB,CAAC,EACvC,aAAa,GAAG,SAAS,GAAG,WAAW,GAAG,cAAc,CACzD,GACD,IAAI,CACF,oBAAoB,CAAC,kBAAkB,CAAC,EACxC,0BAA0B,GAAG,WAAW,GAAG,YAAY,GAAG,YAAY,GAAG,gBAAgB,CAC1F,GAAG;IACF,SAAS,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B,SAAS,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B,MAAM,CAAC,EAAE,OAAO,CAAC;QACf,UAAU,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;QACjC,mBAAmB,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;QAC1C,gBAAgB,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;QACvC,yBAAyB,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;QAChD,cAAc,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;QACrC,SAAS,EAAE,SAAS,CAAC,UAAU,CAAC,CAAC;QACjC,UAAU,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;QACjC,SAAS,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;QAChC,WAAW,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;QAClC,KAAK,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;KAC7B,CAAC,CAAC;CACJ,CAAC;AAmMJ,MAAM,MAAM,SAAS,CACnB,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,IAC9E,UAAU,CAAC,kBAAkB,CAAC,GAChC,OAAO,CACL,IAAI,CAAC,gBAAgB,CAAC,kBAAkB,CAAC,EAAE,gBAAgB,CAAC,GAC1D,IAAI,CACF,mBAAmB,CAAC,kBAAkB,CAAC,EACvC,aAAa,GAAG,SAAS,GAAG,WAAW,GAAG,gBAAgB,CAC3D,GACD,IAAI,CACF,oBAAoB,CAAC,kBAAkB,CAAC,EACxC,0BAA0B,GAAG,WAAW,GAAG,YAAY,GAAG,YAAY,CACvE,CACJ,CAAC;AAEJ;;GAEG;AACH,eAAO,MAAM,IAAI;;;CA+BhB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { StyleProp, TextStyle, ViewStyle } from 'react-native';
|
|
3
3
|
import type { Attachment } from 'stream-chat';
|
|
4
4
|
import { MessageContextValue } from '../../contexts/messageContext/MessageContext';
|
|
@@ -17,7 +17,8 @@ export type FileAttachmentPropsWithContext<StreamChatGenerics extends DefaultStr
|
|
|
17
17
|
};
|
|
18
18
|
export type FileAttachmentProps<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Partial<Omit<FileAttachmentPropsWithContext<StreamChatGenerics>, 'attachment'>> & Pick<FileAttachmentPropsWithContext<StreamChatGenerics>, 'attachment'>;
|
|
19
19
|
export declare const FileAttachment: {
|
|
20
|
-
<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>(props: FileAttachmentProps<StreamChatGenerics>): JSX.Element;
|
|
20
|
+
<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>(props: FileAttachmentProps<StreamChatGenerics>): React.JSX.Element;
|
|
21
21
|
displayName: string;
|
|
22
22
|
};
|
|
23
23
|
export declare const getFileSizeDisplayText: (size?: number | string) => string | undefined;
|
|
24
|
+
//# sourceMappingURL=FileAttachment.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FileAttachment.d.ts","sourceRoot":"","sources":["../../../../src/components/Attachment/FileAttachment.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EACL,SAAS,EAGT,SAAS,EAGT,SAAS,EACV,MAAM,cAAc,CAAC;AAEtB,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAM9C,OAAO,EACL,mBAAmB,EAEpB,MAAM,8CAA8C,CAAC;AACtD,OAAO,EACL,oBAAoB,EAErB,MAAM,gDAAgD,CAAC;AAGxD,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAC;AAqBnE,MAAM,MAAM,8BAA8B,CACxC,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,IAC9E,IAAI,CACN,mBAAmB,CAAC,kBAAkB,CAAC,EACvC,aAAa,GAAG,SAAS,GAAG,WAAW,GAAG,cAAc,CACzD,GACC,IAAI,CACF,oBAAoB,CAAC,kBAAkB,CAAC,EACxC,0BAA0B,GAAG,mBAAmB,GAAG,oBAAoB,CACxE,GAAG;IACF,+BAA+B;IAC/B,UAAU,EAAE,UAAU,CAAC,kBAAkB,CAAC,CAAC;IAC3C,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,MAAM,CAAC,EAAE,OAAO,CAAC;QACf,SAAS,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;QAChC,OAAO,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;QAC9B,IAAI,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;QAC3B,KAAK,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;KAC7B,CAAC,CAAC;CACJ,CAAC;AA4FJ,MAAM,MAAM,mBAAmB,CAC7B,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,IAC9E,OAAO,CAAC,IAAI,CAAC,8BAA8B,CAAC,kBAAkB,CAAC,EAAE,YAAY,CAAC,CAAC,GACjF,IAAI,CAAC,8BAA8B,CAAC,kBAAkB,CAAC,EAAE,YAAY,CAAC,CAAC;AAEzE,eAAO,MAAM,cAAc;;;CA0B1B,CAAC;AAEF,eAAO,MAAM,sBAAsB,UAAW,MAAM,GAAG,MAAM,uBAW5D,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { StyleProp, ViewStyle } from 'react-native';
|
|
3
3
|
import { MessageContextValue } from '../../contexts/messageContext/MessageContext';
|
|
4
4
|
import { MessagesContextValue } from '../../contexts/messagesContext/MessagesContext';
|
|
@@ -15,6 +15,7 @@ export type FileAttachmentGroupPropsWithContext<StreamChatGenerics extends Defau
|
|
|
15
15
|
};
|
|
16
16
|
export type FileAttachmentGroupProps<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Partial<Omit<FileAttachmentGroupPropsWithContext<StreamChatGenerics>, 'messageId'>> & Pick<FileAttachmentGroupPropsWithContext<StreamChatGenerics>, 'messageId'>;
|
|
17
17
|
export declare const FileAttachmentGroup: {
|
|
18
|
-
<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>(props: FileAttachmentGroupProps<StreamChatGenerics>): JSX.Element | null;
|
|
18
|
+
<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>(props: FileAttachmentGroupProps<StreamChatGenerics>): React.JSX.Element | null;
|
|
19
19
|
displayName: string;
|
|
20
20
|
};
|
|
21
|
+
//# sourceMappingURL=FileAttachmentGroup.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FileAttachmentGroup.d.ts","sourceRoot":"","sources":["../../../../src/components/Attachment/FileAttachmentGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,SAAS,EAAoB,SAAS,EAAE,MAAM,cAAc,CAAC;AAMtE,OAAO,EACL,mBAAmB,EAEpB,MAAM,8CAA8C,CAAC;AAEtD,OAAO,EACL,oBAAoB,EAErB,MAAM,gDAAgD,CAAC;AAIxD,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAC;AAmBnE,MAAM,MAAM,mCAAmC,CAC7C,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,IAC9E,IAAI,CAAC,mBAAmB,CAAC,kBAAkB,CAAC,EAAE,OAAO,CAAC,GACxD,IAAI,CAAC,oBAAoB,CAAC,kBAAkB,CAAC,EAAE,YAAY,GAAG,iBAAiB,CAAC,GAAG;IACjF;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,OAAO,CAAC;QACf,mBAAmB,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;QAC1C,SAAS,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;KACjC,CAAC,CAAC;CACJ,CAAC;AAgJJ,MAAM,MAAM,wBAAwB,CAClC,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,IAC9E,OAAO,CAAC,IAAI,CAAC,mCAAmC,CAAC,kBAAkB,CAAC,EAAE,WAAW,CAAC,CAAC,GACrF,IAAI,CAAC,mCAAmC,CAAC,kBAAkB,CAAC,EAAE,WAAW,CAAC,CAAC;AAE7E,eAAO,MAAM,mBAAmB;;;CA0B/B,CAAC"}
|
|
@@ -3,4 +3,8 @@ export type FileIconProps = {
|
|
|
3
3
|
mimeType?: string;
|
|
4
4
|
size?: number;
|
|
5
5
|
};
|
|
6
|
-
export declare const FileIcon:
|
|
6
|
+
export declare const FileIcon: {
|
|
7
|
+
({ mimeType, size }: FileIconProps): React.JSX.Element;
|
|
8
|
+
displayName: string;
|
|
9
|
+
};
|
|
10
|
+
//# sourceMappingURL=FileIcon.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FileIcon.d.ts","sourceRoot":"","sources":["../../../../src/components/Attachment/FileIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AA2a1B,MAAM,MAAM,aAAa,GAAG;IAC1B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,eAAO,MAAM,QAAQ;yBAAwB,aAAa;;CAYzD,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import type { MessageType } from '../../components/MessageList/hooks/useMessageList';
|
|
3
3
|
import { ImageGalleryContextValue } from '../../contexts/imageGalleryContext/ImageGalleryContext';
|
|
4
4
|
import { MessageContextValue } from '../../contexts/messageContext/MessageContext';
|
|
@@ -27,6 +27,7 @@ export type GalleryProps<StreamChatGenerics extends DefaultStreamChatGenerics =
|
|
|
27
27
|
* UI component for card in attachments.
|
|
28
28
|
*/
|
|
29
29
|
export declare const Gallery: {
|
|
30
|
-
<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>(props: Partial<GalleryPropsWithContext<StreamChatGenerics>>): JSX.Element | null;
|
|
30
|
+
<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>(props: Partial<GalleryPropsWithContext<StreamChatGenerics>>): React.JSX.Element | null;
|
|
31
31
|
displayName: string;
|
|
32
32
|
};
|
|
33
|
+
//# sourceMappingURL=Gallery.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Gallery.d.ts","sourceRoot":"","sources":["../../../../src/components/Attachment/Gallery.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAcvC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mDAAmD,CAAC;AACrF,OAAO,EACL,wBAAwB,EAEzB,MAAM,wDAAwD,CAAC;AAChE,OAAO,EACL,mBAAmB,EAEpB,MAAM,8CAA8C,CAAC;AACtD,OAAO,EACL,oBAAoB,EAErB,MAAM,gDAAgD,CAAC;AACxD,OAAO,EACL,mBAAmB,EAEpB,MAAM,8CAA8C,CAAC;AAItD,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAC;AAGnE,MAAM,MAAM,uBAAuB,CACjC,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,IAC9E,IAAI,CAAC,wBAAwB,CAAC,kBAAkB,CAAC,EAAE,oBAAoB,GAAG,aAAa,CAAC,GAC1F,IAAI,CACF,mBAAmB,CAAC,kBAAkB,CAAC,EACrC,WAAW,GACX,aAAa,GACb,QAAQ,GACR,QAAQ,GACR,aAAa,GACb,SAAS,GACT,WAAW,GACX,cAAc,GACd,YAAY,CACf,GACD,IAAI,CACF,oBAAoB,CAAC,kBAAkB,CAAC,EACtC,0BAA0B,GAC1B,iCAAiC,GACjC,gBAAgB,GAChB,uBAAuB,GACvB,6BAA6B,GAC7B,gBAAgB,CACnB,GACD,IAAI,CAAC,mBAAmB,EAAE,YAAY,CAAC,GAAG;IACxC,SAAS,EAAE,MAAM,G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