stream-chat-react-native-core 5.25.0-beta.6 → 5.25.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (659) hide show
  1. package/lib/commonjs/components/Channel/Channel.js +22 -17
  2. package/lib/commonjs/components/Channel/Channel.js.map +1 -1
  3. package/lib/commonjs/components/Channel/hooks/useCreateInputMessageInputContext.js +3 -1
  4. package/lib/commonjs/components/Channel/hooks/useCreateInputMessageInputContext.js.map +1 -1
  5. package/lib/commonjs/components/Channel/hooks/useCreateOwnCapabilitiesContext.js +22 -5
  6. package/lib/commonjs/components/Channel/hooks/useCreateOwnCapabilitiesContext.js.map +1 -1
  7. package/lib/commonjs/components/ChannelPreview/ChannelPreview.js.map +1 -1
  8. package/lib/commonjs/components/ChannelPreview/ChannelPreviewMessage.js +2 -2
  9. package/lib/commonjs/components/ChannelPreview/ChannelPreviewMessage.js.map +1 -1
  10. package/lib/commonjs/components/ChannelPreview/ChannelPreviewMessenger.js +1 -4
  11. package/lib/commonjs/components/ChannelPreview/ChannelPreviewMessenger.js.map +1 -1
  12. package/lib/commonjs/components/ChannelPreview/ChannelPreviewStatus.js +4 -4
  13. package/lib/commonjs/components/ChannelPreview/ChannelPreviewStatus.js.map +1 -1
  14. package/lib/commonjs/components/ChannelPreview/ChannelPreviewTitle.js +1 -1
  15. package/lib/commonjs/components/ChannelPreview/ChannelPreviewTitle.js.map +1 -1
  16. package/lib/commonjs/components/ChannelPreview/ChannelPreviewUnreadCount.js +2 -2
  17. package/lib/commonjs/components/ChannelPreview/ChannelPreviewUnreadCount.js.map +1 -1
  18. package/lib/commonjs/components/Message/Message.js +11 -8
  19. package/lib/commonjs/components/Message/Message.js.map +1 -1
  20. package/lib/commonjs/components/Message/MessageSimple/MessageContent.js +7 -3
  21. package/lib/commonjs/components/Message/MessageSimple/MessageContent.js.map +1 -1
  22. package/lib/commonjs/components/Message/MessageSimple/MessageSimple.js +7 -1
  23. package/lib/commonjs/components/Message/MessageSimple/MessageSimple.js.map +1 -1
  24. package/lib/commonjs/components/MessageInput/MessageInput.js +5 -5
  25. package/lib/commonjs/components/MessageInput/MessageInput.js.map +1 -1
  26. package/lib/commonjs/components/MessageInput/hooks/useCountdown.js.map +1 -1
  27. package/lib/commonjs/components/MessageList/MessageList.js +32 -30
  28. package/lib/commonjs/components/MessageList/MessageList.js.map +1 -1
  29. package/lib/commonjs/components/MessageOverlay/MessageActionListItem.js +5 -5
  30. package/lib/commonjs/components/MessageOverlay/MessageActionListItem.js.map +1 -1
  31. package/lib/commonjs/contexts/channelsContext/ChannelsContext.js.map +1 -1
  32. package/lib/commonjs/contexts/chatContext/ChatContext.js +2 -2
  33. package/lib/commonjs/contexts/chatContext/ChatContext.js.map +1 -1
  34. package/lib/commonjs/contexts/messageInputContext/MessageInputContext.js.map +1 -1
  35. package/lib/commonjs/contexts/messageInputContext/hooks/useCreateMessageInputContext.js +3 -1
  36. package/lib/commonjs/contexts/messageInputContext/hooks/useCreateMessageInputContext.js.map +1 -1
  37. package/lib/commonjs/contexts/themeContext/ThemeContext.js.map +1 -1
  38. package/lib/commonjs/i18n/en.json +1 -1
  39. package/lib/commonjs/i18n/es.json +56 -56
  40. package/lib/commonjs/i18n/fr.json +56 -56
  41. package/lib/commonjs/i18n/he.json +56 -56
  42. package/lib/commonjs/i18n/hi.json +56 -56
  43. package/lib/commonjs/i18n/it.json +56 -56
  44. package/lib/commonjs/i18n/ja.json +56 -56
  45. package/lib/commonjs/i18n/ko.json +56 -56
  46. package/lib/commonjs/i18n/nl.json +56 -56
  47. package/lib/commonjs/i18n/ru.json +56 -56
  48. package/lib/commonjs/i18n/tr.json +56 -56
  49. package/lib/commonjs/icons/ArrowRight.js.map +1 -1
  50. package/lib/commonjs/icons/AtMentions.js.map +1 -1
  51. package/lib/commonjs/icons/Attach.js.map +1 -1
  52. package/lib/commonjs/icons/Audio.js.map +1 -1
  53. package/lib/commonjs/icons/CSV.js.map +1 -1
  54. package/lib/commonjs/icons/Camera.js.map +1 -1
  55. package/lib/commonjs/icons/Check.js.map +1 -1
  56. package/lib/commonjs/icons/CheckAll.js.map +1 -1
  57. package/lib/commonjs/icons/CheckSend.js.map +1 -1
  58. package/lib/commonjs/icons/CircleClose.js.map +1 -1
  59. package/lib/commonjs/icons/CirclePlus.js.map +1 -1
  60. package/lib/commonjs/icons/CircleRight.js.map +1 -1
  61. package/lib/commonjs/icons/Close.js.map +1 -1
  62. package/lib/commonjs/icons/Copy.js.map +1 -1
  63. package/lib/commonjs/icons/CurveLineLeftUp.js.map +1 -1
  64. package/lib/commonjs/icons/DOC.js.map +1 -1
  65. package/lib/commonjs/icons/DOCX.js.map +1 -1
  66. package/lib/commonjs/icons/Delete.js.map +1 -1
  67. package/lib/commonjs/icons/Down.js.map +1 -1
  68. package/lib/commonjs/icons/DownloadArrow.js.map +1 -1
  69. package/lib/commonjs/icons/DownloadCloud.js.map +1 -1
  70. package/lib/commonjs/icons/Edit.js.map +1 -1
  71. package/lib/commonjs/icons/Error.js.map +1 -1
  72. package/lib/commonjs/icons/Eye.js.map +1 -1
  73. package/lib/commonjs/icons/Flag.js.map +1 -1
  74. package/lib/commonjs/icons/Folder.js.map +1 -1
  75. package/lib/commonjs/icons/GenericFile.js.map +1 -1
  76. package/lib/commonjs/icons/GiphyIcon.js.map +1 -1
  77. package/lib/commonjs/icons/Grid.js.map +1 -1
  78. package/lib/commonjs/icons/Group.js.map +1 -1
  79. package/lib/commonjs/icons/HTML.js.map +1 -1
  80. package/lib/commonjs/icons/Imgur.js.map +1 -1
  81. package/lib/commonjs/icons/LOLReaction.js.map +1 -1
  82. package/lib/commonjs/icons/Lightning.js.map +1 -1
  83. package/lib/commonjs/icons/Link.js.map +1 -1
  84. package/lib/commonjs/icons/Logo.js.map +1 -1
  85. package/lib/commonjs/icons/LoveReaction.js.map +1 -1
  86. package/lib/commonjs/icons/MD.js.map +1 -1
  87. package/lib/commonjs/icons/MailOpen.js.map +1 -1
  88. package/lib/commonjs/icons/MenuPointHorizontal.js.map +1 -1
  89. package/lib/commonjs/icons/MenuPointVertical.js.map +1 -1
  90. package/lib/commonjs/icons/MessageFlag.js.map +1 -1
  91. package/lib/commonjs/icons/MessageIcon.js.map +1 -1
  92. package/lib/commonjs/icons/Mute.js.map +1 -1
  93. package/lib/commonjs/icons/Notification.js.map +1 -1
  94. package/lib/commonjs/icons/ODT.js.map +1 -1
  95. package/lib/commonjs/icons/PDF.js.map +1 -1
  96. package/lib/commonjs/icons/PPT.js.map +1 -1
  97. package/lib/commonjs/icons/PPTX.js.map +1 -1
  98. package/lib/commonjs/icons/Pause.js.map +1 -1
  99. package/lib/commonjs/icons/Picture.js.map +1 -1
  100. package/lib/commonjs/icons/Pin.js.map +1 -1
  101. package/lib/commonjs/icons/PinHeader.js.map +1 -1
  102. package/lib/commonjs/icons/Play.js.map +1 -1
  103. package/lib/commonjs/icons/RAR.js.map +1 -1
  104. package/lib/commonjs/icons/RTF.js.map +1 -1
  105. package/lib/commonjs/icons/Recorder.js.map +1 -1
  106. package/lib/commonjs/icons/Refresh.js.map +1 -1
  107. package/lib/commonjs/icons/SEVEN_Z.js.map +1 -1
  108. package/lib/commonjs/icons/Search.js.map +1 -1
  109. package/lib/commonjs/icons/SendRight.js.map +1 -1
  110. package/lib/commonjs/icons/SendUp.js.map +1 -1
  111. package/lib/commonjs/icons/Share.js.map +1 -1
  112. package/lib/commonjs/icons/ShareRightArrow.js.map +1 -1
  113. package/lib/commonjs/icons/Smile.js.map +1 -1
  114. package/lib/commonjs/icons/Sound.js.map +1 -1
  115. package/lib/commonjs/icons/TAR.js.map +1 -1
  116. package/lib/commonjs/icons/TXT.js.map +1 -1
  117. package/lib/commonjs/icons/ThreadReply.js.map +1 -1
  118. package/lib/commonjs/icons/ThumbsDownReaction.js.map +1 -1
  119. package/lib/commonjs/icons/ThumbsUpReaction.js.map +1 -1
  120. package/lib/commonjs/icons/Time.js.map +1 -1
  121. package/lib/commonjs/icons/Unknown.js.map +1 -1
  122. package/lib/commonjs/icons/Unpin.js.map +1 -1
  123. package/lib/commonjs/icons/User.js.map +1 -1
  124. package/lib/commonjs/icons/UserAdd.js.map +1 -1
  125. package/lib/commonjs/icons/UserAdmin.js.map +1 -1
  126. package/lib/commonjs/icons/UserDelete.js.map +1 -1
  127. package/lib/commonjs/icons/UserMinus.js.map +1 -1
  128. package/lib/commonjs/icons/Video.js.map +1 -1
  129. package/lib/commonjs/icons/Warning.js.map +1 -1
  130. package/lib/commonjs/icons/WutReaction.js.map +1 -1
  131. package/lib/commonjs/icons/XLS.js.map +1 -1
  132. package/lib/commonjs/icons/XLSX.js.map +1 -1
  133. package/lib/commonjs/icons/ZIP.js.map +1 -1
  134. package/lib/commonjs/icons/utils/base.js.map +1 -1
  135. package/lib/commonjs/version.json +1 -1
  136. package/lib/module/components/Channel/Channel.js +22 -17
  137. package/lib/module/components/Channel/Channel.js.map +1 -1
  138. package/lib/module/components/Channel/hooks/useCreateInputMessageInputContext.js +3 -1
  139. package/lib/module/components/Channel/hooks/useCreateInputMessageInputContext.js.map +1 -1
  140. package/lib/module/components/Channel/hooks/useCreateOwnCapabilitiesContext.js +22 -5
  141. package/lib/module/components/Channel/hooks/useCreateOwnCapabilitiesContext.js.map +1 -1
  142. package/lib/module/components/ChannelPreview/ChannelPreview.js.map +1 -1
  143. package/lib/module/components/ChannelPreview/ChannelPreviewMessage.js +2 -2
  144. package/lib/module/components/ChannelPreview/ChannelPreviewMessage.js.map +1 -1
  145. package/lib/module/components/ChannelPreview/ChannelPreviewMessenger.js +1 -4
  146. package/lib/module/components/ChannelPreview/ChannelPreviewMessenger.js.map +1 -1
  147. package/lib/module/components/ChannelPreview/ChannelPreviewStatus.js +4 -4
  148. package/lib/module/components/ChannelPreview/ChannelPreviewStatus.js.map +1 -1
  149. package/lib/module/components/ChannelPreview/ChannelPreviewTitle.js +1 -1
  150. package/lib/module/components/ChannelPreview/ChannelPreviewTitle.js.map +1 -1
  151. package/lib/module/components/ChannelPreview/ChannelPreviewUnreadCount.js +2 -2
  152. package/lib/module/components/ChannelPreview/ChannelPreviewUnreadCount.js.map +1 -1
  153. package/lib/module/components/Message/Message.js +11 -8
  154. package/lib/module/components/Message/Message.js.map +1 -1
  155. package/lib/module/components/Message/MessageSimple/MessageContent.js +7 -3
  156. package/lib/module/components/Message/MessageSimple/MessageContent.js.map +1 -1
  157. package/lib/module/components/Message/MessageSimple/MessageSimple.js +7 -1
  158. package/lib/module/components/Message/MessageSimple/MessageSimple.js.map +1 -1
  159. package/lib/module/components/MessageInput/MessageInput.js +5 -5
  160. package/lib/module/components/MessageInput/MessageInput.js.map +1 -1
  161. package/lib/module/components/MessageInput/hooks/useCountdown.js.map +1 -1
  162. package/lib/module/components/MessageList/MessageList.js +32 -30
  163. package/lib/module/components/MessageList/MessageList.js.map +1 -1
  164. package/lib/module/components/MessageOverlay/MessageActionListItem.js +5 -5
  165. package/lib/module/components/MessageOverlay/MessageActionListItem.js.map +1 -1
  166. package/lib/module/contexts/channelsContext/ChannelsContext.js.map +1 -1
  167. package/lib/module/contexts/chatContext/ChatContext.js +2 -2
  168. package/lib/module/contexts/chatContext/ChatContext.js.map +1 -1
  169. package/lib/module/contexts/messageInputContext/MessageInputContext.js.map +1 -1
  170. package/lib/module/contexts/messageInputContext/hooks/useCreateMessageInputContext.js +3 -1
  171. package/lib/module/contexts/messageInputContext/hooks/useCreateMessageInputContext.js.map +1 -1
  172. package/lib/module/contexts/themeContext/ThemeContext.js.map +1 -1
  173. package/lib/module/i18n/en.json +1 -1
  174. package/lib/module/i18n/es.json +56 -56
  175. package/lib/module/i18n/fr.json +56 -56
  176. package/lib/module/i18n/he.json +56 -56
  177. package/lib/module/i18n/hi.json +56 -56
  178. package/lib/module/i18n/it.json +56 -56
  179. package/lib/module/i18n/ja.json +56 -56
  180. package/lib/module/i18n/ko.json +56 -56
  181. package/lib/module/i18n/nl.json +56 -56
  182. package/lib/module/i18n/ru.json +56 -56
  183. package/lib/module/i18n/tr.json +56 -56
  184. package/lib/module/icons/ArrowRight.js.map +1 -1
  185. package/lib/module/icons/AtMentions.js.map +1 -1
  186. package/lib/module/icons/Attach.js.map +1 -1
  187. package/lib/module/icons/Audio.js.map +1 -1
  188. package/lib/module/icons/CSV.js.map +1 -1
  189. package/lib/module/icons/Camera.js.map +1 -1
  190. package/lib/module/icons/Check.js.map +1 -1
  191. package/lib/module/icons/CheckAll.js.map +1 -1
  192. package/lib/module/icons/CheckSend.js.map +1 -1
  193. package/lib/module/icons/CircleClose.js.map +1 -1
  194. package/lib/module/icons/CirclePlus.js.map +1 -1
  195. package/lib/module/icons/CircleRight.js.map +1 -1
  196. package/lib/module/icons/Close.js.map +1 -1
  197. package/lib/module/icons/Copy.js.map +1 -1
  198. package/lib/module/icons/CurveLineLeftUp.js.map +1 -1
  199. package/lib/module/icons/DOC.js.map +1 -1
  200. package/lib/module/icons/DOCX.js.map +1 -1
  201. package/lib/module/icons/Delete.js.map +1 -1
  202. package/lib/module/icons/Down.js.map +1 -1
  203. package/lib/module/icons/DownloadArrow.js.map +1 -1
  204. package/lib/module/icons/DownloadCloud.js.map +1 -1
  205. package/lib/module/icons/Edit.js.map +1 -1
  206. package/lib/module/icons/Error.js.map +1 -1
  207. package/lib/module/icons/Eye.js.map +1 -1
  208. package/lib/module/icons/Flag.js.map +1 -1
  209. package/lib/module/icons/Folder.js.map +1 -1
  210. package/lib/module/icons/GenericFile.js.map +1 -1
  211. package/lib/module/icons/GiphyIcon.js.map +1 -1
  212. package/lib/module/icons/Grid.js.map +1 -1
  213. package/lib/module/icons/Group.js.map +1 -1
  214. package/lib/module/icons/HTML.js.map +1 -1
  215. package/lib/module/icons/Imgur.js.map +1 -1
  216. package/lib/module/icons/LOLReaction.js.map +1 -1
  217. package/lib/module/icons/Lightning.js.map +1 -1
  218. package/lib/module/icons/Link.js.map +1 -1
  219. package/lib/module/icons/Logo.js.map +1 -1
  220. package/lib/module/icons/LoveReaction.js.map +1 -1
  221. package/lib/module/icons/MD.js.map +1 -1
  222. package/lib/module/icons/MailOpen.js.map +1 -1
  223. package/lib/module/icons/MenuPointHorizontal.js.map +1 -1
  224. package/lib/module/icons/MenuPointVertical.js.map +1 -1
  225. package/lib/module/icons/MessageFlag.js.map +1 -1
  226. package/lib/module/icons/MessageIcon.js.map +1 -1
  227. package/lib/module/icons/Mute.js.map +1 -1
  228. package/lib/module/icons/Notification.js.map +1 -1
  229. package/lib/module/icons/ODT.js.map +1 -1
  230. package/lib/module/icons/PDF.js.map +1 -1
  231. package/lib/module/icons/PPT.js.map +1 -1
  232. package/lib/module/icons/PPTX.js.map +1 -1
  233. package/lib/module/icons/Pause.js.map +1 -1
  234. package/lib/module/icons/Picture.js.map +1 -1
  235. package/lib/module/icons/Pin.js.map +1 -1
  236. package/lib/module/icons/PinHeader.js.map +1 -1
  237. package/lib/module/icons/Play.js.map +1 -1
  238. package/lib/module/icons/RAR.js.map +1 -1
  239. package/lib/module/icons/RTF.js.map +1 -1
  240. package/lib/module/icons/Recorder.js.map +1 -1
  241. package/lib/module/icons/Refresh.js.map +1 -1
  242. package/lib/module/icons/SEVEN_Z.js.map +1 -1
  243. package/lib/module/icons/Search.js.map +1 -1
  244. package/lib/module/icons/SendRight.js.map +1 -1
  245. package/lib/module/icons/SendUp.js.map +1 -1
  246. package/lib/module/icons/Share.js.map +1 -1
  247. package/lib/module/icons/ShareRightArrow.js.map +1 -1
  248. package/lib/module/icons/Smile.js.map +1 -1
  249. package/lib/module/icons/Sound.js.map +1 -1
  250. package/lib/module/icons/TAR.js.map +1 -1
  251. package/lib/module/icons/TXT.js.map +1 -1
  252. package/lib/module/icons/ThreadReply.js.map +1 -1
  253. package/lib/module/icons/ThumbsDownReaction.js.map +1 -1
  254. package/lib/module/icons/ThumbsUpReaction.js.map +1 -1
  255. package/lib/module/icons/Time.js.map +1 -1
  256. package/lib/module/icons/Unknown.js.map +1 -1
  257. package/lib/module/icons/Unpin.js.map +1 -1
  258. package/lib/module/icons/User.js.map +1 -1
  259. package/lib/module/icons/UserAdd.js.map +1 -1
  260. package/lib/module/icons/UserAdmin.js.map +1 -1
  261. package/lib/module/icons/UserDelete.js.map +1 -1
  262. package/lib/module/icons/UserMinus.js.map +1 -1
  263. package/lib/module/icons/Video.js.map +1 -1
  264. package/lib/module/icons/Warning.js.map +1 -1
  265. package/lib/module/icons/WutReaction.js.map +1 -1
  266. package/lib/module/icons/XLS.js.map +1 -1
  267. package/lib/module/icons/XLSX.js.map +1 -1
  268. package/lib/module/icons/ZIP.js.map +1 -1
  269. package/lib/module/icons/utils/base.js.map +1 -1
  270. package/lib/module/version.json +1 -1
  271. package/lib/typescript/components/Attachment/Attachment.d.ts +3 -3
  272. package/lib/typescript/components/Attachment/AttachmentActions.d.ts +2 -2
  273. package/lib/typescript/components/Attachment/AudioAttachment.d.ts +2 -2
  274. package/lib/typescript/components/Attachment/Card.d.ts +2 -2
  275. package/lib/typescript/components/Attachment/FileAttachment.d.ts +3 -3
  276. package/lib/typescript/components/Attachment/FileAttachmentGroup.d.ts +2 -2
  277. package/lib/typescript/components/Attachment/FileIcon.d.ts +1 -1
  278. package/lib/typescript/components/Attachment/Gallery.d.ts +2 -2
  279. package/lib/typescript/components/Attachment/GalleryImage.d.ts +2 -2
  280. package/lib/typescript/components/Attachment/Giphy.d.ts +2 -2
  281. package/lib/typescript/components/Attachment/ImageLoadingFailedIndicator.d.ts +1 -1
  282. package/lib/typescript/components/Attachment/ImageLoadingIndicator.d.ts +1 -1
  283. package/lib/typescript/components/Attachment/VideoThumbnail.d.ts +1 -1
  284. package/lib/typescript/components/Attachment/utils/buildGallery/types.d.ts +4 -4
  285. package/lib/typescript/components/Attachment/utils/getGalleryImageBorderRadius.d.ts +1 -1
  286. package/lib/typescript/components/Attachment/utils/openUrlSafely.d.ts +1 -1
  287. package/lib/typescript/components/AttachmentPicker/AttachmentPicker.d.ts +1 -1
  288. package/lib/typescript/components/AttachmentPicker/components/AttachmentPickerError.d.ts +1 -1
  289. package/lib/typescript/components/AttachmentPicker/components/AttachmentPickerItem.d.ts +1 -1
  290. package/lib/typescript/components/AttachmentPicker/components/ImageSelectorIcon.d.ts +1 -1
  291. package/lib/typescript/components/AutoCompleteInput/AutoCompleteInput.d.ts +2 -2
  292. package/lib/typescript/components/AutoCompleteInput/AutoCompleteSuggestionHeader.d.ts +2 -2
  293. package/lib/typescript/components/AutoCompleteInput/AutoCompleteSuggestionItem.d.ts +2 -2
  294. package/lib/typescript/components/AutoCompleteInput/AutoCompleteSuggestionList.d.ts +3 -3
  295. package/lib/typescript/components/Avatar/Avatar.d.ts +1 -1
  296. package/lib/typescript/components/Avatar/GroupAvatar.d.ts +1 -1
  297. package/lib/typescript/components/Channel/Channel.d.ts +2 -2
  298. package/lib/typescript/components/Channel/hooks/useCreateInputMessageInputContext.d.ts +62 -1
  299. package/lib/typescript/components/Channel/hooks/useTargetedMessage.d.ts +1 -1
  300. package/lib/typescript/components/ChannelList/ChannelList.d.ts +1 -1
  301. package/lib/typescript/components/ChannelList/ChannelListHeaderErrorIndicator.d.ts +1 -1
  302. package/lib/typescript/components/ChannelList/ChannelListMessenger.d.ts +2 -2
  303. package/lib/typescript/components/ChannelList/hooks/listeners/useAddedToChannelNotification.d.ts +1 -1
  304. package/lib/typescript/components/ChannelList/hooks/listeners/useChannelDeleted.d.ts +1 -1
  305. package/lib/typescript/components/ChannelList/hooks/listeners/useChannelHidden.d.ts +1 -1
  306. package/lib/typescript/components/ChannelList/hooks/listeners/useChannelTruncated.d.ts +1 -1
  307. package/lib/typescript/components/ChannelList/hooks/listeners/useChannelUpdated.d.ts +1 -1
  308. package/lib/typescript/components/ChannelList/hooks/listeners/useChannelVisible.d.ts +1 -1
  309. package/lib/typescript/components/ChannelList/hooks/listeners/useNewMessage.d.ts +1 -1
  310. package/lib/typescript/components/ChannelList/hooks/listeners/useNewMessageNotification.d.ts +1 -1
  311. package/lib/typescript/components/ChannelList/hooks/listeners/useRemovedFromChannelNotification.d.ts +1 -1
  312. package/lib/typescript/components/ChannelList/hooks/listeners/useUserPresence.d.ts +1 -1
  313. package/lib/typescript/components/ChannelList/hooks/usePaginatedChannels.d.ts +3 -3
  314. package/lib/typescript/components/ChannelList/utils.d.ts +2 -2
  315. package/lib/typescript/components/ChannelPreview/ChannelAvatar.d.ts +2 -2
  316. package/lib/typescript/components/ChannelPreview/ChannelPreview.d.ts +3 -3
  317. package/lib/typescript/components/ChannelPreview/ChannelPreviewMessage.d.ts +4 -1
  318. package/lib/typescript/components/ChannelPreview/ChannelPreviewMessenger.d.ts +2 -2
  319. package/lib/typescript/components/ChannelPreview/ChannelPreviewStatus.d.ts +1 -2
  320. package/lib/typescript/components/ChannelPreview/ChannelPreviewTitle.d.ts +5 -4
  321. package/lib/typescript/components/ChannelPreview/ChannelPreviewUnreadCount.d.ts +5 -3
  322. package/lib/typescript/components/ChannelPreview/hooks/useChannelPreviewDisplayName.d.ts +1 -1
  323. package/lib/typescript/components/ChannelPreview/hooks/useLatestMessagePreview.d.ts +2 -2
  324. package/lib/typescript/components/Chat/Chat.d.ts +1 -1
  325. package/lib/typescript/components/Chat/hooks/handleEventToSyncDB.d.ts +1 -1
  326. package/lib/typescript/components/Chat/hooks/useSyncDatabase.d.ts +1 -1
  327. package/lib/typescript/components/ImageGallery/ImageGallery.d.ts +3 -3
  328. package/lib/typescript/components/ImageGallery/components/AnimatedGalleryImage.d.ts +1 -1
  329. package/lib/typescript/components/ImageGallery/components/AnimatedGalleryVideo.d.ts +1 -1
  330. package/lib/typescript/components/ImageGallery/components/ImageGalleryFooter.d.ts +6 -6
  331. package/lib/typescript/components/ImageGallery/components/ImageGalleryHeader.d.ts +3 -3
  332. package/lib/typescript/components/ImageGallery/components/ImageGalleryOverlay.d.ts +1 -1
  333. package/lib/typescript/components/ImageGallery/components/ImageGrid.d.ts +4 -4
  334. package/lib/typescript/components/ImageGallery/components/ImageGridHandle.d.ts +3 -3
  335. package/lib/typescript/components/Indicators/EmptyStateIndicator.d.ts +1 -1
  336. package/lib/typescript/components/Indicators/LoadingDot.d.ts +1 -1
  337. package/lib/typescript/components/Indicators/LoadingDots.d.ts +1 -1
  338. package/lib/typescript/components/Indicators/LoadingErrorIndicator.d.ts +1 -1
  339. package/lib/typescript/components/Indicators/LoadingIndicator.d.ts +1 -1
  340. package/lib/typescript/components/Message/Message.d.ts +18 -9
  341. package/lib/typescript/components/Message/MessageSimple/MessageAvatar.d.ts +2 -2
  342. package/lib/typescript/components/Message/MessageSimple/MessageBounce.d.ts +2 -2
  343. package/lib/typescript/components/Message/MessageSimple/MessageContent.d.ts +2 -2
  344. package/lib/typescript/components/Message/MessageSimple/MessageDeleted.d.ts +2 -2
  345. package/lib/typescript/components/Message/MessageSimple/MessageError.d.ts +1 -1
  346. package/lib/typescript/components/Message/MessageSimple/MessageFooter.d.ts +2 -2
  347. package/lib/typescript/components/Message/MessageSimple/MessagePinnedHeader.d.ts +2 -2
  348. package/lib/typescript/components/Message/MessageSimple/MessageReplies.d.ts +2 -2
  349. package/lib/typescript/components/Message/MessageSimple/MessageRepliesAvatars.d.ts +2 -2
  350. package/lib/typescript/components/Message/MessageSimple/MessageSimple.d.ts +2 -2
  351. package/lib/typescript/components/Message/MessageSimple/MessageStatus.d.ts +2 -2
  352. package/lib/typescript/components/Message/MessageSimple/MessageTextContainer.d.ts +3 -3
  353. package/lib/typescript/components/Message/MessageSimple/ReactionList.d.ts +3 -3
  354. package/lib/typescript/components/Message/MessageSimple/utils/generateMarkdownText.d.ts +1 -1
  355. package/lib/typescript/components/Message/MessageSimple/utils/renderText.d.ts +2 -2
  356. package/lib/typescript/components/Message/utils/messageActions.d.ts +2 -2
  357. package/lib/typescript/components/MessageInput/AttachButton.d.ts +2 -2
  358. package/lib/typescript/components/MessageInput/CommandsButton.d.ts +2 -2
  359. package/lib/typescript/components/MessageInput/CooldownTimer.d.ts +1 -1
  360. package/lib/typescript/components/MessageInput/FileUploadPreview.d.ts +2 -2
  361. package/lib/typescript/components/MessageInput/ImageUploadPreview.d.ts +2 -2
  362. package/lib/typescript/components/MessageInput/InputButtons.d.ts +2 -2
  363. package/lib/typescript/components/MessageInput/MessageInput.d.ts +2 -2
  364. package/lib/typescript/components/MessageInput/MoreOptionsButton.d.ts +2 -2
  365. package/lib/typescript/components/MessageInput/SendButton.d.ts +2 -2
  366. package/lib/typescript/components/MessageInput/ShowThreadMessageInChannelButton.d.ts +2 -2
  367. package/lib/typescript/components/MessageInput/UploadProgressIndicator.d.ts +1 -1
  368. package/lib/typescript/components/MessageInput/components/InputEditingStateHeader.d.ts +2 -2
  369. package/lib/typescript/components/MessageInput/components/InputGiphySearch.d.ts +2 -2
  370. package/lib/typescript/components/MessageInput/components/InputReplyStateHeader.d.ts +2 -2
  371. package/lib/typescript/components/MessageList/DateHeader.d.ts +1 -1
  372. package/lib/typescript/components/MessageList/InlineDateSeparator.d.ts +1 -1
  373. package/lib/typescript/components/MessageList/InlineLoadingMoreIndicator.d.ts +1 -1
  374. package/lib/typescript/components/MessageList/InlineLoadingMoreRecentIndicator.d.ts +1 -1
  375. package/lib/typescript/components/MessageList/InlineLoadingMoreThreadIndicator.d.ts +1 -1
  376. package/lib/typescript/components/MessageList/MessageList.d.ts +2 -2
  377. package/lib/typescript/components/MessageList/MessageSystem.d.ts +1 -1
  378. package/lib/typescript/components/MessageList/ScrollToBottomButton.d.ts +1 -1
  379. package/lib/typescript/components/MessageList/TypingIndicatorContainer.d.ts +2 -2
  380. package/lib/typescript/components/MessageList/hooks/useMessageList.d.ts +4 -4
  381. package/lib/typescript/components/MessageList/utils/filterTypingUsers.d.ts +1 -1
  382. package/lib/typescript/components/MessageList/utils/getDateSeparators.d.ts +2 -2
  383. package/lib/typescript/components/MessageList/utils/getGroupStyles.d.ts +1 -1
  384. package/lib/typescript/components/MessageList/utils/getReadStates.d.ts +1 -0
  385. package/lib/typescript/components/MessageOverlay/MessageActionList.d.ts +2 -2
  386. package/lib/typescript/components/MessageOverlay/MessageActionListItem.d.ts +19 -3
  387. package/lib/typescript/components/MessageOverlay/MessageOverlay.d.ts +2 -2
  388. package/lib/typescript/components/MessageOverlay/OverlayBackdrop.d.ts +1 -1
  389. package/lib/typescript/components/MessageOverlay/OverlayReactionList.d.ts +3 -3
  390. package/lib/typescript/components/MessageOverlay/OverlayReactions.d.ts +2 -2
  391. package/lib/typescript/components/MessageOverlay/OverlayReactionsAvatar.d.ts +1 -1
  392. package/lib/typescript/components/MessageOverlay/hooks/useMessageActionAnimation.d.ts +1 -1
  393. package/lib/typescript/components/ProgressControl/ProgressControl.d.ts +1 -1
  394. package/lib/typescript/components/RTLComponents/WritingDirectionAwareText.d.ts +1 -1
  395. package/lib/typescript/components/Reply/Reply.d.ts +2 -2
  396. package/lib/typescript/components/Spinner/Spinner.d.ts +1 -1
  397. package/lib/typescript/components/Thread/Thread.d.ts +2 -2
  398. package/lib/typescript/contexts/activeChannelsRefContext/ActiveChannelsRefContext.d.ts +1 -1
  399. package/lib/typescript/contexts/attachmentPickerContext/AttachmentPickerContext.d.ts +2 -2
  400. package/lib/typescript/contexts/channelContext/ChannelContext.d.ts +1 -1
  401. package/lib/typescript/contexts/channelsContext/ChannelsContext.d.ts +2 -2
  402. package/lib/typescript/contexts/channelsStateContext/ChannelsStateContext.d.ts +5 -5
  403. package/lib/typescript/contexts/channelsStateContext/useChannelState.d.ts +1 -1
  404. package/lib/typescript/contexts/chatContext/ChatContext.d.ts +4 -1
  405. package/lib/typescript/contexts/debugContext/DebugContext.d.ts +2 -2
  406. package/lib/typescript/contexts/imageGalleryContext/ImageGalleryContext.d.ts +2 -2
  407. package/lib/typescript/contexts/keyboardContext/KeyboardContext.d.ts +1 -1
  408. package/lib/typescript/contexts/messageContext/MessageContext.d.ts +3 -3
  409. package/lib/typescript/contexts/messageInputContext/MessageInputContext.d.ts +6 -6
  410. package/lib/typescript/contexts/messageInputContext/hooks/useCreateMessageInputContext.d.ts +1 -1
  411. package/lib/typescript/contexts/messageInputContext/hooks/useMessageDetailsForState.d.ts +1 -1
  412. package/lib/typescript/contexts/messageOverlayContext/MessageOverlayContext.d.ts +2 -2
  413. package/lib/typescript/contexts/messagesContext/MessagesContext.d.ts +3 -3
  414. package/lib/typescript/contexts/overlayContext/OverlayContext.d.ts +3 -3
  415. package/lib/typescript/contexts/ownCapabilitiesContext/OwnCapabilitiesContext.d.ts +2 -2
  416. package/lib/typescript/contexts/paginatedMessageListContext/PaginatedMessageListContext.d.ts +1 -1
  417. package/lib/typescript/contexts/suggestionsContext/SuggestionsContext.d.ts +6 -6
  418. package/lib/typescript/contexts/themeContext/ThemeContext.d.ts +5 -5
  419. package/lib/typescript/contexts/themeContext/utils/theme.d.ts +2 -2
  420. package/lib/typescript/contexts/threadContext/ThreadContext.d.ts +1 -1
  421. package/lib/typescript/contexts/translationContext/TranslationContext.d.ts +5 -5
  422. package/lib/typescript/contexts/typingContext/TypingContext.d.ts +1 -1
  423. package/lib/typescript/emoji-data/index.d.ts +2 -2
  424. package/lib/typescript/hooks/useAppStateListener.d.ts +1 -1
  425. package/lib/typescript/hooks/useStreami18n.d.ts +1 -1
  426. package/lib/typescript/hooks/useViewport.d.ts +1 -1
  427. package/lib/typescript/i18n/en.json +1 -1
  428. package/lib/typescript/i18n/es.json +56 -56
  429. package/lib/typescript/i18n/fr.json +56 -56
  430. package/lib/typescript/i18n/he.json +56 -56
  431. package/lib/typescript/i18n/hi.json +56 -56
  432. package/lib/typescript/i18n/it.json +56 -56
  433. package/lib/typescript/i18n/ja.json +56 -56
  434. package/lib/typescript/i18n/ko.json +56 -56
  435. package/lib/typescript/i18n/nl.json +56 -56
  436. package/lib/typescript/i18n/ru.json +56 -56
  437. package/lib/typescript/i18n/tr.json +56 -56
  438. package/lib/typescript/icons/ArrowRight.d.ts +2 -2
  439. package/lib/typescript/icons/AtMentions.d.ts +2 -2
  440. package/lib/typescript/icons/Attach.d.ts +2 -2
  441. package/lib/typescript/icons/Audio.d.ts +2 -2
  442. package/lib/typescript/icons/CSV.d.ts +2 -2
  443. package/lib/typescript/icons/Camera.d.ts +2 -2
  444. package/lib/typescript/icons/Check.d.ts +2 -2
  445. package/lib/typescript/icons/CheckAll.d.ts +2 -2
  446. package/lib/typescript/icons/CheckSend.d.ts +2 -2
  447. package/lib/typescript/icons/CircleClose.d.ts +2 -2
  448. package/lib/typescript/icons/CirclePlus.d.ts +2 -2
  449. package/lib/typescript/icons/CircleRight.d.ts +2 -2
  450. package/lib/typescript/icons/Close.d.ts +2 -2
  451. package/lib/typescript/icons/CurveLineLeftUp.d.ts +2 -2
  452. package/lib/typescript/icons/DOC.d.ts +2 -2
  453. package/lib/typescript/icons/DOCX.d.ts +2 -2
  454. package/lib/typescript/icons/Delete.d.ts +2 -2
  455. package/lib/typescript/icons/Down.d.ts +2 -2
  456. package/lib/typescript/icons/DownloadArrow.d.ts +2 -2
  457. package/lib/typescript/icons/DownloadCloud.d.ts +2 -2
  458. package/lib/typescript/icons/Edit.d.ts +2 -2
  459. package/lib/typescript/icons/Error.d.ts +2 -2
  460. package/lib/typescript/icons/Eye.d.ts +2 -2
  461. package/lib/typescript/icons/Flag.d.ts +2 -2
  462. package/lib/typescript/icons/Folder.d.ts +2 -2
  463. package/lib/typescript/icons/GenericFile.d.ts +2 -2
  464. package/lib/typescript/icons/GiphyIcon.d.ts +2 -2
  465. package/lib/typescript/icons/Grid.d.ts +2 -2
  466. package/lib/typescript/icons/Group.d.ts +2 -2
  467. package/lib/typescript/icons/HTML.d.ts +2 -2
  468. package/lib/typescript/icons/Imgur.d.ts +2 -2
  469. package/lib/typescript/icons/LOLReaction.d.ts +2 -2
  470. package/lib/typescript/icons/Lightning.d.ts +2 -2
  471. package/lib/typescript/icons/Link.d.ts +2 -2
  472. package/lib/typescript/icons/Loading.d.ts +1 -1
  473. package/lib/typescript/icons/Logo.d.ts +2 -2
  474. package/lib/typescript/icons/LoveReaction.d.ts +2 -2
  475. package/lib/typescript/icons/MD.d.ts +2 -2
  476. package/lib/typescript/icons/MailOpen.d.ts +2 -2
  477. package/lib/typescript/icons/MenuPointHorizontal.d.ts +2 -2
  478. package/lib/typescript/icons/MenuPointVertical.d.ts +2 -2
  479. package/lib/typescript/icons/MessageFlag.d.ts +2 -2
  480. package/lib/typescript/icons/MessageIcon.d.ts +2 -2
  481. package/lib/typescript/icons/Mute.d.ts +2 -2
  482. package/lib/typescript/icons/Notification.d.ts +2 -2
  483. package/lib/typescript/icons/ODT.d.ts +2 -2
  484. package/lib/typescript/icons/PDF.d.ts +2 -2
  485. package/lib/typescript/icons/PPT.d.ts +2 -2
  486. package/lib/typescript/icons/PPTX.d.ts +2 -2
  487. package/lib/typescript/icons/Pause.d.ts +2 -2
  488. package/lib/typescript/icons/Picture.d.ts +2 -2
  489. package/lib/typescript/icons/Pin.d.ts +2 -2
  490. package/lib/typescript/icons/PinHeader.d.ts +2 -2
  491. package/lib/typescript/icons/Play.d.ts +2 -2
  492. package/lib/typescript/icons/RAR.d.ts +2 -2
  493. package/lib/typescript/icons/RTF.d.ts +2 -2
  494. package/lib/typescript/icons/Recorder.d.ts +2 -2
  495. package/lib/typescript/icons/Refresh.d.ts +2 -2
  496. package/lib/typescript/icons/SEVEN_Z.d.ts +2 -2
  497. package/lib/typescript/icons/Search.d.ts +2 -2
  498. package/lib/typescript/icons/SendRight.d.ts +2 -2
  499. package/lib/typescript/icons/SendUp.d.ts +2 -2
  500. package/lib/typescript/icons/Share.d.ts +2 -2
  501. package/lib/typescript/icons/ShareRightArrow.d.ts +2 -2
  502. package/lib/typescript/icons/Smile.d.ts +2 -2
  503. package/lib/typescript/icons/Sound.d.ts +2 -2
  504. package/lib/typescript/icons/TAR.d.ts +2 -2
  505. package/lib/typescript/icons/TXT.d.ts +2 -2
  506. package/lib/typescript/icons/ThreadReply.d.ts +2 -2
  507. package/lib/typescript/icons/ThumbsDownReaction.d.ts +2 -2
  508. package/lib/typescript/icons/ThumbsUpReaction.d.ts +2 -2
  509. package/lib/typescript/icons/Time.d.ts +2 -2
  510. package/lib/typescript/icons/Unknown.d.ts +2 -2
  511. package/lib/typescript/icons/Unpin.d.ts +2 -2
  512. package/lib/typescript/icons/User.d.ts +2 -2
  513. package/lib/typescript/icons/UserAdd.d.ts +2 -2
  514. package/lib/typescript/icons/UserAdmin.d.ts +2 -2
  515. package/lib/typescript/icons/UserDelete.d.ts +2 -2
  516. package/lib/typescript/icons/UserMinus.d.ts +2 -2
  517. package/lib/typescript/icons/Video.d.ts +2 -2
  518. package/lib/typescript/icons/Warning.d.ts +2 -2
  519. package/lib/typescript/icons/WutReaction.d.ts +2 -2
  520. package/lib/typescript/icons/XLS.d.ts +2 -2
  521. package/lib/typescript/icons/XLSX.d.ts +2 -2
  522. package/lib/typescript/icons/ZIP.d.ts +2 -2
  523. package/lib/typescript/icons/utils/base.d.ts +5 -5
  524. package/lib/typescript/native.d.ts +26 -26
  525. package/lib/typescript/store/QuickSqliteClient.d.ts +1 -1
  526. package/lib/typescript/store/apis/upsertChannels.d.ts +2 -2
  527. package/lib/typescript/store/apis/upsertCidsForQuery.d.ts +2 -2
  528. package/lib/typescript/store/mappers/mapDateTimeToStorable.d.ts +1 -1
  529. package/lib/typescript/store/schema.d.ts +2 -2
  530. package/lib/typescript/store/sqlite-utils/appendOrderByClause.d.ts +1 -1
  531. package/lib/typescript/store/sqlite-utils/appendWhereCluase.d.ts +1 -1
  532. package/lib/typescript/store/sqlite-utils/createUpsertQuery.d.ts +1 -1
  533. package/lib/typescript/store/types.d.ts +8 -8
  534. package/lib/typescript/types/types.d.ts +7 -7
  535. package/lib/typescript/utils/StreamChatRN.d.ts +1 -1
  536. package/lib/typescript/utils/Streami18n.d.ts +2 -2
  537. package/lib/typescript/utils/compressImage.d.ts +1 -1
  538. package/lib/typescript/utils/getResizedImageUrl.d.ts +1 -1
  539. package/lib/typescript/utils/utils.d.ts +14 -14
  540. package/package.json +3 -7
  541. package/src/components/Channel/Channel.tsx +9 -3
  542. package/src/components/Channel/hooks/useCreateInputMessageInputContext.ts +11 -1
  543. package/src/components/Channel/hooks/useCreateOwnCapabilitiesContext.ts +24 -6
  544. package/src/components/ChannelPreview/ChannelPreview.tsx +1 -1
  545. package/src/components/ChannelPreview/ChannelPreviewMessage.tsx +3 -0
  546. package/src/components/ChannelPreview/ChannelPreviewMessenger.tsx +2 -3
  547. package/src/components/ChannelPreview/ChannelPreviewStatus.tsx +1 -3
  548. package/src/components/ChannelPreview/ChannelPreviewTitle.tsx +5 -12
  549. package/src/components/ChannelPreview/ChannelPreviewUnreadCount.tsx +5 -4
  550. package/src/components/Message/Message.tsx +15 -1
  551. package/src/components/Message/MessageSimple/MessageContent.tsx +5 -0
  552. package/src/components/Message/MessageSimple/MessageSimple.tsx +8 -2
  553. package/src/components/MessageInput/MessageInput.tsx +3 -7
  554. package/src/components/MessageInput/hooks/useCountdown.ts +1 -1
  555. package/src/components/MessageList/MessageList.tsx +3 -1
  556. package/src/components/MessageOverlay/MessageActionListItem.tsx +16 -0
  557. package/src/contexts/channelsContext/ChannelsContext.tsx +1 -1
  558. package/src/contexts/chatContext/ChatContext.tsx +3 -0
  559. package/src/contexts/messageInputContext/MessageInputContext.tsx +1 -1
  560. package/src/contexts/messageInputContext/hooks/useCreateMessageInputContext.ts +3 -0
  561. package/src/contexts/themeContext/ThemeContext.tsx +3 -3
  562. package/src/i18n/en.json +1 -1
  563. package/src/i18n/es.json +56 -56
  564. package/src/i18n/fr.json +56 -56
  565. package/src/i18n/he.json +56 -56
  566. package/src/i18n/hi.json +56 -56
  567. package/src/i18n/it.json +56 -56
  568. package/src/i18n/ja.json +56 -56
  569. package/src/i18n/ko.json +56 -56
  570. package/src/i18n/nl.json +56 -56
  571. package/src/i18n/ru.json +56 -56
  572. package/src/i18n/tr.json +56 -56
  573. package/src/icons/ArrowRight.tsx +1 -1
  574. package/src/icons/AtMentions.tsx +1 -1
  575. package/src/icons/Attach.tsx +1 -1
  576. package/src/icons/Audio.tsx +1 -1
  577. package/src/icons/CSV.tsx +1 -1
  578. package/src/icons/Camera.tsx +1 -1
  579. package/src/icons/Check.tsx +1 -1
  580. package/src/icons/CheckAll.tsx +1 -1
  581. package/src/icons/CheckSend.tsx +1 -1
  582. package/src/icons/CircleClose.tsx +1 -1
  583. package/src/icons/CirclePlus.tsx +1 -1
  584. package/src/icons/CircleRight.tsx +1 -1
  585. package/src/icons/Close.tsx +1 -1
  586. package/src/icons/Copy.tsx +1 -1
  587. package/src/icons/CurveLineLeftUp.tsx +1 -1
  588. package/src/icons/DOC.tsx +1 -1
  589. package/src/icons/DOCX.tsx +1 -1
  590. package/src/icons/Delete.tsx +1 -1
  591. package/src/icons/Down.tsx +1 -1
  592. package/src/icons/DownloadArrow.tsx +1 -1
  593. package/src/icons/DownloadCloud.tsx +1 -1
  594. package/src/icons/Edit.tsx +1 -1
  595. package/src/icons/Error.tsx +1 -1
  596. package/src/icons/Eye.tsx +1 -1
  597. package/src/icons/Flag.tsx +1 -1
  598. package/src/icons/Folder.tsx +1 -1
  599. package/src/icons/GenericFile.tsx +1 -1
  600. package/src/icons/GiphyIcon.tsx +1 -1
  601. package/src/icons/Grid.tsx +1 -1
  602. package/src/icons/Group.tsx +1 -1
  603. package/src/icons/HTML.tsx +1 -1
  604. package/src/icons/Imgur.tsx +1 -1
  605. package/src/icons/LOLReaction.tsx +1 -1
  606. package/src/icons/Lightning.tsx +1 -1
  607. package/src/icons/Link.tsx +1 -1
  608. package/src/icons/Logo.tsx +1 -1
  609. package/src/icons/LoveReaction.tsx +1 -1
  610. package/src/icons/MD.tsx +1 -1
  611. package/src/icons/MailOpen.tsx +1 -1
  612. package/src/icons/MenuPointHorizontal.tsx +1 -1
  613. package/src/icons/MenuPointVertical.tsx +1 -1
  614. package/src/icons/MessageFlag.tsx +1 -1
  615. package/src/icons/MessageIcon.tsx +1 -1
  616. package/src/icons/Mute.tsx +1 -1
  617. package/src/icons/Notification.tsx +1 -1
  618. package/src/icons/ODT.tsx +1 -1
  619. package/src/icons/PDF.tsx +1 -1
  620. package/src/icons/PPT.tsx +1 -1
  621. package/src/icons/PPTX.tsx +1 -1
  622. package/src/icons/Pause.tsx +1 -1
  623. package/src/icons/Picture.tsx +1 -1
  624. package/src/icons/Pin.tsx +1 -1
  625. package/src/icons/PinHeader.tsx +1 -1
  626. package/src/icons/Play.tsx +1 -1
  627. package/src/icons/RAR.tsx +1 -1
  628. package/src/icons/RTF.tsx +1 -1
  629. package/src/icons/Recorder.tsx +1 -1
  630. package/src/icons/Refresh.tsx +1 -1
  631. package/src/icons/SEVEN_Z.tsx +1 -1
  632. package/src/icons/Search.tsx +1 -1
  633. package/src/icons/SendRight.tsx +1 -1
  634. package/src/icons/SendUp.tsx +1 -1
  635. package/src/icons/Share.tsx +1 -1
  636. package/src/icons/ShareRightArrow.tsx +1 -1
  637. package/src/icons/Smile.tsx +1 -1
  638. package/src/icons/Sound.tsx +1 -1
  639. package/src/icons/TAR.tsx +1 -1
  640. package/src/icons/TXT.tsx +1 -1
  641. package/src/icons/ThreadReply.tsx +1 -1
  642. package/src/icons/ThumbsDownReaction.tsx +1 -1
  643. package/src/icons/ThumbsUpReaction.tsx +1 -1
  644. package/src/icons/Time.tsx +1 -1
  645. package/src/icons/Unknown.tsx +1 -1
  646. package/src/icons/Unpin.tsx +1 -1
  647. package/src/icons/User.tsx +1 -1
  648. package/src/icons/UserAdd.tsx +1 -1
  649. package/src/icons/UserAdmin.tsx +1 -1
  650. package/src/icons/UserDelete.tsx +1 -1
  651. package/src/icons/UserMinus.tsx +1 -1
  652. package/src/icons/Video.tsx +1 -1
  653. package/src/icons/Warning.tsx +1 -1
  654. package/src/icons/WutReaction.tsx +1 -1
  655. package/src/icons/XLS.tsx +1 -1
  656. package/src/icons/XLSX.tsx +1 -1
  657. package/src/icons/ZIP.tsx +1 -1
  658. package/src/icons/utils/base.tsx +2 -2
  659. package/src/version.json +1 -1
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import type { DefaultStreamChatGenerics } from '../../types/types';
3
- export declare type InlineLoadingMoreIndicatorPropsWithContext = {
3
+ export type InlineLoadingMoreIndicatorPropsWithContext = {
4
4
  loadingMore?: boolean;
5
5
  };
6
6
  export declare const InlineLoadingMoreIndicatorWithContext: React.FC<InlineLoadingMoreIndicatorPropsWithContext>;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import type { DefaultStreamChatGenerics } from '../../types/types';
3
- export declare type InlineLoadingMoreRecentIndicatorPropsWithContext = {
3
+ export type InlineLoadingMoreRecentIndicatorPropsWithContext = {
4
4
  loadingMoreRecent?: boolean;
5
5
  };
6
6
  export declare const InlineLoadingMoreRecentIndicatorWithContext: React.FC<InlineLoadingMoreRecentIndicatorPropsWithContext>;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import type { DefaultStreamChatGenerics } from '../../types/types';
3
- export declare type InlineLoadingMoreThreadIndicatorPropsWithContext = {
3
+ export type InlineLoadingMoreThreadIndicatorPropsWithContext = {
4
4
  threadLoadingMore?: boolean;
5
5
  };
6
6
  export declare const InlineLoadingMoreThreadIndicatorWithContext: React.FC<InlineLoadingMoreThreadIndicatorPropsWithContext>;
@@ -11,7 +11,7 @@ import { PaginatedMessageListContextValue } from '../../contexts/paginatedMessag
11
11
  import { ThreadContextValue } from '../../contexts/threadContext/ThreadContext';
12
12
  import { TranslationContextValue } from '../../contexts/translationContext/TranslationContext';
13
13
  import type { DefaultStreamChatGenerics } from '../../types/types';
14
- declare type MessageListPropsWithContext<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Pick<AttachmentPickerContextValue, 'closePicker' | 'selectedPicker' | 'setSelectedPicker'> & Pick<ChannelContextValue<StreamChatGenerics>, 'channel' | 'disabled' | 'EmptyStateIndicator' | 'hideStickyDateHeader' | 'loadChannelAroundMessage' | 'loading' | 'LoadingIndicator' | 'markRead' | 'NetworkDownIndicator' | 'reloadChannel' | 'scrollToFirstUnreadThreshold' | 'setTargetedMessage' | 'StickyHeader' | 'targetedMessage' | 'threadList'> & Pick<ChatContextValue<StreamChatGenerics>, 'client'> & Pick<ImageGalleryContextValue<StreamChatGenerics>, 'setMessages'> & Pick<PaginatedMessageListContextValue<StreamChatGenerics>, 'hasNoMoreRecentMessagesToLoad' | 'loadMore' | 'loadMoreRecent'> & Pick<OverlayContextValue, 'overlay'> & Pick<MessagesContextValue<StreamChatGenerics>, 'DateHeader' | 'disableTypingIndicator' | 'FlatList' | 'initialScrollToFirstUnreadMessage' | 'InlineDateSeparator' | 'InlineUnreadIndicator' | 'legacyImageViewerSwipeBehaviour' | 'Message' | 'ScrollToBottomButton' | 'MessageSystem' | 'myMessageTheme' | 'TypingIndicator' | 'TypingIndicatorContainer'> & Pick<ThreadContextValue<StreamChatGenerics>, 'loadMoreThread' | 'thread'> & Pick<TranslationContextValue, 't' | 'tDateTimeParser'> & {
14
+ type MessageListPropsWithContext<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Pick<AttachmentPickerContextValue, 'closePicker' | 'selectedPicker' | 'setSelectedPicker'> & Pick<ChannelContextValue<StreamChatGenerics>, 'channel' | 'disabled' | 'EmptyStateIndicator' | 'hideStickyDateHeader' | 'loadChannelAroundMessage' | 'loading' | 'LoadingIndicator' | 'markRead' | 'NetworkDownIndicator' | 'reloadChannel' | 'scrollToFirstUnreadThreshold' | 'setTargetedMessage' | 'StickyHeader' | 'targetedMessage' | 'threadList'> & Pick<ChatContextValue<StreamChatGenerics>, 'client'> & Pick<ImageGalleryContextValue<StreamChatGenerics>, 'setMessages'> & Pick<PaginatedMessageListContextValue<StreamChatGenerics>, 'hasNoMoreRecentMessagesToLoad' | 'loadMore' | 'loadMoreRecent'> & Pick<OverlayContextValue, 'overlay'> & Pick<MessagesContextValue<StreamChatGenerics>, 'DateHeader' | 'disableTypingIndicator' | 'FlatList' | 'initialScrollToFirstUnreadMessage' | 'InlineDateSeparator' | 'InlineUnreadIndicator' | 'legacyImageViewerSwipeBehaviour' | 'Message' | 'ScrollToBottomButton' | 'MessageSystem' | 'myMessageTheme' | 'TypingIndicator' | 'TypingIndicatorContainer'> & Pick<ThreadContextValue<StreamChatGenerics>, 'loadMoreThread' | 'thread'> & Pick<TranslationContextValue, 't' | 'tDateTimeParser'> & {
15
15
  /**
16
16
  * Besides existing (default) UX behavior of underlying FlatList of MessageList component, if you want
17
17
  * to attach some additional props to underlying FlatList, you can add it to following prop.
@@ -70,6 +70,6 @@ declare type MessageListPropsWithContext<StreamChatGenerics extends DefaultStrea
70
70
  */
71
71
  setFlatListRef?: (ref: FlatListType<MessageType<StreamChatGenerics>> | null) => void;
72
72
  };
73
- export declare type MessageListProps<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Partial<MessageListPropsWithContext<StreamChatGenerics>>;
73
+ export type MessageListProps<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Partial<MessageListPropsWithContext<StreamChatGenerics>>;
74
74
  export declare const MessageList: <StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>(props: Partial<MessageListPropsWithContext<StreamChatGenerics>>) => JSX.Element;
75
75
  export {};
@@ -3,7 +3,7 @@ import { StyleProp, ViewStyle } from 'react-native';
3
3
  import type { MessageType } from './hooks/useMessageList';
4
4
  import { TDateTimeParserInput } from '../../contexts/translationContext/TranslationContext';
5
5
  import type { DefaultStreamChatGenerics } from '../../types/types';
6
- export declare type MessageSystemProps<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = {
6
+ export type MessageSystemProps<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = {
7
7
  /** Current [message object](https://getstream.io/chat/docs/#message_format) */
8
8
  message: MessageType<StreamChatGenerics>;
9
9
  /**
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { GestureResponderEvent } from 'react-native';
3
- export declare type ScrollToBottomButtonProps = {
3
+ export type ScrollToBottomButtonProps = {
4
4
  /** onPress handler */
5
5
  onPress: (event: GestureResponderEvent) => void;
6
6
  /** If we should show the notification or not */
@@ -3,8 +3,8 @@ import { ChatContextValue } from '../../contexts/chatContext/ChatContext';
3
3
  import { ThreadContextValue } from '../../contexts/threadContext/ThreadContext';
4
4
  import { TypingContextValue } from '../../contexts/typingContext/TypingContext';
5
5
  import type { DefaultStreamChatGenerics } from '../../types/types';
6
- declare type TypingIndicatorContainerPropsWithContext<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Pick<TypingContextValue<StreamChatGenerics>, 'typing'> & Pick<ChatContextValue<StreamChatGenerics>, 'client'> & Pick<ThreadContextValue<StreamChatGenerics>, 'thread'>;
7
- export declare type TypingIndicatorContainerProps<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Partial<TypingIndicatorContainerPropsWithContext<StreamChatGenerics>>;
6
+ type TypingIndicatorContainerPropsWithContext<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Pick<TypingContextValue<StreamChatGenerics>, 'typing'> & Pick<ChatContextValue<StreamChatGenerics>, 'client'> & Pick<ThreadContextValue<StreamChatGenerics>, 'thread'>;
7
+ export type TypingIndicatorContainerProps<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Partial<TypingIndicatorContainerPropsWithContext<StreamChatGenerics>>;
8
8
  export declare const TypingIndicatorContainer: {
9
9
  <StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>(props: React.PropsWithChildren<Partial<TypingIndicatorContainerPropsWithContext<StreamChatGenerics>>>): JSX.Element;
10
10
  displayName: string;
@@ -1,18 +1,18 @@
1
1
  import type { ChannelState, MessageResponse } from 'stream-chat';
2
2
  import { DeletedMessagesVisibilityType } from '../../../contexts/messagesContext/MessagesContext';
3
3
  import type { DefaultStreamChatGenerics } from '../../../types/types';
4
- export declare type UseMessageListParams = {
4
+ export type UseMessageListParams = {
5
5
  deletedMessagesVisibilityType?: DeletedMessagesVisibilityType;
6
6
  noGroupByUser?: boolean;
7
7
  threadList?: boolean;
8
8
  };
9
- export declare type GroupType = string;
10
- export declare type MessagesWithStylesReadByAndDateSeparator<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = MessageResponse<StreamChatGenerics> & {
9
+ export type GroupType = string;
10
+ export type MessagesWithStylesReadByAndDateSeparator<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = MessageResponse<StreamChatGenerics> & {
11
11
  groupStyles: GroupType[];
12
12
  readBy: boolean | number;
13
13
  dateSeparator?: Date;
14
14
  };
15
- export declare type MessageType<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = ReturnType<ChannelState<StreamChatGenerics>['formatMessage']> | MessagesWithStylesReadByAndDateSeparator<StreamChatGenerics>;
15
+ export type MessageType<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = ReturnType<ChannelState<StreamChatGenerics>['formatMessage']> | MessagesWithStylesReadByAndDateSeparator<StreamChatGenerics>;
16
16
  export declare const isMessageWithStylesReadByAndDateSeparator: <StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>(message: MessageType<StreamChatGenerics>) => message is MessagesWithStylesReadByAndDateSeparator<StreamChatGenerics>;
17
17
  export declare const useMessageList: <StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>(params: UseMessageListParams) => {
18
18
  /** Messages enriched with dates/readby/groups and also reversed in order */
@@ -2,6 +2,6 @@ import type { ChatContextValue } from '../../../contexts/chatContext/ChatContext
2
2
  import type { ThreadContextValue } from '../../../contexts/threadContext/ThreadContext';
3
3
  import type { TypingContextValue } from '../../../contexts/typingContext/TypingContext';
4
4
  import type { DefaultStreamChatGenerics } from '../../../types/types';
5
- declare type FilterTypingUsersParams<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Pick<TypingContextValue<StreamChatGenerics>, 'typing'> & Pick<ChatContextValue<StreamChatGenerics>, 'client'> & Pick<ThreadContextValue<StreamChatGenerics>, 'thread'>;
5
+ type FilterTypingUsersParams<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Pick<TypingContextValue<StreamChatGenerics>, 'typing'> & Pick<ChatContextValue<StreamChatGenerics>, 'client'> & Pick<ThreadContextValue<StreamChatGenerics>, 'thread'>;
6
6
  export declare const filterTypingUsers: <StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>({ client, thread, typing, }: FilterTypingUsersParams<StreamChatGenerics>) => string[];
7
7
  export {};
@@ -2,13 +2,13 @@ import type { DeletedMessagesVisibilityType } from '../../../contexts/messagesCo
2
2
  import type { PaginatedMessageListContextValue } from '../../../contexts/paginatedMessageListContext/PaginatedMessageListContext';
3
3
  import type { ThreadContextValue } from '../../../contexts/threadContext/ThreadContext';
4
4
  import type { DefaultStreamChatGenerics } from '../../../types/types';
5
- export declare type GetDateSeparatorsParams<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = {
5
+ export type GetDateSeparatorsParams<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = {
6
6
  messages: PaginatedMessageListContextValue<StreamChatGenerics>['messages'] | ThreadContextValue<StreamChatGenerics>['threadMessages'];
7
7
  deletedMessagesVisibilityType?: DeletedMessagesVisibilityType;
8
8
  hideDateSeparators?: boolean;
9
9
  userId?: string;
10
10
  };
11
- export declare type DateSeparators = {
11
+ export type DateSeparators = {
12
12
  [key: string]: Date;
13
13
  };
14
14
  export declare const getDateSeparators: <StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>(params: GetDateSeparatorsParams<StreamChatGenerics>) => DateSeparators;
@@ -2,7 +2,7 @@ import type { DateSeparators } from './getDateSeparators';
2
2
  import type { PaginatedMessageListContextValue } from '../../../contexts/paginatedMessageListContext/PaginatedMessageListContext';
3
3
  import type { ThreadContextValue } from '../../../contexts/threadContext/ThreadContext';
4
4
  import type { DefaultStreamChatGenerics } from '../../../types/types';
5
- export declare type GetGroupStylesParams<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = {
5
+ export type GetGroupStylesParams<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = {
6
6
  dateSeparators: DateSeparators;
7
7
  messages: PaginatedMessageListContextValue<StreamChatGenerics>['messages'] | ThreadContextValue<StreamChatGenerics>['threadMessages'];
8
8
  hideDateSeparators?: boolean;
@@ -1,3 +1,4 @@
1
+ import type { ChannelContextValue } from '../../../contexts/channelContext/ChannelContext';
1
2
  import type { PaginatedMessageListContextValue } from '../../../contexts/paginatedMessageListContext/PaginatedMessageListContext';
2
3
  import type { ThreadContextValue } from '../../../contexts/threadContext/ThreadContext';
3
4
  import type { DefaultStreamChatGenerics } from '../../../types/types';
@@ -3,10 +3,10 @@ import Animated from 'react-native-reanimated';
3
3
  import { MessageOverlayData } from '../../contexts/messageOverlayContext/MessageOverlayContext';
4
4
  import type { OverlayProviderProps } from '../../contexts/overlayContext/OverlayContext';
5
5
  import type { DefaultStreamChatGenerics } from '../../types/types';
6
- export declare type MessageActionListPropsWithContext<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Pick<OverlayProviderProps<StreamChatGenerics>, 'MessageActionListItem' | 'error' | 'isMyMessage' | 'isThreadMessage' | 'message' | 'messageReactions'> & Pick<MessageOverlayData<StreamChatGenerics>, 'alignment' | 'messageActions'> & {
6
+ export type MessageActionListPropsWithContext<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Pick<OverlayProviderProps<StreamChatGenerics>, 'MessageActionListItem' | 'error' | 'isMyMessage' | 'isThreadMessage' | 'message' | 'messageReactions'> & Pick<MessageOverlayData<StreamChatGenerics>, 'alignment' | 'messageActions'> & {
7
7
  showScreen: Animated.SharedValue<number>;
8
8
  };
9
- export declare type MessageActionListProps<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Partial<Omit<MessageActionListPropsWithContext<StreamChatGenerics>, 'showScreen'>> & Pick<MessageActionListPropsWithContext<StreamChatGenerics>, 'showScreen' | 'message' | 'isMyMessage' | 'error' | 'isThreadMessage' | 'messageReactions'>;
9
+ export type MessageActionListProps<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Partial<Omit<MessageActionListPropsWithContext<StreamChatGenerics>, 'showScreen'>> & Pick<MessageActionListPropsWithContext<StreamChatGenerics>, 'showScreen' | 'message' | 'isMyMessage' | 'error' | 'isThreadMessage' | 'messageReactions'>;
10
10
  /**
11
11
  * MessageActionList - A high level component which implements all the logic required for MessageActions
12
12
  */
@@ -2,15 +2,31 @@ import React from 'react';
2
2
  import { StyleProp, TextStyle } from 'react-native';
3
3
  import type { DefaultStreamChatGenerics } from '../../types/types';
4
4
  import type { MessageOverlayPropsWithContext } from '../MessageOverlay/MessageOverlay';
5
- export declare type ActionType = 'blockUser' | 'copyMessage' | 'deleteMessage' | 'editMessage' | 'flagMessage' | 'muteUser' | 'pinMessage' | 'selectReaction' | 'reply' | 'retry' | 'quotedReply' | 'threadReply' | 'unpinMessage';
6
- export declare type MessageActionType = {
5
+ export type ActionType = 'blockUser' | 'copyMessage' | 'deleteMessage' | 'editMessage' | 'flagMessage' | 'muteUser' | 'pinMessage' | 'selectReaction' | 'reply' | 'retry' | 'quotedReply' | 'threadReply' | 'unpinMessage';
6
+ export type MessageActionType = {
7
+ /**
8
+ * Callback when user presses the action button.
9
+ */
7
10
  action: () => void;
11
+ /**
12
+ * Type of the action performed.
13
+ * Eg: 'blockUser', 'copyMessage', 'deleteMessage', 'editMessage', 'flagMessage', 'muteUser', 'pinMessage', 'selectReaction', 'reply', 'retry', 'quotedReply', 'threadReply', 'unpinMessage'
14
+ */
8
15
  actionType: ActionType;
16
+ /**
17
+ * Title for action button.
18
+ */
9
19
  title: string;
20
+ /**
21
+ * Element to render as icon for action button.
22
+ */
10
23
  icon?: React.ReactElement;
24
+ /**
25
+ * Styles for underlying Text component of action title.
26
+ */
11
27
  titleStyle?: StyleProp<TextStyle>;
12
28
  };
13
- export declare type MessageActionListItemProps<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = MessageActionType & Pick<MessageOverlayPropsWithContext<StreamChatGenerics>, 'error' | 'isMyMessage' | 'isThreadMessage' | 'message' | 'messageReactions'> & {
29
+ export type MessageActionListItemProps<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = MessageActionType & Pick<MessageOverlayPropsWithContext<StreamChatGenerics>, 'error' | 'isMyMessage' | 'isThreadMessage' | 'message' | 'messageReactions'> & {
14
30
  index: number;
15
31
  length: number;
16
32
  };
@@ -3,11 +3,11 @@ import Animated from 'react-native-reanimated';
3
3
  import { MessageOverlayContextValue, MessageOverlayData } from '../../contexts/messageOverlayContext/MessageOverlayContext';
4
4
  import { OverlayContextValue, OverlayProviderProps } from '../../contexts/overlayContext/OverlayContext';
5
5
  import type { DefaultStreamChatGenerics } from '../../types/types';
6
- export declare type MessageOverlayPropsWithContext<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Pick<MessageOverlayContextValue<StreamChatGenerics>, 'MessageActionList' | 'MessageActionListItem' | 'OverlayReactionList' | 'OverlayReactions' | 'OverlayReactionsAvatar'> & Omit<MessageOverlayData<StreamChatGenerics>, 'supportedReactions'> & Pick<OverlayContextValue, 'overlay' | 'setOverlay'> & Pick<OverlayProviderProps<StreamChatGenerics>, 'error' | 'isMyMessage' | 'isThreadMessage' | 'message' | 'messageReactions' | 'messageTextNumberOfLines'> & {
6
+ export type MessageOverlayPropsWithContext<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Pick<MessageOverlayContextValue<StreamChatGenerics>, 'MessageActionList' | 'MessageActionListItem' | 'OverlayReactionList' | 'OverlayReactions' | 'OverlayReactionsAvatar'> & Omit<MessageOverlayData<StreamChatGenerics>, 'supportedReactions'> & Pick<OverlayContextValue, 'overlay' | 'setOverlay'> & Pick<OverlayProviderProps<StreamChatGenerics>, 'error' | 'isMyMessage' | 'isThreadMessage' | 'message' | 'messageReactions' | 'messageTextNumberOfLines'> & {
7
7
  overlayOpacity: Animated.SharedValue<number>;
8
8
  showScreen?: Animated.SharedValue<number>;
9
9
  };
10
- export declare type MessageOverlayProps<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Partial<Omit<MessageOverlayPropsWithContext<StreamChatGenerics>, 'overlayOpacity'>> & Pick<MessageOverlayPropsWithContext<StreamChatGenerics>, 'overlayOpacity'> & Pick<MessageOverlayPropsWithContext<StreamChatGenerics>, 'isMyMessage' | 'error' | 'isThreadMessage' | 'message' | 'messageReactions'>;
10
+ export type MessageOverlayProps<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Partial<Omit<MessageOverlayPropsWithContext<StreamChatGenerics>, 'overlayOpacity'>> & Pick<MessageOverlayPropsWithContext<StreamChatGenerics>, 'overlayOpacity'> & Pick<MessageOverlayPropsWithContext<StreamChatGenerics>, 'isMyMessage' | 'error' | 'isThreadMessage' | 'message' | 'messageReactions'>;
11
11
  /**
12
12
  * MessageOverlay - A high level component which implements all the logic required for a message overlay
13
13
  */
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { StyleProp, ViewStyle } from 'react-native';
3
- declare type OverlayBackdropProps = {
3
+ type OverlayBackdropProps = {
4
4
  style?: StyleProp<ViewStyle>;
5
5
  };
6
6
  export declare const OverlayBackdrop: (props: OverlayBackdropProps) => JSX.Element;
@@ -6,7 +6,7 @@ import { MessagesContextValue } from '../../contexts/messagesContext/MessagesCon
6
6
  import { OverlayContextValue } from '../../contexts/overlayContext/OverlayContext';
7
7
  import { IconProps } from '../../icons';
8
8
  import type { DefaultStreamChatGenerics } from '../../types/types';
9
- declare type ReactionButtonProps<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Pick<OverlayReactionListPropsWithContext<StreamChatGenerics>, 'ownReactionTypes' | 'handleReaction' | 'setOverlay'> & {
9
+ type ReactionButtonProps<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Pick<OverlayReactionListPropsWithContext<StreamChatGenerics>, 'ownReactionTypes' | 'handleReaction' | 'setOverlay'> & {
10
10
  Icon: React.FC<IconProps>;
11
11
  index: number;
12
12
  numberOfReactions: number;
@@ -14,7 +14,7 @@ declare type ReactionButtonProps<StreamChatGenerics extends DefaultStreamChatGen
14
14
  type: string;
15
15
  };
16
16
  export declare const ReactionButton: <StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>(props: ReactionButtonProps<StreamChatGenerics>) => JSX.Element;
17
- export declare type OverlayReactionListPropsWithContext<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Pick<MessageOverlayData<StreamChatGenerics>, 'alignment' | 'handleReaction' | 'messagesContext'> & Pick<MessagesContextValue<StreamChatGenerics>, 'supportedReactions'> & Pick<OverlayContextValue, 'setOverlay'> & {
17
+ export type OverlayReactionListPropsWithContext<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Pick<MessageOverlayData<StreamChatGenerics>, 'alignment' | 'handleReaction' | 'messagesContext'> & Pick<MessagesContextValue<StreamChatGenerics>, 'supportedReactions'> & Pick<OverlayContextValue, 'setOverlay'> & {
18
18
  messageLayout: Animated.SharedValue<{
19
19
  x: number;
20
20
  y: number;
@@ -24,7 +24,7 @@ export declare type OverlayReactionListPropsWithContext<StreamChatGenerics exten
24
24
  showScreen: Animated.SharedValue<number>;
25
25
  fill?: FillProps['fill'];
26
26
  };
27
- export declare type OverlayReactionListProps<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Omit<OverlayReactionListPropsWithContext<StreamChatGenerics>, 'setOverlay' | 'supportedReactions'> & Partial<Pick<OverlayReactionListPropsWithContext<StreamChatGenerics>, 'setOverlay' | 'supportedReactions'>>;
27
+ export type OverlayReactionListProps<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Omit<OverlayReactionListPropsWithContext<StreamChatGenerics>, 'setOverlay' | 'supportedReactions'> & Partial<Pick<OverlayReactionListPropsWithContext<StreamChatGenerics>, 'setOverlay' | 'supportedReactions'>>;
28
28
  /**
29
29
  * OverlayReactionList - A high level component which implements all the logic required for a message overlay reaction list
30
30
  */
@@ -4,14 +4,14 @@ import type { Alignment } from '../../contexts/messageContext/MessageContext';
4
4
  import type { MessageOverlayContextValue } from '../../contexts/messageOverlayContext/MessageOverlayContext';
5
5
  import type { DefaultStreamChatGenerics } from '../../types/types';
6
6
  import type { ReactionData } from '../../utils/utils';
7
- export declare type Reaction = {
7
+ export type Reaction = {
8
8
  alignment: Alignment;
9
9
  id: string;
10
10
  name: string;
11
11
  type: string;
12
12
  image?: string;
13
13
  };
14
- export declare type OverlayReactionsProps<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Pick<MessageOverlayContextValue<StreamChatGenerics>, 'OverlayReactionsAvatar'> & {
14
+ export type OverlayReactionsProps<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Pick<MessageOverlayContextValue<StreamChatGenerics>, 'OverlayReactionsAvatar'> & {
15
15
  reactions: Reaction[];
16
16
  showScreen: Animated.SharedValue<number>;
17
17
  title: string;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import type { Reaction } from './OverlayReactions';
3
3
  import { AvatarProps } from '../Avatar/Avatar';
4
- export declare type OverlayReactionsAvatarProps = {
4
+ export type OverlayReactionsAvatarProps = {
5
5
  reaction: Reaction;
6
6
  } & Partial<Pick<AvatarProps, 'size'>>;
7
7
  export declare const OverlayReactionsAvatar: React.FC<OverlayReactionsAvatarProps>;
@@ -2,7 +2,7 @@
2
2
  import type { ViewStyle } from 'react-native';
3
3
  import type { TapGestureHandlerStateChangeEvent } from 'react-native-gesture-handler';
4
4
  import type { MessageActionListItemProps } from '../MessageActionListItem';
5
- export declare const useMessageActionAnimation: ({ action, activeOpacity, }: Pick<MessageActionListItemProps<import("../../..").DefaultStreamChatGenerics>, "action"> & {
5
+ export declare const useMessageActionAnimation: ({ action, activeOpacity, }: Pick<MessageActionListItemProps, "action"> & {
6
6
  activeOpacity?: number | undefined;
7
7
  }) => {
8
8
  animatedStyle: ViewStyle;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- export declare type ProgressControlProps = {
2
+ export type ProgressControlProps = {
3
3
  duration: number;
4
4
  filledColor: string;
5
5
  onPlayPause: (status?: boolean) => void;
@@ -1,4 +1,4 @@
1
1
  import React from 'react';
2
2
  import { ViewProps } from 'react-native';
3
- export declare type WritingDirectionAwareTextProps = ViewProps;
3
+ export type WritingDirectionAwareTextProps = ViewProps;
4
4
  export declare const WritingDirectionAwareText: React.FC<WritingDirectionAwareTextProps>;
@@ -4,7 +4,7 @@ import { MessageInputContextValue } from '../../contexts/messageInputContext/Mes
4
4
  import { MessagesContextValue } from '../../contexts/messagesContext/MessagesContext';
5
5
  import { TranslationContextValue } from '../../contexts/translationContext/TranslationContext';
6
6
  import type { DefaultStreamChatGenerics } from '../../types/types';
7
- declare type ReplyPropsWithContext<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Pick<MessageInputContextValue<StreamChatGenerics>, 'quotedMessage'> & Pick<MessagesContextValue<StreamChatGenerics>, 'FileAttachmentIcon' | 'MessageAvatar'> & Pick<TranslationContextValue, 't'> & {
7
+ type ReplyPropsWithContext<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Pick<MessageInputContextValue<StreamChatGenerics>, 'quotedMessage'> & Pick<MessagesContextValue<StreamChatGenerics>, 'FileAttachmentIcon' | 'MessageAvatar'> & Pick<TranslationContextValue, 't'> & {
8
8
  attachmentSize?: number;
9
9
  styles?: Partial<{
10
10
  container: ViewStyle;
@@ -14,7 +14,7 @@ declare type ReplyPropsWithContext<StreamChatGenerics extends DefaultStreamChatG
14
14
  textContainer: ViewStyle;
15
15
  }>;
16
16
  };
17
- export declare type ReplyProps<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Partial<ReplyPropsWithContext<StreamChatGenerics>>;
17
+ export type ReplyProps<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Partial<ReplyPropsWithContext<StreamChatGenerics>>;
18
18
  /**
19
19
  * UI Component for reply
20
20
  */
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { StyleProp, ViewStyle } from 'react-native';
3
- export declare type SpinnerProps = {
3
+ export type SpinnerProps = {
4
4
  height?: number;
5
5
  style?: StyleProp<ViewStyle>;
6
6
  width?: number;
@@ -5,7 +5,7 @@ import { ThreadContextValue } from '../../contexts/threadContext/ThreadContext';
5
5
  import type { DefaultStreamChatGenerics } from '../../types/types';
6
6
  import { MessageInputProps } from '../MessageInput/MessageInput';
7
7
  import type { MessageListProps } from '../MessageList/MessageList';
8
- declare type ThreadPropsWithContext<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Pick<ChatContextValue<StreamChatGenerics>, 'client'> & Pick<MessagesContextValue<StreamChatGenerics>, 'MessageList'> & Pick<ThreadContextValue<StreamChatGenerics>, 'closeThread' | 'loadMoreThread' | 'reloadThread' | 'thread'> & {
8
+ type ThreadPropsWithContext<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Pick<ChatContextValue<StreamChatGenerics>, 'client'> & Pick<MessagesContextValue<StreamChatGenerics>, 'MessageList'> & Pick<ThreadContextValue<StreamChatGenerics>, 'closeThread' | 'loadMoreThread' | 'reloadThread' | 'thread'> & {
9
9
  /**
10
10
  * Additional props for underlying MessageInput component.
11
11
  * Available props - https://getstream.io/chat/docs/sdk/reactnative/ui-components/message-input/#props
@@ -32,7 +32,7 @@ declare type ThreadPropsWithContext<StreamChatGenerics extends DefaultStreamChat
32
32
  */
33
33
  onThreadDismount?: () => void;
34
34
  };
35
- export declare type ThreadProps<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Partial<ThreadPropsWithContext<StreamChatGenerics>>;
35
+ export type ThreadProps<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Partial<ThreadPropsWithContext<StreamChatGenerics>>;
36
36
  /**
37
37
  * Thread - The Thread renders a parent message with a list of replies. Use the standard message list of the main channel's messages.
38
38
  * The thread is only used for the list of replies to a message.
@@ -1,6 +1,6 @@
1
1
  import React, { PropsWithChildren } from 'react';
2
2
  import type { UnknownType } from '../../types/types';
3
- declare type ActiveChannels = React.MutableRefObject<string[]>;
3
+ type ActiveChannels = React.MutableRefObject<string[]>;
4
4
  export declare const ActiveChannelsProvider: ({ children, value, }: React.PropsWithChildren<{
5
5
  value: ActiveChannels;
6
6
  }>) => JSX.Element;
@@ -1,10 +1,10 @@
1
1
  import React, { PropsWithChildren } from 'react';
2
2
  import type { Asset, DefaultStreamChatGenerics, File } from '../../types/types';
3
- export declare type AttachmentPickerIconProps = {
3
+ export type AttachmentPickerIconProps = {
4
4
  numberOfImageUploads: number;
5
5
  selectedPicker?: 'images';
6
6
  };
7
- export declare type AttachmentPickerContextValue = {
7
+ export type AttachmentPickerContextValue = {
8
8
  /**
9
9
  * `bottomInset` determine the height of the `AttachmentPicker` and the underlying shift to the `MessageList` when it is opened.
10
10
  * This can also be set via the `setBottomInset` function provided by the `useAttachmentPickerContext` hook.
@@ -3,7 +3,7 @@ import type { Channel, ChannelState } from 'stream-chat';
3
3
  import type { EmptyStateProps } from '../../components/Indicators/EmptyStateIndicator';
4
4
  import type { LoadingProps } from '../../components/Indicators/LoadingIndicator';
5
5
  import type { DefaultStreamChatGenerics, UnknownType } from '../../types/types';
6
- export declare type ChannelContextValue<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = {
6
+ export type ChannelContextValue<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = {
7
7
  /**
8
8
  * Instance of channel object from stream-chat package.
9
9
  *
@@ -14,7 +14,7 @@ import type { EmptyStateProps } from '../../components/Indicators/EmptyStateIndi
14
14
  import type { LoadingErrorProps } from '../../components/Indicators/LoadingErrorIndicator';
15
15
  import type { LoadingProps } from '../../components/Indicators/LoadingIndicator';
16
16
  import type { DefaultStreamChatGenerics, UnknownType } from '../../types/types';
17
- export declare type ChannelsContextValue<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = {
17
+ export type ChannelsContextValue<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = {
18
18
  /**
19
19
  * Besides the existing default behavior of the ChannelListMessenger component, you can attach
20
20
  * additional props to the underlying React Native FlatList.
@@ -183,7 +183,7 @@ export declare type ChannelsContextValue<StreamChatGenerics extends DefaultStrea
183
183
  *
184
184
  * **Default** [ChannelPreviewTitle](https://github.com/GetStream/stream-chat-react-native/blob/main/package/src/components/ChannelPreview/ChannelPreviewTitle.tsx)
185
185
  */
186
- PreviewTitle?: React.ComponentType<ChannelPreviewTitleProps<StreamChatGenerics>>;
186
+ PreviewTitle?: React.ComponentType<ChannelPreviewTitleProps>;
187
187
  /**
188
188
  * Custom UI component to render preview avatar.
189
189
  *
@@ -4,7 +4,7 @@ import type { ChannelContextValue } from '../channelContext/ChannelContext';
4
4
  import type { PaginatedMessageListContextValue } from '../paginatedMessageListContext/PaginatedMessageListContext';
5
5
  import type { ThreadContextValue } from '../threadContext/ThreadContext';
6
6
  import type { TypingContextValue } from '../typingContext/TypingContext';
7
- export declare type ChannelState<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = {
7
+ export type ChannelState<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = {
8
8
  members: ChannelContextValue<StreamChatGenerics>['members'];
9
9
  messages: PaginatedMessageListContextValue<StreamChatGenerics>['messages'];
10
10
  read: ChannelContextValue<StreamChatGenerics>['read'];
@@ -14,16 +14,16 @@ export declare type ChannelState<StreamChatGenerics extends DefaultStreamChatGen
14
14
  watcherCount: ChannelContextValue<StreamChatGenerics>['watcherCount'];
15
15
  watchers: ChannelContextValue<StreamChatGenerics>['watchers'];
16
16
  };
17
- declare type ChannelsState<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = {
17
+ type ChannelsState<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = {
18
18
  [cid: string]: ChannelState<StreamChatGenerics>;
19
19
  };
20
- export declare type Keys = keyof ChannelState;
21
- export declare type Payload<Key extends Keys = Keys, StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = {
20
+ export type Keys = keyof ChannelState;
21
+ export type Payload<Key extends Keys = Keys, StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = {
22
22
  cid: string;
23
23
  key: Key;
24
24
  value: ChannelState<StreamChatGenerics>[Key];
25
25
  };
26
- export declare type ChannelsStateContextValue<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = {
26
+ export type ChannelsStateContextValue<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = {
27
27
  decreaseSubscriberCount: (value: {
28
28
  cid: string;
29
29
  }) => void;
@@ -1,7 +1,7 @@
1
1
  import type { Channel as ChannelType } from 'stream-chat';
2
2
  import type { ChannelState } from './ChannelsStateContext';
3
3
  import type { DefaultStreamChatGenerics } from '../../types/types';
4
- export declare type UseChannelStateValue<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = {
4
+ export type UseChannelStateValue<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = {
5
5
  members: ChannelState<StreamChatGenerics>['members'];
6
6
  messages: ChannelState<StreamChatGenerics>['messages'];
7
7
  read: ChannelState<StreamChatGenerics>['read'];
@@ -2,7 +2,7 @@ import React, { PropsWithChildren } from 'react';
2
2
  import type { ImageProps } from 'react-native';
3
3
  import type { AppSettingsAPIResponse, Channel, Mute, StreamChat } from 'stream-chat';
4
4
  import type { DefaultStreamChatGenerics, UnknownType } from '../../types/types';
5
- export declare type ChatContextValue<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = {
5
+ export type ChatContextValue<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = {
6
6
  /**
7
7
  * Object of application settings returned from Stream.
8
8
  * */
@@ -26,6 +26,9 @@ export declare type ChatContextValue<StreamChatGenerics extends DefaultStreamCha
26
26
  client: StreamChat<StreamChatGenerics>;
27
27
  connectionRecovering: boolean;
28
28
  enableOfflineSupport: boolean;
29
+ /**
30
+ * Drop in replacement of all the underlying Image components within SDK. This is useful for the purpose of offline caching of images. Please check the Offline Support Guide for usage.
31
+ */
29
32
  ImageComponent: React.ComponentType<ImageProps>;
30
33
  isOnline: boolean | null;
31
34
  mutedUsers: Mute<StreamChatGenerics>[];
@@ -2,11 +2,11 @@ import React, { PropsWithChildren } from 'react';
2
2
  import type { Channel, ChannelState, StreamChat } from 'stream-chat';
3
3
  import type { MessageType } from '../../components/MessageList/hooks/useMessageList';
4
4
  import type { DefaultStreamChatGenerics } from '../../types/types';
5
- export declare type DebugDataType<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = StreamChat<StreamChatGenerics>['user'] | {
5
+ export type DebugDataType<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = StreamChat<StreamChatGenerics>['user'] | {
6
6
  data: Channel<StreamChatGenerics>['data'];
7
7
  members: ChannelState<StreamChatGenerics>['members'];
8
8
  }[] | MessageType<StreamChatGenerics>[];
9
- export declare type DebugContextValue<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = {
9
+ export type DebugContextValue<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = {
10
10
  eventType?: string;
11
11
  sendEventParams?: {
12
12
  action: string;
@@ -1,11 +1,11 @@
1
1
  import React, { PropsWithChildren } from 'react';
2
2
  import type { MessageType } from '../../components/MessageList/hooks/useMessageList';
3
3
  import type { DefaultStreamChatGenerics, UnknownType } from '../../types/types';
4
- declare type SelectedMessage = {
4
+ type SelectedMessage = {
5
5
  messageId?: string;
6
6
  url?: string;
7
7
  };
8
- export declare type ImageGalleryContextValue<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = {
8
+ export type ImageGalleryContextValue<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = {
9
9
  messages: MessageType<StreamChatGenerics>[];
10
10
  setMessages: React.Dispatch<React.SetStateAction<MessageType<StreamChatGenerics>[]>>;
11
11
  setSelectedMessage: React.Dispatch<React.SetStateAction<SelectedMessage | undefined>>;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import type { DefaultStreamChatGenerics } from '../../types/types';
3
- export declare type KeyboardContextValue = {
3
+ export type KeyboardContextValue = {
4
4
  dismissKeyboard: () => void;
5
5
  };
6
6
  export declare const KeyboardContext: React.Context<{
@@ -8,12 +8,12 @@ import type { MessageContentType } from '../../contexts/messagesContext/Messages
8
8
  import type { DeepPartial } from '../../contexts/themeContext/ThemeContext';
9
9
  import type { Theme } from '../../contexts/themeContext/utils/theme';
10
10
  import type { DefaultStreamChatGenerics, UnknownType } from '../../types/types';
11
- export declare type Alignment = 'right' | 'left';
12
- export declare type Reactions = {
11
+ export type Alignment = 'right' | 'left';
12
+ export type Reactions = {
13
13
  own: boolean;
14
14
  type: string;
15
15
  }[];
16
- export declare type MessageContextValue<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = {
16
+ export type MessageContextValue<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = {
17
17
  /** Whether or not actions can be performed on message */
18
18
  actionsEnabled: boolean;
19
19
  /** Position of the message, either 'right' or 'left' */
@@ -20,15 +20,15 @@ import type { Emoji } from '../../emoji-data';
20
20
  import type { Asset, DefaultStreamChatGenerics, File, FileUpload, ImageUpload, UnknownType } from '../../types/types';
21
21
  import { ACITriggerSettingsParams, TriggerSettings } from '../../utils/utils';
22
22
  import { ChannelContextValue } from '../channelContext/ChannelContext';
23
- export declare type EmojiSearchIndex = {
23
+ export type EmojiSearchIndex = {
24
24
  search: (query: string) => PromiseLike<Array<Emoji>> | Array<Emoji> | null;
25
25
  };
26
- export declare type MentionAllAppUsersQuery<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = {
26
+ export type MentionAllAppUsersQuery<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = {
27
27
  filters?: UserFilters<StreamChatGenerics>;
28
28
  options?: UserOptions;
29
29
  sort?: UserSort<StreamChatGenerics>;
30
30
  };
31
- export declare type LocalMessageInputContext<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = {
31
+ export type LocalMessageInputContext<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = {
32
32
  appendText: (newText: string) => void;
33
33
  asyncIds: string[];
34
34
  asyncUploads: {
@@ -153,7 +153,7 @@ export declare type LocalMessageInputContext<StreamChatGenerics extends DefaultS
153
153
  uploadNewFile: (file: File) => Promise<void>;
154
154
  uploadNewImage: (image: Partial<Asset>) => Promise<void>;
155
155
  };
156
- export declare type InputMessageInputContextValue<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = {
156
+ export type InputMessageInputContextValue<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Pick<ChannelContextValue<StreamChatGenerics>, 'disabled'> & {
157
157
  /**
158
158
  * Custom UI component for attach button.
159
159
  *
@@ -321,7 +321,7 @@ export declare type InputMessageInputContextValue<StreamChatGenerics extends Def
321
321
  */
322
322
  setInputRef?: (ref: TextInput | null) => void;
323
323
  };
324
- export declare type MessageInputContextValue<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = LocalMessageInputContext<StreamChatGenerics> & Omit<InputMessageInputContextValue<StreamChatGenerics>, 'sendMessage'>;
324
+ export type MessageInputContextValue<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = LocalMessageInputContext<StreamChatGenerics> & Omit<InputMessageInputContextValue<StreamChatGenerics>, 'sendMessage'>;
325
325
  export declare const MessageInputContext: React.Context<MessageInputContextValue<DefaultStreamChatGenerics>>;
326
326
  export declare const MessageInputProvider: <StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>({ children, value, }: React.PropsWithChildren<{
327
327
  value: InputMessageInputContextValue<StreamChatGenerics>;
@@ -332,4 +332,4 @@ export declare const useMessageInputContext: <StreamChatGenerics extends Default
332
332
  * typing is desired while using the HOC withMessageInputContext the Props for the
333
333
  * wrapped component must be provided as the first generic.
334
334
  */
335
- export declare const withMessageInputContext: <P extends UnknownType, StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>(Component: React.ComponentType<P>) => React.FC<Omit<P, "numberOfLines" | "maxNumberOfFiles" | "compressImageQuality" | "setQuotedMessageState" | "AttachButton" | "clearEditingState" | "clearQuotedMessageState" | "CommandsButton" | "CooldownTimer" | "editMessage" | "FileUploadPreview" | "hasCommands" | "hasFilePicker" | "hasImagePicker" | "ImageUploadPreview" | "InputEditingStateHeader" | "InputGiphySearch" | "InputReplyStateHeader" | "MoreOptionsButton" | "quotedMessage" | "SendButton" | "sendImageAsync" | "ShowThreadMessageInChannelButton" | "UploadProgressIndicator" | "additionalTextInputProps" | "autoCompleteSuggestionsLimit" | "autoCompleteTriggerSettings" | "doDocUploadRequest" | "doImageUploadRequest" | "editing" | "emojiSearchIndex" | "initialValue" | "Input" | "InputButtons" | "maxMessageLength" | "mentionAllAppUsersEnabled" | "mentionAllAppUsersQuery" | "onChangeText" | "SendMessageDisallowedIndicator" | "setInputRef" | keyof LocalMessageInputContext<StreamChatGenerics>>>;
335
+ export declare const withMessageInputContext: <P extends UnknownType, StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>(Component: React.ComponentType<P>) => React.FC<Omit<P, "disabled" | "numberOfLines" | "maxNumberOfFiles" | "compressImageQuality" | "setQuotedMessageState" | "AttachButton" | "clearEditingState" | "clearQuotedMessageState" | "CommandsButton" | "CooldownTimer" | "editMessage" | "FileUploadPreview" | "hasCommands" | "hasFilePicker" | "hasImagePicker" | "ImageUploadPreview" | "InputEditingStateHeader" | "InputGiphySearch" | "InputReplyStateHeader" | "MoreOptionsButton" | "quotedMessage" | "SendButton" | "sendImageAsync" | "ShowThreadMessageInChannelButton" | "UploadProgressIndicator" | "additionalTextInputProps" | "autoCompleteSuggestionsLimit" | "autoCompleteTriggerSettings" | "doDocUploadRequest" | "doImageUploadRequest" | "editing" | "emojiSearchIndex" | "initialValue" | "Input" | "InputButtons" | "maxMessageLength" | "mentionAllAppUsersEnabled" | "mentionAllAppUsersQuery" | "onChangeText" | "SendMessageDisallowedIndicator" | "setInputRef" | keyof LocalMessageInputContext<StreamChatGenerics>>>;