@ankhorage/zora 28.1.5 → 28.3.0

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 (301) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/README.md +1 -1
  3. package/dist/capabilities/index.js +159 -2
  4. package/dist/capabilities/index.js.map +8 -5
  5. package/dist/constants/authoring.d.ts +6 -3
  6. package/dist/constants/authoring.d.ts.map +1 -1
  7. package/dist/constants/authoring.js +6 -0
  8. package/dist/constants/authoring.js.map +1 -1
  9. package/dist/features/accordion/accordionItemMeta.d.ts +1 -1
  10. package/dist/features/audio/adapters/inbound/Audio.d.ts +5 -0
  11. package/dist/features/audio/adapters/inbound/Audio.d.ts.map +1 -0
  12. package/dist/features/audio/adapters/inbound/Audio.js +80 -0
  13. package/dist/features/audio/adapters/inbound/Audio.js.map +1 -0
  14. package/dist/features/audio/audioMeta.d.ts +22 -0
  15. package/dist/features/audio/audioMeta.d.ts.map +1 -0
  16. package/dist/features/audio/audioMeta.js +18 -0
  17. package/dist/features/audio/audioMeta.js.map +1 -0
  18. package/dist/features/audio/composition/AudioController.d.ts +13 -0
  19. package/dist/features/audio/composition/AudioController.d.ts.map +1 -0
  20. package/dist/features/audio/composition/AudioController.js +2 -0
  21. package/dist/features/audio/composition/AudioController.js.map +1 -0
  22. package/dist/features/audio/composition/useAudioController.d.ts +5 -0
  23. package/dist/features/audio/composition/useAudioController.d.ts.map +1 -0
  24. package/dist/features/audio/composition/useAudioController.js +22 -0
  25. package/dist/features/audio/composition/useAudioController.js.map +1 -0
  26. package/dist/features/audio/composition/useAudioController.web.d.ts +5 -0
  27. package/dist/features/audio/composition/useAudioController.web.d.ts.map +1 -0
  28. package/dist/features/audio/composition/useAudioController.web.js +80 -0
  29. package/dist/features/audio/composition/useAudioController.web.js.map +1 -0
  30. package/dist/features/audio/public.d.ts +3 -0
  31. package/dist/features/audio/public.d.ts.map +1 -0
  32. package/dist/features/audio/public.js +2 -0
  33. package/dist/features/audio/public.js.map +1 -0
  34. package/dist/features/bottom-sheet/bottomSheetMeta.d.ts +1 -1
  35. package/dist/features/card/cardMeta.d.ts +1 -1
  36. package/dist/features/card/mediaCardMeta.d.ts +1 -1
  37. package/dist/features/card/postCardMeta.d.ts +1 -1
  38. package/dist/features/chat/messageBubbleMeta.d.ts +1 -1
  39. package/dist/features/dialog/dialogMeta.d.ts +2 -2
  40. package/dist/features/gradient/gradientMeta.d.ts +1 -1
  41. package/dist/features/keyboard-avoiding-view/keyboardAvoidingViewMeta.d.ts +1 -1
  42. package/dist/features/layout/gridMeta.d.ts +1 -1
  43. package/dist/features/layout/screenMeta.d.ts +1 -1
  44. package/dist/features/layout/scrollViewMeta.d.ts +1 -1
  45. package/dist/features/layout/viewMeta.d.ts +1 -1
  46. package/dist/features/link/adapters/inbound/Link.d.ts +2 -0
  47. package/dist/features/link/adapters/inbound/Link.d.ts.map +1 -0
  48. package/dist/features/link/adapters/inbound/Link.js +2 -0
  49. package/dist/features/link/adapters/inbound/Link.js.map +1 -0
  50. package/dist/features/link/adapters/inbound/Link.native.d.ts +5 -0
  51. package/dist/features/link/adapters/inbound/Link.native.d.ts.map +1 -0
  52. package/dist/features/link/adapters/inbound/Link.native.js +29 -0
  53. package/dist/features/link/adapters/inbound/Link.native.js.map +1 -0
  54. package/dist/features/link/adapters/inbound/Link.web.d.ts +5 -0
  55. package/dist/features/link/adapters/inbound/Link.web.d.ts.map +1 -0
  56. package/dist/features/link/adapters/inbound/Link.web.js +34 -0
  57. package/dist/features/link/adapters/inbound/Link.web.js.map +1 -0
  58. package/dist/features/link/linkMeta.d.ts +116 -0
  59. package/dist/features/link/linkMeta.d.ts.map +1 -0
  60. package/dist/features/link/linkMeta.js +82 -0
  61. package/dist/features/link/linkMeta.js.map +1 -0
  62. package/dist/features/link/public.d.ts +3 -0
  63. package/dist/features/link/public.d.ts.map +1 -0
  64. package/dist/features/link/public.js +2 -0
  65. package/dist/features/link/public.js.map +1 -0
  66. package/dist/features/link/utils/linkThemeRecipeMeta.d.ts +25 -0
  67. package/dist/features/link/utils/linkThemeRecipeMeta.d.ts.map +1 -0
  68. package/dist/features/link/utils/linkThemeRecipeMeta.js +26 -0
  69. package/dist/features/link/utils/linkThemeRecipeMeta.js.map +1 -0
  70. package/dist/features/list/flatListMeta.d.ts +1 -1
  71. package/dist/features/list/sectionListMeta.d.ts +1 -1
  72. package/dist/features/master-detail/masterDetailMeta.d.ts +1 -1
  73. package/dist/features/reader/meta.d.ts +2 -2
  74. package/dist/features/registry/ZORA_BASE_COMPONENT_REGISTRY.d.ts.map +1 -1
  75. package/dist/features/registry/ZORA_BASE_COMPONENT_REGISTRY.js +6 -0
  76. package/dist/features/registry/ZORA_BASE_COMPONENT_REGISTRY.js.map +1 -1
  77. package/dist/features/registry/bindableComponentMeta.d.ts +2 -2
  78. package/dist/features/registry/componentMeta.d.ts.map +1 -1
  79. package/dist/features/registry/componentMeta.js +6 -0
  80. package/dist/features/registry/componentMeta.js.map +1 -1
  81. package/dist/features/registry/themeRecipeMeta.d.ts.map +1 -1
  82. package/dist/features/registry/themeRecipeMeta.js +2 -0
  83. package/dist/features/registry/themeRecipeMeta.js.map +1 -1
  84. package/dist/features/scanner/meta.d.ts +2 -2
  85. package/dist/features/section/screenSectionMeta.d.ts +1 -1
  86. package/dist/features/surface/surfaceMeta.d.ts +1 -1
  87. package/dist/features/tabs/tabPanelMeta.d.ts +1 -1
  88. package/dist/features/video/adapters/inbound/Video.d.ts +2 -0
  89. package/dist/features/video/adapters/inbound/Video.d.ts.map +1 -0
  90. package/dist/features/video/adapters/inbound/Video.js +2 -0
  91. package/dist/features/video/adapters/inbound/Video.js.map +1 -0
  92. package/dist/features/video/adapters/inbound/Video.native.d.ts +5 -0
  93. package/dist/features/video/adapters/inbound/Video.native.d.ts.map +1 -0
  94. package/dist/features/video/adapters/inbound/Video.native.js +160 -0
  95. package/dist/features/video/adapters/inbound/Video.native.js.map +1 -0
  96. package/dist/features/video/adapters/inbound/Video.web.d.ts +5 -0
  97. package/dist/features/video/adapters/inbound/Video.web.d.ts.map +1 -0
  98. package/dist/features/video/adapters/inbound/Video.web.js +30 -0
  99. package/dist/features/video/adapters/inbound/Video.web.js.map +1 -0
  100. package/dist/features/video/public.d.ts +3 -0
  101. package/dist/features/video/public.d.ts.map +1 -0
  102. package/dist/features/video/public.js +2 -0
  103. package/dist/features/video/public.js.map +1 -0
  104. package/dist/features/video/videoMeta.d.ts +64 -0
  105. package/dist/features/video/videoMeta.d.ts.map +1 -0
  106. package/dist/features/video/videoMeta.js +50 -0
  107. package/dist/features/video/videoMeta.js.map +1 -0
  108. package/dist/index.d.ts +2 -0
  109. package/dist/index.d.ts.map +1 -1
  110. package/dist/index.js +1 -0
  111. package/dist/index.js.map +1 -1
  112. package/dist/readerFree.d.ts +5 -0
  113. package/dist/readerFree.d.ts.map +1 -1
  114. package/dist/readerFree.js +3 -0
  115. package/dist/readerFree.js.map +1 -1
  116. package/dist/types/audio.d.ts +15 -0
  117. package/dist/types/audio.d.ts.map +1 -0
  118. package/dist/types/audio.js +2 -0
  119. package/dist/types/audio.js.map +1 -0
  120. package/dist/types/link.d.ts +23 -0
  121. package/dist/types/link.d.ts.map +1 -0
  122. package/dist/types/link.js +2 -0
  123. package/dist/types/link.js.map +1 -0
  124. package/dist/types/video.d.ts +24 -0
  125. package/dist/types/video.d.ts.map +1 -0
  126. package/dist/types/video.js +2 -0
  127. package/dist/types/video.js.map +1 -0
  128. package/package.json +41 -3
  129. package/src/constants/authoring.ts +6 -0
  130. package/src/features/audio/adapters/inbound/Audio.tsx +158 -0
  131. package/src/features/audio/audioMeta.ts +20 -0
  132. package/src/features/audio/composition/AudioController.ts +12 -0
  133. package/src/features/audio/composition/useAudioController.ts +27 -0
  134. package/src/features/audio/composition/useAudioController.web.ts +106 -0
  135. package/src/features/audio/public.test.ts +37 -0
  136. package/src/features/audio/public.ts +2 -0
  137. package/src/features/link/Link.test.tsx +48 -0
  138. package/src/features/link/adapters/inbound/Link.native.tsx +62 -0
  139. package/src/features/link/adapters/inbound/Link.tsx +1 -0
  140. package/src/features/link/adapters/inbound/Link.web.tsx +67 -0
  141. package/src/features/link/linkMeta.ts +83 -0
  142. package/src/features/link/public.ts +2 -0
  143. package/src/features/link/utils/linkThemeRecipeMeta.ts +27 -0
  144. package/src/features/registry/ZORA_BASE_COMPONENT_REGISTRY.ts +6 -0
  145. package/src/features/registry/componentMeta.test.ts +31 -0
  146. package/src/features/registry/componentMeta.ts +6 -0
  147. package/src/features/registry/themeRecipeMeta.test.ts +1 -0
  148. package/src/features/registry/themeRecipeMeta.ts +2 -0
  149. package/src/features/video/adapters/inbound/Video.native.tsx +296 -0
  150. package/src/features/video/adapters/inbound/Video.test.tsx +188 -0
  151. package/src/features/video/adapters/inbound/Video.tsx +1 -0
  152. package/src/features/video/adapters/inbound/Video.web.tsx +70 -0
  153. package/src/features/video/public.ts +7 -0
  154. package/src/features/video/videoMeta.ts +51 -0
  155. package/src/index.ts +2 -0
  156. package/src/readerFree.ts +15 -0
  157. package/src/types/audio.ts +16 -0
  158. package/src/types/link.ts +26 -0
  159. package/src/types/video.ts +28 -0
  160. package/web-dist/authoring/index.js +27 -0
  161. package/web-dist/chunks/{Accordion-15sxxjym.js → Accordion-17s33h1a.js} +1 -1
  162. package/web-dist/chunks/{Accordion-qrt9xz0h.js → Accordion-2wggrer7.js} +2 -2
  163. package/web-dist/chunks/{Accordion-9k7ktksc.js → Accordion-2xkxthf1.js} +3 -3
  164. package/web-dist/chunks/{Accordion-qkkeyr18.js → Accordion-2ys50fc8.js} +1 -1
  165. package/web-dist/chunks/{Accordion-xfkg7dcw.js → Accordion-379mgrse.js} +1 -1
  166. package/web-dist/chunks/{Accordion-xb9zhdhp.js → Accordion-38xvj0cq.js} +2 -2
  167. package/web-dist/chunks/{Accordion-q11svb96.js → Accordion-5qz4j8tt.js} +5 -5
  168. package/web-dist/chunks/{Accordion-8c4w7366.js → Accordion-5rwztz14.js} +1 -1
  169. package/web-dist/chunks/{Accordion-afpjg1d6.js → Accordion-8skz71ct.js} +1 -1
  170. package/web-dist/chunks/{Accordion-27yg9ktv.js → Accordion-9qg7cjt8.js} +1 -1
  171. package/web-dist/chunks/{Accordion-wb9pmykz.js → Accordion-a1mgdfg7.js} +1 -1
  172. package/web-dist/chunks/{Accordion-vzq344av.js → Accordion-axe7nsht.js} +1 -1
  173. package/web-dist/chunks/{Accordion-46n609yq.js → Accordion-bd9vzpbz.js} +2 -2
  174. package/web-dist/chunks/{Accordion-gnxmybxx.js → Accordion-bp9y7738.js} +4 -4
  175. package/web-dist/chunks/{Accordion-5cjhz94e.js → Accordion-bzgy9sg3.js} +2 -2
  176. package/web-dist/chunks/{Accordion-f4919ghm.js → Accordion-e0vm82xr.js} +1 -1
  177. package/web-dist/chunks/{Accordion-jmxe6kw0.js → Accordion-f1vargnk.js} +1 -1
  178. package/web-dist/chunks/{Accordion-de8srt4x.js → Accordion-f8zpd80k.js} +3 -3
  179. package/web-dist/chunks/{Accordion-qsppnx7g.js → Accordion-gnbt6w4q.js} +1 -1
  180. package/web-dist/chunks/{Accordion-h1q243zq.js → Accordion-htm3j8r8.js} +3 -3
  181. package/web-dist/chunks/{Accordion-01zvarrn.js → Accordion-kdb9g5b1.js} +1 -1
  182. package/web-dist/chunks/{Accordion-78tknqmc.js → Accordion-nmpzv3b0.js} +2 -2
  183. package/web-dist/chunks/{Accordion-22cda3h5.js → Accordion-r75ep5pg.js} +2 -2
  184. package/web-dist/chunks/{Accordion-34b3rwbc.js → Accordion-rq311z1k.js} +3 -3
  185. package/web-dist/chunks/{Accordion-epv5yhch.js → Accordion-tqagt6cz.js} +1 -1
  186. package/web-dist/chunks/{Accordion-0xaq2k2h.js → Accordion-vb52sts9.js} +1 -1
  187. package/web-dist/chunks/{Accordion-b8w0f8s0.js → Accordion-za0jcjgn.js} +1 -1
  188. package/web-dist/chunks/Video.native-97x0098j.js +905 -0
  189. package/web-dist/chunks/index-cnnsfz6n.js +1807 -0
  190. package/web-dist/components/accordion/Accordion.js +2 -2
  191. package/web-dist/components/accordion-item/AccordionItem.js +2 -2
  192. package/web-dist/components/app-bar/AppBar.js +4 -4
  193. package/web-dist/components/app-header/AppHeader.js +4 -4
  194. package/web-dist/components/audio/Audio.d.ts +7 -0
  195. package/web-dist/components/audio/Audio.dependency-0.d.ts +27 -0
  196. package/web-dist/components/audio/Audio.dependency-1.d.ts +3 -0
  197. package/web-dist/components/audio/Audio.js +264 -0
  198. package/web-dist/components/audio/Audio.types-0.d.ts +18 -0
  199. package/web-dist/components/audio/index.d.ts +2 -0
  200. package/web-dist/components/audio/index.js +2 -0
  201. package/web-dist/components/auth-screen/AuthScreen.js +6 -6
  202. package/web-dist/components/avatar/Avatar.js +2 -2
  203. package/web-dist/components/avatar-group/AvatarGroup.js +2 -2
  204. package/web-dist/components/barcode-scanner-view/BarcodeScannerView.js +5 -5
  205. package/web-dist/components/breadcrumbs/Breadcrumbs.js +2 -2
  206. package/web-dist/components/button/Button.js +1 -1
  207. package/web-dist/components/button-group/ButtonGroup.js +1 -1
  208. package/web-dist/components/calendar/Calendar.js +3 -3
  209. package/web-dist/components/camera-permission-view/CameraPermissionView.js +5 -5
  210. package/web-dist/components/card/Card.js +4 -4
  211. package/web-dist/components/chat-list-item/ChatListItem.js +3 -3
  212. package/web-dist/components/checkbox/Checkbox.js +2 -2
  213. package/web-dist/components/checkbox-group/CheckboxGroup.js +2 -2
  214. package/web-dist/components/chip/Chip.js +2 -2
  215. package/web-dist/components/chip-group/ChipGroup.js +2 -2
  216. package/web-dist/components/collection-editor/CollectionEditor.js +4 -4
  217. package/web-dist/components/color-hue-scale/ColorHueScale.js +6 -6
  218. package/web-dist/components/color-picker/ColorPicker.js +6 -6
  219. package/web-dist/components/color-tone/ColorTone.js +6 -6
  220. package/web-dist/components/color-wheel/ColorWheel.js +6 -6
  221. package/web-dist/components/content-rail/ContentRail.js +2 -2
  222. package/web-dist/components/data-table/DataTable.js +10 -10
  223. package/web-dist/components/date-picker/DatePicker.js +4 -4
  224. package/web-dist/components/dialog/Dialog.js +2 -2
  225. package/web-dist/components/empty-state/EmptyState.js +5 -5
  226. package/web-dist/components/explorer/Explorer.js +2 -2
  227. package/web-dist/components/field/Field.js +2 -2
  228. package/web-dist/components/file-explorer/FileExplorer.js +2 -2
  229. package/web-dist/components/flat-list/FlatList.js +3 -3
  230. package/web-dist/components/forgot-password-form/ForgotPasswordForm.js +6 -6
  231. package/web-dist/components/form/Form.js +4 -4
  232. package/web-dist/components/form-actions/FormActions.js +4 -4
  233. package/web-dist/components/form-error/FormError.js +4 -4
  234. package/web-dist/components/heading/Heading.js +1 -1
  235. package/web-dist/components/hero/Hero.js +4 -4
  236. package/web-dist/components/icon-button/IconButton.js +1 -1
  237. package/web-dist/components/link/Link.d.ts +7 -0
  238. package/web-dist/components/link/Link.dependency-0.d.ts +27 -0
  239. package/web-dist/components/link/Link.dependency-1.d.ts +3 -0
  240. package/web-dist/components/link/Link.dependency-2.d.ts +7 -0
  241. package/web-dist/components/link/Link.dependency-3.d.ts +5 -0
  242. package/web-dist/components/link/Link.js +95 -0
  243. package/web-dist/components/link/Link.types-0.d.ts +28 -0
  244. package/web-dist/components/link/index.d.ts +2 -0
  245. package/web-dist/components/link/index.js +2 -0
  246. package/web-dist/components/list/List.js +3 -3
  247. package/web-dist/components/list-item/ListItem.js +3 -3
  248. package/web-dist/components/list-section/ListSection.js +3 -3
  249. package/web-dist/components/media-card/MediaCard.js +4 -4
  250. package/web-dist/components/media-explorer/MediaExplorer.js +2 -2
  251. package/web-dist/components/message-bubble/MessageBubble.js +3 -3
  252. package/web-dist/components/metric-card/MetricCard.js +4 -4
  253. package/web-dist/components/missing-element/MissingElement.js +1 -1
  254. package/web-dist/components/o-auth-provider-button/OAuthProviderButton.js +6 -6
  255. package/web-dist/components/o-auth-provider-list/OAuthProviderList.js +6 -6
  256. package/web-dist/components/otp-form/OtpForm.js +6 -6
  257. package/web-dist/components/pagination/Pagination.js +2 -2
  258. package/web-dist/components/palette-item/PaletteItem.js +4 -4
  259. package/web-dist/components/popover-menu/PopoverMenu.js +1 -1
  260. package/web-dist/components/post-card/PostCard.js +4 -4
  261. package/web-dist/components/product-card/ProductCard.js +4 -4
  262. package/web-dist/components/progress/Progress.js +2 -2
  263. package/web-dist/components/progress-ring/ProgressRing.js +2 -2
  264. package/web-dist/components/radio/Radio.js +2 -2
  265. package/web-dist/components/radio-group/RadioGroup.js +2 -2
  266. package/web-dist/components/reader/Reader.js +6 -6
  267. package/web-dist/components/scan-overlay/ScanOverlay.js +5 -5
  268. package/web-dist/components/screen-section/ScreenSection.js +2 -2
  269. package/web-dist/components/search-input/SearchInput.js +2 -2
  270. package/web-dist/components/section-header/SectionHeader.js +2 -2
  271. package/web-dist/components/section-list/SectionList.js +3 -3
  272. package/web-dist/components/select/Select.js +3 -3
  273. package/web-dist/components/sign-in-form/SignInForm.js +6 -6
  274. package/web-dist/components/sign-up-form/SignUpForm.js +6 -6
  275. package/web-dist/components/skeleton/Skeleton.js +7 -7
  276. package/web-dist/components/skeleton-card/SkeletonCard.js +7 -7
  277. package/web-dist/components/skeleton-list/SkeletonList.js +7 -7
  278. package/web-dist/components/skeleton-text/SkeletonText.js +7 -7
  279. package/web-dist/components/text/Text.js +1 -1
  280. package/web-dist/components/text-input/TextInput.js +2 -2
  281. package/web-dist/components/theme-mode-toggle/ThemeModeToggle.js +1 -1
  282. package/web-dist/components/time-picker/TimePicker.js +3 -3
  283. package/web-dist/components/timeline/Timeline.js +1 -1
  284. package/web-dist/components/toast/Toast.js +2 -2
  285. package/web-dist/components/toast-provider/ToastProvider.js +2 -2
  286. package/web-dist/components/toolbar/Toolbar.js +4 -4
  287. package/web-dist/components/tree-item/TreeItem.js +4 -4
  288. package/web-dist/components/uploader/Uploader.js +7 -7
  289. package/web-dist/components/video/Video.d.ts +7 -0
  290. package/web-dist/components/video/Video.dependency-0.d.ts +27 -0
  291. package/web-dist/components/video/Video.dependency-1.d.ts +3 -0
  292. package/web-dist/components/video/Video.dependency-2.d.ts +9 -0
  293. package/web-dist/components/video/Video.dependency-3.d.ts +23 -0
  294. package/web-dist/components/video/Video.js +80 -0
  295. package/web-dist/components/video/Video.types-0.d.ts +29 -0
  296. package/web-dist/components/video/index.d.ts +2 -0
  297. package/web-dist/components/video/index.js +2 -0
  298. package/web-dist/manifest.json +399 -294
  299. package/web-dist/runtime/ZoraProvider.js +1 -1
  300. /package/web-dist/chunks/{Accordion-7bd6zq4s.js → Accordion-2xb252py.js} +0 -0
  301. /package/web-dist/chunks/{Accordion-q046ws5p.js → Accordion-q683s6kd.js} +0 -0
