stream-chat-react-native-core 9.2.0-beta.1 → 9.2.0-beta.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (579) hide show
  1. package/README.md +1 -1
  2. package/lib/commonjs/a11y/hooks/useA11yLabel.js +4 -3
  3. package/lib/commonjs/a11y/hooks/useA11yLabel.js.map +1 -1
  4. package/lib/commonjs/a11y/hooks/useAccessibilityActivateAction.js +25 -0
  5. package/lib/commonjs/a11y/hooks/useAccessibilityActivateAction.js.map +1 -0
  6. package/lib/commonjs/a11y/index.js +11 -0
  7. package/lib/commonjs/a11y/index.js.map +1 -1
  8. package/lib/commonjs/components/AttachmentPicker/AttachmentPicker.js +20 -0
  9. package/lib/commonjs/components/AttachmentPicker/AttachmentPicker.js.map +1 -1
  10. package/lib/commonjs/components/AttachmentPicker/components/AttachmentMediaPicker/AttachmentMediaPicker.js +1 -0
  11. package/lib/commonjs/components/AttachmentPicker/components/AttachmentMediaPicker/AttachmentMediaPicker.js.map +1 -1
  12. package/lib/commonjs/components/AttachmentPicker/components/AttachmentMediaPicker/AttachmentPickerItem.js +19 -2
  13. package/lib/commonjs/components/AttachmentPicker/components/AttachmentMediaPicker/AttachmentPickerItem.js.map +1 -1
  14. package/lib/commonjs/components/AttachmentPicker/components/AttachmentPickerContent.js +4 -3
  15. package/lib/commonjs/components/AttachmentPicker/components/AttachmentPickerContent.js.map +1 -1
  16. package/lib/commonjs/components/AttachmentPicker/components/AttachmentTypePickerButton.js +9 -1
  17. package/lib/commonjs/components/AttachmentPicker/components/AttachmentTypePickerButton.js.map +1 -1
  18. package/lib/commonjs/components/Channel/Channel.js +10 -1
  19. package/lib/commonjs/components/Channel/Channel.js.map +1 -1
  20. package/lib/commonjs/components/Channel/hooks/useMessageListPagination.js +26 -3
  21. package/lib/commonjs/components/Channel/hooks/useMessageListPagination.js.map +1 -1
  22. package/lib/commonjs/components/ChannelList/ChannelList.js +29 -4
  23. package/lib/commonjs/components/ChannelList/ChannelList.js.map +1 -1
  24. package/lib/commonjs/components/ChannelList/hooks/useChannelActions.js +314 -11
  25. package/lib/commonjs/components/ChannelList/hooks/useChannelActions.js.map +1 -1
  26. package/lib/commonjs/components/ImageGallery/components/ImageGalleryFooter.js +2 -2
  27. package/lib/commonjs/components/ImageGallery/components/ImageGalleryFooter.js.map +1 -1
  28. package/lib/commonjs/components/ImageGallery/components/ImageGalleryHeader.js +1 -1
  29. package/lib/commonjs/components/ImageGallery/components/ImageGalleryHeader.js.map +1 -1
  30. package/lib/commonjs/components/ImageGallery/components/ImageGalleryVideoControl.js +1 -1
  31. package/lib/commonjs/components/ImageGallery/components/ImageGalleryVideoControl.js.map +1 -1
  32. package/lib/commonjs/components/Message/hooks/useMessageActionHandlers.js +202 -15
  33. package/lib/commonjs/components/Message/hooks/useMessageActionHandlers.js.map +1 -1
  34. package/lib/commonjs/components/MessageInput/MessageComposer.js +1 -1
  35. package/lib/commonjs/components/MessageInput/MessageComposerLeadingView.js +1 -1
  36. package/lib/commonjs/components/MessageInput/MessageComposerLeadingView.js.map +1 -1
  37. package/lib/commonjs/components/MessageInput/MessageInputHeaderView.js +1 -1
  38. package/lib/commonjs/components/MessageInput/MessageInputHeaderView.js.map +1 -1
  39. package/lib/commonjs/components/MessageInput/MessageInputTrailingView.js +1 -1
  40. package/lib/commonjs/components/MessageInput/MessageInputTrailingView.js.map +1 -1
  41. package/lib/commonjs/components/MessageInput/components/AttachmentPreview/AttachmentRemoveControl.js +16 -4
  42. package/lib/commonjs/components/MessageInput/components/AttachmentPreview/AttachmentRemoveControl.js.map +1 -1
  43. package/lib/commonjs/components/MessageInput/components/AttachmentPreview/AttachmentUploadPreviewList.js +7 -13
  44. package/lib/commonjs/components/MessageInput/components/AttachmentPreview/AttachmentUploadPreviewList.js.map +1 -1
  45. package/lib/commonjs/components/MessageInput/components/AudioRecorder/AudioRecorder.js +30 -6
  46. package/lib/commonjs/components/MessageInput/components/AudioRecorder/AudioRecorder.js.map +1 -1
  47. package/lib/commonjs/components/MessageInput/components/AudioRecorder/AudioRecordingButton.js +34 -9
  48. package/lib/commonjs/components/MessageInput/components/AudioRecorder/AudioRecordingButton.js.map +1 -1
  49. package/lib/commonjs/components/MessageInput/components/InputButtons/AttachButton.js +12 -3
  50. package/lib/commonjs/components/MessageInput/components/InputButtons/AttachButton.js.map +1 -1
  51. package/lib/commonjs/components/MessageInput/components/OutputButtons/EditButton.js +1 -0
  52. package/lib/commonjs/components/MessageInput/components/OutputButtons/EditButton.js.map +1 -1
  53. package/lib/commonjs/components/MessageInput/components/OutputButtons/SendButton.js +1 -0
  54. package/lib/commonjs/components/MessageInput/components/OutputButtons/SendButton.js.map +1 -1
  55. package/lib/commonjs/components/MessageInput/components/OutputButtons/index.js +1 -1
  56. package/lib/commonjs/components/MessageList/MessageFlashList.js +24 -4
  57. package/lib/commonjs/components/MessageList/MessageFlashList.js.map +1 -1
  58. package/lib/commonjs/components/MessageList/MessageList.js +24 -4
  59. package/lib/commonjs/components/MessageList/MessageList.js.map +1 -1
  60. package/lib/commonjs/components/MessageList/ScrollToBottomButton.js +12 -6
  61. package/lib/commonjs/components/MessageList/ScrollToBottomButton.js.map +1 -1
  62. package/lib/commonjs/components/MessageList/UnreadMessagesNotification.js +1 -0
  63. package/lib/commonjs/components/MessageList/UnreadMessagesNotification.js.map +1 -1
  64. package/lib/commonjs/components/MessageList/hooks/useScrollToBottomAccessibilityAction.js +47 -0
  65. package/lib/commonjs/components/MessageList/hooks/useScrollToBottomAccessibilityAction.js.map +1 -0
  66. package/lib/commonjs/components/MessageMenu/MessageActionListItem.js +12 -4
  67. package/lib/commonjs/components/MessageMenu/MessageActionListItem.js.map +1 -1
  68. package/lib/commonjs/components/MessageMenu/MessageReactionPicker.js +1 -0
  69. package/lib/commonjs/components/MessageMenu/MessageReactionPicker.js.map +1 -1
  70. package/lib/commonjs/components/MessageMenu/ReactionButton.js +9 -6
  71. package/lib/commonjs/components/MessageMenu/ReactionButton.js.map +1 -1
  72. package/lib/commonjs/components/MessageMenu/hooks/useFetchReactions.js +23 -2
  73. package/lib/commonjs/components/MessageMenu/hooks/useFetchReactions.js.map +1 -1
  74. package/lib/commonjs/components/Notifications/Notification.js +232 -0
  75. package/lib/commonjs/components/Notifications/Notification.js.map +1 -0
  76. package/lib/commonjs/components/Notifications/NotificationList.js +120 -0
  77. package/lib/commonjs/components/Notifications/NotificationList.js.map +1 -0
  78. package/lib/commonjs/components/Notifications/NotificationTargetContext.js +45 -0
  79. package/lib/commonjs/components/Notifications/NotificationTargetContext.js.map +1 -0
  80. package/lib/commonjs/components/Notifications/hooks/index.js +59 -0
  81. package/lib/commonjs/components/Notifications/hooks/index.js.map +1 -0
  82. package/lib/commonjs/components/Notifications/hooks/useNotificationApi.js +133 -0
  83. package/lib/commonjs/components/Notifications/hooks/useNotificationApi.js.map +1 -0
  84. package/lib/commonjs/components/Notifications/hooks/useNotificationListController.js +133 -0
  85. package/lib/commonjs/components/Notifications/hooks/useNotificationListController.js.map +1 -0
  86. package/lib/commonjs/components/Notifications/hooks/useNotificationTarget.js +26 -0
  87. package/lib/commonjs/components/Notifications/hooks/useNotificationTarget.js.map +1 -0
  88. package/lib/commonjs/components/Notifications/hooks/useNotifications.js +26 -0
  89. package/lib/commonjs/components/Notifications/hooks/useNotifications.js.map +1 -0
  90. package/lib/commonjs/components/Notifications/hooks/useSystemNotifications.js +22 -0
  91. package/lib/commonjs/components/Notifications/hooks/useSystemNotifications.js.map +1 -0
  92. package/lib/commonjs/components/Notifications/index.js +59 -0
  93. package/lib/commonjs/components/Notifications/index.js.map +1 -0
  94. package/lib/commonjs/components/Notifications/notificationTarget.js +220 -0
  95. package/lib/commonjs/components/Notifications/notificationTarget.js.map +1 -0
  96. package/lib/commonjs/components/Notifications/notificationTranslations.js +137 -0
  97. package/lib/commonjs/components/Notifications/notificationTranslations.js.map +1 -0
  98. package/lib/commonjs/components/Poll/components/CreatePollHeader.js +2 -0
  99. package/lib/commonjs/components/Poll/components/CreatePollHeader.js.map +1 -1
  100. package/lib/commonjs/components/Poll/components/MultipleVotesSettings.js +2 -0
  101. package/lib/commonjs/components/Poll/components/MultipleVotesSettings.js.map +1 -1
  102. package/lib/commonjs/components/Poll/components/PollModalHeader.js +1 -0
  103. package/lib/commonjs/components/Poll/components/PollModalHeader.js.map +1 -1
  104. package/lib/commonjs/components/Poll/components/PollOption.js +14 -9
  105. package/lib/commonjs/components/Poll/components/PollOption.js.map +1 -1
  106. package/lib/commonjs/components/Poll/hooks/usePollState.js +35 -3
  107. package/lib/commonjs/components/Poll/hooks/usePollState.js.map +1 -1
  108. package/lib/commonjs/components/Reply/Reply.js +1 -0
  109. package/lib/commonjs/components/Reply/Reply.js.map +1 -1
  110. package/lib/commonjs/components/Thread/Thread.js +19 -11
  111. package/lib/commonjs/components/Thread/Thread.js.map +1 -1
  112. package/lib/commonjs/components/ThreadList/ThreadList.js +30 -9
  113. package/lib/commonjs/components/ThreadList/ThreadList.js.map +1 -1
  114. package/lib/commonjs/components/index.js +11 -0
  115. package/lib/commonjs/components/index.js.map +1 -1
  116. package/lib/commonjs/components/ui/Avatar/Avatar.js +6 -3
  117. package/lib/commonjs/components/ui/Avatar/Avatar.js.map +1 -1
  118. package/lib/commonjs/components/ui/Button/Button.js +16 -3
  119. package/lib/commonjs/components/ui/Button/Button.js.map +1 -1
  120. package/lib/commonjs/contexts/accessibilityContext/AccessibilityContext.js +21 -1
  121. package/lib/commonjs/contexts/accessibilityContext/AccessibilityContext.js.map +1 -1
  122. package/lib/commonjs/contexts/componentsContext/defaultComponents.js +4 -0
  123. package/lib/commonjs/contexts/componentsContext/defaultComponents.js.map +1 -1
  124. package/lib/commonjs/contexts/messageInputContext/MessageInputContext.js +37 -0
  125. package/lib/commonjs/contexts/messageInputContext/MessageInputContext.js.map +1 -1
  126. package/lib/commonjs/contexts/themeContext/utils/theme.js +13 -0
  127. package/lib/commonjs/contexts/themeContext/utils/theme.js.map +1 -1
  128. package/lib/commonjs/hooks/index.js +11 -0
  129. package/lib/commonjs/hooks/index.js.map +1 -1
  130. package/lib/commonjs/hooks/useAudioPlayer.js +34 -1
  131. package/lib/commonjs/hooks/useAudioPlayer.js.map +1 -1
  132. package/lib/commonjs/hooks/useInAppNotificationsState.js.map +1 -1
  133. package/lib/commonjs/hooks/useLazyRef.js +13 -0
  134. package/lib/commonjs/hooks/useLazyRef.js.map +1 -0
  135. package/lib/commonjs/i18n/en.json +94 -1
  136. package/lib/commonjs/i18n/es.json +96 -3
  137. package/lib/commonjs/i18n/fr.json +94 -1
  138. package/lib/commonjs/i18n/he.json +94 -1
  139. package/lib/commonjs/i18n/hi.json +94 -1
  140. package/lib/commonjs/i18n/it.json +94 -1
  141. package/lib/commonjs/i18n/ja.json +94 -1
  142. package/lib/commonjs/i18n/ko.json +94 -1
  143. package/lib/commonjs/i18n/nl.json +94 -1
  144. package/lib/commonjs/i18n/pt-br.json +94 -1
  145. package/lib/commonjs/i18n/ru.json +94 -1
  146. package/lib/commonjs/i18n/tr.json +94 -1
  147. package/lib/commonjs/mock-builders/DB/mock.js +3 -1
  148. package/lib/commonjs/mock-builders/DB/mock.js.map +1 -1
  149. package/lib/commonjs/state-store/audio-player-pool.js +1 -0
  150. package/lib/commonjs/state-store/audio-player-pool.js.map +1 -1
  151. package/lib/commonjs/state-store/audio-player.js +92 -13
  152. package/lib/commonjs/state-store/audio-player.js.map +1 -1
  153. package/lib/commonjs/test-utils/BetterSqlite.js +3 -2
  154. package/lib/commonjs/test-utils/BetterSqlite.js.map +1 -1
  155. package/lib/commonjs/theme/generated/dark/StreamTokens.android.js +16 -16
  156. package/lib/commonjs/theme/generated/dark/StreamTokens.android.js.map +1 -1
  157. package/lib/commonjs/theme/generated/dark/StreamTokens.ios.js +8 -8
  158. package/lib/commonjs/theme/generated/dark/StreamTokens.ios.js.map +1 -1
  159. package/lib/commonjs/theme/generated/dark/StreamTokens.web.js +8 -8
  160. package/lib/commonjs/theme/generated/dark/StreamTokens.web.js.map +1 -1
  161. package/lib/commonjs/theme/generated/light/StreamTokens.android.js +16 -16
  162. package/lib/commonjs/theme/generated/light/StreamTokens.android.js.map +1 -1
  163. package/lib/commonjs/theme/generated/light/StreamTokens.ios.js +8 -8
  164. package/lib/commonjs/theme/generated/light/StreamTokens.ios.js.map +1 -1
  165. package/lib/commonjs/theme/generated/light/StreamTokens.web.js +8 -8
  166. package/lib/commonjs/theme/generated/light/StreamTokens.web.js.map +1 -1
  167. package/lib/commonjs/utils/animations/createBoundedZoomTransition.js +151 -0
  168. package/lib/commonjs/utils/animations/createBoundedZoomTransition.js.map +1 -0
  169. package/lib/commonjs/utils/{transitions.js → animations/transitions.js} +6 -0
  170. package/lib/commonjs/utils/animations/transitions.js.map +1 -0
  171. package/lib/commonjs/version.json +1 -1
  172. package/lib/module/a11y/hooks/useA11yLabel.js +4 -3
  173. package/lib/module/a11y/hooks/useA11yLabel.js.map +1 -1
  174. package/lib/module/a11y/hooks/useAccessibilityActivateAction.js +25 -0
  175. package/lib/module/a11y/hooks/useAccessibilityActivateAction.js.map +1 -0
  176. package/lib/module/a11y/index.js +11 -0
  177. package/lib/module/a11y/index.js.map +1 -1
  178. package/lib/module/components/AttachmentPicker/AttachmentPicker.js +20 -0
  179. package/lib/module/components/AttachmentPicker/AttachmentPicker.js.map +1 -1
  180. package/lib/module/components/AttachmentPicker/components/AttachmentMediaPicker/AttachmentMediaPicker.js +1 -0
  181. package/lib/module/components/AttachmentPicker/components/AttachmentMediaPicker/AttachmentMediaPicker.js.map +1 -1
  182. package/lib/module/components/AttachmentPicker/components/AttachmentMediaPicker/AttachmentPickerItem.js +19 -2
  183. package/lib/module/components/AttachmentPicker/components/AttachmentMediaPicker/AttachmentPickerItem.js.map +1 -1
  184. package/lib/module/components/AttachmentPicker/components/AttachmentPickerContent.js +4 -3
  185. package/lib/module/components/AttachmentPicker/components/AttachmentPickerContent.js.map +1 -1
  186. package/lib/module/components/AttachmentPicker/components/AttachmentTypePickerButton.js +9 -1
  187. package/lib/module/components/AttachmentPicker/components/AttachmentTypePickerButton.js.map +1 -1
  188. package/lib/module/components/Channel/Channel.js +10 -1
  189. package/lib/module/components/Channel/Channel.js.map +1 -1
  190. package/lib/module/components/Channel/hooks/useMessageListPagination.js +26 -3
  191. package/lib/module/components/Channel/hooks/useMessageListPagination.js.map +1 -1
  192. package/lib/module/components/ChannelList/ChannelList.js +29 -4
  193. package/lib/module/components/ChannelList/ChannelList.js.map +1 -1
  194. package/lib/module/components/ChannelList/hooks/useChannelActions.js +314 -11
  195. package/lib/module/components/ChannelList/hooks/useChannelActions.js.map +1 -1
  196. package/lib/module/components/ImageGallery/components/ImageGalleryFooter.js +2 -2
  197. package/lib/module/components/ImageGallery/components/ImageGalleryFooter.js.map +1 -1
  198. package/lib/module/components/ImageGallery/components/ImageGalleryHeader.js +1 -1
  199. package/lib/module/components/ImageGallery/components/ImageGalleryHeader.js.map +1 -1
  200. package/lib/module/components/ImageGallery/components/ImageGalleryVideoControl.js +1 -1
  201. package/lib/module/components/ImageGallery/components/ImageGalleryVideoControl.js.map +1 -1
  202. package/lib/module/components/Message/hooks/useMessageActionHandlers.js +202 -15
  203. package/lib/module/components/Message/hooks/useMessageActionHandlers.js.map +1 -1
  204. package/lib/module/components/MessageInput/MessageComposer.js +1 -1
  205. package/lib/module/components/MessageInput/MessageComposerLeadingView.js +1 -1
  206. package/lib/module/components/MessageInput/MessageComposerLeadingView.js.map +1 -1
  207. package/lib/module/components/MessageInput/MessageInputHeaderView.js +1 -1
  208. package/lib/module/components/MessageInput/MessageInputHeaderView.js.map +1 -1
  209. package/lib/module/components/MessageInput/MessageInputTrailingView.js +1 -1
  210. package/lib/module/components/MessageInput/MessageInputTrailingView.js.map +1 -1
  211. package/lib/module/components/MessageInput/components/AttachmentPreview/AttachmentRemoveControl.js +16 -4
  212. package/lib/module/components/MessageInput/components/AttachmentPreview/AttachmentRemoveControl.js.map +1 -1
  213. package/lib/module/components/MessageInput/components/AttachmentPreview/AttachmentUploadPreviewList.js +7 -13
  214. package/lib/module/components/MessageInput/components/AttachmentPreview/AttachmentUploadPreviewList.js.map +1 -1
  215. package/lib/module/components/MessageInput/components/AudioRecorder/AudioRecorder.js +30 -6
  216. package/lib/module/components/MessageInput/components/AudioRecorder/AudioRecorder.js.map +1 -1
  217. package/lib/module/components/MessageInput/components/AudioRecorder/AudioRecordingButton.js +34 -9
  218. package/lib/module/components/MessageInput/components/AudioRecorder/AudioRecordingButton.js.map +1 -1
  219. package/lib/module/components/MessageInput/components/InputButtons/AttachButton.js +12 -3
  220. package/lib/module/components/MessageInput/components/InputButtons/AttachButton.js.map +1 -1
  221. package/lib/module/components/MessageInput/components/OutputButtons/EditButton.js +1 -0
  222. package/lib/module/components/MessageInput/components/OutputButtons/EditButton.js.map +1 -1
  223. package/lib/module/components/MessageInput/components/OutputButtons/SendButton.js +1 -0
  224. package/lib/module/components/MessageInput/components/OutputButtons/SendButton.js.map +1 -1
  225. package/lib/module/components/MessageInput/components/OutputButtons/index.js +1 -1
  226. package/lib/module/components/MessageList/MessageFlashList.js +24 -4
  227. package/lib/module/components/MessageList/MessageFlashList.js.map +1 -1
  228. package/lib/module/components/MessageList/MessageList.js +24 -4
  229. package/lib/module/components/MessageList/MessageList.js.map +1 -1
  230. package/lib/module/components/MessageList/ScrollToBottomButton.js +12 -6
  231. package/lib/module/components/MessageList/ScrollToBottomButton.js.map +1 -1
  232. package/lib/module/components/MessageList/UnreadMessagesNotification.js +1 -0
  233. package/lib/module/components/MessageList/UnreadMessagesNotification.js.map +1 -1
  234. package/lib/module/components/MessageList/hooks/useScrollToBottomAccessibilityAction.js +47 -0
  235. package/lib/module/components/MessageList/hooks/useScrollToBottomAccessibilityAction.js.map +1 -0
  236. package/lib/module/components/MessageMenu/MessageActionListItem.js +12 -4
  237. package/lib/module/components/MessageMenu/MessageActionListItem.js.map +1 -1
  238. package/lib/module/components/MessageMenu/MessageReactionPicker.js +1 -0
  239. package/lib/module/components/MessageMenu/MessageReactionPicker.js.map +1 -1
  240. package/lib/module/components/MessageMenu/ReactionButton.js +9 -6
  241. package/lib/module/components/MessageMenu/ReactionButton.js.map +1 -1
  242. package/lib/module/components/MessageMenu/hooks/useFetchReactions.js +23 -2
  243. package/lib/module/components/MessageMenu/hooks/useFetchReactions.js.map +1 -1
  244. package/lib/module/components/Notifications/Notification.js +232 -0
  245. package/lib/module/components/Notifications/Notification.js.map +1 -0
  246. package/lib/module/components/Notifications/NotificationList.js +120 -0
  247. package/lib/module/components/Notifications/NotificationList.js.map +1 -0
  248. package/lib/module/components/Notifications/NotificationTargetContext.js +45 -0
  249. package/lib/module/components/Notifications/NotificationTargetContext.js.map +1 -0
  250. package/lib/module/components/Notifications/hooks/index.js +59 -0
  251. package/lib/module/components/Notifications/hooks/index.js.map +1 -0
  252. package/lib/module/components/Notifications/hooks/useNotificationApi.js +133 -0
  253. package/lib/module/components/Notifications/hooks/useNotificationApi.js.map +1 -0
  254. package/lib/module/components/Notifications/hooks/useNotificationListController.js +133 -0
  255. package/lib/module/components/Notifications/hooks/useNotificationListController.js.map +1 -0
  256. package/lib/module/components/Notifications/hooks/useNotificationTarget.js +26 -0
  257. package/lib/module/components/Notifications/hooks/useNotificationTarget.js.map +1 -0
  258. package/lib/module/components/Notifications/hooks/useNotifications.js +26 -0
  259. package/lib/module/components/Notifications/hooks/useNotifications.js.map +1 -0
  260. package/lib/module/components/Notifications/hooks/useSystemNotifications.js +22 -0
  261. package/lib/module/components/Notifications/hooks/useSystemNotifications.js.map +1 -0
  262. package/lib/module/components/Notifications/index.js +59 -0
  263. package/lib/module/components/Notifications/index.js.map +1 -0
  264. package/lib/module/components/Notifications/notificationTarget.js +220 -0
  265. package/lib/module/components/Notifications/notificationTarget.js.map +1 -0
  266. package/lib/module/components/Notifications/notificationTranslations.js +137 -0
  267. package/lib/module/components/Notifications/notificationTranslations.js.map +1 -0
  268. package/lib/module/components/Poll/components/CreatePollHeader.js +2 -0
  269. package/lib/module/components/Poll/components/CreatePollHeader.js.map +1 -1
  270. package/lib/module/components/Poll/components/MultipleVotesSettings.js +2 -0
  271. package/lib/module/components/Poll/components/MultipleVotesSettings.js.map +1 -1
  272. package/lib/module/components/Poll/components/PollModalHeader.js +1 -0
  273. package/lib/module/components/Poll/components/PollModalHeader.js.map +1 -1
  274. package/lib/module/components/Poll/components/PollOption.js +14 -9
  275. package/lib/module/components/Poll/components/PollOption.js.map +1 -1
  276. package/lib/module/components/Poll/hooks/usePollState.js +35 -3
  277. package/lib/module/components/Poll/hooks/usePollState.js.map +1 -1
  278. package/lib/module/components/Reply/Reply.js +1 -0
  279. package/lib/module/components/Reply/Reply.js.map +1 -1
  280. package/lib/module/components/Thread/Thread.js +19 -11
  281. package/lib/module/components/Thread/Thread.js.map +1 -1
  282. package/lib/module/components/ThreadList/ThreadList.js +30 -9
  283. package/lib/module/components/ThreadList/ThreadList.js.map +1 -1
  284. package/lib/module/components/index.js +11 -0
  285. package/lib/module/components/index.js.map +1 -1
  286. package/lib/module/components/ui/Avatar/Avatar.js +6 -3
  287. package/lib/module/components/ui/Avatar/Avatar.js.map +1 -1
  288. package/lib/module/components/ui/Button/Button.js +16 -3
  289. package/lib/module/components/ui/Button/Button.js.map +1 -1
  290. package/lib/module/contexts/accessibilityContext/AccessibilityContext.js +21 -1
  291. package/lib/module/contexts/accessibilityContext/AccessibilityContext.js.map +1 -1
  292. package/lib/module/contexts/componentsContext/defaultComponents.js +4 -0
  293. package/lib/module/contexts/componentsContext/defaultComponents.js.map +1 -1
  294. package/lib/module/contexts/messageInputContext/MessageInputContext.js +37 -0
  295. package/lib/module/contexts/messageInputContext/MessageInputContext.js.map +1 -1
  296. package/lib/module/contexts/themeContext/utils/theme.js +13 -0
  297. package/lib/module/contexts/themeContext/utils/theme.js.map +1 -1
  298. package/lib/module/hooks/index.js +11 -0
  299. package/lib/module/hooks/index.js.map +1 -1
  300. package/lib/module/hooks/useAudioPlayer.js +34 -1
  301. package/lib/module/hooks/useAudioPlayer.js.map +1 -1
  302. package/lib/module/hooks/useInAppNotificationsState.js.map +1 -1
  303. package/lib/module/hooks/useLazyRef.js +13 -0
  304. package/lib/module/hooks/useLazyRef.js.map +1 -0
  305. package/lib/module/i18n/en.json +94 -1
  306. package/lib/module/i18n/es.json +96 -3
  307. package/lib/module/i18n/fr.json +94 -1
  308. package/lib/module/i18n/he.json +94 -1
  309. package/lib/module/i18n/hi.json +94 -1
  310. package/lib/module/i18n/it.json +94 -1
  311. package/lib/module/i18n/ja.json +94 -1
  312. package/lib/module/i18n/ko.json +94 -1
  313. package/lib/module/i18n/nl.json +94 -1
  314. package/lib/module/i18n/pt-br.json +94 -1
  315. package/lib/module/i18n/ru.json +94 -1
  316. package/lib/module/i18n/tr.json +94 -1
  317. package/lib/module/mock-builders/DB/mock.js +3 -1
  318. package/lib/module/mock-builders/DB/mock.js.map +1 -1
  319. package/lib/module/state-store/audio-player-pool.js +1 -0
  320. package/lib/module/state-store/audio-player-pool.js.map +1 -1
  321. package/lib/module/state-store/audio-player.js +92 -13
  322. package/lib/module/state-store/audio-player.js.map +1 -1
  323. package/lib/module/test-utils/BetterSqlite.js +3 -2
  324. package/lib/module/test-utils/BetterSqlite.js.map +1 -1
  325. package/lib/module/theme/generated/dark/StreamTokens.android.js +16 -16
  326. package/lib/module/theme/generated/dark/StreamTokens.android.js.map +1 -1
  327. package/lib/module/theme/generated/dark/StreamTokens.ios.js +8 -8
  328. package/lib/module/theme/generated/dark/StreamTokens.ios.js.map +1 -1
  329. package/lib/module/theme/generated/dark/StreamTokens.web.js +8 -8
  330. package/lib/module/theme/generated/dark/StreamTokens.web.js.map +1 -1
  331. package/lib/module/theme/generated/light/StreamTokens.android.js +16 -16
  332. package/lib/module/theme/generated/light/StreamTokens.android.js.map +1 -1
  333. package/lib/module/theme/generated/light/StreamTokens.ios.js +8 -8
  334. package/lib/module/theme/generated/light/StreamTokens.ios.js.map +1 -1
  335. package/lib/module/theme/generated/light/StreamTokens.web.js +8 -8
  336. package/lib/module/theme/generated/light/StreamTokens.web.js.map +1 -1
  337. package/lib/module/utils/animations/createBoundedZoomTransition.js +151 -0
  338. package/lib/module/utils/animations/createBoundedZoomTransition.js.map +1 -0
  339. package/lib/module/utils/{transitions.js → animations/transitions.js} +6 -0
  340. package/lib/module/utils/animations/transitions.js.map +1 -0
  341. package/lib/module/version.json +1 -1
  342. package/lib/typescript/a11y/a11yUtils.d.ts +3 -3
  343. package/lib/typescript/a11y/a11yUtils.d.ts.map +1 -1
  344. package/lib/typescript/a11y/hooks/useA11yLabel.d.ts +2 -1
  345. package/lib/typescript/a11y/hooks/useA11yLabel.d.ts.map +1 -1
  346. package/lib/typescript/a11y/hooks/useAccessibilityActivateAction.d.ts +17 -0
  347. package/lib/typescript/a11y/hooks/useAccessibilityActivateAction.d.ts.map +1 -0
  348. package/lib/typescript/a11y/index.d.ts +1 -0
  349. package/lib/typescript/a11y/index.d.ts.map +1 -1
  350. package/lib/typescript/components/AttachmentPicker/AttachmentPicker.d.ts.map +1 -1
  351. package/lib/typescript/components/AttachmentPicker/components/AttachmentMediaPicker/AttachmentMediaPicker.d.ts.map +1 -1
  352. package/lib/typescript/components/AttachmentPicker/components/AttachmentMediaPicker/AttachmentPickerItem.d.ts.map +1 -1
  353. package/lib/typescript/components/AttachmentPicker/components/AttachmentPickerContent.d.ts.map +1 -1
  354. package/lib/typescript/components/AttachmentPicker/components/AttachmentTypePickerButton.d.ts +2 -1
  355. package/lib/typescript/components/AttachmentPicker/components/AttachmentTypePickerButton.d.ts.map +1 -1
  356. package/lib/typescript/components/Channel/Channel.d.ts +1 -0
  357. package/lib/typescript/components/Channel/Channel.d.ts.map +1 -1
  358. package/lib/typescript/components/Channel/hooks/useMessageListPagination.d.ts.map +1 -1
  359. package/lib/typescript/components/ChannelList/ChannelList.d.ts +1 -0
  360. package/lib/typescript/components/ChannelList/ChannelList.d.ts.map +1 -1
  361. package/lib/typescript/components/ChannelList/hooks/useChannelActions.d.ts.map +1 -1
  362. package/lib/typescript/components/Message/hooks/useMessageActionHandlers.d.ts.map +1 -1
  363. package/lib/typescript/components/MessageInput/components/AttachmentPreview/AttachmentRemoveControl.d.ts +5 -2
  364. package/lib/typescript/components/MessageInput/components/AttachmentPreview/AttachmentRemoveControl.d.ts.map +1 -1
  365. package/lib/typescript/components/MessageInput/components/AttachmentPreview/AttachmentUploadPreviewList.d.ts.map +1 -1
  366. package/lib/typescript/components/MessageInput/components/AudioRecorder/AudioRecorder.d.ts.map +1 -1
  367. package/lib/typescript/components/MessageInput/components/AudioRecorder/AudioRecordingButton.d.ts.map +1 -1
  368. package/lib/typescript/components/MessageInput/components/InputButtons/AttachButton.d.ts +1 -0
  369. package/lib/typescript/components/MessageInput/components/InputButtons/AttachButton.d.ts.map +1 -1
  370. package/lib/typescript/components/MessageInput/components/OutputButtons/EditButton.d.ts.map +1 -1
  371. package/lib/typescript/components/MessageInput/components/OutputButtons/SendButton.d.ts.map +1 -1
  372. package/lib/typescript/components/MessageList/MessageFlashList.d.ts.map +1 -1
  373. package/lib/typescript/components/MessageList/MessageList.d.ts.map +1 -1
  374. package/lib/typescript/components/MessageList/ScrollToBottomButton.d.ts +2 -0
  375. package/lib/typescript/components/MessageList/ScrollToBottomButton.d.ts.map +1 -1
  376. package/lib/typescript/components/MessageList/UnreadMessagesNotification.d.ts.map +1 -1
  377. package/lib/typescript/components/MessageList/hooks/useScrollToBottomAccessibilityAction.d.ts +20 -0
  378. package/lib/typescript/components/MessageList/hooks/useScrollToBottomAccessibilityAction.d.ts.map +1 -0
  379. package/lib/typescript/components/MessageMenu/MessageActionListItem.d.ts.map +1 -1
  380. package/lib/typescript/components/MessageMenu/MessageReactionPicker.d.ts.map +1 -1
  381. package/lib/typescript/components/MessageMenu/ReactionButton.d.ts.map +1 -1
  382. package/lib/typescript/components/MessageMenu/hooks/useFetchReactions.d.ts.map +1 -1
  383. package/lib/typescript/components/Notifications/Notification.d.ts +31 -0
  384. package/lib/typescript/components/Notifications/Notification.d.ts.map +1 -0
  385. package/lib/typescript/components/Notifications/NotificationList.d.ts +28 -0
  386. package/lib/typescript/components/Notifications/NotificationList.d.ts.map +1 -0
  387. package/lib/typescript/components/Notifications/NotificationTargetContext.d.ts +14 -0
  388. package/lib/typescript/components/Notifications/NotificationTargetContext.d.ts.map +1 -0
  389. package/lib/typescript/components/Notifications/hooks/index.d.ts +6 -0
  390. package/lib/typescript/components/Notifications/hooks/index.d.ts.map +1 -0
  391. package/lib/typescript/components/Notifications/hooks/useNotificationApi.d.ts +48 -0
  392. package/lib/typescript/components/Notifications/hooks/useNotificationApi.d.ts.map +1 -0
  393. package/lib/typescript/components/Notifications/hooks/useNotificationListController.d.ts +14 -0
  394. package/lib/typescript/components/Notifications/hooks/useNotificationListController.d.ts.map +1 -0
  395. package/lib/typescript/components/Notifications/hooks/useNotificationTarget.d.ts +3 -0
  396. package/lib/typescript/components/Notifications/hooks/useNotificationTarget.d.ts.map +1 -0
  397. package/lib/typescript/components/Notifications/hooks/useNotifications.d.ts +14 -0
  398. package/lib/typescript/components/Notifications/hooks/useNotifications.d.ts.map +1 -0
  399. package/lib/typescript/components/Notifications/hooks/useSystemNotifications.d.ts +9 -0
  400. package/lib/typescript/components/Notifications/hooks/useSystemNotifications.d.ts.map +1 -0
  401. package/lib/typescript/components/Notifications/index.d.ts +6 -0
  402. package/lib/typescript/components/Notifications/index.d.ts.map +1 -0
  403. package/lib/typescript/components/Notifications/notificationTarget.d.ts +55 -0
  404. package/lib/typescript/components/Notifications/notificationTarget.d.ts.map +1 -0
  405. package/lib/typescript/components/Notifications/notificationTranslations.d.ts +7 -0
  406. package/lib/typescript/components/Notifications/notificationTranslations.d.ts.map +1 -0
  407. package/lib/typescript/components/Poll/components/CreatePollHeader.d.ts.map +1 -1
  408. package/lib/typescript/components/Poll/components/MultipleVotesSettings.d.ts.map +1 -1
  409. package/lib/typescript/components/Poll/components/PollModalHeader.d.ts.map +1 -1
  410. package/lib/typescript/components/Poll/components/PollOption.d.ts.map +1 -1
  411. package/lib/typescript/components/Poll/hooks/usePollState.d.ts.map +1 -1
  412. package/lib/typescript/components/Reply/Reply.d.ts.map +1 -1
  413. package/lib/typescript/components/Thread/Thread.d.ts +1 -0
  414. package/lib/typescript/components/Thread/Thread.d.ts.map +1 -1
  415. package/lib/typescript/components/ThreadList/ThreadList.d.ts +3 -1
  416. package/lib/typescript/components/ThreadList/ThreadList.d.ts.map +1 -1
  417. package/lib/typescript/components/index.d.ts +1 -0
  418. package/lib/typescript/components/index.d.ts.map +1 -1
  419. package/lib/typescript/components/ui/Avatar/Avatar.d.ts.map +1 -1
  420. package/lib/typescript/components/ui/Button/Button.d.ts +10 -1
  421. package/lib/typescript/components/ui/Button/Button.d.ts.map +1 -1
  422. package/lib/typescript/contexts/accessibilityContext/AccessibilityContext.d.ts +1 -1
  423. package/lib/typescript/contexts/accessibilityContext/AccessibilityContext.d.ts.map +1 -1
  424. package/lib/typescript/contexts/componentsContext/defaultComponents.d.ts +3 -0
  425. package/lib/typescript/contexts/componentsContext/defaultComponents.d.ts.map +1 -1
  426. package/lib/typescript/contexts/messageInputContext/MessageInputContext.d.ts.map +1 -1
  427. package/lib/typescript/contexts/themeContext/ThemeContext.d.ts +13 -0
  428. package/lib/typescript/contexts/themeContext/ThemeContext.d.ts.map +1 -1
  429. package/lib/typescript/contexts/themeContext/utils/theme.d.ts +13 -0
  430. package/lib/typescript/contexts/themeContext/utils/theme.d.ts.map +1 -1
  431. package/lib/typescript/hooks/index.d.ts +1 -0
  432. package/lib/typescript/hooks/index.d.ts.map +1 -1
  433. package/lib/typescript/hooks/useAudioPlayer.d.ts.map +1 -1
  434. package/lib/typescript/hooks/useInAppNotificationsState.d.ts +6 -0
  435. package/lib/typescript/hooks/useInAppNotificationsState.d.ts.map +1 -1
  436. package/lib/typescript/hooks/useLazyRef.d.ts +7 -0
  437. package/lib/typescript/hooks/useLazyRef.d.ts.map +1 -0
  438. package/lib/typescript/i18n/en.json +94 -1
  439. package/lib/typescript/i18n/es.json +96 -3
  440. package/lib/typescript/i18n/fr.json +94 -1
  441. package/lib/typescript/i18n/he.json +94 -1
  442. package/lib/typescript/i18n/hi.json +94 -1
  443. package/lib/typescript/i18n/it.json +94 -1
  444. package/lib/typescript/i18n/ja.json +94 -1
  445. package/lib/typescript/i18n/ko.json +94 -1
  446. package/lib/typescript/i18n/nl.json +94 -1
  447. package/lib/typescript/i18n/pt-br.json +94 -1
  448. package/lib/typescript/i18n/ru.json +94 -1
  449. package/lib/typescript/i18n/tr.json +94 -1
  450. package/lib/typescript/state-store/audio-player-pool.d.ts.map +1 -1
  451. package/lib/typescript/state-store/audio-player.d.ts +13 -0
  452. package/lib/typescript/state-store/audio-player.d.ts.map +1 -1
  453. package/lib/typescript/test-utils/BetterSqlite.d.ts.map +1 -1
  454. package/lib/typescript/utils/animations/createBoundedZoomTransition.d.ts +21 -0
  455. package/lib/typescript/utils/animations/createBoundedZoomTransition.d.ts.map +1 -0
  456. package/lib/typescript/utils/animations/transitions.d.ts +21 -0
  457. package/lib/typescript/utils/animations/transitions.d.ts.map +1 -0
  458. package/lib/typescript/utils/i18n/Streami18n.d.ts +93 -0
  459. package/lib/typescript/utils/i18n/Streami18n.d.ts.map +1 -1
  460. package/package.json +2 -2
  461. package/src/__tests__/offline-support/offline-feature.tsx +40 -34
  462. package/src/a11y/a11yUtils.ts +2 -2
  463. package/src/a11y/hooks/useA11yLabel.ts +7 -4
  464. package/src/a11y/hooks/useAccessibilityActivateAction.ts +44 -0
  465. package/src/a11y/index.ts +1 -0
  466. package/src/components/AttachmentPicker/AttachmentPicker.tsx +23 -1
  467. package/src/components/AttachmentPicker/components/AttachmentMediaPicker/AttachmentMediaPicker.tsx +1 -0
  468. package/src/components/AttachmentPicker/components/AttachmentMediaPicker/AttachmentPickerItem.tsx +15 -2
  469. package/src/components/AttachmentPicker/components/AttachmentPickerContent.tsx +4 -3
  470. package/src/components/AttachmentPicker/components/AttachmentTypePickerButton.tsx +9 -0
  471. package/src/components/AttachmentPicker/components/__tests__/AttachmentPickerContent.test.tsx +19 -18
  472. package/src/components/Channel/Channel.tsx +15 -1
  473. package/src/components/Channel/__tests__/useMessageListPagination.test.tsx +34 -2
  474. package/src/components/Channel/hooks/useMessageListPagination.tsx +19 -3
  475. package/src/components/ChannelList/ChannelList.tsx +27 -5
  476. package/src/components/ChannelList/__tests__/ChannelListView.test.tsx +16 -5
  477. package/src/components/ChannelList/hooks/__tests__/useChannelActions.test.tsx +123 -0
  478. package/src/components/ChannelList/hooks/useChannelActions.ts +181 -12
  479. package/src/components/ImageGallery/__tests__/ImageGalleryFooter.test.tsx +9 -3
  480. package/src/components/ImageGallery/__tests__/ImageGalleryHeader.test.tsx +4 -1
  481. package/src/components/ImageGallery/components/ImageGalleryFooter.tsx +2 -2
  482. package/src/components/ImageGallery/components/ImageGalleryHeader.tsx +1 -1
  483. package/src/components/ImageGallery/components/ImageGalleryVideoControl.tsx +1 -1
  484. package/src/components/Message/hooks/__tests__/useMessageActionHandlers.test.tsx +131 -0
  485. package/src/components/Message/hooks/useMessageActionHandlers.ts +133 -23
  486. package/src/components/MessageInput/MessageComposer.tsx +1 -1
  487. package/src/components/MessageInput/MessageComposerLeadingView.tsx +1 -1
  488. package/src/components/MessageInput/MessageInputHeaderView.tsx +1 -1
  489. package/src/components/MessageInput/MessageInputTrailingView.tsx +1 -1
  490. package/src/components/MessageInput/components/AttachmentPreview/AttachmentRemoveControl.tsx +18 -2
  491. package/src/components/MessageInput/components/AttachmentPreview/AttachmentUploadPreviewList.tsx +1 -10
  492. package/src/components/MessageInput/components/AudioRecorder/AudioRecorder.tsx +13 -2
  493. package/src/components/MessageInput/components/AudioRecorder/AudioRecordingButton.tsx +35 -14
  494. package/src/components/MessageInput/components/InputButtons/AttachButton.tsx +13 -3
  495. package/src/components/MessageInput/components/OutputButtons/EditButton.tsx +1 -0
  496. package/src/components/MessageInput/components/OutputButtons/SendButton.tsx +1 -0
  497. package/src/components/MessageInput/components/OutputButtons/index.tsx +1 -1
  498. package/src/components/MessageList/MessageFlashList.tsx +26 -3
  499. package/src/components/MessageList/MessageList.tsx +26 -3
  500. package/src/components/MessageList/ScrollToBottomButton.tsx +18 -6
  501. package/src/components/MessageList/UnreadMessagesNotification.tsx +1 -0
  502. package/src/components/MessageList/__tests__/MessageList.test.tsx +221 -0
  503. package/src/components/MessageList/__tests__/ScrollToBottomButton.test.tsx +2 -2
  504. package/src/components/MessageList/__tests__/__snapshots__/ScrollToBottomButton.test.tsx.snap +3 -1
  505. package/src/components/MessageList/hooks/useScrollToBottomAccessibilityAction.ts +74 -0
  506. package/src/components/MessageMenu/MessageActionListItem.tsx +10 -4
  507. package/src/components/MessageMenu/MessageReactionPicker.tsx +1 -0
  508. package/src/components/MessageMenu/ReactionButton.tsx +7 -9
  509. package/src/components/MessageMenu/__tests__/MessageReactionPicker.test.tsx +13 -15
  510. package/src/components/MessageMenu/__tests__/MessageUserReactions.test.tsx +20 -18
  511. package/src/components/MessageMenu/__tests__/ReactionButton.test.tsx +18 -5
  512. package/src/components/MessageMenu/hooks/useFetchReactions.ts +17 -2
  513. package/src/components/Notifications/Notification.tsx +254 -0
  514. package/src/components/Notifications/NotificationList.tsx +160 -0
  515. package/src/components/Notifications/NotificationTargetContext.tsx +45 -0
  516. package/src/components/Notifications/__tests__/NotificationList.test.tsx +480 -0
  517. package/src/components/Notifications/__tests__/notificationTarget.test.ts +157 -0
  518. package/src/components/Notifications/hooks/__tests__/useNotificationApi.test.tsx +172 -0
  519. package/src/components/Notifications/hooks/__tests__/useNotificationTarget.test.tsx +85 -0
  520. package/src/components/Notifications/hooks/index.ts +5 -0
  521. package/src/components/Notifications/hooks/useNotificationApi.ts +248 -0
  522. package/src/components/Notifications/hooks/useNotificationListController.ts +160 -0
  523. package/src/components/Notifications/hooks/useNotificationTarget.ts +37 -0
  524. package/src/components/Notifications/hooks/useNotifications.ts +43 -0
  525. package/src/components/Notifications/hooks/useSystemNotifications.ts +33 -0
  526. package/src/components/Notifications/index.ts +5 -0
  527. package/src/components/Notifications/notificationTarget.ts +305 -0
  528. package/src/components/Notifications/notificationTranslations.ts +142 -0
  529. package/src/components/Poll/components/CreatePollHeader.tsx +2 -0
  530. package/src/components/Poll/components/MultipleVotesSettings.tsx +2 -0
  531. package/src/components/Poll/components/PollModalHeader.tsx +1 -0
  532. package/src/components/Poll/components/PollOption.tsx +10 -6
  533. package/src/components/Poll/hooks/usePollState.ts +26 -2
  534. package/src/components/Reply/Reply.tsx +4 -1
  535. package/src/components/Thread/Thread.tsx +24 -16
  536. package/src/components/Thread/__tests__/__snapshots__/Thread.test.tsx.snap +3 -0
  537. package/src/components/ThreadList/ThreadList.tsx +33 -9
  538. package/src/components/index.ts +2 -0
  539. package/src/components/ui/Avatar/Avatar.tsx +2 -1
  540. package/src/components/ui/Button/Button.tsx +26 -0
  541. package/src/components/ui/Button/__tests__/Button.test.tsx +44 -0
  542. package/src/contexts/accessibilityContext/AccessibilityContext.tsx +35 -1
  543. package/src/contexts/componentsContext/defaultComponents.ts +4 -0
  544. package/src/contexts/messageInputContext/MessageInputContext.tsx +36 -0
  545. package/src/contexts/themeContext/utils/theme.ts +26 -0
  546. package/src/hooks/index.ts +1 -0
  547. package/src/hooks/useAudioPlayer.ts +44 -3
  548. package/src/hooks/useInAppNotificationsState.ts +6 -0
  549. package/src/hooks/useLazyRef.ts +15 -0
  550. package/src/i18n/en.json +94 -1
  551. package/src/i18n/es.json +96 -3
  552. package/src/i18n/fr.json +94 -1
  553. package/src/i18n/he.json +94 -1
  554. package/src/i18n/hi.json +94 -1
  555. package/src/i18n/it.json +94 -1
  556. package/src/i18n/ja.json +94 -1
  557. package/src/i18n/ko.json +94 -1
  558. package/src/i18n/nl.json +94 -1
  559. package/src/i18n/pt-br.json +94 -1
  560. package/src/i18n/ru.json +94 -1
  561. package/src/i18n/tr.json +94 -1
  562. package/src/mock-builders/DB/mock.ts +2 -1
  563. package/src/state-store/__tests__/audio-player.test.ts +45 -0
  564. package/src/state-store/audio-player-pool.ts +1 -0
  565. package/src/state-store/audio-player.ts +108 -16
  566. package/src/test-utils/BetterSqlite.ts +3 -1
  567. package/src/theme/generated/dark/StreamTokens.android.ts +16 -16
  568. package/src/theme/generated/dark/StreamTokens.ios.ts +8 -8
  569. package/src/theme/generated/dark/StreamTokens.web.ts +8 -8
  570. package/src/theme/generated/light/StreamTokens.android.ts +16 -16
  571. package/src/theme/generated/light/StreamTokens.ios.ts +8 -8
  572. package/src/theme/generated/light/StreamTokens.web.ts +8 -8
  573. package/src/utils/animations/createBoundedZoomTransition.ts +117 -0
  574. package/src/utils/{transitions.ts → animations/transitions.ts} +6 -0
  575. package/src/version.json +1 -1
  576. package/lib/commonjs/utils/transitions.js.map +0 -1
  577. package/lib/module/utils/transitions.js.map +0 -1
  578. package/lib/typescript/utils/transitions.d.ts +0 -9
  579. package/lib/typescript/utils/transitions.d.ts.map +0 -1
