stream-chat-react 11.8.0 → 11.9.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 (354) hide show
  1. package/dist/{Window-7c2f264c.js → Window-5e0717c0.js} +1275 -132
  2. package/dist/browser.full-bundle.js +1402 -164
  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 +58 -52
  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 +1 -3
  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/LoadMore/LoadMoreButton.d.ts +1 -1
  104. package/dist/components/LoadMore/LoadMoreButton.d.ts.map +1 -1
  105. package/dist/components/LoadMore/LoadMoreButton.js +1 -1
  106. package/dist/components/LoadMore/LoadMorePaginator.d.ts +2 -2
  107. package/dist/components/LoadMore/LoadMorePaginator.d.ts.map +1 -1
  108. package/dist/components/Loading/LoadingChannels.d.ts +1 -1
  109. package/dist/components/Loading/LoadingChannels.d.ts.map +1 -1
  110. package/dist/components/Loading/LoadingErrorIndicator.d.ts +2 -1
  111. package/dist/components/Loading/LoadingErrorIndicator.d.ts.map +1 -1
  112. package/dist/components/Loading/LoadingIndicator.d.ts +2 -1
  113. package/dist/components/Loading/LoadingIndicator.d.ts.map +1 -1
  114. package/dist/components/MML/MML.d.ts +2 -1
  115. package/dist/components/MML/MML.d.ts.map +1 -1
  116. package/dist/components/Message/FixedHeightMessage.d.ts +2 -1
  117. package/dist/components/Message/FixedHeightMessage.d.ts.map +1 -1
  118. package/dist/components/Message/Message.d.ts +2 -1
  119. package/dist/components/Message/Message.d.ts.map +1 -1
  120. package/dist/components/Message/MessageDeleted.d.ts +2 -1
  121. package/dist/components/Message/MessageDeleted.d.ts.map +1 -1
  122. package/dist/components/Message/MessageErrorText.d.ts +2 -2
  123. package/dist/components/Message/MessageErrorText.d.ts.map +1 -1
  124. package/dist/components/Message/MessageOptions.d.ts +1 -1
  125. package/dist/components/Message/MessageOptions.d.ts.map +1 -1
  126. package/dist/components/Message/MessageOptions.js +5 -3
  127. package/dist/components/Message/MessageRepliesCountButton.d.ts +2 -2
  128. package/dist/components/Message/MessageRepliesCountButton.d.ts.map +1 -1
  129. package/dist/components/Message/MessageSimple.d.ts +2 -1
  130. package/dist/components/Message/MessageSimple.d.ts.map +1 -1
  131. package/dist/components/Message/MessageStatus.d.ts +1 -1
  132. package/dist/components/Message/MessageStatus.d.ts.map +1 -1
  133. package/dist/components/Message/MessageText.d.ts +2 -1
  134. package/dist/components/Message/MessageText.d.ts.map +1 -1
  135. package/dist/components/Message/MessageTimestamp.d.ts +2 -1
  136. package/dist/components/Message/MessageTimestamp.d.ts.map +1 -1
  137. package/dist/components/Message/QuotedMessage.d.ts +2 -1
  138. package/dist/components/Message/QuotedMessage.d.ts.map +1 -1
  139. package/dist/components/Message/icons.d.ts +11 -10
  140. package/dist/components/Message/icons.d.ts.map +1 -1
  141. package/dist/components/Message/renderText/componentRenderers/Anchor.d.ts +2 -2
  142. package/dist/components/Message/renderText/componentRenderers/Anchor.d.ts.map +1 -1
  143. package/dist/components/Message/renderText/componentRenderers/Emoji.d.ts +2 -1
  144. package/dist/components/Message/renderText/componentRenderers/Emoji.d.ts.map +1 -1
  145. package/dist/components/Message/renderText/componentRenderers/Mention.d.ts +2 -2
  146. package/dist/components/Message/renderText/componentRenderers/Mention.d.ts.map +1 -1
  147. package/dist/components/Message/renderText/renderText.d.ts +2 -2
  148. package/dist/components/Message/renderText/renderText.d.ts.map +1 -1
  149. package/dist/components/MessageActions/CustomMessageActionsList.d.ts +2 -1
  150. package/dist/components/MessageActions/CustomMessageActionsList.d.ts.map +1 -1
  151. package/dist/components/MessageActions/MessageActions.d.ts +1 -1
  152. package/dist/components/MessageActions/MessageActions.d.ts.map +1 -1
  153. package/dist/components/MessageActions/MessageActions.js +3 -1
  154. package/dist/components/MessageActions/MessageActionsBox.d.ts +1 -1
  155. package/dist/components/MessageActions/MessageActionsBox.d.ts.map +1 -1
  156. package/dist/components/MessageActions/MessageActionsBox.js +1 -1
  157. package/dist/components/MessageBounce/MessageBounceModal.d.ts +2 -2
  158. package/dist/components/MessageBounce/MessageBounceModal.d.ts.map +1 -1
  159. package/dist/components/MessageBounce/MessageBouncePrompt.d.ts +2 -1
  160. package/dist/components/MessageBounce/MessageBouncePrompt.d.ts.map +1 -1
  161. package/dist/components/MessageInput/AttachmentPreviewList.d.ts +3 -2
  162. package/dist/components/MessageInput/AttachmentPreviewList.d.ts.map +1 -1
  163. package/dist/components/MessageInput/CooldownTimer.d.ts +1 -1
  164. package/dist/components/MessageInput/CooldownTimer.d.ts.map +1 -1
  165. package/dist/components/MessageInput/DefaultTriggerProvider.d.ts +1 -1
  166. package/dist/components/MessageInput/DefaultTriggerProvider.d.ts.map +1 -1
  167. package/dist/components/MessageInput/DropzoneProvider.d.ts +1 -1
  168. package/dist/components/MessageInput/DropzoneProvider.d.ts.map +1 -1
  169. package/dist/components/MessageInput/EditMessageForm.d.ts +2 -1
  170. package/dist/components/MessageInput/EditMessageForm.d.ts.map +1 -1
  171. package/dist/components/MessageInput/LinkPreviewList.d.ts +2 -1
  172. package/dist/components/MessageInput/LinkPreviewList.d.ts.map +1 -1
  173. package/dist/components/MessageInput/MessageInput.d.ts +1 -1
  174. package/dist/components/MessageInput/MessageInput.d.ts.map +1 -1
  175. package/dist/components/MessageInput/MessageInputFlat.d.ts +2 -1
  176. package/dist/components/MessageInput/MessageInputFlat.d.ts.map +1 -1
  177. package/dist/components/MessageInput/MessageInputFlat.js +1 -1
  178. package/dist/components/MessageInput/MessageInputSmall.d.ts +2 -1
  179. package/dist/components/MessageInput/MessageInputSmall.d.ts.map +1 -1
  180. package/dist/components/MessageInput/QuotedMessagePreview.d.ts +3 -2
  181. package/dist/components/MessageInput/QuotedMessagePreview.d.ts.map +1 -1
  182. package/dist/components/MessageInput/QuotedMessagePreview.js +1 -1
  183. package/dist/components/MessageInput/UploadsPreview.d.ts +2 -1
  184. package/dist/components/MessageInput/UploadsPreview.d.ts.map +1 -1
  185. package/dist/components/MessageInput/icons.d.ts +14 -14
  186. package/dist/components/MessageInput/icons.d.ts.map +1 -1
  187. package/dist/components/MessageInput/icons.js +2 -1
  188. package/dist/components/MessageList/ConnectionStatus.d.ts +1 -1
  189. package/dist/components/MessageList/ConnectionStatus.d.ts.map +1 -1
  190. package/dist/components/MessageList/CustomNotification.d.ts +2 -2
  191. package/dist/components/MessageList/CustomNotification.d.ts.map +1 -1
  192. package/dist/components/MessageList/GiphyPreviewMessage.d.ts +2 -1
  193. package/dist/components/MessageList/GiphyPreviewMessage.d.ts.map +1 -1
  194. package/dist/components/MessageList/MessageList.d.ts +7 -3
  195. package/dist/components/MessageList/MessageList.d.ts.map +1 -1
  196. package/dist/components/MessageList/MessageList.js +3 -2
  197. package/dist/components/MessageList/MessageListMainPanel.d.ts +2 -1
  198. package/dist/components/MessageList/MessageListMainPanel.d.ts.map +1 -1
  199. package/dist/components/MessageList/MessageListNotifications.d.ts +1 -1
  200. package/dist/components/MessageList/MessageListNotifications.d.ts.map +1 -1
  201. package/dist/components/MessageList/MessageNotification.d.ts +1 -1
  202. package/dist/components/MessageList/MessageNotification.d.ts.map +1 -1
  203. package/dist/components/MessageList/ScrollToBottomButton.d.ts +2 -1
  204. package/dist/components/MessageList/ScrollToBottomButton.d.ts.map +1 -1
  205. package/dist/components/MessageList/ScrollToBottomButton.js +44 -3
  206. package/dist/components/MessageList/UnreadMessagesNotification.d.ts +12 -1
  207. package/dist/components/MessageList/UnreadMessagesNotification.d.ts.map +1 -1
  208. package/dist/components/MessageList/UnreadMessagesNotification.js +4 -2
  209. package/dist/components/MessageList/UnreadMessagesSeparator.d.ts +9 -1
  210. package/dist/components/MessageList/UnreadMessagesSeparator.d.ts.map +1 -1
  211. package/dist/components/MessageList/UnreadMessagesSeparator.js +2 -2
  212. package/dist/components/MessageList/VirtualizedMessageList.d.ts +7 -3
  213. package/dist/components/MessageList/VirtualizedMessageList.d.ts.map +1 -1
  214. package/dist/components/MessageList/VirtualizedMessageList.js +4 -3
  215. package/dist/components/MessageList/VirtualizedMessageListComponents.d.ts +6 -6
  216. package/dist/components/MessageList/VirtualizedMessageListComponents.d.ts.map +1 -1
  217. package/dist/components/MessageList/hooks/MessageList/useUnreadMessagesNotification.d.ts +2 -1
  218. package/dist/components/MessageList/hooks/MessageList/useUnreadMessagesNotification.d.ts.map +1 -1
  219. package/dist/components/MessageList/hooks/MessageList/useUnreadMessagesNotification.js +27 -13
  220. package/dist/components/MessageList/hooks/VirtualizedMessageList/useUnreadMessagesNotificationVirtualized.d.ts +3 -1
  221. package/dist/components/MessageList/hooks/VirtualizedMessageList/useUnreadMessagesNotificationVirtualized.d.ts.map +1 -1
  222. package/dist/components/MessageList/hooks/VirtualizedMessageList/useUnreadMessagesNotificationVirtualized.js +13 -7
  223. package/dist/components/MessageList/hooks/useMarkRead.d.ts +3 -2
  224. package/dist/components/MessageList/hooks/useMarkRead.d.ts.map +1 -1
  225. package/dist/components/MessageList/hooks/useMarkRead.js +65 -11
  226. package/dist/components/MessageList/icons.d.ts +4 -3
  227. package/dist/components/MessageList/icons.d.ts.map +1 -1
  228. package/dist/components/MessageList/renderMessages.d.ts +2 -2
  229. package/dist/components/MessageList/renderMessages.d.ts.map +1 -1
  230. package/dist/components/Modal/Modal.d.ts +1 -1
  231. package/dist/components/Modal/Modal.d.ts.map +1 -1
  232. package/dist/components/Modal/Modal.js +9 -7
  233. package/dist/components/Modal/icons.d.ts +2 -1
  234. package/dist/components/Modal/icons.d.ts.map +1 -1
  235. package/dist/components/ReactFileUtilities/FileIcon/FileIcon.d.ts +1 -1
  236. package/dist/components/ReactFileUtilities/FileIcon/FileIcon.d.ts.map +1 -1
  237. package/dist/components/ReactFileUtilities/FileIcon/FileIconSet/v1.d.ts +12 -12
  238. package/dist/components/ReactFileUtilities/FileIcon/FileIconSet/v1.d.ts.map +1 -1
  239. package/dist/components/ReactFileUtilities/FileIcon/FileIconSet/v2.d.ts +18 -18
  240. package/dist/components/ReactFileUtilities/FileIcon/FileIconSet/v2.d.ts.map +1 -1
  241. package/dist/components/ReactFileUtilities/FilePreviewer.d.ts +2 -1
  242. package/dist/components/ReactFileUtilities/FilePreviewer.d.ts.map +1 -1
  243. package/dist/components/ReactFileUtilities/FileUploadButton.d.ts +2 -2
  244. package/dist/components/ReactFileUtilities/FileUploadButton.d.ts.map +1 -1
  245. package/dist/components/ReactFileUtilities/FileUploadButton.js +3 -1
  246. package/dist/components/ReactFileUtilities/IconButton.d.ts +2 -2
  247. package/dist/components/ReactFileUtilities/IconButton.d.ts.map +1 -1
  248. package/dist/components/ReactFileUtilities/IconButton.js +3 -1
  249. package/dist/components/ReactFileUtilities/ImageDropzone.d.ts +2 -2
  250. package/dist/components/ReactFileUtilities/ImageDropzone.d.ts.map +1 -1
  251. package/dist/components/ReactFileUtilities/ImagePreviewer.d.ts +2 -2
  252. package/dist/components/ReactFileUtilities/ImagePreviewer.d.ts.map +1 -1
  253. package/dist/components/ReactFileUtilities/ImagePreviewer.js +3 -1
  254. package/dist/components/ReactFileUtilities/ImageUploadButton.d.ts +2 -2
  255. package/dist/components/ReactFileUtilities/ImageUploadButton.d.ts.map +1 -1
  256. package/dist/components/ReactFileUtilities/ImageUploadButton.js +3 -1
  257. package/dist/components/ReactFileUtilities/LoadingIndicator.d.ts +2 -1
  258. package/dist/components/ReactFileUtilities/LoadingIndicator.d.ts.map +1 -1
  259. package/dist/components/ReactFileUtilities/Thumbnail.d.ts +2 -2
  260. package/dist/components/ReactFileUtilities/Thumbnail.d.ts.map +1 -1
  261. package/dist/components/ReactFileUtilities/ThumbnailPlaceholder.d.ts +2 -1
  262. package/dist/components/ReactFileUtilities/ThumbnailPlaceholder.d.ts.map +1 -1
  263. package/dist/components/ReactFileUtilities/UploadButton.d.ts +2 -2
  264. package/dist/components/ReactFileUtilities/UploadButton.d.ts.map +1 -1
  265. package/dist/components/ReactFileUtilities/icons/AttachmentIcon.d.ts +2 -1
  266. package/dist/components/ReactFileUtilities/icons/AttachmentIcon.d.ts.map +1 -1
  267. package/dist/components/ReactFileUtilities/icons/CloseIcon.d.ts +2 -1
  268. package/dist/components/ReactFileUtilities/icons/CloseIcon.d.ts.map +1 -1
  269. package/dist/components/ReactFileUtilities/icons/FilePlaceholderIcon.d.ts +2 -2
  270. package/dist/components/ReactFileUtilities/icons/FilePlaceholderIcon.d.ts.map +1 -1
  271. package/dist/components/ReactFileUtilities/icons/PictureIcon.d.ts +2 -1
  272. package/dist/components/ReactFileUtilities/icons/PictureIcon.d.ts.map +1 -1
  273. package/dist/components/ReactFileUtilities/icons/RetryIcon.d.ts +2 -1
  274. package/dist/components/ReactFileUtilities/icons/RetryIcon.d.ts.map +1 -1
  275. package/dist/components/Reactions/ReactionsList.d.ts +2 -1
  276. package/dist/components/Reactions/ReactionsList.d.ts.map +1 -1
  277. package/dist/components/Reactions/ReactionsList.js +3 -1
  278. package/dist/components/Reactions/ReactionsListModal.d.ts +2 -2
  279. package/dist/components/Reactions/ReactionsListModal.d.ts.map +1 -1
  280. package/dist/components/Reactions/ReactionsListModal.js +2 -2
  281. package/dist/components/Reactions/SimpleReactionsList.d.ts +2 -1
  282. package/dist/components/Reactions/SimpleReactionsList.d.ts.map +1 -1
  283. package/dist/components/Reactions/SpriteImage.d.ts +2 -1
  284. package/dist/components/Reactions/SpriteImage.d.ts.map +1 -1
  285. package/dist/components/Reactions/SpriteImage.js +3 -17
  286. package/dist/components/Reactions/StreamEmoji.d.ts +1 -1
  287. package/dist/components/Reactions/StreamEmoji.d.ts.map +1 -1
  288. package/dist/components/Reactions/StreamEmoji.js +3 -1
  289. package/dist/components/Reactions/hooks/useFetchReactions.js +2 -2
  290. package/dist/components/SafeAnchor/SafeAnchor.d.ts +2 -2
  291. package/dist/components/SafeAnchor/SafeAnchor.d.ts.map +1 -1
  292. package/dist/components/SafeAnchor/SafeAnchor.js +3 -1
  293. package/dist/components/Thread/Thread.d.ts +1 -1
  294. package/dist/components/Thread/Thread.d.ts.map +1 -1
  295. package/dist/components/Thread/ThreadHead.d.ts +2 -1
  296. package/dist/components/Thread/ThreadHead.d.ts.map +1 -1
  297. package/dist/components/Thread/ThreadHeader.d.ts +1 -1
  298. package/dist/components/Thread/ThreadHeader.d.ts.map +1 -1
  299. package/dist/components/Thread/ThreadHeader.js +1 -1
  300. package/dist/components/Thread/ThreadStart.d.ts +2 -1
  301. package/dist/components/Thread/ThreadStart.d.ts.map +1 -1
  302. package/dist/components/Thread/icons.d.ts +2 -1
  303. package/dist/components/Thread/icons.d.ts.map +1 -1
  304. package/dist/components/Tooltip/Tooltip.d.ts +2 -2
  305. package/dist/components/Tooltip/Tooltip.d.ts.map +1 -1
  306. package/dist/components/TypingIndicator/TypingIndicator.d.ts +1 -1
  307. package/dist/components/TypingIndicator/TypingIndicator.d.ts.map +1 -1
  308. package/dist/components/UserItem/UserItem.d.ts +1 -1
  309. package/dist/components/UserItem/UserItem.d.ts.map +1 -1
  310. package/dist/components/Window/Window.d.ts +1 -1
  311. package/dist/components/Window/Window.d.ts.map +1 -1
  312. package/dist/context/ChannelActionContext.d.ts +4 -3
  313. package/dist/context/ChannelActionContext.d.ts.map +1 -1
  314. package/dist/context/ChannelListContext.d.ts +1 -1
  315. package/dist/context/ChannelListContext.d.ts.map +1 -1
  316. package/dist/context/ChannelStateContext.d.ts +2 -2
  317. package/dist/context/ChannelStateContext.d.ts.map +1 -1
  318. package/dist/context/ChatContext.d.ts +2 -2
  319. package/dist/context/ChatContext.d.ts.map +1 -1
  320. package/dist/context/ComponentContext.d.ts +2 -2
  321. package/dist/context/ComponentContext.d.ts.map +1 -1
  322. package/dist/context/MessageBounceContext.d.ts +2 -2
  323. package/dist/context/MessageBounceContext.d.ts.map +1 -1
  324. package/dist/context/MessageContext.d.ts +2 -2
  325. package/dist/context/MessageContext.d.ts.map +1 -1
  326. package/dist/context/MessageInputContext.d.ts +1 -1
  327. package/dist/context/MessageInputContext.d.ts.map +1 -1
  328. package/dist/context/MessageListContext.d.ts +1 -1
  329. package/dist/context/MessageListContext.d.ts.map +1 -1
  330. package/dist/context/TranslationContext.d.ts +2 -2
  331. package/dist/context/TranslationContext.d.ts.map +1 -1
  332. package/dist/context/TypingContext.d.ts +2 -2
  333. package/dist/context/TypingContext.d.ts.map +1 -1
  334. package/dist/css/v2/index.css +1 -1
  335. package/dist/css/v2/index.layout.css +1 -1
  336. package/dist/i18n/Streami18n.d.ts +19 -0
  337. package/dist/i18n/Streami18n.d.ts.map +1 -1
  338. package/dist/i18n/de.json +19 -0
  339. package/dist/i18n/en.json +19 -0
  340. package/dist/i18n/es.json +19 -0
  341. package/dist/i18n/fr.json +19 -0
  342. package/dist/i18n/hi.json +19 -0
  343. package/dist/i18n/it.json +19 -0
  344. package/dist/i18n/ja.json +19 -0
  345. package/dist/i18n/ko.json +19 -0
  346. package/dist/i18n/nl.json +19 -0
  347. package/dist/i18n/pt.json +19 -0
  348. package/dist/i18n/ru.json +19 -0
  349. package/dist/i18n/tr.json +19 -0
  350. package/dist/index.cjs.js +117 -40
  351. package/dist/scss/v2/MessageReactions/MessageReactions-layout.scss +15 -1
  352. package/dist/version.d.ts +1 -1
  353. package/dist/version.js +1 -1
  354. package/package.json +7 -6