@@ -0,0 +1,160 @@
1
+ import { useVideoPlayer, VideoView, } from 'expo-video';
2
+ import React from 'react';
3
+ import { Pressable } from 'react-native';
4
+ import { IconButton } from '../../../button/public';
5
+ import { Image } from '../../../image/public';
6
+ import { View } from '../../../layout/public';
7
+ import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope';
8
+ import { useZoraTheme } from '../../../theme/composition/useZoraTheme';
9
+ import { Text } from '../../../typography/public';
10
+ /*** Renders Expo-backed video playback through ZORA's portable source and themed controls. */
11
+ export const Video = withZoraThemeScope(VideoInner);
12
+ /*** Configures the adapter-private Expo player for the ZORA control surface. */
13
+ function configureVideoPlayer(player, volume) {
14
+ player.timeUpdateEventInterval = 0.25;
15
+ setVideoPlayerVolume(player, volume);
16
+ }
17
+ /*** Renders one Video player and synchronizes its themed controls with Expo playback state. */
18
+ function VideoInner({ themeId: _themeId, mode: _mode, interactionPolicy, source, poster, aspectRatio = 16 / 9, contentFit = 'contain', volume = 1, accessibilityLabel = 'Video player', testID, }) {
19
+ const { theme } = useZoraTheme();
20
+ const videoRef = React.useRef(null);
21
+ const player = useVideoPlayer(source ?? null, (nextPlayer) => configureVideoPlayer(nextPlayer, volume));
22
+ const playbackEvents = useVideoPlayerEvents(player);
23
+ const [renderedSource, setRenderedSource] = React.useState(null);
24
+ const [progressWidth, setProgressWidth] = React.useState(0);
25
+ const currentTime = playbackEvents.timeUpdate?.currentTime ?? player.currentTime;
26
+ const duration = playbackEvents.sourceLoad?.duration ?? player.duration;
27
+ const isPlaying = playbackEvents.playingChange?.isPlaying ?? player.playing;
28
+ const currentVolume = playbackEvents.volumeChange?.volume ?? player.volume;
29
+ const canInteract = interactionPolicy !== 'passive' && source !== null && source !== undefined;
30
+ const safeAspectRatio = isPositiveFiniteNumber(aspectRatio) ? aspectRatio : 16 / 9;
31
+ const safeDuration = isPositiveFiniteNumber(duration) ? duration : 0;
32
+ const safeCurrentTime = clamp(currentTime, 0, safeDuration);
33
+ React.useEffect(() => {
34
+ setVideoPlayerVolume(player, volume);
35
+ }, [player, volume]);
36
+ const togglePlayback = () => {
37
+ if (player.playing) {
38
+ player.pause();
39
+ return;
40
+ }
41
+ player.play();
42
+ };
43
+ const seekToProgress = (locationX) => {
44
+ if (progressWidth <= 0 || safeDuration === 0)
45
+ return;
46
+ setVideoPlayerCurrentTime(player, clamp(locationX / progressWidth, 0, 1) * safeDuration);
47
+ };
48
+ const changeVolume = (difference) => {
49
+ setVideoPlayerVolume(player, currentVolume + difference);
50
+ };
51
+ const enterFullscreen = () => {
52
+ void videoRef.current?.enterFullscreen().catch(() => undefined);
53
+ };
54
+ return (<View bg={theme.semantics.surface.raised} borderColor={theme.semantics.neutral.divider} borderWidth={1} radius="m" testID={testID} overflow="hidden">
55
+ <View bg={theme.semantics.neutral.surface} style={{ aspectRatio: safeAspectRatio }}>
56
+ <VideoView contentFit={contentFit} fullscreenOptions={{ enable: true }} nativeControls={false} onFirstFrameRender={() => setRenderedSource(source ?? null)} player={player} ref={videoRef} style={{ height: '100%', width: '100%' }}/>
57
+ {poster && renderedSource !== source ? (<View style={{ bottom: 0, left: 0, position: 'absolute', right: 0, top: 0 }} pointerEvents="none">
58
+ <Image alt="" aspectRatio={safeAspectRatio} fit={contentFit === 'fill' ? 'stretch' : contentFit} source={poster}/>
59
+ </View>) : null}
60
+ </View>
61
+ <View gap="s" p="m">
62
+ <Pressable accessibilityLabel="Seek video" accessibilityRole="adjustable" accessibilityValue={{ max: safeDuration, min: 0, now: safeCurrentTime }} disabled={!canInteract || safeDuration === 0} onLayout={(event) => setProgressWidth(event.nativeEvent.layout.width)} onPress={(event) => seekToProgress(event.nativeEvent.locationX)}>
63
+ <View bg={theme.semantics.neutral.surface} borderColor={theme.semantics.neutral.divider} borderWidth={1} radius="full" style={{ height: 8, overflow: 'hidden' }}>
64
+ <View bg={theme.semantics.action.primary.base} style={{
65
+ height: '100%',
66
+ width: `${resolveProgressPercent(safeCurrentTime, safeDuration)}%`,
67
+ }}/>
68
+ </View>
69
+ </Pressable>
70
+ <View align="center" direction="row" justify="space-between" wrap="nowrap">
71
+ <Text accessibilityLiveRegion="polite" emphasis="muted" variant="caption">
72
+ {formatVideoTime(safeCurrentTime)} / {formatVideoTime(safeDuration)}
73
+ </Text>
74
+ <View align="center" direction="row" gap="xs" wrap="nowrap">
75
+ <IconButton disabled={!canInteract} icon={{ name: 'play-skip-back' }} interactionPolicy={interactionPolicy} label="Seek back 10 seconds" onPress={() => player.seekBy(-10)} size="s"/>
76
+ <IconButton disabled={!canInteract} icon={{ name: isPlaying ? 'pause' : 'play' }} interactionPolicy={interactionPolicy} label={isPlaying ? 'Pause video' : 'Play video'} onPress={togglePlayback} size="m"/>
77
+ <IconButton disabled={!canInteract} icon={{ name: 'play-skip-forward' }} interactionPolicy={interactionPolicy} label="Seek forward 10 seconds" onPress={() => player.seekBy(10)} size="s"/>
78
+ </View>
79
+ <View align="center" direction="row" gap="xs" wrap="nowrap">
80
+ <IconButton disabled={!canInteract || currentVolume <= 0} icon={{ name: 'volume-low' }} interactionPolicy={interactionPolicy} label="Lower volume" onPress={() => changeVolume(-0.1)} size="s"/>
81
+ <IconButton disabled={!canInteract || currentVolume >= 1} icon={{ name: 'volume-high' }} interactionPolicy={interactionPolicy} label="Raise volume" onPress={() => changeVolume(0.1)} size="s"/>
82
+ <IconButton disabled={!canInteract} icon={{ name: 'expand' }} interactionPolicy={interactionPolicy} label={`Enter fullscreen ${accessibilityLabel}`} onPress={enterFullscreen} size="s"/>
83
+ </View>
84
+ </View>
85
+ </View>
86
+ </View>);
87
+ }
88
+ /*** Clamps a finite numeric value to its inclusive playback range. */
89
+ function clamp(value, minimum, maximum) {
90
+ if (!Number.isFinite(value))
91
+ return minimum;
92
+ return Math.min(Math.max(value, minimum), maximum);
93
+ }
94
+ /*** Updates the Expo adapter's private current-time property with a safe playback position. */
95
+ function setVideoPlayerCurrentTime(player, currentTime) {
96
+ player.currentTime = currentTime;
97
+ }
98
+ /*** Updates the Expo adapter's private volume property with a normalized value. */
99
+ function setVideoPlayerVolume(player, volume) {
100
+ player.volume = clamp(volume, 0, 1);
101
+ }
102
+ /*** Formats a playback duration in seconds as a readable elapsed-time label. */
103
+ function formatVideoTime(value) {
104
+ const totalSeconds = Math.floor(Math.max(0, Number.isFinite(value) ? value : 0));
105
+ const seconds = totalSeconds % 60;
106
+ const minutes = Math.floor(totalSeconds / 60) % 60;
107
+ const hours = Math.floor(totalSeconds / 3600);
108
+ const minuteLabel = hours > 0 ? String(minutes).padStart(2, '0') : String(minutes);
109
+ const secondLabel = String(seconds).padStart(2, '0');
110
+ return hours > 0 ? `${hours}:${minuteLabel}:${secondLabel}` : `${minuteLabel}:${secondLabel}`;
111
+ }
112
+ /*** Identifies finite dimensions and durations that can be used by the playback UI. */
113
+ function isPositiveFiniteNumber(value) {
114
+ return Number.isFinite(value) && value > 0;
115
+ }
116
+ /*** Converts elapsed playback to a percentage suitable for the visual progress track. */
117
+ function resolveProgressPercent(currentTime, duration) {
118
+ if (duration <= 0)
119
+ return 0;
120
+ return clamp((currentTime / duration) * 100, 0, 100);
121
+ }
122
+ /*** Keeps Expo player events synchronized with the themed control surface. */
123
+ function useVideoPlayerEvents(player) {
124
+ const [events, setEvents] = React.useState({
125
+ player: null,
126
+ playingChange: null,
127
+ sourceLoad: null,
128
+ timeUpdate: null,
129
+ volumeChange: null,
130
+ });
131
+ React.useEffect(() => {
132
+ const timeUpdate = player.addListener('timeUpdate', (value) => {
133
+ setEvents((current) => ({ ...current, player, timeUpdate: value }));
134
+ });
135
+ const sourceLoad = player.addListener('sourceLoad', (value) => {
136
+ setEvents((current) => ({ ...current, player, sourceLoad: value }));
137
+ });
138
+ const playingChange = player.addListener('playingChange', (value) => {
139
+ setEvents((current) => ({ ...current, player, playingChange: value }));
140
+ });
141
+ const volumeChange = player.addListener('volumeChange', (value) => {
142
+ setEvents((current) => ({ ...current, player, volumeChange: value }));
143
+ });
144
+ return () => {
145
+ timeUpdate.remove();
146
+ sourceLoad.remove();
147
+ playingChange.remove();
148
+ volumeChange.remove();
149
+ };
150
+ }, [player]);
151
+ return events.player === player ? events : EMPTY_VIDEO_PLAYBACK_EVENTS;
152
+ }
153
+ const EMPTY_VIDEO_PLAYBACK_EVENTS = {
154
+ player: null,
155
+ playingChange: null,
156
+ sourceLoad: null,
157
+ timeUpdate: null,
158
+ volumeChange: null,
159
+ };
160
+ //# sourceMappingURL=Video.native.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Video.native.js","sourceRoot":"","sources":["../../../../../src/features/video/adapters/inbound/Video.native.tsx"],"names":[],"mappings":"AAAA,OAAO,EAIL,cAAc,EACd,SAAS,GAEV,MAAM,YAAY,CAAC;AACpB,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAGzC,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACpD,OAAO,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAC9C,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAC9C,OAAO,EAAE,kBAAkB,EAAE,MAAM,oDAAoD,CAAC;AACxF,OAAO,EAAE,YAAY,EAAE,MAAM,yCAAyC,CAAC;AACvE,OAAO,EAAE,IAAI,EAAE,MAAM,4BAA4B,CAAC;AAElD,8FAA8F;AAC9F,MAAM,CAAC,MAAM,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Eb,OAAO,MAAM,CAAC,MAAM,KAAK,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,2BAA2B,CAAC;AACzE,CAAC;AAUD,MAAM,2BAA2B,GAAwB;IACvD,MAAM,EAAE,IAAI;IACZ,aAAa,EAAE,IAAI;IACnB,UAAU,EAAE,IAAI;IAChB,UAAU,EAAE,IAAI;IAChB,YAAY,EAAE,IAAI;CACnB,CAAC","sourcesContent":["import {\n type PlayingChangeEventPayload,\n type SourceLoadEventPayload,\n type TimeUpdateEventPayload,\n useVideoPlayer,\n VideoView,\n type VolumeChangeEventPayload,\n} from 'expo-video';\nimport React from 'react';\nimport { Pressable } from 'react-native';\n\nimport type { VideoProps } from '../../../../types/video';\nimport { IconButton } from '../../../button/public';\nimport { Image } from '../../../image/public';\nimport { View } from '../../../layout/public';\nimport { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope';\nimport { useZoraTheme } from '../../../theme/composition/useZoraTheme';\nimport { Text } from '../../../typography/public';\n\n/*** Renders Expo-backed video playback through ZORA's portable source and themed controls. */\nexport const Video = withZoraThemeScope(VideoInner);\n\n/*** Configures the adapter-private Expo player for the ZORA control surface. */\nfunction configureVideoPlayer(player: ReturnType<typeof useVideoPlayer>, volume: number): void {\n player.timeUpdateEventInterval = 0.25;\n setVideoPlayerVolume(player, volume);\n}\n\n/*** Renders one Video player and synchronizes its themed controls with Expo playback state. */\nfunction VideoInner({\n themeId: _themeId,\n mode: _mode,\n interactionPolicy,\n source,\n poster,\n aspectRatio = 16 / 9,\n contentFit = 'contain',\n volume = 1,\n accessibilityLabel = 'Video player',\n testID,\n}: VideoProps) {\n const { theme } = useZoraTheme();\n const videoRef = React.useRef<VideoView>(null);\n const player = useVideoPlayer(source ?? null, (nextPlayer) =>\n configureVideoPlayer(nextPlayer, volume),\n );\n const playbackEvents = useVideoPlayerEvents(player);\n const [renderedSource, setRenderedSource] = React.useState<VideoProps['source']>(null);\n const [progressWidth, setProgressWidth] = React.useState(0);\n const currentTime = playbackEvents.timeUpdate?.currentTime ?? player.currentTime;\n const duration = playbackEvents.sourceLoad?.duration ?? player.duration;\n const isPlaying = playbackEvents.playingChange?.isPlaying ?? player.playing;\n const currentVolume = playbackEvents.volumeChange?.volume ?? player.volume;\n const canInteract = interactionPolicy !== 'passive' && source !== null && source !== undefined;\n const safeAspectRatio = isPositiveFiniteNumber(aspectRatio) ? aspectRatio : 16 / 9;\n const safeDuration = isPositiveFiniteNumber(duration) ? duration : 0;\n const safeCurrentTime = clamp(currentTime, 0, safeDuration);\n\n React.useEffect(() => {\n setVideoPlayerVolume(player, volume);\n }, [player, volume]);\n\n const togglePlayback = () => {\n if (player.playing) {\n player.pause();\n return;\n }\n\n player.play();\n };\n\n const seekToProgress = (locationX: number) => {\n if (progressWidth <= 0 || safeDuration === 0) return;\n setVideoPlayerCurrentTime(player, clamp(locationX / progressWidth, 0, 1) * safeDuration);\n };\n\n const changeVolume = (difference: number) => {\n setVideoPlayerVolume(player, currentVolume + difference);\n };\n\n const enterFullscreen = () => {\n void videoRef.current?.enterFullscreen().catch(() => undefined);\n };\n\n return (\n <View\n bg={theme.semantics.surface.raised}\n borderColor={theme.semantics.neutral.divider}\n borderWidth={1}\n radius=\"m\"\n testID={testID}\n overflow=\"hidden\"\n >\n <View bg={theme.semantics.neutral.surface} style={{ aspectRatio: safeAspectRatio }}>\n <VideoView\n contentFit={contentFit}\n fullscreenOptions={{ enable: true }}\n nativeControls={false}\n onFirstFrameRender={() => setRenderedSource(source ?? null)}\n player={player}\n ref={videoRef}\n style={{ height: '100%', width: '100%' }}\n />\n {poster && renderedSource !== source ? (\n <View\n style={{ bottom: 0, left: 0, position: 'absolute', right: 0, top: 0 }}\n pointerEvents=\"none\"\n >\n <Image\n alt=\"\"\n aspectRatio={safeAspectRatio}\n fit={contentFit === 'fill' ? 'stretch' : contentFit}\n source={poster}\n />\n </View>\n ) : null}\n </View>\n <View gap=\"s\" p=\"m\">\n <Pressable\n accessibilityLabel=\"Seek video\"\n accessibilityRole=\"adjustable\"\n accessibilityValue={{ max: safeDuration, min: 0, now: safeCurrentTime }}\n disabled={!canInteract || safeDuration === 0}\n onLayout={(event) => setProgressWidth(event.nativeEvent.layout.width)}\n onPress={(event) => seekToProgress(event.nativeEvent.locationX)}\n >\n <View\n bg={theme.semantics.neutral.surface}\n borderColor={theme.semantics.neutral.divider}\n borderWidth={1}\n radius=\"full\"\n style={{ height: 8, overflow: 'hidden' }}\n >\n <View\n bg={theme.semantics.action.primary.base}\n style={{\n height: '100%',\n width: `${resolveProgressPercent(safeCurrentTime, safeDuration)}%`,\n }}\n />\n </View>\n </Pressable>\n <View align=\"center\" direction=\"row\" justify=\"space-between\" wrap=\"nowrap\">\n <Text accessibilityLiveRegion=\"polite\" emphasis=\"muted\" variant=\"caption\">\n {formatVideoTime(safeCurrentTime)} / {formatVideoTime(safeDuration)}\n </Text>\n <View align=\"center\" direction=\"row\" gap=\"xs\" wrap=\"nowrap\">\n <IconButton\n disabled={!canInteract}\n icon={{ name: 'play-skip-back' }}\n interactionPolicy={interactionPolicy}\n label=\"Seek back 10 seconds\"\n onPress={() => player.seekBy(-10)}\n size=\"s\"\n />\n <IconButton\n disabled={!canInteract}\n icon={{ name: isPlaying ? 'pause' : 'play' }}\n interactionPolicy={interactionPolicy}\n label={isPlaying ? 'Pause video' : 'Play video'}\n onPress={togglePlayback}\n size=\"m\"\n />\n <IconButton\n disabled={!canInteract}\n icon={{ name: 'play-skip-forward' }}\n interactionPolicy={interactionPolicy}\n label=\"Seek forward 10 seconds\"\n onPress={() => player.seekBy(10)}\n size=\"s\"\n />\n </View>\n <View align=\"center\" direction=\"row\" gap=\"xs\" wrap=\"nowrap\">\n <IconButton\n disabled={!canInteract || currentVolume <= 0}\n icon={{ name: 'volume-low' }}\n interactionPolicy={interactionPolicy}\n label=\"Lower volume\"\n onPress={() => changeVolume(-0.1)}\n size=\"s\"\n />\n <IconButton\n disabled={!canInteract || currentVolume >= 1}\n icon={{ name: 'volume-high' }}\n interactionPolicy={interactionPolicy}\n label=\"Raise volume\"\n onPress={() => changeVolume(0.1)}\n size=\"s\"\n />\n <IconButton\n disabled={!canInteract}\n icon={{ name: 'expand' }}\n interactionPolicy={interactionPolicy}\n label={`Enter fullscreen ${accessibilityLabel}`}\n onPress={enterFullscreen}\n size=\"s\"\n />\n </View>\n </View>\n </View>\n </View>\n );\n}\n\n/*** Clamps a finite numeric value to its inclusive playback range. */\nfunction clamp(value: number, minimum: number, maximum: number): number {\n if (!Number.isFinite(value)) return minimum;\n return Math.min(Math.max(value, minimum), maximum);\n}\n\n/*** Updates the Expo adapter's private current-time property with a safe playback position. */\nfunction setVideoPlayerCurrentTime(\n player: ReturnType<typeof useVideoPlayer>,\n currentTime: number,\n): void {\n player.currentTime = currentTime;\n}\n\n/*** Updates the Expo adapter's private volume property with a normalized value. */\nfunction setVideoPlayerVolume(player: ReturnType<typeof useVideoPlayer>, volume: number): void {\n player.volume = clamp(volume, 0, 1);\n}\n\n/*** Formats a playback duration in seconds as a readable elapsed-time label. */\nfunction formatVideoTime(value: number): string {\n const totalSeconds = Math.floor(Math.max(0, Number.isFinite(value) ? value : 0));\n const seconds = totalSeconds % 60;\n const minutes = Math.floor(totalSeconds / 60) % 60;\n const hours = Math.floor(totalSeconds / 3600);\n const minuteLabel = hours > 0 ? String(minutes).padStart(2, '0') : String(minutes);\n const secondLabel = String(seconds).padStart(2, '0');\n\n return hours > 0 ? `${hours}:${minuteLabel}:${secondLabel}` : `${minuteLabel}:${secondLabel}`;\n}\n\n/*** Identifies finite dimensions and durations that can be used by the playback UI. */\nfunction isPositiveFiniteNumber(value: number): boolean {\n return Number.isFinite(value) && value > 0;\n}\n\n/*** Converts elapsed playback to a percentage suitable for the visual progress track. */\nfunction resolveProgressPercent(currentTime: number, duration: number): number {\n if (duration <= 0) return 0;\n return clamp((currentTime / duration) * 100, 0, 100);\n}\n\n/*** Keeps Expo player events synchronized with the themed control surface. */\nfunction useVideoPlayerEvents(player: ReturnType<typeof useVideoPlayer>): VideoPlaybackEvents {\n const [events, setEvents] = React.useState<VideoPlaybackEvents>({\n player: null,\n playingChange: null,\n sourceLoad: null,\n timeUpdate: null,\n volumeChange: null,\n });\n\n React.useEffect(() => {\n const timeUpdate = player.addListener('timeUpdate', (value) => {\n setEvents((current) => ({ ...current, player, timeUpdate: value }));\n });\n const sourceLoad = player.addListener('sourceLoad', (value) => {\n setEvents((current) => ({ ...current, player, sourceLoad: value }));\n });\n const playingChange = player.addListener('playingChange', (value) => {\n setEvents((current) => ({ ...current, player, playingChange: value }));\n });\n const volumeChange = player.addListener('volumeChange', (value) => {\n setEvents((current) => ({ ...current, player, volumeChange: value }));\n });\n\n return () => {\n timeUpdate.remove();\n sourceLoad.remove();\n playingChange.remove();\n volumeChange.remove();\n };\n }, [player]);\n\n return events.player === player ? events : EMPTY_VIDEO_PLAYBACK_EVENTS;\n}\n\ninterface VideoPlaybackEvents {\n readonly player: ReturnType<typeof useVideoPlayer> | null;\n readonly playingChange: PlayingChangeEventPayload | null;\n readonly sourceLoad: SourceLoadEventPayload | null;\n readonly timeUpdate: TimeUpdateEventPayload | null;\n readonly volumeChange: VolumeChangeEventPayload | null;\n}\n\nconst EMPTY_VIDEO_PLAYBACK_EVENTS: VideoPlaybackEvents = {\n player: null,\n playingChange: null,\n sourceLoad: null,\n timeUpdate: null,\n volumeChange: null,\n};\n"]}
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import type { VideoProps } from '../../../../types/video';
3
+ /*** Defers Expo Video's browser runtime until after hydration while preserving a themed poster shell. */
4
+ export declare const Video: (props: VideoProps) => React.ReactElement | null;
5
+ //# sourceMappingURL=Video.web.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Video.web.d.ts","sourceRoot":"","sources":["../../../../../src/features/video/adapters/inbound/Video.web.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAM1D,yGAAyG;AACzG,eAAO,MAAM,KAAK,kDAAoC,CAAC"}
@@ -0,0 +1,30 @@
1
+ import React from 'react';
2
+ import { Image } from '../../../image/public';
3
+ import { View } from '../../../layout/public';
4
+ import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope';
5
+ import { useZoraTheme } from '../../../theme/composition/useZoraTheme';
6
+ /*** Defers Expo Video's browser runtime until after hydration while preserving a themed poster shell. */
7
+ export const Video = withZoraThemeScope(VideoWebInner);
8
+ /*** Renders the SSR-safe video poster, then loads the Expo-backed adapter in a browser runtime. */
9
+ function VideoWebInner({ themeId: _themeId, mode: _mode, interactionPolicy, poster, aspectRatio = 16 / 9, contentFit = 'contain', ...props }) {
10
+ const { theme } = useZoraTheme();
11
+ const [NativeVideo, setNativeVideo] = React.useState(null);
12
+ const safeAspectRatio = Number.isFinite(aspectRatio) && aspectRatio > 0 ? aspectRatio : 16 / 9;
13
+ React.useEffect(() => {
14
+ let active = true;
15
+ void import('./Video.native').then(({ Video: LoadedVideo }) => {
16
+ if (active)
17
+ setNativeVideo(() => LoadedVideo);
18
+ });
19
+ return () => {
20
+ active = false;
21
+ };
22
+ }, []);
23
+ if (NativeVideo) {
24
+ return (<NativeVideo {...props} aspectRatio={safeAspectRatio} contentFit={contentFit} interactionPolicy={interactionPolicy} poster={poster}/>);
25
+ }
26
+ return (<View bg={theme.semantics.neutral.surface} borderColor={theme.semantics.neutral.divider} borderWidth={1} overflow="hidden" radius="m" style={{ aspectRatio: safeAspectRatio }}>
27
+ {poster ? (<Image alt="" aspectRatio={safeAspectRatio} fit={contentFit === 'fill' ? 'stretch' : contentFit} source={poster}/>) : null}
28
+ </View>);
29
+ }
30
+ //# sourceMappingURL=Video.web.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Video.web.js","sourceRoot":"","sources":["../../../../../src/features/video/adapters/inbound/Video.web.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAA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,CACV,IAAI,KAAK,CAAC,CACV,WAAW,CAAC,CAAC,eAAe,CAAC,CAC7B,UAAU,CAAC,CAAC,UAAU,CAAC,CACvB,iBAAiB,CAAC,CAAC,iBAAiB,CAAC,CACrC,MAAM,CAAC,CAAC,MAAM,CAAC,EACf,CACH,CAAC;IACJ,CAAC;IAED,OAAO,CACL,CAAC,IAAI,CACH,EAAE,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,OAAO,CAAC,OAAO,CAAC,CACpC,WAAW,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,OAAO,CAAC,OAAO,CAAC,CAC7C,WAAW,CAAC,CAAC,CAAC,CAAC,CACf,QAAQ,CAAC,QAAQ,CACjB,MAAM,CAAC,GAAG,CACV,KAAK,CAAC,CAAC,EAAE,WAAW,EAAE,eAAe,EAAE,CAAC,CAExC;MAAA,CAAC,MAAM,CAAC,CAAC,CAAC,CACR,CAAC,KAAK,CACJ,GAAG,CAAC,EAAE,CACN,WAAW,CAAC,CAAC,eAAe,CAAC,CAC7B,GAAG,CAAC,CAAC,UAAU,KAAK,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,UAAU,CAAC,CACpD,MAAM,CAAC,CAAC,MAAM,CAAC,EACf,CACH,CAAC,CAAC,CAAC,IAAI,CACV;IAAA,EAAE,IAAI,CAAC,CACR,CAAC;AACJ,CAAC","sourcesContent":["import React from 'react';\n\nimport type { VideoProps } from '../../../../types/video';\nimport { Image } from '../../../image/public';\nimport { View } from '../../../layout/public';\nimport { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope';\nimport { useZoraTheme } from '../../../theme/composition/useZoraTheme';\n\n/*** Defers Expo Video's browser runtime until after hydration while preserving a themed poster shell. */\nexport const Video = withZoraThemeScope(VideoWebInner);\n\n/*** Renders the SSR-safe video poster, then loads the Expo-backed adapter in a browser runtime. */\nfunction VideoWebInner({\n themeId: _themeId,\n mode: _mode,\n interactionPolicy,\n poster,\n aspectRatio = 16 / 9,\n contentFit = 'contain',\n ...props\n}: VideoProps) {\n const { theme } = useZoraTheme();\n const [NativeVideo, setNativeVideo] = React.useState<React.ComponentType<VideoProps> | null>(\n null,\n );\n const safeAspectRatio = Number.isFinite(aspectRatio) && aspectRatio > 0 ? aspectRatio : 16 / 9;\n\n React.useEffect(() => {\n let active = true;\n void import('./Video.native').then(({ Video: LoadedVideo }) => {\n if (active) setNativeVideo(() => LoadedVideo);\n });\n\n return () => {\n active = false;\n };\n }, []);\n\n if (NativeVideo) {\n return (\n <NativeVideo\n {...props}\n aspectRatio={safeAspectRatio}\n contentFit={contentFit}\n interactionPolicy={interactionPolicy}\n poster={poster}\n />\n );\n }\n\n return (\n <View\n bg={theme.semantics.neutral.surface}\n borderColor={theme.semantics.neutral.divider}\n borderWidth={1}\n overflow=\"hidden\"\n radius=\"m\"\n style={{ aspectRatio: safeAspectRatio }}\n >\n {poster ? (\n <Image\n alt=\"\"\n aspectRatio={safeAspectRatio}\n fit={contentFit === 'fill' ? 'stretch' : contentFit}\n source={poster}\n />\n ) : null}\n </View>\n );\n}\n"]}
@@ -0,0 +1,3 @@
1
+ export type { VideoContentFit, VideoManifestProps, VideoProps, VideoResolvedSource, } from '../../types/video';
2
+ export { Video } from './adapters/inbound/Video';
3
+ //# sourceMappingURL=public.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"public.d.ts","sourceRoot":"","sources":["../../../src/features/video/public.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,eAAe,EACf,kBAAkB,EAClB,UAAU,EACV,mBAAmB,GACpB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,KAAK,EAAE,MAAM,0BAA0B,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { Video } from './adapters/inbound/Video';
2
+ //# sourceMappingURL=public.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"public.js","sourceRoot":"","sources":["../../../src/features/video/public.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,EAAE,MAAM,0BAA0B,CAAC","sourcesContent":["export type {\n VideoContentFit,\n VideoManifestProps,\n VideoProps,\n VideoResolvedSource,\n} from '../../types/video';\nexport { Video } from './adapters/inbound/Video';\n"]}
@@ -0,0 +1,64 @@
1
+ export declare const videoMeta: {
2
+ readonly name: "Video";
3
+ readonly category: "component";
4
+ readonly description: "Plays an authored video with themed transport controls.";
5
+ readonly directManifestNode: true;
6
+ readonly allowedChildren: readonly [];
7
+ readonly blueprint: {
8
+ readonly label: "Video";
9
+ readonly defaultProps: {
10
+ readonly aspectRatio: number;
11
+ readonly contentFit: "contain";
12
+ readonly volume: 1;
13
+ };
14
+ };
15
+ readonly props: {
16
+ readonly source: {
17
+ readonly type: "media";
18
+ readonly category: "Content";
19
+ readonly label: "Video source";
20
+ readonly mediaKinds: readonly ["video"];
21
+ readonly authoring: {
22
+ readonly authority: "instance";
23
+ };
24
+ };
25
+ readonly poster: {
26
+ readonly type: "media";
27
+ readonly category: "Content";
28
+ readonly label: "Poster image";
29
+ readonly mediaKinds: readonly ["image"];
30
+ readonly authoring: {
31
+ readonly authority: "instance";
32
+ };
33
+ };
34
+ readonly aspectRatio: {
35
+ readonly type: "number";
36
+ readonly category: "Layout";
37
+ readonly label: "Aspect ratio";
38
+ readonly default: number;
39
+ readonly authoring: {
40
+ readonly authority: "instance";
41
+ };
42
+ };
43
+ readonly contentFit: {
44
+ readonly type: "enum";
45
+ readonly category: "Layout";
46
+ readonly label: "Content fit";
47
+ readonly enum: readonly ["contain", "cover", "fill"];
48
+ readonly default: "contain";
49
+ readonly authoring: {
50
+ readonly authority: "instance";
51
+ };
52
+ };
53
+ readonly volume: {
54
+ readonly type: "number";
55
+ readonly category: "Playback";
56
+ readonly label: "Volume";
57
+ readonly default: 1;
58
+ readonly authoring: {
59
+ readonly authority: "instance";
60
+ };
61
+ };
62
+ };
63
+ };
64
+ //# sourceMappingURL=videoMeta.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"videoMeta.d.ts","sourceRoot":"","sources":["../../../src/features/video/videoMeta.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgDgB,CAAC"}
@@ -0,0 +1,50 @@
1
+ export const videoMeta = {
2
+ name: 'Video',
3
+ category: 'component',
4
+ description: 'Plays an authored video with themed transport controls.',
5
+ directManifestNode: true,
6
+ allowedChildren: [],
7
+ blueprint: {
8
+ label: 'Video',
9
+ defaultProps: { aspectRatio: 16 / 9, contentFit: 'contain', volume: 1 },
10
+ },
11
+ props: {
12
+ source: {
13
+ type: 'media',
14
+ category: 'Content',
15
+ label: 'Video source',
16
+ mediaKinds: ['video'],
17
+ authoring: { authority: 'instance' },
18
+ },
19
+ poster: {
20
+ type: 'media',
21
+ category: 'Content',
22
+ label: 'Poster image',
23
+ mediaKinds: ['image'],
24
+ authoring: { authority: 'instance' },
25
+ },
26
+ aspectRatio: {
27
+ type: 'number',
28
+ category: 'Layout',
29
+ label: 'Aspect ratio',
30
+ default: 16 / 9,
31
+ authoring: { authority: 'instance' },
32
+ },
33
+ contentFit: {
34
+ type: 'enum',
35
+ category: 'Layout',
36
+ label: 'Content fit',
37
+ enum: ['contain', 'cover', 'fill'],
38
+ default: 'contain',
39
+ authoring: { authority: 'instance' },
40
+ },
41
+ volume: {
42
+ type: 'number',
43
+ category: 'Playback',
44
+ label: 'Volume',
45
+ default: 1,
46
+ authoring: { authority: 'instance' },
47
+ },
48
+ },
49
+ };
50
+ //# sourceMappingURL=videoMeta.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"videoMeta.js","sourceRoot":"","sources":["../../../src/features/video/videoMeta.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,SAAS,GAAG;IACvB,IAAI,EAAE,OAAO;IACb,QAAQ,EAAE,WAAW;IACrB,WAAW,EAAE,yDAAyD;IACtE,kBAAkB,EAAE,IAAI;IACxB,eAAe,EAAE,EAAE;IACnB,SAAS,EAAE;QACT,KAAK,EAAE,OAAO;QACd,YAAY,EAAE,EAAE,WAAW,EAAE,EAAE,GAAG,CAAC,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,EAAE,CAAC,EAAE;KACxE;IACD,KAAK,EAAE;QACL,MAAM,EAAE;YACN,IAAI,EAAE,OAAO;YACb,QAAQ,EAAE,SAAS;YACnB,KAAK,EAAE,cAAc;YACrB,UAAU,EAAE,CAAC,OAAO,CAAC;YACrB,SAAS,EAAE,EAAE,SAAS,EAAE,UAAU,EAAE;SACrC;QACD,MAAM,EAAE;YACN,IAAI,EAAE,OAAO;YACb,QAAQ,EAAE,SAAS;YACnB,KAAK,EAAE,cAAc;YACrB,UAAU,EAAE,CAAC,OAAO,CAAC;YACrB,SAAS,EAAE,EAAE,SAAS,EAAE,UAAU,EAAE;SACrC;QACD,WAAW,EAAE;YACX,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,QAAQ;YAClB,KAAK,EAAE,cAAc;YACrB,OAAO,EAAE,EAAE,GAAG,CAAC;YACf,SAAS,EAAE,EAAE,SAAS,EAAE,UAAU,EAAE;SACrC;QACD,UAAU,EAAE;YACV,IAAI,EAAE,MAAM;YACZ,QAAQ,EAAE,QAAQ;YAClB,KAAK,EAAE,aAAa;YACpB,IAAI,EAAE,CAAC,SAAS,EAAE,OAAO,EAAE,MAAM,CAAC;YAClC,OAAO,EAAE,SAAS;YAClB,SAAS,EAAE,EAAE,SAAS,EAAE,UAAU,EAAE;SACrC;QACD,MAAM,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,UAAU;YACpB,KAAK,EAAE,QAAQ;YACf,OAAO,EAAE,CAAC;YACV,SAAS,EAAE,EAAE,SAAS,EAAE,UAAU,EAAE;SACrC;KACF;CACmC,CAAC","sourcesContent":["import type { ZoraComponentMeta } from '../../types/authoring';\n\nexport const videoMeta = {\n name: 'Video',\n category: 'component',\n description: 'Plays an authored video with themed transport controls.',\n directManifestNode: true,\n allowedChildren: [],\n blueprint: {\n label: 'Video',\n defaultProps: { aspectRatio: 16 / 9, contentFit: 'contain', volume: 1 },\n },\n props: {\n source: {\n type: 'media',\n category: 'Content',\n label: 'Video source',\n mediaKinds: ['video'],\n authoring: { authority: 'instance' },\n },\n poster: {\n type: 'media',\n category: 'Content',\n label: 'Poster image',\n mediaKinds: ['image'],\n authoring: { authority: 'instance' },\n },\n aspectRatio: {\n type: 'number',\n category: 'Layout',\n label: 'Aspect ratio',\n default: 16 / 9,\n authoring: { authority: 'instance' },\n },\n contentFit: {\n type: 'enum',\n category: 'Layout',\n label: 'Content fit',\n enum: ['contain', 'cover', 'fill'],\n default: 'contain',\n authoring: { authority: 'instance' },\n },\n volume: {\n type: 'number',\n category: 'Playback',\n label: 'Volume',\n default: 1,\n authoring: { authority: 'instance' },\n },\n },\n} as const satisfies ZoraComponentMeta;\n"]}
package/dist/index.d.ts CHANGED
@@ -1,5 +1,7 @@
1
1
  export type { AuthoringBindingControlState, AuthoringBindingEditorAdapterProps, AuthoringPropertyControlState, AuthoringPropertyInspectorAdapterProps, AuthoringSelectionAdapterProps, AuthoringSelectionItemState, ThemeEditorAdapterProps, ThemeRecipeFieldControlState, } from './authoring';
