stream-chat-react-native-core 9.1.3 → 9.2.0-beta.2

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.
Files changed (466) hide show
  1. package/lib/commonjs/a11y/a11yUtils.js +40 -0
  2. package/lib/commonjs/a11y/a11yUtils.js.map +1 -0
  3. package/lib/commonjs/a11y/hooks/useA11yLabel.js +16 -0
  4. package/lib/commonjs/a11y/hooks/useA11yLabel.js.map +1 -0
  5. package/lib/commonjs/a11y/hooks/useAccessibilityActivateAction.js +25 -0
  6. package/lib/commonjs/a11y/hooks/useAccessibilityActivateAction.js.map +1 -0
  7. package/lib/commonjs/a11y/hooks/useAnnounceOnStateChange.js +36 -0
  8. package/lib/commonjs/a11y/hooks/useAnnounceOnStateChange.js.map +1 -0
  9. package/lib/commonjs/a11y/hooks/useReducedMotionPreference.js +34 -0
  10. package/lib/commonjs/a11y/hooks/useReducedMotionPreference.js.map +1 -0
  11. package/lib/commonjs/a11y/hooks/useResolvedModalAccessibilityProps.js +20 -0
  12. package/lib/commonjs/a11y/hooks/useResolvedModalAccessibilityProps.js.map +1 -0
  13. package/lib/commonjs/a11y/hooks/useScreenReaderEnabled.js +37 -0
  14. package/lib/commonjs/a11y/hooks/useScreenReaderEnabled.js.map +1 -0
  15. package/lib/commonjs/a11y/index.js +81 -0
  16. package/lib/commonjs/a11y/index.js.map +1 -0
  17. package/lib/commonjs/components/AITypingIndicatorView/AITypingIndicatorView.js +10 -0
  18. package/lib/commonjs/components/AITypingIndicatorView/AITypingIndicatorView.js.map +1 -1
  19. package/lib/commonjs/components/Accessibility/NotificationAnnouncer.js +37 -0
  20. package/lib/commonjs/components/Accessibility/NotificationAnnouncer.js.map +1 -0
  21. package/lib/commonjs/components/Accessibility/hooks/useIncomingMessageAnnouncements.js +109 -0
  22. package/lib/commonjs/components/Accessibility/hooks/useIncomingMessageAnnouncements.js.map +1 -0
  23. package/lib/commonjs/components/Accessibility/index.js +37 -0
  24. package/lib/commonjs/components/Accessibility/index.js.map +1 -0
  25. package/lib/commonjs/components/Accessibility/useAccessibilityAnnouncer.js +15 -0
  26. package/lib/commonjs/components/Accessibility/useAccessibilityAnnouncer.js.map +1 -0
  27. package/lib/commonjs/components/AttachmentPicker/AttachmentPicker.js +20 -0
  28. package/lib/commonjs/components/AttachmentPicker/AttachmentPicker.js.map +1 -1
  29. package/lib/commonjs/components/AttachmentPicker/components/AttachmentMediaPicker/AttachmentMediaPicker.js +1 -0
  30. package/lib/commonjs/components/AttachmentPicker/components/AttachmentMediaPicker/AttachmentMediaPicker.js.map +1 -1
  31. package/lib/commonjs/components/AttachmentPicker/components/AttachmentMediaPicker/AttachmentPickerItem.js +19 -2
  32. package/lib/commonjs/components/AttachmentPicker/components/AttachmentMediaPicker/AttachmentPickerItem.js.map +1 -1
  33. package/lib/commonjs/components/AttachmentPicker/components/AttachmentPickerContent.js +2 -1
  34. package/lib/commonjs/components/AttachmentPicker/components/AttachmentPickerContent.js.map +1 -1
  35. package/lib/commonjs/components/AttachmentPicker/components/AttachmentTypePickerButton.js +9 -1
  36. package/lib/commonjs/components/AttachmentPicker/components/AttachmentTypePickerButton.js.map +1 -1
  37. package/lib/commonjs/components/Channel/Channel.js +2 -1
  38. package/lib/commonjs/components/Channel/Channel.js.map +1 -1
  39. package/lib/commonjs/components/ChannelPreview/ChannelMessagePreviewDeliveryStatus.js +4 -0
  40. package/lib/commonjs/components/ChannelPreview/ChannelMessagePreviewDeliveryStatus.js.map +1 -1
  41. package/lib/commonjs/components/ImageGallery/components/ImageGalleryFooter.js +2 -2
  42. package/lib/commonjs/components/ImageGallery/components/ImageGalleryFooter.js.map +1 -1
  43. package/lib/commonjs/components/ImageGallery/components/ImageGalleryHeader.js +1 -1
  44. package/lib/commonjs/components/ImageGallery/components/ImageGalleryHeader.js.map +1 -1
  45. package/lib/commonjs/components/ImageGallery/components/ImageGalleryVideoControl.js +1 -1
  46. package/lib/commonjs/components/ImageGallery/components/ImageGalleryVideoControl.js.map +1 -1
  47. package/lib/commonjs/components/Indicators/LoadingDots.js +2 -0
  48. package/lib/commonjs/components/Indicators/LoadingDots.js.map +1 -1
  49. package/lib/commonjs/components/Indicators/LoadingErrorIndicator.js +3 -0
  50. package/lib/commonjs/components/Indicators/LoadingErrorIndicator.js.map +1 -1
  51. package/lib/commonjs/components/Indicators/LoadingIndicator.js +2 -0
  52. package/lib/commonjs/components/Indicators/LoadingIndicator.js.map +1 -1
  53. package/lib/commonjs/components/MessageInput/components/AttachmentPreview/AttachmentRemoveControl.js +16 -4
  54. package/lib/commonjs/components/MessageInput/components/AttachmentPreview/AttachmentRemoveControl.js.map +1 -1
  55. package/lib/commonjs/components/MessageInput/components/AudioRecorder/AudioRecorder.js +3 -0
  56. package/lib/commonjs/components/MessageInput/components/AudioRecorder/AudioRecorder.js.map +1 -1
  57. package/lib/commonjs/components/MessageInput/components/AudioRecorder/AudioRecordingButton.js +5 -0
  58. package/lib/commonjs/components/MessageInput/components/AudioRecorder/AudioRecordingButton.js.map +1 -1
  59. package/lib/commonjs/components/MessageInput/components/InputButtons/AttachButton.js +12 -3
  60. package/lib/commonjs/components/MessageInput/components/InputButtons/AttachButton.js.map +1 -1
  61. package/lib/commonjs/components/MessageInput/components/OutputButtons/EditButton.js +1 -0
  62. package/lib/commonjs/components/MessageInput/components/OutputButtons/EditButton.js.map +1 -1
  63. package/lib/commonjs/components/MessageInput/components/OutputButtons/SendButton.js +1 -0
  64. package/lib/commonjs/components/MessageInput/components/OutputButtons/SendButton.js.map +1 -1
  65. package/lib/commonjs/components/MessageList/MessageFlashList.js +19 -2
  66. package/lib/commonjs/components/MessageList/MessageFlashList.js.map +1 -1
  67. package/lib/commonjs/components/MessageList/MessageList.js +32 -8
  68. package/lib/commonjs/components/MessageList/MessageList.js.map +1 -1
  69. package/lib/commonjs/components/MessageList/ScrollToBottomButton.js +12 -1
  70. package/lib/commonjs/components/MessageList/ScrollToBottomButton.js.map +1 -1
  71. package/lib/commonjs/components/MessageList/UnreadMessagesNotification.js +1 -0
  72. package/lib/commonjs/components/MessageList/UnreadMessagesNotification.js.map +1 -1
  73. package/lib/commonjs/components/MessageList/hooks/useScrollToBottomAccessibilityAction.js +47 -0
  74. package/lib/commonjs/components/MessageList/hooks/useScrollToBottomAccessibilityAction.js.map +1 -0
  75. package/lib/commonjs/components/MessageMenu/MessageActionList.js +4 -1
  76. package/lib/commonjs/components/MessageMenu/MessageActionList.js.map +1 -1
  77. package/lib/commonjs/components/MessageMenu/MessageActionListItem.js +12 -3
  78. package/lib/commonjs/components/MessageMenu/MessageActionListItem.js.map +1 -1
  79. package/lib/commonjs/components/MessageMenu/MessageReactionPicker.js +2 -0
  80. package/lib/commonjs/components/MessageMenu/MessageReactionPicker.js.map +1 -1
  81. package/lib/commonjs/components/MessageMenu/ReactionButton.js +9 -1
  82. package/lib/commonjs/components/MessageMenu/ReactionButton.js.map +1 -1
  83. package/lib/commonjs/components/Poll/components/CreatePollHeader.js +2 -0
  84. package/lib/commonjs/components/Poll/components/CreatePollHeader.js.map +1 -1
  85. package/lib/commonjs/components/Poll/components/MultipleVotesSettings.js +2 -0
  86. package/lib/commonjs/components/Poll/components/MultipleVotesSettings.js.map +1 -1
  87. package/lib/commonjs/components/Poll/components/PollModalHeader.js +1 -0
  88. package/lib/commonjs/components/Poll/components/PollModalHeader.js.map +1 -1
  89. package/lib/commonjs/components/Poll/components/PollOption.js +15 -0
  90. package/lib/commonjs/components/Poll/components/PollOption.js.map +1 -1
  91. package/lib/commonjs/components/ProgressControl/ProgressControl.js +10 -0
  92. package/lib/commonjs/components/ProgressControl/ProgressControl.js.map +1 -1
  93. package/lib/commonjs/components/Reply/Reply.js +3 -0
  94. package/lib/commonjs/components/Reply/Reply.js.map +1 -1
  95. package/lib/commonjs/components/UIComponents/BottomSheetModal.js +6 -3
  96. package/lib/commonjs/components/UIComponents/BottomSheetModal.js.map +1 -1
  97. package/lib/commonjs/components/index.js +11 -0
  98. package/lib/commonjs/components/index.js.map +1 -1
  99. package/lib/commonjs/components/ui/Avatar/Avatar.js +17 -2
  100. package/lib/commonjs/components/ui/Avatar/Avatar.js.map +1 -1
  101. package/lib/commonjs/components/ui/Avatar/ChannelAvatar.js +3 -1
  102. package/lib/commonjs/components/ui/Avatar/ChannelAvatar.js.map +1 -1
  103. package/lib/commonjs/components/ui/Avatar/UserAvatar.js +1 -0
  104. package/lib/commonjs/components/ui/Avatar/UserAvatar.js.map +1 -1
  105. package/lib/commonjs/components/ui/Button/Button.js +64 -21
  106. package/lib/commonjs/components/ui/Button/Button.js.map +1 -1
  107. package/lib/commonjs/components/ui/Input/Input.js +63 -21
  108. package/lib/commonjs/components/ui/Input/Input.js.map +1 -1
  109. package/lib/commonjs/contexts/accessibilityContext/AccessibilityContext.js +134 -0
  110. package/lib/commonjs/contexts/accessibilityContext/AccessibilityContext.js.map +1 -0
  111. package/lib/commonjs/contexts/accessibilityContext/index.js +15 -0
  112. package/lib/commonjs/contexts/accessibilityContext/index.js.map +1 -0
  113. package/lib/commonjs/contexts/index.js +11 -0
  114. package/lib/commonjs/contexts/index.js.map +1 -1
  115. package/lib/commonjs/contexts/overlayContext/OverlayContext.js.map +1 -1
  116. package/lib/commonjs/contexts/overlayContext/OverlayProvider.js +19 -14
  117. package/lib/commonjs/contexts/overlayContext/OverlayProvider.js.map +1 -1
  118. package/lib/commonjs/hooks/index.js +11 -0
  119. package/lib/commonjs/hooks/index.js.map +1 -1
  120. package/lib/commonjs/i18n/en.json +57 -1
  121. package/lib/commonjs/i18n/es.json +57 -1
  122. package/lib/commonjs/i18n/fr.json +57 -1
  123. package/lib/commonjs/i18n/he.json +57 -1
  124. package/lib/commonjs/i18n/hi.json +57 -1
  125. package/lib/commonjs/i18n/it.json +57 -1
  126. package/lib/commonjs/i18n/ja.json +57 -1
  127. package/lib/commonjs/i18n/ko.json +57 -1
  128. package/lib/commonjs/i18n/nl.json +57 -1
  129. package/lib/commonjs/i18n/pt-br.json +57 -1
  130. package/lib/commonjs/i18n/ru.json +57 -1
  131. package/lib/commonjs/i18n/tr.json +57 -1
  132. package/lib/commonjs/mock-builders/DB/mock.js +3 -1
  133. package/lib/commonjs/mock-builders/DB/mock.js.map +1 -1
  134. package/lib/commonjs/test-utils/BetterSqlite.js +3 -2
  135. package/lib/commonjs/test-utils/BetterSqlite.js.map +1 -1
  136. package/lib/commonjs/version.json +1 -1
  137. package/lib/module/a11y/a11yUtils.js +40 -0
  138. package/lib/module/a11y/a11yUtils.js.map +1 -0
  139. package/lib/module/a11y/hooks/useA11yLabel.js +16 -0
  140. package/lib/module/a11y/hooks/useA11yLabel.js.map +1 -0
  141. package/lib/module/a11y/hooks/useAccessibilityActivateAction.js +25 -0
  142. package/lib/module/a11y/hooks/useAccessibilityActivateAction.js.map +1 -0
  143. package/lib/module/a11y/hooks/useAnnounceOnStateChange.js +36 -0
  144. package/lib/module/a11y/hooks/useAnnounceOnStateChange.js.map +1 -0
  145. package/lib/module/a11y/hooks/useReducedMotionPreference.js +34 -0
  146. package/lib/module/a11y/hooks/useReducedMotionPreference.js.map +1 -0
  147. package/lib/module/a11y/hooks/useResolvedModalAccessibilityProps.js +20 -0
  148. package/lib/module/a11y/hooks/useResolvedModalAccessibilityProps.js.map +1 -0
  149. package/lib/module/a11y/hooks/useScreenReaderEnabled.js +37 -0
  150. package/lib/module/a11y/hooks/useScreenReaderEnabled.js.map +1 -0
  151. package/lib/module/a11y/index.js +81 -0
  152. package/lib/module/a11y/index.js.map +1 -0
  153. package/lib/module/components/AITypingIndicatorView/AITypingIndicatorView.js +10 -0
  154. package/lib/module/components/AITypingIndicatorView/AITypingIndicatorView.js.map +1 -1
  155. package/lib/module/components/Accessibility/NotificationAnnouncer.js +37 -0
  156. package/lib/module/components/Accessibility/NotificationAnnouncer.js.map +1 -0
  157. package/lib/module/components/Accessibility/hooks/useIncomingMessageAnnouncements.js +109 -0
  158. package/lib/module/components/Accessibility/hooks/useIncomingMessageAnnouncements.js.map +1 -0
  159. package/lib/module/components/Accessibility/index.js +37 -0
  160. package/lib/module/components/Accessibility/index.js.map +1 -0
  161. package/lib/module/components/Accessibility/useAccessibilityAnnouncer.js +15 -0
  162. package/lib/module/components/Accessibility/useAccessibilityAnnouncer.js.map +1 -0
  163. package/lib/module/components/AttachmentPicker/AttachmentPicker.js +20 -0
  164. package/lib/module/components/AttachmentPicker/AttachmentPicker.js.map +1 -1
  165. package/lib/module/components/AttachmentPicker/components/AttachmentMediaPicker/AttachmentMediaPicker.js +1 -0
  166. package/lib/module/components/AttachmentPicker/components/AttachmentMediaPicker/AttachmentMediaPicker.js.map +1 -1
  167. package/lib/module/components/AttachmentPicker/components/AttachmentMediaPicker/AttachmentPickerItem.js +19 -2
  168. package/lib/module/components/AttachmentPicker/components/AttachmentMediaPicker/AttachmentPickerItem.js.map +1 -1
  169. package/lib/module/components/AttachmentPicker/components/AttachmentPickerContent.js +2 -1
  170. package/lib/module/components/AttachmentPicker/components/AttachmentPickerContent.js.map +1 -1
  171. package/lib/module/components/AttachmentPicker/components/AttachmentTypePickerButton.js +9 -1
  172. package/lib/module/components/AttachmentPicker/components/AttachmentTypePickerButton.js.map +1 -1
  173. package/lib/module/components/Channel/Channel.js +2 -1
  174. package/lib/module/components/Channel/Channel.js.map +1 -1
  175. package/lib/module/components/ChannelPreview/ChannelMessagePreviewDeliveryStatus.js +4 -0
  176. package/lib/module/components/ChannelPreview/ChannelMessagePreviewDeliveryStatus.js.map +1 -1
  177. package/lib/module/components/ImageGallery/components/ImageGalleryFooter.js +2 -2
  178. package/lib/module/components/ImageGallery/components/ImageGalleryFooter.js.map +1 -1
  179. package/lib/module/components/ImageGallery/components/ImageGalleryHeader.js +1 -1
  180. package/lib/module/components/ImageGallery/components/ImageGalleryHeader.js.map +1 -1
  181. package/lib/module/components/ImageGallery/components/ImageGalleryVideoControl.js +1 -1
  182. package/lib/module/components/ImageGallery/components/ImageGalleryVideoControl.js.map +1 -1
  183. package/lib/module/components/Indicators/LoadingDots.js +2 -0
  184. package/lib/module/components/Indicators/LoadingDots.js.map +1 -1
  185. package/lib/module/components/Indicators/LoadingErrorIndicator.js +3 -0
  186. package/lib/module/components/Indicators/LoadingErrorIndicator.js.map +1 -1
  187. package/lib/module/components/Indicators/LoadingIndicator.js +2 -0
  188. package/lib/module/components/Indicators/LoadingIndicator.js.map +1 -1
  189. package/lib/module/components/MessageInput/components/AttachmentPreview/AttachmentRemoveControl.js +16 -4
  190. package/lib/module/components/MessageInput/components/AttachmentPreview/AttachmentRemoveControl.js.map +1 -1
  191. package/lib/module/components/MessageInput/components/AudioRecorder/AudioRecorder.js +3 -0
  192. package/lib/module/components/MessageInput/components/AudioRecorder/AudioRecorder.js.map +1 -1
  193. package/lib/module/components/MessageInput/components/AudioRecorder/AudioRecordingButton.js +5 -0
  194. package/lib/module/components/MessageInput/components/AudioRecorder/AudioRecordingButton.js.map +1 -1
  195. package/lib/module/components/MessageInput/components/InputButtons/AttachButton.js +12 -3
  196. package/lib/module/components/MessageInput/components/InputButtons/AttachButton.js.map +1 -1
  197. package/lib/module/components/MessageInput/components/OutputButtons/EditButton.js +1 -0
  198. package/lib/module/components/MessageInput/components/OutputButtons/EditButton.js.map +1 -1
  199. package/lib/module/components/MessageInput/components/OutputButtons/SendButton.js +1 -0
  200. package/lib/module/components/MessageInput/components/OutputButtons/SendButton.js.map +1 -1
  201. package/lib/module/components/MessageList/MessageFlashList.js +19 -2
  202. package/lib/module/components/MessageList/MessageFlashList.js.map +1 -1
  203. package/lib/module/components/MessageList/MessageList.js +32 -8
  204. package/lib/module/components/MessageList/MessageList.js.map +1 -1
  205. package/lib/module/components/MessageList/ScrollToBottomButton.js +12 -1
  206. package/lib/module/components/MessageList/ScrollToBottomButton.js.map +1 -1
  207. package/lib/module/components/MessageList/UnreadMessagesNotification.js +1 -0
  208. package/lib/module/components/MessageList/UnreadMessagesNotification.js.map +1 -1
  209. package/lib/module/components/MessageList/hooks/useScrollToBottomAccessibilityAction.js +47 -0
  210. package/lib/module/components/MessageList/hooks/useScrollToBottomAccessibilityAction.js.map +1 -0
  211. package/lib/module/components/MessageMenu/MessageActionList.js +4 -1
  212. package/lib/module/components/MessageMenu/MessageActionList.js.map +1 -1
  213. package/lib/module/components/MessageMenu/MessageActionListItem.js +12 -3
  214. package/lib/module/components/MessageMenu/MessageActionListItem.js.map +1 -1
  215. package/lib/module/components/MessageMenu/MessageReactionPicker.js +2 -0
  216. package/lib/module/components/MessageMenu/MessageReactionPicker.js.map +1 -1
  217. package/lib/module/components/MessageMenu/ReactionButton.js +9 -1
  218. package/lib/module/components/MessageMenu/ReactionButton.js.map +1 -1
  219. package/lib/module/components/Poll/components/CreatePollHeader.js +2 -0
  220. package/lib/module/components/Poll/components/CreatePollHeader.js.map +1 -1
  221. package/lib/module/components/Poll/components/MultipleVotesSettings.js +2 -0
  222. package/lib/module/components/Poll/components/MultipleVotesSettings.js.map +1 -1
  223. package/lib/module/components/Poll/components/PollModalHeader.js +1 -0
  224. package/lib/module/components/Poll/components/PollModalHeader.js.map +1 -1
  225. package/lib/module/components/Poll/components/PollOption.js +15 -0
  226. package/lib/module/components/Poll/components/PollOption.js.map +1 -1
  227. package/lib/module/components/ProgressControl/ProgressControl.js +10 -0
  228. package/lib/module/components/ProgressControl/ProgressControl.js.map +1 -1
  229. package/lib/module/components/Reply/Reply.js +3 -0
  230. package/lib/module/components/Reply/Reply.js.map +1 -1
  231. package/lib/module/components/UIComponents/BottomSheetModal.js +6 -3
  232. package/lib/module/components/UIComponents/BottomSheetModal.js.map +1 -1
  233. package/lib/module/components/index.js +11 -0
  234. package/lib/module/components/index.js.map +1 -1
  235. package/lib/module/components/ui/Avatar/Avatar.js +17 -2
  236. package/lib/module/components/ui/Avatar/Avatar.js.map +1 -1
  237. package/lib/module/components/ui/Avatar/ChannelAvatar.js +3 -1
  238. package/lib/module/components/ui/Avatar/ChannelAvatar.js.map +1 -1
  239. package/lib/module/components/ui/Avatar/UserAvatar.js +1 -0
  240. package/lib/module/components/ui/Avatar/UserAvatar.js.map +1 -1
  241. package/lib/module/components/ui/Button/Button.js +64 -21
  242. package/lib/module/components/ui/Button/Button.js.map +1 -1
  243. package/lib/module/components/ui/Input/Input.js +63 -21
  244. package/lib/module/components/ui/Input/Input.js.map +1 -1
  245. package/lib/module/contexts/accessibilityContext/AccessibilityContext.js +134 -0
  246. package/lib/module/contexts/accessibilityContext/AccessibilityContext.js.map +1 -0
  247. package/lib/module/contexts/accessibilityContext/index.js +15 -0
  248. package/lib/module/contexts/accessibilityContext/index.js.map +1 -0
  249. package/lib/module/contexts/index.js +11 -0
  250. package/lib/module/contexts/index.js.map +1 -1
  251. package/lib/module/contexts/overlayContext/OverlayContext.js.map +1 -1
  252. package/lib/module/contexts/overlayContext/OverlayProvider.js +19 -14
  253. package/lib/module/contexts/overlayContext/OverlayProvider.js.map +1 -1
  254. package/lib/module/hooks/index.js +11 -0
  255. package/lib/module/hooks/index.js.map +1 -1
  256. package/lib/module/i18n/en.json +57 -1
  257. package/lib/module/i18n/es.json +57 -1
  258. package/lib/module/i18n/fr.json +57 -1
  259. package/lib/module/i18n/he.json +57 -1
  260. package/lib/module/i18n/hi.json +57 -1
  261. package/lib/module/i18n/it.json +57 -1
  262. package/lib/module/i18n/ja.json +57 -1
  263. package/lib/module/i18n/ko.json +57 -1
  264. package/lib/module/i18n/nl.json +57 -1
  265. package/lib/module/i18n/pt-br.json +57 -1
  266. package/lib/module/i18n/ru.json +57 -1
  267. package/lib/module/i18n/tr.json +57 -1
  268. package/lib/module/mock-builders/DB/mock.js +3 -1
  269. package/lib/module/mock-builders/DB/mock.js.map +1 -1
  270. package/lib/module/test-utils/BetterSqlite.js +3 -2
  271. package/lib/module/test-utils/BetterSqlite.js.map +1 -1
  272. package/lib/module/version.json +1 -1
  273. package/lib/typescript/a11y/a11yUtils.d.ts +31 -0
  274. package/lib/typescript/a11y/a11yUtils.d.ts.map +1 -0
  275. package/lib/typescript/a11y/hooks/useA11yLabel.d.ts +13 -0
  276. package/lib/typescript/a11y/hooks/useA11yLabel.d.ts.map +1 -0
  277. package/lib/typescript/a11y/hooks/useAccessibilityActivateAction.d.ts +17 -0
  278. package/lib/typescript/a11y/hooks/useAccessibilityActivateAction.d.ts.map +1 -0
  279. package/lib/typescript/a11y/hooks/useAnnounceOnStateChange.d.ts +14 -0
  280. package/lib/typescript/a11y/hooks/useAnnounceOnStateChange.d.ts.map +1 -0
  281. package/lib/typescript/a11y/hooks/useReducedMotionPreference.d.ts +6 -0
  282. package/lib/typescript/a11y/hooks/useReducedMotionPreference.d.ts.map +1 -0
  283. package/lib/typescript/a11y/hooks/useResolvedModalAccessibilityProps.d.ts +18 -0
  284. package/lib/typescript/a11y/hooks/useResolvedModalAccessibilityProps.d.ts.map +1 -0
  285. package/lib/typescript/a11y/hooks/useScreenReaderEnabled.d.ts +10 -0
  286. package/lib/typescript/a11y/hooks/useScreenReaderEnabled.d.ts.map +1 -0
  287. package/lib/typescript/a11y/index.d.ts +8 -0
  288. package/lib/typescript/a11y/index.d.ts.map +1 -0
  289. package/lib/typescript/components/AITypingIndicatorView/AITypingIndicatorView.d.ts.map +1 -1
  290. package/lib/typescript/components/Accessibility/NotificationAnnouncer.d.ts +12 -0
  291. package/lib/typescript/components/Accessibility/NotificationAnnouncer.d.ts.map +1 -0
  292. package/lib/typescript/components/Accessibility/hooks/useIncomingMessageAnnouncements.d.ts +20 -0
  293. package/lib/typescript/components/Accessibility/hooks/useIncomingMessageAnnouncements.d.ts.map +1 -0
  294. package/lib/typescript/components/Accessibility/index.d.ts +4 -0
  295. package/lib/typescript/components/Accessibility/index.d.ts.map +1 -0
  296. package/lib/typescript/components/Accessibility/useAccessibilityAnnouncer.d.ts +15 -0
  297. package/lib/typescript/components/Accessibility/useAccessibilityAnnouncer.d.ts.map +1 -0
  298. package/lib/typescript/components/AttachmentPicker/AttachmentPicker.d.ts.map +1 -1
  299. package/lib/typescript/components/AttachmentPicker/components/AttachmentMediaPicker/AttachmentMediaPicker.d.ts.map +1 -1
  300. package/lib/typescript/components/AttachmentPicker/components/AttachmentMediaPicker/AttachmentPickerItem.d.ts.map +1 -1
  301. package/lib/typescript/components/AttachmentPicker/components/AttachmentPickerContent.d.ts.map +1 -1
  302. package/lib/typescript/components/AttachmentPicker/components/AttachmentTypePickerButton.d.ts +2 -1
  303. package/lib/typescript/components/AttachmentPicker/components/AttachmentTypePickerButton.d.ts.map +1 -1
  304. package/lib/typescript/components/Channel/Channel.d.ts.map +1 -1
  305. package/lib/typescript/components/ChannelPreview/ChannelMessagePreviewDeliveryStatus.d.ts.map +1 -1
  306. package/lib/typescript/components/Indicators/LoadingDots.d.ts.map +1 -1
  307. package/lib/typescript/components/Indicators/LoadingErrorIndicator.d.ts.map +1 -1
  308. package/lib/typescript/components/MessageInput/components/AttachmentPreview/AttachmentRemoveControl.d.ts +5 -2
  309. package/lib/typescript/components/MessageInput/components/AttachmentPreview/AttachmentRemoveControl.d.ts.map +1 -1
  310. package/lib/typescript/components/MessageInput/components/AudioRecorder/AudioRecorder.d.ts.map +1 -1
  311. package/lib/typescript/components/MessageInput/components/AudioRecorder/AudioRecordingButton.d.ts.map +1 -1
  312. package/lib/typescript/components/MessageInput/components/InputButtons/AttachButton.d.ts +1 -0
  313. package/lib/typescript/components/MessageInput/components/InputButtons/AttachButton.d.ts.map +1 -1
  314. package/lib/typescript/components/MessageInput/components/OutputButtons/EditButton.d.ts.map +1 -1
  315. package/lib/typescript/components/MessageInput/components/OutputButtons/SendButton.d.ts.map +1 -1
  316. package/lib/typescript/components/MessageList/MessageFlashList.d.ts.map +1 -1
  317. package/lib/typescript/components/MessageList/MessageList.d.ts.map +1 -1
  318. package/lib/typescript/components/MessageList/ScrollToBottomButton.d.ts +2 -0
  319. package/lib/typescript/components/MessageList/ScrollToBottomButton.d.ts.map +1 -1
  320. package/lib/typescript/components/MessageList/UnreadMessagesNotification.d.ts.map +1 -1
  321. package/lib/typescript/components/MessageList/hooks/useScrollToBottomAccessibilityAction.d.ts +20 -0
  322. package/lib/typescript/components/MessageList/hooks/useScrollToBottomAccessibilityAction.d.ts.map +1 -0
  323. package/lib/typescript/components/MessageMenu/MessageActionList.d.ts.map +1 -1
  324. package/lib/typescript/components/MessageMenu/MessageActionListItem.d.ts.map +1 -1
  325. package/lib/typescript/components/MessageMenu/MessageReactionPicker.d.ts.map +1 -1
  326. package/lib/typescript/components/MessageMenu/ReactionButton.d.ts.map +1 -1
  327. package/lib/typescript/components/Poll/components/CreatePollHeader.d.ts.map +1 -1
  328. package/lib/typescript/components/Poll/components/MultipleVotesSettings.d.ts.map +1 -1
  329. package/lib/typescript/components/Poll/components/PollModalHeader.d.ts.map +1 -1
  330. package/lib/typescript/components/Poll/components/PollOption.d.ts.map +1 -1
  331. package/lib/typescript/components/ProgressControl/ProgressControl.d.ts.map +1 -1
  332. package/lib/typescript/components/Reply/Reply.d.ts.map +1 -1
  333. package/lib/typescript/components/UIComponents/BottomSheetModal.d.ts.map +1 -1
  334. package/lib/typescript/components/index.d.ts +1 -0
  335. package/lib/typescript/components/index.d.ts.map +1 -1
  336. package/lib/typescript/components/ui/Avatar/Avatar.d.ts +12 -1
  337. package/lib/typescript/components/ui/Avatar/Avatar.d.ts.map +1 -1
  338. package/lib/typescript/components/ui/Avatar/ChannelAvatar.d.ts.map +1 -1
  339. package/lib/typescript/components/ui/Avatar/UserAvatar.d.ts.map +1 -1
  340. package/lib/typescript/components/ui/Button/Button.d.ts +10 -1
  341. package/lib/typescript/components/ui/Button/Button.d.ts.map +1 -1
  342. package/lib/typescript/components/ui/Input/Input.d.ts.map +1 -1
  343. package/lib/typescript/contexts/accessibilityContext/AccessibilityContext.d.ts +34 -0
  344. package/lib/typescript/contexts/accessibilityContext/AccessibilityContext.d.ts.map +1 -0
  345. package/lib/typescript/contexts/accessibilityContext/index.d.ts +2 -0
  346. package/lib/typescript/contexts/accessibilityContext/index.d.ts.map +1 -0
  347. package/lib/typescript/contexts/index.d.ts +1 -0
  348. package/lib/typescript/contexts/index.d.ts.map +1 -1
  349. package/lib/typescript/contexts/overlayContext/OverlayContext.d.ts +7 -0
  350. package/lib/typescript/contexts/overlayContext/OverlayContext.d.ts.map +1 -1
  351. package/lib/typescript/contexts/overlayContext/OverlayProvider.d.ts.map +1 -1
  352. package/lib/typescript/hooks/index.d.ts +1 -0
  353. package/lib/typescript/hooks/index.d.ts.map +1 -1
  354. package/lib/typescript/hooks/useTranslatedMessage.d.ts +2 -2
  355. package/lib/typescript/i18n/en.json +57 -1
  356. package/lib/typescript/i18n/es.json +57 -1
  357. package/lib/typescript/i18n/fr.json +57 -1
  358. package/lib/typescript/i18n/he.json +57 -1
  359. package/lib/typescript/i18n/hi.json +57 -1
  360. package/lib/typescript/i18n/it.json +57 -1
  361. package/lib/typescript/i18n/ja.json +57 -1
  362. package/lib/typescript/i18n/ko.json +57 -1
  363. package/lib/typescript/i18n/nl.json +57 -1
  364. package/lib/typescript/i18n/pt-br.json +57 -1
  365. package/lib/typescript/i18n/ru.json +57 -1
  366. package/lib/typescript/i18n/tr.json +57 -1
  367. package/lib/typescript/test-utils/BetterSqlite.d.ts.map +1 -1
  368. package/lib/typescript/utils/i18n/Streami18n.d.ts +56 -0
  369. package/lib/typescript/utils/i18n/Streami18n.d.ts.map +1 -1
  370. package/package.json +1 -1
  371. package/src/__tests__/offline-support/offline-feature.tsx +40 -34
  372. package/src/a11y/__tests__/a11yUtils.test.ts +70 -0
  373. package/src/a11y/a11yUtils.ts +50 -0
  374. package/src/a11y/hooks/useA11yLabel.ts +22 -0
  375. package/src/a11y/hooks/useAccessibilityActivateAction.ts +44 -0
  376. package/src/a11y/hooks/useAnnounceOnStateChange.ts +47 -0
  377. package/src/a11y/hooks/useReducedMotionPreference.ts +38 -0
  378. package/src/a11y/hooks/useResolvedModalAccessibilityProps.ts +30 -0
  379. package/src/a11y/hooks/useScreenReaderEnabled.ts +44 -0
  380. package/src/a11y/index.ts +7 -0
  381. package/src/components/AITypingIndicatorView/AITypingIndicatorView.tsx +17 -2
  382. package/src/components/AITypingIndicatorView/__tests__/AITypingIndicatorView.test.tsx +73 -0
  383. package/src/components/Accessibility/NotificationAnnouncer.tsx +43 -0
  384. package/src/components/Accessibility/__tests__/AccessibilityAnnouncer.test.tsx +75 -0
  385. package/src/components/Accessibility/hooks/useIncomingMessageAnnouncements.ts +157 -0
  386. package/src/components/Accessibility/index.ts +3 -0
  387. package/src/components/Accessibility/useAccessibilityAnnouncer.ts +30 -0
  388. package/src/components/AttachmentPicker/AttachmentPicker.tsx +23 -1
  389. package/src/components/AttachmentPicker/components/AttachmentMediaPicker/AttachmentMediaPicker.tsx +1 -0
  390. package/src/components/AttachmentPicker/components/AttachmentMediaPicker/AttachmentPickerItem.tsx +15 -2
  391. package/src/components/AttachmentPicker/components/AttachmentPickerContent.tsx +1 -0
  392. package/src/components/AttachmentPicker/components/AttachmentTypePickerButton.tsx +9 -0
  393. package/src/components/Channel/Channel.tsx +3 -0
  394. package/src/components/ChannelList/__tests__/ChannelListView.test.tsx +16 -5
  395. package/src/components/ChannelPreview/ChannelMessagePreviewDeliveryStatus.tsx +14 -1
  396. package/src/components/ImageGallery/__tests__/ImageGalleryFooter.test.tsx +9 -3
  397. package/src/components/ImageGallery/__tests__/ImageGalleryHeader.test.tsx +4 -1
  398. package/src/components/ImageGallery/components/ImageGalleryFooter.tsx +2 -2
  399. package/src/components/ImageGallery/components/ImageGalleryHeader.tsx +1 -1
  400. package/src/components/ImageGallery/components/ImageGalleryVideoControl.tsx +1 -1
  401. package/src/components/Indicators/LoadingDots.tsx +5 -1
  402. package/src/components/Indicators/LoadingErrorIndicator.tsx +7 -1
  403. package/src/components/Indicators/LoadingIndicator.tsx +1 -1
  404. package/src/components/Message/MessageItemView/__tests__/__snapshots__/MessageAuthor.test.tsx.snap +2 -0
  405. package/src/components/MessageInput/__tests__/__snapshots__/AttachButton.test.tsx.snap +30 -15
  406. package/src/components/MessageInput/__tests__/__snapshots__/SendButton.test.tsx.snap +20 -10
  407. package/src/components/MessageInput/components/AttachmentPreview/AttachmentRemoveControl.tsx +18 -2
  408. package/src/components/MessageInput/components/AudioRecorder/AudioRecorder.tsx +3 -0
  409. package/src/components/MessageInput/components/AudioRecorder/AudioRecordingButton.tsx +8 -1
  410. package/src/components/MessageInput/components/InputButtons/AttachButton.tsx +13 -3
  411. package/src/components/MessageInput/components/OutputButtons/EditButton.tsx +1 -0
  412. package/src/components/MessageInput/components/OutputButtons/SendButton.tsx +1 -0
  413. package/src/components/MessageList/MessageFlashList.tsx +23 -2
  414. package/src/components/MessageList/MessageList.tsx +32 -2
  415. package/src/components/MessageList/ScrollToBottomButton.tsx +19 -1
  416. package/src/components/MessageList/UnreadMessagesNotification.tsx +1 -0
  417. package/src/components/MessageList/__tests__/MessageList.test.tsx +186 -0
  418. package/src/components/MessageList/__tests__/ScrollToBottomButton.test.tsx +2 -2
  419. package/src/components/MessageList/__tests__/__snapshots__/ScrollToBottomButton.test.tsx.snap +4 -1
  420. package/src/components/MessageList/__tests__/__snapshots__/TypingIndicator.test.tsx.snap +6 -0
  421. package/src/components/MessageList/hooks/useScrollToBottomAccessibilityAction.ts +74 -0
  422. package/src/components/MessageMenu/MessageActionList.tsx +4 -1
  423. package/src/components/MessageMenu/MessageActionListItem.tsx +11 -4
  424. package/src/components/MessageMenu/MessageReactionPicker.tsx +2 -0
  425. package/src/components/MessageMenu/ReactionButton.tsx +7 -1
  426. package/src/components/MessageMenu/__tests__/MessageReactionPicker.test.tsx +13 -15
  427. package/src/components/MessageMenu/__tests__/MessageUserReactions.test.tsx +20 -18
  428. package/src/components/MessageMenu/__tests__/ReactionButton.test.tsx +18 -5
  429. package/src/components/Poll/components/CreatePollHeader.tsx +2 -0
  430. package/src/components/Poll/components/MultipleVotesSettings.tsx +2 -0
  431. package/src/components/Poll/components/PollModalHeader.tsx +1 -0
  432. package/src/components/Poll/components/PollOption.tsx +11 -0
  433. package/src/components/ProgressControl/ProgressControl.tsx +8 -0
  434. package/src/components/Reply/Reply.tsx +9 -2
  435. package/src/components/Thread/__tests__/__snapshots__/Thread.test.tsx.snap +23 -6
  436. package/src/components/UIComponents/BottomSheetModal.tsx +4 -0
  437. package/src/components/index.ts +2 -0
  438. package/src/components/ui/Avatar/Avatar.tsx +24 -2
  439. package/src/components/ui/Avatar/ChannelAvatar.tsx +3 -0
  440. package/src/components/ui/Avatar/UserAvatar.tsx +1 -0
  441. package/src/components/ui/Button/Button.tsx +50 -0
  442. package/src/components/ui/Button/__tests__/Button.test.tsx +44 -0
  443. package/src/components/ui/Input/Input.tsx +35 -0
  444. package/src/contexts/accessibilityContext/AccessibilityContext.tsx +199 -0
  445. package/src/contexts/accessibilityContext/__tests__/AccessibilityContext.test.tsx +65 -0
  446. package/src/contexts/accessibilityContext/index.ts +1 -0
  447. package/src/contexts/index.ts +1 -0
  448. package/src/contexts/overlayContext/OverlayContext.tsx +7 -0
  449. package/src/contexts/overlayContext/OverlayProvider.tsx +18 -14
  450. package/src/contexts/overlayContext/__tests__/OverlayProvider.test.tsx +51 -0
  451. package/src/hooks/index.ts +1 -0
  452. package/src/i18n/en.json +57 -1
  453. package/src/i18n/es.json +57 -1
  454. package/src/i18n/fr.json +57 -1
  455. package/src/i18n/he.json +57 -1
  456. package/src/i18n/hi.json +57 -1
  457. package/src/i18n/it.json +57 -1
  458. package/src/i18n/ja.json +57 -1
  459. package/src/i18n/ko.json +57 -1
  460. package/src/i18n/nl.json +57 -1
  461. package/src/i18n/pt-br.json +57 -1
  462. package/src/i18n/ru.json +57 -1
  463. package/src/i18n/tr.json +57 -1
  464. package/src/mock-builders/DB/mock.ts +2 -1
  465. package/src/test-utils/BetterSqlite.ts +3 -1
  466. package/src/version.json +1 -1
