stream-chat-react 11.8.0 → 11.10.0

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 (366) hide show
  1. package/dist/{Window-7c2f264c.js → Window-7d524c3b.js} +3367 -165
  2. package/dist/browser.full-bundle.js +3692 -400
  3. package/dist/browser.full-bundle.js.map +1 -1
  4. package/dist/browser.full-bundle.min.js +4 -4
  5. package/dist/browser.full-bundle.min.js.map +1 -1
  6. package/dist/components/Attachment/Attachment.d.ts +1 -1
  7. package/dist/components/Attachment/Attachment.d.ts.map +1 -1
  8. package/dist/components/Attachment/AttachmentActions.d.ts +2 -1
  9. package/dist/components/Attachment/AttachmentActions.d.ts.map +1 -1
  10. package/dist/components/Attachment/AttachmentContainer.d.ts +9 -9
  11. package/dist/components/Attachment/AttachmentContainer.d.ts.map +1 -1
  12. package/dist/components/Attachment/Audio.d.ts +3 -3
  13. package/dist/components/Attachment/Audio.d.ts.map +1 -1
  14. package/dist/components/Attachment/Card.d.ts +3 -2
  15. package/dist/components/Attachment/Card.d.ts.map +1 -1
  16. package/dist/components/Attachment/DownloadButton.d.ts +2 -1
  17. package/dist/components/Attachment/DownloadButton.d.ts.map +1 -1
  18. package/dist/components/Attachment/FileAttachment.d.ts +2 -1
  19. package/dist/components/Attachment/FileAttachment.d.ts.map +1 -1
  20. package/dist/components/Attachment/FileSizeIndicator.d.ts +2 -1
  21. package/dist/components/Attachment/FileSizeIndicator.d.ts.map +1 -1
  22. package/dist/components/Attachment/UnsupportedAttachment.d.ts +2 -1
  23. package/dist/components/Attachment/UnsupportedAttachment.d.ts.map +1 -1
  24. package/dist/components/Attachment/icons.d.ts +4 -3
  25. package/dist/components/Attachment/icons.d.ts.map +1 -1
  26. package/dist/components/Attachment/utils.d.ts +8 -8
  27. package/dist/components/Attachment/utils.d.ts.map +1 -1
  28. package/dist/components/AutoCompleteTextarea/Header.d.ts +2 -1
  29. package/dist/components/AutoCompleteTextarea/Header.d.ts.map +1 -1
  30. package/dist/components/AutoCompleteTextarea/List.d.ts +2 -1
  31. package/dist/components/AutoCompleteTextarea/List.d.ts.map +1 -1
  32. package/dist/components/AutoCompleteTextarea/Textarea.d.ts +2 -2
  33. package/dist/components/AutoCompleteTextarea/Textarea.d.ts.map +1 -1
  34. package/dist/components/Avatar/Avatar.d.ts +1 -1
  35. package/dist/components/Avatar/Avatar.d.ts.map +1 -1
  36. package/dist/components/Channel/Channel.d.ts +2 -2
  37. package/dist/components/Channel/Channel.d.ts.map +1 -1
  38. package/dist/components/Channel/Channel.js +77 -62
  39. package/dist/components/Channel/LoadingChannel.d.ts +2 -1
  40. package/dist/components/Channel/LoadingChannel.d.ts.map +1 -1
  41. package/dist/components/ChannelHeader/ChannelHeader.d.ts +1 -1
  42. package/dist/components/ChannelHeader/ChannelHeader.d.ts.map +1 -1
  43. package/dist/components/ChannelHeader/ChannelHeader.js +1 -1
  44. package/dist/components/ChannelHeader/icons.d.ts +2 -1
  45. package/dist/components/ChannelHeader/icons.d.ts.map +1 -1
  46. package/dist/components/ChannelList/ChannelList.d.ts +1 -1
  47. package/dist/components/ChannelList/ChannelList.d.ts.map +1 -1
  48. package/dist/components/ChannelList/ChannelListMessenger.d.ts +1 -1
  49. package/dist/components/ChannelList/ChannelListMessenger.d.ts.map +1 -1
  50. package/dist/components/ChannelList/ChannelListMessenger.js +3 -1
  51. package/dist/components/ChannelList/hooks/usePaginatedChannels.d.ts.map +1 -1
  52. package/dist/components/ChannelList/hooks/usePaginatedChannels.js +12 -13
  53. package/dist/components/ChannelPreview/ChannelPreview.d.ts +1 -1
  54. package/dist/components/ChannelPreview/ChannelPreview.d.ts.map +1 -1
  55. package/dist/components/ChannelPreview/ChannelPreview.js +11 -8
  56. package/dist/components/ChannelPreview/ChannelPreviewMessenger.d.ts +2 -1
  57. package/dist/components/ChannelPreview/ChannelPreviewMessenger.d.ts.map +1 -1
  58. package/dist/components/ChannelPreview/utils.d.ts +2 -1
  59. package/dist/components/ChannelPreview/utils.d.ts.map +1 -1
  60. package/dist/components/ChannelSearch/ChannelSearch.d.ts +1 -1
  61. package/dist/components/ChannelSearch/ChannelSearch.d.ts.map +1 -1
  62. package/dist/components/ChannelSearch/SearchBar.d.ts +1 -1
  63. package/dist/components/ChannelSearch/SearchBar.d.ts.map +1 -1
  64. package/dist/components/ChannelSearch/SearchInput.d.ts +1 -1
  65. package/dist/components/ChannelSearch/SearchInput.d.ts.map +1 -1
  66. package/dist/components/ChannelSearch/SearchResults.d.ts +1 -1
  67. package/dist/components/ChannelSearch/SearchResults.d.ts.map +1 -1
  68. package/dist/components/ChannelSearch/SearchResults.js +2 -1
  69. package/dist/components/ChannelSearch/icons.d.ts +5 -4
  70. package/dist/components/ChannelSearch/icons.d.ts.map +1 -1
  71. package/dist/components/Chat/Chat.d.ts +1 -1
  72. package/dist/components/Chat/Chat.d.ts.map +1 -1
  73. package/dist/components/ChatAutoComplete/ChatAutoComplete.d.ts +1 -1
  74. package/dist/components/ChatAutoComplete/ChatAutoComplete.d.ts.map +1 -1
  75. package/dist/components/ChatDown/ChatDown.d.ts +1 -1
  76. package/dist/components/ChatDown/ChatDown.d.ts.map +1 -1
  77. package/dist/components/ChatDown/icons.d.ts +2 -1
  78. package/dist/components/ChatDown/icons.d.ts.map +1 -1
  79. package/dist/components/CommandItem/CommandItem.d.ts +2 -2
  80. package/dist/components/CommandItem/CommandItem.d.ts.map +1 -1
  81. package/dist/components/DateSeparator/DateSeparator.d.ts +2 -1
  82. package/dist/components/DateSeparator/DateSeparator.d.ts.map +1 -1
  83. package/dist/components/Emojis/EmojiPicker.d.ts +1 -1
  84. package/dist/components/Emojis/EmojiPicker.d.ts.map +1 -1
  85. package/dist/components/Emojis/EmojiPicker.js +1 -1
  86. package/dist/components/Emojis/index.cjs.js +4 -4
  87. package/dist/components/EmoticonItem/EmoticonItem.d.ts +2 -1
  88. package/dist/components/EmoticonItem/EmoticonItem.d.ts.map +1 -1
  89. package/dist/components/EmptyStateIndicator/EmptyStateIndicator.d.ts +2 -1
  90. package/dist/components/EmptyStateIndicator/EmptyStateIndicator.d.ts.map +1 -1
  91. package/dist/components/EmptyStateIndicator/icons.d.ts +2 -1
  92. package/dist/components/EmptyStateIndicator/icons.d.ts.map +1 -1
  93. package/dist/components/EventComponent/EventComponent.d.ts +1 -1
  94. package/dist/components/EventComponent/EventComponent.d.ts.map +1 -1
  95. package/dist/components/Gallery/BaseImage.d.ts +2 -2
  96. package/dist/components/Gallery/BaseImage.d.ts.map +1 -1
  97. package/dist/components/Gallery/Gallery.d.ts +2 -2
  98. package/dist/components/Gallery/Gallery.d.ts.map +1 -1
  99. package/dist/components/Gallery/Image.d.ts +2 -2
  100. package/dist/components/Gallery/Image.d.ts.map +1 -1
  101. package/dist/components/Gallery/ModalGallery.d.ts +2 -1
  102. package/dist/components/Gallery/ModalGallery.d.ts.map +1 -1
  103. package/dist/components/InfiniteScrollPaginator/InfiniteScroll.d.ts.map +1 -1
  104. package/dist/components/InfiniteScrollPaginator/InfiniteScroll.js +7 -12
  105. package/dist/components/LoadMore/LoadMoreButton.d.ts +1 -1
  106. package/dist/components/LoadMore/LoadMoreButton.d.ts.map +1 -1
  107. package/dist/components/LoadMore/LoadMoreButton.js +1 -1
  108. package/dist/components/LoadMore/LoadMorePaginator.d.ts +2 -2
  109. package/dist/components/LoadMore/LoadMorePaginator.d.ts.map +1 -1
  110. package/dist/components/Loading/LoadingChannels.d.ts +1 -1
  111. package/dist/components/Loading/LoadingChannels.d.ts.map +1 -1
  112. package/dist/components/Loading/LoadingErrorIndicator.d.ts +2 -1
  113. package/dist/components/Loading/LoadingErrorIndicator.d.ts.map +1 -1
  114. package/dist/components/Loading/LoadingIndicator.d.ts +2 -1
  115. package/dist/components/Loading/LoadingIndicator.d.ts.map +1 -1
  116. package/dist/components/MML/MML.d.ts +2 -1
  117. package/dist/components/MML/MML.d.ts.map +1 -1
  118. package/dist/components/Message/FixedHeightMessage.d.ts +2 -1
  119. package/dist/components/Message/FixedHeightMessage.d.ts.map +1 -1
  120. package/dist/components/Message/Message.d.ts +2 -1
  121. package/dist/components/Message/Message.d.ts.map +1 -1
  122. package/dist/components/Message/Message.js +2 -2
  123. package/dist/components/Message/MessageDeleted.d.ts +2 -1
  124. package/dist/components/Message/MessageDeleted.d.ts.map +1 -1
  125. package/dist/components/Message/MessageErrorText.d.ts +2 -2
  126. package/dist/components/Message/MessageErrorText.d.ts.map +1 -1
  127. package/dist/components/Message/MessageOptions.d.ts +1 -1
  128. package/dist/components/Message/MessageOptions.d.ts.map +1 -1
  129. package/dist/components/Message/MessageOptions.js +5 -3
  130. package/dist/components/Message/MessageRepliesCountButton.d.ts +2 -2
  131. package/dist/components/Message/MessageRepliesCountButton.d.ts.map +1 -1
  132. package/dist/components/Message/MessageSimple.d.ts +2 -1
  133. package/dist/components/Message/MessageSimple.d.ts.map +1 -1
  134. package/dist/components/Message/MessageStatus.d.ts +1 -1
  135. package/dist/components/Message/MessageStatus.d.ts.map +1 -1
  136. package/dist/components/Message/MessageText.d.ts +2 -1
  137. package/dist/components/Message/MessageText.d.ts.map +1 -1
  138. package/dist/components/Message/MessageTimestamp.d.ts +2 -1
  139. package/dist/components/Message/MessageTimestamp.d.ts.map +1 -1
  140. package/dist/components/Message/QuotedMessage.d.ts +2 -1
  141. package/dist/components/Message/QuotedMessage.d.ts.map +1 -1
  142. package/dist/components/Message/icons.d.ts +11 -10
  143. package/dist/components/Message/icons.d.ts.map +1 -1
  144. package/dist/components/Message/renderText/componentRenderers/Anchor.d.ts +2 -2
  145. package/dist/components/Message/renderText/componentRenderers/Anchor.d.ts.map +1 -1
  146. package/dist/components/Message/renderText/componentRenderers/Emoji.d.ts +2 -1
  147. package/dist/components/Message/renderText/componentRenderers/Emoji.d.ts.map +1 -1
  148. package/dist/components/Message/renderText/componentRenderers/Mention.d.ts +2 -2
  149. package/dist/components/Message/renderText/componentRenderers/Mention.d.ts.map +1 -1
  150. package/dist/components/Message/renderText/renderText.d.ts +2 -2
  151. package/dist/components/Message/renderText/renderText.d.ts.map +1 -1
  152. package/dist/components/Message/types.d.ts +5 -0
  153. package/dist/components/Message/types.d.ts.map +1 -1
  154. package/dist/components/MessageActions/CustomMessageActionsList.d.ts +2 -1
  155. package/dist/components/MessageActions/CustomMessageActionsList.d.ts.map +1 -1
  156. package/dist/components/MessageActions/MessageActions.d.ts +1 -1
  157. package/dist/components/MessageActions/MessageActions.d.ts.map +1 -1
  158. package/dist/components/MessageActions/MessageActions.js +3 -1
  159. package/dist/components/MessageActions/MessageActionsBox.d.ts +1 -1
  160. package/dist/components/MessageActions/MessageActionsBox.d.ts.map +1 -1
  161. package/dist/components/MessageActions/MessageActionsBox.js +1 -1
  162. package/dist/components/MessageBounce/MessageBounceModal.d.ts +2 -2
  163. package/dist/components/MessageBounce/MessageBounceModal.d.ts.map +1 -1
  164. package/dist/components/MessageBounce/MessageBouncePrompt.d.ts +2 -1
  165. package/dist/components/MessageBounce/MessageBouncePrompt.d.ts.map +1 -1
  166. package/dist/components/MessageInput/AttachmentPreviewList.d.ts +3 -2
  167. package/dist/components/MessageInput/AttachmentPreviewList.d.ts.map +1 -1
  168. package/dist/components/MessageInput/CooldownTimer.d.ts +1 -1
  169. package/dist/components/MessageInput/CooldownTimer.d.ts.map +1 -1
  170. package/dist/components/MessageInput/DefaultTriggerProvider.d.ts +1 -1
  171. package/dist/components/MessageInput/DefaultTriggerProvider.d.ts.map +1 -1
  172. package/dist/components/MessageInput/DropzoneProvider.d.ts +1 -1
  173. package/dist/components/MessageInput/DropzoneProvider.d.ts.map +1 -1
  174. package/dist/components/MessageInput/EditMessageForm.d.ts +2 -1
  175. package/dist/components/MessageInput/EditMessageForm.d.ts.map +1 -1
  176. package/dist/components/MessageInput/LinkPreviewList.d.ts +2 -1
  177. package/dist/components/MessageInput/LinkPreviewList.d.ts.map +1 -1
  178. package/dist/components/MessageInput/MessageInput.d.ts +1 -1
  179. package/dist/components/MessageInput/MessageInput.d.ts.map +1 -1
  180. package/dist/components/MessageInput/MessageInputFlat.d.ts +2 -1
  181. package/dist/components/MessageInput/MessageInputFlat.d.ts.map +1 -1
  182. package/dist/components/MessageInput/MessageInputFlat.js +1 -1
  183. package/dist/components/MessageInput/MessageInputSmall.d.ts +2 -1
  184. package/dist/components/MessageInput/MessageInputSmall.d.ts.map +1 -1
  185. package/dist/components/MessageInput/QuotedMessagePreview.d.ts +3 -2
  186. package/dist/components/MessageInput/QuotedMessagePreview.d.ts.map +1 -1
  187. package/dist/components/MessageInput/QuotedMessagePreview.js +1 -1
  188. package/dist/components/MessageInput/UploadsPreview.d.ts +2 -1
  189. package/dist/components/MessageInput/UploadsPreview.d.ts.map +1 -1
  190. package/dist/components/MessageInput/icons.d.ts +14 -14
  191. package/dist/components/MessageInput/icons.d.ts.map +1 -1
  192. package/dist/components/MessageInput/icons.js +2 -1
  193. package/dist/components/MessageList/ConnectionStatus.d.ts +1 -1
  194. package/dist/components/MessageList/ConnectionStatus.d.ts.map +1 -1
  195. package/dist/components/MessageList/CustomNotification.d.ts +2 -2
  196. package/dist/components/MessageList/CustomNotification.d.ts.map +1 -1
  197. package/dist/components/MessageList/GiphyPreviewMessage.d.ts +2 -1
  198. package/dist/components/MessageList/GiphyPreviewMessage.d.ts.map +1 -1
  199. package/dist/components/MessageList/MessageList.d.ts +8 -4
  200. package/dist/components/MessageList/MessageList.d.ts.map +1 -1
  201. package/dist/components/MessageList/MessageList.js +4 -2
  202. package/dist/components/MessageList/MessageListMainPanel.d.ts +2 -1
  203. package/dist/components/MessageList/MessageListMainPanel.d.ts.map +1 -1
  204. package/dist/components/MessageList/MessageListNotifications.d.ts +1 -1
  205. package/dist/components/MessageList/MessageListNotifications.d.ts.map +1 -1
  206. package/dist/components/MessageList/MessageNotification.d.ts +1 -1
  207. package/dist/components/MessageList/MessageNotification.d.ts.map +1 -1
  208. package/dist/components/MessageList/ScrollToBottomButton.d.ts +2 -1
  209. package/dist/components/MessageList/ScrollToBottomButton.d.ts.map +1 -1
  210. package/dist/components/MessageList/ScrollToBottomButton.js +44 -3
  211. package/dist/components/MessageList/UnreadMessagesNotification.d.ts +12 -1
  212. package/dist/components/MessageList/UnreadMessagesNotification.d.ts.map +1 -1
  213. package/dist/components/MessageList/UnreadMessagesNotification.js +4 -2
  214. package/dist/components/MessageList/UnreadMessagesSeparator.d.ts +9 -1
  215. package/dist/components/MessageList/UnreadMessagesSeparator.d.ts.map +1 -1
  216. package/dist/components/MessageList/UnreadMessagesSeparator.js +2 -2
  217. package/dist/components/MessageList/VirtualizedMessageList.d.ts +9 -5
  218. package/dist/components/MessageList/VirtualizedMessageList.d.ts.map +1 -1
  219. package/dist/components/MessageList/VirtualizedMessageList.js +9 -4
  220. package/dist/components/MessageList/VirtualizedMessageListComponents.d.ts +6 -6
  221. package/dist/components/MessageList/VirtualizedMessageListComponents.d.ts.map +1 -1
  222. package/dist/components/MessageList/VirtualizedMessageListComponents.js +2 -2
  223. package/dist/components/MessageList/hooks/MessageList/useUnreadMessagesNotification.d.ts +2 -1
  224. package/dist/components/MessageList/hooks/MessageList/useUnreadMessagesNotification.d.ts.map +1 -1
  225. package/dist/components/MessageList/hooks/MessageList/useUnreadMessagesNotification.js +27 -13
  226. package/dist/components/MessageList/hooks/VirtualizedMessageList/useUnreadMessagesNotificationVirtualized.d.ts +3 -1
  227. package/dist/components/MessageList/hooks/VirtualizedMessageList/useUnreadMessagesNotificationVirtualized.d.ts.map +1 -1
  228. package/dist/components/MessageList/hooks/VirtualizedMessageList/useUnreadMessagesNotificationVirtualized.js +13 -7
  229. package/dist/components/MessageList/hooks/useMarkRead.d.ts +3 -2
  230. package/dist/components/MessageList/hooks/useMarkRead.d.ts.map +1 -1
  231. package/dist/components/MessageList/hooks/useMarkRead.js +65 -11
  232. package/dist/components/MessageList/icons.d.ts +4 -3
  233. package/dist/components/MessageList/icons.d.ts.map +1 -1
  234. package/dist/components/MessageList/renderMessages.d.ts +2 -2
  235. package/dist/components/MessageList/renderMessages.d.ts.map +1 -1
  236. package/dist/components/Modal/Modal.d.ts +1 -1
  237. package/dist/components/Modal/Modal.d.ts.map +1 -1
  238. package/dist/components/Modal/Modal.js +9 -7
  239. package/dist/components/Modal/icons.d.ts +2 -1
  240. package/dist/components/Modal/icons.d.ts.map +1 -1
  241. package/dist/components/ReactFileUtilities/FileIcon/FileIcon.d.ts +1 -1
  242. package/dist/components/ReactFileUtilities/FileIcon/FileIcon.d.ts.map +1 -1
  243. package/dist/components/ReactFileUtilities/FileIcon/FileIconSet/v1.d.ts +12 -12
  244. package/dist/components/ReactFileUtilities/FileIcon/FileIconSet/v1.d.ts.map +1 -1
  245. package/dist/components/ReactFileUtilities/FileIcon/FileIconSet/v2.d.ts +18 -18
  246. package/dist/components/ReactFileUtilities/FileIcon/FileIconSet/v2.d.ts.map +1 -1
  247. package/dist/components/ReactFileUtilities/FilePreviewer.d.ts +2 -1
  248. package/dist/components/ReactFileUtilities/FilePreviewer.d.ts.map +1 -1
  249. package/dist/components/ReactFileUtilities/FileUploadButton.d.ts +2 -2
  250. package/dist/components/ReactFileUtilities/FileUploadButton.d.ts.map +1 -1
  251. package/dist/components/ReactFileUtilities/FileUploadButton.js +3 -1
  252. package/dist/components/ReactFileUtilities/IconButton.d.ts +2 -2
  253. package/dist/components/ReactFileUtilities/IconButton.d.ts.map +1 -1
  254. package/dist/components/ReactFileUtilities/IconButton.js +3 -1
  255. package/dist/components/ReactFileUtilities/ImageDropzone.d.ts +2 -2
  256. package/dist/components/ReactFileUtilities/ImageDropzone.d.ts.map +1 -1
  257. package/dist/components/ReactFileUtilities/ImagePreviewer.d.ts +2 -2
  258. package/dist/components/ReactFileUtilities/ImagePreviewer.d.ts.map +1 -1
  259. package/dist/components/ReactFileUtilities/ImagePreviewer.js +3 -1
  260. package/dist/components/ReactFileUtilities/ImageUploadButton.d.ts +2 -2
  261. package/dist/components/ReactFileUtilities/ImageUploadButton.d.ts.map +1 -1
  262. package/dist/components/ReactFileUtilities/ImageUploadButton.js +3 -1
  263. package/dist/components/ReactFileUtilities/LoadingIndicator.d.ts +2 -1
  264. package/dist/components/ReactFileUtilities/LoadingIndicator.d.ts.map +1 -1
  265. package/dist/components/ReactFileUtilities/Thumbnail.d.ts +2 -2
  266. package/dist/components/ReactFileUtilities/Thumbnail.d.ts.map +1 -1
  267. package/dist/components/ReactFileUtilities/ThumbnailPlaceholder.d.ts +2 -1
  268. package/dist/components/ReactFileUtilities/ThumbnailPlaceholder.d.ts.map +1 -1
  269. package/dist/components/ReactFileUtilities/UploadButton.d.ts +2 -2
  270. package/dist/components/ReactFileUtilities/UploadButton.d.ts.map +1 -1
  271. package/dist/components/ReactFileUtilities/icons/AttachmentIcon.d.ts +2 -1
  272. package/dist/components/ReactFileUtilities/icons/AttachmentIcon.d.ts.map +1 -1
  273. package/dist/components/ReactFileUtilities/icons/CloseIcon.d.ts +2 -1
  274. package/dist/components/ReactFileUtilities/icons/CloseIcon.d.ts.map +1 -1
  275. package/dist/components/ReactFileUtilities/icons/FilePlaceholderIcon.d.ts +2 -2
  276. package/dist/components/ReactFileUtilities/icons/FilePlaceholderIcon.d.ts.map +1 -1
  277. package/dist/components/ReactFileUtilities/icons/PictureIcon.d.ts +2 -1
  278. package/dist/components/ReactFileUtilities/icons/PictureIcon.d.ts.map +1 -1
  279. package/dist/components/ReactFileUtilities/icons/RetryIcon.d.ts +2 -1
  280. package/dist/components/ReactFileUtilities/icons/RetryIcon.d.ts.map +1 -1
  281. package/dist/components/Reactions/ReactionsList.d.ts +7 -1
  282. package/dist/components/Reactions/ReactionsList.d.ts.map +1 -1
  283. package/dist/components/Reactions/ReactionsList.js +5 -3
  284. package/dist/components/Reactions/ReactionsListModal.d.ts +4 -3
  285. package/dist/components/Reactions/ReactionsListModal.d.ts.map +1 -1
  286. package/dist/components/Reactions/ReactionsListModal.js +18 -8
  287. package/dist/components/Reactions/SimpleReactionsList.d.ts +2 -1
  288. package/dist/components/Reactions/SimpleReactionsList.d.ts.map +1 -1
  289. package/dist/components/Reactions/SpriteImage.d.ts +2 -1
  290. package/dist/components/Reactions/SpriteImage.d.ts.map +1 -1
  291. package/dist/components/Reactions/SpriteImage.js +3 -17
  292. package/dist/components/Reactions/StreamEmoji.d.ts +1 -1
  293. package/dist/components/Reactions/StreamEmoji.d.ts.map +1 -1
  294. package/dist/components/Reactions/StreamEmoji.js +3 -1
  295. package/dist/components/Reactions/hooks/useFetchReactions.js +2 -2
  296. package/dist/components/Reactions/hooks/useProcessReactions.d.ts +5 -2
  297. package/dist/components/Reactions/hooks/useProcessReactions.d.ts.map +1 -1
  298. package/dist/components/Reactions/hooks/useProcessReactions.js +10 -3
  299. package/dist/components/Reactions/types.d.ts +4 -1
  300. package/dist/components/Reactions/types.d.ts.map +1 -1
  301. package/dist/components/SafeAnchor/SafeAnchor.d.ts +2 -2
  302. package/dist/components/SafeAnchor/SafeAnchor.d.ts.map +1 -1
  303. package/dist/components/SafeAnchor/SafeAnchor.js +3 -1
  304. package/dist/components/Thread/Thread.d.ts +1 -1
  305. package/dist/components/Thread/Thread.d.ts.map +1 -1
  306. package/dist/components/Thread/ThreadHead.d.ts +2 -1
  307. package/dist/components/Thread/ThreadHead.d.ts.map +1 -1
  308. package/dist/components/Thread/ThreadHeader.d.ts +1 -1
  309. package/dist/components/Thread/ThreadHeader.d.ts.map +1 -1
  310. package/dist/components/Thread/ThreadHeader.js +1 -1
  311. package/dist/components/Thread/ThreadStart.d.ts +2 -1
  312. package/dist/components/Thread/ThreadStart.d.ts.map +1 -1
  313. package/dist/components/Thread/icons.d.ts +2 -1
  314. package/dist/components/Thread/icons.d.ts.map +1 -1
  315. package/dist/components/Tooltip/Tooltip.d.ts +2 -2
  316. package/dist/components/Tooltip/Tooltip.d.ts.map +1 -1
  317. package/dist/components/TypingIndicator/TypingIndicator.d.ts +1 -1
  318. package/dist/components/TypingIndicator/TypingIndicator.d.ts.map +1 -1
  319. package/dist/components/UserItem/UserItem.d.ts +1 -1
  320. package/dist/components/UserItem/UserItem.d.ts.map +1 -1
  321. package/dist/components/Window/Window.d.ts +1 -1
  322. package/dist/components/Window/Window.d.ts.map +1 -1
  323. package/dist/context/ChannelActionContext.d.ts +4 -3
  324. package/dist/context/ChannelActionContext.d.ts.map +1 -1
  325. package/dist/context/ChannelListContext.d.ts +1 -1
  326. package/dist/context/ChannelListContext.d.ts.map +1 -1
  327. package/dist/context/ChannelStateContext.d.ts +2 -2
  328. package/dist/context/ChannelStateContext.d.ts.map +1 -1
  329. package/dist/context/ChatContext.d.ts +2 -2
  330. package/dist/context/ChatContext.d.ts.map +1 -1
  331. package/dist/context/ComponentContext.d.ts +2 -2
  332. package/dist/context/ComponentContext.d.ts.map +1 -1
  333. package/dist/context/MessageBounceContext.d.ts +2 -2
  334. package/dist/context/MessageBounceContext.d.ts.map +1 -1
  335. package/dist/context/MessageContext.d.ts +7 -2
  336. package/dist/context/MessageContext.d.ts.map +1 -1
  337. package/dist/context/MessageInputContext.d.ts +1 -1
  338. package/dist/context/MessageInputContext.d.ts.map +1 -1
  339. package/dist/context/MessageListContext.d.ts +1 -1
  340. package/dist/context/MessageListContext.d.ts.map +1 -1
  341. package/dist/context/TranslationContext.d.ts +2 -2
  342. package/dist/context/TranslationContext.d.ts.map +1 -1
  343. package/dist/context/TypingContext.d.ts +2 -2
  344. package/dist/context/TypingContext.d.ts.map +1 -1
  345. package/dist/css/v2/index.css +1 -1
  346. package/dist/css/v2/index.layout.css +1 -1
  347. package/dist/i18n/Streami18n.d.ts +19 -0
  348. package/dist/i18n/Streami18n.d.ts.map +1 -1
  349. package/dist/i18n/de.json +19 -0
  350. package/dist/i18n/en.json +19 -0
  351. package/dist/i18n/es.json +19 -0
  352. package/dist/i18n/fr.json +19 -0
  353. package/dist/i18n/hi.json +19 -0
  354. package/dist/i18n/it.json +19 -0
  355. package/dist/i18n/ja.json +19 -0
  356. package/dist/i18n/ko.json +19 -0
  357. package/dist/i18n/nl.json +19 -0
  358. package/dist/i18n/pt.json +19 -0
  359. package/dist/i18n/ru.json +19 -0
  360. package/dist/i18n/tr.json +19 -0
  361. package/dist/index.cjs.js +129 -54
  362. package/dist/scss/v2/MessageReactions/MessageReactions-layout.scss +15 -1
  363. package/dist/version.d.ts +1 -1
  364. package/dist/version.d.ts.map +1 -1
  365. package/dist/version.js +1 -1
  366. package/package.json +9 -6
