stream-chat-react 14.0.0-beta.6 → 14.0.0-beta.8

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 (207) hide show
  1. package/dist/cjs/{WithAudioPlayback.f9abf707.js → WithAudioPlayback.58b0b39b.js} +258 -154
  2. package/dist/cjs/WithAudioPlayback.58b0b39b.js.map +1 -0
  3. package/dist/cjs/emojis.js +5 -2
  4. package/dist/cjs/emojis.js.map +1 -1
  5. package/dist/cjs/index.js +2935 -2628
  6. package/dist/cjs/index.js.map +1 -1
  7. package/dist/css/emoji-picker.css +11 -0
  8. package/dist/css/emoji-picker.css.map +1 -0
  9. package/dist/css/index.css +1809 -1369
  10. package/dist/css/index.css.map +1 -1
  11. package/dist/es/{WithAudioPlayback.d90f1a99.mjs → WithAudioPlayback.2ffdc4c5.mjs} +404 -300
  12. package/dist/es/WithAudioPlayback.2ffdc4c5.mjs.map +1 -0
  13. package/dist/es/emojis.mjs +5 -2
  14. package/dist/es/emojis.mjs.map +1 -1
  15. package/dist/es/index.mjs +3016 -2709
  16. package/dist/es/index.mjs.map +1 -1
  17. package/dist/types/components/Attachment/Audio.d.ts.map +1 -1
  18. package/dist/types/components/Attachment/FileAttachment.d.ts.map +1 -1
  19. package/dist/types/components/Attachment/UnsupportedAttachment.d.ts +1 -1
  20. package/dist/types/components/Attachment/UnsupportedAttachment.d.ts.map +1 -1
  21. package/dist/types/components/Attachment/VoiceRecording.d.ts.map +1 -1
  22. package/dist/types/components/Attachment/components/FileSizeIndicator.d.ts +1 -2
  23. package/dist/types/components/Attachment/components/FileSizeIndicator.d.ts.map +1 -1
  24. package/dist/types/components/AudioPlayback/components/useInteractiveProgressBar.d.ts.map +1 -1
  25. package/dist/types/components/AudioPlayback/plugins/AudioPlayerNotificationsPlugin.d.ts +4 -4
  26. package/dist/types/components/AudioPlayback/plugins/AudioPlayerNotificationsPlugin.d.ts.map +1 -1
  27. package/dist/types/components/Badge/MediaBadge.d.ts +8 -0
  28. package/dist/types/components/Badge/MediaBadge.d.ts.map +1 -0
  29. package/dist/types/components/Channel/Channel.d.ts.map +1 -1
  30. package/dist/types/components/ChannelHeader/ChannelHeader.d.ts +0 -2
  31. package/dist/types/components/ChannelHeader/ChannelHeader.d.ts.map +1 -1
  32. package/dist/types/components/ChannelList/ChannelList.d.ts.map +1 -1
  33. package/dist/types/components/ChannelList/ChannelListHeader.d.ts +1 -5
  34. package/dist/types/components/ChannelList/ChannelListHeader.d.ts.map +1 -1
  35. package/dist/types/components/ChannelList/hooks/index.d.ts +0 -11
  36. package/dist/types/components/ChannelList/hooks/index.d.ts.map +1 -1
  37. package/dist/types/components/ChannelList/utils.d.ts +0 -9
  38. package/dist/types/components/ChannelList/utils.d.ts.map +1 -1
  39. package/dist/types/components/ChannelListItem/ChannelListItem.d.ts +0 -2
  40. package/dist/types/components/ChannelListItem/ChannelListItem.d.ts.map +1 -1
  41. package/dist/types/components/ChannelListItem/ChannelListItemActionButtons.defaults.d.ts.map +1 -1
  42. package/dist/types/components/ChannelListItem/utils.d.ts.map +1 -1
  43. package/dist/types/components/Chat/Chat.d.ts +1 -5
  44. package/dist/types/components/Chat/Chat.d.ts.map +1 -1
  45. package/dist/types/components/Chat/hooks/useChat.d.ts +1 -10
  46. package/dist/types/components/Chat/hooks/useChat.d.ts.map +1 -1
  47. package/dist/types/components/Chat/hooks/useCreateChatContext.d.ts.map +1 -1
  48. package/dist/types/components/Chat/hooks/useReportLostConnectionSystemNotification.d.ts +6 -0
  49. package/dist/types/components/Chat/hooks/useReportLostConnectionSystemNotification.d.ts.map +1 -0
  50. package/dist/types/components/Chat/index.d.ts +1 -0
  51. package/dist/types/components/Chat/index.d.ts.map +1 -1
  52. package/dist/types/components/ChatView/ChatView.d.ts.map +1 -1
  53. package/dist/types/components/Dialog/components/ContextMenu.d.ts +4 -2
  54. package/dist/types/components/Dialog/components/ContextMenu.d.ts.map +1 -1
  55. package/dist/types/components/Dialog/hooks/useDialog.d.ts.map +1 -1
  56. package/dist/types/components/Dialog/service/DialogManager.d.ts +3 -2
  57. package/dist/types/components/Dialog/service/DialogManager.d.ts.map +1 -1
  58. package/dist/types/components/Dialog/service/DialogPortal.d.ts.map +1 -1
  59. package/dist/types/components/Form/NumericInput.d.ts.map +1 -1
  60. package/dist/types/components/Form/TextInput.d.ts +15 -8
  61. package/dist/types/components/Form/TextInput.d.ts.map +1 -1
  62. package/dist/types/components/Form/index.d.ts +1 -0
  63. package/dist/types/components/Form/index.d.ts.map +1 -1
  64. package/dist/types/components/Icons/icons.d.ts +18 -6
  65. package/dist/types/components/Icons/icons.d.ts.map +1 -1
  66. package/dist/types/components/InfiniteScrollPaginator/InfiniteScroll.d.ts +0 -20
  67. package/dist/types/components/InfiniteScrollPaginator/InfiniteScroll.d.ts.map +1 -1
  68. package/dist/types/components/LoadMore/LoadMoreButton.d.ts +1 -6
  69. package/dist/types/components/LoadMore/LoadMoreButton.d.ts.map +1 -1
  70. package/dist/types/components/LoadMore/LoadMorePaginator.d.ts.map +1 -1
  71. package/dist/types/components/Loading/UploadProgressIndicator.d.ts +5 -0
  72. package/dist/types/components/Loading/UploadProgressIndicator.d.ts.map +1 -0
  73. package/dist/types/components/Loading/UploadedSizeIndicator.d.ts +6 -0
  74. package/dist/types/components/Loading/UploadedSizeIndicator.d.ts.map +1 -0
  75. package/dist/types/components/Loading/index.d.ts +3 -0
  76. package/dist/types/components/Loading/index.d.ts.map +1 -1
  77. package/dist/types/components/Loading/progress-indicators.d.ts +7 -0
  78. package/dist/types/components/Loading/progress-indicators.d.ts.map +1 -0
  79. package/dist/types/components/Location/ShareLocationDialog.d.ts.map +1 -1
  80. package/dist/types/components/MediaRecorder/AudioRecorder/AudioRecorderRecordingControls.d.ts.map +1 -1
  81. package/dist/types/components/Message/Message.d.ts.map +1 -1
  82. package/dist/types/components/Message/MessageAlsoSentInChannelIndicator.d.ts.map +1 -1
  83. package/dist/types/components/Message/MessageUI.d.ts.map +1 -1
  84. package/dist/types/components/Message/hooks/useDeleteHandler.d.ts +1 -5
  85. package/dist/types/components/Message/hooks/useDeleteHandler.d.ts.map +1 -1
  86. package/dist/types/components/Message/hooks/useFlagHandler.d.ts +1 -6
  87. package/dist/types/components/Message/hooks/useFlagHandler.d.ts.map +1 -1
  88. package/dist/types/components/Message/hooks/useMarkUnreadHandler.d.ts +1 -6
  89. package/dist/types/components/Message/hooks/useMarkUnreadHandler.d.ts.map +1 -1
  90. package/dist/types/components/Message/hooks/useMuteHandler.d.ts +2 -7
  91. package/dist/types/components/Message/hooks/useMuteHandler.d.ts.map +1 -1
  92. package/dist/types/components/Message/hooks/usePinHandler.d.ts +1 -23
  93. package/dist/types/components/Message/hooks/usePinHandler.d.ts.map +1 -1
  94. package/dist/types/components/Message/hooks/useReactionsFetcher.d.ts +1 -6
  95. package/dist/types/components/Message/hooks/useReactionsFetcher.d.ts.map +1 -1
  96. package/dist/types/components/Message/hooks/useUserRole.d.ts +1 -1
  97. package/dist/types/components/Message/hooks/useUserRole.d.ts.map +1 -1
  98. package/dist/types/components/Message/types.d.ts +1 -23
  99. package/dist/types/components/Message/types.d.ts.map +1 -1
  100. package/dist/types/components/Message/utils.d.ts +2 -2
  101. package/dist/types/components/Message/utils.d.ts.map +1 -1
  102. package/dist/types/components/MessageActions/MessageActions.d.ts.map +1 -1
  103. package/dist/types/components/MessageActions/MessageActions.defaults.d.ts.map +1 -1
  104. package/dist/types/components/MessageActions/RemindMeSubmenu.d.ts.map +1 -1
  105. package/dist/types/components/MessageActions/hooks/useBaseMessageActionSetFilter.d.ts +1 -1
  106. package/dist/types/components/MessageActions/hooks/useBaseMessageActionSetFilter.d.ts.map +1 -1
  107. package/dist/types/components/MessageComposer/AttachmentPreviewList/AttachmentUploadedSizeIndicator.d.ts +14 -0
  108. package/dist/types/components/MessageComposer/AttachmentPreviewList/AttachmentUploadedSizeIndicator.d.ts.map +1 -0
  109. package/dist/types/components/MessageComposer/AttachmentPreviewList/AudioAttachmentPreview.d.ts.map +1 -1
  110. package/dist/types/components/MessageComposer/AttachmentPreviewList/FileAttachmentPreview.d.ts.map +1 -1
  111. package/dist/types/components/MessageComposer/AttachmentPreviewList/MediaAttachmentPreview.d.ts.map +1 -1
  112. package/dist/types/components/MessageComposer/AttachmentPreviewList/UnsupportedAttachmentPreview.d.ts +1 -1
  113. package/dist/types/components/MessageComposer/AttachmentPreviewList/UnsupportedAttachmentPreview.d.ts.map +1 -1
  114. package/dist/types/components/MessageComposer/hooks/useSubmitHandler.d.ts.map +1 -1
  115. package/dist/types/components/MessageComposer/icons.d.ts +0 -1
  116. package/dist/types/components/MessageComposer/icons.d.ts.map +1 -1
  117. package/dist/types/components/MessageList/MessageList.d.ts +1 -1
  118. package/dist/types/components/MessageList/MessageList.d.ts.map +1 -1
  119. package/dist/types/components/MessageList/hooks/MessageList/useFloatingDateSeparatorMessageList.d.ts +2 -2
  120. package/dist/types/components/MessageList/hooks/MessageList/useFloatingDateSeparatorMessageList.d.ts.map +1 -1
  121. package/dist/types/components/MessageList/hooks/MessageList/useScrollLocationLogic.d.ts.map +1 -1
  122. package/dist/types/components/MessageList/hooks/VirtualizedMessageList/useFloatingDateSeparator.d.ts.map +1 -1
  123. package/dist/types/components/MessageList/index.d.ts +0 -1
  124. package/dist/types/components/MessageList/index.d.ts.map +1 -1
  125. package/dist/types/components/MessageList/utils.d.ts +0 -1
  126. package/dist/types/components/MessageList/utils.d.ts.map +1 -1
  127. package/dist/types/components/Notifications/NotificationList.d.ts.map +1 -1
  128. package/dist/types/components/Notifications/hooks/index.d.ts +2 -0
  129. package/dist/types/components/Notifications/hooks/index.d.ts.map +1 -1
  130. package/dist/types/components/Notifications/hooks/useNotificationApi.d.ts +63 -0
  131. package/dist/types/components/Notifications/hooks/useNotificationApi.d.ts.map +1 -0
  132. package/dist/types/components/Notifications/hooks/useSystemNotifications.d.ts +14 -0
  133. package/dist/types/components/Notifications/hooks/useSystemNotifications.d.ts.map +1 -0
  134. package/dist/types/components/Notifications/notificationTarget.d.ts +1 -0
  135. package/dist/types/components/Notifications/notificationTarget.d.ts.map +1 -1
  136. package/dist/types/components/Poll/PollActions/EndPollAlert.d.ts.map +1 -1
  137. package/dist/types/components/Poll/PollCreationDialog/OptionFieldSet.d.ts.map +1 -1
  138. package/dist/types/components/ReactFileUtilities/UploadButton.d.ts +3 -11
  139. package/dist/types/components/ReactFileUtilities/UploadButton.d.ts.map +1 -1
  140. package/dist/types/components/Reactions/MessageReactions.d.ts.map +1 -1
  141. package/dist/types/components/Reactions/MessageReactionsDetail.d.ts +12 -2
  142. package/dist/types/components/Reactions/MessageReactionsDetail.d.ts.map +1 -1
  143. package/dist/types/components/Reactions/ReactionSelector.d.ts +5 -0
  144. package/dist/types/components/Reactions/ReactionSelector.d.ts.map +1 -1
  145. package/dist/types/components/Reactions/hooks/useFetchReactions.d.ts.map +1 -1
  146. package/dist/types/components/Reactions/index.d.ts +0 -1
  147. package/dist/types/components/Reactions/index.d.ts.map +1 -1
  148. package/dist/types/components/SummarizedMessagePreview/SummarizedMessagePreview.d.ts.map +1 -1
  149. package/dist/types/components/SummarizedMessagePreview/hooks/useLatestMessagePreview.d.ts +1 -1
  150. package/dist/types/components/SummarizedMessagePreview/hooks/useLatestMessagePreview.d.ts.map +1 -1
  151. package/dist/types/components/Thread/ThreadHeader.d.ts +0 -2
  152. package/dist/types/components/Thread/ThreadHeader.d.ts.map +1 -1
  153. package/dist/types/components/Threads/ThreadList/ThreadList.d.ts.map +1 -1
  154. package/dist/types/components/Threads/ThreadList/ThreadListHeader.d.ts +1 -5
  155. package/dist/types/components/Threads/ThreadList/ThreadListHeader.d.ts.map +1 -1
  156. package/dist/types/components/Threads/ThreadList/ThreadListItemUI.d.ts.map +1 -1
  157. package/dist/types/components/Tooltip/Tooltip.d.ts +4 -2
  158. package/dist/types/components/Tooltip/Tooltip.d.ts.map +1 -1
  159. package/dist/types/components/index.d.ts +2 -2
  160. package/dist/types/components/index.d.ts.map +1 -1
  161. package/dist/types/context/ChatContext.d.ts +0 -3
  162. package/dist/types/context/ChatContext.d.ts.map +1 -1
  163. package/dist/types/context/ComponentContext.d.ts +18 -2
  164. package/dist/types/context/ComponentContext.d.ts.map +1 -1
  165. package/dist/types/context/MessageContext.d.ts +0 -3
  166. package/dist/types/context/MessageContext.d.ts.map +1 -1
  167. package/dist/types/i18n/Streami18n.d.ts +21 -11
  168. package/dist/types/i18n/Streami18n.d.ts.map +1 -1
  169. package/dist/types/plugins/Emojis/EmojiPicker.d.ts +0 -6
  170. package/dist/types/plugins/Emojis/EmojiPicker.d.ts.map +1 -1
  171. package/dist/types/types/types.d.ts +0 -5
  172. package/dist/types/types/types.d.ts.map +1 -1
  173. package/package.json +4 -4
  174. package/dist/cjs/WithAudioPlayback.f9abf707.js.map +0 -1
  175. package/dist/es/WithAudioPlayback.d90f1a99.mjs.map +0 -1
  176. package/dist/types/components/Button/ToggleSidebarButton.d.ts +0 -10
  177. package/dist/types/components/Button/ToggleSidebarButton.d.ts.map +0 -1
  178. package/dist/types/components/ChannelHeader/hooks/useIsMobileViewport.d.ts +0 -3
  179. package/dist/types/components/ChannelHeader/hooks/useIsMobileViewport.d.ts.map +0 -1
  180. package/dist/types/components/ChannelList/hooks/useChannelDeletedListener.d.ts +0 -3
  181. package/dist/types/components/ChannelList/hooks/useChannelDeletedListener.d.ts.map +0 -1
  182. package/dist/types/components/ChannelList/hooks/useChannelHiddenListener.d.ts +0 -3
  183. package/dist/types/components/ChannelList/hooks/useChannelHiddenListener.d.ts.map +0 -1
  184. package/dist/types/components/ChannelList/hooks/useChannelTruncatedListener.d.ts +0 -3
  185. package/dist/types/components/ChannelList/hooks/useChannelTruncatedListener.d.ts.map +0 -1
  186. package/dist/types/components/ChannelList/hooks/useChannelUpdatedListener.d.ts +0 -3
  187. package/dist/types/components/ChannelList/hooks/useChannelUpdatedListener.d.ts.map +0 -1
  188. package/dist/types/components/ChannelList/hooks/useChannelVisibleListener.d.ts +0 -3
  189. package/dist/types/components/ChannelList/hooks/useChannelVisibleListener.d.ts.map +0 -1
  190. package/dist/types/components/ChannelList/hooks/useMessageNewListener.d.ts +0 -3
  191. package/dist/types/components/ChannelList/hooks/useMessageNewListener.d.ts.map +0 -1
  192. package/dist/types/components/ChannelList/hooks/useMobileNavigation.d.ts +0 -2
  193. package/dist/types/components/ChannelList/hooks/useMobileNavigation.d.ts.map +0 -1
  194. package/dist/types/components/ChannelList/hooks/useNotificationAddedToChannelListener.d.ts +0 -3
  195. package/dist/types/components/ChannelList/hooks/useNotificationAddedToChannelListener.d.ts.map +0 -1
  196. package/dist/types/components/ChannelList/hooks/useNotificationMessageNewListener.d.ts +0 -3
  197. package/dist/types/components/ChannelList/hooks/useNotificationMessageNewListener.d.ts.map +0 -1
  198. package/dist/types/components/ChannelList/hooks/useNotificationRemovedFromChannelListener.d.ts +0 -3
  199. package/dist/types/components/ChannelList/hooks/useNotificationRemovedFromChannelListener.d.ts.map +0 -1
  200. package/dist/types/components/ChannelList/hooks/useUserPresenceChangedListener.d.ts +0 -3
  201. package/dist/types/components/ChannelList/hooks/useUserPresenceChangedListener.d.ts.map +0 -1
  202. package/dist/types/components/MessageList/ConnectionStatus.d.ts +0 -3
  203. package/dist/types/components/MessageList/ConnectionStatus.d.ts.map +0 -1
  204. package/dist/types/components/Reactions/StreamEmoji.d.ts +0 -19
  205. package/dist/types/components/Reactions/StreamEmoji.d.ts.map +0 -1
  206. package/dist/types/utils/deprecationWarning.d.ts +0 -2
  207. package/dist/types/utils/deprecationWarning.d.ts.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"useFloatingDateSeparatorMessageList.d.ts","sourceRoot":"","sources":["../../../../../../src/components/MessageList/hooks/MessageList/useFloatingDateSeparatorMessageList.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAMnD,MAAM,MAAM,yCAAyC,GAAG;IACtD,oBAAoB,EAAE,OAAO,CAAC;IAC9B,WAAW,EAAE,cAAc,GAAG,IAAI,CAAC;IACnC,iBAAiB,EAAE,eAAe,EAAE,CAAC;CACtC,CAAC;AAEF,MAAM,MAAM,yCAAyC,GAAG;IACtD,YAAY,EAAE,IAAI,GAAG,IAAI,CAAC;IAC1B,gBAAgB,EAAE,OAAO,CAAC;CAC3B,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,mCAAmC,8DAI7C,yCAAyC,KAAG,yCA8E9C,CAAC"}