2
2
  export { AuthoringBindingEditorAdapter, AuthoringPropertyInspectorAdapter, AuthoringSelectionAdapter, ThemeEditorAdapter, } from './authoring';
3
+ export type { AudioManifestProps, AudioProps, AudioResolvedSource } from './features/audio/public';
4
+ export { Audio } from './features/audio/public';
3
5
  export type { CarouselProps, CarouselSlide, CarouselTransition } from './features/carousel/public';
4
6
  export { Carousel } from './features/carousel/public';
5
7
  export type { ColorHueScaleProps, ColorPickerProps, ColorPickerTab, ColorToneDefinition, ColorToneProps, ColorToneSelection, ColorToneTarget, ColorWheelProps, ColorWheelSelection, } from './features/color/public';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,4BAA4B,EA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zB,uBAAuB,EACvB,WAAW,EACX,oBAAoB,EACpB,YAAY,GACb,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,MAAM,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAC;AACzE,OAAO,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AACrE,cAAc,cAAc,CAAC;AAC7B,YAAY,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAC"}
package/dist/index.js CHANGED
@@ -1,4 +1,5 @@
1
1
  export { AuthoringBindingEditorAdapter, AuthoringPropertyInspectorAdapter, AuthoringSelectionAdapter, ThemeEditorAdapter, } from './authoring';