@@ -236,5 +236,61 @@
236
236
  "Unsupported Attachment": "Anexo não suportado",
237
237
  "+{{count}} More Options_one": "+{{count}} opção a mais",
238
238
  "+{{count}} More Options_other": "+{{count}} opções a mais",
239
- "+{{count}} More Options_many": "+{{count}} opções a mais"
239
+ "+{{count}} More Options_many": "+{{count}} opções a mais",
240
+ "a11y/AI is generating": "A IA está gerando",
241
+ "a11y/AI is thinking": "A IA está pensando",
242
+ "a11y/Avatar of {{name}}": "Avatar de {{name}}",
243
+ "a11y/Connected": "Conectado",
244
+ "a11y/Delivered": "Entregue",
245
+ "a11y/Loading": "Carregando",
246
+ "a11y/Loading failed": "Falha ao carregar",
247
+ "a11y/Message actions": "Ações da mensagem",
248
+ "a11y/New message from {{user}}": "Nova mensagem de {{user}}",
249
+ "a11y/Offline": "Offline",
250
+ "a11y/Open message actions": "Abrir ações da mensagem",
251
+ "a11y/Reaction {{emoji}} by {{count}} users": "Reação {{emoji}} de {{count}} usuários",
252
+ "a11y/Read": "Lido",
253
+ "a11y/Reconnecting": "Reconectando",
254
+ "a11y/Reply to {{user}}": "Responder a {{user}}",
255
+ "a11y/Remove edit": "Remover edição",
256
+ "a11y/Remove reply": "Remover resposta",
257
+ "a11y/Scroll to bottom": "Ir para o final",
258
+ "a11y/Scroll to bottom, {{count}} new messages": "Ir para o final, {{count}} novas mensagens",
259
+ "a11y/Scroll to latest": "Ir para a mensagem mais recente",
260
+ "a11y/Scroll to latest, {{count}} unread": "Ir para a mensagem mais recente, {{count}} não lidas",
261
+ "a11y/Send message": "Enviar mensagem",
262
+ "a11y/Sending": "Enviando",
263
+ "a11y/Sent": "Enviado",
264
+ "a11y/Voice message recording. Hold to record.": "Gravação de mensagem de voz. Mantenha pressionado para gravar.",
265
+ "a11y/{{count}} new messages": "{{count}} novas mensagens",
266
+ "a11y/Add attachment": "Add attachment",
267
+ "a11y/Close attachments": "Close attachments",
268
+ "a11y/Remove attachment": "Remove Attachment",
269
+ "a11y/Close poll": "Close poll",
270
+ "a11y/Close poll creation": "Close poll creation",
271
+ "a11y/Create poll": "Create poll",
272
+ "a11y/Decrease maximum votes": "Decrease maximum votes",
273
+ "a11y/Delete voice recording": "Delete voice recording",
274
+ "a11y/Deselect image": "Deselect image",
275
+ "a11y/Deselect video": "Deselect video",
276
+ "a11y/Dismiss unread messages": "Dismiss unread messages",
277
+ "a11y/Grid Icon": "Grid Icon",
278
+ "a11y/Hide Overlay": "Hide Overlay",
279
+ "a11y/Increase maximum votes": "Increase maximum votes",
280
+ "a11y/Open camera": "Open camera",
281
+ "a11y/Open commands": "Open commands",
282
+ "a11y/Open file picker": "Open file picker",
283
+ "a11y/Open more reactions": "Open more reactions",
284
+ "a11y/Open photo picker": "Open photo picker",
285
+ "a11y/Open poll creation": "Open poll creation",
286
+ "a11y/Open video recorder": "Open video recorder",
287
+ "a11y/Play Pause Button": "Play Pause Button",
288
+ "a11y/reaction-button-{{type}}-{{selected}}": "reaction-button-{{type}}-{{selected}}",
289
+ "a11y/Save edited message": "Save edited message",
290
+ "a11y/Select image": "Select image",
291
+ "a11y/Select video": "Select video",
292
+ "a11y/Send voice recording": "Send voice recording",
293
+ "a11y/Share Button": "Share Button",
294
+ "a11y/Start voice recording": "Start voice recording",
295
+ "a11y/Stop voice recording": "Stop voice recording"
240
296
  }
