stream-chat-react-native-core 6.6.7 → 7.0.0-rc.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 (1051) 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 +1 -1
  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/AutoCompleteInput/AutoCompleteInput.js.map +1 -1
  22. package/lib/commonjs/components/AutoCompleteInput/AutoCompleteSuggestionCommandIcon.js.map +1 -1
  23. package/lib/commonjs/components/AutoCompleteInput/AutoCompleteSuggestionHeader.js.map +1 -1
  24. package/lib/commonjs/components/AutoCompleteInput/AutoCompleteSuggestionItem.js.map +1 -1
  25. package/lib/commonjs/components/AutoCompleteInput/AutoCompleteSuggestionList.js.map +1 -1
  26. package/lib/commonjs/components/Channel/Channel.js +2 -4
  27. package/lib/commonjs/components/Channel/Channel.js.map +1 -1
  28. package/lib/commonjs/components/Channel/hooks/useChannelDataState.js.map +1 -1
  29. package/lib/commonjs/components/Channel/hooks/useCreateChannelContext.js.map +1 -1
  30. package/lib/commonjs/components/Channel/hooks/useCreateInputMessageInputContext.js.map +1 -1
  31. package/lib/commonjs/components/Channel/hooks/useCreateMessagesContext.js.map +1 -1
  32. package/lib/commonjs/components/Channel/hooks/useCreateOwnCapabilitiesContext.js.map +1 -1
  33. package/lib/commonjs/components/Channel/hooks/useCreatePaginatedMessageListContext.js.map +1 -1
  34. package/lib/commonjs/components/Channel/hooks/useCreateThreadContext.js.map +1 -1
  35. package/lib/commonjs/components/Channel/hooks/useCreateTypingContext.js.map +1 -1
  36. package/lib/commonjs/components/Channel/hooks/useMessageListPagination.js.map +1 -1
  37. package/lib/commonjs/components/ChannelList/ChannelList.js.map +1 -1
  38. package/lib/commonjs/components/ChannelList/ChannelListMessenger.js.map +1 -1
  39. package/lib/commonjs/components/ChannelList/hooks/listeners/useAddedToChannelNotification.js.map +1 -1
  40. package/lib/commonjs/components/ChannelList/hooks/listeners/useChannelDeleted.js.map +1 -1
  41. package/lib/commonjs/components/ChannelList/hooks/listeners/useChannelHidden.js.map +1 -1
  42. package/lib/commonjs/components/ChannelList/hooks/listeners/useChannelMemberUpdated.js.map +1 -1
  43. package/lib/commonjs/components/ChannelList/hooks/listeners/useChannelTruncated.js.map +1 -1
  44. package/lib/commonjs/components/ChannelList/hooks/listeners/useChannelUpdated.js.map +1 -1
  45. package/lib/commonjs/components/ChannelList/hooks/listeners/useChannelVisible.js.map +1 -1
  46. package/lib/commonjs/components/ChannelList/hooks/listeners/useNewMessage.js.map +1 -1
  47. package/lib/commonjs/components/ChannelList/hooks/listeners/useNewMessageNotification.js.map +1 -1
  48. package/lib/commonjs/components/ChannelList/hooks/listeners/useRemovedFromChannelNotification.js.map +1 -1
  49. package/lib/commonjs/components/ChannelList/hooks/listeners/useUserPresence.js.map +1 -1
  50. package/lib/commonjs/components/ChannelList/hooks/useChannelMembershipState.js.map +1 -1
  51. package/lib/commonjs/components/ChannelList/hooks/useCreateChannelsContext.js.map +1 -1
  52. package/lib/commonjs/components/ChannelList/hooks/usePaginatedChannels.js +10 -7
  53. package/lib/commonjs/components/ChannelList/hooks/usePaginatedChannels.js.map +1 -1
  54. package/lib/commonjs/components/ChannelList/hooks/useSelectedChannelState.js.map +1 -1
  55. package/lib/commonjs/components/ChannelList/hooks/utils/index.js.map +1 -1
  56. package/lib/commonjs/components/ChannelList/utils.js.map +1 -1
  57. package/lib/commonjs/components/ChannelPreview/ChannelAvatar.js.map +1 -1
  58. package/lib/commonjs/components/ChannelPreview/ChannelPreview.js.map +1 -1
  59. package/lib/commonjs/components/ChannelPreview/ChannelPreviewMessage.js.map +1 -1
  60. package/lib/commonjs/components/ChannelPreview/ChannelPreviewMessenger.js.map +1 -1
  61. package/lib/commonjs/components/ChannelPreview/ChannelPreviewStatus.js.map +1 -1
  62. package/lib/commonjs/components/ChannelPreview/ChannelPreviewTitle.js.map +1 -1
  63. package/lib/commonjs/components/ChannelPreview/ChannelPreviewUnreadCount.js.map +1 -1
  64. package/lib/commonjs/components/ChannelPreview/hooks/useChannelPreviewData.js.map +1 -1
  65. package/lib/commonjs/components/ChannelPreview/hooks/useChannelPreviewDisplayAvatar.js.map +1 -1
  66. package/lib/commonjs/components/ChannelPreview/hooks/useChannelPreviewDisplayName.js.map +1 -1
  67. package/lib/commonjs/components/ChannelPreview/hooks/useChannelPreviewDisplayPresence.js.map +1 -1
  68. package/lib/commonjs/components/ChannelPreview/hooks/useIsChannelMuted.js.map +1 -1
  69. package/lib/commonjs/components/ChannelPreview/hooks/useLatestMessagePreview.js.map +1 -1
  70. package/lib/commonjs/components/Chat/Chat.js.map +1 -1
  71. package/lib/commonjs/components/Chat/hooks/handleEventToSyncDB.js.map +1 -1
  72. package/lib/commonjs/components/Chat/hooks/useAppSettings.js.map +1 -1
  73. package/lib/commonjs/components/Chat/hooks/useCreateChatClient.js.map +1 -1
  74. package/lib/commonjs/components/Chat/hooks/useCreateChatContext.js.map +1 -1
  75. package/lib/commonjs/components/Chat/hooks/useIsOnline.js.map +1 -1
  76. package/lib/commonjs/components/Chat/hooks/useMutedUsers.js.map +1 -1
  77. package/lib/commonjs/components/Chat/hooks/useSyncDatabase.js.map +1 -1
  78. package/lib/commonjs/components/ImageGallery/ImageGallery.js.map +1 -1
  79. package/lib/commonjs/components/ImageGallery/components/ImageGalleryFooter.js.map +1 -1
  80. package/lib/commonjs/components/ImageGallery/components/ImageGalleryHeader.js.map +1 -1
  81. package/lib/commonjs/components/ImageGallery/components/ImageGrid.js.map +1 -1
  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.map +1 -1
  94. package/lib/commonjs/components/Message/MessageSimple/MessageTextContainer.js.map +1 -1
  95. package/lib/commonjs/components/Message/MessageSimple/ReactionList/ReactionListBottom.js.map +1 -1
  96. package/lib/commonjs/components/Message/MessageSimple/ReactionList/ReactionListTop.js.map +1 -1
  97. package/lib/commonjs/components/Message/MessageSimple/StreamingMessageView.js.map +1 -1
  98. package/lib/commonjs/components/Message/MessageSimple/utils/renderText.js.map +1 -1
  99. package/lib/commonjs/components/Message/hooks/useCreateMessageContext.js.map +1 -1
  100. package/lib/commonjs/components/Message/hooks/useMessageActionHandlers.js.map +1 -1
  101. package/lib/commonjs/components/Message/hooks/useMessageActions.js.map +1 -1
  102. package/lib/commonjs/components/Message/hooks/useMessageData.js.map +1 -1
  103. package/lib/commonjs/components/Message/hooks/useProcessReactions.js.map +1 -1
  104. package/lib/commonjs/components/Message/hooks/useStreamingMessage.js.map +1 -1
  105. package/lib/commonjs/components/Message/utils/messageActions.js.map +1 -1
  106. package/lib/commonjs/components/MessageInput/AttachButton.js.map +1 -1
  107. package/lib/commonjs/components/MessageInput/CommandsButton.js.map +1 -1
  108. package/lib/commonjs/components/MessageInput/FileUploadPreview.js.map +1 -1
  109. package/lib/commonjs/components/MessageInput/ImageUploadPreview.js.map +1 -1
  110. package/lib/commonjs/components/MessageInput/InputButtons.js.map +1 -1
  111. package/lib/commonjs/components/MessageInput/MessageInput.js.map +1 -1
  112. package/lib/commonjs/components/MessageInput/SendButton.js.map +1 -1
  113. package/lib/commonjs/components/MessageInput/ShowThreadMessageInChannelButton.js.map +1 -1
  114. package/lib/commonjs/components/MessageInput/components/AudioRecorder/AudioRecorder.js.map +1 -1
  115. package/lib/commonjs/components/MessageInput/components/AudioRecorder/AudioRecordingButton.js.map +1 -1
  116. package/lib/commonjs/components/MessageInput/components/AudioRecorder/AudioRecordingInProgress.js.map +1 -1
  117. package/lib/commonjs/components/MessageInput/components/InputEditingStateHeader.js.map +1 -1
  118. package/lib/commonjs/components/MessageInput/components/InputGiphySearch.js.map +1 -1
  119. package/lib/commonjs/components/MessageInput/components/InputReplyStateHeader.js.map +1 -1
  120. package/lib/commonjs/components/MessageInput/hooks/useCooldown.js.map +1 -1
  121. package/lib/commonjs/components/MessageList/InlineLoadingMoreIndicator.js.map +1 -1
  122. package/lib/commonjs/components/MessageList/InlineLoadingMoreRecentIndicator.js.map +1 -1
  123. package/lib/commonjs/components/MessageList/InlineLoadingMoreRecentThreadIndicator.js.map +1 -1
  124. package/lib/commonjs/components/MessageList/MessageList.js.map +1 -1
  125. package/lib/commonjs/components/MessageList/MessageSystem.js.map +1 -1
  126. package/lib/commonjs/components/MessageList/StickyHeader.js.map +1 -1
  127. package/lib/commonjs/components/MessageList/TypingIndicator.js.map +1 -1
  128. package/lib/commonjs/components/MessageList/TypingIndicatorContainer.js.map +1 -1
  129. package/lib/commonjs/components/MessageList/hooks/useLastReadData.js.map +1 -1
  130. package/lib/commonjs/components/MessageList/hooks/useMessageList.js.map +1 -1
  131. package/lib/commonjs/components/MessageList/hooks/useShouldScrollToRecentOnNewOwnMessage.js.map +1 -1
  132. package/lib/commonjs/components/MessageList/hooks/useTypingString.js.map +1 -1
  133. package/lib/commonjs/components/MessageList/utils/filterTypingUsers.js.map +1 -1
  134. package/lib/commonjs/components/MessageList/utils/getDateSeparators.js.map +1 -1
  135. package/lib/commonjs/components/MessageList/utils/getGroupStyles.js.map +1 -1
  136. package/lib/commonjs/components/MessageList/utils/getLastReceivedMessage.js.map +1 -1
  137. package/lib/commonjs/components/MessageList/utils/getReadStates.js.map +1 -1
  138. package/lib/commonjs/components/MessageMenu/MessageMenu.js.map +1 -1
  139. package/lib/commonjs/components/MessageMenu/MessageReactionPicker.js.map +1 -1
  140. package/lib/commonjs/components/MessageMenu/MessageUserReactions.js.map +1 -1
  141. package/lib/commonjs/components/MessageMenu/MessageUserReactionsItem.js.map +1 -1
  142. package/lib/commonjs/components/MessageMenu/hooks/useFetchReactions.js.map +1 -1
  143. package/lib/commonjs/components/Poll/Poll.js.map +1 -1
  144. package/lib/commonjs/components/Poll/components/Button.js.map +1 -1
  145. package/lib/commonjs/components/Poll/components/PollAnswersList.js.map +1 -1
  146. package/lib/commonjs/components/Poll/components/PollResults/PollOptionFullResults.js.map +1 -1
  147. package/lib/commonjs/components/Poll/components/PollResults/PollResultItem.js.map +1 -1
  148. package/lib/commonjs/components/Poll/hooks/usePollState.js.map +1 -1
  149. package/lib/commonjs/components/Reply/Reply.js.map +1 -1
  150. package/lib/commonjs/components/Thread/Thread.js.map +1 -1
  151. package/lib/commonjs/components/Thread/components/ThreadFooterComponent.js.map +1 -1
  152. package/lib/commonjs/components/ThreadList/ThreadList.js.map +1 -1
  153. package/lib/commonjs/contexts/channelContext/ChannelContext.js.map +1 -1
  154. package/lib/commonjs/contexts/channelsContext/ChannelsContext.js.map +1 -1
  155. package/lib/commonjs/contexts/channelsStateContext/ChannelsStateContext.js.map +1 -1
  156. package/lib/commonjs/contexts/channelsStateContext/useChannelState.js.map +1 -1
  157. package/lib/commonjs/contexts/chatContext/ChatContext.js.map +1 -1
  158. package/lib/commonjs/contexts/debugContext/DebugContext.js.map +1 -1
  159. package/lib/commonjs/contexts/imageGalleryContext/ImageGalleryContext.js.map +1 -1
  160. package/lib/commonjs/contexts/messageContext/MessageContext.js.map +1 -1
  161. package/lib/commonjs/contexts/messageInputContext/MessageInputContext.js.map +1 -1
  162. package/lib/commonjs/contexts/messageInputContext/hooks/useCreateMessageInputContext.js.map +1 -1
  163. package/lib/commonjs/contexts/messageInputContext/hooks/useMessageDetailsForState.js.map +1 -1
  164. package/lib/commonjs/contexts/messagesContext/MessagesContext.js.map +1 -1
  165. package/lib/commonjs/contexts/overlayContext/OverlayContext.js.map +1 -1
  166. package/lib/commonjs/contexts/overlayContext/OverlayProvider.js.map +1 -1
  167. package/lib/commonjs/contexts/paginatedMessageListContext/PaginatedMessageListContext.js.map +1 -1
  168. package/lib/commonjs/contexts/pollContext/pollContext.js.map +1 -1
  169. package/lib/commonjs/contexts/suggestionsContext/SuggestionsContext.js.map +1 -1
  170. package/lib/commonjs/contexts/threadContext/ThreadContext.js.map +1 -1
  171. package/lib/commonjs/contexts/threadsContext/ThreadListItemContext.js.map +1 -1
  172. package/lib/commonjs/contexts/threadsContext/ThreadsContext.js +1 -1
  173. package/lib/commonjs/contexts/threadsContext/ThreadsContext.js.map +1 -1
  174. package/lib/commonjs/contexts/typingContext/TypingContext.js.map +1 -1
  175. package/lib/commonjs/hooks/useTranslatedMessage.js.map +1 -1
  176. package/lib/commonjs/mock-builders/api/channelMocks.js.map +1 -1
  177. package/lib/commonjs/store/apis/getChannelMessages.js.map +1 -1
  178. package/lib/commonjs/store/apis/getChannels.js.map +1 -1
  179. package/lib/commonjs/store/apis/getChannelsForFilterSort.js.map +1 -1
  180. package/lib/commonjs/store/apis/getMembers.js.map +1 -1
  181. package/lib/commonjs/store/apis/getReactions.js.map +1 -1
  182. package/lib/commonjs/store/apis/getReactionsforFilterSort.js.map +1 -1
  183. package/lib/commonjs/store/apis/getReads.js.map +1 -1
  184. package/lib/commonjs/store/apis/queries/selectChannelIdsForFilterSort.js.map +1 -1
  185. package/lib/commonjs/store/apis/updatePollMessage.js.map +1 -1
  186. package/lib/commonjs/store/apis/upsertChannelDataFromChannel.js.map +1 -1
  187. package/lib/commonjs/store/apis/utils/convertFilterSortToQuery.js.map +1 -1
  188. package/lib/commonjs/store/mappers/mapChannelDataToStorable.js.map +1 -1
  189. package/lib/commonjs/store/mappers/mapChannelToStorable.js.map +1 -1
  190. package/lib/commonjs/store/mappers/mapMemberToStorable.js.map +1 -1
  191. package/lib/commonjs/store/mappers/mapReadToStorable.js.map +1 -1
  192. package/lib/commonjs/store/mappers/mapStorableToChannel.js.map +1 -1
  193. package/lib/commonjs/store/mappers/mapStorableToMember.js.map +1 -1
  194. package/lib/commonjs/store/mappers/mapStorableToMessage.js.map +1 -1
  195. package/lib/commonjs/store/mappers/mapStorableToPoll.js +1 -0
  196. package/lib/commonjs/store/mappers/mapStorableToPoll.js.map +1 -1
  197. package/lib/commonjs/store/mappers/mapStorableToReaction.js.map +1 -1
  198. package/lib/commonjs/store/mappers/mapStorableToRead.js.map +1 -1
  199. package/lib/commonjs/store/mappers/mapStorableToUser.js.map +1 -1
  200. package/lib/commonjs/types/stream-chat-common-custom-data.d.js +2 -0
  201. package/lib/commonjs/types/stream-chat-common-custom-data.d.js.map +1 -0
  202. package/lib/commonjs/types/types.js.map +1 -1
  203. package/lib/commonjs/utils/ACITriggerSettings.js.map +1 -1
  204. package/lib/commonjs/utils/DBSyncManager.js.map +1 -1
  205. package/lib/commonjs/utils/addReactionToLocalState.js.map +1 -1
  206. package/lib/commonjs/utils/i18n/Streami18n.js.map +1 -1
  207. package/lib/commonjs/utils/queryMembers.js.map +1 -1
  208. package/lib/commonjs/utils/queryUsers.js.map +1 -1
  209. package/lib/commonjs/utils/removeReactionFromLocalState.js.map +1 -1
  210. package/lib/commonjs/utils/removeReservedFields.js.map +1 -1
  211. package/lib/commonjs/utils/utils.js +23 -22
  212. package/lib/commonjs/utils/utils.js.map +1 -1
  213. package/lib/commonjs/version.json +1 -1
  214. package/lib/module/components/AITypingIndicatorView/AITypingIndicatorView.js.map +1 -1
  215. package/lib/module/components/AITypingIndicatorView/hooks/useAIState.js.map +1 -1
  216. package/lib/module/components/Attachment/Attachment.js +3 -3
  217. package/lib/module/components/Attachment/Attachment.js.map +1 -1
  218. package/lib/module/components/Attachment/AttachmentActions.js.map +1 -1
  219. package/lib/module/components/Attachment/Card.js.map +1 -1
  220. package/lib/module/components/Attachment/FileAttachment.js.map +1 -1
  221. package/lib/module/components/Attachment/FileAttachmentGroup.js +1 -1
  222. package/lib/module/components/Attachment/FileAttachmentGroup.js.map +1 -1
  223. package/lib/module/components/Attachment/Gallery.js.map +1 -1
  224. package/lib/module/components/Attachment/GalleryImage.js.map +1 -1
  225. package/lib/module/components/Attachment/Giphy.js.map +1 -1
  226. package/lib/module/components/Attachment/utils/buildGallery/buildGallery.js.map +1 -1
  227. package/lib/module/components/Attachment/utils/buildGallery/buildGalleryOfSingleImage.js.map +1 -1
  228. package/lib/module/components/Attachment/utils/buildGallery/buildGalleryOfThreeImages.js.map +1 -1
  229. package/lib/module/components/Attachment/utils/buildGallery/buildGalleryOfTwoImages.js.map +1 -1
  230. package/lib/module/components/Attachment/utils/buildGallery/buildThumbnail.js.map +1 -1
  231. package/lib/module/components/Attachment/utils/buildGallery/buildThumbnailGrid.js.map +1 -1
  232. package/lib/module/components/Attachment/utils/getAspectRatio.js.map +1 -1
  233. package/lib/module/components/AutoCompleteInput/AutoCompleteInput.js.map +1 -1
  234. package/lib/module/components/AutoCompleteInput/AutoCompleteSuggestionCommandIcon.js.map +1 -1
  235. package/lib/module/components/AutoCompleteInput/AutoCompleteSuggestionHeader.js.map +1 -1
  236. package/lib/module/components/AutoCompleteInput/AutoCompleteSuggestionItem.js.map +1 -1
  237. package/lib/module/components/AutoCompleteInput/AutoCompleteSuggestionList.js.map +1 -1
  238. package/lib/module/components/Channel/Channel.js +2 -4
  239. package/lib/module/components/Channel/Channel.js.map +1 -1
  240. package/lib/module/components/Channel/hooks/useChannelDataState.js.map +1 -1
  241. package/lib/module/components/Channel/hooks/useCreateChannelContext.js.map +1 -1
  242. package/lib/module/components/Channel/hooks/useCreateInputMessageInputContext.js.map +1 -1
  243. package/lib/module/components/Channel/hooks/useCreateMessagesContext.js.map +1 -1
  244. package/lib/module/components/Channel/hooks/useCreateOwnCapabilitiesContext.js.map +1 -1
  245. package/lib/module/components/Channel/hooks/useCreatePaginatedMessageListContext.js.map +1 -1
  246. package/lib/module/components/Channel/hooks/useCreateThreadContext.js.map +1 -1
  247. package/lib/module/components/Channel/hooks/useCreateTypingContext.js.map +1 -1
  248. package/lib/module/components/Channel/hooks/useMessageListPagination.js.map +1 -1
  249. package/lib/module/components/ChannelList/ChannelList.js.map +1 -1
  250. package/lib/module/components/ChannelList/ChannelListMessenger.js.map +1 -1
  251. package/lib/module/components/ChannelList/hooks/listeners/useAddedToChannelNotification.js.map +1 -1
  252. package/lib/module/components/ChannelList/hooks/listeners/useChannelDeleted.js.map +1 -1
  253. package/lib/module/components/ChannelList/hooks/listeners/useChannelHidden.js.map +1 -1
  254. package/lib/module/components/ChannelList/hooks/listeners/useChannelMemberUpdated.js.map +1 -1
  255. package/lib/module/components/ChannelList/hooks/listeners/useChannelTruncated.js.map +1 -1
  256. package/lib/module/components/ChannelList/hooks/listeners/useChannelUpdated.js.map +1 -1
  257. package/lib/module/components/ChannelList/hooks/listeners/useChannelVisible.js.map +1 -1
  258. package/lib/module/components/ChannelList/hooks/listeners/useNewMessage.js.map +1 -1
  259. package/lib/module/components/ChannelList/hooks/listeners/useNewMessageNotification.js.map +1 -1
  260. package/lib/module/components/ChannelList/hooks/listeners/useRemovedFromChannelNotification.js.map +1 -1
  261. package/lib/module/components/ChannelList/hooks/listeners/useUserPresence.js.map +1 -1
  262. package/lib/module/components/ChannelList/hooks/useChannelMembershipState.js.map +1 -1
  263. package/lib/module/components/ChannelList/hooks/useCreateChannelsContext.js.map +1 -1
  264. package/lib/module/components/ChannelList/hooks/usePaginatedChannels.js +10 -7
  265. package/lib/module/components/ChannelList/hooks/usePaginatedChannels.js.map +1 -1
  266. package/lib/module/components/ChannelList/hooks/useSelectedChannelState.js.map +1 -1
  267. package/lib/module/components/ChannelList/hooks/utils/index.js.map +1 -1
  268. package/lib/module/components/ChannelList/utils.js.map +1 -1
  269. package/lib/module/components/ChannelPreview/ChannelAvatar.js.map +1 -1
  270. package/lib/module/components/ChannelPreview/ChannelPreview.js.map +1 -1
  271. package/lib/module/components/ChannelPreview/ChannelPreviewMessage.js.map +1 -1
  272. package/lib/module/components/ChannelPreview/ChannelPreviewMessenger.js.map +1 -1
  273. package/lib/module/components/ChannelPreview/ChannelPreviewStatus.js.map +1 -1
  274. package/lib/module/components/ChannelPreview/ChannelPreviewTitle.js.map +1 -1
  275. package/lib/module/components/ChannelPreview/ChannelPreviewUnreadCount.js.map +1 -1
  276. package/lib/module/components/ChannelPreview/hooks/useChannelPreviewData.js.map +1 -1
  277. package/lib/module/components/ChannelPreview/hooks/useChannelPreviewDisplayAvatar.js.map +1 -1
  278. package/lib/module/components/ChannelPreview/hooks/useChannelPreviewDisplayName.js.map +1 -1
  279. package/lib/module/components/ChannelPreview/hooks/useChannelPreviewDisplayPresence.js.map +1 -1
  280. package/lib/module/components/ChannelPreview/hooks/useIsChannelMuted.js.map +1 -1
  281. package/lib/module/components/ChannelPreview/hooks/useLatestMessagePreview.js.map +1 -1
  282. package/lib/module/components/Chat/Chat.js.map +1 -1
  283. package/lib/module/components/Chat/hooks/handleEventToSyncDB.js.map +1 -1
  284. package/lib/module/components/Chat/hooks/useAppSettings.js.map +1 -1
  285. package/lib/module/components/Chat/hooks/useCreateChatClient.js.map +1 -1
  286. package/lib/module/components/Chat/hooks/useCreateChatContext.js.map +1 -1
  287. package/lib/module/components/Chat/hooks/useIsOnline.js.map +1 -1
  288. package/lib/module/components/Chat/hooks/useMutedUsers.js.map +1 -1
  289. package/lib/module/components/Chat/hooks/useSyncDatabase.js.map +1 -1
  290. package/lib/module/components/ImageGallery/ImageGallery.js.map +1 -1
  291. package/lib/module/components/ImageGallery/components/ImageGalleryFooter.js.map +1 -1
  292. package/lib/module/components/ImageGallery/components/ImageGalleryHeader.js.map +1 -1
  293. package/lib/module/components/ImageGallery/components/ImageGrid.js.map +1 -1
  294. package/lib/module/components/Message/Message.js.map +1 -1
  295. package/lib/module/components/Message/MessageSimple/MessageAvatar.js.map +1 -1
  296. package/lib/module/components/Message/MessageSimple/MessageBounce.js.map +1 -1
  297. package/lib/module/components/Message/MessageSimple/MessageContent.js.map +1 -1
  298. package/lib/module/components/Message/MessageSimple/MessageDeleted.js.map +1 -1
  299. package/lib/module/components/Message/MessageSimple/MessageEditedTimestamp.js.map +1 -1
  300. package/lib/module/components/Message/MessageSimple/MessageFooter.js.map +1 -1
  301. package/lib/module/components/Message/MessageSimple/MessagePinnedHeader.js.map +1 -1
  302. package/lib/module/components/Message/MessageSimple/MessageReplies.js.map +1 -1
  303. package/lib/module/components/Message/MessageSimple/MessageRepliesAvatars.js.map +1 -1
  304. package/lib/module/components/Message/MessageSimple/MessageSimple.js.map +1 -1
  305. package/lib/module/components/Message/MessageSimple/MessageStatus.js.map +1 -1
  306. package/lib/module/components/Message/MessageSimple/MessageTextContainer.js.map +1 -1
  307. package/lib/module/components/Message/MessageSimple/ReactionList/ReactionListBottom.js.map +1 -1
  308. package/lib/module/components/Message/MessageSimple/ReactionList/ReactionListTop.js.map +1 -1
  309. package/lib/module/components/Message/MessageSimple/StreamingMessageView.js.map +1 -1
  310. package/lib/module/components/Message/MessageSimple/utils/renderText.js.map +1 -1
  311. package/lib/module/components/Message/hooks/useCreateMessageContext.js.map +1 -1
  312. package/lib/module/components/Message/hooks/useMessageActionHandlers.js.map +1 -1
  313. package/lib/module/components/Message/hooks/useMessageActions.js.map +1 -1
  314. package/lib/module/components/Message/hooks/useMessageData.js.map +1 -1
  315. package/lib/module/components/Message/hooks/useProcessReactions.js.map +1 -1
  316. package/lib/module/components/Message/hooks/useStreamingMessage.js.map +1 -1
  317. package/lib/module/components/Message/utils/messageActions.js.map +1 -1
  318. package/lib/module/components/MessageInput/AttachButton.js.map +1 -1
  319. package/lib/module/components/MessageInput/CommandsButton.js.map +1 -1
  320. package/lib/module/components/MessageInput/FileUploadPreview.js.map +1 -1
  321. package/lib/module/components/MessageInput/ImageUploadPreview.js.map +1 -1
  322. package/lib/module/components/MessageInput/InputButtons.js.map +1 -1
  323. package/lib/module/components/MessageInput/MessageInput.js.map +1 -1
  324. package/lib/module/components/MessageInput/SendButton.js.map +1 -1
  325. package/lib/module/components/MessageInput/ShowThreadMessageInChannelButton.js.map +1 -1
  326. package/lib/module/components/MessageInput/components/AudioRecorder/AudioRecorder.js.map +1 -1
  327. package/lib/module/components/MessageInput/components/AudioRecorder/AudioRecordingButton.js.map +1 -1
  328. package/lib/module/components/MessageInput/components/AudioRecorder/AudioRecordingInProgress.js.map +1 -1
  329. package/lib/module/components/MessageInput/components/InputEditingStateHeader.js.map +1 -1
  330. package/lib/module/components/MessageInput/components/InputGiphySearch.js.map +1 -1
  331. package/lib/module/components/MessageInput/components/InputReplyStateHeader.js.map +1 -1
  332. package/lib/module/components/MessageInput/hooks/useCooldown.js.map +1 -1
  333. package/lib/module/components/MessageList/InlineLoadingMoreIndicator.js.map +1 -1
  334. package/lib/module/components/MessageList/InlineLoadingMoreRecentIndicator.js.map +1 -1
  335. package/lib/module/components/MessageList/InlineLoadingMoreRecentThreadIndicator.js.map +1 -1
  336. package/lib/module/components/MessageList/MessageList.js.map +1 -1
  337. package/lib/module/components/MessageList/MessageSystem.js.map +1 -1
  338. package/lib/module/components/MessageList/StickyHeader.js.map +1 -1
  339. package/lib/module/components/MessageList/TypingIndicator.js.map +1 -1
  340. package/lib/module/components/MessageList/TypingIndicatorContainer.js.map +1 -1
  341. package/lib/module/components/MessageList/hooks/useLastReadData.js.map +1 -1
  342. package/lib/module/components/MessageList/hooks/useMessageList.js.map +1 -1
  343. package/lib/module/components/MessageList/hooks/useShouldScrollToRecentOnNewOwnMessage.js.map +1 -1
  344. package/lib/module/components/MessageList/hooks/useTypingString.js.map +1 -1
  345. package/lib/module/components/MessageList/utils/filterTypingUsers.js.map +1 -1
  346. package/lib/module/components/MessageList/utils/getDateSeparators.js.map +1 -1
  347. package/lib/module/components/MessageList/utils/getGroupStyles.js.map +1 -1
  348. package/lib/module/components/MessageList/utils/getLastReceivedMessage.js.map +1 -1
  349. package/lib/module/components/MessageList/utils/getReadStates.js.map +1 -1
  350. package/lib/module/components/MessageMenu/MessageMenu.js.map +1 -1
  351. package/lib/module/components/MessageMenu/MessageReactionPicker.js.map +1 -1
  352. package/lib/module/components/MessageMenu/MessageUserReactions.js.map +1 -1
  353. package/lib/module/components/MessageMenu/MessageUserReactionsItem.js.map +1 -1
  354. package/lib/module/components/MessageMenu/hooks/useFetchReactions.js.map +1 -1
  355. package/lib/module/components/Poll/Poll.js.map +1 -1
  356. package/lib/module/components/Poll/components/Button.js.map +1 -1
  357. package/lib/module/components/Poll/components/PollAnswersList.js.map +1 -1
  358. package/lib/module/components/Poll/components/PollResults/PollOptionFullResults.js.map +1 -1
  359. package/lib/module/components/Poll/components/PollResults/PollResultItem.js.map +1 -1
  360. package/lib/module/components/Poll/hooks/usePollState.js.map +1 -1
  361. package/lib/module/components/Reply/Reply.js.map +1 -1
  362. package/lib/module/components/Thread/Thread.js.map +1 -1
  363. package/lib/module/components/Thread/components/ThreadFooterComponent.js.map +1 -1
  364. package/lib/module/components/ThreadList/ThreadList.js.map +1 -1
  365. package/lib/module/contexts/channelContext/ChannelContext.js.map +1 -1
  366. package/lib/module/contexts/channelsContext/ChannelsContext.js.map +1 -1
  367. package/lib/module/contexts/channelsStateContext/ChannelsStateContext.js.map +1 -1
  368. package/lib/module/contexts/channelsStateContext/useChannelState.js.map +1 -1
  369. package/lib/module/contexts/chatContext/ChatContext.js.map +1 -1
  370. package/lib/module/contexts/debugContext/DebugContext.js.map +1 -1
  371. package/lib/module/contexts/imageGalleryContext/ImageGalleryContext.js.map +1 -1
  372. package/lib/module/contexts/messageContext/MessageContext.js.map +1 -1
  373. package/lib/module/contexts/messageInputContext/MessageInputContext.js.map +1 -1
  374. package/lib/module/contexts/messageInputContext/hooks/useCreateMessageInputContext.js.map +1 -1
  375. package/lib/module/contexts/messageInputContext/hooks/useMessageDetailsForState.js.map +1 -1
  376. package/lib/module/contexts/messagesContext/MessagesContext.js.map +1 -1
  377. package/lib/module/contexts/overlayContext/OverlayContext.js.map +1 -1
  378. package/lib/module/contexts/overlayContext/OverlayProvider.js.map +1 -1
  379. package/lib/module/contexts/paginatedMessageListContext/PaginatedMessageListContext.js.map +1 -1
  380. package/lib/module/contexts/pollContext/pollContext.js.map +1 -1
  381. package/lib/module/contexts/suggestionsContext/SuggestionsContext.js.map +1 -1
  382. package/lib/module/contexts/threadContext/ThreadContext.js.map +1 -1
  383. package/lib/module/contexts/threadsContext/ThreadListItemContext.js.map +1 -1
  384. package/lib/module/contexts/threadsContext/ThreadsContext.js +1 -1
  385. package/lib/module/contexts/threadsContext/ThreadsContext.js.map +1 -1
  386. package/lib/module/contexts/typingContext/TypingContext.js.map +1 -1
  387. package/lib/module/hooks/useTranslatedMessage.js.map +1 -1
  388. package/lib/module/mock-builders/api/channelMocks.js.map +1 -1
  389. package/lib/module/store/apis/getChannelMessages.js.map +1 -1
  390. package/lib/module/store/apis/getChannels.js.map +1 -1
  391. package/lib/module/store/apis/getChannelsForFilterSort.js.map +1 -1
  392. package/lib/module/store/apis/getMembers.js.map +1 -1
  393. package/lib/module/store/apis/getReactions.js.map +1 -1
  394. package/lib/module/store/apis/getReactionsforFilterSort.js.map +1 -1
  395. package/lib/module/store/apis/getReads.js.map +1 -1
  396. package/lib/module/store/apis/queries/selectChannelIdsForFilterSort.js.map +1 -1
  397. package/lib/module/store/apis/updatePollMessage.js.map +1 -1
  398. package/lib/module/store/apis/upsertChannelDataFromChannel.js.map +1 -1
  399. package/lib/module/store/apis/utils/convertFilterSortToQuery.js.map +1 -1
  400. package/lib/module/store/mappers/mapChannelDataToStorable.js.map +1 -1
  401. package/lib/module/store/mappers/mapChannelToStorable.js.map +1 -1
  402. package/lib/module/store/mappers/mapMemberToStorable.js.map +1 -1
  403. package/lib/module/store/mappers/mapReadToStorable.js.map +1 -1
  404. package/lib/module/store/mappers/mapStorableToChannel.js.map +1 -1
  405. package/lib/module/store/mappers/mapStorableToMember.js.map +1 -1
  406. package/lib/module/store/mappers/mapStorableToMessage.js.map +1 -1
  407. package/lib/module/store/mappers/mapStorableToPoll.js +1 -0
  408. package/lib/module/store/mappers/mapStorableToPoll.js.map +1 -1
  409. package/lib/module/store/mappers/mapStorableToReaction.js.map +1 -1
  410. package/lib/module/store/mappers/mapStorableToRead.js.map +1 -1
  411. package/lib/module/store/mappers/mapStorableToUser.js.map +1 -1
  412. package/lib/module/types/stream-chat-common-custom-data.d.js +2 -0
  413. package/lib/module/types/stream-chat-common-custom-data.d.js.map +1 -0
  414. package/lib/module/types/types.js.map +1 -1
  415. package/lib/module/utils/ACITriggerSettings.js.map +1 -1
  416. package/lib/module/utils/DBSyncManager.js.map +1 -1
  417. package/lib/module/utils/addReactionToLocalState.js.map +1 -1
  418. package/lib/module/utils/i18n/Streami18n.js.map +1 -1
  419. package/lib/module/utils/queryMembers.js.map +1 -1
  420. package/lib/module/utils/queryUsers.js.map +1 -1
  421. package/lib/module/utils/removeReactionFromLocalState.js.map +1 -1
  422. package/lib/module/utils/removeReservedFields.js.map +1 -1
  423. package/lib/module/utils/utils.js +23 -22
  424. package/lib/module/utils/utils.js.map +1 -1
  425. package/lib/module/version.json +1 -1
  426. package/lib/typescript/components/AITypingIndicatorView/AITypingIndicatorView.d.ts +3 -4
  427. package/lib/typescript/components/AITypingIndicatorView/AITypingIndicatorView.d.ts.map +1 -1
  428. package/lib/typescript/components/AITypingIndicatorView/hooks/useAIState.d.ts +1 -2
  429. package/lib/typescript/components/AITypingIndicatorView/hooks/useAIState.d.ts.map +1 -1
  430. package/lib/typescript/components/Attachment/Attachment.d.ts +4 -5
  431. package/lib/typescript/components/Attachment/Attachment.d.ts.map +1 -1
  432. package/lib/typescript/components/Attachment/AttachmentActions.d.ts +3 -4
  433. package/lib/typescript/components/Attachment/AttachmentActions.d.ts.map +1 -1
  434. package/lib/typescript/components/Attachment/Card.d.ts +3 -4
  435. package/lib/typescript/components/Attachment/Card.d.ts.map +1 -1
  436. package/lib/typescript/components/Attachment/FileAttachment.d.ts +4 -5
  437. package/lib/typescript/components/Attachment/FileAttachment.d.ts.map +1 -1
  438. package/lib/typescript/components/Attachment/FileAttachmentGroup.d.ts +3 -4
  439. package/lib/typescript/components/Attachment/FileAttachmentGroup.d.ts.map +1 -1
  440. package/lib/typescript/components/Attachment/Gallery.d.ts +4 -5
  441. package/lib/typescript/components/Attachment/Gallery.d.ts.map +1 -1
  442. package/lib/typescript/components/Attachment/GalleryImage.d.ts +2 -3
  443. package/lib/typescript/components/Attachment/GalleryImage.d.ts.map +1 -1
  444. package/lib/typescript/components/Attachment/Giphy.d.ts +5 -6
  445. package/lib/typescript/components/Attachment/Giphy.d.ts.map +1 -1
  446. package/lib/typescript/components/Attachment/utils/buildGallery/buildGallery.d.ts +2 -3
  447. package/lib/typescript/components/Attachment/utils/buildGallery/buildGallery.d.ts.map +1 -1
  448. package/lib/typescript/components/Attachment/utils/buildGallery/buildGalleryOfSingleImage.d.ts +2 -3
  449. package/lib/typescript/components/Attachment/utils/buildGallery/buildGalleryOfSingleImage.d.ts.map +1 -1
  450. package/lib/typescript/components/Attachment/utils/buildGallery/buildGalleryOfThreeImages.d.ts +2 -3
  451. package/lib/typescript/components/Attachment/utils/buildGallery/buildGalleryOfThreeImages.d.ts.map +1 -1
  452. package/lib/typescript/components/Attachment/utils/buildGallery/buildGalleryOfTwoImages.d.ts +2 -3
  453. package/lib/typescript/components/Attachment/utils/buildGallery/buildGalleryOfTwoImages.d.ts.map +1 -1
  454. package/lib/typescript/components/Attachment/utils/buildGallery/buildThumbnail.d.ts +3 -4
  455. package/lib/typescript/components/Attachment/utils/buildGallery/buildThumbnail.d.ts.map +1 -1
  456. package/lib/typescript/components/Attachment/utils/buildGallery/buildThumbnailGrid.d.ts +2 -3
  457. package/lib/typescript/components/Attachment/utils/buildGallery/buildThumbnailGrid.d.ts.map +1 -1
  458. package/lib/typescript/components/Attachment/utils/getAspectRatio.d.ts +1 -2
  459. package/lib/typescript/components/Attachment/utils/getAspectRatio.d.ts.map +1 -1
  460. package/lib/typescript/components/AutoCompleteInput/AutoCompleteInput.d.ts +3 -4
  461. package/lib/typescript/components/AutoCompleteInput/AutoCompleteInput.d.ts.map +1 -1
  462. package/lib/typescript/components/AutoCompleteInput/AutoCompleteSuggestionCommandIcon.d.ts +2 -3
  463. package/lib/typescript/components/AutoCompleteInput/AutoCompleteSuggestionCommandIcon.d.ts.map +1 -1
  464. package/lib/typescript/components/AutoCompleteInput/AutoCompleteSuggestionHeader.d.ts +3 -4
  465. package/lib/typescript/components/AutoCompleteInput/AutoCompleteSuggestionHeader.d.ts.map +1 -1
  466. package/lib/typescript/components/AutoCompleteInput/AutoCompleteSuggestionItem.d.ts +4 -5
  467. package/lib/typescript/components/AutoCompleteInput/AutoCompleteSuggestionItem.d.ts.map +1 -1
  468. package/lib/typescript/components/AutoCompleteInput/AutoCompleteSuggestionList.d.ts +8 -9
  469. package/lib/typescript/components/AutoCompleteInput/AutoCompleteSuggestionList.d.ts.map +1 -1
  470. package/lib/typescript/components/Channel/Channel.d.ts +9 -9
  471. package/lib/typescript/components/Channel/Channel.d.ts.map +1 -1
  472. package/lib/typescript/components/Channel/hooks/useChannelDataState.d.ts +23 -24
  473. package/lib/typescript/components/Channel/hooks/useChannelDataState.d.ts.map +1 -1
  474. package/lib/typescript/components/Channel/hooks/useCreateChannelContext.d.ts +1 -2
  475. package/lib/typescript/components/Channel/hooks/useCreateChannelContext.d.ts.map +1 -1
  476. package/lib/typescript/components/Channel/hooks/useCreateInputMessageInputContext.d.ts +2 -3
  477. package/lib/typescript/components/Channel/hooks/useCreateInputMessageInputContext.d.ts.map +1 -1
  478. package/lib/typescript/components/Channel/hooks/useCreateMessagesContext.d.ts +2 -3
  479. package/lib/typescript/components/Channel/hooks/useCreateMessagesContext.d.ts.map +1 -1
  480. package/lib/typescript/components/Channel/hooks/useCreateOwnCapabilitiesContext.d.ts +2 -3
  481. package/lib/typescript/components/Channel/hooks/useCreateOwnCapabilitiesContext.d.ts.map +1 -1
  482. package/lib/typescript/components/Channel/hooks/useCreatePaginatedMessageListContext.d.ts +2 -3
  483. package/lib/typescript/components/Channel/hooks/useCreatePaginatedMessageListContext.d.ts.map +1 -1
  484. package/lib/typescript/components/Channel/hooks/useCreateThreadContext.d.ts +10 -11
  485. package/lib/typescript/components/Channel/hooks/useCreateThreadContext.d.ts.map +1 -1
  486. package/lib/typescript/components/Channel/hooks/useCreateTypingContext.d.ts +1 -2
  487. package/lib/typescript/components/Channel/hooks/useCreateTypingContext.d.ts.map +1 -1
  488. package/lib/typescript/components/Channel/hooks/useMessageListPagination.d.ts +7 -8
  489. package/lib/typescript/components/Channel/hooks/useMessageListPagination.d.ts.map +1 -1
  490. package/lib/typescript/components/ChannelList/ChannelList.d.ts +17 -17
  491. package/lib/typescript/components/ChannelList/ChannelList.d.ts.map +1 -1
  492. package/lib/typescript/components/ChannelList/ChannelListMessenger.d.ts +3 -4
  493. package/lib/typescript/components/ChannelList/ChannelListMessenger.d.ts.map +1 -1
  494. package/lib/typescript/components/ChannelList/hooks/listeners/useAddedToChannelNotification.d.ts +6 -6
  495. package/lib/typescript/components/ChannelList/hooks/listeners/useAddedToChannelNotification.d.ts.map +1 -1
  496. package/lib/typescript/components/ChannelList/hooks/listeners/useChannelDeleted.d.ts +4 -5
  497. package/lib/typescript/components/ChannelList/hooks/listeners/useChannelDeleted.d.ts.map +1 -1
  498. package/lib/typescript/components/ChannelList/hooks/listeners/useChannelHidden.d.ts +4 -5
  499. package/lib/typescript/components/ChannelList/hooks/listeners/useChannelHidden.d.ts.map +1 -1
  500. package/lib/typescript/components/ChannelList/hooks/listeners/useChannelMemberUpdated.d.ts +6 -6
  501. package/lib/typescript/components/ChannelList/hooks/listeners/useChannelMemberUpdated.d.ts.map +1 -1
  502. package/lib/typescript/components/ChannelList/hooks/listeners/useChannelTruncated.d.ts +4 -5
  503. package/lib/typescript/components/ChannelList/hooks/listeners/useChannelTruncated.d.ts.map +1 -1
  504. package/lib/typescript/components/ChannelList/hooks/listeners/useChannelUpdated.d.ts +4 -5
  505. package/lib/typescript/components/ChannelList/hooks/listeners/useChannelUpdated.d.ts.map +1 -1
  506. package/lib/typescript/components/ChannelList/hooks/listeners/useChannelVisible.d.ts +6 -6
  507. package/lib/typescript/components/ChannelList/hooks/listeners/useChannelVisible.d.ts.map +1 -1
  508. package/lib/typescript/components/ChannelList/hooks/listeners/useNewMessage.d.ts +6 -6
  509. package/lib/typescript/components/ChannelList/hooks/listeners/useNewMessage.d.ts.map +1 -1
  510. package/lib/typescript/components/ChannelList/hooks/listeners/useNewMessageNotification.d.ts +6 -6
  511. package/lib/typescript/components/ChannelList/hooks/listeners/useNewMessageNotification.d.ts.map +1 -1
  512. package/lib/typescript/components/ChannelList/hooks/listeners/useRemovedFromChannelNotification.d.ts +4 -5
  513. package/lib/typescript/components/ChannelList/hooks/listeners/useRemovedFromChannelNotification.d.ts.map +1 -1
  514. package/lib/typescript/components/ChannelList/hooks/listeners/useUserPresence.d.ts +3 -4
  515. package/lib/typescript/components/ChannelList/hooks/listeners/useUserPresence.d.ts.map +1 -1
  516. package/lib/typescript/components/ChannelList/hooks/useChannelMembershipState.d.ts +2 -3
  517. package/lib/typescript/components/ChannelList/hooks/useChannelMembershipState.d.ts.map +1 -1
  518. package/lib/typescript/components/ChannelList/hooks/useCreateChannelsContext.d.ts +1 -2
  519. package/lib/typescript/components/ChannelList/hooks/useCreateChannelsContext.d.ts.map +1 -1
  520. package/lib/typescript/components/ChannelList/hooks/usePaginatedChannels.d.ts +6 -7
  521. package/lib/typescript/components/ChannelList/hooks/usePaginatedChannels.d.ts.map +1 -1
  522. package/lib/typescript/components/ChannelList/hooks/useSelectedChannelState.d.ts +6 -7
  523. package/lib/typescript/components/ChannelList/hooks/useSelectedChannelState.d.ts.map +1 -1
  524. package/lib/typescript/components/ChannelList/hooks/utils/index.d.ts +12 -13
  525. package/lib/typescript/components/ChannelList/hooks/utils/index.d.ts.map +1 -1
  526. package/lib/typescript/components/ChannelList/utils.d.ts +8 -9
  527. package/lib/typescript/components/ChannelList/utils.d.ts.map +1 -1
  528. package/lib/typescript/components/ChannelPreview/ChannelAvatar.d.ts +3 -4
  529. package/lib/typescript/components/ChannelPreview/ChannelAvatar.d.ts.map +1 -1
  530. package/lib/typescript/components/ChannelPreview/ChannelPreview.d.ts +3 -4
  531. package/lib/typescript/components/ChannelPreview/ChannelPreview.d.ts.map +1 -1
  532. package/lib/typescript/components/ChannelPreview/ChannelPreviewMessage.d.ts +3 -4
  533. package/lib/typescript/components/ChannelPreview/ChannelPreviewMessage.d.ts.map +1 -1
  534. package/lib/typescript/components/ChannelPreview/ChannelPreviewMessenger.d.ts +4 -5
  535. package/lib/typescript/components/ChannelPreview/ChannelPreviewMessenger.d.ts.map +1 -1
  536. package/lib/typescript/components/ChannelPreview/ChannelPreviewStatus.d.ts +2 -3
  537. package/lib/typescript/components/ChannelPreview/ChannelPreviewStatus.d.ts.map +1 -1
  538. package/lib/typescript/components/ChannelPreview/ChannelPreviewTitle.d.ts +2 -3
  539. package/lib/typescript/components/ChannelPreview/ChannelPreviewTitle.d.ts.map +1 -1
  540. package/lib/typescript/components/ChannelPreview/ChannelPreviewUnreadCount.d.ts +2 -3
  541. package/lib/typescript/components/ChannelPreview/ChannelPreviewUnreadCount.d.ts.map +1 -1
  542. package/lib/typescript/components/ChannelPreview/hooks/useChannelPreviewData.d.ts +2 -3
  543. package/lib/typescript/components/ChannelPreview/hooks/useChannelPreviewData.d.ts.map +1 -1
  544. package/lib/typescript/components/ChannelPreview/hooks/useChannelPreviewDisplayAvatar.d.ts +2 -3
  545. package/lib/typescript/components/ChannelPreview/hooks/useChannelPreviewDisplayAvatar.d.ts.map +1 -1
  546. package/lib/typescript/components/ChannelPreview/hooks/useChannelPreviewDisplayName.d.ts +3 -4
  547. package/lib/typescript/components/ChannelPreview/hooks/useChannelPreviewDisplayName.d.ts.map +1 -1
  548. package/lib/typescript/components/ChannelPreview/hooks/useChannelPreviewDisplayPresence.d.ts +1 -2
  549. package/lib/typescript/components/ChannelPreview/hooks/useChannelPreviewDisplayPresence.d.ts.map +1 -1
  550. package/lib/typescript/components/ChannelPreview/hooks/useIsChannelMuted.d.ts +1 -2
  551. package/lib/typescript/components/ChannelPreview/hooks/useIsChannelMuted.d.ts.map +1 -1
  552. package/lib/typescript/components/ChannelPreview/hooks/useLatestMessagePreview.d.ts +4 -5
  553. package/lib/typescript/components/ChannelPreview/hooks/useLatestMessagePreview.d.ts.map +1 -1
  554. package/lib/typescript/components/Chat/Chat.d.ts +2 -3
  555. package/lib/typescript/components/Chat/Chat.d.ts.map +1 -1
  556. package/lib/typescript/components/Chat/hooks/handleEventToSyncDB.d.ts +1 -2
  557. package/lib/typescript/components/Chat/hooks/handleEventToSyncDB.d.ts.map +1 -1
  558. package/lib/typescript/components/Chat/hooks/useAppSettings.d.ts +1 -2
  559. package/lib/typescript/components/Chat/hooks/useAppSettings.d.ts.map +1 -1
  560. package/lib/typescript/components/Chat/hooks/useCreateChatClient.d.ts +4 -4
  561. package/lib/typescript/components/Chat/hooks/useCreateChatClient.d.ts.map +1 -1
  562. package/lib/typescript/components/Chat/hooks/useCreateChatContext.d.ts +1 -2
  563. package/lib/typescript/components/Chat/hooks/useCreateChatContext.d.ts.map +1 -1
  564. package/lib/typescript/components/Chat/hooks/useIsOnline.d.ts +1 -2
  565. package/lib/typescript/components/Chat/hooks/useIsOnline.d.ts.map +1 -1
  566. package/lib/typescript/components/Chat/hooks/useMutedUsers.d.ts +1 -2
  567. package/lib/typescript/components/Chat/hooks/useMutedUsers.d.ts.map +1 -1
  568. package/lib/typescript/components/Chat/hooks/useSyncDatabase.d.ts +3 -4
  569. package/lib/typescript/components/Chat/hooks/useSyncDatabase.d.ts.map +1 -1
  570. package/lib/typescript/components/ImageGallery/ImageGallery.d.ts +9 -10
  571. package/lib/typescript/components/ImageGallery/ImageGallery.d.ts.map +1 -1
  572. package/lib/typescript/components/ImageGallery/components/ImageGalleryFooter.d.ts +11 -12
  573. package/lib/typescript/components/ImageGallery/components/ImageGalleryFooter.d.ts.map +1 -1
  574. package/lib/typescript/components/ImageGallery/components/ImageGalleryHeader.d.ts +9 -10
  575. package/lib/typescript/components/ImageGallery/components/ImageGalleryHeader.d.ts.map +1 -1
  576. package/lib/typescript/components/ImageGallery/components/ImageGrid.d.ts +9 -10
  577. package/lib/typescript/components/ImageGallery/components/ImageGrid.d.ts.map +1 -1
  578. package/lib/typescript/components/Message/Message.d.ts +19 -20
  579. package/lib/typescript/components/Message/Message.d.ts.map +1 -1
  580. package/lib/typescript/components/Message/MessageSimple/MessageAvatar.d.ts +3 -4
  581. package/lib/typescript/components/Message/MessageSimple/MessageAvatar.d.ts.map +1 -1
  582. package/lib/typescript/components/Message/MessageSimple/MessageBounce.d.ts +4 -5
  583. package/lib/typescript/components/Message/MessageSimple/MessageBounce.d.ts.map +1 -1
  584. package/lib/typescript/components/Message/MessageSimple/MessageContent.d.ts +3 -4
  585. package/lib/typescript/components/Message/MessageSimple/MessageContent.d.ts.map +1 -1
  586. package/lib/typescript/components/Message/MessageSimple/MessageDeleted.d.ts +3 -4
  587. package/lib/typescript/components/Message/MessageSimple/MessageDeleted.d.ts.map +1 -1
  588. package/lib/typescript/components/Message/MessageSimple/MessageEditedTimestamp.d.ts +2 -3
  589. package/lib/typescript/components/Message/MessageSimple/MessageEditedTimestamp.d.ts.map +1 -1
  590. package/lib/typescript/components/Message/MessageSimple/MessageFooter.d.ts +5 -6
  591. package/lib/typescript/components/Message/MessageSimple/MessageFooter.d.ts.map +1 -1
  592. package/lib/typescript/components/Message/MessageSimple/MessagePinnedHeader.d.ts +2 -3
  593. package/lib/typescript/components/Message/MessageSimple/MessagePinnedHeader.d.ts.map +1 -1
  594. package/lib/typescript/components/Message/MessageSimple/MessageReplies.d.ts +3 -4
  595. package/lib/typescript/components/Message/MessageSimple/MessageReplies.d.ts.map +1 -1
  596. package/lib/typescript/components/Message/MessageSimple/MessageRepliesAvatars.d.ts +3 -4
  597. package/lib/typescript/components/Message/MessageSimple/MessageRepliesAvatars.d.ts.map +1 -1
  598. package/lib/typescript/components/Message/MessageSimple/MessageSimple.d.ts +3 -4
  599. package/lib/typescript/components/Message/MessageSimple/MessageSimple.d.ts.map +1 -1
  600. package/lib/typescript/components/Message/MessageSimple/MessageStatus.d.ts +3 -4
  601. package/lib/typescript/components/Message/MessageSimple/MessageStatus.d.ts.map +1 -1
  602. package/lib/typescript/components/Message/MessageSimple/MessageTextContainer.d.ts +5 -6
  603. package/lib/typescript/components/Message/MessageSimple/MessageTextContainer.d.ts.map +1 -1
  604. package/lib/typescript/components/Message/MessageSimple/ReactionList/ReactionListBottom.d.ts +4 -5
  605. package/lib/typescript/components/Message/MessageSimple/ReactionList/ReactionListBottom.d.ts.map +1 -1
  606. package/lib/typescript/components/Message/MessageSimple/ReactionList/ReactionListTop.d.ts +4 -5
  607. package/lib/typescript/components/Message/MessageSimple/ReactionList/ReactionListTop.d.ts.map +1 -1
  608. package/lib/typescript/components/Message/MessageSimple/StreamingMessageView.d.ts +2 -3
  609. package/lib/typescript/components/Message/MessageSimple/StreamingMessageView.d.ts.map +1 -1
  610. package/lib/typescript/components/Message/MessageSimple/utils/renderText.d.ts +3 -4
  611. package/lib/typescript/components/Message/MessageSimple/utils/renderText.d.ts.map +1 -1
  612. package/lib/typescript/components/Message/hooks/useCreateMessageContext.d.ts +1 -2
  613. package/lib/typescript/components/Message/hooks/useCreateMessageContext.d.ts.map +1 -1
  614. package/lib/typescript/components/Message/hooks/useMessageActionHandlers.d.ts +1 -2
  615. package/lib/typescript/components/Message/hooks/useMessageActionHandlers.d.ts.map +1 -1
  616. package/lib/typescript/components/Message/hooks/useMessageActions.d.ts +3 -4
  617. package/lib/typescript/components/Message/hooks/useMessageActions.d.ts.map +1 -1
  618. package/lib/typescript/components/Message/hooks/useMessageData.d.ts +2 -3
  619. package/lib/typescript/components/Message/hooks/useMessageData.d.ts.map +1 -1
  620. package/lib/typescript/components/Message/hooks/useProcessReactions.d.ts +5 -6
  621. package/lib/typescript/components/Message/hooks/useProcessReactions.d.ts.map +1 -1
  622. package/lib/typescript/components/Message/hooks/useStreamingMessage.d.ts +2 -3
  623. package/lib/typescript/components/Message/hooks/useStreamingMessage.d.ts.map +1 -1
  624. package/lib/typescript/components/Message/utils/messageActions.d.ts +4 -5
  625. package/lib/typescript/components/Message/utils/messageActions.d.ts.map +1 -1
  626. package/lib/typescript/components/MessageInput/AttachButton.d.ts +1 -2
  627. package/lib/typescript/components/MessageInput/AttachButton.d.ts.map +1 -1
  628. package/lib/typescript/components/MessageInput/CommandsButton.d.ts +3 -4
  629. package/lib/typescript/components/MessageInput/CommandsButton.d.ts.map +1 -1
  630. package/lib/typescript/components/MessageInput/FileUploadPreview.d.ts +3 -4
  631. package/lib/typescript/components/MessageInput/FileUploadPreview.d.ts.map +1 -1
  632. package/lib/typescript/components/MessageInput/ImageUploadPreview.d.ts +3 -4
  633. package/lib/typescript/components/MessageInput/ImageUploadPreview.d.ts.map +1 -1
  634. package/lib/typescript/components/MessageInput/InputButtons.d.ts +4 -5
  635. package/lib/typescript/components/MessageInput/InputButtons.d.ts.map +1 -1
  636. package/lib/typescript/components/MessageInput/MessageInput.d.ts +3 -4
  637. package/lib/typescript/components/MessageInput/MessageInput.d.ts.map +1 -1
  638. package/lib/typescript/components/MessageInput/SendButton.d.ts +3 -4
  639. package/lib/typescript/components/MessageInput/SendButton.d.ts.map +1 -1
  640. package/lib/typescript/components/MessageInput/ShowThreadMessageInChannelButton.d.ts +1 -2
  641. package/lib/typescript/components/MessageInput/ShowThreadMessageInChannelButton.d.ts.map +1 -1
  642. package/lib/typescript/components/MessageInput/components/AudioRecorder/AudioRecorder.d.ts +3 -4
  643. package/lib/typescript/components/MessageInput/components/AudioRecorder/AudioRecorder.d.ts.map +1 -1
  644. package/lib/typescript/components/MessageInput/components/AudioRecorder/AudioRecordingButton.d.ts +3 -4
  645. package/lib/typescript/components/MessageInput/components/AudioRecorder/AudioRecordingButton.d.ts.map +1 -1
  646. package/lib/typescript/components/MessageInput/components/AudioRecorder/AudioRecordingInProgress.d.ts +3 -4
  647. package/lib/typescript/components/MessageInput/components/AudioRecorder/AudioRecordingInProgress.d.ts.map +1 -1
  648. package/lib/typescript/components/MessageInput/components/InputEditingStateHeader.d.ts +2 -3
  649. package/lib/typescript/components/MessageInput/components/InputEditingStateHeader.d.ts.map +1 -1
  650. package/lib/typescript/components/MessageInput/components/InputGiphySearch.d.ts +2 -3
  651. package/lib/typescript/components/MessageInput/components/InputGiphySearch.d.ts.map +1 -1
  652. package/lib/typescript/components/MessageInput/components/InputReplyStateHeader.d.ts +2 -3
  653. package/lib/typescript/components/MessageInput/components/InputReplyStateHeader.d.ts.map +1 -1
  654. package/lib/typescript/components/MessageInput/hooks/useCooldown.d.ts +1 -2
  655. package/lib/typescript/components/MessageInput/hooks/useCooldown.d.ts.map +1 -1
  656. package/lib/typescript/components/MessageList/InlineLoadingMoreIndicator.d.ts +1 -2
  657. package/lib/typescript/components/MessageList/InlineLoadingMoreIndicator.d.ts.map +1 -1
  658. package/lib/typescript/components/MessageList/InlineLoadingMoreRecentIndicator.d.ts +1 -2
  659. package/lib/typescript/components/MessageList/InlineLoadingMoreRecentIndicator.d.ts.map +1 -1
  660. package/lib/typescript/components/MessageList/InlineLoadingMoreRecentThreadIndicator.d.ts +1 -2
  661. package/lib/typescript/components/MessageList/InlineLoadingMoreRecentThreadIndicator.d.ts.map +1 -1
  662. package/lib/typescript/components/MessageList/MessageList.d.ts +6 -7
  663. package/lib/typescript/components/MessageList/MessageList.d.ts.map +1 -1
  664. package/lib/typescript/components/MessageList/MessageSystem.d.ts +3 -4
  665. package/lib/typescript/components/MessageList/MessageSystem.d.ts.map +1 -1
  666. package/lib/typescript/components/MessageList/StickyHeader.d.ts +1 -2
  667. package/lib/typescript/components/MessageList/StickyHeader.d.ts.map +1 -1
  668. package/lib/typescript/components/MessageList/TypingIndicator.d.ts +1 -2
  669. package/lib/typescript/components/MessageList/TypingIndicator.d.ts.map +1 -1
  670. package/lib/typescript/components/MessageList/TypingIndicatorContainer.d.ts +3 -4
  671. package/lib/typescript/components/MessageList/TypingIndicatorContainer.d.ts.map +1 -1
  672. package/lib/typescript/components/MessageList/hooks/useLastReadData.d.ts +4 -5
  673. package/lib/typescript/components/MessageList/hooks/useLastReadData.d.ts.map +1 -1
  674. package/lib/typescript/components/MessageList/hooks/useMessageList.d.ts +6 -7
  675. package/lib/typescript/components/MessageList/hooks/useMessageList.d.ts.map +1 -1
  676. package/lib/typescript/components/MessageList/hooks/useShouldScrollToRecentOnNewOwnMessage.d.ts +1 -2
  677. package/lib/typescript/components/MessageList/hooks/useShouldScrollToRecentOnNewOwnMessage.d.ts.map +1 -1
  678. package/lib/typescript/components/MessageList/hooks/useTypingString.d.ts +1 -2
  679. package/lib/typescript/components/MessageList/hooks/useTypingString.d.ts.map +1 -1
  680. package/lib/typescript/components/MessageList/utils/filterTypingUsers.d.ts +2 -3
  681. package/lib/typescript/components/MessageList/utils/filterTypingUsers.d.ts.map +1 -1
  682. package/lib/typescript/components/MessageList/utils/getDateSeparators.d.ts +3 -4
  683. package/lib/typescript/components/MessageList/utils/getDateSeparators.d.ts.map +1 -1
  684. package/lib/typescript/components/MessageList/utils/getGroupStyles.d.ts +3 -4
  685. package/lib/typescript/components/MessageList/utils/getGroupStyles.d.ts.map +1 -1
  686. package/lib/typescript/components/MessageList/utils/getLastReceivedMessage.d.ts +1 -2
  687. package/lib/typescript/components/MessageList/utils/getLastReceivedMessage.d.ts.map +1 -1
  688. package/lib/typescript/components/MessageList/utils/getReadStates.d.ts +1 -2
  689. package/lib/typescript/components/MessageList/utils/getReadStates.d.ts.map +1 -1
  690. package/lib/typescript/components/MessageMenu/MessageMenu.d.ts +2 -3
  691. package/lib/typescript/components/MessageMenu/MessageMenu.d.ts.map +1 -1
  692. package/lib/typescript/components/MessageMenu/MessageReactionPicker.d.ts +2 -3
  693. package/lib/typescript/components/MessageMenu/MessageReactionPicker.d.ts.map +1 -1
  694. package/lib/typescript/components/MessageMenu/MessageUserReactions.d.ts +2 -2
  695. package/lib/typescript/components/MessageMenu/MessageUserReactions.d.ts.map +1 -1
  696. package/lib/typescript/components/MessageMenu/MessageUserReactionsItem.d.ts +3 -3
  697. package/lib/typescript/components/MessageMenu/MessageUserReactionsItem.d.ts.map +1 -1
  698. package/lib/typescript/components/MessageMenu/hooks/useFetchReactions.d.ts +5 -6
  699. package/lib/typescript/components/MessageMenu/hooks/useFetchReactions.d.ts.map +1 -1
  700. package/lib/typescript/components/Poll/Poll.d.ts +2 -3
  701. package/lib/typescript/components/Poll/Poll.d.ts.map +1 -1
  702. package/lib/typescript/components/Poll/components/Button.d.ts +4 -5
  703. package/lib/typescript/components/Poll/components/Button.d.ts.map +1 -1
  704. package/lib/typescript/components/Poll/components/PollAnswersList.d.ts +2 -3
  705. package/lib/typescript/components/Poll/components/PollAnswersList.d.ts.map +1 -1
  706. package/lib/typescript/components/Poll/components/PollResults/PollOptionFullResults.d.ts +4 -5
  707. package/lib/typescript/components/Poll/components/PollResults/PollOptionFullResults.d.ts.map +1 -1
  708. package/lib/typescript/components/Poll/components/PollResults/PollResultItem.d.ts +7 -8
  709. package/lib/typescript/components/Poll/components/PollResults/PollResultItem.d.ts.map +1 -1
  710. package/lib/typescript/components/Poll/hooks/usePollState.d.ts +3 -4
  711. package/lib/typescript/components/Poll/hooks/usePollState.d.ts.map +1 -1
  712. package/lib/typescript/components/Reply/Reply.d.ts +3 -4
  713. package/lib/typescript/components/Reply/Reply.d.ts.map +1 -1
  714. package/lib/typescript/components/Thread/Thread.d.ts +6 -7
  715. package/lib/typescript/components/Thread/Thread.d.ts.map +1 -1
  716. package/lib/typescript/components/Thread/components/ThreadFooterComponent.d.ts +2 -3
  717. package/lib/typescript/components/Thread/components/ThreadFooterComponent.d.ts.map +1 -1
  718. package/lib/typescript/components/ThreadList/ThreadList.d.ts +1 -2
  719. package/lib/typescript/components/ThreadList/ThreadList.d.ts.map +1 -1
  720. package/lib/typescript/contexts/channelContext/ChannelContext.d.ts +15 -15
  721. package/lib/typescript/contexts/channelContext/ChannelContext.d.ts.map +1 -1
  722. package/lib/typescript/contexts/channelsContext/ChannelsContext.d.ts +15 -16
  723. package/lib/typescript/contexts/channelsContext/ChannelsContext.d.ts.map +1 -1
  724. package/lib/typescript/contexts/channelsStateContext/ChannelsStateContext.d.ts +11 -12
  725. package/lib/typescript/contexts/channelsStateContext/ChannelsStateContext.d.ts.map +1 -1
  726. package/lib/typescript/contexts/channelsStateContext/useChannelState.d.ts +6 -7
  727. package/lib/typescript/contexts/channelsStateContext/useChannelState.d.ts.map +1 -1
  728. package/lib/typescript/contexts/chatContext/ChatContext.d.ts +11 -12
  729. package/lib/typescript/contexts/chatContext/ChatContext.d.ts.map +1 -1
  730. package/lib/typescript/contexts/debugContext/DebugContext.d.ts +11 -12
  731. package/lib/typescript/contexts/debugContext/DebugContext.d.ts.map +1 -1
  732. package/lib/typescript/contexts/imageGalleryContext/ImageGalleryContext.d.ts +7 -7
  733. package/lib/typescript/contexts/imageGalleryContext/ImageGalleryContext.d.ts.map +1 -1
  734. package/lib/typescript/contexts/messageContext/MessageContext.d.ts +12 -13
  735. package/lib/typescript/contexts/messageContext/MessageContext.d.ts.map +1 -1
  736. package/lib/typescript/contexts/messageInputContext/MessageInputContext.d.ts +36 -36
  737. package/lib/typescript/contexts/messageInputContext/MessageInputContext.d.ts.map +1 -1
  738. package/lib/typescript/contexts/messageInputContext/hooks/useCreateMessageInputContext.d.ts +1 -2
  739. package/lib/typescript/contexts/messageInputContext/hooks/useCreateMessageInputContext.d.ts.map +1 -1
  740. package/lib/typescript/contexts/messageInputContext/hooks/useMessageDetailsForState.d.ts +2 -2
  741. package/lib/typescript/contexts/messageInputContext/hooks/useMessageDetailsForState.d.ts.map +1 -1
  742. package/lib/typescript/contexts/messagesContext/MessagesContext.d.ts +63 -64
  743. package/lib/typescript/contexts/messagesContext/MessagesContext.d.ts.map +1 -1
  744. package/lib/typescript/contexts/overlayContext/OverlayContext.d.ts +1 -2
  745. package/lib/typescript/contexts/overlayContext/OverlayContext.d.ts.map +1 -1
  746. package/lib/typescript/contexts/overlayContext/OverlayProvider.d.ts +1 -2
  747. package/lib/typescript/contexts/overlayContext/OverlayProvider.d.ts.map +1 -1
  748. package/lib/typescript/contexts/paginatedMessageListContext/PaginatedMessageListContext.d.ts +6 -7
  749. package/lib/typescript/contexts/paginatedMessageListContext/PaginatedMessageListContext.d.ts.map +1 -1
  750. package/lib/typescript/contexts/pollContext/pollContext.d.ts +7 -8
  751. package/lib/typescript/contexts/pollContext/pollContext.d.ts.map +1 -1
  752. package/lib/typescript/contexts/suggestionsContext/SuggestionsContext.d.ts +18 -19
  753. package/lib/typescript/contexts/suggestionsContext/SuggestionsContext.d.ts.map +1 -1
  754. package/lib/typescript/contexts/threadContext/ThreadContext.d.ts +10 -11
  755. package/lib/typescript/contexts/threadContext/ThreadContext.d.ts.map +1 -1
  756. package/lib/typescript/contexts/threadsContext/ThreadListItemContext.d.ts +9 -10
  757. package/lib/typescript/contexts/threadsContext/ThreadListItemContext.d.ts.map +1 -1
  758. package/lib/typescript/contexts/threadsContext/ThreadsContext.d.ts +6 -7
  759. package/lib/typescript/contexts/threadsContext/ThreadsContext.d.ts.map +1 -1
  760. package/lib/typescript/contexts/typingContext/TypingContext.d.ts +6 -7
  761. package/lib/typescript/contexts/typingContext/TypingContext.d.ts.map +1 -1
  762. package/lib/typescript/hooks/useTranslatedMessage.d.ts +112 -3
  763. package/lib/typescript/hooks/useTranslatedMessage.d.ts.map +1 -1
  764. package/lib/typescript/store/apis/getChannelMessages.d.ts +2 -3
  765. package/lib/typescript/store/apis/getChannelMessages.d.ts.map +1 -1
  766. package/lib/typescript/store/apis/getChannels.d.ts +2 -3
  767. package/lib/typescript/store/apis/getChannels.d.ts.map +1 -1
  768. package/lib/typescript/store/apis/getChannelsForFilterSort.d.ts +4 -5
  769. package/lib/typescript/store/apis/getChannelsForFilterSort.d.ts.map +1 -1
  770. package/lib/typescript/store/apis/getMembers.d.ts +2 -3
  771. package/lib/typescript/store/apis/getMembers.d.ts.map +1 -1
  772. package/lib/typescript/store/apis/getReactions.d.ts +2 -3
  773. package/lib/typescript/store/apis/getReactions.d.ts.map +1 -1
  774. package/lib/typescript/store/apis/getReactionsforFilterSort.d.ts +4 -5
  775. package/lib/typescript/store/apis/getReactionsforFilterSort.d.ts.map +1 -1
  776. package/lib/typescript/store/apis/getReads.d.ts +2 -3
  777. package/lib/typescript/store/apis/getReads.d.ts.map +1 -1
  778. package/lib/typescript/store/apis/queries/selectChannelIdsForFilterSort.d.ts +3 -4
  779. package/lib/typescript/store/apis/queries/selectChannelIdsForFilterSort.d.ts.map +1 -1
  780. package/lib/typescript/store/apis/updatePollMessage.d.ts +3 -4
  781. package/lib/typescript/store/apis/updatePollMessage.d.ts.map +1 -1
  782. package/lib/typescript/store/apis/upsertChannelDataFromChannel.d.ts +2 -3
  783. package/lib/typescript/store/apis/upsertChannelDataFromChannel.d.ts.map +1 -1
  784. package/lib/typescript/store/apis/utils/convertFilterSortToQuery.d.ts +3 -4
  785. package/lib/typescript/store/apis/utils/convertFilterSortToQuery.d.ts.map +1 -1
  786. package/lib/typescript/store/mappers/mapChannelDataToStorable.d.ts +1 -2
  787. package/lib/typescript/store/mappers/mapChannelDataToStorable.d.ts.map +1 -1
  788. package/lib/typescript/store/mappers/mapChannelToStorable.d.ts +1 -2
  789. package/lib/typescript/store/mappers/mapChannelToStorable.d.ts.map +1 -1
  790. package/lib/typescript/store/mappers/mapMemberToStorable.d.ts +2 -3
  791. package/lib/typescript/store/mappers/mapMemberToStorable.d.ts.map +1 -1
  792. package/lib/typescript/store/mappers/mapReadToStorable.d.ts +2 -3
  793. package/lib/typescript/store/mappers/mapReadToStorable.d.ts.map +1 -1
  794. package/lib/typescript/store/mappers/mapStorableToChannel.d.ts +1 -2
  795. package/lib/typescript/store/mappers/mapStorableToChannel.d.ts.map +1 -1
  796. package/lib/typescript/store/mappers/mapStorableToMember.d.ts +1 -2
  797. package/lib/typescript/store/mappers/mapStorableToMember.d.ts.map +1 -1
  798. package/lib/typescript/store/mappers/mapStorableToMessage.d.ts +2 -3
  799. package/lib/typescript/store/mappers/mapStorableToMessage.d.ts.map +1 -1
  800. package/lib/typescript/store/mappers/mapStorableToPoll.d.ts +1 -2
  801. package/lib/typescript/store/mappers/mapStorableToPoll.d.ts.map +1 -1
  802. package/lib/typescript/store/mappers/mapStorableToReaction.d.ts +1 -2
  803. package/lib/typescript/store/mappers/mapStorableToReaction.d.ts.map +1 -1
  804. package/lib/typescript/store/mappers/mapStorableToRead.d.ts +1 -2
  805. package/lib/typescript/store/mappers/mapStorableToRead.d.ts.map +1 -1
  806. package/lib/typescript/store/mappers/mapStorableToUser.d.ts +1 -2
  807. package/lib/typescript/store/mappers/mapStorableToUser.d.ts.map +1 -1
  808. package/lib/typescript/types/types.d.ts +38 -30
  809. package/lib/typescript/types/types.d.ts.map +1 -1
  810. package/lib/typescript/utils/ACITriggerSettings.d.ts +14 -15
  811. package/lib/typescript/utils/ACITriggerSettings.d.ts.map +1 -1
  812. package/lib/typescript/utils/DBSyncManager.d.ts +8 -9
  813. package/lib/typescript/utils/DBSyncManager.d.ts.map +1 -1
  814. package/lib/typescript/utils/addReactionToLocalState.d.ts +3 -4
  815. package/lib/typescript/utils/addReactionToLocalState.d.ts.map +1 -1
  816. package/lib/typescript/utils/i18n/Streami18n.d.ts +3 -4
  817. package/lib/typescript/utils/i18n/Streami18n.d.ts.map +1 -1
  818. package/lib/typescript/utils/queryMembers.d.ts +4 -5
  819. package/lib/typescript/utils/queryMembers.d.ts.map +1 -1
  820. package/lib/typescript/utils/queryUsers.d.ts +5 -6
  821. package/lib/typescript/utils/queryUsers.d.ts.map +1 -1
  822. package/lib/typescript/utils/removeReactionFromLocalState.d.ts +3 -4
  823. package/lib/typescript/utils/removeReactionFromLocalState.d.ts.map +1 -1
  824. package/lib/typescript/utils/removeReservedFields.d.ts +1 -2
  825. package/lib/typescript/utils/removeReservedFields.d.ts.map +1 -1
  826. package/lib/typescript/utils/utils.d.ts +10 -10
  827. package/lib/typescript/utils/utils.d.ts.map +1 -1
  828. package/package.json +2 -2
  829. package/src/components/AITypingIndicatorView/AITypingIndicatorView.tsx +5 -10
  830. package/src/components/AITypingIndicatorView/hooks/useAIState.ts +9 -17
  831. package/src/components/Attachment/Attachment.tsx +15 -29
  832. package/src/components/Attachment/AttachmentActions.tsx +10 -24
  833. package/src/components/Attachment/Card.tsx +14 -36
  834. package/src/components/Attachment/FileAttachment.tsx +11 -24
  835. package/src/components/Attachment/FileAttachmentGroup.tsx +16 -29
  836. package/src/components/Attachment/Gallery.tsx +25 -47
  837. package/src/components/Attachment/GalleryImage.tsx +4 -10
  838. package/src/components/Attachment/Giphy.tsx +19 -31
  839. package/src/components/Attachment/utils/buildGallery/buildGallery.ts +2 -5
  840. package/src/components/Attachment/utils/buildGallery/buildGalleryOfSingleImage.ts +10 -8
  841. package/src/components/Attachment/utils/buildGallery/buildGalleryOfThreeImages.ts +5 -7
  842. package/src/components/Attachment/utils/buildGallery/buildGalleryOfTwoImages.ts +3 -5
  843. package/src/components/Attachment/utils/buildGallery/buildThumbnail.ts +4 -9
  844. package/src/components/Attachment/utils/buildGallery/buildThumbnailGrid.ts +2 -6
  845. package/src/components/Attachment/utils/getAspectRatio.ts +2 -4
  846. package/src/components/AutoCompleteInput/AutoCompleteInput.tsx +16 -38
  847. package/src/components/AutoCompleteInput/AutoCompleteSuggestionCommandIcon.tsx +2 -5
  848. package/src/components/AutoCompleteInput/AutoCompleteSuggestionHeader.tsx +13 -19
  849. package/src/components/AutoCompleteInput/AutoCompleteSuggestionItem.tsx +17 -22
  850. package/src/components/AutoCompleteInput/AutoCompleteSuggestionList.tsx +19 -32
  851. package/src/components/Channel/Channel.tsx +118 -164
  852. package/src/components/Channel/hooks/useChannelDataState.ts +38 -59
  853. package/src/components/Channel/hooks/useCreateChannelContext.ts +3 -6
  854. package/src/components/Channel/hooks/useCreateInputMessageInputContext.ts +3 -6
  855. package/src/components/Channel/hooks/useCreateMessagesContext.ts +3 -6
  856. package/src/components/Channel/hooks/useCreateOwnCapabilitiesContext.ts +2 -5
  857. package/src/components/Channel/hooks/useCreatePaginatedMessageListContext.ts +4 -6
  858. package/src/components/Channel/hooks/useCreateThreadContext.ts +2 -5
  859. package/src/components/Channel/hooks/useCreateTypingContext.ts +2 -7
  860. package/src/components/Channel/hooks/useMessageListPagination.tsx +34 -40
  861. package/src/components/ChannelList/ChannelList.tsx +36 -44
  862. package/src/components/ChannelList/ChannelListMessenger.tsx +12 -37
  863. package/src/components/ChannelList/hooks/listeners/useAddedToChannelNotification.ts +15 -21
  864. package/src/components/ChannelList/hooks/listeners/useChannelDeleted.ts +10 -18
  865. package/src/components/ChannelList/hooks/listeners/useChannelHidden.ts +10 -18
  866. package/src/components/ChannelList/hooks/listeners/useChannelMemberUpdated.ts +17 -23
  867. package/src/components/ChannelList/hooks/listeners/useChannelTruncated.ts +13 -18
  868. package/src/components/ChannelList/hooks/listeners/useChannelUpdated.ts +11 -19
  869. package/src/components/ChannelList/hooks/listeners/useChannelVisible.ts +14 -24
  870. package/src/components/ChannelList/hooks/listeners/useNewMessage.ts +17 -23
  871. package/src/components/ChannelList/hooks/listeners/useNewMessageNotification.ts +14 -20
  872. package/src/components/ChannelList/hooks/listeners/useRemovedFromChannelNotification.ts +11 -16
  873. package/src/components/ChannelList/hooks/listeners/useUserPresence.ts +8 -16
  874. package/src/components/ChannelList/hooks/useChannelMembershipState.ts +4 -14
  875. package/src/components/ChannelList/hooks/useCreateChannelsContext.ts +3 -6
  876. package/src/components/ChannelList/hooks/usePaginatedChannels.ts +20 -25
  877. package/src/components/ChannelList/hooks/useSelectedChannelState.ts +9 -17
  878. package/src/components/ChannelList/hooks/utils/index.ts +10 -33
  879. package/src/components/ChannelList/utils.ts +9 -23
  880. package/src/components/ChannelPreview/ChannelAvatar.tsx +6 -14
  881. package/src/components/ChannelPreview/ChannelPreview.tsx +6 -14
  882. package/src/components/ChannelPreview/ChannelPreviewMessage.tsx +3 -11
  883. package/src/components/ChannelPreview/ChannelPreviewMessenger.tsx +9 -28
  884. package/src/components/ChannelPreview/ChannelPreviewStatus.tsx +4 -11
  885. package/src/components/ChannelPreview/ChannelPreviewTitle.tsx +2 -9
  886. package/src/components/ChannelPreview/ChannelPreviewUnreadCount.tsx +3 -11
  887. package/src/components/ChannelPreview/hooks/__tests__/useChannelPreviewDisplayName.test.tsx +1 -1
  888. package/src/components/ChannelPreview/hooks/__tests__/useLatestMessagePreview.test.tsx +0 -1
  889. package/src/components/ChannelPreview/hooks/useChannelPreviewData.ts +7 -11
  890. package/src/components/ChannelPreview/hooks/useChannelPreviewDisplayAvatar.ts +3 -14
  891. package/src/components/ChannelPreview/hooks/useChannelPreviewDisplayName.ts +4 -13
  892. package/src/components/ChannelPreview/hooks/useChannelPreviewDisplayPresence.ts +3 -14
  893. package/src/components/ChannelPreview/hooks/useIsChannelMuted.ts +2 -8
  894. package/src/components/ChannelPreview/hooks/useLatestMessagePreview.ts +26 -54
  895. package/src/components/Chat/Chat.tsx +11 -24
  896. package/src/components/Chat/hooks/handleEventToSyncDB.ts +1 -8
  897. package/src/components/Chat/hooks/useAppSettings.ts +2 -5
  898. package/src/components/Chat/hooks/useCreateChatClient.ts +4 -6
  899. package/src/components/Chat/hooks/useCreateChatContext.ts +3 -6
  900. package/src/components/Chat/hooks/useIsOnline.ts +2 -9
  901. package/src/components/Chat/hooks/useMutedUsers.ts +3 -11
  902. package/src/components/Chat/hooks/useSyncDatabase.ts +3 -11
  903. package/src/components/ImageGallery/ImageGallery.tsx +26 -38
  904. package/src/components/ImageGallery/__tests__/ImageGallery.test.tsx +1 -1
  905. package/src/components/ImageGallery/__tests__/ImageGalleryFooter.test.tsx +1 -1
  906. package/src/components/ImageGallery/__tests__/ImageGalleryHeader.test.tsx +1 -1
  907. package/src/components/ImageGallery/__tests__/ImageGalleryOverlay.test.tsx +1 -1
  908. package/src/components/ImageGallery/components/ImageGalleryFooter.tsx +17 -31
  909. package/src/components/ImageGallery/components/ImageGalleryHeader.tsx +13 -23
  910. package/src/components/ImageGallery/components/ImageGrid.tsx +15 -39
  911. package/src/components/Message/Message.tsx +47 -75
  912. package/src/components/Message/MessageSimple/MessageAvatar.tsx +11 -25
  913. package/src/components/Message/MessageSimple/MessageBounce.tsx +12 -27
  914. package/src/components/Message/MessageSimple/MessageContent.tsx +17 -27
  915. package/src/components/Message/MessageSimple/MessageDeleted.tsx +11 -25
  916. package/src/components/Message/MessageSimple/MessageEditedTimestamp.tsx +4 -11
  917. package/src/components/Message/MessageSimple/MessageFooter.tsx +14 -27
  918. package/src/components/Message/MessageSimple/MessagePinnedHeader.tsx +3 -11
  919. package/src/components/Message/MessageSimple/MessageReplies.tsx +11 -25
  920. package/src/components/Message/MessageSimple/MessageRepliesAvatars.tsx +4 -13
  921. package/src/components/Message/MessageSimple/MessageSimple.tsx +13 -25
  922. package/src/components/Message/MessageSimple/MessageStatus.tsx +9 -21
  923. package/src/components/Message/MessageSimple/MessageTextContainer.tsx +16 -33
  924. package/src/components/Message/MessageSimple/ReactionList/ReactionListBottom.tsx +11 -24
  925. package/src/components/Message/MessageSimple/ReactionList/ReactionListTop.tsx +10 -23
  926. package/src/components/Message/MessageSimple/StreamingMessageView.tsx +4 -10
  927. package/src/components/Message/MessageSimple/utils/renderText.tsx +6 -14
  928. package/src/components/Message/hooks/useCreateMessageContext.ts +4 -6
  929. package/src/components/Message/hooks/useMessageActionHandlers.ts +6 -9
  930. package/src/components/Message/hooks/useMessageActions.tsx +11 -15
  931. package/src/components/Message/hooks/useMessageData.ts +4 -12
  932. package/src/components/Message/hooks/useProcessReactions.ts +11 -27
  933. package/src/components/Message/hooks/useStreamingMessage.ts +4 -9
  934. package/src/components/Message/utils/messageActions.ts +6 -12
  935. package/src/components/MessageInput/AttachButton.tsx +2 -9
  936. package/src/components/MessageInput/CommandsButton.tsx +8 -22
  937. package/src/components/MessageInput/FileUploadPreview.tsx +14 -26
  938. package/src/components/MessageInput/ImageUploadPreview.tsx +12 -24
  939. package/src/components/MessageInput/InputButtons.tsx +9 -23
  940. package/src/components/MessageInput/MessageInput.tsx +27 -36
  941. package/src/components/MessageInput/SendButton.tsx +6 -23
  942. package/src/components/MessageInput/ShowThreadMessageInChannelButton.tsx +3 -10
  943. package/src/components/MessageInput/components/AudioRecorder/AudioRecorder.tsx +12 -22
  944. package/src/components/MessageInput/components/AudioRecorder/AudioRecordingButton.tsx +11 -22
  945. package/src/components/MessageInput/components/AudioRecorder/AudioRecordingInProgress.tsx +11 -22
  946. package/src/components/MessageInput/components/InputEditingStateHeader.tsx +6 -9
  947. package/src/components/MessageInput/components/InputGiphySearch.tsx +7 -11
  948. package/src/components/MessageInput/components/InputReplyStateHeader.tsx +4 -9
  949. package/src/components/MessageInput/hooks/useCooldown.ts +5 -7
  950. package/src/components/MessageList/InlineLoadingMoreIndicator.tsx +2 -6
  951. package/src/components/MessageList/InlineLoadingMoreRecentIndicator.tsx +2 -6
  952. package/src/components/MessageList/InlineLoadingMoreRecentThreadIndicator.tsx +2 -6
  953. package/src/components/MessageList/MessageList.tsx +72 -94
  954. package/src/components/MessageList/MessageSystem.tsx +3 -10
  955. package/src/components/MessageList/StickyHeader.tsx +1 -4
  956. package/src/components/MessageList/TypingIndicator.tsx +2 -5
  957. package/src/components/MessageList/TypingIndicatorContainer.tsx +12 -22
  958. package/src/components/MessageList/__tests__/useMessageList.test.tsx +1 -1
  959. package/src/components/MessageList/hooks/useLastReadData.ts +5 -13
  960. package/src/components/MessageList/hooks/useMessageList.ts +20 -33
  961. package/src/components/MessageList/hooks/useShouldScrollToRecentOnNewOwnMessage.ts +4 -5
  962. package/src/components/MessageList/hooks/useTypingString.ts +4 -7
  963. package/src/components/MessageList/utils/filterTypingUsers.ts +6 -15
  964. package/src/components/MessageList/utils/getDateSeparators.ts +3 -12
  965. package/src/components/MessageList/utils/getGroupStyles.ts +8 -18
  966. package/src/components/MessageList/utils/getLastReceivedMessage.ts +1 -6
  967. package/src/components/MessageList/utils/getReadStates.ts +4 -9
  968. package/src/components/MessageMenu/MessageMenu.tsx +6 -13
  969. package/src/components/MessageMenu/MessageReactionPicker.tsx +4 -10
  970. package/src/components/MessageMenu/MessageUserReactions.tsx +4 -6
  971. package/src/components/MessageMenu/MessageUserReactionsItem.tsx +7 -8
  972. package/src/components/MessageMenu/hooks/useFetchReactions.ts +5 -10
  973. package/src/components/Poll/Poll.tsx +3 -12
  974. package/src/components/Poll/components/Button.tsx +3 -11
  975. package/src/components/Poll/components/PollAnswersList.tsx +2 -5
  976. package/src/components/Poll/components/PollResults/PollOptionFullResults.tsx +5 -7
  977. package/src/components/Poll/components/PollResults/PollResultItem.tsx +8 -12
  978. package/src/components/Poll/hooks/usePollState.ts +4 -12
  979. package/src/components/Reply/Reply.tsx +18 -43
  980. package/src/components/Thread/Thread.tsx +15 -29
  981. package/src/components/Thread/__tests__/__snapshots__/Thread.test.js.snap +0 -3
  982. package/src/components/Thread/components/ThreadFooterComponent.tsx +11 -25
  983. package/src/components/ThreadList/ThreadList.tsx +3 -5
  984. package/src/contexts/channelContext/ChannelContext.tsx +15 -27
  985. package/src/contexts/channelsContext/ChannelsContext.tsx +17 -25
  986. package/src/contexts/channelsStateContext/ChannelsStateContext.tsx +18 -44
  987. package/src/contexts/channelsStateContext/useChannelState.ts +13 -26
  988. package/src/contexts/chatContext/ChatContext.tsx +11 -18
  989. package/src/contexts/debugContext/DebugContext.tsx +13 -20
  990. package/src/contexts/imageGalleryContext/ImageGalleryContext.tsx +9 -19
  991. package/src/contexts/messageContext/MessageContext.tsx +13 -21
  992. package/src/contexts/messageInputContext/MessageInputContext.tsx +57 -84
  993. package/src/contexts/messageInputContext/__tests__/MessageInputContext.test.tsx +6 -13
  994. package/src/contexts/messageInputContext/__tests__/isValidMessage.test.tsx +4 -8
  995. package/src/contexts/messageInputContext/__tests__/pickFile.test.tsx +4 -8
  996. package/src/contexts/messageInputContext/__tests__/removeFile.test.tsx +4 -8
  997. package/src/contexts/messageInputContext/__tests__/removeImage.test.tsx +4 -8
  998. package/src/contexts/messageInputContext/__tests__/sendMessage.test.tsx +4 -8
  999. package/src/contexts/messageInputContext/__tests__/sendMessageAsync.test.tsx +3 -8
  1000. package/src/contexts/messageInputContext/__tests__/updateMessage.test.tsx +6 -10
  1001. package/src/contexts/messageInputContext/__tests__/uploadFile.test.tsx +4 -8
  1002. package/src/contexts/messageInputContext/__tests__/uploadImage.test.tsx +4 -8
  1003. package/src/contexts/messageInputContext/__tests__/useMessageDetailsForState.test.tsx +1 -1
  1004. package/src/contexts/messageInputContext/hooks/useCreateMessageInputContext.ts +3 -7
  1005. package/src/contexts/messageInputContext/hooks/useMessageDetailsForState.ts +4 -11
  1006. package/src/contexts/messagesContext/MessagesContext.tsx +64 -80
  1007. package/src/contexts/overlayContext/OverlayContext.tsx +2 -5
  1008. package/src/contexts/overlayContext/OverlayProvider.tsx +3 -7
  1009. package/src/contexts/paginatedMessageListContext/PaginatedMessageListContext.tsx +6 -13
  1010. package/src/contexts/pollContext/pollContext.tsx +6 -10
  1011. package/src/contexts/suggestionsContext/SuggestionsContext.tsx +29 -58
  1012. package/src/contexts/threadContext/ThreadContext.tsx +10 -20
  1013. package/src/contexts/threadsContext/ThreadListItemContext.tsx +10 -16
  1014. package/src/contexts/threadsContext/ThreadsContext.tsx +7 -17
  1015. package/src/contexts/typingContext/TypingContext.tsx +6 -15
  1016. package/src/hooks/useTranslatedMessage.ts +1 -6
  1017. package/src/mock-builders/api/channelMocks.tsx +0 -2
  1018. package/src/store/apis/getChannelMessages.ts +3 -6
  1019. package/src/store/apis/getChannels.ts +6 -9
  1020. package/src/store/apis/getChannelsForFilterSort.ts +4 -8
  1021. package/src/store/apis/getMembers.ts +3 -10
  1022. package/src/store/apis/getReactions.ts +3 -6
  1023. package/src/store/apis/getReactionsforFilterSort.ts +4 -8
  1024. package/src/store/apis/getReads.ts +3 -10
  1025. package/src/store/apis/queries/selectChannelIdsForFilterSort.ts +3 -6
  1026. package/src/store/apis/updatePollMessage.ts +3 -6
  1027. package/src/store/apis/upsertChannelDataFromChannel.ts +2 -5
  1028. package/src/store/apis/utils/convertFilterSortToQuery.ts +3 -7
  1029. package/src/store/mappers/mapChannelDataToStorable.ts +1 -7
  1030. package/src/store/mappers/mapChannelToStorable.ts +2 -8
  1031. package/src/store/mappers/mapMemberToStorable.ts +2 -5
  1032. package/src/store/mappers/mapReadToStorable.ts +2 -5
  1033. package/src/store/mappers/mapStorableToChannel.ts +2 -8
  1034. package/src/store/mappers/mapStorableToMember.ts +2 -5
  1035. package/src/store/mappers/mapStorableToMessage.ts +3 -8
  1036. package/src/store/mappers/mapStorableToPoll.ts +3 -6
  1037. package/src/store/mappers/mapStorableToReaction.ts +2 -6
  1038. package/src/store/mappers/mapStorableToRead.ts +1 -7
  1039. package/src/store/mappers/mapStorableToUser.ts +1 -6
  1040. package/src/types/stream-chat-common-custom-data.d.ts +42 -0
  1041. package/src/types/types.ts +45 -45
  1042. package/src/utils/ACITriggerSettings.ts +20 -37
  1043. package/src/utils/DBSyncManager.ts +6 -31
  1044. package/src/utils/addReactionToLocalState.ts +3 -7
  1045. package/src/utils/i18n/Streami18n.ts +2 -4
  1046. package/src/utils/queryMembers.ts +17 -38
  1047. package/src/utils/queryUsers.ts +10 -15
  1048. package/src/utils/removeReactionFromLocalState.ts +3 -7
  1049. package/src/utils/removeReservedFields.ts +5 -7
  1050. package/src/utils/utils.ts +31 -51
  1051. package/src/version.json +1 -1
