stream-chat-react-native-core 9.4.0-beta.11 → 9.4.0-beta.13

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 (388) hide show
  1. package/lib/commonjs/components/ChannelDetails/ChannelDetails.js +8 -3
  2. package/lib/commonjs/components/ChannelDetails/ChannelDetails.js.map +1 -1
  3. package/lib/commonjs/components/ChannelDetails/components/ChannelDetailsActionItem.js +2 -1
  4. package/lib/commonjs/components/ChannelDetails/components/ChannelDetailsActionItem.js.map +1 -1
  5. package/lib/commonjs/components/ChannelDetails/components/ChannelDetailsEditButton.js +57 -0
  6. package/lib/commonjs/components/ChannelDetails/components/ChannelDetailsEditButton.js.map +1 -0
  7. package/lib/commonjs/components/ChannelDetails/components/ChannelDetailsNavHeader.js +3 -32
  8. package/lib/commonjs/components/ChannelDetails/components/ChannelDetailsNavHeader.js.map +1 -1
  9. package/lib/commonjs/components/ChannelDetails/components/ChannelDetailsNavigationSection.js +64 -25
  10. package/lib/commonjs/components/ChannelDetails/components/ChannelDetailsNavigationSection.js.map +1 -1
  11. package/lib/commonjs/components/ChannelDetails/components/ChannelDetailsProfile.js +3 -2
  12. package/lib/commonjs/components/ChannelDetails/components/ChannelDetailsProfile.js.map +1 -1
  13. package/lib/commonjs/components/ChannelDetails/components/ChannelEditImageSheet.js +2 -2
  14. package/lib/commonjs/components/ChannelDetails/components/ChannelEditImageSheet.js.map +1 -1
  15. package/lib/commonjs/components/ChannelDetails/components/index.js +22 -0
  16. package/lib/commonjs/components/ChannelDetails/components/index.js.map +1 -1
  17. package/lib/commonjs/components/ChannelDetails/components/members/ChannelMemberItem.js +2 -1
  18. package/lib/commonjs/components/ChannelDetails/components/members/ChannelMemberItem.js.map +1 -1
  19. package/lib/commonjs/components/ChannelDetails/components/modal/Modal.js +22 -23
  20. package/lib/commonjs/components/ChannelDetails/components/modal/Modal.js.map +1 -1
  21. package/lib/commonjs/components/ChannelDetails/components/modal/ModalHeader.js +6 -4
  22. package/lib/commonjs/components/ChannelDetails/components/modal/ModalHeader.js.map +1 -1
  23. package/lib/commonjs/components/ChannelDetails/components/navigation-section/FileAttachmentItem.js +65 -0
  24. package/lib/commonjs/components/ChannelDetails/components/navigation-section/FileAttachmentItem.js.map +1 -0
  25. package/lib/commonjs/components/ChannelDetails/components/navigation-section/FileAttachmentList.js +174 -0
  26. package/lib/commonjs/components/ChannelDetails/components/navigation-section/FileAttachmentList.js.map +1 -0
  27. package/lib/commonjs/components/ChannelDetails/components/navigation-section/FileAttachmentListLoadingSkeleton.js +21 -0
  28. package/lib/commonjs/components/ChannelDetails/components/navigation-section/FileAttachmentListLoadingSkeleton.js.map +1 -0
  29. package/lib/commonjs/components/ChannelDetails/components/navigation-section/FileAttachmentListSectionHeader.js +45 -0
  30. package/lib/commonjs/components/ChannelDetails/components/navigation-section/FileAttachmentListSectionHeader.js.map +1 -0
  31. package/lib/commonjs/components/ChannelDetails/components/navigation-section/MediaItem.js +120 -0
  32. package/lib/commonjs/components/ChannelDetails/components/navigation-section/MediaItem.js.map +1 -0
  33. package/lib/commonjs/components/ChannelDetails/components/navigation-section/MediaList.js +206 -0
  34. package/lib/commonjs/components/ChannelDetails/components/navigation-section/MediaList.js.map +1 -0
  35. package/lib/commonjs/components/ChannelDetails/components/navigation-section/MediaListLoadingSkeleton.js +63 -0
  36. package/lib/commonjs/components/ChannelDetails/components/navigation-section/MediaListLoadingSkeleton.js.map +1 -0
  37. package/lib/commonjs/components/ChannelDetails/components/navigation-section/PinnedMessageItem.js +84 -0
  38. package/lib/commonjs/components/ChannelDetails/components/navigation-section/PinnedMessageItem.js.map +1 -0
  39. package/lib/commonjs/components/ChannelDetails/components/navigation-section/PinnedMessageList.js +177 -0
  40. package/lib/commonjs/components/ChannelDetails/components/navigation-section/PinnedMessageList.js.map +1 -0
  41. package/lib/commonjs/components/ChannelDetails/components/navigation-section/PinnedMessageListLoadingSkeleton.js +21 -0
  42. package/lib/commonjs/components/ChannelDetails/components/navigation-section/PinnedMessageListLoadingSkeleton.js.map +1 -0
  43. package/lib/commonjs/components/ChannelDetails/components/navigation-section/index.js +114 -0
  44. package/lib/commonjs/components/ChannelDetails/components/navigation-section/index.js.map +1 -0
  45. package/lib/commonjs/components/ChannelDetails/hooks/index.js +33 -0
  46. package/lib/commonjs/components/ChannelDetails/hooks/index.js.map +1 -1
  47. package/lib/commonjs/components/ChannelDetails/hooks/useChannelDetailsNavigationItems.js +55 -0
  48. package/lib/commonjs/components/ChannelDetails/hooks/useChannelDetailsNavigationItems.js.map +1 -0
  49. package/lib/commonjs/components/ChannelDetails/hooks/useFileAttachmentListSections.js +52 -0
  50. package/lib/commonjs/components/ChannelDetails/hooks/useFileAttachmentListSections.js.map +1 -0
  51. package/lib/commonjs/components/ChannelDetails/hooks/useMediaList.js +30 -0
  52. package/lib/commonjs/components/ChannelDetails/hooks/useMediaList.js.map +1 -0
  53. package/lib/commonjs/components/ImageGallery/ImageGallery.js +21 -76
  54. package/lib/commonjs/components/ImageGallery/ImageGallery.js.map +1 -1
  55. package/lib/commonjs/components/ImageGallery/components/AnimatedGalleryImage.js +6 -10
  56. package/lib/commonjs/components/ImageGallery/components/AnimatedGalleryImage.js.map +1 -1
  57. package/lib/commonjs/components/ImageGallery/components/AnimatedGalleryVideo.js +16 -14
  58. package/lib/commonjs/components/ImageGallery/components/AnimatedGalleryVideo.js.map +1 -1
  59. package/lib/commonjs/components/ImageGallery/components/ImageGalleryA11yProbe.js +67 -0
  60. package/lib/commonjs/components/ImageGallery/components/ImageGalleryA11yProbe.js.map +1 -0
  61. package/lib/commonjs/components/ImageGallery/components/ImageGalleryHeader.js +23 -15
  62. package/lib/commonjs/components/ImageGallery/components/ImageGalleryHeader.js.map +1 -1
  63. package/lib/commonjs/components/ImageGallery/hooks/useAnimatedGalleryStyle.js +4 -3
  64. package/lib/commonjs/components/ImageGallery/hooks/useAnimatedGalleryStyle.js.map +1 -1
  65. package/lib/commonjs/components/ImageGallery/hooks/useCurrentImageHeight.js +53 -0
  66. package/lib/commonjs/components/ImageGallery/hooks/useCurrentImageHeight.js.map +1 -0
  67. package/lib/commonjs/components/ImageGallery/hooks/useImageGalleryGestures.js +25 -31
  68. package/lib/commonjs/components/ImageGallery/hooks/useImageGalleryGestures.js.map +1 -1
  69. package/lib/commonjs/components/UIComponents/EmptyList.js +78 -0
  70. package/lib/commonjs/components/UIComponents/EmptyList.js.map +1 -0
  71. package/lib/commonjs/components/UIComponents/index.js +11 -0
  72. package/lib/commonjs/components/UIComponents/index.js.map +1 -1
  73. package/lib/commonjs/components/ui/Avatar/AvatarGroup.js +3 -3
  74. package/lib/commonjs/components/ui/Avatar/constants.js +2 -2
  75. package/lib/commonjs/contexts/channelFileAttachmentListContext/ChannelFileAttachmentListContext.js +64 -0
  76. package/lib/commonjs/contexts/channelFileAttachmentListContext/ChannelFileAttachmentListContext.js.map +1 -0
  77. package/lib/commonjs/contexts/channelMediaListContext/ChannelMediaListContext.js +63 -0
  78. package/lib/commonjs/contexts/channelMediaListContext/ChannelMediaListContext.js.map +1 -0
  79. package/lib/commonjs/contexts/channelPinnedMessageListContext/ChannelPinnedMessageListContext.js +73 -0
  80. package/lib/commonjs/contexts/channelPinnedMessageListContext/ChannelPinnedMessageListContext.js.map +1 -0
  81. package/lib/commonjs/contexts/componentsContext/defaultComponents.js +8 -0
  82. package/lib/commonjs/contexts/componentsContext/defaultComponents.js.map +1 -1
  83. package/lib/commonjs/contexts/index.js +33 -0
  84. package/lib/commonjs/contexts/index.js.map +1 -1
  85. package/lib/commonjs/contexts/themeContext/utils/theme.js +57 -2
  86. package/lib/commonjs/contexts/themeContext/utils/theme.js.map +1 -1
  87. package/lib/commonjs/i18n/ar.json +11 -0
  88. package/lib/commonjs/i18n/en.json +11 -0
  89. package/lib/commonjs/i18n/es.json +11 -0
  90. package/lib/commonjs/i18n/fr.json +11 -0
  91. package/lib/commonjs/i18n/he.json +11 -0
  92. package/lib/commonjs/i18n/hi.json +11 -0
  93. package/lib/commonjs/i18n/it.json +11 -0
  94. package/lib/commonjs/i18n/ja.json +11 -0
  95. package/lib/commonjs/i18n/ko.json +11 -0
  96. package/lib/commonjs/i18n/nl.json +11 -0
  97. package/lib/commonjs/i18n/pt-br.json +11 -0
  98. package/lib/commonjs/i18n/ru.json +11 -0
  99. package/lib/commonjs/i18n/tr.json +11 -0
  100. package/lib/commonjs/icons/folder.js +37 -0
  101. package/lib/commonjs/icons/folder.js.map +1 -0
  102. package/lib/commonjs/icons/index.js +12 -0
  103. package/lib/commonjs/icons/index.js.map +1 -1
  104. package/lib/commonjs/state-store/image-gallery-state-store.js +12 -3
  105. package/lib/commonjs/state-store/image-gallery-state-store.js.map +1 -1
  106. package/lib/commonjs/version.json +1 -1
  107. package/lib/module/components/ChannelDetails/ChannelDetails.js +8 -3
  108. package/lib/module/components/ChannelDetails/ChannelDetails.js.map +1 -1
  109. package/lib/module/components/ChannelDetails/components/ChannelDetailsActionItem.js +2 -1
  110. package/lib/module/components/ChannelDetails/components/ChannelDetailsActionItem.js.map +1 -1
  111. package/lib/module/components/ChannelDetails/components/ChannelDetailsEditButton.js +57 -0
  112. package/lib/module/components/ChannelDetails/components/ChannelDetailsEditButton.js.map +1 -0
  113. package/lib/module/components/ChannelDetails/components/ChannelDetailsNavHeader.js +3 -32
  114. package/lib/module/components/ChannelDetails/components/ChannelDetailsNavHeader.js.map +1 -1
  115. package/lib/module/components/ChannelDetails/components/ChannelDetailsNavigationSection.js +64 -25
  116. package/lib/module/components/ChannelDetails/components/ChannelDetailsNavigationSection.js.map +1 -1
  117. package/lib/module/components/ChannelDetails/components/ChannelDetailsProfile.js +3 -2
  118. package/lib/module/components/ChannelDetails/components/ChannelDetailsProfile.js.map +1 -1
  119. package/lib/module/components/ChannelDetails/components/ChannelEditImageSheet.js +2 -2
  120. package/lib/module/components/ChannelDetails/components/ChannelEditImageSheet.js.map +1 -1
  121. package/lib/module/components/ChannelDetails/components/index.js +22 -0
  122. package/lib/module/components/ChannelDetails/components/index.js.map +1 -1
  123. package/lib/module/components/ChannelDetails/components/members/ChannelMemberItem.js +2 -1
  124. package/lib/module/components/ChannelDetails/components/members/ChannelMemberItem.js.map +1 -1
  125. package/lib/module/components/ChannelDetails/components/modal/Modal.js +22 -23
  126. package/lib/module/components/ChannelDetails/components/modal/Modal.js.map +1 -1
  127. package/lib/module/components/ChannelDetails/components/modal/ModalHeader.js +6 -4
  128. package/lib/module/components/ChannelDetails/components/modal/ModalHeader.js.map +1 -1
  129. package/lib/module/components/ChannelDetails/components/navigation-section/FileAttachmentItem.js +65 -0
  130. package/lib/module/components/ChannelDetails/components/navigation-section/FileAttachmentItem.js.map +1 -0
  131. package/lib/module/components/ChannelDetails/components/navigation-section/FileAttachmentList.js +174 -0
  132. package/lib/module/components/ChannelDetails/components/navigation-section/FileAttachmentList.js.map +1 -0
  133. package/lib/module/components/ChannelDetails/components/navigation-section/FileAttachmentListLoadingSkeleton.js +21 -0
  134. package/lib/module/components/ChannelDetails/components/navigation-section/FileAttachmentListLoadingSkeleton.js.map +1 -0
  135. package/lib/module/components/ChannelDetails/components/navigation-section/FileAttachmentListSectionHeader.js +45 -0
  136. package/lib/module/components/ChannelDetails/components/navigation-section/FileAttachmentListSectionHeader.js.map +1 -0
  137. package/lib/module/components/ChannelDetails/components/navigation-section/MediaItem.js +120 -0
  138. package/lib/module/components/ChannelDetails/components/navigation-section/MediaItem.js.map +1 -0
  139. package/lib/module/components/ChannelDetails/components/navigation-section/MediaList.js +206 -0
  140. package/lib/module/components/ChannelDetails/components/navigation-section/MediaList.js.map +1 -0
  141. package/lib/module/components/ChannelDetails/components/navigation-section/MediaListLoadingSkeleton.js +63 -0
  142. package/lib/module/components/ChannelDetails/components/navigation-section/MediaListLoadingSkeleton.js.map +1 -0
  143. package/lib/module/components/ChannelDetails/components/navigation-section/PinnedMessageItem.js +84 -0
  144. package/lib/module/components/ChannelDetails/components/navigation-section/PinnedMessageItem.js.map +1 -0
  145. package/lib/module/components/ChannelDetails/components/navigation-section/PinnedMessageList.js +177 -0
  146. package/lib/module/components/ChannelDetails/components/navigation-section/PinnedMessageList.js.map +1 -0
  147. package/lib/module/components/ChannelDetails/components/navigation-section/PinnedMessageListLoadingSkeleton.js +21 -0
  148. package/lib/module/components/ChannelDetails/components/navigation-section/PinnedMessageListLoadingSkeleton.js.map +1 -0
  149. package/lib/module/components/ChannelDetails/components/navigation-section/index.js +114 -0
  150. package/lib/module/components/ChannelDetails/components/navigation-section/index.js.map +1 -0
  151. package/lib/module/components/ChannelDetails/hooks/index.js +33 -0
  152. package/lib/module/components/ChannelDetails/hooks/index.js.map +1 -1
  153. package/lib/module/components/ChannelDetails/hooks/useChannelDetailsNavigationItems.js +55 -0
  154. package/lib/module/components/ChannelDetails/hooks/useChannelDetailsNavigationItems.js.map +1 -0
  155. package/lib/module/components/ChannelDetails/hooks/useFileAttachmentListSections.js +52 -0
  156. package/lib/module/components/ChannelDetails/hooks/useFileAttachmentListSections.js.map +1 -0
  157. package/lib/module/components/ChannelDetails/hooks/useMediaList.js +30 -0
  158. package/lib/module/components/ChannelDetails/hooks/useMediaList.js.map +1 -0
  159. package/lib/module/components/ImageGallery/ImageGallery.js +21 -76
  160. package/lib/module/components/ImageGallery/ImageGallery.js.map +1 -1
  161. package/lib/module/components/ImageGallery/components/AnimatedGalleryImage.js +6 -10
  162. package/lib/module/components/ImageGallery/components/AnimatedGalleryImage.js.map +1 -1
  163. package/lib/module/components/ImageGallery/components/AnimatedGalleryVideo.js +16 -14
  164. package/lib/module/components/ImageGallery/components/AnimatedGalleryVideo.js.map +1 -1
  165. package/lib/module/components/ImageGallery/components/ImageGalleryA11yProbe.js +67 -0
  166. package/lib/module/components/ImageGallery/components/ImageGalleryA11yProbe.js.map +1 -0
  167. package/lib/module/components/ImageGallery/components/ImageGalleryHeader.js +23 -15
  168. package/lib/module/components/ImageGallery/components/ImageGalleryHeader.js.map +1 -1
  169. package/lib/module/components/ImageGallery/hooks/useAnimatedGalleryStyle.js +4 -3
  170. package/lib/module/components/ImageGallery/hooks/useAnimatedGalleryStyle.js.map +1 -1
  171. package/lib/module/components/ImageGallery/hooks/useCurrentImageHeight.js +53 -0
  172. package/lib/module/components/ImageGallery/hooks/useCurrentImageHeight.js.map +1 -0
  173. package/lib/module/components/ImageGallery/hooks/useImageGalleryGestures.js +25 -31
  174. package/lib/module/components/ImageGallery/hooks/useImageGalleryGestures.js.map +1 -1
  175. package/lib/module/components/UIComponents/EmptyList.js +78 -0
  176. package/lib/module/components/UIComponents/EmptyList.js.map +1 -0
  177. package/lib/module/components/UIComponents/index.js +11 -0
  178. package/lib/module/components/UIComponents/index.js.map +1 -1
  179. package/lib/module/components/ui/Avatar/AvatarGroup.js +3 -3
  180. package/lib/module/components/ui/Avatar/constants.js +2 -2
  181. package/lib/module/contexts/channelFileAttachmentListContext/ChannelFileAttachmentListContext.js +64 -0
  182. package/lib/module/contexts/channelFileAttachmentListContext/ChannelFileAttachmentListContext.js.map +1 -0
  183. package/lib/module/contexts/channelMediaListContext/ChannelMediaListContext.js +63 -0
  184. package/lib/module/contexts/channelMediaListContext/ChannelMediaListContext.js.map +1 -0
  185. package/lib/module/contexts/channelPinnedMessageListContext/ChannelPinnedMessageListContext.js +73 -0
  186. package/lib/module/contexts/channelPinnedMessageListContext/ChannelPinnedMessageListContext.js.map +1 -0
  187. package/lib/module/contexts/componentsContext/defaultComponents.js +8 -0
  188. package/lib/module/contexts/componentsContext/defaultComponents.js.map +1 -1
  189. package/lib/module/contexts/index.js +33 -0
  190. package/lib/module/contexts/index.js.map +1 -1
  191. package/lib/module/contexts/themeContext/utils/theme.js +57 -2
  192. package/lib/module/contexts/themeContext/utils/theme.js.map +1 -1
  193. package/lib/module/i18n/ar.json +11 -0
  194. package/lib/module/i18n/en.json +11 -0
  195. package/lib/module/i18n/es.json +11 -0
  196. package/lib/module/i18n/fr.json +11 -0
  197. package/lib/module/i18n/he.json +11 -0
  198. package/lib/module/i18n/hi.json +11 -0
  199. package/lib/module/i18n/it.json +11 -0
  200. package/lib/module/i18n/ja.json +11 -0
  201. package/lib/module/i18n/ko.json +11 -0
  202. package/lib/module/i18n/nl.json +11 -0
  203. package/lib/module/i18n/pt-br.json +11 -0
  204. package/lib/module/i18n/ru.json +11 -0
  205. package/lib/module/i18n/tr.json +11 -0
  206. package/lib/module/icons/folder.js +37 -0
  207. package/lib/module/icons/folder.js.map +1 -0
  208. package/lib/module/icons/index.js +12 -0
  209. package/lib/module/icons/index.js.map +1 -1
  210. package/lib/module/state-store/image-gallery-state-store.js +12 -3
  211. package/lib/module/state-store/image-gallery-state-store.js.map +1 -1
  212. package/lib/module/version.json +1 -1
  213. package/lib/typescript/components/ChannelDetails/ChannelDetails.d.ts +11 -1
  214. package/lib/typescript/components/ChannelDetails/ChannelDetails.d.ts.map +1 -1
  215. package/lib/typescript/components/ChannelDetails/components/ChannelDetailsActionItem.d.ts.map +1 -1
  216. package/lib/typescript/components/ChannelDetails/components/ChannelDetailsEditButton.d.ts +6 -0
  217. package/lib/typescript/components/ChannelDetails/components/ChannelDetailsEditButton.d.ts.map +1 -0
  218. package/lib/typescript/components/ChannelDetails/components/ChannelDetailsNavHeader.d.ts +3 -1
  219. package/lib/typescript/components/ChannelDetails/components/ChannelDetailsNavHeader.d.ts.map +1 -1
  220. package/lib/typescript/components/ChannelDetails/components/ChannelDetailsNavigationSection.d.ts.map +1 -1
  221. package/lib/typescript/components/ChannelDetails/components/index.d.ts +3 -0
  222. package/lib/typescript/components/ChannelDetails/components/index.d.ts.map +1 -1
  223. package/lib/typescript/components/ChannelDetails/components/members/ChannelMemberItem.d.ts.map +1 -1
  224. package/lib/typescript/components/ChannelDetails/components/modal/Modal.d.ts +2 -1
  225. package/lib/typescript/components/ChannelDetails/components/modal/Modal.d.ts.map +1 -1
  226. package/lib/typescript/components/ChannelDetails/components/modal/ModalHeader.d.ts +3 -1
  227. package/lib/typescript/components/ChannelDetails/components/modal/ModalHeader.d.ts.map +1 -1
  228. package/lib/typescript/components/ChannelDetails/components/navigation-section/FileAttachmentItem.d.ts +31 -0
  229. package/lib/typescript/components/ChannelDetails/components/navigation-section/FileAttachmentItem.d.ts.map +1 -0
  230. package/lib/typescript/components/ChannelDetails/components/navigation-section/FileAttachmentList.d.ts +17 -0
  231. package/lib/typescript/components/ChannelDetails/components/navigation-section/FileAttachmentList.d.ts.map +1 -0
  232. package/lib/typescript/components/ChannelDetails/components/navigation-section/FileAttachmentListLoadingSkeleton.d.ts +9 -0
  233. package/lib/typescript/components/ChannelDetails/components/navigation-section/FileAttachmentListLoadingSkeleton.d.ts.map +1 -0
  234. package/lib/typescript/components/ChannelDetails/components/navigation-section/FileAttachmentListSectionHeader.d.ts +13 -0
  235. package/lib/typescript/components/ChannelDetails/components/navigation-section/FileAttachmentListSectionHeader.d.ts.map +1 -0
  236. package/lib/typescript/components/ChannelDetails/components/navigation-section/MediaItem.d.ts +35 -0
  237. package/lib/typescript/components/ChannelDetails/components/navigation-section/MediaItem.d.ts.map +1 -0
  238. package/lib/typescript/components/ChannelDetails/components/navigation-section/MediaList.d.ts +17 -0
  239. package/lib/typescript/components/ChannelDetails/components/navigation-section/MediaList.d.ts.map +1 -0
  240. package/lib/typescript/components/ChannelDetails/components/navigation-section/MediaListLoadingSkeleton.d.ts +11 -0
  241. package/lib/typescript/components/ChannelDetails/components/navigation-section/MediaListLoadingSkeleton.d.ts.map +1 -0
  242. package/lib/typescript/components/ChannelDetails/components/navigation-section/PinnedMessageItem.d.ts +19 -0
  243. package/lib/typescript/components/ChannelDetails/components/navigation-section/PinnedMessageItem.d.ts.map +1 -0
  244. package/lib/typescript/components/ChannelDetails/components/navigation-section/PinnedMessageList.d.ts +19 -0
  245. package/lib/typescript/components/ChannelDetails/components/navigation-section/PinnedMessageList.d.ts.map +1 -0
  246. package/lib/typescript/components/ChannelDetails/components/navigation-section/PinnedMessageListLoadingSkeleton.d.ts +9 -0
  247. package/lib/typescript/components/ChannelDetails/components/navigation-section/PinnedMessageListLoadingSkeleton.d.ts.map +1 -0
  248. package/lib/typescript/components/ChannelDetails/components/navigation-section/index.d.ts +11 -0
  249. package/lib/typescript/components/ChannelDetails/components/navigation-section/index.d.ts.map +1 -0
  250. package/lib/typescript/components/ChannelDetails/hooks/index.d.ts +3 -0
  251. package/lib/typescript/components/ChannelDetails/hooks/index.d.ts.map +1 -1
  252. package/lib/typescript/components/ChannelDetails/hooks/useChannelDetailsNavigationItems.d.ts +56 -0
  253. package/lib/typescript/components/ChannelDetails/hooks/useChannelDetailsNavigationItems.d.ts.map +1 -0
  254. package/lib/typescript/components/ChannelDetails/hooks/useFileAttachmentListSections.d.ts +28 -0
  255. package/lib/typescript/components/ChannelDetails/hooks/useFileAttachmentListSections.d.ts.map +1 -0
  256. package/lib/typescript/components/ChannelDetails/hooks/useMediaList.d.ts +20 -0
  257. package/lib/typescript/components/ChannelDetails/hooks/useMediaList.d.ts.map +1 -0
  258. package/lib/typescript/components/ImageGallery/ImageGallery.d.ts.map +1 -1
  259. package/lib/typescript/components/ImageGallery/components/AnimatedGalleryImage.d.ts.map +1 -1
  260. package/lib/typescript/components/ImageGallery/components/AnimatedGalleryVideo.d.ts +1 -4
  261. package/lib/typescript/components/ImageGallery/components/AnimatedGalleryVideo.d.ts.map +1 -1
  262. package/lib/typescript/components/ImageGallery/components/ImageGalleryA11yProbe.d.ts +20 -0
  263. package/lib/typescript/components/ImageGallery/components/ImageGalleryA11yProbe.d.ts.map +1 -0
  264. package/lib/typescript/components/ImageGallery/components/ImageGalleryHeader.d.ts.map +1 -1
  265. package/lib/typescript/components/ImageGallery/hooks/useAnimatedGalleryStyle.d.ts +2 -3
  266. package/lib/typescript/components/ImageGallery/hooks/useAnimatedGalleryStyle.d.ts.map +1 -1
  267. package/lib/typescript/components/ImageGallery/hooks/useCurrentImageHeight.d.ts +24 -0
  268. package/lib/typescript/components/ImageGallery/hooks/useCurrentImageHeight.d.ts.map +1 -0
  269. package/lib/typescript/components/ImageGallery/hooks/useImageGalleryGestures.d.ts +1 -1
  270. package/lib/typescript/components/ImageGallery/hooks/useImageGalleryGestures.d.ts.map +1 -1
  271. package/lib/typescript/components/UIComponents/EmptyList.d.ts +24 -0
  272. package/lib/typescript/components/UIComponents/EmptyList.d.ts.map +1 -0
  273. package/lib/typescript/components/UIComponents/index.d.ts +1 -0
  274. package/lib/typescript/components/UIComponents/index.d.ts.map +1 -1
  275. package/lib/typescript/contexts/channelFileAttachmentListContext/ChannelFileAttachmentListContext.d.ts +21 -0
  276. package/lib/typescript/contexts/channelFileAttachmentListContext/ChannelFileAttachmentListContext.d.ts.map +1 -0
  277. package/lib/typescript/contexts/channelMediaListContext/ChannelMediaListContext.d.ts +21 -0
  278. package/lib/typescript/contexts/channelMediaListContext/ChannelMediaListContext.d.ts.map +1 -0
  279. package/lib/typescript/contexts/channelPinnedMessageListContext/ChannelPinnedMessageListContext.d.ts +21 -0
  280. package/lib/typescript/contexts/channelPinnedMessageListContext/ChannelPinnedMessageListContext.d.ts.map +1 -0
  281. package/lib/typescript/contexts/componentsContext/defaultComponents.d.ts +18 -2
  282. package/lib/typescript/contexts/componentsContext/defaultComponents.d.ts.map +1 -1
  283. package/lib/typescript/contexts/index.d.ts +3 -0
  284. package/lib/typescript/contexts/index.d.ts.map +1 -1
  285. package/lib/typescript/contexts/themeContext/ThemeContext.d.ts +56 -1
  286. package/lib/typescript/contexts/themeContext/ThemeContext.d.ts.map +1 -1
  287. package/lib/typescript/contexts/themeContext/utils/theme.d.ts +56 -1
  288. package/lib/typescript/contexts/themeContext/utils/theme.d.ts.map +1 -1
  289. package/lib/typescript/i18n/ar.json +11 -0
  290. package/lib/typescript/i18n/en.json +11 -0
  291. package/lib/typescript/i18n/es.json +11 -0
  292. package/lib/typescript/i18n/fr.json +11 -0
  293. package/lib/typescript/i18n/he.json +11 -0
  294. package/lib/typescript/i18n/hi.json +11 -0
  295. package/lib/typescript/i18n/it.json +11 -0
  296. package/lib/typescript/i18n/ja.json +11 -0
  297. package/lib/typescript/i18n/ko.json +11 -0
  298. package/lib/typescript/i18n/nl.json +11 -0
  299. package/lib/typescript/i18n/pt-br.json +11 -0
  300. package/lib/typescript/i18n/ru.json +11 -0
  301. package/lib/typescript/i18n/tr.json +11 -0
  302. package/lib/typescript/icons/folder.d.ts +4 -0
  303. package/lib/typescript/icons/folder.d.ts.map +1 -0
  304. package/lib/typescript/icons/index.d.ts +1 -0
  305. package/lib/typescript/icons/index.d.ts.map +1 -1
  306. package/lib/typescript/state-store/image-gallery-state-store.d.ts +8 -0
  307. package/lib/typescript/state-store/image-gallery-state-store.d.ts.map +1 -1
  308. package/lib/typescript/utils/i18n/Streami18n.d.ts +11 -0
  309. package/lib/typescript/utils/i18n/Streami18n.d.ts.map +1 -1
  310. package/package.json +1 -1
  311. package/src/components/ChannelDetails/ChannelDetails.tsx +17 -2
  312. package/src/components/ChannelDetails/__tests__/ChannelDetails.test.tsx +29 -0
  313. package/src/components/ChannelDetails/__tests__/ChannelDetailsEditButton.test.tsx +127 -0
  314. package/src/components/ChannelDetails/__tests__/ChannelDetailsNavHeader.test.tsx +21 -56
  315. package/src/components/ChannelDetails/__tests__/ChannelDetailsNavigationSection.test.tsx +225 -6
  316. package/src/components/ChannelDetails/__tests__/useFileAttachmentListSections.test.tsx +159 -0
  317. package/src/components/ChannelDetails/__tests__/useMediaList.test.tsx +53 -0
  318. package/src/components/ChannelDetails/components/ChannelDetailsActionItem.tsx +6 -1
  319. package/src/components/ChannelDetails/components/ChannelDetailsEditButton.tsx +50 -0
  320. package/src/components/ChannelDetails/components/ChannelDetailsNavHeader.tsx +6 -33
  321. package/src/components/ChannelDetails/components/ChannelDetailsNavigationSection.tsx +80 -32
  322. package/src/components/ChannelDetails/components/ChannelDetailsProfile.tsx +2 -1
  323. package/src/components/ChannelDetails/components/ChannelEditImageSheet.tsx +2 -2
  324. package/src/components/ChannelDetails/components/__tests__/navigation-section/FileAttachmentItem.test.tsx +80 -0
  325. package/src/components/ChannelDetails/components/__tests__/navigation-section/FileAttachmentList.test.tsx +334 -0
  326. package/src/components/ChannelDetails/components/__tests__/navigation-section/FileAttachmentListSectionHeader.test.tsx +19 -0
  327. package/src/components/ChannelDetails/components/__tests__/navigation-section/MediaItem.test.tsx +97 -0
  328. package/src/components/ChannelDetails/components/__tests__/navigation-section/MediaList.test.tsx +351 -0
  329. package/src/components/ChannelDetails/components/__tests__/navigation-section/PinnedMessageItem.test.tsx +112 -0
  330. package/src/components/ChannelDetails/components/__tests__/navigation-section/PinnedMessageList.test.tsx +324 -0
  331. package/src/components/ChannelDetails/components/index.ts +3 -0
  332. package/src/components/ChannelDetails/components/members/ChannelMemberItem.tsx +6 -1
  333. package/src/components/ChannelDetails/components/modal/Modal.tsx +37 -24
  334. package/src/components/ChannelDetails/components/modal/ModalHeader.tsx +11 -4
  335. package/src/components/ChannelDetails/components/navigation-section/FileAttachmentItem.tsx +92 -0
  336. package/src/components/ChannelDetails/components/navigation-section/FileAttachmentList.tsx +204 -0
  337. package/src/components/ChannelDetails/components/navigation-section/FileAttachmentListLoadingSkeleton.tsx +23 -0
  338. package/src/components/ChannelDetails/components/navigation-section/FileAttachmentListSectionHeader.tsx +56 -0
  339. package/src/components/ChannelDetails/components/navigation-section/MediaItem.tsx +160 -0
  340. package/src/components/ChannelDetails/components/navigation-section/MediaList.tsx +244 -0
  341. package/src/components/ChannelDetails/components/navigation-section/MediaListLoadingSkeleton.tsx +66 -0
  342. package/src/components/ChannelDetails/components/navigation-section/PinnedMessageItem.tsx +94 -0
  343. package/src/components/ChannelDetails/components/navigation-section/PinnedMessageList.tsx +198 -0
  344. package/src/components/ChannelDetails/components/navigation-section/PinnedMessageListLoadingSkeleton.tsx +23 -0
  345. package/src/components/ChannelDetails/components/navigation-section/index.ts +10 -0
  346. package/src/components/ChannelDetails/hooks/index.ts +3 -0
  347. package/src/components/ChannelDetails/hooks/useChannelDetailsNavigationItems.ts +108 -0
  348. package/src/components/ChannelDetails/hooks/useFileAttachmentListSections.ts +79 -0
  349. package/src/components/ChannelDetails/hooks/useMediaList.ts +51 -0
  350. package/src/components/ImageGallery/ImageGallery.tsx +41 -120
  351. package/src/components/ImageGallery/__tests__/ImageGallery.test.tsx +4 -1
  352. package/src/components/ImageGallery/__tests__/ImageGalleryAdjustable.test.tsx +5 -4
  353. package/src/components/ImageGallery/components/AnimatedGalleryImage.tsx +9 -11
  354. package/src/components/ImageGallery/components/AnimatedGalleryVideo.tsx +28 -15
  355. package/src/components/ImageGallery/components/ImageGalleryA11yProbe.tsx +82 -0
  356. package/src/components/ImageGallery/components/ImageGalleryHeader.tsx +21 -18
  357. package/src/components/ImageGallery/hooks/useAnimatedGalleryStyle.tsx +5 -5
  358. package/src/components/ImageGallery/hooks/useCurrentImageHeight.ts +86 -0
  359. package/src/components/ImageGallery/hooks/useImageGalleryGestures.tsx +42 -51
  360. package/src/components/UIComponents/EmptyList.tsx +80 -0
  361. package/src/components/UIComponents/__tests__/EmptyList.test.tsx +90 -0
  362. package/src/components/UIComponents/index.ts +1 -0
  363. package/src/components/ui/Avatar/AvatarGroup.tsx +3 -3
  364. package/src/components/ui/Avatar/constants.ts +2 -2
  365. package/src/contexts/channelFileAttachmentListContext/ChannelFileAttachmentListContext.tsx +67 -0
  366. package/src/contexts/channelMediaListContext/ChannelMediaListContext.tsx +68 -0
  367. package/src/contexts/channelPinnedMessageListContext/ChannelPinnedMessageListContext.tsx +72 -0
  368. package/src/contexts/componentsContext/defaultComponents.ts +16 -1
  369. package/src/contexts/index.ts +3 -0
  370. package/src/contexts/themeContext/utils/theme.ts +112 -2
  371. package/src/i18n/ar.json +11 -0
  372. package/src/i18n/en.json +11 -0
  373. package/src/i18n/es.json +11 -0
  374. package/src/i18n/fr.json +11 -0
  375. package/src/i18n/he.json +11 -0
  376. package/src/i18n/hi.json +11 -0
  377. package/src/i18n/it.json +11 -0
  378. package/src/i18n/ja.json +11 -0
  379. package/src/i18n/ko.json +11 -0
  380. package/src/i18n/nl.json +11 -0
  381. package/src/i18n/pt-br.json +11 -0
  382. package/src/i18n/ru.json +11 -0
  383. package/src/i18n/tr.json +11 -0
  384. package/src/icons/folder.tsx +28 -0
  385. package/src/icons/index.ts +1 -0
  386. package/src/state-store/__tests__/image-gallery-state-store.test.ts +81 -0
  387. package/src/state-store/image-gallery-state-store.ts +27 -1
  388. package/src/version.json +1 -1
