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 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_dayjs","_interopRequireDefault","require","_emojiRegex","FileState","exports","Object","freeze","BLOCKED","FAILED","FINISHED","PENDING","UPLOADING","ProgressIndicatorTypes","IN_PROGRESS","INACTIVE","NOT_SUPPORTED","RETRY","MessageStatusTypes","DELIVERED","RECEIVED","SENDING","getIndicatorTypeForFileState","fileState","pendingUploadsEnabled","indicatorMap","isBlockedMessage","message","_message$moderation","type","moderation","action","isBouncedMessage","_message$moderation2","isEditedMessage","message_text_updated_at","makeImageCompatibleUrl","url","indexOf","trim","getUrlWithoutParams","indexOfQuestion","substring","isLocalUrl","test","generateRandomId","a","Number","Math","random","toString","replace","hasOnlyEmojis","text","emojiOnlyString","matchAll","EmojiRegex","join","originalTextWithNoSpaces","replaceAll","length","e","stringifyMessage","includeReactions","attachments","deleted_at","i18n","latest_reactions","reaction_groups","reply_count","updated_at","status","undefined","baseFieldsString","JSON","stringify","map","user","id","entries","flatMap","count","first_reaction_at","last_reaction_at","getFileNameFromPath","path","pattern","match","getDurationLabelFromDuration","duration","ONE_HOUR_IN_SECONDS","ONE_HOUR_IN_MILLISECONDS","durationLabel","isDurationLongerThanHour","formattedDurationParam","formattedVideoDuration","dayjs","format","formatMsToMinSec","ms","totalSeconds","max","floor","totalMinutes","totalHours","escapeRegExp","checkMessageEquality","prevMessage","nextMessage","prevMessageExists","nextMessageExists","prevStatus","nextStatus","messageEqual","pinned","checkQuotedMessageEquality","prevQuotedMessage","nextQuotedMessage","prevQuotedMessageExists","nextQuotedMessageExists","quotedMessageEqual","getInitialsFromName","name","numberOfInitials","trimmed","split","slice","n","charAt","toUpperCase","hashStringToNumber","str","_Math$abs","hash","i","charCodeAt","abs","getFileSizeDisplayText","size","parseFloat"],"sourceRoot":"../../../src","sources":["utils/utils.ts"],"mappings":";;;;;;;AAEA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,WAAA,GAAAF,sBAAA,CAAAC,OAAA;AAiBO,IAAME,SAAS,GAAAC,OAAA,CAAAD,SAA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A,sBAAA","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["_dayjs","_interopRequireDefault","require","_emojiRegex","FileState","exports","Object","freeze","BLOCKED","FAILED","FINISHED","PENDING","UPLOADING","ProgressIndicatorTypes","IN_PROGRESS","INACTIVE","NOT_SUPPORTED","RETRY","MessageStatusTypes","DELIVERED","RECEIVED","SENDING","getIndicatorTypeForFileState","fileState","pendingUploadsEnabled","indicatorMap","isBlockedMessage","message","_message$moderation","type","moderation","action","isBouncedMessage","_message$moderation2","isEditedMessage","message_text_updated_at","makeImageCompatibleUrl","url","indexOf","trim","getUrlWithoutParams","indexOfQuestion","substring","isLocalUrl","test","generateRandomId","a","Number","Math","random","toString","replace","hasOnlyEmojis","text","emojiOnlyString","matchAll","EmojiRegex","join","originalTextWithNoSpaces","replaceAll","length","e","stringifyMessage","includeReactions","attachments","deleted_at","i18n","latest_reactions","reaction_groups","reply_count","updated_at","status","undefined","baseFieldsString","JSON","stringify","map","user","id","entries","flatMap","count","first_reaction_at","last_reaction_at","getFileNameFromPath","path","pattern","match","getDurationLabelFromDuration","duration","ONE_HOUR_IN_SECONDS","ONE_HOUR_IN_MILLISECONDS","durationLabel","isDurationLongerThanHour","formattedDurationParam","formattedVideoDuration","dayjs","format","formatMsToMinSec","ms","totalSeconds","max","floor","totalMinutes","totalHours","escapeRegExp","checkMessageEquality","prevMessage","nextMessage","prevMessageExists","nextMessageExists","prevStatus","nextStatus","messageEqual","pinned","checkQuotedMessageEquality","prevQuotedMessage","nextQuotedMessage","prevQuotedMessageExists","nextQuotedMessageExists","quotedMessageEqual","getInitialsFromName","name","numberOfInitials","trimmed","split","slice","n","charAt","toUpperCase","hashStringToNumber","str","hash","i","charCodeAt","abs","getFileSizeDisplayText","size","parseFloat"],"sourceRoot":"../../../src","sources":["utils/utils.ts"],"mappings":";;;;;;;AAEA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,WAAA,GAAAF,sBAAA,CAAAC,OAAA;AAgB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
package/lib/module/version.json
CHANGED
|
@@ -1,12 +1,19 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
*
|
|
4
|
-
*
|
|
2
|
+
* Joins the non-empty `parts` into one accessibility label, separated by commas so screen readers
|
|
3
|
+
* pause between segments.
|
|
4
|
+
*
|
|
5
|
+
* @param parts Label segments; empty strings and non-strings are dropped.
|
|
6
|
+
* @returns The joined label, or an empty string when no part remains.
|
|
5
7
|
*/
|
|
6
8
|
export declare const composeAccessibilityLabel: (...parts: Array<string | null | undefined | false>) => string;
|
|
7
9
|
/**
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
+
* Builds the `accessibilityValue` object for progress and seek surfaces.
|
|
11
|
+
*
|
|
12
|
+
* @param params.max Upper bound of the range.
|
|
13
|
+
* @param params.min Lower bound of the range. Defaults to 0.
|
|
14
|
+
* @param params.now Current value, clamped to `[min, max]`.
|
|
15
|
+
* @param params.text Optional spoken description, omitted from the result when empty.
|
|
16
|
+
* @returns The `accessibilityValue` object.
|
|
10
17
|
*/
|
|
11
18
|
export declare const formatAccessibilityValue: ({ max, min, now, text, }: {
|
|
12
19
|
max: number;
|
|
@@ -19,13 +26,16 @@ export declare const formatAccessibilityValue: ({ max, min, now, text, }: {
|
|
|
19
26
|
now: number;
|
|
20
27
|
text?: string;
|
|
21
28
|
};
|
|
22
|
-
/**
|
|
23
|
-
* Merge two `accessibilityActions` arrays, deduplicating by `name` (later wins).
|
|
24
|
-
*/
|
|
25
29
|
type A11yAction = Readonly<{
|
|
26
30
|
name: string;
|
|
27
31
|
label?: string;
|
|
28
32
|
}>;
|
|
33
|
+
/**
|
|
34
|
+
* Merges `accessibilityActions` lists, deduplicating by `name` (the later list wins).
|
|
35
|
+
*
|
|
36
|
+
* @param actionLists Lists of actions; `undefined` entries are skipped.
|
|
37
|
+
* @returns The merged actions, in first-seen order of their `name`.
|
|
38
|
+
*/
|
|
29
39
|
export declare const mergeAccessibilityActions: (...actionLists: Array<ReadonlyArray<A11yAction> | undefined>) => A11yAction[];
|
|
30
40
|
export {};
|
|
31
41
|
//# sourceMappingURL=a11yUtils.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"a11yUtils.d.ts","sourceRoot":"","sources":["../../../src/a11y/a11yUtils.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"a11yUtils.d.ts","sourceRoot":"","sources":["../../../src/a11y/a11yUtils.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,eAAO,MAAM,yBAAyB,GACpC,GAAG,OAAO,KAAK,CAAC,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,KAAK,CAAC,KACjD,MAA4F,CAAC;AAEhG;;;;;;;;GAQG;AACH,eAAO,MAAM,wBAAwB,GAAI,0BAKtC;IACD,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,KAAG;IAAE,GAAG,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,MAAM,CAAC;IAAC,IAAI,CAAC,EAAE,MAAM,CAAA;CAQzD,CAAC;AAEF,KAAK,UAAU,GAAG,QAAQ,CAAC;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC,CAAC;AAE7D;;;;;GAKG;AACH,eAAO,MAAM,yBAAyB,GACpC,GAAG,aAAa,KAAK,CAAC,aAAa,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,KAC3D,UAAU,EASZ,CAAC"}
|
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Returns the translated
|
|
3
|
-
*
|
|
4
|
-
* `accessibilityLabel` so the i18n lookup is skipped on hot list paths in the
|
|
5
|
-
* default disabled-state.
|
|
2
|
+
* Returns the translated accessibility label for `key`, or `undefined` when accessibility is
|
|
3
|
+
* disabled, so the i18n lookup is skipped on hot list paths.
|
|
6
4
|
*
|
|
7
5
|
* Example:
|
|
8
6
|
* const labelParams = useMemo(() => ({ name }), [name]);
|
|
9
|
-
* const label = useA11yLabel('
|
|
7
|
+
* const label = useA11yLabel('avatar.accessibilityLabel', labelParams);
|
|
10
8
|
* <Image accessibilityLabel={label} />
|
|
9
|
+
*
|
|
10
|
+
* @param key Translation key, such as `avatar.accessibilityLabel`.
|
|
11
|
+
* @param params Interpolation values for the translation.
|
|
12
|
+
* @returns The label to pass to `accessibilityLabel`.
|
|
11
13
|
*/
|
|
12
14
|
export declare const useA11yLabel: (key: string, params?: Record<string, unknown>) => string | undefined;
|
|
13
15
|
//# sourceMappingURL=useA11yLabel.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useA11yLabel.d.ts","sourceRoot":"","sources":["../../../../src/a11y/hooks/useA11yLabel.ts"],"names":[],"mappings":"AAMA
|
|
1
|
+
{"version":3,"file":"useA11yLabel.d.ts","sourceRoot":"","sources":["../../../../src/a11y/hooks/useA11yLabel.ts"],"names":[],"mappings":"AAMA;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,YAAY,GAAI,KAAK,MAAM,EAAE,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAG,MAAM,GAAG,SAMrF,CAAC"}
|
|
@@ -8,10 +8,13 @@ export type UseAccessibilityActivateActionResult = {
|
|
|
8
8
|
onAccessibilityAction?: ViewProps['onAccessibilityAction'];
|
|
9
9
|
} | undefined;
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
11
|
+
* Returns the screen-reader `activate` accessibility action for a pressable, wired to `onPress`.
|
|
12
|
+
* Some Android pressables do not map the TalkBack double-tap to `onPress`.
|
|
13
|
+
*
|
|
14
|
+
* @param params.onPress Press handler invoked on `activate`.
|
|
15
|
+
* @param params.shouldHandleActivate Opts the pressable in. Defaults to false.
|
|
16
|
+
* @returns The action props to spread on the pressable, or `undefined` when accessibility is
|
|
17
|
+
* disabled, the opt-in is off or there is no `onPress`.
|
|
15
18
|
*/
|
|
16
19
|
export declare const useAccessibilityActivateAction: <TPressEvent>({ onPress, shouldHandleActivate, }: UseAccessibilityActivateActionProps<TPressEvent>) => UseAccessibilityActivateActionResult;
|
|
17
20
|
//# sourceMappingURL=useAccessibilityActivateAction.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useAccessibilityActivateAction.d.ts","sourceRoot":"","sources":["../../../../src/a11y/hooks/useAccessibilityActivateAction.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAA4B,SAAS,EAAE,MAAM,cAAc,CAAC;AAIxE,MAAM,MAAM,mCAAmC,CAAC,WAAW,IAAI;IAC7D,OAAO,CAAC,EAAE,CAAC,CAAC,KAAK,EAAE,WAAW,KAAK,IAAI,CAAC,GAAG,IAAI,CAAC;IAChD,oBAAoB,CAAC,EAAE,OAAO,CAAC;CAChC,CAAC;AAEF,MAAM,MAAM,oCAAoC,GAC5C;IACE,oBAAoB,CAAC,EAAE,SAAS,CAAC,sBAAsB,CAAC,CAAC;IACzD,qBAAqB,CAAC,EAAE,SAAS,CAAC,uBAAuB,CAAC,CAAC;CAC5D,GACD,SAAS,CAAC;AAMd
|
|
1
|
+
{"version":3,"file":"useAccessibilityActivateAction.d.ts","sourceRoot":"","sources":["../../../../src/a11y/hooks/useAccessibilityActivateAction.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAA4B,SAAS,EAAE,MAAM,cAAc,CAAC;AAIxE,MAAM,MAAM,mCAAmC,CAAC,WAAW,IAAI;IAC7D,OAAO,CAAC,EAAE,CAAC,CAAC,KAAK,EAAE,WAAW,KAAK,IAAI,CAAC,GAAG,IAAI,CAAC;IAChD,oBAAoB,CAAC,EAAE,OAAO,CAAC;CAChC,CAAC;AAEF,MAAM,MAAM,oCAAoC,GAC5C;IACE,oBAAoB,CAAC,EAAE,SAAS,CAAC,sBAAsB,CAAC,CAAC;IACzD,qBAAqB,CAAC,EAAE,SAAS,CAAC,uBAAuB,CAAC,CAAC;CAC5D,GACD,SAAS,CAAC;AAMd;;;;;;;;GAQG;AACH,eAAO,MAAM,8BAA8B,GAAI,WAAW,EAAE,oCAGzD,mCAAmC,CAAC,WAAW,CAAC,KAAG,oCAcrD,CAAC"}
|
|
@@ -1,20 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Tracks whether any Android accessibility service is running (TalkBack, Switch Access, Voice
|
|
3
|
+
* Access and so on, not only screen readers).
|
|
3
4
|
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
* screen readers. The signal is Android only; iOS doesn't expose it (and doesn't need to,
|
|
7
|
-
* since the SDK's iOS overlay trap uses `accessibilityViewIsModal`).
|
|
5
|
+
* React Native emits no change event for this signal, so the state is refreshed on
|
|
6
|
+
* `screenReaderChanged` and when the app returns to the foreground.
|
|
8
7
|
*
|
|
9
|
-
*
|
|
10
|
-
* re-polls when the app returns to the foreground - which is the realistic path for a
|
|
11
|
-
* user toggling Accessibility settings and coming back to the app. The most common
|
|
12
|
-
* single service change (TalkBack on/off) is also covered by the `screenReaderChanged`
|
|
13
|
-
* listener.
|
|
14
|
-
*
|
|
15
|
-
* Returns false on non-Android platforms without subscribing.
|
|
16
|
-
* Returns false when the `AccessibilityContext` is disabled so consumers don't pay the
|
|
17
|
-
* listener cost when the SDK's a11y is opted out.
|
|
8
|
+
* @returns Whether a service is running. Always false on iOS and when accessibility is disabled.
|
|
18
9
|
*/
|
|
19
10
|
export declare const useAccessibilityServiceEnabled: () => boolean;
|
|
20
11
|
//# sourceMappingURL=useAccessibilityServiceEnabled.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useAccessibilityServiceEnabled.d.ts","sourceRoot":"","sources":["../../../../src/a11y/hooks/useAccessibilityServiceEnabled.ts"],"names":[],"mappings":"AAKA
|
|
1
|
+
{"version":3,"file":"useAccessibilityServiceEnabled.d.ts","sourceRoot":"","sources":["../../../../src/a11y/hooks/useAccessibilityServiceEnabled.ts"],"names":[],"mappings":"AAKA;;;;;;;;GAQG;AACH,eAAO,MAAM,8BAA8B,QAAO,OA0CjD,CAAC"}
|
|
@@ -4,17 +4,14 @@ type Options = {
|
|
|
4
4
|
priority?: 'polite' | 'assertive';
|
|
5
5
|
};
|
|
6
6
|
/**
|
|
7
|
-
* Announces `message`
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* dedupes consecutive identical strings.
|
|
7
|
+
* Announces `message` each time `visible` flips from false to true, for transient surfaces such as
|
|
8
|
+
* modals and bottom sheets. Hiding the surface re-arms the announcement. Does nothing while
|
|
9
|
+
* `message` is `undefined`.
|
|
11
10
|
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
* When `message` is undefined (typically because `useA11yLabel` returned
|
|
17
|
-
* undefined — a11y disabled or key missing), the hook is a no-op.
|
|
11
|
+
* @param visible Whether the surface is shown.
|
|
12
|
+
* @param message Text to announce.
|
|
13
|
+
* @param params.delayMs Delay before announcing. Defaults to 500.
|
|
14
|
+
* @param params.priority Announcement priority. Defaults to `polite`.
|
|
18
15
|
*/
|
|
19
16
|
export declare const useAnnounceOnShow: (visible: boolean, message: string | undefined, { delayMs, priority }?: Options) => void;
|
|
20
17
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useAnnounceOnShow.d.ts","sourceRoot":"","sources":["../../../../src/a11y/hooks/useAnnounceOnShow.ts"],"names":[],"mappings":"AAIA,KAAK,OAAO,GAAG;IACb,4EAA4E;IAC5E,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,QAAQ,GAAG,WAAW,CAAC;CACnC,CAAC;AAEF
|
|
1
|
+
{"version":3,"file":"useAnnounceOnShow.d.ts","sourceRoot":"","sources":["../../../../src/a11y/hooks/useAnnounceOnShow.ts"],"names":[],"mappings":"AAIA,KAAK,OAAO,GAAG;IACb,4EAA4E;IAC5E,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,QAAQ,GAAG,WAAW,CAAC;CACnC,CAAC;AAEF;;;;;;;;;GASG;AACH,eAAO,MAAM,iBAAiB,GAC5B,SAAS,OAAO,EAChB,SAAS,MAAM,GAAG,SAAS,EAC3B,wBAAwC,OAAY,SAiBrD,CAAC"}
|
|
@@ -3,11 +3,12 @@ type UseAnnounceOnStateChangeOptions = {
|
|
|
3
3
|
priority?: 'polite' | 'assertive';
|
|
4
4
|
};
|
|
5
5
|
/**
|
|
6
|
-
* Announces `message` whenever it changes
|
|
7
|
-
*
|
|
6
|
+
* Announces `message` whenever it changes to a new non-empty value, debounced so rapid transitions
|
|
7
|
+
* do not flood the screen reader. Repeating the last announced message is skipped.
|
|
8
8
|
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
9
|
+
* @param message Text to announce.
|
|
10
|
+
* @param options.debounceMs Debounce before announcing. Defaults to 250.
|
|
11
|
+
* @param options.priority Announcement priority. Defaults to `polite`.
|
|
11
12
|
*/
|
|
12
13
|
export declare const useAnnounceOnStateChange: (message: string | null | undefined, options?: UseAnnounceOnStateChangeOptions) => void;
|
|
13
14
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useAnnounceOnStateChange.d.ts","sourceRoot":"","sources":["../../../../src/a11y/hooks/useAnnounceOnStateChange.ts"],"names":[],"mappings":"AAOA,KAAK,+BAA+B,GAAG;IACrC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,QAAQ,GAAG,WAAW,CAAC;CACnC,CAAC;AAEF
|
|
1
|
+
{"version":3,"file":"useAnnounceOnStateChange.d.ts","sourceRoot":"","sources":["../../../../src/a11y/hooks/useAnnounceOnStateChange.ts"],"names":[],"mappings":"AAOA,KAAK,+BAA+B,GAAG;IACrC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,QAAQ,GAAG,WAAW,CAAC;CACnC,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,wBAAwB,GACnC,SAAS,MAAM,GAAG,IAAI,GAAG,SAAS,EAClC,UAAS,+BAAoC,SAyB9C,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
*
|
|
2
|
+
* Tracks the OS reduce-motion setting.
|
|
3
|
+
*
|
|
4
|
+
* @returns Whether reduce motion is on. Always false when accessibility is disabled.
|
|
4
5
|
*/
|
|
5
6
|
export declare const useReducedMotionPreference: () => boolean;
|
|
6
7
|
//# sourceMappingURL=useReducedMotionPreference.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useReducedMotionPreference.d.ts","sourceRoot":"","sources":["../../../../src/a11y/hooks/useReducedMotionPreference.ts"],"names":[],"mappings":"AAKA
|
|
1
|
+
{"version":3,"file":"useReducedMotionPreference.d.ts","sourceRoot":"","sources":["../../../../src/a11y/hooks/useReducedMotionPreference.ts"],"names":[],"mappings":"AAKA;;;;GAIG;AACH,eAAO,MAAM,0BAA0B,QAAO,OA4B7C,CAAC"}
|
|
@@ -4,15 +4,11 @@ export type ResolvedModalAccessibilityProps = {
|
|
|
4
4
|
accessibilityRole?: 'none' | 'button' | 'image' | 'text' | 'alert' | 'menu' | 'menuitem';
|
|
5
5
|
};
|
|
6
6
|
/**
|
|
7
|
-
* Returns the
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* - iOS uses `accessibilityViewIsModal` to trap focus.
|
|
11
|
-
* - Android uses `importantForAccessibility="yes"` on the modal root and
|
|
12
|
-
* `"no-hide-descendants"` on background siblings (caller's responsibility).
|
|
7
|
+
* Returns the accessibility props for a modal or sheet root: `accessibilityViewIsModal` on iOS
|
|
8
|
+
* to trap focus, `importantForAccessibility="yes"` on Android. On Android the caller must also set
|
|
9
|
+
* `"no-hide-descendants"` on background siblings.
|
|
13
10
|
*
|
|
14
|
-
*
|
|
15
|
-
* stays a no-op for integrators that haven't opted in.
|
|
11
|
+
* @returns The props to spread on the root, or an empty object when accessibility is disabled.
|
|
16
12
|
*/
|
|
17
13
|
export declare const useResolvedModalAccessibilityProps: () => ResolvedModalAccessibilityProps;
|
|
18
14
|
//# sourceMappingURL=useResolvedModalAccessibilityProps.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useResolvedModalAccessibilityProps.d.ts","sourceRoot":"","sources":["../../../../src/a11y/hooks/useResolvedModalAccessibilityProps.ts"],"names":[],"mappings":"AAIA,MAAM,MAAM,+BAA+B,GAAG;IAC5C,wBAAwB,CAAC,EAAE,OAAO,CAAC;IACnC,yBAAyB,CAAC,EAAE,MAAM,GAAG,KAAK,GAAG,IAAI,GAAG,qBAAqB,CAAC;IAC1E,iBAAiB,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,OAAO,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,GAAG,UAAU,CAAC;CAC1F,CAAC;AAEF
|
|
1
|
+
{"version":3,"file":"useResolvedModalAccessibilityProps.d.ts","sourceRoot":"","sources":["../../../../src/a11y/hooks/useResolvedModalAccessibilityProps.ts"],"names":[],"mappings":"AAIA,MAAM,MAAM,+BAA+B,GAAG;IAC5C,wBAAwB,CAAC,EAAE,OAAO,CAAC;IACnC,yBAAyB,CAAC,EAAE,MAAM,GAAG,KAAK,GAAG,IAAI,GAAG,qBAAqB,CAAC;IAC1E,iBAAiB,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,OAAO,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,GAAG,UAAU,CAAC;CAC1F,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,kCAAkC,QAAO,+BAQrD,CAAC"}
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
* Returns false when the AccessibilityContext is disabled, regardless of the OS state,
|
|
4
|
-
* so consumers don't pay the listener cost when the SDK's a11y is opted out.
|
|
2
|
+
* Reads the screen-reader state from the app-wide {@link ScreenReaderContext}.
|
|
5
3
|
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
4
|
+
* @returns Whether a screen reader is on. False when accessibility is disabled, whatever the OS
|
|
5
|
+
* reports; true when `forceScreenReaderMode` is set in the accessibility config.
|
|
8
6
|
*/
|
|
9
7
|
export declare const useScreenReaderEnabled: () => boolean;
|
|
10
8
|
//# sourceMappingURL=useScreenReaderEnabled.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useScreenReaderEnabled.d.ts","sourceRoot":"","sources":["../../../../src/a11y/hooks/useScreenReaderEnabled.ts"],"names":[],"mappings":"AAGA
|
|
1
|
+
{"version":3,"file":"useScreenReaderEnabled.d.ts","sourceRoot":"","sources":["../../../../src/a11y/hooks/useScreenReaderEnabled.ts"],"names":[],"mappings":"AAGA;;;;;GAKG;AACH,eAAO,MAAM,sBAAsB,QAAO,OAOzC,CAAC"}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { type AccessibilityFocusTarget } from './useSetAccessibilityFocus';
|
|
2
2
|
/**
|
|
3
|
-
* Moves the screen reader cursor onto `target`
|
|
4
|
-
* screen reader state resolves,
|
|
5
|
-
*
|
|
3
|
+
* Moves the screen reader cursor onto `target` on mount, and again once the asynchronously detected
|
|
4
|
+
* screen reader state resolves. Like {@link useSetAccessibilityFocus}, it only moves focus.
|
|
5
|
+
*
|
|
6
|
+
* @param target The ref or native node handle to focus.
|
|
6
7
|
*/
|
|
7
8
|
export declare const useScreenReaderMountFocus: (target: AccessibilityFocusTarget) => void;
|
|
8
9
|
//# sourceMappingURL=useScreenReaderMountFocus.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useScreenReaderMountFocus.d.ts","sourceRoot":"","sources":["../../../../src/a11y/hooks/useScreenReaderMountFocus.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,KAAK,wBAAwB,EAE9B,MAAM,4BAA4B,CAAC;AAEpC
|
|
1
|
+
{"version":3,"file":"useScreenReaderMountFocus.d.ts","sourceRoot":"","sources":["../../../../src/a11y/hooks/useScreenReaderMountFocus.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,KAAK,wBAAwB,EAE9B,MAAM,4BAA4B,CAAC;AAEpC;;;;;GAKG;AACH,eAAO,MAAM,yBAAyB,GAAI,QAAQ,wBAAwB,SAOzE,CAAC"}
|
|
@@ -1,28 +1,16 @@
|
|
|
1
1
|
import { type RefObject } from 'react';
|
|
2
|
-
/**
|
|
3
|
-
* Something the screen reader cursor can be moved onto: a ref (whose `.current` is
|
|
4
|
-
* read at call time), a raw native node handle, or nothing.
|
|
5
|
-
*/
|
|
2
|
+
/** A ref (its `.current` is read at call time), a native node handle, or nothing. */
|
|
6
3
|
export type AccessibilityFocusTarget = RefObject<unknown> | number | null | undefined;
|
|
7
4
|
/**
|
|
8
|
-
* Returns a stable callback that moves the screen reader cursor onto a
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* responder. The user still double taps to act on whatever is focused.
|
|
12
|
-
*
|
|
13
|
-
* The target's `.current` is read at call time, so this is safe to wire into a
|
|
14
|
-
* deferred/event callback.
|
|
5
|
+
* Returns a stable callback that moves the screen reader cursor onto a target on the next frame.
|
|
6
|
+
* It only moves accessibility focus: it opens no keyboard and does not activate the target.
|
|
7
|
+
* Does nothing unless a screen reader is running (see {@link useScreenReaderEnabled}).
|
|
15
8
|
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
9
|
+
* Focus set on mount only sticks on Android forward navigation. On iOS forward navigation and on
|
|
10
|
+
* back navigation, set it after the screen transition completes (React Navigation's
|
|
11
|
+
* `transitionEnd`); {@link useScreenReaderMountFocus} covers the mount case.
|
|
19
12
|
*
|
|
20
|
-
*
|
|
21
|
-
* set on mount, whereas iOS forward navigation and back navigation on both
|
|
22
|
-
* platforms need it set after the screen transition completes (React Navigation's
|
|
23
|
-
* `transitionEnd`). {@link useScreenReaderMountFocus} covers the mount case; wire
|
|
24
|
-
* `transitionEnd` yourself for the rest (the SampleApp's
|
|
25
|
-
* `useScreenReaderComposerFocusEffect` is a reference implementation).
|
|
13
|
+
* @returns A callback taking the {@link AccessibilityFocusTarget} to focus.
|
|
26
14
|
*/
|
|
27
15
|
export declare const useSetAccessibilityFocus: () => (target: AccessibilityFocusTarget) => void;
|
|
28
16
|
//# sourceMappingURL=useSetAccessibilityFocus.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useSetAccessibilityFocus.d.ts","sourceRoot":"","sources":["../../../../src/a11y/hooks/useSetAccessibilityFocus.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAkC,MAAM,OAAO,CAAC;AAOvE
|
|
1
|
+
{"version":3,"file":"useSetAccessibilityFocus.d.ts","sourceRoot":"","sources":["../../../../src/a11y/hooks/useSetAccessibilityFocus.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAkC,MAAM,OAAO,CAAC;AAOvE,qFAAqF;AACrF,MAAM,MAAM,wBAAwB,GAAG,SAAS,CAAC,OAAO,CAAC,GAAG,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;AAatF;;;;;;;;;;GAUG;AACH,eAAO,MAAM,wBAAwB,iBAiBP,wBAAwB,SAiBrD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AITypingIndicatorView.d.ts","sourceRoot":"","sources":["../../../src/ai-components/AITypingIndicatorView.tsx"],"names":[],"mappings":"AAOA,eAAO,MAAM,qBAAqB,GAAI,UAAU;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,
|
|
1
|
+
{"version":3,"file":"AITypingIndicatorView.d.ts","sourceRoot":"","sources":["../../../src/ai-components/AITypingIndicatorView.tsx"],"names":[],"mappings":"AAOA,eAAO,MAAM,qBAAqB,GAAI,UAAU;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,gCAqB/D,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VictoryChart.d.ts","sourceRoot":"","sources":["../../../../../src/ai-components/charts/components/VictoryChart.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"VictoryChart.d.ts","sourceRoot":"","sources":["../../../../../src/ai-components/charts/components/VictoryChart.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAQ1B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAa1C,MAAM,MAAM,iBAAiB,GAAG;IAC9B,IAAI,EAAE,SAAS,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAKF,eAAO,MAAM,YAAY,GAAI,OAAO,iBAAiB,6BA+IpD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/ai-components/charts/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/ai-components/charts/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC;AAE7B,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC;AAE1B,cAAc,SAAS,CAAC;AAExB,cAAc,SAAS,CAAC"}
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
export type Dim = string;
|
|
2
2
|
export type Datum = {
|
|
3
|
-
/** The categorical
|
|
3
|
+
/** The categorical or temporal dimension: a label, category or time. */
|
|
4
4
|
dimension: Dim;
|
|
5
|
-
/** The numeric measure/value. */
|
|
6
5
|
value: number;
|
|
7
|
-
/** Color
|
|
6
|
+
/** Color of this datum. In non-pie charts, datums sharing a color form one series. */
|
|
8
7
|
color: string;
|
|
9
|
-
/** Optional series key for multi-series charts
|
|
8
|
+
/** Optional series key for multi-series charts. */
|
|
10
9
|
series?: string;
|
|
11
10
|
};
|
|
12
11
|
export type ChartType = 'bar' | 'line' | 'area' | 'point' | 'pie';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/ai-components/charts/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,GAAG,GAAG,MAAM,CAAC;AAEzB,MAAM,MAAM,KAAK,GAAG;IAClB,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/ai-components/charts/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,GAAG,GAAG,MAAM,CAAC;AAEzB,MAAM,MAAM,KAAK,GAAG;IAClB,wEAAwE;IACxE,SAAS,EAAE,GAAG,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,sFAAsF;IACtF,KAAK,EAAE,MAAM,CAAC;IACd,mDAAmD;IACnD,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,MAAM,MAAM,SAAS,GAAG,KAAK,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,KAAK,CAAC;AAElE,MAAM,MAAM,SAAS,GAAG;IACtB,IAAI,EAAE,SAAS,CAAC;IAChB,IAAI,EAAE,KAAK,EAAE,CAAC;IACd,YAAY,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACtC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,UAAU,GAAG,YAAY,CAAC;IACxC,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,SAAS,CAAC,EAAE,GAAG,EAAE,CAAC;CACnB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generate-pie-colors.d.ts","sourceRoot":"","sources":["../../../../../src/ai-components/charts/utils/generate-pie-colors.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"generate-pie-colors.d.ts","sourceRoot":"","sources":["../../../../../src/ai-components/charts/utils/generate-pie-colors.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,SAAS,GAAI,KAAK,MAAM,WAQpC,CAAC;AAEF,eAAO,MAAM,UAAU,GAAI,MAAM,MAAM,iBAQtC,CAAC;AAEF,eAAO,MAAM,QAAQ,GAAI,GAAG,MAAM,EAAE,UAAM,EAAE,UAAM,WA4BjD,CAAC;AAIF,eAAO,MAAM,cAAc,GACzB,OAAO,MAAM,EACb,UAAU,MAAM,EAAE,EAClB,OAAO;IAAE,MAAM,CAAC,EAAE,MAAM,CAAC;IAAC,GAAG,CAAC,EAAE,MAAM,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,WAuBzD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"parse-json-chart.d.ts","sourceRoot":"","sources":["../../../../../src/ai-components/charts/utils/parse-json-chart.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAG1C,eAAO,MAAM,cAAc,GAAI,MAAM,MAAM,KAAG,
|
|
1
|
+
{"version":3,"file":"parse-json-chart.d.ts","sourceRoot":"","sources":["../../../../../src/ai-components/charts/utils/parse-json-chart.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAG1C,eAAO,MAAM,cAAc,GAAI,MAAM,MAAM,KAAG,SAS7C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../../src/ai-components/charts/vega-lite/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../../src/ai-components/charts/vega-lite/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,MAAM;;;;;EAA6D,CAAC;AA4EjF,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAAgD,CAAC;AAI1E,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qCASX,CAAC;AAEjB,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC"}
|
|
@@ -4,11 +4,13 @@ export * from './charts';
|
|
|
4
4
|
export * from './message-composer';
|
|
5
5
|
export * from './StreamingMessageView';
|
|
6
6
|
export * from './AITypingIndicatorView';
|
|
7
|
+
export * from './voice-visualization';
|
|
7
8
|
export * from './components';
|
|
8
9
|
export * from './contexts';
|
|
9
10
|
export * from './services';
|
|
10
11
|
export * from './transcription/useDictation';
|
|
11
|
-
export
|
|
12
|
+
export * from './transcription/useDictationAudioLevel';
|
|
13
|
+
export { isDictationAvailable, type DictationLevel } from './native/AIDictation';
|
|
12
14
|
export * from './store';
|
|
13
15
|
export * from './theme';
|
|
14
16
|
export { registerNativeHandlers } from '../native';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/ai-components/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/ai-components/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,uBAAuB,CAAC;AACtC,cAAc,UAAU,CAAC;AACzB,cAAc,oBAAoB,CAAC;AACnC,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,uBAAuB,CAAC;AAEtC,cAAc,cAAc,CAAC;AAE7B,cAAc,YAAY,CAAC;AAE3B,cAAc,YAAY,CAAC;AAC3B,cAAc,8BAA8B,CAAC;AAC7C,cAAc,wCAAwC,CAAC;AACvD,OAAO,EAAE,oBAAoB,EAAE,KAAK,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAEjF,cAAc,SAAS,CAAC;AAExB,cAAc,SAAS,CAAC;AAIxB,OAAO,EAAE,sBAAsB,EAAE,MAAM,WAAW,CAAC"}
|
|
@@ -1,26 +1,13 @@
|
|
|
1
1
|
export type StableCallback<A extends unknown[], R> = (...args: A) => R;
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
* change its reference every time the parent component rerenders. It will also return
|
|
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 identity that always calls the latest `callback`, so it is safe
|
|
4
|
+
* as a hook dependency without stale closures.
|
|
14
5
|
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
* - Always prefer using a standard useCallback/stable function wherever possible
|
|
21
|
-
* (the purpose of useStableCallback is to bridge the gap between top level contexts
|
|
22
|
-
* and cascading rereders in downstream components - **not** as an escape hatch)
|
|
23
|
-
* @param callback - the callback we want to stabilize
|
|
6
|
+
* Do not wrap functions that return elements (such as a list render function): React cannot tell
|
|
7
|
+
* when their output should change. Prefer a plain `useCallback` where it suffices.
|
|
8
|
+
*
|
|
9
|
+
* @param callback The function to stabilize.
|
|
10
|
+
* @returns The stable function, returning whatever `callback` returns.
|
|
24
11
|
*/
|
|
25
12
|
export declare const useStableCallback: <A extends unknown[], R>(callback: StableCallback<A, R>) => StableCallback<A, R>;
|
|
26
13
|
//# sourceMappingURL=useStableCallback.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useStableCallback.d.ts","sourceRoot":"","sources":["../../../../../src/ai-components/internal/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/ai-components/internal/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;;;;;;;;;GASG;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":"SendUp.d.ts","sourceRoot":"","sources":["../../../../../src/ai-components/internal/icons/SendUp.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAE9C,KAAK,KAAK,GAAG,SAAS,GAAG;IACvB,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,eAAO,MAAM,MAAM,GAAI,mBAAmB,KAAK,
|
|
1
|
+
{"version":3,"file":"SendUp.d.ts","sourceRoot":"","sources":["../../../../../src/ai-components/internal/icons/SendUp.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAE9C,KAAK,KAAK,GAAG,SAAS,GAAG;IACvB,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,eAAO,MAAM,MAAM,GAAI,mBAAmB,KAAK,sBAS9C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Table.d.ts","sourceRoot":"","sources":["../../../../../src/ai-components/markdown/components/Table.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EACV,sBAAsB,EAGtB,kBAAkB,EACnB,MAAM,UAAU,CAAC;AAElB,eAAO,MAAM,KAAK,GAAI,iCAAiC,sBAAsB,gCAI5E,CAAC;
|
|
1
|
+
{"version":3,"file":"Table.d.ts","sourceRoot":"","sources":["../../../../../src/ai-components/markdown/components/Table.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EACV,sBAAsB,EAGtB,kBAAkB,EACnB,MAAM,UAAU,CAAC;AAElB,eAAO,MAAM,KAAK,GAAI,iCAAiC,sBAAsB,gCAI5E,CAAC;AA0DF,eAAO,MAAM,WAAW,EAAE,kBAIzB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rules.d.ts","sourceRoot":"","sources":["../../../../src/ai-components/markdown/rules.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAGV,WAAW,EAGX,eAAe,EAEhB,MAAM,8BAA8B,CAAC;AAuBtC,OAAO,KAAK,EACV,eAAe,EAEf,aAAa,EAGd,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"rules.d.ts","sourceRoot":"","sources":["../../../../src/ai-components/markdown/rules.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAGV,WAAW,EAGX,eAAe,EAEhB,MAAM,8BAA8B,CAAC;AAuBtC,OAAO,KAAK,EACV,eAAe,EAEf,aAAa,EAGd,MAAM,SAAS,CAAC;AAcjB,eAAO,MAAM,aAAa,GACxB,QAAQ,aAAa,EACrB,OAAM,eAAoB,KACzB,WAAW,CAAC,eAAe,CA0J7B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generate-markdown-text.d.ts","sourceRoot":"","sources":["../../../../../src/ai-components/markdown/utils/generate-markdown-text.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAEzC,wBAAgB,YAAY,CAAC,IAAI,EAAE,MAAM,UAExC;
|
|
1
|
+
{"version":3,"file":"generate-markdown-text.d.ts","sourceRoot":"","sources":["../../../../../src/ai-components/markdown/utils/generate-markdown-text.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAEzC,wBAAgB,YAAY,CAAC,IAAI,EAAE,MAAM,UAExC;AASD,eAAO,MAAM,kBAAkB,GAAI,QAAQ,MAAM,KAAG,QAAQ,EA4B3D,CAAC;AAEF,eAAO,MAAM,oBAAoB,GAAI,OAAO,MAAM,kBAyDjD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ComposerView.d.ts","sourceRoot":"","sources":["../../../../src/ai-components/message-composer/ComposerView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqC,MAAM,OAAO,CAAC;AAK1D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAYzD,OAAO,KAAK,EACV,0BAA0B,EAC1B,gBAAgB,EAC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AAc,yBAqC1B,CAAC;AAEF,eAAO,MAAM,YAAY,GAAI,OAAO,iBAAiB,sBAQpD,CAAC"}
|
|
@@ -3,10 +3,7 @@ import type { DictationStartOptions } from '../native-specs/NativeAIDictation';
|
|
|
3
3
|
type SpeechToTextButtonProps = {
|
|
4
4
|
options?: DictationStartOptions;
|
|
5
5
|
};
|
|
6
|
-
/**
|
|
7
|
-
* Renders nothing when the native dictation module is not part of the build (see
|
|
8
|
-
* `isDictationAvailable`), so that pressing the button can never reach a missing module.
|
|
9
|
-
*/
|
|
6
|
+
/** Renders nothing when the native dictation module is not part of the build. */
|
|
10
7
|
export declare const SpeechToTextButton: (props: SpeechToTextButtonProps) => React.JSX.Element | null;
|
|
11
8
|
export {};
|
|
12
9
|
//# sourceMappingURL=SpeechToTextButton.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SpeechToTextButton.d.ts","sourceRoot":"","sources":["../../../../src/ai-components/message-composer/SpeechToTextButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAUzC,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,mCAAmC,CAAC;AAQ/E,KAAK,uBAAuB,GAAG;IAC7B,OAAO,CAAC,EAAE,qBAAqB,CAAC;CACjC,CAAC;AAEF
|
|
1
|
+
{"version":3,"file":"SpeechToTextButton.d.ts","sourceRoot":"","sources":["../../../../src/ai-components/message-composer/SpeechToTextButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAUzC,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,mCAAmC,CAAC;AAQ/E,KAAK,uBAAuB,GAAG;IAC7B,OAAO,CAAC,EAAE,qBAAqB,CAAC;CACjC,CAAC;AAEF,iFAAiF;AACjF,eAAO,MAAM,kBAAkB,GAAI,OAAO,uBAAuB,6BAOhE,CAAC"}
|