stream-chat-react 11.0.0-rc.8 → 11.1.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 (390) hide show
  1. package/README.md +1 -1
  2. package/dist/browser.full-bundle.js +23931 -18681
  3. package/dist/browser.full-bundle.js.map +1 -1
  4. package/dist/browser.full-bundle.min.js +8 -18
  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 +1 -1
  9. package/dist/components/Attachment/AttachmentActions.d.ts.map +1 -1
  10. package/dist/components/Attachment/Audio.d.ts +3 -3
  11. package/dist/components/Attachment/Audio.d.ts.map +1 -1
  12. package/dist/components/Attachment/Audio.js +1 -1
  13. package/dist/components/Attachment/Card.d.ts +1 -1
  14. package/dist/components/Attachment/Card.d.ts.map +1 -1
  15. package/dist/components/Attachment/DownloadButton.d.ts +1 -1
  16. package/dist/components/Attachment/DownloadButton.d.ts.map +1 -1
  17. package/dist/components/Attachment/FileAttachment.d.ts +1 -1
  18. package/dist/components/Attachment/FileAttachment.d.ts.map +1 -1
  19. package/dist/components/Attachment/FileSizeIndicator.d.ts +1 -1
  20. package/dist/components/Attachment/FileSizeIndicator.d.ts.map +1 -1
  21. package/dist/components/Attachment/UnsupportedAttachment.d.ts +1 -1
  22. package/dist/components/Attachment/UnsupportedAttachment.d.ts.map +1 -1
  23. package/dist/components/Attachment/utils.d.ts +6 -6
  24. package/dist/components/Attachment/utils.d.ts.map +1 -1
  25. package/dist/components/AutoCompleteTextarea/Header.d.ts +2 -2
  26. package/dist/components/AutoCompleteTextarea/Header.d.ts.map +1 -1
  27. package/dist/components/Avatar/Avatar.d.ts +1 -1
  28. package/dist/components/Avatar/Avatar.d.ts.map +1 -1
  29. package/dist/components/Channel/Channel.d.ts +6 -4
  30. package/dist/components/Channel/Channel.d.ts.map +1 -1
  31. package/dist/components/Channel/Channel.js +2 -1
  32. package/dist/components/Channel/channelState.d.ts +2 -2
  33. package/dist/components/Channel/channelState.d.ts.map +1 -1
  34. package/dist/components/Channel/hooks/useEditMessageHandler.d.ts +1 -1
  35. package/dist/components/Channel/hooks/useEditMessageHandler.d.ts.map +1 -1
  36. package/dist/components/Channel/hooks/useMentionsHandlers.d.ts +1 -1
  37. package/dist/components/Channel/hooks/useMentionsHandlers.d.ts.map +1 -1
  38. package/dist/components/ChannelHeader/ChannelHeader.d.ts +1 -1
  39. package/dist/components/ChannelHeader/ChannelHeader.d.ts.map +1 -1
  40. package/dist/components/ChannelList/ChannelList.d.ts +1 -1
  41. package/dist/components/ChannelList/ChannelList.d.ts.map +1 -1
  42. package/dist/components/ChannelList/ChannelList.js +2 -1
  43. package/dist/components/ChannelList/ChannelListMessenger.d.ts +1 -1
  44. package/dist/components/ChannelList/ChannelListMessenger.d.ts.map +1 -1
  45. package/dist/components/ChannelList/hooks/usePaginatedChannels.d.ts.map +1 -1
  46. package/dist/components/ChannelList/hooks/usePaginatedChannels.js +2 -2
  47. package/dist/components/ChannelList/utils.d.ts +1 -1
  48. package/dist/components/ChannelList/utils.d.ts.map +1 -1
  49. package/dist/components/ChannelPreview/ChannelPreview.d.ts +2 -2
  50. package/dist/components/ChannelPreview/ChannelPreview.d.ts.map +1 -1
  51. package/dist/components/ChannelPreview/hooks/useChannelPreviewInfo.d.ts +1 -1
  52. package/dist/components/ChannelPreview/hooks/useChannelPreviewInfo.d.ts.map +1 -1
  53. package/dist/components/ChannelPreview/hooks/useMessageDeliveryStatus.d.ts +1 -1
  54. package/dist/components/ChannelPreview/hooks/useMessageDeliveryStatus.d.ts.map +1 -1
  55. package/dist/components/ChannelSearch/ChannelSearch.d.ts +2 -2
  56. package/dist/components/ChannelSearch/ChannelSearch.d.ts.map +1 -1
  57. package/dist/components/ChannelSearch/SearchBar.d.ts +4 -4
  58. package/dist/components/ChannelSearch/SearchBar.d.ts.map +1 -1
  59. package/dist/components/ChannelSearch/SearchInput.d.ts +3 -3
  60. package/dist/components/ChannelSearch/SearchInput.d.ts.map +1 -1
  61. package/dist/components/ChannelSearch/SearchResults.d.ts +6 -6
  62. package/dist/components/ChannelSearch/SearchResults.d.ts.map +1 -1
  63. package/dist/components/ChannelSearch/hooks/useChannelSearch.d.ts +5 -5
  64. package/dist/components/ChannelSearch/hooks/useChannelSearch.d.ts.map +1 -1
  65. package/dist/components/ChannelSearch/utils.d.ts +1 -1
  66. package/dist/components/ChannelSearch/utils.d.ts.map +1 -1
  67. package/dist/components/Chat/Chat.d.ts +2 -2
  68. package/dist/components/Chat/Chat.d.ts.map +1 -1
  69. package/dist/components/Chat/Chat.js +1 -3
  70. package/dist/components/Chat/hooks/useChannelsQueryState.d.ts +1 -1
  71. package/dist/components/Chat/hooks/useChannelsQueryState.d.ts.map +1 -1
  72. package/dist/components/Chat/hooks/useChat.d.ts +1 -3
  73. package/dist/components/Chat/hooks/useChat.d.ts.map +1 -1
  74. package/dist/components/Chat/hooks/useChat.js +4 -7
  75. package/dist/components/Chat/hooks/useCreateChatContext.d.ts.map +1 -1
  76. package/dist/components/Chat/hooks/useCreateChatContext.js +1 -5
  77. package/dist/components/Chat/hooks/useCustomStyles.d.ts +2 -2
  78. package/dist/components/Chat/hooks/useCustomStyles.d.ts.map +1 -1
  79. package/dist/components/ChatAutoComplete/ChatAutoComplete.d.ts +6 -6
  80. package/dist/components/ChatAutoComplete/ChatAutoComplete.d.ts.map +1 -1
  81. package/dist/components/ChatDown/ChatDown.d.ts +1 -1
  82. package/dist/components/ChatDown/ChatDown.d.ts.map +1 -1
  83. package/dist/components/CommandItem/CommandItem.d.ts +1 -1
  84. package/dist/components/CommandItem/CommandItem.d.ts.map +1 -1
  85. package/dist/components/DateSeparator/DateSeparator.d.ts +1 -1
  86. package/dist/components/DateSeparator/DateSeparator.d.ts.map +1 -1
  87. package/dist/components/Emojis/EmojiPicker.d.ts +1 -1
  88. package/dist/components/Emojis/EmojiPicker.d.ts.map +1 -1
  89. package/dist/components/Emojis/index.cjs.js +1 -1
  90. package/dist/components/EmoticonItem/EmoticonItem.d.ts +1 -1
  91. package/dist/components/EmoticonItem/EmoticonItem.d.ts.map +1 -1
  92. package/dist/components/EmptyStateIndicator/EmptyStateIndicator.d.ts +1 -1
  93. package/dist/components/EmptyStateIndicator/EmptyStateIndicator.d.ts.map +1 -1
  94. package/dist/components/EventComponent/EventComponent.d.ts +1 -1
  95. package/dist/components/EventComponent/EventComponent.d.ts.map +1 -1
  96. package/dist/components/Gallery/BaseImage.d.ts +6 -0
  97. package/dist/components/Gallery/BaseImage.d.ts.map +1 -0
  98. package/dist/components/Gallery/BaseImage.js +20 -0
  99. package/dist/components/Gallery/Gallery.d.ts +1 -1
  100. package/dist/components/Gallery/Gallery.d.ts.map +1 -1
  101. package/dist/components/Gallery/Gallery.js +4 -2
  102. package/dist/components/Gallery/Image.d.ts +1 -1
  103. package/dist/components/Gallery/Image.d.ts.map +1 -1
  104. package/dist/components/Gallery/Image.js +3 -2
  105. package/dist/components/Gallery/ModalGallery.d.ts +1 -1
  106. package/dist/components/Gallery/ModalGallery.d.ts.map +1 -1
  107. package/dist/components/Gallery/ModalGallery.js +3 -1
  108. package/dist/components/Gallery/index.d.ts +1 -0
  109. package/dist/components/Gallery/index.d.ts.map +1 -1
  110. package/dist/components/Gallery/index.js +1 -0
  111. package/dist/components/InfiniteScrollPaginator/InfiniteScroll.d.ts +1 -1
  112. package/dist/components/InfiniteScrollPaginator/InfiniteScroll.d.ts.map +1 -1
  113. package/dist/components/LoadMore/LoadMoreButton.d.ts +1 -1
  114. package/dist/components/LoadMore/LoadMoreButton.d.ts.map +1 -1
  115. package/dist/components/LoadMore/LoadMorePaginator.d.ts +1 -1
  116. package/dist/components/LoadMore/LoadMorePaginator.d.ts.map +1 -1
  117. package/dist/components/Loading/LoadingErrorIndicator.d.ts +1 -1
  118. package/dist/components/Loading/LoadingErrorIndicator.d.ts.map +1 -1
  119. package/dist/components/Loading/LoadingIndicator.d.ts +1 -1
  120. package/dist/components/Loading/LoadingIndicator.d.ts.map +1 -1
  121. package/dist/components/MML/MML.d.ts +1 -1
  122. package/dist/components/MML/MML.d.ts.map +1 -1
  123. package/dist/components/Message/FixedHeightMessage.d.ts +1 -1
  124. package/dist/components/Message/FixedHeightMessage.d.ts.map +1 -1
  125. package/dist/components/Message/MessageDeleted.d.ts +1 -1
  126. package/dist/components/Message/MessageDeleted.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/MessageRepliesCountButton.d.ts +1 -1
  130. package/dist/components/Message/MessageRepliesCountButton.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 +1 -1
  134. package/dist/components/Message/MessageText.d.ts.map +1 -1
  135. package/dist/components/Message/MessageTimestamp.d.ts +1 -1
  136. package/dist/components/Message/MessageTimestamp.d.ts.map +1 -1
  137. package/dist/components/Message/hooks/useActionHandler.d.ts +2 -2
  138. package/dist/components/Message/hooks/useActionHandler.d.ts.map +1 -1
  139. package/dist/components/Message/hooks/useDeleteHandler.d.ts +1 -1
  140. package/dist/components/Message/hooks/useDeleteHandler.d.ts.map +1 -1
  141. package/dist/components/Message/hooks/useEditHandler.d.ts +1 -1
  142. package/dist/components/Message/hooks/useEditHandler.d.ts.map +1 -1
  143. package/dist/components/Message/hooks/useFlagHandler.d.ts +1 -1
  144. package/dist/components/Message/hooks/useFlagHandler.d.ts.map +1 -1
  145. package/dist/components/Message/hooks/useMentionsHandler.d.ts +2 -2
  146. package/dist/components/Message/hooks/useMentionsHandler.d.ts.map +1 -1
  147. package/dist/components/Message/hooks/useMuteHandler.d.ts +1 -1
  148. package/dist/components/Message/hooks/useMuteHandler.d.ts.map +1 -1
  149. package/dist/components/Message/hooks/usePinHandler.d.ts +3 -3
  150. package/dist/components/Message/hooks/usePinHandler.d.ts.map +1 -1
  151. package/dist/components/Message/hooks/useUserHandler.d.ts +1 -1
  152. package/dist/components/Message/hooks/useUserHandler.d.ts.map +1 -1
  153. package/dist/components/Message/renderText/componentRenderers/Anchor.d.ts +3 -0
  154. package/dist/components/Message/renderText/componentRenderers/Anchor.d.ts.map +1 -0
  155. package/dist/components/Message/renderText/componentRenderers/Emoji.d.ts +3 -0
  156. package/dist/components/Message/renderText/componentRenderers/Emoji.d.ts.map +1 -0
  157. package/dist/components/Message/renderText/componentRenderers/Mention.d.ts +10 -0
  158. package/dist/components/Message/renderText/componentRenderers/Mention.d.ts.map +1 -0
  159. package/dist/components/Message/renderText/componentRenderers/index.d.ts +4 -0
  160. package/dist/components/Message/renderText/componentRenderers/index.d.ts.map +1 -0
  161. package/dist/components/Message/renderText/componentRenderers/index.js +3 -0
  162. package/dist/components/Message/renderText/index.d.ts +1 -2
  163. package/dist/components/Message/renderText/index.d.ts.map +1 -1
  164. package/dist/components/Message/renderText/regex.d.ts +1 -1
  165. package/dist/components/Message/renderText/regex.d.ts.map +1 -1
  166. package/dist/components/Message/renderText/rehypePlugins/emojiMarkdownPlugin.d.ts +2 -2
  167. package/dist/components/Message/renderText/rehypePlugins/emojiMarkdownPlugin.d.ts.map +1 -1
  168. package/dist/components/Message/renderText/rehypePlugins/emojiMarkdownPlugin.js +2 -2
  169. package/dist/components/Message/renderText/rehypePlugins/mentionsMarkdownPlugin.d.ts +4 -4
  170. package/dist/components/Message/renderText/rehypePlugins/mentionsMarkdownPlugin.d.ts.map +1 -1
  171. package/dist/components/Message/renderText/rehypePlugins/mentionsMarkdownPlugin.js +6 -4
  172. package/dist/components/Message/renderText/remarkPlugins/htmlToTextPlugin.d.ts +2 -2
  173. package/dist/components/Message/renderText/remarkPlugins/htmlToTextPlugin.d.ts.map +1 -1
  174. package/dist/components/Message/renderText/remarkPlugins/keepLineBreaksPlugin.d.ts +2 -2
  175. package/dist/components/Message/renderText/remarkPlugins/keepLineBreaksPlugin.d.ts.map +1 -1
  176. package/dist/components/Message/renderText/remarkPlugins/keepLineBreaksPlugin.js +2 -3
  177. package/dist/components/Message/renderText/renderText.d.ts +5 -6
  178. package/dist/components/Message/renderText/renderText.d.ts.map +1 -1
  179. package/dist/components/Message/renderText/renderText.js +11 -24
  180. package/dist/components/Message/renderText/types.d.ts +1 -1
  181. package/dist/components/Message/renderText/types.d.ts.map +1 -1
  182. package/dist/components/Message/types.d.ts +4 -4
  183. package/dist/components/Message/types.d.ts.map +1 -1
  184. package/dist/components/Message/utils.d.ts +2 -2
  185. package/dist/components/Message/utils.d.ts.map +1 -1
  186. package/dist/components/MessageActions/MessageActions.d.ts +3 -3
  187. package/dist/components/MessageActions/MessageActions.d.ts.map +1 -1
  188. package/dist/components/MessageActions/MessageActionsBox.d.ts +3 -3
  189. package/dist/components/MessageActions/MessageActionsBox.d.ts.map +1 -1
  190. package/dist/components/MessageInput/AttachmentPreviewList.d.ts +5 -0
  191. package/dist/components/MessageInput/AttachmentPreviewList.d.ts.map +1 -1
  192. package/dist/components/MessageInput/AttachmentPreviewList.js +16 -10
  193. package/dist/components/MessageInput/CooldownTimer.d.ts +1 -1
  194. package/dist/components/MessageInput/CooldownTimer.d.ts.map +1 -1
  195. package/dist/components/MessageInput/DefaultTriggerProvider.d.ts +6 -6
  196. package/dist/components/MessageInput/DefaultTriggerProvider.d.ts.map +1 -1
  197. package/dist/components/MessageInput/LinkPreviewList.d.ts +1 -1
  198. package/dist/components/MessageInput/LinkPreviewList.d.ts.map +1 -1
  199. package/dist/components/MessageInput/MessageInput.d.ts +2 -2
  200. package/dist/components/MessageInput/MessageInput.d.ts.map +1 -1
  201. package/dist/components/MessageInput/QuotedMessagePreview.d.ts +1 -1
  202. package/dist/components/MessageInput/QuotedMessagePreview.d.ts.map +1 -1
  203. package/dist/components/MessageInput/hooks/useCooldownTimer.d.ts +1 -1
  204. package/dist/components/MessageInput/hooks/useCooldownTimer.d.ts.map +1 -1
  205. package/dist/components/MessageInput/hooks/useLinkPreviews.d.ts +3 -3
  206. package/dist/components/MessageInput/hooks/useLinkPreviews.d.ts.map +1 -1
  207. package/dist/components/MessageInput/hooks/useMessageInputState.d.ts +13 -13
  208. package/dist/components/MessageInput/hooks/useMessageInputState.d.ts.map +1 -1
  209. package/dist/components/MessageInput/hooks/useUserTrigger.d.ts +1 -1
  210. package/dist/components/MessageInput/hooks/useUserTrigger.d.ts.map +1 -1
  211. package/dist/components/MessageInput/hooks/utils.d.ts +2 -2
  212. package/dist/components/MessageInput/hooks/utils.d.ts.map +1 -1
  213. package/dist/components/MessageInput/icons.d.ts +1 -1
  214. package/dist/components/MessageInput/icons.d.ts.map +1 -1
  215. package/dist/components/MessageInput/index.d.ts +2 -1
  216. package/dist/components/MessageInput/index.d.ts.map +1 -1
  217. package/dist/components/MessageInput/index.js +2 -1
  218. package/dist/components/MessageInput/types.d.ts +6 -6
  219. package/dist/components/MessageInput/types.d.ts.map +1 -1
  220. package/dist/components/MessageList/CustomNotification.d.ts +1 -1
  221. package/dist/components/MessageList/CustomNotification.d.ts.map +1 -1
  222. package/dist/components/MessageList/GiphyPreviewMessage.d.ts +1 -1
  223. package/dist/components/MessageList/GiphyPreviewMessage.d.ts.map +1 -1
  224. package/dist/components/MessageList/MessageList.d.ts +2 -2
  225. package/dist/components/MessageList/MessageList.d.ts.map +1 -1
  226. package/dist/components/MessageList/MessageListNotifications.d.ts +1 -1
  227. package/dist/components/MessageList/MessageListNotifications.d.ts.map +1 -1
  228. package/dist/components/MessageList/MessageNotification.d.ts +1 -1
  229. package/dist/components/MessageList/MessageNotification.d.ts.map +1 -1
  230. package/dist/components/MessageList/VirtualizedMessageList.d.ts +4 -4
  231. package/dist/components/MessageList/VirtualizedMessageList.d.ts.map +1 -1
  232. package/dist/components/MessageList/VirtualizedMessageListComponents.d.ts +1 -1
  233. package/dist/components/MessageList/VirtualizedMessageListComponents.d.ts.map +1 -1
  234. package/dist/components/MessageList/hooks/MessageList/useMessageListElements.d.ts +2 -2
  235. package/dist/components/MessageList/hooks/MessageList/useMessageListElements.d.ts.map +1 -1
  236. package/dist/components/MessageList/hooks/MessageList/useMessageListScrollManager.d.ts +2 -2
  237. package/dist/components/MessageList/hooks/MessageList/useMessageListScrollManager.d.ts.map +1 -1
  238. package/dist/components/MessageList/hooks/MessageList/useScrollLocationLogic.d.ts +1 -1
  239. package/dist/components/MessageList/hooks/MessageList/useScrollLocationLogic.d.ts.map +1 -1
  240. package/dist/components/MessageList/hooks/VirtualizedMessageList/useMessageSetKey.d.ts +1 -1
  241. package/dist/components/MessageList/hooks/VirtualizedMessageList/useMessageSetKey.d.ts.map +1 -1
  242. package/dist/components/MessageList/hooks/VirtualizedMessageList/useScrollToBottomOnNewMessage.d.ts +1 -1
  243. package/dist/components/MessageList/hooks/VirtualizedMessageList/useScrollToBottomOnNewMessage.d.ts.map +1 -1
  244. package/dist/components/MessageList/hooks/useLastReadData.d.ts +1 -1
  245. package/dist/components/MessageList/hooks/useLastReadData.d.ts.map +1 -1
  246. package/dist/components/MessageList/index.d.ts +1 -0
  247. package/dist/components/MessageList/index.d.ts.map +1 -1
  248. package/dist/components/MessageList/index.js +1 -0
  249. package/dist/components/MessageList/utils.d.ts +2 -2
  250. package/dist/components/MessageList/utils.d.ts.map +1 -1
  251. package/dist/components/Modal/Modal.d.ts +1 -1
  252. package/dist/components/Modal/Modal.d.ts.map +1 -1
  253. package/dist/components/ReactFileUtilities/FileIcon/FileIcon.d.ts +1 -1
  254. package/dist/components/ReactFileUtilities/FileIcon/FileIcon.d.ts.map +1 -1
  255. package/dist/components/ReactFileUtilities/FileIcon/FileIconSet/v1.d.ts +1 -1
  256. package/dist/components/ReactFileUtilities/FileIcon/FileIconSet/v1.d.ts.map +1 -1
  257. package/dist/components/ReactFileUtilities/FileIcon/FileIconSet/v2.d.ts +2 -2
  258. package/dist/components/ReactFileUtilities/FileIcon/FileIconSet/v2.d.ts.map +1 -1
  259. package/dist/components/ReactFileUtilities/FileIcon/iconMap.d.ts +4 -4
  260. package/dist/components/ReactFileUtilities/FileIcon/iconMap.d.ts.map +1 -1
  261. package/dist/components/ReactFileUtilities/FileIcon/mimeTypes.d.ts +2 -2
  262. package/dist/components/ReactFileUtilities/FileIcon/mimeTypes.d.ts.map +1 -1
  263. package/dist/components/ReactFileUtilities/FilePreviewer.d.ts +1 -1
  264. package/dist/components/ReactFileUtilities/FilePreviewer.d.ts.map +1 -1
  265. package/dist/components/ReactFileUtilities/FileUploadButton.d.ts +1 -1
  266. package/dist/components/ReactFileUtilities/FileUploadButton.d.ts.map +1 -1
  267. package/dist/components/ReactFileUtilities/IconButton.d.ts +1 -1
  268. package/dist/components/ReactFileUtilities/IconButton.d.ts.map +1 -1
  269. package/dist/components/ReactFileUtilities/ImageDropzone.d.ts +1 -1
  270. package/dist/components/ReactFileUtilities/ImageDropzone.d.ts.map +1 -1
  271. package/dist/components/ReactFileUtilities/ImagePreviewer.d.ts +2 -2
  272. package/dist/components/ReactFileUtilities/ImagePreviewer.d.ts.map +1 -1
  273. package/dist/components/ReactFileUtilities/ImageUploadButton.d.ts +1 -1
  274. package/dist/components/ReactFileUtilities/ImageUploadButton.d.ts.map +1 -1
  275. package/dist/components/ReactFileUtilities/LoadingIndicator.d.ts +1 -1
  276. package/dist/components/ReactFileUtilities/LoadingIndicator.d.ts.map +1 -1
  277. package/dist/components/ReactFileUtilities/Thumbnail.d.ts +1 -1
  278. package/dist/components/ReactFileUtilities/Thumbnail.d.ts.map +1 -1
  279. package/dist/components/ReactFileUtilities/ThumbnailPlaceholder.d.ts +1 -1
  280. package/dist/components/ReactFileUtilities/ThumbnailPlaceholder.d.ts.map +1 -1
  281. package/dist/components/ReactFileUtilities/UploadButton.d.ts +1 -1
  282. package/dist/components/ReactFileUtilities/UploadButton.d.ts.map +1 -1
  283. package/dist/components/ReactFileUtilities/types.d.ts +5 -5
  284. package/dist/components/ReactFileUtilities/types.d.ts.map +1 -1
  285. package/dist/components/Reactions/ReactionSelector.d.ts +1 -1
  286. package/dist/components/Reactions/ReactionSelector.d.ts.map +1 -1
  287. package/dist/components/Reactions/ReactionsList.d.ts +1 -1
  288. package/dist/components/Reactions/ReactionsList.d.ts.map +1 -1
  289. package/dist/components/Reactions/SimpleReactionsList.d.ts +1 -1
  290. package/dist/components/Reactions/SimpleReactionsList.d.ts.map +1 -1
  291. package/dist/components/Reactions/SpriteImage.d.ts +1 -1
  292. package/dist/components/Reactions/SpriteImage.d.ts.map +1 -1
  293. package/dist/components/Reactions/StreamEmoji.d.ts +1 -1
  294. package/dist/components/Reactions/StreamEmoji.d.ts.map +1 -1
  295. package/dist/components/Reactions/hooks/useProcessReactions.d.ts +2 -2
  296. package/dist/components/Reactions/hooks/useProcessReactions.d.ts.map +1 -1
  297. package/dist/components/Reactions/reactionOptions.d.ts +1 -1
  298. package/dist/components/Reactions/reactionOptions.d.ts.map +1 -1
  299. package/dist/components/SafeAnchor/SafeAnchor.d.ts +1 -1
  300. package/dist/components/SafeAnchor/SafeAnchor.d.ts.map +1 -1
  301. package/dist/components/Thread/Thread.d.ts +1 -1
  302. package/dist/components/Thread/Thread.d.ts.map +1 -1
  303. package/dist/components/Thread/ThreadHeader.d.ts +1 -1
  304. package/dist/components/Thread/ThreadHeader.d.ts.map +1 -1
  305. package/dist/components/Tooltip/Tooltip.d.ts +1 -1
  306. package/dist/components/Tooltip/Tooltip.d.ts.map +1 -1
  307. package/dist/components/TypingIndicator/TypingIndicator.d.ts +1 -1
  308. package/dist/components/TypingIndicator/TypingIndicator.d.ts.map +1 -1
  309. package/dist/components/UserItem/UserItem.d.ts +1 -1
  310. package/dist/components/UserItem/UserItem.d.ts.map +1 -1
  311. package/dist/components/Window/Window.d.ts +1 -1
  312. package/dist/components/Window/Window.d.ts.map +1 -1
  313. package/dist/context/ChannelActionContext.d.ts +4 -4
  314. package/dist/context/ChannelActionContext.d.ts.map +1 -1
  315. package/dist/context/ChannelListContext.d.ts +23 -0
  316. package/dist/context/ChannelListContext.d.ts.map +1 -0
  317. package/dist/context/ChannelListContext.js +17 -0
  318. package/dist/context/ChannelStateContext.d.ts +5 -5
  319. package/dist/context/ChannelStateContext.d.ts.map +1 -1
  320. package/dist/context/ChatContext.d.ts +7 -16
  321. package/dist/context/ChatContext.d.ts.map +1 -1
  322. package/dist/context/ComponentContext.d.ts +3 -2
  323. package/dist/context/ComponentContext.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 +5 -5
  331. package/dist/context/TranslationContext.d.ts.map +1 -1
  332. package/dist/context/TypingContext.d.ts +1 -1
  333. package/dist/context/TypingContext.d.ts.map +1 -1
  334. package/dist/context/index.d.ts +1 -0
  335. package/dist/context/index.d.ts.map +1 -1
  336. package/dist/context/index.js +1 -0
  337. package/dist/css/v2/index.css +1 -1
  338. package/dist/css/v2/index.layout.css +1 -1
  339. package/dist/i18n/Streami18n.d.ts +4 -3
  340. package/dist/i18n/Streami18n.d.ts.map +1 -1
  341. package/dist/i18n/de.json +1 -0
  342. package/dist/i18n/en.json +1 -0
  343. package/dist/i18n/es.json +1 -0
  344. package/dist/i18n/fr.json +1 -0
  345. package/dist/i18n/hi.json +1 -0
  346. package/dist/i18n/it.json +1 -0
  347. package/dist/i18n/ja.json +1 -0
  348. package/dist/i18n/ko.json +1 -0
  349. package/dist/i18n/nl.json +1 -0
  350. package/dist/i18n/pt.json +1 -0
  351. package/dist/i18n/ru.json +1 -0
  352. package/dist/i18n/tr.json +1 -0
  353. package/dist/{icons-427fd8d5.js → icons-a35a8ee7.js} +32 -12
  354. package/dist/index.cjs.js +25438 -20254
  355. package/dist/scss/v2/AttachmentList/AttachmentList-theme.scss +3 -3
  356. package/dist/scss/v2/AttachmentPreviewList/AttachmentPreviewList-layout.scss +4 -0
  357. package/dist/scss/v2/Autocomplete/Autocomplete-layout.scss +1 -0
  358. package/dist/scss/v2/BaseImage/BaseImage-layout.scss +21 -0
  359. package/dist/scss/v2/BaseImage/BaseImage-theme.scss +35 -0
  360. package/dist/scss/v2/BaseImage/index.scss +2 -0
  361. package/dist/scss/v2/ChannelHeader/ChannelHeader-layout.scss +4 -0
  362. package/dist/scss/v2/ChannelPreview/ChannelPreview-layout.scss +1 -0
  363. package/dist/scss/v2/ChannelSearch/ChannelSearch-layout.scss +5 -0
  364. package/dist/scss/v2/Message/Message-layout.scss +8 -0
  365. package/dist/scss/v2/MessageList/MessageList-layout.scss +1 -0
  366. package/dist/scss/v2/MessageList/VirtualizedMessageList-layout.scss +4 -0
  367. package/dist/scss/v2/Notification/Notification-layout.scss +4 -0
  368. package/dist/scss/v2/Thread/Thread-layout.scss +4 -0
  369. package/dist/scss/v2/Tooltip/Tooltip-layout.scss +1 -0
  370. package/dist/scss/v2/_icons.scss +3 -0
  371. package/dist/scss/v2/_utils.scss +17 -0
  372. package/dist/scss/v2/index.layout.scss +2 -0
  373. package/dist/scss/v2/index.scss +1 -0
  374. package/dist/types/types.d.ts +20 -20
  375. package/dist/types/types.d.ts.map +1 -1
  376. package/dist/utils/getChannel.d.ts +1 -1
  377. package/dist/utils/getChannel.d.ts.map +1 -1
  378. package/dist/version.d.ts +1 -1
  379. package/dist/version.d.ts.map +1 -1
  380. package/dist/version.js +1 -1
  381. package/package.json +19 -23
  382. package/dist/components/Message/renderText/Anchor.d.ts +0 -4
  383. package/dist/components/Message/renderText/Anchor.d.ts.map +0 -1
  384. package/dist/components/Message/renderText/Emoji.d.ts +0 -3
  385. package/dist/components/Message/renderText/Emoji.d.ts.map +0 -1
  386. package/dist/components/Message/renderText/Mention.d.ts +0 -18
  387. package/dist/components/Message/renderText/Mention.d.ts.map +0 -1
  388. /package/dist/components/Message/renderText/{Anchor.js → componentRenderers/Anchor.js} +0 -0
  389. /package/dist/components/Message/renderText/{Emoji.js → componentRenderers/Emoji.js} +0 -0
  390. /package/dist/components/Message/renderText/{Mention.js → componentRenderers/Mention.js} +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/MessageList/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC;AACtC,cAAc,eAAe,CAAC;AAC9B,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,0BAA0B,CAAC;AACzC,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/MessageList/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC;AACtC,cAAc,eAAe,CAAC;AAC9B,cAAc,4BAA4B,CAAC;AAC3C,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,0BAA0B,CAAC;AACzC,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC"}