@@ -0,0 +1,28 @@
1
+ import { type Attachment, type MessageResponse } from 'stream-chat';
2
+ /**
3
+ * A single file/audio attachment paired with the message it belongs to. The file attachment list
4
+ * renders one row per attachment, so a message with multiple file attachments yields multiple rows.
5
+ *
6
+ * @experimental This type is experimental and is subject to change.
7
+ */
8
+ export type FileAttachmentTile = {
9
+ attachment: Attachment;
10
+ message: MessageResponse;
11
+ };
12
+ export type FileAttachmentSection = {
13
+ data: FileAttachmentTile[];
14
+ title: string;
15
+ };
16
+ /**
17
+ * Gathers and filters the file/audio attachments from a list of messages, then groups them into
18
+ * newest-first month sections for the file attachment list. Each section's `data` is a flat list
19
+ * of `{ attachment, message }` tiles; messages without renderable file attachments are skipped.
20
+ *
21
+ * The month label is produced through the shared `getDateString` + translation-key
22
+ * pipeline used by message timestamps (see `useUserActivityStatus`), so the format
23
+ * follows the configured locale and can be customized via the
24
+ * `timestamp/FileAttachmentListSection` translation key.
25
+ * @experimental This hook is experimental and is subject to change.
26
+ */
27
+ export declare const useFileAttachmentListSections: (messages?: MessageResponse[]) => FileAttachmentSection[];
28
+ //# sourceMappingURL=useFileAttachmentListSections.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useFileAttachmentListSections.d.ts","sourceRoot":"","sources":["../../../../../src/components/ChannelDetails/hooks/useFileAttachmentListSections.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,KAAK,UAAU,EAIf,KAAK,eAAe,EACrB,MAAM,aAAa,CAAC;AAKrB;;;;;GAKG;AACH,MAAM,MAAM,kBAAkB,GAAG;IAAE,UAAU,EAAE,UAAU,CAAC;IAAC,OAAO,EAAE,eAAe,CAAA;CAAE,CAAC;AAEtF,MAAM,MAAM,qBAAqB,GAAG;IAAE,IAAI,EAAE,kBAAkB,EAAE,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC;AAclF;;;;;;;;;;GAUG;AACH,eAAO,MAAM,6BAA6B,GACxC,WAAW,eAAe,EAAE,KAC3B,qBAAqB,EA8BvB,CAAC"}
@@ -0,0 +1,20 @@
1
+ import { type Attachment, type MessageResponse } from 'stream-chat';
2
+ /**
3
+ * A single image/video attachment paired with the message it belongs to. The media grid renders
4
+ * one tile per attachment, so a message with multiple media attachments yields multiple tiles.
5
+ *
6
+ * @experimental This type is experimental and is subject to change.
7
+ */
8
+ export type MediaTile = {
9
+ attachment: Attachment;
10
+ message: MessageResponse;
11
+ };
12
+ /**
13
+ * Gathers and filters the image/video attachments from a list of messages into a flat list of
14
+ * media tiles, ready to render in the media grid. Scraped/OG link-preview attachments and
15
+ * non-media attachments are excluded.
16
+ *
17
+ * @experimental This hook is experimental and is subject to change.
18
+ */
19
+ export declare const useMediaList: (messages?: MessageResponse[]) => MediaTile[];
20
+ //# sourceMappingURL=useMediaList.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useMediaList.d.ts","sourceRoot":"","sources":["../../../../../src/components/ChannelDetails/hooks/useMediaList.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,UAAU,EAAoB,KAAK,eAAe,EAAE,MAAM,aAAa,CAAC;AAItF;;;;;GAKG;AACH,MAAM,MAAM,SAAS,GAAG;IACtB,UAAU,EAAE,UAAU,CAAC;IACvB,OAAO,EAAE,eAAe,CAAC;CAC1B,CAAC;AA2BF;;;;;;GAMG;AACH,eAAO,MAAM,YAAY,GAAI,WAAW,eAAe,EAAE,KAAG,SAAS,EACjB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ImageGallery.d.ts","sourceRoot":"","sources":["../../../../src/components/ImageGallery/ImageGallery.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoD,MAAM,OAAO,CAAC;AAsBzE,OAAO,KAAK,EACV,uBAAuB,E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;;CAcpD,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,KAAK,GAAI,OAAO,MAAM,EAAE,YAAY,MAAM,EAAE,YAAY,MAAM,WAG1E,CAAC"}
1
+ {"version":3,"file":"ImageGallery.d.ts","sourceRoot":"","sources":["../../../../src/components/ImageGallery/ImageGallery.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA2C,MAAM,OAAO,CAAC;AAgBhE,OAAO,KAAK,EACV,uBAAuB,EACvB,qBAAqB,EACrB,uBAAuB,EACxB,MAAM,oBAAoB,CAAC;AAO5B,OAAO,EACL,yBAAyB,EAE1B,MAAM,wDAAwD,CAAC;AAChE,OAAO,EACL,mBAAmB,EAEpB,MAAM,8CAA8C,CAAC;AAItD,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAMnD,MAAM,MAAM,yBAAyB,GAAG,MAAM,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC;AAEnE,MAAM,MAAM,sBAAsB,GAAG;IACnC,MAAM,EAAE,yBAAyB,CAAC;IAClC,IAAI,EAAE,KAAK,CAAC,aAAa,CAAC,SAAS,CAAC,CAAC;IACrC,EAAE,EAAE,YAAY,GAAG,MAAM,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM,CAAC;IACxD,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,aAAa,GAAG,UAAU,CAAC;CAClC,CAAC;AAIF,oBAAY,UAAU;IACpB,KAAK,IAAI;IACT,IAAI,IAAA;CACL;AAED,oBAAY,SAAS;IACnB,YAAY,IAAI;IAChB,IAAI,IAAA;IACJ,KAAK,IAAA;CACN;AAMD,KAAK,4BAA4B,GAAG,IAAI,CACtC,yBAAyB,EACzB,iCAAiC,CAClC,GACC,IAAI,CAAC,mBAAmB,EAAE,gBAAgB,CAAC,GAAG;IAC5C,kBAAkB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,uBAAuB,CAAC,CAAC;IAClE,kBAAkB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,uBAAuB,CAAC,CAAC;IAClE,gBAAgB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,qBAAqB,CAAC,CAAC;CAC/D,CAAC;AAEJ,eAAO,MAAM,uBAAuB,GAAI,OAAO,4BAA4B,sBAiS1E,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG,OAAO,CAAC,4BAA4B,CAAC,CAAC;AAEtE,eAAO,MAAM,YAAY;YAAW,iBAAiB;;CAcpD,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,KAAK,GAAI,OAAO,MAAM,EAAE,YAAY,MAAM,EAAE,YAAY,MAAM,WAG1E,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"AnimatedGalleryImage.d.ts","sourceRoot":"","sources":["../../../../../src/components/ImageGallery/components/AnimatedGalleryImage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAEvC,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAC1D,OAAiB,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAMhE,OAAO,EACL,iBAAiB,EAElB,MAAM,gDAAgD,CAAC;AAOxD,KAAK,KAAK,GAAG;IACX,kBAAkB,EAAE,MAAM,CAAC;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IACjC,KAAK,EAAE,iBAAiB,CAAC;IACzB,KAAK,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAC3B,YAAY,EAAE,MAAM,CAAC;IACrB,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAChC,UAAU,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAChC,KAAK,CAAC,EAAE,SAAS,CAAC,UAAU,CAAC,CAAC;CAC/B,CAAC;AAMF,eAAO,MAAM,oBAAoB,oCACvB,KAAK,uBA4Fd,CAAC"}
1
+ {"version":3,"file":"AnimatedGalleryImage.d.ts","sourceRoot":"","sources":["../../../../../src/components/ImageGallery/components/AnimatedGalleryImage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+B,MAAM,OAAO,CAAC;AAEpD,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAC1D,OAAiB,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAMhE,OAAO,EACL,iBAAiB,EAElB,MAAM,gDAAgD,CAAC;AAOxD,KAAK,KAAK,GAAG;IACX,kBAAkB,EAAE,MAAM,CAAC;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IACjC,KAAK,EAAE,iBAAiB,CAAC;IACzB,KAAK,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAC3B,YAAY,EAAE,MAAM,CAAC;IACrB,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAChC,UAAU,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAChC,KAAK,CAAC,EAAE,SAAS,CAAC,UAAU,CAAC,CAAC;CAC/B,CAAC;AAEF,eAAO,MAAM,oBAAoB,oCACvB,KAAK,uBA8Fd,CAAC"}
@@ -14,8 +14,5 @@ export type AnimatedGalleryVideoType = {
14
14
  translateY: SharedValue<number>;
15
15
  style?: StyleProp<ViewStyle>;
16
16
  };
17
- export declare const AnimatedGalleryVideo: {
18
- (props: AnimatedGalleryVideoType): React.JSX.Element;
19
- displayName: string;
20
- };
17
+ export declare const AnimatedGalleryVideo: React.MemoExoticComponent<(props: AnimatedGalleryVideoType) => React.JSX.Element>;
21
18
  //# sourceMappingURL=AnimatedGalleryVideo.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"AnimatedGalleryVideo.d.ts","sourceRoot":"","sources":["../../../../../src/components/ImageGallery/components/AnimatedGalleryVideo.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiD,MAAM,OAAO,CAAC;AACtE,OAAO,EAAoB,SAAS,EAAE,MAAM,cAAc,CAAC;AAC3D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAiB,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAchE,OAAO,EACL,iBAAiB,EAElB,MAAM,gDAAgD,CAAC;AASxD,MAAM,MAAM,wBAAwB,GAAG;IACrC,YAAY,EAAE,MAAM,CAAC;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IACjC,KAAK,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAC3B,YAAY,EAAE,MAAM,CAAC;IACrB,KAAK,EAAE,iBAAiB,CAAC;IACzB,UAAU,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAChC,UAAU,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAChC,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B,CAAC;AAqBF,eAAO,MAAM,oBAAoB;YAAW,wBAAwB;;CA4JnE,CAAC"}
1
+ {"version":3,"file":"AnimatedGalleryVideo.d.ts","sourceRoot":"","sources":["../../../../../src/components/ImageGallery/components/AnimatedGalleryVideo.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8D,MAAM,OAAO,CAAC;AACnF,OAAO,EAAoB,SAAS,EAAE,MAAM,cAAc,CAAC;AAC3D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAiB,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAchE,OAAO,EACL,iBAAiB,EAElB,MAAM,gDAAgD,CAAC;AASxD,MAAM,MAAM,wBAAwB,GAAG;IACrC,YAAY,EAAE,MAAM,CAAC;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IACjC,KAAK,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAC3B,YAAY,EAAE,MAAM,CAAC;IACrB,KAAK,EAAE,iBAAiB,CAAC;IACzB,UAAU,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAChC,UAAU,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAChC,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B,CAAC;AAkLF,eAAO,MAAM,oBAAoB,oCAjKa,wBAAwB,uBA6KrE,CAAC"}
@@ -0,0 +1,20 @@
1
+ import React from 'react';
2
+ import { ViewStyle } from 'react-native';
3
+ import { AnimatedStyle } from 'react-native-reanimated';
4
+ type Props = {
5
+ containerBackground: AnimatedStyle<ViewStyle>;
6
+ };
7
+ /**
8
+ * Accessibility-enabled variant of the gallery's background fade view. Wires
9
+ * the "X of N" announcement and the VoiceOver/TalkBack increment/decrement
10
+ * actions. Subscribes locally to currentIndex + assets so the parent
11
+ * ImageGallery doesn't need that subscription itself — only this small sibling
12
+ * re-renders to refresh the accessibilityValue text on each swipe.
13
+ *
14
+ * Caller is responsible for gating this on whether accessibility is enabled.
15
+ * When disabled, the parent renders a plain Animated.View with the same
16
+ * background style and no a11y attributes.
17
+ */
18
+ export declare const ImageGalleryA11yProbe: ({ containerBackground }: Props) => React.JSX.Element;
19
+ export {};
20
+ //# sourceMappingURL=ImageGalleryA11yProbe.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ImageGalleryA11yProbe.d.ts","sourceRoot":"","sources":["../../../../../src/components/ImageGallery/components/ImageGalleryA11yProbe.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+B,MAAM,OAAO,CAAC;AACpD,OAAO,EAAc,SAAS,EAAE,MAAM,cAAc,CAAC;AACrD,OAAiB,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAYlE,KAAK,KAAK,GAAG;IACX,mBAAmB,EAAE,aAAa,CAAC,SAAS,CAAC,CAAC;CAC/C,CAAC;AAEF;;;;;;;;;;GAUG;AACH,eAAO,MAAM,qBAAqB,GAAI,yBAAyB,KAAK,sBAoDnE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ImageGalleryHeader.d.ts","sourceRoot":"","sources":["../../../../../src/components/ImageGallery/components/ImageGalleryHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAM5D,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAC;AAuBvD,eAAO,MAAM,kBAAkB;YAAW,uBAAuB;;CAkEhE,CAAC"}
1
+ {"version":3,"file":"ImageGalleryHeader.d.ts","sourceRoot":"","sources":["../../../../../src/components/ImageGallery/components/ImageGalleryHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmD,MAAM,OAAO,CAAC;AAOxE,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAC;AAkBvD,eAAO,MAAM,kBAAkB;YAAW,uBAAuB;;CAqEhE,CAAC"}
@@ -1,16 +1,15 @@
1
1
  import type { ImageStyle } from 'react-native';
2
2
  import { SharedValue } from 'react-native-reanimated';
3
3
  type Props = {
4
+ currentIndexShared: SharedValue<number>;
4
5
  index: number;
5
6
  offsetScale: SharedValue<number>;
6
- previous: boolean;
7
7
  scale: SharedValue<number>;
8
8
  screenHeight: number;
9
- selected: boolean;
10
9
  translateX: SharedValue<number>;
11
10
  translateY: SharedValue<number>;
12
11
  };
13
- export declare const useAnimatedGalleryStyle: ({ index, offsetScale, previous, scale, screenHeight, selected, translateX, translateY, }: Props) => (import("react-native-reanimated/lib/typescript/hook/commonTypes").AnimatedStyleHandle<ImageStyle> | import("react-native-reanimated/lib/typescript/hook/commonTypes").AnimatedStyleHandle<{
12
+ export declare const useAnimatedGalleryStyle: ({ currentIndexShared, index, offsetScale, scale, screenHeight, translateX, translateY, }: Props) => (import("react-native-reanimated/lib/typescript/hook/commonTypes").AnimatedStyleHandle<ImageStyle> | import("react-native-reanimated/lib/typescript/hook/commonTypes").AnimatedStyleHandle<{
14
13
  transform: ({
15
14
  scaleX: number;
16
15
  translateY?: undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"useAnimatedGalleryStyle.d.ts","sourceRoot":"","sources":["../../../../../src/components/ImageGallery/hooks/useAnimatedGalleryStyle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,EAAE,WAAW,EAAoB,MAAM,yBAAyB,CAAC;AAIxE,KAAK,KAAK,GAAG;IACX,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IACjC,QAAQ,EAAE,OAAO,CAAC;IAClB,KAAK,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAC3B,YAAY,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,OAAO,CAAC;IAClB,UAAU,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAChC,UAAU,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;CACjC,CAAC;AAIF,eAAO,MAAM,uBAAuB,GAAI,0FASrC,KAAK;;;;;;;;;;;;;;;;;;;;;;KAuDP,CAAC"}
1
+ {"version":3,"file":"useAnimatedGalleryStyle.d.ts","sourceRoot":"","sources":["../../../../../src/components/ImageGallery/hooks/useAnimatedGalleryStyle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,EAAE,WAAW,EAAoB,MAAM,yBAAyB,CAAC;AAIxE,KAAK,KAAK,GAAG;IACX,kBAAkB,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IACxC,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IACjC,KAAK,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAC3B,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAChC,UAAU,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;CACjC,CAAC;AAIF,eAAO,MAAM,uBAAuB,GAAI,0FAQrC,KAAK;;;;;;;;;;;;;;;;;;;;;;KAyDP,CAAC"}
@@ -0,0 +1,24 @@
1
+ import { SharedValue } from 'react-native-reanimated';
2
+ import type { ImageGalleryAsset, ImageGalleryStateStore } from '../../../state-store/image-gallery-state-store';
3
+ /**
4
+ * Owns a SharedValue tracking the visible height of the currently selected
5
+ * gallery asset and keeps it in lockstep with the gallery store's
6
+ * currentIndex. Worklet consumers read `.value` on the UI thread.
7
+ *
8
+ * The store is subscribed via `subscribeWithSelector` (not `useStateStore`),
9
+ * so currentIndex changes never go through React state so no rerender is
10
+ * triggered in the calling component. The callback writes directly into the
11
+ * SharedValue.
12
+ *
13
+ * Sync path uses the attachment's intrinsic `original_height`/`original_width`
14
+ * when present. Async fallback via `Image.getSize` handles assets that don't
15
+ * carry dimensions; a token guards against the closure-race where the user
16
+ * swipes past a slide before its dimensions resolve.
17
+ */
18
+ export declare const useCurrentImageHeight: ({ assets, fullWindowHeight, fullWindowWidth, imageGalleryStateStore, }: {
19
+ assets: ImageGalleryAsset[];
20
+ fullWindowHeight: number;
21
+ fullWindowWidth: number;
22
+ imageGalleryStateStore: ImageGalleryStateStore;
23
+ }) => SharedValue<number>;
24
+ //# sourceMappingURL=useCurrentImageHeight.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useCurrentImageHeight.d.ts","sourceRoot":"","sources":["../../../../../src/components/ImageGallery/hooks/useCurrentImageHeight.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAkB,MAAM,yBAAyB,CAAC;AAEtE,OAAO,KAAK,EACV,iBAAiB,EACjB,sBAAsB,EACvB,MAAM,gDAAgD,CAAC;AAGxD;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,qBAAqB,GAAI,wEAKnC;IACD,MAAM,EAAE,iBAAiB,EAAE,CAAC;IAC5B,gBAAgB,EAAE,MAAM,CAAC;IACzB,eAAe,EAAE,MAAM,CAAC;IACxB,sBAAsB,EAAE,sBAAsB,CAAC;CAChD,KAAG,WAAW,CAAC,MAAM,CAkDrB,CAAC"}
@@ -9,7 +9,7 @@ export declare enum IsSwiping {
9
9
  FALSE = 2
10
10
  }
11
11
  export declare const useImageGalleryGestures: ({ currentImageHeight, halfScreenHeight, halfScreenWidth, headerFooterVisible, offsetScale, overlayOpacity, scale, screenHeight, screenWidth, translateX, translateY, translationX, }: {
12
- currentImageHeight: number;
12
+ currentImageHeight: SharedValue<number>;
13
13
  halfScreenHeight: number;
14
14
  halfScreenWidth: number;
15
15
  headerFooterVisible: SharedValue<number>;
@@ -1 +1 @@
1
- {"version":3,"file":"useImageGalleryGestures.d.ts","sourceRoot":"","sources":["../../../../../src/components/ImageGallery/hooks/useImageGalleryGestures.tsx"],"names":[],"mappings":"AAGA,OAAO,EAKL,WAAW,EAIZ,MAAM,yBAAyB,CAAC;AAQjC,oBAAY,UAAU;IACpB,KAAK,IAAI;IACT,IAAI,IAAA;CACL;AAED,oBAAY,SAAS;IACnB,YAAY,IAAI;IAChB,IAAI,IAAA;IACJ,KAAK,IAAA;CACN;AAQD,eAAO,MAAM,uBAAuB,GAAI,sLAarC;IACD,kBAAkB,EAAE,MAAM,CAAC;IAC3B,gBAAgB,EAAE,MAAM,CAAC;IACzB,eAAe,EAAE,MAAM,CAAC;IACxB,mBAAmB,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IACzC,WAAW,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IACjC,cAAc,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IACpC,KAAK,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAC3B,YAAY,EAAE,MAAM,CAAC;IACrB,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAChC,UAAU,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAChC,YAAY,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;CACnC;;;;;CAgsBA,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,KAAK,GAAI,OAAO,MAAM,EAAE,YAAY,MAAM,EAAE,YAAY,MAAM,WAG1E,CAAC"}
1
+ {"version":3,"file":"useImageGalleryGestures.d.ts","sourceRoot":"","sources":["../../../../../src/components/ImageGallery/hooks/useImageGalleryGestures.tsx"],"names":[],"mappings":"AAGA,OAAO,EAKL,WAAW,EAIZ,MAAM,yBAAyB,CAAC;AAMjC,oBAAY,UAAU;IACpB,KAAK,IAAI;IACT,IAAI,IAAA;CACL;AAED,oBAAY,SAAS;IACnB,YAAY,IAAI;IAChB,IAAI,IAAA;IACJ,KAAK,IAAA;CACN;AAID,eAAO,MAAM,uBAAuB,GAAI,sLAarC;IACD,kBAAkB,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IACxC,gBAAgB,EAAE,MAAM,CAAC;IACzB,eAAe,EAAE,MAAM,CAAC;IACxB,mBAAmB,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IACzC,WAAW,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IACjC,cAAc,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IACpC,KAAK,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAC3B,YAAY,EAAE,MAAM,CAAC;IACrB,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAChC,UAAU,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAChC,YAAY,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;CACnC;;;;;CA6rBA,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,KAAK,GAAI,OAAO,MAAM,EAAE,YAAY,MAAM,EAAE,YAAY,MAAM,WAG1E,CAAC"}
@@ -0,0 +1,24 @@
1
+ import React from 'react';
2
+ import { IconProps } from '../../icons/utils/base';
3
+ export type EmptyListProps = {
4
+ /**
5
+ * Icon component to render. Its size and color are set by `EmptyList`.
6
+ */
7
+ icon: React.ComponentType<IconProps>;
8
+ /**
9
+ * Title text shown below the icon.
10
+ */
11
+ title: string;
12
+ /**
13
+ * Optional supporting text shown below the title.
14
+ */
15
+ subtitle?: string;
16
+ };
17
+ /**
18
+ * @experimental This component is experimental and is subject to change.
19
+ */
20
+ export declare const EmptyList: {
21
+ ({ icon: Icon, subtitle, title }: EmptyListProps): React.JSX.Element;
22
+ displayName: string;
23
+ };
24
+ //# sourceMappingURL=EmptyList.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EmptyList.d.ts","sourceRoot":"","sources":["../../../../src/components/UIComponents/EmptyList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAGnD,MAAM,MAAM,cAAc,GAAG;IAC3B;;OAEG;IACH,IAAI,EAAE,KAAK,CAAC,aAAa,CAAC,SAAS,CAAC,CAAC;IACrC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,SAAS;sCAAqC,cAAc;;CAqBxE,CAAC"}
@@ -1,6 +1,7 @@
1
1
  export * from './BottomSheetModal';
2
2
  export * from './ClippingFadeBottom';
3
3
  export * from './StreamBottomSheetModalFlatList';
4
+ export * from './EmptyList';
4
5
  export * from './EmptySearchResult';
5
6
  export * from './ImageBackground';
6
7
  export * from './SearchInput';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/UIComponents/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,kCAAkC,CAAC;AACjD,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,eAAe,CAAC;AAC9B,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,WAAW,CAAC;AAC1B,cAAc,mBAAmB,CAAC;AAClC,cAAc,0BAA0B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/UIComponents/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,kCAAkC,CAAC;AACjD,cAAc,aAAa,CAAC;AAC5B,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,eAAe,CAAC;AAC9B,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,WAAW,CAAC;AAC1B,cAAc,mBAAmB,CAAC;AAClC,cAAc,0BAA0B,CAAC"}
@@ -0,0 +1,21 @@
1
+ import React, { PropsWithChildren } from 'react';
2
+ import { Channel, MessageSearchSource } from 'stream-chat';
3
+ /**
4
+ * @experimental This API is experimental and is subject to change.
5
+ */
6
+ export type ChannelFileAttachmentListContextValue = {
7
+ channel: Channel;
8
+ searchSource: MessageSearchSource;
9
+ };
10
+ export declare const ChannelFileAttachmentListContext: React.Context<ChannelFileAttachmentListContextValue>;
11
+ /**
12
+ * @experimental This API is experimental and is subject to change.
13
+ */
14
+ export declare const ChannelFileAttachmentListProvider: ({ channel, children, }: PropsWithChildren<{
15
+ channel: Channel;
16
+ }>) => React.JSX.Element;
17
+ /**
18
+ * @experimental This API is experimental and is subject to change.
19
+ */
20
+ export declare const useChannelFileAttachmentListContext: () => ChannelFileAttachmentListContextValue;
21
+ //# sourceMappingURL=ChannelFileAttachmentListContext.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ChannelFileAttachmentListContext.d.ts","sourceRoot":"","sources":["../../../../src/contexts/channelFileAttachmentListContext/ChannelFileAttachmentListContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,iBAAiB,EAAwB,MAAM,OAAO,CAAC;AAEvE,OAAO,EAAE,OAAO,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAM3D;;GAEG;AACH,MAAM,MAAM,qCAAqC,GAAG;IAClD,OAAO,EAAE,OAAO,CAAC;IACjB,YAAY,EAAE,mBAAmB,CAAC;CACnC,CAAC;AAEF,eAAO,MAAM,gCAAgC,sDAE5C,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,iCAAiC,GAAI,wBAG/C,iBAAiB,CAAC;IAAE,OAAO,EAAE,OAAO,CAAA;CAAE,CAAC,sBAuBzC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,mCAAmC,6CAY/C,CAAC"}
@@ -0,0 +1,21 @@
1
+ import React, { PropsWithChildren } from 'react';
2
+ import { Channel, MessageSearchSource } from 'stream-chat';
3
+ /**
4
+ * @experimental This API is experimental and is subject to change.
5
+ */
6
+ export type ChannelMediaListContextValue = {
7
+ channel: Channel;
8
+ searchSource: MessageSearchSource;
9
+ };
10
+ export declare const ChannelMediaListContext: React.Context<ChannelMediaListContextValue>;
11
+ /**
12
+ * @experimental This API is experimental and is subject to change.
13
+ */
14
+ export declare const ChannelMediaListProvider: ({ channel, children, }: PropsWithChildren<{
15
+ channel: Channel;
16
+ }>) => React.JSX.Element;
17
+ /**
18
+ * @experimental This API is experimental and is subject to change.
19
+ */
20
+ export declare const useChannelMediaListContext: () => ChannelMediaListContextValue;
21
+ //# sourceMappingURL=ChannelMediaListContext.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ChannelMediaListContext.d.ts","sourceRoot":"","sources":["../../../../src/contexts/channelMediaListContext/ChannelMediaListContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,iBAAiB,EAAwB,MAAM,OAAO,CAAC;AAEvE,OAAO,EAAE,OAAO,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAM3D;;GAEG;AACH,MAAM,MAAM,4BAA4B,GAAG;IACzC,OAAO,EAAE,OAAO,CAAC;IACjB,YAAY,EAAE,mBAAmB,CAAC;CACnC,CAAC;AAEF,eAAO,MAAM,uBAAuB,6CAEnC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,wBAAwB,GAAI,wBAGtC,iBAAiB,CAAC;IAAE,OAAO,EAAE,OAAO,CAAA;CAAE,CAAC,sBAwBzC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,0BAA0B,oCAYtC,CAAC"}
@@ -0,0 +1,21 @@
1
+ import React, { PropsWithChildren } from 'react';
2
+ import { Channel, MessageSearchSource } from 'stream-chat';
3
+ /**
4
+ * @experimental This API is experimental and is subject to change.
5
+ */
6
+ export type ChannelPinnedMessageListContextValue = {
7
+ channel: Channel;
8
+ searchSource: MessageSearchSource;
9
+ };
10
+ export declare const ChannelPinnedMessageListContext: React.Context<ChannelPinnedMessageListContextValue>;
11
+ /**
12
+ * @experimental This API is experimental and is subject to change.
13
+ */
14
+ export declare const ChannelPinnedMessageListProvider: ({ channel, children, }: PropsWithChildren<{
15
+ channel: Channel;
16
+ }>) => React.JSX.Element;
17
+ /**
18
+ * @experimental This API is experimental and is subject to change.
19
+ */
20
+ export declare const useChannelPinnedMessageListContext: () => ChannelPinnedMessageListContextValue;
21
+ //# sourceMappingURL=ChannelPinnedMessageListContext.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ChannelPinnedMessageListContext.d.ts","sourceRoot":"","sources":["../../../../src/contexts/channelPinnedMessageListContext/ChannelPinnedMessageListContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,iBAAiB,EAAwB,MAAM,OAAO,CAAC;AAEvE,OAAO,EAAE,OAAO,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAM3D;;GAEG;AACH,MAAM,MAAM,oCAAoC,GAAG;IACjD,OAAO,EAAE,OAAO,CAAC;IACjB,YAAY,EAAE,mBAAmB,CAAC;CACnC,CAAC;AAEF,eAAO,MAAM,+BAA+B,qDAE3C,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,gCAAgC,GAAI,wBAG9C,iBAAiB,CAAC;IAAE,OAAO,EAAE,OAAO,CAAA;CAAE,CAAC,sBA4BzC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,kCAAkC,4CAY9C,CAAC"}
@@ -267,15 +267,32 @@ declare const components: {
267
267
  ChannelDetailsActionsSection: () => React.JSX.Element | null;
268
268
  ChannelDetailsActionItem: ({ Icon, destructive, label, onPress, testID, trailing, }: import("../..").ChannelDetailsActionItemProps) => React.JSX.Element;
269
269
  ChannelDetailsMemberSection: () => React.JSX.Element;
270
+ ChannelDetailsNavigationSection: () => React.JSX.Element;
270
271
  ChannelDetailsProfile: () => React.JSX.Element;
271
272
  ChannelDetailsContent: () => React.JSX.Element;
272
- ChannelDetailsNavHeader: ({ title }: import("../..").ChannelDetailsNavHeaderProps) => React.JSX.Element;
273
+ ChannelDetailsEditButton: () => React.JSX.Element | null;
274
+ ChannelDetailsNavHeader: ({ action, title }: import("../..").ChannelDetailsNavHeaderProps) => React.JSX.Element;
273
275
  ChannelEditDetails: () => React.JSX.Element;
274
276
  ChannelEditImageSheet: ({ onClose, visible }: import("../..").ChannelEditImageSheetProps) => React.JSX.Element;
275
277
  ChannelEditName: () => React.JSX.Element;
276
278
  ChannelMemberActionsSheet: ({ member, onClose, visible, }: import("../..").ChannelMemberActionsSheetProps) => React.JSX.Element;
277
279
  ChannelMemberItem: ({ member, onPress, size, testID, }: import("../..").ChannelMemberItemProps) => React.JSX.Element | null;
278
280
  ChannelMemberList: ({ additionalFlatListProps }?: import("../..").ChannelMemberListProps) => React.JSX.Element;
281
+ FileAttachmentItem: {
282
+ (props: import("../..").FileAttachmentItemProps): React.JSX.Element;
283
+ displayName: string;
284
+ };
285
+ FileAttachmentList: (props: import("../..").FileAttachmentListProps) => React.JSX.Element | null;
286
+ MediaItem: {
287
+ (props: import("../..").MediaItemProps): React.JSX.Element;
288
+ displayName: string;
289
+ };
290
+ MediaList: (props: import("../..").MediaListProps) => React.JSX.Element | null;
291
+ PinnedMessageItem: {
292
+ (props: import("../..").PinnedMessageItemProps): React.JSX.Element;
293
+ displayName: string;
294
+ };
295
+ PinnedMessageList: (props: import("../..").PinnedMessageListProps) => React.JSX.Element | null;
279
296
  ThreadMessageComposer: {
280
297
  (props: import("../..").MessageComposerProps): React.JSX.Element;
281
298
  displayName: string;
@@ -316,7 +333,6 @@ declare const components: {
316
333
  */
317
334
  export interface OptionalComponentOverrides {
318
335
  AttachmentPickerIOSSelectMorePhotos?: React.ComponentType;
319
- ChannelDetailsNavigationSection?: React.ComponentType;
320
336
  ChatLoadingIndicator?: React.ComponentType | null;
321
337
  CreatePollContent?: React.ComponentType;
322
338
  Input?: React.ComponentType<{
@@ -1 +1 @@
1
- {"version":3,"file":"defaultComponents.d.ts","sourceRoot":"","sources":["../../../../src/contexts/componentsContext/defaultComponents.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAE9C,OAAO,KAAK,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAoE9D,OAAO,EAAE,sBAAsB,EAAE,MAAM,gEAAgE,CAAC;AAmBxG,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,+DAA+D,CAAC;AAkFtG,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uDAAuD,CAAC;AAEjG;;;;;GAKG;AACH,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAC3B,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,SAAS,KAAK,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC,GAAG,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAC1F,CAAC;AAEF,QAAA,MAAM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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqLf,CAAC;AAEF;;;GAGG;AACH,MAAM,WAAW,0BAA0B;IACzC,mCAAmC,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC1D,oBAAoB,CAAC,EAAE,KAAK,CAAC,aAAa,GAAG,IAAI,CAAC;IAClD,iBAAiB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IACxC,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;QAC1B,wBAAwB,CAAC,EAAE,cAAc,CAAC;QAC1C,QAAQ,EAAE,MAAM,YAAY,EAAE,CAAC;KAChC,CAAC,CAAC;IACH,mBAAmB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC1C,cAAc,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,mBAAmB,CAAC,CAAC;IAC1D,wBAAwB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC/C,yBAAyB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAChD,qBAAqB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5C,0BAA0B,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IACjD,eAAe,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;QAAE,OAAO,EAAE,YAAY,CAAA;KAAE,CAAC,CAAC;IACjE,aAAa,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IACpC,WAAW,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,gBAAgB,CAAC,CAAC;IACpD,WAAW,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CACnC;AAED;;;;;;GAMG;AACH,eAAO,MAAM,kBAAkB,EAAE,mBAAmB,CAAC,OAAO,UAAU,CAAc,CAAC"}
@@ -32,6 +32,9 @@ export * from './utils/getDisplayName';
32
32
  export * from './channelDetailsContext';
33
33
  export * from './channelAddMembersContext/ChannelAddMembersContext';
34
34
  export * from './channelEditDetailsContext';
35
+ export * from './channelFileAttachmentListContext/ChannelFileAttachmentListContext';
36
+ export * from './channelPinnedMessageListContext/ChannelPinnedMessageListContext';
37
+ export * from './channelMediaListContext/ChannelMediaListContext';
35
38
  export * from './pollContext';
36
39
  export * from './liveLocationManagerContext';
37
40
  export * from './audioPlayerContext/AudioPlayerContext';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/contexts/index.ts"],"names":[],"mappings":"AAAA,cAAc,6CAA6C,CAAC;AAC5D,cAAc,mDAAmD,CAAC;AAClE,cAAc,uCAAuC,CAAC;AACtD,cAAc,yCAAyC,CAAC;AACxD,cAAc,iCAAiC,CAAC;AAChD,cAAc,mCAAmC,CAAC;AAClD,cAAc,uCAAuC,CAAC;AACtD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,2CAA2C,CAAC;AAC1D,cAAc,mCAAmC,CAAC;AAClD,cAAc,iCAAiC,CAAC;AAChD,cAAc,0DAA0D,CAAC;AACzE,cAAc,2CAA2C,CAAC;AAC1D,cAAc,gDAAgD,CAAC;AAC/D,cAAc,uDAAuD,CAAC;AACtE,cAAc,+DAA+D,CAAC;AAC9E,cAAc,oDAAoD,CAAC;AACnE,cAAc,mCAAmC,CAAC;AAClD,cAAc,2DAA2D,CAAC;AAC1E,cAAc,iCAAiC,CAAC;AAChD,cAAc,kCAAkC,CAAC;AACjD,cAAc,iDAAiD,CAAC;AAChE,cAAc,6BAA6B,CAAC;AAC5C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,iCAAiC,CAAC;AAChD,cAAc,wCAAwC,CAAC;AACvD,cAAc,sBAAsB,CAAC;AACrC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,qDAAqD,CAAC;AACpE,cAAc,6BAA6B,CAAC;AAC5C,cAAc,eAA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@ export declare const mergeThemes: (params: MergedThemesParams) => {
153
153
  body: import("react-native").ViewStyle;
154
154
  header: import("react-native").ViewStyle;
155
155
  headerTitle: import("react-native").TextStyle;
156
- root: import("react-native").ViewStyle;
157
156
  };
158
157
  addMembers: {
159
158
  searchResultItem: {
@@ -169,6 +168,39 @@ export declare const mergeThemes: (params: MergedThemesParams) => {
169
168
  nameInput: import("react-native").ViewStyle;
170
169
  uploadButton: import("react-native").ViewStyle;
171
170
  };
171
+ pinnedMessageList: {
172
+ container: import("react-native").ViewStyle;
173
+ list: import("react-native").ViewStyle;
174
+ listContent: import("react-native").ViewStyle;
175
+ };
176
+ pinnedMessageItem: {
177
+ container: import("react-native").ViewStyle;
178
+ content: import("react-native").ViewStyle;
179
+ name: import("react-native").TextStyle;
180
+ title: import("react-native").ViewStyle;
181
+ };
182
+ fileAttachmentList: {
183
+ container: import("react-native").ViewStyle;
184
+ list: import("react-native").ViewStyle;
185
+ listContent: import("react-native").ViewStyle;
186
+ sectionHeader: import("react-native").ViewStyle;
187
+ sectionHeaderText: import("react-native").TextStyle;
188
+ };
189
+ fileAttachmentItem: {
190
+ container: import("react-native").ViewStyle;
191
+ };
192
+ mediaList: {
193
+ container: import("react-native").ViewStyle;
194
+ list: import("react-native").ViewStyle;
195
+ listContent: import("react-native").ViewStyle;
196
+ };
197
+ mediaItem: {
198
+ avatar: import("react-native").ViewStyle;
199
+ container: import("react-native").ViewStyle;
200
+ thumbnail: import("react-native").ImageStyle;
201
+ videoBadge: import("react-native").ViewStyle;
202
+ videoBadgeText: import("react-native").TextStyle;
203
+ };
172
204
  };
173
205
  channelListSkeleton: {
174
206
  animationTime: number;
@@ -213,6 +245,24 @@ export declare const mergeThemes: (params: MergedThemesParams) => {
213
245
  textContainer: import("react-native").ViewStyle;
214
246
  title: import("react-native").ViewStyle;
215
247
  };
248
+ pinnedMessageListSkeleton: {
249
+ animationTime: number;
250
+ avatar: import("react-native").ViewStyle;
251
+ container: import("react-native").ViewStyle;
252
+ content: import("react-native").ViewStyle;
253
+ subtitle: import("react-native").ViewStyle;
254
+ textContainer: import("react-native").ViewStyle;
255
+ title: import("react-native").ViewStyle;
256
+ };
257
+ fileAttachmentListSkeleton: {
258
+ animationTime: number;
259
+ avatar: import("react-native").ViewStyle;
260
+ container: import("react-native").ViewStyle;
261
+ content: import("react-native").ViewStyle;
262
+ subtitle: import("react-native").ViewStyle;
263
+ textContainer: import("react-native").ViewStyle;
264
+ title: import("react-native").ViewStyle;
265
+ };
216
266
  channelPreview: {
217
267
  container: import("react-native").ViewStyle;
218
268
  contentContainer: import("react-native").ViewStyle;
@@ -255,6 +305,11 @@ export declare const mergeThemes: (params: MergedThemesParams) => {
255
305
  container: import("react-native").ViewStyle;
256
306
  text: import("react-native").TextStyle;
257
307
  };
308
+ emptyList: {
309
+ container: import("react-native").ViewStyle;
310
+ subtitle: import("react-native").TextStyle;
311
+ title: import("react-native").TextStyle;
312
+ };
258
313
  emptySearchResult: {
259
314
  container: import("react-native").ViewStyle;
260
315
  text: import("react-native").TextStyle;
@@ -1 +1 @@
1
- {"version":3,"file":"ThemeContext.d.ts","sourceRoot":"","sources":["../../../../src/contexts/themeContext/ThemeContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,iBAAiB,EAAuB,MAAM,OAAO,CAAC;AAEtE,OAAO,EAAE,eAAe,EAAkB,MAAM,cAAc,CAAC;AAI/D,OAAO,EAAgB,KAAK,EAAE,MAAM,eAAe,CAAC;AAQpD,MAAM,MAAM,WAAW,CAAC,CAAC,IAAI;KAC1B,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,EAAE,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;CACnC,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAAG;IACpC,WAAW,CAAC,EAAE,KAAK,CAAC;IACpB,KAAK,CAAC,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;CAC5B,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG;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C;mCAA2C,CAAC;;;;;;;;;;;;;;;;;iCAA4e,CAAC;;2BAAuE,CAAC;6BAAqC,CAAC;;;;;;;;mCAA2R,CAAC;;;;;;;;;;;;;;sCAA0W,CAAC;kCAA0D,CAAC;sCAA0D,CAAC;kCAA0D,CAAC;;;4BAAyF,CAAC;4BAA0C,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAAitC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6BAA+7C,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mCAAm6N,CAAC;kCAAsC,CAAC;wBAA4B,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAhC9x0B,CAAC;AAEF,eAAO,MAAM,YAAY,sBAA2D,CAAC;AAErF,eAAO,MAAM,aAAa,GACxB,OAAO,iBAAiB,CAAC,uBAAuB,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAAC,sBAe/E,CAAC;AAEF,eAAO,MAAM,QAAQ;;CASpB,CAAC"}
@@ -221,7 +221,6 @@ export type Theme = {
221
221
  body: ViewStyle;
222
222
  header: ViewStyle;
223
223
  headerTitle: TextStyle;
224
- root: ViewStyle;
225
224
  };
226
225
  addMembers: {
227
226
  searchResultItem: {
@@ -237,6 +236,39 @@ export type Theme = {
237
236
  nameInput: ViewStyle;
238
237
  uploadButton: ViewStyle;
239
238
  };
239
+ pinnedMessageList: {
240
+ container: ViewStyle;
241
+ list: ViewStyle;
242
+ listContent: ViewStyle;
243
+ };
244
+ pinnedMessageItem: {
245
+ container: ViewStyle;
246
+ content: ViewStyle;
247
+ name: TextStyle;
248
+ title: ViewStyle;
249
+ };
250
+ fileAttachmentList: {
251
+ container: ViewStyle;
252
+ list: ViewStyle;
253
+ listContent: ViewStyle;
254
+ sectionHeader: ViewStyle;
255
+ sectionHeaderText: TextStyle;
256
+ };
257
+ fileAttachmentItem: {
258
+ container: ViewStyle;
259
+ };
260
+ mediaList: {
261
+ container: ViewStyle;
262
+ list: ViewStyle;
263
+ listContent: ViewStyle;
264
+ };
265
+ mediaItem: {
266
+ avatar: ViewStyle;
267
+ container: ViewStyle;
268
+ thumbnail: ImageStyle;
269
+ videoBadge: ViewStyle;
270
+ videoBadgeText: TextStyle;
271
+ };
240
272
  };
241
273
  channelListSkeleton: {
242
274
  animationTime: number;
@@ -281,6 +313,24 @@ export type Theme = {
281
313
  textContainer: ViewStyle;
282
314
  title: ViewStyle;
283
315
  };
316
+ pinnedMessageListSkeleton: {
317
+ animationTime: number;
318
+ avatar: ViewStyle;
319
+ container: ViewStyle;
320
+ content: ViewStyle;
321
+ subtitle: ViewStyle;
322
+ textContainer: ViewStyle;
323
+ title: ViewStyle;
324
+ };
325
+ fileAttachmentListSkeleton: {
326
+ animationTime: number;
327
+ avatar: ViewStyle;
328
+ container: ViewStyle;
329
+ content: ViewStyle;
330
+ subtitle: ViewStyle;
331
+ textContainer: ViewStyle;
332
+ title: ViewStyle;
333
+ };
284
334
  channelPreview: {
285
335
  container: ViewStyle;
286
336
  contentContainer: ViewStyle;
@@ -323,6 +373,11 @@ export type Theme = {
323
373
  container: ViewStyle;
324
374
  text: TextStyle;
325
375
  };
376
+ emptyList: {
377
+ container: ViewStyle;
378
+ subtitle: TextStyle;
379
+ title: TextStyle;
380
+ };
326
381
  emptySearchResult: {
327
382
  container: ViewStyle;
328
383
  text: TextStyle;