2
+ export { Audio } from './features/audio/public';
2
3
  export { Carousel } from './features/carousel/public';
3
4
  export { ColorHueScale, ColorPicker, ColorTone, ColorWheel } from './features/color/public';
4
5
  export { GradientRendererProvider } from './features/gradient/public';
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAUA,OAAO,EACL,6BAA6B,EAC7B,iCAAiC,EACjC,yBAAyB,EACzB,kBAAkB,GACnB,MAAM,aAAa,CAAC;AAErB,OAAO,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAC;AAYtD,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAM5F,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAOtE,OAAO,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAC;AAc/D,OAAO,EAAE,MAAM,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAC;AACzE,OAAO,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AACrE,cAAc,cAAc,CAAC","sourcesContent":["export type {\n AuthoringBindingControlState,\n AuthoringBindingEditorAdapterProps,\n AuthoringPropertyControlState,\n AuthoringPropertyInspectorAdapterProps,\n AuthoringSelectionAdapterProps,\n AuthoringSelectionItemState,\n ThemeEditorAdapterProps,\n ThemeRecipeFieldControlState,\n} from './authoring';\nexport {\n AuthoringBindingEditorAdapter,\n AuthoringPropertyInspectorAdapter,\n AuthoringSelectionAdapter,\n ThemeEditorAdapter,\n} from './authoring';\nexport type { CarouselProps, CarouselSlide, CarouselTransition } from './features/carousel/public';\nexport { Carousel } from './features/carousel/public';\nexport type {\n ColorHueScaleProps,\n ColorPickerProps,\n ColorPickerTab,\n ColorToneDefinition,\n ColorToneProps,\n ColorToneSelection,\n ColorToneTarget,\n ColorWheelProps,\n ColorWheelSelection,\n} from './features/color/public';\nexport { ColorHueScale, ColorPicker, ColorTone, ColorWheel } from './features/color/public';\nexport type {\n GradientRenderer,\n GradientRendererProps,\n GradientRendererProviderProps,\n} from './features/gradient/public';\nexport { GradientRendererProvider } from './features/gradient/public';\nexport type {\n MasterDetailActivePane,\n MasterDetailDesktopMode,\n MasterDetailMasterWidth,\n MasterDetailProps,\n} from './features/master-detail/public';\nexport { MasterDetail } from './features/master-detail/public';\nexport type {\n ReaderColorScheme,\n ReaderDocumentFormat,\n ReaderErrorCode,\n ReaderErrorEvent,\n ReaderExternalLinkEvent,\n ReaderLineHeight,\n ReaderLocationChangeEvent,\n ReaderNavigationTrigger,\n ReaderProps,\n ReaderResolvedSource,\n ReaderStatus,\n} from './features/reader/public';\nexport { Reader, resolveReaderProgress } from './features/reader/public';\nexport { ZORA_COMPONENT_REGISTRY } from './features/registry/public';\nexport * from './readerFree';\nexport type { ZoraComponentRegistry } from './types/registry';\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAUA,OAAO,EACL,6BAA6B,EAC7B,iCAAiC,EACjC,yBAAyB,EACzB,kBAAkB,GACnB,MAAM,aAAa,CAAC;AAErB,OAAO,EAAE,KAAK,EAAE,MAAM,yBAAyB,CAAC;AAEhD,OAAO,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAC;AAYtD,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAM5F,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAOtE,OAAO,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAC;AAc/D,OAAO,EAAE,MAAM,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAC;AACzE,OAAO,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AACrE,cAAc,cAAc,CAAC","sourcesContent":["export type {\n AuthoringBindingControlState,\n AuthoringBindingEditorAdapterProps,\n AuthoringPropertyControlState,\n AuthoringPropertyInspectorAdapterProps,\n AuthoringSelectionAdapterProps,\n AuthoringSelectionItemState,\n ThemeEditorAdapterProps,\n ThemeRecipeFieldControlState,\n} from './authoring';\nexport {\n AuthoringBindingEditorAdapter,\n AuthoringPropertyInspectorAdapter,\n AuthoringSelectionAdapter,\n ThemeEditorAdapter,\n} from './authoring';\nexport type { AudioManifestProps, AudioProps, AudioResolvedSource } from './features/audio/public';\nexport { Audio } from './features/audio/public';\nexport type { CarouselProps, CarouselSlide, CarouselTransition } from './features/carousel/public';\nexport { Carousel } from './features/carousel/public';\nexport type {\n ColorHueScaleProps,\n ColorPickerProps,\n ColorPickerTab,\n ColorToneDefinition,\n ColorToneProps,\n ColorToneSelection,\n ColorToneTarget,\n ColorWheelProps,\n ColorWheelSelection,\n} from './features/color/public';\nexport { ColorHueScale, ColorPicker, ColorTone, ColorWheel } from './features/color/public';\nexport type {\n GradientRenderer,\n GradientRendererProps,\n GradientRendererProviderProps,\n} from './features/gradient/public';\nexport { GradientRendererProvider } from './features/gradient/public';\nexport type {\n MasterDetailActivePane,\n MasterDetailDesktopMode,\n MasterDetailMasterWidth,\n MasterDetailProps,\n} from './features/master-detail/public';\nexport { MasterDetail } from './features/master-detail/public';\nexport type {\n ReaderColorScheme,\n ReaderDocumentFormat,\n ReaderErrorCode,\n ReaderErrorEvent,\n ReaderExternalLinkEvent,\n ReaderLineHeight,\n ReaderLocationChangeEvent,\n ReaderNavigationTrigger,\n ReaderProps,\n ReaderResolvedSource,\n ReaderStatus,\n} from './features/reader/public';\nexport { Reader, resolveReaderProgress } from './features/reader/public';\nexport { ZORA_COMPONENT_REGISTRY } from './features/registry/public';\nexport * from './readerFree';\nexport type { ZoraComponentRegistry } from './types/registry';\n"]}
@@ -3,6 +3,7 @@ export { ActivityIndicator, type ActivityIndicatorProps, } from './features/acti
3
3
  export type { AppBarMode, AppBarOverflowMenu, AppBarProps } from './features/app-bar/public';
