stream-chat-react-native-core 10.0.0-rc.1 → 10.0.0-rc.2
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/a11y/a11yUtils.js.map +1 -1
- package/lib/commonjs/a11y/hooks/useA11yLabel.js.map +1 -1
- package/lib/commonjs/a11y/hooks/useAccessibilityActivateAction.js.map +1 -1
- package/lib/commonjs/a11y/hooks/useAccessibilityServiceEnabled.js.map +1 -1
- package/lib/commonjs/a11y/hooks/useAnnounceOnShow.js.map +1 -1
- package/lib/commonjs/a11y/hooks/useAnnounceOnStateChange.js.map +1 -1
- package/lib/commonjs/a11y/hooks/useReducedMotionPreference.js.map +1 -1
- package/lib/commonjs/a11y/hooks/useResolvedModalAccessibilityProps.js.map +1 -1
- package/lib/commonjs/a11y/hooks/useScreenReaderEnabled.js.map +1 -1
- package/lib/commonjs/a11y/hooks/useScreenReaderMountFocus.js.map +1 -1
- package/lib/commonjs/a11y/hooks/useSetAccessibilityFocus.js.map +1 -1
- package/lib/commonjs/ai-components/AITypingIndicatorView.js.map +1 -1
- package/lib/commonjs/ai-components/charts/components/VictoryChart.js.map +1 -1
- package/lib/commonjs/ai-components/charts/index.js.map +1 -1
- package/lib/commonjs/ai-components/charts/utils/generate-pie-colors.js.map +1 -1
- package/lib/commonjs/ai-components/charts/utils/parse-json-chart.js +1 -2
- package/lib/commonjs/ai-components/charts/utils/parse-json-chart.js.map +1 -1
- package/lib/commonjs/ai-components/charts/vega-lite/schema.js.map +1 -1
- package/lib/commonjs/ai-components/index.js.map +1 -1
- package/lib/commonjs/ai-components/internal/hooks/useStableCallback.js.map +1 -1
- package/lib/commonjs/ai-components/internal/icons/SendUp.js.map +1 -1
- package/lib/commonjs/ai-components/markdown/components/Table.js.map +1 -1
- package/lib/commonjs/ai-components/markdown/rules.js +0 -1
- package/lib/commonjs/ai-components/markdown/rules.js.map +1 -1
- package/lib/commonjs/ai-components/markdown/utils/generate-markdown-text.js.map +1 -1
- package/lib/commonjs/ai-components/message-composer/SpeechToTextButton.js.map +1 -1
- package/lib/commonjs/ai-components/native/AIDictation.js.map +1 -1
- package/lib/commonjs/ai-components/native-specs/NativeAIDictation.js.map +1 -1
- package/lib/commonjs/ai-components/services/media-picker-service/rncli.js.map +1 -1
- package/lib/commonjs/ai-components/store/index.js.map +1 -1
- package/lib/commonjs/ai-components/syntax-highlighting/index.js.map +1 -1
- package/lib/commonjs/ai-components/syntax-highlighting/utils/converter.js.map +1 -1
- package/lib/commonjs/ai-components/syntax-highlighting/utils/flatten-nodes.js.map +1 -1
- package/lib/commonjs/components/AITypingIndicatorView/hooks/useAIState.js.map +1 -1
- package/lib/commonjs/components/Accessibility/CompositeAccessibilityProbe.js.map +1 -1
- package/lib/commonjs/components/Accessibility/HiddenA11yText.js.map +1 -1
- package/lib/commonjs/components/Accessibility/NotificationAnnouncer.js.map +1 -1
- package/lib/commonjs/components/Accessibility/OverlayA11yShield.js.map +1 -1
- package/lib/commonjs/components/Accessibility/hooks/useIncomingMessageAnnouncements.js.map +1 -1
- package/lib/commonjs/components/Accessibility/useAccessibilityAnnouncer.js.map +1 -1
- package/lib/commonjs/components/Attachment/Attachment.js.map +1 -1
- package/lib/commonjs/components/Attachment/AttachmentFileUploadProgressIndicator.js.map +1 -1
- package/lib/commonjs/components/Attachment/AttachmentUploadIndicator.js.map +1 -1
- package/lib/commonjs/components/Attachment/Audio/AudioAttachment.js.map +1 -1
- package/lib/commonjs/components/Attachment/Audio/PlayPauseButton.js.map +1 -1
- package/lib/commonjs/components/Attachment/CircularProgressIndicator.js.map +1 -1
- package/lib/commonjs/components/Attachment/FileIcon.js +4 -4
- package/lib/commonjs/components/Attachment/FileIcon.js.map +1 -1
- package/lib/commonjs/components/Attachment/FilePreview.js.map +1 -1
- package/lib/commonjs/components/Attachment/Gallery.js.map +1 -1
- package/lib/commonjs/components/Attachment/Giphy/Giphy.js.map +1 -1
- package/lib/commonjs/components/Attachment/Giphy/GiphyImage.js.map +1 -1
- package/lib/commonjs/components/Attachment/ImageLoadingFailedIndicator.js.map +1 -1
- package/lib/commonjs/components/Attachment/MediaUploadProgressOverlay.js.map +1 -1
- package/lib/commonjs/components/Attachment/UrlPreview/URLPreview.js.map +1 -1
- package/lib/commonjs/components/Attachment/UrlPreview/URLPreviewCompact.js.map +1 -1
- 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.map +1 -1
- 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/buildThumbnailGrid.js.map +1 -1
- package/lib/commonjs/components/Attachment/utils/getAspectRatio.js.map +1 -1
- package/lib/commonjs/components/Attachment/utils/getGiphyMimeType.js.map +1 -1
- package/lib/commonjs/components/AttachmentPicker/AttachmentPicker.js.map +1 -1
- package/lib/commonjs/components/AttachmentPicker/components/AttachmentMediaPicker/AttachmentMediaPicker.js.map +1 -1
- package/lib/commonjs/components/AttachmentPicker/components/AttachmentMediaPicker/AttachmentPickerItem.js.map +1 -1
- package/lib/commonjs/components/AutoCompleteInput/AutoCompleteInput.js.map +1 -1
- package/lib/commonjs/components/AutoCompleteInput/AutoCompleteSuggestionItem.js.map +1 -1
- package/lib/commonjs/components/AutoCompleteInput/AutoCompleteSuggestionList.js.map +1 -1
- package/lib/commonjs/components/AutoCompleteInput/mentionItems/EnhancedMentionContent.js.map +1 -1
- package/lib/commonjs/components/AutoCompleteInput/mentionItems/EnhancedMentionIcon.js.map +1 -1
- package/lib/commonjs/components/AutoCompleteInput/mentionItems/MentionBroadcastItem.js.map +1 -1
- package/lib/commonjs/components/AutoCompleteInput/mentionItems/MentionItem.js.map +1 -1
- package/lib/commonjs/components/AutoCompleteInput/mentionItems/TokenizedSuggestionParts.js.map +1 -1
- package/lib/commonjs/components/Channel/Channel.js.map +1 -1
- package/lib/commonjs/components/Channel/ChannelShell.js.map +1 -1
- package/lib/commonjs/components/Channel/hooks/useChannelLifecycle.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.map +1 -1
- package/lib/commonjs/components/Channel/hooks/useSupersededChannelSwap.js.map +1 -1
- package/lib/commonjs/components/ChannelDetails/ChannelDetails.js.map +1 -1
- package/lib/commonjs/components/ChannelDetails/components/ChannelDetailsActionsSection.js.map +1 -1
- package/lib/commonjs/components/ChannelDetails/components/ChannelDetailsEditButton.js.map +1 -1
- package/lib/commonjs/components/ChannelDetails/components/ChannelDetailsMemberSection.js.map +1 -1
- package/lib/commonjs/components/ChannelDetails/components/ChannelDetailsNavigationSection.js.map +1 -1
- package/lib/commonjs/components/ChannelDetails/components/ChannelEditDetailsForm.js.map +1 -1
- package/lib/commonjs/components/ChannelDetails/components/ChannelEditDetailsFormContent.js.map +1 -1
- package/lib/commonjs/components/ChannelDetails/components/members/ChannelAddMembersButton.js.map +1 -1
- package/lib/commonjs/components/ChannelDetails/components/members/ChannelAddMembersForm.js.map +1 -1
- package/lib/commonjs/components/ChannelDetails/components/members/ChannelAddMembersFormContent.js.map +1 -1
- package/lib/commonjs/components/ChannelDetails/components/members/ChannelMemberActionsSheet.js.map +1 -1
- package/lib/commonjs/components/ChannelDetails/components/members/ChannelMemberItem.js.map +1 -1
- package/lib/commonjs/components/ChannelDetails/components/members/ChannelMemberList.js.map +1 -1
- package/lib/commonjs/components/ChannelDetails/components/navigation-section/FileAttachmentItem.js.map +1 -1
- package/lib/commonjs/components/ChannelDetails/components/navigation-section/FileAttachmentList.js.map +1 -1
- package/lib/commonjs/components/ChannelDetails/components/navigation-section/MediaItem.js.map +1 -1
- package/lib/commonjs/components/ChannelDetails/components/navigation-section/MediaList.js.map +1 -1
- package/lib/commonjs/components/ChannelDetails/components/navigation-section/MediaListLoadingSkeleton.js.map +1 -1
- package/lib/commonjs/components/ChannelDetails/components/navigation-section/PinnedMessageList.js.map +1 -1
- package/lib/commonjs/components/ChannelDetails/hooks/members/useMemberRoles.js.map +1 -1
- package/lib/commonjs/components/ChannelDetails/hooks/useChannelDetailsMemberStatusText.js.map +1 -1
- package/lib/commonjs/components/ChannelDetails/hooks/useChannelDetailsNavigationItems.js.map +1 -1
- package/lib/commonjs/components/ChannelDetails/hooks/useEditChannelImage.js +2 -2
- package/lib/commonjs/components/ChannelDetails/hooks/useEditChannelImage.js.map +1 -1
- package/lib/commonjs/components/ChannelDetails/hooks/useFileAttachmentListSections.js.map +1 -1
- package/lib/commonjs/components/ChannelDetails/hooks/useMediaList.js.map +1 -1
- package/lib/commonjs/components/ChannelDetails/hooks/useUserActivityStatus.js.map +1 -1
- package/lib/commonjs/components/ChannelList/ChannelList.js.map +1 -1
- package/lib/commonjs/components/ChannelList/ChannelListView.js.map +1 -1
- package/lib/commonjs/components/ChannelList/hooks/useChannelMembersState.js.map +1 -1
- package/lib/commonjs/components/ChannelList/hooks/useChannelOnlineMemberCount.js.map +1 -1
- package/lib/commonjs/components/ChannelList/hooks/useMutedChannels.js.map +1 -1
- package/lib/commonjs/components/ChannelList/hooks/useMutedUsers.js.map +1 -1
- package/lib/commonjs/components/ChannelList/hooks/usePaginatedChannels.js.map +1 -1
- package/lib/commonjs/components/ChannelPreview/ChannelMessagePreviewDeliveryStatus.js.map +1 -1
- package/lib/commonjs/components/ChannelPreview/ChannelPreview.js.map +1 -1
- package/lib/commonjs/components/ChannelPreview/ChannelPreviewMessage.js.map +1 -1
- package/lib/commonjs/components/ChannelPreview/ChannelPreviewMutedStatus.js.map +1 -1
- package/lib/commonjs/components/ChannelPreview/ChannelPreviewPinnedStatus.js.map +1 -1
- package/lib/commonjs/components/ChannelPreview/ChannelPreviewTitle.js.map +1 -1
- package/lib/commonjs/components/ChannelPreview/ChannelPreviewUnreadCount.js.map +1 -1
- package/lib/commonjs/components/ChannelPreview/ChannelPreviewView.js.map +1 -1
- package/lib/commonjs/components/ChannelPreview/hooks/useChannelPreviewData.js +2 -2
- package/lib/commonjs/components/ChannelPreview/hooks/useChannelPreviewData.js.map +1 -1
- package/lib/commonjs/components/ChannelPreview/hooks/useChannelPreviewDisplayPresence.js.map +1 -1
- package/lib/commonjs/components/ChannelPreview/hooks/useChannelPreviewDraftMessage.js.map +1 -1
- package/lib/commonjs/components/ChannelPreview/hooks/useChannelPreviewPollLabel.js.map +1 -1
- package/lib/commonjs/components/ChannelPreview/hooks/useChannelTypingState.js.map +1 -1
- package/lib/commonjs/components/ChannelPreview/hooks/useIsChannelMuted.js.map +1 -1
- package/lib/commonjs/components/Chat/Chat.js.map +1 -1
- package/lib/commonjs/components/Chat/hooks/useAppSettingsGetter.js.map +1 -1
- package/lib/commonjs/components/Chat/hooks/useClientUserId.js.map +1 -1
- package/lib/commonjs/components/Chat/hooks/useConnectionLifecycle.js.map +1 -1
- package/lib/commonjs/components/Chat/hooks/useCreateChatClient.js.map +1 -1
- package/lib/commonjs/components/Chat/hooks/useInitializeOfflineDb.js.map +1 -1
- package/lib/commonjs/components/Chat/hooks/useNetworkConnectionState.js.map +1 -1
- package/lib/commonjs/components/Chat/hooks/usePendingUploadsDefault.js.map +1 -1
- package/lib/commonjs/components/Chat/hooks/useWSConnectionState.js.map +1 -1
- package/lib/commonjs/components/ImageGallery/ImageGallery.js.map +1 -1
- package/lib/commonjs/components/ImageGallery/components/AnimatedGalleryImage.js.map +1 -1
- package/lib/commonjs/components/ImageGallery/components/AnimatedGalleryVideo.js +1 -1
- package/lib/commonjs/components/ImageGallery/components/AnimatedGalleryVideo.js.map +1 -1
- package/lib/commonjs/components/ImageGallery/components/ImageGalleryA11yProbe.js.map +1 -1
- package/lib/commonjs/components/ImageGallery/components/ImageGalleryFooter.js.map +1 -1
- package/lib/commonjs/components/ImageGallery/components/ImageGalleryHeader.js.map +1 -1
- package/lib/commonjs/components/ImageGallery/components/ImageGalleryVideoControl.js +3 -4
- package/lib/commonjs/components/ImageGallery/components/ImageGalleryVideoControl.js.map +1 -1
- package/lib/commonjs/components/ImageGallery/hooks/useAnimatedGalleryStyle.js.map +1 -1
- package/lib/commonjs/components/ImageGallery/hooks/useCurrentImageHeight.js.map +1 -1
- package/lib/commonjs/components/ImageGallery/hooks/useImageGalleryGestures.js.map +1 -1
- package/lib/commonjs/components/ImageGallery/hooks/useImageGalleryVideoPlayer.js.map +1 -1
- package/lib/commonjs/components/Indicators/LoadingIndicator.js.map +1 -1
- package/lib/commonjs/components/KeyboardCompatibleView/KeyboardCompatibleView.js.map +1 -1
- package/lib/commonjs/components/Message/Message.js.map +1 -1
- package/lib/commonjs/components/Message/MessageItemView/Headers/SentToChannelHeader.js.map +1 -1
- package/lib/commonjs/components/Message/MessageItemView/MessageBlocked.js.map +1 -1
- package/lib/commonjs/components/Message/MessageItemView/MessageContent.js.map +1 -1
- package/lib/commonjs/components/Message/MessageItemView/MessageFooter.js.map +1 -1
- package/lib/commonjs/components/Message/MessageItemView/MessageItemView.js.map +1 -1
- package/lib/commonjs/components/Message/MessageItemView/MessageTextContainer.js.map +1 -1
- package/lib/commonjs/components/Message/MessageItemView/MessageTimestamp.js.map +1 -1
- package/lib/commonjs/components/Message/MessageItemView/MessageWrapper.js.map +1 -1
- package/lib/commonjs/components/Message/MessageItemView/ReactionList/ReactionListTop.js.map +1 -1
- package/lib/commonjs/components/Message/MessageItemView/utils/generateMarkdownText.js +21 -8
- package/lib/commonjs/components/Message/MessageItemView/utils/generateMarkdownText.js.map +1 -1
- package/lib/commonjs/components/Message/MessageItemView/utils/generateMarkdownText.test.js +1 -1
- package/lib/commonjs/components/Message/MessageItemView/utils/generateMarkdownText.test.js.map +1 -1
- package/lib/commonjs/components/Message/MessageItemView/utils/parseLinks.js.map +1 -1
- package/lib/commonjs/components/Message/MessageItemView/utils/renderText.js.map +1 -1
- package/lib/commonjs/components/Message/MessageOverlayWrapper.js.map +1 -1
- package/lib/commonjs/components/Message/hooks/useCreateMessageActionHandlers.js +4 -2
- package/lib/commonjs/components/Message/hooks/useCreateMessageActionHandlers.js.map +1 -1
- package/lib/commonjs/components/Message/hooks/useCreateMessageContext.js.map +1 -1
- package/lib/commonjs/components/Message/hooks/useIsMessageDeliveredToOthers.js.map +1 -1
- package/lib/commonjs/components/Message/hooks/useIsMessageReadByOthers.js.map +1 -1
- package/lib/commonjs/components/Message/hooks/useMessageActionHandlers.js.map +1 -1
- package/lib/commonjs/components/Message/hooks/useMessageActions.js.map +1 -1
- package/lib/commonjs/components/Message/hooks/useMessageOperations.js.map +1 -1
- package/lib/commonjs/components/Message/hooks/useProcessReactions.js.map +1 -1
- package/lib/commonjs/components/Message/hooks/useStreamingMessage.js.map +1 -1
- package/lib/commonjs/components/Message/hooks/useUserMuteActive.js.map +1 -1
- package/lib/commonjs/components/Message/utils/measureInWindow.js.map +1 -1
- package/lib/commonjs/components/Message/utils/messageActions.js.map +1 -1
- package/lib/commonjs/components/MessageInput/MessageComposer.js.map +1 -1
- package/lib/commonjs/components/MessageInput/components/AttachmentPreview/AttachmentUploadPreviewList.js.map +1 -1
- package/lib/commonjs/components/MessageInput/components/AudioRecorder/AudioRecorder.js.map +1 -1
- package/lib/commonjs/components/MessageInput/components/AudioRecorder/AudioRecordingButton.js.map +1 -1
- package/lib/commonjs/components/MessageInput/components/AudioRecorder/AudioRecordingInProgress.js.map +1 -1
- package/lib/commonjs/components/MessageInput/components/AudioRecorder/AudioRecordingLockIndicator.js.map +1 -1
- package/lib/commonjs/components/MessageInput/components/AudioRecorder/AudioRecordingPreview.js.map +1 -1
- package/lib/commonjs/components/MessageInput/components/AudioRecorder/AudioRecordingWaveform.js.map +1 -1
- package/lib/commonjs/components/MessageInput/components/InputButtons/AttachButton.js.map +1 -1
- package/lib/commonjs/components/MessageInput/components/OutputButtons/CooldownTimer.js.map +1 -1
- package/lib/commonjs/components/MessageInput/hooks/useAudioRecorder.js.map +1 -1
- package/lib/commonjs/components/MessageInput/utils/audioSampling.js.map +1 -1
- package/lib/commonjs/components/MessageInput/utils/normalizeAudioLevel.js.map +1 -1
- package/lib/commonjs/components/MessageList/InlineDateSeparator.js.map +1 -1
- package/lib/commonjs/components/MessageList/MessageFlashList.js +2 -2
- package/lib/commonjs/components/MessageList/MessageFlashList.js.map +1 -1
- package/lib/commonjs/components/MessageList/MessageList.js +2 -2
- package/lib/commonjs/components/MessageList/MessageList.js.map +1 -1
- package/lib/commonjs/components/MessageList/MessageSystem.js.map +1 -1
- package/lib/commonjs/components/MessageList/StickyHeader.js.map +1 -1
- package/lib/commonjs/components/MessageList/UnreadMessagesNotification.js.map +1 -1
- package/lib/commonjs/components/MessageList/hooks/useMarkRead.js +5 -5
- package/lib/commonjs/components/MessageList/hooks/useMarkRead.js.map +1 -1
- package/lib/commonjs/components/MessageList/hooks/useMessageDateSeparator.js.map +1 -1
- package/lib/commonjs/components/MessageList/hooks/useMessageGroupStyles.js.map +1 -1
- package/lib/commonjs/components/MessageList/hooks/useMessageList.js.map +1 -1
- package/lib/commonjs/components/MessageList/hooks/useMessageListFocus.js.map +1 -1
- package/lib/commonjs/components/MessageList/hooks/useMessageListLiveState.js.map +1 -1
- package/lib/commonjs/components/MessageList/hooks/useMessageListPagination.js.map +1 -1
- package/lib/commonjs/components/MessageList/hooks/useOwnUnreadCount.js.map +1 -1
- package/lib/commonjs/components/MessageList/hooks/useScrollToBottomAccessibilityAction.js.map +1 -1
- package/lib/commonjs/components/MessageList/hooks/useStickyHeaderDate.js.map +1 -1
- package/lib/commonjs/components/MessageList/hooks/useTypingString.js.map +1 -1
- package/lib/commonjs/components/MessageList/hooks/useTypingUsers.js.map +1 -1
- package/lib/commonjs/components/MessageList/hooks/useUnreadNotificationVisibility.js.map +1 -1
- package/lib/commonjs/components/MessageList/utils/buildMessageListWithNeighbours.js.map +1 -1
- package/lib/commonjs/components/MessageList/utils/getGroupStyles.js.map +1 -1
- package/lib/commonjs/components/MessageMenu/EmojiPickerList.js.map +1 -1
- package/lib/commonjs/components/MessageMenu/MessageActionList.js +1 -1
- package/lib/commonjs/components/MessageMenu/MessageActionList.js.map +1 -1
- package/lib/commonjs/components/MessageMenu/MessageActionListItem.js.map +1 -1
- package/lib/commonjs/components/MessageMenu/MessageActionListWithActions.js +0 -1
- package/lib/commonjs/components/MessageMenu/MessageActionListWithActions.js.map +1 -1
- package/lib/commonjs/components/MessageMenu/MessageReactionPicker.js.map +1 -1
- package/lib/commonjs/components/MessageMenu/MessageUserReactions.js.map +1 -1
- package/lib/commonjs/components/MessageMenu/MessageUserReactionsAvatar.js.map +1 -1
- package/lib/commonjs/components/MessageMenu/MessageUserReactionsItem.js.map +1 -1
- package/lib/commonjs/components/MessageMenu/ReactionButton.js.map +1 -1
- package/lib/commonjs/components/Notifications/Notification.js.map +1 -1
- package/lib/commonjs/components/Notifications/NotificationTargetContext.js.map +1 -1
- package/lib/commonjs/components/Notifications/hooks/useNotificationApi.js.map +1 -1
- package/lib/commonjs/components/Notifications/hooks/useNotifications.js.map +1 -1
- package/lib/commonjs/components/Notifications/hooks/useSystemNotifications.js.map +1 -1
- package/lib/commonjs/components/Notifications/notificationFilters.js.map +1 -1
- package/lib/commonjs/components/Notifications/notificationTarget.js.map +1 -1
- package/lib/commonjs/components/Notifications/notificationTranslations.js.map +1 -1
- package/lib/commonjs/components/Poll/CreatePollContent.js +9 -3
- package/lib/commonjs/components/Poll/CreatePollContent.js.map +1 -1
- package/lib/commonjs/components/Poll/components/CreatePollHeader.js.map +1 -1
- package/lib/commonjs/components/Poll/components/CreatePollOptions.js +11 -5
- package/lib/commonjs/components/Poll/components/CreatePollOptions.js.map +1 -1
- package/lib/commonjs/components/Poll/components/MultipleAnswersField.js +3 -1
- package/lib/commonjs/components/Poll/components/MultipleAnswersField.js.map +1 -1
- package/lib/commonjs/components/Poll/components/MultipleVotesSettings.js +12 -4
- package/lib/commonjs/components/Poll/components/MultipleVotesSettings.js.map +1 -1
- package/lib/commonjs/components/Poll/components/NameField.js +3 -1
- package/lib/commonjs/components/Poll/components/NameField.js.map +1 -1
- package/lib/commonjs/components/Poll/hook/useIsPollCreatedByCurrentUser.js.map +1 -1
- package/lib/commonjs/components/Poll/hooks/useEndVote.js.map +1 -1
- package/lib/commonjs/components/Poll/hooks/usePollAnswersPagination.js.map +1 -1
- package/lib/commonjs/components/Poll/hooks/usePollOptionVotesPagination.js.map +1 -1
- package/lib/commonjs/components/Poll/hooks/usePollVoteToggle.js.map +1 -1
- package/lib/commonjs/components/Poll/index.js.map +1 -1
- package/lib/commonjs/components/ProgressControl/ProgressBar.js.map +1 -1
- package/lib/commonjs/components/ProgressControl/ProgressControl.js.map +1 -1
- package/lib/commonjs/components/ProgressControl/ProgressThumb.js.map +1 -1
- package/lib/commonjs/components/ProgressControl/StableDurationLabel.js.map +1 -1
- package/lib/commonjs/components/ProgressControl/WaveProgressBar.js.map +1 -1
- package/lib/commonjs/components/Reply/Reply.js.map +1 -1
- package/lib/commonjs/components/Thread/Thread.js.map +1 -1
- package/lib/commonjs/components/Thread/components/ThreadFooterComponent.js.map +1 -1
- package/lib/commonjs/components/ThreadList/ThreadListItem.js +2 -2
- package/lib/commonjs/components/ThreadList/ThreadListItem.js.map +1 -1
- package/lib/commonjs/components/ThreadList/ThreadMessagePreviewDeliveryStatus.js.map +1 -1
- package/lib/commonjs/components/UIComponents/BottomSheetModal.js.map +1 -1
- package/lib/commonjs/components/UIComponents/ClippingFadeBottom.js.map +1 -1
- package/lib/commonjs/components/UIComponents/EmptyList.js.map +1 -1
- package/lib/commonjs/components/UIComponents/ImageBackground.js.map +1 -1
- package/lib/commonjs/components/UIComponents/PortalWhileClosingView.js.map +1 -1
- package/lib/commonjs/components/UIComponents/SafeAreaViewWrapper.js.map +1 -1
- package/lib/commonjs/components/UIComponents/SvgAwareImage.js.map +1 -1
- package/lib/commonjs/components/index.js.map +1 -1
- package/lib/commonjs/components/ui/Avatar/Avatar.js.map +1 -1
- package/lib/commonjs/components/ui/Avatar/AvatarGroup.js.map +1 -1
- package/lib/commonjs/components/ui/Avatar/ChannelAvatar.js.map +1 -1
- package/lib/commonjs/components/ui/Badge/BadgeNotification.js.map +1 -1
- package/lib/commonjs/components/ui/Button/Button.js.map +1 -1
- package/lib/commonjs/components/ui/Button/hooks/useButtonStyles.js.map +1 -1
- package/lib/commonjs/components/ui/GiphyChip.js.map +1 -1
- package/lib/commonjs/components/ui/SpeedSettingsButton.js.map +1 -1
- package/lib/commonjs/contexts/accessibilityContext/AccessibilityContext.js.map +1 -1
- package/lib/commonjs/contexts/attachmentPickerContext/AttachmentPickerContext.js +1 -1
- package/lib/commonjs/contexts/attachmentPickerContext/AttachmentPickerContext.js.map +1 -1
- package/lib/commonjs/contexts/bottomSheetContext/BottomSheetContext.js.map +1 -1
- package/lib/commonjs/contexts/channelAddMembersContext/ChannelAddMembersContext.js.map +1 -1
- package/lib/commonjs/contexts/channelContext/ChannelContext.js +1 -1
- package/lib/commonjs/contexts/channelContext/ChannelContext.js.map +1 -1
- package/lib/commonjs/contexts/channelDetailsContext/channelDetailsContext.js.map +1 -1
- package/lib/commonjs/contexts/channelEditDetailsContext/ChannelEditDetailsContext.js.map +1 -1
- package/lib/commonjs/contexts/channelsContext/ChannelsContext.js +1 -1
- package/lib/commonjs/contexts/channelsContext/ChannelsContext.js.map +1 -1
- package/lib/commonjs/contexts/chatConfigContext/ChatConfigContext.js.map +1 -1
- package/lib/commonjs/contexts/chatContext/ChatContext.js +1 -1
- package/lib/commonjs/contexts/chatContext/ChatContext.js.map +1 -1
- package/lib/commonjs/contexts/componentsContext/ComponentsContext.js.map +1 -1
- package/lib/commonjs/contexts/componentsContext/defaultComponents.js.map +1 -1
- package/lib/commonjs/contexts/imageGalleryContext/ImageGalleryContextBase.js +1 -1
- package/lib/commonjs/contexts/imageGalleryContext/ImageGalleryContextBase.js.map +1 -1
- package/lib/commonjs/contexts/liveLocationManagerContext/LiveLocationManagerContext.js.map +1 -1
- package/lib/commonjs/contexts/liveLocationManagerContext/hooks/useHandleLiveLocationEvents.js.map +1 -1
- package/lib/commonjs/contexts/messageComposerContext/MessageComposerContext.js.map +1 -1
- package/lib/commonjs/contexts/messageContext/MessageContext.js.map +1 -1
- package/lib/commonjs/contexts/messageInputContext/MessageInputContext.js +3 -3
- package/lib/commonjs/contexts/messageInputContext/MessageInputContext.js.map +1 -1
- package/lib/commonjs/contexts/messageInputContext/hooks/useMessageComposer.js.map +1 -1
- package/lib/commonjs/contexts/messageInputContext/hooks/usePendingUploadsEnabled.js.map +1 -1
- package/lib/commonjs/contexts/messageListItemContext/MessageListItemContext.js +1 -1
- package/lib/commonjs/contexts/messageListItemContext/MessageListItemContext.js.map +1 -1
- package/lib/commonjs/contexts/messagesContext/MessagesContext.js +1 -1
- package/lib/commonjs/contexts/messagesContext/MessagesContext.js.map +1 -1
- package/lib/commonjs/contexts/overlayContext/ClosingPortalHostsLayer.js.map +1 -1
- package/lib/commonjs/contexts/overlayContext/MessageOverlayHostLayer.js.map +1 -1
- package/lib/commonjs/contexts/overlayContext/OverlayContext.js +1 -1
- package/lib/commonjs/contexts/overlayContext/OverlayContext.js.map +1 -1
- package/lib/commonjs/contexts/overlayContext/OverlayProvider.js.map +1 -1
- package/lib/commonjs/contexts/ownCapabilitiesContext/OwnCapabilitiesContext.js +1 -1
- package/lib/commonjs/contexts/ownCapabilitiesContext/OwnCapabilitiesContext.js.map +1 -1
- package/lib/commonjs/contexts/pollContext/createPollContentContext.js +1 -1
- package/lib/commonjs/contexts/pollContext/createPollContentContext.js.map +1 -1
- package/lib/commonjs/contexts/pollContext/pollContext.js +1 -1
- package/lib/commonjs/contexts/pollContext/pollContext.js.map +1 -1
- package/lib/commonjs/contexts/screenReaderContext/ScreenReaderContext.js.map +1 -1
- package/lib/commonjs/contexts/swipeableContext/SwipeRegistryContext.js +10 -9
- package/lib/commonjs/contexts/swipeableContext/SwipeRegistryContext.js.map +1 -1
- package/lib/commonjs/contexts/themeContext/ThemeContext.js +1 -1
- package/lib/commonjs/contexts/themeContext/ThemeContext.js.map +1 -1
- package/lib/commonjs/contexts/themeContext/utils/theme.js.map +1 -1
- package/lib/commonjs/contexts/threadContext/ThreadContext.js.map +1 -1
- package/lib/commonjs/contexts/translationContext/TranslationContext.js.map +1 -1
- package/lib/commonjs/hooks/actions/useChannelActionItems.js.map +1 -1
- package/lib/commonjs/hooks/actions/useChannelActions.js +9 -3
- package/lib/commonjs/hooks/actions/useChannelActions.js.map +1 -1
- package/lib/commonjs/hooks/actions/useChannelMemberActionItems.js.map +1 -1
- package/lib/commonjs/hooks/messagePreview/useMessageDeliveryStatus.js.map +1 -1
- package/lib/commonjs/hooks/messagePreview/useMessagePreviewText.js.map +1 -1
- package/lib/commonjs/hooks/useAppStateListener.js.map +1 -1
- package/lib/commonjs/hooks/useAttachmentPickerBottomSheet.js +1 -1
- package/lib/commonjs/hooks/useAttachmentPickerBottomSheet.js.map +1 -1
- package/lib/commonjs/hooks/useAudioPlayer.js.map +1 -1
- package/lib/commonjs/hooks/useCanAddMembersToChannel.js.map +1 -1
- package/lib/commonjs/hooks/useCanEditChannel.js.map +1 -1
- package/lib/commonjs/hooks/useChannel.js.map +1 -1
- package/lib/commonjs/hooks/useChannelImage.js.map +1 -1
- package/lib/commonjs/hooks/useChannelMemberCount.js.map +1 -1
- package/lib/commonjs/hooks/useChannelMembershipState.js.map +1 -1
- package/lib/commonjs/hooks/useChannelName.js.map +1 -1
- package/lib/commonjs/hooks/useChannelOwnCapabilities.js.map +1 -1
- package/lib/commonjs/hooks/useHorizontalInsets.js.map +1 -1
- package/lib/commonjs/hooks/useIsChannelMember.js.map +1 -1
- package/lib/commonjs/hooks/useIsMountedRef.js.map +1 -1
- package/lib/commonjs/hooks/useIsSvg.js.map +1 -1
- package/lib/commonjs/hooks/useKeyboardVisibility.js.map +1 -1
- package/lib/commonjs/hooks/useLazyRef.js.map +1 -1
- package/lib/commonjs/hooks/useMessagePaginator.js.map +1 -1
- package/lib/commonjs/hooks/usePendingAttachmentUpload.js.map +1 -1
- package/lib/commonjs/hooks/usePortalSettledCallback.js.map +1 -1
- package/lib/commonjs/hooks/usePrunableMessageList.js.map +1 -1
- package/lib/commonjs/hooks/useQueryReminders.js.map +1 -1
- package/lib/commonjs/hooks/useRAFCoalescedValue.js.map +1 -1
- package/lib/commonjs/hooks/useScreenDimensions.js.map +1 -1
- package/lib/commonjs/hooks/useScreenOrientation.js.map +1 -1
- package/lib/commonjs/hooks/useStableCallback.js.map +1 -1
- package/lib/commonjs/hooks/useStreami18n.js.map +1 -1
- package/lib/commonjs/hooks/useTranslatedMessage.js.map +1 -1
- package/lib/commonjs/hooks/useWindowContentWidth.js.map +1 -1
- package/lib/commonjs/i18n/runtimeDefaults.js.map +1 -1
- package/lib/commonjs/i18n/utils.js.map +1 -1
- package/lib/commonjs/middlewares/attachments.js.map +1 -1
- package/lib/commonjs/middlewares/emojiControl.js +10 -13
- package/lib/commonjs/middlewares/emojiControl.js.map +1 -1
- package/lib/commonjs/native.js.map +1 -1
- package/lib/commonjs/polyfills.js.map +1 -1
- package/lib/commonjs/state-store/audio-player.js.map +1 -1
- package/lib/commonjs/state-store/audio-recorder-manager.js.map +1 -1
- package/lib/commonjs/state-store/edit-channel-details-store.js.map +1 -1
- package/lib/commonjs/state-store/image-gallery-state-store.js.map +1 -1
- package/lib/commonjs/state-store/in-app-notifications-store.js.map +1 -1
- package/lib/commonjs/state-store/message-overlay-store.js.map +1 -1
- package/lib/commonjs/state-store/selection-store.js.map +1 -1
- package/lib/commonjs/store/OfflineDB.js.map +1 -1
- package/lib/commonjs/store/SqliteClient.js.map +1 -1
- package/lib/commonjs/store/apis/addPendingTask.js.map +1 -1
- package/lib/commonjs/store/apis/channelExists.js.map +1 -1
- package/lib/commonjs/store/apis/dropPendingTasks.js.map +1 -1
- package/lib/commonjs/store/apis/getChannelMessages.js.map +1 -1
- 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/getDraftsForChannels.js.map +1 -1
- package/lib/commonjs/store/apis/getReactions.js.map +1 -1
- package/lib/commonjs/store/apis/getReactionsforFilterSort.js +0 -3
- package/lib/commonjs/store/apis/getReactionsforFilterSort.js.map +1 -1
- package/lib/commonjs/store/apis/insertReaction.js.map +1 -1
- package/lib/commonjs/store/apis/queries/selectActiveLocationsForChannels.js.map +1 -1
- package/lib/commonjs/store/apis/queries/selectChannelQueryForFilterSort.js.map +1 -1
- package/lib/commonjs/store/apis/queries/selectMessagesForChannels.js +1 -1
- package/lib/commonjs/store/apis/queries/selectReactionsForMessages.js.map +1 -1
- package/lib/commonjs/store/apis/upsertChannels.js +2 -2
- 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/upsertDraft.js +2 -3
- package/lib/commonjs/store/apis/upsertDraft.js.map +1 -1
- package/lib/commonjs/store/constants.js.map +1 -1
- package/lib/commonjs/store/mappers/mapStorableToMember.js +1 -1
- package/lib/commonjs/store/mappers/mapStorableToMember.js.map +1 -1
- package/lib/commonjs/store/mappers/mapStorableToPoll.js.map +1 -1
- package/lib/commonjs/store/mappers/mapStorableToTimestamp.js.map +1 -1
- package/lib/commonjs/store/mappers/mapTimestampToStorable.js.map +1 -1
- package/lib/commonjs/store/sqlite-utils/createDeleteQuery.js.map +1 -1
- package/lib/commonjs/store/sqlite-utils/createSelectQuery.js.map +1 -1
- package/lib/commonjs/store/sqlite-utils/createUpsertQuery.js.map +1 -1
- package/lib/commonjs/store/sqlite-utils/createUpsertQueryIfParentExists.js.map +1 -1
- package/lib/commonjs/theme/topologicalResolution.js.map +1 -1
- package/lib/commonjs/types/types.js.map +1 -1
- package/lib/commonjs/utils/attachmentUrls.js.map +1 -1
- package/lib/commonjs/utils/compressImage.js.map +1 -1
- package/lib/commonjs/utils/getResizedImageUrl.js.map +1 -1
- package/lib/commonjs/utils/getTrimmedAttachmentTitle.js +4 -2
- package/lib/commonjs/utils/getTrimmedAttachmentTitle.js.map +1 -1
- package/lib/commonjs/utils/getUrlOfImageAttachment.js.map +1 -1
- package/lib/commonjs/utils/i18n/Streami18n.js.map +1 -1
- package/lib/commonjs/utils/installNativeMultipartAdapter.js.map +1 -1
- package/lib/commonjs/utils/isRNVersionGreaterThanOrEqualTo.js.map +1 -1
- package/lib/commonjs/utils/react-native-constants.js.map +1 -1
- package/lib/commonjs/utils/rtlMirrorSwitchStyle.js.map +1 -1
- package/lib/commonjs/utils/utils.js +1 -2
- package/lib/commonjs/utils/utils.js.map +1 -1
- package/lib/commonjs/version.json +1 -1
- package/lib/module/a11y/a11yUtils.js.map +1 -1
- package/lib/module/a11y/hooks/useA11yLabel.js.map +1 -1
- package/lib/module/a11y/hooks/useAccessibilityActivateAction.js.map +1 -1
- package/lib/module/a11y/hooks/useAccessibilityServiceEnabled.js.map +1 -1
- package/lib/module/a11y/hooks/useAnnounceOnShow.js.map +1 -1
- package/lib/module/a11y/hooks/useAnnounceOnStateChange.js.map +1 -1
- package/lib/module/a11y/hooks/useReducedMotionPreference.js.map +1 -1
- package/lib/module/a11y/hooks/useResolvedModalAccessibilityProps.js.map +1 -1
- package/lib/module/a11y/hooks/useScreenReaderEnabled.js.map +1 -1
- package/lib/module/a11y/hooks/useScreenReaderMountFocus.js.map +1 -1
- package/lib/module/a11y/hooks/useSetAccessibilityFocus.js.map +1 -1
- package/lib/module/ai-components/AITypingIndicatorView.js.map +1 -1
- package/lib/module/ai-components/charts/components/VictoryChart.js.map +1 -1
- package/lib/module/ai-components/charts/index.js.map +1 -1
- package/lib/module/ai-components/charts/utils/generate-pie-colors.js.map +1 -1
- package/lib/module/ai-components/charts/utils/parse-json-chart.js +1 -2
- package/lib/module/ai-components/charts/utils/parse-json-chart.js.map +1 -1
- package/lib/module/ai-components/charts/vega-lite/schema.js.map +1 -1
- package/lib/module/ai-components/index.js.map +1 -1
- package/lib/module/ai-components/internal/hooks/useStableCallback.js.map +1 -1
- package/lib/module/ai-components/internal/icons/SendUp.js.map +1 -1
- package/lib/module/ai-components/markdown/components/Table.js.map +1 -1
- package/lib/module/ai-components/markdown/rules.js +0 -1
- package/lib/module/ai-components/markdown/rules.js.map +1 -1
- package/lib/module/ai-components/markdown/utils/generate-markdown-text.js.map +1 -1
- package/lib/module/ai-components/message-composer/SpeechToTextButton.js.map +1 -1
- package/lib/module/ai-components/native/AIDictation.js.map +1 -1
- package/lib/module/ai-components/native-specs/NativeAIDictation.js.map +1 -1
- package/lib/module/ai-components/services/media-picker-service/rncli.js.map +1 -1
- package/lib/module/ai-components/store/index.js.map +1 -1
- package/lib/module/ai-components/syntax-highlighting/index.js.map +1 -1
- package/lib/module/ai-components/syntax-highlighting/utils/converter.js.map +1 -1
- package/lib/module/ai-components/syntax-highlighting/utils/flatten-nodes.js.map +1 -1
- package/lib/module/components/AITypingIndicatorView/hooks/useAIState.js.map +1 -1
- package/lib/module/components/Accessibility/CompositeAccessibilityProbe.js.map +1 -1
- package/lib/module/components/Accessibility/HiddenA11yText.js.map +1 -1
- package/lib/module/components/Accessibility/NotificationAnnouncer.js.map +1 -1
- package/lib/module/components/Accessibility/OverlayA11yShield.js.map +1 -1
- package/lib/module/components/Accessibility/hooks/useIncomingMessageAnnouncements.js.map +1 -1
- package/lib/module/components/Accessibility/useAccessibilityAnnouncer.js.map +1 -1
- package/lib/module/components/Attachment/Attachment.js.map +1 -1
- package/lib/module/components/Attachment/AttachmentFileUploadProgressIndicator.js.map +1 -1
- package/lib/module/components/Attachment/AttachmentUploadIndicator.js.map +1 -1
- package/lib/module/components/Attachment/Audio/AudioAttachment.js.map +1 -1
- package/lib/module/components/Attachment/Audio/PlayPauseButton.js.map +1 -1
- package/lib/module/components/Attachment/CircularProgressIndicator.js.map +1 -1
- package/lib/module/components/Attachment/FileIcon.js +4 -4
- package/lib/module/components/Attachment/FileIcon.js.map +1 -1
- package/lib/module/components/Attachment/FilePreview.js.map +1 -1
- package/lib/module/components/Attachment/Gallery.js.map +1 -1
- package/lib/module/components/Attachment/Giphy/Giphy.js.map +1 -1
- package/lib/module/components/Attachment/Giphy/GiphyImage.js.map +1 -1
- package/lib/module/components/Attachment/ImageLoadingFailedIndicator.js.map +1 -1
- package/lib/module/components/Attachment/MediaUploadProgressOverlay.js.map +1 -1
- package/lib/module/components/Attachment/UrlPreview/URLPreview.js.map +1 -1
- package/lib/module/components/Attachment/UrlPreview/URLPreviewCompact.js.map +1 -1
- 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.map +1 -1
- 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/buildThumbnailGrid.js.map +1 -1
- package/lib/module/components/Attachment/utils/getAspectRatio.js.map +1 -1
- package/lib/module/components/Attachment/utils/getGiphyMimeType.js.map +1 -1
- package/lib/module/components/AttachmentPicker/AttachmentPicker.js.map +1 -1
- package/lib/module/components/AttachmentPicker/components/AttachmentMediaPicker/AttachmentMediaPicker.js.map +1 -1
- package/lib/module/components/AttachmentPicker/components/AttachmentMediaPicker/AttachmentPickerItem.js.map +1 -1
- package/lib/module/components/AutoCompleteInput/AutoCompleteInput.js.map +1 -1
- package/lib/module/components/AutoCompleteInput/AutoCompleteSuggestionItem.js.map +1 -1
- package/lib/module/components/AutoCompleteInput/AutoCompleteSuggestionList.js.map +1 -1
- package/lib/module/components/AutoCompleteInput/mentionItems/EnhancedMentionContent.js.map +1 -1
- package/lib/module/components/AutoCompleteInput/mentionItems/EnhancedMentionIcon.js.map +1 -1
- package/lib/module/components/AutoCompleteInput/mentionItems/MentionBroadcastItem.js.map +1 -1
- package/lib/module/components/AutoCompleteInput/mentionItems/MentionItem.js.map +1 -1
- package/lib/module/components/AutoCompleteInput/mentionItems/TokenizedSuggestionParts.js.map +1 -1
- package/lib/module/components/Channel/Channel.js.map +1 -1
- package/lib/module/components/Channel/ChannelShell.js.map +1 -1
- package/lib/module/components/Channel/hooks/useChannelLifecycle.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.map +1 -1
- package/lib/module/components/Channel/hooks/useSupersededChannelSwap.js.map +1 -1
- package/lib/module/components/ChannelDetails/ChannelDetails.js.map +1 -1
- package/lib/module/components/ChannelDetails/components/ChannelDetailsActionsSection.js.map +1 -1
- package/lib/module/components/ChannelDetails/components/ChannelDetailsEditButton.js.map +1 -1
- package/lib/module/components/ChannelDetails/components/ChannelDetailsMemberSection.js.map +1 -1
- package/lib/module/components/ChannelDetails/components/ChannelDetailsNavigationSection.js.map +1 -1
- package/lib/module/components/ChannelDetails/components/ChannelEditDetailsForm.js.map +1 -1
- package/lib/module/components/ChannelDetails/components/ChannelEditDetailsFormContent.js.map +1 -1
- package/lib/module/components/ChannelDetails/components/members/ChannelAddMembersButton.js.map +1 -1
- package/lib/module/components/ChannelDetails/components/members/ChannelAddMembersForm.js.map +1 -1
- package/lib/module/components/ChannelDetails/components/members/ChannelAddMembersFormContent.js.map +1 -1
- package/lib/module/components/ChannelDetails/components/members/ChannelMemberActionsSheet.js.map +1 -1
- package/lib/module/components/ChannelDetails/components/members/ChannelMemberItem.js.map +1 -1
- package/lib/module/components/ChannelDetails/components/members/ChannelMemberList.js.map +1 -1
- package/lib/module/components/ChannelDetails/components/navigation-section/FileAttachmentItem.js.map +1 -1
- package/lib/module/components/ChannelDetails/components/navigation-section/FileAttachmentList.js.map +1 -1
- package/lib/module/components/ChannelDetails/components/navigation-section/MediaItem.js.map +1 -1
- package/lib/module/components/ChannelDetails/components/navigation-section/MediaList.js.map +1 -1
- package/lib/module/components/ChannelDetails/components/navigation-section/MediaListLoadingSkeleton.js.map +1 -1
- package/lib/module/components/ChannelDetails/components/navigation-section/PinnedMessageList.js.map +1 -1
- package/lib/module/components/ChannelDetails/hooks/members/useMemberRoles.js.map +1 -1
- package/lib/module/components/ChannelDetails/hooks/useChannelDetailsMemberStatusText.js.map +1 -1
- package/lib/module/components/ChannelDetails/hooks/useChannelDetailsNavigationItems.js.map +1 -1
- package/lib/module/components/ChannelDetails/hooks/useEditChannelImage.js +2 -2
- package/lib/module/components/ChannelDetails/hooks/useEditChannelImage.js.map +1 -1
- package/lib/module/components/ChannelDetails/hooks/useFileAttachmentListSections.js.map +1 -1
- package/lib/module/components/ChannelDetails/hooks/useMediaList.js.map +1 -1
- package/lib/module/components/ChannelDetails/hooks/useUserActivityStatus.js.map +1 -1
- package/lib/module/components/ChannelList/ChannelList.js.map +1 -1
- package/lib/module/components/ChannelList/ChannelListView.js.map +1 -1
- package/lib/module/components/ChannelList/hooks/useChannelMembersState.js.map +1 -1
- package/lib/module/components/ChannelList/hooks/useChannelOnlineMemberCount.js.map +1 -1
- package/lib/module/components/ChannelList/hooks/useMutedChannels.js.map +1 -1
- package/lib/module/components/ChannelList/hooks/useMutedUsers.js.map +1 -1
- package/lib/module/components/ChannelList/hooks/usePaginatedChannels.js.map +1 -1
- package/lib/module/components/ChannelPreview/ChannelMessagePreviewDeliveryStatus.js.map +1 -1
- package/lib/module/components/ChannelPreview/ChannelPreview.js.map +1 -1
- package/lib/module/components/ChannelPreview/ChannelPreviewMessage.js.map +1 -1
- package/lib/module/components/ChannelPreview/ChannelPreviewMutedStatus.js.map +1 -1
- package/lib/module/components/ChannelPreview/ChannelPreviewPinnedStatus.js.map +1 -1
- package/lib/module/components/ChannelPreview/ChannelPreviewTitle.js.map +1 -1
- package/lib/module/components/ChannelPreview/ChannelPreviewUnreadCount.js.map +1 -1
- package/lib/module/components/ChannelPreview/ChannelPreviewView.js.map +1 -1
- package/lib/module/components/ChannelPreview/hooks/useChannelPreviewData.js +2 -2
- package/lib/module/components/ChannelPreview/hooks/useChannelPreviewData.js.map +1 -1
- package/lib/module/components/ChannelPreview/hooks/useChannelPreviewDisplayPresence.js.map +1 -1
- package/lib/module/components/ChannelPreview/hooks/useChannelPreviewDraftMessage.js.map +1 -1
- package/lib/module/components/ChannelPreview/hooks/useChannelPreviewPollLabel.js.map +1 -1
- package/lib/module/components/ChannelPreview/hooks/useChannelTypingState.js.map +1 -1
- package/lib/module/components/ChannelPreview/hooks/useIsChannelMuted.js.map +1 -1
- package/lib/module/components/Chat/Chat.js.map +1 -1
- package/lib/module/components/Chat/hooks/useAppSettingsGetter.js.map +1 -1
- package/lib/module/components/Chat/hooks/useClientUserId.js.map +1 -1
- package/lib/module/components/Chat/hooks/useConnectionLifecycle.js.map +1 -1
- package/lib/module/components/Chat/hooks/useCreateChatClient.js.map +1 -1
- package/lib/module/components/Chat/hooks/useInitializeOfflineDb.js.map +1 -1
- package/lib/module/components/Chat/hooks/useNetworkConnectionState.js.map +1 -1
- package/lib/module/components/Chat/hooks/usePendingUploadsDefault.js.map +1 -1
- package/lib/module/components/Chat/hooks/useWSConnectionState.js.map +1 -1
- package/lib/module/components/ImageGallery/ImageGallery.js.map +1 -1
- package/lib/module/components/ImageGallery/components/AnimatedGalleryImage.js.map +1 -1
- package/lib/module/components/ImageGallery/components/AnimatedGalleryVideo.js +1 -1
- package/lib/module/components/ImageGallery/components/AnimatedGalleryVideo.js.map +1 -1
- package/lib/module/components/ImageGallery/components/ImageGalleryA11yProbe.js.map +1 -1
- package/lib/module/components/ImageGallery/components/ImageGalleryFooter.js.map +1 -1
- package/lib/module/components/ImageGallery/components/ImageGalleryHeader.js.map +1 -1
- package/lib/module/components/ImageGallery/components/ImageGalleryVideoControl.js +3 -4
- package/lib/module/components/ImageGallery/components/ImageGalleryVideoControl.js.map +1 -1
- package/lib/module/components/ImageGallery/hooks/useAnimatedGalleryStyle.js.map +1 -1
- package/lib/module/components/ImageGallery/hooks/useCurrentImageHeight.js.map +1 -1
- package/lib/module/components/ImageGallery/hooks/useImageGalleryGestures.js.map +1 -1
- package/lib/module/components/ImageGallery/hooks/useImageGalleryVideoPlayer.js.map +1 -1
- package/lib/module/components/Indicators/LoadingIndicator.js.map +1 -1
- package/lib/module/components/KeyboardCompatibleView/KeyboardCompatibleView.js.map +1 -1
- package/lib/module/components/Message/Message.js.map +1 -1
- package/lib/module/components/Message/MessageItemView/Headers/SentToChannelHeader.js.map +1 -1
- package/lib/module/components/Message/MessageItemView/MessageBlocked.js.map +1 -1
- package/lib/module/components/Message/MessageItemView/MessageContent.js.map +1 -1
- package/lib/module/components/Message/MessageItemView/MessageFooter.js.map +1 -1
- package/lib/module/components/Message/MessageItemView/MessageItemView.js.map +1 -1
- package/lib/module/components/Message/MessageItemView/MessageTextContainer.js.map +1 -1
- package/lib/module/components/Message/MessageItemView/MessageTimestamp.js.map +1 -1
- package/lib/module/components/Message/MessageItemView/MessageWrapper.js.map +1 -1
- package/lib/module/components/Message/MessageItemView/ReactionList/ReactionListTop.js.map +1 -1
- package/lib/module/components/Message/MessageItemView/utils/generateMarkdownText.js +21 -8
- package/lib/module/components/Message/MessageItemView/utils/generateMarkdownText.js.map +1 -1
- package/lib/module/components/Message/MessageItemView/utils/generateMarkdownText.test.js +1 -1
- package/lib/module/components/Message/MessageItemView/utils/generateMarkdownText.test.js.map +1 -1
- package/lib/module/components/Message/MessageItemView/utils/parseLinks.js.map +1 -1
- package/lib/module/components/Message/MessageItemView/utils/renderText.js.map +1 -1
- package/lib/module/components/Message/MessageOverlayWrapper.js.map +1 -1
- package/lib/module/components/Message/hooks/useCreateMessageActionHandlers.js +4 -2
- package/lib/module/components/Message/hooks/useCreateMessageActionHandlers.js.map +1 -1
- package/lib/module/components/Message/hooks/useCreateMessageContext.js.map +1 -1
- package/lib/module/components/Message/hooks/useIsMessageDeliveredToOthers.js.map +1 -1
- package/lib/module/components/Message/hooks/useIsMessageReadByOthers.js.map +1 -1
- package/lib/module/components/Message/hooks/useMessageActionHandlers.js.map +1 -1
- package/lib/module/components/Message/hooks/useMessageActions.js.map +1 -1
- package/lib/module/components/Message/hooks/useMessageOperations.js.map +1 -1
- package/lib/module/components/Message/hooks/useProcessReactions.js.map +1 -1
- package/lib/module/components/Message/hooks/useStreamingMessage.js.map +1 -1
- package/lib/module/components/Message/hooks/useUserMuteActive.js.map +1 -1
- package/lib/module/components/Message/utils/measureInWindow.js.map +1 -1
- package/lib/module/components/Message/utils/messageActions.js.map +1 -1
- package/lib/module/components/MessageInput/MessageComposer.js.map +1 -1
- package/lib/module/components/MessageInput/components/AttachmentPreview/AttachmentUploadPreviewList.js.map +1 -1
- package/lib/module/components/MessageInput/components/AudioRecorder/AudioRecorder.js.map +1 -1
- package/lib/module/components/MessageInput/components/AudioRecorder/AudioRecordingButton.js.map +1 -1
- package/lib/module/components/MessageInput/components/AudioRecorder/AudioRecordingInProgress.js.map +1 -1
- package/lib/module/components/MessageInput/components/AudioRecorder/AudioRecordingLockIndicator.js.map +1 -1
- package/lib/module/components/MessageInput/components/AudioRecorder/AudioRecordingPreview.js.map +1 -1
- package/lib/module/components/MessageInput/components/AudioRecorder/AudioRecordingWaveform.js.map +1 -1
- package/lib/module/components/MessageInput/components/InputButtons/AttachButton.js.map +1 -1
- package/lib/module/components/MessageInput/components/OutputButtons/CooldownTimer.js.map +1 -1
- package/lib/module/components/MessageInput/hooks/useAudioRecorder.js.map +1 -1
- package/lib/module/components/MessageInput/utils/audioSampling.js.map +1 -1
- package/lib/module/components/MessageInput/utils/normalizeAudioLevel.js.map +1 -1
- package/lib/module/components/MessageList/InlineDateSeparator.js.map +1 -1
- package/lib/module/components/MessageList/MessageFlashList.js +2 -2
- package/lib/module/components/MessageList/MessageFlashList.js.map +1 -1
- package/lib/module/components/MessageList/MessageList.js +2 -2
- package/lib/module/components/MessageList/MessageList.js.map +1 -1
- package/lib/module/components/MessageList/MessageSystem.js.map +1 -1
- package/lib/module/components/MessageList/StickyHeader.js.map +1 -1
- package/lib/module/components/MessageList/UnreadMessagesNotification.js.map +1 -1
- package/lib/module/components/MessageList/hooks/useMarkRead.js +5 -5
- package/lib/module/components/MessageList/hooks/useMarkRead.js.map +1 -1
- package/lib/module/components/MessageList/hooks/useMessageDateSeparator.js.map +1 -1
- package/lib/module/components/MessageList/hooks/useMessageGroupStyles.js.map +1 -1
- package/lib/module/components/MessageList/hooks/useMessageList.js.map +1 -1
- package/lib/module/components/MessageList/hooks/useMessageListFocus.js.map +1 -1
- package/lib/module/components/MessageList/hooks/useMessageListLiveState.js.map +1 -1
- package/lib/module/components/MessageList/hooks/useMessageListPagination.js.map +1 -1
- package/lib/module/components/MessageList/hooks/useOwnUnreadCount.js.map +1 -1
- package/lib/module/components/MessageList/hooks/useScrollToBottomAccessibilityAction.js.map +1 -1
- package/lib/module/components/MessageList/hooks/useStickyHeaderDate.js.map +1 -1
- package/lib/module/components/MessageList/hooks/useTypingString.js.map +1 -1
- package/lib/module/components/MessageList/hooks/useTypingUsers.js.map +1 -1
- package/lib/module/components/MessageList/hooks/useUnreadNotificationVisibility.js.map +1 -1
- package/lib/module/components/MessageList/utils/buildMessageListWithNeighbours.js.map +1 -1
- package/lib/module/components/MessageList/utils/getGroupStyles.js.map +1 -1
- package/lib/module/components/MessageMenu/EmojiPickerList.js.map +1 -1
- package/lib/module/components/MessageMenu/MessageActionList.js +1 -1
- package/lib/module/components/MessageMenu/MessageActionList.js.map +1 -1
- package/lib/module/components/MessageMenu/MessageActionListItem.js.map +1 -1
- package/lib/module/components/MessageMenu/MessageActionListWithActions.js +0 -1
- package/lib/module/components/MessageMenu/MessageActionListWithActions.js.map +1 -1
- package/lib/module/components/MessageMenu/MessageReactionPicker.js.map +1 -1
- package/lib/module/components/MessageMenu/MessageUserReactions.js.map +1 -1
- package/lib/module/components/MessageMenu/MessageUserReactionsAvatar.js.map +1 -1
- package/lib/module/components/MessageMenu/MessageUserReactionsItem.js.map +1 -1
- package/lib/module/components/MessageMenu/ReactionButton.js.map +1 -1
- package/lib/module/components/Notifications/Notification.js.map +1 -1
- package/lib/module/components/Notifications/NotificationTargetContext.js.map +1 -1
- package/lib/module/components/Notifications/hooks/useNotificationApi.js.map +1 -1
- package/lib/module/components/Notifications/hooks/useNotifications.js.map +1 -1
- package/lib/module/components/Notifications/hooks/useSystemNotifications.js.map +1 -1
- package/lib/module/components/Notifications/notificationFilters.js.map +1 -1
- package/lib/module/components/Notifications/notificationTarget.js.map +1 -1
- package/lib/module/components/Notifications/notificationTranslations.js.map +1 -1
- package/lib/module/components/Poll/CreatePollContent.js +9 -3
- package/lib/module/components/Poll/CreatePollContent.js.map +1 -1
- package/lib/module/components/Poll/components/CreatePollHeader.js.map +1 -1
- package/lib/module/components/Poll/components/CreatePollOptions.js +11 -5
- package/lib/module/components/Poll/components/CreatePollOptions.js.map +1 -1
- package/lib/module/components/Poll/components/MultipleAnswersField.js +3 -1
- package/lib/module/components/Poll/components/MultipleAnswersField.js.map +1 -1
- package/lib/module/components/Poll/components/MultipleVotesSettings.js +12 -4
- package/lib/module/components/Poll/components/MultipleVotesSettings.js.map +1 -1
- package/lib/module/components/Poll/components/NameField.js +3 -1
- package/lib/module/components/Poll/components/NameField.js.map +1 -1
- package/lib/module/components/Poll/hook/useIsPollCreatedByCurrentUser.js.map +1 -1
- package/lib/module/components/Poll/hooks/useEndVote.js.map +1 -1
- package/lib/module/components/Poll/hooks/usePollAnswersPagination.js.map +1 -1
- package/lib/module/components/Poll/hooks/usePollOptionVotesPagination.js.map +1 -1
- package/lib/module/components/Poll/hooks/usePollVoteToggle.js.map +1 -1
- package/lib/module/components/Poll/index.js.map +1 -1
- package/lib/module/components/ProgressControl/ProgressBar.js.map +1 -1
- package/lib/module/components/ProgressControl/ProgressControl.js.map +1 -1
- package/lib/module/components/ProgressControl/ProgressThumb.js.map +1 -1
- package/lib/module/components/ProgressControl/StableDurationLabel.js.map +1 -1
- package/lib/module/components/ProgressControl/WaveProgressBar.js.map +1 -1
- package/lib/module/components/Reply/Reply.js.map +1 -1
- package/lib/module/components/Thread/Thread.js.map +1 -1
- package/lib/module/components/Thread/components/ThreadFooterComponent.js.map +1 -1
- package/lib/module/components/ThreadList/ThreadListItem.js +2 -2
- package/lib/module/components/ThreadList/ThreadListItem.js.map +1 -1
- package/lib/module/components/ThreadList/ThreadMessagePreviewDeliveryStatus.js.map +1 -1
- package/lib/module/components/UIComponents/BottomSheetModal.js.map +1 -1
- package/lib/module/components/UIComponents/ClippingFadeBottom.js.map +1 -1
- package/lib/module/components/UIComponents/EmptyList.js.map +1 -1
- package/lib/module/components/UIComponents/ImageBackground.js.map +1 -1
- package/lib/module/components/UIComponents/PortalWhileClosingView.js.map +1 -1
- package/lib/module/components/UIComponents/SafeAreaViewWrapper.js.map +1 -1
- package/lib/module/components/UIComponents/SvgAwareImage.js.map +1 -1
- package/lib/module/components/index.js.map +1 -1
- package/lib/module/components/ui/Avatar/Avatar.js.map +1 -1
- package/lib/module/components/ui/Avatar/AvatarGroup.js.map +1 -1
- package/lib/module/components/ui/Avatar/ChannelAvatar.js.map +1 -1
- package/lib/module/components/ui/Badge/BadgeNotification.js.map +1 -1
- package/lib/module/components/ui/Button/Button.js.map +1 -1
- package/lib/module/components/ui/Button/hooks/useButtonStyles.js.map +1 -1
- package/lib/module/components/ui/GiphyChip.js.map +1 -1
- package/lib/module/components/ui/SpeedSettingsButton.js.map +1 -1
- package/lib/module/contexts/accessibilityContext/AccessibilityContext.js.map +1 -1
- package/lib/module/contexts/attachmentPickerContext/AttachmentPickerContext.js +1 -1
- package/lib/module/contexts/attachmentPickerContext/AttachmentPickerContext.js.map +1 -1
- package/lib/module/contexts/bottomSheetContext/BottomSheetContext.js.map +1 -1
- package/lib/module/contexts/channelAddMembersContext/ChannelAddMembersContext.js.map +1 -1
- package/lib/module/contexts/channelContext/ChannelContext.js +1 -1
- package/lib/module/contexts/channelContext/ChannelContext.js.map +1 -1
- package/lib/module/contexts/channelDetailsContext/channelDetailsContext.js.map +1 -1
- package/lib/module/contexts/channelEditDetailsContext/ChannelEditDetailsContext.js.map +1 -1
- package/lib/module/contexts/channelsContext/ChannelsContext.js +1 -1
- package/lib/module/contexts/channelsContext/ChannelsContext.js.map +1 -1
- package/lib/module/contexts/chatConfigContext/ChatConfigContext.js.map +1 -1
- package/lib/module/contexts/chatContext/ChatContext.js +1 -1
- package/lib/module/contexts/chatContext/ChatContext.js.map +1 -1
- package/lib/module/contexts/componentsContext/ComponentsContext.js.map +1 -1
- package/lib/module/contexts/componentsContext/defaultComponents.js.map +1 -1
- package/lib/module/contexts/imageGalleryContext/ImageGalleryContextBase.js +1 -1
- package/lib/module/contexts/imageGalleryContext/ImageGalleryContextBase.js.map +1 -1
- package/lib/module/contexts/liveLocationManagerContext/LiveLocationManagerContext.js.map +1 -1
- package/lib/module/contexts/liveLocationManagerContext/hooks/useHandleLiveLocationEvents.js.map +1 -1
- package/lib/module/contexts/messageComposerContext/MessageComposerContext.js.map +1 -1
- package/lib/module/contexts/messageContext/MessageContext.js.map +1 -1
- package/lib/module/contexts/messageInputContext/MessageInputContext.js +3 -3
- package/lib/module/contexts/messageInputContext/MessageInputContext.js.map +1 -1
- package/lib/module/contexts/messageInputContext/hooks/useMessageComposer.js.map +1 -1
- package/lib/module/contexts/messageInputContext/hooks/usePendingUploadsEnabled.js.map +1 -1
- package/lib/module/contexts/messageListItemContext/MessageListItemContext.js +1 -1
- package/lib/module/contexts/messageListItemContext/MessageListItemContext.js.map +1 -1
- package/lib/module/contexts/messagesContext/MessagesContext.js +1 -1
- package/lib/module/contexts/messagesContext/MessagesContext.js.map +1 -1
- package/lib/module/contexts/overlayContext/ClosingPortalHostsLayer.js.map +1 -1
- package/lib/module/contexts/overlayContext/MessageOverlayHostLayer.js.map +1 -1
- package/lib/module/contexts/overlayContext/OverlayContext.js +1 -1
- package/lib/module/contexts/overlayContext/OverlayContext.js.map +1 -1
- package/lib/module/contexts/overlayContext/OverlayProvider.js.map +1 -1
- package/lib/module/contexts/ownCapabilitiesContext/OwnCapabilitiesContext.js +1 -1
- package/lib/module/contexts/ownCapabilitiesContext/OwnCapabilitiesContext.js.map +1 -1
- package/lib/module/contexts/pollContext/createPollContentContext.js +1 -1
- package/lib/module/contexts/pollContext/createPollContentContext.js.map +1 -1
- package/lib/module/contexts/pollContext/pollContext.js +1 -1
- package/lib/module/contexts/pollContext/pollContext.js.map +1 -1
- package/lib/module/contexts/screenReaderContext/ScreenReaderContext.js.map +1 -1
- package/lib/module/contexts/swipeableContext/SwipeRegistryContext.js +10 -9
- package/lib/module/contexts/swipeableContext/SwipeRegistryContext.js.map +1 -1
- package/lib/module/contexts/themeContext/ThemeContext.js +1 -1
- package/lib/module/contexts/themeContext/ThemeContext.js.map +1 -1
- package/lib/module/contexts/themeContext/utils/theme.js.map +1 -1
- package/lib/module/contexts/threadContext/ThreadContext.js.map +1 -1
- package/lib/module/contexts/translationContext/TranslationContext.js.map +1 -1
- package/lib/module/hooks/actions/useChannelActionItems.js.map +1 -1
- package/lib/module/hooks/actions/useChannelActions.js +9 -3
- package/lib/module/hooks/actions/useChannelActions.js.map +1 -1
- package/lib/module/hooks/actions/useChannelMemberActionItems.js.map +1 -1
- package/lib/module/hooks/messagePreview/useMessageDeliveryStatus.js.map +1 -1
- package/lib/module/hooks/messagePreview/useMessagePreviewText.js.map +1 -1
- package/lib/module/hooks/useAppStateListener.js.map +1 -1
- package/lib/module/hooks/useAttachmentPickerBottomSheet.js +1 -1
- package/lib/module/hooks/useAttachmentPickerBottomSheet.js.map +1 -1
- package/lib/module/hooks/useAudioPlayer.js.map +1 -1
- package/lib/module/hooks/useCanAddMembersToChannel.js.map +1 -1
- package/lib/module/hooks/useCanEditChannel.js.map +1 -1
- package/lib/module/hooks/useChannel.js.map +1 -1
- package/lib/module/hooks/useChannelImage.js.map +1 -1
- package/lib/module/hooks/useChannelMemberCount.js.map +1 -1
- package/lib/module/hooks/useChannelMembershipState.js.map +1 -1
- package/lib/module/hooks/useChannelName.js.map +1 -1
- package/lib/module/hooks/useChannelOwnCapabilities.js.map +1 -1
- package/lib/module/hooks/useHorizontalInsets.js.map +1 -1
- package/lib/module/hooks/useIsChannelMember.js.map +1 -1
- package/lib/module/hooks/useIsMountedRef.js.map +1 -1
- package/lib/module/hooks/useIsSvg.js.map +1 -1
- package/lib/module/hooks/useKeyboardVisibility.js.map +1 -1
- package/lib/module/hooks/useLazyRef.js.map +1 -1
- package/lib/module/hooks/useMessagePaginator.js.map +1 -1
- package/lib/module/hooks/usePendingAttachmentUpload.js.map +1 -1
- package/lib/module/hooks/usePortalSettledCallback.js.map +1 -1
- package/lib/module/hooks/usePrunableMessageList.js.map +1 -1
- package/lib/module/hooks/useQueryReminders.js.map +1 -1
- package/lib/module/hooks/useRAFCoalescedValue.js.map +1 -1
- package/lib/module/hooks/useScreenDimensions.js.map +1 -1
- package/lib/module/hooks/useScreenOrientation.js.map +1 -1
- package/lib/module/hooks/useStableCallback.js.map +1 -1
- package/lib/module/hooks/useStreami18n.js.map +1 -1
- package/lib/module/hooks/useTranslatedMessage.js.map +1 -1
- package/lib/module/hooks/useWindowContentWidth.js.map +1 -1
- package/lib/module/i18n/runtimeDefaults.js.map +1 -1
- package/lib/module/i18n/utils.js.map +1 -1
- package/lib/module/middlewares/attachments.js.map +1 -1
- package/lib/module/middlewares/emojiControl.js +10 -13
- package/lib/module/middlewares/emojiControl.js.map +1 -1
- package/lib/module/native.js.map +1 -1
- package/lib/module/polyfills.js.map +1 -1
- package/lib/module/state-store/audio-player.js.map +1 -1
- package/lib/module/state-store/audio-recorder-manager.js.map +1 -1
- package/lib/module/state-store/edit-channel-details-store.js.map +1 -1
- package/lib/module/state-store/image-gallery-state-store.js.map +1 -1
- package/lib/module/state-store/in-app-notifications-store.js.map +1 -1
- package/lib/module/state-store/message-overlay-store.js.map +1 -1
- package/lib/module/state-store/selection-store.js.map +1 -1
- package/lib/module/store/OfflineDB.js.map +1 -1
- package/lib/module/store/SqliteClient.js.map +1 -1
- package/lib/module/store/apis/addPendingTask.js.map +1 -1
- package/lib/module/store/apis/channelExists.js.map +1 -1
- package/lib/module/store/apis/dropPendingTasks.js.map +1 -1
- package/lib/module/store/apis/getChannelMessages.js.map +1 -1
- 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/getDraftsForChannels.js.map +1 -1
- package/lib/module/store/apis/getReactions.js.map +1 -1
- package/lib/module/store/apis/getReactionsforFilterSort.js +0 -3
- package/lib/module/store/apis/getReactionsforFilterSort.js.map +1 -1
- package/lib/module/store/apis/insertReaction.js.map +1 -1
- package/lib/module/store/apis/queries/selectActiveLocationsForChannels.js.map +1 -1
- package/lib/module/store/apis/queries/selectChannelQueryForFilterSort.js.map +1 -1
- package/lib/module/store/apis/queries/selectMessagesForChannels.js +1 -1
- package/lib/module/store/apis/queries/selectReactionsForMessages.js.map +1 -1
- package/lib/module/store/apis/upsertChannels.js +2 -2
- 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/upsertDraft.js +2 -3
- package/lib/module/store/apis/upsertDraft.js.map +1 -1
- package/lib/module/store/constants.js.map +1 -1
- package/lib/module/store/mappers/mapStorableToMember.js +1 -1
- package/lib/module/store/mappers/mapStorableToMember.js.map +1 -1
- package/lib/module/store/mappers/mapStorableToPoll.js.map +1 -1
- package/lib/module/store/mappers/mapStorableToTimestamp.js.map +1 -1
- package/lib/module/store/mappers/mapTimestampToStorable.js.map +1 -1
- package/lib/module/store/sqlite-utils/createDeleteQuery.js.map +1 -1
- package/lib/module/store/sqlite-utils/createSelectQuery.js.map +1 -1
- package/lib/module/store/sqlite-utils/createUpsertQuery.js.map +1 -1
- package/lib/module/store/sqlite-utils/createUpsertQueryIfParentExists.js.map +1 -1
- package/lib/module/theme/topologicalResolution.js.map +1 -1
- package/lib/module/types/types.js.map +1 -1
- package/lib/module/utils/attachmentUrls.js.map +1 -1
- package/lib/module/utils/compressImage.js.map +1 -1
- package/lib/module/utils/getResizedImageUrl.js.map +1 -1
- package/lib/module/utils/getTrimmedAttachmentTitle.js +4 -2
- package/lib/module/utils/getTrimmedAttachmentTitle.js.map +1 -1
- package/lib/module/utils/getUrlOfImageAttachment.js.map +1 -1
- package/lib/module/utils/i18n/Streami18n.js.map +1 -1
- package/lib/module/utils/installNativeMultipartAdapter.js.map +1 -1
- package/lib/module/utils/isRNVersionGreaterThanOrEqualTo.js.map +1 -1
- package/lib/module/utils/react-native-constants.js.map +1 -1
- package/lib/module/utils/rtlMirrorSwitchStyle.js.map +1 -1
- package/lib/module/utils/utils.js +1 -2
- package/lib/module/utils/utils.js.map +1 -1
- package/lib/module/version.json +1 -1
- package/lib/typescript/a11y/a11yUtils.d.ts +18 -8
- package/lib/typescript/a11y/a11yUtils.d.ts.map +1 -1
- package/lib/typescript/a11y/hooks/useA11yLabel.d.ts +7 -5
- package/lib/typescript/a11y/hooks/useA11yLabel.d.ts.map +1 -1
- package/lib/typescript/a11y/hooks/useAccessibilityActivateAction.d.ts +7 -4
- package/lib/typescript/a11y/hooks/useAccessibilityActivateAction.d.ts.map +1 -1
- package/lib/typescript/a11y/hooks/useAccessibilityServiceEnabled.d.ts +5 -14
- package/lib/typescript/a11y/hooks/useAccessibilityServiceEnabled.d.ts.map +1 -1
- package/lib/typescript/a11y/hooks/useAnnounceOnShow.d.ts +7 -10
- package/lib/typescript/a11y/hooks/useAnnounceOnShow.d.ts.map +1 -1
- package/lib/typescript/a11y/hooks/useAnnounceOnStateChange.d.ts +5 -4
- package/lib/typescript/a11y/hooks/useAnnounceOnStateChange.d.ts.map +1 -1
- package/lib/typescript/a11y/hooks/useReducedMotionPreference.d.ts +3 -2
- package/lib/typescript/a11y/hooks/useReducedMotionPreference.d.ts.map +1 -1
- package/lib/typescript/a11y/hooks/useResolvedModalAccessibilityProps.d.ts +4 -8
- package/lib/typescript/a11y/hooks/useResolvedModalAccessibilityProps.d.ts.map +1 -1
- package/lib/typescript/a11y/hooks/useScreenReaderEnabled.d.ts +3 -5
- package/lib/typescript/a11y/hooks/useScreenReaderEnabled.d.ts.map +1 -1
- package/lib/typescript/a11y/hooks/useScreenReaderMountFocus.d.ts +4 -3
- package/lib/typescript/a11y/hooks/useScreenReaderMountFocus.d.ts.map +1 -1
- package/lib/typescript/a11y/hooks/useSetAccessibilityFocus.d.ts +8 -20
- package/lib/typescript/a11y/hooks/useSetAccessibilityFocus.d.ts.map +1 -1
- package/lib/typescript/ai-components/AITypingIndicatorView.d.ts.map +1 -1
- package/lib/typescript/ai-components/charts/components/VictoryChart.d.ts.map +1 -1
- package/lib/typescript/ai-components/charts/index.d.ts.map +1 -1
- package/lib/typescript/ai-components/charts/types.d.ts +3 -4
- package/lib/typescript/ai-components/charts/types.d.ts.map +1 -1
- package/lib/typescript/ai-components/charts/utils/generate-pie-colors.d.ts.map +1 -1
- package/lib/typescript/ai-components/charts/utils/parse-json-chart.d.ts.map +1 -1
- package/lib/typescript/ai-components/charts/vega-lite/schema.d.ts.map +1 -1
- package/lib/typescript/ai-components/index.d.ts.map +1 -1
- package/lib/typescript/ai-components/internal/hooks/useStableCallback.d.ts +7 -20
- package/lib/typescript/ai-components/internal/hooks/useStableCallback.d.ts.map +1 -1
- package/lib/typescript/ai-components/internal/icons/SendUp.d.ts.map +1 -1
- package/lib/typescript/ai-components/markdown/components/Table.d.ts.map +1 -1
- package/lib/typescript/ai-components/markdown/rules.d.ts.map +1 -1
- package/lib/typescript/ai-components/markdown/utils/generate-markdown-text.d.ts.map +1 -1
- package/lib/typescript/ai-components/message-composer/SpeechToTextButton.d.ts +1 -4
- package/lib/typescript/ai-components/message-composer/SpeechToTextButton.d.ts.map +1 -1
- package/lib/typescript/ai-components/native/AIDictation.d.ts +5 -3
- package/lib/typescript/ai-components/native/AIDictation.d.ts.map +1 -1
- package/lib/typescript/ai-components/native-specs/NativeAIDictation.d.ts +6 -6
- package/lib/typescript/ai-components/native-specs/NativeAIDictation.d.ts.map +1 -1
- package/lib/typescript/ai-components/services/media-picker-service/index.d.ts.map +1 -1
- package/lib/typescript/ai-components/store/index.d.ts.map +1 -1
- package/lib/typescript/ai-components/syntax-highlighting/index.d.ts +2 -3
- package/lib/typescript/ai-components/syntax-highlighting/index.d.ts.map +1 -1
- package/lib/typescript/ai-components/syntax-highlighting/types.d.ts +2 -3
- package/lib/typescript/ai-components/syntax-highlighting/types.d.ts.map +1 -1
- package/lib/typescript/ai-components/syntax-highlighting/utils/converter.d.ts +7 -1
- package/lib/typescript/ai-components/syntax-highlighting/utils/converter.d.ts.map +1 -1
- package/lib/typescript/ai-components/syntax-highlighting/utils/flatten-nodes.d.ts.map +1 -1
- package/lib/typescript/components/AITypingIndicatorView/hooks/useAIState.d.ts +4 -3
- package/lib/typescript/components/AITypingIndicatorView/hooks/useAIState.d.ts.map +1 -1
- package/lib/typescript/components/Accessibility/CompositeAccessibilityProbe.d.ts +7 -19
- package/lib/typescript/components/Accessibility/CompositeAccessibilityProbe.d.ts.map +1 -1
- package/lib/typescript/components/Accessibility/HiddenA11yText.d.ts +7 -15
- package/lib/typescript/components/Accessibility/HiddenA11yText.d.ts.map +1 -1
- package/lib/typescript/components/Accessibility/NotificationAnnouncer.d.ts +2 -8
- package/lib/typescript/components/Accessibility/NotificationAnnouncer.d.ts.map +1 -1
- package/lib/typescript/components/Accessibility/OverlayA11yShield.d.ts +7 -14
- package/lib/typescript/components/Accessibility/OverlayA11yShield.d.ts.map +1 -1
- package/lib/typescript/components/Accessibility/hooks/useIncomingMessageAnnouncements.d.ts +9 -8
- package/lib/typescript/components/Accessibility/hooks/useIncomingMessageAnnouncements.d.ts.map +1 -1
- package/lib/typescript/components/Accessibility/useAccessibilityAnnouncer.d.ts +3 -4
- package/lib/typescript/components/Accessibility/useAccessibilityAnnouncer.d.ts.map +1 -1
- package/lib/typescript/components/Attachment/Attachment.d.ts +3 -9
- package/lib/typescript/components/Attachment/Attachment.d.ts.map +1 -1
- package/lib/typescript/components/Attachment/AttachmentFileUploadProgressIndicator.d.ts +1 -3
- package/lib/typescript/components/Attachment/AttachmentFileUploadProgressIndicator.d.ts.map +1 -1
- package/lib/typescript/components/Attachment/AttachmentUploadIndicator.d.ts +2 -1
- package/lib/typescript/components/Attachment/AttachmentUploadIndicator.d.ts.map +1 -1
- package/lib/typescript/components/Attachment/Audio/AudioAttachment.d.ts +3 -10
- package/lib/typescript/components/Attachment/Audio/AudioAttachment.d.ts.map +1 -1
- package/lib/typescript/components/Attachment/Audio/PlayPauseButton.d.ts +3 -9
- package/lib/typescript/components/Attachment/Audio/PlayPauseButton.d.ts.map +1 -1
- package/lib/typescript/components/Attachment/CircularProgressIndicator.d.ts +2 -4
- package/lib/typescript/components/Attachment/CircularProgressIndicator.d.ts.map +1 -1
- package/lib/typescript/components/Attachment/FileAttachment.d.ts +1 -1
- package/lib/typescript/components/Attachment/FileAttachment.d.ts.map +1 -1
- package/lib/typescript/components/Attachment/FileIcon.d.ts.map +1 -1
- package/lib/typescript/components/Attachment/FilePreview.d.ts +1 -1
- package/lib/typescript/components/Attachment/FilePreview.d.ts.map +1 -1
- package/lib/typescript/components/Attachment/Gallery.d.ts +1 -3
- package/lib/typescript/components/Attachment/Gallery.d.ts.map +1 -1
- package/lib/typescript/components/Attachment/Giphy/Giphy.d.ts +1 -3
- package/lib/typescript/components/Attachment/Giphy/Giphy.d.ts.map +1 -1
- package/lib/typescript/components/Attachment/Giphy/GiphyImage.d.ts +2 -6
- package/lib/typescript/components/Attachment/Giphy/GiphyImage.d.ts.map +1 -1
- package/lib/typescript/components/Attachment/ImageLoadingFailedIndicator.d.ts +1 -4
- package/lib/typescript/components/Attachment/ImageLoadingFailedIndicator.d.ts.map +1 -1
- package/lib/typescript/components/Attachment/MediaUploadProgressOverlay.d.ts +1 -3
- package/lib/typescript/components/Attachment/MediaUploadProgressOverlay.d.ts.map +1 -1
- package/lib/typescript/components/Attachment/UnsupportedAttachment.d.ts +1 -1
- package/lib/typescript/components/Attachment/UnsupportedAttachment.d.ts.map +1 -1
- package/lib/typescript/components/Attachment/UrlPreview/URLPreview.d.ts +1 -3
- package/lib/typescript/components/Attachment/UrlPreview/URLPreview.d.ts.map +1 -1
- package/lib/typescript/components/Attachment/UrlPreview/URLPreviewCompact.d.ts +1 -3
- package/lib/typescript/components/Attachment/UrlPreview/URLPreviewCompact.d.ts.map +1 -1
- package/lib/typescript/components/Attachment/VideoThumbnail.d.ts +1 -3
- package/lib/typescript/components/Attachment/VideoThumbnail.d.ts.map +1 -1
- package/lib/typescript/components/Attachment/utils/buildGallery/buildGallery.d.ts +7 -13
- package/lib/typescript/components/Attachment/utils/buildGallery/buildGallery.d.ts.map +1 -1
- package/lib/typescript/components/Attachment/utils/buildGallery/buildGalleryOfSingleImage.d.ts.map +1 -1
- package/lib/typescript/components/Attachment/utils/buildGallery/buildGalleryOfThreeImages.d.ts.map +1 -1
- package/lib/typescript/components/Attachment/utils/buildGallery/buildGalleryOfTwoImages.d.ts.map +1 -1
- package/lib/typescript/components/Attachment/utils/buildGallery/buildThumbnailGrid.d.ts +12 -126
- package/lib/typescript/components/Attachment/utils/buildGallery/buildThumbnailGrid.d.ts.map +1 -1
- package/lib/typescript/components/Attachment/utils/buildGallery/types.d.ts +1 -1
- package/lib/typescript/components/Attachment/utils/buildGallery/types.d.ts.map +1 -1
- package/lib/typescript/components/Attachment/utils/getAspectRatio.d.ts +4 -3
- package/lib/typescript/components/Attachment/utils/getAspectRatio.d.ts.map +1 -1
- package/lib/typescript/components/Attachment/utils/getGiphyMimeType.d.ts +3 -2
- package/lib/typescript/components/Attachment/utils/getGiphyMimeType.d.ts.map +1 -1
- package/lib/typescript/components/AttachmentPicker/AttachmentPicker.d.ts.map +1 -1
- package/lib/typescript/components/AttachmentPicker/components/AttachmentMediaPicker/AttachmentMediaPicker.d.ts.map +1 -1
- package/lib/typescript/components/AttachmentPicker/components/AttachmentMediaPicker/AttachmentPickerItem.d.ts.map +1 -1
- package/lib/typescript/components/AutoCompleteInput/AutoCompleteInput.d.ts +1 -4
- package/lib/typescript/components/AutoCompleteInput/AutoCompleteInput.d.ts.map +1 -1
- package/lib/typescript/components/AutoCompleteInput/AutoCompleteSuggestionItem.d.ts +2 -4
- package/lib/typescript/components/AutoCompleteInput/AutoCompleteSuggestionItem.d.ts.map +1 -1
- package/lib/typescript/components/AutoCompleteInput/AutoCompleteSuggestionList.d.ts.map +1 -1
- package/lib/typescript/components/AutoCompleteInput/mentionItems/EnhancedMentionContent.d.ts +1 -2
- package/lib/typescript/components/AutoCompleteInput/mentionItems/EnhancedMentionContent.d.ts.map +1 -1
- package/lib/typescript/components/AutoCompleteInput/mentionItems/EnhancedMentionIcon.d.ts +4 -14
- package/lib/typescript/components/AutoCompleteInput/mentionItems/EnhancedMentionIcon.d.ts.map +1 -1
- package/lib/typescript/components/AutoCompleteInput/mentionItems/MentionBroadcastItem.d.ts.map +1 -1
- package/lib/typescript/components/AutoCompleteInput/mentionItems/MentionItem.d.ts +3 -8
- package/lib/typescript/components/AutoCompleteInput/mentionItems/MentionItem.d.ts.map +1 -1
- package/lib/typescript/components/AutoCompleteInput/mentionItems/TokenizedSuggestionParts.d.ts +3 -7
- package/lib/typescript/components/AutoCompleteInput/mentionItems/TokenizedSuggestionParts.d.ts.map +1 -1
- package/lib/typescript/components/Channel/Channel.d.ts +11 -23
- package/lib/typescript/components/Channel/Channel.d.ts.map +1 -1
- package/lib/typescript/components/Channel/ChannelShell.d.ts +10 -17
- package/lib/typescript/components/Channel/ChannelShell.d.ts.map +1 -1
- package/lib/typescript/components/Channel/hooks/useChannelLifecycle.d.ts +11 -5
- package/lib/typescript/components/Channel/hooks/useChannelLifecycle.d.ts.map +1 -1
- package/lib/typescript/components/Channel/hooks/useCreateInputMessageInputContext.d.ts +1 -3
- package/lib/typescript/components/Channel/hooks/useCreateInputMessageInputContext.d.ts.map +1 -1
- package/lib/typescript/components/Channel/hooks/useCreateMessagesContext.d.ts +1 -3
- package/lib/typescript/components/Channel/hooks/useCreateMessagesContext.d.ts.map +1 -1
- package/lib/typescript/components/Channel/hooks/useCreateOwnCapabilitiesContext.d.ts.map +1 -1
- package/lib/typescript/components/Channel/hooks/useSupersededChannelSwap.d.ts +6 -3
- package/lib/typescript/components/Channel/hooks/useSupersededChannelSwap.d.ts.map +1 -1
- package/lib/typescript/components/ChannelDetails/ChannelDetails.d.ts +1 -3
- package/lib/typescript/components/ChannelDetails/ChannelDetails.d.ts.map +1 -1
- package/lib/typescript/components/ChannelDetails/components/ChannelDetailsActionsSection.d.ts +4 -9
- package/lib/typescript/components/ChannelDetails/components/ChannelDetailsActionsSection.d.ts.map +1 -1
- package/lib/typescript/components/ChannelDetails/components/ChannelDetailsEditButton.d.ts +2 -2
- package/lib/typescript/components/ChannelDetails/components/ChannelDetailsEditButton.d.ts.map +1 -1
- package/lib/typescript/components/ChannelDetails/components/ChannelDetailsMemberSection.d.ts +1 -3
- package/lib/typescript/components/ChannelDetails/components/ChannelDetailsMemberSection.d.ts.map +1 -1
- package/lib/typescript/components/ChannelDetails/components/ChannelDetailsNavHeader.d.ts +2 -2
- package/lib/typescript/components/ChannelDetails/components/ChannelDetailsNavHeader.d.ts.map +1 -1
- package/lib/typescript/components/ChannelDetails/components/ChannelDetailsNavigationSection.d.ts +3 -6
- package/lib/typescript/components/ChannelDetails/components/ChannelDetailsNavigationSection.d.ts.map +1 -1
- package/lib/typescript/components/ChannelDetails/components/ChannelEditDetailsForm.d.ts +5 -9
- package/lib/typescript/components/ChannelDetails/components/ChannelEditDetailsForm.d.ts.map +1 -1
- package/lib/typescript/components/ChannelDetails/components/ChannelEditDetailsFormContent.d.ts.map +1 -1
- package/lib/typescript/components/ChannelDetails/components/ChannelEditDetailsFormHeader.d.ts +1 -1
- package/lib/typescript/components/ChannelDetails/components/ChannelEditDetailsFormHeader.d.ts.map +1 -1
- package/lib/typescript/components/ChannelDetails/components/members/ChannelAddMembersButton.d.ts +2 -2
- package/lib/typescript/components/ChannelDetails/components/members/ChannelAddMembersButton.d.ts.map +1 -1
- package/lib/typescript/components/ChannelDetails/components/members/ChannelAddMembersForm.d.ts +4 -9
- package/lib/typescript/components/ChannelDetails/components/members/ChannelAddMembersForm.d.ts.map +1 -1
- package/lib/typescript/components/ChannelDetails/components/members/ChannelAddMembersFormContent.d.ts +1 -6
- package/lib/typescript/components/ChannelDetails/components/members/ChannelAddMembersFormContent.d.ts.map +1 -1
- package/lib/typescript/components/ChannelDetails/components/members/ChannelAddMembersFormHeader.d.ts +1 -1
- package/lib/typescript/components/ChannelDetails/components/members/ChannelAddMembersFormHeader.d.ts.map +1 -1
- package/lib/typescript/components/ChannelDetails/components/members/ChannelMemberActionsSheet.d.ts +2 -5
- package/lib/typescript/components/ChannelDetails/components/members/ChannelMemberActionsSheet.d.ts.map +1 -1
- package/lib/typescript/components/ChannelDetails/components/members/ChannelMemberItem.d.ts +5 -7
- package/lib/typescript/components/ChannelDetails/components/members/ChannelMemberItem.d.ts.map +1 -1
- package/lib/typescript/components/ChannelDetails/components/members/ChannelMemberList.d.ts +3 -14
- package/lib/typescript/components/ChannelDetails/components/members/ChannelMemberList.d.ts.map +1 -1
- package/lib/typescript/components/ChannelDetails/components/navigation-section/FileAttachmentItem.d.ts +3 -7
- package/lib/typescript/components/ChannelDetails/components/navigation-section/FileAttachmentItem.d.ts.map +1 -1
- package/lib/typescript/components/ChannelDetails/components/navigation-section/FileAttachmentList.d.ts +2 -11
- package/lib/typescript/components/ChannelDetails/components/navigation-section/FileAttachmentList.d.ts.map +1 -1
- package/lib/typescript/components/ChannelDetails/components/navigation-section/FileAttachmentListSectionHeader.d.ts +1 -1
- package/lib/typescript/components/ChannelDetails/components/navigation-section/FileAttachmentListSectionHeader.d.ts.map +1 -1
- package/lib/typescript/components/ChannelDetails/components/navigation-section/MediaItem.d.ts +4 -8
- package/lib/typescript/components/ChannelDetails/components/navigation-section/MediaItem.d.ts.map +1 -1
- package/lib/typescript/components/ChannelDetails/components/navigation-section/MediaList.d.ts +2 -11
- package/lib/typescript/components/ChannelDetails/components/navigation-section/MediaList.d.ts.map +1 -1
- package/lib/typescript/components/ChannelDetails/components/navigation-section/MediaListLoadingSkeleton.d.ts +1 -3
- package/lib/typescript/components/ChannelDetails/components/navigation-section/MediaListLoadingSkeleton.d.ts.map +1 -1
- package/lib/typescript/components/ChannelDetails/components/navigation-section/PinnedMessageList.d.ts +2 -11
- package/lib/typescript/components/ChannelDetails/components/navigation-section/PinnedMessageList.d.ts.map +1 -1
- package/lib/typescript/components/ChannelDetails/components/roles/RoleItem.d.ts +4 -4
- package/lib/typescript/components/ChannelDetails/components/roles/RoleItem.d.ts.map +1 -1
- package/lib/typescript/components/ChannelDetails/components/roles/RoleList.d.ts +2 -2
- package/lib/typescript/components/ChannelDetails/hooks/members/useMemberRoles.d.ts +10 -14
- package/lib/typescript/components/ChannelDetails/hooks/members/useMemberRoles.d.ts.map +1 -1
- package/lib/typescript/components/ChannelDetails/hooks/useChannelDetailsMemberStatusText.d.ts +5 -3
- package/lib/typescript/components/ChannelDetails/hooks/useChannelDetailsMemberStatusText.d.ts.map +1 -1
- package/lib/typescript/components/ChannelDetails/hooks/useChannelDetailsNavigationItems.d.ts +15 -22
- package/lib/typescript/components/ChannelDetails/hooks/useChannelDetailsNavigationItems.d.ts.map +1 -1
- package/lib/typescript/components/ChannelDetails/hooks/useEditChannelImage.d.ts +8 -14
- package/lib/typescript/components/ChannelDetails/hooks/useEditChannelImage.d.ts.map +1 -1
- package/lib/typescript/components/ChannelDetails/hooks/useFileAttachmentListSections.d.ts +7 -9
- package/lib/typescript/components/ChannelDetails/hooks/useFileAttachmentListSections.d.ts.map +1 -1
- package/lib/typescript/components/ChannelDetails/hooks/useMediaList.d.ts +7 -5
- package/lib/typescript/components/ChannelDetails/hooks/useMediaList.d.ts.map +1 -1
- package/lib/typescript/components/ChannelDetails/hooks/useUserActivityStatus.d.ts +5 -7
- package/lib/typescript/components/ChannelDetails/hooks/useUserActivityStatus.d.ts.map +1 -1
- package/lib/typescript/components/ChannelList/ChannelList.d.ts +8 -7
- package/lib/typescript/components/ChannelList/ChannelList.d.ts.map +1 -1
- package/lib/typescript/components/ChannelList/ChannelListView.d.ts +9 -27
- package/lib/typescript/components/ChannelList/ChannelListView.d.ts.map +1 -1
- package/lib/typescript/components/ChannelList/hooks/useChannelMembersState.d.ts +16 -7
- package/lib/typescript/components/ChannelList/hooks/useChannelMembersState.d.ts.map +1 -1
- package/lib/typescript/components/ChannelList/hooks/useChannelOnlineMemberCount.d.ts +10 -2
- package/lib/typescript/components/ChannelList/hooks/useChannelOnlineMemberCount.d.ts.map +1 -1
- package/lib/typescript/components/ChannelList/hooks/useMutedChannels.d.ts +4 -1
- package/lib/typescript/components/ChannelList/hooks/useMutedChannels.d.ts.map +1 -1
- package/lib/typescript/components/ChannelList/hooks/useMutedUsers.d.ts +3 -1
- package/lib/typescript/components/ChannelList/hooks/useMutedUsers.d.ts.map +1 -1
- package/lib/typescript/components/ChannelList/hooks/usePaginatedChannels.d.ts.map +1 -1
- package/lib/typescript/components/ChannelPreview/ChannelMessagePreviewDeliveryStatus.d.ts.map +1 -1
- package/lib/typescript/components/ChannelPreview/ChannelPreview.d.ts +1 -3
- package/lib/typescript/components/ChannelPreview/ChannelPreview.d.ts.map +1 -1
- package/lib/typescript/components/ChannelPreview/ChannelPreviewMessage.d.ts.map +1 -1
- package/lib/typescript/components/ChannelPreview/ChannelPreviewMutedStatus.d.ts +1 -3
- package/lib/typescript/components/ChannelPreview/ChannelPreviewMutedStatus.d.ts.map +1 -1
- package/lib/typescript/components/ChannelPreview/ChannelPreviewPinnedStatus.d.ts +1 -3
- package/lib/typescript/components/ChannelPreview/ChannelPreviewPinnedStatus.d.ts.map +1 -1
- package/lib/typescript/components/ChannelPreview/ChannelPreviewTitle.d.ts +1 -3
- package/lib/typescript/components/ChannelPreview/ChannelPreviewTitle.d.ts.map +1 -1
- package/lib/typescript/components/ChannelPreview/ChannelPreviewUnreadCount.d.ts +1 -3
- package/lib/typescript/components/ChannelPreview/ChannelPreviewUnreadCount.d.ts.map +1 -1
- package/lib/typescript/components/ChannelPreview/ChannelPreviewView.d.ts +6 -11
- package/lib/typescript/components/ChannelPreview/ChannelPreviewView.d.ts.map +1 -1
- package/lib/typescript/components/ChannelPreview/hooks/useChannelPreviewData.d.ts.map +1 -1
- package/lib/typescript/components/ChannelPreview/hooks/useChannelPreviewDisplayPresence.d.ts +3 -3
- package/lib/typescript/components/ChannelPreview/hooks/useChannelPreviewDisplayPresence.d.ts.map +1 -1
- package/lib/typescript/components/ChannelPreview/hooks/useChannelPreviewDraftMessage.d.ts +4 -3
- package/lib/typescript/components/ChannelPreview/hooks/useChannelPreviewDraftMessage.d.ts.map +1 -1
- package/lib/typescript/components/ChannelPreview/hooks/useChannelPreviewPollLabel.d.ts +4 -3
- package/lib/typescript/components/ChannelPreview/hooks/useChannelPreviewPollLabel.d.ts.map +1 -1
- package/lib/typescript/components/ChannelPreview/hooks/useChannelTypingState.d.ts +5 -4
- package/lib/typescript/components/ChannelPreview/hooks/useChannelTypingState.d.ts.map +1 -1
- package/lib/typescript/components/ChannelPreview/hooks/useIsChannelMuted.d.ts +4 -2
- package/lib/typescript/components/ChannelPreview/hooks/useIsChannelMuted.d.ts.map +1 -1
- package/lib/typescript/components/Chat/Chat.d.ts +34 -84
- package/lib/typescript/components/Chat/Chat.d.ts.map +1 -1
- package/lib/typescript/components/Chat/hooks/useAppSettingsGetter.d.ts +10 -5
- package/lib/typescript/components/Chat/hooks/useAppSettingsGetter.d.ts.map +1 -1
- package/lib/typescript/components/Chat/hooks/useClientUserId.d.ts +6 -7
- package/lib/typescript/components/Chat/hooks/useClientUserId.d.ts.map +1 -1
- package/lib/typescript/components/Chat/hooks/useConnectionLifecycle.d.ts +13 -23
- package/lib/typescript/components/Chat/hooks/useConnectionLifecycle.d.ts.map +1 -1
- package/lib/typescript/components/Chat/hooks/useCreateChatClient.d.ts +9 -5
- package/lib/typescript/components/Chat/hooks/useCreateChatClient.d.ts.map +1 -1
- package/lib/typescript/components/Chat/hooks/useInitializeOfflineDb.d.ts +15 -13
- package/lib/typescript/components/Chat/hooks/useInitializeOfflineDb.d.ts.map +1 -1
- package/lib/typescript/components/Chat/hooks/useNetworkConnectionState.d.ts +13 -12
- package/lib/typescript/components/Chat/hooks/useNetworkConnectionState.d.ts.map +1 -1
- package/lib/typescript/components/Chat/hooks/usePendingUploadsDefault.d.ts +11 -11
- package/lib/typescript/components/Chat/hooks/usePendingUploadsDefault.d.ts.map +1 -1
- package/lib/typescript/components/Chat/hooks/useWSConnectionState.d.ts +21 -37
- package/lib/typescript/components/Chat/hooks/useWSConnectionState.d.ts.map +1 -1
- package/lib/typescript/components/ImageGallery/ImageGallery.d.ts +6 -1
- package/lib/typescript/components/ImageGallery/ImageGallery.d.ts.map +1 -1
- package/lib/typescript/components/ImageGallery/components/AnimatedGalleryImage.d.ts.map +1 -1
- package/lib/typescript/components/ImageGallery/components/AnimatedGalleryVideo.d.ts.map +1 -1
- package/lib/typescript/components/ImageGallery/components/ImageGalleryA11yProbe.d.ts +5 -8
- package/lib/typescript/components/ImageGallery/components/ImageGalleryA11yProbe.d.ts.map +1 -1
- package/lib/typescript/components/ImageGallery/components/ImageGalleryFooter.d.ts.map +1 -1
- package/lib/typescript/components/ImageGallery/components/ImageGalleryHeader.d.ts.map +1 -1
- package/lib/typescript/components/ImageGallery/components/ImageGalleryVideoControl.d.ts.map +1 -1
- package/lib/typescript/components/ImageGallery/hooks/useAnimatedGalleryStyle.d.ts +3 -3
- package/lib/typescript/components/ImageGallery/hooks/useAnimatedGalleryStyle.d.ts.map +1 -1
- package/lib/typescript/components/ImageGallery/hooks/useCurrentImageHeight.d.ts +6 -11
- package/lib/typescript/components/ImageGallery/hooks/useCurrentImageHeight.d.ts.map +1 -1
- package/lib/typescript/components/ImageGallery/hooks/useImageGalleryGestures.d.ts +6 -1
- package/lib/typescript/components/ImageGallery/hooks/useImageGalleryGestures.d.ts.map +1 -1
- package/lib/typescript/components/ImageGallery/hooks/useImageGalleryVideoPlayer.d.ts +4 -2
- package/lib/typescript/components/ImageGallery/hooks/useImageGalleryVideoPlayer.d.ts.map +1 -1
- package/lib/typescript/components/Indicators/LoadingIndicator.d.ts +1 -3
- package/lib/typescript/components/Indicators/LoadingIndicator.d.ts.map +1 -1
- package/lib/typescript/components/KeyboardCompatibleView/KeyboardCompatibleView.d.ts +2 -4
- package/lib/typescript/components/KeyboardCompatibleView/KeyboardCompatibleView.d.ts.map +1 -1
- package/lib/typescript/components/Message/Message.d.ts +9 -29
- package/lib/typescript/components/Message/Message.d.ts.map +1 -1
- package/lib/typescript/components/Message/MessageItemView/Headers/SentToChannelHeader.d.ts +2 -5
- package/lib/typescript/components/Message/MessageItemView/Headers/SentToChannelHeader.d.ts.map +1 -1
- package/lib/typescript/components/Message/MessageItemView/MessageBlocked.d.ts +2 -6
- package/lib/typescript/components/Message/MessageItemView/MessageBlocked.d.ts.map +1 -1
- package/lib/typescript/components/Message/MessageItemView/MessageContent.d.ts +6 -18
- package/lib/typescript/components/Message/MessageItemView/MessageContent.d.ts.map +1 -1
- package/lib/typescript/components/Message/MessageItemView/MessageFooter.d.ts.map +1 -1
- package/lib/typescript/components/Message/MessageItemView/MessageItemView.d.ts +1 -4
- package/lib/typescript/components/Message/MessageItemView/MessageItemView.d.ts.map +1 -1
- package/lib/typescript/components/Message/MessageItemView/MessageTextContainer.d.ts.map +1 -1
- package/lib/typescript/components/Message/MessageItemView/MessageTimestamp.d.ts +3 -6
- package/lib/typescript/components/Message/MessageItemView/MessageTimestamp.d.ts.map +1 -1
- package/lib/typescript/components/Message/MessageItemView/MessageWrapper.d.ts.map +1 -1
- package/lib/typescript/components/Message/MessageItemView/ReactionList/ReactionListTop.d.ts +1 -3
- package/lib/typescript/components/Message/MessageItemView/ReactionList/ReactionListTop.d.ts.map +1 -1
- package/lib/typescript/components/Message/MessageItemView/utils/generateMarkdownText.d.ts.map +1 -1
- package/lib/typescript/components/Message/MessageItemView/utils/parseLinks.d.ts.map +1 -1
- package/lib/typescript/components/Message/MessageItemView/utils/renderText.d.ts +2 -5
- package/lib/typescript/components/Message/MessageItemView/utils/renderText.d.ts.map +1 -1
- package/lib/typescript/components/Message/MessageOverlayWrapper.d.ts +3 -5
- package/lib/typescript/components/Message/MessageOverlayWrapper.d.ts.map +1 -1
- package/lib/typescript/components/Message/hooks/useCreateMessageActionHandlers.d.ts +11 -0
- package/lib/typescript/components/Message/hooks/useCreateMessageActionHandlers.d.ts.map +1 -1
- package/lib/typescript/components/Message/hooks/useCreateMessageContext.d.ts.map +1 -1
- package/lib/typescript/components/Message/hooks/useIsMessageDeliveredToOthers.d.ts +7 -6
- package/lib/typescript/components/Message/hooks/useIsMessageDeliveredToOthers.d.ts.map +1 -1
- package/lib/typescript/components/Message/hooks/useIsMessageReadByOthers.d.ts +8 -9
- package/lib/typescript/components/Message/hooks/useIsMessageReadByOthers.d.ts.map +1 -1
- package/lib/typescript/components/Message/hooks/useMessageActionHandlers.d.ts +3 -1
- package/lib/typescript/components/Message/hooks/useMessageActionHandlers.d.ts.map +1 -1
- package/lib/typescript/components/Message/hooks/useMessageActions.d.ts +5 -3
- package/lib/typescript/components/Message/hooks/useMessageActions.d.ts.map +1 -1
- package/lib/typescript/components/Message/hooks/useMessageOperations.d.ts +6 -6
- package/lib/typescript/components/Message/hooks/useMessageOperations.d.ts.map +1 -1
- package/lib/typescript/components/Message/hooks/useProcessReactions.d.ts +8 -4
- package/lib/typescript/components/Message/hooks/useProcessReactions.d.ts.map +1 -1
- package/lib/typescript/components/Message/hooks/useStreamingMessage.d.ts +7 -6
- package/lib/typescript/components/Message/hooks/useStreamingMessage.d.ts.map +1 -1
- package/lib/typescript/components/Message/hooks/useUserMuteActive.d.ts +9 -1
- package/lib/typescript/components/Message/hooks/useUserMuteActive.d.ts.map +1 -1
- package/lib/typescript/components/Message/utils/measureInWindow.d.ts +10 -5
- package/lib/typescript/components/Message/utils/measureInWindow.d.ts.map +1 -1
- package/lib/typescript/components/Message/utils/messageActions.d.ts.map +1 -1
- package/lib/typescript/components/MessageInput/MessageComposer.d.ts +1 -9
- package/lib/typescript/components/MessageInput/MessageComposer.d.ts.map +1 -1
- package/lib/typescript/components/MessageInput/StopMessageStreamingButton.d.ts +1 -1
- package/lib/typescript/components/MessageInput/StopMessageStreamingButton.d.ts.map +1 -1
- package/lib/typescript/components/MessageInput/components/AttachmentPreview/AttachmentUploadPreviewList.d.ts +1 -4
- package/lib/typescript/components/MessageInput/components/AttachmentPreview/AttachmentUploadPreviewList.d.ts.map +1 -1
- package/lib/typescript/components/MessageInput/components/AudioRecorder/AudioRecorder.d.ts +2 -6
- package/lib/typescript/components/MessageInput/components/AudioRecorder/AudioRecorder.d.ts.map +1 -1
- package/lib/typescript/components/MessageInput/components/AudioRecorder/AudioRecordingButton.d.ts +4 -12
- package/lib/typescript/components/MessageInput/components/AudioRecorder/AudioRecordingButton.d.ts.map +1 -1
- package/lib/typescript/components/MessageInput/components/AudioRecorder/AudioRecordingInProgress.d.ts +2 -6
- package/lib/typescript/components/MessageInput/components/AudioRecorder/AudioRecordingInProgress.d.ts.map +1 -1
- package/lib/typescript/components/MessageInput/components/AudioRecorder/AudioRecordingLockIndicator.d.ts +3 -9
- package/lib/typescript/components/MessageInput/components/AudioRecorder/AudioRecordingLockIndicator.d.ts.map +1 -1
- package/lib/typescript/components/MessageInput/components/AudioRecorder/AudioRecordingPreview.d.ts +1 -3
- package/lib/typescript/components/MessageInput/components/AudioRecorder/AudioRecordingPreview.d.ts.map +1 -1
- package/lib/typescript/components/MessageInput/components/AudioRecorder/AudioRecordingWaveform.d.ts +2 -6
- package/lib/typescript/components/MessageInput/components/AudioRecorder/AudioRecordingWaveform.d.ts.map +1 -1
- package/lib/typescript/components/MessageInput/components/InputButtons/AttachButton.d.ts +2 -4
- package/lib/typescript/components/MessageInput/components/InputButtons/AttachButton.d.ts.map +1 -1
- package/lib/typescript/components/MessageInput/components/OutputButtons/CooldownTimer.d.ts +1 -3
- package/lib/typescript/components/MessageInput/components/OutputButtons/CooldownTimer.d.ts.map +1 -1
- package/lib/typescript/components/MessageInput/hooks/useAudioRecorder.d.ts +6 -1
- package/lib/typescript/components/MessageInput/hooks/useAudioRecorder.d.ts.map +1 -1
- package/lib/typescript/components/MessageInput/hooks/useCooldownRemaining.d.ts +3 -3
- package/lib/typescript/components/MessageInput/utils/audioSampling.d.ts +6 -4
- package/lib/typescript/components/MessageInput/utils/audioSampling.d.ts.map +1 -1
- package/lib/typescript/components/MessageInput/utils/normalizeAudioLevel.d.ts +5 -1
- package/lib/typescript/components/MessageInput/utils/normalizeAudioLevel.d.ts.map +1 -1
- package/lib/typescript/components/MessageList/InlineDateSeparator.d.ts +1 -6
- package/lib/typescript/components/MessageList/InlineDateSeparator.d.ts.map +1 -1
- package/lib/typescript/components/MessageList/MessageFlashList.d.ts +17 -49
- package/lib/typescript/components/MessageList/MessageFlashList.d.ts.map +1 -1
- package/lib/typescript/components/MessageList/MessageList.d.ts +15 -44
- package/lib/typescript/components/MessageList/MessageList.d.ts.map +1 -1
- package/lib/typescript/components/MessageList/MessageSystem.d.ts +3 -9
- package/lib/typescript/components/MessageList/MessageSystem.d.ts.map +1 -1
- package/lib/typescript/components/MessageList/ScrollToBottomButton.d.ts +2 -2
- package/lib/typescript/components/MessageList/ScrollToBottomButton.d.ts.map +1 -1
- package/lib/typescript/components/MessageList/StickyHeader.d.ts +2 -9
- package/lib/typescript/components/MessageList/StickyHeader.d.ts.map +1 -1
- package/lib/typescript/components/MessageList/UnreadMessagesNotification.d.ts +2 -6
- package/lib/typescript/components/MessageList/UnreadMessagesNotification.d.ts.map +1 -1
- package/lib/typescript/components/MessageList/hooks/useMarkRead.d.ts +8 -9
- package/lib/typescript/components/MessageList/hooks/useMarkRead.d.ts.map +1 -1
- package/lib/typescript/components/MessageList/hooks/useMessageDateSeparator.d.ts +6 -1
- package/lib/typescript/components/MessageList/hooks/useMessageDateSeparator.d.ts.map +1 -1
- package/lib/typescript/components/MessageList/hooks/useMessageGroupStyles.d.ts +10 -1
- package/lib/typescript/components/MessageList/hooks/useMessageGroupStyles.d.ts.map +1 -1
- package/lib/typescript/components/MessageList/hooks/useMessageList.d.ts +1 -4
- package/lib/typescript/components/MessageList/hooks/useMessageList.d.ts.map +1 -1
- package/lib/typescript/components/MessageList/hooks/useMessageListFocus.d.ts +8 -6
- package/lib/typescript/components/MessageList/hooks/useMessageListFocus.d.ts.map +1 -1
- package/lib/typescript/components/MessageList/hooks/useMessageListLiveState.d.ts +6 -1
- package/lib/typescript/components/MessageList/hooks/useMessageListLiveState.d.ts.map +1 -1
- package/lib/typescript/components/MessageList/hooks/useMessageListPagination.d.ts +7 -4
- package/lib/typescript/components/MessageList/hooks/useMessageListPagination.d.ts.map +1 -1
- package/lib/typescript/components/MessageList/hooks/useOwnUnreadCount.d.ts +3 -0
- package/lib/typescript/components/MessageList/hooks/useOwnUnreadCount.d.ts.map +1 -1
- package/lib/typescript/components/MessageList/hooks/useScrollToBottomAccessibilityAction.d.ts +3 -4
- package/lib/typescript/components/MessageList/hooks/useScrollToBottomAccessibilityAction.d.ts.map +1 -1
- package/lib/typescript/components/MessageList/hooks/useStickyHeaderDate.d.ts +4 -2
- package/lib/typescript/components/MessageList/hooks/useStickyHeaderDate.d.ts.map +1 -1
- package/lib/typescript/components/MessageList/hooks/useTypingString.d.ts.map +1 -1
- package/lib/typescript/components/MessageList/hooks/useTypingUsers.d.ts +12 -7
- package/lib/typescript/components/MessageList/hooks/useTypingUsers.d.ts.map +1 -1
- package/lib/typescript/components/MessageList/hooks/useUnreadNotificationVisibility.d.ts +10 -2
- package/lib/typescript/components/MessageList/hooks/useUnreadNotificationVisibility.d.ts.map +1 -1
- package/lib/typescript/components/MessageList/utils/buildMessageListWithNeighbours.d.ts +7 -3
- package/lib/typescript/components/MessageList/utils/buildMessageListWithNeighbours.d.ts.map +1 -1
- package/lib/typescript/components/MessageList/utils/getGroupStyles.d.ts +9 -1
- package/lib/typescript/components/MessageList/utils/getGroupStyles.d.ts.map +1 -1
- package/lib/typescript/components/MessageMenu/EmojiPickerList.d.ts.map +1 -1
- package/lib/typescript/components/MessageMenu/MessageActionList.d.ts +1 -8
- package/lib/typescript/components/MessageMenu/MessageActionList.d.ts.map +1 -1
- package/lib/typescript/components/MessageMenu/MessageActionListItem.d.ts +6 -19
- package/lib/typescript/components/MessageMenu/MessageActionListItem.d.ts.map +1 -1
- package/lib/typescript/components/MessageMenu/MessageActionListWithActions.d.ts +2 -2
- package/lib/typescript/components/MessageMenu/MessageReactionPicker.d.ts +1 -3
- package/lib/typescript/components/MessageMenu/MessageReactionPicker.d.ts.map +1 -1
- package/lib/typescript/components/MessageMenu/MessageUserReactions.d.ts +2 -6
- package/lib/typescript/components/MessageMenu/MessageUserReactions.d.ts.map +1 -1
- package/lib/typescript/components/MessageMenu/MessageUserReactionsAvatar.d.ts +1 -3
- package/lib/typescript/components/MessageMenu/MessageUserReactionsAvatar.d.ts.map +1 -1
- package/lib/typescript/components/MessageMenu/MessageUserReactionsItem.d.ts +2 -6
- package/lib/typescript/components/MessageMenu/MessageUserReactionsItem.d.ts.map +1 -1
- package/lib/typescript/components/MessageMenu/ReactionButton.d.ts +6 -12
- package/lib/typescript/components/MessageMenu/ReactionButton.d.ts.map +1 -1
- package/lib/typescript/components/Notifications/Notification.d.ts +8 -3
- package/lib/typescript/components/Notifications/Notification.d.ts.map +1 -1
- package/lib/typescript/components/Notifications/NotificationList.d.ts +1 -1
- package/lib/typescript/components/Notifications/NotificationList.d.ts.map +1 -1
- package/lib/typescript/components/Notifications/NotificationTargetContext.d.ts +12 -2
- package/lib/typescript/components/Notifications/NotificationTargetContext.d.ts.map +1 -1
- package/lib/typescript/components/Notifications/hooks/useNotificationApi.d.ts +13 -4
- package/lib/typescript/components/Notifications/hooks/useNotificationApi.d.ts.map +1 -1
- package/lib/typescript/components/Notifications/hooks/useNotifications.d.ts +8 -1
- package/lib/typescript/components/Notifications/hooks/useNotifications.d.ts.map +1 -1
- package/lib/typescript/components/Notifications/hooks/useSystemNotifications.d.ts +6 -1
- package/lib/typescript/components/Notifications/hooks/useSystemNotifications.d.ts.map +1 -1
- package/lib/typescript/components/Notifications/notificationFilters.d.ts +6 -5
- package/lib/typescript/components/Notifications/notificationFilters.d.ts.map +1 -1
- package/lib/typescript/components/Notifications/notificationTarget.d.ts +126 -20
- package/lib/typescript/components/Notifications/notificationTarget.d.ts.map +1 -1
- package/lib/typescript/components/Notifications/notificationTranslations.d.ts.map +1 -1
- package/lib/typescript/components/Poll/CreatePollContent.d.ts.map +1 -1
- package/lib/typescript/components/Poll/components/Button.d.ts +2 -2
- package/lib/typescript/components/Poll/components/CreatePollHeader.d.ts +2 -8
- package/lib/typescript/components/Poll/components/CreatePollHeader.d.ts.map +1 -1
- package/lib/typescript/components/Poll/components/CreatePollOptions.d.ts +2 -2
- package/lib/typescript/components/Poll/components/CreatePollOptions.d.ts.map +1 -1
- package/lib/typescript/components/Poll/components/MultipleVotesSettings.d.ts.map +1 -1
- package/lib/typescript/components/Poll/hook/useIsPollCreatedByCurrentUser.d.ts +3 -2
- package/lib/typescript/components/Poll/hook/useIsPollCreatedByCurrentUser.d.ts.map +1 -1
- package/lib/typescript/components/Poll/hooks/useEndVote.d.ts +4 -3
- package/lib/typescript/components/Poll/hooks/useEndVote.d.ts.map +1 -1
- package/lib/typescript/components/Poll/hooks/usePollAnswersPagination.d.ts +6 -12
- package/lib/typescript/components/Poll/hooks/usePollAnswersPagination.d.ts.map +1 -1
- package/lib/typescript/components/Poll/hooks/usePollOptionVotesPagination.d.ts +7 -14
- package/lib/typescript/components/Poll/hooks/usePollOptionVotesPagination.d.ts.map +1 -1
- package/lib/typescript/components/Poll/hooks/usePollVoteToggle.d.ts +5 -4
- package/lib/typescript/components/Poll/hooks/usePollVoteToggle.d.ts.map +1 -1
- package/lib/typescript/components/Poll/index.d.ts.map +1 -1
- package/lib/typescript/components/ProgressControl/ProgressBar.d.ts.map +1 -1
- package/lib/typescript/components/ProgressControl/ProgressControl.d.ts +6 -25
- package/lib/typescript/components/ProgressControl/ProgressControl.d.ts.map +1 -1
- package/lib/typescript/components/ProgressControl/ProgressThumb.d.ts +2 -6
- package/lib/typescript/components/ProgressControl/ProgressThumb.d.ts.map +1 -1
- package/lib/typescript/components/ProgressControl/StableDurationLabel.d.ts +2 -4
- package/lib/typescript/components/ProgressControl/StableDurationLabel.d.ts.map +1 -1
- package/lib/typescript/components/ProgressControl/WaveProgressBar.d.ts +7 -21
- package/lib/typescript/components/ProgressControl/WaveProgressBar.d.ts.map +1 -1
- package/lib/typescript/components/Reply/Reply.d.ts.map +1 -1
- package/lib/typescript/components/Thread/Thread.d.ts +3 -5
- package/lib/typescript/components/Thread/Thread.d.ts.map +1 -1
- package/lib/typescript/components/Thread/components/ThreadFooterComponent.d.ts +1 -3
- package/lib/typescript/components/Thread/components/ThreadFooterComponent.d.ts.map +1 -1
- package/lib/typescript/components/ThreadList/ThreadMessagePreviewDeliveryStatus.d.ts.map +1 -1
- package/lib/typescript/components/UIComponents/BottomSheetModal.d.ts +5 -18
- package/lib/typescript/components/UIComponents/BottomSheetModal.d.ts.map +1 -1
- package/lib/typescript/components/UIComponents/ClippingFadeBottom.d.ts +3 -10
- package/lib/typescript/components/UIComponents/ClippingFadeBottom.d.ts.map +1 -1
- package/lib/typescript/components/UIComponents/EmptyList.d.ts +3 -9
- package/lib/typescript/components/UIComponents/EmptyList.d.ts.map +1 -1
- package/lib/typescript/components/UIComponents/ImageBackground.d.ts +3 -24
- package/lib/typescript/components/UIComponents/ImageBackground.d.ts.map +1 -1
- package/lib/typescript/components/UIComponents/PortalWhileClosingView.d.ts +11 -35
- package/lib/typescript/components/UIComponents/PortalWhileClosingView.d.ts.map +1 -1
- package/lib/typescript/components/UIComponents/SafeAreaViewWrapper.d.ts +5 -8
- package/lib/typescript/components/UIComponents/SafeAreaViewWrapper.d.ts.map +1 -1
- package/lib/typescript/components/UIComponents/SvgAwareImage.d.ts +2 -5
- package/lib/typescript/components/UIComponents/SvgAwareImage.d.ts.map +1 -1
- package/lib/typescript/components/index.d.ts +0 -3
- package/lib/typescript/components/index.d.ts.map +1 -1
- package/lib/typescript/components/ui/Avatar/Avatar.d.ts +2 -9
- package/lib/typescript/components/ui/Avatar/Avatar.d.ts.map +1 -1
- package/lib/typescript/components/ui/Avatar/AvatarGroup.d.ts +4 -12
- package/lib/typescript/components/ui/Avatar/AvatarGroup.d.ts.map +1 -1
- package/lib/typescript/components/ui/Avatar/ChannelAvatar.d.ts +2 -9
- package/lib/typescript/components/ui/Avatar/ChannelAvatar.d.ts.map +1 -1
- package/lib/typescript/components/ui/Badge/BadgeNotification.d.ts +1 -4
- package/lib/typescript/components/ui/Badge/BadgeNotification.d.ts.map +1 -1
- package/lib/typescript/components/ui/Button/Button.d.ts +11 -34
- package/lib/typescript/components/ui/Button/Button.d.ts.map +1 -1
- package/lib/typescript/components/ui/Button/hooks/useButtonStyles.d.ts +5 -4
- package/lib/typescript/components/ui/Button/hooks/useButtonStyles.d.ts.map +1 -1
- package/lib/typescript/components/ui/GiphyChip.d.ts.map +1 -1
- package/lib/typescript/components/ui/SpeedSettingsButton.d.ts +3 -9
- package/lib/typescript/components/ui/SpeedSettingsButton.d.ts.map +1 -1
- package/lib/typescript/contexts/accessibilityContext/AccessibilityContext.d.ts +21 -25
- package/lib/typescript/contexts/accessibilityContext/AccessibilityContext.d.ts.map +1 -1
- package/lib/typescript/contexts/attachmentPickerContext/AttachmentPickerContext.d.ts +7 -12
- package/lib/typescript/contexts/attachmentPickerContext/AttachmentPickerContext.d.ts.map +1 -1
- package/lib/typescript/contexts/bottomSheetContext/BottomSheetContext.d.ts +7 -18
- package/lib/typescript/contexts/bottomSheetContext/BottomSheetContext.d.ts.map +1 -1
- package/lib/typescript/contexts/channelAddMembersContext/ChannelAddMembersContext.d.ts +4 -12
- package/lib/typescript/contexts/channelAddMembersContext/ChannelAddMembersContext.d.ts.map +1 -1
- package/lib/typescript/contexts/channelContext/ChannelContext.d.ts +7 -35
- package/lib/typescript/contexts/channelContext/ChannelContext.d.ts.map +1 -1
- package/lib/typescript/contexts/channelDetailsContext/channelDetailsContext.d.ts +1 -3
- package/lib/typescript/contexts/channelDetailsContext/channelDetailsContext.d.ts.map +1 -1
- package/lib/typescript/contexts/channelEditDetailsContext/ChannelEditDetailsContext.d.ts +9 -22
- package/lib/typescript/contexts/channelEditDetailsContext/ChannelEditDetailsContext.d.ts.map +1 -1
- package/lib/typescript/contexts/channelsContext/ChannelsContext.d.ts +14 -38
- package/lib/typescript/contexts/channelsContext/ChannelsContext.d.ts.map +1 -1
- package/lib/typescript/contexts/chatConfigContext/ChatConfigContext.d.ts +1 -3
- package/lib/typescript/contexts/chatConfigContext/ChatConfigContext.d.ts.map +1 -1
- package/lib/typescript/contexts/chatContext/ChatContext.d.ts +2 -2
- package/lib/typescript/contexts/componentsContext/ComponentsContext.d.ts +9 -15
- package/lib/typescript/contexts/componentsContext/ComponentsContext.d.ts.map +1 -1
- package/lib/typescript/contexts/componentsContext/defaultComponents.d.ts +6 -26
- package/lib/typescript/contexts/componentsContext/defaultComponents.d.ts.map +1 -1
- package/lib/typescript/contexts/liveLocationManagerContext/LiveLocationManagerContext.d.ts.map +1 -1
- package/lib/typescript/contexts/liveLocationManagerContext/hooks/useHandleLiveLocationEvents.d.ts +10 -11
- package/lib/typescript/contexts/liveLocationManagerContext/hooks/useHandleLiveLocationEvents.d.ts.map +1 -1
- package/lib/typescript/contexts/messageComposerContext/MessageComposerContext.d.ts +1 -3
- package/lib/typescript/contexts/messageComposerContext/MessageComposerContext.d.ts.map +1 -1
- package/lib/typescript/contexts/messageContext/MessageContext.d.ts +44 -65
- package/lib/typescript/contexts/messageContext/MessageContext.d.ts.map +1 -1
- package/lib/typescript/contexts/messageInputContext/MessageInputContext.d.ts +26 -51
- package/lib/typescript/contexts/messageInputContext/MessageInputContext.d.ts.map +1 -1
- package/lib/typescript/contexts/messageInputContext/hooks/useMessageComposer.d.ts +2 -0
- package/lib/typescript/contexts/messageInputContext/hooks/useMessageComposer.d.ts.map +1 -1
- package/lib/typescript/contexts/messageInputContext/hooks/usePendingUploadsEnabled.d.ts +5 -3
- package/lib/typescript/contexts/messageInputContext/hooks/usePendingUploadsEnabled.d.ts.map +1 -1
- package/lib/typescript/contexts/messageListItemContext/MessageListItemContext.d.ts +6 -11
- package/lib/typescript/contexts/messageListItemContext/MessageListItemContext.d.ts.map +1 -1
- package/lib/typescript/contexts/messagesContext/MessagesContext.d.ts +56 -190
- package/lib/typescript/contexts/messagesContext/MessagesContext.d.ts.map +1 -1
- package/lib/typescript/contexts/overlayContext/ClosingPortalHostsLayer.d.ts +2 -7
- package/lib/typescript/contexts/overlayContext/ClosingPortalHostsLayer.d.ts.map +1 -1
- package/lib/typescript/contexts/overlayContext/MessageOverlayHostLayer.d.ts +1 -4
- package/lib/typescript/contexts/overlayContext/MessageOverlayHostLayer.d.ts.map +1 -1
- package/lib/typescript/contexts/overlayContext/OverlayContext.d.ts +3 -4
- package/lib/typescript/contexts/overlayContext/OverlayContext.d.ts.map +1 -1
- package/lib/typescript/contexts/overlayContext/OverlayHostLayerContext.d.ts +1 -1
- package/lib/typescript/contexts/overlayContext/OverlayProvider.d.ts +2 -16
- package/lib/typescript/contexts/overlayContext/OverlayProvider.d.ts.map +1 -1
- package/lib/typescript/contexts/pollContext/createPollContentContext.d.ts +1 -5
- package/lib/typescript/contexts/pollContext/createPollContentContext.d.ts.map +1 -1
- package/lib/typescript/contexts/screenReaderContext/ScreenReaderContext.d.ts +3 -7
- package/lib/typescript/contexts/screenReaderContext/ScreenReaderContext.d.ts.map +1 -1
- package/lib/typescript/contexts/swipeableContext/SwipeRegistryContext.d.ts.map +1 -1
- package/lib/typescript/contexts/themeContext/ThemeContext.d.ts +3 -5
- package/lib/typescript/contexts/themeContext/ThemeContext.d.ts.map +1 -1
- package/lib/typescript/contexts/themeContext/utils/theme.d.ts.map +1 -1
- package/lib/typescript/contexts/threadContext/ThreadContext.d.ts +3 -5
- package/lib/typescript/contexts/threadContext/ThreadContext.d.ts.map +1 -1
- package/lib/typescript/contexts/translationContext/TranslationContext.d.ts +3 -7
- package/lib/typescript/contexts/translationContext/TranslationContext.d.ts.map +1 -1
- package/lib/typescript/contexts/translationContext/types.d.ts +5 -14
- package/lib/typescript/contexts/translationContext/types.d.ts.map +1 -1
- package/lib/typescript/hooks/actions/useChannelActionItems.d.ts +9 -24
- package/lib/typescript/hooks/actions/useChannelActionItems.d.ts.map +1 -1
- package/lib/typescript/hooks/actions/useChannelMemberActionItems.d.ts.map +1 -1
- package/lib/typescript/hooks/messagePreview/useGroupedAttachments.d.ts +4 -3
- package/lib/typescript/hooks/messagePreview/useGroupedAttachments.d.ts.map +1 -1
- package/lib/typescript/hooks/messagePreview/useMessageDeliveryStatus.d.ts +8 -5
- package/lib/typescript/hooks/messagePreview/useMessageDeliveryStatus.d.ts.map +1 -1
- package/lib/typescript/hooks/messagePreview/useMessagePreviewText.d.ts.map +1 -1
- package/lib/typescript/hooks/useAfterKeyboardOpenCallback.d.ts +4 -4
- package/lib/typescript/hooks/useAppStateListener.d.ts.map +1 -1
- package/lib/typescript/hooks/useAttachmentPickerBottomSheet.d.ts +4 -5
- package/lib/typescript/hooks/useAttachmentPickerBottomSheet.d.ts.map +1 -1
- package/lib/typescript/hooks/useAudioPlayer.d.ts +3 -10
- package/lib/typescript/hooks/useAudioPlayer.d.ts.map +1 -1
- package/lib/typescript/hooks/useCanAddMembersToChannel.d.ts +3 -0
- package/lib/typescript/hooks/useCanAddMembersToChannel.d.ts.map +1 -1
- package/lib/typescript/hooks/useCanEditChannel.d.ts +4 -1
- package/lib/typescript/hooks/useCanEditChannel.d.ts.map +1 -1
- package/lib/typescript/hooks/useChannel.d.ts +4 -5
- package/lib/typescript/hooks/useChannel.d.ts.map +1 -1
- package/lib/typescript/hooks/useChannelImage.d.ts +5 -1
- package/lib/typescript/hooks/useChannelImage.d.ts.map +1 -1
- package/lib/typescript/hooks/useChannelMemberCount.d.ts +5 -1
- package/lib/typescript/hooks/useChannelMemberCount.d.ts.map +1 -1
- package/lib/typescript/hooks/useChannelMembershipState.d.ts +5 -1
- package/lib/typescript/hooks/useChannelMembershipState.d.ts.map +1 -1
- package/lib/typescript/hooks/useChannelName.d.ts +5 -1
- package/lib/typescript/hooks/useChannelName.d.ts.map +1 -1
- package/lib/typescript/hooks/useChannelOwnCapabilities.d.ts +4 -2
- package/lib/typescript/hooks/useChannelOwnCapabilities.d.ts.map +1 -1
- package/lib/typescript/hooks/useClientNotifications.d.ts +3 -3
- package/lib/typescript/hooks/useHorizontalInsets.d.ts +10 -16
- package/lib/typescript/hooks/useHorizontalInsets.d.ts.map +1 -1
- package/lib/typescript/hooks/useIsChannelMember.d.ts +5 -1
- package/lib/typescript/hooks/useIsChannelMember.d.ts.map +1 -1
- package/lib/typescript/hooks/useIsMountedRef.d.ts +6 -7
- package/lib/typescript/hooks/useIsMountedRef.d.ts.map +1 -1
- package/lib/typescript/hooks/useIsSvg.d.ts +9 -8
- package/lib/typescript/hooks/useIsSvg.d.ts.map +1 -1
- package/lib/typescript/hooks/useIsTargetedMessage.d.ts +7 -7
- package/lib/typescript/hooks/useKeyboardVisibility.d.ts +3 -2
- package/lib/typescript/hooks/useKeyboardVisibility.d.ts.map +1 -1
- package/lib/typescript/hooks/useLazyRef.d.ts +4 -2
- package/lib/typescript/hooks/useLazyRef.d.ts.map +1 -1
- package/lib/typescript/hooks/useMessagePaginator.d.ts +4 -2
- package/lib/typescript/hooks/useMessagePaginator.d.ts.map +1 -1
- package/lib/typescript/hooks/usePendingAttachmentUpload.d.ts +8 -4
- package/lib/typescript/hooks/usePendingAttachmentUpload.d.ts.map +1 -1
- package/lib/typescript/hooks/usePortalSettledCallback.d.ts +10 -26
- package/lib/typescript/hooks/usePortalSettledCallback.d.ts.map +1 -1
- package/lib/typescript/hooks/usePrunableMessageList.d.ts +9 -9
- package/lib/typescript/hooks/usePrunableMessageList.d.ts.map +1 -1
- package/lib/typescript/hooks/useQueryReminders.d.ts +2 -4
- package/lib/typescript/hooks/useQueryReminders.d.ts.map +1 -1
- package/lib/typescript/hooks/useRAFCoalescedValue.d.ts +11 -37
- package/lib/typescript/hooks/useRAFCoalescedValue.d.ts.map +1 -1
- package/lib/typescript/hooks/useScreenDimensions.d.ts +5 -4
- package/lib/typescript/hooks/useScreenDimensions.d.ts.map +1 -1
- package/lib/typescript/hooks/useScreenOrientation.d.ts +2 -4
- package/lib/typescript/hooks/useScreenOrientation.d.ts.map +1 -1
- package/lib/typescript/hooks/useStableCallback.d.ts +10 -20
- package/lib/typescript/hooks/useStableCallback.d.ts.map +1 -1
- package/lib/typescript/hooks/useStreami18n.d.ts.map +1 -1
- package/lib/typescript/hooks/useTranslatedMessage.d.ts +6 -1
- package/lib/typescript/hooks/useTranslatedMessage.d.ts.map +1 -1
- package/lib/typescript/hooks/useViewport.d.ts +4 -4
- package/lib/typescript/hooks/useWindowContentWidth.d.ts +9 -11
- package/lib/typescript/hooks/useWindowContentWidth.d.ts.map +1 -1
- package/lib/typescript/i18n/keys.d.ts +4 -2
- package/lib/typescript/i18n/keys.d.ts.map +1 -1
- package/lib/typescript/i18n/runtimeDefaults.d.ts +17 -22
- package/lib/typescript/i18n/runtimeDefaults.d.ts.map +1 -1
- package/lib/typescript/i18n/types.d.ts +10 -12
- package/lib/typescript/i18n/types.d.ts.map +1 -1
- package/lib/typescript/i18n/utils.d.ts +12 -19
- package/lib/typescript/i18n/utils.d.ts.map +1 -1
- package/lib/typescript/index.d.ts +0 -1
- package/lib/typescript/index.d.ts.map +1 -1
- package/lib/typescript/middlewares/attachments.d.ts.map +1 -1
- package/lib/typescript/middlewares/emojiControl.d.ts +5 -14
- package/lib/typescript/middlewares/emojiControl.d.ts.map +1 -1
- package/lib/typescript/native.d.ts +5 -7
- package/lib/typescript/native.d.ts.map +1 -1
- package/lib/typescript/nativeMultipartUpload.d.ts +1 -1
- package/lib/typescript/state-store/audio-player.d.ts +5 -4
- package/lib/typescript/state-store/audio-player.d.ts.map +1 -1
- package/lib/typescript/state-store/audio-recorder-manager.d.ts +2 -13
- package/lib/typescript/state-store/audio-recorder-manager.d.ts.map +1 -1
- package/lib/typescript/state-store/edit-channel-details-store.d.ts +41 -26
- package/lib/typescript/state-store/edit-channel-details-store.d.ts.map +1 -1
- package/lib/typescript/state-store/image-gallery-state-store.d.ts +2 -4
- package/lib/typescript/state-store/image-gallery-state-store.d.ts.map +1 -1
- package/lib/typescript/state-store/in-app-notifications-store.d.ts.map +1 -1
- package/lib/typescript/state-store/message-overlay-store.d.ts +24 -29
- package/lib/typescript/state-store/message-overlay-store.d.ts.map +1 -1
- package/lib/typescript/state-store/selection-store.d.ts +11 -11
- package/lib/typescript/state-store/selection-store.d.ts.map +1 -1
- package/lib/typescript/store/OfflineDB.d.ts +3 -10
- package/lib/typescript/store/OfflineDB.d.ts.map +1 -1
- package/lib/typescript/store/SqliteClient.d.ts +27 -36
- package/lib/typescript/store/SqliteClient.d.ts.map +1 -1
- package/lib/typescript/store/apis/addPendingTask.d.ts +6 -0
- package/lib/typescript/store/apis/addPendingTask.d.ts.map +1 -1
- package/lib/typescript/store/apis/channelExists.d.ts +5 -4
- package/lib/typescript/store/apis/channelExists.d.ts.map +1 -1
- package/lib/typescript/store/apis/dropPendingTasks.d.ts +5 -8
- package/lib/typescript/store/apis/dropPendingTasks.d.ts.map +1 -1
- package/lib/typescript/store/apis/getChannelMessages.d.ts.map +1 -1
- package/lib/typescript/store/apis/getChannels.d.ts +5 -6
- package/lib/typescript/store/apis/getChannels.d.ts.map +1 -1
- package/lib/typescript/store/apis/getChannelsForFilterSort.d.ts +7 -8
- package/lib/typescript/store/apis/getChannelsForFilterSort.d.ts.map +1 -1
- package/lib/typescript/store/apis/getDraftsForChannels.d.ts.map +1 -1
- package/lib/typescript/store/apis/getReactions.d.ts.map +1 -1
- package/lib/typescript/store/apis/getReactionsforFilterSort.d.ts +7 -5
- package/lib/typescript/store/apis/getReactionsforFilterSort.d.ts.map +1 -1
- package/lib/typescript/store/apis/insertReaction.d.ts.map +1 -1
- package/lib/typescript/store/apis/queries/selectActiveLocationsForChannels.d.ts.map +1 -1
- package/lib/typescript/store/apis/queries/selectChannelQueryForFilterSort.d.ts +9 -10
- package/lib/typescript/store/apis/queries/selectChannelQueryForFilterSort.d.ts.map +1 -1
- package/lib/typescript/store/apis/queries/selectReactionsForMessages.d.ts +8 -5
- package/lib/typescript/store/apis/queries/selectReactionsForMessages.d.ts.map +1 -1
- package/lib/typescript/store/apis/upsertChannels.d.ts.map +1 -1
- package/lib/typescript/store/apis/upsertCidsForQuery.d.ts.map +1 -1
- package/lib/typescript/store/apis/upsertDraft.d.ts.map +1 -1
- package/lib/typescript/store/constants.d.ts +1 -6
- package/lib/typescript/store/constants.d.ts.map +1 -1
- package/lib/typescript/store/mappers/mapStorableToPoll.d.ts.map +1 -1
- package/lib/typescript/store/mappers/mapStorableToTimestamp.d.ts +6 -10
- package/lib/typescript/store/mappers/mapStorableToTimestamp.d.ts.map +1 -1
- package/lib/typescript/store/mappers/mapTimestampToStorable.d.ts +4 -9
- package/lib/typescript/store/mappers/mapTimestampToStorable.d.ts.map +1 -1
- package/lib/typescript/store/schema.d.ts +1 -4
- package/lib/typescript/store/schema.d.ts.map +1 -1
- package/lib/typescript/store/sqlite-utils/createDeleteQuery.d.ts +5 -6
- package/lib/typescript/store/sqlite-utils/createDeleteQuery.d.ts.map +1 -1
- package/lib/typescript/store/sqlite-utils/createSelectQuery.d.ts +8 -7
- package/lib/typescript/store/sqlite-utils/createSelectQuery.d.ts.map +1 -1
- package/lib/typescript/store/sqlite-utils/createUpdateQuery.d.ts +7 -7
- package/lib/typescript/store/sqlite-utils/createUpsertQuery.d.ts +8 -8
- package/lib/typescript/store/sqlite-utils/createUpsertQuery.d.ts.map +1 -1
- package/lib/typescript/store/sqlite-utils/createUpsertQueryIfParentExists.d.ts +14 -24
- package/lib/typescript/store/sqlite-utils/createUpsertQueryIfParentExists.d.ts.map +1 -1
- package/lib/typescript/theme/topologicalResolution.d.ts +5 -2
- package/lib/typescript/theme/topologicalResolution.d.ts.map +1 -1
- package/lib/typescript/types/react-native-compat.d.ts +16 -41
- package/lib/typescript/types/react-native-compat.d.ts.map +1 -1
- package/lib/typescript/types/types.d.ts +46 -97
- package/lib/typescript/types/types.d.ts.map +1 -1
- package/lib/typescript/utils/attachmentUrls.d.ts +4 -6
- package/lib/typescript/utils/attachmentUrls.d.ts.map +1 -1
- package/lib/typescript/utils/compressImage.d.ts +6 -4
- package/lib/typescript/utils/compressImage.d.ts.map +1 -1
- package/lib/typescript/utils/getResizedImageUrl.d.ts +9 -9
- package/lib/typescript/utils/getResizedImageUrl.d.ts.map +1 -1
- package/lib/typescript/utils/getTrimmedAttachmentTitle.d.ts.map +1 -1
- package/lib/typescript/utils/getUrlOfImageAttachment.d.ts +5 -3
- package/lib/typescript/utils/getUrlOfImageAttachment.d.ts.map +1 -1
- package/lib/typescript/utils/i18n/Streami18n.d.ts +19 -28
- package/lib/typescript/utils/i18n/Streami18n.d.ts.map +1 -1
- package/lib/typescript/utils/installNativeMultipartAdapter.d.ts +7 -6
- package/lib/typescript/utils/installNativeMultipartAdapter.d.ts.map +1 -1
- package/lib/typescript/utils/isRNVersionGreaterThanOrEqualTo.d.ts +6 -4
- package/lib/typescript/utils/isRNVersionGreaterThanOrEqualTo.d.ts.map +1 -1
- package/lib/typescript/utils/react-native-constants.d.ts +2 -4
- package/lib/typescript/utils/react-native-constants.d.ts.map +1 -1
- package/lib/typescript/utils/rtlMirrorSwitchStyle.d.ts +4 -2
- package/lib/typescript/utils/rtlMirrorSwitchStyle.d.ts.map +1 -1
- package/lib/typescript/utils/utils.d.ts +55 -45
- package/lib/typescript/utils/utils.d.ts.map +1 -1
- package/package.json +3 -3
- package/src/__tests__/offline-support/offline-feature.tsx +15 -4
- package/src/__tests__/offline-support/optimistic-update.tsx +30 -22
- package/src/a11y/a11yUtils.ts +18 -8
- package/src/a11y/hooks/useA11yLabel.ts +8 -6
- package/src/a11y/hooks/useAccessibilityActivateAction.ts +7 -4
- package/src/a11y/hooks/useAccessibilityServiceEnabled.ts +6 -15
- package/src/a11y/hooks/useAnnounceOnShow.ts +7 -10
- package/src/a11y/hooks/useAnnounceOnStateChange.ts +5 -4
- package/src/a11y/hooks/useReducedMotionPreference.ts +4 -3
- package/src/a11y/hooks/useResolvedModalAccessibilityProps.ts +4 -8
- package/src/a11y/hooks/useScreenReaderEnabled.ts +3 -5
- package/src/a11y/hooks/useScreenReaderMountFocus.ts +4 -3
- package/src/a11y/hooks/useSetAccessibilityFocus.ts +10 -23
- package/src/ai-components/AITypingIndicatorView.tsx +2 -3
- package/src/ai-components/__tests__/Markdown.test.tsx +20 -0
- package/src/ai-components/__tests__/charts.test.ts +4 -1
- package/src/ai-components/charts/components/PieLegend.tsx +1 -1
- package/src/ai-components/charts/components/VictoryChart.tsx +1 -20
- package/src/ai-components/charts/index.ts +0 -4
- package/src/ai-components/charts/types.ts +3 -4
- package/src/ai-components/charts/utils/generate-pie-colors.ts +3 -5
- package/src/ai-components/charts/utils/parse-json-chart.ts +2 -4
- package/src/ai-components/charts/vega-lite/schema.ts +4 -22
- package/src/ai-components/components/BottomSheet.tsx +1 -1
- package/src/ai-components/index.ts +2 -9
- package/src/ai-components/internal/hooks/useStableCallback.ts +7 -20
- package/src/ai-components/internal/icons/SendUp.tsx +0 -1
- package/src/ai-components/markdown/components/CodeBlock.tsx +2 -2
- package/src/ai-components/markdown/components/Table.tsx +2 -3
- package/src/ai-components/markdown/rules.ts +9 -14
- package/src/ai-components/markdown/styles.ts +1 -1
- package/src/ai-components/markdown/types.ts +1 -1
- package/src/ai-components/markdown/utils/generate-markdown-text.ts +13 -26
- package/src/ai-components/message-composer/SpeechToTextButton.tsx +1 -4
- package/src/ai-components/native/AIDictation.ts +5 -4
- package/src/ai-components/native-specs/NativeAIDictation.ts +8 -9
- package/src/ai-components/services/clipboard-service/expo.ts +1 -1
- package/src/ai-components/services/clipboard-service/rncli.ts +1 -1
- package/src/ai-components/services/media-picker-service/expo.ts +2 -2
- package/src/ai-components/services/media-picker-service/optional-modules.d.ts +3 -3
- package/src/ai-components/services/media-picker-service/rncli.ts +4 -4
- package/src/ai-components/store/index.ts +0 -3
- package/src/ai-components/syntax-highlighting/index.ts +2 -3
- package/src/ai-components/syntax-highlighting/types.ts +2 -3
- package/src/ai-components/syntax-highlighting/utils/converter.ts +15 -19
- package/src/ai-components/syntax-highlighting/utils/flatten-nodes.ts +5 -13
- package/src/components/AITypingIndicatorView/hooks/useAIState.ts +5 -5
- package/src/components/Accessibility/CompositeAccessibilityProbe.tsx +7 -19
- package/src/components/Accessibility/HiddenA11yText.tsx +10 -20
- package/src/components/Accessibility/NotificationAnnouncer.tsx +3 -10
- package/src/components/Accessibility/OverlayA11yShield.tsx +7 -14
- package/src/components/Accessibility/hooks/useIncomingMessageAnnouncements.ts +9 -8
- package/src/components/Accessibility/useAccessibilityAnnouncer.ts +3 -4
- package/src/components/Attachment/Attachment.tsx +4 -10
- package/src/components/Attachment/AttachmentFileUploadProgressIndicator.tsx +1 -3
- package/src/components/Attachment/AttachmentUploadIndicator.tsx +2 -1
- package/src/components/Attachment/Audio/AudioAttachment.tsx +9 -16
- package/src/components/Attachment/Audio/PlayPauseButton.tsx +3 -9
- package/src/components/Attachment/CircularProgressIndicator.tsx +2 -4
- package/src/components/Attachment/FileAttachment.tsx +1 -1
- package/src/components/Attachment/FileIcon.tsx +7 -21
- package/src/components/Attachment/FilePreview.tsx +2 -3
- package/src/components/Attachment/Gallery.tsx +4 -6
- package/src/components/Attachment/GalleryImage.tsx +2 -2
- package/src/components/Attachment/Giphy/Giphy.tsx +1 -3
- package/src/components/Attachment/Giphy/GiphyImage.tsx +2 -6
- package/src/components/Attachment/ImageLoadingFailedIndicator.tsx +1 -4
- package/src/components/Attachment/MediaUploadProgressOverlay.tsx +1 -3
- package/src/components/Attachment/UnsupportedAttachment.tsx +1 -1
- package/src/components/Attachment/UrlPreview/URLPreview.tsx +2 -4
- package/src/components/Attachment/UrlPreview/URLPreviewCompact.tsx +2 -4
- package/src/components/Attachment/VideoThumbnail.tsx +1 -3
- package/src/components/Attachment/__tests__/FileIcon.test.tsx +46 -0
- package/src/components/Attachment/utils/buildGallery/buildGallery.ts +8 -22
- package/src/components/Attachment/utils/buildGallery/buildGalleryOfSingleImage.ts +0 -8
- package/src/components/Attachment/utils/buildGallery/buildGalleryOfThreeImages.ts +5 -23
- package/src/components/Attachment/utils/buildGallery/buildGalleryOfTwoImages.ts +2 -18
- package/src/components/Attachment/utils/buildGallery/buildThumbnail.ts +2 -2
- package/src/components/Attachment/utils/buildGallery/buildThumbnailGrid.ts +12 -126
- package/src/components/Attachment/utils/buildGallery/types.ts +1 -1
- package/src/components/Attachment/utils/getAspectRatio.ts +4 -3
- package/src/components/Attachment/utils/getGiphyMimeType.ts +3 -2
- package/src/components/Attachment/utils/openUrlSafely.ts +2 -2
- package/src/components/AttachmentPicker/AttachmentPicker.tsx +2 -8
- package/src/components/AttachmentPicker/components/AttachmentMediaPicker/AttachmentMediaPicker.tsx +3 -8
- package/src/components/AttachmentPicker/components/AttachmentMediaPicker/AttachmentPickerItem.tsx +4 -8
- package/src/components/AttachmentPicker/components/AttachmentTypePickerButton.tsx +1 -1
- package/src/components/AutoCompleteInput/AutoCompleteInput.tsx +16 -30
- package/src/components/AutoCompleteInput/AutoCompleteSuggestionItem.tsx +4 -7
- package/src/components/AutoCompleteInput/AutoCompleteSuggestionList.tsx +1 -3
- package/src/components/AutoCompleteInput/mentionItems/EnhancedMentionContent.tsx +1 -2
- package/src/components/AutoCompleteInput/mentionItems/EnhancedMentionIcon.tsx +4 -14
- package/src/components/AutoCompleteInput/mentionItems/MentionBroadcastItem.tsx +1 -3
- package/src/components/AutoCompleteInput/mentionItems/MentionItem.tsx +3 -8
- package/src/components/AutoCompleteInput/mentionItems/TokenizedSuggestionParts.tsx +3 -7
- package/src/components/Channel/Channel.tsx +13 -25
- package/src/components/Channel/ChannelShell.tsx +18 -38
- package/src/components/Channel/__tests__/Channel.test.tsx +3 -3
- package/src/components/Channel/hooks/useChannelLifecycle.ts +26 -29
- package/src/components/Channel/hooks/useCreateChannelContext.ts +1 -1
- package/src/components/Channel/hooks/useCreateInputMessageInputContext.ts +1 -3
- package/src/components/Channel/hooks/useCreateMessagesContext.ts +1 -3
- package/src/components/Channel/hooks/useCreateOwnCapabilitiesContext.ts +1 -2
- package/src/components/Channel/hooks/useSupersededChannelSwap.ts +7 -4
- package/src/components/ChannelDetails/ChannelDetails.tsx +1 -3
- package/src/components/ChannelDetails/__tests__/useEditChannelImage.test.tsx +2 -2
- package/src/components/ChannelDetails/components/ChannelDetailsActionsSection.tsx +4 -9
- package/src/components/ChannelDetails/components/ChannelDetailsEditButton.tsx +4 -5
- package/src/components/ChannelDetails/components/ChannelDetailsMemberSection.tsx +1 -3
- package/src/components/ChannelDetails/components/ChannelDetailsNavHeader.tsx +2 -2
- package/src/components/ChannelDetails/components/ChannelDetailsNavigationSection.tsx +3 -6
- package/src/components/ChannelDetails/components/ChannelEditDetailsForm.tsx +5 -9
- package/src/components/ChannelDetails/components/ChannelEditDetailsFormContent.tsx +2 -1
- package/src/components/ChannelDetails/components/ChannelEditDetailsFormHeader.tsx +2 -2
- package/src/components/ChannelDetails/components/members/ChannelAddMembersButton.tsx +3 -4
- package/src/components/ChannelDetails/components/members/ChannelAddMembersForm.tsx +4 -9
- package/src/components/ChannelDetails/components/members/ChannelAddMembersFormContent.tsx +2 -7
- package/src/components/ChannelDetails/components/members/ChannelAddMembersFormHeader.tsx +2 -2
- package/src/components/ChannelDetails/components/members/ChannelMemberActionsSheet.tsx +2 -5
- package/src/components/ChannelDetails/components/members/ChannelMemberItem.tsx +5 -7
- package/src/components/ChannelDetails/components/members/ChannelMemberList.tsx +5 -17
- package/src/components/ChannelDetails/components/navigation-section/FileAttachmentItem.tsx +4 -8
- package/src/components/ChannelDetails/components/navigation-section/FileAttachmentList.tsx +3 -12
- package/src/components/ChannelDetails/components/navigation-section/FileAttachmentListSectionHeader.tsx +1 -1
- package/src/components/ChannelDetails/components/navigation-section/MediaItem.tsx +4 -8
- package/src/components/ChannelDetails/components/navigation-section/MediaList.tsx +6 -16
- package/src/components/ChannelDetails/components/navigation-section/MediaListLoadingSkeleton.tsx +2 -4
- package/src/components/ChannelDetails/components/navigation-section/PinnedMessageList.tsx +3 -12
- package/src/components/ChannelDetails/components/roles/RoleItem.tsx +4 -4
- package/src/components/ChannelDetails/components/roles/RoleList.tsx +2 -2
- package/src/components/ChannelDetails/hooks/members/useMemberRoles.ts +10 -14
- package/src/components/ChannelDetails/hooks/useChannelDetailsMemberStatusText.ts +5 -3
- package/src/components/ChannelDetails/hooks/useChannelDetailsNavigationItems.ts +18 -26
- package/src/components/ChannelDetails/hooks/useEditChannelImage.ts +14 -17
- package/src/components/ChannelDetails/hooks/useFileAttachmentListSections.ts +10 -13
- package/src/components/ChannelDetails/hooks/useMediaList.ts +8 -9
- package/src/components/ChannelDetails/hooks/useUserActivityStatus.ts +5 -7
- package/src/components/ChannelList/ChannelList.tsx +9 -8
- package/src/components/ChannelList/ChannelListView.tsx +13 -32
- package/src/components/ChannelList/__tests__/ChannelList.test.tsx +2 -2
- package/src/components/ChannelList/hooks/useChannelMembersState.ts +17 -8
- package/src/components/ChannelList/hooks/useChannelOnlineMemberCount.ts +10 -2
- package/src/components/ChannelList/hooks/useMutedChannels.ts +4 -1
- package/src/components/ChannelList/hooks/useMutedUsers.ts +3 -1
- package/src/components/ChannelList/hooks/usePaginatedChannels.ts +8 -9
- package/src/components/ChannelPreview/ChannelMessagePreviewDeliveryStatus.tsx +3 -8
- package/src/components/ChannelPreview/ChannelPreview.tsx +1 -3
- package/src/components/ChannelPreview/ChannelPreviewMessage.tsx +1 -3
- package/src/components/ChannelPreview/ChannelPreviewMutedStatus.tsx +1 -3
- package/src/components/ChannelPreview/ChannelPreviewPinnedStatus.tsx +1 -3
- package/src/components/ChannelPreview/ChannelPreviewTitle.tsx +1 -3
- package/src/components/ChannelPreview/ChannelPreviewUnreadCount.tsx +1 -3
- package/src/components/ChannelPreview/ChannelPreviewView.tsx +6 -11
- package/src/components/ChannelPreview/hooks/useChannelPreviewData.ts +6 -13
- package/src/components/ChannelPreview/hooks/useChannelPreviewDisplayName.ts +2 -2
- package/src/components/ChannelPreview/hooks/useChannelPreviewDisplayPresence.ts +5 -9
- package/src/components/ChannelPreview/hooks/useChannelPreviewDraftMessage.ts +4 -3
- package/src/components/ChannelPreview/hooks/useChannelPreviewPollLabel.ts +4 -3
- package/src/components/ChannelPreview/hooks/useChannelTypingState.ts +5 -4
- package/src/components/ChannelPreview/hooks/useIsChannelMuted.ts +4 -2
- package/src/components/Chat/Chat.tsx +34 -88
- package/src/components/Chat/hooks/useAppSettingsGetter.ts +10 -5
- package/src/components/Chat/hooks/useClientUserId.ts +6 -7
- package/src/components/Chat/hooks/useConnectionLifecycle.ts +25 -47
- package/src/components/Chat/hooks/useCreateChatClient.ts +13 -16
- package/src/components/Chat/hooks/useInitializeOfflineDb.ts +24 -30
- package/src/components/Chat/hooks/useNetworkConnectionState.ts +13 -12
- package/src/components/Chat/hooks/usePendingUploadsDefault.ts +12 -13
- package/src/components/Chat/hooks/useWSConnectionState.ts +23 -42
- package/src/components/ImageGallery/ImageGallery.tsx +24 -62
- package/src/components/ImageGallery/__tests__/ImageGallery.test.tsx +26 -0
- package/src/components/ImageGallery/components/AnimatedGalleryImage.tsx +6 -12
- package/src/components/ImageGallery/components/AnimatedGalleryVideo.tsx +2 -11
- package/src/components/ImageGallery/components/ImageGalleryA11yProbe.tsx +5 -8
- package/src/components/ImageGallery/components/ImageGalleryFooter.tsx +8 -11
- package/src/components/ImageGallery/components/ImageGalleryHeader.tsx +4 -5
- package/src/components/ImageGallery/components/ImageGalleryVideoControl.tsx +4 -7
- package/src/components/ImageGallery/components/__tests__/ImageGalleryVideoControl.test.tsx +9 -0
- package/src/components/ImageGallery/hooks/useAnimatedGalleryStyle.tsx +6 -11
- package/src/components/ImageGallery/hooks/useCurrentImageHeight.ts +7 -12
- package/src/components/ImageGallery/hooks/useImageGalleryGestures.tsx +52 -213
- package/src/components/ImageGallery/hooks/useImageGalleryVideoPlayer.ts +4 -2
- package/src/components/Indicators/LoadingIndicator.tsx +1 -3
- package/src/components/KeyboardCompatibleView/KeyboardCompatibleView.tsx +26 -43
- package/src/components/Message/Message.tsx +21 -57
- package/src/components/Message/MessageItemView/Headers/SentToChannelHeader.tsx +2 -5
- package/src/components/Message/MessageItemView/MessageBlocked.tsx +2 -6
- package/src/components/Message/MessageItemView/MessageContent.tsx +12 -30
- package/src/components/Message/MessageItemView/MessageFooter.tsx +2 -4
- package/src/components/Message/MessageItemView/MessageItemView.tsx +2 -5
- package/src/components/Message/MessageItemView/MessageReplies.tsx +1 -1
- package/src/components/Message/MessageItemView/MessageTextContainer.tsx +4 -9
- package/src/components/Message/MessageItemView/MessageTimestamp.tsx +3 -9
- package/src/components/Message/MessageItemView/MessageWrapper.tsx +12 -18
- package/src/components/Message/MessageItemView/ReactionList/ReactionListBottom.tsx +1 -1
- package/src/components/Message/MessageItemView/ReactionList/ReactionListTop.tsx +1 -3
- package/src/components/Message/MessageItemView/utils/generateMarkdownText.test.ts +9 -0
- package/src/components/Message/MessageItemView/utils/generateMarkdownText.ts +31 -20
- package/src/components/Message/MessageItemView/utils/parseLinks.ts +3 -8
- package/src/components/Message/MessageItemView/utils/renderText.tsx +16 -25
- package/src/components/Message/MessageOverlayWrapper.tsx +3 -5
- package/src/components/Message/hooks/__tests__/useCreateMessageActionHandlers.test.tsx +1 -1
- package/src/components/Message/hooks/useCreateMessageActionHandlers.ts +16 -5
- package/src/components/Message/hooks/useCreateMessageContext.ts +2 -4
- package/src/components/Message/hooks/useIsMessageDeliveredToOthers.ts +7 -6
- package/src/components/Message/hooks/useIsMessageReadByOthers.ts +8 -9
- package/src/components/Message/hooks/useMessageActionHandlers.ts +3 -1
- package/src/components/Message/hooks/useMessageActions.tsx +5 -3
- package/src/components/Message/hooks/useMessageOperations.ts +20 -27
- package/src/components/Message/hooks/useProcessReactions.ts +8 -4
- package/src/components/Message/hooks/useStreamingMessage.ts +7 -6
- package/src/components/Message/hooks/useUserMuteActive.ts +9 -1
- package/src/components/Message/utils/measureInWindow.ts +19 -19
- package/src/components/Message/utils/messageActions.ts +0 -1
- package/src/components/MessageInput/MessageComposer.tsx +7 -19
- package/src/components/MessageInput/StopMessageStreamingButton.tsx +1 -1
- package/src/components/MessageInput/__tests__/__snapshots__/AttachButton.test.tsx.snap +45 -15
- package/src/components/MessageInput/__tests__/__snapshots__/SendButton.test.tsx.snap +30 -10
- package/src/components/MessageInput/components/AttachmentPreview/AttachmentUploadPreviewList.tsx +1 -8
- package/src/components/MessageInput/components/AudioRecorder/AudioRecorder.tsx +2 -6
- package/src/components/MessageInput/components/AudioRecorder/AudioRecordingButton.tsx +4 -12
- package/src/components/MessageInput/components/AudioRecorder/AudioRecordingInProgress.tsx +3 -7
- package/src/components/MessageInput/components/AudioRecorder/AudioRecordingLockIndicator.tsx +3 -9
- package/src/components/MessageInput/components/AudioRecorder/AudioRecordingPreview.tsx +5 -7
- package/src/components/MessageInput/components/AudioRecorder/AudioRecordingWaveform.tsx +2 -6
- package/src/components/MessageInput/components/InputButtons/AttachButton.tsx +2 -4
- package/src/components/MessageInput/components/OutputButtons/CooldownTimer.tsx +1 -3
- package/src/components/MessageInput/hooks/useAudioRecorder.tsx +10 -20
- package/src/components/MessageInput/hooks/useCooldownRemaining.tsx +3 -3
- package/src/components/MessageInput/utils/audioSampling.ts +7 -5
- package/src/components/MessageInput/utils/normalizeAudioLevel.ts +5 -1
- package/src/components/MessageList/InlineDateSeparator.tsx +1 -6
- package/src/components/MessageList/MessageFlashList.tsx +42 -109
- package/src/components/MessageList/MessageList.tsx +62 -146
- package/src/components/MessageList/MessageSystem.tsx +3 -12
- package/src/components/MessageList/ScrollToBottomButton.tsx +2 -2
- package/src/components/MessageList/StickyHeader.tsx +2 -9
- package/src/components/MessageList/UnreadMessagesNotification.tsx +2 -6
- package/src/components/MessageList/__tests__/MessageList.test.tsx +2 -0
- package/src/components/MessageList/__tests__/__snapshots__/ScrollToBottomButton.test.tsx.snap +3 -1
- package/src/components/MessageList/hooks/useMarkRead.ts +24 -32
- package/src/components/MessageList/hooks/useMessageDateSeparator.ts +8 -5
- package/src/components/MessageList/hooks/useMessageGroupStyles.ts +11 -2
- package/src/components/MessageList/hooks/useMessageList.ts +1 -4
- package/src/components/MessageList/hooks/useMessageListFocus.ts +8 -6
- package/src/components/MessageList/hooks/useMessageListLiveState.ts +6 -1
- package/src/components/MessageList/hooks/useMessageListPagination.ts +7 -4
- package/src/components/MessageList/hooks/useOwnUnreadCount.ts +3 -0
- package/src/components/MessageList/hooks/useScrollToBottomAccessibilityAction.ts +3 -4
- package/src/components/MessageList/hooks/useStickyHeaderDate.ts +4 -2
- package/src/components/MessageList/hooks/useTypingString.ts +1 -4
- package/src/components/MessageList/hooks/useTypingUsers.ts +12 -7
- package/src/components/MessageList/hooks/useUnreadNotificationVisibility.ts +10 -2
- package/src/components/MessageList/utils/buildMessageListWithNeighbours.ts +9 -5
- package/src/components/MessageList/utils/filterTypingUsers.ts +2 -2
- package/src/components/MessageList/utils/getGroupStyles.ts +12 -17
- package/src/components/MessageMenu/EmojiPickerList.tsx +3 -6
- package/src/components/MessageMenu/MessageActionList.tsx +2 -9
- package/src/components/MessageMenu/MessageActionListItem.tsx +6 -19
- package/src/components/MessageMenu/MessageActionListWithActions.tsx +3 -3
- package/src/components/MessageMenu/MessageReactionPicker.tsx +1 -3
- package/src/components/MessageMenu/MessageUserReactions.tsx +2 -6
- package/src/components/MessageMenu/MessageUserReactionsAvatar.tsx +1 -3
- package/src/components/MessageMenu/MessageUserReactionsItem.tsx +2 -6
- package/src/components/MessageMenu/ReactionButton.tsx +6 -12
- package/src/components/MessageMenu/__tests__/MessageActionList.test.tsx +32 -0
- package/src/components/Notifications/Notification.tsx +8 -3
- package/src/components/Notifications/NotificationList.tsx +1 -1
- package/src/components/Notifications/NotificationTargetContext.tsx +12 -2
- package/src/components/Notifications/hooks/useNotificationApi.ts +13 -4
- package/src/components/Notifications/hooks/useNotifications.ts +8 -1
- package/src/components/Notifications/hooks/useSystemNotifications.ts +6 -1
- package/src/components/Notifications/notificationFilters.ts +9 -11
- package/src/components/Notifications/notificationTarget.ts +126 -20
- package/src/components/Notifications/notificationTranslations.ts +9 -18
- package/src/components/Poll/CreatePollContent.tsx +9 -7
- package/src/components/Poll/components/Button.tsx +2 -2
- package/src/components/Poll/components/CreatePollHeader.tsx +2 -8
- package/src/components/Poll/components/CreatePollOptions.tsx +16 -21
- package/src/components/Poll/components/MultipleAnswersField.tsx +1 -1
- package/src/components/Poll/components/MultipleVotesSettings.tsx +6 -4
- package/src/components/Poll/components/NameField.tsx +1 -1
- package/src/components/Poll/components/PollButtons.tsx +2 -2
- package/src/components/Poll/components/PollOption.tsx +2 -2
- package/src/components/Poll/hook/useIsPollCreatedByCurrentUser.ts +3 -2
- package/src/components/Poll/hooks/useEndVote.ts +4 -3
- package/src/components/Poll/hooks/usePollAnswersPagination.ts +6 -12
- package/src/components/Poll/hooks/usePollOptionVotesPagination.ts +7 -15
- package/src/components/Poll/hooks/usePollVoteToggle.ts +5 -4
- package/src/components/Poll/index.ts +0 -2
- package/src/components/ProgressControl/ProgressBar.tsx +0 -1
- package/src/components/ProgressControl/ProgressControl.tsx +6 -25
- package/src/components/ProgressControl/ProgressThumb.tsx +2 -6
- package/src/components/ProgressControl/StableDurationLabel.tsx +2 -4
- package/src/components/ProgressControl/WaveProgressBar.tsx +7 -21
- package/src/components/Reply/Reply.tsx +8 -11
- package/src/components/Thread/Thread.tsx +20 -29
- package/src/components/Thread/__tests__/__snapshots__/Thread.test.tsx.snap +18 -6
- package/src/components/Thread/components/ThreadFooterComponent.tsx +5 -8
- package/src/components/ThreadList/ThreadListItem.tsx +1 -1
- package/src/components/ThreadList/ThreadMessagePreviewDeliveryStatus.tsx +4 -6
- package/src/components/UIComponents/BottomSheetModal.tsx +17 -36
- package/src/components/UIComponents/ClippingFadeBottom.tsx +3 -10
- package/src/components/UIComponents/EmptyList.tsx +3 -9
- package/src/components/UIComponents/GenericListLoadingSkeleton.tsx +1 -1
- package/src/components/UIComponents/ImageBackground.tsx +5 -31
- package/src/components/UIComponents/PortalWhileClosingView.tsx +12 -36
- package/src/components/UIComponents/SafeAreaViewWrapper.tsx +5 -8
- package/src/components/UIComponents/SvgAwareImage.tsx +2 -5
- package/src/components/UIComponents/__tests__/SwipableWrapper.test.tsx +68 -2
- package/src/components/index.ts +1 -4
- package/src/components/ui/Avatar/Avatar.tsx +2 -9
- package/src/components/ui/Avatar/AvatarGroup.tsx +5 -13
- package/src/components/ui/Avatar/ChannelAvatar.tsx +2 -9
- package/src/components/ui/Avatar/constants.ts +2 -2
- package/src/components/ui/Badge/BadgeNotification.tsx +1 -4
- package/src/components/ui/Button/Button.tsx +11 -34
- package/src/components/ui/Button/hooks/useButtonStyles.ts +5 -4
- package/src/components/ui/GiphyChip.tsx +0 -1
- package/src/components/ui/Input/Input.tsx +2 -2
- package/src/components/ui/SpeedSettingsButton.tsx +3 -9
- package/src/contexts/__tests__/index.test.tsx +29 -9
- package/src/contexts/accessibilityContext/AccessibilityContext.tsx +22 -26
- package/src/contexts/attachmentPickerContext/AttachmentPickerContext.tsx +8 -13
- package/src/contexts/bottomSheetContext/BottomSheetContext.tsx +7 -18
- package/src/contexts/channelAddMembersContext/ChannelAddMembersContext.tsx +6 -15
- package/src/contexts/channelContext/ChannelContext.tsx +8 -36
- package/src/contexts/channelDetailsContext/channelDetailsContext.tsx +1 -3
- package/src/contexts/channelEditDetailsContext/ChannelEditDetailsContext.tsx +11 -24
- package/src/contexts/channelFileAttachmentListContext/ChannelFileAttachmentListContext.tsx +1 -1
- package/src/contexts/channelMediaListContext/ChannelMediaListContext.tsx +1 -1
- package/src/contexts/channelsContext/ChannelsContext.tsx +15 -39
- package/src/contexts/chatConfigContext/ChatConfigContext.tsx +1 -3
- package/src/contexts/chatContext/ChatContext.tsx +3 -3
- package/src/contexts/componentsContext/ComponentsContext.tsx +13 -20
- package/src/contexts/componentsContext/defaultComponents.ts +6 -33
- package/src/contexts/imageGalleryContext/ImageGalleryContextBase.tsx +1 -1
- package/src/contexts/liveLocationManagerContext/LiveLocationManagerContext.tsx +0 -2
- package/src/contexts/liveLocationManagerContext/hooks/useHandleLiveLocationEvents.ts +10 -11
- package/src/contexts/messageComposerContext/MessageComposerContext.tsx +1 -3
- package/src/contexts/messageContext/MessageContext.tsx +44 -65
- package/src/contexts/messageInputContext/MessageInputContext.tsx +36 -87
- package/src/contexts/messageInputContext/__tests__/filePickers.test.tsx +10 -0
- package/src/contexts/messageInputContext/hooks/useMessageComposer.ts +2 -0
- package/src/contexts/messageInputContext/hooks/useMessageComposerHasSendableData.ts +1 -1
- package/src/contexts/messageInputContext/hooks/usePendingUploadsEnabled.ts +5 -3
- package/src/contexts/messageListItemContext/MessageListItemContext.tsx +7 -12
- package/src/contexts/messagesContext/MessagesContext.tsx +57 -191
- package/src/contexts/overlayContext/ClosingPortalHostsLayer.tsx +2 -7
- package/src/contexts/overlayContext/MessageOverlayHostLayer.tsx +13 -21
- package/src/contexts/overlayContext/OverlayContext.tsx +4 -5
- package/src/contexts/overlayContext/OverlayHostLayerContext.ts +1 -1
- package/src/contexts/overlayContext/OverlayProvider.tsx +2 -17
- package/src/contexts/ownCapabilitiesContext/OwnCapabilitiesContext.tsx +1 -1
- package/src/contexts/pollContext/createPollContentContext.tsx +2 -6
- package/src/contexts/pollContext/pollContext.tsx +1 -1
- package/src/contexts/screenReaderContext/ScreenReaderContext.tsx +4 -8
- package/src/contexts/swipeableContext/SwipeRegistryContext.tsx +1 -0
- package/src/contexts/themeContext/ThemeContext.tsx +4 -6
- package/src/contexts/themeContext/utils/theme.ts +2 -3
- package/src/contexts/threadContext/ThreadContext.tsx +4 -9
- package/src/contexts/translationContext/TranslationContext.tsx +3 -7
- package/src/contexts/translationContext/types.ts +5 -14
- package/src/hooks/__tests__/useAttachmentPickerBottomSheet.test.ts +27 -0
- package/src/hooks/__tests__/useRAFCoalescedValue.test.tsx +80 -0
- package/src/hooks/actions/__tests__/useChannelActions.test.tsx +3 -3
- package/src/hooks/actions/useChannelActionItems.tsx +11 -28
- package/src/hooks/actions/useChannelActions.ts +3 -3
- package/src/hooks/actions/useChannelMemberActionItems.tsx +3 -6
- package/src/hooks/messagePreview/useGroupedAttachments.ts +5 -5
- package/src/hooks/messagePreview/useMessageDeliveryStatus.ts +9 -8
- package/src/hooks/messagePreview/useMessagePreviewText.tsx +2 -4
- package/src/hooks/useAfterKeyboardOpenCallback.ts +5 -5
- package/src/hooks/useAppStateListener.ts +7 -9
- package/src/hooks/useAttachmentPickerBottomSheet.ts +7 -6
- package/src/hooks/useAudioPlayer.ts +3 -10
- package/src/hooks/useCanAddMembersToChannel.ts +3 -0
- package/src/hooks/useCanEditChannel.ts +4 -1
- package/src/hooks/useChannel.ts +4 -5
- package/src/hooks/useChannelImage.ts +5 -1
- package/src/hooks/useChannelMemberCount.ts +5 -1
- package/src/hooks/useChannelMembershipState.ts +5 -1
- package/src/hooks/useChannelName.ts +5 -1
- package/src/hooks/useChannelOwnCapabilities.ts +4 -2
- package/src/hooks/useClientNotifications.ts +3 -3
- package/src/hooks/useHorizontalInsets.ts +10 -16
- package/src/hooks/useIsChannelMember.ts +5 -1
- package/src/hooks/useIsMountedRef.ts +7 -11
- package/src/hooks/useIsSvg.ts +9 -8
- package/src/hooks/useIsTargetedMessage.ts +7 -7
- package/src/hooks/useKeyboardVisibility.ts +3 -2
- package/src/hooks/useLazyRef.ts +4 -2
- package/src/hooks/useLoadingImage.tsx +2 -2
- package/src/hooks/useMessagePaginator.ts +4 -2
- package/src/hooks/usePendingAttachmentUpload.ts +8 -4
- package/src/hooks/usePortalSettledCallback.ts +15 -43
- package/src/hooks/usePrunableMessageList.ts +12 -15
- package/src/hooks/useQueryReminders.ts +7 -13
- package/src/hooks/useRAFCoalescedValue.ts +16 -40
- package/src/hooks/useScreenDimensions.ts +7 -8
- package/src/hooks/useScreenOrientation.ts +2 -4
- package/src/hooks/useStableCallback.ts +10 -20
- package/src/hooks/useStreami18n.ts +3 -5
- package/src/hooks/useTranslatedMessage.ts +9 -7
- package/src/hooks/useViewport.ts +4 -4
- package/src/hooks/useWindowContentWidth.ts +9 -11
- package/src/i18n/__tests__/catalog.fixture.json +4 -2
- package/src/i18n/keys.ts +4 -2
- package/src/i18n/runtimeDefaults.ts +20 -25
- package/src/i18n/types.ts +10 -14
- package/src/i18n/utils.ts +14 -22
- package/src/index.ts +1 -1
- package/src/middlewares/__tests__/emojiControl.test.ts +65 -0
- package/src/middlewares/attachments.ts +2 -5
- package/src/middlewares/emojiControl.ts +18 -31
- package/src/native.ts +6 -9
- package/src/nativeMultipartUpload.ts +5 -5
- package/src/polyfills.ts +0 -4
- package/src/state-store/audio-player.ts +9 -15
- package/src/state-store/audio-recorder-manager.ts +7 -18
- package/src/state-store/edit-channel-details-store.ts +41 -26
- package/src/state-store/image-gallery-state-store.ts +5 -14
- package/src/state-store/in-app-notifications-store.ts +0 -1
- package/src/state-store/message-overlay-store.ts +24 -30
- package/src/state-store/selection-store.ts +11 -11
- package/src/store/OfflineDB.ts +5 -13
- package/src/store/SqliteClient.ts +39 -58
- package/src/store/__tests__/mapperRequiredTimestamps.test.ts +11 -0
- package/src/store/__tests__/selectMessagesForChannels.test.ts +39 -0
- package/src/store/apis/__tests__/upsertDraft.test.ts +55 -0
- package/src/store/apis/addPendingTask.ts +6 -8
- package/src/store/apis/channelExists.ts +5 -4
- package/src/store/apis/dropPendingTasks.ts +5 -8
- package/src/store/apis/getChannelActiveLocations.ts +1 -1
- package/src/store/apis/getChannelMessages.ts +0 -3
- package/src/store/apis/getChannels.ts +5 -7
- package/src/store/apis/getChannelsForFilterSort.ts +7 -8
- package/src/store/apis/getDraftsForChannels.ts +2 -3
- package/src/store/apis/getReactions.ts +0 -1
- package/src/store/apis/getReactionsforFilterSort.ts +7 -9
- package/src/store/apis/insertReaction.ts +3 -4
- package/src/store/apis/queries/selectActiveLocationsForChannels.ts +1 -2
- package/src/store/apis/queries/selectChannelQueryForFilterSort.ts +12 -14
- package/src/store/apis/queries/selectMessagesForChannels.ts +1 -1
- package/src/store/apis/queries/selectReactionsForMessages.ts +8 -5
- package/src/store/apis/upsertChannels.ts +1 -2
- package/src/store/apis/upsertCidsForQuery.ts +0 -1
- package/src/store/apis/upsertDraft.ts +3 -4
- package/src/store/constants.ts +1 -6
- package/src/store/mappers/mapPollToStorable.ts +1 -1
- package/src/store/mappers/mapReadToStorable.ts +1 -1
- package/src/store/mappers/mapStorableToMember.ts +1 -1
- package/src/store/mappers/mapStorableToPoll.ts +2 -3
- package/src/store/mappers/mapStorableToTimestamp.ts +6 -10
- package/src/store/mappers/mapTimestampToStorable.ts +4 -9
- package/src/store/schema.ts +1 -4
- package/src/store/sqlite-utils/createDeleteQuery.ts +5 -6
- package/src/store/sqlite-utils/createSelectQuery.ts +8 -7
- package/src/store/sqlite-utils/createUpdateQuery.ts +7 -7
- package/src/store/sqlite-utils/createUpsertQuery.ts +11 -14
- package/src/store/sqlite-utils/createUpsertQueryIfParentExists.ts +14 -24
- package/src/theme/topologicalResolution.ts +8 -13
- package/src/types/react-native-compat.ts +16 -41
- package/src/types/types.ts +46 -100
- package/src/utils/__tests__/getTrimmedAttachmentTitle.test.ts +19 -0
- package/src/utils/attachmentUrls.ts +4 -6
- package/src/utils/compressImage.ts +7 -10
- package/src/utils/getResizedImageUrl.ts +11 -14
- package/src/utils/getTrimmedAttachmentTitle.ts +7 -4
- package/src/utils/getUrlOfImageAttachment.ts +6 -4
- package/src/utils/i18n/Streami18n.ts +31 -47
- package/src/utils/installNativeMultipartAdapter.ts +9 -9
- package/src/utils/isRNVersionGreaterThanOrEqualTo.ts +6 -4
- package/src/utils/react-native-constants.ts +2 -4
- package/src/utils/rtlMirrorSwitchStyle.ts +4 -2
- package/src/utils/utils.ts +57 -55
- package/src/version.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"image-gallery-state-store.d.ts","sourceRoot":"","sources":["../../../src/state-store/image-gallery-state-store.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAEnE,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AACjE,OAAO,EAAE,UAAU,EAA0B,YAAY,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAE7F,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAOtD,MAAM,MAAM,iBAAiB,GAAG;IAC9B,EAAE,EAAE,MAAM,CAAC;IACX,GAAG,EAAE,MAAM,CAAC;IACZ,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,YAAY,GAAG,IAAI,CAAC;IAC3B,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAgBF,MAAM,MAAM,iBAAiB,GAAG;IAC9B,MAAM,EAAE,iBAAiB,EAAE,CAAC;IAC5B,QAAQ,EAAE,YAAY,EAAE,CAAC;IACzB,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,YAAY,EAAE,MAAM,CAAC;IACrB,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;CAC9B,CAAC;AAUF,MAAM,MAAM,mBAAmB,GAAG;IAChC,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,YAAY,CAAC,EAAE,MAAM,WAAW,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC,CAAC;CACvD,CAAC;AAOF,qBAAa,sBAAsB;IACjC,KAAK,EAAE,UAAU,CAAC,iBAAiB,CAAC,CAAC;IACrC,OAAO,EAAE,mBAAmB,CAAC;IAC7B,eAAe,EAAE,eAAe,CAAC;IACjC
|
|
1
|
+
{"version":3,"file":"image-gallery-state-store.d.ts","sourceRoot":"","sources":["../../../src/state-store/image-gallery-state-store.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAEnE,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AACjE,OAAO,EAAE,UAAU,EAA0B,YAAY,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAE7F,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAOtD,MAAM,MAAM,iBAAiB,GAAG;IAC9B,EAAE,EAAE,MAAM,CAAC;IACX,GAAG,EAAE,MAAM,CAAC;IACZ,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,YAAY,GAAG,IAAI,CAAC;IAC3B,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAgBF,MAAM,MAAM,iBAAiB,GAAG;IAC9B,MAAM,EAAE,iBAAiB,EAAE,CAAC;IAC5B,QAAQ,EAAE,YAAY,EAAE,CAAC;IACzB,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,YAAY,EAAE,MAAM,CAAC;IACrB,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;CAC9B,CAAC;AAUF,MAAM,MAAM,mBAAmB,GAAG;IAChC,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,YAAY,CAAC,EAAE,MAAM,WAAW,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC,CAAC;CACvD,CAAC;AAOF,qBAAa,sBAAsB;IACjC,KAAK,EAAE,UAAU,CAAC,iBAAiB,CAAC,CAAC;IACrC,OAAO,EAAE,mBAAmB,CAAC;IAC7B,eAAe,EAAE,eAAe,CAAC;IACjC;;;OAGG;IACH,kBAAkB,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;gBAE5B,OAAO,GAAE,OAAO,CAAC,mBAAmB,CAAM;IAOtD,IAAI,QAAQ,IAsEW,YAAY,EAAE,CApEpC;IAED,IAAI,qBAAqB,IAsEwB,MAAM,GAAG,SAAS,CApElE;IAED,IAAI,aAAa,IAoFgB,MAAM,GAAG,IAAI,CAlF7C;IAED,IAAI,sBAAsB;;;QAsBzB;IAED,UAAU,CAAC,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM;IAI9C,IAAI,MAAM;;;;;;;;;;;;;QA4BT;IAED,IAAI,QAAQ,CAAC,QAAQ,EAAE,YAAY,EAAE,EAEpC;IAED,IAAI,qBAAqB,CAAC,qBAAqB,EAAE,MAAM,GAAG,SAAS,EAElE;IAED,IAAI,YAAY,CAAC,YAAY,EAAE,MAAM,EAYpC;IAED,IAAI,aAAa,CAAC,aAAa,EAAE,MAAM,GAAG,IAAI,EAE7C;IAED,cAAc,GAAI,UAAU,YAAY,EAAE,UAExC;IAEF,cAAc,GAAI,UAAU,YAAY,EAAE,UAIxC;IAEF,gBAAgB,GAAI,qDAIjB;QACD,QAAQ,EAAE,YAAY,EAAE,CAAC;QACzB,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QAC9B,qBAAqB,CAAC,EAAE,MAAM,CAAC;KAChC,UAEC;IAEF,mBAAmB,oBAYjB;IAEF,gCAAgC,oBAoB9B;IAEF,qBAAqB,mBASnB;IAEF,KAAK,aAIH;CACH"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"in-app-notifications-store.d.ts","sourceRoot":"","sources":["../../../src/state-store/in-app-notifications-store.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAE3C,MAAM,MAAM,uBAAuB,GAAG;IACpC,aAAa,EAAE,YAAY,EAAE,CAAC;CAC/B,CAAC;AAMF,eAAO,MAAM,uBAAuB,qCAAyD,CAAC;AAE9F,eAAO,MAAM,qBAAqB,GAAI,cAAc,YAAY,
|
|
1
|
+
{"version":3,"file":"in-app-notifications-store.d.ts","sourceRoot":"","sources":["../../../src/state-store/in-app-notifications-store.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAE3C,MAAM,MAAM,uBAAuB,GAAG;IACpC,aAAa,EAAE,YAAY,EAAE,CAAC;CAC/B,CAAC;AAMF,eAAO,MAAM,uBAAuB,qCAAyD,CAAC;AAE9F,eAAO,MAAM,qBAAqB,GAAI,cAAc,YAAY,SAe/D,CAAC;AAEF,eAAO,MAAM,sBAAsB,GAAI,IAAI,MAAM,SAShD,CAAC"}
|
|
@@ -41,18 +41,22 @@ export declare const overlayStore: StateStore<OverlayState>;
|
|
|
41
41
|
export declare const createClosingPortalLayoutRegistrationId: () => string;
|
|
42
42
|
export declare const createOverlayHostLayerId: () => string;
|
|
43
43
|
/**
|
|
44
|
-
* Registers a `MessageOverlayHostLayer` (one per `OverlayProvider`)
|
|
44
|
+
* Registers a `MessageOverlayHostLayer` (one per `OverlayProvider`) on a stack.
|
|
45
45
|
*
|
|
46
|
-
* Only the
|
|
47
|
-
*
|
|
48
|
-
*
|
|
49
|
-
*
|
|
46
|
+
* Only the top layer drives the overlay and owns the shared portal host names, because portal hosts
|
|
47
|
+
* live in a single native registry by name. Other layers park their hosts under unique names, and
|
|
48
|
+
* the previous layer takes the shared names back when the top one unregisters.
|
|
49
|
+
*
|
|
50
|
+
* @param id The layer ID, from `createOverlayHostLayerId`.
|
|
51
|
+
* @returns A function that unregisters the layer.
|
|
50
52
|
*/
|
|
51
53
|
export declare const registerOverlayHostLayer: (id: string) => () => void;
|
|
52
54
|
/**
|
|
53
|
-
* Whether the host layer with the given
|
|
54
|
-
*
|
|
55
|
-
*
|
|
55
|
+
* Whether the host layer with the given ID currently owns the overlay. A missing ID (outside an
|
|
56
|
+
* `OverlayProvider`) or an empty stack counts as the top.
|
|
57
|
+
*
|
|
58
|
+
* @param id The layer ID.
|
|
59
|
+
* @returns True when the layer is the top one.
|
|
56
60
|
*/
|
|
57
61
|
export declare const useIsTopOverlayHostLayer: (id: string | undefined) => boolean;
|
|
58
62
|
export declare const setClosingPortalLayout: (hostName: string, id: string, layout: Rect) => void;
|
|
@@ -66,34 +70,25 @@ export declare const useIsOverlayClosing: () => boolean;
|
|
|
66
70
|
export declare const useClosingPortalHostBlacklistState: () => string[];
|
|
67
71
|
export declare const useShouldTeleportToClosingPortal: (hostName: string, id: string) => boolean;
|
|
68
72
|
/**
|
|
69
|
-
* Registers a screen-level blacklist of closing portal hosts that
|
|
73
|
+
* Registers a screen-level blacklist of closing portal hosts that must not render while this hook
|
|
74
|
+
* is active.
|
|
70
75
|
*
|
|
71
|
-
*
|
|
72
|
-
*
|
|
73
|
-
* - unmounting/disabling restores the previous active blacklist automatically
|
|
76
|
+
* Blacklists form a stack: the most recently mounted or enabled one is active, and unmounting or
|
|
77
|
+
* disabling it restores the previous one without the earlier screens re-running effects.
|
|
74
78
|
*
|
|
75
|
-
*
|
|
76
|
-
*
|
|
79
|
+
* @param hostNames Names of the portal hosts to blacklist.
|
|
80
|
+
* @param enabled Whether the blacklist is registered. Defaults to true.
|
|
77
81
|
*/
|
|
78
82
|
export declare const useClosingPortalHostBlacklist: (hostNames: string[], enabled?: boolean) => void;
|
|
79
83
|
/**
|
|
80
|
-
*
|
|
81
|
-
* Do not swap this back to `useStateStore(closingPortalLayoutsStore, selector)`.
|
|
82
|
-
*
|
|
83
|
-
* Why this is special:
|
|
84
|
-
* - `layouts` is a dynamic-key map (hosts are added/removed at runtime)
|
|
85
|
-
* - each host key maintains a stack of registrations
|
|
86
|
-
* - We only need React updates when the key set changes (add/remove/reset)
|
|
87
|
-
* - Per-layout movement is already on UI thread via the top `entry.layout.value`
|
|
84
|
+
* Subscribes to the closing portal layouts, keyed by host name.
|
|
88
85
|
*
|
|
89
|
-
*
|
|
90
|
-
*
|
|
91
|
-
*
|
|
92
|
-
*
|
|
93
|
-
* - When that happens, overlay slots never mount even though registration has run
|
|
86
|
+
* Do not replace the raw-store `useSyncExternalStore` with `useStateStore`: its selector comparison
|
|
87
|
+
* only iterates the previous keys, so `{}` -> `{ newHost: entry }` reads as unchanged and overlay
|
|
88
|
+
* slots never mount. Only adding or removing hosts needs a React update, since layout movement runs
|
|
89
|
+
* on the UI thread through `entry.layout.value`.
|
|
94
90
|
*
|
|
95
|
-
*
|
|
96
|
-
* so add/remove of hosts is always treated as observable.
|
|
91
|
+
* @returns The layout entries per host name.
|
|
97
92
|
*/
|
|
98
93
|
export declare const useClosingPortalLayouts: () => Record<string, ClosingPortalLayoutEntry[]>;
|
|
99
94
|
export declare const useIsOverlayActive: (id: string) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"message-overlay-store.d.ts","sourceRoot":"","sources":["../../../src/state-store/message-overlay-store.ts"],"names":[],"mappings":"AAEA,OAAO,EAAe,KAAK,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAExE,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAKpD,KAAK,YAAY,GAAG;IAClB,0BAA0B,EAAE,MAAM,EAAE,CAAC;IACrC,EAAE,EAAE,MAAM,GAAG,SAAS,CAAC;IACvB,SAAS,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF,KAAK,iBAAiB,GAAG;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,IAAI,GAAG;IAAE,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAA;CAAE,GAAG,SAAS,CAAC;AAC9E,MAAM,MAAM,wBAAwB,GAAG;IACrC,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,WAAW,CAAC,IAAI,CAAC,CAAC;CAC3B,CAAC;AAmBF,KAAK,4BAA4B,GAAG;IAClC,yBAAyB,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACpD,qBAAqB,EAAE,MAAM,IAAI,CAAC;IAClC,KAAK,EAAE,MAAM,IAAI,CAAC;IAClB,UAAU,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,IAAI,CAAC;IACjC,WAAW,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,IAAI,CAAC;IAClC,OAAO,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,IAAI,CAAC;CAC/B,CAAC;AAUF,eAAO,MAAM,oCAAoC,GAAI,YAAY,4BAA4B,eAO5F,CAAC;AAEF,eAAO,MAAM,kBAAkB,GAAI,UAAU,IAAI,SAEhD,CAAC;AAEF,eAAO,MAAM,cAAc,GAAI,MAAM,IAAI,SAExC,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAAI,SAAS,IAAI,SAE9C,CAAC;AAEF,eAAO,MAAM,yBAAyB,GAAI,8BAAyB,SAElE,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI,QAAQ,iBAAiB,GAAG,MAAM,SAS7D,CAAC;AAEF,eAAO,MAAM,YAAY,YAYxB,CAAC;AAIF,eAAO,MAAM,qBAAqB,GAAI,QAAQ,MAAM,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,SAOvE,CAAC;AAEF,eAAO,MAAM,oBAAoB,YAShC,CAAC;AAEF,eAAO,MAAM,YAAY,0BAA6C,CAAC;AAKvE,eAAO,MAAM,uCAAuC,cACiB,CAAC;AAUtE,eAAO,MAAM,wBAAwB,cAC0B,CAAC;AAEhE
|
|
1
|
+
{"version":3,"file":"message-overlay-store.d.ts","sourceRoot":"","sources":["../../../src/state-store/message-overlay-store.ts"],"names":[],"mappings":"AAEA,OAAO,EAAe,KAAK,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAExE,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAKpD,KAAK,YAAY,GAAG;IAClB,0BAA0B,EAAE,MAAM,EAAE,CAAC;IACrC,EAAE,EAAE,MAAM,GAAG,SAAS,CAAC;IACvB,SAAS,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF,KAAK,iBAAiB,GAAG;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,IAAI,GAAG;IAAE,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAA;CAAE,GAAG,SAAS,CAAC;AAC9E,MAAM,MAAM,wBAAwB,GAAG;IACrC,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,WAAW,CAAC,IAAI,CAAC,CAAC;CAC3B,CAAC;AAmBF,KAAK,4BAA4B,GAAG;IAClC,yBAAyB,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACpD,qBAAqB,EAAE,MAAM,IAAI,CAAC;IAClC,KAAK,EAAE,MAAM,IAAI,CAAC;IAClB,UAAU,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,IAAI,CAAC;IACjC,WAAW,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,IAAI,CAAC;IAClC,OAAO,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,IAAI,CAAC;CAC/B,CAAC;AAUF,eAAO,MAAM,oCAAoC,GAAI,YAAY,4BAA4B,eAO5F,CAAC;AAEF,eAAO,MAAM,kBAAkB,GAAI,UAAU,IAAI,SAEhD,CAAC;AAEF,eAAO,MAAM,cAAc,GAAI,MAAM,IAAI,SAExC,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAAI,SAAS,IAAI,SAE9C,CAAC;AAEF,eAAO,MAAM,yBAAyB,GAAI,8BAAyB,SAElE,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI,QAAQ,iBAAiB,GAAG,MAAM,SAS7D,CAAC;AAEF,eAAO,MAAM,YAAY,YAYxB,CAAC;AAIF,eAAO,MAAM,qBAAqB,GAAI,QAAQ,MAAM,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,SAOvE,CAAC;AAEF,eAAO,MAAM,oBAAoB,YAShC,CAAC;AAEF,eAAO,MAAM,YAAY,0BAA6C,CAAC;AAKvE,eAAO,MAAM,uCAAuC,cACiB,CAAC;AAUtE,eAAO,MAAM,wBAAwB,cAC0B,CAAC;AAEhE;;;;;;;;;GASG;AACH,eAAO,MAAM,wBAAwB,GAAI,IAAI,MAAM,eAYlD,CAAC;AAKF;;;;;;GAMG;AACH,eAAO,MAAM,wBAAwB,GAAI,IAAI,MAAM,GAAG,SAAS,YAU9D,CAAC;AAuCF,eAAO,MAAM,sBAAsB,GAAI,UAAU,MAAM,EAAE,IAAI,MAAM,EAAE,QAAQ,IAAI,SAkBhF,CAAC;AAEF,eAAO,MAAM,wBAAwB,GAAI,UAAU,MAAM,EAAE,IAAI,MAAM,SAkBpE,CAAC;AA2BF,eAAO,MAAM,oBAAoB;;;;CAEhC,CAAC;AAUF,eAAO,MAAM,mBAAmB,eAE/B,CAAC;AAEF,eAAO,MAAM,kCAAkC,gBAE9C,CAAC;AAEF,eAAO,MAAM,gCAAgC,GAAI,UAAU,MAAM,EAAE,IAAI,MAAM,YAY5E,CAAC;AAEF;;;;;;;;;GASG;AACH,eAAO,MAAM,6BAA6B,GAAI,WAAW,MAAM,EAAE,EAAE,iBAAc,SAyBhF,CAAC;AAEF;;;;;;;;;GASG;AACH,eAAO,MAAM,uBAAuB,kDAWnC,CAAC;AAIF,eAAO,MAAM,kBAAkB,GAAI,IAAI,MAAM;;;CAQ5C,CAAC;AAEF,eAAO,MAAM,gBAAgB,GAAI,WAAW,YAAY;;CAA2B,CAAC;AAEpF,eAAO,MAAM,cAAc,eAI1B,CAAC"}
|
|
@@ -1,14 +1,9 @@
|
|
|
1
1
|
import { StateStore } from '@stream-io/state-store';
|
|
2
2
|
export type SelectionState<T = string> = {
|
|
3
|
-
/**
|
|
3
|
+
/** IDs of the currently selected items. */
|
|
4
4
|
selectedIds: Set<T>;
|
|
5
5
|
};
|
|
6
|
-
/**
|
|
7
|
-
* Holds a generic selection state (a set of selected ids). Leaf components can
|
|
8
|
-
* subscribe to narrow slices via `useStateStore`. The id type defaults to
|
|
9
|
-
* `string` (e.g. user ids in the "add members to channel" flow) but can be
|
|
10
|
-
* specialised for any other selectable entity.
|
|
11
|
-
*/
|
|
6
|
+
/** Holds a set of selected item IDs, of type `T` (defaults to `string`). */
|
|
12
7
|
export declare class SelectionStore<T = string> {
|
|
13
8
|
state: StateStore<SelectionState<T>>;
|
|
14
9
|
select(id?: T): void;
|
|
@@ -16,13 +11,18 @@ export declare class SelectionStore<T = string> {
|
|
|
16
11
|
toggle(id?: T): void;
|
|
17
12
|
}
|
|
18
13
|
/**
|
|
19
|
-
* Subscribes to
|
|
20
|
-
*
|
|
14
|
+
* Subscribes to the store and returns whether the selection is empty.
|
|
15
|
+
*
|
|
16
|
+
* @param store The store to subscribe to.
|
|
17
|
+
* @returns True when no item is selected.
|
|
21
18
|
*/
|
|
22
19
|
export declare const useIsSelectionEmpty: <T>(store: SelectionStore<T>) => boolean;
|
|
23
20
|
/**
|
|
24
|
-
* Subscribes to
|
|
25
|
-
*
|
|
21
|
+
* Subscribes to the store and returns whether an item is selected.
|
|
22
|
+
*
|
|
23
|
+
* @param store The store to subscribe to.
|
|
24
|
+
* @param id The item ID.
|
|
25
|
+
* @returns True when the item is selected.
|
|
26
26
|
*/
|
|
27
27
|
export declare const useIsSelected: <T>(store: SelectionStore<T>, id: T) => boolean;
|
|
28
28
|
//# sourceMappingURL=selection-store.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"selection-store.d.ts","sourceRoot":"","sources":["../../../src/state-store/selection-store.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAIpD,MAAM,MAAM,cAAc,CAAC,CAAC,GAAG,MAAM,IAAI;IACvC,2CAA2C;IAC3C,WAAW,EAAE,GAAG,CAAC,CAAC,CAAC,CAAC;CACrB,CAAC;AAMF
|
|
1
|
+
{"version":3,"file":"selection-store.d.ts","sourceRoot":"","sources":["../../../src/state-store/selection-store.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAIpD,MAAM,MAAM,cAAc,CAAC,CAAC,GAAG,MAAM,IAAI;IACvC,2CAA2C;IAC3C,WAAW,EAAE,GAAG,CAAC,CAAC,CAAC,CAAC;CACrB,CAAC;AAMF,4EAA4E;AAC5E,qBAAa,cAAc,CAAC,CAAC,GAAG,MAAM;IAC7B,KAAK,gCAA8D;IAE1E,MAAM,CAAC,EAAE,CAAC,EAAE,CAAC;IAab,QAAQ,CAAC,EAAE,CAAC,EAAE,CAAC;IAaf,MAAM,CAAC,EAAE,CAAC,EAAE,CAAC;CAWd;AAMD;;;;;GAKG;AACH,eAAO,MAAM,mBAAmB,GAAI,CAAC,EAAE,OAAO,cAAc,CAAC,CAAC,CAAC,YACM,CAAC;AAEtE;;;;;;GAMG;AACH,eAAO,MAAM,aAAa,GAAI,CAAC,EAAE,OAAO,cAAc,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,YAM/D,CAAC"}
|
|
@@ -4,10 +4,7 @@ import { SqliteClientError } from './SqliteClient';
|
|
|
4
4
|
export declare class OfflineDB extends AbstractOfflineDB {
|
|
5
5
|
constructor({ client, getEncryptionKey, maxSyncEventsLimit, }: {
|
|
6
6
|
client: StreamChat;
|
|
7
|
-
/**
|
|
8
|
-
* Supplies the SQLCipher key the offline database is opened with. See
|
|
9
|
-
* {@link SqliteClient.getEncryptionKey} for the stability requirement.
|
|
10
|
-
*/
|
|
7
|
+
/** Supplies the SQLCipher key. See {@link SqliteClient.getEncryptionKey}. */
|
|
11
8
|
getEncryptionKey?: () => Promise<string | undefined>;
|
|
12
9
|
maxSyncEventsLimit?: number | false;
|
|
13
10
|
});
|
|
@@ -129,12 +126,8 @@ export declare class OfflineDB extends AbstractOfflineDB {
|
|
|
129
126
|
resetDB: () => Promise<void>;
|
|
130
127
|
executeSqlBatch: (queries: import("./types").PreparedBatchQueries[]) => Promise<void>;
|
|
131
128
|
/**
|
|
132
|
-
* Why the most recent {@link initializeDB} failed, if it did.
|
|
133
|
-
*
|
|
134
|
-
* `AbstractOfflineDB.init` catches whatever `initializeDB` throws and does not
|
|
135
|
-
* re-throw it, so a caller has no way to see the reason. Recording it here on the
|
|
136
|
-
* way out gives the caller something to read back once `init` has settled. Kept on
|
|
137
|
-
* the instance rather than a static so two clients cannot overwrite each other.
|
|
129
|
+
* Why the most recent {@link initializeDB} failed, if it did. `AbstractOfflineDB.init` swallows
|
|
130
|
+
* the error, so this is how a caller reads it back once `init` has settled.
|
|
138
131
|
*/
|
|
139
132
|
initializationError: SqliteClientError | undefined;
|
|
140
133
|
initializeDB: () => Promise<boolean>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OfflineDB.d.ts","sourceRoot":"","sources":["../../../src/store/OfflineDB.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAC5D,OAAO,KAAK,EACV,oBAAoB,EACpB,yBAAyB,EACzB,iBAAiB,EACjB,qBAAqB,EACrB,uBAAuB,EACvB,0BAA0B,EAC3B,MAAM,aAAa,CAAC;AAGrB,OAAO,EAAgB,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAEjE,qBAAa,SAAU,SAAQ,iBAAiB;gBAClC,EACV,MAAM,EACN,gBAAgB,EAChB,kBAAkB,GACnB,EAAE;QACD,MAAM,EAAE,UAAU,CAAC;QACnB
|
|
1
|
+
{"version":3,"file":"OfflineDB.d.ts","sourceRoot":"","sources":["../../../src/store/OfflineDB.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAC5D,OAAO,KAAK,EACV,oBAAoB,EACpB,yBAAyB,EACzB,iBAAiB,EACjB,qBAAqB,EACrB,uBAAuB,EACvB,0BAA0B,EAC3B,MAAM,aAAa,CAAC;AAGrB,OAAO,EAAgB,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAEjE,qBAAa,SAAU,SAAQ,iBAAiB;gBAClC,EACV,MAAM,EACN,gBAAgB,EAChB,kBAAkB,GACnB,EAAE;QACD,MAAM,EAAE,UAAU,CAAC;QACnB,6EAA6E;QAC7E,gBAAgB,CAAC,EAAE,MAAM,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;QACrD,kBAAkB,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC;KACrC;IAUD,kBAAkB;;eAflB,CAAF;eACoB,CAAC;eACJ,CAAC;wBAAoC,CAAC;YAC1C,CAAC;uDAYgC;IAE5C,cAAc;;eATV,CAAA;2BAAgC,CAAC;uDASD;IAEpC,oBAAoB,GAAI,mCAAmC,0BAA0B,kDACvB;IAE9D,iBAAiB,GAAI,kCAAkC,uBAAuB,kDACpB;IAE1D,UAAU;;eA9B0B,CAAC;uDA8BT;IAE5B,WAAW;;eAxBQ,CAAC;uDAwBU;IAE9B,QAAQ;;;iBA5BL,CAAC;8DA4BoB;IAExB,WAAW;;iBA1CW,CAAC;eACX,CAAC;uDAyCiB;IAE9B,iBAAiB;;eAtCL,CAAC;uDAsC6B;IAE1C,WAAW;;;eAlCT,CAAF;uDAkC8B;IAE9B,cAAc;;eA7BkB,CAAC;uDA6BG;IAEpC,aAAa;;;eAtCI,CAAC;uDAsCgB;IAElC,aAAa;;eAlCT,CAAC;uDAkC6B;IAElC,WAAW,GAAI,kBAAkB,iBAAiB,mFACF;IAEhD,mBAAmB,GAAI,qBAAqB,yBAAyB,uEAMhE;IAEL,iBAAiB,0BAAwB;IAEzC,eAAe,GAAI,YAAY,qBAAqB,iCAAqC;IAEzF,cAAc,GAAI,YAAY,oBAAoB,kEAAoC;IAEtF,YAAY;;eAnDV,CAAD;YAC+B,CAAC;aAA6B,CAAC;mEAkDlB;IAE7C,cAAc,4EAAsB;IAEpC,iBAAiB,gHAAyB;IAE1C,iBAAiB;;uDAAyB;IAE1C,cAAc;;eAtER,CAAC;eAGL,CAAJ;uDAmEsC;IAEpC,YAAY;;;eA7Ec,CAAC;uDA6EK;IAEhC,aAAa;;eAnFJ,CAAC;uDAmFwB;IAElC,wBAAwB;;oBAjFH,CAAA;eAAyB,CAAA;mDAiFU;IAExD,gBAAgB;;eA1E8C,CAAC;uDA0EvB;IAExC,iBAAiB;;eAxFA,CAAC;uDAwFoB;IAEtC,iBAAiB,6HAAyB;IAE1C,eAAe;iBAzFR,CAAC;uDAyF8B;IAEtC,cAAc;;;eA1EwC,CAAC;uDA0EnB;IAEpC,cAAc;;;eAnFZ,CAAC;uDAmFiC;IAEpC,aAAa;;2BAAqB;IAElC,OAAO,sBAAwB;IAE/B,eAAe,uEAAgC;IAE/C;;;OAGG;IACH,mBAAmB,EAAE,iBAAiB,GAAG,SAAS,CAAC;IAEnD,YAAY,yBAWV;CACH"}
|
|
@@ -2,9 +2,9 @@ import type { _InternalDB } from '@op-engineering/op-sqlite';
|
|
|
2
2
|
import type { Sink } from 'stream-chat';
|
|
3
3
|
import type { PreparedBatchQueries, Scalar } from './types';
|
|
4
4
|
/**
|
|
5
|
-
* Why the offline database could not be opened. The first two only
|
|
6
|
-
* {@link SqliteClient.getEncryptionKey} is set; `OFFLINE_DB_UNREADABLE` can also mean
|
|
7
|
-
*
|
|
5
|
+
* Why the offline database could not be opened. The first two only occur when
|
|
6
|
+
* {@link SqliteClient.getEncryptionKey} is set; `OFFLINE_DB_UNREADABLE` can also mean corruption or
|
|
7
|
+
* a database left over from the other encryption mode.
|
|
8
8
|
*/
|
|
9
9
|
export type SqliteClientErrorCode = 'SQLCIPHER_BUILD_MISSING' | 'ENCRYPTION_KEY_UNAVAILABLE' | 'OFFLINE_DB_UNREADABLE';
|
|
10
10
|
export declare class SqliteClientError extends Error {
|
|
@@ -13,10 +13,7 @@ export declare class SqliteClientError extends Error {
|
|
|
13
13
|
cause?: unknown;
|
|
14
14
|
});
|
|
15
15
|
}
|
|
16
|
-
/**
|
|
17
|
-
* SqliteClient takes care of any direct interaction with sqlite.
|
|
18
|
-
* This way usage @op-engineering/op-sqlite package is scoped to a single class/file.
|
|
19
|
-
*/
|
|
16
|
+
/** Wraps all direct use of `@op-engineering/op-sqlite`. */
|
|
20
17
|
export declare class SqliteClient {
|
|
21
18
|
static dbVersion: number;
|
|
22
19
|
static dbName: string;
|
|
@@ -24,47 +21,38 @@ export declare class SqliteClient {
|
|
|
24
21
|
static logger: Sink | undefined;
|
|
25
22
|
static db: _InternalDB | undefined;
|
|
26
23
|
/**
|
|
27
|
-
* Supplies the SQLCipher key the offline database
|
|
28
|
-
* opens it unencrypted
|
|
29
|
-
*
|
|
30
|
-
*
|
|
31
|
-
* left untouched; recovery is `SqliteClient.deleteDatabase()` and a re-mount.
|
|
24
|
+
* Supplies the SQLCipher key the offline database opens with. Defaults to `undefined`, which
|
|
25
|
+
* opens it unencrypted. The key must stay the same for the life of the database file (there is no
|
|
26
|
+
* rekey): a database this key cannot read raises `OFFLINE_DB_UNREADABLE` and is left untouched.
|
|
27
|
+
* Recover with `SqliteClient.deleteDatabase()` and a re-mount.
|
|
32
28
|
*/
|
|
33
29
|
static getEncryptionKey: (() => Promise<string | undefined>) | undefined;
|
|
34
30
|
/** Key resolved by {@link preflightEncryption}, consumed by the next {@link openDB}. */
|
|
35
31
|
private static preflightedKey;
|
|
36
|
-
/**
|
|
32
|
+
/** Transient failures (busy, disk, memory). Checked first so they never read as unreadable. */
|
|
37
33
|
private static TRANSIENT_ERROR;
|
|
38
34
|
/**
|
|
39
|
-
* The
|
|
40
|
-
*
|
|
41
|
-
*
|
|
35
|
+
* The file cannot be read with the current key: wrong or rotated key, an encrypted/plaintext
|
|
36
|
+
* mismatch, or corruption. SQLCipher has no decrypt-specific code, so it overloads NOTADB (26)
|
|
37
|
+
* and occasionally CORRUPT (11).
|
|
42
38
|
*/
|
|
43
39
|
private static UNREADABLE_ERROR;
|
|
44
40
|
static getDbVersion: () => number;
|
|
45
41
|
static setDbVersion: (version: number) => number;
|
|
46
|
-
/**
|
|
47
|
-
* Records and re-throws. Deliberately does not write to the console: the error is
|
|
48
|
-
* thrown, so logging it here would duplicate whatever the caller's error boundary
|
|
49
|
-
* reports - and in dev React already logs every boundary-caught error, which is what
|
|
50
|
-
* LogBox turns red.
|
|
51
|
-
*/
|
|
42
|
+
/** Logs the error to the logger and re-throws it, without writing to the console. */
|
|
52
43
|
private static recordError;
|
|
53
44
|
/**
|
|
54
|
-
* Resolves the encryption key without opening the database, so callers can decide
|
|
55
|
-
*
|
|
56
|
-
* `
|
|
57
|
-
*
|
|
45
|
+
* Resolves the encryption key without opening the database, so callers can decide whether to
|
|
46
|
+
* attach an `OfflineDB` at all: the client writes through `client.offlineDb` (for example in
|
|
47
|
+
* `queryChannels`) without checking it initialized, so one that cannot open rejects those writes.
|
|
48
|
+
* The next {@link openDB} reuses the key and does not call `getEncryptionKey` again.
|
|
58
49
|
*
|
|
59
|
-
*
|
|
60
|
-
* {@link openDB} rather than read from `getEncryptionKey` twice.
|
|
50
|
+
* @throws {SqliteClientError} When the key cannot be resolved.
|
|
61
51
|
*/
|
|
62
52
|
static preflightEncryption: () => Promise<void>;
|
|
63
53
|
/**
|
|
64
|
-
* The key to open with, or `undefined` when the database is meant to be
|
|
65
|
-
*
|
|
66
|
-
* database, which would hand an integration that asked for encryption a plaintext
|
|
67
|
-
* cache of its users' messages.
|
|
54
|
+
* The key to open with, or `undefined` when the database is meant to be unencrypted. Throws when
|
|
55
|
+
* encryption was requested but is unavailable, and never falls back to an unencrypted database.
|
|
68
56
|
*/
|
|
69
57
|
private static resolveEncryptionKey;
|
|
70
58
|
static openDB: () => Promise<void>;
|
|
@@ -74,10 +62,13 @@ export declare class SqliteClient {
|
|
|
74
62
|
static dropTables: () => Promise<void>;
|
|
75
63
|
static deleteDatabase: () => boolean;
|
|
76
64
|
/**
|
|
77
|
-
* Whether the file cannot be read with the key
|
|
78
|
-
*
|
|
79
|
-
*
|
|
80
|
-
*
|
|
65
|
+
* Whether the file cannot be read with the current key, as opposed to being temporarily
|
|
66
|
+
* unavailable (busy, locked, disk). Matches on the message text because op-sqlite rejects with a
|
|
67
|
+
* plain `Error` and this class re-wraps it, so no numeric code survives. Drives
|
|
68
|
+
* `OFFLINE_DB_UNREADABLE`.
|
|
69
|
+
*
|
|
70
|
+
* @param e The error thrown while opening or reading the database.
|
|
71
|
+
* @returns True when the database is unreadable rather than temporarily unavailable.
|
|
81
72
|
*/
|
|
82
73
|
static isUnreadableDbError: (e: unknown) => boolean;
|
|
83
74
|
static initializeDatabase: () => Promise<boolean>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SqliteClient.d.ts","sourceRoot":"","sources":["../../../src/store/SqliteClient.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAiB,MAAM,2BAA2B,CAAC;
|
|
1
|
+
{"version":3,"file":"SqliteClient.d.ts","sourceRoot":"","sources":["../../../src/store/SqliteClient.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAiB,MAAM,2BAA2B,CAAC;AAe5E,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AAKxC,OAAO,KAAK,EAAE,oBAAoB,EAAmB,MAAM,EAAS,MAAM,SAAS,CAAC;AAEpF;;;;GAIG;AACH,MAAM,MAAM,qBAAqB,GAC7B,yBAAyB,GACzB,4BAA4B,GAC5B,uBAAuB,CAAC;AAE5B,qBAAa,iBAAkB,SAAQ,KAAK;IAC1C,SAAgB,IAAI,EAAE,qBAAqB,CAAC;gBAEhC,IAAI,EAAE,qBAAqB,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE;QAAE,KAAK,CAAC,EAAE,OAAO,CAAA;KAAE;CAOxF;AAED,2DAA2D;AAC3D,qBAAa,YAAY;IACvB,MAAM,CAAC,SAAS,SAAM;IAEtB,MAAM,CAAC,MAAM,SAAW;IACxB,MAAM,CAAC,UAAU,SAAe;IAChC,MAAM,CAAC,MAAM,EAAE,IAAI,GAAG,SAAS,CAAC;IAChC,MAAM,CAAC,EAAE,EAAE,WAAW,GAAG,SAAS,CAAC;IAEnC;;;;;OAKG;IACH,MAAM,CAAC,gBAAgB,EAAE,CAAC,MAAM,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC,GAAG,SAAS,CAAC;IAEzE,wFAAwF;IACxF,OAAO,CAAC,MAAM,CAAC,cAAc,CAAqB;IAElD,+FAA+F;IAC/F,OAAO,CAAC,MAAM,CAAC,eAAe,CACiG;IAE/H;;;;OAIG;IACH,OAAO,CAAC,MAAM,CAAC,gBAAgB,CACsG;IAErI,MAAM,CAAC,YAAY,eAAgC;IAEnD,MAAM,CAAC,YAAY,GAAI,SAAS,MAAM,YAAwC;IAE9E,qFAAqF;IACrF,OAAO,CAAC,MAAM,CAAC,WAAW,CAIxB;IAEF;;;;;;;OAOG;IACH,MAAM,CAAC,mBAAmB,sBASxB;IAEF;;;OAGG;IACH,OAAO,CAAC,MAAM,CAAC,oBAAoB,CAiDjC;IAEF,MAAM,CAAC,MAAM,sBA6BX;IAEF,MAAM,CAAC,OAAO,aAaZ;IAEF,MAAM,CAAC,eAAe,GAAU,SAAS,oBAAoB,EAAE,mBA0B7D;IAEF,MAAM,CAAC,UAAU,GAAU,OAAO,MAAM,EAAE,SAAS,MAAM,EAAE,uCAezD;IAEF,MAAM,CAAC,UAAU,sBASf;IAEF,MAAM,CAAC,cAAc,gBAoBnB;IAEF;;;;;;;;OAQG;IACH,MAAM,CAAC,mBAAmB,GAAI,GAAG,OAAO,aAQtC;IAEF,MAAM,CAAC,kBAAkB,QAAa,OAAO,CAAC,OAAO,CAAC,CAqDpD;IAEF,MAAM,CAAC,uBAAuB,GAAU,SAAS,MAAM,mBAMrD;IAEF,MAAM,CAAC,oBAAoB,wBAezB;IAEF,MAAM,CAAC,OAAO,sBAOZ;CACH"}
|
|
@@ -1,3 +1,9 @@
|
|
|
1
1
|
import type { PendingTask } from 'stream-chat';
|
|
2
|
+
/**
|
|
3
|
+
* Adds a pending task to the database.
|
|
4
|
+
*
|
|
5
|
+
* @param task The task to add.
|
|
6
|
+
* @returns A function that removes the task from the database.
|
|
7
|
+
*/
|
|
2
8
|
export declare const addPendingTask: (task: PendingTask) => Promise<() => Promise<void>>;
|
|
3
9
|
//# sourceMappingURL=addPendingTask.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"addPendingTask.d.ts","sourceRoot":"","sources":["../../../../src/store/apis/addPendingTask.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"addPendingTask.d.ts","sourceRoot":"","sources":["../../../../src/store/apis/addPendingTask.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAQ/C;;;;;GAKG;AACH,eAAO,MAAM,cAAc,GAAU,MAAM,WAAW,iCA0CrD,CAAC"}
|
|
@@ -2,10 +2,11 @@
|
|
|
2
2
|
* Whether a channel row exists, which callers use to avoid writing a row whose `cid` foreign key
|
|
3
3
|
* would not resolve.
|
|
4
4
|
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
5
|
+
* It selects `1 ... LIMIT 1` because `SELECT EXISTS(...)` always returns one row (`0` or `1`), so
|
|
6
|
+
* the row count could not tell a hit from a miss.
|
|
7
|
+
*
|
|
8
|
+
* @param params.cid The channel CID.
|
|
9
|
+
* @returns True when the channel exists.
|
|
9
10
|
*/
|
|
10
11
|
export declare const channelExists: ({ cid }: {
|
|
11
12
|
cid: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"channelExists.d.ts","sourceRoot":"","sources":["../../../../src/store/apis/channelExists.ts"],"names":[],"mappings":"AAEA
|
|
1
|
+
{"version":3,"file":"channelExists.d.ts","sourceRoot":"","sources":["../../../../src/store/apis/channelExists.ts"],"names":[],"mappings":"AAEA;;;;;;;;;GASG;AACH,eAAO,MAAM,aAAa,GAAU,SAAS;IAAE,GAAG,EAAE,MAAM,CAAA;CAAE,qBAU3D,CAAC"}
|
|
@@ -1,13 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
*
|
|
4
|
-
* delete it afterwards, removing it from the state.
|
|
2
|
+
* Drops all pending tasks of a message, for example when a failed message that had actions queued
|
|
3
|
+
* on it is deleted.
|
|
5
4
|
*
|
|
6
|
-
* @param
|
|
7
|
-
* @param
|
|
8
|
-
* @
|
|
9
|
-
*
|
|
10
|
-
* @return {() => void} - A function that can be called to remove the task from the database
|
|
5
|
+
* @param params.messageId The ID of the message whose pending tasks are removed.
|
|
6
|
+
* @param params.execute Whether to run the query now or only return it. Defaults to true.
|
|
7
|
+
* @returns The prepared delete queries.
|
|
11
8
|
*/
|
|
12
9
|
export declare const dropPendingTasks: ({ messageId, execute, }: {
|
|
13
10
|
messageId: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dropPendingTasks.d.ts","sourceRoot":"","sources":["../../../../src/store/apis/dropPendingTasks.ts"],"names":[],"mappings":"AAGA
|
|
1
|
+
{"version":3,"file":"dropPendingTasks.d.ts","sourceRoot":"","sources":["../../../../src/store/apis/dropPendingTasks.ts"],"names":[],"mappings":"AAGA;;;;;;;GAOG;AACH,eAAO,MAAM,gBAAgB,GAAU,yBAGpC;IACD,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,kDAWA,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getChannelMessages.d.ts","sourceRoot":"","sources":["../../../../src/store/apis/getChannelMessages.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAWnD,eAAO,MAAM,kBAAkB,GAAU,yBAGtC;IACD,UAAU,EAAE,MAAM,EAAE,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;CAChB,+
|
|
1
|
+
{"version":3,"file":"getChannelMessages.d.ts","sourceRoot":"","sources":["../../../../src/store/apis/getChannelMessages.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAWnD,eAAO,MAAM,kBAAkB,GAAU,yBAGtC;IACD,UAAU,EAAE,MAAM,EAAE,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;CAChB,+CA2EA,CAAC"}
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import type { ChannelStateResponseFields } from 'stream-chat';
|
|
2
2
|
/**
|
|
3
|
-
* Returns the
|
|
3
|
+
* Returns the channels with the given IDs, including their members, reads, messages, draft and
|
|
4
|
+
* active live locations.
|
|
4
5
|
*
|
|
5
|
-
* @param
|
|
6
|
-
* @param
|
|
7
|
-
* @
|
|
8
|
-
*
|
|
9
|
-
* @returns {Array} Channels with enriched state.
|
|
6
|
+
* @param params.channelIds The channel IDs to fetch.
|
|
7
|
+
* @param params.userId The ID of the current user.
|
|
8
|
+
* @returns The channels with their state.
|
|
10
9
|
*/
|
|
11
10
|
export declare const getChannels: ({ channelIds, userId, }: {
|
|
12
11
|
channelIds: string[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getChannels.d.ts","sourceRoot":"","sources":["../../../../src/store/apis/getChannels.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,aAAa,CAAC;AAY9D
|
|
1
|
+
{"version":3,"file":"getChannels.d.ts","sourceRoot":"","sources":["../../../../src/store/apis/getChannels.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,aAAa,CAAC;AAY9D;;;;;;;GAOG;AACH,eAAO,MAAM,WAAW,GAAU,yBAG/B;IACD,UAAU,EAAE,MAAM,EAAE,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;CAChB,KAAG,OAAO,CAAC,IAAI,CAAC,0BAA0B,EAAE,UAAU,CAAC,EAAE,CA2BzD,CAAC"}
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
import type { ChannelFilters, ChannelOptions, DBGetChannelsForQueryResult, SortParamRequest } from 'stream-chat';
|
|
2
2
|
/**
|
|
3
|
-
* Gets the channels
|
|
3
|
+
* Gets the cached channels for a filter, sort and options query.
|
|
4
4
|
*
|
|
5
|
-
* @param
|
|
6
|
-
* @param
|
|
7
|
-
* @param
|
|
8
|
-
* @param
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* they were cached with. Returns null if filters + sort query doesn't exist in "channelQueries" table.
|
|
5
|
+
* @param params.userId The ID of the current user.
|
|
6
|
+
* @param params.filters Channel filters: https://getstream.io/chat/docs/javascript/query_channels/
|
|
7
|
+
* @param params.options Query options, including `predefined_filter`.
|
|
8
|
+
* @param params.sort Channel sort: https://getstream.io/chat/docs/javascript/query_channels/
|
|
9
|
+
* @returns The channels with the predefined-filter metadata they were cached with, or null when
|
|
10
|
+
* no query is given or it is not in the `channelQueries` table.
|
|
12
11
|
*/
|
|
13
12
|
export declare const getChannelsForFilterSort: ({ userId, filters, options, sort, }: {
|
|
14
13
|
userId: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getChannelsForFilterSort.d.ts","sourceRoot":"","sources":["../../../../src/store/apis/getChannelsForFilterSort.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,cAAc,EACd,cAAc,EACd,2BAA2B,EAC3B,gBAAgB,EACjB,MAAM,aAAa,CAAC;AAOrB
|
|
1
|
+
{"version":3,"file":"getChannelsForFilterSort.d.ts","sourceRoot":"","sources":["../../../../src/store/apis/getChannelsForFilterSort.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,cAAc,EACd,cAAc,EACd,2BAA2B,EAC3B,gBAAgB,EACjB,MAAM,aAAa,CAAC;AAOrB;;;;;;;;;GASG;AACH,eAAO,MAAM,wBAAwB,GAAU,qCAK5C;IACD,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,cAAc,CAAC;IACzB,OAAO,CAAC,EAAE,cAAc,CAAC;IACzB,IAAI,CAAC,EAAE,gBAAgB,EAAE,CAAC;CAC3B,KAAG,OAAO,CAAC,2BAA2B,GAAG,IAAI,CA6B7C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getDraftsForChannels.d.ts","sourceRoot":"","sources":["../../../../src/store/apis/getDraftsForChannels.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAU5C,eAAO,MAAM,mBAAmB,GAAU,yBAGvC;IACD,UAAU,EAAE,MAAM,EAAE,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;CAChB,
|
|
1
|
+
{"version":3,"file":"getDraftsForChannels.d.ts","sourceRoot":"","sources":["../../../../src/store/apis/getDraftsForChannels.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAU5C,eAAO,MAAM,mBAAmB,GAAU,yBAGvC;IACD,UAAU,EAAE,MAAM,EAAE,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;CAChB,2CAmCA,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getReactions.d.ts","sourceRoot":"","sources":["../../../../src/store/apis/getReactions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAIpD,OAAO,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAE9C,eAAO,MAAM,YAAY,GAAI,gBAE1B;IACD,SAAS,EAAE,kBAAkB,CAAC,WAAW,CAAC,EAAE,CAAC;CAC9C,KAAG,gBAAgB,
|
|
1
|
+
{"version":3,"file":"getReactions.d.ts","sourceRoot":"","sources":["../../../../src/store/apis/getReactions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAIpD,OAAO,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAE9C,eAAO,MAAM,YAAY,GAAI,gBAE1B;IACD,SAAS,EAAE,kBAAkB,CAAC,WAAW,CAAC,EAAE,CAAC;CAC9C,KAAG,gBAAgB,EAMnB,CAAC"}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import type { ReactionFilters, ReactionResponse, SortParamRequest } from 'stream-chat';
|
|
2
2
|
/**
|
|
3
|
-
* Fetches
|
|
4
|
-
*
|
|
5
|
-
* @param
|
|
6
|
-
* @param
|
|
7
|
-
* @param
|
|
3
|
+
* Fetches a message's reactions from the database, filtered and sorted.
|
|
4
|
+
*
|
|
5
|
+
* @param params.messageId The ID of the message to fetch reactions for.
|
|
6
|
+
* @param params.filters Filters to apply. Only `type` is supported.
|
|
7
|
+
* @param params.sort Sort to apply.
|
|
8
|
+
* @param params.limit Maximum number of reactions to return. Defaults to 25.
|
|
9
|
+
* @returns The reactions, or null when neither filters nor sort are given.
|
|
8
10
|
*/
|
|
9
11
|
export declare const getReactionsForFilterSort: ({ messageId, filters, sort, limit, }: {
|
|
10
12
|
messageId: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getReactionsforFilterSort.d.ts","sourceRoot":"","sources":["../../../../src/store/apis/getReactionsforFilterSort.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAOvF
|
|
1
|
+
{"version":3,"file":"getReactionsforFilterSort.d.ts","sourceRoot":"","sources":["../../../../src/store/apis/getReactionsforFilterSort.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAOvF;;;;;;;;GAQG;AACH,eAAO,MAAM,yBAAyB,GAAU,sCAK7C;IACD,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,IAAI,CAAC,eAAe,EAAE,MAAM,CAAC,CAAC;IACxC,IAAI,CAAC,EAAE,gBAAgB,EAAE,CAAC;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,KAAG,OAAO,CAAC,gBAAgB,EAAE,GAAG,IAAI,CAepC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"insertReaction.d.ts","sourceRoot":"","sources":["../../../../src/store/apis/insertReaction.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAMnF,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAEhD,eAAO,MAAM,cAAc,GAAU,iCAIlC;IACD,OAAO,EAAE,eAAe,GAAG,YAAY,CAAC;IACxC,QAAQ,EAAE,gBAAgB,CAAC;IAC3B,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,+
|
|
1
|
+
{"version":3,"file":"insertReaction.d.ts","sourceRoot":"","sources":["../../../../src/store/apis/insertReaction.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAMnF,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAEhD,eAAO,MAAM,cAAc,GAAU,iCAIlC;IACD,OAAO,EAAE,eAAe,GAAG,YAAY,CAAC;IACxC,QAAQ,EAAE,gBAAgB,CAAC;IAC3B,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,+BAsCA,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"selectActiveLocationsForChannels.d.ts","sourceRoot":"","sources":["../../../../../src/store/apis/queries/selectActiveLocationsForChannels.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAGhD,eAAO,MAAM,gCAAgC,GAC3C,MAAM,MAAM,EAAE,KACb,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAC,EAAE,
|
|
1
|
+
{"version":3,"file":"selectActiveLocationsForChannels.d.ts","sourceRoot":"","sources":["../../../../../src/store/apis/queries/selectActiveLocationsForChannels.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAGhD,eAAO,MAAM,gCAAgC,GAC3C,MAAM,MAAM,EAAE,KACb,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAC,EAAE,CAYjC,CAAC"}
|
|
@@ -1,20 +1,19 @@
|
|
|
1
1
|
import type { ChannelFilters, ChannelOptions, ParsedPredefinedFilterResponse, SortParamRequest } from 'stream-chat';
|
|
2
2
|
export type CachedChannelQuery = {
|
|
3
|
-
/** Channel
|
|
3
|
+
/** Channel IDs in the order the cached query produced them. */
|
|
4
4
|
cids: string[];
|
|
5
|
-
/** The
|
|
5
|
+
/** The server-resolved predefined filter that produced the order, if any. */
|
|
6
6
|
predefinedFilter?: ParsedPredefinedFilterResponse;
|
|
7
7
|
};
|
|
8
8
|
/**
|
|
9
|
-
* Gets the cached result of a channel query
|
|
10
|
-
*
|
|
9
|
+
* Gets the cached result of a channel query: the channel IDs it produced and the server-resolved
|
|
10
|
+
* predefined filter behind them, or null when the query is not in the `channelQueries` table. The
|
|
11
|
+
* full `options` are part of the query key, as they tell two predefined-filter queries apart.
|
|
11
12
|
*
|
|
12
|
-
* @param
|
|
13
|
-
* @param
|
|
14
|
-
* @param
|
|
15
|
-
* @
|
|
16
|
-
*
|
|
17
|
-
* @returns The cached query, or null if it doesn't exist in the "channelQueries" table.
|
|
13
|
+
* @param params.filters Channel filters: https://getstream.io/chat/docs/javascript/query_channels/
|
|
14
|
+
* @param params.options Query options, including `predefined_filter`.
|
|
15
|
+
* @param params.sort Channel sort: https://getstream.io/chat/docs/javascript/query_channels/
|
|
16
|
+
* @returns The cached query, or null when it is not cached.
|
|
18
17
|
*/
|
|
19
18
|
export declare const selectChannelQueryForFilterSort: ({ filters, options, sort, }: {
|
|
20
19
|
filters?: ChannelFilters;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"selectChannelQueryForFilterSort.d.ts","sourceRoot":"","sources":["../../../../../src/store/apis/queries/selectChannelQueryForFilterSort.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,cAAc,EACd,cAAc,EACd,8BAA8B,EAC9B,gBAAgB,EACjB,MAAM,aAAa,CAAC;AAOrB,MAAM,MAAM,kBAAkB,GAAG;IAC/B,+DAA+D;IAC/D,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,
|
|
1
|
+
{"version":3,"file":"selectChannelQueryForFilterSort.d.ts","sourceRoot":"","sources":["../../../../../src/store/apis/queries/selectChannelQueryForFilterSort.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,cAAc,EACd,cAAc,EACd,8BAA8B,EAC9B,gBAAgB,EACjB,MAAM,aAAa,CAAC;AAOrB,MAAM,MAAM,kBAAkB,GAAG;IAC/B,+DAA+D;IAC/D,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,6EAA6E;IAC7E,gBAAgB,CAAC,EAAE,8BAA8B,CAAC;CACnD,CAAC;AA8BF;;;;;;;;;GASG;AAEH,eAAO,MAAM,+BAA+B,GAAU,6BAInD;IACD,OAAO,CAAC,EAAE,cAAc,CAAC;IACzB,OAAO,CAAC,EAAE,cAAc,CAAC;IACzB,IAAI,CAAC,EAAE,gBAAgB,EAAE,CAAC;CAC3B,KAAG,OAAO,CAAC,kBAAkB,GAAG,IAAI,CAqBpC,CAAC"}
|
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
import type { ReactionFilters, SortParamRequest } from 'stream-chat';
|
|
2
2
|
import type { TableRowJoinedUser } from '../../types';
|
|
3
3
|
/**
|
|
4
|
-
* Fetches reactions
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* @param
|
|
8
|
-
* @param
|
|
4
|
+
* Fetches the reactions of the given messages. Only the `type` filter and sorting by `created_at`
|
|
5
|
+
* are supported.
|
|
6
|
+
*
|
|
7
|
+
* @param messageIds The IDs of the messages to fetch reactions for.
|
|
8
|
+
* @param limit Maximum number of reactions to return, or `null` for no limit. Defaults to 25.
|
|
9
|
+
* @param filters Reaction filters. Only `type` is supported.
|
|
10
|
+
* @param sort Reaction sort. Only `created_at` is supported.
|
|
11
|
+
* @returns The reactions joined with their users.
|
|
9
12
|
*/
|
|
10
13
|
export declare const selectReactionsForMessages: (messageIds: string[], limit?: number | null, filters?: Pick<ReactionFilters, "type">, sort?: SortParamRequest[]) => Promise<TableRowJoinedUser<"reactions">[]>;
|
|
11
14
|
//# sourceMappingURL=selectReactionsForMessages.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"selectReactionsForMessages.d.ts","sourceRoot":"","sources":["../../../../../src/store/apis/queries/selectReactionsForMessages.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAIrE,OAAO,KAAK,EAAU,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAE9D
|
|
1
|
+
{"version":3,"file":"selectReactionsForMessages.d.ts","sourceRoot":"","sources":["../../../../../src/store/apis/queries/selectReactionsForMessages.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAIrE,OAAO,KAAK,EAAU,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAE9D;;;;;;;;;GASG;AACH,eAAO,MAAM,0BAA0B,GACrC,YAAY,MAAM,EAAE,EACpB,QAAO,MAAM,GAAG,IAAS,EACzB,UAAU,IAAI,CAAC,eAAe,EAAE,MAAM,CAAC,EACvC,OAAO,gBAAgB,EAAE,KACxB,OAAO,CAAC,kBAAkB,CAAC,WAAW,CAAC,EAAE,CAuC3C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"upsertChannels.d.ts","sourceRoot":"","sources":["../../../../src/store/apis/upsertChannels.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAyB,0BAA0B,EAAE,MAAM,aAAa,CAAC;AAYrF,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAEhD,eAAO,MAAM,cAAc,GAAU,6CAIlC;IACD,QAAQ,EAAE,0BAA0B,EAAE,CAAC;IACvC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,mBAAmB,CAAC,EAAE,OAAO,CAAC;CAC/B,+
|
|
1
|
+
{"version":3,"file":"upsertChannels.d.ts","sourceRoot":"","sources":["../../../../src/store/apis/upsertChannels.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAyB,0BAA0B,EAAE,MAAM,aAAa,CAAC;AAYrF,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAEhD,eAAO,MAAM,cAAc,GAAU,6CAIlC;IACD,QAAQ,EAAE,0BAA0B,EAAE,CAAC;IACvC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,mBAAmB,CAAC,EAAE,OAAO,CAAC;CAC/B,+BAwEA,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"upsertCidsForQuery.d.ts","sourceRoot":"","sources":["../../../../src/store/apis/upsertCidsForQuery.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,cAAc,EACd,cAAc,EACd,8BAA8B,EAC9B,gBAAgB,EACjB,MAAM,aAAa,CAAC;AAOrB,eAAO,MAAM,kBAAkB,GAAU,8DAOtC;IACD,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,OAAO,CAAC,EAAE,cAAc,CAAC;IACzB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,OAAO,CAAC,EAAE,cAAc,CAAC;IACzB,gBAAgB,CAAC,EAAE,8BAA8B,CAAC;IAClD,IAAI,CAAC,EAAE,gBAAgB,EAAE,CAAC;CAC3B,
|
|
1
|
+
{"version":3,"file":"upsertCidsForQuery.d.ts","sourceRoot":"","sources":["../../../../src/store/apis/upsertCidsForQuery.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,cAAc,EACd,cAAc,EACd,8BAA8B,EAC9B,gBAAgB,EACjB,MAAM,aAAa,CAAC;AAOrB,eAAO,MAAM,kBAAkB,GAAU,8DAOtC;IACD,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,OAAO,CAAC,EAAE,cAAc,CAAC;IACzB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,OAAO,CAAC,EAAE,cAAc,CAAC;IACzB,gBAAgB,CAAC,EAAE,8BAA8B,CAAC;IAClD,IAAI,CAAC,EAAE,gBAAgB,EAAE,CAAC;CAC3B,kDAsBA,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"upsertDraft.d.ts","sourceRoot":"","sources":["../../../../src/store/apis/upsertDraft.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAmB,MAAM,aAAa,CAAC;AASlE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAEhD,eAAO,MAAM,WAAW,GAAU,qBAG/B;IACD,KAAK,EAAE,aAAa,CAAC;IACrB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,+
|
|
1
|
+
{"version":3,"file":"upsertDraft.d.ts","sourceRoot":"","sources":["../../../../src/store/apis/upsertDraft.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAmB,MAAM,aAAa,CAAC;AASlE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAEhD,eAAO,MAAM,WAAW,GAAU,qBAG/B;IACD,KAAK,EAAE,aAAa,CAAC;IACrB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,+BA4CA,CAAC"}
|