stream-chat-react-native-core 9.0.0-beta.31 → 9.0.0-beta.33

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 (598) hide show
  1. package/lib/commonjs/components/Attachment/Attachment.js +15 -52
  2. package/lib/commonjs/components/Attachment/Attachment.js.map +1 -1
  3. package/lib/commonjs/components/Attachment/FileAttachment.js +4 -6
  4. package/lib/commonjs/components/Attachment/FileAttachment.js.map +1 -1
  5. package/lib/commonjs/components/Attachment/FileAttachmentGroup.js +4 -10
  6. package/lib/commonjs/components/Attachment/FileAttachmentGroup.js.map +1 -1
  7. package/lib/commonjs/components/Attachment/FilePreview.js +3 -6
  8. package/lib/commonjs/components/Attachment/FilePreview.js.map +1 -1
  9. package/lib/commonjs/components/Attachment/Gallery.js +9 -28
  10. package/lib/commonjs/components/Attachment/Gallery.js.map +1 -1
  11. package/lib/commonjs/components/Attachment/GalleryImage.js +3 -3
  12. package/lib/commonjs/components/Attachment/GalleryImage.js.map +1 -1
  13. package/lib/commonjs/components/Attachment/Giphy/GiphyImage.js +7 -13
  14. package/lib/commonjs/components/Attachment/Giphy/GiphyImage.js.map +1 -1
  15. package/lib/commonjs/components/Attachment/UnsupportedAttachment.js +4 -6
  16. package/lib/commonjs/components/Attachment/UnsupportedAttachment.js.map +1 -1
  17. package/lib/commonjs/components/Attachment/UrlPreview/URLPreview.js +3 -3
  18. package/lib/commonjs/components/Attachment/UrlPreview/URLPreview.js.map +1 -1
  19. package/lib/commonjs/components/Attachment/UrlPreview/URLPreviewCompact.js +3 -3
  20. package/lib/commonjs/components/Attachment/UrlPreview/URLPreviewCompact.js.map +1 -1
  21. package/lib/commonjs/components/AttachmentPicker/AttachmentPicker.js +4 -2
  22. package/lib/commonjs/components/AttachmentPicker/AttachmentPicker.js.map +1 -1
  23. package/lib/commonjs/components/AttachmentPicker/components/AttachmentMediaPicker/AttachmentPickerItem.js +7 -4
  24. package/lib/commonjs/components/AttachmentPicker/components/AttachmentMediaPicker/AttachmentPickerItem.js.map +1 -1
  25. package/lib/commonjs/components/AutoCompleteInput/AutoCompleteSuggestionList.js +9 -13
  26. package/lib/commonjs/components/AutoCompleteInput/AutoCompleteSuggestionList.js.map +1 -1
  27. package/lib/commonjs/components/Channel/Channel.js +9 -421
  28. package/lib/commonjs/components/Channel/Channel.js.map +1 -1
  29. package/lib/commonjs/components/Channel/hooks/useCreateChannelContext.js +0 -8
  30. package/lib/commonjs/components/Channel/hooks/useCreateChannelContext.js.map +1 -1
  31. package/lib/commonjs/components/Channel/hooks/useCreateInputMessageInputContext.js +3 -77
  32. package/lib/commonjs/components/Channel/hooks/useCreateInputMessageInputContext.js.map +1 -1
  33. package/lib/commonjs/components/Channel/hooks/useCreateMessagesContext.js +2 -134
  34. package/lib/commonjs/components/Channel/hooks/useCreateMessagesContext.js.map +1 -1
  35. package/lib/commonjs/components/ChannelList/ChannelList.js +1 -57
  36. package/lib/commonjs/components/ChannelList/ChannelList.js.map +1 -1
  37. package/lib/commonjs/components/ChannelList/ChannelListLoadingIndicator.js +4 -2
  38. package/lib/commonjs/components/ChannelList/ChannelListLoadingIndicator.js.map +1 -1
  39. package/lib/commonjs/components/ChannelList/ChannelListView.js +14 -23
  40. package/lib/commonjs/components/ChannelList/ChannelListView.js.map +1 -1
  41. package/lib/commonjs/components/ChannelList/hooks/useCreateChannelsContext.js +1 -39
  42. package/lib/commonjs/components/ChannelList/hooks/useCreateChannelsContext.js.map +1 -1
  43. package/lib/commonjs/components/ChannelPreview/ChannelDetailsBottomSheet.js +3 -2
  44. package/lib/commonjs/components/ChannelPreview/ChannelDetailsBottomSheet.js.map +1 -1
  45. package/lib/commonjs/components/ChannelPreview/ChannelPreview.js +6 -8
  46. package/lib/commonjs/components/ChannelPreview/ChannelPreview.js.map +1 -1
  47. package/lib/commonjs/components/ChannelPreview/ChannelPreviewMessage.js +12 -24
  48. package/lib/commonjs/components/ChannelPreview/ChannelPreviewMessage.js.map +1 -1
  49. package/lib/commonjs/components/ChannelPreview/ChannelPreviewView.js +15 -35
  50. package/lib/commonjs/components/ChannelPreview/ChannelPreviewView.js.map +1 -1
  51. package/lib/commonjs/components/ChannelPreview/ChannelSwipableWrapper.js +3 -3
  52. package/lib/commonjs/components/ChannelPreview/ChannelSwipableWrapper.js.map +1 -1
  53. package/lib/commonjs/components/Chat/Chat.js +4 -6
  54. package/lib/commonjs/components/Chat/Chat.js.map +1 -1
  55. package/lib/commonjs/components/Chat/hooks/useCreateChatContext.js +0 -2
  56. package/lib/commonjs/components/Chat/hooks/useCreateChatContext.js.map +1 -1
  57. package/lib/commonjs/components/ImageGallery/ImageGallery.js +7 -9
  58. package/lib/commonjs/components/ImageGallery/ImageGallery.js.map +1 -1
  59. package/lib/commonjs/components/ImageGallery/components/ImageGalleryFooter.js +4 -2
  60. package/lib/commonjs/components/ImageGallery/components/ImageGalleryFooter.js.map +1 -1
  61. package/lib/commonjs/components/Message/Message.js +9 -13
  62. package/lib/commonjs/components/Message/Message.js.map +1 -1
  63. package/lib/commonjs/components/Message/MessageItemView/MessageBubble.js +4 -2
  64. package/lib/commonjs/components/Message/MessageItemView/MessageBubble.js.map +1 -1
  65. package/lib/commonjs/components/Message/MessageItemView/MessageContent.js +18 -39
  66. package/lib/commonjs/components/Message/MessageItemView/MessageContent.js.map +1 -1
  67. package/lib/commonjs/components/Message/MessageItemView/MessageDeleted.js +5 -7
  68. package/lib/commonjs/components/Message/MessageItemView/MessageDeleted.js.map +1 -1
  69. package/lib/commonjs/components/Message/MessageItemView/MessageFooter.js +4 -8
  70. package/lib/commonjs/components/Message/MessageItemView/MessageFooter.js.map +1 -1
  71. package/lib/commonjs/components/Message/MessageItemView/MessageHeader.js +8 -16
  72. package/lib/commonjs/components/Message/MessageItemView/MessageHeader.js.map +1 -1
  73. package/lib/commonjs/components/Message/MessageItemView/MessageItemView.js +13 -35
  74. package/lib/commonjs/components/Message/MessageItemView/MessageItemView.js.map +1 -1
  75. package/lib/commonjs/components/Message/MessageItemView/MessageReplies.js +3 -5
  76. package/lib/commonjs/components/Message/MessageItemView/MessageReplies.js.map +1 -1
  77. package/lib/commonjs/components/Message/MessageItemView/MessageTextContainer.js +3 -3
  78. package/lib/commonjs/components/Message/MessageItemView/MessageTextContainer.js.map +1 -1
  79. package/lib/commonjs/components/Message/MessageItemView/MessageWrapper.js +6 -4
  80. package/lib/commonjs/components/Message/MessageItemView/MessageWrapper.js.map +1 -1
  81. package/lib/commonjs/components/Message/MessageItemView/ReactionList/ReactionListBottom.js +6 -8
  82. package/lib/commonjs/components/Message/MessageItemView/ReactionList/ReactionListBottom.js.map +1 -1
  83. package/lib/commonjs/components/Message/MessageItemView/ReactionList/ReactionListTop.js +7 -11
  84. package/lib/commonjs/components/Message/MessageItemView/ReactionList/ReactionListTop.js.map +1 -1
  85. package/lib/commonjs/components/MessageInput/MessageComposer.js +15 -55
  86. package/lib/commonjs/components/MessageInput/MessageComposer.js.map +1 -1
  87. package/lib/commonjs/components/MessageInput/MessageInputHeaderView.js +5 -5
  88. package/lib/commonjs/components/MessageInput/MessageInputHeaderView.js.map +1 -1
  89. package/lib/commonjs/components/MessageInput/components/AttachmentPreview/AttachmentUploadPreviewList.js +9 -17
  90. package/lib/commonjs/components/MessageInput/components/AttachmentPreview/AttachmentUploadPreviewList.js.map +1 -1
  91. package/lib/commonjs/components/MessageInput/components/AttachmentPreview/FileAttachmentUploadPreview.js +5 -5
  92. package/lib/commonjs/components/MessageInput/components/AttachmentPreview/FileAttachmentUploadPreview.js.map +1 -1
  93. package/lib/commonjs/components/MessageInput/components/AttachmentPreview/ImageAttachmentUploadPreview.js +5 -5
  94. package/lib/commonjs/components/MessageInput/components/AttachmentPreview/ImageAttachmentUploadPreview.js.map +1 -1
  95. package/lib/commonjs/components/MessageInput/components/AudioRecorder/AudioRecordingInProgress.js +5 -5
  96. package/lib/commonjs/components/MessageInput/components/AudioRecorder/AudioRecordingInProgress.js.map +1 -1
  97. package/lib/commonjs/components/MessageInput/components/InputButtons/index.js +4 -4
  98. package/lib/commonjs/components/MessageInput/components/InputButtons/index.js.map +1 -1
  99. package/lib/commonjs/components/MessageInput/components/LinkPreviewList.js +3 -2
  100. package/lib/commonjs/components/MessageInput/components/LinkPreviewList.js.map +1 -1
  101. package/lib/commonjs/components/MessageInput/components/OutputButtons/index.js +7 -13
  102. package/lib/commonjs/components/MessageInput/components/OutputButtons/index.js.map +1 -1
  103. package/lib/commonjs/components/MessageList/MessageFlashList.js +14 -40
  104. package/lib/commonjs/components/MessageList/MessageFlashList.js.map +1 -1
  105. package/lib/commonjs/components/MessageList/MessageList.js +12 -38
  106. package/lib/commonjs/components/MessageList/MessageList.js.map +1 -1
  107. package/lib/commonjs/components/MessageList/StickyHeader.js +3 -1
  108. package/lib/commonjs/components/MessageList/StickyHeader.js.map +1 -1
  109. package/lib/commonjs/components/MessageList/hooks/useMessageList.js +2 -35
  110. package/lib/commonjs/components/MessageList/hooks/useMessageList.js.map +1 -1
  111. package/lib/commonjs/components/MessageMenu/MessageActionList.js +4 -2
  112. package/lib/commonjs/components/MessageMenu/MessageActionList.js.map +1 -1
  113. package/lib/commonjs/components/MessageMenu/MessageMenu.js.map +1 -1
  114. package/lib/commonjs/components/MessageMenu/MessageUserReactions.js +4 -8
  115. package/lib/commonjs/components/MessageMenu/MessageUserReactions.js.map +1 -1
  116. package/lib/commonjs/components/MessageMenu/MessageUserReactionsItem.js +4 -2
  117. package/lib/commonjs/components/MessageMenu/MessageUserReactionsItem.js.map +1 -1
  118. package/lib/commonjs/components/Poll/CreatePollContent.js +3 -1
  119. package/lib/commonjs/components/Poll/CreatePollContent.js.map +1 -1
  120. package/lib/commonjs/components/Poll/Poll.js +12 -9
  121. package/lib/commonjs/components/Poll/Poll.js.map +1 -1
  122. package/lib/commonjs/components/Poll/components/PollAnswersList.js +5 -3
  123. package/lib/commonjs/components/Poll/components/PollAnswersList.js.map +1 -1
  124. package/lib/commonjs/components/Poll/components/PollOption.js +5 -3
  125. package/lib/commonjs/components/Poll/components/PollOption.js.map +1 -1
  126. package/lib/commonjs/components/Poll/components/PollResults/PollOptionFullResults.js +5 -5
  127. package/lib/commonjs/components/Poll/components/PollResults/PollOptionFullResults.js.map +1 -1
  128. package/lib/commonjs/components/Poll/components/PollResults/PollResults.js +5 -3
  129. package/lib/commonjs/components/Poll/components/PollResults/PollResults.js.map +1 -1
  130. package/lib/commonjs/components/Reply/Reply.js +4 -2
  131. package/lib/commonjs/components/Reply/Reply.js.map +1 -1
  132. package/lib/commonjs/components/Thread/Thread.js +4 -8
  133. package/lib/commonjs/components/Thread/Thread.js.map +1 -1
  134. package/lib/commonjs/components/Thread/components/ThreadFooterComponent.js +4 -6
  135. package/lib/commonjs/components/Thread/components/ThreadFooterComponent.js.map +1 -1
  136. package/lib/commonjs/components/ThreadList/ThreadList.js +12 -15
  137. package/lib/commonjs/components/ThreadList/ThreadList.js.map +1 -1
  138. package/lib/commonjs/components/ThreadList/ThreadListItem.js +8 -11
  139. package/lib/commonjs/components/ThreadList/ThreadListItem.js.map +1 -1
  140. package/lib/commonjs/components/ui/Avatar/Avatar.js +3 -3
  141. package/lib/commonjs/components/ui/Avatar/Avatar.js.map +1 -1
  142. package/lib/commonjs/contexts/attachmentPickerContext/AttachmentPickerContext.js.map +1 -1
  143. package/lib/commonjs/contexts/channelContext/ChannelContext.js.map +1 -1
  144. package/lib/commonjs/contexts/channelsContext/ChannelsContext.js.map +1 -1
  145. package/lib/commonjs/contexts/chatContext/ChatContext.js.map +1 -1
  146. package/lib/commonjs/contexts/componentsContext/ComponentsContext.js +37 -0
  147. package/lib/commonjs/contexts/componentsContext/ComponentsContext.js.map +1 -0
  148. package/lib/commonjs/contexts/componentsContext/PLAN.md +148 -0
  149. package/lib/commonjs/contexts/componentsContext/defaultComponents.js +287 -0
  150. package/lib/commonjs/contexts/componentsContext/defaultComponents.js.map +1 -0
  151. package/lib/commonjs/contexts/imageGalleryContext/ImageGalleryContext.js +1 -9
  152. package/lib/commonjs/contexts/imageGalleryContext/ImageGalleryContext.js.map +1 -1
  153. package/lib/commonjs/contexts/imageGalleryContext/ImageGalleryContextBase.js.map +1 -1
  154. package/lib/commonjs/contexts/index.js +11 -0
  155. package/lib/commonjs/contexts/index.js.map +1 -1
  156. package/lib/commonjs/contexts/messageInputContext/MessageInputContext.js.map +1 -1
  157. package/lib/commonjs/contexts/messageInputContext/hooks/useCreateMessageInputContext.js +2 -76
  158. package/lib/commonjs/contexts/messageInputContext/hooks/useCreateMessageInputContext.js.map +1 -1
  159. package/lib/commonjs/contexts/messagesContext/MessagesContext.js.map +1 -1
  160. package/lib/commonjs/contexts/overlayContext/MessageOverlayHostLayer.js +37 -27
  161. package/lib/commonjs/contexts/overlayContext/MessageOverlayHostLayer.js.map +1 -1
  162. package/lib/commonjs/contexts/overlayContext/OverlayContext.js.map +1 -1
  163. package/lib/commonjs/contexts/overlayContext/OverlayProvider.js +1 -4
  164. package/lib/commonjs/contexts/overlayContext/OverlayProvider.js.map +1 -1
  165. package/lib/commonjs/contexts/threadsContext/ThreadsContext.js.map +1 -1
  166. package/lib/commonjs/version.json +1 -1
  167. package/lib/module/components/Attachment/Attachment.js +15 -52
  168. package/lib/module/components/Attachment/Attachment.js.map +1 -1
  169. package/lib/module/components/Attachment/FileAttachment.js +4 -6
  170. package/lib/module/components/Attachment/FileAttachment.js.map +1 -1
  171. package/lib/module/components/Attachment/FileAttachmentGroup.js +4 -10
  172. package/lib/module/components/Attachment/FileAttachmentGroup.js.map +1 -1
  173. package/lib/module/components/Attachment/FilePreview.js +3 -6
  174. package/lib/module/components/Attachment/FilePreview.js.map +1 -1
  175. package/lib/module/components/Attachment/Gallery.js +9 -28
  176. package/lib/module/components/Attachment/Gallery.js.map +1 -1
  177. package/lib/module/components/Attachment/GalleryImage.js +3 -3
  178. package/lib/module/components/Attachment/GalleryImage.js.map +1 -1
  179. package/lib/module/components/Attachment/Giphy/GiphyImage.js +7 -13
  180. package/lib/module/components/Attachment/Giphy/GiphyImage.js.map +1 -1
  181. package/lib/module/components/Attachment/UnsupportedAttachment.js +4 -6
  182. package/lib/module/components/Attachment/UnsupportedAttachment.js.map +1 -1
  183. package/lib/module/components/Attachment/UrlPreview/URLPreview.js +3 -3
  184. package/lib/module/components/Attachment/UrlPreview/URLPreview.js.map +1 -1
  185. package/lib/module/components/Attachment/UrlPreview/URLPreviewCompact.js +3 -3
  186. package/lib/module/components/Attachment/UrlPreview/URLPreviewCompact.js.map +1 -1
  187. package/lib/module/components/AttachmentPicker/AttachmentPicker.js +4 -2
  188. package/lib/module/components/AttachmentPicker/AttachmentPicker.js.map +1 -1
  189. package/lib/module/components/AttachmentPicker/components/AttachmentMediaPicker/AttachmentPickerItem.js +7 -4
  190. package/lib/module/components/AttachmentPicker/components/AttachmentMediaPicker/AttachmentPickerItem.js.map +1 -1
  191. package/lib/module/components/AutoCompleteInput/AutoCompleteSuggestionList.js +9 -13
  192. package/lib/module/components/AutoCompleteInput/AutoCompleteSuggestionList.js.map +1 -1
  193. package/lib/module/components/Channel/Channel.js +9 -421
  194. package/lib/module/components/Channel/Channel.js.map +1 -1
  195. package/lib/module/components/Channel/hooks/useCreateChannelContext.js +0 -8
  196. package/lib/module/components/Channel/hooks/useCreateChannelContext.js.map +1 -1
  197. package/lib/module/components/Channel/hooks/useCreateInputMessageInputContext.js +3 -77
  198. package/lib/module/components/Channel/hooks/useCreateInputMessageInputContext.js.map +1 -1
  199. package/lib/module/components/Channel/hooks/useCreateMessagesContext.js +2 -134
  200. package/lib/module/components/Channel/hooks/useCreateMessagesContext.js.map +1 -1
  201. package/lib/module/components/ChannelList/ChannelList.js +1 -57
  202. package/lib/module/components/ChannelList/ChannelList.js.map +1 -1
  203. package/lib/module/components/ChannelList/ChannelListLoadingIndicator.js +4 -2
  204. package/lib/module/components/ChannelList/ChannelListLoadingIndicator.js.map +1 -1
  205. package/lib/module/components/ChannelList/ChannelListView.js +14 -23
  206. package/lib/module/components/ChannelList/ChannelListView.js.map +1 -1
  207. package/lib/module/components/ChannelList/hooks/useCreateChannelsContext.js +1 -39
  208. package/lib/module/components/ChannelList/hooks/useCreateChannelsContext.js.map +1 -1
  209. package/lib/module/components/ChannelPreview/ChannelDetailsBottomSheet.js +3 -2
  210. package/lib/module/components/ChannelPreview/ChannelDetailsBottomSheet.js.map +1 -1
  211. package/lib/module/components/ChannelPreview/ChannelPreview.js +6 -8
  212. package/lib/module/components/ChannelPreview/ChannelPreview.js.map +1 -1
  213. package/lib/module/components/ChannelPreview/ChannelPreviewMessage.js +12 -24
  214. package/lib/module/components/ChannelPreview/ChannelPreviewMessage.js.map +1 -1
  215. package/lib/module/components/ChannelPreview/ChannelPreviewView.js +15 -35
  216. package/lib/module/components/ChannelPreview/ChannelPreviewView.js.map +1 -1
  217. package/lib/module/components/ChannelPreview/ChannelSwipableWrapper.js +3 -3
  218. package/lib/module/components/ChannelPreview/ChannelSwipableWrapper.js.map +1 -1
  219. package/lib/module/components/Chat/Chat.js +4 -6
  220. package/lib/module/components/Chat/Chat.js.map +1 -1
  221. package/lib/module/components/Chat/hooks/useCreateChatContext.js +0 -2
  222. package/lib/module/components/Chat/hooks/useCreateChatContext.js.map +1 -1
  223. package/lib/module/components/ImageGallery/ImageGallery.js +7 -9
  224. package/lib/module/components/ImageGallery/ImageGallery.js.map +1 -1
  225. package/lib/module/components/ImageGallery/components/ImageGalleryFooter.js +4 -2
  226. package/lib/module/components/ImageGallery/components/ImageGalleryFooter.js.map +1 -1
  227. package/lib/module/components/Message/Message.js +9 -13
  228. package/lib/module/components/Message/Message.js.map +1 -1
  229. package/lib/module/components/Message/MessageItemView/MessageBubble.js +4 -2
  230. package/lib/module/components/Message/MessageItemView/MessageBubble.js.map +1 -1
  231. package/lib/module/components/Message/MessageItemView/MessageContent.js +18 -39
  232. package/lib/module/components/Message/MessageItemView/MessageContent.js.map +1 -1
  233. package/lib/module/components/Message/MessageItemView/MessageDeleted.js +5 -7
  234. package/lib/module/components/Message/MessageItemView/MessageDeleted.js.map +1 -1
  235. package/lib/module/components/Message/MessageItemView/MessageFooter.js +4 -8
  236. package/lib/module/components/Message/MessageItemView/MessageFooter.js.map +1 -1
  237. package/lib/module/components/Message/MessageItemView/MessageHeader.js +8 -16
  238. package/lib/module/components/Message/MessageItemView/MessageHeader.js.map +1 -1
  239. package/lib/module/components/Message/MessageItemView/MessageItemView.js +13 -35
  240. package/lib/module/components/Message/MessageItemView/MessageItemView.js.map +1 -1
  241. package/lib/module/components/Message/MessageItemView/MessageReplies.js +3 -5
  242. package/lib/module/components/Message/MessageItemView/MessageReplies.js.map +1 -1
  243. package/lib/module/components/Message/MessageItemView/MessageTextContainer.js +3 -3
  244. package/lib/module/components/Message/MessageItemView/MessageTextContainer.js.map +1 -1
  245. package/lib/module/components/Message/MessageItemView/MessageWrapper.js +6 -4
  246. package/lib/module/components/Message/MessageItemView/MessageWrapper.js.map +1 -1
  247. package/lib/module/components/Message/MessageItemView/ReactionList/ReactionListBottom.js +6 -8
  248. package/lib/module/components/Message/MessageItemView/ReactionList/ReactionListBottom.js.map +1 -1
  249. package/lib/module/components/Message/MessageItemView/ReactionList/ReactionListTop.js +7 -11
  250. package/lib/module/components/Message/MessageItemView/ReactionList/ReactionListTop.js.map +1 -1
  251. package/lib/module/components/MessageInput/MessageComposer.js +15 -55
  252. package/lib/module/components/MessageInput/MessageComposer.js.map +1 -1
  253. package/lib/module/components/MessageInput/MessageInputHeaderView.js +5 -5
  254. package/lib/module/components/MessageInput/MessageInputHeaderView.js.map +1 -1
  255. package/lib/module/components/MessageInput/components/AttachmentPreview/AttachmentUploadPreviewList.js +9 -17
  256. package/lib/module/components/MessageInput/components/AttachmentPreview/AttachmentUploadPreviewList.js.map +1 -1
  257. package/lib/module/components/MessageInput/components/AttachmentPreview/FileAttachmentUploadPreview.js +5 -5
  258. package/lib/module/components/MessageInput/components/AttachmentPreview/FileAttachmentUploadPreview.js.map +1 -1
  259. package/lib/module/components/MessageInput/components/AttachmentPreview/ImageAttachmentUploadPreview.js +5 -5
  260. package/lib/module/components/MessageInput/components/AttachmentPreview/ImageAttachmentUploadPreview.js.map +1 -1
  261. package/lib/module/components/MessageInput/components/AudioRecorder/AudioRecordingInProgress.js +5 -5
  262. package/lib/module/components/MessageInput/components/AudioRecorder/AudioRecordingInProgress.js.map +1 -1
  263. package/lib/module/components/MessageInput/components/InputButtons/index.js +4 -4
  264. package/lib/module/components/MessageInput/components/InputButtons/index.js.map +1 -1
  265. package/lib/module/components/MessageInput/components/LinkPreviewList.js +3 -2
  266. package/lib/module/components/MessageInput/components/LinkPreviewList.js.map +1 -1
  267. package/lib/module/components/MessageInput/components/OutputButtons/index.js +7 -13
  268. package/lib/module/components/MessageInput/components/OutputButtons/index.js.map +1 -1
  269. package/lib/module/components/MessageList/MessageFlashList.js +14 -40
  270. package/lib/module/components/MessageList/MessageFlashList.js.map +1 -1
  271. package/lib/module/components/MessageList/MessageList.js +12 -38
  272. package/lib/module/components/MessageList/MessageList.js.map +1 -1
  273. package/lib/module/components/MessageList/StickyHeader.js +3 -1
  274. package/lib/module/components/MessageList/StickyHeader.js.map +1 -1
  275. package/lib/module/components/MessageList/hooks/useMessageList.js +2 -35
  276. package/lib/module/components/MessageList/hooks/useMessageList.js.map +1 -1
  277. package/lib/module/components/MessageMenu/MessageActionList.js +4 -2
  278. package/lib/module/components/MessageMenu/MessageActionList.js.map +1 -1
  279. package/lib/module/components/MessageMenu/MessageMenu.js.map +1 -1
  280. package/lib/module/components/MessageMenu/MessageUserReactions.js +4 -8
  281. package/lib/module/components/MessageMenu/MessageUserReactions.js.map +1 -1
  282. package/lib/module/components/MessageMenu/MessageUserReactionsItem.js +4 -2
  283. package/lib/module/components/MessageMenu/MessageUserReactionsItem.js.map +1 -1
  284. package/lib/module/components/Poll/CreatePollContent.js +3 -1
  285. package/lib/module/components/Poll/CreatePollContent.js.map +1 -1
  286. package/lib/module/components/Poll/Poll.js +12 -9
  287. package/lib/module/components/Poll/Poll.js.map +1 -1
  288. package/lib/module/components/Poll/components/PollAnswersList.js +5 -3
  289. package/lib/module/components/Poll/components/PollAnswersList.js.map +1 -1
  290. package/lib/module/components/Poll/components/PollOption.js +5 -3
  291. package/lib/module/components/Poll/components/PollOption.js.map +1 -1
  292. package/lib/module/components/Poll/components/PollResults/PollOptionFullResults.js +5 -5
  293. package/lib/module/components/Poll/components/PollResults/PollOptionFullResults.js.map +1 -1
  294. package/lib/module/components/Poll/components/PollResults/PollResults.js +5 -3
  295. package/lib/module/components/Poll/components/PollResults/PollResults.js.map +1 -1
  296. package/lib/module/components/Reply/Reply.js +4 -2
  297. package/lib/module/components/Reply/Reply.js.map +1 -1
  298. package/lib/module/components/Thread/Thread.js +4 -8
  299. package/lib/module/components/Thread/Thread.js.map +1 -1
  300. package/lib/module/components/Thread/components/ThreadFooterComponent.js +4 -6
  301. package/lib/module/components/Thread/components/ThreadFooterComponent.js.map +1 -1
  302. package/lib/module/components/ThreadList/ThreadList.js +12 -15
  303. package/lib/module/components/ThreadList/ThreadList.js.map +1 -1
  304. package/lib/module/components/ThreadList/ThreadListItem.js +8 -11
  305. package/lib/module/components/ThreadList/ThreadListItem.js.map +1 -1
  306. package/lib/module/components/ui/Avatar/Avatar.js +3 -3
  307. package/lib/module/components/ui/Avatar/Avatar.js.map +1 -1
  308. package/lib/module/contexts/attachmentPickerContext/AttachmentPickerContext.js.map +1 -1
  309. package/lib/module/contexts/channelContext/ChannelContext.js.map +1 -1
  310. package/lib/module/contexts/channelsContext/ChannelsContext.js.map +1 -1
  311. package/lib/module/contexts/chatContext/ChatContext.js.map +1 -1
  312. package/lib/module/contexts/componentsContext/ComponentsContext.js +37 -0
  313. package/lib/module/contexts/componentsContext/ComponentsContext.js.map +1 -0
  314. package/lib/module/contexts/componentsContext/PLAN.md +148 -0
  315. package/lib/module/contexts/componentsContext/defaultComponents.js +287 -0
  316. package/lib/module/contexts/componentsContext/defaultComponents.js.map +1 -0
  317. package/lib/module/contexts/imageGalleryContext/ImageGalleryContext.js +1 -9
  318. package/lib/module/contexts/imageGalleryContext/ImageGalleryContext.js.map +1 -1
  319. package/lib/module/contexts/imageGalleryContext/ImageGalleryContextBase.js.map +1 -1
  320. package/lib/module/contexts/index.js +11 -0
  321. package/lib/module/contexts/index.js.map +1 -1
  322. package/lib/module/contexts/messageInputContext/MessageInputContext.js.map +1 -1
  323. package/lib/module/contexts/messageInputContext/hooks/useCreateMessageInputContext.js +2 -76
  324. package/lib/module/contexts/messageInputContext/hooks/useCreateMessageInputContext.js.map +1 -1
  325. package/lib/module/contexts/messagesContext/MessagesContext.js.map +1 -1
  326. package/lib/module/contexts/overlayContext/MessageOverlayHostLayer.js +37 -27
  327. package/lib/module/contexts/overlayContext/MessageOverlayHostLayer.js.map +1 -1
  328. package/lib/module/contexts/overlayContext/OverlayContext.js.map +1 -1
  329. package/lib/module/contexts/overlayContext/OverlayProvider.js +1 -4
  330. package/lib/module/contexts/overlayContext/OverlayProvider.js.map +1 -1
  331. package/lib/module/contexts/threadsContext/ThreadsContext.js.map +1 -1
  332. package/lib/module/version.json +1 -1
  333. package/lib/typescript/components/Attachment/Attachment.d.ts +1 -1
  334. package/lib/typescript/components/Attachment/Attachment.d.ts.map +1 -1
  335. package/lib/typescript/components/Attachment/FileAttachment.d.ts +1 -1
  336. package/lib/typescript/components/Attachment/FileAttachment.d.ts.map +1 -1
  337. package/lib/typescript/components/Attachment/FileAttachmentGroup.d.ts +1 -2
  338. package/lib/typescript/components/Attachment/FileAttachmentGroup.d.ts.map +1 -1
  339. package/lib/typescript/components/Attachment/FilePreview.d.ts +2 -3
  340. package/lib/typescript/components/Attachment/FilePreview.d.ts.map +1 -1
  341. package/lib/typescript/components/Attachment/Gallery.d.ts +1 -1
  342. package/lib/typescript/components/Attachment/Gallery.d.ts.map +1 -1
  343. package/lib/typescript/components/Attachment/GalleryImage.d.ts +3 -2
  344. package/lib/typescript/components/Attachment/GalleryImage.d.ts.map +1 -1
  345. package/lib/typescript/components/Attachment/Giphy/GiphyImage.d.ts +4 -2
  346. package/lib/typescript/components/Attachment/Giphy/GiphyImage.d.ts.map +1 -1
  347. package/lib/typescript/components/Attachment/UnsupportedAttachment.d.ts +2 -3
  348. package/lib/typescript/components/Attachment/UnsupportedAttachment.d.ts.map +1 -1
  349. package/lib/typescript/components/Attachment/UrlPreview/URLPreview.d.ts +4 -3
  350. package/lib/typescript/components/Attachment/UrlPreview/URLPreview.d.ts.map +1 -1
  351. package/lib/typescript/components/Attachment/UrlPreview/URLPreviewCompact.d.ts +4 -3
  352. package/lib/typescript/components/Attachment/UrlPreview/URLPreviewCompact.d.ts.map +1 -1
  353. package/lib/typescript/components/AttachmentPicker/AttachmentPicker.d.ts.map +1 -1
  354. package/lib/typescript/components/AttachmentPicker/components/AttachmentMediaPicker/AttachmentPickerItem.d.ts.map +1 -1
  355. package/lib/typescript/components/AutoCompleteInput/AutoCompleteSuggestionList.d.ts +2 -3
  356. package/lib/typescript/components/AutoCompleteInput/AutoCompleteSuggestionList.d.ts.map +1 -1
  357. package/lib/typescript/components/Channel/Channel.d.ts +3 -28
  358. package/lib/typescript/components/Channel/Channel.d.ts.map +1 -1
  359. package/lib/typescript/components/Channel/hooks/useCreateChannelContext.d.ts +1 -1
  360. package/lib/typescript/components/Channel/hooks/useCreateChannelContext.d.ts.map +1 -1
  361. package/lib/typescript/components/Channel/hooks/useCreateInputMessageInputContext.d.ts +1 -1
  362. package/lib/typescript/components/Channel/hooks/useCreateInputMessageInputContext.d.ts.map +1 -1
  363. package/lib/typescript/components/Channel/hooks/useCreateMessagesContext.d.ts +1 -1
  364. package/lib/typescript/components/Channel/hooks/useCreateMessagesContext.d.ts.map +1 -1
  365. package/lib/typescript/components/Channel/hooks/useMessageListPagination.d.ts.map +1 -1
  366. package/lib/typescript/components/ChannelList/ChannelList.d.ts +2 -10
  367. package/lib/typescript/components/ChannelList/ChannelList.d.ts.map +1 -1
  368. package/lib/typescript/components/ChannelList/ChannelListLoadingIndicator.d.ts.map +1 -1
  369. package/lib/typescript/components/ChannelList/ChannelListView.d.ts +1 -1
  370. package/lib/typescript/components/ChannelList/ChannelListView.d.ts.map +1 -1
  371. package/lib/typescript/components/ChannelList/hooks/useCreateChannelsContext.d.ts +1 -1
  372. package/lib/typescript/components/ChannelList/hooks/useCreateChannelsContext.d.ts.map +1 -1
  373. package/lib/typescript/components/ChannelPreview/ChannelDetailsBottomSheet.d.ts +1 -2
  374. package/lib/typescript/components/ChannelPreview/ChannelDetailsBottomSheet.d.ts.map +1 -1
  375. package/lib/typescript/components/ChannelPreview/ChannelPreview.d.ts +1 -1
  376. package/lib/typescript/components/ChannelPreview/ChannelPreview.d.ts.map +1 -1
  377. package/lib/typescript/components/ChannelPreview/ChannelPreviewMessage.d.ts +1 -2
  378. package/lib/typescript/components/ChannelPreview/ChannelPreviewMessage.d.ts.map +1 -1
  379. package/lib/typescript/components/ChannelPreview/ChannelPreviewView.d.ts +1 -1
  380. package/lib/typescript/components/ChannelPreview/ChannelPreviewView.d.ts.map +1 -1
  381. package/lib/typescript/components/ChannelPreview/ChannelSwipableWrapper.d.ts +1 -3
  382. package/lib/typescript/components/ChannelPreview/ChannelSwipableWrapper.d.ts.map +1 -1
  383. package/lib/typescript/components/Chat/Chat.d.ts +1 -7
  384. package/lib/typescript/components/Chat/Chat.d.ts.map +1 -1
  385. package/lib/typescript/components/Chat/hooks/useCreateChatContext.d.ts +1 -1
  386. package/lib/typescript/components/Chat/hooks/useCreateChatContext.d.ts.map +1 -1
  387. package/lib/typescript/components/ImageGallery/ImageGallery.d.ts +6 -1
  388. package/lib/typescript/components/ImageGallery/ImageGallery.d.ts.map +1 -1
  389. package/lib/typescript/components/ImageGallery/components/ImageGalleryFooter.d.ts.map +1 -1
  390. package/lib/typescript/components/ImageGallery/components/types.d.ts +0 -2
  391. package/lib/typescript/components/ImageGallery/components/types.d.ts.map +1 -1
  392. package/lib/typescript/components/Message/Message.d.ts +1 -1
  393. package/lib/typescript/components/Message/Message.d.ts.map +1 -1
  394. package/lib/typescript/components/Message/MessageItemView/MessageBubble.d.ts +1 -2
  395. package/lib/typescript/components/Message/MessageItemView/MessageBubble.d.ts.map +1 -1
  396. package/lib/typescript/components/Message/MessageItemView/MessageContent.d.ts +1 -1
  397. package/lib/typescript/components/Message/MessageItemView/MessageContent.d.ts.map +1 -1
  398. package/lib/typescript/components/Message/MessageItemView/MessageDeleted.d.ts +1 -2
  399. package/lib/typescript/components/Message/MessageItemView/MessageDeleted.d.ts.map +1 -1
  400. package/lib/typescript/components/Message/MessageItemView/MessageFooter.d.ts +0 -2
  401. package/lib/typescript/components/Message/MessageItemView/MessageFooter.d.ts.map +1 -1
  402. package/lib/typescript/components/Message/MessageItemView/MessageHeader.d.ts.map +1 -1
  403. package/lib/typescript/components/Message/MessageItemView/MessageItemView.d.ts +1 -1
  404. package/lib/typescript/components/Message/MessageItemView/MessageItemView.d.ts.map +1 -1
  405. package/lib/typescript/components/Message/MessageItemView/MessageReplies.d.ts +1 -2
  406. package/lib/typescript/components/Message/MessageItemView/MessageReplies.d.ts.map +1 -1
  407. package/lib/typescript/components/Message/MessageItemView/MessageTextContainer.d.ts +1 -1
  408. package/lib/typescript/components/Message/MessageItemView/MessageTextContainer.d.ts.map +1 -1
  409. package/lib/typescript/components/Message/MessageItemView/MessageWrapper.d.ts.map +1 -1
  410. package/lib/typescript/components/Message/MessageItemView/ReactionList/ReactionListBottom.d.ts +1 -1
  411. package/lib/typescript/components/Message/MessageItemView/ReactionList/ReactionListBottom.d.ts.map +1 -1
  412. package/lib/typescript/components/Message/MessageItemView/ReactionList/ReactionListTop.d.ts +1 -1
  413. package/lib/typescript/components/Message/MessageItemView/ReactionList/ReactionListTop.d.ts.map +1 -1
  414. package/lib/typescript/components/MessageInput/MessageComposer.d.ts +1 -2
  415. package/lib/typescript/components/MessageInput/MessageComposer.d.ts.map +1 -1
  416. package/lib/typescript/components/MessageInput/components/AttachmentPreview/AttachmentUploadPreviewList.d.ts +3 -4
  417. package/lib/typescript/components/MessageInput/components/AttachmentPreview/AttachmentUploadPreviewList.d.ts.map +1 -1
  418. package/lib/typescript/components/MessageInput/components/AudioRecorder/AudioRecordingInProgress.d.ts +1 -1
  419. package/lib/typescript/components/MessageInput/components/AudioRecorder/AudioRecordingInProgress.d.ts.map +1 -1
  420. package/lib/typescript/components/MessageInput/components/InputButtons/index.d.ts +1 -1
  421. package/lib/typescript/components/MessageInput/components/InputButtons/index.d.ts.map +1 -1
  422. package/lib/typescript/components/MessageInput/components/LinkPreviewList.d.ts.map +1 -1
  423. package/lib/typescript/components/MessageInput/components/OutputButtons/index.d.ts +1 -1
  424. package/lib/typescript/components/MessageInput/components/OutputButtons/index.d.ts.map +1 -1
  425. package/lib/typescript/components/MessageList/MessageFlashList.d.ts +1 -1
  426. package/lib/typescript/components/MessageList/MessageFlashList.d.ts.map +1 -1
  427. package/lib/typescript/components/MessageList/MessageList.d.ts +1 -1
  428. package/lib/typescript/components/MessageList/MessageList.d.ts.map +1 -1
  429. package/lib/typescript/components/MessageList/StickyHeader.d.ts +2 -3
  430. package/lib/typescript/components/MessageList/StickyHeader.d.ts.map +1 -1
  431. package/lib/typescript/components/MessageList/hooks/useMessageList.d.ts +0 -5
  432. package/lib/typescript/components/MessageList/hooks/useMessageList.d.ts.map +1 -1
  433. package/lib/typescript/components/MessageMenu/MessageActionList.d.ts +1 -2
  434. package/lib/typescript/components/MessageMenu/MessageActionList.d.ts.map +1 -1
  435. package/lib/typescript/components/MessageMenu/MessageMenu.d.ts +1 -2
  436. package/lib/typescript/components/MessageMenu/MessageMenu.d.ts.map +1 -1
  437. package/lib/typescript/components/MessageMenu/MessageUserReactions.d.ts +1 -1
  438. package/lib/typescript/components/MessageMenu/MessageUserReactions.d.ts.map +1 -1
  439. package/lib/typescript/components/MessageMenu/MessageUserReactionsItem.d.ts +2 -3
  440. package/lib/typescript/components/MessageMenu/MessageUserReactionsItem.d.ts.map +1 -1
  441. package/lib/typescript/components/Poll/CreatePollContent.d.ts +2 -2
  442. package/lib/typescript/components/Poll/CreatePollContent.d.ts.map +1 -1
  443. package/lib/typescript/components/Poll/Poll.d.ts +5 -8
  444. package/lib/typescript/components/Poll/Poll.d.ts.map +1 -1
  445. package/lib/typescript/components/Poll/components/PollAnswersList.d.ts +1 -2
  446. package/lib/typescript/components/Poll/components/PollAnswersList.d.ts.map +1 -1
  447. package/lib/typescript/components/Poll/components/PollOption.d.ts +1 -2
  448. package/lib/typescript/components/Poll/components/PollOption.d.ts.map +1 -1
  449. package/lib/typescript/components/Poll/components/PollResults/PollOptionFullResults.d.ts +1 -4
  450. package/lib/typescript/components/Poll/components/PollResults/PollOptionFullResults.d.ts.map +1 -1
  451. package/lib/typescript/components/Poll/components/PollResults/PollResults.d.ts +1 -2
  452. package/lib/typescript/components/Poll/components/PollResults/PollResults.d.ts.map +1 -1
  453. package/lib/typescript/components/Reply/Reply.d.ts +4 -3
  454. package/lib/typescript/components/Reply/Reply.d.ts.map +1 -1
  455. package/lib/typescript/components/Thread/Thread.d.ts +2 -8
  456. package/lib/typescript/components/Thread/Thread.d.ts.map +1 -1
  457. package/lib/typescript/components/Thread/components/ThreadFooterComponent.d.ts +1 -2
  458. package/lib/typescript/components/Thread/components/ThreadFooterComponent.d.ts.map +1 -1
  459. package/lib/typescript/components/ThreadList/ThreadList.d.ts +2 -3
  460. package/lib/typescript/components/ThreadList/ThreadList.d.ts.map +1 -1
  461. package/lib/typescript/components/ThreadList/ThreadListItem.d.ts.map +1 -1
  462. package/lib/typescript/contexts/attachmentPickerContext/AttachmentPickerContext.d.ts +0 -17
  463. package/lib/typescript/contexts/attachmentPickerContext/AttachmentPickerContext.d.ts.map +1 -1
  464. package/lib/typescript/contexts/channelContext/ChannelContext.d.ts +0 -23
  465. package/lib/typescript/contexts/channelContext/ChannelContext.d.ts.map +1 -1
  466. package/lib/typescript/contexts/channelsContext/ChannelsContext.d.ts +2 -113
  467. package/lib/typescript/contexts/channelsContext/ChannelsContext.d.ts.map +1 -1
  468. package/lib/typescript/contexts/chatContext/ChatContext.d.ts +0 -5
  469. package/lib/typescript/contexts/chatContext/ChatContext.d.ts.map +1 -1
  470. package/lib/typescript/contexts/componentsContext/ComponentsContext.d.ts +322 -0
  471. package/lib/typescript/contexts/componentsContext/ComponentsContext.d.ts.map +1 -0
  472. package/lib/typescript/contexts/componentsContext/defaultComponents.d.ts +298 -0
  473. package/lib/typescript/contexts/componentsContext/defaultComponents.d.ts.map +1 -0
  474. package/lib/typescript/contexts/imageGalleryContext/ImageGalleryContext.d.ts.map +1 -1
  475. package/lib/typescript/contexts/imageGalleryContext/ImageGalleryContextBase.d.ts +0 -5
  476. package/lib/typescript/contexts/imageGalleryContext/ImageGalleryContextBase.d.ts.map +1 -1
  477. package/lib/typescript/contexts/index.d.ts +1 -0
  478. package/lib/typescript/contexts/index.d.ts.map +1 -1
  479. package/lib/typescript/contexts/messageInputContext/MessageInputContext.d.ts +1 -169
  480. package/lib/typescript/contexts/messageInputContext/MessageInputContext.d.ts.map +1 -1
  481. package/lib/typescript/contexts/messageInputContext/hooks/useCreateMessageInputContext.d.ts +1 -1
  482. package/lib/typescript/contexts/messageInputContext/hooks/useCreateMessageInputContext.d.ts.map +1 -1
  483. package/lib/typescript/contexts/messagesContext/MessagesContext.d.ts +3 -340
  484. package/lib/typescript/contexts/messagesContext/MessagesContext.d.ts.map +1 -1
  485. package/lib/typescript/contexts/overlayContext/MessageOverlayHostLayer.d.ts +8 -4
  486. package/lib/typescript/contexts/overlayContext/MessageOverlayHostLayer.d.ts.map +1 -1
  487. package/lib/typescript/contexts/overlayContext/OverlayContext.d.ts +0 -4
  488. package/lib/typescript/contexts/overlayContext/OverlayContext.d.ts.map +1 -1
  489. package/lib/typescript/contexts/overlayContext/OverlayProvider.d.ts.map +1 -1
  490. package/lib/typescript/contexts/threadsContext/ThreadsContext.d.ts +0 -9
  491. package/lib/typescript/contexts/threadsContext/ThreadsContext.d.ts.map +1 -1
  492. package/package.json +1 -1
  493. package/src/__tests__/offline-support/offline-feature.js +64 -67
  494. package/src/components/Attachment/Attachment.tsx +7 -69
  495. package/src/components/Attachment/FileAttachment.tsx +4 -7
  496. package/src/components/Attachment/FileAttachmentGroup.tsx +9 -19
  497. package/src/components/Attachment/FilePreview.tsx +4 -9
  498. package/src/components/Attachment/Gallery.tsx +6 -83
  499. package/src/components/Attachment/GalleryImage.tsx +5 -4
  500. package/src/components/Attachment/Giphy/GiphyImage.tsx +15 -37
  501. package/src/components/Attachment/UnsupportedAttachment.tsx +5 -10
  502. package/src/components/Attachment/UrlPreview/URLPreview.tsx +6 -4
  503. package/src/components/Attachment/UrlPreview/URLPreviewCompact.tsx +6 -4
  504. package/src/components/AttachmentPicker/AttachmentPicker.tsx +2 -2
  505. package/src/components/AttachmentPicker/components/AttachmentMediaPicker/AttachmentPickerItem.tsx +5 -4
  506. package/src/components/AutoCompleteInput/AutoCompleteSuggestionList.tsx +4 -20
  507. package/src/components/Channel/Channel.tsx +31 -441
  508. package/src/components/Channel/__tests__/isAttachmentEqualHandler.test.js +12 -9
  509. package/src/components/Channel/hooks/useCreateChannelContext.ts +0 -8
  510. package/src/components/Channel/hooks/useCreateInputMessageInputContext.ts +1 -81
  511. package/src/components/Channel/hooks/useCreateMessagesContext.ts +0 -132
  512. package/src/components/ChannelList/ChannelList.tsx +3 -76
  513. package/src/components/ChannelList/ChannelListLoadingIndicator.tsx +3 -1
  514. package/src/components/ChannelList/ChannelListView.tsx +16 -36
  515. package/src/components/ChannelList/__tests__/ChannelList.test.js +173 -116
  516. package/src/components/ChannelList/__tests__/ChannelListView.test.js +64 -41
  517. package/src/components/ChannelList/hooks/useCreateChannelsContext.ts +0 -39
  518. package/src/components/ChannelPreview/ChannelDetailsBottomSheet.tsx +2 -2
  519. package/src/components/ChannelPreview/ChannelPreview.tsx +8 -16
  520. package/src/components/ChannelPreview/ChannelPreviewMessage.tsx +15 -38
  521. package/src/components/ChannelPreview/ChannelPreviewView.tsx +22 -47
  522. package/src/components/ChannelPreview/ChannelSwipableWrapper.tsx +2 -4
  523. package/src/components/ChannelPreview/__tests__/ChannelDetailsBottomSheet.test.tsx +16 -12
  524. package/src/components/ChannelPreview/__tests__/ChannelPreview.test.tsx +25 -24
  525. package/src/components/ChannelPreview/__tests__/ChannelSwipableWrapper.test.tsx +11 -6
  526. package/src/components/Chat/Chat.tsx +5 -12
  527. package/src/components/Chat/hooks/useCreateChatContext.ts +0 -2
  528. package/src/components/ImageGallery/ImageGallery.tsx +14 -16
  529. package/src/components/ImageGallery/__tests__/ImageGallery.test.tsx +0 -8
  530. package/src/components/ImageGallery/__tests__/ImageGalleryFooter.test.tsx +25 -21
  531. package/src/components/ImageGallery/components/ImageGalleryFooter.tsx +3 -1
  532. package/src/components/ImageGallery/components/types.ts +0 -3
  533. package/src/components/Message/Message.tsx +11 -32
  534. package/src/components/Message/MessageItemView/MessageBubble.tsx +11 -7
  535. package/src/components/Message/MessageItemView/MessageContent.tsx +14 -47
  536. package/src/components/Message/MessageItemView/MessageDeleted.tsx +3 -9
  537. package/src/components/Message/MessageItemView/MessageFooter.tsx +2 -14
  538. package/src/components/Message/MessageItemView/MessageHeader.tsx +11 -29
  539. package/src/components/Message/MessageItemView/MessageItemView.tsx +10 -42
  540. package/src/components/Message/MessageItemView/MessageReplies.tsx +2 -8
  541. package/src/components/Message/MessageItemView/MessageTextContainer.tsx +4 -8
  542. package/src/components/Message/MessageItemView/MessageWrapper.tsx +4 -9
  543. package/src/components/Message/MessageItemView/ReactionList/ReactionListBottom.tsx +4 -12
  544. package/src/components/Message/MessageItemView/ReactionList/ReactionListTop.tsx +4 -20
  545. package/src/components/Message/MessageItemView/__tests__/MessageContent.test.js +47 -30
  546. package/src/components/Message/MessageItemView/__tests__/MessageItemView.test.js +16 -7
  547. package/src/components/Message/MessageItemView/__tests__/MessageTextContainer.test.tsx +8 -4
  548. package/src/components/MessageInput/MessageComposer.tsx +16 -76
  549. package/src/components/MessageInput/MessageInputHeaderView.tsx +3 -3
  550. package/src/components/MessageInput/components/AttachmentPreview/AttachmentUploadPreviewList.tsx +7 -35
  551. package/src/components/MessageInput/components/AttachmentPreview/FileAttachmentUploadPreview.tsx +2 -2
  552. package/src/components/MessageInput/components/AttachmentPreview/ImageAttachmentUploadPreview.tsx +2 -2
  553. package/src/components/MessageInput/components/AudioRecorder/AudioRecordingInProgress.tsx +6 -4
  554. package/src/components/MessageInput/components/InputButtons/index.tsx +4 -5
  555. package/src/components/MessageInput/components/LinkPreviewList.tsx +3 -2
  556. package/src/components/MessageInput/components/OutputButtons/index.tsx +4 -23
  557. package/src/components/MessageList/MessageFlashList.tsx +13 -57
  558. package/src/components/MessageList/MessageList.tsx +15 -57
  559. package/src/components/MessageList/StickyHeader.tsx +4 -3
  560. package/src/components/MessageList/__tests__/MessageList.test.js +1 -130
  561. package/src/components/MessageList/hooks/useMessageList.ts +1 -41
  562. package/src/components/MessageMenu/MessageActionList.tsx +4 -3
  563. package/src/components/MessageMenu/MessageMenu.tsx +35 -47
  564. package/src/components/MessageMenu/MessageUserReactions.tsx +7 -27
  565. package/src/components/MessageMenu/MessageUserReactionsItem.tsx +3 -6
  566. package/src/components/MessageMenu/__tests__/MessageUserReactions.test.tsx +12 -11
  567. package/src/components/Poll/CreatePollContent.tsx +3 -4
  568. package/src/components/Poll/Poll.tsx +22 -24
  569. package/src/components/Poll/components/PollAnswersList.tsx +9 -11
  570. package/src/components/Poll/components/PollOption.tsx +9 -11
  571. package/src/components/Poll/components/PollResults/PollOptionFullResults.tsx +10 -11
  572. package/src/components/Poll/components/PollResults/PollResults.tsx +9 -15
  573. package/src/components/Reply/Reply.tsx +18 -5
  574. package/src/components/Thread/Thread.tsx +3 -18
  575. package/src/components/Thread/components/ThreadFooterComponent.tsx +10 -11
  576. package/src/components/ThreadList/ThreadList.tsx +14 -22
  577. package/src/components/ThreadList/ThreadListItem.tsx +6 -11
  578. package/src/components/ui/Avatar/Avatar.tsx +2 -2
  579. package/src/contexts/attachmentPickerContext/AttachmentPickerContext.tsx +0 -15
  580. package/src/contexts/channelContext/ChannelContext.tsx +0 -24
  581. package/src/contexts/channelsContext/ChannelsContext.tsx +2 -114
  582. package/src/contexts/chatContext/ChatContext.tsx +0 -5
  583. package/src/contexts/componentsContext/ComponentsContext.tsx +62 -0
  584. package/src/contexts/componentsContext/PLAN.md +148 -0
  585. package/src/contexts/componentsContext/__tests__/defaultComponents.test.ts +45 -0
  586. package/src/contexts/componentsContext/defaultComponents.ts +334 -0
  587. package/src/contexts/imageGalleryContext/ImageGalleryContext.tsx +0 -8
  588. package/src/contexts/imageGalleryContext/ImageGalleryContextBase.tsx +0 -10
  589. package/src/contexts/index.ts +1 -0
  590. package/src/contexts/messageInputContext/MessageInputContext.tsx +0 -185
  591. package/src/contexts/messageInputContext/hooks/useCreateMessageInputContext.ts +1 -75
  592. package/src/contexts/messagesContext/MessagesContext.tsx +3 -367
  593. package/src/contexts/overlayContext/MessageOverlayHostLayer.tsx +38 -20
  594. package/src/contexts/overlayContext/OverlayContext.tsx +0 -4
  595. package/src/contexts/overlayContext/OverlayProvider.tsx +1 -2
  596. package/src/contexts/overlayContext/__tests__/MessageOverlayHostLayer.test.tsx +80 -7
  597. package/src/contexts/threadsContext/ThreadsContext.tsx +0 -9
  598. package/src/version.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"ChannelDetailsBottomSheet.d.ts","sourceRoot":"","sources":["../../../../src/components/ChannelPreview/ChannelDetailsBottomSheet.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAEvC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAIlD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAY3C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,4CAA4C,CAAC;AAQpF,MAAM,MAAM,yBAAyB,GAAG;IAAE,OAAO,EAAE,OAAO,CAAA;CAAE,CAAC;AAE7D,MAAM,MAAM,8BAA8B,GAAG;IAC3C,uBAAuB,CAAC,EAAE,OAAO,CAAC,aAAa,CAAC,iBAAiB,CAAC,CAAC,CAAC;IACpE,OAAO,EAAE,OAAO,CAAC;IACjB,oBAAoB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,yBAAyB,CAAC,CAAC;IACtE,KAAK,EAAE,iBAAiB,EAAE,CAAC;CAC5B,CAAC;AAEF,eAAO,MAAM,oBAAoB,GAAI,aAAa,yBAAyB,sBAoC1E,CAAC;AAEF,eAAO,MAAM,qBAAqB,GAAI,UAAU;IAAE,IAAI,EAAE,iBAAiB,CAAA;CAAE,sBAuB1E,CAAC;AAQF,eAAO,MAAM,yBAAyB,GAAI,mGAKvC,8BAA8B,sBAchC,CAAC"}
