stream-chat-react-native-core 5.27.0-beta.9 → 5.27.1-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2500) hide show
  1. package/lib/commonjs/components/Attachment/Attachment.js +23 -101
  2. package/lib/commonjs/components/Attachment/Attachment.js.map +1 -1
  3. package/lib/commonjs/components/Attachment/AttachmentActions.js +26 -49
  4. package/lib/commonjs/components/Attachment/AttachmentActions.js.map +1 -1
  5. package/lib/commonjs/components/Attachment/AudioAttachment.js +73 -139
  6. package/lib/commonjs/components/Attachment/AudioAttachment.js.map +1 -1
  7. package/lib/commonjs/components/Attachment/Card.js +67 -162
  8. package/lib/commonjs/components/Attachment/Card.js.map +1 -1
  9. package/lib/commonjs/components/Attachment/FileAttachment.js +33 -78
  10. package/lib/commonjs/components/Attachment/FileAttachment.js.map +1 -1
  11. package/lib/commonjs/components/Attachment/FileAttachmentGroup.js +47 -81
  12. package/lib/commonjs/components/Attachment/FileAttachmentGroup.js.map +1 -1
  13. package/lib/commonjs/components/Attachment/FileIcon.js +3 -10
  14. package/lib/commonjs/components/Attachment/FileIcon.js.map +1 -1
  15. package/lib/commonjs/components/Attachment/Gallery.js +131 -218
  16. package/lib/commonjs/components/Attachment/Gallery.js.map +1 -1
  17. package/lib/commonjs/components/Attachment/GalleryImage.js +5 -24
  18. package/lib/commonjs/components/Attachment/GalleryImage.js.map +1 -1
  19. package/lib/commonjs/components/Attachment/Giphy.js +151 -295
  20. package/lib/commonjs/components/Attachment/Giphy.js.map +1 -1
  21. package/lib/commonjs/components/Attachment/ImageLoadingFailedIndicator.js +19 -40
  22. package/lib/commonjs/components/Attachment/ImageLoadingFailedIndicator.js.map +1 -1
  23. package/lib/commonjs/components/Attachment/ImageLoadingIndicator.js +3 -15
  24. package/lib/commonjs/components/Attachment/ImageLoadingIndicator.js.map +1 -1
  25. package/lib/commonjs/components/Attachment/ImageReloadIndicator.js +8 -18
  26. package/lib/commonjs/components/Attachment/ImageReloadIndicator.js.map +1 -1
  27. package/lib/commonjs/components/Attachment/VideoThumbnail.js +13 -28
  28. package/lib/commonjs/components/Attachment/VideoThumbnail.js.map +1 -1
  29. package/lib/commonjs/components/Attachment/utils/buildGallery/buildGallery.js.map +1 -1
  30. package/lib/commonjs/components/Attachment/utils/buildGallery/buildGalleryOfSingleImage.js +2 -4
  31. package/lib/commonjs/components/Attachment/utils/buildGallery/buildGalleryOfSingleImage.js.map +1 -1
  32. package/lib/commonjs/components/Attachment/utils/buildGallery/buildGalleryOfThreeImages.js +1 -2
  33. package/lib/commonjs/components/Attachment/utils/buildGallery/buildGalleryOfThreeImages.js.map +1 -1
  34. package/lib/commonjs/components/Attachment/utils/buildGallery/buildGalleryOfTwoImages.js.map +1 -1
  35. package/lib/commonjs/components/Attachment/utils/buildGallery/buildThumbnail.js.map +1 -1
  36. package/lib/commonjs/components/Attachment/utils/buildGallery/buildThumbnailGrid.js.map +1 -1
  37. package/lib/commonjs/components/Attachment/utils/buildGallery/types.js.map +1 -1
  38. package/lib/commonjs/components/Attachment/utils/getAspectRatio.js.map +1 -1
  39. package/lib/commonjs/components/Attachment/utils/getGalleryImageBorderRadius.js +1 -1
  40. package/lib/commonjs/components/Attachment/utils/getGalleryImageBorderRadius.js.map +1 -1
  41. package/lib/commonjs/components/Attachment/utils/getGiphyMimeType.js.map +1 -1
  42. package/lib/commonjs/components/Attachment/utils/openUrlSafely.js +1 -1
  43. package/lib/commonjs/components/Attachment/utils/openUrlSafely.js.map +1 -1
  44. package/lib/commonjs/components/AttachmentPicker/AttachmentPicker.js +37 -57
  45. package/lib/commonjs/components/AttachmentPicker/AttachmentPicker.js.map +1 -1
  46. package/lib/commonjs/components/AttachmentPicker/components/AttachmentPickerBottomSheetHandle.js +10 -20
  47. package/lib/commonjs/components/AttachmentPicker/components/AttachmentPickerBottomSheetHandle.js.map +1 -1
  48. package/lib/commonjs/components/AttachmentPicker/components/AttachmentPickerError.js +16 -37
  49. package/lib/commonjs/components/AttachmentPicker/components/AttachmentPickerError.js.map +1 -1
  50. package/lib/commonjs/components/AttachmentPicker/components/AttachmentPickerErrorImage.js +3 -8
  51. package/lib/commonjs/components/AttachmentPicker/components/AttachmentPickerErrorImage.js.map +1 -1
  52. package/lib/commonjs/components/AttachmentPicker/components/AttachmentPickerIOSSelectMorePhotos.js +9 -18
  53. package/lib/commonjs/components/AttachmentPicker/components/AttachmentPickerIOSSelectMorePhotos.js.map +1 -1
  54. package/lib/commonjs/components/AttachmentPicker/components/AttachmentPickerItem.js +54 -126
  55. package/lib/commonjs/components/AttachmentPicker/components/AttachmentPickerItem.js.map +1 -1
  56. package/lib/commonjs/components/AttachmentPicker/components/AttachmentSelectionBar.js +48 -100
  57. package/lib/commonjs/components/AttachmentPicker/components/AttachmentSelectionBar.js.map +1 -1
  58. package/lib/commonjs/components/AttachmentPicker/components/CameraSelectorIcon.js +3 -8
  59. package/lib/commonjs/components/AttachmentPicker/components/CameraSelectorIcon.js.map +1 -1
  60. package/lib/commonjs/components/AttachmentPicker/components/FileSelectorIcon.js +3 -8
  61. package/lib/commonjs/components/AttachmentPicker/components/FileSelectorIcon.js.map +1 -1
  62. package/lib/commonjs/components/AttachmentPicker/components/ImageOverlaySelectedComponent.js +4 -15
  63. package/lib/commonjs/components/AttachmentPicker/components/ImageOverlaySelectedComponent.js.map +1 -1
  64. package/lib/commonjs/components/AttachmentPicker/components/ImageSelectorIcon.js +3 -8
  65. package/lib/commonjs/components/AttachmentPicker/components/ImageSelectorIcon.js.map +1 -1
  66. package/lib/commonjs/components/AutoCompleteInput/AutoCompleteInput.js +226 -145
  67. package/lib/commonjs/components/AutoCompleteInput/AutoCompleteInput.js.map +1 -1
  68. package/lib/commonjs/components/AutoCompleteInput/AutoCompleteSuggestionCommandIcon.js +45 -134
  69. package/lib/commonjs/components/AutoCompleteInput/AutoCompleteSuggestionCommandIcon.js.map +1 -1
  70. package/lib/commonjs/components/AutoCompleteInput/AutoCompleteSuggestionHeader.js +24 -63
  71. package/lib/commonjs/components/AutoCompleteInput/AutoCompleteSuggestionHeader.js.map +1 -1
  72. package/lib/commonjs/components/AutoCompleteInput/AutoCompleteSuggestionItem.js +55 -125
  73. package/lib/commonjs/components/AutoCompleteInput/AutoCompleteSuggestionItem.js.map +1 -1
  74. package/lib/commonjs/components/AutoCompleteInput/AutoCompleteSuggestionList.js +31 -71
  75. package/lib/commonjs/components/AutoCompleteInput/AutoCompleteSuggestionList.js.map +1 -1
  76. package/lib/commonjs/components/Avatar/Avatar.js +45 -84
  77. package/lib/commonjs/components/Avatar/Avatar.js.map +1 -1
  78. package/lib/commonjs/components/Avatar/GroupAvatar.js +42 -65
  79. package/lib/commonjs/components/Avatar/GroupAvatar.js.map +1 -1
  80. package/lib/commonjs/components/Channel/Channel.js +90 -170
  81. package/lib/commonjs/components/Channel/Channel.js.map +1 -1
  82. package/lib/commonjs/components/Channel/hooks/useCreateChannelContext.js.map +1 -1
  83. package/lib/commonjs/components/Channel/hooks/useCreateInputMessageInputContext.js.map +1 -1
  84. package/lib/commonjs/components/Channel/hooks/useCreateMessagesContext.js.map +1 -1
  85. package/lib/commonjs/components/Channel/hooks/useCreateOwnCapabilitiesContext.js +1 -2
  86. package/lib/commonjs/components/Channel/hooks/useCreateOwnCapabilitiesContext.js.map +1 -1
  87. package/lib/commonjs/components/Channel/hooks/useCreatePaginatedMessageListContext.js.map +1 -1
  88. package/lib/commonjs/components/Channel/hooks/useCreateThreadContext.js.map +1 -1
  89. package/lib/commonjs/components/Channel/hooks/useCreateTypingContext.js.map +1 -1
  90. package/lib/commonjs/components/Channel/hooks/useTargetedMessage.js.map +1 -1
  91. package/lib/commonjs/components/ChannelList/ChannelList.js +12 -23
  92. package/lib/commonjs/components/ChannelList/ChannelList.js.map +1 -1
  93. package/lib/commonjs/components/ChannelList/ChannelListFooterLoadingIndicator.js +7 -17
  94. package/lib/commonjs/components/ChannelList/ChannelListFooterLoadingIndicator.js.map +1 -1
  95. package/lib/commonjs/components/ChannelList/ChannelListHeaderErrorIndicator.js +11 -20
  96. package/lib/commonjs/components/ChannelList/ChannelListHeaderErrorIndicator.js.map +1 -1
  97. package/lib/commonjs/components/ChannelList/ChannelListHeaderNetworkDownIndicator.js +10 -19
  98. package/lib/commonjs/components/ChannelList/ChannelListHeaderNetworkDownIndicator.js.map +1 -1
  99. package/lib/commonjs/components/ChannelList/ChannelListLoadingIndicator.js +6 -18
  100. package/lib/commonjs/components/ChannelList/ChannelListLoadingIndicator.js.map +1 -1
  101. package/lib/commonjs/components/ChannelList/ChannelListMessenger.js +51 -136
  102. package/lib/commonjs/components/ChannelList/ChannelListMessenger.js.map +1 -1
  103. package/lib/commonjs/components/ChannelList/Skeleton.js +50 -120
  104. package/lib/commonjs/components/ChannelList/Skeleton.js.map +1 -1
  105. package/lib/commonjs/components/ChannelList/hooks/listeners/useAddedToChannelNotification.js.map +1 -1
  106. package/lib/commonjs/components/ChannelList/hooks/listeners/useChannelDeleted.js.map +1 -1
  107. package/lib/commonjs/components/ChannelList/hooks/listeners/useChannelHidden.js.map +1 -1
  108. package/lib/commonjs/components/ChannelList/hooks/listeners/useChannelTruncated.js.map +1 -1
  109. package/lib/commonjs/components/ChannelList/hooks/listeners/useChannelUpdated.js +1 -2
  110. package/lib/commonjs/components/ChannelList/hooks/listeners/useChannelUpdated.js.map +1 -1
  111. package/lib/commonjs/components/ChannelList/hooks/listeners/useChannelVisible.js.map +1 -1
  112. package/lib/commonjs/components/ChannelList/hooks/listeners/useNewMessage.js.map +1 -1
  113. package/lib/commonjs/components/ChannelList/hooks/listeners/useNewMessageNotification.js.map +1 -1
  114. package/lib/commonjs/components/ChannelList/hooks/listeners/useRemovedFromChannelNotification.js.map +1 -1
  115. package/lib/commonjs/components/ChannelList/hooks/listeners/useUserPresence.js.map +1 -1
  116. package/lib/commonjs/components/ChannelList/hooks/useCreateChannelsContext.js +2 -2
  117. package/lib/commonjs/components/ChannelList/hooks/useCreateChannelsContext.js.map +1 -1
  118. package/lib/commonjs/components/ChannelList/hooks/usePaginatedChannels.js +2 -3
  119. package/lib/commonjs/components/ChannelList/hooks/usePaginatedChannels.js.map +1 -1
  120. package/lib/commonjs/components/ChannelList/utils.js +3 -3
  121. package/lib/commonjs/components/ChannelList/utils.js.map +1 -1
  122. package/lib/commonjs/components/ChannelPreview/ChannelAvatar.js +7 -25
  123. package/lib/commonjs/components/ChannelPreview/ChannelAvatar.js.map +1 -1
  124. package/lib/commonjs/components/ChannelPreview/ChannelPreview.js +8 -21
  125. package/lib/commonjs/components/ChannelPreview/ChannelPreview.js.map +1 -1
  126. package/lib/commonjs/components/ChannelPreview/ChannelPreviewMessage.js +11 -21
  127. package/lib/commonjs/components/ChannelPreview/ChannelPreviewMessage.js.map +1 -1
  128. package/lib/commonjs/components/ChannelPreview/ChannelPreviewMessenger.js +38 -107
  129. package/lib/commonjs/components/ChannelPreview/ChannelPreviewMessenger.js.map +1 -1
  130. package/lib/commonjs/components/ChannelPreview/ChannelPreviewMutedStatus.js +3 -8
  131. package/lib/commonjs/components/ChannelPreview/ChannelPreviewMutedStatus.js.map +1 -1
  132. package/lib/commonjs/components/ChannelPreview/ChannelPreviewStatus.js +13 -37
  133. package/lib/commonjs/components/ChannelPreview/ChannelPreviewStatus.js.map +1 -1
  134. package/lib/commonjs/components/ChannelPreview/ChannelPreviewTitle.js +4 -8
  135. package/lib/commonjs/components/ChannelPreview/ChannelPreviewTitle.js.map +1 -1
  136. package/lib/commonjs/components/ChannelPreview/ChannelPreviewUnreadCount.js +8 -17
  137. package/lib/commonjs/components/ChannelPreview/ChannelPreviewUnreadCount.js.map +1 -1
  138. package/lib/commonjs/components/ChannelPreview/hooks/useChannelPreviewDisplayAvatar.js.map +1 -1
  139. package/lib/commonjs/components/ChannelPreview/hooks/useChannelPreviewDisplayName.js +5 -5
  140. package/lib/commonjs/components/ChannelPreview/hooks/useChannelPreviewDisplayName.js.map +1 -1
  141. package/lib/commonjs/components/ChannelPreview/hooks/useChannelPreviewDisplayPresence.js.map +1 -1
  142. package/lib/commonjs/components/ChannelPreview/hooks/useLatestMessagePreview.js +5 -5
  143. package/lib/commonjs/components/ChannelPreview/hooks/useLatestMessagePreview.js.map +1 -1
  144. package/lib/commonjs/components/Chat/Chat.js +19 -46
  145. package/lib/commonjs/components/Chat/Chat.js.map +1 -1
  146. package/lib/commonjs/components/Chat/hooks/handleEventToSyncDB.js +100 -37
  147. package/lib/commonjs/components/Chat/hooks/handleEventToSyncDB.js.map +1 -1
  148. package/lib/commonjs/components/Chat/hooks/useAppSettings.js +3 -3
  149. package/lib/commonjs/components/Chat/hooks/useAppSettings.js.map +1 -1
  150. package/lib/commonjs/components/Chat/hooks/useCreateChatContext.js +1 -1
  151. package/lib/commonjs/components/Chat/hooks/useCreateChatContext.js.map +1 -1
  152. package/lib/commonjs/components/Chat/hooks/useIsOnline.js.map +1 -1
  153. package/lib/commonjs/components/Chat/hooks/useMutedUsers.js.map +1 -1
  154. package/lib/commonjs/components/Chat/hooks/useSyncDatabase.js +3 -1
  155. package/lib/commonjs/components/Chat/hooks/useSyncDatabase.js.map +1 -1
  156. package/lib/commonjs/components/ImageBackground.js +12 -23
  157. package/lib/commonjs/components/ImageBackground.js.map +1 -1
  158. package/lib/commonjs/components/ImageGallery/ImageGallery.js +162 -258
  159. package/lib/commonjs/components/ImageGallery/ImageGallery.js.map +1 -1
  160. package/lib/commonjs/components/ImageGallery/components/AnimatedGalleryImage.js +7 -18
  161. package/lib/commonjs/components/ImageGallery/components/AnimatedGalleryImage.js.map +1 -1
  162. package/lib/commonjs/components/ImageGallery/components/AnimatedGalleryVideo.js +39 -66
  163. package/lib/commonjs/components/ImageGallery/components/AnimatedGalleryVideo.js.map +1 -1
  164. package/lib/commonjs/components/ImageGallery/components/ImageGalleryFooter.js +74 -151
  165. package/lib/commonjs/components/ImageGallery/components/ImageGalleryFooter.js.map +1 -1
  166. package/lib/commonjs/components/ImageGallery/components/ImageGalleryHeader.js +45 -97
  167. package/lib/commonjs/components/ImageGallery/components/ImageGalleryHeader.js.map +1 -1
  168. package/lib/commonjs/components/ImageGallery/components/ImageGalleryOverlay.js +10 -20
  169. package/lib/commonjs/components/ImageGallery/components/ImageGalleryOverlay.js.map +1 -1
  170. package/lib/commonjs/components/ImageGallery/components/ImageGalleryVideoControl.js +42 -84
  171. package/lib/commonjs/components/ImageGallery/components/ImageGalleryVideoControl.js.map +1 -1
  172. package/lib/commonjs/components/ImageGallery/components/ImageGrid.js +26 -60
  173. package/lib/commonjs/components/ImageGallery/components/ImageGrid.js.map +1 -1
  174. package/lib/commonjs/components/ImageGallery/components/ImageGridHandle.js +22 -48
  175. package/lib/commonjs/components/ImageGallery/components/ImageGridHandle.js.map +1 -1
  176. package/lib/commonjs/components/ImageGallery/hooks/useImageGalleryGestures.js.map +1 -1
  177. package/lib/commonjs/components/Indicators/EmptyStateIndicator.js +24 -49
  178. package/lib/commonjs/components/Indicators/EmptyStateIndicator.js.map +1 -1
  179. package/lib/commonjs/components/Indicators/LoadingDot.js +5 -10
  180. package/lib/commonjs/components/Indicators/LoadingDot.js.map +1 -1
  181. package/lib/commonjs/components/Indicators/LoadingDots.js +17 -28
  182. package/lib/commonjs/components/Indicators/LoadingDots.js.map +1 -1
  183. package/lib/commonjs/components/Indicators/LoadingErrorIndicator.js +22 -53
  184. package/lib/commonjs/components/Indicators/LoadingErrorIndicator.js.map +1 -1
  185. package/lib/commonjs/components/Indicators/LoadingIndicator.js +21 -60
  186. package/lib/commonjs/components/Indicators/LoadingIndicator.js.map +1 -1
  187. package/lib/commonjs/components/KeyboardCompatibleView/KeyboardCompatibleView.js +46 -91
  188. package/lib/commonjs/components/KeyboardCompatibleView/KeyboardCompatibleView.js.map +1 -1
  189. package/lib/commonjs/components/KeyboardCompatibleView/KeyboardCompatibleViewFC.js +52 -93
  190. package/lib/commonjs/components/KeyboardCompatibleView/KeyboardCompatibleViewFC.js.map +1 -1
  191. package/lib/commonjs/components/Message/Message.js +34 -74
  192. package/lib/commonjs/components/Message/Message.js.map +1 -1
  193. package/lib/commonjs/components/Message/MessageSimple/MessageAvatar.js +14 -38
  194. package/lib/commonjs/components/Message/MessageSimple/MessageAvatar.js.map +1 -1
  195. package/lib/commonjs/components/Message/MessageSimple/MessageBounce.js +17 -22
  196. package/lib/commonjs/components/Message/MessageSimple/MessageBounce.js.map +1 -1
  197. package/lib/commonjs/components/Message/MessageSimple/MessageContent.js +72 -173
  198. package/lib/commonjs/components/Message/MessageSimple/MessageContent.js.map +1 -1
  199. package/lib/commonjs/components/Message/MessageSimple/MessageDeleted.js +29 -58
  200. package/lib/commonjs/components/Message/MessageSimple/MessageDeleted.js.map +1 -1
  201. package/lib/commonjs/components/Message/MessageSimple/MessageError.js +9 -26
  202. package/lib/commonjs/components/Message/MessageSimple/MessageError.js.map +1 -1
  203. package/lib/commonjs/components/Message/MessageSimple/MessageFooter.js +47 -106
  204. package/lib/commonjs/components/Message/MessageSimple/MessageFooter.js.map +1 -1
  205. package/lib/commonjs/components/Message/MessageSimple/MessagePinnedHeader.js +13 -36
  206. package/lib/commonjs/components/Message/MessageSimple/MessagePinnedHeader.js.map +1 -1
  207. package/lib/commonjs/components/Message/MessageSimple/MessageReplies.js +66 -122
  208. package/lib/commonjs/components/Message/MessageSimple/MessageReplies.js.map +1 -1
  209. package/lib/commonjs/components/Message/MessageSimple/MessageRepliesAvatars.js +22 -45
  210. package/lib/commonjs/components/Message/MessageSimple/MessageRepliesAvatars.js.map +1 -1
  211. package/lib/commonjs/components/Message/MessageSimple/MessageSimple.js +20 -56
  212. package/lib/commonjs/components/Message/MessageSimple/MessageSimple.js.map +1 -1
  213. package/lib/commonjs/components/Message/MessageSimple/MessageStatus.js +24 -79
  214. package/lib/commonjs/components/Message/MessageSimple/MessageStatus.js.map +1 -1
  215. package/lib/commonjs/components/Message/MessageSimple/MessageTextContainer.js +21 -39
  216. package/lib/commonjs/components/Message/MessageSimple/MessageTextContainer.js.map +1 -1
  217. package/lib/commonjs/components/Message/MessageSimple/ReactionList.js +123 -226
  218. package/lib/commonjs/components/Message/MessageSimple/ReactionList.js.map +1 -1
  219. package/lib/commonjs/components/Message/MessageSimple/utils/generateMarkdownText.js +20 -12
  220. package/lib/commonjs/components/Message/MessageSimple/utils/generateMarkdownText.js.map +1 -1
  221. package/lib/commonjs/components/Message/MessageSimple/utils/generateMarkdownText.test.js.map +1 -1
  222. package/lib/commonjs/components/Message/MessageSimple/utils/parseLinks.js.map +1 -1
  223. package/lib/commonjs/components/Message/MessageSimple/utils/parseLinks.test.js.map +1 -1
  224. package/lib/commonjs/components/Message/MessageSimple/utils/renderText.js +75 -164
  225. package/lib/commonjs/components/Message/MessageSimple/utils/renderText.js.map +1 -1
  226. package/lib/commonjs/components/Message/MessageSimple/utils/renderText.test.js +32 -65
  227. package/lib/commonjs/components/Message/MessageSimple/utils/renderText.test.js.map +1 -1
  228. package/lib/commonjs/components/Message/hooks/useCreateMessageContext.js +4 -4
  229. package/lib/commonjs/components/Message/hooks/useCreateMessageContext.js.map +1 -1
  230. package/lib/commonjs/components/Message/hooks/useMessageActionHandlers.js.map +1 -1
  231. package/lib/commonjs/components/Message/hooks/useMessageActions.js +25 -90
  232. package/lib/commonjs/components/Message/hooks/useMessageActions.js.map +1 -1
  233. package/lib/commonjs/components/Message/utils/messageActions.js.map +1 -1
  234. package/lib/commonjs/components/MessageInput/AttachButton.js +8 -26
  235. package/lib/commonjs/components/MessageInput/AttachButton.js.map +1 -1
  236. package/lib/commonjs/components/MessageInput/CommandsButton.js +10 -28
  237. package/lib/commonjs/components/MessageInput/CommandsButton.js.map +1 -1
  238. package/lib/commonjs/components/MessageInput/CooldownTimer.js +11 -20
  239. package/lib/commonjs/components/MessageInput/CooldownTimer.js.map +1 -1
  240. package/lib/commonjs/components/MessageInput/FileUploadPreview.js +104 -205
  241. package/lib/commonjs/components/MessageInput/FileUploadPreview.js.map +1 -1
  242. package/lib/commonjs/components/MessageInput/ImageUploadPreview.js +50 -123
  243. package/lib/commonjs/components/MessageInput/ImageUploadPreview.js.map +1 -1
  244. package/lib/commonjs/components/MessageInput/InputButtons.js +17 -50
  245. package/lib/commonjs/components/MessageInput/InputButtons.js.map +1 -1
  246. package/lib/commonjs/components/MessageInput/MessageInput.js +94 -238
  247. package/lib/commonjs/components/MessageInput/MessageInput.js.map +1 -1
  248. package/lib/commonjs/components/MessageInput/MoreOptionsButton.js +8 -26
  249. package/lib/commonjs/components/MessageInput/MoreOptionsButton.js.map +1 -1
  250. package/lib/commonjs/components/MessageInput/SendButton.js +12 -44
  251. package/lib/commonjs/components/MessageInput/SendButton.js.map +1 -1
  252. package/lib/commonjs/components/MessageInput/SendMessageDisallowedIndicator.js +9 -18
  253. package/lib/commonjs/components/MessageInput/SendMessageDisallowedIndicator.js.map +1 -1
  254. package/lib/commonjs/components/MessageInput/ShowThreadMessageInChannelButton.js +33 -72
  255. package/lib/commonjs/components/MessageInput/ShowThreadMessageInChannelButton.js.map +1 -1
  256. package/lib/commonjs/components/MessageInput/UploadProgressIndicator.js +28 -77
  257. package/lib/commonjs/components/MessageInput/UploadProgressIndicator.js.map +1 -1
  258. package/lib/commonjs/components/MessageInput/components/InputEditingStateHeader.js +23 -57
  259. package/lib/commonjs/components/MessageInput/components/InputEditingStateHeader.js.map +1 -1
  260. package/lib/commonjs/components/MessageInput/components/InputGiphySearch.js +35 -80
  261. package/lib/commonjs/components/MessageInput/components/InputGiphySearch.js.map +1 -1
  262. package/lib/commonjs/components/MessageInput/components/InputReplyStateHeader.js +23 -57
  263. package/lib/commonjs/components/MessageInput/components/InputReplyStateHeader.js.map +1 -1
  264. package/lib/commonjs/components/MessageInput/hooks/useCooldown.js.map +1 -1
  265. package/lib/commonjs/components/MessageInput/hooks/useCountdown.js.map +1 -1
  266. package/lib/commonjs/components/MessageList/DateHeader.js +9 -18
  267. package/lib/commonjs/components/MessageList/DateHeader.js.map +1 -1
  268. package/lib/commonjs/components/MessageList/InlineDateSeparator.js +9 -18
  269. package/lib/commonjs/components/MessageList/InlineDateSeparator.js.map +1 -1
  270. package/lib/commonjs/components/MessageList/InlineLoadingMoreIndicator.js +9 -25
  271. package/lib/commonjs/components/MessageList/InlineLoadingMoreIndicator.js.map +1 -1
  272. package/lib/commonjs/components/MessageList/InlineLoadingMoreRecentIndicator.js +9 -25
  273. package/lib/commonjs/components/MessageList/InlineLoadingMoreRecentIndicator.js.map +1 -1
  274. package/lib/commonjs/components/MessageList/InlineLoadingMoreThreadIndicator.js +9 -25
  275. package/lib/commonjs/components/MessageList/InlineLoadingMoreThreadIndicator.js.map +1 -1
  276. package/lib/commonjs/components/MessageList/InlineUnreadIndicator.js +42 -84
  277. package/lib/commonjs/components/MessageList/InlineUnreadIndicator.js.map +1 -1
  278. package/lib/commonjs/components/MessageList/MessageList.js +100 -270
  279. package/lib/commonjs/components/MessageList/MessageList.js.map +1 -1
  280. package/lib/commonjs/components/MessageList/MessageSystem.js +25 -56
  281. package/lib/commonjs/components/MessageList/MessageSystem.js.map +1 -1
  282. package/lib/commonjs/components/MessageList/NetworkDownIndicator.js +8 -17
  283. package/lib/commonjs/components/MessageList/NetworkDownIndicator.js.map +1 -1
  284. package/lib/commonjs/components/MessageList/ScrollToBottomButton.js +26 -56
  285. package/lib/commonjs/components/MessageList/ScrollToBottomButton.js.map +1 -1
  286. package/lib/commonjs/components/MessageList/TypingIndicator.js +12 -27
  287. package/lib/commonjs/components/MessageList/TypingIndicator.js.map +1 -1
  288. package/lib/commonjs/components/MessageList/TypingIndicatorContainer.js +6 -18
  289. package/lib/commonjs/components/MessageList/TypingIndicatorContainer.js.map +1 -1
  290. package/lib/commonjs/components/MessageList/hooks/useMessageList.js +1 -2
  291. package/lib/commonjs/components/MessageList/hooks/useMessageList.js.map +1 -1
  292. package/lib/commonjs/components/MessageList/hooks/useShouldScrollToRecentOnNewOwnMessage.js.map +1 -1
  293. package/lib/commonjs/components/MessageList/hooks/useTypingString.js.map +1 -1
  294. package/lib/commonjs/components/MessageList/utils/filterTypingUsers.js.map +1 -1
  295. package/lib/commonjs/components/MessageList/utils/getDateSeparators.js.map +1 -1
  296. package/lib/commonjs/components/MessageList/utils/getGroupStyles.js.map +1 -1
  297. package/lib/commonjs/components/MessageList/utils/getLastReceivedMessage.js +13 -5
  298. package/lib/commonjs/components/MessageList/utils/getLastReceivedMessage.js.map +1 -1
  299. package/lib/commonjs/components/MessageList/utils/getReadStates.js +52 -36
  300. package/lib/commonjs/components/MessageList/utils/getReadStates.js.map +1 -1
  301. package/lib/commonjs/components/MessageOverlay/MessageActionList.js +19 -40
  302. package/lib/commonjs/components/MessageOverlay/MessageActionList.js.map +1 -1
  303. package/lib/commonjs/components/MessageOverlay/MessageActionListItem.js +21 -48
  304. package/lib/commonjs/components/MessageOverlay/MessageActionListItem.js.map +1 -1
  305. package/lib/commonjs/components/MessageOverlay/MessageOverlay.js +163 -304
  306. package/lib/commonjs/components/MessageOverlay/MessageOverlay.js.map +1 -1
  307. package/lib/commonjs/components/MessageOverlay/OverlayBackdrop.js +3 -8
  308. package/lib/commonjs/components/MessageOverlay/OverlayBackdrop.js.map +1 -1
  309. package/lib/commonjs/components/MessageOverlay/OverlayReactionList.js +73 -145
  310. package/lib/commonjs/components/MessageOverlay/OverlayReactionList.js.map +1 -1
  311. package/lib/commonjs/components/MessageOverlay/OverlayReactions.js +119 -224
  312. package/lib/commonjs/components/MessageOverlay/OverlayReactions.js.map +1 -1
  313. package/lib/commonjs/components/MessageOverlay/OverlayReactionsAvatar.js +3 -8
  314. package/lib/commonjs/components/MessageOverlay/OverlayReactionsAvatar.js.map +1 -1
  315. package/lib/commonjs/components/MessageOverlay/hooks/useMessageActionAnimation.js.map +1 -1
  316. package/lib/commonjs/components/ProgressControl/ProgressControl.js +19 -51
  317. package/lib/commonjs/components/ProgressControl/ProgressControl.js.map +1 -1
  318. package/lib/commonjs/components/RTLComponents/WritingDirectionAwareText.js +4 -9
  319. package/lib/commonjs/components/RTLComponents/WritingDirectionAwareText.js.map +1 -1
  320. package/lib/commonjs/components/Reply/Reply.js +61 -113
  321. package/lib/commonjs/components/Reply/Reply.js.map +1 -1
  322. package/lib/commonjs/components/Spinner/Spinner.js +11 -21
  323. package/lib/commonjs/components/Spinner/Spinner.js.map +1 -1
  324. package/lib/commonjs/components/Thread/Thread.js +17 -44
  325. package/lib/commonjs/components/Thread/Thread.js.map +1 -1
  326. package/lib/commonjs/components/Thread/components/ThreadFooterComponent.js +57 -121
  327. package/lib/commonjs/components/Thread/components/ThreadFooterComponent.js.map +1 -1
  328. package/lib/commonjs/components/docs/data.js +1 -1
  329. package/lib/commonjs/components/docs/data.js.map +1 -1
  330. package/lib/commonjs/components/index.js.map +1 -1
  331. package/lib/commonjs/contexts/activeChannelsRefContext/ActiveChannelsRefContext.js +9 -21
  332. package/lib/commonjs/contexts/activeChannelsRefContext/ActiveChannelsRefContext.js.map +1 -1
  333. package/lib/commonjs/contexts/attachmentPickerContext/AttachmentPickerContext.js +9 -21
  334. package/lib/commonjs/contexts/attachmentPickerContext/AttachmentPickerContext.js.map +1 -1
  335. package/lib/commonjs/contexts/channelContext/ChannelContext.js +8 -21
  336. package/lib/commonjs/contexts/channelContext/ChannelContext.js.map +1 -1
  337. package/lib/commonjs/contexts/channelsContext/ChannelsContext.js +8 -21
  338. package/lib/commonjs/contexts/channelsContext/ChannelsContext.js.map +1 -1
  339. package/lib/commonjs/contexts/channelsStateContext/ChannelsStateContext.js +15 -32
  340. package/lib/commonjs/contexts/channelsStateContext/ChannelsStateContext.js.map +1 -1
  341. package/lib/commonjs/contexts/channelsStateContext/useChannelState.js.map +1 -1
  342. package/lib/commonjs/contexts/chatContext/ChatContext.js +8 -21
  343. package/lib/commonjs/contexts/chatContext/ChatContext.js.map +1 -1
  344. package/lib/commonjs/contexts/debugContext/DebugContext.js +6 -10
  345. package/lib/commonjs/contexts/debugContext/DebugContext.js.map +1 -1
  346. package/lib/commonjs/contexts/imageGalleryContext/ImageGalleryContext.js +8 -20
  347. package/lib/commonjs/contexts/imageGalleryContext/ImageGalleryContext.js.map +1 -1
  348. package/lib/commonjs/contexts/index.js.map +1 -1
  349. package/lib/commonjs/contexts/keyboardContext/KeyboardContext.js +8 -21
  350. package/lib/commonjs/contexts/keyboardContext/KeyboardContext.js.map +1 -1
  351. package/lib/commonjs/contexts/messageContext/MessageContext.js +8 -21
  352. package/lib/commonjs/contexts/messageContext/MessageContext.js.map +1 -1
  353. package/lib/commonjs/contexts/messageInputContext/MessageInputContext.js +126 -96
  354. package/lib/commonjs/contexts/messageInputContext/MessageInputContext.js.map +1 -1
  355. package/lib/commonjs/contexts/messageInputContext/hooks/useCreateMessageInputContext.js +5 -3
  356. package/lib/commonjs/contexts/messageInputContext/hooks/useCreateMessageInputContext.js.map +1 -1
  357. package/lib/commonjs/contexts/messageInputContext/hooks/useMessageDetailsForState.js +49 -41
  358. package/lib/commonjs/contexts/messageInputContext/hooks/useMessageDetailsForState.js.map +1 -1
  359. package/lib/commonjs/contexts/messageOverlayContext/MessageOverlayContext.js +8 -21
  360. package/lib/commonjs/contexts/messageOverlayContext/MessageOverlayContext.js.map +1 -1
  361. package/lib/commonjs/contexts/messageOverlayContext/hooks/useResettableState.js.map +1 -1
  362. package/lib/commonjs/contexts/messageOverlayContext/hooks/useResettableState.test.js +33 -53
  363. package/lib/commonjs/contexts/messageOverlayContext/hooks/useResettableState.test.js.map +1 -1
  364. package/lib/commonjs/contexts/messagesContext/MessagesContext.js +8 -21
  365. package/lib/commonjs/contexts/messagesContext/MessagesContext.js.map +1 -1
  366. package/lib/commonjs/contexts/overlayContext/OverlayContext.js +5 -13
  367. package/lib/commonjs/contexts/overlayContext/OverlayContext.js.map +1 -1
  368. package/lib/commonjs/contexts/overlayContext/OverlayProvider.js +52 -112
  369. package/lib/commonjs/contexts/overlayContext/OverlayProvider.js.map +1 -1
  370. package/lib/commonjs/contexts/ownCapabilitiesContext/OwnCapabilitiesContext.js +6 -10
  371. package/lib/commonjs/contexts/ownCapabilitiesContext/OwnCapabilitiesContext.js.map +1 -1
  372. package/lib/commonjs/contexts/paginatedMessageListContext/PaginatedMessageListContext.js +8 -21
  373. package/lib/commonjs/contexts/paginatedMessageListContext/PaginatedMessageListContext.js.map +1 -1
  374. package/lib/commonjs/contexts/suggestionsContext/SuggestionsContext.js +9 -21
  375. package/lib/commonjs/contexts/suggestionsContext/SuggestionsContext.js.map +1 -1
  376. package/lib/commonjs/contexts/themeContext/ThemeContext.js +6 -10
  377. package/lib/commonjs/contexts/themeContext/ThemeContext.js.map +1 -1
  378. package/lib/commonjs/contexts/themeContext/utils/theme.js +3 -3
  379. package/lib/commonjs/contexts/themeContext/utils/theme.js.map +1 -1
  380. package/lib/commonjs/contexts/threadContext/ThreadContext.js +8 -21
  381. package/lib/commonjs/contexts/threadContext/ThreadContext.js.map +1 -1
  382. package/lib/commonjs/contexts/translationContext/TranslationContext.js +8 -20
  383. package/lib/commonjs/contexts/translationContext/TranslationContext.js.map +1 -1
  384. package/lib/commonjs/contexts/typingContext/TypingContext.js +8 -21
  385. package/lib/commonjs/contexts/typingContext/TypingContext.js.map +1 -1
  386. package/lib/commonjs/contexts/utils/defaultBaseContextValue.js.map +1 -1
  387. package/lib/commonjs/contexts/utils/getDisplayName.js.map +1 -1
  388. package/lib/commonjs/contexts/utils/isTestEnvironment.js.map +1 -1
  389. package/lib/commonjs/emoji-data/compile.js +4 -5
  390. package/lib/commonjs/emoji-data/compile.js.map +1 -1
  391. package/lib/commonjs/emoji-data/index.js.map +1 -1
  392. package/lib/commonjs/hooks/index.js.map +1 -1
  393. package/lib/commonjs/hooks/useAppStateListener.js +3 -1
  394. package/lib/commonjs/hooks/useAppStateListener.js.map +1 -1
  395. package/lib/commonjs/hooks/useIsMountedRef.js.map +1 -1
  396. package/lib/commonjs/hooks/useLoadingImage.js +3 -4
  397. package/lib/commonjs/hooks/useLoadingImage.js.map +1 -1
  398. package/lib/commonjs/hooks/useStreami18n.js +1 -2
  399. package/lib/commonjs/hooks/useStreami18n.js.map +1 -1
  400. package/lib/commonjs/hooks/useTranslatedMessage.js +3 -5
  401. package/lib/commonjs/hooks/useTranslatedMessage.js.map +1 -1
  402. package/lib/commonjs/hooks/useViewport.js.map +1 -1
  403. package/lib/commonjs/i18n/es.json +10 -10
  404. package/lib/commonjs/i18n/fr.json +10 -10
  405. package/lib/commonjs/i18n/he.json +10 -10
  406. package/lib/commonjs/i18n/hi.json +10 -10
  407. package/lib/commonjs/i18n/it.json +10 -10
  408. package/lib/commonjs/i18n/ja.json +10 -10
  409. package/lib/commonjs/i18n/ko.json +10 -10
  410. package/lib/commonjs/i18n/nl.json +10 -10
  411. package/lib/commonjs/i18n/pt-BR.json +10 -10
  412. package/lib/commonjs/i18n/ru.json +10 -10
  413. package/lib/commonjs/i18n/tr.json +10 -10
  414. package/lib/commonjs/icons/ArrowRight.js +10 -36
  415. package/lib/commonjs/icons/ArrowRight.js.map +1 -1
  416. package/lib/commonjs/icons/AtMentions.js +6 -18
  417. package/lib/commonjs/icons/AtMentions.js.map +1 -1
  418. package/lib/commonjs/icons/Attach.js +6 -18
  419. package/lib/commonjs/icons/Attach.js.map +1 -1
  420. package/lib/commonjs/icons/Audio.js +28 -73
  421. package/lib/commonjs/icons/Audio.js.map +1 -1
  422. package/lib/commonjs/icons/CSV.js +18 -53
  423. package/lib/commonjs/icons/CSV.js.map +1 -1
  424. package/lib/commonjs/icons/Camera.js +6 -18
  425. package/lib/commonjs/icons/Camera.js.map +1 -1
  426. package/lib/commonjs/icons/Check.js +8 -27
  427. package/lib/commonjs/icons/Check.js.map +1 -1
  428. package/lib/commonjs/icons/CheckAll.js +8 -27
  429. package/lib/commonjs/icons/CheckAll.js.map +1 -1
  430. package/lib/commonjs/icons/CheckSend.js +6 -18
  431. package/lib/commonjs/icons/CheckSend.js.map +1 -1
  432. package/lib/commonjs/icons/CircleClose.js +8 -27
  433. package/lib/commonjs/icons/CircleClose.js.map +1 -1
  434. package/lib/commonjs/icons/CirclePlus.js +8 -27
  435. package/lib/commonjs/icons/CirclePlus.js.map +1 -1
  436. package/lib/commonjs/icons/CircleRight.js +8 -27
  437. package/lib/commonjs/icons/CircleRight.js.map +1 -1
  438. package/lib/commonjs/icons/Close.js +6 -18
  439. package/lib/commonjs/icons/Close.js.map +1 -1
  440. package/lib/commonjs/icons/Copy.js +6 -18
  441. package/lib/commonjs/icons/Copy.js.map +1 -1
  442. package/lib/commonjs/icons/CurveLineLeftUp.js +10 -36
  443. package/lib/commonjs/icons/CurveLineLeftUp.js.map +1 -1
  444. package/lib/commonjs/icons/DOC.js +32 -83
  445. package/lib/commonjs/icons/DOC.js.map +1 -1
  446. package/lib/commonjs/icons/DOCX.js +32 -83
  447. package/lib/commonjs/icons/DOCX.js.map +1 -1
  448. package/lib/commonjs/icons/Delete.js +8 -27
  449. package/lib/commonjs/icons/Delete.js.map +1 -1
  450. package/lib/commonjs/icons/Down.js +6 -18
  451. package/lib/commonjs/icons/Down.js.map +1 -1
  452. package/lib/commonjs/icons/DownloadArrow.js +6 -18
  453. package/lib/commonjs/icons/DownloadArrow.js.map +1 -1
  454. package/lib/commonjs/icons/DownloadCloud.js +12 -45
  455. package/lib/commonjs/icons/DownloadCloud.js.map +1 -1
  456. package/lib/commonjs/icons/Edit.js +6 -18
  457. package/lib/commonjs/icons/Edit.js.map +1 -1
  458. package/lib/commonjs/icons/Error.js +6 -18
  459. package/lib/commonjs/icons/Error.js.map +1 -1
  460. package/lib/commonjs/icons/Eye.js +6 -18
  461. package/lib/commonjs/icons/Eye.js.map +1 -1
  462. package/lib/commonjs/icons/Flag.js +6 -18
  463. package/lib/commonjs/icons/Flag.js.map +1 -1
  464. package/lib/commonjs/icons/Folder.js +6 -18
  465. package/lib/commonjs/icons/Folder.js.map +1 -1
  466. package/lib/commonjs/icons/GenericFile.js +28 -73
  467. package/lib/commonjs/icons/GenericFile.js.map +1 -1
  468. package/lib/commonjs/icons/GiphyIcon.js +22 -69
  469. package/lib/commonjs/icons/GiphyIcon.js.map +1 -1
  470. package/lib/commonjs/icons/Grid.js +6 -18
  471. package/lib/commonjs/icons/Grid.js.map +1 -1
  472. package/lib/commonjs/icons/Group.js +6 -18
  473. package/lib/commonjs/icons/Group.js.map +1 -1
  474. package/lib/commonjs/icons/HTML.js +18 -53
  475. package/lib/commonjs/icons/HTML.js.map +1 -1
  476. package/lib/commonjs/icons/Imgur.js +15 -41
  477. package/lib/commonjs/icons/Imgur.js.map +1 -1
  478. package/lib/commonjs/icons/LOLReaction.js +6 -18
  479. package/lib/commonjs/icons/LOLReaction.js.map +1 -1
  480. package/lib/commonjs/icons/Lightning.js +6 -18
  481. package/lib/commonjs/icons/Lightning.js.map +1 -1
  482. package/lib/commonjs/icons/Link.js +8 -27
  483. package/lib/commonjs/icons/Link.js.map +1 -1
  484. package/lib/commonjs/icons/Loading.js +23 -56
  485. package/lib/commonjs/icons/Loading.js.map +1 -1
  486. package/lib/commonjs/icons/Logo.js +7 -19
  487. package/lib/commonjs/icons/Logo.js.map +1 -1
  488. package/lib/commonjs/icons/LoveReaction.js +6 -18
  489. package/lib/commonjs/icons/LoveReaction.js.map +1 -1
  490. package/lib/commonjs/icons/MD.js +18 -53
  491. package/lib/commonjs/icons/MD.js.map +1 -1
  492. package/lib/commonjs/icons/MailOpen.js +6 -18
  493. package/lib/commonjs/icons/MailOpen.js.map +1 -1
  494. package/lib/commonjs/icons/MenuPointHorizontal.js +6 -18
  495. package/lib/commonjs/icons/MenuPointHorizontal.js.map +1 -1
  496. package/lib/commonjs/icons/MenuPointVertical.js +6 -18
  497. package/lib/commonjs/icons/MenuPointVertical.js.map +1 -1
  498. package/lib/commonjs/icons/MessageFlag.js +6 -18
  499. package/lib/commonjs/icons/MessageFlag.js.map +1 -1
  500. package/lib/commonjs/icons/MessageIcon.js +6 -18
  501. package/lib/commonjs/icons/MessageIcon.js.map +1 -1
  502. package/lib/commonjs/icons/Mute.js +6 -18
  503. package/lib/commonjs/icons/Mute.js.map +1 -1
  504. package/lib/commonjs/icons/Notification.js +10 -36
  505. package/lib/commonjs/icons/Notification.js.map +1 -1
  506. package/lib/commonjs/icons/ODT.js +18 -53
  507. package/lib/commonjs/icons/ODT.js.map +1 -1
  508. package/lib/commonjs/icons/PDF.js +18 -53
  509. package/lib/commonjs/icons/PDF.js.map +1 -1
  510. package/lib/commonjs/icons/PPT.js +32 -83
  511. package/lib/commonjs/icons/PPT.js.map +1 -1
  512. package/lib/commonjs/icons/PPTX.js +32 -83
  513. package/lib/commonjs/icons/PPTX.js.map +1 -1
  514. package/lib/commonjs/icons/Pause.js +16 -33
  515. package/lib/commonjs/icons/Pause.js.map +1 -1
  516. package/lib/commonjs/icons/Picture.js +8 -27
  517. package/lib/commonjs/icons/Picture.js.map +1 -1
  518. package/lib/commonjs/icons/Pin.js +7 -19
  519. package/lib/commonjs/icons/Pin.js.map +1 -1
  520. package/lib/commonjs/icons/PinHeader.js +6 -18
  521. package/lib/commonjs/icons/PinHeader.js.map +1 -1
  522. package/lib/commonjs/icons/Play.js +7 -19
  523. package/lib/commonjs/icons/Play.js.map +1 -1
  524. package/lib/commonjs/icons/RAR.js +18 -53
  525. package/lib/commonjs/icons/RAR.js.map +1 -1
  526. package/lib/commonjs/icons/RTF.js +18 -53
  527. package/lib/commonjs/icons/RTF.js.map +1 -1
  528. package/lib/commonjs/icons/Recorder.js +8 -27
  529. package/lib/commonjs/icons/Recorder.js.map +1 -1
  530. package/lib/commonjs/icons/Refresh.js +6 -18
  531. package/lib/commonjs/icons/Refresh.js.map +1 -1
  532. package/lib/commonjs/icons/SEVEN_Z.js +18 -53
  533. package/lib/commonjs/icons/SEVEN_Z.js.map +1 -1
  534. package/lib/commonjs/icons/Search.js +6 -18
  535. package/lib/commonjs/icons/Search.js.map +1 -1
  536. package/lib/commonjs/icons/SendRight.js +6 -18
  537. package/lib/commonjs/icons/SendRight.js.map +1 -1
  538. package/lib/commonjs/icons/SendUp.js +6 -18
  539. package/lib/commonjs/icons/SendUp.js.map +1 -1
  540. package/lib/commonjs/icons/Share.js +15 -40
  541. package/lib/commonjs/icons/Share.js.map +1 -1
  542. package/lib/commonjs/icons/ShareRightArrow.js +6 -18
  543. package/lib/commonjs/icons/ShareRightArrow.js.map +1 -1
  544. package/lib/commonjs/icons/Smile.js +8 -27
  545. package/lib/commonjs/icons/Smile.js.map +1 -1
  546. package/lib/commonjs/icons/Sound.js +6 -18
  547. package/lib/commonjs/icons/Sound.js.map +1 -1
  548. package/lib/commonjs/icons/TAR.js +18 -53
  549. package/lib/commonjs/icons/TAR.js.map +1 -1
  550. package/lib/commonjs/icons/TXT.js +18 -53
  551. package/lib/commonjs/icons/TXT.js.map +1 -1
  552. package/lib/commonjs/icons/ThreadReply.js +6 -18
  553. package/lib/commonjs/icons/ThreadReply.js.map +1 -1
  554. package/lib/commonjs/icons/ThumbsDownReaction.js +6 -18
  555. package/lib/commonjs/icons/ThumbsDownReaction.js.map +1 -1
  556. package/lib/commonjs/icons/ThumbsUpReaction.js +6 -18
  557. package/lib/commonjs/icons/ThumbsUpReaction.js.map +1 -1
  558. package/lib/commonjs/icons/Time.js +8 -27
  559. package/lib/commonjs/icons/Time.js.map +1 -1
  560. package/lib/commonjs/icons/Unknown.js +6 -18
  561. package/lib/commonjs/icons/Unknown.js.map +1 -1
  562. package/lib/commonjs/icons/Unpin.js +6 -18
  563. package/lib/commonjs/icons/Unpin.js.map +1 -1
  564. package/lib/commonjs/icons/User.js +6 -18
  565. package/lib/commonjs/icons/User.js.map +1 -1
  566. package/lib/commonjs/icons/UserAdd.js +8 -27
  567. package/lib/commonjs/icons/UserAdd.js.map +1 -1
  568. package/lib/commonjs/icons/UserAdmin.js +13 -32
  569. package/lib/commonjs/icons/UserAdmin.js.map +1 -1
  570. package/lib/commonjs/icons/UserDelete.js +8 -27
  571. package/lib/commonjs/icons/UserDelete.js.map +1 -1
  572. package/lib/commonjs/icons/UserMinus.js +8 -27
  573. package/lib/commonjs/icons/UserMinus.js.map +1 -1
  574. package/lib/commonjs/icons/Video.js +18 -58
  575. package/lib/commonjs/icons/Video.js.map +1 -1
  576. package/lib/commonjs/icons/Warning.js +6 -18
  577. package/lib/commonjs/icons/Warning.js.map +1 -1
  578. package/lib/commonjs/icons/WutReaction.js +6 -18
  579. package/lib/commonjs/icons/WutReaction.js.map +1 -1
  580. package/lib/commonjs/icons/XLS.js +32 -83
  581. package/lib/commonjs/icons/XLS.js.map +1 -1
  582. package/lib/commonjs/icons/XLSX.js +32 -83
  583. package/lib/commonjs/icons/XLSX.js.map +1 -1
  584. package/lib/commonjs/icons/ZIP.js +18 -53
  585. package/lib/commonjs/icons/ZIP.js.map +1 -1
  586. package/lib/commonjs/icons/index.js.map +1 -1
  587. package/lib/commonjs/icons/utils/base.js +8 -19
  588. package/lib/commonjs/icons/utils/base.js.map +1 -1
  589. package/lib/commonjs/index.js +2 -2
  590. package/lib/commonjs/index.js.map +1 -1
  591. package/lib/commonjs/init.js.map +1 -1
  592. package/lib/commonjs/mock-builders/DB/consts.js.map +1 -1
  593. package/lib/commonjs/mock-builders/DB/mock.js +2 -2
  594. package/lib/commonjs/mock-builders/DB/mock.js.map +1 -1
  595. package/lib/commonjs/mock-builders/api/channelMocks.js.map +1 -1
  596. package/lib/commonjs/mock-builders/api/deleteMessage.js.map +1 -1
  597. package/lib/commonjs/mock-builders/api/deleteReaction.js.map +1 -1
  598. package/lib/commonjs/mock-builders/api/error.js +4 -6
  599. package/lib/commonjs/mock-builders/api/error.js.map +1 -1
  600. package/lib/commonjs/mock-builders/api/getOrCreateChannel.js.map +1 -1
  601. package/lib/commonjs/mock-builders/api/queryChannels.js.map +1 -1
  602. package/lib/commonjs/mock-builders/api/queryMembers.js.map +1 -1
  603. package/lib/commonjs/mock-builders/api/sendMessage.js.map +1 -1
  604. package/lib/commonjs/mock-builders/api/sendReaction.js.map +1 -1
  605. package/lib/commonjs/mock-builders/api/threadReplies.js.map +1 -1
  606. package/lib/commonjs/mock-builders/api/useMockedApis.js.map +1 -1
  607. package/lib/commonjs/mock-builders/api/utils.js.map +1 -1
  608. package/lib/commonjs/mock-builders/event/channelDeleted.js.map +1 -1
  609. package/lib/commonjs/mock-builders/event/channelHidden.js.map +1 -1
  610. package/lib/commonjs/mock-builders/event/channelTruncated.js.map +1 -1
  611. package/lib/commonjs/mock-builders/event/channelUpdated.js.map +1 -1
  612. package/lib/commonjs/mock-builders/event/connectionChanged.js.map +1 -1
  613. package/lib/commonjs/mock-builders/event/connectionRecovered.js.map +1 -1
  614. package/lib/commonjs/mock-builders/event/memberAdded.js.map +1 -1
  615. package/lib/commonjs/mock-builders/event/memberRemoved.js.map +1 -1
  616. package/lib/commonjs/mock-builders/event/memberUpdated.js.map +1 -1
  617. package/lib/commonjs/mock-builders/event/messageDeleted.js.map +1 -1
  618. package/lib/commonjs/mock-builders/event/messageNew.js.map +1 -1
  619. package/lib/commonjs/mock-builders/event/messageRead.js.map +1 -1
  620. package/lib/commonjs/mock-builders/event/messageUpdated.js.map +1 -1
  621. package/lib/commonjs/mock-builders/event/notificationAddedToChannel.js.map +1 -1
  622. package/lib/commonjs/mock-builders/event/notificationMessageNew.js.map +1 -1
  623. package/lib/commonjs/mock-builders/event/notificationMutesUpdated.js +1 -3
  624. package/lib/commonjs/mock-builders/event/notificationMutesUpdated.js.map +1 -1
  625. package/lib/commonjs/mock-builders/event/notificationRemovedFromChannel.js.map +1 -1
  626. package/lib/commonjs/mock-builders/event/reactionDeleted.js.map +1 -1
  627. package/lib/commonjs/mock-builders/event/reactionNew.js.map +1 -1
  628. package/lib/commonjs/mock-builders/event/reactionUpdated.js.map +1 -1
  629. package/lib/commonjs/mock-builders/event/typing.js.map +1 -1
  630. package/lib/commonjs/mock-builders/event/userPresence.js.map +1 -1
  631. package/lib/commonjs/mock-builders/event/userUpdated.js.map +1 -1
  632. package/lib/commonjs/mock-builders/generator/attachment.js +9 -11
  633. package/lib/commonjs/mock-builders/generator/attachment.js.map +1 -1
  634. package/lib/commonjs/mock-builders/generator/channel.js +11 -12
  635. package/lib/commonjs/mock-builders/generator/channel.js.map +1 -1
  636. package/lib/commonjs/mock-builders/generator/member.js +1 -3
  637. package/lib/commonjs/mock-builders/generator/member.js.map +1 -1
  638. package/lib/commonjs/mock-builders/generator/message.js +2 -4
  639. package/lib/commonjs/mock-builders/generator/message.js.map +1 -1
  640. package/lib/commonjs/mock-builders/generator/reaction.js +1 -3
  641. package/lib/commonjs/mock-builders/generator/reaction.js.map +1 -1
  642. package/lib/commonjs/mock-builders/generator/user.js +2 -4
  643. package/lib/commonjs/mock-builders/generator/user.js.map +1 -1
  644. package/lib/commonjs/mock-builders/mock.js +1 -2
  645. package/lib/commonjs/mock-builders/mock.js.map +1 -1
  646. package/lib/commonjs/mock-builders/native/react-native-mock.js.map +1 -1
  647. package/lib/commonjs/native.js.map +1 -1
  648. package/lib/commonjs/store/QuickSqliteClient.js +11 -11
  649. package/lib/commonjs/store/QuickSqliteClient.js.map +1 -1
  650. package/lib/commonjs/store/apis/addPendingTask.js.map +1 -1
  651. package/lib/commonjs/store/apis/deleteChannel.js.map +1 -1
  652. package/lib/commonjs/store/apis/deleteMember.js.map +1 -1
  653. package/lib/commonjs/store/apis/deleteMessage.js.map +1 -1
  654. package/lib/commonjs/store/apis/deleteMessagesForChannel.js.map +1 -1
  655. package/lib/commonjs/store/apis/deletePendingTask.js.map +1 -1
  656. package/lib/commonjs/store/apis/deleteReaction.js.map +1 -1
  657. package/lib/commonjs/store/apis/deleteReactions.js.map +1 -1
  658. package/lib/commonjs/store/apis/getAllChannelIds.js.map +1 -1
  659. package/lib/commonjs/store/apis/getAppSettings.js.map +1 -1
  660. package/lib/commonjs/store/apis/getChannelMessages.js.map +1 -1
  661. package/lib/commonjs/store/apis/getChannels.js +1 -3
  662. package/lib/commonjs/store/apis/getChannels.js.map +1 -1
  663. package/lib/commonjs/store/apis/getChannelsForFilterSort.js.map +1 -1
  664. package/lib/commonjs/store/apis/getLastSyncedAt.js.map +1 -1
  665. package/lib/commonjs/store/apis/getMembers.js.map +1 -1
  666. package/lib/commonjs/store/apis/getPendingTasks.js.map +1 -1
  667. package/lib/commonjs/store/apis/getReads.js.map +1 -1
  668. package/lib/commonjs/store/apis/index.js.map +1 -1
  669. package/lib/commonjs/store/apis/insertReaction.js.map +1 -1
  670. package/lib/commonjs/store/apis/queries/selectChannelIdsForFilterSort.js.map +1 -1
  671. package/lib/commonjs/store/apis/queries/selectChannels.js.map +1 -1
  672. package/lib/commonjs/store/apis/queries/selectMembersForChannels.js +3 -3
  673. package/lib/commonjs/store/apis/queries/selectMembersForChannels.js.map +1 -1
  674. package/lib/commonjs/store/apis/queries/selectMessagesForChannels.js +3 -3
  675. package/lib/commonjs/store/apis/queries/selectMessagesForChannels.js.map +1 -1
  676. package/lib/commonjs/store/apis/queries/selectReactionsForMessages.js +3 -3
  677. package/lib/commonjs/store/apis/queries/selectReactionsForMessages.js.map +1 -1
  678. package/lib/commonjs/store/apis/queries/selectReadsForChannels.js +3 -3
  679. package/lib/commonjs/store/apis/queries/selectReadsForChannels.js.map +1 -1
  680. package/lib/commonjs/store/apis/updateMessage.js.map +1 -1
  681. package/lib/commonjs/store/apis/updateReaction.js.map +1 -1
  682. package/lib/commonjs/store/apis/upsertAppSettings.js.map +1 -1
  683. package/lib/commonjs/store/apis/upsertChannelData.js.map +1 -1
  684. package/lib/commonjs/store/apis/upsertChannelDataFromChannel.js +21 -0
  685. package/lib/commonjs/store/apis/upsertChannelDataFromChannel.js.map +1 -0
  686. package/lib/commonjs/store/apis/upsertChannels.js +29 -21
  687. package/lib/commonjs/store/apis/upsertChannels.js.map +1 -1
  688. package/lib/commonjs/store/apis/upsertCidsForQuery.js.map +1 -1
  689. package/lib/commonjs/store/apis/upsertMembers.js.map +1 -1
  690. package/lib/commonjs/store/apis/upsertMessages.js.map +1 -1
  691. package/lib/commonjs/store/apis/upsertReads.js.map +1 -1
  692. package/lib/commonjs/store/apis/upsertUserSyncStatus.js.map +1 -1
  693. package/lib/commonjs/store/apis/utils/convertFilterSortToQuery.js +1 -1
  694. package/lib/commonjs/store/apis/utils/convertFilterSortToQuery.js.map +1 -1
  695. package/lib/commonjs/store/constants.js.map +1 -1
  696. package/lib/commonjs/store/mappers/mapChannelDataToStorable.js.map +1 -1
  697. package/lib/commonjs/store/mappers/mapChannelToStorable.js +63 -0
  698. package/lib/commonjs/store/mappers/mapChannelToStorable.js.map +1 -0
  699. package/lib/commonjs/store/mappers/mapDateTimeToStorable.js.map +1 -1
  700. package/lib/commonjs/store/mappers/mapMemberToStorable.js.map +1 -1
  701. package/lib/commonjs/store/mappers/mapMessageToStorable.js.map +1 -1
  702. package/lib/commonjs/store/mappers/mapReactionToStorable.js.map +1 -1
  703. package/lib/commonjs/store/mappers/mapReadToStorable.js.map +1 -1
  704. package/lib/commonjs/store/mappers/mapStorableToChannel.js +1 -3
  705. package/lib/commonjs/store/mappers/mapStorableToChannel.js.map +1 -1
  706. package/lib/commonjs/store/mappers/mapStorableToMember.js.map +1 -1
  707. package/lib/commonjs/store/mappers/mapStorableToMessage.js +1 -2
  708. package/lib/commonjs/store/mappers/mapStorableToMessage.js.map +1 -1
  709. package/lib/commonjs/store/mappers/mapStorableToReaction.js +1 -3
  710. package/lib/commonjs/store/mappers/mapStorableToReaction.js.map +1 -1
  711. package/lib/commonjs/store/mappers/mapStorableToRead.js.map +1 -1
  712. package/lib/commonjs/store/mappers/mapStorableToTask.js.map +1 -1
  713. package/lib/commonjs/store/mappers/mapStorableToUser.js +1 -3
  714. package/lib/commonjs/store/mappers/mapStorableToUser.js.map +1 -1
  715. package/lib/commonjs/store/mappers/mapTaskToStorable.js +1 -3
  716. package/lib/commonjs/store/mappers/mapTaskToStorable.js.map +1 -1
  717. package/lib/commonjs/store/mappers/mapUserToStorable.js.map +1 -1
  718. package/lib/commonjs/store/schema.js.map +1 -1
  719. package/lib/commonjs/store/sqlite-utils/appendOrderByClause.js +2 -2
  720. package/lib/commonjs/store/sqlite-utils/appendOrderByClause.js.map +1 -1
  721. package/lib/commonjs/store/sqlite-utils/appendWhereCluase.js +3 -3
  722. package/lib/commonjs/store/sqlite-utils/appendWhereCluase.js.map +1 -1
  723. package/lib/commonjs/store/sqlite-utils/createCreateTableQuery.js +5 -5
  724. package/lib/commonjs/store/sqlite-utils/createCreateTableQuery.js.map +1 -1
  725. package/lib/commonjs/store/sqlite-utils/createDeleteQuery.js +1 -1
  726. package/lib/commonjs/store/sqlite-utils/createDeleteQuery.js.map +1 -1
  727. package/lib/commonjs/store/sqlite-utils/createSelectQuery.js +2 -2
  728. package/lib/commonjs/store/sqlite-utils/createSelectQuery.js.map +1 -1
  729. package/lib/commonjs/store/sqlite-utils/createUpdateQuery.js +3 -3
  730. package/lib/commonjs/store/sqlite-utils/createUpdateQuery.js.map +1 -1
  731. package/lib/commonjs/store/sqlite-utils/createUpsertQuery.js +3 -3
  732. package/lib/commonjs/store/sqlite-utils/createUpsertQuery.js.map +1 -1
  733. package/lib/commonjs/store/sqlite-utils/printRow.js.map +1 -1
  734. package/lib/commonjs/store/types.js.map +1 -1
  735. package/lib/commonjs/test-utils/BetterSqlite.js +2 -2
  736. package/lib/commonjs/test-utils/BetterSqlite.js.map +1 -1
  737. package/lib/commonjs/types/types.js.map +1 -1
  738. package/lib/commonjs/utils/DBSyncManager.js +124 -98
  739. package/lib/commonjs/utils/DBSyncManager.js.map +1 -1
  740. package/lib/commonjs/utils/StreamChatRN.js +1 -2
  741. package/lib/commonjs/utils/StreamChatRN.js.map +1 -1
  742. package/lib/commonjs/utils/Streami18n.js +24 -22
  743. package/lib/commonjs/utils/Streami18n.js.map +1 -1
  744. package/lib/commonjs/utils/addReactionToLocalState.js.map +1 -1
  745. package/lib/commonjs/utils/compressImage.js.map +1 -1
  746. package/lib/commonjs/utils/date.js.map +1 -1
  747. package/lib/commonjs/utils/getResizedImageUrl.js +3 -3
  748. package/lib/commonjs/utils/getResizedImageUrl.js.map +1 -1
  749. package/lib/commonjs/utils/getUrlOfImageAttachment.js.map +1 -1
  750. package/lib/commonjs/utils/patchMessageTextCommand.js +2 -2
  751. package/lib/commonjs/utils/patchMessageTextCommand.js.map +1 -1
  752. package/lib/commonjs/utils/removeReactionFromLocalState.js.map +1 -1
  753. package/lib/commonjs/utils/removeReservedFields.js +1 -3
  754. package/lib/commonjs/utils/removeReservedFields.js.map +1 -1
  755. package/lib/commonjs/utils/utils.js +29 -22
  756. package/lib/commonjs/utils/utils.js.map +1 -1
  757. package/lib/commonjs/version.json +1 -1
  758. package/lib/module/components/Attachment/Attachment.js +23 -101
  759. package/lib/module/components/Attachment/Attachment.js.map +1 -1
  760. package/lib/module/components/Attachment/AttachmentActions.js +26 -49
  761. package/lib/module/components/Attachment/AttachmentActions.js.map +1 -1
  762. package/lib/module/components/Attachment/AudioAttachment.js +73 -139
  763. package/lib/module/components/Attachment/AudioAttachment.js.map +1 -1
  764. package/lib/module/components/Attachment/Card.js +67 -162
  765. package/lib/module/components/Attachment/Card.js.map +1 -1
  766. package/lib/module/components/Attachment/FileAttachment.js +33 -78
  767. package/lib/module/components/Attachment/FileAttachment.js.map +1 -1
  768. package/lib/module/components/Attachment/FileAttachmentGroup.js +47 -81
  769. package/lib/module/components/Attachment/FileAttachmentGroup.js.map +1 -1
  770. package/lib/module/components/Attachment/FileIcon.js +3 -10
  771. package/lib/module/components/Attachment/FileIcon.js.map +1 -1
  772. package/lib/module/components/Attachment/Gallery.js +131 -218
  773. package/lib/module/components/Attachment/Gallery.js.map +1 -1
  774. package/lib/module/components/Attachment/GalleryImage.js +5 -24
  775. package/lib/module/components/Attachment/GalleryImage.js.map +1 -1
  776. package/lib/module/components/Attachment/Giphy.js +151 -295
  777. package/lib/module/components/Attachment/Giphy.js.map +1 -1
  778. package/lib/module/components/Attachment/ImageLoadingFailedIndicator.js +19 -40
  779. package/lib/module/components/Attachment/ImageLoadingFailedIndicator.js.map +1 -1
  780. package/lib/module/components/Attachment/ImageLoadingIndicator.js +3 -15
  781. package/lib/module/components/Attachment/ImageLoadingIndicator.js.map +1 -1
  782. package/lib/module/components/Attachment/ImageReloadIndicator.js +8 -18
  783. package/lib/module/components/Attachment/ImageReloadIndicator.js.map +1 -1
  784. package/lib/module/components/Attachment/VideoThumbnail.js +13 -28
  785. package/lib/module/components/Attachment/VideoThumbnail.js.map +1 -1
  786. package/lib/module/components/Attachment/utils/buildGallery/buildGallery.js.map +1 -1
  787. package/lib/module/components/Attachment/utils/buildGallery/buildGalleryOfSingleImage.js +2 -4
  788. package/lib/module/components/Attachment/utils/buildGallery/buildGalleryOfSingleImage.js.map +1 -1
  789. package/lib/module/components/Attachment/utils/buildGallery/buildGalleryOfThreeImages.js +1 -2
  790. package/lib/module/components/Attachment/utils/buildGallery/buildGalleryOfThreeImages.js.map +1 -1
  791. package/lib/module/components/Attachment/utils/buildGallery/buildGalleryOfTwoImages.js.map +1 -1
  792. package/lib/module/components/Attachment/utils/buildGallery/buildThumbnail.js.map +1 -1
  793. package/lib/module/components/Attachment/utils/buildGallery/buildThumbnailGrid.js.map +1 -1
  794. package/lib/module/components/Attachment/utils/buildGallery/types.js.map +1 -1
  795. package/lib/module/components/Attachment/utils/getAspectRatio.js.map +1 -1
  796. package/lib/module/components/Attachment/utils/getGalleryImageBorderRadius.js +1 -1
  797. package/lib/module/components/Attachment/utils/getGalleryImageBorderRadius.js.map +1 -1
  798. package/lib/module/components/Attachment/utils/getGiphyMimeType.js.map +1 -1
  799. package/lib/module/components/Attachment/utils/openUrlSafely.js +1 -1
  800. package/lib/module/components/Attachment/utils/openUrlSafely.js.map +1 -1
  801. package/lib/module/components/AttachmentPicker/AttachmentPicker.js +37 -57
  802. package/lib/module/components/AttachmentPicker/AttachmentPicker.js.map +1 -1
  803. package/lib/module/components/AttachmentPicker/components/AttachmentPickerBottomSheetHandle.js +10 -20
  804. package/lib/module/components/AttachmentPicker/components/AttachmentPickerBottomSheetHandle.js.map +1 -1
  805. package/lib/module/components/AttachmentPicker/components/AttachmentPickerError.js +16 -37
  806. package/lib/module/components/AttachmentPicker/components/AttachmentPickerError.js.map +1 -1
  807. package/lib/module/components/AttachmentPicker/components/AttachmentPickerErrorImage.js +3 -8
  808. package/lib/module/components/AttachmentPicker/components/AttachmentPickerErrorImage.js.map +1 -1
  809. package/lib/module/components/AttachmentPicker/components/AttachmentPickerIOSSelectMorePhotos.js +9 -18
  810. package/lib/module/components/AttachmentPicker/components/AttachmentPickerIOSSelectMorePhotos.js.map +1 -1
  811. package/lib/module/components/AttachmentPicker/components/AttachmentPickerItem.js +54 -126
  812. package/lib/module/components/AttachmentPicker/components/AttachmentPickerItem.js.map +1 -1
  813. package/lib/module/components/AttachmentPicker/components/AttachmentSelectionBar.js +48 -100
  814. package/lib/module/components/AttachmentPicker/components/AttachmentSelectionBar.js.map +1 -1
  815. package/lib/module/components/AttachmentPicker/components/CameraSelectorIcon.js +3 -8
  816. package/lib/module/components/AttachmentPicker/components/CameraSelectorIcon.js.map +1 -1
  817. package/lib/module/components/AttachmentPicker/components/FileSelectorIcon.js +3 -8
  818. package/lib/module/components/AttachmentPicker/components/FileSelectorIcon.js.map +1 -1
  819. package/lib/module/components/AttachmentPicker/components/ImageOverlaySelectedComponent.js +4 -15
  820. package/lib/module/components/AttachmentPicker/components/ImageOverlaySelectedComponent.js.map +1 -1
  821. package/lib/module/components/AttachmentPicker/components/ImageSelectorIcon.js +3 -8
  822. package/lib/module/components/AttachmentPicker/components/ImageSelectorIcon.js.map +1 -1
  823. package/lib/module/components/AutoCompleteInput/AutoCompleteInput.js +226 -145
  824. package/lib/module/components/AutoCompleteInput/AutoCompleteInput.js.map +1 -1
  825. package/lib/module/components/AutoCompleteInput/AutoCompleteSuggestionCommandIcon.js +45 -134
  826. package/lib/module/components/AutoCompleteInput/AutoCompleteSuggestionCommandIcon.js.map +1 -1
  827. package/lib/module/components/AutoCompleteInput/AutoCompleteSuggestionHeader.js +24 -63
  828. package/lib/module/components/AutoCompleteInput/AutoCompleteSuggestionHeader.js.map +1 -1
  829. package/lib/module/components/AutoCompleteInput/AutoCompleteSuggestionItem.js +55 -125
  830. package/lib/module/components/AutoCompleteInput/AutoCompleteSuggestionItem.js.map +1 -1
  831. package/lib/module/components/AutoCompleteInput/AutoCompleteSuggestionList.js +31 -71
  832. package/lib/module/components/AutoCompleteInput/AutoCompleteSuggestionList.js.map +1 -1
  833. package/lib/module/components/Avatar/Avatar.js +45 -84
  834. package/lib/module/components/Avatar/Avatar.js.map +1 -1
  835. package/lib/module/components/Avatar/GroupAvatar.js +42 -65
  836. package/lib/module/components/Avatar/GroupAvatar.js.map +1 -1
  837. package/lib/module/components/Channel/Channel.js +90 -170
  838. package/lib/module/components/Channel/Channel.js.map +1 -1
  839. package/lib/module/components/Channel/hooks/useCreateChannelContext.js.map +1 -1
  840. package/lib/module/components/Channel/hooks/useCreateInputMessageInputContext.js.map +1 -1
  841. package/lib/module/components/Channel/hooks/useCreateMessagesContext.js.map +1 -1
  842. package/lib/module/components/Channel/hooks/useCreateOwnCapabilitiesContext.js +1 -2
  843. package/lib/module/components/Channel/hooks/useCreateOwnCapabilitiesContext.js.map +1 -1
  844. package/lib/module/components/Channel/hooks/useCreatePaginatedMessageListContext.js.map +1 -1
  845. package/lib/module/components/Channel/hooks/useCreateThreadContext.js.map +1 -1
  846. package/lib/module/components/Channel/hooks/useCreateTypingContext.js.map +1 -1
  847. package/lib/module/components/Channel/hooks/useTargetedMessage.js.map +1 -1
  848. package/lib/module/components/ChannelList/ChannelList.js +12 -23
  849. package/lib/module/components/ChannelList/ChannelList.js.map +1 -1
  850. package/lib/module/components/ChannelList/ChannelListFooterLoadingIndicator.js +7 -17
  851. package/lib/module/components/ChannelList/ChannelListFooterLoadingIndicator.js.map +1 -1
  852. package/lib/module/components/ChannelList/ChannelListHeaderErrorIndicator.js +11 -20
  853. package/lib/module/components/ChannelList/ChannelListHeaderErrorIndicator.js.map +1 -1
  854. package/lib/module/components/ChannelList/ChannelListHeaderNetworkDownIndicator.js +10 -19
  855. package/lib/module/components/ChannelList/ChannelListHeaderNetworkDownIndicator.js.map +1 -1
  856. package/lib/module/components/ChannelList/ChannelListLoadingIndicator.js +6 -18
  857. package/lib/module/components/ChannelList/ChannelListLoadingIndicator.js.map +1 -1
  858. package/lib/module/components/ChannelList/ChannelListMessenger.js +51 -136
  859. package/lib/module/components/ChannelList/ChannelListMessenger.js.map +1 -1
  860. package/lib/module/components/ChannelList/Skeleton.js +50 -120
  861. package/lib/module/components/ChannelList/Skeleton.js.map +1 -1
  862. package/lib/module/components/ChannelList/hooks/listeners/useAddedToChannelNotification.js.map +1 -1
  863. package/lib/module/components/ChannelList/hooks/listeners/useChannelDeleted.js.map +1 -1
  864. package/lib/module/components/ChannelList/hooks/listeners/useChannelHidden.js.map +1 -1
  865. package/lib/module/components/ChannelList/hooks/listeners/useChannelTruncated.js.map +1 -1
  866. package/lib/module/components/ChannelList/hooks/listeners/useChannelUpdated.js +1 -2
  867. package/lib/module/components/ChannelList/hooks/listeners/useChannelUpdated.js.map +1 -1
  868. package/lib/module/components/ChannelList/hooks/listeners/useChannelVisible.js.map +1 -1
  869. package/lib/module/components/ChannelList/hooks/listeners/useNewMessage.js.map +1 -1
  870. package/lib/module/components/ChannelList/hooks/listeners/useNewMessageNotification.js.map +1 -1
  871. package/lib/module/components/ChannelList/hooks/listeners/useRemovedFromChannelNotification.js.map +1 -1
  872. package/lib/module/components/ChannelList/hooks/listeners/useUserPresence.js.map +1 -1
  873. package/lib/module/components/ChannelList/hooks/useCreateChannelsContext.js +2 -2
  874. package/lib/module/components/ChannelList/hooks/useCreateChannelsContext.js.map +1 -1
  875. package/lib/module/components/ChannelList/hooks/usePaginatedChannels.js +2 -3
  876. package/lib/module/components/ChannelList/hooks/usePaginatedChannels.js.map +1 -1
  877. package/lib/module/components/ChannelList/utils.js +3 -3
  878. package/lib/module/components/ChannelList/utils.js.map +1 -1
  879. package/lib/module/components/ChannelPreview/ChannelAvatar.js +7 -25
  880. package/lib/module/components/ChannelPreview/ChannelAvatar.js.map +1 -1
  881. package/lib/module/components/ChannelPreview/ChannelPreview.js +8 -21
  882. package/lib/module/components/ChannelPreview/ChannelPreview.js.map +1 -1
  883. package/lib/module/components/ChannelPreview/ChannelPreviewMessage.js +11 -21
  884. package/lib/module/components/ChannelPreview/ChannelPreviewMessage.js.map +1 -1
  885. package/lib/module/components/ChannelPreview/ChannelPreviewMessenger.js +38 -107
  886. package/lib/module/components/ChannelPreview/ChannelPreviewMessenger.js.map +1 -1
  887. package/lib/module/components/ChannelPreview/ChannelPreviewMutedStatus.js +3 -8
  888. package/lib/module/components/ChannelPreview/ChannelPreviewMutedStatus.js.map +1 -1
  889. package/lib/module/components/ChannelPreview/ChannelPreviewStatus.js +13 -37
  890. package/lib/module/components/ChannelPreview/ChannelPreviewStatus.js.map +1 -1
  891. package/lib/module/components/ChannelPreview/ChannelPreviewTitle.js +4 -8
  892. package/lib/module/components/ChannelPreview/ChannelPreviewTitle.js.map +1 -1
  893. package/lib/module/components/ChannelPreview/ChannelPreviewUnreadCount.js +8 -17
  894. package/lib/module/components/ChannelPreview/ChannelPreviewUnreadCount.js.map +1 -1
  895. package/lib/module/components/ChannelPreview/hooks/useChannelPreviewDisplayAvatar.js.map +1 -1
  896. package/lib/module/components/ChannelPreview/hooks/useChannelPreviewDisplayName.js +5 -5
  897. package/lib/module/components/ChannelPreview/hooks/useChannelPreviewDisplayName.js.map +1 -1
  898. package/lib/module/components/ChannelPreview/hooks/useChannelPreviewDisplayPresence.js.map +1 -1
  899. package/lib/module/components/ChannelPreview/hooks/useLatestMessagePreview.js +5 -5
  900. package/lib/module/components/ChannelPreview/hooks/useLatestMessagePreview.js.map +1 -1
  901. package/lib/module/components/Chat/Chat.js +19 -46
  902. package/lib/module/components/Chat/Chat.js.map +1 -1
  903. package/lib/module/components/Chat/hooks/handleEventToSyncDB.js +100 -37
  904. package/lib/module/components/Chat/hooks/handleEventToSyncDB.js.map +1 -1
  905. package/lib/module/components/Chat/hooks/useAppSettings.js +3 -3
  906. package/lib/module/components/Chat/hooks/useAppSettings.js.map +1 -1
  907. package/lib/module/components/Chat/hooks/useCreateChatContext.js +1 -1
  908. package/lib/module/components/Chat/hooks/useCreateChatContext.js.map +1 -1
  909. package/lib/module/components/Chat/hooks/useIsOnline.js.map +1 -1
  910. package/lib/module/components/Chat/hooks/useMutedUsers.js.map +1 -1
  911. package/lib/module/components/Chat/hooks/useSyncDatabase.js +3 -1
  912. package/lib/module/components/Chat/hooks/useSyncDatabase.js.map +1 -1
  913. package/lib/module/components/ImageBackground.js +12 -23
  914. package/lib/module/components/ImageBackground.js.map +1 -1
  915. package/lib/module/components/ImageGallery/ImageGallery.js +162 -258
  916. package/lib/module/components/ImageGallery/ImageGallery.js.map +1 -1
  917. package/lib/module/components/ImageGallery/components/AnimatedGalleryImage.js +7 -18
  918. package/lib/module/components/ImageGallery/components/AnimatedGalleryImage.js.map +1 -1
  919. package/lib/module/components/ImageGallery/components/AnimatedGalleryVideo.js +39 -66
  920. package/lib/module/components/ImageGallery/components/AnimatedGalleryVideo.js.map +1 -1
  921. package/lib/module/components/ImageGallery/components/ImageGalleryFooter.js +74 -151
  922. package/lib/module/components/ImageGallery/components/ImageGalleryFooter.js.map +1 -1
  923. package/lib/module/components/ImageGallery/components/ImageGalleryHeader.js +45 -97
  924. package/lib/module/components/ImageGallery/components/ImageGalleryHeader.js.map +1 -1
  925. package/lib/module/components/ImageGallery/components/ImageGalleryOverlay.js +10 -20
  926. package/lib/module/components/ImageGallery/components/ImageGalleryOverlay.js.map +1 -1
  927. package/lib/module/components/ImageGallery/components/ImageGalleryVideoControl.js +42 -84
  928. package/lib/module/components/ImageGallery/components/ImageGalleryVideoControl.js.map +1 -1
  929. package/lib/module/components/ImageGallery/components/ImageGrid.js +26 -60
  930. package/lib/module/components/ImageGallery/components/ImageGrid.js.map +1 -1
  931. package/lib/module/components/ImageGallery/components/ImageGridHandle.js +22 -48
  932. package/lib/module/components/ImageGallery/components/ImageGridHandle.js.map +1 -1
  933. package/lib/module/components/ImageGallery/hooks/useImageGalleryGestures.js.map +1 -1
  934. package/lib/module/components/Indicators/EmptyStateIndicator.js +24 -49
  935. package/lib/module/components/Indicators/EmptyStateIndicator.js.map +1 -1
  936. package/lib/module/components/Indicators/LoadingDot.js +5 -10
  937. package/lib/module/components/Indicators/LoadingDot.js.map +1 -1
  938. package/lib/module/components/Indicators/LoadingDots.js +17 -28
  939. package/lib/module/components/Indicators/LoadingDots.js.map +1 -1
  940. package/lib/module/components/Indicators/LoadingErrorIndicator.js +22 -53
  941. package/lib/module/components/Indicators/LoadingErrorIndicator.js.map +1 -1
  942. package/lib/module/components/Indicators/LoadingIndicator.js +21 -60
  943. package/lib/module/components/Indicators/LoadingIndicator.js.map +1 -1
  944. package/lib/module/components/KeyboardCompatibleView/KeyboardCompatibleView.js +46 -91
  945. package/lib/module/components/KeyboardCompatibleView/KeyboardCompatibleView.js.map +1 -1
  946. package/lib/module/components/KeyboardCompatibleView/KeyboardCompatibleViewFC.js +52 -93
  947. package/lib/module/components/KeyboardCompatibleView/KeyboardCompatibleViewFC.js.map +1 -1
  948. package/lib/module/components/Message/Message.js +34 -74
  949. package/lib/module/components/Message/Message.js.map +1 -1
  950. package/lib/module/components/Message/MessageSimple/MessageAvatar.js +14 -38
  951. package/lib/module/components/Message/MessageSimple/MessageAvatar.js.map +1 -1
  952. package/lib/module/components/Message/MessageSimple/MessageBounce.js +17 -22
  953. package/lib/module/components/Message/MessageSimple/MessageBounce.js.map +1 -1
  954. package/lib/module/components/Message/MessageSimple/MessageContent.js +72 -173
  955. package/lib/module/components/Message/MessageSimple/MessageContent.js.map +1 -1
  956. package/lib/module/components/Message/MessageSimple/MessageDeleted.js +29 -58
  957. package/lib/module/components/Message/MessageSimple/MessageDeleted.js.map +1 -1
  958. package/lib/module/components/Message/MessageSimple/MessageError.js +9 -26
  959. package/lib/module/components/Message/MessageSimple/MessageError.js.map +1 -1
  960. package/lib/module/components/Message/MessageSimple/MessageFooter.js +47 -106
  961. package/lib/module/components/Message/MessageSimple/MessageFooter.js.map +1 -1
  962. package/lib/module/components/Message/MessageSimple/MessagePinnedHeader.js +13 -36
  963. package/lib/module/components/Message/MessageSimple/MessagePinnedHeader.js.map +1 -1
  964. package/lib/module/components/Message/MessageSimple/MessageReplies.js +66 -122
  965. package/lib/module/components/Message/MessageSimple/MessageReplies.js.map +1 -1
  966. package/lib/module/components/Message/MessageSimple/MessageRepliesAvatars.js +22 -45
  967. package/lib/module/components/Message/MessageSimple/MessageRepliesAvatars.js.map +1 -1
  968. package/lib/module/components/Message/MessageSimple/MessageSimple.js +20 -56
  969. package/lib/module/components/Message/MessageSimple/MessageSimple.js.map +1 -1
  970. package/lib/module/components/Message/MessageSimple/MessageStatus.js +24 -79
  971. package/lib/module/components/Message/MessageSimple/MessageStatus.js.map +1 -1
  972. package/lib/module/components/Message/MessageSimple/MessageTextContainer.js +21 -39
  973. package/lib/module/components/Message/MessageSimple/MessageTextContainer.js.map +1 -1
  974. package/lib/module/components/Message/MessageSimple/ReactionList.js +123 -226
  975. package/lib/module/components/Message/MessageSimple/ReactionList.js.map +1 -1
  976. package/lib/module/components/Message/MessageSimple/utils/generateMarkdownText.js +20 -12
  977. package/lib/module/components/Message/MessageSimple/utils/generateMarkdownText.js.map +1 -1
  978. package/lib/module/components/Message/MessageSimple/utils/generateMarkdownText.test.js.map +1 -1
  979. package/lib/module/components/Message/MessageSimple/utils/parseLinks.js.map +1 -1
  980. package/lib/module/components/Message/MessageSimple/utils/parseLinks.test.js.map +1 -1
  981. package/lib/module/components/Message/MessageSimple/utils/renderText.js +75 -164
  982. package/lib/module/components/Message/MessageSimple/utils/renderText.js.map +1 -1
  983. package/lib/module/components/Message/MessageSimple/utils/renderText.test.js +32 -65
  984. package/lib/module/components/Message/MessageSimple/utils/renderText.test.js.map +1 -1
  985. package/lib/module/components/Message/hooks/useCreateMessageContext.js +4 -4
  986. package/lib/module/components/Message/hooks/useCreateMessageContext.js.map +1 -1
  987. package/lib/module/components/Message/hooks/useMessageActionHandlers.js.map +1 -1
  988. package/lib/module/components/Message/hooks/useMessageActions.js +25 -90
  989. package/lib/module/components/Message/hooks/useMessageActions.js.map +1 -1
  990. package/lib/module/components/Message/utils/messageActions.js.map +1 -1
  991. package/lib/module/components/MessageInput/AttachButton.js +8 -26
  992. package/lib/module/components/MessageInput/AttachButton.js.map +1 -1
  993. package/lib/module/components/MessageInput/CommandsButton.js +10 -28
  994. package/lib/module/components/MessageInput/CommandsButton.js.map +1 -1
  995. package/lib/module/components/MessageInput/CooldownTimer.js +11 -20
  996. package/lib/module/components/MessageInput/CooldownTimer.js.map +1 -1
  997. package/lib/module/components/MessageInput/FileUploadPreview.js +104 -205
  998. package/lib/module/components/MessageInput/FileUploadPreview.js.map +1 -1
  999. package/lib/module/components/MessageInput/ImageUploadPreview.js +50 -123
  1000. package/lib/module/components/MessageInput/ImageUploadPreview.js.map +1 -1
  1001. package/lib/module/components/MessageInput/InputButtons.js +17 -50
  1002. package/lib/module/components/MessageInput/InputButtons.js.map +1 -1
  1003. package/lib/module/components/MessageInput/MessageInput.js +94 -238
  1004. package/lib/module/components/MessageInput/MessageInput.js.map +1 -1
  1005. package/lib/module/components/MessageInput/MoreOptionsButton.js +8 -26
  1006. package/lib/module/components/MessageInput/MoreOptionsButton.js.map +1 -1
  1007. package/lib/module/components/MessageInput/SendButton.js +12 -44
  1008. package/lib/module/components/MessageInput/SendButton.js.map +1 -1
  1009. package/lib/module/components/MessageInput/SendMessageDisallowedIndicator.js +9 -18
  1010. package/lib/module/components/MessageInput/SendMessageDisallowedIndicator.js.map +1 -1
  1011. package/lib/module/components/MessageInput/ShowThreadMessageInChannelButton.js +33 -72
  1012. package/lib/module/components/MessageInput/ShowThreadMessageInChannelButton.js.map +1 -1
  1013. package/lib/module/components/MessageInput/UploadProgressIndicator.js +28 -77
  1014. package/lib/module/components/MessageInput/UploadProgressIndicator.js.map +1 -1
  1015. package/lib/module/components/MessageInput/components/InputEditingStateHeader.js +23 -57
  1016. package/lib/module/components/MessageInput/components/InputEditingStateHeader.js.map +1 -1
  1017. package/lib/module/components/MessageInput/components/InputGiphySearch.js +35 -80
  1018. package/lib/module/components/MessageInput/components/InputGiphySearch.js.map +1 -1
  1019. package/lib/module/components/MessageInput/components/InputReplyStateHeader.js +23 -57
  1020. package/lib/module/components/MessageInput/components/InputReplyStateHeader.js.map +1 -1
  1021. package/lib/module/components/MessageInput/hooks/useCooldown.js.map +1 -1
  1022. package/lib/module/components/MessageInput/hooks/useCountdown.js.map +1 -1
  1023. package/lib/module/components/MessageList/DateHeader.js +9 -18
  1024. package/lib/module/components/MessageList/DateHeader.js.map +1 -1
  1025. package/lib/module/components/MessageList/InlineDateSeparator.js +9 -18
  1026. package/lib/module/components/MessageList/InlineDateSeparator.js.map +1 -1
  1027. package/lib/module/components/MessageList/InlineLoadingMoreIndicator.js +9 -25
  1028. package/lib/module/components/MessageList/InlineLoadingMoreIndicator.js.map +1 -1
  1029. package/lib/module/components/MessageList/InlineLoadingMoreRecentIndicator.js +9 -25
  1030. package/lib/module/components/MessageList/InlineLoadingMoreRecentIndicator.js.map +1 -1
  1031. package/lib/module/components/MessageList/InlineLoadingMoreThreadIndicator.js +9 -25
  1032. package/lib/module/components/MessageList/InlineLoadingMoreThreadIndicator.js.map +1 -1
  1033. package/lib/module/components/MessageList/InlineUnreadIndicator.js +42 -84
  1034. package/lib/module/components/MessageList/InlineUnreadIndicator.js.map +1 -1
  1035. package/lib/module/components/MessageList/MessageList.js +100 -270
  1036. package/lib/module/components/MessageList/MessageList.js.map +1 -1
  1037. package/lib/module/components/MessageList/MessageSystem.js +25 -56
  1038. package/lib/module/components/MessageList/MessageSystem.js.map +1 -1
  1039. package/lib/module/components/MessageList/NetworkDownIndicator.js +8 -17
  1040. package/lib/module/components/MessageList/NetworkDownIndicator.js.map +1 -1
  1041. package/lib/module/components/MessageList/ScrollToBottomButton.js +26 -56
  1042. package/lib/module/components/MessageList/ScrollToBottomButton.js.map +1 -1
  1043. package/lib/module/components/MessageList/TypingIndicator.js +12 -27
  1044. package/lib/module/components/MessageList/TypingIndicator.js.map +1 -1
  1045. package/lib/module/components/MessageList/TypingIndicatorContainer.js +6 -18
  1046. package/lib/module/components/MessageList/TypingIndicatorContainer.js.map +1 -1
  1047. package/lib/module/components/MessageList/hooks/useMessageList.js +1 -2
  1048. package/lib/module/components/MessageList/hooks/useMessageList.js.map +1 -1
  1049. package/lib/module/components/MessageList/hooks/useShouldScrollToRecentOnNewOwnMessage.js.map +1 -1
  1050. package/lib/module/components/MessageList/hooks/useTypingString.js.map +1 -1
  1051. package/lib/module/components/MessageList/utils/filterTypingUsers.js.map +1 -1
  1052. package/lib/module/components/MessageList/utils/getDateSeparators.js.map +1 -1
  1053. package/lib/module/components/MessageList/utils/getGroupStyles.js.map +1 -1
  1054. package/lib/module/components/MessageList/utils/getLastReceivedMessage.js +13 -5
  1055. package/lib/module/components/MessageList/utils/getLastReceivedMessage.js.map +1 -1
  1056. package/lib/module/components/MessageList/utils/getReadStates.js +52 -36
  1057. package/lib/module/components/MessageList/utils/getReadStates.js.map +1 -1
  1058. package/lib/module/components/MessageOverlay/MessageActionList.js +19 -40
  1059. package/lib/module/components/MessageOverlay/MessageActionList.js.map +1 -1
  1060. package/lib/module/components/MessageOverlay/MessageActionListItem.js +21 -48
  1061. package/lib/module/components/MessageOverlay/MessageActionListItem.js.map +1 -1
  1062. package/lib/module/components/MessageOverlay/MessageOverlay.js +163 -304
  1063. package/lib/module/components/MessageOverlay/MessageOverlay.js.map +1 -1
  1064. package/lib/module/components/MessageOverlay/OverlayBackdrop.js +3 -8
  1065. package/lib/module/components/MessageOverlay/OverlayBackdrop.js.map +1 -1
  1066. package/lib/module/components/MessageOverlay/OverlayReactionList.js +73 -145
  1067. package/lib/module/components/MessageOverlay/OverlayReactionList.js.map +1 -1
  1068. package/lib/module/components/MessageOverlay/OverlayReactions.js +119 -224
  1069. package/lib/module/components/MessageOverlay/OverlayReactions.js.map +1 -1
  1070. package/lib/module/components/MessageOverlay/OverlayReactionsAvatar.js +3 -8
  1071. package/lib/module/components/MessageOverlay/OverlayReactionsAvatar.js.map +1 -1
  1072. package/lib/module/components/MessageOverlay/hooks/useMessageActionAnimation.js.map +1 -1
  1073. package/lib/module/components/ProgressControl/ProgressControl.js +19 -51
  1074. package/lib/module/components/ProgressControl/ProgressControl.js.map +1 -1
  1075. package/lib/module/components/RTLComponents/WritingDirectionAwareText.js +4 -9
  1076. package/lib/module/components/RTLComponents/WritingDirectionAwareText.js.map +1 -1
  1077. package/lib/module/components/Reply/Reply.js +61 -113
  1078. package/lib/module/components/Reply/Reply.js.map +1 -1
  1079. package/lib/module/components/Spinner/Spinner.js +11 -21
  1080. package/lib/module/components/Spinner/Spinner.js.map +1 -1
  1081. package/lib/module/components/Thread/Thread.js +17 -44
  1082. package/lib/module/components/Thread/Thread.js.map +1 -1
  1083. package/lib/module/components/Thread/components/ThreadFooterComponent.js +57 -121
  1084. package/lib/module/components/Thread/components/ThreadFooterComponent.js.map +1 -1
  1085. package/lib/module/components/docs/data.js +1 -1
  1086. package/lib/module/components/docs/data.js.map +1 -1
  1087. package/lib/module/components/index.js.map +1 -1
  1088. package/lib/module/contexts/activeChannelsRefContext/ActiveChannelsRefContext.js +9 -21
  1089. package/lib/module/contexts/activeChannelsRefContext/ActiveChannelsRefContext.js.map +1 -1
  1090. package/lib/module/contexts/attachmentPickerContext/AttachmentPickerContext.js +9 -21
  1091. package/lib/module/contexts/attachmentPickerContext/AttachmentPickerContext.js.map +1 -1
  1092. package/lib/module/contexts/channelContext/ChannelContext.js +8 -21
  1093. package/lib/module/contexts/channelContext/ChannelContext.js.map +1 -1
  1094. package/lib/module/contexts/channelsContext/ChannelsContext.js +8 -21
  1095. package/lib/module/contexts/channelsContext/ChannelsContext.js.map +1 -1
  1096. package/lib/module/contexts/channelsStateContext/ChannelsStateContext.js +15 -32
  1097. package/lib/module/contexts/channelsStateContext/ChannelsStateContext.js.map +1 -1
  1098. package/lib/module/contexts/channelsStateContext/useChannelState.js.map +1 -1
  1099. package/lib/module/contexts/chatContext/ChatContext.js +8 -21
  1100. package/lib/module/contexts/chatContext/ChatContext.js.map +1 -1
  1101. package/lib/module/contexts/debugContext/DebugContext.js +6 -10
  1102. package/lib/module/contexts/debugContext/DebugContext.js.map +1 -1
  1103. package/lib/module/contexts/imageGalleryContext/ImageGalleryContext.js +8 -20
  1104. package/lib/module/contexts/imageGalleryContext/ImageGalleryContext.js.map +1 -1
  1105. package/lib/module/contexts/index.js.map +1 -1
  1106. package/lib/module/contexts/keyboardContext/KeyboardContext.js +8 -21
  1107. package/lib/module/contexts/keyboardContext/KeyboardContext.js.map +1 -1
  1108. package/lib/module/contexts/messageContext/MessageContext.js +8 -21
  1109. package/lib/module/contexts/messageContext/MessageContext.js.map +1 -1
  1110. package/lib/module/contexts/messageInputContext/MessageInputContext.js +126 -96
  1111. package/lib/module/contexts/messageInputContext/MessageInputContext.js.map +1 -1
  1112. package/lib/module/contexts/messageInputContext/hooks/useCreateMessageInputContext.js +5 -3
  1113. package/lib/module/contexts/messageInputContext/hooks/useCreateMessageInputContext.js.map +1 -1
  1114. package/lib/module/contexts/messageInputContext/hooks/useMessageDetailsForState.js +49 -41
  1115. package/lib/module/contexts/messageInputContext/hooks/useMessageDetailsForState.js.map +1 -1
  1116. package/lib/module/contexts/messageOverlayContext/MessageOverlayContext.js +8 -21
  1117. package/lib/module/contexts/messageOverlayContext/MessageOverlayContext.js.map +1 -1
  1118. package/lib/module/contexts/messageOverlayContext/hooks/useResettableState.js.map +1 -1
  1119. package/lib/module/contexts/messageOverlayContext/hooks/useResettableState.test.js +33 -53
  1120. package/lib/module/contexts/messageOverlayContext/hooks/useResettableState.test.js.map +1 -1
  1121. package/lib/module/contexts/messagesContext/MessagesContext.js +8 -21
  1122. package/lib/module/contexts/messagesContext/MessagesContext.js.map +1 -1
  1123. package/lib/module/contexts/overlayContext/OverlayContext.js +5 -13
  1124. package/lib/module/contexts/overlayContext/OverlayContext.js.map +1 -1
  1125. package/lib/module/contexts/overlayContext/OverlayProvider.js +52 -112
  1126. package/lib/module/contexts/overlayContext/OverlayProvider.js.map +1 -1
  1127. package/lib/module/contexts/ownCapabilitiesContext/OwnCapabilitiesContext.js +6 -10
  1128. package/lib/module/contexts/ownCapabilitiesContext/OwnCapabilitiesContext.js.map +1 -1
  1129. package/lib/module/contexts/paginatedMessageListContext/PaginatedMessageListContext.js +8 -21
  1130. package/lib/module/contexts/paginatedMessageListContext/PaginatedMessageListContext.js.map +1 -1
  1131. package/lib/module/contexts/suggestionsContext/SuggestionsContext.js +9 -21
  1132. package/lib/module/contexts/suggestionsContext/SuggestionsContext.js.map +1 -1
  1133. package/lib/module/contexts/themeContext/ThemeContext.js +6 -10
  1134. package/lib/module/contexts/themeContext/ThemeContext.js.map +1 -1
  1135. package/lib/module/contexts/themeContext/utils/theme.js +3 -3
  1136. package/lib/module/contexts/themeContext/utils/theme.js.map +1 -1
  1137. package/lib/module/contexts/threadContext/ThreadContext.js +8 -21
  1138. package/lib/module/contexts/threadContext/ThreadContext.js.map +1 -1
  1139. package/lib/module/contexts/translationContext/TranslationContext.js +8 -20
  1140. package/lib/module/contexts/translationContext/TranslationContext.js.map +1 -1
  1141. package/lib/module/contexts/typingContext/TypingContext.js +8 -21
  1142. package/lib/module/contexts/typingContext/TypingContext.js.map +1 -1
  1143. package/lib/module/contexts/utils/defaultBaseContextValue.js.map +1 -1
  1144. package/lib/module/contexts/utils/getDisplayName.js.map +1 -1
  1145. package/lib/module/contexts/utils/isTestEnvironment.js.map +1 -1
  1146. package/lib/module/emoji-data/compile.js +4 -5
  1147. package/lib/module/emoji-data/compile.js.map +1 -1
  1148. package/lib/module/emoji-data/index.js.map +1 -1
  1149. package/lib/module/hooks/index.js.map +1 -1
  1150. package/lib/module/hooks/useAppStateListener.js +3 -1
  1151. package/lib/module/hooks/useAppStateListener.js.map +1 -1
  1152. package/lib/module/hooks/useIsMountedRef.js.map +1 -1
  1153. package/lib/module/hooks/useLoadingImage.js +3 -4
  1154. package/lib/module/hooks/useLoadingImage.js.map +1 -1
  1155. package/lib/module/hooks/useStreami18n.js +1 -2
  1156. package/lib/module/hooks/useStreami18n.js.map +1 -1
  1157. package/lib/module/hooks/useTranslatedMessage.js +3 -5
  1158. package/lib/module/hooks/useTranslatedMessage.js.map +1 -1
  1159. package/lib/module/hooks/useViewport.js.map +1 -1
  1160. package/lib/module/i18n/es.json +10 -10
  1161. package/lib/module/i18n/fr.json +10 -10
  1162. package/lib/module/i18n/he.json +10 -10
  1163. package/lib/module/i18n/hi.json +10 -10
  1164. package/lib/module/i18n/it.json +10 -10
  1165. package/lib/module/i18n/ja.json +10 -10
  1166. package/lib/module/i18n/ko.json +10 -10
  1167. package/lib/module/i18n/nl.json +10 -10
  1168. package/lib/module/i18n/pt-BR.json +10 -10
  1169. package/lib/module/i18n/ru.json +10 -10
  1170. package/lib/module/i18n/tr.json +10 -10
  1171. package/lib/module/icons/ArrowRight.js +10 -36
  1172. package/lib/module/icons/ArrowRight.js.map +1 -1
  1173. package/lib/module/icons/AtMentions.js +6 -18
  1174. package/lib/module/icons/AtMentions.js.map +1 -1
  1175. package/lib/module/icons/Attach.js +6 -18
  1176. package/lib/module/icons/Attach.js.map +1 -1
  1177. package/lib/module/icons/Audio.js +28 -73
  1178. package/lib/module/icons/Audio.js.map +1 -1
  1179. package/lib/module/icons/CSV.js +18 -53
  1180. package/lib/module/icons/CSV.js.map +1 -1
  1181. package/lib/module/icons/Camera.js +6 -18
  1182. package/lib/module/icons/Camera.js.map +1 -1
  1183. package/lib/module/icons/Check.js +8 -27
  1184. package/lib/module/icons/Check.js.map +1 -1
  1185. package/lib/module/icons/CheckAll.js +8 -27
  1186. package/lib/module/icons/CheckAll.js.map +1 -1
  1187. package/lib/module/icons/CheckSend.js +6 -18
  1188. package/lib/module/icons/CheckSend.js.map +1 -1
  1189. package/lib/module/icons/CircleClose.js +8 -27
  1190. package/lib/module/icons/CircleClose.js.map +1 -1
  1191. package/lib/module/icons/CirclePlus.js +8 -27
  1192. package/lib/module/icons/CirclePlus.js.map +1 -1
  1193. package/lib/module/icons/CircleRight.js +8 -27
  1194. package/lib/module/icons/CircleRight.js.map +1 -1
  1195. package/lib/module/icons/Close.js +6 -18
  1196. package/lib/module/icons/Close.js.map +1 -1
  1197. package/lib/module/icons/Copy.js +6 -18
  1198. package/lib/module/icons/Copy.js.map +1 -1
  1199. package/lib/module/icons/CurveLineLeftUp.js +10 -36
  1200. package/lib/module/icons/CurveLineLeftUp.js.map +1 -1
  1201. package/lib/module/icons/DOC.js +32 -83
  1202. package/lib/module/icons/DOC.js.map +1 -1
  1203. package/lib/module/icons/DOCX.js +32 -83
  1204. package/lib/module/icons/DOCX.js.map +1 -1
  1205. package/lib/module/icons/Delete.js +8 -27
  1206. package/lib/module/icons/Delete.js.map +1 -1
  1207. package/lib/module/icons/Down.js +6 -18
  1208. package/lib/module/icons/Down.js.map +1 -1
  1209. package/lib/module/icons/DownloadArrow.js +6 -18
  1210. package/lib/module/icons/DownloadArrow.js.map +1 -1
  1211. package/lib/module/icons/DownloadCloud.js +12 -45
  1212. package/lib/module/icons/DownloadCloud.js.map +1 -1
  1213. package/lib/module/icons/Edit.js +6 -18
  1214. package/lib/module/icons/Edit.js.map +1 -1
  1215. package/lib/module/icons/Error.js +6 -18
  1216. package/lib/module/icons/Error.js.map +1 -1
  1217. package/lib/module/icons/Eye.js +6 -18
  1218. package/lib/module/icons/Eye.js.map +1 -1
  1219. package/lib/module/icons/Flag.js +6 -18
  1220. package/lib/module/icons/Flag.js.map +1 -1
  1221. package/lib/module/icons/Folder.js +6 -18
  1222. package/lib/module/icons/Folder.js.map +1 -1
  1223. package/lib/module/icons/GenericFile.js +28 -73
  1224. package/lib/module/icons/GenericFile.js.map +1 -1
  1225. package/lib/module/icons/GiphyIcon.js +22 -69
  1226. package/lib/module/icons/GiphyIcon.js.map +1 -1
  1227. package/lib/module/icons/Grid.js +6 -18
  1228. package/lib/module/icons/Grid.js.map +1 -1
  1229. package/lib/module/icons/Group.js +6 -18
  1230. package/lib/module/icons/Group.js.map +1 -1
  1231. package/lib/module/icons/HTML.js +18 -53
  1232. package/lib/module/icons/HTML.js.map +1 -1
  1233. package/lib/module/icons/Imgur.js +15 -41
  1234. package/lib/module/icons/Imgur.js.map +1 -1
  1235. package/lib/module/icons/LOLReaction.js +6 -18
  1236. package/lib/module/icons/LOLReaction.js.map +1 -1
  1237. package/lib/module/icons/Lightning.js +6 -18
  1238. package/lib/module/icons/Lightning.js.map +1 -1
  1239. package/lib/module/icons/Link.js +8 -27
  1240. package/lib/module/icons/Link.js.map +1 -1
  1241. package/lib/module/icons/Loading.js +23 -56
  1242. package/lib/module/icons/Loading.js.map +1 -1
  1243. package/lib/module/icons/Logo.js +7 -19
  1244. package/lib/module/icons/Logo.js.map +1 -1
  1245. package/lib/module/icons/LoveReaction.js +6 -18
  1246. package/lib/module/icons/LoveReaction.js.map +1 -1
  1247. package/lib/module/icons/MD.js +18 -53
  1248. package/lib/module/icons/MD.js.map +1 -1
  1249. package/lib/module/icons/MailOpen.js +6 -18
  1250. package/lib/module/icons/MailOpen.js.map +1 -1
  1251. package/lib/module/icons/MenuPointHorizontal.js +6 -18
  1252. package/lib/module/icons/MenuPointHorizontal.js.map +1 -1
  1253. package/lib/module/icons/MenuPointVertical.js +6 -18
  1254. package/lib/module/icons/MenuPointVertical.js.map +1 -1
  1255. package/lib/module/icons/MessageFlag.js +6 -18
  1256. package/lib/module/icons/MessageFlag.js.map +1 -1
  1257. package/lib/module/icons/MessageIcon.js +6 -18
  1258. package/lib/module/icons/MessageIcon.js.map +1 -1
  1259. package/lib/module/icons/Mute.js +6 -18
  1260. package/lib/module/icons/Mute.js.map +1 -1
  1261. package/lib/module/icons/Notification.js +10 -36
  1262. package/lib/module/icons/Notification.js.map +1 -1
  1263. package/lib/module/icons/ODT.js +18 -53
  1264. package/lib/module/icons/ODT.js.map +1 -1
  1265. package/lib/module/icons/PDF.js +18 -53
  1266. package/lib/module/icons/PDF.js.map +1 -1
  1267. package/lib/module/icons/PPT.js +32 -83
  1268. package/lib/module/icons/PPT.js.map +1 -1
  1269. package/lib/module/icons/PPTX.js +32 -83
  1270. package/lib/module/icons/PPTX.js.map +1 -1
  1271. package/lib/module/icons/Pause.js +16 -33
  1272. package/lib/module/icons/Pause.js.map +1 -1
  1273. package/lib/module/icons/Picture.js +8 -27
  1274. package/lib/module/icons/Picture.js.map +1 -1
  1275. package/lib/module/icons/Pin.js +7 -19
  1276. package/lib/module/icons/Pin.js.map +1 -1
  1277. package/lib/module/icons/PinHeader.js +6 -18
  1278. package/lib/module/icons/PinHeader.js.map +1 -1
  1279. package/lib/module/icons/Play.js +7 -19
  1280. package/lib/module/icons/Play.js.map +1 -1
  1281. package/lib/module/icons/RAR.js +18 -53
  1282. package/lib/module/icons/RAR.js.map +1 -1
  1283. package/lib/module/icons/RTF.js +18 -53
  1284. package/lib/module/icons/RTF.js.map +1 -1
  1285. package/lib/module/icons/Recorder.js +8 -27
  1286. package/lib/module/icons/Recorder.js.map +1 -1
  1287. package/lib/module/icons/Refresh.js +6 -18
  1288. package/lib/module/icons/Refresh.js.map +1 -1
  1289. package/lib/module/icons/SEVEN_Z.js +18 -53
  1290. package/lib/module/icons/SEVEN_Z.js.map +1 -1
  1291. package/lib/module/icons/Search.js +6 -18
  1292. package/lib/module/icons/Search.js.map +1 -1
  1293. package/lib/module/icons/SendRight.js +6 -18
  1294. package/lib/module/icons/SendRight.js.map +1 -1
  1295. package/lib/module/icons/SendUp.js +6 -18
  1296. package/lib/module/icons/SendUp.js.map +1 -1
  1297. package/lib/module/icons/Share.js +15 -40
  1298. package/lib/module/icons/Share.js.map +1 -1
  1299. package/lib/module/icons/ShareRightArrow.js +6 -18
  1300. package/lib/module/icons/ShareRightArrow.js.map +1 -1
  1301. package/lib/module/icons/Smile.js +8 -27
  1302. package/lib/module/icons/Smile.js.map +1 -1
  1303. package/lib/module/icons/Sound.js +6 -18
  1304. package/lib/module/icons/Sound.js.map +1 -1
  1305. package/lib/module/icons/TAR.js +18 -53
  1306. package/lib/module/icons/TAR.js.map +1 -1
  1307. package/lib/module/icons/TXT.js +18 -53
  1308. package/lib/module/icons/TXT.js.map +1 -1
  1309. package/lib/module/icons/ThreadReply.js +6 -18
  1310. package/lib/module/icons/ThreadReply.js.map +1 -1
  1311. package/lib/module/icons/ThumbsDownReaction.js +6 -18
  1312. package/lib/module/icons/ThumbsDownReaction.js.map +1 -1
  1313. package/lib/module/icons/ThumbsUpReaction.js +6 -18
  1314. package/lib/module/icons/ThumbsUpReaction.js.map +1 -1
  1315. package/lib/module/icons/Time.js +8 -27
  1316. package/lib/module/icons/Time.js.map +1 -1
  1317. package/lib/module/icons/Unknown.js +6 -18
  1318. package/lib/module/icons/Unknown.js.map +1 -1
  1319. package/lib/module/icons/Unpin.js +6 -18
  1320. package/lib/module/icons/Unpin.js.map +1 -1
  1321. package/lib/module/icons/User.js +6 -18
  1322. package/lib/module/icons/User.js.map +1 -1
  1323. package/lib/module/icons/UserAdd.js +8 -27
  1324. package/lib/module/icons/UserAdd.js.map +1 -1
  1325. package/lib/module/icons/UserAdmin.js +13 -32
  1326. package/lib/module/icons/UserAdmin.js.map +1 -1
  1327. package/lib/module/icons/UserDelete.js +8 -27
  1328. package/lib/module/icons/UserDelete.js.map +1 -1
  1329. package/lib/module/icons/UserMinus.js +8 -27
  1330. package/lib/module/icons/UserMinus.js.map +1 -1
  1331. package/lib/module/icons/Video.js +18 -58
  1332. package/lib/module/icons/Video.js.map +1 -1
  1333. package/lib/module/icons/Warning.js +6 -18
  1334. package/lib/module/icons/Warning.js.map +1 -1
  1335. package/lib/module/icons/WutReaction.js +6 -18
  1336. package/lib/module/icons/WutReaction.js.map +1 -1
  1337. package/lib/module/icons/XLS.js +32 -83
  1338. package/lib/module/icons/XLS.js.map +1 -1
  1339. package/lib/module/icons/XLSX.js +32 -83
  1340. package/lib/module/icons/XLSX.js.map +1 -1
  1341. package/lib/module/icons/ZIP.js +18 -53
  1342. package/lib/module/icons/ZIP.js.map +1 -1
  1343. package/lib/module/icons/index.js.map +1 -1
  1344. package/lib/module/icons/utils/base.js +8 -19
  1345. package/lib/module/icons/utils/base.js.map +1 -1
  1346. package/lib/module/index.js +2 -2
  1347. package/lib/module/index.js.map +1 -1
  1348. package/lib/module/init.js.map +1 -1
  1349. package/lib/module/mock-builders/DB/consts.js.map +1 -1
  1350. package/lib/module/mock-builders/DB/mock.js +2 -2
  1351. package/lib/module/mock-builders/DB/mock.js.map +1 -1
  1352. package/lib/module/mock-builders/api/channelMocks.js.map +1 -1
  1353. package/lib/module/mock-builders/api/deleteMessage.js.map +1 -1
  1354. package/lib/module/mock-builders/api/deleteReaction.js.map +1 -1
  1355. package/lib/module/mock-builders/api/error.js +4 -6
  1356. package/lib/module/mock-builders/api/error.js.map +1 -1
  1357. package/lib/module/mock-builders/api/getOrCreateChannel.js.map +1 -1
  1358. package/lib/module/mock-builders/api/queryChannels.js.map +1 -1
  1359. package/lib/module/mock-builders/api/queryMembers.js.map +1 -1
  1360. package/lib/module/mock-builders/api/sendMessage.js.map +1 -1
  1361. package/lib/module/mock-builders/api/sendReaction.js.map +1 -1
  1362. package/lib/module/mock-builders/api/threadReplies.js.map +1 -1
  1363. package/lib/module/mock-builders/api/useMockedApis.js.map +1 -1
  1364. package/lib/module/mock-builders/api/utils.js.map +1 -1
  1365. package/lib/module/mock-builders/event/channelDeleted.js.map +1 -1
  1366. package/lib/module/mock-builders/event/channelHidden.js.map +1 -1
  1367. package/lib/module/mock-builders/event/channelTruncated.js.map +1 -1
  1368. package/lib/module/mock-builders/event/channelUpdated.js.map +1 -1
  1369. package/lib/module/mock-builders/event/connectionChanged.js.map +1 -1
  1370. package/lib/module/mock-builders/event/connectionRecovered.js.map +1 -1
  1371. package/lib/module/mock-builders/event/memberAdded.js.map +1 -1
  1372. package/lib/module/mock-builders/event/memberRemoved.js.map +1 -1
  1373. package/lib/module/mock-builders/event/memberUpdated.js.map +1 -1
  1374. package/lib/module/mock-builders/event/messageDeleted.js.map +1 -1
  1375. package/lib/module/mock-builders/event/messageNew.js.map +1 -1
  1376. package/lib/module/mock-builders/event/messageRead.js.map +1 -1
  1377. package/lib/module/mock-builders/event/messageUpdated.js.map +1 -1
  1378. package/lib/module/mock-builders/event/notificationAddedToChannel.js.map +1 -1
  1379. package/lib/module/mock-builders/event/notificationMessageNew.js.map +1 -1
  1380. package/lib/module/mock-builders/event/notificationMutesUpdated.js +1 -3
  1381. package/lib/module/mock-builders/event/notificationMutesUpdated.js.map +1 -1
  1382. package/lib/module/mock-builders/event/notificationRemovedFromChannel.js.map +1 -1
  1383. package/lib/module/mock-builders/event/reactionDeleted.js.map +1 -1
  1384. package/lib/module/mock-builders/event/reactionNew.js.map +1 -1
  1385. package/lib/module/mock-builders/event/reactionUpdated.js.map +1 -1
  1386. package/lib/module/mock-builders/event/typing.js.map +1 -1
  1387. package/lib/module/mock-builders/event/userPresence.js.map +1 -1
  1388. package/lib/module/mock-builders/event/userUpdated.js.map +1 -1
  1389. package/lib/module/mock-builders/generator/attachment.js +9 -11
  1390. package/lib/module/mock-builders/generator/attachment.js.map +1 -1
  1391. package/lib/module/mock-builders/generator/channel.js +11 -12
  1392. package/lib/module/mock-builders/generator/channel.js.map +1 -1
  1393. package/lib/module/mock-builders/generator/member.js +1 -3
  1394. package/lib/module/mock-builders/generator/member.js.map +1 -1
  1395. package/lib/module/mock-builders/generator/message.js +2 -4
  1396. package/lib/module/mock-builders/generator/message.js.map +1 -1
  1397. package/lib/module/mock-builders/generator/reaction.js +1 -3
  1398. package/lib/module/mock-builders/generator/reaction.js.map +1 -1
  1399. package/lib/module/mock-builders/generator/user.js +2 -4
  1400. package/lib/module/mock-builders/generator/user.js.map +1 -1
  1401. package/lib/module/mock-builders/mock.js +1 -2
  1402. package/lib/module/mock-builders/mock.js.map +1 -1
  1403. package/lib/module/mock-builders/native/react-native-mock.js.map +1 -1
  1404. package/lib/module/native.js.map +1 -1
  1405. package/lib/module/store/QuickSqliteClient.js +11 -11
  1406. package/lib/module/store/QuickSqliteClient.js.map +1 -1
  1407. package/lib/module/store/apis/addPendingTask.js.map +1 -1
  1408. package/lib/module/store/apis/deleteChannel.js.map +1 -1
  1409. package/lib/module/store/apis/deleteMember.js.map +1 -1
  1410. package/lib/module/store/apis/deleteMessage.js.map +1 -1
  1411. package/lib/module/store/apis/deleteMessagesForChannel.js.map +1 -1
  1412. package/lib/module/store/apis/deletePendingTask.js.map +1 -1
  1413. package/lib/module/store/apis/deleteReaction.js.map +1 -1
  1414. package/lib/module/store/apis/deleteReactions.js.map +1 -1
  1415. package/lib/module/store/apis/getAllChannelIds.js.map +1 -1
  1416. package/lib/module/store/apis/getAppSettings.js.map +1 -1
  1417. package/lib/module/store/apis/getChannelMessages.js.map +1 -1
  1418. package/lib/module/store/apis/getChannels.js +1 -3
  1419. package/lib/module/store/apis/getChannels.js.map +1 -1
  1420. package/lib/module/store/apis/getChannelsForFilterSort.js.map +1 -1
  1421. package/lib/module/store/apis/getLastSyncedAt.js.map +1 -1
  1422. package/lib/module/store/apis/getMembers.js.map +1 -1
  1423. package/lib/module/store/apis/getPendingTasks.js.map +1 -1
  1424. package/lib/module/store/apis/getReads.js.map +1 -1
  1425. package/lib/module/store/apis/index.js.map +1 -1
  1426. package/lib/module/store/apis/insertReaction.js.map +1 -1
  1427. package/lib/module/store/apis/queries/selectChannelIdsForFilterSort.js.map +1 -1
  1428. package/lib/module/store/apis/queries/selectChannels.js.map +1 -1
  1429. package/lib/module/store/apis/queries/selectMembersForChannels.js +3 -3
  1430. package/lib/module/store/apis/queries/selectMembersForChannels.js.map +1 -1
  1431. package/lib/module/store/apis/queries/selectMessagesForChannels.js +3 -3
  1432. package/lib/module/store/apis/queries/selectMessagesForChannels.js.map +1 -1
  1433. package/lib/module/store/apis/queries/selectReactionsForMessages.js +3 -3
  1434. package/lib/module/store/apis/queries/selectReactionsForMessages.js.map +1 -1
  1435. package/lib/module/store/apis/queries/selectReadsForChannels.js +3 -3
  1436. package/lib/module/store/apis/queries/selectReadsForChannels.js.map +1 -1
  1437. package/lib/module/store/apis/updateMessage.js.map +1 -1
  1438. package/lib/module/store/apis/updateReaction.js.map +1 -1
  1439. package/lib/module/store/apis/upsertAppSettings.js.map +1 -1
  1440. package/lib/module/store/apis/upsertChannelData.js.map +1 -1
  1441. package/lib/module/store/apis/upsertChannelDataFromChannel.js +21 -0
  1442. package/lib/module/store/apis/upsertChannelDataFromChannel.js.map +1 -0
  1443. package/lib/module/store/apis/upsertChannels.js +29 -21
  1444. package/lib/module/store/apis/upsertChannels.js.map +1 -1
  1445. package/lib/module/store/apis/upsertCidsForQuery.js.map +1 -1
  1446. package/lib/module/store/apis/upsertMembers.js.map +1 -1
  1447. package/lib/module/store/apis/upsertMessages.js.map +1 -1
  1448. package/lib/module/store/apis/upsertReads.js.map +1 -1
  1449. package/lib/module/store/apis/upsertUserSyncStatus.js.map +1 -1
  1450. package/lib/module/store/apis/utils/convertFilterSortToQuery.js +1 -1
  1451. package/lib/module/store/apis/utils/convertFilterSortToQuery.js.map +1 -1
  1452. package/lib/module/store/constants.js.map +1 -1
  1453. package/lib/module/store/mappers/mapChannelDataToStorable.js.map +1 -1
  1454. package/lib/module/store/mappers/mapChannelToStorable.js +63 -0
  1455. package/lib/module/store/mappers/mapChannelToStorable.js.map +1 -0
  1456. package/lib/module/store/mappers/mapDateTimeToStorable.js.map +1 -1
  1457. package/lib/module/store/mappers/mapMemberToStorable.js.map +1 -1
  1458. package/lib/module/store/mappers/mapMessageToStorable.js.map +1 -1
  1459. package/lib/module/store/mappers/mapReactionToStorable.js.map +1 -1
  1460. package/lib/module/store/mappers/mapReadToStorable.js.map +1 -1
  1461. package/lib/module/store/mappers/mapStorableToChannel.js +1 -3
  1462. package/lib/module/store/mappers/mapStorableToChannel.js.map +1 -1
  1463. package/lib/module/store/mappers/mapStorableToMember.js.map +1 -1
  1464. package/lib/module/store/mappers/mapStorableToMessage.js +1 -2
  1465. package/lib/module/store/mappers/mapStorableToMessage.js.map +1 -1
  1466. package/lib/module/store/mappers/mapStorableToReaction.js +1 -3
  1467. package/lib/module/store/mappers/mapStorableToReaction.js.map +1 -1
  1468. package/lib/module/store/mappers/mapStorableToRead.js.map +1 -1
  1469. package/lib/module/store/mappers/mapStorableToTask.js.map +1 -1
  1470. package/lib/module/store/mappers/mapStorableToUser.js +1 -3
  1471. package/lib/module/store/mappers/mapStorableToUser.js.map +1 -1
  1472. package/lib/module/store/mappers/mapTaskToStorable.js +1 -3
  1473. package/lib/module/store/mappers/mapTaskToStorable.js.map +1 -1
  1474. package/lib/module/store/mappers/mapUserToStorable.js.map +1 -1
  1475. package/lib/module/store/schema.js.map +1 -1
  1476. package/lib/module/store/sqlite-utils/appendOrderByClause.js +2 -2
  1477. package/lib/module/store/sqlite-utils/appendOrderByClause.js.map +1 -1
  1478. package/lib/module/store/sqlite-utils/appendWhereCluase.js +3 -3
  1479. package/lib/module/store/sqlite-utils/appendWhereCluase.js.map +1 -1
  1480. package/lib/module/store/sqlite-utils/createCreateTableQuery.js +5 -5
  1481. package/lib/module/store/sqlite-utils/createCreateTableQuery.js.map +1 -1
  1482. package/lib/module/store/sqlite-utils/createDeleteQuery.js +1 -1
  1483. package/lib/module/store/sqlite-utils/createDeleteQuery.js.map +1 -1
  1484. package/lib/module/store/sqlite-utils/createSelectQuery.js +2 -2
  1485. package/lib/module/store/sqlite-utils/createSelectQuery.js.map +1 -1
  1486. package/lib/module/store/sqlite-utils/createUpdateQuery.js +3 -3
  1487. package/lib/module/store/sqlite-utils/createUpdateQuery.js.map +1 -1
  1488. package/lib/module/store/sqlite-utils/createUpsertQuery.js +3 -3
  1489. package/lib/module/store/sqlite-utils/createUpsertQuery.js.map +1 -1
  1490. package/lib/module/store/sqlite-utils/printRow.js.map +1 -1
  1491. package/lib/module/store/types.js.map +1 -1
  1492. package/lib/module/test-utils/BetterSqlite.js +2 -2
  1493. package/lib/module/test-utils/BetterSqlite.js.map +1 -1
  1494. package/lib/module/types/types.js.map +1 -1
  1495. package/lib/module/utils/DBSyncManager.js +124 -98
  1496. package/lib/module/utils/DBSyncManager.js.map +1 -1
  1497. package/lib/module/utils/StreamChatRN.js +1 -2
  1498. package/lib/module/utils/StreamChatRN.js.map +1 -1
  1499. package/lib/module/utils/Streami18n.js +24 -22
  1500. package/lib/module/utils/Streami18n.js.map +1 -1
  1501. package/lib/module/utils/addReactionToLocalState.js.map +1 -1
  1502. package/lib/module/utils/compressImage.js.map +1 -1
  1503. package/lib/module/utils/date.js.map +1 -1
  1504. package/lib/module/utils/getResizedImageUrl.js +3 -3
  1505. package/lib/module/utils/getResizedImageUrl.js.map +1 -1
  1506. package/lib/module/utils/getUrlOfImageAttachment.js.map +1 -1
  1507. package/lib/module/utils/patchMessageTextCommand.js +2 -2
  1508. package/lib/module/utils/patchMessageTextCommand.js.map +1 -1
  1509. package/lib/module/utils/removeReactionFromLocalState.js.map +1 -1
  1510. package/lib/module/utils/removeReservedFields.js +1 -3
  1511. package/lib/module/utils/removeReservedFields.js.map +1 -1
  1512. package/lib/module/utils/utils.js +29 -22
  1513. package/lib/module/utils/utils.js.map +1 -1
  1514. package/lib/module/version.json +1 -1
  1515. package/lib/typescript/components/Attachment/Attachment.d.ts +3 -2
  1516. package/lib/typescript/components/Attachment/Attachment.d.ts.map +1 -0
  1517. package/lib/typescript/components/Attachment/AttachmentActions.d.ts +3 -2
  1518. package/lib/typescript/components/Attachment/AttachmentActions.d.ts.map +1 -0
  1519. package/lib/typescript/components/Attachment/AudioAttachment.d.ts +3 -2
  1520. package/lib/typescript/components/Attachment/AudioAttachment.d.ts.map +1 -0
  1521. package/lib/typescript/components/Attachment/Card.d.ts +3 -2
  1522. package/lib/typescript/components/Attachment/Card.d.ts.map +1 -0
  1523. package/lib/typescript/components/Attachment/FileAttachment.d.ts +3 -2
  1524. package/lib/typescript/components/Attachment/FileAttachment.d.ts.map +1 -0
  1525. package/lib/typescript/components/Attachment/FileAttachmentGroup.d.ts +3 -2
  1526. package/lib/typescript/components/Attachment/FileAttachmentGroup.d.ts.map +1 -0
  1527. package/lib/typescript/components/Attachment/FileIcon.d.ts +5 -1
  1528. package/lib/typescript/components/Attachment/FileIcon.d.ts.map +1 -0
  1529. package/lib/typescript/components/Attachment/Gallery.d.ts +3 -2
  1530. package/lib/typescript/components/Attachment/Gallery.d.ts.map +1 -0
  1531. package/lib/typescript/components/Attachment/GalleryImage.d.ts +4 -3
  1532. package/lib/typescript/components/Attachment/GalleryImage.d.ts.map +1 -0
  1533. package/lib/typescript/components/Attachment/Giphy.d.ts +3 -2
  1534. package/lib/typescript/components/Attachment/Giphy.d.ts.map +1 -0
  1535. package/lib/typescript/components/Attachment/ImageLoadingFailedIndicator.d.ts +3 -2
  1536. package/lib/typescript/components/Attachment/ImageLoadingFailedIndicator.d.ts.map +1 -0
  1537. package/lib/typescript/components/Attachment/ImageLoadingIndicator.d.ts +3 -2
  1538. package/lib/typescript/components/Attachment/ImageLoadingIndicator.d.ts.map +1 -0
  1539. package/lib/typescript/components/Attachment/ImageReloadIndicator.d.ts +2 -1
  1540. package/lib/typescript/components/Attachment/ImageReloadIndicator.d.ts.map +1 -0
  1541. package/lib/typescript/components/Attachment/VideoThumbnail.d.ts +2 -1
  1542. package/lib/typescript/components/Attachment/VideoThumbnail.d.ts.map +1 -0
  1543. package/lib/typescript/components/Attachment/utils/buildGallery/buildGallery.d.ts +1 -0
  1544. package/lib/typescript/components/Attachment/utils/buildGallery/buildGallery.d.ts.map +1 -0
  1545. package/lib/typescript/components/Attachment/utils/buildGallery/buildGalleryOfSingleImage.d.ts +1 -0
  1546. package/lib/typescript/components/Attachment/utils/buildGallery/buildGalleryOfSingleImage.d.ts.map +1 -0
  1547. package/lib/typescript/components/Attachment/utils/buildGallery/buildGalleryOfThreeImages.d.ts +1 -0
  1548. package/lib/typescript/components/Attachment/utils/buildGallery/buildGalleryOfThreeImages.d.ts.map +1 -0
  1549. package/lib/typescript/components/Attachment/utils/buildGallery/buildGalleryOfTwoImages.d.ts +1 -0
  1550. package/lib/typescript/components/Attachment/utils/buildGallery/buildGalleryOfTwoImages.d.ts.map +1 -0
  1551. package/lib/typescript/components/Attachment/utils/buildGallery/buildThumbnail.d.ts +1 -0
  1552. package/lib/typescript/components/Attachment/utils/buildGallery/buildThumbnail.d.ts.map +1 -0
  1553. package/lib/typescript/components/Attachment/utils/buildGallery/buildThumbnailGrid.d.ts +1 -0
  1554. package/lib/typescript/components/Attachment/utils/buildGallery/buildThumbnailGrid.d.ts.map +1 -0
  1555. package/lib/typescript/components/Attachment/utils/buildGallery/types.d.ts +1 -0
  1556. package/lib/typescript/components/Attachment/utils/buildGallery/types.d.ts.map +1 -0
  1557. package/lib/typescript/components/Attachment/utils/getAspectRatio.d.ts +1 -0
  1558. package/lib/typescript/components/Attachment/utils/getAspectRatio.d.ts.map +1 -0
  1559. package/lib/typescript/components/Attachment/utils/getGalleryImageBorderRadius.d.ts +1 -0
  1560. package/lib/typescript/components/Attachment/utils/getGalleryImageBorderRadius.d.ts.map +1 -0
  1561. package/lib/typescript/components/Attachment/utils/getGiphyMimeType.d.ts +1 -0
  1562. package/lib/typescript/components/Attachment/utils/getGiphyMimeType.d.ts.map +1 -0
  1563. package/lib/typescript/components/Attachment/utils/openUrlSafely.d.ts +1 -0
  1564. package/lib/typescript/components/Attachment/utils/openUrlSafely.d.ts.map +1 -0
  1565. package/lib/typescript/components/AttachmentPicker/AttachmentPicker.d.ts +1 -0
  1566. package/lib/typescript/components/AttachmentPicker/AttachmentPicker.d.ts.map +1 -0
  1567. package/lib/typescript/components/AttachmentPicker/components/AttachmentPickerBottomSheetHandle.d.ts +5 -2
  1568. package/lib/typescript/components/AttachmentPicker/components/AttachmentPickerBottomSheetHandle.d.ts.map +1 -0
  1569. package/lib/typescript/components/AttachmentPicker/components/AttachmentPickerError.d.ts +2 -1
  1570. package/lib/typescript/components/AttachmentPicker/components/AttachmentPickerError.d.ts.map +1 -0
  1571. package/lib/typescript/components/AttachmentPicker/components/AttachmentPickerErrorImage.d.ts +2 -1
  1572. package/lib/typescript/components/AttachmentPicker/components/AttachmentPickerErrorImage.d.ts.map +1 -0
  1573. package/lib/typescript/components/AttachmentPicker/components/AttachmentPickerIOSSelectMorePhotos.d.ts +3 -2
  1574. package/lib/typescript/components/AttachmentPicker/components/AttachmentPickerIOSSelectMorePhotos.d.ts.map +1 -0
  1575. package/lib/typescript/components/AttachmentPicker/components/AttachmentPickerItem.d.ts +2 -1
  1576. package/lib/typescript/components/AttachmentPicker/components/AttachmentPickerItem.d.ts.map +1 -0
  1577. package/lib/typescript/components/AttachmentPicker/components/AttachmentSelectionBar.d.ts +2 -1
  1578. package/lib/typescript/components/AttachmentPicker/components/AttachmentSelectionBar.d.ts.map +1 -0
  1579. package/lib/typescript/components/AttachmentPicker/components/CameraSelectorIcon.d.ts +2 -1
  1580. package/lib/typescript/components/AttachmentPicker/components/CameraSelectorIcon.d.ts.map +1 -0
  1581. package/lib/typescript/components/AttachmentPicker/components/FileSelectorIcon.d.ts +2 -1
  1582. package/lib/typescript/components/AttachmentPicker/components/FileSelectorIcon.d.ts.map +1 -0
  1583. package/lib/typescript/components/AttachmentPicker/components/ImageOverlaySelectedComponent.d.ts +5 -1
  1584. package/lib/typescript/components/AttachmentPicker/components/ImageOverlaySelectedComponent.d.ts.map +1 -0
  1585. package/lib/typescript/components/AttachmentPicker/components/ImageSelectorIcon.d.ts +2 -1
  1586. package/lib/typescript/components/AttachmentPicker/components/ImageSelectorIcon.d.ts.map +1 -0
  1587. package/lib/typescript/components/AutoCompleteInput/AutoCompleteInput.d.ts +3 -2
  1588. package/lib/typescript/components/AutoCompleteInput/AutoCompleteInput.d.ts.map +1 -0
  1589. package/lib/typescript/components/AutoCompleteInput/AutoCompleteSuggestionCommandIcon.d.ts +3 -2
  1590. package/lib/typescript/components/AutoCompleteInput/AutoCompleteSuggestionCommandIcon.d.ts.map +1 -0
  1591. package/lib/typescript/components/AutoCompleteInput/AutoCompleteSuggestionHeader.d.ts +3 -2
  1592. package/lib/typescript/components/AutoCompleteInput/AutoCompleteSuggestionHeader.d.ts.map +1 -0
  1593. package/lib/typescript/components/AutoCompleteInput/AutoCompleteSuggestionItem.d.ts +3 -2
  1594. package/lib/typescript/components/AutoCompleteInput/AutoCompleteSuggestionItem.d.ts.map +1 -0
  1595. package/lib/typescript/components/AutoCompleteInput/AutoCompleteSuggestionList.d.ts +3 -2
  1596. package/lib/typescript/components/AutoCompleteInput/AutoCompleteSuggestionList.d.ts.map +1 -0
  1597. package/lib/typescript/components/Avatar/Avatar.d.ts +5 -1
  1598. package/lib/typescript/components/Avatar/Avatar.d.ts.map +1 -0
  1599. package/lib/typescript/components/Avatar/GroupAvatar.d.ts +5 -1
  1600. package/lib/typescript/components/Avatar/GroupAvatar.d.ts.map +1 -0
  1601. package/lib/typescript/components/Channel/Channel.d.ts +2 -1
  1602. package/lib/typescript/components/Channel/Channel.d.ts.map +1 -0
  1603. package/lib/typescript/components/Channel/hooks/useCreateChannelContext.d.ts +1 -0
  1604. package/lib/typescript/components/Channel/hooks/useCreateChannelContext.d.ts.map +1 -0
  1605. package/lib/typescript/components/Channel/hooks/useCreateInputMessageInputContext.d.ts +6 -5
  1606. package/lib/typescript/components/Channel/hooks/useCreateInputMessageInputContext.d.ts.map +1 -0
  1607. package/lib/typescript/components/Channel/hooks/useCreateMessagesContext.d.ts +1 -0
  1608. package/lib/typescript/components/Channel/hooks/useCreateMessagesContext.d.ts.map +1 -0
  1609. package/lib/typescript/components/Channel/hooks/useCreateOwnCapabilitiesContext.d.ts +1 -0
  1610. package/lib/typescript/components/Channel/hooks/useCreateOwnCapabilitiesContext.d.ts.map +1 -0
  1611. package/lib/typescript/components/Channel/hooks/useCreatePaginatedMessageListContext.d.ts +1 -0
  1612. package/lib/typescript/components/Channel/hooks/useCreatePaginatedMessageListContext.d.ts.map +1 -0
  1613. package/lib/typescript/components/Channel/hooks/useCreateThreadContext.d.ts +1 -0
  1614. package/lib/typescript/components/Channel/hooks/useCreateThreadContext.d.ts.map +1 -0
  1615. package/lib/typescript/components/Channel/hooks/useCreateTypingContext.d.ts +1 -0
  1616. package/lib/typescript/components/Channel/hooks/useCreateTypingContext.d.ts.map +1 -0
  1617. package/lib/typescript/components/Channel/hooks/useTargetedMessage.d.ts +1 -0
  1618. package/lib/typescript/components/Channel/hooks/useTargetedMessage.d.ts.map +1 -0
  1619. package/lib/typescript/components/ChannelList/ChannelList.d.ts +2 -1
  1620. package/lib/typescript/components/ChannelList/ChannelList.d.ts.map +1 -0
  1621. package/lib/typescript/components/ChannelList/ChannelListFooterLoadingIndicator.d.ts +5 -1
  1622. package/lib/typescript/components/ChannelList/ChannelListFooterLoadingIndicator.d.ts.map +1 -0
  1623. package/lib/typescript/components/ChannelList/ChannelListHeaderErrorIndicator.d.ts +5 -1
  1624. package/lib/typescript/components/ChannelList/ChannelListHeaderErrorIndicator.d.ts.map +1 -0
  1625. package/lib/typescript/components/ChannelList/ChannelListHeaderNetworkDownIndicator.d.ts +5 -1
  1626. package/lib/typescript/components/ChannelList/ChannelListHeaderNetworkDownIndicator.d.ts.map +1 -0
  1627. package/lib/typescript/components/ChannelList/ChannelListLoadingIndicator.d.ts +2 -1
  1628. package/lib/typescript/components/ChannelList/ChannelListLoadingIndicator.d.ts.map +1 -0
  1629. package/lib/typescript/components/ChannelList/ChannelListMessenger.d.ts +3 -2
  1630. package/lib/typescript/components/ChannelList/ChannelListMessenger.d.ts.map +1 -0
  1631. package/lib/typescript/components/ChannelList/Skeleton.d.ts +5 -1
  1632. package/lib/typescript/components/ChannelList/Skeleton.d.ts.map +1 -0
  1633. package/lib/typescript/components/ChannelList/hooks/listeners/useAddedToChannelNotification.d.ts +1 -0
  1634. package/lib/typescript/components/ChannelList/hooks/listeners/useAddedToChannelNotification.d.ts.map +1 -0
  1635. package/lib/typescript/components/ChannelList/hooks/listeners/useChannelDeleted.d.ts +1 -0
  1636. package/lib/typescript/components/ChannelList/hooks/listeners/useChannelDeleted.d.ts.map +1 -0
  1637. package/lib/typescript/components/ChannelList/hooks/listeners/useChannelHidden.d.ts +1 -0
  1638. package/lib/typescript/components/ChannelList/hooks/listeners/useChannelHidden.d.ts.map +1 -0
  1639. package/lib/typescript/components/ChannelList/hooks/listeners/useChannelTruncated.d.ts +1 -0
  1640. package/lib/typescript/components/ChannelList/hooks/listeners/useChannelTruncated.d.ts.map +1 -0
  1641. package/lib/typescript/components/ChannelList/hooks/listeners/useChannelUpdated.d.ts +1 -0
  1642. package/lib/typescript/components/ChannelList/hooks/listeners/useChannelUpdated.d.ts.map +1 -0
  1643. package/lib/typescript/components/ChannelList/hooks/listeners/useChannelVisible.d.ts +1 -0
  1644. package/lib/typescript/components/ChannelList/hooks/listeners/useChannelVisible.d.ts.map +1 -0
  1645. package/lib/typescript/components/ChannelList/hooks/listeners/useNewMessage.d.ts +1 -0
  1646. package/lib/typescript/components/ChannelList/hooks/listeners/useNewMessage.d.ts.map +1 -0
  1647. package/lib/typescript/components/ChannelList/hooks/listeners/useNewMessageNotification.d.ts +1 -0
  1648. package/lib/typescript/components/ChannelList/hooks/listeners/useNewMessageNotification.d.ts.map +1 -0
  1649. package/lib/typescript/components/ChannelList/hooks/listeners/useRemovedFromChannelNotification.d.ts +1 -0
  1650. package/lib/typescript/components/ChannelList/hooks/listeners/useRemovedFromChannelNotification.d.ts.map +1 -0
  1651. package/lib/typescript/components/ChannelList/hooks/listeners/useUserPresence.d.ts +1 -0
  1652. package/lib/typescript/components/ChannelList/hooks/listeners/useUserPresence.d.ts.map +1 -0
  1653. package/lib/typescript/components/ChannelList/hooks/useCreateChannelsContext.d.ts +1 -0
  1654. package/lib/typescript/components/ChannelList/hooks/useCreateChannelsContext.d.ts.map +1 -0
  1655. package/lib/typescript/components/ChannelList/hooks/usePaginatedChannels.d.ts +1 -0
  1656. package/lib/typescript/components/ChannelList/hooks/usePaginatedChannels.d.ts.map +1 -0
  1657. package/lib/typescript/components/ChannelList/utils.d.ts +2 -1
  1658. package/lib/typescript/components/ChannelList/utils.d.ts.map +1 -0
  1659. package/lib/typescript/components/ChannelPreview/ChannelAvatar.d.ts +4 -3
  1660. package/lib/typescript/components/ChannelPreview/ChannelAvatar.d.ts.map +1 -0
  1661. package/lib/typescript/components/ChannelPreview/ChannelPreview.d.ts +3 -2
  1662. package/lib/typescript/components/ChannelPreview/ChannelPreview.d.ts.map +1 -0
  1663. package/lib/typescript/components/ChannelPreview/ChannelPreviewMessage.d.ts +3 -2
  1664. package/lib/typescript/components/ChannelPreview/ChannelPreviewMessage.d.ts.map +1 -0
  1665. package/lib/typescript/components/ChannelPreview/ChannelPreviewMessenger.d.ts +3 -2
  1666. package/lib/typescript/components/ChannelPreview/ChannelPreviewMessenger.d.ts.map +1 -0
  1667. package/lib/typescript/components/ChannelPreview/ChannelPreviewMutedStatus.d.ts +3 -2
  1668. package/lib/typescript/components/ChannelPreview/ChannelPreviewMutedStatus.d.ts.map +1 -0
  1669. package/lib/typescript/components/ChannelPreview/ChannelPreviewStatus.d.ts +3 -2
  1670. package/lib/typescript/components/ChannelPreview/ChannelPreviewStatus.d.ts.map +1 -0
  1671. package/lib/typescript/components/ChannelPreview/ChannelPreviewTitle.d.ts +3 -2
  1672. package/lib/typescript/components/ChannelPreview/ChannelPreviewTitle.d.ts.map +1 -0
  1673. package/lib/typescript/components/ChannelPreview/ChannelPreviewUnreadCount.d.ts +3 -2
  1674. package/lib/typescript/components/ChannelPreview/ChannelPreviewUnreadCount.d.ts.map +1 -0
  1675. package/lib/typescript/components/ChannelPreview/hooks/useChannelPreviewDisplayAvatar.d.ts +1 -0
  1676. package/lib/typescript/components/ChannelPreview/hooks/useChannelPreviewDisplayAvatar.d.ts.map +1 -0
  1677. package/lib/typescript/components/ChannelPreview/hooks/useChannelPreviewDisplayName.d.ts +1 -0
  1678. package/lib/typescript/components/ChannelPreview/hooks/useChannelPreviewDisplayName.d.ts.map +1 -0
  1679. package/lib/typescript/components/ChannelPreview/hooks/useChannelPreviewDisplayPresence.d.ts +1 -0
  1680. package/lib/typescript/components/ChannelPreview/hooks/useChannelPreviewDisplayPresence.d.ts.map +1 -0
  1681. package/lib/typescript/components/ChannelPreview/hooks/useLatestMessagePreview.d.ts +1 -0
  1682. package/lib/typescript/components/ChannelPreview/hooks/useLatestMessagePreview.d.ts.map +1 -0
  1683. package/lib/typescript/components/Chat/Chat.d.ts +2 -1
  1684. package/lib/typescript/components/Chat/Chat.d.ts.map +1 -0
  1685. package/lib/typescript/components/Chat/hooks/handleEventToSyncDB.d.ts +5 -2
  1686. package/lib/typescript/components/Chat/hooks/handleEventToSyncDB.d.ts.map +1 -0
  1687. package/lib/typescript/components/Chat/hooks/useAppSettings.d.ts +1 -0
  1688. package/lib/typescript/components/Chat/hooks/useAppSettings.d.ts.map +1 -0
  1689. package/lib/typescript/components/Chat/hooks/useCreateChatContext.d.ts +1 -0
  1690. package/lib/typescript/components/Chat/hooks/useCreateChatContext.d.ts.map +1 -0
  1691. package/lib/typescript/components/Chat/hooks/useIsOnline.d.ts +1 -0
  1692. package/lib/typescript/components/Chat/hooks/useIsOnline.d.ts.map +1 -0
  1693. package/lib/typescript/components/Chat/hooks/useMutedUsers.d.ts +1 -0
  1694. package/lib/typescript/components/Chat/hooks/useMutedUsers.d.ts.map +1 -0
  1695. package/lib/typescript/components/Chat/hooks/useSyncDatabase.d.ts +1 -0
  1696. package/lib/typescript/components/Chat/hooks/useSyncDatabase.d.ts.map +1 -0
  1697. package/lib/typescript/components/ImageBackground.d.ts +1 -0
  1698. package/lib/typescript/components/ImageBackground.d.ts.map +1 -0
  1699. package/lib/typescript/components/ImageGallery/ImageGallery.d.ts +3 -2
  1700. package/lib/typescript/components/ImageGallery/ImageGallery.d.ts.map +1 -0
  1701. package/lib/typescript/components/ImageGallery/components/AnimatedGalleryImage.d.ts +2 -1
  1702. package/lib/typescript/components/ImageGallery/components/AnimatedGalleryImage.d.ts.map +1 -0
  1703. package/lib/typescript/components/ImageGallery/components/AnimatedGalleryVideo.d.ts +2 -1
  1704. package/lib/typescript/components/ImageGallery/components/AnimatedGalleryVideo.d.ts.map +1 -0
  1705. package/lib/typescript/components/ImageGallery/components/ImageGalleryFooter.d.ts +3 -2
  1706. package/lib/typescript/components/ImageGallery/components/ImageGalleryFooter.d.ts.map +1 -0
  1707. package/lib/typescript/components/ImageGallery/components/ImageGalleryHeader.d.ts +2 -1
  1708. package/lib/typescript/components/ImageGallery/components/ImageGalleryHeader.d.ts.map +1 -0
  1709. package/lib/typescript/components/ImageGallery/components/ImageGalleryOverlay.d.ts +5 -1
  1710. package/lib/typescript/components/ImageGallery/components/ImageGalleryOverlay.d.ts.map +1 -0
  1711. package/lib/typescript/components/ImageGallery/components/ImageGalleryVideoControl.d.ts +2 -1
  1712. package/lib/typescript/components/ImageGallery/components/ImageGalleryVideoControl.d.ts.map +1 -0
  1713. package/lib/typescript/components/ImageGallery/components/ImageGrid.d.ts +2 -1
  1714. package/lib/typescript/components/ImageGallery/components/ImageGrid.d.ts.map +1 -0
  1715. package/lib/typescript/components/ImageGallery/components/ImageGridHandle.d.ts +5 -1
  1716. package/lib/typescript/components/ImageGallery/components/ImageGridHandle.d.ts.map +1 -0
  1717. package/lib/typescript/components/ImageGallery/hooks/useImageGalleryGestures.d.ts +5 -4
  1718. package/lib/typescript/components/ImageGallery/hooks/useImageGalleryGestures.d.ts.map +1 -0
  1719. package/lib/typescript/components/Indicators/EmptyStateIndicator.d.ts +2 -1
  1720. package/lib/typescript/components/Indicators/EmptyStateIndicator.d.ts.map +1 -0
  1721. package/lib/typescript/components/Indicators/LoadingDot.d.ts +2 -1
  1722. package/lib/typescript/components/Indicators/LoadingDot.d.ts.map +1 -0
  1723. package/lib/typescript/components/Indicators/LoadingDots.d.ts +2 -1
  1724. package/lib/typescript/components/Indicators/LoadingDots.d.ts.map +1 -0
  1725. package/lib/typescript/components/Indicators/LoadingErrorIndicator.d.ts +5 -1
  1726. package/lib/typescript/components/Indicators/LoadingErrorIndicator.d.ts.map +1 -0
  1727. package/lib/typescript/components/Indicators/LoadingIndicator.d.ts +5 -1
  1728. package/lib/typescript/components/Indicators/LoadingIndicator.d.ts.map +1 -0
  1729. package/lib/typescript/components/KeyboardCompatibleView/KeyboardCompatibleView.d.ts +4 -3
  1730. package/lib/typescript/components/KeyboardCompatibleView/KeyboardCompatibleView.d.ts.map +1 -0
  1731. package/lib/typescript/components/KeyboardCompatibleView/KeyboardCompatibleViewFC.d.ts +2 -1
  1732. package/lib/typescript/components/KeyboardCompatibleView/KeyboardCompatibleViewFC.d.ts.map +1 -0
  1733. package/lib/typescript/components/Message/Message.d.ts +3 -2
  1734. package/lib/typescript/components/Message/Message.d.ts.map +1 -0
  1735. package/lib/typescript/components/Message/MessageSimple/MessageAvatar.d.ts +3 -2
  1736. package/lib/typescript/components/Message/MessageSimple/MessageAvatar.d.ts.map +1 -0
  1737. package/lib/typescript/components/Message/MessageSimple/MessageBounce.d.ts +3 -2
  1738. package/lib/typescript/components/Message/MessageSimple/MessageBounce.d.ts.map +1 -0
  1739. package/lib/typescript/components/Message/MessageSimple/MessageContent.d.ts +2 -1
  1740. package/lib/typescript/components/Message/MessageSimple/MessageContent.d.ts.map +1 -0
  1741. package/lib/typescript/components/Message/MessageSimple/MessageDeleted.d.ts +2 -1
  1742. package/lib/typescript/components/Message/MessageSimple/MessageDeleted.d.ts.map +1 -0
  1743. package/lib/typescript/components/Message/MessageSimple/MessageError.d.ts +2 -1
  1744. package/lib/typescript/components/Message/MessageSimple/MessageError.d.ts.map +1 -0
  1745. package/lib/typescript/components/Message/MessageSimple/MessageFooter.d.ts +2 -1
  1746. package/lib/typescript/components/Message/MessageSimple/MessageFooter.d.ts.map +1 -0
  1747. package/lib/typescript/components/Message/MessageSimple/MessagePinnedHeader.d.ts +3 -2
  1748. package/lib/typescript/components/Message/MessageSimple/MessagePinnedHeader.d.ts.map +1 -0
  1749. package/lib/typescript/components/Message/MessageSimple/MessageReplies.d.ts +3 -2
  1750. package/lib/typescript/components/Message/MessageSimple/MessageReplies.d.ts.map +1 -0
  1751. package/lib/typescript/components/Message/MessageSimple/MessageRepliesAvatars.d.ts +4 -3
  1752. package/lib/typescript/components/Message/MessageSimple/MessageRepliesAvatars.d.ts.map +1 -0
  1753. package/lib/typescript/components/Message/MessageSimple/MessageSimple.d.ts +3 -2
  1754. package/lib/typescript/components/Message/MessageSimple/MessageSimple.d.ts.map +1 -0
  1755. package/lib/typescript/components/Message/MessageSimple/MessageStatus.d.ts +3 -2
  1756. package/lib/typescript/components/Message/MessageSimple/MessageStatus.d.ts.map +1 -0
  1757. package/lib/typescript/components/Message/MessageSimple/MessageTextContainer.d.ts +3 -2
  1758. package/lib/typescript/components/Message/MessageSimple/MessageTextContainer.d.ts.map +1 -0
  1759. package/lib/typescript/components/Message/MessageSimple/ReactionList.d.ts +3 -2
  1760. package/lib/typescript/components/Message/MessageSimple/ReactionList.d.ts.map +1 -0
  1761. package/lib/typescript/components/Message/MessageSimple/utils/generateMarkdownText.d.ts +1 -0
  1762. package/lib/typescript/components/Message/MessageSimple/utils/generateMarkdownText.d.ts.map +1 -0
  1763. package/lib/typescript/components/Message/MessageSimple/utils/generateMarkdownText.test.d.ts +1 -0
  1764. package/lib/typescript/components/Message/MessageSimple/utils/generateMarkdownText.test.d.ts.map +1 -0
  1765. package/lib/typescript/components/Message/MessageSimple/utils/parseLinks.d.ts +1 -0
  1766. package/lib/typescript/components/Message/MessageSimple/utils/parseLinks.d.ts.map +1 -0
  1767. package/lib/typescript/components/Message/MessageSimple/utils/parseLinks.test.d.ts +1 -0
  1768. package/lib/typescript/components/Message/MessageSimple/utils/parseLinks.test.d.ts.map +1 -0
  1769. package/lib/typescript/components/Message/MessageSimple/utils/renderText.d.ts +4 -3
  1770. package/lib/typescript/components/Message/MessageSimple/utils/renderText.d.ts.map +1 -0
  1771. package/lib/typescript/components/Message/MessageSimple/utils/renderText.test.d.ts +1 -0
  1772. package/lib/typescript/components/Message/MessageSimple/utils/renderText.test.d.ts.map +1 -0
  1773. package/lib/typescript/components/Message/hooks/useCreateMessageContext.d.ts +1 -0
  1774. package/lib/typescript/components/Message/hooks/useCreateMessageContext.d.ts.map +1 -0
  1775. package/lib/typescript/components/Message/hooks/useMessageActionHandlers.d.ts +1 -0
  1776. package/lib/typescript/components/Message/hooks/useMessageActionHandlers.d.ts.map +1 -0
  1777. package/lib/typescript/components/Message/hooks/useMessageActions.d.ts +1 -0
  1778. package/lib/typescript/components/Message/hooks/useMessageActions.d.ts.map +1 -0
  1779. package/lib/typescript/components/Message/utils/messageActions.d.ts +1 -0
  1780. package/lib/typescript/components/Message/utils/messageActions.d.ts.map +1 -0
  1781. package/lib/typescript/components/MessageInput/AttachButton.d.ts +3 -2
  1782. package/lib/typescript/components/MessageInput/AttachButton.d.ts.map +1 -0
  1783. package/lib/typescript/components/MessageInput/CommandsButton.d.ts +3 -2
  1784. package/lib/typescript/components/MessageInput/CommandsButton.d.ts.map +1 -0
  1785. package/lib/typescript/components/MessageInput/CooldownTimer.d.ts +3 -2
  1786. package/lib/typescript/components/MessageInput/CooldownTimer.d.ts.map +1 -0
  1787. package/lib/typescript/components/MessageInput/FileUploadPreview.d.ts +3 -2
  1788. package/lib/typescript/components/MessageInput/FileUploadPreview.d.ts.map +1 -0
  1789. package/lib/typescript/components/MessageInput/ImageUploadPreview.d.ts +3 -2
  1790. package/lib/typescript/components/MessageInput/ImageUploadPreview.d.ts.map +1 -0
  1791. package/lib/typescript/components/MessageInput/InputButtons.d.ts +4 -3
  1792. package/lib/typescript/components/MessageInput/InputButtons.d.ts.map +1 -0
  1793. package/lib/typescript/components/MessageInput/MessageInput.d.ts +3 -2
  1794. package/lib/typescript/components/MessageInput/MessageInput.d.ts.map +1 -0
  1795. package/lib/typescript/components/MessageInput/MoreOptionsButton.d.ts +3 -2
  1796. package/lib/typescript/components/MessageInput/MoreOptionsButton.d.ts.map +1 -0
  1797. package/lib/typescript/components/MessageInput/SendButton.d.ts +3 -2
  1798. package/lib/typescript/components/MessageInput/SendButton.d.ts.map +1 -0
  1799. package/lib/typescript/components/MessageInput/SendMessageDisallowedIndicator.d.ts +3 -2
  1800. package/lib/typescript/components/MessageInput/SendMessageDisallowedIndicator.d.ts.map +1 -0
  1801. package/lib/typescript/components/MessageInput/ShowThreadMessageInChannelButton.d.ts +3 -2
  1802. package/lib/typescript/components/MessageInput/ShowThreadMessageInChannelButton.d.ts.map +1 -0
  1803. package/lib/typescript/components/MessageInput/UploadProgressIndicator.d.ts +3 -2
  1804. package/lib/typescript/components/MessageInput/UploadProgressIndicator.d.ts.map +1 -0
  1805. package/lib/typescript/components/MessageInput/components/InputEditingStateHeader.d.ts +4 -3
  1806. package/lib/typescript/components/MessageInput/components/InputEditingStateHeader.d.ts.map +1 -0
  1807. package/lib/typescript/components/MessageInput/components/InputGiphySearch.d.ts +4 -3
  1808. package/lib/typescript/components/MessageInput/components/InputGiphySearch.d.ts.map +1 -0
  1809. package/lib/typescript/components/MessageInput/components/InputReplyStateHeader.d.ts +4 -3
  1810. package/lib/typescript/components/MessageInput/components/InputReplyStateHeader.d.ts.map +1 -0
  1811. package/lib/typescript/components/MessageInput/hooks/useCooldown.d.ts +1 -0
  1812. package/lib/typescript/components/MessageInput/hooks/useCooldown.d.ts.map +1 -0
  1813. package/lib/typescript/components/MessageInput/hooks/useCountdown.d.ts +1 -0
  1814. package/lib/typescript/components/MessageInput/hooks/useCountdown.d.ts.map +1 -0
  1815. package/lib/typescript/components/MessageList/DateHeader.d.ts +2 -1
  1816. package/lib/typescript/components/MessageList/DateHeader.d.ts.map +1 -0
  1817. package/lib/typescript/components/MessageList/InlineDateSeparator.d.ts +2 -1
  1818. package/lib/typescript/components/MessageList/InlineDateSeparator.d.ts.map +1 -0
  1819. package/lib/typescript/components/MessageList/InlineLoadingMoreIndicator.d.ts +3 -2
  1820. package/lib/typescript/components/MessageList/InlineLoadingMoreIndicator.d.ts.map +1 -0
  1821. package/lib/typescript/components/MessageList/InlineLoadingMoreRecentIndicator.d.ts +3 -2
  1822. package/lib/typescript/components/MessageList/InlineLoadingMoreRecentIndicator.d.ts.map +1 -0
  1823. package/lib/typescript/components/MessageList/InlineLoadingMoreThreadIndicator.d.ts +3 -2
  1824. package/lib/typescript/components/MessageList/InlineLoadingMoreThreadIndicator.d.ts.map +1 -0
  1825. package/lib/typescript/components/MessageList/InlineUnreadIndicator.d.ts +2 -1
  1826. package/lib/typescript/components/MessageList/InlineUnreadIndicator.d.ts.map +1 -0
  1827. package/lib/typescript/components/MessageList/MessageList.d.ts +2 -1
  1828. package/lib/typescript/components/MessageList/MessageList.d.ts.map +1 -0
  1829. package/lib/typescript/components/MessageList/MessageSystem.d.ts +3 -2
  1830. package/lib/typescript/components/MessageList/MessageSystem.d.ts.map +1 -0
  1831. package/lib/typescript/components/MessageList/NetworkDownIndicator.d.ts +3 -2
  1832. package/lib/typescript/components/MessageList/NetworkDownIndicator.d.ts.map +1 -0
  1833. package/lib/typescript/components/MessageList/ScrollToBottomButton.d.ts +5 -1
  1834. package/lib/typescript/components/MessageList/ScrollToBottomButton.d.ts.map +1 -0
  1835. package/lib/typescript/components/MessageList/TypingIndicator.d.ts +3 -2
  1836. package/lib/typescript/components/MessageList/TypingIndicator.d.ts.map +1 -0
  1837. package/lib/typescript/components/MessageList/TypingIndicatorContainer.d.ts +3 -2
  1838. package/lib/typescript/components/MessageList/TypingIndicatorContainer.d.ts.map +1 -0
  1839. package/lib/typescript/components/MessageList/hooks/useMessageList.d.ts +1 -0
  1840. package/lib/typescript/components/MessageList/hooks/useMessageList.d.ts.map +1 -0
  1841. package/lib/typescript/components/MessageList/hooks/useShouldScrollToRecentOnNewOwnMessage.d.ts +1 -0
  1842. package/lib/typescript/components/MessageList/hooks/useShouldScrollToRecentOnNewOwnMessage.d.ts.map +1 -0
  1843. package/lib/typescript/components/MessageList/hooks/useTypingString.d.ts +1 -0
  1844. package/lib/typescript/components/MessageList/hooks/useTypingString.d.ts.map +1 -0
  1845. package/lib/typescript/components/MessageList/utils/filterTypingUsers.d.ts +1 -0
  1846. package/lib/typescript/components/MessageList/utils/filterTypingUsers.d.ts.map +1 -0
  1847. package/lib/typescript/components/MessageList/utils/getDateSeparators.d.ts +1 -0
  1848. package/lib/typescript/components/MessageList/utils/getDateSeparators.d.ts.map +1 -0
  1849. package/lib/typescript/components/MessageList/utils/getGroupStyles.d.ts +1 -0
  1850. package/lib/typescript/components/MessageList/utils/getGroupStyles.d.ts.map +1 -0
  1851. package/lib/typescript/components/MessageList/utils/getLastReceivedMessage.d.ts +1 -0
  1852. package/lib/typescript/components/MessageList/utils/getLastReceivedMessage.d.ts.map +1 -0
  1853. package/lib/typescript/components/MessageList/utils/getReadStates.d.ts +1 -0
  1854. package/lib/typescript/components/MessageList/utils/getReadStates.d.ts.map +1 -0
  1855. package/lib/typescript/components/MessageOverlay/MessageActionList.d.ts +3 -2
  1856. package/lib/typescript/components/MessageOverlay/MessageActionList.d.ts.map +1 -0
  1857. package/lib/typescript/components/MessageOverlay/MessageActionListItem.d.ts +3 -2
  1858. package/lib/typescript/components/MessageOverlay/MessageActionListItem.d.ts.map +1 -0
  1859. package/lib/typescript/components/MessageOverlay/MessageOverlay.d.ts +3 -2
  1860. package/lib/typescript/components/MessageOverlay/MessageOverlay.d.ts.map +1 -0
  1861. package/lib/typescript/components/MessageOverlay/OverlayBackdrop.d.ts +1 -0
  1862. package/lib/typescript/components/MessageOverlay/OverlayBackdrop.d.ts.map +1 -0
  1863. package/lib/typescript/components/MessageOverlay/OverlayReactionList.d.ts +4 -3
  1864. package/lib/typescript/components/MessageOverlay/OverlayReactionList.d.ts.map +1 -0
  1865. package/lib/typescript/components/MessageOverlay/OverlayReactions.d.ts +5 -1
  1866. package/lib/typescript/components/MessageOverlay/OverlayReactions.d.ts.map +1 -0
  1867. package/lib/typescript/components/MessageOverlay/OverlayReactionsAvatar.d.ts +5 -1
  1868. package/lib/typescript/components/MessageOverlay/OverlayReactionsAvatar.d.ts.map +1 -0
  1869. package/lib/typescript/components/MessageOverlay/hooks/useMessageActionAnimation.d.ts +2 -2
  1870. package/lib/typescript/components/MessageOverlay/hooks/useMessageActionAnimation.d.ts.map +1 -0
  1871. package/lib/typescript/components/ProgressControl/ProgressControl.d.ts +2 -1
  1872. package/lib/typescript/components/ProgressControl/ProgressControl.d.ts.map +1 -0
  1873. package/lib/typescript/components/RTLComponents/WritingDirectionAwareText.d.ts +2 -1
  1874. package/lib/typescript/components/RTLComponents/WritingDirectionAwareText.d.ts.map +1 -0
  1875. package/lib/typescript/components/Reply/Reply.d.ts +3 -2
  1876. package/lib/typescript/components/Reply/Reply.d.ts.map +1 -0
  1877. package/lib/typescript/components/Spinner/Spinner.d.ts +5 -1
  1878. package/lib/typescript/components/Spinner/Spinner.d.ts.map +1 -0
  1879. package/lib/typescript/components/Thread/Thread.d.ts +2 -1
  1880. package/lib/typescript/components/Thread/Thread.d.ts.map +1 -0
  1881. package/lib/typescript/components/Thread/components/ThreadFooterComponent.d.ts +3 -2
  1882. package/lib/typescript/components/Thread/components/ThreadFooterComponent.d.ts.map +1 -0
  1883. package/lib/typescript/components/index.d.ts +1 -0
  1884. package/lib/typescript/components/index.d.ts.map +1 -0
  1885. package/lib/typescript/contexts/activeChannelsRefContext/ActiveChannelsRefContext.d.ts +12 -2
  1886. package/lib/typescript/contexts/activeChannelsRefContext/ActiveChannelsRefContext.d.ts.map +1 -0
  1887. package/lib/typescript/contexts/attachmentPickerContext/AttachmentPickerContext.d.ts +12 -2
  1888. package/lib/typescript/contexts/attachmentPickerContext/AttachmentPickerContext.d.ts.map +1 -0
  1889. package/lib/typescript/contexts/channelContext/ChannelContext.d.ts +7 -2
  1890. package/lib/typescript/contexts/channelContext/ChannelContext.d.ts.map +1 -0
  1891. package/lib/typescript/contexts/channelsContext/ChannelsContext.d.ts +8 -3
  1892. package/lib/typescript/contexts/channelsContext/ChannelsContext.d.ts.map +1 -0
  1893. package/lib/typescript/contexts/channelsStateContext/ChannelsStateContext.d.ts +12 -2
  1894. package/lib/typescript/contexts/channelsStateContext/ChannelsStateContext.d.ts.map +1 -0
  1895. package/lib/typescript/contexts/channelsStateContext/useChannelState.d.ts +1 -0
  1896. package/lib/typescript/contexts/channelsStateContext/useChannelState.d.ts.map +1 -0
  1897. package/lib/typescript/contexts/chatContext/ChatContext.d.ts +7 -2
  1898. package/lib/typescript/contexts/chatContext/ChatContext.d.ts.map +1 -0
  1899. package/lib/typescript/contexts/debugContext/DebugContext.d.ts +2 -1
  1900. package/lib/typescript/contexts/debugContext/DebugContext.d.ts.map +1 -0
  1901. package/lib/typescript/contexts/imageGalleryContext/ImageGalleryContext.d.ts +12 -2
  1902. package/lib/typescript/contexts/imageGalleryContext/ImageGalleryContext.d.ts.map +1 -0
  1903. package/lib/typescript/contexts/index.d.ts +1 -0
  1904. package/lib/typescript/contexts/index.d.ts.map +1 -0
  1905. package/lib/typescript/contexts/keyboardContext/KeyboardContext.d.ts +14 -2
  1906. package/lib/typescript/contexts/keyboardContext/KeyboardContext.d.ts.map +1 -0
  1907. package/lib/typescript/contexts/messageContext/MessageContext.d.ts +9 -4
  1908. package/lib/typescript/contexts/messageContext/MessageContext.d.ts.map +1 -0
  1909. package/lib/typescript/contexts/messageInputContext/MessageInputContext.d.ts +8 -3
  1910. package/lib/typescript/contexts/messageInputContext/MessageInputContext.d.ts.map +1 -0
  1911. package/lib/typescript/contexts/messageInputContext/hooks/useCreateMessageInputContext.d.ts +1 -0
  1912. package/lib/typescript/contexts/messageInputContext/hooks/useCreateMessageInputContext.d.ts.map +1 -0
  1913. package/lib/typescript/contexts/messageInputContext/hooks/useMessageDetailsForState.d.ts +1 -0
  1914. package/lib/typescript/contexts/messageInputContext/hooks/useMessageDetailsForState.d.ts.map +1 -0
  1915. package/lib/typescript/contexts/messageOverlayContext/MessageOverlayContext.d.ts +9 -4
  1916. package/lib/typescript/contexts/messageOverlayContext/MessageOverlayContext.d.ts.map +1 -0
  1917. package/lib/typescript/contexts/messageOverlayContext/hooks/useResettableState.d.ts +1 -0
  1918. package/lib/typescript/contexts/messageOverlayContext/hooks/useResettableState.d.ts.map +1 -0
  1919. package/lib/typescript/contexts/messageOverlayContext/hooks/useResettableState.test.d.ts +1 -0
  1920. package/lib/typescript/contexts/messageOverlayContext/hooks/useResettableState.test.d.ts.map +1 -0
  1921. package/lib/typescript/contexts/messagesContext/MessagesContext.d.ts +10 -4
  1922. package/lib/typescript/contexts/messagesContext/MessagesContext.d.ts.map +1 -0
  1923. package/lib/typescript/contexts/overlayContext/OverlayContext.d.ts +11 -1
  1924. package/lib/typescript/contexts/overlayContext/OverlayContext.d.ts.map +1 -0
  1925. package/lib/typescript/contexts/overlayContext/OverlayProvider.d.ts +2 -1
  1926. package/lib/typescript/contexts/overlayContext/OverlayProvider.d.ts.map +1 -0
  1927. package/lib/typescript/contexts/ownCapabilitiesContext/OwnCapabilitiesContext.d.ts +2 -1
  1928. package/lib/typescript/contexts/ownCapabilitiesContext/OwnCapabilitiesContext.d.ts.map +1 -0
  1929. package/lib/typescript/contexts/paginatedMessageListContext/PaginatedMessageListContext.d.ts +9 -4
  1930. package/lib/typescript/contexts/paginatedMessageListContext/PaginatedMessageListContext.d.ts.map +1 -0
  1931. package/lib/typescript/contexts/suggestionsContext/SuggestionsContext.d.ts +12 -2
  1932. package/lib/typescript/contexts/suggestionsContext/SuggestionsContext.d.ts.map +1 -0
  1933. package/lib/typescript/contexts/themeContext/ThemeContext.d.ts +2 -1
  1934. package/lib/typescript/contexts/themeContext/ThemeContext.d.ts.map +1 -0
  1935. package/lib/typescript/contexts/themeContext/utils/theme.d.ts +10 -6
  1936. package/lib/typescript/contexts/themeContext/utils/theme.d.ts.map +1 -0
  1937. package/lib/typescript/contexts/threadContext/ThreadContext.d.ts +9 -4
  1938. package/lib/typescript/contexts/threadContext/ThreadContext.d.ts.map +1 -0
  1939. package/lib/typescript/contexts/translationContext/TranslationContext.d.ts +14 -2
  1940. package/lib/typescript/contexts/translationContext/TranslationContext.d.ts.map +1 -0
  1941. package/lib/typescript/contexts/typingContext/TypingContext.d.ts +8 -3
  1942. package/lib/typescript/contexts/typingContext/TypingContext.d.ts.map +1 -0
  1943. package/lib/typescript/contexts/utils/defaultBaseContextValue.d.ts +1 -0
  1944. package/lib/typescript/contexts/utils/defaultBaseContextValue.d.ts.map +1 -0
  1945. package/lib/typescript/contexts/utils/getDisplayName.d.ts +1 -0
  1946. package/lib/typescript/contexts/utils/getDisplayName.d.ts.map +1 -0
  1947. package/lib/typescript/contexts/utils/isTestEnvironment.d.ts +1 -0
  1948. package/lib/typescript/contexts/utils/isTestEnvironment.d.ts.map +1 -0
  1949. package/lib/typescript/emoji-data/index.d.ts +1 -0
  1950. package/lib/typescript/emoji-data/index.d.ts.map +1 -0
  1951. package/lib/typescript/hooks/index.d.ts +1 -0
  1952. package/lib/typescript/hooks/index.d.ts.map +1 -0
  1953. package/lib/typescript/hooks/useAppStateListener.d.ts +1 -0
  1954. package/lib/typescript/hooks/useAppStateListener.d.ts.map +1 -0
  1955. package/lib/typescript/hooks/useIsMountedRef.d.ts +1 -0
  1956. package/lib/typescript/hooks/useIsMountedRef.d.ts.map +1 -0
  1957. package/lib/typescript/hooks/useLoadingImage.d.ts +1 -0
  1958. package/lib/typescript/hooks/useLoadingImage.d.ts.map +1 -0
  1959. package/lib/typescript/hooks/useStreami18n.d.ts +1 -0
  1960. package/lib/typescript/hooks/useStreami18n.d.ts.map +1 -0
  1961. package/lib/typescript/hooks/useTranslatedMessage.d.ts +1 -0
  1962. package/lib/typescript/hooks/useTranslatedMessage.d.ts.map +1 -0
  1963. package/lib/typescript/hooks/useViewport.d.ts +1 -0
  1964. package/lib/typescript/hooks/useViewport.d.ts.map +1 -0
  1965. package/lib/typescript/i18n/es.json +10 -10
  1966. package/lib/typescript/i18n/fr.json +10 -10
  1967. package/lib/typescript/i18n/he.json +10 -10
  1968. package/lib/typescript/i18n/hi.json +10 -10
  1969. package/lib/typescript/i18n/it.json +10 -10
  1970. package/lib/typescript/i18n/ja.json +10 -10
  1971. package/lib/typescript/i18n/ko.json +10 -10
  1972. package/lib/typescript/i18n/nl.json +10 -10
  1973. package/lib/typescript/i18n/pt-BR.json +10 -10
  1974. package/lib/typescript/i18n/ru.json +10 -10
  1975. package/lib/typescript/i18n/tr.json +10 -10
  1976. package/lib/typescript/icons/ArrowRight.d.ts +3 -2
  1977. package/lib/typescript/icons/ArrowRight.d.ts.map +1 -0
  1978. package/lib/typescript/icons/AtMentions.d.ts +3 -2
  1979. package/lib/typescript/icons/AtMentions.d.ts.map +1 -0
  1980. package/lib/typescript/icons/Attach.d.ts +3 -2
  1981. package/lib/typescript/icons/Attach.d.ts.map +1 -0
  1982. package/lib/typescript/icons/Audio.d.ts +3 -2
  1983. package/lib/typescript/icons/Audio.d.ts.map +1 -0
  1984. package/lib/typescript/icons/CSV.d.ts +3 -2
  1985. package/lib/typescript/icons/CSV.d.ts.map +1 -0
  1986. package/lib/typescript/icons/Camera.d.ts +3 -2
  1987. package/lib/typescript/icons/Camera.d.ts.map +1 -0
  1988. package/lib/typescript/icons/Check.d.ts +3 -2
  1989. package/lib/typescript/icons/Check.d.ts.map +1 -0
  1990. package/lib/typescript/icons/CheckAll.d.ts +3 -2
  1991. package/lib/typescript/icons/CheckAll.d.ts.map +1 -0
  1992. package/lib/typescript/icons/CheckSend.d.ts +3 -2
  1993. package/lib/typescript/icons/CheckSend.d.ts.map +1 -0
  1994. package/lib/typescript/icons/CircleClose.d.ts +3 -2
  1995. package/lib/typescript/icons/CircleClose.d.ts.map +1 -0
  1996. package/lib/typescript/icons/CirclePlus.d.ts +3 -2
  1997. package/lib/typescript/icons/CirclePlus.d.ts.map +1 -0
  1998. package/lib/typescript/icons/CircleRight.d.ts +3 -2
  1999. package/lib/typescript/icons/CircleRight.d.ts.map +1 -0
  2000. package/lib/typescript/icons/Close.d.ts +3 -2
  2001. package/lib/typescript/icons/Close.d.ts.map +1 -0
  2002. package/lib/typescript/icons/Copy.d.ts +2 -1
  2003. package/lib/typescript/icons/Copy.d.ts.map +1 -0
  2004. package/lib/typescript/icons/CurveLineLeftUp.d.ts +3 -2
  2005. package/lib/typescript/icons/CurveLineLeftUp.d.ts.map +1 -0
  2006. package/lib/typescript/icons/DOC.d.ts +3 -2
  2007. package/lib/typescript/icons/DOC.d.ts.map +1 -0
  2008. package/lib/typescript/icons/DOCX.d.ts +3 -2
  2009. package/lib/typescript/icons/DOCX.d.ts.map +1 -0
  2010. package/lib/typescript/icons/Delete.d.ts +3 -2
  2011. package/lib/typescript/icons/Delete.d.ts.map +1 -0
  2012. package/lib/typescript/icons/Down.d.ts +3 -2
  2013. package/lib/typescript/icons/Down.d.ts.map +1 -0
  2014. package/lib/typescript/icons/DownloadArrow.d.ts +3 -2
  2015. package/lib/typescript/icons/DownloadArrow.d.ts.map +1 -0
  2016. package/lib/typescript/icons/DownloadCloud.d.ts +3 -2
  2017. package/lib/typescript/icons/DownloadCloud.d.ts.map +1 -0
  2018. package/lib/typescript/icons/Edit.d.ts +3 -2
  2019. package/lib/typescript/icons/Edit.d.ts.map +1 -0
  2020. package/lib/typescript/icons/Error.d.ts +3 -2
  2021. package/lib/typescript/icons/Error.d.ts.map +1 -0
  2022. package/lib/typescript/icons/Eye.d.ts +3 -2
  2023. package/lib/typescript/icons/Eye.d.ts.map +1 -0
  2024. package/lib/typescript/icons/Flag.d.ts +3 -2
  2025. package/lib/typescript/icons/Flag.d.ts.map +1 -0
  2026. package/lib/typescript/icons/Folder.d.ts +3 -2
  2027. package/lib/typescript/icons/Folder.d.ts.map +1 -0
  2028. package/lib/typescript/icons/GenericFile.d.ts +3 -2
  2029. package/lib/typescript/icons/GenericFile.d.ts.map +1 -0
  2030. package/lib/typescript/icons/GiphyIcon.d.ts +3 -2
  2031. package/lib/typescript/icons/GiphyIcon.d.ts.map +1 -0
  2032. package/lib/typescript/icons/Grid.d.ts +3 -2
  2033. package/lib/typescript/icons/Grid.d.ts.map +1 -0
  2034. package/lib/typescript/icons/Group.d.ts +3 -2
  2035. package/lib/typescript/icons/Group.d.ts.map +1 -0
  2036. package/lib/typescript/icons/HTML.d.ts +3 -2
  2037. package/lib/typescript/icons/HTML.d.ts.map +1 -0
  2038. package/lib/typescript/icons/Imgur.d.ts +3 -2
  2039. package/lib/typescript/icons/Imgur.d.ts.map +1 -0
  2040. package/lib/typescript/icons/LOLReaction.d.ts +3 -2
  2041. package/lib/typescript/icons/LOLReaction.d.ts.map +1 -0
  2042. package/lib/typescript/icons/Lightning.d.ts +3 -2
  2043. package/lib/typescript/icons/Lightning.d.ts.map +1 -0
  2044. package/lib/typescript/icons/Link.d.ts +3 -2
  2045. package/lib/typescript/icons/Link.d.ts.map +1 -0
  2046. package/lib/typescript/icons/Loading.d.ts +2 -1
  2047. package/lib/typescript/icons/Loading.d.ts.map +1 -0
  2048. package/lib/typescript/icons/Logo.d.ts +3 -2
  2049. package/lib/typescript/icons/Logo.d.ts.map +1 -0
  2050. package/lib/typescript/icons/LoveReaction.d.ts +3 -2
  2051. package/lib/typescript/icons/LoveReaction.d.ts.map +1 -0
  2052. package/lib/typescript/icons/MD.d.ts +3 -2
  2053. package/lib/typescript/icons/MD.d.ts.map +1 -0
  2054. package/lib/typescript/icons/MailOpen.d.ts +3 -2
  2055. package/lib/typescript/icons/MailOpen.d.ts.map +1 -0
  2056. package/lib/typescript/icons/MenuPointHorizontal.d.ts +3 -2
  2057. package/lib/typescript/icons/MenuPointHorizontal.d.ts.map +1 -0
  2058. package/lib/typescript/icons/MenuPointVertical.d.ts +3 -2
  2059. package/lib/typescript/icons/MenuPointVertical.d.ts.map +1 -0
  2060. package/lib/typescript/icons/MessageFlag.d.ts +3 -2
  2061. package/lib/typescript/icons/MessageFlag.d.ts.map +1 -0
  2062. package/lib/typescript/icons/MessageIcon.d.ts +3 -2
  2063. package/lib/typescript/icons/MessageIcon.d.ts.map +1 -0
  2064. package/lib/typescript/icons/Mute.d.ts +3 -2
  2065. package/lib/typescript/icons/Mute.d.ts.map +1 -0
  2066. package/lib/typescript/icons/Notification.d.ts +3 -2
  2067. package/lib/typescript/icons/Notification.d.ts.map +1 -0
  2068. package/lib/typescript/icons/ODT.d.ts +3 -2
  2069. package/lib/typescript/icons/ODT.d.ts.map +1 -0
  2070. package/lib/typescript/icons/PDF.d.ts +3 -2
  2071. package/lib/typescript/icons/PDF.d.ts.map +1 -0
  2072. package/lib/typescript/icons/PPT.d.ts +3 -2
  2073. package/lib/typescript/icons/PPT.d.ts.map +1 -0
  2074. package/lib/typescript/icons/PPTX.d.ts +3 -2
  2075. package/lib/typescript/icons/PPTX.d.ts.map +1 -0
  2076. package/lib/typescript/icons/Pause.d.ts +3 -2
  2077. package/lib/typescript/icons/Pause.d.ts.map +1 -0
  2078. package/lib/typescript/icons/Picture.d.ts +3 -2
  2079. package/lib/typescript/icons/Picture.d.ts.map +1 -0
  2080. package/lib/typescript/icons/Pin.d.ts +3 -2
  2081. package/lib/typescript/icons/Pin.d.ts.map +1 -0
  2082. package/lib/typescript/icons/PinHeader.d.ts +3 -2
  2083. package/lib/typescript/icons/PinHeader.d.ts.map +1 -0
  2084. package/lib/typescript/icons/Play.d.ts +3 -2
  2085. package/lib/typescript/icons/Play.d.ts.map +1 -0
  2086. package/lib/typescript/icons/RAR.d.ts +3 -2
  2087. package/lib/typescript/icons/RAR.d.ts.map +1 -0
  2088. package/lib/typescript/icons/RTF.d.ts +3 -2
  2089. package/lib/typescript/icons/RTF.d.ts.map +1 -0
  2090. package/lib/typescript/icons/Recorder.d.ts +3 -2
  2091. package/lib/typescript/icons/Recorder.d.ts.map +1 -0
  2092. package/lib/typescript/icons/Refresh.d.ts +3 -2
  2093. package/lib/typescript/icons/Refresh.d.ts.map +1 -0
  2094. package/lib/typescript/icons/SEVEN_Z.d.ts +3 -2
  2095. package/lib/typescript/icons/SEVEN_Z.d.ts.map +1 -0
  2096. package/lib/typescript/icons/Search.d.ts +3 -2
  2097. package/lib/typescript/icons/Search.d.ts.map +1 -0
  2098. package/lib/typescript/icons/SendRight.d.ts +3 -2
  2099. package/lib/typescript/icons/SendRight.d.ts.map +1 -0
  2100. package/lib/typescript/icons/SendUp.d.ts +3 -2
  2101. package/lib/typescript/icons/SendUp.d.ts.map +1 -0
  2102. package/lib/typescript/icons/Share.d.ts +3 -2
  2103. package/lib/typescript/icons/Share.d.ts.map +1 -0
  2104. package/lib/typescript/icons/ShareRightArrow.d.ts +3 -2
  2105. package/lib/typescript/icons/ShareRightArrow.d.ts.map +1 -0
  2106. package/lib/typescript/icons/Smile.d.ts +3 -2
  2107. package/lib/typescript/icons/Smile.d.ts.map +1 -0
  2108. package/lib/typescript/icons/Sound.d.ts +3 -2
  2109. package/lib/typescript/icons/Sound.d.ts.map +1 -0
  2110. package/lib/typescript/icons/TAR.d.ts +3 -2
  2111. package/lib/typescript/icons/TAR.d.ts.map +1 -0
  2112. package/lib/typescript/icons/TXT.d.ts +3 -2
  2113. package/lib/typescript/icons/TXT.d.ts.map +1 -0
  2114. package/lib/typescript/icons/ThreadReply.d.ts +3 -2
  2115. package/lib/typescript/icons/ThreadReply.d.ts.map +1 -0
  2116. package/lib/typescript/icons/ThumbsDownReaction.d.ts +3 -2
  2117. package/lib/typescript/icons/ThumbsDownReaction.d.ts.map +1 -0
  2118. package/lib/typescript/icons/ThumbsUpReaction.d.ts +3 -2
  2119. package/lib/typescript/icons/ThumbsUpReaction.d.ts.map +1 -0
  2120. package/lib/typescript/icons/Time.d.ts +3 -2
  2121. package/lib/typescript/icons/Time.d.ts.map +1 -0
  2122. package/lib/typescript/icons/Unknown.d.ts +3 -2
  2123. package/lib/typescript/icons/Unknown.d.ts.map +1 -0
  2124. package/lib/typescript/icons/Unpin.d.ts +3 -2
  2125. package/lib/typescript/icons/Unpin.d.ts.map +1 -0
  2126. package/lib/typescript/icons/User.d.ts +3 -2
  2127. package/lib/typescript/icons/User.d.ts.map +1 -0
  2128. package/lib/typescript/icons/UserAdd.d.ts +3 -2
  2129. package/lib/typescript/icons/UserAdd.d.ts.map +1 -0
  2130. package/lib/typescript/icons/UserAdmin.d.ts +3 -2
  2131. package/lib/typescript/icons/UserAdmin.d.ts.map +1 -0
  2132. package/lib/typescript/icons/UserDelete.d.ts +3 -2
  2133. package/lib/typescript/icons/UserDelete.d.ts.map +1 -0
  2134. package/lib/typescript/icons/UserMinus.d.ts +3 -2
  2135. package/lib/typescript/icons/UserMinus.d.ts.map +1 -0
  2136. package/lib/typescript/icons/Video.d.ts +3 -2
  2137. package/lib/typescript/icons/Video.d.ts.map +1 -0
  2138. package/lib/typescript/icons/Warning.d.ts +3 -2
  2139. package/lib/typescript/icons/Warning.d.ts.map +1 -0
  2140. package/lib/typescript/icons/WutReaction.d.ts +3 -2
  2141. package/lib/typescript/icons/WutReaction.d.ts.map +1 -0
  2142. package/lib/typescript/icons/XLS.d.ts +3 -2
  2143. package/lib/typescript/icons/XLS.d.ts.map +1 -0
  2144. package/lib/typescript/icons/XLSX.d.ts +3 -2
  2145. package/lib/typescript/icons/XLSX.d.ts.map +1 -0
  2146. package/lib/typescript/icons/ZIP.d.ts +3 -2
  2147. package/lib/typescript/icons/ZIP.d.ts.map +1 -0
  2148. package/lib/typescript/icons/index.d.ts +1 -0
  2149. package/lib/typescript/icons/index.d.ts.map +1 -0
  2150. package/lib/typescript/icons/utils/base.d.ts +4 -3
  2151. package/lib/typescript/icons/utils/base.d.ts.map +1 -0
  2152. package/lib/typescript/index.d.ts +1 -0
  2153. package/lib/typescript/index.d.ts.map +1 -0
  2154. package/lib/typescript/init.d.ts +1 -0
  2155. package/lib/typescript/init.d.ts.map +1 -0
  2156. package/lib/typescript/native.d.ts +1 -0
  2157. package/lib/typescript/native.d.ts.map +1 -0
  2158. package/lib/typescript/store/QuickSqliteClient.d.ts +1 -0
  2159. package/lib/typescript/store/QuickSqliteClient.d.ts.map +1 -0
  2160. package/lib/typescript/store/apis/addPendingTask.d.ts +1 -0
  2161. package/lib/typescript/store/apis/addPendingTask.d.ts.map +1 -0
  2162. package/lib/typescript/store/apis/deleteChannel.d.ts +1 -0
  2163. package/lib/typescript/store/apis/deleteChannel.d.ts.map +1 -0
  2164. package/lib/typescript/store/apis/deleteMember.d.ts +1 -0
  2165. package/lib/typescript/store/apis/deleteMember.d.ts.map +1 -0
  2166. package/lib/typescript/store/apis/deleteMessage.d.ts +1 -0
  2167. package/lib/typescript/store/apis/deleteMessage.d.ts.map +1 -0
  2168. package/lib/typescript/store/apis/deleteMessagesForChannel.d.ts +1 -0
  2169. package/lib/typescript/store/apis/deleteMessagesForChannel.d.ts.map +1 -0
  2170. package/lib/typescript/store/apis/deletePendingTask.d.ts +1 -0
  2171. package/lib/typescript/store/apis/deletePendingTask.d.ts.map +1 -0
  2172. package/lib/typescript/store/apis/deleteReaction.d.ts +1 -0
  2173. package/lib/typescript/store/apis/deleteReaction.d.ts.map +1 -0
  2174. package/lib/typescript/store/apis/deleteReactions.d.ts +1 -0
  2175. package/lib/typescript/store/apis/deleteReactions.d.ts.map +1 -0
  2176. package/lib/typescript/store/apis/getAllChannelIds.d.ts +1 -0
  2177. package/lib/typescript/store/apis/getAllChannelIds.d.ts.map +1 -0
  2178. package/lib/typescript/store/apis/getAppSettings.d.ts +1 -0
  2179. package/lib/typescript/store/apis/getAppSettings.d.ts.map +1 -0
  2180. package/lib/typescript/store/apis/getChannelMessages.d.ts +1 -0
  2181. package/lib/typescript/store/apis/getChannelMessages.d.ts.map +1 -0
  2182. package/lib/typescript/store/apis/getChannels.d.ts +1 -0
  2183. package/lib/typescript/store/apis/getChannels.d.ts.map +1 -0
  2184. package/lib/typescript/store/apis/getChannelsForFilterSort.d.ts +1 -0
  2185. package/lib/typescript/store/apis/getChannelsForFilterSort.d.ts.map +1 -0
  2186. package/lib/typescript/store/apis/getLastSyncedAt.d.ts +1 -0
  2187. package/lib/typescript/store/apis/getLastSyncedAt.d.ts.map +1 -0
  2188. package/lib/typescript/store/apis/getMembers.d.ts +1 -0
  2189. package/lib/typescript/store/apis/getMembers.d.ts.map +1 -0
  2190. package/lib/typescript/store/apis/getPendingTasks.d.ts +1 -0
  2191. package/lib/typescript/store/apis/getPendingTasks.d.ts.map +1 -0
  2192. package/lib/typescript/store/apis/getReads.d.ts +1 -0
  2193. package/lib/typescript/store/apis/getReads.d.ts.map +1 -0
  2194. package/lib/typescript/store/apis/index.d.ts +1 -0
  2195. package/lib/typescript/store/apis/index.d.ts.map +1 -0
  2196. package/lib/typescript/store/apis/insertReaction.d.ts +1 -0
  2197. package/lib/typescript/store/apis/insertReaction.d.ts.map +1 -0
  2198. package/lib/typescript/store/apis/queries/selectChannelIdsForFilterSort.d.ts +1 -0
  2199. package/lib/typescript/store/apis/queries/selectChannelIdsForFilterSort.d.ts.map +1 -0
  2200. package/lib/typescript/store/apis/queries/selectChannels.d.ts +1 -0
  2201. package/lib/typescript/store/apis/queries/selectChannels.d.ts.map +1 -0
  2202. package/lib/typescript/store/apis/queries/selectMembersForChannels.d.ts +1 -0
  2203. package/lib/typescript/store/apis/queries/selectMembersForChannels.d.ts.map +1 -0
  2204. package/lib/typescript/store/apis/queries/selectMessagesForChannels.d.ts +1 -0
  2205. package/lib/typescript/store/apis/queries/selectMessagesForChannels.d.ts.map +1 -0
  2206. package/lib/typescript/store/apis/queries/selectReactionsForMessages.d.ts +1 -0
  2207. package/lib/typescript/store/apis/queries/selectReactionsForMessages.d.ts.map +1 -0
  2208. package/lib/typescript/store/apis/queries/selectReadsForChannels.d.ts +1 -0
  2209. package/lib/typescript/store/apis/queries/selectReadsForChannels.d.ts.map +1 -0
  2210. package/lib/typescript/store/apis/updateMessage.d.ts +1 -0
  2211. package/lib/typescript/store/apis/updateMessage.d.ts.map +1 -0
  2212. package/lib/typescript/store/apis/updateReaction.d.ts +1 -0
  2213. package/lib/typescript/store/apis/updateReaction.d.ts.map +1 -0
  2214. package/lib/typescript/store/apis/upsertAppSettings.d.ts +1 -0
  2215. package/lib/typescript/store/apis/upsertAppSettings.d.ts.map +1 -0
  2216. package/lib/typescript/store/apis/upsertChannelData.d.ts +1 -0
  2217. package/lib/typescript/store/apis/upsertChannelData.d.ts.map +1 -0
  2218. package/lib/typescript/store/apis/upsertChannelDataFromChannel.d.ts +7 -0
  2219. package/lib/typescript/store/apis/upsertChannelDataFromChannel.d.ts.map +1 -0
  2220. package/lib/typescript/store/apis/upsertChannels.d.ts +1 -0
  2221. package/lib/typescript/store/apis/upsertChannels.d.ts.map +1 -0
  2222. package/lib/typescript/store/apis/upsertCidsForQuery.d.ts +1 -0
  2223. package/lib/typescript/store/apis/upsertCidsForQuery.d.ts.map +1 -0
  2224. package/lib/typescript/store/apis/upsertMembers.d.ts +1 -0
  2225. package/lib/typescript/store/apis/upsertMembers.d.ts.map +1 -0
  2226. package/lib/typescript/store/apis/upsertMessages.d.ts +1 -0
  2227. package/lib/typescript/store/apis/upsertMessages.d.ts.map +1 -0
  2228. package/lib/typescript/store/apis/upsertReads.d.ts +1 -0
  2229. package/lib/typescript/store/apis/upsertReads.d.ts.map +1 -0
  2230. package/lib/typescript/store/apis/upsertUserSyncStatus.d.ts +1 -0
  2231. package/lib/typescript/store/apis/upsertUserSyncStatus.d.ts.map +1 -0
  2232. package/lib/typescript/store/apis/utils/convertFilterSortToQuery.d.ts +1 -0
  2233. package/lib/typescript/store/apis/utils/convertFilterSortToQuery.d.ts.map +1 -0
  2234. package/lib/typescript/store/constants.d.ts +1 -0
  2235. package/lib/typescript/store/constants.d.ts.map +1 -0
  2236. package/lib/typescript/store/mappers/mapChannelDataToStorable.d.ts +1 -0
  2237. package/lib/typescript/store/mappers/mapChannelDataToStorable.d.ts.map +1 -0
  2238. package/lib/typescript/store/mappers/mapChannelToStorable.d.ts +5 -0
  2239. package/lib/typescript/store/mappers/mapChannelToStorable.d.ts.map +1 -0
  2240. package/lib/typescript/store/mappers/mapDateTimeToStorable.d.ts +1 -0
  2241. package/lib/typescript/store/mappers/mapDateTimeToStorable.d.ts.map +1 -0
  2242. package/lib/typescript/store/mappers/mapMemberToStorable.d.ts +1 -0
  2243. package/lib/typescript/store/mappers/mapMemberToStorable.d.ts.map +1 -0
  2244. package/lib/typescript/store/mappers/mapMessageToStorable.d.ts +1 -0
  2245. package/lib/typescript/store/mappers/mapMessageToStorable.d.ts.map +1 -0
  2246. package/lib/typescript/store/mappers/mapReactionToStorable.d.ts +1 -0
  2247. package/lib/typescript/store/mappers/mapReactionToStorable.d.ts.map +1 -0
  2248. package/lib/typescript/store/mappers/mapReadToStorable.d.ts +1 -0
  2249. package/lib/typescript/store/mappers/mapReadToStorable.d.ts.map +1 -0
  2250. package/lib/typescript/store/mappers/mapStorableToChannel.d.ts +1 -0
  2251. package/lib/typescript/store/mappers/mapStorableToChannel.d.ts.map +1 -0
  2252. package/lib/typescript/store/mappers/mapStorableToMember.d.ts +1 -0
  2253. package/lib/typescript/store/mappers/mapStorableToMember.d.ts.map +1 -0
  2254. package/lib/typescript/store/mappers/mapStorableToMessage.d.ts +1 -0
  2255. package/lib/typescript/store/mappers/mapStorableToMessage.d.ts.map +1 -0
  2256. package/lib/typescript/store/mappers/mapStorableToReaction.d.ts +1 -0
  2257. package/lib/typescript/store/mappers/mapStorableToReaction.d.ts.map +1 -0
  2258. package/lib/typescript/store/mappers/mapStorableToRead.d.ts +1 -0
  2259. package/lib/typescript/store/mappers/mapStorableToRead.d.ts.map +1 -0
  2260. package/lib/typescript/store/mappers/mapStorableToTask.d.ts +1 -0
  2261. package/lib/typescript/store/mappers/mapStorableToTask.d.ts.map +1 -0
  2262. package/lib/typescript/store/mappers/mapStorableToUser.d.ts +1 -0
  2263. package/lib/typescript/store/mappers/mapStorableToUser.d.ts.map +1 -0
  2264. package/lib/typescript/store/mappers/mapTaskToStorable.d.ts +1 -0
  2265. package/lib/typescript/store/mappers/mapTaskToStorable.d.ts.map +1 -0
  2266. package/lib/typescript/store/mappers/mapUserToStorable.d.ts +1 -0
  2267. package/lib/typescript/store/mappers/mapUserToStorable.d.ts.map +1 -0
  2268. package/lib/typescript/store/schema.d.ts +1 -0
  2269. package/lib/typescript/store/schema.d.ts.map +1 -0
  2270. package/lib/typescript/store/sqlite-utils/appendOrderByClause.d.ts +1 -0
  2271. package/lib/typescript/store/sqlite-utils/appendOrderByClause.d.ts.map +1 -0
  2272. package/lib/typescript/store/sqlite-utils/appendWhereCluase.d.ts +1 -0
  2273. package/lib/typescript/store/sqlite-utils/appendWhereCluase.d.ts.map +1 -0
  2274. package/lib/typescript/store/sqlite-utils/createCreateTableQuery.d.ts +1 -0
  2275. package/lib/typescript/store/sqlite-utils/createCreateTableQuery.d.ts.map +1 -0
  2276. package/lib/typescript/store/sqlite-utils/createDeleteQuery.d.ts +1 -0
  2277. package/lib/typescript/store/sqlite-utils/createDeleteQuery.d.ts.map +1 -0
  2278. package/lib/typescript/store/sqlite-utils/createSelectQuery.d.ts +1 -0
  2279. package/lib/typescript/store/sqlite-utils/createSelectQuery.d.ts.map +1 -0
  2280. package/lib/typescript/store/sqlite-utils/createUpdateQuery.d.ts +1 -0
  2281. package/lib/typescript/store/sqlite-utils/createUpdateQuery.d.ts.map +1 -0
  2282. package/lib/typescript/store/sqlite-utils/createUpsertQuery.d.ts +1 -0
  2283. package/lib/typescript/store/sqlite-utils/createUpsertQuery.d.ts.map +1 -0
  2284. package/lib/typescript/store/sqlite-utils/printRow.d.ts +1 -0
  2285. package/lib/typescript/store/sqlite-utils/printRow.d.ts.map +1 -0
  2286. package/lib/typescript/store/types.d.ts +1 -0
  2287. package/lib/typescript/store/types.d.ts.map +1 -0
  2288. package/lib/typescript/test-utils/BetterSqlite.d.ts +1 -0
  2289. package/lib/typescript/test-utils/BetterSqlite.d.ts.map +1 -0
  2290. package/lib/typescript/types/types.d.ts +1 -0
  2291. package/lib/typescript/types/types.d.ts.map +1 -0
  2292. package/lib/typescript/utils/DBSyncManager.d.ts +2 -1
  2293. package/lib/typescript/utils/DBSyncManager.d.ts.map +1 -0
  2294. package/lib/typescript/utils/StreamChatRN.d.ts +1 -0
  2295. package/lib/typescript/utils/StreamChatRN.d.ts.map +1 -0
  2296. package/lib/typescript/utils/Streami18n.d.ts +2 -0
  2297. package/lib/typescript/utils/Streami18n.d.ts.map +1 -0
  2298. package/lib/typescript/utils/addReactionToLocalState.d.ts +1 -0
  2299. package/lib/typescript/utils/addReactionToLocalState.d.ts.map +1 -0
  2300. package/lib/typescript/utils/compressImage.d.ts +1 -0
  2301. package/lib/typescript/utils/compressImage.d.ts.map +1 -0
  2302. package/lib/typescript/utils/date.d.ts +1 -0
  2303. package/lib/typescript/utils/date.d.ts.map +1 -0
  2304. package/lib/typescript/utils/getResizedImageUrl.d.ts +1 -0
  2305. package/lib/typescript/utils/getResizedImageUrl.d.ts.map +1 -0
  2306. package/lib/typescript/utils/getUrlOfImageAttachment.d.ts +1 -0
  2307. package/lib/typescript/utils/getUrlOfImageAttachment.d.ts.map +1 -0
  2308. package/lib/typescript/utils/patchMessageTextCommand.d.ts +1 -0
  2309. package/lib/typescript/utils/patchMessageTextCommand.d.ts.map +1 -0
  2310. package/lib/typescript/utils/removeReactionFromLocalState.d.ts +1 -0
  2311. package/lib/typescript/utils/removeReactionFromLocalState.d.ts.map +1 -0
  2312. package/lib/typescript/utils/removeReservedFields.d.ts +1 -0
  2313. package/lib/typescript/utils/removeReservedFields.d.ts.map +1 -0
  2314. package/lib/typescript/utils/utils.d.ts +3 -2
  2315. package/lib/typescript/utils/utils.d.ts.map +1 -0
  2316. package/package.json +33 -33
  2317. package/src/__tests__/offline-support/offline-feature.js +60 -61
  2318. package/src/__tests__/offline-support/optimistic-update.js +15 -15
  2319. package/src/components/Attachment/AudioAttachment.tsx +1 -1
  2320. package/src/components/Attachment/Card.tsx +1 -1
  2321. package/src/components/Attachment/FileAttachment.tsx +1 -1
  2322. package/src/components/Attachment/FileIcon.tsx +3 -3
  2323. package/src/components/Attachment/Gallery.tsx +5 -5
  2324. package/src/components/Attachment/GalleryImage.tsx +1 -1
  2325. package/src/components/Attachment/ImageLoadingFailedIndicator.tsx +1 -1
  2326. package/src/components/Attachment/VideoThumbnail.tsx +1 -1
  2327. package/src/components/Attachment/__tests__/Gallery.test.js +48 -47
  2328. package/src/components/Attachment/__tests__/Giphy.test.js +62 -52
  2329. package/src/components/AttachmentPicker/AttachmentPicker.tsx +7 -4
  2330. package/src/components/AttachmentPicker/components/AttachmentPickerBottomSheetHandle.tsx +4 -2
  2331. package/src/components/AttachmentPicker/components/AttachmentPickerError.tsx +3 -3
  2332. package/src/components/AttachmentPicker/components/AttachmentPickerErrorImage.tsx +1 -1
  2333. package/src/components/AttachmentPicker/components/AttachmentPickerIOSSelectMorePhotos.tsx +1 -1
  2334. package/src/components/AttachmentPicker/components/AttachmentPickerItem.tsx +2 -2
  2335. package/src/components/AttachmentPicker/components/AttachmentSelectionBar.tsx +1 -1
  2336. package/src/components/AttachmentPicker/components/CameraSelectorIcon.tsx +1 -1
  2337. package/src/components/AttachmentPicker/components/FileSelectorIcon.tsx +1 -1
  2338. package/src/components/AttachmentPicker/components/ImageOverlaySelectedComponent.tsx +1 -1
  2339. package/src/components/AttachmentPicker/components/ImageSelectorIcon.tsx +1 -1
  2340. package/src/components/AutoCompleteInput/AutoCompleteInput.tsx +13 -12
  2341. package/src/components/AutoCompleteInput/AutoCompleteSuggestionHeader.tsx +2 -2
  2342. package/src/components/AutoCompleteInput/AutoCompleteSuggestionList.tsx +1 -1
  2343. package/src/components/Avatar/Avatar.tsx +2 -2
  2344. package/src/components/Avatar/GroupAvatar.tsx +1 -1
  2345. package/src/components/Channel/Channel.tsx +11 -14
  2346. package/src/components/ChannelList/ChannelList.tsx +4 -4
  2347. package/src/components/ChannelList/ChannelListFooterLoadingIndicator.tsx +1 -1
  2348. package/src/components/ChannelList/ChannelListHeaderErrorIndicator.tsx +2 -4
  2349. package/src/components/ChannelList/ChannelListHeaderNetworkDownIndicator.tsx +4 -2
  2350. package/src/components/ChannelList/ChannelListLoadingIndicator.tsx +1 -1
  2351. package/src/components/ChannelList/Skeleton.tsx +1 -1
  2352. package/src/components/ChannelList/__tests__/ChannelList.test.js +83 -75
  2353. package/src/components/ChannelList/utils.ts +1 -1
  2354. package/src/components/ChannelPreview/ChannelPreviewMessenger.tsx +1 -1
  2355. package/src/components/ChannelPreview/ChannelPreviewStatus.tsx +2 -2
  2356. package/src/components/ChannelPreview/__tests__/ChannelPreviewMessenger.test.js +11 -10
  2357. package/src/components/ChannelPreview/hooks/__tests__/useChannelPreviewDisplayName.test.tsx +3 -3
  2358. package/src/components/ChannelPreview/hooks/__tests__/useLatestMessagePreview.test.tsx +2 -4
  2359. package/src/components/Chat/hooks/handleEventToSyncDB.ts +132 -46
  2360. package/src/components/Chat/hooks/useSyncDatabase.ts +1 -1
  2361. package/src/components/ImageGallery/ImageGallery.tsx +25 -2
  2362. package/src/components/ImageGallery/__tests__/AnimatedVideoGallery.test.tsx +19 -19
  2363. package/src/components/ImageGallery/__tests__/ImageGallery.test.tsx +20 -22
  2364. package/src/components/ImageGallery/__tests__/ImageGalleryFooter.test.tsx +15 -13
  2365. package/src/components/ImageGallery/__tests__/ImageGalleryGrid.test.tsx +9 -20
  2366. package/src/components/ImageGallery/__tests__/ImageGalleryGridHandle.test.tsx +7 -14
  2367. package/src/components/ImageGallery/__tests__/ImageGalleryHeader.test.tsx +12 -10
  2368. package/src/components/ImageGallery/__tests__/ImageGalleryVideoControl.test.tsx +17 -12
  2369. package/src/components/ImageGallery/components/AnimatedGalleryImage.tsx +2 -2
  2370. package/src/components/ImageGallery/components/AnimatedGalleryVideo.tsx +2 -2
  2371. package/src/components/ImageGallery/components/ImageGalleryFooter.tsx +1 -1
  2372. package/src/components/ImageGallery/components/ImageGalleryHeader.tsx +4 -4
  2373. package/src/components/ImageGallery/components/ImageGalleryOverlay.tsx +1 -1
  2374. package/src/components/ImageGallery/components/ImageGalleryVideoControl.tsx +2 -2
  2375. package/src/components/ImageGallery/components/ImageGridHandle.tsx +4 -2
  2376. package/src/components/ImageGallery/components/__tests__/ImageGalleryHeader.test.tsx +1 -3
  2377. package/src/components/Indicators/EmptyStateIndicator.tsx +3 -3
  2378. package/src/components/Indicators/LoadingDot.tsx +1 -1
  2379. package/src/components/Indicators/LoadingDots.tsx +1 -1
  2380. package/src/components/Indicators/LoadingErrorIndicator.tsx +2 -2
  2381. package/src/components/Indicators/LoadingIndicator.tsx +4 -2
  2382. package/src/components/KeyboardCompatibleView/KeyboardCompatibleView.tsx +6 -3
  2383. package/src/components/KeyboardCompatibleView/KeyboardCompatibleViewFC.tsx +15 -6
  2384. package/src/components/Message/Message.tsx +6 -6
  2385. package/src/components/Message/MessageSimple/MessageContent.tsx +8 -2
  2386. package/src/components/Message/MessageSimple/MessageError.tsx +1 -1
  2387. package/src/components/Message/MessageSimple/MessageFooter.tsx +6 -4
  2388. package/src/components/Message/MessageSimple/MessagePinnedHeader.tsx +2 -2
  2389. package/src/components/Message/MessageSimple/MessageReplies.tsx +2 -2
  2390. package/src/components/Message/MessageSimple/ReactionList.tsx +7 -7
  2391. package/src/components/Message/MessageSimple/__tests__/MessageAvatar.test.js +10 -10
  2392. package/src/components/Message/MessageSimple/__tests__/MessageContent.test.js +32 -32
  2393. package/src/components/Message/MessageSimple/__tests__/MessagePinnedHeader.test.js +7 -7
  2394. package/src/components/Message/MessageSimple/__tests__/MessageReplies.test.js +21 -21
  2395. package/src/components/Message/MessageSimple/__tests__/__snapshots__/MessageAvatar.test.js.snap +11 -11
  2396. package/src/components/Message/MessageSimple/__tests__/__snapshots__/MessagePinnedHeader.test.js.snap +26 -14
  2397. package/src/components/Message/MessageSimple/__tests__/__snapshots__/MessageStatus.test.js.snap +32 -15
  2398. package/src/components/Message/MessageSimple/__tests__/__snapshots__/MessageTextContainer.test.tsx.snap +7 -7
  2399. package/src/components/Message/MessageSimple/utils/renderText.test.tsx +9 -8
  2400. package/src/components/MessageInput/FileUploadPreview.tsx +2 -2
  2401. package/src/components/MessageInput/ImageUploadPreview.tsx +2 -2
  2402. package/src/components/MessageInput/SendMessageDisallowedIndicator.tsx +1 -1
  2403. package/src/components/MessageInput/ShowThreadMessageInChannelButton.tsx +58 -55
  2404. package/src/components/MessageInput/__tests__/AttachButton.test.js +11 -11
  2405. package/src/components/MessageInput/__tests__/AudioAttachmentUploadPreviewExpo.test.tsx +13 -12
  2406. package/src/components/MessageInput/__tests__/AudioAttachmentUploadPreviewNative.test.tsx +20 -21
  2407. package/src/components/MessageInput/__tests__/FileUploadPreview.test.js +51 -38
  2408. package/src/components/MessageInput/__tests__/UploadProgressIndicator.test.js +22 -51
  2409. package/src/components/MessageInput/__tests__/__snapshots__/AttachButton.test.js.snap +66 -18
  2410. package/src/components/MessageInput/__tests__/__snapshots__/SendButton.test.js.snap +132 -36
  2411. package/src/components/MessageInput/components/InputEditingStateHeader.tsx +1 -1
  2412. package/src/components/MessageInput/components/InputReplyStateHeader.tsx +1 -1
  2413. package/src/components/MessageList/DateHeader.tsx +1 -1
  2414. package/src/components/MessageList/InlineDateSeparator.tsx +1 -1
  2415. package/src/components/MessageList/InlineLoadingMoreIndicator.tsx +19 -18
  2416. package/src/components/MessageList/InlineLoadingMoreRecentIndicator.tsx +19 -18
  2417. package/src/components/MessageList/InlineLoadingMoreThreadIndicator.tsx +19 -18
  2418. package/src/components/MessageList/InlineUnreadIndicator.tsx +2 -2
  2419. package/src/components/MessageList/MessageList.tsx +1 -0
  2420. package/src/components/MessageList/MessageSystem.tsx +1 -1
  2421. package/src/components/MessageList/ScrollToBottomButton.tsx +1 -1
  2422. package/src/components/MessageList/TypingIndicatorContainer.tsx +2 -2
  2423. package/src/components/MessageList/__tests__/MessageSystem.test.js +3 -3
  2424. package/src/components/MessageList/__tests__/__snapshots__/MessageSystem.test.js.snap +22 -22
  2425. package/src/components/MessageList/__tests__/__snapshots__/ScrollToBottomButton.test.js.snap +44 -15
  2426. package/src/components/MessageList/__tests__/__snapshots__/TypingIndicator.test.js.snap +27 -27
  2427. package/src/components/MessageList/__tests__/useMessageList.test.tsx +1 -1
  2428. package/src/components/MessageList/utils/getGroupStyles.ts +2 -2
  2429. package/src/components/MessageOverlay/MessageActionList.tsx +5 -5
  2430. package/src/components/MessageOverlay/MessageOverlay.tsx +8 -8
  2431. package/src/components/MessageOverlay/OverlayReactionList.tsx +4 -4
  2432. package/src/components/MessageOverlay/OverlayReactions.tsx +14 -15
  2433. package/src/components/MessageOverlay/OverlayReactionsAvatar.tsx +1 -1
  2434. package/src/components/ProgressControl/ProgressControl.tsx +4 -2
  2435. package/src/components/RTLComponents/WritingDirectionAwareText.tsx +1 -1
  2436. package/src/components/Reply/Reply.tsx +5 -5
  2437. package/src/components/Spinner/Spinner.tsx +1 -1
  2438. package/src/components/Thread/__tests__/__snapshots__/Thread.test.js.snap +482 -318
  2439. package/src/components/Thread/components/ThreadFooterComponent.tsx +12 -6
  2440. package/src/contexts/__tests__/index.test.tsx +1 -1
  2441. package/src/contexts/activeChannelsRefContext/ActiveChannelsRefContext.tsx +10 -1
  2442. package/src/contexts/attachmentPickerContext/AttachmentPickerContext.tsx +10 -1
  2443. package/src/contexts/channelContext/ChannelContext.tsx +6 -1
  2444. package/src/contexts/channelsContext/ChannelsContext.tsx +7 -2
  2445. package/src/contexts/channelsStateContext/ChannelsStateContext.tsx +10 -1
  2446. package/src/contexts/chatContext/ChatContext.tsx +5 -1
  2447. package/src/contexts/imageGalleryContext/ImageGalleryContext.tsx +10 -1
  2448. package/src/contexts/keyboardContext/KeyboardContext.tsx +14 -3
  2449. package/src/contexts/messageContext/MessageContext.tsx +7 -3
  2450. package/src/contexts/messageInputContext/MessageInputContext.tsx +6 -2
  2451. package/src/contexts/messageInputContext/__tests__/MessageInputContext.test.tsx +92 -43
  2452. package/src/contexts/messageInputContext/__tests__/__snapshots__/sendMessage.test.tsx.snap +24 -24
  2453. package/src/contexts/messageInputContext/__tests__/__snapshots__/sendMessageAsync.test.tsx.snap +8 -8
  2454. package/src/contexts/messageInputContext/__tests__/isValidMessage.test.tsx +15 -4
  2455. package/src/contexts/messageInputContext/__tests__/pickFile.test.tsx +28 -13
  2456. package/src/contexts/messageInputContext/__tests__/removeFile.test.tsx +9 -6
  2457. package/src/contexts/messageInputContext/__tests__/removeImage.test.tsx +10 -7
  2458. package/src/contexts/messageInputContext/__tests__/sendMessage.test.tsx +125 -53
  2459. package/src/contexts/messageInputContext/__tests__/sendMessageAsync.test.tsx +46 -25
  2460. package/src/contexts/messageInputContext/__tests__/updateMessage.test.tsx +22 -11
  2461. package/src/contexts/messageInputContext/__tests__/uploadFile.test.tsx +30 -13
  2462. package/src/contexts/messageInputContext/__tests__/uploadImage.test.tsx +15 -6
  2463. package/src/contexts/messageInputContext/__tests__/useMessageDetailsForState.test.tsx +4 -3
  2464. package/src/contexts/messageInputContext/hooks/useCreateMessageInputContext.ts +5 -1
  2465. package/src/contexts/messageOverlayContext/MessageOverlayContext.tsx +7 -3
  2466. package/src/contexts/messageOverlayContext/hooks/useResettableState.test.tsx +8 -7
  2467. package/src/contexts/messagesContext/MessagesContext.tsx +8 -3
  2468. package/src/contexts/overlayContext/OverlayContext.tsx +10 -1
  2469. package/src/contexts/overlayContext/OverlayProvider.tsx +4 -4
  2470. package/src/contexts/paginatedMessageListContext/PaginatedMessageListContext.tsx +7 -3
  2471. package/src/contexts/suggestionsContext/SuggestionsContext.tsx +10 -1
  2472. package/src/contexts/themeContext/utils/theme.ts +11 -6
  2473. package/src/contexts/threadContext/ThreadContext.tsx +8 -3
  2474. package/src/contexts/translationContext/TranslationContext.tsx +14 -3
  2475. package/src/contexts/typingContext/TypingContext.tsx +6 -2
  2476. package/src/hooks/__tests__/useAppStateListener.test.tsx +41 -15
  2477. package/src/hooks/__tests__/useTranslatedMessage.test.tsx +9 -9
  2478. package/src/hooks/useAppStateListener.ts +5 -1
  2479. package/src/i18n/es.json +10 -10
  2480. package/src/i18n/fr.json +10 -10
  2481. package/src/i18n/he.json +10 -10
  2482. package/src/i18n/hi.json +10 -10
  2483. package/src/i18n/it.json +10 -10
  2484. package/src/i18n/ja.json +10 -10
  2485. package/src/i18n/ko.json +10 -10
  2486. package/src/i18n/nl.json +10 -10
  2487. package/src/i18n/pt-BR.json +10 -10
  2488. package/src/i18n/ru.json +10 -10
  2489. package/src/i18n/tr.json +10 -10
  2490. package/src/icons/Copy.tsx +1 -1
  2491. package/src/icons/Loading.tsx +1 -1
  2492. package/src/mock-builders/generator/channel.ts +1 -1
  2493. package/src/store/apis/upsertChannelDataFromChannel.ts +25 -0
  2494. package/src/store/mappers/mapChannelToStorable.ts +68 -0
  2495. package/src/utils/DBSyncManager.ts +7 -3
  2496. package/src/utils/Streami18n.ts +3 -0
  2497. package/src/utils/utils.ts +2 -2
  2498. package/src/version.json +1 -1
  2499. package/src/components/Message/MessageSimple/__tests__/__snapshots__/MessageReplies.test.js.snap +0 -93
  2500. package/src/components/MessageInput/__tests__/__snapshots__/UploadProgressIndicator.test.js.snap +0 -250