@@ -1,6 +1,7 @@
1
1
  export * from './ConnectionStatus'; // TODO: export this under its own folder
2
2
  export * from './GiphyPreviewMessage';
3
3
  export * from './MessageList';
4
+ export * from './MessageListNotifications';
4
5
  export * from './MessageNotification';
5
6
  export * from './ScrollToBottomButton';
6
7
  export * from './VirtualizedMessageList';
@@ -2,7 +2,7 @@
2
2
  import type { UserResponse } from 'stream-chat';
3
3
  import type { DefaultStreamChatGenerics } from '../../types/types';
4
4
  import type { StreamMessage } from '../../context/ChannelStateContext';
5
- declare type ProcessMessagesParams<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = {
5
+ type ProcessMessagesParams<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = {
6
6
  messages: StreamMessage<StreamChatGenerics>[];
7
7
  userId: string;
8
8
  /** Enable date separator */
@@ -40,7 +40,7 @@ export declare const getReadStates: <StreamChatGenerics extends DefaultStreamCha
40
40
  user: UserResponse<StreamChatGenerics>;
41
41
  }> | undefined, returnAllReadData: boolean) => Record<string, UserResponse<StreamChatGenerics>[]>;
42
42
  export declare const insertIntro: <StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>(messages: StreamMessage<StreamChatGenerics>[], headerPosition?: number) => StreamMessage<StreamChatGenerics>[];
