stream-chat-react-native-core 9.0.0-beta.30 → 9.0.0-beta.32

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 (750) 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 -418
  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 -132
  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 +11 -20
  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 +4 -6
  46. package/lib/commonjs/components/ChannelPreview/ChannelPreview.js.map +1 -1
  47. package/lib/commonjs/components/ChannelPreview/ChannelPreviewMessage.js +6 -18
  48. package/lib/commonjs/components/ChannelPreview/ChannelPreviewMessage.js.map +1 -1
  49. package/lib/commonjs/components/ChannelPreview/ChannelPreviewView.js +8 -28
  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/Message/MessageItemView/utils/renderText.js +3 -1
  86. package/lib/commonjs/components/Message/MessageItemView/utils/renderText.js.map +1 -1
  87. package/lib/commonjs/components/MessageInput/MessageComposer.js +15 -55
  88. package/lib/commonjs/components/MessageInput/MessageComposer.js.map +1 -1
  89. package/lib/commonjs/components/MessageInput/MessageInputHeaderView.js +5 -5
  90. package/lib/commonjs/components/MessageInput/MessageInputHeaderView.js.map +1 -1
  91. package/lib/commonjs/components/MessageInput/components/AttachmentPreview/AttachmentUploadPreviewList.js +9 -17
  92. package/lib/commonjs/components/MessageInput/components/AttachmentPreview/AttachmentUploadPreviewList.js.map +1 -1
  93. package/lib/commonjs/components/MessageInput/components/AttachmentPreview/FileAttachmentUploadPreview.js +5 -5
  94. package/lib/commonjs/components/MessageInput/components/AttachmentPreview/FileAttachmentUploadPreview.js.map +1 -1
  95. package/lib/commonjs/components/MessageInput/components/AttachmentPreview/ImageAttachmentUploadPreview.js +5 -5
  96. package/lib/commonjs/components/MessageInput/components/AttachmentPreview/ImageAttachmentUploadPreview.js.map +1 -1
  97. package/lib/commonjs/components/MessageInput/components/AudioRecorder/AudioRecordingInProgress.js +5 -5
  98. package/lib/commonjs/components/MessageInput/components/AudioRecorder/AudioRecordingInProgress.js.map +1 -1
  99. package/lib/commonjs/components/MessageInput/components/InputButtons/index.js +4 -4
  100. package/lib/commonjs/components/MessageInput/components/InputButtons/index.js.map +1 -1
  101. package/lib/commonjs/components/MessageInput/components/LinkPreviewList.js +3 -2
  102. package/lib/commonjs/components/MessageInput/components/LinkPreviewList.js.map +1 -1
  103. package/lib/commonjs/components/MessageInput/components/OutputButtons/index.js +7 -13
  104. package/lib/commonjs/components/MessageInput/components/OutputButtons/index.js.map +1 -1
  105. package/lib/commonjs/components/MessageList/MessageFlashList.js +14 -40
  106. package/lib/commonjs/components/MessageList/MessageFlashList.js.map +1 -1
  107. package/lib/commonjs/components/MessageList/MessageList.js +12 -38
  108. package/lib/commonjs/components/MessageList/MessageList.js.map +1 -1
  109. package/lib/commonjs/components/MessageList/StickyHeader.js +3 -1
  110. package/lib/commonjs/components/MessageList/StickyHeader.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 +8 -4
  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/MultipleAnswersField.js +5 -3
  123. package/lib/commonjs/components/Poll/components/MultipleAnswersField.js.map +1 -1
  124. package/lib/commonjs/components/Poll/components/MultipleVotesSettings.js +5 -3
  125. package/lib/commonjs/components/Poll/components/MultipleVotesSettings.js.map +1 -1
  126. package/lib/commonjs/components/Poll/components/PollAnswersList.js +5 -3
  127. package/lib/commonjs/components/Poll/components/PollAnswersList.js.map +1 -1
  128. package/lib/commonjs/components/Poll/components/PollInputDialog.js +2 -1
  129. package/lib/commonjs/components/Poll/components/PollInputDialog.js.map +1 -1
  130. package/lib/commonjs/components/Poll/components/PollOption.js +5 -3
  131. package/lib/commonjs/components/Poll/components/PollOption.js.map +1 -1
  132. package/lib/commonjs/components/Poll/components/PollResults/PollOptionFullResults.js +5 -5
  133. package/lib/commonjs/components/Poll/components/PollResults/PollOptionFullResults.js.map +1 -1
  134. package/lib/commonjs/components/Poll/components/PollResults/PollResults.js +5 -3
  135. package/lib/commonjs/components/Poll/components/PollResults/PollResults.js.map +1 -1
  136. package/lib/commonjs/components/Reply/Reply.js +11 -4
  137. package/lib/commonjs/components/Reply/Reply.js.map +1 -1
  138. package/lib/commonjs/components/Thread/Thread.js +4 -8
  139. package/lib/commonjs/components/Thread/Thread.js.map +1 -1
  140. package/lib/commonjs/components/Thread/components/ThreadFooterComponent.js +4 -6
  141. package/lib/commonjs/components/Thread/components/ThreadFooterComponent.js.map +1 -1
  142. package/lib/commonjs/components/ThreadList/ThreadList.js +12 -15
  143. package/lib/commonjs/components/ThreadList/ThreadList.js.map +1 -1
  144. package/lib/commonjs/components/ThreadList/ThreadListItem.js +8 -11
  145. package/lib/commonjs/components/ThreadList/ThreadListItem.js.map +1 -1
  146. package/lib/commonjs/components/ui/Avatar/Avatar.js +3 -3
  147. package/lib/commonjs/components/ui/Avatar/Avatar.js.map +1 -1
  148. package/lib/commonjs/contexts/attachmentPickerContext/AttachmentPickerContext.js.map +1 -1
  149. package/lib/commonjs/contexts/channelContext/ChannelContext.js.map +1 -1
  150. package/lib/commonjs/contexts/channelsContext/ChannelsContext.js.map +1 -1
  151. package/lib/commonjs/contexts/chatContext/ChatContext.js.map +1 -1
  152. package/lib/commonjs/contexts/componentsContext/ComponentsContext.js +37 -0
  153. package/lib/commonjs/contexts/componentsContext/ComponentsContext.js.map +1 -0
  154. package/lib/commonjs/contexts/componentsContext/PLAN.md +148 -0
  155. package/lib/commonjs/contexts/componentsContext/defaultComponents.js +286 -0
  156. package/lib/commonjs/contexts/componentsContext/defaultComponents.js.map +1 -0
  157. package/lib/commonjs/contexts/imageGalleryContext/ImageGalleryContext.js +1 -9
  158. package/lib/commonjs/contexts/imageGalleryContext/ImageGalleryContext.js.map +1 -1
  159. package/lib/commonjs/contexts/imageGalleryContext/ImageGalleryContextBase.js.map +1 -1
  160. package/lib/commonjs/contexts/index.js +11 -0
  161. package/lib/commonjs/contexts/index.js.map +1 -1
  162. package/lib/commonjs/contexts/messageInputContext/MessageInputContext.js.map +1 -1
  163. package/lib/commonjs/contexts/messageInputContext/hooks/useCreateMessageInputContext.js +2 -76
  164. package/lib/commonjs/contexts/messageInputContext/hooks/useCreateMessageInputContext.js.map +1 -1
  165. package/lib/commonjs/contexts/messagesContext/MessagesContext.js.map +1 -1
  166. package/lib/commonjs/contexts/overlayContext/MessageOverlayHostLayer.js +7 -5
  167. package/lib/commonjs/contexts/overlayContext/MessageOverlayHostLayer.js.map +1 -1
  168. package/lib/commonjs/contexts/overlayContext/OverlayContext.js.map +1 -1
  169. package/lib/commonjs/contexts/overlayContext/OverlayProvider.js +1 -4
  170. package/lib/commonjs/contexts/overlayContext/OverlayProvider.js.map +1 -1
  171. package/lib/commonjs/contexts/threadsContext/ThreadsContext.js.map +1 -1
  172. package/lib/commonjs/hooks/messagePreview/useMessagePreviewText.js +28 -13
  173. package/lib/commonjs/hooks/messagePreview/useMessagePreviewText.js.map +1 -1
  174. package/lib/commonjs/i18n/en.json +20 -0
  175. package/lib/commonjs/i18n/es.json +20 -0
  176. package/lib/commonjs/i18n/fr.json +20 -0
  177. package/lib/commonjs/i18n/he.json +20 -0
  178. package/lib/commonjs/i18n/hi.json +20 -0
  179. package/lib/commonjs/i18n/it.json +20 -0
  180. package/lib/commonjs/i18n/ja.json +20 -0
  181. package/lib/commonjs/i18n/ko.json +20 -0
  182. package/lib/commonjs/i18n/nl.json +20 -0
  183. package/lib/commonjs/i18n/pt-br.json +20 -0
  184. package/lib/commonjs/i18n/ru.json +20 -0
  185. package/lib/commonjs/i18n/tr.json +20 -0
  186. package/lib/commonjs/icons/arrow-up-right.js +10 -6
  187. package/lib/commonjs/icons/arrow-up-right.js.map +1 -1
  188. package/lib/commonjs/icons/audio.js +10 -6
  189. package/lib/commonjs/icons/audio.js.map +1 -1
  190. package/lib/commonjs/icons/chevron-left.js +10 -6
  191. package/lib/commonjs/icons/chevron-left.js.map +1 -1
  192. package/lib/commonjs/icons/leave.js +10 -6
  193. package/lib/commonjs/icons/leave.js.map +1 -1
  194. package/lib/commonjs/icons/message-bubble.js +10 -6
  195. package/lib/commonjs/icons/message-bubble.js.map +1 -1
  196. package/lib/commonjs/icons/mute.js +11 -7
  197. package/lib/commonjs/icons/mute.js.map +1 -1
  198. package/lib/commonjs/icons/reply.js +10 -6
  199. package/lib/commonjs/icons/reply.js.map +1 -1
  200. package/lib/commonjs/icons/search.js +11 -7
  201. package/lib/commonjs/icons/search.js.map +1 -1
  202. package/lib/commonjs/icons/send.js +11 -7
  203. package/lib/commonjs/icons/send.js.map +1 -1
  204. package/lib/commonjs/icons/thread.js +10 -6
  205. package/lib/commonjs/icons/thread.js.map +1 -1
  206. package/lib/commonjs/icons/video-fill.js +2 -0
  207. package/lib/commonjs/icons/video-fill.js.map +1 -1
  208. package/lib/commonjs/icons/video.js +10 -6
  209. package/lib/commonjs/icons/video.js.map +1 -1
  210. package/lib/commonjs/utils/rtlMirrorSwitchStyle.js +20 -0
  211. package/lib/commonjs/utils/rtlMirrorSwitchStyle.js.map +1 -0
  212. package/lib/commonjs/version.json +1 -1
  213. package/lib/module/components/Attachment/Attachment.js +15 -52
  214. package/lib/module/components/Attachment/Attachment.js.map +1 -1
  215. package/lib/module/components/Attachment/FileAttachment.js +4 -6
  216. package/lib/module/components/Attachment/FileAttachment.js.map +1 -1
  217. package/lib/module/components/Attachment/FileAttachmentGroup.js +4 -10
  218. package/lib/module/components/Attachment/FileAttachmentGroup.js.map +1 -1
  219. package/lib/module/components/Attachment/FilePreview.js +3 -6
  220. package/lib/module/components/Attachment/FilePreview.js.map +1 -1
  221. package/lib/module/components/Attachment/Gallery.js +9 -28
  222. package/lib/module/components/Attachment/Gallery.js.map +1 -1
  223. package/lib/module/components/Attachment/GalleryImage.js +3 -3
  224. package/lib/module/components/Attachment/GalleryImage.js.map +1 -1
  225. package/lib/module/components/Attachment/Giphy/GiphyImage.js +7 -13
  226. package/lib/module/components/Attachment/Giphy/GiphyImage.js.map +1 -1
  227. package/lib/module/components/Attachment/UnsupportedAttachment.js +4 -6
  228. package/lib/module/components/Attachment/UnsupportedAttachment.js.map +1 -1
  229. package/lib/module/components/Attachment/UrlPreview/URLPreview.js +3 -3
  230. package/lib/module/components/Attachment/UrlPreview/URLPreview.js.map +1 -1
  231. package/lib/module/components/Attachment/UrlPreview/URLPreviewCompact.js +3 -3
  232. package/lib/module/components/Attachment/UrlPreview/URLPreviewCompact.js.map +1 -1
  233. package/lib/module/components/AttachmentPicker/AttachmentPicker.js +4 -2
  234. package/lib/module/components/AttachmentPicker/AttachmentPicker.js.map +1 -1
  235. package/lib/module/components/AttachmentPicker/components/AttachmentMediaPicker/AttachmentPickerItem.js +7 -4
  236. package/lib/module/components/AttachmentPicker/components/AttachmentMediaPicker/AttachmentPickerItem.js.map +1 -1
  237. package/lib/module/components/AutoCompleteInput/AutoCompleteSuggestionList.js +9 -13
  238. package/lib/module/components/AutoCompleteInput/AutoCompleteSuggestionList.js.map +1 -1
  239. package/lib/module/components/Channel/Channel.js +9 -418
  240. package/lib/module/components/Channel/Channel.js.map +1 -1
  241. package/lib/module/components/Channel/hooks/useCreateChannelContext.js +0 -8
  242. package/lib/module/components/Channel/hooks/useCreateChannelContext.js.map +1 -1
  243. package/lib/module/components/Channel/hooks/useCreateInputMessageInputContext.js +3 -77
  244. package/lib/module/components/Channel/hooks/useCreateInputMessageInputContext.js.map +1 -1
  245. package/lib/module/components/Channel/hooks/useCreateMessagesContext.js +2 -132
  246. package/lib/module/components/Channel/hooks/useCreateMessagesContext.js.map +1 -1
  247. package/lib/module/components/ChannelList/ChannelList.js +1 -57
  248. package/lib/module/components/ChannelList/ChannelList.js.map +1 -1
  249. package/lib/module/components/ChannelList/ChannelListLoadingIndicator.js +4 -2
  250. package/lib/module/components/ChannelList/ChannelListLoadingIndicator.js.map +1 -1
  251. package/lib/module/components/ChannelList/ChannelListView.js +11 -20
  252. package/lib/module/components/ChannelList/ChannelListView.js.map +1 -1
  253. package/lib/module/components/ChannelList/hooks/useCreateChannelsContext.js +1 -39
  254. package/lib/module/components/ChannelList/hooks/useCreateChannelsContext.js.map +1 -1
  255. package/lib/module/components/ChannelPreview/ChannelDetailsBottomSheet.js +3 -2
  256. package/lib/module/components/ChannelPreview/ChannelDetailsBottomSheet.js.map +1 -1
  257. package/lib/module/components/ChannelPreview/ChannelPreview.js +4 -6
  258. package/lib/module/components/ChannelPreview/ChannelPreview.js.map +1 -1
  259. package/lib/module/components/ChannelPreview/ChannelPreviewMessage.js +6 -18
  260. package/lib/module/components/ChannelPreview/ChannelPreviewMessage.js.map +1 -1
  261. package/lib/module/components/ChannelPreview/ChannelPreviewView.js +8 -28
  262. package/lib/module/components/ChannelPreview/ChannelPreviewView.js.map +1 -1
  263. package/lib/module/components/ChannelPreview/ChannelSwipableWrapper.js +3 -3
  264. package/lib/module/components/ChannelPreview/ChannelSwipableWrapper.js.map +1 -1
  265. package/lib/module/components/Chat/Chat.js +4 -6
  266. package/lib/module/components/Chat/Chat.js.map +1 -1
  267. package/lib/module/components/Chat/hooks/useCreateChatContext.js +0 -2
  268. package/lib/module/components/Chat/hooks/useCreateChatContext.js.map +1 -1
  269. package/lib/module/components/ImageGallery/ImageGallery.js +7 -9
  270. package/lib/module/components/ImageGallery/ImageGallery.js.map +1 -1
  271. package/lib/module/components/ImageGallery/components/ImageGalleryFooter.js +4 -2
  272. package/lib/module/components/ImageGallery/components/ImageGalleryFooter.js.map +1 -1
  273. package/lib/module/components/Message/Message.js +9 -13
  274. package/lib/module/components/Message/Message.js.map +1 -1
  275. package/lib/module/components/Message/MessageItemView/MessageBubble.js +4 -2
  276. package/lib/module/components/Message/MessageItemView/MessageBubble.js.map +1 -1
  277. package/lib/module/components/Message/MessageItemView/MessageContent.js +18 -39
  278. package/lib/module/components/Message/MessageItemView/MessageContent.js.map +1 -1
  279. package/lib/module/components/Message/MessageItemView/MessageDeleted.js +5 -7
  280. package/lib/module/components/Message/MessageItemView/MessageDeleted.js.map +1 -1
  281. package/lib/module/components/Message/MessageItemView/MessageFooter.js +4 -8
  282. package/lib/module/components/Message/MessageItemView/MessageFooter.js.map +1 -1
  283. package/lib/module/components/Message/MessageItemView/MessageHeader.js +8 -16
  284. package/lib/module/components/Message/MessageItemView/MessageHeader.js.map +1 -1
  285. package/lib/module/components/Message/MessageItemView/MessageItemView.js +13 -35
  286. package/lib/module/components/Message/MessageItemView/MessageItemView.js.map +1 -1
  287. package/lib/module/components/Message/MessageItemView/MessageReplies.js +3 -5
  288. package/lib/module/components/Message/MessageItemView/MessageReplies.js.map +1 -1
  289. package/lib/module/components/Message/MessageItemView/MessageTextContainer.js +3 -3
  290. package/lib/module/components/Message/MessageItemView/MessageTextContainer.js.map +1 -1
  291. package/lib/module/components/Message/MessageItemView/MessageWrapper.js +6 -4
  292. package/lib/module/components/Message/MessageItemView/MessageWrapper.js.map +1 -1
  293. package/lib/module/components/Message/MessageItemView/ReactionList/ReactionListBottom.js +6 -8
  294. package/lib/module/components/Message/MessageItemView/ReactionList/ReactionListBottom.js.map +1 -1
  295. package/lib/module/components/Message/MessageItemView/ReactionList/ReactionListTop.js +7 -11
  296. package/lib/module/components/Message/MessageItemView/ReactionList/ReactionListTop.js.map +1 -1
  297. package/lib/module/components/Message/MessageItemView/utils/renderText.js +3 -1
  298. package/lib/module/components/Message/MessageItemView/utils/renderText.js.map +1 -1
  299. package/lib/module/components/MessageInput/MessageComposer.js +15 -55
  300. package/lib/module/components/MessageInput/MessageComposer.js.map +1 -1
  301. package/lib/module/components/MessageInput/MessageInputHeaderView.js +5 -5
  302. package/lib/module/components/MessageInput/MessageInputHeaderView.js.map +1 -1
  303. package/lib/module/components/MessageInput/components/AttachmentPreview/AttachmentUploadPreviewList.js +9 -17
  304. package/lib/module/components/MessageInput/components/AttachmentPreview/AttachmentUploadPreviewList.js.map +1 -1
  305. package/lib/module/components/MessageInput/components/AttachmentPreview/FileAttachmentUploadPreview.js +5 -5
  306. package/lib/module/components/MessageInput/components/AttachmentPreview/FileAttachmentUploadPreview.js.map +1 -1
  307. package/lib/module/components/MessageInput/components/AttachmentPreview/ImageAttachmentUploadPreview.js +5 -5
  308. package/lib/module/components/MessageInput/components/AttachmentPreview/ImageAttachmentUploadPreview.js.map +1 -1
  309. package/lib/module/components/MessageInput/components/AudioRecorder/AudioRecordingInProgress.js +5 -5
  310. package/lib/module/components/MessageInput/components/AudioRecorder/AudioRecordingInProgress.js.map +1 -1
  311. package/lib/module/components/MessageInput/components/InputButtons/index.js +4 -4
  312. package/lib/module/components/MessageInput/components/InputButtons/index.js.map +1 -1
  313. package/lib/module/components/MessageInput/components/LinkPreviewList.js +3 -2
  314. package/lib/module/components/MessageInput/components/LinkPreviewList.js.map +1 -1
  315. package/lib/module/components/MessageInput/components/OutputButtons/index.js +7 -13
  316. package/lib/module/components/MessageInput/components/OutputButtons/index.js.map +1 -1
  317. package/lib/module/components/MessageList/MessageFlashList.js +14 -40
  318. package/lib/module/components/MessageList/MessageFlashList.js.map +1 -1
  319. package/lib/module/components/MessageList/MessageList.js +12 -38
  320. package/lib/module/components/MessageList/MessageList.js.map +1 -1
  321. package/lib/module/components/MessageList/StickyHeader.js +3 -1
  322. package/lib/module/components/MessageList/StickyHeader.js.map +1 -1
  323. package/lib/module/components/MessageMenu/MessageActionList.js +4 -2
  324. package/lib/module/components/MessageMenu/MessageActionList.js.map +1 -1
  325. package/lib/module/components/MessageMenu/MessageMenu.js.map +1 -1
  326. package/lib/module/components/MessageMenu/MessageUserReactions.js +4 -8
  327. package/lib/module/components/MessageMenu/MessageUserReactions.js.map +1 -1
  328. package/lib/module/components/MessageMenu/MessageUserReactionsItem.js +4 -2
  329. package/lib/module/components/MessageMenu/MessageUserReactionsItem.js.map +1 -1
  330. package/lib/module/components/Poll/CreatePollContent.js +8 -4
  331. package/lib/module/components/Poll/CreatePollContent.js.map +1 -1
  332. package/lib/module/components/Poll/Poll.js +12 -9
  333. package/lib/module/components/Poll/Poll.js.map +1 -1
  334. package/lib/module/components/Poll/components/MultipleAnswersField.js +5 -3
  335. package/lib/module/components/Poll/components/MultipleAnswersField.js.map +1 -1
  336. package/lib/module/components/Poll/components/MultipleVotesSettings.js +5 -3
  337. package/lib/module/components/Poll/components/MultipleVotesSettings.js.map +1 -1
  338. package/lib/module/components/Poll/components/PollAnswersList.js +5 -3
  339. package/lib/module/components/Poll/components/PollAnswersList.js.map +1 -1
  340. package/lib/module/components/Poll/components/PollInputDialog.js +2 -1
  341. package/lib/module/components/Poll/components/PollInputDialog.js.map +1 -1
  342. package/lib/module/components/Poll/components/PollOption.js +5 -3
  343. package/lib/module/components/Poll/components/PollOption.js.map +1 -1
  344. package/lib/module/components/Poll/components/PollResults/PollOptionFullResults.js +5 -5
  345. package/lib/module/components/Poll/components/PollResults/PollOptionFullResults.js.map +1 -1
  346. package/lib/module/components/Poll/components/PollResults/PollResults.js +5 -3
  347. package/lib/module/components/Poll/components/PollResults/PollResults.js.map +1 -1
  348. package/lib/module/components/Reply/Reply.js +11 -4
  349. package/lib/module/components/Reply/Reply.js.map +1 -1
  350. package/lib/module/components/Thread/Thread.js +4 -8
  351. package/lib/module/components/Thread/Thread.js.map +1 -1
  352. package/lib/module/components/Thread/components/ThreadFooterComponent.js +4 -6
  353. package/lib/module/components/Thread/components/ThreadFooterComponent.js.map +1 -1
  354. package/lib/module/components/ThreadList/ThreadList.js +12 -15
  355. package/lib/module/components/ThreadList/ThreadList.js.map +1 -1
  356. package/lib/module/components/ThreadList/ThreadListItem.js +8 -11
  357. package/lib/module/components/ThreadList/ThreadListItem.js.map +1 -1
  358. package/lib/module/components/ui/Avatar/Avatar.js +3 -3
  359. package/lib/module/components/ui/Avatar/Avatar.js.map +1 -1
  360. package/lib/module/contexts/attachmentPickerContext/AttachmentPickerContext.js.map +1 -1
  361. package/lib/module/contexts/channelContext/ChannelContext.js.map +1 -1
  362. package/lib/module/contexts/channelsContext/ChannelsContext.js.map +1 -1
  363. package/lib/module/contexts/chatContext/ChatContext.js.map +1 -1
  364. package/lib/module/contexts/componentsContext/ComponentsContext.js +37 -0
  365. package/lib/module/contexts/componentsContext/ComponentsContext.js.map +1 -0
  366. package/lib/module/contexts/componentsContext/PLAN.md +148 -0
  367. package/lib/module/contexts/componentsContext/defaultComponents.js +286 -0
  368. package/lib/module/contexts/componentsContext/defaultComponents.js.map +1 -0
  369. package/lib/module/contexts/imageGalleryContext/ImageGalleryContext.js +1 -9
  370. package/lib/module/contexts/imageGalleryContext/ImageGalleryContext.js.map +1 -1
  371. package/lib/module/contexts/imageGalleryContext/ImageGalleryContextBase.js.map +1 -1
  372. package/lib/module/contexts/index.js +11 -0
  373. package/lib/module/contexts/index.js.map +1 -1
  374. package/lib/module/contexts/messageInputContext/MessageInputContext.js.map +1 -1
  375. package/lib/module/contexts/messageInputContext/hooks/useCreateMessageInputContext.js +2 -76
  376. package/lib/module/contexts/messageInputContext/hooks/useCreateMessageInputContext.js.map +1 -1
  377. package/lib/module/contexts/messagesContext/MessagesContext.js.map +1 -1
  378. package/lib/module/contexts/overlayContext/MessageOverlayHostLayer.js +7 -5
  379. package/lib/module/contexts/overlayContext/MessageOverlayHostLayer.js.map +1 -1
  380. package/lib/module/contexts/overlayContext/OverlayContext.js.map +1 -1
  381. package/lib/module/contexts/overlayContext/OverlayProvider.js +1 -4
  382. package/lib/module/contexts/overlayContext/OverlayProvider.js.map +1 -1
  383. package/lib/module/contexts/threadsContext/ThreadsContext.js.map +1 -1
  384. package/lib/module/hooks/messagePreview/useMessagePreviewText.js +28 -13
  385. package/lib/module/hooks/messagePreview/useMessagePreviewText.js.map +1 -1
  386. package/lib/module/i18n/en.json +20 -0
  387. package/lib/module/i18n/es.json +20 -0
  388. package/lib/module/i18n/fr.json +20 -0
  389. package/lib/module/i18n/he.json +20 -0
  390. package/lib/module/i18n/hi.json +20 -0
  391. package/lib/module/i18n/it.json +20 -0
  392. package/lib/module/i18n/ja.json +20 -0
  393. package/lib/module/i18n/ko.json +20 -0
  394. package/lib/module/i18n/nl.json +20 -0
  395. package/lib/module/i18n/pt-br.json +20 -0
  396. package/lib/module/i18n/ru.json +20 -0
  397. package/lib/module/i18n/tr.json +20 -0
  398. package/lib/module/icons/arrow-up-right.js +10 -6
  399. package/lib/module/icons/arrow-up-right.js.map +1 -1
  400. package/lib/module/icons/audio.js +10 -6
  401. package/lib/module/icons/audio.js.map +1 -1
  402. package/lib/module/icons/chevron-left.js +10 -6
  403. package/lib/module/icons/chevron-left.js.map +1 -1
  404. package/lib/module/icons/leave.js +10 -6
  405. package/lib/module/icons/leave.js.map +1 -1
  406. package/lib/module/icons/message-bubble.js +10 -6
  407. package/lib/module/icons/message-bubble.js.map +1 -1
  408. package/lib/module/icons/mute.js +11 -7
  409. package/lib/module/icons/mute.js.map +1 -1
  410. package/lib/module/icons/reply.js +10 -6
  411. package/lib/module/icons/reply.js.map +1 -1
  412. package/lib/module/icons/search.js +11 -7
  413. package/lib/module/icons/search.js.map +1 -1
  414. package/lib/module/icons/send.js +11 -7
  415. package/lib/module/icons/send.js.map +1 -1
  416. package/lib/module/icons/thread.js +10 -6
  417. package/lib/module/icons/thread.js.map +1 -1
  418. package/lib/module/icons/video-fill.js +2 -0
  419. package/lib/module/icons/video-fill.js.map +1 -1
  420. package/lib/module/icons/video.js +10 -6
  421. package/lib/module/icons/video.js.map +1 -1
  422. package/lib/module/utils/rtlMirrorSwitchStyle.js +20 -0
  423. package/lib/module/utils/rtlMirrorSwitchStyle.js.map +1 -0
  424. package/lib/module/version.json +1 -1
  425. package/lib/typescript/components/Attachment/Attachment.d.ts +1 -1
  426. package/lib/typescript/components/Attachment/Attachment.d.ts.map +1 -1
  427. package/lib/typescript/components/Attachment/FileAttachment.d.ts +1 -1
  428. package/lib/typescript/components/Attachment/FileAttachment.d.ts.map +1 -1
  429. package/lib/typescript/components/Attachment/FileAttachmentGroup.d.ts +1 -2
  430. package/lib/typescript/components/Attachment/FileAttachmentGroup.d.ts.map +1 -1
  431. package/lib/typescript/components/Attachment/FilePreview.d.ts +2 -3
  432. package/lib/typescript/components/Attachment/FilePreview.d.ts.map +1 -1
  433. package/lib/typescript/components/Attachment/Gallery.d.ts +1 -1
  434. package/lib/typescript/components/Attachment/Gallery.d.ts.map +1 -1
  435. package/lib/typescript/components/Attachment/GalleryImage.d.ts +3 -2
  436. package/lib/typescript/components/Attachment/GalleryImage.d.ts.map +1 -1
  437. package/lib/typescript/components/Attachment/Giphy/GiphyImage.d.ts +4 -2
  438. package/lib/typescript/components/Attachment/Giphy/GiphyImage.d.ts.map +1 -1
  439. package/lib/typescript/components/Attachment/UnsupportedAttachment.d.ts +2 -3
  440. package/lib/typescript/components/Attachment/UnsupportedAttachment.d.ts.map +1 -1
  441. package/lib/typescript/components/Attachment/UrlPreview/URLPreview.d.ts +4 -3
  442. package/lib/typescript/components/Attachment/UrlPreview/URLPreview.d.ts.map +1 -1
  443. package/lib/typescript/components/Attachment/UrlPreview/URLPreviewCompact.d.ts +4 -3
  444. package/lib/typescript/components/Attachment/UrlPreview/URLPreviewCompact.d.ts.map +1 -1
  445. package/lib/typescript/components/AttachmentPicker/AttachmentPicker.d.ts.map +1 -1
  446. package/lib/typescript/components/AttachmentPicker/components/AttachmentMediaPicker/AttachmentPickerItem.d.ts.map +1 -1
  447. package/lib/typescript/components/AutoCompleteInput/AutoCompleteSuggestionList.d.ts +2 -3
  448. package/lib/typescript/components/AutoCompleteInput/AutoCompleteSuggestionList.d.ts.map +1 -1
  449. package/lib/typescript/components/Channel/Channel.d.ts +3 -28
  450. package/lib/typescript/components/Channel/Channel.d.ts.map +1 -1
  451. package/lib/typescript/components/Channel/hooks/useCreateChannelContext.d.ts +1 -1
  452. package/lib/typescript/components/Channel/hooks/useCreateChannelContext.d.ts.map +1 -1
  453. package/lib/typescript/components/Channel/hooks/useCreateInputMessageInputContext.d.ts +1 -1
  454. package/lib/typescript/components/Channel/hooks/useCreateInputMessageInputContext.d.ts.map +1 -1
  455. package/lib/typescript/components/Channel/hooks/useCreateMessagesContext.d.ts +1 -1
  456. package/lib/typescript/components/Channel/hooks/useCreateMessagesContext.d.ts.map +1 -1
  457. package/lib/typescript/components/Channel/hooks/useMessageListPagination.d.ts.map +1 -1
  458. package/lib/typescript/components/ChannelList/ChannelList.d.ts +2 -10
  459. package/lib/typescript/components/ChannelList/ChannelList.d.ts.map +1 -1
  460. package/lib/typescript/components/ChannelList/ChannelListLoadingIndicator.d.ts.map +1 -1
  461. package/lib/typescript/components/ChannelList/ChannelListView.d.ts +1 -1
  462. package/lib/typescript/components/ChannelList/ChannelListView.d.ts.map +1 -1
  463. package/lib/typescript/components/ChannelList/hooks/useCreateChannelsContext.d.ts +1 -1
  464. package/lib/typescript/components/ChannelList/hooks/useCreateChannelsContext.d.ts.map +1 -1
  465. package/lib/typescript/components/ChannelPreview/ChannelDetailsBottomSheet.d.ts +1 -2
  466. package/lib/typescript/components/ChannelPreview/ChannelDetailsBottomSheet.d.ts.map +1 -1
  467. package/lib/typescript/components/ChannelPreview/ChannelPreview.d.ts +1 -1
  468. package/lib/typescript/components/ChannelPreview/ChannelPreview.d.ts.map +1 -1
  469. package/lib/typescript/components/ChannelPreview/ChannelPreviewMessage.d.ts +1 -2
  470. package/lib/typescript/components/ChannelPreview/ChannelPreviewMessage.d.ts.map +1 -1
  471. package/lib/typescript/components/ChannelPreview/ChannelPreviewView.d.ts +1 -1
  472. package/lib/typescript/components/ChannelPreview/ChannelPreviewView.d.ts.map +1 -1
  473. package/lib/typescript/components/ChannelPreview/ChannelSwipableWrapper.d.ts +1 -3
  474. package/lib/typescript/components/ChannelPreview/ChannelSwipableWrapper.d.ts.map +1 -1
  475. package/lib/typescript/components/Chat/Chat.d.ts +1 -7
  476. package/lib/typescript/components/Chat/Chat.d.ts.map +1 -1
  477. package/lib/typescript/components/Chat/hooks/useCreateChatContext.d.ts +1 -1
  478. package/lib/typescript/components/Chat/hooks/useCreateChatContext.d.ts.map +1 -1
  479. package/lib/typescript/components/ImageGallery/ImageGallery.d.ts +6 -1
  480. package/lib/typescript/components/ImageGallery/ImageGallery.d.ts.map +1 -1
  481. package/lib/typescript/components/ImageGallery/components/ImageGalleryFooter.d.ts.map +1 -1
  482. package/lib/typescript/components/ImageGallery/components/types.d.ts +0 -2
  483. package/lib/typescript/components/ImageGallery/components/types.d.ts.map +1 -1
  484. package/lib/typescript/components/Message/Message.d.ts +1 -1
  485. package/lib/typescript/components/Message/Message.d.ts.map +1 -1
  486. package/lib/typescript/components/Message/MessageItemView/MessageBubble.d.ts +1 -2
  487. package/lib/typescript/components/Message/MessageItemView/MessageBubble.d.ts.map +1 -1
  488. package/lib/typescript/components/Message/MessageItemView/MessageContent.d.ts +1 -1
  489. package/lib/typescript/components/Message/MessageItemView/MessageContent.d.ts.map +1 -1
  490. package/lib/typescript/components/Message/MessageItemView/MessageDeleted.d.ts +1 -2
  491. package/lib/typescript/components/Message/MessageItemView/MessageDeleted.d.ts.map +1 -1
  492. package/lib/typescript/components/Message/MessageItemView/MessageFooter.d.ts +0 -2
  493. package/lib/typescript/components/Message/MessageItemView/MessageFooter.d.ts.map +1 -1
  494. package/lib/typescript/components/Message/MessageItemView/MessageHeader.d.ts.map +1 -1
  495. package/lib/typescript/components/Message/MessageItemView/MessageItemView.d.ts +1 -1
  496. package/lib/typescript/components/Message/MessageItemView/MessageItemView.d.ts.map +1 -1
  497. package/lib/typescript/components/Message/MessageItemView/MessageReplies.d.ts +1 -2
  498. package/lib/typescript/components/Message/MessageItemView/MessageReplies.d.ts.map +1 -1
  499. package/lib/typescript/components/Message/MessageItemView/MessageTextContainer.d.ts +1 -1
  500. package/lib/typescript/components/Message/MessageItemView/MessageTextContainer.d.ts.map +1 -1
  501. package/lib/typescript/components/Message/MessageItemView/MessageWrapper.d.ts.map +1 -1
  502. package/lib/typescript/components/Message/MessageItemView/ReactionList/ReactionListBottom.d.ts +1 -1
  503. package/lib/typescript/components/Message/MessageItemView/ReactionList/ReactionListBottom.d.ts.map +1 -1
  504. package/lib/typescript/components/Message/MessageItemView/ReactionList/ReactionListTop.d.ts +1 -1
  505. package/lib/typescript/components/Message/MessageItemView/ReactionList/ReactionListTop.d.ts.map +1 -1
  506. package/lib/typescript/components/Message/MessageItemView/utils/renderText.d.ts.map +1 -1
  507. package/lib/typescript/components/MessageInput/MessageComposer.d.ts +1 -2
  508. package/lib/typescript/components/MessageInput/MessageComposer.d.ts.map +1 -1
  509. package/lib/typescript/components/MessageInput/components/AttachmentPreview/AttachmentUploadPreviewList.d.ts +3 -4
  510. package/lib/typescript/components/MessageInput/components/AttachmentPreview/AttachmentUploadPreviewList.d.ts.map +1 -1
  511. package/lib/typescript/components/MessageInput/components/AudioRecorder/AudioRecordingInProgress.d.ts +1 -1
  512. package/lib/typescript/components/MessageInput/components/AudioRecorder/AudioRecordingInProgress.d.ts.map +1 -1
  513. package/lib/typescript/components/MessageInput/components/InputButtons/index.d.ts +1 -1
  514. package/lib/typescript/components/MessageInput/components/InputButtons/index.d.ts.map +1 -1
  515. package/lib/typescript/components/MessageInput/components/LinkPreviewList.d.ts.map +1 -1
  516. package/lib/typescript/components/MessageInput/components/OutputButtons/index.d.ts +1 -1
  517. package/lib/typescript/components/MessageInput/components/OutputButtons/index.d.ts.map +1 -1
  518. package/lib/typescript/components/MessageList/MessageFlashList.d.ts +1 -1
  519. package/lib/typescript/components/MessageList/MessageFlashList.d.ts.map +1 -1
  520. package/lib/typescript/components/MessageList/MessageList.d.ts +1 -1
  521. package/lib/typescript/components/MessageList/MessageList.d.ts.map +1 -1
  522. package/lib/typescript/components/MessageList/StickyHeader.d.ts +2 -3
  523. package/lib/typescript/components/MessageList/StickyHeader.d.ts.map +1 -1
  524. package/lib/typescript/components/MessageMenu/MessageActionList.d.ts +1 -2
  525. package/lib/typescript/components/MessageMenu/MessageActionList.d.ts.map +1 -1
  526. package/lib/typescript/components/MessageMenu/MessageMenu.d.ts +1 -2
  527. package/lib/typescript/components/MessageMenu/MessageMenu.d.ts.map +1 -1
  528. package/lib/typescript/components/MessageMenu/MessageUserReactions.d.ts +1 -1
  529. package/lib/typescript/components/MessageMenu/MessageUserReactions.d.ts.map +1 -1
  530. package/lib/typescript/components/MessageMenu/MessageUserReactionsItem.d.ts +2 -3
  531. package/lib/typescript/components/MessageMenu/MessageUserReactionsItem.d.ts.map +1 -1
  532. package/lib/typescript/components/Poll/CreatePollContent.d.ts +2 -2
  533. package/lib/typescript/components/Poll/CreatePollContent.d.ts.map +1 -1
  534. package/lib/typescript/components/Poll/Poll.d.ts +5 -8
  535. package/lib/typescript/components/Poll/Poll.d.ts.map +1 -1
  536. package/lib/typescript/components/Poll/components/MultipleVotesSettings.d.ts.map +1 -1
  537. package/lib/typescript/components/Poll/components/PollAnswersList.d.ts +1 -2
  538. package/lib/typescript/components/Poll/components/PollAnswersList.d.ts.map +1 -1
  539. package/lib/typescript/components/Poll/components/PollOption.d.ts +1 -2
  540. package/lib/typescript/components/Poll/components/PollOption.d.ts.map +1 -1
  541. package/lib/typescript/components/Poll/components/PollResults/PollOptionFullResults.d.ts +1 -4
  542. package/lib/typescript/components/Poll/components/PollResults/PollOptionFullResults.d.ts.map +1 -1
  543. package/lib/typescript/components/Poll/components/PollResults/PollResults.d.ts +1 -2
  544. package/lib/typescript/components/Poll/components/PollResults/PollResults.d.ts.map +1 -1
  545. package/lib/typescript/components/Reply/Reply.d.ts +4 -3
  546. package/lib/typescript/components/Reply/Reply.d.ts.map +1 -1
  547. package/lib/typescript/components/Thread/Thread.d.ts +2 -8
  548. package/lib/typescript/components/Thread/Thread.d.ts.map +1 -1
  549. package/lib/typescript/components/Thread/components/ThreadFooterComponent.d.ts +1 -2
  550. package/lib/typescript/components/Thread/components/ThreadFooterComponent.d.ts.map +1 -1
  551. package/lib/typescript/components/ThreadList/ThreadList.d.ts +2 -3
  552. package/lib/typescript/components/ThreadList/ThreadList.d.ts.map +1 -1
  553. package/lib/typescript/components/ThreadList/ThreadListItem.d.ts.map +1 -1
  554. package/lib/typescript/contexts/attachmentPickerContext/AttachmentPickerContext.d.ts +0 -17
  555. package/lib/typescript/contexts/attachmentPickerContext/AttachmentPickerContext.d.ts.map +1 -1
  556. package/lib/typescript/contexts/channelContext/ChannelContext.d.ts +0 -23
  557. package/lib/typescript/contexts/channelContext/ChannelContext.d.ts.map +1 -1
  558. package/lib/typescript/contexts/channelsContext/ChannelsContext.d.ts +0 -112
  559. package/lib/typescript/contexts/channelsContext/ChannelsContext.d.ts.map +1 -1
  560. package/lib/typescript/contexts/chatContext/ChatContext.d.ts +0 -5
  561. package/lib/typescript/contexts/chatContext/ChatContext.d.ts.map +1 -1
  562. package/lib/typescript/contexts/componentsContext/ComponentsContext.d.ts +321 -0
  563. package/lib/typescript/contexts/componentsContext/ComponentsContext.d.ts.map +1 -0
  564. package/lib/typescript/contexts/componentsContext/defaultComponents.d.ts +296 -0
  565. package/lib/typescript/contexts/componentsContext/defaultComponents.d.ts.map +1 -0
  566. package/lib/typescript/contexts/imageGalleryContext/ImageGalleryContext.d.ts.map +1 -1
  567. package/lib/typescript/contexts/imageGalleryContext/ImageGalleryContextBase.d.ts +0 -5
  568. package/lib/typescript/contexts/imageGalleryContext/ImageGalleryContextBase.d.ts.map +1 -1
  569. package/lib/typescript/contexts/index.d.ts +1 -0
  570. package/lib/typescript/contexts/index.d.ts.map +1 -1
  571. package/lib/typescript/contexts/messageInputContext/MessageInputContext.d.ts +1 -169
  572. package/lib/typescript/contexts/messageInputContext/MessageInputContext.d.ts.map +1 -1
  573. package/lib/typescript/contexts/messageInputContext/hooks/useCreateMessageInputContext.d.ts +1 -1
  574. package/lib/typescript/contexts/messageInputContext/hooks/useCreateMessageInputContext.d.ts.map +1 -1
  575. package/lib/typescript/contexts/messagesContext/MessagesContext.d.ts +3 -332
  576. package/lib/typescript/contexts/messagesContext/MessagesContext.d.ts.map +1 -1
  577. package/lib/typescript/contexts/overlayContext/MessageOverlayHostLayer.d.ts +2 -5
  578. package/lib/typescript/contexts/overlayContext/MessageOverlayHostLayer.d.ts.map +1 -1
  579. package/lib/typescript/contexts/overlayContext/OverlayContext.d.ts +0 -4
  580. package/lib/typescript/contexts/overlayContext/OverlayContext.d.ts.map +1 -1
  581. package/lib/typescript/contexts/overlayContext/OverlayProvider.d.ts.map +1 -1
  582. package/lib/typescript/contexts/threadsContext/ThreadsContext.d.ts +0 -9
  583. package/lib/typescript/contexts/threadsContext/ThreadsContext.d.ts.map +1 -1
  584. package/lib/typescript/hooks/messagePreview/useMessagePreviewText.d.ts.map +1 -1
  585. package/lib/typescript/i18n/en.json +20 -0
  586. package/lib/typescript/i18n/es.json +20 -0
  587. package/lib/typescript/i18n/fr.json +20 -0
  588. package/lib/typescript/i18n/he.json +20 -0
  589. package/lib/typescript/i18n/hi.json +20 -0
  590. package/lib/typescript/i18n/it.json +20 -0
  591. package/lib/typescript/i18n/ja.json +20 -0
  592. package/lib/typescript/i18n/ko.json +20 -0
  593. package/lib/typescript/i18n/nl.json +20 -0
  594. package/lib/typescript/i18n/pt-br.json +20 -0
  595. package/lib/typescript/i18n/ru.json +20 -0
  596. package/lib/typescript/i18n/tr.json +20 -0
  597. package/lib/typescript/icons/arrow-up-right.d.ts.map +1 -1
  598. package/lib/typescript/icons/audio.d.ts.map +1 -1
  599. package/lib/typescript/icons/chevron-left.d.ts.map +1 -1
  600. package/lib/typescript/icons/leave.d.ts.map +1 -1
  601. package/lib/typescript/icons/message-bubble.d.ts.map +1 -1
  602. package/lib/typescript/icons/mute.d.ts.map +1 -1
  603. package/lib/typescript/icons/reply.d.ts.map +1 -1
  604. package/lib/typescript/icons/search.d.ts.map +1 -1
  605. package/lib/typescript/icons/send.d.ts.map +1 -1
  606. package/lib/typescript/icons/thread.d.ts.map +1 -1
  607. package/lib/typescript/icons/video-fill.d.ts.map +1 -1
  608. package/lib/typescript/icons/video.d.ts.map +1 -1
  609. package/lib/typescript/utils/i18n/Streami18n.d.ts +20 -0
  610. package/lib/typescript/utils/i18n/Streami18n.d.ts.map +1 -1
  611. package/lib/typescript/utils/rtlMirrorSwitchStyle.d.ts +9 -0
  612. package/lib/typescript/utils/rtlMirrorSwitchStyle.d.ts.map +1 -0
  613. package/package.json +1 -1
  614. package/src/__tests__/offline-support/offline-feature.js +64 -67
  615. package/src/components/Attachment/Attachment.tsx +7 -69
  616. package/src/components/Attachment/FileAttachment.tsx +4 -7
  617. package/src/components/Attachment/FileAttachmentGroup.tsx +9 -19
  618. package/src/components/Attachment/FilePreview.tsx +4 -9
  619. package/src/components/Attachment/Gallery.tsx +6 -83
  620. package/src/components/Attachment/GalleryImage.tsx +5 -4
  621. package/src/components/Attachment/Giphy/GiphyImage.tsx +15 -37
  622. package/src/components/Attachment/UnsupportedAttachment.tsx +5 -10
  623. package/src/components/Attachment/UrlPreview/URLPreview.tsx +6 -4
  624. package/src/components/Attachment/UrlPreview/URLPreviewCompact.tsx +6 -4
  625. package/src/components/AttachmentPicker/AttachmentPicker.tsx +2 -2
  626. package/src/components/AttachmentPicker/components/AttachmentMediaPicker/AttachmentPickerItem.tsx +5 -4
  627. package/src/components/AutoCompleteInput/AutoCompleteSuggestionList.tsx +4 -20
  628. package/src/components/Channel/Channel.tsx +31 -438
  629. package/src/components/Channel/__tests__/isAttachmentEqualHandler.test.js +12 -9
  630. package/src/components/Channel/hooks/useCreateChannelContext.ts +0 -8
  631. package/src/components/Channel/hooks/useCreateInputMessageInputContext.ts +1 -81
  632. package/src/components/Channel/hooks/useCreateMessagesContext.ts +0 -130
  633. package/src/components/ChannelList/ChannelList.tsx +3 -76
  634. package/src/components/ChannelList/ChannelListLoadingIndicator.tsx +3 -1
  635. package/src/components/ChannelList/ChannelListView.tsx +12 -33
  636. package/src/components/ChannelList/__tests__/ChannelList.test.js +173 -116
  637. package/src/components/ChannelList/__tests__/ChannelListView.test.js +64 -41
  638. package/src/components/ChannelList/hooks/useCreateChannelsContext.ts +0 -39
  639. package/src/components/ChannelPreview/ChannelDetailsBottomSheet.tsx +2 -2
  640. package/src/components/ChannelPreview/ChannelPreview.tsx +6 -14
  641. package/src/components/ChannelPreview/ChannelPreviewMessage.tsx +7 -33
  642. package/src/components/ChannelPreview/ChannelPreviewView.tsx +11 -40
  643. package/src/components/ChannelPreview/ChannelSwipableWrapper.tsx +2 -4
  644. package/src/components/ChannelPreview/__tests__/ChannelDetailsBottomSheet.test.tsx +16 -12
  645. package/src/components/ChannelPreview/__tests__/ChannelPreview.test.tsx +25 -24
  646. package/src/components/ChannelPreview/__tests__/ChannelSwipableWrapper.test.tsx +11 -6
  647. package/src/components/Chat/Chat.tsx +5 -12
  648. package/src/components/Chat/hooks/useCreateChatContext.ts +0 -2
  649. package/src/components/ImageGallery/ImageGallery.tsx +14 -16
  650. package/src/components/ImageGallery/__tests__/ImageGallery.test.tsx +0 -8
  651. package/src/components/ImageGallery/__tests__/ImageGalleryFooter.test.tsx +25 -21
  652. package/src/components/ImageGallery/components/ImageGalleryFooter.tsx +3 -1
  653. package/src/components/ImageGallery/components/types.ts +0 -3
  654. package/src/components/Message/Message.tsx +11 -32
  655. package/src/components/Message/MessageItemView/MessageBubble.tsx +11 -7
  656. package/src/components/Message/MessageItemView/MessageContent.tsx +14 -47
  657. package/src/components/Message/MessageItemView/MessageDeleted.tsx +3 -9
  658. package/src/components/Message/MessageItemView/MessageFooter.tsx +2 -14
  659. package/src/components/Message/MessageItemView/MessageHeader.tsx +11 -29
  660. package/src/components/Message/MessageItemView/MessageItemView.tsx +10 -42
  661. package/src/components/Message/MessageItemView/MessageReplies.tsx +2 -8
  662. package/src/components/Message/MessageItemView/MessageTextContainer.tsx +4 -8
  663. package/src/components/Message/MessageItemView/MessageWrapper.tsx +4 -9
  664. package/src/components/Message/MessageItemView/ReactionList/ReactionListBottom.tsx +4 -12
  665. package/src/components/Message/MessageItemView/ReactionList/ReactionListTop.tsx +4 -20
  666. package/src/components/Message/MessageItemView/__tests__/MessageContent.test.js +47 -30
  667. package/src/components/Message/MessageItemView/__tests__/MessageItemView.test.js +16 -7
  668. package/src/components/Message/MessageItemView/__tests__/MessageTextContainer.test.tsx +8 -4
  669. package/src/components/Message/MessageItemView/__tests__/__snapshots__/MessageTextContainer.test.tsx.snap +1 -0
  670. package/src/components/Message/MessageItemView/utils/renderText.tsx +2 -0
  671. package/src/components/MessageInput/MessageComposer.tsx +16 -76
  672. package/src/components/MessageInput/MessageInputHeaderView.tsx +3 -3
  673. package/src/components/MessageInput/__tests__/__snapshots__/SendButton.test.js.snap +54 -36
  674. package/src/components/MessageInput/components/AttachmentPreview/AttachmentUploadPreviewList.tsx +7 -35
  675. package/src/components/MessageInput/components/AttachmentPreview/FileAttachmentUploadPreview.tsx +2 -2
  676. package/src/components/MessageInput/components/AttachmentPreview/ImageAttachmentUploadPreview.tsx +2 -2
  677. package/src/components/MessageInput/components/AudioRecorder/AudioRecordingInProgress.tsx +6 -4
  678. package/src/components/MessageInput/components/InputButtons/index.tsx +4 -5
  679. package/src/components/MessageInput/components/LinkPreviewList.tsx +3 -2
  680. package/src/components/MessageInput/components/OutputButtons/index.tsx +4 -23
  681. package/src/components/MessageList/MessageFlashList.tsx +13 -57
  682. package/src/components/MessageList/MessageList.tsx +15 -57
  683. package/src/components/MessageList/StickyHeader.tsx +4 -3
  684. package/src/components/MessageMenu/MessageActionList.tsx +4 -3
  685. package/src/components/MessageMenu/MessageMenu.tsx +35 -47
  686. package/src/components/MessageMenu/MessageUserReactions.tsx +7 -27
  687. package/src/components/MessageMenu/MessageUserReactionsItem.tsx +3 -6
  688. package/src/components/MessageMenu/__tests__/MessageUserReactions.test.tsx +12 -11
  689. package/src/components/Poll/CreatePollContent.tsx +7 -6
  690. package/src/components/Poll/Poll.tsx +22 -24
  691. package/src/components/Poll/components/MultipleAnswersField.tsx +4 -3
  692. package/src/components/Poll/components/MultipleVotesSettings.tsx +4 -2
  693. package/src/components/Poll/components/PollAnswersList.tsx +9 -11
  694. package/src/components/Poll/components/PollInputDialog.tsx +1 -0
  695. package/src/components/Poll/components/PollOption.tsx +9 -11
  696. package/src/components/Poll/components/PollResults/PollOptionFullResults.tsx +10 -11
  697. package/src/components/Poll/components/PollResults/PollResults.tsx +9 -15
  698. package/src/components/Reply/Reply.tsx +25 -10
  699. package/src/components/Thread/Thread.tsx +3 -18
  700. package/src/components/Thread/__tests__/__snapshots__/Thread.test.js.snap +31 -18
  701. package/src/components/Thread/components/ThreadFooterComponent.tsx +10 -11
  702. package/src/components/ThreadList/ThreadList.tsx +14 -22
  703. package/src/components/ThreadList/ThreadListItem.tsx +6 -11
  704. package/src/components/ui/Avatar/Avatar.tsx +2 -2
  705. package/src/contexts/attachmentPickerContext/AttachmentPickerContext.tsx +0 -15
  706. package/src/contexts/channelContext/ChannelContext.tsx +0 -24
  707. package/src/contexts/channelsContext/ChannelsContext.tsx +0 -113
  708. package/src/contexts/chatContext/ChatContext.tsx +0 -5
  709. package/src/contexts/componentsContext/ComponentsContext.tsx +62 -0
  710. package/src/contexts/componentsContext/PLAN.md +148 -0
  711. package/src/contexts/componentsContext/__tests__/defaultComponents.test.ts +44 -0
  712. package/src/contexts/componentsContext/defaultComponents.ts +332 -0
  713. package/src/contexts/imageGalleryContext/ImageGalleryContext.tsx +0 -8
  714. package/src/contexts/imageGalleryContext/ImageGalleryContextBase.tsx +0 -10
  715. package/src/contexts/index.ts +1 -0
  716. package/src/contexts/messageInputContext/MessageInputContext.tsx +0 -185
  717. package/src/contexts/messageInputContext/hooks/useCreateMessageInputContext.ts +1 -75
  718. package/src/contexts/messagesContext/MessagesContext.tsx +3 -358
  719. package/src/contexts/overlayContext/MessageOverlayHostLayer.tsx +5 -7
  720. package/src/contexts/overlayContext/OverlayContext.tsx +0 -4
  721. package/src/contexts/overlayContext/OverlayProvider.tsx +1 -2
  722. package/src/contexts/overlayContext/__tests__/MessageOverlayHostLayer.test.tsx +21 -6
  723. package/src/contexts/threadsContext/ThreadsContext.tsx +0 -9
  724. package/src/hooks/messagePreview/useMessagePreviewText.tsx +17 -13
  725. package/src/i18n/en.json +20 -0
  726. package/src/i18n/es.json +20 -0
  727. package/src/i18n/fr.json +20 -0
  728. package/src/i18n/he.json +20 -0
  729. package/src/i18n/hi.json +20 -0
  730. package/src/i18n/it.json +20 -0
  731. package/src/i18n/ja.json +20 -0
  732. package/src/i18n/ko.json +20 -0
  733. package/src/i18n/nl.json +20 -0
  734. package/src/i18n/pt-br.json +20 -0
  735. package/src/i18n/ru.json +20 -0
  736. package/src/i18n/tr.json +20 -0
  737. package/src/icons/arrow-up-right.tsx +11 -8
  738. package/src/icons/audio.tsx +11 -8
  739. package/src/icons/chevron-left.tsx +11 -8
  740. package/src/icons/leave.tsx +11 -8
  741. package/src/icons/message-bubble.tsx +11 -8
  742. package/src/icons/mute.tsx +12 -9
  743. package/src/icons/reply.tsx +11 -8
  744. package/src/icons/search.tsx +12 -9
  745. package/src/icons/send.tsx +12 -9
  746. package/src/icons/thread.tsx +11 -8
  747. package/src/icons/video-fill.tsx +5 -1
  748. package/src/icons/video.tsx +11 -8
  749. package/src/utils/rtlMirrorSwitchStyle.ts +20 -0
  750. package/src/version.json +1 -1