@@ -1 +1 @@
1
- {"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_reactNativeGestureHandler","_reactNativeReanimated","_bottomSheet","_AnimatedGalleryImage","_AnimatedGalleryVideo","_ImageGalleryFooter","_ImageGalleryHeader","_ImageGalleryOverlay","_ImageGrid","_ImageGridHandle","_useImageGalleryGestures","_ImageGalleryContext","_OverlayContext","_ThemeContext","_useViewport2","_native","_getResizedImageUrl","_getUrlOfImageAttachment","_getGiphyMimeType","_this","_jsxFileName","_getRequireWildcardCache","nodeInterop","WeakMap","cacheBabelInterop","cacheNodeInterop","obj","__esModule","_typeof","cache","has","get","newObj","hasPropertyDescriptor","Object","defineProperty","getOwnPropertyDescriptor","key","prototype","hasOwnProperty","call","desc","set","isAndroid","Platform","OS","fullScreenHeight","Dimensions","height","MARGIN","HasPinched","exports","IsSwiping","ImageGallery","props","_StatusBar$currentHei","_imageGalleryAttachme","_props$autoPlayVideo","autoPlayVideo","_props$giphyVersion","giphyVersion","imageGalleryCustomComponents","imageGalleryGridHandleHeight","imageGalleryGridSnapPoints","numberOfImageGalleryGridColumns","overlayOpacity","_useState","useState","_useState2","_slicedToArray2","imageGalleryAttachments","setImageGalleryAttachments","_useTheme","useTheme","_useTheme$theme","theme","white_snow","colors","_useTheme$theme$image","imageGallery","backgroundColor","pager","slide","_useState3","_useState4","gridPhotos","setGridPhotos","_useOverlayContext","useOverlayContext","overlay","translucentStatusBar","_useImageGalleryConte","useImageGalleryContext","messages","selectedMessage","setSelectedMessage","_useViewport","useViewport","vh","vw","measuredScreenHeight","screenWidth","halfScreenWidth","statusBarHeight","StatusBar","currentHeight","bottomBarHeight","androidScreenHeightAdjustment","screenHeight","halfScreenHeight","quarterScreenHeight","snapPoints","React","useMemo","bottomSheetModalRef","useRef","_useState5","_useState6","currentBottomSheetIndex","setCurrentBottomSheetIndex","animatedBottomSheetIndex","useSharedValue","screenTranslateY","showScreen","value","withTiming","duration","easing","Easing","out","ease","useEffect","Keyboard","dismiss","_useState7","_useState8","currentImageHeight","setCurrentImageHeight","_useState9","_useState10","selectedIndex","setSelectedIndex","index","headerFooterVisible","doubleTapRef","panRef","pinchRef","singleTapRef","translateX","translateY","offsetScale","scale","translationX","photos","reduce","acc","cur","_cur$attachments","attachmentImages","attachments","filter","attachment","_attachment$giphy","_attachment$giphy$gip","type","giphy","url","thumb_url","image_url","title_link","og_scrape_url","getUrlOfImageAttachment","isVideoPackageAvailable","reverse","attachmentPhotos","map","a","_a$giphy","_a$giphy$giphyVersion","imageUrl","giphyURL","isInitiallyPaused","channelId","cid","created_at","id","messageId","mime_type","getGiphyMimeType","original_height","original_width","paused","progress","uri","getResizedImageUrl","width","user","user_id","concat","_toConsumableArray2","photoLength","length","stripQueryFromUrl","split","updatePosition","newIndex","runOnJS","findIndex","photo","runOnUI","uriForCurrentImage","imageHeight","Math","floor","Image","getSize","_useImageGalleryGestu","useImageGalleryGestures","onDoubleTap","onPan","onPinch","onSingleTap","headerFooterOpacity","useDerivedValue","pagerStyle","useAnimatedStyle","transform","scaleX","containerBackground","opacity","showScreenStyle","closeGridView","_bottomSheetModalRef$","current","close","openGridView","_bottomSheetModalRef$2","present","handleEnd","handlePlayPause","handleProgress","videoRef","handleLoad","prevImageGalleryAttachment","imageGalleryAttachment","_extends2","hasEnd","prevImageGalleryAttachments","pausedStatus","onPlayPause","status","undefined","createElement","View","accessibilityLabel","pointerEvents","style","StyleSheet","absoluteFillObject","__self","__source","fileName","lineNumber","columnNumber","TapGestureHandler","minPointers","numberOfTaps","onGestureEvent","ref","waitFor","maxDeltaX","maxDeltaY","maxDist","PinchGestureHandler","simultaneousHandlers","absoluteFill","PanGestureHandler","enabled","maxPointers","minDist","styles","animatedContainer","i","AnimatedGalleryVideo","attachmentId","previous","repeat","selected","shouldRender","abs","source","marginRight","AnimatedGalleryImage","ImageGalleryHeader","visible","header","ImageGalleryFooter","footer","ImageGalleryOverlay","BottomSheetModalProvider","BottomSheetModal","animatedIndex","enablePanDownToClose","handleComponent","ImageGridHandle","gridHandle","handleHeight","onChange","ImageGrid","grid","clamp","lowerBound","upperBound","min","max","create","alignItems","flexDirection","displayName"],"sources":["ImageGallery.tsx"],"sourcesContent":["import React, { useEffect, useRef, useState } from 'react';\nimport {\n Dimensions,\n Image,\n ImageStyle,\n Keyboard,\n Platform,\n StatusBar,\n StyleSheet,\n ViewStyle,\n} from 'react-native';\n\nimport {\n PanGestureHandler,\n PinchGestureHandler,\n TapGestureHandler,\n} from 'react-native-gesture-handler';\n\nimport Animated, {\n Easing,\n runOnJS,\n runOnUI,\n useAnimatedStyle,\n useDerivedValue,\n useSharedValue,\n withTiming,\n} from 'react-native-reanimated';\n\nimport { BottomSheetModal, BottomSheetModalProvider } from '@gorhom/bottom-sheet';\n\nimport type { UserResponse } from 'stream-chat';\n\nimport { AnimatedGalleryImage } from './components/AnimatedGalleryImage';\nimport { AnimatedGalleryVideo } from './components/AnimatedGalleryVideo';\nimport {\n ImageGalleryFooter,\n ImageGalleryFooterCustomComponentProps,\n} from './components/ImageGalleryFooter';\nimport {\n ImageGalleryHeader,\n ImageGalleryHeaderCustomComponentProps,\n} from './components/ImageGalleryHeader';\nimport { ImageGalleryOverlay } from './components/ImageGalleryOverlay';\nimport { ImageGalleryGridImageComponents, ImageGrid } from './components/ImageGrid';\nimport {\n ImageGalleryGridHandleCustomComponentProps,\n ImageGridHandle,\n} from './components/ImageGridHandle';\n\nimport { useImageGalleryGestures } from './hooks/useImageGalleryGestures';\n\nimport { useImageGalleryContext } from '../../contexts/imageGalleryContext/ImageGalleryContext';\nimport {\n OverlayProviderProps,\n useOverlayContext,\n} from '../../contexts/overlayContext/OverlayContext';\nimport { useTheme } from '../../contexts/themeContext/ThemeContext';\nimport { useViewport } from '../../hooks/useViewport';\nimport { isVideoPackageAvailable, VideoType } from '../../native';\nimport type { DefaultStreamChatGenerics } from '../../types/types';\nimport { getResizedImageUrl } from '../../utils/getResizedImageUrl';\nimport { getUrlOfImageAttachment } from '../../utils/getUrlOfImageAttachment';\nimport { getGiphyMimeType } from '../Attachment/utils/getGiphyMimeType';\n\nconst isAndroid = Platform.OS === 'android';\nconst fullScreenHeight = Dimensions.get('screen').height;\n\nconst MARGIN = 32;\n\nexport enum HasPinched {\n FALSE = 0,\n TRUE,\n}\n\nexport enum IsSwiping {\n UNDETERMINED = 0,\n TRUE,\n FALSE,\n}\n\nexport type ImageGalleryCustomComponents<\n StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics,\n> = {\n /**\n * Override props for following UI components, which are part of [image gallery](https://github.com/GetStream/stream-chat-react-native/wiki/Cookbook-v3.0#gallery-components).\n *\n * - [ImageGalleryFooter](#ImageGalleryFooter)\n *\n * - [ImageGrid](#ImageGrid)\n *\n * - [ImageGridHandle](#ImageGridHandle)\n *\n * - [ImageGalleryHeader](#ImageGalleryHeader)\n *\n * e.g.,\n *\n * ```js\n * {\n * footer: {\n * ShareIcon: CustomShareIconComponent\n * },\n * grid: {\n * avatarComponent: CustomAvatarComponent\n * },\n * gridHandle: {\n * centerComponent: CustomCenterComponent\n * },\n * header: {\n * CloseIcon: CustomCloseButtonComponent\n * },\n * }\n * ```\n * @overrideType object\n */\n imageGalleryCustomComponents?: {\n footer?: ImageGalleryFooterCustomComponentProps<StreamChatGenerics>;\n grid?: ImageGalleryGridImageComponents<StreamChatGenerics>;\n gridHandle?: ImageGalleryGridHandleCustomComponentProps;\n header?: ImageGalleryHeaderCustomComponentProps<StreamChatGenerics>;\n };\n};\n\ntype Props<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> =\n ImageGalleryCustomComponents<StreamChatGenerics> & {\n overlayOpacity: Animated.SharedValue<number>;\n } & Pick<\n OverlayProviderProps<StreamChatGenerics>,\n | 'giphyVersion'\n | 'imageGalleryGridSnapPoints'\n | 'imageGalleryGridHandleHeight'\n | 'numberOfImageGalleryGridColumns'\n | 'autoPlayVideo'\n >;\n\nexport const ImageGallery = <\n StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics,\n>(\n props: Props<StreamChatGenerics>,\n) => {\n const {\n autoPlayVideo = false,\n giphyVersion = 'fixed_height',\n imageGalleryCustomComponents,\n imageGalleryGridHandleHeight,\n imageGalleryGridSnapPoints,\n numberOfImageGalleryGridColumns,\n overlayOpacity,\n } = props;\n const [imageGalleryAttachments, setImageGalleryAttachments] = useState<\n Photo<StreamChatGenerics>[]\n >([]);\n const {\n theme: {\n colors: { white_snow },\n imageGallery: { backgroundColor, pager, slide },\n },\n } = useTheme();\n const [gridPhotos, setGridPhotos] = useState<Photo<StreamChatGenerics>[]>([]);\n const { overlay, translucentStatusBar } = useOverlayContext();\n const { messages, selectedMessage, setSelectedMessage } =\n useImageGalleryContext<StreamChatGenerics>();\n\n const { vh, vw } = useViewport();\n\n const measuredScreenHeight = vh(100);\n const screenWidth = vw(100);\n const halfScreenWidth = vw(50);\n\n /**\n * Height constants\n */\n const statusBarHeight = StatusBar.currentHeight ?? 0;\n const bottomBarHeight = fullScreenHeight - measuredScreenHeight - statusBarHeight;\n const androidScreenHeightAdjustment = translucentStatusBar\n ? bottomBarHeight === statusBarHeight || bottomBarHeight < 0\n ? 0\n : statusBarHeight\n : bottomBarHeight === statusBarHeight || bottomBarHeight < 0\n ? -statusBarHeight\n : 0;\n const screenHeight = isAndroid\n ? Dimensions.get('window').height + androidScreenHeightAdjustment\n : vh(100);\n const halfScreenHeight = screenHeight / 2;\n const quarterScreenHeight = screenHeight / 4;\n const snapPoints = React.useMemo(\n () => [(screenHeight * 3) / 4, screenHeight - (imageGalleryGridHandleHeight ?? 40)],\n [],\n );\n\n /**\n * BottomSheetModal ref\n */\n const bottomSheetModalRef = useRef<BottomSheetModal>(null);\n\n /**\n * BottomSheetModal state\n */\n const [currentBottomSheetIndex, setCurrentBottomSheetIndex] = useState(0);\n const animatedBottomSheetIndex = useSharedValue(0);\n\n /**\n * Fade animation for screen, it is always rendered with pointerEvents\n * set to none for fast opening\n */\n const screenTranslateY = useSharedValue(screenHeight);\n const showScreen = () => {\n 'worklet';\n screenTranslateY.value = withTiming(0, {\n duration: 250,\n easing: Easing.out(Easing.ease),\n });\n };\n\n /**\n * Run the fade animation on visible change\n */\n useEffect(() => {\n Keyboard.dismiss();\n showScreen();\n }, []);\n\n /**\n * Image height from URL or default to full screen height\n */\n const [currentImageHeight, setCurrentImageHeight] = useState<number>(screenHeight);\n\n /**\n * JS and UI index values, the JS follows the UI but is needed\n * for rendering the virtualized image list\n */\n const [selectedIndex, setSelectedIndex] = useState(0);\n const index = useSharedValue(0);\n\n /**\n * Header visible value for animating in out\n */\n const headerFooterVisible = useSharedValue(1);\n\n /**\n * Gesture handler refs\n */\n const doubleTapRef = useRef<TapGestureHandler>(null);\n const panRef = useRef<PanGestureHandler>(null);\n const pinchRef = useRef<PinchGestureHandler>(null);\n const singleTapRef = useRef<TapGestureHandler>(null);\n\n /**\n * Shared values for movement\n */\n const translateX = useSharedValue(0);\n const translateY = useSharedValue(0);\n const offsetScale = useSharedValue(1);\n const scale = useSharedValue(1);\n const translationX = useSharedValue(0);\n\n /**\n * Photos array created from all currently available\n * photo attachments\n */\n\n const photos = messages.reduce((acc: Photo<StreamChatGenerics>[], cur) => {\n const attachmentImages =\n cur.attachments\n ?.filter(\n (attachment) =>\n (attachment.type === 'giphy' &&\n (attachment.giphy?.[giphyVersion]?.url ||\n attachment.thumb_url ||\n attachment.image_url)) ||\n (attachment.type === 'image' &&\n !attachment.title_link &&\n !attachment.og_scrape_url &&\n getUrlOfImageAttachment(attachment)) ||\n (isVideoPackageAvailable() && attachment.type === 'video'),\n )\n .reverse() || [];\n\n const attachmentPhotos = attachmentImages.map((a) => {\n const imageUrl = getUrlOfImageAttachment(a) as string;\n const giphyURL = a.giphy?.[giphyVersion]?.url || a.thumb_url || a.image_url;\n const isInitiallyPaused = !autoPlayVideo;\n\n return {\n channelId: cur.cid,\n created_at: cur.created_at,\n duration: 0,\n id: `photoId-${cur.id}-${imageUrl}`,\n messageId: cur.id,\n mime_type: a.type === 'giphy' ? getGiphyMimeType(giphyURL ?? '') : a.mime_type,\n original_height: a.original_height,\n original_width: a.original_width,\n paused: isInitiallyPaused,\n progress: 0,\n thumb_url: a.thumb_url,\n type: a.type,\n uri:\n a.type === 'giphy'\n ? giphyURL\n : getResizedImageUrl({\n height: screenHeight,\n url: imageUrl,\n width: screenWidth,\n }),\n user: cur.user,\n user_id: cur.user_id,\n };\n });\n\n return [...attachmentPhotos, ...acc] as Photo<StreamChatGenerics>[];\n }, []);\n\n /**\n * Photos length needs to be kept as a const here so if the length\n * changes it causes the pan gesture handler function to refresh. This\n * does not work if the calculation for the length of the array is left\n * inside the gesture handler as it will have an array as a dependency\n */\n const photoLength = photos.length;\n\n useEffect(() => {\n setImageGalleryAttachments(photos);\n }, []);\n\n /**\n * The URL for the images may differ because of dimensions passed as\n * part of the query.\n */\n const stripQueryFromUrl = (url: string) => url.split('?')[0];\n\n /**\n * Set selected photo when changed via pressing in the message list\n */\n useEffect(() => {\n const updatePosition = (newIndex: number) => {\n 'worklet';\n\n if (newIndex > -1) {\n index.value = newIndex;\n translationX.value = -(screenWidth + MARGIN) * newIndex;\n runOnJS(setSelectedIndex)(newIndex);\n }\n };\n\n const newIndex = photos.findIndex(\n (photo) =>\n photo.messageId === selectedMessage?.messageId &&\n stripQueryFromUrl(photo.uri) === stripQueryFromUrl(selectedMessage?.url || ''),\n );\n\n runOnUI(updatePosition)(newIndex);\n }, [selectedMessage, photoLength]);\n\n /**\n * Image heights are not provided and therefore need to be calculated.\n * We start by allowing the image to be the full height then reduce it\n * to the proper scaled height based on the width being restricted to the\n * screen width when the dimensions are received.\n */\n const uriForCurrentImage = imageGalleryAttachments[selectedIndex]?.uri;\n\n useEffect(() => {\n setCurrentImageHeight(screenHeight);\n const photo = imageGalleryAttachments[index.value];\n const height = photo?.original_height;\n const width = photo?.original_width;\n\n if (height && width) {\n const imageHeight = Math.floor(height * (screenWidth / width));\n setCurrentImageHeight(imageHeight > screenHeight ? screenHeight : imageHeight);\n } else if (photo?.uri) {\n if (photo.type === 'image') {\n Image.getSize(photo.uri, (width, height) => {\n const imageHeight = Math.floor(height * (screenWidth / width));\n setCurrentImageHeight(imageHeight > screenHeight ? screenHeight : imageHeight);\n });\n }\n }\n }, [uriForCurrentImage]);\n\n const { onDoubleTap, onPan, onPinch, onSingleTap } = useImageGalleryGestures({\n currentImageHeight,\n halfScreenHeight,\n halfScreenWidth,\n headerFooterVisible,\n offsetScale,\n overlayOpacity,\n photoLength,\n scale,\n screenHeight,\n screenWidth,\n selectedIndex,\n setSelectedIndex,\n translateX,\n translateY,\n translationX,\n });\n\n /**\n * If the header is visible we scale down the opacity of it as the\n * image is swiped downward\n */\n const headerFooterOpacity = useDerivedValue(\n () =>\n currentImageHeight * scale.value < screenHeight && translateY.value > 0\n ? 1 - translateY.value / quarterScreenHeight\n : currentImageHeight * scale.value > screenHeight &&\n translateY.value > (currentImageHeight / 2) * scale.value - halfScreenHeight\n ? 1 -\n (translateY.value - ((currentImageHeight / 2) * scale.value - halfScreenHeight)) /\n quarterScreenHeight\n : 1,\n [currentImageHeight],\n );\n\n /**\n * This transition and scaleX reverse lets use scroll left\n */\n const pagerStyle = useAnimatedStyle<ImageStyle>(\n () => ({\n transform: [\n { scaleX: -1 },\n {\n translateX: translationX.value,\n },\n ],\n }),\n [],\n );\n\n /**\n * Simple background color animation on Y movement\n */\n const containerBackground = useAnimatedStyle<ViewStyle>(\n () => ({\n backgroundColor: backgroundColor || white_snow,\n opacity: headerFooterOpacity.value,\n }),\n [headerFooterOpacity],\n );\n\n /**\n * Show screen style as component is always rendered we hide it\n * down and up and set opacity to 0 for good measure\n */\n const showScreenStyle = useAnimatedStyle<ViewStyle>(\n () => ({\n transform: [\n {\n translateY: screenTranslateY.value,\n },\n ],\n }),\n [],\n );\n\n /**\n * Functions toclose BottomSheetModal with image grid\n */\n const closeGridView = () => {\n if (bottomSheetModalRef.current?.close) {\n bottomSheetModalRef.current.close();\n setGridPhotos([]);\n }\n };\n\n /**\n * Function to open BottomSheetModal with image grid\n */\n const openGridView = () => {\n if (bottomSheetModalRef.current?.present) {\n bottomSheetModalRef.current.present();\n setGridPhotos(imageGalleryAttachments);\n }\n };\n\n const handleEnd = () => {\n handlePlayPause(imageGalleryAttachments[selectedIndex].id, true);\n handleProgress(imageGalleryAttachments[selectedIndex].id, 1, true);\n };\n\n const videoRef = useRef<VideoType>(null);\n\n const handleLoad = (index: string, duration: number) => {\n setImageGalleryAttachments((prevImageGalleryAttachment) =>\n prevImageGalleryAttachment.map((imageGalleryAttachment) => ({\n ...imageGalleryAttachment,\n duration: imageGalleryAttachment.id === index ? duration : imageGalleryAttachment.duration,\n })),\n );\n };\n\n const handleProgress = (index: string, progress: number, hasEnd?: boolean) => {\n setImageGalleryAttachments((prevImageGalleryAttachments) =>\n prevImageGalleryAttachments.map((imageGalleryAttachment) => ({\n ...imageGalleryAttachment,\n progress:\n imageGalleryAttachment.id === index\n ? hasEnd\n ? 1\n : progress\n : imageGalleryAttachment.progress,\n })),\n );\n };\n\n const handlePlayPause = (index: string, pausedStatus?: boolean) => {\n if (pausedStatus === false) {\n // If the status is false we set the audio with the index as playing and the others as paused.\n setImageGalleryAttachments((prevImageGalleryAttachment) =>\n prevImageGalleryAttachment.map((imageGalleryAttachment) => ({\n ...imageGalleryAttachment,\n paused: imageGalleryAttachment.id === index ? false : true,\n })),\n );\n } else {\n // If the status is true we simply set all the audio's paused state as true.\n setImageGalleryAttachments((prevImageGalleryAttachment) =>\n prevImageGalleryAttachment.map((imageGalleryAttachment) => ({\n ...imageGalleryAttachment,\n paused: true,\n })),\n );\n }\n };\n\n const onPlayPause = (status?: boolean) => {\n if (status === undefined) {\n if (imageGalleryAttachments[selectedIndex].paused) {\n handlePlayPause(imageGalleryAttachments[selectedIndex].id, false);\n } else {\n handlePlayPause(imageGalleryAttachments[selectedIndex].id, true);\n }\n } else {\n handlePlayPause(imageGalleryAttachments[selectedIndex].id, status);\n }\n };\n\n return (\n <Animated.View\n accessibilityLabel='Image Gallery'\n pointerEvents={'auto'}\n style={[StyleSheet.absoluteFillObject, showScreenStyle]}\n >\n <Animated.View style={[StyleSheet.absoluteFillObject, containerBackground]} />\n <TapGestureHandler\n minPointers={1}\n numberOfTaps={1}\n onGestureEvent={onSingleTap}\n ref={singleTapRef}\n waitFor={[panRef, pinchRef, doubleTapRef]}\n >\n <Animated.View style={StyleSheet.absoluteFillObject}>\n <TapGestureHandler\n maxDeltaX={8}\n maxDeltaY={8}\n maxDist={8}\n minPointers={1}\n numberOfTaps={2}\n onGestureEvent={onDoubleTap}\n ref={doubleTapRef}\n >\n <Animated.View style={StyleSheet.absoluteFillObject}>\n <PinchGestureHandler\n onGestureEvent={onPinch}\n ref={pinchRef}\n simultaneousHandlers={[panRef]}\n >\n <Animated.View style={StyleSheet.absoluteFill}>\n <PanGestureHandler\n enabled={overlay === 'gallery'}\n maxPointers={isAndroid ? undefined : 1}\n minDist={10}\n onGestureEvent={onPan}\n ref={panRef}\n simultaneousHandlers={[pinchRef]}\n >\n <Animated.View style={StyleSheet.absoluteFill}>\n <Animated.View style={[styles.animatedContainer, pagerStyle, pager]}>\n {imageGalleryAttachments.map((photo, i) =>\n photo.type === 'video' ? (\n <AnimatedGalleryVideo\n attachmentId={photo.id}\n handleEnd={handleEnd}\n handleLoad={handleLoad}\n handleProgress={handleProgress}\n index={i}\n key={`${photo.uri}-${i}`}\n offsetScale={offsetScale}\n paused={photo.paused || false}\n previous={selectedIndex > i}\n repeat={true}\n scale={scale}\n screenHeight={screenHeight}\n selected={selectedIndex === i}\n shouldRender={Math.abs(selectedIndex - i) < 4}\n source={{ uri: photo.uri }}\n style={[\n {\n height: screenHeight * 8,\n marginRight: MARGIN,\n width: screenWidth * 8,\n },\n slide,\n ]}\n translateX={translateX}\n translateY={translateY}\n videoRef={videoRef}\n />\n ) : (\n <AnimatedGalleryImage\n accessibilityLabel={'Image Item'}\n index={i}\n key={`${photo.uri}-${i}`}\n offsetScale={offsetScale}\n photo={photo}\n previous={selectedIndex > i}\n scale={scale}\n screenHeight={screenHeight}\n selected={selectedIndex === i}\n shouldRender={Math.abs(selectedIndex - i) < 4}\n style={[\n {\n height: screenHeight * 8,\n marginRight: MARGIN,\n width: screenWidth * 8,\n },\n slide,\n ]}\n translateX={translateX}\n translateY={translateY}\n />\n ),\n )}\n </Animated.View>\n </Animated.View>\n </PanGestureHandler>\n </Animated.View>\n </PinchGestureHandler>\n </Animated.View>\n </TapGestureHandler>\n </Animated.View>\n </TapGestureHandler>\n <ImageGalleryHeader<StreamChatGenerics>\n opacity={headerFooterOpacity}\n photo={imageGalleryAttachments[selectedIndex]}\n visible={headerFooterVisible}\n {...imageGalleryCustomComponents?.header}\n />\n\n {imageGalleryAttachments[selectedIndex] && (\n <ImageGalleryFooter<StreamChatGenerics>\n accessibilityLabel={'Image Gallery Footer'}\n duration={imageGalleryAttachments[selectedIndex].duration || 0}\n onPlayPause={onPlayPause}\n opacity={headerFooterOpacity}\n openGridView={openGridView}\n paused={imageGalleryAttachments[selectedIndex].paused || false}\n photo={imageGalleryAttachments[selectedIndex]}\n photoLength={imageGalleryAttachments.length}\n progress={imageGalleryAttachments[selectedIndex].progress || 0}\n selectedIndex={selectedIndex}\n videoRef={videoRef}\n visible={headerFooterVisible}\n {...imageGalleryCustomComponents?.footer}\n />\n )}\n\n <ImageGalleryOverlay\n animatedBottomSheetIndex={animatedBottomSheetIndex}\n closeGridView={closeGridView}\n currentBottomSheetIndex={currentBottomSheetIndex}\n />\n <BottomSheetModalProvider>\n <BottomSheetModal\n animatedIndex={animatedBottomSheetIndex}\n enablePanDownToClose={true}\n handleComponent={() => (\n <ImageGridHandle\n closeGridView={closeGridView}\n {...imageGalleryCustomComponents?.gridHandle}\n />\n )}\n handleHeight={imageGalleryGridHandleHeight ?? 40}\n index={0}\n onChange={(index: number) => setCurrentBottomSheetIndex(index)}\n ref={bottomSheetModalRef}\n snapPoints={imageGalleryGridSnapPoints || snapPoints}\n >\n <ImageGrid\n closeGridView={closeGridView}\n numberOfImageGalleryGridColumns={numberOfImageGalleryGridColumns}\n photos={gridPhotos}\n setSelectedMessage={setSelectedMessage}\n {...imageGalleryCustomComponents?.grid}\n />\n </BottomSheetModal>\n </BottomSheetModalProvider>\n </Animated.View>\n );\n};\n\n/**\n * Clamping worklet to clamp the scaling\n */\nexport const clamp = (value: number, lowerBound: number, upperBound: number) => {\n 'worklet';\n return Math.min(Math.max(lowerBound, value), upperBound);\n};\n\nconst styles = StyleSheet.create({\n animatedContainer: {\n alignItems: 'center',\n flexDirection: 'row',\n },\n});\n\nexport type Photo<\n StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics,\n> = {\n id: string;\n uri: string;\n channelId?: string;\n created_at?: string | Date;\n duration?: number;\n messageId?: string;\n mime_type?: string;\n original_height?: number;\n original_width?: number;\n paused?: boolean;\n progress?: number;\n thumb_url?: string;\n type?: string;\n user?: UserResponse<StreamChatGenerics> | null;\n user_id?: string;\n};\n\nImageGallery.displayName = 'ImageGallery{imageGallery}';\n"],"mappings":";;;;;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAWA,IAAAE,0BAAA,GAAAF,OAAA;AAMA,IAAAG,sBAAA,GAAAJ,uBAAA,CAAAC,OAAA;AAUA,IAAAI,YAAA,GAAAJ,OAAA;AAIA,IAAAK,qBAAA,GAAAL,OAAA;AACA,IAAAM,qBAAA,GAAAN,OAAA;AACA,IAAAO,mBAAA,GAAAP,OAAA;AAIA,IAAAQ,mBAAA,GAAAR,OAAA;AAIA,IAAAS,oBAAA,GAAAT,OAAA;AACA,IAAAU,UAAA,GAAAV,OAAA;AACA,IAAAW,gBAAA,GAAAX,OAAA;AAKA,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,0BAA0B,CAACuB,KAAK,CAAC;IAAA,CAAC;IAC/D8H,GAAG,EAAE1J,mBAAoB;IACzBH,UAAU,EAAEhD,0BAA0B,IAAIgD,UAAW;IAAAoJ,MAAA,EAAAhP,KAAA;IAAAiP,QAAA;MAAAC,QAAA,EAAAjP,YAAA;MAAAkP,UAAA;MAAAC,YAAA;IAAA;EAAA,GAErD3Q,MAAA,YAAAgQ,aAAA,CAACpP,UAAA,CAAA4S,SAAS,MAAA/D,SAAA;IACRd,aAAa,EAAEA,aAAc;IAC7BvK,+BAA+B,EAAEA,+BAAgC;IACjEyF,MAAM,EAAEpE,UAAW;IACnBU,kBAAkB,EAAEA;EAAmB,GACnClC,4BAA4B,oBAA5BA,4BAA4B,CAAEwP,IAAI;IAAAlD,MAAA,EAAAhP,KAAA;IAAAiP,QAAA;MAAAC,QAAA,EAAAjP,YAAA;MAAAkP,UAAA;MAAAC,YAAA;IAAA;EAAA,EACvC,CACe,CACM,CACb,CAAC;AAEpB,CAAC;AAACpN,OAAA,CAAAE,YAAA,GAAAA,YAAA;AAKK,IAAMiQ,KAAK,GAAG,SAARA,KAAKA,CAAI1L,KAAa,EAAE2L,UAAkB,EAAEC,UAAkB,EAAK;EAC9E,SAAS;;EACT,OAAOpG,IAAI,CAACqG,GAAG,CAACrG,IAAI,CAACsG,GAAG,CAACH,UAAU,EAAE3L,KAAK,CAAC,EAAE4L,UAAU,CAAC;AAC1D,CAAC;AAACrQ,OAAA,CAAAmQ,KAAA,GAAAA,KAAA;AAEF,IAAM9B,MAAM,GAAGvB,uBAAU,CAAC0D,MAAM,CAAC;EAC/BlC,iBAAiB,EAAE;IACjBmC,UAAU,EAAE,QAAQ;IACpBC,aAAa,EAAE;EACjB;AACF,CAAC,CAAC;AAsBFxQ,YAAY,CAACyQ,WAAW,GAAG,4BAA4B"}
1
+ {"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_reactNativeGestureHandler","_reactNativeReanimated","_bottomSheet","_AnimatedGalleryImage","_AnimatedGalleryVideo","_ImageGalleryFooter","_ImageGalleryHeader","_ImageGalleryOverlay","_ImageGrid","_ImageGridHandle","_useImageGalleryGestures","_ImageGalleryContext","_OverlayContext","_ThemeContext","_useViewport2","_native","_getResizedImageUrl","_getUrlOfImageAttachment","_getGiphyMimeType","_jsxRuntime","_this","_jsxFileName","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","_typeof","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","isAndroid","Platform","OS","fullScreenHeight","Dimensions","height","MARGIN","HasPinched","exports","IsSwiping","normalizeSnapPoints","input","snapPoints","value","map","snapPoint","Math","max","numericValue","Number","replace","isPercentage","includes","isNaN","concat","ImageGallery","props","_StatusBar$currentHei","_imageGalleryAttachme","_props$autoPlayVideo","autoPlayVideo","_props$giphyVersion","giphyVersion","imageGalleryCustomComponents","imageGalleryGridHandleHeight","imageGalleryGridSnapPoints","numberOfImageGalleryGridColumns","overlayOpacity","_useState","useState","_useState2","_slicedToArray2","imageGalleryAttachments","setImageGalleryAttachments","_useTheme","useTheme","_useTheme$theme","theme","white_snow","colors","_useTheme$theme$image","imageGallery","backgroundColor","pager","slide","_useState3","_useState4","gridPhotos","setGridPhotos","_useOverlayContext","useOverlayContext","overlay","translucentStatusBar","_useImageGalleryConte","useImageGalleryContext","messages","selectedMessage","setSelectedMessage","_useViewport","useViewport","vh","vw","measuredScreenHeight","screenWidth","halfScreenWidth","statusBarHeight","StatusBar","currentHeight","bottomBarHeight","androidScreenHeightAdjustment","screenHeight","halfScreenHeight","quarterScreenHeight","React","useMemo","bottomSheetModalRef","useRef","_useState5","_useState6","currentBottomSheetIndex","setCurrentBottomSheetIndex","animatedBottomSheetIndex","useSharedValue","screenTranslateY","showScreen","withTiming","duration","easing","Easing","out","ease","useEffect","Keyboard","dismiss","_useState7","_useState8","currentImageHeight","setCurrentImageHeight","_useState9","_useState10","selectedIndex","setSelectedIndex","index","headerFooterVisible","doubleTapRef","panRef","pinchRef","singleTapRef","translateX","translateY","offsetScale","scale","translationX","photos","reduce","acc","cur","_cur$attachments","attachmentImages","attachments","filter","attachment","_attachment$giphy","_attachment$giphy$gip","type","giphy","url","thumb_url","image_url","title_link","og_scrape_url","getUrlOfImageAttachment","isVideoPackageAvailable","reverse","attachmentPhotos","_a$giphy","_a$giphy$giphyVersion","imageUrl","giphyURL","isInitiallyPaused","channelId","cid","created_at","id","messageId","mime_type","getGiphyMimeType","original_height","original_width","paused","progress","uri","getResizedImageUrl","width","user","user_id","_toConsumableArray2","photoLength","length","stripQueryFromUrl","split","updatePosition","newIndex","runOnJS","findIndex","photo","runOnUI","uriForCurrentImage","imageHeight","floor","Image","getSize","_useImageGalleryGestu","useImageGalleryGestures","onDoubleTap","onPan","onPinch","onSingleTap","headerFooterOpacity","useDerivedValue","pagerStyle","useAnimatedStyle","transform","scaleX","containerBackground","opacity","showScreenStyle","closeGridView","_bottomSheetModalRef$","current","close","openGridView","_bottomSheetModalRef$2","present","handleEnd","handlePlayPause","handleProgress","videoRef","handleLoad","prevImageGalleryAttachment","imageGalleryAttachment","assign","hasEnd","prevImageGalleryAttachments","pausedStatus","onPlayPause","status","undefined","jsxs","View","accessibilityLabel","pointerEvents","style","StyleSheet","absoluteFillObject","children","jsx","TapGestureHandler","minPointers","numberOfTaps","onGestureEvent","ref","waitFor","maxDeltaX","maxDeltaY","maxDist","PinchGestureHandler","simultaneousHandlers","absoluteFill","PanGestureHandler","enabled","maxPointers","minDist","styles","animatedContainer","AnimatedGalleryVideo","attachmentId","previous","repeat","selected","shouldRender","abs","source","marginRight","AnimatedGalleryImage","ImageGalleryHeader","visible","header","ImageGalleryFooter","footer","ImageGalleryOverlay","BottomSheetModalProvider","BottomSheetModal","animatedIndex","enablePanDownToClose","handleComponent","ImageGridHandle","gridHandle","handleHeight","onChange","ImageGrid","grid","clamp","lowerBound","upperBound","min","create","alignItems","flexDirection","displayName"],"sourceRoot":"../../../../src","sources":["components/ImageGallery/ImageGallery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IAAIvB,UAAU,CAAE;QAAAqN,QAAA,EAE1E,IAAAxP,WAAA,CAAAyP,GAAA,EAACpQ,UAAA,CAAAgT,SAAS,EAAAtR,MAAA,CAAA2N,MAAA;UACRd,aAAa,EAAEA,aAAc;UAC7BjK,+BAA+B,EAAEA,+BAAgC;UACjEuF,MAAM,EAAElE,UAAW;UACnBU,kBAAkB,EAAEA;QAAmB,GACnClC,4BAA4B,oBAA5BA,4BAA4B,CAAE8O,IAAI,CACvC;MAAC,CACc;IAAC,CACK,CAAC;EAAA,CACd,CAAC;AAEpB,CAAC;AAACvQ,OAAA,CAAAiB,YAAA,GAAAA,YAAA;AAKK,IAAMuP,KAAK,GAAG,SAARA,KAAKA,CAAInQ,KAAa,EAAEoQ,UAAkB,EAAEC,UAAkB,EAAK;EAC9E,SAAS;;EACT,OAAOlQ,IAAI,CAACmQ,GAAG,CAACnQ,IAAI,CAACC,GAAG,CAACgQ,UAAU,EAAEpQ,KAAK,CAAC,EAAEqQ,UAAU,CAAC;AAC1D,CAAC;AAAC1Q,OAAA,CAAAwQ,KAAA,GAAAA,KAAA;AAEF,IAAM7B,MAAM,GAAGpB,uBAAU,CAACqD,MAAM,CAAC;EAC/BhC,iBAAiB,EAAE;IACjBiC,UAAU,EAAE,QAAQ;IACpBC,aAAa,EAAE;EACjB;AACF,CAAC,CAAC;AAsBF7P,YAAY,CAAC8P,WAAW,GAAG,4BAA4B","ignoreList":[]}
@@ -8,10 +8,11 @@ var _react = _interopRequireDefault(require("react"));
8
8
  var _reactNative = require("react-native");
