stream-chat-react-native-core 9.3.1-beta.6 → 9.3.1-beta.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/commonjs/a11y/hooks/useAnnounceOnShow.js +27 -0
- package/lib/commonjs/a11y/hooks/useAnnounceOnShow.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/Accessibility/CompositeAccessibilityProbe.js +29 -0
- package/lib/commonjs/components/Accessibility/CompositeAccessibilityProbe.js.map +1 -0
- package/lib/commonjs/components/Accessibility/HiddenA11yText.js +30 -0
- package/lib/commonjs/components/Accessibility/HiddenA11yText.js.map +1 -0
- package/lib/commonjs/components/Accessibility/OverlayA11yShield.js +37 -0
- package/lib/commonjs/components/Accessibility/OverlayA11yShield.js.map +1 -0
- package/lib/commonjs/components/Accessibility/index.js +22 -0
- package/lib/commonjs/components/Accessibility/index.js.map +1 -1
- package/lib/commonjs/components/Attachment/Gallery.js +10 -0
- package/lib/commonjs/components/Attachment/Gallery.js.map +1 -1
- package/lib/commonjs/components/ChannelPreview/ChannelMessagePreviewDeliveryStatus.js +31 -29
- package/lib/commonjs/components/ChannelPreview/ChannelMessagePreviewDeliveryStatus.js.map +1 -1
- package/lib/commonjs/components/ChannelPreview/ChannelPreviewMutedStatus.js +11 -5
- package/lib/commonjs/components/ChannelPreview/ChannelPreviewMutedStatus.js.map +1 -1
- package/lib/commonjs/components/ChannelPreview/ChannelPreviewStatus.js +18 -2
- package/lib/commonjs/components/ChannelPreview/ChannelPreviewStatus.js.map +1 -1
- package/lib/commonjs/components/ChannelPreview/ChannelPreviewUnreadCount.js +8 -2
- package/lib/commonjs/components/ChannelPreview/ChannelPreviewUnreadCount.js.map +1 -1
- package/lib/commonjs/components/ChannelPreview/ChannelPreviewView.js +3 -0
- package/lib/commonjs/components/ChannelPreview/ChannelPreviewView.js.map +1 -1
- package/lib/commonjs/components/ImageGallery/ImageGallery.js +56 -1
- package/lib/commonjs/components/ImageGallery/ImageGallery.js.map +1 -1
- package/lib/commonjs/components/Message/MessageItemView/Headers/MessageReminderHeader.js +2 -0
- package/lib/commonjs/components/Message/MessageItemView/Headers/MessageReminderHeader.js.map +1 -1
- package/lib/commonjs/components/Message/MessageItemView/Headers/SentToChannelHeader.js +2 -0
- package/lib/commonjs/components/Message/MessageItemView/Headers/SentToChannelHeader.js.map +1 -1
- package/lib/commonjs/components/Message/MessageItemView/MessageContent.js +26 -4
- package/lib/commonjs/components/Message/MessageItemView/MessageContent.js.map +1 -1
- package/lib/commonjs/components/Message/MessageItemView/MessageFooter.js +2 -0
- package/lib/commonjs/components/Message/MessageItemView/MessageFooter.js.map +1 -1
- package/lib/commonjs/components/Message/MessageItemView/MessageReplies.js +7 -3
- package/lib/commonjs/components/Message/MessageItemView/MessageReplies.js.map +1 -1
- package/lib/commonjs/components/Message/MessageItemView/MessageRepliesAvatars.js +2 -0
- package/lib/commonjs/components/Message/MessageItemView/MessageRepliesAvatars.js.map +1 -1
- package/lib/commonjs/components/Message/MessageItemView/MessageStatus.js +35 -30
- package/lib/commonjs/components/Message/MessageItemView/MessageStatus.js.map +1 -1
- package/lib/commonjs/components/Message/MessageItemView/MessageTextContainer.js +16 -6
- package/lib/commonjs/components/Message/MessageItemView/MessageTextContainer.js.map +1 -1
- package/lib/commonjs/components/Message/MessageItemView/ReactionList/ReactionListClustered.js +19 -6
- package/lib/commonjs/components/Message/MessageItemView/ReactionList/ReactionListClustered.js.map +1 -1
- package/lib/commonjs/components/Message/MessageItemView/ReactionList/ReactionListItem.js +10 -1
- package/lib/commonjs/components/Message/MessageItemView/ReactionList/ReactionListItem.js.map +1 -1
- package/lib/commonjs/components/Message/hooks/useCreateMessageContext.js +6 -1
- package/lib/commonjs/components/Message/hooks/useCreateMessageContext.js.map +1 -1
- package/lib/commonjs/components/Message/hooks/useMessageActionHandlers.js +8 -0
- package/lib/commonjs/components/Message/hooks/useMessageActionHandlers.js.map +1 -1
- package/lib/commonjs/components/MessageList/InlineDateSeparator.js +8 -1
- package/lib/commonjs/components/MessageList/InlineDateSeparator.js.map +1 -1
- package/lib/commonjs/components/MessageMenu/ReactionButton.js +0 -7
- package/lib/commonjs/components/MessageMenu/ReactionButton.js.map +1 -1
- package/lib/commonjs/components/Poll/Poll.js +2 -17
- package/lib/commonjs/components/Poll/Poll.js.map +1 -1
- package/lib/commonjs/components/Poll/components/PollOption.js +6 -1
- package/lib/commonjs/components/Poll/components/PollOption.js.map +1 -1
- package/lib/commonjs/components/Reply/Reply.js +43 -6
- package/lib/commonjs/components/Reply/Reply.js.map +1 -1
- package/lib/commonjs/components/ui/Avatar/ChannelAvatar.js +17 -11
- package/lib/commonjs/components/ui/Avatar/ChannelAvatar.js.map +1 -1
- package/lib/commonjs/components/ui/Badge/BadgeNotification.js +3 -1
- package/lib/commonjs/components/ui/Badge/BadgeNotification.js.map +1 -1
- package/lib/commonjs/contexts/accessibilityContext/AccessibilityContext.js +6 -22
- package/lib/commonjs/contexts/accessibilityContext/AccessibilityContext.js.map +1 -1
- package/lib/commonjs/contexts/messageContext/MessageContext.js.map +1 -1
- package/lib/commonjs/contexts/overlayContext/MessageOverlayHostLayer.js +1 -0
- package/lib/commonjs/contexts/overlayContext/MessageOverlayHostLayer.js.map +1 -1
- package/lib/commonjs/contexts/overlayContext/OverlayProvider.js +4 -1
- package/lib/commonjs/contexts/overlayContext/OverlayProvider.js.map +1 -1
- package/lib/commonjs/i18n/ar.json +26 -8
- package/lib/commonjs/i18n/en.json +23 -5
- package/lib/commonjs/i18n/es.json +23 -5
- package/lib/commonjs/i18n/fr.json +23 -5
- package/lib/commonjs/i18n/he.json +23 -5
- package/lib/commonjs/i18n/hi.json +24 -6
- package/lib/commonjs/i18n/it.json +23 -5
- package/lib/commonjs/i18n/ja.json +23 -5
- package/lib/commonjs/i18n/ko.json +23 -5
- package/lib/commonjs/i18n/nl.json +24 -6
- package/lib/commonjs/i18n/pt-br.json +25 -7
- package/lib/commonjs/i18n/ru.json +23 -5
- package/lib/commonjs/i18n/tr.json +24 -6
- package/lib/commonjs/state-store/image-gallery-state-store.js +13 -0
- package/lib/commonjs/state-store/image-gallery-state-store.js.map +1 -1
- package/lib/commonjs/utils/i18n/getDateString.js +26 -1
- package/lib/commonjs/utils/i18n/getDateString.js.map +1 -1
- package/lib/commonjs/version.json +1 -1
- package/lib/module/a11y/hooks/useAnnounceOnShow.js +27 -0
- package/lib/module/a11y/hooks/useAnnounceOnShow.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/Accessibility/CompositeAccessibilityProbe.js +29 -0
- package/lib/module/components/Accessibility/CompositeAccessibilityProbe.js.map +1 -0
- package/lib/module/components/Accessibility/HiddenA11yText.js +30 -0
- package/lib/module/components/Accessibility/HiddenA11yText.js.map +1 -0
- package/lib/module/components/Accessibility/OverlayA11yShield.js +37 -0
- package/lib/module/components/Accessibility/OverlayA11yShield.js.map +1 -0
- package/lib/module/components/Accessibility/index.js +22 -0
- package/lib/module/components/Accessibility/index.js.map +1 -1
- package/lib/module/components/Attachment/Gallery.js +10 -0
- package/lib/module/components/Attachment/Gallery.js.map +1 -1
- package/lib/module/components/ChannelPreview/ChannelMessagePreviewDeliveryStatus.js +31 -29
- package/lib/module/components/ChannelPreview/ChannelMessagePreviewDeliveryStatus.js.map +1 -1
- package/lib/module/components/ChannelPreview/ChannelPreviewMutedStatus.js +11 -5
- package/lib/module/components/ChannelPreview/ChannelPreviewMutedStatus.js.map +1 -1
- package/lib/module/components/ChannelPreview/ChannelPreviewStatus.js +18 -2
- package/lib/module/components/ChannelPreview/ChannelPreviewStatus.js.map +1 -1
- package/lib/module/components/ChannelPreview/ChannelPreviewUnreadCount.js +8 -2
- package/lib/module/components/ChannelPreview/ChannelPreviewUnreadCount.js.map +1 -1
- package/lib/module/components/ChannelPreview/ChannelPreviewView.js +3 -0
- package/lib/module/components/ChannelPreview/ChannelPreviewView.js.map +1 -1
- package/lib/module/components/ImageGallery/ImageGallery.js +56 -1
- package/lib/module/components/ImageGallery/ImageGallery.js.map +1 -1
- package/lib/module/components/Message/MessageItemView/Headers/MessageReminderHeader.js +2 -0
- package/lib/module/components/Message/MessageItemView/Headers/MessageReminderHeader.js.map +1 -1
- package/lib/module/components/Message/MessageItemView/Headers/SentToChannelHeader.js +2 -0
- package/lib/module/components/Message/MessageItemView/Headers/SentToChannelHeader.js.map +1 -1
- package/lib/module/components/Message/MessageItemView/MessageContent.js +26 -4
- package/lib/module/components/Message/MessageItemView/MessageContent.js.map +1 -1
- package/lib/module/components/Message/MessageItemView/MessageFooter.js +2 -0
- package/lib/module/components/Message/MessageItemView/MessageFooter.js.map +1 -1
- package/lib/module/components/Message/MessageItemView/MessageReplies.js +7 -3
- package/lib/module/components/Message/MessageItemView/MessageReplies.js.map +1 -1
- package/lib/module/components/Message/MessageItemView/MessageRepliesAvatars.js +2 -0
- package/lib/module/components/Message/MessageItemView/MessageRepliesAvatars.js.map +1 -1
- package/lib/module/components/Message/MessageItemView/MessageStatus.js +35 -30
- package/lib/module/components/Message/MessageItemView/MessageStatus.js.map +1 -1
- package/lib/module/components/Message/MessageItemView/MessageTextContainer.js +16 -6
- package/lib/module/components/Message/MessageItemView/MessageTextContainer.js.map +1 -1
- package/lib/module/components/Message/MessageItemView/ReactionList/ReactionListClustered.js +19 -6
- package/lib/module/components/Message/MessageItemView/ReactionList/ReactionListClustered.js.map +1 -1
- package/lib/module/components/Message/MessageItemView/ReactionList/ReactionListItem.js +10 -1
- package/lib/module/components/Message/MessageItemView/ReactionList/ReactionListItem.js.map +1 -1
- package/lib/module/components/Message/hooks/useCreateMessageContext.js +6 -1
- package/lib/module/components/Message/hooks/useCreateMessageContext.js.map +1 -1
- package/lib/module/components/Message/hooks/useMessageActionHandlers.js +8 -0
- package/lib/module/components/Message/hooks/useMessageActionHandlers.js.map +1 -1
- package/lib/module/components/MessageList/InlineDateSeparator.js +8 -1
- package/lib/module/components/MessageList/InlineDateSeparator.js.map +1 -1
- package/lib/module/components/MessageMenu/ReactionButton.js +0 -7
- package/lib/module/components/MessageMenu/ReactionButton.js.map +1 -1
- package/lib/module/components/Poll/Poll.js +2 -17
- package/lib/module/components/Poll/Poll.js.map +1 -1
- package/lib/module/components/Poll/components/PollOption.js +6 -1
- package/lib/module/components/Poll/components/PollOption.js.map +1 -1
- package/lib/module/components/Reply/Reply.js +43 -6
- package/lib/module/components/Reply/Reply.js.map +1 -1
- package/lib/module/components/ui/Avatar/ChannelAvatar.js +17 -11
- package/lib/module/components/ui/Avatar/ChannelAvatar.js.map +1 -1
- package/lib/module/components/ui/Badge/BadgeNotification.js +3 -1
- package/lib/module/components/ui/Badge/BadgeNotification.js.map +1 -1
- package/lib/module/contexts/accessibilityContext/AccessibilityContext.js +6 -22
- package/lib/module/contexts/accessibilityContext/AccessibilityContext.js.map +1 -1
- package/lib/module/contexts/messageContext/MessageContext.js.map +1 -1
- package/lib/module/contexts/overlayContext/MessageOverlayHostLayer.js +1 -0
- package/lib/module/contexts/overlayContext/MessageOverlayHostLayer.js.map +1 -1
- package/lib/module/contexts/overlayContext/OverlayProvider.js +4 -1
- package/lib/module/contexts/overlayContext/OverlayProvider.js.map +1 -1
- package/lib/module/i18n/ar.json +26 -8
- package/lib/module/i18n/en.json +23 -5
- package/lib/module/i18n/es.json +23 -5
- package/lib/module/i18n/fr.json +23 -5
- package/lib/module/i18n/he.json +23 -5
- package/lib/module/i18n/hi.json +24 -6
- package/lib/module/i18n/it.json +23 -5
- package/lib/module/i18n/ja.json +23 -5
- package/lib/module/i18n/ko.json +23 -5
- package/lib/module/i18n/nl.json +24 -6
- package/lib/module/i18n/pt-br.json +25 -7
- package/lib/module/i18n/ru.json +23 -5
- package/lib/module/i18n/tr.json +24 -6
- package/lib/module/state-store/image-gallery-state-store.js +13 -0
- package/lib/module/state-store/image-gallery-state-store.js.map +1 -1
- package/lib/module/utils/i18n/getDateString.js +26 -1
- package/lib/module/utils/i18n/getDateString.js.map +1 -1
- package/lib/module/version.json +1 -1
- package/lib/typescript/a11y/hooks/useAnnounceOnShow.d.ts +21 -0
- package/lib/typescript/a11y/hooks/useAnnounceOnShow.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/Accessibility/CompositeAccessibilityProbe.d.ts +30 -0
- package/lib/typescript/components/Accessibility/CompositeAccessibilityProbe.d.ts.map +1 -0
- package/lib/typescript/components/Accessibility/HiddenA11yText.d.ts +25 -0
- package/lib/typescript/components/Accessibility/HiddenA11yText.d.ts.map +1 -0
- package/lib/typescript/components/Accessibility/OverlayA11yShield.d.ts +20 -0
- package/lib/typescript/components/Accessibility/OverlayA11yShield.d.ts.map +1 -0
- package/lib/typescript/components/Accessibility/index.d.ts +2 -0
- package/lib/typescript/components/Accessibility/index.d.ts.map +1 -1
- package/lib/typescript/components/Attachment/Gallery.d.ts.map +1 -1
- package/lib/typescript/components/ChannelPreview/ChannelMessagePreviewDeliveryStatus.d.ts.map +1 -1
- package/lib/typescript/components/ChannelPreview/ChannelPreviewMutedStatus.d.ts.map +1 -1
- package/lib/typescript/components/ChannelPreview/ChannelPreviewStatus.d.ts.map +1 -1
- package/lib/typescript/components/ChannelPreview/ChannelPreviewUnreadCount.d.ts.map +1 -1
- package/lib/typescript/components/ChannelPreview/ChannelPreviewView.d.ts.map +1 -1
- package/lib/typescript/components/ImageGallery/ImageGallery.d.ts.map +1 -1
- package/lib/typescript/components/Message/MessageItemView/Headers/MessageReminderHeader.d.ts.map +1 -1
- package/lib/typescript/components/Message/MessageItemView/Headers/SentToChannelHeader.d.ts.map +1 -1
- package/lib/typescript/components/Message/MessageItemView/MessageContent.d.ts +1 -1
- package/lib/typescript/components/Message/MessageItemView/MessageContent.d.ts.map +1 -1
- package/lib/typescript/components/Message/MessageItemView/MessageFooter.d.ts.map +1 -1
- package/lib/typescript/components/Message/MessageItemView/MessageReplies.d.ts.map +1 -1
- package/lib/typescript/components/Message/MessageItemView/MessageRepliesAvatars.d.ts.map +1 -1
- package/lib/typescript/components/Message/MessageItemView/MessageStatus.d.ts.map +1 -1
- package/lib/typescript/components/Message/MessageItemView/MessageTextContainer.d.ts +1 -1
- package/lib/typescript/components/Message/MessageItemView/MessageTextContainer.d.ts.map +1 -1
- package/lib/typescript/components/Message/MessageItemView/ReactionList/ReactionListClustered.d.ts.map +1 -1
- package/lib/typescript/components/Message/MessageItemView/ReactionList/ReactionListItem.d.ts.map +1 -1
- package/lib/typescript/components/Message/MessageOverlayWrapper.d.ts +1 -1
- package/lib/typescript/components/Message/hooks/useCreateMessageContext.d.ts +1 -1
- package/lib/typescript/components/Message/hooks/useCreateMessageContext.d.ts.map +1 -1
- package/lib/typescript/components/Message/hooks/useMessageActionHandlers.d.ts.map +1 -1
- package/lib/typescript/components/MessageList/InlineDateSeparator.d.ts.map +1 -1
- package/lib/typescript/components/MessageMenu/ReactionButton.d.ts.map +1 -1
- package/lib/typescript/components/Poll/Poll.d.ts.map +1 -1
- package/lib/typescript/components/Poll/components/PollOption.d.ts.map +1 -1
- package/lib/typescript/components/Reply/Reply.d.ts.map +1 -1
- package/lib/typescript/components/ui/Avatar/ChannelAvatar.d.ts.map +1 -1
- package/lib/typescript/components/ui/Badge/BadgeNotification.d.ts +5 -0
- package/lib/typescript/components/ui/Badge/BadgeNotification.d.ts.map +1 -1
- package/lib/typescript/contexts/accessibilityContext/AccessibilityContext.d.ts +32 -2
- package/lib/typescript/contexts/accessibilityContext/AccessibilityContext.d.ts.map +1 -1
- package/lib/typescript/contexts/messageContext/MessageContext.d.ts +8 -0
- package/lib/typescript/contexts/messageContext/MessageContext.d.ts.map +1 -1
- package/lib/typescript/contexts/overlayContext/MessageOverlayHostLayer.d.ts.map +1 -1
- package/lib/typescript/contexts/overlayContext/OverlayProvider.d.ts.map +1 -1
- package/lib/typescript/hooks/useTranslatedMessage.d.ts +1 -1
- package/lib/typescript/i18n/ar.json +26 -8
- package/lib/typescript/i18n/en.json +23 -5
- package/lib/typescript/i18n/es.json +23 -5
- package/lib/typescript/i18n/fr.json +23 -5
- package/lib/typescript/i18n/he.json +23 -5
- package/lib/typescript/i18n/hi.json +24 -6
- package/lib/typescript/i18n/it.json +23 -5
- package/lib/typescript/i18n/ja.json +23 -5
- package/lib/typescript/i18n/ko.json +23 -5
- package/lib/typescript/i18n/nl.json +24 -6
- package/lib/typescript/i18n/pt-br.json +25 -7
- package/lib/typescript/i18n/ru.json +23 -5
- package/lib/typescript/i18n/tr.json +24 -6
- package/lib/typescript/state-store/image-gallery-state-store.d.ts +5 -1
- package/lib/typescript/state-store/image-gallery-state-store.d.ts.map +1 -1
- package/lib/typescript/utils/i18n/Streami18n.d.ts +22 -4
- package/lib/typescript/utils/i18n/Streami18n.d.ts.map +1 -1
- package/lib/typescript/utils/i18n/getDateString.d.ts +28 -0
- package/lib/typescript/utils/i18n/getDateString.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/a11y/hooks/useAnnounceOnShow.ts +44 -0
- package/src/a11y/index.ts +1 -0
- package/src/components/Accessibility/CompositeAccessibilityProbe.tsx +48 -0
- package/src/components/Accessibility/HiddenA11yText.tsx +49 -0
- package/src/components/Accessibility/OverlayA11yShield.tsx +49 -0
- package/src/components/Accessibility/__tests__/OverlayA11yShield.test.tsx +83 -0
- package/src/components/Accessibility/index.ts +2 -0
- package/src/components/Attachment/Gallery.tsx +14 -2
- package/src/components/Channel/__tests__/ownCapabilities.test.tsx +25 -2
- package/src/components/ChannelPreview/ChannelMessagePreviewDeliveryStatus.tsx +19 -16
- package/src/components/ChannelPreview/ChannelPreviewMutedStatus.tsx +8 -1
- package/src/components/ChannelPreview/ChannelPreviewStatus.tsx +26 -6
- package/src/components/ChannelPreview/ChannelPreviewUnreadCount.tsx +5 -1
- package/src/components/ChannelPreview/ChannelPreviewView.tsx +3 -0
- package/src/components/ImageGallery/ImageGallery.tsx +82 -4
- package/src/components/ImageGallery/__tests__/ImageGallery.test.tsx +13 -3
- package/src/components/ImageGallery/__tests__/ImageGalleryAdjustable.test.tsx +141 -0
- package/src/components/Message/MessageItemView/Headers/MessageReminderHeader.tsx +7 -1
- package/src/components/Message/MessageItemView/Headers/SentToChannelHeader.tsx +7 -1
- package/src/components/Message/MessageItemView/MessageContent.tsx +34 -4
- package/src/components/Message/MessageItemView/MessageFooter.tsx +6 -1
- package/src/components/Message/MessageItemView/MessageReplies.tsx +9 -7
- package/src/components/Message/MessageItemView/MessageRepliesAvatars.tsx +5 -1
- package/src/components/Message/MessageItemView/MessageStatus.tsx +36 -39
- package/src/components/Message/MessageItemView/MessageTextContainer.tsx +27 -4
- package/src/components/Message/MessageItemView/ReactionList/ReactionListClustered.tsx +24 -10
- package/src/components/Message/MessageItemView/ReactionList/ReactionListItem.tsx +7 -1
- package/src/components/Message/MessageItemView/__tests__/Message.test.tsx +10 -3
- package/src/components/Message/MessageItemView/__tests__/MessageReplies.test.tsx +10 -2
- package/src/components/Message/MessageItemView/__tests__/MessageStatus.test.tsx +10 -7
- package/src/components/Message/MessageItemView/__tests__/ReactionListBottom.test.tsx +1 -1
- package/src/components/Message/hooks/useCreateMessageContext.ts +12 -1
- package/src/components/Message/hooks/useMessageActionHandlers.ts +7 -0
- package/src/components/MessageInput/__tests__/__snapshots__/AttachButton.test.tsx.snap +3 -0
- package/src/components/MessageInput/__tests__/__snapshots__/SendButton.test.tsx.snap +2 -0
- package/src/components/MessageList/InlineDateSeparator.tsx +10 -3
- package/src/components/MessageMenu/ReactionButton.tsx +0 -7
- package/src/components/MessageMenu/__tests__/ReactionButton.test.tsx +1 -14
- package/src/components/Poll/Poll.tsx +2 -26
- package/src/components/Poll/components/PollOption.tsx +7 -1
- package/src/components/Reply/Reply.tsx +58 -7
- package/src/components/Thread/__tests__/__snapshots__/Thread.test.tsx.snap +9 -0
- package/src/components/ui/Avatar/ChannelAvatar.tsx +39 -29
- package/src/components/ui/Badge/BadgeNotification.tsx +11 -2
- package/src/contexts/accessibilityContext/AccessibilityContext.tsx +60 -36
- package/src/contexts/messageContext/MessageContext.tsx +8 -0
- package/src/contexts/overlayContext/MessageOverlayHostLayer.tsx +5 -1
- package/src/contexts/overlayContext/OverlayProvider.tsx +2 -1
- package/src/i18n/ar.json +26 -8
- package/src/i18n/en.json +23 -5
- package/src/i18n/es.json +23 -5
- package/src/i18n/fr.json +23 -5
- package/src/i18n/he.json +23 -5
- package/src/i18n/hi.json +24 -6
- package/src/i18n/it.json +23 -5
- package/src/i18n/ja.json +23 -5
- package/src/i18n/ko.json +23 -5
- package/src/i18n/nl.json +24 -6
- package/src/i18n/pt-br.json +25 -7
- package/src/i18n/ru.json +23 -5
- package/src/i18n/tr.json +24 -6
- package/src/state-store/__tests__/image-gallery-state-store.test.ts +1 -0
- package/src/state-store/image-gallery-state-store.ts +13 -1
- package/src/utils/i18n/getDateString.ts +57 -0
- package/src/version.json +1 -1
- package/lib/commonjs/components/Poll/hooks/usePollAccessibilityActions.js +0 -150
- package/lib/commonjs/components/Poll/hooks/usePollAccessibilityActions.js.map +0 -1
- package/lib/commonjs/components/Poll/hooks/usePollAccessibilityLabel.js +0 -59
- package/lib/commonjs/components/Poll/hooks/usePollAccessibilityLabel.js.map +0 -1
- package/lib/module/components/Poll/hooks/usePollAccessibilityActions.js +0 -150
- package/lib/module/components/Poll/hooks/usePollAccessibilityActions.js.map +0 -1
- package/lib/module/components/Poll/hooks/usePollAccessibilityLabel.js +0 -59
- package/lib/module/components/Poll/hooks/usePollAccessibilityLabel.js.map +0 -1
- package/lib/typescript/components/Poll/hooks/usePollAccessibilityActions.d.ts +0 -25
- package/lib/typescript/components/Poll/hooks/usePollAccessibilityActions.d.ts.map +0 -1
- package/lib/typescript/components/Poll/hooks/usePollAccessibilityLabel.d.ts +0 -8
- package/lib/typescript/components/Poll/hooks/usePollAccessibilityLabel.d.ts.map +0 -1
- package/src/components/Poll/hooks/__tests__/usePollAccessibilityActions.test.tsx +0 -358
- package/src/components/Poll/hooks/__tests__/usePollAccessibilityLabel.test.tsx +0 -142
- package/src/components/Poll/hooks/usePollAccessibilityActions.ts +0 -191
- package/src/components/Poll/hooks/usePollAccessibilityLabel.ts +0 -75
|
@@ -2,7 +2,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2
2
|
value: true
|
|
3
3
|
});
|
|
4
4
|
exports.getDateString = getDateString;
|
|
5
|
-
exports.noParsingFunctionWarning = void 0;
|
|
5
|
+
exports.noParsingFunctionWarning = exports.getDateStringForA11y = void 0;
|
|
6
|
+
var _calendarFormats = require("./calendarFormats");
|
|
6
7
|
var _isDayOrMoment = require("../../contexts/translationContext/isDayOrMoment");
|
|
7
8
|
var noParsingFunctionWarning = exports.noParsingFunctionWarning = 'MessageTimestamp was called but there is no datetime parsing function available';
|
|
8
9
|
function getDateString({
|
|
@@ -47,4 +48,28 @@ function getDateString({
|
|
|
47
48
|
}
|
|
48
49
|
return new Date(date).toDateString();
|
|
49
50
|
}
|
|
51
|
+
var getDateStringForA11y = ({
|
|
52
|
+
calendarFormatOverrides,
|
|
53
|
+
date,
|
|
54
|
+
tDateTimeParser,
|
|
55
|
+
userLanguage
|
|
56
|
+
}) => {
|
|
57
|
+
if (!date || typeof date === 'string' && !Date.parse(date)) {
|
|
58
|
+
return undefined;
|
|
59
|
+
}
|
|
60
|
+
if (!tDateTimeParser) {
|
|
61
|
+
return undefined;
|
|
62
|
+
}
|
|
63
|
+
var parsedTime = tDateTimeParser(date);
|
|
64
|
+
if (!(0, _isDayOrMoment.isDayOrMoment)(parsedTime) || !parsedTime.calendar) {
|
|
65
|
+
return undefined;
|
|
66
|
+
}
|
|
67
|
+
var localeFormats = userLanguage && _calendarFormats.calendarFormats[userLanguage] || _calendarFormats.calendarFormats.en;
|
|
68
|
+
return parsedTime.calendar(undefined, {
|
|
69
|
+
...localeFormats,
|
|
70
|
+
sameElse: 'LL',
|
|
71
|
+
...calendarFormatOverrides
|
|
72
|
+
});
|
|
73
|
+
};
|
|
74
|
+
exports.getDateStringForA11y = getDateStringForA11y;
|
|
50
75
|
//# sourceMappingURL=getDateString.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["
|
|
1
|
+
{"version":3,"names":["_calendarFormats","require","_isDayOrMoment","noParsingFunctionWarning","exports","getDateString","calendar","calendarFormats","date","format","t","tDateTimeParser","timestampTranslationKey","Date","parse","console","log","options","translatedTimestamp","timestamp","translationKeyFound","parsedTime","isDayOrMoment","undefined","toDateString","getDateStringForA11y","calendarFormatOverrides","userLanguage","localeFormats","en","sameElse"],"sourceRoot":"../../../../src","sources":["utils/i18n/getDateString.ts"],"mappings":";;;;;AAEA,IAAAA,gBAAA,GAAAC,OAAA;AAIA,IAAAC,cAAA,GAAAD,OAAA;AAcO,IAAME,wBAAwB,GAAAC,OAAA,CAAAD,wBAAA,GACnC,iFAAiF;AAK5E,SAASE,aAAaA,CAAC;EAC5BC,QAAQ;EACRC,eAAe;EACfC,IAAI;EACJC,MAAM;EACNC,CAAC;EACDC,eAAe;EACfC;AACoB,CAAC,EAA+B;EACpD,IAAI,CAACJ,IAAI,IAAK,OAAOA,IAAI,KAAK,QAAQ,IAAI,CAACK,IAAI,CAACC,KAAK,CAACN,IAAI,CAAE,EAAE;IAC5D;EACF;EAEA,IAAI,CAACG,eAAe,EAAE;IACpBI,OAAO,CAACC,GAAG,CAACb,wBAAwB,CAAC;IACrC;EACF;EAEA,IAAIO,CAAC,IAAIE,uBAAuB,EAAE;IAChC,IAAMK,OAAkC,GAAG,CAAC,CAAC;IAC7C,IAAI,OAAOX,QAAQ,KAAK,WAAW,IAAIA,QAAQ,KAAK,IAAI,EAAE;MACxDW,OAAO,CAACX,QAAQ,GAAGA,QAAQ;IAC7B;IACA,IAAI,OAAOC,eAAe,KAAK,WAAW,IAAIA,eAAe,KAAK,IAAI,EAAE;MACtEU,OAAO,CAACV,eAAe,GAAGA,eAAe;IAC3C;IACA,IAAI,OAAOE,MAAM,KAAK,WAAW,IAAIA,MAAM,KAAK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AAQ,CAACiB,SAAS,EAAE;IACpC,GAAGK,aAAa;IAChBE,QAAQ,EAAE,IAAI;IACd,GAAGJ;EACL,CAAC,CAAC;AACJ,CAAC;AAACtB,OAAA,CAAAqB,oBAAA,GAAAA,oBAAA","ignoreList":[]}
|
package/lib/module/version.json
CHANGED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
type Options = {
|
|
2
|
+
/** Delay before the announcement fires; lets entrance animations settle. */
|
|
3
|
+
delayMs?: number;
|
|
4
|
+
priority?: 'polite' | 'assertive';
|
|
5
|
+
};
|
|
6
|
+
/**
|
|
7
|
+
* Announces `message` once each time `visible` flips from false to true.
|
|
8
|
+
* Resets when `visible` flips back to false, so the next show re-announces —
|
|
9
|
+
* unlike `useAnnounceOnStateChange`, which announces on string change and
|
|
10
|
+
* dedupes consecutive identical strings.
|
|
11
|
+
*
|
|
12
|
+
* Use this for transient surfaces that appear and disappear repeatedly within
|
|
13
|
+
* a session (modals, autocomplete pickers, bottom sheets) where the user
|
|
14
|
+
* benefits from hearing the affordance on every reappearance.
|
|
15
|
+
*
|
|
16
|
+
* When `message` is undefined (typically because `useA11yLabel` returned
|
|
17
|
+
* undefined — a11y disabled or key missing), the hook is a no-op.
|
|
18
|
+
*/
|
|
19
|
+
export declare const useAnnounceOnShow: (visible: boolean, message: string | undefined, { delayMs, priority }?: Options) => void;
|
|
20
|
+
export {};
|
|
21
|
+
//# sourceMappingURL=useAnnounceOnShow.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useAnnounceOnShow.d.ts","sourceRoot":"","sources":["../../../../src/a11y/hooks/useAnnounceOnShow.ts"],"names":[],"mappings":"AAIA,KAAK,OAAO,GAAG;IACb,4EAA4E;IAC5E,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,QAAQ,GAAG,WAAW,CAAC;CACnC,CAAC;AAEF;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,iBAAiB,GAC5B,SAAS,OAAO,EAChB,SAAS,MAAM,GAAG,SAAS,EAC3B,wBAAwC,OAAY,SAiBrD,CAAC"}
|
|
@@ -3,6 +3,7 @@ export * from './hooks/useScreenReaderEnabled';
|
|
|
3
3
|
export * from './hooks/useReducedMotionPreference';
|
|
4
4
|
export * from './hooks/useResolvedModalAccessibilityProps';
|
|
5
5
|
export * from './hooks/useAnnounceOnStateChange';
|
|
6
|
+
export * from './hooks/useAnnounceOnShow';
|
|
6
7
|
export * from './hooks/useA11yLabel';
|
|
7
8
|
export * from './hooks/useAccessibilityActivateAction';
|
|
8
9
|
//# 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;AACrC,cAAc,wCAAwC,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,2BAA2B,CAAC;AAC1C,cAAc,sBAAsB,CAAC;AACrC,cAAc,wCAAwC,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import React, { PropsWithChildren } from 'react';
|
|
2
|
+
export type CompositeAccessibilityProbeProps = {
|
|
3
|
+
/**
|
|
4
|
+
* The accessibility label that VoiceOver / TalkBack should announce for the
|
|
5
|
+
* wrapped content. When `undefined`, the probe is a no-op and the children
|
|
6
|
+
* render with no a11y modifications — use this to skip the wrapper when the
|
|
7
|
+
* SDK's a11y opt-in is off.
|
|
8
|
+
*/
|
|
9
|
+
label: string | undefined;
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* Wraps decorative visual content with a single, cross platform stable
|
|
13
|
+
* accessibility focus stop carrying the provided `label`.
|
|
14
|
+
*
|
|
15
|
+
* iOS auto collapses descendants when a parent View is `accessible`, but on
|
|
16
|
+
* Android `importantForAccessibility='no-hide-descendants'` on the parent
|
|
17
|
+
* gets defeated by deeply nested descendants that set their own
|
|
18
|
+
* `accessible={true}` (our SDK's `<Avatar>` does this). A zero size accessible
|
|
19
|
+
* `<Text>` sidesteps that - Text is always accessible by default on both
|
|
20
|
+
* platforms and carries the label cleanly, while the visual subtree is
|
|
21
|
+
* marked decorative. More importantly, it's discoverable very very easily
|
|
22
|
+
* by screen readers.
|
|
23
|
+
*
|
|
24
|
+
* Use this anywhere you have non-Text visual content (avatars, icons,
|
|
25
|
+
* composed graphics) that should announce as a single semantic unit with a
|
|
26
|
+
* curated label, rather than letting screen readers walk the visual tree
|
|
27
|
+
* verbosely.
|
|
28
|
+
*/
|
|
29
|
+
export declare const CompositeAccessibilityProbe: ({ children, label, }: PropsWithChildren<CompositeAccessibilityProbeProps>) => React.JSX.Element;
|
|
30
|
+
//# sourceMappingURL=CompositeAccessibilityProbe.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CompositeAccessibilityProbe.d.ts","sourceRoot":"","sources":["../../../../src/components/Accessibility/CompositeAccessibilityProbe.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAKjD,MAAM,MAAM,gCAAgC,GAAG;IAC7C;;;;;OAKG;IACH,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC;CAC3B,CAAC;AAEF;;;;;;;;;;;;;;;;;GAiBG;AACH,eAAO,MAAM,2BAA2B,GAAI,sBAGzC,iBAAiB,CAAC,gCAAgC,CAAC,sBAWrD,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export type HiddenA11yTextProps = {
|
|
3
|
+
/**
|
|
4
|
+
* The text to inject into the accessibility tree. Rendered as actual Text
|
|
5
|
+
* content (not as `accessibilityLabel`) so the parent's compose loop on
|
|
6
|
+
* Android picks it up — Text without its own label isn't
|
|
7
|
+
* `isAccessibilityFocusable`, so it gets concatenated into the parent's
|
|
8
|
+
* announcement rather than being skipped as a drill-in target.
|
|
9
|
+
*
|
|
10
|
+
* Pass the result of `useA11yLabel(...)` directly: when SDK a11y is
|
|
11
|
+
* opt-out the value is `undefined` and the component renders nothing.
|
|
12
|
+
*/
|
|
13
|
+
label: string | undefined;
|
|
14
|
+
};
|
|
15
|
+
/**
|
|
16
|
+
* A visually invisible Text that exists only to contribute extra information
|
|
17
|
+
* to a screen reader's announcement. Use it inside a parent that auto-composes
|
|
18
|
+
* descendant labels (Pressable, or any View with `accessible` + `accessibilityRole`)
|
|
19
|
+
* to splice in supplementary state like "you reacted", "and N more", etc.
|
|
20
|
+
*
|
|
21
|
+
* Not for "this whole element should be one focus stop with a curated label" -
|
|
22
|
+
* use `CompositeAccessibilityProbe` for that.
|
|
23
|
+
*/
|
|
24
|
+
export declare const HiddenA11yText: ({ label }: HiddenA11yTextProps) => React.JSX.Element | null;
|
|
25
|
+
//# sourceMappingURL=HiddenA11yText.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HiddenA11yText.d.ts","sourceRoot":"","sources":["../../../../src/components/Accessibility/HiddenA11yText.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,MAAM,MAAM,mBAAmB,GAAG;IAChC;;;;;;;;;OASG;IACH,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC;CAC3B,CAAC;AAEF;;;;;;;;GAQG;AACH,eAAO,MAAM,cAAc,GAAI,WAAW,mBAAmB,6BAY5D,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import React, { PropsWithChildren } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Android only accessibility focus trap for the OverlayProvider's children
|
|
4
|
+
* tree. iOS handles modal focus traps natively via `accessibilityViewIsModal`
|
|
5
|
+
* on each overlay's root, but Android has no equivalent prop - the only
|
|
6
|
+
* JS side mechanism is to mark siblings as `'no-hide-descendants'`.
|
|
7
|
+
*
|
|
8
|
+
* The shield wraps `{children}` in a single View whose `importantForAccessibility`
|
|
9
|
+
* flips to `'no-hide-descendants'` whenever any focus trapping overlay is
|
|
10
|
+
* active (the full screen image/video gallery or the message context menu).
|
|
11
|
+
* When closed, the wrapper is a transparent passthrough.
|
|
12
|
+
*
|
|
13
|
+
* In terms of rerendering, only the wrapper View commits new props on overlay state
|
|
14
|
+
* transitions. The `{children}` element reference is stable across renders,
|
|
15
|
+
* so React reconciliation does not rerender any component below the wrapper.
|
|
16
|
+
*
|
|
17
|
+
* On iOS the wrapper is skipped entirely.
|
|
18
|
+
*/
|
|
19
|
+
export declare function OverlayA11yShield({ children }: PropsWithChildren): React.JSX.Element;
|
|
20
|
+
//# sourceMappingURL=OverlayA11yShield.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OverlayA11yShield.d.ts","sourceRoot":"","sources":["../../../../src/components/Accessibility/OverlayA11yShield.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAWjD;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,iBAAiB,CAAC,EAAE,QAAQ,EAAE,EAAE,iBAAiB,qBAoBhE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Accessibility/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAC;AACxC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,yCAAyC,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Accessibility/index.ts"],"names":[],"mappings":"AAAA,cAAc,+BAA+B,CAAC;AAC9C,cAAc,kBAAkB,CAAC;AACjC,cAAc,yBAAyB,CAAC;AACxC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,yCAAyC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Gallery.d.ts","sourceRoot":"","sources":["../../../../src/components/Attachment/Gallery.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"Gallery.d.ts","sourceRoot":"","sources":["../../../../src/components/Attachment/Gallery.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA0B,MAAM,OAAO,CAAC;AAoB/C,OAAO,EACL,wBAAwB,EAEzB,MAAM,wDAAwD,CAAC;AAChE,OAAO,EACL,mBAAmB,EAEpB,MAAM,8CAA8C,CAAC;AACtD,OAAO,EACL,oBAAoB,EAErB,MAAM,gDAAgD,CAAC;AACxD,OAAO,EACL,mBAAmB,EAEpB,MAAM,8CAA8C,CAAC;AAQtD,MAAM,MAAM,uBAAuB,GAAG,IAAI,CAAC,wBAAwB,EAAE,wBAAwB,CAAC,GAC5F,IAAI,CACF,mBAAmB,EACjB,WAAW,GACX,QAAQ,GACR,QAAQ,GACR,aAAa,GACb,SAAS,GACT,WAAW,GACX,cAAc,GACd,SAAS,GACT,qBAAqB,CACxB,GACD,IAAI,CAAC,oBAAoB,EAAE,0BAA0B,GAAG,gBAAgB,CAAC,GACzE,IAAI,CAAC,mBAAmB,EAAE,YAAY,CAAC,GAAG;IACxC,SAAS,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B,sBAAsB,EAAE,OAAO,CAAC;CACjC,CAAC;AAiWJ,MAAM,MAAM,YAAY,GAAG,OAAO,CAAC,uBAAuB,CAAC,CAAC;AAC5D;;GAEG;AACH,eAAO,MAAM,OAAO;YAAW,YAAY;;CA0E1C,CAAC"}
|
package/lib/typescript/components/ChannelPreview/ChannelMessagePreviewDeliveryStatus.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChannelMessagePreviewDeliveryStatus.d.ts","sourceRoot":"","sources":["../../../../src/components/ChannelPreview/ChannelMessagePreviewDeliveryStatus.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAGvC,OAAO,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAE5D,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"ChannelMessagePreviewDeliveryStatus.d.ts","sourceRoot":"","sources":["../../../../src/components/ChannelPreview/ChannelMessagePreviewDeliveryStatus.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAGvC,OAAO,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAE5D,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAYvD,MAAM,MAAM,wCAAwC,GAAG,IAAI,CAAC,mBAAmB,EAAE,SAAS,CAAC,GAAG;IAC5F,OAAO,EAAE,eAAe,GAAG,YAAY,CAAC;CACzC,CAAC;AAEF,eAAO,MAAM,mCAAmC,GAAI,uBAGjD,wCAAwC,6BA8E1C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChannelPreviewMutedStatus.d.ts","sourceRoot":"","sources":["../../../../src/components/ChannelPreview/ChannelPreviewMutedStatus.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"ChannelPreviewMutedStatus.d.ts","sourceRoot":"","sources":["../../../../src/components/ChannelPreview/ChannelPreviewMutedStatus.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B;;GAEG;AACH,eAAO,MAAM,yBAAyB,yBAcrC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChannelPreviewStatus.d.ts","sourceRoot":"","sources":["../../../../src/components/ChannelPreview/ChannelPreviewStatus.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAGvC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAC5D,OAAO,KAAK,EAAE,kCAAkC,EAAE,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"ChannelPreviewStatus.d.ts","sourceRoot":"","sources":["../../../../src/components/ChannelPreview/ChannelPreviewStatus.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAGvC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAC5D,OAAO,KAAK,EAAE,kCAAkC,EAAE,MAAM,sBAAsB,CAAC;AAS/E,MAAM,MAAM,yBAAyB,GAAG,IAAI,CAC1C,kCAAkC,EAClC,yBAAyB,GAAG,aAAa,CAC1C,GACC,IAAI,CAAC,mBAAmB,EAAE,SAAS,CAAC,CAAC;AAEvC,eAAO,MAAM,oBAAoB,GAAI,OAAO,yBAAyB,sBA6CpE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChannelPreviewUnreadCount.d.ts","sourceRoot":"","sources":["../../../../src/components/ChannelPreview/ChannelPreviewUnreadCount.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"ChannelPreviewUnreadCount.d.ts","sourceRoot":"","sources":["../../../../src/components/ChannelPreview/ChannelPreviewUnreadCount.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAEvC,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAGvD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,gDAAgD,CAAC;AAG3F,MAAM,MAAM,8BAA8B,GAAG,IAAI,CAAC,oBAAoB,EAAE,gBAAgB,CAAC,GACvF,IAAI,CAAC,mBAAmB,EAAE,SAAS,CAAC,GAAG;IACrC;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEJ,eAAO,MAAM,yBAAyB,GAAI,OAAO,8BAA8B,6BAgB9E,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChannelPreviewView.d.ts","sourceRoot":"","sources":["../../../../src/components/ChannelPreview/ChannelPreviewView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAGvC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAE5D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;
|
|
1
|
+
{"version":3,"file":"ChannelPreviewView.d.ts","sourceRoot":"","sources":["../../../../src/components/ChannelPreview/ChannelPreviewView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAGvC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAE5D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAGrE,OAAO,EACL,oBAAoB,EAErB,MAAM,gDAAgD,CAAC;AAOxD,MAAM,MAAM,kCAAkC,GAAG,IAAI,CAAC,mBAAmB,EAAE,SAAS,CAAC,GACnF,IAAI,CAAC,oBAAoB,EAAE,gBAAgB,GAAG,UAAU,GAAG,qBAAqB,CAAC,GAAG;IAClF;;;;;;;;OAQG;IACH,uBAAuB,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,MAAM,CAAC;IACjD,+BAA+B;IAC/B,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,+CAA+C;IAC/C,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,eAAe,CAAC;CAC/B,CAAC;AA0GJ,MAAM,MAAM,uBAAuB,GAAG,OAAO,CAAC,IAAI,CAAC,kCAAkC,EAAE,SAAS,CAAC,CAAC,GAChG,IAAI,CAAC,kCAAkC,EAAE,SAAS,CAAC,CAAC;AAMtD;;;GAGG;AACH,eAAO,MAAM,kBAAkB;YAAW,uBAAuB;;CAahE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ImageGallery.d.ts","sourceRoot":"","sources":["../../../../src/components/ImageGallery/ImageGallery.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"ImageGallery.d.ts","sourceRoot":"","sources":["../../../../src/components/ImageGallery/ImageGallery.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoD,MAAM,OAAO,CAAC;AAsBzE,OAAO,KAAK,EACV,uBAAuB,EACvB,qBAAqB,EACrB,uBAAuB,EACxB,MAAM,oBAAoB,CAAC;AAO5B,OAAO,EACL,yBAAyB,EAE1B,MAAM,wDAAwD,CAAC;AAChE,OAAO,EACL,mBAAmB,EAEpB,MAAM,8CAA8C,CAAC;AAItD,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAMnD,MAAM,MAAM,yBAAyB,GAAG,MAAM,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC;AAEnE,MAAM,MAAM,sBAAsB,GAAG;IACnC,MAAM,EAAE,yBAAyB,CAAC;IAClC,IAAI,EAAE,KAAK,CAAC,aAAa,CAAC,SAAS,CAAC,CAAC;IACrC,EAAE,EAAE,YAAY,GAAG,MAAM,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM,CAAC;IACxD,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,aAAa,GAAG,UAAU,CAAC;CAClC,CAAC;AAIF,oBAAY,UAAU;IACpB,KAAK,IAAI;IACT,IAAI,IAAA;CACL;AAED,oBAAY,SAAS;IACnB,YAAY,IAAI;IAChB,IAAI,IAAA;IACJ,KAAK,IAAA;CACN;AAOD,KAAK,4BAA4B,GAAG,IAAI,CACtC,yBAAyB,EACzB,iCAAiC,CAClC,GACC,IAAI,CAAC,mBAAmB,EAAE,gBAAgB,CAAC,GAAG;IAC5C,kBAAkB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,uBAAuB,CAAC,CAAC;IAClE,kBAAkB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,uBAAuB,CAAC,CAAC;IAClE,gBAAgB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,qBAAqB,CAAC,CAAC;CAC/D,CAAC;AAEJ,eAAO,MAAM,uBAAuB,GAAI,OAAO,4BAA4B,sBAyW1E,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG,OAAO,CAAC,4BAA4B,CAAC,CAAC;AAEtE,eAAO,MAAM,YAAY;YAAW,iBAAiB;;CAcpD,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,KAAK,GAAI,OAAO,MAAM,EAAE,YAAY,MAAM,EAAE,YAAY,MAAM,WAG1E,CAAC"}
|
package/lib/typescript/components/Message/MessageItemView/Headers/MessageReminderHeader.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MessageReminderHeader.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Message/MessageItemView/Headers/MessageReminderHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAmBvC,KAAK,qCAAqC,GAAG;IAC3C,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,kBAAkB,EAAE,OAAO,CAAC;CAC7B,CAAC;
|
|
1
|
+
{"version":3,"file":"MessageReminderHeader.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Message/MessageItemView/Headers/MessageReminderHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAmBvC,KAAK,qCAAqC,GAAG;IAC3C,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,kBAAkB,EAAE,OAAO,CAAC;CAC7B,CAAC;AA6BF,MAAM,MAAM,0BAA0B,GAAG,OAAO,CAAC,qCAAqC,CAAC,CAAC;AAExF,eAAO,MAAM,qBAAqB,GAAI,OAAO,0BAA0B,sBActE,CAAC"}
|
package/lib/typescript/components/Message/MessageItemView/Headers/SentToChannelHeader.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SentToChannelHeader.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Message/MessageItemView/Headers/SentToChannelHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAMvC,OAAO,EACL,mBAAmB,EAEpB,MAAM,oDAAoD,CAAC;AAU5D,KAAK,mCAAmC,GAAG,IAAI,CAAC,mBAAmB,EAAE,YAAY,CAAC,GAAG;IACnF;;;OAGG;IACH,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB;;;OAGG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB,CAAC;
|
|
1
|
+
{"version":3,"file":"SentToChannelHeader.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Message/MessageItemView/Headers/SentToChannelHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAMvC,OAAO,EACL,mBAAmB,EAEpB,MAAM,oDAAoD,CAAC;AAU5D,KAAK,mCAAmC,GAAG,IAAI,CAAC,mBAAmB,EAAE,YAAY,CAAC,GAAG;IACnF;;;OAGG;IACH,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB;;;OAGG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB,CAAC;AAmCF,MAAM,MAAM,wBAAwB,GAAG,OAAO,CAAC,mCAAmC,CAAC,CAAC;AAEpF,eAAO,MAAM,mBAAmB,GAAI,OAAO,wBAAwB,sBA8ClE,CAAC"}
|
|
@@ -3,7 +3,7 @@ import { ColorValue } from 'react-native';
|
|
|
3
3
|
import { MessageContextValue } from '../../../contexts/messageContext/MessageContext';
|
|
4
4
|
import { MessagesContextValue } from '../../../contexts/messagesContext/MessagesContext';
|
|
5
5
|
import { TranslationContextValue } from '../../../contexts/translationContext/TranslationContext';
|
|
6
|
-
export type MessageContentPropsWithContext = Pick<MessageContextValue, 'alignment' | 'goToMessage' | 'groupStyles' | 'isMyMessage' | 'message' | 'messageContentOrder' | 'onLongPress' | 'onPress' | 'onPressIn' | 'otherAttachments' | 'preventPress' | 'threadList' | 'isMessageAIGenerated'> & Pick<MessagesContextValue, 'additionalPressableProps' | 'enableMessageGroupingByUser' | 'isAttachmentEqual' | 'myMessageTheme'> & Pick<TranslationContextValue, 't'> & {
|
|
6
|
+
export type MessageContentPropsWithContext = Pick<MessageContextValue, 'alignment' | 'goToMessage' | 'groupStyles' | 'hasInteractiveAccessibilityContent' | 'isMyMessage' | 'message' | 'messageContentOrder' | 'onLongPress' | 'onPress' | 'onPressIn' | 'otherAttachments' | 'preventPress' | 'threadList' | 'isMessageAIGenerated'> & Pick<MessagesContextValue, 'additionalPressableProps' | 'enableMessageGroupingByUser' | 'isAttachmentEqual' | 'myMessageTheme'> & Pick<TranslationContextValue, 't'> & {
|
|
7
7
|
/**
|
|
8
8
|
* Background color for the message content
|
|
9
9
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MessageContent.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/MessageItemView/MessageContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AACvC,OAAO,EAAE,UAAU,
|
|
1
|
+
{"version":3,"file":"MessageContent.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/MessageItemView/MessageContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AACvC,OAAO,EAAE,UAAU,EAAoD,MAAM,cAAc,CAAC;AAO5F,OAAO,EACL,mBAAmB,EAEpB,MAAM,iDAAiD,CAAC;AAEzD,OAAO,EACL,oBAAoB,EAErB,MAAM,mDAAmD,CAAC;AAE3D,OAAO,EACL,uBAAuB,EAExB,MAAM,yDAAyD,CAAC;AA+BjE,MAAM,MAAM,8BAA8B,GAAG,IAAI,CAC/C,mBAAmB,EACjB,WAAW,GACX,aAAa,GACb,aAAa,GACb,oCAAoC,GACpC,aAAa,GACb,SAAS,GACT,qBAAqB,GACrB,aAAa,GACb,SAAS,GACT,WAAW,GACX,kBAAkB,GAClB,cAAc,GACd,YAAY,GACZ,sBAAsB,CACzB,GACC,IAAI,CACF,oBAAoB,EAClB,0BAA0B,GAC1B,6BAA6B,GAC7B,mBAAmB,GACnB,gBAAgB,CACnB,GACD,IAAI,CAAC,uBAAuB,EAAE,GAAG,CAAC,GAAG;IACnC;;OAEG;IACH,eAAe,CAAC,EAAE,UAAU,CAAC;IAC7B;;OAEG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,4BAA4B,CAAC,EAAE,OAAO,CAAC;IAEvC;;OAEG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC7B,CAAC;AA+dJ,MAAM,MAAM,mBAAmB,GAAG,OAAO,CAAC,8BAA8B,CAAC,CAAC;AAE1E;;GAEG;AACH,eAAO,MAAM,cAAc,GAAI,OAAO,mBAAmB,sBA6FxD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MessageFooter.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/MessageItemView/MessageFooter.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAGvC,OAAO,KAAK,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAE5D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iDAAiD,CAAC;AAE3F,OAAO,EACL,SAAS,EAGV,MAAM,iDAAiD,CAAC;AASzD,KAAK,2BAA2B,GAAG;IACjC,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC/B,CAAC;
|
|
1
|
+
{"version":3,"file":"MessageFooter.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/MessageItemView/MessageFooter.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAGvC,OAAO,KAAK,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAE5D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iDAAiD,CAAC;AAE3F,OAAO,EACL,SAAS,EAGV,MAAM,iDAAiD,CAAC;AASzD,KAAK,2BAA2B,GAAG;IACjC,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC/B,CAAC;AA6IF,MAAM,MAAM,kBAAkB,GAAG,OAAO,CAAC,IAAI,CAAC,mBAAmB,EAAE,SAAS,CAAC,CAAC,GAC5E,2BAA2B,GAAG;IAC5B,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,OAAO,CAAC,EAAE,YAAY,CAAC;IACvB,gBAAgB,CAAC,EAAE,UAAU,EAAE,CAAC;IAChC,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC7B,CAAC;AAEJ,eAAO,MAAM,aAAa,GAAI,OAAO,kBAAkB,sBAiBtD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MessageReplies.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/MessageItemView/MessageReplies.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAIvC,OAAO,EACL,mBAAmB,EAEpB,MAAM,iDAAiD,CAAC;AAEzD,OAAO,EACL,uBAAuB,EAExB,MAAM,yDAAyD,CAAC;AAMjE,MAAM,MAAM,8BAA8B,GAAG,IAAI,CAC/C,mBAAmB,EACjB,WAAW,GACX,aAAa,GACb,SAAS,GACT,aAAa,GACb,SAAS,GACT,WAAW,GACX,cAAc,GACd,cAAc,GACd,YAAY,CACf,GACC,IAAI,CAAC,uBAAuB,EAAE,GAAG,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"MessageReplies.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/MessageItemView/MessageReplies.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAIvC,OAAO,EACL,mBAAmB,EAEpB,MAAM,iDAAiD,CAAC;AAEzD,OAAO,EACL,uBAAuB,EAExB,MAAM,yDAAyD,CAAC;AAMjE,MAAM,MAAM,8BAA8B,GAAG,IAAI,CAC/C,mBAAmB,EACjB,WAAW,GACX,aAAa,GACb,SAAS,GACT,aAAa,GACb,SAAS,GACT,WAAW,GACX,cAAc,GACd,cAAc,GACd,YAAY,CACf,GACC,IAAI,CAAC,uBAAuB,EAAE,GAAG,CAAC,CAAC;AAkJrC,MAAM,MAAM,mBAAmB,GAAG,OAAO,CAAC,8BAA8B,CAAC,CAAC;AAE1E,eAAO,MAAM,cAAc;YAAW,mBAAmB;;CA+BxD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MessageRepliesAvatars.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/MessageItemView/MessageRepliesAvatars.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAEL,KAAK,mBAAmB,EACzB,MAAM,iDAAiD,CAAC;AAIzD,MAAM,MAAM,0BAA0B,GAAG,OAAO,CAAC,IAAI,CAAC,mBAAmB,EAAE,SAAS,CAAC,CAAC,CAAC;AAEvF,eAAO,MAAM,gCAAgC,GAAI,OAAO,0BAA0B,
|
|
1
|
+
{"version":3,"file":"MessageRepliesAvatars.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/MessageItemView/MessageRepliesAvatars.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAEL,KAAK,mBAAmB,EACzB,MAAM,iDAAiD,CAAC;AAIzD,MAAM,MAAM,0BAA0B,GAAG,OAAO,CAAC,IAAI,CAAC,mBAAmB,EAAE,SAAS,CAAC,CAAC,CAAC;AAEvF,eAAO,MAAM,gCAAgC,GAAI,OAAO,0BAA0B,sBAsBjF,CAAC;AAEF,eAAO,MAAM,qBAAqB,GAAI,OAAO,0BAA0B,sBAGtE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MessageStatus.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/MessageItemView/MessageStatus.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"MessageStatus.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/MessageItemView/MessageStatus.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAKvC,OAAO,EACL,mBAAmB,EAEpB,MAAM,iDAAiD,CAAC;AAUzD,MAAM,MAAM,6BAA6B,GAAG,IAAI,CAC9C,mBAAmB,EACnB,kBAAkB,GAAG,SAAS,GAAG,QAAQ,CAC1C,CAAC;AAgGF,MAAM,MAAM,kBAAkB,GAAG,OAAO,CAAC,6BAA6B,CAAC,CAAC;AAExE,eAAO,MAAM,aAAa;YAAW,kBAAkB;;CAkBtD,CAAC"}
|
|
@@ -10,7 +10,7 @@ export type MessageTextProps = MessageTextContainerProps & {
|
|
|
10
10
|
theme: Theme;
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
export type MessageTextContainerPropsWithContext = Pick<MessageContextValue, 'message' | 'onLongPress' | 'onlyEmojis' | 'onPress' | 'preventPress'
|
|
13
|
+
export type MessageTextContainerPropsWithContext = Pick<MessageContextValue, 'hasInteractiveAccessibilityContent' | 'isMyMessage' | 'message' | 'onLongPress' | 'onlyEmojis' | 'onPress' | 'preventPress'> & Pick<MessagesContextValue, 'markdownRules' | 'myMessageTheme' | 'messageTextNumberOfLines'> & {
|
|
14
14
|
markdownStyles?: MarkdownStyle;
|
|
15
15
|
messageOverlay?: boolean;
|
|
16
16
|
styles?: Partial<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MessageTextContainer.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/MessageItemView/MessageTextContainer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,SAAS,EAAoB,SAAS,EAAE,MAAM,cAAc,CAAC;AAItE,OAAO,EAAc,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAGlE,OAAO,EACL,mBAAmB,EAEpB,MAAM,iDAAiD,CAAC;AACzD,OAAO,EACL,oBAAoB,EAErB,MAAM,mDAAmD,CAAC;AAG3D,OAAO,KAAK,EAAE,aAAa,EAAE,KAAK,EAAE,MAAM,4CAA4C,CAAC;AAQvF,MAAM,MAAM,gBAAgB,GAAG,yBAAyB,GAAG;IACzD,UAAU,EAAE,CAAC,MAAM,EAAE,gBAAgB,KAAK,KAAK,CAAC,SAAS,GAAG,IAAI,CAAC;IACjE,KAAK,EAAE;QAAE,KAAK,EAAE,KAAK,CAAA;KAAE,CAAC;CACzB,CAAC;AAEF,MAAM,MAAM,oCAAoC,GAAG,IAAI,CACrD,mBAAmB,
|
|
1
|
+
{"version":3,"file":"MessageTextContainer.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/MessageItemView/MessageTextContainer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,SAAS,EAAoB,SAAS,EAAE,MAAM,cAAc,CAAC;AAItE,OAAO,EAAc,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAGlE,OAAO,EACL,mBAAmB,EAEpB,MAAM,iDAAiD,CAAC;AACzD,OAAO,EACL,oBAAoB,EAErB,MAAM,mDAAmD,CAAC;AAG3D,OAAO,KAAK,EAAE,aAAa,EAAE,KAAK,EAAE,MAAM,4CAA4C,CAAC;AAQvF,MAAM,MAAM,gBAAgB,GAAG,yBAAyB,GAAG;IACzD,UAAU,EAAE,CAAC,MAAM,EAAE,gBAAgB,KAAK,KAAK,CAAC,SAAS,GAAG,IAAI,CAAC;IACjE,KAAK,EAAE;QAAE,KAAK,EAAE,KAAK,CAAA;KAAE,CAAC;CACzB,CAAC;AAEF,MAAM,MAAM,oCAAoC,GAAG,IAAI,CACrD,mBAAmB,EACjB,oCAAoC,GACpC,aAAa,GACb,SAAS,GACT,aAAa,GACb,YAAY,GACZ,SAAS,GACT,cAAc,CACjB,GACC,IAAI,CAAC,oBAAoB,EAAE,eAAe,GAAG,gBAAgB,GAAG,0BAA0B,CAAC,GAAG;IAC5F,cAAc,CAAC,EAAE,aAAa,CAAC;IAC/B,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,MAAM,CAAC,EAAE,OAAO,CAAC;QACf,aAAa,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;KACrC,CAAC,CAAC;CACJ,CAAC;AAqJJ,MAAM,MAAM,yBAAyB,GAAG,OAAO,CAAC,oCAAoC,CAAC,CAAC;AAEtF,eAAO,MAAM,oBAAoB;YAAW,yBAAyB;;CA6BpE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReactionListClustered.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Message/MessageItemView/ReactionList/ReactionListClustered.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"ReactionListClustered.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Message/MessageItemView/ReactionList/ReactionListClustered.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAC;AACjD,OAAO,EAAE,SAAS,EAAoB,SAAS,EAAE,MAAM,cAAc,CAAC;AAKtE,OAAO,EACL,mBAAmB,EAEpB,MAAM,oDAAoD,CAAC;AAC5D,OAAO,EACL,oBAAoB,EAErB,MAAM,sDAAsD,CAAC;AAwB9D,MAAM,MAAM,qCAAqC,GAAG,OAAO,CACzD,IAAI,CACF,mBAAmB,EACnB,cAAc,GAAG,SAAS,GAAG,WAAW,GAAG,cAAc,GAAG,WAAW,GAAG,sBAAsB,CACjG,CACF,GACC,OAAO,CAAC,IAAI,CAAC,oBAAoB,EAAE,oBAAoB,CAAC,CAAC,GAAG;IAC1D,cAAc,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IACtC,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B,CAAC;AAEJ,eAAO,MAAM,gCAAgC,GAAI,OAAO,qCAAqC,6BA6F5F,CAAC;AAqCF,MAAM,MAAM,0BAA0B,GAAG,OAAO,CAAC,qCAAqC,CAAC,CAAC;AAExF,eAAO,MAAM,qBAAqB,GAAI,OAAO,0BAA0B,sBAmBtE,CAAC"}
|
package/lib/typescript/components/Message/MessageItemView/ReactionList/ReactionListItem.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReactionListItem.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Message/MessageItemView/ReactionList/ReactionListItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"ReactionListItem.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Message/MessageItemView/ReactionList/ReactionListItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAMvC,OAAO,EAAE,mBAAmB,EAAE,MAAM,oDAAoD,CAAC;AACzF,OAAO,EAAE,oBAAoB,EAAE,MAAM,sDAAsD,CAAC;AAU5F,OAAO,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAelE,MAAM,MAAM,qBAAqB,GAAG,OAAO,CACzC,IAAI,CACF,mBAAmB,EACjB,gBAAgB,GAChB,aAAa,GACb,SAAS,GACT,WAAW,GACX,cAAc,GACd,sBAAsB,CACzB,CACF,GACC,OAAO,CAAC,IAAI,CAAC,oBAAoB,EAAE,oBAAoB,CAAC,CAAC,GAAG;IAC1D,QAAQ,EAAE,eAAe,CAAC;IAC1B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEJ,eAAO,MAAM,gBAAgB,GAAI,OAAO,qBAAqB,sBAkF5D,CAAC;AAEF,MAAM,MAAM,0BAA0B,GAAG,OAAO,CAC9C,IAAI,CACF,mBAAmB,EACnB,aAAa,GAAG,SAAS,GAAG,WAAW,GAAG,cAAc,GAAG,sBAAsB,CAClF,CACF,GAAG;IACF,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,eAAO,MAAM,qBAAqB,GAAI,OAAO,0BAA0B,6BA2DtE,CAAC"}
|
|
@@ -14,5 +14,5 @@ export type MessageOverlayWrapperProps = PropsWithChildren<{
|
|
|
14
14
|
* Wraps the primary message overlay target so the active message can be teleported
|
|
15
15
|
* into the overlay host while a placeholder preserves its original layout space.
|
|
16
16
|
*/
|
|
17
|
-
export declare const MessageOverlayWrapper: ({ children, targetId, testID, }: MessageOverlayWrapperProps) => string | number | bigint | boolean | Iterable<React.ReactNode> | Promise<string | number | bigint | boolean | React.ReactPortal | React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | null | undefined> |
|
|
17
|
+
export declare const MessageOverlayWrapper: ({ children, targetId, testID, }: MessageOverlayWrapperProps) => string | number | bigint | boolean | React.JSX.Element | Iterable<React.ReactNode> | Promise<string | number | bigint | boolean | React.ReactPortal | React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | null | undefined> | null | undefined;
|
|
18
18
|
//# sourceMappingURL=MessageOverlayWrapper.d.ts.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { MessageContextValue } from '../../../contexts/messageContext/MessageContext';
|
|
2
|
-
export declare const useCreateMessageContext: ({ actionsEnabled, alignment, channel, contextMenuAnchorRef, deliveredToCount, dismissOverlay, files, goToMessage, groupStyles, handleAction, hasAttachmentActions, handleReaction, handleToggleReaction, hasReactions, messageHasOnlySingleAttachment, images, isMessageAIGenerated, isMyMessage, lastGroupMessage, members, message, messageOverlayId, messageContentOrder, myMessageTheme, onLongPress, onlyEmojis, onOpenThread, onPress, onPressIn, onThreadSelect, otherAttachments, preventPress, registerMessageOverlayTarget, unregisterMessageOverlayTarget, reactions, readBy, showAvatar, showMessageOverlay, showReactionsOverlay, showMessageStatus, threadList, videos, setQuotedMessage, }: MessageContextValue) => MessageContextValue;
|
|
2
|
+
export declare const useCreateMessageContext: ({ actionsEnabled, alignment, channel, contextMenuAnchorRef, deliveredToCount, dismissOverlay, files, goToMessage, groupStyles, handleAction, hasAttachmentActions, handleReaction, handleToggleReaction, hasReactions, messageHasOnlySingleAttachment, images, isMessageAIGenerated, isMyMessage, lastGroupMessage, members, message, messageOverlayId, messageContentOrder, myMessageTheme, onLongPress, onlyEmojis, onOpenThread, onPress, onPressIn, onThreadSelect, otherAttachments, preventPress, registerMessageOverlayTarget, unregisterMessageOverlayTarget, reactions, readBy, showAvatar, showMessageOverlay, showReactionsOverlay, showMessageStatus, threadList, videos, setQuotedMessage, }: Omit<MessageContextValue, "hasInteractiveAccessibilityContent">) => MessageContextValue;
|
|
3
3
|
//# sourceMappingURL=useCreateMessageContext.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useCreateMessageContext.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/hooks/useCreateMessageContext.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useCreateMessageContext.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/hooks/useCreateMessageContext.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iDAAiD,CAAC;AAc3F,eAAO,MAAM,uBAAuB,GAAI,2qBA4CrC,IAAI,CAAC,mBAAmB,EAAE,oCAAoC,CAAC,wBA+FjE,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;
|
|
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;AAK3C,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;AAE3F,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,+CAK/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;;;;;;;;;;;;;;CAiT7E,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InlineDateSeparator.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageList/InlineDateSeparator.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAQvC;;GAEG;AACH,MAAM,MAAM,wBAAwB,GAAG;IACrC;;OAEG;IACH,IAAI,CAAC,EAAE,IAAI,CAAC;CACb,CAAC;AAEF,eAAO,MAAM,mBAAmB,GAAI,UAAU,wBAAwB,
|
|
1
|
+
{"version":3,"file":"InlineDateSeparator.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageList/InlineDateSeparator.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAQvC;;GAEG;AACH,MAAM,MAAM,wBAAwB,GAAG;IACrC;;OAEG;IACH,IAAI,CAAC,EAAE,IAAI,CAAC;CACb,CAAC;AAEF,eAAO,MAAM,mBAAmB,GAAI,UAAU,wBAAwB,sBA2BrE,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;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,
|
|
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,sBAqCxD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Poll.d.ts","sourceRoot":"","sources":["../../../../src/components/Poll/Poll.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Poll.d.ts","sourceRoot":"","sources":["../../../../src/components/Poll/Poll.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAUvC,OAAO,EAEL,gBAAgB,EAGjB,MAAM,gBAAgB,CAAC;AAMxB,MAAM,MAAM,SAAS,GAAG,IAAI,CAAC,gBAAgB,EAAE,MAAM,GAAG,SAAS,CAAC,CAAC;AAEnE,MAAM,MAAM,gBAAgB,GAAG,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;AAErD,eAAO,MAAM,UAAU,yBAgCtB,CAAC;AAEF,eAAO,MAAM,WAAW,yBA0BvB,CAAC;AAEF,eAAO,MAAM,IAAI,GAAI,mBAAmB,SAAS,sBAchD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PollOption.d.ts","sourceRoot":"","sources":["../../../../../src/components/Poll/components/PollOption.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+B,MAAM,OAAO,CAAC;AAEpD,OAAO,EAAa,eAAe,EAA0B,MAAM,cAAc,CAAC;AAIlF,OAAO,EAAE,UAAU,IAAI,eAAe,EAA0B,MAAM,aAAa,CAAC;AAEpF,OAAO,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAE/C,OAAO,EAEL,gBAAgB,EAKjB,MAAM,mBAAmB,CAAC;AAgB3B,MAAM,MAAM,eAAe,GAAG;IAC5B,MAAM,EAAE,eAAe,CAAC;IACxB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB,CAAC;AAEF,MAAM,MAAM,0BAA0B,GAAG,gBAAgB,GAAG;IAC1D,yBAAyB,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,CAAC;CACtD,CAAC;AAEF,eAAO,MAAM,qBAAqB,GAAI,gCAEnC,IAAI,CAAC,0BAA0B,EAAE,2BAA2B,CAAC,sBAgC/D,CAAC;AAEF,eAAO,MAAM,cAAc,GAAI,+CAI5B,0BAA0B,sBAO5B,CAAC;AAEF,eAAO,MAAM,UAAU,GAAI,4CAAmD,eAAe,
|
|
1
|
+
{"version":3,"file":"PollOption.d.ts","sourceRoot":"","sources":["../../../../../src/components/Poll/components/PollOption.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+B,MAAM,OAAO,CAAC;AAEpD,OAAO,EAAa,eAAe,EAA0B,MAAM,cAAc,CAAC;AAIlF,OAAO,EAAE,UAAU,IAAI,eAAe,EAA0B,MAAM,aAAa,CAAC;AAEpF,OAAO,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAE/C,OAAO,EAEL,gBAAgB,EAKjB,MAAM,mBAAmB,CAAC;AAgB3B,MAAM,MAAM,eAAe,GAAG;IAC5B,MAAM,EAAE,eAAe,CAAC;IACxB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB,CAAC;AAEF,MAAM,MAAM,0BAA0B,GAAG,gBAAgB,GAAG;IAC1D,yBAAyB,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,CAAC;CACtD,CAAC;AAEF,eAAO,MAAM,qBAAqB,GAAI,gCAEnC,IAAI,CAAC,0BAA0B,EAAE,2BAA2B,CAAC,sBAgC/D,CAAC;AAEF,eAAO,MAAM,cAAc,GAAI,+CAI5B,0BAA0B,sBAO5B,CAAC;AAEF,eAAO,MAAM,UAAU,GAAI,4CAAmD,eAAe,sBAwE5F,CAAC;AAEF,eAAO,MAAM,UAAU,GAAI,qBAAqB,mBAAmB,6BA0DlE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Reply.d.ts","sourceRoot":"","sources":["../../../../src/components/Reply/Reply.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AACvC,OAAO,EAGL,UAAU,EAIV,SAAS,EAET,SAAS,EACV,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"Reply.d.ts","sourceRoot":"","sources":["../../../../src/components/Reply/Reply.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AACvC,OAAO,EAGL,UAAU,EAIV,SAAS,EAET,SAAS,EACV,MAAM,cAAc,CAAC;AActB,OAA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.ts","sourceRoot":"","sources":["../../../../../src/components/ui/Avatar/ChannelAvatar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAEvC,OAAO,EAAE,OAAO,EAAgB,MAAM,aAAa,CAAC;AAepD,MAAM,MAAM,kBAAkB,GAAG;IAC/B,OAAO,EAAE,OAAO,CAAC;IACjB,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,KAAK,CAAC;IAC3B,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC;AAEF,eAAO,MAAM,aAAa,GAAI,OAAO,kBAAkB,sBAiEtD,CAAC"}
|
|
@@ -4,6 +4,11 @@ export type BadgeNotificationProps = {
|
|
|
4
4
|
count: number;
|
|
5
5
|
size: 'sm' | 'xs';
|
|
6
6
|
testID?: string;
|
|
7
|
+
/**
|
|
8
|
+
* Optional accessibility label override. When provided, screen readers
|
|
9
|
+
* announce this string instead of the bare count.
|
|
10
|
+
*/
|
|
11
|
+
accessibilityLabel?: string;
|
|
7
12
|
};
|
|
8
13
|
export declare const BadgeNotification: (props: BadgeNotificationProps) => React.JSX.Element;
|
|
9
14
|
//# sourceMappingURL=BadgeNotification.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BadgeNotification.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/Badge/BadgeNotification.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAMvC,MAAM,MAAM,sBAAsB,GAAG;IACnC,IAAI,CAAC,EAAE,SAAS,GAAG,OAAO,GAAG,SAAS,CAAC;IACvC,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,IAAI,GAAG,IAAI,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"BadgeNotification.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/Badge/BadgeNotification.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAMvC,MAAM,MAAM,sBAAsB,GAAG;IACnC,IAAI,CAAC,EAAE,SAAS,GAAG,OAAO,GAAG,SAAS,CAAC;IACvC,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,IAAI,GAAG,IAAI,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;OAGG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B,CAAC;AAwBF,eAAO,MAAM,iBAAiB,GAAI,OAAO,sBAAsB,sBA0B9D,CAAC"}
|
|
@@ -1,6 +1,26 @@
|
|
|
1
1
|
import React, { PropsWithChildren } from 'react';
|
|
2
|
+
import type { LocalMessage } from 'stream-chat';
|
|
2
3
|
/** Tri-state for gesture-alternative toggles. */
|
|
3
4
|
export type A11yMode = 'auto' | 'always' | 'never';
|
|
5
|
+
/**
|
|
6
|
+
* Resolved predicate stored on the context - consumers call `(message)` and
|
|
7
|
+
* receive the boolean directly.
|
|
8
|
+
*/
|
|
9
|
+
export type HasInteractiveAccessibilityContent = (message: LocalMessage) => boolean;
|
|
10
|
+
/**
|
|
11
|
+
* Integrator facing override shape. Receives the SDK's baseline boolean as the
|
|
12
|
+
* second argument so overrides can extend rather than replace:
|
|
13
|
+
*
|
|
14
|
+
* ```
|
|
15
|
+
* hasInteractiveAccessibilityContent: (message, defaultValue) =>
|
|
16
|
+
* defaultValue || !!message.my_custom_field
|
|
17
|
+
* ```
|
|
18
|
+
*
|
|
19
|
+
* To replace fully, ignore the second argument. Must be stable across renders
|
|
20
|
+
* an unstable function will rerender every Message context consumer on every
|
|
21
|
+
* downstream render.
|
|
22
|
+
*/
|
|
23
|
+
export type HasInteractiveAccessibilityContentConfig = (message: LocalMessage, defaultValue: boolean) => boolean;
|
|
4
24
|
export type AccessibilityConfig = {
|
|
5
25
|
/**
|
|
6
26
|
* Master toggle. Default FALSE — integrators must opt in. When false, the SDK
|
|
@@ -22,11 +42,21 @@ export type AccessibilityConfig = {
|
|
|
22
42
|
imageGalleryScreenReaderMode?: A11yMode;
|
|
23
43
|
/** Message actions trigger. 'long-press' (no alt button), 'auto' (default — show button when SR is on), 'always-button'. */
|
|
24
44
|
messageActionsTrigger?: 'long-press' | 'auto' | 'always-button';
|
|
45
|
+
/**
|
|
46
|
+
* Override the SDK's "this message has interactive children" decision.
|
|
47
|
+
* Will control what it means for a message to have interactive content.
|
|
48
|
+
* This affects the way we mark the message bubble as accessible and whether
|
|
49
|
+
* we let the children handle it on their own or whether we want the bubble to
|
|
50
|
+
* handle everything. See {@link HasInteractiveAccessibilityContentConfig}.
|
|
51
|
+
*/
|
|
52
|
+
hasInteractiveAccessibilityContent?: HasInteractiveAccessibilityContentConfig;
|
|
25
53
|
};
|
|
26
54
|
/** Fully-resolved config — every field is populated with its default. */
|
|
27
|
-
export type ResolvedAccessibilityConfig = Required<AccessibilityConfig
|
|
55
|
+
export type ResolvedAccessibilityConfig = Required<Omit<AccessibilityConfig, 'hasInteractiveAccessibilityContent'>> & {
|
|
56
|
+
hasInteractiveAccessibilityContent: HasInteractiveAccessibilityContent;
|
|
57
|
+
};
|
|
28
58
|
export declare const accessibilityContextDefaultValue: ResolvedAccessibilityConfig;
|
|
29
|
-
export declare const AccessibilityContext: React.Context<
|
|
59
|
+
export declare const AccessibilityContext: React.Context<ResolvedAccessibilityConfig>;
|
|
30
60
|
export declare const AccessibilityProvider: ({ children, value, }: PropsWithChildren<{
|
|
31
61
|
value?: AccessibilityConfig;
|
|
32
62
|
}>) => React.JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AccessibilityContext.d.ts","sourceRoot":"","sources":["../../../../src/contexts/accessibilityContext/AccessibilityContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EACZ,iBAAiB,EAMlB,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"AccessibilityContext.d.ts","sourceRoot":"","s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;AAEF,eAAO,MAAM,oBAAoB,4CAEhC,CAAC;AAkDF,eAAO,MAAM,qBAAqB,GAAI,sBAGnC,iBAAiB,CAAC;IAAE,KAAK,CAAC,EAAE,mBAAmB,CAAA;CAAE,CAAC,sBAqDpD,CAAC;AAEF,eAAO,MAAM,uBAAuB,QAAO,2BACT,CAAC"}
|
|
@@ -35,6 +35,14 @@ export type MessageContextValue = {
|
|
|
35
35
|
/** Whether or not any message attachment exposes actions. */
|
|
36
36
|
hasAttachmentActions: boolean;
|
|
37
37
|
handleToggleReaction: (reactionType: string) => Promise<void>;
|
|
38
|
+
/**
|
|
39
|
+
* Whether the message renders interactive children (poll options, attachment
|
|
40
|
+
* cells, the quoted-reply navigator, shared location) and the row should
|
|
41
|
+
* therefore drop its single focusstop so VO/TalkBack can drill into them.
|
|
42
|
+
* Resolved from `AccessibilityContext.hasInteractiveAccessibilityContent` -
|
|
43
|
+
* integrators override there to include their own custom content.
|
|
44
|
+
*/
|
|
45
|
+
hasInteractiveAccessibilityContent: boolean;
|
|
38
46
|
/** Whether or not message has reactions */
|
|
39
47
|
hasReactions: boolean;
|
|
40
48
|
/** Whether or not message has only a single attachment */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MessageContext.d.ts","sourceRoot":"","sources":["../../../../src/contexts/messageContext/MessageContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,iBAAiB,EAAc,MAAM,OAAO,CAAC;AAC7D,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAEzC,OAAO,KAAK,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAE5D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oDAAoD,CAAC;AAC1F,OAAO,KAAK,EACV,8BAA8B,EAC9B,uBAAuB,EACxB,MAAM,kCAAkC,CAAC;AAE1C,OAAO,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,CAAC;CAC7B,CAAC,sBAID,CAAC;AAEF,eAAO,MAAM,iBAAiB,2BAI7B,CAAC;AAEF,KAAK,iCAAiC,GAAG;IACvC,oBAAoB,EAAE;QAAE,OAAO,EAAE,IAAI,CAAA;KAAE,CAAC;IACxC,sBAAsB,EAAE,MAAM,CAAC;IAC/B,aAAa,EAAE,OAAO,CAAC;CACxB,CAAC;AAQF,eAAO,MAAM,6BAA6B,GAAI,sBAG3C,iBAAiB,CAAC;IAAE,KAAK,EAAE,iCAAiC,CAAA;CAAE,CAAC,sBAIjE,CAAC;AAEF,eAAO,MAAM,+BAA+B,yCAAiD,CAAC;AAI9F,eAAO,MAAM,4BAA4B,GAAI,sBAG1C,iBAAiB,CAAC;IAAE,KAAK,EAAE,OAAO,CAAA;CAAE,CAAC,sBAIvC,CAAC;AAEF,eAAO,MAAM,8BAA8B,eAAgD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MessageOverlayHostLayer.d.ts","sourceRoot":"","sources":["../../../../src/contexts/overlayContext/MessageOverlayHostLayer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqC,MAAM,OAAO,CAAC;AAC1D,OAAO,EAKL,SAAS,EAGT,SAAS,EACV,MAAM,cAAc,CAAC;AAEtB,OAAiB,EACf,KAAK,aAAa,EAOnB,MAAM,yBAAyB,CAAC;AAoBjC,eAAO,MAAM,+BAA+B,yBAkB3C,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG;IAChC,eAAe,EAAE,SAAS,CAAC,aAAa,CAAC,SAAS,CAAC,CAAC,CAAC;IACrD,SAAS,EAAE,SAAS,CAAC,aAAa,CAAC,SAAS,CAAC,CAAC,CAAC;IAC/C,eAAe,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IACtC,YAAY,EAAE,SAAS,CAAC,aAAa,CAAC,SAAS,CAAC,CAAC,CAAC;CACnD,CAAC;AAEF,eAAO,MAAM,uBAAuB,
|
|
1
|
+
{"version":3,"file":"MessageOverlayHostLayer.d.ts","sourceRoot":"","sources":["../../../../src/contexts/overlayContext/MessageOverlayHostLayer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqC,MAAM,OAAO,CAAC;AAC1D,OAAO,EAKL,SAAS,EAGT,SAAS,EACV,MAAM,cAAc,CAAC;AAEtB,OAAiB,EACf,KAAK,aAAa,EAOnB,MAAM,yBAAyB,CAAC;AAoBjC,eAAO,MAAM,+BAA+B,yBAkB3C,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG;IAChC,eAAe,EAAE,SAAS,CAAC,aAAa,CAAC,SAAS,CAAC,CAAC,CAAC;IACrD,SAAS,EAAE,SAAS,CAAC,aAAa,CAAC,SAAS,CAAC,CAAC,CAAC;IAC/C,eAAe,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IACtC,YAAY,EAAE,SAAS,CAAC,aAAa,CAAC,SAAS,CAAC,CAAC,CAAC;CACnD,CAAC;AAEF,eAAO,MAAM,uBAAuB,yBAgQnC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OverlayProvider.d.ts","sourceRoot":"","sources":["../../../../src/contexts/overlayContext/OverlayProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,iBAAiB,EAAgC,MAAM,OAAO,CAAC;AAS/E,OAAO,EAAkB,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"OverlayProvider.d.ts","sourceRoot":"","sources":["../../../../src/contexts/overlayContext/OverlayProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,iBAAiB,EAAgC,MAAM,OAAO,CAAC;AAS/E,OAAO,EAAkB,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AAexE;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,eAAe,GAAI,OAAO,iBAAiB,CAAC,oBAAoB,CAAC,sBA4E7E,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { LocalMessage, MessageResponse, TranslationLanguages } from 'stream-chat';
|
|
2
2
|
export declare const useTranslatedMessage: (message?: LocalMessage | MessageResponse) => {
|
|
3
|
+
id: string;
|
|
3
4
|
html?: string | undefined;
|
|
4
5
|
text?: string | undefined;
|
|
5
|
-
id: string;
|
|
6
6
|
attachments?: import("stream-chat").Attachment[] | undefined;
|
|
7
7
|
mml?: string | undefined;
|
|
8
8
|
parent_id?: string | undefined;
|