1
+ {"version":3,"file":"ChannelDetailsBottomSheet.d.ts","sourceRoot":"","sources":["../../../../src/components/ChannelPreview/ChannelDetailsBottomSheet.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAEvC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAIlD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAa3C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,4CAA4C,CAAC;AAQpF,MAAM,MAAM,yBAAyB,GAAG;IAAE,OAAO,EAAE,OAAO,CAAA;CAAE,CAAC;AAE7D,MAAM,MAAM,8BAA8B,GAAG;IAC3C,uBAAuB,CAAC,EAAE,OAAO,CAAC,aAAa,CAAC,iBAAiB,CAAC,CAAC,CAAC;IACpE,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,iBAAiB,EAAE,CAAC;CAC5B,CAAC;AAEF,eAAO,MAAM,oBAAoB,GAAI,aAAa,yBAAyB,sBAoC1E,CAAC;AAEF,eAAO,MAAM,qBAAqB,GAAI,UAAU;IAAE,IAAI,EAAE,iBAAiB,CAAA;CAAE,sBAuB1E,CAAC;AAQF,eAAO,MAAM,yBAAyB,GAAI,8CAIvC,8BAA8B,sBAehC,CAAC"}
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import type { Channel } from 'stream-chat';
3
3
  import { ChannelsContextValue } from '../../contexts/channelsContext/ChannelsContext';
4
4
  import { ChatContextValue } from '../../contexts/chatContext/ChatContext';
5
- export type ChannelPreviewProps = Partial<Pick<ChatContextValue, 'client'>> & Partial<Pick<ChannelsContextValue, 'Preview' | 'forceUpdate'>> & {
5
+ export type ChannelPreviewProps = Partial<Pick<ChatContextValue, 'client'>> & Partial<Pick<ChannelsContextValue, 'forceUpdate'>> & {
6
6
  /**
7
7
  * Instance of Channel from stream-chat package.
8
8
  */
@@ -1 +1 @@
1
- {"version":3,"file":"ChannelPreview.d.ts","sourceRoot":"","sources":["../../../../src/components/ChannelPreview/ChannelPreview.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAK3C,OAAO,EACL,oBAAoB,EAErB,MAAM,gDAAgD,CAAC;AACxD,OAAO,EAAE,gBAAgB,EAAkB,MAAM,wCAAwC,CAAC;AAG1F,MAAM,MAAM,mBAAmB,GAAG,OAAO,CAAC,IAAI,CAAC,gBAAgB,EAAE,QAAQ,CAAC,CAAC,GACzE,OAAO,CAAC,IAAI,CAAC,oBAAoB,EAAE,SAAS,GAAG,aAAa,CAAC,CAAC,GAAG;IAC/D;;OAEG;IACH,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AAEJ,eAAO,MAAM,cAAc,GAAI,OAAO,mBAAmB,sBAiCxD,CAAC"}
1
+ {"version":3,"file":"ChannelPreview.d.ts","sourceRoot":"","sources":["../../../../src/components/ChannelPreview/ChannelPreview.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAK3C,OAAO,EACL,oBAAoB,EAErB,MAAM,gDAAgD,CAAC;AACxD,OAAO,EAAE,gBAAgB,EAAkB,MAAM,wCAAwC,CAAC;AAI1F,MAAM,MAAM,mBAAmB,GAAG,OAAO,CAAC,IAAI,CAAC,gBAAgB,EAAE,QAAQ,CAAC,CAAC,GACzE,OAAO,CAAC,IAAI,CAAC,oBAAoB,EAAE,aAAa,CAAC,CAAC,GAAG;IACnD;;OAEG;IACH,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AAEJ,eAAO,MAAM,cAAc,GAAI,OAAO,mBAAmB,sBAwBxD,CAAC"}
@@ -1,8 +1,7 @@
1
1
  import React from 'react';
2
2
  import { ChannelPreviewProps } from './ChannelPreview';
3
3
  import { LastMessageType } from './hooks/useChannelPreviewData';
4
- import { ChannelsContextValue } from '../../contexts/channelsContext/ChannelsContext';
5
- export type ChannelPreviewMessageProps = Pick<ChannelPreviewProps, 'channel'> & Partial<Pick<ChannelsContextValue, 'PreviewTypingIndicator' | 'PreviewMessageDeliveryStatus' | 'PreviewLastMessage'>> & {
4
+ export type ChannelPreviewMessageProps = Pick<ChannelPreviewProps, 'channel'> & {
6
5
  lastMessage?: LastMessageType;
7
6
  };
8
7
  export declare const ChannelPreviewMessage: (props: ChannelPreviewMessageProps) => React.JSX.Element;
@@ -1 +1 @@
1
- {"version":3,"file":"ChannelPreviewMessage.d.ts","sourceRoot":"","sources":["../../../../src/components/ChannelPreview/ChannelPreviewMessage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAKvC,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAGvD,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAOhE,OAAO,EACL,oBAAoB,EAErB,MAAM,gDAAgD,CAAC;AAUxD,MAAM,MAAM,0BAA0B,GAAG,IAAI,CAAC,mBAAmB,EAAE,SAAS,CAAC,GAC3E,OAAO,CACL,IAAI,CACF,oBAAoB,EACpB,wBAAwB,GAAG,8BAA8B,GAAG,oBAAoB,CACjF,CACF,GAAG;IACF,WAAW,CAAC,EAAE,eAAe,CAAC;CAC/B,CAAC;AAEJ,eAAO,MAAM,qBAAqB,GAAI,OAAO,0BAA0B,sBAuGtE,CAAC"}
1
+ {"version":3,"file":"ChannelPreviewMessage.d.ts","sourceRoot":"","sources":["../../../../src/components/ChannelPreview/ChannelPreviewMessage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAGvC,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAEvD,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAiBhE,MAAM,MAAM,0BAA0B,GAAG,IAAI,CAAC,mBAAmB,EAAE,SAAS,CAAC,GAAG;IAC9E,WAAW,CAAC,EAAE,eAAe,CAAC;CAC/B,CAAC;AAEF,eAAO,MAAM,qBAAqB,GAAI,OAAO,0BAA0B,sBA4FtE,CAAC"}
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import type { ChannelPreviewProps } from './ChannelPreview';
3
3
  import type { LastMessageType } from './hooks/useChannelPreviewData';
4
4
  import { ChannelsContextValue } from '../../contexts/channelsContext/ChannelsContext';
5
- export type ChannelPreviewViewPropsWithContext = Pick<ChannelPreviewProps, 'channel'> & Pick<ChannelsContextValue, 'maxUnreadCount' | 'onSelect' | 'PreviewAvatar' | 'PreviewMessage' | 'PreviewMutedStatus' | 'PreviewStatus' | 'PreviewTitle' | 'PreviewUnreadCount' | 'mutedStatusPosition'> & {
5
+ export type ChannelPreviewViewPropsWithContext = Pick<ChannelPreviewProps, 'channel'> & Pick<ChannelsContextValue, 'maxUnreadCount' | 'onSelect' | 'mutedStatusPosition'> & {
6
6
  /**
7
7
  * Formatter function for date of latest message.
8
8
  * @param date Message date
@@ -1 +1 @@
1
- {"version":3,"file":"ChannelPreviewView.d.ts","sourceRoot":"","sources":["../../../../src/components/ChannelPreview/ChannelPreviewView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAGvC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAO5D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAErE,OAAO,EACL,oBAAoB,EAErB,MAAM,gDAAgD,CAAC;AAOxD,MAAM,MAAM,kCAAkC,GAAG,IAAI,CAAC,mBAAmB,EAAE,SAAS,CAAC,GACnF,IAAI,CACF,oBAAoB,EAClB,gBAAgB,GAChB,UAAU,GACV,eAAe,GACf,gBAAgB,GAChB,oBAAoB,GACpB,eAAe,GACf,cAAc,GACd,oBAAoB,GACpB,qBAAqB,CACxB,GAAG;IACF;;;;;;;;OAQG;IACH,uBAAuB,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,MAAM,CAAC;IACjD,+BAA+B;IAC/B,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,+CAA+C;IAC/C,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,eAAe,CAAC;CAC/B,CAAC;AAkGJ,MAAM,MAAM,uBAAuB,GAAG,OAAO,CAAC,IAAI,CAAC,kCAAkC,EAAE,SAAS,CAAC,CAAC,GAChG,IAAI,CAAC,kCAAkC,EAAE,SAAS,CAAC,CAAC;AAMtD;;;GAGG;AACH,eAAO,MAAM,kBAAkB;YAAW,uBAAuB;;CA4BhE,CAAC"}
1
+ {"version":3,"file":"ChannelPreviewView.d.ts","sourceRoot":"","sources":["../../../../src/components/ChannelPreview/ChannelPreviewView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAGvC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAE5D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAErE,OAAO,EACL,oBAAoB,EAErB,MAAM,gDAAgD,CAAC;AAOxD,MAAM,MAAM,kCAAkC,GAAG,IAAI,CAAC,mBAAmB,EAAE,SAAS,CAAC,GACnF,IAAI,CAAC,oBAAoB,EAAE,gBAAgB,GAAG,UAAU,GAAG,qBAAqB,CAAC,GAAG;IAClF;;;;;;;;OAQG;IACH,uBAAuB,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,MAAM,CAAC;IACjD,+BAA+B;IAC/B,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,+CAA+C;IAC/C,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,eAAe,CAAC;CAC/B,CAAC;AAwGJ,MAAM,MAAM,uBAAuB,GAAG,OAAO,CAAC,IAAI,CAAC,kCAAkC,EAAE,SAAS,CAAC,CAAC,GAChG,IAAI,CAAC,kCAAkC,EAAE,SAAS,CAAC,CAAC;AAMtD;;;GAGG;AACH,eAAO,MAAM,kBAAkB;YAAW,uBAAuB;;CAahE,CAAC"}
@@ -1,12 +1,10 @@
1
1
  import React, { PropsWithChildren } from 'react';
2
2
  import type { Channel } from 'stream-chat';
3
- import type { ChannelDetailsBottomSheetProps } from './ChannelDetailsBottomSheet';
4
3
  import type { GetChannelActionItems } from '../ChannelList/hooks/useChannelActionItems';
5
4
  import { SwipableWrapperProps } from '../UIComponents/SwipableWrapper';
6
5
  export declare const OpenChannelDetailsButton: () => React.JSX.Element;
7
- export declare const ChannelSwipableWrapper: ({ channel, getChannelActionItems, ChannelDetailsBottomSheet: ChannelDetailsBottomSheetComponent, swipableProps: _swipableProps, children, }: PropsWithChildren<{
6
+ export declare const ChannelSwipableWrapper: ({ channel, getChannelActionItems, swipableProps: _swipableProps, children, }: PropsWithChildren<{
8
7
  channel: Channel;
9
- ChannelDetailsBottomSheet?: React.ComponentType<ChannelDetailsBottomSheetProps>;
10
8
  getChannelActionItems?: GetChannelActionItems;
11
9
  swipableProps?: SwipableWrapperProps["swipableProps"];
12
10
  }>) => React.JSX.Element;
@@ -1 +1 @@
1
- {"version":3,"file":"ChannelSwipableWrapper.d.ts","sourceRoot":"","sources":["../../../../src/components/ChannelPreview/ChannelSwipableWrapper.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,iBAAiB,EAAkC,MAAM,OAAO,CAAC;AAKjF,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAG3C,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,6BAA6B,CAAC;AAMlF,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,4CAA4C,CAAC;AAIxF,OAAO,EAIL,oBAAoB,EACrB,MAAM,iCAAiC,CAAC;AAEzC,eAAO,MAAM,wBAAwB,yBAKpC,CAAC;AAEF,eAAO,MAAM,sBAAsB,GAAI,6IAMpC,iBAAiB,CAAC;IACnB,OAAO,EAAE,OAAO,CAAC;IACjB,yBAAyB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,8BAA8B,CAAC,CAAC;IAChF,qBAAqB,CAAC,EAAE,qBAAqB,CAAC;IAC9C,aAAa,CAAC,EAAE,oBAAoB,CAAC,eAAe,CAAC,CAAC;CACvD,CAAC,sBAwFD,CAAC"}
1
+ {"version":3,"file":"ChannelSwipableWrapper.d.ts","sourceRoot":"","sources":["../../../../src/components/ChannelPreview/ChannelSwipableWrapper.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,iBAAiB,EAAkC,MAAM,OAAO,CAAC;AAKjF,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAQ3C,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,4CAA4C,CAAC;AAIxF,OAAO,EAIL,oBAAoB,EACrB,MAAM,iCAAiC,CAAC;AAEzC,eAAO,MAAM,wBAAwB,yBAKpC,CAAC;AAEF,eAAO,MAAM,sBAAsB,GAAI,8EAKpC,iBAAiB,CAAC;IACnB,OAAO,EAAE,OAAO,CAAC;IACjB,qBAAqB,CAAC,EAAE,qBAAqB,CAAC;IAC9C,aAAa,CAAC,EAAE,oBAAoB,CAAC,eAAe,CAAC,CAAC;CACvD,CAAC,sBAyFD,CAAC"}
@@ -3,7 +3,7 @@ import { ChatContextValue } from '../../contexts/chatContext/ChatContext';
3
3
  import { DeepPartial } from '../../contexts/themeContext/ThemeContext';
4
4
  import type { Theme } from '../../contexts/themeContext/utils/theme';
5
5
  import type { Streami18n } from '../../utils/i18n/Streami18n';
6
- export type ChatProps = Pick<ChatContextValue, 'client'> & Partial<Pick<ChatContextValue, 'ImageComponent' | 'isMessageAIGenerated'>> & {
6
+ export type ChatProps = Pick<ChatContextValue, 'client'> & Partial<Pick<ChatContextValue, 'isMessageAIGenerated'>> & {
7
7
  /**
8
8
  * When false, ws connection won't be disconnection upon backgrounding the app.
9
9
  * To receive push notifications, its necessary that user doesn't have active
@@ -67,12 +67,6 @@ export type ChatProps = Pick<ChatContextValue, 'client'> & Partial<Pick<ChatCont
67
67
  * ```
68
68
  */
69
69
  i18nInstance?: Streami18n;
70
- /**
71
- * Custom loading indicator component to be used to represent the loading state of the chat.
72
- *
73
- * This can be used during the phase when db is not initialised.
74
- */
75
- LoadingIndicator?: React.ComponentType | null;
76
70
  /**
77
71
  * You can pass the theme object to customize the styles of Chat components. You can check the default theme in [theme.ts](https://github.com/GetStream/stream-chat-react-native/blob/main/package/src/contexts/themeContext/utils/theme.ts)
78
72
  *
@@ -1 +1 @@
1
- {"version":3,"file":"Chat.d.ts","sourceRoot":"","sources":["../../../../src/components/Chat/Chat.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,iBAAiB,EAAgC,MAAM,OAAO,CAAC;AAW/E,OAAO,EAAE,gBAAgB,EAAgB,MAAM,wCAAwC,CAAC;AAExF,OAAO,EAAE,WAAW,EAA2B,MAAM,0CAA0C,CAAC;AAChG,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,yCAAyC,CAAC;AAYrE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AAK9D,MAAM,MAAM,SAAS,GAAG,IAAI,CAAC,gBAAgB,EAAE,QAAQ,CAAC,GACtD,OAAO,CAAC,IAAI,CAAC,gBAAgB,EAAE,gBAAgB,GAAG,sBAAs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C,EAAE,UAAU,CAAC;IAC1B;;;;;;;;;;;;;;;;;;;;;;;;;;;OA2BG;IACH,KAAK,CAAC,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;CAC5B,CAAC;AAqJJ;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,IAAI,GAAI,OAAO,iBAAiB,CAAC,SAAS,CAAC,sBAIvD,CAAC"}
@@ -1,3 +1,3 @@
1
1
  import type { ChatContextValue } from '../../../contexts/chatContext/ChatContext';
2
- export declare const useCreateChatContext: ({ appSettings, channel, client, connectionRecovering, enableOfflineSupport, ImageComponent, isMessageAIGenerated, isOnline, mutedUsers, setActiveChannel, }: ChatContextValue) => ChatContextValue;
2
+ export declare const useCreateChatContext: ({ appSettings, channel, client, connectionRecovering, enableOfflineSupport, isMessageAIGenerated, isOnline, mutedUsers, setActiveChannel, }: ChatContextValue) => ChatContextValue;
3
3
  //# sourceMappingURL=useCreateChatContext.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useCreateChatContext.d.ts","sourceRoot":"","sources":["../../../../../src/components/Chat/hooks/useCreateChatContext.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,2CAA2C,CAAC;AAElF,eAAO,MAAM,oBAAoB,GAAI,6JAWlC,gBAAgB,qBA2BlB,CAAC"}
1
+ {"version":3,"file":"useCreateChatContext.d.ts","sourceRoot":"","sources":["../../../../../src/components/Chat/hooks/useCreateChatContext.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,2CAA2C,CAAC;AAElF,eAAO,MAAM,oBAAoB,GAAI,6IAUlC,gBAAgB,qBA0BlB,CAAC"}
@@ -1,4 +1,5 @@
1
1
  import React from 'react';
2
+ import type { ImageGalleryFooterProps, ImageGalleryGridProps, ImageGalleryHeaderProps } from './components/types';
2
3
  import { ImageGalleryProviderProps } from '../../contexts/imageGalleryContext/ImageGalleryContext';
3
4
  import { OverlayContextValue } from '../../contexts/overlayContext/OverlayContext';
4
5
  import { IconProps } from '../../icons/utils/base';
@@ -19,7 +20,11 @@ export declare enum IsSwiping {
19
20
  TRUE = 1,
20
21
  FALSE = 2
21
22
  }
22
- type ImageGalleryWithContextProps = Pick<ImageGalleryProviderProps, 'numberOfImageGalleryGridColumns' | 'ImageGalleryHeader' | 'ImageGalleryFooter' | 'ImageGalleryVideoControls' | 'ImageGalleryGrid'> & Pick<OverlayContextValue, 'overlayOpacity'>;
23
+ type ImageGalleryWithContextProps = Pick<ImageGalleryProviderProps, 'numberOfImageGalleryGridColumns'> & Pick<OverlayContextValue, 'overlayOpacity'> & {
24
+ ImageGalleryHeader?: React.ComponentType<ImageGalleryHeaderProps>;
25
+ ImageGalleryFooter?: React.ComponentType<ImageGalleryFooterProps>;
26
+ ImageGalleryGrid?: React.ComponentType<ImageGalleryGridProps>;
27
+ };
23
28
  export declare const ImageGalleryWithContext: (props: ImageGalleryWithContextProps) => React.JSX.Element;
24
29
  export type ImageGalleryProps = Partial<ImageGalleryWithContextProps>;
25
30
  export declare const ImageGallery: {
@@ -1 +1 @@
1
- {"version":3,"file":"ImageGallery.d.ts","sourceRoot":"","sources":["../../../../src/components/ImageGallery/ImageGallery.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA2C,MAAM,OAAO,CAAC;AAkBhE,OAAO,EACL,yBAAyB,EAE1B,MAAM,wDAAwD,CAAC;AAChE,OAAO,EACL,mBAAmB,EAEpB,MAAM,8CAA8C,CAAC;AAItD,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAMnD,MAAM,MAAM,yBAAyB,GAAG,MAAM,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC;AAEnE,MAAM,MAAM,sBAAsB,GAAG;IACnC,MAAM,EAAE,yBAAyB,CAAC;IAClC,IAAI,EAAE,KAAK,CAAC,aAAa,CAAC,SAAS,CAAC,CAAC;IACrC,EAAE,EAAE,YAAY,GAAG,MAAM,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM,CAAC;IACxD,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,aAAa,GAAG,UAAU,CAAC;CAClC,CAAC;AAIF,oBAAY,UAAU;IACpB,KAAK,IAAI;IACT,IAAI,IAAA;CACL;AAED,oBAAY,SAAS;IACnB,YAAY,IAAI;IAChB,IAAI,IAAA;IACJ,KAAK,IAAA;CACN;AAOD,KAAK,4BAA4B,GAAG,IAAI,CACtC,yBAAyB,EACvB,iCAAiC,GACjC,oBAAoB,GACpB,oBAAoB,GACpB,2BAA2B,GAC3B,kBAAkB,CACrB,GACC,IAAI,CAAC,mBAAmB,EAAE,gBAAgB,CAAC,CAAC;AAE9C,eAAO,MAAM,uBAAuB,GAAI,OAAO,4BAA4B,sBAsS1E,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG,OAAO,CAAC,4BAA4B,CAAC,CAAC;AAEtE,eAAO,MAAM,YAAY;YAAW,iBAAiB;;CAoBpD,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,KAAK,GAAI,OAAO,MAAM,EAAE,YAAY,MAAM,EAAE,YAAY,MAAM,WAG1E,CAAC"}
1
+ {"version":3,"file":"ImageGallery.d.ts","sourceRoot":"","sources":["../../../../src/components/ImageGallery/ImageGallery.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA2C,MAAM,OAAO,CAAC;AAehE,OAAO,KAAK,EACV,uBAAuB,EACvB,qBAAqB,EACrB,uBAAuB,EACxB,MAAM,oBAAoB,CAAC;AAK5B,OAAO,EACL,yBAAyB,EAE1B,MAAM,wDAAwD,CAAC;AAChE,OAAO,EACL,mBAAmB,EAEpB,MAAM,8CAA8C,CAAC;AAItD,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAMnD,MAAM,MAAM,yBAAyB,GAAG,MAAM,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC;AAEnE,MAAM,MAAM,sBAAsB,GAAG;IACnC,MAAM,EAAE,yBAAyB,CAAC;IAClC,IAAI,EAAE,KAAK,CAAC,aAAa,CAAC,SAAS,CAAC,CAAC;IACrC,EAAE,EAAE,YAAY,GAAG,MAAM,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM,CAAC;IACxD,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,aAAa,GAAG,UAAU,CAAC;CAClC,CAAC;AAIF,oBAAY,UAAU;IACpB,KAAK,IAAI;IACT,IAAI,IAAA;CACL;AAED,oBAAY,SAAS;IACnB,YAAY,IAAI;IAChB,IAAI,IAAA;IACJ,KAAK,IAAA;CACN;AAOD,KAAK,4BAA4B,GAAG,IAAI,CACtC,yBAAyB,EACzB,iCAAiC,CAClC,GACC,IAAI,CAAC,mBAAmB,EAAE,gBAAgB,CAAC,GAAG;IAC5C,kBAAkB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,uBAAuB,CAAC,CAAC;IAClE,kBAAkB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,uBAAuB,CAAC,CAAC;IAClE,gBAAgB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,qBAAqB,CAAC,CAAC;CAC/D,CAAC;AAEJ,eAAO,MAAM,uBAAuB,GAAI,OAAO,4BAA4B,sBAoS1E,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG,OAAO,CAAC,4BAA4B,CAAC,CAAC;AAEtE,eAAO,MAAM,YAAY;YAAW,iBAAiB;;CAcpD,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,KAAK,GAAI,OAAO,MAAM,EAAE,YAAY,MAAM,EAAE,YAAY,MAAM,WAG1E,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ImageGalleryFooter.d.ts","sourceRoot":"","sources":["../../../../../src/components/ImageGallery/components/ImageGalleryFooter.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoC,MAAM,OAAO,CAAC;AAIzD,OAAO,KAAK,EAAE,uBAAuB,EAAE,6BAA6B,EAAE,MAAM,SAAS,CAAC;AAoBtF,MAAM,MAAM,iCAAiC,GAAG,CAAC,EAC/C,YAAY,EACZ,KAAK,EACL,aAAa,GACd,EAAE;IACD,YAAY,EAAE,MAAM,IAAI,CAAC;IACzB,KAAK,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAC3B,aAAa,EAAE,OAAO,CAAC;CACxB,KAAK,KAAK,CAAC,YAAY,GAAG,IAAI,CAAC;AAEhC,MAAM,MAAM,iCAAiC,GAAG,CAAC,EAC/C,YAAY,GACb,EAAE,6BAA6B,KAAK,KAAK,CAAC,YAAY,GAAG,IAAI,CAAC;AAO/D,eAAO,MAAM,6BAA6B,GAAI,OAAO,uBAAuB,6BAuG3E,CAAC;AAmCF,eAAO,MAAM,kBAAkB;YAAW,uBAAuB;;CAEhE,CAAC"}
1
+ {"version":3,"file":"ImageGalleryFooter.d.ts","sourceRoot":"","sources":["../../../../../src/components/ImageGallery/components/ImageGalleryFooter.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoC,MAAM,OAAO,CAAC;AAIzD,OAAO,KAAK,EAAE,uBAAuB,EAAE,6BAA6B,EAAE,MAAM,SAAS,CAAC;AAqBtF,MAAM,MAAM,iCAAiC,GAAG,CAAC,EAC/C,YAAY,EACZ,KAAK,EACL,aAAa,GACd,EAAE;IACD,YAAY,EAAE,MAAM,IAAI,CAAC;IACzB,KAAK,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAC3B,aAAa,EAAE,OAAO,CAAC;CACxB,KAAK,KAAK,CAAC,YAAY,GAAG,IAAI,CAAC;AAEhC,MAAM,MAAM,iCAAiC,GAAG,CAAC,EAC/C,YAAY,GACb,EAAE,6BAA6B,KAAK,KAAK,CAAC,YAAY,GAAG,IAAI,CAAC;AAO/D,eAAO,MAAM,6BAA6B,GAAI,OAAO,uBAAuB,6BAwG3E,CAAC;AAmCF,eAAO,MAAM,kBAAkB;YAAW,uBAAuB;;CAEhE,CAAC"}
@@ -1,4 +1,3 @@
1
- import type React from 'react';
2
1
  import type { SharedValue } from 'react-native-reanimated';
3
2
  export type ImageGalleryVideoControlProps = {
4
3
  attachmentId: string;
@@ -9,7 +8,6 @@ export type ImageGalleryHeaderProps = {
9
8
  };
10
9
  export type ImageGalleryFooterProps = {
11
10
  accessibilityLabel: string;
12
- ImageGalleryVideoControls?: React.ComponentType<ImageGalleryVideoControlProps>;
13
11
  opacity: SharedValue<number>;
14
12
  openGridView: () => void;
15
13
  visible: SharedValue<number>;
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/ImageGallery/components/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAE3D,MAAM,MAAM,6BAA6B,GAAG;IAC1C,YAAY,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAAG;IACpC,OAAO,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAC7B,OAAO,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;CAC9B,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAAG;IACpC,kBAAkB,EAAE,MAAM,CAAC;IAC3B,yBAAyB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,6BAA6B,CAAC,CAAC;IAC/E,OAAO,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAC7B,YAAY,EAAE,MAAM,IAAI,CAAC;IACzB,OAAO,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;CAC9B,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG;IAClC,aAAa,EAAE,MAAM,IAAI,CAAC;IAC1B,+BAA+B,CAAC,EAAE,MAAM,CAAC;CAC1C,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/ImageGallery/components/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAE3D,MAAM,MAAM,6BAA6B,GAAG;IAC1C,YAAY,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAAG;IACpC,OAAO,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAC7B,OAAO,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;CAC9B,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAAG;IACpC,kBAAkB,EAAE,MAAM,CAAC;IAC3B,OAAO,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAC7B,YAAY,EAAE,MAAM,IAAI,CAAC;IACzB,OAAO,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;CAC9B,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG;IAClC,aAAa,EAAE,MAAM,IAAI,CAAC;IAC1B,+BAA+B,CAAC,EAAE,MAAM,CAAC;CAC1C,CAAC"}
@@ -75,7 +75,7 @@ export type MessageActionHandlers = {
75
75
  unpinMessage: () => Promise<void>;
76
76
  threadReply?: (message: LocalMessage) => Promise<void>;
77
77
  };
78
- export type MessagePropsWithContext = Pick<ChannelContextValue, 'channel' | 'enforceUniqueReaction' | 'members'> & Pick<KeyboardContextValue, 'dismissKeyboard'> & Partial<Omit<MessageContextValue, 'groupStyles' | 'handleReaction' | 'message' | 'isMessageAIGenerated' | 'deliveredToCount' | 'readBy'>> & Pick<MessageContextValue, 'groupStyles' | 'message' | 'isMessageAIGenerated' | 'readBy' | 'deliveredToCount'> & Pick<MessagesContextValue, 'sendReaction' | 'deleteMessage' | 'dismissKeyboardOnMessageTouch' | 'forceAlignMessages' | 'handleBan' | 'handleCopy' | 'handleDelete' | 'handleDeleteForMe' | 'handleEdit' | 'handleFlag' | 'handleMarkUnread' | 'handleMute' | 'handlePinMessage' | 'handleQuotedReply' | 'handleReaction' | 'handleRetry' | 'handleThreadReply' | 'handleBlockUser' | 'isAttachmentEqual' | 'MessageMenu' | 'messageActions' | 'messageContentOrder' | 'MessageBounce' | 'MessageBlocked' | 'MessageItemView' | 'onLongPressMessage' | 'onPressInMessage' | 'onPressMessage' | 'removeMessage' | 'deleteReaction' | 'retrySendMessage' | 'selectReaction' | 'supportedReactions' | 'updateMessage' | 'PollContent' | 'MessageUserReactions' | 'MessageUserReactionsAvatar' | 'MessageUserReactionsItem' | 'MessageReactionPicker' | 'MessageActionList' | 'MessageActionListItem'> & Pick<ThreadContextValue, 'openThread'> & Pick<TranslationContextValue, 't'> & {
78
+ export type MessagePropsWithContext = Pick<ChannelContextValue, 'channel' | 'enforceUniqueReaction' | 'members'> & Pick<KeyboardContextValue, 'dismissKeyboard'> & Partial<Omit<MessageContextValue, 'groupStyles' | 'handleReaction' | 'message' | 'isMessageAIGenerated' | 'deliveredToCount' | 'readBy'>> & Pick<MessageContextValue, 'groupStyles' | 'message' | 'isMessageAIGenerated' | 'readBy' | 'deliveredToCount'> & Pick<MessagesContextValue, 'sendReaction' | 'deleteMessage' | 'dismissKeyboardOnMessageTouch' | 'forceAlignMessages' | 'handleBan' | 'handleCopy' | 'handleDelete' | 'handleDeleteForMe' | 'handleEdit' | 'handleFlag' | 'handleMarkUnread' | 'handleMute' | 'handlePinMessage' | 'handleQuotedReply' | 'handleReaction' | 'handleRetry' | 'handleThreadReply' | 'handleBlockUser' | 'isAttachmentEqual' | 'messageActions' | 'messageContentOrder' | 'onLongPressMessage' | 'onPressInMessage' | 'onPressMessage' | 'removeMessage' | 'deleteReaction' | 'retrySendMessage' | 'selectReaction' | 'supportedReactions' | 'updateMessage'> & Pick<ThreadContextValue, 'openThread'> & Pick<TranslationContextValue, 't'> & {
79
79
  chatContext: ChatContextValue;
80
80
  messagesContext: MessagesContextValue;
81
81
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"Message.d.ts","sourceRoot":"","sources":["../../../../src/components/Message/Message.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+C,MAAM,OAAO,CAAC;AACpE,OAAO,EACL,qBAAqB,EAErB,SAAS,EAGT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,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IAC1C,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B;;;;OAIG;IACH,cAAc,CAAC,EAAE,CAAC,OAAO,EAAE,YAAY,KAAK,IAAI,CAAC;IACjD,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B,GAAG,IAAI,CAAC,8BAA8B,EAAE,kBAAkB,GAAG,iBAAiB,CAAC,CAAC;AAk0BnF,MAAM,MAAM,YAAY,GAAG,OAAO,CAChC,IAAI,CAAC,uBAAuB,EAAE,aAAa,GAAG,gBAAgB,GAAG,SAAS,CAAC,CAC5E,GACC,IAAI,CAAC,uBAAuB,EAAE,aAAa,GAAG,SAAS,CAAC,CAAC;AAE3D;;;;;GAKG;AACH,eAAO,MAAM,OAAO,GAAI,OAAO,YAAY,sBAgC1C,CAAC"}
@@ -1,7 +1,6 @@
1
1
  import React, { ReactNode } from 'react';
2
2
  import { MessageItemViewPropsWithContext } from './MessageItemView';
3
- import { MessagesContextValue } from '../../../contexts';
4
- type SwipableMessageWrapperProps = Pick<MessagesContextValue, 'MessageSwipeContent'> & Pick<MessageItemViewPropsWithContext, 'messageSwipeToReplyHitSlop'> & {
3
+ type SwipableMessageWrapperProps = Pick<MessageItemViewPropsWithContext, 'messageSwipeToReplyHitSlop'> & {
5
4
  children: ReactNode;
6
5
  onSwipe: () => void;
7
6
  };
@@ -1 +1 @@
1
- {"version":3,"file":"MessageBubble.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/MessageItemView/MessageBubble.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAqB,MAAM,OAAO,CAAC;AAY5D,OAAO,EAAE,+BAA+B,EAAE,MAAM,mBAAmB,CAAC;AAEpE,OAAO,EAAE,oBAAoB,EAAY,MAAM,mBAAmB,CAAC;AAMnE,KAAK,2BAA2B,GAAG,IAAI,CAAC,oBAAoB,EAAE,qBAAqB,CAAC,GAClF,IAAI,CAAC,+BAA+B,EAAE,4BAA4B,CAAC,GAAG;IACpE,QAAQ,EAAE,SAAS,CAAC;IACpB,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB,CAAC;AAEJ,eAAO,MAAM,sBAAsB,oCAAsB,2BAA2B,uBA4GlF,CAAC"}
1
+ {"version":3,"file":"MessageBubble.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/MessageItemView/MessageBubble.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAqB,MAAM,OAAO,CAAC;AAY5D,OAAO,EAAE,+BAA+B,EAAE,MAAM,mBAAmB,CAAC;AASpE,KAAK,2BAA2B,GAAG,IAAI,CACrC,+BAA+B,EAC/B,4BAA4B,CAC7B,GAAG;IACF,QAAQ,EAAE,SAAS,CAAC;IACpB,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB,CAAC;AAEF,eAAO,MAAM,sBAAsB,oCAAsB,2BAA2B,uBA6GlF,CAAC"}
@@ -3,7 +3,7 @@ import { ColorValue } from 'react-native';
3
3
  import { MessageContextValue } from '../../../contexts/messageContext/MessageContext';
4
4
  import { MessagesContextValue } from '../../../contexts/messagesContext/MessagesContext';
5
5
  import { TranslationContextValue } from '../../../contexts/translationContext/TranslationContext';
6
- export type MessageContentPropsWithContext = Pick<MessageContextValue, 'alignment' | 'goToMessage' | 'groupStyles' | 'isMyMessage' | 'message' | 'messageContentOrder' | 'onLongPress' | 'onPress' | 'onPressIn' | 'otherAttachments' | 'preventPress' | 'threadList' | 'isMessageAIGenerated'> & Pick<MessagesContextValue, 'additionalPressableProps' | 'Attachment' | 'enableMessageGroupingByUser' | 'FileAttachmentGroup' | 'Gallery' | 'isAttachmentEqual' | 'MessageContentBottomView' | 'MessageContentLeadingView' | 'MessageLocation' | 'MessageContentTrailingView' | 'MessageContentTopView' | 'myMessageTheme' | 'Reply' | 'StreamingMessageView'> & Pick<TranslationContextValue, 't'> & {
6
+ export type MessageContentPropsWithContext = Pick<MessageContextValue, 'alignment' | 'goToMessage' | 'groupStyles' | 'isMyMessage' | 'message' | 'messageContentOrder' | 'onLongPress' | 'onPress' | 'onPressIn' | 'otherAttachments' | 'preventPress' | 'threadList' | 'isMessageAIGenerated'> & Pick<MessagesContextValue, 'additionalPressableProps' | 'enableMessageGroupingByUser' | 'isAttachmentEqual' | 'myMessageTheme'> & Pick<TranslationContextValue, 't'> & {
7
7
  /**
8
8
  * Background color for the message content
9
9
  */
@@ -1 +1 @@
1
- {"version":3,"file":"MessageContent.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/MessageItemView/MessageContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AACvC,OAAO,EAA0B,UAAU,EAA+B,MAAM,cAAc,CAAC;AAK/F,OAAO,EACL,mBAAmB,EAEpB,MAAM,iDAAiD,CAAC;AAEzD,OAAO,EACL,oBAAoB,EAErB,MAAM,mDAAmD,CAAC;AAE3D,OAAO,EACL,uBAAuB,EAExB,MAAM,yDAAyD,CAAC;AA+BjE,MAAM,MAAM,8BAA8B,GAAG,IAAI,CAC/C,mBAAmB,EACjB,WAAW,GACX,aAAa,GACb,aAAa,GACb,aAAa,GACb,SAAS,GACT,qBAAqB,GACrB,aAAa,GACb,SAAS,GACT,WAAW,GACX,kBAAkB,GAClB,cAAc,GACd,YAAY,GACZ,sBAAsB,CACzB,GACC,IAAI,CACF,oBAAoB,EAClB,0BAA0B,GAC1B,YAAY,GACZ,6BAA6B,GAC7B,qBAAqB,GACrB,SAAS,GACT,mBAAmB,GACnB,0BAA0B,GAC1B,2BAA2B,GAC3B,iBAAiB,GACjB,4BAA4B,GAC5B,uBAAuB,GACvB,gBAAgB,GAChB,OAAO,GACP,sBAAsB,CACzB,GACD,IAAI,CAAC,uBAAuB,EAAE,GAAG,CAAC,GAAG;IACnC;;OAEG;IACH,eAAe,CAAC,EAAE,UAAU,CAAC;IAC7B;;OAEG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,4BAA4B,CAAC,EAAE,OAAO,CAAC;IAEvC;;OAEG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC7B,CAAC;AA0cJ,MAAM,MAAM,mBAAmB,GAAG,OAAO,CAAC,8BAA8B,CAAC,CAAC;AAE1E;;GAEG;AACH,eAAO,MAAM,cAAc,GAAI,OAAO,mBAAmB,sBA+GxD,CAAC"}
1
+ {"version":3,"file":"MessageContent.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/MessageItemView/MessageContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AACvC,OAAO,EAA0B,UAAU,EAA+B,MAAM,cAAc,CAAC;AAM/F,OAAO,EACL,mBAAmB,EAEpB,MAAM,iDAAiD,CAAC;AAEzD,OAAO,EACL,oBAAoB,EAErB,MAAM,mDAAmD,CAAC;AAE3D,OAAO,EACL,uBAAuB,EAExB,MAAM,yDAAyD,CAAC;AA+BjE,MAAM,MAAM,8BAA8B,GAAG,IAAI,CAC/C,mBAAmB,EACjB,WAAW,GACX,aAAa,GACb,aAAa,GACb,aAAa,GACb,SAAS,GACT,qBAAqB,GACrB,aAAa,GACb,SAAS,GACT,WAAW,GACX,kBAAkB,GAClB,cAAc,GACd,YAAY,GACZ,sBAAsB,CACzB,GACC,IAAI,CACF,oBAAoB,EAClB,0BAA0B,GAC1B,6BAA6B,GAC7B,mBAAmB,GACnB,gBAAgB,CACnB,GACD,IAAI,CAAC,uBAAuB,EAAE,GAAG,CAAC,GAAG;IACnC;;OAEG;IACH,eAAe,CAAC,EAAE,UAAU,CAAC;IAC7B;;OAEG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,4BAA4B,CAAC,EAAE,OAAO,CAAC;IAEvC;;OAEG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC7B,CAAC;AAscJ,MAAM,MAAM,mBAAmB,GAAG,OAAO,CAAC,8BAA8B,CAAC,CAAC;AAE1E;;GAEG;AACH,eAAO,MAAM,cAAc,GAAI,OAAO,mBAAmB,sBA2FxD,CAAC"}
@@ -1,11 +1,10 @@
1
1
  import React from 'react';
2
2
  import { MessageContextValue } from '../../../contexts/messageContext/MessageContext';
3
- import { MessagesContextValue } from '../../../contexts/messagesContext/MessagesContext';
4
3
  type MessageDeletedComponentProps = {
5
4
  groupStyle: string;
6
5
  date?: string | Date;
7
6
  };
8
- type MessageDeletedPropsWithContext = Pick<MessageContextValue, 'alignment' | 'message'> & Pick<MessagesContextValue, 'MessageFooter'> & MessageDeletedComponentProps;
7
+ type MessageDeletedPropsWithContext = Pick<MessageContextValue, 'alignment' | 'message'> & MessageDeletedComponentProps;
9
8
  export type MessageDeletedProps = Partial<MessageDeletedPropsWithContext> & {
10
9
  groupStyle: string;
11
10
  };
@@ -1 +1 @@
1
- {"version":3,"file":"MessageDeleted.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/MessageItemView/MessageDeleted.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAGvC,OAAO,EACL,mBAAmB,EAEpB,MAAM,iDAAiD,CAAC;AACzD,OAAO,EACL,oBAAoB,EAErB,MAAM,mDAAmD,CAAC;AAM3D,KAAK,4BAA4B,GAAG;IAClC,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACtB,CAAC;AAEF,KAAK,8BAA8B,GAAG,IAAI,CAAC,mBAAmB,EAAE,WAAW,GAAG,SAAS,CAAC,GACtF,IAAI,CAAC,oBAAoB,EAAE,eAAe,CAAC,GAC3C,4BAA4B,CAAC;AAmF/B,MAAM,MAAM,mBAAmB,GAAG,OAAO,CAAC,8BAA8B,CAAC,GAAG;IAC1E,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,eAAO,MAAM,cAAc;YAAW,mBAAmB;;CAexD,CAAC"}
1
+ {"version":3,"file":"MessageDeleted.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/MessageItemView/MessageDeleted.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAIvC,OAAO,EACL,mBAAmB,EAEpB,MAAM,iDAAiD,CAAC;AAMzD,KAAK,4BAA4B,GAAG;IAClC,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACtB,CAAC;AAEF,KAAK,8BAA8B,GAAG,IAAI,CAAC,mBAAmB,EAAE,WAAW,GAAG,SAAS,CAAC,GACtF,4BAA4B,CAAC;AAoF/B,MAAM,MAAM,mBAAmB,GAAG,OAAO,CAAC,8BAA8B,CAAC,GAAG;IAC1E,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,eAAO,MAAM,cAAc;YAAW,mBAAmB;;CAYxD,CAAC"}
@@ -1,6 +1,5 @@
1
1
  import React from 'react';
2
2
  import type { Attachment, LocalMessage } from 'stream-chat';
3
- import type { MessageStatusProps } from './MessageStatus';
4
3
  import type { ChannelContextValue } from '../../../contexts/channelContext/ChannelContext';
5
4
  import { Alignment } from '../../../contexts/messageContext/MessageContext';
6
5
  type MessageFooterComponentProps = {
@@ -11,7 +10,6 @@ export type MessageFooterProps = Partial<Pick<ChannelContextValue, 'members'>> &
11
10
  alignment?: Alignment;
12
11
  lastGroupMessage?: boolean;
13
12
  message?: LocalMessage;
14
- MessageStatus?: React.ComponentType<MessageStatusProps>;
15
13
  otherAttachments?: Attachment[];
16
14
  showMessageStatus?: boolean;
17
15
  };
@@ -1 +1 @@
1
- {"version":3,"file":"MessageFooter.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/MessageItemView/MessageFooter.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAGvC,OAAO,KAAK,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAE5D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAE1D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iDAAiD,CAAC;AAC3F,OAAO,EACL,SAAS,EAGV,MAAM,iDAAiD,CAAC;AAazD,KAAK,2BAA2B,GAAG;IACjC,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC/B,CAAC;AA0IF,MAAM,MAAM,kBAAkB,GAAG,OAAO,CAAC,IAAI,CAAC,mBAAmB,EAAE,SAAS,CAAC,CAAC,GAC5E,2BAA2B,GAAG;IAC5B,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,OAAO,CAAC,EAAE,YAAY,CAAC;IACvB,aAAa,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,kBAAkB,CAAC,CAAC;IACxD,gBAAgB,CAAC,EAAE,UAAU,EAAE,CAAC;IAChC,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC7B,CAAC;AAEJ,eAAO,MAAM,aAAa,GAAI,OAAO,kBAAkB,sBAqBtD,CAAC"}
1
+ {"version":3,"file":"MessageFooter.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/MessageItemView/MessageFooter.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAGvC,OAAO,KAAK,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAE5D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iDAAiD,CAAC;AAE3F,OAAO,EACL,SAAS,EAGV,MAAM,iDAAiD,CAAC;AASzD,KAAK,2BAA2B,GAAG;IACjC,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC/B,CAAC;AAwIF,MAAM,MAAM,kBAAkB,GAAG,OAAO,CAAC,IAAI,CAAC,mBAAmB,EAAE,SAAS,CAAC,CAAC,GAC5E,2BAA2B,GAAG;IAC5B,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,OAAO,CAAC,EAAE,YAAY,CAAC;IACvB,gBAAgB,CAAC,EAAE,UAAU,EAAE,CAAC;IAChC,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC7B,CAAC;AAEJ,eAAO,MAAM,aAAa,GAAI,OAAO,kBAAkB,sBAiBtD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"MessageHeader.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/MessageItemView/MessageHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAIvC,OAAO,EACL,mBAAmB,EAEpB,MAAM,iDAAiD,CAAC;AA0GzD,MAAM,MAAM,kBAAkB,GAAG,OAAO,CAAC,IAAI,CAAC,mBAAmB,EAAE,SAAS,CAAC,CAAC,CAAC;AAE/E,eAAO,MAAM,aAAa,GAAI,OAAO,kBAAkB,6BAuCtD,CAAC"}
1
+ {"version":3,"file":"MessageHeader.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/MessageItemView/MessageHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAKvC,OAAO,EACL,mBAAmB,EAEpB,MAAM,iDAAiD,CAAC;AAiGzD,MAAM,MAAM,kBAAkB,GAAG,OAAO,CAAC,IAAI,CAAC,mBAAmB,EAAE,SAAS,CAAC,CAAC,CAAC;AAE/E,eAAO,MAAM,aAAa,GAAI,OAAO,kBAAkB,6BA6BtD,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { MessageContextValue } from '../../../contexts/messageContext/MessageContext';
3
3
  import { MessagesContextValue } from '../../../contexts/messagesContext/MessagesContext';
4
- export type MessageItemViewPropsWithContext = Pick<MessageContextValue, 'alignment' | 'channel' | 'groupStyles' | 'hasAttachmentActions' | 'isMyMessage' | 'message' | 'onlyEmojis' | 'otherAttachments' | 'setQuotedMessage' | 'lastGroupMessage' | 'contextMenuAnchorRef' | 'members'> & Pick<MessagesContextValue, 'customMessageSwipeAction' | 'enableMessageGroupingByUser' | 'enableSwipeToReply' | 'myMessageTheme' | 'MessageAuthor' | 'MessageContent' | 'MessageDeleted' | 'MessageError' | 'MessageFooter' | 'MessageHeader' | 'MessageReplies' | 'MessageSpacer' | 'MessageSwipeContent' | 'messageSwipeToReplyHitSlop' | 'ReactionListBottom' | 'reactionListPosition' | 'reactionListType' | 'ReactionListTop'>;
4
+ export type MessageItemViewPropsWithContext = Pick<MessageContextValue, 'alignment' | 'channel' | 'groupStyles' | 'hasAttachmentActions' | 'isMyMessage' | 'message' | 'onlyEmojis' | 'otherAttachments' | 'setQuotedMessage' | 'lastGroupMessage' | 'contextMenuAnchorRef' | 'members'> & Pick<MessagesContextValue, 'customMessageSwipeAction' | 'enableMessageGroupingByUser' | 'enableSwipeToReply' | 'myMessageTheme' | 'messageSwipeToReplyHitSlop' | 'reactionListPosition' | 'reactionListType'>;
5
5
  export type MessageItemViewProps = Partial<MessageItemViewPropsWithContext>;
6
6
  /**
7
7
  *
@@ -1 +1 @@
1
- {"version":3,"file":"MessageItemView.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/MessageItemView/MessageItemView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAKvC,OAAO,EAEL,mBAAmB,EAEpB,MAAM,iDAAiD,CAAC;AACzD,OAAO,EACL,oBAAoB,EAErB,MAAM,mDAAmD,CAAC;AAwL3D,MAAM,MAAM,+BAA+B,GAAG,IAAI,CAChD,mBAAmB,EACjB,WAAW,GACX,SAAS,GACT,aAAa,GACb,sBAAsB,GACtB,aAAa,GACb,SAAS,GACT,YAAY,GACZ,kBAAkB,GAClB,kBAAkB,GAClB,kBAAkB,GAClB,sBAAsB,GACtB,SAAS,CACZ,GACC,IAAI,CACF,oBAAoB,EAClB,0BAA0B,GAC1B,6BAA6B,GAC7B,oBAAoB,GACpB,gBAAgB,GAChB,eAAe,GACf,gBAAgB,GAChB,gBAAgB,GAChB,cAAc,GACd,eAAe,GACf,eAAe,GACf,gBAAgB,GAChB,eAAe,GACf,qBAAqB,GACrB,4BAA4B,GAC5B,oBAAoB,GACpB,sBAAsB,GACtB,kBAAkB,GAClB,iBAAiB,CACpB,CAAC;AA4RJ,MAAM,MAAM,oBAAoB,GAAG,OAAO,CAAC,+BAA+B,CAAC,CAAC;AAE5E;;;GAGG;AACH,eAAO,MAAM,eAAe;YAAW,oBAAoB;;CA0E1D,CAAC"}
1
+ {"version":3,"file":"MessageItemView.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/MessageItemView/MessageItemView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAMvC,OAAO,EAEL,mBAAmB,EAEpB,MAAM,iDAAiD,CAAC;AACzD,OAAO,EACL,oBAAoB,EAErB,MAAM,mDAAmD,CAAC;AAwL3D,MAAM,MAAM,+BAA+B,GAAG,IAAI,CAChD,mBAAmB,EACjB,WAAW,GACX,SAAS,GACT,aAAa,GACb,sBAAsB,GACtB,aAAa,GACb,SAAS,GACT,YAAY,GACZ,kBAAkB,GAClB,kBAAkB,GAClB,kBAAkB,GAClB,sBAAsB,GACtB,SAAS,CACZ,GACC,IAAI,CACF,oBAAoB,EAClB,0BAA0B,GAC1B,6BAA6B,GAC7B,oBAAoB,GACpB,gBAAgB,GAChB,4BAA4B,GAC5B,sBAAsB,GACtB,kBAAkB,CACrB,CAAC;AA4RJ,MAAM,MAAM,oBAAoB,GAAG,OAAO,CAAC,+BAA+B,CAAC,CAAC;AAE5E;;;GAGG;AACH,eAAO,MAAM,eAAe;YAAW,oBAAoB;;CAoD1D,CAAC"}
@@ -1,8 +1,7 @@
1
1
  import React from 'react';
2
2
  import { MessageContextValue } from '../../../contexts/messageContext/MessageContext';
3
- import { MessagesContextValue } from '../../../contexts/messagesContext/MessagesContext';
4
3
  import { TranslationContextValue } from '../../../contexts/translationContext/TranslationContext';
5
- export type MessageRepliesPropsWithContext = Pick<MessageContextValue, 'alignment' | 'isMyMessage' | 'message' | 'onLongPress' | 'onPress' | 'onPressIn' | 'onOpenThread' | 'preventPress' | 'threadList'> & Pick<MessagesContextValue, 'MessageRepliesAvatars'> & Pick<TranslationContextValue, 't'>;
4
+ export type MessageRepliesPropsWithContext = Pick<MessageContextValue, 'alignment' | 'isMyMessage' | 'message' | 'onLongPress' | 'onPress' | 'onPressIn' | 'onOpenThread' | 'preventPress' | 'threadList'> & Pick<TranslationContextValue, 't'>;
6
5
  export type MessageRepliesProps = Partial<MessageRepliesPropsWithContext>;
7
6
  export declare const MessageReplies: {
8
7
  (props: MessageRepliesProps): React.JSX.Element;
@@ -1 +1 @@
1
- {"version":3,"file":"MessageReplies.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/MessageItemView/MessageReplies.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAGvC,OAAO,EACL,mBAAmB,EAEpB,MAAM,iDAAiD,CAAC;AACzD,OAAO,EACL,oBAAoB,EAErB,MAAM,mDAAmD,CAAC;AAE3D,OAAO,EACL,uBAAuB,EAExB,MAAM,yDAAyD,CAAC;AAMjE,MAAM,MAAM,8BAA8B,GAAG,IAAI,CAC/C,mBAAmB,EACjB,WAAW,GACX,aAAa,GACb,SAAS,GACT,aAAa,GACb,SAAS,GACT,WAAW,GACX,cAAc,GACd,cAAc,GACd,YAAY,CACf,GACC,IAAI,CAAC,oBAAoB,EAAE,uBAAuB,CAAC,GACnD,IAAI,CAAC,uBAAuB,EAAE,GAAG,CAAC,CAAC;AAgJrC,MAAM,MAAM,mBAAmB,GAAG,OAAO,CAAC,8BAA8B,CAAC,CAAC;AAE1E,eAAO,MAAM,cAAc;YAAW,mBAAmB;;CAiCxD,CAAC"}
1
+ {"version":3,"file":"MessageReplies.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/MessageItemView/MessageReplies.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAIvC,OAAO,EACL,mBAAmB,EAEpB,MAAM,iDAAiD,CAAC;AAEzD,OAAO,EACL,uBAAuB,EAExB,MAAM,yDAAyD,CAAC;AAMjE,MAAM,MAAM,8BAA8B,GAAG,IAAI,CAC/C,mBAAmB,EACjB,WAAW,GACX,aAAa,GACb,SAAS,GACT,aAAa,GACb,SAAS,GACT,WAAW,GACX,cAAc,GACd,cAAc,GACd,YAAY,CACf,GACC,IAAI,CAAC,uBAAuB,EAAE,GAAG,CAAC,CAAC;AAgJrC,MAAM,MAAM,mBAAmB,GAAG,OAAO,CAAC,8BAA8B,CAAC,CAAC;AAE1E,eAAO,MAAM,cAAc;YAAW,mBAAmB;;CA+BxD,CAAC"}
@@ -10,7 +10,7 @@ export type MessageTextProps = MessageTextContainerProps & {
10
10
  theme: Theme;
11
11
  };
12
12
  };
13
- export type MessageTextContainerPropsWithContext = Pick<MessageContextValue, 'message' | 'onLongPress' | 'onlyEmojis' | 'onPress' | 'preventPress' | 'isMyMessage'> & Pick<MessagesContextValue, 'markdownRules' | 'MessageText' | 'myMessageTheme' | 'messageTextNumberOfLines'> & {
13
+ export type MessageTextContainerPropsWithContext = Pick<MessageContextValue, 'message' | 'onLongPress' | 'onlyEmojis' | 'onPress' | 'preventPress' | 'isMyMessage'> & Pick<MessagesContextValue, 'markdownRules' | 'myMessageTheme' | 'messageTextNumberOfLines'> & {
14
14
  markdownStyles?: MarkdownStyle;
15
15
  messageOverlay?: boolean;
16
16
  styles?: Partial<{
@@ -1 +1 @@
1
- {"version":3,"file":"MessageTextContainer.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/MessageItemView/MessageTextContainer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,SAAS,EAAoB,SAAS,EAAE,MAAM,cAAc,CAAC;AAItE,OAAO,EAAc,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAElE,OAAO,EACL,mBAAmB,EAEpB,MAAM,iDAAiD,CAAC;AACzD,OAAO,EACL,oBAAoB,EAErB,MAAM,mDAAmD,CAAC;AAG3D,OAAO,KAAK,EAAE,aAAa,EAAE,KAAK,EAAE,MAAM,4CAA4C,CAAC;AAQvF,MAAM,MAAM,gBAAgB,GAAG,yBAAyB,GAAG;IACzD,UAAU,EAAE,CAAC,MAAM,EAAE,gBAAgB,KAAK,KAAK,CAAC,SAAS,GAAG,IAAI,CAAC;IACjE,KAAK,EAAE;QAAE,KAAK,EAAE,KAAK,CAAA;KAAE,CAAC;CACzB,CAAC;AAEF,MAAM,MAAM,oCAAoC,GAAG,IAAI,CACrD,mBAAmB,EACnB,SAAS,GAAG,aAAa,GAAG,YAAY,GAAG,SAAS,GAAG,cAAc,GAAG,aAAa,CACtF,GACC,IAAI,CACF,oBAAoB,EACpB,eAAe,GAAG,aAAa,GAAG,gBAAgB,GAAG,0BAA0B,CAChF,GAAG;IACF,cAAc,CAAC,EAAE,aAAa,CAAC;IAC/B,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,MAAM,CAAC,EAAE,OAAO,CAAC;QACf,aAAa,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;KACrC,CAAC,CAAC;CACJ,CAAC;AA4IJ,MAAM,MAAM,yBAAyB,GAAG,OAAO,CAAC,oCAAoC,CAAC,CAAC;AAEtF,eAAO,MAAM,oBAAoB;YAAW,yBAAyB;;CAuBpE,CAAC"}
1
+ {"version":3,"file":"MessageTextContainer.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/MessageItemView/MessageTextContainer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,SAAS,EAAoB,SAAS,EAAE,MAAM,cAAc,CAAC;AAItE,OAAO,EAAc,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAGlE,OAAO,EACL,mBAAmB,EAEpB,MAAM,iDAAiD,CAAC;AACzD,OAAO,EACL,oBAAoB,EAErB,MAAM,mDAAmD,CAAC;AAG3D,OAAO,KAAK,EAAE,aAAa,EAAE,KAAK,EAAE,MAAM,4CAA4C,CAAC;AAQvF,MAAM,MAAM,gBAAgB,GAAG,yBAAyB,GAAG;IACzD,UAAU,EAAE,CAAC,MAAM,EAAE,gBAAgB,KAAK,KAAK,CAAC,SAAS,GAAG,IAAI,CAAC;IACjE,KAAK,EAAE;QAAE,KAAK,EAAE,KAAK,CAAA;KAAE,CAAC;CACzB,CAAC;AAEF,MAAM,MAAM,oCAAoC,GAAG,IAAI,CACrD,mBAAmB,EACnB,SAAS,GAAG,aAAa,GAAG,YAAY,GAAG,SAAS,GAAG,cAAc,GAAG,aAAa,CACtF,GACC,IAAI,CAAC,oBAAoB,EAAE,eAAe,GAAG,gBAAgB,GAAG,0BAA0B,CAAC,GAAG;IAC5F,cAAc,CAAC,EAAE,aAAa,CAAC;IAC/B,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,MAAM,CAAC,EAAE,OAAO,CAAC;QACf,aAAa,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;KACrC,CAAC,CAAC;CACJ,CAAC;AA4IJ,MAAM,MAAM,yBAAyB,GAAG,OAAO,CAAC,oCAAoC,CAAC,CAAC;AAEtF,eAAO,MAAM,oBAAoB;YAAW,yBAAyB;;CAqBpE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"MessageWrapper.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/MessageItemView/MessageWrapper.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAIvC,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAqB3C,MAAM,MAAM,mBAAmB,GAAG;IAChC,OAAO,EAAE,YAAY,CAAC;IACtB,eAAe,CAAC,EAAE,YAAY,CAAC;IAC/B,WAAW,CAAC,EAAE,YAAY,CAAC;CAC5B,CAAC;AAEF,eAAO,MAAM,cAAc,oCAAsB,mBAAmB,8BA4GlE,CAAC"}
1
+ {"version":3,"file":"MessageWrapper.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/MessageItemView/MessageWrapper.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAIvC,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAsB3C,MAAM,MAAM,mBAAmB,GAAG;IAChC,OAAO,EAAE,YAAY,CAAC;IACtB,eAAe,CAAC,EAAE,YAAY,CAAC;IAC/B,WAAW,CAAC,EAAE,YAAY,CAAC;CAC5B,CAAC;AAEF,eAAO,MAAM,cAAc,oCAAsB,mBAAmB,8BAsGlE,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { MessageContextValue } from '../../../../contexts/messageContext/MessageContext';
3
3
  import { MessagesContextValue } from '../../../../contexts/messagesContext/MessagesContext';
4
- export type ReactionListBottomProps = Partial<Pick<MessageContextValue, 'alignment' | 'handleReaction' | 'hasReactions' | 'onLongPress' | 'onPress' | 'onPressIn' | 'preventPress' | 'reactions' | 'showReactionsOverlay'>> & Partial<Pick<MessagesContextValue, 'supportedReactions' | 'ReactionListClustered' | 'ReactionListItem'>> & {
4
+ export type ReactionListBottomProps = Partial<Pick<MessageContextValue, 'alignment' | 'handleReaction' | 'hasReactions' | 'onLongPress' | 'onPress' | 'onPressIn' | 'preventPress' | 'reactions' | 'showReactionsOverlay'>> & Partial<Pick<MessagesContextValue, 'supportedReactions'>> & {
5
5
  type?: 'clustered' | 'segmented';
6
6
  showCount?: boolean;
7
7
  };
@@ -1 +1 @@
1
- {"version":3,"file":"ReactionListBottom.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Message/MessageItemView/ReactionList/ReactionListBottom.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+B,MAAM,OAAO,CAAC;AAKpD,OAAO,EACL,mBAAmB,EAEpB,MAAM,oDAAoD,CAAC;AAC5D,OAAO,EACL,oBAAoB,EAErB,MAAM,sDAAsD,CAAC;AAK9D,MAAM,MAAM,uBAAuB,GAAG,OAAO,CAC3C,IAAI,CACF,mBAAmB,EACjB,WAAW,GACX,gBAAgB,GAChB,cAAc,GACd,aAAa,GACb,SAAS,GACT,WAAW,GACX,cAAc,GACd,WAAW,GACX,sBAAsB,CACzB,CACF,GACC,OAAO,CACL,IAAI,CAAC,oBAAoB,EAAE,oBAAoB,GAAG,uBAAuB,GAAG,kBAAkB,CAAC,CAChG,GAAG;IACF,IAAI,CAAC,EAAE,WAAW,GAAG,WAAW,CAAC;IACjC,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAOJ,eAAO,MAAM,kBAAkB,GAAI,OAAO,uBAAuB,6BA+GhE,CAAC"}
1
+ {"version":3,"file":"ReactionListBottom.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Message/MessageItemView/ReactionList/ReactionListBottom.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+B,MAAM,OAAO,CAAC;AAMpD,OAAO,EACL,mBAAmB,EAEpB,MAAM,oDAAoD,CAAC;AAC5D,OAAO,EACL,oBAAoB,EAErB,MAAM,sDAAsD,CAAC;AAK9D,MAAM,MAAM,uBAAuB,GAAG,OAAO,CAC3C,IAAI,CACF,mBAAmB,EACjB,WAAW,GACX,gBAAgB,GAChB,cAAc,GACd,aAAa,GACb,SAAS,GACT,WAAW,GACX,cAAc,GACd,WAAW,GACX,sBAAsB,CACzB,CACF,GACC,OAAO,CAAC,IAAI,CAAC,oBAAoB,EAAE,oBAAoB,CAAC,CAAC,GAAG;IAC1D,IAAI,CAAC,EAAE,WAAW,GAAG,WAAW,CAAC;IACjC,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAOJ,eAAO,MAAM,kBAAkB,GAAI,OAAO,uBAAuB,6BAwGhE,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { MessageContextValue } from '../../../../contexts/messageContext/MessageContext';
3
3
  import { MessagesContextValue } from '../../../../contexts/messagesContext/MessagesContext';
4
- export type ReactionListTopProps = Partial<Pick<MessageContextValue, 'alignment' | 'hasReactions' | 'onLongPress' | 'onPress' | 'onPressIn' | 'preventPress' | 'reactions' | 'showReactionsOverlay' | 'handleReaction'> & Pick<MessagesContextValue, 'supportedReactions' | 'reactionListType' | 'ReactionListClustered' | 'ReactionListItem' | 'ReactionListCountItem'>> & {
4
+ export type ReactionListTopProps = Partial<Pick<MessageContextValue, 'alignment' | 'hasReactions' | 'onLongPress' | 'onPress' | 'onPressIn' | 'preventPress' | 'reactions' | 'showReactionsOverlay' | 'handleReaction'> & Pick<MessagesContextValue, 'supportedReactions' | 'reactionListType'>> & {
5
5
  type?: 'clustered' | 'segmented';
6
6
  showCount?: boolean;
7
7
  };
@@ -1 +1 @@
1
- {"version":3,"file":"ReactionListTop.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Message/MessageItemView/ReactionList/ReactionListTop.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAIvC,OAAO,EACL,mBAAmB,EAEpB,MAAM,oDAAoD,CAAC;AAC5D,OAAO,EACL,oBAAoB,EAErB,MAAM,sDAAsD,CAAC;AAI9D,MAAM,MAAM,oBAAoB,GAAG,OAAO,CACxC,IAAI,CACF,mBAAmB,EACjB,WAAW,GACX,cAAc,GACd,aAAa,GACb,SAAS,GACT,WAAW,GACX,cAAc,GACd,WAAW,GACX,sBAAsB,GACtB,gBAAgB,CACnB,GACC,IAAI,CACF,oBAAoB,EAClB,oBAAoB,GACpB,kBAAkB,GAClB,uBAAuB,GACvB,kBAAkB,GAClB,uBAAuB,CAC1B,CACJ,GAAG;IACF,IAAI,CAAC,EAAE,WAAW,GAAG,WAAW,CAAC;IACjC,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,eAAe,GAAI,OAAO,oBAAoB,6BA8G1D,CAAC"}
1
+ {"version":3,"file":"ReactionListTop.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Message/MessageItemView/ReactionList/ReactionListTop.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAKvC,OAAO,EACL,mBAAmB,EAEpB,MAAM,oDAAoD,CAAC;AAC5D,OAAO,EACL,oBAAoB,EAErB,MAAM,sDAAsD,CAAC;AAI9D,MAAM,MAAM,oBAAoB,GAAG,OAAO,CACxC,IAAI,CACF,mBAAmB,EACjB,WAAW,GACX,cAAc,GACd,aAAa,GACb,SAAS,GACT,WAAW,GACX,cAAc,GACd,WAAW,GACX,sBAAsB,GACtB,gBAAgB,CACnB,GACC,IAAI,CAAC,oBAAoB,EAAE,oBAAoB,GAAG,kBAAkB,CAAC,CACxE,GAAG;IACF,IAAI,CAAC,EAAE,WAAW,GAAG,WAAW,CAAC;IACjC,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,eAAe,GAAI,OAAO,oBAAoB,6BAoG1D,CAAC"}
@@ -3,11 +3,10 @@ import { ChatContextValue } from '../../contexts';
3
3
  import { ChannelContextValue } from '../../contexts/channelContext/ChannelContext';
4
4
  import { MessageComposerAPIContextValue } from '../../contexts/messageComposerContext/MessageComposerAPIContext';
5
5
  import { MessageInputContextValue } from '../../contexts/messageInputContext/MessageInputContext';
6
- import { MessagesContextValue } from '../../contexts/messagesContext/MessagesContext';
7
6
  import { TranslationContextValue } from '../../contexts/translationContext/TranslationContext';
8
7
  import { AudioRecorderManagerState } from '../../state-store/audio-recorder-manager';
9
8
  import { type TextInputOverrideComponent } from '../AutoCompleteInput/AutoCompleteInput';
10
- type MessageComposerPropsWithContext = Pick<ChatContextValue, 'isOnline'> & Pick<ChannelContextValue, 'channel' | 'members' | 'watchers'> & Pick<MessageInputContextValue, 'audioRecorderManager' | 'additionalTextInputProps' | 'audioRecordingSendOnComplete' | 'audioRecordingEnabled' | 'asyncMessagesLockDistance' | 'asyncMessagesMinimumPressDuration' | 'asyncMessagesSlideToCancelDistance' | 'AttachmentUploadPreviewList' | 'AudioRecorder' | 'AudioRecordingInProgress' | 'AudioRecordingLockIndicator' | 'AudioRecordingPreview' | 'AutoCompleteSuggestionList' | 'closeAttachmentPicker' | 'compressImageQuality' | 'Input' | 'InputView' | 'inputBoxRef' | 'InputButtons' | 'MessageComposerLeadingView' | 'MessageComposerTrailingView' | 'messageInputFloating' | 'messageInputHeightStore' | 'MessageInputHeaderView' | 'MessageInputTrailingView' | 'SendButton' | 'StartAudioRecordingButton' | 'uploadNewFile' | 'openPollCreationDialog' | 'closePollCreationDialog' | 'showPollCreationDialog' | 'sendMessage' | 'CreatePollContent' | 'createPollOptionGap' | 'StopMessageStreamingButton'> & Pick<MessagesContextValue, 'Reply'> & Pick<TranslationContextValue, 't'> & Pick<MessageComposerAPIContextValue, 'clearEditingState'> & Pick<AudioRecorderManagerState, 'micLocked'> & {
9
+ type MessageComposerPropsWithContext = Pick<ChatContextValue, 'isOnline'> & Pick<ChannelContextValue, 'channel' | 'members' | 'watchers'> & Pick<MessageInputContextValue, 'audioRecorderManager' | 'additionalTextInputProps' | 'audioRecordingSendOnComplete' | 'audioRecordingEnabled' | 'asyncMessagesLockDistance' | 'asyncMessagesMinimumPressDuration' | 'asyncMessagesSlideToCancelDistance' | 'closeAttachmentPicker' | 'compressImageQuality' | 'inputBoxRef' | 'messageInputFloating' | 'messageInputHeightStore' | 'uploadNewFile' | 'openPollCreationDialog' | 'closePollCreationDialog' | 'showPollCreationDialog' | 'sendMessage' | 'createPollOptionGap'> & Pick<TranslationContextValue, 't'> & Pick<MessageComposerAPIContextValue, 'clearEditingState'> & Pick<AudioRecorderManagerState, 'micLocked'> & {
11
10
  editing: boolean;
12
11
  isKeyboardVisible: boolean;
13
12
  threadList?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"MessageComposer.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageInput/MessageComposer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6B,MAAM,OAAO,CAAC;AAmBlD,OAAO,EACL,gBAAgB,EAIjB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EACL,mBAAmB,EAEpB,MAAM,8CAA8C,CAAC;AACtD,OAAO,EACL,8BAA8B,EAE/B,MAAM,iEAAiE,CAAC;AAEzE,OAAO,EACL,wBAAwB,EAEzB,MAAM,wDAAwD,CAAC;AAChE,OAAO,EACL,oBAAoB,EAErB,MAAM,gDAAgD,CAAC;AAGxD,OAAO,EACL,uBAAuB,EAExB,MAAM,sDAAsD,CAAC;AAK9D,OAAO,EAAE,yBAAyB,EAAE,MAAM,0CAA0C,CAAC;AAIrF,OAAO,EAAE,KAAK,0BAA0B,EAAE,MAAM,wCAAwC,CAAC;AA+FzF,KAAK,+BAA+B,GAAG,IAAI,CAAC,gBAAgB,EAAE,UAAU,CAAC,GACvE,IAAI,CAAC,mBAAmB,EAAE,SAAS,GAAG,SAAS,GAAG,UAAU,CAAC,GAC7D,IAAI,CACF,wBAAwB,EACtB,sBAAsB,GACtB,0BAA0B,GAC1B,8BAA8B,GAC9B,uBAAuB,GACvB,2BAA2B,GAC3B,mCAAmC,GACnC,oCAAoC,GACpC,6BAA6B,GAC7B,eAAe,GACf,0BAA0B,GAC1B,6BAA6B,GAC7B,uBAAuB,GACvB,4BAA4B,GAC5B,uBAAuB,GACvB,sBAAsB,GACtB,OAAO,GACP,WAAW,GACX,aAAa,GACb,cAAc,GACd,4BAA4B,GAC5B,6BAA6B,GAC7B,sBAAsB,GACtB,yBAAyB,GACzB,wBAAwB,GACxB,0BAA0B,GAC1B,YAAY,GACZ,2BAA2B,GAC3B,eAAe,GACf,wBAAwB,GACxB,yBAAyB,GACzB,wBAAwB,GACxB,aAAa,GACb,mBAAmB,GACnB,qBAAqB,GACrB,4BAA4B,CAC/B,GACD,IAAI,CAAC,oBAAoB,EAAE,OAAO,CAAC,GACnC,IAAI,CAAC,uBAAuB,EAAE,GAAG,CAAC,GAClC,IAAI,CAAC,8BAA8B,EAAE,mBAAmB,CAAC,GACzD,IAAI,CAAC,yBAAyB,EAAE,WAAW,CAAC,GAAG;IAC7C,OAAO,EAAE,OAAO,CAAC;IACjB,iBAAiB,EAAE,OAAO,CAAC;IAC3B,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,kBAAkB,CAAC,EAAE,0BAA0B,CAAC;IAChD,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B,CAAC;AAqbJ,MAAM,MAAM,oBAAoB,GAAG,OAAO,CAAC,+BAA+B,CAAC,CAAC;AAE5E;;;;;;;;GAQG;AACH,eAAO,MAAM,eAAe;YAAW,oBAAoB;;CA0H1D,CAAC"}
1
+ {"version":3,"file":"MessageComposer.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageInput/MessageComposer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6B,MAAM,OAAO,CAAC;AAmBlD,OAAO,EACL,gBAAgB,EAIjB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EACL,mBAAmB,EAEpB,MAAM,8CAA8C,CAAC;AAEtD,OAAO,EACL,8BAA8B,EAE/B,MAAM,iEAAiE,CAAC;AAEzE,OAAO,EACL,wBAAwB,EAEzB,MAAM,wDAAwD,CAAC;AAGhE,OAAO,EACL,uBAAuB,EAExB,MAAM,sDAAsD,CAAC;AAK9D,OAAO,EAAE,yBAAyB,EAAE,MAAM,0CAA0C,CAAC;AAIrF,OAAO,EAAE,KAAK,0BAA0B,EAAE,MAAM,wCAAwC,CAAC;AA+FzF,KAAK,+BAA+B,GAAG,IAAI,CAAC,gBAAgB,EAAE,UAAU,CAAC,GACvE,IAAI,CAAC,mBAAmB,EAAE,SAAS,GAAG,SAAS,GAAG,UAAU,CAAC,GAC7D,IAAI,CACF,wBAAwB,EACtB,sBAAsB,GACtB,0BAA0B,GAC1B,8BAA8B,GAC9B,uBAAuB,GACvB,2BAA2B,GAC3B,mCAAmC,GACnC,oCAAoC,GACpC,uBAAuB,GACvB,sBAAsB,GACtB,aAAa,GACb,sBAAsB,GACtB,yBAAyB,GACzB,eAAe,GACf,wBAAwB,GACxB,yBAAyB,GACzB,wBAAwB,GACxB,aAAa,GACb,qBAAqB,CACxB,GACD,IAAI,CAAC,uBAAuB,EAAE,GAAG,CAAC,GAClC,IAAI,CAAC,8BAA8B,EAAE,mBAAmB,CAAC,GACzD,IAAI,CAAC,yBAAyB,EAAE,WAAW,CAAC,GAAG;IAC7C,OAAO,EAAE,OAAO,CAAC;IACjB,iBAAiB,EAAE,OAAO,CAAC;IAC3B,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,kBAAkB,CAAC,EAAE,0BAA0B,CAAC;IAChD,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B,CAAC;AAsbJ,MAAM,MAAM,oBAAoB,GAAG,OAAO,CAAC,+BAA+B,CAAC,CAAC;AAE5E;;;;;;;;GAQG;AACH,eAAO,MAAM,eAAe;YAAW,oBAAoB;;CAkF1D,CAAC"}
@@ -1,13 +1,12 @@
1
1
  import React from 'react';
2
- import { MessageInputContextValue } from '../../../../contexts/messageInputContext/MessageInputContext';
3
- export type AttachmentUploadListPreviewPropsWithContext = Pick<MessageInputContextValue, 'AudioAttachmentUploadPreview' | 'FileAttachmentUploadPreview' | 'ImageAttachmentUploadPreview' | 'VideoAttachmentUploadPreview'>;
4
- export type AttachmentUploadPreviewListProps = Partial<AttachmentUploadListPreviewPropsWithContext>;
2
+ export type AttachmentUploadListPreviewPropsWithContext = Record<string, never>;
3
+ export type AttachmentUploadPreviewListProps = Record<string, never>;
5
4
  /**
6
5
  * AttachmentUploadPreviewList
7
6
  * UI Component to preview the files set for upload
8
7
  */
9
8
  export declare const AttachmentUploadPreviewList: {
10
- (props: AttachmentUploadPreviewListProps): React.JSX.Element;
9
+ (): React.JSX.Element;
11
10
  displayName: string;
12
11
  };
13
12
  //# sourceMappingURL=AttachmentUploadPreviewList.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"AttachmentUploadPreviewList.d.ts","sourceRoot":"","sources":["../../../../../../src/components/MessageInput/components/AttachmentPreview/AttachmentUploadPreviewList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmD,MAAM,OAAO,CAAC;AAkCxE,OAAO,EACL,wBAAwB,EAEzB,MAAM,8DAA8D,CAAC;AAStE,MAAM,MAAM,2CAA2C,GAAG,IAAI,CAC5D,wBAAwB,EACtB,8BAA8B,GAC9B,6BAA6B,GAC7B,8BAA8B,GAC9B,8BAA8B,CACjC,CAAC;AAgUF,MAAM,MAAM,gCAAgC,GAAG,OAAO,CAAC,2CAA2C,CAAC,CAAC;AAMpG;;;GAGG;AACH,eAAO,MAAM,2BAA2B;YAAW,gCAAgC;;CAkBlF,CAAC"}
1
+ {"version":3,"file":"AttachmentUploadPreviewList.d.ts","sourceRoot":"","sources":["../../../../../../src/components/MessageInput/components/AttachmentPreview/AttachmentUploadPreviewList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmD,MAAM,OAAO,CAAC;AA4CxE,MAAM,MAAM,2CAA2C,GAAG,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;AA8ThF,MAAM,MAAM,gCAAgC,GAAG,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;AAMrE;;;GAGG;AACH,eAAO,MAAM,2BAA2B;;;CAA2D,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { MessageInputContextValue } from '../../../../contexts/messageInputContext/MessageInputContext';
3
3
  import { AudioRecorderManagerState } from '../../../../state-store/audio-recorder-manager';
4
- type AudioRecordingInProgressPropsWithContext = Pick<MessageInputContextValue, 'audioRecorderManager' | 'AudioRecordingWaveform'> & Pick<AudioRecorderManagerState, 'duration' | 'waveformData'> & {
4
+ type AudioRecordingInProgressPropsWithContext = Pick<MessageInputContextValue, 'audioRecorderManager'> & Pick<AudioRecorderManagerState, 'duration' | 'waveformData'> & {
5
5
  /**
6
6
  * Maximum number of waveform lines that should be rendered in the UI.
7
7
  */
@@ -1 +1 @@
1
- {"version":3,"file":"AudioRecordingInProgress.d.ts","sourceRoot":"","sources":["../../../../../../src/components/MessageInput/components/AudioRecorder/AudioRecordingInProgress.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAKvC,OAAO,EACL,wBAAwB,EAEzB,MAAM,8DAA8D,CAAC;AAItE,OAAO,EAAE,yBAAyB,EAAE,MAAM,gDAAgD,CAAC;AAG3F,KAAK,wCAAwC,GAAG,IAAI,CAClD,wBAAwB,EACxB,sBAAsB,GAAG,wBAAwB,CAClD,GACC,IAAI,CAAC,yBAAyB,EAAE,UAAU,GAAG,cAAc,CAAC,GAAG;IAC7D;;OAEG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B,CAAC;AAoCJ,MAAM,MAAM,6BAA6B,GAAG,OAAO,CAAC,wCAAwC,CAAC,CAAC;AAO9F;;GAEG;AACH,eAAO,MAAM,wBAAwB;YAAW,6BAA6B;;CAc5E,CAAC"}
1
+ {"version":3,"file":"AudioRecordingInProgress.d.ts","sourceRoot":"","sources":["../../../../../../src/components/MessageInput/components/AudioRecorder/AudioRecordingInProgress.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAMvC,OAAO,EACL,wBAAwB,EAEzB,MAAM,8DAA8D,CAAC;AAItE,OAAO,EAAE,yBAAyB,EAAE,MAAM,gDAAgD,CAAC;AAG3F,KAAK,wCAAwC,GAAG,IAAI,CAClD,wBAAwB,EACxB,sBAAsB,CACvB,GACC,IAAI,CAAC,yBAAyB,EAAE,UAAU,GAAG,cAAc,CAAC,GAAG;IAC7D;;OAEG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B,CAAC;AAqCJ,MAAM,MAAM,6BAA6B,GAAG,OAAO,CAAC,wCAAwC,CAAC,CAAC;AAO9F;;GAEG;AACH,eAAO,MAAM,wBAAwB;YAAW,6BAA6B;;CAc5E,CAAC"}
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import { OwnCapabilitiesContextValue } from '../../../../contexts';
3
3
  import { MessageInputContextValue } from '../../../../contexts/messageInputContext/MessageInputContext';
4
4
  export type InputButtonsProps = Partial<InputButtonsWithContextProps>;
5
- export type InputButtonsWithContextProps = Pick<MessageInputContextValue, 'AttachButton' | 'hasCameraPicker' | 'hasCommands' | 'hasFilePicker' | 'hasImagePicker'> & Pick<OwnCapabilitiesContextValue, 'uploadFile'>;
5
+ export type InputButtonsWithContextProps = Pick<MessageInputContextValue, 'hasCameraPicker' | 'hasCommands' | 'hasFilePicker' | 'hasImagePicker'> & Pick<OwnCapabilitiesContextValue, 'uploadFile'>;
6
6
  export declare const InputButtonsWithContext: (props: InputButtonsWithContextProps) => React.JSX.Element | null;
7
7
  export declare const InputButtons: (props: InputButtonsProps) => React.JSX.Element;
8
8
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/MessageInput/components/InputButtons/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAWzC,OAAO,EAAE,2BAA2B,EAAE,MAAM,sBAAsB,CAAC;AAEnE,OAAO,EACL,wBAAwB,EAEzB,MAAM,8DAA8D,CAAC;AAKtE,MAAM,MAAM,iBAAiB,GAAG,OAAO,CAAC,4BAA4B,CAAC,CAAC;AAEtE,MAAM,MAAM,4BAA4B,GAAG,IAAI,CAC7C,wBAAwB,EACxB,cAAc,GAAG,iBAAiB,GAAG,aAAa,GAAG,eAAe,GAAG,gBAAgB,CACxF,GACC,IAAI,CAAC,2BAA2B,EAAE,YAAY,CAAC,CAAC;AAElD,eAAO,MAAM,uBAAuB,GAAI,OAAO,4BAA4B,6BAyC1E,CAAC;AAsCF,eAAO,MAAM,YAAY,GAAI,OAAO,iBAAiB,sBAkBpD,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/MessageInput/components/InputButtons/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAWzC,OAAO,EAAE,2BAA2B,EAAE,MAAM,sBAAsB,CAAC;AAGnE,OAAO,EACL,wBAAwB,EAEzB,MAAM,8DAA8D,CAAC;AAKtE,MAAM,MAAM,iBAAiB,GAAG,OAAO,CAAC,4BAA4B,CAAC,CAAC;AAEtE,MAAM,MAAM,4BAA4B,GAAG,IAAI,CAC7C,wBAAwB,EACxB,iBAAiB,GAAG,aAAa,GAAG,eAAe,GAAG,gBAAgB,CACvE,GACC,IAAI,CAAC,2BAA2B,EAAE,YAAY,CAAC,CAAC;AAElD,eAAO,MAAM,uBAAuB,GAAI,OAAO,4BAA4B,6BAyC1E,CAAC;AAsCF,eAAO,MAAM,YAAY,GAAI,OAAO,iBAAiB,sBAgBpD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"LinkPreviewList.d.ts","sourceRoot":"","sources":["../../../../../src/components/MessageInput/components/LinkPreviewList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+B,MAAM,OAAO,CAAC;AAMpD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAU/C,MAAM,MAAM,oBAAoB,GAAG;IACjC,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B,CAAC;AAEF,eAAO,MAAM,eAAe,GAAI,sBAA0B,oBAAoB,6BAY7E,CAAC;AAEF,KAAK,gBAAgB,GAAG;IACtB,WAAW,EAAE,WAAW,CAAC;CAC1B,CAAC;AAEF,eAAO,MAAM,eAAe,GAAI,iBAAiB,gBAAgB,6BAuDhE,CAAC"}
1
+ {"version":3,"file":"LinkPreviewList.d.ts","sourceRoot":"","sources":["../../../../../src/components/MessageInput/components/LinkPreviewList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+B,MAAM,OAAO,CAAC;AAMpD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAW/C,MAAM,MAAM,oBAAoB,GAAG;IACjC,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B,CAAC;AAEF,eAAO,MAAM,eAAe,GAAI,sBAA0B,oBAAoB,6BAY7E,CAAC;AAEF,KAAK,gBAAgB,GAAG;IACtB,WAAW,EAAE,WAAW,CAAC;CAC1B,CAAC;AAEF,eAAO,MAAM,eAAe,GAAI,iBAAiB,gBAAgB,6BAuDhE,CAAC"}
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import { ChannelContextValue, ChatContextValue } from '../../../../contexts';
3
3
  import { MessageInputContextValue } from '../../../../contexts/messageInputContext/MessageInputContext';
4
4
  export type OutputButtonsProps = Partial<OutputButtonsWithContextProps>;
5
- export type OutputButtonsWithContextProps = Pick<ChatContextValue, 'isOnline'> & Pick<ChannelContextValue, 'channel'> & Pick<MessageInputContextValue, 'asyncMessagesMinimumPressDuration' | 'asyncMessagesSlideToCancelDistance' | 'asyncMessagesLockDistance' | 'audioRecordingSendOnComplete' | 'audioRecordingEnabled' | 'CooldownTimer' | 'SendButton' | 'StopMessageStreamingButton' | 'StartAudioRecordingButton'> & {
5
+ export type OutputButtonsWithContextProps = Pick<ChatContextValue, 'isOnline'> & Pick<ChannelContextValue, 'channel'> & Pick<MessageInputContextValue, 'asyncMessagesMinimumPressDuration' | 'asyncMessagesSlideToCancelDistance' | 'asyncMessagesLockDistance' | 'audioRecordingSendOnComplete' | 'audioRecordingEnabled'> & {
6
6
  cooldownIsActive: boolean;
7
7
  hasAttachments: boolean;
8
8
  };
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/MessageInput/components/OutputButtons/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsB,MAAM,OAAO,CAAC;AAQ3C,OAAO,EACL,mBAAmB,EACnB,gBAAgB,EAKjB,MAAM,sBAAsB,CAAC;AAG9B,OAAO,EACL,wBAAwB,EAEzB,MAAM,8DAA8D,CAAC;AAMtE,MAAM,MAAM,kBAAkB,GAAG,OAAO,CAAC,6BAA6B,CAAC,CAAC;AAExE,MAAM,MAAM,6BAA6B,GAAG,IAAI,CAAC,gBAAgB,EAAE,UAAU,CAAC,GAC5E,IAAI,CAAC,mBAAmB,EAAE,SAAS,CAAC,GACpC,IAAI,CACF,wBAAwB,EACtB,mCAAmC,GACnC,oCAAoC,GACpC,2BAA2B,GAC3B,8BAA8B,GAC9B,uBAAuB,GACvB,eAAe,GACf,YAAY,GACZ,4BAA4B,GAC5B,2BAA2B,CAC9B,GAAG;IACF,gBAAgB,EAAE,OAAO,CAAC;IAC1B,cAAc,EAAE,OAAO,CAAC;CACzB,CAAC;AAOJ,eAAO,MAAM,wBAAwB,GAAI,OAAO,6BAA6B,sBAiF5E,CAAC;AAwCF,eAAO,MAAM,aAAa,GAAI,OAAO,kBAAkB,sBAqCtD,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/MessageInput/components/OutputButtons/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsB,MAAM,OAAO,CAAC;AAQ3C,OAAO,EACL,mBAAmB,EACnB,gBAAgB,EAKjB,MAAM,sBAAsB,CAAC;AAI9B,OAAO,EACL,wBAAwB,EAEzB,MAAM,8DAA8D,CAAC;AAMtE,MAAM,MAAM,kBAAkB,GAAG,OAAO,CAAC,6BAA6B,CAAC,CAAC;AAExE,MAAM,MAAM,6BAA6B,GAAG,IAAI,CAAC,gBAAgB,EAAE,UAAU,CAAC,GAC5E,IAAI,CAAC,mBAAmB,EAAE,SAAS,CAAC,GACpC,IAAI,CACF,wBAAwB,EACtB,mCAAmC,GACnC,oCAAoC,GACpC,2BAA2B,GAC3B,8BAA8B,GAC9B,uBAAuB,CAC1B,GAAG;IACF,gBAAgB,EAAE,OAAO,CAAC;IAC1B,cAAc,EAAE,OAAO,CAAC;CACzB,CAAC;AAOJ,eAAO,MAAM,wBAAwB,GAAI,OAAO,6BAA6B,sBAyE5E,CAAC;AAwCF,eAAO,MAAM,aAAa,GAAI,OAAO,kBAAkB,sBA6BtD,CAAC"}
@@ -10,7 +10,7 @@ import { MessagesContextValue } from '../../contexts/messagesContext/MessagesCon
10
10
  import { OwnCapabilitiesContextValue } from '../../contexts/ownCapabilitiesContext/OwnCapabilitiesContext';
11
11
  import { PaginatedMessageListContextValue } from '../../contexts/paginatedMessageListContext/PaginatedMessageListContext';
12
12
  import { ThreadContextValue } from '../../contexts/threadContext/ThreadContext';
13
- type MessageFlashListPropsWithContext = Pick<AttachmentPickerContextValue, 'closePicker' | 'attachmentPickerStore'> & Pick<OwnCapabilitiesContextValue, 'readEvents'> & Pick<ChannelContextValue, 'channel' | 'channelUnreadStateStore' | 'disabled' | 'EmptyStateIndicator' | 'hideStickyDateHeader' | 'highlightedMessageId' | 'loadChannelAroundMessage' | 'loading' | 'LoadingIndicator' | 'markRead' | 'NetworkDownIndicator' | 'reloadChannel' | 'scrollToFirstUnreadThreshold' | 'setChannelUnreadState' | 'setTargetedMessage' | 'StickyHeader' | 'targetedMessage' | 'threadList' | 'maximumMessageLimit'> & Pick<ChatContextValue, 'client'> & Pick<MessageInputContextValue, 'messageInputFloating' | 'messageInputHeightStore'> & Pick<PaginatedMessageListContextValue, 'loadMore' | 'loadMoreRecent'> & Pick<MessagesContextValue, 'DateHeader' | 'disableTypingIndicator' | 'FlatList' | 'InlineDateSeparator' | 'InlineUnreadIndicator' | 'Message' | 'ScrollToBottomButton' | 'MessageSystem' | 'myMessageTheme' | 'shouldShowUnreadUnderlay' | 'TypingIndicator' | 'TypingIndicatorContainer' | 'UnreadMessagesNotification'> & Pick<ThreadContextValue, 'loadMoreRecentThread' | 'loadMoreThread' | 'thread' | 'threadInstance'> & {
13
+ type MessageFlashListPropsWithContext = Pick<AttachmentPickerContextValue, 'closePicker' | 'attachmentPickerStore'> & Pick<OwnCapabilitiesContextValue, 'readEvents'> & Pick<ChannelContextValue, 'channel' | 'channelUnreadStateStore' | 'disabled' | 'hideStickyDateHeader' | 'highlightedMessageId' | 'loadChannelAroundMessage' | 'loading' | 'markRead' | 'reloadChannel' | 'scrollToFirstUnreadThreshold' | 'setChannelUnreadState' | 'setTargetedMessage' | 'targetedMessage' | 'threadList' | 'maximumMessageLimit'> & Pick<ChatContextValue, 'client'> & Pick<MessageInputContextValue, 'messageInputFloating' | 'messageInputHeightStore'> & Pick<PaginatedMessageListContextValue, 'loadMore' | 'loadMoreRecent'> & Pick<MessagesContextValue, 'disableTypingIndicator' | 'FlatList' | 'myMessageTheme' | 'shouldShowUnreadUnderlay'> & Pick<ThreadContextValue, 'loadMoreRecentThread' | 'loadMoreThread' | 'thread' | 'threadInstance'> & {
14
14
  /**
15
15
  * Besides existing (default) UX behavior of underlying FlatList of MessageList component, if you want
16
16
  * to attach some additional props to underlying FlatList, you can add it to following prop.