stream-chat-react-native-core 10.0.0-rc.1 → 10.0.0-rc.2

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 (2072) hide show
  1. package/lib/commonjs/a11y/a11yUtils.js.map +1 -1
  2. package/lib/commonjs/a11y/hooks/useA11yLabel.js.map +1 -1
  3. package/lib/commonjs/a11y/hooks/useAccessibilityActivateAction.js.map +1 -1
  4. package/lib/commonjs/a11y/hooks/useAccessibilityServiceEnabled.js.map +1 -1
  5. package/lib/commonjs/a11y/hooks/useAnnounceOnShow.js.map +1 -1
  6. package/lib/commonjs/a11y/hooks/useAnnounceOnStateChange.js.map +1 -1
  7. package/lib/commonjs/a11y/hooks/useReducedMotionPreference.js.map +1 -1
  8. package/lib/commonjs/a11y/hooks/useResolvedModalAccessibilityProps.js.map +1 -1
  9. package/lib/commonjs/a11y/hooks/useScreenReaderEnabled.js.map +1 -1
  10. package/lib/commonjs/a11y/hooks/useScreenReaderMountFocus.js.map +1 -1
  11. package/lib/commonjs/a11y/hooks/useSetAccessibilityFocus.js.map +1 -1
  12. package/lib/commonjs/ai-components/AITypingIndicatorView.js.map +1 -1
  13. package/lib/commonjs/ai-components/charts/components/VictoryChart.js.map +1 -1
  14. package/lib/commonjs/ai-components/charts/index.js.map +1 -1
  15. package/lib/commonjs/ai-components/charts/utils/generate-pie-colors.js.map +1 -1
  16. package/lib/commonjs/ai-components/charts/utils/parse-json-chart.js +1 -2
  17. package/lib/commonjs/ai-components/charts/utils/parse-json-chart.js.map +1 -1
  18. package/lib/commonjs/ai-components/charts/vega-lite/schema.js.map +1 -1
  19. package/lib/commonjs/ai-components/index.js.map +1 -1
  20. package/lib/commonjs/ai-components/internal/hooks/useStableCallback.js.map +1 -1
  21. package/lib/commonjs/ai-components/internal/icons/SendUp.js.map +1 -1
  22. package/lib/commonjs/ai-components/markdown/components/Table.js.map +1 -1
  23. package/lib/commonjs/ai-components/markdown/rules.js +0 -1
  24. package/lib/commonjs/ai-components/markdown/rules.js.map +1 -1
  25. package/lib/commonjs/ai-components/markdown/utils/generate-markdown-text.js.map +1 -1
  26. package/lib/commonjs/ai-components/message-composer/SpeechToTextButton.js.map +1 -1
  27. package/lib/commonjs/ai-components/native/AIDictation.js.map +1 -1
  28. package/lib/commonjs/ai-components/native-specs/NativeAIDictation.js.map +1 -1
  29. package/lib/commonjs/ai-components/services/media-picker-service/rncli.js.map +1 -1
  30. package/lib/commonjs/ai-components/store/index.js.map +1 -1
  31. package/lib/commonjs/ai-components/syntax-highlighting/index.js.map +1 -1
  32. package/lib/commonjs/ai-components/syntax-highlighting/utils/converter.js.map +1 -1
  33. package/lib/commonjs/ai-components/syntax-highlighting/utils/flatten-nodes.js.map +1 -1
  34. package/lib/commonjs/components/AITypingIndicatorView/hooks/useAIState.js.map +1 -1
  35. package/lib/commonjs/components/Accessibility/CompositeAccessibilityProbe.js.map +1 -1
  36. package/lib/commonjs/components/Accessibility/HiddenA11yText.js.map +1 -1
  37. package/lib/commonjs/components/Accessibility/NotificationAnnouncer.js.map +1 -1
  38. package/lib/commonjs/components/Accessibility/OverlayA11yShield.js.map +1 -1
  39. package/lib/commonjs/components/Accessibility/hooks/useIncomingMessageAnnouncements.js.map +1 -1
  40. package/lib/commonjs/components/Accessibility/useAccessibilityAnnouncer.js.map +1 -1
  41. package/lib/commonjs/components/Attachment/Attachment.js.map +1 -1
  42. package/lib/commonjs/components/Attachment/AttachmentFileUploadProgressIndicator.js.map +1 -1
  43. package/lib/commonjs/components/Attachment/AttachmentUploadIndicator.js.map +1 -1
  44. package/lib/commonjs/components/Attachment/Audio/AudioAttachment.js.map +1 -1
  45. package/lib/commonjs/components/Attachment/Audio/PlayPauseButton.js.map +1 -1
  46. package/lib/commonjs/components/Attachment/CircularProgressIndicator.js.map +1 -1
  47. package/lib/commonjs/components/Attachment/FileIcon.js +4 -4
  48. package/lib/commonjs/components/Attachment/FileIcon.js.map +1 -1
  49. package/lib/commonjs/components/Attachment/FilePreview.js.map +1 -1
  50. package/lib/commonjs/components/Attachment/Gallery.js.map +1 -1
  51. package/lib/commonjs/components/Attachment/Giphy/Giphy.js.map +1 -1
  52. package/lib/commonjs/components/Attachment/Giphy/GiphyImage.js.map +1 -1
  53. package/lib/commonjs/components/Attachment/ImageLoadingFailedIndicator.js.map +1 -1
  54. package/lib/commonjs/components/Attachment/MediaUploadProgressOverlay.js.map +1 -1
  55. package/lib/commonjs/components/Attachment/UrlPreview/URLPreview.js.map +1 -1
  56. package/lib/commonjs/components/Attachment/UrlPreview/URLPreviewCompact.js.map +1 -1
  57. package/lib/commonjs/components/Attachment/VideoThumbnail.js.map +1 -1
  58. package/lib/commonjs/components/Attachment/utils/buildGallery/buildGallery.js.map +1 -1
  59. package/lib/commonjs/components/Attachment/utils/buildGallery/buildGalleryOfSingleImage.js.map +1 -1
  60. package/lib/commonjs/components/Attachment/utils/buildGallery/buildGalleryOfThreeImages.js.map +1 -1
  61. package/lib/commonjs/components/Attachment/utils/buildGallery/buildGalleryOfTwoImages.js.map +1 -1
  62. package/lib/commonjs/components/Attachment/utils/buildGallery/buildThumbnailGrid.js.map +1 -1
  63. package/lib/commonjs/components/Attachment/utils/getAspectRatio.js.map +1 -1
  64. package/lib/commonjs/components/Attachment/utils/getGiphyMimeType.js.map +1 -1
  65. package/lib/commonjs/components/AttachmentPicker/AttachmentPicker.js.map +1 -1
  66. package/lib/commonjs/components/AttachmentPicker/components/AttachmentMediaPicker/AttachmentMediaPicker.js.map +1 -1
  67. package/lib/commonjs/components/AttachmentPicker/components/AttachmentMediaPicker/AttachmentPickerItem.js.map +1 -1
  68. package/lib/commonjs/components/AutoCompleteInput/AutoCompleteInput.js.map +1 -1
  69. package/lib/commonjs/components/AutoCompleteInput/AutoCompleteSuggestionItem.js.map +1 -1
  70. package/lib/commonjs/components/AutoCompleteInput/AutoCompleteSuggestionList.js.map +1 -1
  71. package/lib/commonjs/components/AutoCompleteInput/mentionItems/EnhancedMentionContent.js.map +1 -1
  72. package/lib/commonjs/components/AutoCompleteInput/mentionItems/EnhancedMentionIcon.js.map +1 -1
  73. package/lib/commonjs/components/AutoCompleteInput/mentionItems/MentionBroadcastItem.js.map +1 -1
  74. package/lib/commonjs/components/AutoCompleteInput/mentionItems/MentionItem.js.map +1 -1
  75. package/lib/commonjs/components/AutoCompleteInput/mentionItems/TokenizedSuggestionParts.js.map +1 -1
  76. package/lib/commonjs/components/Channel/Channel.js.map +1 -1
  77. package/lib/commonjs/components/Channel/ChannelShell.js.map +1 -1
  78. package/lib/commonjs/components/Channel/hooks/useChannelLifecycle.js.map +1 -1
  79. package/lib/commonjs/components/Channel/hooks/useCreateInputMessageInputContext.js.map +1 -1
  80. package/lib/commonjs/components/Channel/hooks/useCreateMessagesContext.js.map +1 -1
  81. package/lib/commonjs/components/Channel/hooks/useCreateOwnCapabilitiesContext.js.map +1 -1
  82. package/lib/commonjs/components/Channel/hooks/useSupersededChannelSwap.js.map +1 -1
  83. package/lib/commonjs/components/ChannelDetails/ChannelDetails.js.map +1 -1
  84. package/lib/commonjs/components/ChannelDetails/components/ChannelDetailsActionsSection.js.map +1 -1
  85. package/lib/commonjs/components/ChannelDetails/components/ChannelDetailsEditButton.js.map +1 -1
  86. package/lib/commonjs/components/ChannelDetails/components/ChannelDetailsMemberSection.js.map +1 -1
  87. package/lib/commonjs/components/ChannelDetails/components/ChannelDetailsNavigationSection.js.map +1 -1
  88. package/lib/commonjs/components/ChannelDetails/components/ChannelEditDetailsForm.js.map +1 -1
  89. package/lib/commonjs/components/ChannelDetails/components/ChannelEditDetailsFormContent.js.map +1 -1
  90. package/lib/commonjs/components/ChannelDetails/components/members/ChannelAddMembersButton.js.map +1 -1
  91. package/lib/commonjs/components/ChannelDetails/components/members/ChannelAddMembersForm.js.map +1 -1
  92. package/lib/commonjs/components/ChannelDetails/components/members/ChannelAddMembersFormContent.js.map +1 -1
  93. package/lib/commonjs/components/ChannelDetails/components/members/ChannelMemberActionsSheet.js.map +1 -1
  94. package/lib/commonjs/components/ChannelDetails/components/members/ChannelMemberItem.js.map +1 -1
  95. package/lib/commonjs/components/ChannelDetails/components/members/ChannelMemberList.js.map +1 -1
  96. package/lib/commonjs/components/ChannelDetails/components/navigation-section/FileAttachmentItem.js.map +1 -1
  97. package/lib/commonjs/components/ChannelDetails/components/navigation-section/FileAttachmentList.js.map +1 -1
  98. package/lib/commonjs/components/ChannelDetails/components/navigation-section/MediaItem.js.map +1 -1
  99. package/lib/commonjs/components/ChannelDetails/components/navigation-section/MediaList.js.map +1 -1
  100. package/lib/commonjs/components/ChannelDetails/components/navigation-section/MediaListLoadingSkeleton.js.map +1 -1
  101. package/lib/commonjs/components/ChannelDetails/components/navigation-section/PinnedMessageList.js.map +1 -1
  102. package/lib/commonjs/components/ChannelDetails/hooks/members/useMemberRoles.js.map +1 -1
  103. package/lib/commonjs/components/ChannelDetails/hooks/useChannelDetailsMemberStatusText.js.map +1 -1
  104. package/lib/commonjs/components/ChannelDetails/hooks/useChannelDetailsNavigationItems.js.map +1 -1
  105. package/lib/commonjs/components/ChannelDetails/hooks/useEditChannelImage.js +2 -2
  106. package/lib/commonjs/components/ChannelDetails/hooks/useEditChannelImage.js.map +1 -1
  107. package/lib/commonjs/components/ChannelDetails/hooks/useFileAttachmentListSections.js.map +1 -1
  108. package/lib/commonjs/components/ChannelDetails/hooks/useMediaList.js.map +1 -1
  109. package/lib/commonjs/components/ChannelDetails/hooks/useUserActivityStatus.js.map +1 -1
  110. package/lib/commonjs/components/ChannelList/ChannelList.js.map +1 -1
  111. package/lib/commonjs/components/ChannelList/ChannelListView.js.map +1 -1
  112. package/lib/commonjs/components/ChannelList/hooks/useChannelMembersState.js.map +1 -1
  113. package/lib/commonjs/components/ChannelList/hooks/useChannelOnlineMemberCount.js.map +1 -1
  114. package/lib/commonjs/components/ChannelList/hooks/useMutedChannels.js.map +1 -1
  115. package/lib/commonjs/components/ChannelList/hooks/useMutedUsers.js.map +1 -1
  116. package/lib/commonjs/components/ChannelList/hooks/usePaginatedChannels.js.map +1 -1
  117. package/lib/commonjs/components/ChannelPreview/ChannelMessagePreviewDeliveryStatus.js.map +1 -1
  118. package/lib/commonjs/components/ChannelPreview/ChannelPreview.js.map +1 -1
  119. package/lib/commonjs/components/ChannelPreview/ChannelPreviewMessage.js.map +1 -1
  120. package/lib/commonjs/components/ChannelPreview/ChannelPreviewMutedStatus.js.map +1 -1
  121. package/lib/commonjs/components/ChannelPreview/ChannelPreviewPinnedStatus.js.map +1 -1
  122. package/lib/commonjs/components/ChannelPreview/ChannelPreviewTitle.js.map +1 -1
  123. package/lib/commonjs/components/ChannelPreview/ChannelPreviewUnreadCount.js.map +1 -1
  124. package/lib/commonjs/components/ChannelPreview/ChannelPreviewView.js.map +1 -1
  125. package/lib/commonjs/components/ChannelPreview/hooks/useChannelPreviewData.js +2 -2
  126. package/lib/commonjs/components/ChannelPreview/hooks/useChannelPreviewData.js.map +1 -1
  127. package/lib/commonjs/components/ChannelPreview/hooks/useChannelPreviewDisplayPresence.js.map +1 -1
  128. package/lib/commonjs/components/ChannelPreview/hooks/useChannelPreviewDraftMessage.js.map +1 -1
  129. package/lib/commonjs/components/ChannelPreview/hooks/useChannelPreviewPollLabel.js.map +1 -1
  130. package/lib/commonjs/components/ChannelPreview/hooks/useChannelTypingState.js.map +1 -1
  131. package/lib/commonjs/components/ChannelPreview/hooks/useIsChannelMuted.js.map +1 -1
  132. package/lib/commonjs/components/Chat/Chat.js.map +1 -1
  133. package/lib/commonjs/components/Chat/hooks/useAppSettingsGetter.js.map +1 -1
  134. package/lib/commonjs/components/Chat/hooks/useClientUserId.js.map +1 -1
  135. package/lib/commonjs/components/Chat/hooks/useConnectionLifecycle.js.map +1 -1
  136. package/lib/commonjs/components/Chat/hooks/useCreateChatClient.js.map +1 -1
  137. package/lib/commonjs/components/Chat/hooks/useInitializeOfflineDb.js.map +1 -1
  138. package/lib/commonjs/components/Chat/hooks/useNetworkConnectionState.js.map +1 -1
  139. package/lib/commonjs/components/Chat/hooks/usePendingUploadsDefault.js.map +1 -1
  140. package/lib/commonjs/components/Chat/hooks/useWSConnectionState.js.map +1 -1
  141. package/lib/commonjs/components/ImageGallery/ImageGallery.js.map +1 -1
  142. package/lib/commonjs/components/ImageGallery/components/AnimatedGalleryImage.js.map +1 -1
  143. package/lib/commonjs/components/ImageGallery/components/AnimatedGalleryVideo.js +1 -1
  144. package/lib/commonjs/components/ImageGallery/components/AnimatedGalleryVideo.js.map +1 -1
  145. package/lib/commonjs/components/ImageGallery/components/ImageGalleryA11yProbe.js.map +1 -1
  146. package/lib/commonjs/components/ImageGallery/components/ImageGalleryFooter.js.map +1 -1
  147. package/lib/commonjs/components/ImageGallery/components/ImageGalleryHeader.js.map +1 -1
  148. package/lib/commonjs/components/ImageGallery/components/ImageGalleryVideoControl.js +3 -4
  149. package/lib/commonjs/components/ImageGallery/components/ImageGalleryVideoControl.js.map +1 -1
  150. package/lib/commonjs/components/ImageGallery/hooks/useAnimatedGalleryStyle.js.map +1 -1
  151. package/lib/commonjs/components/ImageGallery/hooks/useCurrentImageHeight.js.map +1 -1
  152. package/lib/commonjs/components/ImageGallery/hooks/useImageGalleryGestures.js.map +1 -1
  153. package/lib/commonjs/components/ImageGallery/hooks/useImageGalleryVideoPlayer.js.map +1 -1
  154. package/lib/commonjs/components/Indicators/LoadingIndicator.js.map +1 -1
  155. package/lib/commonjs/components/KeyboardCompatibleView/KeyboardCompatibleView.js.map +1 -1
  156. package/lib/commonjs/components/Message/Message.js.map +1 -1
  157. package/lib/commonjs/components/Message/MessageItemView/Headers/SentToChannelHeader.js.map +1 -1
  158. package/lib/commonjs/components/Message/MessageItemView/MessageBlocked.js.map +1 -1
  159. package/lib/commonjs/components/Message/MessageItemView/MessageContent.js.map +1 -1
  160. package/lib/commonjs/components/Message/MessageItemView/MessageFooter.js.map +1 -1
  161. package/lib/commonjs/components/Message/MessageItemView/MessageItemView.js.map +1 -1
  162. package/lib/commonjs/components/Message/MessageItemView/MessageTextContainer.js.map +1 -1
  163. package/lib/commonjs/components/Message/MessageItemView/MessageTimestamp.js.map +1 -1
  164. package/lib/commonjs/components/Message/MessageItemView/MessageWrapper.js.map +1 -1
  165. package/lib/commonjs/components/Message/MessageItemView/ReactionList/ReactionListTop.js.map +1 -1
  166. package/lib/commonjs/components/Message/MessageItemView/utils/generateMarkdownText.js +21 -8
  167. package/lib/commonjs/components/Message/MessageItemView/utils/generateMarkdownText.js.map +1 -1
  168. package/lib/commonjs/components/Message/MessageItemView/utils/generateMarkdownText.test.js +1 -1
  169. package/lib/commonjs/components/Message/MessageItemView/utils/generateMarkdownText.test.js.map +1 -1
  170. package/lib/commonjs/components/Message/MessageItemView/utils/parseLinks.js.map +1 -1
  171. package/lib/commonjs/components/Message/MessageItemView/utils/renderText.js.map +1 -1
  172. package/lib/commonjs/components/Message/MessageOverlayWrapper.js.map +1 -1
  173. package/lib/commonjs/components/Message/hooks/useCreateMessageActionHandlers.js +4 -2
  174. package/lib/commonjs/components/Message/hooks/useCreateMessageActionHandlers.js.map +1 -1
  175. package/lib/commonjs/components/Message/hooks/useCreateMessageContext.js.map +1 -1
  176. package/lib/commonjs/components/Message/hooks/useIsMessageDeliveredToOthers.js.map +1 -1
  177. package/lib/commonjs/components/Message/hooks/useIsMessageReadByOthers.js.map +1 -1
  178. package/lib/commonjs/components/Message/hooks/useMessageActionHandlers.js.map +1 -1
  179. package/lib/commonjs/components/Message/hooks/useMessageActions.js.map +1 -1
  180. package/lib/commonjs/components/Message/hooks/useMessageOperations.js.map +1 -1
  181. package/lib/commonjs/components/Message/hooks/useProcessReactions.js.map +1 -1
  182. package/lib/commonjs/components/Message/hooks/useStreamingMessage.js.map +1 -1
  183. package/lib/commonjs/components/Message/hooks/useUserMuteActive.js.map +1 -1
  184. package/lib/commonjs/components/Message/utils/measureInWindow.js.map +1 -1
  185. package/lib/commonjs/components/Message/utils/messageActions.js.map +1 -1
  186. package/lib/commonjs/components/MessageInput/MessageComposer.js.map +1 -1
  187. package/lib/commonjs/components/MessageInput/components/AttachmentPreview/AttachmentUploadPreviewList.js.map +1 -1
  188. package/lib/commonjs/components/MessageInput/components/AudioRecorder/AudioRecorder.js.map +1 -1
  189. package/lib/commonjs/components/MessageInput/components/AudioRecorder/AudioRecordingButton.js.map +1 -1
  190. package/lib/commonjs/components/MessageInput/components/AudioRecorder/AudioRecordingInProgress.js.map +1 -1
  191. package/lib/commonjs/components/MessageInput/components/AudioRecorder/AudioRecordingLockIndicator.js.map +1 -1
  192. package/lib/commonjs/components/MessageInput/components/AudioRecorder/AudioRecordingPreview.js.map +1 -1
  193. package/lib/commonjs/components/MessageInput/components/AudioRecorder/AudioRecordingWaveform.js.map +1 -1
  194. package/lib/commonjs/components/MessageInput/components/InputButtons/AttachButton.js.map +1 -1
  195. package/lib/commonjs/components/MessageInput/components/OutputButtons/CooldownTimer.js.map +1 -1
  196. package/lib/commonjs/components/MessageInput/hooks/useAudioRecorder.js.map +1 -1
  197. package/lib/commonjs/components/MessageInput/utils/audioSampling.js.map +1 -1
  198. package/lib/commonjs/components/MessageInput/utils/normalizeAudioLevel.js.map +1 -1
  199. package/lib/commonjs/components/MessageList/InlineDateSeparator.js.map +1 -1
  200. package/lib/commonjs/components/MessageList/MessageFlashList.js +2 -2
  201. package/lib/commonjs/components/MessageList/MessageFlashList.js.map +1 -1
  202. package/lib/commonjs/components/MessageList/MessageList.js +2 -2
  203. package/lib/commonjs/components/MessageList/MessageList.js.map +1 -1
  204. package/lib/commonjs/components/MessageList/MessageSystem.js.map +1 -1
  205. package/lib/commonjs/components/MessageList/StickyHeader.js.map +1 -1
  206. package/lib/commonjs/components/MessageList/UnreadMessagesNotification.js.map +1 -1
  207. package/lib/commonjs/components/MessageList/hooks/useMarkRead.js +5 -5
  208. package/lib/commonjs/components/MessageList/hooks/useMarkRead.js.map +1 -1
  209. package/lib/commonjs/components/MessageList/hooks/useMessageDateSeparator.js.map +1 -1
  210. package/lib/commonjs/components/MessageList/hooks/useMessageGroupStyles.js.map +1 -1
  211. package/lib/commonjs/components/MessageList/hooks/useMessageList.js.map +1 -1
  212. package/lib/commonjs/components/MessageList/hooks/useMessageListFocus.js.map +1 -1
  213. package/lib/commonjs/components/MessageList/hooks/useMessageListLiveState.js.map +1 -1
  214. package/lib/commonjs/components/MessageList/hooks/useMessageListPagination.js.map +1 -1
  215. package/lib/commonjs/components/MessageList/hooks/useOwnUnreadCount.js.map +1 -1
  216. package/lib/commonjs/components/MessageList/hooks/useScrollToBottomAccessibilityAction.js.map +1 -1
  217. package/lib/commonjs/components/MessageList/hooks/useStickyHeaderDate.js.map +1 -1
  218. package/lib/commonjs/components/MessageList/hooks/useTypingString.js.map +1 -1
  219. package/lib/commonjs/components/MessageList/hooks/useTypingUsers.js.map +1 -1
  220. package/lib/commonjs/components/MessageList/hooks/useUnreadNotificationVisibility.js.map +1 -1
  221. package/lib/commonjs/components/MessageList/utils/buildMessageListWithNeighbours.js.map +1 -1
  222. package/lib/commonjs/components/MessageList/utils/getGroupStyles.js.map +1 -1
  223. package/lib/commonjs/components/MessageMenu/EmojiPickerList.js.map +1 -1
  224. package/lib/commonjs/components/MessageMenu/MessageActionList.js +1 -1
  225. package/lib/commonjs/components/MessageMenu/MessageActionList.js.map +1 -1
  226. package/lib/commonjs/components/MessageMenu/MessageActionListItem.js.map +1 -1
  227. package/lib/commonjs/components/MessageMenu/MessageActionListWithActions.js +0 -1
  228. package/lib/commonjs/components/MessageMenu/MessageActionListWithActions.js.map +1 -1
  229. package/lib/commonjs/components/MessageMenu/MessageReactionPicker.js.map +1 -1
  230. package/lib/commonjs/components/MessageMenu/MessageUserReactions.js.map +1 -1
  231. package/lib/commonjs/components/MessageMenu/MessageUserReactionsAvatar.js.map +1 -1
  232. package/lib/commonjs/components/MessageMenu/MessageUserReactionsItem.js.map +1 -1
  233. package/lib/commonjs/components/MessageMenu/ReactionButton.js.map +1 -1
  234. package/lib/commonjs/components/Notifications/Notification.js.map +1 -1
  235. package/lib/commonjs/components/Notifications/NotificationTargetContext.js.map +1 -1
  236. package/lib/commonjs/components/Notifications/hooks/useNotificationApi.js.map +1 -1
  237. package/lib/commonjs/components/Notifications/hooks/useNotifications.js.map +1 -1
  238. package/lib/commonjs/components/Notifications/hooks/useSystemNotifications.js.map +1 -1
  239. package/lib/commonjs/components/Notifications/notificationFilters.js.map +1 -1
  240. package/lib/commonjs/components/Notifications/notificationTarget.js.map +1 -1
  241. package/lib/commonjs/components/Notifications/notificationTranslations.js.map +1 -1
  242. package/lib/commonjs/components/Poll/CreatePollContent.js +9 -3
  243. package/lib/commonjs/components/Poll/CreatePollContent.js.map +1 -1
  244. package/lib/commonjs/components/Poll/components/CreatePollHeader.js.map +1 -1
  245. package/lib/commonjs/components/Poll/components/CreatePollOptions.js +11 -5
  246. package/lib/commonjs/components/Poll/components/CreatePollOptions.js.map +1 -1
  247. package/lib/commonjs/components/Poll/components/MultipleAnswersField.js +3 -1
  248. package/lib/commonjs/components/Poll/components/MultipleAnswersField.js.map +1 -1
  249. package/lib/commonjs/components/Poll/components/MultipleVotesSettings.js +12 -4
  250. package/lib/commonjs/components/Poll/components/MultipleVotesSettings.js.map +1 -1
  251. package/lib/commonjs/components/Poll/components/NameField.js +3 -1
  252. package/lib/commonjs/components/Poll/components/NameField.js.map +1 -1
  253. package/lib/commonjs/components/Poll/hook/useIsPollCreatedByCurrentUser.js.map +1 -1
  254. package/lib/commonjs/components/Poll/hooks/useEndVote.js.map +1 -1
  255. package/lib/commonjs/components/Poll/hooks/usePollAnswersPagination.js.map +1 -1
  256. package/lib/commonjs/components/Poll/hooks/usePollOptionVotesPagination.js.map +1 -1
  257. package/lib/commonjs/components/Poll/hooks/usePollVoteToggle.js.map +1 -1
  258. package/lib/commonjs/components/Poll/index.js.map +1 -1
  259. package/lib/commonjs/components/ProgressControl/ProgressBar.js.map +1 -1
  260. package/lib/commonjs/components/ProgressControl/ProgressControl.js.map +1 -1
  261. package/lib/commonjs/components/ProgressControl/ProgressThumb.js.map +1 -1
  262. package/lib/commonjs/components/ProgressControl/StableDurationLabel.js.map +1 -1
  263. package/lib/commonjs/components/ProgressControl/WaveProgressBar.js.map +1 -1
  264. package/lib/commonjs/components/Reply/Reply.js.map +1 -1
  265. package/lib/commonjs/components/Thread/Thread.js.map +1 -1
  266. package/lib/commonjs/components/Thread/components/ThreadFooterComponent.js.map +1 -1
  267. package/lib/commonjs/components/ThreadList/ThreadListItem.js +2 -2
  268. package/lib/commonjs/components/ThreadList/ThreadListItem.js.map +1 -1
  269. package/lib/commonjs/components/ThreadList/ThreadMessagePreviewDeliveryStatus.js.map +1 -1
  270. package/lib/commonjs/components/UIComponents/BottomSheetModal.js.map +1 -1
  271. package/lib/commonjs/components/UIComponents/ClippingFadeBottom.js.map +1 -1
  272. package/lib/commonjs/components/UIComponents/EmptyList.js.map +1 -1
  273. package/lib/commonjs/components/UIComponents/ImageBackground.js.map +1 -1
  274. package/lib/commonjs/components/UIComponents/PortalWhileClosingView.js.map +1 -1
  275. package/lib/commonjs/components/UIComponents/SafeAreaViewWrapper.js.map +1 -1
  276. package/lib/commonjs/components/UIComponents/SvgAwareImage.js.map +1 -1
  277. package/lib/commonjs/components/index.js.map +1 -1
  278. package/lib/commonjs/components/ui/Avatar/Avatar.js.map +1 -1
  279. package/lib/commonjs/components/ui/Avatar/AvatarGroup.js.map +1 -1
  280. package/lib/commonjs/components/ui/Avatar/ChannelAvatar.js.map +1 -1
  281. package/lib/commonjs/components/ui/Badge/BadgeNotification.js.map +1 -1
  282. package/lib/commonjs/components/ui/Button/Button.js.map +1 -1
  283. package/lib/commonjs/components/ui/Button/hooks/useButtonStyles.js.map +1 -1
  284. package/lib/commonjs/components/ui/GiphyChip.js.map +1 -1
  285. package/lib/commonjs/components/ui/SpeedSettingsButton.js.map +1 -1
  286. package/lib/commonjs/contexts/accessibilityContext/AccessibilityContext.js.map +1 -1
  287. package/lib/commonjs/contexts/attachmentPickerContext/AttachmentPickerContext.js +1 -1
  288. package/lib/commonjs/contexts/attachmentPickerContext/AttachmentPickerContext.js.map +1 -1
  289. package/lib/commonjs/contexts/bottomSheetContext/BottomSheetContext.js.map +1 -1
  290. package/lib/commonjs/contexts/channelAddMembersContext/ChannelAddMembersContext.js.map +1 -1
  291. package/lib/commonjs/contexts/channelContext/ChannelContext.js +1 -1
  292. package/lib/commonjs/contexts/channelContext/ChannelContext.js.map +1 -1
  293. package/lib/commonjs/contexts/channelDetailsContext/channelDetailsContext.js.map +1 -1
  294. package/lib/commonjs/contexts/channelEditDetailsContext/ChannelEditDetailsContext.js.map +1 -1
  295. package/lib/commonjs/contexts/channelsContext/ChannelsContext.js +1 -1
  296. package/lib/commonjs/contexts/channelsContext/ChannelsContext.js.map +1 -1
  297. package/lib/commonjs/contexts/chatConfigContext/ChatConfigContext.js.map +1 -1
  298. package/lib/commonjs/contexts/chatContext/ChatContext.js +1 -1
  299. package/lib/commonjs/contexts/chatContext/ChatContext.js.map +1 -1
  300. package/lib/commonjs/contexts/componentsContext/ComponentsContext.js.map +1 -1
  301. package/lib/commonjs/contexts/componentsContext/defaultComponents.js.map +1 -1
  302. package/lib/commonjs/contexts/imageGalleryContext/ImageGalleryContextBase.js +1 -1
  303. package/lib/commonjs/contexts/imageGalleryContext/ImageGalleryContextBase.js.map +1 -1
  304. package/lib/commonjs/contexts/liveLocationManagerContext/LiveLocationManagerContext.js.map +1 -1
  305. package/lib/commonjs/contexts/liveLocationManagerContext/hooks/useHandleLiveLocationEvents.js.map +1 -1
  306. package/lib/commonjs/contexts/messageComposerContext/MessageComposerContext.js.map +1 -1
  307. package/lib/commonjs/contexts/messageContext/MessageContext.js.map +1 -1
  308. package/lib/commonjs/contexts/messageInputContext/MessageInputContext.js +3 -3
  309. package/lib/commonjs/contexts/messageInputContext/MessageInputContext.js.map +1 -1
  310. package/lib/commonjs/contexts/messageInputContext/hooks/useMessageComposer.js.map +1 -1
  311. package/lib/commonjs/contexts/messageInputContext/hooks/usePendingUploadsEnabled.js.map +1 -1
  312. package/lib/commonjs/contexts/messageListItemContext/MessageListItemContext.js +1 -1
  313. package/lib/commonjs/contexts/messageListItemContext/MessageListItemContext.js.map +1 -1
  314. package/lib/commonjs/contexts/messagesContext/MessagesContext.js +1 -1
  315. package/lib/commonjs/contexts/messagesContext/MessagesContext.js.map +1 -1
  316. package/lib/commonjs/contexts/overlayContext/ClosingPortalHostsLayer.js.map +1 -1
  317. package/lib/commonjs/contexts/overlayContext/MessageOverlayHostLayer.js.map +1 -1
  318. package/lib/commonjs/contexts/overlayContext/OverlayContext.js +1 -1
  319. package/lib/commonjs/contexts/overlayContext/OverlayContext.js.map +1 -1
  320. package/lib/commonjs/contexts/overlayContext/OverlayProvider.js.map +1 -1
  321. package/lib/commonjs/contexts/ownCapabilitiesContext/OwnCapabilitiesContext.js +1 -1
  322. package/lib/commonjs/contexts/ownCapabilitiesContext/OwnCapabilitiesContext.js.map +1 -1
  323. package/lib/commonjs/contexts/pollContext/createPollContentContext.js +1 -1
  324. package/lib/commonjs/contexts/pollContext/createPollContentContext.js.map +1 -1
  325. package/lib/commonjs/contexts/pollContext/pollContext.js +1 -1
  326. package/lib/commonjs/contexts/pollContext/pollContext.js.map +1 -1
  327. package/lib/commonjs/contexts/screenReaderContext/ScreenReaderContext.js.map +1 -1
  328. package/lib/commonjs/contexts/swipeableContext/SwipeRegistryContext.js +10 -9
  329. package/lib/commonjs/contexts/swipeableContext/SwipeRegistryContext.js.map +1 -1
  330. package/lib/commonjs/contexts/themeContext/ThemeContext.js +1 -1
  331. package/lib/commonjs/contexts/themeContext/ThemeContext.js.map +1 -1
  332. package/lib/commonjs/contexts/themeContext/utils/theme.js.map +1 -1
  333. package/lib/commonjs/contexts/threadContext/ThreadContext.js.map +1 -1
  334. package/lib/commonjs/contexts/translationContext/TranslationContext.js.map +1 -1
  335. package/lib/commonjs/hooks/actions/useChannelActionItems.js.map +1 -1
  336. package/lib/commonjs/hooks/actions/useChannelActions.js +9 -3
  337. package/lib/commonjs/hooks/actions/useChannelActions.js.map +1 -1
  338. package/lib/commonjs/hooks/actions/useChannelMemberActionItems.js.map +1 -1
  339. package/lib/commonjs/hooks/messagePreview/useMessageDeliveryStatus.js.map +1 -1
  340. package/lib/commonjs/hooks/messagePreview/useMessagePreviewText.js.map +1 -1
  341. package/lib/commonjs/hooks/useAppStateListener.js.map +1 -1
  342. package/lib/commonjs/hooks/useAttachmentPickerBottomSheet.js +1 -1
  343. package/lib/commonjs/hooks/useAttachmentPickerBottomSheet.js.map +1 -1
  344. package/lib/commonjs/hooks/useAudioPlayer.js.map +1 -1
  345. package/lib/commonjs/hooks/useCanAddMembersToChannel.js.map +1 -1
  346. package/lib/commonjs/hooks/useCanEditChannel.js.map +1 -1
  347. package/lib/commonjs/hooks/useChannel.js.map +1 -1
  348. package/lib/commonjs/hooks/useChannelImage.js.map +1 -1
  349. package/lib/commonjs/hooks/useChannelMemberCount.js.map +1 -1
  350. package/lib/commonjs/hooks/useChannelMembershipState.js.map +1 -1
  351. package/lib/commonjs/hooks/useChannelName.js.map +1 -1
  352. package/lib/commonjs/hooks/useChannelOwnCapabilities.js.map +1 -1
  353. package/lib/commonjs/hooks/useHorizontalInsets.js.map +1 -1
  354. package/lib/commonjs/hooks/useIsChannelMember.js.map +1 -1
  355. package/lib/commonjs/hooks/useIsMountedRef.js.map +1 -1
  356. package/lib/commonjs/hooks/useIsSvg.js.map +1 -1
  357. package/lib/commonjs/hooks/useKeyboardVisibility.js.map +1 -1
  358. package/lib/commonjs/hooks/useLazyRef.js.map +1 -1
  359. package/lib/commonjs/hooks/useMessagePaginator.js.map +1 -1
  360. package/lib/commonjs/hooks/usePendingAttachmentUpload.js.map +1 -1
  361. package/lib/commonjs/hooks/usePortalSettledCallback.js.map +1 -1
  362. package/lib/commonjs/hooks/usePrunableMessageList.js.map +1 -1
  363. package/lib/commonjs/hooks/useQueryReminders.js.map +1 -1
  364. package/lib/commonjs/hooks/useRAFCoalescedValue.js.map +1 -1
  365. package/lib/commonjs/hooks/useScreenDimensions.js.map +1 -1
  366. package/lib/commonjs/hooks/useScreenOrientation.js.map +1 -1
  367. package/lib/commonjs/hooks/useStableCallback.js.map +1 -1
  368. package/lib/commonjs/hooks/useStreami18n.js.map +1 -1
  369. package/lib/commonjs/hooks/useTranslatedMessage.js.map +1 -1
  370. package/lib/commonjs/hooks/useWindowContentWidth.js.map +1 -1
  371. package/lib/commonjs/i18n/runtimeDefaults.js.map +1 -1
  372. package/lib/commonjs/i18n/utils.js.map +1 -1
  373. package/lib/commonjs/middlewares/attachments.js.map +1 -1
  374. package/lib/commonjs/middlewares/emojiControl.js +10 -13
  375. package/lib/commonjs/middlewares/emojiControl.js.map +1 -1
  376. package/lib/commonjs/native.js.map +1 -1
  377. package/lib/commonjs/polyfills.js.map +1 -1
  378. package/lib/commonjs/state-store/audio-player.js.map +1 -1
  379. package/lib/commonjs/state-store/audio-recorder-manager.js.map +1 -1
  380. package/lib/commonjs/state-store/edit-channel-details-store.js.map +1 -1
  381. package/lib/commonjs/state-store/image-gallery-state-store.js.map +1 -1
  382. package/lib/commonjs/state-store/in-app-notifications-store.js.map +1 -1
  383. package/lib/commonjs/state-store/message-overlay-store.js.map +1 -1
  384. package/lib/commonjs/state-store/selection-store.js.map +1 -1
  385. package/lib/commonjs/store/OfflineDB.js.map +1 -1
  386. package/lib/commonjs/store/SqliteClient.js.map +1 -1
  387. package/lib/commonjs/store/apis/addPendingTask.js.map +1 -1
  388. package/lib/commonjs/store/apis/channelExists.js.map +1 -1
  389. package/lib/commonjs/store/apis/dropPendingTasks.js.map +1 -1
  390. package/lib/commonjs/store/apis/getChannelMessages.js.map +1 -1
  391. package/lib/commonjs/store/apis/getChannels.js.map +1 -1
  392. package/lib/commonjs/store/apis/getChannelsForFilterSort.js.map +1 -1
  393. package/lib/commonjs/store/apis/getDraftsForChannels.js.map +1 -1
  394. package/lib/commonjs/store/apis/getReactions.js.map +1 -1
  395. package/lib/commonjs/store/apis/getReactionsforFilterSort.js +0 -3
  396. package/lib/commonjs/store/apis/getReactionsforFilterSort.js.map +1 -1
  397. package/lib/commonjs/store/apis/insertReaction.js.map +1 -1
  398. package/lib/commonjs/store/apis/queries/selectActiveLocationsForChannels.js.map +1 -1
  399. package/lib/commonjs/store/apis/queries/selectChannelQueryForFilterSort.js.map +1 -1
  400. package/lib/commonjs/store/apis/queries/selectMessagesForChannels.js +1 -1
  401. package/lib/commonjs/store/apis/queries/selectReactionsForMessages.js.map +1 -1
  402. package/lib/commonjs/store/apis/upsertChannels.js +2 -2
  403. package/lib/commonjs/store/apis/upsertChannels.js.map +1 -1
  404. package/lib/commonjs/store/apis/upsertCidsForQuery.js.map +1 -1
  405. package/lib/commonjs/store/apis/upsertDraft.js +2 -3
  406. package/lib/commonjs/store/apis/upsertDraft.js.map +1 -1
  407. package/lib/commonjs/store/constants.js.map +1 -1
  408. package/lib/commonjs/store/mappers/mapStorableToMember.js +1 -1
  409. package/lib/commonjs/store/mappers/mapStorableToMember.js.map +1 -1
  410. package/lib/commonjs/store/mappers/mapStorableToPoll.js.map +1 -1
  411. package/lib/commonjs/store/mappers/mapStorableToTimestamp.js.map +1 -1
  412. package/lib/commonjs/store/mappers/mapTimestampToStorable.js.map +1 -1
  413. package/lib/commonjs/store/sqlite-utils/createDeleteQuery.js.map +1 -1
  414. package/lib/commonjs/store/sqlite-utils/createSelectQuery.js.map +1 -1
  415. package/lib/commonjs/store/sqlite-utils/createUpsertQuery.js.map +1 -1
  416. package/lib/commonjs/store/sqlite-utils/createUpsertQueryIfParentExists.js.map +1 -1
  417. package/lib/commonjs/theme/topologicalResolution.js.map +1 -1
  418. package/lib/commonjs/types/types.js.map +1 -1
  419. package/lib/commonjs/utils/attachmentUrls.js.map +1 -1
  420. package/lib/commonjs/utils/compressImage.js.map +1 -1
  421. package/lib/commonjs/utils/getResizedImageUrl.js.map +1 -1
  422. package/lib/commonjs/utils/getTrimmedAttachmentTitle.js +4 -2
  423. package/lib/commonjs/utils/getTrimmedAttachmentTitle.js.map +1 -1
  424. package/lib/commonjs/utils/getUrlOfImageAttachment.js.map +1 -1
  425. package/lib/commonjs/utils/i18n/Streami18n.js.map +1 -1
  426. package/lib/commonjs/utils/installNativeMultipartAdapter.js.map +1 -1
  427. package/lib/commonjs/utils/isRNVersionGreaterThanOrEqualTo.js.map +1 -1
  428. package/lib/commonjs/utils/react-native-constants.js.map +1 -1
  429. package/lib/commonjs/utils/rtlMirrorSwitchStyle.js.map +1 -1
  430. package/lib/commonjs/utils/utils.js +1 -2
  431. package/lib/commonjs/utils/utils.js.map +1 -1
  432. package/lib/commonjs/version.json +1 -1
  433. package/lib/module/a11y/a11yUtils.js.map +1 -1
  434. package/lib/module/a11y/hooks/useA11yLabel.js.map +1 -1
  435. package/lib/module/a11y/hooks/useAccessibilityActivateAction.js.map +1 -1
  436. package/lib/module/a11y/hooks/useAccessibilityServiceEnabled.js.map +1 -1
  437. package/lib/module/a11y/hooks/useAnnounceOnShow.js.map +1 -1
  438. package/lib/module/a11y/hooks/useAnnounceOnStateChange.js.map +1 -1
  439. package/lib/module/a11y/hooks/useReducedMotionPreference.js.map +1 -1
  440. package/lib/module/a11y/hooks/useResolvedModalAccessibilityProps.js.map +1 -1
  441. package/lib/module/a11y/hooks/useScreenReaderEnabled.js.map +1 -1
  442. package/lib/module/a11y/hooks/useScreenReaderMountFocus.js.map +1 -1
  443. package/lib/module/a11y/hooks/useSetAccessibilityFocus.js.map +1 -1
  444. package/lib/module/ai-components/AITypingIndicatorView.js.map +1 -1
  445. package/lib/module/ai-components/charts/components/VictoryChart.js.map +1 -1
  446. package/lib/module/ai-components/charts/index.js.map +1 -1
  447. package/lib/module/ai-components/charts/utils/generate-pie-colors.js.map +1 -1
  448. package/lib/module/ai-components/charts/utils/parse-json-chart.js +1 -2
  449. package/lib/module/ai-components/charts/utils/parse-json-chart.js.map +1 -1
  450. package/lib/module/ai-components/charts/vega-lite/schema.js.map +1 -1
  451. package/lib/module/ai-components/index.js.map +1 -1
  452. package/lib/module/ai-components/internal/hooks/useStableCallback.js.map +1 -1
  453. package/lib/module/ai-components/internal/icons/SendUp.js.map +1 -1
  454. package/lib/module/ai-components/markdown/components/Table.js.map +1 -1
  455. package/lib/module/ai-components/markdown/rules.js +0 -1
  456. package/lib/module/ai-components/markdown/rules.js.map +1 -1
  457. package/lib/module/ai-components/markdown/utils/generate-markdown-text.js.map +1 -1
  458. package/lib/module/ai-components/message-composer/SpeechToTextButton.js.map +1 -1
  459. package/lib/module/ai-components/native/AIDictation.js.map +1 -1
  460. package/lib/module/ai-components/native-specs/NativeAIDictation.js.map +1 -1
  461. package/lib/module/ai-components/services/media-picker-service/rncli.js.map +1 -1
  462. package/lib/module/ai-components/store/index.js.map +1 -1
  463. package/lib/module/ai-components/syntax-highlighting/index.js.map +1 -1
  464. package/lib/module/ai-components/syntax-highlighting/utils/converter.js.map +1 -1
  465. package/lib/module/ai-components/syntax-highlighting/utils/flatten-nodes.js.map +1 -1
  466. package/lib/module/components/AITypingIndicatorView/hooks/useAIState.js.map +1 -1
  467. package/lib/module/components/Accessibility/CompositeAccessibilityProbe.js.map +1 -1
  468. package/lib/module/components/Accessibility/HiddenA11yText.js.map +1 -1
  469. package/lib/module/components/Accessibility/NotificationAnnouncer.js.map +1 -1
  470. package/lib/module/components/Accessibility/OverlayA11yShield.js.map +1 -1
  471. package/lib/module/components/Accessibility/hooks/useIncomingMessageAnnouncements.js.map +1 -1
  472. package/lib/module/components/Accessibility/useAccessibilityAnnouncer.js.map +1 -1
  473. package/lib/module/components/Attachment/Attachment.js.map +1 -1
  474. package/lib/module/components/Attachment/AttachmentFileUploadProgressIndicator.js.map +1 -1
  475. package/lib/module/components/Attachment/AttachmentUploadIndicator.js.map +1 -1
  476. package/lib/module/components/Attachment/Audio/AudioAttachment.js.map +1 -1
  477. package/lib/module/components/Attachment/Audio/PlayPauseButton.js.map +1 -1
  478. package/lib/module/components/Attachment/CircularProgressIndicator.js.map +1 -1
  479. package/lib/module/components/Attachment/FileIcon.js +4 -4
  480. package/lib/module/components/Attachment/FileIcon.js.map +1 -1
  481. package/lib/module/components/Attachment/FilePreview.js.map +1 -1
  482. package/lib/module/components/Attachment/Gallery.js.map +1 -1
  483. package/lib/module/components/Attachment/Giphy/Giphy.js.map +1 -1
  484. package/lib/module/components/Attachment/Giphy/GiphyImage.js.map +1 -1
  485. package/lib/module/components/Attachment/ImageLoadingFailedIndicator.js.map +1 -1
  486. package/lib/module/components/Attachment/MediaUploadProgressOverlay.js.map +1 -1
  487. package/lib/module/components/Attachment/UrlPreview/URLPreview.js.map +1 -1
  488. package/lib/module/components/Attachment/UrlPreview/URLPreviewCompact.js.map +1 -1
  489. package/lib/module/components/Attachment/VideoThumbnail.js.map +1 -1
  490. package/lib/module/components/Attachment/utils/buildGallery/buildGallery.js.map +1 -1
  491. package/lib/module/components/Attachment/utils/buildGallery/buildGalleryOfSingleImage.js.map +1 -1
  492. package/lib/module/components/Attachment/utils/buildGallery/buildGalleryOfThreeImages.js.map +1 -1
  493. package/lib/module/components/Attachment/utils/buildGallery/buildGalleryOfTwoImages.js.map +1 -1
  494. package/lib/module/components/Attachment/utils/buildGallery/buildThumbnailGrid.js.map +1 -1
  495. package/lib/module/components/Attachment/utils/getAspectRatio.js.map +1 -1
  496. package/lib/module/components/Attachment/utils/getGiphyMimeType.js.map +1 -1
  497. package/lib/module/components/AttachmentPicker/AttachmentPicker.js.map +1 -1
  498. package/lib/module/components/AttachmentPicker/components/AttachmentMediaPicker/AttachmentMediaPicker.js.map +1 -1
  499. package/lib/module/components/AttachmentPicker/components/AttachmentMediaPicker/AttachmentPickerItem.js.map +1 -1
  500. package/lib/module/components/AutoCompleteInput/AutoCompleteInput.js.map +1 -1
  501. package/lib/module/components/AutoCompleteInput/AutoCompleteSuggestionItem.js.map +1 -1
  502. package/lib/module/components/AutoCompleteInput/AutoCompleteSuggestionList.js.map +1 -1
  503. package/lib/module/components/AutoCompleteInput/mentionItems/EnhancedMentionContent.js.map +1 -1
  504. package/lib/module/components/AutoCompleteInput/mentionItems/EnhancedMentionIcon.js.map +1 -1
  505. package/lib/module/components/AutoCompleteInput/mentionItems/MentionBroadcastItem.js.map +1 -1
  506. package/lib/module/components/AutoCompleteInput/mentionItems/MentionItem.js.map +1 -1
  507. package/lib/module/components/AutoCompleteInput/mentionItems/TokenizedSuggestionParts.js.map +1 -1
  508. package/lib/module/components/Channel/Channel.js.map +1 -1
  509. package/lib/module/components/Channel/ChannelShell.js.map +1 -1
  510. package/lib/module/components/Channel/hooks/useChannelLifecycle.js.map +1 -1
  511. package/lib/module/components/Channel/hooks/useCreateInputMessageInputContext.js.map +1 -1
  512. package/lib/module/components/Channel/hooks/useCreateMessagesContext.js.map +1 -1
  513. package/lib/module/components/Channel/hooks/useCreateOwnCapabilitiesContext.js.map +1 -1
  514. package/lib/module/components/Channel/hooks/useSupersededChannelSwap.js.map +1 -1
  515. package/lib/module/components/ChannelDetails/ChannelDetails.js.map +1 -1
  516. package/lib/module/components/ChannelDetails/components/ChannelDetailsActionsSection.js.map +1 -1
  517. package/lib/module/components/ChannelDetails/components/ChannelDetailsEditButton.js.map +1 -1
  518. package/lib/module/components/ChannelDetails/components/ChannelDetailsMemberSection.js.map +1 -1
  519. package/lib/module/components/ChannelDetails/components/ChannelDetailsNavigationSection.js.map +1 -1
  520. package/lib/module/components/ChannelDetails/components/ChannelEditDetailsForm.js.map +1 -1
  521. package/lib/module/components/ChannelDetails/components/ChannelEditDetailsFormContent.js.map +1 -1
  522. package/lib/module/components/ChannelDetails/components/members/ChannelAddMembersButton.js.map +1 -1
  523. package/lib/module/components/ChannelDetails/components/members/ChannelAddMembersForm.js.map +1 -1
  524. package/lib/module/components/ChannelDetails/components/members/ChannelAddMembersFormContent.js.map +1 -1
  525. package/lib/module/components/ChannelDetails/components/members/ChannelMemberActionsSheet.js.map +1 -1
  526. package/lib/module/components/ChannelDetails/components/members/ChannelMemberItem.js.map +1 -1
  527. package/lib/module/components/ChannelDetails/components/members/ChannelMemberList.js.map +1 -1
  528. package/lib/module/components/ChannelDetails/components/navigation-section/FileAttachmentItem.js.map +1 -1
  529. package/lib/module/components/ChannelDetails/components/navigation-section/FileAttachmentList.js.map +1 -1
  530. package/lib/module/components/ChannelDetails/components/navigation-section/MediaItem.js.map +1 -1
  531. package/lib/module/components/ChannelDetails/components/navigation-section/MediaList.js.map +1 -1
  532. package/lib/module/components/ChannelDetails/components/navigation-section/MediaListLoadingSkeleton.js.map +1 -1
  533. package/lib/module/components/ChannelDetails/components/navigation-section/PinnedMessageList.js.map +1 -1
  534. package/lib/module/components/ChannelDetails/hooks/members/useMemberRoles.js.map +1 -1
  535. package/lib/module/components/ChannelDetails/hooks/useChannelDetailsMemberStatusText.js.map +1 -1
  536. package/lib/module/components/ChannelDetails/hooks/useChannelDetailsNavigationItems.js.map +1 -1
  537. package/lib/module/components/ChannelDetails/hooks/useEditChannelImage.js +2 -2
  538. package/lib/module/components/ChannelDetails/hooks/useEditChannelImage.js.map +1 -1
  539. package/lib/module/components/ChannelDetails/hooks/useFileAttachmentListSections.js.map +1 -1
  540. package/lib/module/components/ChannelDetails/hooks/useMediaList.js.map +1 -1
  541. package/lib/module/components/ChannelDetails/hooks/useUserActivityStatus.js.map +1 -1
  542. package/lib/module/components/ChannelList/ChannelList.js.map +1 -1
  543. package/lib/module/components/ChannelList/ChannelListView.js.map +1 -1
  544. package/lib/module/components/ChannelList/hooks/useChannelMembersState.js.map +1 -1
  545. package/lib/module/components/ChannelList/hooks/useChannelOnlineMemberCount.js.map +1 -1
  546. package/lib/module/components/ChannelList/hooks/useMutedChannels.js.map +1 -1
  547. package/lib/module/components/ChannelList/hooks/useMutedUsers.js.map +1 -1
  548. package/lib/module/components/ChannelList/hooks/usePaginatedChannels.js.map +1 -1
  549. package/lib/module/components/ChannelPreview/ChannelMessagePreviewDeliveryStatus.js.map +1 -1
  550. package/lib/module/components/ChannelPreview/ChannelPreview.js.map +1 -1
  551. package/lib/module/components/ChannelPreview/ChannelPreviewMessage.js.map +1 -1
  552. package/lib/module/components/ChannelPreview/ChannelPreviewMutedStatus.js.map +1 -1
  553. package/lib/module/components/ChannelPreview/ChannelPreviewPinnedStatus.js.map +1 -1
  554. package/lib/module/components/ChannelPreview/ChannelPreviewTitle.js.map +1 -1
  555. package/lib/module/components/ChannelPreview/ChannelPreviewUnreadCount.js.map +1 -1
  556. package/lib/module/components/ChannelPreview/ChannelPreviewView.js.map +1 -1
  557. package/lib/module/components/ChannelPreview/hooks/useChannelPreviewData.js +2 -2
  558. package/lib/module/components/ChannelPreview/hooks/useChannelPreviewData.js.map +1 -1
  559. package/lib/module/components/ChannelPreview/hooks/useChannelPreviewDisplayPresence.js.map +1 -1
  560. package/lib/module/components/ChannelPreview/hooks/useChannelPreviewDraftMessage.js.map +1 -1
  561. package/lib/module/components/ChannelPreview/hooks/useChannelPreviewPollLabel.js.map +1 -1
  562. package/lib/module/components/ChannelPreview/hooks/useChannelTypingState.js.map +1 -1
  563. package/lib/module/components/ChannelPreview/hooks/useIsChannelMuted.js.map +1 -1
  564. package/lib/module/components/Chat/Chat.js.map +1 -1
  565. package/lib/module/components/Chat/hooks/useAppSettingsGetter.js.map +1 -1
  566. package/lib/module/components/Chat/hooks/useClientUserId.js.map +1 -1
  567. package/lib/module/components/Chat/hooks/useConnectionLifecycle.js.map +1 -1
  568. package/lib/module/components/Chat/hooks/useCreateChatClient.js.map +1 -1
  569. package/lib/module/components/Chat/hooks/useInitializeOfflineDb.js.map +1 -1
  570. package/lib/module/components/Chat/hooks/useNetworkConnectionState.js.map +1 -1
  571. package/lib/module/components/Chat/hooks/usePendingUploadsDefault.js.map +1 -1
  572. package/lib/module/components/Chat/hooks/useWSConnectionState.js.map +1 -1
  573. package/lib/module/components/ImageGallery/ImageGallery.js.map +1 -1
  574. package/lib/module/components/ImageGallery/components/AnimatedGalleryImage.js.map +1 -1
  575. package/lib/module/components/ImageGallery/components/AnimatedGalleryVideo.js +1 -1
  576. package/lib/module/components/ImageGallery/components/AnimatedGalleryVideo.js.map +1 -1
  577. package/lib/module/components/ImageGallery/components/ImageGalleryA11yProbe.js.map +1 -1
  578. package/lib/module/components/ImageGallery/components/ImageGalleryFooter.js.map +1 -1
  579. package/lib/module/components/ImageGallery/components/ImageGalleryHeader.js.map +1 -1
  580. package/lib/module/components/ImageGallery/components/ImageGalleryVideoControl.js +3 -4
  581. package/lib/module/components/ImageGallery/components/ImageGalleryVideoControl.js.map +1 -1
  582. package/lib/module/components/ImageGallery/hooks/useAnimatedGalleryStyle.js.map +1 -1
  583. package/lib/module/components/ImageGallery/hooks/useCurrentImageHeight.js.map +1 -1
  584. package/lib/module/components/ImageGallery/hooks/useImageGalleryGestures.js.map +1 -1
  585. package/lib/module/components/ImageGallery/hooks/useImageGalleryVideoPlayer.js.map +1 -1
  586. package/lib/module/components/Indicators/LoadingIndicator.js.map +1 -1
  587. package/lib/module/components/KeyboardCompatibleView/KeyboardCompatibleView.js.map +1 -1
  588. package/lib/module/components/Message/Message.js.map +1 -1
  589. package/lib/module/components/Message/MessageItemView/Headers/SentToChannelHeader.js.map +1 -1
  590. package/lib/module/components/Message/MessageItemView/MessageBlocked.js.map +1 -1
  591. package/lib/module/components/Message/MessageItemView/MessageContent.js.map +1 -1
  592. package/lib/module/components/Message/MessageItemView/MessageFooter.js.map +1 -1
  593. package/lib/module/components/Message/MessageItemView/MessageItemView.js.map +1 -1
  594. package/lib/module/components/Message/MessageItemView/MessageTextContainer.js.map +1 -1
  595. package/lib/module/components/Message/MessageItemView/MessageTimestamp.js.map +1 -1
  596. package/lib/module/components/Message/MessageItemView/MessageWrapper.js.map +1 -1
  597. package/lib/module/components/Message/MessageItemView/ReactionList/ReactionListTop.js.map +1 -1
  598. package/lib/module/components/Message/MessageItemView/utils/generateMarkdownText.js +21 -8
  599. package/lib/module/components/Message/MessageItemView/utils/generateMarkdownText.js.map +1 -1
  600. package/lib/module/components/Message/MessageItemView/utils/generateMarkdownText.test.js +1 -1
  601. package/lib/module/components/Message/MessageItemView/utils/generateMarkdownText.test.js.map +1 -1
  602. package/lib/module/components/Message/MessageItemView/utils/parseLinks.js.map +1 -1
  603. package/lib/module/components/Message/MessageItemView/utils/renderText.js.map +1 -1
  604. package/lib/module/components/Message/MessageOverlayWrapper.js.map +1 -1
  605. package/lib/module/components/Message/hooks/useCreateMessageActionHandlers.js +4 -2
  606. package/lib/module/components/Message/hooks/useCreateMessageActionHandlers.js.map +1 -1
  607. package/lib/module/components/Message/hooks/useCreateMessageContext.js.map +1 -1
  608. package/lib/module/components/Message/hooks/useIsMessageDeliveredToOthers.js.map +1 -1
  609. package/lib/module/components/Message/hooks/useIsMessageReadByOthers.js.map +1 -1
  610. package/lib/module/components/Message/hooks/useMessageActionHandlers.js.map +1 -1
  611. package/lib/module/components/Message/hooks/useMessageActions.js.map +1 -1
  612. package/lib/module/components/Message/hooks/useMessageOperations.js.map +1 -1
  613. package/lib/module/components/Message/hooks/useProcessReactions.js.map +1 -1
  614. package/lib/module/components/Message/hooks/useStreamingMessage.js.map +1 -1
  615. package/lib/module/components/Message/hooks/useUserMuteActive.js.map +1 -1
  616. package/lib/module/components/Message/utils/measureInWindow.js.map +1 -1
  617. package/lib/module/components/Message/utils/messageActions.js.map +1 -1
  618. package/lib/module/components/MessageInput/MessageComposer.js.map +1 -1
  619. package/lib/module/components/MessageInput/components/AttachmentPreview/AttachmentUploadPreviewList.js.map +1 -1
  620. package/lib/module/components/MessageInput/components/AudioRecorder/AudioRecorder.js.map +1 -1
  621. package/lib/module/components/MessageInput/components/AudioRecorder/AudioRecordingButton.js.map +1 -1
  622. package/lib/module/components/MessageInput/components/AudioRecorder/AudioRecordingInProgress.js.map +1 -1
  623. package/lib/module/components/MessageInput/components/AudioRecorder/AudioRecordingLockIndicator.js.map +1 -1
  624. package/lib/module/components/MessageInput/components/AudioRecorder/AudioRecordingPreview.js.map +1 -1
  625. package/lib/module/components/MessageInput/components/AudioRecorder/AudioRecordingWaveform.js.map +1 -1
  626. package/lib/module/components/MessageInput/components/InputButtons/AttachButton.js.map +1 -1
  627. package/lib/module/components/MessageInput/components/OutputButtons/CooldownTimer.js.map +1 -1
  628. package/lib/module/components/MessageInput/hooks/useAudioRecorder.js.map +1 -1
  629. package/lib/module/components/MessageInput/utils/audioSampling.js.map +1 -1
  630. package/lib/module/components/MessageInput/utils/normalizeAudioLevel.js.map +1 -1
  631. package/lib/module/components/MessageList/InlineDateSeparator.js.map +1 -1
  632. package/lib/module/components/MessageList/MessageFlashList.js +2 -2
  633. package/lib/module/components/MessageList/MessageFlashList.js.map +1 -1
  634. package/lib/module/components/MessageList/MessageList.js +2 -2
  635. package/lib/module/components/MessageList/MessageList.js.map +1 -1
  636. package/lib/module/components/MessageList/MessageSystem.js.map +1 -1
  637. package/lib/module/components/MessageList/StickyHeader.js.map +1 -1
  638. package/lib/module/components/MessageList/UnreadMessagesNotification.js.map +1 -1
  639. package/lib/module/components/MessageList/hooks/useMarkRead.js +5 -5
  640. package/lib/module/components/MessageList/hooks/useMarkRead.js.map +1 -1
  641. package/lib/module/components/MessageList/hooks/useMessageDateSeparator.js.map +1 -1
  642. package/lib/module/components/MessageList/hooks/useMessageGroupStyles.js.map +1 -1
  643. package/lib/module/components/MessageList/hooks/useMessageList.js.map +1 -1
  644. package/lib/module/components/MessageList/hooks/useMessageListFocus.js.map +1 -1
  645. package/lib/module/components/MessageList/hooks/useMessageListLiveState.js.map +1 -1
  646. package/lib/module/components/MessageList/hooks/useMessageListPagination.js.map +1 -1
  647. package/lib/module/components/MessageList/hooks/useOwnUnreadCount.js.map +1 -1
  648. package/lib/module/components/MessageList/hooks/useScrollToBottomAccessibilityAction.js.map +1 -1
  649. package/lib/module/components/MessageList/hooks/useStickyHeaderDate.js.map +1 -1
  650. package/lib/module/components/MessageList/hooks/useTypingString.js.map +1 -1
  651. package/lib/module/components/MessageList/hooks/useTypingUsers.js.map +1 -1
  652. package/lib/module/components/MessageList/hooks/useUnreadNotificationVisibility.js.map +1 -1
  653. package/lib/module/components/MessageList/utils/buildMessageListWithNeighbours.js.map +1 -1
  654. package/lib/module/components/MessageList/utils/getGroupStyles.js.map +1 -1
  655. package/lib/module/components/MessageMenu/EmojiPickerList.js.map +1 -1
  656. package/lib/module/components/MessageMenu/MessageActionList.js +1 -1
  657. package/lib/module/components/MessageMenu/MessageActionList.js.map +1 -1
  658. package/lib/module/components/MessageMenu/MessageActionListItem.js.map +1 -1
  659. package/lib/module/components/MessageMenu/MessageActionListWithActions.js +0 -1
  660. package/lib/module/components/MessageMenu/MessageActionListWithActions.js.map +1 -1
  661. package/lib/module/components/MessageMenu/MessageReactionPicker.js.map +1 -1
  662. package/lib/module/components/MessageMenu/MessageUserReactions.js.map +1 -1
  663. package/lib/module/components/MessageMenu/MessageUserReactionsAvatar.js.map +1 -1
  664. package/lib/module/components/MessageMenu/MessageUserReactionsItem.js.map +1 -1
  665. package/lib/module/components/MessageMenu/ReactionButton.js.map +1 -1
  666. package/lib/module/components/Notifications/Notification.js.map +1 -1
  667. package/lib/module/components/Notifications/NotificationTargetContext.js.map +1 -1
  668. package/lib/module/components/Notifications/hooks/useNotificationApi.js.map +1 -1
  669. package/lib/module/components/Notifications/hooks/useNotifications.js.map +1 -1
  670. package/lib/module/components/Notifications/hooks/useSystemNotifications.js.map +1 -1
  671. package/lib/module/components/Notifications/notificationFilters.js.map +1 -1
  672. package/lib/module/components/Notifications/notificationTarget.js.map +1 -1
  673. package/lib/module/components/Notifications/notificationTranslations.js.map +1 -1
  674. package/lib/module/components/Poll/CreatePollContent.js +9 -3
  675. package/lib/module/components/Poll/CreatePollContent.js.map +1 -1
  676. package/lib/module/components/Poll/components/CreatePollHeader.js.map +1 -1
  677. package/lib/module/components/Poll/components/CreatePollOptions.js +11 -5
  678. package/lib/module/components/Poll/components/CreatePollOptions.js.map +1 -1
  679. package/lib/module/components/Poll/components/MultipleAnswersField.js +3 -1
  680. package/lib/module/components/Poll/components/MultipleAnswersField.js.map +1 -1
  681. package/lib/module/components/Poll/components/MultipleVotesSettings.js +12 -4
  682. package/lib/module/components/Poll/components/MultipleVotesSettings.js.map +1 -1
  683. package/lib/module/components/Poll/components/NameField.js +3 -1
  684. package/lib/module/components/Poll/components/NameField.js.map +1 -1
  685. package/lib/module/components/Poll/hook/useIsPollCreatedByCurrentUser.js.map +1 -1
  686. package/lib/module/components/Poll/hooks/useEndVote.js.map +1 -1
  687. package/lib/module/components/Poll/hooks/usePollAnswersPagination.js.map +1 -1
  688. package/lib/module/components/Poll/hooks/usePollOptionVotesPagination.js.map +1 -1
  689. package/lib/module/components/Poll/hooks/usePollVoteToggle.js.map +1 -1
  690. package/lib/module/components/Poll/index.js.map +1 -1
  691. package/lib/module/components/ProgressControl/ProgressBar.js.map +1 -1
  692. package/lib/module/components/ProgressControl/ProgressControl.js.map +1 -1
  693. package/lib/module/components/ProgressControl/ProgressThumb.js.map +1 -1
  694. package/lib/module/components/ProgressControl/StableDurationLabel.js.map +1 -1
  695. package/lib/module/components/ProgressControl/WaveProgressBar.js.map +1 -1
  696. package/lib/module/components/Reply/Reply.js.map +1 -1
  697. package/lib/module/components/Thread/Thread.js.map +1 -1
  698. package/lib/module/components/Thread/components/ThreadFooterComponent.js.map +1 -1
  699. package/lib/module/components/ThreadList/ThreadListItem.js +2 -2
  700. package/lib/module/components/ThreadList/ThreadListItem.js.map +1 -1
  701. package/lib/module/components/ThreadList/ThreadMessagePreviewDeliveryStatus.js.map +1 -1
  702. package/lib/module/components/UIComponents/BottomSheetModal.js.map +1 -1
  703. package/lib/module/components/UIComponents/ClippingFadeBottom.js.map +1 -1
  704. package/lib/module/components/UIComponents/EmptyList.js.map +1 -1
  705. package/lib/module/components/UIComponents/ImageBackground.js.map +1 -1
  706. package/lib/module/components/UIComponents/PortalWhileClosingView.js.map +1 -1
  707. package/lib/module/components/UIComponents/SafeAreaViewWrapper.js.map +1 -1
  708. package/lib/module/components/UIComponents/SvgAwareImage.js.map +1 -1
  709. package/lib/module/components/index.js.map +1 -1
  710. package/lib/module/components/ui/Avatar/Avatar.js.map +1 -1
  711. package/lib/module/components/ui/Avatar/AvatarGroup.js.map +1 -1
  712. package/lib/module/components/ui/Avatar/ChannelAvatar.js.map +1 -1
  713. package/lib/module/components/ui/Badge/BadgeNotification.js.map +1 -1
  714. package/lib/module/components/ui/Button/Button.js.map +1 -1
  715. package/lib/module/components/ui/Button/hooks/useButtonStyles.js.map +1 -1
  716. package/lib/module/components/ui/GiphyChip.js.map +1 -1
  717. package/lib/module/components/ui/SpeedSettingsButton.js.map +1 -1
  718. package/lib/module/contexts/accessibilityContext/AccessibilityContext.js.map +1 -1
  719. package/lib/module/contexts/attachmentPickerContext/AttachmentPickerContext.js +1 -1
  720. package/lib/module/contexts/attachmentPickerContext/AttachmentPickerContext.js.map +1 -1
  721. package/lib/module/contexts/bottomSheetContext/BottomSheetContext.js.map +1 -1
  722. package/lib/module/contexts/channelAddMembersContext/ChannelAddMembersContext.js.map +1 -1
  723. package/lib/module/contexts/channelContext/ChannelContext.js +1 -1
  724. package/lib/module/contexts/channelContext/ChannelContext.js.map +1 -1
  725. package/lib/module/contexts/channelDetailsContext/channelDetailsContext.js.map +1 -1
  726. package/lib/module/contexts/channelEditDetailsContext/ChannelEditDetailsContext.js.map +1 -1
  727. package/lib/module/contexts/channelsContext/ChannelsContext.js +1 -1
  728. package/lib/module/contexts/channelsContext/ChannelsContext.js.map +1 -1
  729. package/lib/module/contexts/chatConfigContext/ChatConfigContext.js.map +1 -1
  730. package/lib/module/contexts/chatContext/ChatContext.js +1 -1
  731. package/lib/module/contexts/chatContext/ChatContext.js.map +1 -1
  732. package/lib/module/contexts/componentsContext/ComponentsContext.js.map +1 -1
  733. package/lib/module/contexts/componentsContext/defaultComponents.js.map +1 -1
  734. package/lib/module/contexts/imageGalleryContext/ImageGalleryContextBase.js +1 -1
  735. package/lib/module/contexts/imageGalleryContext/ImageGalleryContextBase.js.map +1 -1
  736. package/lib/module/contexts/liveLocationManagerContext/LiveLocationManagerContext.js.map +1 -1
  737. package/lib/module/contexts/liveLocationManagerContext/hooks/useHandleLiveLocationEvents.js.map +1 -1
  738. package/lib/module/contexts/messageComposerContext/MessageComposerContext.js.map +1 -1
  739. package/lib/module/contexts/messageContext/MessageContext.js.map +1 -1
  740. package/lib/module/contexts/messageInputContext/MessageInputContext.js +3 -3
  741. package/lib/module/contexts/messageInputContext/MessageInputContext.js.map +1 -1
  742. package/lib/module/contexts/messageInputContext/hooks/useMessageComposer.js.map +1 -1
  743. package/lib/module/contexts/messageInputContext/hooks/usePendingUploadsEnabled.js.map +1 -1
  744. package/lib/module/contexts/messageListItemContext/MessageListItemContext.js +1 -1
  745. package/lib/module/contexts/messageListItemContext/MessageListItemContext.js.map +1 -1
  746. package/lib/module/contexts/messagesContext/MessagesContext.js +1 -1
  747. package/lib/module/contexts/messagesContext/MessagesContext.js.map +1 -1
  748. package/lib/module/contexts/overlayContext/ClosingPortalHostsLayer.js.map +1 -1
  749. package/lib/module/contexts/overlayContext/MessageOverlayHostLayer.js.map +1 -1
  750. package/lib/module/contexts/overlayContext/OverlayContext.js +1 -1
  751. package/lib/module/contexts/overlayContext/OverlayContext.js.map +1 -1
  752. package/lib/module/contexts/overlayContext/OverlayProvider.js.map +1 -1
  753. package/lib/module/contexts/ownCapabilitiesContext/OwnCapabilitiesContext.js +1 -1
  754. package/lib/module/contexts/ownCapabilitiesContext/OwnCapabilitiesContext.js.map +1 -1
  755. package/lib/module/contexts/pollContext/createPollContentContext.js +1 -1
  756. package/lib/module/contexts/pollContext/createPollContentContext.js.map +1 -1
  757. package/lib/module/contexts/pollContext/pollContext.js +1 -1
  758. package/lib/module/contexts/pollContext/pollContext.js.map +1 -1
  759. package/lib/module/contexts/screenReaderContext/ScreenReaderContext.js.map +1 -1
  760. package/lib/module/contexts/swipeableContext/SwipeRegistryContext.js +10 -9
  761. package/lib/module/contexts/swipeableContext/SwipeRegistryContext.js.map +1 -1
  762. package/lib/module/contexts/themeContext/ThemeContext.js +1 -1
  763. package/lib/module/contexts/themeContext/ThemeContext.js.map +1 -1
  764. package/lib/module/contexts/themeContext/utils/theme.js.map +1 -1
  765. package/lib/module/contexts/threadContext/ThreadContext.js.map +1 -1
  766. package/lib/module/contexts/translationContext/TranslationContext.js.map +1 -1
  767. package/lib/module/hooks/actions/useChannelActionItems.js.map +1 -1
  768. package/lib/module/hooks/actions/useChannelActions.js +9 -3
  769. package/lib/module/hooks/actions/useChannelActions.js.map +1 -1
  770. package/lib/module/hooks/actions/useChannelMemberActionItems.js.map +1 -1
  771. package/lib/module/hooks/messagePreview/useMessageDeliveryStatus.js.map +1 -1
  772. package/lib/module/hooks/messagePreview/useMessagePreviewText.js.map +1 -1
  773. package/lib/module/hooks/useAppStateListener.js.map +1 -1
  774. package/lib/module/hooks/useAttachmentPickerBottomSheet.js +1 -1
  775. package/lib/module/hooks/useAttachmentPickerBottomSheet.js.map +1 -1
  776. package/lib/module/hooks/useAudioPlayer.js.map +1 -1
  777. package/lib/module/hooks/useCanAddMembersToChannel.js.map +1 -1
  778. package/lib/module/hooks/useCanEditChannel.js.map +1 -1
  779. package/lib/module/hooks/useChannel.js.map +1 -1
  780. package/lib/module/hooks/useChannelImage.js.map +1 -1
  781. package/lib/module/hooks/useChannelMemberCount.js.map +1 -1
  782. package/lib/module/hooks/useChannelMembershipState.js.map +1 -1
  783. package/lib/module/hooks/useChannelName.js.map +1 -1
  784. package/lib/module/hooks/useChannelOwnCapabilities.js.map +1 -1
  785. package/lib/module/hooks/useHorizontalInsets.js.map +1 -1
  786. package/lib/module/hooks/useIsChannelMember.js.map +1 -1
  787. package/lib/module/hooks/useIsMountedRef.js.map +1 -1
  788. package/lib/module/hooks/useIsSvg.js.map +1 -1
  789. package/lib/module/hooks/useKeyboardVisibility.js.map +1 -1
  790. package/lib/module/hooks/useLazyRef.js.map +1 -1
  791. package/lib/module/hooks/useMessagePaginator.js.map +1 -1
  792. package/lib/module/hooks/usePendingAttachmentUpload.js.map +1 -1
  793. package/lib/module/hooks/usePortalSettledCallback.js.map +1 -1
  794. package/lib/module/hooks/usePrunableMessageList.js.map +1 -1
  795. package/lib/module/hooks/useQueryReminders.js.map +1 -1
  796. package/lib/module/hooks/useRAFCoalescedValue.js.map +1 -1
  797. package/lib/module/hooks/useScreenDimensions.js.map +1 -1
  798. package/lib/module/hooks/useScreenOrientation.js.map +1 -1
  799. package/lib/module/hooks/useStableCallback.js.map +1 -1
  800. package/lib/module/hooks/useStreami18n.js.map +1 -1
  801. package/lib/module/hooks/useTranslatedMessage.js.map +1 -1
  802. package/lib/module/hooks/useWindowContentWidth.js.map +1 -1
  803. package/lib/module/i18n/runtimeDefaults.js.map +1 -1
  804. package/lib/module/i18n/utils.js.map +1 -1
  805. package/lib/module/middlewares/attachments.js.map +1 -1
  806. package/lib/module/middlewares/emojiControl.js +10 -13
  807. package/lib/module/middlewares/emojiControl.js.map +1 -1
  808. package/lib/module/native.js.map +1 -1
  809. package/lib/module/polyfills.js.map +1 -1
  810. package/lib/module/state-store/audio-player.js.map +1 -1
  811. package/lib/module/state-store/audio-recorder-manager.js.map +1 -1
  812. package/lib/module/state-store/edit-channel-details-store.js.map +1 -1
  813. package/lib/module/state-store/image-gallery-state-store.js.map +1 -1
  814. package/lib/module/state-store/in-app-notifications-store.js.map +1 -1
  815. package/lib/module/state-store/message-overlay-store.js.map +1 -1
  816. package/lib/module/state-store/selection-store.js.map +1 -1
  817. package/lib/module/store/OfflineDB.js.map +1 -1
  818. package/lib/module/store/SqliteClient.js.map +1 -1
  819. package/lib/module/store/apis/addPendingTask.js.map +1 -1
  820. package/lib/module/store/apis/channelExists.js.map +1 -1
  821. package/lib/module/store/apis/dropPendingTasks.js.map +1 -1
  822. package/lib/module/store/apis/getChannelMessages.js.map +1 -1
  823. package/lib/module/store/apis/getChannels.js.map +1 -1
  824. package/lib/module/store/apis/getChannelsForFilterSort.js.map +1 -1
  825. package/lib/module/store/apis/getDraftsForChannels.js.map +1 -1
  826. package/lib/module/store/apis/getReactions.js.map +1 -1
  827. package/lib/module/store/apis/getReactionsforFilterSort.js +0 -3
  828. package/lib/module/store/apis/getReactionsforFilterSort.js.map +1 -1
  829. package/lib/module/store/apis/insertReaction.js.map +1 -1
  830. package/lib/module/store/apis/queries/selectActiveLocationsForChannels.js.map +1 -1
  831. package/lib/module/store/apis/queries/selectChannelQueryForFilterSort.js.map +1 -1
  832. package/lib/module/store/apis/queries/selectMessagesForChannels.js +1 -1
  833. package/lib/module/store/apis/queries/selectReactionsForMessages.js.map +1 -1
  834. package/lib/module/store/apis/upsertChannels.js +2 -2
  835. package/lib/module/store/apis/upsertChannels.js.map +1 -1
  836. package/lib/module/store/apis/upsertCidsForQuery.js.map +1 -1
  837. package/lib/module/store/apis/upsertDraft.js +2 -3
  838. package/lib/module/store/apis/upsertDraft.js.map +1 -1
  839. package/lib/module/store/constants.js.map +1 -1
  840. package/lib/module/store/mappers/mapStorableToMember.js +1 -1
  841. package/lib/module/store/mappers/mapStorableToMember.js.map +1 -1
  842. package/lib/module/store/mappers/mapStorableToPoll.js.map +1 -1
  843. package/lib/module/store/mappers/mapStorableToTimestamp.js.map +1 -1
  844. package/lib/module/store/mappers/mapTimestampToStorable.js.map +1 -1
  845. package/lib/module/store/sqlite-utils/createDeleteQuery.js.map +1 -1
  846. package/lib/module/store/sqlite-utils/createSelectQuery.js.map +1 -1
  847. package/lib/module/store/sqlite-utils/createUpsertQuery.js.map +1 -1
  848. package/lib/module/store/sqlite-utils/createUpsertQueryIfParentExists.js.map +1 -1
  849. package/lib/module/theme/topologicalResolution.js.map +1 -1
  850. package/lib/module/types/types.js.map +1 -1
  851. package/lib/module/utils/attachmentUrls.js.map +1 -1
  852. package/lib/module/utils/compressImage.js.map +1 -1
  853. package/lib/module/utils/getResizedImageUrl.js.map +1 -1
  854. package/lib/module/utils/getTrimmedAttachmentTitle.js +4 -2
  855. package/lib/module/utils/getTrimmedAttachmentTitle.js.map +1 -1
  856. package/lib/module/utils/getUrlOfImageAttachment.js.map +1 -1
  857. package/lib/module/utils/i18n/Streami18n.js.map +1 -1
  858. package/lib/module/utils/installNativeMultipartAdapter.js.map +1 -1
  859. package/lib/module/utils/isRNVersionGreaterThanOrEqualTo.js.map +1 -1
  860. package/lib/module/utils/react-native-constants.js.map +1 -1
  861. package/lib/module/utils/rtlMirrorSwitchStyle.js.map +1 -1
  862. package/lib/module/utils/utils.js +1 -2
  863. package/lib/module/utils/utils.js.map +1 -1
  864. package/lib/module/version.json +1 -1
  865. package/lib/typescript/a11y/a11yUtils.d.ts +18 -8
  866. package/lib/typescript/a11y/a11yUtils.d.ts.map +1 -1
  867. package/lib/typescript/a11y/hooks/useA11yLabel.d.ts +7 -5
  868. package/lib/typescript/a11y/hooks/useA11yLabel.d.ts.map +1 -1
  869. package/lib/typescript/a11y/hooks/useAccessibilityActivateAction.d.ts +7 -4
  870. package/lib/typescript/a11y/hooks/useAccessibilityActivateAction.d.ts.map +1 -1
  871. package/lib/typescript/a11y/hooks/useAccessibilityServiceEnabled.d.ts +5 -14
  872. package/lib/typescript/a11y/hooks/useAccessibilityServiceEnabled.d.ts.map +1 -1
  873. package/lib/typescript/a11y/hooks/useAnnounceOnShow.d.ts +7 -10
  874. package/lib/typescript/a11y/hooks/useAnnounceOnShow.d.ts.map +1 -1
  875. package/lib/typescript/a11y/hooks/useAnnounceOnStateChange.d.ts +5 -4
  876. package/lib/typescript/a11y/hooks/useAnnounceOnStateChange.d.ts.map +1 -1
  877. package/lib/typescript/a11y/hooks/useReducedMotionPreference.d.ts +3 -2
  878. package/lib/typescript/a11y/hooks/useReducedMotionPreference.d.ts.map +1 -1
  879. package/lib/typescript/a11y/hooks/useResolvedModalAccessibilityProps.d.ts +4 -8
  880. package/lib/typescript/a11y/hooks/useResolvedModalAccessibilityProps.d.ts.map +1 -1
  881. package/lib/typescript/a11y/hooks/useScreenReaderEnabled.d.ts +3 -5
  882. package/lib/typescript/a11y/hooks/useScreenReaderEnabled.d.ts.map +1 -1
  883. package/lib/typescript/a11y/hooks/useScreenReaderMountFocus.d.ts +4 -3
  884. package/lib/typescript/a11y/hooks/useScreenReaderMountFocus.d.ts.map +1 -1
  885. package/lib/typescript/a11y/hooks/useSetAccessibilityFocus.d.ts +8 -20
  886. package/lib/typescript/a11y/hooks/useSetAccessibilityFocus.d.ts.map +1 -1
  887. package/lib/typescript/ai-components/AITypingIndicatorView.d.ts.map +1 -1
  888. package/lib/typescript/ai-components/charts/components/VictoryChart.d.ts.map +1 -1
  889. package/lib/typescript/ai-components/charts/index.d.ts.map +1 -1
  890. package/lib/typescript/ai-components/charts/types.d.ts +3 -4
  891. package/lib/typescript/ai-components/charts/types.d.ts.map +1 -1
  892. package/lib/typescript/ai-components/charts/utils/generate-pie-colors.d.ts.map +1 -1
  893. package/lib/typescript/ai-components/charts/utils/parse-json-chart.d.ts.map +1 -1
  894. package/lib/typescript/ai-components/charts/vega-lite/schema.d.ts.map +1 -1
  895. package/lib/typescript/ai-components/index.d.ts.map +1 -1
  896. package/lib/typescript/ai-components/internal/hooks/useStableCallback.d.ts +7 -20
  897. package/lib/typescript/ai-components/internal/hooks/useStableCallback.d.ts.map +1 -1
  898. package/lib/typescript/ai-components/internal/icons/SendUp.d.ts.map +1 -1
  899. package/lib/typescript/ai-components/markdown/components/Table.d.ts.map +1 -1
  900. package/lib/typescript/ai-components/markdown/rules.d.ts.map +1 -1
  901. package/lib/typescript/ai-components/markdown/utils/generate-markdown-text.d.ts.map +1 -1
  902. package/lib/typescript/ai-components/message-composer/SpeechToTextButton.d.ts +1 -4
  903. package/lib/typescript/ai-components/message-composer/SpeechToTextButton.d.ts.map +1 -1
  904. package/lib/typescript/ai-components/native/AIDictation.d.ts +5 -3
  905. package/lib/typescript/ai-components/native/AIDictation.d.ts.map +1 -1
  906. package/lib/typescript/ai-components/native-specs/NativeAIDictation.d.ts +6 -6
  907. package/lib/typescript/ai-components/native-specs/NativeAIDictation.d.ts.map +1 -1
  908. package/lib/typescript/ai-components/services/media-picker-service/index.d.ts.map +1 -1
  909. package/lib/typescript/ai-components/store/index.d.ts.map +1 -1
  910. package/lib/typescript/ai-components/syntax-highlighting/index.d.ts +2 -3
  911. package/lib/typescript/ai-components/syntax-highlighting/index.d.ts.map +1 -1
  912. package/lib/typescript/ai-components/syntax-highlighting/types.d.ts +2 -3
  913. package/lib/typescript/ai-components/syntax-highlighting/types.d.ts.map +1 -1
  914. package/lib/typescript/ai-components/syntax-highlighting/utils/converter.d.ts +7 -1
  915. package/lib/typescript/ai-components/syntax-highlighting/utils/converter.d.ts.map +1 -1
  916. package/lib/typescript/ai-components/syntax-highlighting/utils/flatten-nodes.d.ts.map +1 -1
  917. package/lib/typescript/components/AITypingIndicatorView/hooks/useAIState.d.ts +4 -3
  918. package/lib/typescript/components/AITypingIndicatorView/hooks/useAIState.d.ts.map +1 -1
  919. package/lib/typescript/components/Accessibility/CompositeAccessibilityProbe.d.ts +7 -19
  920. package/lib/typescript/components/Accessibility/CompositeAccessibilityProbe.d.ts.map +1 -1
  921. package/lib/typescript/components/Accessibility/HiddenA11yText.d.ts +7 -15
  922. package/lib/typescript/components/Accessibility/HiddenA11yText.d.ts.map +1 -1
  923. package/lib/typescript/components/Accessibility/NotificationAnnouncer.d.ts +2 -8
  924. package/lib/typescript/components/Accessibility/NotificationAnnouncer.d.ts.map +1 -1
  925. package/lib/typescript/components/Accessibility/OverlayA11yShield.d.ts +7 -14
  926. package/lib/typescript/components/Accessibility/OverlayA11yShield.d.ts.map +1 -1
  927. package/lib/typescript/components/Accessibility/hooks/useIncomingMessageAnnouncements.d.ts +9 -8
  928. package/lib/typescript/components/Accessibility/hooks/useIncomingMessageAnnouncements.d.ts.map +1 -1
  929. package/lib/typescript/components/Accessibility/useAccessibilityAnnouncer.d.ts +3 -4
  930. package/lib/typescript/components/Accessibility/useAccessibilityAnnouncer.d.ts.map +1 -1
  931. package/lib/typescript/components/Attachment/Attachment.d.ts +3 -9
  932. package/lib/typescript/components/Attachment/Attachment.d.ts.map +1 -1
  933. package/lib/typescript/components/Attachment/AttachmentFileUploadProgressIndicator.d.ts +1 -3
  934. package/lib/typescript/components/Attachment/AttachmentFileUploadProgressIndicator.d.ts.map +1 -1
  935. package/lib/typescript/components/Attachment/AttachmentUploadIndicator.d.ts +2 -1
  936. package/lib/typescript/components/Attachment/AttachmentUploadIndicator.d.ts.map +1 -1
  937. package/lib/typescript/components/Attachment/Audio/AudioAttachment.d.ts +3 -10
  938. package/lib/typescript/components/Attachment/Audio/AudioAttachment.d.ts.map +1 -1
  939. package/lib/typescript/components/Attachment/Audio/PlayPauseButton.d.ts +3 -9
  940. package/lib/typescript/components/Attachment/Audio/PlayPauseButton.d.ts.map +1 -1
  941. package/lib/typescript/components/Attachment/CircularProgressIndicator.d.ts +2 -4
  942. package/lib/typescript/components/Attachment/CircularProgressIndicator.d.ts.map +1 -1
  943. package/lib/typescript/components/Attachment/FileAttachment.d.ts +1 -1
  944. package/lib/typescript/components/Attachment/FileAttachment.d.ts.map +1 -1
  945. package/lib/typescript/components/Attachment/FileIcon.d.ts.map +1 -1
  946. package/lib/typescript/components/Attachment/FilePreview.d.ts +1 -1
  947. package/lib/typescript/components/Attachment/FilePreview.d.ts.map +1 -1
  948. package/lib/typescript/components/Attachment/Gallery.d.ts +1 -3
  949. package/lib/typescript/components/Attachment/Gallery.d.ts.map +1 -1
  950. package/lib/typescript/components/Attachment/Giphy/Giphy.d.ts +1 -3
  951. package/lib/typescript/components/Attachment/Giphy/Giphy.d.ts.map +1 -1
  952. package/lib/typescript/components/Attachment/Giphy/GiphyImage.d.ts +2 -6
  953. package/lib/typescript/components/Attachment/Giphy/GiphyImage.d.ts.map +1 -1
  954. package/lib/typescript/components/Attachment/ImageLoadingFailedIndicator.d.ts +1 -4
  955. package/lib/typescript/components/Attachment/ImageLoadingFailedIndicator.d.ts.map +1 -1
  956. package/lib/typescript/components/Attachment/MediaUploadProgressOverlay.d.ts +1 -3
  957. package/lib/typescript/components/Attachment/MediaUploadProgressOverlay.d.ts.map +1 -1
  958. package/lib/typescript/components/Attachment/UnsupportedAttachment.d.ts +1 -1
  959. package/lib/typescript/components/Attachment/UnsupportedAttachment.d.ts.map +1 -1
  960. package/lib/typescript/components/Attachment/UrlPreview/URLPreview.d.ts +1 -3
  961. package/lib/typescript/components/Attachment/UrlPreview/URLPreview.d.ts.map +1 -1
  962. package/lib/typescript/components/Attachment/UrlPreview/URLPreviewCompact.d.ts +1 -3
  963. package/lib/typescript/components/Attachment/UrlPreview/URLPreviewCompact.d.ts.map +1 -1
  964. package/lib/typescript/components/Attachment/VideoThumbnail.d.ts +1 -3
  965. package/lib/typescript/components/Attachment/VideoThumbnail.d.ts.map +1 -1
  966. package/lib/typescript/components/Attachment/utils/buildGallery/buildGallery.d.ts +7 -13
  967. package/lib/typescript/components/Attachment/utils/buildGallery/buildGallery.d.ts.map +1 -1
  968. package/lib/typescript/components/Attachment/utils/buildGallery/buildGalleryOfSingleImage.d.ts.map +1 -1
  969. package/lib/typescript/components/Attachment/utils/buildGallery/buildGalleryOfThreeImages.d.ts.map +1 -1
  970. package/lib/typescript/components/Attachment/utils/buildGallery/buildGalleryOfTwoImages.d.ts.map +1 -1
  971. package/lib/typescript/components/Attachment/utils/buildGallery/buildThumbnailGrid.d.ts +12 -126
  972. package/lib/typescript/components/Attachment/utils/buildGallery/buildThumbnailGrid.d.ts.map +1 -1
  973. package/lib/typescript/components/Attachment/utils/buildGallery/types.d.ts +1 -1
  974. package/lib/typescript/components/Attachment/utils/buildGallery/types.d.ts.map +1 -1
  975. package/lib/typescript/components/Attachment/utils/getAspectRatio.d.ts +4 -3
  976. package/lib/typescript/components/Attachment/utils/getAspectRatio.d.ts.map +1 -1
  977. package/lib/typescript/components/Attachment/utils/getGiphyMimeType.d.ts +3 -2
  978. package/lib/typescript/components/Attachment/utils/getGiphyMimeType.d.ts.map +1 -1
  979. package/lib/typescript/components/AttachmentPicker/AttachmentPicker.d.ts.map +1 -1
  980. package/lib/typescript/components/AttachmentPicker/components/AttachmentMediaPicker/AttachmentMediaPicker.d.ts.map +1 -1
  981. package/lib/typescript/components/AttachmentPicker/components/AttachmentMediaPicker/AttachmentPickerItem.d.ts.map +1 -1
  982. package/lib/typescript/components/AutoCompleteInput/AutoCompleteInput.d.ts +1 -4
  983. package/lib/typescript/components/AutoCompleteInput/AutoCompleteInput.d.ts.map +1 -1
  984. package/lib/typescript/components/AutoCompleteInput/AutoCompleteSuggestionItem.d.ts +2 -4
  985. package/lib/typescript/components/AutoCompleteInput/AutoCompleteSuggestionItem.d.ts.map +1 -1
  986. package/lib/typescript/components/AutoCompleteInput/AutoCompleteSuggestionList.d.ts.map +1 -1
  987. package/lib/typescript/components/AutoCompleteInput/mentionItems/EnhancedMentionContent.d.ts +1 -2
  988. package/lib/typescript/components/AutoCompleteInput/mentionItems/EnhancedMentionContent.d.ts.map +1 -1
  989. package/lib/typescript/components/AutoCompleteInput/mentionItems/EnhancedMentionIcon.d.ts +4 -14
  990. package/lib/typescript/components/AutoCompleteInput/mentionItems/EnhancedMentionIcon.d.ts.map +1 -1
  991. package/lib/typescript/components/AutoCompleteInput/mentionItems/MentionBroadcastItem.d.ts.map +1 -1
  992. package/lib/typescript/components/AutoCompleteInput/mentionItems/MentionItem.d.ts +3 -8
  993. package/lib/typescript/components/AutoCompleteInput/mentionItems/MentionItem.d.ts.map +1 -1
  994. package/lib/typescript/components/AutoCompleteInput/mentionItems/TokenizedSuggestionParts.d.ts +3 -7
  995. package/lib/typescript/components/AutoCompleteInput/mentionItems/TokenizedSuggestionParts.d.ts.map +1 -1
  996. package/lib/typescript/components/Channel/Channel.d.ts +11 -23
  997. package/lib/typescript/components/Channel/Channel.d.ts.map +1 -1
  998. package/lib/typescript/components/Channel/ChannelShell.d.ts +10 -17
  999. package/lib/typescript/components/Channel/ChannelShell.d.ts.map +1 -1
  1000. package/lib/typescript/components/Channel/hooks/useChannelLifecycle.d.ts +11 -5
  1001. package/lib/typescript/components/Channel/hooks/useChannelLifecycle.d.ts.map +1 -1
  1002. package/lib/typescript/components/Channel/hooks/useCreateInputMessageInputContext.d.ts +1 -3
  1003. package/lib/typescript/components/Channel/hooks/useCreateInputMessageInputContext.d.ts.map +1 -1
  1004. package/lib/typescript/components/Channel/hooks/useCreateMessagesContext.d.ts +1 -3
  1005. package/lib/typescript/components/Channel/hooks/useCreateMessagesContext.d.ts.map +1 -1
  1006. package/lib/typescript/components/Channel/hooks/useCreateOwnCapabilitiesContext.d.ts.map +1 -1
  1007. package/lib/typescript/components/Channel/hooks/useSupersededChannelSwap.d.ts +6 -3
  1008. package/lib/typescript/components/Channel/hooks/useSupersededChannelSwap.d.ts.map +1 -1
  1009. package/lib/typescript/components/ChannelDetails/ChannelDetails.d.ts +1 -3
  1010. package/lib/typescript/components/ChannelDetails/ChannelDetails.d.ts.map +1 -1
  1011. package/lib/typescript/components/ChannelDetails/components/ChannelDetailsActionsSection.d.ts +4 -9
  1012. package/lib/typescript/components/ChannelDetails/components/ChannelDetailsActionsSection.d.ts.map +1 -1
  1013. package/lib/typescript/components/ChannelDetails/components/ChannelDetailsEditButton.d.ts +2 -2
  1014. package/lib/typescript/components/ChannelDetails/components/ChannelDetailsEditButton.d.ts.map +1 -1
  1015. package/lib/typescript/components/ChannelDetails/components/ChannelDetailsMemberSection.d.ts +1 -3
  1016. package/lib/typescript/components/ChannelDetails/components/ChannelDetailsMemberSection.d.ts.map +1 -1
  1017. package/lib/typescript/components/ChannelDetails/components/ChannelDetailsNavHeader.d.ts +2 -2
  1018. package/lib/typescript/components/ChannelDetails/components/ChannelDetailsNavHeader.d.ts.map +1 -1
  1019. package/lib/typescript/components/ChannelDetails/components/ChannelDetailsNavigationSection.d.ts +3 -6
  1020. package/lib/typescript/components/ChannelDetails/components/ChannelDetailsNavigationSection.d.ts.map +1 -1
  1021. package/lib/typescript/components/ChannelDetails/components/ChannelEditDetailsForm.d.ts +5 -9
  1022. package/lib/typescript/components/ChannelDetails/components/ChannelEditDetailsForm.d.ts.map +1 -1
  1023. package/lib/typescript/components/ChannelDetails/components/ChannelEditDetailsFormContent.d.ts.map +1 -1
  1024. package/lib/typescript/components/ChannelDetails/components/ChannelEditDetailsFormHeader.d.ts +1 -1
  1025. package/lib/typescript/components/ChannelDetails/components/ChannelEditDetailsFormHeader.d.ts.map +1 -1
  1026. package/lib/typescript/components/ChannelDetails/components/members/ChannelAddMembersButton.d.ts +2 -2
  1027. package/lib/typescript/components/ChannelDetails/components/members/ChannelAddMembersButton.d.ts.map +1 -1
  1028. package/lib/typescript/components/ChannelDetails/components/members/ChannelAddMembersForm.d.ts +4 -9
  1029. package/lib/typescript/components/ChannelDetails/components/members/ChannelAddMembersForm.d.ts.map +1 -1
  1030. package/lib/typescript/components/ChannelDetails/components/members/ChannelAddMembersFormContent.d.ts +1 -6
  1031. package/lib/typescript/components/ChannelDetails/components/members/ChannelAddMembersFormContent.d.ts.map +1 -1
  1032. package/lib/typescript/components/ChannelDetails/components/members/ChannelAddMembersFormHeader.d.ts +1 -1
  1033. package/lib/typescript/components/ChannelDetails/components/members/ChannelAddMembersFormHeader.d.ts.map +1 -1
  1034. package/lib/typescript/components/ChannelDetails/components/members/ChannelMemberActionsSheet.d.ts +2 -5
  1035. package/lib/typescript/components/ChannelDetails/components/members/ChannelMemberActionsSheet.d.ts.map +1 -1
  1036. package/lib/typescript/components/ChannelDetails/components/members/ChannelMemberItem.d.ts +5 -7
  1037. package/lib/typescript/components/ChannelDetails/components/members/ChannelMemberItem.d.ts.map +1 -1
  1038. package/lib/typescript/components/ChannelDetails/components/members/ChannelMemberList.d.ts +3 -14
  1039. package/lib/typescript/components/ChannelDetails/components/members/ChannelMemberList.d.ts.map +1 -1
  1040. package/lib/typescript/components/ChannelDetails/components/navigation-section/FileAttachmentItem.d.ts +3 -7
  1041. package/lib/typescript/components/ChannelDetails/components/navigation-section/FileAttachmentItem.d.ts.map +1 -1
  1042. package/lib/typescript/components/ChannelDetails/components/navigation-section/FileAttachmentList.d.ts +2 -11
  1043. package/lib/typescript/components/ChannelDetails/components/navigation-section/FileAttachmentList.d.ts.map +1 -1
  1044. package/lib/typescript/components/ChannelDetails/components/navigation-section/FileAttachmentListSectionHeader.d.ts +1 -1
  1045. package/lib/typescript/components/ChannelDetails/components/navigation-section/FileAttachmentListSectionHeader.d.ts.map +1 -1
  1046. package/lib/typescript/components/ChannelDetails/components/navigation-section/MediaItem.d.ts +4 -8
  1047. package/lib/typescript/components/ChannelDetails/components/navigation-section/MediaItem.d.ts.map +1 -1
  1048. package/lib/typescript/components/ChannelDetails/components/navigation-section/MediaList.d.ts +2 -11
  1049. package/lib/typescript/components/ChannelDetails/components/navigation-section/MediaList.d.ts.map +1 -1
  1050. package/lib/typescript/components/ChannelDetails/components/navigation-section/MediaListLoadingSkeleton.d.ts +1 -3
  1051. package/lib/typescript/components/ChannelDetails/components/navigation-section/MediaListLoadingSkeleton.d.ts.map +1 -1
  1052. package/lib/typescript/components/ChannelDetails/components/navigation-section/PinnedMessageList.d.ts +2 -11
  1053. package/lib/typescript/components/ChannelDetails/components/navigation-section/PinnedMessageList.d.ts.map +1 -1
  1054. package/lib/typescript/components/ChannelDetails/components/roles/RoleItem.d.ts +4 -4
  1055. package/lib/typescript/components/ChannelDetails/components/roles/RoleItem.d.ts.map +1 -1
  1056. package/lib/typescript/components/ChannelDetails/components/roles/RoleList.d.ts +2 -2
  1057. package/lib/typescript/components/ChannelDetails/hooks/members/useMemberRoles.d.ts +10 -14
  1058. package/lib/typescript/components/ChannelDetails/hooks/members/useMemberRoles.d.ts.map +1 -1
  1059. package/lib/typescript/components/ChannelDetails/hooks/useChannelDetailsMemberStatusText.d.ts +5 -3
  1060. package/lib/typescript/components/ChannelDetails/hooks/useChannelDetailsMemberStatusText.d.ts.map +1 -1
  1061. package/lib/typescript/components/ChannelDetails/hooks/useChannelDetailsNavigationItems.d.ts +15 -22
  1062. package/lib/typescript/components/ChannelDetails/hooks/useChannelDetailsNavigationItems.d.ts.map +1 -1
  1063. package/lib/typescript/components/ChannelDetails/hooks/useEditChannelImage.d.ts +8 -14
  1064. package/lib/typescript/components/ChannelDetails/hooks/useEditChannelImage.d.ts.map +1 -1
  1065. package/lib/typescript/components/ChannelDetails/hooks/useFileAttachmentListSections.d.ts +7 -9
  1066. package/lib/typescript/components/ChannelDetails/hooks/useFileAttachmentListSections.d.ts.map +1 -1
  1067. package/lib/typescript/components/ChannelDetails/hooks/useMediaList.d.ts +7 -5
  1068. package/lib/typescript/components/ChannelDetails/hooks/useMediaList.d.ts.map +1 -1
  1069. package/lib/typescript/components/ChannelDetails/hooks/useUserActivityStatus.d.ts +5 -7
  1070. package/lib/typescript/components/ChannelDetails/hooks/useUserActivityStatus.d.ts.map +1 -1
  1071. package/lib/typescript/components/ChannelList/ChannelList.d.ts +8 -7
  1072. package/lib/typescript/components/ChannelList/ChannelList.d.ts.map +1 -1
  1073. package/lib/typescript/components/ChannelList/ChannelListView.d.ts +9 -27
  1074. package/lib/typescript/components/ChannelList/ChannelListView.d.ts.map +1 -1
  1075. package/lib/typescript/components/ChannelList/hooks/useChannelMembersState.d.ts +16 -7
  1076. package/lib/typescript/components/ChannelList/hooks/useChannelMembersState.d.ts.map +1 -1
  1077. package/lib/typescript/components/ChannelList/hooks/useChannelOnlineMemberCount.d.ts +10 -2
  1078. package/lib/typescript/components/ChannelList/hooks/useChannelOnlineMemberCount.d.ts.map +1 -1
  1079. package/lib/typescript/components/ChannelList/hooks/useMutedChannels.d.ts +4 -1
  1080. package/lib/typescript/components/ChannelList/hooks/useMutedChannels.d.ts.map +1 -1
  1081. package/lib/typescript/components/ChannelList/hooks/useMutedUsers.d.ts +3 -1
  1082. package/lib/typescript/components/ChannelList/hooks/useMutedUsers.d.ts.map +1 -1
  1083. package/lib/typescript/components/ChannelList/hooks/usePaginatedChannels.d.ts.map +1 -1
  1084. package/lib/typescript/components/ChannelPreview/ChannelMessagePreviewDeliveryStatus.d.ts.map +1 -1
  1085. package/lib/typescript/components/ChannelPreview/ChannelPreview.d.ts +1 -3
  1086. package/lib/typescript/components/ChannelPreview/ChannelPreview.d.ts.map +1 -1
  1087. package/lib/typescript/components/ChannelPreview/ChannelPreviewMessage.d.ts.map +1 -1
  1088. package/lib/typescript/components/ChannelPreview/ChannelPreviewMutedStatus.d.ts +1 -3
  1089. package/lib/typescript/components/ChannelPreview/ChannelPreviewMutedStatus.d.ts.map +1 -1
  1090. package/lib/typescript/components/ChannelPreview/ChannelPreviewPinnedStatus.d.ts +1 -3
  1091. package/lib/typescript/components/ChannelPreview/ChannelPreviewPinnedStatus.d.ts.map +1 -1
  1092. package/lib/typescript/components/ChannelPreview/ChannelPreviewTitle.d.ts +1 -3
  1093. package/lib/typescript/components/ChannelPreview/ChannelPreviewTitle.d.ts.map +1 -1
  1094. package/lib/typescript/components/ChannelPreview/ChannelPreviewUnreadCount.d.ts +1 -3
  1095. package/lib/typescript/components/ChannelPreview/ChannelPreviewUnreadCount.d.ts.map +1 -1
  1096. package/lib/typescript/components/ChannelPreview/ChannelPreviewView.d.ts +6 -11
  1097. package/lib/typescript/components/ChannelPreview/ChannelPreviewView.d.ts.map +1 -1
  1098. package/lib/typescript/components/ChannelPreview/hooks/useChannelPreviewData.d.ts.map +1 -1
  1099. package/lib/typescript/components/ChannelPreview/hooks/useChannelPreviewDisplayPresence.d.ts +3 -3
  1100. package/lib/typescript/components/ChannelPreview/hooks/useChannelPreviewDisplayPresence.d.ts.map +1 -1
  1101. package/lib/typescript/components/ChannelPreview/hooks/useChannelPreviewDraftMessage.d.ts +4 -3
  1102. package/lib/typescript/components/ChannelPreview/hooks/useChannelPreviewDraftMessage.d.ts.map +1 -1
  1103. package/lib/typescript/components/ChannelPreview/hooks/useChannelPreviewPollLabel.d.ts +4 -3
  1104. package/lib/typescript/components/ChannelPreview/hooks/useChannelPreviewPollLabel.d.ts.map +1 -1
  1105. package/lib/typescript/components/ChannelPreview/hooks/useChannelTypingState.d.ts +5 -4
  1106. package/lib/typescript/components/ChannelPreview/hooks/useChannelTypingState.d.ts.map +1 -1
  1107. package/lib/typescript/components/ChannelPreview/hooks/useIsChannelMuted.d.ts +4 -2
  1108. package/lib/typescript/components/ChannelPreview/hooks/useIsChannelMuted.d.ts.map +1 -1
  1109. package/lib/typescript/components/Chat/Chat.d.ts +34 -84
  1110. package/lib/typescript/components/Chat/Chat.d.ts.map +1 -1
  1111. package/lib/typescript/components/Chat/hooks/useAppSettingsGetter.d.ts +10 -5
  1112. package/lib/typescript/components/Chat/hooks/useAppSettingsGetter.d.ts.map +1 -1
  1113. package/lib/typescript/components/Chat/hooks/useClientUserId.d.ts +6 -7
  1114. package/lib/typescript/components/Chat/hooks/useClientUserId.d.ts.map +1 -1
  1115. package/lib/typescript/components/Chat/hooks/useConnectionLifecycle.d.ts +13 -23
  1116. package/lib/typescript/components/Chat/hooks/useConnectionLifecycle.d.ts.map +1 -1
  1117. package/lib/typescript/components/Chat/hooks/useCreateChatClient.d.ts +9 -5
  1118. package/lib/typescript/components/Chat/hooks/useCreateChatClient.d.ts.map +1 -1
  1119. package/lib/typescript/components/Chat/hooks/useInitializeOfflineDb.d.ts +15 -13
  1120. package/lib/typescript/components/Chat/hooks/useInitializeOfflineDb.d.ts.map +1 -1
  1121. package/lib/typescript/components/Chat/hooks/useNetworkConnectionState.d.ts +13 -12
  1122. package/lib/typescript/components/Chat/hooks/useNetworkConnectionState.d.ts.map +1 -1
  1123. package/lib/typescript/components/Chat/hooks/usePendingUploadsDefault.d.ts +11 -11
  1124. package/lib/typescript/components/Chat/hooks/usePendingUploadsDefault.d.ts.map +1 -1
  1125. package/lib/typescript/components/Chat/hooks/useWSConnectionState.d.ts +21 -37
  1126. package/lib/typescript/components/Chat/hooks/useWSConnectionState.d.ts.map +1 -1
  1127. package/lib/typescript/components/ImageGallery/ImageGallery.d.ts +6 -1
  1128. package/lib/typescript/components/ImageGallery/ImageGallery.d.ts.map +1 -1
  1129. package/lib/typescript/components/ImageGallery/components/AnimatedGalleryImage.d.ts.map +1 -1
  1130. package/lib/typescript/components/ImageGallery/components/AnimatedGalleryVideo.d.ts.map +1 -1
  1131. package/lib/typescript/components/ImageGallery/components/ImageGalleryA11yProbe.d.ts +5 -8
  1132. package/lib/typescript/components/ImageGallery/components/ImageGalleryA11yProbe.d.ts.map +1 -1
  1133. package/lib/typescript/components/ImageGallery/components/ImageGalleryFooter.d.ts.map +1 -1
  1134. package/lib/typescript/components/ImageGallery/components/ImageGalleryHeader.d.ts.map +1 -1
  1135. package/lib/typescript/components/ImageGallery/components/ImageGalleryVideoControl.d.ts.map +1 -1
  1136. package/lib/typescript/components/ImageGallery/hooks/useAnimatedGalleryStyle.d.ts +3 -3
  1137. package/lib/typescript/components/ImageGallery/hooks/useAnimatedGalleryStyle.d.ts.map +1 -1
  1138. package/lib/typescript/components/ImageGallery/hooks/useCurrentImageHeight.d.ts +6 -11
  1139. package/lib/typescript/components/ImageGallery/hooks/useCurrentImageHeight.d.ts.map +1 -1
  1140. package/lib/typescript/components/ImageGallery/hooks/useImageGalleryGestures.d.ts +6 -1
  1141. package/lib/typescript/components/ImageGallery/hooks/useImageGalleryGestures.d.ts.map +1 -1
  1142. package/lib/typescript/components/ImageGallery/hooks/useImageGalleryVideoPlayer.d.ts +4 -2
  1143. package/lib/typescript/components/ImageGallery/hooks/useImageGalleryVideoPlayer.d.ts.map +1 -1
  1144. package/lib/typescript/components/Indicators/LoadingIndicator.d.ts +1 -3
  1145. package/lib/typescript/components/Indicators/LoadingIndicator.d.ts.map +1 -1
  1146. package/lib/typescript/components/KeyboardCompatibleView/KeyboardCompatibleView.d.ts +2 -4
  1147. package/lib/typescript/components/KeyboardCompatibleView/KeyboardCompatibleView.d.ts.map +1 -1
  1148. package/lib/typescript/components/Message/Message.d.ts +9 -29
  1149. package/lib/typescript/components/Message/Message.d.ts.map +1 -1
  1150. package/lib/typescript/components/Message/MessageItemView/Headers/SentToChannelHeader.d.ts +2 -5
  1151. package/lib/typescript/components/Message/MessageItemView/Headers/SentToChannelHeader.d.ts.map +1 -1
  1152. package/lib/typescript/components/Message/MessageItemView/MessageBlocked.d.ts +2 -6
  1153. package/lib/typescript/components/Message/MessageItemView/MessageBlocked.d.ts.map +1 -1
  1154. package/lib/typescript/components/Message/MessageItemView/MessageContent.d.ts +6 -18
  1155. package/lib/typescript/components/Message/MessageItemView/MessageContent.d.ts.map +1 -1
  1156. package/lib/typescript/components/Message/MessageItemView/MessageFooter.d.ts.map +1 -1
  1157. package/lib/typescript/components/Message/MessageItemView/MessageItemView.d.ts +1 -4
  1158. package/lib/typescript/components/Message/MessageItemView/MessageItemView.d.ts.map +1 -1
  1159. package/lib/typescript/components/Message/MessageItemView/MessageTextContainer.d.ts.map +1 -1
  1160. package/lib/typescript/components/Message/MessageItemView/MessageTimestamp.d.ts +3 -6
  1161. package/lib/typescript/components/Message/MessageItemView/MessageTimestamp.d.ts.map +1 -1
  1162. package/lib/typescript/components/Message/MessageItemView/MessageWrapper.d.ts.map +1 -1
  1163. package/lib/typescript/components/Message/MessageItemView/ReactionList/ReactionListTop.d.ts +1 -3
  1164. package/lib/typescript/components/Message/MessageItemView/ReactionList/ReactionListTop.d.ts.map +1 -1
  1165. package/lib/typescript/components/Message/MessageItemView/utils/generateMarkdownText.d.ts.map +1 -1
  1166. package/lib/typescript/components/Message/MessageItemView/utils/parseLinks.d.ts.map +1 -1
  1167. package/lib/typescript/components/Message/MessageItemView/utils/renderText.d.ts +2 -5
  1168. package/lib/typescript/components/Message/MessageItemView/utils/renderText.d.ts.map +1 -1
  1169. package/lib/typescript/components/Message/MessageOverlayWrapper.d.ts +3 -5
  1170. package/lib/typescript/components/Message/MessageOverlayWrapper.d.ts.map +1 -1
  1171. package/lib/typescript/components/Message/hooks/useCreateMessageActionHandlers.d.ts +11 -0
  1172. package/lib/typescript/components/Message/hooks/useCreateMessageActionHandlers.d.ts.map +1 -1
  1173. package/lib/typescript/components/Message/hooks/useCreateMessageContext.d.ts.map +1 -1
  1174. package/lib/typescript/components/Message/hooks/useIsMessageDeliveredToOthers.d.ts +7 -6
  1175. package/lib/typescript/components/Message/hooks/useIsMessageDeliveredToOthers.d.ts.map +1 -1
  1176. package/lib/typescript/components/Message/hooks/useIsMessageReadByOthers.d.ts +8 -9
  1177. package/lib/typescript/components/Message/hooks/useIsMessageReadByOthers.d.ts.map +1 -1
  1178. package/lib/typescript/components/Message/hooks/useMessageActionHandlers.d.ts +3 -1
  1179. package/lib/typescript/components/Message/hooks/useMessageActionHandlers.d.ts.map +1 -1
  1180. package/lib/typescript/components/Message/hooks/useMessageActions.d.ts +5 -3
  1181. package/lib/typescript/components/Message/hooks/useMessageActions.d.ts.map +1 -1
  1182. package/lib/typescript/components/Message/hooks/useMessageOperations.d.ts +6 -6
  1183. package/lib/typescript/components/Message/hooks/useMessageOperations.d.ts.map +1 -1
  1184. package/lib/typescript/components/Message/hooks/useProcessReactions.d.ts +8 -4
  1185. package/lib/typescript/components/Message/hooks/useProcessReactions.d.ts.map +1 -1
  1186. package/lib/typescript/components/Message/hooks/useStreamingMessage.d.ts +7 -6
  1187. package/lib/typescript/components/Message/hooks/useStreamingMessage.d.ts.map +1 -1
  1188. package/lib/typescript/components/Message/hooks/useUserMuteActive.d.ts +9 -1
  1189. package/lib/typescript/components/Message/hooks/useUserMuteActive.d.ts.map +1 -1
  1190. package/lib/typescript/components/Message/utils/measureInWindow.d.ts +10 -5
  1191. package/lib/typescript/components/Message/utils/measureInWindow.d.ts.map +1 -1
  1192. package/lib/typescript/components/Message/utils/messageActions.d.ts.map +1 -1
  1193. package/lib/typescript/components/MessageInput/MessageComposer.d.ts +1 -9
  1194. package/lib/typescript/components/MessageInput/MessageComposer.d.ts.map +1 -1
  1195. package/lib/typescript/components/MessageInput/StopMessageStreamingButton.d.ts +1 -1
  1196. package/lib/typescript/components/MessageInput/StopMessageStreamingButton.d.ts.map +1 -1
  1197. package/lib/typescript/components/MessageInput/components/AttachmentPreview/AttachmentUploadPreviewList.d.ts +1 -4
  1198. package/lib/typescript/components/MessageInput/components/AttachmentPreview/AttachmentUploadPreviewList.d.ts.map +1 -1
  1199. package/lib/typescript/components/MessageInput/components/AudioRecorder/AudioRecorder.d.ts +2 -6
  1200. package/lib/typescript/components/MessageInput/components/AudioRecorder/AudioRecorder.d.ts.map +1 -1
  1201. package/lib/typescript/components/MessageInput/components/AudioRecorder/AudioRecordingButton.d.ts +4 -12
  1202. package/lib/typescript/components/MessageInput/components/AudioRecorder/AudioRecordingButton.d.ts.map +1 -1
  1203. package/lib/typescript/components/MessageInput/components/AudioRecorder/AudioRecordingInProgress.d.ts +2 -6
  1204. package/lib/typescript/components/MessageInput/components/AudioRecorder/AudioRecordingInProgress.d.ts.map +1 -1
  1205. package/lib/typescript/components/MessageInput/components/AudioRecorder/AudioRecordingLockIndicator.d.ts +3 -9
  1206. package/lib/typescript/components/MessageInput/components/AudioRecorder/AudioRecordingLockIndicator.d.ts.map +1 -1
  1207. package/lib/typescript/components/MessageInput/components/AudioRecorder/AudioRecordingPreview.d.ts +1 -3
  1208. package/lib/typescript/components/MessageInput/components/AudioRecorder/AudioRecordingPreview.d.ts.map +1 -1
  1209. package/lib/typescript/components/MessageInput/components/AudioRecorder/AudioRecordingWaveform.d.ts +2 -6
  1210. package/lib/typescript/components/MessageInput/components/AudioRecorder/AudioRecordingWaveform.d.ts.map +1 -1
  1211. package/lib/typescript/components/MessageInput/components/InputButtons/AttachButton.d.ts +2 -4
  1212. package/lib/typescript/components/MessageInput/components/InputButtons/AttachButton.d.ts.map +1 -1
  1213. package/lib/typescript/components/MessageInput/components/OutputButtons/CooldownTimer.d.ts +1 -3
  1214. package/lib/typescript/components/MessageInput/components/OutputButtons/CooldownTimer.d.ts.map +1 -1
  1215. package/lib/typescript/components/MessageInput/hooks/useAudioRecorder.d.ts +6 -1
  1216. package/lib/typescript/components/MessageInput/hooks/useAudioRecorder.d.ts.map +1 -1
  1217. package/lib/typescript/components/MessageInput/hooks/useCooldownRemaining.d.ts +3 -3
  1218. package/lib/typescript/components/MessageInput/utils/audioSampling.d.ts +6 -4
  1219. package/lib/typescript/components/MessageInput/utils/audioSampling.d.ts.map +1 -1
  1220. package/lib/typescript/components/MessageInput/utils/normalizeAudioLevel.d.ts +5 -1
  1221. package/lib/typescript/components/MessageInput/utils/normalizeAudioLevel.d.ts.map +1 -1
  1222. package/lib/typescript/components/MessageList/InlineDateSeparator.d.ts +1 -6
  1223. package/lib/typescript/components/MessageList/InlineDateSeparator.d.ts.map +1 -1
  1224. package/lib/typescript/components/MessageList/MessageFlashList.d.ts +17 -49
  1225. package/lib/typescript/components/MessageList/MessageFlashList.d.ts.map +1 -1
  1226. package/lib/typescript/components/MessageList/MessageList.d.ts +15 -44
  1227. package/lib/typescript/components/MessageList/MessageList.d.ts.map +1 -1
  1228. package/lib/typescript/components/MessageList/MessageSystem.d.ts +3 -9
  1229. package/lib/typescript/components/MessageList/MessageSystem.d.ts.map +1 -1
  1230. package/lib/typescript/components/MessageList/ScrollToBottomButton.d.ts +2 -2
  1231. package/lib/typescript/components/MessageList/ScrollToBottomButton.d.ts.map +1 -1
  1232. package/lib/typescript/components/MessageList/StickyHeader.d.ts +2 -9
  1233. package/lib/typescript/components/MessageList/StickyHeader.d.ts.map +1 -1
  1234. package/lib/typescript/components/MessageList/UnreadMessagesNotification.d.ts +2 -6
  1235. package/lib/typescript/components/MessageList/UnreadMessagesNotification.d.ts.map +1 -1
  1236. package/lib/typescript/components/MessageList/hooks/useMarkRead.d.ts +8 -9
  1237. package/lib/typescript/components/MessageList/hooks/useMarkRead.d.ts.map +1 -1
  1238. package/lib/typescript/components/MessageList/hooks/useMessageDateSeparator.d.ts +6 -1
  1239. package/lib/typescript/components/MessageList/hooks/useMessageDateSeparator.d.ts.map +1 -1
  1240. package/lib/typescript/components/MessageList/hooks/useMessageGroupStyles.d.ts +10 -1
  1241. package/lib/typescript/components/MessageList/hooks/useMessageGroupStyles.d.ts.map +1 -1
  1242. package/lib/typescript/components/MessageList/hooks/useMessageList.d.ts +1 -4
  1243. package/lib/typescript/components/MessageList/hooks/useMessageList.d.ts.map +1 -1
  1244. package/lib/typescript/components/MessageList/hooks/useMessageListFocus.d.ts +8 -6
  1245. package/lib/typescript/components/MessageList/hooks/useMessageListFocus.d.ts.map +1 -1
  1246. package/lib/typescript/components/MessageList/hooks/useMessageListLiveState.d.ts +6 -1
  1247. package/lib/typescript/components/MessageList/hooks/useMessageListLiveState.d.ts.map +1 -1
  1248. package/lib/typescript/components/MessageList/hooks/useMessageListPagination.d.ts +7 -4
  1249. package/lib/typescript/components/MessageList/hooks/useMessageListPagination.d.ts.map +1 -1
  1250. package/lib/typescript/components/MessageList/hooks/useOwnUnreadCount.d.ts +3 -0
  1251. package/lib/typescript/components/MessageList/hooks/useOwnUnreadCount.d.ts.map +1 -1
  1252. package/lib/typescript/components/MessageList/hooks/useScrollToBottomAccessibilityAction.d.ts +3 -4
  1253. package/lib/typescript/components/MessageList/hooks/useScrollToBottomAccessibilityAction.d.ts.map +1 -1
  1254. package/lib/typescript/components/MessageList/hooks/useStickyHeaderDate.d.ts +4 -2
  1255. package/lib/typescript/components/MessageList/hooks/useStickyHeaderDate.d.ts.map +1 -1
  1256. package/lib/typescript/components/MessageList/hooks/useTypingString.d.ts.map +1 -1
  1257. package/lib/typescript/components/MessageList/hooks/useTypingUsers.d.ts +12 -7
  1258. package/lib/typescript/components/MessageList/hooks/useTypingUsers.d.ts.map +1 -1
  1259. package/lib/typescript/components/MessageList/hooks/useUnreadNotificationVisibility.d.ts +10 -2
  1260. package/lib/typescript/components/MessageList/hooks/useUnreadNotificationVisibility.d.ts.map +1 -1
  1261. package/lib/typescript/components/MessageList/utils/buildMessageListWithNeighbours.d.ts +7 -3
  1262. package/lib/typescript/components/MessageList/utils/buildMessageListWithNeighbours.d.ts.map +1 -1
  1263. package/lib/typescript/components/MessageList/utils/getGroupStyles.d.ts +9 -1
  1264. package/lib/typescript/components/MessageList/utils/getGroupStyles.d.ts.map +1 -1
  1265. package/lib/typescript/components/MessageMenu/EmojiPickerList.d.ts.map +1 -1
  1266. package/lib/typescript/components/MessageMenu/MessageActionList.d.ts +1 -8
  1267. package/lib/typescript/components/MessageMenu/MessageActionList.d.ts.map +1 -1
  1268. package/lib/typescript/components/MessageMenu/MessageActionListItem.d.ts +6 -19
  1269. package/lib/typescript/components/MessageMenu/MessageActionListItem.d.ts.map +1 -1
  1270. package/lib/typescript/components/MessageMenu/MessageActionListWithActions.d.ts +2 -2
  1271. package/lib/typescript/components/MessageMenu/MessageReactionPicker.d.ts +1 -3
  1272. package/lib/typescript/components/MessageMenu/MessageReactionPicker.d.ts.map +1 -1
  1273. package/lib/typescript/components/MessageMenu/MessageUserReactions.d.ts +2 -6
  1274. package/lib/typescript/components/MessageMenu/MessageUserReactions.d.ts.map +1 -1
  1275. package/lib/typescript/components/MessageMenu/MessageUserReactionsAvatar.d.ts +1 -3
  1276. package/lib/typescript/components/MessageMenu/MessageUserReactionsAvatar.d.ts.map +1 -1
  1277. package/lib/typescript/components/MessageMenu/MessageUserReactionsItem.d.ts +2 -6
  1278. package/lib/typescript/components/MessageMenu/MessageUserReactionsItem.d.ts.map +1 -1
  1279. package/lib/typescript/components/MessageMenu/ReactionButton.d.ts +6 -12
  1280. package/lib/typescript/components/MessageMenu/ReactionButton.d.ts.map +1 -1
  1281. package/lib/typescript/components/Notifications/Notification.d.ts +8 -3
  1282. package/lib/typescript/components/Notifications/Notification.d.ts.map +1 -1
  1283. package/lib/typescript/components/Notifications/NotificationList.d.ts +1 -1
  1284. package/lib/typescript/components/Notifications/NotificationList.d.ts.map +1 -1
  1285. package/lib/typescript/components/Notifications/NotificationTargetContext.d.ts +12 -2
  1286. package/lib/typescript/components/Notifications/NotificationTargetContext.d.ts.map +1 -1
  1287. package/lib/typescript/components/Notifications/hooks/useNotificationApi.d.ts +13 -4
  1288. package/lib/typescript/components/Notifications/hooks/useNotificationApi.d.ts.map +1 -1
  1289. package/lib/typescript/components/Notifications/hooks/useNotifications.d.ts +8 -1
  1290. package/lib/typescript/components/Notifications/hooks/useNotifications.d.ts.map +1 -1
  1291. package/lib/typescript/components/Notifications/hooks/useSystemNotifications.d.ts +6 -1
  1292. package/lib/typescript/components/Notifications/hooks/useSystemNotifications.d.ts.map +1 -1
  1293. package/lib/typescript/components/Notifications/notificationFilters.d.ts +6 -5
  1294. package/lib/typescript/components/Notifications/notificationFilters.d.ts.map +1 -1
  1295. package/lib/typescript/components/Notifications/notificationTarget.d.ts +126 -20
  1296. package/lib/typescript/components/Notifications/notificationTarget.d.ts.map +1 -1
  1297. package/lib/typescript/components/Notifications/notificationTranslations.d.ts.map +1 -1
  1298. package/lib/typescript/components/Poll/CreatePollContent.d.ts.map +1 -1
  1299. package/lib/typescript/components/Poll/components/Button.d.ts +2 -2
  1300. package/lib/typescript/components/Poll/components/CreatePollHeader.d.ts +2 -8
  1301. package/lib/typescript/components/Poll/components/CreatePollHeader.d.ts.map +1 -1
  1302. package/lib/typescript/components/Poll/components/CreatePollOptions.d.ts +2 -2
  1303. package/lib/typescript/components/Poll/components/CreatePollOptions.d.ts.map +1 -1
  1304. package/lib/typescript/components/Poll/components/MultipleVotesSettings.d.ts.map +1 -1
  1305. package/lib/typescript/components/Poll/hook/useIsPollCreatedByCurrentUser.d.ts +3 -2
  1306. package/lib/typescript/components/Poll/hook/useIsPollCreatedByCurrentUser.d.ts.map +1 -1
  1307. package/lib/typescript/components/Poll/hooks/useEndVote.d.ts +4 -3
  1308. package/lib/typescript/components/Poll/hooks/useEndVote.d.ts.map +1 -1
  1309. package/lib/typescript/components/Poll/hooks/usePollAnswersPagination.d.ts +6 -12
  1310. package/lib/typescript/components/Poll/hooks/usePollAnswersPagination.d.ts.map +1 -1
  1311. package/lib/typescript/components/Poll/hooks/usePollOptionVotesPagination.d.ts +7 -14
  1312. package/lib/typescript/components/Poll/hooks/usePollOptionVotesPagination.d.ts.map +1 -1
  1313. package/lib/typescript/components/Poll/hooks/usePollVoteToggle.d.ts +5 -4
  1314. package/lib/typescript/components/Poll/hooks/usePollVoteToggle.d.ts.map +1 -1
  1315. package/lib/typescript/components/Poll/index.d.ts.map +1 -1
  1316. package/lib/typescript/components/ProgressControl/ProgressBar.d.ts.map +1 -1
  1317. package/lib/typescript/components/ProgressControl/ProgressControl.d.ts +6 -25
  1318. package/lib/typescript/components/ProgressControl/ProgressControl.d.ts.map +1 -1
  1319. package/lib/typescript/components/ProgressControl/ProgressThumb.d.ts +2 -6
  1320. package/lib/typescript/components/ProgressControl/ProgressThumb.d.ts.map +1 -1
  1321. package/lib/typescript/components/ProgressControl/StableDurationLabel.d.ts +2 -4
  1322. package/lib/typescript/components/ProgressControl/StableDurationLabel.d.ts.map +1 -1
  1323. package/lib/typescript/components/ProgressControl/WaveProgressBar.d.ts +7 -21
  1324. package/lib/typescript/components/ProgressControl/WaveProgressBar.d.ts.map +1 -1
  1325. package/lib/typescript/components/Reply/Reply.d.ts.map +1 -1
  1326. package/lib/typescript/components/Thread/Thread.d.ts +3 -5
  1327. package/lib/typescript/components/Thread/Thread.d.ts.map +1 -1
  1328. package/lib/typescript/components/Thread/components/ThreadFooterComponent.d.ts +1 -3
  1329. package/lib/typescript/components/Thread/components/ThreadFooterComponent.d.ts.map +1 -1
  1330. package/lib/typescript/components/ThreadList/ThreadMessagePreviewDeliveryStatus.d.ts.map +1 -1
  1331. package/lib/typescript/components/UIComponents/BottomSheetModal.d.ts +5 -18
  1332. package/lib/typescript/components/UIComponents/BottomSheetModal.d.ts.map +1 -1
  1333. package/lib/typescript/components/UIComponents/ClippingFadeBottom.d.ts +3 -10
  1334. package/lib/typescript/components/UIComponents/ClippingFadeBottom.d.ts.map +1 -1
  1335. package/lib/typescript/components/UIComponents/EmptyList.d.ts +3 -9
  1336. package/lib/typescript/components/UIComponents/EmptyList.d.ts.map +1 -1
  1337. package/lib/typescript/components/UIComponents/ImageBackground.d.ts +3 -24
  1338. package/lib/typescript/components/UIComponents/ImageBackground.d.ts.map +1 -1
  1339. package/lib/typescript/components/UIComponents/PortalWhileClosingView.d.ts +11 -35
  1340. package/lib/typescript/components/UIComponents/PortalWhileClosingView.d.ts.map +1 -1
  1341. package/lib/typescript/components/UIComponents/SafeAreaViewWrapper.d.ts +5 -8
  1342. package/lib/typescript/components/UIComponents/SafeAreaViewWrapper.d.ts.map +1 -1
  1343. package/lib/typescript/components/UIComponents/SvgAwareImage.d.ts +2 -5
  1344. package/lib/typescript/components/UIComponents/SvgAwareImage.d.ts.map +1 -1
  1345. package/lib/typescript/components/index.d.ts +0 -3
  1346. package/lib/typescript/components/index.d.ts.map +1 -1
  1347. package/lib/typescript/components/ui/Avatar/Avatar.d.ts +2 -9
  1348. package/lib/typescript/components/ui/Avatar/Avatar.d.ts.map +1 -1
  1349. package/lib/typescript/components/ui/Avatar/AvatarGroup.d.ts +4 -12
  1350. package/lib/typescript/components/ui/Avatar/AvatarGroup.d.ts.map +1 -1
  1351. package/lib/typescript/components/ui/Avatar/ChannelAvatar.d.ts +2 -9
  1352. package/lib/typescript/components/ui/Avatar/ChannelAvatar.d.ts.map +1 -1
  1353. package/lib/typescript/components/ui/Badge/BadgeNotification.d.ts +1 -4
  1354. package/lib/typescript/components/ui/Badge/BadgeNotification.d.ts.map +1 -1
  1355. package/lib/typescript/components/ui/Button/Button.d.ts +11 -34
  1356. package/lib/typescript/components/ui/Button/Button.d.ts.map +1 -1
  1357. package/lib/typescript/components/ui/Button/hooks/useButtonStyles.d.ts +5 -4
  1358. package/lib/typescript/components/ui/Button/hooks/useButtonStyles.d.ts.map +1 -1
  1359. package/lib/typescript/components/ui/GiphyChip.d.ts.map +1 -1
  1360. package/lib/typescript/components/ui/SpeedSettingsButton.d.ts +3 -9
  1361. package/lib/typescript/components/ui/SpeedSettingsButton.d.ts.map +1 -1
  1362. package/lib/typescript/contexts/accessibilityContext/AccessibilityContext.d.ts +21 -25
  1363. package/lib/typescript/contexts/accessibilityContext/AccessibilityContext.d.ts.map +1 -1
  1364. package/lib/typescript/contexts/attachmentPickerContext/AttachmentPickerContext.d.ts +7 -12
  1365. package/lib/typescript/contexts/attachmentPickerContext/AttachmentPickerContext.d.ts.map +1 -1
  1366. package/lib/typescript/contexts/bottomSheetContext/BottomSheetContext.d.ts +7 -18
  1367. package/lib/typescript/contexts/bottomSheetContext/BottomSheetContext.d.ts.map +1 -1
  1368. package/lib/typescript/contexts/channelAddMembersContext/ChannelAddMembersContext.d.ts +4 -12
  1369. package/lib/typescript/contexts/channelAddMembersContext/ChannelAddMembersContext.d.ts.map +1 -1
  1370. package/lib/typescript/contexts/channelContext/ChannelContext.d.ts +7 -35
  1371. package/lib/typescript/contexts/channelContext/ChannelContext.d.ts.map +1 -1
  1372. package/lib/typescript/contexts/channelDetailsContext/channelDetailsContext.d.ts +1 -3
  1373. package/lib/typescript/contexts/channelDetailsContext/channelDetailsContext.d.ts.map +1 -1
  1374. package/lib/typescript/contexts/channelEditDetailsContext/ChannelEditDetailsContext.d.ts +9 -22
  1375. package/lib/typescript/contexts/channelEditDetailsContext/ChannelEditDetailsContext.d.ts.map +1 -1
  1376. package/lib/typescript/contexts/channelsContext/ChannelsContext.d.ts +14 -38
  1377. package/lib/typescript/contexts/channelsContext/ChannelsContext.d.ts.map +1 -1
  1378. package/lib/typescript/contexts/chatConfigContext/ChatConfigContext.d.ts +1 -3
  1379. package/lib/typescript/contexts/chatConfigContext/ChatConfigContext.d.ts.map +1 -1
  1380. package/lib/typescript/contexts/chatContext/ChatContext.d.ts +2 -2
  1381. package/lib/typescript/contexts/componentsContext/ComponentsContext.d.ts +9 -15
  1382. package/lib/typescript/contexts/componentsContext/ComponentsContext.d.ts.map +1 -1
  1383. package/lib/typescript/contexts/componentsContext/defaultComponents.d.ts +6 -26
  1384. package/lib/typescript/contexts/componentsContext/defaultComponents.d.ts.map +1 -1
  1385. package/lib/typescript/contexts/liveLocationManagerContext/LiveLocationManagerContext.d.ts.map +1 -1
  1386. package/lib/typescript/contexts/liveLocationManagerContext/hooks/useHandleLiveLocationEvents.d.ts +10 -11
  1387. package/lib/typescript/contexts/liveLocationManagerContext/hooks/useHandleLiveLocationEvents.d.ts.map +1 -1
  1388. package/lib/typescript/contexts/messageComposerContext/MessageComposerContext.d.ts +1 -3
  1389. package/lib/typescript/contexts/messageComposerContext/MessageComposerContext.d.ts.map +1 -1
  1390. package/lib/typescript/contexts/messageContext/MessageContext.d.ts +44 -65
  1391. package/lib/typescript/contexts/messageContext/MessageContext.d.ts.map +1 -1
  1392. package/lib/typescript/contexts/messageInputContext/MessageInputContext.d.ts +26 -51
  1393. package/lib/typescript/contexts/messageInputContext/MessageInputContext.d.ts.map +1 -1
  1394. package/lib/typescript/contexts/messageInputContext/hooks/useMessageComposer.d.ts +2 -0
  1395. package/lib/typescript/contexts/messageInputContext/hooks/useMessageComposer.d.ts.map +1 -1
  1396. package/lib/typescript/contexts/messageInputContext/hooks/usePendingUploadsEnabled.d.ts +5 -3
  1397. package/lib/typescript/contexts/messageInputContext/hooks/usePendingUploadsEnabled.d.ts.map +1 -1
  1398. package/lib/typescript/contexts/messageListItemContext/MessageListItemContext.d.ts +6 -11
  1399. package/lib/typescript/contexts/messageListItemContext/MessageListItemContext.d.ts.map +1 -1
  1400. package/lib/typescript/contexts/messagesContext/MessagesContext.d.ts +56 -190
  1401. package/lib/typescript/contexts/messagesContext/MessagesContext.d.ts.map +1 -1
  1402. package/lib/typescript/contexts/overlayContext/ClosingPortalHostsLayer.d.ts +2 -7
  1403. package/lib/typescript/contexts/overlayContext/ClosingPortalHostsLayer.d.ts.map +1 -1
  1404. package/lib/typescript/contexts/overlayContext/MessageOverlayHostLayer.d.ts +1 -4
  1405. package/lib/typescript/contexts/overlayContext/MessageOverlayHostLayer.d.ts.map +1 -1
  1406. package/lib/typescript/contexts/overlayContext/OverlayContext.d.ts +3 -4
  1407. package/lib/typescript/contexts/overlayContext/OverlayContext.d.ts.map +1 -1
  1408. package/lib/typescript/contexts/overlayContext/OverlayHostLayerContext.d.ts +1 -1
  1409. package/lib/typescript/contexts/overlayContext/OverlayProvider.d.ts +2 -16
  1410. package/lib/typescript/contexts/overlayContext/OverlayProvider.d.ts.map +1 -1
  1411. package/lib/typescript/contexts/pollContext/createPollContentContext.d.ts +1 -5
  1412. package/lib/typescript/contexts/pollContext/createPollContentContext.d.ts.map +1 -1
  1413. package/lib/typescript/contexts/screenReaderContext/ScreenReaderContext.d.ts +3 -7
  1414. package/lib/typescript/contexts/screenReaderContext/ScreenReaderContext.d.ts.map +1 -1
  1415. package/lib/typescript/contexts/swipeableContext/SwipeRegistryContext.d.ts.map +1 -1
  1416. package/lib/typescript/contexts/themeContext/ThemeContext.d.ts +3 -5
  1417. package/lib/typescript/contexts/themeContext/ThemeContext.d.ts.map +1 -1
  1418. package/lib/typescript/contexts/themeContext/utils/theme.d.ts.map +1 -1
  1419. package/lib/typescript/contexts/threadContext/ThreadContext.d.ts +3 -5
  1420. package/lib/typescript/contexts/threadContext/ThreadContext.d.ts.map +1 -1
  1421. package/lib/typescript/contexts/translationContext/TranslationContext.d.ts +3 -7
  1422. package/lib/typescript/contexts/translationContext/TranslationContext.d.ts.map +1 -1
  1423. package/lib/typescript/contexts/translationContext/types.d.ts +5 -14
  1424. package/lib/typescript/contexts/translationContext/types.d.ts.map +1 -1
  1425. package/lib/typescript/hooks/actions/useChannelActionItems.d.ts +9 -24
  1426. package/lib/typescript/hooks/actions/useChannelActionItems.d.ts.map +1 -1
  1427. package/lib/typescript/hooks/actions/useChannelMemberActionItems.d.ts.map +1 -1
  1428. package/lib/typescript/hooks/messagePreview/useGroupedAttachments.d.ts +4 -3
  1429. package/lib/typescript/hooks/messagePreview/useGroupedAttachments.d.ts.map +1 -1
  1430. package/lib/typescript/hooks/messagePreview/useMessageDeliveryStatus.d.ts +8 -5
  1431. package/lib/typescript/hooks/messagePreview/useMessageDeliveryStatus.d.ts.map +1 -1
  1432. package/lib/typescript/hooks/messagePreview/useMessagePreviewText.d.ts.map +1 -1
  1433. package/lib/typescript/hooks/useAfterKeyboardOpenCallback.d.ts +4 -4
  1434. package/lib/typescript/hooks/useAppStateListener.d.ts.map +1 -1
  1435. package/lib/typescript/hooks/useAttachmentPickerBottomSheet.d.ts +4 -5
  1436. package/lib/typescript/hooks/useAttachmentPickerBottomSheet.d.ts.map +1 -1
  1437. package/lib/typescript/hooks/useAudioPlayer.d.ts +3 -10
  1438. package/lib/typescript/hooks/useAudioPlayer.d.ts.map +1 -1
  1439. package/lib/typescript/hooks/useCanAddMembersToChannel.d.ts +3 -0
  1440. package/lib/typescript/hooks/useCanAddMembersToChannel.d.ts.map +1 -1
  1441. package/lib/typescript/hooks/useCanEditChannel.d.ts +4 -1
  1442. package/lib/typescript/hooks/useCanEditChannel.d.ts.map +1 -1
  1443. package/lib/typescript/hooks/useChannel.d.ts +4 -5
  1444. package/lib/typescript/hooks/useChannel.d.ts.map +1 -1
  1445. package/lib/typescript/hooks/useChannelImage.d.ts +5 -1
  1446. package/lib/typescript/hooks/useChannelImage.d.ts.map +1 -1
  1447. package/lib/typescript/hooks/useChannelMemberCount.d.ts +5 -1
  1448. package/lib/typescript/hooks/useChannelMemberCount.d.ts.map +1 -1
  1449. package/lib/typescript/hooks/useChannelMembershipState.d.ts +5 -1
  1450. package/lib/typescript/hooks/useChannelMembershipState.d.ts.map +1 -1
  1451. package/lib/typescript/hooks/useChannelName.d.ts +5 -1
  1452. package/lib/typescript/hooks/useChannelName.d.ts.map +1 -1
  1453. package/lib/typescript/hooks/useChannelOwnCapabilities.d.ts +4 -2
  1454. package/lib/typescript/hooks/useChannelOwnCapabilities.d.ts.map +1 -1
  1455. package/lib/typescript/hooks/useClientNotifications.d.ts +3 -3
  1456. package/lib/typescript/hooks/useHorizontalInsets.d.ts +10 -16
  1457. package/lib/typescript/hooks/useHorizontalInsets.d.ts.map +1 -1
  1458. package/lib/typescript/hooks/useIsChannelMember.d.ts +5 -1
  1459. package/lib/typescript/hooks/useIsChannelMember.d.ts.map +1 -1
  1460. package/lib/typescript/hooks/useIsMountedRef.d.ts +6 -7
  1461. package/lib/typescript/hooks/useIsMountedRef.d.ts.map +1 -1
  1462. package/lib/typescript/hooks/useIsSvg.d.ts +9 -8
  1463. package/lib/typescript/hooks/useIsSvg.d.ts.map +1 -1
  1464. package/lib/typescript/hooks/useIsTargetedMessage.d.ts +7 -7
  1465. package/lib/typescript/hooks/useKeyboardVisibility.d.ts +3 -2
  1466. package/lib/typescript/hooks/useKeyboardVisibility.d.ts.map +1 -1
  1467. package/lib/typescript/hooks/useLazyRef.d.ts +4 -2
  1468. package/lib/typescript/hooks/useLazyRef.d.ts.map +1 -1
  1469. package/lib/typescript/hooks/useMessagePaginator.d.ts +4 -2
  1470. package/lib/typescript/hooks/useMessagePaginator.d.ts.map +1 -1
  1471. package/lib/typescript/hooks/usePendingAttachmentUpload.d.ts +8 -4
  1472. package/lib/typescript/hooks/usePendingAttachmentUpload.d.ts.map +1 -1
  1473. package/lib/typescript/hooks/usePortalSettledCallback.d.ts +10 -26
  1474. package/lib/typescript/hooks/usePortalSettledCallback.d.ts.map +1 -1
  1475. package/lib/typescript/hooks/usePrunableMessageList.d.ts +9 -9
  1476. package/lib/typescript/hooks/usePrunableMessageList.d.ts.map +1 -1
  1477. package/lib/typescript/hooks/useQueryReminders.d.ts +2 -4
  1478. package/lib/typescript/hooks/useQueryReminders.d.ts.map +1 -1
  1479. package/lib/typescript/hooks/useRAFCoalescedValue.d.ts +11 -37
  1480. package/lib/typescript/hooks/useRAFCoalescedValue.d.ts.map +1 -1
  1481. package/lib/typescript/hooks/useScreenDimensions.d.ts +5 -4
  1482. package/lib/typescript/hooks/useScreenDimensions.d.ts.map +1 -1
  1483. package/lib/typescript/hooks/useScreenOrientation.d.ts +2 -4
  1484. package/lib/typescript/hooks/useScreenOrientation.d.ts.map +1 -1
  1485. package/lib/typescript/hooks/useStableCallback.d.ts +10 -20
  1486. package/lib/typescript/hooks/useStableCallback.d.ts.map +1 -1
  1487. package/lib/typescript/hooks/useStreami18n.d.ts.map +1 -1
  1488. package/lib/typescript/hooks/useTranslatedMessage.d.ts +6 -1
  1489. package/lib/typescript/hooks/useTranslatedMessage.d.ts.map +1 -1
  1490. package/lib/typescript/hooks/useViewport.d.ts +4 -4
  1491. package/lib/typescript/hooks/useWindowContentWidth.d.ts +9 -11
  1492. package/lib/typescript/hooks/useWindowContentWidth.d.ts.map +1 -1
  1493. package/lib/typescript/i18n/keys.d.ts +4 -2
  1494. package/lib/typescript/i18n/keys.d.ts.map +1 -1
  1495. package/lib/typescript/i18n/runtimeDefaults.d.ts +17 -22
  1496. package/lib/typescript/i18n/runtimeDefaults.d.ts.map +1 -1
  1497. package/lib/typescript/i18n/types.d.ts +10 -12
  1498. package/lib/typescript/i18n/types.d.ts.map +1 -1
  1499. package/lib/typescript/i18n/utils.d.ts +12 -19
  1500. package/lib/typescript/i18n/utils.d.ts.map +1 -1
  1501. package/lib/typescript/index.d.ts +0 -1
  1502. package/lib/typescript/index.d.ts.map +1 -1
  1503. package/lib/typescript/middlewares/attachments.d.ts.map +1 -1
  1504. package/lib/typescript/middlewares/emojiControl.d.ts +5 -14
  1505. package/lib/typescript/middlewares/emojiControl.d.ts.map +1 -1
  1506. package/lib/typescript/native.d.ts +5 -7
  1507. package/lib/typescript/native.d.ts.map +1 -1
  1508. package/lib/typescript/nativeMultipartUpload.d.ts +1 -1
  1509. package/lib/typescript/state-store/audio-player.d.ts +5 -4
  1510. package/lib/typescript/state-store/audio-player.d.ts.map +1 -1
  1511. package/lib/typescript/state-store/audio-recorder-manager.d.ts +2 -13
  1512. package/lib/typescript/state-store/audio-recorder-manager.d.ts.map +1 -1
  1513. package/lib/typescript/state-store/edit-channel-details-store.d.ts +41 -26
  1514. package/lib/typescript/state-store/edit-channel-details-store.d.ts.map +1 -1
  1515. package/lib/typescript/state-store/image-gallery-state-store.d.ts +2 -4
  1516. package/lib/typescript/state-store/image-gallery-state-store.d.ts.map +1 -1
  1517. package/lib/typescript/state-store/in-app-notifications-store.d.ts.map +1 -1
  1518. package/lib/typescript/state-store/message-overlay-store.d.ts +24 -29
  1519. package/lib/typescript/state-store/message-overlay-store.d.ts.map +1 -1
  1520. package/lib/typescript/state-store/selection-store.d.ts +11 -11
  1521. package/lib/typescript/state-store/selection-store.d.ts.map +1 -1
  1522. package/lib/typescript/store/OfflineDB.d.ts +3 -10
  1523. package/lib/typescript/store/OfflineDB.d.ts.map +1 -1
  1524. package/lib/typescript/store/SqliteClient.d.ts +27 -36
  1525. package/lib/typescript/store/SqliteClient.d.ts.map +1 -1
  1526. package/lib/typescript/store/apis/addPendingTask.d.ts +6 -0
  1527. package/lib/typescript/store/apis/addPendingTask.d.ts.map +1 -1
  1528. package/lib/typescript/store/apis/channelExists.d.ts +5 -4
  1529. package/lib/typescript/store/apis/channelExists.d.ts.map +1 -1
  1530. package/lib/typescript/store/apis/dropPendingTasks.d.ts +5 -8
  1531. package/lib/typescript/store/apis/dropPendingTasks.d.ts.map +1 -1
  1532. package/lib/typescript/store/apis/getChannelMessages.d.ts.map +1 -1
  1533. package/lib/typescript/store/apis/getChannels.d.ts +5 -6
  1534. package/lib/typescript/store/apis/getChannels.d.ts.map +1 -1
  1535. package/lib/typescript/store/apis/getChannelsForFilterSort.d.ts +7 -8
  1536. package/lib/typescript/store/apis/getChannelsForFilterSort.d.ts.map +1 -1
  1537. package/lib/typescript/store/apis/getDraftsForChannels.d.ts.map +1 -1
  1538. package/lib/typescript/store/apis/getReactions.d.ts.map +1 -1
  1539. package/lib/typescript/store/apis/getReactionsforFilterSort.d.ts +7 -5
  1540. package/lib/typescript/store/apis/getReactionsforFilterSort.d.ts.map +1 -1
  1541. package/lib/typescript/store/apis/insertReaction.d.ts.map +1 -1
  1542. package/lib/typescript/store/apis/queries/selectActiveLocationsForChannels.d.ts.map +1 -1
  1543. package/lib/typescript/store/apis/queries/selectChannelQueryForFilterSort.d.ts +9 -10
  1544. package/lib/typescript/store/apis/queries/selectChannelQueryForFilterSort.d.ts.map +1 -1
  1545. package/lib/typescript/store/apis/queries/selectReactionsForMessages.d.ts +8 -5
  1546. package/lib/typescript/store/apis/queries/selectReactionsForMessages.d.ts.map +1 -1
  1547. package/lib/typescript/store/apis/upsertChannels.d.ts.map +1 -1
  1548. package/lib/typescript/store/apis/upsertCidsForQuery.d.ts.map +1 -1
  1549. package/lib/typescript/store/apis/upsertDraft.d.ts.map +1 -1
  1550. package/lib/typescript/store/constants.d.ts +1 -6
  1551. package/lib/typescript/store/constants.d.ts.map +1 -1
  1552. package/lib/typescript/store/mappers/mapStorableToPoll.d.ts.map +1 -1
  1553. package/lib/typescript/store/mappers/mapStorableToTimestamp.d.ts +6 -10
  1554. package/lib/typescript/store/mappers/mapStorableToTimestamp.d.ts.map +1 -1
  1555. package/lib/typescript/store/mappers/mapTimestampToStorable.d.ts +4 -9
  1556. package/lib/typescript/store/mappers/mapTimestampToStorable.d.ts.map +1 -1
  1557. package/lib/typescript/store/schema.d.ts +1 -4
  1558. package/lib/typescript/store/schema.d.ts.map +1 -1
  1559. package/lib/typescript/store/sqlite-utils/createDeleteQuery.d.ts +5 -6
  1560. package/lib/typescript/store/sqlite-utils/createDeleteQuery.d.ts.map +1 -1
  1561. package/lib/typescript/store/sqlite-utils/createSelectQuery.d.ts +8 -7
  1562. package/lib/typescript/store/sqlite-utils/createSelectQuery.d.ts.map +1 -1
  1563. package/lib/typescript/store/sqlite-utils/createUpdateQuery.d.ts +7 -7
  1564. package/lib/typescript/store/sqlite-utils/createUpsertQuery.d.ts +8 -8
  1565. package/lib/typescript/store/sqlite-utils/createUpsertQuery.d.ts.map +1 -1
  1566. package/lib/typescript/store/sqlite-utils/createUpsertQueryIfParentExists.d.ts +14 -24
  1567. package/lib/typescript/store/sqlite-utils/createUpsertQueryIfParentExists.d.ts.map +1 -1
  1568. package/lib/typescript/theme/topologicalResolution.d.ts +5 -2
  1569. package/lib/typescript/theme/topologicalResolution.d.ts.map +1 -1
  1570. package/lib/typescript/types/react-native-compat.d.ts +16 -41
  1571. package/lib/typescript/types/react-native-compat.d.ts.map +1 -1
  1572. package/lib/typescript/types/types.d.ts +46 -97
  1573. package/lib/typescript/types/types.d.ts.map +1 -1
  1574. package/lib/typescript/utils/attachmentUrls.d.ts +4 -6
  1575. package/lib/typescript/utils/attachmentUrls.d.ts.map +1 -1
  1576. package/lib/typescript/utils/compressImage.d.ts +6 -4
  1577. package/lib/typescript/utils/compressImage.d.ts.map +1 -1
  1578. package/lib/typescript/utils/getResizedImageUrl.d.ts +9 -9
  1579. package/lib/typescript/utils/getResizedImageUrl.d.ts.map +1 -1
  1580. package/lib/typescript/utils/getTrimmedAttachmentTitle.d.ts.map +1 -1
  1581. package/lib/typescript/utils/getUrlOfImageAttachment.d.ts +5 -3
  1582. package/lib/typescript/utils/getUrlOfImageAttachment.d.ts.map +1 -1
  1583. package/lib/typescript/utils/i18n/Streami18n.d.ts +19 -28
  1584. package/lib/typescript/utils/i18n/Streami18n.d.ts.map +1 -1
  1585. package/lib/typescript/utils/installNativeMultipartAdapter.d.ts +7 -6
  1586. package/lib/typescript/utils/installNativeMultipartAdapter.d.ts.map +1 -1
  1587. package/lib/typescript/utils/isRNVersionGreaterThanOrEqualTo.d.ts +6 -4
  1588. package/lib/typescript/utils/isRNVersionGreaterThanOrEqualTo.d.ts.map +1 -1
  1589. package/lib/typescript/utils/react-native-constants.d.ts +2 -4
  1590. package/lib/typescript/utils/react-native-constants.d.ts.map +1 -1
  1591. package/lib/typescript/utils/rtlMirrorSwitchStyle.d.ts +4 -2
  1592. package/lib/typescript/utils/rtlMirrorSwitchStyle.d.ts.map +1 -1
  1593. package/lib/typescript/utils/utils.d.ts +55 -45
  1594. package/lib/typescript/utils/utils.d.ts.map +1 -1
  1595. package/package.json +3 -3
  1596. package/src/__tests__/offline-support/offline-feature.tsx +15 -4
  1597. package/src/__tests__/offline-support/optimistic-update.tsx +30 -22
  1598. package/src/a11y/a11yUtils.ts +18 -8
  1599. package/src/a11y/hooks/useA11yLabel.ts +8 -6
  1600. package/src/a11y/hooks/useAccessibilityActivateAction.ts +7 -4
  1601. package/src/a11y/hooks/useAccessibilityServiceEnabled.ts +6 -15
  1602. package/src/a11y/hooks/useAnnounceOnShow.ts +7 -10
  1603. package/src/a11y/hooks/useAnnounceOnStateChange.ts +5 -4
  1604. package/src/a11y/hooks/useReducedMotionPreference.ts +4 -3
  1605. package/src/a11y/hooks/useResolvedModalAccessibilityProps.ts +4 -8
  1606. package/src/a11y/hooks/useScreenReaderEnabled.ts +3 -5
  1607. package/src/a11y/hooks/useScreenReaderMountFocus.ts +4 -3
  1608. package/src/a11y/hooks/useSetAccessibilityFocus.ts +10 -23
  1609. package/src/ai-components/AITypingIndicatorView.tsx +2 -3
  1610. package/src/ai-components/__tests__/Markdown.test.tsx +20 -0
  1611. package/src/ai-components/__tests__/charts.test.ts +4 -1
  1612. package/src/ai-components/charts/components/PieLegend.tsx +1 -1
  1613. package/src/ai-components/charts/components/VictoryChart.tsx +1 -20
  1614. package/src/ai-components/charts/index.ts +0 -4
  1615. package/src/ai-components/charts/types.ts +3 -4
  1616. package/src/ai-components/charts/utils/generate-pie-colors.ts +3 -5
  1617. package/src/ai-components/charts/utils/parse-json-chart.ts +2 -4
  1618. package/src/ai-components/charts/vega-lite/schema.ts +4 -22
  1619. package/src/ai-components/components/BottomSheet.tsx +1 -1
  1620. package/src/ai-components/index.ts +2 -9
  1621. package/src/ai-components/internal/hooks/useStableCallback.ts +7 -20
  1622. package/src/ai-components/internal/icons/SendUp.tsx +0 -1
  1623. package/src/ai-components/markdown/components/CodeBlock.tsx +2 -2
  1624. package/src/ai-components/markdown/components/Table.tsx +2 -3
  1625. package/src/ai-components/markdown/rules.ts +9 -14
  1626. package/src/ai-components/markdown/styles.ts +1 -1
  1627. package/src/ai-components/markdown/types.ts +1 -1
  1628. package/src/ai-components/markdown/utils/generate-markdown-text.ts +13 -26
  1629. package/src/ai-components/message-composer/SpeechToTextButton.tsx +1 -4
  1630. package/src/ai-components/native/AIDictation.ts +5 -4
  1631. package/src/ai-components/native-specs/NativeAIDictation.ts +8 -9
  1632. package/src/ai-components/services/clipboard-service/expo.ts +1 -1
  1633. package/src/ai-components/services/clipboard-service/rncli.ts +1 -1
  1634. package/src/ai-components/services/media-picker-service/expo.ts +2 -2
  1635. package/src/ai-components/services/media-picker-service/optional-modules.d.ts +3 -3
  1636. package/src/ai-components/services/media-picker-service/rncli.ts +4 -4
  1637. package/src/ai-components/store/index.ts +0 -3
  1638. package/src/ai-components/syntax-highlighting/index.ts +2 -3
  1639. package/src/ai-components/syntax-highlighting/types.ts +2 -3
  1640. package/src/ai-components/syntax-highlighting/utils/converter.ts +15 -19
  1641. package/src/ai-components/syntax-highlighting/utils/flatten-nodes.ts +5 -13
  1642. package/src/components/AITypingIndicatorView/hooks/useAIState.ts +5 -5
  1643. package/src/components/Accessibility/CompositeAccessibilityProbe.tsx +7 -19
  1644. package/src/components/Accessibility/HiddenA11yText.tsx +10 -20
  1645. package/src/components/Accessibility/NotificationAnnouncer.tsx +3 -10
  1646. package/src/components/Accessibility/OverlayA11yShield.tsx +7 -14
  1647. package/src/components/Accessibility/hooks/useIncomingMessageAnnouncements.ts +9 -8
  1648. package/src/components/Accessibility/useAccessibilityAnnouncer.ts +3 -4
  1649. package/src/components/Attachment/Attachment.tsx +4 -10
  1650. package/src/components/Attachment/AttachmentFileUploadProgressIndicator.tsx +1 -3
  1651. package/src/components/Attachment/AttachmentUploadIndicator.tsx +2 -1
  1652. package/src/components/Attachment/Audio/AudioAttachment.tsx +9 -16
  1653. package/src/components/Attachment/Audio/PlayPauseButton.tsx +3 -9
  1654. package/src/components/Attachment/CircularProgressIndicator.tsx +2 -4
  1655. package/src/components/Attachment/FileAttachment.tsx +1 -1
  1656. package/src/components/Attachment/FileIcon.tsx +7 -21
  1657. package/src/components/Attachment/FilePreview.tsx +2 -3
  1658. package/src/components/Attachment/Gallery.tsx +4 -6
  1659. package/src/components/Attachment/GalleryImage.tsx +2 -2
  1660. package/src/components/Attachment/Giphy/Giphy.tsx +1 -3
  1661. package/src/components/Attachment/Giphy/GiphyImage.tsx +2 -6
  1662. package/src/components/Attachment/ImageLoadingFailedIndicator.tsx +1 -4
  1663. package/src/components/Attachment/MediaUploadProgressOverlay.tsx +1 -3
  1664. package/src/components/Attachment/UnsupportedAttachment.tsx +1 -1
  1665. package/src/components/Attachment/UrlPreview/URLPreview.tsx +2 -4
  1666. package/src/components/Attachment/UrlPreview/URLPreviewCompact.tsx +2 -4
  1667. package/src/components/Attachment/VideoThumbnail.tsx +1 -3
  1668. package/src/components/Attachment/__tests__/FileIcon.test.tsx +46 -0
  1669. package/src/components/Attachment/utils/buildGallery/buildGallery.ts +8 -22
  1670. package/src/components/Attachment/utils/buildGallery/buildGalleryOfSingleImage.ts +0 -8
  1671. package/src/components/Attachment/utils/buildGallery/buildGalleryOfThreeImages.ts +5 -23
  1672. package/src/components/Attachment/utils/buildGallery/buildGalleryOfTwoImages.ts +2 -18
  1673. package/src/components/Attachment/utils/buildGallery/buildThumbnail.ts +2 -2
  1674. package/src/components/Attachment/utils/buildGallery/buildThumbnailGrid.ts +12 -126
  1675. package/src/components/Attachment/utils/buildGallery/types.ts +1 -1
  1676. package/src/components/Attachment/utils/getAspectRatio.ts +4 -3
  1677. package/src/components/Attachment/utils/getGiphyMimeType.ts +3 -2
  1678. package/src/components/Attachment/utils/openUrlSafely.ts +2 -2
  1679. package/src/components/AttachmentPicker/AttachmentPicker.tsx +2 -8
  1680. package/src/components/AttachmentPicker/components/AttachmentMediaPicker/AttachmentMediaPicker.tsx +3 -8
  1681. package/src/components/AttachmentPicker/components/AttachmentMediaPicker/AttachmentPickerItem.tsx +4 -8
  1682. package/src/components/AttachmentPicker/components/AttachmentTypePickerButton.tsx +1 -1
  1683. package/src/components/AutoCompleteInput/AutoCompleteInput.tsx +16 -30
  1684. package/src/components/AutoCompleteInput/AutoCompleteSuggestionItem.tsx +4 -7
  1685. package/src/components/AutoCompleteInput/AutoCompleteSuggestionList.tsx +1 -3
  1686. package/src/components/AutoCompleteInput/mentionItems/EnhancedMentionContent.tsx +1 -2
  1687. package/src/components/AutoCompleteInput/mentionItems/EnhancedMentionIcon.tsx +4 -14
  1688. package/src/components/AutoCompleteInput/mentionItems/MentionBroadcastItem.tsx +1 -3
  1689. package/src/components/AutoCompleteInput/mentionItems/MentionItem.tsx +3 -8
  1690. package/src/components/AutoCompleteInput/mentionItems/TokenizedSuggestionParts.tsx +3 -7
  1691. package/src/components/Channel/Channel.tsx +13 -25
  1692. package/src/components/Channel/ChannelShell.tsx +18 -38
  1693. package/src/components/Channel/__tests__/Channel.test.tsx +3 -3
  1694. package/src/components/Channel/hooks/useChannelLifecycle.ts +26 -29
  1695. package/src/components/Channel/hooks/useCreateChannelContext.ts +1 -1
  1696. package/src/components/Channel/hooks/useCreateInputMessageInputContext.ts +1 -3
  1697. package/src/components/Channel/hooks/useCreateMessagesContext.ts +1 -3
  1698. package/src/components/Channel/hooks/useCreateOwnCapabilitiesContext.ts +1 -2
  1699. package/src/components/Channel/hooks/useSupersededChannelSwap.ts +7 -4
  1700. package/src/components/ChannelDetails/ChannelDetails.tsx +1 -3
  1701. package/src/components/ChannelDetails/__tests__/useEditChannelImage.test.tsx +2 -2
  1702. package/src/components/ChannelDetails/components/ChannelDetailsActionsSection.tsx +4 -9
  1703. package/src/components/ChannelDetails/components/ChannelDetailsEditButton.tsx +4 -5
  1704. package/src/components/ChannelDetails/components/ChannelDetailsMemberSection.tsx +1 -3
  1705. package/src/components/ChannelDetails/components/ChannelDetailsNavHeader.tsx +2 -2
  1706. package/src/components/ChannelDetails/components/ChannelDetailsNavigationSection.tsx +3 -6
  1707. package/src/components/ChannelDetails/components/ChannelEditDetailsForm.tsx +5 -9
  1708. package/src/components/ChannelDetails/components/ChannelEditDetailsFormContent.tsx +2 -1
  1709. package/src/components/ChannelDetails/components/ChannelEditDetailsFormHeader.tsx +2 -2
  1710. package/src/components/ChannelDetails/components/members/ChannelAddMembersButton.tsx +3 -4
  1711. package/src/components/ChannelDetails/components/members/ChannelAddMembersForm.tsx +4 -9
  1712. package/src/components/ChannelDetails/components/members/ChannelAddMembersFormContent.tsx +2 -7
  1713. package/src/components/ChannelDetails/components/members/ChannelAddMembersFormHeader.tsx +2 -2
  1714. package/src/components/ChannelDetails/components/members/ChannelMemberActionsSheet.tsx +2 -5
  1715. package/src/components/ChannelDetails/components/members/ChannelMemberItem.tsx +5 -7
  1716. package/src/components/ChannelDetails/components/members/ChannelMemberList.tsx +5 -17
  1717. package/src/components/ChannelDetails/components/navigation-section/FileAttachmentItem.tsx +4 -8
  1718. package/src/components/ChannelDetails/components/navigation-section/FileAttachmentList.tsx +3 -12
  1719. package/src/components/ChannelDetails/components/navigation-section/FileAttachmentListSectionHeader.tsx +1 -1
  1720. package/src/components/ChannelDetails/components/navigation-section/MediaItem.tsx +4 -8
  1721. package/src/components/ChannelDetails/components/navigation-section/MediaList.tsx +6 -16
  1722. package/src/components/ChannelDetails/components/navigation-section/MediaListLoadingSkeleton.tsx +2 -4
  1723. package/src/components/ChannelDetails/components/navigation-section/PinnedMessageList.tsx +3 -12
  1724. package/src/components/ChannelDetails/components/roles/RoleItem.tsx +4 -4
  1725. package/src/components/ChannelDetails/components/roles/RoleList.tsx +2 -2
  1726. package/src/components/ChannelDetails/hooks/members/useMemberRoles.ts +10 -14
  1727. package/src/components/ChannelDetails/hooks/useChannelDetailsMemberStatusText.ts +5 -3
  1728. package/src/components/ChannelDetails/hooks/useChannelDetailsNavigationItems.ts +18 -26
  1729. package/src/components/ChannelDetails/hooks/useEditChannelImage.ts +14 -17
  1730. package/src/components/ChannelDetails/hooks/useFileAttachmentListSections.ts +10 -13
  1731. package/src/components/ChannelDetails/hooks/useMediaList.ts +8 -9
  1732. package/src/components/ChannelDetails/hooks/useUserActivityStatus.ts +5 -7
  1733. package/src/components/ChannelList/ChannelList.tsx +9 -8
  1734. package/src/components/ChannelList/ChannelListView.tsx +13 -32
  1735. package/src/components/ChannelList/__tests__/ChannelList.test.tsx +2 -2
  1736. package/src/components/ChannelList/hooks/useChannelMembersState.ts +17 -8
  1737. package/src/components/ChannelList/hooks/useChannelOnlineMemberCount.ts +10 -2
  1738. package/src/components/ChannelList/hooks/useMutedChannels.ts +4 -1
  1739. package/src/components/ChannelList/hooks/useMutedUsers.ts +3 -1
  1740. package/src/components/ChannelList/hooks/usePaginatedChannels.ts +8 -9
  1741. package/src/components/ChannelPreview/ChannelMessagePreviewDeliveryStatus.tsx +3 -8
  1742. package/src/components/ChannelPreview/ChannelPreview.tsx +1 -3
  1743. package/src/components/ChannelPreview/ChannelPreviewMessage.tsx +1 -3
  1744. package/src/components/ChannelPreview/ChannelPreviewMutedStatus.tsx +1 -3
  1745. package/src/components/ChannelPreview/ChannelPreviewPinnedStatus.tsx +1 -3
  1746. package/src/components/ChannelPreview/ChannelPreviewTitle.tsx +1 -3
  1747. package/src/components/ChannelPreview/ChannelPreviewUnreadCount.tsx +1 -3
  1748. package/src/components/ChannelPreview/ChannelPreviewView.tsx +6 -11
  1749. package/src/components/ChannelPreview/hooks/useChannelPreviewData.ts +6 -13
  1750. package/src/components/ChannelPreview/hooks/useChannelPreviewDisplayName.ts +2 -2
  1751. package/src/components/ChannelPreview/hooks/useChannelPreviewDisplayPresence.ts +5 -9
  1752. package/src/components/ChannelPreview/hooks/useChannelPreviewDraftMessage.ts +4 -3
  1753. package/src/components/ChannelPreview/hooks/useChannelPreviewPollLabel.ts +4 -3
  1754. package/src/components/ChannelPreview/hooks/useChannelTypingState.ts +5 -4
  1755. package/src/components/ChannelPreview/hooks/useIsChannelMuted.ts +4 -2
  1756. package/src/components/Chat/Chat.tsx +34 -88
  1757. package/src/components/Chat/hooks/useAppSettingsGetter.ts +10 -5
  1758. package/src/components/Chat/hooks/useClientUserId.ts +6 -7
  1759. package/src/components/Chat/hooks/useConnectionLifecycle.ts +25 -47
  1760. package/src/components/Chat/hooks/useCreateChatClient.ts +13 -16
  1761. package/src/components/Chat/hooks/useInitializeOfflineDb.ts +24 -30
  1762. package/src/components/Chat/hooks/useNetworkConnectionState.ts +13 -12
  1763. package/src/components/Chat/hooks/usePendingUploadsDefault.ts +12 -13
  1764. package/src/components/Chat/hooks/useWSConnectionState.ts +23 -42
  1765. package/src/components/ImageGallery/ImageGallery.tsx +24 -62
  1766. package/src/components/ImageGallery/__tests__/ImageGallery.test.tsx +26 -0
  1767. package/src/components/ImageGallery/components/AnimatedGalleryImage.tsx +6 -12
  1768. package/src/components/ImageGallery/components/AnimatedGalleryVideo.tsx +2 -11
  1769. package/src/components/ImageGallery/components/ImageGalleryA11yProbe.tsx +5 -8
  1770. package/src/components/ImageGallery/components/ImageGalleryFooter.tsx +8 -11
  1771. package/src/components/ImageGallery/components/ImageGalleryHeader.tsx +4 -5
  1772. package/src/components/ImageGallery/components/ImageGalleryVideoControl.tsx +4 -7
  1773. package/src/components/ImageGallery/components/__tests__/ImageGalleryVideoControl.test.tsx +9 -0
  1774. package/src/components/ImageGallery/hooks/useAnimatedGalleryStyle.tsx +6 -11
  1775. package/src/components/ImageGallery/hooks/useCurrentImageHeight.ts +7 -12
  1776. package/src/components/ImageGallery/hooks/useImageGalleryGestures.tsx +52 -213
  1777. package/src/components/ImageGallery/hooks/useImageGalleryVideoPlayer.ts +4 -2
  1778. package/src/components/Indicators/LoadingIndicator.tsx +1 -3
  1779. package/src/components/KeyboardCompatibleView/KeyboardCompatibleView.tsx +26 -43
  1780. package/src/components/Message/Message.tsx +21 -57
  1781. package/src/components/Message/MessageItemView/Headers/SentToChannelHeader.tsx +2 -5
  1782. package/src/components/Message/MessageItemView/MessageBlocked.tsx +2 -6
  1783. package/src/components/Message/MessageItemView/MessageContent.tsx +12 -30
  1784. package/src/components/Message/MessageItemView/MessageFooter.tsx +2 -4
  1785. package/src/components/Message/MessageItemView/MessageItemView.tsx +2 -5
  1786. package/src/components/Message/MessageItemView/MessageReplies.tsx +1 -1
  1787. package/src/components/Message/MessageItemView/MessageTextContainer.tsx +4 -9
  1788. package/src/components/Message/MessageItemView/MessageTimestamp.tsx +3 -9
  1789. package/src/components/Message/MessageItemView/MessageWrapper.tsx +12 -18
  1790. package/src/components/Message/MessageItemView/ReactionList/ReactionListBottom.tsx +1 -1
  1791. package/src/components/Message/MessageItemView/ReactionList/ReactionListTop.tsx +1 -3
  1792. package/src/components/Message/MessageItemView/utils/generateMarkdownText.test.ts +9 -0
  1793. package/src/components/Message/MessageItemView/utils/generateMarkdownText.ts +31 -20
  1794. package/src/components/Message/MessageItemView/utils/parseLinks.ts +3 -8
  1795. package/src/components/Message/MessageItemView/utils/renderText.tsx +16 -25
  1796. package/src/components/Message/MessageOverlayWrapper.tsx +3 -5
  1797. package/src/components/Message/hooks/__tests__/useCreateMessageActionHandlers.test.tsx +1 -1
  1798. package/src/components/Message/hooks/useCreateMessageActionHandlers.ts +16 -5
  1799. package/src/components/Message/hooks/useCreateMessageContext.ts +2 -4
  1800. package/src/components/Message/hooks/useIsMessageDeliveredToOthers.ts +7 -6
  1801. package/src/components/Message/hooks/useIsMessageReadByOthers.ts +8 -9
  1802. package/src/components/Message/hooks/useMessageActionHandlers.ts +3 -1
  1803. package/src/components/Message/hooks/useMessageActions.tsx +5 -3
  1804. package/src/components/Message/hooks/useMessageOperations.ts +20 -27
  1805. package/src/components/Message/hooks/useProcessReactions.ts +8 -4
  1806. package/src/components/Message/hooks/useStreamingMessage.ts +7 -6
  1807. package/src/components/Message/hooks/useUserMuteActive.ts +9 -1
  1808. package/src/components/Message/utils/measureInWindow.ts +19 -19
  1809. package/src/components/Message/utils/messageActions.ts +0 -1
  1810. package/src/components/MessageInput/MessageComposer.tsx +7 -19
  1811. package/src/components/MessageInput/StopMessageStreamingButton.tsx +1 -1
  1812. package/src/components/MessageInput/__tests__/__snapshots__/AttachButton.test.tsx.snap +45 -15
  1813. package/src/components/MessageInput/__tests__/__snapshots__/SendButton.test.tsx.snap +30 -10
  1814. package/src/components/MessageInput/components/AttachmentPreview/AttachmentUploadPreviewList.tsx +1 -8
  1815. package/src/components/MessageInput/components/AudioRecorder/AudioRecorder.tsx +2 -6
  1816. package/src/components/MessageInput/components/AudioRecorder/AudioRecordingButton.tsx +4 -12
  1817. package/src/components/MessageInput/components/AudioRecorder/AudioRecordingInProgress.tsx +3 -7
  1818. package/src/components/MessageInput/components/AudioRecorder/AudioRecordingLockIndicator.tsx +3 -9
  1819. package/src/components/MessageInput/components/AudioRecorder/AudioRecordingPreview.tsx +5 -7
  1820. package/src/components/MessageInput/components/AudioRecorder/AudioRecordingWaveform.tsx +2 -6
  1821. package/src/components/MessageInput/components/InputButtons/AttachButton.tsx +2 -4
  1822. package/src/components/MessageInput/components/OutputButtons/CooldownTimer.tsx +1 -3
  1823. package/src/components/MessageInput/hooks/useAudioRecorder.tsx +10 -20
  1824. package/src/components/MessageInput/hooks/useCooldownRemaining.tsx +3 -3
  1825. package/src/components/MessageInput/utils/audioSampling.ts +7 -5
  1826. package/src/components/MessageInput/utils/normalizeAudioLevel.ts +5 -1
  1827. package/src/components/MessageList/InlineDateSeparator.tsx +1 -6
  1828. package/src/components/MessageList/MessageFlashList.tsx +42 -109
  1829. package/src/components/MessageList/MessageList.tsx +62 -146
  1830. package/src/components/MessageList/MessageSystem.tsx +3 -12
  1831. package/src/components/MessageList/ScrollToBottomButton.tsx +2 -2
  1832. package/src/components/MessageList/StickyHeader.tsx +2 -9
  1833. package/src/components/MessageList/UnreadMessagesNotification.tsx +2 -6
  1834. package/src/components/MessageList/__tests__/MessageList.test.tsx +2 -0
  1835. package/src/components/MessageList/__tests__/__snapshots__/ScrollToBottomButton.test.tsx.snap +3 -1
  1836. package/src/components/MessageList/hooks/useMarkRead.ts +24 -32
  1837. package/src/components/MessageList/hooks/useMessageDateSeparator.ts +8 -5
  1838. package/src/components/MessageList/hooks/useMessageGroupStyles.ts +11 -2
  1839. package/src/components/MessageList/hooks/useMessageList.ts +1 -4
  1840. package/src/components/MessageList/hooks/useMessageListFocus.ts +8 -6
  1841. package/src/components/MessageList/hooks/useMessageListLiveState.ts +6 -1
  1842. package/src/components/MessageList/hooks/useMessageListPagination.ts +7 -4
  1843. package/src/components/MessageList/hooks/useOwnUnreadCount.ts +3 -0
  1844. package/src/components/MessageList/hooks/useScrollToBottomAccessibilityAction.ts +3 -4
  1845. package/src/components/MessageList/hooks/useStickyHeaderDate.ts +4 -2
  1846. package/src/components/MessageList/hooks/useTypingString.ts +1 -4
  1847. package/src/components/MessageList/hooks/useTypingUsers.ts +12 -7
  1848. package/src/components/MessageList/hooks/useUnreadNotificationVisibility.ts +10 -2
  1849. package/src/components/MessageList/utils/buildMessageListWithNeighbours.ts +9 -5
  1850. package/src/components/MessageList/utils/filterTypingUsers.ts +2 -2
  1851. package/src/components/MessageList/utils/getGroupStyles.ts +12 -17
  1852. package/src/components/MessageMenu/EmojiPickerList.tsx +3 -6
  1853. package/src/components/MessageMenu/MessageActionList.tsx +2 -9
  1854. package/src/components/MessageMenu/MessageActionListItem.tsx +6 -19
  1855. package/src/components/MessageMenu/MessageActionListWithActions.tsx +3 -3
  1856. package/src/components/MessageMenu/MessageReactionPicker.tsx +1 -3
  1857. package/src/components/MessageMenu/MessageUserReactions.tsx +2 -6
  1858. package/src/components/MessageMenu/MessageUserReactionsAvatar.tsx +1 -3
  1859. package/src/components/MessageMenu/MessageUserReactionsItem.tsx +2 -6
  1860. package/src/components/MessageMenu/ReactionButton.tsx +6 -12
  1861. package/src/components/MessageMenu/__tests__/MessageActionList.test.tsx +32 -0
  1862. package/src/components/Notifications/Notification.tsx +8 -3
  1863. package/src/components/Notifications/NotificationList.tsx +1 -1
  1864. package/src/components/Notifications/NotificationTargetContext.tsx +12 -2
  1865. package/src/components/Notifications/hooks/useNotificationApi.ts +13 -4
  1866. package/src/components/Notifications/hooks/useNotifications.ts +8 -1
  1867. package/src/components/Notifications/hooks/useSystemNotifications.ts +6 -1
  1868. package/src/components/Notifications/notificationFilters.ts +9 -11
  1869. package/src/components/Notifications/notificationTarget.ts +126 -20
  1870. package/src/components/Notifications/notificationTranslations.ts +9 -18
  1871. package/src/components/Poll/CreatePollContent.tsx +9 -7
  1872. package/src/components/Poll/components/Button.tsx +2 -2
  1873. package/src/components/Poll/components/CreatePollHeader.tsx +2 -8
  1874. package/src/components/Poll/components/CreatePollOptions.tsx +16 -21
  1875. package/src/components/Poll/components/MultipleAnswersField.tsx +1 -1
  1876. package/src/components/Poll/components/MultipleVotesSettings.tsx +6 -4
  1877. package/src/components/Poll/components/NameField.tsx +1 -1
  1878. package/src/components/Poll/components/PollButtons.tsx +2 -2
  1879. package/src/components/Poll/components/PollOption.tsx +2 -2
  1880. package/src/components/Poll/hook/useIsPollCreatedByCurrentUser.ts +3 -2
  1881. package/src/components/Poll/hooks/useEndVote.ts +4 -3
  1882. package/src/components/Poll/hooks/usePollAnswersPagination.ts +6 -12
  1883. package/src/components/Poll/hooks/usePollOptionVotesPagination.ts +7 -15
  1884. package/src/components/Poll/hooks/usePollVoteToggle.ts +5 -4
  1885. package/src/components/Poll/index.ts +0 -2
  1886. package/src/components/ProgressControl/ProgressBar.tsx +0 -1
  1887. package/src/components/ProgressControl/ProgressControl.tsx +6 -25
  1888. package/src/components/ProgressControl/ProgressThumb.tsx +2 -6
  1889. package/src/components/ProgressControl/StableDurationLabel.tsx +2 -4
  1890. package/src/components/ProgressControl/WaveProgressBar.tsx +7 -21
  1891. package/src/components/Reply/Reply.tsx +8 -11
  1892. package/src/components/Thread/Thread.tsx +20 -29
  1893. package/src/components/Thread/__tests__/__snapshots__/Thread.test.tsx.snap +18 -6
  1894. package/src/components/Thread/components/ThreadFooterComponent.tsx +5 -8
  1895. package/src/components/ThreadList/ThreadListItem.tsx +1 -1
  1896. package/src/components/ThreadList/ThreadMessagePreviewDeliveryStatus.tsx +4 -6
  1897. package/src/components/UIComponents/BottomSheetModal.tsx +17 -36
  1898. package/src/components/UIComponents/ClippingFadeBottom.tsx +3 -10
  1899. package/src/components/UIComponents/EmptyList.tsx +3 -9
  1900. package/src/components/UIComponents/GenericListLoadingSkeleton.tsx +1 -1
  1901. package/src/components/UIComponents/ImageBackground.tsx +5 -31
  1902. package/src/components/UIComponents/PortalWhileClosingView.tsx +12 -36
  1903. package/src/components/UIComponents/SafeAreaViewWrapper.tsx +5 -8
  1904. package/src/components/UIComponents/SvgAwareImage.tsx +2 -5
  1905. package/src/components/UIComponents/__tests__/SwipableWrapper.test.tsx +68 -2
  1906. package/src/components/index.ts +1 -4
  1907. package/src/components/ui/Avatar/Avatar.tsx +2 -9
  1908. package/src/components/ui/Avatar/AvatarGroup.tsx +5 -13
  1909. package/src/components/ui/Avatar/ChannelAvatar.tsx +2 -9
  1910. package/src/components/ui/Avatar/constants.ts +2 -2
  1911. package/src/components/ui/Badge/BadgeNotification.tsx +1 -4
  1912. package/src/components/ui/Button/Button.tsx +11 -34
  1913. package/src/components/ui/Button/hooks/useButtonStyles.ts +5 -4
  1914. package/src/components/ui/GiphyChip.tsx +0 -1
  1915. package/src/components/ui/Input/Input.tsx +2 -2
  1916. package/src/components/ui/SpeedSettingsButton.tsx +3 -9
  1917. package/src/contexts/__tests__/index.test.tsx +29 -9
  1918. package/src/contexts/accessibilityContext/AccessibilityContext.tsx +22 -26
  1919. package/src/contexts/attachmentPickerContext/AttachmentPickerContext.tsx +8 -13
  1920. package/src/contexts/bottomSheetContext/BottomSheetContext.tsx +7 -18
  1921. package/src/contexts/channelAddMembersContext/ChannelAddMembersContext.tsx +6 -15
  1922. package/src/contexts/channelContext/ChannelContext.tsx +8 -36
  1923. package/src/contexts/channelDetailsContext/channelDetailsContext.tsx +1 -3
  1924. package/src/contexts/channelEditDetailsContext/ChannelEditDetailsContext.tsx +11 -24
  1925. package/src/contexts/channelFileAttachmentListContext/ChannelFileAttachmentListContext.tsx +1 -1
  1926. package/src/contexts/channelMediaListContext/ChannelMediaListContext.tsx +1 -1
  1927. package/src/contexts/channelsContext/ChannelsContext.tsx +15 -39
  1928. package/src/contexts/chatConfigContext/ChatConfigContext.tsx +1 -3
  1929. package/src/contexts/chatContext/ChatContext.tsx +3 -3
  1930. package/src/contexts/componentsContext/ComponentsContext.tsx +13 -20
  1931. package/src/contexts/componentsContext/defaultComponents.ts +6 -33
  1932. package/src/contexts/imageGalleryContext/ImageGalleryContextBase.tsx +1 -1
  1933. package/src/contexts/liveLocationManagerContext/LiveLocationManagerContext.tsx +0 -2
  1934. package/src/contexts/liveLocationManagerContext/hooks/useHandleLiveLocationEvents.ts +10 -11
  1935. package/src/contexts/messageComposerContext/MessageComposerContext.tsx +1 -3
  1936. package/src/contexts/messageContext/MessageContext.tsx +44 -65
  1937. package/src/contexts/messageInputContext/MessageInputContext.tsx +36 -87
  1938. package/src/contexts/messageInputContext/__tests__/filePickers.test.tsx +10 -0
  1939. package/src/contexts/messageInputContext/hooks/useMessageComposer.ts +2 -0
  1940. package/src/contexts/messageInputContext/hooks/useMessageComposerHasSendableData.ts +1 -1
  1941. package/src/contexts/messageInputContext/hooks/usePendingUploadsEnabled.ts +5 -3
  1942. package/src/contexts/messageListItemContext/MessageListItemContext.tsx +7 -12
  1943. package/src/contexts/messagesContext/MessagesContext.tsx +57 -191
  1944. package/src/contexts/overlayContext/ClosingPortalHostsLayer.tsx +2 -7
  1945. package/src/contexts/overlayContext/MessageOverlayHostLayer.tsx +13 -21
  1946. package/src/contexts/overlayContext/OverlayContext.tsx +4 -5
  1947. package/src/contexts/overlayContext/OverlayHostLayerContext.ts +1 -1
  1948. package/src/contexts/overlayContext/OverlayProvider.tsx +2 -17
  1949. package/src/contexts/ownCapabilitiesContext/OwnCapabilitiesContext.tsx +1 -1
  1950. package/src/contexts/pollContext/createPollContentContext.tsx +2 -6
  1951. package/src/contexts/pollContext/pollContext.tsx +1 -1
  1952. package/src/contexts/screenReaderContext/ScreenReaderContext.tsx +4 -8
  1953. package/src/contexts/swipeableContext/SwipeRegistryContext.tsx +1 -0
  1954. package/src/contexts/themeContext/ThemeContext.tsx +4 -6
  1955. package/src/contexts/themeContext/utils/theme.ts +2 -3
  1956. package/src/contexts/threadContext/ThreadContext.tsx +4 -9
  1957. package/src/contexts/translationContext/TranslationContext.tsx +3 -7
  1958. package/src/contexts/translationContext/types.ts +5 -14
  1959. package/src/hooks/__tests__/useAttachmentPickerBottomSheet.test.ts +27 -0
  1960. package/src/hooks/__tests__/useRAFCoalescedValue.test.tsx +80 -0
  1961. package/src/hooks/actions/__tests__/useChannelActions.test.tsx +3 -3
  1962. package/src/hooks/actions/useChannelActionItems.tsx +11 -28
  1963. package/src/hooks/actions/useChannelActions.ts +3 -3
  1964. package/src/hooks/actions/useChannelMemberActionItems.tsx +3 -6
  1965. package/src/hooks/messagePreview/useGroupedAttachments.ts +5 -5
  1966. package/src/hooks/messagePreview/useMessageDeliveryStatus.ts +9 -8
  1967. package/src/hooks/messagePreview/useMessagePreviewText.tsx +2 -4
  1968. package/src/hooks/useAfterKeyboardOpenCallback.ts +5 -5
  1969. package/src/hooks/useAppStateListener.ts +7 -9
  1970. package/src/hooks/useAttachmentPickerBottomSheet.ts +7 -6
  1971. package/src/hooks/useAudioPlayer.ts +3 -10
  1972. package/src/hooks/useCanAddMembersToChannel.ts +3 -0
  1973. package/src/hooks/useCanEditChannel.ts +4 -1
  1974. package/src/hooks/useChannel.ts +4 -5
  1975. package/src/hooks/useChannelImage.ts +5 -1
  1976. package/src/hooks/useChannelMemberCount.ts +5 -1
  1977. package/src/hooks/useChannelMembershipState.ts +5 -1
  1978. package/src/hooks/useChannelName.ts +5 -1
  1979. package/src/hooks/useChannelOwnCapabilities.ts +4 -2
  1980. package/src/hooks/useClientNotifications.ts +3 -3
  1981. package/src/hooks/useHorizontalInsets.ts +10 -16
  1982. package/src/hooks/useIsChannelMember.ts +5 -1
  1983. package/src/hooks/useIsMountedRef.ts +7 -11
  1984. package/src/hooks/useIsSvg.ts +9 -8
  1985. package/src/hooks/useIsTargetedMessage.ts +7 -7
  1986. package/src/hooks/useKeyboardVisibility.ts +3 -2
  1987. package/src/hooks/useLazyRef.ts +4 -2
  1988. package/src/hooks/useLoadingImage.tsx +2 -2
  1989. package/src/hooks/useMessagePaginator.ts +4 -2
  1990. package/src/hooks/usePendingAttachmentUpload.ts +8 -4
  1991. package/src/hooks/usePortalSettledCallback.ts +15 -43
  1992. package/src/hooks/usePrunableMessageList.ts +12 -15
  1993. package/src/hooks/useQueryReminders.ts +7 -13
  1994. package/src/hooks/useRAFCoalescedValue.ts +16 -40
  1995. package/src/hooks/useScreenDimensions.ts +7 -8
  1996. package/src/hooks/useScreenOrientation.ts +2 -4
  1997. package/src/hooks/useStableCallback.ts +10 -20
  1998. package/src/hooks/useStreami18n.ts +3 -5
  1999. package/src/hooks/useTranslatedMessage.ts +9 -7
  2000. package/src/hooks/useViewport.ts +4 -4
  2001. package/src/hooks/useWindowContentWidth.ts +9 -11
  2002. package/src/i18n/__tests__/catalog.fixture.json +4 -2
  2003. package/src/i18n/keys.ts +4 -2
  2004. package/src/i18n/runtimeDefaults.ts +20 -25
  2005. package/src/i18n/types.ts +10 -14
  2006. package/src/i18n/utils.ts +14 -22
  2007. package/src/index.ts +1 -1
  2008. package/src/middlewares/__tests__/emojiControl.test.ts +65 -0
  2009. package/src/middlewares/attachments.ts +2 -5
  2010. package/src/middlewares/emojiControl.ts +18 -31
  2011. package/src/native.ts +6 -9
  2012. package/src/nativeMultipartUpload.ts +5 -5
  2013. package/src/polyfills.ts +0 -4
  2014. package/src/state-store/audio-player.ts +9 -15
  2015. package/src/state-store/audio-recorder-manager.ts +7 -18
  2016. package/src/state-store/edit-channel-details-store.ts +41 -26
  2017. package/src/state-store/image-gallery-state-store.ts +5 -14
  2018. package/src/state-store/in-app-notifications-store.ts +0 -1
  2019. package/src/state-store/message-overlay-store.ts +24 -30
  2020. package/src/state-store/selection-store.ts +11 -11
  2021. package/src/store/OfflineDB.ts +5 -13
  2022. package/src/store/SqliteClient.ts +39 -58
  2023. package/src/store/__tests__/mapperRequiredTimestamps.test.ts +11 -0
  2024. package/src/store/__tests__/selectMessagesForChannels.test.ts +39 -0
  2025. package/src/store/apis/__tests__/upsertDraft.test.ts +55 -0
  2026. package/src/store/apis/addPendingTask.ts +6 -8
  2027. package/src/store/apis/channelExists.ts +5 -4
  2028. package/src/store/apis/dropPendingTasks.ts +5 -8
  2029. package/src/store/apis/getChannelActiveLocations.ts +1 -1
  2030. package/src/store/apis/getChannelMessages.ts +0 -3
  2031. package/src/store/apis/getChannels.ts +5 -7
  2032. package/src/store/apis/getChannelsForFilterSort.ts +7 -8
  2033. package/src/store/apis/getDraftsForChannels.ts +2 -3
  2034. package/src/store/apis/getReactions.ts +0 -1
  2035. package/src/store/apis/getReactionsforFilterSort.ts +7 -9
  2036. package/src/store/apis/insertReaction.ts +3 -4
  2037. package/src/store/apis/queries/selectActiveLocationsForChannels.ts +1 -2
  2038. package/src/store/apis/queries/selectChannelQueryForFilterSort.ts +12 -14
  2039. package/src/store/apis/queries/selectMessagesForChannels.ts +1 -1
  2040. package/src/store/apis/queries/selectReactionsForMessages.ts +8 -5
  2041. package/src/store/apis/upsertChannels.ts +1 -2
  2042. package/src/store/apis/upsertCidsForQuery.ts +0 -1
  2043. package/src/store/apis/upsertDraft.ts +3 -4
  2044. package/src/store/constants.ts +1 -6
  2045. package/src/store/mappers/mapPollToStorable.ts +1 -1
  2046. package/src/store/mappers/mapReadToStorable.ts +1 -1
  2047. package/src/store/mappers/mapStorableToMember.ts +1 -1
  2048. package/src/store/mappers/mapStorableToPoll.ts +2 -3
  2049. package/src/store/mappers/mapStorableToTimestamp.ts +6 -10
  2050. package/src/store/mappers/mapTimestampToStorable.ts +4 -9
  2051. package/src/store/schema.ts +1 -4
  2052. package/src/store/sqlite-utils/createDeleteQuery.ts +5 -6
  2053. package/src/store/sqlite-utils/createSelectQuery.ts +8 -7
  2054. package/src/store/sqlite-utils/createUpdateQuery.ts +7 -7
  2055. package/src/store/sqlite-utils/createUpsertQuery.ts +11 -14
  2056. package/src/store/sqlite-utils/createUpsertQueryIfParentExists.ts +14 -24
  2057. package/src/theme/topologicalResolution.ts +8 -13
  2058. package/src/types/react-native-compat.ts +16 -41
  2059. package/src/types/types.ts +46 -100
  2060. package/src/utils/__tests__/getTrimmedAttachmentTitle.test.ts +19 -0
  2061. package/src/utils/attachmentUrls.ts +4 -6
  2062. package/src/utils/compressImage.ts +7 -10
  2063. package/src/utils/getResizedImageUrl.ts +11 -14
  2064. package/src/utils/getTrimmedAttachmentTitle.ts +7 -4
  2065. package/src/utils/getUrlOfImageAttachment.ts +6 -4
  2066. package/src/utils/i18n/Streami18n.ts +31 -47
  2067. package/src/utils/installNativeMultipartAdapter.ts +9 -9
  2068. package/src/utils/isRNVersionGreaterThanOrEqualTo.ts +6 -4
  2069. package/src/utils/react-native-constants.ts +2 -4
  2070. package/src/utils/rtlMirrorSwitchStyle.ts +4 -2
  2071. package/src/utils/utils.ts +57 -55
  2072. package/src/version.json +1 -1
