stream-chat-react 14.0.0-beta.5 → 14.0.0-beta.7

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 (204) hide show
  1. package/dist/cjs/{WithAudioPlayback.0c10cb67.js → WithAudioPlayback.83ba0e35.js} +295 -183
  2. package/dist/cjs/WithAudioPlayback.83ba0e35.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 +1630 -1465
  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 +707 -893
  10. package/dist/css/index.css.map +1 -1
  11. package/dist/es/{WithAudioPlayback.e7821fd4.mjs → WithAudioPlayback.21b7f35a.mjs} +442 -330
  12. package/dist/es/WithAudioPlayback.21b7f35a.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 +1711 -1546
  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/Avatar/Avatar.d.ts +1 -1
  28. package/dist/types/components/Avatar/Avatar.d.ts.map +1 -1
  29. package/dist/types/components/Avatar/AvatarStack.d.ts +2 -2
  30. package/dist/types/components/Avatar/AvatarStack.d.ts.map +1 -1
  31. package/dist/types/components/Avatar/ChannelAvatar.d.ts +2 -6
  32. package/dist/types/components/Avatar/ChannelAvatar.d.ts.map +1 -1
  33. package/dist/types/components/Avatar/GroupAvatar.d.ts +6 -7
  34. package/dist/types/components/Avatar/GroupAvatar.d.ts.map +1 -1
  35. package/dist/types/components/Badge/MediaBadge.d.ts +8 -0
  36. package/dist/types/components/Badge/MediaBadge.d.ts.map +1 -0
  37. package/dist/types/components/Channel/Channel.d.ts.map +1 -1
  38. package/dist/types/components/ChannelHeader/ChannelHeader.d.ts +0 -2
  39. package/dist/types/components/ChannelHeader/ChannelHeader.d.ts.map +1 -1
  40. package/dist/types/components/ChannelList/ChannelList.d.ts.map +1 -1
  41. package/dist/types/components/ChannelList/ChannelListHeader.d.ts +1 -5
  42. package/dist/types/components/ChannelList/ChannelListHeader.d.ts.map +1 -1
  43. package/dist/types/components/ChannelList/hooks/index.d.ts +0 -11
  44. package/dist/types/components/ChannelList/hooks/index.d.ts.map +1 -1
  45. package/dist/types/components/ChannelList/utils.d.ts +0 -9
  46. package/dist/types/components/ChannelList/utils.d.ts.map +1 -1
  47. package/dist/types/components/ChannelListItem/ChannelListItem.d.ts +0 -2
  48. package/dist/types/components/ChannelListItem/ChannelListItem.d.ts.map +1 -1
  49. package/dist/types/components/ChannelListItem/ChannelListItemActionButtons.defaults.d.ts.map +1 -1
  50. package/dist/types/components/ChannelListItem/ChannelListItemUI.d.ts.map +1 -1
  51. package/dist/types/components/ChannelListItem/utils.d.ts.map +1 -1
  52. package/dist/types/components/Chat/Chat.d.ts +1 -5
  53. package/dist/types/components/Chat/Chat.d.ts.map +1 -1
  54. package/dist/types/components/Chat/hooks/useChat.d.ts +1 -10
  55. package/dist/types/components/Chat/hooks/useChat.d.ts.map +1 -1
  56. package/dist/types/components/Chat/hooks/useCreateChatContext.d.ts.map +1 -1
  57. package/dist/types/components/Chat/hooks/useReportLostConnectionSystemNotification.d.ts +6 -0
  58. package/dist/types/components/Chat/hooks/useReportLostConnectionSystemNotification.d.ts.map +1 -0
  59. package/dist/types/components/Chat/index.d.ts +1 -0
  60. package/dist/types/components/Chat/index.d.ts.map +1 -1
  61. package/dist/types/components/ChatView/ChatView.d.ts.map +1 -1
  62. package/dist/types/components/Dialog/components/ContextMenu.d.ts +1 -1
  63. package/dist/types/components/Dialog/components/ContextMenu.d.ts.map +1 -1
  64. package/dist/types/components/Dialog/hooks/useDialog.d.ts.map +1 -1
  65. package/dist/types/components/Dialog/service/DialogManager.d.ts +3 -2
  66. package/dist/types/components/Dialog/service/DialogManager.d.ts.map +1 -1
  67. package/dist/types/components/Icons/createIcon.d.ts +1 -1
  68. package/dist/types/components/Icons/createIcon.d.ts.map +1 -1
  69. package/dist/types/components/Icons/icons.d.ts +21 -9
  70. package/dist/types/components/Icons/icons.d.ts.map +1 -1
  71. package/dist/types/components/InfiniteScrollPaginator/InfiniteScroll.d.ts +0 -20
  72. package/dist/types/components/InfiniteScrollPaginator/InfiniteScroll.d.ts.map +1 -1
  73. package/dist/types/components/LoadMore/LoadMoreButton.d.ts +1 -6
  74. package/dist/types/components/LoadMore/LoadMoreButton.d.ts.map +1 -1
  75. package/dist/types/components/LoadMore/LoadMorePaginator.d.ts.map +1 -1
  76. package/dist/types/components/Loading/UploadProgressIndicator.d.ts +5 -0
  77. package/dist/types/components/Loading/UploadProgressIndicator.d.ts.map +1 -0
  78. package/dist/types/components/Loading/UploadedSizeIndicator.d.ts +6 -0
  79. package/dist/types/components/Loading/UploadedSizeIndicator.d.ts.map +1 -0
  80. package/dist/types/components/Loading/index.d.ts +3 -0
  81. package/dist/types/components/Loading/index.d.ts.map +1 -1
  82. package/dist/types/components/Loading/progress-indicators.d.ts +7 -0
  83. package/dist/types/components/Loading/progress-indicators.d.ts.map +1 -0
  84. package/dist/types/components/Location/ShareLocationDialog.d.ts.map +1 -1
  85. package/dist/types/components/MediaRecorder/AudioRecorder/AudioRecorderRecordingControls.d.ts.map +1 -1
  86. package/dist/types/components/Message/Message.d.ts.map +1 -1
  87. package/dist/types/components/Message/MessageAlsoSentInChannelIndicator.d.ts.map +1 -1
  88. package/dist/types/components/Message/MessageUI.d.ts.map +1 -1
  89. package/dist/types/components/Message/hooks/useDeleteHandler.d.ts +1 -5
  90. package/dist/types/components/Message/hooks/useDeleteHandler.d.ts.map +1 -1
  91. package/dist/types/components/Message/hooks/useFlagHandler.d.ts +1 -6
  92. package/dist/types/components/Message/hooks/useFlagHandler.d.ts.map +1 -1
  93. package/dist/types/components/Message/hooks/useMarkUnreadHandler.d.ts +1 -6
  94. package/dist/types/components/Message/hooks/useMarkUnreadHandler.d.ts.map +1 -1
  95. package/dist/types/components/Message/hooks/useMuteHandler.d.ts +2 -7
  96. package/dist/types/components/Message/hooks/useMuteHandler.d.ts.map +1 -1
  97. package/dist/types/components/Message/hooks/usePinHandler.d.ts +1 -23
  98. package/dist/types/components/Message/hooks/usePinHandler.d.ts.map +1 -1
  99. package/dist/types/components/Message/hooks/useReactionsFetcher.d.ts +1 -6
  100. package/dist/types/components/Message/hooks/useReactionsFetcher.d.ts.map +1 -1
  101. package/dist/types/components/Message/hooks/useUserRole.d.ts +1 -1
  102. package/dist/types/components/Message/hooks/useUserRole.d.ts.map +1 -1
  103. package/dist/types/components/Message/types.d.ts +1 -23
  104. package/dist/types/components/Message/types.d.ts.map +1 -1
  105. package/dist/types/components/Message/utils.d.ts +1 -2
  106. package/dist/types/components/Message/utils.d.ts.map +1 -1
  107. package/dist/types/components/MessageActions/MessageActions.defaults.d.ts.map +1 -1
  108. package/dist/types/components/MessageActions/RemindMeSubmenu.d.ts.map +1 -1
  109. package/dist/types/components/MessageComposer/AttachmentPreviewList/AttachmentUploadedSizeIndicator.d.ts +14 -0
  110. package/dist/types/components/MessageComposer/AttachmentPreviewList/AttachmentUploadedSizeIndicator.d.ts.map +1 -0
  111. package/dist/types/components/MessageComposer/AttachmentPreviewList/AudioAttachmentPreview.d.ts.map +1 -1
  112. package/dist/types/components/MessageComposer/AttachmentPreviewList/FileAttachmentPreview.d.ts.map +1 -1
  113. package/dist/types/components/MessageComposer/AttachmentPreviewList/MediaAttachmentPreview.d.ts.map +1 -1
  114. package/dist/types/components/MessageComposer/AttachmentPreviewList/UnsupportedAttachmentPreview.d.ts +1 -1
  115. package/dist/types/components/MessageComposer/AttachmentPreviewList/UnsupportedAttachmentPreview.d.ts.map +1 -1
  116. package/dist/types/components/MessageComposer/hooks/useSubmitHandler.d.ts.map +1 -1
  117. package/dist/types/components/MessageComposer/icons.d.ts +0 -1
  118. package/dist/types/components/MessageComposer/icons.d.ts.map +1 -1
  119. package/dist/types/components/MessageList/MessageList.d.ts +1 -1
  120. package/dist/types/components/MessageList/MessageList.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/index.d.ts +0 -1
  123. package/dist/types/components/MessageList/index.d.ts.map +1 -1
  124. package/dist/types/components/MessageList/utils.d.ts +0 -1
  125. package/dist/types/components/MessageList/utils.d.ts.map +1 -1
  126. package/dist/types/components/Notifications/NotificationList.d.ts.map +1 -1
  127. package/dist/types/components/Notifications/hooks/index.d.ts +2 -0
  128. package/dist/types/components/Notifications/hooks/index.d.ts.map +1 -1
  129. package/dist/types/components/Notifications/hooks/useNotificationApi.d.ts +63 -0
  130. package/dist/types/components/Notifications/hooks/useNotificationApi.d.ts.map +1 -0
  131. package/dist/types/components/Notifications/hooks/useSystemNotifications.d.ts +14 -0
  132. package/dist/types/components/Notifications/hooks/useSystemNotifications.d.ts.map +1 -0
  133. package/dist/types/components/Notifications/notificationTarget.d.ts +1 -0
  134. package/dist/types/components/Notifications/notificationTarget.d.ts.map +1 -1
  135. package/dist/types/components/Poll/PollActions/EndPollAlert.d.ts.map +1 -1
  136. package/dist/types/components/ReactFileUtilities/UploadButton.d.ts +3 -11
  137. package/dist/types/components/ReactFileUtilities/UploadButton.d.ts.map +1 -1
  138. package/dist/types/components/Reactions/MessageReactions.d.ts.map +1 -1
  139. package/dist/types/components/Reactions/MessageReactionsDetail.d.ts +12 -2
  140. package/dist/types/components/Reactions/MessageReactionsDetail.d.ts.map +1 -1
  141. package/dist/types/components/Reactions/ReactionSelector.d.ts +3 -0
  142. package/dist/types/components/Reactions/ReactionSelector.d.ts.map +1 -1
  143. package/dist/types/components/Reactions/hooks/useFetchReactions.d.ts.map +1 -1
  144. package/dist/types/components/Reactions/index.d.ts +0 -1
  145. package/dist/types/components/Reactions/index.d.ts.map +1 -1
  146. package/dist/types/components/SummarizedMessagePreview/SummarizedMessagePreview.d.ts.map +1 -1
  147. package/dist/types/components/SummarizedMessagePreview/hooks/useLatestMessagePreview.d.ts +1 -1
  148. package/dist/types/components/SummarizedMessagePreview/hooks/useLatestMessagePreview.d.ts.map +1 -1
  149. package/dist/types/components/Thread/ThreadHeader.d.ts +0 -2
  150. package/dist/types/components/Thread/ThreadHeader.d.ts.map +1 -1
  151. package/dist/types/components/Threads/ThreadList/ThreadList.d.ts.map +1 -1
  152. package/dist/types/components/Threads/ThreadList/ThreadListHeader.d.ts +1 -5
  153. package/dist/types/components/Threads/ThreadList/ThreadListHeader.d.ts.map +1 -1
  154. package/dist/types/components/Threads/ThreadList/ThreadListItemUI.d.ts.map +1 -1
  155. package/dist/types/components/TypingIndicator/TypingIndicator.d.ts.map +1 -1
  156. package/dist/types/components/index.d.ts +2 -2
  157. package/dist/types/components/index.d.ts.map +1 -1
  158. package/dist/types/context/ChatContext.d.ts +0 -3
  159. package/dist/types/context/ChatContext.d.ts.map +1 -1
  160. package/dist/types/context/ComponentContext.d.ts +19 -3
  161. package/dist/types/context/ComponentContext.d.ts.map +1 -1
  162. package/dist/types/context/MessageContext.d.ts +0 -3
  163. package/dist/types/context/MessageContext.d.ts.map +1 -1
  164. package/dist/types/i18n/Streami18n.d.ts +21 -11
  165. package/dist/types/i18n/Streami18n.d.ts.map +1 -1
  166. package/dist/types/plugins/Emojis/EmojiPicker.d.ts +0 -6
  167. package/dist/types/plugins/Emojis/EmojiPicker.d.ts.map +1 -1
  168. package/dist/types/types/types.d.ts +0 -5
  169. package/dist/types/types/types.d.ts.map +1 -1
  170. package/package.json +4 -4
  171. package/dist/cjs/WithAudioPlayback.0c10cb67.js.map +0 -1
  172. package/dist/es/WithAudioPlayback.e7821fd4.mjs.map +0 -1
  173. package/dist/types/components/Button/ToggleSidebarButton.d.ts +0 -10
  174. package/dist/types/components/Button/ToggleSidebarButton.d.ts.map +0 -1
  175. package/dist/types/components/ChannelHeader/hooks/useIsMobileViewport.d.ts +0 -3
  176. package/dist/types/components/ChannelHeader/hooks/useIsMobileViewport.d.ts.map +0 -1
  177. package/dist/types/components/ChannelList/hooks/useChannelDeletedListener.d.ts +0 -3
  178. package/dist/types/components/ChannelList/hooks/useChannelDeletedListener.d.ts.map +0 -1
  179. package/dist/types/components/ChannelList/hooks/useChannelHiddenListener.d.ts +0 -3
  180. package/dist/types/components/ChannelList/hooks/useChannelHiddenListener.d.ts.map +0 -1
  181. package/dist/types/components/ChannelList/hooks/useChannelTruncatedListener.d.ts +0 -3
  182. package/dist/types/components/ChannelList/hooks/useChannelTruncatedListener.d.ts.map +0 -1
  183. package/dist/types/components/ChannelList/hooks/useChannelUpdatedListener.d.ts +0 -3
  184. package/dist/types/components/ChannelList/hooks/useChannelUpdatedListener.d.ts.map +0 -1
  185. package/dist/types/components/ChannelList/hooks/useChannelVisibleListener.d.ts +0 -3
  186. package/dist/types/components/ChannelList/hooks/useChannelVisibleListener.d.ts.map +0 -1
  187. package/dist/types/components/ChannelList/hooks/useMessageNewListener.d.ts +0 -3
  188. package/dist/types/components/ChannelList/hooks/useMessageNewListener.d.ts.map +0 -1
  189. package/dist/types/components/ChannelList/hooks/useMobileNavigation.d.ts +0 -2
  190. package/dist/types/components/ChannelList/hooks/useMobileNavigation.d.ts.map +0 -1
  191. package/dist/types/components/ChannelList/hooks/useNotificationAddedToChannelListener.d.ts +0 -3
  192. package/dist/types/components/ChannelList/hooks/useNotificationAddedToChannelListener.d.ts.map +0 -1
  193. package/dist/types/components/ChannelList/hooks/useNotificationMessageNewListener.d.ts +0 -3
  194. package/dist/types/components/ChannelList/hooks/useNotificationMessageNewListener.d.ts.map +0 -1
  195. package/dist/types/components/ChannelList/hooks/useNotificationRemovedFromChannelListener.d.ts +0 -3
  196. package/dist/types/components/ChannelList/hooks/useNotificationRemovedFromChannelListener.d.ts.map +0 -1
  197. package/dist/types/components/ChannelList/hooks/useUserPresenceChangedListener.d.ts +0 -3
  198. package/dist/types/components/ChannelList/hooks/useUserPresenceChangedListener.d.ts.map +0 -1
  199. package/dist/types/components/MessageList/ConnectionStatus.d.ts +0 -3
  200. package/dist/types/components/MessageList/ConnectionStatus.d.ts.map +0 -1
  201. package/dist/types/components/Reactions/StreamEmoji.d.ts +0 -19
  202. package/dist/types/components/Reactions/StreamEmoji.d.ts.map +0 -1
  203. package/dist/types/utils/deprecationWarning.d.ts +0 -2
  204. package/dist/types/utils/deprecationWarning.d.ts.map +0 -1
