stream-chat-react-native-core 6.7.4 → 7.0.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1214) hide show
  1. package/README.md +1 -1
  2. package/lib/commonjs/components/AITypingIndicatorView/AITypingIndicatorView.js.map +1 -1
  3. package/lib/commonjs/components/AITypingIndicatorView/hooks/useAIState.js.map +1 -1
  4. package/lib/commonjs/components/Attachment/Attachment.js +3 -3
  5. package/lib/commonjs/components/Attachment/Attachment.js.map +1 -1
  6. package/lib/commonjs/components/Attachment/AttachmentActions.js.map +1 -1
  7. package/lib/commonjs/components/Attachment/Card.js.map +1 -1
  8. package/lib/commonjs/components/Attachment/FileAttachment.js.map +1 -1
  9. package/lib/commonjs/components/Attachment/FileAttachmentGroup.js +4 -2
  10. package/lib/commonjs/components/Attachment/FileAttachmentGroup.js.map +1 -1
  11. package/lib/commonjs/components/Attachment/Gallery.js.map +1 -1
  12. package/lib/commonjs/components/Attachment/GalleryImage.js.map +1 -1
  13. package/lib/commonjs/components/Attachment/Giphy.js.map +1 -1
  14. package/lib/commonjs/components/Attachment/utils/buildGallery/buildGallery.js.map +1 -1
  15. package/lib/commonjs/components/Attachment/utils/buildGallery/buildGalleryOfSingleImage.js.map +1 -1
  16. package/lib/commonjs/components/Attachment/utils/buildGallery/buildGalleryOfThreeImages.js.map +1 -1
  17. package/lib/commonjs/components/Attachment/utils/buildGallery/buildGalleryOfTwoImages.js.map +1 -1
  18. package/lib/commonjs/components/Attachment/utils/buildGallery/buildThumbnail.js.map +1 -1
  19. package/lib/commonjs/components/Attachment/utils/buildGallery/buildThumbnailGrid.js.map +1 -1
  20. package/lib/commonjs/components/Attachment/utils/getAspectRatio.js.map +1 -1
  21. package/lib/commonjs/components/AttachmentPicker/AttachmentPicker.js +2 -2
  22. package/lib/commonjs/components/AttachmentPicker/AttachmentPicker.js.map +1 -1
  23. package/lib/commonjs/components/AttachmentPicker/components/AttachmentPickerItem.js +7 -24
  24. package/lib/commonjs/components/AttachmentPicker/components/AttachmentPickerItem.js.map +1 -1
  25. package/lib/commonjs/components/AutoCompleteInput/AutoCompleteInput.js +1 -1
  26. package/lib/commonjs/components/AutoCompleteInput/AutoCompleteInput.js.map +1 -1
  27. package/lib/commonjs/components/AutoCompleteInput/AutoCompleteSuggestionCommandIcon.js.map +1 -1
  28. package/lib/commonjs/components/AutoCompleteInput/AutoCompleteSuggestionHeader.js.map +1 -1
  29. package/lib/commonjs/components/AutoCompleteInput/AutoCompleteSuggestionItem.js.map +1 -1
  30. package/lib/commonjs/components/AutoCompleteInput/AutoCompleteSuggestionList.js.map +1 -1
  31. package/lib/commonjs/components/Channel/Channel.js +4 -6
  32. package/lib/commonjs/components/Channel/Channel.js.map +1 -1
  33. package/lib/commonjs/components/Channel/hooks/useChannelDataState.js.map +1 -1
  34. package/lib/commonjs/components/Channel/hooks/useCreateChannelContext.js.map +1 -1
  35. package/lib/commonjs/components/Channel/hooks/useCreateInputMessageInputContext.js.map +1 -1
  36. package/lib/commonjs/components/Channel/hooks/useCreateMessagesContext.js.map +1 -1
  37. package/lib/commonjs/components/Channel/hooks/useCreateOwnCapabilitiesContext.js.map +1 -1
  38. package/lib/commonjs/components/Channel/hooks/useCreatePaginatedMessageListContext.js.map +1 -1
  39. package/lib/commonjs/components/Channel/hooks/useCreateThreadContext.js.map +1 -1
  40. package/lib/commonjs/components/Channel/hooks/useCreateTypingContext.js.map +1 -1
  41. package/lib/commonjs/components/Channel/hooks/useMessageListPagination.js.map +1 -1
  42. package/lib/commonjs/components/ChannelList/ChannelList.js.map +1 -1
  43. package/lib/commonjs/components/ChannelList/ChannelListMessenger.js.map +1 -1
  44. package/lib/commonjs/components/ChannelList/hooks/listeners/useChannelUpdated.js.map +1 -1
  45. package/lib/commonjs/components/ChannelList/hooks/useChannelMembershipState.js.map +1 -1
  46. package/lib/commonjs/components/ChannelList/hooks/useCreateChannelsContext.js.map +1 -1
  47. package/lib/commonjs/components/ChannelList/hooks/usePaginatedChannels.js.map +1 -1
  48. package/lib/commonjs/components/ChannelList/hooks/utils/index.js.map +1 -1
  49. package/lib/commonjs/components/ChannelList/utils.js.map +1 -1
  50. package/lib/commonjs/components/ChannelPreview/ChannelAvatar.js.map +1 -1
  51. package/lib/commonjs/components/ChannelPreview/ChannelPreview.js.map +1 -1
  52. package/lib/commonjs/components/ChannelPreview/ChannelPreviewMessage.js.map +1 -1
  53. package/lib/commonjs/components/ChannelPreview/ChannelPreviewMessenger.js +1 -2
  54. package/lib/commonjs/components/ChannelPreview/ChannelPreviewMessenger.js.map +1 -1
  55. package/lib/commonjs/components/ChannelPreview/ChannelPreviewStatus.js.map +1 -1
  56. package/lib/commonjs/components/ChannelPreview/ChannelPreviewTitle.js.map +1 -1
  57. package/lib/commonjs/components/ChannelPreview/ChannelPreviewUnreadCount.js.map +1 -1
  58. package/lib/commonjs/components/ChannelPreview/hooks/useChannelPreviewData.js.map +1 -1
  59. package/lib/commonjs/components/ChannelPreview/hooks/useChannelPreviewDisplayAvatar.js.map +1 -1
  60. package/lib/commonjs/components/ChannelPreview/hooks/useChannelPreviewDisplayName.js.map +1 -1
  61. package/lib/commonjs/components/ChannelPreview/hooks/useChannelPreviewDisplayPresence.js.map +1 -1
  62. package/lib/commonjs/components/ChannelPreview/hooks/useIsChannelMuted.js.map +1 -1
  63. package/lib/commonjs/components/ChannelPreview/hooks/useLatestMessagePreview.js.map +1 -1
  64. package/lib/commonjs/components/Chat/Chat.js.map +1 -1
  65. package/lib/commonjs/components/Chat/hooks/handleEventToSyncDB.js.map +1 -1
  66. package/lib/commonjs/components/Chat/hooks/useAppSettings.js.map +1 -1
  67. package/lib/commonjs/components/Chat/hooks/useCreateChatClient.js.map +1 -1
  68. package/lib/commonjs/components/Chat/hooks/useCreateChatContext.js.map +1 -1
  69. package/lib/commonjs/components/Chat/hooks/useIsOnline.js.map +1 -1
  70. package/lib/commonjs/components/Chat/hooks/useMutedUsers.js.map +1 -1
  71. package/lib/commonjs/components/Chat/hooks/useSyncDatabase.js.map +1 -1
  72. package/lib/commonjs/components/ImageGallery/ImageGallery.js +8 -0
  73. package/lib/commonjs/components/ImageGallery/ImageGallery.js.map +1 -1
  74. package/lib/commonjs/components/ImageGallery/components/AnimatedGalleryVideo.js +0 -21
  75. package/lib/commonjs/components/ImageGallery/components/AnimatedGalleryVideo.js.map +1 -1
  76. package/lib/commonjs/components/ImageGallery/components/ImageGalleryFooter.js.map +1 -1
  77. package/lib/commonjs/components/ImageGallery/components/ImageGalleryHeader.js.map +1 -1
  78. package/lib/commonjs/components/ImageGallery/components/ImageGalleryVideoControl.js +2 -2
  79. package/lib/commonjs/components/ImageGallery/components/ImageGalleryVideoControl.js.map +1 -1
  80. package/lib/commonjs/components/ImageGallery/components/ImageGrid.js.map +1 -1
  81. package/lib/commonjs/components/Message/Message.js +12 -6
  82. package/lib/commonjs/components/Message/Message.js.map +1 -1
  83. package/lib/commonjs/components/Message/MessageSimple/MessageAvatar.js.map +1 -1
  84. package/lib/commonjs/components/Message/MessageSimple/MessageBounce.js.map +1 -1
  85. package/lib/commonjs/components/Message/MessageSimple/MessageContent.js.map +1 -1
  86. package/lib/commonjs/components/Message/MessageSimple/MessageDeleted.js.map +1 -1
  87. package/lib/commonjs/components/Message/MessageSimple/MessageEditedTimestamp.js.map +1 -1
  88. package/lib/commonjs/components/Message/MessageSimple/MessageFooter.js.map +1 -1
  89. package/lib/commonjs/components/Message/MessageSimple/MessagePinnedHeader.js.map +1 -1
  90. package/lib/commonjs/components/Message/MessageSimple/MessageReplies.js.map +1 -1
  91. package/lib/commonjs/components/Message/MessageSimple/MessageRepliesAvatars.js.map +1 -1
  92. package/lib/commonjs/components/Message/MessageSimple/MessageSimple.js.map +1 -1
  93. package/lib/commonjs/components/Message/MessageSimple/MessageStatus.js +14 -6
  94. package/lib/commonjs/components/Message/MessageSimple/MessageStatus.js.map +1 -1
  95. package/lib/commonjs/components/Message/MessageSimple/MessageTextContainer.js.map +1 -1
  96. package/lib/commonjs/components/Message/MessageSimple/ReactionList/ReactionListBottom.js.map +1 -1
  97. package/lib/commonjs/components/Message/MessageSimple/ReactionList/ReactionListTop.js.map +1 -1
  98. package/lib/commonjs/components/Message/MessageSimple/StreamingMessageView.js.map +1 -1
  99. package/lib/commonjs/components/Message/MessageSimple/utils/renderText.js.map +1 -1
  100. package/lib/commonjs/components/Message/hooks/useCreateMessageContext.js +3 -1
  101. package/lib/commonjs/components/Message/hooks/useCreateMessageContext.js.map +1 -1
  102. package/lib/commonjs/components/Message/hooks/useMessageActionHandlers.js.map +1 -1
  103. package/lib/commonjs/components/Message/hooks/useMessageActions.js.map +1 -1
  104. package/lib/commonjs/components/Message/hooks/useMessageData.js.map +1 -1
  105. package/lib/commonjs/components/Message/hooks/useProcessReactions.js.map +1 -1
  106. package/lib/commonjs/components/Message/hooks/useStreamingMessage.js.map +1 -1
  107. package/lib/commonjs/components/Message/utils/messageActions.js.map +1 -1
  108. package/lib/commonjs/components/MessageInput/AttachButton.js.map +1 -1
  109. package/lib/commonjs/components/MessageInput/CommandsButton.js.map +1 -1
  110. package/lib/commonjs/components/MessageInput/FileUploadPreview.js +25 -39
  111. package/lib/commonjs/components/MessageInput/FileUploadPreview.js.map +1 -1
  112. package/lib/commonjs/components/MessageInput/ImageUploadPreview.js.map +1 -1
  113. package/lib/commonjs/components/MessageInput/InputButtons.js.map +1 -1
  114. package/lib/commonjs/components/MessageInput/MessageInput.js +81 -66
  115. package/lib/commonjs/components/MessageInput/MessageInput.js.map +1 -1
  116. package/lib/commonjs/components/MessageInput/MoreOptionsButton.js.map +1 -1
  117. package/lib/commonjs/components/MessageInput/SendButton.js.map +1 -1
  118. package/lib/commonjs/components/MessageInput/ShowThreadMessageInChannelButton.js.map +1 -1
  119. package/lib/commonjs/components/MessageInput/components/AudioRecorder/AudioRecorder.js.map +1 -1
  120. package/lib/commonjs/components/MessageInput/components/AudioRecorder/AudioRecordingButton.js +2 -1
  121. package/lib/commonjs/components/MessageInput/components/AudioRecorder/AudioRecordingButton.js.map +1 -1
  122. package/lib/commonjs/components/MessageInput/components/AudioRecorder/AudioRecordingInProgress.js.map +1 -1
  123. package/lib/commonjs/components/MessageInput/components/InputEditingStateHeader.js.map +1 -1
  124. package/lib/commonjs/components/MessageInput/components/InputGiphySearch.js.map +1 -1
  125. package/lib/commonjs/components/MessageInput/components/InputReplyStateHeader.js.map +1 -1
  126. package/lib/commonjs/components/MessageInput/hooks/useAudioController.js +4 -4
  127. package/lib/commonjs/components/MessageInput/hooks/useAudioController.js.map +1 -1
  128. package/lib/commonjs/components/MessageInput/hooks/useCooldown.js.map +1 -1
  129. package/lib/commonjs/components/MessageList/InlineLoadingMoreIndicator.js.map +1 -1
  130. package/lib/commonjs/components/MessageList/InlineLoadingMoreRecentIndicator.js.map +1 -1
  131. package/lib/commonjs/components/MessageList/InlineLoadingMoreRecentThreadIndicator.js.map +1 -1
  132. package/lib/commonjs/components/MessageList/MessageList.js +9 -7
  133. package/lib/commonjs/components/MessageList/MessageList.js.map +1 -1
  134. package/lib/commonjs/components/MessageList/MessageSystem.js.map +1 -1
  135. package/lib/commonjs/components/MessageList/StickyHeader.js.map +1 -1
  136. package/lib/commonjs/components/MessageList/TypingIndicator.js.map +1 -1
  137. package/lib/commonjs/components/MessageList/TypingIndicatorContainer.js.map +1 -1
  138. package/lib/commonjs/components/MessageList/hooks/useMessageList.js +18 -24
  139. package/lib/commonjs/components/MessageList/hooks/useMessageList.js.map +1 -1
  140. package/lib/commonjs/components/MessageList/hooks/useShouldScrollToRecentOnNewOwnMessage.js.map +1 -1
  141. package/lib/commonjs/components/MessageList/hooks/useTypingString.js.map +1 -1
  142. package/lib/commonjs/components/MessageList/utils/filterTypingUsers.js.map +1 -1
  143. package/lib/commonjs/components/MessageList/utils/getDateSeparators.js.map +1 -1
  144. package/lib/commonjs/components/MessageList/utils/getGroupStyles.js +1 -1
  145. package/lib/commonjs/components/MessageList/utils/getGroupStyles.js.map +1 -1
  146. package/lib/commonjs/components/MessageList/utils/getLastReceivedMessage.js.map +1 -1
  147. package/lib/commonjs/components/MessageList/utils/getReadState.js +20 -0
  148. package/lib/commonjs/components/MessageList/utils/getReadState.js.map +1 -0
  149. package/lib/commonjs/components/MessageMenu/MessageMenu.js.map +1 -1
  150. package/lib/commonjs/components/MessageMenu/MessageReactionPicker.js.map +1 -1
  151. package/lib/commonjs/components/MessageMenu/MessageUserReactions.js.map +1 -1
  152. package/lib/commonjs/components/MessageMenu/MessageUserReactionsItem.js.map +1 -1
  153. package/lib/commonjs/components/MessageMenu/hooks/useFetchReactions.js.map +1 -1
  154. package/lib/commonjs/components/Poll/Poll.js.map +1 -1
  155. package/lib/commonjs/components/Poll/components/Button.js.map +1 -1
  156. package/lib/commonjs/components/Poll/components/PollAnswersList.js.map +1 -1
  157. package/lib/commonjs/components/Poll/components/PollResults/PollOptionFullResults.js.map +1 -1
  158. package/lib/commonjs/components/Poll/components/PollResults/PollResultItem.js.map +1 -1
  159. package/lib/commonjs/components/Poll/hooks/usePollState.js.map +1 -1
  160. package/lib/commonjs/components/Reply/Reply.js +2 -2
  161. package/lib/commonjs/components/Reply/Reply.js.map +1 -1
  162. package/lib/commonjs/components/Thread/Thread.js.map +1 -1
  163. package/lib/commonjs/components/Thread/components/ThreadFooterComponent.js +1 -0
  164. package/lib/commonjs/components/Thread/components/ThreadFooterComponent.js.map +1 -1
  165. package/lib/commonjs/components/ThreadList/ThreadList.js.map +1 -1
  166. package/lib/commonjs/components/ThreadList/ThreadListItem.js.map +1 -1
  167. package/lib/commonjs/components/index.js +4 -103
  168. package/lib/commonjs/components/index.js.map +1 -1
  169. package/lib/commonjs/contexts/attachmentPickerContext/AttachmentPickerContext.js.map +1 -1
  170. package/lib/commonjs/contexts/channelContext/ChannelContext.js.map +1 -1
  171. package/lib/commonjs/contexts/channelsContext/ChannelsContext.js.map +1 -1
  172. package/lib/commonjs/contexts/channelsStateContext/ChannelsStateContext.js.map +1 -1
  173. package/lib/commonjs/contexts/channelsStateContext/useChannelState.js.map +1 -1
  174. package/lib/commonjs/contexts/chatContext/ChatContext.js.map +1 -1
  175. package/lib/commonjs/contexts/debugContext/DebugContext.js.map +1 -1
  176. package/lib/commonjs/contexts/imageGalleryContext/ImageGalleryContext.js.map +1 -1
  177. package/lib/commonjs/contexts/messageContext/MessageContext.js.map +1 -1
  178. package/lib/commonjs/contexts/messageInputContext/MessageInputContext.js +95 -74
  179. package/lib/commonjs/contexts/messageInputContext/MessageInputContext.js.map +1 -1
  180. package/lib/commonjs/contexts/messageInputContext/hooks/useCreateMessageInputContext.js +2 -5
  181. package/lib/commonjs/contexts/messageInputContext/hooks/useCreateMessageInputContext.js.map +1 -1
  182. package/lib/commonjs/contexts/messageInputContext/hooks/useMessageDetailsForState.js +27 -32
  183. package/lib/commonjs/contexts/messageInputContext/hooks/useMessageDetailsForState.js.map +1 -1
  184. package/lib/commonjs/contexts/messageInputContext/utils/utils.js +4 -4
  185. package/lib/commonjs/contexts/messageInputContext/utils/utils.js.map +1 -1
  186. package/lib/commonjs/contexts/messagesContext/MessagesContext.js.map +1 -1
  187. package/lib/commonjs/contexts/overlayContext/OverlayContext.js.map +1 -1
  188. package/lib/commonjs/contexts/overlayContext/OverlayProvider.js.map +1 -1
  189. package/lib/commonjs/contexts/paginatedMessageListContext/PaginatedMessageListContext.js.map +1 -1
  190. package/lib/commonjs/contexts/pollContext/pollContext.js.map +1 -1
  191. package/lib/commonjs/contexts/suggestionsContext/SuggestionsContext.js.map +1 -1
  192. package/lib/commonjs/contexts/threadContext/ThreadContext.js.map +1 -1
  193. package/lib/commonjs/contexts/threadsContext/ThreadListItemContext.js.map +1 -1
  194. package/lib/commonjs/contexts/threadsContext/ThreadsContext.js +1 -1
  195. package/lib/commonjs/contexts/threadsContext/ThreadsContext.js.map +1 -1
  196. package/lib/commonjs/contexts/typingContext/TypingContext.js.map +1 -1
  197. package/lib/commonjs/hooks/useSelectedChannelState.js.map +1 -1
  198. package/lib/commonjs/hooks/useSyncClientEvents.js.map +1 -1
  199. package/lib/commonjs/hooks/useTranslatedMessage.js.map +1 -1
  200. package/lib/commonjs/mock-builders/api/channelMocks.js.map +1 -1
  201. package/lib/commonjs/native.js.map +1 -1
  202. package/lib/commonjs/store/apis/getChannelMessages.js.map +1 -1
  203. package/lib/commonjs/store/apis/getChannels.js.map +1 -1
  204. package/lib/commonjs/store/apis/getChannelsForFilterSort.js.map +1 -1
  205. package/lib/commonjs/store/apis/getMembers.js.map +1 -1
  206. package/lib/commonjs/store/apis/getReactions.js.map +1 -1
  207. package/lib/commonjs/store/apis/getReactionsforFilterSort.js.map +1 -1
  208. package/lib/commonjs/store/apis/getReads.js.map +1 -1
  209. package/lib/commonjs/store/apis/queries/selectChannelIdsForFilterSort.js.map +1 -1
  210. package/lib/commonjs/store/apis/updatePollMessage.js.map +1 -1
  211. package/lib/commonjs/store/apis/upsertChannelDataFromChannel.js.map +1 -1
  212. package/lib/commonjs/store/apis/utils/convertFilterSortToQuery.js.map +1 -1
  213. package/lib/commonjs/store/mappers/mapChannelDataToStorable.js.map +1 -1
  214. package/lib/commonjs/store/mappers/mapChannelToStorable.js.map +1 -1
  215. package/lib/commonjs/store/mappers/mapMemberToStorable.js.map +1 -1
  216. package/lib/commonjs/store/mappers/mapMessageToStorable.js.map +1 -1
  217. package/lib/commonjs/store/mappers/mapReadToStorable.js.map +1 -1
  218. package/lib/commonjs/store/mappers/mapStorableToChannel.js.map +1 -1
  219. package/lib/commonjs/store/mappers/mapStorableToMember.js.map +1 -1
  220. package/lib/commonjs/store/mappers/mapStorableToMessage.js.map +1 -1
  221. package/lib/commonjs/store/mappers/mapStorableToPoll.js.map +1 -1
  222. package/lib/commonjs/store/mappers/mapStorableToReaction.js.map +1 -1
  223. package/lib/commonjs/store/mappers/mapStorableToRead.js.map +1 -1
  224. package/lib/commonjs/store/mappers/mapStorableToUser.js.map +1 -1
  225. package/lib/commonjs/types/stream-chat-common-custom-data.d.js +2 -0
  226. package/lib/commonjs/types/stream-chat-common-custom-data.d.js.map +1 -0
  227. package/lib/commonjs/types/types.js.map +1 -1
  228. package/lib/commonjs/utils/ACITriggerSettings.js.map +1 -1
  229. package/lib/commonjs/utils/DBSyncManager.js.map +1 -1
  230. package/lib/commonjs/utils/addReactionToLocalState.js.map +1 -1
  231. package/lib/commonjs/utils/compressImage.js +1 -1
  232. package/lib/commonjs/utils/compressImage.js.map +1 -1
  233. package/lib/commonjs/utils/i18n/Streami18n.js.map +1 -1
  234. package/lib/commonjs/utils/queryMembers.js.map +1 -1
  235. package/lib/commonjs/utils/queryUsers.js.map +1 -1
  236. package/lib/commonjs/utils/removeReactionFromLocalState.js.map +1 -1
  237. package/lib/commonjs/utils/removeReservedFields.js.map +1 -1
  238. package/lib/commonjs/utils/utils.js +38 -24
  239. package/lib/commonjs/utils/utils.js.map +1 -1
  240. package/lib/commonjs/version.json +1 -1
  241. package/lib/module/components/AITypingIndicatorView/AITypingIndicatorView.js.map +1 -1
  242. package/lib/module/components/AITypingIndicatorView/hooks/useAIState.js.map +1 -1
  243. package/lib/module/components/Attachment/Attachment.js +3 -3
  244. package/lib/module/components/Attachment/Attachment.js.map +1 -1
  245. package/lib/module/components/Attachment/AttachmentActions.js.map +1 -1
  246. package/lib/module/components/Attachment/Card.js.map +1 -1
  247. package/lib/module/components/Attachment/FileAttachment.js.map +1 -1
  248. package/lib/module/components/Attachment/FileAttachmentGroup.js +4 -2
  249. package/lib/module/components/Attachment/FileAttachmentGroup.js.map +1 -1
  250. package/lib/module/components/Attachment/Gallery.js.map +1 -1
  251. package/lib/module/components/Attachment/GalleryImage.js.map +1 -1
  252. package/lib/module/components/Attachment/Giphy.js.map +1 -1
  253. package/lib/module/components/Attachment/utils/buildGallery/buildGallery.js.map +1 -1
  254. package/lib/module/components/Attachment/utils/buildGallery/buildGalleryOfSingleImage.js.map +1 -1
  255. package/lib/module/components/Attachment/utils/buildGallery/buildGalleryOfThreeImages.js.map +1 -1
  256. package/lib/module/components/Attachment/utils/buildGallery/buildGalleryOfTwoImages.js.map +1 -1
  257. package/lib/module/components/Attachment/utils/buildGallery/buildThumbnail.js.map +1 -1
  258. package/lib/module/components/Attachment/utils/buildGallery/buildThumbnailGrid.js.map +1 -1
  259. package/lib/module/components/Attachment/utils/getAspectRatio.js.map +1 -1
  260. package/lib/module/components/AttachmentPicker/AttachmentPicker.js +2 -2
  261. package/lib/module/components/AttachmentPicker/AttachmentPicker.js.map +1 -1
  262. package/lib/module/components/AttachmentPicker/components/AttachmentPickerItem.js +7 -24
  263. package/lib/module/components/AttachmentPicker/components/AttachmentPickerItem.js.map +1 -1
  264. package/lib/module/components/AutoCompleteInput/AutoCompleteInput.js +1 -1
  265. package/lib/module/components/AutoCompleteInput/AutoCompleteInput.js.map +1 -1
  266. package/lib/module/components/AutoCompleteInput/AutoCompleteSuggestionCommandIcon.js.map +1 -1
  267. package/lib/module/components/AutoCompleteInput/AutoCompleteSuggestionHeader.js.map +1 -1
  268. package/lib/module/components/AutoCompleteInput/AutoCompleteSuggestionItem.js.map +1 -1
  269. package/lib/module/components/AutoCompleteInput/AutoCompleteSuggestionList.js.map +1 -1
  270. package/lib/module/components/Channel/Channel.js +4 -6
  271. package/lib/module/components/Channel/Channel.js.map +1 -1
  272. package/lib/module/components/Channel/hooks/useChannelDataState.js.map +1 -1
  273. package/lib/module/components/Channel/hooks/useCreateChannelContext.js.map +1 -1
  274. package/lib/module/components/Channel/hooks/useCreateInputMessageInputContext.js.map +1 -1
  275. package/lib/module/components/Channel/hooks/useCreateMessagesContext.js.map +1 -1
  276. package/lib/module/components/Channel/hooks/useCreateOwnCapabilitiesContext.js.map +1 -1
  277. package/lib/module/components/Channel/hooks/useCreatePaginatedMessageListContext.js.map +1 -1
  278. package/lib/module/components/Channel/hooks/useCreateThreadContext.js.map +1 -1
  279. package/lib/module/components/Channel/hooks/useCreateTypingContext.js.map +1 -1
  280. package/lib/module/components/Channel/hooks/useMessageListPagination.js.map +1 -1
  281. package/lib/module/components/ChannelList/ChannelList.js.map +1 -1
  282. package/lib/module/components/ChannelList/ChannelListMessenger.js.map +1 -1
  283. package/lib/module/components/ChannelList/hooks/listeners/useChannelUpdated.js.map +1 -1
  284. package/lib/module/components/ChannelList/hooks/useChannelMembershipState.js.map +1 -1
  285. package/lib/module/components/ChannelList/hooks/useCreateChannelsContext.js.map +1 -1
  286. package/lib/module/components/ChannelList/hooks/usePaginatedChannels.js.map +1 -1
  287. package/lib/module/components/ChannelList/hooks/utils/index.js.map +1 -1
  288. package/lib/module/components/ChannelList/utils.js.map +1 -1
  289. package/lib/module/components/ChannelPreview/ChannelAvatar.js.map +1 -1
  290. package/lib/module/components/ChannelPreview/ChannelPreview.js.map +1 -1
  291. package/lib/module/components/ChannelPreview/ChannelPreviewMessage.js.map +1 -1
  292. package/lib/module/components/ChannelPreview/ChannelPreviewMessenger.js +1 -2
  293. package/lib/module/components/ChannelPreview/ChannelPreviewMessenger.js.map +1 -1
  294. package/lib/module/components/ChannelPreview/ChannelPreviewStatus.js.map +1 -1
  295. package/lib/module/components/ChannelPreview/ChannelPreviewTitle.js.map +1 -1
  296. package/lib/module/components/ChannelPreview/ChannelPreviewUnreadCount.js.map +1 -1
  297. package/lib/module/components/ChannelPreview/hooks/useChannelPreviewData.js.map +1 -1
  298. package/lib/module/components/ChannelPreview/hooks/useChannelPreviewDisplayAvatar.js.map +1 -1
  299. package/lib/module/components/ChannelPreview/hooks/useChannelPreviewDisplayName.js.map +1 -1
  300. package/lib/module/components/ChannelPreview/hooks/useChannelPreviewDisplayPresence.js.map +1 -1
  301. package/lib/module/components/ChannelPreview/hooks/useIsChannelMuted.js.map +1 -1
  302. package/lib/module/components/ChannelPreview/hooks/useLatestMessagePreview.js.map +1 -1
  303. package/lib/module/components/Chat/Chat.js.map +1 -1
  304. package/lib/module/components/Chat/hooks/handleEventToSyncDB.js.map +1 -1
  305. package/lib/module/components/Chat/hooks/useAppSettings.js.map +1 -1
  306. package/lib/module/components/Chat/hooks/useCreateChatClient.js.map +1 -1
  307. package/lib/module/components/Chat/hooks/useCreateChatContext.js.map +1 -1
  308. package/lib/module/components/Chat/hooks/useIsOnline.js.map +1 -1
  309. package/lib/module/components/Chat/hooks/useMutedUsers.js.map +1 -1
  310. package/lib/module/components/Chat/hooks/useSyncDatabase.js.map +1 -1
  311. package/lib/module/components/ImageGallery/ImageGallery.js +8 -0
  312. package/lib/module/components/ImageGallery/ImageGallery.js.map +1 -1
  313. package/lib/module/components/ImageGallery/components/AnimatedGalleryVideo.js +0 -21
  314. package/lib/module/components/ImageGallery/components/AnimatedGalleryVideo.js.map +1 -1
  315. package/lib/module/components/ImageGallery/components/ImageGalleryFooter.js.map +1 -1
  316. package/lib/module/components/ImageGallery/components/ImageGalleryHeader.js.map +1 -1
  317. package/lib/module/components/ImageGallery/components/ImageGalleryVideoControl.js +2 -2
  318. package/lib/module/components/ImageGallery/components/ImageGalleryVideoControl.js.map +1 -1
  319. package/lib/module/components/ImageGallery/components/ImageGrid.js.map +1 -1
  320. package/lib/module/components/Message/Message.js +12 -6
  321. package/lib/module/components/Message/Message.js.map +1 -1
  322. package/lib/module/components/Message/MessageSimple/MessageAvatar.js.map +1 -1
  323. package/lib/module/components/Message/MessageSimple/MessageBounce.js.map +1 -1
  324. package/lib/module/components/Message/MessageSimple/MessageContent.js.map +1 -1
  325. package/lib/module/components/Message/MessageSimple/MessageDeleted.js.map +1 -1
  326. package/lib/module/components/Message/MessageSimple/MessageEditedTimestamp.js.map +1 -1
  327. package/lib/module/components/Message/MessageSimple/MessageFooter.js.map +1 -1
  328. package/lib/module/components/Message/MessageSimple/MessagePinnedHeader.js.map +1 -1
  329. package/lib/module/components/Message/MessageSimple/MessageReplies.js.map +1 -1
  330. package/lib/module/components/Message/MessageSimple/MessageRepliesAvatars.js.map +1 -1
  331. package/lib/module/components/Message/MessageSimple/MessageSimple.js.map +1 -1
  332. package/lib/module/components/Message/MessageSimple/MessageStatus.js +14 -6
  333. package/lib/module/components/Message/MessageSimple/MessageStatus.js.map +1 -1
  334. package/lib/module/components/Message/MessageSimple/MessageTextContainer.js.map +1 -1
  335. package/lib/module/components/Message/MessageSimple/ReactionList/ReactionListBottom.js.map +1 -1
  336. package/lib/module/components/Message/MessageSimple/ReactionList/ReactionListTop.js.map +1 -1
  337. package/lib/module/components/Message/MessageSimple/StreamingMessageView.js.map +1 -1
  338. package/lib/module/components/Message/MessageSimple/utils/renderText.js.map +1 -1
  339. package/lib/module/components/Message/hooks/useCreateMessageContext.js +3 -1
  340. package/lib/module/components/Message/hooks/useCreateMessageContext.js.map +1 -1
  341. package/lib/module/components/Message/hooks/useMessageActionHandlers.js.map +1 -1
  342. package/lib/module/components/Message/hooks/useMessageActions.js.map +1 -1
  343. package/lib/module/components/Message/hooks/useMessageData.js.map +1 -1
  344. package/lib/module/components/Message/hooks/useProcessReactions.js.map +1 -1
  345. package/lib/module/components/Message/hooks/useStreamingMessage.js.map +1 -1
  346. package/lib/module/components/Message/utils/messageActions.js.map +1 -1
  347. package/lib/module/components/MessageInput/AttachButton.js.map +1 -1
  348. package/lib/module/components/MessageInput/CommandsButton.js.map +1 -1
  349. package/lib/module/components/MessageInput/FileUploadPreview.js +25 -39
  350. package/lib/module/components/MessageInput/FileUploadPreview.js.map +1 -1
  351. package/lib/module/components/MessageInput/ImageUploadPreview.js.map +1 -1
  352. package/lib/module/components/MessageInput/InputButtons.js.map +1 -1
  353. package/lib/module/components/MessageInput/MessageInput.js +81 -66
  354. package/lib/module/components/MessageInput/MessageInput.js.map +1 -1
  355. package/lib/module/components/MessageInput/MoreOptionsButton.js.map +1 -1
  356. package/lib/module/components/MessageInput/SendButton.js.map +1 -1
  357. package/lib/module/components/MessageInput/ShowThreadMessageInChannelButton.js.map +1 -1
  358. package/lib/module/components/MessageInput/components/AudioRecorder/AudioRecorder.js.map +1 -1
  359. package/lib/module/components/MessageInput/components/AudioRecorder/AudioRecordingButton.js +2 -1
  360. package/lib/module/components/MessageInput/components/AudioRecorder/AudioRecordingButton.js.map +1 -1
  361. package/lib/module/components/MessageInput/components/AudioRecorder/AudioRecordingInProgress.js.map +1 -1
  362. package/lib/module/components/MessageInput/components/InputEditingStateHeader.js.map +1 -1
  363. package/lib/module/components/MessageInput/components/InputGiphySearch.js.map +1 -1
  364. package/lib/module/components/MessageInput/components/InputReplyStateHeader.js.map +1 -1
  365. package/lib/module/components/MessageInput/hooks/useAudioController.js +4 -4
  366. package/lib/module/components/MessageInput/hooks/useAudioController.js.map +1 -1
  367. package/lib/module/components/MessageInput/hooks/useCooldown.js.map +1 -1
  368. package/lib/module/components/MessageList/InlineLoadingMoreIndicator.js.map +1 -1
  369. package/lib/module/components/MessageList/InlineLoadingMoreRecentIndicator.js.map +1 -1
  370. package/lib/module/components/MessageList/InlineLoadingMoreRecentThreadIndicator.js.map +1 -1
  371. package/lib/module/components/MessageList/MessageList.js +9 -7
  372. package/lib/module/components/MessageList/MessageList.js.map +1 -1
  373. package/lib/module/components/MessageList/MessageSystem.js.map +1 -1
  374. package/lib/module/components/MessageList/StickyHeader.js.map +1 -1
  375. package/lib/module/components/MessageList/TypingIndicator.js.map +1 -1
  376. package/lib/module/components/MessageList/TypingIndicatorContainer.js.map +1 -1
  377. package/lib/module/components/MessageList/hooks/useMessageList.js +18 -24
  378. package/lib/module/components/MessageList/hooks/useMessageList.js.map +1 -1
  379. package/lib/module/components/MessageList/hooks/useShouldScrollToRecentOnNewOwnMessage.js.map +1 -1
  380. package/lib/module/components/MessageList/hooks/useTypingString.js.map +1 -1
  381. package/lib/module/components/MessageList/utils/filterTypingUsers.js.map +1 -1
  382. package/lib/module/components/MessageList/utils/getDateSeparators.js.map +1 -1
  383. package/lib/module/components/MessageList/utils/getGroupStyles.js +1 -1
  384. package/lib/module/components/MessageList/utils/getGroupStyles.js.map +1 -1
  385. package/lib/module/components/MessageList/utils/getLastReceivedMessage.js.map +1 -1
  386. package/lib/module/components/MessageList/utils/getReadState.js +20 -0
  387. package/lib/module/components/MessageList/utils/getReadState.js.map +1 -0
  388. package/lib/module/components/MessageMenu/MessageMenu.js.map +1 -1
  389. package/lib/module/components/MessageMenu/MessageReactionPicker.js.map +1 -1
  390. package/lib/module/components/MessageMenu/MessageUserReactions.js.map +1 -1
  391. package/lib/module/components/MessageMenu/MessageUserReactionsItem.js.map +1 -1
  392. package/lib/module/components/MessageMenu/hooks/useFetchReactions.js.map +1 -1
  393. package/lib/module/components/Poll/Poll.js.map +1 -1
  394. package/lib/module/components/Poll/components/Button.js.map +1 -1
  395. package/lib/module/components/Poll/components/PollAnswersList.js.map +1 -1
  396. package/lib/module/components/Poll/components/PollResults/PollOptionFullResults.js.map +1 -1
  397. package/lib/module/components/Poll/components/PollResults/PollResultItem.js.map +1 -1
  398. package/lib/module/components/Poll/hooks/usePollState.js.map +1 -1
  399. package/lib/module/components/Reply/Reply.js +2 -2
  400. package/lib/module/components/Reply/Reply.js.map +1 -1
  401. package/lib/module/components/Thread/Thread.js.map +1 -1
  402. package/lib/module/components/Thread/components/ThreadFooterComponent.js +1 -0
  403. package/lib/module/components/Thread/components/ThreadFooterComponent.js.map +1 -1
  404. package/lib/module/components/ThreadList/ThreadList.js.map +1 -1
  405. package/lib/module/components/ThreadList/ThreadListItem.js.map +1 -1
  406. package/lib/module/components/index.js +4 -103
  407. package/lib/module/components/index.js.map +1 -1
  408. package/lib/module/contexts/attachmentPickerContext/AttachmentPickerContext.js.map +1 -1
  409. package/lib/module/contexts/channelContext/ChannelContext.js.map +1 -1
  410. package/lib/module/contexts/channelsContext/ChannelsContext.js.map +1 -1
  411. package/lib/module/contexts/channelsStateContext/ChannelsStateContext.js.map +1 -1
  412. package/lib/module/contexts/channelsStateContext/useChannelState.js.map +1 -1
  413. package/lib/module/contexts/chatContext/ChatContext.js.map +1 -1
  414. package/lib/module/contexts/debugContext/DebugContext.js.map +1 -1
  415. package/lib/module/contexts/imageGalleryContext/ImageGalleryContext.js.map +1 -1
  416. package/lib/module/contexts/messageContext/MessageContext.js.map +1 -1
  417. package/lib/module/contexts/messageInputContext/MessageInputContext.js +95 -74
  418. package/lib/module/contexts/messageInputContext/MessageInputContext.js.map +1 -1
  419. package/lib/module/contexts/messageInputContext/hooks/useCreateMessageInputContext.js +2 -5
  420. package/lib/module/contexts/messageInputContext/hooks/useCreateMessageInputContext.js.map +1 -1
  421. package/lib/module/contexts/messageInputContext/hooks/useMessageDetailsForState.js +27 -32
  422. package/lib/module/contexts/messageInputContext/hooks/useMessageDetailsForState.js.map +1 -1
  423. package/lib/module/contexts/messageInputContext/utils/utils.js +4 -4
  424. package/lib/module/contexts/messageInputContext/utils/utils.js.map +1 -1
  425. package/lib/module/contexts/messagesContext/MessagesContext.js.map +1 -1
  426. package/lib/module/contexts/overlayContext/OverlayContext.js.map +1 -1
  427. package/lib/module/contexts/overlayContext/OverlayProvider.js.map +1 -1
  428. package/lib/module/contexts/paginatedMessageListContext/PaginatedMessageListContext.js.map +1 -1
  429. package/lib/module/contexts/pollContext/pollContext.js.map +1 -1
  430. package/lib/module/contexts/suggestionsContext/SuggestionsContext.js.map +1 -1
  431. package/lib/module/contexts/threadContext/ThreadContext.js.map +1 -1
  432. package/lib/module/contexts/threadsContext/ThreadListItemContext.js.map +1 -1
  433. package/lib/module/contexts/threadsContext/ThreadsContext.js +1 -1
  434. package/lib/module/contexts/threadsContext/ThreadsContext.js.map +1 -1
  435. package/lib/module/contexts/typingContext/TypingContext.js.map +1 -1
  436. package/lib/module/hooks/useSelectedChannelState.js.map +1 -1
  437. package/lib/module/hooks/useSyncClientEvents.js.map +1 -1
  438. package/lib/module/hooks/useTranslatedMessage.js.map +1 -1
  439. package/lib/module/mock-builders/api/channelMocks.js.map +1 -1
  440. package/lib/module/native.js.map +1 -1
  441. package/lib/module/store/apis/getChannelMessages.js.map +1 -1
  442. package/lib/module/store/apis/getChannels.js.map +1 -1
  443. package/lib/module/store/apis/getChannelsForFilterSort.js.map +1 -1
  444. package/lib/module/store/apis/getMembers.js.map +1 -1
  445. package/lib/module/store/apis/getReactions.js.map +1 -1
  446. package/lib/module/store/apis/getReactionsforFilterSort.js.map +1 -1
  447. package/lib/module/store/apis/getReads.js.map +1 -1
  448. package/lib/module/store/apis/queries/selectChannelIdsForFilterSort.js.map +1 -1
  449. package/lib/module/store/apis/updatePollMessage.js.map +1 -1
  450. package/lib/module/store/apis/upsertChannelDataFromChannel.js.map +1 -1
  451. package/lib/module/store/apis/utils/convertFilterSortToQuery.js.map +1 -1
  452. package/lib/module/store/mappers/mapChannelDataToStorable.js.map +1 -1
  453. package/lib/module/store/mappers/mapChannelToStorable.js.map +1 -1
  454. package/lib/module/store/mappers/mapMemberToStorable.js.map +1 -1
  455. package/lib/module/store/mappers/mapMessageToStorable.js.map +1 -1
  456. package/lib/module/store/mappers/mapReadToStorable.js.map +1 -1
  457. package/lib/module/store/mappers/mapStorableToChannel.js.map +1 -1
  458. package/lib/module/store/mappers/mapStorableToMember.js.map +1 -1
  459. package/lib/module/store/mappers/mapStorableToMessage.js.map +1 -1
  460. package/lib/module/store/mappers/mapStorableToPoll.js.map +1 -1
  461. package/lib/module/store/mappers/mapStorableToReaction.js.map +1 -1
  462. package/lib/module/store/mappers/mapStorableToRead.js.map +1 -1
  463. package/lib/module/store/mappers/mapStorableToUser.js.map +1 -1
  464. package/lib/module/types/stream-chat-common-custom-data.d.js +2 -0
  465. package/lib/module/types/stream-chat-common-custom-data.d.js.map +1 -0
  466. package/lib/module/types/types.js.map +1 -1
  467. package/lib/module/utils/ACITriggerSettings.js.map +1 -1
  468. package/lib/module/utils/DBSyncManager.js.map +1 -1
  469. package/lib/module/utils/addReactionToLocalState.js.map +1 -1
  470. package/lib/module/utils/compressImage.js +1 -1
  471. package/lib/module/utils/compressImage.js.map +1 -1
  472. package/lib/module/utils/i18n/Streami18n.js.map +1 -1
  473. package/lib/module/utils/queryMembers.js.map +1 -1
  474. package/lib/module/utils/queryUsers.js.map +1 -1
  475. package/lib/module/utils/removeReactionFromLocalState.js.map +1 -1
  476. package/lib/module/utils/removeReservedFields.js.map +1 -1
  477. package/lib/module/utils/utils.js +38 -24
  478. package/lib/module/utils/utils.js.map +1 -1
  479. package/lib/module/version.json +1 -1
  480. package/lib/typescript/components/AITypingIndicatorView/AITypingIndicatorView.d.ts +3 -4
  481. package/lib/typescript/components/AITypingIndicatorView/AITypingIndicatorView.d.ts.map +1 -1
  482. package/lib/typescript/components/AITypingIndicatorView/hooks/useAIState.d.ts +1 -2
  483. package/lib/typescript/components/AITypingIndicatorView/hooks/useAIState.d.ts.map +1 -1
  484. package/lib/typescript/components/Attachment/Attachment.d.ts +4 -5
  485. package/lib/typescript/components/Attachment/Attachment.d.ts.map +1 -1
  486. package/lib/typescript/components/Attachment/AttachmentActions.d.ts +3 -4
  487. package/lib/typescript/components/Attachment/AttachmentActions.d.ts.map +1 -1
  488. package/lib/typescript/components/Attachment/AudioAttachment.d.ts +2 -2
  489. package/lib/typescript/components/Attachment/AudioAttachment.d.ts.map +1 -1
  490. package/lib/typescript/components/Attachment/Card.d.ts +3 -4
  491. package/lib/typescript/components/Attachment/Card.d.ts.map +1 -1
  492. package/lib/typescript/components/Attachment/FileAttachment.d.ts +4 -5
  493. package/lib/typescript/components/Attachment/FileAttachment.d.ts.map +1 -1
  494. package/lib/typescript/components/Attachment/FileAttachmentGroup.d.ts +3 -4
  495. package/lib/typescript/components/Attachment/FileAttachmentGroup.d.ts.map +1 -1
  496. package/lib/typescript/components/Attachment/Gallery.d.ts +5 -6
  497. package/lib/typescript/components/Attachment/Gallery.d.ts.map +1 -1
  498. package/lib/typescript/components/Attachment/GalleryImage.d.ts +2 -3
  499. package/lib/typescript/components/Attachment/GalleryImage.d.ts.map +1 -1
  500. package/lib/typescript/components/Attachment/Giphy.d.ts +5 -6
  501. package/lib/typescript/components/Attachment/Giphy.d.ts.map +1 -1
  502. package/lib/typescript/components/Attachment/utils/buildGallery/buildGallery.d.ts +2 -3
  503. package/lib/typescript/components/Attachment/utils/buildGallery/buildGallery.d.ts.map +1 -1
  504. package/lib/typescript/components/Attachment/utils/buildGallery/buildGalleryOfSingleImage.d.ts +2 -3
  505. package/lib/typescript/components/Attachment/utils/buildGallery/buildGalleryOfSingleImage.d.ts.map +1 -1
  506. package/lib/typescript/components/Attachment/utils/buildGallery/buildGalleryOfThreeImages.d.ts +2 -3
  507. package/lib/typescript/components/Attachment/utils/buildGallery/buildGalleryOfThreeImages.d.ts.map +1 -1
  508. package/lib/typescript/components/Attachment/utils/buildGallery/buildGalleryOfTwoImages.d.ts +2 -3
  509. package/lib/typescript/components/Attachment/utils/buildGallery/buildGalleryOfTwoImages.d.ts.map +1 -1
  510. package/lib/typescript/components/Attachment/utils/buildGallery/buildThumbnail.d.ts +3 -4
  511. package/lib/typescript/components/Attachment/utils/buildGallery/buildThumbnail.d.ts.map +1 -1
  512. package/lib/typescript/components/Attachment/utils/buildGallery/buildThumbnailGrid.d.ts +2 -3
  513. package/lib/typescript/components/Attachment/utils/buildGallery/buildThumbnailGrid.d.ts.map +1 -1
  514. package/lib/typescript/components/Attachment/utils/getAspectRatio.d.ts +1 -2
  515. package/lib/typescript/components/Attachment/utils/getAspectRatio.d.ts.map +1 -1
  516. package/lib/typescript/components/AttachmentPicker/AttachmentPicker.d.ts.map +1 -1
  517. package/lib/typescript/components/AttachmentPicker/components/AttachmentPickerItem.d.ts +2 -2
  518. package/lib/typescript/components/AttachmentPicker/components/AttachmentPickerItem.d.ts.map +1 -1
  519. package/lib/typescript/components/AutoCompleteInput/AutoCompleteInput.d.ts +3 -4
  520. package/lib/typescript/components/AutoCompleteInput/AutoCompleteInput.d.ts.map +1 -1
  521. package/lib/typescript/components/AutoCompleteInput/AutoCompleteSuggestionCommandIcon.d.ts +2 -3
  522. package/lib/typescript/components/AutoCompleteInput/AutoCompleteSuggestionCommandIcon.d.ts.map +1 -1
  523. package/lib/typescript/components/AutoCompleteInput/AutoCompleteSuggestionHeader.d.ts +3 -4
  524. package/lib/typescript/components/AutoCompleteInput/AutoCompleteSuggestionHeader.d.ts.map +1 -1
  525. package/lib/typescript/components/AutoCompleteInput/AutoCompleteSuggestionItem.d.ts +4 -5
  526. package/lib/typescript/components/AutoCompleteInput/AutoCompleteSuggestionItem.d.ts.map +1 -1
  527. package/lib/typescript/components/AutoCompleteInput/AutoCompleteSuggestionList.d.ts +8 -9
  528. package/lib/typescript/components/AutoCompleteInput/AutoCompleteSuggestionList.d.ts.map +1 -1
  529. package/lib/typescript/components/Channel/Channel.d.ts +10 -11
  530. package/lib/typescript/components/Channel/Channel.d.ts.map +1 -1
  531. package/lib/typescript/components/Channel/hooks/useChannelDataState.d.ts +24 -26
  532. package/lib/typescript/components/Channel/hooks/useChannelDataState.d.ts.map +1 -1
  533. package/lib/typescript/components/Channel/hooks/useCreateChannelContext.d.ts +1 -2
  534. package/lib/typescript/components/Channel/hooks/useCreateChannelContext.d.ts.map +1 -1
  535. package/lib/typescript/components/Channel/hooks/useCreateInputMessageInputContext.d.ts +2 -3
  536. package/lib/typescript/components/Channel/hooks/useCreateInputMessageInputContext.d.ts.map +1 -1
  537. package/lib/typescript/components/Channel/hooks/useCreateMessagesContext.d.ts +2 -3
  538. package/lib/typescript/components/Channel/hooks/useCreateMessagesContext.d.ts.map +1 -1
  539. package/lib/typescript/components/Channel/hooks/useCreateOwnCapabilitiesContext.d.ts +2 -3
  540. package/lib/typescript/components/Channel/hooks/useCreateOwnCapabilitiesContext.d.ts.map +1 -1
  541. package/lib/typescript/components/Channel/hooks/useCreatePaginatedMessageListContext.d.ts +2 -3
  542. package/lib/typescript/components/Channel/hooks/useCreatePaginatedMessageListContext.d.ts.map +1 -1
  543. package/lib/typescript/components/Channel/hooks/useCreateThreadContext.d.ts +10 -11
  544. package/lib/typescript/components/Channel/hooks/useCreateThreadContext.d.ts.map +1 -1
  545. package/lib/typescript/components/Channel/hooks/useCreateTypingContext.d.ts +1 -2
  546. package/lib/typescript/components/Channel/hooks/useCreateTypingContext.d.ts.map +1 -1
  547. package/lib/typescript/components/Channel/hooks/useMessageListPagination.d.ts +7 -8
  548. package/lib/typescript/components/Channel/hooks/useMessageListPagination.d.ts.map +1 -1
  549. package/lib/typescript/components/ChannelList/ChannelList.d.ts +17 -17
  550. package/lib/typescript/components/ChannelList/ChannelList.d.ts.map +1 -1
  551. package/lib/typescript/components/ChannelList/ChannelListMessenger.d.ts +3 -4
  552. package/lib/typescript/components/ChannelList/ChannelListMessenger.d.ts.map +1 -1
  553. package/lib/typescript/components/ChannelList/hooks/listeners/useChannelUpdated.d.ts +4 -5
  554. package/lib/typescript/components/ChannelList/hooks/listeners/useChannelUpdated.d.ts.map +1 -1
  555. package/lib/typescript/components/ChannelList/hooks/useChannelMembershipState.d.ts +2 -3
  556. package/lib/typescript/components/ChannelList/hooks/useChannelMembershipState.d.ts.map +1 -1
  557. package/lib/typescript/components/ChannelList/hooks/useCreateChannelsContext.d.ts +1 -2
  558. package/lib/typescript/components/ChannelList/hooks/useCreateChannelsContext.d.ts.map +1 -1
  559. package/lib/typescript/components/ChannelList/hooks/usePaginatedChannels.d.ts +6 -7
  560. package/lib/typescript/components/ChannelList/hooks/usePaginatedChannels.d.ts.map +1 -1
  561. package/lib/typescript/components/ChannelList/hooks/utils/index.d.ts +12 -13
  562. package/lib/typescript/components/ChannelList/hooks/utils/index.d.ts.map +1 -1
  563. package/lib/typescript/components/ChannelList/utils.d.ts +8 -9
  564. package/lib/typescript/components/ChannelList/utils.d.ts.map +1 -1
  565. package/lib/typescript/components/ChannelPreview/ChannelAvatar.d.ts +3 -4
  566. package/lib/typescript/components/ChannelPreview/ChannelAvatar.d.ts.map +1 -1
  567. package/lib/typescript/components/ChannelPreview/ChannelPreview.d.ts +3 -4
  568. package/lib/typescript/components/ChannelPreview/ChannelPreview.d.ts.map +1 -1
  569. package/lib/typescript/components/ChannelPreview/ChannelPreviewMessage.d.ts +3 -4
  570. package/lib/typescript/components/ChannelPreview/ChannelPreviewMessage.d.ts.map +1 -1
  571. package/lib/typescript/components/ChannelPreview/ChannelPreviewMessenger.d.ts +4 -5
  572. package/lib/typescript/components/ChannelPreview/ChannelPreviewMessenger.d.ts.map +1 -1
  573. package/lib/typescript/components/ChannelPreview/ChannelPreviewStatus.d.ts +2 -3
  574. package/lib/typescript/components/ChannelPreview/ChannelPreviewStatus.d.ts.map +1 -1
  575. package/lib/typescript/components/ChannelPreview/ChannelPreviewTitle.d.ts +2 -3
  576. package/lib/typescript/components/ChannelPreview/ChannelPreviewTitle.d.ts.map +1 -1
  577. package/lib/typescript/components/ChannelPreview/ChannelPreviewUnreadCount.d.ts +2 -3
  578. package/lib/typescript/components/ChannelPreview/ChannelPreviewUnreadCount.d.ts.map +1 -1
  579. package/lib/typescript/components/ChannelPreview/hooks/useChannelPreviewData.d.ts +2 -3
  580. package/lib/typescript/components/ChannelPreview/hooks/useChannelPreviewData.d.ts.map +1 -1
  581. package/lib/typescript/components/ChannelPreview/hooks/useChannelPreviewDisplayAvatar.d.ts +2 -3
  582. package/lib/typescript/components/ChannelPreview/hooks/useChannelPreviewDisplayAvatar.d.ts.map +1 -1
  583. package/lib/typescript/components/ChannelPreview/hooks/useChannelPreviewDisplayName.d.ts +3 -4
  584. package/lib/typescript/components/ChannelPreview/hooks/useChannelPreviewDisplayName.d.ts.map +1 -1
  585. package/lib/typescript/components/ChannelPreview/hooks/useChannelPreviewDisplayPresence.d.ts +1 -2
  586. package/lib/typescript/components/ChannelPreview/hooks/useChannelPreviewDisplayPresence.d.ts.map +1 -1
  587. package/lib/typescript/components/ChannelPreview/hooks/useIsChannelMuted.d.ts +1 -2
  588. package/lib/typescript/components/ChannelPreview/hooks/useIsChannelMuted.d.ts.map +1 -1
  589. package/lib/typescript/components/ChannelPreview/hooks/useLatestMessagePreview.d.ts +5 -6
  590. package/lib/typescript/components/ChannelPreview/hooks/useLatestMessagePreview.d.ts.map +1 -1
  591. package/lib/typescript/components/Chat/Chat.d.ts +2 -12
  592. package/lib/typescript/components/Chat/Chat.d.ts.map +1 -1
  593. package/lib/typescript/components/Chat/hooks/handleEventToSyncDB.d.ts +1 -2
  594. package/lib/typescript/components/Chat/hooks/handleEventToSyncDB.d.ts.map +1 -1
  595. package/lib/typescript/components/Chat/hooks/useAppSettings.d.ts +1 -2
  596. package/lib/typescript/components/Chat/hooks/useAppSettings.d.ts.map +1 -1
  597. package/lib/typescript/components/Chat/hooks/useCreateChatClient.d.ts +4 -4
  598. package/lib/typescript/components/Chat/hooks/useCreateChatClient.d.ts.map +1 -1
  599. package/lib/typescript/components/Chat/hooks/useCreateChatContext.d.ts +1 -2
  600. package/lib/typescript/components/Chat/hooks/useCreateChatContext.d.ts.map +1 -1
  601. package/lib/typescript/components/Chat/hooks/useIsOnline.d.ts +1 -2
  602. package/lib/typescript/components/Chat/hooks/useIsOnline.d.ts.map +1 -1
  603. package/lib/typescript/components/Chat/hooks/useMutedUsers.d.ts +1 -2
  604. package/lib/typescript/components/Chat/hooks/useMutedUsers.d.ts.map +1 -1
  605. package/lib/typescript/components/Chat/hooks/useSyncDatabase.d.ts +3 -4
  606. package/lib/typescript/components/Chat/hooks/useSyncDatabase.d.ts.map +1 -1
  607. package/lib/typescript/components/ImageGallery/ImageGallery.d.ts +9 -10
  608. package/lib/typescript/components/ImageGallery/ImageGallery.d.ts.map +1 -1
  609. package/lib/typescript/components/ImageGallery/components/AnimatedGalleryVideo.d.ts.map +1 -1
  610. package/lib/typescript/components/ImageGallery/components/ImageGalleryFooter.d.ts +11 -12
  611. package/lib/typescript/components/ImageGallery/components/ImageGalleryFooter.d.ts.map +1 -1
  612. package/lib/typescript/components/ImageGallery/components/ImageGalleryHeader.d.ts +9 -10
  613. package/lib/typescript/components/ImageGallery/components/ImageGalleryHeader.d.ts.map +1 -1
  614. package/lib/typescript/components/ImageGallery/components/ImageGalleryVideoControl.d.ts.map +1 -1
  615. package/lib/typescript/components/ImageGallery/components/ImageGrid.d.ts +9 -10
  616. package/lib/typescript/components/ImageGallery/components/ImageGrid.d.ts.map +1 -1
  617. package/lib/typescript/components/Message/Message.d.ts +20 -22
  618. package/lib/typescript/components/Message/Message.d.ts.map +1 -1
  619. package/lib/typescript/components/Message/MessageSimple/MessageAvatar.d.ts +3 -4
  620. package/lib/typescript/components/Message/MessageSimple/MessageAvatar.d.ts.map +1 -1
  621. package/lib/typescript/components/Message/MessageSimple/MessageBounce.d.ts +4 -5
  622. package/lib/typescript/components/Message/MessageSimple/MessageBounce.d.ts.map +1 -1
  623. package/lib/typescript/components/Message/MessageSimple/MessageContent.d.ts +3 -4
  624. package/lib/typescript/components/Message/MessageSimple/MessageContent.d.ts.map +1 -1
  625. package/lib/typescript/components/Message/MessageSimple/MessageDeleted.d.ts +3 -4
  626. package/lib/typescript/components/Message/MessageSimple/MessageDeleted.d.ts.map +1 -1
  627. package/lib/typescript/components/Message/MessageSimple/MessageEditedTimestamp.d.ts +2 -3
  628. package/lib/typescript/components/Message/MessageSimple/MessageEditedTimestamp.d.ts.map +1 -1
  629. package/lib/typescript/components/Message/MessageSimple/MessageFooter.d.ts +6 -8
  630. package/lib/typescript/components/Message/MessageSimple/MessageFooter.d.ts.map +1 -1
  631. package/lib/typescript/components/Message/MessageSimple/MessagePinnedHeader.d.ts +2 -3
  632. package/lib/typescript/components/Message/MessageSimple/MessagePinnedHeader.d.ts.map +1 -1
  633. package/lib/typescript/components/Message/MessageSimple/MessageReplies.d.ts +3 -4
  634. package/lib/typescript/components/Message/MessageSimple/MessageReplies.d.ts.map +1 -1
  635. package/lib/typescript/components/Message/MessageSimple/MessageRepliesAvatars.d.ts +3 -4
  636. package/lib/typescript/components/Message/MessageSimple/MessageRepliesAvatars.d.ts.map +1 -1
  637. package/lib/typescript/components/Message/MessageSimple/MessageSimple.d.ts +3 -4
  638. package/lib/typescript/components/Message/MessageSimple/MessageSimple.d.ts.map +1 -1
  639. package/lib/typescript/components/Message/MessageSimple/MessageStatus.d.ts +3 -4
  640. package/lib/typescript/components/Message/MessageSimple/MessageStatus.d.ts.map +1 -1
  641. package/lib/typescript/components/Message/MessageSimple/MessageTextContainer.d.ts +5 -6
  642. package/lib/typescript/components/Message/MessageSimple/MessageTextContainer.d.ts.map +1 -1
  643. package/lib/typescript/components/Message/MessageSimple/ReactionList/ReactionListBottom.d.ts +4 -5
  644. package/lib/typescript/components/Message/MessageSimple/ReactionList/ReactionListBottom.d.ts.map +1 -1
  645. package/lib/typescript/components/Message/MessageSimple/ReactionList/ReactionListTop.d.ts +4 -5
  646. package/lib/typescript/components/Message/MessageSimple/ReactionList/ReactionListTop.d.ts.map +1 -1
  647. package/lib/typescript/components/Message/MessageSimple/StreamingMessageView.d.ts +2 -3
  648. package/lib/typescript/components/Message/MessageSimple/StreamingMessageView.d.ts.map +1 -1
  649. package/lib/typescript/components/Message/MessageSimple/utils/renderText.d.ts +4 -5
  650. package/lib/typescript/components/Message/MessageSimple/utils/renderText.d.ts.map +1 -1
  651. package/lib/typescript/components/Message/hooks/useCreateMessageContext.d.ts +1 -2
  652. package/lib/typescript/components/Message/hooks/useCreateMessageContext.d.ts.map +1 -1
  653. package/lib/typescript/components/Message/hooks/useMessageActionHandlers.d.ts +1 -2
  654. package/lib/typescript/components/Message/hooks/useMessageActionHandlers.d.ts.map +1 -1
  655. package/lib/typescript/components/Message/hooks/useMessageActions.d.ts +4 -5
  656. package/lib/typescript/components/Message/hooks/useMessageActions.d.ts.map +1 -1
  657. package/lib/typescript/components/Message/hooks/useMessageData.d.ts +2 -3
  658. package/lib/typescript/components/Message/hooks/useMessageData.d.ts.map +1 -1
  659. package/lib/typescript/components/Message/hooks/useProcessReactions.d.ts +5 -6
  660. package/lib/typescript/components/Message/hooks/useProcessReactions.d.ts.map +1 -1
  661. package/lib/typescript/components/Message/hooks/useStreamingMessage.d.ts +2 -3
  662. package/lib/typescript/components/Message/hooks/useStreamingMessage.d.ts.map +1 -1
  663. package/lib/typescript/components/Message/utils/messageActions.d.ts +4 -5
  664. package/lib/typescript/components/Message/utils/messageActions.d.ts.map +1 -1
  665. package/lib/typescript/components/MessageInput/AttachButton.d.ts +1 -2
  666. package/lib/typescript/components/MessageInput/AttachButton.d.ts.map +1 -1
  667. package/lib/typescript/components/MessageInput/CommandsButton.d.ts +3 -4
  668. package/lib/typescript/components/MessageInput/CommandsButton.d.ts.map +1 -1
  669. package/lib/typescript/components/MessageInput/FileUploadPreview.d.ts +2 -5
  670. package/lib/typescript/components/MessageInput/FileUploadPreview.d.ts.map +1 -1
  671. package/lib/typescript/components/MessageInput/ImageUploadPreview.d.ts +3 -4
  672. package/lib/typescript/components/MessageInput/ImageUploadPreview.d.ts.map +1 -1
  673. package/lib/typescript/components/MessageInput/InputButtons.d.ts +4 -5
  674. package/lib/typescript/components/MessageInput/InputButtons.d.ts.map +1 -1
  675. package/lib/typescript/components/MessageInput/MessageInput.d.ts +3 -4
  676. package/lib/typescript/components/MessageInput/MessageInput.d.ts.map +1 -1
  677. package/lib/typescript/components/MessageInput/MoreOptionsButton.d.ts.map +1 -1
  678. package/lib/typescript/components/MessageInput/SendButton.d.ts +3 -4
  679. package/lib/typescript/components/MessageInput/SendButton.d.ts.map +1 -1
  680. package/lib/typescript/components/MessageInput/ShowThreadMessageInChannelButton.d.ts +1 -2
  681. package/lib/typescript/components/MessageInput/ShowThreadMessageInChannelButton.d.ts.map +1 -1
  682. package/lib/typescript/components/MessageInput/components/AudioRecorder/AudioRecorder.d.ts +3 -4
  683. package/lib/typescript/components/MessageInput/components/AudioRecorder/AudioRecorder.d.ts.map +1 -1
  684. package/lib/typescript/components/MessageInput/components/AudioRecorder/AudioRecordingButton.d.ts +3 -4
  685. package/lib/typescript/components/MessageInput/components/AudioRecorder/AudioRecordingButton.d.ts.map +1 -1
  686. package/lib/typescript/components/MessageInput/components/AudioRecorder/AudioRecordingInProgress.d.ts +3 -4
  687. package/lib/typescript/components/MessageInput/components/AudioRecorder/AudioRecordingInProgress.d.ts.map +1 -1
  688. package/lib/typescript/components/MessageInput/components/InputEditingStateHeader.d.ts +2 -3
  689. package/lib/typescript/components/MessageInput/components/InputEditingStateHeader.d.ts.map +1 -1
  690. package/lib/typescript/components/MessageInput/components/InputGiphySearch.d.ts +2 -3
  691. package/lib/typescript/components/MessageInput/components/InputGiphySearch.d.ts.map +1 -1
  692. package/lib/typescript/components/MessageInput/components/InputReplyStateHeader.d.ts +2 -3
  693. package/lib/typescript/components/MessageInput/components/InputReplyStateHeader.d.ts.map +1 -1
  694. package/lib/typescript/components/MessageInput/hooks/useAudioController.d.ts.map +1 -1
  695. package/lib/typescript/components/MessageInput/hooks/useCooldown.d.ts +1 -2
  696. package/lib/typescript/components/MessageInput/hooks/useCooldown.d.ts.map +1 -1
  697. package/lib/typescript/components/MessageList/InlineLoadingMoreIndicator.d.ts +1 -2
  698. package/lib/typescript/components/MessageList/InlineLoadingMoreIndicator.d.ts.map +1 -1
  699. package/lib/typescript/components/MessageList/InlineLoadingMoreRecentIndicator.d.ts +1 -2
  700. package/lib/typescript/components/MessageList/InlineLoadingMoreRecentIndicator.d.ts.map +1 -1
  701. package/lib/typescript/components/MessageList/InlineLoadingMoreRecentThreadIndicator.d.ts +1 -2
  702. package/lib/typescript/components/MessageList/InlineLoadingMoreRecentThreadIndicator.d.ts.map +1 -1
  703. package/lib/typescript/components/MessageList/MessageList.d.ts +7 -8
  704. package/lib/typescript/components/MessageList/MessageList.d.ts.map +1 -1
  705. package/lib/typescript/components/MessageList/MessageSystem.d.ts +4 -5
  706. package/lib/typescript/components/MessageList/MessageSystem.d.ts.map +1 -1
  707. package/lib/typescript/components/MessageList/StickyHeader.d.ts +1 -2
  708. package/lib/typescript/components/MessageList/StickyHeader.d.ts.map +1 -1
  709. package/lib/typescript/components/MessageList/TypingIndicator.d.ts +1 -2
  710. package/lib/typescript/components/MessageList/TypingIndicator.d.ts.map +1 -1
  711. package/lib/typescript/components/MessageList/TypingIndicatorContainer.d.ts +3 -4
  712. package/lib/typescript/components/MessageList/TypingIndicatorContainer.d.ts.map +1 -1
  713. package/lib/typescript/components/MessageList/hooks/useMessageList.d.ts +12 -12
  714. package/lib/typescript/components/MessageList/hooks/useMessageList.d.ts.map +1 -1
  715. package/lib/typescript/components/MessageList/hooks/useShouldScrollToRecentOnNewOwnMessage.d.ts +2 -3
  716. package/lib/typescript/components/MessageList/hooks/useShouldScrollToRecentOnNewOwnMessage.d.ts.map +1 -1
  717. package/lib/typescript/components/MessageList/hooks/useTypingString.d.ts +1 -2
  718. package/lib/typescript/components/MessageList/hooks/useTypingString.d.ts.map +1 -1
  719. package/lib/typescript/components/MessageList/utils/filterTypingUsers.d.ts +2 -3
  720. package/lib/typescript/components/MessageList/utils/filterTypingUsers.d.ts.map +1 -1
  721. package/lib/typescript/components/MessageList/utils/getDateSeparators.d.ts +3 -4
  722. package/lib/typescript/components/MessageList/utils/getDateSeparators.d.ts.map +1 -1
  723. package/lib/typescript/components/MessageList/utils/getGroupStyles.d.ts +3 -4
  724. package/lib/typescript/components/MessageList/utils/getGroupStyles.d.ts.map +1 -1
  725. package/lib/typescript/components/MessageList/utils/getLastReceivedMessage.d.ts +2 -3
  726. package/lib/typescript/components/MessageList/utils/getLastReceivedMessage.d.ts.map +1 -1
  727. package/lib/typescript/components/MessageList/utils/getReadState.d.ts +9 -0
  728. package/lib/typescript/components/MessageList/utils/getReadState.d.ts.map +1 -0
  729. package/lib/typescript/components/MessageMenu/MessageMenu.d.ts +2 -3
  730. package/lib/typescript/components/MessageMenu/MessageMenu.d.ts.map +1 -1
  731. package/lib/typescript/components/MessageMenu/MessageReactionPicker.d.ts +2 -3
  732. package/lib/typescript/components/MessageMenu/MessageReactionPicker.d.ts.map +1 -1
  733. package/lib/typescript/components/MessageMenu/MessageUserReactions.d.ts +2 -2
  734. package/lib/typescript/components/MessageMenu/MessageUserReactions.d.ts.map +1 -1
  735. package/lib/typescript/components/MessageMenu/MessageUserReactionsItem.d.ts +3 -3
  736. package/lib/typescript/components/MessageMenu/MessageUserReactionsItem.d.ts.map +1 -1
  737. package/lib/typescript/components/MessageMenu/hooks/useFetchReactions.d.ts +6 -8
  738. package/lib/typescript/components/MessageMenu/hooks/useFetchReactions.d.ts.map +1 -1
  739. package/lib/typescript/components/Poll/Poll.d.ts +2 -3
  740. package/lib/typescript/components/Poll/Poll.d.ts.map +1 -1
  741. package/lib/typescript/components/Poll/components/Button.d.ts +5 -7
  742. package/lib/typescript/components/Poll/components/Button.d.ts.map +1 -1
  743. package/lib/typescript/components/Poll/components/PollAnswersList.d.ts +2 -3
  744. package/lib/typescript/components/Poll/components/PollAnswersList.d.ts.map +1 -1
  745. package/lib/typescript/components/Poll/components/PollResults/PollOptionFullResults.d.ts +4 -5
  746. package/lib/typescript/components/Poll/components/PollResults/PollOptionFullResults.d.ts.map +1 -1
  747. package/lib/typescript/components/Poll/components/PollResults/PollResultItem.d.ts +8 -10
  748. package/lib/typescript/components/Poll/components/PollResults/PollResultItem.d.ts.map +1 -1
  749. package/lib/typescript/components/Poll/hooks/usePollState.d.ts +3 -4
  750. package/lib/typescript/components/Poll/hooks/usePollState.d.ts.map +1 -1
  751. package/lib/typescript/components/Reply/Reply.d.ts +3 -4
  752. package/lib/typescript/components/Reply/Reply.d.ts.map +1 -1
  753. package/lib/typescript/components/Thread/Thread.d.ts +6 -7
  754. package/lib/typescript/components/Thread/Thread.d.ts.map +1 -1
  755. package/lib/typescript/components/Thread/components/ThreadFooterComponent.d.ts +2 -3
  756. package/lib/typescript/components/Thread/components/ThreadFooterComponent.d.ts.map +1 -1
  757. package/lib/typescript/components/ThreadList/ThreadList.d.ts +1 -2
  758. package/lib/typescript/components/ThreadList/ThreadList.d.ts.map +1 -1
  759. package/lib/typescript/components/ThreadList/ThreadListItem.d.ts.map +1 -1
  760. package/lib/typescript/components/index.d.ts +1 -10
  761. package/lib/typescript/components/index.d.ts.map +1 -1
  762. package/lib/typescript/contexts/attachmentPickerContext/AttachmentPickerContext.d.ts +3 -3
  763. package/lib/typescript/contexts/attachmentPickerContext/AttachmentPickerContext.d.ts.map +1 -1
  764. package/lib/typescript/contexts/channelContext/ChannelContext.d.ts +15 -15
  765. package/lib/typescript/contexts/channelContext/ChannelContext.d.ts.map +1 -1
  766. package/lib/typescript/contexts/channelsContext/ChannelsContext.d.ts +15 -16
  767. package/lib/typescript/contexts/channelsContext/ChannelsContext.d.ts.map +1 -1
  768. package/lib/typescript/contexts/channelsStateContext/ChannelsStateContext.d.ts +11 -12
  769. package/lib/typescript/contexts/channelsStateContext/ChannelsStateContext.d.ts.map +1 -1
  770. package/lib/typescript/contexts/channelsStateContext/useChannelState.d.ts +6 -7
  771. package/lib/typescript/contexts/channelsStateContext/useChannelState.d.ts.map +1 -1
  772. package/lib/typescript/contexts/chatContext/ChatContext.d.ts +11 -12
  773. package/lib/typescript/contexts/chatContext/ChatContext.d.ts.map +1 -1
  774. package/lib/typescript/contexts/debugContext/DebugContext.d.ts +12 -14
  775. package/lib/typescript/contexts/debugContext/DebugContext.d.ts.map +1 -1
  776. package/lib/typescript/contexts/imageGalleryContext/ImageGalleryContext.d.ts +8 -8
  777. package/lib/typescript/contexts/imageGalleryContext/ImageGalleryContext.d.ts.map +1 -1
  778. package/lib/typescript/contexts/messageContext/MessageContext.d.ts +16 -15
  779. package/lib/typescript/contexts/messageContext/MessageContext.d.ts.map +1 -1
  780. package/lib/typescript/contexts/messageInputContext/MessageInputContext.d.ts +42 -46
  781. package/lib/typescript/contexts/messageInputContext/MessageInputContext.d.ts.map +1 -1
  782. package/lib/typescript/contexts/messageInputContext/hooks/useCreateMessageInputContext.d.ts +1 -2
  783. package/lib/typescript/contexts/messageInputContext/hooks/useCreateMessageInputContext.d.ts.map +1 -1
  784. package/lib/typescript/contexts/messageInputContext/hooks/useMessageDetailsForState.d.ts +4 -4
  785. package/lib/typescript/contexts/messageInputContext/hooks/useMessageDetailsForState.d.ts.map +1 -1
  786. package/lib/typescript/contexts/messageInputContext/utils/utils.d.ts +2 -2
  787. package/lib/typescript/contexts/messageInputContext/utils/utils.d.ts.map +1 -1
  788. package/lib/typescript/contexts/messagesContext/MessagesContext.d.ts +64 -66
  789. package/lib/typescript/contexts/messagesContext/MessagesContext.d.ts.map +1 -1
  790. package/lib/typescript/contexts/overlayContext/OverlayContext.d.ts +1 -2
  791. package/lib/typescript/contexts/overlayContext/OverlayContext.d.ts.map +1 -1
  792. package/lib/typescript/contexts/overlayContext/OverlayProvider.d.ts +1 -2
  793. package/lib/typescript/contexts/overlayContext/OverlayProvider.d.ts.map +1 -1
  794. package/lib/typescript/contexts/paginatedMessageListContext/PaginatedMessageListContext.d.ts +6 -7
  795. package/lib/typescript/contexts/paginatedMessageListContext/PaginatedMessageListContext.d.ts.map +1 -1
  796. package/lib/typescript/contexts/pollContext/pollContext.d.ts +8 -10
  797. package/lib/typescript/contexts/pollContext/pollContext.d.ts.map +1 -1
  798. package/lib/typescript/contexts/suggestionsContext/SuggestionsContext.d.ts +18 -19
  799. package/lib/typescript/contexts/suggestionsContext/SuggestionsContext.d.ts.map +1 -1
  800. package/lib/typescript/contexts/threadContext/ThreadContext.d.ts +11 -13
  801. package/lib/typescript/contexts/threadContext/ThreadContext.d.ts.map +1 -1
  802. package/lib/typescript/contexts/threadsContext/ThreadListItemContext.d.ts +10 -12
  803. package/lib/typescript/contexts/threadsContext/ThreadListItemContext.d.ts.map +1 -1
  804. package/lib/typescript/contexts/threadsContext/ThreadsContext.d.ts +6 -7
  805. package/lib/typescript/contexts/threadsContext/ThreadsContext.d.ts.map +1 -1
  806. package/lib/typescript/contexts/typingContext/TypingContext.d.ts +6 -7
  807. package/lib/typescript/contexts/typingContext/TypingContext.d.ts.map +1 -1
  808. package/lib/typescript/hooks/useSelectedChannelState.d.ts +6 -7
  809. package/lib/typescript/hooks/useSelectedChannelState.d.ts.map +1 -1
  810. package/lib/typescript/hooks/useSyncClientEvents.d.ts +8 -9
  811. package/lib/typescript/hooks/useSyncClientEvents.d.ts.map +1 -1
  812. package/lib/typescript/hooks/useTranslatedMessage.d.ts +113 -3
  813. package/lib/typescript/hooks/useTranslatedMessage.d.ts.map +1 -1
  814. package/lib/typescript/native.d.ts +8 -10
  815. package/lib/typescript/native.d.ts.map +1 -1
  816. package/lib/typescript/store/apis/getChannelMessages.d.ts +2 -3
  817. package/lib/typescript/store/apis/getChannelMessages.d.ts.map +1 -1
  818. package/lib/typescript/store/apis/getChannels.d.ts +2 -3
  819. package/lib/typescript/store/apis/getChannels.d.ts.map +1 -1
  820. package/lib/typescript/store/apis/getChannelsForFilterSort.d.ts +4 -5
  821. package/lib/typescript/store/apis/getChannelsForFilterSort.d.ts.map +1 -1
  822. package/lib/typescript/store/apis/getMembers.d.ts +2 -3
  823. package/lib/typescript/store/apis/getMembers.d.ts.map +1 -1
  824. package/lib/typescript/store/apis/getReactions.d.ts +2 -3
  825. package/lib/typescript/store/apis/getReactions.d.ts.map +1 -1
  826. package/lib/typescript/store/apis/getReactionsforFilterSort.d.ts +4 -5
  827. package/lib/typescript/store/apis/getReactionsforFilterSort.d.ts.map +1 -1
  828. package/lib/typescript/store/apis/getReads.d.ts +2 -3
  829. package/lib/typescript/store/apis/getReads.d.ts.map +1 -1
  830. package/lib/typescript/store/apis/insertReaction.d.ts +2 -2
  831. package/lib/typescript/store/apis/insertReaction.d.ts.map +1 -1
  832. package/lib/typescript/store/apis/queries/selectChannelIdsForFilterSort.d.ts +3 -4
  833. package/lib/typescript/store/apis/queries/selectChannelIdsForFilterSort.d.ts.map +1 -1
  834. package/lib/typescript/store/apis/updateMessage.d.ts +2 -2
  835. package/lib/typescript/store/apis/updateMessage.d.ts.map +1 -1
  836. package/lib/typescript/store/apis/updatePollMessage.d.ts +3 -4
  837. package/lib/typescript/store/apis/updatePollMessage.d.ts.map +1 -1
  838. package/lib/typescript/store/apis/updateReaction.d.ts +2 -2
  839. package/lib/typescript/store/apis/updateReaction.d.ts.map +1 -1
  840. package/lib/typescript/store/apis/upsertChannelDataFromChannel.d.ts +2 -3
  841. package/lib/typescript/store/apis/upsertChannelDataFromChannel.d.ts.map +1 -1
  842. package/lib/typescript/store/apis/utils/convertFilterSortToQuery.d.ts +3 -4
  843. package/lib/typescript/store/apis/utils/convertFilterSortToQuery.d.ts.map +1 -1
  844. package/lib/typescript/store/mappers/mapChannelDataToStorable.d.ts +1 -2
  845. package/lib/typescript/store/mappers/mapChannelDataToStorable.d.ts.map +1 -1
  846. package/lib/typescript/store/mappers/mapChannelToStorable.d.ts +1 -2
  847. package/lib/typescript/store/mappers/mapChannelToStorable.d.ts.map +1 -1
  848. package/lib/typescript/store/mappers/mapMemberToStorable.d.ts +2 -3
  849. package/lib/typescript/store/mappers/mapMemberToStorable.d.ts.map +1 -1
  850. package/lib/typescript/store/mappers/mapMessageToStorable.d.ts +2 -2
  851. package/lib/typescript/store/mappers/mapMessageToStorable.d.ts.map +1 -1
  852. package/lib/typescript/store/mappers/mapReadToStorable.d.ts +2 -3
  853. package/lib/typescript/store/mappers/mapReadToStorable.d.ts.map +1 -1
  854. package/lib/typescript/store/mappers/mapStorableToChannel.d.ts +1 -2
  855. package/lib/typescript/store/mappers/mapStorableToChannel.d.ts.map +1 -1
  856. package/lib/typescript/store/mappers/mapStorableToMember.d.ts +1 -2
  857. package/lib/typescript/store/mappers/mapStorableToMember.d.ts.map +1 -1
  858. package/lib/typescript/store/mappers/mapStorableToMessage.d.ts +2 -3
  859. package/lib/typescript/store/mappers/mapStorableToMessage.d.ts.map +1 -1
  860. package/lib/typescript/store/mappers/mapStorableToPoll.d.ts +1 -2
  861. package/lib/typescript/store/mappers/mapStorableToPoll.d.ts.map +1 -1
  862. package/lib/typescript/store/mappers/mapStorableToReaction.d.ts +1 -2
  863. package/lib/typescript/store/mappers/mapStorableToReaction.d.ts.map +1 -1
  864. package/lib/typescript/store/mappers/mapStorableToRead.d.ts +1 -2
  865. package/lib/typescript/store/mappers/mapStorableToRead.d.ts.map +1 -1
  866. package/lib/typescript/store/mappers/mapStorableToUser.d.ts +1 -2
  867. package/lib/typescript/store/mappers/mapStorableToUser.d.ts.map +1 -1
  868. package/lib/typescript/types/types.d.ts +46 -60
  869. package/lib/typescript/types/types.d.ts.map +1 -1
  870. package/lib/typescript/utils/ACITriggerSettings.d.ts +14 -15
  871. package/lib/typescript/utils/ACITriggerSettings.d.ts.map +1 -1
  872. package/lib/typescript/utils/DBSyncManager.d.ts +8 -9
  873. package/lib/typescript/utils/DBSyncManager.d.ts.map +1 -1
  874. package/lib/typescript/utils/addReactionToLocalState.d.ts +3 -4
  875. package/lib/typescript/utils/addReactionToLocalState.d.ts.map +1 -1
  876. package/lib/typescript/utils/compressImage.d.ts +2 -2
  877. package/lib/typescript/utils/compressImage.d.ts.map +1 -1
  878. package/lib/typescript/utils/i18n/Streami18n.d.ts +3 -4
  879. package/lib/typescript/utils/i18n/Streami18n.d.ts.map +1 -1
  880. package/lib/typescript/utils/queryMembers.d.ts +5 -6
  881. package/lib/typescript/utils/queryMembers.d.ts.map +1 -1
  882. package/lib/typescript/utils/queryUsers.d.ts +5 -6
  883. package/lib/typescript/utils/queryUsers.d.ts.map +1 -1
  884. package/lib/typescript/utils/removeReactionFromLocalState.d.ts +3 -4
  885. package/lib/typescript/utils/removeReactionFromLocalState.d.ts.map +1 -1
  886. package/lib/typescript/utils/removeReservedFields.d.ts +2 -4
  887. package/lib/typescript/utils/removeReservedFields.d.ts.map +1 -1
  888. package/lib/typescript/utils/utils.d.ts +12 -12
  889. package/lib/typescript/utils/utils.d.ts.map +1 -1
  890. package/package.json +4 -4
  891. package/src/components/AITypingIndicatorView/AITypingIndicatorView.tsx +5 -10
  892. package/src/components/AITypingIndicatorView/hooks/useAIState.ts +9 -17
  893. package/src/components/Attachment/Attachment.tsx +15 -29
  894. package/src/components/Attachment/AttachmentActions.tsx +10 -24
  895. package/src/components/Attachment/AudioAttachment.tsx +2 -2
  896. package/src/components/Attachment/Card.tsx +14 -36
  897. package/src/components/Attachment/FileAttachment.tsx +11 -24
  898. package/src/components/Attachment/FileAttachmentGroup.tsx +19 -30
  899. package/src/components/Attachment/Gallery.tsx +26 -49
  900. package/src/components/Attachment/GalleryImage.tsx +4 -10
  901. package/src/components/Attachment/Giphy.tsx +19 -31
  902. package/src/components/Attachment/utils/buildGallery/buildGallery.ts +2 -5
  903. package/src/components/Attachment/utils/buildGallery/buildGalleryOfSingleImage.ts +10 -8
  904. package/src/components/Attachment/utils/buildGallery/buildGalleryOfThreeImages.ts +5 -7
  905. package/src/components/Attachment/utils/buildGallery/buildGalleryOfTwoImages.ts +3 -5
  906. package/src/components/Attachment/utils/buildGallery/buildThumbnail.ts +4 -9
  907. package/src/components/Attachment/utils/buildGallery/buildThumbnailGrid.ts +2 -6
  908. package/src/components/Attachment/utils/getAspectRatio.ts +2 -4
  909. package/src/components/AttachmentPicker/AttachmentPicker.tsx +4 -10
  910. package/src/components/AttachmentPicker/components/AttachmentPickerItem.tsx +9 -37
  911. package/src/components/AutoCompleteInput/AutoCompleteInput.tsx +25 -39
  912. package/src/components/AutoCompleteInput/AutoCompleteSuggestionCommandIcon.tsx +2 -5
  913. package/src/components/AutoCompleteInput/AutoCompleteSuggestionHeader.tsx +13 -19
  914. package/src/components/AutoCompleteInput/AutoCompleteSuggestionItem.tsx +17 -22
  915. package/src/components/AutoCompleteInput/AutoCompleteSuggestionList.tsx +19 -32
  916. package/src/components/AutoCompleteInput/__tests__/AutoCompleteInput.test.js +12 -12
  917. package/src/components/Channel/Channel.tsx +209 -237
  918. package/src/components/Channel/hooks/useChannelDataState.ts +39 -62
  919. package/src/components/Channel/hooks/useCreateChannelContext.ts +3 -6
  920. package/src/components/Channel/hooks/useCreateInputMessageInputContext.ts +3 -6
  921. package/src/components/Channel/hooks/useCreateMessagesContext.ts +3 -6
  922. package/src/components/Channel/hooks/useCreateOwnCapabilitiesContext.ts +2 -5
  923. package/src/components/Channel/hooks/useCreatePaginatedMessageListContext.ts +4 -6
  924. package/src/components/Channel/hooks/useCreateThreadContext.ts +2 -5
  925. package/src/components/Channel/hooks/useCreateTypingContext.ts +2 -7
  926. package/src/components/Channel/hooks/useMessageListPagination.tsx +7 -18
  927. package/src/components/ChannelList/ChannelList.tsx +36 -44
  928. package/src/components/ChannelList/ChannelListMessenger.tsx +12 -37
  929. package/src/components/ChannelList/hooks/listeners/useChannelUpdated.ts +11 -19
  930. package/src/components/ChannelList/hooks/useChannelMembershipState.ts +4 -14
  931. package/src/components/ChannelList/hooks/useCreateChannelsContext.ts +3 -6
  932. package/src/components/ChannelList/hooks/usePaginatedChannels.ts +13 -18
  933. package/src/components/ChannelList/hooks/utils/index.ts +10 -33
  934. package/src/components/ChannelList/utils.ts +9 -23
  935. package/src/components/ChannelPreview/ChannelAvatar.tsx +6 -14
  936. package/src/components/ChannelPreview/ChannelPreview.tsx +6 -14
  937. package/src/components/ChannelPreview/ChannelPreviewMessage.tsx +3 -11
  938. package/src/components/ChannelPreview/ChannelPreviewMessenger.tsx +11 -30
  939. package/src/components/ChannelPreview/ChannelPreviewStatus.tsx +4 -11
  940. package/src/components/ChannelPreview/ChannelPreviewTitle.tsx +2 -9
  941. package/src/components/ChannelPreview/ChannelPreviewUnreadCount.tsx +3 -11
  942. package/src/components/ChannelPreview/hooks/__tests__/useChannelPreviewDisplayName.test.tsx +5 -8
  943. package/src/components/ChannelPreview/hooks/__tests__/useChannelPreviewDisplayPresence.test.tsx +12 -13
  944. package/src/components/ChannelPreview/hooks/__tests__/useChannelPreviewMuted.test.tsx +3 -4
  945. package/src/components/ChannelPreview/hooks/__tests__/useLatestMessagePreview.test.tsx +2 -3
  946. package/src/components/ChannelPreview/hooks/useChannelPreviewData.ts +7 -11
  947. package/src/components/ChannelPreview/hooks/useChannelPreviewDisplayAvatar.ts +3 -14
  948. package/src/components/ChannelPreview/hooks/useChannelPreviewDisplayName.ts +4 -13
  949. package/src/components/ChannelPreview/hooks/useChannelPreviewDisplayPresence.ts +3 -9
  950. package/src/components/ChannelPreview/hooks/useIsChannelMuted.ts +2 -8
  951. package/src/components/ChannelPreview/hooks/useLatestMessagePreview.ts +25 -51
  952. package/src/components/Chat/Chat.tsx +11 -33
  953. package/src/components/Chat/hooks/handleEventToSyncDB.ts +1 -8
  954. package/src/components/Chat/hooks/useAppSettings.ts +2 -5
  955. package/src/components/Chat/hooks/useCreateChatClient.ts +4 -6
  956. package/src/components/Chat/hooks/useCreateChatContext.ts +3 -6
  957. package/src/components/Chat/hooks/useIsOnline.ts +2 -9
  958. package/src/components/Chat/hooks/useMutedUsers.ts +3 -11
  959. package/src/components/Chat/hooks/useSyncDatabase.ts +3 -11
  960. package/src/components/ImageGallery/ImageGallery.tsx +34 -38
  961. package/src/components/ImageGallery/__tests__/AnimatedVideoGallery.test.tsx +0 -72
  962. package/src/components/ImageGallery/__tests__/ImageGallery.test.tsx +9 -8
  963. package/src/components/ImageGallery/__tests__/ImageGalleryFooter.test.tsx +5 -5
  964. package/src/components/ImageGallery/__tests__/ImageGalleryHeader.test.tsx +6 -5
  965. package/src/components/ImageGallery/__tests__/ImageGalleryOverlay.test.tsx +4 -3
  966. package/src/components/ImageGallery/components/AnimatedGalleryVideo.tsx +0 -33
  967. package/src/components/ImageGallery/components/ImageGalleryFooter.tsx +17 -31
  968. package/src/components/ImageGallery/components/ImageGalleryHeader.tsx +13 -23
  969. package/src/components/ImageGallery/components/ImageGalleryVideoControl.tsx +4 -2
  970. package/src/components/ImageGallery/components/ImageGrid.tsx +15 -39
  971. package/src/components/Message/Message.tsx +52 -83
  972. package/src/components/Message/MessageSimple/MessageAvatar.tsx +11 -25
  973. package/src/components/Message/MessageSimple/MessageBounce.tsx +12 -27
  974. package/src/components/Message/MessageSimple/MessageContent.tsx +17 -27
  975. package/src/components/Message/MessageSimple/MessageDeleted.tsx +11 -25
  976. package/src/components/Message/MessageSimple/MessageEditedTimestamp.tsx +4 -11
  977. package/src/components/Message/MessageSimple/MessageFooter.tsx +15 -29
  978. package/src/components/Message/MessageSimple/MessagePinnedHeader.tsx +3 -11
  979. package/src/components/Message/MessageSimple/MessageReplies.tsx +11 -25
  980. package/src/components/Message/MessageSimple/MessageRepliesAvatars.tsx +4 -13
  981. package/src/components/Message/MessageSimple/MessageSimple.tsx +13 -25
  982. package/src/components/Message/MessageSimple/MessageStatus.tsx +26 -36
  983. package/src/components/Message/MessageSimple/MessageTextContainer.tsx +17 -34
  984. package/src/components/Message/MessageSimple/ReactionList/ReactionListBottom.tsx +11 -24
  985. package/src/components/Message/MessageSimple/ReactionList/ReactionListTop.tsx +10 -23
  986. package/src/components/Message/MessageSimple/StreamingMessageView.tsx +4 -10
  987. package/src/components/Message/MessageSimple/__tests__/MessageStatus.test.js +11 -5
  988. package/src/components/Message/MessageSimple/__tests__/MessageTextContainer.test.tsx +5 -4
  989. package/src/components/Message/MessageSimple/utils/renderText.tsx +7 -16
  990. package/src/components/Message/hooks/useCreateMessageContext.ts +7 -6
  991. package/src/components/Message/hooks/useMessageActionHandlers.ts +6 -11
  992. package/src/components/Message/hooks/useMessageActions.tsx +13 -16
  993. package/src/components/Message/hooks/useMessageData.ts +4 -12
  994. package/src/components/Message/hooks/useProcessReactions.ts +11 -27
  995. package/src/components/Message/hooks/useStreamingMessage.ts +4 -9
  996. package/src/components/Message/utils/messageActions.ts +6 -12
  997. package/src/components/MessageInput/AttachButton.tsx +2 -9
  998. package/src/components/MessageInput/CommandsButton.tsx +8 -22
  999. package/src/components/MessageInput/FileUploadPreview.tsx +41 -82
  1000. package/src/components/MessageInput/ImageUploadPreview.tsx +13 -25
  1001. package/src/components/MessageInput/InputButtons.tsx +9 -23
  1002. package/src/components/MessageInput/MessageInput.tsx +38 -56
  1003. package/src/components/MessageInput/MoreOptionsButton.tsx +1 -1
  1004. package/src/components/MessageInput/SendButton.tsx +6 -23
  1005. package/src/components/MessageInput/ShowThreadMessageInChannelButton.tsx +3 -10
  1006. package/src/components/MessageInput/__tests__/FileUploadPreview.test.js +1 -1
  1007. package/src/components/MessageInput/__tests__/MessageInput.test.js +3 -1
  1008. package/src/components/MessageInput/components/AudioRecorder/AudioRecorder.tsx +12 -22
  1009. package/src/components/MessageInput/components/AudioRecorder/AudioRecordingButton.tsx +12 -22
  1010. package/src/components/MessageInput/components/AudioRecorder/AudioRecordingInProgress.tsx +11 -22
  1011. package/src/components/MessageInput/components/InputEditingStateHeader.tsx +6 -9
  1012. package/src/components/MessageInput/components/InputGiphySearch.tsx +7 -11
  1013. package/src/components/MessageInput/components/InputReplyStateHeader.tsx +4 -9
  1014. package/src/components/MessageInput/hooks/useAudioController.tsx +6 -5
  1015. package/src/components/MessageInput/hooks/useCooldown.ts +5 -7
  1016. package/src/components/MessageList/InlineLoadingMoreIndicator.tsx +2 -6
  1017. package/src/components/MessageList/InlineLoadingMoreRecentIndicator.tsx +2 -6
  1018. package/src/components/MessageList/InlineLoadingMoreRecentThreadIndicator.tsx +2 -6
  1019. package/src/components/MessageList/MessageList.tsx +91 -121
  1020. package/src/components/MessageList/MessageSystem.tsx +4 -11
  1021. package/src/components/MessageList/StickyHeader.tsx +1 -4
  1022. package/src/components/MessageList/TypingIndicator.tsx +2 -5
  1023. package/src/components/MessageList/TypingIndicatorContainer.tsx +12 -22
  1024. package/src/components/MessageList/__tests__/useMessageList.test.tsx +3 -3
  1025. package/src/components/MessageList/hooks/useMessageList.ts +55 -81
  1026. package/src/components/MessageList/hooks/useShouldScrollToRecentOnNewOwnMessage.ts +5 -6
  1027. package/src/components/MessageList/hooks/useTypingString.ts +4 -7
  1028. package/src/components/MessageList/utils/filterTypingUsers.ts +6 -15
  1029. package/src/components/MessageList/utils/getDateSeparators.ts +3 -12
  1030. package/src/components/MessageList/utils/getGroupStyles.ts +12 -20
  1031. package/src/components/MessageList/utils/getLastReceivedMessage.ts +3 -8
  1032. package/src/components/MessageList/utils/getReadState.ts +27 -0
  1033. package/src/components/MessageMenu/MessageMenu.tsx +6 -13
  1034. package/src/components/MessageMenu/MessageReactionPicker.tsx +4 -10
  1035. package/src/components/MessageMenu/MessageUserReactions.tsx +4 -6
  1036. package/src/components/MessageMenu/MessageUserReactionsItem.tsx +7 -8
  1037. package/src/components/MessageMenu/__tests__/MessageUserReactions.test.tsx +2 -3
  1038. package/src/components/MessageMenu/hooks/useFetchReactions.ts +6 -12
  1039. package/src/components/Poll/Poll.tsx +3 -12
  1040. package/src/components/Poll/components/Button.tsx +3 -13
  1041. package/src/components/Poll/components/PollAnswersList.tsx +2 -5
  1042. package/src/components/Poll/components/PollResults/PollOptionFullResults.tsx +5 -7
  1043. package/src/components/Poll/components/PollResults/PollResultItem.tsx +9 -14
  1044. package/src/components/Poll/hooks/usePollState.ts +4 -12
  1045. package/src/components/Reply/Reply.tsx +19 -45
  1046. package/src/components/Thread/Thread.tsx +15 -29
  1047. package/src/components/Thread/__tests__/__snapshots__/Thread.test.js.snap +6 -18
  1048. package/src/components/Thread/components/ThreadFooterComponent.tsx +12 -27
  1049. package/src/components/ThreadList/ThreadList.tsx +3 -5
  1050. package/src/components/ThreadList/ThreadListItem.tsx +6 -4
  1051. package/src/components/index.ts +1 -10
  1052. package/src/contexts/attachmentPickerContext/AttachmentPickerContext.tsx +5 -4
  1053. package/src/contexts/channelContext/ChannelContext.tsx +15 -27
  1054. package/src/contexts/channelsContext/ChannelsContext.tsx +17 -25
  1055. package/src/contexts/channelsStateContext/ChannelsStateContext.tsx +18 -44
  1056. package/src/contexts/channelsStateContext/useChannelState.ts +13 -26
  1057. package/src/contexts/chatContext/ChatContext.tsx +11 -18
  1058. package/src/contexts/debugContext/DebugContext.tsx +14 -23
  1059. package/src/contexts/imageGalleryContext/ImageGalleryContext.tsx +11 -20
  1060. package/src/contexts/messageContext/MessageContext.tsx +17 -23
  1061. package/src/contexts/messageInputContext/MessageInputContext.tsx +195 -219
  1062. package/src/contexts/messageInputContext/__tests__/MessageInputContext.test.tsx +6 -13
  1063. package/src/contexts/messageInputContext/__tests__/__snapshots__/sendMessage.test.tsx.snap +10 -6
  1064. package/src/contexts/messageInputContext/__tests__/isValidMessage.test.tsx +4 -8
  1065. package/src/contexts/messageInputContext/__tests__/pickFile.test.tsx +4 -8
  1066. package/src/contexts/messageInputContext/__tests__/removeFile.test.tsx +4 -8
  1067. package/src/contexts/messageInputContext/__tests__/removeImage.test.tsx +4 -8
  1068. package/src/contexts/messageInputContext/__tests__/sendMessage.test.tsx +10 -13
  1069. package/src/contexts/messageInputContext/__tests__/sendMessageAsync.test.tsx +3 -8
  1070. package/src/contexts/messageInputContext/__tests__/updateMessage.test.tsx +9 -15
  1071. package/src/contexts/messageInputContext/__tests__/uploadFile.test.tsx +4 -8
  1072. package/src/contexts/messageInputContext/__tests__/uploadImage.test.tsx +4 -8
  1073. package/src/contexts/messageInputContext/__tests__/useMessageDetailsForState.test.tsx +15 -13
  1074. package/src/contexts/messageInputContext/hooks/useCreateMessageInputContext.ts +4 -10
  1075. package/src/contexts/messageInputContext/hooks/useMessageDetailsForState.ts +34 -46
  1076. package/src/contexts/messageInputContext/utils/utils.ts +6 -8
  1077. package/src/contexts/messagesContext/MessagesContext.tsx +65 -82
  1078. package/src/contexts/overlayContext/OverlayContext.tsx +2 -5
  1079. package/src/contexts/overlayContext/OverlayProvider.tsx +3 -7
  1080. package/src/contexts/paginatedMessageListContext/PaginatedMessageListContext.tsx +6 -13
  1081. package/src/contexts/pollContext/pollContext.tsx +6 -12
  1082. package/src/contexts/suggestionsContext/SuggestionsContext.tsx +29 -58
  1083. package/src/contexts/threadContext/ThreadContext.tsx +10 -22
  1084. package/src/contexts/threadsContext/ThreadListItemContext.tsx +10 -18
  1085. package/src/contexts/threadsContext/ThreadsContext.tsx +7 -17
  1086. package/src/contexts/typingContext/TypingContext.tsx +6 -15
  1087. package/src/hooks/useSelectedChannelState.ts +9 -17
  1088. package/src/hooks/useSyncClientEvents.ts +12 -23
  1089. package/src/hooks/useTranslatedMessage.ts +2 -7
  1090. package/src/mock-builders/api/channelMocks.tsx +35 -43
  1091. package/src/native.ts +8 -7
  1092. package/src/store/apis/getChannelMessages.ts +3 -6
  1093. package/src/store/apis/getChannels.ts +6 -9
  1094. package/src/store/apis/getChannelsForFilterSort.ts +4 -8
  1095. package/src/store/apis/getMembers.ts +3 -10
  1096. package/src/store/apis/getReactions.ts +3 -6
  1097. package/src/store/apis/getReactionsforFilterSort.ts +4 -8
  1098. package/src/store/apis/getReads.ts +3 -10
  1099. package/src/store/apis/insertReaction.ts +2 -2
  1100. package/src/store/apis/queries/selectChannelIdsForFilterSort.ts +3 -6
  1101. package/src/store/apis/updateMessage.ts +2 -2
  1102. package/src/store/apis/updatePollMessage.ts +3 -6
  1103. package/src/store/apis/updateReaction.ts +2 -2
  1104. package/src/store/apis/upsertChannelDataFromChannel.ts +2 -5
  1105. package/src/store/apis/utils/convertFilterSortToQuery.ts +3 -7
  1106. package/src/store/mappers/mapChannelDataToStorable.ts +1 -7
  1107. package/src/store/mappers/mapChannelToStorable.ts +2 -8
  1108. package/src/store/mappers/mapMemberToStorable.ts +2 -5
  1109. package/src/store/mappers/mapMessageToStorable.ts +2 -2
  1110. package/src/store/mappers/mapReadToStorable.ts +2 -5
  1111. package/src/store/mappers/mapStorableToChannel.ts +2 -8
  1112. package/src/store/mappers/mapStorableToMember.ts +2 -5
  1113. package/src/store/mappers/mapStorableToMessage.ts +3 -8
  1114. package/src/store/mappers/mapStorableToPoll.ts +1 -6
  1115. package/src/store/mappers/mapStorableToReaction.ts +2 -6
  1116. package/src/store/mappers/mapStorableToRead.ts +1 -7
  1117. package/src/store/mappers/mapStorableToUser.ts +1 -6
  1118. package/src/types/stream-chat-common-custom-data.d.ts +42 -0
  1119. package/src/types/types.ts +55 -75
  1120. package/src/utils/ACITriggerSettings.ts +20 -37
  1121. package/src/utils/DBSyncManager.ts +6 -31
  1122. package/src/utils/addReactionToLocalState.ts +3 -7
  1123. package/src/utils/compressImage.ts +3 -4
  1124. package/src/utils/i18n/Streami18n.ts +2 -4
  1125. package/src/utils/queryMembers.ts +17 -38
  1126. package/src/utils/queryUsers.ts +10 -15
  1127. package/src/utils/removeReactionFromLocalState.ts +3 -7
  1128. package/src/utils/removeReservedFields.ts +6 -10
  1129. package/src/utils/utils.ts +42 -53
  1130. package/src/version.json +1 -1
  1131. package/lib/commonjs/components/ChannelList/hooks/listeners/useAddedToChannelNotification.js +0 -89
  1132. package/lib/commonjs/components/ChannelList/hooks/listeners/useAddedToChannelNotification.js.map +0 -1
  1133. package/lib/commonjs/components/ChannelList/hooks/listeners/useChannelDeleted.js +0 -40
  1134. package/lib/commonjs/components/ChannelList/hooks/listeners/useChannelDeleted.js.map +0 -1
  1135. package/lib/commonjs/components/ChannelList/hooks/listeners/useChannelHidden.js +0 -40
  1136. package/lib/commonjs/components/ChannelList/hooks/listeners/useChannelHidden.js.map +0 -1
  1137. package/lib/commonjs/components/ChannelList/hooks/listeners/useChannelMemberUpdated.js +0 -78
  1138. package/lib/commonjs/components/ChannelList/hooks/listeners/useChannelMemberUpdated.js.map +0 -1
  1139. package/lib/commonjs/components/ChannelList/hooks/listeners/useChannelTruncated.js +0 -30
  1140. package/lib/commonjs/components/ChannelList/hooks/listeners/useChannelTruncated.js.map +0 -1
  1141. package/lib/commonjs/components/ChannelList/hooks/listeners/useChannelVisible.js +0 -74
  1142. package/lib/commonjs/components/ChannelList/hooks/listeners/useChannelVisible.js.map +0 -1
  1143. package/lib/commonjs/components/ChannelList/hooks/listeners/useNewMessage.js +0 -61
  1144. package/lib/commonjs/components/ChannelList/hooks/listeners/useNewMessage.js.map +0 -1
  1145. package/lib/commonjs/components/ChannelList/hooks/listeners/useNewMessageNotification.js +0 -82
  1146. package/lib/commonjs/components/ChannelList/hooks/listeners/useNewMessageNotification.js.map +0 -1
  1147. package/lib/commonjs/components/ChannelList/hooks/listeners/useRemovedFromChannelNotification.js +0 -37
  1148. package/lib/commonjs/components/ChannelList/hooks/listeners/useRemovedFromChannelNotification.js.map +0 -1
  1149. package/lib/commonjs/components/ChannelList/hooks/listeners/useUserPresence.js +0 -42
  1150. package/lib/commonjs/components/ChannelList/hooks/listeners/useUserPresence.js.map +0 -1
  1151. package/lib/commonjs/components/MessageList/hooks/useLastReadData.js +0 -20
  1152. package/lib/commonjs/components/MessageList/hooks/useLastReadData.js.map +0 -1
  1153. package/lib/commonjs/components/MessageList/utils/getReadStates.js +0 -34
  1154. package/lib/commonjs/components/MessageList/utils/getReadStates.js.map +0 -1
  1155. package/lib/module/components/ChannelList/hooks/listeners/useAddedToChannelNotification.js +0 -89
  1156. package/lib/module/components/ChannelList/hooks/listeners/useAddedToChannelNotification.js.map +0 -1
  1157. package/lib/module/components/ChannelList/hooks/listeners/useChannelDeleted.js +0 -40
  1158. package/lib/module/components/ChannelList/hooks/listeners/useChannelDeleted.js.map +0 -1
  1159. package/lib/module/components/ChannelList/hooks/listeners/useChannelHidden.js +0 -40
  1160. package/lib/module/components/ChannelList/hooks/listeners/useChannelHidden.js.map +0 -1
  1161. package/lib/module/components/ChannelList/hooks/listeners/useChannelMemberUpdated.js +0 -78
  1162. package/lib/module/components/ChannelList/hooks/listeners/useChannelMemberUpdated.js.map +0 -1
  1163. package/lib/module/components/ChannelList/hooks/listeners/useChannelTruncated.js +0 -30
  1164. package/lib/module/components/ChannelList/hooks/listeners/useChannelTruncated.js.map +0 -1
  1165. package/lib/module/components/ChannelList/hooks/listeners/useChannelVisible.js +0 -74
  1166. package/lib/module/components/ChannelList/hooks/listeners/useChannelVisible.js.map +0 -1
  1167. package/lib/module/components/ChannelList/hooks/listeners/useNewMessage.js +0 -61
  1168. package/lib/module/components/ChannelList/hooks/listeners/useNewMessage.js.map +0 -1
  1169. package/lib/module/components/ChannelList/hooks/listeners/useNewMessageNotification.js +0 -82
  1170. package/lib/module/components/ChannelList/hooks/listeners/useNewMessageNotification.js.map +0 -1
  1171. package/lib/module/components/ChannelList/hooks/listeners/useRemovedFromChannelNotification.js +0 -37
  1172. package/lib/module/components/ChannelList/hooks/listeners/useRemovedFromChannelNotification.js.map +0 -1
  1173. package/lib/module/components/ChannelList/hooks/listeners/useUserPresence.js +0 -42
  1174. package/lib/module/components/ChannelList/hooks/listeners/useUserPresence.js.map +0 -1
  1175. package/lib/module/components/MessageList/hooks/useLastReadData.js +0 -20
  1176. package/lib/module/components/MessageList/hooks/useLastReadData.js.map +0 -1
  1177. package/lib/module/components/MessageList/utils/getReadStates.js +0 -34
  1178. package/lib/module/components/MessageList/utils/getReadStates.js.map +0 -1
  1179. package/lib/typescript/components/ChannelList/hooks/listeners/useAddedToChannelNotification.d.ts +0 -11
  1180. package/lib/typescript/components/ChannelList/hooks/listeners/useAddedToChannelNotification.d.ts.map +0 -1
  1181. package/lib/typescript/components/ChannelList/hooks/listeners/useChannelDeleted.d.ts +0 -10
  1182. package/lib/typescript/components/ChannelList/hooks/listeners/useChannelDeleted.d.ts.map +0 -1
  1183. package/lib/typescript/components/ChannelList/hooks/listeners/useChannelHidden.d.ts +0 -10
  1184. package/lib/typescript/components/ChannelList/hooks/listeners/useChannelHidden.d.ts.map +0 -1
  1185. package/lib/typescript/components/ChannelList/hooks/listeners/useChannelMemberUpdated.d.ts +0 -12
  1186. package/lib/typescript/components/ChannelList/hooks/listeners/useChannelMemberUpdated.d.ts.map +0 -1
  1187. package/lib/typescript/components/ChannelList/hooks/listeners/useChannelTruncated.d.ts +0 -12
  1188. package/lib/typescript/components/ChannelList/hooks/listeners/useChannelTruncated.d.ts.map +0 -1
  1189. package/lib/typescript/components/ChannelList/hooks/listeners/useChannelVisible.d.ts +0 -11
  1190. package/lib/typescript/components/ChannelList/hooks/listeners/useChannelVisible.d.ts.map +0 -1
  1191. package/lib/typescript/components/ChannelList/hooks/listeners/useNewMessage.d.ts +0 -12
  1192. package/lib/typescript/components/ChannelList/hooks/listeners/useNewMessage.d.ts.map +0 -1
  1193. package/lib/typescript/components/ChannelList/hooks/listeners/useNewMessageNotification.d.ts +0 -11
  1194. package/lib/typescript/components/ChannelList/hooks/listeners/useNewMessageNotification.d.ts.map +0 -1
  1195. package/lib/typescript/components/ChannelList/hooks/listeners/useRemovedFromChannelNotification.d.ts +0 -10
  1196. package/lib/typescript/components/ChannelList/hooks/listeners/useRemovedFromChannelNotification.d.ts.map +0 -1
  1197. package/lib/typescript/components/ChannelList/hooks/listeners/useUserPresence.d.ts +0 -14
  1198. package/lib/typescript/components/ChannelList/hooks/listeners/useUserPresence.d.ts.map +0 -1
  1199. package/lib/typescript/components/MessageList/hooks/useLastReadData.d.ts +0 -13
  1200. package/lib/typescript/components/MessageList/hooks/useLastReadData.d.ts.map +0 -1
  1201. package/lib/typescript/components/MessageList/utils/getReadStates.d.ts +0 -6
  1202. package/lib/typescript/components/MessageList/utils/getReadStates.d.ts.map +0 -1
  1203. package/src/components/ChannelList/hooks/listeners/useAddedToChannelNotification.ts +0 -82
  1204. package/src/components/ChannelList/hooks/listeners/useChannelDeleted.ts +0 -50
  1205. package/src/components/ChannelList/hooks/listeners/useChannelHidden.ts +0 -51
  1206. package/src/components/ChannelList/hooks/listeners/useChannelMemberUpdated.ts +0 -120
  1207. package/src/components/ChannelList/hooks/listeners/useChannelTruncated.ts +0 -43
  1208. package/src/components/ChannelList/hooks/listeners/useChannelVisible.ts +0 -65
  1209. package/src/components/ChannelList/hooks/listeners/useNewMessage.ts +0 -97
  1210. package/src/components/ChannelList/hooks/listeners/useNewMessageNotification.ts +0 -73
  1211. package/src/components/ChannelList/hooks/listeners/useRemovedFromChannelNotification.ts +0 -46
  1212. package/src/components/ChannelList/hooks/listeners/useUserPresence.ts +0 -57
  1213. package/src/components/MessageList/hooks/useLastReadData.ts +0 -37
  1214. package/src/components/MessageList/utils/getReadStates.ts +0 -60