43
- export declare type GroupStyle = '' | 'middle' | 'top' | 'bottom' | 'single';
43
+ export type GroupStyle = '' | 'middle' | 'top' | 'bottom' | 'single';
44
44
  export declare const getGroupStyles: <StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>(message: StreamMessage<StreamChatGenerics>, previousMessage: StreamMessage<StreamChatGenerics>, nextMessage: StreamMessage<StreamChatGenerics>, noGroupByUser: boolean) => GroupStyle;
45
45
  export declare const hasMoreMessagesProbably: (returnedCountMessages: number, limit: number) => boolean;
46
46
  export declare const hasNotMoreMessages: (returnedCountMessages: number, limit: number) => boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/components/MessageList/utils.ts"],"names":[],"mappings":";AAOA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAEhD,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAC;AAEnE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mCAAmC,CAAC;AAEvE,aAAK,qBAAqB,CACxB,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,IAC9E;IACF,QAAQ,EAAE,aAAa,CAAC,kBAAkB,CAAC,EAAE,CAAC;IAC9C,MAAM,EAAE,MAAM,CAAC;IACf,4BAA4B;IAC5B,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,2EAA2E;IAC3E,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,kEAAkE;IA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CAAC;IACf,4BAA4B;IAC5B,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,2EAA2E;IAC3E,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,kEAAkE;IAClE,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAClC,8DAA8D;IAC9D,QAAQ,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACvB,+FAA+F;IAC/F,sBAAsB,CAAC,EAAE,KAAK,CAAC,QAAQ,CACrC,KAAK,CAAC,cAAc,CAAC,aAAa,CAAC,kBAAkB,CAAC,GAAG,SAAS,CAAC,CACpE,CAAC;CACH,CAAC;AAEF;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,eAAe,8KAuF3B,CAAC;AAEF,eAAO,MAAM,iBAAiB,UAAW,MAAM,GAAG,IAAI,WAQrD,CAAC;AAGF,eAAO,MAAM,eAAe,oJAY3B,CAAC;AAEF,eAAO,MAAM,aAAa;eAIU,IAAI;;mCACnB,OAAO,uDAqC3B,CAAC;AAEF,eAAO,MAAM,WAAW,qJAIL,MAAM,wCAgDxB,CAAC;AAEF,MAAM,MAAM,UAAU,GAAG,EAAE,GAAG,QAAQ,GAAG,KAAK,GAAG,QAAQ,GAAG,QAAQ,CAAC;AAErE,eAAO,MAAM,cAAc,oPAMV,OAAO,KACrB,UAyCF,CAAC;AAOF,eAAO,MAAM,uBAAuB,0BAA2B,MAAM,SAAS,MAAM,YACnD,CAAC;AAGlC,eAAO,MAAM,kBAAkB,0BAA2B,MAAM,SAAS,MAAM,YAChD,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import React, { PropsWithChildren } from 'react';