9
9
  var _reactNativeReanimated = _interopRequireWildcard(require("react-native-reanimated"));
10
10
  var _useViewport2 = require("../../../hooks/useViewport");
11
+ var _jsxRuntime = require("react/jsx-runtime");
11
12
  var _this = this,
12
13
  _jsxFileName = "/home/runner/work/stream-chat-react-native/stream-chat-react-native/package/src/components/ImageGallery/components/AnimatedGalleryImage.tsx";
13
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
14
- function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
14
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
15
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
15
16
  var oneEighth = 1 / 8;
16
17
  var AnimatedGalleryImage = _react["default"].memo(function (props) {
17
18
  var accessibilityLabel = props.accessibilityLabel,
@@ -46,21 +47,15 @@ var AnimatedGalleryImage = _react["default"].memo(function (props) {
46
47
  };
47
48
  }, [previous, selected]);
48
49
  if (!shouldRender) {
49
- return _react["default"].createElement(_reactNative.View, {
50
+ return (0, _jsxRuntime.jsx)(_reactNative.View, {
50
51
  style: [style, {
51
52
  transform: [{
52
53
  scale: oneEighth
53
54
  }]
54
- }],
55
- __self: _this,
56
- __source: {
57
- fileName: _jsxFileName,
58
- lineNumber: 85,
59
- columnNumber: 14
60
- }
55
+ }]
61
56
  });
62
57
  }
63
- return _react["default"].createElement(_reactNativeReanimated["default"].Image, {
58
+ return (0, _jsxRuntime.jsx)(_reactNativeReanimated["default"].Image, {
64
59
  accessibilityLabel: accessibilityLabel,
65
60
  resizeMode: 'contain',
66
61
  source: {
@@ -76,13 +71,7 @@ var AnimatedGalleryImage = _react["default"].memo(function (props) {
76
71
  }, {
77
72
  scale: oneEighth
78
73
  }]
79
- }],
80
- __self: _this,
81
- __source: {
82
- fileName: _jsxFileName,
83
- lineNumber: 89,
84
- columnNumber: 7
85
- }
74
+ }]
86
75
  });