4
4
  export { AppBar } from './features/app-bar/public';
5
5
  export { AppHeader, type AppHeaderProps } from './features/app-header/public';
6
+ export { Audio, type AudioManifestProps, type AudioProps, type AudioResolvedSource, } from './features/audio/public';
6
7
  export type { AuthFormBaseProps, AuthIdentifierKind, AuthScreenMode, AuthScreenProps, ForgotPasswordFormProps, ForgotPasswordFormValues, OAuthProviderButtonProps, OAuthProviderIconSpec, OAuthProviderItem, OAuthProviderListLayout, OAuthProviderListProps, OtpFormProps, OtpFormValues, SignInFormProps, SignInFormValues, SignUpFormField, SignUpFormProps, SignUpFormValues, } from './features/auth/public';
7
8
  export { AuthScreen, DEFAULT_OAUTH_PROVIDER_ICONS, ForgotPasswordForm, OAuthProviderButton, OAuthProviderList, OtpForm, resolveOAuthProviderIcon, resolveOAuthProviderLabel, SignInForm, SignUpForm, } from './features/auth/public';
8
9
  export type { AvatarProps, AvatarShape, AvatarSize } from './features/avatar/public';
@@ -78,6 +79,8 @@ export { Image } from './features/image/public';
78
79
  export { KeyboardAvoidingView, type KeyboardAvoidingViewBehavior, type KeyboardAvoidingViewProps, } from './features/keyboard-avoiding-view/public';
