stream-chat-react-native-core 6.7.3 → 7.0.0-rc.10

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 (1211) hide show
  1. package/lib/commonjs/components/AITypingIndicatorView/AITypingIndicatorView.js.map +1 -1
  2. package/lib/commonjs/components/AITypingIndicatorView/hooks/useAIState.js.map +1 -1
  3. package/lib/commonjs/components/Attachment/Attachment.js +3 -3
  4. package/lib/commonjs/components/Attachment/Attachment.js.map +1 -1
  5. package/lib/commonjs/components/Attachment/AttachmentActions.js.map +1 -1
  6. package/lib/commonjs/components/Attachment/Card.js.map +1 -1
  7. package/lib/commonjs/components/Attachment/FileAttachment.js.map +1 -1
  8. package/lib/commonjs/components/Attachment/FileAttachmentGroup.js +4 -2
  9. package/lib/commonjs/components/Attachment/FileAttachmentGroup.js.map +1 -1
  10. package/lib/commonjs/components/Attachment/Gallery.js.map +1 -1
  11. package/lib/commonjs/components/Attachment/GalleryImage.js.map +1 -1
  12. package/lib/commonjs/components/Attachment/Giphy.js.map +1 -1
  13. package/lib/commonjs/components/Attachment/utils/buildGallery/buildGallery.js.map +1 -1
  14. package/lib/commonjs/components/Attachment/utils/buildGallery/buildGalleryOfSingleImage.js.map +1 -1
  15. package/lib/commonjs/components/Attachment/utils/buildGallery/buildGalleryOfThreeImages.js.map +1 -1
  16. package/lib/commonjs/components/Attachment/utils/buildGallery/buildGalleryOfTwoImages.js.map +1 -1
  17. package/lib/commonjs/components/Attachment/utils/buildGallery/buildThumbnail.js.map +1 -1
  18. package/lib/commonjs/components/Attachment/utils/buildGallery/buildThumbnailGrid.js.map +1 -1
  19. package/lib/commonjs/components/Attachment/utils/getAspectRatio.js.map +1 -1
  20. package/lib/commonjs/components/AttachmentPicker/AttachmentPicker.js +2 -2
  21. package/lib/commonjs/components/AttachmentPicker/AttachmentPicker.js.map +1 -1
  22. package/lib/commonjs/components/AttachmentPicker/components/AttachmentPickerItem.js +7 -24
  23. package/lib/commonjs/components/AttachmentPicker/components/AttachmentPickerItem.js.map +1 -1
  24. package/lib/commonjs/components/AutoCompleteInput/AutoCompleteInput.js +1 -1
  25. package/lib/commonjs/components/AutoCompleteInput/AutoCompleteInput.js.map +1 -1
  26. package/lib/commonjs/components/AutoCompleteInput/AutoCompleteSuggestionCommandIcon.js.map +1 -1
  27. package/lib/commonjs/components/AutoCompleteInput/AutoCompleteSuggestionHeader.js.map +1 -1
  28. package/lib/commonjs/components/AutoCompleteInput/AutoCompleteSuggestionItem.js.map +1 -1
  29. package/lib/commonjs/components/AutoCompleteInput/AutoCompleteSuggestionList.js.map +1 -1
  30. package/lib/commonjs/components/Channel/Channel.js +4 -6
  31. package/lib/commonjs/components/Channel/Channel.js.map +1 -1
  32. package/lib/commonjs/components/Channel/hooks/useChannelDataState.js.map +1 -1
  33. package/lib/commonjs/components/Channel/hooks/useCreateChannelContext.js.map +1 -1
  34. package/lib/commonjs/components/Channel/hooks/useCreateInputMessageInputContext.js.map +1 -1
  35. package/lib/commonjs/components/Channel/hooks/useCreateMessagesContext.js.map +1 -1
  36. package/lib/commonjs/components/Channel/hooks/useCreateOwnCapabilitiesContext.js.map +1 -1
  37. package/lib/commonjs/components/Channel/hooks/useCreatePaginatedMessageListContext.js.map +1 -1
  38. package/lib/commonjs/components/Channel/hooks/useCreateThreadContext.js.map +1 -1
  39. package/lib/commonjs/components/Channel/hooks/useCreateTypingContext.js.map +1 -1
  40. package/lib/commonjs/components/Channel/hooks/useMessageListPagination.js.map +1 -1
  41. package/lib/commonjs/components/ChannelList/ChannelList.js.map +1 -1
  42. package/lib/commonjs/components/ChannelList/ChannelListMessenger.js.map +1 -1
  43. package/lib/commonjs/components/ChannelList/hooks/listeners/useChannelUpdated.js.map +1 -1
  44. package/lib/commonjs/components/ChannelList/hooks/useChannelMembershipState.js.map +1 -1
  45. package/lib/commonjs/components/ChannelList/hooks/useCreateChannelsContext.js.map +1 -1
  46. package/lib/commonjs/components/ChannelList/hooks/usePaginatedChannels.js.map +1 -1
  47. package/lib/commonjs/components/ChannelList/hooks/utils/index.js.map +1 -1
  48. package/lib/commonjs/components/ChannelList/utils.js.map +1 -1
  49. package/lib/commonjs/components/ChannelPreview/ChannelAvatar.js.map +1 -1
  50. package/lib/commonjs/components/ChannelPreview/ChannelPreview.js.map +1 -1
  51. package/lib/commonjs/components/ChannelPreview/ChannelPreviewMessage.js.map +1 -1
  52. package/lib/commonjs/components/ChannelPreview/ChannelPreviewMessenger.js +1 -2
  53. package/lib/commonjs/components/ChannelPreview/ChannelPreviewMessenger.js.map +1 -1
  54. package/lib/commonjs/components/ChannelPreview/ChannelPreviewStatus.js.map +1 -1
  55. package/lib/commonjs/components/ChannelPreview/ChannelPreviewTitle.js.map +1 -1
  56. package/lib/commonjs/components/ChannelPreview/ChannelPreviewUnreadCount.js.map +1 -1
  57. package/lib/commonjs/components/ChannelPreview/hooks/useChannelPreviewData.js.map +1 -1
  58. package/lib/commonjs/components/ChannelPreview/hooks/useChannelPreviewDisplayAvatar.js.map +1 -1
  59. package/lib/commonjs/components/ChannelPreview/hooks/useChannelPreviewDisplayName.js.map +1 -1
  60. package/lib/commonjs/components/ChannelPreview/hooks/useChannelPreviewDisplayPresence.js.map +1 -1
  61. package/lib/commonjs/components/ChannelPreview/hooks/useIsChannelMuted.js.map +1 -1
  62. package/lib/commonjs/components/ChannelPreview/hooks/useLatestMessagePreview.js.map +1 -1
  63. package/lib/commonjs/components/Chat/Chat.js.map +1 -1
  64. package/lib/commonjs/components/Chat/hooks/handleEventToSyncDB.js.map +1 -1
  65. package/lib/commonjs/components/Chat/hooks/useAppSettings.js.map +1 -1
  66. package/lib/commonjs/components/Chat/hooks/useCreateChatClient.js.map +1 -1
  67. package/lib/commonjs/components/Chat/hooks/useCreateChatContext.js.map +1 -1
  68. package/lib/commonjs/components/Chat/hooks/useIsOnline.js.map +1 -1
  69. package/lib/commonjs/components/Chat/hooks/useMutedUsers.js.map +1 -1
  70. package/lib/commonjs/components/Chat/hooks/useSyncDatabase.js.map +1 -1
  71. package/lib/commonjs/components/ImageGallery/ImageGallery.js +8 -0
  72. package/lib/commonjs/components/ImageGallery/ImageGallery.js.map +1 -1
  73. package/lib/commonjs/components/ImageGallery/components/AnimatedGalleryVideo.js +0 -21
  74. package/lib/commonjs/components/ImageGallery/components/AnimatedGalleryVideo.js.map +1 -1
  75. package/lib/commonjs/components/ImageGallery/components/ImageGalleryFooter.js.map +1 -1
  76. package/lib/commonjs/components/ImageGallery/components/ImageGalleryHeader.js.map +1 -1
  77. package/lib/commonjs/components/ImageGallery/components/ImageGalleryVideoControl.js +2 -2
  78. package/lib/commonjs/components/ImageGallery/components/ImageGalleryVideoControl.js.map +1 -1
  79. package/lib/commonjs/components/ImageGallery/components/ImageGrid.js.map +1 -1
  80. package/lib/commonjs/components/Message/Message.js +12 -6
  81. package/lib/commonjs/components/Message/Message.js.map +1 -1
  82. package/lib/commonjs/components/Message/MessageSimple/MessageAvatar.js.map +1 -1
  83. package/lib/commonjs/components/Message/MessageSimple/MessageBounce.js.map +1 -1
  84. package/lib/commonjs/components/Message/MessageSimple/MessageContent.js.map +1 -1
  85. package/lib/commonjs/components/Message/MessageSimple/MessageDeleted.js.map +1 -1
  86. package/lib/commonjs/components/Message/MessageSimple/MessageEditedTimestamp.js.map +1 -1
  87. package/lib/commonjs/components/Message/MessageSimple/MessageFooter.js.map +1 -1
  88. package/lib/commonjs/components/Message/MessageSimple/MessagePinnedHeader.js.map +1 -1
  89. package/lib/commonjs/components/Message/MessageSimple/MessageReplies.js.map +1 -1
  90. package/lib/commonjs/components/Message/MessageSimple/MessageRepliesAvatars.js.map +1 -1
  91. package/lib/commonjs/components/Message/MessageSimple/MessageSimple.js.map +1 -1
  92. package/lib/commonjs/components/Message/MessageSimple/MessageStatus.js +14 -6
  93. package/lib/commonjs/components/Message/MessageSimple/MessageStatus.js.map +1 -1
  94. package/lib/commonjs/components/Message/MessageSimple/MessageTextContainer.js.map +1 -1
  95. package/lib/commonjs/components/Message/MessageSimple/ReactionList/ReactionListBottom.js.map +1 -1
  96. package/lib/commonjs/components/Message/MessageSimple/ReactionList/ReactionListTop.js.map +1 -1
  97. package/lib/commonjs/components/Message/MessageSimple/StreamingMessageView.js.map +1 -1
  98. package/lib/commonjs/components/Message/MessageSimple/utils/renderText.js.map +1 -1
  99. package/lib/commonjs/components/Message/hooks/useCreateMessageContext.js +3 -1
  100. package/lib/commonjs/components/Message/hooks/useCreateMessageContext.js.map +1 -1
  101. package/lib/commonjs/components/Message/hooks/useMessageActionHandlers.js.map +1 -1
  102. package/lib/commonjs/components/Message/hooks/useMessageActions.js.map +1 -1
  103. package/lib/commonjs/components/Message/hooks/useMessageData.js.map +1 -1
  104. package/lib/commonjs/components/Message/hooks/useProcessReactions.js.map +1 -1
  105. package/lib/commonjs/components/Message/hooks/useStreamingMessage.js.map +1 -1
  106. package/lib/commonjs/components/Message/utils/messageActions.js.map +1 -1
  107. package/lib/commonjs/components/MessageInput/AttachButton.js.map +1 -1
  108. package/lib/commonjs/components/MessageInput/CommandsButton.js.map +1 -1
  109. package/lib/commonjs/components/MessageInput/FileUploadPreview.js +25 -39
  110. package/lib/commonjs/components/MessageInput/FileUploadPreview.js.map +1 -1
  111. package/lib/commonjs/components/MessageInput/ImageUploadPreview.js.map +1 -1
  112. package/lib/commonjs/components/MessageInput/InputButtons.js.map +1 -1
  113. package/lib/commonjs/components/MessageInput/MessageInput.js +81 -66
  114. package/lib/commonjs/components/MessageInput/MessageInput.js.map +1 -1
  115. package/lib/commonjs/components/MessageInput/MoreOptionsButton.js.map +1 -1
  116. package/lib/commonjs/components/MessageInput/SendButton.js.map +1 -1
  117. package/lib/commonjs/components/MessageInput/ShowThreadMessageInChannelButton.js.map +1 -1
  118. package/lib/commonjs/components/MessageInput/components/AudioRecorder/AudioRecorder.js.map +1 -1
  119. package/lib/commonjs/components/MessageInput/components/AudioRecorder/AudioRecordingButton.js.map +1 -1
  120. package/lib/commonjs/components/MessageInput/components/AudioRecorder/AudioRecordingInProgress.js.map +1 -1
  121. package/lib/commonjs/components/MessageInput/components/InputEditingStateHeader.js.map +1 -1
  122. package/lib/commonjs/components/MessageInput/components/InputGiphySearch.js.map +1 -1
  123. package/lib/commonjs/components/MessageInput/components/InputReplyStateHeader.js.map +1 -1
  124. package/lib/commonjs/components/MessageInput/hooks/useAudioController.js +4 -4
  125. package/lib/commonjs/components/MessageInput/hooks/useAudioController.js.map +1 -1
  126. package/lib/commonjs/components/MessageInput/hooks/useCooldown.js.map +1 -1
  127. package/lib/commonjs/components/MessageList/InlineLoadingMoreIndicator.js.map +1 -1
  128. package/lib/commonjs/components/MessageList/InlineLoadingMoreRecentIndicator.js.map +1 -1
  129. package/lib/commonjs/components/MessageList/InlineLoadingMoreRecentThreadIndicator.js.map +1 -1
  130. package/lib/commonjs/components/MessageList/MessageList.js +9 -7
  131. package/lib/commonjs/components/MessageList/MessageList.js.map +1 -1
  132. package/lib/commonjs/components/MessageList/MessageSystem.js.map +1 -1
  133. package/lib/commonjs/components/MessageList/StickyHeader.js.map +1 -1
  134. package/lib/commonjs/components/MessageList/TypingIndicator.js.map +1 -1
  135. package/lib/commonjs/components/MessageList/TypingIndicatorContainer.js.map +1 -1
  136. package/lib/commonjs/components/MessageList/hooks/useMessageList.js +18 -24
  137. package/lib/commonjs/components/MessageList/hooks/useMessageList.js.map +1 -1
  138. package/lib/commonjs/components/MessageList/hooks/useShouldScrollToRecentOnNewOwnMessage.js.map +1 -1
  139. package/lib/commonjs/components/MessageList/hooks/useTypingString.js.map +1 -1
  140. package/lib/commonjs/components/MessageList/utils/filterTypingUsers.js.map +1 -1
  141. package/lib/commonjs/components/MessageList/utils/getDateSeparators.js.map +1 -1
  142. package/lib/commonjs/components/MessageList/utils/getGroupStyles.js +1 -1
  143. package/lib/commonjs/components/MessageList/utils/getGroupStyles.js.map +1 -1
  144. package/lib/commonjs/components/MessageList/utils/getLastReceivedMessage.js.map +1 -1
  145. package/lib/commonjs/components/MessageList/utils/getReadState.js +20 -0
  146. package/lib/commonjs/components/MessageList/utils/getReadState.js.map +1 -0
  147. package/lib/commonjs/components/MessageMenu/MessageMenu.js.map +1 -1
  148. package/lib/commonjs/components/MessageMenu/MessageReactionPicker.js.map +1 -1
  149. package/lib/commonjs/components/MessageMenu/MessageUserReactions.js.map +1 -1
  150. package/lib/commonjs/components/MessageMenu/MessageUserReactionsItem.js.map +1 -1
  151. package/lib/commonjs/components/MessageMenu/hooks/useFetchReactions.js.map +1 -1
  152. package/lib/commonjs/components/Poll/Poll.js.map +1 -1
  153. package/lib/commonjs/components/Poll/components/Button.js.map +1 -1
  154. package/lib/commonjs/components/Poll/components/PollAnswersList.js.map +1 -1
  155. package/lib/commonjs/components/Poll/components/PollResults/PollOptionFullResults.js.map +1 -1
  156. package/lib/commonjs/components/Poll/components/PollResults/PollResultItem.js.map +1 -1
  157. package/lib/commonjs/components/Poll/hooks/usePollState.js.map +1 -1
  158. package/lib/commonjs/components/Reply/Reply.js +2 -2
  159. package/lib/commonjs/components/Reply/Reply.js.map +1 -1
  160. package/lib/commonjs/components/Thread/Thread.js.map +1 -1
  161. package/lib/commonjs/components/Thread/components/ThreadFooterComponent.js +1 -0
  162. package/lib/commonjs/components/Thread/components/ThreadFooterComponent.js.map +1 -1
  163. package/lib/commonjs/components/ThreadList/ThreadList.js.map +1 -1
  164. package/lib/commonjs/components/ThreadList/ThreadListItem.js.map +1 -1
  165. package/lib/commonjs/components/index.js +4 -103
  166. package/lib/commonjs/components/index.js.map +1 -1
  167. package/lib/commonjs/contexts/attachmentPickerContext/AttachmentPickerContext.js.map +1 -1
  168. package/lib/commonjs/contexts/channelContext/ChannelContext.js.map +1 -1
  169. package/lib/commonjs/contexts/channelsContext/ChannelsContext.js.map +1 -1
  170. package/lib/commonjs/contexts/channelsStateContext/ChannelsStateContext.js.map +1 -1
  171. package/lib/commonjs/contexts/channelsStateContext/useChannelState.js.map +1 -1
  172. package/lib/commonjs/contexts/chatContext/ChatContext.js.map +1 -1
  173. package/lib/commonjs/contexts/debugContext/DebugContext.js.map +1 -1
  174. package/lib/commonjs/contexts/imageGalleryContext/ImageGalleryContext.js.map +1 -1
  175. package/lib/commonjs/contexts/messageContext/MessageContext.js.map +1 -1
  176. package/lib/commonjs/contexts/messageInputContext/MessageInputContext.js +95 -74
  177. package/lib/commonjs/contexts/messageInputContext/MessageInputContext.js.map +1 -1
  178. package/lib/commonjs/contexts/messageInputContext/hooks/useCreateMessageInputContext.js +2 -5
  179. package/lib/commonjs/contexts/messageInputContext/hooks/useCreateMessageInputContext.js.map +1 -1
  180. package/lib/commonjs/contexts/messageInputContext/hooks/useMessageDetailsForState.js +27 -32
  181. package/lib/commonjs/contexts/messageInputContext/hooks/useMessageDetailsForState.js.map +1 -1
  182. package/lib/commonjs/contexts/messageInputContext/utils/utils.js +4 -4
  183. package/lib/commonjs/contexts/messageInputContext/utils/utils.js.map +1 -1
  184. package/lib/commonjs/contexts/messagesContext/MessagesContext.js.map +1 -1
  185. package/lib/commonjs/contexts/overlayContext/OverlayContext.js.map +1 -1
  186. package/lib/commonjs/contexts/overlayContext/OverlayProvider.js.map +1 -1
  187. package/lib/commonjs/contexts/paginatedMessageListContext/PaginatedMessageListContext.js.map +1 -1
  188. package/lib/commonjs/contexts/pollContext/pollContext.js.map +1 -1
  189. package/lib/commonjs/contexts/suggestionsContext/SuggestionsContext.js.map +1 -1
  190. package/lib/commonjs/contexts/threadContext/ThreadContext.js.map +1 -1
  191. package/lib/commonjs/contexts/threadsContext/ThreadListItemContext.js.map +1 -1
  192. package/lib/commonjs/contexts/threadsContext/ThreadsContext.js +1 -1
  193. package/lib/commonjs/contexts/threadsContext/ThreadsContext.js.map +1 -1
  194. package/lib/commonjs/contexts/typingContext/TypingContext.js.map +1 -1
  195. package/lib/commonjs/hooks/useSelectedChannelState.js.map +1 -1
  196. package/lib/commonjs/hooks/useSyncClientEvents.js.map +1 -1
  197. package/lib/commonjs/hooks/useTranslatedMessage.js.map +1 -1
  198. package/lib/commonjs/mock-builders/api/channelMocks.js.map +1 -1
  199. package/lib/commonjs/native.js.map +1 -1
  200. package/lib/commonjs/store/apis/getChannelMessages.js.map +1 -1
  201. package/lib/commonjs/store/apis/getChannels.js.map +1 -1
  202. package/lib/commonjs/store/apis/getChannelsForFilterSort.js.map +1 -1
  203. package/lib/commonjs/store/apis/getMembers.js.map +1 -1
  204. package/lib/commonjs/store/apis/getReactions.js.map +1 -1
  205. package/lib/commonjs/store/apis/getReactionsforFilterSort.js.map +1 -1
  206. package/lib/commonjs/store/apis/getReads.js.map +1 -1
  207. package/lib/commonjs/store/apis/queries/selectChannelIdsForFilterSort.js.map +1 -1
  208. package/lib/commonjs/store/apis/updatePollMessage.js.map +1 -1
  209. package/lib/commonjs/store/apis/upsertChannelDataFromChannel.js.map +1 -1
  210. package/lib/commonjs/store/apis/utils/convertFilterSortToQuery.js.map +1 -1
  211. package/lib/commonjs/store/mappers/mapChannelDataToStorable.js.map +1 -1
  212. package/lib/commonjs/store/mappers/mapChannelToStorable.js.map +1 -1
  213. package/lib/commonjs/store/mappers/mapMemberToStorable.js.map +1 -1
  214. package/lib/commonjs/store/mappers/mapMessageToStorable.js.map +1 -1
  215. package/lib/commonjs/store/mappers/mapReadToStorable.js.map +1 -1
  216. package/lib/commonjs/store/mappers/mapStorableToChannel.js.map +1 -1
  217. package/lib/commonjs/store/mappers/mapStorableToMember.js.map +1 -1
  218. package/lib/commonjs/store/mappers/mapStorableToMessage.js.map +1 -1
  219. package/lib/commonjs/store/mappers/mapStorableToPoll.js.map +1 -1
  220. package/lib/commonjs/store/mappers/mapStorableToReaction.js.map +1 -1
  221. package/lib/commonjs/store/mappers/mapStorableToRead.js.map +1 -1
  222. package/lib/commonjs/store/mappers/mapStorableToUser.js.map +1 -1
  223. package/lib/commonjs/types/stream-chat-common-custom-data.d.js +2 -0
  224. package/lib/commonjs/types/stream-chat-common-custom-data.d.js.map +1 -0
  225. package/lib/commonjs/types/types.js.map +1 -1
  226. package/lib/commonjs/utils/ACITriggerSettings.js.map +1 -1
  227. package/lib/commonjs/utils/DBSyncManager.js.map +1 -1
  228. package/lib/commonjs/utils/addReactionToLocalState.js.map +1 -1
  229. package/lib/commonjs/utils/compressImage.js +1 -1
  230. package/lib/commonjs/utils/compressImage.js.map +1 -1
  231. package/lib/commonjs/utils/i18n/Streami18n.js.map +1 -1
  232. package/lib/commonjs/utils/queryMembers.js.map +1 -1
  233. package/lib/commonjs/utils/queryUsers.js.map +1 -1
  234. package/lib/commonjs/utils/removeReactionFromLocalState.js.map +1 -1
  235. package/lib/commonjs/utils/removeReservedFields.js.map +1 -1
  236. package/lib/commonjs/utils/utils.js +38 -24
  237. package/lib/commonjs/utils/utils.js.map +1 -1
  238. package/lib/commonjs/version.json +1 -1
  239. package/lib/module/components/AITypingIndicatorView/AITypingIndicatorView.js.map +1 -1
  240. package/lib/module/components/AITypingIndicatorView/hooks/useAIState.js.map +1 -1
  241. package/lib/module/components/Attachment/Attachment.js +3 -3
  242. package/lib/module/components/Attachment/Attachment.js.map +1 -1
  243. package/lib/module/components/Attachment/AttachmentActions.js.map +1 -1
  244. package/lib/module/components/Attachment/Card.js.map +1 -1
  245. package/lib/module/components/Attachment/FileAttachment.js.map +1 -1
  246. package/lib/module/components/Attachment/FileAttachmentGroup.js +4 -2
  247. package/lib/module/components/Attachment/FileAttachmentGroup.js.map +1 -1
  248. package/lib/module/components/Attachment/Gallery.js.map +1 -1
  249. package/lib/module/components/Attachment/GalleryImage.js.map +1 -1
  250. package/lib/module/components/Attachment/Giphy.js.map +1 -1
  251. package/lib/module/components/Attachment/utils/buildGallery/buildGallery.js.map +1 -1
  252. package/lib/module/components/Attachment/utils/buildGallery/buildGalleryOfSingleImage.js.map +1 -1
  253. package/lib/module/components/Attachment/utils/buildGallery/buildGalleryOfThreeImages.js.map +1 -1
  254. package/lib/module/components/Attachment/utils/buildGallery/buildGalleryOfTwoImages.js.map +1 -1
  255. package/lib/module/components/Attachment/utils/buildGallery/buildThumbnail.js.map +1 -1
  256. package/lib/module/components/Attachment/utils/buildGallery/buildThumbnailGrid.js.map +1 -1
  257. package/lib/module/components/Attachment/utils/getAspectRatio.js.map +1 -1
  258. package/lib/module/components/AttachmentPicker/AttachmentPicker.js +2 -2
  259. package/lib/module/components/AttachmentPicker/AttachmentPicker.js.map +1 -1
  260. package/lib/module/components/AttachmentPicker/components/AttachmentPickerItem.js +7 -24
  261. package/lib/module/components/AttachmentPicker/components/AttachmentPickerItem.js.map +1 -1
  262. package/lib/module/components/AutoCompleteInput/AutoCompleteInput.js +1 -1
  263. package/lib/module/components/AutoCompleteInput/AutoCompleteInput.js.map +1 -1
  264. package/lib/module/components/AutoCompleteInput/AutoCompleteSuggestionCommandIcon.js.map +1 -1
  265. package/lib/module/components/AutoCompleteInput/AutoCompleteSuggestionHeader.js.map +1 -1
  266. package/lib/module/components/AutoCompleteInput/AutoCompleteSuggestionItem.js.map +1 -1
  267. package/lib/module/components/AutoCompleteInput/AutoCompleteSuggestionList.js.map +1 -1
  268. package/lib/module/components/Channel/Channel.js +4 -6
  269. package/lib/module/components/Channel/Channel.js.map +1 -1
  270. package/lib/module/components/Channel/hooks/useChannelDataState.js.map +1 -1
  271. package/lib/module/components/Channel/hooks/useCreateChannelContext.js.map +1 -1
  272. package/lib/module/components/Channel/hooks/useCreateInputMessageInputContext.js.map +1 -1
  273. package/lib/module/components/Channel/hooks/useCreateMessagesContext.js.map +1 -1
  274. package/lib/module/components/Channel/hooks/useCreateOwnCapabilitiesContext.js.map +1 -1
  275. package/lib/module/components/Channel/hooks/useCreatePaginatedMessageListContext.js.map +1 -1
  276. package/lib/module/components/Channel/hooks/useCreateThreadContext.js.map +1 -1
  277. package/lib/module/components/Channel/hooks/useCreateTypingContext.js.map +1 -1
  278. package/lib/module/components/Channel/hooks/useMessageListPagination.js.map +1 -1
  279. package/lib/module/components/ChannelList/ChannelList.js.map +1 -1
  280. package/lib/module/components/ChannelList/ChannelListMessenger.js.map +1 -1
  281. package/lib/module/components/ChannelList/hooks/listeners/useChannelUpdated.js.map +1 -1
  282. package/lib/module/components/ChannelList/hooks/useChannelMembershipState.js.map +1 -1
  283. package/lib/module/components/ChannelList/hooks/useCreateChannelsContext.js.map +1 -1
  284. package/lib/module/components/ChannelList/hooks/usePaginatedChannels.js.map +1 -1
  285. package/lib/module/components/ChannelList/hooks/utils/index.js.map +1 -1
  286. package/lib/module/components/ChannelList/utils.js.map +1 -1
  287. package/lib/module/components/ChannelPreview/ChannelAvatar.js.map +1 -1
  288. package/lib/module/components/ChannelPreview/ChannelPreview.js.map +1 -1
  289. package/lib/module/components/ChannelPreview/ChannelPreviewMessage.js.map +1 -1
  290. package/lib/module/components/ChannelPreview/ChannelPreviewMessenger.js +1 -2
  291. package/lib/module/components/ChannelPreview/ChannelPreviewMessenger.js.map +1 -1
  292. package/lib/module/components/ChannelPreview/ChannelPreviewStatus.js.map +1 -1
  293. package/lib/module/components/ChannelPreview/ChannelPreviewTitle.js.map +1 -1
  294. package/lib/module/components/ChannelPreview/ChannelPreviewUnreadCount.js.map +1 -1
  295. package/lib/module/components/ChannelPreview/hooks/useChannelPreviewData.js.map +1 -1
  296. package/lib/module/components/ChannelPreview/hooks/useChannelPreviewDisplayAvatar.js.map +1 -1
  297. package/lib/module/components/ChannelPreview/hooks/useChannelPreviewDisplayName.js.map +1 -1
  298. package/lib/module/components/ChannelPreview/hooks/useChannelPreviewDisplayPresence.js.map +1 -1
  299. package/lib/module/components/ChannelPreview/hooks/useIsChannelMuted.js.map +1 -1
  300. package/lib/module/components/ChannelPreview/hooks/useLatestMessagePreview.js.map +1 -1
  301. package/lib/module/components/Chat/Chat.js.map +1 -1
  302. package/lib/module/components/Chat/hooks/handleEventToSyncDB.js.map +1 -1
  303. package/lib/module/components/Chat/hooks/useAppSettings.js.map +1 -1
  304. package/lib/module/components/Chat/hooks/useCreateChatClient.js.map +1 -1
  305. package/lib/module/components/Chat/hooks/useCreateChatContext.js.map +1 -1
  306. package/lib/module/components/Chat/hooks/useIsOnline.js.map +1 -1
  307. package/lib/module/components/Chat/hooks/useMutedUsers.js.map +1 -1
  308. package/lib/module/components/Chat/hooks/useSyncDatabase.js.map +1 -1
  309. package/lib/module/components/ImageGallery/ImageGallery.js +8 -0
  310. package/lib/module/components/ImageGallery/ImageGallery.js.map +1 -1
  311. package/lib/module/components/ImageGallery/components/AnimatedGalleryVideo.js +0 -21
  312. package/lib/module/components/ImageGallery/components/AnimatedGalleryVideo.js.map +1 -1
  313. package/lib/module/components/ImageGallery/components/ImageGalleryFooter.js.map +1 -1
  314. package/lib/module/components/ImageGallery/components/ImageGalleryHeader.js.map +1 -1
  315. package/lib/module/components/ImageGallery/components/ImageGalleryVideoControl.js +2 -2
  316. package/lib/module/components/ImageGallery/components/ImageGalleryVideoControl.js.map +1 -1
  317. package/lib/module/components/ImageGallery/components/ImageGrid.js.map +1 -1
  318. package/lib/module/components/Message/Message.js +12 -6
  319. package/lib/module/components/Message/Message.js.map +1 -1
  320. package/lib/module/components/Message/MessageSimple/MessageAvatar.js.map +1 -1
  321. package/lib/module/components/Message/MessageSimple/MessageBounce.js.map +1 -1
  322. package/lib/module/components/Message/MessageSimple/MessageContent.js.map +1 -1
  323. package/lib/module/components/Message/MessageSimple/MessageDeleted.js.map +1 -1
  324. package/lib/module/components/Message/MessageSimple/MessageEditedTimestamp.js.map +1 -1
  325. package/lib/module/components/Message/MessageSimple/MessageFooter.js.map +1 -1
  326. package/lib/module/components/Message/MessageSimple/MessagePinnedHeader.js.map +1 -1
  327. package/lib/module/components/Message/MessageSimple/MessageReplies.js.map +1 -1
  328. package/lib/module/components/Message/MessageSimple/MessageRepliesAvatars.js.map +1 -1
  329. package/lib/module/components/Message/MessageSimple/MessageSimple.js.map +1 -1
  330. package/lib/module/components/Message/MessageSimple/MessageStatus.js +14 -6
  331. package/lib/module/components/Message/MessageSimple/MessageStatus.js.map +1 -1
  332. package/lib/module/components/Message/MessageSimple/MessageTextContainer.js.map +1 -1
  333. package/lib/module/components/Message/MessageSimple/ReactionList/ReactionListBottom.js.map +1 -1
  334. package/lib/module/components/Message/MessageSimple/ReactionList/ReactionListTop.js.map +1 -1
  335. package/lib/module/components/Message/MessageSimple/StreamingMessageView.js.map +1 -1
  336. package/lib/module/components/Message/MessageSimple/utils/renderText.js.map +1 -1
  337. package/lib/module/components/Message/hooks/useCreateMessageContext.js +3 -1
  338. package/lib/module/components/Message/hooks/useCreateMessageContext.js.map +1 -1
  339. package/lib/module/components/Message/hooks/useMessageActionHandlers.js.map +1 -1
  340. package/lib/module/components/Message/hooks/useMessageActions.js.map +1 -1
  341. package/lib/module/components/Message/hooks/useMessageData.js.map +1 -1
  342. package/lib/module/components/Message/hooks/useProcessReactions.js.map +1 -1
  343. package/lib/module/components/Message/hooks/useStreamingMessage.js.map +1 -1
  344. package/lib/module/components/Message/utils/messageActions.js.map +1 -1
  345. package/lib/module/components/MessageInput/AttachButton.js.map +1 -1
  346. package/lib/module/components/MessageInput/CommandsButton.js.map +1 -1
  347. package/lib/module/components/MessageInput/FileUploadPreview.js +25 -39
  348. package/lib/module/components/MessageInput/FileUploadPreview.js.map +1 -1
  349. package/lib/module/components/MessageInput/ImageUploadPreview.js.map +1 -1
  350. package/lib/module/components/MessageInput/InputButtons.js.map +1 -1
  351. package/lib/module/components/MessageInput/MessageInput.js +81 -66
  352. package/lib/module/components/MessageInput/MessageInput.js.map +1 -1
  353. package/lib/module/components/MessageInput/MoreOptionsButton.js.map +1 -1
  354. package/lib/module/components/MessageInput/SendButton.js.map +1 -1
  355. package/lib/module/components/MessageInput/ShowThreadMessageInChannelButton.js.map +1 -1
  356. package/lib/module/components/MessageInput/components/AudioRecorder/AudioRecorder.js.map +1 -1
  357. package/lib/module/components/MessageInput/components/AudioRecorder/AudioRecordingButton.js.map +1 -1
  358. package/lib/module/components/MessageInput/components/AudioRecorder/AudioRecordingInProgress.js.map +1 -1
  359. package/lib/module/components/MessageInput/components/InputEditingStateHeader.js.map +1 -1
  360. package/lib/module/components/MessageInput/components/InputGiphySearch.js.map +1 -1
  361. package/lib/module/components/MessageInput/components/InputReplyStateHeader.js.map +1 -1
  362. package/lib/module/components/MessageInput/hooks/useAudioController.js +4 -4
  363. package/lib/module/components/MessageInput/hooks/useAudioController.js.map +1 -1
  364. package/lib/module/components/MessageInput/hooks/useCooldown.js.map +1 -1
  365. package/lib/module/components/MessageList/InlineLoadingMoreIndicator.js.map +1 -1
  366. package/lib/module/components/MessageList/InlineLoadingMoreRecentIndicator.js.map +1 -1
  367. package/lib/module/components/MessageList/InlineLoadingMoreRecentThreadIndicator.js.map +1 -1
  368. package/lib/module/components/MessageList/MessageList.js +9 -7
  369. package/lib/module/components/MessageList/MessageList.js.map +1 -1
  370. package/lib/module/components/MessageList/MessageSystem.js.map +1 -1
  371. package/lib/module/components/MessageList/StickyHeader.js.map +1 -1
  372. package/lib/module/components/MessageList/TypingIndicator.js.map +1 -1
  373. package/lib/module/components/MessageList/TypingIndicatorContainer.js.map +1 -1
  374. package/lib/module/components/MessageList/hooks/useMessageList.js +18 -24
  375. package/lib/module/components/MessageList/hooks/useMessageList.js.map +1 -1
  376. package/lib/module/components/MessageList/hooks/useShouldScrollToRecentOnNewOwnMessage.js.map +1 -1
  377. package/lib/module/components/MessageList/hooks/useTypingString.js.map +1 -1
  378. package/lib/module/components/MessageList/utils/filterTypingUsers.js.map +1 -1
  379. package/lib/module/components/MessageList/utils/getDateSeparators.js.map +1 -1
  380. package/lib/module/components/MessageList/utils/getGroupStyles.js +1 -1
  381. package/lib/module/components/MessageList/utils/getGroupStyles.js.map +1 -1
  382. package/lib/module/components/MessageList/utils/getLastReceivedMessage.js.map +1 -1
  383. package/lib/module/components/MessageList/utils/getReadState.js +20 -0
  384. package/lib/module/components/MessageList/utils/getReadState.js.map +1 -0
  385. package/lib/module/components/MessageMenu/MessageMenu.js.map +1 -1
  386. package/lib/module/components/MessageMenu/MessageReactionPicker.js.map +1 -1
  387. package/lib/module/components/MessageMenu/MessageUserReactions.js.map +1 -1
  388. package/lib/module/components/MessageMenu/MessageUserReactionsItem.js.map +1 -1
  389. package/lib/module/components/MessageMenu/hooks/useFetchReactions.js.map +1 -1
  390. package/lib/module/components/Poll/Poll.js.map +1 -1
  391. package/lib/module/components/Poll/components/Button.js.map +1 -1
  392. package/lib/module/components/Poll/components/PollAnswersList.js.map +1 -1
  393. package/lib/module/components/Poll/components/PollResults/PollOptionFullResults.js.map +1 -1
  394. package/lib/module/components/Poll/components/PollResults/PollResultItem.js.map +1 -1
  395. package/lib/module/components/Poll/hooks/usePollState.js.map +1 -1
  396. package/lib/module/components/Reply/Reply.js +2 -2
  397. package/lib/module/components/Reply/Reply.js.map +1 -1
  398. package/lib/module/components/Thread/Thread.js.map +1 -1
  399. package/lib/module/components/Thread/components/ThreadFooterComponent.js +1 -0
  400. package/lib/module/components/Thread/components/ThreadFooterComponent.js.map +1 -1
  401. package/lib/module/components/ThreadList/ThreadList.js.map +1 -1
  402. package/lib/module/components/ThreadList/ThreadListItem.js.map +1 -1
  403. package/lib/module/components/index.js +4 -103
  404. package/lib/module/components/index.js.map +1 -1
  405. package/lib/module/contexts/attachmentPickerContext/AttachmentPickerContext.js.map +1 -1
  406. package/lib/module/contexts/channelContext/ChannelContext.js.map +1 -1
  407. package/lib/module/contexts/channelsContext/ChannelsContext.js.map +1 -1
  408. package/lib/module/contexts/channelsStateContext/ChannelsStateContext.js.map +1 -1
  409. package/lib/module/contexts/channelsStateContext/useChannelState.js.map +1 -1
  410. package/lib/module/contexts/chatContext/ChatContext.js.map +1 -1
  411. package/lib/module/contexts/debugContext/DebugContext.js.map +1 -1
  412. package/lib/module/contexts/imageGalleryContext/ImageGalleryContext.js.map +1 -1
  413. package/lib/module/contexts/messageContext/MessageContext.js.map +1 -1
  414. package/lib/module/contexts/messageInputContext/MessageInputContext.js +95 -74
  415. package/lib/module/contexts/messageInputContext/MessageInputContext.js.map +1 -1
  416. package/lib/module/contexts/messageInputContext/hooks/useCreateMessageInputContext.js +2 -5
  417. package/lib/module/contexts/messageInputContext/hooks/useCreateMessageInputContext.js.map +1 -1
  418. package/lib/module/contexts/messageInputContext/hooks/useMessageDetailsForState.js +27 -32
  419. package/lib/module/contexts/messageInputContext/hooks/useMessageDetailsForState.js.map +1 -1
  420. package/lib/module/contexts/messageInputContext/utils/utils.js +4 -4
  421. package/lib/module/contexts/messageInputContext/utils/utils.js.map +1 -1
  422. package/lib/module/contexts/messagesContext/MessagesContext.js.map +1 -1
  423. package/lib/module/contexts/overlayContext/OverlayContext.js.map +1 -1
  424. package/lib/module/contexts/overlayContext/OverlayProvider.js.map +1 -1
  425. package/lib/module/contexts/paginatedMessageListContext/PaginatedMessageListContext.js.map +1 -1
  426. package/lib/module/contexts/pollContext/pollContext.js.map +1 -1
  427. package/lib/module/contexts/suggestionsContext/SuggestionsContext.js.map +1 -1
  428. package/lib/module/contexts/threadContext/ThreadContext.js.map +1 -1
  429. package/lib/module/contexts/threadsContext/ThreadListItemContext.js.map +1 -1
  430. package/lib/module/contexts/threadsContext/ThreadsContext.js +1 -1
  431. package/lib/module/contexts/threadsContext/ThreadsContext.js.map +1 -1
  432. package/lib/module/contexts/typingContext/TypingContext.js.map +1 -1
  433. package/lib/module/hooks/useSelectedChannelState.js.map +1 -1
  434. package/lib/module/hooks/useSyncClientEvents.js.map +1 -1
  435. package/lib/module/hooks/useTranslatedMessage.js.map +1 -1
  436. package/lib/module/mock-builders/api/channelMocks.js.map +1 -1
  437. package/lib/module/native.js.map +1 -1
  438. package/lib/module/store/apis/getChannelMessages.js.map +1 -1
  439. package/lib/module/store/apis/getChannels.js.map +1 -1
  440. package/lib/module/store/apis/getChannelsForFilterSort.js.map +1 -1
  441. package/lib/module/store/apis/getMembers.js.map +1 -1
  442. package/lib/module/store/apis/getReactions.js.map +1 -1
  443. package/lib/module/store/apis/getReactionsforFilterSort.js.map +1 -1
  444. package/lib/module/store/apis/getReads.js.map +1 -1
  445. package/lib/module/store/apis/queries/selectChannelIdsForFilterSort.js.map +1 -1
  446. package/lib/module/store/apis/updatePollMessage.js.map +1 -1
  447. package/lib/module/store/apis/upsertChannelDataFromChannel.js.map +1 -1
  448. package/lib/module/store/apis/utils/convertFilterSortToQuery.js.map +1 -1
  449. package/lib/module/store/mappers/mapChannelDataToStorable.js.map +1 -1
  450. package/lib/module/store/mappers/mapChannelToStorable.js.map +1 -1
  451. package/lib/module/store/mappers/mapMemberToStorable.js.map +1 -1
  452. package/lib/module/store/mappers/mapMessageToStorable.js.map +1 -1
  453. package/lib/module/store/mappers/mapReadToStorable.js.map +1 -1
  454. package/lib/module/store/mappers/mapStorableToChannel.js.map +1 -1
  455. package/lib/module/store/mappers/mapStorableToMember.js.map +1 -1
  456. package/lib/module/store/mappers/mapStorableToMessage.js.map +1 -1
  457. package/lib/module/store/mappers/mapStorableToPoll.js.map +1 -1
  458. package/lib/module/store/mappers/mapStorableToReaction.js.map +1 -1
  459. package/lib/module/store/mappers/mapStorableToRead.js.map +1 -1
  460. package/lib/module/store/mappers/mapStorableToUser.js.map +1 -1
  461. package/lib/module/types/stream-chat-common-custom-data.d.js +2 -0
  462. package/lib/module/types/stream-chat-common-custom-data.d.js.map +1 -0
  463. package/lib/module/types/types.js.map +1 -1
  464. package/lib/module/utils/ACITriggerSettings.js.map +1 -1
  465. package/lib/module/utils/DBSyncManager.js.map +1 -1
  466. package/lib/module/utils/addReactionToLocalState.js.map +1 -1
  467. package/lib/module/utils/compressImage.js +1 -1
  468. package/lib/module/utils/compressImage.js.map +1 -1
  469. package/lib/module/utils/i18n/Streami18n.js.map +1 -1
  470. package/lib/module/utils/queryMembers.js.map +1 -1
  471. package/lib/module/utils/queryUsers.js.map +1 -1
  472. package/lib/module/utils/removeReactionFromLocalState.js.map +1 -1
  473. package/lib/module/utils/removeReservedFields.js.map +1 -1
  474. package/lib/module/utils/utils.js +38 -24
  475. package/lib/module/utils/utils.js.map +1 -1
  476. package/lib/module/version.json +1 -1
  477. package/lib/typescript/components/AITypingIndicatorView/AITypingIndicatorView.d.ts +3 -4
  478. package/lib/typescript/components/AITypingIndicatorView/AITypingIndicatorView.d.ts.map +1 -1
  479. package/lib/typescript/components/AITypingIndicatorView/hooks/useAIState.d.ts +1 -2
  480. package/lib/typescript/components/AITypingIndicatorView/hooks/useAIState.d.ts.map +1 -1
  481. package/lib/typescript/components/Attachment/Attachment.d.ts +4 -5
  482. package/lib/typescript/components/Attachment/Attachment.d.ts.map +1 -1
  483. package/lib/typescript/components/Attachment/AttachmentActions.d.ts +3 -4
  484. package/lib/typescript/components/Attachment/AttachmentActions.d.ts.map +1 -1
  485. package/lib/typescript/components/Attachment/AudioAttachment.d.ts +2 -2
  486. package/lib/typescript/components/Attachment/AudioAttachment.d.ts.map +1 -1
  487. package/lib/typescript/components/Attachment/Card.d.ts +3 -4
  488. package/lib/typescript/components/Attachment/Card.d.ts.map +1 -1
  489. package/lib/typescript/components/Attachment/FileAttachment.d.ts +4 -5
  490. package/lib/typescript/components/Attachment/FileAttachment.d.ts.map +1 -1
  491. package/lib/typescript/components/Attachment/FileAttachmentGroup.d.ts +3 -4
  492. package/lib/typescript/components/Attachment/FileAttachmentGroup.d.ts.map +1 -1
  493. package/lib/typescript/components/Attachment/Gallery.d.ts +5 -6
  494. package/lib/typescript/components/Attachment/Gallery.d.ts.map +1 -1
  495. package/lib/typescript/components/Attachment/GalleryImage.d.ts +2 -3
  496. package/lib/typescript/components/Attachment/GalleryImage.d.ts.map +1 -1
  497. package/lib/typescript/components/Attachment/Giphy.d.ts +5 -6
  498. package/lib/typescript/components/Attachment/Giphy.d.ts.map +1 -1
  499. package/lib/typescript/components/Attachment/utils/buildGallery/buildGallery.d.ts +2 -3
  500. package/lib/typescript/components/Attachment/utils/buildGallery/buildGallery.d.ts.map +1 -1
  501. package/lib/typescript/components/Attachment/utils/buildGallery/buildGalleryOfSingleImage.d.ts +2 -3
  502. package/lib/typescript/components/Attachment/utils/buildGallery/buildGalleryOfSingleImage.d.ts.map +1 -1
  503. package/lib/typescript/components/Attachment/utils/buildGallery/buildGalleryOfThreeImages.d.ts +2 -3
  504. package/lib/typescript/components/Attachment/utils/buildGallery/buildGalleryOfThreeImages.d.ts.map +1 -1
  505. package/lib/typescript/components/Attachment/utils/buildGallery/buildGalleryOfTwoImages.d.ts +2 -3
  506. package/lib/typescript/components/Attachment/utils/buildGallery/buildGalleryOfTwoImages.d.ts.map +1 -1
  507. package/lib/typescript/components/Attachment/utils/buildGallery/buildThumbnail.d.ts +3 -4
  508. package/lib/typescript/components/Attachment/utils/buildGallery/buildThumbnail.d.ts.map +1 -1
  509. package/lib/typescript/components/Attachment/utils/buildGallery/buildThumbnailGrid.d.ts +2 -3
  510. package/lib/typescript/components/Attachment/utils/buildGallery/buildThumbnailGrid.d.ts.map +1 -1
  511. package/lib/typescript/components/Attachment/utils/getAspectRatio.d.ts +1 -2
  512. package/lib/typescript/components/Attachment/utils/getAspectRatio.d.ts.map +1 -1
  513. package/lib/typescript/components/AttachmentPicker/AttachmentPicker.d.ts.map +1 -1
  514. package/lib/typescript/components/AttachmentPicker/components/AttachmentPickerItem.d.ts +2 -2
  515. package/lib/typescript/components/AttachmentPicker/components/AttachmentPickerItem.d.ts.map +1 -1
  516. package/lib/typescript/components/AutoCompleteInput/AutoCompleteInput.d.ts +3 -4
  517. package/lib/typescript/components/AutoCompleteInput/AutoCompleteInput.d.ts.map +1 -1
  518. package/lib/typescript/components/AutoCompleteInput/AutoCompleteSuggestionCommandIcon.d.ts +2 -3
  519. package/lib/typescript/components/AutoCompleteInput/AutoCompleteSuggestionCommandIcon.d.ts.map +1 -1
  520. package/lib/typescript/components/AutoCompleteInput/AutoCompleteSuggestionHeader.d.ts +3 -4
  521. package/lib/typescript/components/AutoCompleteInput/AutoCompleteSuggestionHeader.d.ts.map +1 -1
  522. package/lib/typescript/components/AutoCompleteInput/AutoCompleteSuggestionItem.d.ts +4 -5
  523. package/lib/typescript/components/AutoCompleteInput/AutoCompleteSuggestionItem.d.ts.map +1 -1
  524. package/lib/typescript/components/AutoCompleteInput/AutoCompleteSuggestionList.d.ts +8 -9
  525. package/lib/typescript/components/AutoCompleteInput/AutoCompleteSuggestionList.d.ts.map +1 -1
  526. package/lib/typescript/components/Channel/Channel.d.ts +10 -11
  527. package/lib/typescript/components/Channel/Channel.d.ts.map +1 -1
  528. package/lib/typescript/components/Channel/hooks/useChannelDataState.d.ts +24 -26
  529. package/lib/typescript/components/Channel/hooks/useChannelDataState.d.ts.map +1 -1
  530. package/lib/typescript/components/Channel/hooks/useCreateChannelContext.d.ts +1 -2
  531. package/lib/typescript/components/Channel/hooks/useCreateChannelContext.d.ts.map +1 -1
  532. package/lib/typescript/components/Channel/hooks/useCreateInputMessageInputContext.d.ts +2 -3
  533. package/lib/typescript/components/Channel/hooks/useCreateInputMessageInputContext.d.ts.map +1 -1
  534. package/lib/typescript/components/Channel/hooks/useCreateMessagesContext.d.ts +2 -3
  535. package/lib/typescript/components/Channel/hooks/useCreateMessagesContext.d.ts.map +1 -1
  536. package/lib/typescript/components/Channel/hooks/useCreateOwnCapabilitiesContext.d.ts +2 -3
  537. package/lib/typescript/components/Channel/hooks/useCreateOwnCapabilitiesContext.d.ts.map +1 -1
  538. package/lib/typescript/components/Channel/hooks/useCreatePaginatedMessageListContext.d.ts +2 -3
  539. package/lib/typescript/components/Channel/hooks/useCreatePaginatedMessageListContext.d.ts.map +1 -1
  540. package/lib/typescript/components/Channel/hooks/useCreateThreadContext.d.ts +10 -11
  541. package/lib/typescript/components/Channel/hooks/useCreateThreadContext.d.ts.map +1 -1
  542. package/lib/typescript/components/Channel/hooks/useCreateTypingContext.d.ts +1 -2
  543. package/lib/typescript/components/Channel/hooks/useCreateTypingContext.d.ts.map +1 -1
  544. package/lib/typescript/components/Channel/hooks/useMessageListPagination.d.ts +7 -8
  545. package/lib/typescript/components/Channel/hooks/useMessageListPagination.d.ts.map +1 -1
  546. package/lib/typescript/components/ChannelList/ChannelList.d.ts +17 -17
  547. package/lib/typescript/components/ChannelList/ChannelList.d.ts.map +1 -1
  548. package/lib/typescript/components/ChannelList/ChannelListMessenger.d.ts +3 -4
  549. package/lib/typescript/components/ChannelList/ChannelListMessenger.d.ts.map +1 -1
  550. package/lib/typescript/components/ChannelList/hooks/listeners/useChannelUpdated.d.ts +4 -5
  551. package/lib/typescript/components/ChannelList/hooks/listeners/useChannelUpdated.d.ts.map +1 -1
  552. package/lib/typescript/components/ChannelList/hooks/useChannelMembershipState.d.ts +2 -3
  553. package/lib/typescript/components/ChannelList/hooks/useChannelMembershipState.d.ts.map +1 -1
  554. package/lib/typescript/components/ChannelList/hooks/useCreateChannelsContext.d.ts +1 -2
  555. package/lib/typescript/components/ChannelList/hooks/useCreateChannelsContext.d.ts.map +1 -1
  556. package/lib/typescript/components/ChannelList/hooks/usePaginatedChannels.d.ts +6 -7
  557. package/lib/typescript/components/ChannelList/hooks/usePaginatedChannels.d.ts.map +1 -1
  558. package/lib/typescript/components/ChannelList/hooks/utils/index.d.ts +12 -13
  559. package/lib/typescript/components/ChannelList/hooks/utils/index.d.ts.map +1 -1
  560. package/lib/typescript/components/ChannelList/utils.d.ts +8 -9
  561. package/lib/typescript/components/ChannelList/utils.d.ts.map +1 -1
  562. package/lib/typescript/components/ChannelPreview/ChannelAvatar.d.ts +3 -4
  563. package/lib/typescript/components/ChannelPreview/ChannelAvatar.d.ts.map +1 -1
  564. package/lib/typescript/components/ChannelPreview/ChannelPreview.d.ts +3 -4
  565. package/lib/typescript/components/ChannelPreview/ChannelPreview.d.ts.map +1 -1
  566. package/lib/typescript/components/ChannelPreview/ChannelPreviewMessage.d.ts +3 -4
  567. package/lib/typescript/components/ChannelPreview/ChannelPreviewMessage.d.ts.map +1 -1
  568. package/lib/typescript/components/ChannelPreview/ChannelPreviewMessenger.d.ts +4 -5
  569. package/lib/typescript/components/ChannelPreview/ChannelPreviewMessenger.d.ts.map +1 -1
  570. package/lib/typescript/components/ChannelPreview/ChannelPreviewStatus.d.ts +2 -3
  571. package/lib/typescript/components/ChannelPreview/ChannelPreviewStatus.d.ts.map +1 -1
  572. package/lib/typescript/components/ChannelPreview/ChannelPreviewTitle.d.ts +2 -3
  573. package/lib/typescript/components/ChannelPreview/ChannelPreviewTitle.d.ts.map +1 -1
  574. package/lib/typescript/components/ChannelPreview/ChannelPreviewUnreadCount.d.ts +2 -3
  575. package/lib/typescript/components/ChannelPreview/ChannelPreviewUnreadCount.d.ts.map +1 -1
  576. package/lib/typescript/components/ChannelPreview/hooks/useChannelPreviewData.d.ts +2 -3
  577. package/lib/typescript/components/ChannelPreview/hooks/useChannelPreviewData.d.ts.map +1 -1
  578. package/lib/typescript/components/ChannelPreview/hooks/useChannelPreviewDisplayAvatar.d.ts +2 -3
  579. package/lib/typescript/components/ChannelPreview/hooks/useChannelPreviewDisplayAvatar.d.ts.map +1 -1
  580. package/lib/typescript/components/ChannelPreview/hooks/useChannelPreviewDisplayName.d.ts +3 -4
  581. package/lib/typescript/components/ChannelPreview/hooks/useChannelPreviewDisplayName.d.ts.map +1 -1
  582. package/lib/typescript/components/ChannelPreview/hooks/useChannelPreviewDisplayPresence.d.ts +1 -2
  583. package/lib/typescript/components/ChannelPreview/hooks/useChannelPreviewDisplayPresence.d.ts.map +1 -1
  584. package/lib/typescript/components/ChannelPreview/hooks/useIsChannelMuted.d.ts +1 -2
  585. package/lib/typescript/components/ChannelPreview/hooks/useIsChannelMuted.d.ts.map +1 -1
  586. package/lib/typescript/components/ChannelPreview/hooks/useLatestMessagePreview.d.ts +5 -6
  587. package/lib/typescript/components/ChannelPreview/hooks/useLatestMessagePreview.d.ts.map +1 -1
  588. package/lib/typescript/components/Chat/Chat.d.ts +2 -12
  589. package/lib/typescript/components/Chat/Chat.d.ts.map +1 -1
  590. package/lib/typescript/components/Chat/hooks/handleEventToSyncDB.d.ts +1 -2
  591. package/lib/typescript/components/Chat/hooks/handleEventToSyncDB.d.ts.map +1 -1
  592. package/lib/typescript/components/Chat/hooks/useAppSettings.d.ts +1 -2
  593. package/lib/typescript/components/Chat/hooks/useAppSettings.d.ts.map +1 -1
  594. package/lib/typescript/components/Chat/hooks/useCreateChatClient.d.ts +4 -4
  595. package/lib/typescript/components/Chat/hooks/useCreateChatClient.d.ts.map +1 -1
  596. package/lib/typescript/components/Chat/hooks/useCreateChatContext.d.ts +1 -2
  597. package/lib/typescript/components/Chat/hooks/useCreateChatContext.d.ts.map +1 -1
  598. package/lib/typescript/components/Chat/hooks/useIsOnline.d.ts +1 -2
  599. package/lib/typescript/components/Chat/hooks/useIsOnline.d.ts.map +1 -1
  600. package/lib/typescript/components/Chat/hooks/useMutedUsers.d.ts +1 -2
  601. package/lib/typescript/components/Chat/hooks/useMutedUsers.d.ts.map +1 -1
  602. package/lib/typescript/components/Chat/hooks/useSyncDatabase.d.ts +3 -4
  603. package/lib/typescript/components/Chat/hooks/useSyncDatabase.d.ts.map +1 -1
  604. package/lib/typescript/components/ImageGallery/ImageGallery.d.ts +9 -10
  605. package/lib/typescript/components/ImageGallery/ImageGallery.d.ts.map +1 -1
  606. package/lib/typescript/components/ImageGallery/components/AnimatedGalleryVideo.d.ts.map +1 -1
  607. package/lib/typescript/components/ImageGallery/components/ImageGalleryFooter.d.ts +11 -12
  608. package/lib/typescript/components/ImageGallery/components/ImageGalleryFooter.d.ts.map +1 -1
  609. package/lib/typescript/components/ImageGallery/components/ImageGalleryHeader.d.ts +9 -10
  610. package/lib/typescript/components/ImageGallery/components/ImageGalleryHeader.d.ts.map +1 -1
  611. package/lib/typescript/components/ImageGallery/components/ImageGalleryVideoControl.d.ts.map +1 -1
  612. package/lib/typescript/components/ImageGallery/components/ImageGrid.d.ts +9 -10
  613. package/lib/typescript/components/ImageGallery/components/ImageGrid.d.ts.map +1 -1
  614. package/lib/typescript/components/Message/Message.d.ts +20 -22
  615. package/lib/typescript/components/Message/Message.d.ts.map +1 -1
  616. package/lib/typescript/components/Message/MessageSimple/MessageAvatar.d.ts +3 -4
  617. package/lib/typescript/components/Message/MessageSimple/MessageAvatar.d.ts.map +1 -1
  618. package/lib/typescript/components/Message/MessageSimple/MessageBounce.d.ts +4 -5
  619. package/lib/typescript/components/Message/MessageSimple/MessageBounce.d.ts.map +1 -1
  620. package/lib/typescript/components/Message/MessageSimple/MessageContent.d.ts +3 -4
  621. package/lib/typescript/components/Message/MessageSimple/MessageContent.d.ts.map +1 -1
  622. package/lib/typescript/components/Message/MessageSimple/MessageDeleted.d.ts +3 -4
  623. package/lib/typescript/components/Message/MessageSimple/MessageDeleted.d.ts.map +1 -1
  624. package/lib/typescript/components/Message/MessageSimple/MessageEditedTimestamp.d.ts +2 -3
  625. package/lib/typescript/components/Message/MessageSimple/MessageEditedTimestamp.d.ts.map +1 -1
  626. package/lib/typescript/components/Message/MessageSimple/MessageFooter.d.ts +6 -8
  627. package/lib/typescript/components/Message/MessageSimple/MessageFooter.d.ts.map +1 -1
  628. package/lib/typescript/components/Message/MessageSimple/MessagePinnedHeader.d.ts +2 -3
  629. package/lib/typescript/components/Message/MessageSimple/MessagePinnedHeader.d.ts.map +1 -1
  630. package/lib/typescript/components/Message/MessageSimple/MessageReplies.d.ts +3 -4
  631. package/lib/typescript/components/Message/MessageSimple/MessageReplies.d.ts.map +1 -1
  632. package/lib/typescript/components/Message/MessageSimple/MessageRepliesAvatars.d.ts +3 -4
  633. package/lib/typescript/components/Message/MessageSimple/MessageRepliesAvatars.d.ts.map +1 -1
  634. package/lib/typescript/components/Message/MessageSimple/MessageSimple.d.ts +3 -4
  635. package/lib/typescript/components/Message/MessageSimple/MessageSimple.d.ts.map +1 -1
  636. package/lib/typescript/components/Message/MessageSimple/MessageStatus.d.ts +3 -4
  637. package/lib/typescript/components/Message/MessageSimple/MessageStatus.d.ts.map +1 -1
  638. package/lib/typescript/components/Message/MessageSimple/MessageTextContainer.d.ts +5 -6
  639. package/lib/typescript/components/Message/MessageSimple/MessageTextContainer.d.ts.map +1 -1
  640. package/lib/typescript/components/Message/MessageSimple/ReactionList/ReactionListBottom.d.ts +4 -5
  641. package/lib/typescript/components/Message/MessageSimple/ReactionList/ReactionListBottom.d.ts.map +1 -1
  642. package/lib/typescript/components/Message/MessageSimple/ReactionList/ReactionListTop.d.ts +4 -5
  643. package/lib/typescript/components/Message/MessageSimple/ReactionList/ReactionListTop.d.ts.map +1 -1
  644. package/lib/typescript/components/Message/MessageSimple/StreamingMessageView.d.ts +2 -3
  645. package/lib/typescript/components/Message/MessageSimple/StreamingMessageView.d.ts.map +1 -1
  646. package/lib/typescript/components/Message/MessageSimple/utils/renderText.d.ts +4 -5
  647. package/lib/typescript/components/Message/MessageSimple/utils/renderText.d.ts.map +1 -1
  648. package/lib/typescript/components/Message/hooks/useCreateMessageContext.d.ts +1 -2
  649. package/lib/typescript/components/Message/hooks/useCreateMessageContext.d.ts.map +1 -1
  650. package/lib/typescript/components/Message/hooks/useMessageActionHandlers.d.ts +1 -2
  651. package/lib/typescript/components/Message/hooks/useMessageActionHandlers.d.ts.map +1 -1
  652. package/lib/typescript/components/Message/hooks/useMessageActions.d.ts +4 -5
  653. package/lib/typescript/components/Message/hooks/useMessageActions.d.ts.map +1 -1
  654. package/lib/typescript/components/Message/hooks/useMessageData.d.ts +2 -3
  655. package/lib/typescript/components/Message/hooks/useMessageData.d.ts.map +1 -1
  656. package/lib/typescript/components/Message/hooks/useProcessReactions.d.ts +5 -6
  657. package/lib/typescript/components/Message/hooks/useProcessReactions.d.ts.map +1 -1
  658. package/lib/typescript/components/Message/hooks/useStreamingMessage.d.ts +2 -3
  659. package/lib/typescript/components/Message/hooks/useStreamingMessage.d.ts.map +1 -1
  660. package/lib/typescript/components/Message/utils/messageActions.d.ts +4 -5
  661. package/lib/typescript/components/Message/utils/messageActions.d.ts.map +1 -1
  662. package/lib/typescript/components/MessageInput/AttachButton.d.ts +1 -2
  663. package/lib/typescript/components/MessageInput/AttachButton.d.ts.map +1 -1
  664. package/lib/typescript/components/MessageInput/CommandsButton.d.ts +3 -4
  665. package/lib/typescript/components/MessageInput/CommandsButton.d.ts.map +1 -1
  666. package/lib/typescript/components/MessageInput/FileUploadPreview.d.ts +2 -5
  667. package/lib/typescript/components/MessageInput/FileUploadPreview.d.ts.map +1 -1
  668. package/lib/typescript/components/MessageInput/ImageUploadPreview.d.ts +3 -4
  669. package/lib/typescript/components/MessageInput/ImageUploadPreview.d.ts.map +1 -1
  670. package/lib/typescript/components/MessageInput/InputButtons.d.ts +4 -5
  671. package/lib/typescript/components/MessageInput/InputButtons.d.ts.map +1 -1
  672. package/lib/typescript/components/MessageInput/MessageInput.d.ts +3 -4
  673. package/lib/typescript/components/MessageInput/MessageInput.d.ts.map +1 -1
  674. package/lib/typescript/components/MessageInput/MoreOptionsButton.d.ts.map +1 -1
  675. package/lib/typescript/components/MessageInput/SendButton.d.ts +3 -4
  676. package/lib/typescript/components/MessageInput/SendButton.d.ts.map +1 -1
  677. package/lib/typescript/components/MessageInput/ShowThreadMessageInChannelButton.d.ts +1 -2
  678. package/lib/typescript/components/MessageInput/ShowThreadMessageInChannelButton.d.ts.map +1 -1
  679. package/lib/typescript/components/MessageInput/components/AudioRecorder/AudioRecorder.d.ts +3 -4
  680. package/lib/typescript/components/MessageInput/components/AudioRecorder/AudioRecorder.d.ts.map +1 -1
  681. package/lib/typescript/components/MessageInput/components/AudioRecorder/AudioRecordingButton.d.ts +3 -4
  682. package/lib/typescript/components/MessageInput/components/AudioRecorder/AudioRecordingButton.d.ts.map +1 -1
  683. package/lib/typescript/components/MessageInput/components/AudioRecorder/AudioRecordingInProgress.d.ts +3 -4
  684. package/lib/typescript/components/MessageInput/components/AudioRecorder/AudioRecordingInProgress.d.ts.map +1 -1
  685. package/lib/typescript/components/MessageInput/components/InputEditingStateHeader.d.ts +2 -3
  686. package/lib/typescript/components/MessageInput/components/InputEditingStateHeader.d.ts.map +1 -1
  687. package/lib/typescript/components/MessageInput/components/InputGiphySearch.d.ts +2 -3
  688. package/lib/typescript/components/MessageInput/components/InputGiphySearch.d.ts.map +1 -1
  689. package/lib/typescript/components/MessageInput/components/InputReplyStateHeader.d.ts +2 -3
  690. package/lib/typescript/components/MessageInput/components/InputReplyStateHeader.d.ts.map +1 -1
  691. package/lib/typescript/components/MessageInput/hooks/useAudioController.d.ts.map +1 -1
  692. package/lib/typescript/components/MessageInput/hooks/useCooldown.d.ts +1 -2
  693. package/lib/typescript/components/MessageInput/hooks/useCooldown.d.ts.map +1 -1
  694. package/lib/typescript/components/MessageList/InlineLoadingMoreIndicator.d.ts +1 -2
  695. package/lib/typescript/components/MessageList/InlineLoadingMoreIndicator.d.ts.map +1 -1
  696. package/lib/typescript/components/MessageList/InlineLoadingMoreRecentIndicator.d.ts +1 -2
  697. package/lib/typescript/components/MessageList/InlineLoadingMoreRecentIndicator.d.ts.map +1 -1
  698. package/lib/typescript/components/MessageList/InlineLoadingMoreRecentThreadIndicator.d.ts +1 -2
  699. package/lib/typescript/components/MessageList/InlineLoadingMoreRecentThreadIndicator.d.ts.map +1 -1
  700. package/lib/typescript/components/MessageList/MessageList.d.ts +7 -8
  701. package/lib/typescript/components/MessageList/MessageList.d.ts.map +1 -1
  702. package/lib/typescript/components/MessageList/MessageSystem.d.ts +4 -5
  703. package/lib/typescript/components/MessageList/MessageSystem.d.ts.map +1 -1
  704. package/lib/typescript/components/MessageList/StickyHeader.d.ts +1 -2
  705. package/lib/typescript/components/MessageList/StickyHeader.d.ts.map +1 -1
  706. package/lib/typescript/components/MessageList/TypingIndicator.d.ts +1 -2
  707. package/lib/typescript/components/MessageList/TypingIndicator.d.ts.map +1 -1
  708. package/lib/typescript/components/MessageList/TypingIndicatorContainer.d.ts +3 -4
  709. package/lib/typescript/components/MessageList/TypingIndicatorContainer.d.ts.map +1 -1
  710. package/lib/typescript/components/MessageList/hooks/useMessageList.d.ts +12 -12
  711. package/lib/typescript/components/MessageList/hooks/useMessageList.d.ts.map +1 -1
  712. package/lib/typescript/components/MessageList/hooks/useShouldScrollToRecentOnNewOwnMessage.d.ts +2 -3
  713. package/lib/typescript/components/MessageList/hooks/useShouldScrollToRecentOnNewOwnMessage.d.ts.map +1 -1
  714. package/lib/typescript/components/MessageList/hooks/useTypingString.d.ts +1 -2
  715. package/lib/typescript/components/MessageList/hooks/useTypingString.d.ts.map +1 -1
  716. package/lib/typescript/components/MessageList/utils/filterTypingUsers.d.ts +2 -3
  717. package/lib/typescript/components/MessageList/utils/filterTypingUsers.d.ts.map +1 -1
  718. package/lib/typescript/components/MessageList/utils/getDateSeparators.d.ts +3 -4
  719. package/lib/typescript/components/MessageList/utils/getDateSeparators.d.ts.map +1 -1
  720. package/lib/typescript/components/MessageList/utils/getGroupStyles.d.ts +3 -4
  721. package/lib/typescript/components/MessageList/utils/getGroupStyles.d.ts.map +1 -1
  722. package/lib/typescript/components/MessageList/utils/getLastReceivedMessage.d.ts +2 -3
  723. package/lib/typescript/components/MessageList/utils/getLastReceivedMessage.d.ts.map +1 -1
  724. package/lib/typescript/components/MessageList/utils/getReadState.d.ts +9 -0
  725. package/lib/typescript/components/MessageList/utils/getReadState.d.ts.map +1 -0
  726. package/lib/typescript/components/MessageMenu/MessageMenu.d.ts +2 -3
  727. package/lib/typescript/components/MessageMenu/MessageMenu.d.ts.map +1 -1
  728. package/lib/typescript/components/MessageMenu/MessageReactionPicker.d.ts +2 -3
  729. package/lib/typescript/components/MessageMenu/MessageReactionPicker.d.ts.map +1 -1
  730. package/lib/typescript/components/MessageMenu/MessageUserReactions.d.ts +2 -2
  731. package/lib/typescript/components/MessageMenu/MessageUserReactions.d.ts.map +1 -1
  732. package/lib/typescript/components/MessageMenu/MessageUserReactionsItem.d.ts +3 -3
  733. package/lib/typescript/components/MessageMenu/MessageUserReactionsItem.d.ts.map +1 -1
  734. package/lib/typescript/components/MessageMenu/hooks/useFetchReactions.d.ts +6 -8
  735. package/lib/typescript/components/MessageMenu/hooks/useFetchReactions.d.ts.map +1 -1
  736. package/lib/typescript/components/Poll/Poll.d.ts +2 -3
  737. package/lib/typescript/components/Poll/Poll.d.ts.map +1 -1
  738. package/lib/typescript/components/Poll/components/Button.d.ts +5 -7
  739. package/lib/typescript/components/Poll/components/Button.d.ts.map +1 -1
  740. package/lib/typescript/components/Poll/components/PollAnswersList.d.ts +2 -3
  741. package/lib/typescript/components/Poll/components/PollAnswersList.d.ts.map +1 -1
  742. package/lib/typescript/components/Poll/components/PollResults/PollOptionFullResults.d.ts +4 -5
  743. package/lib/typescript/components/Poll/components/PollResults/PollOptionFullResults.d.ts.map +1 -1
  744. package/lib/typescript/components/Poll/components/PollResults/PollResultItem.d.ts +8 -10
  745. package/lib/typescript/components/Poll/components/PollResults/PollResultItem.d.ts.map +1 -1
  746. package/lib/typescript/components/Poll/hooks/usePollState.d.ts +3 -4
  747. package/lib/typescript/components/Poll/hooks/usePollState.d.ts.map +1 -1
  748. package/lib/typescript/components/Reply/Reply.d.ts +3 -4
  749. package/lib/typescript/components/Reply/Reply.d.ts.map +1 -1
  750. package/lib/typescript/components/Thread/Thread.d.ts +6 -7
  751. package/lib/typescript/components/Thread/Thread.d.ts.map +1 -1
  752. package/lib/typescript/components/Thread/components/ThreadFooterComponent.d.ts +2 -3
  753. package/lib/typescript/components/Thread/components/ThreadFooterComponent.d.ts.map +1 -1
  754. package/lib/typescript/components/ThreadList/ThreadList.d.ts +1 -2
  755. package/lib/typescript/components/ThreadList/ThreadList.d.ts.map +1 -1
  756. package/lib/typescript/components/ThreadList/ThreadListItem.d.ts.map +1 -1
  757. package/lib/typescript/components/index.d.ts +1 -10
  758. package/lib/typescript/components/index.d.ts.map +1 -1
  759. package/lib/typescript/contexts/attachmentPickerContext/AttachmentPickerContext.d.ts +3 -3
  760. package/lib/typescript/contexts/attachmentPickerContext/AttachmentPickerContext.d.ts.map +1 -1
  761. package/lib/typescript/contexts/channelContext/ChannelContext.d.ts +15 -15
  762. package/lib/typescript/contexts/channelContext/ChannelContext.d.ts.map +1 -1
  763. package/lib/typescript/contexts/channelsContext/ChannelsContext.d.ts +15 -16
  764. package/lib/typescript/contexts/channelsContext/ChannelsContext.d.ts.map +1 -1
  765. package/lib/typescript/contexts/channelsStateContext/ChannelsStateContext.d.ts +11 -12
  766. package/lib/typescript/contexts/channelsStateContext/ChannelsStateContext.d.ts.map +1 -1
  767. package/lib/typescript/contexts/channelsStateContext/useChannelState.d.ts +6 -7
  768. package/lib/typescript/contexts/channelsStateContext/useChannelState.d.ts.map +1 -1
  769. package/lib/typescript/contexts/chatContext/ChatContext.d.ts +11 -12
  770. package/lib/typescript/contexts/chatContext/ChatContext.d.ts.map +1 -1
  771. package/lib/typescript/contexts/debugContext/DebugContext.d.ts +12 -14
  772. package/lib/typescript/contexts/debugContext/DebugContext.d.ts.map +1 -1
  773. package/lib/typescript/contexts/imageGalleryContext/ImageGalleryContext.d.ts +8 -8
  774. package/lib/typescript/contexts/imageGalleryContext/ImageGalleryContext.d.ts.map +1 -1
  775. package/lib/typescript/contexts/messageContext/MessageContext.d.ts +16 -15
  776. package/lib/typescript/contexts/messageContext/MessageContext.d.ts.map +1 -1
  777. package/lib/typescript/contexts/messageInputContext/MessageInputContext.d.ts +42 -46
  778. package/lib/typescript/contexts/messageInputContext/MessageInputContext.d.ts.map +1 -1
  779. package/lib/typescript/contexts/messageInputContext/hooks/useCreateMessageInputContext.d.ts +1 -2
  780. package/lib/typescript/contexts/messageInputContext/hooks/useCreateMessageInputContext.d.ts.map +1 -1
  781. package/lib/typescript/contexts/messageInputContext/hooks/useMessageDetailsForState.d.ts +4 -4
  782. package/lib/typescript/contexts/messageInputContext/hooks/useMessageDetailsForState.d.ts.map +1 -1
  783. package/lib/typescript/contexts/messageInputContext/utils/utils.d.ts +2 -2
  784. package/lib/typescript/contexts/messageInputContext/utils/utils.d.ts.map +1 -1
  785. package/lib/typescript/contexts/messagesContext/MessagesContext.d.ts +64 -66
  786. package/lib/typescript/contexts/messagesContext/MessagesContext.d.ts.map +1 -1
  787. package/lib/typescript/contexts/overlayContext/OverlayContext.d.ts +1 -2
  788. package/lib/typescript/contexts/overlayContext/OverlayContext.d.ts.map +1 -1
  789. package/lib/typescript/contexts/overlayContext/OverlayProvider.d.ts +1 -2
  790. package/lib/typescript/contexts/overlayContext/OverlayProvider.d.ts.map +1 -1
  791. package/lib/typescript/contexts/paginatedMessageListContext/PaginatedMessageListContext.d.ts +6 -7
  792. package/lib/typescript/contexts/paginatedMessageListContext/PaginatedMessageListContext.d.ts.map +1 -1
  793. package/lib/typescript/contexts/pollContext/pollContext.d.ts +8 -10
  794. package/lib/typescript/contexts/pollContext/pollContext.d.ts.map +1 -1
  795. package/lib/typescript/contexts/suggestionsContext/SuggestionsContext.d.ts +18 -19
  796. package/lib/typescript/contexts/suggestionsContext/SuggestionsContext.d.ts.map +1 -1
  797. package/lib/typescript/contexts/threadContext/ThreadContext.d.ts +11 -13
  798. package/lib/typescript/contexts/threadContext/ThreadContext.d.ts.map +1 -1
  799. package/lib/typescript/contexts/threadsContext/ThreadListItemContext.d.ts +10 -12
  800. package/lib/typescript/contexts/threadsContext/ThreadListItemContext.d.ts.map +1 -1
  801. package/lib/typescript/contexts/threadsContext/ThreadsContext.d.ts +6 -7
  802. package/lib/typescript/contexts/threadsContext/ThreadsContext.d.ts.map +1 -1
  803. package/lib/typescript/contexts/typingContext/TypingContext.d.ts +6 -7
  804. package/lib/typescript/contexts/typingContext/TypingContext.d.ts.map +1 -1
  805. package/lib/typescript/hooks/useSelectedChannelState.d.ts +6 -7
  806. package/lib/typescript/hooks/useSelectedChannelState.d.ts.map +1 -1
  807. package/lib/typescript/hooks/useSyncClientEvents.d.ts +8 -9
  808. package/lib/typescript/hooks/useSyncClientEvents.d.ts.map +1 -1
  809. package/lib/typescript/hooks/useTranslatedMessage.d.ts +113 -3
  810. package/lib/typescript/hooks/useTranslatedMessage.d.ts.map +1 -1
  811. package/lib/typescript/native.d.ts +8 -10
  812. package/lib/typescript/native.d.ts.map +1 -1
  813. package/lib/typescript/store/apis/getChannelMessages.d.ts +2 -3
  814. package/lib/typescript/store/apis/getChannelMessages.d.ts.map +1 -1
  815. package/lib/typescript/store/apis/getChannels.d.ts +2 -3
  816. package/lib/typescript/store/apis/getChannels.d.ts.map +1 -1
  817. package/lib/typescript/store/apis/getChannelsForFilterSort.d.ts +4 -5
  818. package/lib/typescript/store/apis/getChannelsForFilterSort.d.ts.map +1 -1
  819. package/lib/typescript/store/apis/getMembers.d.ts +2 -3
  820. package/lib/typescript/store/apis/getMembers.d.ts.map +1 -1
  821. package/lib/typescript/store/apis/getReactions.d.ts +2 -3
  822. package/lib/typescript/store/apis/getReactions.d.ts.map +1 -1
  823. package/lib/typescript/store/apis/getReactionsforFilterSort.d.ts +4 -5
  824. package/lib/typescript/store/apis/getReactionsforFilterSort.d.ts.map +1 -1
  825. package/lib/typescript/store/apis/getReads.d.ts +2 -3
  826. package/lib/typescript/store/apis/getReads.d.ts.map +1 -1
  827. package/lib/typescript/store/apis/insertReaction.d.ts +2 -2
  828. package/lib/typescript/store/apis/insertReaction.d.ts.map +1 -1
  829. package/lib/typescript/store/apis/queries/selectChannelIdsForFilterSort.d.ts +3 -4
  830. package/lib/typescript/store/apis/queries/selectChannelIdsForFilterSort.d.ts.map +1 -1
  831. package/lib/typescript/store/apis/updateMessage.d.ts +2 -2
  832. package/lib/typescript/store/apis/updateMessage.d.ts.map +1 -1
  833. package/lib/typescript/store/apis/updatePollMessage.d.ts +3 -4
  834. package/lib/typescript/store/apis/updatePollMessage.d.ts.map +1 -1
  835. package/lib/typescript/store/apis/updateReaction.d.ts +2 -2
  836. package/lib/typescript/store/apis/updateReaction.d.ts.map +1 -1
  837. package/lib/typescript/store/apis/upsertChannelDataFromChannel.d.ts +2 -3
  838. package/lib/typescript/store/apis/upsertChannelDataFromChannel.d.ts.map +1 -1
  839. package/lib/typescript/store/apis/utils/convertFilterSortToQuery.d.ts +3 -4
  840. package/lib/typescript/store/apis/utils/convertFilterSortToQuery.d.ts.map +1 -1
  841. package/lib/typescript/store/mappers/mapChannelDataToStorable.d.ts +1 -2
  842. package/lib/typescript/store/mappers/mapChannelDataToStorable.d.ts.map +1 -1
  843. package/lib/typescript/store/mappers/mapChannelToStorable.d.ts +1 -2
  844. package/lib/typescript/store/mappers/mapChannelToStorable.d.ts.map +1 -1
  845. package/lib/typescript/store/mappers/mapMemberToStorable.d.ts +2 -3
  846. package/lib/typescript/store/mappers/mapMemberToStorable.d.ts.map +1 -1
  847. package/lib/typescript/store/mappers/mapMessageToStorable.d.ts +2 -2
  848. package/lib/typescript/store/mappers/mapMessageToStorable.d.ts.map +1 -1
  849. package/lib/typescript/store/mappers/mapReadToStorable.d.ts +2 -3
  850. package/lib/typescript/store/mappers/mapReadToStorable.d.ts.map +1 -1
  851. package/lib/typescript/store/mappers/mapStorableToChannel.d.ts +1 -2
  852. package/lib/typescript/store/mappers/mapStorableToChannel.d.ts.map +1 -1
  853. package/lib/typescript/store/mappers/mapStorableToMember.d.ts +1 -2
  854. package/lib/typescript/store/mappers/mapStorableToMember.d.ts.map +1 -1
  855. package/lib/typescript/store/mappers/mapStorableToMessage.d.ts +2 -3
  856. package/lib/typescript/store/mappers/mapStorableToMessage.d.ts.map +1 -1
  857. package/lib/typescript/store/mappers/mapStorableToPoll.d.ts +1 -2
  858. package/lib/typescript/store/mappers/mapStorableToPoll.d.ts.map +1 -1
  859. package/lib/typescript/store/mappers/mapStorableToReaction.d.ts +1 -2
  860. package/lib/typescript/store/mappers/mapStorableToReaction.d.ts.map +1 -1
  861. package/lib/typescript/store/mappers/mapStorableToRead.d.ts +1 -2
  862. package/lib/typescript/store/mappers/mapStorableToRead.d.ts.map +1 -1
  863. package/lib/typescript/store/mappers/mapStorableToUser.d.ts +1 -2
  864. package/lib/typescript/store/mappers/mapStorableToUser.d.ts.map +1 -1
  865. package/lib/typescript/types/types.d.ts +46 -60
  866. package/lib/typescript/types/types.d.ts.map +1 -1
  867. package/lib/typescript/utils/ACITriggerSettings.d.ts +14 -15
  868. package/lib/typescript/utils/ACITriggerSettings.d.ts.map +1 -1
  869. package/lib/typescript/utils/DBSyncManager.d.ts +8 -9
  870. package/lib/typescript/utils/DBSyncManager.d.ts.map +1 -1
  871. package/lib/typescript/utils/addReactionToLocalState.d.ts +3 -4
  872. package/lib/typescript/utils/addReactionToLocalState.d.ts.map +1 -1
  873. package/lib/typescript/utils/compressImage.d.ts +2 -2
  874. package/lib/typescript/utils/compressImage.d.ts.map +1 -1
  875. package/lib/typescript/utils/i18n/Streami18n.d.ts +3 -4
  876. package/lib/typescript/utils/i18n/Streami18n.d.ts.map +1 -1
  877. package/lib/typescript/utils/queryMembers.d.ts +5 -6
  878. package/lib/typescript/utils/queryMembers.d.ts.map +1 -1
  879. package/lib/typescript/utils/queryUsers.d.ts +5 -6
  880. package/lib/typescript/utils/queryUsers.d.ts.map +1 -1
  881. package/lib/typescript/utils/removeReactionFromLocalState.d.ts +3 -4
  882. package/lib/typescript/utils/removeReactionFromLocalState.d.ts.map +1 -1
  883. package/lib/typescript/utils/removeReservedFields.d.ts +2 -4
  884. package/lib/typescript/utils/removeReservedFields.d.ts.map +1 -1
  885. package/lib/typescript/utils/utils.d.ts +12 -12
  886. package/lib/typescript/utils/utils.d.ts.map +1 -1
  887. package/package.json +4 -4
  888. package/src/components/AITypingIndicatorView/AITypingIndicatorView.tsx +5 -10
  889. package/src/components/AITypingIndicatorView/hooks/useAIState.ts +9 -17
  890. package/src/components/Attachment/Attachment.tsx +15 -29
  891. package/src/components/Attachment/AttachmentActions.tsx +10 -24
  892. package/src/components/Attachment/AudioAttachment.tsx +2 -2
  893. package/src/components/Attachment/Card.tsx +14 -36
  894. package/src/components/Attachment/FileAttachment.tsx +11 -24
  895. package/src/components/Attachment/FileAttachmentGroup.tsx +19 -30
  896. package/src/components/Attachment/Gallery.tsx +26 -49
  897. package/src/components/Attachment/GalleryImage.tsx +4 -10
  898. package/src/components/Attachment/Giphy.tsx +19 -31
  899. package/src/components/Attachment/utils/buildGallery/buildGallery.ts +2 -5
  900. package/src/components/Attachment/utils/buildGallery/buildGalleryOfSingleImage.ts +10 -8
  901. package/src/components/Attachment/utils/buildGallery/buildGalleryOfThreeImages.ts +5 -7
  902. package/src/components/Attachment/utils/buildGallery/buildGalleryOfTwoImages.ts +3 -5
  903. package/src/components/Attachment/utils/buildGallery/buildThumbnail.ts +4 -9
  904. package/src/components/Attachment/utils/buildGallery/buildThumbnailGrid.ts +2 -6
  905. package/src/components/Attachment/utils/getAspectRatio.ts +2 -4
  906. package/src/components/AttachmentPicker/AttachmentPicker.tsx +4 -10
  907. package/src/components/AttachmentPicker/components/AttachmentPickerItem.tsx +9 -37
  908. package/src/components/AutoCompleteInput/AutoCompleteInput.tsx +25 -39
  909. package/src/components/AutoCompleteInput/AutoCompleteSuggestionCommandIcon.tsx +2 -5
  910. package/src/components/AutoCompleteInput/AutoCompleteSuggestionHeader.tsx +13 -19
  911. package/src/components/AutoCompleteInput/AutoCompleteSuggestionItem.tsx +17 -22
  912. package/src/components/AutoCompleteInput/AutoCompleteSuggestionList.tsx +19 -32
  913. package/src/components/AutoCompleteInput/__tests__/AutoCompleteInput.test.js +12 -12
  914. package/src/components/Channel/Channel.tsx +209 -237
  915. package/src/components/Channel/hooks/useChannelDataState.ts +39 -62
  916. package/src/components/Channel/hooks/useCreateChannelContext.ts +3 -6
  917. package/src/components/Channel/hooks/useCreateInputMessageInputContext.ts +3 -6
  918. package/src/components/Channel/hooks/useCreateMessagesContext.ts +3 -6
  919. package/src/components/Channel/hooks/useCreateOwnCapabilitiesContext.ts +2 -5
  920. package/src/components/Channel/hooks/useCreatePaginatedMessageListContext.ts +4 -6
  921. package/src/components/Channel/hooks/useCreateThreadContext.ts +2 -5
  922. package/src/components/Channel/hooks/useCreateTypingContext.ts +2 -7
  923. package/src/components/Channel/hooks/useMessageListPagination.tsx +7 -18
  924. package/src/components/ChannelList/ChannelList.tsx +36 -44
  925. package/src/components/ChannelList/ChannelListMessenger.tsx +12 -37
  926. package/src/components/ChannelList/hooks/listeners/useChannelUpdated.ts +11 -19
  927. package/src/components/ChannelList/hooks/useChannelMembershipState.ts +4 -14
  928. package/src/components/ChannelList/hooks/useCreateChannelsContext.ts +3 -6
  929. package/src/components/ChannelList/hooks/usePaginatedChannels.ts +13 -18
  930. package/src/components/ChannelList/hooks/utils/index.ts +10 -33
  931. package/src/components/ChannelList/utils.ts +9 -23
  932. package/src/components/ChannelPreview/ChannelAvatar.tsx +6 -14
  933. package/src/components/ChannelPreview/ChannelPreview.tsx +6 -14
  934. package/src/components/ChannelPreview/ChannelPreviewMessage.tsx +3 -11
  935. package/src/components/ChannelPreview/ChannelPreviewMessenger.tsx +11 -30
  936. package/src/components/ChannelPreview/ChannelPreviewStatus.tsx +4 -11
  937. package/src/components/ChannelPreview/ChannelPreviewTitle.tsx +2 -9
  938. package/src/components/ChannelPreview/ChannelPreviewUnreadCount.tsx +3 -11
  939. package/src/components/ChannelPreview/hooks/__tests__/useChannelPreviewDisplayName.test.tsx +5 -8
  940. package/src/components/ChannelPreview/hooks/__tests__/useChannelPreviewDisplayPresence.test.tsx +12 -13
  941. package/src/components/ChannelPreview/hooks/__tests__/useChannelPreviewMuted.test.tsx +3 -4
  942. package/src/components/ChannelPreview/hooks/__tests__/useLatestMessagePreview.test.tsx +2 -3
  943. package/src/components/ChannelPreview/hooks/useChannelPreviewData.ts +7 -11
  944. package/src/components/ChannelPreview/hooks/useChannelPreviewDisplayAvatar.ts +3 -14
  945. package/src/components/ChannelPreview/hooks/useChannelPreviewDisplayName.ts +4 -13
  946. package/src/components/ChannelPreview/hooks/useChannelPreviewDisplayPresence.ts +3 -9
  947. package/src/components/ChannelPreview/hooks/useIsChannelMuted.ts +2 -8
  948. package/src/components/ChannelPreview/hooks/useLatestMessagePreview.ts +25 -51
  949. package/src/components/Chat/Chat.tsx +11 -33
  950. package/src/components/Chat/hooks/handleEventToSyncDB.ts +1 -8
  951. package/src/components/Chat/hooks/useAppSettings.ts +2 -5
  952. package/src/components/Chat/hooks/useCreateChatClient.ts +4 -6
  953. package/src/components/Chat/hooks/useCreateChatContext.ts +3 -6
  954. package/src/components/Chat/hooks/useIsOnline.ts +2 -9
  955. package/src/components/Chat/hooks/useMutedUsers.ts +3 -11
  956. package/src/components/Chat/hooks/useSyncDatabase.ts +3 -11
  957. package/src/components/ImageGallery/ImageGallery.tsx +34 -38
  958. package/src/components/ImageGallery/__tests__/AnimatedVideoGallery.test.tsx +0 -72
  959. package/src/components/ImageGallery/__tests__/ImageGallery.test.tsx +9 -8
  960. package/src/components/ImageGallery/__tests__/ImageGalleryFooter.test.tsx +5 -5
  961. package/src/components/ImageGallery/__tests__/ImageGalleryHeader.test.tsx +6 -5
  962. package/src/components/ImageGallery/__tests__/ImageGalleryOverlay.test.tsx +4 -3
  963. package/src/components/ImageGallery/components/AnimatedGalleryVideo.tsx +0 -33
  964. package/src/components/ImageGallery/components/ImageGalleryFooter.tsx +17 -31
  965. package/src/components/ImageGallery/components/ImageGalleryHeader.tsx +13 -23
  966. package/src/components/ImageGallery/components/ImageGalleryVideoControl.tsx +4 -2
  967. package/src/components/ImageGallery/components/ImageGrid.tsx +15 -39
  968. package/src/components/Message/Message.tsx +52 -83
  969. package/src/components/Message/MessageSimple/MessageAvatar.tsx +11 -25
  970. package/src/components/Message/MessageSimple/MessageBounce.tsx +12 -27
  971. package/src/components/Message/MessageSimple/MessageContent.tsx +17 -27
  972. package/src/components/Message/MessageSimple/MessageDeleted.tsx +11 -25
  973. package/src/components/Message/MessageSimple/MessageEditedTimestamp.tsx +4 -11
  974. package/src/components/Message/MessageSimple/MessageFooter.tsx +15 -29
  975. package/src/components/Message/MessageSimple/MessagePinnedHeader.tsx +3 -11
  976. package/src/components/Message/MessageSimple/MessageReplies.tsx +11 -25
  977. package/src/components/Message/MessageSimple/MessageRepliesAvatars.tsx +4 -13
  978. package/src/components/Message/MessageSimple/MessageSimple.tsx +13 -25
  979. package/src/components/Message/MessageSimple/MessageStatus.tsx +26 -36
  980. package/src/components/Message/MessageSimple/MessageTextContainer.tsx +17 -34
  981. package/src/components/Message/MessageSimple/ReactionList/ReactionListBottom.tsx +11 -24
  982. package/src/components/Message/MessageSimple/ReactionList/ReactionListTop.tsx +10 -23
  983. package/src/components/Message/MessageSimple/StreamingMessageView.tsx +4 -10
  984. package/src/components/Message/MessageSimple/__tests__/MessageStatus.test.js +11 -5
  985. package/src/components/Message/MessageSimple/__tests__/MessageTextContainer.test.tsx +5 -4
  986. package/src/components/Message/MessageSimple/utils/renderText.tsx +7 -16
  987. package/src/components/Message/hooks/useCreateMessageContext.ts +7 -6
  988. package/src/components/Message/hooks/useMessageActionHandlers.ts +6 -11
  989. package/src/components/Message/hooks/useMessageActions.tsx +13 -16
  990. package/src/components/Message/hooks/useMessageData.ts +4 -12
  991. package/src/components/Message/hooks/useProcessReactions.ts +11 -27
  992. package/src/components/Message/hooks/useStreamingMessage.ts +4 -9
  993. package/src/components/Message/utils/messageActions.ts +6 -12
  994. package/src/components/MessageInput/AttachButton.tsx +2 -9
  995. package/src/components/MessageInput/CommandsButton.tsx +8 -22
  996. package/src/components/MessageInput/FileUploadPreview.tsx +41 -82
  997. package/src/components/MessageInput/ImageUploadPreview.tsx +13 -25
  998. package/src/components/MessageInput/InputButtons.tsx +9 -23
  999. package/src/components/MessageInput/MessageInput.tsx +38 -56
  1000. package/src/components/MessageInput/MoreOptionsButton.tsx +1 -1
  1001. package/src/components/MessageInput/SendButton.tsx +6 -23
  1002. package/src/components/MessageInput/ShowThreadMessageInChannelButton.tsx +3 -10
  1003. package/src/components/MessageInput/__tests__/FileUploadPreview.test.js +1 -1
  1004. package/src/components/MessageInput/__tests__/MessageInput.test.js +3 -1
  1005. package/src/components/MessageInput/components/AudioRecorder/AudioRecorder.tsx +12 -22
  1006. package/src/components/MessageInput/components/AudioRecorder/AudioRecordingButton.tsx +11 -22
  1007. package/src/components/MessageInput/components/AudioRecorder/AudioRecordingInProgress.tsx +11 -22
  1008. package/src/components/MessageInput/components/InputEditingStateHeader.tsx +6 -9
  1009. package/src/components/MessageInput/components/InputGiphySearch.tsx +7 -11
  1010. package/src/components/MessageInput/components/InputReplyStateHeader.tsx +4 -9
  1011. package/src/components/MessageInput/hooks/useAudioController.tsx +6 -5
  1012. package/src/components/MessageInput/hooks/useCooldown.ts +5 -7
  1013. package/src/components/MessageList/InlineLoadingMoreIndicator.tsx +2 -6
  1014. package/src/components/MessageList/InlineLoadingMoreRecentIndicator.tsx +2 -6
  1015. package/src/components/MessageList/InlineLoadingMoreRecentThreadIndicator.tsx +2 -6
  1016. package/src/components/MessageList/MessageList.tsx +91 -121
  1017. package/src/components/MessageList/MessageSystem.tsx +4 -11
  1018. package/src/components/MessageList/StickyHeader.tsx +1 -4
  1019. package/src/components/MessageList/TypingIndicator.tsx +2 -5
  1020. package/src/components/MessageList/TypingIndicatorContainer.tsx +12 -22
  1021. package/src/components/MessageList/__tests__/useMessageList.test.tsx +3 -3
  1022. package/src/components/MessageList/hooks/useMessageList.ts +55 -81
  1023. package/src/components/MessageList/hooks/useShouldScrollToRecentOnNewOwnMessage.ts +5 -6
  1024. package/src/components/MessageList/hooks/useTypingString.ts +4 -7
  1025. package/src/components/MessageList/utils/filterTypingUsers.ts +6 -15
  1026. package/src/components/MessageList/utils/getDateSeparators.ts +3 -12
  1027. package/src/components/MessageList/utils/getGroupStyles.ts +12 -20
  1028. package/src/components/MessageList/utils/getLastReceivedMessage.ts +3 -8
  1029. package/src/components/MessageList/utils/getReadState.ts +27 -0
  1030. package/src/components/MessageMenu/MessageMenu.tsx +6 -13
  1031. package/src/components/MessageMenu/MessageReactionPicker.tsx +4 -10
  1032. package/src/components/MessageMenu/MessageUserReactions.tsx +4 -6
  1033. package/src/components/MessageMenu/MessageUserReactionsItem.tsx +7 -8
  1034. package/src/components/MessageMenu/__tests__/MessageUserReactions.test.tsx +2 -3
  1035. package/src/components/MessageMenu/hooks/useFetchReactions.ts +6 -12
  1036. package/src/components/Poll/Poll.tsx +3 -12
  1037. package/src/components/Poll/components/Button.tsx +3 -13
  1038. package/src/components/Poll/components/PollAnswersList.tsx +2 -5
  1039. package/src/components/Poll/components/PollResults/PollOptionFullResults.tsx +5 -7
  1040. package/src/components/Poll/components/PollResults/PollResultItem.tsx +9 -14
  1041. package/src/components/Poll/hooks/usePollState.ts +4 -12
  1042. package/src/components/Reply/Reply.tsx +19 -45
  1043. package/src/components/Thread/Thread.tsx +15 -29
  1044. package/src/components/Thread/__tests__/__snapshots__/Thread.test.js.snap +6 -18
  1045. package/src/components/Thread/components/ThreadFooterComponent.tsx +12 -27
  1046. package/src/components/ThreadList/ThreadList.tsx +3 -5
  1047. package/src/components/ThreadList/ThreadListItem.tsx +6 -4
  1048. package/src/components/index.ts +1 -10
  1049. package/src/contexts/attachmentPickerContext/AttachmentPickerContext.tsx +5 -4
  1050. package/src/contexts/channelContext/ChannelContext.tsx +15 -27
  1051. package/src/contexts/channelsContext/ChannelsContext.tsx +17 -25
  1052. package/src/contexts/channelsStateContext/ChannelsStateContext.tsx +18 -44
  1053. package/src/contexts/channelsStateContext/useChannelState.ts +13 -26
  1054. package/src/contexts/chatContext/ChatContext.tsx +11 -18
  1055. package/src/contexts/debugContext/DebugContext.tsx +14 -23
  1056. package/src/contexts/imageGalleryContext/ImageGalleryContext.tsx +11 -20
  1057. package/src/contexts/messageContext/MessageContext.tsx +17 -23
  1058. package/src/contexts/messageInputContext/MessageInputContext.tsx +195 -219
  1059. package/src/contexts/messageInputContext/__tests__/MessageInputContext.test.tsx +6 -13
  1060. package/src/contexts/messageInputContext/__tests__/__snapshots__/sendMessage.test.tsx.snap +10 -6
  1061. package/src/contexts/messageInputContext/__tests__/isValidMessage.test.tsx +4 -8
  1062. package/src/contexts/messageInputContext/__tests__/pickFile.test.tsx +4 -8
  1063. package/src/contexts/messageInputContext/__tests__/removeFile.test.tsx +4 -8
  1064. package/src/contexts/messageInputContext/__tests__/removeImage.test.tsx +4 -8
  1065. package/src/contexts/messageInputContext/__tests__/sendMessage.test.tsx +10 -13
  1066. package/src/contexts/messageInputContext/__tests__/sendMessageAsync.test.tsx +3 -8
  1067. package/src/contexts/messageInputContext/__tests__/updateMessage.test.tsx +9 -15
  1068. package/src/contexts/messageInputContext/__tests__/uploadFile.test.tsx +4 -8
  1069. package/src/contexts/messageInputContext/__tests__/uploadImage.test.tsx +4 -8
  1070. package/src/contexts/messageInputContext/__tests__/useMessageDetailsForState.test.tsx +15 -13
  1071. package/src/contexts/messageInputContext/hooks/useCreateMessageInputContext.ts +4 -10
  1072. package/src/contexts/messageInputContext/hooks/useMessageDetailsForState.ts +34 -46
  1073. package/src/contexts/messageInputContext/utils/utils.ts +6 -8
  1074. package/src/contexts/messagesContext/MessagesContext.tsx +65 -82
  1075. package/src/contexts/overlayContext/OverlayContext.tsx +2 -5
  1076. package/src/contexts/overlayContext/OverlayProvider.tsx +3 -7
  1077. package/src/contexts/paginatedMessageListContext/PaginatedMessageListContext.tsx +6 -13
  1078. package/src/contexts/pollContext/pollContext.tsx +6 -12
  1079. package/src/contexts/suggestionsContext/SuggestionsContext.tsx +29 -58
  1080. package/src/contexts/threadContext/ThreadContext.tsx +10 -22
  1081. package/src/contexts/threadsContext/ThreadListItemContext.tsx +10 -18
  1082. package/src/contexts/threadsContext/ThreadsContext.tsx +7 -17
  1083. package/src/contexts/typingContext/TypingContext.tsx +6 -15
  1084. package/src/hooks/useSelectedChannelState.ts +9 -17
  1085. package/src/hooks/useSyncClientEvents.ts +12 -23
  1086. package/src/hooks/useTranslatedMessage.ts +2 -7
  1087. package/src/mock-builders/api/channelMocks.tsx +35 -43
  1088. package/src/native.ts +8 -7
  1089. package/src/store/apis/getChannelMessages.ts +3 -6
  1090. package/src/store/apis/getChannels.ts +6 -9
  1091. package/src/store/apis/getChannelsForFilterSort.ts +4 -8
  1092. package/src/store/apis/getMembers.ts +3 -10
  1093. package/src/store/apis/getReactions.ts +3 -6
  1094. package/src/store/apis/getReactionsforFilterSort.ts +4 -8
  1095. package/src/store/apis/getReads.ts +3 -10
  1096. package/src/store/apis/insertReaction.ts +2 -2
  1097. package/src/store/apis/queries/selectChannelIdsForFilterSort.ts +3 -6
  1098. package/src/store/apis/updateMessage.ts +2 -2
  1099. package/src/store/apis/updatePollMessage.ts +3 -6
  1100. package/src/store/apis/updateReaction.ts +2 -2
  1101. package/src/store/apis/upsertChannelDataFromChannel.ts +2 -5
  1102. package/src/store/apis/utils/convertFilterSortToQuery.ts +3 -7
  1103. package/src/store/mappers/mapChannelDataToStorable.ts +1 -7
  1104. package/src/store/mappers/mapChannelToStorable.ts +2 -8
  1105. package/src/store/mappers/mapMemberToStorable.ts +2 -5
  1106. package/src/store/mappers/mapMessageToStorable.ts +2 -2
  1107. package/src/store/mappers/mapReadToStorable.ts +2 -5
  1108. package/src/store/mappers/mapStorableToChannel.ts +2 -8
  1109. package/src/store/mappers/mapStorableToMember.ts +2 -5
  1110. package/src/store/mappers/mapStorableToMessage.ts +3 -8
  1111. package/src/store/mappers/mapStorableToPoll.ts +1 -6
  1112. package/src/store/mappers/mapStorableToReaction.ts +2 -6
  1113. package/src/store/mappers/mapStorableToRead.ts +1 -7
  1114. package/src/store/mappers/mapStorableToUser.ts +1 -6
  1115. package/src/types/stream-chat-common-custom-data.d.ts +42 -0
  1116. package/src/types/types.ts +55 -75
  1117. package/src/utils/ACITriggerSettings.ts +20 -37
  1118. package/src/utils/DBSyncManager.ts +6 -31
  1119. package/src/utils/addReactionToLocalState.ts +3 -7
  1120. package/src/utils/compressImage.ts +3 -4
  1121. package/src/utils/i18n/Streami18n.ts +2 -4
  1122. package/src/utils/queryMembers.ts +17 -38
  1123. package/src/utils/queryUsers.ts +10 -15
  1124. package/src/utils/removeReactionFromLocalState.ts +3 -7
  1125. package/src/utils/removeReservedFields.ts +6 -10
  1126. package/src/utils/utils.ts +42 -53
  1127. package/src/version.json +1 -1
  1128. package/lib/commonjs/components/ChannelList/hooks/listeners/useAddedToChannelNotification.js +0 -89
  1129. package/lib/commonjs/components/ChannelList/hooks/listeners/useAddedToChannelNotification.js.map +0 -1
  1130. package/lib/commonjs/components/ChannelList/hooks/listeners/useChannelDeleted.js +0 -40
  1131. package/lib/commonjs/components/ChannelList/hooks/listeners/useChannelDeleted.js.map +0 -1
  1132. package/lib/commonjs/components/ChannelList/hooks/listeners/useChannelHidden.js +0 -40
  1133. package/lib/commonjs/components/ChannelList/hooks/listeners/useChannelHidden.js.map +0 -1
  1134. package/lib/commonjs/components/ChannelList/hooks/listeners/useChannelMemberUpdated.js +0 -78
  1135. package/lib/commonjs/components/ChannelList/hooks/listeners/useChannelMemberUpdated.js.map +0 -1
  1136. package/lib/commonjs/components/ChannelList/hooks/listeners/useChannelTruncated.js +0 -30
  1137. package/lib/commonjs/components/ChannelList/hooks/listeners/useChannelTruncated.js.map +0 -1
  1138. package/lib/commonjs/components/ChannelList/hooks/listeners/useChannelVisible.js +0 -74
  1139. package/lib/commonjs/components/ChannelList/hooks/listeners/useChannelVisible.js.map +0 -1
  1140. package/lib/commonjs/components/ChannelList/hooks/listeners/useNewMessage.js +0 -61
  1141. package/lib/commonjs/components/ChannelList/hooks/listeners/useNewMessage.js.map +0 -1
  1142. package/lib/commonjs/components/ChannelList/hooks/listeners/useNewMessageNotification.js +0 -82
  1143. package/lib/commonjs/components/ChannelList/hooks/listeners/useNewMessageNotification.js.map +0 -1
  1144. package/lib/commonjs/components/ChannelList/hooks/listeners/useRemovedFromChannelNotification.js +0 -37
  1145. package/lib/commonjs/components/ChannelList/hooks/listeners/useRemovedFromChannelNotification.js.map +0 -1
  1146. package/lib/commonjs/components/ChannelList/hooks/listeners/useUserPresence.js +0 -42
  1147. package/lib/commonjs/components/ChannelList/hooks/listeners/useUserPresence.js.map +0 -1
  1148. package/lib/commonjs/components/MessageList/hooks/useLastReadData.js +0 -20
  1149. package/lib/commonjs/components/MessageList/hooks/useLastReadData.js.map +0 -1
  1150. package/lib/commonjs/components/MessageList/utils/getReadStates.js +0 -34
  1151. package/lib/commonjs/components/MessageList/utils/getReadStates.js.map +0 -1
  1152. package/lib/module/components/ChannelList/hooks/listeners/useAddedToChannelNotification.js +0 -89
  1153. package/lib/module/components/ChannelList/hooks/listeners/useAddedToChannelNotification.js.map +0 -1
  1154. package/lib/module/components/ChannelList/hooks/listeners/useChannelDeleted.js +0 -40
  1155. package/lib/module/components/ChannelList/hooks/listeners/useChannelDeleted.js.map +0 -1
  1156. package/lib/module/components/ChannelList/hooks/listeners/useChannelHidden.js +0 -40
  1157. package/lib/module/components/ChannelList/hooks/listeners/useChannelHidden.js.map +0 -1
  1158. package/lib/module/components/ChannelList/hooks/listeners/useChannelMemberUpdated.js +0 -78
  1159. package/lib/module/components/ChannelList/hooks/listeners/useChannelMemberUpdated.js.map +0 -1
  1160. package/lib/module/components/ChannelList/hooks/listeners/useChannelTruncated.js +0 -30
  1161. package/lib/module/components/ChannelList/hooks/listeners/useChannelTruncated.js.map +0 -1
  1162. package/lib/module/components/ChannelList/hooks/listeners/useChannelVisible.js +0 -74
  1163. package/lib/module/components/ChannelList/hooks/listeners/useChannelVisible.js.map +0 -1
  1164. package/lib/module/components/ChannelList/hooks/listeners/useNewMessage.js +0 -61
  1165. package/lib/module/components/ChannelList/hooks/listeners/useNewMessage.js.map +0 -1
  1166. package/lib/module/components/ChannelList/hooks/listeners/useNewMessageNotification.js +0 -82
  1167. package/lib/module/components/ChannelList/hooks/listeners/useNewMessageNotification.js.map +0 -1
  1168. package/lib/module/components/ChannelList/hooks/listeners/useRemovedFromChannelNotification.js +0 -37
  1169. package/lib/module/components/ChannelList/hooks/listeners/useRemovedFromChannelNotification.js.map +0 -1
  1170. package/lib/module/components/ChannelList/hooks/listeners/useUserPresence.js +0 -42
  1171. package/lib/module/components/ChannelList/hooks/listeners/useUserPresence.js.map +0 -1
  1172. package/lib/module/components/MessageList/hooks/useLastReadData.js +0 -20
  1173. package/lib/module/components/MessageList/hooks/useLastReadData.js.map +0 -1
  1174. package/lib/module/components/MessageList/utils/getReadStates.js +0 -34
  1175. package/lib/module/components/MessageList/utils/getReadStates.js.map +0 -1
  1176. package/lib/typescript/components/ChannelList/hooks/listeners/useAddedToChannelNotification.d.ts +0 -11
  1177. package/lib/typescript/components/ChannelList/hooks/listeners/useAddedToChannelNotification.d.ts.map +0 -1
  1178. package/lib/typescript/components/ChannelList/hooks/listeners/useChannelDeleted.d.ts +0 -10
  1179. package/lib/typescript/components/ChannelList/hooks/listeners/useChannelDeleted.d.ts.map +0 -1
  1180. package/lib/typescript/components/ChannelList/hooks/listeners/useChannelHidden.d.ts +0 -10
  1181. package/lib/typescript/components/ChannelList/hooks/listeners/useChannelHidden.d.ts.map +0 -1
  1182. package/lib/typescript/components/ChannelList/hooks/listeners/useChannelMemberUpdated.d.ts +0 -12
  1183. package/lib/typescript/components/ChannelList/hooks/listeners/useChannelMemberUpdated.d.ts.map +0 -1
  1184. package/lib/typescript/components/ChannelList/hooks/listeners/useChannelTruncated.d.ts +0 -12
  1185. package/lib/typescript/components/ChannelList/hooks/listeners/useChannelTruncated.d.ts.map +0 -1
  1186. package/lib/typescript/components/ChannelList/hooks/listeners/useChannelVisible.d.ts +0 -11
  1187. package/lib/typescript/components/ChannelList/hooks/listeners/useChannelVisible.d.ts.map +0 -1
  1188. package/lib/typescript/components/ChannelList/hooks/listeners/useNewMessage.d.ts +0 -12
  1189. package/lib/typescript/components/ChannelList/hooks/listeners/useNewMessage.d.ts.map +0 -1
  1190. package/lib/typescript/components/ChannelList/hooks/listeners/useNewMessageNotification.d.ts +0 -11
  1191. package/lib/typescript/components/ChannelList/hooks/listeners/useNewMessageNotification.d.ts.map +0 -1
  1192. package/lib/typescript/components/ChannelList/hooks/listeners/useRemovedFromChannelNotification.d.ts +0 -10
  1193. package/lib/typescript/components/ChannelList/hooks/listeners/useRemovedFromChannelNotification.d.ts.map +0 -1
  1194. package/lib/typescript/components/ChannelList/hooks/listeners/useUserPresence.d.ts +0 -14
  1195. package/lib/typescript/components/ChannelList/hooks/listeners/useUserPresence.d.ts.map +0 -1
  1196. package/lib/typescript/components/MessageList/hooks/useLastReadData.d.ts +0 -13
  1197. package/lib/typescript/components/MessageList/hooks/useLastReadData.d.ts.map +0 -1
  1198. package/lib/typescript/components/MessageList/utils/getReadStates.d.ts +0 -6
  1199. package/lib/typescript/components/MessageList/utils/getReadStates.d.ts.map +0 -1
  1200. package/src/components/ChannelList/hooks/listeners/useAddedToChannelNotification.ts +0 -82
  1201. package/src/components/ChannelList/hooks/listeners/useChannelDeleted.ts +0 -50
  1202. package/src/components/ChannelList/hooks/listeners/useChannelHidden.ts +0 -51
  1203. package/src/components/ChannelList/hooks/listeners/useChannelMemberUpdated.ts +0 -120
  1204. package/src/components/ChannelList/hooks/listeners/useChannelTruncated.ts +0 -43
  1205. package/src/components/ChannelList/hooks/listeners/useChannelVisible.ts +0 -65
  1206. package/src/components/ChannelList/hooks/listeners/useNewMessage.ts +0 -97
  1207. package/src/components/ChannelList/hooks/listeners/useNewMessageNotification.ts +0 -73
  1208. package/src/components/ChannelList/hooks/listeners/useRemovedFromChannelNotification.ts +0 -46
  1209. package/src/components/ChannelList/hooks/listeners/useUserPresence.ts +0 -57
  1210. package/src/components/MessageList/hooks/useLastReadData.ts +0 -37
  1211. package/src/components/MessageList/utils/getReadStates.ts +0 -60
