@ankhorage/zora 23.2.5 → 23.4.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 (311) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/README.md +1 -6
  3. package/dist/capabilities/index.d.ts +75 -0
  4. package/dist/capabilities/index.d.ts.map +1 -0
  5. package/dist/capabilities/index.js +62 -0
  6. package/dist/capabilities/index.js.map +1 -0
  7. package/dist/cli/index.d.ts +74 -1
  8. package/dist/cli/index.d.ts.map +1 -1
  9. package/dist/cli/index.js +4 -5
  10. package/dist/cli/index.js.map +1 -1
  11. package/dist/constants/authoring.d.ts +8 -0
  12. package/dist/constants/authoring.d.ts.map +1 -1
  13. package/dist/constants/authoring.js +6 -0
  14. package/dist/constants/authoring.js.map +1 -1
  15. package/dist/features/app-bar/appBarMeta.d.ts +10 -1
  16. package/dist/features/app-bar/appBarMeta.d.ts.map +1 -1
  17. package/dist/features/app-bar/appBarMeta.js +2 -1
  18. package/dist/features/app-bar/appBarMeta.js.map +1 -1
  19. package/dist/features/app-header/adapters/inbound/AppHeader.d.ts +5 -0
  20. package/dist/features/app-header/adapters/inbound/AppHeader.d.ts.map +1 -0
  21. package/dist/features/app-header/adapters/inbound/AppHeader.js +7 -0
  22. package/dist/features/app-header/adapters/inbound/AppHeader.js.map +1 -0
  23. package/dist/features/app-header/appHeaderMeta.d.ts +18 -0
  24. package/dist/features/app-header/appHeaderMeta.d.ts.map +1 -0
  25. package/dist/features/app-header/appHeaderMeta.js +12 -0
  26. package/dist/features/app-header/appHeaderMeta.js.map +1 -0
  27. package/dist/features/app-header/public.d.ts +3 -0
  28. package/dist/features/app-header/public.d.ts.map +1 -0
  29. package/dist/features/app-header/public.js +2 -0
  30. package/dist/features/app-header/public.js.map +1 -0
  31. package/dist/features/game/adapters/inbound/Game.d.ts +1 -1
  32. package/dist/features/game/adapters/inbound/Game.d.ts.map +1 -1
  33. package/dist/features/game/adapters/inbound/Game.js +4 -1
  34. package/dist/features/game/adapters/inbound/Game.js.map +1 -1
  35. package/dist/features/game/adapters/inbound/GameEntity.d.ts +1 -1
  36. package/dist/features/game/adapters/inbound/GameEntity.d.ts.map +1 -1
  37. package/dist/features/game/adapters/inbound/GameEntity.js +4 -1
  38. package/dist/features/game/adapters/inbound/GameEntity.js.map +1 -1
  39. package/dist/features/game/adapters/inbound/GameField.d.ts +1 -1
  40. package/dist/features/game/adapters/inbound/GameField.d.ts.map +1 -1
  41. package/dist/features/game/adapters/inbound/GameField.js +4 -1
  42. package/dist/features/game/adapters/inbound/GameField.js.map +1 -1
  43. package/dist/features/game/adapters/inbound/GameInputZone.d.ts +1 -1
  44. package/dist/features/game/adapters/inbound/GameInputZone.d.ts.map +1 -1
  45. package/dist/features/game/adapters/inbound/GameInputZone.js +4 -1
  46. package/dist/features/game/adapters/inbound/GameInputZone.js.map +1 -1
  47. package/dist/features/game/adapters/inbound/GameMeasurementProbe.d.ts +2 -1
  48. package/dist/features/game/adapters/inbound/GameMeasurementProbe.d.ts.map +1 -1
  49. package/dist/features/game/adapters/inbound/GameMeasurementProbe.js +4 -1
  50. package/dist/features/game/adapters/inbound/GameMeasurementProbe.js.map +1 -1
  51. package/dist/features/game/adapters/inbound/GameOverlay.d.ts +1 -1
  52. package/dist/features/game/adapters/inbound/GameOverlay.d.ts.map +1 -1
  53. package/dist/features/game/adapters/inbound/GameOverlay.js +4 -1
  54. package/dist/features/game/adapters/inbound/GameOverlay.js.map +1 -1
  55. package/dist/features/registry/ZORA_COMPONENT_REGISTRY.d.ts.map +1 -1
  56. package/dist/features/registry/ZORA_COMPONENT_REGISTRY.js +2 -0
  57. package/dist/features/registry/ZORA_COMPONENT_REGISTRY.js.map +1 -1
  58. package/dist/features/registry/bindableComponentMeta.d.ts +415 -327
  59. package/dist/features/registry/bindableComponentMeta.d.ts.map +1 -1
  60. package/dist/features/registry/bindableComponentMeta.js +12 -0
  61. package/dist/features/registry/bindableComponentMeta.js.map +1 -1
  62. package/dist/features/registry/componentMeta.d.ts.map +1 -1
  63. package/dist/features/registry/componentMeta.js +2 -0
  64. package/dist/features/registry/componentMeta.js.map +1 -1
  65. package/dist/features/registry/finalizeFeatureMetadata.d.ts.map +1 -1
  66. package/dist/features/registry/finalizeFeatureMetadata.js +5 -4
  67. package/dist/features/registry/finalizeFeatureMetadata.js.map +1 -1
  68. package/dist/features/selection/adapters/inbound/SelectableItem.d.ts +1 -1
  69. package/dist/features/selection/adapters/inbound/SelectableItem.d.ts.map +1 -1
  70. package/dist/features/selection/adapters/inbound/SelectableItem.js +4 -1
  71. package/dist/features/selection/adapters/inbound/SelectableItem.js.map +1 -1
  72. package/dist/features/theme/adapters/inbound/ThemeModeToggle.d.ts +2 -1
  73. package/dist/features/theme/adapters/inbound/ThemeModeToggle.d.ts.map +1 -1
  74. package/dist/features/theme/adapters/inbound/ThemeModeToggle.js +5 -1
  75. package/dist/features/theme/adapters/inbound/ThemeModeToggle.js.map +1 -1
  76. package/dist/features/theme/adapters/inbound/ZoraThemeScope.d.ts +2 -1
  77. package/dist/features/theme/adapters/inbound/ZoraThemeScope.d.ts.map +1 -1
  78. package/dist/features/theme/adapters/inbound/ZoraThemeScope.js +7 -5
  79. package/dist/features/theme/adapters/inbound/ZoraThemeScope.js.map +1 -1
  80. package/dist/features/theme/adapters/inbound/withZoraThemeScope.d.ts +1 -0
  81. package/dist/features/theme/adapters/inbound/withZoraThemeScope.d.ts.map +1 -1
  82. package/dist/features/theme/adapters/inbound/withZoraThemeScope.js +9 -4
  83. package/dist/features/theme/adapters/inbound/withZoraThemeScope.js.map +1 -1
  84. package/dist/index.d.ts +1 -0
  85. package/dist/index.d.ts.map +1 -1
  86. package/dist/index.js +1 -0
  87. package/dist/index.js.map +1 -1
  88. package/dist/types/app-header.d.ts +3 -0
  89. package/dist/types/app-header.d.ts.map +1 -0
  90. package/dist/types/app-header.js +2 -0
  91. package/dist/types/app-header.js.map +1 -0
  92. package/dist/types/base.d.ts +2 -0
  93. package/dist/types/base.d.ts.map +1 -1
  94. package/dist/types/base.js.map +1 -1
  95. package/dist/types/gamePresentation.d.ts +6 -6
  96. package/dist/types/gamePresentation.d.ts.map +1 -1
  97. package/dist/types/gamePresentation.js.map +1 -1
  98. package/dist/types/selection.d.ts +2 -1
  99. package/dist/types/selection.d.ts.map +1 -1
  100. package/dist/types/selection.js.map +1 -1
  101. package/dist/types/theme-mode-toggle.d.ts +2 -1
  102. package/dist/types/theme-mode-toggle.d.ts.map +1 -1
  103. package/dist/types/theme-mode-toggle.js.map +1 -1
  104. package/package.json +103 -7
  105. package/src/capabilities/index.test.ts +50 -0
  106. package/src/capabilities/index.ts +63 -0
  107. package/src/cli/index.test.ts +10 -1
  108. package/src/cli/index.ts +7 -14
  109. package/src/constants/authoring.ts +7 -0
  110. package/src/features/app-bar/appBarMeta.ts +2 -1
  111. package/src/features/app-header/adapters/inbound/AppHeader.tsx +9 -0
  112. package/src/features/app-header/appHeaderMeta.ts +13 -0
  113. package/src/features/app-header/public.ts +2 -0
  114. package/src/features/game/adapters/inbound/Game.tsx +5 -1
  115. package/src/features/game/adapters/inbound/GameEntity.tsx +5 -1
  116. package/src/features/game/adapters/inbound/GameField.tsx +5 -1
  117. package/src/features/game/adapters/inbound/GameInputZone.tsx +5 -1
  118. package/src/features/game/adapters/inbound/GameMeasurementProbe.tsx +5 -1
  119. package/src/features/game/adapters/inbound/GameOverlay.tsx +5 -1
  120. package/src/features/registry/ZORA_COMPONENT_REGISTRY.ts +2 -0
  121. package/src/features/registry/authoringMeta.test.ts +11 -0
  122. package/src/features/registry/bindableComponentMeta.ts +12 -0
  123. package/src/features/registry/componentMeta.ts +2 -0
  124. package/src/features/registry/finalizeFeatureMetadata.ts +7 -6
  125. package/src/features/registry/registry.test.ts +1 -0
  126. package/src/features/selection/adapters/inbound/SelectableItem.tsx +5 -1
  127. package/src/features/theme/adapters/inbound/ThemeModeToggle.tsx +6 -1
  128. package/src/features/theme/adapters/inbound/ZoraThemeScope.tsx +12 -5
  129. package/src/features/theme/adapters/inbound/withZoraThemeScope.tsx +9 -4
  130. package/src/features/theme/themeConfigScope.test.ts +1 -1
  131. package/src/features/theme/themeScopeStructure.test.ts +6 -1
  132. package/src/index.ts +1 -0
  133. package/src/invertedThemeAcceptance.test.tsx +177 -0
  134. package/src/structureOwnership.test.ts +1 -1
  135. package/src/types/app-header.ts +3 -0
  136. package/src/types/base.ts +3 -0
  137. package/src/types/gamePresentation.ts +7 -6
  138. package/src/types/selection.ts +3 -1
  139. package/src/types/theme-mode-toggle.ts +3 -4
  140. package/web-dist/chunks/{Accordion-c3yfjhex.js → Accordion-0047zyx7.js} +4 -4
  141. package/web-dist/chunks/{Accordion-vq198z68.js → Accordion-0yhkg017.js} +9 -9
  142. package/web-dist/chunks/{Accordion-hztfb9ex.js → Accordion-0yvepteg.js} +5 -5
  143. package/web-dist/chunks/{Accordion-r1geqzsp.js → Accordion-1e1nfhtc.js} +5 -5
  144. package/web-dist/chunks/{Accordion-vc8pv1jf.js → Accordion-1xpq9bxk.js} +7 -7
  145. package/web-dist/chunks/{Accordion-11xym8p8.js → Accordion-2dqpjya2.js} +7 -7
  146. package/web-dist/chunks/{Accordion-g69czys5.js → Accordion-37n4bt3g.js} +2 -2
  147. package/web-dist/chunks/{Accordion-0f748ad5.js → Accordion-3m6de80j.js} +1 -1
  148. package/web-dist/chunks/{Accordion-jynbc7d0.js → Accordion-693gvpde.js} +3 -3
  149. package/web-dist/chunks/{Accordion-een6jq8f.js → Accordion-6xrse5my.js} +1 -1
  150. package/web-dist/chunks/{Accordion-904ncmad.js → Accordion-6ytrt7xj.js} +5 -5
  151. package/web-dist/chunks/{Accordion-jfjery84.js → Accordion-70g7n6tk.js} +8 -8
  152. package/web-dist/chunks/{Accordion-n7hckxte.js → Accordion-73x0gt11.js} +6 -6
  153. package/web-dist/chunks/{Accordion-7cgv14wd.js → Accordion-7y9wt946.js} +2 -2
  154. package/web-dist/chunks/{Accordion-scacsnhj.js → Accordion-8bxy3g7a.js} +3 -3
  155. package/web-dist/chunks/{Accordion-6h4zc69v.js → Accordion-8fne0gf9.js} +4 -4
  156. package/web-dist/chunks/{Accordion-xak1mcaf.js → Accordion-8z7naxj2.js} +18 -13
  157. package/web-dist/chunks/{Accordion-whhnrz92.js → Accordion-a1ervhyg.js} +13 -13
  158. package/web-dist/chunks/{Accordion-tp2gn95w.js → Accordion-adc7k14q.js} +37 -13
  159. package/web-dist/chunks/{Accordion-vtndpbzt.js → Accordion-ancjf7q8.js} +7 -3
  160. package/web-dist/chunks/{Accordion-7ccpdvga.js → Accordion-axxgq453.js} +7 -7
  161. package/web-dist/chunks/{Accordion-bn954rjh.js → Accordion-basd2gyf.js} +2 -2
  162. package/web-dist/chunks/{Accordion-z4d0pncs.js → Accordion-bz2dzbad.js} +9 -9
  163. package/web-dist/chunks/{Accordion-pt0f1v0m.js → Accordion-ct805sm7.js} +2 -2
  164. package/web-dist/chunks/{Accordion-katngqxf.js → Accordion-d24n7srd.js} +4 -4
  165. package/web-dist/chunks/{Accordion-a09gnx45.js → Accordion-dbxpv5eq.js} +3 -3
  166. package/web-dist/chunks/{Accordion-8zerapbc.js → Accordion-e2kr1z3g.js} +5 -5
  167. package/web-dist/chunks/{Accordion-8rx1stgv.js → Accordion-ebw6xj6x.js} +5 -7
  168. package/web-dist/chunks/{Accordion-090whwtv.js → Accordion-ekjwm5dw.js} +17 -8
  169. package/web-dist/chunks/{Accordion-ej4p6ae3.js → Accordion-g2d4fskg.js} +2 -2
  170. package/web-dist/chunks/{Accordion-65kvpq6z.js → Accordion-gkx1kszz.js} +1 -1
  171. package/web-dist/chunks/{Accordion-40sj6k87.js → Accordion-k6dg8zd2.js} +3 -3
  172. package/web-dist/chunks/{Accordion-xdgpa7kf.js → Accordion-kxa15n19.js} +1 -1
  173. package/web-dist/chunks/{Accordion-ps286k56.js → Accordion-m4brcz8v.js} +5 -5
  174. package/web-dist/chunks/{Accordion-hdnpzyk9.js → Accordion-mbqtk7y0.js} +1 -1
  175. package/web-dist/chunks/{Accordion-sh0sk3cz.js → Accordion-nkd7nhyx.js} +5 -5
  176. package/web-dist/chunks/{Accordion-qqsxfq5h.js → Accordion-p0fh69qq.js} +6 -6
  177. package/web-dist/chunks/{Accordion-02d3sw7t.js → Accordion-ph15h010.js} +10 -10
  178. package/web-dist/chunks/{Accordion-a60dhqsv.js → Accordion-pvz3r99n.js} +38 -1
  179. package/web-dist/chunks/{Accordion-qd4r5b4s.js → Accordion-q9zge7kd.js} +2 -2
  180. package/web-dist/chunks/{Accordion-1dppb4fr.js → Accordion-qyssgtwe.js} +2 -2
  181. package/web-dist/chunks/{Accordion-pe49atda.js → Accordion-rmp9sfra.js} +1 -1
  182. package/web-dist/chunks/{Accordion-v1fxp6yd.js → Accordion-snyacfyh.js} +8 -8
  183. package/web-dist/chunks/{Accordion-47mg9vze.js → Accordion-tdjh81ax.js} +5 -5
  184. package/web-dist/chunks/{Accordion-3v7sz3vv.js → Accordion-v4n4ygwn.js} +1 -1
  185. package/web-dist/chunks/{Accordion-2z0415ed.js → Accordion-vjgk1sz7.js} +1 -1
  186. package/web-dist/chunks/{Accordion-qq9bvraa.js → Accordion-wgesygtk.js} +10 -10
  187. package/web-dist/chunks/{Accordion-tvzq4dw8.js → Accordion-wxbh98kp.js} +8 -8
  188. package/web-dist/chunks/{Accordion-3w1t105s.js → Accordion-wytj5wwc.js} +3 -3
  189. package/web-dist/chunks/{Accordion-19j1mncn.js → Accordion-yae3m7g7.js} +4 -4
  190. package/web-dist/chunks/{Accordion-c7pd59w7.js → Accordion-zgzrah0a.js} +6 -6
  191. package/web-dist/components/accordion/Accordion.js +12 -13
  192. package/web-dist/components/accordion-item/AccordionItem.js +12 -13
  193. package/web-dist/components/activity-indicator/ActivityIndicator.js +3 -4
  194. package/web-dist/components/app-bar/AppBar.js +19 -20
  195. package/web-dist/components/app-header/AppHeader.d.ts +3 -0
  196. package/web-dist/components/app-header/AppHeader.js +41 -0
  197. package/web-dist/components/app-header/index.d.ts +1 -0
  198. package/web-dist/components/app-header/index.js +2 -0
  199. package/web-dist/components/app-shell/AppShell.js +6 -7
  200. package/web-dist/components/auth-screen/AuthScreen.js +21 -22
  201. package/web-dist/components/avatar/Avatar.js +12 -13
  202. package/web-dist/components/avatar-group/AvatarGroup.js +12 -13
  203. package/web-dist/components/badge/Badge.js +7 -8
  204. package/web-dist/components/barcode-scanner-view/BarcodeScannerView.js +20 -21
  205. package/web-dist/components/bottom-sheet/BottomSheet.js +8 -9
  206. package/web-dist/components/bottom-sheet-flat-list/BottomSheetFlatList.js +8 -9
  207. package/web-dist/components/bottom-sheet-scroll-view/BottomSheetScrollView.js +8 -9
  208. package/web-dist/components/bottom-sheet-section-list/BottomSheetSectionList.js +8 -9
  209. package/web-dist/components/bottom-sheet-view/BottomSheetView.js +8 -9
  210. package/web-dist/components/bottom-sheet-virtualized-list/BottomSheetVirtualizedList.js +8 -9
  211. package/web-dist/components/breadcrumbs/Breadcrumbs.js +14 -15
  212. package/web-dist/components/button/Button.js +12 -13
  213. package/web-dist/components/button-group/ButtonGroup.js +12 -13
  214. package/web-dist/components/camera-permission-view/CameraPermissionView.js +20 -21
  215. package/web-dist/components/card/Card.js +19 -20
  216. package/web-dist/components/card-back/CardBack.js +4 -5
  217. package/web-dist/components/card-hand/CardHand.js +4 -5
  218. package/web-dist/components/chat-list-item/ChatListItem.js +16 -17
  219. package/web-dist/components/checkbox/Checkbox.js +12 -13
  220. package/web-dist/components/checkbox-group/CheckboxGroup.js +12 -13
  221. package/web-dist/components/chess-board/ChessBoard.js +4 -5
  222. package/web-dist/components/chip/Chip.js +13 -14
  223. package/web-dist/components/chip-group/ChipGroup.js +13 -14
  224. package/web-dist/components/collection-editor/CollectionEditor.js +19 -20
  225. package/web-dist/components/content-rail/ContentRail.js +13 -14
  226. package/web-dist/components/data-table/DataTable.js +26 -27
  227. package/web-dist/components/date-picker/DatePicker.js +17 -18
  228. package/web-dist/components/dialog/Dialog.js +12 -13
  229. package/web-dist/components/divider/Divider.js +6 -7
  230. package/web-dist/components/empty-state/EmptyState.js +20 -21
  231. package/web-dist/components/field/Field.js +12 -13
  232. package/web-dist/components/flat-list/FlatList.js +13 -14
  233. package/web-dist/components/forgot-password-form/ForgotPasswordForm.js +21 -22
  234. package/web-dist/components/form/Form.js +16 -17
  235. package/web-dist/components/form-actions/FormActions.js +16 -17
  236. package/web-dist/components/form-error/FormError.js +16 -17
  237. package/web-dist/components/game/Game.js +7 -8
  238. package/web-dist/components/game-entity/GameEntity.js +7 -8
  239. package/web-dist/components/game-field/GameField.js +7 -8
  240. package/web-dist/components/game-input-zone/GameInputZone.js +7 -8
  241. package/web-dist/components/game-measurement-probe/GameMeasurementProbe.js +7 -8
  242. package/web-dist/components/game-overlay/GameOverlay.js +7 -8
  243. package/web-dist/components/gradient/Gradient.js +7 -8
  244. package/web-dist/components/gradient-renderer-provider/GradientRendererProvider.js +7 -8
  245. package/web-dist/components/grid/Grid.js +6 -7
  246. package/web-dist/components/heading/Heading.js +6 -7
  247. package/web-dist/components/hero/Hero.js +19 -20
  248. package/web-dist/components/icon/Icon.js +4 -5
  249. package/web-dist/components/icon-button/IconButton.js +12 -13
  250. package/web-dist/components/image/Image.js +10 -11
  251. package/web-dist/components/keyboard-avoiding-view/KeyboardAvoidingView.js +3 -4
  252. package/web-dist/components/list/List.js +13 -14
  253. package/web-dist/components/list-item/ListItem.js +13 -14
  254. package/web-dist/components/list-section/ListSection.js +13 -14
  255. package/web-dist/components/media-card/MediaCard.js +19 -20
  256. package/web-dist/components/message-bubble/MessageBubble.js +16 -17
  257. package/web-dist/components/metric-card/MetricCard.js +19 -20
  258. package/web-dist/components/missing-element/MissingElement.js +11 -12
  259. package/web-dist/components/o-auth-provider-button/OAuthProviderButton.js +21 -22
  260. package/web-dist/components/o-auth-provider-list/OAuthProviderList.js +21 -22
  261. package/web-dist/components/opening-book/OpeningBook.js +4 -5
  262. package/web-dist/components/otp-form/OtpForm.js +21 -22
  263. package/web-dist/components/pagination/Pagination.js +13 -14
  264. package/web-dist/components/palette-item/PaletteItem.js +19 -20
  265. package/web-dist/components/playing-card/PlayingCard.js +4 -5
  266. package/web-dist/components/poker-training-table/PokerTrainingTable.js +4 -5
  267. package/web-dist/components/popover-menu/PopoverMenu.js +14 -15
  268. package/web-dist/components/post-card/PostCard.js +19 -20
  269. package/web-dist/components/product-card/ProductCard.js +19 -20
  270. package/web-dist/components/progress/Progress.js +10 -11
  271. package/web-dist/components/progress-ring/ProgressRing.js +10 -11
  272. package/web-dist/components/radio/Radio.js +14 -15
  273. package/web-dist/components/radio-group/RadioGroup.js +14 -15
  274. package/web-dist/components/rating/Rating.js +9 -10
  275. package/web-dist/components/reader-surface/ReaderSurface.js +21 -22
  276. package/web-dist/components/scan-overlay/ScanOverlay.js +20 -21
  277. package/web-dist/components/screen/Screen.js +6 -7
  278. package/web-dist/components/screen-section/ScreenSection.js +10 -11
  279. package/web-dist/components/scroll-view/ScrollView.js +6 -7
  280. package/web-dist/components/search-input/SearchInput.js +13 -14
  281. package/web-dist/components/section-header/SectionHeader.js +10 -11
  282. package/web-dist/components/section-list/SectionList.js +13 -14
  283. package/web-dist/components/select/Select.js +16 -17
  284. package/web-dist/components/selectable-item/SelectableItem.js +6 -5
  285. package/web-dist/components/selection-provider/SelectionProvider.js +6 -5
  286. package/web-dist/components/sign-in-form/SignInForm.js +21 -22
  287. package/web-dist/components/sign-up-form/SignUpForm.js +21 -22
  288. package/web-dist/components/skeleton/Skeleton.js +22 -23
  289. package/web-dist/components/skeleton-card/SkeletonCard.js +22 -23
  290. package/web-dist/components/skeleton-list/SkeletonList.js +22 -23
  291. package/web-dist/components/skeleton-text/SkeletonText.js +22 -23
  292. package/web-dist/components/surface/Surface.js +7 -8
  293. package/web-dist/components/switch/Switch.js +7 -8
  294. package/web-dist/components/tab/Tab.js +7 -8
  295. package/web-dist/components/tab-list/TabList.js +7 -8
  296. package/web-dist/components/tab-panel/TabPanel.js +7 -8
  297. package/web-dist/components/tabletop-table/TabletopTable.js +4 -5
  298. package/web-dist/components/tabs/Tabs.js +7 -8
  299. package/web-dist/components/text/Text.js +6 -7
  300. package/web-dist/components/text-input/TextInput.js +13 -14
  301. package/web-dist/components/time-picker/TimePicker.js +17 -18
  302. package/web-dist/components/timeline/Timeline.js +11 -12
  303. package/web-dist/components/toast/Toast.js +9 -10
  304. package/web-dist/components/toast-provider/ToastProvider.js +9 -10
  305. package/web-dist/components/toolbar/Toolbar.js +19 -20
  306. package/web-dist/components/tree-item/TreeItem.js +17 -18
  307. package/web-dist/components/uploader/Uploader.js +22 -23
  308. package/web-dist/components/view/View.js +6 -7
  309. package/web-dist/manifest.json +1500 -1567
  310. package/web-dist/runtime/ZoraProvider.js +12 -14
  311. package/web-dist/chunks/Accordion-kcx57mk5.js +0 -39
