stream-chat-react-native-core 5.0.0 → 5.1.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 (490) hide show
  1. package/lib/commonjs/components/Attachment/Attachment.js +1 -1
  2. package/lib/commonjs/components/Attachment/AttachmentActions.js +1 -1
  3. package/lib/commonjs/components/Attachment/AudioAttachment.js +1 -1
  4. package/lib/commonjs/components/Attachment/Card.js +1 -1
  5. package/lib/commonjs/components/Attachment/FileAttachment.js +1 -1
  6. package/lib/commonjs/components/Attachment/FileAttachmentGroup.js +1 -1
  7. package/lib/commonjs/components/Attachment/FileIcon.js +1 -1
  8. package/lib/commonjs/components/Attachment/Gallery.js +1 -1
  9. package/lib/commonjs/components/Attachment/GalleryImage.js +1 -1
  10. package/lib/commonjs/components/Attachment/Giphy.js +1 -1
  11. package/lib/commonjs/components/Attachment/ImageLoadingFailedIndicator.js +1 -1
  12. package/lib/commonjs/components/Attachment/ImageLoadingIndicator.js +1 -1
  13. package/lib/commonjs/components/Attachment/VideoThumbnail.js +1 -1
  14. package/lib/commonjs/components/AttachmentPicker/AttachmentPicker.js +1 -1
  15. package/lib/commonjs/components/AttachmentPicker/components/AttachmentPickerBottomSheetHandle.js +1 -1
  16. package/lib/commonjs/components/AttachmentPicker/components/AttachmentPickerError.js +1 -1
  17. package/lib/commonjs/components/AttachmentPicker/components/AttachmentPickerErrorImage.js +1 -1
  18. package/lib/commonjs/components/AttachmentPicker/components/AttachmentSelectionBar.js +1 -1
  19. package/lib/commonjs/components/AttachmentPicker/components/CameraSelectorIcon.js +1 -1
  20. package/lib/commonjs/components/AttachmentPicker/components/FileSelectorIcon.js +1 -1
  21. package/lib/commonjs/components/AttachmentPicker/components/ImageOverlaySelectedComponent.js +1 -1
  22. package/lib/commonjs/components/AttachmentPicker/components/ImageSelectorIcon.js +1 -1
  23. package/lib/commonjs/components/AutoCompleteInput/AutoCompleteInput.js +1 -1
  24. package/lib/commonjs/components/AutoCompleteInput/AutoCompleteSuggestionCommandIcon.js +1 -1
  25. package/lib/commonjs/components/AutoCompleteInput/AutoCompleteSuggestionHeader.js +1 -1
  26. package/lib/commonjs/components/AutoCompleteInput/AutoCompleteSuggestionItem.js +1 -1
  27. package/lib/commonjs/components/AutoCompleteInput/AutoCompleteSuggestionList.js +1 -1
  28. package/lib/commonjs/components/Avatar/Avatar.js +1 -1
  29. package/lib/commonjs/components/Avatar/GroupAvatar.js +1 -1
  30. package/lib/commonjs/components/Channel/Channel.js +1 -1
  31. package/lib/commonjs/components/ChannelList/ChannelList.js +1 -1
  32. package/lib/commonjs/components/ChannelList/ChannelListFooterLoadingIndicator.js +1 -1
  33. package/lib/commonjs/components/ChannelList/ChannelListHeaderErrorIndicator.js +1 -1
  34. package/lib/commonjs/components/ChannelList/ChannelListHeaderNetworkDownIndicator.js +1 -1
  35. package/lib/commonjs/components/ChannelList/ChannelListLoadingIndicator.js +1 -1
  36. package/lib/commonjs/components/ChannelList/ChannelListMessenger.js +1 -1
  37. package/lib/commonjs/components/ChannelList/Skeleton.js +1 -1
  38. package/lib/commonjs/components/ChannelPreview/ChannelAvatar.js +1 -1
  39. package/lib/commonjs/components/ChannelPreview/ChannelPreview.js +1 -1
  40. package/lib/commonjs/components/ChannelPreview/ChannelPreviewMessage.js +1 -1
  41. package/lib/commonjs/components/ChannelPreview/ChannelPreviewMessenger.js +1 -1
  42. package/lib/commonjs/components/ChannelPreview/ChannelPreviewMutedStatus.js +1 -1
  43. package/lib/commonjs/components/ChannelPreview/ChannelPreviewStatus.js +1 -1
  44. package/lib/commonjs/components/ChannelPreview/ChannelPreviewTitle.js +1 -1
  45. package/lib/commonjs/components/ChannelPreview/ChannelPreviewUnreadCount.js +1 -1
  46. package/lib/commonjs/components/Chat/Chat.js +1 -1
  47. package/lib/commonjs/components/ImageGallery/ImageGallery.js +107 -101
  48. package/lib/commonjs/components/ImageGallery/ImageGallery.js.map +1 -1
  49. package/lib/commonjs/components/ImageGallery/components/AnimatedGalleryImage.js +1 -1
  50. package/lib/commonjs/components/ImageGallery/components/AnimatedGalleryVideo.js +15 -17
  51. package/lib/commonjs/components/ImageGallery/components/AnimatedGalleryVideo.js.map +1 -1
  52. package/lib/commonjs/components/ImageGallery/components/ImageGalleryFooter.js +14 -17
  53. package/lib/commonjs/components/ImageGallery/components/ImageGalleryFooter.js.map +1 -1
  54. package/lib/commonjs/components/ImageGallery/components/ImageGalleryHeader.js +1 -1
  55. package/lib/commonjs/components/ImageGallery/components/ImageGalleryOverlay.js +1 -1
  56. package/lib/commonjs/components/ImageGallery/components/ImageGalleryVideoControl.js +7 -7
  57. package/lib/commonjs/components/ImageGallery/components/ImageGalleryVideoControl.js.map +1 -1
  58. package/lib/commonjs/components/ImageGallery/components/ImageGrid.js +1 -1
  59. package/lib/commonjs/components/ImageGallery/components/ImageGridHandle.js +1 -1
  60. package/lib/commonjs/components/Indicators/EmptyStateIndicator.js +1 -1
  61. package/lib/commonjs/components/Indicators/LoadingDot.js +1 -1
  62. package/lib/commonjs/components/Indicators/LoadingDots.js +1 -1
  63. package/lib/commonjs/components/Indicators/LoadingErrorIndicator.js +1 -1
  64. package/lib/commonjs/components/Indicators/LoadingIndicator.js +1 -1
  65. package/lib/commonjs/components/KeyboardCompatibleView/KeyboardCompatibleView.js +1 -1
  66. package/lib/commonjs/components/KeyboardCompatibleView/KeyboardCompatibleViewFC.js +1 -1
  67. package/lib/commonjs/components/Message/Message.js +1 -1
  68. package/lib/commonjs/components/Message/MessageSimple/MessageAvatar.js +1 -1
  69. package/lib/commonjs/components/Message/MessageSimple/MessageContent.js +1 -1
  70. package/lib/commonjs/components/Message/MessageSimple/MessageDeleted.js +1 -1
  71. package/lib/commonjs/components/Message/MessageSimple/MessageFooter.js +1 -1
  72. package/lib/commonjs/components/Message/MessageSimple/MessagePinnedHeader.js +1 -1
  73. package/lib/commonjs/components/Message/MessageSimple/MessageReplies.js +1 -1
  74. package/lib/commonjs/components/Message/MessageSimple/MessageRepliesAvatars.js +1 -1
  75. package/lib/commonjs/components/Message/MessageSimple/MessageSimple.js +1 -1
  76. package/lib/commonjs/components/Message/MessageSimple/MessageStatus.js +1 -1
  77. package/lib/commonjs/components/Message/MessageSimple/MessageTextContainer.js +1 -1
  78. package/lib/commonjs/components/Message/MessageSimple/ReactionList.js +1 -1
  79. package/lib/commonjs/components/Message/MessageSimple/utils/renderText.js +1 -1
  80. package/lib/commonjs/components/Message/MessageSimple/utils/renderText.test.js +1 -1
  81. package/lib/commonjs/components/Message/hooks/useMessageActions.js +1 -1
  82. package/lib/commonjs/components/MessageInput/AttachButton.js +1 -1
  83. package/lib/commonjs/components/MessageInput/CommandsButton.js +1 -1
  84. package/lib/commonjs/components/MessageInput/CooldownTimer.js +1 -1
  85. package/lib/commonjs/components/MessageInput/FileUploadPreview.js +1 -1
  86. package/lib/commonjs/components/MessageInput/ImageUploadPreview.js +50 -32
  87. package/lib/commonjs/components/MessageInput/ImageUploadPreview.js.map +1 -1
  88. package/lib/commonjs/components/MessageInput/InputButtons.js +1 -1
  89. package/lib/commonjs/components/MessageInput/MessageInput.js +1 -1
  90. package/lib/commonjs/components/MessageInput/MoreOptionsButton.js +1 -1
  91. package/lib/commonjs/components/MessageInput/SendButton.js +1 -1
  92. package/lib/commonjs/components/MessageInput/SendMessageDisallowedIndicator.js +1 -1
  93. package/lib/commonjs/components/MessageInput/ShowThreadMessageInChannelButton.js +1 -1
  94. package/lib/commonjs/components/MessageInput/UploadProgressIndicator.js +1 -1
  95. package/lib/commonjs/components/MessageInput/components/InputEditingStateHeader.js +1 -1
  96. package/lib/commonjs/components/MessageInput/components/InputGiphySearch.js +1 -1
  97. package/lib/commonjs/components/MessageInput/components/InputReplyStateHeader.js +1 -1
  98. package/lib/commonjs/components/MessageList/DateHeader.js +1 -1
  99. package/lib/commonjs/components/MessageList/InlineDateSeparator.js +1 -1
  100. package/lib/commonjs/components/MessageList/InlineLoadingMoreIndicator.js +1 -1
  101. package/lib/commonjs/components/MessageList/InlineLoadingMoreRecentIndicator.js +1 -1
  102. package/lib/commonjs/components/MessageList/InlineLoadingMoreThreadIndicator.js +1 -1
  103. package/lib/commonjs/components/MessageList/InlineUnreadIndicator.js +1 -1
  104. package/lib/commonjs/components/MessageList/MessageList.js +1 -1
  105. package/lib/commonjs/components/MessageList/MessageSystem.js +1 -1
  106. package/lib/commonjs/components/MessageList/NetworkDownIndicator.js +1 -1
  107. package/lib/commonjs/components/MessageList/ScrollToBottomButton.js +1 -1
  108. package/lib/commonjs/components/MessageList/TypingIndicator.js +1 -1
  109. package/lib/commonjs/components/MessageList/TypingIndicatorContainer.js +1 -1
  110. package/lib/commonjs/components/MessageOverlay/MessageActionList.js +1 -1
  111. package/lib/commonjs/components/MessageOverlay/MessageActionListItem.js +1 -1
  112. package/lib/commonjs/components/MessageOverlay/MessageOverlay.js +1 -1
  113. package/lib/commonjs/components/MessageOverlay/OverlayBackdrop.js +1 -1
  114. package/lib/commonjs/components/MessageOverlay/OverlayReactionList.js +1 -1
  115. package/lib/commonjs/components/MessageOverlay/OverlayReactions.js +1 -1
  116. package/lib/commonjs/components/MessageOverlay/OverlayReactionsAvatar.js +1 -1
  117. package/lib/commonjs/components/ProgressControl/ProgressControl.js +7 -7
  118. package/lib/commonjs/components/ProgressControl/ProgressControl.js.map +1 -1
  119. package/lib/commonjs/components/RTLComponents/WritingDirectionAwareText.js +1 -1
  120. package/lib/commonjs/components/Reply/Reply.js +1 -1
  121. package/lib/commonjs/components/Spinner/Spinner.js +1 -1
  122. package/lib/commonjs/components/Thread/Thread.js +1 -1
  123. package/lib/commonjs/components/Thread/components/ThreadFooterComponent.js +1 -1
  124. package/lib/commonjs/contexts/activeChannelsRefContext/ActiveChannelsRefContext.js +1 -1
  125. package/lib/commonjs/contexts/attachmentPickerContext/AttachmentPickerContext.js +1 -1
  126. package/lib/commonjs/contexts/channelContext/ChannelContext.js +1 -1
  127. package/lib/commonjs/contexts/channelsContext/ChannelsContext.js +1 -1
  128. package/lib/commonjs/contexts/channelsStateContext/ChannelsStateContext.js +1 -1
  129. package/lib/commonjs/contexts/chatContext/ChatContext.js +1 -1
  130. package/lib/commonjs/contexts/imageGalleryContext/ImageGalleryContext.js +1 -1
  131. package/lib/commonjs/contexts/keyboardContext/KeyboardContext.js +1 -1
  132. package/lib/commonjs/contexts/messageContext/MessageContext.js +1 -1
  133. package/lib/commonjs/contexts/messageInputContext/MessageInputContext.js +1 -1
  134. package/lib/commonjs/contexts/messageOverlayContext/MessageOverlayContext.js +1 -1
  135. package/lib/commonjs/contexts/messageOverlayContext/hooks/useResettableState.test.js +1 -1
  136. package/lib/commonjs/contexts/messagesContext/MessagesContext.js +1 -1
  137. package/lib/commonjs/contexts/overlayContext/OverlayContext.js +1 -1
  138. package/lib/commonjs/contexts/overlayContext/OverlayProvider.js +1 -1
  139. package/lib/commonjs/contexts/ownCapabilitiesContext/OwnCapabilitiesContext.js +1 -1
  140. package/lib/commonjs/contexts/paginatedMessageListContext/PaginatedMessageListContext.js +1 -1
  141. package/lib/commonjs/contexts/suggestionsContext/SuggestionsContext.js +1 -1
  142. package/lib/commonjs/contexts/themeContext/ThemeContext.js +1 -1
  143. package/lib/commonjs/contexts/themeContext/utils/theme.js +1 -0
  144. package/lib/commonjs/contexts/themeContext/utils/theme.js.map +1 -1
  145. package/lib/commonjs/contexts/threadContext/ThreadContext.js +1 -1
  146. package/lib/commonjs/contexts/translationContext/TranslationContext.js +1 -1
  147. package/lib/commonjs/contexts/typingContext/TypingContext.js +1 -1
  148. package/lib/commonjs/icons/ArrowRight.js +1 -1
  149. package/lib/commonjs/icons/AtMentions.js +1 -1
  150. package/lib/commonjs/icons/Attach.js +1 -1
  151. package/lib/commonjs/icons/Audio.js +1 -1
  152. package/lib/commonjs/icons/CSV.js +1 -1
  153. package/lib/commonjs/icons/Camera.js +1 -1
  154. package/lib/commonjs/icons/Check.js +1 -1
  155. package/lib/commonjs/icons/CheckAll.js +1 -1
  156. package/lib/commonjs/icons/CheckSend.js +1 -1
  157. package/lib/commonjs/icons/CircleClose.js +1 -1
  158. package/lib/commonjs/icons/CirclePlus.js +1 -1
  159. package/lib/commonjs/icons/CircleRight.js +1 -1
  160. package/lib/commonjs/icons/Close.js +1 -1
  161. package/lib/commonjs/icons/Copy.js +1 -1
  162. package/lib/commonjs/icons/CurveLineLeftUp.js +1 -1
  163. package/lib/commonjs/icons/DOC.js +1 -1
  164. package/lib/commonjs/icons/DOCX.js +1 -1
  165. package/lib/commonjs/icons/Delete.js +1 -1
  166. package/lib/commonjs/icons/Down.js +1 -1
  167. package/lib/commonjs/icons/DownloadArrow.js +1 -1
  168. package/lib/commonjs/icons/DownloadCloud.js +1 -1
  169. package/lib/commonjs/icons/Edit.js +1 -1
  170. package/lib/commonjs/icons/Error.js +1 -1
  171. package/lib/commonjs/icons/Eye.js +1 -1
  172. package/lib/commonjs/icons/Flag.js +1 -1
  173. package/lib/commonjs/icons/Folder.js +1 -1
  174. package/lib/commonjs/icons/GenericFile.js +1 -1
  175. package/lib/commonjs/icons/GiphyIcon.js +1 -1
  176. package/lib/commonjs/icons/Grid.js +1 -1
  177. package/lib/commonjs/icons/Group.js +1 -1
  178. package/lib/commonjs/icons/HTML.js +1 -1
  179. package/lib/commonjs/icons/Imgur.js +1 -1
  180. package/lib/commonjs/icons/LOLReaction.js +1 -1
  181. package/lib/commonjs/icons/Lightning.js +1 -1
  182. package/lib/commonjs/icons/Link.js +1 -1
  183. package/lib/commonjs/icons/Loading.js +1 -1
  184. package/lib/commonjs/icons/Logo.js +1 -1
  185. package/lib/commonjs/icons/LoveReaction.js +1 -1
  186. package/lib/commonjs/icons/MD.js +1 -1
  187. package/lib/commonjs/icons/MailOpen.js +1 -1
  188. package/lib/commonjs/icons/MenuPointHorizontal.js +1 -1
  189. package/lib/commonjs/icons/MenuPointVertical.js +1 -1
  190. package/lib/commonjs/icons/MessageFlag.js +1 -1
  191. package/lib/commonjs/icons/MessageIcon.js +1 -1
  192. package/lib/commonjs/icons/Mute.js +1 -1
  193. package/lib/commonjs/icons/Notification.js +1 -1
  194. package/lib/commonjs/icons/ODT.js +1 -1
  195. package/lib/commonjs/icons/PDF.js +1 -1
  196. package/lib/commonjs/icons/PPT.js +1 -1
  197. package/lib/commonjs/icons/PPTX.js +1 -1
  198. package/lib/commonjs/icons/Pause.js +1 -1
  199. package/lib/commonjs/icons/Picture.js +1 -1
  200. package/lib/commonjs/icons/Pin.js +1 -1
  201. package/lib/commonjs/icons/PinHeader.js +1 -1
  202. package/lib/commonjs/icons/Play.js +1 -1
  203. package/lib/commonjs/icons/RAR.js +1 -1
  204. package/lib/commonjs/icons/RTF.js +1 -1
  205. package/lib/commonjs/icons/Recorder.js +1 -1
  206. package/lib/commonjs/icons/Refresh.js +1 -1
  207. package/lib/commonjs/icons/SEVEN_Z.js +1 -1
  208. package/lib/commonjs/icons/Search.js +1 -1
  209. package/lib/commonjs/icons/SendRight.js +1 -1
  210. package/lib/commonjs/icons/SendUp.js +1 -1
  211. package/lib/commonjs/icons/Share.js +1 -1
  212. package/lib/commonjs/icons/ShareRightArrow.js +1 -1
  213. package/lib/commonjs/icons/Smile.js +1 -1
  214. package/lib/commonjs/icons/Sound.js +1 -1
  215. package/lib/commonjs/icons/TAR.js +1 -1
  216. package/lib/commonjs/icons/TXT.js +1 -1
  217. package/lib/commonjs/icons/ThreadReply.js +1 -1
  218. package/lib/commonjs/icons/ThumbsDownReaction.js +1 -1
  219. package/lib/commonjs/icons/ThumbsUpReaction.js +1 -1
  220. package/lib/commonjs/icons/Time.js +1 -1
  221. package/lib/commonjs/icons/Unknown.js +1 -1
  222. package/lib/commonjs/icons/Unpin.js +1 -1
  223. package/lib/commonjs/icons/User.js +1 -1
  224. package/lib/commonjs/icons/UserAdd.js +1 -1
  225. package/lib/commonjs/icons/UserAdmin.js +1 -1
  226. package/lib/commonjs/icons/UserDelete.js +1 -1
  227. package/lib/commonjs/icons/UserMinus.js +1 -1
  228. package/lib/commonjs/icons/Video.js +1 -1
  229. package/lib/commonjs/icons/Warning.js +1 -1
  230. package/lib/commonjs/icons/WutReaction.js +1 -1
  231. package/lib/commonjs/icons/XLS.js +1 -1
  232. package/lib/commonjs/icons/XLSX.js +1 -1
  233. package/lib/commonjs/icons/ZIP.js +1 -1
  234. package/lib/commonjs/icons/utils/base.js +1 -1
  235. package/lib/commonjs/native.js.map +1 -1
  236. package/lib/commonjs/version.json +1 -1
  237. package/lib/module/components/Attachment/Attachment.js +1 -1
  238. package/lib/module/components/Attachment/AttachmentActions.js +1 -1
  239. package/lib/module/components/Attachment/AudioAttachment.js +1 -1
  240. package/lib/module/components/Attachment/Card.js +1 -1
  241. package/lib/module/components/Attachment/FileAttachment.js +1 -1
  242. package/lib/module/components/Attachment/FileAttachmentGroup.js +1 -1
  243. package/lib/module/components/Attachment/FileIcon.js +1 -1
  244. package/lib/module/components/Attachment/Gallery.js +1 -1
  245. package/lib/module/components/Attachment/GalleryImage.js +1 -1
  246. package/lib/module/components/Attachment/Giphy.js +1 -1
  247. package/lib/module/components/Attachment/ImageLoadingFailedIndicator.js +1 -1
  248. package/lib/module/components/Attachment/ImageLoadingIndicator.js +1 -1
  249. package/lib/module/components/Attachment/VideoThumbnail.js +1 -1
  250. package/lib/module/components/AttachmentPicker/AttachmentPicker.js +1 -1
  251. package/lib/module/components/AttachmentPicker/components/AttachmentPickerBottomSheetHandle.js +1 -1
  252. package/lib/module/components/AttachmentPicker/components/AttachmentPickerError.js +1 -1
  253. package/lib/module/components/AttachmentPicker/components/AttachmentPickerErrorImage.js +1 -1
  254. package/lib/module/components/AttachmentPicker/components/AttachmentSelectionBar.js +1 -1
  255. package/lib/module/components/AttachmentPicker/components/CameraSelectorIcon.js +1 -1
  256. package/lib/module/components/AttachmentPicker/components/FileSelectorIcon.js +1 -1
  257. package/lib/module/components/AttachmentPicker/components/ImageOverlaySelectedComponent.js +1 -1
  258. package/lib/module/components/AttachmentPicker/components/ImageSelectorIcon.js +1 -1
  259. package/lib/module/components/AutoCompleteInput/AutoCompleteInput.js +1 -1
  260. package/lib/module/components/AutoCompleteInput/AutoCompleteSuggestionCommandIcon.js +1 -1
  261. package/lib/module/components/AutoCompleteInput/AutoCompleteSuggestionHeader.js +1 -1
  262. package/lib/module/components/AutoCompleteInput/AutoCompleteSuggestionItem.js +1 -1
  263. package/lib/module/components/AutoCompleteInput/AutoCompleteSuggestionList.js +1 -1
  264. package/lib/module/components/Avatar/Avatar.js +1 -1
  265. package/lib/module/components/Avatar/GroupAvatar.js +1 -1
  266. package/lib/module/components/Channel/Channel.js +1 -1
  267. package/lib/module/components/ChannelList/ChannelList.js +1 -1
  268. package/lib/module/components/ChannelList/ChannelListFooterLoadingIndicator.js +1 -1
  269. package/lib/module/components/ChannelList/ChannelListHeaderErrorIndicator.js +1 -1
  270. package/lib/module/components/ChannelList/ChannelListHeaderNetworkDownIndicator.js +1 -1
  271. package/lib/module/components/ChannelList/ChannelListLoadingIndicator.js +1 -1
  272. package/lib/module/components/ChannelList/ChannelListMessenger.js +1 -1
  273. package/lib/module/components/ChannelList/Skeleton.js +1 -1
  274. package/lib/module/components/ChannelPreview/ChannelAvatar.js +1 -1
  275. package/lib/module/components/ChannelPreview/ChannelPreview.js +1 -1
  276. package/lib/module/components/ChannelPreview/ChannelPreviewMessage.js +1 -1
  277. package/lib/module/components/ChannelPreview/ChannelPreviewMessenger.js +1 -1
  278. package/lib/module/components/ChannelPreview/ChannelPreviewMutedStatus.js +1 -1
  279. package/lib/module/components/ChannelPreview/ChannelPreviewStatus.js +1 -1
  280. package/lib/module/components/ChannelPreview/ChannelPreviewTitle.js +1 -1
  281. package/lib/module/components/ChannelPreview/ChannelPreviewUnreadCount.js +1 -1
  282. package/lib/module/components/Chat/Chat.js +1 -1
  283. package/lib/module/components/ImageGallery/ImageGallery.js +107 -101
  284. package/lib/module/components/ImageGallery/ImageGallery.js.map +1 -1
  285. package/lib/module/components/ImageGallery/components/AnimatedGalleryImage.js +1 -1
  286. package/lib/module/components/ImageGallery/components/AnimatedGalleryVideo.js +15 -17
  287. package/lib/module/components/ImageGallery/components/AnimatedGalleryVideo.js.map +1 -1
  288. package/lib/module/components/ImageGallery/components/ImageGalleryFooter.js +14 -17
  289. package/lib/module/components/ImageGallery/components/ImageGalleryFooter.js.map +1 -1
  290. package/lib/module/components/ImageGallery/components/ImageGalleryHeader.js +1 -1
  291. package/lib/module/components/ImageGallery/components/ImageGalleryOverlay.js +1 -1
  292. package/lib/module/components/ImageGallery/components/ImageGalleryVideoControl.js +7 -7
  293. package/lib/module/components/ImageGallery/components/ImageGalleryVideoControl.js.map +1 -1
  294. package/lib/module/components/ImageGallery/components/ImageGrid.js +1 -1
  295. package/lib/module/components/ImageGallery/components/ImageGridHandle.js +1 -1
  296. package/lib/module/components/Indicators/EmptyStateIndicator.js +1 -1
  297. package/lib/module/components/Indicators/LoadingDot.js +1 -1
  298. package/lib/module/components/Indicators/LoadingDots.js +1 -1
  299. package/lib/module/components/Indicators/LoadingErrorIndicator.js +1 -1
  300. package/lib/module/components/Indicators/LoadingIndicator.js +1 -1
  301. package/lib/module/components/KeyboardCompatibleView/KeyboardCompatibleView.js +1 -1
  302. package/lib/module/components/KeyboardCompatibleView/KeyboardCompatibleViewFC.js +1 -1
  303. package/lib/module/components/Message/Message.js +1 -1
  304. package/lib/module/components/Message/MessageSimple/MessageAvatar.js +1 -1
  305. package/lib/module/components/Message/MessageSimple/MessageContent.js +1 -1
  306. package/lib/module/components/Message/MessageSimple/MessageDeleted.js +1 -1
  307. package/lib/module/components/Message/MessageSimple/MessageFooter.js +1 -1
  308. package/lib/module/components/Message/MessageSimple/MessagePinnedHeader.js +1 -1
  309. package/lib/module/components/Message/MessageSimple/MessageReplies.js +1 -1
  310. package/lib/module/components/Message/MessageSimple/MessageRepliesAvatars.js +1 -1
  311. package/lib/module/components/Message/MessageSimple/MessageSimple.js +1 -1
  312. package/lib/module/components/Message/MessageSimple/MessageStatus.js +1 -1
  313. package/lib/module/components/Message/MessageSimple/MessageTextContainer.js +1 -1
  314. package/lib/module/components/Message/MessageSimple/ReactionList.js +1 -1
  315. package/lib/module/components/Message/MessageSimple/utils/renderText.js +1 -1
  316. package/lib/module/components/Message/MessageSimple/utils/renderText.test.js +1 -1
  317. package/lib/module/components/Message/hooks/useMessageActions.js +1 -1
  318. package/lib/module/components/MessageInput/AttachButton.js +1 -1
  319. package/lib/module/components/MessageInput/CommandsButton.js +1 -1
  320. package/lib/module/components/MessageInput/CooldownTimer.js +1 -1
  321. package/lib/module/components/MessageInput/FileUploadPreview.js +1 -1
  322. package/lib/module/components/MessageInput/ImageUploadPreview.js +50 -32
  323. package/lib/module/components/MessageInput/ImageUploadPreview.js.map +1 -1
  324. package/lib/module/components/MessageInput/InputButtons.js +1 -1
  325. package/lib/module/components/MessageInput/MessageInput.js +1 -1
  326. package/lib/module/components/MessageInput/MoreOptionsButton.js +1 -1
  327. package/lib/module/components/MessageInput/SendButton.js +1 -1
  328. package/lib/module/components/MessageInput/SendMessageDisallowedIndicator.js +1 -1
  329. package/lib/module/components/MessageInput/ShowThreadMessageInChannelButton.js +1 -1
  330. package/lib/module/components/MessageInput/UploadProgressIndicator.js +1 -1
  331. package/lib/module/components/MessageInput/components/InputEditingStateHeader.js +1 -1
  332. package/lib/module/components/MessageInput/components/InputGiphySearch.js +1 -1
  333. package/lib/module/components/MessageInput/components/InputReplyStateHeader.js +1 -1
  334. package/lib/module/components/MessageList/DateHeader.js +1 -1
  335. package/lib/module/components/MessageList/InlineDateSeparator.js +1 -1
  336. package/lib/module/components/MessageList/InlineLoadingMoreIndicator.js +1 -1
  337. package/lib/module/components/MessageList/InlineLoadingMoreRecentIndicator.js +1 -1
  338. package/lib/module/components/MessageList/InlineLoadingMoreThreadIndicator.js +1 -1
  339. package/lib/module/components/MessageList/InlineUnreadIndicator.js +1 -1
  340. package/lib/module/components/MessageList/MessageList.js +1 -1
  341. package/lib/module/components/MessageList/MessageSystem.js +1 -1
  342. package/lib/module/components/MessageList/NetworkDownIndicator.js +1 -1
  343. package/lib/module/components/MessageList/ScrollToBottomButton.js +1 -1
  344. package/lib/module/components/MessageList/TypingIndicator.js +1 -1
  345. package/lib/module/components/MessageList/TypingIndicatorContainer.js +1 -1
  346. package/lib/module/components/MessageOverlay/MessageActionList.js +1 -1
  347. package/lib/module/components/MessageOverlay/MessageActionListItem.js +1 -1
  348. package/lib/module/components/MessageOverlay/MessageOverlay.js +1 -1
  349. package/lib/module/components/MessageOverlay/OverlayBackdrop.js +1 -1
  350. package/lib/module/components/MessageOverlay/OverlayReactionList.js +1 -1
  351. package/lib/module/components/MessageOverlay/OverlayReactions.js +1 -1
  352. package/lib/module/components/MessageOverlay/OverlayReactionsAvatar.js +1 -1
  353. package/lib/module/components/ProgressControl/ProgressControl.js +7 -7
  354. package/lib/module/components/ProgressControl/ProgressControl.js.map +1 -1
  355. package/lib/module/components/RTLComponents/WritingDirectionAwareText.js +1 -1
  356. package/lib/module/components/Reply/Reply.js +1 -1
  357. package/lib/module/components/Spinner/Spinner.js +1 -1
  358. package/lib/module/components/Thread/Thread.js +1 -1
  359. package/lib/module/components/Thread/components/ThreadFooterComponent.js +1 -1
  360. package/lib/module/contexts/activeChannelsRefContext/ActiveChannelsRefContext.js +1 -1
  361. package/lib/module/contexts/attachmentPickerContext/AttachmentPickerContext.js +1 -1
  362. package/lib/module/contexts/channelContext/ChannelContext.js +1 -1
  363. package/lib/module/contexts/channelsContext/ChannelsContext.js +1 -1
  364. package/lib/module/contexts/channelsStateContext/ChannelsStateContext.js +1 -1
  365. package/lib/module/contexts/chatContext/ChatContext.js +1 -1
  366. package/lib/module/contexts/imageGalleryContext/ImageGalleryContext.js +1 -1
  367. package/lib/module/contexts/keyboardContext/KeyboardContext.js +1 -1
  368. package/lib/module/contexts/messageContext/MessageContext.js +1 -1
  369. package/lib/module/contexts/messageInputContext/MessageInputContext.js +1 -1
  370. package/lib/module/contexts/messageOverlayContext/MessageOverlayContext.js +1 -1
  371. package/lib/module/contexts/messageOverlayContext/hooks/useResettableState.test.js +1 -1
  372. package/lib/module/contexts/messagesContext/MessagesContext.js +1 -1
  373. package/lib/module/contexts/overlayContext/OverlayContext.js +1 -1
  374. package/lib/module/contexts/overlayContext/OverlayProvider.js +1 -1
  375. package/lib/module/contexts/ownCapabilitiesContext/OwnCapabilitiesContext.js +1 -1
  376. package/lib/module/contexts/paginatedMessageListContext/PaginatedMessageListContext.js +1 -1
  377. package/lib/module/contexts/suggestionsContext/SuggestionsContext.js +1 -1
  378. package/lib/module/contexts/themeContext/ThemeContext.js +1 -1
  379. package/lib/module/contexts/themeContext/utils/theme.js +1 -0
  380. package/lib/module/contexts/themeContext/utils/theme.js.map +1 -1
  381. package/lib/module/contexts/threadContext/ThreadContext.js +1 -1
  382. package/lib/module/contexts/translationContext/TranslationContext.js +1 -1
  383. package/lib/module/contexts/typingContext/TypingContext.js +1 -1
  384. package/lib/module/icons/ArrowRight.js +1 -1
  385. package/lib/module/icons/AtMentions.js +1 -1
  386. package/lib/module/icons/Attach.js +1 -1
  387. package/lib/module/icons/Audio.js +1 -1
  388. package/lib/module/icons/CSV.js +1 -1
  389. package/lib/module/icons/Camera.js +1 -1
  390. package/lib/module/icons/Check.js +1 -1
  391. package/lib/module/icons/CheckAll.js +1 -1
  392. package/lib/module/icons/CheckSend.js +1 -1
  393. package/lib/module/icons/CircleClose.js +1 -1
  394. package/lib/module/icons/CirclePlus.js +1 -1
  395. package/lib/module/icons/CircleRight.js +1 -1
  396. package/lib/module/icons/Close.js +1 -1
  397. package/lib/module/icons/Copy.js +1 -1
  398. package/lib/module/icons/CurveLineLeftUp.js +1 -1
  399. package/lib/module/icons/DOC.js +1 -1
  400. package/lib/module/icons/DOCX.js +1 -1
  401. package/lib/module/icons/Delete.js +1 -1
  402. package/lib/module/icons/Down.js +1 -1
  403. package/lib/module/icons/DownloadArrow.js +1 -1
  404. package/lib/module/icons/DownloadCloud.js +1 -1
  405. package/lib/module/icons/Edit.js +1 -1
  406. package/lib/module/icons/Error.js +1 -1
  407. package/lib/module/icons/Eye.js +1 -1
  408. package/lib/module/icons/Flag.js +1 -1
  409. package/lib/module/icons/Folder.js +1 -1
  410. package/lib/module/icons/GenericFile.js +1 -1
  411. package/lib/module/icons/GiphyIcon.js +1 -1
  412. package/lib/module/icons/Grid.js +1 -1
  413. package/lib/module/icons/Group.js +1 -1
  414. package/lib/module/icons/HTML.js +1 -1
  415. package/lib/module/icons/Imgur.js +1 -1
  416. package/lib/module/icons/LOLReaction.js +1 -1
  417. package/lib/module/icons/Lightning.js +1 -1
  418. package/lib/module/icons/Link.js +1 -1
  419. package/lib/module/icons/Loading.js +1 -1
  420. package/lib/module/icons/Logo.js +1 -1
  421. package/lib/module/icons/LoveReaction.js +1 -1
  422. package/lib/module/icons/MD.js +1 -1
  423. package/lib/module/icons/MailOpen.js +1 -1
  424. package/lib/module/icons/MenuPointHorizontal.js +1 -1
  425. package/lib/module/icons/MenuPointVertical.js +1 -1
  426. package/lib/module/icons/MessageFlag.js +1 -1
  427. package/lib/module/icons/MessageIcon.js +1 -1
  428. package/lib/module/icons/Mute.js +1 -1
  429. package/lib/module/icons/Notification.js +1 -1
  430. package/lib/module/icons/ODT.js +1 -1
  431. package/lib/module/icons/PDF.js +1 -1
  432. package/lib/module/icons/PPT.js +1 -1
  433. package/lib/module/icons/PPTX.js +1 -1
  434. package/lib/module/icons/Pause.js +1 -1
  435. package/lib/module/icons/Picture.js +1 -1
  436. package/lib/module/icons/Pin.js +1 -1
  437. package/lib/module/icons/PinHeader.js +1 -1
  438. package/lib/module/icons/Play.js +1 -1
  439. package/lib/module/icons/RAR.js +1 -1
  440. package/lib/module/icons/RTF.js +1 -1
  441. package/lib/module/icons/Recorder.js +1 -1
  442. package/lib/module/icons/Refresh.js +1 -1
  443. package/lib/module/icons/SEVEN_Z.js +1 -1
  444. package/lib/module/icons/Search.js +1 -1
  445. package/lib/module/icons/SendRight.js +1 -1
  446. package/lib/module/icons/SendUp.js +1 -1
  447. package/lib/module/icons/Share.js +1 -1
  448. package/lib/module/icons/ShareRightArrow.js +1 -1
  449. package/lib/module/icons/Smile.js +1 -1
  450. package/lib/module/icons/Sound.js +1 -1
  451. package/lib/module/icons/TAR.js +1 -1
  452. package/lib/module/icons/TXT.js +1 -1
  453. package/lib/module/icons/ThreadReply.js +1 -1
  454. package/lib/module/icons/ThumbsDownReaction.js +1 -1
  455. package/lib/module/icons/ThumbsUpReaction.js +1 -1
  456. package/lib/module/icons/Time.js +1 -1
  457. package/lib/module/icons/Unknown.js +1 -1
  458. package/lib/module/icons/Unpin.js +1 -1
  459. package/lib/module/icons/User.js +1 -1
  460. package/lib/module/icons/UserAdd.js +1 -1
  461. package/lib/module/icons/UserAdmin.js +1 -1
  462. package/lib/module/icons/UserDelete.js +1 -1
  463. package/lib/module/icons/UserMinus.js +1 -1
  464. package/lib/module/icons/Video.js +1 -1
  465. package/lib/module/icons/Warning.js +1 -1
  466. package/lib/module/icons/WutReaction.js +1 -1
  467. package/lib/module/icons/XLS.js +1 -1
  468. package/lib/module/icons/XLSX.js +1 -1
  469. package/lib/module/icons/ZIP.js +1 -1
  470. package/lib/module/icons/utils/base.js +1 -1
  471. package/lib/module/native.js.map +1 -1
  472. package/lib/module/version.json +1 -1
  473. package/lib/typescript/components/ImageGallery/ImageGallery.d.ts +3 -0
  474. package/lib/typescript/components/ImageGallery/components/AnimatedGalleryVideo.d.ts +5 -3
  475. package/lib/typescript/components/ImageGallery/components/ImageGalleryFooter.d.ts +1 -3
  476. package/lib/typescript/components/ProgressControl/ProgressControl.d.ts +1 -1
  477. package/lib/typescript/contexts/themeContext/utils/theme.d.ts +1 -0
  478. package/lib/typescript/native.d.ts +3 -2
  479. package/package.json +1 -1
  480. package/src/components/ImageGallery/ImageGallery.tsx +87 -65
  481. package/src/components/ImageGallery/__tests__/AnimatedVideoGallery.test.tsx +2 -2
  482. package/src/components/ImageGallery/__tests__/ImageGallery.test.tsx +40 -28
  483. package/src/components/ImageGallery/components/AnimatedGalleryVideo.tsx +16 -9
  484. package/src/components/ImageGallery/components/ImageGalleryFooter.tsx +1 -6
  485. package/src/components/ImageGallery/components/ImageGalleryVideoControl.tsx +5 -6
  486. package/src/components/MessageInput/ImageUploadPreview.tsx +35 -9
  487. package/src/components/ProgressControl/ProgressControl.tsx +8 -4
  488. package/src/contexts/themeContext/utils/theme.ts +2 -0
  489. package/src/native.ts +3 -2
  490. package/src/version.json +1 -1