79
80
  export type { AppShellProps, DividerProps, GridProps, ScreenProps, ScrollViewProps, ViewProps, } from './features/layout/public';
80
81
  export { AppShell, Divider, Grid, Screen, ScrollView, View } from './features/layout/public';
82
+ export type { LinkPressEvent, LinkProps, LinkTarget } from './features/link/public';
83
+ export { Link } from './features/link/public';
81
84
  export type { ManifestListProps, ManifestListSection, ManifestSectionListProps, } from './features/list/public';
82
85
  export type { ListChildrenProps, ListItemProps, ListItemsProps, ListItemVariant, ListProps, ListSectionProps, } from './features/list/public';
83
86
  export { FlatList, SectionList } from './features/list/public';
@@ -129,5 +132,7 @@ export { Heading } from './features/typography/public';
129
132
  export { Text } from './features/typography/public';
130
133
  export type { UploadAsset, UploadAssetBase, UploaderExplorerItem, UploaderProps, UploadProgressContext, UploadType, ValidateUploadAssetInput, } from './features/uploader/public';
131
134
  export { Uploader, validateUploadAsset } from './features/uploader/public';
135
+ export type { VideoContentFit, VideoManifestProps, VideoProps, VideoResolvedSource, } from './features/video/public';
136
+ export { Video } from './features/video/public';
132
137
  export type { ZoraComponentRegistry } from './types/registry';