@@ -42,7 +42,8 @@ var DefaultSearchResultItem = function (props) {
42
42
  };
43
43
  var ResultsContainer = function (_a) {
44
44
  var children = _a.children, popupResults = _a.popupResults;
45
- return (React.createElement("div", { "aria-label": 'Channel search results', className: clsx("str-chat__channel-search-container str-chat__channel-search-result-list", popupResults ? 'popup' : 'inline') }, children));
45
+ var t = useTranslationContext('ResultsContainer').t;
46
+ return (React.createElement("div", { "aria-label": t('aria/Channel search results'), className: clsx("str-chat__channel-search-container str-chat__channel-search-result-list", popupResults ? 'popup' : 'inline') }, children));
46
47
  };
47
48
  export var SearchResults = function (props) {
48
49
  var popupResults = props.popupResults, results = props.results, searching = props.searching, _a = props.SearchEmpty, SearchEmpty = _a === void 0 ? DefaultSearchEmpty : _a, _b = props.SearchResultsHeader, SearchResultsHeader = _b === void 0 ? DefaultSearchResultsHeader : _b, SearchLoading = props.SearchLoading, _c = props.SearchResultItem, SearchResultItem = _c === void 0 ? DefaultSearchResultItem : _c, _d = props.SearchResultsList, SearchResultsList = _d === void 0 ? DefaultSearchResultsList : _d, selectResult = props.selectResult;
@@ -1,6 +1,7 @@
1
+ import React from 'react';
1
2
  import type { IconProps } from '../../types/types';
2
- export declare const MenuIcon: () => JSX.Element;
3
- export declare const ReturnIcon: () => JSX.Element;
4
- export declare const XIcon: () => JSX.Element;
5
- export declare const SearchIcon: ({ className }: IconProps) => JSX.Element;
3
+ export declare const MenuIcon: () => React.JSX.Element;
4
+ export declare const ReturnIcon: () => React.JSX.Element;
5
+ export declare const XIcon: () => React.JSX.Element;
6
+ export declare const SearchIcon: ({ className }: IconProps) => React.JSX.Element;
6
7
  //# sourceMappingURL=icons.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"icons.d.ts","sourceRoot":"","sources":["../../../src/components/ChannelSearch/icons.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAEnD,eAAO,MAAM,QAAQ,mBAgBpB,CAAC;AAEF,eAAO,MAAM,UAAU,mBActB,CAAC;AAEF,eAAO,MAAM,KAAK,mBAOjB,CAAC;AAEF,eAAO,MAAM,UAAU,kBAAmB,SAAS,gBAclD,CAAC"}
1
+ {"version":3,"file":"icons.d.ts","sourceRoot":"","sources":["../../../src/components/ChannelSearch/icons.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAEnD,eAAO,MAAM,QAAQ,yBAgBpB,CAAC;AAEF,eAAO,MAAM,UAAU,yBActB,CAAC;AAEF,eAAO,MAAM,KAAK,yBAOjB,CAAC;AAEF,eAAO,MAAM,UAAU,kBAAmB,SAAS,sBAclD,CAAC"}
@@ -45,5 +45,5 @@ export type ChatProps<StreamChatGenerics extends DefaultStreamChatGenerics = Def
45
45
  * Wrapper component for a StreamChat application. Chat needs to be placed around any other chat components
46
46
  * as it provides the ChatContext.
47
47
  */
48
- export declare const Chat: <StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>(props: React.PropsWithChildren<ChatProps<StreamChatGenerics>>) => JSX.Element | null;
48
+ export declare const Chat: <StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>(props: React.PropsWithChildren<ChatProps<StreamChatGenerics>>) => React.JSX.Element | null;
49
49
  //# sourceMappingURL=Chat.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Chat.d.ts","sourceRoot":"","sources":["../../../src/components/Chat/Chat.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAKjD,OAAO,EAAE,YAAY,EAAkC,MAAM,yBAAyB,CAA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  /** Function to override the default emojiReplace behavior on the `wordReplace` prop of the `textarea` component */
71
71
  wordReplace?: (word: string, emojiIndex?: EmojiSearchIndex<T>) => string;
72
72
  };
73
- export declare const ChatAutoComplete: <StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics, V extends CustomTrigger = CustomTrigger>(props: ChatAutoCompleteProps) => JSX.Element;
73
+ export declare const ChatAutoComplete: <StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics, V extends CustomTrigger = CustomTrigger>(props: ChatAutoCompleteProps) => React.JSX.Element;
74
74
  export {};
75
75
  //# sourceMappingURL=ChatAutoComplete.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ChatAutoComplete.d.ts","sourceRoot":"","sources":["../../../src/components/ChatAutoComplete/ChatAutoComplete.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsB,MAAM,OAAO,CAAC;AAS3C,OAAO,KAAK,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAEjE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wCAAwC,CAAC;AAE9E,OAAO,KAAK,EAAE,aAAa,EAAE,yBAAyB,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAC/F,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAE3D,KAAK,WAAW,CAAC,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC;AAEjC,MAAM,MAAM,iBAAiB,CAC3B,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,IAC9E,eAAe,CAAC,kBAAkB,CAAC,CAAC;AAExC,MAAM,MAAM,cAAc,CACxB,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,IAC9E,YAAY,CAAC,kBAAkB,CAAC,CAAC;AAGrC,MAAM,MAAM,mBAAmB,CAC7B,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,EAChF,CAAC,SAAS,WAAW,GAAG,WAAW,IACjC;IACF,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AAC,EAAE,MAAM,CAAC;IACrB,yEAAyE;IACzE,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,4DAA4D;IAC5D,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,mHAAmH;IACnH,WAAW,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,UAAU,CAAC,EAAE,gBAAgB,CAAC,CAAC,CAAC,KAAK,MAAM,CAAC;CAC1E,CAAC;AAkFF,eAAO,MAAM,gBAAgB,qIA5EpB,qBAAqB,sBA8EQ,CAAC"}
@@ -10,5 +10,5 @@ export type ChatDownProps = {
10
10
  /**
11
11
  * A simple indicator that chat functionality isn't available, triggered when the Chat API is unavailable or your network isn't working.
12
12
  */
13
- export declare const ChatDown: ({ image, text, type, }: ChatDownProps) => JSX.Element;
13
+ export declare const ChatDown: ({ image, text, type, }: ChatDownProps) => React.JSX.Element;
14
14
  //# sourceMappingURL=ChatDown.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ChatDown.d.ts","sourceRoot":"","sources":["../../../src/components/ChatDown/ChatDown.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,MAAM,MAAM,aAAa,GAAG;IAC1B,0EAA0E;IAC1E,KAAK,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,YAAY,CAAC;IACpC,gCAAgC;IAChC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,wBAAwB;IACxB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;AA0BF;;GAEG;AACH,eAAO,MAAM,QAAQ,2BAvBlB,aAAa,gBAuBmE,CAAC"}
1
+ {"version":3,"file":"ChatDown.d.ts","sourceRoot":"","sources":["../../../src/components/ChatDown/ChatDown.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,MAAM,MAAM,aAAa,GAAG;IAC1B,0EAA0E;IAC1E,KAAK,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,YAAY,CAAC;IACpC,gCAAgC;IAChC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,wBAAwB;IACxB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;AA0BF;;GAEG;AACH,eAAO,MAAM,QAAQ,2BAvBlB,aAAa,sBAuBmE,CAAC"}
@@ -1,2 +1,3 @@
1
- export declare const ConnectionErrorIcon: () => JSX.Element;
1
+ import React from 'react';
2
+ export declare const ConnectionErrorIcon: () => React.JSX.Element;
2
3
  //# sourceMappingURL=icons.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"icons.d.ts","sourceRoot":"","sources":["../../../src/components/ChatDown/icons.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,mBAAmB,mBAwB/B,CAAC"}
1
+ {"version":3,"file":"icons.d.ts","sourceRoot":"","sources":["../../../src/components/ChatDown/icons.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,eAAO,MAAM,mBAAmB,yBAwB/B,CAAC"}
@@ -1,4 +1,4 @@
1
- import { PropsWithChildren } from 'react';
1
+ import React, { PropsWithChildren } from 'react';
2
2
  export type CommandItemProps = {
3
3
  entity: {
4
4
  /** Arguments of command */
@@ -9,5 +9,5 @@ export type CommandItemProps = {
9
9
  name?: string;
10
10
  };
11
11
  };
12
- export declare const CommandItem: (props: PropsWithChildren<CommandItemProps>) => JSX.Element;
12
+ export declare const CommandItem: (props: PropsWithChildren<CommandItemProps>) => React.JSX.Element;
13
13
  //# sourceMappingURL=CommandItem.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CommandItem.d.ts","sourceRoot":"","sources":["../../../src/components/CommandItem/CommandItem.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAEjD,MAAM,MAAM,gBAAgB,GAAG;IAC7B,MAAM,EAAE;QACN,2BAA2B;QAC3B,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,6BAA6B;QAC7B,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,0BAA0B;QAC1B,IAAI,CAAC,EAAE,MAAM,CAAC;KACf,CAAC;CACH,CAAC;AAgBF,eAAO,MAAM,WAAW,UAdc,kBAAkB,gBAAgB,CAAC,gBAcmB,CAAC"}
1
+ {"version":3,"file":"CommandItem.d.ts","sourceRoot":"","sources":["../../../src/components/CommandItem/CommandItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAEjD,MAAM,MAAM,gBAAgB,GAAG;IAC7B,MAAM,EAAE;QACN,2BAA2B;QAC3B,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,6BAA6B;QAC7B,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,0BAA0B;QAC1B,IAAI,CAAC,EAAE,MAAM,CAAC;KACf,CAAC;CACH,CAAC;AAgBF,eAAO,MAAM,WAAW,UAdc,kBAAkB,gBAAgB,CAAC,sBAcmB,CAAC"}
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  export type DateSeparatorProps = {
2
3
  /** The date to format */
3
4
  date: Date;
@@ -11,5 +12,5 @@ export type DateSeparatorProps = {
11
12
  /**
12
13
  * A simple date separator between messages.
13
14
  */
14
- export declare const DateSeparator: (props: DateSeparatorProps) => JSX.Element;
15
+ export declare const DateSeparator: (props: DateSeparatorProps) => React.JSX.Element;
15
16
  //# sourceMappingURL=DateSeparator.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DateSeparator.d.ts","sourceRoot":"","sources":["../../../src/components/DateSeparator/DateSeparator.tsx"],"names":[],"mappings":"AAKA,MAAM,MAAM,kBAAkB,GAAG;IAC/B,yBAAyB;IACzB,IAAI,EAAE,IAAI,CAAC;IACX,mHAAmH;IACnH,UAAU,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,MAAM,CAAC;IACpC,2GAA2G;IAC3G,QAAQ,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,OAAO,CAAC;IACvC,wCAAwC;IACxC,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB,CAAC;AA6BF;;GAEG;AACH,eAAO,MAAM,aAAa,UA9Bc,kBAAkB,gBA8BwC,CAAC"}
1
+ {"version":3,"file":"DateSeparator.d.ts","sourceRoot":"","sources":["../../../src/components/DateSeparator/DateSeparator.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,MAAM,MAAM,kBAAkB,GAAG;IAC/B,yBAAyB;IACzB,IAAI,EAAE,IAAI,CAAC;IACX,mHAAmH;IACnH,UAAU,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,MAAM,CAAC;IACpC,2GAA2G;IAC3G,QAAQ,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,OAAO,CAAC;IACvC,wCAAwC;IACxC,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB,CAAC;AA6BF;;GAEG;AACH,eAAO,MAAM,aAAa,UA9Bc,kBAAkB,sBA8BwC,CAAC"}
@@ -18,5 +18,5 @@ export type EmojiPickerProps = {
18
18
  */
19
19
  popperOptions?: Partial<Options>;
20
20
  };
21
- export declare const EmojiPicker: (props: EmojiPickerProps) => JSX.Element;
21
+ export declare const EmojiPicker: (props: EmojiPickerProps) => React.JSX.Element;
22
22
  //# sourceMappingURL=EmojiPicker.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"EmojiPicker.d.ts","sourceRoot":"","sources":["../../../src/components/Emojis/EmojiPicker.tsx"],"names":[],"mappings":"AACA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAInD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAW9C,MAAM,MAAM,gBAAgB,GAAG;IAC7B,mBAAmB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC1C,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAClC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;;OAGG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;QAAE,KAAK,EAAE,MAAM,GAAG,OAAO,GAAG,MAAM,CAAA;KAAE,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC;IACtF;;;OAGG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC,OAAO,CAAC,CAAC;CAClC,CAAC;AAeF,eAAO,MAAM,WAAW,UAAW,gBAAgB,gBAkElD,CAAC"}
1
+ {"version":3,"file":"EmojiPicker.d.ts","sourceRoot":"","sources":["../../../src/components/Emojis/EmojiPicker.tsx"],"names":[],"mappings":"AACA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAInD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAW9C,MAAM,MAAM,gBAAgB,GAAG;IAC7B,mBAAmB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC1C,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAClC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;;OAGG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;QAAE,KAAK,EAAE,MAAM,GAAG,OAAO,GAAG,MAAM,CAAA;KAAE,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC;IACtF;;;OAGG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC,OAAO,CAAC,CAAC;CAClC,CAAC;AAeF,eAAO,MAAM,WAAW,UAAW,gBAAgB,sBAmElD,CAAC"}
@@ -54,5 +54,5 @@ export var EmojiPicker = function (props) {
54
54
  (_a = textareaRef.current) === null || _a === void 0 ? void 0 : _a.focus();
55
55
  } }, props.pickerProps)))),
56
56
  themeVersion === '1' && (React.createElement(Tooltip, null, displayPicker ? t('Close emoji picker') : t('Open emoji picker'))),
57
- React.createElement("button", { "aria-label": 'Emoji picker', className: (_c = props.buttonClassName) !== null && _c !== void 0 ? _c : buttonClassName, onClick: function () { return setDisplayPicker(function (cv) { return !cv; }); }, ref: setReferenceElement, type: 'button' }, ButtonIconComponent && React.createElement(ButtonIconComponent, null))));
57
+ React.createElement("button", { "aria-expanded": displayPicker, "aria-label": t('aria/Emoji picker'), className: (_c = props.buttonClassName) !== null && _c !== void 0 ? _c : buttonClassName, onClick: function () { return setDisplayPicker(function (cv) { return !cv; }); }, ref: setReferenceElement, type: 'button' }, ButtonIconComponent && React.createElement(ButtonIconComponent, null))));
58
58
  };
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var Window = require('../../Window-7c2f264c.js');
5
+ var Window = require('../../Window-7d524c3b.js');
6
6
  var React = require('react');