@@ -236,5 +236,61 @@
236
236
  "Unsupported Attachment": "Неподдерживаемое вложение",
237
237
  "+{{count}} More Options_one": "+ещё {{count}} вариант",
238
238
  "+{{count}} More Options_other": "+ещё {{count}} варианта",
239
- "+{{count}} More Options_many": "+ещё {{count}} вариантов"
239
+ "+{{count}} More Options_many": "+ещё {{count}} вариантов",
240
+ "a11y/AI is generating": "ИИ генерирует ответ",
241
+ "a11y/AI is thinking": "ИИ думает",
242
+ "a11y/Avatar of {{name}}": "Аватар {{name}}",
243
+ "a11y/Connected": "Подключено",
244
+ "a11y/Delivered": "Доставлено",
245
+ "a11y/Loading": "Загрузка",
246
+ "a11y/Loading failed": "Не удалось загрузить",
247
+ "a11y/Message actions": "Действия с сообщением",
248
+ "a11y/New message from {{user}}": "Новое сообщение от {{user}}",
249
+ "a11y/Offline": "Не в сети",
250
+ "a11y/Open message actions": "Открыть действия с сообщением",
251
+ "a11y/Reaction {{emoji}} by {{count}} users": "Реакция {{emoji}} от {{count}} пользователей",
252
+ "a11y/Read": "Прочитано",
253
+ "a11y/Reconnecting": "Повторное подключение",
254
+ "a11y/Reply to {{user}}": "Ответить {{user}}",
255
+ "a11y/Remove edit": "Удалить редактирование",
256
+ "a11y/Remove reply": "Удалить ответ",
257
+ "a11y/Scroll to bottom": "Прокрутить вниз",
258
+ "a11y/Scroll to bottom, {{count}} new messages": "Прокрутить вниз, {{count}} новых сообщений",
259
+ "a11y/Scroll to latest": "Перейти к последнему сообщению",
260
+ "a11y/Scroll to latest, {{count}} unread": "Перейти к последнему сообщению, {{count}} непрочитанных",
261
+ "a11y/Send message": "Отправить сообщение",
262
+ "a11y/Sending": "Отправка",
263
+ "a11y/Sent": "Отправлено",
264
+ "a11y/Voice message recording. Hold to record.": "Запись голосового сообщения. Удерживайте, чтобы записать.",
265
+ "a11y/{{count}} new messages": "{{count}} новых сообщений",
266
+ "a11y/Add attachment": "Add attachment",
267
+ "a11y/Close attachments": "Close attachments",
268
+ "a11y/Remove attachment": "Remove Attachment",
269
+ "a11y/Close poll": "Close poll",
270
+ "a11y/Close poll creation": "Close poll creation",
271
+ "a11y/Create poll": "Create poll",
272
+ "a11y/Decrease maximum votes": "Decrease maximum votes",
273
+ "a11y/Delete voice recording": "Delete voice recording",
274
+ "a11y/Deselect image": "Deselect image",
275
+ "a11y/Deselect video": "Deselect video",
276
+ "a11y/Dismiss unread messages": "Dismiss unread messages",
277
+ "a11y/Grid Icon": "Grid Icon",
278
+ "a11y/Hide Overlay": "Hide Overlay",
279
+ "a11y/Increase maximum votes": "Increase maximum votes",
280
+ "a11y/Open camera": "Open camera",
281
+ "a11y/Open commands": "Open commands",
282
+ "a11y/Open file picker": "Open file picker",
283
+ "a11y/Open more reactions": "Open more reactions",
284
+ "a11y/Open photo picker": "Open photo picker",
285
+ "a11y/Open poll creation": "Open poll creation",
286
+ "a11y/Open video recorder": "Open video recorder",
287
+ "a11y/Play Pause Button": "Play Pause Button",
288
+ "a11y/reaction-button-{{type}}-{{selected}}": "reaction-button-{{type}}-{{selected}}",
289
+ "a11y/Save edited message": "Save edited message",
290
+ "a11y/Select image": "Select image",
291
+ "a11y/Select video": "Select video",
292
+ "a11y/Send voice recording": "Send voice recording",
293
+ "a11y/Share Button": "Share Button",
294
+ "a11y/Start voice recording": "Start voice recording",
295
+ "a11y/Stop voice recording": "Stop voice recording"
240
296
  }
