stream-chat-react-native-core 9.2.0-beta.1 → 9.2.0-beta.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/README.md +1 -1
- package/lib/commonjs/a11y/hooks/useA11yLabel.js +4 -3
- package/lib/commonjs/a11y/hooks/useA11yLabel.js.map +1 -1
- package/lib/commonjs/a11y/hooks/useAccessibilityActivateAction.js +25 -0
- package/lib/commonjs/a11y/hooks/useAccessibilityActivateAction.js.map +1 -0
- package/lib/commonjs/a11y/index.js +11 -0
- package/lib/commonjs/a11y/index.js.map +1 -1
- package/lib/commonjs/components/AttachmentPicker/AttachmentPicker.js +20 -0
- package/lib/commonjs/components/AttachmentPicker/AttachmentPicker.js.map +1 -1
- package/lib/commonjs/components/AttachmentPicker/components/AttachmentMediaPicker/AttachmentMediaPicker.js +1 -0
- package/lib/commonjs/components/AttachmentPicker/components/AttachmentMediaPicker/AttachmentMediaPicker.js.map +1 -1
- package/lib/commonjs/components/AttachmentPicker/components/AttachmentMediaPicker/AttachmentPickerItem.js +19 -2
- package/lib/commonjs/components/AttachmentPicker/components/AttachmentMediaPicker/AttachmentPickerItem.js.map +1 -1
- package/lib/commonjs/components/AttachmentPicker/components/AttachmentPickerContent.js +4 -3
- package/lib/commonjs/components/AttachmentPicker/components/AttachmentPickerContent.js.map +1 -1
- package/lib/commonjs/components/AttachmentPicker/components/AttachmentTypePickerButton.js +9 -1
- package/lib/commonjs/components/AttachmentPicker/components/AttachmentTypePickerButton.js.map +1 -1
- package/lib/commonjs/components/Channel/Channel.js +10 -1
- package/lib/commonjs/components/Channel/Channel.js.map +1 -1
- package/lib/commonjs/components/Channel/hooks/useMessageListPagination.js +26 -3
- package/lib/commonjs/components/Channel/hooks/useMessageListPagination.js.map +1 -1
- package/lib/commonjs/components/ChannelList/ChannelList.js +29 -4
- package/lib/commonjs/components/ChannelList/ChannelList.js.map +1 -1
- package/lib/commonjs/components/ChannelList/hooks/useChannelActions.js +314 -11
- package/lib/commonjs/components/ChannelList/hooks/useChannelActions.js.map +1 -1
- package/lib/commonjs/components/ImageGallery/components/ImageGalleryFooter.js +2 -2
- package/lib/commonjs/components/ImageGallery/components/ImageGalleryFooter.js.map +1 -1
- package/lib/commonjs/components/ImageGallery/components/ImageGalleryHeader.js +1 -1
- package/lib/commonjs/components/ImageGallery/components/ImageGalleryHeader.js.map +1 -1
- package/lib/commonjs/components/ImageGallery/components/ImageGalleryVideoControl.js +1 -1
- package/lib/commonjs/components/ImageGallery/components/ImageGalleryVideoControl.js.map +1 -1
- package/lib/commonjs/components/Message/hooks/useMessageActionHandlers.js +202 -15
- package/lib/commonjs/components/Message/hooks/useMessageActionHandlers.js.map +1 -1
- package/lib/commonjs/components/MessageInput/MessageComposer.js +1 -1
- package/lib/commonjs/components/MessageInput/MessageComposerLeadingView.js +1 -1
- package/lib/commonjs/components/MessageInput/MessageComposerLeadingView.js.map +1 -1
- package/lib/commonjs/components/MessageInput/MessageInputHeaderView.js +1 -1
- package/lib/commonjs/components/MessageInput/MessageInputHeaderView.js.map +1 -1
- package/lib/commonjs/components/MessageInput/MessageInputTrailingView.js +1 -1
- package/lib/commonjs/components/MessageInput/MessageInputTrailingView.js.map +1 -1
- package/lib/commonjs/components/MessageInput/components/AttachmentPreview/AttachmentRemoveControl.js +16 -4
- package/lib/commonjs/components/MessageInput/components/AttachmentPreview/AttachmentRemoveControl.js.map +1 -1
- package/lib/commonjs/components/MessageInput/components/AttachmentPreview/AttachmentUploadPreviewList.js +7 -13
- package/lib/commonjs/components/MessageInput/components/AttachmentPreview/AttachmentUploadPreviewList.js.map +1 -1
- package/lib/commonjs/components/MessageInput/components/AudioRecorder/AudioRecorder.js +30 -6
- package/lib/commonjs/components/MessageInput/components/AudioRecorder/AudioRecorder.js.map +1 -1
- package/lib/commonjs/components/MessageInput/components/AudioRecorder/AudioRecordingButton.js +34 -9
- package/lib/commonjs/components/MessageInput/components/AudioRecorder/AudioRecordingButton.js.map +1 -1
- package/lib/commonjs/components/MessageInput/components/InputButtons/AttachButton.js +12 -3
- package/lib/commonjs/components/MessageInput/components/InputButtons/AttachButton.js.map +1 -1
- package/lib/commonjs/components/MessageInput/components/OutputButtons/EditButton.js +1 -0
- package/lib/commonjs/components/MessageInput/components/OutputButtons/EditButton.js.map +1 -1
- package/lib/commonjs/components/MessageInput/components/OutputButtons/SendButton.js +1 -0
- package/lib/commonjs/components/MessageInput/components/OutputButtons/SendButton.js.map +1 -1
- package/lib/commonjs/components/MessageInput/components/OutputButtons/index.js +1 -1
- package/lib/commonjs/components/MessageList/MessageFlashList.js +24 -4
- package/lib/commonjs/components/MessageList/MessageFlashList.js.map +1 -1
- package/lib/commonjs/components/MessageList/MessageList.js +24 -4
- package/lib/commonjs/components/MessageList/MessageList.js.map +1 -1
- package/lib/commonjs/components/MessageList/ScrollToBottomButton.js +12 -6
- package/lib/commonjs/components/MessageList/ScrollToBottomButton.js.map +1 -1
- package/lib/commonjs/components/MessageList/UnreadMessagesNotification.js +1 -0
- package/lib/commonjs/components/MessageList/UnreadMessagesNotification.js.map +1 -1
- package/lib/commonjs/components/MessageList/hooks/useScrollToBottomAccessibilityAction.js +47 -0
- package/lib/commonjs/components/MessageList/hooks/useScrollToBottomAccessibilityAction.js.map +1 -0
- package/lib/commonjs/components/MessageMenu/MessageActionListItem.js +12 -4
- package/lib/commonjs/components/MessageMenu/MessageActionListItem.js.map +1 -1
- package/lib/commonjs/components/MessageMenu/MessageReactionPicker.js +1 -0
- package/lib/commonjs/components/MessageMenu/MessageReactionPicker.js.map +1 -1
- package/lib/commonjs/components/MessageMenu/ReactionButton.js +9 -6
- package/lib/commonjs/components/MessageMenu/ReactionButton.js.map +1 -1
- package/lib/commonjs/components/MessageMenu/hooks/useFetchReactions.js +23 -2
- package/lib/commonjs/components/MessageMenu/hooks/useFetchReactions.js.map +1 -1
- package/lib/commonjs/components/Notifications/Notification.js +232 -0
- package/lib/commonjs/components/Notifications/Notification.js.map +1 -0
- package/lib/commonjs/components/Notifications/NotificationList.js +120 -0
- package/lib/commonjs/components/Notifications/NotificationList.js.map +1 -0
- package/lib/commonjs/components/Notifications/NotificationTargetContext.js +45 -0
- package/lib/commonjs/components/Notifications/NotificationTargetContext.js.map +1 -0
- package/lib/commonjs/components/Notifications/hooks/index.js +59 -0
- package/lib/commonjs/components/Notifications/hooks/index.js.map +1 -0
- package/lib/commonjs/components/Notifications/hooks/useNotificationApi.js +133 -0
- package/lib/commonjs/components/Notifications/hooks/useNotificationApi.js.map +1 -0
- package/lib/commonjs/components/Notifications/hooks/useNotificationListController.js +133 -0
- package/lib/commonjs/components/Notifications/hooks/useNotificationListController.js.map +1 -0
- package/lib/commonjs/components/Notifications/hooks/useNotificationTarget.js +26 -0
- package/lib/commonjs/components/Notifications/hooks/useNotificationTarget.js.map +1 -0
- package/lib/commonjs/components/Notifications/hooks/useNotifications.js +26 -0
- package/lib/commonjs/components/Notifications/hooks/useNotifications.js.map +1 -0
- package/lib/commonjs/components/Notifications/hooks/useSystemNotifications.js +22 -0
- package/lib/commonjs/components/Notifications/hooks/useSystemNotifications.js.map +1 -0
- package/lib/commonjs/components/Notifications/index.js +59 -0
- package/lib/commonjs/components/Notifications/index.js.map +1 -0
- package/lib/commonjs/components/Notifications/notificationTarget.js +220 -0
- package/lib/commonjs/components/Notifications/notificationTarget.js.map +1 -0
- package/lib/commonjs/components/Notifications/notificationTranslations.js +137 -0
- package/lib/commonjs/components/Notifications/notificationTranslations.js.map +1 -0
- package/lib/commonjs/components/Poll/components/CreatePollHeader.js +2 -0
- package/lib/commonjs/components/Poll/components/CreatePollHeader.js.map +1 -1
- package/lib/commonjs/components/Poll/components/MultipleVotesSettings.js +2 -0
- package/lib/commonjs/components/Poll/components/MultipleVotesSettings.js.map +1 -1
- package/lib/commonjs/components/Poll/components/PollModalHeader.js +1 -0
- package/lib/commonjs/components/Poll/components/PollModalHeader.js.map +1 -1
- package/lib/commonjs/components/Poll/components/PollOption.js +14 -9
- package/lib/commonjs/components/Poll/components/PollOption.js.map +1 -1
- package/lib/commonjs/components/Poll/hooks/usePollState.js +35 -3
- package/lib/commonjs/components/Poll/hooks/usePollState.js.map +1 -1
- package/lib/commonjs/components/Reply/Reply.js +1 -0
- package/lib/commonjs/components/Reply/Reply.js.map +1 -1
- package/lib/commonjs/components/Thread/Thread.js +19 -11
- package/lib/commonjs/components/Thread/Thread.js.map +1 -1
- package/lib/commonjs/components/ThreadList/ThreadList.js +30 -9
- package/lib/commonjs/components/ThreadList/ThreadList.js.map +1 -1
- package/lib/commonjs/components/index.js +11 -0
- package/lib/commonjs/components/index.js.map +1 -1
- package/lib/commonjs/components/ui/Avatar/Avatar.js +6 -3
- package/lib/commonjs/components/ui/Avatar/Avatar.js.map +1 -1
- package/lib/commonjs/components/ui/Button/Button.js +16 -3
- package/lib/commonjs/components/ui/Button/Button.js.map +1 -1
- package/lib/commonjs/contexts/accessibilityContext/AccessibilityContext.js +21 -1
- package/lib/commonjs/contexts/accessibilityContext/AccessibilityContext.js.map +1 -1
- package/lib/commonjs/contexts/componentsContext/defaultComponents.js +4 -0
- package/lib/commonjs/contexts/componentsContext/defaultComponents.js.map +1 -1
- package/lib/commonjs/contexts/messageInputContext/MessageInputContext.js +37 -0
- package/lib/commonjs/contexts/messageInputContext/MessageInputContext.js.map +1 -1
- package/lib/commonjs/contexts/themeContext/utils/theme.js +13 -0
- package/lib/commonjs/contexts/themeContext/utils/theme.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/useAudioPlayer.js +34 -1
- package/lib/commonjs/hooks/useAudioPlayer.js.map +1 -1
- package/lib/commonjs/hooks/useInAppNotificationsState.js.map +1 -1
- package/lib/commonjs/hooks/useLazyRef.js +13 -0
- package/lib/commonjs/hooks/useLazyRef.js.map +1 -0
- package/lib/commonjs/i18n/en.json +94 -1
- package/lib/commonjs/i18n/es.json +96 -3
- package/lib/commonjs/i18n/fr.json +94 -1
- package/lib/commonjs/i18n/he.json +94 -1
- package/lib/commonjs/i18n/hi.json +94 -1
- package/lib/commonjs/i18n/it.json +94 -1
- package/lib/commonjs/i18n/ja.json +94 -1
- package/lib/commonjs/i18n/ko.json +94 -1
- package/lib/commonjs/i18n/nl.json +94 -1
- package/lib/commonjs/i18n/pt-br.json +94 -1
- package/lib/commonjs/i18n/ru.json +94 -1
- package/lib/commonjs/i18n/tr.json +94 -1
- package/lib/commonjs/mock-builders/DB/mock.js +3 -1
- package/lib/commonjs/mock-builders/DB/mock.js.map +1 -1
- package/lib/commonjs/state-store/audio-player-pool.js +1 -0
- package/lib/commonjs/state-store/audio-player-pool.js.map +1 -1
- package/lib/commonjs/state-store/audio-player.js +92 -13
- package/lib/commonjs/state-store/audio-player.js.map +1 -1
- package/lib/commonjs/test-utils/BetterSqlite.js +3 -2
- package/lib/commonjs/test-utils/BetterSqlite.js.map +1 -1
- package/lib/commonjs/theme/generated/dark/StreamTokens.android.js +16 -16
- package/lib/commonjs/theme/generated/dark/StreamTokens.android.js.map +1 -1
- package/lib/commonjs/theme/generated/dark/StreamTokens.ios.js +8 -8
- package/lib/commonjs/theme/generated/dark/StreamTokens.ios.js.map +1 -1
- package/lib/commonjs/theme/generated/dark/StreamTokens.web.js +8 -8
- package/lib/commonjs/theme/generated/dark/StreamTokens.web.js.map +1 -1
- package/lib/commonjs/theme/generated/light/StreamTokens.android.js +16 -16
- package/lib/commonjs/theme/generated/light/StreamTokens.android.js.map +1 -1
- package/lib/commonjs/theme/generated/light/StreamTokens.ios.js +8 -8
- package/lib/commonjs/theme/generated/light/StreamTokens.ios.js.map +1 -1
- package/lib/commonjs/theme/generated/light/StreamTokens.web.js +8 -8
- package/lib/commonjs/theme/generated/light/StreamTokens.web.js.map +1 -1
- package/lib/commonjs/utils/animations/createBoundedZoomTransition.js +151 -0
- package/lib/commonjs/utils/animations/createBoundedZoomTransition.js.map +1 -0
- package/lib/commonjs/utils/{transitions.js → animations/transitions.js} +6 -0
- package/lib/commonjs/utils/animations/transitions.js.map +1 -0
- package/lib/commonjs/version.json +1 -1
- package/lib/module/a11y/hooks/useA11yLabel.js +4 -3
- package/lib/module/a11y/hooks/useA11yLabel.js.map +1 -1
- package/lib/module/a11y/hooks/useAccessibilityActivateAction.js +25 -0
- package/lib/module/a11y/hooks/useAccessibilityActivateAction.js.map +1 -0
- package/lib/module/a11y/index.js +11 -0
- package/lib/module/a11y/index.js.map +1 -1
- package/lib/module/components/AttachmentPicker/AttachmentPicker.js +20 -0
- package/lib/module/components/AttachmentPicker/AttachmentPicker.js.map +1 -1
- package/lib/module/components/AttachmentPicker/components/AttachmentMediaPicker/AttachmentMediaPicker.js +1 -0
- package/lib/module/components/AttachmentPicker/components/AttachmentMediaPicker/AttachmentMediaPicker.js.map +1 -1
- package/lib/module/components/AttachmentPicker/components/AttachmentMediaPicker/AttachmentPickerItem.js +19 -2
- package/lib/module/components/AttachmentPicker/components/AttachmentMediaPicker/AttachmentPickerItem.js.map +1 -1
- package/lib/module/components/AttachmentPicker/components/AttachmentPickerContent.js +4 -3
- package/lib/module/components/AttachmentPicker/components/AttachmentPickerContent.js.map +1 -1
- package/lib/module/components/AttachmentPicker/components/AttachmentTypePickerButton.js +9 -1
- package/lib/module/components/AttachmentPicker/components/AttachmentTypePickerButton.js.map +1 -1
- package/lib/module/components/Channel/Channel.js +10 -1
- package/lib/module/components/Channel/Channel.js.map +1 -1
- package/lib/module/components/Channel/hooks/useMessageListPagination.js +26 -3
- package/lib/module/components/Channel/hooks/useMessageListPagination.js.map +1 -1
- package/lib/module/components/ChannelList/ChannelList.js +29 -4
- package/lib/module/components/ChannelList/ChannelList.js.map +1 -1
- package/lib/module/components/ChannelList/hooks/useChannelActions.js +314 -11
- package/lib/module/components/ChannelList/hooks/useChannelActions.js.map +1 -1
- package/lib/module/components/ImageGallery/components/ImageGalleryFooter.js +2 -2
- package/lib/module/components/ImageGallery/components/ImageGalleryFooter.js.map +1 -1
- package/lib/module/components/ImageGallery/components/ImageGalleryHeader.js +1 -1
- package/lib/module/components/ImageGallery/components/ImageGalleryHeader.js.map +1 -1
- package/lib/module/components/ImageGallery/components/ImageGalleryVideoControl.js +1 -1
- package/lib/module/components/ImageGallery/components/ImageGalleryVideoControl.js.map +1 -1
- package/lib/module/components/Message/hooks/useMessageActionHandlers.js +202 -15
- package/lib/module/components/Message/hooks/useMessageActionHandlers.js.map +1 -1
- package/lib/module/components/MessageInput/MessageComposer.js +1 -1
- package/lib/module/components/MessageInput/MessageComposerLeadingView.js +1 -1
- package/lib/module/components/MessageInput/MessageComposerLeadingView.js.map +1 -1
- package/lib/module/components/MessageInput/MessageInputHeaderView.js +1 -1
- package/lib/module/components/MessageInput/MessageInputHeaderView.js.map +1 -1
- package/lib/module/components/MessageInput/MessageInputTrailingView.js +1 -1
- package/lib/module/components/MessageInput/MessageInputTrailingView.js.map +1 -1
- package/lib/module/components/MessageInput/components/AttachmentPreview/AttachmentRemoveControl.js +16 -4
- package/lib/module/components/MessageInput/components/AttachmentPreview/AttachmentRemoveControl.js.map +1 -1
- package/lib/module/components/MessageInput/components/AttachmentPreview/AttachmentUploadPreviewList.js +7 -13
- package/lib/module/components/MessageInput/components/AttachmentPreview/AttachmentUploadPreviewList.js.map +1 -1
- package/lib/module/components/MessageInput/components/AudioRecorder/AudioRecorder.js +30 -6
- package/lib/module/components/MessageInput/components/AudioRecorder/AudioRecorder.js.map +1 -1
- package/lib/module/components/MessageInput/components/AudioRecorder/AudioRecordingButton.js +34 -9
- package/lib/module/components/MessageInput/components/AudioRecorder/AudioRecordingButton.js.map +1 -1
- package/lib/module/components/MessageInput/components/InputButtons/AttachButton.js +12 -3
- package/lib/module/components/MessageInput/components/InputButtons/AttachButton.js.map +1 -1
- package/lib/module/components/MessageInput/components/OutputButtons/EditButton.js +1 -0
- package/lib/module/components/MessageInput/components/OutputButtons/EditButton.js.map +1 -1
- package/lib/module/components/MessageInput/components/OutputButtons/SendButton.js +1 -0
- package/lib/module/components/MessageInput/components/OutputButtons/SendButton.js.map +1 -1
- package/lib/module/components/MessageInput/components/OutputButtons/index.js +1 -1
- package/lib/module/components/MessageList/MessageFlashList.js +24 -4
- package/lib/module/components/MessageList/MessageFlashList.js.map +1 -1
- package/lib/module/components/MessageList/MessageList.js +24 -4
- package/lib/module/components/MessageList/MessageList.js.map +1 -1
- package/lib/module/components/MessageList/ScrollToBottomButton.js +12 -6
- package/lib/module/components/MessageList/ScrollToBottomButton.js.map +1 -1
- package/lib/module/components/MessageList/UnreadMessagesNotification.js +1 -0
- package/lib/module/components/MessageList/UnreadMessagesNotification.js.map +1 -1
- package/lib/module/components/MessageList/hooks/useScrollToBottomAccessibilityAction.js +47 -0
- package/lib/module/components/MessageList/hooks/useScrollToBottomAccessibilityAction.js.map +1 -0
- package/lib/module/components/MessageMenu/MessageActionListItem.js +12 -4
- package/lib/module/components/MessageMenu/MessageActionListItem.js.map +1 -1
- package/lib/module/components/MessageMenu/MessageReactionPicker.js +1 -0
- package/lib/module/components/MessageMenu/MessageReactionPicker.js.map +1 -1
- package/lib/module/components/MessageMenu/ReactionButton.js +9 -6
- package/lib/module/components/MessageMenu/ReactionButton.js.map +1 -1
- package/lib/module/components/MessageMenu/hooks/useFetchReactions.js +23 -2
- package/lib/module/components/MessageMenu/hooks/useFetchReactions.js.map +1 -1
- package/lib/module/components/Notifications/Notification.js +232 -0
- package/lib/module/components/Notifications/Notification.js.map +1 -0
- package/lib/module/components/Notifications/NotificationList.js +120 -0
- package/lib/module/components/Notifications/NotificationList.js.map +1 -0
- package/lib/module/components/Notifications/NotificationTargetContext.js +45 -0
- package/lib/module/components/Notifications/NotificationTargetContext.js.map +1 -0
- package/lib/module/components/Notifications/hooks/index.js +59 -0
- package/lib/module/components/Notifications/hooks/index.js.map +1 -0
- package/lib/module/components/Notifications/hooks/useNotificationApi.js +133 -0
- package/lib/module/components/Notifications/hooks/useNotificationApi.js.map +1 -0
- package/lib/module/components/Notifications/hooks/useNotificationListController.js +133 -0
- package/lib/module/components/Notifications/hooks/useNotificationListController.js.map +1 -0
- package/lib/module/components/Notifications/hooks/useNotificationTarget.js +26 -0
- package/lib/module/components/Notifications/hooks/useNotificationTarget.js.map +1 -0
- package/lib/module/components/Notifications/hooks/useNotifications.js +26 -0
- package/lib/module/components/Notifications/hooks/useNotifications.js.map +1 -0
- package/lib/module/components/Notifications/hooks/useSystemNotifications.js +22 -0
- package/lib/module/components/Notifications/hooks/useSystemNotifications.js.map +1 -0
- package/lib/module/components/Notifications/index.js +59 -0
- package/lib/module/components/Notifications/index.js.map +1 -0
- package/lib/module/components/Notifications/notificationTarget.js +220 -0
- package/lib/module/components/Notifications/notificationTarget.js.map +1 -0
- package/lib/module/components/Notifications/notificationTranslations.js +137 -0
- package/lib/module/components/Notifications/notificationTranslations.js.map +1 -0
- package/lib/module/components/Poll/components/CreatePollHeader.js +2 -0
- package/lib/module/components/Poll/components/CreatePollHeader.js.map +1 -1
- package/lib/module/components/Poll/components/MultipleVotesSettings.js +2 -0
- package/lib/module/components/Poll/components/MultipleVotesSettings.js.map +1 -1
- package/lib/module/components/Poll/components/PollModalHeader.js +1 -0
- package/lib/module/components/Poll/components/PollModalHeader.js.map +1 -1
- package/lib/module/components/Poll/components/PollOption.js +14 -9
- package/lib/module/components/Poll/components/PollOption.js.map +1 -1
- package/lib/module/components/Poll/hooks/usePollState.js +35 -3
- package/lib/module/components/Poll/hooks/usePollState.js.map +1 -1
- package/lib/module/components/Reply/Reply.js +1 -0
- package/lib/module/components/Reply/Reply.js.map +1 -1
- package/lib/module/components/Thread/Thread.js +19 -11
- package/lib/module/components/Thread/Thread.js.map +1 -1
- package/lib/module/components/ThreadList/ThreadList.js +30 -9
- package/lib/module/components/ThreadList/ThreadList.js.map +1 -1
- package/lib/module/components/index.js +11 -0
- package/lib/module/components/index.js.map +1 -1
- package/lib/module/components/ui/Avatar/Avatar.js +6 -3
- package/lib/module/components/ui/Avatar/Avatar.js.map +1 -1
- package/lib/module/components/ui/Button/Button.js +16 -3
- package/lib/module/components/ui/Button/Button.js.map +1 -1
- package/lib/module/contexts/accessibilityContext/AccessibilityContext.js +21 -1
- package/lib/module/contexts/accessibilityContext/AccessibilityContext.js.map +1 -1
- package/lib/module/contexts/componentsContext/defaultComponents.js +4 -0
- package/lib/module/contexts/componentsContext/defaultComponents.js.map +1 -1
- package/lib/module/contexts/messageInputContext/MessageInputContext.js +37 -0
- package/lib/module/contexts/messageInputContext/MessageInputContext.js.map +1 -1
- package/lib/module/contexts/themeContext/utils/theme.js +13 -0
- package/lib/module/contexts/themeContext/utils/theme.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/useAudioPlayer.js +34 -1
- package/lib/module/hooks/useAudioPlayer.js.map +1 -1
- package/lib/module/hooks/useInAppNotificationsState.js.map +1 -1
- package/lib/module/hooks/useLazyRef.js +13 -0
- package/lib/module/hooks/useLazyRef.js.map +1 -0
- package/lib/module/i18n/en.json +94 -1
- package/lib/module/i18n/es.json +96 -3
- package/lib/module/i18n/fr.json +94 -1
- package/lib/module/i18n/he.json +94 -1
- package/lib/module/i18n/hi.json +94 -1
- package/lib/module/i18n/it.json +94 -1
- package/lib/module/i18n/ja.json +94 -1
- package/lib/module/i18n/ko.json +94 -1
- package/lib/module/i18n/nl.json +94 -1
- package/lib/module/i18n/pt-br.json +94 -1
- package/lib/module/i18n/ru.json +94 -1
- package/lib/module/i18n/tr.json +94 -1
- package/lib/module/mock-builders/DB/mock.js +3 -1
- package/lib/module/mock-builders/DB/mock.js.map +1 -1
- package/lib/module/state-store/audio-player-pool.js +1 -0
- package/lib/module/state-store/audio-player-pool.js.map +1 -1
- package/lib/module/state-store/audio-player.js +92 -13
- package/lib/module/state-store/audio-player.js.map +1 -1
- package/lib/module/test-utils/BetterSqlite.js +3 -2
- package/lib/module/test-utils/BetterSqlite.js.map +1 -1
- package/lib/module/theme/generated/dark/StreamTokens.android.js +16 -16
- package/lib/module/theme/generated/dark/StreamTokens.android.js.map +1 -1
- package/lib/module/theme/generated/dark/StreamTokens.ios.js +8 -8
- package/lib/module/theme/generated/dark/StreamTokens.ios.js.map +1 -1
- package/lib/module/theme/generated/dark/StreamTokens.web.js +8 -8
- package/lib/module/theme/generated/dark/StreamTokens.web.js.map +1 -1
- package/lib/module/theme/generated/light/StreamTokens.android.js +16 -16
- package/lib/module/theme/generated/light/StreamTokens.android.js.map +1 -1
- package/lib/module/theme/generated/light/StreamTokens.ios.js +8 -8
- package/lib/module/theme/generated/light/StreamTokens.ios.js.map +1 -1
- package/lib/module/theme/generated/light/StreamTokens.web.js +8 -8
- package/lib/module/theme/generated/light/StreamTokens.web.js.map +1 -1
- package/lib/module/utils/animations/createBoundedZoomTransition.js +151 -0
- package/lib/module/utils/animations/createBoundedZoomTransition.js.map +1 -0
- package/lib/module/utils/{transitions.js → animations/transitions.js} +6 -0
- package/lib/module/utils/animations/transitions.js.map +1 -0
- package/lib/module/version.json +1 -1
- package/lib/typescript/a11y/a11yUtils.d.ts +3 -3
- package/lib/typescript/a11y/a11yUtils.d.ts.map +1 -1
- package/lib/typescript/a11y/hooks/useA11yLabel.d.ts +2 -1
- package/lib/typescript/a11y/hooks/useA11yLabel.d.ts.map +1 -1
- package/lib/typescript/a11y/hooks/useAccessibilityActivateAction.d.ts +17 -0
- package/lib/typescript/a11y/hooks/useAccessibilityActivateAction.d.ts.map +1 -0
- package/lib/typescript/a11y/index.d.ts +1 -0
- package/lib/typescript/a11y/index.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/AttachmentPicker/components/AttachmentPickerContent.d.ts.map +1 -1
- package/lib/typescript/components/AttachmentPicker/components/AttachmentTypePickerButton.d.ts +2 -1
- package/lib/typescript/components/AttachmentPicker/components/AttachmentTypePickerButton.d.ts.map +1 -1
- package/lib/typescript/components/Channel/Channel.d.ts +1 -0
- package/lib/typescript/components/Channel/Channel.d.ts.map +1 -1
- package/lib/typescript/components/Channel/hooks/useMessageListPagination.d.ts.map +1 -1
- package/lib/typescript/components/ChannelList/ChannelList.d.ts +1 -0
- package/lib/typescript/components/ChannelList/ChannelList.d.ts.map +1 -1
- package/lib/typescript/components/ChannelList/hooks/useChannelActions.d.ts.map +1 -1
- package/lib/typescript/components/Message/hooks/useMessageActionHandlers.d.ts.map +1 -1
- package/lib/typescript/components/MessageInput/components/AttachmentPreview/AttachmentRemoveControl.d.ts +5 -2
- package/lib/typescript/components/MessageInput/components/AttachmentPreview/AttachmentRemoveControl.d.ts.map +1 -1
- package/lib/typescript/components/MessageInput/components/AttachmentPreview/AttachmentUploadPreviewList.d.ts.map +1 -1
- package/lib/typescript/components/MessageInput/components/AudioRecorder/AudioRecorder.d.ts.map +1 -1
- package/lib/typescript/components/MessageInput/components/AudioRecorder/AudioRecordingButton.d.ts.map +1 -1
- package/lib/typescript/components/MessageInput/components/InputButtons/AttachButton.d.ts +1 -0
- package/lib/typescript/components/MessageInput/components/InputButtons/AttachButton.d.ts.map +1 -1
- package/lib/typescript/components/MessageInput/components/OutputButtons/EditButton.d.ts.map +1 -1
- package/lib/typescript/components/MessageInput/components/OutputButtons/SendButton.d.ts.map +1 -1
- package/lib/typescript/components/MessageList/MessageFlashList.d.ts.map +1 -1
- package/lib/typescript/components/MessageList/MessageList.d.ts.map +1 -1
- package/lib/typescript/components/MessageList/ScrollToBottomButton.d.ts +2 -0
- package/lib/typescript/components/MessageList/ScrollToBottomButton.d.ts.map +1 -1
- package/lib/typescript/components/MessageList/UnreadMessagesNotification.d.ts.map +1 -1
- package/lib/typescript/components/MessageList/hooks/useScrollToBottomAccessibilityAction.d.ts +20 -0
- package/lib/typescript/components/MessageList/hooks/useScrollToBottomAccessibilityAction.d.ts.map +1 -0
- package/lib/typescript/components/MessageMenu/MessageActionListItem.d.ts.map +1 -1
- package/lib/typescript/components/MessageMenu/MessageReactionPicker.d.ts.map +1 -1
- package/lib/typescript/components/MessageMenu/ReactionButton.d.ts.map +1 -1
- package/lib/typescript/components/MessageMenu/hooks/useFetchReactions.d.ts.map +1 -1
- package/lib/typescript/components/Notifications/Notification.d.ts +31 -0
- package/lib/typescript/components/Notifications/Notification.d.ts.map +1 -0
- package/lib/typescript/components/Notifications/NotificationList.d.ts +28 -0
- package/lib/typescript/components/Notifications/NotificationList.d.ts.map +1 -0
- package/lib/typescript/components/Notifications/NotificationTargetContext.d.ts +14 -0
- package/lib/typescript/components/Notifications/NotificationTargetContext.d.ts.map +1 -0
- package/lib/typescript/components/Notifications/hooks/index.d.ts +6 -0
- package/lib/typescript/components/Notifications/hooks/index.d.ts.map +1 -0
- package/lib/typescript/components/Notifications/hooks/useNotificationApi.d.ts +48 -0
- package/lib/typescript/components/Notifications/hooks/useNotificationApi.d.ts.map +1 -0
- package/lib/typescript/components/Notifications/hooks/useNotificationListController.d.ts +14 -0
- package/lib/typescript/components/Notifications/hooks/useNotificationListController.d.ts.map +1 -0
- package/lib/typescript/components/Notifications/hooks/useNotificationTarget.d.ts +3 -0
- package/lib/typescript/components/Notifications/hooks/useNotificationTarget.d.ts.map +1 -0
- package/lib/typescript/components/Notifications/hooks/useNotifications.d.ts +14 -0
- package/lib/typescript/components/Notifications/hooks/useNotifications.d.ts.map +1 -0
- package/lib/typescript/components/Notifications/hooks/useSystemNotifications.d.ts +9 -0
- package/lib/typescript/components/Notifications/hooks/useSystemNotifications.d.ts.map +1 -0
- package/lib/typescript/components/Notifications/index.d.ts +6 -0
- package/lib/typescript/components/Notifications/index.d.ts.map +1 -0
- package/lib/typescript/components/Notifications/notificationTarget.d.ts +55 -0
- package/lib/typescript/components/Notifications/notificationTarget.d.ts.map +1 -0
- package/lib/typescript/components/Notifications/notificationTranslations.d.ts +7 -0
- package/lib/typescript/components/Notifications/notificationTranslations.d.ts.map +1 -0
- package/lib/typescript/components/Poll/components/CreatePollHeader.d.ts.map +1 -1
- package/lib/typescript/components/Poll/components/MultipleVotesSettings.d.ts.map +1 -1
- package/lib/typescript/components/Poll/components/PollModalHeader.d.ts.map +1 -1
- package/lib/typescript/components/Poll/components/PollOption.d.ts.map +1 -1
- package/lib/typescript/components/Poll/hooks/usePollState.d.ts.map +1 -1
- package/lib/typescript/components/Reply/Reply.d.ts.map +1 -1
- package/lib/typescript/components/Thread/Thread.d.ts +1 -0
- package/lib/typescript/components/Thread/Thread.d.ts.map +1 -1
- package/lib/typescript/components/ThreadList/ThreadList.d.ts +3 -1
- package/lib/typescript/components/ThreadList/ThreadList.d.ts.map +1 -1
- package/lib/typescript/components/index.d.ts +1 -0
- package/lib/typescript/components/index.d.ts.map +1 -1
- package/lib/typescript/components/ui/Avatar/Avatar.d.ts.map +1 -1
- package/lib/typescript/components/ui/Button/Button.d.ts +10 -1
- package/lib/typescript/components/ui/Button/Button.d.ts.map +1 -1
- package/lib/typescript/contexts/accessibilityContext/AccessibilityContext.d.ts +1 -1
- package/lib/typescript/contexts/accessibilityContext/AccessibilityContext.d.ts.map +1 -1
- package/lib/typescript/contexts/componentsContext/defaultComponents.d.ts +3 -0
- package/lib/typescript/contexts/componentsContext/defaultComponents.d.ts.map +1 -1
- package/lib/typescript/contexts/messageInputContext/MessageInputContext.d.ts.map +1 -1
- package/lib/typescript/contexts/themeContext/ThemeContext.d.ts +13 -0
- package/lib/typescript/contexts/themeContext/ThemeContext.d.ts.map +1 -1
- package/lib/typescript/contexts/themeContext/utils/theme.d.ts +13 -0
- package/lib/typescript/contexts/themeContext/utils/theme.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/useAudioPlayer.d.ts.map +1 -1
- package/lib/typescript/hooks/useInAppNotificationsState.d.ts +6 -0
- package/lib/typescript/hooks/useInAppNotificationsState.d.ts.map +1 -1
- package/lib/typescript/hooks/useLazyRef.d.ts +7 -0
- package/lib/typescript/hooks/useLazyRef.d.ts.map +1 -0
- package/lib/typescript/i18n/en.json +94 -1
- package/lib/typescript/i18n/es.json +96 -3
- package/lib/typescript/i18n/fr.json +94 -1
- package/lib/typescript/i18n/he.json +94 -1
- package/lib/typescript/i18n/hi.json +94 -1
- package/lib/typescript/i18n/it.json +94 -1
- package/lib/typescript/i18n/ja.json +94 -1
- package/lib/typescript/i18n/ko.json +94 -1
- package/lib/typescript/i18n/nl.json +94 -1
- package/lib/typescript/i18n/pt-br.json +94 -1
- package/lib/typescript/i18n/ru.json +94 -1
- package/lib/typescript/i18n/tr.json +94 -1
- package/lib/typescript/state-store/audio-player-pool.d.ts.map +1 -1
- package/lib/typescript/state-store/audio-player.d.ts +13 -0
- package/lib/typescript/state-store/audio-player.d.ts.map +1 -1
- package/lib/typescript/test-utils/BetterSqlite.d.ts.map +1 -1
- package/lib/typescript/utils/animations/createBoundedZoomTransition.d.ts +21 -0
- package/lib/typescript/utils/animations/createBoundedZoomTransition.d.ts.map +1 -0
- package/lib/typescript/utils/animations/transitions.d.ts +21 -0
- package/lib/typescript/utils/animations/transitions.d.ts.map +1 -0
- package/lib/typescript/utils/i18n/Streami18n.d.ts +93 -0
- package/lib/typescript/utils/i18n/Streami18n.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/__tests__/offline-support/offline-feature.tsx +40 -34
- package/src/a11y/a11yUtils.ts +2 -2
- package/src/a11y/hooks/useA11yLabel.ts +7 -4
- package/src/a11y/hooks/useAccessibilityActivateAction.ts +44 -0
- package/src/a11y/index.ts +1 -0
- package/src/components/AttachmentPicker/AttachmentPicker.tsx +23 -1
- package/src/components/AttachmentPicker/components/AttachmentMediaPicker/AttachmentMediaPicker.tsx +1 -0
- package/src/components/AttachmentPicker/components/AttachmentMediaPicker/AttachmentPickerItem.tsx +15 -2
- package/src/components/AttachmentPicker/components/AttachmentPickerContent.tsx +4 -3
- package/src/components/AttachmentPicker/components/AttachmentTypePickerButton.tsx +9 -0
- package/src/components/AttachmentPicker/components/__tests__/AttachmentPickerContent.test.tsx +19 -18
- package/src/components/Channel/Channel.tsx +15 -1
- package/src/components/Channel/__tests__/useMessageListPagination.test.tsx +34 -2
- package/src/components/Channel/hooks/useMessageListPagination.tsx +19 -3
- package/src/components/ChannelList/ChannelList.tsx +27 -5
- package/src/components/ChannelList/__tests__/ChannelListView.test.tsx +16 -5
- package/src/components/ChannelList/hooks/__tests__/useChannelActions.test.tsx +123 -0
- package/src/components/ChannelList/hooks/useChannelActions.ts +181 -12
- package/src/components/ImageGallery/__tests__/ImageGalleryFooter.test.tsx +9 -3
- package/src/components/ImageGallery/__tests__/ImageGalleryHeader.test.tsx +4 -1
- package/src/components/ImageGallery/components/ImageGalleryFooter.tsx +2 -2
- package/src/components/ImageGallery/components/ImageGalleryHeader.tsx +1 -1
- package/src/components/ImageGallery/components/ImageGalleryVideoControl.tsx +1 -1
- package/src/components/Message/hooks/__tests__/useMessageActionHandlers.test.tsx +131 -0
- package/src/components/Message/hooks/useMessageActionHandlers.ts +133 -23
- package/src/components/MessageInput/MessageComposer.tsx +1 -1
- package/src/components/MessageInput/MessageComposerLeadingView.tsx +1 -1
- package/src/components/MessageInput/MessageInputHeaderView.tsx +1 -1
- package/src/components/MessageInput/MessageInputTrailingView.tsx +1 -1
- package/src/components/MessageInput/components/AttachmentPreview/AttachmentRemoveControl.tsx +18 -2
- package/src/components/MessageInput/components/AttachmentPreview/AttachmentUploadPreviewList.tsx +1 -10
- package/src/components/MessageInput/components/AudioRecorder/AudioRecorder.tsx +13 -2
- package/src/components/MessageInput/components/AudioRecorder/AudioRecordingButton.tsx +35 -14
- package/src/components/MessageInput/components/InputButtons/AttachButton.tsx +13 -3
- package/src/components/MessageInput/components/OutputButtons/EditButton.tsx +1 -0
- package/src/components/MessageInput/components/OutputButtons/SendButton.tsx +1 -0
- package/src/components/MessageInput/components/OutputButtons/index.tsx +1 -1
- package/src/components/MessageList/MessageFlashList.tsx +26 -3
- package/src/components/MessageList/MessageList.tsx +26 -3
- package/src/components/MessageList/ScrollToBottomButton.tsx +18 -6
- package/src/components/MessageList/UnreadMessagesNotification.tsx +1 -0
- package/src/components/MessageList/__tests__/MessageList.test.tsx +221 -0
- package/src/components/MessageList/__tests__/ScrollToBottomButton.test.tsx +2 -2
- package/src/components/MessageList/__tests__/__snapshots__/ScrollToBottomButton.test.tsx.snap +3 -1
- package/src/components/MessageList/hooks/useScrollToBottomAccessibilityAction.ts +74 -0
- package/src/components/MessageMenu/MessageActionListItem.tsx +10 -4
- package/src/components/MessageMenu/MessageReactionPicker.tsx +1 -0
- package/src/components/MessageMenu/ReactionButton.tsx +7 -9
- package/src/components/MessageMenu/__tests__/MessageReactionPicker.test.tsx +13 -15
- package/src/components/MessageMenu/__tests__/MessageUserReactions.test.tsx +20 -18
- package/src/components/MessageMenu/__tests__/ReactionButton.test.tsx +18 -5
- package/src/components/MessageMenu/hooks/useFetchReactions.ts +17 -2
- package/src/components/Notifications/Notification.tsx +254 -0
- package/src/components/Notifications/NotificationList.tsx +160 -0
- package/src/components/Notifications/NotificationTargetContext.tsx +45 -0
- package/src/components/Notifications/__tests__/NotificationList.test.tsx +480 -0
- package/src/components/Notifications/__tests__/notificationTarget.test.ts +157 -0
- package/src/components/Notifications/hooks/__tests__/useNotificationApi.test.tsx +172 -0
- package/src/components/Notifications/hooks/__tests__/useNotificationTarget.test.tsx +85 -0
- package/src/components/Notifications/hooks/index.ts +5 -0
- package/src/components/Notifications/hooks/useNotificationApi.ts +248 -0
- package/src/components/Notifications/hooks/useNotificationListController.ts +160 -0
- package/src/components/Notifications/hooks/useNotificationTarget.ts +37 -0
- package/src/components/Notifications/hooks/useNotifications.ts +43 -0
- package/src/components/Notifications/hooks/useSystemNotifications.ts +33 -0
- package/src/components/Notifications/index.ts +5 -0
- package/src/components/Notifications/notificationTarget.ts +305 -0
- package/src/components/Notifications/notificationTranslations.ts +142 -0
- package/src/components/Poll/components/CreatePollHeader.tsx +2 -0
- package/src/components/Poll/components/MultipleVotesSettings.tsx +2 -0
- package/src/components/Poll/components/PollModalHeader.tsx +1 -0
- package/src/components/Poll/components/PollOption.tsx +10 -6
- package/src/components/Poll/hooks/usePollState.ts +26 -2
- package/src/components/Reply/Reply.tsx +4 -1
- package/src/components/Thread/Thread.tsx +24 -16
- package/src/components/Thread/__tests__/__snapshots__/Thread.test.tsx.snap +3 -0
- package/src/components/ThreadList/ThreadList.tsx +33 -9
- package/src/components/index.ts +2 -0
- package/src/components/ui/Avatar/Avatar.tsx +2 -1
- package/src/components/ui/Button/Button.tsx +26 -0
- package/src/components/ui/Button/__tests__/Button.test.tsx +44 -0
- package/src/contexts/accessibilityContext/AccessibilityContext.tsx +35 -1
- package/src/contexts/componentsContext/defaultComponents.ts +4 -0
- package/src/contexts/messageInputContext/MessageInputContext.tsx +36 -0
- package/src/contexts/themeContext/utils/theme.ts +26 -0
- package/src/hooks/index.ts +1 -0
- package/src/hooks/useAudioPlayer.ts +44 -3
- package/src/hooks/useInAppNotificationsState.ts +6 -0
- package/src/hooks/useLazyRef.ts +15 -0
- package/src/i18n/en.json +94 -1
- package/src/i18n/es.json +96 -3
- package/src/i18n/fr.json +94 -1
- package/src/i18n/he.json +94 -1
- package/src/i18n/hi.json +94 -1
- package/src/i18n/it.json +94 -1
- package/src/i18n/ja.json +94 -1
- package/src/i18n/ko.json +94 -1
- package/src/i18n/nl.json +94 -1
- package/src/i18n/pt-br.json +94 -1
- package/src/i18n/ru.json +94 -1
- package/src/i18n/tr.json +94 -1
- package/src/mock-builders/DB/mock.ts +2 -1
- package/src/state-store/__tests__/audio-player.test.ts +45 -0
- package/src/state-store/audio-player-pool.ts +1 -0
- package/src/state-store/audio-player.ts +108 -16
- package/src/test-utils/BetterSqlite.ts +3 -1
- package/src/theme/generated/dark/StreamTokens.android.ts +16 -16
- package/src/theme/generated/dark/StreamTokens.ios.ts +8 -8
- package/src/theme/generated/dark/StreamTokens.web.ts +8 -8
- package/src/theme/generated/light/StreamTokens.android.ts +16 -16
- package/src/theme/generated/light/StreamTokens.ios.ts +8 -8
- package/src/theme/generated/light/StreamTokens.web.ts +8 -8
- package/src/utils/animations/createBoundedZoomTransition.ts +117 -0
- package/src/utils/{transitions.ts → animations/transitions.ts} +6 -0
- package/src/version.json +1 -1
- package/lib/commonjs/utils/transitions.js.map +0 -1
- package/lib/module/utils/transitions.js.map +0 -1
- package/lib/typescript/utils/transitions.d.ts +0 -9
- package/lib/typescript/utils/transitions.d.ts.map +0 -1
|
@@ -5,7 +5,8 @@
|
|
|
5
5
|
* default disabled-state.
|
|
6
6
|
*
|
|
7
7
|
* Example:
|
|
8
|
-
* const
|
|
8
|
+
* const labelParams = useMemo(() => ({ name }), [name]);
|
|
9
|
+
* const label = useA11yLabel('a11y/Avatar of {{name}}', labelParams);
|
|
9
10
|
* <Image accessibilityLabel={label} />
|
|
10
11
|
*/
|
|
11
12
|
export declare const useA11yLabel: (key: string, params?: Record<string, unknown>) => string | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useA11yLabel.d.ts","sourceRoot":"","sources":["../../../../src/a11y/hooks/useA11yLabel.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useA11yLabel.d.ts","sourceRoot":"","sources":["../../../../src/a11y/hooks/useA11yLabel.ts"],"names":[],"mappings":"AAKA;;;;;;;;;;GAUG;AACH,eAAO,MAAM,YAAY,GAAI,KAAK,MAAM,EAAE,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAG,MAAM,GAAG,SAKrF,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { AccessibilityProps } from 'react-native';
|
|
2
|
+
export type UseAccessibilityActivateActionProps<TPressEvent> = {
|
|
3
|
+
onPress?: ((event: TPressEvent) => void) | null;
|
|
4
|
+
shouldHandleActivate?: boolean;
|
|
5
|
+
};
|
|
6
|
+
export type UseAccessibilityActivateActionResult = {
|
|
7
|
+
accessibilityActions?: AccessibilityProps['accessibilityActions'];
|
|
8
|
+
onAccessibilityAction?: AccessibilityProps['onAccessibilityAction'];
|
|
9
|
+
} | undefined;
|
|
10
|
+
/**
|
|
11
|
+
* Adds the standard screen-reader `activate` action for labeled pressables when
|
|
12
|
+
* SDK accessibility is enabled. Some Android pressable implementations don't
|
|
13
|
+
* reliably map TalkBack double-tap to `onPress`, so this bridges the generated
|
|
14
|
+
* accessibility action back to the existing press handler.
|
|
15
|
+
*/
|
|
16
|
+
export declare const useAccessibilityActivateAction: <TPressEvent>({ onPress, shouldHandleActivate, }: UseAccessibilityActivateActionProps<TPressEvent>) => UseAccessibilityActivateActionResult;
|
|
17
|
+
//# sourceMappingURL=useAccessibilityActivateAction.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useAccessibilityActivateAction.d.ts","sourceRoot":"","sources":["../../../../src/a11y/hooks/useAccessibilityActivateAction.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAA4B,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAIjF,MAAM,MAAM,mCAAmC,CAAC,WAAW,IAAI;IAC7D,OAAO,CAAC,EAAE,CAAC,CAAC,KAAK,EAAE,WAAW,KAAK,IAAI,CAAC,GAAG,IAAI,CAAC;IAChD,oBAAoB,CAAC,EAAE,OAAO,CAAC;CAChC,CAAC;AAEF,MAAM,MAAM,oCAAoC,GAC5C;IACE,oBAAoB,CAAC,EAAE,kBAAkB,CAAC,sBAAsB,CAAC,CAAC;IAClE,qBAAqB,CAAC,EAAE,kBAAkB,CAAC,uBAAuB,CAAC,CAAC;CACrE,GACD,SAAS,CAAC;AAMd;;;;;GAKG;AACH,eAAO,MAAM,8BAA8B,GAAI,WAAW,EAAE,oCAGzD,mCAAmC,CAAC,WAAW,CAAC,KAAG,oCAcrD,CAAC"}
|
|
@@ -4,4 +4,5 @@ export * from './hooks/useReducedMotionPreference';
|
|
|
4
4
|
export * from './hooks/useResolvedModalAccessibilityProps';
|
|
5
5
|
export * from './hooks/useAnnounceOnStateChange';
|
|
6
6
|
export * from './hooks/useA11yLabel';
|
|
7
|
+
export * from './hooks/useAccessibilityActivateAction';
|
|
7
8
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/a11y/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,gCAAgC,CAAC;AAC/C,cAAc,oCAAoC,CAAC;AACnD,cAAc,4CAA4C,CAAC;AAC3D,cAAc,kCAAkC,CAAC;AACjD,cAAc,sBAAsB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/a11y/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,gCAAgC,CAAC;AAC/C,cAAc,oCAAoC,CAAC;AACnD,cAAc,4CAA4C,CAAC;AAC3D,cAAc,kCAAkC,CAAC;AACjD,cAAc,sBAAsB,CAAC;AACrC,cAAc,wCAAwC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AttachmentPicker.d.ts","sourceRoot":"","sources":["../../../../src/components/AttachmentPicker/AttachmentPicker.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+C,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"AttachmentPicker.d.ts","sourceRoot":"","sources":["../../../../src/components/AttachmentPicker/AttachmentPicker.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+C,MAAM,OAAO,CAAC;AAoCpE,eAAO,MAAM,gBAAgB;;;CAyJ5B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AttachmentMediaPicker.d.ts","sourceRoot":"","sources":["../../../../../../src/components/AttachmentPicker/components/AttachmentMediaPicker/AttachmentMediaPicker.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+C,MAAM,OAAO,CAAC;AAapE,OAAO,EAEL,KAAK,4BAA4B,EAClC,MAAM,mCAAmC,CAAC;AAoB3C,eAAO,MAAM,yBAAyB,yBAMrC,CAAC;AAEF,eAAO,MAAM,qBAAqB,GAAI,OAAO,4BAA4B,
|
|
1
|
+
{"version":3,"file":"AttachmentMediaPicker.d.ts","sourceRoot":"","sources":["../../../../../../src/components/AttachmentPicker/components/AttachmentMediaPicker/AttachmentMediaPicker.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+C,MAAM,OAAO,CAAC;AAapE,OAAO,EAEL,KAAK,4BAA4B,EAClC,MAAM,mCAAmC,CAAC;AAoB3C,eAAO,MAAM,yBAAyB,yBAMrC,CAAC;AAEF,eAAO,MAAM,qBAAqB,GAAI,OAAO,4BAA4B,sBAuIxE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AttachmentPickerItem.d.ts","sourceRoot":"","sources":["../../../../../../src/components/AttachmentPicker/components/AttachmentMediaPicker/AttachmentPickerItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,OAAO,EAAgB,KAAK,oBAAoB,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"AttachmentPickerItem.d.ts","sourceRoot":"","sources":["../../../../../../src/components/AttachmentPicker/components/AttachmentMediaPicker/AttachmentPickerItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,OAAO,EAAgB,KAAK,oBAAoB,EAAE,MAAM,UAAU,CAAC;AAoLnE,eAAO,MAAM,0BAA0B,GAAI,UAAU;IAAE,IAAI,EAAE,oBAAoB,CAAA;CAAE,sBAiBlF,CAAC"}
|
package/lib/typescript/components/AttachmentPicker/components/AttachmentPickerContent.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AttachmentPickerContent.d.ts","sourceRoot":"","sources":["../../../../../src/components/AttachmentPicker/components/AttachmentPickerContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4D,MAAM,OAAO,CAAC;AAKjF,OAAO,EAAuB,iBAAiB,
|
|
1
|
+
{"version":3,"file":"AttachmentPickerContent.d.ts","sourceRoot":"","sources":["../../../../../src/components/AttachmentPicker/components/AttachmentPickerContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4D,MAAM,OAAO,CAAC;AAKjF,OAAO,EAAuB,iBAAiB,EAAyB,MAAM,aAAa,CAAC;AAI5F,OAAO,EAEL,KAAK,4BAA4B,EAClC,MAAM,kCAAkC,CAAC;AAyC1C,eAAO,MAAM,iCAAiC,GAAI,UAAU;IAAE,IAAI,EAAE,iBAAiB,CAAA;CAAE,sBAgBtF,CAAC;AAEF,eAAO,MAAM,2BAA2B,GAAI,UAAU;IAAE,IAAI,EAAE,iBAAiB,CAAA;CAAE,sBAqBhF,CAAC;AAgCF,eAAO,MAAM,uBAAuB,yBAuBnC,CAAC;AAEF,eAAO,MAAM,oBAAoB,GAAI,OAAO,4BAA4B,sBAkBvE,CAAC;AAEF,eAAO,MAAM,sBAAsB,GACjC,OAAO,4BAA4B,GAAG;IAAE,SAAS,CAAC,EAAE,OAAO,CAAA;CAAE,sBA6C9D,CAAC;AAEF,eAAO,MAAM,oBAAoB,GAAI,OAAO,4BAA4B,sBAcvE,CAAC;AAEF,YAAY,EAAE,4BAA4B,EAAE,MAAM,kCAAkC,CAAC;AACrF,OAAO,EAAE,8BAA8B,EAAE,MAAM,kCAAkC,CAAC;AAElF,eAAO,MAAM,uBAAuB,GAAI,OAAO,4BAA4B,6BAmC1E,CAAC"}
|
package/lib/typescript/components/AttachmentPicker/components/AttachmentTypePickerButton.d.ts
CHANGED
|
@@ -2,9 +2,10 @@ import React from 'react';
|
|
|
2
2
|
import { PressableProps } from 'react-native-gesture-handler';
|
|
3
3
|
import { ButtonProps } from '../../ui';
|
|
4
4
|
export type AttachmentTypePickerButtonProps = Pick<ButtonProps, 'selected' | 'onPress'> & {
|
|
5
|
+
accessibilityLabelKey?: string;
|
|
5
6
|
Icon: ButtonProps['LeadingIcon'];
|
|
6
7
|
} & Pick<PressableProps, 'testID'>;
|
|
7
|
-
export declare const AttachmentTypePickerButton: ({ testID, selected, onPress: onPressProp, Icon, }: AttachmentTypePickerButtonProps) => React.JSX.Element;
|
|
8
|
+
export declare const AttachmentTypePickerButton: ({ accessibilityLabelKey, testID, selected, onPress: onPressProp, Icon, }: AttachmentTypePickerButtonProps) => React.JSX.Element;
|
|
8
9
|
export declare const MediaPickerButton: () => React.JSX.Element | null;
|
|
9
10
|
export declare const CameraPickerButton: () => React.JSX.Element | null;
|
|
10
11
|
export declare const FilePickerButton: () => React.JSX.Element | null;
|
package/lib/typescript/components/AttachmentPicker/components/AttachmentTypePickerButton.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AttachmentTypePickerButton.d.ts","sourceRoot":"","sources":["../../../../../src/components/AttachmentPicker/components/AttachmentTypePickerButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAgC,MAAM,OAAO,CAAC;AAIrD,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAsB9D,OAAO,EAAU,WAAW,EAAE,MAAM,UAAU,CAAC;AAG/C,MAAM,MAAM,+BAA+B,GAAG,IAAI,CAAC,WAAW,EAAE,UAAU,GAAG,SAAS,CAAC,GAAG;IACxF,IAAI,EAAE,WAAW,CAAC,aAAa,CAAC,CAAC;CAClC,GAAG,IAAI,CAAC,cAAc,EAAE,QAAQ,CAAC,CAAC;AAInC,eAAO,MAAM,0BAA0B,GAAI,
|
|
1
|
+
{"version":3,"file":"AttachmentTypePickerButton.d.ts","sourceRoot":"","sources":["../../../../../src/components/AttachmentPicker/components/AttachmentTypePickerButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAgC,MAAM,OAAO,CAAC;AAIrD,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAsB9D,OAAO,EAAU,WAAW,EAAE,MAAM,UAAU,CAAC;AAG/C,MAAM,MAAM,+BAA+B,GAAG,IAAI,CAAC,WAAW,EAAE,UAAU,GAAG,SAAS,CAAC,GAAG;IACxF,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,IAAI,EAAE,WAAW,CAAC,aAAa,CAAC,CAAC;CAClC,GAAG,IAAI,CAAC,cAAc,EAAE,QAAQ,CAAC,CAAC;AAInC,eAAO,MAAM,0BAA0B,GAAI,0EAMxC,+BAA+B,sBA0BjC,CAAC;AAEF,eAAO,MAAM,iBAAiB,gCAsB7B,CAAC;AAEF,eAAO,MAAM,kBAAkB,gCAyC9B,CAAC;AAEF,eAAO,MAAM,gBAAgB,gCAsB5B,CAAC;AAEF,eAAO,MAAM,gBAAgB,gCA0B5B,CAAC;AAEF,eAAO,MAAM,oBAAoB,gCAgChC,CAAC"}
|
|
@@ -83,6 +83,7 @@ export type ChannelPropsWithContext = Pick<ChannelContextValue, 'channel'> & Par
|
|
|
83
83
|
* Load the channel at a specified message instead of the most recent message.
|
|
84
84
|
*/
|
|
85
85
|
messageId?: string;
|
|
86
|
+
notificationHostId?: string;
|
|
86
87
|
/**
|
|
87
88
|
* @deprecated
|
|
88
89
|
* The time interval for throttling while updating the message state
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Channel.d.ts","sourceRoot":"","sources":["../../../../src/components/Channel/Channel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,iBAAiB,EAAqD,MAAM,OAAO,CAAC;AAMpG,OAAO,EAGL,OAAO,IAAI,WAAW,EAGtB,YAAY,EAKZ,sBAAsB,EACtB,kBAAkB,EAClB,UAAU,EAEV,OAAO,IAAI,aAAa,EAExB,oBAAoB,EACrB,MAAM,aAAa,CAAC;AAmBrB,OAAO,EACL,4BAA4B,EAE7B,MAAM,gEAAgE,CAAC;AAMxE,OAAO,EAAE,mBAAmB,EAAmB,MAAM,8CAA8C,CAAC;AACpG,OAAO,KAAK,EAAE,oB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CAAC,EAAE,OAAO,CAAC;IACvC,2BAA2B,CAAC,EAAE,MAAM,CAAC;IACrC;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;;;;;;;OASG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC7B,CAAC;AAk3CJ,MAAM,MAAM,YAAY,GAAG,OAAO,CAAC,IAAI,CAAC,uBAAuB,EAAE,SAAS,GAAG,QAAQ,CAAC,CAAC,GACrF,IAAI,CAAC,uBAAuB,EAAE,SAAS,CAAC,GAAG;IACzC,MAAM,CAAC,EAAE,YAAY,GAAG,UAAU,GAAG,IAAI,CAAC;CAC3C,CAAC;AAEJ;;;;;;;GAOG;AACH,eAAO,MAAM,OAAO,GAAI,OAAO,iBAAiB,CAAC,YAAY,CAAC,sBAmD7D,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useMessageListPagination.d.ts","sourceRoot":"","sources":["../../../../../src/components/Channel/hooks/useMessageListPagination.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,OAAO,EAAiC,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"useMessageListPagination.d.ts","sourceRoot":"","sources":["../../../../../src/components/Channel/hooks/useMessageListPagination.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,OAAO,EAAiC,MAAM,aAAa,CAAC;AAgBrE;;;;;GAKG;AACH,eAAO,MAAM,wBAAwB,GAAI,aAAa;IAAE,OAAO,EAAE,OAAO,CAAA;CAAE;;;aA8B3B,CAAC;iBACxC,CAAL;0BAAgC,CAAC;;;0BAgBtB,CAAC;aAC0C,CAAC;6BAKvD,CAAC;0BAEF,CAAF;;;;;;;CAyPC,CAAC"}
|
|
@@ -133,6 +133,7 @@ export type ChannelListProps = Partial<Pick<ChannelsContextValue, 'additionalFla
|
|
|
133
133
|
* - The return type has to be Channel[] (which is the return type of StreamChat.queryChannels)
|
|
134
134
|
*/
|
|
135
135
|
queryChannelsOverride?: QueryChannelsRequestType;
|
|
136
|
+
notificationHostId?: string;
|
|
136
137
|
};
|
|
137
138
|
/**
|
|
138
139
|
* This component fetches a list of channels, allowing you to select the channel you want to open.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChannelList.d.ts","sourceRoot":"","sources":["../../../../src/components/ChannelList/ChannelList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuC,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"ChannelList.d.ts","sourceRoot":"","sources":["../../../../src/components/ChannelList/ChannelList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAK5D,OAAO,EACL,OAAO,EACP,cAAc,EACd,cAAc,EACd,WAAW,EACX,KAAK,EACL,wBAAwB,EACzB,MAAM,aAAa,CAAC;AAOrB,OAAO,EACL,oBAAoB,EAErB,MAAM,gDAAgD,CAAC;AAKxD,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,mBAAmB,CAAC;AAIzE,MAAM,MAAM,gBAAgB,GAAG,OAAO,CACpC,IAAI,CACF,oBAAoB,EAClB,yBAAyB,GACzB,gBAAgB,GAChB,UAAU,GACV,uBAAuB,GACvB,qBAAqB,GACrB,mBAAmB,GACnB,gBAAgB,GAChB,mBAAmB,GACnB,qBAAqB,CACxB,CACF,GAAG;IACF,qOAAqO;IACrO,qBAAqB,CAAC,EAAE,CAAC,QAAQ,EAAE,KAAK,CAAC,OAAO,CAAC,KAAK,KAAK,CAAC,OAAO,CAAC,CAAC;IACrE;;;;;;SAMK;IACL,OAAO,CAAC,EAAE,cAAc,CAAC;IACzB;;OAEG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B;;;;;;;;;SASK;IACL,gBAAgB,CAAC,EAAE,CACjB,WAAW,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,OAAO,EAAE,CAAC,CAAC,EAC5D,KAAK,EAAE,KAAK,EACZ,OAAO,CAAC,EA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,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,OAAO,EAAE,CAAC,CAAC,EAC5D,KAAK,EAAE,KAAK,EACZ,OAAO,CAAC,EAAE,+BAA+B,KACtC,IAAI,CAAC;IACV;;;;;;;;SAQK;IACL,wBAAwB,CAAC,EAAE,CACzB,WAAW,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,OAAO,EAAE,CAAC,CAAC,EAC5D,KAAK,EAAE,KAAK,EACZ,OAAO,CAAC,EAAE,+BAA+B,KACtC,IAAI,CAAC;IAEV;;;;;;;SAOK;IACL,oBAAoB,CAAC,EAAE,CACrB,WAAW,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,OAAO,EAAE,CAAC,CAAC,EAC5D,KAAK,EAAE,KAAK,KACT,IAAI,CAAC;IACV;;;SAGK;IACL,OAAO,CAAC,EAAE,cAAc,CAAC;IACzB;;;SAGK;IACL,IAAI,CAAC,EAAE,WAAW,CAAC;IAEnB;;;;;;OAMG;IACH,qBAAqB,CAAC,EAAE,wBAAwB,CAAC;IACjD,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B,CAAC;AAMF;;;;;GAKG;AACH,eAAO,MAAM,WAAW,GAAI,OAAO,gBAAgB,sBAqKlD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useChannelActions.d.ts","sourceRoot":"","sources":["../../../../../src/components/ChannelList/hooks/useChannelActions.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"useChannelActions.d.ts","sourceRoot":"","sources":["../../../../../src/components/ChannelList/hooks/useChannelActions.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAMtC,MAAM,MAAM,cAAc,GAAG;IAC3B,OAAO,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAC7B,aAAa,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IACnC,KAAK,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAC3B,GAAG,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IACzB,SAAS,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAC/B,KAAK,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAC3B,QAAQ,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAC9B,UAAU,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAChC,WAAW,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IACjC,aAAa,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IACnC,SAAS,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAC/B,WAAW,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;CAClC,CAAC;AAEF,eAAO,MAAM,2BAA2B,GAAI,SAAS,OAAO,4DAK3D,CAAC;AAiBF,eAAO,MAAM,iBAAiB,GAAI,SAAS,OAAO,mBAoVjD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useMessageActionHandlers.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/hooks/useMessageActionHandlers.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAI3C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iDAAiD,CAAC;AAC3F,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,2CAA2C,CAAC;AAClF,OAAO,EAAE,8BAA8B,EAAE,MAAM,oEAAoE,CAAC;AACpH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iDAAiD,CAAC;AAC3F,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,mDAAmD,CAAC;
|
|
1
|
+
{"version":3,"file":"useMessageActionHandlers.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/hooks/useMessageActionHandlers.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAI3C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iDAAiD,CAAC;AAC3F,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,2CAA2C,CAAC;AAClF,OAAO,EAAE,8BAA8B,EAAE,MAAM,oEAAoE,CAAC;AACpH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iDAAiD,CAAC;AAC3F,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,mDAAmD,CAAC;AA8B9F,eAAO,MAAM,2BAA2B,GAAI,CAAC,SAAS,OAAO,EAAE,EAC7D,UAAU,CAAC,GAAG,IAAI,EAAE,CAAC,KAAK,IAAI,qDAK/B,CAAC;AAEF,eAAO,MAAM,wBAAwB,GAAI,iIAUtC,IAAI,CACL,oBAAoB,EACpB,cAAc,GAAG,eAAe,GAAG,gBAAgB,GAAG,kBAAkB,GAAG,oBAAoB,CAChG,GACC,IAAI,CAAC,mBAAmB,EAAE,SAAS,GAAG,uBAAuB,CAAC,GAC9D,IAAI,CAAC,gBAAgB,EAAE,QAAQ,CAAC,GAChC,IAAI,CAAC,mBAAmB,EAAE,SAAS,CAAC,GACpC,IAAI,CAAC,8BAA8B,EAAE,iBAAiB,GAAG,kBAAkB,CAAC;;;;;;;;;;;;;;CA4S7E,CAAC"}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { PressableProps } from 'react-native';
|
|
3
|
-
type AttachmentRemoveControlProps = PressableProps
|
|
4
|
-
|
|
3
|
+
type AttachmentRemoveControlProps = PressableProps & {
|
|
4
|
+
accessibilityLabelKey?: string;
|
|
5
|
+
accessibilityLabelParams?: Record<string, unknown>;
|
|
6
|
+
};
|
|
7
|
+
export declare const AttachmentRemoveControl: ({ accessibilityLabelKey, accessibilityLabelParams, onPress, ...rest }: AttachmentRemoveControlProps) => React.JSX.Element;
|
|
5
8
|
export {};
|
|
6
9
|
//# sourceMappingURL=AttachmentRemoveControl.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AttachmentRemoveControl.d.ts","sourceRoot":"","sources":["../../../../../../src/components/MessageInput/components/AttachmentPreview/AttachmentRemoveControl.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAEvC,OAAO,EAAa,cAAc,EAAc,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"AttachmentRemoveControl.d.ts","sourceRoot":"","sources":["../../../../../../src/components/MessageInput/components/AttachmentPreview/AttachmentRemoveControl.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAEvC,OAAO,EAAa,cAAc,EAAc,MAAM,cAAc,CAAC;AAOrE,KAAK,4BAA4B,GAAG,cAAc,GAAG;IACnD,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,wBAAwB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACpD,CAAC;AAEF,eAAO,MAAM,uBAAuB,GAAI,uEAKrC,4BAA4B,sBAuC9B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AttachmentUploadPreviewList.d.ts","sourceRoot":"","sources":["../../../../../../src/components/MessageInput/components/AttachmentPreview/AttachmentUploadPreviewList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6E,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"AttachmentUploadPreviewList.d.ts","sourceRoot":"","sources":["../../../../../../src/components/MessageInput/components/AttachmentPreview/AttachmentUploadPreviewList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6E,MAAM,OAAO,CAAC;AA2ClG,MAAM,MAAM,2CAA2C,GAAG,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;AAkgBhF,MAAM,MAAM,gCAAgC,GAAG,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;AAMrE;;;GAGG;AACH,eAAO,MAAM,2BAA2B;;;CAA2D,CAAC"}
|
package/lib/typescript/components/MessageInput/components/AudioRecorder/AudioRecorder.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AudioRecorder.d.ts","sourceRoot":"","sources":["../../../../../../src/components/MessageInput/components/AudioRecorder/AudioRecorder.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+B,MAAM,OAAO,CAAC;AACpD,OAAO,EAAE,SAAS,EAA0B,SAAS,EAAE,MAAM,cAAc,CAAC;AAO5E,OAAO,EACL,wBAAwB,EAEzB,MAAM,8DAA8D,CAAC;AAYtE,OAAO,EAAE,yBAAyB,EAAE,MAAM,gDAAgD,CAAC;
|
|
1
|
+
{"version":3,"file":"AudioRecorder.d.ts","sourceRoot":"","sources":["../../../../../../src/components/MessageInput/components/AudioRecorder/AudioRecorder.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+B,MAAM,OAAO,CAAC;AACpD,OAAO,EAAE,SAAS,EAA0B,SAAS,EAAE,MAAM,cAAc,CAAC;AAO5E,OAAO,EACL,wBAAwB,EAEzB,MAAM,8DAA8D,CAAC;AAYtE,OAAO,EAAE,yBAAyB,EAAE,MAAM,gDAAgD,CAAC;AAI3F,KAAK,6BAA6B,GAAG,IAAI,CACvC,wBAAwB,EACtB,sBAAsB,GACtB,8BAA8B,GAC9B,oBAAoB,GACpB,sBAAsB,GACtB,sBAAsB,CACzB,GACC,IAAI,CAAC,yBAAyB,EAAE,UAAU,GAAG,WAAW,GAAG,QAAQ,CAAC,GAAG;IACrE;;OAEG;IACH,kBAAkB,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC3C,CAAC;AAgKJ,MAAM,MAAM,kBAAkB,GAAG,OAAO,CAAC,6BAA6B,CAAC,CAAC;AAQxE;;GAEG;AACH,eAAO,MAAM,aAAa;YAAW,kBAAkB;;CA6BtD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AudioRecordingButton.d.ts","sourceRoot":"","sources":["../../../../../../src/components/MessageInput/components/AudioRecorder/AudioRecordingButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"AudioRecordingButton.d.ts","sourceRoot":"","sources":["../../../../../../src/components/MessageInput/components/AudioRecorder/AudioRecordingButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAcvC,OAAO,EACL,wBAAwB,EAEzB,MAAM,8DAA8D,CAAC;AAOtE,OAAO,EAAE,yBAAyB,EAAE,MAAM,gDAAgD,CAAC;AAM3F,MAAM,MAAM,oCAAoC,GAAG,IAAI,CACrD,wBAAwB,EACtB,mCAAmC,GACnC,oCAAoC,GACpC,2BAA2B,GAC3B,8BAA8B,GAC9B,sBAAsB,GACtB,qBAAqB,GACrB,sBAAsB,GACtB,sBAAsB,CACzB,GACC,IAAI,CAAC,yBAAyB,EAAE,WAAW,GAAG,QAAQ,CAAC,GAAG;IACxD;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,IAAI,CAAC;IAC7B;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;IACzB,mBAAmB,EAAE,OAAO,CAAC;CAC9B,CAAC;AAOJ;;GAEG;AACH,eAAO,MAAM,+BAA+B,GAAI,OAAO,oCAAoC,sBAyM1F,CAAC;AAEF,MAAM,MAAM,yBAAyB,GAAG,OAAO,CAAC,oCAAoC,CAAC,CAAC;AAYtF,eAAO,MAAM,oBAAoB;YAAW,yBAAyB;;CAmCpE,CAAC"}
|
|
@@ -6,6 +6,7 @@ type AttachButtonPropsWithContext = Pick<MessageInputContextValue, 'handleAttach
|
|
|
6
6
|
disabled?: boolean;
|
|
7
7
|
/** Function that opens attachment options bottom sheet */
|
|
8
8
|
handleOnPress?: ((event: GestureResponderEvent) => void) & (() => void);
|
|
9
|
+
isAttachmentPickerOpen?: boolean;
|
|
9
10
|
} & {
|
|
10
11
|
toggleAttachmentPicker: () => void;
|
|
11
12
|
};
|
package/lib/typescript/components/MessageInput/components/InputButtons/AttachButton.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AttachButton.d.ts","sourceRoot":"","sources":["../../../../../../src/components/MessageInput/components/InputButtons/AttachButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,cAAc,CAAC;AAE1D,OAAO,EACL,4BAA4B,EAE7B,MAAM,sEAAsE,CAAC;AAC9E,OAAO,EACL,wBAAwB,EAEzB,MAAM,8DAA8D,CAAC;
|
|
1
|
+
{"version":3,"file":"AttachButton.d.ts","sourceRoot":"","sources":["../../../../../../src/components/MessageInput/components/InputButtons/AttachButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,cAAc,CAAC;AAE1D,OAAO,EACL,4BAA4B,EAE7B,MAAM,sEAAsE,CAAC;AAC9E,OAAO,EACL,wBAAwB,EAEzB,MAAM,8DAA8D,CAAC;AAMtE,KAAK,4BAA4B,GAAG,IAAI,CAAC,wBAAwB,EAAE,yBAAyB,CAAC,GAC3F,IAAI,CAAC,4BAA4B,EAAE,yBAAyB,CAAC,GAAG;IAC9D,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,0DAA0D;IAC1D,aAAa,CAAC,EAAE,CAAC,CAAC,KAAK,EAAE,qBAAqB,KAAK,IAAI,CAAC,GAAG,CAAC,MAAM,IAAI,CAAC,CAAC;IACxE,sBAAsB,CAAC,EAAE,OAAO,CAAC;CAClC,GAAG;IAAE,sBAAsB,EAAE,MAAM,IAAI,CAAA;CAAE,CAAC;AAiE7C,MAAM,MAAM,iBAAiB,GAAG,OAAO,CAAC,4BAA4B,CAAC,CAAC;AAEtE;;GAEG;AACH,eAAO,MAAM,YAAY;YAAW,iBAAiB;;CAyBpD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EditButton.d.ts","sourceRoot":"","sources":["../../../../../../src/components/MessageInput/components/OutputButtons/EditButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsB,MAAM,OAAO,CAAC;AAE3C,OAAO,EACL,wBAAwB,EAEzB,MAAM,8DAA8D,CAAC;AAItE,MAAM,MAAM,eAAe,GAAG,OAAO,CAAC,IAAI,CAAC,wBAAwB,EAAE,aAAa,CAAC,CAAC,GAAG;IACrF,0BAA0B;IAC1B,QAAQ,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF,eAAO,MAAM,UAAU;YAAW,eAAe;;
|
|
1
|
+
{"version":3,"file":"EditButton.d.ts","sourceRoot":"","sources":["../../../../../../src/components/MessageInput/components/OutputButtons/EditButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsB,MAAM,OAAO,CAAC;AAE3C,OAAO,EACL,wBAAwB,EAEzB,MAAM,8DAA8D,CAAC;AAItE,MAAM,MAAM,eAAe,GAAG,OAAO,CAAC,IAAI,CAAC,wBAAwB,EAAE,aAAa,CAAC,CAAC,GAAG;IACrF,0BAA0B;IAC1B,QAAQ,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF,eAAO,MAAM,UAAU;YAAW,eAAe;;CAyBhD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SendButton.d.ts","sourceRoot":"","sources":["../../../../../../src/components/MessageInput/components/OutputButtons/SendButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsB,MAAM,OAAO,CAAC;AAE3C,OAAO,EACL,wBAAwB,EAEzB,MAAM,8DAA8D,CAAC;AAItE,MAAM,MAAM,eAAe,GAAG,OAAO,CAAC,IAAI,CAAC,wBAAwB,EAAE,aAAa,CAAC,CAAC,GAAG;IACrF,0BAA0B;IAC1B,QAAQ,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF,eAAO,MAAM,UAAU;YAAW,eAAe;;
|
|
1
|
+
{"version":3,"file":"SendButton.d.ts","sourceRoot":"","sources":["../../../../../../src/components/MessageInput/components/OutputButtons/SendButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsB,MAAM,OAAO,CAAC;AAE3C,OAAO,EACL,wBAAwB,EAEzB,MAAM,8DAA8D,CAAC;AAItE,MAAM,MAAM,eAAe,GAAG,OAAO,CAAC,IAAI,CAAC,wBAAwB,EAAE,aAAa,CAAC,CAAC,GAAG;IACrF,0BAA0B;IAC1B,QAAQ,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF,eAAO,MAAM,UAAU;YAAW,eAAe;;CAyBhD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MessageFlashList.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageList/MessageFlashList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+E,MAAM,OAAO,CAAC;AACpG,OAAO,EAEL,eAAe,EAKhB,MAAM,cAAc,CAAC;AAItB,OAAO,KAAK,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACxE,OAAO,KAAK,EAAkB,YAAY,EAAmB,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"MessageFlashList.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageList/MessageFlashList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+E,MAAM,OAAO,CAAC;AACpG,OAAO,EAEL,eAAe,EAKhB,MAAM,cAAc,CAAC;AAItB,OAAO,KAAK,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACxE,OAAO,KAAK,EAAkB,YAAY,EAAmB,MAAM,aA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C,CAAC;IACjE;;;;;;;OAOG;IACH,eAAe,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IACtC;;;;;;;OAOG;IACH,eAAe,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IACtC,gEAAgE;IAChE,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,4CAA4C;IAC5C,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,YAAY,CAAC,EAAE,eAAe,CAAC,UAAU,CAAC,CAAC;IAC3C;;;;OAIG;IACH,cAAc,CAAC,EAAE,CAAC,OAAO,EAAE,kBAAkB,CAAC,QAAQ,CAAC,KAAK,IAAI,CAAC;IACjE;;;;;;;;;;OAUG;IACH,cAAc,CAAC,EAAE,CAAC,GAAG,EAAE,YAAY,CAAC,YAAY,CAAC,GAAG,IAAI,KAAK,IAAI,CAAC;IAClE;;;;;;;OAOG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B,CAAC;AAo8BJ,MAAM,MAAM,qBAAqB,GAAG,OAAO,CAAC,gCAAgC,CAAC,CAAC;AAE9E;;;;;GAKG;AACH,eAAO,MAAM,gBAAgB,GAAI,OAAO,qBAAqB,sBAwE5D,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MessageList.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageList/MessageList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4D,MAAM,OAAO,CAAC;AACjF,OAAO,EAEL,aAAa,EACb,QAAQ,IAAI,YAAY,EAExB,eAAe,EAKhB,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"MessageList.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageList/MessageList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4D,MAAM,OAAO,CAAC;AACjF,OAAO,EAEL,aAAa,EACb,QAAQ,IAAI,YAAY,EAExB,eAAe,EAKhB,MAAM,cAAc,CAAC;AAgBtB,OAAO,EAEL,6BAA6B,EAC9B,MAAM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,6BAA6B,CAAC,CAAC,CAAC;IAChF;;;;;;;OAOG;IACH,eAAe,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IACtC;;;;;;;OAOG;IACH,eAAe,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IACtC,gEAAgE;IAChE,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,4CAA4C;IAC5C,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,YAAY,CAAC,EAAE,eAAe,CAAC,UAAU,CAAC,CAAC;IAC3C;;;;OAIG;IACH,cAAc,CAAC,EAAE,CAAC,OAAO,EAAE,kBAAkB,CAAC,QAAQ,CAAC,KAAK,IAAI,CAAC;IACjE;;;;;;;;;;OAUG;IACH,cAAc,CAAC,EAAE,CAAC,GAAG,EAAE,YAAY,CAAC,6BAA6B,CAAC,GAAG,IAAI,KAAK,IAAI,CAAC;IACnF;;;;;;;OAOG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB,CAAC;AAijCJ,MAAM,MAAM,gBAAgB,GAAG,OAAO,CAAC,2BAA2B,CAAC,CAAC;AAEpE,eAAO,MAAM,WAAW,GAAI,OAAO,gBAAgB,sBAyElD,CAAC"}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
export declare const SCROLL_TO_BOTTOM_ACCESSIBILITY_LABEL_KEY = "a11y/Scroll to bottom";
|
|
3
|
+
export declare const SCROLL_TO_BOTTOM_WITH_COUNT_ACCESSIBILITY_LABEL_KEY = "a11y/Scroll to bottom, {{count}} new messages";
|
|
2
4
|
export type ScrollToBottomButtonProps = {
|
|
3
5
|
/** onPress handler */
|
|
4
6
|
onPress: () => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScrollToBottomButton.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageList/ScrollToBottomButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"ScrollToBottomButton.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageList/ScrollToBottomButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAW1B,eAAO,MAAM,wCAAwC,0BAA0B,CAAC;AAChF,eAAO,MAAM,mDAAmD,kDACf,CAAC;AAElD,MAAM,MAAM,yBAAyB,GAAG;IACtC,sBAAsB;IACtB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,gDAAgD;IAChD,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,eAAO,MAAM,oBAAoB;YAAW,yBAAyB;;CAwDpE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UnreadMessagesNotification.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageList/UnreadMessagesNotification.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAGvC,OAAO,EACL,mBAAmB,EAEpB,MAAM,8CAA8C,CAAC;AAUtD,MAAM,MAAM,+BAA+B,GAAG,IAAI,CAChD,mBAAmB,EACnB,yBAAyB,CAC1B,GAAG;IACF;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;IAC5B;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IACrC;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AAMF,eAAO,MAAM,0BAA0B,GAAI,OAAO,+BAA+B,
|
|
1
|
+
{"version":3,"file":"UnreadMessagesNotification.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageList/UnreadMessagesNotification.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAGvC,OAAO,EACL,mBAAmB,EAEpB,MAAM,8CAA8C,CAAC;AAUtD,MAAM,MAAM,+BAA+B,GAAG,IAAI,CAChD,mBAAmB,EACnB,yBAAyB,CAC1B,GAAG;IACF;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;IAC5B;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IACrC;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AAMF,eAAO,MAAM,0BAA0B,GAAI,OAAO,+BAA+B,sBA2DhF,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { AccessibilityActionEvent, AccessibilityProps } from 'react-native';
|
|
2
|
+
export declare const SCROLL_TO_BOTTOM_ACCESSIBILITY_ACTION_NAME = "streamScrollToBottom";
|
|
3
|
+
type AccessibilityActions = AccessibilityProps['accessibilityActions'];
|
|
4
|
+
type OnAccessibilityAction = AccessibilityProps['onAccessibilityAction'];
|
|
5
|
+
type UseScrollToBottomAccessibilityActionParams = {
|
|
6
|
+
accessibilityActions?: AccessibilityActions;
|
|
7
|
+
onAccessibilityAction?: OnAccessibilityAction;
|
|
8
|
+
onScrollToBottom: () => Promise<void> | void;
|
|
9
|
+
unreadCount?: number;
|
|
10
|
+
visible: boolean;
|
|
11
|
+
};
|
|
12
|
+
export declare const useScrollToBottomAccessibilityAction: ({ accessibilityActions, onAccessibilityAction, onScrollToBottom, unreadCount, visible, }: UseScrollToBottomAccessibilityActionParams) => {
|
|
13
|
+
accessibilityActions: Readonly<{
|
|
14
|
+
name: string;
|
|
15
|
+
label?: string;
|
|
16
|
+
}>[] | undefined;
|
|
17
|
+
onAccessibilityAction: import("../../../hooks").StableCallback<[event: AccessibilityActionEvent], void | Promise<void>> | undefined;
|
|
18
|
+
};
|
|
19
|
+
export {};
|
|
20
|
+
//# sourceMappingURL=useScrollToBottomAccessibilityAction.d.ts.map
|
package/lib/typescript/components/MessageList/hooks/useScrollToBottomAccessibilityAction.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useScrollToBottomAccessibilityAction.d.ts","sourceRoot":"","sources":["../../../../../src/components/MessageList/hooks/useScrollToBottomAccessibilityAction.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,wBAAwB,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAWjF,eAAO,MAAM,0CAA0C,yBAAyB,CAAC;AAEjF,KAAK,oBAAoB,GAAG,kBAAkB,CAAC,sBAAsB,CAAC,CAAC;AACvE,KAAK,qBAAqB,GAAG,kBAAkB,CAAC,uBAAuB,CAAC,CAAC;AAEzE,KAAK,0CAA0C,GAAG;IAChD,oBAAoB,CAAC,EAAE,oBAAoB,CAAC;IAC5C,qBAAqB,CAAC,EAAE,qBAAqB,CAAC;IAC9C,gBAAgB,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC;IAC7C,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF,eAAO,MAAM,oCAAoC,GAAI,0FAMlD,0CAA0C;;;;;;CAyC5C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MessageActionListItem.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageMenu/MessageActionListItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AACvC,OAAO,EAAE,SAAS,EAAoB,SAAS,EAAQ,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"MessageActionListItem.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageMenu/MessageActionListItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AACvC,OAAO,EAAE,SAAS,EAAoB,SAAS,EAAQ,MAAM,cAAc,CAAC;AAU5E,MAAM,MAAM,UAAU,GAClB,SAAS,GACT,WAAW,GACX,aAAa,GACb,eAAe,GACf,oBAAoB,GACpB,aAAa,GACb,aAAa,GACb,YAAY,GACZ,UAAU,GACV,YAAY,GACZ,gBAAgB,GAChB,OAAO,GACP,OAAO,GACP,aAAa,GACb,aAAa,GACb,cAAc,CAAC;AAEnB,MAAM,MAAM,iBAAiB,GAAG;IAC9B;;OAEG;IACH,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB;;;OAGG;IACH,UAAU,EAAE,UAAU,GAAG,MAAM,CAAC;IAChC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,IAAI,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;IAC1B;;OAEG;IACH,UAAU,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAElC,IAAI,EAAE,UAAU,GAAG,aAAa,CAAC;CAClC,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,0BAA0B,GAAG,iBAAiB,CAAC;AAE3D,eAAO,MAAM,qBAAqB,GAAI,OAAO,0BAA0B,sBAyCtE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MessageReactionPicker.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageMenu/MessageReactionPicker.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAQvC,OAAO,EAAE,mBAAmB,EAAE,MAAM,8CAA8C,CAAC;AACnF,OAAO,EACL,oBAAoB,EAErB,MAAM,gDAAgD,CAAC;AAUxD,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAIjD,MAAM,MAAM,0BAA0B,GAAG,IAAI,CAAC,oBAAoB,EAAE,oBAAoB,CAAC,GACvF,IAAI,CAAC,mBAAmB,EAAE,gBAAgB,GAAG,gBAAgB,CAAC,CAAC;AAEjE,MAAM,MAAM,sBAAsB,GAAG,YAAY,GAAG;IAClD,gBAAgB,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACzC,gBAAgB,EAAE,MAAM,EAAE,CAAC;CAC5B,CAAC;AAcF,eAAO,MAAM,yBAAyB,GAAI,uBAEvC;IACD,gBAAgB,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;CAC1C,sBAiCA,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAAI,uBAE/B;IACD,gBAAgB,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;CAC1C,
|
|
1
|
+
{"version":3,"file":"MessageReactionPicker.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageMenu/MessageReactionPicker.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAQvC,OAAO,EAAE,mBAAmB,EAAE,MAAM,8CAA8C,CAAC;AACnF,OAAO,EACL,oBAAoB,EAErB,MAAM,gDAAgD,CAAC;AAUxD,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAIjD,MAAM,MAAM,0BAA0B,GAAG,IAAI,CAAC,oBAAoB,EAAE,oBAAoB,CAAC,GACvF,IAAI,CAAC,mBAAmB,EAAE,gBAAgB,GAAG,gBAAgB,CAAC,CAAC;AAEjE,MAAM,MAAM,sBAAsB,GAAG,YAAY,GAAG;IAClD,gBAAgB,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACzC,gBAAgB,EAAE,MAAM,EAAE,CAAC;CAC5B,CAAC;AAcF,eAAO,MAAM,yBAAyB,GAAI,uBAEvC;IACD,gBAAgB,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;CAC1C,sBAiCA,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAAI,uBAE/B;IACD,gBAAgB,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;CAC1C,sBA6CA,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,qBAAqB,GAAI,OAAO,0BAA0B,6BAkCtE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReactionButton.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageMenu/ReactionButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+B,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"ReactionButton.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageMenu/ReactionButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+B,MAAM,OAAO,CAAC;AAIpD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAU,WAAW,EAAE,MAAM,OAAO,CAAC;AAE5C,MAAM,MAAM,mBAAmB,GAAG;IAChC;;OAEG;IACH,IAAI,EAAE,KAAK,CAAC,aAAa,CAAC,SAAS,CAAC,CAAC;IACrC;;OAEG;IACH,QAAQ,EAAE,OAAO,CAAC;IAClB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,OAAO,CAAC,EAAE,CAAC,YAAY,EAAE,MAAM,KAAK,IAAI,CAAC;IACzC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;CAC5B,CAAC;AAEF,eAAO,MAAM,cAAc,GAAI,OAAO,mBAAmB,sBA4CxD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useFetchReactions.d.ts","sourceRoot":"","sources":["../../../../../src/components/MessageMenu/hooks/useFetchReactions.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,gBAAgB,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"useFetchReactions.d.ts","sourceRoot":"","sources":["../../../../../src/components/MessageMenu/hooks/useFetchReactions.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,gBAAgB,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAM3E,MAAM,MAAM,sBAAsB,GAAG;IACnC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,YAAY,CAAC;IACvB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,IAAI,CAAC,EAAE,YAAY,CAAC;CACrB,CAAC;AAKF,eAAO,MAAM,oBAAoB,GAAI,4CAIlC;IACD,aAAa,EAAE,gBAAgB,EAAE,CAAC;IAClC,QAAQ,EAAE,gBAAgB,CAAC;IAC3B,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,uBAgBA,CAAC;AAEF,eAAO,MAAM,8BAA8B,GAAI,4CAI5C;IACD,aAAa,EAAE,gBAAgB,EAAE,CAAC;IAClC,QAAQ,EAAE,gBAAgB,CAAC;IAC3B,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,uBAgBA,CAAC;AAEF,eAAO,MAAM,sBAAsB,GAAI,4CAIpC;IACD,aAAa,EAAE,gBAAgB,EAAE,CAAC;IAClC,QAAQ,EAAE,gBAAgB,CAAC;IAC3B,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,uBAUA,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAAI,yCAK/B,sBAAsB;;;;CAmIxB,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { Notification as NotificationType, NotificationSeverity } from 'stream-chat';
|
|
3
|
+
/** Direction from which a snackbar enters and exits the screen. */
|
|
4
|
+
export type NotificationEntryDirection = 'bottom' | 'left' | 'right' | 'top';
|
|
5
|
+
export type NotificationTransitionState = 'enter' | 'exit';
|
|
6
|
+
export type NotificationIconProps = {
|
|
7
|
+
/** Notification rendered by the icon slot. */
|
|
8
|
+
notification: NotificationType;
|
|
9
|
+
};
|
|
10
|
+
/** Visual variant resolved from notification severity. Notifications without severity use `default`. */
|
|
11
|
+
export type NotificationVariant = 'default' | NotificationSeverity;
|
|
12
|
+
/** Resolves the visual variant used by the default notification renderer. */
|
|
13
|
+
export declare const getNotificationVariant: (notification: NotificationType) => NotificationVariant;
|
|
14
|
+
export declare const NotificationIcon: ({ notification }: NotificationIconProps) => React.JSX.Element | null;
|
|
15
|
+
export type NotificationProps = {
|
|
16
|
+
/** Notification object produced by the Stream Chat notification manager. */
|
|
17
|
+
notification: NotificationType;
|
|
18
|
+
/** Direction used by the surrounding list animation. */
|
|
19
|
+
entryDirection?: NotificationEntryDirection;
|
|
20
|
+
/** Optional icon override for this notification instance. */
|
|
21
|
+
Icon?: React.ComponentType<NotificationIconProps>;
|
|
22
|
+
/** Called instead of the default notification removal behavior. */
|
|
23
|
+
onDismiss?: () => void;
|
|
24
|
+
/** Forces a dismiss button for transient notifications. Persistent notifications always show one. */
|
|
25
|
+
showClose?: boolean;
|
|
26
|
+
/** Reserved for custom animated notification implementations. */
|
|
27
|
+
transitionState?: NotificationTransitionState;
|
|
28
|
+
};
|
|
29
|
+
/** Default snackbar notification renderer used by `NotificationList`. */
|
|
30
|
+
export declare const Notification: ({ Icon, notification, onDismiss, showClose, }: NotificationProps) => React.JSX.Element;
|
|
31
|
+
//# sourceMappingURL=Notification.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Notification.d.ts","sourceRoot":"","sources":["../../../../src/components/Notifications/Notification.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAK3D,OAAO,KAAK,EAAE,YAAY,IAAI,gBAAgB,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAC;AAgB1F,mEAAmE;AACnE,MAAM,MAAM,0BAA0B,GAAG,QAAQ,GAAG,MAAM,GAAG,OAAO,GAAG,KAAK,CAAC;AAC7E,MAAM,MAAM,2BAA2B,GAAG,OAAO,GAAG,MAAM,CAAC;AAE3D,MAAM,MAAM,qBAAqB,GAAG;IAClC,8CAA8C;IAC9C,YAAY,EAAE,gBAAgB,CAAC;CAChC,CAAC;AAEF,wGAAwG;AACxG,MAAM,MAAM,mBAAmB,GAAG,SAAS,GAAG,oBAAoB,CAAC;AAEnE,6EAA6E;AAC7E,eAAO,MAAM,sBAAsB,GAAI,cAAc,gBAAgB,KAAG,mBACpC,CAAC;AAiBrC,eAAO,MAAM,gBAAgB,GAAI,kBAAkB,qBAAqB,6BAUvE,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG;IAC9B,4EAA4E;IAC5E,YAAY,EAAE,gBAAgB,CAAC;IAC/B,wDAAwD;IACxD,cAAc,CAAC,EAAE,0BAA0B,CAAC;IAC5C,6DAA6D;IAC7D,IAAI,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,qBAAqB,CAAC,CAAC;IAClD,mEAAmE;IACnE,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;IACvB,qGAAqG;IACrG,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,iEAAiE;IACjE,eAAe,CAAC,EAAE,2BAA2B,CAAC;CAC/C,CAAC;AAEF,yEAAyE;AACzE,eAAO,MAAM,YAAY,GAAI,+CAK1B,iBAAiB,sBAgEnB,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { Notification as NotificationType } from 'stream-chat';
|
|
3
|
+
import type { NotificationTargetPanel } from './notificationTarget';
|
|
4
|
+
/** Predicate used to hide notifications from a specific rendered notification list. */
|
|
5
|
+
export type NotificationListFilter = (notification: NotificationType) => boolean;
|
|
6
|
+
/** Direction from which new snackbars animate into the list. */
|
|
7
|
+
export type NotificationListEnterFrom = 'bottom' | 'left' | 'right' | 'top';
|
|
8
|
+
/** Vertical edge used by the absolutely positioned notification host. */
|
|
9
|
+
export type NotificationListVerticalAlignment = 'bottom' | 'top';
|
|
10
|
+
export type NotificationListProps = {
|
|
11
|
+
/** Extra distance from the bottom edge, useful when floating composers cover the default host. */
|
|
12
|
+
bottomOffset?: number;
|
|
13
|
+
/** Default enter/exit animation direction when notification metadata does not define one. */
|
|
14
|
+
enterFrom?: NotificationListEnterFrom;
|
|
15
|
+
/** Additional per-list filter applied after target filtering. */
|
|
16
|
+
filter?: NotificationListFilter;
|
|
17
|
+
/** Exact notification host id. Use together with `panel` when rendering outside a target provider. */
|
|
18
|
+
hostId?: string;
|
|
19
|
+
/** Target panel consumed by this list. Defaults to the nearest `NotificationTargetProvider`. */
|
|
20
|
+
panel?: NotificationTargetPanel;
|
|
21
|
+
/** Extra distance from the top edge when `verticalAlignment` is `top`. */
|
|
22
|
+
topOffset?: number;
|
|
23
|
+
/** Whether the host is anchored to the top or bottom of its parent. */
|
|
24
|
+
verticalAlignment?: NotificationListVerticalAlignment;
|
|
25
|
+
};
|
|
26
|
+
/** Renders the newest matching client notification as an animated snackbar. */
|
|
27
|
+
export declare const NotificationList: ({ bottomOffset, enterFrom, filter, hostId, panel, topOffset, verticalAlignment, }: NotificationListProps) => React.JSX.Element | null;
|
|
28
|
+
//# sourceMappingURL=NotificationList.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NotificationList.d.ts","sourceRoot":"","sources":["../../../../src/components/Notifications/NotificationList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAKvC,OAAO,KAAK,EAAE,YAAY,IAAI,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAGpE,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AAQpE,uFAAuF;AACvF,MAAM,MAAM,sBAAsB,GAAG,CAAC,YAAY,EAAE,gBAAgB,KAAK,OAAO,CAAC;AACjF,gEAAgE;AAChE,MAAM,MAAM,yBAAyB,GAAG,QAAQ,GAAG,MAAM,GAAG,OAAO,GAAG,KAAK,CAAC;AAC5E,yEAAyE;AACzE,MAAM,MAAM,iCAAiC,GAAG,QAAQ,GAAG,KAAK,CAAC;AAEjE,MAAM,MAAM,qBAAqB,GAAG;IAClC,kGAAkG;IAClG,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,6FAA6F;IAC7F,SAAS,CAAC,EAAE,yBAAyB,CAAC;IACtC,iEAAiE;IACjE,MAAM,CAAC,EAAE,sBAAsB,CAAC;IAChC,sGAAsG;IACtG,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,gGAAgG;IAChG,KAAK,CAAC,EAAE,uBAAuB,CAAC;IAChC,0EAA0E;IAC1E,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,uEAAuE;IACvE,iBAAiB,CAAC,EAAE,iCAAiC,CAAC;CACvD,CAAC;AA4BF,+EAA+E;AAC/E,eAAO,MAAM,gBAAgB,GAAI,mFAQ9B,qBAAqB,6BAuCvB,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React, { PropsWithChildren } from 'react';
|
|
2
|
+
import type { NotificationTarget, NotificationTargetPanel } from './notificationTarget';
|
|
3
|
+
/** Provides the default notification target for SDK actions rendered inside this subtree. */
|
|
4
|
+
export type NotificationTargetProviderProps = PropsWithChildren<NotificationTarget>;
|
|
5
|
+
/** Makes notifications emitted by descendants resolve to a specific panel and host id. */
|
|
6
|
+
export declare const NotificationTargetProvider: ({ children, hostId, panel, }: NotificationTargetProviderProps) => React.JSX.Element;
|
|
7
|
+
/** Returns the nearest notification target, if the caller is rendered inside a target provider. */
|
|
8
|
+
export declare const useNotificationTargetContext: () => NotificationTarget | undefined;
|
|
9
|
+
/** Resolves an explicit target or falls back to the nearest compatible target provider. */
|
|
10
|
+
export declare const useResolvedNotificationTarget: ({ hostId, panel, }?: {
|
|
11
|
+
hostId?: string;
|
|
12
|
+
panel?: NotificationTargetPanel;
|
|
13
|
+
}) => NotificationTarget | undefined;
|
|
14
|
+
//# sourceMappingURL=NotificationTargetContext.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NotificationTargetContext.d.ts","sourceRoot":"","sources":["../../../../src/components/Notifications/NotificationTargetContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAiB,iBAAiB,EAAuB,MAAM,OAAO,CAAC;AAErF,OAAO,KAAK,EAAE,kBAAkB,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AAExF,6FAA6F;AAC7F,MAAM,MAAM,+BAA+B,GAAG,iBAAiB,CAAC,kBAAkB,CAAC,CAAC;AAIpF,0FAA0F;AAC1F,eAAO,MAAM,0BAA0B,GAAI,8BAIxC,+BAA+B,sBAQjC,CAAC;AAEF,mGAAmG;AACnG,eAAO,MAAM,4BAA4B,sCAA8C,CAAC;AAExF,2FAA2F;AAC3F,eAAO,MAAM,6BAA6B,GAAI,qBAG3C;IACD,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,uBAAuB,CAAC;CAC5B,mCAUL,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Notifications/hooks/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,cAAc,iCAAiC,CAAC;AAChD,cAAc,oBAAoB,CAAC;AACnC,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import type { AddNotificationPayload, Notification } from 'stream-chat';
|
|
2
|
+
import { type NotificationTarget, type NotificationTargetPanel } from '../notificationTarget';
|
|
3
|
+
export declare const SYSTEM_NOTIFICATION_TAG: "system";
|
|
4
|
+
/** Returns whether a notification is reserved for system-level consumers instead of snackbars. */
|
|
5
|
+
export declare const hasSystemNotificationTag: (notification: Notification) => boolean;
|
|
6
|
+
/** Structured descriptor used to derive stable notification `type` values. */
|
|
7
|
+
export type NotificationIncidentDescriptor = {
|
|
8
|
+
/** Product or SDK area where the notification originated, for example `message` or `poll`. */
|
|
9
|
+
domain: string;
|
|
10
|
+
/** Entity affected by the incident, for example `attachment` or `vote`. */
|
|
11
|
+
entity: string;
|
|
12
|
+
/** Operation being reported, for example `upload` or `create`. */
|
|
13
|
+
operation: string;
|
|
14
|
+
/** Optional explicit status. Falls back to severity-derived status when omitted. */
|
|
15
|
+
status?: string;
|
|
16
|
+
};
|
|
17
|
+
export type AddNotificationOptions = {
|
|
18
|
+
/** Incident metadata used to derive `options.type` when the payload does not provide one. */
|
|
19
|
+
incident?: NotificationIncidentDescriptor;
|
|
20
|
+
/** Exact host target for this notification. Defaults to the nearest notification target provider. */
|
|
21
|
+
target?: NotificationTarget;
|
|
22
|
+
/** Broad panel targets. Use for notifications that should appear in every host of a panel. */
|
|
23
|
+
targetPanels?: NotificationTargetPanel[];
|
|
24
|
+
};
|
|
25
|
+
export type AddSystemNotificationOptions = Omit<AddNotificationOptions, 'target' | 'targetPanels'>;
|
|
26
|
+
/** Adds a snackbar notification scoped to a target host or panel. */
|
|
27
|
+
export type AddNotification = (payload: AddNotificationPayload, options?: AddNotificationOptions) => void;
|
|
28
|
+
/** Adds a system notification that is excluded from the default snackbar list. */
|
|
29
|
+
export type AddSystemNotification = (payload: AddNotificationPayload, options?: AddSystemNotificationOptions) => string;
|
|
30
|
+
/** Removes a notification by id. */
|
|
31
|
+
export type RemoveNotification = (id: string) => void;
|
|
32
|
+
/** Removes non-system notifications that belong to the current target provider. */
|
|
33
|
+
export type RemoveNotificationsForCurrentPanel = () => void;
|
|
34
|
+
/** Starts the manager timeout for a notification, optionally overriding the stored duration. */
|
|
35
|
+
export type StartNotificationTimeout = (id: string, durationOverride?: number) => void;
|
|
36
|
+
/** Runs an action while temporarily making its target available to untagged notifications. */
|
|
37
|
+
export type RunWithNotificationTarget = <T>(callback: () => T | Promise<T>, target?: NotificationTarget) => Promise<T>;
|
|
38
|
+
export type NotificationApi = {
|
|
39
|
+
addNotification: AddNotification;
|
|
40
|
+
addSystemNotification: AddSystemNotification;
|
|
41
|
+
removeNotification: RemoveNotification;
|
|
42
|
+
removeNotificationsForCurrentPanel: RemoveNotificationsForCurrentPanel;
|
|
43
|
+
runWithNotificationTarget: RunWithNotificationTarget;
|
|
44
|
+
startNotificationTimeout: StartNotificationTimeout;
|
|
45
|
+
};
|
|
46
|
+
/** Returns imperative helpers for dispatching, targeting and dismissing client notifications. */
|
|
47
|
+
export declare const useNotificationApi: () => NotificationApi;
|
|
48
|
+
//# sourceMappingURL=useNotificationApi.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useNotificationApi.d.ts","sourceRoot":"","sources":["../../../../../src/components/Notifications/hooks/useNotificationApi.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,sBAAsB,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAGxE,OAAO,EAML,KAAK,kBAAkB,EACvB,KAAK,uBAAuB,EAC7B,MAAM,uBAAuB,CAAC;AAG/B,eAAO,MAAM,uBAAuB,EAAG,QAAiB,CAAC;AAEzD,kGAAkG;AAClG,eAAO,MAAM,wBAAwB,GAAI,cAAc,YAAY,YACJ,CAAC;AAEhE,8EAA8E;AAC9E,MAAM,MAAM,8BAA8B,GAAG;IAC3C,8FAA8F;IAC9F,MAAM,EAAE,MAAM,CAAC;IACf,2EAA2E;IAC3E,MAAM,EAAE,MAAM,CAAC;IACf,kEAAkE;IAClE,SAAS,EAAE,MAAM,CAAC;IAClB,oFAAoF;IACpF,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG;IACnC,6FAA6F;IAC7F,QAAQ,CAAC,EAAE,8BAA8B,CAAC;IAC1C,qGAAqG;IACrG,MAAM,CAAC,EAAE,kBAAkB,CAAC;IAC5B,8FAA8F;IAC9F,YAAY,CAAC,EAAE,uBAAuB,EAAE,CAAC;CAC1C,CAAC;AAEF,MAAM,MAAM,4BAA4B,GAAG,IAAI,CAAC,sBAAsB,EAAE,QAAQ,GAAG,cAAc,CAAC,CAAC;AAEnG,qEAAqE;AACrE,MAAM,MAAM,eAAe,GAAG,CAC5B,OAAO,EAAE,sBAAsB,EAC/B,OAAO,CAAC,EAAE,sBAAsB,KAC7B,IAAI,CAAC;AACV,kFAAkF;AAClF,MAAM,MAAM,qBAAqB,GAAG,CAClC,OAAO,EAAE,sBAAsB,EAC/B,OAAO,CAAC,EAAE,4BAA4B,KACnC,MAAM,CAAC;AACZ,oCAAoC;AACpC,MAAM,MAAM,kBAAkB,GAAG,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;AACtD,mFAAmF;AACnF,MAAM,MAAM,kCAAkC,GAAG,MAAM,IAAI,CAAC;AAC5D,gGAAgG;AAChG,MAAM,MAAM,wBAAwB,GAAG,CAAC,EAAE,EAAE,MAAM,EAAE,gBAAgB,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;AACvF,8FAA8F;AAC9F,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,EACxC,QAAQ,EAAE,MAAM,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC,EAC9B,MAAM,CAAC,EAAE,kBAAkB,KACxB,OAAO,CAAC,CAAC,CAAC,CAAC;AAEhB,MAAM,MAAM,eAAe,GAAG;IAC5B,eAAe,EAAE,eAAe,CAAC;IACjC,qBAAqB,EAAE,qBAAqB,CAAC;IAC7C,kBAAkB,EAAE,kBAAkB,CAAC;IACvC,kCAAkC,EAAE,kCAAkC,CAAC;IACvE,yBAAyB,EAAE,yBAAyB,CAAC;IACrD,wBAAwB,EAAE,wBAAwB,CAAC;CACpD,CAAC;AAyDF,iGAAiG;AACjG,eAAO,MAAM,kBAAkB,QAAO,eAmHrC,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { Notification as NotificationType } from 'stream-chat';
|
|
2
|
+
import { type UseNotificationsFilter } from './useNotifications';
|
|
3
|
+
import { type NotificationTargetPanel } from '../notificationTarget';
|
|
4
|
+
export type UseNotificationListControllerParams = {
|
|
5
|
+
filter?: UseNotificationsFilter;
|
|
6
|
+
hostId?: string;
|
|
7
|
+
panel?: NotificationTargetPanel;
|
|
8
|
+
};
|
|
9
|
+
export type UseNotificationListControllerResult = {
|
|
10
|
+
dismissNotification: () => void;
|
|
11
|
+
notification: NotificationType | null;
|
|
12
|
+
};
|
|
13
|
+
export declare const useNotificationListController: ({ filter, hostId, panel, }?: UseNotificationListControllerParams) => UseNotificationListControllerResult;
|
|
14
|
+
//# sourceMappingURL=useNotificationListController.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useNotificationListController.d.ts","sourceRoot":"","sources":["../../../../../src/components/Notifications/hooks/useNotificationListController.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,IAAI,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAGpE,OAAO,EAAoB,KAAK,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AAKnF,OAAO,EAIL,KAAK,uBAAuB,EAC7B,MAAM,uBAAuB,CAAC;AAG/B,MAAM,MAAM,mCAAmC,GAAG;IAChD,MAAM,CAAC,EAAE,sBAAsB,CAAC;IAChC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,uBAAuB,CAAC;CACjC,CAAC;AAEF,MAAM,MAAM,mCAAmC,GAAG;IAChD,mBAAmB,EAAE,MAAM,IAAI,CAAC;IAChC,YAAY,EAAE,gBAAgB,GAAG,IAAI,CAAC;CACvC,CAAC;AA2BF,eAAO,MAAM,6BAA6B,GAAI,6BAI3C,mCAAwC,KAAG,mCAqG7C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useNotificationTarget.d.ts","sourceRoot":"","sources":["../../../../../src/components/Notifications/hooks/useNotificationTarget.ts"],"names":[],"mappings":"AAmBA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,uBAAuB,CAAC;AAIrE,eAAO,MAAM,qBAAqB,QAAO,uBAAuB,GAAG,SAalE,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { Notification } from 'stream-chat';
|
|
2
|
+
import { type NotificationTarget } from '../notificationTarget';
|
|
3
|
+
export type UseNotificationsFilter = (notification: Notification) => boolean;
|
|
4
|
+
export type UseNotificationsOptions = {
|
|
5
|
+
/** Additional filter applied after optional target filtering. */
|
|
6
|
+
filter?: UseNotificationsFilter;
|
|
7
|
+
/** When true, returns an empty list unless an exact target is provided. */
|
|
8
|
+
requireTarget?: boolean;
|
|
9
|
+
/** Exact target used to select notifications for one host. */
|
|
10
|
+
target?: NotificationTarget;
|
|
11
|
+
};
|
|
12
|
+
/** Subscribes to the client notification store and returns matching non-system notifications. */
|
|
13
|
+
export declare const useNotifications: (options?: UseNotificationsOptions) => Notification[];
|
|
14
|
+
//# sourceMappingURL=useNotifications.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useNotifications.d.ts","sourceRoot":"","sources":["../../../../../src/components/Notifications/hooks/useNotifications.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAA4B,MAAM,aAAa,CAAC;AAI1E,OAAO,EAA2B,KAAK,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAEzF,MAAM,MAAM,sBAAsB,GAAG,CAAC,YAAY,EAAE,YAAY,KAAK,OAAO,CAAC;AAE7E,MAAM,MAAM,uBAAuB,GAAG;IACpC,iEAAiE;IACjE,MAAM,CAAC,EAAE,sBAAsB,CAAC;IAChC,2EAA2E;IAC3E,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,8DAA8D;IAC9D,MAAM,CAAC,EAAE,kBAAkB,CAAC;CAC7B,CAAC;AAEF,iGAAiG;AACjG,eAAO,MAAM,gBAAgB,GAAI,UAAU,uBAAuB,KAAG,YAAY,EAsBhF,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { Notification } from 'stream-chat';
|
|
2
|
+
export type UseSystemNotificationsFilter = (notification: Notification) => boolean;
|
|
3
|
+
export type UseSystemNotificationsOptions = {
|
|
4
|
+
/** Additional filter applied to system-tagged notifications. */
|
|
5
|
+
filter?: UseSystemNotificationsFilter;
|
|
6
|
+
};
|
|
7
|
+
/** Subscribes to notifications tagged as system notifications. */
|
|
8
|
+
export declare const useSystemNotifications: (options?: UseSystemNotificationsOptions) => Notification[];
|
|
9
|
+
//# sourceMappingURL=useSystemNotifications.d.ts.map
|