stream-chat-react-native-core 10.0.0-rc.1 → 10.0.0-rc.3
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/README.md +50 -2
- 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 +24 -0
- 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/ComposerView.js +4 -2
- package/lib/commonjs/ai-components/message-composer/ComposerView.js.map +1 -1
- package/lib/commonjs/ai-components/message-composer/SpeechToTextButton.js +4 -1
- package/lib/commonjs/ai-components/message-composer/SpeechToTextButton.js.map +1 -1
- package/lib/commonjs/ai-components/native/AIDictation.js +6 -0
- 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/dictation/store.js +4 -2
- package/lib/commonjs/ai-components/store/dictation/store.js.map +1 -1
- package/lib/commonjs/ai-components/store/dictation/useDictationState.js +4 -2
- package/lib/commonjs/ai-components/store/dictation/useDictationState.js.map +1 -1
- package/lib/commonjs/ai-components/store/index.js +22 -0
- 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/ai-components/theme.js +3 -0
- package/lib/commonjs/ai-components/theme.js.map +1 -1
- package/lib/commonjs/ai-components/transcription/useDictation.js +7 -3
- package/lib/commonjs/ai-components/transcription/useDictation.js.map +1 -1
- package/lib/commonjs/ai-components/transcription/useDictationAudioLevel.js +32 -0
- package/lib/commonjs/ai-components/transcription/useDictationAudioLevel.js.map +1 -0
- package/lib/commonjs/ai-components/voice-visualization/VoiceGlow.js +79 -0
- package/lib/commonjs/ai-components/voice-visualization/VoiceGlow.js.map +1 -0
- package/lib/commonjs/ai-components/voice-visualization/VoiceVisualizationView.js +147 -0
- package/lib/commonjs/ai-components/voice-visualization/VoiceVisualizationView.js.map +1 -0
- package/lib/commonjs/ai-components/voice-visualization/VoiceWave.js +58 -0
- package/lib/commonjs/ai-components/voice-visualization/VoiceWave.js.map +1 -0
- package/lib/commonjs/ai-components/voice-visualization/bounce.js +60 -0
- package/lib/commonjs/ai-components/voice-visualization/bounce.js.map +1 -0
- package/lib/commonjs/ai-components/voice-visualization/driver.js +208 -0
- package/lib/commonjs/ai-components/voice-visualization/driver.js.map +1 -0
- package/lib/commonjs/ai-components/voice-visualization/glowShader.js +218 -0
- package/lib/commonjs/ai-components/voice-visualization/glowShader.js.map +1 -0
- package/lib/commonjs/ai-components/voice-visualization/index.js +18 -0
- package/lib/commonjs/ai-components/voice-visualization/index.js.map +1 -0
- package/lib/commonjs/ai-components/voice-visualization/math.js +70 -0
- package/lib/commonjs/ai-components/voice-visualization/math.js.map +1 -0
- package/lib/commonjs/ai-components/voice-visualization/palette.js +47 -0
- package/lib/commonjs/ai-components/voice-visualization/palette.js.map +1 -0
- package/lib/commonjs/ai-components/voice-visualization/simplex.js +77 -0
- package/lib/commonjs/ai-components/voice-visualization/simplex.js.map +1 -0
- package/lib/commonjs/ai-components/voice-visualization/styles.js +33 -0
- package/lib/commonjs/ai-components/voice-visualization/styles.js.map +1 -0
- package/lib/commonjs/ai-components/voice-visualization/types.js +4 -0
- package/lib/commonjs/ai-components/voice-visualization/types.js.map +1 -0
- package/lib/commonjs/ai-components/voice-visualization/useReduceMotion.js +28 -0
- package/lib/commonjs/ai-components/voice-visualization/useReduceMotion.js.map +1 -0
- package/lib/commonjs/ai-components/voice-visualization/useVoiceVisualization.js +129 -0
- package/lib/commonjs/ai-components/voice-visualization/useVoiceVisualization.js.map +1 -0
- package/lib/commonjs/ai-components/voice-visualization/waveGeometry.js +124 -0
- package/lib/commonjs/ai-components/voice-visualization/waveGeometry.js.map +1 -0
- 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 +2 -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 +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 +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 +0 -2
- 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 +1 -1
- package/lib/commonjs/components/ChannelList/hooks/usePaginatedChannels.js.map +1 -1
- package/lib/commonjs/components/ChannelPreview/ChannelDetailsBottomSheet.js +1 -1
- package/lib/commonjs/components/ChannelPreview/ChannelDetailsBottomSheet.js.map +1 -1
- package/lib/commonjs/components/ChannelPreview/ChannelLastMessagePreview.js +1 -0
- package/lib/commonjs/components/ChannelPreview/ChannelLastMessagePreview.js.map +1 -1
- package/lib/commonjs/components/ChannelPreview/ChannelMessagePreviewDeliveryStatus.js +2 -0
- 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 +1 -0
- 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 +1 -1
- package/lib/commonjs/components/ChannelPreview/ChannelPreviewView.js.map +1 -1
- package/lib/commonjs/components/ChannelPreview/hooks/useChannelPreviewData.js +7 -7
- package/lib/commonjs/components/ChannelPreview/hooks/useChannelPreviewData.js.map +1 -1
- package/lib/commonjs/components/ChannelPreview/hooks/useChannelPreviewDisplayName.js +1 -1
- package/lib/commonjs/components/ChannelPreview/hooks/useChannelPreviewDisplayName.js.map +1 -1
- package/lib/commonjs/components/ChannelPreview/hooks/useChannelPreviewDisplayPresence.js +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 +4 -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 +6 -2
- 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/LoadingErrorIndicator.js +5 -0
- package/lib/commonjs/components/Indicators/LoadingErrorIndicator.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 +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/MessageStatus.js +4 -0
- package/lib/commonjs/components/Message/MessageItemView/MessageStatus.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 +7 -4
- 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 +7 -5
- 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 +2 -2
- 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 +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 +2 -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 +4 -4
- package/lib/commonjs/components/MessageList/MessageFlashList.js.map +1 -1
- package/lib/commonjs/components/MessageList/MessageList.js +4 -4
- 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 +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 +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/MessageMenu/hooks/useMessageOwnReactions.js +2 -2
- package/lib/commonjs/components/MessageMenu/hooks/useMessageOwnReactions.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/components/PollAnswersList.js +1 -1
- package/lib/commonjs/components/Poll/components/PollAnswersList.js.map +1 -1
- package/lib/commonjs/components/Poll/components/PollButtons.js +1 -1
- package/lib/commonjs/components/Poll/components/PollButtons.js.map +1 -1
- package/lib/commonjs/components/Poll/hook/useIsPollCreatedByCurrentUser.js +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 +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 +3 -3
- package/lib/commonjs/components/ThreadList/ThreadListItem.js.map +1 -1
- package/lib/commonjs/components/ThreadList/ThreadListUnreadBanner.js +9 -2
- package/lib/commonjs/components/ThreadList/ThreadListUnreadBanner.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 +24 -0
- 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 +0 -2
- 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 +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 +1 -1
- package/lib/commonjs/hooks/actions/useChannelActionItems.js.map +1 -1
- package/lib/commonjs/hooks/actions/useChannelActions.js +11 -5
- package/lib/commonjs/hooks/actions/useChannelActions.js.map +1 -1
- package/lib/commonjs/hooks/actions/useChannelMemberActionItems.js +1 -1
- package/lib/commonjs/hooks/actions/useChannelMemberActionItems.js.map +1 -1
- package/lib/commonjs/hooks/index.js +11 -0
- package/lib/commonjs/hooks/index.js.map +1 -1
- package/lib/commonjs/hooks/messagePreview/useMessageDeliveryStatus.js +6 -6
- 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/useIsDirectChat.js +1 -1
- package/lib/commonjs/hooks/useIsDirectChat.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 +1 -0
- 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 +5 -3
- package/lib/commonjs/store/apis/getChannelMessages.js.map +1 -1
- package/lib/commonjs/store/apis/getChannels.js +6 -3
- package/lib/commonjs/store/apis/getChannels.js.map +1 -1
- package/lib/commonjs/store/apis/getChannelsForFilterSort.js +2 -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 +7 -5
- package/lib/commonjs/store/apis/queries/selectMessagesForChannels.js.map +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/README.md +50 -2
- 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 +24 -0
- 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/ComposerView.js +4 -2
- package/lib/module/ai-components/message-composer/ComposerView.js.map +1 -1
- package/lib/module/ai-components/message-composer/SpeechToTextButton.js +4 -1
- package/lib/module/ai-components/message-composer/SpeechToTextButton.js.map +1 -1
- package/lib/module/ai-components/native/AIDictation.js +6 -0
- 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/dictation/store.js +4 -2
- package/lib/module/ai-components/store/dictation/store.js.map +1 -1
- package/lib/module/ai-components/store/dictation/useDictationState.js +4 -2
- package/lib/module/ai-components/store/dictation/useDictationState.js.map +1 -1
- package/lib/module/ai-components/store/index.js +22 -0
- 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/ai-components/theme.js +3 -0
- package/lib/module/ai-components/theme.js.map +1 -1
- package/lib/module/ai-components/transcription/useDictation.js +7 -3
- package/lib/module/ai-components/transcription/useDictation.js.map +1 -1
- package/lib/module/ai-components/transcription/useDictationAudioLevel.js +32 -0
- package/lib/module/ai-components/transcription/useDictationAudioLevel.js.map +1 -0
- package/lib/module/ai-components/voice-visualization/VoiceGlow.js +79 -0
- package/lib/module/ai-components/voice-visualization/VoiceGlow.js.map +1 -0
- package/lib/module/ai-components/voice-visualization/VoiceVisualizationView.js +147 -0
- package/lib/module/ai-components/voice-visualization/VoiceVisualizationView.js.map +1 -0
- package/lib/module/ai-components/voice-visualization/VoiceWave.js +58 -0
- package/lib/module/ai-components/voice-visualization/VoiceWave.js.map +1 -0
- package/lib/module/ai-components/voice-visualization/bounce.js +60 -0
- package/lib/module/ai-components/voice-visualization/bounce.js.map +1 -0
- package/lib/module/ai-components/voice-visualization/driver.js +208 -0
- package/lib/module/ai-components/voice-visualization/driver.js.map +1 -0
- package/lib/module/ai-components/voice-visualization/glowShader.js +218 -0
- package/lib/module/ai-components/voice-visualization/glowShader.js.map +1 -0
- package/lib/module/ai-components/voice-visualization/index.js +18 -0
- package/lib/module/ai-components/voice-visualization/index.js.map +1 -0
- package/lib/module/ai-components/voice-visualization/math.js +70 -0
- package/lib/module/ai-components/voice-visualization/math.js.map +1 -0
- package/lib/module/ai-components/voice-visualization/palette.js +47 -0
- package/lib/module/ai-components/voice-visualization/palette.js.map +1 -0
- package/lib/module/ai-components/voice-visualization/simplex.js +77 -0
- package/lib/module/ai-components/voice-visualization/simplex.js.map +1 -0
- package/lib/module/ai-components/voice-visualization/styles.js +33 -0
- package/lib/module/ai-components/voice-visualization/styles.js.map +1 -0
- package/lib/module/ai-components/voice-visualization/types.js +4 -0
- package/lib/module/ai-components/voice-visualization/types.js.map +1 -0
- package/lib/module/ai-components/voice-visualization/useReduceMotion.js +28 -0
- package/lib/module/ai-components/voice-visualization/useReduceMotion.js.map +1 -0
- package/lib/module/ai-components/voice-visualization/useVoiceVisualization.js +129 -0
- package/lib/module/ai-components/voice-visualization/useVoiceVisualization.js.map +1 -0
- package/lib/module/ai-components/voice-visualization/waveGeometry.js +124 -0
- package/lib/module/ai-components/voice-visualization/waveGeometry.js.map +1 -0
- 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 +2 -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 +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 +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 +0 -2
- 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 +1 -1
- package/lib/module/components/ChannelList/hooks/usePaginatedChannels.js.map +1 -1
- package/lib/module/components/ChannelPreview/ChannelDetailsBottomSheet.js +1 -1
- package/lib/module/components/ChannelPreview/ChannelDetailsBottomSheet.js.map +1 -1
- package/lib/module/components/ChannelPreview/ChannelLastMessagePreview.js +1 -0
- package/lib/module/components/ChannelPreview/ChannelLastMessagePreview.js.map +1 -1
- package/lib/module/components/ChannelPreview/ChannelMessagePreviewDeliveryStatus.js +2 -0
- 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 +1 -0
- 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 +1 -1
- package/lib/module/components/ChannelPreview/ChannelPreviewView.js.map +1 -1
- package/lib/module/components/ChannelPreview/hooks/useChannelPreviewData.js +7 -7
- package/lib/module/components/ChannelPreview/hooks/useChannelPreviewData.js.map +1 -1
- package/lib/module/components/ChannelPreview/hooks/useChannelPreviewDisplayName.js +1 -1
- package/lib/module/components/ChannelPreview/hooks/useChannelPreviewDisplayName.js.map +1 -1
- package/lib/module/components/ChannelPreview/hooks/useChannelPreviewDisplayPresence.js +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 +4 -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 +6 -2
- 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/LoadingErrorIndicator.js +5 -0
- package/lib/module/components/Indicators/LoadingErrorIndicator.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 +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/MessageStatus.js +4 -0
- package/lib/module/components/Message/MessageItemView/MessageStatus.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 +7 -4
- 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 +7 -5
- 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 +2 -2
- 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 +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 +2 -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 +4 -4
- package/lib/module/components/MessageList/MessageFlashList.js.map +1 -1
- package/lib/module/components/MessageList/MessageList.js +4 -4
- 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 +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 +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/MessageMenu/hooks/useMessageOwnReactions.js +2 -2
- package/lib/module/components/MessageMenu/hooks/useMessageOwnReactions.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/components/PollAnswersList.js +1 -1
- package/lib/module/components/Poll/components/PollAnswersList.js.map +1 -1
- package/lib/module/components/Poll/components/PollButtons.js +1 -1
- package/lib/module/components/Poll/components/PollButtons.js.map +1 -1
- package/lib/module/components/Poll/hook/useIsPollCreatedByCurrentUser.js +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 +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 +3 -3
- package/lib/module/components/ThreadList/ThreadListItem.js.map +1 -1
- package/lib/module/components/ThreadList/ThreadListUnreadBanner.js +9 -2
- package/lib/module/components/ThreadList/ThreadListUnreadBanner.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 +24 -0
- 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 +0 -2
- 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 +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 +1 -1
- package/lib/module/hooks/actions/useChannelActionItems.js.map +1 -1
- package/lib/module/hooks/actions/useChannelActions.js +11 -5
- package/lib/module/hooks/actions/useChannelActions.js.map +1 -1
- package/lib/module/hooks/actions/useChannelMemberActionItems.js +1 -1
- package/lib/module/hooks/actions/useChannelMemberActionItems.js.map +1 -1
- package/lib/module/hooks/index.js +11 -0
- package/lib/module/hooks/index.js.map +1 -1
- package/lib/module/hooks/messagePreview/useMessageDeliveryStatus.js +6 -6
- 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/useIsDirectChat.js +1 -1
- package/lib/module/hooks/useIsDirectChat.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 +1 -0
- 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 +5 -3
- package/lib/module/store/apis/getChannelMessages.js.map +1 -1
- package/lib/module/store/apis/getChannels.js +6 -3
- package/lib/module/store/apis/getChannels.js.map +1 -1
- package/lib/module/store/apis/getChannelsForFilterSort.js +2 -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 +7 -5
- package/lib/module/store/apis/queries/selectMessagesForChannels.js.map +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 +3 -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/ComposerView.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 +11 -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/dictation/store.d.ts +7 -0
- package/lib/typescript/ai-components/store/dictation/store.d.ts.map +1 -1
- package/lib/typescript/ai-components/store/dictation/useDictationState.d.ts +1 -0
- package/lib/typescript/ai-components/store/dictation/useDictationState.d.ts.map +1 -1
- package/lib/typescript/ai-components/store/index.d.ts +2 -0
- 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/ai-components/theme.d.ts +13 -0
- package/lib/typescript/ai-components/theme.d.ts.map +1 -1
- package/lib/typescript/ai-components/transcription/useDictation.d.ts +9 -1
- package/lib/typescript/ai-components/transcription/useDictation.d.ts.map +1 -1
- package/lib/typescript/ai-components/transcription/useDictationAudioLevel.d.ts +11 -0
- package/lib/typescript/ai-components/transcription/useDictationAudioLevel.d.ts.map +1 -0
- package/lib/typescript/ai-components/voice-visualization/VoiceGlow.d.ts +13 -0
- package/lib/typescript/ai-components/voice-visualization/VoiceGlow.d.ts.map +1 -0
- package/lib/typescript/ai-components/voice-visualization/VoiceVisualizationView.d.ts +26 -0
- package/lib/typescript/ai-components/voice-visualization/VoiceVisualizationView.d.ts.map +1 -0
- package/lib/typescript/ai-components/voice-visualization/VoiceWave.d.ts +13 -0
- package/lib/typescript/ai-components/voice-visualization/VoiceWave.d.ts.map +1 -0
- package/lib/typescript/ai-components/voice-visualization/bounce.d.ts +20 -0
- package/lib/typescript/ai-components/voice-visualization/bounce.d.ts.map +1 -0
- package/lib/typescript/ai-components/voice-visualization/driver.d.ts +96 -0
- package/lib/typescript/ai-components/voice-visualization/driver.d.ts.map +1 -0
- package/lib/typescript/ai-components/voice-visualization/glowShader.d.ts +7 -0
- package/lib/typescript/ai-components/voice-visualization/glowShader.d.ts.map +1 -0
- package/lib/typescript/ai-components/voice-visualization/index.d.ts +4 -0
- package/lib/typescript/ai-components/voice-visualization/index.d.ts.map +1 -0
- package/lib/typescript/ai-components/voice-visualization/math.d.ts +26 -0
- package/lib/typescript/ai-components/voice-visualization/math.d.ts.map +1 -0
- package/lib/typescript/ai-components/voice-visualization/palette.d.ts +18 -0
- package/lib/typescript/ai-components/voice-visualization/palette.d.ts.map +1 -0
- package/lib/typescript/ai-components/voice-visualization/simplex.d.ts +11 -0
- package/lib/typescript/ai-components/voice-visualization/simplex.d.ts.map +1 -0
- package/lib/typescript/ai-components/voice-visualization/styles.d.ts +24 -0
- package/lib/typescript/ai-components/voice-visualization/styles.d.ts.map +1 -0
- package/lib/typescript/ai-components/voice-visualization/types.d.ts +45 -0
- package/lib/typescript/ai-components/voice-visualization/types.d.ts.map +1 -0
- package/lib/typescript/ai-components/voice-visualization/useReduceMotion.d.ts +10 -0
- package/lib/typescript/ai-components/voice-visualization/useReduceMotion.d.ts.map +1 -0
- package/lib/typescript/ai-components/voice-visualization/useVoiceVisualization.d.ts +18 -0
- package/lib/typescript/ai-components/voice-visualization/useVoiceVisualization.d.ts.map +1 -0
- package/lib/typescript/ai-components/voice-visualization/waveGeometry.d.ts +25 -0
- package/lib/typescript/ai-components/voice-visualization/waveGeometry.d.ts.map +1 -0
- 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 +10 -28
- 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 +14 -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/LoadingErrorIndicator.d.ts +1 -1
- package/lib/typescript/components/Indicators/LoadingErrorIndicator.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/MessageStatus.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/ThreadListUnreadBanner.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 +2 -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 -27
- 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/index.d.ts +1 -0
- package/lib/typescript/hooks/index.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 +11 -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 +7 -3
- package/lib/typescript/i18n/keys.d.ts.map +1 -1
- package/lib/typescript/i18n/runtimeDefaults.d.ts +18 -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 +2 -1
- package/lib/typescript/store/apis/getChannelMessages.d.ts.map +1 -1
- package/lib/typescript/store/apis/getChannels.d.ts +8 -7
- 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/selectMessagesForChannels.d.ts +3 -1
- package/lib/typescript/store/apis/queries/selectMessagesForChannels.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 +9 -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 +5 -5
- package/src/__tests__/offline-support/offline-feature.tsx +22 -11
- package/src/__tests__/offline-support/optimistic-update.tsx +35 -27
- 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/README.md +50 -2
- package/src/ai-components/__tests__/Markdown.test.tsx +20 -0
- package/src/ai-components/__tests__/VoiceVisualization.test.tsx +208 -0
- package/src/ai-components/__tests__/charts.test.ts +4 -1
- package/src/ai-components/__tests__/dictation.test.tsx +58 -1
- package/src/ai-components/__tests__/voiceDriver.test.ts +317 -0
- package/src/ai-components/__tests__/voicePalette.test.ts +124 -0
- 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 +5 -10
- 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/ComposerView.tsx +6 -3
- package/src/ai-components/message-composer/SpeechToTextButton.tsx +6 -6
- package/src/ai-components/native/AIDictation.ts +16 -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/dictation/store.ts +9 -0
- package/src/ai-components/store/dictation/useDictationState.ts +2 -1
- package/src/ai-components/store/index.ts +2 -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/ai-components/theme.ts +16 -0
- package/src/ai-components/transcription/useDictation.ts +16 -3
- package/src/ai-components/transcription/useDictationAudioLevel.ts +38 -0
- package/src/ai-components/voice-visualization/VoiceGlow.tsx +79 -0
- package/src/ai-components/voice-visualization/VoiceVisualizationView.tsx +179 -0
- package/src/ai-components/voice-visualization/VoiceWave.tsx +67 -0
- package/src/ai-components/voice-visualization/bounce.ts +61 -0
- package/src/ai-components/voice-visualization/driver.ts +240 -0
- package/src/ai-components/voice-visualization/glowShader.ts +227 -0
- package/src/ai-components/voice-visualization/index.ts +3 -0
- package/src/ai-components/voice-visualization/math.ts +73 -0
- package/src/ai-components/voice-visualization/palette.ts +59 -0
- package/src/ai-components/voice-visualization/simplex.ts +92 -0
- package/src/ai-components/voice-visualization/styles.ts +42 -0
- package/src/ai-components/voice-visualization/types.ts +44 -0
- package/src/ai-components/voice-visualization/useReduceMotion.ts +34 -0
- package/src/ai-components/voice-visualization/useVoiceVisualization.ts +153 -0
- package/src/ai-components/voice-visualization/waveGeometry.ts +137 -0
- 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 +47 -8
- package/src/components/Channel/hooks/useChannelLifecycle.ts +30 -30
- 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__/ChannelDetails.test.tsx +1 -1
- package/src/components/ChannelDetails/__tests__/ChannelDetailsActionsSection.test.tsx +1 -1
- package/src/components/ChannelDetails/__tests__/ChannelDetailsEditButton.test.tsx +1 -1
- package/src/components/ChannelDetails/__tests__/ChannelDetailsMemberSection.test.tsx +1 -1
- package/src/components/ChannelDetails/__tests__/ChannelDetailsNavHeader.test.tsx +1 -1
- package/src/components/ChannelDetails/__tests__/ChannelDetailsProfile.test.tsx +2 -2
- package/src/components/ChannelDetails/__tests__/ChannelEditDetailsForm.test.tsx +1 -1
- package/src/components/ChannelDetails/__tests__/ChannelEditDetailsFormContent.test.tsx +2 -2
- package/src/components/ChannelDetails/__tests__/ChannelEditName.test.tsx +1 -1
- package/src/components/ChannelDetails/__tests__/members/ChannelAddMembersForm.test.tsx +1 -1
- package/src/components/ChannelDetails/__tests__/members/ChannelMemberActionsSheet.test.tsx +2 -2
- package/src/components/ChannelDetails/__tests__/members/ChannelMemberItem.test.tsx +1 -1
- package/src/components/ChannelDetails/__tests__/useChannelDetailsMemberStatusText.test.tsx +1 -1
- 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 +6 -8
- 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 +6 -4
- 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 +14 -35
- package/src/components/ChannelList/__tests__/ChannelList.test.tsx +46 -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 +9 -10
- package/src/components/ChannelPreview/ChannelDetailsBottomSheet.tsx +1 -1
- package/src/components/ChannelPreview/ChannelLastMessagePreview.tsx +1 -1
- package/src/components/ChannelPreview/ChannelMessagePreviewDeliveryStatus.tsx +11 -10
- 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 +2 -4
- package/src/components/ChannelPreview/ChannelPreviewUnreadCount.tsx +1 -3
- package/src/components/ChannelPreview/ChannelPreviewView.tsx +7 -12
- package/src/components/ChannelPreview/__tests__/ChannelPreview.test.tsx +4 -4
- package/src/components/ChannelPreview/__tests__/ChannelPreviewView.test.tsx +40 -0
- package/src/components/ChannelPreview/hooks/__tests__/useChannelPreviewData.test.tsx +51 -0
- package/src/components/ChannelPreview/hooks/__tests__/useChannelPreviewDisplayName.test.tsx +1 -1
- package/src/components/ChannelPreview/hooks/__tests__/useChannelPreviewDisplayPresence.test.tsx +1 -1
- package/src/components/ChannelPreview/hooks/__tests__/useChannelPreviewPollLabel.test.tsx +87 -0
- package/src/components/ChannelPreview/hooks/useChannelPreviewData.ts +9 -17
- package/src/components/ChannelPreview/hooks/useChannelPreviewDisplayName.ts +3 -3
- package/src/components/ChannelPreview/hooks/useChannelPreviewDisplayPresence.ts +6 -10
- package/src/components/ChannelPreview/hooks/useChannelPreviewDraftMessage.ts +4 -3
- package/src/components/ChannelPreview/hooks/useChannelPreviewPollLabel.ts +5 -4
- 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/__tests__/Chat.test.tsx +31 -1
- 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 +33 -49
- 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/LoadingErrorIndicator.tsx +8 -1
- package/src/components/Indicators/LoadingIndicator.tsx +1 -3
- package/src/components/KeyboardCompatibleView/KeyboardCompatibleView.tsx +26 -43
- package/src/components/Message/Message.tsx +22 -58
- 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/MessageStatus.tsx +16 -2
- 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 +26 -22
- 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/__tests__/MessageStatus.test.tsx +21 -0
- 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 +2 -2
- package/src/components/Message/hooks/__tests__/useUserMuteActive.test.tsx +1 -1
- package/src/components/Message/hooks/useCreateMessageActionHandlers.ts +19 -8
- 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 +10 -6
- package/src/components/Message/hooks/useStreamingMessage.ts +7 -6
- package/src/components/Message/hooks/useUserMuteActive.ts +10 -2
- package/src/components/Message/utils/measureInWindow.ts +19 -19
- package/src/components/Message/utils/messageActions.ts +0 -1
- package/src/components/MessageInput/MessageComposer.tsx +11 -21
- 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 +44 -111
- package/src/components/MessageList/MessageList.tsx +64 -148
- 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 +28 -8
- package/src/components/MessageList/__tests__/ScrollToBottomButton.test.tsx +3 -3
- 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 +4 -1
- 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 +3 -7
- package/src/components/MessageMenu/ReactionButton.tsx +6 -12
- package/src/components/MessageMenu/__tests__/MessageActionList.test.tsx +32 -0
- package/src/components/MessageMenu/hooks/useMessageOwnReactions.ts +2 -2
- 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/PollAnswersList.tsx +1 -1
- package/src/components/Poll/components/PollButtons.tsx +3 -3
- package/src/components/Poll/components/PollOption.tsx +2 -2
- package/src/components/Poll/hook/useIsPollCreatedByCurrentUser.ts +4 -3
- 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 +21 -30
- package/src/components/Thread/__tests__/Thread.test.tsx +4 -2
- 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 +2 -2
- package/src/components/ThreadList/ThreadListUnreadBanner.tsx +6 -2
- package/src/components/ThreadList/ThreadMessagePreviewDeliveryStatus.tsx +4 -6
- package/src/components/ThreadList/__tests__/ThreadList.test.tsx +21 -0
- 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 +3 -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 -35
- package/src/contexts/imageGalleryContext/ImageGalleryContextBase.tsx +1 -1
- package/src/contexts/liveLocationManagerContext/LiveLocationManagerContext.tsx +1 -3
- 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__/useChannelMuteActive.test.tsx +1 -1
- package/src/hooks/__tests__/useIsDirectChat.test.tsx +1 -1
- package/src/hooks/__tests__/useRAFCoalescedValue.test.tsx +80 -0
- package/src/hooks/actions/__tests__/useChannelActionItems.test.tsx +1 -1
- package/src/hooks/actions/__tests__/useChannelActions.test.tsx +4 -4
- package/src/hooks/actions/__tests__/useChannelMemberActionItems.test.tsx +6 -6
- package/src/hooks/actions/useChannelActionItems.tsx +12 -29
- package/src/hooks/actions/useChannelActions.ts +5 -5
- package/src/hooks/actions/useChannelMemberActionItems.tsx +4 -7
- package/src/hooks/index.ts +1 -0
- package/src/hooks/messagePreview/__tests__/useMessageDeliveryStatus.test.tsx +57 -32
- package/src/hooks/messagePreview/useGroupedAttachments.ts +5 -5
- package/src/hooks/messagePreview/useMessageDeliveryStatus.ts +22 -15
- 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/useIsDirectChat.ts +1 -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 +6 -2
- package/src/i18n/keys.ts +7 -2
- package/src/i18n/runtimeDefaults.ts +21 -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 +61 -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 +4 -4
- package/src/store/apis/getChannels.ts +10 -8
- package/src/store/apis/getChannelsForFilterSort.ts +8 -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 +7 -2
- 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 +11 -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,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
*
|
|
4
|
-
* @returns
|
|
2
|
+
* Returns the notifications held by the client's notification manager.
|
|
3
|
+
*
|
|
4
|
+
* @returns An object with the `notifications`.
|
|
5
5
|
*/
|
|
6
6
|
export declare const useClientNotifications: () => {
|
|
7
7
|
notifications: import("stream-chat").Notification[];
|
|
@@ -2,24 +2,18 @@ import { ViewStyle } from 'react-native';
|
|
|
2
2
|
/**
|
|
3
3
|
* Horizontal safe area padding for a surface that spans the full window width.
|
|
4
4
|
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
5
|
+
* Only for surfaces an integrator cannot wrap, such as React Native's `Modal`, which renders in a
|
|
6
|
+
* separate native window. In-tree surfaces already narrow with the integrator's `SafeAreaView`, so
|
|
7
|
+
* this would double-pad them; a bottom sheet or overlay qualifies only if it mounts outside that
|
|
8
|
+
* tree. Prefer a `SafeAreaView` where one fits (see `ImageGalleryHeader`): it compares the window
|
|
9
|
+
* inset with its own frame, whereas this hook reads the window-global `useSafeAreaInsets` and has
|
|
10
|
+
* no such protection when nested.
|
|
9
11
|
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
* compares the window inset against its own measured frame, so a nested instance contributes
|
|
14
|
-
* nothing once an ancestor has narrowed the subtree. This hook reads `useSafeAreaInsets`, which is
|
|
15
|
-
* window-global and has no such protection.
|
|
12
|
+
* `left` and `right` stay separate because from iOS 27 the system can stack its controls down a
|
|
13
|
+
* single edge (measured 0 and 84 on iPhone Duo). A side whose inset is 0 is omitted, as a
|
|
14
|
+
* `paddingLeft: 0` longhand would override a `padding` shorthand set elsewhere.
|
|
16
15
|
*
|
|
17
|
-
* `
|
|
18
|
-
* down a single edge, so the two differ (measured 0 and 84 on iPhone Duo).
|
|
19
|
-
*
|
|
20
|
-
* A side whose inset is 0 is omitted rather than emitted as `paddingLeft: 0`, because a longhand
|
|
21
|
-
* overrides a `padding` shorthand for that side - emitting a zero would silently drop padding the
|
|
22
|
-
* component or a consumer's theme had already set.
|
|
16
|
+
* @returns A style with `paddingLeft` and `paddingRight` for the non-zero insets.
|
|
23
17
|
*/
|
|
24
18
|
export declare const useHorizontalInsets: () => ViewStyle;
|
|
25
19
|
//# sourceMappingURL=useHorizontalInsets.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useHorizontalInsets.d.ts","sourceRoot":"","sources":["../../../src/hooks/useHorizontalInsets.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAGzC
|
|
1
|
+
{"version":3,"file":"useHorizontalInsets.d.ts","sourceRoot":"","sources":["../../../src/hooks/useHorizontalInsets.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAGzC;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,mBAAmB,QAAO,SAUtC,CAAC"}
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import type { Channel } from 'stream-chat';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* Whether the user with the given ID is a member of the channel.
|
|
4
|
+
*
|
|
5
|
+
* @param channel The channel to check.
|
|
6
|
+
* @param userId The ID of the user. Without it the result is false.
|
|
7
|
+
* @returns True when the user is a member.
|
|
4
8
|
*/
|
|
5
9
|
export declare const useIsChannelMember: (channel: Channel, userId?: string) => boolean;
|
|
6
10
|
//# sourceMappingURL=useIsChannelMember.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useIsChannelMember.d.ts","sourceRoot":"","sources":["../../../src/hooks/useIsChannelMember.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAI3C
|
|
1
|
+
{"version":3,"file":"useIsChannelMember.d.ts","sourceRoot":"","sources":["../../../src/hooks/useIsChannelMember.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAI3C;;;;;;GAMG;AACH,eAAO,MAAM,kBAAkB,GAAI,SAAS,OAAO,EAAE,SAAS,MAAM,YAUnE,CAAC"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Returns
|
|
3
|
-
* setState calls (within async operation) after component gets unmounted.
|
|
2
|
+
* Returns a ref that turns false once the component unmounts, to skip state updates in async work.
|
|
4
3
|
*
|
|
5
4
|
* @example
|
|
6
5
|
* ```
|
|
@@ -8,13 +7,13 @@
|
|
|
8
7
|
* const [dummyValue, setDummyValue] = useState(false);
|
|
9
8
|
*
|
|
10
9
|
* useEffect(() => {
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
* })
|
|
10
|
+
* someAsyncOperation().then(() => {
|
|
11
|
+
* if (isMounted.current) setDummyValue(true);
|
|
12
|
+
* });
|
|
13
|
+
* }, []);
|
|
15
14
|
* ```
|
|
16
15
|
*
|
|
17
|
-
* @returns
|
|
16
|
+
* @returns A ref whose `current` is true until the component unmounts.
|
|
18
17
|
*/
|
|
19
18
|
export declare const useIsMountedRef: () => import("react").RefObject<boolean>;
|
|
20
19
|
//# sourceMappingURL=useIsMountedRef.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useIsMountedRef.d.ts","sourceRoot":"","sources":["../../../src/hooks/useIsMountedRef.ts"],"names":[],"mappings":"AAEA
|
|
1
|
+
{"version":3,"file":"useIsMountedRef.d.ts","sourceRoot":"","sources":["../../../src/hooks/useIsMountedRef.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,eAAe,0CAY3B,CAAC"}
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
* `image/svg+xml` data
|
|
4
|
-
*
|
|
5
|
-
*
|
|
2
|
+
* Whether `uri` points to an SVG, by `.svg` extension (ignoring query and fragment) or by
|
|
3
|
+
* `image/svg+xml` data URI. The non-hook form of `useIsSvg`.
|
|
4
|
+
*
|
|
5
|
+
* @param uri The URI to check.
|
|
6
|
+
* @returns True when the URI is an SVG.
|
|
6
7
|
*/
|
|
7
8
|
export declare const isSvgUri: (uri: string | null | undefined) => boolean;
|
|
8
9
|
/**
|
|
9
|
-
* Memoized
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
10
|
+
* Memoized `isSvgUri`, re-evaluated only when `uri` changes.
|
|
11
|
+
*
|
|
12
|
+
* @param uri The URI to check.
|
|
13
|
+
* @returns True when the URI is an SVG.
|
|
13
14
|
*/
|
|
14
15
|
export declare const useIsSvg: (uri: string | null | undefined) => boolean;
|
|
15
16
|
//# sourceMappingURL=useIsSvg.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useIsSvg.d.ts","sourceRoot":"","sources":["../../../src/hooks/useIsSvg.ts"],"names":[],"mappings":"AAEA
|
|
1
|
+
{"version":3,"file":"useIsSvg.d.ts","sourceRoot":"","sources":["../../../src/hooks/useIsSvg.ts"],"names":[],"mappings":"AAEA;;;;;;GAMG;AACH,eAAO,MAAM,QAAQ,GAAI,KAAK,MAAM,GAAG,IAAI,GAAG,SAAS,KAAG,OAUzD,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,QAAQ,GAAI,KAAK,MAAM,GAAG,IAAI,GAAG,SAAS,KAAG,OACrB,CAAC"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Whether
|
|
3
|
-
* `jumpToMessage`
|
|
2
|
+
* Whether the message is the target of the active paginator's `messageFocusSignal` (set by
|
|
3
|
+
* `jumpToMessage` and `jumpToTheFirstUnreadMessage`, for the signal's TTL).
|
|
4
4
|
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
5
|
+
* Each row selects its own boolean, so a jump re-renders only the row losing the highlight and the
|
|
6
|
+
* row gaining it, not every row as a shared context value would.
|
|
7
|
+
*
|
|
8
|
+
* @param messageId The ID of the message.
|
|
9
|
+
* @returns True when the message is the focus target.
|
|
10
10
|
*/
|
|
11
11
|
export declare const useIsTargetedMessage: (messageId: string) => boolean;
|
|
12
12
|
//# sourceMappingURL=useIsTargetedMessage.d.ts.map
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
*
|
|
2
|
+
* Tracks whether the keyboard is visible.
|
|
3
|
+
*
|
|
4
|
+
* @returns True while the keyboard is visible.
|
|
4
5
|
*/
|
|
5
6
|
export declare const useKeyboardVisibility: () => boolean;
|
|
6
7
|
//# sourceMappingURL=useKeyboardVisibility.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useKeyboardVisibility.d.ts","sourceRoot":"","sources":["../../../src/hooks/useKeyboardVisibility.ts"],"names":[],"mappings":"AAGA
|
|
1
|
+
{"version":3,"file":"useKeyboardVisibility.d.ts","sourceRoot":"","sources":["../../../src/hooks/useKeyboardVisibility.ts"],"names":[],"mappings":"AAGA;;;;GAIG;AACH,eAAO,MAAM,qBAAqB,eAiBjC,CAAC"}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { type RefObject } from 'react';
|
|
2
2
|
/**
|
|
3
|
-
* Creates a stable ref whose initial value is computed
|
|
4
|
-
*
|
|
3
|
+
* Creates a stable ref whose initial value is computed once, for values that are costly to build.
|
|
4
|
+
*
|
|
5
|
+
* @param getInitialValue Computes the initial value on the first render. Must not return `null`.
|
|
6
|
+
* @returns The ref holding the value.
|
|
5
7
|
*/
|
|
6
8
|
export declare const useLazyRef: <T>(getInitialValue: () => T) => RefObject<T>;
|
|
7
9
|
//# sourceMappingURL=useLazyRef.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useLazyRef.d.ts","sourceRoot":"","sources":["../../../src/hooks/useLazyRef.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAU,MAAM,OAAO,CAAC;AAE/C
|
|
1
|
+
{"version":3,"file":"useLazyRef.d.ts","sourceRoot":"","sources":["../../../src/hooks/useLazyRef.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAU,MAAM,OAAO,CAAC;AAE/C;;;;;GAKG;AACH,eAAO,MAAM,UAAU,GAAI,CAAC,EAAE,iBAAiB,MAAM,CAAC,KAOtC,SAAS,CAAC,CAAC,CAC1B,CAAC"}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* The message paginator this subtree
|
|
3
|
-
* channel's
|
|
2
|
+
* The message paginator this subtree renders: the thread's inside a `<Thread>`, otherwise the
|
|
3
|
+
* channel's.
|
|
4
|
+
*
|
|
5
|
+
* @returns The active message paginator.
|
|
4
6
|
*/
|
|
5
7
|
export declare const useMessagePaginator: () => import("stream-chat").MessagePaginator;
|
|
6
8
|
//# sourceMappingURL=useMessagePaginator.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useMessagePaginator.d.ts","sourceRoot":"","sources":["../../../src/hooks/useMessagePaginator.ts"],"names":[],"mappings":"AAGA
|
|
1
|
+
{"version":3,"file":"useMessagePaginator.d.ts","sourceRoot":"","sources":["../../../src/hooks/useMessagePaginator.ts"],"names":[],"mappings":"AAGA;;;;;GAKG;AACH,eAAO,MAAM,mBAAmB,8CAK/B,CAAC"}
|
|
@@ -1,14 +1,18 @@
|
|
|
1
1
|
export type PendingAttachmentUpload = {
|
|
2
|
-
/**
|
|
2
|
+
/** Whether `client.uploadManager` has an in-flight upload for this attachment local ID. */
|
|
3
3
|
isUploading: boolean;
|
|
4
4
|
/**
|
|
5
|
-
* Upload
|
|
6
|
-
* `
|
|
5
|
+
* Upload progress from `client.uploadManager` as a percentage from 0 to 100, the same scale as
|
|
6
|
+
* `localMetadata.uploadProgress`. `undefined` when not uploading or not computable.
|
|
7
7
|
*/
|
|
8
8
|
uploadProgress: number | undefined;
|
|
9
9
|
};
|
|
10
10
|
/**
|
|
11
|
-
* Subscribes to `client.uploadManager` for the pending attachment identified by `localId`.
|
|
11
|
+
* Subscribes to `client.uploadManager` for the pending attachment identified by `localId`. An
|
|
12
|
+
* upload that finished after reaching 90% keeps reporting `isUploading` at 100% for 350 ms.
|
|
13
|
+
*
|
|
14
|
+
* @param localId The local ID of the attachment. Without it the upload is reported as idle.
|
|
15
|
+
* @returns The upload state of the attachment.
|
|
12
16
|
*/
|
|
13
17
|
export declare function usePendingAttachmentUpload(localId: string | undefined): PendingAttachmentUpload;
|
|
14
18
|
//# sourceMappingURL=usePendingAttachmentUpload.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"usePendingAttachmentUpload.d.ts","sourceRoot":"","sources":["../../../src/hooks/usePendingAttachmentUpload.ts"],"names":[],"mappings":"AAQA,MAAM,MAAM,uBAAuB,GAAG;IACpC,
|
|
1
|
+
{"version":3,"file":"usePendingAttachmentUpload.d.ts","sourceRoot":"","sources":["../../../src/hooks/usePendingAttachmentUpload.ts"],"names":[],"mappings":"AAQA,MAAM,MAAM,uBAAuB,GAAG;IACpC,2FAA2F;IAC3F,WAAW,EAAE,OAAO,CAAC;IACrB;;;OAGG;IACH,cAAc,EAAE,MAAM,GAAG,SAAS,CAAC;CACpC,CAAC;AAiBF;;;;;;GAMG;AACH,wBAAgB,0BAA0B,CAAC,OAAO,EAAE,MAAM,GAAG,SAAS,GAAG,uBAAuB,CA8F/F"}
|
|
@@ -1,32 +1,16 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Returns a stable callback that
|
|
3
|
-
*
|
|
2
|
+
* Returns a stable callback that runs once a `PortalWhileClosingView` has settled back into its
|
|
3
|
+
* original tree.
|
|
4
4
|
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
5
|
+
* While a view returns from a portal host to its in-place host, follow-up work can target a node
|
|
6
|
+
* that is about to be reattached. On Android, focus work loses focus again mid keyboard animation
|
|
7
|
+
* (focusing the input right after the message overlay closes dismisses the keyboard at once), and
|
|
8
|
+
* a pressed button that morphs can render into the wrong part of the hierarchy. The callback waits
|
|
9
|
+
* two frames on Android, the first for the portal to retarget and React to commit, the second for
|
|
10
|
+
* the native hierarchy to settle. On iOS it runs immediately.
|
|
10
11
|
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
* - frame 2 lets the native view hierarchy settle in its final host
|
|
14
|
-
*
|
|
15
|
-
* iOS does not currently need this settle window for this flow.
|
|
16
|
-
*
|
|
17
|
-
* A good example is the message composer edit action: after closing the message
|
|
18
|
-
* overlay, we wait for the portal handoff to settle before focusing the input
|
|
19
|
-
* and opening the keyboard. Doing this prematurely will result in the keyboard
|
|
20
|
-
* being immediately closed.
|
|
21
|
-
*
|
|
22
|
-
* Another good example would be having a button wrapped in a `PortalWhileClosingView`,
|
|
23
|
-
* that possibly renders (or morphs into) something when pressed. Handling `onPress`
|
|
24
|
-
* prematurely here may lead to the morphed button rendering into a completely different
|
|
25
|
-
* part of the UI hierarchy, causing unknown behaviour. This hook prevents that from
|
|
26
|
-
* happening.
|
|
27
|
-
*
|
|
28
|
-
* @param callback - callback we want to invoke once the portal handoff has settled
|
|
29
|
-
* @returns A stable callback gated behind the portal settle window.
|
|
12
|
+
* @param callback Runs once the portal handoff has settled.
|
|
13
|
+
* @returns A stable callback gated behind the settle window.
|
|
30
14
|
*/
|
|
31
15
|
export declare const usePortalSettledCallback: <T extends unknown[]>(callback: (...args: T) => void) => import("./useStableCallback").StableCallback<T, void>;
|
|
32
16
|
//# sourceMappingURL=usePortalSettledCallback.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"usePortalSettledCallback.d.ts","sourceRoot":"","sources":["../../../src/hooks/usePortalSettledCallback.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"usePortalSettledCallback.d.ts","sourceRoot":"","sources":["../../../src/hooks/usePortalSettledCallback.ts"],"names":[],"mappings":"AAmBA;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,wBAAwB,GAAI,CAAC,SAAS,OAAO,EAAE,EAAE,UAAU,CAAC,GAAG,IAAI,EAAE,CAAC,KAAK,IAAI,0DAgB3F,CAAC"}
|
|
@@ -10,17 +10,17 @@ export type ViewabilityChangedCallbackInput = {
|
|
|
10
10
|
inverted: boolean;
|
|
11
11
|
};
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
13
|
+
* Tells the paginator when the message list may prune its oldest messages.
|
|
14
14
|
*
|
|
15
|
-
* The cap
|
|
16
|
-
* `channel.messagePaginator.updateConfig({ maxLoadedItems })
|
|
17
|
-
* `client.config.set({ channel: { messagePaginator: { maxLoadedItems } } })`.
|
|
18
|
-
*
|
|
15
|
+
* The cap (`maxLoadedItems`) lives in `stream-chat`: set it with
|
|
16
|
+
* `channel.messagePaginator.updateConfig({ maxLoadedItems })` or
|
|
17
|
+
* `client.config.set({ channel: { messagePaginator: { maxLoadedItems } } })`. This hook owns
|
|
18
|
+
* whether pruning is safe: it tracks the visible range and suspends pruning while the user is near
|
|
19
|
+
* the pruned edge. The paginator reads that boolean on ingest and nothing subscribes to it, so
|
|
20
|
+
* scrolling costs no render.
|
|
19
21
|
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
* under them, so viewability is tracked here and pushed down as a single boolean. The paginator reads
|
|
23
|
-
* it on ingest; nothing subscribes to it, so scrolling can never cost a render.
|
|
22
|
+
* @param params.paginator The message paginator of the list.
|
|
23
|
+
* @returns The `maxLoadedItems` cap and the `viewabilityChangedCallback` to wire to the list.
|
|
24
24
|
*/
|
|
25
25
|
export declare function usePrunableMessageList({ paginator }: {
|
|
26
26
|
paginator?: MessagePaginator;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"usePrunableMessageList.d.ts","sourceRoot":"","sources":["../../../src/hooks/usePrunableMessageList.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAKpD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AAE9D,MAAM,MAAM,kBAAkB,GAAG;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,OAAO,CAAA;CAAE,CAAC;AACpF,MAAM,MAAM,+BAA+B,GAAG;IAC5C,aAAa,EAAE,SAAS,EAAE,GAAG,SAAS,CAAC;IACvC,QAAQ,EAAE,OAAO,CAAC;CACnB,CAAC;AAyBF;;;;;;;;;;;;GAYG;AACH,wBAAgB,sBAAsB,CAAC,EAAE,SAAS,EAAE,EAAE;IAAE,SAAS,CAAC,EAAE,gBAAgB,CAAA;CAAE;;;
|
|
1
|
+
{"version":3,"file":"usePrunableMessageList.d.ts","sourceRoot":"","sources":["../../../src/hooks/usePrunableMessageList.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAKpD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AAE9D,MAAM,MAAM,kBAAkB,GAAG;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,OAAO,CAAA;CAAE,CAAC;AACpF,MAAM,MAAM,+BAA+B,GAAG;IAC5C,aAAa,EAAE,SAAS,EAAE,GAAG,SAAS,CAAC;IACvC,QAAQ,EAAE,OAAO,CAAC;CACnB,CAAC;AAyBF;;;;;;;;;;;;GAYG;AACH,wBAAgB,sBAAsB,CAAC,EAAE,SAAS,EAAE,EAAE;IAAE,SAAS,CAAC,EAAE,gBAAgB,CAAA;CAAE;;;EA6BrF"}
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
import { ReminderResponseData } from 'stream-chat';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
4
|
-
* It handles fetching, updating, and deleting reminders, and provides
|
|
5
|
-
* a way to refresh the list and load more reminders.
|
|
3
|
+
* Queries reminders from the client and keeps the list in sync with reminder events.
|
|
6
4
|
*
|
|
7
|
-
* @returns
|
|
5
|
+
* @returns The reminders as `data`, `isLoading`, `loadNext` to fetch the next page and `setData`.
|
|
8
6
|
*/
|
|
9
7
|
export declare const useQueryReminders: () => {
|
|
10
8
|
data: ReminderResponseData[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useQueryReminders.d.ts","sourceRoot":"","sources":["../../../src/hooks/useQueryReminders.ts"],"names":[],"mappings":"AAEA,OAAO,EAAiD,oBAAoB,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"useQueryReminders.d.ts","sourceRoot":"","sources":["../../../src/hooks/useQueryReminders.ts"],"names":[],"mappings":"AAEA,OAAO,EAAiD,oBAAoB,EAAE,MAAM,aAAa,CAAC;AAmClG;;;;GAIG;AACH,eAAO,MAAM,iBAAiB;;;;;CAkG7B,CAAC"}
|
|
@@ -1,43 +1,17 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
*
|
|
4
|
-
* that React consumers will see at most once per animation frame (via
|
|
5
|
-
* `requestAnimationFrame`). This is useful when upstream sources (selectors, sockets,
|
|
6
|
-
* DB listeners) can fire multiple times within a single paint and you want to avoid
|
|
7
|
-
* extra renders and layout churn.
|
|
2
|
+
* Coalesces a fast-changing value to at most one update per animation frame, so sources that fire
|
|
3
|
+
* several times within a paint (selectors, sockets, DB listeners) cause one render, not many.
|
|
8
4
|
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
* operation wins) and no new RAF is scheduled
|
|
5
|
+
* Intermediate values within a frame are skipped, so it suits visual coalescing, not logic that
|
|
6
|
+
* must observe every transition. Equality is referential: a producer that recreates arrays or
|
|
7
|
+
* objects still publishes once per frame, so stabilize them upstream. It follows the frame cadence
|
|
8
|
+
* and is not a throttle or debounce. A pending frame is cancelled only on unmount, not on value
|
|
9
|
+
* changes.
|
|
15
10
|
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
* **Caveats:**
|
|
22
|
-
* - This hook intentionally skips intermediate states that occur within the same
|
|
23
|
-
* frame. If you must observe every transition (e.g., for analytics/reducers), do that
|
|
24
|
-
* upstream; this hook is for visual coalescing
|
|
25
|
-
* - Equality checks are simple referential equalities. If your producer recreates arrays
|
|
26
|
-
* or objects each time, you’ll still publish once per frame. To avoid even those
|
|
27
|
-
* emissions, stabilize upstream
|
|
28
|
-
* - This is not a silver bullet for throttle/debounce; it uses the screen’s refresh cycle;
|
|
29
|
-
* If you need “no more than once per X ms”, layer that upstream
|
|
30
|
-
*
|
|
31
|
-
* Usage tips:
|
|
32
|
-
* - Prefer passing already-memoized values when possible (e.g., stable arrays by ID).
|
|
33
|
-
* - Pair with a stable `keyExtractor` in lists so coalesced updates map cleanly to rows.
|
|
34
|
-
* - Do not cancel/reschedule on prop changes; cancellation is handled on unmount only.
|
|
35
|
-
*
|
|
36
|
-
* @param value The upstream value that may change multiple times within a single frame.
|
|
37
|
-
* @param isEnabled Determines whether the hook should be run or not (useful for cases where
|
|
38
|
-
* we want to conditionally use RAF when certain feature feature flags are enabled). If `false`,
|
|
39
|
-
* it will simply pass the data through (maintaining the reference as well).
|
|
40
|
-
* @returns A value that updates **at most once per frame** with the latest input.
|
|
11
|
+
* @param value The upstream value that may change several times within a frame.
|
|
12
|
+
* @param isEnabled When false, `value` is returned as is with the same reference, to gate the RAF
|
|
13
|
+
* behind a feature flag.
|
|
14
|
+
* @returns The latest value, updated at most once per frame.
|
|
41
15
|
*/
|
|
42
16
|
export declare const useRAFCoalescedValue: <S>(value: S, isEnabled: boolean | undefined) => S;
|
|
43
17
|
//# sourceMappingURL=useRAFCoalescedValue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useRAFCoalescedValue.d.ts","sourceRoot":"","sources":["../../../src/hooks/useRAFCoalescedValue.ts"],"names":[],"mappings":"AAEA
|
|
1
|
+
{"version":3,"file":"useRAFCoalescedValue.d.ts","sourceRoot":"","sources":["../../../src/hooks/useRAFCoalescedValue.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,oBAAoB,GAAI,CAAC,EAAE,OAAO,CAAC,EAAE,WAAW,OAAO,GAAG,SAAS,KAAG,CAkClF,CAAC"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
*
|
|
4
|
-
*
|
|
2
|
+
* Returns `vh` and `vw` helpers that convert a percentage of the screen height or width to points,
|
|
3
|
+
* updating when the screen dimensions change.
|
|
4
|
+
*
|
|
5
|
+
* @param rounded Rounds the results to whole points. Defaults to false.
|
|
5
6
|
*
|
|
6
7
|
* @deprecated These are percentages of the *screen*, not of the window the app is laid out in. The
|
|
7
8
|
* two diverge once the window is resizable (Split View, fold/unfold, Android multi-window): we
|
|
@@ -10,7 +11,7 @@
|
|
|
10
11
|
* Use {@link useViewport}, the same API measured against the window, or `onLayout` on your own view
|
|
11
12
|
* inside a component that does not fill the window.
|
|
12
13
|
*
|
|
13
|
-
* @returns
|
|
14
|
+
* @returns An object with the `vh` and `vw` functions.
|
|
14
15
|
*/
|
|
15
16
|
export declare const useScreenDimensions: (rounded?: boolean) => {
|
|
16
17
|
vh: (percentageHeight: number) => number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useScreenDimensions.d.ts","sourceRoot":"","sources":["../../../src/hooks/useScreenDimensions.ts"],"names":[],"mappings":"AAGA
|
|
1
|
+
{"version":3,"file":"useScreenDimensions.d.ts","sourceRoot":"","sources":["../../../src/hooks/useScreenDimensions.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,mBAAmB,GAAI,UAAU,OAAO;2BAiC9B,MAAM;0BARP,MAAM;CAgB3B,CAAC"}
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
export type ScreenOrientation = 'landscape' | 'portrait';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
4
|
-
* dimensions. It updates automatically on device rotation via
|
|
5
|
-
* `useWindowDimensions`.
|
|
3
|
+
* Derives the orientation from the window dimensions, updating on rotation.
|
|
6
4
|
*
|
|
7
|
-
* @returns
|
|
5
|
+
* @returns `'landscape'` when the window is wider than tall, otherwise `'portrait'`.
|
|
8
6
|
*/
|
|
9
7
|
export declare const useScreenOrientation: () => ScreenOrientation;
|
|
10
8
|
//# sourceMappingURL=useScreenOrientation.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useScreenOrientation.d.ts","sourceRoot":"","sources":["../../../src/hooks/useScreenOrientation.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,iBAAiB,GAAG,WAAW,GAAG,UAAU,CAAC;AAEzD
|
|
1
|
+
{"version":3,"file":"useScreenOrientation.d.ts","sourceRoot":"","sources":["../../../src/hooks/useScreenOrientation.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,iBAAiB,GAAG,WAAW,GAAG,UAAU,CAAC;AAEzD;;;;GAIG;AACH,eAAO,MAAM,oBAAoB,QAAO,iBAGvC,CAAC"}
|
|
@@ -1,26 +1,16 @@
|
|
|
1
1
|
export type StableCallback<A extends unknown[], R> = (...args: A) => R;
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
* the value of the callback if it does return one.
|
|
7
|
-
* A common use-case would be having a function whose invocation depends on state
|
|
8
|
-
* somewhere high up in the DOM tree and wanting to use the same function deeper
|
|
9
|
-
* down, for example in a leaf node and simply using useCallback results in
|
|
10
|
-
* cascading dependency hell. If we wrap it in useStableCallback, we would be able
|
|
11
|
-
* to:
|
|
12
|
-
* - Use the same function as a dependency of another hook (since it is stable)
|
|
13
|
-
* - Still invoke it and get the latest state
|
|
3
|
+
* Returns a function with a stable reference that always calls the latest `callback` and returns
|
|
4
|
+
* its result. It can be a dependency of other hooks without invalidating them on every parent
|
|
5
|
+
* render.
|
|
14
6
|
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
* and cascading rereders in downstream components - **not** as an escape hatch)
|
|
23
|
-
* @param callback - the callback we want to stabilize
|
|
7
|
+
* Do not wrap a function that returns elements (such as FlatList's `renderItem`): React would not
|
|
8
|
+
* see an update when the callback changes. Prefer a plain `useCallback` where it works; this
|
|
9
|
+
* bridges top-level contexts and cascading re-renders in downstream components and is not an
|
|
10
|
+
* escape hatch.
|
|
11
|
+
*
|
|
12
|
+
* @param callback The callback to stabilize.
|
|
13
|
+
* @returns The stable callback.
|
|
24
14
|
*/
|
|
25
15
|
export declare const useStableCallback: <A extends unknown[], R>(callback: StableCallback<A, R>) => StableCallback<A, R>;
|
|
26
16
|
//# sourceMappingURL=useStableCallback.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useStableCallback.d.ts","sourceRoot":"","sources":["../../../src/hooks/useStableCallback.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,cAAc,CAAC,CAAC,SAAS,OAAO,EAAE,EAAE,CAAC,IAAI,CAAC,GAAG,IAAI,EAAE,CAAC,KAAK,CAAC,CAAC;AAEvE
|
|
1
|
+
{"version":3,"file":"useStableCallback.d.ts","sourceRoot":"","sources":["../../../src/hooks/useStableCallback.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,cAAc,CAAC,CAAC,SAAS,OAAO,EAAE,EAAE,CAAC,IAAI,CAAC,GAAG,IAAI,EAAE,CAAC,KAAK,CAAC,CAAC;AAEvE;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,iBAAiB,GAAI,CAAC,SAAS,OAAO,EAAE,EAAE,CAAC,EACtD,UAAU,cAAc,CAAC,CAAC,EAAE,CAAC,CAAC,KAC7B,cAAc,CAAC,CAAC,EAAE,CAAC,CAOrB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useStreami18n.d.ts","sourceRoot":"","sources":["../../../src/hooks/useStreami18n.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sCAAsC,CAAC;AAGhF,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"useStreami18n.d.ts","sourceRoot":"","sources":["../../../src/hooks/useStreami18n.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sCAAsC,CAAC;AAGhF,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAYtD,eAAO,MAAM,aAAa,GAAI,eAAe,UAAU,KAAG,mBASzD,CAAC"}
|
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
import type { LocalMessage, MessageResponse } from 'stream-chat';
|
|
2
2
|
/**
|
|
3
|
-
* `message` with its text swapped for the auto-translation into `userLanguage`,
|
|
3
|
+
* Returns a copy of `message` with its text swapped for the auto-translation into `userLanguage`,
|
|
4
|
+
* when there is one. Deleted messages keep their text.
|
|
5
|
+
*
|
|
6
|
+
* @param message The message to translate.
|
|
7
|
+
* @param userLanguage The language to translate into.
|
|
8
|
+
* @returns The message copy, or `undefined` without a message.
|
|
4
9
|
*/
|
|
5
10
|
export declare const getTranslatedMessage: (message: LocalMessage | MessageResponse | undefined, userLanguage: string) => {
|
|
6
11
|
text: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useTranslatedMessage.d.ts","sourceRoot":"","sources":["../../../src/hooks/useTranslatedMessage.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"useTranslatedMessage.d.ts","sourceRoot":"","sources":["../../../src/hooks/useTranslatedMessage.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAWjE;;;;;;;GAOG;AACH,eAAO,MAAM,oBAAoB,GAC/B,SAAS,YAAY,GAAG,eAAe,GAAG,SAAS,EACnD,cAAc,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;aAgBrB,CAAC;AAEF,eAAO,MAAM,oBAAoB,GAAI,UAAU,YAAY,GAAG,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;aAI5E,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
*
|
|
4
|
-
* dynamically updates dimensions on changes in device orientation.
|
|
2
|
+
* Returns `vh` and `vw` helpers that convert a percentage of the window height or width to points,
|
|
3
|
+
* updating when the window dimensions change.
|
|
5
4
|
*
|
|
6
|
-
* @
|
|
5
|
+
* @param rounded Rounds the results to whole points. Defaults to false.
|
|
6
|
+
* @returns An object with the `vh` and `vw` functions.
|
|
7
7
|
*/
|
|
8
8
|
export declare const useViewport: (rounded?: boolean) => {
|
|
9
9
|
vh: (percentageHeight: number) => number;
|
|
@@ -1,21 +1,19 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Width available to a surface that spans the window, minus the horizontal safe area.
|
|
3
3
|
*
|
|
4
|
-
*
|
|
5
|
-
* anything sized from it
|
|
6
|
-
* rotation or a fold.
|
|
4
|
+
* The width is computed rather than measured: `onLayout` reports a frame after the window resizes,
|
|
5
|
+
* so anything sized from it (such as grid tiles) resizes a frame late on rotation or fold.
|
|
7
6
|
*
|
|
8
|
-
* The frame comes from `useSafeAreaFrame`, not `useWindowDimensions`: the frame and the insets
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
* URL from it, an extra fetch).
|
|
7
|
+
* The frame comes from `useSafeAreaFrame`, not `useWindowDimensions`: the frame and the insets
|
|
8
|
+
* arrive in the same native event and update in one render. Mixing `Dimensions` with the insets
|
|
9
|
+
* lands the width a render before the insets, giving an extra intermediate size (and an extra fetch
|
|
10
|
+
* for anything that derives an image URL from it).
|
|
13
11
|
*
|
|
14
|
-
* Assumes the caller fills the window. A component
|
|
15
|
-
*
|
|
16
|
-
* that comes with measuring.
|
|
12
|
+
* Assumes the caller fills the window. A component inside a narrower container passes that
|
|
13
|
+
* container's width via `containerWidth`.
|
|
17
14
|
*
|
|
18
15
|
* @param containerWidth Width of the surface, when it is known and narrower than the window.
|
|
16
|
+
* @returns The available width.
|
|
19
17
|
*
|
|
20
18
|
* @example
|
|
21
19
|
* const contentWidth = useWindowContentWidth();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useWindowContentWidth.d.ts","sourceRoot":"","sources":["../../../src/hooks/useWindowContentWidth.ts"],"names":[],"mappings":"AAEA
|
|
1
|
+
{"version":3,"file":"useWindowContentWidth.d.ts","sourceRoot":"","sources":["../../../src/hooks/useWindowContentWidth.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,eAAO,MAAM,qBAAqB,GAAI,iBAAiB,MAAM,WAK5D,CAAC"}
|