@@ -2,22 +2,22 @@
2
2
  * Font Awesome Free 5.15.3 by @fontawesome - https://fontawesome.com
3
3
  * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
4
4
  */
5
- import { ComponentPropsWithoutRef } from 'react';
5
+ import React, { ComponentPropsWithoutRef } from 'react';
6
6
  export type IconPropsV1 = {
7
7
  size?: number;
8
8
  } & ComponentPropsWithoutRef<'svg'>;
9
- export declare const FilePdfIcon: ({ size, ...props }: IconPropsV1) => JSX.Element;
10
- export declare const FileWordIcon: ({ size, ...props }: IconPropsV1) => JSX.Element;
9
+ export declare const FilePdfIcon: ({ size, ...props }: IconPropsV1) => React.JSX.Element;
10
+ export declare const FileWordIcon: ({ size, ...props }: IconPropsV1) => React.JSX.Element;
11
11
  export declare const FilePowerPointIcon: ({ size, ...props }: {
12
12
  [x: string]: any;
13
13
  size?: number | undefined;
14
- }) => JSX.Element;
15
- export declare const FileExcelIcon: ({ size, ...props }: IconPropsV1) => JSX.Element;
16
- export declare const FileArchiveIcon: ({ size, ...props }: IconPropsV1) => JSX.Element;
17
- export declare const FileCodeIcon: ({ size, ...props }: IconPropsV1) => JSX.Element;
18
- export declare const FileAudioIcon: ({ size, ...props }: IconPropsV1) => JSX.Element;
19
- export declare const FileVideoIcon: ({ size, ...props }: IconPropsV1) => JSX.Element;
20
- export declare const FileImageIcon: ({ size, ...props }: IconPropsV1) => JSX.Element;
21
- export declare const FileAltIcon: ({ size, ...props }: IconPropsV1) => JSX.Element;
22
- export declare const FileFallbackIcon: ({ size, ...props }: IconPropsV1) => JSX.Element;
14
+ }) => React.JSX.Element;
15
+ export declare const FileExcelIcon: ({ size, ...props }: IconPropsV1) => React.JSX.Element;
16
+ export declare const FileArchiveIcon: ({ size, ...props }: IconPropsV1) => React.JSX.Element;
17
+ export declare const FileCodeIcon: ({ size, ...props }: IconPropsV1) => React.JSX.Element;
18
+ export declare const FileAudioIcon: ({ size, ...props }: IconPropsV1) => React.JSX.Element;
19
+ export declare const FileVideoIcon: ({ size, ...props }: IconPropsV1) => React.JSX.Element;
20
+ export declare const FileImageIcon: ({ size, ...props }: IconPropsV1) => React.JSX.Element;
21
+ export declare const FileAltIcon: ({ size, ...props }: IconPropsV1) => React.JSX.Element;
22
+ export declare const FileFallbackIcon: ({ size, ...props }: IconPropsV1) => React.JSX.Element;
23
23
  //# sourceMappingURL=v1.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"v1.d.ts","sourceRoot":"","sources":["../../../../../src/components/ReactFileUtilities/FileIcon/FileIconSet/v1.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAc,EAAE,wBAAwB,EAAE,MAAM,OAAO,CAAC;AAExD,MAAM,MAAM,WAAW,GAAG;IAAE,IAAI,CAAC,EAAE,MAAM,CAAA;CAAE,GAAG,wBAAwB,CAAC,KAAK,CAAC,CAAC;AAI9E,eAAO,MAAM,WAAW,uBAAuC,WAAW,gBAczE,CAAC;AAEF,eAAO,MAAM,YAAY,uBAAuC,WAAW,gBAc1E,CAAC;AAEF,eAAO,MAAM,kBAAkB;;;iBAc9B,CAAC;AAEF,eAAO,MAAM,aAAa,uBAAuC,WAAW,gBAc3E,CAAC;AAEF,eAAO,MAAM,eAAe,uBAAuC,WAAW,gBAc7E,CAAC;AAEF,eAAO,MAAM,YAAY,uBAAuC,WAAW,gBAc1E,CAAC;AAEF,eAAO,MAAM,aAAa,uBAAuC,WAAW,gBAc3E,CAAC;AAEF,eAAO,MAAM,aAAa,uBAAuC,WAAW,gBAc3E,CAAC;AAEF,eAAO,MAAM,aAAa,uBAAuC,WAAW,gBAc3E,CAAC;AAEF,eAAO,MAAM,WAAW,uBAAuC,WAAW,gBAczE,CAAC;AAEF,eAAO,MAAM,gBAAgB,uBAAuC,WAAW,gBAc9E,CAAC"}