@@ -12,7 +12,7 @@ var _react = _interopRequireDefault(require("react"));
12
12
  var _base = require("./utils/base");
13
13
 
14
14
  var _this = this,
15
- _jsxFileName = "/Users/vishalnarkhede/projects/stream-chat-react-native/package/src/icons/Refresh.tsx";
15
+ _jsxFileName = "/home/runner/work/stream-chat-react-native/stream-chat-react-native/package/src/icons/Refresh.tsx";
16
16
 
17
17
  var Refresh = function Refresh(props) {
18
18
  return _react["default"].createElement(_base.RootSvg, (0, _extends2["default"])({}, props, {
@@ -12,7 +12,7 @@ var _react = _interopRequireDefault(require("react"));
12
12
  var _base = require("./utils/base");
13
13
 
14
14
  var _this = this,
15
- _jsxFileName = "/Users/vishalnarkhede/projects/stream-chat-react-native/package/src/icons/SEVEN_Z.tsx";
15
+ _jsxFileName = "/home/runner/work/stream-chat-react-native/stream-chat-react-native/package/src/icons/SEVEN_Z.tsx";
16
16
 
17
17
  var SEVEN_Z = function SEVEN_Z(props) {
18
18
  return _react["default"].createElement(_base.RootSvg, (0, _extends2["default"])({
@@ -12,7 +12,7 @@ var _react = _interopRequireDefault(require("react"));
12
12
  var _base = require("./utils/base");
13
13
 
14
14
  var _this = this,
15
- _jsxFileName = "/Users/vishalnarkhede/projects/stream-chat-react-native/package/src/icons/Search.tsx";
15
+ _jsxFileName = "/home/runner/work/stream-chat-react-native/stream-chat-react-native/package/src/icons/Search.tsx";
16
16
 
17
17
  var Search = function Search(props) {
18
18
  return _react["default"].createElement(_base.RootSvg, (0, _extends2["default"])({}, props, {
@@ -12,7 +12,7 @@ var _react = _interopRequireDefault(require("react"));
12
12
  var _base = require("./utils/base");
13
13
 
14
14
  var _this = this,
15
- _jsxFileName = "/Users/vishalnarkhede/projects/stream-chat-react-native/package/src/icons/SendRight.tsx";
15
+ _jsxFileName = "/home/runner/work/stream-chat-react-native/stream-chat-react-native/package/src/icons/SendRight.tsx";
16
16
 
17
17
  var SendRight = function SendRight(props) {
18
18
  return _react["default"].createElement(_base.RootSvg, (0, _extends2["default"])({}, props, {
@@ -12,7 +12,7 @@ var _react = _interopRequireDefault(require("react"));
12
12
  var _base = require("./utils/base");
13
13
 
14
14
  var _this = this,
15
- _jsxFileName = "/Users/vishalnarkhede/projects/stream-chat-react-native/package/src/icons/SendUp.tsx";
15
+ _jsxFileName = "/home/runner/work/stream-chat-react-native/stream-chat-react-native/package/src/icons/SendUp.tsx";
16
16
 
17
17
  var SendUp = function SendUp(props) {
18
18
  return _react["default"].createElement(_base.RootSvg, (0, _extends2["default"])({}, props, {
@@ -14,7 +14,7 @@ var _reactNativeSvg = require("react-native-svg");
14
14
  var _base = require("./utils/base");
15
15
 
16
16
  var _this = this,
17
- _jsxFileName = "/Users/vishalnarkhede/projects/stream-chat-react-native/package/src/icons/Share.tsx";
17
+ _jsxFileName = "/home/runner/work/stream-chat-react-native/stream-chat-react-native/package/src/icons/Share.tsx";
18
18
 
19
19
  var Share = function Share(props) {
20
20
  return _react["default"].createElement(_base.RootSvg, (0, _extends2["default"])({}, props, {
@@ -12,7 +12,7 @@ var _react = _interopRequireDefault(require("react"));
12
12
  var _base = require("./utils/base");
13
13
 
14
14
  var _this = this,
15
- _jsxFileName = "/Users/vishalnarkhede/projects/stream-chat-react-native/package/src/icons/ShareRightArrow.tsx";
15
+ _jsxFileName = "/home/runner/work/stream-chat-react-native/stream-chat-react-native/package/src/icons/ShareRightArrow.tsx";
16
16
 
17
17
  var ShareRightArrow = function ShareRightArrow(props) {
18
18
  return _react["default"].createElement(_base.RootSvg, (0, _extends2["default"])({}, props, {
@@ -12,7 +12,7 @@ var _react = _interopRequireDefault(require("react"));
12
12
  var _base = require("./utils/base");
13
13
 
14
14
  var _this = this,
15
- _jsxFileName = "/Users/vishalnarkhede/projects/stream-chat-react-native/package/src/icons/Smile.tsx";
15
+ _jsxFileName = "/home/runner/work/stream-chat-react-native/stream-chat-react-native/package/src/icons/Smile.tsx";
16
16
 
17
17
  var Smile = function Smile(props) {
18
18
  return _react["default"].createElement(_base.RootSvg, (0, _extends2["default"])({}, props, {
@@ -12,7 +12,7 @@ var _react = _interopRequireDefault(require("react"));
12
12
  var _base = require("./utils/base");
13
13
 
14
14
  var _this = this,
15
- _jsxFileName = "/Users/vishalnarkhede/projects/stream-chat-react-native/package/src/icons/Sound.tsx";
15
+ _jsxFileName = "/home/runner/work/stream-chat-react-native/stream-chat-react-native/package/src/icons/Sound.tsx";
16
16
 
17
17
  var Sound = function Sound(props) {
18
18
  return _react["default"].createElement(_base.RootSvg, (0, _extends2["default"])({}, props, {
@@ -12,7 +12,7 @@ var _react = _interopRequireDefault(require("react"));
12
12
  var _base = require("./utils/base");
13
13
 
14
14
  var _this = this,
15
- _jsxFileName = "/Users/vishalnarkhede/projects/stream-chat-react-native/package/src/icons/TAR.tsx";
15
+ _jsxFileName = "/home/runner/work/stream-chat-react-native/stream-chat-react-native/package/src/icons/TAR.tsx";
16
16
 
17
17
  var TAR = function TAR(props) {
18
18
  return _react["default"].createElement(_base.RootSvg, (0, _extends2["default"])({
@@ -12,7 +12,7 @@ var _react = _interopRequireDefault(require("react"));
12
12
  var _base = require("./utils/base");
13
13
 
14
14
  var _this = this,
15
- _jsxFileName = "/Users/vishalnarkhede/projects/stream-chat-react-native/package/src/icons/TXT.tsx";
15
+ _jsxFileName = "/home/runner/work/stream-chat-react-native/stream-chat-react-native/package/src/icons/TXT.tsx";
16
16
 
17
17
  var TXT = function TXT(props) {
18
18
  return _react["default"].createElement(_base.RootSvg, (0, _extends2["default"])({
@@ -12,7 +12,7 @@ var _react = _interopRequireDefault(require("react"));
12
12
  var _base = require("./utils/base");
13
13
 
14
14
  var _this = this,
15
- _jsxFileName = "/Users/vishalnarkhede/projects/stream-chat-react-native/package/src/icons/ThreadReply.tsx";
15
+ _jsxFileName = "/home/runner/work/stream-chat-react-native/stream-chat-react-native/package/src/icons/ThreadReply.tsx";
16
16
 
17
17
  var ThreadReply = function ThreadReply(props) {
18
18
  return _react["default"].createElement(_base.RootSvg, (0, _extends2["default"])({}, props, {
@@ -12,7 +12,7 @@ var _react = _interopRequireDefault(require("react"));
12
12
  var _base = require("./utils/base");
13
13
 
14
14
  var _this = this,
15
- _jsxFileName = "/Users/vishalnarkhede/projects/stream-chat-react-native/package/src/icons/ThumbsDownReaction.tsx";
15
+ _jsxFileName = "/home/runner/work/stream-chat-react-native/stream-chat-react-native/package/src/icons/ThumbsDownReaction.tsx";
16
16
 
17
17
  var ThumbsDownReaction = function ThumbsDownReaction(props) {
18
18
  return _react["default"].createElement(_base.RootSvg, (0, _extends2["default"])({}, props, {
@@ -12,7 +12,7 @@ var _react = _interopRequireDefault(require("react"));
12
12
  var _base = require("./utils/base");
13
13
 
14
14
  var _this = this,
15
- _jsxFileName = "/Users/vishalnarkhede/projects/stream-chat-react-native/package/src/icons/ThumbsUpReaction.tsx";
15
+ _jsxFileName = "/home/runner/work/stream-chat-react-native/stream-chat-react-native/package/src/icons/ThumbsUpReaction.tsx";
16
16
 
17
17
  var ThumbsUpReaction = function ThumbsUpReaction(props) {
18
18
  return _react["default"].createElement(_base.RootSvg, (0, _extends2["default"])({}, props, {
@@ -12,7 +12,7 @@ var _react = _interopRequireDefault(require("react"));
12
12
  var _base = require("./utils/base");
13
13
 
14
14
  var _this = this,
15
- _jsxFileName = "/Users/vishalnarkhede/projects/stream-chat-react-native/package/src/icons/Time.tsx";
15
+ _jsxFileName = "/home/runner/work/stream-chat-react-native/stream-chat-react-native/package/src/icons/Time.tsx";
16
16
 
17
17
  var Time = function Time(props) {
18
18
  return _react["default"].createElement(_base.RootSvg, (0, _extends2["default"])({}, props, {
@@ -12,7 +12,7 @@ var _react = _interopRequireDefault(require("react"));
12
12
  var _base = require("./utils/base");
13
13
 
14
14
  var _this = this,
15
- _jsxFileName = "/Users/vishalnarkhede/projects/stream-chat-react-native/package/src/icons/Unknown.tsx";
15
+ _jsxFileName = "/home/runner/work/stream-chat-react-native/stream-chat-react-native/package/src/icons/Unknown.tsx";
16
16
 
17
17
  var Unknown = function Unknown(props) {
18
18
  return _react["default"].createElement(_base.RootSvg, (0, _extends2["default"])({}, props, {
@@ -12,7 +12,7 @@ var _react = _interopRequireDefault(require("react"));
12
12
  var _base = require("./utils/base");
13
13
 
14
14
  var _this = this,
15
- _jsxFileName = "/Users/vishalnarkhede/projects/stream-chat-react-native/package/src/icons/Unpin.tsx";
15
+ _jsxFileName = "/home/runner/work/stream-chat-react-native/stream-chat-react-native/package/src/icons/Unpin.tsx";
16
16
 
17
17
  var Unpin = function Unpin(props) {
18
18
  return _react["default"].createElement(_base.RootSvg, (0, _extends2["default"])({}, props, {
@@ -12,7 +12,7 @@ var _react = _interopRequireDefault(require("react"));
12
12
  var _base = require("./utils/base");
13
13
 
14
14
  var _this = this,
15
- _jsxFileName = "/Users/vishalnarkhede/projects/stream-chat-react-native/package/src/icons/User.tsx";
15
+ _jsxFileName = "/home/runner/work/stream-chat-react-native/stream-chat-react-native/package/src/icons/User.tsx";
16
16
 
17
17
  var User = function User(props) {
18
18
  return _react["default"].createElement(_base.RootSvg, (0, _extends2["default"])({}, props, {
@@ -12,7 +12,7 @@ var _react = _interopRequireDefault(require("react"));
12
12
  var _base = require("./utils/base");
13
13
 
14
14
  var _this = this,
15
- _jsxFileName = "/Users/vishalnarkhede/projects/stream-chat-react-native/package/src/icons/UserAdd.tsx";
15
+ _jsxFileName = "/home/runner/work/stream-chat-react-native/stream-chat-react-native/package/src/icons/UserAdd.tsx";
16
16
 
17
17
  var UserAdd = function UserAdd(props) {
18
18
  return _react["default"].createElement(_base.RootSvg, (0, _extends2["default"])({}, props, {
@@ -16,7 +16,7 @@ var _base = require("./utils/base");
16
16
  var _excluded = ["height", "width"];
17
17
 
18
18
  var _this = this,
19
- _jsxFileName = "/Users/vishalnarkhede/projects/stream-chat-react-native/package/src/icons/UserAdmin.tsx";
19
+ _jsxFileName = "/home/runner/work/stream-chat-react-native/stream-chat-react-native/package/src/icons/UserAdmin.tsx";
20
20
 
21
21
  var UserAdmin = function UserAdmin(props) {
22
22
  var height = props.height,
@@ -12,7 +12,7 @@ var _react = _interopRequireDefault(require("react"));
12
12
  var _base = require("./utils/base");
13
13
 
14
14
  var _this = this,
15
- _jsxFileName = "/Users/vishalnarkhede/projects/stream-chat-react-native/package/src/icons/UserDelete.tsx";
15
+ _jsxFileName = "/home/runner/work/stream-chat-react-native/stream-chat-react-native/package/src/icons/UserDelete.tsx";
16
16
 
17
17
  var UserDelete = function UserDelete(props) {
18
18
  return _react["default"].createElement(_base.RootSvg, (0, _extends2["default"])({}, props, {
@@ -12,7 +12,7 @@ var _react = _interopRequireDefault(require("react"));
12
12
  var _base = require("./utils/base");
13
13
 
14
14
  var _this = this,
15
- _jsxFileName = "/Users/vishalnarkhede/projects/stream-chat-react-native/package/src/icons/UserMinus.tsx";
15
+ _jsxFileName = "/home/runner/work/stream-chat-react-native/stream-chat-react-native/package/src/icons/UserMinus.tsx";
16
16
 
17
17
  var UserMinus = function UserMinus(props) {
18
18
  return _react["default"].createElement(_base.RootSvg, (0, _extends2["default"])({}, props, {
@@ -12,7 +12,7 @@ var _react = _interopRequireDefault(require("react"));
12
12
  var _base = require("./utils/base");
13
13
 
14
14
  var _this = this,
15
- _jsxFileName = "/Users/vishalnarkhede/projects/stream-chat-react-native/package/src/icons/Video.tsx";
15
+ _jsxFileName = "/home/runner/work/stream-chat-react-native/stream-chat-react-native/package/src/icons/Video.tsx";
16
16
 
17
17
  var Video = function Video(props) {
18
18
  return _react["default"].createElement(_base.RootSvg, (0, _extends2["default"])({
@@ -12,7 +12,7 @@ var _react = _interopRequireDefault(require("react"));
12
12
  var _base = require("./utils/base");
13
13
 
14
14
  var _this = this,
15
- _jsxFileName = "/Users/vishalnarkhede/projects/stream-chat-react-native/package/src/icons/Warning.tsx";
15
+ _jsxFileName = "/home/runner/work/stream-chat-react-native/stream-chat-react-native/package/src/icons/Warning.tsx";
16
16
 
17
17
  var Warning = function Warning(props) {
18
18
  return _react["default"].createElement(_base.RootSvg, (0, _extends2["default"])({}, props, {
@@ -12,7 +12,7 @@ var _react = _interopRequireDefault(require("react"));
12
12
  var _base = require("./utils/base");
13
13
 
14
14
  var _this = this,
15
- _jsxFileName = "/Users/vishalnarkhede/projects/stream-chat-react-native/package/src/icons/WutReaction.tsx";
15
+ _jsxFileName = "/home/runner/work/stream-chat-react-native/stream-chat-react-native/package/src/icons/WutReaction.tsx";
16
16
 
17
17
  var WutReaction = function WutReaction(props) {
18
18
  return _react["default"].createElement(_base.RootSvg, (0, _extends2["default"])({}, props, {
@@ -14,7 +14,7 @@ var _reactNativeSvg = require("react-native-svg");
14
14
  var _base = require("./utils/base");
15
15
 
16
16
  var _this = this,
17
- _jsxFileName = "/Users/vishalnarkhede/projects/stream-chat-react-native/package/src/icons/XLS.tsx";
17
+ _jsxFileName = "/home/runner/work/stream-chat-react-native/stream-chat-react-native/package/src/icons/XLS.tsx";
18
18
 
19
19
  var XLS = function XLS(props) {
20
20
  return _react["default"].createElement(_base.RootSvg, (0, _extends2["default"])({
@@ -14,7 +14,7 @@ var _reactNativeSvg = require("react-native-svg");
14
14
  var _base = require("./utils/base");
15
15
 
16
16
  var _this = this,
17
- _jsxFileName = "/Users/vishalnarkhede/projects/stream-chat-react-native/package/src/icons/XLSX.tsx";
17
+ _jsxFileName = "/home/runner/work/stream-chat-react-native/stream-chat-react-native/package/src/icons/XLSX.tsx";
18
18
 
19
19
  var XLSX = function XLSX(props) {
20
20
  return _react["default"].createElement(_base.RootSvg, (0, _extends2["default"])({
@@ -12,7 +12,7 @@ var _react = _interopRequireDefault(require("react"));
12
12
  var _base = require("./utils/base");
13
13
 
14
14
  var _this = this,
15
- _jsxFileName = "/Users/vishalnarkhede/projects/stream-chat-react-native/package/src/icons/ZIP.tsx";
15
+ _jsxFileName = "/home/runner/work/stream-chat-react-native/stream-chat-react-native/package/src/icons/ZIP.tsx";
16
16
 
17
17
  var ZIP = function ZIP(props) {
18
18
  return _react["default"].createElement(_base.RootSvg, (0, _extends2["default"])({
@@ -16,7 +16,7 @@ var _reactNativeSvg = _interopRequireWildcard(require("react-native-svg"));
16
16
  var _ThemeContext = require("../../contexts/themeContext/ThemeContext");
17
17
 
18
18
  var _this = this,
19
- _jsxFileName = "/Users/vishalnarkhede/projects/stream-chat-react-native/package/src/icons/utils/base.tsx";
19
+ _jsxFileName = "/home/runner/work/stream-chat-react-native/stream-chat-react-native/package/src/icons/utils/base.tsx";
20
20
 
21
21
  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); }
22
22
 
@@ -1 +1 @@
1
- {"version":3,"sources":["native.ts"],"names":["fail","Error","compressImage","deleteFile","getLocalAssetUri","getPhotos","FlatList","DefaultFlatList","NetInfo","addEventListener","fetch","pickDocument","saveFile","shareImage","takePhoto","triggerHaptic","SDK","Sound","Video","registerNativeHandlers","handlers","isVideoPackageAvailable","isAudioPackageAvailable","Player","initializeSound"],"mappings":";;;;;AACA;;AAMA,IAAMA,IAAI,GAAG,SAAPA,IAAO,GAAM;AACjB,QAAMC,KAAK,CACT,mGADS,CAAX;AAGD,CAJD;;AAiBO,IAAIC,aAA4B,GAAGF,IAAnC;;AAGA,IAAIG,UAAsB,GAAGH,IAA7B;;AAGA,IAAII,gBAAkC,GAAGJ,IAAzC;;AASA,IAAIK,SAAoB,GAAGL,IAA3B;;AAOA,IAAIM,QAAQ,GAAGC,qBAAf;;AAEA,IAAIC,OAAgB,GAAG;AAC5BC,EAAAA,gBAAgB,EAAET,IADU;AAE5BU,EAAAA,KAAK,EAAEV;AAFqB,CAAvB;;AAWA,IAAIW,YAA0B,GAAGX,IAAjC;;AAOA,IAAIY,QAAkB,GAAGZ,IAAzB;;AAOA,IAAIa,UAAsB,GAAGb,IAA7B;;AASA,IAAIc,SAAoB,GAAGd,IAA3B;;AAWA,IAAIe,aAA4B,GAAGf,IAAnC;;AAwBA,IAAIgB,GAAJ;;AA8CA,IAAIC,KAAJ;;AA0CA,IAAIC,KAAJ;;;AAmBA,IAAMC,sBAAsB,GAAG,SAAzBA,sBAAyB,CAACC,QAAD,EAAwB;AAC5D,MAAIA,QAAQ,CAAClB,aAAb,EAA4B;AAC1B,4BAAAA,aAAa,GAAGkB,QAAQ,CAAClB,aAAzB;AACD;;AAED,MAAIkB,QAAQ,CAACjB,UAAb,EAAyB;AACvB,yBAAAA,UAAU,GAAGiB,QAAQ,CAACjB,UAAtB;AACD;;AAED,MAAIiB,QAAQ,CAACd,QAAb,EAAuB;AACrB,uBAAAA,QAAQ,GAAGc,QAAQ,CAACd,QAApB;AACD;;AACD,MAAIc,QAAQ,CAACZ,OAAb,EAAsB;AACpB,sBAAAA,OAAO,GAAGY,QAAQ,CAACZ,OAAnB;AACD;;AAED,MAAIY,QAAQ,CAAChB,gBAAb,EAA+B;AAC7B,+BAAAA,gBAAgB,GAAGgB,QAAQ,CAAChB,gBAA5B;AACD;;AAED,MAAIgB,QAAQ,CAACf,SAAb,EAAwB;AACtB,wBAAAA,SAAS,GAAGe,QAAQ,CAACf,SAArB;AACD;;AAED,MAAIe,QAAQ,CAACT,YAAb,EAA2B;AACzB,2BAAAA,YAAY,GAAGS,QAAQ,CAACT,YAAxB;AACD;;AAED,MAAIS,QAAQ,CAACR,QAAb,EAAuB;AACrB,uBAAAA,QAAQ,GAAGQ,QAAQ,CAACR,QAApB;AACD;;AAED,MAAIQ,QAAQ,CAACJ,GAAb,EAAkB;AAChB,kBAAAA,GAAG,GAAGI,QAAQ,CAACJ,GAAf;AACD;;AAED,MAAII,QAAQ,CAACP,UAAb,EAAyB;AACvB,yBAAAA,UAAU,GAAGO,QAAQ,CAACP,UAAtB;AACD;;AAED,MAAIO,QAAQ,CAACH,KAAb,EAAoB;AAClB,oBAAAA,KAAK,GAAGG,QAAQ,CAACH,KAAjB;AACD;;AAED,MAAIG,QAAQ,CAACN,SAAb,EAAwB;AACtB,wBAAAA,SAAS,GAAGM,QAAQ,CAACN,SAArB;AACD;;AAED,MAAIM,QAAQ,CAACL,aAAb,EAA4B;AAC1B,4BAAAA,aAAa,GAAGK,QAAQ,CAACL,aAAzB;AACD;;AAED,MAAIK,QAAQ,CAACF,KAAb,EAAoB;AAClB,oBAAAA,KAAK,GAAGE,QAAQ,CAACF,KAAjB;AACD;AACF,CAvDM;;;;AAyDA,IAAMG,uBAAuB,GAAG,SAA1BA,uBAA0B;AAAA,SAAM,CAAC,CAACH,KAAR;AAAA,CAAhC;;;;AACA,IAAMI,uBAAuB,GAAG,SAA1BA,uBAA0B;AAAA,SAAM,CAAC,CAACL,KAAK,CAACM,MAAR,IAAkB,CAAC,CAACN,KAAK,CAACO,eAAhC;AAAA,CAAhC","sourcesContent":["import type React from 'react';\nimport { FlatList as DefaultFlatList, StyleProp, ViewStyle } from 'react-native';\n\nimport type { NetInfoSubscription } from '@react-native-community/netinfo';\n\nimport type { Asset, File } from './types/types';\n\nconst fail = () => {\n throw Error(\n 'Native handler was not registered, you should import stream-chat-expo or stream-chat-react-native',\n );\n};\n\ntype CompressImage = ({\n compressImageQuality,\n height,\n uri,\n width,\n}: {\n compressImageQuality: number;\n height: number;\n uri: string;\n width: number;\n}) => Promise<string> | never;\nexport let compressImage: CompressImage = fail;\n\ntype DeleteFile = ({ uri }: { uri: string }) => Promise<boolean> | never;\nexport let deleteFile: DeleteFile = fail;\n\ntype GetLocalAssetUri = (uriOrAssetId: string) => never;\nexport let getLocalAssetUri: GetLocalAssetUri = fail;\n\ntype GetPhotos = ({ after, first }: { first: number; after?: string }) =>\n | Promise<{\n assets: Array<Omit<Asset, 'source'> & { source: 'picker' }>;\n endCursor: string;\n hasNextPage: boolean;\n }>\n | never;\nexport let getPhotos: GetPhotos = fail;\n\ntype NetInfo = {\n addEventListener: (listener: (isConnected: boolean) => void) => NetInfoSubscription | never;\n fetch: (requestedInterface?: string | undefined) => Promise<boolean> | never;\n};\n\nexport let FlatList = DefaultFlatList;\n\nexport let NetInfo: NetInfo = {\n addEventListener: fail,\n fetch: fail,\n};\n\ntype PickDocument = ({ maxNumberOfFiles }: { maxNumberOfFiles?: number }) =>\n | Promise<{\n cancelled: boolean;\n docs?: File[];\n }>\n | never;\nexport let pickDocument: PickDocument = fail;\n\ntype SaveFileOptions = {\n fileName: string;\n fromUrl: string;\n};\ntype SaveFile = (options: SaveFileOptions) => Promise<string> | never;\nexport let saveFile: SaveFile = fail;\n\ntype ShareOptions = {\n type?: string;\n url?: string;\n};\ntype ShareImage = (options: ShareOptions) => Promise<boolean> | never;\nexport let shareImage: ShareImage = fail;\n\ntype Photo =\n | (Omit<Asset, 'source'> & {\n cancelled: false;\n source: 'camera';\n })\n | { cancelled: true };\ntype TakePhoto = (options: { compressImageQuality?: number }) => Promise<Photo> | never;\nexport let takePhoto: TakePhoto = fail;\n\ntype HapticFeedbackMethod =\n | 'impactHeavy'\n | 'impactLight'\n | 'impactMedium'\n | 'notificationError'\n | 'notificationSuccess'\n | 'notificationWarning'\n | 'selection';\ntype TriggerHaptic = (method: HapticFeedbackMethod) => void | never;\nexport let triggerHaptic: TriggerHaptic = fail;\n\nexport type PlaybackStatus = {\n didJustFinish: boolean;\n durationMillis: number;\n error: string;\n isBuffering: boolean;\n isLoaded: boolean;\n isLooping: boolean;\n isPlaying: boolean;\n positionMillis: number;\n};\n\nexport type AVPlaybackStatusToSet = {\n isLooping: boolean;\n isMuted: boolean;\n positionMillis: number;\n progressUpdateIntervalMillis: number;\n rate: number;\n shouldCorrectPitch: boolean;\n shouldPlay: boolean;\n volume: number;\n};\n\nexport let SDK: string;\n\nexport type SoundOptions = {\n basePathOrCallback?: string;\n callback?: () => void;\n filenameOrFile?: string;\n initialStatus?: Partial<AVPlaybackStatusToSet>;\n onPlaybackStatusUpdate?: (playbackStatus: PlaybackStatus) => void;\n source?: { uri: string };\n};\n\nexport type SoundReturnType = {\n paused: boolean;\n testID: string;\n getDuration?: () => number;\n isPlaying?: () => boolean;\n onBuffer?: (props: { isBuffering: boolean }) => void;\n onEnd?: () => void;\n onLoad?: (payload: VideoPayloadData) => void;\n onLoadStart?: () => void;\n onPlaybackStatusUpdate?: (playbackStatus: PlaybackStatus) => void;\n onProgress?: (data: VideoProgressData) => void;\n onReadyForDisplay?: () => void;\n pauseAsync?: () => void;\n play?: () => void;\n playAsync?: () => void;\n replayAsync?: () => void;\n resizeMode?: string;\n seek?: (progress: number) => void;\n setPositionAsync?: (millis: number) => void;\n soundRef?: React.RefObject<SoundReturnType>;\n stopAsync?: () => void;\n style?: StyleProp<ViewStyle>;\n unloadAsync?: () => void;\n uri?: string;\n};\n\nexport type SoundType = {\n initializeSound: (\n source?: { uri: string },\n initialStatus?: Partial<AVPlaybackStatusToSet>,\n onPlaybackStatusUpdate?: (playbackStatus: PlaybackStatus) => void,\n ) => SoundReturnType | null;\n Player: React.ComponentType<SoundReturnType> | null;\n};\n\nexport let Sound: SoundType;\n\nexport type VideoProgressData = {\n currentTime?: number;\n playableDuration?: number;\n seekableDuration?: number;\n};\n\nexport type VideoPayloadData = {\n duration: number;\n audioTracks?: { index: number; language: string; title: string; type: string }[];\n currentPosition?: number;\n naturalSize?: { height: number; orientation: 'portrait' | 'landscape'; width: number };\n textTracks?: { index: number; language: string; title: string; type: string }[];\n videoTracks?: {\n bitrate: number;\n codecs: string;\n height: number;\n trackId: number;\n width: number;\n }[];\n};\n\nexport type VideoType = {\n paused: boolean;\n testID: string;\n uri: string;\n videoRef: React.RefObject<VideoType>;\n onBuffer?: (props: { isBuffering: boolean }) => void;\n onEnd?: () => void;\n onLoad?: (payload: VideoPayloadData) => void;\n onLoadStart?: () => void;\n onPlaybackStatusUpdate?: (playbackStatus: PlaybackStatus) => void;\n onProgress?: (data: VideoProgressData) => void;\n onReadyForDisplay?: () => void;\n replayAsync?: () => void;\n resizeMode?: string;\n seek?: (progress: number) => void;\n setPositionAsync?: (position: number) => void;\n style?: StyleProp<ViewStyle>;\n};\n\nexport let Video: React.ComponentType<VideoType>;\n\ntype Handlers = {\n compressImage?: CompressImage;\n deleteFile?: DeleteFile;\n FlatList?: typeof DefaultFlatList;\n getLocalAssetUri?: GetLocalAssetUri;\n getPhotos?: GetPhotos;\n NetInfo?: NetInfo;\n pickDocument?: PickDocument;\n saveFile?: SaveFile;\n SDK?: string;\n shareImage?: ShareImage;\n Sound?: SoundType;\n takePhoto?: TakePhoto;\n triggerHaptic?: TriggerHaptic;\n Video?: React.ComponentType<VideoType>;\n};\n\nexport const registerNativeHandlers = (handlers: Handlers) => {\n if (handlers.compressImage) {\n compressImage = handlers.compressImage;\n }\n\n if (handlers.deleteFile) {\n deleteFile = handlers.deleteFile;\n }\n\n if (handlers.FlatList) {\n FlatList = handlers.FlatList;\n }\n if (handlers.NetInfo) {\n NetInfo = handlers.NetInfo;\n }\n\n if (handlers.getLocalAssetUri) {\n getLocalAssetUri = handlers.getLocalAssetUri;\n }\n\n if (handlers.getPhotos) {\n getPhotos = handlers.getPhotos;\n }\n\n if (handlers.pickDocument) {\n pickDocument = handlers.pickDocument;\n }\n\n if (handlers.saveFile) {\n saveFile = handlers.saveFile;\n }\n\n if (handlers.SDK) {\n SDK = handlers.SDK;\n }\n\n if (handlers.shareImage) {\n shareImage = handlers.shareImage;\n }\n\n if (handlers.Sound) {\n Sound = handlers.Sound;\n }\n\n if (handlers.takePhoto) {\n takePhoto = handlers.takePhoto;\n }\n\n if (handlers.triggerHaptic) {\n triggerHaptic = handlers.triggerHaptic;\n }\n\n if (handlers.Video) {\n Video = handlers.Video;\n }\n};\n\nexport const isVideoPackageAvailable = () => !!Video;\nexport const isAudioPackageAvailable = () => !!Sound.Player || !!Sound.initializeSound;\n"]}
1
+ {"version":3,"sources":["native.ts"],"names":["fail","Error","compressImage","deleteFile","getLocalAssetUri","getPhotos","FlatList","DefaultFlatList","NetInfo","addEventListener","fetch","pickDocument","saveFile","shareImage","takePhoto","triggerHaptic","SDK","Sound","Video","registerNativeHandlers","handlers","isVideoPackageAvailable","isAudioPackageAvailable","Player","initializeSound"],"mappings":";;;;;AACA;;AAMA,IAAMA,IAAI,GAAG,SAAPA,IAAO,GAAM;AACjB,QAAMC,KAAK,CACT,mGADS,CAAX;AAGD,CAJD;;AAiBO,IAAIC,aAA4B,GAAGF,IAAnC;;AAGA,IAAIG,UAAsB,GAAGH,IAA7B;;AAGA,IAAII,gBAAkC,GAAGJ,IAAzC;;AASA,IAAIK,SAAoB,GAAGL,IAA3B;;AAOA,IAAIM,QAAQ,GAAGC,qBAAf;;AAEA,IAAIC,OAAgB,GAAG;AAC5BC,EAAAA,gBAAgB,EAAET,IADU;AAE5BU,EAAAA,KAAK,EAAEV;AAFqB,CAAvB;;AAWA,IAAIW,YAA0B,GAAGX,IAAjC;;AAOA,IAAIY,QAAkB,GAAGZ,IAAzB;;AAOA,IAAIa,UAAsB,GAAGb,IAA7B;;AASA,IAAIc,SAAoB,GAAGd,IAA3B;;AAWA,IAAIe,aAA4B,GAAGf,IAAnC;;AAwBA,IAAIgB,GAAJ;;AA8CA,IAAIC,KAAJ;;AA2CA,IAAIC,KAAJ;;;AAmBA,IAAMC,sBAAsB,GAAG,SAAzBA,sBAAyB,CAACC,QAAD,EAAwB;AAC5D,MAAIA,QAAQ,CAAClB,aAAb,EAA4B;AAC1B,4BAAAA,aAAa,GAAGkB,QAAQ,CAAClB,aAAzB;AACD;;AAED,MAAIkB,QAAQ,CAACjB,UAAb,EAAyB;AACvB,yBAAAA,UAAU,GAAGiB,QAAQ,CAACjB,UAAtB;AACD;;AAED,MAAIiB,QAAQ,CAACd,QAAb,EAAuB;AACrB,uBAAAA,QAAQ,GAAGc,QAAQ,CAACd,QAApB;AACD;;AACD,MAAIc,QAAQ,CAACZ,OAAb,EAAsB;AACpB,sBAAAA,OAAO,GAAGY,QAAQ,CAACZ,OAAnB;AACD;;AAED,MAAIY,QAAQ,CAAChB,gBAAb,EAA+B;AAC7B,+BAAAA,gBAAgB,GAAGgB,QAAQ,CAAChB,gBAA5B;AACD;;AAED,MAAIgB,QAAQ,CAACf,SAAb,EAAwB;AACtB,wBAAAA,SAAS,GAAGe,QAAQ,CAACf,SAArB;AACD;;AAED,MAAIe,QAAQ,CAACT,YAAb,EAA2B;AACzB,2BAAAA,YAAY,GAAGS,QAAQ,CAACT,YAAxB;AACD;;AAED,MAAIS,QAAQ,CAACR,QAAb,EAAuB;AACrB,uBAAAA,QAAQ,GAAGQ,QAAQ,CAACR,QAApB;AACD;;AAED,MAAIQ,QAAQ,CAACJ,GAAb,EAAkB;AAChB,kBAAAA,GAAG,GAAGI,QAAQ,CAACJ,GAAf;AACD;;AAED,MAAII,QAAQ,CAACP,UAAb,EAAyB;AACvB,yBAAAA,UAAU,GAAGO,QAAQ,CAACP,UAAtB;AACD;;AAED,MAAIO,QAAQ,CAACH,KAAb,EAAoB;AAClB,oBAAAA,KAAK,GAAGG,QAAQ,CAACH,KAAjB;AACD;;AAED,MAAIG,QAAQ,CAACN,SAAb,EAAwB;AACtB,wBAAAA,SAAS,GAAGM,QAAQ,CAACN,SAArB;AACD;;AAED,MAAIM,QAAQ,CAACL,aAAb,EAA4B;AAC1B,4BAAAA,aAAa,GAAGK,QAAQ,CAACL,aAAzB;AACD;;AAED,MAAIK,QAAQ,CAACF,KAAb,EAAoB;AAClB,oBAAAA,KAAK,GAAGE,QAAQ,CAACF,KAAjB;AACD;AACF,CAvDM;;;;AAyDA,IAAMG,uBAAuB,GAAG,SAA1BA,uBAA0B;AAAA,SAAM,CAAC,CAACH,KAAR;AAAA,CAAhC;;;;AACA,IAAMI,uBAAuB,GAAG,SAA1BA,uBAA0B;AAAA,SAAM,CAAC,CAACL,KAAK,CAACM,MAAR,IAAkB,CAAC,CAACN,KAAK,CAACO,eAAhC;AAAA,CAAhC","sourcesContent":["import type React from 'react';\nimport { FlatList as DefaultFlatList, StyleProp, ViewStyle } from 'react-native';\n\nimport type { NetInfoSubscription } from '@react-native-community/netinfo';\n\nimport type { Asset, File } from './types/types';\n\nconst fail = () => {\n throw Error(\n 'Native handler was not registered, you should import stream-chat-expo or stream-chat-react-native',\n );\n};\n\ntype CompressImage = ({\n compressImageQuality,\n height,\n uri,\n width,\n}: {\n compressImageQuality: number;\n height: number;\n uri: string;\n width: number;\n}) => Promise<string> | never;\nexport let compressImage: CompressImage = fail;\n\ntype DeleteFile = ({ uri }: { uri: string }) => Promise<boolean> | never;\nexport let deleteFile: DeleteFile = fail;\n\ntype GetLocalAssetUri = (uriOrAssetId: string) => never;\nexport let getLocalAssetUri: GetLocalAssetUri = fail;\n\ntype GetPhotos = ({ after, first }: { first: number; after?: string }) =>\n | Promise<{\n assets: Array<Omit<Asset, 'source'> & { source: 'picker' }>;\n endCursor: string;\n hasNextPage: boolean;\n }>\n | never;\nexport let getPhotos: GetPhotos = fail;\n\ntype NetInfo = {\n addEventListener: (listener: (isConnected: boolean) => void) => NetInfoSubscription | never;\n fetch: (requestedInterface?: string | undefined) => Promise<boolean> | never;\n};\n\nexport let FlatList = DefaultFlatList;\n\nexport let NetInfo: NetInfo = {\n addEventListener: fail,\n fetch: fail,\n};\n\ntype PickDocument = ({ maxNumberOfFiles }: { maxNumberOfFiles?: number }) =>\n | Promise<{\n cancelled: boolean;\n docs?: File[];\n }>\n | never;\nexport let pickDocument: PickDocument = fail;\n\ntype SaveFileOptions = {\n fileName: string;\n fromUrl: string;\n};\ntype SaveFile = (options: SaveFileOptions) => Promise<string> | never;\nexport let saveFile: SaveFile = fail;\n\ntype ShareOptions = {\n type?: string;\n url?: string;\n};\ntype ShareImage = (options: ShareOptions) => Promise<boolean> | never;\nexport let shareImage: ShareImage = fail;\n\ntype Photo =\n | (Omit<Asset, 'source'> & {\n cancelled: false;\n source: 'camera';\n })\n | { cancelled: true };\ntype TakePhoto = (options: { compressImageQuality?: number }) => Promise<Photo> | never;\nexport let takePhoto: TakePhoto = fail;\n\ntype HapticFeedbackMethod =\n | 'impactHeavy'\n | 'impactLight'\n | 'impactMedium'\n | 'notificationError'\n | 'notificationSuccess'\n | 'notificationWarning'\n | 'selection';\ntype TriggerHaptic = (method: HapticFeedbackMethod) => void | never;\nexport let triggerHaptic: TriggerHaptic = fail;\n\nexport type PlaybackStatus = {\n didJustFinish: boolean;\n durationMillis: number;\n error: string;\n isBuffering: boolean;\n isLoaded: boolean;\n isLooping: boolean;\n isPlaying: boolean;\n positionMillis: number;\n};\n\nexport type AVPlaybackStatusToSet = {\n isLooping: boolean;\n isMuted: boolean;\n positionMillis: number;\n progressUpdateIntervalMillis: number;\n rate: number;\n shouldCorrectPitch: boolean;\n shouldPlay: boolean;\n volume: number;\n};\n\nexport let SDK: string;\n\nexport type SoundOptions = {\n basePathOrCallback?: string;\n callback?: () => void;\n filenameOrFile?: string;\n initialStatus?: Partial<AVPlaybackStatusToSet>;\n onPlaybackStatusUpdate?: (playbackStatus: PlaybackStatus) => void;\n source?: { uri: string };\n};\n\nexport type SoundReturnType = {\n paused: boolean;\n testID: string;\n getDuration?: () => number;\n isPlaying?: () => boolean;\n onBuffer?: (props: { isBuffering: boolean }) => void;\n onEnd?: () => void;\n onLoad?: (payload: VideoPayloadData) => void;\n onLoadStart?: () => void;\n onPlaybackStatusUpdate?: (playbackStatus: PlaybackStatus) => void;\n onProgress?: (data: VideoProgressData) => void;\n onReadyForDisplay?: () => void;\n pauseAsync?: () => void;\n play?: () => void;\n playAsync?: () => void;\n replayAsync?: () => void;\n resizeMode?: string;\n seek?: (progress: number) => void;\n setPositionAsync?: (millis: number) => void;\n soundRef?: React.RefObject<SoundReturnType>;\n stopAsync?: () => void;\n style?: StyleProp<ViewStyle>;\n unloadAsync?: () => void;\n uri?: string;\n};\n\nexport type SoundType = {\n initializeSound: (\n source?: { uri: string },\n initialStatus?: Partial<AVPlaybackStatusToSet>,\n onPlaybackStatusUpdate?: (playbackStatus: PlaybackStatus) => void,\n ) => SoundReturnType | null;\n Player: React.ComponentType<SoundReturnType> | null;\n};\n\nexport let Sound: SoundType;\n\nexport type VideoProgressData = {\n currentTime: number;\n seekableDuration: number;\n playableDuration?: number;\n};\n\nexport type VideoPayloadData = {\n duration: number;\n audioTracks?: { index: number; language: string; title: string; type: string }[];\n currentPosition?: number;\n naturalSize?: { height: number; orientation: 'portrait' | 'landscape'; width: number };\n textTracks?: { index: number; language: string; title: string; type: string }[];\n videoTracks?: {\n bitrate: number;\n codecs: string;\n height: number;\n trackId: number;\n width: number;\n }[];\n};\n\nexport type VideoType = {\n paused: boolean;\n testID: string;\n uri: string;\n videoRef: React.RefObject<VideoType>;\n onBuffer?: (props: { isBuffering: boolean }) => void;\n onEnd?: () => void;\n onLoad?: (payload: VideoPayloadData) => void;\n onLoadStart?: () => void;\n onPlaybackStatusUpdate?: (playbackStatus: PlaybackStatus) => void;\n onProgress?: (data: VideoProgressData) => void;\n onReadyForDisplay?: () => void;\n repeat?: boolean;\n replayAsync?: () => void;\n resizeMode?: string;\n seek?: (progress: number) => void;\n setPositionAsync?: (position: number) => void;\n style?: StyleProp<ViewStyle>;\n};\n\nexport let Video: React.ComponentType<VideoType>;\n\ntype Handlers = {\n compressImage?: CompressImage;\n deleteFile?: DeleteFile;\n FlatList?: typeof DefaultFlatList;\n getLocalAssetUri?: GetLocalAssetUri;\n getPhotos?: GetPhotos;\n NetInfo?: NetInfo;\n pickDocument?: PickDocument;\n saveFile?: SaveFile;\n SDK?: string;\n shareImage?: ShareImage;\n Sound?: SoundType;\n takePhoto?: TakePhoto;\n triggerHaptic?: TriggerHaptic;\n Video?: React.ComponentType<VideoType>;\n};\n\nexport const registerNativeHandlers = (handlers: Handlers) => {\n if (handlers.compressImage) {\n compressImage = handlers.compressImage;\n }\n\n if (handlers.deleteFile) {\n deleteFile = handlers.deleteFile;\n }\n\n if (handlers.FlatList) {\n FlatList = handlers.FlatList;\n }\n if (handlers.NetInfo) {\n NetInfo = handlers.NetInfo;\n }\n\n if (handlers.getLocalAssetUri) {\n getLocalAssetUri = handlers.getLocalAssetUri;\n }\n\n if (handlers.getPhotos) {\n getPhotos = handlers.getPhotos;\n }\n\n if (handlers.pickDocument) {\n pickDocument = handlers.pickDocument;\n }\n\n if (handlers.saveFile) {\n saveFile = handlers.saveFile;\n }\n\n if (handlers.SDK) {\n SDK = handlers.SDK;\n }\n\n if (handlers.shareImage) {\n shareImage = handlers.shareImage;\n }\n\n if (handlers.Sound) {\n Sound = handlers.Sound;\n }\n\n if (handlers.takePhoto) {\n takePhoto = handlers.takePhoto;\n }\n\n if (handlers.triggerHaptic) {\n triggerHaptic = handlers.triggerHaptic;\n }\n\n if (handlers.Video) {\n Video = handlers.Video;\n }\n};\n\nexport const isVideoPackageAvailable = () => !!Video;\nexport const isAudioPackageAvailable = () => !!Sound.Player || !!Sound.initializeSound;\n"]}
@@ -1,3 +1,3 @@
1
1
  {
2
- "version": "5.0.0"
2
+ "version": "5.1.1-beta.1"
3
3
  }
@@ -70,10 +70,13 @@ export declare type Photo<StreamChatGenerics extends DefaultStreamChatGenerics =
70
70
  uri: string;
71
71
  channelId?: string;
72
72
  created_at?: string | Date;
73
+ duration?: number;
73
74
  messageId?: string;
74
75
  mime_type?: string;
75
76
  original_height?: number;
76
77
  original_width?: number;
78
+ paused?: boolean;
79
+ progress?: number;
77
80
  type?: string;
78
81
  user?: UserResponse<StreamChatGenerics> | null;
79
82
  user_id?: string;
@@ -2,11 +2,12 @@ import React from 'react';
2
2
  import { ViewStyle } from 'react-native';
3
3
  import type { StyleProp } from 'react-native';
4
4
  import Animated from 'react-native-reanimated';
5
- import { VideoPayloadData, VideoProgressData, VideoType } from '../../../native';
5
+ import { VideoType } from '../../../native';
6
6
  export declare type AnimatedGalleryVideoType = {
7
+ attachmentId: string;
7
8
  handleEnd: () => void;
8
- handleLoad: (payload: VideoPayloadData) => void;
9
- handleProgress: (data: VideoProgressData) => void;
9
+ handleLoad: (index: string, duration: number) => void;
10
+ handleProgress: (index: string, progress: number, hasEnd?: boolean) => void;
10
11
  index: number;
11
12
  offsetScale: Animated.SharedValue<number>;
12
13
  paused: boolean;
@@ -21,6 +22,7 @@ export declare type AnimatedGalleryVideoType = {
21
22
  translateX: Animated.SharedValue<number>;
22
23
  translateY: Animated.SharedValue<number>;
23
24
  videoRef: React.RefObject<VideoType>;
25
+ repeat?: boolean;
24
26
  style?: StyleProp<ViewStyle>;
25
27
  };
26
28
  export declare const AnimatedGalleryVideo: React.FC<AnimatedGalleryVideoType>;
@@ -11,11 +11,10 @@ export declare type ImageGalleryFooterCustomComponent<StreamChatGenerics extends
11
11
  export declare type ImageGalleryFooterVideoControlProps = {
12
12
  duration: number;
13
13
  onPlayPause: (status?: boolean) => void;
14
- onProgressDrag: (progress: number) => void;
15
14
  paused: boolean;
16
15
  progress: number;
17
16
  };
18
- export declare type ImageGalleryFooterVideoControlComponent = ({ duration, onPlayPause, onProgressDrag, paused, progress, }: ImageGalleryFooterVideoControlProps) => React.ReactElement | null;
17
+ export declare type ImageGalleryFooterVideoControlComponent = ({ duration, onPlayPause, paused, progress, }: ImageGalleryFooterVideoControlProps) => React.ReactElement | null;
19
18
  export declare type ImageGalleryFooterCustomComponentProps<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = {
20
19
  centerElement?: ImageGalleryFooterCustomComponent<StreamChatGenerics>;
21
20
  GridIcon?: React.ReactElement;
@@ -28,7 +27,6 @@ declare type ImageGalleryFooterPropsWithContext<StreamChatGenerics extends Defau
28
27
  accessibilityLabel: string;
29
28
  duration: number;
30
29
  onPlayPause: () => void;
31
- onProgressDrag: (progress: number) => void;
32
30
  opacity: Animated.SharedValue<number>;
33
31
  openGridView: () => void;
34
32
  paused: boolean;
@@ -3,9 +3,9 @@ export declare type ProgressControlProps = {
3
3
  duration: number;
4
4
  filledColor: string;
5
5
  onPlayPause: (status?: boolean) => void;
6
- onProgressDrag: (progress: number) => void;
7
6
  progress: number;
8
7
  testID: string;
9
8
  width: number;
9
+ onProgressDrag?: (progress: number) => void;
10
10
  };
11
11
  export declare const ProgressControl: React.FC<ProgressControlProps>;
@@ -263,6 +263,7 @@ export declare type Theme = {
263
263
  };
264
264
  imageUploadPreview: {
265
265
  dismiss: ViewStyle;
266
+ dismissIconColor: Color;
266
267
  flatList: ViewStyle;
267
268
  itemContainer: ViewStyle;
268
269
  upload: ImageStyle;
@@ -130,9 +130,9 @@ export declare type SoundType = {
130
130
  };
131
131
  export declare let Sound: SoundType;
132
132
  export declare type VideoProgressData = {
133
- currentTime?: number;
133
+ currentTime: number;
134
+ seekableDuration: number;
134
135
  playableDuration?: number;
135
- seekableDuration?: number;
136
136
  };
137
137
  export declare type VideoPayloadData = {
138
138
  duration: number;
@@ -176,6 +176,7 @@ export declare type VideoType = {
176
176
  onPlaybackStatusUpdate?: (playbackStatus: PlaybackStatus) => void;
177
177
  onProgress?: (data: VideoProgressData) => void;
178
178
  onReadyForDisplay?: () => void;
179
+ repeat?: boolean;
179
180
  replayAsync?: () => void;
180
181
  resizeMode?: string;
181
182
  seek?: (progress: number) => void;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "stream-chat-react-native-core",
3
3
  "description": "The official React Native and Expo components for Stream Chat, a service for building chat applications",
4
- "version": "5.0.0",
4
+ "version": "5.1.1-beta.1",
5
5
  "author": {
6
6
  "company": "Stream.io Inc",
7
7
  "name": "Stream.io Inc"