@ankhorage/zora 28.2.0 → 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 (289) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/README.md +1 -1
  3. package/dist/capabilities/index.js +76 -2
  4. package/dist/capabilities/index.js.map +7 -5
  5. package/dist/constants/authoring.d.ts +5 -3
  6. package/dist/constants/authoring.d.ts.map +1 -1
  7. package/dist/constants/authoring.js +4 -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/list/flatListMeta.d.ts +1 -1
  47. package/dist/features/list/sectionListMeta.d.ts +1 -1
  48. package/dist/features/master-detail/masterDetailMeta.d.ts +1 -1
  49. package/dist/features/reader/meta.d.ts +2 -2
  50. package/dist/features/registry/ZORA_BASE_COMPONENT_REGISTRY.d.ts.map +1 -1
  51. package/dist/features/registry/ZORA_BASE_COMPONENT_REGISTRY.js +4 -0
  52. package/dist/features/registry/ZORA_BASE_COMPONENT_REGISTRY.js.map +1 -1
  53. package/dist/features/registry/bindableComponentMeta.d.ts +2 -2
  54. package/dist/features/registry/componentMeta.d.ts.map +1 -1
  55. package/dist/features/registry/componentMeta.js +4 -0
  56. package/dist/features/registry/componentMeta.js.map +1 -1
  57. package/dist/features/scanner/meta.d.ts +2 -2
  58. package/dist/features/section/screenSectionMeta.d.ts +1 -1
  59. package/dist/features/surface/surfaceMeta.d.ts +1 -1
  60. package/dist/features/tabs/tabPanelMeta.d.ts +1 -1
  61. package/dist/features/video/adapters/inbound/Video.d.ts +2 -0
  62. package/dist/features/video/adapters/inbound/Video.d.ts.map +1 -0
  63. package/dist/features/video/adapters/inbound/Video.js +2 -0
  64. package/dist/features/video/adapters/inbound/Video.js.map +1 -0
  65. package/dist/features/video/adapters/inbound/Video.native.d.ts +5 -0
  66. package/dist/features/video/adapters/inbound/Video.native.d.ts.map +1 -0
  67. package/dist/features/video/adapters/inbound/Video.native.js +160 -0
  68. package/dist/features/video/adapters/inbound/Video.native.js.map +1 -0
  69. package/dist/features/video/adapters/inbound/Video.web.d.ts +5 -0
  70. package/dist/features/video/adapters/inbound/Video.web.d.ts.map +1 -0
  71. package/dist/features/video/adapters/inbound/Video.web.js +30 -0
  72. package/dist/features/video/adapters/inbound/Video.web.js.map +1 -0
  73. package/dist/features/video/public.d.ts +3 -0
  74. package/dist/features/video/public.d.ts.map +1 -0
  75. package/dist/features/video/public.js +2 -0
  76. package/dist/features/video/public.js.map +1 -0
  77. package/dist/features/video/videoMeta.d.ts +64 -0
  78. package/dist/features/video/videoMeta.d.ts.map +1 -0
  79. package/dist/features/video/videoMeta.js +50 -0
  80. package/dist/features/video/videoMeta.js.map +1 -0
  81. package/dist/index.d.ts +2 -0
  82. package/dist/index.d.ts.map +1 -1
  83. package/dist/index.js +1 -0
  84. package/dist/index.js.map +1 -1
  85. package/dist/readerFree.d.ts +3 -0
  86. package/dist/readerFree.d.ts.map +1 -1
  87. package/dist/readerFree.js +2 -0
  88. package/dist/readerFree.js.map +1 -1
  89. package/dist/types/audio.d.ts +15 -0
  90. package/dist/types/audio.d.ts.map +1 -0
  91. package/dist/types/audio.js +2 -0
  92. package/dist/types/audio.js.map +1 -0
  93. package/dist/types/video.d.ts +24 -0
  94. package/dist/types/video.d.ts.map +1 -0
  95. package/dist/types/video.js +2 -0
  96. package/dist/types/video.js.map +1 -0
  97. package/package.json +7 -3
  98. package/src/constants/authoring.ts +4 -0
  99. package/src/features/audio/adapters/inbound/Audio.tsx +158 -0
  100. package/src/features/audio/audioMeta.ts +20 -0
  101. package/src/features/audio/composition/AudioController.ts +12 -0
  102. package/src/features/audio/composition/useAudioController.ts +27 -0
  103. package/src/features/audio/composition/useAudioController.web.ts +106 -0
  104. package/src/features/audio/public.test.ts +37 -0
  105. package/src/features/audio/public.ts +2 -0
  106. package/src/features/registry/ZORA_BASE_COMPONENT_REGISTRY.ts +4 -0
  107. package/src/features/registry/componentMeta.test.ts +16 -0
  108. package/src/features/registry/componentMeta.ts +4 -0
  109. package/src/features/video/adapters/inbound/Video.native.tsx +296 -0
  110. package/src/features/video/adapters/inbound/Video.test.tsx +188 -0
  111. package/src/features/video/adapters/inbound/Video.tsx +1 -0
  112. package/src/features/video/adapters/inbound/Video.web.tsx +70 -0
  113. package/src/features/video/public.ts +7 -0
  114. package/src/features/video/videoMeta.ts +51 -0
  115. package/src/index.ts +2 -0
  116. package/src/readerFree.ts +13 -0
  117. package/src/types/audio.ts +16 -0
  118. package/src/types/video.ts +28 -0
  119. package/web-dist/chunks/{Accordion-4v920xz8.js → Accordion-01bsg7zt.js} +1 -1
  120. package/web-dist/chunks/{Accordion-pvfmhrm0.js → Accordion-17s33h1a.js} +1 -1
  121. package/web-dist/chunks/{Accordion-vyw2bzye.js → Accordion-2wggrer7.js} +2 -2
  122. package/web-dist/chunks/{Accordion-bjq32vq2.js → Accordion-2xb252py.js} +3 -3
  123. package/web-dist/chunks/{Accordion-kr1reyt9.js → Accordion-2xkxthf1.js} +7 -7
  124. package/web-dist/chunks/{Accordion-fc058wqp.js → Accordion-2ys50fc8.js} +1 -1
  125. package/web-dist/chunks/{Accordion-7zhdzn00.js → Accordion-379mgrse.js} +1 -1
  126. package/web-dist/chunks/{Accordion-xeyw6ndr.js → Accordion-38xvj0cq.js} +4 -4
  127. package/web-dist/chunks/{Accordion-8gfgaq01.js → Accordion-4zb6dcys.js} +1 -1
  128. package/web-dist/chunks/{Accordion-nrwc0rx2.js → Accordion-5mga7hty.js} +1 -1
  129. package/web-dist/chunks/{Accordion-3qvtv4g6.js → Accordion-5qz4j8tt.js} +6 -6
  130. package/web-dist/chunks/{Accordion-4zbh7wfn.js → Accordion-5rwztz14.js} +1 -1
  131. package/web-dist/chunks/{Accordion-frfh3nz6.js → Accordion-9qg7cjt8.js} +2 -2
  132. package/web-dist/chunks/{Accordion-g07r4t2f.js → Accordion-a1mgdfg7.js} +1 -1
  133. package/web-dist/chunks/{Accordion-dcm6ywt2.js → Accordion-axe7nsht.js} +1 -1
  134. package/web-dist/chunks/{Accordion-e2b9yja2.js → Accordion-bd9vzpbz.js} +6 -6
  135. package/web-dist/chunks/{Accordion-csz7sgjm.js → Accordion-bp9y7738.js} +6 -6
  136. package/web-dist/chunks/{Accordion-64w34bgd.js → Accordion-bzgy9sg3.js} +2 -2
  137. package/web-dist/chunks/{Accordion-r30bwg03.js → Accordion-e0vm82xr.js} +2 -2
  138. package/web-dist/chunks/{Accordion-em4ktbkk.js → Accordion-f1vargnk.js} +4 -4
  139. package/web-dist/chunks/{Accordion-k6v7p2na.js → Accordion-f8a49gy8.js} +1 -1
  140. package/web-dist/chunks/{Accordion-g5c5sqn7.js → Accordion-f8zpd80k.js} +4 -4
  141. package/web-dist/chunks/{Accordion-22z6y8kw.js → Accordion-gnbt6w4q.js} +3 -3
  142. package/web-dist/chunks/{Accordion-s1qjbbb0.js → Accordion-hdyzyw8q.js} +1 -1
  143. package/web-dist/chunks/{Accordion-q0cbpr2d.js → Accordion-htm3j8r8.js} +4 -4
  144. package/web-dist/chunks/{Accordion-mh3bhcb4.js → Accordion-kdb9g5b1.js} +3 -3
  145. package/web-dist/chunks/{Accordion-zsd0ar2p.js → Accordion-nmpzv3b0.js} +3 -3
  146. package/web-dist/chunks/{Accordion-b8ncebyz.js → Accordion-pdjhezmz.js} +1 -1
  147. package/web-dist/chunks/{Accordion-zqa9mt13.js → Accordion-q683s6kd.js} +2 -2
  148. package/web-dist/chunks/{Accordion-30284ah1.js → Accordion-r75ep5pg.js} +4 -4
  149. package/web-dist/chunks/{Accordion-rmakadh6.js → Accordion-rq311z1k.js} +4 -4
  150. package/web-dist/chunks/{Accordion-w28mb1ed.js → Accordion-rtamzg9j.js} +1 -1
  151. package/web-dist/chunks/{Accordion-nv1evygk.js → Accordion-sh79sr5g.js} +1 -1
  152. package/web-dist/chunks/{Accordion-t93g1wq3.js → Accordion-t9n4ey2r.js} +1 -1
  153. package/web-dist/chunks/{Accordion-zanzeryt.js → Accordion-tqagt6cz.js} +1 -1
  154. package/web-dist/chunks/{Accordion-0n3y5ry1.js → Accordion-v6vhyv31.js} +1 -1
  155. package/web-dist/chunks/{Accordion-6pkteb8k.js → Accordion-vb52sts9.js} +3 -3
  156. package/web-dist/chunks/{Accordion-rwjbwm18.js → Accordion-vkqqktc5.js} +1 -1
  157. package/web-dist/chunks/{Accordion-9zwdqhf2.js → Accordion-za0jcjgn.js} +2 -2
  158. package/web-dist/chunks/Video.native-97x0098j.js +905 -0
  159. package/web-dist/chunks/index-cnnsfz6n.js +1807 -0
  160. package/web-dist/components/accordion/Accordion.js +3 -3
  161. package/web-dist/components/accordion-item/AccordionItem.js +3 -3
  162. package/web-dist/components/app-bar/AppBar.js +7 -7
  163. package/web-dist/components/app-header/AppHeader.js +7 -7
  164. package/web-dist/components/app-shell/AppShell.js +2 -2
  165. package/web-dist/components/audio/Audio.d.ts +7 -0
  166. package/web-dist/components/audio/Audio.dependency-0.d.ts +27 -0
  167. package/web-dist/components/audio/Audio.dependency-1.d.ts +3 -0
  168. package/web-dist/components/audio/Audio.js +264 -0
  169. package/web-dist/components/audio/Audio.types-0.d.ts +18 -0
  170. package/web-dist/components/audio/index.d.ts +2 -0
  171. package/web-dist/components/audio/index.js +2 -0
  172. package/web-dist/components/auth-screen/AuthScreen.js +11 -11
  173. package/web-dist/components/avatar/Avatar.js +3 -3
  174. package/web-dist/components/avatar-group/AvatarGroup.js +3 -3
  175. package/web-dist/components/badge/Badge.js +2 -2
  176. package/web-dist/components/barcode-scanner-view/BarcodeScannerView.js +10 -10
  177. package/web-dist/components/bottom-sheet/BottomSheet.js +4 -4
  178. package/web-dist/components/bottom-sheet-flat-list/BottomSheetFlatList.js +4 -4
  179. package/web-dist/components/bottom-sheet-scroll-view/BottomSheetScrollView.js +4 -4
  180. package/web-dist/components/bottom-sheet-section-list/BottomSheetSectionList.js +4 -4
  181. package/web-dist/components/bottom-sheet-view/BottomSheetView.js +4 -4
  182. package/web-dist/components/bottom-sheet-virtualized-list/BottomSheetVirtualizedList.js +4 -4
  183. package/web-dist/components/breadcrumbs/Breadcrumbs.js +4 -4
  184. package/web-dist/components/button/Button.js +4 -4
  185. package/web-dist/components/button-group/ButtonGroup.js +4 -4
  186. package/web-dist/components/calendar/Calendar.js +5 -5
  187. package/web-dist/components/camera-permission-view/CameraPermissionView.js +10 -10
  188. package/web-dist/components/card/Card.js +9 -9
  189. package/web-dist/components/chat-list-item/ChatListItem.js +6 -6
  190. package/web-dist/components/checkbox/Checkbox.js +4 -4
  191. package/web-dist/components/checkbox-group/CheckboxGroup.js +4 -4
  192. package/web-dist/components/chip/Chip.js +4 -4
  193. package/web-dist/components/chip-group/ChipGroup.js +4 -4
  194. package/web-dist/components/collection-editor/CollectionEditor.js +9 -9
  195. package/web-dist/components/color-hue-scale/ColorHueScale.js +14 -14
  196. package/web-dist/components/color-picker/ColorPicker.js +14 -14
  197. package/web-dist/components/color-tone/ColorTone.js +14 -14
  198. package/web-dist/components/color-wheel/ColorWheel.js +14 -14
  199. package/web-dist/components/content-rail/ContentRail.js +4 -4
  200. package/web-dist/components/data-table/DataTable.js +15 -15
  201. package/web-dist/components/date-picker/DatePicker.js +9 -9
  202. package/web-dist/components/dialog/Dialog.js +4 -4
  203. package/web-dist/components/divider/Divider.js +2 -2
  204. package/web-dist/components/empty-state/EmptyState.js +10 -10
  205. package/web-dist/components/explorer/Explorer.js +4 -4
  206. package/web-dist/components/field/Field.js +4 -4
  207. package/web-dist/components/file-explorer/FileExplorer.js +4 -4
  208. package/web-dist/components/flat-list/FlatList.js +5 -5
  209. package/web-dist/components/forgot-password-form/ForgotPasswordForm.js +11 -11
  210. package/web-dist/components/form/Form.js +7 -7
  211. package/web-dist/components/form-actions/FormActions.js +7 -7
  212. package/web-dist/components/form-error/FormError.js +7 -7
  213. package/web-dist/components/game/Game.js +3 -3
  214. package/web-dist/components/game-entity/GameEntity.js +3 -3
  215. package/web-dist/components/game-field/GameField.js +3 -3
  216. package/web-dist/components/game-input-zone/GameInputZone.js +3 -3
  217. package/web-dist/components/game-measurement-probe/GameMeasurementProbe.js +3 -3
  218. package/web-dist/components/game-overlay/GameOverlay.js +3 -3
  219. package/web-dist/components/gradient/Gradient.js +3 -3
  220. package/web-dist/components/gradient-renderer-provider/GradientRendererProvider.js +3 -3
  221. package/web-dist/components/grid/Grid.js +2 -2
  222. package/web-dist/components/hero/Hero.js +9 -9
  223. package/web-dist/components/icon-button/IconButton.js +4 -4
  224. package/web-dist/components/image/Image.js +3 -3
  225. package/web-dist/components/list/List.js +5 -5
  226. package/web-dist/components/list-item/ListItem.js +5 -5
  227. package/web-dist/components/list-section/ListSection.js +5 -5
  228. package/web-dist/components/master-detail/MasterDetail.js +2 -2
  229. package/web-dist/components/media-card/MediaCard.js +9 -9
  230. package/web-dist/components/media-explorer/MediaExplorer.js +4 -4
  231. package/web-dist/components/message-bubble/MessageBubble.js +6 -6
  232. package/web-dist/components/metric-card/MetricCard.js +9 -9
  233. package/web-dist/components/missing-element/MissingElement.js +3 -3
  234. package/web-dist/components/o-auth-provider-button/OAuthProviderButton.js +11 -11
  235. package/web-dist/components/o-auth-provider-list/OAuthProviderList.js +11 -11
  236. package/web-dist/components/otp-form/OtpForm.js +11 -11
  237. package/web-dist/components/pagination/Pagination.js +4 -4
  238. package/web-dist/components/palette-item/PaletteItem.js +9 -9
  239. package/web-dist/components/popover-menu/PopoverMenu.js +4 -4
  240. package/web-dist/components/post-card/PostCard.js +9 -9
  241. package/web-dist/components/product-card/ProductCard.js +9 -9
  242. package/web-dist/components/progress/Progress.js +3 -3
  243. package/web-dist/components/progress-ring/ProgressRing.js +3 -3
  244. package/web-dist/components/radio/Radio.js +4 -4
  245. package/web-dist/components/radio-group/RadioGroup.js +4 -4
  246. package/web-dist/components/rating/Rating.js +2 -2
  247. package/web-dist/components/reader/Reader.js +10 -10
  248. package/web-dist/components/scan-overlay/ScanOverlay.js +10 -10
  249. package/web-dist/components/screen/Screen.js +2 -2
  250. package/web-dist/components/screen-section/ScreenSection.js +3 -3
  251. package/web-dist/components/scroll-view/ScrollView.js +2 -2
  252. package/web-dist/components/search-input/SearchInput.js +5 -5
  253. package/web-dist/components/section-header/SectionHeader.js +3 -3
  254. package/web-dist/components/section-list/SectionList.js +5 -5
  255. package/web-dist/components/select/Select.js +9 -9
  256. package/web-dist/components/sign-in-form/SignInForm.js +11 -11
  257. package/web-dist/components/sign-up-form/SignUpForm.js +11 -11
  258. package/web-dist/components/skeleton/Skeleton.js +12 -12
  259. package/web-dist/components/skeleton-card/SkeletonCard.js +12 -12
  260. package/web-dist/components/skeleton-list/SkeletonList.js +12 -12
  261. package/web-dist/components/skeleton-text/SkeletonText.js +12 -12
  262. package/web-dist/components/surface/Surface.js +3 -3
  263. package/web-dist/components/switch/Switch.js +2 -2
  264. package/web-dist/components/tab/Tab.js +2 -2
  265. package/web-dist/components/tab-list/TabList.js +2 -2
  266. package/web-dist/components/tab-panel/TabPanel.js +2 -2
  267. package/web-dist/components/tabs/Tabs.js +2 -2
  268. package/web-dist/components/text-input/TextInput.js +5 -5
  269. package/web-dist/components/theme-mode-toggle/ThemeModeToggle.js +4 -4
  270. package/web-dist/components/time-picker/TimePicker.js +8 -8
  271. package/web-dist/components/timeline/Timeline.js +3 -3
  272. package/web-dist/components/toast/Toast.js +4 -4
  273. package/web-dist/components/toast-provider/ToastProvider.js +4 -4
  274. package/web-dist/components/toolbar/Toolbar.js +9 -9
  275. package/web-dist/components/tree-item/TreeItem.js +6 -6
  276. package/web-dist/components/uploader/Uploader.js +12 -12
  277. package/web-dist/components/video/Video.d.ts +7 -0
  278. package/web-dist/components/video/Video.dependency-0.d.ts +27 -0
  279. package/web-dist/components/video/Video.dependency-1.d.ts +3 -0
  280. package/web-dist/components/video/Video.dependency-2.d.ts +9 -0
  281. package/web-dist/components/video/Video.dependency-3.d.ts +23 -0
  282. package/web-dist/components/video/Video.js +80 -0
  283. package/web-dist/components/video/Video.types-0.d.ts +29 -0
  284. package/web-dist/components/video/index.d.ts +2 -0
  285. package/web-dist/components/video/index.js +2 -0
  286. package/web-dist/components/view/View.js +2 -2
  287. package/web-dist/manifest.json +753 -675
  288. package/web-dist/runtime/ZoraProvider.js +3 -3
  289. /package/web-dist/chunks/{Accordion-5kaxyqy1.js → Accordion-ww4f12ty.js} +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"readerFree.js","sourceRoot":"","sources":["../src/readerFree.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,aAAa,GAMd,MAAM,6BAA6B,CAAC;AACrC,OAAO,EACL,iBAAiB,GAElB,MAAM,sCAAsC,CAAC;AAE9C,OAAO,EAAE,MAAM,EAAE,MAAM,2BAA2B,CAAC;AACnD,OAAO,EAAE,SAAS,EAAuB,MAAM,8BAA8B,CAAC;AAqB9E,OAAO,EACL,UAAU,EACV,4BAA4B,EAC5B,kBAAkB,EAClB,mBAAmB,EACnB,iBAAiB,EACjB,OAAO,EACP,wBAAwB,EACxB,yBAAyB,EACzB,UAAU,EACV,UAAU,GACX,MAAM,wBAAwB,CAAC;AAGhC,OAAO,EAAE,MAAM,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAC;AACzE,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAEvD,OAAO,EAAE,KAAK,EAAE,MAAM,yBAAyB,CAAC;AAEhD,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAC7D,OAAO,EAGL,WAAW,GAEZ,MAAM,+BAA+B,CAAC;AAQvC,OAAO,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AAClD,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AACvD,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAuBtD,OAAO,EACL,QAAQ,GA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nB,kBAAkB,GACnB,MAAM,6BAA6B,CAAC;AACrC,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AAEzC,OAAO,EAAE,+BAA+B,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AACxF,OAAO,EACL,UAAU,GAGX,MAAM,+BAA+B,CAAC;AAOvC,OAAO,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAC;AAQtD,OAAO,EAAE,KAAK,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AACzE,OAAO,EAAE,OAAO,EAAqB,MAAM,2BAA2B,CAAC;AAEvE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAkBjE,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AACvD,OAAO,EAAE,IAAI,EAAE,MAAM,8BAA8B,CAAC;AAUpD,OAAO,EAAE,QAAQ,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC","sourcesContent":["export {\n Accordion,\n AccordionItem,\n type AccordionItemProps,\n type AccordionMode,\n type AccordionMultipleProps,\n type AccordionProps,\n type AccordionSingleProps,\n} from './features/accordion/public';\nexport {\n ActivityIndicator,\n type ActivityIndicatorProps,\n} from './features/activity-indicator/public';\nexport type { AppBarMode, AppBarOverflowMenu, AppBarProps } from './features/app-bar/public';\nexport { AppBar } from './features/app-bar/public';\nexport { AppHeader, type AppHeaderProps } from './features/app-header/public';\nexport type {\n AuthFormBaseProps,\n AuthIdentifierKind,\n AuthScreenMode,\n AuthScreenProps,\n ForgotPasswordFormProps,\n ForgotPasswordFormValues,\n OAuthProviderButtonProps,\n OAuthProviderIconSpec,\n OAuthProviderItem,\n OAuthProviderListLayout,\n OAuthProviderListProps,\n OtpFormProps,\n OtpFormValues,\n SignInFormProps,\n SignInFormValues,\n SignUpFormField,\n SignUpFormProps,\n SignUpFormValues,\n} from './features/auth/public';\nexport {\n AuthScreen,\n DEFAULT_OAUTH_PROVIDER_ICONS,\n ForgotPasswordForm,\n OAuthProviderButton,\n OAuthProviderList,\n OtpForm,\n resolveOAuthProviderIcon,\n resolveOAuthProviderLabel,\n SignInForm,\n SignUpForm,\n} from './features/auth/public';\nexport type { AvatarProps, AvatarShape, AvatarSize } from './features/avatar/public';\nexport type { AvatarGroupItem, AvatarGroupProps } from './features/avatar/public';\nexport { Avatar, resolveAvatarInitials } from './features/avatar/public';\nexport { AvatarGroup } from './features/avatar/public';\nexport type { BadgeProps } from './features/badge/public';\nexport { Badge } from './features/badge/public';\nexport type { BottomSheetProps } from './features/bottom-sheet/public';\nexport { BottomSheet } from './features/bottom-sheet/public';\nexport {\n type BreadcrumbItem,\n type BreadcrumbPressEvent,\n Breadcrumbs,\n type BreadcrumbsProps,\n} from './features/breadcrumbs/public';\nexport type { ButtonProps } from './features/button/public';\nexport type {\n ButtonGroupAlign,\n ButtonGroupOrientation,\n ButtonGroupProps,\n} from './features/button/public';\nexport type { IconButtonProps } from './features/button/public';\nexport { Button } from './features/button/public';\nexport { ButtonGroup } from './features/button/public';\nexport { IconButton } from './features/button/public';\nexport type {\n TemporalAllDayEvent,\n TemporalAllDayRange,\n TemporalAvailability,\n TemporalDataValue,\n TemporalDate,\n TemporalDuration,\n TemporalEvent,\n TemporalEventStatus,\n TemporalInstant,\n TemporalInteroperabilityData,\n TemporalParticipant,\n TemporalRange,\n TemporalRecurrence,\n TemporalRecurrenceException,\n TemporalRecurrenceRule,\n TemporalReminder,\n TemporalTimedEvent,\n TemporalTimedRange,\n TemporalTimeZone,\n TemporalTone,\n} from './features/calendar/public';\nexport {\n Calendar,\n type CalendarDensity,\n type CalendarProps,\n type CalendarView,\n type CalendarWeekStart,\n} from './features/calendar/public';\nexport type { CardProps } from './features/card/public';\nexport type { MediaCardImageProps, MediaCardProps } from './features/card/public';\nexport type { MetricCardProps } from './features/card/public';\nexport type {\n PostAction,\n PostAuthor,\n PostAuthorAvatar,\n PostCardMedia,\n PostCardProps,\n} from './features/card/public';\nexport type { ProductCardProps } from './features/card/public';\nexport { Card } from './features/card/public';\nexport { MediaCard } from './features/card/public';\nexport { MetricCard } from './features/card/public';\nexport { PostCard } from './features/card/public';\nexport { ProductCard } from './features/card/public';\nexport type {\n ChatListAvatar,\n ChatListItemProps,\n MessageBubbleAuthor,\n MessageBubbleAvatar,\n MessageBubbleDirection,\n MessageBubbleProps,\n MessageBubbleStatus,\n} from './features/chat/public';\nexport { ChatListItem, MessageBubble } from './features/chat/public';\nexport type {\n ChessBoardCell,\n ChessBoardColorOverrides,\n ChessBoardColorScheme,\n ChessBoardDimensions,\n ChessBoardOrientation,\n ChessBoardProps,\n ChessMoveAttempt,\n ChessPieceCode,\n ChessPieceRenderContext,\n ChessPieceRenderer,\n ChessPieceState,\n OpeningBookColorOverrides,\n OpeningBookColorScheme,\n OpeningBookMove,\n OpeningBookProps,\n} from './features/chess/public';\nexport type { ChessColorThemeShape } from './features/chess/public';\nexport { ChessBoard, chessBoardMeta, OpeningBook, openingBookMeta } from './features/chess/public';\nexport { createChessBoardColorScheme, createOpeningBookColorScheme } from './features/chess/public';\nexport type { ChipProps } from './features/chip/public';\nexport type { ChipGroupItem, ChipGroupProps } from './features/chip/public';\nexport { Chip } from './features/chip/public';\nexport { ChipGroup } from './features/chip/public';\nexport type {\n CollectionEditorProps,\n CollectionEditorRenderItemProps,\n} from './features/collection-editor/public';\nexport { CollectionEditor } from './features/collection-editor/public';\nexport type {\n ContentRailControlPressEvent,\n ContentRailDirection,\n ContentRailItemSize,\n ContentRailMotion,\n ContentRailProps,\n ContentRailSpacing,\n ContentRailVisibleRangeChangeEvent,\n} from './features/content-rail/public';\nexport { ContentRail } from './features/content-rail/public';\nexport type {\n DataTableCellContext,\n DataTableCellSpec,\n DataTableColumn,\n DataTableColumnAlign,\n DataTableDensity,\n DataTableProps,\n DataTableRowAction,\n DataTableRowActivateEvent,\n DataTableRowField,\n DataTableSelectionChangeEvent,\n DataTableSortDirection,\n DataTableSortState,\n} from './features/data-table/public';\nexport { DataTable } from './features/data-table/public';\nexport {\n DatePicker,\n type DatePickerProps,\n type DatePickerValue,\n} from './features/date-picker/public';\nexport { Dialog, type DialogProps } from './features/dialog/public';\nexport {\n EmptyState,\n type EmptyStateAction,\n type EmptyStateProps,\n} from './features/empty-state/public';\nexport type {\n ExplorerActivateEvent,\n ExplorerItem,\n ExplorerItemKind,\n ExplorerProps,\n ExplorerSelectionChangeEvent,\n ExplorerSelectionMode,\n} from './features/explorer/public';\nexport {\n Explorer,\n FileExplorer,\n MediaExplorer,\n resolveExplorerSelection,\n} from './features/explorer/public';\nexport {\n Checkbox,\n CheckboxGroup,\n type CheckboxGroupOption,\n type CheckboxGroupProps,\n type CheckboxProps,\n} from './features/form/checkbox/public';\nexport type {\n FieldProps,\n FormActionsProps,\n FormErrorProps,\n FormErrors,\n FormFieldConfig,\n FormFieldInputType,\n FormProps,\n FormValidationErrors,\n FormValidationResult,\n FormValues,\n UseFormControllerOptions,\n UseFormControllerResult,\n ValidationRule,\n} from './features/form/public';\nexport {\n Field,\n Form,\n FormActions,\n FormError,\n hasRequiredRule,\n useFormController,\n validateField,\n validateFields,\n validateValue,\n} from './features/form/public';\nexport {\n Radio,\n RadioGroup,\n type RadioGroupOption,\n type RadioGroupProps,\n type RadioProps,\n} from './features/form/radio/public';\nexport { SearchInput, type SearchInputProps } from './features/form/search-input/public';\nexport { Select, type SelectOption, type SelectProps } from './features/form/select/public';\nexport { Switch, type SwitchProps } from './features/form/switch/public';\nexport {\n TextInput,\n type TextInputProps,\n type TextInputTrailingAction,\n} from './features/form/text-input/public';\nexport type {\n GameEntityEasing,\n GameEntityMotionProps,\n GameEntityProps,\n GameFieldProps,\n GameInputZoneProps,\n GameKeyboardBinding,\n GameMeasurementProbeProps,\n GameOverlayPlacement,\n GameOverlayProps,\n GamePointerEvents,\n GameProps,\n} from './features/game/public';\nexport {\n Game,\n GameEntity,\n GameField,\n GameInputZone,\n GameMeasurementProbe,\n GameOverlay,\n} from './features/game/public';\nexport type {\n GradientColor,\n GradientColors,\n GradientLocations,\n GradientPoint,\n GradientProps,\n GradientRenderer,\n GradientRendererProps,\n GradientRendererProviderProps,\n} from './features/gradient/public';\nexport { Gradient, GradientRendererProvider } from './features/gradient/public';\nexport {\n createGridInteractionsController,\n type GridInteractionIntent,\n type GridInteractionItem,\n type GridInteractionPointer,\n GridInteractions,\n type GridInteractionsController,\n type GridInteractionsControllerProps,\n type GridInteractionSnap,\n type GridInteractionsProps,\n} from './features/grid-interactions/public';\nexport type {\n GridGuide,\n GridLineOverlayProps,\n GridRulerMark,\n GridRulerProps,\n GridRulerTickSource,\n} from './features/grid-rulers/public';\nexport { GridLineOverlay, GridRuler, resolveGridRulerMarks } from './features/grid-rulers/public';\nexport type { GridViewProps, TileGridItem, TileGridProps } from './features/grid-view/public';\nexport { GridView, layoutTileGrid, TileGrid } from './features/grid-view/public';\nexport {\n Hero,\n type HeroAction,\n type HeroAlign,\n type HeroLayout,\n type HeroProps,\n type HeroTone,\n} from './features/hero/public';\nexport type { IconProps } from './features/icon/public';\nexport { Icon } from './features/icon/public';\nexport type { ImageFit, ImageProps, SurfaceImageSource } from './features/image/public';\nexport { Image } from './features/image/public';\nexport {\n KeyboardAvoidingView,\n type KeyboardAvoidingViewBehavior,\n type KeyboardAvoidingViewProps,\n} from './features/keyboard-avoiding-view/public';\nexport type {\n AppShellProps,\n DividerProps,\n GridProps,\n ScreenProps,\n ScrollViewProps,\n ViewProps,\n} from './features/layout/public';\nexport { AppShell, Divider, Grid, Screen, ScrollView, View } from './features/layout/public';\nexport type { LinkPressEvent, LinkProps, LinkTarget } from './features/link/public';\nexport { Link } from './features/link/public';\nexport type {\n ManifestListProps,\n ManifestListSection,\n ManifestSectionListProps,\n} from './features/list/public';\nexport type {\n ListChildrenProps,\n ListItemProps,\n ListItemsProps,\n ListItemVariant,\n ListProps,\n ListSectionProps,\n} from './features/list/public';\nexport { FlatList, SectionList } from './features/list/public';\nexport { List, ListItem, ListSection } from './features/list/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 { MatrixGridProps } from './features/matrix-grid/public';\nexport { MatrixGrid } from './features/matrix-grid/public';\nexport { MissingElement, type MissingElementProps } from './features/missing-element/public';\nexport { Pagination, type PaginationProps } from './features/pagination/public';\nexport type { PaletteItemProps } from './features/palette-item/public';\nexport { PaletteItem } from './features/palette-item/public';\nexport {\n PopoverMenu,\n type PopoverMenuAction,\n type PopoverMenuActionIntent,\n type PopoverMenuProps,\n} from './features/popover-menu/public';\nexport {\n Progress,\n type ProgressProps,\n ProgressRing,\n type ProgressRingProps,\n} from './features/progress/public';\nexport { Rating, type RatingProps } from './features/rating/public';\nexport type {\n ZoraBindableComponentType,\n ZoraComponentBlueprint,\n ZoraComponentCategory,\n ZoraComponentEventMeta,\n ZoraComponentEventPayloadFieldMeta,\n ZoraComponentEventPayloadFieldType,\n ZoraComponentEventPayloadKind,\n ZoraComponentI18nMeta,\n ZoraComponentManifestPolicy,\n ZoraComponentMeta,\n ZoraComponentMetaRegistry,\n ZoraComponentPropArrayItemSchema,\n ZoraComponentPropAuthoring,\n ZoraComponentPropSchema,\n ZoraComponentPropType,\n ZoraComponentPropValue,\n ZoraComponentSlotMeta,\n ZoraThemeRecipeBooleanFieldMeta,\n ZoraThemeRecipeChoiceFieldMeta,\n ZoraThemeRecipeFieldMeta,\n ZoraThemeRecipeKind,\n ZoraThemeRecipeMeta,\n ZoraThemeRecipeMetaRegistry,\n ZoraThemeRecipeTokenFieldMeta,\n ZoraThemeTokenFamily,\n} from './features/registry';\nexport {\n ZORA_BINDABLE_COMPONENT_META,\n ZORA_COMPONENT_META,\n ZORA_THEME_RECIPE_META,\n ZORA_THEME_TOKEN_FAMILIES,\n} from './features/registry';\nexport {\n createZoraComponentRegistry,\n ZORA_BASE_COMPONENT_REGISTRY,\n} from './features/registry/readerFreeRegistry';\nexport type {\n BarcodeScannerViewProps,\n BarcodeScanResult,\n CameraPermissionStatus,\n CameraPermissionViewProps,\n ScanOverlayProps,\n} from './features/scanner/public';\nexport { BarcodeScannerView, CameraPermissionView, ScanOverlay } from './features/scanner/public';\nexport {\n ScreenSection,\n type ScreenSectionProps,\n SectionHeader,\n type SectionHeaderProps,\n} from './features/section/public';\nexport type {\n SelectableItemProps,\n SelectableItemState,\n SelectionIntent,\n SelectionMode,\n SelectionProviderProps,\n SelectionTrigger,\n UseSelectionResult,\n} from './features/selection/public';\nexport { SelectableItem, SelectionProvider, useSelection } from './features/selection/public';\nexport {\n Skeleton,\n SkeletonCard,\n type SkeletonCardProps,\n type SkeletonDimension,\n SkeletonList,\n type SkeletonListProps,\n type SkeletonListVariant,\n type SkeletonProps,\n type SkeletonRadius,\n SkeletonText,\n type SkeletonTextProps,\n} from './features/skeleton/public';\nexport type {\n SpatialGridItem,\n SpatialGridItemState,\n SpatialGridProps,\n} from './features/spatial-grid/public';\nexport { SpatialGrid } from './features/spatial-grid/public';\nexport type { SurfaceProps, SurfaceVariant } from './features/surface/public';\nexport { Surface } from './features/surface/public';\nexport type {\n CardBackProps,\n CardHandProps,\n CreatePokerTrainingTableStateOptions,\n CreateTabletopGameSeatsInput,\n PlayingCardProps,\n PlayingCardSuit,\n PlayingCardValue,\n PokerTrainingPlayer,\n PokerTrainingTableProps,\n PokerTrainingTableSize,\n PokerTrainingTableState,\n PokerTrainingTaskTableData,\n TabletopCardSize,\n TabletopColorOverrides,\n TabletopColorScheme,\n TabletopGameParticipantState,\n TabletopGameSeatDefinition,\n TabletopGameSeatPresentation,\n TabletopSeatCount,\n TabletopSeatState,\n TabletopShape,\n TabletopTableProps,\n} from './features/tabletop/public';\nexport {\n CardBack,\n CardHand,\n createPokerTrainingTableState,\n createTabletopColorScheme,\n createTabletopGameSeats,\n PlayingCard,\n PokerTrainingTable,\n pokerTrainingTableMeta,\n TabletopTable,\n tabletopTableMeta,\n} from './features/tabletop/public';\nexport {\n Tab,\n TabList,\n type TabListProps,\n TabPanel,\n type TabPanelProps,\n type TabProps,\n Tabs,\n type TabsProps,\n} from './features/tabs/public';\nexport type {\n ZoraColor,\n ZoraEmphasis,\n ZoraPaletteColor,\n ZoraStatusColor,\n} from './features/theme/colorModel';\nexport {\n ZORA_COLORS,\n ZORA_EMPHASES,\n ZORA_PALETTE_COLORS,\n ZORA_STATUS_COLORS,\n} from './features/theme/colorModel';\nexport * from './features/theme/public';\nexport * from './features/theme/runtime';\nexport type { TimeGridInterval, TimeGridLane, TimeGridProps } from './features/time-grid/public';\nexport { resolveTimeGridVisibleIntervals, TimeGrid } from './features/time-grid/public';\nexport {\n TimePicker,\n type TimePickerProps,\n type TimePickerValue,\n} from './features/time-picker/public';\nexport type {\n TimelineItem,\n TimelineManifestItem,\n TimelineManifestProps,\n TimelineProps,\n} from './features/timeline/public';\nexport { Timeline } from './features/timeline/public';\nexport type {\n ToastController,\n ToastOptions,\n ToastProps,\n ToastProviderProps,\n ToastStatus,\n} from './features/toast/public';\nexport { Toast, ToastProvider, useToast } from './features/toast/public';\nexport { Toolbar, type ToolbarProps } from './features/toolbar/public';\nexport type { TreeItemNode, TreeItemRenderProps, TreeViewProps } from './features/tree-view/public';\nexport { TreeItem, TreeView } from './features/tree-view/public';\nexport type {\n HeadingAlign,\n HeadingColor,\n HeadingEmphasis,\n HeadingLevel,\n HeadingProps,\n HeadingSize,\n HeadingWeight,\n} from './features/typography/public';\nexport type {\n TextAlign,\n TextColor,\n TextEmphasis,\n TextProps,\n TextVariant,\n TextWeight,\n} from './features/typography/public';\nexport { Heading } from './features/typography/public';\nexport { Text } from './features/typography/public';\nexport type {\n UploadAsset,\n UploadAssetBase,\n UploaderExplorerItem,\n UploaderProps,\n UploadProgressContext,\n UploadType,\n ValidateUploadAssetInput,\n} from './features/uploader/public';\nexport { Uploader, validateUploadAsset } from './features/uploader/public';\nexport type { ZoraComponentRegistry } from './types/registry';\n"]}
