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
|
@@ -25,7 +25,6 @@ export const Colors = {
|
|
|
25
25
|
bg_user: '#F7F7F8',
|
|
26
26
|
black: '#000000',
|
|
27
27
|
blue_alice: '#E9F2FF',
|
|
28
|
-
// border: '#00000014', // 14 = 8% opacity; top: x=0, y=-1; bottom: x=0, y=1
|
|
29
28
|
code_block: '#DDDDDD',
|
|
30
29
|
disabled: '#B4BBBA',
|
|
31
30
|
grey: '#7A7A7A',
|
|
@@ -1210,7 +1209,7 @@ export type Theme = {
|
|
|
1210
1209
|
thumb: ViewStyle;
|
|
1211
1210
|
waveform: ViewStyle;
|
|
1212
1211
|
};
|
|
1213
|
-
semantics: typeof lightSemantics;
|
|
1212
|
+
semantics: typeof lightSemantics;
|
|
1214
1213
|
};
|
|
1215
1214
|
|
|
1216
1215
|
export const defaultTheme: Theme = {
|
|
@@ -1874,7 +1873,7 @@ export const defaultTheme: Theme = {
|
|
|
1874
1873
|
container: {},
|
|
1875
1874
|
spacer: {
|
|
1876
1875
|
height: BASE_AVATAR_SIZE,
|
|
1877
|
-
width: BASE_AVATAR_SIZE,
|
|
1876
|
+
width: BASE_AVATAR_SIZE,
|
|
1878
1877
|
},
|
|
1879
1878
|
},
|
|
1880
1879
|
card: {
|
|
@@ -9,16 +9,11 @@ export type AlsoSentToChannelHeaderPressPayload = {
|
|
|
9
9
|
|
|
10
10
|
export type ThreadContextValue = {
|
|
11
11
|
allowThreadMessagesInChannel: boolean;
|
|
12
|
-
/**
|
|
13
|
-
* The thread this subtree renders. Set by `<Thread>`; `undefined` everywhere else.
|
|
14
|
-
*/
|
|
12
|
+
/** The thread this subtree renders. Set by `<Thread>`, `undefined` elsewhere. */
|
|
15
13
|
thread?: Thread;
|
|
16
14
|
};
|
|
17
15
|
|
|
18
|
-
/**
|
|
19
|
-
* What `useThreadContext()` returns outside a `<Thread>`. Only `<Thread>` provides this context, so
|
|
20
|
-
* its absence is how a component knows it is not rendering a thread.
|
|
21
|
-
*/
|
|
16
|
+
/** What `useThreadContext()` returns outside a `<Thread>`, the only provider of this context. */
|
|
22
17
|
const NO_THREAD_CONTEXT_VALUE: ThreadContextValue = {
|
|
23
18
|
allowThreadMessagesInChannel: false,
|
|
24
19
|
thread: undefined,
|
|
@@ -34,7 +29,7 @@ export const ThreadProvider = ({
|
|
|
34
29
|
}>) => <ThreadContext.Provider value={value}>{children}</ThreadContext.Provider>;
|
|
35
30
|
|
|
36
31
|
/**
|
|
37
|
-
* The thread the calling component renders, if any. Unlike the other context hooks
|
|
38
|
-
* throw outside its provider:
|
|
32
|
+
* The thread the calling component renders, if any. Unlike the other context hooks it does not
|
|
33
|
+
* throw outside its provider: it returns `{ thread: undefined }`.
|
|
39
34
|
*/
|
|
40
35
|
export const useThreadContext = () => useContext(ThreadContext);
|
|
@@ -9,13 +9,9 @@ export const DEFAULT_USER_LANGUAGE = 'en';
|
|
|
9
9
|
|
|
10
10
|
export type TranslationContextValue = TranslatorFunctions & {
|
|
11
11
|
/**
|
|
12
|
-
* The language the SDK's own copy renders in.
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
* the *message auto-translation* endpoint supports, which is a different question from which
|
|
16
|
-
* languages this SDK's UI can be translated into — any language an integrator registers a
|
|
17
|
-
* dictionary for is valid here. It also does not contain `pt-BR`, which this SDK itself shipped
|
|
18
|
-
* a locale for.
|
|
12
|
+
* The language the SDK's own copy renders in. A plain `string` rather than `stream-chat`'s
|
|
13
|
+
* `TranslationLanguage` (the message auto-translation languages): any language with a registered
|
|
14
|
+
* dictionary is valid.
|
|
19
15
|
*/
|
|
20
16
|
userLanguage: string;
|
|
21
17
|
};
|
|
@@ -1,23 +1,14 @@
|
|
|
1
1
|
import type { StreamTFunction } from '../../i18n/types';
|
|
2
2
|
|
|
3
|
-
/**
|
|
4
|
-
* The date/time parser types come from `@stream-io/i18n`, shared with the React SDK.
|
|
5
|
-
*
|
|
6
|
-
* They used to be declared here, and `TDateTimeParserOutput` referenced `Moment` from
|
|
7
|
-
* `moment-timezone` — a *devDependency*, so the type leaked into the published `.d.ts` and failed to
|
|
8
|
-
* resolve for any consumer who had not separately installed it. Core's structural `DateTimeLike`
|
|
9
|
-
* covers a Dayjs or a Moment without depending on either.
|
|
10
|
-
*/
|
|
3
|
+
/** The date/time parser types come from `@stream-io/i18n`, shared with the React SDK. */
|
|
11
4
|
export type { TDateTimeParser, TDateTimeParserInput, TDateTimeParserOutput } from '@stream-io/i18n';
|
|
12
5
|
|
|
13
6
|
export type TranslatorFunctions = {
|
|
14
7
|
/**
|
|
15
|
-
* The SDK's translation function.
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
* typing is deliberately local: installing it through i18next's `CustomTypeOptions` would be
|
|
20
|
-
* global and would force an integrator's own unrelated `t()` calls to satisfy our key union.
|
|
8
|
+
* The SDK's translation function. Typed as {@link StreamTFunction} so keys are checked against
|
|
9
|
+
* the generated catalog and prose call sites pass their English copy inline. The typing is local,
|
|
10
|
+
* not installed through i18next's `CustomTypeOptions`, which would constrain an app's own `t()`
|
|
11
|
+
* calls.
|
|
21
12
|
*/
|
|
22
13
|
t: StreamTFunction;
|
|
23
14
|
tDateTimeParser: import('@stream-io/i18n').TDateTimeParser;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { renderHook } from '@testing-library/react-native';
|
|
2
|
+
|
|
3
|
+
import { useAttachmentPickerBottomSheet } from '../useAttachmentPickerBottomSheet';
|
|
4
|
+
|
|
5
|
+
describe('useAttachmentPickerBottomSheet', () => {
|
|
6
|
+
afterEach(() => {
|
|
7
|
+
jest.restoreAllMocks();
|
|
8
|
+
});
|
|
9
|
+
|
|
10
|
+
it('opens the sheet at its first snap point', () => {
|
|
11
|
+
const snapToIndex = jest.fn();
|
|
12
|
+
const { result } = renderHook(() => useAttachmentPickerBottomSheet());
|
|
13
|
+
|
|
14
|
+
result.current.openPicker({ current: { snapToIndex } as never });
|
|
15
|
+
|
|
16
|
+
expect(snapToIndex).toHaveBeenCalledWith(0);
|
|
17
|
+
});
|
|
18
|
+
|
|
19
|
+
it('warns that the sheet cannot open when the ref has no snapToIndex', () => {
|
|
20
|
+
const warn = jest.spyOn(console, 'warn').mockImplementation(() => {});
|
|
21
|
+
const { result } = renderHook(() => useAttachmentPickerBottomSheet());
|
|
22
|
+
|
|
23
|
+
result.current.openPicker({ current: null });
|
|
24
|
+
|
|
25
|
+
expect(warn).toHaveBeenCalledWith(expect.stringContaining('snapToIndex'));
|
|
26
|
+
});
|
|
27
|
+
});
|
|
@@ -21,7 +21,7 @@ const createClient = ({
|
|
|
21
21
|
// muted USERS stay client-global — useMutedUsers reads them reactively from mutedUsersStore.
|
|
22
22
|
mutedUsersStore: new StateStore({ mutedUsers }),
|
|
23
23
|
on: jest.fn(() => ({ unsubscribe: jest.fn() })),
|
|
24
|
-
|
|
24
|
+
userId: CURRENT_USER_ID,
|
|
25
25
|
}) as never;
|
|
26
26
|
|
|
27
27
|
// Back the mock channel with a real StateStore (so `useStateStore` can subscribe to `members` and
|
|
@@ -23,7 +23,7 @@ describe('useIsDirectChat', () => {
|
|
|
23
23
|
jest
|
|
24
24
|
.spyOn(ChatContext, 'useChatContext')
|
|
25
25
|
.mockImplementation(
|
|
26
|
-
() => ({ client: {
|
|
26
|
+
() => ({ client: { userId: OWN_USER_ID } }) as unknown as ChatContextValue,
|
|
27
27
|
);
|
|
28
28
|
});
|
|
29
29
|
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { act, renderHook } from '@testing-library/react-native';
|
|
2
|
+
|
|
3
|
+
import { useRAFCoalescedValue } from '../useRAFCoalescedValue';
|
|
4
|
+
|
|
5
|
+
describe('useRAFCoalescedValue', () => {
|
|
6
|
+
let frames: FrameRequestCallback[];
|
|
7
|
+
|
|
8
|
+
beforeEach(() => {
|
|
9
|
+
frames = [];
|
|
10
|
+
jest.spyOn(global, 'requestAnimationFrame').mockImplementation((callback) => {
|
|
11
|
+
frames.push(callback);
|
|
12
|
+
return frames.length;
|
|
13
|
+
});
|
|
14
|
+
jest.spyOn(global, 'cancelAnimationFrame').mockImplementation(() => {});
|
|
15
|
+
});
|
|
16
|
+
|
|
17
|
+
afterEach(() => {
|
|
18
|
+
jest.restoreAllMocks();
|
|
19
|
+
});
|
|
20
|
+
|
|
21
|
+
const flushFrame = () =>
|
|
22
|
+
act(() => {
|
|
23
|
+
frames.splice(0).forEach((callback) => callback(0));
|
|
24
|
+
});
|
|
25
|
+
|
|
26
|
+
it('publishes the latest value once per frame', () => {
|
|
27
|
+
const { rerender, result } = renderHook(
|
|
28
|
+
({ value }: { value: string }) => useRAFCoalescedValue(value, true),
|
|
29
|
+
{ initialProps: { value: 'a' } },
|
|
30
|
+
);
|
|
31
|
+
|
|
32
|
+
rerender({ value: 'b' });
|
|
33
|
+
rerender({ value: 'c' });
|
|
34
|
+
expect(result.current).toBe('a');
|
|
35
|
+
expect(frames).toHaveLength(1);
|
|
36
|
+
|
|
37
|
+
flushFrame();
|
|
38
|
+
expect(result.current).toBe('c');
|
|
39
|
+
});
|
|
40
|
+
|
|
41
|
+
it('returns the value as is while disabled', () => {
|
|
42
|
+
const { rerender, result } = renderHook(
|
|
43
|
+
({ value }: { value: string }) => useRAFCoalescedValue(value, false),
|
|
44
|
+
{ initialProps: { value: 'a' } },
|
|
45
|
+
);
|
|
46
|
+
|
|
47
|
+
rerender({ value: 'b' });
|
|
48
|
+
expect(result.current).toBe('b');
|
|
49
|
+
expect(frames).toHaveLength(0);
|
|
50
|
+
});
|
|
51
|
+
|
|
52
|
+
it('shows the last published value when re-enabled with it', () => {
|
|
53
|
+
const { rerender, result } = renderHook(
|
|
54
|
+
({ isEnabled, value }: { isEnabled: boolean; value: string }) =>
|
|
55
|
+
useRAFCoalescedValue(value, isEnabled),
|
|
56
|
+
{ initialProps: { isEnabled: true, value: 'a' } },
|
|
57
|
+
);
|
|
58
|
+
|
|
59
|
+
rerender({ isEnabled: true, value: 'b' });
|
|
60
|
+
flushFrame();
|
|
61
|
+
rerender({ isEnabled: false, value: 'c' });
|
|
62
|
+
rerender({ isEnabled: true, value: 'b' });
|
|
63
|
+
|
|
64
|
+
expect(result.current).toBe('b');
|
|
65
|
+
});
|
|
66
|
+
|
|
67
|
+
it('publishes a value that changed while disabled once re-enabled', () => {
|
|
68
|
+
const { rerender, result } = renderHook(
|
|
69
|
+
({ isEnabled, value }: { isEnabled: boolean; value: string }) =>
|
|
70
|
+
useRAFCoalescedValue(value, isEnabled),
|
|
71
|
+
{ initialProps: { isEnabled: true, value: 'a' } },
|
|
72
|
+
);
|
|
73
|
+
|
|
74
|
+
rerender({ isEnabled: false, value: 'b' });
|
|
75
|
+
rerender({ isEnabled: true, value: 'b' });
|
|
76
|
+
flushFrame();
|
|
77
|
+
|
|
78
|
+
expect(result.current).toBe('b');
|
|
79
|
+
});
|
|
80
|
+
});
|
|
@@ -58,7 +58,7 @@ const createClient = () => ({
|
|
|
58
58
|
unblockUser: jest.fn(),
|
|
59
59
|
unmuteUser: jest.fn(),
|
|
60
60
|
uploadImage: jest.fn().mockResolvedValue({ file: 'https://cdn.example.com/uploaded.png' }),
|
|
61
|
-
|
|
61
|
+
userId: 'current-user-id',
|
|
62
62
|
});
|
|
63
63
|
|
|
64
64
|
const createChannel = (client: ReturnType<typeof createClient>) =>
|
|
@@ -273,7 +273,7 @@ describe('useChannelActions', () => {
|
|
|
273
273
|
await result.current.addMembers(['u-1', 'u-2']);
|
|
274
274
|
});
|
|
275
275
|
|
|
276
|
-
expect(channel.addMembers).toHaveBeenCalledWith(['u-1', 'u-2']);
|
|
276
|
+
expect(channel.addMembers).toHaveBeenCalledWith({ members: ['u-1', 'u-2'] });
|
|
277
277
|
expect(client.notifications.add).toHaveBeenCalledWith({
|
|
278
278
|
message: '{{count}} members added',
|
|
279
279
|
options: {
|
|
@@ -326,7 +326,7 @@ describe('useChannelActions', () => {
|
|
|
326
326
|
await result.current.addMembers(['u-1'], { onSuccess });
|
|
327
327
|
});
|
|
328
328
|
|
|
329
|
-
expect(channel.addMembers).toHaveBeenCalledWith(['u-1']);
|
|
329
|
+
expect(channel.addMembers).toHaveBeenCalledWith({ members: ['u-1'] });
|
|
330
330
|
expect(onSuccess).toHaveBeenCalledTimes(1);
|
|
331
331
|
});
|
|
332
332
|
|
|
@@ -357,7 +357,7 @@ describe('useChannelActions', () => {
|
|
|
357
357
|
await result.current.removeMembers(['u-1', 'u-2']);
|
|
358
358
|
});
|
|
359
359
|
|
|
360
|
-
expect(channel.removeMembers).toHaveBeenCalledWith(['u-1', 'u-2']);
|
|
360
|
+
expect(channel.removeMembers).toHaveBeenCalledWith({ members: ['u-1', 'u-2'] });
|
|
361
361
|
expect(client.notifications.add).toHaveBeenCalledWith({
|
|
362
362
|
message: '{{count}} members removed',
|
|
363
363
|
options: {
|
|
@@ -35,15 +35,15 @@ const createMemberMock = (userId = 'target-user-id'): ChannelMemberResponse =>
|
|
|
35
35
|
user_id: userId,
|
|
36
36
|
}) as ChannelMemberResponse;
|
|
37
37
|
|
|
38
|
-
const createChannelMock = (params?: { blockedUserIds?: string[];
|
|
39
|
-
const { blockedUserIds = [],
|
|
38
|
+
const createChannelMock = (params?: { blockedUserIds?: string[]; userId?: string }): Channel => {
|
|
39
|
+
const { blockedUserIds = [], userId = 'current-user-id' } = params ?? {};
|
|
40
40
|
return {
|
|
41
41
|
getClient: () => ({
|
|
42
42
|
blockedUsers: {
|
|
43
43
|
getLatestValue: () => ({ userIds: blockedUserIds }),
|
|
44
44
|
subscribeWithSelector: () => () => {},
|
|
45
45
|
},
|
|
46
|
-
|
|
46
|
+
userId,
|
|
47
47
|
}),
|
|
48
48
|
} as unknown as Channel;
|
|
49
49
|
};
|
|
@@ -84,7 +84,7 @@ describe('useChannelMemberActionItems', () => {
|
|
|
84
84
|
});
|
|
85
85
|
|
|
86
86
|
it('returns no action items when the member is the current user', () => {
|
|
87
|
-
const currentUserChannel = createChannelMock({
|
|
87
|
+
const currentUserChannel = createChannelMock({ userId: 'target-user-id' });
|
|
88
88
|
|
|
89
89
|
const { result } = renderHook(() =>
|
|
90
90
|
useChannelMemberActionItems({ channel: currentUserChannel, member }),
|
|
@@ -101,7 +101,7 @@ describe('useChannelMemberActionItems', () => {
|
|
|
101
101
|
});
|
|
102
102
|
|
|
103
103
|
const wrapper = ({ children }: PropsWithChildren) => (
|
|
104
|
-
<ChatProvider value={{ client: { mutedUsersStore,
|
|
104
|
+
<ChatProvider value={{ client: { mutedUsersStore, userId: 'current-user-id' } } as never}>
|
|
105
105
|
{children}
|
|
106
106
|
</ChatProvider>
|
|
107
107
|
);
|
|
@@ -166,7 +166,7 @@ describe('useChannelMemberActionItems', () => {
|
|
|
166
166
|
jest
|
|
167
167
|
.spyOn(useChannelOwnCapabilitiesModule, 'useChannelOwnCapabilities')
|
|
168
168
|
.mockReturnValue(['update-channel-members']);
|
|
169
|
-
const currentUserChannel = createChannelMock({
|
|
169
|
+
const currentUserChannel = createChannelMock({ userId: 'target-user-id' });
|
|
170
170
|
|
|
171
171
|
const { result } = renderHook(() =>
|
|
172
172
|
useChannelMemberActionItems({ channel: currentUserChannel, member }),
|
|
@@ -22,10 +22,8 @@ import { useChannelMembershipState } from '../useChannelMembershipState';
|
|
|
22
22
|
import { useIsDirectChat } from '../useIsDirectChat';
|
|
23
23
|
import { useStateStore } from '../useStateStore';
|
|
24
24
|
|
|
25
|
-
//
|
|
26
|
-
// (defaultComponents
|
|
27
|
-
// importing defaultIcons corrupts module-init order; require it at call time
|
|
28
|
-
// instead. Same pattern as ComponentsContext's getDefaults().
|
|
25
|
+
// Required lazily: a static import of defaultComponents.ts would form a cycle
|
|
26
|
+
// (defaultComponents -> ChannelDetails*/ChannelPreview* -> this file) and corrupt init order.
|
|
29
27
|
let cachedDefaultIcons: IconsMap | undefined;
|
|
30
28
|
const getDefaultIcons = (): IconsMap => {
|
|
31
29
|
if (!cachedDefaultIcons) {
|
|
@@ -40,37 +38,22 @@ export type ChannelActionItem = ActionItem<
|
|
|
40
38
|
'mute' | 'muteUser' | 'block' | 'leave' | 'deleteChannel' | 'pin' | string
|
|
41
39
|
> & {
|
|
42
40
|
/**
|
|
43
|
-
*
|
|
44
|
-
*
|
|
45
|
-
*
|
|
46
|
-
*
|
|
47
|
-
* - `'swipe'`: shown only in the swipe-row chips.
|
|
48
|
-
* - `'sheet'`: shown only in the swipe-triggered options sheet.
|
|
49
|
-
* - `'both'`: shown in both swipe row and sheet.
|
|
50
|
-
*
|
|
51
|
-
* The standalone Channel Details screen does **not** filter by `placement` -
|
|
52
|
-
* use {@link ChannelActionSurface} (`surface`) instead to vary items between
|
|
53
|
-
* the channel list and the Channel Details screen.
|
|
41
|
+
* Where the item shows in a channel preview: `'swipe'` (swipe-row chips only), `'sheet'` (the
|
|
42
|
+
* options sheet opened from the swipe row only) or `'both'`. Only `<ChannelSwipableWrapper>`
|
|
43
|
+
* reads it; the Channel Details screen does not, so use `surface` to vary items there.
|
|
54
44
|
*/
|
|
55
45
|
placement: 'both' | 'sheet' | 'swipe';
|
|
56
46
|
};
|
|
57
47
|
|
|
58
48
|
/**
|
|
59
|
-
*
|
|
60
|
-
*
|
|
61
|
-
* and any integrator supplied `getChannelActionItems` can branch on it - i.e.
|
|
62
|
-
* to drop or relabel an item on a specific surface or to provide an entirely
|
|
63
|
-
* different builder per surface.
|
|
49
|
+
* The UI surface requesting channel action items, passed through to `getChannelActionItems` so it
|
|
50
|
+
* can drop or relabel items per surface.
|
|
64
51
|
*
|
|
65
|
-
* - `'list'`:
|
|
66
|
-
*
|
|
67
|
-
*
|
|
68
|
-
* {@link ChannelActionItem.placement} field.
|
|
69
|
-
* - `'details'`: items for the standalone Channel Details screen.
|
|
52
|
+
* - `'list'`: ChannelList interactions, the swipe row of a channel preview and its options sheet
|
|
53
|
+
* (routed between the two by {@link ChannelActionItem.placement}).
|
|
54
|
+
* - `'details'`: the standalone Channel Details screen.
|
|
70
55
|
*
|
|
71
|
-
*
|
|
72
|
-
* optional and when omitted, the default builder applies no surface specific
|
|
73
|
-
* filtering and returns every item it would otherwise produce.
|
|
56
|
+
* When omitted, the default builder applies no surface filtering.
|
|
74
57
|
*/
|
|
75
58
|
export type ChannelActionSurface = 'list' | 'details';
|
|
76
59
|
|
|
@@ -129,7 +112,7 @@ export const buildDefaultChannelActionItems: BuildDefaultChannelActionItems = (
|
|
|
129
112
|
t,
|
|
130
113
|
channel,
|
|
131
114
|
} = channelActionItemsParams;
|
|
132
|
-
const ownUserId = channel.getClient().
|
|
115
|
+
const ownUserId = channel.getClient().userId;
|
|
133
116
|
|
|
134
117
|
const actionItems: ChannelActionItem[] = [
|
|
135
118
|
{
|
|
@@ -39,7 +39,7 @@ export type ChannelActions = {
|
|
|
39
39
|
export const getOtherUserInDirectChannel = (channel: Channel) => {
|
|
40
40
|
const members = Object.values(channel.state.members);
|
|
41
41
|
return members.length === 2
|
|
42
|
-
? members.find((member) => member.user?.id !== channel.getClient().
|
|
42
|
+
? members.find((member) => member.user?.id !== channel.getClient().userId)
|
|
43
43
|
: undefined;
|
|
44
44
|
};
|
|
45
45
|
|
|
@@ -62,7 +62,7 @@ export const useChannelActions = (channel: Channel) => {
|
|
|
62
62
|
const { client } = useChatContext();
|
|
63
63
|
const { addNotification } = useNotificationApi();
|
|
64
64
|
const { t } = useTranslationContext();
|
|
65
|
-
const ownUserId = client.
|
|
65
|
+
const ownUserId = client.userId;
|
|
66
66
|
|
|
67
67
|
const pin = useStableCallback(async (options?: ChannelActionOptions) => {
|
|
68
68
|
try {
|
|
@@ -174,7 +174,7 @@ export const useChannelActions = (channel: Channel) => {
|
|
|
174
174
|
}
|
|
175
175
|
if (ownUserId) {
|
|
176
176
|
try {
|
|
177
|
-
await channel.removeMembers([ownUserId]);
|
|
177
|
+
await channel.removeMembers({ members: [ownUserId] });
|
|
178
178
|
addNotification({
|
|
179
179
|
message: t('channel.left.text', 'Left channel'),
|
|
180
180
|
options: { severity: 'success', type: 'api:channel:leave:success' },
|
|
@@ -202,7 +202,7 @@ export const useChannelActions = (channel: Channel) => {
|
|
|
202
202
|
return;
|
|
203
203
|
}
|
|
204
204
|
try {
|
|
205
|
-
await channel.removeMembers(memberIds);
|
|
205
|
+
await channel.removeMembers({ members: memberIds });
|
|
206
206
|
addNotification({
|
|
207
207
|
message: t('channel.membersRemoved.text', {
|
|
208
208
|
count: memberIds.length,
|
|
@@ -234,7 +234,7 @@ export const useChannelActions = (channel: Channel) => {
|
|
|
234
234
|
return;
|
|
235
235
|
}
|
|
236
236
|
try {
|
|
237
|
-
await channel.addMembers(memberIds);
|
|
237
|
+
await channel.addMembers({ members: memberIds });
|
|
238
238
|
addNotification({
|
|
239
239
|
message: t('channel.membersAdded.text', {
|
|
240
240
|
count: memberIds.length,
|
|
@@ -16,10 +16,8 @@ import { IconProps } from '../../icons';
|
|
|
16
16
|
import { useChannelOwnCapabilities } from '../useChannelOwnCapabilities';
|
|
17
17
|
import { useStateStore } from '../useStateStore';
|
|
18
18
|
|
|
19
|
-
//
|
|
20
|
-
// (defaultComponents
|
|
21
|
-
// importing defaultIcons corrupts module-init order; require it at call time
|
|
22
|
-
// instead. Same pattern as ComponentsContext's getDefaults().
|
|
19
|
+
// Required lazily: a static import of defaultComponents.ts would form a cycle
|
|
20
|
+
// (defaultComponents -> ChannelDetails*/ChannelPreview* -> this file) and corrupt init order.
|
|
23
21
|
let cachedDefaultIcons: IconsMap | undefined;
|
|
24
22
|
const getDefaultIcons = (): IconsMap => {
|
|
25
23
|
if (!cachedDefaultIcons) {
|
|
@@ -81,8 +79,7 @@ export const buildDefaultChannelMemberActionItems: BuildDefaultChannelMemberActi
|
|
|
81
79
|
|
|
82
80
|
const actionItems: ChannelMemberActionItem[] = [];
|
|
83
81
|
|
|
84
|
-
// Muting or blocking yourself is meaningless, so these actions are only
|
|
85
|
-
// added for other members.
|
|
82
|
+
// Muting or blocking yourself is meaningless, so these actions are only for other members.
|
|
86
83
|
if (!isCurrentUser) {
|
|
87
84
|
actionItems.push(
|
|
88
85
|
{
|
|
@@ -214,7 +211,7 @@ export const useChannelMemberActionItems = ({
|
|
|
214
211
|
|
|
215
212
|
const isBlocked = blockedUserIds.includes(member.user?.id ?? '');
|
|
216
213
|
|
|
217
|
-
const isCurrentUser = member.user?.id === channel.getClient().
|
|
214
|
+
const isCurrentUser = member.user?.id === channel.getClient().userId;
|
|
218
215
|
|
|
219
216
|
const channelMemberActionItemsParams = useMemo<ChannelMemberActionItemsParams>(
|
|
220
217
|
() => ({
|
package/src/hooks/index.ts
CHANGED
|
@@ -13,6 +13,7 @@ export * from './useChannelMuteActive';
|
|
|
13
13
|
export * from './useIsDirectChat';
|
|
14
14
|
export * from './useIsChannelMember';
|
|
15
15
|
export * from './useStreami18n';
|
|
16
|
+
export * from './useTranslatedMessage';
|
|
16
17
|
export * from './useViewport';
|
|
17
18
|
export * from './useScreenDimensions';
|
|
18
19
|
export * from './useScreenOrientation';
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import React, { PropsWithChildren } from 'react';
|
|
2
2
|
|
|
3
3
|
import { act, renderHook } from '@testing-library/react-native';
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
import type { Channel, UserResponse } from 'stream-chat';
|
|
4
|
+
import { asTimestampNS } from 'stream-chat';
|
|
5
|
+
import type { Channel, MsgRef } from 'stream-chat';
|
|
7
6
|
|
|
8
7
|
import { Chat } from '../../../components/Chat/Chat';
|
|
9
8
|
import { initiateClientWithChannels } from '../../../mock-builders/api/initiateClientWithChannels';
|
|
@@ -12,7 +11,16 @@ import { generateUser } from '../../../mock-builders/generator/user';
|
|
|
12
11
|
import { MessageDeliveryStatus, useMessageDeliveryStatus } from '../useMessageDeliveryStatus';
|
|
13
12
|
|
|
14
13
|
describe('useMessageDeliveryStatus', () => {
|
|
15
|
-
const ownMessage = generateMessage({
|
|
14
|
+
const ownMessage = generateMessage({
|
|
15
|
+
timestamp: new Date('2026-01-01T10:00:00Z'),
|
|
16
|
+
user: generateUser({ id: 'me' }),
|
|
17
|
+
});
|
|
18
|
+
|
|
19
|
+
// A cursor `offsetNs` after (or, negative, before) `ownMessage`, on a message of its own.
|
|
20
|
+
const cursorAt = (offsetNs: number, msgId = `cursor-${offsetNs}`): MsgRef => ({
|
|
21
|
+
msgId,
|
|
22
|
+
timestamp: asTimestampNS(ownMessage.created_at + offsetNs),
|
|
23
|
+
});
|
|
16
24
|
|
|
17
25
|
const setup = async ({
|
|
18
26
|
isReadEventsEnabled = true,
|
|
@@ -32,14 +40,11 @@ describe('useMessageDeliveryStatus', () => {
|
|
|
32
40
|
|
|
33
41
|
const setReceipts = (
|
|
34
42
|
channel: Channel,
|
|
35
|
-
{
|
|
36
|
-
delivered = {},
|
|
37
|
-
readers = {},
|
|
38
|
-
}: { delivered?: Record<string, UserResponse[]>; readers?: Record<string, UserResponse[]> },
|
|
43
|
+
{ delivered = null, read = null }: { delivered?: MsgRef | null; read?: MsgRef | null },
|
|
39
44
|
) =>
|
|
40
45
|
channel.messageReceiptsTracker.snapshotStore.partialNext({
|
|
41
|
-
|
|
42
|
-
|
|
46
|
+
lastDeliveredRefByOthers: delivered,
|
|
47
|
+
lastReadRefByOthers: read,
|
|
43
48
|
});
|
|
44
49
|
|
|
45
50
|
it('returns NOT_SENT_BY_CURRENT_USER when read events are disabled', async () => {
|
|
@@ -58,22 +63,55 @@ describe('useMessageDeliveryStatus', () => {
|
|
|
58
63
|
const { channel, result } = await setup();
|
|
59
64
|
expect(result.current.status).toBe(MessageDeliveryStatus.SENT);
|
|
60
65
|
|
|
61
|
-
act(() =>
|
|
62
|
-
setReceipts(channel, {
|
|
63
|
-
delivered: { [ownMessage.id]: [fromPartial<UserResponse>({ id: 'other' })] },
|
|
64
|
-
}),
|
|
65
|
-
);
|
|
66
|
+
act(() => setReceipts(channel, { delivered: cursorAt(0, ownMessage.id) }));
|
|
66
67
|
expect(result.current.status).toBe(MessageDeliveryStatus.DELIVERED);
|
|
67
68
|
|
|
68
69
|
act(() =>
|
|
69
70
|
setReceipts(channel, {
|
|
70
|
-
delivered:
|
|
71
|
-
|
|
71
|
+
delivered: cursorAt(0, ownMessage.id),
|
|
72
|
+
read: cursorAt(0, ownMessage.id),
|
|
72
73
|
}),
|
|
73
74
|
);
|
|
74
75
|
expect(result.current.status).toBe(MessageDeliveryStatus.READ);
|
|
75
76
|
});
|
|
76
77
|
|
|
78
|
+
it('returns READ when another member read past the message', async () => {
|
|
79
|
+
const { channel, result } = await setup();
|
|
80
|
+
|
|
81
|
+
act(() => setReceipts(channel, { delivered: cursorAt(1000), read: cursorAt(1000) }));
|
|
82
|
+
|
|
83
|
+
expect(result.current.status).toBe(MessageDeliveryStatus.READ);
|
|
84
|
+
});
|
|
85
|
+
|
|
86
|
+
it('returns DELIVERED when the message was delivered past it but not read', async () => {
|
|
87
|
+
const { channel, result } = await setup();
|
|
88
|
+
|
|
89
|
+
act(() => setReceipts(channel, { delivered: cursorAt(1000), read: cursorAt(-1000) }));
|
|
90
|
+
|
|
91
|
+
expect(result.current.status).toBe(MessageDeliveryStatus.DELIVERED);
|
|
92
|
+
});
|
|
93
|
+
|
|
94
|
+
it('returns SENT when every cursor is before the message', async () => {
|
|
95
|
+
const { channel, result } = await setup();
|
|
96
|
+
|
|
97
|
+
act(() => setReceipts(channel, { delivered: cursorAt(-1000), read: cursorAt(-1000) }));
|
|
98
|
+
|
|
99
|
+
expect(result.current.status).toBe(MessageDeliveryStatus.SENT);
|
|
100
|
+
});
|
|
101
|
+
|
|
102
|
+
it('returns READ for a thread reply read past by another member', async () => {
|
|
103
|
+
const reply = generateMessage({
|
|
104
|
+
parent_id: 'parent',
|
|
105
|
+
timestamp: new Date('2026-01-01T10:00:00Z'),
|
|
106
|
+
user: generateUser({ id: 'me' }),
|
|
107
|
+
});
|
|
108
|
+
const { channel, result } = await setup({ lastMessage: reply });
|
|
109
|
+
|
|
110
|
+
act(() => setReceipts(channel, { delivered: cursorAt(1000), read: cursorAt(1000) }));
|
|
111
|
+
|
|
112
|
+
expect(result.current.status).toBe(MessageDeliveryStatus.READ);
|
|
113
|
+
});
|
|
114
|
+
|
|
77
115
|
// The receipts tracker rebuilds its reader arrays on every snapshot, presence and user updates
|
|
78
116
|
// included, so a preview row must only re-render when the status itself changes.
|
|
79
117
|
it('does not re-render when the receipts change without changing the status', async () => {
|
|
@@ -95,24 +133,11 @@ describe('useMessageDeliveryStatus', () => {
|
|
|
95
133
|
{ wrapper },
|
|
96
134
|
);
|
|
97
135
|
|
|
98
|
-
act(() =>
|
|
99
|
-
setReceipts(channel, {
|
|
100
|
-
delivered: { [ownMessage.id]: [fromPartial<UserResponse>({ id: 'other' })] },
|
|
101
|
-
}),
|
|
102
|
-
);
|
|
136
|
+
act(() => setReceipts(channel, { delivered: cursorAt(0, ownMessage.id) }));
|
|
103
137
|
expect(result.current.status).toBe(MessageDeliveryStatus.DELIVERED);
|
|
104
138
|
const rendersWhenDelivered = renders;
|
|
105
139
|
|
|
106
|
-
act(() =>
|
|
107
|
-
setReceipts(channel, {
|
|
108
|
-
delivered: {
|
|
109
|
-
[ownMessage.id]: [
|
|
110
|
-
fromPartial<UserResponse>({ id: 'other' }),
|
|
111
|
-
fromPartial<UserResponse>({ id: 'third' }),
|
|
112
|
-
],
|
|
113
|
-
},
|
|
114
|
-
}),
|
|
115
|
-
);
|
|
140
|
+
act(() => setReceipts(channel, { delivered: cursorAt(1000) }));
|
|
116
141
|
expect(result.current.status).toBe(MessageDeliveryStatus.DELIVERED);
|
|
117
142
|
expect(renders).toBe(rendersWhenDelivered);
|
|
118
143
|
});
|
|
@@ -17,15 +17,15 @@ type GroupedAttachments = {
|
|
|
17
17
|
images: Attachment[];
|
|
18
18
|
videos: Attachment[];
|
|
19
19
|
files: Attachment[];
|
|
20
|
-
// Narrowed by `isVoiceRecordingAttachment`
|
|
21
|
-
// without re-asserting the subtype.
|
|
20
|
+
// Narrowed by `isVoiceRecordingAttachment` so consumers can read `.custom.duration`.
|
|
22
21
|
voiceRecordings: VoiceRecordingAttachment[];
|
|
23
22
|
};
|
|
24
23
|
|
|
25
24
|
/**
|
|
26
|
-
*
|
|
27
|
-
*
|
|
28
|
-
* @
|
|
25
|
+
* Groups attachments by type. Attachments matching no group are dropped.
|
|
26
|
+
*
|
|
27
|
+
* @param attachments The attachments to group.
|
|
28
|
+
* @returns The attachments per type.
|
|
29
29
|
*/
|
|
30
30
|
export const useGroupedAttachments = (attachments?: Attachment[]) => {
|
|
31
31
|
return useMemo<GroupedAttachments>(() => {
|