stream-chat-react-native-core 5.28.1 → 5.29.0-beta.1

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 (381) hide show
  1. package/lib/commonjs/components/Attachment/Attachment.js +2 -2
  2. package/lib/commonjs/components/Attachment/Attachment.js.map +1 -1
  3. package/lib/commonjs/components/Attachment/AudioAttachment.js +247 -115
  4. package/lib/commonjs/components/Attachment/AudioAttachment.js.map +1 -1
  5. package/lib/commonjs/components/Attachment/FileAttachmentGroup.js +30 -50
  6. package/lib/commonjs/components/Attachment/FileAttachmentGroup.js.map +1 -1
  7. package/lib/commonjs/components/Attachment/VideoThumbnail.js +3 -3
  8. package/lib/commonjs/components/Attachment/VideoThumbnail.js.map +1 -1
  9. package/lib/commonjs/components/Channel/Channel.js +43 -1
  10. package/lib/commonjs/components/Channel/Channel.js.map +1 -1
  11. package/lib/commonjs/components/Channel/hooks/useCreateInputMessageInputContext.js +24 -0
  12. package/lib/commonjs/components/Channel/hooks/useCreateInputMessageInputContext.js.map +1 -1
  13. package/lib/commonjs/components/ImageGallery/components/ImageGalleryVideoControl.js +6 -6
  14. package/lib/commonjs/components/ImageGallery/components/ImageGalleryVideoControl.js.map +1 -1
  15. package/lib/commonjs/components/Message/Message.js +1 -1
  16. package/lib/commonjs/components/Message/Message.js.map +1 -1
  17. package/lib/commonjs/components/Message/MessageSimple/MessageContent.js +1 -1
  18. package/lib/commonjs/components/Message/MessageSimple/MessageContent.js.map +1 -1
  19. package/lib/commonjs/components/Message/MessageSimple/MessageSimple.js +1 -1
  20. package/lib/commonjs/components/Message/MessageSimple/MessageSimple.js.map +1 -1
  21. package/lib/commonjs/components/Message/hooks/useMessageActions.js +4 -2
  22. package/lib/commonjs/components/Message/hooks/useMessageActions.js.map +1 -1
  23. package/lib/commonjs/components/MessageInput/FileUploadPreview.js +55 -74
  24. package/lib/commonjs/components/MessageInput/FileUploadPreview.js.map +1 -1
  25. package/lib/commonjs/components/MessageInput/InputButtons.js +1 -1
  26. package/lib/commonjs/components/MessageInput/InputButtons.js.map +1 -1
  27. package/lib/commonjs/components/MessageInput/MessageInput.js +250 -43
  28. package/lib/commonjs/components/MessageInput/MessageInput.js.map +1 -1
  29. package/lib/commonjs/components/MessageInput/SendButton.js +9 -7
  30. package/lib/commonjs/components/MessageInput/SendButton.js.map +1 -1
  31. package/lib/commonjs/components/MessageInput/components/AudioRecorder/AudioRecorder.js +221 -0
  32. package/lib/commonjs/components/MessageInput/components/AudioRecorder/AudioRecorder.js.map +1 -0
  33. package/lib/commonjs/components/MessageInput/components/AudioRecorder/AudioRecordingButton.js +121 -0
  34. package/lib/commonjs/components/MessageInput/components/AudioRecorder/AudioRecordingButton.js.map +1 -0
  35. package/lib/commonjs/components/MessageInput/components/AudioRecorder/AudioRecordingInProgress.js +68 -0
  36. package/lib/commonjs/components/MessageInput/components/AudioRecorder/AudioRecordingInProgress.js.map +1 -0
  37. package/lib/commonjs/components/MessageInput/components/AudioRecorder/AudioRecordingLockIndicator.js +75 -0
  38. package/lib/commonjs/components/MessageInput/components/AudioRecorder/AudioRecordingLockIndicator.js.map +1 -0
  39. package/lib/commonjs/components/MessageInput/components/AudioRecorder/AudioRecordingPreview.js +87 -0
  40. package/lib/commonjs/components/MessageInput/components/AudioRecorder/AudioRecordingPreview.js.map +1 -0
  41. package/lib/commonjs/components/MessageInput/components/AudioRecorder/AudioRecordingWaveform.js +47 -0
  42. package/lib/commonjs/components/MessageInput/components/AudioRecorder/AudioRecordingWaveform.js.map +1 -0
  43. package/lib/commonjs/components/MessageInput/hooks/useAudioController.js +452 -0
  44. package/lib/commonjs/components/MessageInput/hooks/useAudioController.js.map +1 -0
  45. package/lib/commonjs/components/MessageInput/utils/audioSampling.js +91 -0
  46. package/lib/commonjs/components/MessageInput/utils/audioSampling.js.map +1 -0
  47. package/lib/commonjs/components/MessageInput/utils/normalizeAudioLevel.js +18 -0
  48. package/lib/commonjs/components/MessageInput/utils/normalizeAudioLevel.js.map +1 -0
  49. package/lib/commonjs/components/ProgressControl/ProgressControl.js +57 -40
  50. package/lib/commonjs/components/ProgressControl/ProgressControl.js.map +1 -1
  51. package/lib/commonjs/components/ProgressControl/WaveProgressBar.js +162 -0
  52. package/lib/commonjs/components/ProgressControl/WaveProgressBar.js.map +1 -0
  53. package/lib/commonjs/components/Reply/Reply.js +45 -20
  54. package/lib/commonjs/components/Reply/Reply.js.map +1 -1
  55. package/lib/commonjs/components/index.js +66 -0
  56. package/lib/commonjs/components/index.js.map +1 -1
  57. package/lib/commonjs/contexts/messageInputContext/MessageInputContext.js +23 -12
  58. package/lib/commonjs/contexts/messageInputContext/MessageInputContext.js.map +1 -1
  59. package/lib/commonjs/contexts/messageInputContext/hooks/useCreateMessageInputContext.js +24 -0
  60. package/lib/commonjs/contexts/messageInputContext/hooks/useCreateMessageInputContext.js.map +1 -1
  61. package/lib/commonjs/contexts/messageInputContext/hooks/useMessageDetailsForState.js +76 -28
  62. package/lib/commonjs/contexts/messageInputContext/hooks/useMessageDetailsForState.js.map +1 -1
  63. package/lib/commonjs/contexts/themeContext/utils/theme.js +62 -7
  64. package/lib/commonjs/contexts/themeContext/utils/theme.js.map +1 -1
  65. package/lib/commonjs/i18n/en.json +3 -1
  66. package/lib/commonjs/i18n/es.json +64 -62
  67. package/lib/commonjs/i18n/fr.json +64 -62
  68. package/lib/commonjs/i18n/he.json +64 -62
  69. package/lib/commonjs/i18n/hi.json +64 -62
  70. package/lib/commonjs/i18n/it.json +64 -62
  71. package/lib/commonjs/i18n/ja.json +64 -62
  72. package/lib/commonjs/i18n/ko.json +64 -62
  73. package/lib/commonjs/i18n/nl.json +64 -62
  74. package/lib/commonjs/i18n/pt-BR.json +64 -62
  75. package/lib/commonjs/i18n/ru.json +64 -62
  76. package/lib/commonjs/i18n/tr.json +64 -62
  77. package/lib/commonjs/icons/ArrowLeft.js +27 -0
  78. package/lib/commonjs/icons/ArrowLeft.js.map +1 -0
  79. package/lib/commonjs/icons/ArrowUp.js +26 -0
  80. package/lib/commonjs/icons/ArrowUp.js.map +1 -0
  81. package/lib/commonjs/icons/Audio.js +24 -24
  82. package/lib/commonjs/icons/Audio.js.map +1 -1
  83. package/lib/commonjs/icons/CircleStop.js +27 -0
  84. package/lib/commonjs/icons/CircleStop.js.map +1 -0
  85. package/lib/commonjs/icons/Delete.js +17 -6
  86. package/lib/commonjs/icons/Delete.js.map +1 -1
  87. package/lib/commonjs/icons/Lock.js +30 -0
  88. package/lib/commonjs/icons/Lock.js.map +1 -0
  89. package/lib/commonjs/icons/Mic.js +30 -0
  90. package/lib/commonjs/icons/Mic.js.map +1 -0
  91. package/lib/commonjs/icons/Pause.js +15 -20
  92. package/lib/commonjs/icons/Pause.js.map +1 -1
  93. package/lib/commonjs/icons/Play.js +18 -10
  94. package/lib/commonjs/icons/Play.js.map +1 -1
  95. package/lib/commonjs/icons/SendCheck.js +30 -0
  96. package/lib/commonjs/icons/SendCheck.js.map +1 -0
  97. package/lib/commonjs/icons/SendRight.js +24 -6
  98. package/lib/commonjs/icons/SendRight.js.map +1 -1
  99. package/lib/commonjs/icons/SendUp.js +24 -6
  100. package/lib/commonjs/icons/SendUp.js.map +1 -1
  101. package/lib/commonjs/icons/Stop.js +19 -0
  102. package/lib/commonjs/icons/Stop.js.map +1 -0
  103. package/lib/commonjs/icons/index.js +77 -0
  104. package/lib/commonjs/icons/index.js.map +1 -1
  105. package/lib/commonjs/native.js +10 -1
  106. package/lib/commonjs/native.js.map +1 -1
  107. package/lib/commonjs/utils/getTrimmedAttachmentTitle.js +11 -0
  108. package/lib/commonjs/utils/getTrimmedAttachmentTitle.js.map +1 -0
  109. package/lib/commonjs/version.json +1 -1
  110. package/lib/module/components/Attachment/Attachment.js +2 -2
  111. package/lib/module/components/Attachment/Attachment.js.map +1 -1
  112. package/lib/module/components/Attachment/AudioAttachment.js +247 -115
  113. package/lib/module/components/Attachment/AudioAttachment.js.map +1 -1
  114. package/lib/module/components/Attachment/FileAttachmentGroup.js +30 -50
  115. package/lib/module/components/Attachment/FileAttachmentGroup.js.map +1 -1
  116. package/lib/module/components/Attachment/VideoThumbnail.js +3 -3
  117. package/lib/module/components/Attachment/VideoThumbnail.js.map +1 -1
  118. package/lib/module/components/Channel/Channel.js +43 -1
  119. package/lib/module/components/Channel/Channel.js.map +1 -1
  120. package/lib/module/components/Channel/hooks/useCreateInputMessageInputContext.js +24 -0
  121. package/lib/module/components/Channel/hooks/useCreateInputMessageInputContext.js.map +1 -1
  122. package/lib/module/components/ImageGallery/components/ImageGalleryVideoControl.js +6 -6
  123. package/lib/module/components/ImageGallery/components/ImageGalleryVideoControl.js.map +1 -1
  124. package/lib/module/components/Message/Message.js +1 -1
  125. package/lib/module/components/Message/Message.js.map +1 -1
  126. package/lib/module/components/Message/MessageSimple/MessageContent.js +1 -1
  127. package/lib/module/components/Message/MessageSimple/MessageContent.js.map +1 -1
  128. package/lib/module/components/Message/MessageSimple/MessageSimple.js +1 -1
  129. package/lib/module/components/Message/MessageSimple/MessageSimple.js.map +1 -1
  130. package/lib/module/components/Message/hooks/useMessageActions.js +4 -2
  131. package/lib/module/components/Message/hooks/useMessageActions.js.map +1 -1
  132. package/lib/module/components/MessageInput/FileUploadPreview.js +55 -74
  133. package/lib/module/components/MessageInput/FileUploadPreview.js.map +1 -1
  134. package/lib/module/components/MessageInput/InputButtons.js +1 -1
  135. package/lib/module/components/MessageInput/InputButtons.js.map +1 -1
  136. package/lib/module/components/MessageInput/MessageInput.js +250 -43
  137. package/lib/module/components/MessageInput/MessageInput.js.map +1 -1
  138. package/lib/module/components/MessageInput/SendButton.js +9 -7
  139. package/lib/module/components/MessageInput/SendButton.js.map +1 -1
  140. package/lib/module/components/MessageInput/components/AudioRecorder/AudioRecorder.js +221 -0
  141. package/lib/module/components/MessageInput/components/AudioRecorder/AudioRecorder.js.map +1 -0
  142. package/lib/module/components/MessageInput/components/AudioRecorder/AudioRecordingButton.js +121 -0
  143. package/lib/module/components/MessageInput/components/AudioRecorder/AudioRecordingButton.js.map +1 -0
  144. package/lib/module/components/MessageInput/components/AudioRecorder/AudioRecordingInProgress.js +68 -0
  145. package/lib/module/components/MessageInput/components/AudioRecorder/AudioRecordingInProgress.js.map +1 -0
  146. package/lib/module/components/MessageInput/components/AudioRecorder/AudioRecordingLockIndicator.js +75 -0
  147. package/lib/module/components/MessageInput/components/AudioRecorder/AudioRecordingLockIndicator.js.map +1 -0
  148. package/lib/module/components/MessageInput/components/AudioRecorder/AudioRecordingPreview.js +87 -0
  149. package/lib/module/components/MessageInput/components/AudioRecorder/AudioRecordingPreview.js.map +1 -0
  150. package/lib/module/components/MessageInput/components/AudioRecorder/AudioRecordingWaveform.js +47 -0
  151. package/lib/module/components/MessageInput/components/AudioRecorder/AudioRecordingWaveform.js.map +1 -0
  152. package/lib/module/components/MessageInput/hooks/useAudioController.js +452 -0
  153. package/lib/module/components/MessageInput/hooks/useAudioController.js.map +1 -0
  154. package/lib/module/components/MessageInput/utils/audioSampling.js +91 -0
  155. package/lib/module/components/MessageInput/utils/audioSampling.js.map +1 -0
  156. package/lib/module/components/MessageInput/utils/normalizeAudioLevel.js +18 -0
  157. package/lib/module/components/MessageInput/utils/normalizeAudioLevel.js.map +1 -0
  158. package/lib/module/components/ProgressControl/ProgressControl.js +57 -40
  159. package/lib/module/components/ProgressControl/ProgressControl.js.map +1 -1
  160. package/lib/module/components/ProgressControl/WaveProgressBar.js +162 -0
  161. package/lib/module/components/ProgressControl/WaveProgressBar.js.map +1 -0
  162. package/lib/module/components/Reply/Reply.js +45 -20
  163. package/lib/module/components/Reply/Reply.js.map +1 -1
  164. package/lib/module/components/index.js +66 -0
  165. package/lib/module/components/index.js.map +1 -1
  166. package/lib/module/contexts/messageInputContext/MessageInputContext.js +23 -12
  167. package/lib/module/contexts/messageInputContext/MessageInputContext.js.map +1 -1
  168. package/lib/module/contexts/messageInputContext/hooks/useCreateMessageInputContext.js +24 -0
  169. package/lib/module/contexts/messageInputContext/hooks/useCreateMessageInputContext.js.map +1 -1
  170. package/lib/module/contexts/messageInputContext/hooks/useMessageDetailsForState.js +76 -28
  171. package/lib/module/contexts/messageInputContext/hooks/useMessageDetailsForState.js.map +1 -1
  172. package/lib/module/contexts/themeContext/utils/theme.js +62 -7
  173. package/lib/module/contexts/themeContext/utils/theme.js.map +1 -1
  174. package/lib/module/i18n/en.json +3 -1
  175. package/lib/module/i18n/es.json +64 -62
  176. package/lib/module/i18n/fr.json +64 -62
  177. package/lib/module/i18n/he.json +64 -62
  178. package/lib/module/i18n/hi.json +64 -62
  179. package/lib/module/i18n/it.json +64 -62
  180. package/lib/module/i18n/ja.json +64 -62
  181. package/lib/module/i18n/ko.json +64 -62
  182. package/lib/module/i18n/nl.json +64 -62
  183. package/lib/module/i18n/pt-BR.json +64 -62
  184. package/lib/module/i18n/ru.json +64 -62
  185. package/lib/module/i18n/tr.json +64 -62
  186. package/lib/module/icons/ArrowLeft.js +27 -0
  187. package/lib/module/icons/ArrowLeft.js.map +1 -0
  188. package/lib/module/icons/ArrowUp.js +26 -0
  189. package/lib/module/icons/ArrowUp.js.map +1 -0
  190. package/lib/module/icons/Audio.js +24 -24
  191. package/lib/module/icons/Audio.js.map +1 -1
  192. package/lib/module/icons/CircleStop.js +27 -0
  193. package/lib/module/icons/CircleStop.js.map +1 -0
  194. package/lib/module/icons/Delete.js +17 -6
  195. package/lib/module/icons/Delete.js.map +1 -1
  196. package/lib/module/icons/Lock.js +30 -0
  197. package/lib/module/icons/Lock.js.map +1 -0
  198. package/lib/module/icons/Mic.js +30 -0
  199. package/lib/module/icons/Mic.js.map +1 -0
  200. package/lib/module/icons/Pause.js +15 -20
  201. package/lib/module/icons/Pause.js.map +1 -1
  202. package/lib/module/icons/Play.js +18 -10
  203. package/lib/module/icons/Play.js.map +1 -1
  204. package/lib/module/icons/SendCheck.js +30 -0
  205. package/lib/module/icons/SendCheck.js.map +1 -0
  206. package/lib/module/icons/SendRight.js +24 -6
  207. package/lib/module/icons/SendRight.js.map +1 -1
  208. package/lib/module/icons/SendUp.js +24 -6
  209. package/lib/module/icons/SendUp.js.map +1 -1
  210. package/lib/module/icons/Stop.js +19 -0
  211. package/lib/module/icons/Stop.js.map +1 -0
  212. package/lib/module/icons/index.js +77 -0
  213. package/lib/module/icons/index.js.map +1 -1
  214. package/lib/module/native.js +10 -1
  215. package/lib/module/native.js.map +1 -1
  216. package/lib/module/utils/getTrimmedAttachmentTitle.js +11 -0
  217. package/lib/module/utils/getTrimmedAttachmentTitle.js.map +1 -0
  218. package/lib/module/version.json +1 -1
  219. package/lib/typescript/components/Attachment/Attachment.d.ts.map +1 -1
  220. package/lib/typescript/components/Attachment/AudioAttachment.d.ts +3 -8
  221. package/lib/typescript/components/Attachment/AudioAttachment.d.ts.map +1 -1
  222. package/lib/typescript/components/Attachment/FileAttachmentGroup.d.ts.map +1 -1
  223. package/lib/typescript/components/Channel/Channel.d.ts.map +1 -1
  224. package/lib/typescript/components/Channel/hooks/useCreateInputMessageInputContext.d.ts +15 -3
  225. package/lib/typescript/components/Channel/hooks/useCreateInputMessageInputContext.d.ts.map +1 -1
  226. package/lib/typescript/components/ImageGallery/components/ImageGalleryVideoControl.d.ts.map +1 -1
  227. package/lib/typescript/components/Message/MessageSimple/MessageContent.d.ts.map +1 -1
  228. package/lib/typescript/components/Message/MessageSimple/MessageSimple.d.ts.map +1 -1
  229. package/lib/typescript/components/MessageInput/FileUploadPreview.d.ts +1 -1
  230. package/lib/typescript/components/MessageInput/FileUploadPreview.d.ts.map +1 -1
  231. package/lib/typescript/components/MessageInput/InputButtons.d.ts.map +1 -1
  232. package/lib/typescript/components/MessageInput/MessageInput.d.ts +1 -1
  233. package/lib/typescript/components/MessageInput/MessageInput.d.ts.map +1 -1
  234. package/lib/typescript/components/MessageInput/SendButton.d.ts.map +1 -1
  235. package/lib/typescript/components/MessageInput/components/AudioRecorder/AudioRecorder.d.ts +51 -0
  236. package/lib/typescript/components/MessageInput/components/AudioRecorder/AudioRecorder.d.ts.map +1 -0
  237. package/lib/typescript/components/MessageInput/components/AudioRecorder/AudioRecordingButton.d.ts +43 -0
  238. package/lib/typescript/components/MessageInput/components/AudioRecorder/AudioRecordingButton.d.ts.map +1 -0
  239. package/lib/typescript/components/MessageInput/components/AudioRecorder/AudioRecordingInProgress.d.ts +29 -0
  240. package/lib/typescript/components/MessageInput/components/AudioRecorder/AudioRecordingInProgress.d.ts.map +1 -0
  241. package/lib/typescript/components/MessageInput/components/AudioRecorder/AudioRecordingLockIndicator.d.ts +22 -0
  242. package/lib/typescript/components/MessageInput/components/AudioRecorder/AudioRecordingLockIndicator.d.ts.map +1 -0
  243. package/lib/typescript/components/MessageInput/components/AudioRecorder/AudioRecordingPreview.d.ts +31 -0
  244. package/lib/typescript/components/MessageInput/components/AudioRecorder/AudioRecordingPreview.d.ts.map +1 -0
  245. package/lib/typescript/components/MessageInput/components/AudioRecorder/AudioRecordingWaveform.d.ts +19 -0
  246. package/lib/typescript/components/MessageInput/components/AudioRecorder/AudioRecordingWaveform.d.ts.map +1 -0
  247. package/lib/typescript/components/MessageInput/hooks/useAudioController.d.ts +28 -0
  248. package/lib/typescript/components/MessageInput/hooks/useAudioController.d.ts.map +1 -0
  249. package/lib/typescript/components/MessageInput/utils/audioSampling.d.ts +11 -0
  250. package/lib/typescript/components/MessageInput/utils/audioSampling.d.ts.map +1 -0
  251. package/lib/typescript/components/MessageInput/utils/normalizeAudioLevel.d.ts +5 -0
  252. package/lib/typescript/components/MessageInput/utils/normalizeAudioLevel.d.ts.map +1 -0
  253. package/lib/typescript/components/ProgressControl/ProgressControl.d.ts +2 -2
  254. package/lib/typescript/components/ProgressControl/ProgressControl.d.ts.map +1 -1
  255. package/lib/typescript/components/ProgressControl/WaveProgressBar.d.ts +11 -0
  256. package/lib/typescript/components/ProgressControl/WaveProgressBar.d.ts.map +1 -0
  257. package/lib/typescript/components/Reply/Reply.d.ts.map +1 -1
  258. package/lib/typescript/components/index.d.ts +6 -0
  259. package/lib/typescript/components/index.d.ts.map +1 -1
  260. package/lib/typescript/contexts/messageInputContext/MessageInputContext.d.ts +70 -4
  261. package/lib/typescript/contexts/messageInputContext/MessageInputContext.d.ts.map +1 -1
  262. package/lib/typescript/contexts/messageInputContext/hooks/useCreateMessageInputContext.d.ts +1 -1
  263. package/lib/typescript/contexts/messageInputContext/hooks/useCreateMessageInputContext.d.ts.map +1 -1
  264. package/lib/typescript/contexts/messageInputContext/hooks/useMessageDetailsForState.d.ts.map +1 -1
  265. package/lib/typescript/contexts/themeContext/utils/theme.d.ts +62 -7
  266. package/lib/typescript/contexts/themeContext/utils/theme.d.ts.map +1 -1
  267. package/lib/typescript/i18n/en.json +3 -1
  268. package/lib/typescript/i18n/es.json +64 -62
  269. package/lib/typescript/i18n/fr.json +64 -62
  270. package/lib/typescript/i18n/he.json +64 -62
  271. package/lib/typescript/i18n/hi.json +64 -62
  272. package/lib/typescript/i18n/it.json +64 -62
  273. package/lib/typescript/i18n/ja.json +64 -62
  274. package/lib/typescript/i18n/ko.json +64 -62
  275. package/lib/typescript/i18n/nl.json +64 -62
  276. package/lib/typescript/i18n/pt-BR.json +64 -62
  277. package/lib/typescript/i18n/ru.json +64 -62
  278. package/lib/typescript/i18n/tr.json +64 -62
  279. package/lib/typescript/icons/ArrowLeft.d.ts +8 -0
  280. package/lib/typescript/icons/ArrowLeft.d.ts.map +1 -0
  281. package/lib/typescript/icons/ArrowUp.d.ts +9 -0
  282. package/lib/typescript/icons/ArrowUp.d.ts.map +1 -0
  283. package/lib/typescript/icons/Audio.d.ts.map +1 -1
  284. package/lib/typescript/icons/CircleStop.d.ts +8 -0
  285. package/lib/typescript/icons/CircleStop.d.ts.map +1 -0
  286. package/lib/typescript/icons/Delete.d.ts +5 -1
  287. package/lib/typescript/icons/Delete.d.ts.map +1 -1
  288. package/lib/typescript/icons/Lock.d.ts +9 -0
  289. package/lib/typescript/icons/Lock.d.ts.map +1 -0
  290. package/lib/typescript/icons/Mic.d.ts +8 -0
  291. package/lib/typescript/icons/Mic.d.ts.map +1 -0
  292. package/lib/typescript/icons/Pause.d.ts +3 -1
  293. package/lib/typescript/icons/Pause.d.ts.map +1 -1
  294. package/lib/typescript/icons/Play.d.ts +3 -1
  295. package/lib/typescript/icons/Play.d.ts.map +1 -1
  296. package/lib/typescript/icons/SendCheck.d.ts +8 -0
  297. package/lib/typescript/icons/SendCheck.d.ts.map +1 -0
  298. package/lib/typescript/icons/SendRight.d.ts +5 -1
  299. package/lib/typescript/icons/SendRight.d.ts.map +1 -1
  300. package/lib/typescript/icons/SendUp.d.ts +5 -1
  301. package/lib/typescript/icons/SendUp.d.ts.map +1 -1
  302. package/lib/typescript/icons/Stop.d.ts +4 -0
  303. package/lib/typescript/icons/Stop.d.ts.map +1 -0
  304. package/lib/typescript/icons/index.d.ts +7 -0
  305. package/lib/typescript/icons/index.d.ts.map +1 -1
  306. package/lib/typescript/native.d.ts +49 -0
  307. package/lib/typescript/native.d.ts.map +1 -1
  308. package/lib/typescript/types/types.d.ts +6 -0
  309. package/lib/typescript/types/types.d.ts.map +1 -1
  310. package/lib/typescript/utils/Streami18n.d.ts +2 -0
  311. package/lib/typescript/utils/Streami18n.d.ts.map +1 -1
  312. package/lib/typescript/utils/getTrimmedAttachmentTitle.d.ts +2 -0
  313. package/lib/typescript/utils/getTrimmedAttachmentTitle.d.ts.map +1 -0
  314. package/package.json +1 -1
  315. package/src/components/Attachment/Attachment.tsx +7 -2
  316. package/src/components/Attachment/AudioAttachment.tsx +223 -119
  317. package/src/components/Attachment/FileAttachmentGroup.tsx +35 -55
  318. package/src/components/Attachment/VideoThumbnail.tsx +1 -1
  319. package/src/components/Channel/Channel.tsx +32 -0
  320. package/src/components/Channel/hooks/useCreateInputMessageInputContext.ts +24 -0
  321. package/src/components/ImageGallery/__tests__/ImageGallery.test.tsx +1 -1
  322. package/src/components/ImageGallery/__tests__/ImageGalleryVideoControl.test.tsx +2 -2
  323. package/src/components/ImageGallery/components/ImageGalleryVideoControl.tsx +2 -7
  324. package/src/components/Message/Message.tsx +1 -1
  325. package/src/components/Message/MessageSimple/MessageContent.tsx +2 -1
  326. package/src/components/Message/MessageSimple/MessageSimple.tsx +2 -1
  327. package/src/components/Message/hooks/useMessageActions.tsx +2 -2
  328. package/src/components/MessageInput/FileUploadPreview.tsx +67 -98
  329. package/src/components/MessageInput/InputButtons.tsx +2 -1
  330. package/src/components/MessageInput/MessageInput.tsx +320 -49
  331. package/src/components/MessageInput/SendButton.tsx +7 -3
  332. package/src/components/MessageInput/__tests__/MessageInput.test.js +0 -1
  333. package/src/components/MessageInput/__tests__/__snapshots__/SendButton.test.js.snap +132 -48
  334. package/src/components/MessageInput/components/AudioRecorder/AudioRecorder.tsx +313 -0
  335. package/src/components/MessageInput/components/AudioRecorder/AudioRecordingButton.tsx +192 -0
  336. package/src/components/MessageInput/components/AudioRecorder/AudioRecordingInProgress.tsx +114 -0
  337. package/src/components/MessageInput/components/AudioRecorder/AudioRecordingLockIndicator.tsx +85 -0
  338. package/src/components/MessageInput/components/AudioRecorder/AudioRecordingPreview.tsx +102 -0
  339. package/src/components/MessageInput/components/AudioRecorder/AudioRecordingWaveform.tsx +62 -0
  340. package/src/components/MessageInput/hooks/useAudioController.tsx +288 -0
  341. package/src/components/MessageInput/utils/audioSampling.ts +108 -0
  342. package/src/components/MessageInput/utils/normalizeAudioLevel.ts +20 -0
  343. package/src/components/ProgressControl/ProgressControl.tsx +69 -40
  344. package/src/components/ProgressControl/WaveProgressBar.tsx +180 -0
  345. package/src/components/Reply/Reply.tsx +89 -56
  346. package/src/components/Thread/__tests__/__snapshots__/Thread.test.js.snap +38 -20
  347. package/src/components/index.ts +6 -0
  348. package/src/contexts/messageInputContext/MessageInputContext.tsx +95 -10
  349. package/src/contexts/messageInputContext/hooks/useCreateMessageInputContext.ts +25 -0
  350. package/src/contexts/messageInputContext/hooks/useMessageDetailsForState.ts +80 -27
  351. package/src/contexts/themeContext/utils/theme.ts +111 -14
  352. package/src/i18n/en.json +3 -1
  353. package/src/i18n/es.json +64 -62
  354. package/src/i18n/fr.json +64 -62
  355. package/src/i18n/he.json +64 -62
  356. package/src/i18n/hi.json +64 -62
  357. package/src/i18n/it.json +64 -62
  358. package/src/i18n/ja.json +64 -62
  359. package/src/i18n/ko.json +64 -62
  360. package/src/i18n/nl.json +64 -62
  361. package/src/i18n/pt-BR.json +64 -62
  362. package/src/i18n/ru.json +64 -62
  363. package/src/i18n/tr.json +64 -62
  364. package/src/icons/ArrowLeft.tsx +18 -0
  365. package/src/icons/ArrowUp.tsx +19 -0
  366. package/src/icons/Audio.tsx +24 -24
  367. package/src/icons/CircleStop.tsx +18 -0
  368. package/src/icons/Delete.tsx +14 -8
  369. package/src/icons/Lock.tsx +22 -0
  370. package/src/icons/Mic.tsx +20 -0
  371. package/src/icons/Pause.tsx +12 -11
  372. package/src/icons/Play.tsx +9 -13
  373. package/src/icons/SendCheck.tsx +18 -0
  374. package/src/icons/SendRight.tsx +16 -7
  375. package/src/icons/SendUp.tsx +16 -7
  376. package/src/icons/Stop.tsx +12 -0
  377. package/src/icons/index.ts +7 -0
  378. package/src/native.ts +69 -0
  379. package/src/types/types.ts +6 -0
  380. package/src/utils/getTrimmedAttachmentTitle.ts +5 -0
  381. package/src/version.json +1 -1