1
+ {"version":3,"file":"readerFree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AAa,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AACzE,OAAO,EAAE,OAAO,EAAqB,MAAM,2BAA2B,CAAC;AAEvE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAkBjE,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AACvD,OAAO,EAAE,IAAI,EAAE,MAAM,8BAA8B,CAAC;AAUpD,OAAO,EAAE,QAAQ,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAO3E,OAAO,EAAE,KAAK,EAAE,MAAM,yBAAyB,CAAC","sourcesContent":["export {\n Accordion,\n AccordionItem,\n type AccordionItemProps,\n type AccordionMode,\n type AccordionMultipleProps,\n type AccordionProps,\n type AccordionSingleProps,\n} from './features/accordion/public';\nexport {\n ActivityIndicator,\n type ActivityIndicatorProps,\n} from './features/activity-indicator/public';\nexport type { AppBarMode, AppBarOverflowMenu, AppBarProps } from './features/app-bar/public';\nexport { AppBar } from './features/app-bar/public';\nexport { AppHeader, type AppHeaderProps } from './features/app-header/public';\nexport {\n Audio,\n type AudioManifestProps,\n type AudioProps,\n type AudioResolvedSource,\n} from './features/audio/public';\nexport type {\n AuthFormBaseProps,\n AuthIdentifierKind,\n AuthScreenMode,\n AuthScreenProps,\n ForgotPasswordFormProps,\n ForgotPasswordFormValues,\n OAuthProviderButtonProps,\n OAuthProviderIconSpec,\n OAuthProviderItem,\n OAuthProviderListLayout,\n OAuthProviderListProps,\n OtpFormProps,\n OtpFormValues,\n SignInFormProps,\n SignInFormValues,\n SignUpFormField,\n SignUpFormProps,\n SignUpFormValues,\n} from './features/auth/public';\nexport {\n AuthScreen,\n DEFAULT_OAUTH_PROVIDER_ICONS,\n ForgotPasswordForm,\n OAuthProviderButton,\n OAuthProviderList,\n OtpForm,\n resolveOAuthProviderIcon,\n resolveOAuthProviderLabel,\n SignInForm,\n SignUpForm,\n} from './features/auth/public';\nexport type { AvatarProps, AvatarShape, AvatarSize } from './features/avatar/public';\nexport type { AvatarGroupItem, AvatarGroupProps } from './features/avatar/public';\nexport { Avatar, resolveAvatarInitials } from './features/avatar/public';\nexport { AvatarGroup } from './features/avatar/public';\nexport type { BadgeProps } from './features/badge/public';\nexport { Badge } from './features/badge/public';\nexport type { BottomSheetProps } from './features/bottom-sheet/public';\nexport { BottomSheet } from './features/bottom-sheet/public';\nexport {\n type BreadcrumbItem,\n type BreadcrumbPressEvent,\n Breadcrumbs,\n type BreadcrumbsProps,\n} from './features/breadcrumbs/public';\nexport type { ButtonProps } from './features/button/public';\nexport type {\n ButtonGroupAlign,\n ButtonGroupOrientation,\n ButtonGroupProps,\n} from './features/button/public';\nexport type { IconButtonProps } from './features/button/public';\nexport { Button } from './features/button/public';\nexport { ButtonGroup } from './features/button/public';\nexport { IconButton } from './features/button/public';\nexport type {\n TemporalAllDayEvent,\n TemporalAllDayRange,\n TemporalAvailability,\n TemporalDataValue,\n TemporalDate,\n TemporalDuration,\n TemporalEvent,\n TemporalEventStatus,\n TemporalInstant,\n TemporalInteroperabilityData,\n TemporalParticipant,\n TemporalRange,\n TemporalRecurrence,\n TemporalRecurrenceException,\n TemporalRecurrenceRule,\n TemporalReminder,\n TemporalTimedEvent,\n TemporalTimedRange,\n TemporalTimeZone,\n TemporalTone,\n} from './features/calendar/public';\nexport {\n Calendar,\n type CalendarDensity,\n type CalendarProps,\n type CalendarView,\n type CalendarWeekStart,\n} from './features/calendar/public';\nexport type { CardProps } from './features/card/public';\nexport type { MediaCardImageProps, MediaCardProps } from './features/card/public';\nexport type { MetricCardProps } from './features/card/public';\nexport type {\n PostAction,\n PostAuthor,\n PostAuthorAvatar,\n PostCardMedia,\n PostCardProps,\n} from './features/card/public';\nexport type { ProductCardProps } from './features/card/public';\nexport { Card } from './features/card/public';\nexport { MediaCard } from './features/card/public';\nexport { MetricCard } from './features/card/public';\nexport { PostCard } from './features/card/public';\nexport { ProductCard } from './features/card/public';\nexport type {\n ChatListAvatar,\n ChatListItemProps,\n MessageBubbleAuthor,\n MessageBubbleAvatar,\n MessageBubbleDirection,\n MessageBubbleProps,\n MessageBubbleStatus,\n} from './features/chat/public';\nexport { ChatListItem, MessageBubble } from './features/chat/public';\nexport type {\n ChessBoardCell,\n ChessBoardColorOverrides,\n ChessBoardColorScheme,\n ChessBoardDimensions,\n ChessBoardOrientation,\n ChessBoardProps,\n ChessMoveAttempt,\n ChessPieceCode,\n ChessPieceRenderContext,\n ChessPieceRenderer,\n ChessPieceState,\n OpeningBookColorOverrides,\n OpeningBookColorScheme,\n OpeningBookMove,\n OpeningBookProps,\n} from './features/chess/public';\nexport type { ChessColorThemeShape } from './features/chess/public';\nexport { ChessBoard, chessBoardMeta, OpeningBook, openingBookMeta } from './features/chess/public';\nexport { createChessBoardColorScheme, createOpeningBookColorScheme } from './features/chess/public';\nexport type { ChipProps } from './features/chip/public';\nexport type { ChipGroupItem, ChipGroupProps } from './features/chip/public';\nexport { Chip } from './features/chip/public';\nexport { ChipGroup } from './features/chip/public';\nexport type {\n CollectionEditorProps,\n CollectionEditorRenderItemProps,\n} from './features/collection-editor/public';\nexport { CollectionEditor } from './features/collection-editor/public';\nexport type {\n ContentRailControlPressEvent,\n ContentRailDirection,\n ContentRailItemSize,\n ContentRailMotion,\n ContentRailProps,\n ContentRailSpacing,\n ContentRailVisibleRangeChangeEvent,\n} from './features/content-rail/public';\nexport { ContentRail } from './features/content-rail/public';\nexport type {\n DataTableCellContext,\n DataTableCellSpec,\n DataTableColumn,\n DataTableColumnAlign,\n DataTableDensity,\n DataTableProps,\n DataTableRowAction,\n DataTableRowActivateEvent,\n DataTableRowField,\n DataTableSelectionChangeEvent,\n DataTableSortDirection,\n DataTableSortState,\n} from './features/data-table/public';\nexport { DataTable } from './features/data-table/public';\nexport {\n DatePicker,\n type DatePickerProps,\n type DatePickerValue,\n} from './features/date-picker/public';\nexport { Dialog, type DialogProps } from './features/dialog/public';\nexport {\n EmptyState,\n type EmptyStateAction,\n type EmptyStateProps,\n} from './features/empty-state/public';\nexport type {\n ExplorerActivateEvent,\n ExplorerItem,\n ExplorerItemKind,\n ExplorerProps,\n ExplorerSelectionChangeEvent,\n ExplorerSelectionMode,\n} from './features/explorer/public';\nexport {\n Explorer,\n FileExplorer,\n MediaExplorer,\n resolveExplorerSelection,\n} from './features/explorer/public';\nexport {\n Checkbox,\n CheckboxGroup,\n type CheckboxGroupOption,\n type CheckboxGroupProps,\n type CheckboxProps,\n} from './features/form/checkbox/public';\nexport type {\n FieldProps,\n FormActionsProps,\n FormErrorProps,\n FormErrors,\n FormFieldConfig,\n FormFieldInputType,\n FormProps,\n FormValidationErrors,\n FormValidationResult,\n FormValues,\n UseFormControllerOptions,\n UseFormControllerResult,\n ValidationRule,\n} from './features/form/public';\nexport {\n Field,\n Form,\n FormActions,\n FormError,\n hasRequiredRule,\n useFormController,\n validateField,\n validateFields,\n validateValue,\n} from './features/form/public';\nexport {\n Radio,\n RadioGroup,\n type RadioGroupOption,\n type RadioGroupProps,\n type RadioProps,\n} from './features/form/radio/public';\nexport { SearchInput, type SearchInputProps } from './features/form/search-input/public';\nexport { Select, type SelectOption, type SelectProps } from './features/form/select/public';\nexport { Switch, type SwitchProps } from './features/form/switch/public';\nexport {\n TextInput,\n type TextInputProps,\n type TextInputTrailingAction,\n} from './features/form/text-input/public';\nexport type {\n GameEntityEasing,\n GameEntityMotionProps,\n GameEntityProps,\n GameFieldProps,\n GameInputZoneProps,\n GameKeyboardBinding,\n GameMeasurementProbeProps,\n GameOverlayPlacement,\n GameOverlayProps,\n GamePointerEvents,\n GameProps,\n} from './features/game/public';\nexport {\n Game,\n GameEntity,\n GameField,\n GameInputZone,\n GameMeasurementProbe,\n GameOverlay,\n} from './features/game/public';\nexport type {\n GradientColor,\n GradientColors,\n GradientLocations,\n GradientPoint,\n GradientProps,\n GradientRenderer,\n GradientRendererProps,\n GradientRendererProviderProps,\n} from './features/gradient/public';\nexport { Gradient, GradientRendererProvider } from './features/gradient/public';\nexport {\n createGridInteractionsController,\n type GridInteractionIntent,\n type GridInteractionItem,\n type GridInteractionPointer,\n GridInteractions,\n type GridInteractionsController,\n type GridInteractionsControllerProps,\n type GridInteractionSnap,\n type GridInteractionsProps,\n} from './features/grid-interactions/public';\nexport type {\n GridGuide,\n GridLineOverlayProps,\n GridRulerMark,\n GridRulerProps,\n GridRulerTickSource,\n} from './features/grid-rulers/public';\nexport { GridLineOverlay, GridRuler, resolveGridRulerMarks } from './features/grid-rulers/public';\nexport type { GridViewProps, TileGridItem, TileGridProps } from './features/grid-view/public';\nexport { GridView, layoutTileGrid, TileGrid } from './features/grid-view/public';\nexport {\n Hero,\n type HeroAction,\n type HeroAlign,\n type HeroLayout,\n type HeroProps,\n type HeroTone,\n} from './features/hero/public';\nexport type { IconProps } from './features/icon/public';\nexport { Icon } from './features/icon/public';\nexport type { ImageFit, ImageProps, SurfaceImageSource } from './features/image/public';\nexport { Image } from './features/image/public';\nexport {\n KeyboardAvoidingView,\n type KeyboardAvoidingViewBehavior,\n type KeyboardAvoidingViewProps,\n} from './features/keyboard-avoiding-view/public';\nexport type {\n AppShellProps,\n DividerProps,\n GridProps,\n ScreenProps,\n ScrollViewProps,\n ViewProps,\n} from './features/layout/public';\nexport { AppShell, Divider, Grid, Screen, ScrollView, View } from './features/layout/public';\nexport type { LinkPressEvent, LinkProps, LinkTarget } from './features/link/public';\nexport { Link } from './features/link/public';\nexport type {\n ManifestListProps,\n ManifestListSection,\n ManifestSectionListProps,\n} from './features/list/public';\nexport type {\n ListChildrenProps,\n ListItemProps,\n ListItemsProps,\n ListItemVariant,\n ListProps,\n ListSectionProps,\n} from './features/list/public';\nexport { FlatList, SectionList } from './features/list/public';\nexport { List, ListItem, ListSection } from './features/list/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 { MatrixGridProps } from './features/matrix-grid/public';\nexport { MatrixGrid } from './features/matrix-grid/public';\nexport { MissingElement, type MissingElementProps } from './features/missing-element/public';\nexport { Pagination, type PaginationProps } from './features/pagination/public';\nexport type { PaletteItemProps } from './features/palette-item/public';\nexport { PaletteItem } from './features/palette-item/public';\nexport {\n PopoverMenu,\n type PopoverMenuAction,\n type PopoverMenuActionIntent,\n type PopoverMenuProps,\n} from './features/popover-menu/public';\nexport {\n Progress,\n type ProgressProps,\n ProgressRing,\n type ProgressRingProps,\n} from './features/progress/public';\nexport { Rating, type RatingProps } from './features/rating/public';\nexport type {\n ZoraBindableComponentType,\n ZoraComponentBlueprint,\n ZoraComponentCategory,\n ZoraComponentEventMeta,\n ZoraComponentEventPayloadFieldMeta,\n ZoraComponentEventPayloadFieldType,\n ZoraComponentEventPayloadKind,\n ZoraComponentI18nMeta,\n ZoraComponentManifestPolicy,\n ZoraComponentMeta,\n ZoraComponentMetaRegistry,\n ZoraComponentPropArrayItemSchema,\n ZoraComponentPropAuthoring,\n ZoraComponentPropSchema,\n ZoraComponentPropType,\n ZoraComponentPropValue,\n ZoraComponentSlotMeta,\n ZoraThemeRecipeBooleanFieldMeta,\n ZoraThemeRecipeChoiceFieldMeta,\n ZoraThemeRecipeFieldMeta,\n ZoraThemeRecipeKind,\n ZoraThemeRecipeMeta,\n ZoraThemeRecipeMetaRegistry,\n ZoraThemeRecipeTokenFieldMeta,\n ZoraThemeTokenFamily,\n} from './features/registry';\nexport {\n ZORA_BINDABLE_COMPONENT_META,\n ZORA_COMPONENT_META,\n ZORA_THEME_RECIPE_META,\n ZORA_THEME_TOKEN_FAMILIES,\n} from './features/registry';\nexport {\n createZoraComponentRegistry,\n ZORA_BASE_COMPONENT_REGISTRY,\n} from './features/registry/readerFreeRegistry';\nexport type {\n BarcodeScannerViewProps,\n BarcodeScanResult,\n CameraPermissionStatus,\n CameraPermissionViewProps,\n ScanOverlayProps,\n} from './features/scanner/public';\nexport { BarcodeScannerView, CameraPermissionView, ScanOverlay } from './features/scanner/public';\nexport {\n ScreenSection,\n type ScreenSectionProps,\n SectionHeader,\n type SectionHeaderProps,\n} from './features/section/public';\nexport type {\n SelectableItemProps,\n SelectableItemState,\n SelectionIntent,\n SelectionMode,\n SelectionProviderProps,\n SelectionTrigger,\n UseSelectionResult,\n} from './features/selection/public';\nexport { SelectableItem, SelectionProvider, useSelection } from './features/selection/public';\nexport {\n Skeleton,\n SkeletonCard,\n type SkeletonCardProps,\n type SkeletonDimension,\n SkeletonList,\n type SkeletonListProps,\n type SkeletonListVariant,\n type SkeletonProps,\n type SkeletonRadius,\n SkeletonText,\n type SkeletonTextProps,\n} from './features/skeleton/public';\nexport type {\n SpatialGridItem,\n SpatialGridItemState,\n SpatialGridProps,\n} from './features/spatial-grid/public';\nexport { SpatialGrid } from './features/spatial-grid/public';\nexport type { SurfaceProps, SurfaceVariant } from './features/surface/public';\nexport { Surface } from './features/surface/public';\nexport type {\n CardBackProps,\n CardHandProps,\n CreatePokerTrainingTableStateOptions,\n CreateTabletopGameSeatsInput,\n PlayingCardProps,\n PlayingCardSuit,\n PlayingCardValue,\n PokerTrainingPlayer,\n PokerTrainingTableProps,\n PokerTrainingTableSize,\n PokerTrainingTableState,\n PokerTrainingTaskTableData,\n TabletopCardSize,\n TabletopColorOverrides,\n TabletopColorScheme,\n TabletopGameParticipantState,\n TabletopGameSeatDefinition,\n TabletopGameSeatPresentation,\n TabletopSeatCount,\n TabletopSeatState,\n TabletopShape,\n TabletopTableProps,\n} from './features/tabletop/public';\nexport {\n CardBack,\n CardHand,\n createPokerTrainingTableState,\n createTabletopColorScheme,\n createTabletopGameSeats,\n PlayingCard,\n PokerTrainingTable,\n pokerTrainingTableMeta,\n TabletopTable,\n tabletopTableMeta,\n} from './features/tabletop/public';\nexport {\n Tab,\n TabList,\n type TabListProps,\n TabPanel,\n type TabPanelProps,\n type TabProps,\n Tabs,\n type TabsProps,\n} from './features/tabs/public';\nexport type {\n ZoraColor,\n ZoraEmphasis,\n ZoraPaletteColor,\n ZoraStatusColor,\n} from './features/theme/colorModel';\nexport {\n ZORA_COLORS,\n ZORA_EMPHASES,\n ZORA_PALETTE_COLORS,\n ZORA_STATUS_COLORS,\n} from './features/theme/colorModel';\nexport * from './features/theme/public';\nexport * from './features/theme/runtime';\nexport type { TimeGridInterval, TimeGridLane, TimeGridProps } from './features/time-grid/public';\nexport { resolveTimeGridVisibleIntervals, TimeGrid } from './features/time-grid/public';\nexport {\n TimePicker,\n type TimePickerProps,\n type TimePickerValue,\n} from './features/time-picker/public';\nexport type {\n TimelineItem,\n TimelineManifestItem,\n TimelineManifestProps,\n TimelineProps,\n} from './features/timeline/public';\nexport { Timeline } from './features/timeline/public';\nexport type {\n ToastController,\n ToastOptions,\n ToastProps,\n ToastProviderProps,\n ToastStatus,\n} from './features/toast/public';\nexport { Toast, ToastProvider, useToast } from './features/toast/public';\nexport { Toolbar, type ToolbarProps } from './features/toolbar/public';\nexport type { TreeItemNode, TreeItemRenderProps, TreeViewProps } from './features/tree-view/public';\nexport { TreeItem, TreeView } from './features/tree-view/public';\nexport type {\n HeadingAlign,\n HeadingColor,\n HeadingEmphasis,\n HeadingLevel,\n HeadingProps,\n HeadingSize,\n HeadingWeight,\n} from './features/typography/public';\nexport type {\n TextAlign,\n TextColor,\n TextEmphasis,\n TextProps,\n TextVariant,\n TextWeight,\n} from './features/typography/public';\nexport { Heading } from './features/typography/public';\nexport { Text } from './features/typography/public';\nexport type {\n UploadAsset,\n UploadAssetBase,\n UploaderExplorerItem,\n UploaderProps,\n UploadProgressContext,\n UploadType,\n ValidateUploadAssetInput,\n} from './features/uploader/public';\nexport { Uploader, validateUploadAsset } from './features/uploader/public';\nexport type {\n VideoContentFit,\n VideoManifestProps,\n VideoProps,\n VideoResolvedSource,\n} from './features/video/public';\nexport { Video } from './features/video/public';\nexport type { ZoraComponentRegistry } from './types/registry';\n"]}
@@ -0,0 +1,15 @@
1
+ import type { MediaAssetReference } from '@ankhorage/contracts';
2
+ import type { ZoraBaseProps } from './base';
3
+ /** A runtime-resolved single audio source supported by the Expo audio adapter. */
4
+ export type AudioResolvedSource = string | number | {
5
+ readonly uri: string;
6
+ };
7
+ /** Portable Audio props accepted by an AppManifest node. */
8
+ export interface AudioManifestProps {
9
+ readonly source: MediaAssetReference;
10
+ }
11
+ /** Props for ZORA's themed single-source Audio playback control. */
12
+ export interface AudioProps extends ZoraBaseProps {
13
+ readonly source: AudioResolvedSource | null;
14
+ }
15
+ //# sourceMappingURL=audio.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"audio.d.ts","sourceRoot":"","sources":["../../src/types/audio.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAEhE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AAE5C,kFAAkF;AAClF,MAAM,MAAM,mBAAmB,GAAG,MAAM,GAAG,MAAM,GAAG;IAAE,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAA;CAAE,CAAC;AAE7E,4DAA4D;AAC5D,MAAM,WAAW,kBAAkB;IACjC,QAAQ,CAAC,MAAM,EAAE,mBAAmB,CAAC;CACtC;AAED,oEAAoE;AACpE,MAAM,WAAW,UAAW,SAAQ,aAAa;IAC/C,QAAQ,CAAC,MAAM,EAAE,mBAAmB,GAAG,IAAI,CAAC;CAC7C"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=audio.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"audio.js","sourceRoot":"","sources":["../../src/types/audio.ts"],"names":[],"mappings":"","sourcesContent":["import type { MediaAssetReference } from '@ankhorage/contracts';\n\nimport type { ZoraBaseProps } from './base';\n\n/** A runtime-resolved single audio source supported by the Expo audio adapter. */\nexport type AudioResolvedSource = string | number | { readonly uri: string };\n\n/** Portable Audio props accepted by an AppManifest node. */\nexport interface AudioManifestProps {\n readonly source: MediaAssetReference;\n}\n\n/** Props for ZORA's themed single-source Audio playback control. */\nexport interface AudioProps extends ZoraBaseProps {\n readonly source: AudioResolvedSource | null;\n}\n"]}
@@ -0,0 +1,24 @@
1
+ import type { MediaAssetReference } from '@ankhorage/contracts';
2
+ import type { ZoraBaseProps } from './base';
3
+ import type { ImageProps } from './image';
4
+ export type VideoContentFit = 'contain' | 'cover' | 'fill';
5
+ /** Portable Video props accepted by an AppManifest component node. */
6
+ export interface VideoManifestProps {
7
+ readonly source: MediaAssetReference;
8
+ readonly poster?: MediaAssetReference;
9
+ readonly aspectRatio?: number;
10
+ readonly contentFit?: VideoContentFit;
11
+ readonly volume?: number;
12
+ }
13
+ /** Resolved runtime source supplied after the manifest media reference has been resolved. */
14
+ export type VideoResolvedSource = string | number;
15
+ /** Public Video render props. Expo player and view objects intentionally remain adapter-private. */
16
+ export interface VideoProps extends ZoraBaseProps {
17
+ source?: VideoResolvedSource | null;
18
+ poster?: ImageProps['source'];
19
+ aspectRatio?: number;
20
+ contentFit?: VideoContentFit;
21
+ volume?: number;
22
+ accessibilityLabel?: string;
23
+ }
24
+ //# sourceMappingURL=video.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"video.d.ts","sourceRoot":"","sources":["../../src/types/video.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAEhE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AAC5C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAE1C,MAAM,MAAM,eAAe,GAAG,SAAS,GAAG,OAAO,GAAG,MAAM,CAAC;AAE3D,sEAAsE;AACtE,MAAM,WAAW,kBAAkB;IACjC,QAAQ,CAAC,MAAM,EAAE,mBAAmB,CAAC;IACrC,QAAQ,CAAC,MAAM,CAAC,EAAE,mBAAmB,CAAC;IACtC,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC;IAC9B,QAAQ,CAAC,UAAU,CAAC,EAAE,eAAe,CAAC;IACtC,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED,6FAA6F;AAC7F,MAAM,MAAM,mBAAmB,GAAG,MAAM,GAAG,MAAM,CAAC;AAElD,oGAAoG;AACpG,MAAM,WAAW,UAAW,SAAQ,aAAa;IAC/C,MAAM,CAAC,EAAE,mBAAmB,GAAG,IAAI,CAAC;IACpC,MAAM,CAAC,EAAE,UAAU,CAAC,QAAQ,CAAC,CAAC;IAC9B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,eAAe,CAAC;IAC7B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=video.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"video.js","sourceRoot":"","sources":["../../src/types/video.ts"],"names":[],"mappings":"","sourcesContent":["import type { MediaAssetReference } from '@ankhorage/contracts';\n\nimport type { ZoraBaseProps } from './base';\nimport type { ImageProps } from './image';\n\nexport type VideoContentFit = 'contain' | 'cover' | 'fill';\n\n/** Portable Video props accepted by an AppManifest component node. */\nexport interface VideoManifestProps {\n readonly source: MediaAssetReference;\n readonly poster?: MediaAssetReference;\n readonly aspectRatio?: number;\n readonly contentFit?: VideoContentFit;\n readonly volume?: number;\n}\n\n/** Resolved runtime source supplied after the manifest media reference has been resolved. */\nexport type VideoResolvedSource = string | number;\n\n/** Public Video render props. Expo player and view objects intentionally remain adapter-private. */\nexport interface VideoProps extends ZoraBaseProps {\n source?: VideoResolvedSource | null;\n poster?: ImageProps['source'];\n aspectRatio?: number;\n contentFit?: VideoContentFit;\n volume?: number;\n accessibilityLabel?: string;\n}\n"]}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ankhorage/zora",
3
3
  "type": "module",