@@ -236,5 +236,61 @@
236
236
  "Unsupported Attachment": "Desteklenmeyen ek",
237
237
  "+{{count}} More Options_one": "+{{count}} seçenek daha",
238
238
  "+{{count}} More Options_other": "+{{count}} seçenek daha",
239
- "+{{count}} More Options_many": "+{{count}} seçenek daha"
239
+ "+{{count}} More Options_many": "+{{count}} seçenek daha",
240
+ "a11y/AI is generating": "Yapay zeka oluşturuyor",
241
+ "a11y/AI is thinking": "Yapay zeka düşünüyor",
242
+ "a11y/Avatar of {{name}}": "{{name}} avatarı",
243
+ "a11y/Connected": "Bağlandı",
244
+ "a11y/Delivered": "Teslim edildi",
245
+ "a11y/Loading": "Yükleniyor",
246
+ "a11y/Loading failed": "Yükleme başarısız",
247
+ "a11y/Message actions": "Mesaj eylemleri",
248
+ "a11y/New message from {{user}}": "{{user}} kullanıcısından yeni mesaj",
249
+ "a11y/Offline": "Çevrimdışı",
250
+ "a11y/Open message actions": "Mesaj eylemlerini aç",
251
+ "a11y/Reaction {{emoji}} by {{count}} users": "{{count}} kullanıcıdan {{emoji}} tepkisi",
252
+ "a11y/Read": "Okundu",
253
+ "a11y/Reconnecting": "Yeniden bağlanıyor",
254
+ "a11y/Reply to {{user}}": "{{user}} kullanıcısına yanıt ver",
255
+ "a11y/Remove edit": "Düzenlemeyi kaldır",
256
+ "a11y/Remove reply": "Yanıtı kaldır",
257
+ "a11y/Scroll to bottom": "En alta git",
258
+ "a11y/Scroll to bottom, {{count}} new messages": "En alta git, {{count}} yeni mesaj",
259
+ "a11y/Scroll to latest": "En son mesaja git",
260
+ "a11y/Scroll to latest, {{count}} unread": "En son mesaja git, {{count}} okunmamış",
261
+ "a11y/Send message": "Mesaj gönder",
262
+ "a11y/Sending": "Gönderiliyor",
263
+ "a11y/Sent": "Gönderildi",
264
+ "a11y/Voice message recording. Hold to record.": "Sesli mesaj kaydı. Kaydetmek için basılı tutun.",
265
+ "a11y/{{count}} new messages": "{{count}} yeni mesaj",
266
+ "a11y/Add attachment": "Add attachment",
267
+ "a11y/Close attachments": "Close attachments",
268
+ "a11y/Remove attachment": "Remove Attachment",
269
+ "a11y/Close poll": "Close poll",
270
+ "a11y/Close poll creation": "Close poll creation",
271
+ "a11y/Create poll": "Create poll",
272
+ "a11y/Decrease maximum votes": "Decrease maximum votes",
273
+ "a11y/Delete voice recording": "Delete voice recording",
274
+ "a11y/Deselect image": "Deselect image",
275
+ "a11y/Deselect video": "Deselect video",
276
+ "a11y/Dismiss unread messages": "Dismiss unread messages",
277
+ "a11y/Grid Icon": "Grid Icon",
278
+ "a11y/Hide Overlay": "Hide Overlay",
279
+ "a11y/Increase maximum votes": "Increase maximum votes",
280
+ "a11y/Open camera": "Open camera",
281
+ "a11y/Open commands": "Open commands",
282
+ "a11y/Open file picker": "Open file picker",
283
+ "a11y/Open more reactions": "Open more reactions",
284
+ "a11y/Open photo picker": "Open photo picker",
285
+ "a11y/Open poll creation": "Open poll creation",
286
+ "a11y/Open video recorder": "Open video recorder",
287
+ "a11y/Play Pause Button": "Play Pause Button",
288
+ "a11y/reaction-button-{{type}}-{{selected}}": "reaction-button-{{type}}-{{selected}}",
289
+ "a11y/Save edited message": "Save edited message",
290
+ "a11y/Select image": "Select image",
291
+ "a11y/Select video": "Select video",
292
+ "a11y/Send voice recording": "Send voice recording",
293
+ "a11y/Share Button": "Share Button",
294
+ "a11y/Start voice recording": "Start voice recording",
295
+ "a11y/Stop voice recording": "Stop voice recording"
240
296
  }