@@ -6,7 +6,6 @@ import { ImageGalleryHeaderCustomComponentProps } from './components/ImageGaller
6
6
  import { ImageGalleryGridImageComponents } from './components/ImageGrid';
7
7
  import { ImageGalleryGridHandleCustomComponentProps } from './components/ImageGridHandle';
8
8
  import { OverlayProviderProps } from '../../contexts/overlayContext/OverlayContext';
9
- import { DefaultStreamChatGenerics } from '../../types/types';
10
9
  export declare enum HasPinched {
11
10
  FALSE = 0,
12
11
  TRUE = 1
@@ -16,7 +15,7 @@ export declare enum IsSwiping {
16
15
  TRUE = 1,
17
16
  FALSE = 2
18
17
  }
19
- export type ImageGalleryCustomComponents<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = {
18
+ export type ImageGalleryCustomComponents = {
20
19
  /**
21
20
  * Override props for following UI components, which are part of [image gallery](https://github.com/GetStream/stream-chat-react-native/wiki/Cookbook-v3.0#gallery-components).
22
21
  *
@@ -49,24 +48,24 @@ export type ImageGalleryCustomComponents<StreamChatGenerics extends DefaultStrea
49
48
  * @overrideType object
50
49
  */
51
50
  imageGalleryCustomComponents?: {
52
- footer?: ImageGalleryFooterCustomComponentProps<StreamChatGenerics>;
53
- grid?: ImageGalleryGridImageComponents<StreamChatGenerics>;
51
+ footer?: ImageGalleryFooterCustomComponentProps;
52
+ grid?: ImageGalleryGridImageComponents;
54
53
  gridHandle?: ImageGalleryGridHandleCustomComponentProps;
55
- header?: ImageGalleryHeaderCustomComponentProps<StreamChatGenerics>;
54
+ header?: ImageGalleryHeaderCustomComponentProps;
56
55
  };
57
56
  };
58
- type Props<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = ImageGalleryCustomComponents<StreamChatGenerics> & {
57
+ type Props = ImageGalleryCustomComponents & {
59
58
  overlayOpacity: SharedValue<number>;
60
- } & Pick<OverlayProviderProps<StreamChatGenerics>, 'giphyVersion' | 'imageGalleryGridSnapPoints' | 'imageGalleryGridHandleHeight' | 'numberOfImageGalleryGridColumns' | 'autoPlayVideo'>;
59
+ } & Pick<OverlayProviderProps, 'giphyVersion' | 'imageGalleryGridSnapPoints' | 'imageGalleryGridHandleHeight' | 'numberOfImageGalleryGridColumns' | 'autoPlayVideo'>;
61
60
  export declare const ImageGallery: {
62
- <StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>(props: Props<StreamChatGenerics>): React.JSX.Element;
61
+ (props: Props): React.JSX.Element;
63
62
  displayName: string;
64
63
  };
65
64
  /**
66
65
  * Clamping worklet to clamp the scaling
67
66
  */
68
67
  export declare const clamp: (value: number, lowerBound: number, upperBound: number) => number;
69
- export type Photo<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = {
68
+ export type Photo = {
70
69
  id: string;
71
70
  uri: string;
72
71
  channelId?: string;
@@ -80,7 +79,7 @@ export type Photo<StreamChatGenerics extends DefaultStreamChatGenerics = Default
80
79
  progress?: number;
81
80
  thumb_url?: string;
82
81
  type?: string;
83
- user?: UserResponse<StreamChatGenerics> | null;
82
+ user?: UserResponse | null;
84
83
  user_id?: string;
85
84
  };
86
85
  export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GAAG,IAAI,CAAC;IAC3B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,YAAY,GAAG,IAAI,CAAC;IAC3B,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC"}
@@ -1,13 +1,12 @@
1
1
  import React from 'react';
2
2
  import { SharedValue } from 'react-native-reanimated';
3
3
  import { VideoType } from '../../../native';
4
- import { DefaultStreamChatGenerics } from '../../../types/types';
5
4
  import type { Photo } from '../ImageGallery';
6
- export type ImageGalleryFooterCustomComponent<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = ({ openGridView, photo, share, shareMenuOpen, }: {
5
+ export type ImageGalleryFooterCustomComponent = ({ openGridView, photo, share, shareMenuOpen, }: {
7
6
  openGridView: () => void;
8
7
  share: () => Promise<void>;
9
8
  shareMenuOpen: boolean;
10
- photo?: Photo<StreamChatGenerics>;
9
+ photo?: Photo;
11
10
  }) => React.ReactElement | null;
12
11
  export type ImageGalleryFooterVideoControlProps = {
13
12
  duration: number;
@@ -17,32 +16,32 @@ export type ImageGalleryFooterVideoControlProps = {
17
16
  videoRef: React.RefObject<VideoType>;
18
17
  };
19
18
  export type ImageGalleryFooterVideoControlComponent = ({ duration, onPlayPause, paused, progress, }: ImageGalleryFooterVideoControlProps) => React.ReactElement | null;
20
- export type ImageGalleryFooterCustomComponentProps<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = {
21
- centerElement?: ImageGalleryFooterCustomComponent<StreamChatGenerics>;
19
+ export type ImageGalleryFooterCustomComponentProps = {
20
+ centerElement?: ImageGalleryFooterCustomComponent;
22
21
  GridIcon?: React.ReactElement;
23
- leftElement?: ImageGalleryFooterCustomComponent<StreamChatGenerics>;
24
- rightElement?: ImageGalleryFooterCustomComponent<StreamChatGenerics>;
22
+ leftElement?: ImageGalleryFooterCustomComponent;
23
+ rightElement?: ImageGalleryFooterCustomComponent;
25
24
  ShareIcon?: React.ReactElement;
26
25
  videoControlElement?: ImageGalleryFooterVideoControlComponent;
27
26
  };
28
- type ImageGalleryFooterPropsWithContext<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = ImageGalleryFooterCustomComponentProps<StreamChatGenerics> & {
27
+ type ImageGalleryFooterPropsWithContext = ImageGalleryFooterCustomComponentProps & {
29
28
  accessibilityLabel: string;
30
29
  duration: number;
31
30
  onPlayPause: () => void;
32
31
  opacity: SharedValue<number>;
33
32
  openGridView: () => void;
34
33
  paused: boolean;
35
- photo: Photo<StreamChatGenerics>;
34
+ photo: Photo;
36
35
  photoLength: number;
37
36
  progress: number;
38
37
  selectedIndex: number;
39
38
  videoRef: React.RefObject<VideoType>;
40
39
  visible: SharedValue<number>;
41
40
  };
42
- export declare const ImageGalleryFooterWithContext: <StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>(props: ImageGalleryFooterPropsWithContext<StreamChatGenerics>) => React.JSX.Element;
43
- export type ImageGalleryFooterProps<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = ImageGalleryFooterPropsWithContext<StreamChatGenerics>;
41
+ export declare const ImageGalleryFooterWithContext: (props: ImageGalleryFooterPropsWithContext) => React.JSX.Element;
42
+ export type ImageGalleryFooterProps = ImageGalleryFooterPropsWithContext;
44
43
  export declare const ImageGalleryFooter: {
45
- <StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>(props: ImageGalleryFooterProps<StreamChatGenerics>): React.JSX.Element;
44
+ (props: ImageGalleryFooterProps): React.JSX.Element;
46
45
  displayName: string;
47
46
  };
48
47
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"ImageGalleryFooter.d.ts","sourceRoot":"","sources":["../../../../../src/components/ImageGallery/components/ImageGalleryFooter.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAExC,OAAiB,EAGf,WAAW,EAEZ,MAAM,yBAAyB,CAAC;AAOjC,OAAO,EAML,SAAS,EACV,MAAM,iBAAiB,CAAC;AAMzB,OAAO,EAAE,yBAAyB,EAAa,MAAM,sBAAsB,CAAC;AAC5E,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AAE7C,MAAM,MAAM,iCAAiC,CAC3C,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,IAC9E,CAAC,EACH,YAAY,EACZ,KAAK,EACL,KAAK,EACL,aAAa,GACd,EAAE;IACD,YAAY,EAAE,MAAM,IAAI,CAAC;IACzB,KAAK,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAC3B,aAAa,EAAE,OAAO,CAAC;IACvB,KAAK,CAAC,EAAE,KAAK,CAAC,kBAAkB,CAAC,CAAC;CACnC,KAAK,KAAK,CAAC,YAAY,GAAG,IAAI,CAAC;AAEhC,MAAM,MAAM,mCAAmC,GAAG;IAChD,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,CAAC,MAAM,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;IACxC,MAAM,EAAE,OAAO,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC,SAAS,CAAC,CAAC;CACtC,CAAC;AAEF,MAAM,MAAM,uCAAuC,GAAG,CAAC,EACrD,QAAQ,EACR,WAAW,EACX,MAAM,EACN,QAAQ,GACT,EAAE,mCAAmC,KAAK,KAAK,CAAC,YAAY,GAAG,IAAI,CAAC;AAErE,MAAM,MAAM,sCAAsC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AAkB;KAC7B,kBAAkB,SAAS,yBAAyB,qCAE7C,uBAAuB,CAAC,kBAAkB,CAAC;;CACN,CAAC"}
1
+ {"version":3,"file":"ImageGalleryFooter.d.ts","sourceRoot":"","sources":["../../../../../src/components/ImageGallery/components/ImageGalleryFooter.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAExC,OAAiB,EAGf,WAAW,EAEZ,MAAM,yBAAyB,CAAC;AAOjC,OAAO,EAML,SAAS,EACV,MAAM,iBAAiB,CAAC;AAOzB,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AAE7C,MAAM,MAAM,iCAAiC,GAAG,CAAC,EAC/C,YAAY,EACZ,KAAK,EACL,KAAK,EACL,aAAa,GACd,EAAE;IACD,YAAY,EAAE,MAAM,IAAI,CAAC;IACzB,KAAK,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAC3B,aAAa,EAAE,OAAO,CAAC;IACvB,KAAK,CAAC,EAAE,KAAK,CAAC;CACf,KAAK,KAAK,CAAC,YAAY,GAAG,IAAI,CAAC;AAEhC,MAAM,MAAM,mCAAmC,GAAG;IAChD,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,CAAC,MAAM,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;IACxC,MAAM,EAAE,OAAO,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC,SAAS,CAAC,CAAC;CACtC,CAAC;AAEF,MAAM,MAAM,uCAAuC,GAAG,CAAC,EACrD,QAAQ,EACR,WAAW,EACX,MAAM,EACN,QAAQ,GACT,EAAE,mCAAmC,KAAK,KAAK,CAAC,YAAY,GAAG,IAAI,CAAC;AAErE,MAAM,MAAM,sCAAsC,GAAG;IACnD,aAAa,CAAC,EAAE,iCAAiC,CAAC;IAClD,QAAQ,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;IAC9B,WAAW,CAAC,EAAE,iCAAiC,CAAC;IAChD,YAAY,CAAC,EAAE,iCAAiC,CAAC;IACjD,SAAS,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;IAC/B,mBAAmB,CAAC,EAAE,uCAAuC,CAAC;CAC/D,CAAC;AAEF,KAAK,kCAAkC,GAAG,sCAAsC,GAAG;IACjF,kBAAkB,EAAE,MAAM,CAAC;IAC3B,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB,OAAO,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAC7B,YAAY,EAAE,MAAM,IAAI,CAAC;IACzB,MAAM,EAAE,OAAO,CAAC;IAChB,KAAK,EAAE,KAAK,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,aAAa,EAAE,MAAM,CAAC;IACtB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC,SAAS,CAAC,CAAC;IACrC,OAAO,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;CAC9B,CAAC;AAEF,eAAO,MAAM,6BAA6B,GAAI,OAAO,kCAAkC,sBAwHtF,CAAC;AA6EF,MAAM,MAAM,uBAAuB,GAAG,kCAAkC,CAAC;AAEzE,eAAO,MAAM,kBAAkB;YAAW,uBAAuB;;CAEhE,CAAC"}
@@ -1,24 +1,23 @@
1
1
  import React from 'react';
2
2
  import { SharedValue } from 'react-native-reanimated';
3
- import type { DefaultStreamChatGenerics } from '../../../types/types';
4
3
  import type { Photo } from '../ImageGallery';
5
- export type ImageGalleryHeaderCustomComponent<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = ({ hideOverlay, photo, }: {
4
+ export type ImageGalleryHeaderCustomComponent = ({ hideOverlay, photo, }: {
6
5
  hideOverlay: () => void;
7
- photo?: Photo<StreamChatGenerics>;
6
+ photo?: Photo;
8
7
  }) => React.ReactElement | null;
9
- export type ImageGalleryHeaderCustomComponentProps<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = {
10
- centerElement?: ImageGalleryHeaderCustomComponent<StreamChatGenerics>;
8
+ export type ImageGalleryHeaderCustomComponentProps = {
9
+ centerElement?: ImageGalleryHeaderCustomComponent;
11
10
  CloseIcon?: React.ReactElement;
12
- leftElement?: ImageGalleryHeaderCustomComponent<StreamChatGenerics>;
13
- rightElement?: ImageGalleryHeaderCustomComponent<StreamChatGenerics>;
11
+ leftElement?: ImageGalleryHeaderCustomComponent;
12
+ rightElement?: ImageGalleryHeaderCustomComponent;
14
13
  };
15
- type Props<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = ImageGalleryHeaderCustomComponentProps<StreamChatGenerics> & {
14
+ type Props = ImageGalleryHeaderCustomComponentProps & {
16
15
  opacity: SharedValue<number>;
17
16
  visible: SharedValue<number>;
18
- photo?: Photo<StreamChatGenerics>;
17
+ photo?: Photo;
19
18
  };
20
19
  export declare const ImageGalleryHeader: {
21
- <StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>(props: Props<StreamChatGenerics>): React.JSX.Element;
20
+ (props: Props): React.JSX.Element;
22
21
  displayName: string;
23
22
  };
24
23
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"ImageGalleryHeader.d.ts","sourceRoot":"","sources":["../../../../../src/components/ImageGallery/components/ImageGalleryHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAC;AAEjD,OAAiB,EAGf,WAAW,EAEZ,MAAM,yBAAyB,CAAC;AAOjC,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,sBAAsB,CAAC;AAEtE,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AAM7C,MAAM,MAAM,iCAAiC,CAC3C,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,IAC9E,CAAC,EACH,WAAW,EACX,KAAK,GACN,EAAE;IACD,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB,KAAK,CAAC,EAAE,KAAK,CAAC,kBAAkB,CAAC,CAAC;CACnC,KAAK,KAAK,CAAC,YAAY,GAAG,IAAI,CAAC;AAEhC,MAAM,MAAM,sCAAsC,CAChD,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,IAC9E;IACF,aAAa,CAAC,EAAE,iCAAiC,CAAC,kBAAkB,CAAC,CAAC;IACtE,SAAS,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;IAC/B,WAAW,CAAC,EAAE,iCAAiC,CAAC,kBAAkB,CAAC,CAAC;IACpE,YAAY,CAAC,EAAE,iCAAiC,CAAC,kBAAkB,CAAC,CAAC;CACtE,CAAC;AAEF,KAAK,KAAK,CAAC,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,IACzF,sCAAsC,CAAC,kBAAkB,CAAC,GAAG;IAC3D,OAAO,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAC7B,OAAO,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAC7B,KAAK,CAAC,EAAE,KAAK,CAAC,kBAAkB,CAAC,CAAC;CAEnC,CAAC;AAEJ,eAAO,MAAM,kBAAkB;KAC7B,kBAAkB,SAAS,yBAAyB,qCAE7C,KAAK,CAAC,kBAAkB,CAAC;;CAkFjC,CAAC"}
1
+ {"version":3,"file":"ImageGalleryHeader.d.ts","sourceRoot":"","sources":["../../../../../src/components/ImageGallery/components/ImageGalleryHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAC;AAEjD,OAAiB,EAGf,WAAW,EAEZ,MAAM,yBAAyB,CAAC;AAQjC,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AAM7C,MAAM,MAAM,iCAAiC,GAAG,CAAC,EAC/C,WAAW,EACX,KAAK,GACN,EAAE;IACD,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB,KAAK,CAAC,EAAE,KAAK,CAAC;CACf,KAAK,KAAK,CAAC,YAAY,GAAG,IAAI,CAAC;AAEhC,MAAM,MAAM,sCAAsC,GAAG;IACnD,aAAa,CAAC,EAAE,iCAAiC,CAAC;IAClD,SAAS,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;IAC/B,WAAW,CAAC,EAAE,iCAAiC,CAAC;IAChD,YAAY,CAAC,EAAE,iCAAiC,CAAC;CAClD,CAAC;AAEF,KAAK,KAAK,GAAG,sCAAsC,GAAG;IACpD,OAAO,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAC7B,OAAO,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAC7B,KAAK,CAAC,EAAE,KAAK,CAAC;CAEf,CAAC;AAEF,eAAO,MAAM,kBAAkB;YAAW,KAAK;;CAiF9C,CAAC"}
@@ -1,23 +1,22 @@
1
1
  import React from 'react';
2
- import { DefaultStreamChatGenerics } from '../../../types/types';
3
2
  import type { Photo } from '../ImageGallery';
4
- export type ImageGalleryGridImageComponent<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = ({ item, }: {
5
- item: Photo<StreamChatGenerics> & {
3
+ export type ImageGalleryGridImageComponent = ({ item, }: {
4
+ item: Photo & {
6
5
  selectAndClose: () => void;
7
6
  numberOfImageGalleryGridColumns?: number;
8
7
  };
9
8
  }) => React.ReactElement | null;
10
- export type ImageGalleryGridImageComponents<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = {
11
- avatarComponent?: ImageGalleryGridImageComponent<StreamChatGenerics>;
12
- imageComponent?: ImageGalleryGridImageComponent<StreamChatGenerics>;
9
+ export type ImageGalleryGridImageComponents = {
10
+ avatarComponent?: ImageGalleryGridImageComponent;
11
+ imageComponent?: ImageGalleryGridImageComponent;
13
12
  };
14
- export type GridImageItem<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Photo<StreamChatGenerics> & ImageGalleryGridImageComponents<StreamChatGenerics> & {
13
+ export type GridImageItem = Photo & ImageGalleryGridImageComponents & {
15
14
  selectAndClose: () => void;
16
15
  numberOfImageGalleryGridColumns?: number;
17
16
  };
18
- export type ImageGridType<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = ImageGalleryGridImageComponents<StreamChatGenerics> & {
17
+ export type ImageGridType = ImageGalleryGridImageComponents & {
19
18
  closeGridView: () => void;
20
- photos: Photo<StreamChatGenerics>[];
19
+ photos: Photo[];
21
20
  setSelectedMessage: React.Dispatch<React.SetStateAction<{
22
21
  messageId?: string | undefined;
23
22
  url?: string | undefined;
@@ -25,7 +24,7 @@ export type ImageGridType<StreamChatGenerics extends DefaultStreamChatGenerics =
25
24
  numberOfImageGalleryGridColumns?: number;
26
25
  };
27
26
  export declare const ImageGrid: {
28
- <StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>(props: ImageGridType<StreamChatGenerics>): React.JSX.Element;
27
+ (props: ImageGridType): React.JSX.Element;
29
28
  displayName: string;
30
29
  };
31
30
  //# sourceMappingURL=ImageGrid.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ImageGrid.d.ts","sourceRoot":"","sources":["../../../../../src/components/ImageGallery/components/ImageGrid.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,OAAO,EAAE,yBAAyB,EAAa,MAAM,sBAAsB,CAAC;AAI5E,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AAuB7C,MAAM,MAAM,8BAA8B,CACxC,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,IAC9E,CAAC,EACH,IAAI,GACL,EAAE;IACD,IAAI,EAAE,KAAK,CAAC,kBAAkB,CAAC,GAAG;QAChC,cAAc,EAAE,MAAM,IAAI,CAAC;QAC3B,+BAA+B,CAAC,EAAE,MAAM,CAAC;KAC1C,CAAC;CACH,KAAK,KAAK,CAAC,YAAY,GAAG,IAAI,CAAC;AAEhC,MAAM,MAAM,+BAA+B,CACzC,kB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EAAE,KAAK,GAAG;QACZ,cAAc,EAAE,MAAM,IAAI,CAAC;QAC3B,+BAA+B,CAAC,EAAE,MAAM,CAAC;KAC1C,CAAC;CACH,KAAK,KAAK,CAAC,YAAY,GAAG,IAAI,CAAC;AAEhC,MAAM,MAAM,+BAA+B,GAAG;IAC5C,eAAe,CAAC,EAAE,8BAA8B,CAAC;IACjD,cAAc,CAAC,EAAE,8BAA8B,CAAC;CACjD,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG,KAAK,GAC/B,+BAA+B,GAAG;IAChC,cAAc,EAAE,MAAM,IAAI,CAAC;IAC3B,+BAA+B,CAAC,EAAE,MAAM,CAAC;CAC1C,CAAC;AAoCJ,MAAM,MAAM,aAAa,GAAG,+BAA+B,GAAG;IAC5D,aAAa,EAAE,MAAM,IAAI,CAAC;IAC1B,MAAM,EAAE,KAAK,EAAE,CAAC;IAChB,kBAAkB,EAAE,KAAK,CAAC,QAAQ,CAChC,KAAK,CAAC,cAAc,CAChB;QACE,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;QAC/B,GAAG,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;KAC1B,GACD,SAAS,CACZ,CACF,CAAC;IACF,+BAA+B,CAAC,EAAE,MAAM,CAAC;CAC1C,CAAC;AAEF,eAAO,MAAM,SAAS;YAAW,aAAa;;CA6C7C,CAAC"}
@@ -8,16 +8,15 @@ import { MessageContextValue } from '../../contexts/messageContext/MessageContex
8
8
  import { MessagesContextValue } from '../../contexts/messagesContext/MessagesContext';
9
9
  import { ThreadContextValue } from '../../contexts/threadContext/ThreadContext';
10
10
  import { TranslationContextValue } from '../../contexts/translationContext/TranslationContext';
11
- import { DefaultStreamChatGenerics } from '../../types/types';
12
11
  import type { Thumbnail } from '../Attachment/utils/buildGallery/types';
13
12
  import { MessageType } from '../MessageList/hooks/useMessageList';
14
13
  export type TouchableEmitter = 'fileAttachment' | 'gallery' | 'giphy' | 'message' | 'messageContent' | 'messageReplies' | 'reactionList';
15
- export type TextMentionTouchableHandlerAdditionalInfo<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = {
16
- user?: UserResponse<StreamChatGenerics>;
14
+ export type TextMentionTouchableHandlerAdditionalInfo = {
15
+ user?: UserResponse;
17
16
  };
18
- export type TextMentionTouchableHandlerPayload<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = {
17
+ export type TextMentionTouchableHandlerPayload = {
19
18
  emitter: 'textMention';
20
- additionalInfo?: TextMentionTouchableHandlerAdditionalInfo<StreamChatGenerics>;
19
+ additionalInfo?: TextMentionTouchableHandlerAdditionalInfo;
21
20
  };
22
21
  export type UrlTouchableHandlerAdditionalInfo = {
23
22
  url?: string;
@@ -26,12 +25,12 @@ export type UrlTouchableHandlerPayload = {
26
25
  emitter: 'textLink' | 'card';
27
26
  additionalInfo?: UrlTouchableHandlerAdditionalInfo;
28
27
  };
29
- export type FileAttachmentTouchableHandlerAdditionalInfo<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = {
30
- attachment?: Attachment<StreamChatGenerics>;
28
+ export type FileAttachmentTouchableHandlerAdditionalInfo = {
29
+ attachment?: Attachment;
31
30
  };
32
- export type FileAttachmentTouchableHandlerPayload<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = {
31
+ export type FileAttachmentTouchableHandlerPayload = {
33
32
  emitter: 'fileAttachment';
34
- additionalInfo?: FileAttachmentTouchableHandlerAdditionalInfo<StreamChatGenerics>;
33
+ additionalInfo?: FileAttachmentTouchableHandlerAdditionalInfo;
35
34
  };
36
35
  export type GalleryThumbnailTouchableHandlerAdditionalInfo = {
37
36
  thumbnail?: Thumbnail;
@@ -46,11 +45,11 @@ export type PressableHandlerPayload = {
46
45
  } & ({
47
46
  emitter?: Exclude<TouchableEmitter, 'textMention' | 'textLink' | 'card' | 'fileAttachment' | 'gallery'>;
48
47
  } | TextMentionTouchableHandlerPayload | UrlTouchableHandlerPayload | FileAttachmentTouchableHandlerPayload | GalleryThumbnailTouchableHandlerPayload);
49
- export type MessagePressableHandlerPayload<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = PressableHandlerPayload & {
48
+ export type MessagePressableHandlerPayload = PressableHandlerPayload & {
50
49
  /**
51
50
  * Set of action handler functions for various message actions. You can use these functions to perform any action when give interaction occurs.
52
51
  */
53
- actionHandlers?: MessageActionHandlers<StreamChatGenerics>;
52
+ actionHandlers?: MessageActionHandlers;
54
53
  /**
55
54
  * Additional message touchable handler info.
56
55
  */
@@ -58,9 +57,9 @@ export type MessagePressableHandlerPayload<StreamChatGenerics extends DefaultStr
58
57
  /**
59
58
  * Message object, on which interaction occurred.
60
59
  */
61
- message?: MessageType<StreamChatGenerics>;
60
+ message?: MessageType;
62
61
  };
63
- export type MessageActionHandlers<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = {
62
+ export type MessageActionHandlers = {
64
63
  copyMessage: () => void;
65
64
  deleteMessage: () => void;
66
65
  editMessage: () => void;
@@ -73,11 +72,11 @@ export type MessageActionHandlers<StreamChatGenerics extends DefaultStreamChatGe
73
72
  toggleMuteUser: () => Promise<void>;
74
73
  toggleReaction: (reactionType: string) => Promise<void>;
75
74
  unpinMessage: () => Promise<void>;
76
- threadReply?: (message: MessageType<StreamChatGenerics>) => Promise<void>;
75
+ threadReply?: (message: MessageType) => Promise<void>;
77
76
  };
78
- export type MessagePropsWithContext<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Pick<ChannelContextValue<StreamChatGenerics>, 'channel' | 'enforceUniqueReaction' | 'members'> & Pick<KeyboardContextValue, 'dismissKeyboard'> & Partial<Omit<MessageContextValue<StreamChatGenerics>, 'groupStyles' | 'handleReaction' | 'message' | 'isMessageAIGenerated'>> & Pick<MessageContextValue<StreamChatGenerics>, 'groupStyles' | 'message' | 'isMessageAIGenerated'> & Pick<MessagesContextValue<StreamChatGenerics>, 'sendReaction' | 'deleteMessage' | 'dismissKeyboardOnMessageTouch' | 'forceAlignMessages' | 'handleBan' | 'handleCopy' | 'handleDelete' | 'handleEdit' | 'handleFlag' | 'handleMarkUnread' | 'handleMute' | 'handlePinMessage' | 'handleQuotedReply' | 'handleReaction' | 'handleRetry' | 'handleThreadReply' | 'isAttachmentEqual' | 'MessageMenu' | 'messageActions' | 'messageContentOrder' | 'MessageBounce' | 'MessageSimple' | 'onLongPressMessage' | 'onPressInMessage' | 'onPressMessage' | 'removeMessage' | 'deleteReaction' | 'retrySendMessage' | 'selectReaction' | 'setEditingState' | 'setQuotedMessageState' | 'supportedReactions' | 'updateMessage' | 'PollContent'> & Pick<ThreadContextValue<StreamChatGenerics>, 'openThread'> & Pick<TranslationContextValue, 't'> & {
79
- chatContext: ChatContextValue<StreamChatGenerics>;
80
- messagesContext: MessagesContextValue<StreamChatGenerics>;
77
+ export type MessagePropsWithContext = Pick<ChannelContextValue, 'channel' | 'enforceUniqueReaction' | 'members'> & Pick<KeyboardContextValue, 'dismissKeyboard'> & Partial<Omit<MessageContextValue, 'groupStyles' | 'handleReaction' | 'message' | 'isMessageAIGenerated'>> & Pick<MessageContextValue, 'groupStyles' | 'message' | 'isMessageAIGenerated'> & Pick<MessagesContextValue, 'sendReaction' | 'deleteMessage' | 'dismissKeyboardOnMessageTouch' | 'forceAlignMessages' | 'handleBan' | 'handleCopy' | 'handleDelete' | 'handleEdit' | 'handleFlag' | 'handleMarkUnread' | 'handleMute' | 'handlePinMessage' | 'handleQuotedReply' | 'handleReaction' | 'handleRetry' | 'handleThreadReply' | 'isAttachmentEqual' | 'MessageMenu' | 'messageActions' | 'messageContentOrder' | 'MessageBounce' | 'MessageSimple' | 'onLongPressMessage' | 'onPressInMessage' | 'onPressMessage' | 'removeMessage' | 'deleteReaction' | 'retrySendMessage' | 'selectReaction' | 'setEditingState' | 'setQuotedMessageState' | 'supportedReactions' | 'updateMessage' | 'PollContent'> & Pick<ThreadContextValue, 'openThread'> & Pick<TranslationContextValue, 't'> & {
78
+ chatContext: ChatContextValue;
79
+ messagesContext: MessagesContextValue;
81
80
  /**
82
81
  * Whether or not users are able to long press messages.
83
82
  */
@@ -89,16 +88,16 @@ export type MessagePropsWithContext<StreamChatGenerics extends DefaultStreamChat
89
88
  *
90
89
  * @param message A message object to open the thread upon.
91
90
  */
92
- onThreadSelect?: (message: MessageType<StreamChatGenerics>) => void;
91
+ onThreadSelect?: (message: MessageType) => void;
93
92
  showUnreadUnderlay?: boolean;
94
93
  style?: StyleProp<ViewStyle>;
95
94
  };
96
- export type MessageProps<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Partial<Omit<MessagePropsWithContext<StreamChatGenerics>, 'groupStyles' | 'handleReaction' | 'message'>> & Pick<MessagePropsWithContext<StreamChatGenerics>, 'groupStyles' | 'message'>;
95
+ export type MessageProps = Partial<Omit<MessagePropsWithContext, 'groupStyles' | 'handleReaction' | 'message'>> & Pick<MessagePropsWithContext, 'groupStyles' | 'message'>;
97
96
  /**
98
97
  * Message - A high level component which implements all the logic required for a message.
99
98
  * The actual rendering of the message is delegated via the "Message" property
100
99
  *
101
100
  * @example ./Message.md
102
101
  */
103
- export declare const Message: <StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>(props: MessageProps<StreamChatGenerics>) => React.JSX.Element;
102
+ export declare const Message: (props: MessageProps) => React.JSX.Element;
104
103
  //# sourceMappingURL=Message.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Message.d.ts","sourceRoot":"","sources":["../../../../src/components/Message/Message.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAC;AACjD,OAAO,EAAE,qBAAqB,EAAY,SAAS,EAAQ,SAAS,EAAE,MAAM,cAAc,CAAC;AAE3F,OAAO,KAAK,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAQ5D,OAAO,EACL,mBAAmB,EAEpB,MAAM,8CAA8C,CAAC;AACt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ChB,kBAAkB,GAClB,gBAAgB,GAChB,iBAAiB,GACjB,uBAAuB,GACvB,oBAAoB,GACpB,eAAe,GACf,aAAa,CAChB,GACD,IAAI,CAAC,kBAAkB,EAAE,YAAY,CAAC,GACtC,IAAI,CAAC,uBAAuB,EAAE,GAAG,CAAC,GAAG;IACnC,WAAW,EAAE,gBAAgB,CAAC;IAC9B,eAAe,EAAE,oBAAoB,CAAC;IACtC;;OAEG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,WAAW,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IAC1C,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B;;;;OAIG;IACH,cAAc,CAAC,EAAE,CAAC,OAAO,EAAE,WAAW,KAAK,IAAI,CAAC;IAChD,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B,CAAC;AA2sBJ,MAAM,MAAM,YAAY,GAAG,OAAO,CAChC,IAAI,CAAC,uBAAuB,EAAE,aAAa,GAAG,gBAAgB,GAAG,SAAS,CAAC,CAC5E,GACC,IAAI,CAAC,uBAAuB,EAAE,aAAa,GAAG,SAAS,CAAC,CAAC;AAE3D;;;;;GAKG;AACH,eAAO,MAAM,OAAO,GAAI,OAAO,YAAY,sBAwB1C,CAAC"}
@@ -1,12 +1,11 @@
1
1
  import React from 'react';
2
2
  import { ChatContextValue } from '../../../contexts/chatContext/ChatContext';
3
3
  import { MessageContextValue } from '../../../contexts/messageContext/MessageContext';
4
- import type { DefaultStreamChatGenerics } from '../../../types/types';
5
4
  import { AvatarProps } from '../../Avatar/Avatar';
6
- export type MessageAvatarPropsWithContext<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Pick<MessageContextValue<StreamChatGenerics>, 'alignment' | 'lastGroupMessage' | 'message' | 'showAvatar'> & Pick<ChatContextValue<StreamChatGenerics>, 'ImageComponent'> & Partial<Pick<AvatarProps, 'size'>>;
7
- export type MessageAvatarProps<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Partial<MessageAvatarPropsWithContext<StreamChatGenerics>>;
5
+ export type MessageAvatarPropsWithContext = Pick<MessageContextValue, 'alignment' | 'lastGroupMessage' | 'message' | 'showAvatar'> & Pick<ChatContextValue, 'ImageComponent'> & Partial<Pick<AvatarProps, 'size'>>;
6
+ export type MessageAvatarProps = Partial<MessageAvatarPropsWithContext>;
8
7
  export declare const MessageAvatar: {
9
- <StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>(props: MessageAvatarProps<StreamChatGenerics>): React.JSX.Element;
8
+ (props: MessageAvatarProps): React.JSX.Element;
10
9
  displayName: string;
11
10
  };
12
11
  //# sourceMappingURL=MessageAvatar.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"MessageAvatar.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/MessageSimple/MessageAvatar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,gBAAgB,EAAkB,MAAM,2CAA2C,CAAC;AAC7F,OAAO,EACL,mBAAmB,EAEpB,MAAM,iDAAiD,CAAC;AAGzD,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,sBAAsB,CAAC;AACtE,OAAO,EAAU,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAE1D,MAAM,MAAM,6BAA6B,CACvC,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,IAC9E,IAAI,CACN,mBAAmB,CAAC,kBAAkB,CAAC,EACvC,WAAW,GAAG,kBAAkB,GAAG,SAAS,GAAG,YAAY,CAC5D,GACC,IAAI,CAAC,gBAAgB,CAAC,kBAAkB,CAAC,EAAE,gBAAgB,CAAC,GAC5D,OAAO,CAAC,IAAI,CAAC,WAAW,EAAE,MAAM,CAAC,CAAC,CAAC;AAkErC,MAAM,MAAM,kBAAkB,CAC5B,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,IAC9E,OAAO,CAAC,6BAA6B,CAAC,kBAAkB,CAAC,CAAC,CAAC;AAE/D,eAAO,MAAM,aAAa;KACxB,kBAAkB,SAAS,yBAAyB,qCAE7C,kBAAkB,CAAC,kBAAkB,CAAC;;CAkB9C,CAAC"}
1
+ {"version":3,"file":"MessageAvatar.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/MessageSimple/MessageAvatar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,gBAAgB,EAAkB,MAAM,2CAA2C,CAAC;AAC7F,OAAO,EACL,mBAAmB,EAEpB,MAAM,iDAAiD,CAAC;AAGzD,OAAO,EAAU,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAE1D,MAAM,MAAM,6BAA6B,GAAG,IAAI,CAC9C,mBAAmB,EACnB,WAAW,GAAG,kBAAkB,GAAG,SAAS,GAAG,YAAY,CAC5D,GACC,IAAI,CAAC,gBAAgB,EAAE,gBAAgB,CAAC,GACxC,OAAO,CAAC,IAAI,CAAC,WAAW,EAAE,MAAM,CAAC,CAAC,CAAC;AA8DrC,MAAM,MAAM,kBAAkB,GAAG,OAAO,CAAC,6BAA6B,CAAC,CAAC;AAExE,eAAO,MAAM,aAAa;YAAW,kBAAkB;;CAgBtD,CAAC"}
@@ -1,13 +1,12 @@
1
1
  import React from 'react';
2
2
  import { MessageContextValue } from '../../../contexts/messageContext/MessageContext';
3
3
  import { MessagesContextValue } from '../../../contexts/messagesContext/MessagesContext';
4
- import type { DefaultStreamChatGenerics } from '../../../types/types';
5
- export type MessageBouncePropsWithContext<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Pick<MessagesContextValue<StreamChatGenerics>, 'setEditingState' | 'removeMessage' | 'retrySendMessage'> & Pick<MessageContextValue<StreamChatGenerics>, 'message'> & {
4
+ export type MessageBouncePropsWithContext = Pick<MessagesContextValue, 'setEditingState' | 'removeMessage' | 'retrySendMessage'> & Pick<MessageContextValue, 'message'> & {
6
5
  setIsBounceDialogOpen: React.Dispatch<React.SetStateAction<boolean>>;
7
6
  };
8
- export declare const MessageBounceWithContext: <StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>(props: MessageBouncePropsWithContext<StreamChatGenerics>) => React.JSX.Element;
9
- export type MessageBounceProps<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Partial<MessageBouncePropsWithContext<StreamChatGenerics>> & {
7
+ export declare const MessageBounceWithContext: (props: MessageBouncePropsWithContext) => React.JSX.Element;
8
+ export type MessageBounceProps = Partial<MessageBouncePropsWithContext> & {
10
9
  setIsBounceDialogOpen: React.Dispatch<React.SetStateAction<boolean>>;
11
10
  };
12
- export declare const MessageBounce: <StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>(props: MessageBounceProps<StreamChatGenerics>) => React.JSX.Element;
11
+ export declare const MessageBounce: (props: MessageBounceProps) => React.JSX.Element;
13
12
  //# sourceMappingURL=MessageBounce.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"MessageBounce.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/MessageSimple/MessageBounce.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EACL,mBAAmB,EAEpB,MAAM,iDAAiD,CAAC;AACzD,OAAO,EACL,oBAAoB,EAErB,MAAM,mDAAmD,CAAC;AAG3D,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,sBAAsB,CAAC;AAEtE,MAAM,MAAM,6BAA6B,CACvC,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,IAC9E,IAAI,CACN,oBAAoB,CAAC,kBAAkB,CAAC,EACxC,iBAAiB,GAAG,eAAe,GAAG,kBAAkB,CACzD,GACC,IAAI,CAAC,mBAAmB,CAAC,kBAAkB,CAAC,EAAE,SAAS,CAAC,GAAG;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E,qBAAqB,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC;CACtE,CAAC;AAEF,eAAO,MAAM,aAAa,GAAI,OAAO,kBAAkB,sBActD,CAAC"}
@@ -3,8 +3,7 @@ import { ColorValue } from 'react-native';
3
3
  import { MessageContextValue } from '../../../contexts/messageContext/MessageContext';
4
4
  import { MessagesContextValue } from '../../../contexts/messagesContext/MessagesContext';
5
5
  import { TranslationContextValue } from '../../../contexts/translationContext/TranslationContext';
6
- import type { DefaultStreamChatGenerics } from '../../../types/types';
7
- export type MessageContentPropsWithContext<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Pick<MessageContextValue<StreamChatGenerics>, 'alignment' | 'goToMessage' | 'groupStyles' | 'isEditedMessageOpen' | 'isMyMessage' | 'message' | 'messageContentOrder' | 'onLongPress' | 'onPress' | 'onPressIn' | 'otherAttachments' | 'preventPress' | 'threadList' | 'isMessageAIGenerated'> & Pick<MessagesContextValue<StreamChatGenerics>, 'additionalPressableProps' | 'Attachment' | 'FileAttachmentGroup' | 'Gallery' | 'isAttachmentEqual' | 'MessageError' | 'myMessageTheme' | 'Reply' | 'StreamingMessageView'> & Pick<TranslationContextValue, 't'> & {
6
+ export type MessageContentPropsWithContext = Pick<MessageContextValue, 'alignment' | 'goToMessage' | 'groupStyles' | 'isEditedMessageOpen' | 'isMyMessage' | 'message' | 'messageContentOrder' | 'onLongPress' | 'onPress' | 'onPressIn' | 'otherAttachments' | 'preventPress' | 'threadList' | 'isMessageAIGenerated'> & Pick<MessagesContextValue, 'additionalPressableProps' | 'Attachment' | 'FileAttachmentGroup' | 'Gallery' | 'isAttachmentEqual' | 'MessageError' | 'myMessageTheme' | 'Reply' | 'StreamingMessageView'> & Pick<TranslationContextValue, 't'> & {
8
7
  setMessageContentWidth: React.Dispatch<React.SetStateAction<number>>;
9
8
  /**
10
9
  * Background color for the message content
@@ -15,9 +14,9 @@ export type MessageContentPropsWithContext<StreamChatGenerics extends DefaultStr
15
14
  */
16
15
  noBorder?: boolean;
17
16
  };
18
- export type MessageContentProps<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Partial<Omit<MessageContentPropsWithContext<StreamChatGenerics>, 'setMessageContentWidth'>> & Pick<MessageContentPropsWithContext<StreamChatGenerics>, 'setMessageContentWidth'>;
17
+ export type MessageContentProps = Partial<Omit<MessageContentPropsWithContext, 'setMessageContentWidth'>> & Pick<MessageContentPropsWithContext, 'setMessageContentWidth'>;
19
18
  /**
20
19
  * Child of MessageSimple that displays a message's content
21
20
  */
22
- export declare const MessageContent: <StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>(props: MessageContentProps<StreamChatGenerics>) => React.JSX.Element;
21
+ export declare const MessageContent: (props: MessageContentProps) => React.JSX.Element;
23
22
  //# sourceMappingURL=MessageContent.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"MessageContent.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/MessageSimple/MessageContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AACvC,OAAO,EAEL,UAAU,EAMX,MAAM,cAAc,CAAC;AAKtB,OAAO,EACL,mBAAmB,EAEpB,MAAM,iDAAiD,CAAC;AACzD,OAAO,EACL,oBAAoB,EAErB,MAAM,mDAAmD,CAAC;AAE3D,OAAO,EACL,uBAAuB,EAExB,MAAM,yDAAyD,CAAC;AAGjE,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,sBAAsB,CAAC;AAsCtE,MAAM,MAAM,8BAA8B,CACxC,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,IAC9E,IAAI,CACN,mBAAmB,CAAC,kBAAkB,CAAC,EACrC,WAAW,GACX,aAAa,GACb,aAAa,GACb,qBAAqB,GACrB,aAAa,GACb,SAAS,GACT,qBAAqB,GACrB,aAAa,GACb,SAAS,GACT,WAAW,GACX,kBAAkB,GAClB,cAAc,GACd,YAAY,GACZ,sBAAsB,CACzB,GACC,IAAI,CACF,oBAAoB,CAAC,kBAAkB,CAAC,EACtC,0BAA0B,GAC1B,YAAY,GACZ,qBAAqB,GACrB,SAAS,GACT,mBAAmB,GACnB,cAAc,GACd,gBAAgB,GAChB,OAAO,GACP,sBAAsB,CACzB,GACD,IAAI,CAAC,uBAAuB,EAAE,GAAG,CAAC,GAAG;IACnC,sBAAsB,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC,CAAC;IACrE;;OAEG;IACH,eAAe,CAAC,EAAE,UAAU,CAAC;IAC7B;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AA6XJ,MAAM,MAAM,mBAAmB,CAC7B,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,IAC9E,OAAO,CAAC,IAAI,CAAC,8BAA8B,CAAC,kBAAkB,CAAC,EAAE,wBAAwB,CAAC,CAAC,GAC7F,IAAI,CAAC,8BAA8B,CAAC,kBAAkB,CAAC,EAAE,wBAAwB,CAAC,CAAC;AAErF;;GAEG;AACH,eAAO,MAAM,cAAc,GACzB,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,EAEhF,OAAO,mBAAmB,CAAC,kBAAkB,CAAC,sBAgE/C,CAAC"}
1
+ {"version":3,"file":"MessageContent.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/MessageSimple/MessageContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AACvC,OAAO,EAEL,UAAU,EAMX,MAAM,cAAc,CAAC;AAKtB,OAAO,EACL,mBAAmB,EAEpB,MAAM,iDAAiD,CAAC;AACzD,OAAO,EACL,oBAAoB,EAErB,MAAM,mDAAmD,CAAC;AAE3D,OAAO,EACL,uBAAuB,EAExB,MAAM,yDAAyD,CAAC;AAyCjE,MAAM,MAAM,8BAA8B,GAAG,IAAI,CAC/C,mBAAmB,EACjB,WAAW,GACX,aAAa,GACb,aAAa,GACb,qBAAqB,GACrB,aAAa,GACb,SAAS,GACT,qBAAqB,GACrB,aAAa,GACb,SAAS,GACT,WAAW,GACX,kBAAkB,GAClB,cAAc,GACd,YAAY,GACZ,sBAAsB,CACzB,GACC,IAAI,CACF,oBAAoB,EAClB,0BAA0B,GAC1B,YAAY,GACZ,qBAAqB,GACrB,SAAS,GACT,mBAAmB,GACnB,cAAc,GACd,gBAAgB,GAChB,OAAO,GACP,sBAAsB,CACzB,GACD,IAAI,CAAC,uBAAuB,EAAE,GAAG,CAAC,GAAG;IACnC,sBAAsB,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC,CAAC;IACrE;;OAEG;IACH,eAAe,CAAC,EAAE,UAAU,CAAC;IAC7B;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAyXJ,MAAM,MAAM,mBAAmB,GAAG,OAAO,CACvC,IAAI,CAAC,8BAA8B,EAAE,wBAAwB,CAAC,CAC/D,GACC,IAAI,CAAC,8BAA8B,EAAE,wBAAwB,CAAC,CAAC;AAEjE;;GAEG;AACH,eAAO,MAAM,cAAc,GAAI,OAAO,mBAAmB,sBA+DxD,CAAC"}
@@ -2,21 +2,20 @@ import React from 'react';
2
2
  import { LayoutChangeEvent } from 'react-native';
3
3
  import { MessageContextValue } from '../../../contexts/messageContext/MessageContext';
4
4
  import { MessagesContextValue } from '../../../contexts/messagesContext/MessagesContext';
5
- import type { DefaultStreamChatGenerics } from '../../../types/types';
6
5
  type MessageDeletedComponentProps = {
7
6
  groupStyle: string;
8
7
  noBorder: boolean;
9
8
  onLayout: (event: LayoutChangeEvent) => void;
10
9
  date?: string | Date;
11
10
  };
12
- type MessageDeletedPropsWithContext<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Pick<MessageContextValue<StreamChatGenerics>, 'alignment' | 'message'> & Pick<MessagesContextValue<StreamChatGenerics>, 'MessageFooter'> & MessageDeletedComponentProps;
13
- export type MessageDeletedProps<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Partial<MessageDeletedPropsWithContext<StreamChatGenerics>> & {
11
+ type MessageDeletedPropsWithContext = Pick<MessageContextValue, 'alignment' | 'message'> & Pick<MessagesContextValue, 'MessageFooter'> & MessageDeletedComponentProps;
12
+ export type MessageDeletedProps = Partial<MessageDeletedPropsWithContext> & {
14
13
  groupStyle: string;
15
14
  noBorder: boolean;
16
15
  onLayout: (event: LayoutChangeEvent) => void;
17
16
  };
18
17
  export declare const MessageDeleted: {
19
- <StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>(props: MessageDeletedProps<StreamChatGenerics>): React.JSX.Element;
18
+ (props: MessageDeletedProps): React.JSX.Element;
20
19
  displayName: string;
21
20
  };
22
21
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"MessageDeleted.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/MessageSimple/MessageDeleted.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,iBAAiB,EAAoB,MAAM,cAAc,CAAC;AAMnE,OAAO,EACL,mBAAmB,EAEpB,MAAM,iDAAiD,CAAC;AACzD,OAAO,EACL,oBAAoB,EAErB,MAAM,mDAAmD,CAAC;AAI3D,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,sBAAsB,CAAC;AAiBtE,KAAK,4BAA4B,GAAG;IAClC,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,OAAO,CAAC;IAClB,QAAQ,EAAE,CAAC,KAAK,EAAE,iBAAiB,KAAK,IAAI,CAAC;IAC7C,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACtB,CAAC;AAEF,KAAK,8BAA8B,CACjC,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,IAC9E,IAAI,CAAC,mBAAmB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,GAAG;IAC1E,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,OAAO,CAAC;IAClB,QAAQ,EAAE,CAAC,KAAK,EAAE,iBAAiB,KAAK,IAAI,CAAC;CAC9C,CAAC;AAEF,eAAO,MAAM,cAAc;YAAW,mBAAmB;;CAexD,CAAC"}
@@ -1,7 +1,6 @@
1
1
  import React from 'react';
2
2
  import { MessageContextValue } from '../../../contexts/messageContext/MessageContext';
3
3
  import { MessagesContextValue } from '../../../contexts/messagesContext/MessagesContext';
4
- import { DefaultStreamChatGenerics } from '../../../types/types';
5
- export type MessageEditedTimestampProps<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Partial<Pick<MessageContextValue<StreamChatGenerics>, 'message'>> & Partial<Pick<MessagesContextValue<StreamChatGenerics>, 'MessageTimestamp'>>;
6
- export declare const MessageEditedTimestamp: <StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>(props: MessageEditedTimestampProps<StreamChatGenerics>) => React.JSX.Element | null;
4
+ export type MessageEditedTimestampProps = Partial<Pick<MessageContextValue, 'message'>> & Partial<Pick<MessagesContextValue, 'MessageTimestamp'>>;
5
+ export declare const MessageEditedTimestamp: (props: MessageEditedTimestampProps) => React.JSX.Element | null;
7
6
  //# sourceMappingURL=MessageEditedTimestamp.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"MessageEditedTimestamp.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/MessageSimple/MessageEditedTimestamp.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EACL,mBAAmB,EAEpB,MAAM,iDAAiD,CAAC;AACzD,OAAO,EAAE,oBAAoB,EAAE,MAAM,mDAAmD,CAAC;AAGzF,OAAO,EAAE,yBAAyB,EAAE,MAAM,sBAAsB,CAAC;AAGjE,MAAM,MAAM,2BAA2B,CACrC,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,IAC9E,OAAO,CAAC,IAAI,CAAC,mBAAmB,CAAC,kBAAkB,CAAC,EAAE,SAAS,CAAC,CAAC,GACnE,OAAO,CAAC,IAAI,CAAC,oBAAoB,CAAC,kBAAkB,CAAC,EAAE,kBAAkB,CAAC,CAAC,CAAC;AAE9E,eAAO,MAAM,sBAAsB,GACjC,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,EAEhF,OAAO,2BAA2B,CAAC,kBAAkB,CAAC,6BA8BvD,CAAC"}
1
+ {"version":3,"file":"MessageEditedTimestamp.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/MessageSimple/MessageEditedTimestamp.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EACL,mBAAmB,EAEpB,MAAM,iDAAiD,CAAC;AACzD,OAAO,EAAE,oBAAoB,EAAE,MAAM,mDAAmD,CAAC;AAKzF,MAAM,MAAM,2BAA2B,GAAG,OAAO,CAAC,IAAI,CAAC,mBAAmB,EAAE,SAAS,CAAC,CAAC,GACrF,OAAO,CAAC,IAAI,CAAC,oBAAoB,EAAE,kBAAkB,CAAC,CAAC,CAAC;AAE1D,eAAO,MAAM,sBAAsB,GAAI,OAAO,2BAA2B,6BA6BxE,CAAC"}
@@ -3,21 +3,20 @@ import type { Attachment } from 'stream-chat';
3
3
  import type { MessageStatusProps } from './MessageStatus';
4
4
  import type { ChannelContextValue } from '../../../contexts/channelContext/ChannelContext';
5
5
  import { Alignment } from '../../../contexts/messageContext/MessageContext';
6
- import type { DefaultStreamChatGenerics } from '../../../types/types';
7
6
  import type { MessageType } from '../../MessageList/hooks/useMessageList';
8
7
  type MessageFooterComponentProps = {
9
8
  date?: string | Date;
10
9
  formattedDate?: string | Date;
11
10
  isDeleted?: boolean;
12
11
  };
13
- export type MessageFooterProps<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Partial<Pick<ChannelContextValue<StreamChatGenerics>, 'members'>> & MessageFooterComponentProps & {
12
+ export type MessageFooterProps = Partial<Pick<ChannelContextValue, 'members'>> & MessageFooterComponentProps & {
14
13
  alignment?: Alignment;
15
14
  lastGroupMessage?: boolean;
16
- message?: MessageType<StreamChatGenerics>;
17
- MessageStatus?: React.ComponentType<MessageStatusProps<StreamChatGenerics>>;
18
- otherAttachments?: Attachment<StreamChatGenerics>[];
15
+ message?: MessageType;
16
+ MessageStatus?: React.ComponentType<MessageStatusProps>;
17
+ otherAttachments?: Attachment[];
19
18
  showMessageStatus?: boolean;
20
19
  };
21
- export declare const MessageFooter: <StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>(props: MessageFooterProps<StreamChatGenerics>) => React.JSX.Element;
20
+ export declare const MessageFooter: (props: MessageFooterProps) => React.JSX.Element;
22
21
  export {};
23
22
  //# sourceMappingURL=MessageFooter.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"MessageFooter.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/MessageSimple/MessageFooter.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAGvC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAE9C,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAE1D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iDAAiD,CAAC;AAC3F,OAAO,EACL,SAAS,EAGV,MAAM,iDAAiD,CAAC;AAUzD,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,sBAAsB,CAAC;AAEtE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAC;AAE1E,KAAK,2BAA2B,GAAG;IACjC,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAsPF,MAAM,MAAM,kBAAkB,CAC5B,kBAAkB,S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O,CAAC,IAAI,CAAC,mBAAmB,EAAE,SAAS,CAAC,CAAC,GAC5E,2BAA2B,GAAG;IAC5B,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,OAAO,CAAC,EAAE,WAAW,CAAC;IACtB,aAAa,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,kBAAkB,CAAC,CAAC;IACxD,gBAAgB,CAAC,EAAE,UAAU,EAAE,CAAC;IAChC,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC7B,CAAC;AAEJ,eAAO,MAAM,aAAa,GAAI,OAAO,kBAAkB,sBAkCtD,CAAC"}
@@ -1,6 +1,5 @@
1
1
  import React from 'react';
2
2
  import { MessageContextValue } from '../../../contexts/messageContext/MessageContext';
3
- import type { DefaultStreamChatGenerics } from '../../../types/types';
4
- export type MessagePinnedHeaderProps<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Partial<Pick<MessageContextValue<StreamChatGenerics>, 'message'>>;
5
- export declare const MessagePinnedHeader: <StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>(props: MessagePinnedHeaderProps<StreamChatGenerics>) => React.JSX.Element;
3
+ export type MessagePinnedHeaderProps = Partial<Pick<MessageContextValue, 'message'>>;
4
+ export declare const MessagePinnedHeader: (props: MessagePinnedHeaderProps) => React.JSX.Element;
6
5
  //# sourceMappingURL=MessagePinnedHeader.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"MessagePinnedHeader.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/MessageSimple/MessagePinnedHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EACL,mBAAmB,EAEpB,MAAM,iDAAiD,CAAC;AAKzD,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,sBAAsB,CAAC;AAEtE,MAAM,MAAM,wBAAwB,CAClC,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,IAC9E,OAAO,CAAC,IAAI,CAAC,mBAAmB,CAAC,kBAAkB,CAAC,EAAE,SAAS,CAAC,CAAC,CAAC;AAEtE,eAAO,MAAM,mBAAmB,GAC9B,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,EAEhF,OAAO,wBAAwB,CAAC,kBAAkB,CAAC,sBA2BpD,CAAC"}
1
+ {"version":3,"file":"MessagePinnedHeader.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/MessageSimple/MessagePinnedHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EACL,mBAAmB,EAEpB,MAAM,iDAAiD,CAAC;AAKzD,MAAM,MAAM,wBAAwB,GAAG,OAAO,CAAC,IAAI,CAAC,mBAAmB,EAAE,SAAS,CAAC,CAAC,CAAC;AAErF,eAAO,MAAM,mBAAmB,GAAI,OAAO,wBAAwB,sBA0BlE,CAAC"}
@@ -3,14 +3,13 @@ import { ColorValue } from 'react-native';
3
3
  import { MessageContextValue } from '../../../contexts/messageContext/MessageContext';
4
4
  import { MessagesContextValue } from '../../../contexts/messagesContext/MessagesContext';
5
5
  import { TranslationContextValue } from '../../../contexts/translationContext/TranslationContext';
6
- import type { DefaultStreamChatGenerics } from '../../../types/types';
7
- export type MessageRepliesPropsWithContext<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Pick<MessageContextValue<StreamChatGenerics>, 'alignment' | 'message' | 'onLongPress' | 'onPress' | 'onPressIn' | 'onOpenThread' | 'preventPress' | 'threadList'> & Pick<MessagesContextValue<StreamChatGenerics>, 'MessageRepliesAvatars'> & Pick<TranslationContextValue, 't'> & {
6
+ export type MessageRepliesPropsWithContext = Pick<MessageContextValue, 'alignment' | 'message' | 'onLongPress' | 'onPress' | 'onPressIn' | 'onOpenThread' | 'preventPress' | 'threadList'> & Pick<MessagesContextValue, 'MessageRepliesAvatars'> & Pick<TranslationContextValue, 't'> & {
8
7
  noBorder?: boolean;
9
8
  repliesCurveColor?: ColorValue;
10
9
  };
11
- export type MessageRepliesProps<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Partial<MessageRepliesPropsWithContext<StreamChatGenerics>>;
10
+ export type MessageRepliesProps = Partial<MessageRepliesPropsWithContext>;
12
11
  export declare const MessageReplies: {
13
- <StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>(props: MessageRepliesProps<StreamChatGenerics>): React.JSX.Element;
12
+ (props: MessageRepliesProps): React.JSX.Element;
14
13
  displayName: string;
15
14
  };
16
15
  //# sourceMappingURL=MessageReplies.d.ts.map