87
76
  }, function (prevProps, nextProps) {
88
77
  if (prevProps.selected === nextProps.selected && prevProps.shouldRender === nextProps.shouldRender && prevProps.photo.uri === nextProps.photo.uri && prevProps.previous === nextProps.previous && prevProps.index === nextProps.index && prevProps.screenHeight === nextProps.screenHeight) {
@@ -1 +1 @@
1
- {"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_reactNativeReanimated","_interopRequireWildcard","_useViewport2","_this","_jsxFileName","_getRequireWildcardCache","nodeInterop","WeakMap","cacheBabelInterop","cacheNodeInterop","obj","__esModule","_typeof","cache","has","get","newObj","hasPropertyDescriptor","Object","defineProperty","getOwnPropertyDescriptor","key","prototype","hasOwnProperty","call","desc","set","oneEighth","AnimatedGalleryImage","React","memo","props","accessibilityLabel","index","offsetScale","photo","previous","scale","screenHeight","selected","shouldRender","style","translateX","translateY","_useViewport","useViewport","vw","screenWidth","halfScreenWidth","AnimatedGalleryImageStyle","useAnimatedStyle","xScaleOffset","yScaleOffset","transform","value","scaleX","createElement","View","__self","__source","fileName","lineNumber","columnNumber","Image","resizeMode","source","uri","prevProps","nextProps","exports","displayName"],"sources":["AnimatedGalleryImage.tsx"],"sourcesContent":["import React from 'react';\nimport { View } from 'react-native';\nimport type { ImageStyle, StyleProp } from 'react-native';\nimport Animated, { useAnimatedStyle } from 'react-native-reanimated';\n\nimport { useViewport } from '../../../hooks/useViewport';\n\nconst oneEighth = 1 / 8;\n\ntype Props = {\n accessibilityLabel: string;\n index: number;\n offsetScale: Animated.SharedValue<number>;\n photo: { uri: string };\n previous: boolean;\n scale: Animated.SharedValue<number>;\n screenHeight: number;\n selected: boolean;\n shouldRender: boolean;\n translateX: Animated.SharedValue<number>;\n translateY: Animated.SharedValue<number>;\n style?: StyleProp<ImageStyle>;\n};\n\nexport const AnimatedGalleryImage: React.FC<Props> = React.memo(\n (props) => {\n const {\n accessibilityLabel,\n index,\n offsetScale,\n photo,\n previous,\n scale,\n screenHeight,\n selected,\n shouldRender,\n style,\n translateX,\n translateY,\n } = props;\n const { vw } = useViewport();\n\n const screenWidth = vw(100);\n const halfScreenWidth = vw(50);\n\n /**\n * The current image, designated by selected is scaled and translated\n * based on the gestures. The rendered images before and after the\n * currently selected image also translated in X if the scale is\n * greater than one so they keep the same distance from the selected\n * image as it is scaled. If the scale is less than one they stay in\n * place as to not come into the screen when the image shrinks.\n */\n const AnimatedGalleryImageStyle = useAnimatedStyle<ImageStyle>(() => {\n const xScaleOffset = -7 * screenWidth * (0.5 + index);\n const yScaleOffset = -screenHeight * 3.5;\n return {\n transform: [\n {\n translateX: selected\n ? translateX.value + xScaleOffset\n : scale.value < 1 || scale.value !== offsetScale.value\n ? xScaleOffset\n : previous\n ? translateX.value - halfScreenWidth * (scale.value - 1) + xScaleOffset\n : translateX.value + halfScreenWidth * (scale.value - 1) + xScaleOffset,\n },\n {\n translateY: selected ? translateY.value + yScaleOffset : yScaleOffset,\n },\n {\n scale: selected ? scale.value / 8 : oneEighth,\n },\n { scaleX: -1 },\n ],\n };\n }, [previous, selected]);\n\n /**\n * An empty view is rendered for images not close to the currently\n * selected in order to maintain spacing while reducing the image\n * load on memory.\n */\n if (!shouldRender) {\n return <View style={[style, { transform: [{ scale: oneEighth }] }]} />;\n }\n\n return (\n <Animated.Image\n accessibilityLabel={accessibilityLabel}\n resizeMode={'contain'}\n source={{ uri: photo.uri }}\n style={[\n style,\n AnimatedGalleryImageStyle,\n {\n transform: [\n { scaleX: -1 },\n { translateY: -screenHeight * 3.5 },\n {\n translateX: -translateX.value + 7 * screenWidth * (0.5 + index),\n },\n { scale: oneEighth },\n ],\n },\n ]}\n />\n );\n },\n (prevProps, nextProps) => {\n if (\n prevProps.selected === nextProps.selected &&\n prevProps.shouldRender === nextProps.shouldRender &&\n prevProps.photo.uri === nextProps.photo.uri &&\n prevProps.previous === nextProps.previous &&\n prevProps.index === nextProps.index &&\n prevProps.screenHeight === nextProps.screenHeight\n ) {\n return true;\n }\n return false;\n },\n);\n\nAnimatedGalleryImage.displayName = 'AnimatedGalleryImage';\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAEA,IAAAE,sBAAA,GAAAC,uBAAA,CAAAH,OAAA;AAEA,IAAAI,aAAA,GAAAJ,OAAA;AAAyD,IAAAK,KAAA;EAAAC,YAAA;AAAA,SAAAC,yBAAAC,WAAA,eAAAC,OAAA,kCAAAC,iBAAA,OAAAD,OAAA,QAAAE,gBAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,yBAAAC,WAAA,WAAAA,WAAA,GAAAG,gBAAA,GAAAD,iBAAA,KAAAF,WAAA;AAAA,SAAAL,wBAAAS,GAAA,EAAAJ,WAAA,SAAAA,WAAA,IAAAI,GAAA,IAAAA,GAAA,CAAAC,UAAA,WAAAD,GAAA,QAAAA,GAAA,aAAAE,OAAA,CAAAF,GAAA,yBAAAA,GAAA,uCAAAA,GAAA,UAAAG,KAAA,GAAAR,wBAAA,CAAAC,WAAA,OAAAO,KAAA,IAAAA,KAAA,CAAAC,GAAA,CAA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AY,KAAK8B,SAAS,CAAC9B,YAAY,EACjD;IACA,OAAO,IAAI;EACb;EACA,OAAO,KAAK;AACd,CACF,CAAC;AAAC+B,OAAA,CAAAzC,oBAAA,GAAAA,oBAAA;AAEFA,oBAAoB,CAAC0C,WAAW,GAAG,sBAAsB"}
1
+ {"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_reactNativeReanimated","_interopRequireWildcard","_useViewport2","_jsxRuntime","_this","_jsxFileName","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","_typeof","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","oneEighth","AnimatedGalleryImage","React","memo","props","accessibilityLabel","index","offsetScale","photo","previous","scale","screenHeight","selected","shouldRender","style","translateX","translateY","_useViewport","useViewport","vw","screenWidth","halfScreenWidth","AnimatedGalleryImageStyle","useAnimatedStyle","xScaleOffset","yScaleOffset","transform","value","scaleX","jsx","View","Image","resizeMode","source","uri","prevProps","nextProps","exports","displayName"],"sourceRoot":"../../../../../src","sources":["components/ImageGallery/components/AnimatedGalleryImage.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAEA,IAAAE,sBAAA,GAAAC,uBAAA,CAAAH,OAAA;AAEA,IAAAI,aAAA,GAAAJ,OAAA;AAAyD,IAAAK,WAAA,GAAAL,OAAA;AAAA,IAAAM,KAAA;EAAAC,YAAA;AAAA,SAAAC,yBAAAC,CAAA,6BAAAC,OAAA,mBAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,yBAAAC,CAAA,WAAAA,CAAA,GAAAG,CAAA,GAAAD,CAAA,KAAAF,CAAA;AAAA,SAAAN,wBAAAM,CAAA,EAAAE,CAAA,SAAAA,CAAA,IAAAF,CAAA,IAAAA,CAAA,CAAAI,UAAA,SAAAJ,CAAA,eAAAA,CAAA,gBAA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F,CAAC;AAAC0B,OAAA,CAAApC,oBAAA,GAAAA,oBAAA;AAEFA,oBAAoB,CAACqC,WAAW,GAAG,sBAAsB","ignoreList":[]}
@@ -11,10 +11,11 @@ var _reactNativeReanimated = _interopRequireWildcard(require("react-native-reani
11
11
  var _useViewport2 = require("../../../hooks/useViewport");
12
12
  var _native = require("../../../native");
13
13
  var _Spinner = require("../../Spinner/Spinner");
14
+ var _jsxRuntime = require("react/jsx-runtime");
14
15
  var _this = this,
15
16
  _jsxFileName = "/home/runner/work/stream-chat-react-native/stream-chat-react-native/package/src/components/ImageGallery/components/AnimatedGalleryVideo.tsx";
16
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
17
- function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
17
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
18
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
18
19
  var oneEighth = 1 / 8;
19
20
  var styles = _reactNative.StyleSheet.create({
20
21
  activityIndicator: {
@@ -73,7 +74,7 @@ var AnimatedGalleryVideo = _react["default"].memo(function (props) {
73
74
  if (!playbackStatus.isLoaded) {
74
75
  setOpacity(1);
75
76
  if (playbackStatus.error) {
76
- console.error("Encountered a fatal error during playback: " + playbackStatus.error);
77
+ console.error("Encountered a fatal error during playback: ".concat(playbackStatus.error));
77
78
  }
78
79
  } else {
79
80
  setOpacity(0);
@@ -105,22 +106,16 @@ var AnimatedGalleryVideo = _react["default"].memo(function (props) {
105
106
  };
106
107
  }, [previous, selected]);
107
108
  if (!shouldRender) {
108
- return _react["default"].createElement(_reactNative.View, {
109
+ return (0, _jsxRuntime.jsx)(_reactNative.View, {
109
110
  accessibilityLabel: "Empty View Image Gallery",
110
111
  style: [style, {
111
112
  transform: [{
112
113
  scale: oneEighth
113
114
  }]
114
- }],
115
- __self: _this,
116
- __source: {
117
- fileName: _jsxFileName,
118
- lineNumber: 165,
119
- columnNumber: 9
120
- }
115
+ }]
121
116
  });
122
117
  }
123
- return _react["default"].createElement(_reactNativeReanimated["default"].View, {
118
+ return (0, _jsxRuntime.jsxs)(_reactNativeReanimated["default"].View, {
124
119
  accessibilityLabel: "Image Gallery Video",
125
120
  style: [style, animatedViewStyles, {
126
121
  transform: [{
@@ -133,60 +128,38 @@ var AnimatedGalleryVideo = _react["default"].memo(function (props) {
133
128
  scale: oneEighth
134
129
  }]
135
130
  }],
136
- __self: _this,
137
- __source: {
138
- fileName: _jsxFileName,
139
- lineNumber: 173,
140
- columnNumber: 7
141
- }
142
- }, (0, _native.isVideoPackageAvailable)() && _react["default"].createElement(_native.Video, {
143
- onBuffer: onBuffer,
144
- onEnd: onEnd,
145
- onLoad: onLoad,
146
- onLoadStart: onLoadStart,
147
- onPlaybackStatusUpdate: onPlayBackStatusUpdate,
148
- onProgress: onProgress,
149
- paused: paused,
150
- repeat: repeat,
151
- resizeMode: "contain",
152
- style: style,
153
- testID: "video-player",
154
- uri: source.uri,
155
- videoRef: videoRef,
156
- __self: _this,
157
- __source: {
158
- fileName: _jsxFileName,
159
- lineNumber: 191,
160
- columnNumber: 11
161
- }
162
- }), _react["default"].createElement(_reactNativeReanimated["default"].View, {
163
- accessibilityLabel: "Spinner",
164
- style: [styles.activityIndicator, {
165
- opacity: opacity,
166
- transform: [{
167
- scaleX: -1
168
- }, {
169
- translateY: -screenHeight * 4
170
- }, {
171
- scale: 1 / oneEighth
172
- }]
173
- }],
174
- __self: _this,
175
- __source: {
176
- fileName: _jsxFileName,
177
- lineNumber: 207,
178
- columnNumber: 9
179
- }
180
- }, _react["default"].createElement(_Spinner.Spinner, {
181
- height: 40,
182
- width: 40,
183
- __self: _this,
184
- __source: {
185
- fileName: _jsxFileName,
186
- lineNumber: 221,
187
- columnNumber: 11
188
- }
189
- })));
131
+ children: [(0, _native.isVideoPackageAvailable)() && (0, _jsxRuntime.jsx)(_native.Video, {
132
+ onBuffer: onBuffer,
133
+ onEnd: onEnd,
134
+ onLoad: onLoad,
135
+ onLoadStart: onLoadStart,
136
+ onPlaybackStatusUpdate: onPlayBackStatusUpdate,
137
+ onProgress: onProgress,
138
+ paused: paused,
139
+ repeat: repeat,
140
+ resizeMode: "contain",
141
+ style: style,
142
+ testID: "video-player",
143
+ uri: source.uri,
144
+ videoRef: videoRef
145
+ }), (0, _jsxRuntime.jsx)(_reactNativeReanimated["default"].View, {
146
+ accessibilityLabel: "Spinner",
147
+ style: [styles.activityIndicator, {
148
+ opacity: opacity,
149
+ transform: [{
150
+ scaleX: -1
151
+ }, {
152
+ translateY: -screenHeight * 4
153
+ }, {
154
+ scale: 1 / oneEighth
155
+ }]
156
+ }],
157
+ children: (0, _jsxRuntime.jsx)(_Spinner.Spinner, {
158
+ height: 40,
159
+ width: 40
160
+ })
161
+ })]
162
+ });
190
163
  }, function (prevProps, nextProps) {
191
164
  if (prevProps.paused === nextProps.paused && prevProps.repeat === nextProps.repeat && prevProps.shouldRender === nextProps.shouldRender && prevProps.source.uri === nextProps.source.uri && prevProps.screenHeight === nextProps.screenHeight && prevProps.selected === nextProps.selected && prevProps.previous === nextProps.previous && prevProps.index === nextProps.index) {
192
165
  return true;
@@ -1 +1 @@
1
- {"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_reactNativeReanimated","_useViewport2","_native","_Spinner","_this","_jsxFileName","_getRequireWildcardCache","nodeInterop","WeakMap","cacheBabelInterop","cacheNodeInterop","obj","__esModule","_typeof","cache","has","get","newObj","hasPropertyDescriptor","Object","defineProperty","getOwnPropertyDescriptor","key","prototype","hasOwnProperty","call","desc","set","oneEighth","styles","StyleSheet","create","activityIndicator","alignSelf","videoPlayer","height","width","AnimatedGalleryVideo","React","memo","props","_useState","useState","_useState2","_slicedToArray2","opacity","setOpacity","attachmentId","handleEnd","handleLoad","handleProgress","index","offsetScale","paused","previous","repeat","scale","screenHeight","selected","shouldRender","source","style","translateX","translateY","videoRef","_useViewport","useViewport","vw","screenWidth","halfScreenWidth","onLoadStart","onLoad","payload","duration","onEnd","onProgress","data","currentTime","seekableDuration","onBuffer","_ref","isBuffering","onPlayBackStatusUpdate","playbackStatus","isLoaded","error","console","durationMillis","isPlaying","positionMillis","didJustFinish","isLooping","animatedViewStyles","useAnimatedStyle","xScaleOffset","yScaleOffset","transform","value","scaleX","createElement","View","accessibilityLabel","__self","__source","fileName","lineNumber","columnNumber","isVideoPackageAvailable","Video","onPlaybackStatusUpdate","resizeMode","testID","uri","Spinner","prevProps","nextProps","exports","displayName"],"sources":["AnimatedGalleryVideo.tsx"],"sourcesContent":["import React, { useState } from 'react';\nimport { StyleSheet, View, ViewStyle } from 'react-native';\nimport type { StyleProp } from 'react-native';\nimport Animated, { useAnimatedStyle } from 'react-native-reanimated';\n\nimport { useViewport } from '../../../hooks/useViewport';\nimport {\n isVideoPackageAvailable,\n PlaybackStatus,\n Video,\n VideoPayloadData,\n VideoProgressData,\n VideoType,\n} from '../../../native';\n\nimport { Spinner } from '../../Spinner/Spinner';\n\nconst oneEighth = 1 / 8;\n\nexport type AnimatedGalleryVideoType = {\n attachmentId: string;\n handleEnd: () => void;\n handleLoad: (index: string, duration: number) => void;\n handleProgress: (index: string, progress: number, hasEnd?: boolean) => void;\n index: number;\n offsetScale: Animated.SharedValue<number>;\n paused: boolean;\n previous: boolean;\n scale: Animated.SharedValue<number>;\n screenHeight: number;\n selected: boolean;\n shouldRender: boolean;\n source: { uri: string };\n translateX: Animated.SharedValue<number>;\n translateY: Animated.SharedValue<number>;\n videoRef: React.RefObject<VideoType>;\n repeat?: boolean;\n style?: StyleProp<ViewStyle>;\n};\n\nconst styles = StyleSheet.create({\n activityIndicator: {\n alignSelf: 'center',\n },\n videoPlayer: {\n height: '100%',\n width: '100%',\n },\n});\n\nexport const AnimatedGalleryVideo: React.FC<AnimatedGalleryVideoType> = React.memo(\n (props) => {\n const [opacity, setOpacity] = useState<number>(1);\n\n const {\n attachmentId,\n handleEnd,\n handleLoad,\n handleProgress,\n index,\n offsetScale,\n paused,\n previous,\n repeat,\n scale,\n screenHeight,\n selected,\n shouldRender,\n source,\n style,\n translateX,\n translateY,\n videoRef,\n } = props;\n const { vw } = useViewport();\n\n const screenWidth = vw(100);\n const halfScreenWidth = vw(50);\n\n const onLoadStart = () => {\n setOpacity(1);\n };\n\n const onLoad = (payload: VideoPayloadData) => {\n setOpacity(0);\n handleLoad(attachmentId, payload.duration);\n };\n\n const onEnd = () => {\n handleEnd();\n };\n\n const onProgress = (data: VideoProgressData) => {\n handleProgress(attachmentId, data.currentTime / data.seekableDuration);\n };\n\n const onBuffer = ({ isBuffering }: { isBuffering: boolean }) => {\n if (isBuffering) setOpacity(1);\n else setOpacity(0);\n };\n\n const onPlayBackStatusUpdate = (playbackStatus: PlaybackStatus) => {\n if (!playbackStatus.isLoaded) {\n // Update your UI for the unloaded state\n setOpacity(1);\n if (playbackStatus.error) {\n console.error(`Encountered a fatal error during playback: ${playbackStatus.error}`);\n }\n } else {\n // Update your UI for the loaded state\n setOpacity(0);\n handleLoad(attachmentId, playbackStatus.durationMillis / 1000);\n if (playbackStatus.isPlaying) {\n // Update your UI for the playing state\n handleProgress(\n attachmentId,\n playbackStatus.positionMillis / 1000 / (playbackStatus.durationMillis / 1000),\n );\n }\n\n if (playbackStatus.isBuffering) {\n // Update your UI for the buffering state\n setOpacity(1);\n }\n\n if (playbackStatus.didJustFinish && !playbackStatus.isLooping) {\n // The player has just finished playing and will stop. Maybe you want to play something else?\n handleEnd();\n }\n }\n };\n\n const animatedViewStyles = useAnimatedStyle<ViewStyle>(() => {\n const xScaleOffset = -7 * screenWidth * (0.5 + index);\n const yScaleOffset = -screenHeight * 3.5;\n return {\n transform: [\n {\n translateX: selected\n ? translateX.value + xScaleOffset\n : scale.value < 1 || scale.value !== offsetScale.value\n ? xScaleOffset\n : previous\n ? translateX.value - halfScreenWidth * (scale.value - 1) + xScaleOffset\n : translateX.value + halfScreenWidth * (scale.value - 1) + xScaleOffset,\n },\n {\n translateY: selected ? translateY.value + yScaleOffset : yScaleOffset,\n },\n {\n scale: selected ? scale.value / 8 : oneEighth,\n },\n { scaleX: -1 },\n ],\n };\n }, [previous, selected]);\n\n /**\n * An empty view is rendered for images not close to the currently\n * selected in order to maintain spacing while reducing the image\n * load on memory.\n */\n if (!shouldRender) {\n return (\n <View\n accessibilityLabel='Empty View Image Gallery'\n style={[style, { transform: [{ scale: oneEighth }] }]}\n />\n );\n }\n\n return (\n <Animated.View\n accessibilityLabel='Image Gallery Video'\n style={[\n style,\n animatedViewStyles,\n {\n transform: [\n { scaleX: -1 },\n { translateY: -screenHeight * 3.5 },\n {\n translateX: -translateX.value + 7 * screenWidth * (0.5 + index),\n },\n { scale: oneEighth },\n ],\n },\n ]}\n >\n {isVideoPackageAvailable() && (\n <Video\n onBuffer={onBuffer}\n onEnd={onEnd}\n onLoad={onLoad}\n onLoadStart={onLoadStart}\n onPlaybackStatusUpdate={onPlayBackStatusUpdate}\n onProgress={onProgress}\n paused={paused}\n repeat={repeat}\n resizeMode='contain'\n style={style}\n testID='video-player'\n uri={source.uri}\n videoRef={videoRef}\n />\n )}\n <Animated.View\n accessibilityLabel='Spinner'\n style={[\n styles.activityIndicator,\n {\n opacity,\n transform: [\n { scaleX: -1 },\n { translateY: -screenHeight * 4 },\n { scale: 1 / oneEighth },\n ],\n },\n ]}\n >\n <Spinner height={40} width={40} />\n </Animated.View>\n </Animated.View>\n );\n },\n\n (prevProps, nextProps) => {\n if (\n prevProps.paused === nextProps.paused &&\n prevProps.repeat === nextProps.repeat &&\n prevProps.shouldRender === nextProps.shouldRender &&\n prevProps.source.uri === nextProps.source.uri &&\n prevProps.screenHeight === nextProps.screenHeight &&\n prevProps.selected === nextProps.selected &&\n prevProps.previous === nextProps.previous &&\n prevProps.index === nextProps.index\n ) {\n return true;\n }\n return false;\n },\n);\n\nAnimatedGalleryVideo.displayName = 'AnimatedGalleryVideo';\n"],"mappings":";;;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAEA,IAAAE,sBAAA,GAAAH,uBAAA,CAAAC,OAAA;AAEA,IAAAG,aAAA,GAAAH,OAAA;AACA,IAAAI,OAAA,GAAAJ,OAAA;AASA,IAAAK,QAAA,GAAAL,OAAA;AAAgD,IAAAM,KAAA;EAAAC,YAAA;AAAA,SAAAC,yBAAAC,WAAA,eAAAC,OAAA,kCAAAC,iBAAA,OAAAD,OAAA,QAAAE,gBAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,yBAAAC,WAAA,WAAAA,WAAA,GAAAG,gBAA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ACnC;IACA,OAAO,IAAI;EACb;EACA,OAAO,KAAK;AACd,CACF,CAAC;AAACiE,OAAA,CAAA/E,oBAAA,GAAAA,oBAAA;AAEFA,oBAAoB,CAACgF,WAAW,GAAG,sBAAsB"}
1
+ {"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_reactNativeReanimated","_useViewport2","_native","_Spinner","_jsxRuntime","_this","_jsxFileName","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","_typeof","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","oneEighth","styles","StyleSheet","create","activityIndicator","alignSelf","videoPlayer","height","width","AnimatedGalleryVideo","React","memo","props","_useState","useState","_useState2","_slicedToArray2","opacity","setOpacity","attachmentId","handleEnd","handleLoad","handleProgress","index","offsetScale","paused","previous","repeat","scale","screenHeight","selected","shouldRender","source","style","translateX","translateY","videoRef","_useViewport","useViewport","vw","screenWidth","halfScreenWidth","onLoadStart","onLoad","payload","duration","onEnd","onProgress","data","currentTime","seekableDuration","onBuffer","_ref","isBuffering","onPlayBackStatusUpdate","playbackStatus","isLoaded","error","console","concat","durationMillis","isPlaying","positionMillis","didJustFinish","isLooping","animatedViewStyles","useAnimatedStyle","xScaleOffset","yScaleOffset","transform","value","scaleX","jsx","View","accessibilityLabel","jsxs","children","isVideoPackageAvailable","Video","onPlaybackStatusUpdate","resizeMode","testID","uri","Spinner","prevProps","nextProps","exports","displayName"],"sourceRoot":"../../../../../src","sources":["components/ImageGallery/components/AnimatedGalleryVideo.tsx"],"mappings":";;;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAEA,IAAAE,sBAAA,GAAAH,uBAAA,CAAAC,OAAA;AAEA,IAAAG,aAAA,GAAAH,OAAA;AACA,IAAAI,OAAA,GAAAJ,OAAA;AASA,IAAAK,QAAA,GAAAL,OAAA;AAAgD,IAAAM,WAAA,GAAAN,OAAA;AAAA,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