@@ -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,OA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B,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.
@@ -1 +1 @@
1
- {"version":3,"file":"MessageFlashList.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageList/MessageFlashList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+E,MAAM,OAAO,CAAC;AACpG,OAAO,EAEL,eAAe,EAKhB,MAAM,cAAc,CAAC;AAItB,OAAO,KAAK,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACxE,OAAO,KAAK,EAAkB,YAAY,EAAmB,MAAM,aAAa,CAAC;AASjF,OAAO,EACL,4BAA4B,EAE7B,MAAM,gEAAgE,CAAC;AACxE,OAAO,EACL,mBAAmB,EAEpB,MAAM,8CAA8C,CAAC;AACtD,OAAO,EAAE,gBAAgB,EAAkB,MAAM,wCAAwC,CAAC;AAC1F,OAAO,EACL,wBAAwB,EAEzB,MAAM,wDAAwD,CAAC;AAKhE,OAAO,EACL,oBAAoB,EAErB,MAAM,gDAAgD,CAAC;AACxD,OAAO,EACL,2BAA2B,EAE5B,MAAM,8DAA8D,CAAC;AACtE,OAAO,EACL,gCAAgC,EAEjC,MAAM,wEAAwE,CAAC;AAEhF,OAAO,EAAE,kBAAkB,EAAoB,MAAM,4CAA4C,CAAC;AA6DlG,KAAK,gCAAgC,GAAG,IAAI,CAC1C,4BAA4B,EAC5B,aAAa,GAAG,uBAAuB,CACx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OAAO,EAAE,kBAAkB,CAAC,QAAQ,CAAC,KAAK,IAAI,CAAC;IACjE;;;;;;;;;;OAUG;IACH,cAAc,CAAC,EAAE,CAAC,GAAG,EAAE,YAAY,CAAC,YAAY,CAAC,GAAG,IAAI,KAAK,IAAI,CAAC;IAClE;;;;;;;OAOG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B,CAAC;AA66BJ,MAAM,MAAM,qBAAqB,GAAG,OAAO,CAAC,gCAAgC,CAAC,CAAC;AAE9E;;;;;GAKG;AACH,eAAO,MAAM,gBAAgB,GAAI,OAAO,qBAAqB,sBAsG5D,CAAC"}
1
+ {"version":3,"file":"MessageFlashList.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageList/MessageFlashList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+E,MAAM,OAAO,CAAC;AACpG,OAAO,EAEL,eAAe,EAKhB,MAAM,cAAc,CAAC;AAItB,OAAO,KAAK,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACxE,OAAO,KAAK,EAAkB,YAAY,EAAmB,MAAM,aAAa,CAAC;AASjF,OAAO,EACL,4BAA4B,EAE7B,MAAM,gEAAgE,CAAC;AACxE,OAAO,EACL,mBAAmB,EAEpB,MAAM,8CAA8C,CAAC;AACtD,OAAO,EAAE,gBAAgB,EAAkB,MAAM,wCAAwC,CAAC;AAE1F,OAAO,EACL,wBAAwB,EAEzB,MAAM,wDAAwD,CAAC;AAKhE,OAAO,EACL,oBAAoB,EAErB,MAAM,gDAAgD,CAAC;AACxD,OAAO,EACL,2BAA2B,EAE5B,MAAM,8DAA8D,CAAC;AACtE,OAAO,EACL,gCAAgC,EAEjC,MAAM,wEAAwE,CAAC;AAEhF,OAAO,EAAE,kBAAkB,EAAoB,MAAM,4CAA4C,CAAC;AA6DlG,KAAK,gCAAgC,GAAG,IAAI,CAC1C,4BAA4B,EAC5B,aAAa,GAAG,uBAAuB,CACxC,GACC,IAAI,CAAC,2BAA2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Ae,CAAC,EAAE,OAAO,CAAC;CAC3B,CAAC;AA86BJ,MAAM,MAAM,qBAAqB,GAAG,OAAO,CAAC,gCAAgC,CAAC,CAAC;AAE9E;;;;;GAKG;AACH,eAAO,MAAM,gBAAgB,GAAI,OAAO,qBAAqB,sBAwE5D,CAAC"}
@@ -9,7 +9,7 @@ import { MessagesContextValue } from '../../contexts/messagesContext/MessagesCon
9
9
  import { OwnCapabilitiesContextValue } from '../../contexts/ownCapabilitiesContext/OwnCapabilitiesContext';