@@ -1 +1 @@
1
- {"version":3,"file":"withZoraThemeScope.js","sourceRoot":"","sources":["../../../../../src/features/theme/adapters/inbound/withZoraThemeScope.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,MAAM,UAAU,kBAAkB,CAChC,SAAkD;IAElD,MAAM,OAAO,GAAG,CAAC,KAAQ,EAAE,EAAE;QAC3B,IAAI,KAAK,CAAC,IAAI,KAAK,SAAS,IAAI,KAAK,CAAC,OAAO,KAAK,SAAS,EAAE,CAAC;YAC5D,OAAO,KAAK,CAAC,aAAa,CAAC,SAAS,EAAE,KAAK,CAAC,CAAC;QAC/C,CAAC;QAED,OAAO,CACL,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,OAAO,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CACvD;QAAA,CAAC,KAAK,CAAC,aAAa,CAAC,SAAS,EAAE,KAAK,CAAC,CACxC;MAAA,EAAE,cAAc,CAAC,CAClB,CAAC;IACJ,CAAC,CAAC;IAEF,MAAM,IAAI,GACP,SAAsC,CAAC,WAAW,IAAI,CAAC,SAAS,CAAC,IAAI,IAAI,WAAW,CAAC,CAAC;IACxF,OAAoC,CAAC,WAAW,GAAG,sBAAsB,IAAI,GAAG,CAAC;IAElF,OAAO,OAAO,CAAC;AACjB,CAAC","sourcesContent":["import React from 'react';\n\nimport type { ZoraBaseProps } from '../../../../types/base';\nimport { ZoraThemeScope } from './ZoraThemeScope';\n\nexport function withZoraThemeScope<P extends ZoraBaseProps>(\n Component: (props: P) => React.ReactElement | null,\n): (props: P) => React.ReactElement | null {\n const Wrapped = (props: P) => {\n if (props.mode === undefined && props.themeId === undefined) {\n return React.createElement(Component, props);\n }\n\n return (\n <ZoraThemeScope mode={props.mode} themeId={props.themeId}>\n {React.createElement(Component, props)}\n </ZoraThemeScope>\n );\n };\n\n const name =\n (Component as { displayName?: string }).displayName ?? (Component.name || 'Component');\n (Wrapped as { displayName?: string }).displayName = `withZoraThemeScope(${name})`;\n\n return Wrapped;\n}\n"]}
1
+ {"version":3,"file":"withZoraThemeScope.js","sourceRoot":"","sources":["../../../../../src/features/theme/adapters/inbound/withZoraThemeScope.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,4EAA4E;AAC5E,MAAM,UAAU,kBAAkB,CAChC,SAAkD;IAElD,MAAM,OAAO,GAAG,CAAC,KAAQ,EAAE,EAAE;QAC3B,MAAM,cAAc,GAAG,EAAE,GAAG,KAAK,EAAE,CAAC;QACpC,OAAO,cAAc,CAAC,OAAO,CAAC;QAC9B,OAAO,cAAc,CAAC,IAAI,CAAC;QAC3B,OAAO,cAAc,CAAC,QAAQ,CAAC;QAC/B,IAAI,KAAK,CAAC,IAAI,KAAK,SAAS,IAAI,KAAK,CAAC,OAAO,KAAK,SAAS,IAAI,KAAK,CAAC,QAAQ,KAAK,SAAS,EAAE,CAAC;YAC5F,OAAO,KAAK,CAAC,aAAa,CAAC,SAAS,EAAE,cAAc,CAAC,CAAC;QACxD,CAAC;QAED,OAAO,CACL,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,OAAO,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,QAAQ,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,CACjF;QAAA,CAAC,KAAK,CAAC,aAAa,CAAC,SAAS,EAAE,cAAc,CAAC,CACjD;MAAA,EAAE,cAAc,CAAC,CAClB,CAAC;IACJ,CAAC,CAAC;IAEF,MAAM,IAAI,GACP,SAAsC,CAAC,WAAW,IAAI,CAAC,SAAS,CAAC,IAAI,IAAI,WAAW,CAAC,CAAC;IACxF,OAAoC,CAAC,WAAW,GAAG,sBAAsB,IAAI,GAAG,CAAC;IAElF,OAAO,OAAO,CAAC;AACjB,CAAC","sourcesContent":["import React from 'react';\n\nimport type { ZoraBaseProps } from '../../../../types/base';\nimport { ZoraThemeScope } from './ZoraThemeScope';\n\n/*** Applies optional theme and polarity overrides to any ZORA component. */\nexport function withZoraThemeScope<P extends ZoraBaseProps>(\n Component: (props: P) => React.ReactElement | null,\n): (props: P) => React.ReactElement | null {\n const Wrapped = (props: P) => {\n const componentProps = { ...props };\n delete componentProps.themeId;\n delete componentProps.mode;\n delete componentProps.inverted;\n if (props.mode === undefined && props.themeId === undefined && props.inverted === undefined) {\n return React.createElement(Component, componentProps);\n }\n\n return (\n <ZoraThemeScope mode={props.mode} themeId={props.themeId} inverted={props.inverted}>\n {React.createElement(Component, componentProps)}\n </ZoraThemeScope>\n );\n };\n\n const name =\n (Component as { displayName?: string }).displayName ?? (Component.name || 'Component');\n (Wrapped as { displayName?: string }).displayName = `withZoraThemeScope(${name})`;\n\n return Wrapped;\n}\n"]}
package/dist/index.d.ts CHANGED
@@ -2,6 +2,7 @@ export { Accordion, AccordionItem, type AccordionItemProps, type AccordionMode,
2
2
  export { ActivityIndicator, type ActivityIndicatorProps, } from './features/activity-indicator/public';
3
3
  export type { AppBarMode, AppBarOverflowMenu, AppBarProps } from './features/app-bar/public';
4
4
  export { AppBar } from './features/app-bar/public';
5
+ export { AppHeader, type AppHeaderProps } from './features/app-header/public';
5
6
  export type { AuthFormBaseProps, AuthIdentifierKind, AuthScreenMode, AuthScreenProps, ForgotPasswordFormProps, ForgotPasswordFormValues, OAuthProviderButtonProps, OAuthProviderIconSpec, OAuthProviderItem, OAuthProviderListLayout, OAuthProviderListProps, OtpFormProps, OtpFormValues, SignInFormProps, SignInFormValues, SignUpFormField, SignUpFormProps, SignUpFormValues, } from './features/auth/public';
6
7
  export { AuthScreen, DEFAULT_OAUTH_PROVIDER_ICONS, ForgotPasswordForm, OAuthProviderButton, OAuthProviderList, OtpForm, resolveOAuthProviderIcon, resolveOAuthProviderLabel, SignInForm, SignUpForm, } from './features/auth/public';
7
8
  export type { AvatarProps, AvatarShape, AvatarSize } from './features/avatar/public';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.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,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,eAAe,EACf,gBAAgB,EAChB,eAAe,EACf,eAAe,EACf,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MAAM,4BAA4B,CAAC;AAC9E,OAAO,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAC;AACtD,YAAY,EACV,eAAe,EACf,YAAY,EACZ,UAAU,EACV,kBAAkB,EAClB,WAAW,GACZ,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,KAAK,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AACzE,OAAO,EAAE,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACvE,YAAY,EAAE,YAAY,EAAE,mBAAmB,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AACpG,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AACjE,YAAY,EACV,YAAY,EACZ,YAAY,EACZ,eAAe,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,aAAa,EACb,qBAAqB,EACrB,UAAU,EACV,wBAAwB,GACzB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,QAAQ,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAC3E,YAAY,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAC"}
package/dist/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  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
+ export { AppHeader } from './features/app-header/public';
4
5
  export { AuthScreen, DEFAULT_OAUTH_PROVIDER_ICONS, ForgotPasswordForm, OAuthProviderButton, OAuthProviderList, OtpForm, resolveOAuthProviderIcon, resolveOAuthProviderLabel, SignInForm, SignUpForm, } from './features/auth/public';
5
6
  export { Avatar, resolveAvatarInitials } from './features/avatar/public';
6
7
  export { AvatarGroup } from './features/avatar/public';
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.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;AAqBnD,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;AAYtD,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAC9C,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACnD,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;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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 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 { 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 ChessBoardColorOverrides,\n ChessBoardColorScheme,\n ChessBoardOrientation,\n ChessBoardProps,\n ChessMoveAttempt,\n ChessMoveResult,\n ChessPieceCode,\n ChessPieceRenderContext,\n ChessPieceRenderer,\n ChessPieceState,\n ChessPromotionPiece,\n ChessSquareId,\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 {\n chessSquares,\n createBoardSquares,\n createChessBoardColorScheme,\n createOpeningBookColorScheme,\n getLegalTargets,\n getSquareFile,\n getSquareRank,\n isLightSquare,\n readChessPieces,\n tryMove,\n} 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 DataTableColumn,\n DataTableColumnAlign,\n DataTableDensity,\n DataTableProps,\n DataTableRowAction,\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 {\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 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 {\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 { 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 ReaderColorScheme,\n ReaderDocumentFormat,\n ReaderErrorCode,\n ReaderErrorEvent,\n ReaderExternalLinkEvent,\n ReaderLineHeight,\n ReaderLocationChangeEvent,\n ReaderNavigationTrigger,\n ReaderResolvedSource,\n ReaderStatus,\n ReaderSurfaceProps,\n} from './features/reader/public';\nexport { ReaderSurface, resolveReaderProgress } from './features/reader/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 { ZORA_COMPONENT_REGISTRY } from './features/registry/public';\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 { 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 {\n TimePicker,\n type TimePickerProps,\n type TimePickerValue,\n} from './features/time-picker/public';\nexport type { TimelineItem, TimelineProps } 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 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":"index.js","sourceRoot":"","sources":["../src/index.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,CAA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AAE,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;AASpD,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 { 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 ChessBoardColorOverrides,\n ChessBoardColorScheme,\n ChessBoardOrientation,\n ChessBoardProps,\n ChessMoveAttempt,\n ChessMoveResult,\n ChessPieceCode,\n ChessPieceRenderContext,\n ChessPieceRenderer,\n ChessPieceState,\n ChessPromotionPiece,\n ChessSquareId,\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 {\n chessSquares,\n createBoardSquares,\n createChessBoardColorScheme,\n createOpeningBookColorScheme,\n getLegalTargets,\n getSquareFile,\n getSquareRank,\n isLightSquare,\n readChessPieces,\n tryMove,\n} 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 DataTableColumn,\n DataTableColumnAlign,\n DataTableDensity,\n DataTableProps,\n DataTableRowAction,\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 {\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 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 {\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 { 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 ReaderColorScheme,\n ReaderDocumentFormat,\n ReaderErrorCode,\n ReaderErrorEvent,\n ReaderExternalLinkEvent,\n ReaderLineHeight,\n ReaderLocationChangeEvent,\n ReaderNavigationTrigger,\n ReaderResolvedSource,\n ReaderStatus,\n ReaderSurfaceProps,\n} from './features/reader/public';\nexport { ReaderSurface, resolveReaderProgress } from './features/reader/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 { ZORA_COMPONENT_REGISTRY } from './features/registry/public';\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 { 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 {\n TimePicker,\n type TimePickerProps,\n type TimePickerValue,\n} from './features/time-picker/public';\nexport type { TimelineItem, TimelineProps } 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 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"]}
@@ -0,0 +1,3 @@
1
+ import type { AppBarProps } from './app-bar';
2
+ export type AppHeaderProps = AppBarProps;
3
+ //# sourceMappingURL=app-header.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"app-header.d.ts","sourceRoot":"","sources":["../../src/types/app-header.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAE7C,MAAM,MAAM,cAAc,GAAG,WAAW,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=app-header.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"app-header.js","sourceRoot":"","sources":["../../src/types/app-header.ts"],"names":[],"mappings":"","sourcesContent":["import type { AppBarProps } from './app-bar';\n\nexport type AppHeaderProps = AppBarProps;\n"]}
@@ -14,6 +14,8 @@ export interface ZoraBaseProps {
14
14
  * If omitted, the nearest parent mode is inherited.
15
15
  */
16
16
  mode?: ZoraThemeMode;
17
+ /** Inherits the nearest surface polarity unless explicitly inverted or reset to normal. */
18
+ inverted?: boolean;
17
19
  testID?: string;
18
20
  /**
19
21
  * Controls whether user interaction is enabled or suppressed.
@@ -1 +1 @@
1
- {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../src/types/base.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAE5D,OAAO,KAAK,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAE1D,MAAM,WAAW,aAAa;IAC5B;;;;;;OAMG;IACH,OAAO,CAAC,EAAE,WAAW,CAAC;IAEtB;;;OAGG;IACH,IAAI,CAAC,EAAE,aAAa,CAAC;IAErB,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;;OAGG;IACH,iBAAiB,CAAC,EAAE,iBAAiB,CAAC;CACvC"}
1
+ {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../src/types/base.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAE5D,OAAO,KAAK,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAE1D,MAAM,WAAW,aAAa;IAC5B;;;;;;OAMG;IACH,OAAO,CAAC,EAAE,WAAW,CAAC;IAEtB;;;OAGG;IACH,IAAI,CAAC,EAAE,aAAa,CAAC;IAErB,2FAA2F;IAC3F,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;;OAGG;IACH,iBAAiB,CAAC,EAAE,iBAAiB,CAAC;CACvC"}
@@ -1 +1 @@
1
- {"version":3,"file":"base.js","sourceRoot":"","sources":["../../src/types/base.ts"],"names":[],"mappings":"","sourcesContent":["import type { InteractionPolicy } from '@ankhorage/surface';\n\nimport type { ZoraThemeId, ZoraThemeMode } from './theme';\n\nexport interface ZoraBaseProps {\n /**\n * Overrides the active ZORA theme for this component and its subtree.\n * If omitted, the nearest parent theme is inherited.\n *\n * Plan 2: theme registries are not available yet. Only the inherited theme id\n * is valid; unknown ids throw in dev/test and warn+fallback in production.\n */\n themeId?: ZoraThemeId;\n\n /**\n * Overrides the light/dark mode for this component and its subtree.\n * If omitted, the nearest parent mode is inherited.\n */\n mode?: ZoraThemeMode;\n\n testID?: string;\n\n /**\n * Controls whether user interaction is enabled or suppressed.\n * When omitted, the component behaves as enabled.\n */\n interactionPolicy?: InteractionPolicy;\n}\n"]}
1
+ {"version":3,"file":"base.js","sourceRoot":"","sources":["../../src/types/base.ts"],"names":[],"mappings":"","sourcesContent":["import type { InteractionPolicy } from '@ankhorage/surface';\n\nimport type { ZoraThemeId, ZoraThemeMode } from './theme';\n\nexport interface ZoraBaseProps {\n /**\n * Overrides the active ZORA theme for this component and its subtree.\n * If omitted, the nearest parent theme is inherited.\n *\n * Plan 2: theme registries are not available yet. Only the inherited theme id\n * is valid; unknown ids throw in dev/test and warn+fallback in production.\n */\n themeId?: ZoraThemeId;\n\n /**\n * Overrides the light/dark mode for this component and its subtree.\n * If omitted, the nearest parent mode is inherited.\n */\n mode?: ZoraThemeMode;\n\n /** Inherits the nearest surface polarity unless explicitly inverted or reset to normal. */\n inverted?: boolean;\n\n testID?: string;\n\n /**\n * Controls whether user interaction is enabled or suppressed.\n * When omitted, the component behaves as enabled.\n */\n interactionPolicy?: InteractionPolicy;\n}\n"]}
@@ -1,6 +1,6 @@
1
1
  import type { GameDefinition, GameInput, GameOutput } from '@ankhorage/game';
2
- import type { InteractionPolicyProps } from '@ankhorage/surface';
3
2
  import type React from 'react';
3
+ import type { ZoraBaseProps } from './base';
4
4
  type GameOverlayCornerPlacement = 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right';
5
5
  export type GamePointerEvents = 'auto' | 'box-none' | 'box-only' | 'none';
6
6
  export type GameEntityEasing = 'linear' | 'ease-in' | 'ease-out' | 'ease-in-out';
@@ -21,7 +21,7 @@ export interface GameEntityMotionProps {
21
21
  readonly motionEssential?: boolean;
22
22
  }
23
23
  export type GameOverlayPlacement = 'fill' | 'center' | 'top' | 'bottom' | GameOverlayCornerPlacement;
24
- export interface GameFieldProps extends InteractionPolicyProps {
24
+ export interface GameFieldProps extends ZoraBaseProps {
25
25
  readonly children?: React.ReactNode;
26
26
  readonly aspectRatio?: number;
27
27
  readonly minHeight?: number;
@@ -30,7 +30,7 @@ export interface GameFieldProps extends InteractionPolicyProps {
30
30
  readonly accessibilityLabel?: string;
31
31
  readonly testID?: string;
32
32
  }
33
- export interface GameEntityProps extends GameEntityMotionProps, InteractionPolicyProps {
33
+ export interface GameEntityProps extends GameEntityMotionProps, ZoraBaseProps {
34
34
  readonly children?: React.ReactNode;
35
35
  readonly x?: number;
36
36
  readonly y?: number;
@@ -52,7 +52,7 @@ export interface GameKeyboardBinding {
52
52
  readonly entityId?: string;
53
53
  readonly preventDefault?: boolean;
54
54
  }
55
- export interface GameInputZoneProps extends InteractionPolicyProps {
55
+ export interface GameInputZoneProps extends ZoraBaseProps {
56
56
  readonly eventType: string;
57
57
  readonly entityId?: string;
58
58
  readonly x?: number;
@@ -66,7 +66,7 @@ export interface GameInputZoneProps extends InteractionPolicyProps {
66
66
  readonly accessibilityLabel?: string;
67
67
  readonly testID?: string;
68
68
  }
69
- export interface GameMeasurementProbeProps extends InteractionPolicyProps {
69
+ export interface GameMeasurementProbeProps extends ZoraBaseProps {
70
70
  readonly sourceId: string;
71
71
  readonly targetId: string;
72
72
  readonly eventType?: string;
@@ -74,7 +74,7 @@ export interface GameMeasurementProbeProps extends InteractionPolicyProps {
74
74
  readonly delayMs?: number;
75
75
  readonly enabled?: boolean;
76
76
  }
77
- export interface GameOverlayProps extends InteractionPolicyProps {
77
+ export interface GameOverlayProps extends ZoraBaseProps {
78
78
  readonly children?: React.ReactNode;
79
79
  readonly placement?: GameOverlayPlacement;
80
80
  readonly blocking?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"gamePresentation.d.ts","sourceRoot":"","sources":["../../src/types/gamePresentation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7E,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AACjE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,KAAK,0BAA0B,GAAG,UAAU,GAAG,WAAW,GAAG,aAAa,GAAG,cAAc,CAAC;AAE5F,MAAM,MAAM,iBAAiB,GAAG,MAAM,GAAG,UAAU,GAAG,UAAU,GAAG,MAAM,CAAC;AAC1E,MAAM,MAAM,gBAAgB,GAAG,QAAQ,GAAG,SAAS,GAAG,UAAU,GAAG,aAAa,CAAC;AAEjF,MAAM,WAAW,qBAAqB;IACpC,QAAQ,CAAC,oBAAoB,CAAC,EAAE,MAAM,CAAC;IACvC,QAAQ,CAAC,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;IAC7C,QAAQ,CAAC,aAAa,CAAC,EAAE,MAAM,CAAC;IAChC,QAAQ,CAAC,aAAa,CAAC,EAAE,MAAM,CAAC;IAChC,QAAQ,CAAC,kBAAkB,CAAC,EAAE,MAAM,CAAC;IACrC,QAAQ,CAAC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IACnC,QAAQ,CAAC,mBAAmB,CAAC,EAAE,MAAM,CAAC;IACtC,QAAQ,CAAC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IACnC,QAAQ,CAAC,aAAa,CAAC,EAAE,MAA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AS,CAAC,EAAE,oBAAoB,CAAC;IAC1C,QAAQ,CAAC,QAAQ,CAAC,EAAE,OAAO,CAAC;IAC5B,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,kBAAkB,CAAC,EAAE,MAAM,CAAC;IACrC,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED,MAAM,WAAW,SAAU,SAAQ,cAAc;IAC/C,QAAQ,CAAC,UAAU,EAAE,cAAc,CAAC;IACpC,QAAQ,CAAC,KAAK,CAAC,EAAE,SAAS,CAAC;IAC3B,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,eAAe,CAAC,EAAE,OAAO,CAAC;IACnC,QAAQ,CAAC,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,UAAU,KAAK,IAAI,CAAC;CAClD"}
@@ -1 +1 @@
1
- {"version":3,"file":"gamePresentation.js","sourceRoot":"","sources":["../../src/types/gamePresentation.ts"],"names":[],"mappings":"","sourcesContent":["import type { GameDefinition, GameInput, GameOutput } from '@ankhorage/game';\nimport type { InteractionPolicyProps } from '@ankhorage/surface';\nimport type React from 'react';\n\ntype GameOverlayCornerPlacement = 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right';\n\nexport type GamePointerEvents = 'auto' | 'box-none' | 'box-only' | 'none';\nexport type GameEntityEasing = 'linear' | 'ease-in' | 'ease-out' | 'ease-in-out';\n\nexport interface GameEntityMotionProps {\n readonly transitionDurationMs?: number;\n readonly transitionEasing?: GameEntityEasing;\n readonly motionOffsetX?: number;\n readonly motionOffsetY?: number;\n readonly motionOpacityDelta?: number;\n readonly motionScaleDelta?: number;\n readonly motionRotationDelta?: number;\n readonly motionDurationMs?: number;\n readonly motionDelayMs?: number;\n readonly motionEasing?: GameEntityEasing;\n readonly motionRepeat?: boolean;\n readonly motionAlternate?: boolean;\n readonly motionPaused?: boolean;\n readonly motionEssential?: boolean;\n}\nexport type GameOverlayPlacement =\n 'fill' | 'center' | 'top' | 'bottom' | GameOverlayCornerPlacement;\n\nexport interface GameFieldProps extends InteractionPolicyProps {\n readonly children?: React.ReactNode;\n readonly aspectRatio?: number;\n readonly minHeight?: number;\n readonly fill?: boolean;\n readonly clip?: boolean;\n readonly accessibilityLabel?: string;\n readonly testID?: string;\n}\n\nexport interface GameEntityProps extends GameEntityMotionProps, InteractionPolicyProps {\n readonly children?: React.ReactNode;\n readonly x?: number;\n readonly y?: number;\n readonly width?: number;\n readonly height?: number;\n readonly opacity?: number;\n readonly scale?: number;\n readonly rotation?: number;\n readonly zIndex?: number;\n readonly hidden?: boolean;\n readonly pointerEvents?: GamePointerEvents;\n readonly measurementId?: string;\n readonly accessibilityLabel?: string;\n readonly testID?: string;\n}\n\nexport interface GameKeyboardBinding {\n readonly key: string;\n readonly eventType?: string;\n readonly entityId?: string;\n readonly preventDefault?: boolean;\n}\n\nexport interface GameInputZoneProps extends InteractionPolicyProps {\n readonly eventType: string;\n readonly entityId?: string;\n readonly x?: number;\n readonly y?: number;\n readonly width?: number;\n readonly height?: number;\n readonly zIndex?: number;\n readonly enabled?: boolean;\n readonly continuous?: boolean;\n readonly keyboardBindings?: readonly GameKeyboardBinding[];\n readonly accessibilityLabel?: string;\n readonly testID?: string;\n}\n\nexport interface GameMeasurementProbeProps extends InteractionPolicyProps {\n readonly sourceId: string;\n readonly targetId: string;\n readonly eventType?: string;\n readonly entityId?: string;\n readonly delayMs?: number;\n readonly enabled?: boolean;\n}\n\nexport interface GameOverlayProps extends InteractionPolicyProps {\n readonly children?: React.ReactNode;\n readonly placement?: GameOverlayPlacement;\n readonly blocking?: boolean;\n readonly padding?: number;\n readonly accessibilityLabel?: string;\n readonly testID?: string;\n}\n\nexport interface GameProps extends GameFieldProps {\n readonly definition: GameDefinition;\n readonly input?: GameInput;\n readonly seed?: number;\n readonly resetKey?: string;\n readonly autoAdvanceTime?: boolean;\n readonly onOutput?: (output: GameOutput) => void;\n}\n"]}
1
+ {"version":3,"file":"gamePresentation.js","sourceRoot":"","sources":["../../src/types/gamePresentation.ts"],"names":[],"mappings":"","sourcesContent":["import type { GameDefinition, GameInput, GameOutput } from '@ankhorage/game';\nimport type React from 'react';\n\nimport type { ZoraBaseProps } from './base';\n\ntype GameOverlayCornerPlacement = 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right';\n\nexport type GamePointerEvents = 'auto' | 'box-none' | 'box-only' | 'none';\nexport type GameEntityEasing = 'linear' | 'ease-in' | 'ease-out' | 'ease-in-out';\n\nexport interface GameEntityMotionProps {\n readonly transitionDurationMs?: number;\n readonly transitionEasing?: GameEntityEasing;\n readonly motionOffsetX?: number;\n readonly motionOffsetY?: number;\n readonly motionOpacityDelta?: number;\n readonly motionScaleDelta?: number;\n readonly motionRotationDelta?: number;\n readonly motionDurationMs?: number;\n readonly motionDelayMs?: number;\n readonly motionEasing?: GameEntityEasing;\n readonly motionRepeat?: boolean;\n readonly motionAlternate?: boolean;\n readonly motionPaused?: boolean;\n readonly motionEssential?: boolean;\n}\nexport type GameOverlayPlacement =\n 'fill' | 'center' | 'top' | 'bottom' | GameOverlayCornerPlacement;\n\nexport interface GameFieldProps extends ZoraBaseProps {\n readonly children?: React.ReactNode;\n readonly aspectRatio?: number;\n readonly minHeight?: number;\n readonly fill?: boolean;\n readonly clip?: boolean;\n readonly accessibilityLabel?: string;\n readonly testID?: string;\n}\n\nexport interface GameEntityProps extends GameEntityMotionProps, ZoraBaseProps {\n readonly children?: React.ReactNode;\n readonly x?: number;\n readonly y?: number;\n readonly width?: number;\n readonly height?: number;\n readonly opacity?: number;\n readonly scale?: number;\n readonly rotation?: number;\n readonly zIndex?: number;\n readonly hidden?: boolean;\n readonly pointerEvents?: GamePointerEvents;\n readonly measurementId?: string;\n readonly accessibilityLabel?: string;\n readonly testID?: string;\n}\n\nexport interface GameKeyboardBinding {\n readonly key: string;\n readonly eventType?: string;\n readonly entityId?: string;\n readonly preventDefault?: boolean;\n}\n\nexport interface GameInputZoneProps extends ZoraBaseProps {\n readonly eventType: string;\n readonly entityId?: string;\n readonly x?: number;\n readonly y?: number;\n readonly width?: number;\n readonly height?: number;\n readonly zIndex?: number;\n readonly enabled?: boolean;\n readonly continuous?: boolean;\n readonly keyboardBindings?: readonly GameKeyboardBinding[];\n readonly accessibilityLabel?: string;\n readonly testID?: string;\n}\n\nexport interface GameMeasurementProbeProps extends ZoraBaseProps {\n readonly sourceId: string;\n readonly targetId: string;\n readonly eventType?: string;\n readonly entityId?: string;\n readonly delayMs?: number;\n readonly enabled?: boolean;\n}\n\nexport interface GameOverlayProps extends ZoraBaseProps {\n readonly children?: React.ReactNode;\n readonly placement?: GameOverlayPlacement;\n readonly blocking?: boolean;\n readonly padding?: number;\n readonly accessibilityLabel?: string;\n readonly testID?: string;\n}\n\nexport interface GameProps extends GameFieldProps {\n readonly definition: GameDefinition;\n readonly input?: GameInput;\n readonly seed?: number;\n readonly resetKey?: string;\n readonly autoAdvanceTime?: boolean;\n readonly onOutput?: (output: GameOutput) => void;\n}\n"]}
@@ -1,6 +1,7 @@
1
1
  import type { InteractionPolicy } from '@ankhorage/surface';
2
2
  import type { SelectionIntent } from '@ankhorage/utility/selection';
3
3
  import type React from 'react';
4
+ import type { ZoraBaseProps } from './base';
4
5
  export type SelectionMode = 'single' | 'multi';
5
6
  export type SelectionTrigger = 'press' | 'longPress' | 'manual';
6
7
  export interface SelectionProviderProps {
@@ -34,7 +35,7 @@ export interface SelectableItemState {
34
35
  toggle: () => void;
35
36
  clear: () => void;
36
37
  }
37
- export interface SelectableItemProps {
38
+ export interface SelectableItemProps extends ZoraBaseProps {
38
39
  id: string;
39
40
  trigger?: SelectionTrigger;
40
41
  disabled?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"selection.d.ts","sourceRoot":"","sources":["../../src/types/selection.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,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sourceRoot":"","sources":["../../src/types/selection.ts"],"names":[],"mappings":"","sourcesContent":["import type { InteractionPolicy } from '@ankhorage/surface';\nimport type { SelectionIntent } from '@ankhorage/utility/selection';\nimport type React from 'react';\n\nexport type SelectionMode = 'single' | 'multi';\n\nexport type SelectionTrigger = 'press' | 'longPress' | 'manual';\n\nexport interface SelectionProviderProps {\n children: React.ReactNode;\n selectedIds?: readonly string[];\n defaultSelectedIds?: readonly string[];\n mode?: SelectionMode;\n disabled?: boolean;\n onSelectionChange?: (ids: readonly string[]) => void;\n interactionPolicy?: InteractionPolicy;\n}\n\nexport interface UseSelectionResult {\n mode: SelectionMode;\n disabled: boolean;\n selectedIds: readonly string[];\n selectedCount: number;\n hasSelection: boolean;\n isSelected: (id: string) => boolean;\n activate: (id: string, intent: SelectionIntent) => void;\n select: (id: string) => void;\n toggle: (id: string) => void;\n clear: () => void;\n}\n\nexport interface SelectableItemState {\n id: string;\n selected: boolean;\n disabled: boolean;\n mode: SelectionMode;\n activate: (intent: SelectionIntent) => void;\n select: () => void;\n toggle: () => void;\n clear: () => void;\n}\n\nexport interface SelectableItemProps {\n id: string;\n trigger?: SelectionTrigger;\n disabled?: boolean;\n interactionPolicy?: InteractionPolicy;\n children: React.ReactNode | ((state: SelectableItemState) => React.ReactNode);\n}\n"]}
1
+ {"version":3,"file":"selection.js","sourceRoot":"","sources":["../../src/types/selection.ts"],"names":[],"mappings":"","sourcesContent":["import type { InteractionPolicy } from '@ankhorage/surface';\nimport type { SelectionIntent } from '@ankhorage/utility/selection';\nimport type React from 'react';\n\nimport type { ZoraBaseProps } from './base';\n\nexport type SelectionMode = 'single' | 'multi';\n\nexport type SelectionTrigger = 'press' | 'longPress' | 'manual';\n\nexport interface SelectionProviderProps {\n children: React.ReactNode;\n selectedIds?: readonly string[];\n defaultSelectedIds?: readonly string[];\n mode?: SelectionMode;\n disabled?: boolean;\n onSelectionChange?: (ids: readonly string[]) => void;\n interactionPolicy?: InteractionPolicy;\n}\n\nexport interface UseSelectionResult {\n mode: SelectionMode;\n disabled: boolean;\n selectedIds: readonly string[];\n selectedCount: number;\n hasSelection: boolean;\n isSelected: (id: string) => boolean;\n activate: (id: string, intent: SelectionIntent) => void;\n select: (id: string) => void;\n toggle: (id: string) => void;\n clear: () => void;\n}\n\nexport interface SelectableItemState {\n id: string;\n selected: boolean;\n disabled: boolean;\n mode: SelectionMode;\n activate: (intent: SelectionIntent) => void;\n select: () => void;\n toggle: () => void;\n clear: () => void;\n}\n\nexport interface SelectableItemProps extends ZoraBaseProps {\n id: string;\n trigger?: SelectionTrigger;\n disabled?: boolean;\n interactionPolicy?: InteractionPolicy;\n children: React.ReactNode | ((state: SelectableItemState) => React.ReactNode);\n}\n"]}
@@ -1,3 +1,4 @@
1
+ import type { ZoraBaseProps } from './base';
1
2
  import type { IconButtonProps } from './icon-button';
2
- export type ThemeModeToggleProps = Pick<IconButtonProps, 'disabled' | 'interactionPolicy' | 'size' | 'testID'>;
3
+ export type ThemeModeToggleProps = ZoraBaseProps & Pick<IconButtonProps, 'disabled' | 'interactionPolicy' | 'size' | 'testID'>;
3
4
  //# sourceMappingURL=theme-mode-toggle.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"theme-mode-toggle.d.ts","sourceRoot":"","sources":["../../src/types/theme-mode-toggle.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAErD,MAAM,MAAM,oBAAoB,GAAG,IAAI,CACrC,eAAe,EACf,UAAU,GAAG,mBAAmB,GAAG,MAAM,GAAG,QAAQ,CACrD,CAAC"}
1
+ {"version":3,"file":"theme-mode-toggle.d.ts","sourceRoot":"","sources":["../../src/types/theme-mode-toggle.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AAC5C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAErD,MAAM,MAAM,oBAAoB,GAAG,aAAa,GAC9C,IAAI,CAAC,eAAe,EAAE,UAAU,GAAG,mBAAmB,GAAG,MAAM,GAAG,QAAQ,CAAC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"theme-mode-toggle.js","sourceRoot":"","sources":["../../src/types/theme-mode-toggle.ts"],"names":[],"mappings":"","sourcesContent":["import type { IconButtonProps } from './icon-button';\n\nexport type ThemeModeToggleProps = Pick<\n IconButtonProps,\n 'disabled' | 'interactionPolicy' | 'size' | 'testID'\n>;\n"]}
1
+ {"version":3,"file":"theme-mode-toggle.js","sourceRoot":"","sources":["../../src/types/theme-mode-toggle.ts"],"names":[],"mappings":"","sourcesContent":["import type { ZoraBaseProps } from './base';\nimport type { IconButtonProps } from './icon-button';\n\nexport type ThemeModeToggleProps = ZoraBaseProps &\n Pick<IconButtonProps, 'disabled' | 'interactionPolicy' | 'size' | 'testID'>;\n"]}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ankhorage/zora",
3
3
  "type": "module",
4
- "version": "23.2.5",
4
+ "version": "23.4.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": {
@@ -40,15 +40,16 @@
40
40
  "react-native-worklets": "0.10.1"
41
41
  },
42
42
  "dependencies": {
43
+ "@ankhorage/ankh": "^0.12.0",
43
44
  "@ankhorage/color-theory": "^0.3.1",
44
- "@ankhorage/contracts": "^22.8.103",
45
+ "@ankhorage/contracts": "^24.1.0",
45
46
  "@ankhorage/game": "^0.1.2",
46
47
  "@ankhorage/runtime": "^3.0.59",
47
48
  "@ankhorage/surface": "^9.2.0",
48
49
  "@ankhorage/utility": "^1.9.85",
50
+ "chess.js": "^1.4.0",
49
51
  "expo-document-picker": "~57.0.3",
50
- "expo-image-picker": "~57.0.20",
51
- "chess.js": "^1.4.0"
52
+ "expo-image-picker": "~57.0.20"
52
53
  },
53
54
  "files": [
54
55
  "dist",
@@ -88,6 +89,11 @@
88
89
  "import": "./dist/features/registry/index.js",
89
90
  "default": "./dist/features/registry/index.js"
90
91
  },
92
+ "./capabilities": {
93
+ "types": "./dist/capabilities/index.d.ts",
94
+ "import": "./dist/capabilities/index.js",
95
+ "default": "./dist/capabilities/index.js"
96
+ },
91
97
  "./theme": {
92
98
  "bun": "./src/features/theme/public.ts",
93
99
  "react-native": "./src/features/theme/public.ts",
@@ -124,7 +130,7 @@
124
130
  "version-packages": "ankhorage-changeset version"
125
131
  },
126
132
  "devDependencies": {
127
- "@ankhorage/devtools": "^2.1.13",
133
+ "@ankhorage/devtools": "^2.1.19",
128
134
  "@ankhorage/paradox": "^0.2.28",
129
135
  "@react-native-vector-icons/fontawesome": "^13.1.4",
130
136
  "@react-native-vector-icons/fontawesome5": "^13.1.4",
@@ -154,8 +160,98 @@
154
160
  "category": "zora",
155
161
  "provider": "./dist/cli/index.js",
156
162
  "capabilities": [
157
- "zora.create",
158
- "zora.sync"
163
+ {
164
+ "id": "zora.create",
165
+ "owner": "@ankhorage/zora",
166
+ "access": [
167
+ "invoke"
168
+ ],
169
+ "binding": {
170
+ "kind": "action",
171
+ "bindableAs": [
172
+ "target"
173
+ ]
174
+ },
175
+ "label": "Materialize ZORA web component",
176
+ "description": "Materialize a declared ZORA component and reconcile its web runtime.",
177
+ "input": {
178
+ "schema": {
179
+ "type": "object",
180
+ "required": [
181
+ "component",
182
+ "platform"
183
+ ],
184
+ "properties": {
185
+ "component": {
186
+ "type": "string"
187
+ },
188
+ "platform": {
189
+ "type": "string",
190
+ "const": "web"
191
+ }
192
+ },
193
+ "additionalProperties": false
194
+ }
195
+ },
196
+ "output": {
197
+ "schema": {
198
+ "type": "object",
199
+ "required": [
200
+ "exitCode"
201
+ ],
202
+ "properties": {
203
+ "exitCode": {
204
+ "type": "integer"
205
+ }
206
+ },
207
+ "additionalProperties": false
208
+ }
209
+ }
210
+ },
211
+ {
212
+ "id": "zora.sync",
213
+ "owner": "@ankhorage/zora",
214
+ "access": [
215
+ "invoke"
216
+ ],
217
+ "binding": {
218
+ "kind": "action",
219
+ "bindableAs": [
220
+ "target"
221
+ ]
222
+ },
223
+ "label": "Synchronize ZORA web components",
224
+ "description": "Reconcile the web runtime from the declared ZORA component set.",
225
+ "input": {
226
+ "schema": {
227
+ "type": "object",
228
+ "required": [
229
+ "platform"
230
+ ],
231
+ "properties": {
232
+ "platform": {
233
+ "type": "string",
234
+ "const": "web"
235
+ }
236
+ },
237
+ "additionalProperties": false
238
+ }
239
+ },
240
+ "output": {
241
+ "schema": {
242
+ "type": "object",
243
+ "required": [
244
+ "exitCode"
245
+ ],
246
+ "properties": {
247
+ "exitCode": {
248
+ "type": "integer"
249
+ }
250
+ },
251
+ "additionalProperties": false
252
+ }
253
+ }
254
+ }
159
255
  ]
160
256
  }
161
257
  }
@@ -0,0 +1,50 @@
1
+ import { readFileSync } from 'node:fs';
2
+
3
+ import { isCapability } from '@ankhorage/contracts/capabilities';
4
+ import { expect, test } from 'bun:test';
5
+
6
+ import { CAPABILITIES } from './index';
7
+
8
+ const packageCapabilities = (
9
+ JSON.parse(readFileSync(new URL('../../package.json', import.meta.url), 'utf8')) as {
10
+ readonly ankh?: { readonly capabilities?: unknown };
11
+ }
12
+ ).ankh?.capabilities;
13
+
14
+ test('publishes valid, uniquely identified canonical ZORA capabilities', () => {
15
+ expect(CAPABILITIES).toHaveLength(2);
16
+ expect(CAPABILITIES.every(isCapability)).toBe(true);
17
+ expect(new Set(CAPABILITIES.map((capability) => capability.id)).size).toBe(CAPABILITIES.length);
18
+ });
19
+
20
+ test('keeps Ankh package metadata identical to the canonical catalog', () => {
21
+ expect(Array.isArray(packageCapabilities)).toBe(true);
22
+ if (!Array.isArray(packageCapabilities)) {
23
+ throw new Error('Expected package capability descriptors.');
24
+ }
25
+ expect(packageCapabilities.every(isCapability)).toBe(true);
26
+ expect(packageCapabilities).toEqual(CAPABILITIES);
27
+ });
28
+
29
+ test('exports the catalog from the public capabilities subpath', async () => {
30
+ const capabilities = await import('@ankhorage/zora/capabilities');
31
+
32
+ expect(capabilities.CAPABILITIES).toEqual(CAPABILITIES);
33
+ });
34
+
35
+ test('preserves the executable action semantics of ZORA provider capabilities', () => {
36
+ expect(CAPABILITIES).toEqual([
37
+ expect.objectContaining({
38
+ id: 'zora.create',
39
+ owner: '@ankhorage/zora',
40
+ access: ['invoke'],
41
+ binding: { kind: 'action', bindableAs: ['target'] },
42
+ }),
43
+ expect.objectContaining({
44
+ id: 'zora.sync',
45
+ owner: '@ankhorage/zora',
46
+ access: ['invoke'],
47
+ binding: { kind: 'action', bindableAs: ['target'] },
48
+ }),
49
+ ]);
50
+ });