7
7
  var Picker = require('@emoji-mart/react');
8
8
  require('dayjs');
@@ -26,8 +26,6 @@ require('dayjs/locale/pt');
26
26
  require('dayjs/locale/ru');
27
27
  require('dayjs/locale/tr');
28
28
  require('dayjs/locale/en');
29
- require('lodash.uniqby');
30
- require('react/jsx-runtime');
31
29
  require('react-player');
32
30
  require('pretty-bytes');
33
31
  require('@braintree/sanitize-url');
@@ -35,6 +33,7 @@ require('react-image-gallery');
35
33
  require('prop-types');
36
34
  require('linkifyjs');
37
35
  require('emoji-regex');
36
+ require('lodash.uniqby');
38
37
  require('@babel/runtime/helpers/extends');
39
38
  require('@babel/runtime/helpers/defineProperty');
40
39
  require('react-textarea-autosize');
@@ -45,6 +44,7 @@ require('lodash.throttle');
45
44
  require('crypto');
46
45
  require('react-fast-compare');
47
46
  require('react-dom');
47
+ require('react/jsx-runtime');
48
48
  require('stream-chat');
49
49
  require('react-virtuoso');
50
50
 
@@ -119,7 +119,7 @@ var EmojiPicker = function (props) {
119
119
  (_a = textareaRef.current) === null || _a === void 0 ? void 0 : _a.focus();
120
120
  } }, props.pickerProps)))),