10
10
  import { PaginatedMessageListContextValue } from '../../contexts/paginatedMessageListContext/PaginatedMessageListContext';
11
11
  import { ThreadContextValue } from '../../contexts/threadContext/ThreadContext';
12
- type MessageListPropsWithContext = Pick<AttachmentPickerContextValue, 'closePicker' | 'attachmentPickerStore'> & Pick<OwnCapabilitiesContextValue, 'readEvents'> & Pick<ChannelContextValue, 'channel' | 'channelUnreadStateStore' | 'disabled' | 'EmptyStateIndicator' | 'hideStickyDateHeader' | 'loadChannelAroundMessage' | 'loading' | 'LoadingIndicator' | 'markRead' | 'NetworkDownIndicator' | 'reloadChannel' | 'scrollToFirstUnreadThreshold' | 'setChannelUnreadState' | 'setTargetedMessage' | 'StickyHeader' | 'targetedMessage' | 'threadList' | 'maximumMessageLimit'> & Pick<ChatContextValue, 'client'> & Pick<PaginatedMessageListContextValue, 'loadMore' | 'loadMoreRecent' | 'hasMore'> & Pick<MessagesContextValue, 'DateHeader' | 'disableTypingIndicator' | 'FlatList' | 'InlineDateSeparator' | 'InlineUnreadIndicator' | 'Message' | 'ScrollToBottomButton' | 'myMessageTheme' | 'TypingIndicator' | 'TypingIndicatorContainer' | 'UnreadMessagesNotification'> & Pick<MessageInputContextValue, 'messageInputFloating' | 'messageInputHeightStore'> & Pick<ThreadContextValue, 'loadMoreRecentThread' | 'loadMoreThread' | 'threadHasMore' | 'thread' | 'threadInstance'> & {
12
+ type MessageListPropsWithContext = Pick<AttachmentPickerContextValue, 'closePicker' | 'attachmentPickerStore'> & Pick<OwnCapabilitiesContextValue, 'readEvents'> & Pick<ChannelContextValue, 'channel' | 'channelUnreadStateStore' | 'disabled' | 'hideStickyDateHeader' | 'loadChannelAroundMessage' | 'loading' | 'markRead' | 'reloadChannel' | 'scrollToFirstUnreadThreshold' | 'setChannelUnreadState' | 'setTargetedMessage' | 'targetedMessage' | 'threadList' | 'maximumMessageLimit'> & Pick<ChatContextValue, 'client'> & Pick<PaginatedMessageListContextValue, 'loadMore' | 'loadMoreRecent' | 'hasMore'> & Pick<MessagesContextValue, 'disableTypingIndicator' | 'FlatList' | 'myMessageTheme' | 'shouldShowUnreadUnderlay'> & Pick<MessageInputContextValue, 'messageInputFloating' | 'messageInputHeightStore'> & Pick<ThreadContextValue, 'loadMoreRecentThread' | 'loadMoreThread' | 'threadHasMore' | 'thread' | 'threadInstance'> & {
13
13
  /**
14
14
  * Besides existing (default) UX behavior of underlying FlatList of MessageList component, if you want
15
15
  * to attach some additional props to underlying FlatList, you can add it to following prop.
@@ -1 +1 @@
1
- {"version":3,"file":"MessageList.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageList/MessageList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4D,MAAM,OAAO,CAAC;AACjF,OAAO,EAEL,aAAa,EACb,QAAQ,IAAI,YAAY,EAExB,eAAe,EAKhB,MAAM,cAAc,CAAC;AAetB,OAAO,EAEL,6BAA6B,EAC9B,MAAM,wCAAwC,CAAC;AAEhD,OAAO,EACL,4BAA4B,EAE7B,MAAM,gEAAgE,CAAC;AACxE,OAAO,EACL,mBAAmB,EAEpB,MAAM,8CAA8C,CAAC;AACtD,OAAO,EAAE,gBAAgB,EAAkB,MAAM,wCAAwC,CAAC;AAG1F,OAAO,EACL,wBAAwB,EAEzB,MAAM,wDAAwD,CAAC;AAKhE,OAAO,EACL,oBAAoB,EAErB,MAAM,gDAAgD,CAAC;AACxD,OAAO,EACL,2BAA2B,EAE5B,MAAM,8DAA8D,CAAC;AACtE,OAAO,EACL,gCAAgC,EA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E;;;;;;;;;;OAUG;IACH,cAAc,CAAC,EAAE,CAAC,GAAG,EAAE,YAAY,CAAC,6BAA6B,CAAC,GAAG,IAAI,KAAK,IAAI,CAAC;IACnF;;;;;;;OAOG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB,CAAC;AAohCJ,MAAM,MAAM,gBAAgB,GAAG,OAAO,CAAC,2BAA2B,CAAC,CAAC;AAEpE,eAAO,MAAM,WAAW,GAAI,OAAO,gBAAgB,sBAyElD,CAAC"}
@@ -1,9 +1,8 @@
1
1
  import React from 'react';
2
- import { MessagesContextValue } from '../../contexts/messagesContext/MessagesContext';
3
2
  /**
4
3
  * Props for the StickyHeader component.
5
4
  */
6
- export type StickyHeaderProps = Pick<MessagesContextValue, 'DateHeader'> & {
5
+ export type StickyHeaderProps = {
7
6
  /**
8
7
  * Date to be displayed in the sticky header.
9
8
  */
@@ -13,5 +12,5 @@ export type StickyHeaderProps = Pick<MessagesContextValue, 'DateHeader'> & {
13
12
  */
14
13
  dateString?: string | number;
15
14
  };
16
- export declare const StickyHeader: ({ date, DateHeader, dateString }: StickyHeaderProps) => React.JSX.Element | null;
15
+ export declare const StickyHeader: ({ date, dateString }: StickyHeaderProps) => React.JSX.Element | null;
17
16
  //# sourceMappingURL=StickyHeader.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"StickyHeader.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageList/StickyHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAEvC,OAAO,EAAE,oBAAoB,EAAE,MAAM,gDAAgD,CAAC;AAKtF;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG,IAAI,CAAC,oBAAoB,EAAE,YAAY,CAAC,GAAG;IACzE;;OAEG;IACH,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CAC9B,CAAC;AAEF,eAAO,MAAM,YAAY,GAAI,kCAAkC,iBAAiB,6BAsB/E,CAAC"}
1
+ {"version":3,"file":"StickyHeader.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageList/StickyHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAOvC;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG;IAC9B;;OAEG;IACH,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CAC9B,CAAC;AAEF,eAAO,MAAM,YAAY,GAAI,sBAAsB,iBAAiB,6BAuBnE,CAAC"}
@@ -1,7 +1,6 @@
1
1
  import React from 'react';
2
2
  import { MessageActionType } from './MessageActionListItem';
3
- import { MessagesContextValue } from '../../contexts/messagesContext/MessagesContext';
4
- export type MessageActionListProps = Pick<MessagesContextValue, 'MessageActionListItem'> & {
3
+ export type MessageActionListProps = {
5
4
  /**
6
5
  * Function to close the message actions bottom sheet
7
6
  * @returns void
@@ -1 +1 @@
1
- {"version":3,"file":"MessageActionList.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageMenu/MessageActionList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAKvC,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAE5D,OAAO,EAAE,oBAAoB,EAAE,MAAM,gDAAgD,CAAC;AAItF,MAAM,MAAM,sBAAsB,GAAG,IAAI,CAAC,oBAAoB,EAAE,uBAAuB,CAAC,GAAG;IACzF;;;OAGG;IACH,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;IAC5B;;OAEG;IACH,cAAc,CAAC,EAAE,iBAAiB,EAAE,CAAC;CACtC,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAAI,OAAO,sBAAsB,6BA0C9D,CAAC"}
1
+ {"version":3,"file":"MessageActionList.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageMenu/MessageActionList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAKvC,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAM5D,MAAM,MAAM,sBAAsB,GAAG;IACnC;;;OAGG;IACH,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;IAC5B;;OAEG;IACH,cAAc,CAAC,EAAE,iBAAiB,EAAE,CAAC;CACtC,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAAI,OAAO,sBAAsB,6BA2C9D,CAAC"}
@@ -1,8 +1,7 @@
1
1
  import React, { PropsWithChildren } from 'react';
2
2
  import { MessageActionType } from './MessageActionListItem';
3
3
  import { MessageContextValue } from '../../contexts/messageContext/MessageContext';
4
- import { MessagesContextValue } from '../../contexts/messagesContext/MessagesContext';
5
- export type MessageMenuProps = PropsWithChildren<Partial<Pick<MessagesContextValue, 'MessageActionList' | 'MessageActionListItem' | 'MessageReactionPicker' | 'MessageUserReactions' | 'MessageUserReactionsAvatar' | 'MessageUserReactionsItem'>> & Partial<Pick<MessageContextValue, 'message'>> & {
4
+ export type MessageMenuProps = PropsWithChildren<Partial<Pick<MessageContextValue, 'message'>> & {
6
5
  /**
7
6
  * Function to close the message actions bottom sheet
8
7
  * @returns void
@@ -1 +1 @@
1
- {"version":3,"file":"MessageMenu.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageMenu/MessageMenu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAIjD,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAE5D,OAAO,EAAE,mBAAmB,EAAE,MAAM,8CAA8C,CAAC;AACnF,OAAO,EAAE,oBAAoB,EAAE,MAAM,gDAAgD,CAAC;AAItF,MAAM,MAAM,gBAAgB,GAAG,iBAAiB,CAC9C,OAAO,CACL,IAAI,CACF,oBAAoB,EAClB,mBAAm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O,CAAC;IAC9B;;OAEG;IACH,OAAO,EAAE,OAAO,CAAC;IACjB;;;;OAIG;IACH,cAAc,CAAC,EAAE,CAAC,YAAY,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACzD;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAE1B,MAAM,EAAE;QACN,CAAC,EAAE,MAAM,CAAC;QACV,CAAC,EAAE,MAAM,CAAC;QACV,CAAC,EAAE,MAAM,CAAC;QACV,CAAC,EAAE,MAAM,CAAC;KACX,CAAC;CACH,CACF,CAAC;AAIF,eAAO,MAAM,WAAW,GAAI,OAAO,gBAAgB,sBAuDlD,CAAC"}
@@ -3,7 +3,7 @@ import { MessageContextValue } from '../../contexts/messageContext/MessageContex
3
3
  import { MessagesContextValue } from '../../contexts/messagesContext/MessagesContext';
4
4
  import { Reaction } from '../../types/types';
5
5
  import { ReactionData } from '../../utils/utils';
6
- export type MessageUserReactionsProps = Partial<Pick<MessagesContextValue, 'MessageUserReactionsAvatar' | 'MessageUserReactionsItem' | 'supportedReactions'>> & Partial<Pick<MessageContextValue, 'message'>> & {
6
+ export type MessageUserReactionsProps = Partial<Pick<MessagesContextValue, 'supportedReactions'>> & Partial<Pick<MessageContextValue, 'message'>> & {
7
7
  /**
8
8
  * An array of reactions
9
9
  */
@@ -1 +1 @@
1
- {"version":3,"file":"MessageUserReactions.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageMenu/MessageUserReactions.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4D,MAAM,OAAO,CAAC;AAajF,OAAO,EACL,mBAAmB,EAEpB,MAAM,8CAA8C,CAAC;AACtD,OAAO,EACL,oBAAoB,EAErB,MAAM,gDAAgD,CAAC;AAOxD,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAajD,MAAM,MAAM,yBAAyB,GAAG,OAAO,CAC7C,IAAI,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YAAY,GAAG;IACpD,gBAAgB,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACzC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,eAAO,MAAM,gCAAgC,GAAI,OAAO,wBAAwB,sBAc/E,CAAC;AAgBF,eAAO,MAAM,oBAAoB,GAAI,OAAO,yBAAyB,sBAwMpE,CAAC"}
@@ -1,8 +1,7 @@
1
1
  import React from 'react';
2
- import { MessagesContextValue } from '../../contexts/messagesContext/MessagesContext';
3
2
  import type { Reaction } from '../../types/types';
4
3
  import { ReactionData } from '../../utils/utils';
5
- export type MessageUserReactionsItemProps = Pick<MessagesContextValue, 'MessageUserReactionsAvatar'> & {
4
+ export type MessageUserReactionsItemProps = {
6
5
  /**
7
6
  * The reaction object
8
7
  */
@@ -12,5 +11,5 @@ export type MessageUserReactionsItemProps = Pick<MessagesContextValue, 'MessageU
12
11
  */
13
12
  supportedReactions: ReactionData[];
14
13
  };
15
- export declare const MessageUserReactionsItem: ({ MessageUserReactionsAvatar, reaction, supportedReactions, }: MessageUserReactionsItemProps) => React.JSX.Element;
14
+ export declare const MessageUserReactionsItem: ({ reaction, supportedReactions, }: MessageUserReactionsItemProps) => React.JSX.Element;
16
15
  //# sourceMappingURL=MessageUserReactionsItem.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"MessageUserReactionsItem.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageMenu/MessageUserReactionsItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAMvC,OAAO,EAAE,oBAAoB,EAAE,MAAM,gDAAgD,CAAC;AAOtF,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEjD,MAAM,MAAM,6BAA6B,GAAG,IAAI,CAC9C,oBAAoB,EACpB,4BAA4B,CAC7B,GAAG;IACF;;OAEG;IACH,QAAQ,EAAE,QAAQ,CAAC;IACnB;;OAEG;IACH,kBAAkB,EAAE,YAAY,EAAE,CAAC;CACpC,CAAC;AAEF,eAAO,MAAM,wBAAwB,GAAI,+DAItC,6BAA6B,sBA8C/B,CAAC"}
1
+ {"version":3,"file":"MessageUserReactionsItem.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageMenu/MessageUserReactionsItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAavC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEjD,MAAM,MAAM,6BAA6B,GAAG;IAC1C;;OAEG;IACH,QAAQ,EAAE,QAAQ,CAAC;IACnB;;OAEG;IACH,kBAAkB,EAAE,YAAY,EAAE,CAAC;CACpC,CAAC;AAEF,eAAO,MAAM,wBAAwB,GAAI,mCAGtC,6BAA6B,sBA+C/B,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { CreatePollContentContextValue, InputMessageInputContextValue } from '../../contexts';
2
+ import { CreatePollContentContextValue } from '../../contexts';
3
3
  export declare const CreatePollContent: () => React.JSX.Element;
4
- export declare const CreatePoll: ({ closePollCreationDialog, CreatePollContent: CreatePollContentOverride, createPollOptionGap, sendMessage, }: Pick<CreatePollContentContextValue, "createPollOptionGap" | "closePollCreationDialog" | "sendMessage"> & Pick<InputMessageInputContextValue, "CreatePollContent">) => React.JSX.Element;
4
+ export declare const CreatePoll: ({ closePollCreationDialog, createPollOptionGap, sendMessage, }: Pick<CreatePollContentContextValue, "createPollOptionGap" | "closePollCreationDialog" | "sendMessage">) => React.JSX.Element;
5
5
  //# sourceMappingURL=CreatePollContent.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CreatePollContent.d.ts","sourceRoot":"","sources":["../../../../src/components/Poll/CreatePollContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4D,MAAM,OAAO,CAAC;AAcjF,OAAO,EAEL,6BAA6B,EAE7B,6BAA6B,EAI9B,MAAM,gBAAgB,CAAC;AASxB,eAAO,MAAM,iBAAiB,yBAkL7B,CAAC;AAEF,eAAO,MAAM,UAAU,GAAI,8GAKxB,IAAI,CACL,6BAA6B,EAC7B,qBAAqB,GAAG,yBAAyB,GAAG,aAAa,CAClE,GACC,IAAI,CAAC,6BAA6B,EAAE,mBAAmB,CAAC,sBAqDzD,CAAC"}
1
+ {"version":3,"file":"CreatePollContent.d.ts","sourceRoot":"","sources":["../../../../src/components/Poll/CreatePollContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4D,MAAM,OAAO,CAAC;AAcjF,OAAO,EAEL,6BAA6B,EAK9B,MAAM,gBAAgB,CAAC;AAWxB,eAAO,MAAM,iBAAiB,yBAkL7B,CAAC;AAEF,eAAO,MAAM,UAAU,GAAI,gEAIxB,IAAI,CACL,6BAA6B,EAC7B,qBAAqB,GAAG,yBAAyB,GAAG,aAAa,CAClE,sBAsDA,CAAC"}
@@ -1,11 +1,8 @@
1
1
  import React from 'react';
2
- import { MessagesContextValue, PollContextValue } from '../../contexts';
3
- export type PollProps = Pick<PollContextValue, 'poll' | 'message'> & Pick<MessagesContextValue, 'PollContent'>;
4
- export type PollContentProps = {
5
- PollButtons?: React.ComponentType;
6
- PollHeader?: React.ComponentType;
7
- };
2
+ import { PollContextValue } from '../../contexts';
3
+ export type PollProps = Pick<PollContextValue, 'poll' | 'message'>;
4
+ export type PollContentProps = Record<string, never>;
8
5
  export declare const PollHeader: () => React.JSX.Element;
9
- export declare const PollContent: ({ PollButtons: PollButtonsOverride, PollHeader: PollHeaderOverride, }: PollContentProps) => React.JSX.Element;
10
- export declare const Poll: ({ message, poll, PollContent: PollContentOverride }: PollProps) => React.JSX.Element;
6
+ export declare const PollContent: () => React.JSX.Element;
7
+ export declare const Poll: ({ message, poll }: PollProps) => React.JSX.Element;
11
8
  //# sourceMappingURL=Poll.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Poll.d.ts","sourceRoot":"","sources":["../../../../src/components/Poll/Poll.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AASvC,OAAO,EACL,oBAAoB,EAEpB,gBAAgB,EAGjB,MAAM,gBAAgB,CAAC;AAKxB,MAAM,MAAM,SAAS,GAAG,IAAI,CAAC,gBAAgB,EAAE,MAAM,GAAG,SAAS,CAAC,GAChE,IAAI,CAAC,oBAAoB,EAAE,aAAa,CAAC,CAAC;AAE5C,MAAM,MAAM,gBAAgB,GAAG;IAC7B,WAAW,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAClC,UAAU,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CAClC,CAAC;AAEF,eAAO,MAAM,UAAU,yBAgCtB,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI,uEAGzB,gBAAgB,sBA0BlB,CAAC;AAEF,eAAO,MAAM,IAAI,GAAI,qDAAqD,SAAS,sBASlF,CAAC"}
1
+ {"version":3,"file":"Poll.d.ts","sourceRoot":"","sources":["../../../../src/components/Poll/Poll.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AASvC,OAAO,EAEL,gBAAgB,EAGjB,MAAM,gBAAgB,CAAC;AAMxB,MAAM,MAAM,SAAS,GAAG,IAAI,CAAC,gBAAgB,EAAE,MAAM,GAAG,SAAS,CAAC,CAAC;AAEnE,MAAM,MAAM,gBAAgB,GAAG,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;AAErD,eAAO,MAAM,UAAU,yBAgCtB,CAAC;AAEF,eAAO,MAAM,WAAW,yBA4BvB,CAAC;AAEF,eAAO,MAAM,IAAI,GAAI,mBAAmB,SAAS,sBAYhD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"MultipleVotesSettings.d.ts","sourceRoot":"","sources":["../../../../../src/components/Poll/components/MultipleVotesSettings.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4D,MAAM,OAAO,CAAC;AA8FjF,eAAO,MAAM,qBAAqB,yBAgGjC,CAAC"}
1
+ {"version":3,"file":"MultipleVotesSettings.d.ts","sourceRoot":"","sources":["../../../../../src/components/Poll/components/MultipleVotesSettings.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4D,MAAM,OAAO,CAAC;AA+FjF,eAAO,MAAM,qBAAqB,yBAgGjC,CAAC"}
@@ -6,11 +6,10 @@ import { PollContextValue } from '../../../contexts';
6
6
  export declare const AnswerListAddCommentButton: (props: PollButtonProps) => React.JSX.Element;
7
7
  export type PollAnswersListProps = PollContextValue & {
8
8
  additionalFlatListProps?: Partial<FlatListProps<PollAnswer>>;
9
- PollAnswersListContent?: React.ComponentType;
10
9
  };
11
10
  export declare const PollAnswerListItem: ({ answer }: {
12
11
  answer: PollAnswer;
13
12
  }) => React.JSX.Element;
14
13
  export declare const PollAnswersListContent: ({ additionalFlatListProps, }: Pick<PollAnswersListProps, "additionalFlatListProps">) => React.JSX.Element;
15
- export declare const PollAnswersList: ({ additionalFlatListProps, message, poll, PollAnswersListContent: PollAnswersListOverride, }: PollAnswersListProps) => React.JSX.Element;
14
+ export declare const PollAnswersList: ({ additionalFlatListProps, message, poll, }: PollAnswersListProps) => React.JSX.Element;
16
15
  //# sourceMappingURL=PollAnswersList.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PollAnswersList.d.ts","sourceRoot":"","sources":["../../../../../src/components/Poll/components/PollAnswersList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAyC,MAAM,OAAO,CAAC;AAC9D,OAAO,EAAY,KAAK,aAAa,EAA0B,MAAM,cAAc,CAAC;AAEpF,OAAO,EAAE,UAAU,EAAoB,MAAM,aAAa,CAAC;AAE3D,OAAO,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAG3C,OAAO,EAEL,gBAAgB,EAKjB,MAAM,mBAAmB,CAAC;AAQ3B,eAA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eAAe,GAAI,6CAI7B,oBAAoB,sBAOtB,CAAC"}
@@ -10,10 +10,9 @@ export type PollOptionProps = {
10
10
  };
11
11
  export type PollAllOptionsContentProps = PollContextValue & {
12
12
  additionalScrollViewProps?: Partial<ScrollViewProps>;
13
- PollAllOptionsContent?: React.ComponentType;
14
13
  };
15
14
  export declare const PollAllOptionsContent: ({ additionalScrollViewProps, }: Pick<PollAllOptionsContentProps, "additionalScrollViewProps">) => React.JSX.Element;
16
- export declare const PollAllOptions: ({ additionalScrollViewProps, message, poll, PollAllOptionsContent: PollAllOptionsContentOverride, }: PollAllOptionsContentProps) => React.JSX.Element;
15
+ export declare const PollAllOptions: ({ additionalScrollViewProps, message, poll, }: PollAllOptionsContentProps) => React.JSX.Element;
17
16
  export declare const PollOption: ({ option, showProgressBar, forceIncoming }: PollOptionProps) => React.JSX.Element;
18
17
  export declare const VoteButton: ({ onPress, option }: PollVoteButtonProps) => React.JSX.Element | null;
19
18
  //# sourceMappingURL=PollOption.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PollOption.d.ts","sourceRoot":"","sources":["../../../../../src/components/Poll/components/PollOption.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+B,MAAM,OAAO,CAAC;AAEpD,OAAO,EAAa,eAAe,EAA0B,MAAM,cAAc,CAAC;AAIlF,OAAO,EAAE,UAAU,IAAI,eAAe,EAA0B,MAAM,aAAa,CAAC;AAEpF,OAAO,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAE/C,OAAO,EAEL,gBAAgB,EAKjB,MAAM,mBAAmB,CAAC;AAS3B,MAAM,MAAM,eAAe,GAAG;IAC5B,MAAM,EAAE,eAAe,CAAC;IACxB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB,CAAC;AAEF,MAAM,MAAM,0BAA0B,GAAG,gBAAgB,GAAG;IAC1D,yBAAyB,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,CAA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DlE,CAAC"}
@@ -5,13 +5,10 @@ import { PollContextValue } from '../../../../contexts';
5
5
  export type PollOptionFullResultsProps = PollContextValue & {
6
6
  option: PollOption;
7
7
  additionalFlatListProps?: Partial<FlatListProps<PollVoteClass>>;
8
- PollOptionFullResultsContent?: React.ComponentType<{
9
- option: PollOption;
10
- }>;
11
8
  };
12
9
  export declare const renderPollOptionFullResultsItem: ({ item }: {
13
10
  item: PollVoteClass;
14
11
  }) => React.JSX.Element;
15
12
  export declare const PollOptionFullResultsContent: ({ additionalFlatListProps, option, }: Pick<PollOptionFullResultsProps, "option" | "additionalFlatListProps">) => React.JSX.Element;
16
- export declare const PollOptionFullResults: ({ additionalFlatListProps, message, option, poll, PollOptionFullResultsContent: PollOptionFullResultsContentOverride, }: PollOptionFullResultsProps) => React.JSX.Element;
13
+ export declare const PollOptionFullResults: ({ additionalFlatListProps, message, option, poll, }: PollOptionFullResultsProps) => React.JSX.Element;
17
14
  //# sourceMappingURL=PollOptionFullResults.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PollOptionFullResults.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Poll/components/PollResults/PollOptionFullResults.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+B,MAAM,OAAO,CAAC;AACpD,OAAO,EAAY,KAAK,aAAa,EAA0B,MAAM,cAAc,CAAC;AAEpF,OAAO,EAAE,UAAU,EAAE,QAAQ,IAAI,aAAa,EAAE,MAAM,aAAa,CAAC;AAIpE,OAAO,EAEL,gBAAgB,EAGjB,MAAM,sBAAsB,CAAC;AAM9B,MAAM,MAAM,0BAA0B,GAAG,gBAAgB,GAAG;IAC1D,MAAM,EAAE,UAAU,CAAC;IACnB,uBAAuB,CAAC,EAAE,OAAO,CAAC,aAAa,CAAC,aAAa,CAAC,CAAC,CAAC;IAChE,4BAA4B,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;QAAE,MAAM,EAAE,UAAU,CAAA;KAAE,CAAC,CAAC;CAC5E,CAAC;AAEF,eAAO,MAAM,+BAA+B,GAAI,UAAU;IAAE,IAAI,EAAE,aAAa,CAAA;CAAE,sBAEhF,CAAC;AAEF,eAAO,MAAM,4BAA4B,GAAI,sCAG1C,IAAI,CAAC,0BAA0B,EAAE,QAAQ,GAAG,yBAAyB,CAAC,sBAkDxE,CAAC;AAEF,eAAO,MAAM,qBAAqB,GAAI,yHAMnC,0BAA0B,sBAW5B,CAAC"}
1
+ {"version":3,"file":"PollOptionFullResults.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Poll/components/PollResults/PollOptionFullResults.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+B,MAAM,OAAO,CAAC;AACpD,OAAO,EAAY,KAAK,aAAa,EAA0B,MAAM,cAAc,CAAC;AAEpF,OAAO,EAAE,UAAU,EAAE,QAAQ,IAAI,aAAa,EAAE,MAAM,aAAa,CAAC;AAIpE,OAAO,EAEL,gBAAgB,EAGjB,MAAM,sBAAsB,CAAC;AAO9B,MAAM,MAAM,0BAA0B,GAAG,gBAAgB,GAAG;IAC1D,MAAM,EAAE,UAAU,CAAC;IACnB,uBAAuB,CAAC,EAAE,OAAO,CAAC,aAAa,CAAC,aAAa,CAAC,CAAC,CAAC;CACjE,CAAC;AAEF,eAAO,MAAM,+BAA+B,GAAI,UAAU;IAAE,IAAI,EAAE,aAAa,CAAA;CAAE,sBAEhF,CAAC;AAEF,eAAO,MAAM,4BAA4B,GAAI,sCAG1C,IAAI,CAAC,0BAA0B,EAAE,QAAQ,GAAG,yBAAyB,CAAC,sBAkDxE,CAAC;AAEF,eAAO,MAAM,qBAAqB,GAAI,qDAKnC,0BAA0B,sBAW5B,CAAC"}
@@ -3,8 +3,7 @@ import { ScrollViewProps } from 'react-native';
3
3
  import { PollContextValue } from '../../../../contexts';
4
4
  export type PollResultsProps = PollContextValue & {
5
5
  additionalScrollViewProps?: Partial<ScrollViewProps>;
6
- PollResultsContent?: React.ComponentType;
7
6
  };
8
7
  export declare const PollResultsContent: ({ additionalScrollViewProps, }: Pick<PollResultsProps, "additionalScrollViewProps">) => React.JSX.Element;
9
- export declare const PollResults: ({ additionalScrollViewProps, message, poll, PollResultsContent: PollResultsContentOverride, }: PollResultsProps) => React.JSX.Element;
8
+ export declare const PollResults: ({ additionalScrollViewProps, message, poll }: PollResultsProps) => React.JSX.Element;
10
9
  //# sourceMappingURL=PollResults.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PollResults.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Poll/components/PollResults/PollResults.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AACvC,OAAO,EAAE,eAAe,EAA0B,MAAM,cAAc,CAAC;AAMvE,OAAO,EAEL,gBAAgB,EAGjB,MAAM,sBAAsB,CAAC;AAI9B,MAAM,MAAM,gBAAgB,GAAG,gBAAgB,GAAG;IAChD,yBAAyB,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,CAAC;IACrD,kBAAkB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CAC1C,CAAC;AAEF,eAAO,MAAM,kBAAkB,GAAI,gCAEhC,IAAI,CAAC,gBAAgB,EAAE,2BAA2B,CAAC,sBAuCrD,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI,+FAKzB,gBAAgB,sBAQlB,CAAC"}
1
+ {"version":3,"file":"PollResults.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Poll/components/PollResults/PollResults.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AACvC,OAAO,EAAE,eAAe,EAA0B,MAAM,cAAc,CAAC;AAMvE,OAAO,EAEL,gBAAgB,EAGjB,MAAM,sBAAsB,CAAC;AAK9B,MAAM,MAAM,gBAAgB,GAAG,gBAAgB,GAAG;IAChD,yBAAyB,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,CAAC;CACtD,CAAC;AAEF,eAAO,MAAM,kBAAkB,GAAI,gCAEhC,IAAI,CAAC,gBAAgB,EAAE,2BAA2B,CAAC,sBAuCrD,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI,8CAA8C,gBAAgB,sBAOzF,CAAC"}
@@ -1,9 +1,10 @@
1
1
  import React from 'react';
2
- import { TextStyle, ViewStyle } from 'react-native';
3
- import { ChatContextValue } from '../../contexts/chatContext/ChatContext';
2
+ import { ImageProps, TextStyle, ViewStyle } from 'react-native';
4
3
  import { MessageContextValue } from '../../contexts/messageContext/MessageContext';
5
4
  import { MessagesContextValue } from '../../contexts/messagesContext/MessagesContext';
6
- export type ReplyPropsWithContext = Pick<ChatContextValue, 'ImageComponent'> & Pick<MessageContextValue, 'message'> & Pick<MessagesContextValue, 'quotedMessage'> & {
5
+ export type ReplyPropsWithContext = {
6
+ ImageComponent: React.ComponentType<ImageProps>;
7
+ } & Pick<MessageContextValue, 'message'> & Pick<MessagesContextValue, 'quotedMessage'> & {
7
8
  isMyMessage: boolean;
8
9
  onDismiss?: () => void;
9
10
  mode: 'reply' | 'edit';
@@ -1 +1 @@
1
- {"version":3,"file":"Reply.d.ts","sourceRoot":"","sources":["../../../../src/components/Reply/Reply.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AACvC,OAAO,EAAwC,SAAS,EAAQ,SAAS,EAAE,MAAM,cAAc,CAAC;AAWhG,OAAO,EAAE,gBAAgB,EAAkB,MAAM,wCAAwC,CAAC;AAC1F,OAAO,EACL,mBAAmB,EAEpB,MAAM,8CAA8C,CAAC;AAEtD,OAAO,EAAE,oBAAoB,EAAE,MAAM,gDAAgD,CAAC;AA8DtF,MAAM,MAAM,qBAAqB,GAAG,IAAI,CAAC,gBAAgB,EAAE,gBAAgB,CAAC,GAC1E,IAAI,CAAC,mBAAmB,EAAE,SAAS,CAAC,GACpC,IAAI,CAAC,oBAAoB,EAAE,eAAe,CAAC,GAAG;IAC5C,WAAW,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;IACvB,IAAI,EAAE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AAS,CAAC,EAAE,SAAS,CAAC;QACtB,aAAa,CAAC,EAAE,SAAS,CAAC;QAC1B,cAAc,CAAC,EAAE,SAAS,CAAC;QAC3B,KAAK,CAAC,EAAE,SAAS,CAAC;QAClB,iBAAiB,CAAC,EAAE,SAAS,CAAC;QAC9B,cAAc,CAAC,EAAE,SAAS,CAAC;KAC5B,CAAC;CACH,CAAC;AAEJ,eAAO,MAAM,gBAAgB,GAAI,OAAO,qBAAqB,6BA8D5D,CAAC;AAmDF,eAAO,MAAM,aAAa,EAA6C,OAAO,gBAAgB,CAAC;AAE/F,MAAM,MAAM,UAAU,GAAG,OAAO,CAAC,qBAAqB,CAAC,GACrD,IAAI,CAAC,qBAAqB,EAAE,MAAM,GAAG,WAAW,CAAC,CAAC;AAEpD,eAAO,MAAM,KAAK,GAAI,OAAO,UAAU,sBA0BtC,CAAC"}
@@ -1,11 +1,10 @@
1
1
  import React from 'react';
2
2
  import { ChatContextValue } from '../../contexts/chatContext/ChatContext';
3
- import { MessagesContextValue } from '../../contexts/messagesContext/MessagesContext';
4
3
  import { ThreadContextValue } from '../../contexts/threadContext/ThreadContext';
5
- import { MessageComposerProps } from '../MessageInput/MessageComposer';
4
+ import type { MessageComposerProps } from '../MessageInput/MessageComposer';
6
5
  import { MessageFlashListProps } from '../MessageList/MessageFlashList';
7
6
  import { MessageListProps } from '../MessageList/MessageList';
8
- type ThreadPropsWithContext = Pick<ChatContextValue, 'client'> & Pick<MessagesContextValue, 'MessageList'> & Pick<ThreadContextValue, 'closeThread' | 'loadMoreThread' | 'parentMessagePreventPress' | 'reloadThread' | 'thread' | 'threadInstance'> & {
7
+ type ThreadPropsWithContext = Pick<ChatContextValue, 'client'> & Pick<ThreadContextValue, 'closeThread' | 'loadMoreThread' | 'parentMessagePreventPress' | 'reloadThread' | 'thread' | 'threadInstance'> & {
9
8
  /**
10
9
  * Additional props for underlying MessageComposer component.
11
10
  * Available props - https://getstream.io/chat/docs/sdk/reactnative/ui-components/message-input/#props
@@ -29,11 +28,6 @@ type ThreadPropsWithContext = Pick<ChatContextValue, 'client'> & Pick<MessagesCo
29
28
  closeThreadOnDismount?: boolean;
30
29
  /** Disables the thread UI. So MessageComposer and MessageList will be disabled. */
31
30
  disabled?: boolean;
32
- /**
33
- * **Customized MessageComposer component to used within Thread instead of default MessageComposer
34
- * **Available from [MessageComposer](https://getstream.io/chat/docs/sdk/reactnative/ui-components/message-input)**
35
- */
36
- MessageComposer?: React.ComponentType<MessageComposerProps>;
37
31
  /**
38
32
  * Call custom function on closing thread if handling thread state elsewhere
39
33
  */
@@ -1 +1 @@
1
- {"version":3,"file":"Thread.d.ts","sourceRoot":"","sources":["../../../../src/components/Thread/Thread.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA0C,MAAM,OAAO,CAAC;AAK/D,OAAO,EAAE,gBAAgB,EAAkB,MAAM,wCAAwC,CAAC;AAC1F,OAAO,EACL,oBAAoB,EAErB,MAAM,gDAAgD,CAAC;AACxD,OAAO,EAAE,kBAAkB,EAAoB,MAAM,4CAA4C,CAAC;AAElG,OAAO,EAEL,oBAAoB,EACrB,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAoB,qBAAqB,EAAE,MAAM,iCAAiC,CAAC;AAC1F,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAU9D,KAAK,sBAAsB,GAAG,IAAI,CAAC,gBAAgB,EAAE,QAAQ,CAAC,GAC5D,IAAI,CAAC,oBAAoB,EAAE,aAAa,CAAC,GACzC,IAAI,CACF,kBAAkB,EAChB,aAAa,GACb,gBAAgB,GAChB,2BAA2B,GAC3B,cAAc,GACd,QAAQ,GACR,gBAAgB,CACnB,GAAG;IACF;;;SAGK;IACL,8BAA8B,CAAC,EAAE,OAAO,CAAC,oBAAoB,CAAC,CAAC;IAC/D;;;SAGK;IACL,0BAA0B,CAAC,EAAE,OAAO,CAAC,gBAAgB,CAAC,CAAC;IACvD;;;;;OAKG;IACH,+BAA+B,CAAC,EAAE,OAAO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AgB,CAAC,CAAC;IACvD;;;;;OAKG;IACH,+BAA+B,CAAC,EAAE,OAAO,CAAC,qBAAqB,CAAC,CAAC;IACjE,0CAA0C;IAC1C,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,kDAAkD;IAClD,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,mFAAmF;IACnF,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,IAAI,CAAC;IAC9B,kBAAkB,CAAC,EAAE,OAAO,CAAC;CAC9B,CAAC;AAuFJ,MAAM,MAAM,WAAW,GAAG,OAAO,CAAC,sBAAsB,CAAC,CAAC;AAE1D;;;;;;;;GAQG;AACH,eAAO,MAAM,MAAM,GAAI,OAAO,WAAW,sBAwBxC,CAAC"}
@@ -1,7 +1,6 @@
1
1
  import React from 'react';
2
- import { MessagesContextValue } from '../../../contexts/messagesContext/MessagesContext';
3
2
  import { ThreadContextValue } from '../../../contexts/threadContext/ThreadContext';
4
3
  export declare const InlineLoadingMoreThreadIndicator: () => React.JSX.Element | null;
5
- export type ThreadFooterComponentProps = Partial<Pick<MessagesContextValue, 'Message'>> & Partial<Pick<ThreadContextValue, 'parentMessagePreventPress' | 'thread'>>;
4
+ export type ThreadFooterComponentProps = Partial<Pick<ThreadContextValue, 'parentMessagePreventPress' | 'thread'>>;
6
5
  export declare const ThreadFooterComponent: (props: ThreadFooterComponentProps) => React.JSX.Element;
7
6
  //# sourceMappingURL=ThreadFooterComponent.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ThreadFooterComponent.d.ts","sourceRoot":"","sources":["../../../../../src/components/Thread/components/ThreadFooterComponent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAKvC,OAAO,EACL,oBAAoB,EAErB,MAAM,mDAAmD,CAAC;AAE3D,OAAO,EACL,kBAAkB,EAEnB,MAAM,+CAA+C,CAAC;AAQvD,eAAO,MAAM,gCAAgC,gCAgB5C,CAAC;AAgGF,MAAM,MAAM,0BAA0B,GAAG,OAAO,CAAC,IAAI,CAAC,oBAAoB,EAAE,SAAS,CAAC,CAAC,GACrF,OAAO,CAAC,IAAI,CAAC,kBAAkB,EAAE,2BAA2B,GAAG,QAAQ,CAAC,CAAC,CAAC;AAE5E,eAAO,MAAM,qBAAqB,GAAI,OAAO,0BAA0B,sBAiBtE,CAAC"}
1
+ {"version":3,"file":"ThreadFooterComponent.d.ts","sourceRoot":"","sources":["../../../../../src/components/Thread/components/ThreadFooterComponent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAOvC,OAAO,EACL,kBAAkB,EAEnB,MAAM,+CAA+C,CAAC;AAUvD,eAAO,MAAM,gCAAgC,gCAgB5C,CAAC;AAiGF,MAAM,MAAM,0BAA0B,GAAG,OAAO,CAC9C,IAAI,CAAC,kBAAkB,EAAE,2BAA2B,GAAG,QAAQ,CAAC,CACjE,CAAC;AAEF,eAAO,MAAM,qBAAqB,GAAI,OAAO,0BAA0B,sBAetE,CAAC"}
@@ -1,10 +1,9 @@
1
1
  import React from 'react';
2
2
  import { ThreadsContextValue } from '../../contexts/threadsContext/ThreadsContext';
3
- export type ThreadListProps = Pick<ThreadsContextValue, 'additionalFlatListProps' | 'isFocused' | 'onThreadSelect' | 'ThreadListItem' | 'ThreadListEmptyPlaceholder' | 'ThreadListLoadingIndicator' | 'ThreadListUnreadBanner'> & {
4
- ThreadList?: React.ComponentType;
5
- };
3
+ export type ThreadListProps = Pick<ThreadsContextValue, 'additionalFlatListProps' | 'isFocused' | 'onThreadSelect'>;
6
4
  export declare const DefaultThreadListEmptyPlaceholder: () => React.JSX.Element;
7
5
  export declare const DefaultThreadListLoadingIndicator: () => React.JSX.Element;
8
6
  export declare const DefaultThreadListLoadingNextIndicator: () => React.JSX.Element;
7
+ export declare const DefaultThreadListComponent: () => React.JSX.Element;
9
8
  export declare const ThreadList: (props: ThreadListProps) => React.JSX.Element;
10
9
  //# sourceMappingURL=ThreadList.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ThreadList.d.ts","sourceRoot":"","sources":["../../../../src/components/ThreadList/ThreadList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAUzC,OAAO,EACL,mBAAmB,EAGpB,MAAM,8CAA8C,CAAC;AAatD,MAAM,MAAM,eAAe,GAAG,IAAI,CAChC,mBAAmB,EACjB,yBAAyB,GACzB,WAAW,GACX,gBAAgB,GAChB,gBAAgB,GAChB,4BAA4B,GAC5B,4BAA4B,GAC5B,wBAAwB,CAC3B,GAAG;IAAE,UAAU,CAAC,EAAE,KAAK,CAAC,aAAa,CAAA;CAAE,CAAC;AAEzC,eAAO,MAAM,iCAAiC,yBAAmD,CAAC;AAElG,eAAO,MAAM,iCAAiC,yBAM7C,CAAC;AACF,eAAO,MAAM,qCAAqC,yBAAgD,CAAC;AAuCnG,eAAO,MAAM,UAAU,GAAI,OAAO,eAAe,sBAuChD,CAAC"}
1
+ {"version":3,"file":"ThreadList.d.ts","sourceRoot":"","sources":["../../../../src/components/ThreadList/ThreadList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAUzC,OAAO,EACL,mBAAmB,EAGpB,MAAM,8CAA8C,CAAC;AAatD,MAAM,MAAM,eAAe,GAAG,IAAI,CAChC,mBAAmB,EACnB,yBAAyB,GAAG,WAAW,GAAG,gBAAgB,CAC3D,CAAC;AAEF,eAAO,MAAM,iCAAiC,yBAAmD,CAAC;AAElG,eAAO,MAAM,iCAAiC,yBAM7C,CAAC;AACF,eAAO,MAAM,qCAAqC,yBAAgD,CAAC;AAInG,eAAO,MAAM,0BAA0B,yBA8BtC,CAAC;AAEF,eAAO,MAAM,UAAU,GAAI,OAAO,eAAe,sBAwChD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ThreadListItem.d.ts","sourceRoot":"","sources":["../../../../src/components/ThreadList/ThreadListItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA0C,MAAM,OAAO,CAAC;AAG/D,OAAO,EAKL,MAAM,EAEP,MAAM,aAAa,CAAC;AAoBrB,MAAM,MAAM,mBAAmB,GAAG;IAChC,MAAM,EAAE,MAAM,CAAC;IACf,uBAAuB,CAAC,EAAE,MAAM,CAAC;CAClC,CAAC;AAEF,eAAO,MAAM,qBAAqB;;;;;;CAMxB,CAAC;AAUX,eAAO,MAAM,uBAAuB,yBAwFnC,CAAC;AAEF,eAAO,MAAM,cAAc,GAAI,OAAO,mBAAmB,sBA6FxD,CAAC"}
1
+ {"version":3,"file":"ThreadListItem.d.ts","sourceRoot":"","sources":["../../../../src/components/ThreadList/ThreadListItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA0C,MAAM,OAAO,CAAC;AAG/D,OAAO,EAKL,MAAM,EAEP,MAAM,aAAa,CAAC;AAiBrB,MAAM,MAAM,mBAAmB,GAAG;IAChC,MAAM,EAAE,MAAM,CAAC;IACf,uBAAuB,CAAC,EAAE,MAAM,CAAC;CAClC,CAAC;AAEF,eAAO,MAAM,qBAAqB;;;;;;CAMxB,CAAC;AAUX,eAAO,MAAM,uBAAuB,yBAsFnC,CAAC;AAEF,eAAO,MAAM,cAAc,GAAI,OAAO,mBAAmB,sBA6FxD,CAAC"}
@@ -1,6 +1,5 @@
1
1
  import React, { PropsWithChildren } from 'react';
2
2
  import BottomSheet from '@gorhom/bottom-sheet';
3
- import { AttachmentPickerContentProps } from '../../components';
4
3
  import { AttachmentPickerStore, SelectedPickerType } from '../../state-store/attachment-picker-store';
5
4
  import { MessageInputContextValue } from '../messageInputContext/MessageInputContext';
6
5
  export type AttachmentPickerIconProps = {
@@ -8,10 +7,6 @@ export type AttachmentPickerIconProps = {
8
7
  selectedPicker: SelectedPickerType;
9
8
  };
10
9
  export type AttachmentPickerContextValue = Pick<MessageInputContextValue, 'attachmentSelectionBarHeight' | 'attachmentPickerBottomSheetHeight'> & {
11
- /**
12
- * Custom UI Component to render select more photos for selected gallery access in iOS.
13
- */
14
- AttachmentPickerIOSSelectMorePhotos: React.ComponentType;
15
10
  /**
16
11
  * `bottomInset` determine the height of the `AttachmentPicker` and the underlying shift to the `MessageList` when it is opened.
17
12
  * This can also be set via the `setBottomInset` function provided by the `useAttachmentPickerContext` hook.
@@ -25,18 +20,6 @@ export type AttachmentPickerContextValue = Pick<MessageInputContextValue, 'attac
25
20
  openPicker: () => void;
26
21
  topInset: number;
27
22
  disableAttachmentPicker?: boolean;
28
- /**
29
- * Custom UI component to render overlay component, that shows up on top of [selected
30
- * image](https://github.com/GetStream/stream-chat-react-native/blob/main/screenshots/docs/1.png) (with tick mark)
31
- *
32
- * **Default**
33
- * [ImageOverlaySelectedComponent](https://github.com/GetStream/stream-chat-react-native/blob/main/package/src/components/AttachmentPicker/components/ImageOverlaySelectedComponent.tsx)
34
- */
35
- ImageOverlaySelectedComponent: React.ComponentType<{
36
- index: number;
37
- }>;
38
- AttachmentPickerSelectionBar: React.ComponentType;
39
- AttachmentPickerContent: React.ComponentType<AttachmentPickerContentProps>;
40
23
  attachmentPickerStore: AttachmentPickerStore;
41
24
  numberOfAttachmentPickerImageColumns?: number;
42
25
  numberOfAttachmentImagesToLoadPerCall?: number;
@@ -1 +1 @@
1
- {"version":3,"file":"AttachmentPickerContext.d.ts","sourceRoot":"","sources":["../../../../src/contexts/attachmentPickerContext/AttachmentPickerContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,iBAAiB,EAAiC,MAAM,OAAO,CAAC;AAEhF,OAAO,WAAW,MAAM,sBAAsB,CAAC;AAE/C,OAAO,EAAE,4BAA4B,EAAE,MAAM,kBAAkB,CAAC;AAChE,OAAO,EACL,qBAAqB,EACrB,kBAAkB,EACnB,MAAM,2CAA2C,CAAC;AACnD,OAAO,EAAE,wBAAwB,EAAE,MAAM,4CAA4C,CAAC;AAKtF,MAAM,MAAM,yBAAyB,GAAG;IACtC,oBAAoB,CAAC,EAAE,MA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