@@ -5,7 +5,8 @@
5
5
  * default disabled-state.
6
6
  *
7
7
  * Example:
8
- * const label = useA11yLabel('a11y/Avatar of {{name}}', { name });
8
+ * const labelParams = useMemo(() => ({ name }), [name]);
9
+ * const label = useA11yLabel('a11y/Avatar of {{name}}', labelParams);
9
10
  * <Image accessibilityLabel={label} />
10
11
  */
11
12
  export declare const useA11yLabel: (key: string, params?: Record<string, unknown>) => string | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"useA11yLabel.d.ts","sourceRoot":"","sources":["../../../../src/a11y/hooks/useA11yLabel.ts"],"names":[],"mappings":"AAGA;;;;;;;;;GASG;AACH,eAAO,MAAM,YAAY,GAAI,KAAK,MAAM,EAAE,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAG,MAAM,GAAG,SAKrF,CAAC"}
1
+ {"version":3,"file":"useA11yLabel.d.ts","sourceRoot":"","sources":["../../../../src/a11y/hooks/useA11yLabel.ts"],"names":[],"mappings":"AAKA;;;;;;;;;;GAUG;AACH,eAAO,MAAM,YAAY,GAAI,KAAK,MAAM,EAAE,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAG,MAAM,GAAG,SAKrF,CAAC"}
@@ -0,0 +1,17 @@
1
+ import type { AccessibilityProps } from 'react-native';
2
+ export type UseAccessibilityActivateActionProps<TPressEvent> = {
3
+ onPress?: ((event: TPressEvent) => void) | null;
4
+ shouldHandleActivate?: boolean;
5
+ };
6
+ export type UseAccessibilityActivateActionResult = {
7
+ accessibilityActions?: AccessibilityProps['accessibilityActions'];
8
+ onAccessibilityAction?: AccessibilityProps['onAccessibilityAction'];
9
+ } | undefined;
10
+ /**
11
+ * Adds the standard screen-reader `activate` action for labeled pressables when
12
+ * SDK accessibility is enabled. Some Android pressable implementations don't
13
+ * reliably map TalkBack double-tap to `onPress`, so this bridges the generated
14
+ * accessibility action back to the existing press handler.
15
+ */
16
+ export declare const useAccessibilityActivateAction: <TPressEvent>({ onPress, shouldHandleActivate, }: UseAccessibilityActivateActionProps<TPressEvent>) => UseAccessibilityActivateActionResult;
17
+ //# sourceMappingURL=useAccessibilityActivateAction.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useAccessibilityActivateAction.d.ts","sourceRoot":"","sources":["../../../../src/a11y/hooks/useAccessibilityActivateAction.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAA4B,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAIjF,MAAM,MAAM,mCAAmC,CAAC,WAAW,IAAI;IAC7D,OAAO,CAAC,EAAE,CAAC,CAAC,KAAK,EAAE,WAAW,KAAK,IAAI,CAAC,GAAG,IAAI,CAAC;IAChD,oBAAoB,CAAC,EAAE,OAAO,CAAC;CAChC,CAAC;AAEF,MAAM,MAAM,oCAAoC,GAC5C;IACE,oBAAoB,CAAC,EAAE,kBAAkB,CAAC,sBAAsB,CAAC,CAAC;IAClE,qBAAqB,CAAC,EAAE,kBAAkB,CAAC,uBAAuB,CAAC,CAAC;CACrE,GACD,SAAS,CAAC;AAMd;;;;;GAKG;AACH,eAAO,MAAM,8BAA8B,GAAI,WAAW,EAAE,oCAGzD,mCAAmC,CAAC,WAAW,CAAC,KAAG,oCAcrD,CAAC"}
@@ -4,4 +4,5 @@ export * from './hooks/useReducedMotionPreference';
4
4
  export * from './hooks/useResolvedModalAccessibilityProps';