@@ -43,11 +43,11 @@ export declare const IconBellOff: {
43
43
  ({ className, ...props }: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
44
44
  displayName: string;
45
45
  };
46
- export declare const IconSave: {
46
+ export declare const IconBookmark: {
47
47
  ({ className, ...props }: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
48
48
  displayName: string;
49
49
  };
50
- export declare const IconUnsave: {
50
+ export declare const IconBookmarkRemove: {
51
51
  ({ className, ...props }: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
52
52
  displayName: string;
53
53
  };
@@ -115,6 +115,10 @@ export declare const IconMinusCircle: {
115
115
  ({ className, ...props }: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
116
116
  displayName: string;
117
117
  };
118
+ export declare const IconMinus: {
119
+ ({ className, ...props }: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
120
+ displayName: string;
121
+ };
118
122
  export declare const IconXCircle: {
119
123
  ({ className, ...props }: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
120
124
  displayName: string;
@@ -131,7 +135,7 @@ export declare const IconXmark: {
131
135
  ({ className, ...props }: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
132
136
  displayName: string;
133
137
  };
134
- export declare const IconCrossSmall: {
138
+ export declare const IconXmarkSmall: {
135
139
  ({ className, ...props }: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
136
140
  displayName: string;
137
141
  };
@@ -155,6 +159,10 @@ export declare const IconEmoji: {
155
159
  ({ className, ...props }: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
156
160
  displayName: string;
157
161
  };
162
+ export declare const IconEmojiAdd: {
163
+ ({ className, ...props }: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
164
+ displayName: string;
165
+ };
158
166
  export declare const IconExclamationMarkFill: {
159
167
  ({ className, ...props }: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
160
168
  displayName: string;
@@ -167,11 +175,15 @@ export declare const IconExclamationMark: {
167
175
  ({ className, ...props }: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
168
176
  displayName: string;
169
177
  };
170
- export declare const IconExclamationTriangle: {
178
+ export declare const IconExclamationTriangleFill: {
171
179
  ({ className, ...props }: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
172
180
  displayName: string;
173
181
  };
174
- export declare const IconEyeOpen: {
182
+ export declare const IconEyeFill: {
183
+ ({ className, ...props }: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
184
+ displayName: string;
185
+ };
186
+ export declare const IconUnsupportedAttachment: {
175
187
  ({ className, ...props }: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
176
188
  displayName: string;
177
189
  };
@@ -191,10 +203,6 @@ export declare const IconImage: {
191
203
  ({ className, ...props }: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
192
204
  displayName: string;
193
205
  };
194
- export declare const IconSidebar: {
195
- ({ className, ...props }: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
196
- displayName: string;
197
- };
198
206
  export declare const IconSearch: {
199
207
  ({ className, ...props }: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
200
208
  displayName: string;
@@ -207,6 +215,10 @@ export declare const IconVoice: {
207
215
  ({ className, ...props }: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
208
216
  displayName: string;
209
217
  };
218
+ export declare const IconMicrophoneSolid: {
219
+ ({ className, ...props }: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
220
+ displayName: string;
221
+ };
210
222
  export declare const IconMute: {
211
223
  ({ className, ...props }: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
212
224
  displayName: string;
@@ -1 +1 @@
1
- {"version":3,"file":"icons.d.ts","sourceRoot":"","sources":["../../../../src/components/Icons/icons.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,eAAO,MAAM,SAAS;;;CAUrB,CAAC;AAEF,eAAO,MAAM,aAAa;;;CAUzB,CAAC;AAEF,eAAO,MAAM,mBAAmB;;;CAU/B,CAAC;AAEF,eAAO,MAAM,aAAa;;;CAUzB,CAAC;AAGF,eAAO,MAAM,gBAAgB;;;CAU5B,CAAC;AAGF,eAAO,MAAM,SAAS;;;CAUrB,CAAC;AAGF,eAAO,MAAM,WAAW;;;CAUvB,CAAC;AAGF,eAAO,MAAM,SAAS;;;CAUrB,CAAC;AAEF,eAAO,MAAM,WAAW;;;CAUvB,CAAC;AAGF,eAAO,MAAM,QAAQ;;;CAUpB,CAAC;AAEF,e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React.ElementType;
7
- /**
8
- * @desc Flag signalling whether more pages with older items can be loaded
9
- * @deprecated Use hasPreviousPage prop instead. Planned for removal: https://github.com/GetStream/stream-chat-react/issues/1804
10
- */
11
- hasMore?: boolean;
12
- /**
13
- * @desc Flag signalling whether more pages with newer items can be loaded
14
- * @deprecated Use hasNextPage prop instead. Planned for removal: https://github.com/GetStream/stream-chat-react/issues/1804
15
- */
16
- hasMoreNewer?: boolean;
17
7
  /** Element to be rendered at the top of the thread message list. By default, Message and ThreadStart components */
18
8
  head?: React.ReactNode;
19
9
  initialLoad?: boolean;
20
10
  isLoading?: boolean;
21
11
  listenToScroll?: (offset: number, reverseOffset: number, threshold: number) => void;
22
12
  loader?: React.ReactNode;
23
- /**
24
- * @desc Function that loads previous page with older items
25
- * @deprecated Use loadPreviousPage prop instead. Planned for removal: https://github.com/GetStream/stream-chat-react/issues/1804
26
- */
27
- loadMore?: () => void;
28
- /**
29
- * @desc Function that loads next page with newer items
30
- * @deprecated Use loadNextPage prop instead. Planned for removal: https://github.com/GetStream/stream-chat-react/issues/1804
31
- */
32
- loadMoreNewer?: () => void;
33
13
  useCapture?: boolean;
34
14
  };
35
15
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"InfiniteScroll.d.ts","sourceRoot":"","sources":["../../../../src/components/InfiniteScrollPaginator/InfiniteScroll.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAC/C,OAAO,KAAsC,MAAM,OAAO,CAAC;AAC3D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAcxD,MAAM,MAAM,mBAAmB,GAAG,cAAc,GAAG;IACjD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC;IAC5B;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;OAGG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IACv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ACzB,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC;AAEF;;;;;;;;;GASG;AACH,eAAO,MAAM,cAAc,UAAW,kBAAkB,mBAAmB,CAAC,4CAqG3E,CAAC"}
@@ -5,11 +5,6 @@ export type LoadMoreButtonProps = {
5
5
  onClick: React.MouseEventHandler<HTMLButtonElement>;
6
6
  /** indicates whether a loading request is in progress */
7
7
  isLoading?: boolean;
8
- /**
9
- * @desc If true, LoadingIndicator is displayed instead of button
10
- * @deprecated Use loading prop instead of refreshing. Planned for removal: https://github.com/GetStream/stream-chat-react/issues/1804
11
- */
12
- refreshing?: boolean;
13
8
  };
14
- export declare const LoadMoreButton: ({ children, isLoading, onClick, refreshing, }: PropsWithChildren<LoadMoreButtonProps>) => import("react/jsx-runtime").JSX.Element;
9
+ export declare const LoadMoreButton: ({ children, isLoading, onClick, }: PropsWithChildren<LoadMoreButtonProps>) => import("react/jsx-runtime").JSX.Element;
15
10
  //# sourceMappingURL=LoadMoreButton.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"LoadMoreButton.d.ts","sourceRoot":"","sources":["../../../../src/components/LoadMore/LoadMoreButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAC/C,OAAO,KAAoB,MAAM,OAAO,CAAC;AAMzC,MAAM,MAAM,mBAAmB,GAAG;IAChC,6FAA6F;IAC7F,OAAO,EAAE,KAAK,CAAC,iBAAiB,CAAC,iBAAiB,CAAC,CAAC;IACpD,yDAAyD;IACzD,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC;AAmCF,eAAO,MAAM,cAAc,kDA5BxB,kBAAkB,mBAAmB,CAAC,4CA8BL,CAAC"}
1
+ {"version":3,"file":"LoadMoreButton.d.ts","sourceRoot":"","sources":["../../../../src/components/LoadMore/LoadMoreButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAC/C,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,MAAM,MAAM,mBAAmB,GAAG;IAChC,6FAA6F;IAC7F,OAAO,EAAE,KAAK,CAAC,iBAAiB,CAAC,iBAAiB,CAAC,CAAC;IACpD,yDAAyD;IACzD,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AA4BF,eAAO,MAAM,cAAc,sCAtBxB,kBAAkB,mBAAmB,CAAC,4CAwBL,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"LoadMorePaginator.d.ts","sourceRoot":"","sources":["../../../../src/components/LoadMore/LoadMorePaginator.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAC/C,OAAO,KAAoB,MAAM,OAAO,CAAC;AAEzC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAE5D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAGxD,MAAM,MAAM,sBAAsB,GAAG,cAAc,GAAG;IACpD,0DAA0D;IAC1D,cAAc,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,mBAAmB,CAAC,CAAC;IAC1D,+IAA+I;IAC/I,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF,eAAO,MAAM,2BAA2B,UAC/B,kBAAkB,sBAAsB,CAAC,4CA4BjD,CAAC;AAEF,eAAO,MAAM,iBAAiB,UA9BrB,kBAAkB,sBAAsB,CAAC,4CAgCX,CAAC"}
1
+ {"version":3,"file":"LoadMorePaginator.d.ts","sourceRoot":"","sources":["../../../../src/components/LoadMore/LoadMorePaginator.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAC/C,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAE5D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAExD,MAAM,MAAM,sBAAsB,GAAG,cAAc,GAAG;IACpD,0DAA0D;IAC1D,cAAc,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,mBAAmB,CAAC,CAAC;IAC1D,+IAA+I;IAC/I,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF,eAAO,MAAM,2BAA2B,UAC/B,kBAAkB,sBAAsB,CAAC,4CAkBjD,CAAC;AAEF,eAAO,MAAM,iBAAiB,UApBrB,kBAAkB,sBAAsB,CAAC,4CAsBX,CAAC"}
@@ -0,0 +1,5 @@
1
+ export type UploadProgressIndicatorProps = {
2
+ uploadProgress?: number;
3
+ };
4
+ export declare const UploadProgressIndicator: ({ uploadProgress, }: UploadProgressIndicatorProps) => import("react/jsx-runtime").JSX.Element;
5
+ //# sourceMappingURL=UploadProgressIndicator.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UploadProgressIndicator.d.ts","sourceRoot":"","sources":["../../../../src/components/Loading/UploadProgressIndicator.tsx"],"names":[],"mappings":"AAMA,MAAM,MAAM,4BAA4B,GAAG;IACzC,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB,CAAC;AAEF,eAAO,MAAM,uBAAuB,wBAEjC,4BAA4B,4CAW9B,CAAC"}
@@ -0,0 +1,6 @@
1
+ export type UploadedSizeIndicatorProps = {
2
+ fullBytes: number;
3
+ uploadedBytes: number;
4
+ };
5
+ export declare const UploadedSizeIndicator: ({ fullBytes, uploadedBytes, }: UploadedSizeIndicatorProps) => import("react/jsx-runtime").JSX.Element;
6
+ //# sourceMappingURL=UploadedSizeIndicator.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UploadedSizeIndicator.d.ts","sourceRoot":"","sources":["../../../../src/components/Loading/UploadedSizeIndicator.tsx"],"names":[],"mappings":"AAKA,MAAM,MAAM,0BAA0B,GAAG;IACvC,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF,eAAO,MAAM,qBAAqB,kCAG/B,0BAA0B,4CAW5B,CAAC"}
@@ -2,4 +2,7 @@ export * from './LoadingChannel';
2
2
  export * from './LoadingChannels';
3
3
  export * from './LoadingErrorIndicator';
4
4
  export * from './LoadingIndicator';
5
+ export * from './progress-indicators';
6
+ export * from './UploadProgressIndicator';
7
+ export * from './UploadedSizeIndicator';
5
8
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Loading/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,yBAAyB,CAAC;AACxC,cAAc,oBAAoB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Loading/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,yBAAyB,CAAC;AACxC,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC;AACtC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,yBAAyB,CAAC"}
@@ -0,0 +1,7 @@
1
+ export type ProgressIndicatorProps = {
2
+ /** Clamped 0–100 completion. */
3
+ percent: number;
4
+ };
5
+ /** Circular progress indicator with input from 0 to 100. */
6
+ export declare const CircularProgressIndicator: ({ percent }: ProgressIndicatorProps) => import("react/jsx-runtime").JSX.Element;
7
+ //# sourceMappingURL=progress-indicators.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"progress-indicators.d.ts","sourceRoot":"","sources":["../../../../src/components/Loading/progress-indicators.tsx"],"names":[],"mappings":"AAIA,MAAM,MAAM,sBAAsB,GAAG;IACnC,gCAAgC;IAChC,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAKF,4DAA4D;AAC5D,eAAO,MAAM,yBAAyB,gBAAiB,sBAAsB,4CA0C5E,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ShareLocationDialog.d.ts","sourceRoot":"","sources":["../../../../src/components/Location/ShareLocationDialog.tsx"],"names":[],"mappings":"AAAA,OAAc,EACZ,KAAK,aAAa,EAKnB,MAAM,OAAO,CAAC;AAYf,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAY1C,MAAM,MAAM,wBAAwB,GAAG,OAAO,CAAC,MAAM,CAAC,GAAG;IACvD,eAAe,EAAE,OAAO,CAAC;IACzB,uBAAuB,EAAE,MAAM,IAAI,CAAC;IACpC,wBAAwB,CAAC,EAAE,wBAAwB,CAAC;CACrD,CAAC;AAEF,MAAM,MAAM,wBAAwB,GAAG;IACrC,KAAK,EAAE,MAAM,IAAI,CAAC;IAClB,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;IAC1B,cAAc,CAAC,EAAE,aAAa,CAAC,wBAAwB,CAAC,CAAC;IACzD,qBAAqB,CAAC,EAAE,aAAa,CAAC,0BAA0B,CAAC,CAAC;CACnE,CAAC;AAqBF,eAAO,MAAM,mBAAmB,+CAI7B,wBAAwB,4CA4N1B,CAAC;AAEF,MAAM,MAAM,0BAA0B,GAAG;IACvC,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB,cAAc,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;CAC5C,CAAC"}
1
+ {"version":3,"file":"ShareLocationDialog.d.ts","sourceRoot":"","sources":["../../../../src/components/Location/ShareLocationDialog.tsx"],"names":[],"mappings":"AAAA,OAAc,EACZ,KAAK,aAAa,EAKnB,MAAM,OAAO,CAAC;AAYf,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAY1C,MAAM,MAAM,wBAAwB,GAAG,OAAO,CAAC,MAAM,CAAC,GAAG;IACvD,eAAe,EAAE,OAAO,CAAC;IACzB,uBAAuB,EAAE,MAAM,IAAI,CAAC;IACpC,wBAAwB,CAAC,EAAE,wBAAwB,CAAC;CACrD,CAAC;AAEF,MAAM,MAAM,wBAAwB,GAAG;IACrC,KAAK,EAAE,MAAM,IAAI,CAAC;IAClB,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;IAC1B,cAAc,CAAC,EAAE,aAAa,CAAC,wBAAwB,CAAC,CAAC;IACzD,qBAAqB,CAAC,EAAE,aAAa,CAAC,0BAA0B,CAAC,CAAC;CACnE,CAAC;AAqBF,eAAO,MAAM,mBAAmB,+CAI7B,wBAAwB,4CAuN1B,CAAC;AAEF,MAAM,MAAM,0BAA0B,GAAG;IACvC,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB,cAAc,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;CAC5C,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"AudioRecorderRecordingControls.d.ts","sourceRoot":"","sources":["../../../../../src/components/MediaRecorder/AudioRecorder/AudioRecorderRecordingControls.tsx"],"names":[],"mappings":"AAiCA,eAAO,MAAM,8BAA8B,sDAoD1C,CAAC"}
1
+ {"version":3,"file":"AudioRecorderRecordingControls.d.ts","sourceRoot":"","sources":["../../../../../src/components/MediaRecorder/AudioRecorder/AudioRecorderRecordingControls.tsx"],"names":[],"mappings":"AA8BA,eAAO,MAAM,8BAA8B,sDAqD1C,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Message.d.ts","sourceRoot":"","sources":["../../../../src/components/Message/Message.tsx"],"names":[],"mappings":"AA+BA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AA4J5C;;;GAGG;AACH,eAAO,MAAM,OAAO,UAAW,YAAY,4CAmI1C,CAAC"}
1
+ {"version":3,"file":"Message.d.ts","sourceRoot":"","sources":["../../../../src/components/Message/Message.tsx"],"names":[],"mappings":"AA8BA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AA2J5C;;;GAGG;AACH,eAAO,MAAM,OAAO,UAAW,YAAY,4CAmF1C,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"MessageAlsoSentInChannelIndicator.d.ts","sourceRoot":"","sources":["../../../../src/components/Message/MessageAlsoSentInChannelIndicator.tsx"],"names":[],"mappings":"AAaA;;GAEG;AACH,eAAO,MAAM,iCAAiC,sDA0F7C,CAAC"}
1
+ {"version":3,"file":"MessageAlsoSentInChannelIndicator.d.ts","sourceRoot":"","sources":["../../../../src/components/Message/MessageAlsoSentInChannelIndicator.tsx"],"names":[],"mappings":"AAYA;;GAEG;AACH,eAAO,MAAM,iCAAiC,sDAqF7C,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"MessageUI.d.ts","sourceRoot":"","sources":["../../../../src/components/Message/MessageUI.tsx"],"names":[],"mappings":"AA0CA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAC;AAgOvD;;GAEG;AACH,eAAO,MAAM,SAAS,UAAW,uBAAuB,4CAIvD,CAAC"}
1
+ {"version":3,"file":"MessageUI.d.ts","sourceRoot":"","sources":["../../../../src/components/Message/MessageUI.tsx"],"names":[],"mappings":"AA2CA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAC;AAiOvD;;GAEG;AACH,eAAO,MAAM,SAAS,UAAW,uBAAuB,4CAIvD,CAAC"}
@@ -1,8 +1,4 @@
1
1
  import type { LocalMessage } from 'stream-chat';
2
2
  import type { MessageContextValue } from '../../../context';
3
- export type DeleteMessageNotifications = {
4
- getErrorNotification?: (message: LocalMessage) => string;
5
- notify?: (notificationText: string, type: 'success' | 'error') => void;
6
- };
7
- export declare const useDeleteHandler: (message?: LocalMessage, notifications?: DeleteMessageNotifications) => MessageContextValue['handleDelete'];
3
+ export declare const useDeleteHandler: (message?: LocalMessage) => MessageContextValue['handleDelete'];
8
4
  //# sourceMappingURL=useDeleteHandler.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useDeleteHandler.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/hooks/useDeleteHandler.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAwB,YAAY,EAAE,MAAM,aAAa,CAAC;AACtE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAE5D,MAAM,MAAM,0BAA0B,GAAG;IACvC,oBAAoB,CAAC,EAAE,CAAC,OAAO,EAAE,YAAY,KAAK,MAAM,CAAC;IACzD,MAAM,CAAC,EAAE,CAAC,gBAAgB,EAAE,MAAM,EAAE,IAAI,EAAE,SAAS,GAAG,OAAO,KAAK,IAAI,CAAC;CACxE,CAAC;AAEF,eAAO,MAAM,gBAAgB,aACjB,YAAY,kBACP,0BAA0B,KACxC,mBAAmB,CAAC,cAAc,CAiCpC,CAAC"}
1
+ {"version":3,"file":"useDeleteHandler.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/hooks/useDeleteHandler.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAwB,YAAY,EAAE,MAAM,aAAa,CAAC;AACtE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAE5D,eAAO,MAAM,gBAAgB,aACjB,YAAY,KACrB,mBAAmB,CAAC,cAAc,CAsBpC,CAAC"}
@@ -1,10 +1,5 @@
1
1
  import type { LocalMessage } from 'stream-chat';
2
2
  import type { ReactEventHandler } from '../types';
3
3
  export declare const missingUseFlagHandlerParameterWarning = "useFlagHandler was called but it is missing one or more necessary parameters.";
4
- export type FlagMessageNotifications = {
5
- getErrorNotification?: (message: LocalMessage) => string;
6
- getSuccessNotification?: (message: LocalMessage) => string;
7
- notify?: (notificationText: string, type: 'success' | 'error') => void;
8
- };
9
- export declare const useFlagHandler: (message?: LocalMessage, notifications?: FlagMessageNotifications) => ReactEventHandler;
4
+ export declare const useFlagHandler: (message?: LocalMessage) => ReactEventHandler;
10
5
  //# sourceMappingURL=useFlagHandler.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useFlagHandler.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/hooks/useFlagHandler.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAChD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAElD,eAAO,MAAM,qCAAqC,kFAC+B,CAAC;AAElF,MAAM,MAAM,wBAAwB,GAAG;IACrC,oBAAoB,CAAC,EAAE,CAAC,OAAO,EAAE,YAAY,KAAK,MAAM,CAAC;IACzD,sBAAsB,CAAC,EAAE,CAAC,OAAO,EAAE,YAAY,KAAK,MAAM,CAAC;IAC3D,MAAM,CAAC,EAAE,CAAC,gBAAgB,EAAE,MAAM,EAAE,IAAI,EAAE,SAAS,GAAG,OAAO,KAAK,IAAI,CAAC;CACxE,CAAC;AAEF,eAAO,MAAM,cAAc,aACf,YAAY,kBACP,wBAAwB,KACtC,iBAiCF,CAAC"}
1
+ {"version":3,"file":"useFlagHandler.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/hooks/useFlagHandler.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAChD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAElD,eAAO,MAAM,qCAAqC,kFAC+B,CAAC;AAElF,eAAO,MAAM,cAAc,aAAc,YAAY,KAAG,iBAcvD,CAAC"}
@@ -1,9 +1,4 @@
1
1
  import type { LocalMessage } from 'stream-chat';
2
2
  import type { ReactEventHandler } from '../types';
3
- export type MarkUnreadHandlerNotifications = {
4
- getErrorNotification?: (message: LocalMessage) => string;
5
- getSuccessNotification?: (message: LocalMessage) => string;
6
- notify?: (notificationText: string, type: 'success' | 'error') => void;
7
- };
8
- export declare const useMarkUnreadHandler: (message?: LocalMessage, notifications?: MarkUnreadHandlerNotifications) => ReactEventHandler;
3
+ export declare const useMarkUnreadHandler: (message?: LocalMessage) => ReactEventHandler;
9
4
  //# sourceMappingURL=useMarkUnreadHandler.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useMarkUnreadHandler.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/hooks/useMarkUnreadHandler.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAChD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAElD,MAAM,MAAM,8BAA8B,GAAG;IAC3C,oBAAoB,CAAC,EAAE,CAAC,OAAO,EAAE,YAAY,KAAK,MAAM,CAAC;IACzD,sBAAsB,CAAC,EAAE,CAAC,OAAO,EAAE,YAAY,KAAK,MAAM,CAAC;IAC3D,MAAM,CAAC,EAAE,CAAC,gBAAgB,EAAE,MAAM,EAAE,IAAI,EAAE,SAAS,GAAG,OAAO,KAAK,IAAI,CAAC;CACxE,CAAC;AAEF,eAAO,MAAM,oBAAoB,aACrB,YAAY,kBACP,8BAA8B,KAC5C,iBAkCF,CAAC"}
1
+ {"version":3,"file":"useMarkUnreadHandler.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/hooks/useMarkUnreadHandler.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAChD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAElD,eAAO,MAAM,oBAAoB,aAAc,YAAY,KAAG,iBAY7D,CAAC"}
@@ -1,10 +1,5 @@
1
- import type { LocalMessage, UserResponse } from 'stream-chat';
1
+ import type { LocalMessage } from 'stream-chat';
2
2
  import type { ReactEventHandler } from '../types';
3
3
  export declare const missingUseMuteHandlerParamsWarning = "useMuteHandler was called but it is missing one or more necessary parameter.";
4
- export type MuteUserNotifications = {
5
- getErrorNotification?: (user: UserResponse) => string;
6
- getSuccessNotification?: (user: UserResponse) => string;
7
- notify?: (notificationText: string, type: 'success' | 'error') => void;
8
- };
9
- export declare const useMuteHandler: (message?: LocalMessage, notifications?: MuteUserNotifications) => ReactEventHandler;
4
+ export declare const useMuteHandler: (message?: LocalMessage) => ReactEventHandler;
10
5
  //# sourceMappingURL=useMuteHandler.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useMuteHandler.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/hooks/useMuteHandler.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAE9D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAElD,eAAO,MAAM,kCAAkC,iFACiC,CAAC;AAEjF,MAAM,MAAM,qBAAqB,GAAG;IAClC,oBAAoB,CAAC,EAAE,CAAC,IAAI,EAAE,YAAY,KAAK,MAAM,CAAC;IACtD,sBAAsB,CAAC,EAAE,CAAC,IAAI,EAAE,YAAY,KAAK,MAAM,CAAC;IACxD,MAAM,CAAC,EAAE,CAAC,gBAAgB,EAAE,MAAM,EAAE,IAAI,EAAE,SAAS,GAAG,OAAO,KAAK,IAAI,CAAC;CACxE,CAAC;AAEF,eAAO,MAAM,cAAc,aACf,YAAY,kBACP,qBAAqB,KACnC,iBAiEF,CAAC"}
1
+ {"version":3,"file":"useMuteHandler.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/hooks/useMuteHandler.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAEhD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAElD,eAAO,MAAM,kCAAkC,iFACiC,CAAC;AAEjF,eAAO,MAAM,cAAc,aAAc,YAAY,KAAG,iBAmBvD,CAAC"}
@@ -1,28 +1,6 @@
1
1
  import type { LocalMessage } from 'stream-chat';
2
2
  import type { ReactEventHandler } from '../types';
3
- export type PinEnabledUserRoles<T extends string = string> = Partial<Record<T, boolean>> & {
4
- admin?: boolean;
5
- anonymous?: boolean;
6
- channel_member?: boolean;
7
- channel_moderator?: boolean;
8
- guest?: boolean;
9
- member?: boolean;
10
- moderator?: boolean;
11
- owner?: boolean;
12
- user?: boolean;
13
- };
14
- export type PinPermissions<T extends string = string, U extends string = string> = Partial<Record<T, PinEnabledUserRoles<U>>> & {
15
- commerce?: PinEnabledUserRoles<U>;
16
- gaming?: PinEnabledUserRoles<U>;
17
- livestream?: PinEnabledUserRoles<U>;
18
- messaging?: PinEnabledUserRoles<U>;
19
- team?: PinEnabledUserRoles<U>;
20
- };
21
- export type PinMessageNotifications = {
22
- getErrorNotification?: (message: LocalMessage) => string;
23
- notify?: (notificationText: string, type: 'success' | 'error') => void;
24
- };
25
- export declare const usePinHandler: (message: LocalMessage, _permissions?: PinPermissions, notifications?: PinMessageNotifications) => {
3
+ export declare const usePinHandler: (message: LocalMessage) => {
26
4
  canPin: boolean;
27
5
  handlePin: ReactEventHandler;
28
6
  };
@@ -1 +1 @@
1
- {"version":3,"file":"usePinHandler.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/hooks/usePinHandler.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAChD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAGlD,MAAM,MAAM,mBAAmB,CAAC,CAAC,SAAS,MAAM,GAAG,MAAM,IAAI,OAAO,CAClE,MAAM,CAAC,CAAC,EAAE,OAAO,CAAC,CACnB,GAAG;IACF,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB,CAAC;AAGF,MAAM,MAAM,cAAc,CACxB,CAAC,SAAS,MAAM,GAAG,MAAM,EACzB,CAAC,SAAS,MAAM,GAAG,MAAM,IACvB,OAAO,CAAC,MAAM,CAAC,CAAC,EAAE,mBAAmB,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;IAC/C,QAAQ,CAAC,EAAE,mBAAmB,CAAC,CAAC,CAAC,CAAC;IAClC,MAAM,CAAC,EAAE,mBAAmB,CAAC,CAAC,CAAC,CAAC;IAChC,UAAU,CAAC,EAAE,mBAAmB,CAAC,CAAC,CAAC,CAAC;IACpC,SAAS,CAAC,EAAE,mBAAmB,CAAC,CAAC,CAAC,CAAC;IACnC,IAAI,CAAC,EAAE,mBAAmB,CAAC,CAAC,CAAC,CAAC;CAC/B,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAAG;IACpC,oBAAoB,CAAC,EAAE,CAAC,OAAO,EAAE,YAAY,KAAK,MAAM,CAAC;IACzD,MAAM,CAAC,EAAE,CAAC,gBAAgB,EAAE,MAAM,EAAE,IAAI,EAAE,SAAS,GAAG,OAAO,KAAK,IAAI,CAAC;CACxE,CAAC;AAEF,eAAO,MAAM,aAAa,YACf,YAAY,iBAEP,cAAc,kBACb,uBAAuB;;;CA2DvC,CAAC"}
1
+ {"version":3,"file":"usePinHandler.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/hooks/usePinHandler.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAChD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAElD,eAAO,MAAM,aAAa,YAAa,YAAY;;;CA+ClD,CAAC"}
@@ -1,9 +1,4 @@
1
1
  import type { LocalMessage, ReactionResponse, ReactionSort } from 'stream-chat';
2
2
  export declare const MAX_MESSAGE_REACTIONS_TO_FETCH = 1000;
3
- type FetchMessageReactionsNotifications = {
4
- getErrorNotification?: (message: LocalMessage) => string;
5
- notify?: (notificationText: string, type: 'success' | 'error') => void;
6
- };
7
- export declare function useReactionsFetcher(message: LocalMessage, notifications?: FetchMessageReactionsNotifications): import("../../../utils/useStableCallback").StableCallback<[reactionType?: string | undefined, sort?: ReactionSort | undefined], Promise<ReactionResponse[]>>;
8
- export {};
3
+ export declare function useReactionsFetcher(message: LocalMessage): import("../../../utils/useStableCallback").StableCallback<[reactionType?: string | undefined, sort?: ReactionSort | undefined], Promise<ReactionResponse[]>>;
9
4
  //# sourceMappingURL=useReactionsFetcher.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useReactionsFetcher.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/hooks/useReactionsFetcher.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,YAAY,EACZ,gBAAgB,EAChB,YAAY,EAEb,MAAM,aAAa,CAAC;AAGrB,eAAO,MAAM,8BAA8B,OAAO,CAAC;AAEnD,KAAK,kCAAkC,GAAG;IACxC,oBAAoB,CAAC,EAAE,CAAC,OAAO,EAAE,YAAY,KAAK,MAAM,CAAC;IACzD,MAAM,CAAC,EAAE,CAAC,gBAAgB,EAAE,MAAM,EAAE,IAAI,EAAE,SAAS,GAAG,OAAO,KAAK,IAAI,CAAC;CACxE,CAAC;AAEF,wBAAgB,mBAAmB,CACjC,OAAO,EAAE,YAAY,EACrB,aAAa,GAAE,kCAAuC,gKAevD"}
1
+ {"version":3,"file":"useReactionsFetcher.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/hooks/useReactionsFetcher.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,YAAY,EACZ,gBAAgB,EAChB,YAAY,EAEb,MAAM,aAAa,CAAC;AAGrB,eAAO,MAAM,8BAA8B,OAAO,CAAC;AAEnD,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,YAAY,gKAMxD"}
@@ -1,5 +1,5 @@
1
1
  import type { LocalMessage } from 'stream-chat';
2
- export declare const useUserRole: (message: LocalMessage, onlySenderCanEdit?: boolean, disableQuotedMessages?: boolean) => {
2
+ export declare const useUserRole: (message: LocalMessage, disableQuotedMessages?: boolean) => {
3
3
  canBlockUser: boolean;
4
4
  canDelete: boolean;
5
5
  canEdit: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"useUserRole.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/hooks/useUserRole.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAEhD,eAAO,MAAM,WAAW,YACb,YAAY,sBACD,OAAO,0BACH,OAAO;;;;;;;;;;;;;;;CAkEhC,CAAC"}
1
+ {"version":3,"file":"useUserRole.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/hooks/useUserRole.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAEhD,eAAO,MAAM,WAAW,YAAa,YAAY,0BAA0B,OAAO;;;;;;;;;;;;;;;CAiEjF,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import type { ReactNode } from 'react';
2
2
  import type { LocalMessage, ReactionSort, UserResponse } from 'stream-chat';
3
- import type { PinPermissions, UserEventHandler } from './hooks';
3
+ import type { UserEventHandler } from './hooks';
4
4
  import type { MessageActionsArray } from './utils';
5
5
  import type { GroupStyle } from '../MessageList/utils';
6
6
  import type { MessageComposerProps } from '../MessageComposer';
@@ -25,24 +25,6 @@ export type MessageProps = {
25
25
  disableQuotedMessages?: boolean;
26
26
  /** Override the default formatting of the date. This is a function that has access to the original date object, returns a string */
27
27
  formatDate?: (date: Date) => string;
28
- /** Function that returns the notification text to be displayed when a delete message request fails */
29
- getDeleteMessageErrorNotification?: (message: LocalMessage) => string;
30
- /** Function that returns the notification text to be displayed when loading message reactions fails */
31
- getFetchReactionsErrorNotification?: (message: LocalMessage) => string;
32
- /** Function that returns the notification text to be displayed when a flag message request fails */
33
- getFlagMessageErrorNotification?: (message: LocalMessage) => string;
34
- /** Function that returns the notification text to be displayed when a flag message request succeeds */
35
- getFlagMessageSuccessNotification?: (message: LocalMessage) => string;
36
- /** Function that returns the notification text to be displayed when mark channel messages unread request fails */
37
- getMarkMessageUnreadErrorNotification?: (message: LocalMessage) => string;
38
- /** Function that returns the notification text to be displayed when mark channel messages unread request succeeds */
39
- getMarkMessageUnreadSuccessNotification?: (message: LocalMessage) => string;
40
- /** Function that returns the notification text to be displayed when a mute user request fails */
41
- getMuteUserErrorNotification?: (user: UserResponse) => string;
42
- /** Function that returns the notification text to be displayed when a mute user request succeeds */
43
- getMuteUserSuccessNotification?: (user: UserResponse) => string;
44
- /** Function that returns the notification text to be displayed when a pin message request fails */
45
- getPinMessageErrorNotification?: (message: LocalMessage) => string;
46
28
  /** A list of styles to apply to this message, i.e. top, bottom, single */
47
29
  groupStyles?: GroupStyle[];
48
30
  /** Whether to highlight and focus the message on load */
@@ -59,8 +41,6 @@ export type MessageProps = {
59
41
  messageActions?: MessageActionsArray;
60
42
  /** DOMRect object for parent MessageList component */
61
43
  messageListRect?: DOMRect;
62
- /** If true, only the sender of the message has editing privileges */
63
- onlySenderCanEdit?: boolean;
64
44
  /** Custom mention click handler to override default in [ChannelActionContext](https://getstream.io/chat/docs/sdk/react/contexts/channel_action_context/) */
65
45
  onMentionsClick?: ChannelActionContextValue['onMentionsClick'];
66
46
  /** Custom mention hover handler to override default in [ChannelActionContext](https://getstream.io/chat/docs/sdk/react/contexts/channel_action_context/) */
@@ -71,8 +51,6 @@ export type MessageProps = {
71
51
  onUserHover?: UserEventHandler;
72
52
  /** Custom open thread handler to override default in [ChannelActionContext](https://getstream.io/chat/docs/sdk/react/contexts/channel_action_context/) */
73
53
  openThread?: ChannelActionContextValue['openThread'];
74
- /** @deprecated in favor of `channelCapabilities - The user roles allowed to pin messages in various channel types */
75
- pinPermissions?: PinPermissions;
76
54
  /** Sort options to provide to a reactions query */
77
55
  reactionDetailsSort?: ReactionSort;
78
56
  /** A list of users that have read this Message if the message is the last one and was posted by my user */
@@ -1 +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E,kJAAkJ;IAClJ,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,6EAA6E;IAC7E,aAAa,CAAC,EAAE,mBAAmB,CAAC;IACpC,yCAAyC;IACzC,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,gFAAgF;IAChF,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAAG,OAAO,CAAC,mBAAmB,CAAC,CAAC"}
@@ -1,6 +1,5 @@
1
1
  import type { TFunction } from 'i18next';
2
2
  import type { ChannelConfigWithInfo, LocalMessage, MessageResponse, Mute, StreamChat, UserResponse } from 'stream-chat';
3
- import type { PinPermissions } from './hooks';
4
3
  import type { MessageProps } from './types';
5
4
  import type { MessageContextValue } from '../../context';
6
5
  /**
@@ -29,7 +28,6 @@ export declare const MESSAGE_ACTIONS: {
29
28
  saveForLater: string;
30
29
  };
31
30
  export type MessageActionsArray<T extends string = string> = Array<keyof typeof MESSAGE_ACTIONS | keyof typeof OPTIONAL_MESSAGE_ACTIONS | T>;
32
- export declare const defaultPinPermissions: PinPermissions;
33
31
  export type Capabilities = {
34
32
  canDelete?: boolean;
35
33
  canEdit?: boolean;
@@ -56,6 +54,7 @@ export declare const areMessageUIPropsEqual: (prevProps: MessageContextValue & {
56
54
  showDetailedReactions?: boolean;
57
55
  }) => boolean;
58
56
  export declare const messageHasReactions: (message?: LocalMessage) => boolean;
57
+ export declare const messageHasQuotedMessage: (message?: LocalMessage) => boolean;
59
58
  export declare const messageHasAttachments: (message?: LocalMessage) => boolean;
60
59
  export declare const messageHasSingleAttachment: (message?: LocalMessage) => boolean;
61
60
  export declare const messageHasGiphyAttachment: (message?: LocalMessage) => boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../src/components/Message/utils.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AACzC,OAAO,KAAK,EACV,qBAA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,iBAAiB,EAAE,qBAAsD,CAAC;AAEvF,eAAO,MAAM,oBAAoB,UACxB,YAAY,EAAE,KAClB,SAAS,UACJ,UAAU,yBACK,qBAAqB,WAmD7C,CAAC;AAEF,eAAO,MAAM,WAAW,UAAW,MAAM,WAGxC,CAAC;AAEF,eAAO,MAAM,wBAAwB,YAAa,YAAY,YAO7D,CAAC;AAEF,eAAO,MAAM,uBAAuB,YAAa,YAAY,YACC,CAAC;AAE/D,eAAO,MAAM,oBAAoB,YAAa,KAAK,YAAY,EAAE,OAAO,GAAG,QAAQ,CAAC,YACxB,CAAC;AAE7D,eAAO,MAAM,gBAAgB,YAClB,KAAK,YAAY,EAAE,MAAM,GAAG,YAAY,GAAG,oBAAoB,CAAC,YAI/B,CAAC;AAE7C,eAAO,MAAM,gBAAgB,YAClB,KAAK,YAAY,EAAE,MAAM,GAAG,YAAY,GAAG,oBAAoB,CAAC,YAI/B,CAAC;AAE7C,eAAO,MAAM,eAAe,YAAa,KAAK,YAAY,EAAE,yBAAyB,CAAC,YACnD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"MessageActions.defaults.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageActions/MessageActions.defaults.tsx"],"names":[],"mappings":"AA8CA,OAAO,EAAkB,KAAK,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AAkY7E,eAAO,MAAM,uBAAuB,EAAE,oBAAoB,EAgFhD,CAAC"}
1
+ {"version":3,"file":"MessageActions.defaults.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageActions/MessageActions.defaults.tsx"],"names":[],"mappings":"AA8CA,OAAO,EAAkB,KAAK,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AAykB7E,eAAO,MAAM,uBAAuB,EAAE,oBAAoB,EAgFhD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"RemindMeSubmenu.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageActions/RemindMeSubmenu.tsx"],"names":[],"mappings":"AAUA,eAAO,MAAM,qBAAqB,+CAWjC,CAAC;AAEF,eAAO,MAAM,eAAe,+CA6B3B,CAAC"}
1
+ {"version":3,"file":"RemindMeSubmenu.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageActions/RemindMeSubmenu.tsx"],"names":[],"mappings":"AAwBA,eAAO,MAAM,qBAAqB,+CAWjC,CAAC;AAEF,eAAO,MAAM,eAAe,+CAqD3B,CAAC"}
@@ -0,0 +1,14 @@
1
+ export type AttachmentUploadedSizeIndicatorProps = {
2
+ attachment: {
3
+ file_size?: number | string;
4
+ localMetadata?: {
5
+ file?: {
6
+ size?: unknown;
7
+ };
8
+ uploadProgress?: number;
9
+ uploadState?: string;
10
+ } | null;
11
+ };
12
+ };
13
+ export declare const AttachmentUploadedSizeIndicator: ({ attachment, }: AttachmentUploadedSizeIndicatorProps) => import("react/jsx-runtime").JSX.Element | null;
14
+ //# sourceMappingURL=AttachmentUploadedSizeIndicator.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AttachmentUploadedSizeIndicator.d.ts","sourceRoot":"","sources":["../../../../../src/components/MessageComposer/AttachmentPreviewList/AttachmentUploadedSizeIndicator.tsx"],"names":[],"mappings":"AAuBA,MAAM,MAAM,oCAAoC,GAAG;IACjD,UAAU,EAAE;QACV,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;QAC5B,aAAa,CAAC,EAAE;YACd,IAAI,CAAC,EAAE;gBAAE,IAAI,CAAC,EAAE,OAAO,CAAA;aAAE,CAAC;YAC1B,cAAc,CAAC,EAAE,MAAM,CAAC;YACxB,WAAW,CAAC,EAAE,MAAM,CAAC;SACtB,GAAG,IAAI,CAAC;KACV,CAAC;CACH,CAAC;AAEF,eAAO,MAAM,+BAA+B,oBAEzC,oCAAoC,mDAqBtC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"AudioAttachmentPreview.d.ts","sourceRoot":"","sources":["../../../../../src/components/MessageComposer/AttachmentPreviewList/AudioAttachmentPreview.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,SAAS,CAAC;AAC5D,OAAO,EAEL,KAAK,oBAAoB,EACzB,KAAK,6BAA6B,EACnC,MAAM,aAAa,CAAC;AAmBrB,MAAM,MAAM,2BAA2B,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,IACnF,4BAA4B,CACxB,oBAAoB,CAAC,mBAAmB,CAAC,GACzC,6BAA6B,CAAC,mBAAmB,CAAC,CACrD,CAAC;AAUJ,eAAO,MAAM,sBAAsB,oDAIhC,2BAA2B,4CA+H7B,CAAC"}
1
+ {"version":3,"file":"AudioAttachmentPreview.d.ts","sourceRoot":"","sources":["../../../../../src/components/MessageComposer/AttachmentPreviewList/AudioAttachmentPreview.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,SAAS,CAAC;AAC5D,OAAO,EAEL,KAAK,oBAAoB,EACzB,KAAK,6BAA6B,EACnC,MAAM,aAAa,CAAC;AAmBrB,MAAM,MAAM,2BAA2B,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,IACnF,4BAA4B,CACxB,oBAAoB,CAAC,mBAAmB,CAAC,GACzC,6BAA6B,CAAC,mBAAmB,CAAC,CACrD,CAAC;AAUJ,eAAO,MAAM,sBAAsB,oDAIhC,2BAA2B,4CAiI7B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"FileAttachmentPreview.d.ts","sourceRoot":"","sources":["../../../../../src/components/MessageComposer/AttachmentPreviewList/FileAttachmentPreview.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAC7E,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,SAAS,CAAC;AAM5D,MAAM,MAAM,0BAA0B,CAAC,mBAAmB,GAAG,OAAO,IAClE,4BAA4B,CAC1B,mBAAmB,CAAC,mBAAmB,CAAC,GAAG,oBAAoB,CAAC,mBAAmB,CAAC,CACrF,CAAC;AAEJ,eAAO,MAAM,qBAAqB,oDAI/B,0BAA0B,4CAmE5B,CAAC"}
1
+ {"version":3,"file":"FileAttachmentPreview.d.ts","sourceRoot":"","sources":["../../../../../src/components/MessageComposer/AttachmentPreviewList/FileAttachmentPreview.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAC7E,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,SAAS,CAAC;AAK5D,MAAM,MAAM,0BAA0B,CAAC,mBAAmB,GAAG,OAAO,IAClE,4BAA4B,CAC1B,mBAAmB,CAAC,mBAAmB,CAAC,GAAG,oBAAoB,CAAC,mBAAmB,CAAC,CACrF,CAAC;AAEJ,eAAO,MAAM,qBAAqB,oDAI/B,0BAA0B,4CAqE5B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"MediaAttachmentPreview.d.ts","sourceRoot":"","sources":["../../../../../src/components/MessageComposer/AttachmentPreviewList/MediaAttachmentPreview.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,SAAS,CAAC;AAC5D,OAAO,EAEL,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EAC1B,MAAM,aAAa,CAAC;AAiBrB,MAAM,MAAM,2BAA2B,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,IACnF,4BAA4B,CAC1B,oBAAoB,CAAC,mBAAmB,CAAC,GAAG,oBAAoB,CAAC,mBAAmB,CAAC,CACtF,GAAG;IACF,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;CAC1B,CAAC;AAEJ,eAAO,MAAM,sBAAsB,iEAKhC,2BAA2B,4CAqG7B,CAAC"}
1
+ {"version":3,"file":"MediaAttachmentPreview.d.ts","sourceRoot":"","sources":["../../../../../src/components/MessageComposer/AttachmentPreviewList/MediaAttachmentPreview.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,SAAS,CAAC;AAC5D,OAAO,EAEL,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EAC1B,MAAM,aAAa,CAAC;AAkBrB,MAAM,MAAM,2BAA2B,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,IACnF,4BAA4B,CAC1B,oBAAoB,CAAC,mBAAmB,CAAC,GAAG,oBAAoB,CAAC,mBAAmB,CAAC,CACtF,GAAG;IACF,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;CAC1B,CAAC;AAEJ,eAAO,MAAM,sBAAsB,iEAKhC,2BAA2B,4CAkG7B,CAAC"}
@@ -4,5 +4,5 @@ export type UnsupportedAttachmentPreviewProps<CustomLocalMetadata = Record<strin
4
4
  handleRetry: (attachment: LocalUploadAttachment) => void | Promise<LocalUploadAttachment | undefined>;
5
5
  removeAttachments: (ids: string[]) => void;
6
6
  };
7
- export declare const UnsupportedAttachmentPreview: ({ attachment, handleRetry, removeAttachments, }: UnsupportedAttachmentPreviewProps) => import("react/jsx-runtime").JSX.Element;
7
+ export declare const UnsupportedAttachmentPreview: ({ attachment, removeAttachments, }: UnsupportedAttachmentPreviewProps) => import("react/jsx-runtime").JSX.Element;
8
8
  //# sourceMappingURL=UnsupportedAttachmentPreview.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"UnsupportedAttachmentPreview.d.ts","sourceRoot":"","sources":["../../../../../src/components/MessageComposer/AttachmentPreviewList/UnsupportedAttachmentPreview.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,kBAAkB,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAI7E,MAAM,MAAM,iCAAiC,CAC3C,mBAAmB,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,IAC3C;IACF,UAAU,EAAE,kBAAkB,CAAC,mBAAmB,CAAC,CAAC;IACpD,WAAW,EAAE,CACX,UAAU,EAAE,qBAAqB,KAC9B,IAAI,GAAG,OAAO,CAAC,qBAAqB,GAAG,SAAS,CAAC,CAAC;IACvD,iBAAiB,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;CAC5C,CAAC;AAEF,eAAO,MAAM,4BAA4B,oDAItC,iCAAiC,4CAMnC,CAAC"}
1
+ {"version":3,"file":"UnsupportedAttachmentPreview.d.ts","sourceRoot":"","sources":["../../../../../src/components/MessageComposer/AttachmentPreviewList/UnsupportedAttachmentPreview.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,kBAAkB,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAK7E,MAAM,MAAM,iCAAiC,CAC3C,mBAAmB,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,IAC3C;IACF,UAAU,EAAE,kBAAkB,CAAC,mBAAmB,CAAC,CAAC;IACpD,WAAW,EAAE,CACX,UAAU,EAAE,qBAAqB,KAC9B,IAAI,GAAG,OAAO,CAAC,qBAAqB,GAAG,SAAS,CAAC,CAAC;IACvD,iBAAiB,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;CAC5C,CAAC;AAEF,eAAO,MAAM,4BAA4B,uCAGtC,iCAAiC,4CA0BnC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"useSubmitHandler.d.ts","sourceRoot":"","sources":["../../../../../src/components/MessageComposer/hooks/useSubmitHandler.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAqB/D,eAAO,MAAM,gBAAgB,UAAW,oBAAoB;2BAUzC,MAAM,kBAAkB;CA4D1C,CAAC"}
1
+ {"version":3,"file":"useSubmitHandler.d.ts","sourceRoot":"","sources":["../../../../../src/components/MessageComposer/hooks/useSubmitHandler.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAqB/D,eAAO,MAAM,gBAAgB,UAAW,oBAAoB;2BASzC,MAAM,kBAAkB;CA6E1C,CAAC"}
@@ -1,4 +1,3 @@
1
- export declare const LoadingIndicatorIcon: () => import("react/jsx-runtime").JSX.Element;
2
1
  export declare const UploadIcon: () => import("react/jsx-runtime").JSX.Element;
3
2
  export declare const BinIcon: () => import("react/jsx-runtime").JSX.Element;
4
3
  export declare const PauseIcon: () => import("react/jsx-runtime").JSX.Element;
@@ -1 +1 @@
1
- {"version":3,"file":"icons.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageComposer/icons.tsx"],"names":[],"mappings":"AAKA,eAAO,MAAM,oBAAoB,+CA8BhC,CAAC;AAEF,eAAO,MAAM,UAAU,+CAyBtB,CAAC;AAEF,eAAO,MAAM,OAAO,+CAInB,CAAC;AAEF,eAAO,MAAM,SAAS,+CASrB,CAAC;AAEF,eAAO,MAAM,QAAQ,+CASpB,CAAC;AAEF,eAAO,MAAM,aAAa,+CAIzB,CAAC"}
1
+ {"version":3,"file":"icons.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageComposer/icons.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,UAAU,+CAyBtB,CAAC;AAEF,eAAO,MAAM,OAAO,+CAInB,CAAC;AAEF,eAAO,MAAM,SAAS,+CASrB,CAAC;AAEF,eAAO,MAAM,QAAQ,+CASpB,CAAC;AAEF,eAAO,MAAM,aAAa,+CAIzB,CAAC"}