4
- "version": "28.2.0",
4
+ "version": "28.3.0",
5
5
  "description": "Opinionated React Native and React Native Web UI kit built on @ankhorage/surface.",
6
6
  "homepage": "https://github.com/ankhorage/zora#readme",
7
7
  "bugs": {
@@ -31,6 +31,7 @@
31
31
  "@react-native-vector-icons/fontawesome6": "^13.1.4 || ^14.0.0",
32
32
  "@react-native-vector-icons/ionicons": "^13.1.3 || ^14.0.0",
33
33
  "@react-native-vector-icons/material-design-icons": "^13.1.3 || ^14.0.0",
34
+ "expo": "~57.0.0",
34
35
  "react": "19.2.3",
35
36
  "react-native": "0.86.x",
36
37
  "react-native-gesture-handler": "~2.32.0",
@@ -49,10 +50,13 @@
49
50
  "@ankhorage/grid-view": "^0.5.0",
50
51
  "@ankhorage/reader": "^0.1.3",
51
52
  "@ankhorage/runtime": "^5.7.5",
52
- "@ankhorage/surface": "^9.8.4",
53
+ "@ankhorage/surface": "^9.8.5",
53
54
  "@ankhorage/utility": "^1.11.0",
55
+ "expo-asset": "~57.0.21",
56
+ "expo-audio": "~57.0.5",
54
57
  "expo-document-picker": "~57.0.3",
55
- "expo-image-picker": "~57.0.20"
58
+ "expo-image-picker": "~57.0.20",
59
+ "expo-video": "~57.0.5"
56
60
  },