1
+ {"version":3,"file":"useFloatingDateSeparatorMessageList.d.ts","sourceRoot":"","sources":["../../../../../../src/components/MessageList/hooks/MessageList/useFloatingDateSeparatorMessageList.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAMnD,MAAM,MAAM,yCAAyC,GAAG;IACtD,oBAAoB,EAAE,OAAO,CAAC;IAC9B,WAAW,EAAE,cAAc,GAAG,IAAI,CAAC;IACnC,iBAAiB,EAAE,eAAe,EAAE,CAAC;CACtC,CAAC;AAEF,MAAM,MAAM,yCAAyC,GAAG;IACtD,YAAY,EAAE,IAAI,GAAG,IAAI,CAAC;IAC1B,gBAAgB,EAAE,OAAO,CAAC;CAC3B,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,mCAAmC,8DAI7C,yCAAyC,KAAG,yCAuE9C,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"useScrollLocationLogic.d.ts","sourceRoot":"","sources":["../../../../../../src/components/MessageList/hooks/MessageList/useScrollLocationLogic.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAEhD,MAAM,MAAM,4BAA4B,GAAG;IACzC,yEAAyE;IACzE,yBAAyB,CAAC,EAAE,OAAO,CAAC;IACpC,wFAAwF;IACxF,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAClC,qFAAqF;IACrF,YAAY,EAAE,OAAO,CAAC;IACtB,iDAAiD;IACjD,WAAW,EAAE,cAAc,GAAG,IAAI,CAAC;IACnC,6EAA6E;IAC7E,uBAAuB,EAAE,MAAM,CAAC;IAChC,wEAAwE;IACxE,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,4CAA4C;IAC5C,kBAAkB,EAAE,OAAO,CAAC;IAC5B,mEAAmE;IACnE,QAAQ,CAAC,EAAE,YAAY,EAAE,CAAC;IAC1B,6DAA6D;IAC7D,mBAAmB,CAAC,EAAE,MAAM,CAAC;CAC9B,CAAC;AAEF;;;;;;;;GAQG;AACH,eAAO,MAAM,sBAAsB,WAAY,4BAA4B;;;sBAiW/D,aAAa,CAAC,cAAc,CAAC;+BAnK1B,eAAe;;CAwM7B,CAAC"}
1
+ {"version":3,"file":"useScrollLocationLogic.d.ts","sourceRoot":"","sources":["../../../../../../src/components/MessageList/hooks/MessageList/useScrollLocationLogic.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAEhD,MAAM,MAAM,4BAA4B,GAAG;IACzC,yEAAyE;IACzE,yBAAyB,CAAC,EAAE,OAAO,CAAC;IACpC,wFAAwF;IACxF,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAClC,qFAAqF;IACrF,YAAY,EAAE,OAAO,CAAC;IACtB,iDAAiD;IACjD,WAAW,EAAE,cAAc,GAAG,IAAI,CAAC;IACnC,6EAA6E;IAC7E,uBAAuB,EAAE,MAAM,CAAC;IAChC,wEAAwE;IACxE,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,4CAA4C;IAC5C,kBAAkB,EAAE,OAAO,CAAC;IAC5B,mEAAmE;IACnE,QAAQ,CAAC,EAAE,YAAY,EAAE,CAAC;IAC1B,6DAA6D;IAC7D,mBAAmB,CAAC,EAAE,MAAM,CAAC;CAC9B,CAAC;AAEF;;;;;;;;GAQG;AACH,eAAO,MAAM,sBAAsB,WAAY,4BAA4B;;;sBA0X/D,aAAa,CAAC,cAAc,CAAC;+BA1L1B,eAAe;;CA+N7B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"useFloatingDateSeparator.d.ts","sourceRoot":"","sources":["../../../../../../src/components/MessageList/hooks/VirtualizedMessageList/useFloatingDateSeparator.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAInD,MAAM,MAAM,8BAA8B,GAAG;IAC3C,oBAAoB,EAAE,OAAO,CAAC;IAC9B,iBAAiB,EAAE,eAAe,EAAE,CAAC;CACtC,CAAC;AAEF,MAAM,MAAM,8BAA8B,GAAG;IAC3C,YAAY,EAAE,IAAI,GAAG,IAAI,CAAC;IAC1B,eAAe,EAAE,CAAC,QAAQ,EAAE,eAAe,EAAE,KAAK,IAAI,CAAC;IACvD,gBAAgB,EAAE,OAAO,CAAC;CAC3B,CAAC;AAsCF,eAAO,MAAM,wBAAwB,iDAGlC,8BAA8B,KAAG,8BAyDnC,CAAC"}
1
+ {"version":3,"file":"useFloatingDateSeparator.d.ts","sourceRoot":"","sources":["../../../../../../src/components/MessageList/hooks/VirtualizedMessageList/useFloatingDateSeparator.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAInD,MAAM,MAAM,8BAA8B,GAAG;IAC3C,oBAAoB,EAAE,OAAO,CAAC;IAC9B,iBAAiB,EAAE,eAAe,EAAE,CAAC;CACtC,CAAC;AAEF,MAAM,MAAM,8BAA8B,GAAG;IAC3C,YAAY,EAAE,IAAI,GAAG,IAAI,CAAC;IAC1B,eAAe,EAAE,CAAC,QAAQ,EAAE,eAAe,EAAE,KAAK,IAAI,CAAC;IACvD,gBAAgB,EAAE,OAAO,CAAC;CAC3B,CAAC;AAgDF,eAAO,MAAM,wBAAwB,iDAGlC,8BAA8B,KAAG,8BA0CnC,CAAC"}
@@ -1,4 +1,3 @@
1
- export * from './ConnectionStatus';
2
1
  export * from './GiphyPreviewMessage';
3
2
  export * from './MessageList';
4
3
  export * from './NewMessageNotification';
@@ -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,0BAA0B,CAAC;AACzC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,0BAA0B,CAAC;AACzC,cAAc,SAAS,CAAC;AACxB,cAAc,kBAAkB,CAAC;AACjC,cAAc,SAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageList/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC;AACtC,cAAc,eAAe,CAAC;AAC9B,cAAc,0BAA0B,CAAC;AACzC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,0BAA0B,CAAC;AACzC,cAAc,SAAS,CAAC;AACxB,cAAc,kBAAkB,CAAC;AACjC,cAAc,SAAS,CAAC"}
@@ -66,7 +66,6 @@ export declare const insertIntro: (messages: RenderedMessage[], headerPosition?:
66
66
  export type GroupStyle = '' | 'middle' | 'top' | 'bottom' | 'single';
67
67
  export declare const getGroupStyles: (message: RenderedMessage, previousMessage: RenderedMessage, nextMessage: RenderedMessage, noGroupByUser: boolean, maxTimeBetweenGroupedMessages?: number) => GroupStyle;
68
68
  export declare const hasMoreMessagesProbably: (returnedCountMessages: number, limit: number) => boolean;
69
- export declare const hasNotMoreMessages: (returnedCountMessages: number, limit: number) => boolean;
70
69
  export declare function isIntroMessage(message: unknown): message is IntroMessage;
71
70
  export declare function isDateSeparatorMessage(message: unknown): message is DateSeparatorMessage;
72
71
  export declare function isLocalMessage(message: unknown): message is LocalMessage;
@@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O,MAAM,uBAAuB,6HAQjC;IACD,cAAc,EAAE,OAAO,CAAC;IACxB,OAAO,EAAE,YAAY,CAAC;IACtB,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,YAAY,CAAC,EAAE,IAAI,CAAC;IACpB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,eAAe,CAAC,EAAE,eAAe,CAAC;IAClC,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B,YAmBA,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"NotificationList.d.ts","sourceRoot":"","sources":["../../../../src/components/Notifications/NotificationList.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAMhD,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AAEpE,MAAM,MAAM,sBAAsB,GAAG,CAAC,YAAY,EAAE,YAAY,KAAK,OAAO,CAAC;AAC7E,MAAM,MAAM,yBAAyB,GAAG,QAAQ,GAAG,MAAM,GAAG,OAAO,GAAG,KAAK,CAAC;AAC5E,MAAM,MAAM,iCAAiC,GAAG,QAAQ,GAAG,KAAK,CAAC;AAEjE,MAAM,MAAM,qBAAqB,GAAG;IAClC,iDAAiD;IACjD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;OAGG;IACH,SAAS,CAAC,EAAE,yBAAyB,CAAC;IACtC;;;OAGG;IACH,MAAM,CAAC,EAAE,sBAAsB,CAAC;IAChC,0CAA0C;IAC1C,KAAK,CAAC,EAAE,uBAAuB,CAAC;IAChC,qFAAqF;IACrF,aAAa,CAAC,EAAE,uBAAuB,CAAC;IACxC,kGAAkG;IAClG,iBAAiB,CAAC,EAAE,iCAAiC,CAAC;CACvD,CAAC;AAgCF,eAAO,MAAM,gBAAgB,+EAO1B,qBAAqB,mDA+JvB,CAAC"}
1
+ {"version":3,"file":"NotificationList.d.ts","sourceRoot":"","sources":["../../../../src/components/Notifications/NotificationList.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAOhD,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AAEpE,MAAM,MAAM,sBAAsB,GAAG,CAAC,YAAY,EAAE,YAAY,KAAK,OAAO,CAAC;AAC7E,MAAM,MAAM,yBAAyB,GAAG,QAAQ,GAAG,MAAM,GAAG,OAAO,GAAG,KAAK,CAAC;AAC5E,MAAM,MAAM,iCAAiC,GAAG,QAAQ,GAAG,KAAK,CAAC;AAEjE,MAAM,MAAM,qBAAqB,GAAG;IAClC,iDAAiD;IACjD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;OAGG;IACH,SAAS,CAAC,EAAE,yBAAyB,CAAC;IACtC;;;OAGG;IACH,MAAM,CAAC,EAAE,sBAAsB,CAAC;IAChC,0CAA0C;IAC1C,KAAK,CAAC,EAAE,uBAAuB,CAAC;IAChC,qFAAqF;IACrF,aAAa,CAAC,EAAE,uBAAuB,CAAC;IACxC,kGAAkG;IAClG,iBAAiB,CAAC,EAAE,iCAAiC,CAAC;CACvD,CAAC;AAgCF,eAAO,MAAM,gBAAgB,+EAO1B,qBAAqB,mDA4KvB,CAAC"}
@@ -1,3 +1,5 @@
1
1
  export * from './useNotifications';
2
+ export * from './useSystemNotifications';
2
3
  export * from './useNotificationTarget';
4
+ export * from './useNotificationApi';
3
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Notifications/hooks/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,yBAAyB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Notifications/hooks/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,0BAA0B,CAAC;AACzC,cAAc,yBAAyB,CAAC;AACxC,cAAc,sBAAsB,CAAC"}
@@ -0,0 +1,63 @@
1
+ import type { Notification, NotificationAction, NotificationSeverity } from 'stream-chat';
2
+ import { type NotificationTargetPanel } from '../notificationTarget';
3
+ /** Tag used for full-width system banners (e.g. connection status). Excluded from `NotificationList` by default. */
4
+ export declare const SYSTEM_NOTIFICATION_TAG: "system";
5
+ export declare const hasSystemNotificationTag: (notification: Notification) => boolean;
6
+ export type NotificationIncidentDescriptor = {
7
+ /** Where the incident happened (e.g. api, browser, validation, permission). */
8
+ domain: string;
9
+ /** Entity being operated on (e.g. message, poll, location, attachment). */
10
+ entity: string;
11
+ /** Attempted operation (e.g. send, end, share, upload). */
12
+ operation: string;
13
+ /** Status of the operation (e.g. failed, success, blocked). */
14
+ status?: string;
15
+ };
16
+ export type AddNotificationParams = {
17
+ /** Optional interactive actions rendered by the notification component. */
18
+ actions?: NotificationAction[];
19
+ /** Arbitrary context metadata stored in `origin.context`. */
20
+ context?: Record<string, unknown>;
21
+ /** Duration in milliseconds after which the notification auto-dismisses. */
22
+ duration?: number;
23
+ /** Logical source emitting the notification (e.g. component or feature name). */
24
+ emitter: string;
25
+ /** Underlying error object attached as `options.originalError`. */
26
+ error?: Error;
27
+ /** Human-readable notification message. */
28
+ message: string;
29
+ /** Notification severity visualized by the UI. */
30
+ severity?: NotificationSeverity;
31
+ /** Additional tags appended to target panel tags. */
32
+ tags?: string[];
33
+ /** Explicit target panels; when provided, inferred panel is ignored. */
34
+ targetPanels?: NotificationTargetPanel[];
35
+ /** Structured descriptor of the incident this notification reports on. */
36
+ incident?: NotificationIncidentDescriptor;
37
+ /**
38
+ * Optional machine-readable notification type identifier (domain:entity:operation:status).
39
+ * Used by notification consumers to route behavior, including translation lookup
40
+ * via notification-type registries.
41
+ * When omitted, `type` is generated from `incident` if `incident` is provided.
42
+ */
43
+ type?: string;
44
+ };
45
+ /**
46
+ * Same shape as {@link AddNotificationParams} except `targetPanels` is omitted — system
47
+ * banners are global and do not receive `target:*` panel tags (they are filtered by the
48
+ * `system` tag for `NotificationList` vs banner UIs).
49
+ */
50
+ export type AddSystemNotificationParams = Omit<AddNotificationParams, 'targetPanels'>;
51
+ export type AddNotification = (params: AddNotificationParams) => void;
52
+ /** Returns the notification id (for removal / timeouts). */
53
+ export type AddSystemNotification = (params: AddSystemNotificationParams) => string;
54
+ export type RemoveNotification = (id: string) => void;
55
+ export type StartNotificationTimeout = (id: string) => void;
56
+ export type NotificationApi = {
57
+ addNotification: AddNotification;
58
+ addSystemNotification: AddSystemNotification;
59
+ removeNotification: RemoveNotification;
60
+ startNotificationTimeout: StartNotificationTimeout;
61
+ };
62
+ export declare const useNotificationApi: () => NotificationApi;
63
+ //# sourceMappingURL=useNotificationApi.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useNotificationApi.d.ts","sourceRoot":"","sources":["../../../../../src/components/Notifications/hooks/useNotificationApi.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAC;AAG1F,OAAO,EAGL,KAAK,uBAAuB,EAC7B,MAAM,uBAAuB,CAAC;AAG/B,oHAAoH;AACpH,eAAO,MAAM,uBAAuB,UAAoB,CAAC;AAEzD,eAAO,MAAM,wBAAwB,iBAAkB,YAAY,YACJ,CAAC;AAEhE,MAAM,MAAM,8BAA8B,GAAG;IAC3C,+EAA+E;IAC/E,MAAM,EAAE,MAAM,CAAC;IACf,2EAA2E;IAC3E,MAAM,EAAE,MAAM,CAAC;IACf,2DAA2D;IAC3D,SAAS,EAAE,MAAM,CAAC;IAClB,+DAA+D;IAC/D,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG;IAClC,2EAA2E;IAC3E,OAAO,CAAC,EAAE,kBAAkB,EAAE,CAAC;IAC/B,6DAA6D;IAC7D,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAClC,4EAA4E;IAC5E,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,iFAAiF;IACjF,OAAO,EAAE,MAAM,CAAC;IAChB,mEAAmE;IACnE,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,2CAA2C;IAC3C,OAAO,EAAE,MAAM,CAAC;IAChB,kDAAkD;IAClD,QAAQ,CAAC,EAAE,oBAAoB,CAAC;IAChC,qDAAqD;IACrD,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAChB,wEAAwE;IACxE,YAAY,CAAC,EAAE,uBAAuB,EAAE,CAAC;IACzC,0EAA0E;IAC1E,QAAQ,CAAC,EAAE,8BAA8B,CAAC;IAC1C;;;;;OAKG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;AAEF;;;;GAIG;AACH,MAAM,MAAM,2BAA2B,GAAG,IAAI,CAAC,qBAAqB,EAAE,cAAc,CAAC,CAAC;AAEtF,MAAM,MAAM,eAAe,GAAG,CAAC,MAAM,EAAE,qBAAqB,KAAK,IAAI,CAAC;AACtE,4DAA4D;AAC5D,MAAM,MAAM,qBAAqB,GAAG,CAAC,MAAM,EAAE,2BAA2B,KAAK,MAAM,CAAC;AACpF,MAAM,MAAM,kBAAkB,GAAG,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;AACtD,MAAM,MAAM,wBAAwB,GAAG,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;AAE5D,MAAM,MAAM,eAAe,GAAG;IAC5B,eAAe,EAAE,eAAe,CAAC;IACjC,qBAAqB,EAAE,qBAAqB,CAAC;IAC7C,kBAAkB,EAAE,kBAAkB,CAAC;IACvC,wBAAwB,EAAE,wBAAwB,CAAC;CACpD,CAAC;AAiCF,eAAO,MAAM,kBAAkB,QAAO,eAiGrC,CAAC"}
@@ -0,0 +1,14 @@
1
+ import type { Notification } from 'stream-chat';
2
+ export type UseSystemNotificationsFilter = (notification: Notification) => boolean;
3
+ export type UseSystemNotificationsOptions = {
4
+ /**
5
+ * Applied after the built-in filter that keeps only notifications tagged for the system banner.
6
+ */
7
+ filter?: UseSystemNotificationsFilter;
8
+ };
9
+ /**
10
+ * Subscribes to `client.notifications` and returns only **system** banner notifications
11
+ * (same subset `NotificationList` excludes from toasts). Optional `filter` narrows further.
12
+ */
13
+ export declare const useSystemNotifications: (options?: UseSystemNotificationsOptions) => Notification[];
14
+ //# sourceMappingURL=useSystemNotifications.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useSystemNotifications.d.ts","sourceRoot":"","sources":["../../../../../src/components/Notifications/hooks/useSystemNotifications.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAA4B,MAAM,aAAa,CAAC;AAO1E,MAAM,MAAM,4BAA4B,GAAG,CAAC,YAAY,EAAE,YAAY,KAAK,OAAO,CAAC;AAEnF,MAAM,MAAM,6BAA6B,GAAG;IAC1C;;OAEG;IACH,MAAM,CAAC,EAAE,4BAA4B,CAAC;CACvC,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,sBAAsB,aACvB,6BAA6B,KACtC,YAAY,EAiBd,CAAC"}
@@ -7,6 +7,7 @@ declare const NOTIFICATION_TARGET_PANELS: readonly ["channel", "thread", "channe
7
7
  export type NotificationTargetPanel = (typeof NOTIFICATION_TARGET_PANELS)[number];
8
8
  export declare const isNotificationTargetPanel: (value: unknown) => value is "channel" | "thread" | "channel-list" | "thread-list";
9
9
  export declare const getNotificationTargetPanel: (notification: Notification) => NotificationTargetPanel | undefined;
10
+ export declare const getNotificationTargetPanels: (notification: Notification) => NotificationTargetPanel[];
10
11
  export declare const getNotificationTargetTag: (panel: NotificationTargetPanel) => "target:channel" | "target:thread" | "target:channel-list" | "target:thread-list";
11
12
  export declare const addNotificationTargetTag: (panel: NotificationTargetPanel | undefined, tags?: string[]) => string[];
12
13
  export declare const isNotificationForPanel: (notification: Notification, panel: NotificationTargetPanel, options?: {
@@ -1 +1 @@
1
- {"version":3,"file":"notificationTarget.d.ts","sourceRoot":"","sources":["../../../../src/components/Notifications/notificationTarget.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAEhD,QAAA,MAAM,0BAA0B,+DAKtB,CAAC;AAEX;;;GAGG;AACH,MAAM,MAAM,uBAAuB,GAAG,CAAC,OAAO,0BAA0B,CAAC,CAAC,MAAM,CAAC,CAAC;AAElF,eAAO,MAAM,yBAAyB,UAC7B,OAAO,mEAGmD,CAAC;AAEpE,eAAO,MAAM,0BAA0B,iBACvB,YAAY,KACzB,uBAAuB,GAAG,SAQ5B,CAAC;AAEF,eAAO,MAAM,wBAAwB,UAAW,uBAAuB,sFAC3C,CAAC;AAE7B,eAAO,MAAM,wBAAwB,UAC5B,uBAAuB,GAAG,SAAS,SACnC,MAAM,EAAE,aAIhB,CAAC;AAEF,eAAO,MAAM,sBAAsB,iBACnB,YAAY,SACnB,uBAAuB,YACpB;IAAE,aAAa,CAAC,EAAE,uBAAuB,CAAA;CAAE,YAKtD,CAAC"}
1
+ {"version":3,"file":"notificationTarget.d.ts","sourceRoot":"","sources":["../../../../src/components/Notifications/notificationTarget.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAEhD,QAAA,MAAM,0BAA0B,+DAKtB,CAAC;AAEX;;;GAGG;AACH,MAAM,MAAM,uBAAuB,GAAG,CAAC,OAAO,0BAA0B,CAAC,CAAC,MAAM,CAAC,CAAC;AAElF,eAAO,MAAM,yBAAyB,UAC7B,OAAO,mEAGmD,CAAC;AAEpE,eAAO,MAAM,0BAA0B,iBACvB,YAAY,KACzB,uBAAuB,GAAG,SAQ5B,CAAC;AAEF,eAAO,MAAM,2BAA2B,iBACxB,YAAY,KACzB,uBAAuB,EAczB,CAAC;AAEF,eAAO,MAAM,wBAAwB,UAAW,uBAAuB,sFAC3C,CAAC;AAE7B,eAAO,MAAM,wBAAwB,UAC5B,uBAAuB,GAAG,SAAS,SACnC,MAAM,EAAE,aAIhB,CAAC;AAEF,eAAO,MAAM,sBAAsB,iBACnB,YAAY,SACnB,uBAAuB,YACpB;IAAE,aAAa,CAAC,EAAE,uBAAuB,CAAA;CAAE,YAStD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"EndPollAlert.d.ts","sourceRoot":"","sources":["../../../../../src/components/Poll/PollActions/EndPollAlert.tsx"],"names":[],"mappings":"AAWA,eAAO,MAAM,YAAY,+CA8DxB,CAAC"}
1
+ {"version":3,"file":"EndPollAlert.d.ts","sourceRoot":"","sources":["../../../../../src/components/Poll/PollActions/EndPollAlert.tsx"],"names":[],"mappings":"AAMA,eAAO,MAAM,YAAY,+CAyDxB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"OptionFieldSet.d.ts","sourceRoot":"","sources":["../../../../../src/components/Poll/PollCreationDialog/OptionFieldSet.tsx"],"names":[],"mappings":"AAgBA,eAAO,MAAM,cAAc,+CA8F1B,CAAC"}
1
+ {"version":3,"file":"OptionFieldSet.d.ts","sourceRoot":"","sources":["../../../../../src/components/Poll/PollCreationDialog/OptionFieldSet.tsx"],"names":[],"mappings":"AAgBA,eAAO,MAAM,cAAc,+CA+F1B,CAAC"}
@@ -1,18 +1,10 @@
1
1
  import type { ComponentProps } from 'react';
2
2
  import React from 'react';
3
3
  import type { PartialSelected } from '../../types/types';
4
- /**
5
- * @deprecated Use FileInputProps instead.
6
- */
7
- export type UploadButtonProps = {
4
+ export type FileInputProps = {
8
5
  onFileChange: (files: Array<File>) => void;
9
6
  resetOnChange?: boolean;
10
7
  } & Omit<ComponentProps<'input'>, 'type' | 'onChange'>;
11
- /**
12
- * @deprecated Use FileInput instead
13
- */
14
- export declare const UploadButton: React.ForwardRefExoticComponent<Omit<UploadButtonProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
15
- export type FileInputProps = UploadButtonProps;
16
- export declare const FileInput: React.ForwardRefExoticComponent<Omit<UploadButtonProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
17
- export declare const UploadFileInput: React.ForwardRefExoticComponent<Omit<PartialSelected<UploadButtonProps, "onFileChange">, "ref"> & React.RefAttributes<HTMLInputElement>>;
8
+ export declare const FileInput: React.ForwardRefExoticComponent<Omit<FileInputProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
9
+ export declare const UploadFileInput: React.ForwardRefExoticComponent<Omit<PartialSelected<FileInputProps, "onFileChange">, "ref"> & React.RefAttributes<HTMLInputElement>>;
18
10
  //# sourceMappingURL=UploadButton.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"UploadButton.d.ts","sourceRoot":"","sources":["../../../../src/components/ReactFileUtilities/UploadButton.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,KAA2C,MAAM,OAAO,CAAC;AAShE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAOzD;;GAEG;AACH,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;;GAEG;AAEH,eAAO,MAAM,YAAY,yGAOvB,CAAC;AAEH,MAAM,MAAM,cAAc,GAAG,iBAAiB,CAAC;AAE/C,eAAO,MAAM,SAAS,yGAAe,CAAC;AAEtC,eAAO,MAAM,eAAe,0IA2C1B,CAAC"}
1
+ {"version":3,"file":"UploadButton.d.ts","sourceRoot":"","sources":["../../../../src/components/ReactFileUtilities/UploadButton.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,KAA2C,MAAM,OAAO,CAAC;AAShE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBA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AEG;AACH,eAAO,MAAM,gBAAgB,UA3Lc,qBAAqB,mDA6L1B,CAAC"}
@@ -1,7 +1,9 @@
1
+ import React from 'react';
1
2
  import type { ReactionSummary, ReactionType } from './types';
2
3
  import type { MessageContextValue } from '../../context';
3
4
  import type { ReactionSort } from 'stream-chat';
4
5
  import type { useProcessReactions } from './hooks/useProcessReactions';
6
+ import { type ReactionSelectorProps } from './ReactionSelector';
5
7
  export type MessageReactionsDetailProps = Partial<Pick<MessageContextValue, 'handleFetchReactions' | 'reactionDetailsSort'>> & {
6
8
  reactions: ReactionSummary[];
7
9
  selectedReactionType: ReactionType | null;
@@ -9,7 +11,15 @@ export type MessageReactionsDetailProps = Partial<Pick<MessageContextValue, 'han
9
11
  sort?: ReactionSort;
10
12
  totalReactionCount?: number;
11
13
  reactionGroups?: ReturnType<typeof useProcessReactions>['reactionGroups'];
12
- };
14
+ } & ReactionSelectorProps;
13
15
  export declare const MessageReactionsDetailLoadingIndicator: () => import("react/jsx-runtime").JSX.Element;
14
- export declare function MessageReactionsDetail({ handleFetchReactions, onSelectedReactionTypeChange, reactionDetailsSort: propReactionDetailsSort, reactionGroups, reactions, selectedReactionType, totalReactionCount, }: MessageReactionsDetailProps): import("react/jsx-runtime").JSX.Element;
16
+ interface MessageReactionsDetailInterface {
17
+ (props: MessageReactionsDetailProps): React.ReactNode;
18
+ displayName: string;
19
+ getDialogId: (_: {
20
+ messageId: string;
21
+ }) => string;
22
+ }
23
+ export declare const MessageReactionsDetail: MessageReactionsDetailInterface;
24
+ export {};
15
25
  //# sourceMappingURL=MessageReactionsDetail.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"MessageReactionsDetail.d.ts","sourceRoot":"","sources":["../../../../src/components/Reactions/MessageReactionsDetail.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAI7D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AA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,2BAA2B,GAAG,OAAO,CAC/C,IAAI,CAAC,mBAAmB,EAAE,sBAAsB,GAAG,qBAAqB,CAAC,CAC1E,GAAG;IACF,SAAS,EAAE,eAAe,EAAE,CAAC;IAC7B,oBAAoB,EAAE,YAAY,GAAG,IAAI,CAAC;IAC1C,4BAA4B,CAAC,EAAE,CAAC,YAAY,EAAE,YAAY,GAAG,IAAI,KAAK,IAAI,CAAC;IAC3E,IAAI,CAAC,EAAE,YAAY,CAAC;IACpB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,cAAc,CAAC,EAAE,UAAU,CAAC,OAAO,mBAAmB,CAAC,CAAC,gBAAgB,CAAC,CAAC;CAC3E,GAAG,qBAAqB,CAAC;AAI1B,eAAO,MAAM,sCAAsC,+CAalD,CAAC;AAEF,UAAU,+BAA+B;IACvC,CAAC,KAAK,EAAE,2BAA2B,GAAG,KAAK,CAAC,SAAS,CAAC;IACtD,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,CAAC,CAAC,EAAE;QAAE,SAAS,EAAE,MAAM,CAAA;KAAE,KAAK,MAAM,CAAC;CACnD;AAED,eAAO,MAAM,sBAAsB,EAAE,+BA0LpC,CAAC"}
@@ -1,6 +1,8 @@
1
1
  import React, { type ReactNode } from 'react';
2
2
  import type { ReactionResponse } from 'stream-chat';
3
3
  export type ReactionSelectorProps = {
4
+ /** Override dialog id used by the selector popover. */
5
+ dialogId?: string;
4
6
  /** Function that adds/removes a reaction on a message (overrides the function stored in `MessageContext`) */
5
7
  handleReaction?: (reactionType: string, event: React.BaseSyntheticEvent) => Promise<void>;
6
8
  /** An array of the own reaction objects to distinguish own reactions visually */
@@ -13,6 +15,9 @@ interface ReactionSelectorInterface {
13
15
  threadList?: boolean;
14
16
  }) => string;
15
17
  displayName: string;
18
+ ExtendedList: React.ComponentType<ReactionSelectorProps & {
19
+ dialogId?: string;
20
+ }>;
16
21
  }
17
22
  export declare const ReactionSelector: ReactionSelectorInterface;
18
23
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"ReactionSelector.d.ts","sourceRoot":"","sources":["../../../../src/components/Reactions/ReactionSelector.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,KAAK,SAAS,EAAqB,MAAM,OAAO,CAAC;AAUjE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAEpD,MAAM,MAAM,qBAAqB,GAAG;IAClC,6GAA6G;IAC7G,cAAc,CAAC,EAAE,CACf,YAAY,EAAE,MAAM,EACpB,KAAK,EAAE,KAAK,CAAC,kBAAkB,KAC5B,OAAO,CAAC,IAAI,CAAC,CAAC;IACnB,iFAAiF;IACjF,aAAa,CAAC,EAAE,gBAAgB,EAAE,CAAC;CACpC,CAAC;AAEF,UAAU,yBAAyB;IACjC,CAAC,KAAK,EAAE,qBAAqB,GAAG,SAAS,CAAC;IAC1C,WAAW,EAAE,CAAC,CAAC,EAAE;QAAE,SAAS,EAAE,MAAM,CAAC;QAAC,UAAU,CAAC,EAAE,OAAO,CAAA;KAAE,KAAK,MAAM,CAAC;IACxE,WAAW,EAAE,MAAM,CAAC;CACrB;AAID,eAAO,MAAM,gBAAgB,EAAE,yBAoH9B,CAAC"}
1
+ {"version":3,"file":"ReactionSelector.d.ts","sourceRoot":"","sources":["../../../../src/components/Reactions/ReactionSelector.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,KAAK,SAAS,EAAqB,MAAM,OAAO,CAAC;AAUjE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAEpD,MAAM,MAAM,qBAAqB,GAAG;IAClC,uDAAuD;IACvD,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,6GAA6G;IAC7G,cAAc,CAAC,EAAE,CACf,YAAY,EAAE,MAAM,EACpB,KAAK,EAAE,KAAK,CAAC,kBAAkB,KAC5B,OAAO,CAAC,IAAI,CAAC,CAAC;IACnB,iFAAiF;IACjF,aAAa,CAAC,EAAE,gBAAgB,EAAE,CAAC;CACpC,CAAC;AAEF,UAAU,yBAAyB;IACjC,CAAC,KAAK,EAAE,qBAAqB,GAAG,SAAS,CAAC;IAC1C,WAAW,EAAE,CAAC,CAAC,EAAE;QAAE,SAAS,EAAE,MAAM,CAAC;QAAC,UAAU,CAAC,EAAE,OAAO,CAAA;KAAE,KAAK,MAAM,CAAC;IACxE,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,KAAK,CAAC,aAAa,CAAC,qBAAqB,GAAG;QAAE,QAAQ,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CAClF;AAID,eAAO,MAAM,gBAAgB,EAAE,yBAiH9B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"useFetchReactions.d.ts","sourceRoot":"","sources":["../../../../../src/components/Reactions/hooks/useFetchReactions.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAClE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAG5D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAE7C,MAAM,WAAW,qBAAqB;IACpC,YAAY,EAAE,YAAY,GAAG,IAAI,CAAC;IAClC,WAAW,EAAE,OAAO,CAAC;IACrB,oBAAoB,CAAC,EAAE,mBAAmB,CAAC,sBAAsB,CAAC,CAAC;IACnE,IAAI,CAAC,EAAE,YAAY,CAAC;CACrB;AAED,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,qBAAqB;;;;EAkD/D"}
1
+ {"version":3,"file":"useFetchReactions.d.ts","sourceRoot":"","sources":["../../../../../src/components/Reactions/hooks/useFetchReactions.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAClE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAI5D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAE7C,MAAM,WAAW,qBAAqB;IACpC,YAAY,EAAE,YAAY,GAAG,IAAI,CAAC;IAClC,WAAW,EAAE,OAAO,CAAC;IACrB,oBAAoB,CAAC,EAAE,mBAAmB,CAAC,sBAAsB,CAAC,CAAC;IACnE,IAAI,CAAC,EAAE,YAAY,CAAC;CACrB;AAED,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,qBAAqB;;;;EAmE/D"}
@@ -2,6 +2,5 @@ export * from './ReactionSelector';
2
2
  export * from './MessageReactions';
3
3
  export * from './MessageReactionsDetail';
4
4
  export * from './SpriteImage';
5
- export * from './StreamEmoji';
6
5
  export * from './reactionOptions';
7
6
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Reactions/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,0BAA0B,CAAC;AACzC,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,mBAAmB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Reactions/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,0BAA0B,CAAC;AACzC,cAAc,eAAe,CAAC;AAC9B,cAAc,mBAAmB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"SummarizedMessagePreview.d.ts","sourceRoot":"","sources":["../../../../src/components/SummarizedMessagePreview/SummarizedMessagePreview.tsx"],"names":[],"mappings":"AAEA,OAAO,EAIL,KAAK,6BAA6B,EACnC,MAAM,iCAAiC,CAAC;AAqCzC,eAAO,MAAM,wBAAwB,gEAIlC,6BAA6B,4CAyC/B,CAAC"}
1
+ {"version":3,"file":"SummarizedMessagePreview.d.ts","sourceRoot":"","sources":["../../../../src/components/SummarizedMessagePreview/SummarizedMessagePreview.tsx"],"names":[],"mappings":"AAEA,OAAO,EAIL,KAAK,6BAA6B,EACnC,MAAM,iCAAiC,CAAC;AAuCzC,eAAO,MAAM,wBAAwB,gEAIlC,6BAA6B,4CAyC/B,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import type { LocalMessage } from 'stream-chat';
2
2
  import type { MessageDeliveryStatus } from '../../ChannelListItem';
3
- export type ChannelPreviewMessageType = 'text' | 'deleted' | 'error' | 'empty' | 'image' | 'giphy' | 'video' | 'voice' | 'file' | 'link' | 'location' | 'poll';
3
+ export type ChannelPreviewMessageType = 'text' | 'deleted' | 'error' | 'empty' | 'image' | 'giphy' | 'video' | 'voice' | 'file' | 'unsupported' | 'link' | 'location' | 'poll';
4
4
  /**
5
5
  * Delivery status of the last own message.
6
6
  * Determines which delivery status icon to render in the preview.
@@ -1 +1 @@
1
- {"version":3,"file":"useLatestMessagePreview.d.ts","sourceRoot":"","sources":["../../../../../src/components/SummarizedMessagePreview/hooks/useLatestMessagePreview.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAc,YAAY,EAAE,MAAM,aAAa,CAAC;AAS5D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,uBAAuB,CAAC;AAEnE,MAAM,MAAM,yBAAyB,GACjC,MAAM,GACN,SAAS,GACT,OAAO,GACP,OAAO,GACP,OAAO,GACP,OAAO,GACP,OAAO,GACP,OAAO,GACP,MAAM,GACN,MAAM,GACN,UAAU,GACV,MAAM,CAAC;AAEX;;;;;;;;GAQG;AACH,MAAM,MAAM,4BAA4B,GAAG,SAAS,GAAG,MAAM,GAAG,WAAW,GAAG,MAAM,CAAC;AAErF,MAAM,MAAM,wBAAwB,GAAG;IACrC;;;OAGG;IACH,IAAI,EAAE,yBAAyB,CAAC;IAChC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,cAAc,CAAC,EAAE,4BAA4B,CAAC;IAC9C;;;;;OAKG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AAsCF,MAAM,MAAM,6BAA6B,GAAG;IAC1C,0CAA0C;IAC1C,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,wCAAwC;IACxC,aAAa,CAAC,EAAE,YAAY,CAAC;IAC7B;;;;OAIG;IACH,qBAAqB,CAAC,EAAE,qBAAqB,CAAC;CAC/C,CAAC;AAEF,eAAO,MAAM,uBAAuB,gEAIjC,6BAA6B,KAAG,wBA0HlC,CAAC"}
1
+ {"version":3,"file":"useLatestMessagePreview.d.ts","sourceRoot":"","sources":["../../../../../src/components/SummarizedMessagePreview/hooks/useLatestMessagePreview.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAc,YAAY,EAAE,MAAM,aAAa,CAAC;AAkB5D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,uBAAuB,CAAC;AAEnE,MAAM,MAAM,yBAAyB,GACjC,MAAM,GACN,SAAS,GACT,OAAO,GACP,OAAO,GACP,OAAO,GACP,OAAO,GACP,OAAO,GACP,OAAO,GACP,MAAM,GACN,aAAa,GACb,MAAM,GACN,UAAU,GACV,MAAM,CAAC;AASX;;;;;;;;GAQG;AACH,MAAM,MAAM,4BAA4B,GAAG,SAAS,GAAG,MAAM,GAAG,WAAW,GAAG,MAAM,CAAC;AAErF,MAAM,MAAM,wBAAwB,GAAG;IACrC;;;OAGG;IACH,IAAI,EAAE,yBAAyB,CAAC;IAChC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,cAAc,CAAC,EAAE,4BAA4B,CAAC;IAC9C;;;;;OAKG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AA2CF,MAAM,MAAM,6BAA6B,GAAG;IAC1C,0CAA0C;IAC1C,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,wCAAwC;IACxC,aAAa,CAAC,EAAE,YAAY,CAAC;IAC7B;;;;OAIG;IACH,qBAAqB,CAAC,EAAE,qBAAqB,CAAC;CAC/C,CAAC;AAEF,eAAO,MAAM,uBAAuB,gEAIjC,6BAA6B,KAAG,wBA4HlC,CAAC"}
@@ -5,8 +5,6 @@ export type ThreadHeaderProps = {
5
5
  closeThread: (event?: React.BaseSyntheticEvent) => void;
6
6
  /** The thread parent message */
7
7
  thread: LocalMessage;
8
- /** UI component to display menu icon, defaults to IconSidebar*/
9
- MenuIcon?: React.ComponentType;
10
8
  /** Override the thread display title */
11
9
  overrideTitle?: string;
12
10
  };
@@ -1 +1 @@
1
- {"version":3,"file":"ThreadHeader.d.ts","sourceRoot":"","sources":["../../../../src/components/Thread/ThreadHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAW1B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAqDhD,MAAM,MAAM,iBAAiB,GAAG;IAC9B,sCAAsC;IACtC,WAAW,EAAE,CAAC,KAAK,CAAC,EAAE,KAAK,CAAC,kBAAkB,KAAK,IAAI,CAAC;IACxD,gCAAgC;IAChC,MAAM,EAAE,YAAY,CAAC;IACrB,gEAAgE;IAChE,QAAQ,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC/B,wCAAwC;IACxC,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,eAAO,MAAM,YAAY,UAAW,iBAAiB,4CA4DpD,CAAC"}
1
+ {"version":3,"file":"ThreadHeader.d.ts","sourceRoot":"","sources":["../../../../src/components/Thread/ThreadHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAY1B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAoDhD,MAAM,MAAM,iBAAiB,GAAG;IAC9B,sCAAsC;IACtC,WAAW,EAAE,CAAC,KAAK,CAAC,EAAE,KAAK,CAAC,kBAAkB,KAAK,IAAI,CAAC;IACxD,gCAAgC;IAChC,MAAM,EAAE,YAAY,CAAC;IACrB,wCAAwC;IACxC,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,eAAO,MAAM,YAAY,UAAW,iBAAiB,4CA2DpD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ThreadList.d.ts","sourceRoot":"","sources":["../../../../../src/components/Threads/ThreadList/ThreadList.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAkB,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAIpE,OAAO,KAAK,EAAE,MAAM,EAAqC,MAAM,aAAa,CAAC;AAmB7E,KAAK,eAAe,GAAG;IACrB,aAAa,CAAC,EAAE,aAAa,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CAChD,CAAC;AAEF,eAAO,MAAM,aAAa,YAqBzB,CAAC;AAqCF,eAAO,MAAM,UAAU,sBAAuB,eAAe,4CA+D5D,CAAC"}
1
+ {"version":3,"file":"ThreadList.d.ts","sourceRoot":"","sources":["../../../../../src/components/Threads/ThreadList/ThreadList.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAkB,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAEpE,OAAO,KAAK,EAAE,MAAM,EAAqC,MAAM,aAAa,CAAC;AAmB7E,KAAK,eAAe,GAAG;IACrB,aAAa,CAAC,EAAE,aAAa,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CAChD,CAAC;AAEF,eAAO,MAAM,aAAa,YAqBzB,CAAC;AAqCF,eAAO,MAAM,UAAU,sBAAuB,eAAe,4CAuD5D,CAAC"}
@@ -1,6 +1,2 @@
1
- import { type ComponentType } from 'react';
2
- export type ChannelListHeaderProps = {
3
- ToggleButtonIcon?: ComponentType;
4
- };
5
- export declare const ThreadListHeader: ({ ToggleButtonIcon, }: ChannelListHeaderProps) => import("react/jsx-runtime").JSX.Element;
1
+ export declare const ThreadListHeader: () => import("react/jsx-runtime").JSX.Element;
6
2
  //# sourceMappingURL=ThreadListHeader.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ThreadListHeader.d.ts","sourceRoot":"","sources":["../../../../../src/components/Threads/ThreadList/ThreadListHeader.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,KAAK,aAAa,EAAE,MAAM,OAAO,CAAC;AAOlD,MAAM,MAAM,sBAAsB,GAAG;IACnC,gBAAgB,CAAC,EAAE,aAAa,CAAC;CAClC,CAAC;AAEF,eAAO,MAAM,gBAAgB,0BAE1B,sBAAsB,4CAgBxB,CAAC"}
1
+ {"version":3,"file":"ThreadListHeader.d.ts","sourceRoot":"","sources":["../../../../../src/components/Threads/ThreadList/ThreadListHeader.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,gBAAgB,+CAU5B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ThreadListItemUI.d.ts","sourceRoot":"","sources":["../../../../../src/components/Threads/ThreadList/ThreadListItemUI.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,OAAO,CAAC;AAatD,MAAM,MAAM,qBAAqB,GAAG,wBAAwB,CAAC,QAAQ,CAAC,GAAG;IACvE,iBAAiB,CAAC,EAAE,MAAM,IAAI,CAAC;CAChC,CAAC;AAEF,eAAO,MAAM,gBAAgB,oCAG1B,qBAAqB,4CAsHvB,CAAC"}
1
+ {"version":3,"file":"ThreadListItemUI.d.ts","sourceRoot":"","sources":["../../../../../src/components/Threads/ThreadList/ThreadListItemUI.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,OAAO,CAAC;AAYtD,MAAM,MAAM,qBAAqB,GAAG,wBAAwB,CAAC,QAAQ,CAAC,GAAG;IACvE,iBAAiB,CAAC,EAAE,MAAM,IAAI,CAAC;CAChC,CAAC;AAEF,eAAO,MAAM,gBAAgB,oCAG1B,qBAAqB,4CA6GvB,CAAC"}
@@ -1,10 +1,12 @@
1
1
  import type { ComponentProps } from 'react';
2
2
  import React from 'react';
3
3
  import type { PopperLikePlacement } from '../Dialog';
4
- export declare const Tooltip: ({ children, ...rest }: ComponentProps<'div'>) => import("react/jsx-runtime").JSX.Element;
4
+ export declare const Tooltip: ({ children, className, ...rest }: ComponentProps<'div'>) => import("react/jsx-runtime").JSX.Element;
5
5
  export type PopperTooltipProps<T extends HTMLElement> = React.PropsWithChildren<{
6
6
  /** Reference element to which the tooltip should attach to */
7
7
  referenceElement: T | null;
8
+ /** Custom class to be merged along the defaults */
9
+ className?: string;
8
10
  /** Popper's modifier (offset) property - [xAxis offset, yAxis offset], default [0, 10] */
9
11
  offset?: [number, number];
10
12
  /** Popper's placement property defining default position of the tooltip, default 'top' */
@@ -12,5 +14,5 @@ export type PopperTooltipProps<T extends HTMLElement> = React.PropsWithChildren<
12
14
  /** Tells component whether to render its contents */
13
15
  visible?: boolean;
14
16
  }>;
15
- export declare const PopperTooltip: <T extends HTMLElement>({ children, offset, placement, referenceElement, visible, }: PopperTooltipProps<T>) => import("react/jsx-runtime").JSX.Element | null;
17
+ export declare const PopperTooltip: <T extends HTMLElement>({ children, className, offset, placement, referenceElement, visible, }: PopperTooltipProps<T>) => import("react/jsx-runtime").JSX.Element | null;
16
18
  //# sourceMappingURL=Tooltip.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Tooltip.d.ts","sourceRoot":"","sources":["../../../../src/components/Tooltip/Tooltip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,KAA8B,MAAM,OAAO,CAAC;AACnD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AAGrD,eAAO,MAAM,OAAO,0BAA2B,eAAe,KAAK,CAAC,4CAInE,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,mBAAmB,CAAC;IAChC,qDAAqD;IACrD,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC,CAAC;AAEH,eAAO,MAAM,aAAa,uFAMvB,mBAAmB,CAAC,CAAC,mDAiCvB,CAAC"}
1
+ {"version":3,"file":"Tooltip.d.ts","sourceRoot":"","sources":["../../../../src/components/Tooltip/Tooltip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,KAA8B,MAAM,OAAO,CAAC;AACnD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AAIrD,eAAO,MAAM,OAAO,qCAAsC,eAAe,KAAK,CAAC,4CAI9E,CAAC;AAEF,MAAM,MAAM,kBAAkB,CAAC,CAAC,SAAS,WAAW,IAAI,KAAK,CAAC,iBAAiB,CAAC;IAC9E,8DAA8D;IAC9D,gBAAgB,EAAE,CAAC,GAAG,IAAI,CAAC;IAC3B,mDAAmD;IACnD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,0FAA0F;IAC1F,MAAM,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC1B,0FAA0F;IAC1F,SAAS,CAAC,EAAE,mBAAmB,CAAC;IAChC,qDAAqD;IACrD,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC,CAAC;AAEH,eAAO,MAAM,aAAa,kGAOvB,mBAAmB,CAAC,CAAC,mDAiCvB,CAAC"}
@@ -41,6 +41,6 @@ export * from './Threads';
41
41
  export * from './Tooltip';
42
42
  export * from './TypingIndicator';
43
43
  export * from './Window';
44
- export { UploadButton } from './ReactFileUtilities';
45
- export type { UploadButtonProps } from './ReactFileUtilities';
44
+ export { FileInput } from './ReactFileUtilities';
45
+ export type { FileInputProps } from './ReactFileUtilities';
46
46
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC;AAChC,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,mBAAmB,CAAC;AAClC,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC;AAC3B,cAAc,iBAAiB,CAAC;AAChC,cAAc,UAAU,CAAC;AACzB,cAAc,uBAAuB,CAAC;AACtC,cAAc,kBAAkB,CAAC;AACjC,cAAc,YAAY,CAAC;AAC3B,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,2BAA2B,CAAC;AAC1C,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,iBAAiB,CAAC;AAChC,cAAc,WAAW,CAAC;AAC1B,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,eAAe,CAAC;AAC9B,cAAc,SAAS,CAAC;AACxB,cAAc,iBAAiB,CAAC;AAChC,cAAc,QAAQ,CAAC;AACvB,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,oBAAoB,CAAC;AACnC,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,mBAAmB,CAAC;AAClC,cAAc,UAAU,CAAC;AAEzB,OAAO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AC;AAClC,cAAc,UAAU,CAAC;AAEzB,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AACjD,YAAY,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC"}
@@ -11,11 +11,9 @@ export type ChatContextValue = {
11
11
  * Indicates, whether a channels query has been triggered within ChannelList by its channels pagination controller.
12
12
  */
13
13
  channelsQueryState: ChannelsQueryState;
14
- closeMobileNav: () => void;
15
14
  getAppSettings: () => Promise<AppSettingsAPIResponse> | null;
16
15
  latestMessageDatesByChannels: Record<ChannelConfId, Date>;
17
16
  mutes: Array<Mute>;
18
- openMobileNav: () => void;
19
17
  /** Instance of SearchController class that allows to control all the search operations. */
20
18
  searchController: SearchController;
21
19
  /**
@@ -37,7 +35,6 @@ export type ChatContextValue = {
37
35
  * Object through which custom classes can be set for main container components of the SDK.
38
36
  */
39
37
  customClasses?: CustomClasses;
40
- navOpen?: boolean;
41
38
  } & Partial<Pick<ChatProps, 'isMessageAIGenerated'>> & Required<Pick<ChatProps, 'theme' | 'client'>>;
42
39
  export declare const ChatContext: React.Context<ChatContextValue | undefined>;
43
40
  export declare const ChatProvider: ({ children, value, }: PropsWithChildren<{
@@ -1 +1 @@
1
- {"version":3,"file":"ChatContext.d.ts","sourceRoot":"","sources":["../../../src/context/ChatContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAC1C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAC/C,OAAO,KAAK,EACV,sBAAsB,EACtB,OAAO,EACP,IAAI,EACJ,gBAAgB,EACjB,MAAM,aAAa,CAAC;AAErB,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AACzD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,gDAAgD,CAAC;AAEzF,KAAK,UAAU,GACX,MAAM,GACN,eAAe,GACf,SAAS,GACT,aAAa,GACb,SAAS,GACT,aAAa,GACb,QAAQ,GACR,Y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AAK,CAAC,kBAAkB,KAC7B,IAAI,CAAC;IACV,2BAA2B,EAAE,OAAO,CAAC;IACrC;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;OAEG;IACH,aAAa,CAAC,EAAE,aAAa,CAAC;CAC/B,GAAG,OAAO,CAAC,IAAI,CAAC,SAAS,EAAE,sBAAsB,CAAC,CAAC,GAClD,QAAQ,CAAC,IAAI,CAAC,SAAS,EAAE,OAAO,GAAG,QAAQ,CAAC,CAAC,CAAC;AAEhD,eAAO,MAAM,WAAW,6CAA+D,CAAC;AAExF,eAAO,MAAM,YAAY,yBAGtB,kBAAkB;IACnB,KAAK,EAAE,gBAAgB,CAAC;CACzB,CAAC,4CAID,CAAC;AAEF,eAAO,MAAM,cAAc,mBAAoB,MAAM,qBAYpD,CAAC"}
@@ -1,13 +1,16 @@
1
- import type { PropsWithChildren } from 'react';
1
+ import type { ComponentProps, PropsWithChildren } from 'react';
2
2
  import React from 'react';
3
- import { type AttachmentPreviewListProps, type AttachmentProps, type AvatarStackProps, type BaseImageProps, type CalloutDialogProps, type ChannelAvatarProps, type ChannelListItemUIProps, type ChannelListUIProps, type ContextMenuContentProps, type ContextMenuProps, type DateSeparatorProps, type EmojiSearchIndex, type EmptyStateIndicatorProps, type EventComponentProps, type FileDragAndDropContentProps, type GalleryProps, type GiphyPreviewMessageProps, type ImagePlaceholderProps, type LoadingErrorIndicatorProps, type LoadingIndicatorProps, type MessageBouncePromptProps, type MessageComposerProps, type MessageDeletedProps, type MessageEditedIndicatorProps, type MessageProps, type MessageReactionsDetailProps, type MessageReactionsProps, type MessageRepliesCountButtonProps, type MessageStatusProps, type MessageTimestampProps, type MessageUIComponentProps, type ModalGalleryProps, type ModalProps, type NewMessageNotificationProps, type NotificationListProps, type PinIndicatorProps, type PollCreationDialogProps, type PollOptionSelectorProps, type QuotedMessagePreviewProps, type ReactionOptions, type ReactionSelectorProps, type RecordingPermissionDeniedNotificationProps, type ReminderNotificationProps, type SearchResultsPresearchProps, type SearchSourceResultListProps, type SendButtonProps, type ShareLocationDialogProps, type StartRecordingAudioButtonProps, type StreamedMessageTextProps, type TextareaComposerProps, type ThreadHeaderProps, type ThreadListItemProps, type ThreadListItemUIProps, type TimestampProps, type TranslationIndicatorProps, type TypingIndicatorProps, type UnreadMessagesNotificationProps, type UnreadMessagesSeparatorProps, type VoiceRecordingPreviewSlotProps } from '../components';
3
+ import { type AttachmentPreviewListProps, type AttachmentProps, type AvatarStackProps, type BaseImageProps, type CalloutDialogProps, type ChannelAvatarProps, type ChannelListItemUIProps, type ChannelListUIProps, type ContextMenuContentProps, type ContextMenuProps, type DateSeparatorProps, type EmojiSearchIndex, type EmptyStateIndicatorProps, type EventComponentProps, type FileDragAndDropContentProps, type GalleryProps, type GiphyPreviewMessageProps, type ImagePlaceholderProps, type LoadingErrorIndicatorProps, type LoadingIndicatorProps, type MessageBouncePromptProps, type MessageComposerProps, type MessageDeletedProps, type MessageEditedIndicatorProps, type MessageProps, type MessageReactionsDetailProps, type MessageReactionsProps, type MessageRepliesCountButtonProps, type MessageStatusProps, type MessageTimestampProps, type MessageUIComponentProps, type ModalGalleryProps, type ModalProps, type NewMessageNotificationProps, type NotificationListProps, type NotificationProps, type PinIndicatorProps, type PollCreationDialogProps, type PollOptionSelectorProps, type QuotedMessagePreviewProps, type ReactionOptions, type ReactionSelector, type ReactionSelectorProps, type RecordingPermissionDeniedNotificationProps, type ReminderNotificationProps, type SearchResultsPresearchProps, type SearchSourceResultListProps, type SendButtonProps, type ShareLocationDialogProps, type StartRecordingAudioButtonProps, type StreamedMessageTextProps, type TextareaComposerProps, type ThreadHeaderProps, type ThreadListItemProps, type ThreadListItemUIProps, type TimestampProps, type TranslationIndicatorProps, type TypingIndicatorProps, type UnreadMessagesNotificationProps, type UnreadMessagesSeparatorProps, type VoiceRecordingPreviewSlotProps } from '../components';
4
4
  import type { SuggestionItemProps, SuggestionListProps } from '../components/TextareaComposer';
5
5
  import type { PropsWithChildrenOnly } from '../types/types';
6
6
  import type { StopAIGenerationButtonProps } from '../components/MessageComposer/StopAIGenerationButton';
7
7
  import type { VideoPlayerProps } from '../components/VideoPlayer';
8
8
  import type { EditedMessagePreviewProps } from '../components/MessageComposer/EditedMessagePreview';
9
9
  import type { FileIconProps } from '../components/FileIcon/FileIcon';
10
+ import type { FileSizeIndicatorProps } from '../components/Attachment/components/FileSizeIndicator';
10
11
  import type { CommandChipProps } from '../components/MessageComposer/CommandChip';
12
+ import type { ProgressIndicatorProps } from '../components/Loading/progress-indicators';
13
+ import type { UploadedSizeIndicatorProps } from '../components/Loading/UploadedSizeIndicator';
11
14
  export type ComponentContextValue = {
12
15
  /** Custom UI component to display additional message composer action buttons left to the textarea, defaults to and accepts same props as: [AdditionalMessageComposerActions](https://github.com/GetStream/stream-chat-react/blob/master/src/components/MessageComposer/MessageComposerActions.tsx) */
13
16
  AdditionalMessageComposerActions?: React.ComponentType;
@@ -57,6 +60,8 @@ export type ComponentContextValue = {
57
60
  DateSeparator?: React.ComponentType<DateSeparatorProps>;
58
61
  /** Custom UI component to display the contents on file drag-and-drop overlay, defaults to and accepts same props as: [FileDragAndDropContent](https://github.com/GetStream/stream-chat-react/blob/master/src/components/MessageComposer/WithDragAndDropUpload.tsx) */
59
62
  FileDragAndDropContent?: React.ComponentType<FileDragAndDropContentProps>;
63
+ /** Custom UI component to display a formatted file byte size (message attachments, upload previews), defaults to and accepts same props as: [FileSizeIndicator](https://github.com/GetStream/stream-chat-react/blob/master/src/components/Attachment/components/FileSizeIndicator.tsx) */
64
+ FileSizeIndicator?: React.ComponentType<FileSizeIndicatorProps>;
60
65
  /** Custom UI component to override default preview of edited message, defaults to and accepts same props as: [EditedMessagePreview](https://github.com/GetStream/stream-chat-react/blob/master/src/components/MessageComposer/EditedMessagePreview.tsx) */
61
66
  EditedMessagePreview?: React.ComponentType<EditedMessagePreviewProps>;
62
67
  /** Custom UI component for rendering button with emoji picker in MessageComposer */
@@ -81,6 +86,8 @@ export type ComponentContextValue = {
81
86
  LoadingErrorIndicator?: React.ComponentType<LoadingErrorIndicatorProps>;
82
87
  /** Custom UI component to render while the `MessageList` is loading new messages, defaults to and accepts same props as: [LoadingIndicator](https://github.com/GetStream/stream-chat-react/blob/master/src/components/Loading/LoadingIndicator.tsx) */
83
88
  LoadingIndicator?: React.ComponentType<LoadingIndicatorProps>;
89
+ /** Custom UI component for determinate progress (0–100), defaults to and accepts same props as: [ProgressIndicator](https://github.com/GetStream/stream-chat-react/blob/master/src/components/Loading/progress-indicators.tsx) */
90
+ ProgressIndicator?: React.ComponentType<ProgressIndicatorProps>;
84
91
  /** Custom UI component to display a message in the standard `MessageList`, defaults to and accepts the same props as: [MessageUI](https://github.com/GetStream/stream-chat-react/blob/master/src/components/Message/MessageUI.tsx) */
85
92
  Message?: React.ComponentType<MessageUIComponentProps>;
86
93
  /** Custom UI component for message actions popup, accepts no props, all the defaults are set within [MessageActions (unstable)](https://github.com/GetStream/stream-chat-react/blob/master/src/experimental/MessageActions/MessageActions.tsx) */
@@ -94,6 +101,8 @@ export type ComponentContextValue = {
94
101
  /** Custom UI component for a message bubble of a deleted message, defaults to and accepts same props as: [MessageDeletedBubble](https://github.com/GetStream/stream-chat-react/blob/master/src/components/Message/MessageDeletedBubble.tsx) */
95
102
  MessageDeletedBubble?: React.ComponentType;
96
103
  MessageListMainPanel?: React.ComponentType<PropsWithChildrenOnly>;
104
+ /** Custom UI component to render a single notification item in NotificationList, defaults to and accepts same props as: [Notification](https://github.com/GetStream/stream-chat-react/blob/master/src/components/Notifications/Notification.tsx) */
105
+ Notification?: React.ForwardRefExoticComponent<NotificationProps & React.RefAttributes<HTMLDivElement>>;
97
106
  /** Custom UI component to display notifications rendered by `NotificationList`, defaults to and accepts same props as: [NotificationList](https://github.com/GetStream/stream-chat-react/blob/master/src/components/Notifications/NotificationList.tsx) */
98
107
  NotificationList?: React.ComponentType<NotificationListProps>;
99
108
  /** Custom UI component to display a notification when scrolled up the list and new messages arrive, defaults to and accepts same props as [NewMessageNotification](https://github.com/GetStream/stream-chat-react/blob/master/src/components/MessageList/NewMessageNotification.tsx) */
@@ -132,6 +141,7 @@ export type ComponentContextValue = {
132
141
  reactionOptions?: ReactionOptions;
133
142
  /** Custom UI component to display the reaction selector, defaults to and accepts same props as: [ReactionSelector](https://github.com/GetStream/stream-chat-react/blob/master/src/components/Reactions/ReactionSelector.tsx) */
134
143
  ReactionSelector?: React.ForwardRefExoticComponent<ReactionSelectorProps>;
144
+ ReactionSelectorExtendedList?: React.ComponentType<ComponentProps<(typeof ReactionSelector)['ExtendedList']>>;
135
145
  /** Custom UI component to display the list of reactions on a message, defaults to and accepts same props as: [MessageReactions](https://github.com/GetStream/stream-chat-react/blob/master/src/components/Reactions/MessageReactions.tsx) */
136
146
  MessageReactions?: React.ComponentType<MessageReactionsProps>;
137
147
  /** Custom UI component to display the reactions modal, defaults to and accepts same props as: [MessageReactionsDetail](https://github.com/GetStream/stream-chat-react/blob/master/src/components/Reactions/MessageReactionsDetail.tsx) */
@@ -194,8 +204,14 @@ export type ComponentContextValue = {
194
204
  TypingIndicator?: React.ComponentType<TypingIndicatorProps>;
195
205
  /** Custom UI component that indicates a user is viewing unread messages. It disappears once the user scrolls to UnreadMessagesSeparator. Defaults to and accepts same props as: [UnreadMessagesNotification](https://github.com/GetStream/stream-chat-react/blob/master/src/components/MessageList/UnreadMessagesNotification.tsx) */
196
206
  UnreadMessagesNotification?: React.ComponentType<UnreadMessagesNotificationProps>;
207
+ /** Custom UI component rendered at the end of sidebar headers (ChannelListHeader, ThreadListHeader). No default — if omitted, the slot is empty. */
208
+ HeaderEndContent?: React.ComponentType;
209
+ /** Custom UI component rendered at the start of content headers (ChannelHeader, ThreadHeader). No default — if omitted, the slot is empty. */
210
+ HeaderStartContent?: React.ComponentType;
197
211
  /** Custom UI component that separates read messages from unread, defaults to and accepts same props as: [UnreadMessagesSeparator](https://github.com/GetStream/stream-chat-react/blob/master/src/components/MessageList/UnreadMessagesSeparator.tsx) */
198
212
  UnreadMessagesSeparator?: React.ComponentType<UnreadMessagesSeparatorProps>;
213
+ /** Custom UI component for uploaded vs total byte size during attachment upload (MessageComposer previews), defaults to and accepts same props as: [UploadedSizeIndicator](https://github.com/GetStream/stream-chat-react/blob/master/src/components/Loading/UploadedSizeIndicator.tsx) */
214
+ UploadedSizeIndicator?: React.ComponentType<UploadedSizeIndicatorProps>;
199
215
  /** Component used to play video. If not provided, ReactPlayer is used as a default video player. */
200
216
  VideoPlayer?: React.ComponentType<VideoPlayerProps>;
201
217
  /** Custom UI component to display a message in the `VirtualizedMessageList`, does not have a default implementation */