@@ -1 +1 @@
1
- {"version":3,"file":"BetterSqlite.d.ts","sourceRoot":"","sources":["../../../src/test-utils/BetterSqlite.ts"],"names":[],"mappings":"AAAA,OAAiB,EAAE,KAAK,QAAQ,IAAI,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAIzE,qBAAa,YAAY;IACvB,MAAM,CAAC,EAAE,EAAE,YAAY,GAAG,IAAI,CAAQ;IAEtC,MAAM,CAAC,MAAM,QAAO,IAAI,CAEtB;IAEF,MAAM,CAAC,OAAO,QAAO,IAAI,CAEvB;IAEF,MAAM,CAAC,SAAS,QAAa,OAAO,CAAC,OAAO,CAAC,CAG3C;IAEF,MAAM,CAAC,aAAa,QAAO,IAAI,CAO7B;IAEF,MAAM,CAAC,eAAe,GAAU,IAAI,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC5D,OAAO,MAAM,KACZ,OAAO,CAAC,IAAI,EAAE,CAAC,CAKhB;CACH"}
1
+ {"version":3,"file":"BetterSqlite.d.ts","sourceRoot":"","sources":["../../../src/test-utils/BetterSqlite.ts"],"names":[],"mappings":"AAAA,OAAiB,EAAE,KAAK,QAAQ,IAAI,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAMzE,qBAAa,YAAY;IACvB,MAAM,CAAC,EAAE,EAAE,YAAY,GAAG,IAAI,CAAQ;IAEtC,MAAM,CAAC,MAAM,QAAO,IAAI,CAEtB;IAEF,MAAM,CAAC,OAAO,QAAO,IAAI,CAEvB;IAEF,MAAM,CAAC,SAAS,QAAa,OAAO,CAAC,OAAO,CAAC,CAG3C;IAEF,MAAM,CAAC,aAAa,QAAO,IAAI,CAO7B;IAEF,MAAM,CAAC,eAAe,GAAU,IAAI,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC5D,OAAO,MAAM,KACZ,OAAO,CAAC,IAAI,EAAE,CAAC,CAKhB;CACH"}
@@ -372,6 +372,62 @@ export declare class Streami18n {
372
372
  "+{{count}} More Options_one": string;
373
373
  "+{{count}} More Options_other": string;
374
374
  "+{{count}} More Options_many": string;
375
+ "a11y/AI is generating": string;
376
+ "a11y/AI is thinking": string;
377
+ "a11y/Avatar of {{name}}": string;
378
+ "a11y/Connected": string;
379
+ "a11y/Delivered": string;
380
+ "a11y/Loading": string;
381
+ "a11y/Loading failed": string;
382
+ "a11y/Message actions": string;
383
+ "a11y/New message from {{user}}": string;
384
+ "a11y/Offline": string;
385
+ "a11y/Open message actions": string;
386
+ "a11y/Reaction {{emoji}} by {{count}} users": string;
387
+ "a11y/Read": string;
388
+ "a11y/Reconnecting": string;
389
+ "a11y/Reply to {{user}}": string;
390
+ "a11y/Remove edit": string;
391
+ "a11y/Remove reply": string;
392
+ "a11y/Scroll to bottom": string;
393
+ "a11y/Scroll to bottom, {{count}} new messages": string;
394
+ "a11y/Scroll to latest": string;
395
+ "a11y/Scroll to latest, {{count}} unread": string;
396
+ "a11y/Send message": string;
397
+ "a11y/Sending": string;
398
+ "a11y/Sent": string;
399
+ "a11y/Voice message recording. Hold to record.": string;
400
+ "a11y/{{count}} new messages": string;
401
+ "a11y/Add attachment": string;
402
+ "a11y/Close attachments": string;
403
+ "a11y/Remove attachment": string;
404
+ "a11y/Close poll": string;
405
+ "a11y/Close poll creation": string;
406
+ "a11y/Create poll": string;
407
+ "a11y/Decrease maximum votes": string;
408
+ "a11y/Delete voice recording": string;
409
+ "a11y/Deselect image": string;
410
+ "a11y/Deselect video": string;
411
+ "a11y/Dismiss unread messages": string;
412
+ "a11y/Grid Icon": string;
413
+ "a11y/Hide Overlay": string;
414
+ "a11y/Increase maximum votes": string;
415
+ "a11y/Open camera": string;
416
+ "a11y/Open commands": string;
417
+ "a11y/Open file picker": string;
418
+ "a11y/Open more reactions": string;
419
+ "a11y/Open photo picker": string;
420
+ "a11y/Open poll creation": string;
421
+ "a11y/Open video recorder": string;
422
+ "a11y/Play Pause Button": string;
423
+ "a11y/reaction-button-{{type}}-{{selected}}": string;
424
+ "a11y/Save edited message": string;
425
+ "a11y/Select image": string;
426
+ "a11y/Select video": string;
427
+ "a11y/Send voice recording": string;
428
+ "a11y/Share Button": string;
429
+ "a11y/Start voice recording": string;
430
+ "a11y/Stop voice recording": string;
375
431
  }>;