57
61
  "files": [
58
62
  "dist",
@@ -21,6 +21,7 @@ export const FEATURE_MANIFEST_ELEMENTS = {
21
21
  'SignInForm',
22
22
  'SignUpForm',
23
23
  ],
24
+ audio: ['Audio'],
24
25
  surface: ['Surface'],
25
26
  avatar: ['Avatar', 'AvatarGroup'],
26
27
  badge: ['Badge'],
@@ -51,6 +52,7 @@ export const FEATURE_MANIFEST_ELEMENTS = {
51
52
  'time-picker': ['TimePicker'],
52
53
  timeline: ['Timeline'],
53
54
  uploader: ['Uploader'],
55
+ video: ['Video'],
54
56
  'bottom-sheet': ['BottomSheet'],
55
57
  chess: ['ChessBoard', 'OpeningBook'],
56
58
  game: ['Game', 'GameField', 'GameEntity', 'GameInputZone', 'GameMeasurementProbe', 'GameOverlay'],
@@ -59,6 +61,7 @@ export const FEATURE_MANIFEST_ELEMENTS = {
59
61
 
60
62
  export const CONTAINER_ALLOWED_CHILDREN = [
61
63
  'ActivityIndicator',
64
+ 'Audio',
62
65
  'AuthScreen',
63
66
  'ForgotPasswordForm',
64
67
  'OAuthProviderButton',
@@ -126,6 +129,7 @@ export const CONTAINER_ALLOWED_CHILDREN = [
126
129
  'Reader',
127
130
  'ContentRail',
128
131
  'MissingElement',
132
+ 'Video',
129
133
  ] as const;
130
134
 
131
135
  export const GAME_ALLOWED_CHILDREN = ['Game', 'GameField'] as const;
@@ -0,0 +1,158 @@
1
+ import { Pressable } from '@ankhorage/surface';
2
+ import React from 'react';
3
+
4
+ import type { AudioProps } from '../../../../types/audio';
5
+ import { IconButton } from '../../../button/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
+ import { useAudioController } from '../../composition/useAudioController';
11
+
12
+ const AUDIO_CONTROL_TRACK_WIDTH = 160;
13
+
14
+ /** Renders the canonical themed Audio player backed by Expo Audio. */
15
+ export const Audio = withZoraThemeScope(AudioInner);
16
+
17
+ /** Keeps a value inside an inclusive fractional range. */
18
+ function clampFraction(value: number): number {
19
+ return Math.max(0, Math.min(1, value));
20
+ }
21
+
22
+ /** Normalizes a finite non-negative playback value. */
23
+ function normalizePlaybackTime(value: number): number {
24
+ return Number.isFinite(value) && value > 0 ? value : 0;
25
+ }
26
+
27
+ /** Formats a playback duration as minutes and seconds. */
28
+ function formatAudioTime(value: number): string {
29
+ const seconds = Math.floor(normalizePlaybackTime(value));
30
+ return `${Math.floor(seconds / 60)}:${String(seconds % 60).padStart(2, '0')}`;
31
+ }
32
+
33
+ /** Renders an accessible themed press target for an audio playback range. */
34
+ function AudioRange({
35
+ accessibilityLabel,
36
+ color,
37
+ disabled,
38
+ onChange,
39
+ value,
40
+ }: {
41
+ readonly accessibilityLabel: string;
42
+ readonly color: string;
43
+ readonly disabled: boolean;
44
+ readonly onChange: (value: number) => void;
45
+ readonly value: number;
46
+ }) {
47
+ const { theme } = useZoraTheme();
48
+ const fraction = clampFraction(value);
49
+
50
+ return (
51
+ <Pressable
52
+ accessibilityLabel={accessibilityLabel}
53
+ accessibilityRole="adjustable"
54
+ accessibilityState={{ disabled }}
55
+ bg={theme.semantics.neutral.surface}
56
+ disabled={disabled}
57
+ height={16}
58
+ onPress={(event) =>
59
+ onChange(clampFraction(event.nativeEvent.locationX / AUDIO_CONTROL_TRACK_WIDTH))
60
+ }
61
+ radius="full"
62
+ style={{ justifyContent: 'center', width: AUDIO_CONTROL_TRACK_WIDTH }}
63
+ >
64
+ <View bg={color} height={4} radius="full" style={{ width: `${fraction * 100}%` }} />
65
+ </Pressable>
66
+ );
67
+ }
68
+
69
+ /** Owns Expo Audio playback state and composes the portable themed player controls. */
70
+ function AudioInner({
71
+ themeId: _themeId,
72
+ mode: _mode,
73
+ interactionPolicy,
74
+ source,
75
+ testID,
76
+ }: AudioProps) {
77
+ const { theme } = useZoraTheme();
78
+ const controller = useAudioController(source);
79
+ const duration = normalizePlaybackTime(controller.duration);
80
+ const currentTime = Math.min(normalizePlaybackTime(controller.currentTime), duration || Infinity);
81
+ const progress = duration > 0 ? currentTime / duration : 0;
82
+ const disabled = interactionPolicy === 'passive' || !source || !controller.isLoaded;
83
+
84
+ /** Seeks the Expo player to a fraction of its current duration. */
85
+ const seek = React.useCallback(
86
+ (fraction: number) => {
87
+ if (duration <= 0 || disabled) return;
88
+ void controller.seekTo(clampFraction(fraction) * duration).catch(() => undefined);
89
+ },
90
+ [controller, disabled, duration],
91
+ );
92
+
93
+ /** Updates the player volume immediately from the themed volume range. */
94
+ const changeVolume = React.useCallback(
95
+ (nextVolume: number) => {
96
+ if (disabled) return;
97
+ const resolvedVolume = clampFraction(nextVolume);
98
+ controller.setVolume(resolvedVolume);
99
+ },
100
+ [controller, disabled],
101
+ );
102
+
103
+ /** Toggles the current Expo Audio player state. */
104
+ const togglePlayback = React.useCallback(() => {
105
+ if (disabled) return;
106
+ if (controller.playing) {
107
+ controller.pause();
108
+ return;
109
+ }
110
+ controller.play();
111
+ }, [controller, disabled]);
112
+
113
+ return (
114
+ <View
115
+ accessibilityLabel="Audio player"
116
+ accessibilityRole="summary"
117
+ bg={theme.semantics.surface.raised}
118
+ borderColor={theme.semantics.neutral.divider}
119
+ borderWidth={1}
120
+ gap="s"
121
+ p="m"
122
+ radius="m"
123
+ testID={testID}
124
+ >
125
+ <View align="center" direction="row" gap="s" wrap="nowrap">
126
+ <IconButton
127
+ disabled={disabled}
128
+ icon={{ name: controller.playing ? 'pause' : 'play' }}
129
+ interactionPolicy={interactionPolicy}
130
+ label={controller.playing ? 'Pause audio' : 'Play audio'}
131
+ onPress={togglePlayback}
132
+ />
133
+ <AudioRange
134
+ accessibilityLabel="Audio progress"
135
+ color={theme.semantics.action.primary.base}
136
+ disabled={disabled || duration <= 0}
137
+ onChange={seek}
138
+ value={progress}
139
+ />
140
+ <Text accessibilityLiveRegion="polite" emphasis="muted" variant="caption">
141
+ {`${formatAudioTime(currentTime)} / ${formatAudioTime(duration)}`}
142
+ </Text>
143
+ </View>
144
+ <View align="center" direction="row" gap="s" wrap="nowrap">
145
+ <Text accessibilityLabel="Volume" emphasis="muted" variant="caption">
146
+ Volume
147
+ </Text>
148
+ <AudioRange
149
+ accessibilityLabel="Audio volume"
150
+ color={theme.semantics.action.primary.base}
151
+ disabled={disabled}
152
+ onChange={changeVolume}
153
+ value={controller.volume}
154
+ />
155
+ </View>
156
+ </View>
157
+ );
158
+ }
@@ -0,0 +1,20 @@
1
+ import type { ZoraComponentMeta } from '../../types/authoring';
2
+
3
+ export const audioMeta = {
4
+ name: 'Audio',
5
+ category: 'component',
6
+ description:
7
+ 'Plays one authored audio asset with themed playback, seek, progress, and volume controls.',
8
+ directManifestNode: true,
9
+ allowedChildren: [],
10
+ blueprint: { label: 'Audio' },
11
+ props: {
12
+ source: {
13
+ type: 'media',
14
+ category: 'Content',
15
+ label: 'Source',
16
+ mediaKinds: ['audio'],
17
+ authoring: { authority: 'instance' },
18
+ },
19
+ },
20
+ } as const satisfies ZoraComponentMeta;
@@ -0,0 +1,12 @@
1
+ /** Internal playback state and operations consumed by the themed Audio controls. */
2
+ export interface AudioController {
3
+ readonly currentTime: number;
4
+ readonly duration: number;
5
+ readonly isLoaded: boolean;
6
+ readonly playing: boolean;
7
+ readonly volume: number;
8
+ pause(): void;
9
+ play(): void;
10
+ seekTo(seconds: number): Promise<void>;
11
+ setVolume(volume: number): void;
12
+ }
@@ -0,0 +1,27 @@
1
+ import { useAudioPlayer, useAudioPlayerStatus } from 'expo-audio';
2
+
3
+ import type { AudioProps } from '../../../types/audio';
4
+ import type { AudioController } from './AudioController';
5
+
6
+ /** Applies the requested volume through Expo Audio's mutable player boundary. */
7
+ function setAudioPlayerVolume(player: { volume: number }, volume: number): void {
8
+ player.volume = volume;
9
+ }
10
+
11
+ /** Connects native Audio controls to the lifecycle-managed Expo Audio player. */
12
+ export function useAudioController(source: AudioProps['source']): AudioController {
13
+ const player = useAudioPlayer(source, { updateInterval: 250 });
14
+ const status = useAudioPlayerStatus(player);
15
+
16
+ return {
17
+ currentTime: status.currentTime,
18
+ duration: status.duration || player.duration,
19
+ isLoaded: status.isLoaded,
20
+ pause: () => player.pause(),
21
+ play: () => player.play(),
22
+ playing: status.playing,
23
+ seekTo: (seconds) => player.seekTo(seconds),
24
+ setVolume: (volume) => setAudioPlayerVolume(player, volume),
25
+ volume: player.volume,
26
+ };
27
+ }
@@ -0,0 +1,106 @@
1
+ import React from 'react';
2
+
3
+ import type { AudioProps } from '../../../types/audio';
4
+ import type { AudioController } from './AudioController';
5
+
6
+ interface ExpoAudioPlayer {
7
+ readonly currentTime: number;
8
+ readonly duration: number;
9
+ readonly isLoaded: boolean;
10
+ readonly playing: boolean;
11
+ volume: number;
12
+ pause(): void;
13
+ play(): void;
14
+ remove(): void;
15
+ seekTo(seconds: number): Promise<void>;
16
+ }
17
+
18
+ interface ExpoAudioModule {
19
+ createAudioPlayer(
20
+ source: AudioProps['source'],
21
+ options: { readonly updateInterval: number },
22
+ ): ExpoAudioPlayer;
23
+ }
24
+
25
+ const UNAVAILABLE_AUDIO_CONTROLLER: AudioController = {
26
+ currentTime: 0,
27
+ duration: 0,
28
+ isLoaded: false,
29
+ pause: () => undefined,
30
+ play: () => undefined,
31
+ playing: false,
32
+ seekTo: () => Promise.resolve(),
33
+ setVolume: () => undefined,
34
+ volume: 1,
35
+ };
36
+
37
+ /** Applies the requested volume through Expo Audio's mutable web player boundary. */
38
+ function setWebAudioPlayerVolume(player: ExpoAudioPlayer, volume: number): void {
39
+ player.volume = volume;
40
+ }
41
+
42
+ /** Connects web Audio controls to Expo Audio after the SSR-safe client boundary mounts. */
43
+ export function useAudioController(source: AudioProps['source']): AudioController {
44
+ const [player, setPlayer] = React.useState<ExpoAudioPlayer | null>(null);
45
+ const [state, setState] = React.useState<AudioController>(UNAVAILABLE_AUDIO_CONTROLLER);
46
+
47
+ React.useEffect(() => {
48
+ let active = true;
49
+ let resolvedPlayer: ExpoAudioPlayer | null = null;
50
+ let timer: ReturnType<typeof setInterval> | null = null;
51
+
52
+ /** Publishes the latest lightweight Expo Audio player state. */
53
+ const publish = () => {
54
+ const activePlayer = resolvedPlayer;
55
+ if (!activePlayer || !active) return;
56
+ setState((current) => ({
57
+ ...current,
58
+ currentTime: activePlayer.currentTime,
59
+ duration: activePlayer.duration,
60
+ isLoaded: activePlayer.isLoaded,
61
+ playing: activePlayer.playing,
62
+ volume: activePlayer.volume,
63
+ }));
64
+ };
65
+
66
+ /** Loads Expo Audio only after hydration, preserving a safe web module entrypoint. */
67
+ const load = async () => {
68
+ const expoAudio = (await import('expo-audio')) as ExpoAudioModule;
69
+ if (!active) return;
70
+ resolvedPlayer = expoAudio.createAudioPlayer(source, { updateInterval: 250 });
71
+ setPlayer(resolvedPlayer);
72
+ publish();
73
+ timer = setInterval(publish, 250);
74
+ };
75
+
76
+ void load();
77
+
78
+ return () => {
79
+ active = false;
80
+ if (timer) clearInterval(timer);
81
+ resolvedPlayer?.remove();
82
+ setPlayer(null);
83
+ setState(UNAVAILABLE_AUDIO_CONTROLLER);
84
+ };
85
+ }, [source]);
86
+
87
+ return {
88
+ ...state,
89
+ pause: () => {
90
+ player?.pause();
91
+ setState((current) => ({ ...current, playing: false }));
92
+ },
93
+ play: () => {
94
+ player?.play();
95
+ setState((current) => ({ ...current, playing: true }));
96
+ },
97
+ seekTo: async (seconds) => {
98
+ await player?.seekTo(seconds);
99
+ setState((current) => ({ ...current, currentTime: seconds }));
100
+ },
101
+ setVolume: (volume) => {
102
+ if (player) setWebAudioPlayerVolume(player, volume);
103
+ setState((current) => ({ ...current, volume }));
104
+ },
105
+ };
106
+ }
@@ -0,0 +1,37 @@
1
+ import type { MediaAssetReference } from '@ankhorage/contracts';
2
+ import { describe, expect, test } from 'bun:test';
3
+
4
+ import type { AudioManifestProps, AudioProps } from '../../types/audio';
5
+ import { audioMeta } from './audioMeta';
6
+
7
+ describe('Audio public contract', () => {
8
+ test('keeps the authored source portable and the runtime source resolved', () => {
9
+ const manifestProps: AudioManifestProps = { source: { mediaId: 'intro-audio' } };
10
+ const runtimeProps: AudioProps = { source: { uri: 'https://example.test/intro.mp3' } };
11
+ const reference: MediaAssetReference = manifestProps.source;
12
+
13
+ expect(reference.mediaId).toBe('intro-audio');
14
+ expect(runtimeProps.source).toEqual({ uri: 'https://example.test/intro.mp3' });
15
+ });
16
+
17
+ test('publishes the SDK 57 audio boundary and authoring metadata', async () => {
18
+ const [packageJson, rootSource, readerFreeSource, publicSource, nativeControllerSource] =
19
+ await Promise.all([
20
+ Bun.file('package.json').json() as Promise<{
21
+ dependencies: Readonly<Record<string, string>>;
22
+ }>,
23
+ Bun.file('src/index.ts').text(),
24
+ Bun.file('src/readerFree.ts').text(),
25
+ Bun.file('src/features/audio/public.ts').text(),
26
+ Bun.file('src/features/audio/composition/useAudioController.ts').text(),
27
+ ]);
28
+
29
+ expect(packageJson.dependencies['expo-audio']).toMatch(/^~57\.0\./u);
30
+ expect(packageJson.dependencies['expo-asset']).toMatch(/^~57\./u);
31
+ expect(`${rootSource}\n${readerFreeSource}`).toContain("from './features/audio/public'");
32
+ expect(publicSource).toContain('export { Audio }');
33
+ expect(nativeControllerSource).toContain("from 'expo-audio'");
34
+ expect(audioMeta.props.source).toMatchObject({ type: 'media', mediaKinds: ['audio'] });
35
+ expect(audioMeta.allowedChildren).toEqual([]);
36
+ });
37
+ });
@@ -0,0 +1,2 @@
1
+ export type { AudioManifestProps, AudioProps, AudioResolvedSource } from '../../types/audio';
2
+ export { Audio } from './adapters/inbound/Audio';
@@ -6,6 +6,7 @@ import { Accordion, AccordionItem } from '../accordion/public';
6
6
  import { ActivityIndicator } from '../activity-indicator/public';
7
7
  import { AppBar } from '../app-bar/public';
8
8
  import { AppHeader } from '../app-header/public';
9
+ import { Audio } from '../audio/public';
9
10
  import {
10
11
  AuthScreen,
11
12
  ForgotPasswordForm,
@@ -89,6 +90,7 @@ import { Toolbar } from '../toolbar/public';
89
90
  import { TreeItem, TreeView } from '../tree-view/public';
90
91
  import { Heading, Text } from '../typography/public';
91
92
  import { Uploader } from '../uploader/public';
93
+ import { Video } from '../video/public';
92
94
 
93
95
  type ComponentPropsFor<K extends keyof typeof _ZORA_BASE_COMPONENT_REGISTRY> = React.ComponentProps<
94
96
  (typeof _ZORA_BASE_COMPONENT_REGISTRY)[K]
@@ -117,6 +119,7 @@ const _ZORA_BASE_COMPONENT_REGISTRY = {
117
119
  Accordion,
118
120
  AccordionItem,
119
121
  ActivityIndicator,
122
+ Audio,
120
123
  AppBar,
121
124
  AppHeader,
122
125
  Avatar,
@@ -177,6 +180,7 @@ const _ZORA_BASE_COMPONENT_REGISTRY = {
177
180
  Toast,
178
181
  Toolbar,
179
182
  Uploader,
183
+ Video,
180
184
  BottomSheet,
181
185
  FlatList,
182
186
  SectionList,