@@ -1,12 +1,11 @@
1
1
  import React from 'react';
2
2
  import { MessageTextContainerProps } from './MessageTextContainer';
3
- import type { DefaultStreamChatGenerics } from '../../../types/types';
4
- export type StreamingMessageViewProps<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Pick<MessageTextContainerProps<StreamChatGenerics>, 'message'> & {
3
+ export type StreamingMessageViewProps = Pick<MessageTextContainerProps, 'message'> & {
5
4
  letterInterval?: number;
6
5
  renderingLetterCount?: number;
7
6
  };
8
7
  export declare const StreamingMessageView: {
9
- <StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>(props: StreamingMessageViewProps<StreamChatGenerics>): React.JSX.Element;
8
+ (props: StreamingMessageViewProps): React.JSX.Element;
10
9
  displayName: string;
11
10
  };
12
11
  //# sourceMappingURL=StreamingMessageView.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"StreamingMessageView.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/MessageSimple/StreamingMessageView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAwB,yBAAyB,EAAE,MAAM,wBAAwB,CAAC;AAGzF,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,sBAAsB,CAAC;AAGtE,MAAM,MAAM,yBAAyB,CACnC,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,IAC9E,IAAI,CAAC,yBAAyB,CAAC,kBAAkB,CAAC,EAAE,SAAS,CAAC,GAAG;IACnE,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,oBAAoB,CAAC,EAAE,MAAM,CAAC;CAC/B,CAAC;AAEF,eAAO,MAAM,oBAAoB;KAC/B,kBAAkB,SAAS,yBAAyB,qCAE7C,yBAAyB,CAAC,kBAAkB,CAAC;;CAarD,CAAC"}
1
+ {"version":3,"file":"StreamingMessageView.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/MessageSimple/StreamingMessageView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAwB,yBAAyB,EAAE,MAAM,wBAAwB,CAAC;AAMzF,MAAM,MAAM,yBAAyB,GAAG,IAAI,CAAC,yBAAyB,EAAE,SAAS,CAAC,GAAG;IACnF,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,oBAAoB,CAAC,EAAE,MAAM,CAAC;CAC/B,CAAC;AAEF,eAAO,MAAM,oBAAoB;YAAW,yBAAyB;;CAYpE,CAAC"}
@@ -1,17 +1,16 @@
1
1
  import React, { ReactNode } from 'react';
2
2
  import { DefaultRules, Output, SingleASTNode, State } from 'simple-markdown';
3
+ import type { LocalMessage } from 'stream-chat';
3
4
  import type { MessageContextValue } from '../../../../contexts/messageContext/MessageContext';
4
5
  import type { Colors, MarkdownStyle } from '../../../../contexts/themeContext/utils/theme';
5
- import type { DefaultStreamChatGenerics } from '../../../../types/types';
6
- import type { MessageType } from '../../../MessageList/hooks/useMessageList';
7
6
  type ReactOutput = Output<React.ReactNode>;
8
7
  export declare const MarkdownReactiveScrollView: ({ children }: {
9
8
  children: ReactNode;
10
9
  }) => React.JSX.Element;
11
10
  export type MarkdownRules = Partial<DefaultRules>;
12
- export type RenderTextParams<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Partial<Pick<MessageContextValue<StreamChatGenerics>, 'onLongPress' | 'onPress' | 'preventPress'>> & {
11
+ export type RenderTextParams = Partial<Pick<MessageContextValue, 'onLongPress' | 'onPress' | 'preventPress'>> & {
13
12
  colors: typeof Colors;
14
- message: MessageType<StreamChatGenerics>;
13
+ message: LocalMessage;
15
14
  markdownRules?: MarkdownRules;
16
15
  markdownStyles?: MarkdownStyle;
17
16
  messageOverlay?: boolean;
@@ -19,7 +18,7 @@ export type RenderTextParams<StreamChatGenerics extends DefaultStreamChatGeneric
19
18
  onLink?: (url: string) => Promise<void>;
20
19
  onlyEmojis?: boolean;
21
20
  };
22
- export declare const renderText: <StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>(params: RenderTextParams<StreamChatGenerics>) => React.JSX.Element;
21
+ export declare const renderText: (params: RenderTextParams) => React.JSX.Element;
23
22
  export interface ListOutputProps {
24
23
  node: SingleASTNode;
25
24
  output: ReactOutput;
@@ -1 +1 @@
1
- {"version":3,"file":"renderText.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Message/MessageSimple/utils/renderText.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAqB,SAAS,EAAwB,MAAM,OAAO,CAAC;AAgBlF,OAAO,EACL,YAAY,EAIZ,MAAM,EAGN,aAAa,EACb,KAAK,EACN,MAAM,iBAAiB,CAAC;AAMzB,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,oDAAoD,CAAC;AAC9F,OAAO,KAAK,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,+CAA+C,CAAC;AAC3F,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,yBAAyB,CAAC;AAEzE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,2CAA2C,CAAC;AAG7E,KAAK,WAAW,GAAG,MAAM,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC;AAE3C,eAAO,MAAM,0BAA0B,GAAI,cAAc;IAAE,QAAQ,EAAE,SAAS,CAAA;CAAE,sBAkD/E,CAAC;AAmEF,MAAM,MAAM,aAAa,GAAG,OAAO,CAAC,YAAY,CAAC,CAAC;AAElD,MAAM,MAAM,gBAAgB,CAC1B,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,IAC9E,OAAO,CACT,IAAI,CAAC,mBAAmB,CAAC,kBAAkB,CAAC,EAAE,aAAa,GAAG,SAAS,GAAG,cAAc,CAAC,CAC1F,GAAG;IACF,MAAM,EAAE,OAAO,MAAM,CAAC;IACtB,OAAO,EAAE,WAAW,CAAC,kBAAkB,CAAC,CAAC;IACzC,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,cAAc,CAAC,EAAE,aAAa,CAAC;IAC/B,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAClC,MAAM,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACxC,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC;AAEF,eAAO,MAAM,UAAU,GACrB,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,EAEhF,QAAQ,gBAAgB,CAAC,kBAAkB,CAAC,sBAmS7C,CAAC;AAEF,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,aAAa,CAAC;IACpB,MAAM,EAAE,WAAW,CAAC;IACpB,KAAK,EAAE,KAAK,CAAC;IACb,MAAM,CAAC,EAAE,OAAO,CAAC,aAAa,CAAC,CAAC;CACjC;AAED;;;;;;GAMG;AACH,eAAO,MAAM,UAAU,GAAI,iCAAiC,eAAe,sBAsC1E,CAAC;AAoBF,MAAM,MAAM,kBAAkB,GAAG;IAC/B,IAAI,EAAE,aAAa,CAAC;IACpB,MAAM,EAAE,WAAW,CAAC;IACpB,KAAK,EAAE,KAAK,CAAC;IACb,MAAM,EAAE,OAAO,CAAC,aAAa,CAAC,CAAC;CAChC,CAAC;AA2BF,MAAM,MAAM,qBAAqB,GAAG;IAClC,KAAK,EAAE,aAAa,EAAE,CAAC;IACvB,MAAM,EAAE,WAAW,CAAC;IACpB,KAAK,EAAE,KAAK,CAAC;IACb,MAAM,EAAE,OAAO,CAAC,aAAa,CAAC,CAAC;CAChC,CAAC"}
1
+ {"version":3,"file":"renderText.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Message/MessageSimple/utils/renderText.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAqB,SAAS,EAAwB,MAAM,OAAO,CAAC;AAgBlF,OAAO,EACL,YAAY,EAIZ,MAAM,EAGN,aAAa,EACb,KAAK,EACN,MAAM,iBAAiB,CAAC;AAEzB,OAAO,KAAK,EAAE,YAAY,EAAgB,MAAM,aAAa,CAAC;AAI9D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,oDAAoD,CAAC;AAC9F,OAAO,KAAK,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,+CAA+C,CAAC;AAK3F,KAAK,WAAW,GAAG,MAAM,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC;AAE3C,eAAO,MAAM,0BAA0B,GAAI,cAAc;IAAE,QAAQ,EAAE,SAAS,CAAA;CAAE,sBAkD/E,CAAC;AAmEF,MAAM,MAAM,aAAa,GAAG,OAAO,CAAC,YAAY,CAAC,CAAC;AAElD,MAAM,MAAM,gBAAgB,GAAG,OAAO,CACpC,IAAI,CAAC,mBAAmB,EAAE,aAAa,GAAG,SAAS,GAAG,cAAc,CAAC,CACtE,GAAG;IACF,MAAM,EAAE,OAAO,MAAM,CAAC;IACtB,OAAO,EAAE,YAAY,CAAC;IACtB,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,cAAc,CAAC,EAAE,aAAa,CAAC;IAC/B,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAClC,MAAM,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACxC,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC;AAEF,eAAO,MAAM,UAAU,GAAI,QAAQ,gBAAgB,sBAgSlD,CAAC;AAEF,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,aAAa,CAAC;IACpB,MAAM,EAAE,WAAW,CAAC;IACpB,KAAK,EAAE,KAAK,CAAC;IACb,MAAM,CAAC,EAAE,OAAO,CAAC,aAAa,CAAC,CAAC;CACjC;AAED;;;;;;GAMG;AACH,eAAO,MAAM,UAAU,GAAI,iCAAiC,eAAe,sBAsC1E,CAAC;AAoBF,MAAM,MAAM,kBAAkB,GAAG;IAC/B,IAAI,EAAE,aAAa,CAAC;IACpB,MAAM,EAAE,WAAW,CAAC;IACpB,KAAK,EAAE,KAAK,CAAC;IACb,MAAM,EAAE,OAAO,CAAC,aAAa,CAAC,CAAC;CAChC,CAAC;AA2BF,MAAM,MAAM,qBAAqB,GAAG;IAClC,KAAK,EAAE,aAAa,EAAE,CAAC;IACvB,MAAM,EAAE,WAAW,CAAC;IACpB,KAAK,EAAE,KAAK,CAAC;IACb,MAAM,EAAE,OAAO,CAAC,aAAa,CAAC,CAAC;CAChC,CAAC"}
@@ -1,4 +1,3 @@
1
1
  import type { MessageContextValue } from '../../../contexts/messageContext/MessageContext';
2
- import type { DefaultStreamChatGenerics } from '../../../types/types';
3
- export declare const useCreateMessageContext: <StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>({ actionsEnabled, alignment, channel, dismissOverlay, files, goToMessage, groupStyles, handleAction, handleReaction, handleToggleReaction, hasReactions, images, isEditedMessageOpen, isMessageAIGenerated, isMyMessage, lastGroupMessage, lastReceivedId, members, message, messageContentOrder, myMessageTheme, onLongPress, onlyEmojis, onOpenThread, onPress, onPressIn, otherAttachments, preventPress, reactions, setIsEditedMessageOpen, showAvatar, showMessageOverlay, showMessageStatus, threadList, videos, }: MessageContextValue<StreamChatGenerics>) => MessageContextValue<StreamChatGenerics>;
2
+ export declare const useCreateMessageContext: ({ actionsEnabled, alignment, channel, dismissOverlay, files, goToMessage, groupStyles, handleAction, handleReaction, handleToggleReaction, hasReactions, images, isEditedMessageOpen, isMessageAIGenerated, isMyMessage, lastGroupMessage, lastReceivedId, members, message, messageContentOrder, myMessageTheme, onLongPress, onlyEmojis, onOpenThread, onPress, onPressIn, otherAttachments, preventPress, reactions, readBy, setIsEditedMessageOpen, showAvatar, showMessageOverlay, showMessageStatus, threadList, videos, }: MessageContextValue) => MessageContextValue;
4
3
  //# sourceMappingURL=useCreateMessageContext.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useCreateMessageContext.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/hooks/useCreateMessageContext.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iDAAiD,CAAC;AAC3F,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,sBAAsB,CAAC;AAGtE,eAAO,MAAM,uBAAuB,GAClC,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,EAChF,0fAoCC,mBAAmB,CAAC,kBAAkB,CAAC,4CAsEzC,CAAC"}
1
+ {"version":3,"file":"useCreateMessageContext.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/hooks/useCreateMessageContext.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iDAAiD,CAAC;AAI3F,eAAO,MAAM,uBAAuB,GAAI,kgBAqCrC,mBAAmB,wBAwErB,CAAC"}
@@ -2,8 +2,7 @@ import type { ChannelContextValue } from '../../../contexts/channelContext/Chann
2
2
  import type { ChatContextValue } from '../../../contexts/chatContext/ChatContext';
3
3
  import type { MessageContextValue } from '../../../contexts/messageContext/MessageContext';
4
4
  import type { MessagesContextValue } from '../../../contexts/messagesContext/MessagesContext';
5
- import type { DefaultStreamChatGenerics } from '../../../types/types';
6
- export declare const useMessageActionHandlers: <StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>({ channel, client, deleteMessage, deleteReaction, message, retrySendMessage, sendReaction, setEditingState, setQuotedMessageState, }: Pick<MessagesContextValue<StreamChatGenerics>, "sendReaction" | "deleteMessage" | "deleteReaction" | "retrySendMessage" | "setEditingState" | "setQuotedMessageState" | "supportedReactions"> & Pick<ChannelContextValue<StreamChatGenerics>, "channel" | "enforceUniqueReaction"> & Pick<ChatContextValue<StreamChatGenerics>, "client"> & Pick<MessageContextValue<StreamChatGenerics>, "message">) => {
5
+ export declare const useMessageActionHandlers: ({ channel, client, deleteMessage, deleteReaction, message, retrySendMessage, sendReaction, setEditingState, setQuotedMessageState, }: Pick<MessagesContextValue, "sendReaction" | "deleteMessage" | "deleteReaction" | "retrySendMessage" | "setEditingState" | "setQuotedMessageState" | "supportedReactions"> & Pick<ChannelContextValue, "channel" | "enforceUniqueReaction"> & Pick<ChatContextValue, "client"> & Pick<MessageContextValue, "message">) => {
7
6
  handleCopyMessage: () => void;
8
7
  handleDeleteMessage: () => void;
9
8
  handleEditMessage: () => void;
@@ -1 +1 @@
1
- {"version":3,"file":"useMessageActionHandlers.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/hooks/useMessageActionHandlers.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iDAAiD,CAAC;AAC3F,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,2CAA2C,CAAC;AAClF,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iDAAiD,CAAC;AAC3F,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,mDAAmD,CAAC;AAI9F,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,sBAAsB,CAAC;AAEtE,eAAO,MAAM,wBAAwB,GACnC,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,EAChF,sIAUC,IAAI,CACL,oBAAoB,CAAC,kBAAkB,CAAC,EACtC,cAAc,GACd,eAAe,GACf,gBAAgB,GAChB,kBAAkB,GAClB,iBAAiB,GACjB,uBAAuB,GACvB,oBAAoB,CACvB,GACC,IAAI,CAAC,mBAAmB,CAAC,kBAAkB,CAAC,EAAE,SAAS,GAAG,uBAAuB,CAAC,GAClF,IAAI,CAAC,gBAAgB,CAAC,kBAAkB,CAAC,EAAE,QAAQ,CAAC,GACpD,IAAI,CAAC,mBAAmB,CAAC,kBAAkB,CAAC,EAAE,SAAS,CAAC;;;;;;;;;;;yCA6HN,MAAM;CA0CzD,CAAC"}
1
+ {"version":3,"file":"useMessageActionHandlers.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/hooks/useMessageActionHandlers.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iDAAiD,CAAC;AAC3F,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,2CAA2C,CAAC;AAClF,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iDAAiD,CAAC;AAC3F,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,mDAAmD,CAAC;AAK9F,eAAO,MAAM,wBAAwB,GAAI,sIAUtC,IAAI,CACL,oBAAoB,EAClB,cAAc,GACd,eAAe,GACf,gBAAgB,GAChB,kBAAkB,GAClB,iBAAiB,GACjB,uBAAuB,GACvB,oBAAoB,CACvB,GACC,IAAI,CAAC,mBAAmB,EAAE,SAAS,GAAG,uBAAuB,CAAC,GAC9D,IAAI,CAAC,gBAAgB,EAAE,QAAQ,CAAC,GAChC,IAAI,CAAC,mBAAmB,EAAE,SAAS,CAAC;;;;;;;;;;;yCA6Hc,MAAM;CA0CzD,CAAC"}
@@ -1,16 +1,15 @@
1
+ import { LocalMessage } from 'stream-chat';
1
2
  import type { ChannelContextValue } from '../../../contexts/channelContext/ChannelContext';
2
3
  import type { ChatContextValue } from '../../../contexts/chatContext/ChatContext';
3
4
  import type { MessageContextValue } from '../../../contexts/messageContext/MessageContext';
4
5
  import type { MessagesContextValue } from '../../../contexts/messagesContext/MessagesContext';
5
6
  import type { ThreadContextValue } from '../../../contexts/threadContext/ThreadContext';
6
7
  import type { TranslationContextValue } from '../../../contexts/translationContext/TranslationContext';
7
- import type { DefaultStreamChatGenerics } from '../../../types/types';
8
- import type { MessageType } from '../../MessageList/hooks/useMessageList';
9
8
  import type { MessageActionType } from '../../MessageMenu/MessageActionListItem';
10
- export type MessageActionsHookProps<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Pick<MessagesContextValue<StreamChatGenerics>, 'deleteMessage' | 'sendReaction' | 'handleBan' | 'handleCopy' | 'handleDelete' | 'handleEdit' | 'handleFlag' | 'handleQuotedReply' | 'handleMarkUnread' | 'handleMute' | 'handlePinMessage' | 'handleRetry' | 'handleReaction' | 'handleThreadReply' | 'removeMessage' | 'deleteReaction' | 'retrySendMessage' | 'setEditingState' | 'setQuotedMessageState' | 'selectReaction' | 'supportedReactions' | 'updateMessage'> & Pick<ChannelContextValue<StreamChatGenerics>, 'channel' | 'enforceUniqueReaction'> & Pick<ChatContextValue<StreamChatGenerics>, 'client'> & Pick<ThreadContextValue<StreamChatGenerics>, 'openThread'> & Pick<MessageContextValue<StreamChatGenerics>, 'dismissOverlay' | 'message'> & Pick<TranslationContextValue, 't'> & {
11
- onThreadSelect?: (message: MessageType<StreamChatGenerics>) => void;
9
+ export type MessageActionsHookProps = Pick<MessagesContextValue, 'deleteMessage' | 'sendReaction' | 'handleBan' | 'handleCopy' | 'handleDelete' | 'handleEdit' | 'handleFlag' | 'handleQuotedReply' | 'handleMarkUnread' | 'handleMute' | 'handlePinMessage' | 'handleRetry' | 'handleReaction' | 'handleThreadReply' | 'removeMessage' | 'deleteReaction' | 'retrySendMessage' | 'setEditingState' | 'setQuotedMessageState' | 'selectReaction' | 'supportedReactions' | 'updateMessage'> & Pick<ChannelContextValue, 'channel' | 'enforceUniqueReaction'> & Pick<ChatContextValue, 'client'> & Pick<ThreadContextValue, 'openThread'> & Pick<MessageContextValue, 'dismissOverlay' | 'message'> & Pick<TranslationContextValue, 't'> & {
10
+ onThreadSelect?: (message: LocalMessage) => void;
12
11
  };
13
- export declare const useMessageActions: <StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>({ channel, client, deleteMessage: deleteMessageFromContext, deleteReaction, dismissOverlay, enforceUniqueReaction, handleBan, handleCopy, handleDelete, handleEdit, handleFlag, handleMarkUnread, handleMute, handlePinMessage, handleQuotedReply, handleReaction: handleReactionProp, handleRetry, handleThreadReply, message, onThreadSelect, openThread, retrySendMessage, selectReaction, sendReaction, setEditingState, setQuotedMessageState, supportedReactions, t, }: MessageActionsHookProps<StreamChatGenerics>) => {
12
+ export declare const useMessageActions: ({ channel, client, deleteMessage: deleteMessageFromContext, deleteReaction, dismissOverlay, enforceUniqueReaction, handleBan, handleCopy, handleDelete, handleEdit, handleFlag, handleMarkUnread, handleMute, handlePinMessage, handleQuotedReply, handleReaction: handleReactionProp, handleRetry, handleThreadReply, message, onThreadSelect, openThread, retrySendMessage, selectReaction, sendReaction, setEditingState, setQuotedMessageState, supportedReactions, t, }: MessageActionsHookProps) => {
14
13
  banUser: MessageActionType;
15
14
  copyMessage: MessageActionType;
16
15
  deleteMessage: MessageActionType;
@@ -1 +1 @@
1
- {"version":3,"file":"useMessageActions.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/hooks/useMessageActions.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iDAAiD,CAAC;AAC3F,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,2CAA2C,CAAC;AAClF,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iDAAiD,CAAC;AAC3F,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,mDAAmD,CAAC;AAE9F,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,+CAA+C,CAAC;AACxF,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,yDAAyD,CAAC;AAevG,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,sBAAsB,CAAC;AAItE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAC;AAC1E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,yCAAyC,CAAC;AAEjF,MAAM,MAAM,uBAAuB,CACjC,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,IAC9E,IAAI,CACN,oBAAoB,CAAC,kBAAkB,CAAC,EACtC,eAAe,GACf,cAAc,GACd,WAAW,GACX,YAAY,GACZ,cAAc,GACd,YAAY,GACZ,YAAY,GACZ,mBAAmB,GACnB,kBAAkB,GAClB,YAAY,GACZ,kBAAkB,GAClB,aAAa,GACb,gBAAgB,GAChB,mBAAmB,GACnB,eAAe,GACf,gBAAgB,GAChB,kBAAkB,GAClB,iBAAiB,GACjB,uBAAuB,GACvB,gBAAgB,GAChB,oBAAoB,GACpB,eAAe,CAClB,GACC,IAAI,CAAC,mBAAmB,CAAC,kBAAkB,CAAC,EAAE,SAAS,GAAG,uBAAuB,CAAC,GAClF,IAAI,CAAC,gBAAgB,CAAC,kBAAkB,CAAC,EAAE,QAAQ,CAAC,GACpD,IAAI,CAAC,kBAAkB,CAAC,kBAAkB,CAAC,EAAE,YAAY,CAAC,GAC1D,IAAI,CAAC,mBAAmB,CAAC,kBAAkB,CAAC,EAAE,gBAAgB,GAAG,SAAS,CAAC,GAC3E,IAAI,CAAC,uBAAuB,EAAE,GAAG,CAAC,GAAG;IACnC,cAAc,CAAC,EAAE,CAAC,OAAO,EAAE,WAAW,CAAC,kBAAkB,CAAC,KAAK,IAAI,CAAC;CACrE,CAAC;AAEJ,eAAO,MAAM,iBAAiB,GAC5B,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,EAChF,8cA6BC,uBAAuB,CAAC,kBAAkB,CAAC;;;;;;;;;;;;;;CA+O7C,CAAC"}
1
+ {"version":3,"file":"useMessageActions.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/hooks/useMessageActions.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAI3C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iDAAiD,CAAC;AAC3F,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,2CAA2C,CAAC;AAClF,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iDAAiD,CAAC;AAC3F,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,mDAAmD,CAAC;AAE9F,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,+CAA+C,CAAC;AACxF,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,yDAAyD,CAAC;AAmBvG,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,yCAAyC,CAAC;AAEjF,MAAM,MAAM,uBAAuB,GAAG,IAAI,CACxC,oBAAoB,EAClB,eAAe,GACf,cAAc,GACd,WAAW,GACX,YAAY,GACZ,cAAc,GACd,YAAY,GACZ,YAAY,GACZ,mBAAmB,GACnB,kBAAkB,GAClB,YAAY,GACZ,kBAAkB,GAClB,aAAa,GACb,gBAAgB,GAChB,mBAAmB,GACnB,eAAe,GACf,gBAAgB,GAChB,kBAAkB,GAClB,iBAAiB,GACjB,uBAAuB,GACvB,gBAAgB,GAChB,oBAAoB,GACpB,eAAe,CAClB,GACC,IAAI,CAAC,mBAAmB,EAAE,SAAS,GAAG,uBAAuB,CAAC,GAC9D,IAAI,CAAC,gBAAgB,EAAE,QAAQ,CAAC,GAChC,IAAI,CAAC,kBAAkB,EAAE,YAAY,CAAC,GACtC,IAAI,CAAC,mBAAmB,EAAE,gBAAgB,GAAG,SAAS,CAAC,GACvD,IAAI,CAAC,uBAAuB,EAAE,GAAG,CAAC,GAAG;IACnC,cAAc,CAAC,EAAE,CAAC,OAAO,EAAE,YAAY,KAAK,IAAI,CAAC;CAClD,CAAC;AAEJ,eAAO,MAAM,iBAAiB,GAAI,8cA6B/B,uBAAuB;;;;;;;;;;;;;;CA+OzB,CAAC"}
@@ -1,7 +1,6 @@
1
1
  import { MessageContextValue } from '../../../contexts/messageContext/MessageContext';
2
- import { DefaultStreamChatGenerics } from '../../../types/types';
3
- export type UseMessageDataProps<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Partial<Pick<MessageContextValue<StreamChatGenerics>, 'channel' | 'groupStyles' | 'isMyMessage' | 'message'>>;
4
- export declare const useMessageData: <StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>({ channel: propChannel, groupStyles: propGroupStyles, isMyMessage: propIsMyMessage, message: propMessage, }: UseMessageDataProps<StreamChatGenerics>) => {
2
+ export type UseMessageDataProps = Partial<Pick<MessageContextValue, 'channel' | 'groupStyles' | 'isMyMessage' | 'message'>>;
3
+ export declare const useMessageData: ({ channel: propChannel, groupStyles: propGroupStyles, isMyMessage: propIsMyMessage, message: propMessage, }: UseMessageDataProps) => {
5
4
  hasThreadReplies: boolean;
6
5
  isMessageErrorType: boolean;
7
6
  isMessageReceivedOrErrorType: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"useMessageData.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/hooks/useMessageData.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,mBAAmB,EAEpB,MAAM,iDAAiD,CAAC;AAEzD,OAAO,EAAE,yBAAyB,EAAE,MAAM,sBAAsB,CAAC;AAGjE,MAAM,MAAM,mBAAmB,CAC7B,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,IAC9E,OAAO,CACT,IAAI,CACF,mBAAmB,CAAC,kBAAkB,CAAC,EACvC,SAAS,GAAG,aAAa,GAAG,aAAa,GAAG,SAAS,CACtD,CACF,CAAC;AAEF,eAAO,MAAM,cAAc,GACzB,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,EAChF,6GAKC,mBAAmB,CAAC,kBAAkB,CAAC;;;;;;;CAkCzC,CAAC"}
1
+ {"version":3,"file":"useMessageData.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/hooks/useMessageData.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,mBAAmB,EAEpB,MAAM,iDAAiD,CAAC;AAIzD,MAAM,MAAM,mBAAmB,GAAG,OAAO,CACvC,IAAI,CAAC,mBAAmB,EAAE,SAAS,GAAG,aAAa,GAAG,aAAa,GAAG,SAAS,CAAC,CACjF,CAAC;AAEF,eAAO,MAAM,cAAc,GAAI,6GAK5B,mBAAmB;;;;;;;CAkCrB,CAAC"}
@@ -1,7 +1,6 @@
1
1
  import { ComponentType } from 'react';
2
2
  import { ReactionGroupResponse, ReactionResponse } from 'stream-chat';
3
3
  import { MessagesContextValue } from '../../../contexts/messagesContext/MessagesContext';
4
- import { DefaultStreamChatGenerics } from '../../../types/types';
5
4
  export type ReactionSummary = {
6
5
  own: boolean;
7
6
  type: string;
@@ -13,22 +12,22 @@ export type ReactionSummary = {
13
12
  unlistedReactedUserCount?: number;
14
13
  };
15
14
  export type ReactionsComparator = (a: ReactionSummary, b: ReactionSummary) => number;
16
- export type MessageReactionsData<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = {
15
+ export type MessageReactionsData = {
17
16
  /** An array of the reaction objects to display in the list */
18
- latest_reactions?: ReactionResponse<StreamChatGenerics>[];
17
+ latest_reactions?: ReactionResponse[];
19
18
  /** An array of the own reaction objects to distinguish own reactions visually */
20
- own_reactions?: ReactionResponse<StreamChatGenerics>[] | null;
19
+ own_reactions?: ReactionResponse[] | null;
21
20
  /** An object containing summary for each reaction type on a message */
22
21
  reaction_groups?: Record<string, ReactionGroupResponse> | null;
23
22
  };
24
- type UseProcessReactionsParams<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = MessageReactionsData<StreamChatGenerics> & Partial<Pick<MessagesContextValue<StreamChatGenerics>, 'supportedReactions'>> & {
23
+ type UseProcessReactionsParams = MessageReactionsData & Partial<Pick<MessagesContextValue, 'supportedReactions'>> & {
25
24
  sortReactions?: ReactionsComparator;
26
25
  };
27
26
  export declare const defaultReactionsSort: ReactionsComparator;
28
27
  /**
29
28
  * Custom hook to process reactions data from message and return a list of reactions with additional info.
30
29
  */
31
- export declare const useProcessReactions: <StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>(props: UseProcessReactionsParams<StreamChatGenerics>) => {
30
+ export declare const useProcessReactions: (props: UseProcessReactionsParams) => {
32
31
  existingReactions: {
33
32
  count: number;
34
33
  firstReactionAt: Date | null;
@@ -1 +1 @@
1
- {"version":3,"file":"useProcessReactions.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/hooks/useProcessReactions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAW,MAAM,OAAO,CAAC;AAE/C,OAAO,EAAE,qBAAqB,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAGtE,OAAO,EACL,oBAAoB,EAErB,MAAM,mDAAmD,CAAC;AAC3D,OAAO,EAAE,yBAAyB,EAAE,MAAM,sBAAsB,CAAC;AAGjE,MAAM,MAAM,eAAe,GAAG;IAC5B,GAAG,EAAE,OAAO,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,eAAe,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAC9B,IAAI,CAAC,EAAE,aAAa,GAAG,IAAI,CAAC;IAC5B,cAAc,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAC7B,sBAAsB,CAAC,EAAE,MAAM,EAAE,CAAC;IAClC,wBAAwB,CAAC,EAAE,MAAM,CAAC;CACnC,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,EAAE,eAAe,EAAE,CAAC,EAAE,eAAe,KAAK,MAAM,CAAC;AAErF,MAAM,MAAM,oBAAoB,CAC9B,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,IAC9E;IACF,8DAA8D;IAC9D,gBAAgB,CAAC,EAAE,gBAAgB,CAAC,kBAAkB,CAAC,EAAE,CAAC;IAC1D,iFAAiF;IACjF,aAAa,CAAC,EAAE,gBAAgB,CAAC,kBAAkB,CAAC,EAAE,GAAG,IAAI,CAAC;IAC9D,uEAAuE;IACvE,eAAe,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,qBAAqB,CAAC,GAAG,IAAI,CAAC;CAChE,CAAC;AAEF,KAAK,yBAAyB,CAC5B,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,IAC9E,oBAAoB,CAAC,kBAAkB,CAAC,GAC1C,OAAO,CAAC,IAAI,CAAC,oBAAoB,CAAC,kBAAkB,CAAC,EAAE,oBAAoB,CAAC,CAAC,GAAG;IAC9E,aAAa,CAAC,EAAE,mBAAmB,CAAC;CACrC,CAAC;AAEJ,eAAO,MAAM,oBAAoB,EAAE,mBAMlC,CAAC;AAoCF;;GAEG;AACH,eAAO,MAAM,mBAAmB,GAC9B,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,EAEhF,OAAO,yBAAyB,CAAC,kBAAkB,CAAC;;;;;;;;;;;;;CAwDrD,CAAC"}
1
+ {"version":3,"file":"useProcessReactions.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/hooks/useProcessReactions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAW,MAAM,OAAO,CAAC;AAE/C,OAAO,EAAE,qBAAqB,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAGtE,OAAO,EACL,oBAAoB,EAErB,MAAM,mDAAmD,CAAC;AAG3D,MAAM,MAAM,eAAe,GAAG;IAC5B,GAAG,EAAE,OAAO,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,eAAe,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAC9B,IAAI,CAAC,EAAE,aAAa,GAAG,IAAI,CAAC;IAC5B,cAAc,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAC7B,sBAAsB,CAAC,EAAE,MAAM,EAAE,CAAC;IAClC,wBAAwB,CAAC,EAAE,MAAM,CAAC;CACnC,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,EAAE,eAAe,EAAE,CAAC,EAAE,eAAe,KAAK,MAAM,CAAC;AAErF,MAAM,MAAM,oBAAoB,GAAG;IACjC,8DAA8D;IAC9D,gBAAgB,CAAC,EAAE,gBAAgB,EAAE,CAAC;IACtC,iFAAiF;IACjF,aAAa,CAAC,EAAE,gBAAgB,EAAE,GAAG,IAAI,CAAC;IAC1C,uEAAuE;IACvE,eAAe,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,qBAAqB,CAAC,GAAG,IAAI,CAAC;CAChE,CAAC;AAEF,KAAK,yBAAyB,GAAG,oBAAoB,GACnD,OAAO,CAAC,IAAI,CAAC,oBAAoB,EAAE,oBAAoB,CAAC,CAAC,GAAG;IAC1D,aAAa,CAAC,EAAE,mBAAmB,CAAC;CACrC,CAAC;AAEJ,eAAO,MAAM,oBAAoB,EAAE,mBAMlC,CAAC;AAkCF;;GAEG;AACH,eAAO,MAAM,mBAAmB,GAAI,OAAO,yBAAyB;;;;;;;;;;;;;CAkDnE,CAAC"}
@@ -1,6 +1,5 @@
1
- import type { DefaultStreamChatGenerics } from '../../../types/types';
2
1
  import { StreamingMessageViewProps } from '../MessageSimple/StreamingMessageView';
3
- export type UseStreamingMessageProps<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Pick<StreamingMessageViewProps<StreamChatGenerics>, 'letterInterval' | 'renderingLetterCount'> & {
2
+ export type UseStreamingMessageProps = Pick<StreamingMessageViewProps, 'letterInterval' | 'renderingLetterCount'> & {
4
3
  text: string;
5
4
  };
6
5
  /**
@@ -11,7 +10,7 @@ export type UseStreamingMessageProps<StreamChatGenerics extends DefaultStreamCha
11
10
  * @param {string} text - The text that we want to render in a typewriter fashion.
12
11
  * @returns {{ streamedMessageText: string }} - A substring of the text property, up until we've finished rendering the typewriter animation.
13
12
  */
14
- export declare const useStreamingMessage: <StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>({ letterInterval, renderingLetterCount, text, }: UseStreamingMessageProps<StreamChatGenerics>) => {
13
+ export declare const useStreamingMessage: ({ letterInterval, renderingLetterCount, text, }: UseStreamingMessageProps) => {
15
14
  streamedMessageText: string;
16
15
  };
17
16
  //# sourceMappingURL=useStreamingMessage.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useStreamingMessage.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/hooks/useStreamingMessage.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,sBAAsB,CAAC;AACtE,OAAO,EAAE,yBAAyB,EAAE,MAAM,uCAAuC,CAAC;AAElF,MAAM,MAAM,wBAAwB,CAClC,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,IAC9E,IAAI,CACN,yBAAyB,CAAC,kBAAkB,CAAC,EAC7C,gBAAgB,GAAG,sBAAsB,CAC1C,GAAG;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,CAAC;AAKrB;;;;;;;GAOG;AACH,eAAO,MAAM,mBAAmB,GAC9B,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,EAChF,iDAIC,wBAAwB,CAAC,kBAAkB,CAAC,KAAG;IAAE,mBAAmB,EAAE,MAAM,CAAA;CAwB9E,CAAC"}
1
+ {"version":3,"file":"useStreamingMessage.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/hooks/useStreamingMessage.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,yBAAyB,EAAE,MAAM,uCAAuC,CAAC;AAElF,MAAM,MAAM,wBAAwB,GAAG,IAAI,CACzC,yBAAyB,EACzB,gBAAgB,GAAG,sBAAsB,CAC1C,GAAG;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,CAAC;AAKrB;;;;;;;GAOG;AACH,eAAO,MAAM,mBAAmB,GAAI,iDAIjC,wBAAwB,KAAG;IAAE,mBAAmB,EAAE,MAAM,CAAA;CAwB1D,CAAC"}
@@ -1,8 +1,7 @@
1
1
  import type { MessageContextValue } from '../../../contexts/messageContext/MessageContext';
2
2
  import type { OwnCapabilitiesContextValue } from '../../../contexts/ownCapabilitiesContext/OwnCapabilitiesContext';
3
- import type { DefaultStreamChatGenerics } from '../../../types/types';
4
3
  import type { MessageActionType } from '../../MessageMenu/MessageActionListItem';
5
- export type MessageActionsParams<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = {
4
+ export type MessageActionsParams = {
6
5
  banUser: MessageActionType;
7
6
  copyMessage: MessageActionType;
8
7
  deleteMessage: MessageActionType;
@@ -23,7 +22,7 @@ export type MessageActionsParams<StreamChatGenerics extends DefaultStreamChatGen
23
22
  showMessageReactions: boolean;
24
23
  threadReply: MessageActionType;
25
24
  unpinMessage: MessageActionType;
26
- } & Pick<MessageContextValue<StreamChatGenerics>, 'message' | 'isMyMessage'>;
27
- export type MessageActionsProp<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = (param: MessageActionsParams<StreamChatGenerics>) => MessageActionType[];
28
- export declare const messageActions: <StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>({ banUser, copyMessage, deleteMessage, editMessage, error, flagMessage, isMyMessage, isThreadMessage, markUnread, message, ownCapabilities, pinMessage, quotedReply, retry, showMessageReactions, threadReply, unpinMessage, }: MessageActionsParams<StreamChatGenerics>) => MessageActionType[];
25
+ } & Pick<MessageContextValue, 'message' | 'isMyMessage'>;
26
+ export type MessageActionsProp = (param: MessageActionsParams) => MessageActionType[];
27
+ export declare const messageActions: ({ banUser, copyMessage, deleteMessage, editMessage, error, flagMessage, isMyMessage, isThreadMessage, markUnread, message, ownCapabilities, pinMessage, quotedReply, retry, showMessageReactions, threadReply, unpinMessage, }: MessageActionsParams) => MessageActionType[];
29
28
  //# sourceMappingURL=messageActions.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"messageActions.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/utils/messageActions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iDAAiD,CAAC;AAC3F,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,iEAAiE,CAAC;AAEnH,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,sBAAsB,CAAC;AACtE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,yCAAyC,CAAC;AAEjF,MAAM,MAAM,oBAAoB,CAC9B,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,IAC9E;IACF,OAAO,EAAE,iBAAiB,CAAC;IAC3B,WAAW,EAAE,iBAAiB,CAAC;IAC/B,aAAa,EAAE,iBAAiB,CAAC;IACjC,cAAc,EAAE,MAAM,IAAI,CAAC;IAC3B,WAAW,EAAE,iBAAiB,CAAC;IAC/B,KAAK,EAAE,OAAO,GAAG,KAAK,CAAC;IACvB,WAAW,EAAE,iBAAiB,CAAC;IAC/B,eAAe,EAAE,OAAO,CAAC;IACzB,UAAU,EAAE,iBAAiB,CAAC;IAC9B,QAAQ,EAAE,iBAAiB,CAAC;IAC5B,eAAe,EAAE,2BAA2B,CAAC;IAC7C,UAAU,EAAE,iBAAiB,CAAC;IAC9B,WAAW,EAAE,iBAAiB,CAAC;IAC/B,KAAK,EAAE,iBAAiB,CAAC;IACzB;;OAEG;IACH,oBAAoB,EAAE,OAAO,CAAC;IAC9B,WAAW,EAAE,iBAAiB,CAAC;IAC/B,YAAY,EAAE,iBAAiB,CAAC;CACjC,GAAG,IAAI,CAAC,mBAAmB,CAAC,kBAAkB,CAAC,EAAE,SAAS,GAAG,aAAa,CAAC,CAAC;AAE7E,MAAM,MAAM,kBAAkB,CAC5B,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,IAC9E,CAAC,KAAK,EAAE,oBAAoB,CAAC,kBAAkB,CAAC,KAAK,iBAAiB,EAAE,CAAC;AAE7E,eAAO,MAAM,cAAc,GACzB,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,EAChF,gOAkBC,oBAAoB,CAAC,kBAAkB,CAAC,wBA0D1C,CAAC"}
1
+ {"version":3,"file":"messageActions.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/utils/messageActions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iDAAiD,CAAC;AAC3F,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,iEAAiE,CAAC;AAGnH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,yCAAyC,CAAC;AAEjF,MAAM,MAAM,oBAAoB,GAAG;IACjC,OAAO,EAAE,iBAAiB,CAAC;IAC3B,WAAW,EAAE,iBAAiB,CAAC;IAC/B,aAAa,EAAE,iBAAiB,CAAC;IACjC,cAAc,EAAE,MAAM,IAAI,CAAC;IAC3B,WAAW,EAAE,iBAAiB,CAAC;IAC/B,KAAK,EAAE,OAAO,GAAG,KAAK,CAAC;IACvB,WAAW,EAAE,iBAAiB,CAAC;IAC/B,eAAe,EAAE,OAAO,CAAC;IACzB,UAAU,EAAE,iBAAiB,CAAC;IAC9B,QAAQ,EAAE,iBAAiB,CAAC;IAC5B,eAAe,EAAE,2BAA2B,CAAC;IAC7C,UAAU,EAAE,iBAAiB,CAAC;IAC9B,WAAW,EAAE,iBAAiB,CAAC;IAC/B,KAAK,EAAE,iBAAiB,CAAC;IACzB;;OAEG;IACH,oBAAoB,EAAE,OAAO,CAAC;IAC9B,WAAW,EAAE,iBAAiB,CAAC;IAC/B,YAAY,EAAE,iBAAiB,CAAC;CACjC,GAAG,IAAI,CAAC,mBAAmB,EAAE,SAAS,GAAG,aAAa,CAAC,CAAC;AAEzD,MAAM,MAAM,kBAAkB,GAAG,CAAC,KAAK,EAAE,oBAAoB,KAAK,iBAAiB,EAAE,CAAC;AAEtF,eAAO,MAAM,cAAc,GAAI,gOAkB5B,oBAAoB,wBA0DtB,CAAC"}
@@ -1,8 +1,7 @@
1
1
  import React from 'react';
2
2
  import type { GestureResponderEvent } from 'react-native';
3
3
  import { ChannelContextValue } from '../../contexts/channelContext/ChannelContext';
4
- import type { DefaultStreamChatGenerics } from '../../types/types';
5
- type AttachButtonPropsWithContext<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Pick<ChannelContextValue<StreamChatGenerics>, 'disabled'> & {
4
+ type AttachButtonPropsWithContext = Pick<ChannelContextValue, 'disabled'> & {
6
5
  /** Function that opens attachment options bottom sheet */
7
6
  handleOnPress?: ((event: GestureResponderEvent) => void) & (() => void);
8
7
  selectedPicker?: 'images';
@@ -1 +1 @@
1
- {"version":3,"file":"AttachButton.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageInput/AttachButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AACxC,OAAO,KAAK,EAAE,qBAAqB,EAAsC,MAAM,cAAc,CAAC;AAM9F,OAAO,EAAE,mBAAmB,EAAE,MAAM,8CAA8C,CAAC;AAMnF,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAC;AAEnE,KAAK,4BAA4B,CAC/B,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,IAC9E,IAAI,CAAC,mBAAmB,CAAC,kBAAkB,CAAC,EAAE,UAAU,CAAC,GAAG;IAC9D,0DAA0D;IAC1D,aAAa,CAAC,EAAE,CAAC,CAAC,KAAK,EAAE,qBAAqB,KAAK,IAAI,CAAC,GAAG,CAAC,MAAM,IAAI,CAAC,CAAC;IACxE,cAAc,CAAC,EAAE,QAAQ,CAAC;CAC3B,CAAC;AAoGF,MAAM,MAAM,iBAAiB,GAAG,OAAO,CAAC,4BAA4B,CAAC,CAAC;AAEtE;;GAEG;AACH,eAAO,MAAM,YAAY;YAAW,iBAAiB;;CAIpD,CAAC"}
1
+ {"version":3,"file":"AttachButton.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageInput/AttachButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AACxC,OAAO,KAAK,EAAE,qBAAqB,EAAsC,MAAM,cAAc,CAAC;AAM9F,OAAO,EAAE,mBAAmB,EAAE,MAAM,8CAA8C,CAAC;AAOnF,KAAK,4BAA4B,GAAG,IAAI,CAAC,mBAAmB,EAAE,UAAU,CAAC,GAAG;IAC1E,0DAA0D;IAC1D,aAAa,CAAC,EAAE,CAAC,CAAC,KAAK,EAAE,qBAAqB,KAAK,IAAI,CAAC,GAAG,CAAC,MAAM,IAAI,CAAC,CAAC;IACxE,cAAc,CAAC,EAAE,QAAQ,CAAC;CAC3B,CAAC;AAgGF,MAAM,MAAM,iBAAiB,GAAG,OAAO,CAAC,4BAA4B,CAAC,CAAC;AAEtE;;GAEG;AACH,eAAO,MAAM,YAAY;YAAW,iBAAiB;;CAIpD,CAAC"}
@@ -1,17 +1,16 @@
1
1
  import React from 'react';
2
2
  import type { GestureResponderEvent } from 'react-native';
3
3
  import { SuggestionsContextValue } from '../../contexts/suggestionsContext/SuggestionsContext';
4
- import type { DefaultStreamChatGenerics } from '../../types/types';
5
- type CommandsButtonPropsWithContext<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Pick<SuggestionsContextValue<StreamChatGenerics>, 'suggestions'> & {
4
+ type CommandsButtonPropsWithContext = Pick<SuggestionsContextValue, 'suggestions'> & {
6
5
  /** Function that opens commands selector */
7
6
  handleOnPress?: ((event: GestureResponderEvent) => void) & (() => void);
8
7
  };
9
- export type CommandsButtonProps<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Partial<CommandsButtonPropsWithContext<StreamChatGenerics>>;
8
+ export type CommandsButtonProps = Partial<CommandsButtonPropsWithContext>;
10
9
  /**
11
10
  * UI Component for attach button in MessageInput component.
12
11
  */
13
12
  export declare const CommandsButton: {
14
- <StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>(props: CommandsButtonProps<StreamChatGenerics>): React.JSX.Element;
13
+ (props: CommandsButtonProps): React.JSX.Element;
15
14
  displayName: string;
16
15
  };
17
16
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"CommandsButton.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageInput/CommandsButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,cAAc,CAAC;AAG1D,OAAO,EAEL,uBAAuB,EAExB,MAAM,sDAAsD,CAAC;AAI9D,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAC;AAEnE,KAAK,8BAA8B,CACjC,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,IAC9E,IAAI,CAAC,uBAAuB,CAAC,kBAAkB,CAAC,EAAE,aAAa,CAAC,GAAG;IACrE,4CAA4C;IAC5C,aAAa,CAAC,EAAE,CAAC,CAAC,KAAK,EAAE,qBAAqB,KAAK,IAAI,CAAC,GAAG,CAAC,MAAM,IAAI,CAAC,CAAC;CACzE,CAAC;AAkDF,MAAM,MAAM,mBAAmB,CAC7B,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,IAC9E,OAAO,CAAC,8BAA8B,CAAC,kBAAkB,CAAC,CAAC,CAAC;AAEhE;;GAEG;AACH,eAAO,MAAM,cAAc;KACzB,kBAAkB,SAAS,yBAAyB,qCAE7C,mBAAmB,CAAC,kBAAkB,CAAC;;CAK/C,CAAC"}
1
+ {"version":3,"file":"CommandsButton.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageInput/CommandsButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,cAAc,CAAC;AAG1D,OAAO,EAEL,uBAAuB,EAExB,MAAM,sDAAsD,CAAC;AAI9D,KAAK,8BAA8B,GAAG,IAAI,CAAC,uBAAuB,EAAE,aAAa,CAAC,GAAG;IACnF,4CAA4C;IAC5C,aAAa,CAAC,EAAE,CAAC,CAAC,KAAK,EAAE,qBAAqB,KAAK,IAAI,CAAC,GAAG,CAAC,MAAM,IAAI,CAAC,CAAC;CACzE,CAAC;AA8CF,MAAM,MAAM,mBAAmB,GAAG,OAAO,CAAC,8BAA8B,CAAC,CAAC;AAE1E;;GAEG;AACH,eAAO,MAAM,cAAc;YAAW,mBAAmB;;CAIxD,CAAC"}
@@ -2,16 +2,13 @@ import React from 'react';
2
2
  import { ChatContextValue } from '../../contexts';
3
3
  import { MessageInputContextValue } from '../../contexts/messageInputContext/MessageInputContext';
4
4
  import { MessagesContextValue } from '../../contexts/messagesContext/MessagesContext';
5
- import type { DefaultStreamChatGenerics } from '../../types/types';
6
- type FileUploadPreviewPropsWithContext<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Pick<MessageInputContextValue<StreamChatGenerics>, 'fileUploads' | 'removeFile' | 'uploadFile' | 'setFileUploads' | 'AudioAttachmentUploadPreview'> & Pick<MessagesContextValue<StreamChatGenerics>, 'FileAttachmentIcon'> & Pick<ChatContextValue<StreamChatGenerics>, 'enableOfflineSupport'>;
7
- export type FileUploadPreviewProps<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Partial<FileUploadPreviewPropsWithContext<StreamChatGenerics>>;
5
+ export type FileUploadPreviewProps = Partial<Pick<MessageInputContextValue, 'fileUploads' | 'removeFile' | 'uploadFile' | 'setFileUploads' | 'AudioAttachmentUploadPreview'>> & Partial<Pick<MessagesContextValue, 'FileAttachmentIcon'>> & Partial<Pick<ChatContextValue, 'enableOfflineSupport'>>;
8
6
  /**
9
7
  * FileUploadPreview
10
8
  * UI Component to preview the files set for upload
11
9
  */
12
10
  export declare const FileUploadPreview: {
13
- <StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>(props: FileUploadPreviewProps<StreamChatGenerics>): React.JSX.Element;
11
+ (props: FileUploadPreviewProps): React.JSX.Element | null;
14
12
  displayName: string;
15
13
  };
16
- export {};
17
14
  //# sourceMappingURL=FileUploadPreview.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"FileUploadPreview.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageInput/FileUploadPreview.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAK3D,OAAO,EAAE,gBAAgB,EAAkB,MAAM,gBAAgB,CAAC;AAClE,OAAO,EACL,wBAAwB,EAEzB,MAAM,wDAAwD,CAAC;AAChE,OAAO,EACL,oBAAoB,EAErB,MAAM,gDAAgD,CAAC;AAMxD,OAAO,KAAK,EAAE,yBAAyB,EAAc,MAAM,mBAAmB,CAAC;AA0G/E,KAAK,iCAAiC,CACpC,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,IAC9E,IAAI,CACN,wBAAwB,CAAC,kBAAkB,CAAC,EAC5C,aAAa,GAAG,YAAY,GAAG,YAAY,GAAG,gBAAgB,GAAG,8BAA8B,CAChG,GACC,IAAI,CAAC,oBAAoB,CAAC,kBAAkB,CAAC,EAAE,oBAAoB,CAAC,GACpE,IAAI,CAAC,gBAAgB,CAAC,kBAAkB,CAAC,EAAE,sBAAsB,CAAC,CAAC;AAyNrE,MAAM,MAAM,sBAAsB,CAChC,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,IAC9E,OAAO,CAAC,iCAAiC,CAAC,kBAAkB,CAAC,CAAC,CAAC;AAEnE;;;GAGG;AACH,eAAO,MAAM,iBAAiB;KAC5B,kBAAkB,SAAS,yBAAyB,qCAE7C,sBAAsB,CAAC,kBAAkB,CAAC;;CAqBlD,CAAC"}
1
+ {"version":3,"file":"FileUploadPreview.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageInput/FileUploadPreview.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAK3D,OAAO,EAAE,gBAAgB,EAAkB,MAAM,gBAAgB,CAAC;AAClE,OAAO,EACL,wBAAwB,EAEzB,MAAM,wDAAwD,CAAC;AAChE,OAAO,EACL,oBAAoB,EAErB,MAAM,gDAAgD,CAAC;AAgHxD,MAAM,MAAM,sBAAsB,GAAG,OAAO,CAC1C,IAAI,CACF,wBAAwB,EACxB,aAAa,GAAG,YAAY,GAAG,YAAY,GAAG,gBAAgB,GAAG,8BAA8B,CAChG,CACF,GACC,OAAO,CAAC,IAAI,CAAC,oBAAoB,EAAE,oBAAoB,CAAC,CAAC,GACzD,OAAO,CAAC,IAAI,CAAC,gBAAgB,EAAE,sBAAsB,CAAC,CAAC,CAAC;AAE1D;;;GAGG;AACH,eAAO,MAAM,iBAAiB;YAAW,sBAAsB;;CA0M9D,CAAC"}
@@ -1,10 +1,9 @@
1
1
  import React from 'react';
2
2
  import { ChatContextValue } from '../../contexts';
3
3
  import { MessageInputContextValue } from '../../contexts/messageInputContext/MessageInputContext';
4
- import type { DefaultStreamChatGenerics } from '../../types/types';
5
4
  import { ProgressIndicatorTypes } from '../../utils/utils';
6
- type ImageUploadPreviewPropsWithContext<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Pick<MessageInputContextValue<StreamChatGenerics>, 'imageUploads' | 'removeImage' | 'uploadImage'> & Pick<ChatContextValue<StreamChatGenerics>, 'enableOfflineSupport'>;
7
- export type ImageUploadPreviewProps<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Partial<ImageUploadPreviewPropsWithContext<StreamChatGenerics>>;
5
+ type ImageUploadPreviewPropsWithContext = Pick<MessageInputContextValue, 'imageUploads' | 'removeImage' | 'uploadImage'> & Pick<ChatContextValue, 'enableOfflineSupport'>;
6
+ export type ImageUploadPreviewProps = Partial<ImageUploadPreviewPropsWithContext>;
8
7
  export declare const UnsupportedImageTypeIndicator: ({ indicatorType, }: {
9
8
  indicatorType: (typeof ProgressIndicatorTypes)[keyof typeof ProgressIndicatorTypes] | null;
10
9
  }) => React.JSX.Element | null;
@@ -12,7 +11,7 @@ export declare const UnsupportedImageTypeIndicator: ({ indicatorType, }: {
12
11
  * UI Component to preview the images set for upload
13
12
  */
14
13
  export declare const ImageUploadPreview: {
15
- <StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>(props: ImageUploadPreviewProps<StreamChatGenerics>): React.JSX.Element;
14
+ (props: ImageUploadPreviewProps): React.JSX.Element;
16
15
  displayName: string;
17
16
  };
18
17
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"ImageUploadPreview.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageInput/ImageUploadPreview.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAa1B,OAAO,EAAE,gBAAgB,EAAkB,MAAM,gBAAgB,CAAC;AAClE,OAAO,EACL,wBAAwB,EAEzB,MAAM,wDAAwD,CAAC;AAKhE,OAAO,KAAK,EAAE,yBAAyB,EAAe,MAAM,mBAAmB,CAAC;AAChF,OAAO,EAAgC,sBAAsB,EAAE,MAAM,mBAAmB,CAAC;AAoDzF,KAAK,kCAAkC,CACrC,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,IAC9E,IAAI,CACN,wBAAwB,CAAC,kBAAkB,CAAC,EAC5C,cAAc,GAAG,aAAa,GAAG,aAAa,CAC/C,GACC,IAAI,CAAC,gBAAgB,CAAC,kBAAkB,CAAC,EAAE,sBAAsB,CAAC,CAAC;AAErE,MAAM,MAAM,uBAAuB,CACjC,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,IAC9E,OAAO,CAAC,kCAAkC,CAAC,kBAAkB,CAAC,CAAC,CAAC;AAIpE,eAAO,MAAM,6BAA6B,GAAI,oBAE3C;IACD,aAAa,EAAE,CAAC,OAAO,sBAAsB,EAAE,MAAM,OAAO,sBAAsB,CAAC,GAAG,IAAI,CAAC;CAC5F,6BAqBA,CAAC;AAyGF;;GAEG;AACH,eAAO,MAAM,kBAAkB;KAC7B,kBAAkB,SAAS,yBAAyB,qCAE7C,uBAAuB,CAAC,kBAAkB,CAAC;;CAYnD,CAAC"}
1
+ {"version":3,"file":"ImageUploadPreview.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageInput/ImageUploadPreview.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAa1B,OAAO,EAAE,gBAAgB,EAAkB,MAAM,gBAAgB,CAAC;AAClE,OAAO,EACL,wBAAwB,EAEzB,MAAM,wDAAwD,CAAC;AAMhE,OAAO,EAAgC,sBAAsB,EAAE,MAAM,mBAAmB,CAAC;AAoDzF,KAAK,kCAAkC,GAAG,IAAI,CAC5C,wBAAwB,EACxB,cAAc,GAAG,aAAa,GAAG,aAAa,CAC/C,GACC,IAAI,CAAC,gBAAgB,EAAE,sBAAsB,CAAC,CAAC;AAEjD,MAAM,MAAM,uBAAuB,GAAG,OAAO,CAAC,kCAAkC,CAAC,CAAC;AAIlF,eAAO,MAAM,6BAA6B,GAAI,oBAE3C;IACD,aAAa,EAAE,CAAC,OAAO,sBAAsB,EAAE,MAAM,OAAO,sBAAsB,CAAC,GAAG,IAAI,CAAC;CAC5F,6BAqBA,CAAC;AAqGF;;GAEG;AACH,eAAO,MAAM,kBAAkB;YAAW,uBAAuB;;CAWhE,CAAC"}
@@ -1,8 +1,7 @@
1
1
  import React from 'react';
2
2
  import { MessageInputContextValue } from '../../contexts/messageInputContext/MessageInputContext';
3
- import type { DefaultStreamChatGenerics } from '../../types/types';
4
- export type InputButtonsProps<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Partial<InputButtonsWithContextProps<StreamChatGenerics>>;
5
- export type InputButtonsWithContextProps<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Pick<MessageInputContextValue<StreamChatGenerics>, 'AttachButton' | 'CommandsButton' | 'giphyActive' | 'hasCameraPicker' | 'hasCommands' | 'hasFilePicker' | 'hasImagePicker' | 'hasText' | 'MoreOptionsButton' | 'openCommandsPicker' | 'selectedPicker' | 'setShowMoreOptions' | 'showMoreOptions' | 'toggleAttachmentPicker'>;
6
- export declare const InputButtonsWithContext: <StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>(props: InputButtonsWithContextProps<StreamChatGenerics>) => React.JSX.Element | null;
7
- export declare const InputButtons: <StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>(props: InputButtonsProps<StreamChatGenerics>) => React.JSX.Element;
3
+ export type InputButtonsProps = Partial<InputButtonsWithContextProps>;
4
+ export type InputButtonsWithContextProps = Pick<MessageInputContextValue, 'AttachButton' | 'CommandsButton' | 'giphyActive' | 'hasCameraPicker' | 'hasCommands' | 'hasFilePicker' | 'hasImagePicker' | 'hasText' | 'MoreOptionsButton' | 'openCommandsPicker' | 'selectedPicker' | 'setShowMoreOptions' | 'showMoreOptions' | 'toggleAttachmentPicker'>;
5
+ export declare const InputButtonsWithContext: (props: InputButtonsWithContextProps) => React.JSX.Element | null;
6
+ export declare const InputButtons: (props: InputButtonsProps) => React.JSX.Element;
8
7
  //# sourceMappingURL=InputButtons.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"InputButtons.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageInput/InputButtons.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsB,MAAM,OAAO,CAAC;AAG3C,OAAO,EACL,wBAAwB,EAEzB,MAAM,wDAAwD,CAAC;AAIhE,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAC;AAMnE,MAAM,MAAM,iBAAiB,CAC3B,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,IAC9E,OAAO,CAAC,4BAA4B,CAAC,kBAAkB,CAAC,CAAC,CAAC;AAE9D,MAAM,MAAM,4BAA4B,CACtC,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,IAC9E,IAAI,CACN,wBAAwB,CAAC,kBAAkB,CAAC,EAC1C,cAAc,GACd,gBAAgB,GAChB,aAAa,GACb,iBAAiB,GACjB,aAAa,GACb,eAAe,GACf,gBAAgB,GAChB,SAAS,GACT,mBAAmB,GACnB,oBAAoB,GACpB,gBAAgB,GAChB,oBAAoB,GACpB,iBAAiB,GACjB,wBAAwB,CAC3B,CAAC;AAEF,eAAO,MAAM,uBAAuB,GAClC,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,EAEhF,OAAO,4BAA4B,CAAC,kBAAkB,CAAC,6BAmDxD,CAAC;AAoEF,eAAO,MAAM,YAAY,GACvB,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,EAEhF,OAAO,iBAAiB,CAAC,kBAAkB,CAAC,sBAwC7C,CAAC"}
1
+ {"version":3,"file":"InputButtons.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageInput/InputButtons.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsB,MAAM,OAAO,CAAC;AAG3C,OAAO,EACL,wBAAwB,EAEzB,MAAM,wDAAwD,CAAC;AAQhE,MAAM,MAAM,iBAAiB,GAAG,OAAO,CAAC,4BAA4B,CAAC,CAAC;AAEtE,MAAM,MAAM,4BAA4B,GAAG,IAAI,CAC7C,wBAAwB,EACtB,cAAc,GACd,gBAAgB,GAChB,aAAa,GACb,iBAAiB,GACjB,aAAa,GACb,eAAe,GACf,gBAAgB,GAChB,SAAS,GACT,mBAAmB,GACnB,oBAAoB,GACpB,gBAAgB,GAChB,oBAAoB,GACpB,iBAAiB,GACjB,wBAAwB,CAC3B,CAAC;AAEF,eAAO,MAAM,uBAAuB,GAAI,OAAO,4BAA4B,6BAkD1E,CAAC;AAoEF,eAAO,MAAM,YAAY,GAAI,OAAO,iBAAiB,sBAuCpD,CAAC"}
@@ -7,9 +7,8 @@ import { MessagesContextValue } from '../../contexts/messagesContext/MessagesCon
7
7
  import { SuggestionsContextValue } from '../../contexts/suggestionsContext/SuggestionsContext';
8
8
  import { ThreadContextValue } from '../../contexts/threadContext/ThreadContext';
9
9
  import { TranslationContextValue } from '../../contexts/translationContext/TranslationContext';
10
- import type { DefaultStreamChatGenerics } from '../../types/types';
11
- type MessageInputPropsWithContext<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Pick<AttachmentPickerContextValue, 'AttachmentPickerSelectionBar'> & Pick<ChatContextValue<StreamChatGenerics>, 'isOnline'> & Pick<ChannelContextValue<StreamChatGenerics>, 'channel' | 'members' | 'threadList' | 'watchers'> & Pick<MessageInputContextValue<StreamChatGenerics>, 'additionalTextInputProps' | 'asyncIds' | 'audioRecordingEnabled' | 'asyncMessagesLockDistance' | 'asyncMessagesMinimumPressDuration' | 'asyncMessagesSlideToCancelDistance' | 'asyncMessagesMultiSendEnabled' | 'asyncUploads' | 'AudioRecorder' | 'AudioRecordingInProgress' | 'AudioRecordingLockIndicator' | 'AudioRecordingPreview' | 'cooldownEndsAt' | 'CooldownTimer' | 'clearEditingState' | 'clearQuotedMessageState' | 'closeAttachmentPicker' | 'editing' | 'FileUploadPreview' | 'fileUploads' | 'giphyActive' | 'ImageUploadPreview' | 'imageUploads' | 'Input' | 'inputBoxRef' | 'InputButtons' | 'InputEditingStateHeader' | 'InputGiphySearch' | 'InputReplyStateHeader' | 'isValidMessage' | 'maxNumberOfFiles' | 'mentionedUsers' | 'numberOfUploads' | 'quotedMessage' | 'resetInput' | 'SendButton' | 'sending' | 'sendMessageAsync' | 'setShowMoreOptions' | 'setGiphyActive' | 'showMoreOptions' | 'ShowThreadMessageInChannelButton' | 'StartAudioRecordingButton' | 'removeFile' | 'removeImage' | 'text' | 'uploadNewFile' | 'uploadNewImage' | 'openPollCreationDialog' | 'closePollCreationDialog' | 'showPollCreationDialog' | 'sendMessage' | 'CreatePollContent' | 'StopMessageStreamingButton'> & Pick<MessagesContextValue<StreamChatGenerics>, 'Reply'> & Pick<SuggestionsContextValue<StreamChatGenerics>, 'AutoCompleteSuggestionHeader' | 'AutoCompleteSuggestionItem' | 'AutoCompleteSuggestionList' | 'suggestions' | 'triggerType'> & Pick<ThreadContextValue<StreamChatGenerics>, 'thread'> & Pick<TranslationContextValue, 't'>;
12
- export type MessageInputProps<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Partial<MessageInputPropsWithContext<StreamChatGenerics>>;
10
+ type MessageInputPropsWithContext = Pick<AttachmentPickerContextValue, 'AttachmentPickerSelectionBar'> & Pick<ChatContextValue, 'isOnline'> & Pick<ChannelContextValue, 'channel' | 'members' | 'threadList' | 'watchers'> & Pick<MessageInputContextValue, 'additionalTextInputProps' | 'asyncIds' | 'audioRecordingEnabled' | 'asyncMessagesLockDistance' | 'asyncMessagesMinimumPressDuration' | 'asyncMessagesSlideToCancelDistance' | 'asyncMessagesMultiSendEnabled' | 'asyncUploads' | 'AudioRecorder' | 'AudioRecordingInProgress' | 'AudioRecordingLockIndicator' | 'AudioRecordingPreview' | 'cooldownEndsAt' | 'CooldownTimer' | 'clearEditingState' | 'clearQuotedMessageState' | 'closeAttachmentPicker' | 'compressImageQuality' | 'editing' | 'FileUploadPreview' | 'fileUploads' | 'giphyActive' | 'ImageUploadPreview' | 'imageUploads' | 'Input' | 'inputBoxRef' | 'InputButtons' | 'InputEditingStateHeader' | 'InputGiphySearch' | 'InputReplyStateHeader' | 'isValidMessage' | 'maxNumberOfFiles' | 'mentionedUsers' | 'numberOfUploads' | 'quotedMessage' | 'resetInput' | 'SendButton' | 'sending' | 'sendMessageAsync' | 'setShowMoreOptions' | 'setGiphyActive' | 'showMoreOptions' | 'ShowThreadMessageInChannelButton' | 'StartAudioRecordingButton' | 'removeFile' | 'removeImage' | 'text' | 'uploadNewFile' | 'uploadNewImage' | 'openPollCreationDialog' | 'closePollCreationDialog' | 'showPollCreationDialog' | 'sendMessage' | 'CreatePollContent' | 'StopMessageStreamingButton'> & Pick<MessagesContextValue, 'Reply'> & Pick<SuggestionsContextValue, 'AutoCompleteSuggestionHeader' | 'AutoCompleteSuggestionItem' | 'AutoCompleteSuggestionList' | 'suggestions' | 'triggerType'> & Pick<ThreadContextValue, 'thread'> & Pick<TranslationContextValue, 't'>;
11
+ export type MessageInputProps = Partial<MessageInputPropsWithContext>;
13
12
  /**
14
13
  * UI Component for message input
15
14
  * It's a consumer of
@@ -20,7 +19,7 @@ export type MessageInputProps<StreamChatGenerics extends DefaultStreamChatGeneri
20
19
  * [Translation Context](https://getstream.io/chat/docs/sdk/reactnative/contexts/translation-context/)
21
20
  */
22
21
  export declare const MessageInput: {
23
- <StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>(props: MessageInputProps<StreamChatGenerics>): React.JSX.Element;
22
+ (props: MessageInputProps): React.JSX.Element;
24
23
  displayName: string;
25
24
  };
26
25
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"MessageInput.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageInput/MessageInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoD,MAAM,OAAO,CAAC;AA8BzE,OAAO,EAAE,gBAAgB,EAA6C,MAAM,gBAAgB,CAAC;AAC7F,OAAO,EACL,4BAA4B,EAE7B,MAAM,gEAAgE,CAAC;AACxE,OAAO,EACL,mBAAmB,EAEpB,MAAM,8CAA8C,CAAC;AACtD,OAAO,EACL,wBAAwB,EAEzB,MAAM,wDAAwD,CAAC;AAChE,OAAO,EACL,oBAAoB,EAErB,MAAM,gDAAgD,CAAC;AACxD,OAAO,EACL,uBAAuB,EAExB,MAAM,sDAAsD,CAAC;AAE9D,OAAO,EAAE,kBAAkB,EAAoB,MAAM,4CAA4C,CAAC;AAClG,OAAO,EACL,uBAAuB,EAExB,MAAM,sDAAsD,CAAC;AAO9D,OAAO,KAAK,EAAS,yBAAyB,EAAE,MAAM,mBAAmB,CAAC;AA2C1E,KAAK,4BAA4B,CAC/B,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,IAC9E,IAAI,CAAC,4BAA4B,EAAE,8BAA8B,CAAC,GACpE,IAAI,CAAC,gBAAgB,CAAC,kBAAkB,CAAC,EAAE,UAAU,CAAC,GACtD,IAAI,CAAC,mBAAmB,CAAC,kBAAkB,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,YAAY,GAAG,UAAU,CAAC,GAChG,IAAI,CACF,wBAAwB,CAAC,kBAAkB,CAAC,EAC1C,0BAA0B,GAC1B,UAAU,GACV,uBAAuB,GACvB,2BAA2B,GAC3B,mCAAmC,GACnC,oCAAoC,GACpC,+BAA+B,GAC/B,cAAc,GACd,eAAe,GACf,0BAA0B,GAC1B,6BAA6B,GAC7B,uBAAuB,GACvB,gBAAgB,GAChB,eAAe,GACf,mBAAmB,GACnB,yBAAyB,GACzB,uBAAuB,GACvB,SAAS,GACT,mBAAmB,GACnB,aAAa,GACb,aAAa,GACb,oBAAoB,GACpB,cAAc,GACd,OAAO,GACP,aAAa,GACb,cAAc,GACd,yBAAyB,GACzB,kBAAkB,GAClB,uBAAuB,GACvB,gBAAgB,GAChB,kBAAkB,GAClB,gBAAgB,GAChB,iBAAiB,GACjB,eAAe,GACf,YAAY,GACZ,YAAY,GACZ,SAAS,GACT,kBAAkB,GAClB,oBAAoB,GACpB,gBAAgB,GAChB,iBAAiB,GACjB,kCAAkC,GAClC,2BAA2B,GAC3B,YAAY,GACZ,aAAa,GACb,MAAM,GACN,eAAe,GACf,gBAAgB,GAChB,wBAAwB,GACxB,yBAAyB,GACzB,wBAAwB,GACxB,aAAa,GACb,mBAAmB,GACnB,4BAA4B,CAC/B,GACD,IAAI,CAAC,oBAAoB,CAAC,kBAAkB,CAAC,EAAE,OAAO,CAAC,GACvD,IAAI,CACF,uBAAuB,CAAC,kBAAkB,CAAC,EACzC,8BAA8B,GAC9B,4BAA4B,GAC5B,4BAA4B,GAC5B,aAAa,GACb,aAAa,CAChB,GACD,IAAI,CAAC,kBAAkB,CAAC,kBAAkB,CAAC,EAAE,QAAQ,CAAC,GACtD,IAAI,CAAC,uBAAuB,EAAE,GAAG,CAAC,CAAC;AAw8BrC,MAAM,MAAM,iBAAiB,CAC3B,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,IAC9E,OAAO,CAAC,4BAA4B,CAAC,kBAAkB,CAAC,CAAC,CAAC;AAE9D;;;;;;;;GAQG;AACH,eAAO,MAAM,YAAY;KACvB,kBAAkB,SAAS,yBAAyB,qCAE7C,iBAAiB,CAAC,kBAAkB,CAAC;;CAsK7C,CAAC"}
1
+ {"version":3,"file":"MessageInput.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageInput/MessageInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoD,MAAM,OAAO,CAAC;AA8BzE,OAAO,EAAE,gBAAgB,EAA6C,MAAM,gBAAgB,CAAC;AAC7F,OAAO,EACL,4BAA4B,EAE7B,MAAM,gEAAgE,CAAC;AACxE,OAAO,EACL,mBAAmB,EAEpB,MAAM,8CAA8C,CAAC;AACtD,OAAO,EACL,wBAAwB,EAEzB,MAAM,wDAAwD,CAAC;AAChE,OAAO,EACL,oBAAoB,EAErB,MAAM,gDAAgD,CAAC;AACxD,OAAO,EACL,uBAAuB,EAExB,MAAM,sDAAsD,CAAC;AAE9D,OAAO,EAAE,kBAAkB,EAAoB,MAAM,4CAA4C,CAAC;AAClG,OAAO,EACL,uBAAuB,EAExB,MAAM,sDAAsD,CAAC;AAkD9D,KAAK,4BAA4B,GAAG,IAAI,CACtC,4BAA4B,EAC5B,8BAA8B,CAC/B,GACC,IAAI,CAAC,gBAAgB,EAAE,UAAU,CAAC,GAClC,IAAI,CAAC,mBAAmB,EAAE,SAAS,GAAG,SAAS,GAAG,YAAY,GAAG,UAAU,CAAC,GAC5E,IAAI,CACF,wBAAwB,EACtB,0BAA0B,GAC1B,UAAU,GACV,uBAAuB,GACvB,2BAA2B,GAC3B,mCAAmC,GACnC,oCAAoC,GACpC,+BAA+B,GAC/B,cAAc,GACd,eAAe,GACf,0BAA0B,GAC1B,6BAA6B,GAC7B,uBAAuB,GACvB,gBAAgB,GAChB,eAAe,GACf,mBAAmB,GACnB,yBAAyB,GACzB,uBAAuB,GACvB,sBAAsB,GACtB,SAAS,GACT,mBAAmB,GACnB,aAAa,GACb,aAAa,GACb,oBAAoB,GACpB,cAAc,GACd,OAAO,GACP,aAAa,GACb,cAAc,GACd,yBAAyB,GACzB,kBAAkB,GAClB,uBAAuB,GACvB,gBAAgB,GAChB,kBAAkB,GAClB,gBAAgB,GAChB,iBAAiB,GACjB,eAAe,GACf,YAAY,GACZ,YAAY,GACZ,SAAS,GACT,kBAAkB,GAClB,oBAAoB,GACpB,gBAAgB,GAChB,iBAAiB,GACjB,kCAAkC,GAClC,2BAA2B,GAC3B,YAAY,GACZ,aAAa,GACb,MAAM,GACN,eAAe,GACf,gBAAgB,GAChB,wBAAwB,GACxB,yBAAyB,GACzB,wBAAwB,GACxB,aAAa,GACb,mBAAmB,GACnB,4BAA4B,CAC/B,GACD,IAAI,CAAC,oBAAoB,EAAE,OAAO,CAAC,GACnC,IAAI,CACF,uBAAuB,EACrB,8BAA8B,GAC9B,4BAA4B,GAC5B,4BAA4B,GAC5B,aAAa,GACb,aAAa,CAChB,GACD,IAAI,CAAC,kBAAkB,EAAE,QAAQ,CAAC,GAClC,IAAI,CAAC,uBAAuB,EAAE,GAAG,CAAC,CAAC;AAw7BrC,MAAM,MAAM,iBAAiB,GAAG,OAAO,CAAC,4BAA4B,CAAC,CAAC;AAEtE;;;;;;;;GAQG;AACH,eAAO,MAAM,YAAY;YAAW,iBAAiB;;CAuKpD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"MoreOptionsButton.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageInput/MoreOptionsButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,cAAc,CAAC;AAM1D,MAAM,MAAM,sBAAsB,GAAG;IACnC,0DAA0D;IAC1D,aAAa,CAAC,EAAE,CAAC,CAAC,KAAK,EAAE,qBAAqB,KAAK,IAAI,CAAC,GAAG,CAAC,MAAM,IAAI,CAAC,CAAC;CACzE,CAAC;AAEF,eAAO,MAAM,iBAAiB;YAAW,sBAAsB;;CAoB9D,CAAC"}
1
+ {"version":3,"file":"MoreOptionsButton.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageInput/MoreOptionsButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,cAAc,CAAC;AAK1D,MAAM,MAAM,sBAAsB,GAAG;IACnC,0DAA0D;IAC1D,aAAa,CAAC,EAAE,CAAC,CAAC,KAAK,EAAE,qBAAqB,KAAK,IAAI,CAAC,GAAG,CAAC,MAAM,IAAI,CAAC,CAAC;CACzE,CAAC;AAEF,eAAO,MAAM,iBAAiB;YAAW,sBAAsB;;CAoB9D,CAAC"}
@@ -1,15 +1,14 @@
1
1
  import React from 'react';
2
2
  import { MessageInputContextValue } from '../../contexts/messageInputContext/MessageInputContext';
3
- import type { DefaultStreamChatGenerics } from '../../types/types';
4
- type SendButtonPropsWithContext<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Pick<MessageInputContextValue<StreamChatGenerics>, 'giphyActive' | 'sendMessage'> & {
3
+ type SendButtonPropsWithContext = Pick<MessageInputContextValue, 'giphyActive' | 'sendMessage'> & {
5
4
  /** Disables the button */ disabled: boolean;
6
5
  };
7
- export type SendButtonProps<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Partial<SendButtonPropsWithContext<StreamChatGenerics>>;
6
+ export type SendButtonProps = Partial<SendButtonPropsWithContext>;
8
7
  /**
9
8
  * UI Component for send button in MessageInput component.
10
9
  */
11
10
  export declare const SendButton: {
12
- <StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>(props: SendButtonProps<StreamChatGenerics>): React.JSX.Element;
11
+ (props: SendButtonProps): React.JSX.Element;
13
12
  displayName: string;
14
13
  };
15
14
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"SendButton.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageInput/SendButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EACL,wBAAwB,EAEzB,MAAM,wDAAwD,CAAC;AAMhE,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAC;AAEnE,KAAK,0BAA0B,CAC7B,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,IAC9E,IAAI,CAAC,wBAAwB,CAAC,kBAAkB,CAAC,EAAE,aAAa,GAAG,aAAa,CAAC,GAAG;IACtF,0BAA0B,CAAC,QAAQ,EAAE,OAAO,CAAC;CAC9C,CAAC;AAuEF,MAAM,MAAM,eAAe,CACzB,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,IAC9E,OAAO,CAAC,0BAA0B,CAAC,kBAAkB,CAAC,CAAC,CAAC;AAE5D;;GAEG;AACH,eAAO,MAAM,UAAU;KACrB,kBAAkB,SAAS,yBAAyB,qCAE7C,eAAe,CAAC,kBAAkB,CAAC;;CAW3C,CAAC"}
1
+ {"version":3,"file":"SendButton.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageInput/SendButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EACL,wBAAwB,EAEzB,MAAM,wDAAwD,CAAC;AAMhE,KAAK,0BAA0B,GAAG,IAAI,CAAC,wBAAwB,EAAE,aAAa,GAAG,aAAa,CAAC,GAAG;IAChG,0BAA0B,CAAC,QAAQ,EAAE,OAAO,CAAC;CAC9C,CAAC;AAgEF,MAAM,MAAM,eAAe,GAAG,OAAO,CAAC,0BAA0B,CAAC,CAAC;AAElE;;GAEG;AACH,eAAO,MAAM,UAAU;YAAW,eAAe;;CAUhD,CAAC"}
@@ -2,14 +2,13 @@ import React from 'react';
2
2
  import { MessageInputContextValue } from '../../contexts/messageInputContext/MessageInputContext';
3
3
  import { ThreadContextValue } from '../../contexts/threadContext/ThreadContext';
4
4
  import { TranslationContextValue } from '../../contexts/translationContext/TranslationContext';
5
- import type { DefaultStreamChatGenerics } from '../../types/types';
6
5
  export type ShowThreadMessageInChannelButtonWithContextProps = Pick<MessageInputContextValue, 'sendThreadMessageInChannel' | 'setSendThreadMessageInChannel'> & Pick<ThreadContextValue, 'allowThreadMessagesInChannel'> & Pick<TranslationContextValue, 't'> & {
7
6
  threadList?: boolean;
8
7
  };
9
8
  export declare const ShowThreadMessageInChannelButtonWithContext: (props: ShowThreadMessageInChannelButtonWithContextProps) => React.JSX.Element | null;
10
9
  export type ShowThreadMessageInChannelButtonProps = Partial<ShowThreadMessageInChannelButtonWithContextProps>;
11
10
  export declare const ShowThreadMessageInChannelButton: {
12
- <StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>(props: ShowThreadMessageInChannelButtonProps): React.JSX.Element;
11
+ (props: ShowThreadMessageInChannelButtonProps): React.JSX.Element;
13
12
  displayName: string;
14
13
  };
15
14
  //# sourceMappingURL=ShowThreadMessageInChannelButton.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ShowThreadMessageInChannelButton.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageInput/ShowThreadMessageInChannelButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EACL,wBAAwB,EAEzB,MAAM,wDAAwD,CAAC;AAEhE,OAAO,EAAE,kBAAkB,EAAoB,MAAM,4CAA4C,CAAC;AAClG,OAAO,EACL,uBAAuB,EAExB,MAAM,sDAAsD,CAAC;AAG9D,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAC;AAyBnE,MAAM,MAAM,gDAAgD,GAAG,IAAI,CACjE,wBAAwB,EACxB,4BAA4B,GAAG,+BAA+B,CAC/D,GACC,IAAI,CAAC,kBAAkB,EAAE,8BAA8B,CAAC,GACxD,IAAI,CAAC,uBAAuB,EAAE,GAAG,CAAC,GAAG;IACnC,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC;AAEJ,eAAO,MAAM,2CAA2C,GACtD,OAAO,gDAAgD,6BA2DxD,CAAC;AAiDF,MAAM,MAAM,qCAAqC,GAC/C,OAAO,CAAC,gDAAgD,CAAC,CAAC;AAE5D,eAAO,MAAM,gCAAgC;KAC3C,kBAAkB,SAAS,yBAAyB,qCAE7C,qCAAqC;;CAkB7C,CAAC"}
1
+ {"version":3,"file":"ShowThreadMessageInChannelButton.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageInput/ShowThreadMessageInChannelButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EACL,wBAAwB,EAEzB,MAAM,wDAAwD,CAAC;AAEhE,OAAO,EAAE,kBAAkB,EAAoB,MAAM,4CAA4C,CAAC;AAClG,OAAO,EACL,uBAAuB,EAExB,MAAM,sDAAsD,CAAC;AA0B9D,MAAM,MAAM,gDAAgD,GAAG,IAAI,CACjE,wBAAwB,EACxB,4BAA4B,GAAG,+BAA+B,CAC/D,GACC,IAAI,CAAC,kBAAkB,EAAE,8BAA8B,CAAC,GACxD,IAAI,CAAC,uBAAuB,EAAE,GAAG,CAAC,GAAG;IACnC,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC;AAEJ,eAAO,MAAM,2CAA2C,GACtD,OAAO,gDAAgD,6BA2DxD,CAAC;AAiDF,MAAM,MAAM,qCAAqC,GAC/C,OAAO,CAAC,gDAAgD,CAAC,CAAC;AAE5D,eAAO,MAAM,gCAAgC;YAAW,qCAAqC;;CAgB5F,CAAC"}
@@ -2,8 +2,7 @@ import React from 'react';
2
2
  import { StyleProp, ViewStyle } from 'react-native';
3
3
  import { MessageInputContextValue } from '../../../../contexts/messageInputContext/MessageInputContext';
4
4
  import { AudioRecordingReturnType } from '../../../../native';
5
- import type { DefaultStreamChatGenerics } from '../../../../types/types';
6
- type AudioRecorderPropsWithContext<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Pick<MessageInputContextValue<StreamChatGenerics>, 'asyncMessagesMultiSendEnabled'> & {
5
+ type AudioRecorderPropsWithContext = Pick<MessageInputContextValue, 'asyncMessagesMultiSendEnabled'> & {
7
6
  /**
8
7
  * Function to stop and delete the voice recording.
9
8
  */
@@ -38,12 +37,12 @@ type AudioRecorderPropsWithContext<StreamChatGenerics extends DefaultStreamChatG
38
37
  */
39
38
  slideToCancelStyle?: StyleProp<ViewStyle>;
40
39
  };
41
- export type AudioRecorderProps<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Partial<AudioRecorderPropsWithContext<StreamChatGenerics>> & Pick<AudioRecorderPropsWithContext<StreamChatGenerics>, 'deleteVoiceRecording' | 'micLocked' | 'recording' | 'recordingStopped' | 'stopVoiceRecording' | 'uploadVoiceRecording'>;
40
+ export type AudioRecorderProps = Partial<AudioRecorderPropsWithContext> & Pick<AudioRecorderPropsWithContext, 'deleteVoiceRecording' | 'micLocked' | 'recording' | 'recordingStopped' | 'stopVoiceRecording' | 'uploadVoiceRecording'>;
42
41
  /**
43
42
  * Component to display the Recording UI in the Message Input.
44
43
  */
45
44
  export declare const AudioRecorder: {
46
- <StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>(props: AudioRecorderProps<StreamChatGenerics>): React.JSX.Element;
45
+ (props: AudioRecorderProps): React.JSX.Element;
47
46
  displayName: string;
48
47
  };
49
48
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"AudioRecorder.d.ts","sourceRoot":"","sources":["../../../../../../src/components/MessageInput/components/AudioRecorder/AudioRecorder.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAa,SAAS,EAA0B,SAAS,EAAE,MAAM,cAAc,CAAC;AAMvF,OAAO,EACL,wBAAwB,EAEzB,MAAM,8DAA8D,CAAC;AAKtE,OAAO,EAAE,wBAAwB,EAAE,MAAM,oBAAoB,CAAC;AAC9D,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,yBAAyB,CAAC;AAEzE,KAAK,6BAA6B,CAChC,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,IAC9E,IAAI,CAAC,wBAAwB,CAAC,kBAAkB,CAAC,EAAE,+BAA+B,CAAC,GAAG;IACxF;;OAEG;IACH,oBAAoB,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAC1C;;;OAGG;IACH,SAAS,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,SAAS,EAAE,wBAAwB,CAAC;IACpC;;OAEG;IACH,gBAAgB,EAAE,OAAO,CAAC;IAC1B;;OAEG;IACH,kBAAkB,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IACxC;;OAEG;IACH,oBAAoB,EAAE,CAAC,gBAAgB,EAAE,OAAO,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACnE;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B;;OAEG;IACH,kBAAkB,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC3C,CAAC;AA0MF,MAAM,MAAM,kBAAkB,CAC5B,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,IAC9E,OAAO,CAAC,6BAA6B,CAAC,kBAAkB,CAAC,CAAC,GAC5D,IAAI,CACF,6BAA6B,CAAC,kBAAkB,CAAC,EAC/C,sBAAsB,GACtB,WAAW,GACX,WAAW,GACX,kBAAkB,GAClB,oBAAoB,GACpB,sBAAsB,CACzB,CAAC;AAEJ;;GAEG;AACH,eAAO,MAAM,aAAa;KACxB,kBAAkB,SAAS,yBAAyB,qCAE7C,kBAAkB,CAAC,kBAAkB,CAAC;;CAY9C,CAAC"}
1
+ {"version":3,"file":"AudioRecorder.d.ts","sourceRoot":"","sources":["../../../../../../src/components/MessageInput/components/AudioRecorder/AudioRecorder.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAa,SAAS,EAA0B,SAAS,EAAE,MAAM,cAAc,CAAC;AAMvF,OAAO,EACL,wBAAwB,EAEzB,MAAM,8DAA8D,CAAC;AAKtE,OAAO,EAAE,wBAAwB,EAAE,MAAM,oBAAoB,CAAC;AAE9D,KAAK,6BAA6B,GAAG,IAAI,CACvC,wBAAwB,EACxB,+BAA+B,CAChC,GAAG;IACF;;OAEG;IACH,oBAAoB,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAC1C;;;OAGG;IACH,SAAS,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,SAAS,EAAE,wBAAwB,CAAC;IACpC;;OAEG;IACH,gBAAgB,EAAE,OAAO,CAAC;IAC1B;;OAEG;IACH,kBAAkB,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IACxC;;OAEG;IACH,oBAAoB,EAAE,CAAC,gBAAgB,EAAE,OAAO,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACnE;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B;;OAEG;IACH,kBAAkB,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC3C,CAAC;AAsMF,MAAM,MAAM,kBAAkB,GAAG,OAAO,CAAC,6BAA6B,CAAC,GACrE,IAAI,CACF,6BAA6B,EAC3B,sBAAsB,GACtB,WAAW,GACX,WAAW,GACX,kBAAkB,GAClB,oBAAoB,GACpB,sBAAsB,CACzB,CAAC;AAEJ;;GAEG;AACH,eAAO,MAAM,aAAa;YAAW,kBAAkB;;CAWtD,CAAC"}
@@ -1,8 +1,7 @@
1
1
  import React from 'react';
2
2
  import { MessageInputContextValue } from '../../../../contexts/messageInputContext/MessageInputContext';
3
3
  import { AudioRecordingReturnType } from '../../../../native';
4
- import type { DefaultStreamChatGenerics } from '../../../../types/types';
5
- type AudioRecordingButtonPropsWithContext<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Pick<MessageInputContextValue<StreamChatGenerics>, 'asyncMessagesMinimumPressDuration'> & {
4
+ type AudioRecordingButtonPropsWithContext = Pick<MessageInputContextValue, 'asyncMessagesMinimumPressDuration'> & {
6
5
  /**
7
6
  * The current voice recording that is in progress.
8
7
  */
@@ -28,14 +27,14 @@ type AudioRecordingButtonPropsWithContext<StreamChatGenerics extends DefaultStre
28
27
  */
29
28
  startVoiceRecording?: () => Promise<void>;
30
29
  };
31
- export type AudioRecordingButtonProps<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Partial<AudioRecordingButtonPropsWithContext<StreamChatGenerics>> & {
30
+ export type AudioRecordingButtonProps = Partial<AudioRecordingButtonPropsWithContext> & {
32
31
  recording: AudioRecordingReturnType;
33
32
  };
34
33
  /**
35
34
  * Component to display the mic button on the Message Input.
36
35
  */
37
36
  export declare const AudioRecordingButton: {
38
- <StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>(props: AudioRecordingButtonProps<StreamChatGenerics>): React.JSX.Element;
37
+ (props: AudioRecordingButtonProps): React.JSX.Element;
39
38
  displayName: string;
40
39
  };
41
40
  export {};