@@ -1,11 +1,22 @@
1
1
  /// <reference types="react" />
2
2
  import type { InputMessageInputContextValue } from '../../../contexts/messageInputContext/MessageInputContext';
3
3
  import type { DefaultStreamChatGenerics } from '../../../types/types';
4
- export declare const useCreateInputMessageInputContext: <StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>({ additionalTextInputProps, AttachButton, autoCompleteSuggestionsLimit, autoCompleteTriggerSettings, channelId, clearEditingState, clearQuotedMessageState, CommandsButton, compressImageQuality, CooldownTimer, disabled, doDocUploadRequest, doImageUploadRequest, editing, editMessage, emojiSearchIndex, FileUploadPreview, hasCommands, hasFilePicker, hasImagePicker, ImageUploadPreview, initialValue, Input, InputButtons, InputEditingStateHeader, InputGiphySearch, InputReplyStateHeader, maxMessageLength, maxNumberOfFiles, mentionAllAppUsersEnabled, mentionAllAppUsersQuery, MoreOptionsButton, numberOfLines, onChangeText, quotedMessage, SendButton, sendImageAsync, sendMessage, SendMessageDisallowedIndicator, setInputRef, setQuotedMessageState, ShowThreadMessageInChannelButton, UploadProgressIndicator, }: Pick<import("../../..").ChannelContextValue<StreamChatGenerics>, "disabled"> & {
4
+ export declare const useCreateInputMessageInputContext: <StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>({ additionalTextInputProps, asyncMessagesLockDistance, asyncMessagesMinimumPressDuration, asyncMessagesMultiSendEnabled, asyncMessagesSlideToCancelDistance, AttachButton, AudioAttachmentUploadPreview, AudioRecorder, audioRecordingEnabled, AudioRecordingInProgress, AudioRecordingLockIndicator, AudioRecordingPreview, AudioRecordingWaveform, autoCompleteSuggestionsLimit, autoCompleteTriggerSettings, channelId, clearEditingState, clearQuotedMessageState, CommandsButton, compressImageQuality, CooldownTimer, disabled, doDocUploadRequest, doImageUploadRequest, editing, editMessage, emojiSearchIndex, FileUploadPreview, hasCommands, hasFilePicker, hasImagePicker, ImageUploadPreview, initialValue, Input, InputButtons, InputEditingStateHeader, InputGiphySearch, InputReplyStateHeader, maxMessageLength, maxNumberOfFiles, mentionAllAppUsersEnabled, mentionAllAppUsersQuery, MoreOptionsButton, numberOfLines, onChangeText, quotedMessage, SendButton, sendImageAsync, sendMessage, SendMessageDisallowedIndicator, setInputRef, setQuotedMessageState, ShowThreadMessageInChannelButton, StartAudioRecordingButton, UploadProgressIndicator, }: Pick<import("../../..").ChannelContextValue<StreamChatGenerics>, "disabled"> & {
5
+ asyncMessagesLockDistance: number;
6
+ asyncMessagesMinimumPressDuration: number;
7
+ asyncMessagesMultiSendEnabled: boolean;
8
+ asyncMessagesSlideToCancelDistance: number;
5
9
  AttachButton: import("react").ComponentType<Partial<Pick<import("../../..").ChannelContextValue<StreamChatGenerics>, "disabled"> & {
6
10
  handleOnPress?: (((event: import("react-native/types").GestureResponderEvent) => void) & (() => void)) | undefined;
7
11
  selectedPicker?: "images" | undefined;
8
12
  }>>;
13
+ AudioAttachmentUploadPreview: import("react").ComponentType<import("../..").AudioAttachmentProps>;
14
+ AudioRecorder: import("react").ComponentType<import("../..").AudioRecorderProps<StreamChatGenerics>>;
15
+ audioRecordingEnabled: boolean;
16
+ AudioRecordingInProgress: import("react").ComponentType<import("../..").AudioRecordingInProgressProps>;
17
+ AudioRecordingLockIndicator: import("react").ComponentType<import("../..").AudioRecordingLockIndicatorProps>;
18
+ AudioRecordingPreview: import("react").ComponentType<import("../..").AudioRecordingPreviewProps>;
19
+ AudioRecordingWaveform: import("react").ComponentType<import("../..").AudioRecordingWaveformProps>;
9
20
  clearEditingState: () => void;
10
21
  clearQuotedMessageState: () => void;
11
22
  CommandsButton: import("react").ComponentType<Partial<Pick<import("../../..").ChannelContextValue<StreamChatGenerics>, "disabled"> & Pick<import("../../..").SuggestionsContextValue<StreamChatGenerics>, "suggestions"> & {
@@ -15,7 +26,7 @@ export declare const useCreateInputMessageInputContext: <StreamChatGenerics exte
15
26
  editMessage: (message: import("stream-chat").UpdatedMessage<StreamChatGenerics>, userId?: string | {
16
27
  id: string;
17
28
  } | undefined, options?: import("stream-chat").UpdateMessageOptions | undefined) => Promise<import("stream-chat").UpdateMessageAPIResponse<StreamChatGenerics>>;
18
- FileUploadPreview: import("react").ComponentType<Partial<Pick<import("../../../contexts/messageInputContext/MessageInputContext").MessageInputContextValue<StreamChatGenerics>, "uploadFile" | "fileUploads" | "removeFile" | "setFileUploads"> & Pick<import("../../..").MessagesContextValue<StreamChatGenerics>, "AudioAttachment" | "FileAttachmentIcon"> & Pick<import("../../..").ChatContextValue<StreamChatGenerics>, "enableOfflineSupport">>>;
29
+ FileUploadPreview: import("react").ComponentType<Partial<Pick<import("../../../contexts/messageInputContext/MessageInputContext").MessageInputContextValue<StreamChatGenerics>, "uploadFile" | "AudioAttachmentUploadPreview" | "fileUploads" | "removeFile" | "setFileUploads"> & Pick<import("../../..").MessagesContextValue<StreamChatGenerics>, "FileAttachmentIcon"> & Pick<import("../../..").ChatContextValue<StreamChatGenerics>, "enableOfflineSupport">>>;
19
30
  hasCommands: boolean;
20
31
  hasFilePicker: boolean;
21
32
  hasImagePicker: boolean;
@@ -38,6 +49,7 @@ export declare const useCreateInputMessageInputContext: <StreamChatGenerics exte
38
49
  ShowThreadMessageInChannelButton: import("react").ComponentType<{
39
50
  threadList?: boolean | undefined;
40
51
  }>;
52
+ StartAudioRecordingButton: import("react").ComponentType<import("../..").AudioRecordingButtonProps<StreamChatGenerics>>;
41
53
  UploadProgressIndicator: import("react").ComponentType<import("../..").UploadProgressIndicatorProps>;
42
54
  additionalTextInputProps?: import("react-native/types").TextInputProps | undefined;
43
55
  autoCompleteSuggestionsLimit?: number | undefined;
@@ -51,7 +63,7 @@ export declare const useCreateInputMessageInputContext: <StreamChatGenerics exte
51
63
  editing?: import("../..").MessageType<StreamChatGenerics> | undefined;
52
64
  emojiSearchIndex?: import("../../../contexts/messageInputContext/MessageInputContext").EmojiSearchIndex | undefined;
53
65
  initialValue?: string | undefined;
54
- Input?: import("react").ComponentType<Omit<Partial<Pick<import("../../..").AttachmentPickerContextValue, "AttachmentPickerSelectionBar"> & Pick<import("../../..").ChatContextValue<StreamChatGenerics>, "isOnline"> & Pick<import("../../..").ChannelContextValue<StreamChatGenerics>, "disabled" | "members" | "watchers" | "threadList"> & Pick<import("../../../contexts/messageInputContext/MessageInputContext").MessageInputContextValue<StreamChatGenerics>, "maxNumberOfFiles" | "numberOfUploads" | "clearEditingState" | "clearQuotedMessageState" | "CooldownTimer" | "FileUploadPreview" | "ImageUploadPreview" | "InputEditingStateHeader" | "InputGiphySearch" | "InputReplyStateHeader" | "quotedMessage" | "SendButton" | "ShowThreadMessageInChannelButton" | "additionalTextInputProps" | "editing" | "Input" | "InputButtons" | "asyncIds" | "asyncUploads" | "closeAttachmentPicker" | "cooldownEndsAt" | "fileUploads" | "removeFile" | "giphyActive" | "imageUploads" | "removeImage" | "inputBoxRef" | "isValidMessage" | "mentionedUsers" | "resetInput" | "sending" | "sendMessageAsync" | "setShowMoreOptions" | "setGiphyActive" | "showMoreOptions" | "uploadNewFile" | "uploadNewImage"> & Pick<import("../../..").MessagesContextValue<StreamChatGenerics>, "Reply"> & Pick<import("../../..").SuggestionsContextValue<StreamChatGenerics>, "suggestions" | "AutoCompleteSuggestionHeader" | "AutoCompleteSuggestionItem" | "AutoCompleteSuggestionList" | "triggerType"> & Pick<import("../../..").ThreadContextValue<StreamChatGenerics>, "thread"> & Pick<import("../../..").TranslationContextValue, "t">>, "Input"> & Partial<import("../..").InputButtonsWithContextProps<StreamChatGenerics>> & {
66
+ Input?: import("react").ComponentType<Omit<Partial<Pick<import("../../..").AttachmentPickerContextValue, "AttachmentPickerSelectionBar"> & Pick<import("../../..").ChatContextValue<StreamChatGenerics>, "isOnline"> & Pick<import("../../..").ChannelContextValue<StreamChatGenerics>, "disabled" | "members" | "watchers" | "threadList"> & Pick<import("../../../contexts/messageInputContext/MessageInputContext").MessageInputContextValue<StreamChatGenerics>, "text" | "maxNumberOfFiles" | "numberOfUploads" | "asyncMessagesLockDistance" | "asyncMessagesMinimumPressDuration" | "asyncMessagesSlideToCancelDistance" | "AudioRecorder" | "audioRecordingEnabled" | "AudioRecordingInProgress" | "AudioRecordingLockIndicator" | "AudioRecordingPreview" | "clearEditingState" | "clearQuotedMessageState" | "CooldownTimer" | "FileUploadPreview" | "ImageUploadPreview" | "InputEditingStateHeader" | "InputGiphySearch" | "InputReplyStateHeader" | "quotedMessage" | "SendButton" | "ShowThreadMessageInChannelButton" | "StartAudioRecordingButton" | "additionalTextInputProps" | "editing" | "Input" | "InputButtons" | "asyncIds" | "asyncUploads" | "closeAttachmentPicker" | "cooldownEndsAt" | "fileUploads" | "removeFile" | "giphyActive" | "imageUploads" | "removeImage" | "inputBoxRef" | "isValidMessage" | "mentionedUsers" | "resetInput" | "sending" | "sendMessageAsync" | "setShowMoreOptions" | "setGiphyActive" | "showMoreOptions" | "uploadNewFile" | "uploadNewImage"> & Pick<import("../../..").MessagesContextValue<StreamChatGenerics>, "Reply"> & Pick<import("../../..").SuggestionsContextValue<StreamChatGenerics>, "suggestions" | "AutoCompleteSuggestionHeader" | "AutoCompleteSuggestionItem" | "AutoCompleteSuggestionList" | "triggerType"> & Pick<import("../../..").ThreadContextValue<StreamChatGenerics>, "thread"> & Pick<import("../../..").TranslationContextValue, "t">>, "Input"> & Partial<import("../..").InputButtonsWithContextProps<StreamChatGenerics>> & {
55
67
  getUsers: () => import("stream-chat").UserResponse<StreamChatGenerics>[];
56
68
  }> | undefined;
57
69
  InputButtons?: import("react").ComponentType<Partial<import("../..").InputButtonsWithContextProps<StreamChatGenerics>>> | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"useCreateInputMessageInputContext.d.ts","sourceRoot":"","sources":["../../../../../src/components/Channel/hooks/useCreateInputMessageInputContext.ts"],"names":[],"mappings":";AAEA,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,2DAA2D,CAAC;AAC/G,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,sBAAsB,CAAC;AAEtE,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA+C5C;;OAEG;;uDAmEJ,CAAC"}
1
+ {"version":3,"file":"useCreateInputMessageInputContext.d.ts","sourceRoot":"","sources":["../../../../../src/components/Channel/hooks/useCreateInputMessageInputContext.ts"],"names":[],"mappings":";AAEA,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,2DAA2D,CAAC;AAC/G,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,sBAAsB,CAAC;AAEtE,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA2D5C;;OAEG;;uDA+EJ,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ImageGalleryVideoControl.d.ts","sourceRoot":"","sources":["../../../../../src/components/ImageGallery/components/ImageGalleryVideoControl.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,KAAK,EAAE,mCAAmC,EAAE,MAAM,sBAAsB,CAAC;AA8BhF,eAAO,MAAM,wBAAwB,oCAC3B,mCAAmC,uBAsF5C,CAAC"}
1
+ {"version":3,"file":"ImageGalleryVideoControl.d.ts","sourceRoot":"","sources":["../../../../../src/components/ImageGallery/components/ImageGalleryVideoControl.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,KAAK,EAAE,mCAAmC,EAAE,MAAM,sBAAsB,CAAC;AA8BhF,eAAO,MAAM,wBAAwB,oCAC3B,mCAAmC,uBAiF5C,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"MessageContent.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/MessageSimple/MessageContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAW1B,OAAO,EACL,mBAAmB,EAEpB,MAAM,iDAAiD,CAAC;AACzD,OAAO,EACL,oBAAoB,EAErB,MAAM,mDAAmD,CAAC;AAE3D,OAAO,EAGL,uBAAuB,EAExB,MAAM,yDAAyD,CAAC;AAGjE,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,sBAAsB,CAAC;AAkCtE,MAAM,MAAM,8BAA8B,CACxC,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,IAC9E,IAAI,CACN,mBAAmB,CAAC,kBAAkB,CAAC,EACrC,WAAW,GACX,UAAU,GACV,aAAa,GACb,aAAa,GACb,cAAc,GACd,aAAa,GACb,kBAAkB,GAClB,SAAS,GACT,SAAS,GACT,qBAAqB,GACrB,aAAa,GACb,YAAY,GACZ,SAAS,GACT,WAAW,GACX,kBAAkB,GAClB,cAAc,GACd,mBAAmB,GACnB,YAAY,CACf,GACC,IAAI,CACF,oBAAoB,CAAC,kBAAkB,CAAC,EACtC,0BAA0B,GAC1B,YAAY,GACZ,qBAAqB,GACrB,YAAY,GACZ,SAAS,GACT,mBAAmB,GACnB,eAAe,GACf,eAAe,GACf,gBAAgB,GAChB,cAAc,GACd,qBAAqB,GACrB,gBAAgB,GAChB,eAAe,GACf,gBAAgB,GAChB,kBAAkB,GAClB,OAAO,CACV,GACD,IAAI,CAAC,uBAAuB,EAAE,GAAG,GAAG,iBAAiB,CAAC,GAAG;IACvD,sBAAsB,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC,CAAC;CACtE,CAAC;AAocJ,MAAM,MAAM,mBAAmB,CAC7B,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,IAC9E,OAAO,CAAC,IAAI,CAAC,8BAA8B,CAAC,kBAAkB,CAAC,EAAE,wBAAwB,CAAC,CAAC,GAC7F,IAAI,CAAC,8BAA8B,CAAC,kBAAkB,CAAC,EAAE,wBAAwB,CAAC,CAAC;AAErF;;GAEG;AACH,eAAO,MAAM,cAAc;;;CAwF1B,CAAC"}
1
+ {"version":3,"file":"MessageContent.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/MessageSimple/MessageContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAW1B,OAAO,EACL,mBAAmB,EAEpB,MAAM,iDAAiD,CAAC;AACzD,OAAO,EACL,oBAAoB,EAErB,MAAM,mDAAmD,CAAC;AAE3D,OAAO,EAGL,uBAAuB,EAExB,MAAM,yDAAyD,CAAC;AAGjE,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,sBAAsB,CAAC;AAkCtE,MAAM,MAAM,8BAA8B,CACxC,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,IAC9E,IAAI,CACN,mBAAmB,CAAC,kBAAkB,CAAC,EACrC,WAAW,GACX,UAAU,GACV,aAAa,GACb,aAAa,GACb,cAAc,GACd,aAAa,GACb,kBAAkB,GAClB,SAAS,GACT,SAAS,GACT,qBAAqB,GACrB,aAAa,GACb,YAAY,GACZ,SAAS,GACT,WAAW,GACX,kBAAkB,GAClB,cAAc,GACd,mBAAmB,GACnB,YAAY,CACf,GACC,IAAI,CACF,oBAAoB,CAAC,kBAAkB,CAAC,EACtC,0BAA0B,GAC1B,YAAY,GACZ,qBAAqB,GACrB,YAAY,GACZ,SAAS,GACT,mBAAmB,GACnB,eAAe,GACf,eAAe,GACf,gBAAgB,GAChB,cAAc,GACd,qBAAqB,GACrB,gBAAgB,GAChB,eAAe,GACf,gBAAgB,GAChB,kBAAkB,GAClB,OAAO,CACV,GACD,IAAI,CAAC,uBAAuB,EAAE,GAAG,GAAG,iBAAiB,CAAC,GAAG;IACvD,sBAAsB,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC,CAAC;CACtE,CAAC;AAqcJ,MAAM,MAAM,mBAAmB,CAC7B,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,IAC9E,OAAO,CAAC,IAAI,CAAC,8BAA8B,CAAC,kBAAkB,CAAC,EAAE,wBAAwB,CAAC,CAAC,GAC7F,IAAI,CAAC,8BAA8B,CAAC,kBAAkB,CAAC,EAAE,wBAAwB,CAAC,CAAC;AAErF;;GAEG;AACH,eAAO,MAAM,cAAc;;;CAwF1B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"MessageSimple.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/MessageSimple/MessageSimple.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAGxC,OAAO,EACL,mBAAmB,EAEpB,MAAM,iDAAiD,CAAC;AACzD,OAAO,EACL,oBAAoB,EAErB,MAAM,mDAAmD,CAAC;AAG3D,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,sBAAsB,CAAC;AAgBtE,MAAM,MAAM,6BAA6B,CACvC,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,IAC9E,IAAI,CACN,mBAAmB,CAAC,kBAAkB,CAAC,EACvC,WAAW,GAAG,SAAS,GAAG,UAAU,GAAG,aAAa,GAAG,cAAc,GAAG,SAAS,CAClF,GACC,IAAI,CACF,oBAAoB,CAAC,kBAAkB,CAAC,EACtC,6BAA6B,GAC7B,gBAAgB,GAChB,eAAe,GACf,gBAAgB,GAChB,cAAc,CACjB,CAAC;AAqKJ,MAAM,MAAM,kBAAkB,CAC5B,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,IAC9E,OAAO,CAAC,6BAA6B,CAAC,kBAAkB,CAAC,CAAC,CAAC;AAE/D;;;GAGG;AACH,eAAO,MAAM,aAAa;;;CAiCzB,CAAC"}
1
+ {"version":3,"file":"MessageSimple.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/MessageSimple/MessageSimple.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAGxC,OAAO,EACL,mBAAmB,EAEpB,MAAM,iDAAiD,CAAC;AACzD,OAAO,EACL,oBAAoB,EAErB,MAAM,mDAAmD,CAAC;AAG3D,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,sBAAsB,CAAC;AAgBtE,MAAM,MAAM,6BAA6B,CACvC,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,IAC9E,IAAI,CACN,mBAAmB,CAAC,kBAAkB,CAAC,EACvC,WAAW,GAAG,SAAS,GAAG,UAAU,GAAG,aAAa,GAAG,cAAc,GAAG,SAAS,CAClF,GACC,IAAI,CACF,oBAAoB,CAAC,kBAAkB,CAAC,EACtC,6BAA6B,GAC7B,gBAAgB,GAChB,eAAe,GACf,gBAAgB,GAChB,cAAc,CACjB,CAAC;AAsKJ,MAAM,MAAM,kBAAkB,CAC5B,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,IAC9E,OAAO,CAAC,6BAA6B,CAAC,kBAAkB,CAAC,CAAC,CAAC;AAE/D;;;GAGG;AACH,eAAO,MAAM,aAAa;;;CAiCzB,CAAC"}
@@ -3,7 +3,7 @@ import { ChatContextValue } from '../../contexts';
3
3
  import { MessageInputContextValue } from '../../contexts/messageInputContext/MessageInputContext';
4
4
  import { MessagesContextValue } from '../../contexts/messagesContext/MessagesContext';
5
5
  import type { DefaultStreamChatGenerics } from '../../types/types';
6
- type FileUploadPreviewPropsWithContext<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Pick<MessageInputContextValue<StreamChatGenerics>, 'fileUploads' | 'removeFile' | 'uploadFile' | 'setFileUploads'> & Pick<MessagesContextValue<StreamChatGenerics>, 'AudioAttachment' | 'FileAttachmentIcon'> & Pick<ChatContextValue<StreamChatGenerics>, 'enableOfflineSupport'>;
6
+ type FileUploadPreviewPropsWithContext<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Pick<MessageInputContextValue<StreamChatGenerics>, 'fileUploads' | 'removeFile' | 'uploadFile' | 'setFileUploads' | 'AudioAttachmentUploadPreview'> & Pick<MessagesContextValue<StreamChatGenerics>, 'FileAttachmentIcon'> & Pick<ChatContextValue<StreamChatGenerics>, 'enableOfflineSupport'>;
7
7
  export type FileUploadPreviewProps<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Partial<FileUploadPreviewPropsWithContext<StreamChatGenerics>>;
8
8
  /**
9
9
  * FileUploadPreview
@@ -1 +1 @@
1
- {"version":3,"file":"FileUploadPreview.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageInput/FileUploadPreview.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAO3D,OAAO,EAAE,gBAAgB,EAAkB,MAAM,gBAAgB,CAAC;AAClE,OAAO,EACL,wBAAwB,EAEzB,MAAM,wDAAwD,CAAC;AAChE,OAAO,EACL,oBAAoB,EAErB,MAAM,gDAAgD,CAAC;AAMxD,OAAO,KAAK,EAAE,yBAAyB,EAAc,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MAAM,sBAAsB,CAChC,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,IAC9E,OAAO,CAAC,iCAAiC,CAAC,kBAAkB,CAAC,CAAC,CAAC;AAEnE;;;GAGG;AACH,eAAO,MAAM,iBAAiB;;;CAwB7B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"InputButtons.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageInput/InputButtons.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EACL,wBAAwB,EAEzB,MAAM,wDAAwD,CAAC;AAIhE,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAC;AAMnE,MAAM,MAAM,iBAAiB,CAC3B,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,IAC9E,OAAO,CAAC,4BAA4B,CAAC,kBAAkB,CAAC,CAAC,CAAC;AAE9D,MAAM,MAAM,4BAA4B,CACtC,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,IAC9E,IAAI,CACN,wBAAwB,CAAC,kBAAkB,CAAC,EAC1C,cAAc,GACd,gBAAgB,GAChB,aAAa,GACb,aAAa,GACb,eAAe,GACf,gBAAgB,GAChB,mBAAmB,GACnB,oBAAoB,GACpB,gBAAgB,GAChB,oBAAoB,GACpB,iBAAiB,GACjB,MAAM,GACN,wBAAwB,CAC3B,CAAC;AAEF,eAAO,MAAM,uBAAuB,yKAkDnC,CAAC;AA6DF,eAAO,MAAM,YAAY,2KAyCxB,CAAC"}
1
+ {"version":3,"file":"InputButtons.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageInput/InputButtons.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EACL,wBAAwB,EAEzB,MAAM,wDAAwD,CAAC;AAIhE,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAC;AAMnE,MAAM,MAAM,iBAAiB,CAC3B,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,IAC9E,OAAO,CAAC,4BAA4B,CAAC,kBAAkB,CAAC,CAAC,CAAC;AAE9D,MAAM,MAAM,4BAA4B,CACtC,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,IAC9E,IAAI,CACN,wBAAwB,CAAC,kBAAkB,CAAC,EAC1C,cAAc,GACd,gBAAgB,GAChB,aAAa,GACb,aAAa,GACb,eAAe,GACf,gBAAgB,GAChB,mBAAmB,GACnB,oBAAoB,GACpB,gBAAgB,GAChB,oBAAoB,GACpB,iBAAiB,GACjB,MAAM,GACN,wBAAwB,CAC3B,CAAC;AAEF,eAAO,MAAM,uBAAuB,yKAkDnC,CAAC;AA8DF,eAAO,MAAM,YAAY,2KAyCxB,CAAC"}
@@ -8,7 +8,7 @@ import { SuggestionsContextValue } from '../../contexts/suggestionsContext/Sugge
8
8
  import { ThreadContextValue } from '../../contexts/threadContext/ThreadContext';
9
9
  import { TranslationContextValue } from '../../contexts/translationContext/TranslationContext';
10
10
  import type { DefaultStreamChatGenerics } from '../../types/types';
11
- type MessageInputPropsWithContext<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Pick<AttachmentPickerContextValue, 'AttachmentPickerSelectionBar'> & Pick<ChatContextValue<StreamChatGenerics>, 'isOnline'> & Pick<ChannelContextValue<StreamChatGenerics>, 'disabled' | 'members' | 'threadList' | 'watchers'> & Pick<MessageInputContextValue<StreamChatGenerics>, 'additionalTextInputProps' | 'asyncIds' | 'asyncUploads' | 'cooldownEndsAt' | 'CooldownTimer' | 'clearEditingState' | 'clearQuotedMessageState' | 'closeAttachmentPicker' | 'editing' | 'FileUploadPreview' | 'fileUploads' | 'giphyActive' | 'ImageUploadPreview' | 'imageUploads' | 'Input' | 'inputBoxRef' | 'InputButtons' | 'InputEditingStateHeader' | 'InputGiphySearch' | 'InputReplyStateHeader' | 'isValidMessage' | 'maxNumberOfFiles' | 'mentionedUsers' | 'numberOfUploads' | 'quotedMessage' | 'resetInput' | 'SendButton' | 'sending' | 'sendMessageAsync' | 'setShowMoreOptions' | 'setGiphyActive' | 'showMoreOptions' | 'ShowThreadMessageInChannelButton' | 'removeFile' | 'removeImage' | 'uploadNewFile' | 'uploadNewImage'> & Pick<MessagesContextValue<StreamChatGenerics>, 'Reply'> & Pick<SuggestionsContextValue<StreamChatGenerics>, 'AutoCompleteSuggestionHeader' | 'AutoCompleteSuggestionItem' | 'AutoCompleteSuggestionList' | 'suggestions' | 'triggerType'> & Pick<ThreadContextValue<StreamChatGenerics>, 'thread'> & Pick<TranslationContextValue, 't'>;
11
+ type MessageInputPropsWithContext<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Pick<AttachmentPickerContextValue, 'AttachmentPickerSelectionBar'> & Pick<ChatContextValue<StreamChatGenerics>, 'isOnline'> & Pick<ChannelContextValue<StreamChatGenerics>, 'disabled' | 'members' | 'threadList' | 'watchers'> & Pick<MessageInputContextValue<StreamChatGenerics>, 'additionalTextInputProps' | 'asyncIds' | 'audioRecordingEnabled' | 'asyncMessagesLockDistance' | 'asyncMessagesMinimumPressDuration' | 'asyncMessagesSlideToCancelDistance' | 'asyncUploads' | 'AudioRecorder' | 'AudioRecordingInProgress' | 'AudioRecordingLockIndicator' | 'AudioRecordingPreview' | 'cooldownEndsAt' | 'CooldownTimer' | 'clearEditingState' | 'clearQuotedMessageState' | 'closeAttachmentPicker' | 'editing' | 'FileUploadPreview' | 'fileUploads' | 'giphyActive' | 'ImageUploadPreview' | 'imageUploads' | 'Input' | 'inputBoxRef' | 'InputButtons' | 'InputEditingStateHeader' | 'InputGiphySearch' | 'InputReplyStateHeader' | 'isValidMessage' | 'maxNumberOfFiles' | 'mentionedUsers' | 'numberOfUploads' | 'quotedMessage' | 'resetInput' | 'SendButton' | 'sending' | 'sendMessageAsync' | 'setShowMoreOptions' | 'setGiphyActive' | 'showMoreOptions' | 'ShowThreadMessageInChannelButton' | 'StartAudioRecordingButton' | 'removeFile' | 'removeImage' | 'text' | 'uploadNewFile' | 'uploadNewImage'> & Pick<MessagesContextValue<StreamChatGenerics>, 'Reply'> & Pick<SuggestionsContextValue<StreamChatGenerics>, 'AutoCompleteSuggestionHeader' | 'AutoCompleteSuggestionItem' | 'AutoCompleteSuggestionList' | 'suggestions' | 'triggerType'> & Pick<ThreadContextValue<StreamChatGenerics>, 'thread'> & Pick<TranslationContextValue, 't'>;
12
12
  export type MessageInputProps<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Partial<MessageInputPropsWithContext<StreamChatGenerics>>;
13
13
  /**
14
14
  * UI Component for message input
@@ -1 +1 @@
1
- {"version":3,"file":"MessageInput.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageInput/MessageInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAa5D,OAAO,EAAE,gBAAgB,EAAkB,MAAM,gBAAgB,CAAC;AAClE,OAAO,EACL,4BAA4B,EAE7B,MAAM,gEAAgE,CAAC;AACxE,OAAO,EACL,mBAAmB,EAEpB,MAAM,8CAA8C,CAAC;AACtD,OAAO,EACL,wBAAwB,EAEzB,MAAM,wDAAwD,CAAC;AAChE,OAAO,EACL,oBAAoB,EAErB,MAAM,gDAAgD,CAAC;AAExD,OAAO,EACL,uBAAuB,EAExB,MAAM,sDAAsD,CAAC;AAE9D,OAAO,EAAE,kBAAkB,EAAoB,MAAM,4CAA4C,CAAC;AAClG,OAAO,EACL,uBAAuB,EAExB,MAAM,sDAAsD,CAAC;AAE9D,OAAO,KAAK,EAAS,yBAAyB,EAAE,MAAM,mBAAmB,CAAC;AAwC1E,KAAK,4BAA4B,CAC/B,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,IAC9E,IAAI,CAAC,4BAA4B,EAAE,8BAA8B,CAAC,GACpE,IAAI,CAAC,gBAAgB,CAAC,kBAAkB,CAAC,EAAE,UAAU,CAAC,GACtD,IAAI,CACF,mBAAmB,CAAC,kBAAkB,CAAC,EACvC,UAAU,GAAG,SAAS,GAAG,YAAY,GAAG,UAAU,CACnD,GACD,IAAI,CACF,wBAAwB,CAAC,kBAAkB,CAAC,EAC1C,0BAA0B,GAC1B,UAAU,GACV,cAAc,GACd,gBAAgB,GAChB,eAAe,GACf,mBAAmB,GACnB,yBAAyB,GACzB,uBAAuB,GACvB,SAAS,GACT,mBAAmB,GACnB,aAAa,GACb,aAAa,GACb,oBAAoB,GACpB,cAAc,GACd,OAAO,GACP,aAAa,GACb,cAAc,GACd,yBAAyB,GACzB,kBAAkB,GAClB,uBAAuB,GACvB,gBAAgB,GAChB,kBAAkB,GAClB,gBAAgB,GAChB,iBAAiB,GACjB,eAAe,GACf,YAAY,GACZ,YAAY,GACZ,SAAS,GACT,kBAAkB,GAClB,oBAAoB,GACpB,gBAAgB,GAChB,iBAAiB,GACjB,kCAAkC,GAClC,YAAY,GACZ,aAAa,GACb,eAAe,GACf,gBAAgB,CACnB,GACD,IAAI,CAAC,oBAAoB,CAAC,kBAAkB,CAAC,EAAE,OAAO,CAAC,GACvD,IAAI,CACF,uBAAuB,CAAC,kBAAkB,CAAC,EACzC,8BAA8B,GAC9B,4BAA4B,GAC5B,4BAA4B,GAC5B,aAAa,GACb,aAAa,CAChB,GACD,IAAI,CAAC,kBAAkB,CAAC,kBAAkB,CAAC,EAAE,QAAQ,CAAC,GACtD,IAAI,CAAC,uBAAuB,EAAE,GAAG,CAAC,CAAC;AA2nBrC,MAAM,MAAM,iBAAiB,CAC3B,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,IAC9E,OAAO,CAAC,4BAA4B,CAAC,kBAAkB,CAAC,CAAC,CAAC;AAE9D;;;;;;;;GAQG;AACH,eAAO,MAAM,YAAY;;;CAiIxB,CAAC"}
1
+ {"version":3,"file":"MessageInput.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageInput/MessageInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuC,MAAM,OAAO,CAAC;AA6B5D,OAAO,EA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AC,0BAA0B,CAAC,kBAAkB,CAAC,CAAC,CAAC;AAE5D;;GAEG;AACH,eAAO,MAAM,UAAU;;;CActB,CAAC"}
1
+ {"version":3,"file":"SendButton.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageInput/SendButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EACL,wBAAwB,EAEzB,MAAM,wDAAwD,CAAC;AAMhE,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAC;AAEnE,KAAK,0BAA0B,CAC7B,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,IAC9E,IAAI,CAAC,wBAAwB,CAAC,kBAAkB,CAAC,EAAE,aAAa,GAAG,aAAa,CAAC,GAAG;IACtF,0BAA0B,CAAC,QAAQ,EAAE,OAAO,CAAC;CAC9C,CAAC;AAiEF,MAAM,MAAM,eAAe,CACzB,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,IAC9E,OAAO,CAAC,0BAA0B,CAAC,kBAAkB,CAAC,CAAC,CAAC;AAE5D;;GAEG;AACH,eAAO,MAAM,UAAU;;;CActB,CAAC"}
@@ -0,0 +1,51 @@
1
+ import React from 'react';
2
+ import { StyleProp, ViewStyle } from 'react-native';
3
+ import { ChannelContextValue } from '../../../../contexts/channelContext/ChannelContext';
4
+ import { MessageInputContextValue } from '../../../../contexts/messageInputContext/MessageInputContext';
5
+ import { AudioRecordingReturnType } from '../../../../native';
6
+ import type { DefaultStreamChatGenerics } from '../../../../types/types';
7
+ type AudioRecorderPropsWithContext<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Pick<ChannelContextValue<StreamChatGenerics>, 'disabled'> & Pick<MessageInputContextValue<StreamChatGenerics>, 'asyncMessagesMultiSendEnabled'> & {
8
+ /**
9
+ * Function to stop and delete the voice recording.
10
+ */
11
+ deleteVoiceRecording: () => Promise<void>;
12
+ /**
13
+ * Boolean used to show if the voice recording state is locked. This makes sure the mic button shouldn't be pressed any longer.
14
+ * When the mic is locked the `AudioRecordingInProgress` component shows up.
15
+ */
16
+ micLocked: boolean;
17
+ /**
18
+ * The current voice recording that is in progress.
19
+ */
20
+ recording: AudioRecordingReturnType;
21
+ /**
22
+ * Boolean to determine if the recording has been stopped.
23
+ */
24
+ recordingStopped: boolean;
25
+ /**
26
+ * Function to stop the ongoing voice recording.
27
+ */
28
+ stopVoiceRecording: () => Promise<void>;
29
+ /**
30
+ * Function to upload the voice recording.
31
+ */
32
+ uploadVoiceRecording: (multiSendEnabled: boolean) => Promise<void>;
33
+ /**
34
+ * The duration of the voice recording.
35
+ */
36
+ recordingDuration?: number;
37
+ /**
38
+ * Style used in slide to cancel container.
39
+ */
40
+ slideToCancelStyle?: StyleProp<ViewStyle>;
41
+ };
42
+ export type AudioRecorderProps<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Partial<AudioRecorderPropsWithContext<StreamChatGenerics>> & Pick<AudioRecorderPropsWithContext<StreamChatGenerics>, 'deleteVoiceRecording' | 'micLocked' | 'recording' | 'recordingStopped' | 'stopVoiceRecording' | 'uploadVoiceRecording'>;
43
+ /**
44
+ * Component to display the Recording UI in the Message Input.
45
+ */
46
+ export declare const AudioRecorder: {
47
+ <StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>(props: AudioRecorderProps<StreamChatGenerics>): React.JSX.Element;
48
+ displayName: string;
49
+ };
50
+ export {};
51
+ //# sourceMappingURL=AudioRecorder.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AudioRecorder.d.ts","sourceRoot":"","sources":["../../../../../../src/components/MessageInput/components/AudioRecorder/AudioRecorder.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAa,SAAS,EAA0B,SAAS,EAAE,MAAM,cAAc,CAAC;AAMvF,OAAO,EACL,mBAAmB,EAEpB,MAAM,oDAAoD,CAAC;AAC5D,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ChannelContextValue } from '../../../../contexts/channelContext/ChannelContext';
3
+ import { MessageInputContextValue } from '../../../../contexts/messageInputContext/MessageInputContext';
4
+ import { AudioRecordingReturnType } from '../../../../native';
5
+ import type { DefaultStreamChatGenerics } from '../../../../types/types';
6
+ type AudioRecordingButtonPropsWithContext<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Pick<ChannelContextValue<StreamChatGenerics>, 'disabled'> & Pick<MessageInputContextValue<StreamChatGenerics>, 'asyncMessagesMinimumPressDuration'> & {
7
+ /**
8
+ * The current voice recording that is in progress.
9
+ */
10
+ recording: AudioRecordingReturnType;
11
+ /**
12
+ * Size of the mic button.
13
+ */
14
+ buttonSize?: number;
15
+ /**
16
+ * Handler to determine what should happen on long press of the mic button.
17
+ */
18
+ handleLongPress?: () => void;
19
+ /**
20
+ * Handler to determine what should happen on press of the mic button.
21
+ */
22
+ handlePress?: () => void;
23
+ /**
24
+ * Boolean to determine if the audio recording permissions are granted.
25
+ */
26
+ permissionsGranted?: boolean;
27
+ /**
28
+ * Function to start the voice recording.
29
+ */
30
+ startVoiceRecording?: () => Promise<void>;
31
+ };
32
+ export type AudioRecordingButtonProps<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Partial<AudioRecordingButtonPropsWithContext<StreamChatGenerics>> & {
33
+ recording: AudioRecordingReturnType;
34
+ };
35
+ /**
36
+ * Component to display the mic button on the Message Input.
37
+ */
38
+ export declare const AudioRecordingButton: {
39
+ <StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>(props: AudioRecordingButtonProps<StreamChatGenerics>): React.JSX.Element;
40
+ displayName: string;
41
+ };
42
+ export {};
43
+ //# sourceMappingURL=AudioRecordingButton.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AudioRecordingButton.d.ts","sourceRoot":"","sources":["../../../../../../src/components/MessageInput/components/AudioRecorder/AudioRecordingButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EACL,mBAAmB,EAEpB,MAAM,oDAAoD,CAAC;AAC5D,OAAO,EACL,wBAAwB,EAEzB,MAAM,8DAA8D,CAAC;AAItE,OAAO,EAAE,wBAAwB,EAAiB,MAAM,oBAAoB,CAAC;AAE7E,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,yBAAyB,CAAC;AAEzE,KAAK,oCAAoC,CACvC,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,IAC9E,IAAI,CAAC,mBAAmB,CAAC,kBAAkB,CAAC,EAAE,UAAU,CAAC,GAC3D,IAAI,CAAC,wBAAwB,CAAC,kBAAkB,CAAC,EAAE,mCAAmC,CAAC,GAAG;IACxF;;OAEG;IACH,SAAS,EAAE,wBAAwB,CAAC;IACpC;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,IAAI,CAAC;IAC7B;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;IACzB;;OAEG;IACH,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B;;OAEG;IACH,mBAAmB,CAAC,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;CAC3C,CAAC;AAmHJ,MAAM,MAAM,yBAAyB,CACnC,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,IAC9E,OAAO,CAAC,oCAAoC,CAAC,kBAAkB,CAAC,CAAC,GAAG;IACtE,SAAS,EAAE,wBAAwB,CAAC;CACrC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,oBAAoB;;;CAWhC,CAAC"}
@@ -0,0 +1,29 @@
1
+ import React from 'react';
2
+ import { MessageInputContextValue } from '../../../../contexts/messageInputContext/MessageInputContext';
3
+ import type { DefaultStreamChatGenerics } from '../../../../types/types';
4
+ type AudioRecordingInProgressPropsWithContext<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Pick<MessageInputContextValue<StreamChatGenerics>, 'AudioRecordingWaveform'> & {
5
+ /**
6
+ * The waveform data to be presented to show the audio levels.
7
+ */
8
+ waveformData: number[];
9
+ /**
10
+ * Maximum number of waveform lines that should be rendered in the UI.
11
+ */
12
+ maxDataPointsDrawn?: number;
13
+ /**
14
+ * The duration of the voice recording.
15
+ */
16
+ recordingDuration?: number;
17
+ };
18
+ export type AudioRecordingInProgressProps<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Partial<AudioRecordingInProgressPropsWithContext<StreamChatGenerics>> & {
19
+ waveformData: number[];
20
+ };
21
+ /**
22
+ * Component displayed when the audio is in the recording state.
23
+ */
24
+ export declare const AudioRecordingInProgress: {
25
+ <StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>(props: AudioRecordingInProgressProps<StreamChatGenerics>): React.JSX.Element;
26
+ displayName: string;
27
+ };
28
+ export {};
29
+ //# sourceMappingURL=AudioRecordingInProgress.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AudioRecordingInProgress.d.ts","sourceRoot":"","sources":["../../../../../../src/components/MessageInput/components/AudioRecorder/AudioRecordingInProgress.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,EACL,wBAAwB,EAEzB,MAAM,8DAA8D,CAAC;AAGtE,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,yBAAyB,CAAC;AAEzE,KAAK,wCAAwC,CAC3C,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,IAC9E,IAAI,CAAC,wBAAwB,CAAC,kBAAkB,CAAC,EAAE,wBAAwB,CAAC,GAAG;IACjF;;OAEG;IACH,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB;;OAEG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B,CAAC;AAqDF,MAAM,MAAM,6BAA6B,CACvC,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,IAC9E,OAAO,CAAC,wCAAwC,CAAC,kBAAkB,CAAC,CAAC,GAAG;IAC1E,YAAY,EAAE,MAAM,EAAE,CAAC;CACxB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,wBAAwB;;;CAQpC,CAAC"}
@@ -0,0 +1,22 @@
1
+ import React from 'react';
2
+ import { StyleProp, ViewStyle } from 'react-native';
3
+ export type AudioRecordingLockIndicatorProps = {
4
+ /**
5
+ * Boolean used to show if the voice recording state is locked. This makes sure the mic button shouldn't be pressed any longer.
6
+ * When the mic is locked the `AudioRecordingInProgress` component shows up.
7
+ */
8
+ micLocked: boolean;
9
+ /**
10
+ * Height of the message input, to apply necessary position adjustments to this component.
11
+ */
12
+ messageInputHeight?: number;
13
+ /**
14
+ * Styles of the lock indicator.
15
+ */
16
+ style?: StyleProp<ViewStyle>;
17
+ };
18
+ /**
19
+ * Component displayed to show the lock state of the recording when the button is slided up.
20
+ */
21
+ export declare const AudioRecordingLockIndicator: ({ messageInputHeight, micLocked, style, }: AudioRecordingLockIndicatorProps) => React.JSX.Element | null;
22
+ //# sourceMappingURL=AudioRecordingLockIndicator.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AudioRecordingLockIndicator.d.ts","sourceRoot":"","sources":["../../../../../../src/components/MessageInput/components/AudioRecorder/AudioRecordingLockIndicator.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAC3D,OAAO,EAAE,SAAS,EAAc,SAAS,EAAE,MAAM,cAAc,CAAC;AAOhE,MAAM,MAAM,gCAAgC,GAAG;IAC7C;;;OAGG;IACH,SAAS,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B;;OAEG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,2BAA2B,8CAIrC,gCAAgC,6BA0ClC,CAAC"}
@@ -0,0 +1,31 @@
1
+ import React from 'react';
2
+ export type AudioRecordingPreviewProps = {
3
+ /**
4
+ * Boolean used to show the paused state of the player.
5
+ */
6
+ paused: boolean;
7
+ /**
8
+ * Number used to show the current position of the audio being played.
9
+ */
10
+ position: number;
11
+ /**
12
+ * Number used to show the percentage of progress of the audio being played. It should be in 0-1 range.
13
+ */
14
+ progress: number;
15
+ /**
16
+ * The waveform data to be presented to show the audio levels.
17
+ */
18
+ waveformData: number[];
19
+ /**
20
+ * Function to play or pause the audio player.
21
+ */
22
+ onVoicePlayerPlayPause?: () => Promise<void>;
23
+ };
24
+ /**
25
+ * Component displayed when the audio is recorded and can be previewed.
26
+ */
27
+ export declare const AudioRecordingPreview: {
28
+ (props: AudioRecordingPreviewProps): React.JSX.Element;
29
+ displayName: string;
30
+ };
31
+ //# sourceMappingURL=AudioRecordingPreview.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AudioRecordingPreview.d.ts","sourceRoot":"","sources":["../../../../../../src/components/MessageInput/components/AudioRecorder/AudioRecordingPreview.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAU1B,MAAM,MAAM,0BAA0B,GAAG;IACvC;;OAEG;IACH,MAAM,EAAE,OAAO,CAAC;IAChB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB;;OAEG;IACH,sBAAsB,CAAC,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;CAC9C,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,qBAAqB;YAAW,0BAA0B;;CAwCtE,CAAC"}
@@ -0,0 +1,19 @@
1
+ import React from 'react';
2
+ export type AudioRecordingWaveformProps = {
3
+ /**
4
+ * Maximum number of waveform lines that should be rendered in the UI.
5
+ */
6
+ maxDataPointsDrawn: number;
7
+ /**
8
+ * The waveform data to be presented to show the audio levels.
9
+ */
10
+ waveformData: number[];
11
+ };
12
+ /**
13
+ * Waveform Component displayed when the audio is in the recording state.
14
+ */
15
+ export declare const AudioRecordingWaveform: {
16
+ (props: AudioRecordingWaveformProps): React.JSX.Element;
17
+ displayName: string;
18
+ };
19
+ //# sourceMappingURL=AudioRecordingWaveform.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AudioRecordingWaveform.d.ts","sourceRoot":"","sources":["../../../../../../src/components/MessageInput/components/AudioRecorder/AudioRecordingWaveform.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,MAAM,MAAM,2BAA2B,GAAG;IACxC;;OAEG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAC3B;;OAEG;IACH,YAAY,EAAE,MAAM,EAAE,CAAC;CACxB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,sBAAsB;YAAW,2BAA2B;;CA2BxE,CAAC"}
@@ -0,0 +1,28 @@
1
+ /// <reference types="react" />
2
+ import { AudioRecordingReturnType } from '../../../native';
3
+ export type RecordingStatusStates = 'idle' | 'recording' | 'stopped';
4
+ /**
5
+ * The hook that controls all the async audio core features including start/stop or recording, player, upload/delete of the recorded audio.
6
+ */
7
+ export declare const useAudioController: () => {
8
+ deleteVoiceRecording: () => Promise<void>;
9
+ micLocked: boolean;
10
+ onVoicePlayerPlayPause: () => Promise<void>;
11
+ paused: boolean;
12
+ permissionsGranted: boolean;
13
+ position: number;
14
+ progress: number;
15
+ recording: AudioRecordingReturnType;
16
+ recordingDuration: number;
17
+ recordingStatus: RecordingStatusStates;
18
+ setMicLocked: import("react").Dispatch<import("react").SetStateAction<boolean>>;
19
+ setRecording: import("react").Dispatch<import("react").SetStateAction<AudioRecordingReturnType>>;
20
+ setRecordingDuration: import("react").Dispatch<import("react").SetStateAction<number>>;
21
+ setRecordingStatus: import("react").Dispatch<import("react").SetStateAction<RecordingStatusStates>>;
22
+ setWaveformData: import("react").Dispatch<import("react").SetStateAction<number[]>>;
23
+ startVoiceRecording: () => Promise<void>;
24
+ stopVoiceRecording: () => Promise<void>;
25
+ uploadVoiceRecording: (multiSendEnabled: boolean) => Promise<void>;
26
+ waveformData: number[];
27
+ };
28
+ //# sourceMappingURL=useAudioController.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useAudioController.d.ts","sourceRoot":"","sources":["../../../../../src/components/MessageInput/hooks/useAudioController.tsx"],"names":[],"mappings":";AAKA,OAAO,EAEL,wBAAwB,EAMzB,MAAM,iBAAiB,CAAC;AAKzB,MAAM,MAAM,qBAAqB,GAAG,MAAM,GAAG,WAAW,GAAG,SAAS,CAAC;AAErE;;GAEG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;6CAoNyB,OAAO;;CAoD9D,CAAC"}
@@ -0,0 +1,11 @@
1
+ export declare const resampleWaveformData: (waveformData: number[], amplitudesCount: number) => number[];
2
+ /**
3
+ * The downSample function uses the Largest-Triangle-Three-Buckets (LTTB) algorithm.
4
+ * See the thesis Downsampling Time Series for Visual Representation by Sveinn Steinarsson for more (https://skemman.is/bitstream/1946/15343/3/SS_MSthesis.pdf)
5
+ * @param data
6
+ * @param targetOutputSize
7
+ */
8
+ export declare function downSample(data: number[], targetOutputSize: number): number[];
9
+ export declare const divMod: (num: number, divisor: number) => number[];
10
+ export declare const upSample: (values: number[], targetSize: number) => number[];
11
+ //# sourceMappingURL=audioSampling.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"audioSampling.d.ts","sourceRoot":"","sources":["../../../../../src/components/MessageInput/utils/audioSampling.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,oBAAoB,iBAAkB,MAAM,EAAE,mBAAmB,MAAM,aAKvC,CAAC;AAE9C;;;;;GAKG;AACH,wBAAgB,UAAU,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,gBAAgB,EAAE,MAAM,GAAG,MAAM,EAAE,CAoD7E;AASD,eAAO,MAAM,MAAM,QAAS,MAAM,WAAW,MAAM,aAA+C,CAAC;AAWnG,eAAO,MAAM,QAAQ,WAAY,MAAM,EAAE,cAAc,MAAM,aAsB5D,CAAC"}
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Utility function to normalize the audio level.
3
+ */
4
+ export declare const normalizeAudioLevel: (value: number, lowerBound: number) => number;
5
+ //# sourceMappingURL=normalizeAudioLevel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"normalizeAudioLevel.d.ts","sourceRoot":"","sources":["../../../../../src/components/MessageInput/utils/normalizeAudioLevel.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,eAAO,MAAM,mBAAmB,UAAW,MAAM,cAAc,MAAM,WAgBpE,CAAC"}
@@ -2,10 +2,10 @@ import React from 'react';
2
2
  export type ProgressControlProps = {
3
3
  duration: number;
4
4
  filledColor: string;
5
- onPlayPause: (status?: boolean) => void;
6
5
  progress: number;
7
6
  testID: string;
8
- width: number;
7
+ width: number | string;
8
+ onPlayPause?: (status?: boolean) => void;
9
9
  onProgressDrag?: (progress: number) => void;
10
10
  };
11
11
  export declare const ProgressControl: React.MemoExoticComponent<(props: ProgressControlProps) => React.JSX.Element>;
@@ -1 +1 @@
1
- {"version":3,"file":"ProgressControl.d.ts","sourceRoot":"","sources":["../../../../src/components/ProgressControl/ProgressControl.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAazC,MAAM,MAAM,oBAAoB,GAAG;IACjC,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,CAAC,MAAM,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;IACxC,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,cAAc,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;CAC7C,CAAC;AAuCF,eAAO,MAAM,eAAe,oCAClB,oBAAoB,uBAmE7B,CAAC"}
1
+ {"version":3,"file":"ProgressControl.d.ts","sourceRoot":"","sources":["../../../../src/components/ProgressControl/ProgressControl.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAazC,MAAM,MAAM,oBAAoB,GAAG;IACjC,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,WAAW,CAAC,EAAE,CAAC,MAAM,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;IACzC,cAAc,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;CAC7C,CAAC;AAoBF,eAAO,MAAM,eAAe,oCAClB,oBAAoB,uBA4F7B,CAAC"}
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ export type WaveProgressBarProps = {
3
+ progress: number;
4
+ waveformData: number[];
5
+ amplitudesCount?: number;
6
+ filledColor?: string;
7
+ onPlayPause?: (status?: boolean) => void;
8
+ onProgressDrag?: (progress: number) => void;
9
+ };
10
+ export declare const WaveProgressBar: React.MemoExoticComponent<(props: WaveProgressBarProps) => React.JSX.Element>;
11
+ //# sourceMappingURL=WaveProgressBar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WaveProgressBar.d.ts","sourceRoot":"","sources":["../../../../src/components/ProgressControl/WaveProgressBar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAc5D,MAAM,MAAM,oBAAoB,GAAG;IACjC,QAAQ,EAAE,MAAM,CAAC;IACjB,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,WAAW,CAAC,EAAE,MAAM,CAAC;IAC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,qBAAqB,CAAC,kBAAkB,CAAC,CAAC,CAAC;AAEvD;;GAEG;AACH,eAAO,MAAM,KAAK;;;CA+BjB,CAAC"}
1
+ {"version":3,"file":"Reply.d.ts","sourceRoot":"","sources":["../../../../src/components/Reply/Reply.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAwC,MAAM,OAAO,CAAC;AAE7D,OAAO,EAAS,UAAU,EAA0B,SAAS,EAAE,MAAM,cAAc,CAAC;AASpF,OAAO,EAEL,wBAAwB,EACzB,MAAM,wDAAwD,CAAC;AAChE,OAAO,EACL,oBAAoB,EAErB,MAAM,gDAAgD,CAAC;AAExD,OAAO,EACL,uBAAuB,EAExB,MAAM,sDAAsD,CAAC;AAC9D,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAC;AAkDnE,KAAK,qBAAqB,CACxB,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,IAC9E,IAAI,CAAC,wBAAwB,CAAC,kBAAkB,CAAC,EAAE,eAAe,CAAC,GACrE,IAAI,CAAC,oBAAoB,CAAC,kBAAkB,CAAC,EAAE,oBAAoB,GAAG,eAAe,CAAC,GACtF,IAAI,CAAC,uBAAuB,EAAE,GAAG,CAAC,GAAG;IACnC,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,MAAM,CAAC,EAAE,OAAO,CAAC;QACf,SAAS,EAAE,SAAS,CAAC;QACrB,uBAAuB,EAAE,SAAS,CAAC;QACnC,eAAe,EAAE,UAAU,CAAC;QAC5B,gBAAgB,EAAE,SAAS,CAAC;QAC5B,aAAa,EAAE,SAAS,CAAC;KAC1B,CAAC,CAAC;CACJ,CAAC;AAmRJ,MAAM,MAAM,UAAU,CACpB,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,IAC9E,OAAO,CAAC,qBAAqB,CAAC,kBAAkB,CAAC,CAAC,CAAC;AAEvD;;GAEG;AACH,eAAO,MAAM,KAAK;;;CA+BjB,CAAC"}
@@ -102,6 +102,12 @@ export * from './Message/utils/messageActions';
102
102
  export * from '../utils/removeReservedFields';
103
103
  export * from './MessageInput/AttachButton';
104
104
  export * from './MessageInput/CommandsButton';
105
+ export * from './MessageInput/components/AudioRecorder/AudioRecorder';
106
+ export * from './MessageInput/components/AudioRecorder/AudioRecordingButton';
107
+ export * from './MessageInput/components/AudioRecorder/AudioRecordingInProgress';
108
+ export * from './MessageInput/components/AudioRecorder/AudioRecordingLockIndicator';
109
+ export * from './MessageInput/components/AudioRecorder/AudioRecordingPreview';
110
+ export * from './MessageInput/components/AudioRecorder/AudioRecordingWaveform';
105
111
  export * from './MessageInput/CooldownTimer';
106
112
  export * from './MessageInput/FileUploadPreview';
107
113
  export * from './MessageInput/ImageUploadPreview';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAC;AACxC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,mBAAmB,CAAC;AAClC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,kCAAkC,CAAC;AACjD,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,8CAA8C,CAAC;AAE7D,cAAc,qCAAqC,CAAC;AACpD,cAAc,iEAAiE,CAAC;AAChF,cAAc,qDAAqD,CAAC;AACpE,cAAc,0DAA0D,CAAC;AACzE,cAAc,4DAA4D,CAAC;AAC3E,cAAc,kDAAkD,CAAC;AACjE,cAAc,gDAAgD,CAAC;AAC/D,cAAc,6DAA6D,CAAC;AAC5E,cAAc,iDAAiD,CAAC;AAEhE,cAAc,uCAAuC,CAAC;AACtD,cAAc,kDAAkD,CAAC;AACjE,cAAc,gDAAgD,CAAC;AAC/D,cAAc,gDAAgD,CAAC;AAE/D,cAAc,iBAAiB,CAAC;AAChC,cAAc,sBAAsB,CAAC;AAEr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