2
- export declare type ModalProps = {
2
+ export type ModalProps = {
3
3
  /** If true, modal is opened or visible. */
4
4
  open: boolean;
5
5
  /** Callback handler for closing of modal. */
@@ -1 +1 @@
1
- {"version":3,"file":"Modal.d.ts","sourceRoot":"","sources":["../../../src/components/Modal/Modal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,iBAAiB,EAAqB,MAAM,OAAO,CAAC;AAMpE,oBAAY,UAAU,GAAG;IACvB,2CAA2C;IAC3C,IAAI,EAAE,OAAO,CAAC;IACd,6CAA6C;IAC7C,OAAO,CAAC,EAAE,CACR,KAAK,EAAE,KAAK,CAAC,aAAa,GAAG,KAAK,CAAC,UAAU,CAAC,iBAAiB,GAAG,cAAc,CAAC,KAC9E,IAAI,CAAC;CACX,CAAC;AAEF,eAAO,MAAM,KAAK,gCAAiC,kBAAkB,UAAU,CAAC,uBAiD/E,CAAC"}
1
+ {"version":3,"file":"Modal.d.ts","sourceRoot":"","sources":["../../../src/components/Modal/Modal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,iBAAiB,EAAqB,MAAM,OAAO,CAAC;AAMpE,MAAM,MAAM,UAAU,GAAG;IACvB,2CAA2C;IAC3C,IAAI,EAAE,OAAO,CAAC;IACd,6CAA6C;IAC7C,OAAO,CAAC,EAAE,CACR,KAAK,EAAE,KAAK,CAAC,aAAa,GAAG,KAAK,CAAC,UAAU,CAAC,iBAAiB,GAAG,cAAc,CAAC,KAC9E,IAAI,CAAC;CACX,CAAC;AAEF,eAAO,MAAM,KAAK,gCAAiC,kBAAkB,UAAU,CAAC,uBAiD/E,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { IconType, IconVersion } from './iconMap';
3
- export declare type FileIconProps = {
3
+ export type FileIconProps = {
4
4
  big?: boolean;
5
5
  className?: string;
6
6
  filename?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"FileIcon.d.ts","sourceRoot":"","sources":["../../../../src/components/ReactFileUtilities/FileIcon/FileIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAW,QAAQ,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAE3D,oBAAY,aAAa,GAAG;IAC1B,GAAG,CAAC,EAAE,OAAO,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,OAAO,CAAC,EAAE,WAAW,CAAC;CACvB,CAAC;AAEF,wBAAgB,cAAc,CAC5B,IAAI,GAAE,QAAqB,EAC3B,OAAO,GAAE,WAAiB,EAC1B,QAAQ,CAAC,EAAE,MAAM,6HAelB;AAED,eAAO,MAAM,QAAQ,UAAW,aAAa,gBAc5C,CAAC"}
1
+ {"version":3,"file":"FileIcon.d.ts","sourceRoot":"","sources":["../../../../src/components/ReactFileUtilities/FileIcon/FileIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAW,QAAQ,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAE3D,MAAM,MAAM,aAAa,GAAG;IAC1B,GAAG,CAAC,EAAE,OAAO,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,OAAO,CAAC,EAAE,WAAW,CAAC;CACvB,CAAC;AAEF,wBAAgB,cAAc,CAC5B,IAAI,GAAE,QAAqB,EAC3B,OAAO,GAAE,WAAiB,EAC1B,QAAQ,CAAC,EAAE,MAAM,6HAelB;AAED,eAAO,MAAM,QAAQ,UAAW,aAAa,gBAc5C,CAAC"}
@@ -3,7 +3,7 @@
3
3
  * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
4
4
  */
5
5
  import { ComponentPropsWithoutRef } from 'react';
6
- export declare type IconPropsV1 = {
6
+ export type IconPropsV1 = {
7
7
  size?: number;
8
8
  } & ComponentPropsWithoutRef<'svg'>;
9
9
  export declare const FilePdfIcon: ({ size, ...props }: IconPropsV1) => JSX.Element;
@@ -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,oBAAY,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,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,6 +1,6 @@
1
1
  import { ComponentPropsWithoutRef } from 'react';
2
- export declare type IconTypeV2 = 'standard' | 'alt';
3
- export declare type IconPropsV2 = {
2
+ export type IconTypeV2 = 'standard' | 'alt';
3
+ export type IconPropsV2 = {
4
4
  mimeType?: string;
5
5
  size?: number;
6
6
  type?: IconTypeV2;
@@ -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,oBAAY,UAAU,GAAG,UAAU,GAAG,KAAK,CAAC;AAE5C,oBAAY,WAAW,GAAG;IACxB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,UAAU,CAAC;CACnB,GAAG,wBAAwB,CAAC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B,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"}
@@ -2,13 +2,13 @@ import type { ComponentType } from 'react';
2
2
  import type { IconPropsV1 } from './FileIconSet/v1';
3
3
  import type { IconPropsV2 } from './FileIconSet/v2';
4
4
  import { GeneralType, SupportedMimeType } from './mimeTypes';
5
- export declare type IconType = 'standard' | 'alt';
6
- export declare type IconVersion = '1' | '2';
7
- declare type IconProps = {
5
+ export type IconType = 'standard' | 'alt';
6
+ export type IconVersion = '1' | '2';
7
+ type IconProps = {
8
8
  '1': IconPropsV1;
9
9
  '2': IconPropsV2;
10
10
  };
11
- declare type IconMap = {
11
+ type IconMap = {
12
12
  [v in IconVersion]: {
13
13
  standard: Record<SupportedMimeType | GeneralType | 'fallback', ComponentType<IconProps[v]>>;
14
14
  alt?: Record<SupportedMimeType | GeneralType | 'fallback', ComponentType<IconProps[v]>>;
@@ -1 +1 @@
1
- {"version":3,"file":"iconMap.d.ts","sourceRoot":"","sources":["../../../../src/components/ReactFileUtilities/FileIcon/iconMap.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAG3C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAEpD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AACpD,OAAO,EAIL,WAAW,EAEX,iBAAiB,EAElB,MAAM,aAAa,CAAC;AAkFrB,oBAAY,QAAQ,GAAG,UAAU,GAAG,KAAK,CAAC;AAC1C,oBAAY,WAAW,GAAG,GAAG,GAAG,GAAG,CAAC;AAEpC,aAAK,SAAS,GAAG;IACf,GAAG,EAAE,WAAW,CAAC;IACjB,GAAG,EAAE,WAAW,CAAC;CAClB,CAAC;AAEF,aAAK,OAAO,GAAG;KACZ,CAAC,IAAI,WAAW,GAAG;QAClB,QAAQ,EAAE,MAAM,CAAC,iBAAiB,GAAG,WAAW,GAAG,UAAU,EAAE,aAAa,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAC5F,GAAG,CAAC,EAAE,MAAM,CAAC,iBAAiB,GAAG,WAAW,GAAG,UAAU,EAAE,aAAa,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;KACzF;CACF,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,OAyDrB,CAAC"}
1
+ {"version":3,"file":"iconMap.d.ts","sourceRoot":"","sources":["../../../../src/components/ReactFileUtilities/FileIcon/iconMap.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAG3C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAEpD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AACpD,OAAO,EAIL,WAAW,EAEX,iBAAiB,EAElB,MAAM,aAAa,CAAC;AAkFrB,MAAM,MAAM,QAAQ,GAAG,UAAU,GAAG,KAAK,CAAC;AAC1C,MAAM,MAAM,WAAW,GAAG,GAAG,GAAG,GAAG,CAAC;AAEpC,KAAK,SAAS,GAAG;IACf,GAAG,EAAE,WAAW,CAAC;IACjB,GAAG,EAAE,WAAW,CAAC;CAClB,CAAC;AAEF,KAAK,OAAO,GAAG;KACZ,CAAC,IAAI,WAAW,GAAG;QAClB,QAAQ,EAAE,MAAM,CAAC,iBAAiB,GAAG,WAAW,GAAG,UAAU,EAAE,aAAa,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAC5F,GAAG,CAAC,EAAE,MAAM,CAAC,iBAAiB,GAAG,WAAW,GAAG,UAAU,EAAE,aAAa,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;KACzF;CACF,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,OAyDrB,CAAC"}
@@ -1,5 +1,5 @@
1
- export declare type GeneralType = 'audio/' | 'video/' | 'image/' | 'text/';
2
- export declare type SupportedMimeType = typeof wordMimeTypes[number] | typeof excelMimeTypes[number] | typeof powerpointMimeTypes[number] | typeof archiveFileTypes[number] | typeof codeFileTypes[number];
1
+ export type GeneralType = 'audio/' | 'video/' | 'image/' | 'text/';
2
+ export type SupportedMimeType = typeof wordMimeTypes[number] | typeof excelMimeTypes[number] | typeof powerpointMimeTypes[number] | typeof archiveFileTypes[number] | typeof codeFileTypes[number];
3
3
  export declare const wordMimeTypes: string[];
4
4
  export declare const excelMimeTypes: string[];
5
5
  export declare const powerpointMimeTypes: string[];
@@ -1 +1 @@
1
- {"version":3,"file":"mimeTypes.d.ts","sourceRoot":"","sources":["../../../../src/components/ReactFileUtilities/FileIcon/mimeTypes.ts"],"names":[],"mappings":"AAAA,oBAAY,WAAW,GAAG,QAAQ,GAAG,QAAQ,GAAG,QAAQ,GAAG,OAAO,CAAC;AAEnE,oBAAY,iBAAiB,GACzB,OAAO,aAAa,CAAC,MAAM,CAAC,GAC5B,OAAO,cAAc,CAAC,MAAM,CAAC,GAC7B,OAAO,mBAAmB,CAAC,MAAM,CAAC,GAClC,OAAO,gBAAgB,CAAC,MAAM,CAAC,GAC/B,OAAO,aAAa,CAAC,MAAM,CAAC,CAAC;AAEjC,eAAO,MAAM,aAAa,UAwBzB,CAAC;AAEF,eAAO,MAAM,cAAc,UA8B1B,CAAC;AAEF,eAAO,MAAM,mBAAmB,UA4B/B,CAAC;AAEF,eAAO,MAAM,gBAAgB,UA6B5B,CAAC;AAEF,eAAO,MAAM,aAAa,UAkCzB,CAAC"}
1
+ {"version":3,"file":"mimeTypes.d.ts","sourceRoot":"","sources":["../../../../src/components/ReactFileUtilities/FileIcon/mimeTypes.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,WAAW,GAAG,QAAQ,GAAG,QAAQ,GAAG,QAAQ,GAAG,OAAO,CAAC;AAEnE,MAAM,MAAM,iBAAiB,GACzB,OAAO,aAAa,CAAC,MAAM,CAAC,GAC5B,OAAO,cAAc,CAAC,MAAM,CAAC,GAC7B,OAAO,mBAAmB,CAAC,MAAM,CAAC,GAClC,OAAO,gBAAgB,CAAC,MAAM,CAAC,GAC/B,OAAO,aAAa,CAAC,MAAM,CAAC,CAAC;AAEjC,eAAO,MAAM,aAAa,UAwBzB,CAAC;AAEF,eAAO,MAAM,cAAc,UA8B1B,CAAC;AAEF,eAAO,MAAM,mBAAmB,UA4B/B,CAAC;AAEF,eAAO,MAAM,gBAAgB,UA6B5B,CAAC;AAEF,eAAO,MAAM,aAAa,UAkCzB,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import type { FileUpload } from './types';
2
2
  import type { FileIconProps } from './FileIcon/FileIcon';
3
- export declare type FilePreviewerProps = {
3
+ export type FilePreviewerProps = {
4
4
  fileIconProps?: FileIconProps;
5
5
  handleFiles?: (files: FileList) => void;
6
6
  handleRemove?: (id: string) => void;
@@ -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,oBAAY,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":"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,5 +1,5 @@
1
1
  import { PropsWithChildren } from 'react';
2
- export declare type FileUploadButtonProps = {
2
+ export type FileUploadButtonProps = {
3
3
  handleFiles: (files: FileList | File[]) => void;
4
4
  accepts?: string | string[];
5
5
  disabled?: boolean;
@@ -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,oBAAY,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,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,5 +1,5 @@
1
1
  import { MouseEventHandler, PropsWithChildren } from 'react';
2
- export declare type IconButtonProps = {
2
+ export type IconButtonProps = {
3
3
  onClick?: MouseEventHandler<HTMLButtonElement>;
4
4
  };
5
5
  /**
@@ -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,oBAAY,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,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,5 +1,5 @@
1
1
  import { PropsWithChildren } from 'react';
2
- export declare type ImageDropzoneProps = {
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.
5
5
  *
@@ -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,oBAAY,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,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,7 +1,7 @@
1
1
  import { MouseEvent } from 'react';
2
2
  import type { ImageUpload } from './types';
3
- declare type CustomMouseEvent = (id: string, event: MouseEvent<HTMLButtonElement>) => void;
4
- export declare type ImagePreviewerProps = {
3
+ type CustomMouseEvent = (id: string, event: MouseEvent<HTMLButtonElement>) => void;
4
+ export type ImagePreviewerProps = {
5
5
  /** The list of image uploads that should be displayed */
6
6
  disabled?: boolean;
7
7
  /** A callback to call with newly selected files. If this is not provided no
@@ -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,aAAK,gBAAgB,GAAG,CAAC,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,UAAU,CAAC,iBAAiB,CAAC,KAAK,IAAI,CAAC;AAEnF,oBAAY,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,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,5 +1,5 @@
1
1
  import { PropsWithChildren } from 'react';
2
- export declare type ImageUploadButtonProps = {
2
+ export type ImageUploadButtonProps = {
3
3
  handleFiles: (files: File[]) => void;
4
4
  disabled?: boolean;
5
5
  multiple?: boolean;
@@ -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,oBAAY,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,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,4 +1,4 @@
1
- export declare type LoadingIndicatorProps = {
1
+ export type LoadingIndicatorProps = {
2
2
  backgroundColor?: string;
3
3
  color?: string;
4
4
  size?: number;
@@ -1 +1 @@
1
- {"version":3,"file":"LoadingIndicator.d.ts","sourceRoot":"","sources":["../../../src/components/ReactFileUtilities/LoadingIndicator.tsx"],"names":[],"mappings":"AAEA,oBAAY,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":"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,5 +1,5 @@
1
1
  import { MouseEventHandler } from 'react';
2
- export declare type ThumbnailProps = {
2
+ export type ThumbnailProps = {
3
3
  image: string;
4
4
  alt?: string;
5
5
  handleClose?: MouseEventHandler<HTMLButtonElement>;
@@ -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,oBAAY,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,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,4 +1,4 @@
1
- export declare type ThumbnailPlaceholderProps = {
1
+ export type ThumbnailPlaceholderProps = {
2
2
  handleFiles: (files: File[]) => void;
3
3
  multiple: boolean;
4
4
  };
@@ -1 +1 @@
1
- {"version":3,"file":"ThumbnailPlaceholder.d.ts","sourceRoot":"","sources":["../../../src/components/ReactFileUtilities/ThumbnailPlaceholder.tsx"],"names":[],"mappings":"AAIA,oBAAY,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":"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,5 +1,5 @@
1
1
  import { ComponentProps } from 'react';
2
- export declare type UploadButtonProps = {
2
+ export type UploadButtonProps = {
3
3
  onFileChange: (files: Array<File>) => void;
4
4
  resetOnChange?: boolean;
5
5
  } & Omit<ComponentProps<'input'>, 'type' | 'onChange'>;
@@ -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,oBAAY,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,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,11 +1,11 @@
1
- export declare type UploadState = 'uploading' | 'finished' | 'failed';
2
- export declare type FileLike = Blob | File;
3
- export declare type UploadInfo = {
1
+ export type UploadState = 'uploading' | 'finished' | 'failed';
2
+ export type FileLike = Blob | File;
3
+ export type UploadInfo = {
4
4
  id: string;
5
5
  state: UploadState;
6
6
  url?: string;
7
7
  };
8
- export declare type FileUpload = {
8
+ export type FileUpload = {
9
9
  file: {
10
10
  name: string;
11
11
  lastModified?: number;
@@ -15,7 +15,7 @@ export declare type FileUpload = {
15
15
  uri?: string;
16
16
  };
17
17
  } & UploadInfo;
18
- export declare type ImageUpload = {
18
+ export type ImageUpload = {
19
19
  file: {
20
20
  name: string;
21
21
  height?: number;
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/ReactFileUtilities/types.ts"],"names":[],"mappings":"AAAA,oBAAY,WAAW,GAAG,WAAW,GAAG,UAAU,GAAG,QAAQ,CAAC;AAE9D,oBAAY,QAAQ,GAAG,IAAI,GAAG,IAAI,CAAC;AAEnC,oBAAY,UAAU,GAAG;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,WAAW,CAAC;IACnB,GAAG,CAAC,EAAE,MAAM,CAAC;CACd,CAAC;AA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E,MAAM,CAAC;QACd,GAAG,CAAC,EAAE,MAAM,CAAC;KACd,CAAC;CACH,GAAG,UAAU,CAAC;AAEf,MAAM,MAAM,WAAW,GAAG;IACxB,IAAI,EAAE;QACJ,IAAI,EAAE,MAAM,CAAC;QACb,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,YAAY,CAAC,EAAE,MAAM,CAAC;QACtB,gBAAgB,CAAC,EAAE,IAAI,CAAC;QACxB,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,GAAG,CAAC,EAAE,MAAM,CAAC;QACb,KAAK,CAAC,EAAE,MAAM,CAAC;KAChB,CAAC;IACF,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,GAAG,UAAU,CAAC"}
@@ -3,7 +3,7 @@ import { AvatarProps } from '../Avatar';
3
3
  import type { ReactionResponse } from 'stream-chat';
4
4
  import type { DefaultStreamChatGenerics } from '../../types/types';
5
5
  import type { ReactionOptions } from './reactionOptions';
6
- export declare type ReactionSelectorProps<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = {
6
+ export type ReactionSelectorProps<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = {
7
7
  /** 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) */
8
8
  Avatar?: React.ElementType<AvatarProps>;
9
9
  /** If true, shows the user's avatar with the reaction */
@@ -1 +1 @@
1
- {"version":3,"file":"ReactionSelector.d.ts","sourceRoot":"","sources":["../../../src/components/Reactions/ReactionSelector.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmD,MAAM,OAAO,CAAC;AAKxE,OAAO,EAAE,WAAW,EAA2B,MAAM,WAAW,CAAC;AAKjE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAEpD,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,mBAAm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B,GAAG,yBAAyB,IAC9E;IACF,+LAA+L;IAC/L,MAAM,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC,WAAW,CAAC,CAAC;IACxC,yDAAyD;IACzD,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,6GAA6G;IAC7G,cAAc,CAAC,EAAE,CAAC,YAAY,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,CAAC,kBAAkB,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAC1F,8DAA8D;IAC9D,gBAAgB,CAAC,EAAE,gBAAgB,CAAC,kBAAkB,CAAC,EAAE,CAAC;IAC1D,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,yFAAyF;IACzF,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAkLF;;GAEG;AACH,eAAO,MAAM,gBAAgB,gIAES,CAAC"}
@@ -2,7 +2,7 @@ import type { ReactionResponse } from 'stream-chat';
2
2
  import type { ReactEventHandler } from '../Message/types';
3
3
  import type { DefaultStreamChatGenerics } from '../../types/types';
4
4
  import type { ReactionOptions } from './reactionOptions';
5
- export declare type ReactionsListProps<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = {
5
+ export type ReactionsListProps<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = {
6
6
  /** Custom on click handler for an individual reaction, defaults to `onReactionListClick` from the `MessageContext` */
7
7
  onClick?: ReactEventHandler;
8
8
  /** An array of the own reaction objects to distinguish own reactions visually */
@@ -1 +1 @@
1
- {"version":3,"file":"ReactionsList.d.ts","sourceRoot":"","sources":["../../../src/components/Reactions/ReactionsList.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,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C,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;AAgHF;;GAEG;AACH,eAAO,MAAM,aAAa,yJAAwE,CAAC"}
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import type { ReactionResponse } from 'stream-chat';
3
3
  import type { DefaultStreamChatGenerics } from '../../types/types';
4
4
  import type { ReactionOptions } from './reactionOptions';
5
- export declare type SimpleReactionsListProps<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = {
5
+ export type SimpleReactionsListProps<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = {
6
6
  /** Function that adds/removes a reaction on a message (overrides the function stored in `MessageContext`) */
7
7
  handleReaction?: (reactionType: string, event: React.BaseSyntheticEvent) => Promise<void>;
8
8
  /** An array of the own reaction objects to distinguish own reactions visually */
@@ -1 +1 @@
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;AAQpD,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAC;AACnE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAsCzD,oBAAY,wBAAwB,CAClC,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,IAC9E;IACF,6GAA6G;IAC7G,cAAc,CAAC,EAAE,CAA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;IAC9D,SAAS,CAAC,EAAE,gBAAgB,CAAC,kBAAkB,CAAC,EAAE,CAAC;CACpD,CAAC;AA4FF,eAAO,MAAM,mBAAmB,+JAES,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- export declare type SpriteImageProps = {
2
+ export type SpriteImageProps = {
3
3
  columns: number;
4
4
  position: [number, number];
5
5
  rows: number;
@@ -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,oBAAY,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,MAAM,CAAC;CAChB,CAAC;AAEF,eAAO,MAAM,WAAW,qEAQrB,gBAAgB,gBAgClB,CAAC"}
@@ -9,7 +9,7 @@ declare const StreamSpriteEmojiPositions: {
9
9
  sad: number[];
10
10
  wow: number[];
11
11
  };
12
- declare type StreamEmojiType = keyof typeof StreamSpriteEmojiPositions;
12
+ type StreamEmojiType = keyof typeof StreamSpriteEmojiPositions;
13
13
  export declare const StreamEmoji: ({ fallback, type, }: {
14
14
  type: StreamEmojiType;
15
15
  fallback?: React.ReactNode;
@@ -1 +1 @@
1
- {"version":3,"file":"StreamEmoji.d.ts","sourceRoot":"","sources":["../../../src/components/Reactions/StreamEmoji.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAe,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAE9D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAElD,QAAA,MAAM,0BAA0B;;;;;;;CAO/B,CAAC;AAEF,aAAK,eAAe,GAAG,MAAM,OAAO,0BAA0B,CAAC;AAI/D,eAAO,MAAM,WAAW;UAGJ,eAAe;;iBAYlC,CAAC"}
1
+ {"version":3,"file":"StreamEmoji.d.ts","sourceRoot":"","sources":["../../../src/components/Reactions/StreamEmoji.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAe,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAE9D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAElD,QAAA,MAAM,0BAA0B;;;;;;;CAO/B,CAAC;AAEF,KAAK,eAAe,GAAG,MAAM,OAAO,0BAA0B,CAAC;AAI/D,eAAO,MAAM,WAAW;UAGJ,eAAe;;iBAYlC,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import type { ReactionsListProps } from '../ReactionsList';
2
2
  import type { DefaultStreamChatGenerics } from '../../../types/types';
3
- declare type SharedReactionListProps = 'own_reactions' | 'reaction_counts' | 'reactionOptions' | 'reactions';
4
- declare type UseProcessReactionsParams = Pick<ReactionsListProps, SharedReactionListProps>;
3
+ type SharedReactionListProps = 'own_reactions' | 'reaction_counts' | 'reactionOptions' | 'reactions';
4
+ type UseProcessReactionsParams = Pick<ReactionsListProps, SharedReactionListProps>;
5
5
  export declare const useProcessReactions: <StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>(params: UseProcessReactionsParams) => {
6
6
  aggregatedUserNamesByType: Record<string, string[]>;
7
7
  getEmojiByReactionType: (reactionType: string) => {
@@ -1 +1 @@
1
- {"version":3,"file":"useProcessReactions.d.ts","sourceRoot":"","sources":["../../../../src/components/Reactions/hooks/useProcessReactions.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAC3D,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,sBAAsB,CAAC;AAEtE,aAAK,uBAAuB,GACxB,eAAe,GACf,iBAAiB,GACjB,iBAAiB,GACjB,WAAW,CAAC;AAEhB,aAAK,yBAAyB,GAAG,IAAI,CAAC,kBAAkB,EAAE,uBAAuB,CAAC,CAAC;AAEnF,eAAO,MAAM,mBAAmB,6FAGtB,yBAAyB;;2CAwBhB,MAAM;;;;;6CALN,MAAM;;;;;;;;CAgExB,CAAC"}
1
+ {"version":3,"file":"useProcessReactions.d.ts","sourceRoot":"","sources":["../../../../src/components/Reactions/hooks/useProcessReactions.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAC3D,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,sBAAsB,CAAC;AAEtE,KAAK,uBAAuB,GACxB,eAAe,GACf,iBAAiB,GACjB,iBAAiB,GACjB,WAAW,CAAC;AAEhB,KAAK,yBAAyB,GAAG,IAAI,CAAC,kBAAkB,EAAE,uBAAuB,CAAC,CAAC;AAEnF,eAAO,MAAM,mBAAmB,6FAGtB,yBAAyB;;2CAwBhB,MAAM;;;;;6CALN,MAAM;;;;;;;;CAgExB,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- export declare type ReactionOptions = Array<{
2
+ export type ReactionOptions = Array<{
3
3
  Component: React.ComponentType;
4
4
  type: string;
5
5
  name?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"reactionOptions.d.ts","sourceRoot":"","sources":["../../../src/components/Reactions/reactionOptions.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,oBAAY,eAAe,GAAG,KAAK,CAAC;IAClC,SAAS,EAAE,KAAK,CAAC,aAAa,CAAC;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC,CAAC;AAEH,eAAO,MAAM,sBAAsB,EAAE,eAMpC,CAAC"}
1
+ {"version":3,"file":"reactionOptions.d.ts","sourceRoot":"","sources":["../../../src/components/Reactions/reactionOptions.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,MAAM,MAAM,eAAe,GAAG,KAAK,CAAC;IAClC,SAAS,EAAE,KAAK,CAAC,aAAa,CAAC;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC,CAAC;AAEH,eAAO,MAAM,sBAAsB,EAAE,eAMpC,CAAC"}
@@ -2,7 +2,7 @@ import { PropsWithChildren } from 'react';
2
2
  /**
3
3
  * Similar to a regular anchor tag, but it sanitizes the href value and prevents XSS
4
4
  */
5
- export declare type SafeAnchorProps = {
5
+ export type SafeAnchorProps = {
6
6
  /** Set the className for the anchor tag element */
7
7
  className?: string;
8
8
  /** Specifies that the target (href attribute) will be downloaded instead of navigating to a file */
@@ -1 +1 @@
1
- {"version":3,"file":"SafeAnchor.d.ts","sourceRoot":"","sources":["../../../src/components/SafeAnchor/SafeAnchor.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAGjD;;GAEG;AACH,oBAAY,eAAe,GAAG;IAC5B,mDAAmD;IACnD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,oGAAoG;IACpG,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,wDAAwD;IACxD,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,uDAAuD;IACvD,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,0DAA0D;IAC1D,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAoBF,eAAO,MAAM,UAAU,UAlBc,kBAAkB,eAAe,CAAC,uBAkBkB,CAAC"}
1
+ {"version":3,"file":"SafeAnchor.d.ts","sourceRoot":"","sources":["../../../src/components/SafeAnchor/SafeAnchor.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAGjD;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG;IAC5B,mDAAmD;IACnD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,oGAAoG;IACpG,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,wDAAwD;IACxD,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,uDAAuD;IACvD,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,0DAA0D;IAC1D,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAoBF,eAAO,MAAM,UAAU,UAlBc,kBAAkB,eAAe,CAAC,uBAkBkB,CAAC"}
@@ -4,7 +4,7 @@ import { MessageListProps, VirtualizedMessageListProps } from '../MessageList';
4
4
  import type { MessageProps, MessageUIComponentProps } from '../Message/types';
5
5
  import type { MessageActionsArray } from '../Message/utils';
6
6
  import type { CustomTrigger, DefaultStreamChatGenerics } from '../../types/types';
7
- export declare type ThreadProps<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics, V extends CustomTrigger = CustomTrigger> = {
7
+ export type ThreadProps<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics, V extends CustomTrigger = CustomTrigger> = {
8
8
  /** Additional props for `MessageInput` component: [available props](https://getstream.io/chat/docs/sdk/react/message-input-components/message_input/#props) */
9
9
  additionalMessageInputProps?: MessageInputProps<StreamChatGenerics, V>;
10
10
  /** Additional props for `MessageList` component: [available props](https://getstream.io/chat/docs/sdk/react/core-components/message_list/#props) */
@@ -1 +1 @@
1
- {"version":3,"file":"Thread.d.ts","sourceRoot":"","sources":["../../../src/components/Thread/Thread.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAIzC,OAAO,EAGL,iBAAiB,EAElB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAEL,gBAAgB,EAEhB,2BAA2B,EAC5B,MAAM,gBAAgB,CAAC;AAWxB,OAAO,KAAK,EAAE,YAAY,EAAE,uBAAuB,EAAE,MAAM,kBAAkB,CAAC;AAC9E,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAE5D,OAAO,KAAK,EAAE,aAAa,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAC;AAElF,oBAAY,WAAW,CACrB,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,EAChF,CAAC,SAAS,aAAa,GAAG,aAAa,IACrC;IACF,+JAA+J;IAC/J,2BAA2B,CAAC,EAAE,iBAAiB,CAAC,kBAAkB,EAAE,CAAC,CAAC,CAAC;IACvE,oJAAoJ;IACpJ,0BAA0B,CAAC,EAAE,gBAAgB,CAAC,kBAAkB,CAAC,CAAC;IAClE,oKAAoK;IACpK,4BAA4B,CAAC,EAAE,OAAO,CAAC,YAAY,CAAC,kBAAkB,CAAC,CAAC,CAAC;IACzE,mKAAmK;IACnK,qCAAqC,CAAC,EAAE,2BAA2B,CAAC,kBAAkB,CAAC,CAAC;IACxF,wEAAwE;IACxE,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,gKAAgK;IAChK,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,6FAA6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,2BAA2B,CAAC,kBAAkB,CAAC,CAAC;IACxF,wEAAwE;IACxE,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,gKAAgK;IAChK,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,6FAA6F;IAC7F,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,gQAAgQ;IAChQ,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B,mHAAmH;IACnH,OAAO,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,uBAAuB,CAAC,kBAAkB,CAAC,CAAC,CAAC;IAC3E,mKAAmK;IACnK,cAAc,CAAC,EAAE,mBAAmB,CAAC;IACrC,mGAAmG;IACnG,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,MAAM,8LAYlB,CAAC"}
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import { ChannelPreviewInfoParams } from '../ChannelPreview/hooks/useChannelPreviewInfo';
3
3
  import { StreamMessage } from '../../context/ChannelStateContext';
4
4
  import type { DefaultStreamChatGenerics } from '../../types/types';
5
- export declare type ThreadHeaderProps<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = {
5
+ export type ThreadHeaderProps<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = {
6
6
  /** Callback for closing the thread */
7
7
  closeThread: (event?: React.BaseSyntheticEvent) => void;
8
8
  /** The thread parent message */
@@ -1 +1 @@
1
- {"version":3,"file":"ThreadHeader.d.ts","sourceRoot":"","sources":["../../../src/components/Thread/ThreadHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EACL,wBAAwB,EAEzB,MAAM,+CAA+C,CAAC;AAGvD,OAAO,EAAE,aAAa,EAA0B,MAAM,mCAAmC,CAAC;AAG1F,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAC;AAEnE,oBAAY,iBAAiB,CAC3B,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,IAC9E;IACF,sCAAsC;IACtC,WAAW,EAAE,CAAC,KAAK,CAAC,EAAE,KAAK,CAAC,kBAAkB,KAAK,IAAI,CAAC;IACxD,gCAAgC;IAChC,MAAM,EAAE,aAAa,CAAC,kBAAkB,CAAC,CAAC;CAC3C,CAAC;AAEF,eAAO,MAAM,YAAY,yOAgCxB,CAAC"}
1
+ {"version":3,"file":"ThreadHeader.d.ts","sourceRoot":"","sources":["../../../src/components/Thread/ThreadHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EACL,wBAAwB,EAEzB,MAAM,+CAA+C,CAAC;AAGvD,OAAO,EAAE,aAAa,EAA0B,MAAM,mCAAmC,CAAC;AAG1F,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAC;AAEnE,MAAM,MAAM,iBAAiB,CAC3B,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,IAC9E;IACF,sCAAsC;IACtC,WAAW,EAAE,CAAC,KAAK,CAAC,EAAE,KAAK,CAAC,kBAAkB,KAAK,IAAI,CAAC;IACxD,gCAAgC;IAChC,MAAM,EAAE,aAAa,CAAC,kBAAkB,CAAC,CAAC;CAC3C,CAAC;AAEF,eAAO,MAAM,YAAY,yOAgCxB,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import React, { ComponentProps } from 'react';
2
2
  import { PopperProps } from 'react-popper';
3
3
  export declare const Tooltip: ({ children, ...rest }: ComponentProps<'div'>) => JSX.Element;
4
- export declare type PopperTooltipProps<T extends HTMLElement> = React.PropsWithChildren<{
4
+ export type PopperTooltipProps<T extends HTMLElement> = React.PropsWithChildren<{
5
5
  /** Reference element to which the tooltip should attach to */
6
6
  referenceElement: T | null;
7
7
  /** Popper's modifier (offset) property - [xAxis offset, yAxis offset], default [0, 10] */
@@ -1 +1 @@
1
- {"version":3,"file":"Tooltip.d.ts","sourceRoot":"","sources":["../../../src/components/Tooltip/Tooltip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,cAAc,EAAY,MAAM,OAAO,CAAC;AACxD,OAAO,EAAE,WAAW,EAAa,MAAM,cAAc,CAAC;AAEtD,eAAO,MAAM,OAAO,0BAA2B,eAAe,KAAK,CAAC,gBAInE,CAAC;AAEF,oBAAY,kBAAkB,CAAC,CAAC,SAAS,WAAW,IAAI,KAAK,CAAC,iBAAiB,CAAC;IAC9E,8DAA8D;IAC9D,gBAAgB,EAAE,CAAC,GAAG,IAAI,CAAC;IAC3B,0FAA0F;IAC1F,MAAM,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC1B,0FAA0F;IAC1F,SAAS,CAAC,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC,WAAW,CAAC,CAAC;IAC9C,qDAAqD;IACrD,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC,CAAC;AAEH,eAAO,MAAM,aAAa,mIAgCzB,CAAC"}
1
+ {"version":3,"file":"Tooltip.d.ts","sourceRoot":"","sources":["../../../src/components/Tooltip/Tooltip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,cAAc,EAAY,MAAM,OAAO,CAAC;AACxD,OAAO,EAAE,WAAW,EAAa,MAAM,cAAc,CAAC;AAEtD,eAAO,MAAM,OAAO,0BAA2B,eAAe,KAAK,CAAC,gBAInE,CAAC;AAEF,MAAM,MAAM,kBAAkB,CAAC,CAAC,SAAS,WAAW,IAAI,KAAK,CAAC,iBAAiB,CAAC;IAC9E,8DAA8D;IAC9D,gBAAgB,EAAE,CAAC,GAAG,IAAI,CAAC;IAC3B,0FAA0F;IAC1F,MAAM,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC1B,0FAA0F;IAC1F,SAAS,CAAC,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC,WAAW,CAAC,CAAC;IAC9C,qDAAqD;IACrD,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC,CAAC;AAEH,eAAO,MAAM,aAAa,mIAgCzB,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { AvatarProps } from '../Avatar';
3
3
  import type { DefaultStreamChatGenerics } from '../../types/types';
4
- export declare type TypingIndicatorProps<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = {
4
+ export type TypingIndicatorProps<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = {
5
5
  /** 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) */
6
6
  Avatar?: React.ComponentType<AvatarProps<StreamChatGenerics>>;
7
7
  /** Avatar size in pixels, @default 32px */
@@ -1 +1 @@
1
- {"version":3,"file":"TypingIndicator.d.ts","sourceRoot":"","sources":["../../../src/components/TypingIndicator/TypingIndicator.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,WAAW,EAA2B,MAAM,WAAW,CAAC;AAQjE,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAC;AAEnE,oBAAY,oBAAoB,CAC9B,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,IAC9E;IACF,+LAA+L;IAC/L,MAAM,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,WAAW,CAAC,kBAAkB,CAAC,CAAC,CAAC;IAC9D,2CAA2C;IAC3C,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,kDAAkD;IAClD,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC;AAwHF,eAAO,MAAM,eAAe,2JAES,CAAC"}
1
+ {"version":3,"file":"TypingIndicator.d.ts","sourceRoot":"","sources":["../../../src/components/TypingIndicator/TypingIndicator.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,WAAW,EAA2B,MAAM,WAAW,CAAC;AAQjE,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAC;AAEnE,MAAM,MAAM,oBAAoB,CAC9B,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,IAC9E;IACF,+LAA+L;IAC/L,MAAM,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,WAAW,CAAC,kBAAkB,CAAC,CAAC,CAAC;IAC9D,2CAA2C;IAC3C,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,kDAAkD;IAClD,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC;AAwHF,eAAO,MAAM,eAAe,2JAES,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { AvatarProps } from '../Avatar';
3
- export declare type UserItemProps = {
3
+ export type UserItemProps = {
4
4
  /** The user */
5
5
  entity: {
6
6
  /** The parts of the Name property of the entity (or id if no name) that can be matched to the user input value.
@@ -1 +1 @@
1
- {"version":3,"file":"UserItem.d.ts","sourceRoot":"","sources":["../../../src/components/UserItem/UserItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,EAAE,WAAW,EAA2B,MAAM,WAAW,CAAC;AAEjE,oBAAY,aAAa,GAAG;IAC1B,eAAe;IACf,MAAM,EAAE;QACN;;aAEK;QACL,aAAa,EAAE;YAAE,KAAK,EAAE,MAAM,CAAC;YAAC,KAAK,EAAE,MAAM,EAAE,CAAA;SAAE,CAAC;QAClD,qBAAqB;QACrB,EAAE,CAAC,EAAE,MAAM,CAAC;QACZ,wBAAwB;QACxB,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,uBAAuB;QACvB,IAAI,CAAC,EAAE,MAAM,CAAC;KACf,CAAC;IACF,+LAA+L;IAC/L,MAAM,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,WAAW,CAAC,CAAC;CAC3C,CAAC;AA0CF,eAAO,MAAM,QAAQ,uBArC2C,aAAa,gBAqCM,CAAC"}
1
+ {"version":3,"file":"UserItem.d.ts","sourceRoot":"","sources":["../../../src/components/UserItem/UserItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,EAAE,WAAW,EAA2B,MAAM,WAAW,CAAC;AAEjE,MAAM,MAAM,aAAa,GAAG;IAC1B,eAAe;IACf,MAAM,EAAE;QACN;;aAEK;QACL,aAAa,EAAE;YAAE,KAAK,EAAE,MAAM,CAAC;YAAC,KAAK,EAAE,MAAM,EAAE,CAAA;SAAE,CAAC;QAClD,qBAAqB;QACrB,EAAE,CAAC,EAAE,MAAM,CAAC;QACZ,wBAAwB;QACxB,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,uBAAuB;QACvB,IAAI,CAAC,EAAE,MAAM,CAAC;KACf,CAAC;IACF,+LAA+L;IAC/L,MAAM,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,WAAW,CAAC,CAAC;CAC3C,CAAC;AA0CF,eAAO,MAAM,QAAQ,uBArC2C,aAAa,gBAqCM,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import React, { PropsWithChildren } from 'react';
2
2
  import { StreamMessage } from '../../context/ChannelStateContext';
3
3
  import type { DefaultStreamChatGenerics } from '../../types/types';
4
- export declare type WindowProps<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = {
4
+ export type WindowProps<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = {
5
5
  /** show or hide the window when a thread is active */
6
6
  hideOnThread?: boolean;
7
7
  /** optional prop to force addition of class str-chat__main-panel--hideOnThread to the Window root element */