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
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
LocalMessage,
|
|
6
6
|
MessageReceiptsSnapshot,
|
|
7
7
|
MessageResponse,
|
|
8
|
-
|
|
8
|
+
MsgRef,
|
|
9
9
|
} from 'stream-chat';
|
|
10
10
|
|
|
11
11
|
import { useChatContext } from '../../contexts/chatContext/ChatContext';
|
|
@@ -20,22 +20,29 @@ export enum MessageDeliveryStatus {
|
|
|
20
20
|
|
|
21
21
|
type MessageDeliveryStatusProps = {
|
|
22
22
|
channel: Channel;
|
|
23
|
-
// Only `created_at
|
|
24
|
-
// plain `MessageResponse` is accepted too — lets callers pass the channel's last message
|
|
25
|
-
// without asserting it is a `LocalMessage`.
|
|
23
|
+
// Only `created_at`, `id` and `user` are read, so a plain `MessageResponse` is accepted too.
|
|
26
24
|
lastMessage: LocalMessage | MessageResponse;
|
|
27
25
|
isReadEventsEnabled: boolean;
|
|
28
26
|
};
|
|
29
27
|
|
|
30
|
-
|
|
31
|
-
|
|
28
|
+
/** Whether a cursor has reached a message created at `createdAt`, even from a later message. */
|
|
29
|
+
const hasCursorReached = (createdAt: number | undefined, cursor: MsgRef | null) =>
|
|
30
|
+
!!cursor && typeof createdAt === 'number' && Number.isFinite(createdAt)
|
|
31
|
+
? createdAt <= cursor.timestamp
|
|
32
|
+
: false;
|
|
32
33
|
|
|
33
34
|
/**
|
|
34
|
-
* Delivery
|
|
35
|
-
* `messageReceiptsTracker.snapshotStore
|
|
36
|
-
*
|
|
37
|
-
*
|
|
38
|
-
* a
|
|
35
|
+
* Delivery and read status of the last message when it is the current user's, derived from the
|
|
36
|
+
* channel's `messageReceiptsTracker.snapshotStore`, the same store the in-list receipt hooks use.
|
|
37
|
+
*
|
|
38
|
+
* It compares the message against `lastReadRefByOthers` and `lastDeliveredRefByOthers`, the furthest
|
|
39
|
+
* points anyone else has reached, so a message stays read once another member reads past it.
|
|
40
|
+
*
|
|
41
|
+
* @param params.channel The channel the message belongs to.
|
|
42
|
+
* @param params.lastMessage The channel's last message.
|
|
43
|
+
* @param params.isReadEventsEnabled When false, the status is `NOT_SENT_BY_CURRENT_USER`. Defaults
|
|
44
|
+
* to true.
|
|
45
|
+
* @returns An object with the `status`, `undefined` when the message is not the current user's.
|
|
39
46
|
*/
|
|
40
47
|
export const useMessageDeliveryStatus = ({
|
|
41
48
|
channel,
|
|
@@ -43,15 +50,15 @@ export const useMessageDeliveryStatus = ({
|
|
|
43
50
|
isReadEventsEnabled = true,
|
|
44
51
|
}: MessageDeliveryStatusProps) => {
|
|
45
52
|
const { client } = useChatContext();
|
|
46
|
-
const messageId = lastMessage?.id ?? '';
|
|
47
53
|
const currentUserId = client.user?.id;
|
|
54
|
+
const createdAt = lastMessage?.created_at;
|
|
48
55
|
|
|
49
56
|
const selector = useCallback(
|
|
50
57
|
(snapshot: MessageReceiptsSnapshot) => ({
|
|
51
|
-
isDelivered:
|
|
52
|
-
isRead:
|
|
58
|
+
isDelivered: hasCursorReached(createdAt, snapshot.lastDeliveredRefByOthers),
|
|
59
|
+
isRead: hasCursorReached(createdAt, snapshot.lastReadRefByOthers),
|
|
53
60
|
}),
|
|
54
|
-
[
|
|
61
|
+
[createdAt],
|
|
55
62
|
);
|
|
56
63
|
|
|
57
64
|
const { isDelivered, isRead } = useStateStore(
|
|
@@ -48,10 +48,8 @@ export const useMessagePreviewText = ({
|
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
if (message?.shared_location) {
|
|
51
|
-
// Draft messages type `shared_location` loosely, hence the cast
|
|
52
|
-
//
|
|
53
|
-
// the `Date` an outgoing request would carry. `end_at` is optional because a static location
|
|
54
|
-
// has no expiry — only a live one does.
|
|
51
|
+
// Draft messages type `shared_location` loosely, hence the cast to the response shape, where
|
|
52
|
+
// `end_at` is a number. It is optional: only a live location expires.
|
|
55
53
|
const { end_at: endAt } = message.shared_location as SharedLocationResponseData;
|
|
56
54
|
if (endAt != null && endAt > nowNs()) {
|
|
57
55
|
return t('messagePreview.liveLocation.label', 'Live Location');
|
|
@@ -6,18 +6,18 @@ import { useStableCallback } from './useStableCallback';
|
|
|
6
6
|
import { useMessageInputContext } from '../contexts/messageInputContext/MessageInputContext';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
10
|
-
*
|
|
9
|
+
* Returns a stable callback that focuses the message input and runs `callback` once the keyboard is
|
|
10
|
+
* open.
|
|
11
11
|
*
|
|
12
|
-
* @param callback
|
|
13
|
-
* @returns A stable callback that
|
|
12
|
+
* @param callback Runs once the keyboard is open.
|
|
13
|
+
* @returns A stable callback that waits for the keyboard before running `callback`.
|
|
14
14
|
*/
|
|
15
15
|
export const useAfterKeyboardOpenCallback = <T extends unknown[]>(
|
|
16
16
|
callback: (...args: T) => void,
|
|
17
17
|
) => {
|
|
18
18
|
const { inputBoxRef } = useMessageInputContext();
|
|
19
19
|
const keyboardSubscriptionRef = useRef<EventSubscription | undefined>(undefined);
|
|
20
|
-
//
|
|
20
|
+
// Runs from a keyboard event listener, so it must read the latest callback across re-renders.
|
|
21
21
|
const stableCallback = useStableCallback(callback);
|
|
22
22
|
|
|
23
23
|
/** Clears the pending keyboard listener, if any. */
|
|
@@ -2,24 +2,23 @@ import { useEffect, useRef } from 'react';
|
|
|
2
2
|
import { AppState, AppStateStatus } from 'react-native';
|
|
3
3
|
|
|
4
4
|
export const useAppStateListener = (onForeground?: () => void, onBackground?: () => void) => {
|
|
5
|
-
//
|
|
6
|
-
// `AppStateStatus`
|
|
7
|
-
// every supported version.
|
|
5
|
+
// `AppState.currentState` is `string | null | undefined` from React Native 0.87 and
|
|
6
|
+
// `AppStateStatus` before. Normalized so the comparison holds on every supported version.
|
|
8
7
|
const isBackgroundedRef = useRef(
|
|
9
8
|
((AppState.currentState as AppStateStatus | null | undefined) ?? 'unknown') === 'background',
|
|
10
9
|
);
|
|
11
10
|
const onForegroundRef = useRef(onForeground);
|
|
12
11
|
const onBackgroundRef = useRef(onBackground);
|
|
13
12
|
|
|
14
|
-
//
|
|
13
|
+
// Refs keep the handlers out of the effect's dependencies.
|
|
15
14
|
onForegroundRef.current = onForeground;
|
|
16
15
|
onBackgroundRef.current = onBackground;
|
|
17
16
|
|
|
18
17
|
useEffect(() => {
|
|
19
18
|
const handleAppStateChange = (nextAppState: AppStateStatus) => {
|
|
20
|
-
// Only `background`
|
|
21
|
-
// app in Split View stays `inactive` the whole time it is side by side. Transitions
|
|
22
|
-
// through `inactive` in both directions, so ignoring it still observes both.
|
|
19
|
+
// Only `background` counts as backgrounded. `inactive` is visible-but-unfocused, and from
|
|
20
|
+
// iOS 27 an app in Split View stays `inactive` the whole time it is side by side. Transitions
|
|
21
|
+
// pass through `inactive` in both directions, so ignoring it still observes both.
|
|
23
22
|
if (nextAppState === 'background') {
|
|
24
23
|
if (!isBackgroundedRef.current) {
|
|
25
24
|
isBackgroundedRef.current = true;
|
|
@@ -36,8 +35,7 @@ export const useAppStateListener = (onForeground?: () => void, onBackground?: ()
|
|
|
36
35
|
const subscription = AppState.addEventListener('change', handleAppStateChange);
|
|
37
36
|
|
|
38
37
|
return () => {
|
|
39
|
-
//
|
|
40
|
-
// https://github.com/react-native-community/releases/blob/master/CHANGELOG.md#:~:text=EventEmitter%23removeSubscription%20is%20now%20deprecated.%20(cb6cbd12f8%20by%20%40yungsters)
|
|
38
|
+
// React Native < 0.65 has no `subscription.remove`; fall back to `removeEventListener`.
|
|
41
39
|
if (subscription?.remove) {
|
|
42
40
|
subscription.remove();
|
|
43
41
|
} else {
|
|
@@ -4,11 +4,10 @@ import BottomSheet from '@gorhom/bottom-sheet';
|
|
|
4
4
|
import { BottomSheetMethods } from '@gorhom/bottom-sheet/lib/typescript/types';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* The `openPicker`
|
|
11
|
-
* The `bottomSheetRef` is a reference to the bottom sheet component, which allows for programmatic control of the bottom sheet.
|
|
7
|
+
* Manages the attachment picker bottom sheet: a ref to the sheet plus `openPicker` and
|
|
8
|
+
* `closePicker`, which open or close the sheet behind the ref they are given.
|
|
9
|
+
*
|
|
10
|
+
* @returns The `bottomSheetRef`, `openPicker` and `closePicker`.
|
|
12
11
|
*/
|
|
13
12
|
export const useAttachmentPickerBottomSheet = () => {
|
|
14
13
|
const bottomSheetRef = useRef<BottomSheet>(null);
|
|
@@ -17,7 +16,9 @@ export const useAttachmentPickerBottomSheet = () => {
|
|
|
17
16
|
if (ref.current?.snapToIndex) {
|
|
18
17
|
ref.current.snapToIndex(0);
|
|
19
18
|
} else {
|
|
20
|
-
console.warn(
|
|
19
|
+
console.warn(
|
|
20
|
+
'The attachment picker cannot open: its bottom sheet ref has no snapToIndex. Make sure the attachment picker is mounted.',
|
|
21
|
+
);
|
|
21
22
|
}
|
|
22
23
|
}, []);
|
|
23
24
|
|
|
@@ -8,16 +8,9 @@ import { AudioPlayerErrorCode, AudioPlayerOptions } from '../state-store/audio-p
|
|
|
8
8
|
|
|
9
9
|
export type UseAudioPlayerProps = {
|
|
10
10
|
/**
|
|
11
|
-
* Identifier of the entity that requested the
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
* - one UI element can display multiple audio sources.
|
|
15
|
-
* Therefore, the AudioPlayer ID is a combination of request:src.
|
|
16
|
-
*
|
|
17
|
-
* The requester string can take into consideration whether there are multiple instances of
|
|
18
|
-
* the same URL requested by the same requester (message has multiple attachments with the same asset URL).
|
|
19
|
-
* In reality the fact that one message has multiple attachments with the same asset URL
|
|
20
|
-
* could be considered a bad practice or a bug.
|
|
11
|
+
* Identifier of the entity that requested the playback, such as a message ID. It scopes the
|
|
12
|
+
* audio player ID (`requester:src:id`), as one URL can back several UI elements and one UI
|
|
13
|
+
* element can show several sources.
|
|
21
14
|
*/
|
|
22
15
|
requester?: string;
|
|
23
16
|
} & Partial<AudioPlayerOptions>;
|
|
@@ -4,6 +4,9 @@ import { useChannelOwnCapabilities } from './useChannelOwnCapabilities';
|
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Whether the current user can add members to the channel.
|
|
7
|
+
*
|
|
8
|
+
* @param channel The channel to check.
|
|
9
|
+
* @returns True when the user has the `update-channel-members` capability.
|
|
7
10
|
*/
|
|
8
11
|
export const useCanAddMembersToChannel = (channel?: Channel) =>
|
|
9
12
|
useChannelOwnCapabilities(channel)?.includes('update-channel-members') ?? false;
|
|
@@ -3,7 +3,10 @@ import type { Channel } from 'stream-chat';
|
|
|
3
3
|
import { useChannelOwnCapabilities } from './useChannelOwnCapabilities';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
|
-
* Whether the current user can update
|
|
6
|
+
* Whether the current user can update the channel.
|
|
7
|
+
*
|
|
8
|
+
* @param channel The channel to check.
|
|
9
|
+
* @returns True when the user has the `update-channel` capability.
|
|
7
10
|
*/
|
|
8
11
|
export const useCanEditChannel = (channel?: Channel) =>
|
|
9
12
|
useChannelOwnCapabilities(channel)?.includes('update-channel') ?? false;
|
package/src/hooks/useChannel.ts
CHANGED
|
@@ -4,12 +4,11 @@ import { useChannelContext } from '../contexts/channelContext/ChannelContext';
|
|
|
4
4
|
import { useThreadContext } from '../contexts/threadContext/ThreadContext';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
|
-
* Resolves the active
|
|
8
|
-
*
|
|
7
|
+
* Resolves the active channel: the thread's channel inside a `<Thread>`, otherwise the
|
|
8
|
+
* `ChannelContext` channel. Prefer it over `useChannelContext()` in code shared between the main
|
|
9
|
+
* list and a thread.
|
|
9
10
|
*
|
|
10
|
-
*
|
|
11
|
-
* `channel` from `useChannelContext()` directly in message/thread interaction code, so the
|
|
12
|
-
* same code path targets the correct channel in both the main list and a thread.
|
|
11
|
+
* @returns The active channel.
|
|
13
12
|
*/
|
|
14
13
|
export const useChannel = (): Channel => {
|
|
15
14
|
const { channel } = useChannelContext();
|
|
@@ -7,9 +7,13 @@ const selector = (state: { data: Channel['data'] }) => ({
|
|
|
7
7
|
});
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
|
-
* Returns the channel's image,
|
|
10
|
+
* Returns the channel's image, read reactively from `channel.state` (updates on `channel.updated`).
|
|
11
|
+
*
|
|
12
|
+
* @param channel The channel to read from.
|
|
13
|
+
* @returns The channel image.
|
|
11
14
|
*/
|
|
12
15
|
export function useChannelImage(channel: Channel): string | undefined;
|
|
16
|
+
/** Same as above, for a channel that may be undefined. */
|
|
13
17
|
export function useChannelImage(channel?: Channel): string | undefined;
|
|
14
18
|
export function useChannelImage(channel?: Channel) {
|
|
15
19
|
return useStateStore(channel?.state, selector)?.image;
|
|
@@ -7,10 +7,14 @@ const selector = (state: { memberCount: number }) => ({
|
|
|
7
7
|
});
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
|
-
* Returns the channel's member count,
|
|
10
|
+
* Returns the channel's member count, read reactively from `channel.state` (updates on
|
|
11
11
|
* `channel.updated`).
|
|
12
|
+
*
|
|
13
|
+
* @param channel The channel to read from.
|
|
14
|
+
* @returns The member count.
|
|
12
15
|
*/
|
|
13
16
|
export function useChannelMemberCount(channel: Channel): number;
|
|
17
|
+
/** Same as above, for a channel that may be undefined. */
|
|
14
18
|
export function useChannelMemberCount(channel?: Channel): number | undefined;
|
|
15
19
|
export function useChannelMemberCount(channel?: Channel) {
|
|
16
20
|
return useStateStore(channel?.state, selector)?.memberCount;
|
|
@@ -7,10 +7,14 @@ const selector = (state: { membership: ChannelMemberResponse }) => ({
|
|
|
7
7
|
});
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
|
-
* Returns the current user's membership for the channel,
|
|
10
|
+
* Returns the current user's membership for the channel, read reactively from `channel.state`
|
|
11
11
|
* (updates on `member.added`/`member.updated`).
|
|
12
|
+
*
|
|
13
|
+
* @param channel The channel to read from.
|
|
14
|
+
* @returns The current user's membership.
|
|
12
15
|
*/
|
|
13
16
|
export function useChannelMembershipState(channel: Channel): ChannelMemberResponse;
|
|
17
|
+
/** Same as above, for a channel that may be undefined. */
|
|
14
18
|
export function useChannelMembershipState(channel?: Channel): ChannelMemberResponse | undefined;
|
|
15
19
|
export function useChannelMembershipState(channel?: Channel) {
|
|
16
20
|
return useStateStore(channel?.state, selector)?.membership;
|
|
@@ -7,9 +7,13 @@ const selector = (state: { data: Channel['data'] }) => ({
|
|
|
7
7
|
});
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
|
-
* Returns the channel's name,
|
|
10
|
+
* Returns the channel's name, read reactively from `channel.state` (updates on `channel.updated`).
|
|
11
|
+
*
|
|
12
|
+
* @param channel The channel to read from.
|
|
13
|
+
* @returns The channel name.
|
|
11
14
|
*/
|
|
12
15
|
export function useChannelName(channel: Channel): string | undefined;
|
|
16
|
+
/** Same as above, for a channel that may be undefined. */
|
|
13
17
|
export function useChannelName(channel?: Channel): string | undefined;
|
|
14
18
|
export function useChannelName(channel?: Channel) {
|
|
15
19
|
return useStateStore(channel?.state, selector)?.name;
|
|
@@ -7,8 +7,10 @@ const selector = (state: { ownCapabilities: string[] }) => ({
|
|
|
7
7
|
});
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
|
-
* Returns the current user's capabilities for the channel,
|
|
11
|
-
*
|
|
10
|
+
* Returns the current user's capabilities for the channel, read reactively from `channel.state`.
|
|
11
|
+
*
|
|
12
|
+
* @param channel The channel to read from.
|
|
13
|
+
* @returns The own capabilities.
|
|
12
14
|
*/
|
|
13
15
|
export function useChannelOwnCapabilities(channel?: Channel): string[] | undefined {
|
|
14
16
|
return useStateStore(channel?.state, selector)?.ownCapabilities;
|
|
@@ -9,9 +9,9 @@ const selector = (state: NotificationManagerState) => ({
|
|
|
9
9
|
});
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
* @returns
|
|
12
|
+
* Returns the notifications held by the client's notification manager.
|
|
13
|
+
*
|
|
14
|
+
* @returns An object with the `notifications`.
|
|
15
15
|
*/
|
|
16
16
|
export const useClientNotifications = () => {
|
|
17
17
|
const { client } = useChatContext();
|
|
@@ -5,24 +5,18 @@ import { useSafeAreaInsets } from 'react-native-safe-area-context';
|
|
|
5
5
|
/**
|
|
6
6
|
* Horizontal safe area padding for a surface that spans the full window width.
|
|
7
7
|
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
8
|
+
* Only for surfaces an integrator cannot wrap, such as React Native's `Modal`, which renders in a
|
|
9
|
+
* separate native window. In-tree surfaces already narrow with the integrator's `SafeAreaView`, so
|
|
10
|
+
* this would double-pad them; a bottom sheet or overlay qualifies only if it mounts outside that
|
|
11
|
+
* tree. Prefer a `SafeAreaView` where one fits (see `ImageGalleryHeader`): it compares the window
|
|
12
|
+
* inset with its own frame, whereas this hook reads the window-global `useSafeAreaInsets` and has
|
|
13
|
+
* no such protection when nested.
|
|
12
14
|
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
* compares the window inset against its own measured frame, so a nested instance contributes
|
|
17
|
-
* nothing once an ancestor has narrowed the subtree. This hook reads `useSafeAreaInsets`, which is
|
|
18
|
-
* window-global and has no such protection.
|
|
15
|
+
* `left` and `right` stay separate because from iOS 27 the system can stack its controls down a
|
|
16
|
+
* single edge (measured 0 and 84 on iPhone Duo). A side whose inset is 0 is omitted, as a
|
|
17
|
+
* `paddingLeft: 0` longhand would override a `padding` shorthand set elsewhere.
|
|
19
18
|
*
|
|
20
|
-
* `
|
|
21
|
-
* down a single edge, so the two differ (measured 0 and 84 on iPhone Duo).
|
|
22
|
-
*
|
|
23
|
-
* A side whose inset is 0 is omitted rather than emitted as `paddingLeft: 0`, because a longhand
|
|
24
|
-
* overrides a `padding` shorthand for that side - emitting a zero would silently drop padding the
|
|
25
|
-
* component or a consumer's theme had already set.
|
|
19
|
+
* @returns A style with `paddingLeft` and `paddingRight` for the non-zero insets.
|
|
26
20
|
*/
|
|
27
21
|
export const useHorizontalInsets = (): ViewStyle => {
|
|
28
22
|
const { left, right } = useSafeAreaInsets();
|
|
@@ -5,7 +5,11 @@ import type { Channel } from 'stream-chat';
|
|
|
5
5
|
import { useChannelMembersState } from '../components/ChannelList/hooks/useChannelMembersState';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
8
|
+
* Whether the user with the given ID is a member of the channel.
|
|
9
|
+
*
|
|
10
|
+
* @param channel The channel to check.
|
|
11
|
+
* @param userId The ID of the user. Without it the result is false.
|
|
12
|
+
* @returns True when the user is a member.
|
|
9
13
|
*/
|
|
10
14
|
export const useIsChannelMember = (channel: Channel, userId?: string) => {
|
|
11
15
|
const members = useChannelMembersState(channel);
|
|
@@ -9,7 +9,7 @@ const pickId = (member: ChannelMemberResponse) => ({ id: member.user?.id });
|
|
|
9
9
|
|
|
10
10
|
export const useIsDirectChat = (channel?: Channel) => {
|
|
11
11
|
const { client } = useChatContext();
|
|
12
|
-
const ownUserId = client.
|
|
12
|
+
const ownUserId = client.userId;
|
|
13
13
|
const members = useChannelMembersState(channel, pickId);
|
|
14
14
|
|
|
15
15
|
const otherMembers = useMemo(
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { useEffect, useRef } from 'react';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
|
-
* Returns
|
|
5
|
-
* setState calls (within async operation) after component gets unmounted.
|
|
4
|
+
* Returns a ref that turns false once the component unmounts, to skip state updates in async work.
|
|
6
5
|
*
|
|
7
6
|
* @example
|
|
8
7
|
* ```
|
|
@@ -10,19 +9,16 @@ import { useEffect, useRef } from 'react';
|
|
|
10
9
|
* const [dummyValue, setDummyValue] = useState(false);
|
|
11
10
|
*
|
|
12
11
|
* useEffect(() => {
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
* })
|
|
12
|
+
* someAsyncOperation().then(() => {
|
|
13
|
+
* if (isMounted.current) setDummyValue(true);
|
|
14
|
+
* });
|
|
15
|
+
* }, []);
|
|
17
16
|
* ```
|
|
18
17
|
*
|
|
19
|
-
* @returns
|
|
18
|
+
* @returns A ref whose `current` is true until the component unmounts.
|
|
20
19
|
*/
|
|
21
20
|
export const useIsMountedRef = () => {
|
|
22
|
-
//
|
|
23
|
-
// avoiding any setState calls (within async operation) after component gets unmounted.
|
|
24
|
-
// Basically we don't need to know about state change from component being initialized -> mounted.
|
|
25
|
-
// We only need a state change from initialized or mounted state -> unmounted state.
|
|
21
|
+
// Starts true: only the transition to unmounted matters, not the one from initialized to mounted.
|
|
26
22
|
const isMounted = useRef(true);
|
|
27
23
|
|
|
28
24
|
useEffect(
|
package/src/hooks/useIsSvg.ts
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { useMemo } from 'react';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
5
|
-
* `image/svg+xml` data
|
|
6
|
-
*
|
|
7
|
-
*
|
|
4
|
+
* Whether `uri` points to an SVG, by `.svg` extension (ignoring query and fragment) or by
|
|
5
|
+
* `image/svg+xml` data URI. The non-hook form of `useIsSvg`.
|
|
6
|
+
*
|
|
7
|
+
* @param uri The URI to check.
|
|
8
|
+
* @returns True when the URI is an SVG.
|
|
8
9
|
*/
|
|
9
10
|
export const isSvgUri = (uri: string | null | undefined): boolean => {
|
|
10
11
|
if (typeof uri !== 'string' || uri.length === 0) {
|
|
@@ -19,10 +20,10 @@ export const isSvgUri = (uri: string | null | undefined): boolean => {
|
|
|
19
20
|
};
|
|
20
21
|
|
|
21
22
|
/**
|
|
22
|
-
* Memoized
|
|
23
|
-
*
|
|
24
|
-
*
|
|
25
|
-
*
|
|
23
|
+
* Memoized `isSvgUri`, re-evaluated only when `uri` changes.
|
|
24
|
+
*
|
|
25
|
+
* @param uri The URI to check.
|
|
26
|
+
* @returns True when the URI is an SVG.
|
|
26
27
|
*/
|
|
27
28
|
export const useIsSvg = (uri: string | null | undefined): boolean =>
|
|
28
29
|
useMemo(() => isSvgUri(uri), [uri]);
|
|
@@ -6,14 +6,14 @@ import { useStateStore } from './useStateStore';
|
|
|
6
6
|
type MessageFocusSignalState = { signal: { messageId?: string } | null };
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
|
-
* Whether
|
|
10
|
-
* `jumpToMessage`
|
|
9
|
+
* Whether the message is the target of the active paginator's `messageFocusSignal` (set by
|
|
10
|
+
* `jumpToMessage` and `jumpToTheFirstUnreadMessage`, for the signal's TTL).
|
|
11
11
|
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
12
|
+
* Each row selects its own boolean, so a jump re-renders only the row losing the highlight and the
|
|
13
|
+
* row gaining it, not every row as a shared context value would.
|
|
14
|
+
*
|
|
15
|
+
* @param messageId The ID of the message.
|
|
16
|
+
* @returns True when the message is the focus target.
|
|
17
17
|
*/
|
|
18
18
|
export const useIsTargetedMessage = (messageId: string) => {
|
|
19
19
|
const paginator = useMessagePaginator();
|
|
@@ -2,8 +2,9 @@ import { useEffect, useState } from 'react';
|
|
|
2
2
|
import { Keyboard, Platform } from 'react-native';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
6
|
-
*
|
|
5
|
+
* Tracks whether the keyboard is visible.
|
|
6
|
+
*
|
|
7
|
+
* @returns True while the keyboard is visible.
|
|
7
8
|
*/
|
|
8
9
|
export const useKeyboardVisibility = () => {
|
|
9
10
|
const [isKeyboardVisible, setIsKeyboardVisible] = useState(false);
|
package/src/hooks/useLazyRef.ts
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { type RefObject, useRef } from 'react';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
|
-
* Creates a stable ref whose initial value is computed
|
|
5
|
-
*
|
|
4
|
+
* Creates a stable ref whose initial value is computed once, for values that are costly to build.
|
|
5
|
+
*
|
|
6
|
+
* @param getInitialValue Computes the initial value on the first render. Must not return `null`.
|
|
7
|
+
* @returns The ref holding the value.
|
|
6
8
|
*/
|
|
7
9
|
export const useLazyRef = <T>(getInitialValue: () => T) => {
|
|
8
10
|
const ref = useRef<T | null>(null);
|
|
@@ -52,13 +52,13 @@ export const useLoadingImage = () => {
|
|
|
52
52
|
);
|
|
53
53
|
const isNetworkOnline = useNetworkConnectionState()?.isOnline;
|
|
54
54
|
|
|
55
|
-
//
|
|
55
|
+
// A ref keeps `isLoadingImageError` out of the effect's dependencies.
|
|
56
56
|
const hasImageLoadedErroredRef = useRef(isLoadingImageError);
|
|
57
57
|
hasImageLoadedErroredRef.current = isLoadingImageError;
|
|
58
58
|
|
|
59
59
|
useEffect(() => {
|
|
60
60
|
if (isNetworkOnline && hasImageLoadedErroredRef.current) {
|
|
61
|
-
//
|
|
61
|
+
// Retry a failed image automatically when the network comes back.
|
|
62
62
|
onReloadImageRef.current();
|
|
63
63
|
}
|
|
64
64
|
}, [isNetworkOnline]);
|
|
@@ -2,8 +2,10 @@ import { useChannelContext } from '../contexts/channelContext/ChannelContext';
|
|
|
2
2
|
import { useThreadContext } from '../contexts/threadContext/ThreadContext';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
|
-
* The message paginator this subtree
|
|
6
|
-
* channel's
|
|
5
|
+
* The message paginator this subtree renders: the thread's inside a `<Thread>`, otherwise the
|
|
6
|
+
* channel's.
|
|
7
|
+
*
|
|
8
|
+
* @returns The active message paginator.
|
|
7
9
|
*/
|
|
8
10
|
export const useMessagePaginator = () => {
|
|
9
11
|
const { channel } = useChannelContext();
|
|
@@ -7,11 +7,11 @@ import { useStateStore } from './useStateStore';
|
|
|
7
7
|
import { useChatContext } from '../contexts/chatContext/ChatContext';
|
|
8
8
|
|
|
9
9
|
export type PendingAttachmentUpload = {
|
|
10
|
-
/**
|
|
10
|
+
/** Whether `client.uploadManager` has an in-flight upload for this attachment local ID. */
|
|
11
11
|
isUploading: boolean;
|
|
12
12
|
/**
|
|
13
|
-
* Upload
|
|
14
|
-
* `
|
|
13
|
+
* Upload progress from `client.uploadManager` as a percentage from 0 to 100, the same scale as
|
|
14
|
+
* `localMetadata.uploadProgress`. `undefined` when not uploading or not computable.
|
|
15
15
|
*/
|
|
16
16
|
uploadProgress: number | undefined;
|
|
17
17
|
};
|
|
@@ -32,7 +32,11 @@ const COMPLETION_READY_PROGRESS = 90;
|
|
|
32
32
|
const now = () => Date.now();
|
|
33
33
|
|
|
34
34
|
/**
|
|
35
|
-
* Subscribes to `client.uploadManager` for the pending attachment identified by `localId`.
|
|
35
|
+
* Subscribes to `client.uploadManager` for the pending attachment identified by `localId`. An
|
|
36
|
+
* upload that finished after reaching 90% keeps reporting `isUploading` at 100% for 350 ms.
|
|
37
|
+
*
|
|
38
|
+
* @param localId The local ID of the attachment. Without it the upload is reported as idle.
|
|
39
|
+
* @returns The upload state of the attachment.
|
|
36
40
|
*/
|
|
37
41
|
export function usePendingAttachmentUpload(localId: string | undefined): PendingAttachmentUpload {
|
|
38
42
|
const { client } = useChatContext();
|