133
138
  //# sourceMappingURL=readerFree.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"readerFree.d.ts","sourceRoot":"","sources":["../src/readerFree.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,aAAa,EACb,KAAK,kBAAkB,EACvB,KAAK,aAAa,EAClB,KAAK,sBAAsB,EAC3B,KAAK,cAAc,EACnB,KAAK,oBAAoB,GAC1B,MAAM,6BAA6B,CAAC;AACrC,OAAO,EACL,iBAAiB,EACjB,KAAK,sBAAsB,GAC5B,MAAM,sCAAsC,CAAC;AAC9C,YAAY,EAAE,UAAU,EAAE,kBAAkB,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAC7F,OAAO,EAAE,MAAM,EAAE,MAAM,2BAA2B,CAAC;AACnD,OAAO,EAAE,SAAS,EAAE,KAAK,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC9E,YAAY,EACV,iBAAiB,EACjB,kBAAkB,EAClB,cAAc,EACd,eAAe,EACf,uBAAuB,EACvB,wBAAwB,EACxB,wBAAwB,EACxB,qBAAqB,EACrB,iBAAiB,EACjB,uBAAuB,EACvB,sBAAsB,EACtB,YAAY,EACZ,aAAa,EACb,eAA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EACf,YAAY,EACZ,YAAY,EACZ,WAAW,EACX,aAAa,GACd,MAAM,8BAA8B,CAAC;AACtC,YAAY,EACV,SAAS,EACT,SAAS,EACT,YAAY,EACZ,SAAS,EACT,WAAW,EACX,UAAU,GACX,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AACvD,OAAO,EAAE,IAAI,EAAE,MAAM,8BAA8B,CAAC;AACpD,YAAY,EACV,WAAW,EACX,eAAe,EACf,oBAAoB,EACpB,aAAa,EACb,qBAAqB,EACrB,UAAU,EACV,wBAAwB,GACzB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,QAAQ,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAC3E,YAAY,EACV,eAAe,EACf,kBAAkB,EAClB,UAAU,EACV,mBAAmB,GACpB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,KAAK,EAAE,MAAM,yBAAyB,CAAC;AAChD,YAAY,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAC"}
