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
|
@@ -253,20 +253,33 @@
|
|
|
253
253
|
"a11y/AI is generating": "AI genereert",
|
|
254
254
|
"a11y/AI is thinking": "AI denkt na",
|
|
255
255
|
"a11y/Avatar of {{name}}": "Avatar van {{name}}",
|
|
256
|
+
"a11y/Channel with {{count}} members": "Kanaal met {{count}} leden",
|
|
256
257
|
"a11y/Connected": "Verbonden",
|
|
257
|
-
"a11y/Delivered": "
|
|
258
|
+
"a11y/Delivered": "Bezorgd",
|
|
259
|
+
"a11y/Delivered, sent by you": "Bezorgd, door jou verzonden",
|
|
260
|
+
"a11y/Direct chat with {{name}}": "Direct chat met {{name}}",
|
|
261
|
+
"a11y/Double tap to open": "Dubbeltik om te openen",
|
|
262
|
+
"a11y/Double tap to view reactions": "Dubbeltik om reacties te bekijken",
|
|
263
|
+
"a11y/Double tap to view thread": "Dubbeltik om de thread te bekijken",
|
|
264
|
+
"a11y/Editing message": "Bericht bewerken",
|
|
265
|
+
"a11y/Editing message: {{text}}": "Bericht bewerken: {{text}}",
|
|
266
|
+
"a11y/Last message {{date}}": "Laatste bericht {{date}}",
|
|
258
267
|
"a11y/Loading": "Laden",
|
|
259
268
|
"a11y/Loading failed": "Laden mislukt",
|
|
260
269
|
"a11y/Message actions": "Berichtacties",
|
|
270
|
+
"a11y/Muted": "Gedempt",
|
|
261
271
|
"a11y/New message from {{user}}": "Nieuw bericht van {{user}}",
|
|
262
272
|
"a11y/Offline": "Offline",
|
|
263
273
|
"a11y/Open message actions": "Berichtacties openen",
|
|
264
274
|
"a11y/Reaction {{emoji}} by {{count}} users": "Reactie {{emoji}} door {{count}} gebruikers",
|
|
265
275
|
"a11y/Read": "Gelezen",
|
|
276
|
+
"a11y/Read, sent by you": "Gelezen, door jou verzonden",
|
|
266
277
|
"a11y/Reconnecting": "Opnieuw verbinden",
|
|
267
278
|
"a11y/Reply to {{user}}": "Antwoorden op {{user}}",
|
|
268
279
|
"a11y/Remove edit": "Bewerking verwijderen",
|
|
269
280
|
"a11y/Remove reply": "Antwoord verwijderen",
|
|
281
|
+
"a11y/Replying to {{user}}": "Antwoorden op {{user}}",
|
|
282
|
+
"a11y/Replying to {{user}}: {{text}}": "Antwoorden op {{user}}: {{text}}",
|
|
270
283
|
"a11y/Scroll to bottom": "Ga naar beneden",
|
|
271
284
|
"a11y/Scroll to bottom, {{count}} new messages": "Ga naar beneden, {{count}} nieuwe berichten",
|
|
272
285
|
"a11y/Scroll to latest": "Ga naar het nieuwste bericht",
|
|
@@ -274,7 +287,10 @@
|
|
|
274
287
|
"a11y/Send message": "Bericht verzenden",
|
|
275
288
|
"a11y/Sending": "Verzenden",
|
|
276
289
|
"a11y/Sent": "Verzonden",
|
|
290
|
+
"a11y/Sent by you": "Door jou verzonden",
|
|
277
291
|
"a11y/Voice message recording. Hold to record.": "Spraakbericht opnemen. Houd ingedrukt om op te nemen.",
|
|
292
|
+
"a11y/and {{count}} more reactions": "en {{count}} meer reacties",
|
|
293
|
+
"a11y/you reacted": "jij hebt gereageerd",
|
|
278
294
|
"a11y/{{count}} new messages": "{{count}} nieuwe berichten",
|
|
279
295
|
"a11y/Add attachment": "Add attachment",
|
|
280
296
|
"a11y/Close attachments": "Close attachments",
|
|
@@ -352,12 +368,14 @@
|
|
|
352
368
|
"size limit": "groottelimiet",
|
|
353
369
|
"unknown error": "onbekende fout",
|
|
354
370
|
"unsupported file type": "niet-ondersteund bestandstype",
|
|
355
|
-
"a11y/Activate to view results": "Activeer om resultaten te bekijken",
|
|
356
|
-
"a11y/End vote": "Stemming beëindigen",
|
|
357
|
-
"a11y/Show all options": "Alle opties weergeven",
|
|
358
|
-
"a11y/Vote on {{option}}": "Stem op {{option}}",
|
|
359
371
|
"a11y/Double tap and hold to activate contextual menu": "Dubbeltik en houd vast om het contextmenu te openen",
|
|
360
372
|
"a11y/Swipe right to go through different actions": "Veeg naar rechts om door verschillende acties te bladeren",
|
|
361
373
|
"a11y/Close": "Close",
|
|
362
|
-
"a11y/Bottom sheet opened. Activate the close action or use the escape gesture to dismiss.": "Bottom sheet opened. Activate the close action or use the escape gesture to dismiss."
|
|
374
|
+
"a11y/Bottom sheet opened. Activate the close action or use the escape gesture to dismiss.": "Bottom sheet opened. Activate the close action or use the escape gesture to dismiss.",
|
|
375
|
+
"a11y/{{count}} unread messages": "{{count}} ongelezen berichten",
|
|
376
|
+
"a11y/Message from you": "Bericht van jou",
|
|
377
|
+
"a11y/Message from {{sender}}": "Bericht van {{sender}}",
|
|
378
|
+
"a11y/Gallery Image": "Galerij-afbeelding",
|
|
379
|
+
"a11y/Gallery Video": "Galerij-video",
|
|
380
|
+
"a11y/{{position}} of {{count}}": "{{position}} van {{count}}"
|
|
363
381
|
}
|
|
@@ -253,28 +253,44 @@
|
|
|
253
253
|
"a11y/AI is generating": "A IA está gerando",
|
|
254
254
|
"a11y/AI is thinking": "A IA está pensando",
|
|
255
255
|
"a11y/Avatar of {{name}}": "Avatar de {{name}}",
|
|
256
|
+
"a11y/Channel with {{count}} members": "Canal com {{count}} membros",
|
|
256
257
|
"a11y/Connected": "Conectado",
|
|
257
258
|
"a11y/Delivered": "Entregue",
|
|
259
|
+
"a11y/Delivered, sent by you": "Entregue, enviada por você",
|
|
260
|
+
"a11y/Direct chat with {{name}}": "Chat direto com {{name}}",
|
|
261
|
+
"a11y/Double tap to open": "Toque duas vezes para abrir",
|
|
262
|
+
"a11y/Double tap to view reactions": "Toque duas vezes para ver as reações",
|
|
263
|
+
"a11y/Double tap to view thread": "Toque duas vezes para ver o tópico",
|
|
264
|
+
"a11y/Editing message": "Editando mensagem",
|
|
265
|
+
"a11y/Editing message: {{text}}": "Editando mensagem: {{text}}",
|
|
266
|
+
"a11y/Last message {{date}}": "Última mensagem {{date}}",
|
|
258
267
|
"a11y/Loading": "Carregando",
|
|
259
268
|
"a11y/Loading failed": "Falha ao carregar",
|
|
260
269
|
"a11y/Message actions": "Ações da mensagem",
|
|
270
|
+
"a11y/Muted": "Silenciado",
|
|
261
271
|
"a11y/New message from {{user}}": "Nova mensagem de {{user}}",
|
|
262
272
|
"a11y/Offline": "Offline",
|
|
263
273
|
"a11y/Open message actions": "Abrir ações da mensagem",
|
|
264
274
|
"a11y/Reaction {{emoji}} by {{count}} users": "Reação {{emoji}} de {{count}} usuários",
|
|
265
|
-
"a11y/Read": "
|
|
275
|
+
"a11y/Read": "Lida",
|
|
276
|
+
"a11y/Read, sent by you": "Lida, enviada por você",
|
|
266
277
|
"a11y/Reconnecting": "Reconectando",
|
|
267
278
|
"a11y/Reply to {{user}}": "Responder a {{user}}",
|
|
268
279
|
"a11y/Remove edit": "Remover edição",
|
|
269
280
|
"a11y/Remove reply": "Remover resposta",
|
|
281
|
+
"a11y/Replying to {{user}}": "Respondendo a {{user}}",
|
|
282
|
+
"a11y/Replying to {{user}}: {{text}}": "Respondendo a {{user}}: {{text}}",
|
|
270
283
|
"a11y/Scroll to bottom": "Ir para o final",
|
|
271
284
|
"a11y/Scroll to bottom, {{count}} new messages": "Ir para o final, {{count}} novas mensagens",
|
|
272
285
|
"a11y/Scroll to latest": "Ir para a mensagem mais recente",
|
|
273
286
|
"a11y/Scroll to latest, {{count}} unread": "Ir para a mensagem mais recente, {{count}} não lidas",
|
|
274
287
|
"a11y/Send message": "Enviar mensagem",
|
|
275
288
|
"a11y/Sending": "Enviando",
|
|
276
|
-
"a11y/Sent": "
|
|
289
|
+
"a11y/Sent": "Enviada",
|
|
290
|
+
"a11y/Sent by you": "Enviada por você",
|
|
277
291
|
"a11y/Voice message recording. Hold to record.": "Gravação de mensagem de voz. Mantenha pressionado para gravar.",
|
|
292
|
+
"a11y/and {{count}} more reactions": "e mais {{count}} reações",
|
|
293
|
+
"a11y/you reacted": "você reagiu",
|
|
278
294
|
"a11y/{{count}} new messages": "{{count}} novas mensagens",
|
|
279
295
|
"a11y/Add attachment": "Add attachment",
|
|
280
296
|
"a11y/Close attachments": "Close attachments",
|
|
@@ -352,12 +368,14 @@
|
|
|
352
368
|
"size limit": "limite de tamanho",
|
|
353
369
|
"unknown error": "erro desconhecido",
|
|
354
370
|
"unsupported file type": "tipo de arquivo não compatível",
|
|
355
|
-
"a11y/Activate to view results": "Ative para ver os resultados",
|
|
356
|
-
"a11y/End vote": "Encerrar votação",
|
|
357
|
-
"a11y/Show all options": "Mostrar todas as opções",
|
|
358
|
-
"a11y/Vote on {{option}}": "Votar em {{option}}",
|
|
359
371
|
"a11y/Double tap and hold to activate contextual menu": "Toque duas vezes e segure para ativar o menu contextual",
|
|
360
372
|
"a11y/Swipe right to go through different actions": "Deslize para a direita para percorrer as diferentes ações",
|
|
361
373
|
"a11y/Close": "Close",
|
|
362
|
-
"a11y/Bottom sheet opened. Activate the close action or use the escape gesture to dismiss.": "Bottom sheet opened. Activate the close action or use the escape gesture to dismiss."
|
|
374
|
+
"a11y/Bottom sheet opened. Activate the close action or use the escape gesture to dismiss.": "Bottom sheet opened. Activate the close action or use the escape gesture to dismiss.",
|
|
375
|
+
"a11y/{{count}} unread messages": "{{count}} mensagens não lidas",
|
|
376
|
+
"a11y/Message from you": "Mensagem sua",
|
|
377
|
+
"a11y/Message from {{sender}}": "Mensagem de {{sender}}",
|
|
378
|
+
"a11y/Gallery Image": "Imagem da galeria",
|
|
379
|
+
"a11y/Gallery Video": "Vídeo da galeria",
|
|
380
|
+
"a11y/{{position}} of {{count}}": "{{position}} de {{count}}"
|
|
363
381
|
}
|
|
@@ -253,20 +253,33 @@
|
|
|
253
253
|
"a11y/AI is generating": "ИИ генерирует ответ",
|
|
254
254
|
"a11y/AI is thinking": "ИИ думает",
|
|
255
255
|
"a11y/Avatar of {{name}}": "Аватар {{name}}",
|
|
256
|
+
"a11y/Channel with {{count}} members": "Канал с {{count}} участниками",
|
|
256
257
|
"a11y/Connected": "Подключено",
|
|
257
258
|
"a11y/Delivered": "Доставлено",
|
|
259
|
+
"a11y/Delivered, sent by you": "Доставлено, отправлено вами",
|
|
260
|
+
"a11y/Direct chat with {{name}}": "Прямой чат с {{name}}",
|
|
261
|
+
"a11y/Double tap to open": "Дважды коснитесь, чтобы открыть",
|
|
262
|
+
"a11y/Double tap to view reactions": "Дважды коснитесь, чтобы посмотреть реакции",
|
|
263
|
+
"a11y/Double tap to view thread": "Дважды коснитесь, чтобы посмотреть тред",
|
|
264
|
+
"a11y/Editing message": "Редактирование сообщения",
|
|
265
|
+
"a11y/Editing message: {{text}}": "Редактирование сообщения: {{text}}",
|
|
266
|
+
"a11y/Last message {{date}}": "Последнее сообщение {{date}}",
|
|
258
267
|
"a11y/Loading": "Загрузка",
|
|
259
268
|
"a11y/Loading failed": "Не удалось загрузить",
|
|
260
269
|
"a11y/Message actions": "Действия с сообщением",
|
|
270
|
+
"a11y/Muted": "Без звука",
|
|
261
271
|
"a11y/New message from {{user}}": "Новое сообщение от {{user}}",
|
|
262
272
|
"a11y/Offline": "Не в сети",
|
|
263
273
|
"a11y/Open message actions": "Открыть действия с сообщением",
|
|
264
274
|
"a11y/Reaction {{emoji}} by {{count}} users": "Реакция {{emoji}} от {{count}} пользователей",
|
|
265
275
|
"a11y/Read": "Прочитано",
|
|
276
|
+
"a11y/Read, sent by you": "Прочитано, отправлено вами",
|
|
266
277
|
"a11y/Reconnecting": "Повторное подключение",
|
|
267
278
|
"a11y/Reply to {{user}}": "Ответить {{user}}",
|
|
268
279
|
"a11y/Remove edit": "Удалить редактирование",
|
|
269
280
|
"a11y/Remove reply": "Удалить ответ",
|
|
281
|
+
"a11y/Replying to {{user}}": "Ответ {{user}}",
|
|
282
|
+
"a11y/Replying to {{user}}: {{text}}": "Ответ {{user}}: {{text}}",
|
|
270
283
|
"a11y/Scroll to bottom": "Прокрутить вниз",
|
|
271
284
|
"a11y/Scroll to bottom, {{count}} new messages": "Прокрутить вниз, {{count}} новых сообщений",
|
|
272
285
|
"a11y/Scroll to latest": "Перейти к последнему сообщению",
|
|
@@ -274,7 +287,10 @@
|
|
|
274
287
|
"a11y/Send message": "Отправить сообщение",
|
|
275
288
|
"a11y/Sending": "Отправка",
|
|
276
289
|
"a11y/Sent": "Отправлено",
|
|
290
|
+
"a11y/Sent by you": "Отправлено вами",
|
|
277
291
|
"a11y/Voice message recording. Hold to record.": "Запись голосового сообщения. Удерживайте, чтобы записать.",
|
|
292
|
+
"a11y/and {{count}} more reactions": "и ещё {{count}} реакций",
|
|
293
|
+
"a11y/you reacted": "вы отреагировали",
|
|
278
294
|
"a11y/{{count}} new messages": "{{count}} новых сообщений",
|
|
279
295
|
"a11y/Add attachment": "Add attachment",
|
|
280
296
|
"a11y/Close attachments": "Close attachments",
|
|
@@ -352,12 +368,14 @@
|
|
|
352
368
|
"size limit": "лимит размера",
|
|
353
369
|
"unknown error": "неизвестная ошибка",
|
|
354
370
|
"unsupported file type": "неподдерживаемый тип файла",
|
|
355
|
-
"a11y/Activate to view results": "Активируйте, чтобы увидеть результаты",
|
|
356
|
-
"a11y/End vote": "Завершить голосование",
|
|
357
|
-
"a11y/Show all options": "Показать все варианты",
|
|
358
|
-
"a11y/Vote on {{option}}": "Голосовать за {{option}}",
|
|
359
371
|
"a11y/Double tap and hold to activate contextual menu": "Дважды коснитесь и удерживайте, чтобы открыть контекстное меню",
|
|
360
372
|
"a11y/Swipe right to go through different actions": "Смахните вправо, чтобы переключаться между действиями",
|
|
361
373
|
"a11y/Close": "Close",
|
|
362
|
-
"a11y/Bottom sheet opened. Activate the close action or use the escape gesture to dismiss.": "Bottom sheet opened. Activate the close action or use the escape gesture to dismiss."
|
|
374
|
+
"a11y/Bottom sheet opened. Activate the close action or use the escape gesture to dismiss.": "Bottom sheet opened. Activate the close action or use the escape gesture to dismiss.",
|
|
375
|
+
"a11y/{{count}} unread messages": "{{count}} непрочитанных сообщений",
|
|
376
|
+
"a11y/Message from you": "Сообщение от вас",
|
|
377
|
+
"a11y/Message from {{sender}}": "Сообщение от {{sender}}",
|
|
378
|
+
"a11y/Gallery Image": "Изображение из галереи",
|
|
379
|
+
"a11y/Gallery Video": "Видео из галереи",
|
|
380
|
+
"a11y/{{position}} of {{count}}": "{{position}} из {{count}}"
|
|
363
381
|
}
|
|
@@ -253,20 +253,33 @@
|
|
|
253
253
|
"a11y/AI is generating": "Yapay zeka oluşturuyor",
|
|
254
254
|
"a11y/AI is thinking": "Yapay zeka düşünüyor",
|
|
255
255
|
"a11y/Avatar of {{name}}": "{{name}} avatarı",
|
|
256
|
+
"a11y/Channel with {{count}} members": "{{count}} üyeli kanal",
|
|
256
257
|
"a11y/Connected": "Bağlandı",
|
|
257
|
-
"a11y/Delivered": "
|
|
258
|
+
"a11y/Delivered": "İletildi",
|
|
259
|
+
"a11y/Delivered, sent by you": "İletildi, sizin tarafınızdan gönderildi",
|
|
260
|
+
"a11y/Direct chat with {{name}}": "{{name}} ile doğrudan sohbet",
|
|
261
|
+
"a11y/Double tap to open": "Açmak için iki kez dokun",
|
|
262
|
+
"a11y/Double tap to view reactions": "Tepkileri görmek için iki kez dokun",
|
|
263
|
+
"a11y/Double tap to view thread": "Konuyu görmek için iki kez dokun",
|
|
264
|
+
"a11y/Editing message": "Mesaj düzenleniyor",
|
|
265
|
+
"a11y/Editing message: {{text}}": "Mesaj düzenleniyor: {{text}}",
|
|
266
|
+
"a11y/Last message {{date}}": "Son mesaj {{date}}",
|
|
258
267
|
"a11y/Loading": "Yükleniyor",
|
|
259
268
|
"a11y/Loading failed": "Yükleme başarısız",
|
|
260
269
|
"a11y/Message actions": "Mesaj eylemleri",
|
|
270
|
+
"a11y/Muted": "Sessize alındı",
|
|
261
271
|
"a11y/New message from {{user}}": "{{user}} kullanıcısından yeni mesaj",
|
|
262
272
|
"a11y/Offline": "Çevrimdışı",
|
|
263
273
|
"a11y/Open message actions": "Mesaj eylemlerini aç",
|
|
264
274
|
"a11y/Reaction {{emoji}} by {{count}} users": "{{count}} kullanıcıdan {{emoji}} tepkisi",
|
|
265
275
|
"a11y/Read": "Okundu",
|
|
276
|
+
"a11y/Read, sent by you": "Okundu, sizin tarafınızdan gönderildi",
|
|
266
277
|
"a11y/Reconnecting": "Yeniden bağlanıyor",
|
|
267
278
|
"a11y/Reply to {{user}}": "{{user}} kullanıcısına yanıt ver",
|
|
268
279
|
"a11y/Remove edit": "Düzenlemeyi kaldır",
|
|
269
280
|
"a11y/Remove reply": "Yanıtı kaldır",
|
|
281
|
+
"a11y/Replying to {{user}}": "{{user}} kullanıcısına yanıt veriliyor",
|
|
282
|
+
"a11y/Replying to {{user}}: {{text}}": "{{user}} kullanıcısına yanıt veriliyor: {{text}}",
|
|
270
283
|
"a11y/Scroll to bottom": "En alta git",
|
|
271
284
|
"a11y/Scroll to bottom, {{count}} new messages": "En alta git, {{count}} yeni mesaj",
|
|
272
285
|
"a11y/Scroll to latest": "En son mesaja git",
|
|
@@ -274,7 +287,10 @@
|
|
|
274
287
|
"a11y/Send message": "Mesaj gönder",
|
|
275
288
|
"a11y/Sending": "Gönderiliyor",
|
|
276
289
|
"a11y/Sent": "Gönderildi",
|
|
290
|
+
"a11y/Sent by you": "Sizin tarafınızdan gönderildi",
|
|
277
291
|
"a11y/Voice message recording. Hold to record.": "Sesli mesaj kaydı. Kaydetmek için basılı tutun.",
|
|
292
|
+
"a11y/and {{count}} more reactions": "ve {{count}} tepki daha",
|
|
293
|
+
"a11y/you reacted": "siz tepki verdiniz",
|
|
278
294
|
"a11y/{{count}} new messages": "{{count}} yeni mesaj",
|
|
279
295
|
"a11y/Add attachment": "Add attachment",
|
|
280
296
|
"a11y/Close attachments": "Close attachments",
|
|
@@ -352,12 +368,14 @@
|
|
|
352
368
|
"size limit": "boyut sınırı",
|
|
353
369
|
"unknown error": "bilinmeyen hata",
|
|
354
370
|
"unsupported file type": "desteklenmeyen dosya türü",
|
|
355
|
-
"a11y/Activate to view results": "Sonuçları görmek için etkinleştir",
|
|
356
|
-
"a11y/End vote": "Oylamayı sonlandır",
|
|
357
|
-
"a11y/Show all options": "Tüm seçenekleri göster",
|
|
358
|
-
"a11y/Vote on {{option}}": "{{option}} için oy ver",
|
|
359
371
|
"a11y/Double tap and hold to activate contextual menu": "Bağlam menüsünü etkinleştirmek için çift dokunup basılı tut",
|
|
360
372
|
"a11y/Swipe right to go through different actions": "Farklı eylemler arasında geçiş yapmak için sağa kaydır",
|
|
361
373
|
"a11y/Close": "Close",
|
|
362
|
-
"a11y/Bottom sheet opened. Activate the close action or use the escape gesture to dismiss.": "Bottom sheet opened. Activate the close action or use the escape gesture to dismiss."
|
|
374
|
+
"a11y/Bottom sheet opened. Activate the close action or use the escape gesture to dismiss.": "Bottom sheet opened. Activate the close action or use the escape gesture to dismiss.",
|
|
375
|
+
"a11y/{{count}} unread messages": "{{count}} okunmamış mesaj",
|
|
376
|
+
"a11y/Message from you": "Senden mesaj",
|
|
377
|
+
"a11y/Message from {{sender}}": "{{sender}} kullanıcısından mesaj",
|
|
378
|
+
"a11y/Gallery Image": "Galeri görüntüsü",
|
|
379
|
+
"a11y/Gallery Video": "Galeri videosu",
|
|
380
|
+
"a11y/{{position}} of {{count}}": "{{count}} öğeden {{position}}"
|
|
363
381
|
}
|
|
@@ -19,6 +19,7 @@ export type ImageGalleryState = {
|
|
|
19
19
|
messages: LocalMessage[];
|
|
20
20
|
selectedAttachmentUrl?: string;
|
|
21
21
|
currentIndex: number;
|
|
22
|
+
requesterNode: number | null;
|
|
22
23
|
};
|
|
23
24
|
export type ImageGalleryOptions = {
|
|
24
25
|
autoPlayVideo?: boolean;
|
|
@@ -31,6 +32,7 @@ export declare class ImageGalleryStateStore {
|
|
|
31
32
|
constructor(options?: Partial<ImageGalleryOptions>);
|
|
32
33
|
get messages(): LocalMessage[];
|
|
33
34
|
get selectedAttachmentUrl(): string | undefined;
|
|
35
|
+
get requesterNode(): number | null;
|
|
34
36
|
get attachmentsWithMessage(): {
|
|
35
37
|
attachments: Attachment[];
|
|
36
38
|
message: LocalMessage;
|
|
@@ -53,10 +55,12 @@ export declare class ImageGalleryStateStore {
|
|
|
53
55
|
set messages(messages: LocalMessage[]);
|
|
54
56
|
set selectedAttachmentUrl(selectedAttachmentUrl: string | undefined);
|
|
55
57
|
set currentIndex(currentIndex: number);
|
|
58
|
+
set requesterNode(requesterNode: number | null);
|
|
56
59
|
appendMessages: (messages: LocalMessage[]) => void;
|
|
57
60
|
removeMessages: (messages: LocalMessage[]) => void;
|
|
58
|
-
openImageGallery: ({ messages, selectedAttachmentUrl, }: {
|
|
61
|
+
openImageGallery: ({ messages, requesterNode, selectedAttachmentUrl, }: {
|
|
59
62
|
messages: LocalMessage[];
|
|
63
|
+
requesterNode?: number | null;
|
|
60
64
|
selectedAttachmentUrl?: string;
|
|
61
65
|
}) => void;
|
|
62
66
|
subscribeToMessages: () => Unsubscribe;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"image-gallery-state-store.d.ts","sourceRoot":"","sources":["../../../src/state-store/image-gallery-state-store.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,UAAU,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAE9F,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAOtD,MAAM,MAAM,iBAAiB,GAAG;IAC9B,EAAE,EAAE,MAAM,CAAC;IACX,GAAG,EAAE,MAAM,CAAC;IACZ,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,YAAY,GAAG,IAAI,CAAC;IAC3B,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAgBF,MAAM,MAAM,iBA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M,WAAW,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC,CAAC;CACvD,CAAC;AAOF,qBAAa,sBAAsB;IACjC,KAAK,EAAE,UAAU,CAAC,iBAAiB,CAAC,CAAC;IACrC,OAAO,EAAE,mBAAmB,CAAC;IAC7B,eAAe,EAAE,eAAe,CAAC;gBAErB,OAAO,GAAE,OAAO,CAAC,mBAAmB,CAAM;IAOtD,IAAI,QAAQ,IAuEW,YAAY,EAAE,CArEpC;IAED,IAAI,qBAAqB,IAuEwB,MAAM,GAAG,SAAS,CArElE;IAED,IAAI,aAAa,IA2EgB,MAAM,GAAG,IAAI,CAzE7C;IAED,IAAI,sBAAsB;;;QAsBzB;IAED,UAAU,CAAC,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM;IAI9C,IAAI,MAAM;;;;;;;;;;;;;QA4BT;IAGD,IAAI,QAAQ,CAAC,QAAQ,EAAE,YAAY,EAAE,EAEpC;IAED,IAAI,qBAAqB,CAAC,qBAAqB,EAAE,MAAM,GAAG,SAAS,EAElE;IAED,IAAI,YAAY,CAAC,YAAY,EAAE,MAAM,EAEpC;IAED,IAAI,aAAa,CAAC,aAAa,EAAE,MAAM,GAAG,IAAI,EAE7C;IAGD,cAAc,GAAI,UAAU,YAAY,EAAE,UAExC;IAEF,cAAc,GAAI,UAAU,YAAY,EAAE,UAIxC;IAEF,gBAAgB,GAAI,qDAIjB;QACD,QAAQ,EAAE,YAAY,EAAE,CAAC;QACzB,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QAC9B,qBAAqB,CAAC,EAAE,MAAM,CAAC;KAChC,UAEC;IAEF,mBAAmB,oBAYjB;IAEF,gCAAgC,oBAmB9B;IAEF,qBAAqB,mBASnB;IAEF,KAAK,aAGH;CACH"}
|
|
@@ -389,20 +389,35 @@ export declare class Streami18n {
|
|
|
389
389
|
"a11y/AI is generating": string;
|
|
390
390
|
"a11y/AI is thinking": string;
|
|
391
391
|
"a11y/Avatar of {{name}}": string;
|
|
392
|
+
"a11y/Channel with {{count}} members": string;
|
|
392
393
|
"a11y/Connected": string;
|
|
393
394
|
"a11y/Delivered": string;
|
|
395
|
+
"a11y/Delivered, sent by you": string;
|
|
396
|
+
"a11y/Direct chat with {{name}}": string;
|
|
397
|
+
"a11y/Double tap to open": string;
|
|
398
|
+
"a11y/Double tap to view reactions": string;
|
|
399
|
+
"a11y/Double tap to view thread": string;
|
|
400
|
+
"a11y/Editing message": string;
|
|
401
|
+
"a11y/Editing message: {{text}}": string;
|
|
402
|
+
"a11y/Last message {{date}}": string;
|
|
394
403
|
"a11y/Loading": string;
|
|
395
404
|
"a11y/Loading failed": string;
|
|
396
405
|
"a11y/Message actions": string;
|
|
406
|
+
"a11y/Message from you": string;
|
|
407
|
+
"a11y/Message from {{sender}}": string;
|
|
408
|
+
"a11y/Muted": string;
|
|
397
409
|
"a11y/New message from {{user}}": string;
|
|
398
410
|
"a11y/Offline": string;
|
|
399
411
|
"a11y/Open message actions": string;
|
|
400
412
|
"a11y/Reaction {{emoji}} by {{count}} users": string;
|
|
401
413
|
"a11y/Read": string;
|
|
414
|
+
"a11y/Read, sent by you": string;
|
|
402
415
|
"a11y/Reconnecting": string;
|
|
403
416
|
"a11y/Reply to {{user}}": string;
|
|
404
417
|
"a11y/Remove edit": string;
|
|
405
418
|
"a11y/Remove reply": string;
|
|
419
|
+
"a11y/Replying to {{user}}": string;
|
|
420
|
+
"a11y/Replying to {{user}}: {{text}}": string;
|
|
406
421
|
"a11y/Scroll to bottom": string;
|
|
407
422
|
"a11y/Scroll to bottom, {{count}} new messages": string;
|
|
408
423
|
"a11y/Scroll to latest": string;
|
|
@@ -410,7 +425,10 @@ export declare class Streami18n {
|
|
|
410
425
|
"a11y/Send message": string;
|
|
411
426
|
"a11y/Sending": string;
|
|
412
427
|
"a11y/Sent": string;
|
|
428
|
+
"a11y/Sent by you": string;
|
|
413
429
|
"a11y/Voice message recording. Hold to record.": string;
|
|
430
|
+
"a11y/and {{count}} more reactions": string;
|
|
431
|
+
"a11y/you reacted": string;
|
|
414
432
|
"a11y/{{count}} new messages": string;
|
|
415
433
|
"a11y/Add attachment": string;
|
|
416
434
|
"a11y/Close attachments": string;
|
|
@@ -444,14 +462,10 @@ export declare class Streami18n {
|
|
|
444
462
|
"a11y/Stop voice recording": string;
|
|
445
463
|
"a11y/Notifications": string;
|
|
446
464
|
"a11y/Dismiss notification": string;
|
|
447
|
-
"a11y/Activate to view results": string;
|
|
448
465
|
"a11y/Bottom sheet opened. Activate the close action or use the escape gesture to dismiss.": string;
|
|
449
466
|
"a11y/Close": string;
|
|
450
467
|
"a11y/Double tap and hold to activate contextual menu": string;
|
|
451
|
-
"a11y/End vote": string;
|
|
452
|
-
"a11y/Show all options": string;
|
|
453
468
|
"a11y/Swipe right to go through different actions": string;
|
|
454
|
-
"a11y/Vote on {{option}}": string;
|
|
455
469
|
"Attachment upload blocked due to {{reason}}": string;
|
|
456
470
|
"Attachment upload failed due to {{reason}}": string;
|
|
457
471
|
"Command not available": string;
|
|
@@ -496,6 +510,10 @@ export declare class Streami18n {
|
|
|
496
510
|
"size limit": string;
|
|
497
511
|
"unknown error": string;
|
|
498
512
|
"unsupported file type": string;
|
|
513
|
+
"a11y/{{count}} unread messages": string;
|
|
514
|
+
"a11y/Gallery Image": string;
|
|
515
|
+
"a11y/Gallery Video": string;
|
|
516
|
+
"a11y/{{position}} of {{count}}": string;
|
|
499
517
|
}>;
|
|
500
518
|
};
|
|
501
519
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Streami18n.d.ts","sourceRoot":"","sources":["../../../../src/utils/i18n/Streami18n.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAQ1B,OAAa,EAAE,KAAK,IAAI,IAAI,YAAY,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAElF,OAAO,KAAK,cAAc,MAAM,iBAAiB,CAAC;AAIlD,OAAO,EAAE,gBAAgB,E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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAA2B;IAE1C;;OAEG;IACG,cAAc;;;;IAmBpB;;OAEG;IACH,mBAAmB,CACjB,QAAQ,EAAE,MAAM,EAChB,WAAW,EAAE,OAAO,CAAC,OAAO,cAAc,CAAC,EAC3C,iBAAiB,CAAC,EAAE,OAAO,CAAC,OAAO,CAAC;IA+BtC,iBAAiB,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,OAAO,CAAC;IASvD;;;OAGG;IACG,WAAW,CAAC,QAAQ,EAAE,MAAM;IAsBlC,2BAA2B,CAAC,QAAQ,EAAE,CAAC,CAAC,EAAE,SAAS,KAAK,IAAI;;;IAW5D,8BAA8B,CAAC,QAAQ,EAAE,CAAC,CAAC,EAAE,SAAS,KAAK,IAAI;;;IAW/D,iBAAiB,CAAC,SAAS,EAAE,SAAS;CAQvC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { TranslationLanguages } from 'stream-chat';
|
|
1
2
|
import { TimestampFormatterOptions } from './types';
|
|
2
3
|
import { TranslatorFunctions } from '../../contexts/translationContext';
|
|
3
4
|
type DateFormatterOptions = TimestampFormatterOptions & Partial<TranslatorFunctions> & {
|
|
@@ -12,5 +13,32 @@ export declare const noParsingFunctionWarning = "MessageTimestamp was called but
|
|
|
12
13
|
* Utility function to format the date string.
|
|
13
14
|
*/
|
|
14
15
|
export declare function getDateString({ calendar, calendarFormats, date, format, t, tDateTimeParser, timestampTranslationKey, }: DateFormatterOptions): string | number | undefined;
|
|
16
|
+
type DateStringForA11yOptions = {
|
|
17
|
+
/**
|
|
18
|
+
* Optional calendar-format overrides applied on top of the locale defaults
|
|
19
|
+
* and the SDK's `sameElse: 'LL'` substitution. Use this when the visible
|
|
20
|
+
* date format diverges from the locale defaults (e.g. ChannelPreviewStatus
|
|
21
|
+
* uses `sameDay: 'LT'` to show the time instead of "Today").
|
|
22
|
+
*/
|
|
23
|
+
calendarFormatOverrides?: Partial<{
|
|
24
|
+
lastDay: string;
|
|
25
|
+
lastWeek: string;
|
|
26
|
+
nextDay: string;
|
|
27
|
+
nextWeek: string;
|
|
28
|
+
sameDay: string;
|
|
29
|
+
sameElse: string;
|
|
30
|
+
}>;
|
|
31
|
+
date?: string | Date;
|
|
32
|
+
tDateTimeParser?: TranslatorFunctions['tDateTimeParser'];
|
|
33
|
+
userLanguage?: TranslationLanguages;
|
|
34
|
+
};
|
|
35
|
+
/**
|
|
36
|
+
* Produce a TTS-friendly calendar string. iOS VoiceOver reads numeric dates
|
|
37
|
+
* like "04/08/2026" character-by-character; substituting `LL` ("April 8, 2026")
|
|
38
|
+
* for the calendar `sameElse` slot fixes that. The relative slots
|
|
39
|
+
* (sameDay/lastDay/nextDay/lastWeek/nextWeek) are preserved from the locale,
|
|
40
|
+
* so "Today"/"Yesterday"/weekday names still come through.
|
|
41
|
+
*/
|
|
42
|
+
export declare const getDateStringForA11y: ({ calendarFormatOverrides, date, tDateTimeParser, userLanguage, }: DateStringForA11yOptions) => string | undefined;
|
|
15
43
|
export {};
|
|
16
44
|
//# sourceMappingURL=getDateString.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getDateString.d.ts","sourceRoot":"","sources":["../../../../src/utils/i18n/getDateString.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EA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AE,OAAO,CAAC;QAChC,OAAO,EAAE,MAAM,CAAC;QAChB,QAAQ,EAAE,MAAM,CAAC;QACjB,OAAO,EAAE,MAAM,CAAC;QAChB,QAAQ,EAAE,MAAM,CAAC;QACjB,OAAO,EAAE,MAAM,CAAC;QAChB,QAAQ,EAAE,MAAM,CAAC;KAClB,CAAC,CAAC;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,eAAe,CAAC,EAAE,mBAAmB,CAAC,iBAAiB,CAAC,CAAC;IACzD,YAAY,CAAC,EAAE,oBAAoB,CAAC;CACrC,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,oBAAoB,GAAI,mEAKlC,wBAAwB,KAAG,MAAM,GAAG,SAoBtC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "stream-chat-react-native-core",
|
|
3
3
|
"description": "The official React Native and Expo components for Stream Chat, a service for building chat applications",
|
|
4
|
-
"version": "9.3.1-beta.
|
|
4
|
+
"version": "9.3.1-beta.8",
|
|
5
5
|
"author": {
|
|
6
6
|
"company": "Stream.io Inc",
|
|
7
7
|
"name": "Stream.io Inc"
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { useEffect, useRef } from 'react';
|
|
2
|
+
|
|
3
|
+
import { useAccessibilityAnnouncer } from '../../components/Accessibility/useAccessibilityAnnouncer';
|
|
4
|
+
|
|
5
|
+
type Options = {
|
|
6
|
+
/** Delay before the announcement fires; lets entrance animations settle. */
|
|
7
|
+
delayMs?: number;
|
|
8
|
+
priority?: 'polite' | 'assertive';
|
|
9
|
+
};
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Announces `message` once each time `visible` flips from false to true.
|
|
13
|
+
* Resets when `visible` flips back to false, so the next show re-announces —
|
|
14
|
+
* unlike `useAnnounceOnStateChange`, which announces on string change and
|
|
15
|
+
* dedupes consecutive identical strings.
|
|
16
|
+
*
|
|
17
|
+
* Use this for transient surfaces that appear and disappear repeatedly within
|
|
18
|
+
* a session (modals, autocomplete pickers, bottom sheets) where the user
|
|
19
|
+
* benefits from hearing the affordance on every reappearance.
|
|
20
|
+
*
|
|
21
|
+
* When `message` is undefined (typically because `useA11yLabel` returned
|
|
22
|
+
* undefined — a11y disabled or key missing), the hook is a no-op.
|
|
23
|
+
*/
|
|
24
|
+
export const useAnnounceOnShow = (
|
|
25
|
+
visible: boolean,
|
|
26
|
+
message: string | undefined,
|
|
27
|
+
{ delayMs = 500, priority = 'polite' }: Options = {},
|
|
28
|
+
) => {
|
|
29
|
+
const announce = useAccessibilityAnnouncer();
|
|
30
|
+
const announcedRef = useRef(false);
|
|
31
|
+
|
|
32
|
+
useEffect(() => {
|
|
33
|
+
if (!visible) {
|
|
34
|
+
announcedRef.current = false;
|
|
35
|
+
return;
|
|
36
|
+
}
|
|
37
|
+
if (!message || announcedRef.current) return;
|
|
38
|
+
const id = setTimeout(() => {
|
|
39
|
+
announce(message, priority);
|
|
40
|
+
announcedRef.current = true;
|
|
41
|
+
}, delayMs);
|
|
42
|
+
return () => clearTimeout(id);
|
|
43
|
+
}, [visible, message, announce, priority, delayMs]);
|
|
44
|
+
};
|
package/src/a11y/index.ts
CHANGED
|
@@ -3,5 +3,6 @@ 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';
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import React, { PropsWithChildren } from 'react';
|
|
2
|
+
import { View } from 'react-native';
|
|
3
|
+
|
|
4
|
+
import { HiddenA11yText } from './HiddenA11yText';
|
|
5
|
+
|
|
6
|
+
export type CompositeAccessibilityProbeProps = {
|
|
7
|
+
/**
|
|
8
|
+
* The accessibility label that VoiceOver / TalkBack should announce for the
|
|
9
|
+
* wrapped content. When `undefined`, the probe is a no-op and the children
|
|
10
|
+
* render with no a11y modifications — use this to skip the wrapper when the
|
|
11
|
+
* SDK's a11y opt-in is off.
|
|
12
|
+
*/
|
|
13
|
+
label: string | undefined;
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Wraps decorative visual content with a single, cross platform stable
|
|
18
|
+
* accessibility focus stop carrying the provided `label`.
|
|
19
|
+
*
|
|
20
|
+
* iOS auto collapses descendants when a parent View is `accessible`, but on
|
|
21
|
+
* Android `importantForAccessibility='no-hide-descendants'` on the parent
|
|
22
|
+
* gets defeated by deeply nested descendants that set their own
|
|
23
|
+
* `accessible={true}` (our SDK's `<Avatar>` does this). A zero size accessible
|
|
24
|
+
* `<Text>` sidesteps that - Text is always accessible by default on both
|
|
25
|
+
* platforms and carries the label cleanly, while the visual subtree is
|
|
26
|
+
* marked decorative. More importantly, it's discoverable very very easily
|
|
27
|
+
* by screen readers.
|
|
28
|
+
*
|
|
29
|
+
* Use this anywhere you have non-Text visual content (avatars, icons,
|
|
30
|
+
* composed graphics) that should announce as a single semantic unit with a
|
|
31
|
+
* curated label, rather than letting screen readers walk the visual tree
|
|
32
|
+
* verbosely.
|
|
33
|
+
*/
|
|
34
|
+
export const CompositeAccessibilityProbe = ({
|
|
35
|
+
children,
|
|
36
|
+
label,
|
|
37
|
+
}: PropsWithChildren<CompositeAccessibilityProbeProps>) => {
|
|
38
|
+
if (!label) return <>{children}</>;
|
|
39
|
+
|
|
40
|
+
return (
|
|
41
|
+
<>
|
|
42
|
+
<HiddenA11yText label={label} />
|
|
43
|
+
<View accessibilityElementsHidden importantForAccessibility='no-hide-descendants'>
|
|
44
|
+
{children}
|
|
45
|
+
</View>
|
|
46
|
+
</>
|
|
47
|
+
);
|
|
48
|
+
};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { StyleSheet, Text } from 'react-native';
|
|
3
|
+
|
|
4
|
+
export type HiddenA11yTextProps = {
|
|
5
|
+
/**
|
|
6
|
+
* The text to inject into the accessibility tree. Rendered as actual Text
|
|
7
|
+
* content (not as `accessibilityLabel`) so the parent's compose loop on
|
|
8
|
+
* Android picks it up — Text without its own label isn't
|
|
9
|
+
* `isAccessibilityFocusable`, so it gets concatenated into the parent's
|
|
10
|
+
* announcement rather than being skipped as a drill-in target.
|
|
11
|
+
*
|
|
12
|
+
* Pass the result of `useA11yLabel(...)` directly: when SDK a11y is
|
|
13
|
+
* opt-out the value is `undefined` and the component renders nothing.
|
|
14
|
+
*/
|
|
15
|
+
label: string | undefined;
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* A visually invisible Text that exists only to contribute extra information
|
|
20
|
+
* to a screen reader's announcement. Use it inside a parent that auto-composes
|
|
21
|
+
* descendant labels (Pressable, or any View with `accessible` + `accessibilityRole`)
|
|
22
|
+
* to splice in supplementary state like "you reacted", "and N more", etc.
|
|
23
|
+
*
|
|
24
|
+
* Not for "this whole element should be one focus stop with a curated label" -
|
|
25
|
+
* use `CompositeAccessibilityProbe` for that.
|
|
26
|
+
*/
|
|
27
|
+
export const HiddenA11yText = ({ label }: HiddenA11yTextProps) => {
|
|
28
|
+
if (!label) return null;
|
|
29
|
+
// Both content and accessibilityLabel are set to the same string. Content
|
|
30
|
+
// keeps the Text on the parent's compose loop (label-only would make it
|
|
31
|
+
// `isAccessibilityFocusable` and potentially skipped on Android — though
|
|
32
|
+
// the opacity:0 hidden style usually saves it). accessibilityLabel keeps
|
|
33
|
+
// testing-library `getByLabelText(...)` queries working.
|
|
34
|
+
return (
|
|
35
|
+
<Text accessibilityLabel={label} style={styles.hidden}>
|
|
36
|
+
{label}
|
|
37
|
+
</Text>
|
|
38
|
+
);
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
const styles = StyleSheet.create({
|
|
42
|
+
hidden: {
|
|
43
|
+
height: 1,
|
|
44
|
+
opacity: 0,
|
|
45
|
+
overflow: 'hidden',
|
|
46
|
+
position: 'absolute',
|
|
47
|
+
width: 1,
|
|
48
|
+
},
|
|
49
|
+
});
|