@@ -4,23 +4,22 @@ import type { AutoCompleteSuggestionHeaderProps } from '../../components/AutoCom
4
4
  import type { AutoCompleteSuggestionItemProps } from '../../components/AutoCompleteInput/AutoCompleteSuggestionItem';
5
5
  import type { AutoCompleteSuggestionListProps } from '../../components/AutoCompleteInput/AutoCompleteSuggestionList';
6
6
  import type { Emoji } from '../../emoji-data';
7
- import type { DefaultStreamChatGenerics } from '../../types/types';
8
7
  export type SuggestionComponentType = 'command' | 'emoji' | 'mention';
9
- export declare const isSuggestionCommand: <StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>(suggestion: Suggestion<StreamChatGenerics>) => suggestion is SuggestionCommand<StreamChatGenerics>;
10
- export declare const isSuggestionEmoji: <StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>(suggestion: Suggestion<StreamChatGenerics>) => suggestion is Emoji;
11
- export declare const isSuggestionUser: <StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>(suggestion: Suggestion<StreamChatGenerics>) => suggestion is SuggestionUser<StreamChatGenerics>;
12
- export type Suggestion<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Emoji | SuggestionCommand<StreamChatGenerics> | SuggestionUser<StreamChatGenerics>;
13
- export type SuggestionCommand<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = CommandResponse<StreamChatGenerics>;
14
- export type SuggestionUser<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = UserResponse<StreamChatGenerics>;
15
- export type Suggestions<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = {
16
- data: Suggestion<StreamChatGenerics>[];
17
- onSelect: (item: Suggestion<StreamChatGenerics>) => void;
8
+ export declare const isSuggestionCommand: (suggestion: Suggestion) => suggestion is SuggestionCommand;
9
+ export declare const isSuggestionEmoji: (suggestion: Suggestion) => suggestion is Emoji;
10
+ export declare const isSuggestionUser: (suggestion: Suggestion) => suggestion is SuggestionUser;
11
+ export type Suggestion = Emoji | SuggestionCommand | SuggestionUser;
12
+ export type SuggestionCommand = CommandResponse;
13
+ export type SuggestionUser = UserResponse;
14
+ export type Suggestions = {
15
+ data: Suggestion[];
16
+ onSelect: (item: Suggestion) => void;
18
17
  queryText?: string;
19
18
  };
20
- export type SuggestionsContextValue<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = {
19
+ export type SuggestionsContextValue = {
21
20
  AutoCompleteSuggestionHeader: React.ComponentType<AutoCompleteSuggestionHeaderProps>;
22
- AutoCompleteSuggestionItem: React.ComponentType<AutoCompleteSuggestionItemProps<StreamChatGenerics>>;
23
- AutoCompleteSuggestionList: React.ComponentType<AutoCompleteSuggestionListProps<StreamChatGenerics>>;
21
+ AutoCompleteSuggestionItem: React.ComponentType<AutoCompleteSuggestionItemProps>;
22
+ AutoCompleteSuggestionList: React.ComponentType<AutoCompleteSuggestionListProps>;
24
23
  /** Override handler for closing suggestions (mentions, command autocomplete etc) */
25
24
  closeSuggestions: () => void;
26
25
  /**
@@ -30,7 +29,7 @@ export type SuggestionsContextValue<StreamChatGenerics extends DefaultStreamChat
30
29
  * @overrideType Function
31
30
  */
32
31
  openSuggestions: (component: SuggestionComponentType) => Promise<void>;
33
- suggestions: Suggestions<StreamChatGenerics>;
32
+ suggestions: Suggestions;
34
33
  triggerType: SuggestionComponentType;
35
34
  /**
36
35
  * Override handler for updating suggestions (mentions, command autocomplete etc)
@@ -38,16 +37,16 @@ export type SuggestionsContextValue<StreamChatGenerics extends DefaultStreamChat
38
37
  * @param newSuggestions {Component|element} UI Component for suggestion item.
39
38
  * @overrideType Function
40
39
  */
41
- updateSuggestions: (newSuggestions: Suggestions<StreamChatGenerics>) => void;
40
+ updateSuggestions: (newSuggestions: Suggestions) => void;
42
41
  queryText?: string;
43
42
  suggestionsViewActive?: boolean;
44
43
  };
45
- export declare const SuggestionsContext: React.Context<SuggestionsContextValue<DefaultStreamChatGenerics>>;
44
+ export declare const SuggestionsContext: React.Context<SuggestionsContextValue>;
46
45
  /**
47
46
  * This provider component exposes the properties stored within the SuggestionsContext.
48
47
  */
49
- export declare const SuggestionsProvider: <StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>({ children, value, }: PropsWithChildren<{
50
- value?: Partial<SuggestionsContextValue<StreamChatGenerics>>;
48
+ export declare const SuggestionsProvider: ({ children, value, }: PropsWithChildren<{
49
+ value?: Partial<SuggestionsContextValue>;
51
50
  }>) => React.JSX.Element;
52
- export declare const useSuggestionsContext: <StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>() => SuggestionsContextValue<StreamChatGenerics>;
51
+ export declare const useSuggestionsContext: () => SuggestionsContextValue;
53
52
  //# sourceMappingURL=SuggestionsContext.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SuggestionsContext.d.ts","sourceRoot":"","sources":["../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,UAAU,EAAE,CAAC;IACnB,QAAQ,EAAE,CAAC,IAAI,EAAE,UAAU,KAAK,IAAI,CAAC;IACrC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAAG;IACpC,4BAA4B,EAAE,KAAK,CAAC,aAAa,CAAC,iCAAiC,CAAC,CAAC;IACrF,0BAA0B,EAAE,KAAK,CAAC,aAAa,CAAC,+BAA+B,CAAC,CAAC;IACjF,0BAA0B,EAAE,KAAK,CAAC,aAAa,CAAC,+BAA+B,CAAC,CAAC;IACjF,oFAAoF;IACpF,gBAAgB,EAAE,MAAM,IAAI,CAAC;IAC7B;;;;;OAKG;IACH,eAAe,EAAE,CAAC,SAAS,EAAE,uBAAuB,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACvE,WAAW,EAAE,WAAW,CAAC;IACzB,WAAW,EAAE,uBAAuB,CAAC;IACrC;;;;;OAKG;IACH,iBAAiB,EAAE,CAAC,cAAc,EAAE,WAAW,KAAK,IAAI,CAAC;IACzD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,qBAAqB,CAAC,EAAE,OAAO,CAAC;CACjC,CAAC;AAEF,eAAO,MAAM,kBAAkB,wCAE9B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,mBAAmB,GAAI,sBAGjC,iBAAiB,CAAC;IAAE,KAAK,CAAC,EAAE,OAAO,CAAC,uBAAuB,CAAC,CAAA;CAAE,CAAC,sBAuDjE,CAAC;AAEF,eAAO,MAAM,qBAAqB,+BAUjC,CAAC"}
@@ -1,21 +1,19 @@
1
1
  import React, { PropsWithChildren } from 'react';
2
- import { ChannelState, Thread } from 'stream-chat';
3
- import type { MessageType } from '../../components/MessageList/hooks/useMessageList';
4
- import type { DefaultStreamChatGenerics } from '../../types/types';
5
- export type ThreadType<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = {
6
- thread: MessageType<StreamChatGenerics>;
2
+ import { ChannelState, LocalMessage, Thread } from 'stream-chat';
3
+ export type ThreadType = {
4
+ thread: LocalMessage;
7
5
  threadInstance: Thread;
8
6
  };
9
- export type ThreadContextValue<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = {
7
+ export type ThreadContextValue = {
10
8
  allowThreadMessagesInChannel: boolean;
11
9
  closeThread: () => void;
12
10
  loadMoreThread: () => Promise<void>;
13
- openThread: (message: MessageType<StreamChatGenerics>) => void;
11
+ openThread: (message: LocalMessage) => void;
14
12
  reloadThread: () => void;
15
13
  setThreadLoadingMore: React.Dispatch<React.SetStateAction<boolean>>;
16
- thread: MessageType<StreamChatGenerics> | null;
14
+ thread: LocalMessage | null;
17
15
  threadHasMore: boolean;
18
- threadMessages: ChannelState<StreamChatGenerics>['threads'][string];
16
+ threadMessages: ChannelState['threads'][string];
19
17
  loadMoreRecentThread?: (opts: {
20
18
  limit?: number;
21
19
  }) => Promise<void>;
@@ -27,9 +25,9 @@ export type ThreadContextValue<StreamChatGenerics extends DefaultStreamChatGener
27
25
  threadLoadingMore?: boolean;
28
26
  threadLoadingMoreRecent?: boolean;
29
27
  };
30
- export declare const ThreadContext: React.Context<ThreadContextValue<DefaultStreamChatGenerics>>;
31
- export declare const ThreadProvider: <StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>({ children, value, }: PropsWithChildren<{
32
- value: ThreadContextValue<StreamChatGenerics>;
28
+ export declare const ThreadContext: React.Context<ThreadContextValue>;
29
+ export declare const ThreadProvider: ({ children, value, }: PropsWithChildren<{
30
+ value: ThreadContextValue;
33
31
  }>) => React.JSX.Element;
34
- export declare const useThreadContext: <StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>() => ThreadContextValue<StreamChatGenerics>;
32
+ export declare const useThreadContext: () => ThreadContextValue;
35
33
  //# sourceMappingURL=ThreadContext.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ThreadContext.d.ts","sourceRoot":"","sources":["../../../../src/contexts/threadCont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IAChD,oBAAoB,CAAC,EAAE,CAAC,IAAI,EAAE;QAAE,KAAK,CAAC,EAAE,MAAM,CAAA;KAAE,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACnE;;OAEG;IACH,yBAAyB,CAAC,EAAE,OAAO,CAAC;IACpC,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,uBAAuB,CAAC,EAAE,OAAO,CAAC;CACnC,CAAC;AAEF,eAAO,MAAM,aAAa,mCAAwE,CAAC;AAEnG,eAAO,MAAM,cAAc,GAAI,sBAG5B,iBAAiB,CAAC;IACnB,KAAK,EAAE,kBAAkB,CAAC;CAC3B,CAAC,sBAID,CAAC;AAEF,eAAO,MAAM,gBAAgB,0BAU5B,CAAC"}
@@ -1,19 +1,17 @@
1
1
  import React, { PropsWithChildren } from 'react';
2
- import { Channel, Thread } from 'stream-chat';
3
- import { MessageType } from '../../components';
4
- import type { DefaultStreamChatGenerics } from '../../types/types';
5
- export type ThreadListItemContextValue<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = {
6
- channel: Channel<StreamChatGenerics>;
2
+ import { Channel, LocalMessage, Thread } from 'stream-chat';
3
+ export type ThreadListItemContextValue = {
4
+ channel: Channel;
7
5
  dateString: string | number | undefined;
8
6
  deletedAtDateString: string | number | undefined;
9
- lastReply: MessageType<StreamChatGenerics> | undefined;
7
+ lastReply: LocalMessage | undefined;
10
8
  ownUnreadMessageCount: number;
11
- parentMessage: MessageType<StreamChatGenerics> | undefined;
12
- thread: Thread<StreamChatGenerics>;
9
+ parentMessage: LocalMessage | undefined;
10
+ thread: Thread;
13
11
  };
14
- export declare const ThreadListItemContext: React.Context<ThreadListItemContextValue<DefaultStreamChatGenerics>>;
15
- export declare const ThreadListItemProvider: <StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>({ children, value, }: PropsWithChildren<{
16
- value: ThreadListItemContextValue<StreamChatGenerics>;
12
+ export declare const ThreadListItemContext: React.Context<ThreadListItemContextValue>;
13
+ export declare const ThreadListItemProvider: ({ children, value, }: PropsWithChildren<{
14
+ value: ThreadListItemContextValue;
17
15
  }>) => React.JSX.Element;
18
- export declare const useThreadListItemContext: <StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>() => ThreadListItemContextValue<StreamChatGenerics>;
16
+ export declare const useThreadListItemContext: () => ThreadListItemContextValue;
19
17
  //# sourceMappingURL=ThreadListItemContext.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ThreadListItemContext.d.ts","sourceRoot":"","sources":["../../../../src/contexts/threadsContext/ThreadListItemContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,iBAAiB,EAAc,MAAM,OAAO,CAAC;AAE7D,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAE9C,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC/C,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAC;AAGnE,MAAM,MAAM,0BAA0B,CACpC,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,IAC9E;IACF,OAAO,EAAE,OAAO,CAAC,kBAAkB,CAAC,CAAC;IACrC,UAAU,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAAC;IACxC,mBAAmB,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAAC;IACjD,SAAS,EAAE,WAAW,CAAC,kBAAkB,CAAC,GAAG,SAAS,CAAC;IACvD,qBAAqB,EAAE,MAAM,CAAC;IAC9B,aAAa,EAAE,WAAW,CAAC,kBAAkB,CAAC,GAAG,SAAS,CAAC;IAC3D,MAAM,EAAE,MAAM,CAAC,kBAAkB,CAAC,CAAC;CACpC,CAAC;AAEF,eAAO,MAAM,qBAAqB,sEAEjC,CAAC;AAEF,eAAO,MAAM,sBAAsB,GACjC,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,EAChF,sBAGC,iBAAiB,CAAC;IACnB,KAAK,EAAE,0BAA0B,CAAC,kBAAkB,CAAC,CAAC;CACvD,CAAC,sBAID,CAAC;AAEF,eAAO,MAAM,wBAAwB,GACnC,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,OAEhC,0BAA0B,CAAC,kBAAkB,CAAC,CAAC"}
1
+ {"version":3,"file":"ThreadListItemContext.d.ts","sourceRoot":"","sources":["../../../../src/contexts/threadsContext/ThreadListItemContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,iBAAiB,EAAc,MAAM,OAAO,CAAC;AAE7D,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAI5D,MAAM,MAAM,0BAA0B,GAAG;IACvC,OAAO,EAAE,OAAO,CAAC;IACjB,UAAU,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAAC;IACxC,mBAAmB,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAAC;IACjD,SAAS,EAAE,YAAY,GAAG,SAAS,CAAC;IACpC,qBAAqB,EAAE,MAAM,CAAC;IAC9B,aAAa,EAAE,YAAY,GAAG,SAAS,CAAC;IACxC,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,eAAO,MAAM,qBAAqB,2CAEjC,CAAC;AAEF,eAAO,MAAM,sBAAsB,GAAI,sBAGpC,iBAAiB,CAAC;IACnB,KAAK,EAAE,0BAA0B,CAAC;CACnC,CAAC,sBAID,CAAC;AAEF,eAAO,MAAM,wBAAwB,QACa,0BAA0B,CAAC"}
@@ -1,13 +1,12 @@
1
1
  import React, { PropsWithChildren } from 'react';
2
2
  import { FlatListProps } from 'react-native';
3
3
  import { Channel, Thread } from 'stream-chat';
4
- import type { DefaultStreamChatGenerics } from '../../types/types';
5
4
  import { ThreadType } from '../threadContext/ThreadContext';
6
- export type ThreadsContextValue<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = {
5
+ export type ThreadsContextValue = {
7
6
  isFocused: boolean;
8
7
  isLoading: boolean;
9
8
  isLoadingNext: boolean;
10
- threads: Thread<StreamChatGenerics>[];
9
+ threads: Thread[];
11
10
  additionalFlatListProps?: Partial<FlatListProps<Thread>>;
12
11
  loadMore?: () => Promise<void>;
13
12
  onThreadSelect?: (thread: ThreadType, channel: Channel) => void;
@@ -17,9 +16,9 @@ export type ThreadsContextValue<StreamChatGenerics extends DefaultStreamChatGene
17
16
  ThreadListLoadingMoreIndicator?: React.ComponentType;
18
17
  ThreadListUnreadBanner?: React.ComponentType;
19
18
  };
20
- export declare const ThreadsContext: React.Context<ThreadsContextValue<DefaultStreamChatGenerics>>;
21
- export declare const ThreadsProvider: <StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>({ children, value, }: PropsWithChildren<{
22
- value: ThreadsContextValue<StreamChatGenerics>;
19
+ export declare const ThreadsContext: React.Context<ThreadsContextValue>;
20
+ export declare const ThreadsProvider: ({ children, value, }: PropsWithChildren<{
21
+ value: ThreadsContextValue;
23
22
  }>) => React.JSX.Element;
24
- export declare const useThreadsContext: <StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>() => ThreadsContextValue<StreamChatGenerics>;
23
+ export declare const useThreadsContext: () => ThreadsContextValue;
25
24
  //# sourceMappingURL=ThreadsContext.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ThreadsContext.d.ts","sourceRoot":"","sources":["../../../../src/contexts/threadsContext/ThreadsContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,iBAAiB,EAAc,MAAM,OAAO,CAAC;AAE7D,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAE7C,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAE9C,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAC;AACnE,OAAO,EAAE,UA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AE,MAAM,cAAc,CAAC;AAE7C,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAE9C,OAAO,EAAE,UAAU,EAAE,MAAM,gCAAgC,CAAC;AAK5D,MAAM,MAAM,mBAAmB,GAAG;IAChC,SAAS,EAAE,OAAO,CAAC;IACnB,SAAS,EAAE,OAAO,CAAC;IACnB,aAAa,EAAE,OAAO,CAAC;IACvB,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,uBAAuB,CAAC,EAAE,OAAO,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC,CAAC;IACzD,QAAQ,CAAC,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAC/B,cAAc,CAAC,EAAE,CAAC,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IAChE,0BAA0B,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IACjD,cAAc,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IACrC,0BAA0B,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IACjD,8BAA8B,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IACrD,sBAAsB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CAC9C,CAAC;AAEF,eAAO,MAAM,cAAc,oCAE1B,CAAC;AAEF,eAAO,MAAM,eAAe,GAAI,sBAG7B,iBAAiB,CAAC;IACnB,KAAK,EAAE,mBAAmB,CAAC;CAC5B,CAAC,sBAID,CAAC;AAEF,eAAO,MAAM,iBAAiB,2BAU7B,CAAC"}
@@ -1,12 +1,11 @@
1
1
  import React, { PropsWithChildren } from 'react';
2
2
  import type { ChannelState } from 'stream-chat';
3
- import type { DefaultStreamChatGenerics } from '../../types/types';
4
- export type TypingContextValue<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = {
5
- typing: ChannelState<StreamChatGenerics>['typing'];
3
+ export type TypingContextValue = {
4
+ typing: ChannelState['typing'];
6
5
  };
7
- export declare const TypingContext: React.Context<TypingContextValue<DefaultStreamChatGenerics>>;
8
- export declare const TypingProvider: <StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>({ children, value, }: PropsWithChildren<{
9
- value: TypingContextValue<StreamChatGenerics>;
6
+ export declare const TypingContext: React.Context<TypingContextValue>;
7
+ export declare const TypingProvider: ({ children, value, }: PropsWithChildren<{
8
+ value: TypingContextValue;
10
9
  }>) => React.JSX.Element;
11
- export declare const useTypingContext: <StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>() => TypingContextValue<StreamChatGenerics>;
10
+ export declare const useTypingContext: () => TypingContextValue;
12
11
  //# sourceMappingURL=TypingContext.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TypingContext.d.ts","sourceRoot":"","sources":["../../../../src/contexts/typingContext/TypingContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,iBAAiB,EAAc,MAAM,OAAO,CAAC;AAE7D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAEhD,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAC;AAKnE,MAAM,MAAM,kBAAkB,CAC5B,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,IAC9E;IACF,MAAM,EAAE,YAAY,CAAC,kBAAkB,CAAC,CAAC,QAAQ,CAAC,CAAC;CACpD,CAAC;AAEF,eAAO,MAAM,aAAa,8DAAwE,CAAC;AAEnG,eAAO,MAAM,cAAc,GACzB,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,EAChF,sBAGC,iBAAiB,CAAC;IACnB,KAAK,EAAE,kBAAkB,CAAC,kBAAkB,CAAC,CAAC;CAC/C,CAAC,sBAID,CAAC;AAEF,eAAO,MAAM,gBAAgB,GAC3B,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,6CAajF,CAAC"}
1
+ {"version":3,"file":"TypingContext.d.ts","sourceRoot":"","sources":["../../../../src/contexts/typingContext/TypingContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,iBAAiB,EAAc,MAAM,OAAO,CAAC;AAE7D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAMhD,MAAM,MAAM,kBAAkB,GAAG;IAC/B,MAAM,EAAE,YAAY,CAAC,QAAQ,CAAC,CAAC;CAChC,CAAC;AAEF,eAAO,MAAM,aAAa,mCAAwE,CAAC;AAEnG,eAAO,MAAM,cAAc,GAAI,sBAG5B,iBAAiB,CAAC;IACnB,KAAK,EAAE,kBAAkB,CAAC;CAC3B,CAAC,sBAID,CAAC;AAEF,eAAO,MAAM,gBAAgB,0BAU5B,CAAC"}
@@ -1,13 +1,12 @@
1
1
  import type { Channel, EventTypes } from 'stream-chat';
2
- import { DefaultStreamChatGenerics } from '../types/types';
3
- export declare function useSelectedChannelState<StreamChatGenerics extends DefaultStreamChatGenerics, O>(_: {
4
- channel: Channel<StreamChatGenerics>;
5
- selector: (channel: Channel<StreamChatGenerics>) => O;
2
+ export declare function useSelectedChannelState<O>(_: {
3
+ channel: Channel;
4
+ selector: (channel: Channel) => O;
6
5
  stateChangeEventKeys?: EventTypes[];
7
6
  }): O;
8
- export declare function useSelectedChannelState<StreamChatGenerics extends DefaultStreamChatGenerics, O>(_: {
9
- selector: (channel: Channel<StreamChatGenerics>) => O;
10
- channel?: Channel<StreamChatGenerics> | undefined;
7
+ export declare function useSelectedChannelState<O>(_: {
8
+ selector: (channel: Channel) => O;
9
+ channel?: Channel | undefined;
11
10
  stateChangeEventKeys?: EventTypes[];
12
11
  }): O | undefined;
13
12
  //# sourceMappingURL=useSelectedChannelState.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useSelectedChannelState.d.ts","sourceRoot":"","sources":["../../../src/hooks/useSelectedChannelState.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;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C,GAAG,CAAC,GAAG,SAAS,CAAC"}
@@ -1,15 +1,14 @@
1
1
  import type { Channel, EventTypes, StreamChat } from 'stream-chat';
2
- import { DefaultStreamChatGenerics } from '../types/types';
3
- export declare function useSyncClientEventsToChannel<StreamChatGenerics extends DefaultStreamChatGenerics, O>(_: {
4
- channel: Channel<StreamChatGenerics>;
5
- client: StreamChat<StreamChatGenerics>;
6
- selector: (channel: Channel<StreamChatGenerics>, client: StreamChat<StreamChatGenerics>) => O;
2
+ export declare function useSyncClientEventsToChannel<O>(_: {
3
+ channel: Channel;
4
+ client: StreamChat;
5
+ selector: (channel: Channel, client: StreamChat) => O;
7
6
  stateChangeEventKeys?: EventTypes[];
8
7
  }): O;
9
- export declare function useSyncClientEventsToChannel<StreamChatGenerics extends DefaultStreamChatGenerics, O>(_: {
10
- selector: (channel: Channel<StreamChatGenerics>, client: StreamChat<StreamChatGenerics>) => O;
11
- channel?: Channel<StreamChatGenerics> | undefined;
12
- client?: StreamChat<StreamChatGenerics> | undefined;
8
+ export declare function useSyncClientEventsToChannel<O>(_: {
9
+ selector: (channel: Channel, client: StreamChat) => O;
10
+ channel?: Channel | undefined;
11
+ client?: StreamChat | undefined;
13
12
  stateChangeEventKeys?: EventTypes[];
14
13
  }): O | undefined;
15
14
  //# sourceMappingURL=useSyncClientEvents.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useSyncClientEvents.d.ts","sourceRoot":"","sources":["../../../src/hooks/useSyncClientEvents.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAGnE,OAAO,EAAE,yBAAyB,EAAE,MAAM,gBAAgB,CAAC;AAI3D,wBAAgB,4BAA4B,CAC1C,kBAAkB,SAAS,yBAAyB,EACpD,CAAC,EACD,CAAC,EAAE;IACH,OAAO,EAAE,OAAO,CAAC,kBAAkB,CAAC,CAAC;IACrC,MAAM,EAAE,UAAU,CAAC,kBAAk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AAE,OAAO,GAAG,SAAS,CAAC;IAC9B,MAAM,CAAC,EAAE,UAAU,GAAG,SAAS,CAAC;IAChC,oBAAoB,CAAC,EAAE,UAAU,EAAE,CAAC;CACrC,GAAG,CAAC,GAAG,SAAS,CAAC"}
@@ -1,4 +1,114 @@
1
- import type { FormatMessageResponse, MessageResponse } from 'stream-chat';
2
- import type { DefaultStreamChatGenerics } from '../types/types';
3
- export declare const useTranslatedMessage: <StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>(message?: MessageResponse<StreamChatGenerics> | FormatMessageResponse<StreamChatGenerics>) => MessageResponse<StreamChatGenerics> | FormatMessageResponse<StreamChatGenerics> | undefined;
1
+ import type { LocalMessage, MessageResponse, TranslationLanguages } from 'stream-chat';
2
+ export declare const useTranslatedMessage: (message?: MessageResponse | LocalMessage) => {
3
+ id: string;
4
+ text?: string | undefined;
5
+ channel?: import("stream-chat").ChannelResponse | undefined;
6
+ poll?: import("stream-chat").PollResponse | undefined;
7
+ type: "regular" | "reply" | "deleted" | "ephemeral" | "error" | "system";
8
+ html?: string | undefined;
9
+ attachments?: import("stream-chat").Attachment[] | undefined;
10
+ mml?: string | undefined;
11
+ parent_id?: string | undefined;
12
+ pin_expires?: string | null | undefined;
13
+ pinned?: boolean | undefined;
14
+ poll_id?: string | undefined;
15
+ quoted_message_id?: string | undefined;
16
+ restricted_visibility?: string[] | undefined;
17
+ show_in_channel?: boolean | undefined;
18
+ silent?: boolean | undefined;
19
+ user?: (import("stream-chat").UserResponse | null) | undefined;
20
+ user_id?: string | undefined;
21
+ args?: string | undefined;
22
+ before_message_send_failed?: boolean | undefined;
23
+ cid?: string | undefined;
24
+ command?: string | undefined;
25
+ command_info?: {
26
+ name?: string;
27
+ } | undefined;
28
+ deleted_reply_count?: number | undefined;
29
+ i18n?: (import("stream-chat").RequireAtLeastOne<Record<`${TranslationLanguages}_text`, string>> & {
30
+ language: TranslationLanguages;
31
+ }) | undefined;
32
+ latest_reactions?: import("stream-chat").ReactionResponse[] | undefined;
33
+ mentioned_users?: import("stream-chat").UserResponse[] | undefined;
34
+ message_text_updated_at?: string | undefined;
35
+ moderation?: import("stream-chat").ModerationResponse | undefined;
36
+ moderation_details?: import("stream-chat").ModerationDetailsResponse | undefined;
37
+ own_reactions?: import("stream-chat").ReactionResponse[] | null | undefined;
38
+ pinned_by?: (import("stream-chat").UserResponse | null) | undefined;
39
+ reaction_counts?: {
40
+ [key: string]: number;
41
+ } | null | undefined;
42
+ reaction_groups?: {
43
+ [key: string]: import("stream-chat").ReactionGroupResponse;
44
+ } | null | undefined;
45
+ reaction_scores?: {
46
+ [key: string]: number;
47
+ } | null | undefined;
48
+ reply_count?: number | undefined;
49
+ shadowed?: boolean | undefined;
50
+ thread_participants?: import("stream-chat").UserResponse[] | undefined;
51
+ created_at: Date;
52
+ deleted_at: Date | null;
53
+ pinned_at: Date | null;
54
+ status: string;
55
+ updated_at: Date;
56
+ error?: import("stream-chat").ErrorFromResponse<import("stream-chat").APIErrorResponse>;
57
+ quoted_message?: import("stream-chat").LocalMessageBase;
58
+ } | {
59
+ id: string;
60
+ attachments?: import("stream-chat").Attachment[];
61
+ html?: string;
62
+ mml?: string;
63
+ parent_id?: string;
64
+ pin_expires?: string | null;
65
+ pinned?: boolean;
66
+ pinned_at?: string | null;
67
+ poll_id?: string;
68
+ quoted_message_id?: string;
69
+ restricted_visibility?: string[];
70
+ show_in_channel?: boolean;
71
+ silent?: boolean;
72
+ text?: string;
73
+ type: "regular" | "reply" | "deleted" | "ephemeral" | "error" | "system";
74
+ user?: import("stream-chat").UserResponse | null;
75
+ user_id?: string;
76
+ args?: string;
77
+ before_message_send_failed?: boolean;
78
+ channel?: import("stream-chat").ChannelResponse;
79
+ cid?: string;
80
+ command?: string;
81
+ command_info?: {
82
+ name?: string;
83
+ };
84
+ created_at?: string;
85
+ deleted_at?: string;
86
+ deleted_reply_count?: number;
87
+ i18n?: import("stream-chat").RequireAtLeastOne<Record<`${TranslationLanguages}_text`, string>> & {
88
+ language: TranslationLanguages;
89
+ };
90
+ latest_reactions?: import("stream-chat").ReactionResponse[];
91
+ mentioned_users?: import("stream-chat").UserResponse[];
92
+ message_text_updated_at?: string;
93
+ moderation?: import("stream-chat").ModerationResponse;
94
+ moderation_details?: import("stream-chat").ModerationDetailsResponse;
95
+ own_reactions?: import("stream-chat").ReactionResponse[] | null;
96
+ pinned_by?: import("stream-chat").UserResponse | null;
97
+ poll?: import("stream-chat").PollResponse;
98
+ reaction_counts?: {
99
+ [key: string]: number;
100
+ } | null;
101
+ reaction_groups?: {
102
+ [key: string]: import("stream-chat").ReactionGroupResponse;
103
+ } | null;
104
+ reaction_scores?: {
105
+ [key: string]: number;
106
+ } | null;
107
+ reply_count?: number;
108
+ shadowed?: boolean;
109
+ status?: string;
110
+ thread_participants?: import("stream-chat").UserResponse[];
111
+ updated_at?: string;
112
+ quoted_message?: import("stream-chat").MessageResponseBase;
113
+ } | undefined;
4
114
  //# sourceMappingURL=useTranslatedMessage.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useTranslatedMessage.d.ts","sourceRoot":"","sources":["../../../src/hooks/useTranslatedMessage.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,eAAe,EAAwB,MAAM,aAAa,CAAC;AAGhG,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,gBAAgB,CAAC;AAIhE,eAAO,MAAM,oBAAoB,GAC/B,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,EAEhF,UAAU,eAAe,CAAC,kBAAkB,CAAC,GAAG,qBAAqB,CAAC,kBAAkB,CAAC,gGAkB1F,CAAC"}
1
+ {"version":3,"file":"useTranslatedMessage.d.ts","sourceRoot":"","sources":["../../../src/hooks/useTranslatedMessage.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,eAAe,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAC;AAMvF,eAAO,MAAM,oBAAoB,GAAI,UAAU,eAAe,GAAG,YAAY;;;;;;;;;;;;;;;;;;;;;;;;YAkBwxf,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAAD,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;aADr2f,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import type React from 'react';
2
2
  import { FlatList as DefaultFlatList, StyleProp, ViewStyle } from 'react-native';
3
- import type { Asset, File } from './types/types';
3
+ import type { File } from './types/types';
4
4
  type CompressImage = ({ compressImageQuality, height, uri, width, }: {
5
5
  compressImageQuality: number;
6
6
  height: number;
@@ -19,9 +19,7 @@ type GetPhotos = ({ after, first }: {
19
19
  first: number;
20
20
  after?: string;
21
21
  }) => Promise<{
22
- assets: Array<Omit<Asset, 'source'> & {
23
- source: 'picker';
24
- }>;
22
+ assets: File[];
25
23
  endCursor: string;
26
24
  hasNextPage: boolean;
27
25
  iOSLimited: boolean;
@@ -34,9 +32,7 @@ type PickDocument = ({ maxNumberOfFiles }: {
34
32
  }> | never;
35
33
  type PickImageAssetType = {
36
34
  askToOpenSettings?: boolean;
37
- assets?: Array<Omit<Asset, 'source'> & {
38
- source: 'picker';
39
- }>;
35
+ assets?: File[];
40
36
  cancelled?: boolean;
41
37
  };
42
38
  type PickImage = () => Promise<PickImageAssetType> | never;
@@ -51,8 +47,7 @@ type ShareOptions = {
51
47
  url?: string;
52
48
  };
53
49
  type ShareImage = (options: ShareOptions) => Promise<boolean> | never;
54
- type Photo = Omit<Asset, 'source'> & {
55
- source: 'camera';
50
+ type TakePhotoFileType = File & {
56
51
  askToOpenSettings?: boolean;
57
52
  cancelled?: boolean;
58
53
  };
@@ -60,7 +55,7 @@ export type MediaTypes = 'image' | 'video' | 'mixed';
60
55
  type TakePhoto = (options: {
61
56
  compressImageQuality?: number;
62
57
  mediaType?: MediaTypes;
63
- }) => Promise<Photo> | never;
58
+ }) => Promise<TakePhotoFileType> | never;
64
59
  type HapticFeedbackMethod = 'impactHeavy' | 'impactLight' | 'impactMedium' | 'notificationError' | 'notificationSuccess' | 'notificationWarning' | 'selection';
65
60
  type TriggerHaptic = (method: HapticFeedbackMethod) => void | never;
66
61
  export type PlaybackStatus = {
@@ -238,6 +233,9 @@ export type VideoType = {
238
233
  seek?: (progress: number) => void;
239
234
  setPositionAsync?: (position: number) => void;
240
235
  style?: StyleProp<ViewStyle>;
236
+ play?: () => void;
237
+ pause?: () => void;
238
+ replay?: () => void;
241
239
  };
242
240
  type Handlers = {
243
241
  Audio?: AudioType;
@@ -1 +1 @@
1
- {"version":3,"file":"native.d.ts","sourceRoot":"","sources":["../../src/native.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,QAAQ,IAAI,eAAe,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEjF,OAAO,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAQjD,KAAK,aAAa,GAAG,CAAC,EACpB,oBAAoB,EACpB,MAAM,EACN,GAAG,EACH,KAAK,GACN,EAAE;IACD,oBAAoB,EAAE,MAAM,CAAC;IAC7B,MAAM,EAAE,MAAM,CAAC;IACf,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;CACf,KAAK,OAAO,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC;AAE9B,KAAK,UAAU,GAAG,CAAC,EAAE,GAAG,EAAE,EAAE;IAAE,GAAG,EAAE,MAAM,CAAA;CAAE,KAAK,OAAO,CAAC,OAAO,CAAC,GAAG,KAAK,CAAC;AAEzE,KAAK,gBAAgB,GAAG,CAAC,YAAY,EAAE,MAAM,KAAK,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,GAAG,KAAK,CAAC;AAEtF,KAAK,6BAA6B,GAAG,CAAC,QAAQ,EAAE,MAAM,IAAI,KAAK;IAAE,WAAW,EAAE,MAAM,IAAI,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type { DefaultStreamChatGenerics } from '../../types/types';
3
- export declare const getChannelMessages: <StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>({ channelIds, currentUserId, }: {
2
+ export declare const getChannelMessages: ({ channelIds, currentUserId, }: {
4
3
  channelIds: string[];
5
4
  currentUserId: string;
6
- }) => Promise<Record<string, MessageResponse<StreamChatGenerics>[]>>;
5
+ }) => Promise<Record<string, MessageResponse[]>>;
7
6
  //# sourceMappingURL=getChannelMessages.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getChannelMessages.d.ts","sourceRoot":"","sources":["../../../../src/store/apis/getChannelMessages.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAMnD,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAC;AAOnE,eAAO,MAAM,kBAAkB,GAC7B,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,EAChF,gCAGC;IACD,UAAU,EAAE,MAAM,EAAE,CAAC;IACrB,aAAa,EAAE,MAAM,CAAC;CACvB,mEAqDA,CAAC"}
1
+ {"version":3,"file":"getChannelMessages.d.ts","sourceRoot":"","sources":["../../../../src/store/apis/getChannelMessages.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAYnD,eAAO,MAAM,kBAAkB,GAAU,gCAGtC;IACD,UAAU,EAAE,MAAM,EAAE,CAAC;IACrB,aAAa,EAAE,MAAM,CAAC;CACvB,+CAqDA,CAAC"}
@@ -1,5 +1,4 @@
1
1
  import type { ChannelAPIResponse } from 'stream-chat';
2
- import type { DefaultStreamChatGenerics } from '../../types/types';
3
2
  /**
4
3
  * Returns the list of channels with state enriched for given channel ids.
5
4
  *
@@ -9,8 +8,8 @@ import type { DefaultStreamChatGenerics } from '../../types/types';
9
8
  *
10
9
  * @returns {Array} Channels with enriched state.
11
10
  */
12
- export declare const getChannels: <StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>({ channelIds, currentUserId, }: {
11
+ export declare const getChannels: ({ channelIds, currentUserId, }: {
13
12
  channelIds: string[];
14
13
  currentUserId: string;
15
- }) => Promise<Omit<ChannelAPIResponse<StreamChatGenerics>, "duration">[]>;
14
+ }) => Promise<Omit<ChannelAPIResponse, "duration">[]>;
16
15
  //# sourceMappingURL=getChannels.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getChannels.d.ts","sourceRoot":"","sources":["../../../../src/store/apis/getChannels.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAOtD,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAC;AAInE;;;;;;;;GAQG;AACH,eAAO,MAAM,WAAW,GACtB,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,EAChF,gCAGC;IACD,UAAU,EAAE,MAAM,EAAE,CAAC;IACrB,aAAa,EAAE,MAAM,CAAC;CACvB,KAAG,OAAO,CAAC,IAAI,CAAC,kBAAkB,CAAC,kBAAkB,CAAC,EAAE,UAAU,CAAC,EAAE,CAmBrE,CAAC"}
1
+ {"version":3,"file":"getChannels.d.ts","sourceRoot":"","sources":["../../../../src/store/apis/getChannels.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAUtD;;;;;;;;GAQG;AACH,eAAO,MAAM,WAAW,GAAU,gCAG/B;IACD,UAAU,EAAE,MAAM,EAAE,CAAC;IACrB,aAAa,EAAE,MAAM,CAAC;CACvB,KAAG,OAAO,CAAC,IAAI,CAAC,kBAAkB,EAAE,UAAU,CAAC,EAAE,CAmBjD,CAAC"}
@@ -1,5 +1,4 @@
1
1
  import type { ChannelAPIResponse, ChannelFilters, ChannelSort } from 'stream-chat';
2
- import type { DefaultStreamChatGenerics } from '../../types/types';
3
2
  /**
4
3
  * Gets the channels from database for given filter and sort query.
5
4
  *
@@ -10,9 +9,9 @@ import type { DefaultStreamChatGenerics } from '../../types/types';
10
9
  *
11
10
  * @returns Array of channels corresponding to filters & sort. Returns null if filters + sort query doesn't exist in "channelQueries" table.
12
11
  */
13
- export declare const getChannelsForFilterSort: <StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>({ currentUserId, filters, sort, }: {
12
+ export declare const getChannelsForFilterSort: ({ currentUserId, filters, sort, }: {
14
13
  currentUserId: string;
15
- filters?: ChannelFilters<StreamChatGenerics>;
16
- sort?: ChannelSort<StreamChatGenerics>;
17
- }) => Promise<Omit<ChannelAPIResponse<StreamChatGenerics>, "duration">[] | null>;
14
+ filters?: ChannelFilters;
15
+ sort?: ChannelSort;
16
+ }) => Promise<Omit<ChannelAPIResponse, "duration">[] | null>;
18
17
  //# sourceMappingURL=getChannelsForFilterSort.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getChannelsForFilterSort.d.ts","sourceRoot":"","sources":["../../../../src/store/apis/getChannelsForFilterSort.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAKnF,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAC;AAInE;;;;;;;;;GASG;AACH,eAAO,MAAM,wBAAwB,GACnC,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,EAChF,mCAIC;IACD,aAAa,EAAE,MAAM,CAAC;IACtB,OAAO,CAAC,EAAE,cAAc,CAAC,kBAAkB,CAAC,CAAC;IAC7C,IAAI,CAAC,EAAE,WAAW,CAAC,kBAAkB,CAAC,CAAC;CACxC,KAAG,OAAO,CAAC,IAAI,CAAC,kBAAkB,CAAC,kBAAkB,CAAC,EAAE,UAAU,CAAC,EAAE,GAAG,IAAI,CAsB5E,CAAC"}
1
+ {"version":3,"file":"getChannelsForFilterSort.d.ts","sourceRoot":"","sources":["../../../../src/store/apis/getChannelsForFilterSort.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAOnF;;;;;;;;;GASG;AACH,eAAO,MAAM,wBAAwB,GAAU,mCAI5C;IACD,aAAa,EAAE,MAAM,CAAC;IACtB,OAAO,CAAC,EAAE,cAAc,CAAC;IACzB,IAAI,CAAC,EAAE,WAAW,CAAC;CACpB,KAAG,OAAO,CAAC,IAAI,CAAC,kBAAkB,EAAE,UAAU,CAAC,EAAE,GAAG,IAAI,CAsBxD,CAAC"}