376
432
  };
377
433
  };
@@ -1 +1 @@
1
- {"version":3,"file":"Streami18n.d.ts","sourceRoot":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;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"}
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.1.3",
4
+ "version": "9.2.0-beta.2",
5
5
  "author": {
6
6
  "company": "Stream.io Inc",
7
7
  "name": "Stream.io Inc"
@@ -643,26 +643,29 @@ export const Generic = () => {
643
643
  await waitFor(() => expect(screen.getByTestId('channel-list-view')).toBeTruthy());
644
644
  const removedChannel = channels[getRandomInt(0, channels.length - 1)].channel;
645
645
  act(() => dispatchNotificationRemovedFromChannel(chatClient, removedChannel));
646
- await waitFor(async () => {
647
- const channelIdsOnUI = screen
648
- .queryAllByLabelText('list-item')
649
- .map(
650
- (node) =>
651
- (node as unknown as { _fiber: { pendingProps: { testID: string } } })._fiber
652
- .pendingProps.testID,
653
- );
654
- expect(channelIdsOnUI.includes(removedChannel.cid)).toBeFalsy();
655
- await expectCIDsOnUIToBeInDB(screen.queryAllByLabelText);
646
+ await waitFor(
647
+ async () => {
648
+ const channelIdsOnUI = screen
649
+ .queryAllByLabelText('list-item')
650
+ .map(
651
+ (node) =>
652
+ (node as unknown as { _fiber: { pendingProps: { testID: string } } })._fiber
653
+ .pendingProps.testID,
654
+ );
655
+ expect(channelIdsOnUI.includes(removedChannel.cid)).toBeFalsy();
656
+ await expectCIDsOnUIToBeInDB(screen.queryAllByLabelText);
656
657
 
657
- const channelsRows = await BetterSqlite.selectFromTable('channels');
658
- const matchingRows = channelsRows.filter((c) => c.id === removedChannel.id);
658
+ const channelsRows = await BetterSqlite.selectFromTable('channels');
659
+ const matchingRows = channelsRows.filter((c) => c.id === removedChannel.id);
659
660
 
660
- const messagesRows = await BetterSqlite.selectFromTable('messages');
661
- const matchingMessagesRows = messagesRows.filter((m) => m.cid === removedChannel.cid);
661
+ const messagesRows = await BetterSqlite.selectFromTable('messages');
662
+ const matchingMessagesRows = messagesRows.filter((m) => m.cid === removedChannel.cid);
662
663
 
663
- expect(matchingRows.length).toBe(0);
664
- expect(matchingMessagesRows.length).toBe(0);
665
- });
664
+ expect(matchingRows.length).toBe(0);
665
+ expect(matchingMessagesRows.length).toBe(0);
666
+ },
667
+ { timeout: 5000 },
668
+ );
666
669
  });
667
670
 
668
671
  it('should remove the channel from DB if the channel is deleted', async () => {
@@ -674,26 +677,29 @@ export const Generic = () => {
674
677
  await waitFor(() => expect(screen.getByTestId('channel-list-view')).toBeTruthy());
675
678
  const removedChannel = channels[getRandomInt(0, channels.length - 1)].channel;
676
679
  act(() => dispatchChannelDeletedEvent(chatClient, removedChannel));
677
- await waitFor(async () => {
678
- const channelIdsOnUI = screen
679
- .queryAllByLabelText('list-item')
680
- .map(
681
- (node) =>
682
- (node as unknown as { _fiber: { pendingProps: { testID: string } } })._fiber
683
- .pendingProps.testID,
684
- );
685
- expect(channelIdsOnUI.includes(removedChannel.cid)).toBeFalsy();
686
- await expectCIDsOnUIToBeInDB(screen.queryAllByLabelText);
680
+ await waitFor(
681
+ async () => {
682
+ const channelIdsOnUI = screen
683
+ .queryAllByLabelText('list-item')
684
+ .map(
685
+ (node) =>
686
+ (node as unknown as { _fiber: { pendingProps: { testID: string } } })._fiber
687
+ .pendingProps.testID,
688
+ );
689
+ expect(channelIdsOnUI.includes(removedChannel.cid)).toBeFalsy();
690
+ await expectCIDsOnUIToBeInDB(screen.queryAllByLabelText);
687
691
 
688
- const channelsRows = await BetterSqlite.selectFromTable('channels');
689
- const matchingRows = channelsRows.filter((c) => c.id === removedChannel.id);
692
+ const channelsRows = await BetterSqlite.selectFromTable('channels');
693
+ const matchingRows = channelsRows.filter((c) => c.id === removedChannel.id);
690
694
 
691
- const messagesRows = await BetterSqlite.selectFromTable('messages');
692
- const matchingMessagesRows = messagesRows.filter((m) => m.cid === removedChannel.cid);
695
+ const messagesRows = await BetterSqlite.selectFromTable('messages');
696
+ const matchingMessagesRows = messagesRows.filter((m) => m.cid === removedChannel.cid);
693
697
 
694
- expect(matchingRows.length).toBe(0);
695
- expect(matchingMessagesRows.length).toBe(0);
696
- });
698
+ expect(matchingRows.length).toBe(0);
699
+ expect(matchingMessagesRows.length).toBe(0);
700
+ },
701
+ { timeout: 5000 },
702
+ );
697
703
  });
698
704
 
699
705
  it('should correctly mark the channel as hidden in the db', async () => {
@@ -0,0 +1,70 @@
1
+ import {
2
+ composeAccessibilityLabel,
3
+ formatAccessibilityValue,
4
+ mergeAccessibilityActions,
5
+ } from '../a11yUtils';
6
+
7
+ describe('composeAccessibilityLabel', () => {
8
+ it('joins non-empty parts with comma+space', () => {
9
+ expect(composeAccessibilityLabel('Alice', '12:34', 'Hello')).toBe('Alice, 12:34, Hello');
10
+ });
11
+
12
+ it('drops empty strings, null, undefined, false', () => {
13
+ expect(composeAccessibilityLabel('A', '', null, undefined, false, 'B')).toBe('A, B');
14
+ });
15
+
16
+ it('returns empty string when nothing to join', () => {
17
+ expect(composeAccessibilityLabel(null, undefined, '')).toBe('');
18
+ });
19
+ });
20
+
21
+ describe('formatAccessibilityValue', () => {
22
+ it('clamps now between min and max', () => {
23
+ expect(formatAccessibilityValue({ max: 100, now: 200 })).toEqual({
24
+ max: 100,
25
+ min: 0,
26
+ now: 100,
27
+ });
28
+ expect(formatAccessibilityValue({ max: 100, min: 10, now: 5 })).toEqual({
29
+ max: 100,
30
+ min: 10,
31
+ now: 10,
32
+ });
33
+ });
34
+
35
+ it('attaches optional text', () => {
36
+ expect(formatAccessibilityValue({ max: 60, now: 30, text: '00:30 of 01:00' })).toEqual({
37
+ max: 60,
38
+ min: 0,
39
+ now: 30,
40
+ text: '00:30 of 01:00',
41
+ });
42
+ });
43
+
44
+ it('omits text when not provided', () => {
45
+ const result = formatAccessibilityValue({ max: 60, now: 30 });
46
+ expect(result).not.toHaveProperty('text');
47
+ });
48
+ });
49
+
50
+ describe('mergeAccessibilityActions', () => {
51
+ it('merges and deduplicates by name (later wins)', () => {
52
+ const merged = mergeAccessibilityActions(
53
+ [{ name: 'activate', label: 'old' }, { name: 'react' }],
54
+ [{ name: 'activate', label: 'new' }, { name: 'reply' }],
55
+ );
56
+ expect(merged).toEqual([
57
+ { name: 'activate', label: 'new' },
58
+ { name: 'react' },
59
+ { name: 'reply' },
60
+ ]);
61
+ });
62
+
63
+ it('skips undefined inputs', () => {
64
+ expect(mergeAccessibilityActions(undefined, [{ name: 'a' }])).toEqual([{ name: 'a' }]);
65
+ });
66
+
67
+ it('returns empty array when no inputs', () => {
68
+ expect(mergeAccessibilityActions()).toEqual([]);
69
+ });
70
+ });
@@ -0,0 +1,50 @@
1
+ /**
2
+ * Compose a single accessibility label from multiple parts.
3
+ * Empty/null/undefined parts are filtered out, the remainder joined with a comma+space
4
+ * so screen readers add a brief pause between segments.
5
+ */
6
+ export const composeAccessibilityLabel = (
7
+ ...parts: Array<string | null | undefined | false>
8
+ ): string => parts.filter((p): p is string => typeof p === 'string' && p.length > 0).join(', ');
9
+
10
+ /**
11
+ * Build the value object passed to `accessibilityValue` for progress/seek surfaces.
12
+ * Mirrors the React SDK's `progressBarA11y.ts` shape.
13
+ */
14
+ export const formatAccessibilityValue = ({
15
+ max,
16
+ min = 0,
17
+ now,
18
+ text,
19
+ }: {
20
+ max: number;
21
+ now: number;
22
+ min?: number;
23
+ text?: string;
24
+ }): { max: number; min: number; now: number; text?: string } => {
25
+ const value: { max: number; min: number; now: number; text?: string } = {
26
+ max,
27
+ min,
28
+ now: Math.min(Math.max(min, now), max),
29
+ };
30
+ if (text) value.text = text;
31
+ return value;
32
+ };
33
+
34
+ /**
35
+ * Merge two `accessibilityActions` arrays, deduplicating by `name` (later wins).
36
+ */
37
+ type A11yAction = Readonly<{ name: string; label?: string }>;
38
+
39
+ export const mergeAccessibilityActions = (
40
+ ...actionLists: Array<ReadonlyArray<A11yAction> | undefined>
41
+ ): A11yAction[] => {
42
+ const byName = new Map<string, A11yAction>();
43
+ for (const list of actionLists) {
44
+ if (!list) continue;
45
+ for (const action of list) {
46
+ byName.set(action.name, action);
47
+ }
48
+ }
49
+ return Array.from(byName.values());
50
+ };
@@ -0,0 +1,22 @@
1
+ import { useContext } from 'react';
2
+
3
+ import { useAccessibilityContext } from '../../contexts/accessibilityContext/AccessibilityContext';
4
+ import { TranslationContext } from '../../contexts/translationContext/TranslationContext';
5
+
6
+ /**
7
+ * Returns the translated `a11y/...` label when the AccessibilityContext is enabled,
8
+ * or `undefined` when disabled. Components pass the result straight to
9
+ * `accessibilityLabel` so the i18n lookup is skipped on hot list paths in the
10
+ * default disabled-state.
11
+ *
12
+ * Example:
13
+ * const labelParams = useMemo(() => ({ name }), [name]);
14
+ * const label = useA11yLabel('a11y/Avatar of {{name}}', labelParams);
15
+ * <Image accessibilityLabel={label} />
16
+ */
17
+ export const useA11yLabel = (key: string, params?: Record<string, unknown>): string | undefined => {
18
+ const { enabled } = useAccessibilityContext();
19
+ const { t } = useContext(TranslationContext);
20
+ if (!enabled || !key) return undefined;
21
+ return t(key, params);
22
+ };
@@ -0,0 +1,44 @@
1
+ import type { AccessibilityActionEvent, AccessibilityProps } from 'react-native';
2
+
3
+ import { useAccessibilityContext } from '../../contexts/accessibilityContext/AccessibilityContext';
4
+
5
+ export type UseAccessibilityActivateActionProps<TPressEvent> = {
6
+ onPress?: ((event: TPressEvent) => void) | null;
7
+ shouldHandleActivate?: boolean;
8
+ };
9
+
10
+ export type UseAccessibilityActivateActionResult =
11
+ | {
12
+ accessibilityActions?: AccessibilityProps['accessibilityActions'];
13
+ onAccessibilityAction?: AccessibilityProps['onAccessibilityAction'];
14
+ }
15
+ | undefined;
16
+
17
+ const accessibilityActivateActions: NonNullable<AccessibilityProps['accessibilityActions']> = [
18
+ { name: 'activate' },
19
+ ];
20
+
21
+ /**
22
+ * Adds the standard screen-reader `activate` action for labeled pressables when
23
+ * SDK accessibility is enabled. Some Android pressable implementations don't
24
+ * reliably map TalkBack double-tap to `onPress`, so this bridges the generated
25
+ * accessibility action back to the existing press handler.
26
+ */
27
+ export const useAccessibilityActivateAction = <TPressEvent>({
28
+ onPress,
29
+ shouldHandleActivate = false,
30
+ }: UseAccessibilityActivateActionProps<TPressEvent>): UseAccessibilityActivateActionResult => {
31
+ const { enabled } = useAccessibilityContext();
32
+ const shouldHandleAccessibilityActivate = enabled && shouldHandleActivate && !!onPress;
33
+
34
+ if (!shouldHandleAccessibilityActivate) return undefined;
35
+
36
+ return {
37
+ accessibilityActions: accessibilityActivateActions,
38
+ onAccessibilityAction: (event: AccessibilityActionEvent) => {
39
+ if (event.nativeEvent.actionName !== 'activate') return;
40
+
41
+ onPress(event as unknown as TPressEvent);
42
+ },
43
+ };
44
+ };
@@ -0,0 +1,47 @@
1
+ import { useEffect, useRef } from 'react';
2
+
3
+ import { useAccessibilityAnnouncer } from '../../components/Accessibility/useAccessibilityAnnouncer';
4
+ import { useAccessibilityContext } from '../../contexts/accessibilityContext/AccessibilityContext';
5
+
6
+ const DEFAULT_DEBOUNCE_MS = 250;
7
+
8
+ type UseAnnounceOnStateChangeOptions = {
9
+ debounceMs?: number;
10
+ priority?: 'polite' | 'assertive';
11
+ };
12
+
13
+ /**
14
+ * Announces `message` whenever it changes (and is non-empty), with a debounce
15
+ * to avoid spamming the screen reader on rapid transitions.
16
+ *
17
+ * Used by `AITypingIndicatorView` ("Thinking…" → "Generating…" → idle) and
18
+ * the `Indicators` family (loading → loaded → error).
19
+ */
20
+ export const useAnnounceOnStateChange = (
21
+ message: string | null | undefined,
22
+ options: UseAnnounceOnStateChangeOptions = {},
23
+ ) => {
24
+ const { debounceMs = DEFAULT_DEBOUNCE_MS, priority = 'polite' } = options;
25
+ const { enabled } = useAccessibilityContext();
26
+ const announce = useAccessibilityAnnouncer();
27
+ const timeoutRef = useRef<ReturnType<typeof setTimeout> | null>(null);
28
+ const lastAnnouncedRef = useRef<string | null>(null);
29
+
30
+ useEffect(() => {
31
+ if (!enabled || !message || message === lastAnnouncedRef.current) return;
32
+
33
+ if (timeoutRef.current) clearTimeout(timeoutRef.current);
34
+ timeoutRef.current = setTimeout(() => {
35
+ announce(message, priority);
36
+ lastAnnouncedRef.current = message;
37
+ timeoutRef.current = null;
38
+ }, debounceMs);
39
+
40
+ return () => {
41
+ if (timeoutRef.current) {
42
+ clearTimeout(timeoutRef.current);
43
+ timeoutRef.current = null;
44
+ }
45
+ };
46
+ }, [announce, debounceMs, enabled, message, priority]);
47
+ };