@@ -2,6 +2,7 @@ export { Accordion, AccordionItem, } from './features/accordion/public';
2
2
  export { ActivityIndicator, } from './features/activity-indicator/public';
3
3
  export { AppBar } from './features/app-bar/public';
4
4
  export { AppHeader } from './features/app-header/public';
5
+ export { Audio, } from './features/audio/public';
5
6
  export { AuthScreen, DEFAULT_OAUTH_PROVIDER_ICONS, ForgotPasswordForm, OAuthProviderButton, OAuthProviderList, OtpForm, resolveOAuthProviderIcon, resolveOAuthProviderLabel, SignInForm, SignUpForm, } from './features/auth/public';
6
7
  export { Avatar, resolveAvatarInitials } from './features/avatar/public';
7
8
  export { AvatarGroup } from './features/avatar/public';
@@ -46,6 +47,7 @@ export { Icon } from './features/icon/public';
46
47
  export { Image } from './features/image/public';
47
48
  export { KeyboardAvoidingView, } from './features/keyboard-avoiding-view/public';
48
49
  export { AppShell, Divider, Grid, Screen, ScrollView, View } from './features/layout/public';
50
+ export { Link } from './features/link/public';
49
51
  export { FlatList, SectionList } from './features/list/public';
50
52
  export { List, ListItem, ListSection } from './features/list/public';
51
53
  export { MasterDetail } from './features/master-detail/public';
@@ -78,4 +80,5 @@ export { TreeItem, TreeView } from './features/tree-view/public';
78
80
  export { Heading } from './features/typography/public';
79
81
  export { Text } from './features/typography/public';
80
82
  export { Uploader, validateUploadAsset } from './features/uploader/public';
83
+ export { Video } from './features/video/public';
81
84
  //# sourceMappingURL=readerFree.js.map