121
121
  themeVersion === '1' && (React__default["default"].createElement(Window.Tooltip, null, displayPicker ? t('Close emoji picker') : t('Open emoji picker'))),
122
- React__default["default"].createElement("button", { "aria-label": 'Emoji picker', className: (_c = props.buttonClassName) !== null && _c !== void 0 ? _c : buttonClassName, onClick: function () { return setDisplayPicker(function (cv) { return !cv; }); }, ref: setReferenceElement, type: 'button' }, ButtonIconComponent && React__default["default"].createElement(ButtonIconComponent, null))));
122
+ React__default["default"].createElement("button", { "aria-expanded": displayPicker, "aria-label": t('aria/Emoji picker'), className: (_c = props.buttonClassName) !== null && _c !== void 0 ? _c : buttonClassName, onClick: function () { return setDisplayPicker(function (cv) { return !cv; }); }, ref: setReferenceElement, type: 'button' }, ButtonIconComponent && React__default["default"].createElement(ButtonIconComponent, null))));
123
123
  };
124
124
 
125
125
  exports.EmojiPicker = EmojiPicker;
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  export type EmoticonItemProps = {
2
3
  entity: {
3
4
  /** The parts of the Name property of the entity (or id if no name) that can be matched to the user input value.
@@ -13,5 +14,5 @@ export type EmoticonItemProps = {
13
14
  native: string;
14
15
  };
15
16
  };
16
- export declare const EmoticonItem: (props: EmoticonItemProps) => JSX.Element;
17
+ export declare const EmoticonItem: (props: EmoticonItemProps) => React.JSX.Element;
17
18
  //# sourceMappingURL=EmoticonItem.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"EmoticonItem.d.ts","sourceRoot":"","sources":["../../../src/components/EmoticonItem/EmoticonItem.tsx"],"names":[],"mappings":"AAEA,MAAM,MAAM,iBAAiB,GAAG;IAC9B,MAAM,EAAE;QACN;;aAEK;QACL,aAAa,EAAE;YAAE,KAAK,EAAE,MAAM,CAAC;YAAC,KAAK,EAAE,MAAM,EAAE,CAAA;SAAE,CAAC;QAClD,wBAAwB;QACxB,IAAI,EAAE,MAAM,CAAC;QACb,sCAAsC;QACtC,MAAM,EAAE,MAAM,CAAC;KAChB,CAAC;CACH,CAAC;AAkCF,eAAO,MAAM,YAAY,UAhCc,iBAAiB,gBAgCuC,CAAC"}
1
+ {"version":3,"file":"EmoticonItem.d.ts","sourceRoot":"","sources":["../../../src/components/EmoticonItem/EmoticonItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,MAAM,iBAAiB,GAAG;IAC9B,MAAM,EAAE;QACN;;aAEK;QACL,aAAa,EAAE;YAAE,KAAK,EAAE,MAAM,CAAC;YAAC,KAAK,EAAE,MAAM,EAAE,CAAA;SAAE,CAAC;QAClD,wBAAwB;QACxB,IAAI,EAAE,MAAM,CAAC;QACb,sCAAsC;QACtC,MAAM,EAAE,MAAM,CAAC;KAChB,CAAC;CACH,CAAC;AAkCF,eAAO,MAAM,YAAY,UAhCc,iBAAiB,sBAgCuC,CAAC"}
@@ -1,6 +1,7 @@
1
+ import React from 'react';
1
2
  export type EmptyStateIndicatorProps = {
2
3
  /** List Type: channel | message */
3
4
  listType?: 'channel' | 'message' | 'thread';
4
5
  };
5
- export declare const EmptyStateIndicator: (props: EmptyStateIndicatorProps) => JSX.Element | null;
6
+ export declare const EmptyStateIndicator: (props: EmptyStateIndicatorProps) => React.JSX.Element | null;
6
7
  //# sourceMappingURL=EmptyStateIndicator.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"EmptyStateIndicator.d.ts","sourceRoot":"","sources":["../../../src/components/EmptyStateIndicator/EmptyStateIndicator.tsx"],"names":[],"mappings":"AAKA,MAAM,MAAM,wBAAwB,GAAG;IACrC,mCAAmC;IACnC,QAAQ,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,QAAQ,CAAC;CAC7C,CAAC;AAuCF,eAAO,MAAM,mBAAmB,UArCc,wBAAwB,uBAuC7B,CAAC"}
1
+ {"version":3,"file":"EmptyStateIndicator.d.ts","sourceRoot":"","sources":["../../../src/components/EmptyStateIndicator/EmptyStateIndicator.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,MAAM,MAAM,wBAAwB,GAAG;IACrC,mCAAmC;IACnC,QAAQ,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,QAAQ,CAAC;CAC7C,CAAC;AAuCF,eAAO,MAAM,mBAAmB,UArCc,wBAAwB,6BAuC7B,CAAC"}
@@ -1,2 +1,3 @@
1
- export declare const ChatBubble: () => JSX.Element;
1
+ import React from 'react';
2
+ export declare const ChatBubble: () => React.JSX.Element;
2
3
  //# sourceMappingURL=icons.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"icons.d.ts","sourceRoot":"","sources":["../../../src/components/EmptyStateIndicator/icons.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,UAAU,mBActB,CAAC"}
1
+ {"version":3,"file":"icons.d.ts","sourceRoot":"","sources":["../../../src/components/EmptyStateIndicator/icons.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,eAAO,MAAM,UAAU,yBActB,CAAC"}
@@ -8,5 +8,5 @@ export type EventComponentProps<StreamChatGenerics extends DefaultStreamChatGene
8
8
  /** Custom UI component to display user avatar, defaults to and accepts same props as: [Avatar](https://github.com/GetStream/stream-chat-react/blob/master/src/components/Avatar/Avatar.tsx) */
9
9
  Avatar?: React.ComponentType<AvatarProps>;
10
10
  };
11
- export declare const EventComponent: <StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>(props: EventComponentProps<StreamChatGenerics>) => JSX.Element | null;
11
+ export declare const EventComponent: <StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>(props: EventComponentProps<StreamChatGenerics>) => React.JSX.Element | null;
12
12
  //# sourceMappingURL=EventComponent.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"EventComponent.d.ts","sourceRoot":"","sources":["../../../src/components/EventComponent/EventComponent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,WAAW,EAA2B,MAAM,WAAW,CAAC;AAIjE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mCAAmC,CAAC;AAEvE,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAC;AAGnE,MAAM,MAAM,mBAAmB,CAC7B,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,IAC9E;IACF,qBAAqB;IACrB,OAAO,EAAE,aAAa,CAAC,kBAAkB,CAAC,CAAC;IAC3C,+LAA+L;IAC/L,MAAM,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,WAAW,CAAC,CAAC;CAC3C,CAAC;AAqDF,eAAO,MAAM,cAAc,0JAES,CAAC"}
1
+ {"version":3,"file":"EventComponent.d.ts","sourceRoot":"","sources":["../../../src/components/EventComponent/EventComponent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,WAAW,EAA2B,MAAM,WAAW,CAAC;AAIjE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mCAAmC,CAAC;AAEvE,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAC;AAGnE,MAAM,MAAM,mBAAmB,CAC7B,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,IAC9E;IACF,qBAAqB;IACrB,OAAO,EAAE,aAAa,CAAC,kBAAkB,CAAC,CAAC;IAC3C,+LAA+L;IAC/L,MAAM,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,WAAW,CAAC,CAAC;CAC3C,CAAC;AAqDF,eAAO,MAAM,cAAc,gKAES,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  export type BaseImageProps = React.ComponentPropsWithRef<'img'>;
3
- export declare const BaseImage: React.ForwardRefExoticComponent<Pick<Pick<React.DetailedHTMLProps<React.ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, "key" | keyof React.ImgHTMLAttributes<HTMLImageElement>> & {
3
+ export declare const BaseImage: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, "ref"> & {
4
4
  ref?: ((instance: HTMLImageElement | null) => void) | React.RefObject<HTMLImageElement> | null | undefined;
5
- }, "key" | keyof React.ImgHTMLAttributes<HTMLImageElement>> & React.RefAttributes<HTMLImageElement>>;
5
+ }, "ref"> & React.RefAttributes<HTMLImageElement>>;
6
6
  //# sourceMappingURL=BaseImage.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"BaseImage.d.ts","sourceRoot":"","sources":["../../../src/components/Gallery/BaseImage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA0C,MAAM,OAAO,CAAC;AAI/D,MAAM,MAAM,cAAc,GAAG,KAAK,CAAC,qBAAqB,CAAC,KAAK,CAAC,CAAC;AAEhE,eAAO,MAAM,SAAS;;oGA+BpB,CAAC"}
1
+ {"version":3,"file":"BaseImage.d.ts","sourceRoot":"","sources":["../../../src/components/Gallery/BaseImage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA0C,MAAM,OAAO,CAAC;AAI/D,MAAM,MAAM,cAAc,GAAG,KAAK,CAAC,qBAAqB,CAAC,KAAK,CAAC,CAAC;AAEhE,eAAO,MAAM,SAAS;;kDA+BpB,CAAC"}
@@ -1,4 +1,4 @@
1
- import { CSSProperties, MutableRefObject } from 'react';
1
+ import React, { CSSProperties, MutableRefObject } from 'react';
2
2
  import type { Attachment } from 'stream-chat';
3
3
  import type { DefaultStreamChatGenerics } from '../../types/types';
4
4
  export type GalleryProps<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = {
@@ -14,5 +14,5 @@ export type GalleryProps<StreamChatGenerics extends DefaultStreamChatGenerics =
14
14
  /**
15
15
  * Displays images in a simple responsive grid with a light box to view the images.
16
16
  */
17
- export declare const Gallery: <StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>(props: GalleryProps<StreamChatGenerics>) => JSX.Element;
17
+ export declare const Gallery: <StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>(props: GalleryProps<StreamChatGenerics>) => React.JSX.Element;
18
18
  //# sourceMappingURL=Gallery.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Gallery.d.ts","sourceRoot":"","sources":["../../../src/components/Gallery/Gallery.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,aAAa,EAAE,gBAAgB,EAAY,MAAM,OAAO,CAAC;AAWzE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAE9C,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAC;AAEnE,MAAM,MAAM,YAAY,CACtB,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,IAC9E;IACF,MAAM,EAAE,CAAC,CACL;QACE,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;QAC/B,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;KAChC,GACD,UAAU,CAAC,kBAAkB,CAAC,CACjC,GAAG;QAAE,UAAU,CAAC,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,aAAa,CAAA;KAAE,CAAC,EAAE,CAAC;IACtD,SAAS,CAAC,EAAE,gBAAgB,CAAC,CAAC,WAAW,GAAG,IAAI,CAAC,EAAE,CAAC,CAAC;CACtD,CAAC;AAuFF;;GAEG;AACH,eAAO,MAAM,OAAO,4IAA4D,CAAC"}
1
+ {"version":3,"file":"Gallery.d.ts","sourceRoot":"","sources":["../../../src/components/Gallery/Gallery.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,aAAa,EAAE,gBAAgB,EAAY,MAAM,OAAO,CAAC;AAWzE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAE9C,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAC;AAEnE,MAAM,MAAM,YAAY,CACtB,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,IAC9E;IACF,MAAM,EAAE,CAAC,CACL;QACE,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;QAC/B,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;KAChC,GACD,UAAU,CAAC,kBAAkB,CAAC,CACjC,GAAG;QAAE,UAAU,CAAC,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,aAAa,CAAA;KAAE,CAAC,EAAE,CAAC;IACtD,SAAS,CAAC,EAAE,gBAAgB,CAAC,CAAC,WAAW,GAAG,IAAI,CAAC,EAAE,CAAC,CAAC;CACtD,CAAC;AAuFF;;GAEG;AACH,eAAO,MAAM,OAAO,kJAA4D,CAAC"}
@@ -1,4 +1,4 @@
1
- import { CSSProperties, MutableRefObject } from 'react';
1
+ import React, { CSSProperties, MutableRefObject } from 'react';
2
2
  import type { Attachment } from 'stream-chat';
3
3
  import type { DefaultStreamChatGenerics, Dimensions } from '../../types/types';
4
4
  export type ImageProps<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = {
@@ -17,5 +17,5 @@ export type ImageProps<StreamChatGenerics extends DefaultStreamChatGenerics = De
17
17
  /**
18
18
  * A simple component that displays an image.
19
19
  */
20
- export declare const ImageComponent: <StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>(props: ImageProps<StreamChatGenerics>) => JSX.Element;
20
+ export declare const ImageComponent: <StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>(props: ImageProps<StreamChatGenerics>) => React.JSX.Element;
21
21
  //# sourceMappingURL=Image.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Image.d.ts","sourceRoot":"","sources":["../../../src/components/Gallery/Image.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,aAAa,EAAE,gBAAgB,EAAY,MAAM,OAAO,CAAC;AAQzE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAC9C,OAAO,KAAK,EAAE,yBAAyB,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAE/E,MAAM,MAAM,UAAU,CACp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AkB,CAAC,CACjC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,cAAc,gJAmC1B,CAAC"}
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  import type { Attachment } from 'stream-chat';
2
3
  import type { DefaultStreamChatGenerics } from '../../types/types';
3
4
  export type ModalGalleryProps<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = {
@@ -6,5 +7,5 @@ export type ModalGalleryProps<StreamChatGenerics extends DefaultStreamChatGeneri
6
7
  /** The index for the component */
7
8
  index?: number;
8
9
  };
9
- export declare const ModalGallery: <StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>(props: ModalGalleryProps<StreamChatGenerics>) => JSX.Element;
10
+ export declare const ModalGallery: <StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>(props: ModalGalleryProps<StreamChatGenerics>) => React.JSX.Element;
10
11
  //# sourceMappingURL=ModalGallery.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ModalGallery.d.ts","sourceRoot":"","sources":["../../../src/components/Gallery/ModalGallery.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAC9C,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAC;AAEnE,MAAM,MAAM,iBAAiB,CAC3B,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,IAC9E;IACF,4CAA4C;IAC5C,MAAM,EAAE,UAAU,CAAC,kBAAkB,CAAC,EAAE,CAAC;IACzC,kCAAkC;IAClC,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAYF,eAAO,MAAM,YAAY,iJAgCxB,CAAC"}
1
+ {"version":3,"file":"ModalGallery.d.ts","sourceRoot":"","sources":["../../../src/components/Gallery/ModalGallery.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAKvC,OAAO,KAAK,EAAE,UAAU,EAAE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AE,OAAO,CAAC;CACtB,CAAC;AAEF,eAAO,MAAM,cAAc,UAAW,kBAAkB,mBAAmB,CAAC,uEAyH3E,CAAC"}
1
+ {"version":3,"file":"InfiniteScroll.d.ts","sourceRoot":"","sources":["../../../src/components/InfiniteScrollPaginator/InfiniteScroll.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,iBAAiB,EAAsC,MAAM,OAAO,CAAC;AACrF,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAaxD,MAAM,MAAM,mBAAmB,GAAG,cAAc,GAAG;IACjD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC;IAC5B;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;OAGG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,mHAAmH;IACnH,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,cAAc,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IACpF,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB;;;OAGG;IACH,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;IAC3B,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC;AAEF,eAAO,MAAM,cAAc,UAAW,kBAAkB,mBAAmB,CAAC,uEAqH3E,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { __assign, __rest } from "tslib";
2
- import React, { useCallback, useEffect, useLayoutEffect, useRef } from 'react';
2
+ import React, { useEffect, useLayoutEffect, useRef } from 'react';
3
3
  import { deprecationAndReplacementWarning } from '../../utils/deprecationWarning';
4
4
  /**
5
5
  * Prevents Chrome hangups
@@ -17,7 +17,8 @@ export var InfiniteScroll = function (props) {
17
17
  var hasNextPageFlag = hasNextPage || hasMoreNewer;
18
18
  var hasPreviousPageFlag = hasPreviousPage || hasMore;
19
19
  var scrollComponent = useRef();
20
- var scrollListener = useCallback(function () {
20
+ var scrollListenerRef = useRef();
21
+ scrollListenerRef.current = function () {
21
22
  var element = scrollComponent.current;
22
23
  if (!element || element.offsetParent === null) {
23
24
  return;
@@ -40,15 +41,7 @@ export var InfiniteScroll = function (props) {
40
41
  if (offset < Number(threshold) && typeof loadNextPageFn === 'function' && hasNextPageFlag) {
41
42
  loadNextPageFn();
42
43
  }
43
- }, [
44
- hasPreviousPageFlag,
45
- hasNextPageFlag,
46
- isLoading,
47
- listenToScroll,
48
- loadPreviousPageFn,
49
- loadNextPageFn,
50
- threshold,
51
- ]);
44
+ };
52
45
  useEffect(function () {
53
46
  deprecationAndReplacementWarning([
54
47
  [{ hasMoreNewer: hasMoreNewer }, { hasNextPage: hasNextPage }],
@@ -63,13 +56,15 @@ export var InfiniteScroll = function (props) {
63
56
  var scrollElement = (_a = scrollComponent.current) === null || _a === void 0 ? void 0 : _a.parentNode;
64
57
  if (!scrollElement)
65
58
  return;
59
+ var scrollListener = function () { var _a; return (_a = scrollListenerRef.current) === null || _a === void 0 ? void 0 : _a.call(scrollListenerRef); };
66
60
  scrollElement.addEventListener('scroll', scrollListener, useCapture);
67
61
  scrollElement.addEventListener('resize', scrollListener, useCapture);
62
+ scrollListener();
68
63
  return function () {
69
64
  scrollElement.removeEventListener('scroll', scrollListener, useCapture);
70
65
  scrollElement.removeEventListener('resize', scrollListener, useCapture);
71
66
  };
72
- }, [initialLoad, scrollListener, useCapture]);
67
+ }, [initialLoad, useCapture]);
73
68
  useEffect(function () {
74
69
  var _a;
75
70
  var scrollElement = (_a = scrollComponent.current) === null || _a === void 0 ? void 0 : _a.parentNode;
@@ -10,5 +10,5 @@ export type LoadMoreButtonProps = {
10
10
  */
11
11
  refreshing?: boolean;
12
12
  };
13
- export declare const LoadMoreButton: ({ children, isLoading, onClick, refreshing, }: PropsWithChildren<LoadMoreButtonProps>) => JSX.Element;
13
+ export declare const LoadMoreButton: ({ children, isLoading, onClick, refreshing, }: PropsWithChildren<LoadMoreButtonProps>) => React.JSX.Element;
14
14
  //# sourceMappingURL=LoadMoreButton.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"LoadMoreButton.d.ts","sourceRoot":"","sources":["../../../src/components/LoadMore/LoadMoreButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,iBAAiB,EAAa,MAAM,OAAO,CAAC;AAK5D,MAAM,MAAM,mBAAmB,GAAG;IAChC,6FAA6F;IAC7F,OAAO,EAAE,KAAK,CAAC,iBAAiB,CAAC,iBAAiB,CAAC,CAAC;IACpD,yDAAyD;IACzD,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC;AAiCF,eAAO,MAAM,cAAc,kDA1BxB,kBAAkB,mBAAmB,CAAC,gBA4BL,CAAC"}
1
+ {"version":3,"file":"LoadMoreButton.d.ts","sourceRoot":"","sources":["../../../src/components/LoadMore/LoadMoreButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,iBAAiB,EAAa,MAAM,OAAO,CAAC;AAK5D,MAAM,MAAM,mBAAmB,GAAG;IAChC,6FAA6F;IAC7F,OAAO,EAAE,KAAK,CAAC,iBAAiB,CAAC,iBAAiB,CAAC,CAAC;IACpD,yDAAyD;IACzD,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC;AAiCF,eAAO,MAAM,cAAc,kDA1BxB,kBAAkB,mBAAmB,CAAC,sBA4BL,CAAC"}
@@ -12,6 +12,6 @@ var UnMemoizedLoadMoreButton = function (_a) {
12
12
  // eslint-disable-next-line react-hooks/exhaustive-deps
13
13
  }, []);
14
14
  return (React.createElement("div", { className: 'str-chat__load-more-button' },
15
- React.createElement("button", { "aria-label": 'Load More Channels', className: 'str-chat__load-more-button__button str-chat__cta-button', "data-testid": 'load-more-button', disabled: loading, onClick: onClick }, loading ? React.createElement(LoadingIndicator, null) : childrenOrDefaultString)));
15
+ React.createElement("button", { "aria-label": t('aria/Load More Channels'), className: 'str-chat__load-more-button__button str-chat__cta-button', "data-testid": 'load-more-button', disabled: loading, onClick: onClick }, loading ? React.createElement(LoadingIndicator, null) : childrenOrDefaultString)));
16
16
  };
17
17
  export var LoadMoreButton = React.memo(UnMemoizedLoadMoreButton);
@@ -7,6 +7,6 @@ export type LoadMorePaginatorProps = PaginatorProps & {
7
7
  /** indicates if the `LoadMoreButton` should be displayed at the top of the list of channels instead of the bottom of the list (the default) */
8
8
  reverse?: boolean;
9
9
  };
10
- export declare const UnMemoizedLoadMorePaginator: (props: PropsWithChildren<LoadMorePaginatorProps>) => JSX.Element;
11
- export declare const LoadMorePaginator: (props: PropsWithChildren<LoadMorePaginatorProps>) => JSX.Element;
10
+ export declare const UnMemoizedLoadMorePaginator: (props: PropsWithChildren<LoadMorePaginatorProps>) => React.JSX.Element;
11
+ export declare const LoadMorePaginator: (props: PropsWithChildren<LoadMorePaginatorProps>) => React.JSX.Element;
12
12
  //# sourceMappingURL=LoadMorePaginator.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"LoadMorePaginator.d.ts","sourceRoot":"","sources":["../../../src/components/LoadMore/LoadMorePaginator.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,iBAAiB,EAAa,MAAM,OAAO,CAAC;AAE5D,OAAO,EAA2C,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAChG,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAGxD,MAAM,MAAM,sBAAsB,GAAG,cAAc,GAAG;IACpD,0DAA0D;IAC1D,cAAc,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,mBAAmB,CAAC,CAAC;IAC1D,+IAA+I;IAC/I,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF,eAAO,MAAM,2BAA2B,UAAW,kBAAkB,sBAAsB,CAAC,gBAwB3F,CAAC;AAEF,eAAO,MAAM,iBAAiB,UA1BqB,kBAAkB,sBAAsB,CAAC,gBA4BrD,CAAC"}
1
+ {"version":3,"file":"LoadMorePaginator.d.ts","sourceRoot":"","sources":["../../../src/components/LoadMore/LoadMorePaginator.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,iBAAiB,EAAa,MAAM,OAAO,CAAC;AAE5D,OAAO,EAA2C,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAChG,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAGxD,MAAM,MAAM,sBAAsB,GAAG,cAAc,GAAG;IACpD,0DAA0D;IAC1D,cAAc,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,mBAAmB,CAAC,CAAC;IAC1D,+IAA+I;IAC/I,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF,eAAO,MAAM,2BAA2B,UAAW,kBAAkB,sBAAsB,CAAC,sBAwB3F,CAAC;AAEF,eAAO,MAAM,iBAAiB,UA1BqB,kBAAkB,sBAAsB,CAAC,sBA4BrD,CAAC"}
@@ -2,5 +2,5 @@ import React from 'react';
2
2
  /**
3
3
  * Loading indicator for the ChannelList
4
4
  */
5
- export declare const LoadingChannels: React.MemoExoticComponent<() => JSX.Element>;
5
+ export declare const LoadingChannels: React.MemoExoticComponent<() => React.JSX.Element>;
6
6
  //# sourceMappingURL=LoadingChannels.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"LoadingChannels.d.ts","sourceRoot":"","sources":["../../../src/components/Loading/LoadingChannels.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAoB1B;;GAEG;AACH,eAAO,MAAM,eAAe,8CAAwC,CAAC"}
1
+ {"version":3,"file":"LoadingChannels.d.ts","sourceRoot":"","sources":["../../../src/components/Loading/LoadingChannels.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAoB1B;;GAEG;AACH,eAAO,MAAM,eAAe,oDAAwC,CAAC"}
@@ -1,6 +1,7 @@
1
+ import React from 'react';
1
2
  export type LoadingErrorIndicatorProps = {
2
3
  /** Error object */
3
4
  error?: Error;
4
5
  };
5
- export declare const LoadingErrorIndicator: ({ error }: LoadingErrorIndicatorProps) => JSX.Element | null;
6
+ export declare const LoadingErrorIndicator: ({ error }: LoadingErrorIndicatorProps) => React.JSX.Element | null;
6
7
  //# sourceMappingURL=LoadingErrorIndicator.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"LoadingErrorIndicator.d.ts","sourceRoot":"","sources":["../../../src/components/Loading/LoadingErrorIndicator.tsx"],"names":[],"mappings":"AAIA,MAAM,MAAM,0BAA0B,GAAG;IACvC,mBAAmB;IACnB,KAAK,CAAC,EAAE,KAAK,CAAC;CACf,CAAC;AAiBF,eAAO,MAAM,qBAAqB,cAZkB,0BAA0B,uBAenC,CAAC"}
1
+ {"version":3,"file":"LoadingErrorIndicator.d.ts","sourceRoot":"","sources":["../../../src/components/Loading/LoadingErrorIndicator.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,MAAM,MAAM,0BAA0B,GAAG;IACvC,mBAAmB;IACnB,KAAK,CAAC,EAAE,KAAK,CAAC;CACf,CAAC;AAiBF,eAAO,MAAM,qBAAqB,cAZkB,0BAA0B,6BAenC,CAAC"}
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  export type LoadingIndicatorProps = {
2
3
  /** Set the color of the LoadingIndicator */
3
4
  color?: string;
@@ -7,5 +8,5 @@ export type LoadingIndicatorProps = {
7
8
  /**
8
9
  * Simple loading spinner
9
10
  */
10
- export declare const LoadingIndicator: (props: LoadingIndicatorProps) => JSX.Element;
11
+ export declare const LoadingIndicator: (props: LoadingIndicatorProps) => React.JSX.Element;
11
12
  //# sourceMappingURL=LoadingIndicator.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"LoadingIndicator.d.ts","sourceRoot":"","sources":["../../../src/components/Loading/LoadingIndicator.tsx"],"names":[],"mappings":"AAEA,MAAM,MAAM,qBAAqB,GAAG;IAClC,4CAA4C;IAC5C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,kDAAkD;IAClD,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;AAkCF;;GAEG;AACH,eAAO,MAAM,gBAAgB,UAnCc,qBAAqB,gBAuC1B,CAAC"}
1
+ {"version":3,"file":"LoadingIndicator.d.ts","sourceRoot":"","sources":["../../../src/components/Loading/LoadingIndicator.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,MAAM,qBAAqB,GAAG;IAClC,4CAA4C;IAC5C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,kDAAkD;IAClD,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;AAkCF;;GAEG;AACH,eAAO,MAAM,gBAAgB,UAnCc,qBAAqB,sBAuC1B,CAAC"}
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  import type { ActionHandlerReturnType } from '../Message/hooks/useActionHandler';
2
3
  export type MMLProps = {
3
4
  /** MML source string */
@@ -10,5 +11,5 @@ export type MMLProps = {
10
11
  /**
11
12
  * A wrapper component around MML-React library
12
13
  */
13
- export declare const MML: (props: MMLProps) => JSX.Element;
14
+ export declare const MML: (props: MMLProps) => React.JSX.Element;
14
15
  //# sourceMappingURL=MML.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"MML.d.ts","sourceRoot":"","sources":["../../../src/components/MML/MML.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,mCAAmC,CAAC;AAOjF,MAAM,MAAM,QAAQ,GAAG;IACrB,wBAAwB;IACxB,MAAM,EAAE,MAAM,CAAC;IACf,qCAAqC;IACrC,aAAa,CAAC,EAAE,uBAAuB,CAAC;IACxC,4DAA4D;IAC5D,KAAK,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;CAC1B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,GAAG,UAAW,QAAQ,gBAiBlC,CAAC"}
1
+ {"version":3,"file":"MML.d.ts","sourceRoot":"","sources":["../../../src/components/MML/MML.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAIxC,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,mCAAmC,CAAC;AAOjF,MAAM,MAAM,QAAQ,GAAG;IACrB,wBAAwB;IACxB,MAAM,EAAE,MAAM,CAAC;IACf,qCAAqC;IACrC,aAAa,CAAC,EAAE,uBAAuB,CAAC;IACxC,4DAA4D;IAC5D,KAAK,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;CAC1B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,GAAG,UAAW,QAAQ,sBAiBlC,CAAC"}
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  import type { StreamMessage } from '../../context/ChannelStateContext';
2
3
  import type { DefaultStreamChatGenerics } from '../../types/types';
3
4
  export type FixedHeightMessageProps<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = {
@@ -10,5 +11,5 @@ export type FixedHeightMessageProps<StreamChatGenerics extends DefaultStreamChat
10
11
  * FixedHeightMessage - This component renders a single message.
11
12
  * It uses fixed height elements to make sure it works well in VirtualizedMessageList
12
13
  */
13
- export declare const FixedHeightMessage: <StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>(props: FixedHeightMessageProps<StreamChatGenerics>) => JSX.Element;
14
+ export declare const FixedHeightMessage: <StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>(props: FixedHeightMessageProps<StreamChatGenerics>) => React.JSX.Element;
14
15
  //# sourceMappingURL=FixedHeightMessage.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"FixedHeightMessage.d.ts","sourceRoot":"","sources":["../../../src/components/Message/FixedHeightMessage.tsx"],"names":[],"mappings":"AAoBA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mCAAmC,CAAC;AAEvE,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAC;AAkBnE,MAAM,MAAM,uBAAuB,CACjC,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,IAC9E;IACF,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,OAAO,CAAC,EAAE,aAAa,CAAC,kBAAkB,CAAC,CAAC;CAC7C,CAAC;AAsGF;;;;;GAKG;AACH,eAAO,MAAM,kBAAkB,uJAES,CAAC"}
1
+ {"version":3,"file":"FixedHeightMessage.d.ts","sourceRoot":"","sources":["../../../src/components/Message/FixedHeightMessage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+B,MAAM,OAAO,CAAC;AAoBpD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mCAAmC,CAAC;AAEvE,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAC;AAkBnE,MAAM,MAAM,uBAAuB,CACjC,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,IAC9E;IACF,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,OAAO,CAAC,EAAE,aAAa,CAAC,kBAAkB,CAAC,CAAC;CAC7C,CAAC;AAsGF;;;;;GAKG;AACH,eAAO,MAAM,kBAAkB,6JAES,CAAC"}
@@ -1,8 +1,9 @@
1
+ import React from 'react';
1
2
  import type { MessageProps } from './types';
2
3
  import type { DefaultStreamChatGenerics } from '../../types/types';
3
4
  /**
4
5
  * The Message component is a context provider which implements all the logic required for rendering
5
6
  * an individual message. The actual UI of the message is delegated via the Message prop on Channel.
6
7
  */
7
- export declare const Message: <StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>(props: MessageProps<StreamChatGenerics, import("../../types/types").CustomTrigger>) => JSX.Element;
8
+ export declare const Message: <StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>(props: MessageProps<StreamChatGenerics, import("../../types/types").CustomTrigger>) => React.JSX.Element;
8
9
  //# sourceMappingURL=Message.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Message.d.ts","sourceRoot":"","sources":["../../../src/components/Message/Message.tsx"],"names":[],"mappings":"AA8BA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAC5C,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAC;AAsJnE;;;GAGG;AACH,eAAO,MAAM,OAAO,uLAkInB,CAAC"}
1
+ {"version":3,"file":"Message.d.ts","sourceRoot":"","sources":["../../../src/components/Message/Message.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuC,MAAM,OAAO,CAAC;AA8B5D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAC5C,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAC;AAwJnE;;;GAGG;AACH,eAAO,MAAM,OAAO,6LAsInB,CAAC"}
@@ -66,7 +66,7 @@ var MemoizedMessage = React.memo(MessageWithContext, areMessagePropsEqual);
66
66
  * an individual message. The actual UI of the message is delegated via the Message prop on Channel.
67
67
  */
68
68
  export var Message = function (props) {
69
- var closeReactionSelectorOnClick = props.closeReactionSelectorOnClick, disableQuotedMessages = props.disableQuotedMessages, getDeleteMessageErrorNotification = props.getDeleteMessageErrorNotification, getFetchReactionsErrorNotification = props.getFetchReactionsErrorNotification, getFlagMessageErrorNotification = props.getFlagMessageErrorNotification, getFlagMessageSuccessNotification = props.getFlagMessageSuccessNotification, getMarkMessageUnreadErrorNotification = props.getMarkMessageUnreadErrorNotification, getMarkMessageUnreadSuccessNotification = props.getMarkMessageUnreadSuccessNotification, getMuteUserErrorNotification = props.getMuteUserErrorNotification, getMuteUserSuccessNotification = props.getMuteUserSuccessNotification, getPinMessageErrorNotification = props.getPinMessageErrorNotification, message = props.message, _a = props.onlySenderCanEdit, onlySenderCanEdit = _a === void 0 ? false : _a, propOnMentionsClick = props.onMentionsClick, propOnMentionsHover = props.onMentionsHover, propOpenThread = props.openThread, pinPermissions = props.pinPermissions, propRetrySendMessage = props.retrySendMessage;
69
+ var closeReactionSelectorOnClick = props.closeReactionSelectorOnClick, disableQuotedMessages = props.disableQuotedMessages, getDeleteMessageErrorNotification = props.getDeleteMessageErrorNotification, getFetchReactionsErrorNotification = props.getFetchReactionsErrorNotification, getFlagMessageErrorNotification = props.getFlagMessageErrorNotification, getFlagMessageSuccessNotification = props.getFlagMessageSuccessNotification, getMarkMessageUnreadErrorNotification = props.getMarkMessageUnreadErrorNotification, getMarkMessageUnreadSuccessNotification = props.getMarkMessageUnreadSuccessNotification, getMuteUserErrorNotification = props.getMuteUserErrorNotification, getMuteUserSuccessNotification = props.getMuteUserSuccessNotification, getPinMessageErrorNotification = props.getPinMessageErrorNotification, message = props.message, _a = props.onlySenderCanEdit, onlySenderCanEdit = _a === void 0 ? false : _a, propOnMentionsClick = props.onMentionsClick, propOnMentionsHover = props.onMentionsHover, propOpenThread = props.openThread, pinPermissions = props.pinPermissions, propRetrySendMessage = props.retrySendMessage, sortReactionDetails = props.sortReactionDetails, sortReactions = props.sortReactions;
70
70
  var addNotification = useChannelActionContext('Message').addNotification;
71
71
  var _b = useChannelStateContext('Message'), highlightedMessageId = _b.highlightedMessageId, mutes = _b.mutes;
72
72
  var reactionSelectorRef = useRef(null);
@@ -108,5 +108,5 @@ export var Message = function (props) {
108
108
  }), canPin = _d.canPin, handlePin = _d.handlePin;
109
109
  var _e = useReactionClick(message, reactionSelectorRef, undefined, closeReactionSelectorOnClick), isReactionEnabled = _e.isReactionEnabled, onReactionListClick = _e.onReactionListClick, showDetailedReactions = _e.showDetailedReactions;
110
110
  var highlighted = highlightedMessageId === message.id;
111
- return (React.createElement(MemoizedMessage, { additionalMessageInputProps: props.additionalMessageInputProps, autoscrollToBottom: props.autoscrollToBottom, canPin: canPin, customMessageActions: props.customMessageActions, disableQuotedMessages: props.disableQuotedMessages, endOfGroup: props.endOfGroup, firstOfGroup: props.firstOfGroup, formatDate: props.formatDate, groupedByUser: props.groupedByUser, groupStyles: props.groupStyles, handleAction: handleAction, handleDelete: handleDelete, handleFetchReactions: handleFetchReactions, handleFlag: handleFlag, handleMarkUnread: handleMarkUnread, handleMute: handleMute, handleOpenThread: handleOpenThread, handlePin: handlePin, handleReaction: handleReaction, handleRetry: handleRetry, highlighted: highlighted, initialMessage: props.initialMessage, isReactionEnabled: isReactionEnabled, lastReceivedId: props.lastReceivedId, message: message, Message: props.Message, messageActions: props.messageActions, messageListRect: props.messageListRect, mutes: mutes, onMentionsClickMessage: onMentionsClick, onMentionsHoverMessage: onMentionsHover, onReactionListClick: onReactionListClick, onUserClick: props.onUserClick, onUserHover: props.onUserHover, pinPermissions: props.pinPermissions, reactionSelectorRef: reactionSelectorRef, readBy: props.readBy, renderText: props.renderText, showDetailedReactions: showDetailedReactions, threadList: props.threadList, unsafeHTML: props.unsafeHTML, userRoles: userRoles }));
111
+ return (React.createElement(MemoizedMessage, { additionalMessageInputProps: props.additionalMessageInputProps, autoscrollToBottom: props.autoscrollToBottom, canPin: canPin, customMessageActions: props.customMessageActions, disableQuotedMessages: props.disableQuotedMessages, endOfGroup: props.endOfGroup, firstOfGroup: props.firstOfGroup, formatDate: props.formatDate, groupedByUser: props.groupedByUser, groupStyles: props.groupStyles, handleAction: handleAction, handleDelete: handleDelete, handleFetchReactions: handleFetchReactions, handleFlag: handleFlag, handleMarkUnread: handleMarkUnread, handleMute: handleMute, handleOpenThread: handleOpenThread, handlePin: handlePin, handleReaction: handleReaction, handleRetry: handleRetry, highlighted: highlighted, initialMessage: props.initialMessage, isReactionEnabled: isReactionEnabled, lastReceivedId: props.lastReceivedId, message: message, Message: props.Message, messageActions: props.messageActions, messageListRect: props.messageListRect, mutes: mutes, onMentionsClickMessage: onMentionsClick, onMentionsHoverMessage: onMentionsHover, onReactionListClick: onReactionListClick, onUserClick: props.onUserClick, onUserHover: props.onUserHover, pinPermissions: props.pinPermissions, reactionSelectorRef: reactionSelectorRef, readBy: props.readBy, renderText: props.renderText, showDetailedReactions: showDetailedReactions, sortReactionDetails: sortReactionDetails, sortReactions: sortReactions, threadList: props.threadList, unsafeHTML: props.unsafeHTML, userRoles: userRoles }));
112
112
  };