1
+ {"version":3,"file":"v1.d.ts","sourceRoot":"","sources":["../../../../../src/components/ReactFileUtilities/FileIcon/FileIconSet/v1.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,KAAK,EAAE,EAAE,wBAAwB,EAAE,MAAM,OAAO,CAAC;AAExD,MAAM,MAAM,WAAW,GAAG;IAAE,IAAI,CAAC,EAAE,MAAM,CAAA;CAAE,GAAG,wBAAwB,CAAC,KAAK,CAAC,CAAC;AAI9E,eAAO,MAAM,WAAW,uBAAuC,WAAW,sBAczE,CAAC;AAEF,eAAO,MAAM,YAAY,uBAAuC,WAAW,sBAc1E,CAAC;AAEF,eAAO,MAAM,kBAAkB;;;uBAc9B,CAAC;AAEF,eAAO,MAAM,aAAa,uBAAuC,WAAW,sBAc3E,CAAC;AAEF,eAAO,MAAM,eAAe,uBAAuC,WAAW,sBAc7E,CAAC;AAEF,eAAO,MAAM,YAAY,uBAAuC,WAAW,sBAc1E,CAAC;AAEF,eAAO,MAAM,aAAa,uBAAuC,WAAW,sBAc3E,CAAC;AAEF,eAAO,MAAM,aAAa,uBAAuC,WAAW,sBAc3E,CAAC;AAEF,eAAO,MAAM,aAAa,uBAAuC,WAAW,sBAc3E,CAAC;AAEF,eAAO,MAAM,WAAW,uBAAuC,WAAW,sBAczE,CAAC;AAEF,eAAO,MAAM,gBAAgB,uBAAuC,WAAW,sBAc9E,CAAC"}
@@ -1,25 +1,25 @@
1
- import { ComponentPropsWithoutRef } from 'react';
1
+ import React, { ComponentPropsWithoutRef } from 'react';
2
2
  export type IconTypeV2 = 'standard' | 'alt';
3
3
  export type IconPropsV2 = {
4
4
  mimeType?: string;
5
5
  size?: number;
6
6
  type?: IconTypeV2;
7
7
  } & ComponentPropsWithoutRef<'svg'>;
8
- export declare const FilePdfIcon: ({ className, size, ...props }: IconPropsV2) => JSX.Element;
9
- export declare const FileWordIcon: ({ className, size, ...props }: IconPropsV2) => JSX.Element;
10
- export declare const FileWordIconAlt: ({ className, size, ...props }: IconPropsV2) => JSX.Element;
11
- export declare const FilePowerPointIcon: ({ className, size, ...props }: IconPropsV2) => JSX.Element;
12
- export declare const FilePowerPointIconAlt: ({ className, size, ...props }: IconPropsV2) => JSX.Element;
13
- export declare const FileExcelIcon: ({ className, size, ...props }: IconPropsV2) => JSX.Element;
14
- export declare const FileExcelIconAlt: ({ className, size, ...props }: IconPropsV2) => JSX.Element;
15
- export declare const FileArchiveIcon: ({ className, size, ...props }: IconPropsV2) => JSX.Element;
16
- export declare const FileArchiveIconAlt: ({ className, size, ...props }: IconPropsV2) => JSX.Element;
17
- export declare const FileCodeIcon: ({ className, size, ...props }: IconPropsV2) => JSX.Element;
18
- export declare const FileCodeIconAlt: ({ className, size, ...props }: IconPropsV2) => JSX.Element;
19
- export declare const FileAudioIcon: ({ className, size, ...props }: IconPropsV2) => JSX.Element;
20
- export declare const FileAudioIconAlt: ({ className, size, ...props }: IconPropsV2) => JSX.Element;
21
- export declare const FileVideoIcon: ({ className, size, ...props }: IconPropsV2) => JSX.Element;
22
- export declare const FileVideoIconAlt: ({ className, size, ...props }: IconPropsV2) => JSX.Element;
23
- export declare const FileFallbackIcon: ({ className, size, ...props }: IconPropsV2) => JSX.Element;
24
- export declare const FileImageIcon: ({ className, size, ...props }: IconPropsV2) => JSX.Element;
8
+ export declare const FilePdfIcon: ({ className, size, ...props }: IconPropsV2) => React.JSX.Element;
9
+ export declare const FileWordIcon: ({ className, size, ...props }: IconPropsV2) => React.JSX.Element;
10
+ export declare const FileWordIconAlt: ({ className, size, ...props }: IconPropsV2) => React.JSX.Element;
11
+ export declare const FilePowerPointIcon: ({ className, size, ...props }: IconPropsV2) => React.JSX.Element;
12
+ export declare const FilePowerPointIconAlt: ({ className, size, ...props }: IconPropsV2) => React.JSX.Element;
13
+ export declare const FileExcelIcon: ({ className, size, ...props }: IconPropsV2) => React.JSX.Element;
14
+ export declare const FileExcelIconAlt: ({ className, size, ...props }: IconPropsV2) => React.JSX.Element;
15
+ export declare const FileArchiveIcon: ({ className, size, ...props }: IconPropsV2) => React.JSX.Element;
16
+ export declare const FileArchiveIconAlt: ({ className, size, ...props }: IconPropsV2) => React.JSX.Element;
17
+ export declare const FileCodeIcon: ({ className, size, ...props }: IconPropsV2) => React.JSX.Element;
18
+ export declare const FileCodeIconAlt: ({ className, size, ...props }: IconPropsV2) => React.JSX.Element;
19
+ export declare const FileAudioIcon: ({ className, size, ...props }: IconPropsV2) => React.JSX.Element;
20
+ export declare const FileAudioIconAlt: ({ className, size, ...props }: IconPropsV2) => React.JSX.Element;
21
+ export declare const FileVideoIcon: ({ className, size, ...props }: IconPropsV2) => React.JSX.Element;
22
+ export declare const FileVideoIconAlt: ({ className, size, ...props }: IconPropsV2) => React.JSX.Element;
23
+ export declare const FileFallbackIcon: ({ className, size, ...props }: IconPropsV2) => React.JSX.Element;
24
+ export declare const FileImageIcon: ({ className, size, ...props }: IconPropsV2) => React.JSX.Element;
25
25
  //# sourceMappingURL=v2.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"v2.d.ts","sourceRoot":"","sources":["../../../../../src/components/ReactFileUtilities/FileIcon/FileIconSet/v2.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,wBAAwB,EAAE,MAAM,OAAO,CAAC;AAExD,MAAM,MAAM,UAAU,GAAG,UAAU,GAAG,KAAK,CAAC;AAE5C,MAAM,MAAM,WAAW,GAAG;IACxB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,UAAU,CAAC;CACnB,GAAG,wBAAwB,CAAC,KAAK,CAAC,CAAC;AAIpC,eAAO,MAAM,WAAW,kCAAuD,WAAW,gBA8BzF,CAAC;AAEF,eAAO,MAAM,YAAY,kCAAuD,WAAW,gBAoB1F,CAAC;AAEF,eAAO,MAAM,eAAe,kCAAuD,WAAW,gBAgC7F,CAAC;AAEF,eAAO,MAAM,kBAAkB,kCAI5B,WAAW,gBA6Bb,CAAC;AAEF,eAAO,MAAM,qBAAqB,kCAI/B,WAAW,gBAmCb,CAAC;AAEF,eAAO,MAAM,aAAa,kCAAuD,WAAW,gBA6B3F,CAAC;AAEF,eAAO,MAAM,gBAAgB,kCAI1B,WAAW,gBAmCb,CAAC;AAEF,eAAO,MAAM,eAAe,kCAAuD,WAAW,gBA6B7F,CAAC;AAEF,eAAO,MAAM,kBAAkB,kCAI5B,WAAW,gBAmCb,CAAC;AAEF,eAAO,MAAM,YAAY,kCAAuD,WAAW,gBAuB1F,CAAC;AAEF,eAAO,MAAM,eAAe,kCAAuD,WAAW,gBAmC7F,CAAC;AAEF,eAAO,MAAM,aAAa,kCAAuD,WAAW,gBA6B3F,CAAC;AAEF,eAAO,MAAM,gBAAgB,kCAI1B,WAAW,gBAmCb,CAAC;AAEF,eAAO,MAAM,aAAa,kCAAuD,WAAW,gBA2B3F,CAAC;AAEF,eAAO,MAAM,gBAAgB,kCAI1B,WAAW,gBAiCb,CAAC;AAEF,eAAO,MAAM,gBAAgB,kCAI1B,WAAW,gBAgCb,CAAC;AAGF,eAAO,MAAM,aAAa,kCAAuD,WAAW,gBAc3F,CAAC"}
1
+ {"version":3,"file":"v2.d.ts","sourceRoot":"","sources":["../../../../../src/components/ReactFileUtilities/FileIcon/FileIconSet/v2.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,wBAAwB,EAAE,MAAM,OAAO,CAAC;AAExD,MAAM,MAAM,UAAU,GAAG,UAAU,GAAG,KAAK,CAAC;AAE5C,MAAM,MAAM,WAAW,GAAG;IACxB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,UAAU,CAAC;CACnB,GAAG,wBAAwB,CAAC,KAAK,CAAC,CAAC;AAIpC,eAAO,MAAM,WAAW,kCAAuD,WAAW,sBA8BzF,CAAC;AAEF,eAAO,MAAM,YAAY,kCAAuD,WAAW,sBAoB1F,CAAC;AAEF,eAAO,MAAM,eAAe,kCAAuD,WAAW,sBAgC7F,CAAC;AAEF,eAAO,MAAM,kBAAkB,kCAI5B,WAAW,sBA6Bb,CAAC;AAEF,eAAO,MAAM,qBAAqB,kCAI/B,WAAW,sBAmCb,CAAC;AAEF,eAAO,MAAM,aAAa,kCAAuD,WAAW,sBA6B3F,CAAC;AAEF,eAAO,MAAM,gBAAgB,kCAI1B,WAAW,sBAmCb,CAAC;AAEF,eAAO,MAAM,eAAe,kCAAuD,WAAW,sBA6B7F,CAAC;AAEF,eAAO,MAAM,kBAAkB,kCAI5B,WAAW,sBAmCb,CAAC;AAEF,eAAO,MAAM,YAAY,kCAAuD,WAAW,sBAuB1F,CAAC;AAEF,eAAO,MAAM,eAAe,kCAAuD,WAAW,sBAmC7F,CAAC;AAEF,eAAO,MAAM,aAAa,kCAAuD,WAAW,sBA6B3F,CAAC;AAEF,eAAO,MAAM,gBAAgB,kCAI1B,WAAW,sBAmCb,CAAC;AAEF,eAAO,MAAM,aAAa,kCAAuD,WAAW,sBA2B3F,CAAC;AAEF,eAAO,MAAM,gBAAgB,kCAI1B,WAAW,sBAiCb,CAAC;AAEF,eAAO,MAAM,gBAAgB,kCAI1B,WAAW,sBAgCb,CAAC;AAGF,eAAO,MAAM,aAAa,kCAAuD,WAAW,sBAc3F,CAAC"}
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  import type { FileUpload } from './types';
2
3
  import type { FileIconProps } from './FileIcon/FileIcon';
3
4
  export type FilePreviewerProps = {
@@ -10,5 +11,5 @@ export type FilePreviewerProps = {
10
11
  /**
11
12
  * Component that displays files which are being uploaded
12
13
  */
13
- export declare const FilePreviewer: ({ fileIconProps, uploads, handleRemove, handleRetry, }: FilePreviewerProps) => JSX.Element;
14
+ export declare const FilePreviewer: ({ fileIconProps, uploads, handleRemove, handleRetry, }: FilePreviewerProps) => React.JSX.Element;
14
15
  //# sourceMappingURL=FilePreviewer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"FilePreviewer.d.ts","sourceRoot":"","sources":["../../../src/components/ReactFileUtilities/FilePreviewer.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAC1C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAEzD,MAAM,MAAM,kBAAkB,GAAG;IAC/B,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,QAAQ,KAAK,IAAI,CAAC;IACxC,YAAY,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IACpC,WAAW,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,OAAO,CAAC,EAAE,UAAU,EAAE,CAAC;CACxB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,aAAa,2DAKvB,kBAAkB,gBA2CpB,CAAC"}
1
+ {"version":3,"file":"FilePreviewer.d.ts","sourceRoot":"","sources":["../../../src/components/ReactFileUtilities/FilePreviewer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAC1C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAEzD,MAAM,MAAM,kBAAkB,GAAG;IAC/B,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,QAAQ,KAAK,IAAI,CAAC;IACxC,YAAY,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IACpC,WAAW,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,OAAO,CAAC,EAAE,UAAU,EAAE,CAAC;CACxB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,aAAa,2DAKvB,kBAAkB,sBA2CpB,CAAC"}
@@ -1,4 +1,4 @@
1
- import { PropsWithChildren } from 'react';
1
+ import React, { PropsWithChildren } from 'react';
2
2
  export type FileUploadButtonProps = {
3
3
  handleFiles: (files: FileList | File[]) => void;
4
4
  accepts?: string | string[];
@@ -9,5 +9,5 @@ export type FileUploadButtonProps = {
9
9
  /**
10
10
  * @deprecated will be removed in the next major release
11
11
  */
12
- export declare const FileUploadButton: ({ disabled, multiple, children, handleFiles, accepts, resetOnChange, }: PropsWithChildren<FileUploadButtonProps>) => JSX.Element;
12
+ export declare const FileUploadButton: ({ disabled, multiple, children, handleFiles, accepts, resetOnChange, }: PropsWithChildren<FileUploadButtonProps>) => React.JSX.Element;
13
13
  //# sourceMappingURL=FileUploadButton.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"FileUploadButton.d.ts","sourceRoot":"","sources":["../../../src/components/ReactFileUtilities/FileUploadButton.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAKjD,MAAM,MAAM,qBAAqB,GAAG;IAClC,WAAW,EAAE,CAAC,KAAK,EAAE,QAAQ,GAAG,IAAI,EAAE,KAAK,IAAI,CAAC;IAChD,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IAC5B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,gBAAgB,2EAO1B,kBAAkB,qBAAqB,CAAC,gBAsB1C,CAAC"}
1
+ {"version":3,"file":"FileUploadButton.d.ts","sourceRoot":"","sources":["../../../src/components/ReactFileUtilities/FileUploadButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAMjD,MAAM,MAAM,qBAAqB,GAAG;IAClC,WAAW,EAAE,CAAC,KAAK,EAAE,QAAQ,GAAG,IAAI,EAAE,KAAK,IAAI,CAAC;IAChD,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IAC5B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,gBAAgB,2EAO1B,kBAAkB,qBAAqB,CAAC,sBAuB1C,CAAC"}
@@ -1,17 +1,19 @@
1
1
  import React from 'react';
2
2
  import { AttachmentIcon } from './icons';
3
3
  import { UploadButton } from './UploadButton';
4
+ import { useTranslationContext } from '../../context';
4
5
  /**
5
6
  * @deprecated will be removed in the next major release
6
7
  */
7
8
  export var FileUploadButton = function (_a) {
8
9
  var _b = _a.disabled, disabled = _b === void 0 ? false : _b, _c = _a.multiple, multiple = _c === void 0 ? false : _c, _d = _a.children, children = _d === void 0 ? React.createElement(AttachmentIcon, null) : _d, handleFiles = _a.handleFiles, accepts = _a.accepts, _e = _a.resetOnChange, resetOnChange = _e === void 0 ? true : _e;
10
+ var t = useTranslationContext('FileUploadButton').t;
9
11
  var className = 'rfu-file-upload-button';
10
12
  if (disabled) {
11
13
  className = "".concat(className, " rfu-file-upload-button--disabled");
12
14
  }
13
15
  return (React.createElement("div", { className: className },
14
16
  React.createElement("label", null,
15
- React.createElement(UploadButton, { accept: Array.isArray(accepts) ? accepts.join(',') : accepts, "aria-label": 'File input', className: 'rfu-file-input', disabled: disabled, multiple: multiple, onFileChange: handleFiles, resetOnChange: resetOnChange }),
17
+ React.createElement(UploadButton, { accept: Array.isArray(accepts) ? accepts.join(',') : accepts, "aria-label": t('aria/File input'), className: 'rfu-file-input', disabled: disabled, multiple: multiple, onFileChange: handleFiles, resetOnChange: resetOnChange }),
16
18
  children)));
17
19
  };
@@ -1,9 +1,9 @@
1
- import { MouseEventHandler, PropsWithChildren } from 'react';
1
+ import React, { MouseEventHandler, PropsWithChildren } from 'react';
2
2
  export type IconButtonProps = {
3
3
  onClick?: MouseEventHandler<HTMLButtonElement>;
4
4
  };
5
5
  /**
6
6
  * This is simply a button wrapper, adds a div with `role="button"` and a onClick
7
7
  */
8
- export declare const IconButton: ({ children, onClick }: PropsWithChildren<IconButtonProps>) => JSX.Element;
8
+ export declare const IconButton: ({ children, onClick }: PropsWithChildren<IconButtonProps>) => React.JSX.Element;
9
9
  //# sourceMappingURL=IconButton.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"IconButton.d.ts","sourceRoot":"","sources":["../../../src/components/ReactFileUtilities/IconButton.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAEpE,MAAM,MAAM,eAAe,GAAG;IAC5B,OAAO,CAAC,EAAE,iBAAiB,CAAC,iBAAiB,CAAC,CAAC;CAChD,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,UAAU,0BAA2B,kBAAkB,eAAe,CAAC,gBAUnF,CAAC"}
1
+ {"version":3,"file":"IconButton.d.ts","sourceRoot":"","sources":["../../../src/components/ReactFileUtilities/IconButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAGpE,MAAM,MAAM,eAAe,GAAG;IAC5B,OAAO,CAAC,EAAE,iBAAiB,CAAC,iBAAiB,CAAC,CAAC;CAChD,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,UAAU,0BAA2B,kBAAkB,eAAe,CAAC,sBAanF,CAAC"}
@@ -1,8 +1,10 @@
1
1
  import React from 'react';
2
+ import { useTranslationContext } from '../../context';
2
3
  /**
3
4
  * This is simply a button wrapper, adds a div with `role="button"` and a onClick
4
5
  */
5
6
  export var IconButton = function (_a) {
6
7
  var children = _a.children, onClick = _a.onClick;
7
- return (React.createElement("button", { "aria-label": 'Cancel upload', className: 'rfu-icon-button', "data-testid": 'cancel-upload-button', onClick: onClick, type: 'button' }, children));
8
+ var t = useTranslationContext('IconButton').t;
9
+ return (React.createElement("button", { "aria-label": t('aria/Cancel upload'), className: 'rfu-icon-button', "data-testid": 'cancel-upload-button', onClick: onClick, type: 'button' }, children));
8
10
  };
@@ -1,4 +1,4 @@
1
- import { PropsWithChildren } from 'react';
1
+ import React, { PropsWithChildren } from 'react';
2
2
  export type ImageDropzoneProps = {
3
3
  /**
4
4
  * Set accepted file types. See https://github.com/okonet/attr-accept for more information. Keep in mind that mime type determination is not reliable across platforms. CSV files, for example, are reported as text/plain under macOS but as application/vnd.ms-excel under Windows. In some cases there might not be a mime type set at all.
@@ -13,5 +13,5 @@ export type ImageDropzoneProps = {
13
13
  /** Allow drag 'n' drop (or selection from the file dialog) of multiple files */
14
14
  multiple?: boolean;
15
15
  };
16
- export declare const ImageDropzone: ({ accept: acceptedFiles, children, disabled, handleFiles, maxNumberOfFiles, multiple, }: PropsWithChildren<ImageDropzoneProps>) => JSX.Element;
16
+ export declare const ImageDropzone: ({ accept: acceptedFiles, children, disabled, handleFiles, maxNumberOfFiles, multiple, }: PropsWithChildren<ImageDropzoneProps>) => React.JSX.Element;
17
17
  //# sourceMappingURL=ImageDropzone.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ImageDropzone.d.ts","sourceRoot":"","sources":["../../../src/components/ReactFileUtilities/ImageDropzone.tsx"],"names":[],"mappings":"AACA,OAAc,EAAE,iBAAiB,EAAwB,MAAM,OAAO,CAAC;AAIvE,MAAM,MAAM,kBAAkB,GAAG;IAC/B;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IAC3B,kCAAkC;IAClC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,QAAQ,GAAG,IAAI,EAAE,KAAK,IAAI,CAAC;IACjD,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,gFAAgF;IAChF,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,eAAO,MAAM,aAAa,4FAOvB,kBAAkB,kBAAkB,CAAC,gBA8DvC,CAAC"}
1
+ {"version":3,"file":"ImageDropzone.d.ts","sourceRoot":"","sources":["../../../src/components/ReactFileUtilities/ImageDropzone.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,iBAAiB,EAAwB,MAAM,OAAO,CAAC;AAIvE,MAAM,MAAM,kBAAkB,GAAG;IAC/B;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IAC3B,kCAAkC;IAClC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,QAAQ,GAAG,IAAI,EAAE,KAAK,IAAI,CAAC;IACjD,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,gFAAgF;IAChF,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,eAAO,MAAM,aAAa,4FAOvB,kBAAkB,kBAAkB,CAAC,sBA8DvC,CAAC"}
@@ -1,4 +1,4 @@
1
- import { MouseEvent } from 'react';
1
+ import React, { MouseEvent } from 'react';
2
2
  import type { ImageUpload } from './types';
3
3
  type CustomMouseEvent = (id: string, event: MouseEvent<HTMLButtonElement>) => void;
4
4
  export type ImagePreviewerProps = {
@@ -16,6 +16,6 @@ export type ImagePreviewerProps = {
16
16
  /** Allow drag 'n' drop (or selection from the file dialog) of multiple files */
17
17
  multiple?: boolean;
18
18
  };
19
- export declare const ImagePreviewer: ({ disabled, handleFiles, handleRemove, handleRetry, imageUploads, multiple, }: ImagePreviewerProps) => JSX.Element;
19
+ export declare const ImagePreviewer: ({ disabled, handleFiles, handleRemove, handleRetry, imageUploads, multiple, }: ImagePreviewerProps) => React.JSX.Element;
20
20
  export {};
21
21
  //# sourceMappingURL=ImagePreviewer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ImagePreviewer.d.ts","sourceRoot":"","sources":["../../../src/components/ReactFileUtilities/ImagePreviewer.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,UAAU,EAAe,MAAM,OAAO,CAAC;AAOvD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAG3C,KAAK,gBAAgB,GAAG,CAAC,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,UAAU,CAAC,iBAAiB,CAAC,KAAK,IAAI,CAAC;AAEnF,MAAM,MAAM,mBAAmB,GAAG;IAChC,yDAAyD;IACzD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,IAAI,EAAE,KAAK,IAAI,CAAC;IACtC,yDAAyD;IACzD,YAAY,CAAC,EAAE,gBAAgB,CAAC;IAChC,wDAAwD;IACxD,WAAW,CAAC,EAAE,gBAAgB,CAAC;IAC/B,YAAY,CAAC,EAAE,WAAW,EAAE,CAAC;IAC7B,gFAAgF;IAChF,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,eAAO,MAAM,cAAc,kFAOxB,mBAAmB,gBA4CrB,CAAC"}
1
+ {"version":3,"file":"ImagePreviewer.d.ts","sourceRoot":"","sources":["../../../src/components/ReactFileUtilities/ImagePreviewer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAe,MAAM,OAAO,CAAC;AAOvD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAI3C,KAAK,gBAAgB,GAAG,CAAC,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,UAAU,CAAC,iBAAiB,CAAC,KAAK,IAAI,CAAC;AAEnF,MAAM,MAAM,mBAAmB,GAAG;IAChC,yDAAyD;IACzD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,IAAI,EAAE,KAAK,IAAI,CAAC;IACtC,yDAAyD;IACzD,YAAY,CAAC,EAAE,gBAAgB,CAAC;IAChC,wDAAwD;IACxD,WAAW,CAAC,EAAE,gBAAgB,CAAC;IAC/B,YAAY,CAAC,EAAE,WAAW,EAAE,CAAC;IAC7B,gFAAgF;IAChF,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,eAAO,MAAM,cAAc,kFAOxB,mBAAmB,sBA8CrB,CAAC"}
@@ -4,8 +4,10 @@ import { Thumbnail } from './Thumbnail';
4
4
  import { ThumbnailPlaceholder } from './ThumbnailPlaceholder';
5
5
  import { RetryIcon } from './icons';
6
6
  import clsx from 'clsx';
7
+ import { useTranslationContext } from '../../context';
7
8
  export var ImagePreviewer = function (_a) {
8
9
  var _b = _a.disabled, disabled = _b === void 0 ? false : _b, handleFiles = _a.handleFiles, handleRemove = _a.handleRemove, handleRetry = _a.handleRetry, imageUploads = _a.imageUploads, _c = _a.multiple, multiple = _c === void 0 ? true : _c;
10
+ var t = useTranslationContext('ImagePreviewer').t;
9
11
  var onClose = useCallback(function (id, event) {
10
12
  if (!id)
11
13
  return console.warn("image.id of closed image was \"null\", this shouldn't happen");
@@ -15,7 +17,7 @@ export var ImagePreviewer = function (_a) {
15
17
  imageUploads.map(function (image) {
16
18
  var url = image.url || image.previewUri;
17
19
  return (React.createElement("div", { className: clsx('rfu-image-previewer__image', image.state === 'finished' && 'rfu-image-previewer__image--loaded'), key: image.id },
18
- image.state === 'failed' && (React.createElement("button", { "aria-label": 'Retry upload', className: 'rfu-image-previewer__retry', onClick: function (event) { return handleRetry === null || handleRetry === void 0 ? void 0 : handleRetry(image.id, event); }, type: 'button' },
20
+ image.state === 'failed' && (React.createElement("button", { "aria-label": t('aria/Retry upload'), className: 'rfu-image-previewer__retry', onClick: function (event) { return handleRetry === null || handleRetry === void 0 ? void 0 : handleRetry(image.id, event); }, type: 'button' },
19
21
  React.createElement(RetryIcon, null))),
20
22
  url && React.createElement(Thumbnail, { handleClose: function (event) { return onClose(image.id, event); }, image: url }),
21
23
  image.state === 'uploading' && (React.createElement(LoadingIndicator, { backgroundColor: '#ffffff19', color: '#ffffffb2' }))));
@@ -1,4 +1,4 @@
1
- import { PropsWithChildren } from 'react';
1
+ import React, { PropsWithChildren } from 'react';
2
2
  export type ImageUploadButtonProps = {
3
3
  handleFiles: (files: File[]) => void;
4
4
  disabled?: boolean;
@@ -8,5 +8,5 @@ export type ImageUploadButtonProps = {
8
8
  /**
9
9
  * @deprecated will be removed in the next major release
10
10
  */
11
- export declare const ImageUploadButton: ({ multiple, disabled, handleFiles, children, resetOnChange, }: PropsWithChildren<ImageUploadButtonProps>) => JSX.Element;
11
+ export declare const ImageUploadButton: ({ multiple, disabled, handleFiles, children, resetOnChange, }: PropsWithChildren<ImageUploadButtonProps>) => React.JSX.Element;
12
12
  //# sourceMappingURL=ImageUploadButton.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ImageUploadButton.d.ts","sourceRoot":"","sources":["../../../src/components/ReactFileUtilities/ImageUploadButton.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAKjD,MAAM,MAAM,sBAAsB,GAAG;IACnC,WAAW,EAAE,CAAC,KAAK,EAAE,IAAI,EAAE,KAAK,IAAI,CAAC;IACrC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,iBAAiB,kEAM3B,kBAAkB,sBAAsB,CAAC,gBAe3C,CAAC"}
1
+ {"version":3,"file":"ImageUploadButton.d.ts","sourceRoot":"","sources":["../../../src/components/ReactFileUtilities/ImageUploadButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAMjD,MAAM,MAAM,sBAAsB,GAAG;IACnC,WAAW,EAAE,CAAC,KAAK,EAAE,IAAI,EAAE,KAAK,IAAI,CAAC;IACrC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,iBAAiB,kEAM3B,kBAAkB,sBAAsB,CAAC,sBAkB3C,CAAC"}
@@ -1,13 +1,15 @@
1
1
  import React from 'react';
2
2
  import { PictureIcon } from './icons';
3
3
  import { UploadButton } from './UploadButton';
4
+ import { useTranslationContext } from '../../context';
4
5
  /**
5
6
  * @deprecated will be removed in the next major release
6
7
  */
7
8
  export var ImageUploadButton = function (_a) {
8
9
  var _b = _a.multiple, multiple = _b === void 0 ? false : _b, _c = _a.disabled, disabled = _c === void 0 ? false : _c, handleFiles = _a.handleFiles, _d = _a.children, children = _d === void 0 ? React.createElement(PictureIcon, null) : _d, _e = _a.resetOnChange, resetOnChange = _e === void 0 ? false : _e;
10
+ var t = useTranslationContext('ImageUploadButton').t;
9
11
  return (React.createElement("div", { className: 'rfu-image-upload-button' },
10
12
  React.createElement("label", null,
11
- React.createElement(UploadButton, { accept: 'image/*', "aria-label": 'Image input', className: 'rfu-image-input', disabled: disabled, multiple: multiple, onFileChange: handleFiles, resetOnChange: resetOnChange }),
13
+ React.createElement(UploadButton, { accept: 'image/*', "aria-label": t('aria/Image input'), className: 'rfu-image-input', disabled: disabled, multiple: multiple, onFileChange: handleFiles, resetOnChange: resetOnChange }),
12
14
  children)));
13
15
  };
@@ -1,8 +1,9 @@
1
+ import React from 'react';
1
2
  export type LoadingIndicatorProps = {
2
3
  backgroundColor?: string;
3
4
  color?: string;
4
5
  size?: number;
5
6
  width?: number;
6
7
  };
7
- export declare const LoadingIndicator: ({ backgroundColor, color, size, width, }: LoadingIndicatorProps) => JSX.Element;
8
+ export declare const LoadingIndicator: ({ backgroundColor, color, size, width, }: LoadingIndicatorProps) => React.JSX.Element;
8
9
  //# sourceMappingURL=LoadingIndicator.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"LoadingIndicator.d.ts","sourceRoot":"","sources":["../../../src/components/ReactFileUtilities/LoadingIndicator.tsx"],"names":[],"mappings":"AAEA,MAAM,MAAM,qBAAqB,GAAG;IAClC,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,eAAO,MAAM,gBAAgB,6CAK1B,qBAAqB,gBAYvB,CAAC"}
1
+ {"version":3,"file":"LoadingIndicator.d.ts","sourceRoot":"","sources":["../../../src/components/ReactFileUtilities/LoadingIndicator.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,MAAM,qBAAqB,GAAG;IAClC,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,eAAO,MAAM,gBAAgB,6CAK1B,qBAAqB,sBAYvB,CAAC"}
@@ -1,4 +1,4 @@
1
- import { MouseEventHandler } from 'react';
1
+ import React, { MouseEventHandler } from 'react';
2
2
  export type ThumbnailProps = {
3
3
  image: string;
4
4
  alt?: string;
@@ -6,5 +6,5 @@ export type ThumbnailProps = {
6
6
  id?: string;
7
7
  size?: number;
8
8
  };
9
- export declare const Thumbnail: ({ alt, handleClose, image, size }: ThumbnailProps) => JSX.Element;
9
+ export declare const Thumbnail: ({ alt, handleClose, image, size }: ThumbnailProps) => React.JSX.Element;
10
10
  //# sourceMappingURL=Thumbnail.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Thumbnail.d.ts","sourceRoot":"","sources":["../../../src/components/ReactFileUtilities/Thumbnail.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,iBAAiB,EAAe,MAAM,OAAO,CAAC;AAK9D,MAAM,MAAM,cAAc,GAAG;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,iBAAiB,CAAC,iBAAiB,CAAC,CAAC;IACnD,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,eAAO,MAAM,SAAS,sCAA6C,cAAc,gBAyBhF,CAAC"}
1
+ {"version":3,"file":"Thumbnail.d.ts","sourceRoot":"","sources":["../../../src/components/ReactFileUtilities/Thumbnail.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,iBAAiB,EAAe,MAAM,OAAO,CAAC;AAK9D,MAAM,MAAM,cAAc,GAAG;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,iBAAiB,CAAC,iBAAiB,CAAC,CAAC;IACnD,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,eAAO,MAAM,SAAS,sCAA6C,cAAc,sBAyBhF,CAAC"}
@@ -1,6 +1,7 @@
1
+ import React from 'react';
1
2
  export type ThumbnailPlaceholderProps = {
2
3
  handleFiles: (files: File[]) => void;
3
4
  multiple: boolean;
4
5
  };
5
- export declare const ThumbnailPlaceholder: ({ handleFiles, multiple, }: ThumbnailPlaceholderProps) => JSX.Element;
6
+ export declare const ThumbnailPlaceholder: ({ handleFiles, multiple, }: ThumbnailPlaceholderProps) => React.JSX.Element;
6
7
  //# sourceMappingURL=ThumbnailPlaceholder.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ThumbnailPlaceholder.d.ts","sourceRoot":"","sources":["../../../src/components/ReactFileUtilities/ThumbnailPlaceholder.tsx"],"names":[],"mappings":"AAIA,MAAM,MAAM,yBAAyB,GAAG;IACtC,WAAW,EAAE,CAAC,KAAK,EAAE,IAAI,EAAE,KAAK,IAAI,CAAC;IACrC,QAAQ,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF,eAAO,MAAM,oBAAoB,+BAG9B,yBAAyB,gBAQ3B,CAAC"}
1
+ {"version":3,"file":"ThumbnailPlaceholder.d.ts","sourceRoot":"","sources":["../../../src/components/ReactFileUtilities/ThumbnailPlaceholder.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,MAAM,MAAM,yBAAyB,GAAG;IACtC,WAAW,EAAE,CAAC,KAAK,EAAE,IAAI,EAAE,KAAK,IAAI,CAAC;IACrC,QAAQ,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF,eAAO,MAAM,oBAAoB,+BAG9B,yBAAyB,sBAQ3B,CAAC"}
@@ -1,7 +1,7 @@
1
- import { ComponentProps } from 'react';
1
+ import React, { ComponentProps } from 'react';
2
2
  export type UploadButtonProps = {
3
3
  onFileChange: (files: Array<File>) => void;
4
4
  resetOnChange?: boolean;
5
5
  } & Omit<ComponentProps<'input'>, 'type' | 'onChange'>;
6
- export declare const UploadButton: ({ onFileChange, resetOnChange, ...rest }: UploadButtonProps) => JSX.Element;
6
+ export declare const UploadButton: ({ onFileChange, resetOnChange, ...rest }: UploadButtonProps) => React.JSX.Element;
7
7
  //# sourceMappingURL=UploadButton.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"UploadButton.d.ts","sourceRoot":"","sources":["../../../src/components/ReactFileUtilities/UploadButton.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAI9C,MAAM,MAAM,iBAAiB,GAAG;IAC9B,YAAY,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,IAAI,CAAC,KAAK,IAAI,CAAC;IAC3C,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB,GAAG,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,EAAE,MAAM,GAAG,UAAU,CAAC,CAAC;AAEvD,eAAO,MAAM,YAAY,6CAItB,iBAAiB,gBAInB,CAAC"}
1
+ {"version":3,"file":"UploadButton.d.ts","sourceRoot":"","sources":["../../../src/components/ReactFileUtilities/UploadButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAI9C,MAAM,MAAM,iBAAiB,GAAG;IAC9B,YAAY,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,IAAI,CAAC,KAAK,IAAI,CAAC;IAC3C,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB,GAAG,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,EAAE,MAAM,GAAG,UAAU,CAAC,CAAC;AAEvD,eAAO,MAAM,YAAY,6CAItB,iBAAiB,sBAInB,CAAC"}
@@ -1,5 +1,6 @@
1
+ import React from 'react';
1
2
  /**
2
3
  * An icon of a paperclip, which is used as the default icon for FileUploadButton
3
4
  */
4
- export declare const AttachmentIcon: () => JSX.Element;
5
+ export declare const AttachmentIcon: () => React.JSX.Element;
5
6
  //# sourceMappingURL=AttachmentIcon.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"AttachmentIcon.d.ts","sourceRoot":"","sources":["../../../../src/components/ReactFileUtilities/icons/AttachmentIcon.tsx"],"names":[],"mappings":"AAEA;;GAEG;AACH,eAAO,MAAM,cAAc,mBAK1B,CAAC"}
1
+ {"version":3,"file":"AttachmentIcon.d.ts","sourceRoot":"","sources":["../../../../src/components/ReactFileUtilities/icons/AttachmentIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B;;GAEG;AACH,eAAO,MAAM,cAAc,yBAK1B,CAAC"}
@@ -1,2 +1,3 @@
1
- export declare const CloseIcon: () => JSX.Element;
1
+ import React from 'react';
2
+ export declare const CloseIcon: () => React.JSX.Element;
2
3
  //# sourceMappingURL=CloseIcon.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CloseIcon.d.ts","sourceRoot":"","sources":["../../../../src/components/ReactFileUtilities/icons/CloseIcon.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS,mBAwBrB,CAAC"}
1
+ {"version":3,"file":"CloseIcon.d.ts","sourceRoot":"","sources":["../../../../src/components/ReactFileUtilities/icons/CloseIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,eAAO,MAAM,SAAS,yBAwBrB,CAAC"}
@@ -1,3 +1,3 @@
1
- import { ComponentPropsWithoutRef } from 'react';
2
- export declare const FilePlaceholderIcon: (props: ComponentPropsWithoutRef<'svg'>) => JSX.Element;
1
+ import React, { ComponentPropsWithoutRef } from 'react';
2
+ export declare const FilePlaceholderIcon: (props: ComponentPropsWithoutRef<'svg'>) => React.JSX.Element;
3
3
  //# sourceMappingURL=FilePlaceholderIcon.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"FilePlaceholderIcon.d.ts","sourceRoot":"","sources":["../../../../src/components/ReactFileUtilities/icons/FilePlaceholderIcon.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,wBAAwB,EAAE,MAAM,OAAO,CAAC;AAExD,eAAO,MAAM,mBAAmB,UAAW,yBAAyB,KAAK,CAAC,gBAiBzE,CAAC"}
1
+ {"version":3,"file":"FilePlaceholderIcon.d.ts","sourceRoot":"","sources":["../../../../src/components/ReactFileUtilities/icons/FilePlaceholderIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,wBAAwB,EAAE,MAAM,OAAO,CAAC;AAExD,eAAO,MAAM,mBAAmB,UAAW,yBAAyB,KAAK,CAAC,sBAiBzE,CAAC"}
@@ -1,5 +1,6 @@
1
+ import React from 'react';
1
2
  /**
2
3
  * An icon of a picture, which is used as the default icon for ImageUploadButton
3
4
  */
4
- export declare const PictureIcon: () => JSX.Element;
5
+ export declare const PictureIcon: () => React.JSX.Element;
5
6
  //# sourceMappingURL=PictureIcon.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PictureIcon.d.ts","sourceRoot":"","sources":["../../../../src/components/ReactFileUtilities/icons/PictureIcon.tsx"],"names":[],"mappings":"AAEA;;GAEG;AACH,eAAO,MAAM,WAAW,mBAOvB,CAAC"}
1
+ {"version":3,"file":"PictureIcon.d.ts","sourceRoot":"","sources":["../../../../src/components/ReactFileUtilities/icons/PictureIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B;;GAEG;AACH,eAAO,MAAM,WAAW,yBAOvB,CAAC"}
@@ -1,2 +1,3 @@
1
- export declare const RetryIcon: () => JSX.Element;
1
+ import React from 'react';
2
+ export declare const RetryIcon: () => React.JSX.Element;
2
3
  //# sourceMappingURL=RetryIcon.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"RetryIcon.d.ts","sourceRoot":"","sources":["../../../../src/components/ReactFileUtilities/icons/RetryIcon.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS,mBAQrB,CAAC"}
1
+ {"version":3,"file":"RetryIcon.d.ts","sourceRoot":"","sources":["../../../../src/components/ReactFileUtilities/icons/RetryIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,eAAO,MAAM,SAAS,yBAQrB,CAAC"}
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  import type { ReactionResponse } from 'stream-chat';
2
3
  import type { ReactEventHandler } from '../Message/types';
3
4
  import type { DefaultStreamChatGenerics } from '../../types/types';
@@ -20,5 +21,5 @@ export type ReactionsListProps<StreamChatGenerics extends DefaultStreamChatGener
20
21
  /**
21
22
  * Component that displays a list of reactions on a message.
22
23
  */
23
- export declare const ReactionsList: <StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>(props: ReactionsListProps<StreamChatGenerics>) => JSX.Element | null;
24
+ export declare const ReactionsList: <StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>(props: ReactionsListProps<StreamChatGenerics>) => React.JSX.Element | null;
24
25
  //# sourceMappingURL=ReactionsList.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ReactionsList.d.ts","sourceRoot":"","sources":["../../../src/components/Reactions/ReactionsList.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAIpD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAC1D,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAC;AACnE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEzD,OAAO,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AAGpD,MAAM,MAAM,kBAAkB,CAC5B,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,IAC9E,OAAO,CAAC,IAAI,CAAC,mBAAmB,CAAC,kBAAkB,CAAC,EAAE,sBAAsB,CAAC,CAAC,GAAG;IACnF,sHAAsH;IACtH,OAAO,CAAC,EAAE,iBAAiB,CAAC;IAC5B,iFAAiF;IACjF,aAAa,CAAC,EAAE,gBAAgB,CAAC,kBAAkB,CAAC,EAAE,CAAC;IACvD,oFAAoF;IACpF,eAAe,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACzC,+DAA+D;IAC/D,eAAe,CAAC,EAAE,eAAe,CAAC;IAClC,8DAA8D;IAC9D,SAAS,CAAC,EAAE,gBAAgB,CAAC,kBAAkB,CAAC,EAAE,CAAC;IACnD,4EAA4E;IAC5E,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AA8EF;;GAEG;AACH,eAAO,MAAM,aAAa,yJAAwE,CAAC"}
1
+ {"version":3,"file":"ReactionsList.d.ts","sourceRoot":"","sources":["../../../src/components/Reactions/ReactionsList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAGxC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAIpD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAC1D,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAC;AACnE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEzD,OAAO,EAAE,mBAAmB,EAAyB,MAAM,eAAe,CAAC;AAG3E,MAAM,MAAM,kBAAkB,CAC5B,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,IAC9E,OAAO,CAAC,IAAI,CAAC,mBAAmB,CAAC,kBAAkB,CAAC,EAAE,sBAAsB,CAAC,CAAC,GAAG;IACnF,sHAAsH;IACtH,OAAO,CAAC,EAAE,iBAAiB,CAAC;IAC5B,iFAAiF;IACjF,aAAa,CAAC,EAAE,gBAAgB,CAAC,kBAAkB,CAAC,EAAE,CAAC;IACvD,oFAAoF;IACpF,eAAe,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACzC,+DAA+D;IAC/D,eAAe,CAAC,EAAE,eAAe,CAAC;IAClC,8DAA8D;IAC9D,SAAS,CAAC,EAAE,gBAAgB,CAAC,kBAAkB,CAAC,EAAE,CAAC;IACnD,4EAA4E;IAC5E,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AA+EF;;GAEG;AACH,eAAO,MAAM,aAAa,+JAAwE,CAAC"}
@@ -3,11 +3,13 @@ import React, { useState } from 'react';
3
3
  import clsx from 'clsx';
4
4
  import { useProcessReactions } from './hooks/useProcessReactions';
5
5
  import { ReactionsListModal } from './ReactionsListModal';
6
+ import { useTranslationContext } from '../../context';
6
7
  import { MAX_MESSAGE_REACTIONS_TO_FETCH } from '../Message/hooks';
7
8
  var UnMemoizedReactionsList = function (props) {
8
9
  var handleFetchReactions = props.handleFetchReactions, _a = props.reverse, reverse = _a === void 0 ? false : _a, rest = __rest(props, ["handleFetchReactions", "reverse"]);
9
10
  var _b = useProcessReactions(rest), existingReactions = _b.existingReactions, hasReactions = _b.hasReactions, totalReactionCount = _b.totalReactionCount;
10
11
  var _c = useState(null), selectedReactionType = _c[0], setSelectedReactionType = _c[1];
12
+ var t = useTranslationContext('ReactionsList').t;
11
13
  var handleReactionButtonClick = function (reactionType) {
12
14
  if (totalReactionCount > MAX_MESSAGE_REACTIONS_TO_FETCH) {
13
15
  return;
@@ -17,7 +19,7 @@ var UnMemoizedReactionsList = function (props) {
17
19
  if (!hasReactions)
18
20
  return null;
19
21
  return (React.createElement(React.Fragment, null,
20
- React.createElement("div", { "aria-label": 'Reaction list', className: clsx('str-chat__reaction-list str-chat__message-reactions-container', {
22
+ React.createElement("div", { "aria-label": t('aria/Reaction list'), className: clsx('str-chat__reaction-list str-chat__message-reactions-container', {
21
23
  'str-chat__reaction-list--reverse': reverse,
22
24
  }), "data-testid": 'reaction-list', role: 'figure' },
23
25
  React.createElement("ul", { className: 'str-chat__message-reactions' },
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { ModalProps } from '../Modal';
3
3
  import { ReactionSummary } from './types';
4
4
  import { MessageContextValue } from '../../context';
@@ -8,6 +8,6 @@ type ReactionsListModalProps<StreamChatGenerics extends DefaultStreamChatGeneric
8
8
  selectedReactionType: string | null;
9
9
  onSelectedReactionTypeChange?: (reactionType: string) => void;
10
10
  };
11
- export declare function ReactionsListModal({ handleFetchReactions, onSelectedReactionTypeChange, reactions, selectedReactionType, ...modalProps }: ReactionsListModalProps): JSX.Element;
11
+ export declare function ReactionsListModal({ handleFetchReactions, onSelectedReactionTypeChange, reactions, selectedReactionType, ...modalProps }: ReactionsListModalProps): React.JSX.Element;
12
12
  export {};
13
13
  //# sourceMappingURL=ReactionsListModal.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ReactionsListModal.d.ts","sourceRoot":"","sources":["../../../src/components/Reactions/ReactionsListModal.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAS,UAAU,EAAE,MAAM,UAAU,CAAC;AAC7C,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAI1C,OAAO,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AACpD,OAAO,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAC;AAE9D,KAAK,uBAAuB,CAC1B,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,IAC9E,UAAU,GACZ,OAAO,CAAC,IAAI,CAAC,mBAAmB,CAAC,kBAAkB,CAAC,EAAE,sBAAsB,CAAC,CAAC,GAAG;IAC/E,SAAS,EAAE,eAAe,EAAE,CAAC;IAC7B,oBAAoB,EAAE,MAAM,GAAG,IAAI,CAAC;IACpC,4BAA4B,CAAC,EAAE,CAAC,YAAY,EAAE,MAAM,KAAK,IAAI,CAAC;CAC/D,CAAC;AAEJ,wBAAgB,kBAAkB,CAAC,EACjC,oBAAoB,EACpB,4BAA4B,EAC5B,SAAS,EACT,oBAAoB,EACpB,GAAG,UAAU,EACd,EAAE,uBAAuB,eAyEzB"}
1
+ {"version":3,"file":"ReactionsListModal.d.ts","sourceRoot":"","sources":["../../../src/components/Reactions/ReactionsListModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAGvC,OAAO,EAAS,UAAU,EAAE,MAAM,UAAU,CAAC;AAC7C,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAI1C,OAAO,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AACpD,OAAO,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAC;AAE9D,KAAK,uBAAuB,CAC1B,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,IAC9E,UAAU,GACZ,OAAO,CAAC,IAAI,CAAC,mBAAmB,CAAC,kBAAkB,CAAC,EAAE,sBAAsB,CAAC,CAAC,GAAG;IAC/E,SAAS,EAAE,eAAe,EAAE,CAAC;IAC7B,oBAAoB,EAAE,MAAM,GAAG,IAAI,CAAC;IACpC,4BAA4B,CAAC,EAAE,CAAC,YAAY,EAAE,MAAM,KAAK,IAAI,CAAC;CAC/D,CAAC;AAEJ,wBAAgB,kBAAkB,CAAC,EACjC,oBAAoB,EACpB,4BAA4B,EAC5B,SAAS,EACT,oBAAoB,EACpB,GAAG,UAAU,EACd,EAAE,uBAAuB,qBAyEzB"}
@@ -30,12 +30,12 @@ export function ReactionsListModal(_a) {
30
30
  return EmojiComponent && (React.createElement("div", { className: clsx('str-chat__message-reactions-details-reaction-type', {
31
31
  'str-chat__message-reactions-details-reaction-type--selected': selectedReactionType === reactionType,
32
32
  }), "data-testid": "reaction-details-selector-".concat(reactionType), key: reactionType, onClick: function () { return onSelectedReactionTypeChange === null || onSelectedReactionTypeChange === void 0 ? void 0 : onSelectedReactionTypeChange(reactionType); } },
33
- React.createElement("span", { className: 'emoji str-chat__message-reaction-emoji' },
33
+ React.createElement("span", { className: 'emoji str-chat__message-reaction-emoji str-chat__message-reaction-emoji--with-fallback' },
34
34
  React.createElement(EmojiComponent, null)),
35
35
  "\u00A0",
36
36
  React.createElement("span", { className: 'str-chat__message-reaction-count' }, reactionCount)));
37
37
  })),
38
- SelectedEmojiComponent && (React.createElement("div", { className: 'emoji str-chat__message-reaction-emoji str-chat__message-reaction-emoji-big' },
38
+ SelectedEmojiComponent && (React.createElement("div", { className: 'emoji str-chat__message-reaction-emoji str-chat__message-reaction-emoji--with-fallback str-chat__message-reaction-emoji-big' },
39
39
  React.createElement(SelectedEmojiComponent, null))),
40
40
  React.createElement("div", { className: 'str-chat__message-reactions-details-reacting-users', "data-testid": 'all-reacting-users' }, areReactionsLoading ? (React.createElement(LoadingIndicator, null)) : (currentReactions.map(function (_a) {
41
41
  var user = _a.user;
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  import type { ReactionResponse } from 'stream-chat';
2
3
  import { MessageContextValue } from '../../context/MessageContext';
3
4
  import type { DefaultStreamChatGenerics } from '../../types/types';
@@ -14,5 +15,5 @@ export type SimpleReactionsListProps<StreamChatGenerics extends DefaultStreamCha
14
15
  /** An array of the reaction objects to display in the list */
15
16
  reactions?: ReactionResponse<StreamChatGenerics>[];
16
17
  };
17
- export declare const SimpleReactionsList: <StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>(props: SimpleReactionsListProps<StreamChatGenerics>) => JSX.Element | null;
18
+ export declare const SimpleReactionsList: <StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>(props: SimpleReactionsListProps<StreamChatGenerics>) => React.JSX.Element | null;
18
19
  //# sourceMappingURL=SimpleReactionsList.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SimpleReactionsList.d.ts","sourceRoot":"","sources":["../../../src/components/Reactions/SimpleReactionsList.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAGpD,OAAO,EAAE,mBAAmB,EAAqB,MAAM,8BAA8B,CAAC;AAKtF,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAC;AACnE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAoCzD,MAAM,MAAM,wBAAwB,CAClC,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,IAC9E,OAAO,CAAC,IAAI,CAAC,mBAAmB,EAAE,sBAAsB,GAAG,gBAAgB,CAAC,CAAC,GAAG;IAClF,iFAAiF;IACjF,aAAa,CAAC,EAAE,gBAAgB,CAAC,kBAAkB,CAAC,EAAE,CAAC;IACvD,oFAAoF;IACpF,eAAe,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;IAC5C,+DAA+D;IAC/D,eAAe,CAAC,EAAE,eAAe,CAAC;IAClC,8DAA8D;IAC9D,SAAS,CAAC,EAAE,gBAAgB,CAAC,kBAAkB,CAAC,EAAE,CAAC;CACpD,CAAC;AAyEF,eAAO,MAAM,mBAAmB,+JAES,CAAC"}
1
+ {"version":3,"file":"SimpleReactionsList.d.ts","sourceRoot":"","sources":["../../../src/components/Reactions/SimpleReactionsList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAG3D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAGpD,OAAO,EAAE,mBAAmB,EAAqB,MAAM,8BAA8B,CAAC;AAKtF,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAC;AACnE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAoCzD,MAAM,MAAM,wBAAwB,CAClC,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,IAC9E,OAAO,CAAC,IAAI,CAAC,mBAAmB,EAAE,sBAAsB,GAAG,gBAAgB,CAAC,CAAC,GAAG;IAClF,iFAAiF;IACjF,aAAa,CAAC,EAAE,gBAAgB,CAAC,kBAAkB,CAAC,EAAE,CAAC;IACvD,oFAAoF;IACpF,eAAe,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;IAC5C,+DAA+D;IAC/D,eAAe,CAAC,EAAE,eAAe,CAAC;IAClC,8DAA8D;IAC9D,SAAS,CAAC,EAAE,gBAAgB,CAAC,kBAAkB,CAAC,EAAE,CAAC;CACpD,CAAC;AAyEF,eAAO,MAAM,mBAAmB,qKAES,CAAC"}
@@ -6,7 +6,8 @@ export type SpriteImageProps = {
6
6
  spriteUrl: string;
7
7
  fallback?: React.ReactNode;
8
8
  height?: number;
9
+ style?: React.CSSProperties;
9
10
  width?: number;
10
11
  };
11
- export declare const SpriteImage: ({ columns, fallback, height, position, rows, spriteUrl, width, }: SpriteImageProps) => JSX.Element;
12
+ export declare const SpriteImage: ({ columns, fallback, height, position, rows, spriteUrl, style, width, }: SpriteImageProps) => React.JSX.Element;
12
13
  //# sourceMappingURL=SpriteImage.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SpriteImage.d.ts","sourceRoot":"","sources":["../../../src/components/Reactions/SpriteImage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAInD,MAAM,MAAM,gBAAgB,GAAG;IAC7B,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,eAAO,MAAM,WAAW,qEAQrB,gBAAgB,gBAgClB,CAAC"}
1
+ {"version":3,"file":"SpriteImage.d.ts","sourceRoot":"","sources":["../../../src/components/Reactions/SpriteImage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAInD,MAAM,MAAM,gBAAgB,GAAG;IAC7B,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,eAAO,MAAM,WAAW,4EASrB,gBAAgB,sBAsClB,CAAC"}