@@ -22,10 +22,20 @@ export const NotificationTargetProvider = ({
22
22
  );
23
23
  };
24
24
 
25
- /** Returns the nearest notification target, if the caller is rendered inside a target provider. */
25
+ /**
26
+ * Returns the nearest notification target, if the caller is rendered inside a target provider.
27
+ *
28
+ * @returns The target, or `undefined` outside a provider.
29
+ */
26
30
  export const useNotificationTargetContext = () => useContext(NotificationTargetContext);
27
31
 
28
- /** Resolves an explicit target or falls back to the nearest compatible target provider. */
32
+ /**
33
+ * Resolves an explicit target or falls back to the nearest compatible target provider.
34
+ *
35
+ * @param params.hostId Exact host ID. Resolves only together with `panel`.
36
+ * @param params.panel Target panel. Without `hostId`, resolves only to the context target of it.
37
+ * @returns The resolved target, or `undefined` when none matches.
38
+ */
29
39
  export const useResolvedNotificationTarget = ({
30
40
  hostId,
31
41
  panel,
@@ -16,7 +16,12 @@ import { useNotificationTargetContext } from '../NotificationTargetContext';
16
16
 
17
17
  export const SYSTEM_NOTIFICATION_TAG = 'system' as const;
18
18
 
19
- /** Returns whether a notification is reserved for system-level consumers instead of snackbars. */
19
+ /**
20
+ * Returns whether a notification is reserved for system-level consumers instead of snackbars.
21
+ *
22
+ * @param notification The notification to test.
23
+ * @returns True when it carries the system tag.
24
+ */
20
25
  export const hasSystemNotificationTag = (notification: Notification) =>
21
26
  notification.tags?.includes(SYSTEM_NOTIFICATION_TAG) ?? false;
22
27
 
@@ -35,7 +40,7 @@ export type NotificationIncidentDescriptor = {
35
40
  export type AddNotificationOptions = {
36
41
  /** Incident metadata used to derive `options.type` when the payload does not provide one. */
37
42
  incident?: NotificationIncidentDescriptor;
38
- /** Exact host target for this notification. Defaults to the nearest notification target provider. */
43
+ /** Exact host target for this notification. Defaults to the nearest target provider. */
39
44
  target?: NotificationTarget;
40
45
  /** Broad panel targets. Use for notifications that should appear in every host of a panel. */
41
46
  targetPanels?: NotificationTargetPanel[];
@@ -53,7 +58,7 @@ export type AddSystemNotification = (
53
58
  payload: AddNotificationPayload,
54
59
  options?: AddSystemNotificationOptions,
55
60
  ) => string;
56
- /** Removes a notification by id. */
61
+ /** Removes a notification by ID. */
57
62
  export type RemoveNotification = (id: string) => void;
58
63
  /** Removes non-system notifications that belong to the current target provider. */
59
64
  export type RemoveNotificationsForCurrentPanel = () => void;
@@ -129,7 +134,11 @@ const mergeNotificationOptions = (
129
134
  };
130
135
  };
131
136
 
132
- /** Returns imperative helpers for dispatching, targeting and dismissing client notifications. */
137
+ /**
138
+ * Returns imperative helpers for dispatching, targeting and dismissing client notifications.
139
+ *
140
+ * @returns The notification helpers.
141
+ */
133
142
  export const useNotificationApi = (): NotificationApi => {
134
143
  const { client } = useChatContext();
135
144
  const contextTarget = useNotificationTargetContext();
@@ -17,7 +17,14 @@ export type UseNotificationsOptions = {
17
17
  target?: NotificationTarget;
18
18
  };
19
19
 
20
- /** Subscribes to the client notification store and returns matching non-system notifications. */
20
+ /**
21
+ * Subscribes to the client notification store and returns matching non-system notifications.
22
+ *
23
+ * @param options.filter Additional filter applied after optional target filtering.
24
+ * @param options.requireTarget When true, returns an empty list unless `target` is provided.
25
+ * @param options.target Exact target used to select notifications for one host.
26
+ * @returns The matching notifications.
27
+ */
21
28
  export const useNotifications = (options?: UseNotificationsOptions): Notification[] => {
22
29
  const { client } = useChatContext();
23
30
  const selector = useCallback(
@@ -14,7 +14,12 @@ export type UseSystemNotificationsOptions = {
14
14
  filter?: UseSystemNotificationsFilter;
15
15
  };
16
16
 
17
- /** Subscribes to notifications tagged as system notifications. */
17
+ /**
18
+ * Subscribes to notifications tagged as system notifications.
19
+ *
20
+ * @param options.filter Additional filter applied to system-tagged notifications.
21
+ * @returns The matching notifications.
22
+ */
18
23
  export const useSystemNotifications = (options?: UseSystemNotificationsOptions): Notification[] => {
19
24
  const { client } = useChatContext();
20
25
  const selector = useCallback(
@@ -4,23 +4,21 @@ import type { NotificationListFilter } from './NotificationList';
4
4
 
5
5
  const ATTACHMENT_UPLOAD_FAILED_TYPE = 'api:attachment:upload:failed';
6
6
 
7
- /**
8
- * A cancelled upload surfaces as an `api:attachment:upload:failed` notification
9
- * whose original error is an `AbortError` (fetch) or `CanceledError` (axios).
10
- * This is what happens when the user removes an attachment before its upload
11
- * has finished - the inflight request is aborted, not genuinely failed.
12
- */
7
+ // Removing an attachment before its upload finishes aborts the request. That surfaces as an
8
+ // `api:attachment:upload:failed` notification whose original error is an `AbortError` (fetch) or
9
+ // `CanceledError` (axios).
13
10
  const isCanceledAttachmentUpload = (notification: Notification) =>
14
11
  notification.type === ATTACHMENT_UPLOAD_FAILED_TYPE &&
15
12
  (notification.originalError?.name === 'CanceledError' ||
16
13
  notification.originalError?.name === 'AbortError');
17
14
 
18
15
  /**
19
- * Notification list filter that keeps every notification except the spurious
20
- * "upload failed" one produced when a user removes an attachment mid-upload
21
- * (a filter returns `true` to keep a notification). Genuine upload failures
22
- * (network, server) are kept because their error is neither aborted nor
23
- * cancelled.
16
+ * Notification list filter that hides the "upload failed" notification produced when a user removes
17
+ * an attachment mid-upload. Genuine upload failures (network, server) stay, as their error is
18
+ * neither an abort nor a cancellation.
19
+ *
20
+ * @param notification The notification to test.
21
+ * @returns `false` for a canceled upload, `true` otherwise.
24
22
  */
25
23
  export const excludeCanceledUploadNotifications: NotificationListFilter = (notification) =>
26
24
  !isCanceledAttachmentUpload(notification);
@@ -15,7 +15,7 @@ export type BuiltInNotificationTargetPanel = (typeof NOTIFICATION_TARGET_PANELS)
15
15
  export type NotificationTargetPanel = BuiltInNotificationTargetPanel | (string & {});
16
16
  /** Exact notification host within a panel. */
17
17
  export type NotificationTarget = {
18
- /** Stable id for a mounted notification host, for example a channel cid-derived id. */
18
+ /** Stable ID of a mounted notification host, such as one derived from a channel `cid`. */
19
19
  hostId: string;
20
20
  /** Surface that owns the host. */
21
21
  panel: NotificationTargetPanel;
@@ -42,21 +42,44 @@ const actionNotificationTargets = new WeakMap<
42
42
  NotificationTargetStackItem[]
43
43
  >();
44
44
 
45
- /** Returns whether a value can be encoded as a notification target panel segment. */
45
+ /**
46
+ * Returns whether a value can be encoded as a notification target panel segment.
47
+ *
48
+ * @param value The value to test.
49
+ * @returns True for a non-empty string without `:`.
50
+ */
46
51
  export const isNotificationTargetPanel = (value: unknown): value is NotificationTargetPanel =>
47
52
  typeof value === 'string' && value.length > 0 && !value.includes(':');
48
53
 
49
- /** Returns whether a value is one of the SDK's built-in notification panels. */
54
+ /**
55
+ * Returns whether a value is one of the SDK's built-in notification panels.
56
+ *
57
+ * @param value The value to test.
58
+ * @returns True for a built-in panel.
59
+ */
50
60
  export const isBuiltInNotificationTargetPanel = (
51
61
  value: unknown,
52
62
  ): value is BuiltInNotificationTargetPanel =>
53
63
  typeof value === 'string' && (NOTIFICATION_TARGET_PANELS as readonly string[]).includes(value);
54
64
 
55
- /** Builds a notification target tag. Without `hostId`, the tag targets every host in the panel. */
65
+ /**
66
+ * Builds a notification target tag. Without `hostId`, the tag targets every host in the panel.
67
+ *
68
+ * @param panel The target panel.
69
+ * @param hostId The exact host within the panel.
70
+ * @returns The tag.
71
+ */
56
72
  export const getNotificationTargetTag = (panel: NotificationTargetPanel, hostId?: string) =>
57
73
  `${NOTIFICATION_TARGET_TAG_PREFIX}${panel}${hostId ? `:${hostId}` : ''}`;
58
74
 
59
- /** Adds a broad or exact target tag to a notification tag list without duplicating tags. */
75
+ /**
76
+ * Adds a broad or exact target tag to a notification tag list without duplicating tags.
77
+ *
78
+ * @param panel The target panel. Without it the tags are returned unchanged.
79
+ * @param tags The existing tags.
80
+ * @param hostId The exact host within the panel. Omit to target the whole panel.
81
+ * @returns The tags, with the target tag first.
82
+ */
60
83
  export const addNotificationTargetTag = (
61
84
  panel: NotificationTargetPanel | undefined,
62
85
  tags?: string[],
@@ -67,17 +90,39 @@ export const addNotificationTargetTag = (
67
90
  return Array.from(new Set([getNotificationTargetTag(panel, hostId), ...(tags ?? [])]));
68
91
  };
69
92
 
70
- /** Adds an exact panel and host target tag to a notification tag list. */
93
+ /**
94
+ * Adds an exact panel and host target tag to a notification tag list.
95
+ *
96
+ * @param target The exact target.
97
+ * @param tags The existing tags.
98
+ * @returns The tags, with the target tag first.
99
+ */
71
100
  export const addExactNotificationTargetTag = (target: NotificationTarget, tags?: string[]) =>
72
101
  addNotificationTargetTag(target.panel, tags, target.hostId);
73
102
 
74
- /** Host id helper for channel notification targets. */
103
+ /**
104
+ * Builds the host ID of a channel notification target.
105
+ *
106
+ * @param cid The channel `cid`.
107
+ * @returns The host ID.
108
+ */
75
109
  export const getChannelNotificationHostId = (cid: string) => `channel:${cid}` as const;
76
110
 
77
- /** Host id helper for thread notification targets. */
111
+ /**
112
+ * Builds the host ID of a thread notification target.
113
+ *
114
+ * @param threadId The thread ID.
115
+ * @returns The host ID.
116
+ */
78
117
  export const getThreadNotificationHostId = (threadId: string) => `thread:${threadId}` as const;
79
118
 
80
- /** Compares notification targets by panel and host id. */
119
+ /**
120
+ * Compares notification targets by panel and host ID.
121
+ *
122
+ * @param left The first target.
123
+ * @param right The second target.
124
+ * @returns True when both are defined and match.
125
+ */
81
126
  export const isNotificationTargetEqual = (
82
127
  left: NotificationTarget | undefined,
83
128
  right: NotificationTarget | undefined,
@@ -107,7 +152,12 @@ const getNotificationTargetTags = (notification: Notification) =>
107
152
  .map(parseNotificationTargetTag)
108
153
  .filter((target): target is ParsedNotificationTargetTag => !!target);
109
154
 
110
- /** Returns whether a tag list already contains a notification target tag. */
155
+ /**
156
+ * Returns whether a tag list already contains a notification target tag.
157
+ *
158
+ * @param tags The tags to search.
159
+ * @returns True when any tag is a target tag.
160
+ */
111
161
  export const hasNotificationTargetTag = (tags: string[] | undefined) =>
112
162
  tags?.some((tag) => !!parseNotificationTargetTag(tag)) ?? false;
113
163
 
@@ -138,7 +188,12 @@ const getNotificationTargetFromComposer = (
138
188
  return cid ? { hostId: getChannelNotificationHostId(cid), panel: 'channel' } : undefined;
139
189
  };
140
190
 
141
- /** Resolves an exact notification target from tags or composer origin metadata. */
191
+ /**
192
+ * Resolves an exact notification target from tags or composer origin metadata.
193
+ *
194
+ * @param notification The notification to resolve.
195
+ * @returns The target, or `undefined` when none resolves.
196
+ */
142
197
  export const getNotificationTarget = (notification: Notification): NotificationTarget | undefined =>
143
198
  getNotificationTargetFromTags(notification) ?? getNotificationTargetFromComposer(notification);
144
199
 
@@ -155,7 +210,12 @@ const getExplicitNotificationTargetPanels = (
155
210
  return isNotificationTargetPanel(panel) ? [panel] : [];
156
211
  };
157
212
 
158
- /** Resolves the first target panel declared or inferred for a notification. */
213
+ /**
214
+ * Resolves the first target panel declared or inferred for a notification.
215
+ *
216
+ * @param notification The notification to resolve.
217
+ * @returns The panel, or `undefined` when none resolves.
218
+ */
159
219
  export const getNotificationTargetPanel = (
160
220
  notification: Notification,
161
221
  ): NotificationTargetPanel | undefined => {
@@ -165,7 +225,12 @@ export const getNotificationTargetPanel = (
165
225
  return getNotificationTarget(notification)?.panel;
166
226
  };
167
227
 
168
- /** Resolves all target panels declared or inferred for a notification. */
228
+ /**
229
+ * Resolves all target panels declared or inferred for a notification.
230
+ *
231
+ * @param notification The notification to resolve.
232
+ * @returns The panels, empty when none resolve.
233
+ */
169
234
  export const getNotificationTargetPanels = (
170
235
  notification: Notification,
171
236
  ): NotificationTargetPanel[] => {
@@ -218,23 +283,45 @@ const getLastNotificationTarget = (
218
283
  return stack?.[stack.length - 1]?.target;
219
284
  };
220
285
 
221
- /** Registers a mounted notification host as the latest active fallback target. */
286
+ /**
287
+ * Registers a mounted notification host as the latest active fallback target.
288
+ *
289
+ * @param owner The notification manager the target belongs to.
290
+ * @param target The host to register.
291
+ * @returns A function that unregisters the target.
292
+ */
222
293
  export const registerActiveNotificationTarget = (
223
294
  owner: NotificationTargetOwner,
224
295
  target: NotificationTarget,
225
296
  ) => registerNotificationTarget(activeNotificationTargets, owner, target);
226
297
 
227
- /** Registers the target for notifications emitted while an action is running. */
298
+ /**
299
+ * Registers the target for notifications emitted while an action is running.
300
+ *
301
+ * @param owner The notification manager the target belongs to.
302
+ * @param target The target to register.
303
+ * @returns A function that unregisters the target.
304
+ */
228
305
  export const registerNotificationActionTarget = (
229
306
  owner: NotificationTargetOwner,
230
307
  target: NotificationTarget,
231
308
  ) => registerNotificationTarget(actionNotificationTargets, owner, target);
232
309
 
233
- /** Returns the latest mounted fallback target for a notification manager owner. */
310
+ /**
311
+ * Returns the latest mounted fallback target for a notification manager owner.
312
+ *
313
+ * @param owner The notification manager.
314
+ * @returns The target, or `undefined` when none is registered.
315
+ */
234
316
  export const getActiveNotificationTarget = (owner: NotificationTargetOwner) =>
235
317
  getLastNotificationTarget(activeNotificationTargets, owner);
236
318
 
237
- /** Returns the latest action-scoped target for a notification manager owner. */
319
+ /**
320
+ * Returns the latest action-scoped target for a notification manager owner.
321
+ *
322
+ * @param owner The notification manager.
323
+ * @returns The target, or `undefined` when none is registered.
324
+ */
238
325
  export const getNotificationActionTarget = (owner: NotificationTargetOwner) =>
239
326
  getLastNotificationTarget(actionNotificationTargets, owner);
240
327
 
@@ -248,7 +335,14 @@ const setNotificationTargetTag = (notification: Notification, target: Notificati
248
335
  notification.tags = addExactNotificationTargetTag(target, notification.tags);
249
336
  };
250
337
 
251
- /** Mutates an unscoped notification by adding the best available exact target tag. */
338
+ /**
339
+ * Mutates an unscoped notification by adding the best available exact target tag. The target comes
340
+ * from the composer origin, then the running action, then the active host.
341
+ *
342
+ * @param owner The notification manager.
343
+ * @param notification The notification to tag.
344
+ * @returns True when a tag was added.
345
+ */
252
346
  export const resolveNotificationTargetTagIfNeeded = (
253
347
  owner: NotificationTargetOwner,
254
348
  notification: Notification,
@@ -277,7 +371,13 @@ export const resolveNotificationTargetTagIfNeeded = (
277
371
  return false;
278
372
  };
279
373
 
280
- /** Returns whether a notification should be consumed by an exact target host. */
374
+ /**
375
+ * Returns whether a notification should be consumed by an exact target host.
376
+ *
377
+ * @param notification The notification to test.
378
+ * @param target The host.
379
+ * @returns True when the host should show it.
380
+ */
281
381
  export const isNotificationForTarget = (notification: Notification, target: NotificationTarget) => {
282
382
  const exactTargets = getExactNotificationTargetTags(notification);
283
383
  if (exactTargets.length > 0) {
@@ -297,7 +397,13 @@ export const isNotificationForTarget = (notification: Notification, target: Noti
297
397
  return false;
298
398
  };
299
399
 
300
- /** Returns whether a notification should be consumed by any host in a panel. */
400
+ /**
401
+ * Returns whether a notification should be consumed by any host in a panel.
402
+ *
403
+ * @param notification The notification to test.
404
+ * @param panel The panel.
405
+ * @returns True when the panel should show it.
406
+ */
301
407
  export const isNotificationForPanel = (
302
408
  notification: Notification,
303
409
  panel: NotificationTargetPanel,
@@ -128,15 +128,11 @@ const translateCommandDisabled = ({
128
128
  /**
129
129
  * A translator for every notification `stream-chat` itself emits.
130
130
  *
131
- * `Record<CoreNotificationType, …>` is the point: a new identifier in core fails to compile here until
132
- * it is mapped, and an entry for one that no longer exists is rejected. Before core exported the union,
133
- * this table and the React SDK's equivalent were hand-maintained copies of each other, and both had
134
- * drifted — carrying entries nothing emits while missing identifiers that fell through to untranslated
135
- * English.
131
+ * `Record<CoreNotificationType, ...>` makes a new core identifier fail to compile until it is
132
+ * mapped, and rejects an entry for one that does not exist.
136
133
  *
137
- * The key *names* stay this SDK's own. They have shipped, integrators' dictionaries are keyed on them,
138
- * and `build-translations` reads the literal string at the call site — a key resolved from a map would
139
- * be invisible to the generator and so would never reach the catalog.
134
+ * The translation keys are literal strings at the call site: integrators' dictionaries use them,
135
+ * and `build-translations` cannot see a key resolved from a map.
140
136
  */
141
137
  const coreNotificationTranslators: Record<CoreNotificationType, NotificationTranslator> = {
142
138
  [CORE_NOTIFICATION_TYPE.attachmentFileMissing]: ({ t }) =>
@@ -148,7 +144,6 @@ const coreNotificationTranslators: Record<CoreNotificationType, NotificationTran
148
144
  [CORE_NOTIFICATION_TYPE.attachmentUploadInProgress]: ({ t }) =>
149
145
  t('notifications.attachmentUploadInProgress.error', 'Wait until all attachments have uploaded'),
150
146
  [CORE_NOTIFICATION_TYPE.commandDisabled]: translateCommandDisabled,
151
- // The three below were unmapped, so they rendered untranslated English from `notification.message`.
152
147
  [CORE_NOTIFICATION_TYPE.commandNotReady]: ({ t }) =>
153
148
  t('notifications.commandNotReady.error', 'Command not ready to be sent'),
154
149
  [CORE_NOTIFICATION_TYPE.locationCreateFailed]: ({ t }) =>
@@ -157,7 +152,7 @@ const coreNotificationTranslators: Record<CoreNotificationType, NotificationTran
157
152
  t('notifications.messageJumpFailed.error', 'Failed to jump to the message'),
158
153
  [CORE_NOTIFICATION_TYPE.messageJumpToLatestFailed]: ({ t }) =>
159
154
  t('notifications.messageJumpToLatestFailed.error', 'Failed to jump to the latest message'),
160
- // The composer's send and update failures, which the SDK used to report itself with this copy.
155
+ // The composer's send and update failures.
161
156
  [CORE_NOTIFICATION_TYPE.messageSendFailed]: ({ t }) =>
162
157
  t('common.sendMessageFailed.error', 'Send message request failed'),
163
158
  [CORE_NOTIFICATION_TYPE.messageUpdateFailed]: ({ t }) =>
@@ -171,12 +166,10 @@ const coreNotificationTranslators: Record<CoreNotificationType, NotificationTran
171
166
  };
172
167
 
173
168
  /**
174
- * Translators for notifications this SDK emits itself, which core knows nothing about.
169
+ * Translators for notifications this SDK emits itself, which core does not know about.
175
170
  *
176
- * Deliberately not exhaustiveness-checked — there is no union to check against — so keep it to
177
- * identifiers that are actually emitted. `api:reply:search:failed`, `api:location:share:failed` and
178
- * `browser:location:get:failed` were removed: all three were copied over from the React SDK and none is
179
- * emitted here.
171
+ * Not exhaustiveness-checked, as there is no union to check against, so keep it to identifiers that
172
+ * are actually emitted.
180
173
  */
181
174
  const sdkNotificationTranslators: Record<string, NotificationTranslator> = {
182
175
  'api:poll:end:failed': translatePollEndFailed,
@@ -205,8 +198,6 @@ export const getNotificationDisplayMessage = ({
205
198
  : undefined;
206
199
 
207
200
  // An unrecognized identifier renders `message` verbatim. It is untranslated English, but a newer
208
- // core — or an integrator emitting its own identifier — must not produce an empty toast. This used
209
- // to run the message through a table of English sentences, which is the mechanism core's `type`
210
- // replaced: matching on prose went stale silently on every core upgrade.
201
+ // core or an integrator's own identifier must not produce an empty toast.
211
202
  return translator ? translator({ notification, t }) : notification.message;
212
203
  };
@@ -53,7 +53,7 @@ export const CreatePollContent = () => {
53
53
  const optionsRef = useRef(options);
54
54
  optionsRef.current = options;
55
55
 
56
- // positions and index lookup map
56
+ // Option positions and the index lookup map.
57
57
  // TODO: Please rethink the structure of this, bidirectional data flow is not great
58
58
  const currentOptionPositions = useSharedValue<CurrentOptionPositionsCache>({
59
59
  inverseIndexCache: {},
@@ -81,8 +81,8 @@ export const CreatePollContent = () => {
81
81
  currentPositions.positionCache[option.id] !== undefined,
82
82
  );
83
83
 
84
- // Avoid overwriting freshly measured heights/tops from CreatePollOptions onLayout.
85
- // We only need this effect when options ids/order introduced missing cache entries.
84
+ // Skip when the cache matches the options, so heights and tops measured by the `onLayout` of
85
+ // `CreatePollOptions` are kept.
86
86
  if (isCacheAlignedWithOptions) {
87
87
  return;
88
88
  }
@@ -121,7 +121,9 @@ export const CreatePollContent = () => {
121
121
  async (value: boolean) => {
122
122
  setIsAnonymousPoll(value);
123
123
  await pollComposer.updateFields({
124
- voting_visibility: value ? 'anonymous' : 'public',
124
+ data: {
125
+ voting_visibility: value ? 'anonymous' : 'public',
126
+ },
125
127
  });
126
128
  },
127
129
  [pollComposer],
@@ -130,7 +132,7 @@ export const CreatePollContent = () => {
130
132
  const onAllowUserSuggestedOptionsChangeHandler = useCallback(
131
133
  async (value: boolean) => {
132
134
  setAllowUserSuggestedOptions(value);
133
- await pollComposer.updateFields({ allow_user_suggested_options: value });
135
+ await pollComposer.updateFields({ data: { allow_user_suggested_options: value } });
134
136
  },
135
137
  [pollComposer],
136
138
  );
@@ -138,7 +140,7 @@ export const CreatePollContent = () => {
138
140
  const onAllowAnswersChangeHandler = useCallback(
139
141
  async (value: boolean) => {
140
142
  setAllowAnswers(value);
141
- await pollComposer.updateFields({ allow_answers: value });
143
+ await pollComposer.updateFields({ data: { allow_answers: value } });
142
144
  },
143
145
  [pollComposer],
144
146
  );
@@ -239,7 +241,7 @@ export const CreatePoll = ({
239
241
  return;
240
242
  }
241
243
 
242
- // Let the modal render once with exit animations disabled before we dismiss it.
244
+ // Let the modal render once with exit animations disabled before it is dismissed.
243
245
  modalStateStore.partialNext({ isClosing: true });
244
246
  closeFrameRef.current = requestAnimationFrame(() => {
245
247
  closeFrameRef.current = null;
@@ -11,8 +11,8 @@ export type PollButtonProps = {
11
11
 
12
12
  export type PollVoteButtonProps = {
13
13
  /**
14
- * Render with the incoming chat tokens regardless of poll ownership. Set on
15
- * surfaces that are not a message bubble, such as the full-options list.
14
+ * Renders with the incoming chat tokens regardless of poll ownership. Set it outside a message
15
+ * bubble, such as in the full-options list.
16
16
  */
17
17
  forceIncoming?: boolean;
18
18
  option: PollOptionResponseData;
@@ -10,15 +10,9 @@ import { Button } from '../../ui';
10
10
  import { useCanCreatePoll } from '../hooks/useCanCreatePoll';
11
11
 
12
12
  export type CreatePollHeaderProps = {
13
- /**
14
- * Handler for back button press
15
- * @returns void
16
- */
13
+ /** Called when the back button is pressed. */
17
14
  onBackPressHandler: () => void;
18
- /**
19
- * Handler for create poll button press
20
- * @returns void
21
- */
15
+ /** Called when the create poll button is pressed. */
22
16
  onCreatePollPressHandler: () => void;
23
17
  };
24
18
 
@@ -60,9 +60,9 @@ export type CreatePollOptionType = {
60
60
  optionId: string;
61
61
  onOptionLayout: (optionId: string, height: number) => void;
62
62
  /**
63
+ * Called after a reorder.
63
64
  *
64
- * @param newOrder The inverse index object of the new options position after re-ordering.
65
- * @returns
65
+ * @param newOrder The new inverse index cache (position to option ID).
66
66
  */
67
67
  onNewOrder: (newOrder: CurrentOptionPositionsCache['inverseIndexCache']) => void;
68
68
  onRemoveOption: (optionId: string) => void;
@@ -290,9 +290,8 @@ export const CreatePollOption = ({
290
290
  const { icons } = useComponentsContext();
291
291
  const { createPollOptionGap = 8 } = useCreatePollContentContext();
292
292
 
293
- // Keyed on `stream-chat`'s stable validation code. This used to match on the English sentence the
294
- // composer returned, which meant a reworded message in a `stream-chat` patch silently stopped
295
- // translating. `error.message` remains the fallback so an unrecognized code renders readable text.
293
+ // Keyed on `stream-chat`'s stable validation code; `error.message` is the fallback for an
294
+ // unrecognized code.
296
295
  const knownValidationErrors = useMemo<Partial<Record<PollComposerValidationCode, string>>>(
297
296
  () => ({
298
297
  [POLL_COMPOSER_VALIDATION_CODE.optionDuplicate]: t(
@@ -340,13 +339,10 @@ export const CreatePollOption = ({
340
339
  () => currentOptionPositions.value,
341
340
  );
342
341
 
343
- // Target index computed during drag.
344
342
  const newIndex = useSharedValue<number | null>(null);
345
343
 
346
- // Current dragged item's index in the live reorder cache.
347
344
  const currentIndex = useSharedValue<number | null>(null);
348
345
 
349
- // Keep drag translation anchored to drag-start top.
350
346
  const dragStartTop = useSharedValue(0);
351
347
  const previousDragTop = useSharedValue(0);
352
348
 
@@ -366,13 +362,10 @@ export const CreatePollOption = ({
366
362
  return;
367
363
  }
368
364
 
369
- // start dragging
370
365
  isDragging.value = withSpring(1);
371
366
 
372
- // keep track of dragged item
373
367
  draggedItemId.value = optionId;
374
368
 
375
- // capture drag start position/index
376
369
  currentIndex.value = currentPosition.updatedIndex;
377
370
  dragStartTop.value = currentPosition.updatedTop;
378
371
  previousDragTop.value = currentPosition.updatedTop;
@@ -393,14 +386,12 @@ export const CreatePollOption = ({
393
386
  const frameDeltaY = newTop - previousDragTop.value;
394
387
  previousDragTop.value = newTop;
395
388
 
396
- // we add a small leeway to account for sharp animations which tend to bug out otherwise
389
+ // A small leeway past the bounds avoids glitches in sharp animations.
397
390
  if (newTop < -10 || newTop > maxBound + 10) {
398
- // out of bounds, exit out of the animation early
399
391
  return;
400
392
  }
401
393
  top.value = newTop;
402
394
 
403
- // calculate the new index where drag is headed to
404
395
  const draggedTop = newTop;
405
396
  const draggedBottom = newTop + draggedItemPosition.updatedHeight;
406
397
  newIndex.value = findTargetIndex(
@@ -449,7 +440,6 @@ export const CreatePollOption = ({
449
440
  : undefined;
450
441
  top.value = withSpring(currentDragTop ?? top.value);
451
442
 
452
- // stop dragging
453
443
  isDragging.value = withDelay(200, withSpring(0));
454
444
  draggedItemId.value = null;
455
445
  currentIndex.value = null;
@@ -585,7 +575,9 @@ export const CreatePollOptions = ({ currentOptionPositions }: CreatePollOptionsP
585
575
  const updateOption = useCallback(
586
576
  (newText: string, index: number) => {
587
577
  pollComposer.updateFields({
588
- options: { index, text: newText },
578
+ data: {
579
+ options: { index, text: newText },
580
+ },
589
581
  });
590
582
  },
591
583
  [pollComposer],
@@ -595,13 +587,12 @@ export const CreatePollOptions = ({ currentOptionPositions }: CreatePollOptionsP
595
587
  pollComposer.handleFieldBlur('options');
596
588
  }, [pollComposer]);
597
589
 
598
- // used to know if drag is happening or not
590
+ // 1 while an option is being dragged.
599
591
  const isDragging = useSharedValue<0 | 1>(0);
600
592
 
601
- // this will hold id for item which user started dragging
593
+ // ID of the option being dragged.
602
594
  const draggedItemId = useSharedValue<string | null>(null);
603
595
 
604
- // holds the animated height of the option container
605
596
  const animatedOptionsContainerHeight = useSharedValue(currentOptionPositions.value.totalHeight);
606
597
 
607
598
  useAnimatedReaction(
@@ -651,7 +642,9 @@ export const CreatePollOptions = ({ currentOptionPositions }: CreatePollOptionsP
651
642
  }
652
643
 
653
644
  await pollComposer.updateFields({
654
- options: reorderedPollOptions,
645
+ data: {
646
+ options: reorderedPollOptions,
647
+ },
655
648
  });
656
649
  },
657
650
  [pollComposer],
@@ -664,7 +657,9 @@ export const CreatePollOptions = ({ currentOptionPositions }: CreatePollOptionsP
664
657
  return;
665
658
  }
666
659
  pollComposer.updateFields({
667
- options: latestOptions.filter((option) => option.id !== optionId),
660
+ data: {
661
+ options: latestOptions.filter((option) => option.id !== optionId),
662
+ },
668
663
  });
669
664
  },
670
665
  [pollComposer],