5
5
  export * from './hooks/useAnnounceOnStateChange';
6
6
  export * from './hooks/useA11yLabel';
7
+ export * from './hooks/useAccessibilityActivateAction';
7
8
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/a11y/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,gCAAgC,CAAC;AAC/C,cAAc,oCAAoC,CAAC;AACnD,cAAc,4CAA4C,CAAC;AAC3D,cAAc,kCAAkC,CAAC;AACjD,cAAc,sBAAsB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/a11y/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,gCAAgC,CAAC;AAC/C,cAAc,oCAAoC,CAAC;AACnD,cAAc,4CAA4C,CAAC;AAC3D,cAAc,kCAAkC,CAAC;AACjD,cAAc,sBAAsB,CAAC;AACrC,cAAc,wCAAwC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"AttachmentPicker.d.ts","sourceRoot":"","sources":["../../../../src/components/AttachmentPicker/AttachmentPicker.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+C,MAAM,OAAO,CAAC;AAkCpE,eAAO,MAAM,gBAAgB;;;CA8I5B,CAAC"}
1
+ {"version":3,"file":"AttachmentPicker.d.ts","sourceRoot":"","sources":["../../../../src/components/AttachmentPicker/AttachmentPicker.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+C,MAAM,OAAO,CAAC;AAoCpE,eAAO,MAAM,gBAAgB;;;CAyJ5B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"AttachmentMediaPicker.d.ts","sourceRoot":"","sources":["../../../../../../src/components/AttachmentPicker/components/AttachmentMediaPicker/AttachmentMediaPicker.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+C,MAAM,OAAO,CAAC;AAapE,OAAO,EAEL,KAAK,4BAA4B,EAClC,MAAM,mCAAmC,CAAC;AAoB3C,eAAO,MAAM,yBAAyB,yBAMrC,CAAC;AAEF,eAAO,MAAM,qBAAqB,GAAI,OAAO,4BAA4B,sBAsIxE,CAAC"}
1
+ {"version":3,"file":"AttachmentMediaPicker.d.ts","sourceRoot":"","sources":["../../../../../../src/components/AttachmentPicker/components/AttachmentMediaPicker/AttachmentMediaPicker.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+C,MAAM,OAAO,CAAC;AAapE,OAAO,EAEL,KAAK,4BAA4B,EAClC,MAAM,mCAAmC,CAAC;AAoB3C,eAAO,MAAM,yBAAyB,yBAMrC,CAAC;AAEF,eAAO,MAAM,qBAAqB,GAAI,OAAO,4BAA4B,sBAuIxE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"AttachmentPickerItem.d.ts","sourceRoot":"","sources":["../../../../../../src/components/AttachmentPicker/components/AttachmentMediaPicker/AttachmentPickerItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,OAAO,EAAgB,KAAK,oBAAoB,EAAE,MAAM,UAAU,CAAC;AAuKnE,eAAO,MAAM,0BAA0B,GAAI,UAAU;IAAE,IAAI,EAAE,oBAAoB,CAAA;CAAE,sBAiBlF,CAAC"}
1
+ {"version":3,"file":"AttachmentPickerItem.d.ts","sourceRoot":"","sources":["../../../../../../src/components/AttachmentPicker/components/AttachmentMediaPicker/AttachmentPickerItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,OAAO,EAAgB,KAAK,oBAAoB,EAAE,MAAM,UAAU,CAAC;AAoLnE,eAAO,MAAM,0BAA0B,GAAI,UAAU;IAAE,IAAI,EAAE,oBAAoB,CAAA;CAAE,sBAiBlF,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"AttachmentPickerContent.d.ts","sourceRoot":"","sources":["../../../../../src/components/AttachmentPicker/components/AttachmentPickerContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4D,MAAM,OAAO,CAAC;AAKjF,OAAO,EAAuB,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAIrE,OAAO,EAEL,KAAK,4BAA4B,EAClC,MAAM,kCAAkC,CAAC;AAyC1C,eAAO,MAAM,iCAAiC,GAAI,UAAU;IAAE,IAAI,EAAE,iBAAiB,CAAA;CAAE,sBAgBtF,CAAC;AAEF,eAAO,MAAM,2BAA2B,GAAI,UAAU;IAAE,IAAI,EAAE,iBAAiB,CAAA;CAAE,sBAqBhF,CAAC;AAgCF,eAAO,MAAM,uBAAuB,yBAsBnC,CAAC;AAEF,eAAO,MAAM,oBAAoB,GAAI,OAAO,4BAA4B,sBAkBvE,CAAC;AAEF,eAAO,MAAM,sBAAsB,GACjC,OAAO,4BAA4B,GAAG;IAAE,SAAS,CAAC,EAAE,OAAO,CAAA;CAAE,sBA6C9D,CAAC;AAEF,eAAO,MAAM,oBAAoB,GAAI,OAAO,4BAA4B,sBAcvE,CAAC;AAEF,YAAY,EAAE,4BAA4B,EAAE,MAAM,kCAAkC,CAAC;AACrF,OAAO,EAAE,8BAA8B,EAAE,MAAM,kCAAkC,CAAC;AAElF,eAAO,MAAM,uBAAuB,GAAI,OAAO,4BAA4B,6BAmC1E,CAAC"}
1
+ {"version":3,"file":"AttachmentPickerContent.d.ts","sourceRoot":"","sources":["../../../../../src/components/AttachmentPicker/components/AttachmentPickerContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4D,MAAM,OAAO,CAAC;AAKjF,OAAO,EAAuB,iBAAiB,EAAyB,MAAM,aAAa,CAAC;AAI5F,OAAO,EAEL,KAAK,4BAA4B,EAClC,MAAM,kCAAkC,CAAC;AAyC1C,eAAO,MAAM,iCAAiC,GAAI,UAAU;IAAE,IAAI,EAAE,iBAAiB,CAAA;CAAE,sBAgBtF,CAAC;AAEF,eAAO,MAAM,2BAA2B,GAAI,UAAU;IAAE,IAAI,EAAE,iBAAiB,CAAA;CAAE,sBAqBhF,CAAC;AAgCF,eAAO,MAAM,uBAAuB,yBAuBnC,CAAC;AAEF,eAAO,MAAM,oBAAoB,GAAI,OAAO,4BAA4B,sBAkBvE,CAAC;AAEF,eAAO,MAAM,sBAAsB,GACjC,OAAO,4BAA4B,GAAG;IAAE,SAAS,CAAC,EAAE,OAAO,CAAA;CAAE,sBA6C9D,CAAC;AAEF,eAAO,MAAM,oBAAoB,GAAI,OAAO,4BAA4B,sBAcvE,CAAC;AAEF,YAAY,EAAE,4BAA4B,EAAE,MAAM,kCAAkC,CAAC;AACrF,OAAO,EAAE,8BAA8B,EAAE,MAAM,kCAAkC,CAAC;AAElF,eAAO,MAAM,uBAAuB,GAAI,OAAO,4BAA4B,6BAmC1E,CAAC"}
@@ -2,9 +2,10 @@ import React from 'react';
2
2
  import { PressableProps } from 'react-native-gesture-handler';
3
3
  import { ButtonProps } from '../../ui';
4
4
  export type AttachmentTypePickerButtonProps = Pick<ButtonProps, 'selected' | 'onPress'> & {
5
+ accessibilityLabelKey?: string;
5
6
  Icon: ButtonProps['LeadingIcon'];
6
7
  } & Pick<PressableProps, 'testID'>;
7
- export declare const AttachmentTypePickerButton: ({ testID, selected, onPress: onPressProp, Icon, }: AttachmentTypePickerButtonProps) => React.JSX.Element;
8
+ export declare const AttachmentTypePickerButton: ({ accessibilityLabelKey, testID, selected, onPress: onPressProp, Icon, }: AttachmentTypePickerButtonProps) => React.JSX.Element;
8
9
  export declare const MediaPickerButton: () => React.JSX.Element | null;
9
10
  export declare const CameraPickerButton: () => React.JSX.Element | null;
10
11
  export declare const FilePickerButton: () => React.JSX.Element | null;
@@ -1 +1 @@
1
- {"version":3,"file":"AttachmentTypePickerButton.d.ts","sourceRoot":"","sources":["../../../../../src/components/AttachmentPicker/components/AttachmentTypePickerButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAgC,MAAM,OAAO,CAAC;AAIrD,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAsB9D,OAAO,EAAU,WAAW,EAAE,MAAM,UAAU,CAAC;AAG/C,MAAM,MAAM,+BAA+B,GAAG,IAAI,CAAC,WAAW,EAAE,UAAU,GAAG,SAAS,CAAC,GAAG;IACxF,IAAI,EAAE,WAAW,CAAC,aAAa,CAAC,CAAC;CAClC,GAAG,IAAI,CAAC,cAAc,EAAE,QAAQ,CAAC,CAAC;AAInC,eAAO,MAAM,0BAA0B,GAAI,mDAKxC,+BAA+B,sBAyBjC,CAAC;AAEF,eAAO,MAAM,iBAAiB,gCAqB7B,CAAC;AAEF,eAAO,MAAM,kBAAkB,gCAuC9B,CAAC;AAEF,eAAO,MAAM,gBAAgB,gCAqB5B,CAAC;AAEF,eAAO,MAAM,gBAAgB,gCAyB5B,CAAC;AAEF,eAAO,MAAM,oBAAoB,gCA+BhC,CAAC"}
1
+ {"version":3,"file":"AttachmentTypePickerButton.d.ts","sourceRoot":"","sources":["../../../../../src/components/AttachmentPicker/components/AttachmentTypePickerButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAgC,MAAM,OAAO,CAAC;AAIrD,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAsB9D,OAAO,EAAU,WAAW,EAAE,MAAM,UAAU,CAAC;AAG/C,MAAM,MAAM,+BAA+B,GAAG,IAAI,CAAC,WAAW,EAAE,UAAU,GAAG,SAAS,CAAC,GAAG;IACxF,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,IAAI,EAAE,WAAW,CAAC,aAAa,CAAC,CAAC;CAClC,GAAG,IAAI,CAAC,cAAc,EAAE,QAAQ,CAAC,CAAC;AAInC,eAAO,MAAM,0BAA0B,GAAI,0EAMxC,+BAA+B,sBA0BjC,CAAC;AAEF,eAAO,MAAM,iBAAiB,gCAsB7B,CAAC;AAEF,eAAO,MAAM,kBAAkB,gCAyC9B,CAAC;AAEF,eAAO,MAAM,gBAAgB,gCAsB5B,CAAC;AAEF,eAAO,MAAM,gBAAgB,gCA0B5B,CAAC;AAEF,eAAO,MAAM,oBAAoB,gCAgChC,CAAC"}
@@ -83,6 +83,7 @@ export type ChannelPropsWithContext = Pick<ChannelContextValue, 'channel'> & Par
83
83
  * Load the channel at a specified message instead of the most recent message.
84
84
  */
85
85
  messageId?: string;
86
+ notificationHostId?: string;
86
87
  /**
87
88
  * @deprecated
88
89
  * The time interval for throttling while updating the message state
@@ -1 +1 @@
1
- {"version":3,"file":"Channel.d.ts","sourceRoot":"","sources":["../../../../src/components/Channel/Channel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,iBAAiB,EAAqD,MAAM,OAAO,CAAC;AAMpG,OAAO,EAGL,OAAO,IAAI,WAAW,EAGtB,YAAY,EAKZ,sBAAsB,EACtB,kBAAkB,EAClB,UAAU,EAEV,OAAO,IAAI,aAAa,EAExB,oBAAoB,EACrB,MAAM,aAAa,CAAC;AAmBrB,OAAO,EACL,4BAA4B,EAE7B,MAAM,gEAAgE,CAAC;AAMxE,OAAO,EAAE,mBAAmB,EAAmB,MAAM,8CAA8C,CAAC;AACpG,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,qDAAqD,CAAC;AAEhG,OAAO,EAAE,gBAAgB,EAAkB,MAAM,wCAAwC,CAAC;AAG1F,OAAO,EAAE,mBAAmB,EAAE,MAAM,8CAA8C,CAAC;AACnF,OAAO,EACL,6BAA6B,EAE9B,MAAM,wDAAwD,CAAC;AAChE,OAAO,EACL,oBAAoB,EAErB,MAAM,gDAAgD,CAAC;AACxD,OAAO,EACL,2BAA2B,EAE5B,MAAM,8DAA8D,CAAC;AACtE,OAAO,EACL,gCAAgC,EAEjC,MAAM,wEAAwE,CAAC;AAEhF,OAAO,EACL,kBAAkB,EAElB,UAAU,EACX,MAAM,4CAA4C,CAAC;AACpD,OAAO,EACL,uBAAuB,EAExB,MAAM,sDAAsD,CAAC;AAa9D,OAAO,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AC"}
@@ -1 +1 @@
1
- {"version":3,"file":"useMessageListPagination.d.ts","sourceRoot":"","sources":["../../../../../src/components/Channel/hooks/useMessageListPagination.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,OAAO,EAAiC,MAAM,aAAa,CAAC;AAcrE;;;;;GAKG;AACH,eAAO,MAAM,wBAAwB,GAAI,aAAa;IAAE,OAAO,EAAE,OAAO,CAAA;CAAE;;;aAuC7D,CAAC;iBAAuB,CAAC;0BAEhC,CAAN;;;0BAYwD,CAAC;aACP,CAAC;6BAItC,CAAC;0BAKV,CAAD;;;;;;;CAmOF,CAAC"}
1
+ {"version":3,"file":"useMessageListPagination.d.ts","sourceRoot":"","sources":["../../../../../src/components/Channel/hooks/useMessageListPagination.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,OAAO,EAAiC,MAAM,aAAa,CAAC;AAgBrE;;;;;GAKG;AACH,eAAO,MAAM,wBAAwB,GAAI,aAAa;IAAE,OAAO,EAAE,OAAO,CAAA;CAAE;;;aA8B3B,CAAC;iBACxC,CAAL;0BAAgC,CAAC;;;0BAgBtB,CAAC;aAC0C,CAAC;6BAKvD,CAAC;0BAEF,CAAF;;;;;;;CAyPC,CAAC"}
@@ -133,6 +133,7 @@ export type ChannelListProps = Partial<Pick<ChannelsContextValue, 'additionalFla
133
133
  * - The return type has to be Channel[] (which is the return type of StreamChat.queryChannels)
134
134
  */
135
135
  queryChannelsOverride?: QueryChannelsRequestType;
136
+ notificationHostId?: string;
136
137
  };
137
138
  /**
138
139
  * This component fetches a list of channels, allowing you to select the channel you want to open.
@@ -1 +1 @@
1
- {"version":3,"file":"ChannelList.d.ts","sourceRoot":"","sources":["../../../../src/components/ChannelList/ChannelList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAI5D,OAAO,EACL,OAAO,EACP,cAAc,EACd,cAAc,EACd,WAAW,EACX,KAAK,EACL,wBAAwB,EACzB,MAAM,aAAa,CAAC;AAOrB,OAA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K,EAAE,KAAK,KACT,IAAI,CAAC;IACV;;;SAGK;IACL,OAAO,CAAC,EAAE,cAAc,CAAC;IACzB;;;SAGK;IACL,IAAI,CAAC,EAAE,WAAW,CAAC;IAEnB;;;;;;OAMG;IACH,qBAAqB,CAAC,EAAE,wBAAwB,CAAC;CAClD,CAAC;AAMF;;;;;GAKG;AACH,eAAO,MAAM,WAAW,GAAI,OAAO,gBAAgB,sBA4JlD,CAAC"}
1
+ {"version":3,"file":"ChannelList.d.ts","sourceRoot":"","sources":["../../../../src/components/ChannelList/ChannelList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAK5D,OAAO,EACL,OAAO,EACP,cAAc,EACd,cAAc,EACd,WAAW,EACX,KAAK,EACL,wBAAwB,EACzB,MAAM,aAAa,CAAC;AAOrB,OAAO,EACL,oBAAoB,EAErB,MAAM,gDAAgD,CAAC;AAKxD,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,mBAAmB,CAAC;AAIzE,MAAM,MAAM,gBAAgB,GAAG,OAAO,CACpC,IAAI,CACF,oBAAoB,EAClB,yBAAyB,GACzB,gBAAgB,GAChB,UAAU,GACV,uBAAuB,GACvB,qBAAqB,GACrB,mBAAmB,GACnB,gBAAgB,GAChB,mBAAmB,GACnB,qBAAqB,CACxB,CACF,GAAG;IACF,qOAAqO;IACrO,qBAAqB,CAAC,EAAE,CAAC,QAAQ,EAAE,KAAK,CAAC,OAAO,CAAC,KAAK,KAAK,CAAC,OAAO,CAAC,CAAC;IACrE;;;;;;SAMK;IACL,OAAO,CAAC,EAAE,cAAc,CAAC;IACzB;;OAEG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B;;;;;;;;;SASK;IACL,gBAAgB,CAAC,EAAE,CACjB,WAAW,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,OAAO,EAAE,CAAC,CAAC,EAC5D,KAAK,EAAE,KAAK,EACZ,OAAO,CAA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WAAW,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,OAAO,EAAE,CAAC,CAAC,EAC5D,KAAK,EAAE,KAAK,EACZ,OAAO,CAAC,EAAE,+BAA+B,KACtC,IAAI,CAAC;IACV;;;;;;;;SAQK;IACL,wBAAwB,CAAC,EAAE,CACzB,WAAW,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,OAAO,EAAE,CAAC,CAAC,EAC5D,KAAK,EAAE,KAAK,EACZ,OAAO,CAAC,EAAE,+BAA+B,KACtC,IAAI,CAAC;IAEV;;;;;;;SAOK;IACL,oBAAoB,CAAC,EAAE,CACrB,WAAW,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,OAAO,EAAE,CAAC,CAAC,EAC5D,KAAK,EAAE,KAAK,KACT,IAAI,CAAC;IACV;;;SAGK;IACL,OAAO,CAAC,EAAE,cAAc,CAAC;IACzB;;;SAGK;IACL,IAAI,CAAC,EAAE,WAAW,CAAC;IAEnB;;;;;;OAMG;IACH,qBAAqB,CAAC,EAAE,wBAAwB,CAAC;IACjD,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B,CAAC;AAMF;;;;;GAKG;AACH,eAAO,MAAM,WAAW,GAAI,OAAO,gBAAgB,sBAqKlD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"useChannelActions.d.ts","sourceRoot":"","sources":["../../../../../src/components/ChannelList/hooks/useChannelActions.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAKtC,MAAM,MAAM,cAAc,GAAG;IAC3B,OAAO,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAC7B,aAAa,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IACnC,KAAK,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAC3B,GAAG,EAAE,MAAM,OAAO,CAAC,IAA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O,CAAC,IAAI,CAAC,CAAC;IACjC,aAAa,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IACnC,SAAS,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAC/B,WAAW,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;CAClC,CAAC;AAEF,eAAO,MAAM,2BAA2B,GAAI,SAAS,OAAO,4DAK3D,CAAC;AAiBF,eAAO,MAAM,iBAAiB,GAAI,SAAS,OAAO,mBAoVjD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"useMessageActionHandlers.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/hooks/useMessageActionHandlers.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAI3C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iDAAiD,CAAC;AAC3F,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,2CAA2C,CAAC;AAClF,OAAO,EAAE,8BAA8B,EAAE,MAAM,oEAAoE,CAAC;AACpH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iDAAiD,CAAC;AAC3F,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,mDAAmD,CAAC;AAW9F,eAAO,MAAM,2BAA2B,GAAI,CAAC,SAAS,OAAO,EAAE,EAC7D,UAAU,CAAC,GAAG,IAAI,EAAE,CAAC,KAAK,IAAI,qDAK/B,CAAC;AAEF,eAAO,MAAM,wBAAwB,GAAI,iIAUtC,IAAI,CACL,oBAAoB,EACpB,cAAc,GAAG,eAAe,GAAG,gBAAgB,GAAG,kBAAkB,GAAG,oBAAoB,CAChG,GACC,IAAI,CAAC,mBAAmB,EAAE,SAAS,GAAG,uBAAuB,CAAC,GAC9D,IAAI,CAAC,gBAAgB,EAAE,QAAQ,CAAC,GAChC,IAAI,CAAC,mBAAmB,EAAE,SAAS,CAAC,GACpC,IAAI,CAAC,8BAA8B,EAAE,iBAAiB,GAAG,kBAAkB,CAAC;;;;;;;;;;;;;;CAiN7E,CAAC"}
1
+ {"version":3,"file":"useMessageActionHandlers.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/hooks/useMessageActionHandlers.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAI3C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iDAAiD,CAAC;AAC3F,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,2CAA2C,CAAC;AAClF,OAAO,EAAE,8BAA8B,EAAE,MAAM,oEAAoE,CAAC;AACpH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iDAAiD,CAAC;AAC3F,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,mDAAmD,CAAC;AA8B9F,eAAO,MAAM,2BAA2B,GAAI,CAAC,SAAS,OAAO,EAAE,EAC7D,UAAU,CAAC,GAAG,IAAI,EAAE,CAAC,KAAK,IAAI,qDAK/B,CAAC;AAEF,eAAO,MAAM,wBAAwB,GAAI,iIAUtC,IAAI,CACL,oBAAoB,EACpB,cAAc,GAAG,eAAe,GAAG,gBAAgB,GAAG,kBAAkB,GAAG,oBAAoB,CAChG,GACC,IAAI,CAAC,mBAAmB,EAAE,SAAS,GAAG,uBAAuB,CAAC,GAC9D,IAAI,CAAC,gBAAgB,EAAE,QAAQ,CAAC,GAChC,IAAI,CAAC,mBAAmB,EAAE,SAAS,CAAC,GACpC,IAAI,CAAC,8BAA8B,EAAE,iBAAiB,GAAG,kBAAkB,CAAC;;;;;;;;;;;;;;CA4S7E,CAAC"}
@@ -1,6 +1,9 @@
1
1
  import React from 'react';
2
2
  import { PressableProps } from 'react-native';
3
- type AttachmentRemoveControlProps = PressableProps;
4
- export declare const AttachmentRemoveControl: ({ onPress }: AttachmentRemoveControlProps) => React.JSX.Element;
3
+ type AttachmentRemoveControlProps = PressableProps & {
4
+ accessibilityLabelKey?: string;
5
+ accessibilityLabelParams?: Record<string, unknown>;
6
+ };
7
+ export declare const AttachmentRemoveControl: ({ accessibilityLabelKey, accessibilityLabelParams, onPress, ...rest }: AttachmentRemoveControlProps) => React.JSX.Element;
5
8
  export {};
6
9
  //# sourceMappingURL=AttachmentRemoveControl.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"AttachmentRemoveControl.d.ts","sourceRoot":"","sources":["../../../../../../src/components/MessageInput/components/AttachmentPreview/AttachmentRemoveControl.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAEvC,OAAO,EAAa,cAAc,EAAc,MAAM,cAAc,CAAC;AAMrE,KAAK,4BAA4B,GAAG,cAAc,CAAC;AAEnD,eAAO,MAAM,uBAAuB,GAAI,aAAa,4BAA4B,sBAgChF,CAAC"}
1
+ {"version":3,"file":"AttachmentRemoveControl.d.ts","sourceRoot":"","sources":["../../../../../../src/components/MessageInput/components/AttachmentPreview/AttachmentRemoveControl.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAEvC,OAAO,EAAa,cAAc,EAAc,MAAM,cAAc,CAAC;AAOrE,KAAK,4BAA4B,GAAG,cAAc,GAAG;IACnD,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,wBAAwB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACpD,CAAC;AAEF,eAAO,MAAM,uBAAuB,GAAI,uEAKrC,4BAA4B,sBAuC9B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"AttachmentUploadPreviewList.d.ts","sourceRoot":"","sources":["../../../../../../src/components/MessageInput/components/AttachmentPreview/AttachmentUploadPreviewList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6E,MAAM,OAAO,CAAC;AA0ClG,MAAM,MAAM,2CAA2C,GAAG,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;AA4gBhF,MAAM,MAAM,gCAAgC,GAAG,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;AAMrE;;;GAGG;AACH,eAAO,MAAM,2BAA2B;;;CAA2D,CAAC"}
1
+ {"version":3,"file":"AttachmentUploadPreviewList.d.ts","sourceRoot":"","sources":["../../../../../../src/components/MessageInput/components/AttachmentPreview/AttachmentUploadPreviewList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6E,MAAM,OAAO,CAAC;AA2ClG,MAAM,MAAM,2CAA2C,GAAG,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;AAkgBhF,MAAM,MAAM,gCAAgC,GAAG,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;AAMrE;;;GAGG;AACH,eAAO,MAAM,2BAA2B;;;CAA2D,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"AudioRecorder.d.ts","sourceRoot":"","sources":["../../../../../../src/components/MessageInput/components/AudioRecorder/AudioRecorder.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+B,MAAM,OAAO,CAAC;AACpD,OAAO,EAAE,SAAS,EAA0B,SAAS,EAAE,MAAM,cAAc,CAAC;AAO5E,OAAO,EACL,wBAAwB,EAEzB,MAAM,8DAA8D,CAAC;AAYtE,OAAO,EAAE,yBAAyB,EAAE,MAAM,gDAAgD,CAAC;AAG3F,KAAK,6BAA6B,GAAG,IAAI,CACvC,wBAAwB,EACtB,sBAAsB,GACtB,8BAA8B,GAC9B,oBAAoB,GACpB,sBAAsB,GACtB,sBAAsB,CACzB,GACC,IAAI,CAAC,yBAAyB,EAAE,UAAU,GAAG,WAAW,GAAG,QAAQ,CAAC,GAAG;IACrE;;OAEG;IACH,kBAAkB,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC3C,CAAC;AAsJJ,MAAM,MAAM,kBAAkB,GAAG,OAAO,CAAC,6BAA6B,CAAC,CAAC;AAQxE;;GAEG;AACH,eAAO,MAAM,aAAa;YAAW,kBAAkB;;CA6BtD,CAAC"}
1
+ {"version":3,"file":"AudioRecorder.d.ts","sourceRoot":"","sources":["../../../../../../src/components/MessageInput/components/AudioRecorder/AudioRecorder.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+B,MAAM,OAAO,CAAC;AACpD,OAAO,EAAE,SAAS,EAA0B,SAAS,EAAE,MAAM,cAAc,CAAC;AAO5E,OAAO,EACL,wBAAwB,EAEzB,MAAM,8DAA8D,CAAC;AAYtE,OAAO,EAAE,yBAAyB,EAAE,MAAM,gDAAgD,CAAC;AAI3F,KAAK,6BAA6B,GAAG,IAAI,CACvC,wBAAwB,EACtB,sBAAsB,GACtB,8BAA8B,GAC9B,oBAAoB,GACpB,sBAAsB,GACtB,sBAAsB,CACzB,GACC,IAAI,CAAC,yBAAyB,EAAE,UAAU,GAAG,WAAW,GAAG,QAAQ,CAAC,GAAG;IACrE;;OAEG;IACH,kBAAkB,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC3C,CAAC;AAgKJ,MAAM,MAAM,kBAAkB,GAAG,OAAO,CAAC,6BAA6B,CAAC,CAAC;AAQxE;;GAEG;AACH,eAAO,MAAM,aAAa;YAAW,kBAAkB;;CA6BtD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"AudioRecordingButton.d.ts","sourceRoot":"","sources":["../../../../../../src/components/MessageInput/components/AudioRecorder/AudioRecordingButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAavC,OAAO,EACL,wBAAwB,EAEzB,MAAM,8DAA8D,CAAC;AAOtE,OAAO,EAAE,yBAAyB,EAAE,MAAM,gDAAgD,CAAC;AAK3F,MAAM,MAAM,oCAAoC,GAAG,IAAI,CACrD,wBAAwB,EACtB,mCAAmC,GACnC,oCAAoC,GACpC,2BAA2B,GAC3B,8BAA8B,GAC9B,sBAAsB,GACtB,qBAAqB,GACrB,sBAAsB,GACtB,sBAAsB,CACzB,GACC,IAAI,CAAC,yBAAyB,EAAE,WAAW,GAAG,QAAQ,CAAC,GAAG;IACxD;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,IAAI,CAAC;IAC7B;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;IACzB,mBAAmB,EAAE,OAAO,CAAC;CAC9B,CAAC;AAOJ;;GAEG;AACH,eAAO,MAAM,+BAA+B,GAAI,OAAO,oCAAoC,sBAsL1F,CAAC;AAEF,MAAM,MAAM,yBAAyB,GAAG,OAAO,CAAC,oCAAoC,CAAC,CAAC;AAYtF,eAAO,MAAM,oBAAoB;YAAW,yBAAyB;;CAmCpE,CAAC"}
1
+ {"version":3,"file":"AudioRecordingButton.d.ts","sourceRoot":"","sources":["../../../../../../src/components/MessageInput/components/AudioRecorder/AudioRecordingButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAcvC,OAAO,EACL,wBAAwB,EAEzB,MAAM,8DAA8D,CAAC;AAOtE,OAAO,EAAE,yBAAyB,EAAE,MAAM,gDAAgD,CAAC;AAM3F,MAAM,MAAM,oCAAoC,GAAG,IAAI,CACrD,wBAAwB,EACtB,mCAAmC,GACnC,oCAAoC,GACpC,2BAA2B,GAC3B,8BAA8B,GAC9B,sBAAsB,GACtB,qBAAqB,GACrB,sBAAsB,GACtB,sBAAsB,CACzB,GACC,IAAI,CAAC,yBAAyB,EAAE,WAAW,GAAG,QAAQ,CAAC,GAAG;IACxD;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,IAAI,CAAC;IAC7B;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;IACzB,mBAAmB,EAAE,OAAO,CAAC;CAC9B,CAAC;AAOJ;;GAEG;AACH,eAAO,MAAM,+BAA+B,GAAI,OAAO,oCAAoC,sBAyM1F,CAAC;AAEF,MAAM,MAAM,yBAAyB,GAAG,OAAO,CAAC,oCAAoC,CAAC,CAAC;AAYtF,eAAO,MAAM,oBAAoB;YAAW,yBAAyB;;CAmCpE,CAAC"}
@@ -6,6 +6,7 @@ type AttachButtonPropsWithContext = Pick<MessageInputContextValue, 'handleAttach
6
6
  disabled?: boolean;
7
7
  /** Function that opens attachment options bottom sheet */
8
8
  handleOnPress?: ((event: GestureResponderEvent) => void) & (() => void);
9
+ isAttachmentPickerOpen?: boolean;
9
10
  } & {
10
11
  toggleAttachmentPicker: () => void;
11
12
  };
@@ -1 +1 @@
1
- {"version":3,"file":"AttachButton.d.ts","sourceRoot":"","sources":["../../../../../../src/components/MessageInput/components/InputButtons/AttachButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,cAAc,CAAC;AAE1D,OAAO,EACL,4BAA4B,EAE7B,MAAM,sEAAsE,CAAC;AAC9E,OAAO,EACL,wBAAwB,EAEzB,MAAM,8DAA8D,CAAC;AAKtE,KAAK,4BAA4B,GAAG,IAAI,CAAC,wBAAwB,EAAE,yBAAyB,CAAC,GAC3F,IAAI,CAAC,4BAA4B,EAAE,yBAAyB,CAAC,GAAG;IAC9D,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,0DAA0D;IAC1D,aAAa,CAAC,EAAE,CAAC,CAAC,KAAK,EAAE,qBAAqB,KAAK,IAAI,CAAC,GAAG,CAAC,MAAM,IAAI,CAAC,CAAC;CACzE,GAAG;IAAE,sBAAsB,EAAE,MAAM,IAAI,CAAA;CAAE,CAAC;AA2D7C,MAAM,MAAM,iBAAiB,GAAG,OAAO,CAAC,4BAA4B,CAAC,CAAC;AAEtE;;GAEG;AACH,eAAO,MAAM,YAAY;YAAW,iBAAiB;;CAuBpD,CAAC"}
1
+ {"version":3,"file":"AttachButton.d.ts","sourceRoot":"","sources":["../../../../../../src/components/MessageInput/components/InputButtons/AttachButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,cAAc,CAAC;AAE1D,OAAO,EACL,4BAA4B,EAE7B,MAAM,sEAAsE,CAAC;AAC9E,OAAO,EACL,wBAAwB,EAEzB,MAAM,8DAA8D,CAAC;AAMtE,KAAK,4BAA4B,GAAG,IAAI,CAAC,wBAAwB,EAAE,yBAAyB,CAAC,GAC3F,IAAI,CAAC,4BAA4B,EAAE,yBAAyB,CAAC,GAAG;IAC9D,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,0DAA0D;IAC1D,aAAa,CAAC,EAAE,CAAC,CAAC,KAAK,EAAE,qBAAqB,KAAK,IAAI,CAAC,GAAG,CAAC,MAAM,IAAI,CAAC,CAAC;IACxE,sBAAsB,CAAC,EAAE,OAAO,CAAC;CAClC,GAAG;IAAE,sBAAsB,EAAE,MAAM,IAAI,CAAA;CAAE,CAAC;AAiE7C,MAAM,MAAM,iBAAiB,GAAG,OAAO,CAAC,4BAA4B,CAAC,CAAC;AAEtE;;GAEG;AACH,eAAO,MAAM,YAAY;YAAW,iBAAiB;;CAyBpD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"EditButton.d.ts","sourceRoot":"","sources":["../../../../../../src/components/MessageInput/components/OutputButtons/EditButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsB,MAAM,OAAO,CAAC;AAE3C,OAAO,EACL,wBAAwB,EAEzB,MAAM,8DAA8D,CAAC;AAItE,MAAM,MAAM,eAAe,GAAG,OAAO,CAAC,IAAI,CAAC,wBAAwB,EAAE,aAAa,CAAC,CAAC,GAAG;IACrF,0BAA0B;IAC1B,QAAQ,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF,eAAO,MAAM,UAAU;YAAW,eAAe;;CAwBhD,CAAC"}
1
+ {"version":3,"file":"EditButton.d.ts","sourceRoot":"","sources":["../../../../../../src/components/MessageInput/components/OutputButtons/EditButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsB,MAAM,OAAO,CAAC;AAE3C,OAAO,EACL,wBAAwB,EAEzB,MAAM,8DAA8D,CAAC;AAItE,MAAM,MAAM,eAAe,GAAG,OAAO,CAAC,IAAI,CAAC,wBAAwB,EAAE,aAAa,CAAC,CAAC,GAAG;IACrF,0BAA0B;IAC1B,QAAQ,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF,eAAO,MAAM,UAAU;YAAW,eAAe;;CAyBhD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"SendButton.d.ts","sourceRoot":"","sources":["../../../../../../src/components/MessageInput/components/OutputButtons/SendButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsB,MAAM,OAAO,CAAC;AAE3C,OAAO,EACL,wBAAwB,EAEzB,MAAM,8DAA8D,CAAC;AAItE,MAAM,MAAM,eAAe,GAAG,OAAO,CAAC,IAAI,CAAC,wBAAwB,EAAE,aAAa,CAAC,CAAC,GAAG;IACrF,0BAA0B;IAC1B,QAAQ,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF,eAAO,MAAM,UAAU;YAAW,eAAe;;CAwBhD,CAAC"}
1
+ {"version":3,"file":"SendButton.d.ts","sourceRoot":"","sources":["../../../../../../src/components/MessageInput/components/OutputButtons/SendButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsB,MAAM,OAAO,CAAC;AAE3C,OAAO,EACL,wBAAwB,EAEzB,MAAM,8DAA8D,CAAC;AAItE,MAAM,MAAM,eAAe,GAAG,OAAO,CAAC,IAAI,CAAC,wBAAwB,EAAE,aAAa,CAAC,CAAC,GAAG;IACrF,0BAA0B;IAC1B,QAAQ,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF,eAAO,MAAM,UAAU;YAAW,eAAe;;CAyBhD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"MessageFlashList.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageList/MessageFlashList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+E,MAAM,OAAO,CAAC;AACpG,OAAO,E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AAC,6BAA6B,CAAC,GAAG,IAAI,KAAK,IAAI,CAAC;IACnF;;;;;;;OAOG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB,CAAC;AAijCJ,MAAM,MAAM,gBAAgB,GAAG,OAAO,CAAC,2BAA2B,CAAC,CAAC;AAEpE,eAAO,MAAM,WAAW,GAAI,OAAO,gBAAgB,sBAyElD,CAAC"}
@@ -1,4 +1,6 @@
1
1
  import React from 'react';
2
+ export declare const SCROLL_TO_BOTTOM_ACCESSIBILITY_LABEL_KEY = "a11y/Scroll to bottom";
3
+ export declare const SCROLL_TO_BOTTOM_WITH_COUNT_ACCESSIBILITY_LABEL_KEY = "a11y/Scroll to bottom, {{count}} new messages";
2
4
  export type ScrollToBottomButtonProps = {
3
5
  /** onPress handler */
4
6
  onPress: () => void;
@@ -1 +1 @@
1
- {"version":3,"file":"ScrollToBottomButton.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageList/ScrollToBottomButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAY1B,MAAM,MAAM,yBAAyB,GAAG;IACtC,sBAAsB;IACtB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,gDAAgD;IAChD,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,eAAO,MAAM,oBAAoB;YAAW,yBAAyB;;CA+CpE,CAAC"}
1
+ {"version":3,"file":"ScrollToBottomButton.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageList/ScrollToBottomButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAW1B,eAAO,MAAM,wCAAwC,0BAA0B,CAAC;AAChF,eAAO,MAAM,mDAAmD,kDACf,CAAC;AAElD,MAAM,MAAM,yBAAyB,GAAG;IACtC,sBAAsB;IACtB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,gDAAgD;IAChD,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,eAAO,MAAM,oBAAoB;YAAW,yBAAyB;;CAwDpE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"UnreadMessagesNotification.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageList/UnreadMessagesNotification.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAGvC,OAAO,EACL,mBAAmB,EAEpB,MAAM,8CAA8C,CAAC;AAUtD,MAAM,MAAM,+BAA+B,GAAG,IAAI,CAChD,mBAAmB,EACnB,yBAAyB,CAC1B,GAAG;IACF;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;IAC5B;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IACrC;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AAMF,eAAO,MAAM,0BAA0B,GAAI,OAAO,+BAA+B,sBA0DhF,CAAC"}
1
+ {"version":3,"file":"UnreadMessagesNotification.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageList/UnreadMessagesNotification.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAGvC,OAAO,EACL,mBAAmB,EAEpB,MAAM,8CAA8C,CAAC;AAUtD,MAAM,MAAM,+BAA+B,GAAG,IAAI,CAChD,mBAAmB,EACnB,yBAAyB,CAC1B,GAAG;IACF;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;IAC5B;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IACrC;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AAMF,eAAO,MAAM,0BAA0B,GAAI,OAAO,+BAA+B,sBA2DhF,CAAC"}
@@ -0,0 +1,20 @@
1
+ import type { AccessibilityActionEvent, AccessibilityProps } from 'react-native';
2
+ export declare const SCROLL_TO_BOTTOM_ACCESSIBILITY_ACTION_NAME = "streamScrollToBottom";
3
+ type AccessibilityActions = AccessibilityProps['accessibilityActions'];
4
+ type OnAccessibilityAction = AccessibilityProps['onAccessibilityAction'];
5
+ type UseScrollToBottomAccessibilityActionParams = {
6
+ accessibilityActions?: AccessibilityActions;
7
+ onAccessibilityAction?: OnAccessibilityAction;
8
+ onScrollToBottom: () => Promise<void> | void;
9
+ unreadCount?: number;
10
+ visible: boolean;
11
+ };
12
+ export declare const useScrollToBottomAccessibilityAction: ({ accessibilityActions, onAccessibilityAction, onScrollToBottom, unreadCount, visible, }: UseScrollToBottomAccessibilityActionParams) => {
13
+ accessibilityActions: Readonly<{
14
+ name: string;
15
+ label?: string;
16
+ }>[] | undefined;
17
+ onAccessibilityAction: import("../../../hooks").StableCallback<[event: AccessibilityActionEvent], void | Promise<void>> | undefined;
18
+ };
19
+ export {};
20
+ //# sourceMappingURL=useScrollToBottomAccessibilityAction.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useScrollToBottomAccessibilityAction.d.ts","sourceRoot":"","sources":["../../../../../src/components/MessageList/hooks/useScrollToBottomAccessibilityAction.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,wBAAwB,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAWjF,eAAO,MAAM,0CAA0C,yBAAyB,CAAC;AAEjF,KAAK,oBAAoB,GAAG,kBAAkB,CAAC,sBAAsB,CAAC,CAAC;AACvE,KAAK,qBAAqB,GAAG,kBAAkB,CAAC,uBAAuB,CAAC,CAAC;AAEzE,KAAK,0CAA0C,GAAG;IAChD,oBAAoB,CAAC,EAAE,oBAAoB,CAAC;IAC5C,qBAAqB,CAAC,EAAE,qBAAqB,CAAC;IAC9C,gBAAgB,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC;IAC7C,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF,eAAO,MAAM,oCAAoC,GAAI,0FAMlD,0CAA0C;;;;;;CAyC5C,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"MessageActionListItem.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageMenu/MessageActionListItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AACvC,OAAO,EAAE,SAAS,EAAoB,SAAS,EAAQ,MAAM,cAAc,CAAC;AAS5E,MAAM,MAAM,UAAU,GAClB,SAAS,GACT,WAAW,GACX,aAAa,GACb,eAAe,GACf,oBAAoB,GACpB,aAAa,GACb,aAAa,GACb,YAAY,GACZ,UAAU,GACV,YAAY,GACZ,gBAAgB,GAChB,OAAO,GACP,OAAO,GACP,aAAa,GACb,aAAa,GACb,cAAc,CAAC;AAEnB,MAAM,MAAM,iBAAiB,GAAG;IAC9B;;OAEG;IACH,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB;;;OAGG;IACH,UAAU,EAAE,UAAU,GAAG,MAAM,CAAC;IAChC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,IAAI,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;IAC1B;;OAEG;IACH,UAAU,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAElC,IAAI,EAAE,UAAU,GAAG,aAAa,CAAC;CAClC,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,0BAA0B,GAAG,iBAAiB,CAAC;AAE3D,eAAO,MAAM,qBAAqB,GAAI,OAAO,0BAA0B,sBAoCtE,CAAC"}
1
+ {"version":3,"file":"MessageActionListItem.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageMenu/MessageActionListItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AACvC,OAAO,EAAE,SAAS,EAAoB,SAAS,EAAQ,MAAM,cAAc,CAAC;AAU5E,MAAM,MAAM,UAAU,GAClB,SAAS,GACT,WAAW,GACX,aAAa,GACb,eAAe,GACf,oBAAoB,GACpB,aAAa,GACb,aAAa,GACb,YAAY,GACZ,UAAU,GACV,YAAY,GACZ,gBAAgB,GAChB,OAAO,GACP,OAAO,GACP,aAAa,GACb,aAAa,GACb,cAAc,CAAC;AAEnB,MAAM,MAAM,iBAAiB,GAAG;IAC9B;;OAEG;IACH,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB;;;OAGG;IACH,UAAU,EAAE,UAAU,GAAG,MAAM,CAAC;IAChC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,IAAI,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;IAC1B;;OAEG;IACH,UAAU,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAElC,IAAI,EAAE,UAAU,GAAG,aAAa,CAAC;CAClC,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,0BAA0B,GAAG,iBAAiB,CAAC;AAE3D,eAAO,MAAM,qBAAqB,GAAI,OAAO,0BAA0B,sBAyCtE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"MessageReactionPicker.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageMenu/MessageReactionPicker.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAQvC,OAAO,EAAE,mBAAmB,EAAE,MAAM,8CAA8C,CAAC;AACnF,OAAO,EACL,oBAAoB,EAErB,MAAM,gDAAgD,CAAC;AAUxD,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAIjD,MAAM,MAAM,0BAA0B,GAAG,IAAI,CAAC,oBAAoB,EAAE,oBAAoB,CAAC,GACvF,IAAI,CAAC,mBAAmB,EAAE,gBAAgB,GAAG,gBAAgB,CAAC,CAAC;AAEjE,MAAM,MAAM,sBAAsB,GAAG,YAAY,GAAG;IACl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E,MAAM,KAAK,IAAI,CAAC;CAC1C,sBA6CA,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,qBAAqB,GAAI,OAAO,0BAA0B,6BAkCtE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ReactionButton.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageMenu/ReactionButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+B,MAAM,OAAO,CAAC;AAKpD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAU,WAAW,EAAE,MAAM,OAAO,CAAC;AAE5C,MAAM,MAAM,mBAAmB,GAAG;IAChC;;OAEG;IACH,IAAI,EAAE,KAAK,CAAC,aAAa,CAAC,SAAS,CAAC,CAAC;IACrC;;OAEG;IACH,QAAQ,EAAE,OAAO,CAAC;IAClB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,OAAO,CAAC,EAAE,CAAC,YAAY,EAAE,MAAM,KAAK,IAAI,CAAC;IACzC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;CAC5B,CAAC;AAEF,eAAO,MAAM,cAAc,GAAI,OAAO,mBAAmB,sBA6CxD,CAAC"}
1
+ {"version":3,"file":"ReactionButton.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageMenu/ReactionButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+B,MAAM,OAAO,CAAC;AAIpD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAU,WAAW,EAAE,MAAM,OAAO,CAAC;AAE5C,MAAM,MAAM,mBAAmB,GAAG;IAChC;;OAEG;IACH,IAAI,EAAE,KAAK,CAAC,aAAa,CAAC,SAAS,CAAC,CAAC;IACrC;;OAEG;IACH,QAAQ,EAAE,OAAO,CAAC;IAClB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,OAAO,CAAC,EAAE,CAAC,YAAY,EAAE,MAAM,KAAK,IAAI,CAAC;IACzC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;CAC5B,CAAC;AAEF,eAAO,MAAM,cAAc,GAAI,OAAO,mBAAmB,sBA4CxD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"useFetchReactions.d.ts","sourceRoot":"","sources":["../../../../../src/components/MessageMenu/hooks/useFetchReactions.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,gBAAgB,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAI3E,MAAM,MAAM,sBAAsB,GAAG;IACnC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,YAAY,CAAC;IACvB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,IAAI,CAAC,EAAE,YAAY,CAAC;CACrB,CAAC;AAKF,eAAO,MAAM,oBAAoB,GAAI,4CAIlC;IACD,aAAa,EAAE,gBAAgB,EAAE,CAAC;IAClC,QAAQ,EAAE,gBAAgB,CAAC;IAC3B,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,uBAgBA,CAAC;AAEF,eAAO,MAAM,8BAA8B,GAAI,4CAI5C;IACD,aAAa,EAAE,gBAAgB,EAAE,CAAC;IAClC,QAAQ,EAAE,gBAAgB,CAAC;IAC3B,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,uBAgBA,CAAC;AAEF,eAAO,MAAM,sBAAsB,GAAI,4CAIpC;IACD,aAAa,EAAE,gBAAgB,EAAE,CAAC;IAClC,QAAQ,EAAE,gBAAgB,CAAC;IAC3B,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,uBAUA,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAAI,yCAK/B,sBAAsB;;;;CAsHxB,CAAC"}
1
+ {"version":3,"file":"useFetchReactions.d.ts","sourceRoot":"","sources":["../../../../../src/components/MessageMenu/hooks/useFetchReactions.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,gBAAgB,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAM3E,MAAM,MAAM,sBAAsB,GAAG;IACnC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,YAAY,CAAC;IACvB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,IAAI,CAAC,EAAE,YAAY,CAAC;CACrB,CAAC;AAKF,eAAO,MAAM,oBAAoB,GAAI,4CAIlC;IACD,aAAa,EAAE,gBAAgB,EAAE,CAAC;IAClC,QAAQ,EAAE,gBAAgB,CAAC;IAC3B,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,uBAgBA,CAAC;AAEF,eAAO,MAAM,8BAA8B,GAAI,4CAI5C;IACD,aAAa,EAAE,gBAAgB,EAAE,CAAC;IAClC,QAAQ,EAAE,gBAAgB,CAAC;IAC3B,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,uBAgBA,CAAC;AAEF,eAAO,MAAM,sBAAsB,GAAI,4CAIpC;IACD,aAAa,EAAE,gBAAgB,EAAE,CAAC;IAClC,QAAQ,EAAE,gBAAgB,CAAC;IAC3B,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,uBAUA,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAAI,yCAK/B,sBAAsB;;;;CAmIxB,CAAC"}
@@ -0,0 +1,31 @@
1
+ import React from 'react';
2
+ import type { Notification as NotificationType, NotificationSeverity } from 'stream-chat';
3
+ /** Direction from which a snackbar enters and exits the screen. */
4
+ export type NotificationEntryDirection = 'bottom' | 'left' | 'right' | 'top';
5
+ export type NotificationTransitionState = 'enter' | 'exit';
6
+ export type NotificationIconProps = {
7
+ /** Notification rendered by the icon slot. */
8
+ notification: NotificationType;
9
+ };
10
+ /** Visual variant resolved from notification severity. Notifications without severity use `default`. */
11
+ export type NotificationVariant = 'default' | NotificationSeverity;
12
+ /** Resolves the visual variant used by the default notification renderer. */
13
+ export declare const getNotificationVariant: (notification: NotificationType) => NotificationVariant;
14
+ export declare const NotificationIcon: ({ notification }: NotificationIconProps) => React.JSX.Element | null;
15
+ export type NotificationProps = {
16
+ /** Notification object produced by the Stream Chat notification manager. */
17
+ notification: NotificationType;
18
+ /** Direction used by the surrounding list animation. */
19
+ entryDirection?: NotificationEntryDirection;
20
+ /** Optional icon override for this notification instance. */
21
+ Icon?: React.ComponentType<NotificationIconProps>;
22
+ /** Called instead of the default notification removal behavior. */
23
+ onDismiss?: () => void;
24
+ /** Forces a dismiss button for transient notifications. Persistent notifications always show one. */
25
+ showClose?: boolean;
26
+ /** Reserved for custom animated notification implementations. */
27
+ transitionState?: NotificationTransitionState;
28
+ };
29
+ /** Default snackbar notification renderer used by `NotificationList`. */
30
+ export declare const Notification: ({ Icon, notification, onDismiss, showClose, }: NotificationProps) => React.JSX.Element;
31
+ //# sourceMappingURL=Notification.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Notification.d.ts","sourceRoot":"","sources":["../../../../src/components/Notifications/Notification.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAK3D,OAAO,KAAK,EAAE,YAAY,IAAI,gBAAgB,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAC;AAgB1F,mEAAmE;AACnE,MAAM,MAAM,0BAA0B,GAAG,QAAQ,GAAG,MAAM,GAAG,OAAO,GAAG,KAAK,CAAC;AAC7E,MAAM,MAAM,2BAA2B,GAAG,OAAO,GAAG,MAAM,CAAC;AAE3D,MAAM,MAAM,qBAAqB,GAAG;IAClC,8CAA8C;IAC9C,YAAY,EAAE,gBAAgB,CAAC;CAChC,CAAC;AAEF,wGAAwG;AACxG,MAAM,MAAM,mBAAmB,GAAG,SAAS,GAAG,oBAAoB,CAAC;AAEnE,6EAA6E;AAC7E,eAAO,MAAM,sBAAsB,GAAI,cAAc,gBAAgB,KAAG,mBACpC,CAAC;AAiBrC,eAAO,MAAM,gBAAgB,GAAI,kBAAkB,qBAAqB,6BAUvE,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG;IAC9B,4EAA4E;IAC5E,YAAY,EAAE,gBAAgB,CAAC;IAC/B,wDAAwD;IACxD,cAAc,CAAC,EAAE,0BAA0B,CAAC;IAC5C,6DAA6D;IAC7D,IAAI,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,qBAAqB,CAAC,CAAC;IAClD,mEAAmE;IACnE,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;IACvB,qGAAqG;IACrG,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,iEAAiE;IACjE,eAAe,CAAC,EAAE,2BAA2B,CAAC;CAC/C,CAAC;AAEF,yEAAyE;AACzE,eAAO,MAAM,YAAY,GAAI,+CAK1B,iBAAiB,sBAgEnB,CAAC"}
@@ -0,0 +1,28 @@
1
+ import React from 'react';
2
+ import type { Notification as NotificationType } from 'stream-chat';
3
+ import type { NotificationTargetPanel } from './notificationTarget';
4
+ /** Predicate used to hide notifications from a specific rendered notification list. */
5
+ export type NotificationListFilter = (notification: NotificationType) => boolean;
6
+ /** Direction from which new snackbars animate into the list. */
7
+ export type NotificationListEnterFrom = 'bottom' | 'left' | 'right' | 'top';
8
+ /** Vertical edge used by the absolutely positioned notification host. */
9
+ export type NotificationListVerticalAlignment = 'bottom' | 'top';
10
+ export type NotificationListProps = {
11
+ /** Extra distance from the bottom edge, useful when floating composers cover the default host. */
12
+ bottomOffset?: number;
13
+ /** Default enter/exit animation direction when notification metadata does not define one. */
14
+ enterFrom?: NotificationListEnterFrom;
15
+ /** Additional per-list filter applied after target filtering. */
16
+ filter?: NotificationListFilter;
17
+ /** Exact notification host id. Use together with `panel` when rendering outside a target provider. */
18
+ hostId?: string;
19
+ /** Target panel consumed by this list. Defaults to the nearest `NotificationTargetProvider`. */
20
+ panel?: NotificationTargetPanel;
21
+ /** Extra distance from the top edge when `verticalAlignment` is `top`. */
22
+ topOffset?: number;
23
+ /** Whether the host is anchored to the top or bottom of its parent. */
24
+ verticalAlignment?: NotificationListVerticalAlignment;
25
+ };
26
+ /** Renders the newest matching client notification as an animated snackbar. */
27
+ export declare const NotificationList: ({ bottomOffset, enterFrom, filter, hostId, panel, topOffset, verticalAlignment, }: NotificationListProps) => React.JSX.Element | null;
28
+ //# sourceMappingURL=NotificationList.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NotificationList.d.ts","sourceRoot":"","sources":["../../../../src/components/Notifications/NotificationList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAKvC,OAAO,KAAK,EAAE,YAAY,IAAI,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAGpE,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AAQpE,uFAAuF;AACvF,MAAM,MAAM,sBAAsB,GAAG,CAAC,YAAY,EAAE,gBAAgB,KAAK,OAAO,CAAC;AACjF,gEAAgE;AAChE,MAAM,MAAM,yBAAyB,GAAG,QAAQ,GAAG,MAAM,GAAG,OAAO,GAAG,KAAK,CAAC;AAC5E,yEAAyE;AACzE,MAAM,MAAM,iCAAiC,GAAG,QAAQ,GAAG,KAAK,CAAC;AAEjE,MAAM,MAAM,qBAAqB,GAAG;IAClC,kGAAkG;IAClG,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,6FAA6F;IAC7F,SAAS,CAAC,EAAE,yBAAyB,CAAC;IACtC,iEAAiE;IACjE,MAAM,CAAC,EAAE,sBAAsB,CAAC;IAChC,sGAAsG;IACtG,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,gGAAgG;IAChG,KAAK,CAAC,EAAE,uBAAuB,CAAC;IAChC,0EAA0E;IAC1E,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,uEAAuE;IACvE,iBAAiB,CAAC,EAAE,iCAAiC,CAAC;CACvD,CAAC;AA4BF,+EAA+E;AAC/E,eAAO,MAAM,gBAAgB,GAAI,mFAQ9B,qBAAqB,6BAuCvB,CAAC"}
@@ -0,0 +1,14 @@
1
+ import React, { PropsWithChildren } from 'react';
2
+ import type { NotificationTarget, NotificationTargetPanel } from './notificationTarget';
3
+ /** Provides the default notification target for SDK actions rendered inside this subtree. */
4
+ export type NotificationTargetProviderProps = PropsWithChildren<NotificationTarget>;
5
+ /** Makes notifications emitted by descendants resolve to a specific panel and host id. */
6
+ export declare const NotificationTargetProvider: ({ children, hostId, panel, }: NotificationTargetProviderProps) => React.JSX.Element;
7
+ /** Returns the nearest notification target, if the caller is rendered inside a target provider. */
8
+ export declare const useNotificationTargetContext: () => NotificationTarget | undefined;
9
+ /** Resolves an explicit target or falls back to the nearest compatible target provider. */
10
+ export declare const useResolvedNotificationTarget: ({ hostId, panel, }?: {
11
+ hostId?: string;
12
+ panel?: NotificationTargetPanel;
13
+ }) => NotificationTarget | undefined;
14
+ //# sourceMappingURL=NotificationTargetContext.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NotificationTargetContext.d.ts","sourceRoot":"","sources":["../../../../src/components/Notifications/NotificationTargetContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAiB,iBAAiB,EAAuB,MAAM,OAAO,CAAC;AAErF,OAAO,KAAK,EAAE,kBAAkB,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AAExF,6FAA6F;AAC7F,MAAM,MAAM,+BAA+B,GAAG,iBAAiB,CAAC,kBAAkB,CAAC,CAAC;AAIpF,0FAA0F;AAC1F,eAAO,MAAM,0BAA0B,GAAI,8BAIxC,+BAA+B,sBAQjC,CAAC;AAEF,mGAAmG;AACnG,eAAO,MAAM,4BAA4B,sCAA8C,CAAC;AAExF,2FAA2F;AAC3F,eAAO,MAAM,6BAA6B,GAAI,qBAG3C;IACD,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,uBAAuB,CAAC;CAC5B,mCAUL,CAAC"}
@@ -0,0 +1,6 @@
1
+ export * from './useNotificationApi';
2
+ export * from './useNotificationListController';
3
+ export * from './useNotifications';
4
+ export * from './useNotificationTarget';
5
+ export * from './useSystemNotifications';
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Notifications/hooks/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,cAAc,iCAAiC,CAAC;AAChD,cAAc,oBAAoB,CAAC;AACnC,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC"}
@@ -0,0 +1,48 @@
1
+ import type { AddNotificationPayload, Notification } from 'stream-chat';
2
+ import { type NotificationTarget, type NotificationTargetPanel } from '../notificationTarget';
3
+ export declare const SYSTEM_NOTIFICATION_TAG: "system";
4
+ /** Returns whether a notification is reserved for system-level consumers instead of snackbars. */
5
+ export declare const hasSystemNotificationTag: (notification: Notification) => boolean;
6
+ /** Structured descriptor used to derive stable notification `type` values. */
7
+ export type NotificationIncidentDescriptor = {
8
+ /** Product or SDK area where the notification originated, for example `message` or `poll`. */
9
+ domain: string;
10
+ /** Entity affected by the incident, for example `attachment` or `vote`. */
11
+ entity: string;
12
+ /** Operation being reported, for example `upload` or `create`. */
13
+ operation: string;
14
+ /** Optional explicit status. Falls back to severity-derived status when omitted. */
15
+ status?: string;
16
+ };
17
+ export type AddNotificationOptions = {
18
+ /** Incident metadata used to derive `options.type` when the payload does not provide one. */
19
+ incident?: NotificationIncidentDescriptor;
20
+ /** Exact host target for this notification. Defaults to the nearest notification target provider. */
21
+ target?: NotificationTarget;
22
+ /** Broad panel targets. Use for notifications that should appear in every host of a panel. */
23
+ targetPanels?: NotificationTargetPanel[];
24
+ };
25
+ export type AddSystemNotificationOptions = Omit<AddNotificationOptions, 'target' | 'targetPanels'>;
26
+ /** Adds a snackbar notification scoped to a target host or panel. */
27
+ export type AddNotification = (payload: AddNotificationPayload, options?: AddNotificationOptions) => void;
28
+ /** Adds a system notification that is excluded from the default snackbar list. */
29
+ export type AddSystemNotification = (payload: AddNotificationPayload, options?: AddSystemNotificationOptions) => string;
30
+ /** Removes a notification by id. */
31
+ export type RemoveNotification = (id: string) => void;
32
+ /** Removes non-system notifications that belong to the current target provider. */
33
+ export type RemoveNotificationsForCurrentPanel = () => void;
34
+ /** Starts the manager timeout for a notification, optionally overriding the stored duration. */
35
+ export type StartNotificationTimeout = (id: string, durationOverride?: number) => void;
36
+ /** Runs an action while temporarily making its target available to untagged notifications. */
37
+ export type RunWithNotificationTarget = <T>(callback: () => T | Promise<T>, target?: NotificationTarget) => Promise<T>;
38
+ export type NotificationApi = {
39
+ addNotification: AddNotification;
40
+ addSystemNotification: AddSystemNotification;
41
+ removeNotification: RemoveNotification;
42
+ removeNotificationsForCurrentPanel: RemoveNotificationsForCurrentPanel;
43
+ runWithNotificationTarget: RunWithNotificationTarget;
44
+ startNotificationTimeout: StartNotificationTimeout;
45
+ };
46
+ /** Returns imperative helpers for dispatching, targeting and dismissing client notifications. */
47
+ export declare const useNotificationApi: () => NotificationApi;
48
+ //# sourceMappingURL=useNotificationApi.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useNotificationApi.d.ts","sourceRoot":"","sources":["../../../../../src/components/Notifications/hooks/useNotificationApi.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,sBAAsB,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAGxE,OAAO,EAML,KAAK,kBAAkB,EACvB,KAAK,uBAAuB,EAC7B,MAAM,uBAAuB,CAAC;AAG/B,eAAO,MAAM,uBAAuB,EAAG,QAAiB,CAAC;AAEzD,kGAAkG;AAClG,eAAO,MAAM,wBAAwB,GAAI,cAAc,YAAY,YACJ,CAAC;AAEhE,8EAA8E;AAC9E,MAAM,MAAM,8BAA8B,GAAG;IAC3C,8FAA8F;IAC9F,MAAM,EAAE,MAAM,CAAC;IACf,2EAA2E;IAC3E,MAAM,EAAE,MAAM,CAA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AC7C,kBAAkB,EAAE,kBAAkB,CAAC;IACvC,kCAAkC,EAAE,kCAAkC,CAAC;IACvE,yBAAyB,EAAE,yBAAyB,CAAC;IACrD,wBAAwB,EAAE,wBAAwB,CAAC;CACpD,CAAC;AAyDF,iGAAiG;AACjG,eAAO,MAAM,kBAAkB,QAAO,eAmHrC,CAAC"}
@@ -0,0 +1,14 @@
1
+ import type { Notification as NotificationType } from 'stream-chat';
2
+ import { type UseNotificationsFilter } from './useNotifications';
3
+ import { type NotificationTargetPanel } from '../notificationTarget';
4
+ export type UseNotificationListControllerParams = {
5
+ filter?: UseNotificationsFilter;
6
+ hostId?: string;
7
+ panel?: NotificationTargetPanel;
8
+ };
9
+ export type UseNotificationListControllerResult = {
10
+ dismissNotification: () => void;
11
+ notification: NotificationType | null;
12
+ };
13
+ export declare const useNotificationListController: ({ filter, hostId, panel, }?: UseNotificationListControllerParams) => UseNotificationListControllerResult;
14
+ //# sourceMappingURL=useNotificationListController.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useNotificationListController.d.ts","sourceRoot":"","sources":["../../../../../src/components/Notifications/hooks/useNotificationListController.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,IAAI,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAGpE,OAAO,EAAoB,KAAK,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AAKnF,OAAO,EAIL,KAAK,uBAAuB,EAC7B,MAAM,uBAAuB,CAAC;AAG/B,MAAM,MAAM,mCAAmC,GAAG;IAChD,MAAM,CAAC,EAAE,sBAAsB,CAAC;IAChC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,uBAAuB,CAAC;CACjC,CAAC;AAEF,MAAM,MAAM,mCAAmC,GAAG;IAChD,mBAAmB,EAAE,MAAM,IAAI,CAAC;IAChC,YAAY,EAAE,gBAAgB,GAAG,IAAI,CAAC;CACvC,CAAC;AA2BF,eAAO,MAAM,6BAA6B,GAAI,6BAI3C,mCAAwC,KAAG,mCAqG7C,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { NotificationTargetPanel } from '../notificationTarget';
2
+ export declare const useNotificationTarget: () => NotificationTargetPanel | undefined;
3
+ //# sourceMappingURL=useNotificationTarget.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useNotificationTarget.d.ts","sourceRoot":"","sources":["../../../../../src/components/Notifications/hooks/useNotificationTarget.ts"],"names":[],"mappings":"AAmBA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,uBAAuB,CAAC;AAIrE,eAAO,MAAM,qBAAqB,QAAO,uBAAuB,GAAG,SAalE,CAAC"}
@@ -0,0 +1,14 @@
1
+ import type { Notification } from 'stream-chat';
2
+ import { type NotificationTarget } from '../notificationTarget';
3
+ export type UseNotificationsFilter = (notification: Notification) => boolean;
4
+ export type UseNotificationsOptions = {
5
+ /** Additional filter applied after optional target filtering. */
6
+ filter?: UseNotificationsFilter;
7
+ /** When true, returns an empty list unless an exact target is provided. */
8
+ requireTarget?: boolean;
9
+ /** Exact target used to select notifications for one host. */
10
+ target?: NotificationTarget;
11
+ };
12
+ /** Subscribes to the client notification store and returns matching non-system notifications. */
13
+ export declare const useNotifications: (options?: UseNotificationsOptions) => Notification[];
14
+ //# sourceMappingURL=useNotifications.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useNotifications.d.ts","sourceRoot":"","sources":["../../../../../src/components/Notifications/hooks/useNotifications.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAA4B,MAAM,aAAa,CAAC;AAI1E,OAAO,EAA2B,KAAK,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAEzF,MAAM,MAAM,sBAAsB,GAAG,CAAC,YAAY,EAAE,YAAY,KAAK,OAAO,CAAC;AAE7E,MAAM,MAAM,uBAAuB,GAAG;IACpC,iEAAiE;IACjE,MAAM,CAAC,EAAE,sBAAsB,CAAC;IAChC,2EAA2E;IAC3E,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,8DAA8D;IAC9D,MAAM,CAAC,EAAE,kBAAkB,CAAC;CAC7B,CAAC;AAEF,iGAAiG;AACjG,eAAO,MAAM,gBAAgB,GAAI,UAAU,uBAAuB,KAAG,YAAY,EAsBhF,CAAC"}
@@ -0,0 +1,9 @@
1
+ import type { Notification } from 'stream-chat';
2
+ export type UseSystemNotificationsFilter = (notification: Notification) => boolean;
3
+ export type UseSystemNotificationsOptions = {
4
+ /** Additional filter applied to system-tagged notifications. */
5
+ filter?: UseSystemNotificationsFilter;
6
+ };
7
+ /** Subscribes to notifications tagged as system notifications. */
8
+ export declare const useSystemNotifications: (options?: UseSystemNotificationsOptions) => Notification[];
9
+ //# sourceMappingURL=useSystemNotifications.d.ts.map