@ankhorage/zora 27.8.0 → 27.10.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 (287) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/README.md +1 -1
  3. package/dist/capabilities/index.js +65 -1
  4. package/dist/capabilities/index.js.map +7 -6
  5. package/dist/constants/authoring.d.ts +4 -3
  6. package/dist/constants/authoring.d.ts.map +1 -1
  7. package/dist/constants/authoring.js +2 -0
  8. package/dist/constants/authoring.js.map +1 -1
  9. package/dist/features/accordion/accordionItemMeta.d.ts +1 -1
  10. package/dist/features/bottom-sheet/bottomSheetMeta.d.ts +1 -1
  11. package/dist/features/card/cardMeta.d.ts +1 -1
  12. package/dist/features/card/mediaCardMeta.d.ts +1 -1
  13. package/dist/features/card/postCardMeta.d.ts +1 -1
  14. package/dist/features/chat/messageBubbleMeta.d.ts +1 -1
  15. package/dist/features/dialog/dialogMeta.d.ts +2 -2
  16. package/dist/features/form/select/composition/SelectTrigger.d.ts.map +1 -1
  17. package/dist/features/form/select/composition/SelectTrigger.js +1 -1
  18. package/dist/features/form/select/composition/SelectTrigger.js.map +1 -1
  19. package/dist/features/form/select/selectMeta.d.ts +19 -0
  20. package/dist/features/form/select/selectMeta.d.ts.map +1 -1
  21. package/dist/features/form/select/selectMeta.js +15 -0
  22. package/dist/features/form/select/selectMeta.js.map +1 -1
  23. package/dist/features/gradient/gradientMeta.d.ts +1 -1
  24. package/dist/features/keyboard-avoiding-view/keyboardAvoidingViewMeta.d.ts +1 -1
  25. package/dist/features/layout/adapters/inbound/Screen.d.ts.map +1 -1
  26. package/dist/features/layout/adapters/inbound/Screen.js +1 -1
  27. package/dist/features/layout/adapters/inbound/Screen.js.map +1 -1
  28. package/dist/features/layout/gridMeta.d.ts +1 -1
  29. package/dist/features/layout/screenMeta.d.ts +1 -1
  30. package/dist/features/layout/scrollViewMeta.d.ts +1 -1
  31. package/dist/features/layout/viewMeta.d.ts +1 -1
  32. package/dist/features/list/flatListMeta.d.ts +1 -1
  33. package/dist/features/list/sectionListMeta.d.ts +1 -1
  34. package/dist/features/master-detail/adapters/inbound/MasterDetail.d.ts +5 -0
  35. package/dist/features/master-detail/adapters/inbound/MasterDetail.d.ts.map +1 -0
  36. package/dist/features/master-detail/adapters/inbound/MasterDetail.js +39 -0
  37. package/dist/features/master-detail/adapters/inbound/MasterDetail.js.map +1 -0
  38. package/dist/features/master-detail/application/resolveMasterDetailPresentation.d.ts +6 -0
  39. package/dist/features/master-detail/application/resolveMasterDetailPresentation.d.ts.map +1 -0
  40. package/dist/features/master-detail/application/resolveMasterDetailPresentation.js +7 -0
  41. package/dist/features/master-detail/application/resolveMasterDetailPresentation.js.map +1 -0
  42. package/dist/features/master-detail/masterDetailMeta.d.ts +52 -0
  43. package/dist/features/master-detail/masterDetailMeta.d.ts.map +1 -0
  44. package/dist/features/master-detail/masterDetailMeta.js +47 -0
  45. package/dist/features/master-detail/masterDetailMeta.js.map +1 -0
  46. package/dist/features/master-detail/public.d.ts +3 -0
  47. package/dist/features/master-detail/public.d.ts.map +1 -0
  48. package/dist/features/master-detail/public.js +2 -0
  49. package/dist/features/master-detail/public.js.map +1 -0
  50. package/dist/features/reader/meta.d.ts +2 -2
  51. package/dist/features/registry/ZORA_BASE_COMPONENT_REGISTRY.d.ts.map +1 -1
  52. package/dist/features/registry/ZORA_BASE_COMPONENT_REGISTRY.js +2 -0
  53. package/dist/features/registry/ZORA_BASE_COMPONENT_REGISTRY.js.map +1 -1
  54. package/dist/features/registry/bindableComponentMeta.d.ts +2 -2
  55. package/dist/features/registry/componentMeta.d.ts.map +1 -1
  56. package/dist/features/registry/componentMeta.js +2 -0
  57. package/dist/features/registry/componentMeta.js.map +1 -1
  58. package/dist/features/scanner/meta.d.ts +2 -2
  59. package/dist/features/section/screenSectionMeta.d.ts +1 -1
  60. package/dist/features/surface/surfaceMeta.d.ts +1 -1
  61. package/dist/features/tabs/tabPanelMeta.d.ts +1 -1
  62. package/dist/features/theme/application/use-cases/compileZoraTheme.d.ts +1 -1
  63. package/dist/features/theme/application/use-cases/compileZoraTheme.d.ts.map +1 -1
  64. package/dist/features/theme/application/use-cases/compileZoraTheme.js.map +1 -1
  65. package/dist/features/theme/application/use-cases/createZoraThemeConfig.d.ts +1 -1
  66. package/dist/features/theme/application/use-cases/createZoraThemeConfig.d.ts.map +1 -1
  67. package/dist/features/theme/application/use-cases/createZoraThemeConfig.js +1 -1
  68. package/dist/features/theme/application/use-cases/createZoraThemeConfig.js.map +1 -1
  69. package/dist/features/theme/public.d.ts +4 -4
  70. package/dist/features/theme/public.d.ts.map +1 -1
  71. package/dist/features/theme/public.js +3 -3
  72. package/dist/features/theme/public.js.map +1 -1
  73. package/dist/features/theme/zoraDefaultTheme.d.ts +1 -1
  74. package/dist/features/theme/zoraDefaultTheme.d.ts.map +1 -1
  75. package/dist/features/theme/zoraDefaultTheme.js.map +1 -1
  76. package/dist/index.d.ts +2 -0
  77. package/dist/index.d.ts.map +1 -1
  78. package/dist/index.js +1 -0
  79. package/dist/index.js.map +1 -1
  80. package/dist/readerFree.d.ts +2 -0
  81. package/dist/readerFree.d.ts.map +1 -1
  82. package/dist/readerFree.js +1 -0
  83. package/dist/readerFree.js.map +1 -1
  84. package/dist/types/master-detail.d.ts +21 -0
  85. package/dist/types/master-detail.d.ts.map +1 -0
  86. package/dist/types/master-detail.js +2 -0
  87. package/dist/types/master-detail.js.map +1 -0
  88. package/dist/types/select.d.ts +5 -0
  89. package/dist/types/select.d.ts.map +1 -1
  90. package/dist/types/select.js.map +1 -1
  91. package/package.json +19 -5
  92. package/src/constants/authoring.ts +2 -0
  93. package/src/features/form/select/composition/SelectTrigger.tsx +2 -0
  94. package/src/features/form/select/public.test.ts +54 -0
  95. package/src/features/form/select/selectMeta.ts +15 -0
  96. package/src/features/layout/adapters/inbound/Screen.tsx +3 -0
  97. package/src/features/master-detail/adapters/inbound/MasterDetail.runtime.test.tsx +121 -0
  98. package/src/features/master-detail/adapters/inbound/MasterDetail.tsx +75 -0
  99. package/src/features/master-detail/application/resolveMasterDetailPresentation.test.ts +18 -0
  100. package/src/features/master-detail/application/resolveMasterDetailPresentation.ts +15 -0
  101. package/src/features/master-detail/masterDetailMeta.ts +49 -0
  102. package/src/features/master-detail/public.ts +7 -0
  103. package/src/features/registry/ZORA_BASE_COMPONENT_REGISTRY.ts +2 -0
  104. package/src/features/registry/componentMeta.test.ts +16 -0
  105. package/src/features/registry/componentMeta.ts +2 -0
  106. package/src/features/registry/featureManifest.test.ts +2 -0
  107. package/src/features/theme/application/use-cases/compileZoraTheme.ts +1 -1
  108. package/src/features/theme/application/use-cases/createZoraThemeConfig.ts +2 -2
  109. package/src/features/theme/public.ts +4 -4
  110. package/src/features/theme/themeModuleResolution.test.ts +26 -21
  111. package/src/features/theme/zoraDefaultTheme.ts +1 -1
  112. package/src/index.ts +7 -0
  113. package/src/readerFree.ts +7 -0
  114. package/src/types/master-detail.ts +25 -0
  115. package/src/types/select.ts +6 -0
  116. package/web-dist/chunks/{Accordion-3dk0s8hz.js → Accordion-0bgzetnd.js} +4 -4
  117. package/web-dist/chunks/{Accordion-h4928ex8.js → Accordion-0jkpvxwd.js} +1 -1
  118. package/web-dist/chunks/{Accordion-54417vp7.js → Accordion-0pbcs0xf.js} +3 -3
  119. package/web-dist/chunks/{Accordion-396cm5m0.js → Accordion-1andv7gg.js} +5 -5
  120. package/web-dist/chunks/{Accordion-rxc2p9md.js → Accordion-1mjn0atk.js} +1 -1
  121. package/web-dist/chunks/{Accordion-psxc0zjs.js → Accordion-27rxpbvf.js} +3 -3
  122. package/web-dist/chunks/{Accordion-waxb6x73.js → Accordion-3s7zeagv.js} +18 -2
  123. package/web-dist/chunks/{Accordion-ytvjnaz3.js → Accordion-45tbe5v0.js} +5 -5
  124. package/web-dist/chunks/{Accordion-c1btejmf.js → Accordion-6qesggn9.js} +1 -1
  125. package/web-dist/chunks/{Accordion-jqjnzjmt.js → Accordion-7e0mb55z.js} +4 -4
  126. package/web-dist/chunks/{Accordion-q3wk945k.js → Accordion-8rkwd0wx.js} +3 -1
  127. package/web-dist/chunks/{Accordion-6tfr02mw.js → Accordion-8vw4k0s6.js} +1 -1
  128. package/web-dist/chunks/{Accordion-xjxam647.js → Accordion-8wq38d9b.js} +2 -2
  129. package/web-dist/chunks/{Accordion-fcpadcrg.js → Accordion-91v243pz.js} +1 -1
  130. package/web-dist/chunks/{Accordion-dr8k9txz.js → Accordion-9kkfz7s8.js} +2 -2
  131. package/web-dist/chunks/{Accordion-wdby2v5r.js → Accordion-b991pn6e.js} +5 -1
  132. package/web-dist/chunks/{Accordion-xkewtxac.js → Accordion-ctcxh9pk.js} +2 -2
  133. package/web-dist/chunks/{Accordion-1ty4zrzd.js → Accordion-dnfrzbpb.js} +4 -4
  134. package/web-dist/chunks/{Accordion-rbtgfrn4.js → Accordion-f6k281sv.js} +5 -5
  135. package/web-dist/chunks/{Accordion-7j05jjqn.js → Accordion-fjnb7anx.js} +5 -5
  136. package/web-dist/chunks/{Accordion-qjp8bp5y.js → Accordion-ga82tcs9.js} +5 -5
  137. package/web-dist/chunks/{Accordion-wswm0zxe.js → Accordion-grtf75xt.js} +3 -3
  138. package/web-dist/chunks/{Accordion-kn52vs02.js → Accordion-hha54x4c.js} +3 -3
  139. package/web-dist/chunks/{Accordion-ephzqa3t.js → Accordion-hrxdchkq.js} +3 -3
  140. package/web-dist/chunks/{Accordion-vayww2ec.js → Accordion-jr0201qc.js} +9 -9
  141. package/web-dist/chunks/{Accordion-7tg3cabd.js → Accordion-jsapannb.js} +1 -1
  142. package/web-dist/chunks/{Accordion-rqh7264g.js → Accordion-m7jt3c87.js} +2 -2
  143. package/web-dist/chunks/{Accordion-yrs9sd97.js → Accordion-mxad79vq.js} +13 -7
  144. package/web-dist/chunks/{Accordion-y7z4v31b.js → Accordion-nbje2ywp.js} +2 -2
  145. package/web-dist/chunks/{Accordion-scvx38z0.js → Accordion-pkbvsn5y.js} +4 -4
  146. package/web-dist/chunks/{Accordion-jj6sg99e.js → Accordion-q6xnm1k4.js} +7 -7
  147. package/web-dist/chunks/{Accordion-291hyjee.js → Accordion-r6mc7qtj.js} +3 -3
  148. package/web-dist/chunks/{Accordion-zmee9h36.js → Accordion-rt4jfq2r.js} +1 -1
  149. package/web-dist/chunks/{Accordion-e8r2qt0n.js → Accordion-th8pkeqc.js} +2 -2
  150. package/web-dist/chunks/{Accordion-67a2a09x.js → Accordion-tnq8bt8v.js} +1 -1
  151. package/web-dist/chunks/{Accordion-n8dksapd.js → Accordion-ttjyk97v.js} +1 -1
  152. package/web-dist/chunks/{Accordion-gwq0xkp9.js → Accordion-v21vz0cg.js} +5 -2
  153. package/web-dist/chunks/{Accordion-gaevp89v.js → Accordion-vdqc8rxv.js} +3 -3
  154. package/web-dist/chunks/{Accordion-qyf0e72g.js → Accordion-w1ag7sr4.js} +1 -1
  155. package/web-dist/chunks/{Accordion-dmkygw9c.js → Accordion-w9vbdg9r.js} +5 -5
  156. package/web-dist/chunks/{Accordion-zj4wnm3e.js → Accordion-wgc67k1g.js} +1 -1
  157. package/web-dist/chunks/{Accordion-zx1qd2tf.js → Accordion-x3em7tpd.js} +5 -5
  158. package/web-dist/chunks/{Accordion-kmbw4fe7.js → Accordion-xb2nj0q6.js} +1 -1
  159. package/web-dist/chunks/{Accordion-db40jsp6.js → Accordion-xp2t3pkj.js} +3 -3
  160. package/web-dist/chunks/{Accordion-1j50tne9.js → Accordion-ztcmb44y.js} +7 -4
  161. package/web-dist/components/accordion/Accordion.js +7 -7
  162. package/web-dist/components/accordion-item/AccordionItem.js +7 -7
  163. package/web-dist/components/app-bar/AppBar.js +13 -13
  164. package/web-dist/components/app-header/AppHeader.js +13 -13
  165. package/web-dist/components/app-shell/AppShell.js +3 -3
  166. package/web-dist/components/auth-screen/AuthScreen.js +15 -15
  167. package/web-dist/components/avatar/Avatar.js +7 -7
  168. package/web-dist/components/avatar-group/AvatarGroup.js +7 -7
  169. package/web-dist/components/badge/Badge.js +3 -3
  170. package/web-dist/components/barcode-scanner-view/BarcodeScannerView.js +15 -15
  171. package/web-dist/components/bottom-sheet/BottomSheet.js +4 -4
  172. package/web-dist/components/bottom-sheet-flat-list/BottomSheetFlatList.js +4 -4
  173. package/web-dist/components/bottom-sheet-scroll-view/BottomSheetScrollView.js +4 -4
  174. package/web-dist/components/bottom-sheet-section-list/BottomSheetSectionList.js +4 -4
  175. package/web-dist/components/bottom-sheet-view/BottomSheetView.js +4 -4
  176. package/web-dist/components/bottom-sheet-virtualized-list/BottomSheetVirtualizedList.js +4 -4
  177. package/web-dist/components/breadcrumbs/Breadcrumbs.js +9 -9
  178. package/web-dist/components/button/Button.js +7 -7
  179. package/web-dist/components/button-group/ButtonGroup.js +7 -7
  180. package/web-dist/components/calendar/Calendar.js +9 -9
  181. package/web-dist/components/camera-permission-view/CameraPermissionView.js +15 -15
  182. package/web-dist/components/card/Card.js +14 -14
  183. package/web-dist/components/chat-list-item/ChatListItem.js +10 -10
  184. package/web-dist/components/checkbox/Checkbox.js +6 -6
  185. package/web-dist/components/checkbox-group/CheckboxGroup.js +6 -6
  186. package/web-dist/components/chip/Chip.js +8 -8
  187. package/web-dist/components/chip-group/ChipGroup.js +8 -8
  188. package/web-dist/components/collection-editor/CollectionEditor.js +14 -14
  189. package/web-dist/components/color-hue-scale/ColorHueScale.js +9 -9
  190. package/web-dist/components/color-picker/ColorPicker.js +9 -9
  191. package/web-dist/components/color-tone/ColorTone.js +9 -9
  192. package/web-dist/components/color-wheel/ColorWheel.js +9 -9
  193. package/web-dist/components/content-rail/ContentRail.js +8 -8
  194. package/web-dist/components/data-table/DataTable.js +21 -21
  195. package/web-dist/components/date-picker/DatePicker.js +14 -14
  196. package/web-dist/components/dialog/Dialog.js +6 -6
  197. package/web-dist/components/divider/Divider.js +3 -3
  198. package/web-dist/components/empty-state/EmptyState.js +15 -15
  199. package/web-dist/components/explorer/Explorer.js +8 -8
  200. package/web-dist/components/field/Field.js +6 -6
  201. package/web-dist/components/file-explorer/FileExplorer.js +8 -8
  202. package/web-dist/components/flat-list/FlatList.js +7 -7
  203. package/web-dist/components/forgot-password-form/ForgotPasswordForm.js +15 -15
  204. package/web-dist/components/form/Form.js +11 -11
  205. package/web-dist/components/form-actions/FormActions.js +11 -11
  206. package/web-dist/components/form-error/FormError.js +11 -11
  207. package/web-dist/components/game/Game.js +4 -4
  208. package/web-dist/components/game-entity/GameEntity.js +4 -4
  209. package/web-dist/components/game-field/GameField.js +4 -4
  210. package/web-dist/components/game-input-zone/GameInputZone.js +4 -4
  211. package/web-dist/components/game-measurement-probe/GameMeasurementProbe.js +4 -4
  212. package/web-dist/components/game-overlay/GameOverlay.js +4 -4
  213. package/web-dist/components/gradient/Gradient.js +4 -4
  214. package/web-dist/components/gradient-renderer-provider/GradientRendererProvider.js +4 -4
  215. package/web-dist/components/grid/Grid.js +3 -3
  216. package/web-dist/components/heading/Heading.js +2 -2
  217. package/web-dist/components/hero/Hero.js +14 -14
  218. package/web-dist/components/icon/Icon.js +2 -2
  219. package/web-dist/components/icon-button/IconButton.js +7 -7
  220. package/web-dist/components/image/Image.js +6 -6
  221. package/web-dist/components/list/List.js +7 -7
  222. package/web-dist/components/list-item/ListItem.js +7 -7
  223. package/web-dist/components/list-section/ListSection.js +7 -7
  224. package/web-dist/components/master-detail/MasterDetail.d.ts +7 -0
  225. package/web-dist/components/master-detail/MasterDetail.dependency-0.d.ts +27 -0
  226. package/web-dist/components/master-detail/MasterDetail.dependency-1.d.ts +3 -0
  227. package/web-dist/components/master-detail/MasterDetail.js +110 -0
  228. package/web-dist/components/master-detail/MasterDetail.types-0.d.ts +25 -0
  229. package/web-dist/components/master-detail/index.d.ts +2 -0
  230. package/web-dist/components/master-detail/index.js +2 -0
  231. package/web-dist/components/matrix-grid/MatrixGrid.js +1 -1
  232. package/web-dist/components/media-card/MediaCard.js +14 -14
  233. package/web-dist/components/media-explorer/MediaExplorer.js +8 -8
  234. package/web-dist/components/message-bubble/MessageBubble.js +10 -10
  235. package/web-dist/components/metric-card/MetricCard.js +14 -14
  236. package/web-dist/components/missing-element/MissingElement.js +5 -5
  237. package/web-dist/components/o-auth-provider-button/OAuthProviderButton.js +15 -15
  238. package/web-dist/components/o-auth-provider-list/OAuthProviderList.js +15 -15
  239. package/web-dist/components/otp-form/OtpForm.js +15 -15
  240. package/web-dist/components/pagination/Pagination.js +8 -8
  241. package/web-dist/components/palette-item/PaletteItem.js +14 -14
  242. package/web-dist/components/popover-menu/PopoverMenu.js +8 -8
  243. package/web-dist/components/post-card/PostCard.js +14 -14
  244. package/web-dist/components/product-card/ProductCard.js +14 -14
  245. package/web-dist/components/progress/Progress.js +5 -5
  246. package/web-dist/components/progress-ring/ProgressRing.js +5 -5
  247. package/web-dist/components/radio/Radio.js +8 -8
  248. package/web-dist/components/radio-group/RadioGroup.js +8 -8
  249. package/web-dist/components/rating/Rating.js +5 -5
  250. package/web-dist/components/reader/Reader.js +16 -16
  251. package/web-dist/components/scan-overlay/ScanOverlay.js +15 -15
  252. package/web-dist/components/screen/Screen.js +3 -3
  253. package/web-dist/components/screen-section/ScreenSection.js +5 -5
  254. package/web-dist/components/scroll-view/ScrollView.js +3 -3
  255. package/web-dist/components/search-input/SearchInput.js +8 -8
  256. package/web-dist/components/section-header/SectionHeader.js +5 -5
  257. package/web-dist/components/section-list/SectionList.js +7 -7
  258. package/web-dist/components/select/Select.js +13 -11
  259. package/web-dist/components/select/Select.types-0.d.ts +6 -0
  260. package/web-dist/components/selectable-item/SelectableItem.js +1 -1
  261. package/web-dist/components/selection-provider/SelectionProvider.js +1 -1
  262. package/web-dist/components/sign-in-form/SignInForm.js +15 -15
  263. package/web-dist/components/sign-up-form/SignUpForm.js +15 -15
  264. package/web-dist/components/skeleton/Skeleton.js +17 -17
  265. package/web-dist/components/skeleton-card/SkeletonCard.js +17 -17
  266. package/web-dist/components/skeleton-list/SkeletonList.js +17 -17
  267. package/web-dist/components/skeleton-text/SkeletonText.js +17 -17
  268. package/web-dist/components/surface/Surface.js +4 -4
  269. package/web-dist/components/switch/Switch.js +3 -3
  270. package/web-dist/components/tab/Tab.js +3 -3
  271. package/web-dist/components/tab-list/TabList.js +3 -3
  272. package/web-dist/components/tab-panel/TabPanel.js +3 -3
  273. package/web-dist/components/tabs/Tabs.js +3 -3
  274. package/web-dist/components/text/Text.js +2 -2
  275. package/web-dist/components/text-input/TextInput.js +8 -8
  276. package/web-dist/components/theme-mode-toggle/ThemeModeToggle.js +7 -7
  277. package/web-dist/components/time-picker/TimePicker.js +13 -13
  278. package/web-dist/components/timeline/Timeline.js +7 -7
  279. package/web-dist/components/toast/Toast.js +5 -5
  280. package/web-dist/components/toast-provider/ToastProvider.js +5 -5
  281. package/web-dist/components/toolbar/Toolbar.js +14 -14
  282. package/web-dist/components/tree-item/TreeItem.js +12 -12
  283. package/web-dist/components/uploader/Uploader.js +17 -17
  284. package/web-dist/components/view/View.js +3 -3
  285. package/web-dist/manifest.json +1055 -1030
  286. package/web-dist/runtime/ZoraProvider.js +4 -4
  287. /package/web-dist/chunks/{Accordion-6y42ws4p.js → Accordion-yskcfahv.js} +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"compileZoraTheme.js","sourceRoot":"","sources":["../../../../../src/features/theme/application/use-cases/compileZoraTheme.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAEzF,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AACvD,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAaxD,MAAM,eAAe,GAAG,sBAAsB,CAAC;AAC/C,MAAM,kBAAkB,GAAG,yBAAyB,CAAC;AACrD,MAAM,aAAa,GAAG,oBAAoB,CAAC;AAC3C,MAAM,UAAU,GAAG,iBAAiB,CAAC;AAErC;;;GAGG;AACH,MAAM,UAAU,gBAAgB,CAC9B,WAAwB,EACxB,UAAuC,EAAE;IAEzC,MAAM,KAAK,GAAG,WAAW,CAAC,WAA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,UAAU,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,UAAU,EAAE,CAAC,CAAC;QACxE,OAAO,CAAC,IAAI,CAAC;YACX,IAAI,EAAE,GAAG,IAAI,eAAe,MAAM,CAAC,EAAE,EAAE;YACvC,MAAM,EAAE,SAAS;YACjB,KAAK,EAAE,kBAAkB;YACzB,MAAM,EAAE,CAAC,GAAG,IAAI,uBAAuB,MAAM,CAAC,MAAM,EAAE,EAAE,UAAU,CAAC;SACpE,CAAC,CAAC;IACL,CAAC;IAED,OAAO,OAAO,CAAC;AACjB,CAAC;AAED,8EAA8E;AAC9E,SAAS,YAAY,CAAC,IAAa,EAAE,KAAc;IACjD,OAAO,WAAW,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAClC,CAAC","sourcesContent":["import { generateThemeModeColors, selectColorSwatchStep } from '@ankhorage/color-theory';\nimport type { ThemeConfig } from '@ankhorage/contracts';\nimport { createTheme } from '@ankhorage/surface/theme';\nimport { isDeepEqual } from '@ankhorage/utility/object';\n\nimport type {\n ZoraComputedTheme,\n ZoraComputedThemeMode,\n ZoraThemeCompilationDiagnostic,\n ZoraThemeCompilationOptions,\n ZoraThemeMode,\n ZoraThemeProvenanceEntry,\n ZoraThemeSelectionResult,\n ZoraThemeSelectionTarget,\n} from '../../../../types/theme.ts';\n\nconst CONTRACTS_OWNER = '@ankhorage/contracts';\nconst COLOR_THEORY_OWNER = '@ankhorage/color-theory';\nconst SURFACE_OWNER = '@ankhorage/surface';\nconst ZORA_OWNER = '@ankhorage/zora';\n\n/***\n * Compile canonical theme source into Color Theory evidence and resolved Surface themes.\n * This function is pure and does not mount React or reproduce owner algorithms.\n */\nexport function compileZoraTheme(\n themeConfig: ThemeConfig,\n options: ZoraThemeCompilationOptions = {},\n): ZoraComputedTheme {\n const light = compileMode(themeConfig, 'light', options.selectionTargets?.light ?? []);\n const dark = compileMode(themeConfig, 'dark', options.selectionTargets?.dark ?? []);\n const diagnostics = [...light.diagnostics, ...dark.diagnostics];\n\n return {\n themeConfig,\n light,\n dark,\n diagnostics,\n provenance: createRootProvenance(themeConfig),\n };\n}\n\n/*** Compile one canonical mode and compare the independent owner results. */\nfunction compileMode(\n themeConfig: ThemeConfig,\n mode: ZoraThemeMode,\n targets: readonly ZoraThemeSelectionTarget[],\n): ZoraComputedThemeMode {\n const modeConfig = mode === 'light' ? themeConfig.light : themeConfig.dark;\n const generated = generateThemeModeColors(modeConfig);\n const surfaceTheme = createTheme(themeConfig, mode);\n const { diagnostics, selections } = resolveSelections(generated, mode, targets);\n\n if (!outputsAgree(generated, surfaceTheme.colorDiagnostics.generated)) {\n diagnostics.push({\n code: 'generated-output-divergence',\n message: 'Surface and Color Theory returned different generated color evidence.',\n mode,\n path: `${mode}.generated`,\n severity: 'error',\n });\n }\n\n return {\n mode,\n generated,\n surfaceTheme,\n selections,\n diagnostics,\n provenance: createModeProvenance(mode, targets),\n };\n}\n\n/*** Resolve measurable swatch targets without substituting unavailable roles. */\nfunction resolveSelections(\n generated: ZoraComputedThemeMode['generated'],\n mode: ZoraThemeMode,\n targets: readonly ZoraThemeSelectionTarget[],\n): {\n diagnostics: ZoraThemeCompilationDiagnostic[];\n selections: ZoraThemeSelectionResult[];\n} {\n const diagnostics: ZoraThemeCompilationDiagnostic[] = [];\n const selections = targets.map((request) => {\n const swatch = generated.swatches[request.swatch];\n const result = swatch\n ? selectColorSwatchStep(swatch, request.target, request.contexts, request.tiePolicy)\n : null;\n\n if (!swatch) diagnostics.push(createMissingSwatchDiagnostic(mode, request));\n else if (!result?.selected) diagnostics.push(createUnresolvedTargetDiagnostic(mode, request));\n\n return { request, result };\n });\n\n return { diagnostics, selections };\n}\n\n/*** Describe a requested swatch that the selected harmony does not generate. */\nfunction createMissingSwatchDiagnostic(\n mode: ZoraThemeMode,\n request: ZoraThemeSelectionTarget,\n): ZoraThemeCompilationDiagnostic {\n return {\n code: 'missing-target-swatch',\n message: `The selected harmony does not generate the '${request.swatch}' swatch.`,\n mode,\n path: `${mode}.selectionTargets.${request.id}`,\n severity: 'error',\n };\n}\n\n/*** Describe a measurable target that has no passing swatch candidate. */\nfunction createUnresolvedTargetDiagnostic(\n mode: ZoraThemeMode,\n request: ZoraThemeSelectionTarget,\n): ZoraThemeCompilationDiagnostic {\n return {\n code: 'unresolved-selection-target',\n message: `No '${request.swatch}' step satisfies selection target '${request.id}'.`,\n mode,\n path: `${mode}.selectionTargets.${request.id}`,\n severity: 'error',\n };\n}\n\n/*** Record direct source and Surface-owned default provenance. */\nfunction createRootProvenance(themeConfig: ThemeConfig): ZoraThemeProvenanceEntry[] {\n return [\n { path: 'themeConfig', origin: 'direct', owner: CONTRACTS_OWNER },\n {\n path: 'themeConfig.tokens',\n origin: themeConfig.tokens ? 'direct' : 'defaulted',\n owner: themeConfig.tokens ? CONTRACTS_OWNER : SURFACE_OWNER,\n },\n ];\n}\n\n/*** Record the owner transformation chain for one compiled mode. */\nfunction createModeProvenance(\n mode: ZoraThemeMode,\n targets: readonly ZoraThemeSelectionTarget[],\n): ZoraThemeProvenanceEntry[] {\n const inputPath = `themeConfig.${mode}`;\n const entries: ZoraThemeProvenanceEntry[] = [\n { path: inputPath, origin: 'direct', owner: CONTRACTS_OWNER },\n {\n path: `${mode}.generated`,\n origin: 'derived',\n owner: COLOR_THEORY_OWNER,\n inputs: [inputPath],\n },\n {\n path: `${mode}.surfaceTheme`,\n origin: 'derived',\n owner: SURFACE_OWNER,\n inputs: ['themeConfig', inputPath],\n },\n ];\n\n for (const target of targets) {\n const targetPath = `${mode}.selectionTargets.${target.id}`;\n entries.push({ path: targetPath, origin: 'direct', owner: ZORA_OWNER });\n entries.push({\n path: `${mode}.selections.${target.id}`,\n origin: 'derived',\n owner: COLOR_THEORY_OWNER,\n inputs: [`${mode}.generated.swatches.${target.swatch}`, targetPath],\n });\n }\n\n return entries;\n}\n\n/*** Compare deterministic owner result records for divergence diagnostics. */\nfunction outputsAgree(left: unknown, right: unknown): boolean {\n return isDeepEqual(left, right);\n}\n"]}
1
+ {"version":3,"file":"compileZoraTheme.js","sourceRoot":"","sources":["../../../../../src/features/theme/application/use-cases/compileZoraTheme.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAEzF,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AACvD,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAaxD,MAAM,eAAe,GAAG,sBAAsB,CAAC;AAC/C,MAAM,kBAAkB,GAAG,yBAAyB,CAAC;AACrD,MAAM,aAAa,GAAG,oBAAoB,CAAC;AAC3C,MAAM,UAAU,GAAG,iBAAiB,CAAC;AAErC;;;GAGG;AACH,MAAM,UAAU,gBAAgB,CAC9B,WAAwB,EACxB,UAAuC,EAAE;IAEzC,MAAM,KAAK,GAAG,WAAW,CAAC,WAAW,EAAE,OAAO,EAAE,OAAO,CAAC,gBAAgB,EAAE,KAAK,IAAI,EAAE,CAAC,CAAC;IACvF,MAAM,IAAI,GAAG,WAAW,CAAC,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,gBAAgB,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACpF,MAAM,WAAW,GAAG,CAAC,GAAG,KAAK,CAAC,WAAW,EAAE,GAAG,IAAI,CAAC,WAAW,CAAC,CAAC;IAEhE,OAAO;QACL,WAAW;QACX,KAAK;QACL,IAAI;QACJ,WAAW;QACX,UAAU,EAAE,oBAAoB,CAAC,WAAW,CAAC;KAC9C,CAAC;AACJ,CAAC;AAED,6EAA6E;AAC7E,SAAS,WAAW,CAClB,WAAwB,EACxB,IAAmB,EACnB,OAA4C;IAE5C,MAAM,UAAU,GAAG,IAAI,KAAK,OAAO,CAAC,CAAC,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC,CAAC,WAAW,CAAC,IAAI,CAAC;IAC3E,MAAM,SAAS,GAAG,uBAAuB,CAAC,UAAU,CAAC,CAAC;IACtD,MAAM,YAAY,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AC1C,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,eAAe,EAAE;QAC7D;YACE,IAAI,EAAE,GAAG,IAAI,YAAY;YACzB,MAAM,EAAE,SAAS;YACjB,KAAK,EAAE,kBAAkB;YACzB,MAAM,EAAE,CAAC,SAAS,CAAC;SACpB;QACD;YACE,IAAI,EAAE,GAAG,IAAI,eAAe;YAC5B,MAAM,EAAE,SAAS;YACjB,KAAK,EAAE,aAAa;YACpB,MAAM,EAAE,CAAC,aAAa,EAAE,SAAS,CAAC;SACnC;KACF,CAAC;IAEF,KAAK,MAAM,MAAM,IAAI,OAAO,EAAE,CAAC;QAC7B,MAAM,UAAU,GAAG,GAAG,IAAI,qBAAqB,MAAM,CAAC,EAAE,EAAE,CAAC;QAC3D,OAAO,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,UAAU,EAAE,CAAC,CAAC;QACxE,OAAO,CAAC,IAAI,CAAC;YACX,IAAI,EAAE,GAAG,IAAI,eAAe,MAAM,CAAC,EAAE,EAAE;YACvC,MAAM,EAAE,SAAS;YACjB,KAAK,EAAE,kBAAkB;YACzB,MAAM,EAAE,CAAC,GAAG,IAAI,uBAAuB,MAAM,CAAC,MAAM,EAAE,EAAE,UAAU,CAAC;SACpE,CAAC,CAAC;IACL,CAAC;IAED,OAAO,OAAO,CAAC;AACjB,CAAC;AAED,8EAA8E;AAC9E,SAAS,YAAY,CAAC,IAAa,EAAE,KAAc;IACjD,OAAO,WAAW,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAClC,CAAC","sourcesContent":["import { generateThemeModeColors, selectColorSwatchStep } from '@ankhorage/color-theory';\nimport type { ThemeConfig } from '@ankhorage/contracts';\nimport { createTheme } from '@ankhorage/surface/theme';\nimport { isDeepEqual } from '@ankhorage/utility/object';\n\nimport type {\n ZoraComputedTheme,\n ZoraComputedThemeMode,\n ZoraThemeCompilationDiagnostic,\n ZoraThemeCompilationOptions,\n ZoraThemeMode,\n ZoraThemeProvenanceEntry,\n ZoraThemeSelectionResult,\n ZoraThemeSelectionTarget,\n} from '#zora/types/theme';\n\nconst CONTRACTS_OWNER = '@ankhorage/contracts';\nconst COLOR_THEORY_OWNER = '@ankhorage/color-theory';\nconst SURFACE_OWNER = '@ankhorage/surface';\nconst ZORA_OWNER = '@ankhorage/zora';\n\n/***\n * Compile canonical theme source into Color Theory evidence and resolved Surface themes.\n * This function is pure and does not mount React or reproduce owner algorithms.\n */\nexport function compileZoraTheme(\n themeConfig: ThemeConfig,\n options: ZoraThemeCompilationOptions = {},\n): ZoraComputedTheme {\n const light = compileMode(themeConfig, 'light', options.selectionTargets?.light ?? []);\n const dark = compileMode(themeConfig, 'dark', options.selectionTargets?.dark ?? []);\n const diagnostics = [...light.diagnostics, ...dark.diagnostics];\n\n return {\n themeConfig,\n light,\n dark,\n diagnostics,\n provenance: createRootProvenance(themeConfig),\n };\n}\n\n/*** Compile one canonical mode and compare the independent owner results. */\nfunction compileMode(\n themeConfig: ThemeConfig,\n mode: ZoraThemeMode,\n targets: readonly ZoraThemeSelectionTarget[],\n): ZoraComputedThemeMode {\n const modeConfig = mode === 'light' ? themeConfig.light : themeConfig.dark;\n const generated = generateThemeModeColors(modeConfig);\n const surfaceTheme = createTheme(themeConfig, mode);\n const { diagnostics, selections } = resolveSelections(generated, mode, targets);\n\n if (!outputsAgree(generated, surfaceTheme.colorDiagnostics.generated)) {\n diagnostics.push({\n code: 'generated-output-divergence',\n message: 'Surface and Color Theory returned different generated color evidence.',\n mode,\n path: `${mode}.generated`,\n severity: 'error',\n });\n }\n\n return {\n mode,\n generated,\n surfaceTheme,\n selections,\n diagnostics,\n provenance: createModeProvenance(mode, targets),\n };\n}\n\n/*** Resolve measurable swatch targets without substituting unavailable roles. */\nfunction resolveSelections(\n generated: ZoraComputedThemeMode['generated'],\n mode: ZoraThemeMode,\n targets: readonly ZoraThemeSelectionTarget[],\n): {\n diagnostics: ZoraThemeCompilationDiagnostic[];\n selections: ZoraThemeSelectionResult[];\n} {\n const diagnostics: ZoraThemeCompilationDiagnostic[] = [];\n const selections = targets.map((request) => {\n const swatch = generated.swatches[request.swatch];\n const result = swatch\n ? selectColorSwatchStep(swatch, request.target, request.contexts, request.tiePolicy)\n : null;\n\n if (!swatch) diagnostics.push(createMissingSwatchDiagnostic(mode, request));\n else if (!result?.selected) diagnostics.push(createUnresolvedTargetDiagnostic(mode, request));\n\n return { request, result };\n });\n\n return { diagnostics, selections };\n}\n\n/*** Describe a requested swatch that the selected harmony does not generate. */\nfunction createMissingSwatchDiagnostic(\n mode: ZoraThemeMode,\n request: ZoraThemeSelectionTarget,\n): ZoraThemeCompilationDiagnostic {\n return {\n code: 'missing-target-swatch',\n message: `The selected harmony does not generate the '${request.swatch}' swatch.`,\n mode,\n path: `${mode}.selectionTargets.${request.id}`,\n severity: 'error',\n };\n}\n\n/*** Describe a measurable target that has no passing swatch candidate. */\nfunction createUnresolvedTargetDiagnostic(\n mode: ZoraThemeMode,\n request: ZoraThemeSelectionTarget,\n): ZoraThemeCompilationDiagnostic {\n return {\n code: 'unresolved-selection-target',\n message: `No '${request.swatch}' step satisfies selection target '${request.id}'.`,\n mode,\n path: `${mode}.selectionTargets.${request.id}`,\n severity: 'error',\n };\n}\n\n/*** Record direct source and Surface-owned default provenance. */\nfunction createRootProvenance(themeConfig: ThemeConfig): ZoraThemeProvenanceEntry[] {\n return [\n { path: 'themeConfig', origin: 'direct', owner: CONTRACTS_OWNER },\n {\n path: 'themeConfig.tokens',\n origin: themeConfig.tokens ? 'direct' : 'defaulted',\n owner: themeConfig.tokens ? CONTRACTS_OWNER : SURFACE_OWNER,\n },\n ];\n}\n\n/*** Record the owner transformation chain for one compiled mode. */\nfunction createModeProvenance(\n mode: ZoraThemeMode,\n targets: readonly ZoraThemeSelectionTarget[],\n): ZoraThemeProvenanceEntry[] {\n const inputPath = `themeConfig.${mode}`;\n const entries: ZoraThemeProvenanceEntry[] = [\n { path: inputPath, origin: 'direct', owner: CONTRACTS_OWNER },\n {\n path: `${mode}.generated`,\n origin: 'derived',\n owner: COLOR_THEORY_OWNER,\n inputs: [inputPath],\n },\n {\n path: `${mode}.surfaceTheme`,\n origin: 'derived',\n owner: SURFACE_OWNER,\n inputs: ['themeConfig', inputPath],\n },\n ];\n\n for (const target of targets) {\n const targetPath = `${mode}.selectionTargets.${target.id}`;\n entries.push({ path: targetPath, origin: 'direct', owner: ZORA_OWNER });\n entries.push({\n path: `${mode}.selections.${target.id}`,\n origin: 'derived',\n owner: COLOR_THEORY_OWNER,\n inputs: [`${mode}.generated.swatches.${target.swatch}`, targetPath],\n });\n }\n\n return entries;\n}\n\n/*** Compare deterministic owner result records for divergence diagnostics. */\nfunction outputsAgree(left: unknown, right: unknown): boolean {\n return isDeepEqual(left, right);\n}\n"]}
@@ -1,5 +1,5 @@
1
1
  import type { ThemeConfig } from '@ankhorage/contracts';
2
- import type { ZoraTheme } from '../../../../types/theme.ts';
2
+ import type { ZoraTheme } from '#zora/types/theme';
3
3
  /*** Convert the concise ZORA design seed into canonical persisted theme source. */
4
4
  export declare function createZoraThemeConfig(theme?: ZoraTheme): ThemeConfig;
5
5
  //# sourceMappingURL=createZoraThemeConfig.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"createZoraThemeConfig.d.ts","sourceRoot":"","sources":["../../../../../src/features/theme/application/use-cases/createZoraThemeConfig.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAExD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AAG5D,mFAAmF;AACnF,wBAAgB,qBAAqB,CAAC,KAAK,GAAE,SAA4B,GAAG,WAAW,CAetF"}
1
+ {"version":3,"file":"createZoraThemeConfig.d.ts","sourceRoot":"","sources":["../../../../../src/features/theme/application/use-cases/createZoraThemeConfig.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAGxD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAEnD,mFAAmF;AACnF,wBAAgB,qBAAqB,CAAC,KAAK,GAAE,SAA4B,GAAG,WAAW,CAetF"}
@@ -1,5 +1,5 @@
1
1
  import { parseHexColorOrThrow } from '@ankhorage/color-theory';
2
- import { zoraDefaultTheme } from "../../zoraDefaultTheme.js";
2
+ import { zoraDefaultTheme } from '#zora/theme/zoraDefaultTheme';
3
3
  /*** Convert the concise ZORA design seed into canonical persisted theme source. */
4
4
  export function createZoraThemeConfig(theme = zoraDefaultTheme) {
5
5
  const primaryColor = parseHexColorOrThrow(theme.primaryColor);
@@ -1 +1 @@
1
- {"version":3,"file":"createZoraThemeConfig.js","sourceRoot":"","sources":["../../../../../src/features/theme/application/use-cases/createZoraThemeConfig.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAI/D,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAE7D,mFAAmF;AACnF,MAAM,UAAU,qBAAqB,CAAC,QAAmB,gBAAgB;IACvE,MAAM,YAAY,GAAG,oBAAoB,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC;IAE9D,OAAO;QACL,EAAE,EAAE,KAAK,CAAC,EAAE;QACZ,IAAI,EAAE,KAAK,CAAC,IAAI;QAChB,KAAK,EAAE;YACL,YAAY;YACZ,OAAO,EAAE,KAAK,CAAC,OAAO;SACvB;QACD,IAAI,EAAE;YACJ,YAAY;YACZ,OAAO,EAAE,KAAK,CAAC,OAAO;SACvB;KACF,CAAC;AACJ,CAAC","sourcesContent":["import { parseHexColorOrThrow } from '@ankhorage/color-theory';\nimport type { ThemeConfig } from '@ankhorage/contracts';\n\nimport type { ZoraTheme } from '../../../../types/theme.ts';\nimport { zoraDefaultTheme } from '../../zoraDefaultTheme.ts';\n\n/*** Convert the concise ZORA design seed into canonical persisted theme source. */\nexport function createZoraThemeConfig(theme: ZoraTheme = zoraDefaultTheme): ThemeConfig {\n const primaryColor = parseHexColorOrThrow(theme.primaryColor);\n\n return {\n id: theme.id,\n name: theme.name,\n light: {\n primaryColor,\n harmony: theme.harmony,\n },\n dark: {\n primaryColor,\n harmony: theme.harmony,\n },\n };\n}\n"]}
1
+ {"version":3,"file":"createZoraThemeConfig.js","sourceRoot":"","sources":["../../../../../src/features/theme/application/use-cases/createZoraThemeConfig.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAG/D,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAGhE,mFAAmF;AACnF,MAAM,UAAU,qBAAqB,CAAC,QAAmB,gBAAgB;IACvE,MAAM,YAAY,GAAG,oBAAoB,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC;IAE9D,OAAO;QACL,EAAE,EAAE,KAAK,CAAC,EAAE;QACZ,IAAI,EAAE,KAAK,CAAC,IAAI;QAChB,KAAK,EAAE;YACL,YAAY;YACZ,OAAO,EAAE,KAAK,CAAC,OAAO;SACvB;QACD,IAAI,EAAE;YACJ,YAAY;YACZ,OAAO,EAAE,KAAK,CAAC,OAAO;SACvB;KACF,CAAC;AACJ,CAAC","sourcesContent":["import { parseHexColorOrThrow } from '@ankhorage/color-theory';\nimport type { ThemeConfig } from '@ankhorage/contracts';\n\nimport { zoraDefaultTheme } from '#zora/theme/zoraDefaultTheme';\nimport type { ZoraTheme } from '#zora/types/theme';\n\n/*** Convert the concise ZORA design seed into canonical persisted theme source. */\nexport function createZoraThemeConfig(theme: ZoraTheme = zoraDefaultTheme): ThemeConfig {\n const primaryColor = parseHexColorOrThrow(theme.primaryColor);\n\n return {\n id: theme.id,\n name: theme.name,\n light: {\n primaryColor,\n harmony: theme.harmony,\n },\n dark: {\n primaryColor,\n harmony: theme.harmony,\n },\n };\n}\n"]}
@@ -1,5 +1,5 @@
1
- export type { ZoraComputedTheme, ZoraComputedThemeMode, ZoraTheme, ZoraThemeCompilationDiagnostic, ZoraThemeCompilationDiagnosticCode, ZoraThemeCompilationOptions, ZoraThemeId, ZoraThemeMode, ZoraThemeProvenanceEntry, ZoraThemeSelectionResult, ZoraThemeSelectionTarget, ZoraThemeSwatchRole, ZoraThemeValueOrigin, } from '../../types/theme.ts';
2
- export { compileZoraTheme } from './application/use-cases/compileZoraTheme.ts';
3
- export { createZoraThemeConfig } from './application/use-cases/createZoraThemeConfig.ts';
4
- export { zoraDefaultTheme } from './zoraDefaultTheme.ts';
1
+ export { compileZoraTheme } from '#zora/theme/application/use-cases/compileZoraTheme';
2
+ export { createZoraThemeConfig } from '#zora/theme/application/use-cases/createZoraThemeConfig';
3
+ export { zoraDefaultTheme } from '#zora/theme/zoraDefaultTheme';
4
+ export type { ZoraComputedTheme, ZoraComputedThemeMode, ZoraTheme, ZoraThemeCompilationDiagnostic, ZoraThemeCompilationDiagnosticCode, ZoraThemeCompilationOptions, ZoraThemeId, ZoraThemeMode, ZoraThemeProvenanceEntry, ZoraThemeSelectionResult, ZoraThemeSelectionTarget, ZoraThemeSwatchRole, ZoraThemeValueOrigin, } from '#zora/types/theme';
5
5
  //# sourceMappingURL=public.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"public.d.ts","sourceRoot":"","sources":["../../../src/features/theme/public.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,iBAAiB,EACjB,qBAAqB,EACrB,SAAS,EACT,8BAA8B,EAC9B,kCAAkC,EAClC,2BAA2B,EAC3B,WAAW,EACX,aAAa,EACb,wBAAwB,EACxB,wBAAwB,EACxB,wBAAwB,EACxB,mBAAmB,EACnB,oBAAoB,GACrB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,gBAAgB,EAAE,MAAM,6CAA6C,CAAC;AAC/E,OAAO,EAAE,qBAAqB,EAAE,MAAM,kDAAkD,CAAC;AACzF,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC"}
1
+ {"version":3,"file":"public.d.ts","sourceRoot":"","sources":["../../../src/features/theme/public.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oDAAoD,CAAC;AACtF,OAAO,EAAE,qBAAqB,EAAE,MAAM,yDAAyD,CAAC;AAChG,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAChE,YAAY,EACV,iBAAiB,EACjB,qBAAqB,EACrB,SAAS,EACT,8BAA8B,EAC9B,kCAAkC,EAClC,2BAA2B,EAC3B,WAAW,EACX,aAAa,EACb,wBAAwB,EACxB,wBAAwB,EACxB,wBAAwB,EACxB,mBAAmB,EACnB,oBAAoB,GACrB,MAAM,mBAAmB,CAAC"}
@@ -1,4 +1,4 @@
1
- export { compileZoraTheme } from "./application/use-cases/compileZoraTheme.js";
2
- export { createZoraThemeConfig } from "./application/use-cases/createZoraThemeConfig.js";
3
- export { zoraDefaultTheme } from "./zoraDefaultTheme.js";
1
+ export { compileZoraTheme } from '#zora/theme/application/use-cases/compileZoraTheme';
2
+ export { createZoraThemeConfig } from '#zora/theme/application/use-cases/createZoraThemeConfig';
3
+ export { zoraDefaultTheme } from '#zora/theme/zoraDefaultTheme';
4
4
  //# sourceMappingURL=public.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"public.js","sourceRoot":"","sources":["../../../src/features/theme/public.ts"],"names":[],"mappings":"AAeA,OAAO,EAAE,gBAAgB,EAAE,MAAM,6CAA6C,CAAC;AAC/E,OAAO,EAAE,qBAAqB,EAAE,MAAM,kDAAkD,CAAC;AACzF,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC","sourcesContent":["export type {\n ZoraComputedTheme,\n ZoraComputedThemeMode,\n ZoraTheme,\n ZoraThemeCompilationDiagnostic,\n ZoraThemeCompilationDiagnosticCode,\n ZoraThemeCompilationOptions,\n ZoraThemeId,\n ZoraThemeMode,\n ZoraThemeProvenanceEntry,\n ZoraThemeSelectionResult,\n ZoraThemeSelectionTarget,\n ZoraThemeSwatchRole,\n ZoraThemeValueOrigin,\n} from '../../types/theme.ts';\nexport { compileZoraTheme } from './application/use-cases/compileZoraTheme.ts';\nexport { createZoraThemeConfig } from './application/use-cases/createZoraThemeConfig.ts';\nexport { zoraDefaultTheme } from './zoraDefaultTheme.ts';\n"]}
1
+ {"version":3,"file":"public.js","sourceRoot":"","sources":["../../../src/features/theme/public.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oDAAoD,CAAC;AACtF,OAAO,EAAE,qBAAqB,EAAE,MAAM,yDAAyD,CAAC;AAChG,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC","sourcesContent":["export { compileZoraTheme } from '#zora/theme/application/use-cases/compileZoraTheme';\nexport { createZoraThemeConfig } from '#zora/theme/application/use-cases/createZoraThemeConfig';\nexport { zoraDefaultTheme } from '#zora/theme/zoraDefaultTheme';\nexport type {\n ZoraComputedTheme,\n ZoraComputedThemeMode,\n ZoraTheme,\n ZoraThemeCompilationDiagnostic,\n ZoraThemeCompilationDiagnosticCode,\n ZoraThemeCompilationOptions,\n ZoraThemeId,\n ZoraThemeMode,\n ZoraThemeProvenanceEntry,\n ZoraThemeSelectionResult,\n ZoraThemeSelectionTarget,\n ZoraThemeSwatchRole,\n ZoraThemeValueOrigin,\n} from '#zora/types/theme';\n"]}
@@ -1,3 +1,3 @@
1
- import type { ZoraTheme } from '../../types/theme.ts';
1
+ import type { ZoraTheme } from '#zora/types/theme';
2
2
  export declare const zoraDefaultTheme: ZoraTheme;
3
3
  //# sourceMappingURL=zoraDefaultTheme.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"zoraDefaultTheme.d.ts","sourceRoot":"","sources":["../../../src/features/theme/zoraDefaultTheme.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAEtD,eAAO,MAAM,gBAAgB,EAAE,SAM9B,CAAC"}
1
+ {"version":3,"file":"zoraDefaultTheme.d.ts","sourceRoot":"","sources":["../../../src/features/theme/zoraDefaultTheme.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAEnD,eAAO,MAAM,gBAAgB,EAAE,SAM9B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"zoraDefaultTheme.js","sourceRoot":"","sources":["../../../src/features/theme/zoraDefaultTheme.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,gBAAgB,GAAc;IACzC,EAAE,EAAE,MAAM;IACV,IAAI,EAAE,MAAM;IACZ,WAAW,EAAE,iBAAiB;IAC9B,YAAY,EAAE,SAAS;IACvB,OAAO,EAAE,WAAW;CACrB,CAAC","sourcesContent":["import type { ZoraTheme } from '../../types/theme.ts';\n\nexport const zoraDefaultTheme: ZoraTheme = {\n id: 'zora',\n name: 'ZORA',\n appCategory: 'developer_tools',\n primaryColor: '#0f766e',\n harmony: 'analogous',\n};\n"]}
1
+ {"version":3,"file":"zoraDefaultTheme.js","sourceRoot":"","sources":["../../../src/features/theme/zoraDefaultTheme.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,gBAAgB,GAAc;IACzC,EAAE,EAAE,MAAM;IACV,IAAI,EAAE,MAAM;IACZ,WAAW,EAAE,iBAAiB;IAC9B,YAAY,EAAE,SAAS;IACvB,OAAO,EAAE,WAAW;CACrB,CAAC","sourcesContent":["import type { ZoraTheme } from '#zora/types/theme';\n\nexport const zoraDefaultTheme: ZoraTheme = {\n id: 'zora',\n name: 'ZORA',\n appCategory: 'developer_tools',\n primaryColor: '#0f766e',\n harmony: 'analogous',\n};\n"]}
package/dist/index.d.ts CHANGED
@@ -4,6 +4,8 @@ export type { CarouselProps, CarouselSlide, CarouselTransition } from './feature
4
4
  export { Carousel } from './features/carousel/public';
5
5
  export type { ColorHueScaleProps, ColorPickerProps, ColorPickerSelection, ColorPickerTab, ColorPickerValue, ColorToneDefinition, ColorToneProps, ColorToneSelection, ColorToneTarget, ColorWheelProps, ColorWheelSelection, } from './features/color/public';
6
6
  export { ColorHueScale, ColorPicker, ColorTone, ColorWheel } from './features/color/public';
7
+ export type { MasterDetailActivePane, MasterDetailDesktopMode, MasterDetailMasterWidth, MasterDetailProps, } from './features/master-detail/public';
8
+ export { MasterDetail } from './features/master-detail/public';
7
9
  export type { ReaderColorScheme, ReaderDocumentFormat, ReaderErrorCode, ReaderErrorEvent, ReaderExternalLinkEvent, ReaderLineHeight, ReaderLocationChangeEvent, ReaderNavigationTrigger, ReaderProps, ReaderResolvedSource, ReaderStatus, } from './features/reader/public';
8
10
  export { Reader, resolveReaderProgress } from './features/reader/public';
9
11
  export { ZORA_COMPONENT_REGISTRY } from './features/registry/public';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,4BAA4B,EAC5B,kCAAkC,EAClC,6BAA6B,EAC7B,sCAAsC,EACtC,8BAA8B,EAC9B,2BAA2B,EAC3B,uBAAuB,EACvB,4BAA4B,GAC7B,MAAM,aAAa,CAAC;AACrB,OAAO,EACL,6BAA6B,EAC7B,iCAAiC,EACjC,yBAAyB,EACzB,kBAAkB,GACnB,MAAM,aAAa,CAAC;AACrB,YAAY,EAAE,aAAa,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AACnG,OAAO,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAC;AACtD,YAAY,EACV,kBAAkB,EAClB,gBAAgB,EAChB,oBAAoB,EACpB,cAAc,EACd,gBAAgB,EAChB,mBAAmB,EACnB,cAAc,EACd,kBAAkB,EAClB,eAAe,EACf,eAAe,EACf,mBAAmB,GACpB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAC5F,YAAY,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AC/D,YAAY,EACV,iBAAiB,EACjB,oBAAoB,EACpB,eAAe,EACf,gBAAgB,EAChB,uBAAuB,EACvB,gBAAgB,EAChB,yBAAyB,EACzB,uBAAuB,EACvB,WAAW,EACX,oBAAoB,EACpB,YAAY,GACb,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,MAAM,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAC;AACzE,OAAO,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AACrE,cAAc,cAAc,CAAC;AAC7B,YAAY,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAC"}
package/dist/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export { AuthoringBindingEditorAdapter, AuthoringPropertyInspectorAdapter, AuthoringSelectionAdapter, ThemeEditorAdapter, } from './authoring';
2
2
  export { Carousel } from './features/carousel/public';
3
3
  export { ColorHueScale, ColorPicker, ColorTone, ColorWheel } from './features/color/public';
4
+ export { MasterDetail } from './features/master-detail/public';
4
5
  export { Reader, resolveReaderProgress } from './features/reader/public';
5
6
  export { ZORA_COMPONENT_REGISTRY } from './features/registry/public';
6
7
  export * from './readerFree';
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAUA,OAAO,EACL,6BAA6B,EAC7B,iCAAiC,EACjC,yBAAyB,EACzB,kBAAkB,GACnB,MAAM,aAAa,CAAC;AAErB,OAAO,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAC;AActD,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAc5F,OAAO,EAAE,MAAM,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAC;AACzE,OAAO,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AACrE,cAAc,cAAc,CAAC","sourcesContent":["export type {\n AuthoringBindingControlState,\n AuthoringBindingEditorAdapterProps,\n AuthoringPropertyControlState,\n AuthoringPropertyInspectorAdapterProps,\n AuthoringSelectionAdapterProps,\n AuthoringSelectionItemState,\n ThemeEditorAdapterProps,\n ThemeRecipeFieldControlState,\n} from './authoring';\nexport {\n AuthoringBindingEditorAdapter,\n AuthoringPropertyInspectorAdapter,\n AuthoringSelectionAdapter,\n ThemeEditorAdapter,\n} from './authoring';\nexport type { CarouselProps, CarouselSlide, CarouselTransition } from './features/carousel/public';\nexport { Carousel } from './features/carousel/public';\nexport type {\n ColorHueScaleProps,\n ColorPickerProps,\n ColorPickerSelection,\n ColorPickerTab,\n ColorPickerValue,\n ColorToneDefinition,\n ColorToneProps,\n ColorToneSelection,\n ColorToneTarget,\n ColorWheelProps,\n ColorWheelSelection,\n} from './features/color/public';\nexport { ColorHueScale, ColorPicker, ColorTone, ColorWheel } from './features/color/public';\nexport type {\n ReaderColorScheme,\n ReaderDocumentFormat,\n ReaderErrorCode,\n ReaderErrorEvent,\n ReaderExternalLinkEvent,\n ReaderLineHeight,\n ReaderLocationChangeEvent,\n ReaderNavigationTrigger,\n ReaderProps,\n ReaderResolvedSource,\n ReaderStatus,\n} from './features/reader/public';\nexport { Reader, resolveReaderProgress } from './features/reader/public';\nexport { ZORA_COMPONENT_REGISTRY } from './features/registry/public';\nexport * from './readerFree';\nexport type { ZoraComponentRegistry } from './types/registry';\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAUA,OAAO,EACL,6BAA6B,EAC7B,iCAAiC,EACjC,yBAAyB,EACzB,kBAAkB,GACnB,MAAM,aAAa,CAAC;AAErB,OAAO,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAC;AActD,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAO5F,OAAO,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAC;AAc/D,OAAO,EAAE,MAAM,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAC;AACzE,OAAO,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AACrE,cAAc,cAAc,CAAC","sourcesContent":["export type {\n AuthoringBindingControlState,\n AuthoringBindingEditorAdapterProps,\n AuthoringPropertyControlState,\n AuthoringPropertyInspectorAdapterProps,\n AuthoringSelectionAdapterProps,\n AuthoringSelectionItemState,\n ThemeEditorAdapterProps,\n ThemeRecipeFieldControlState,\n} from './authoring';\nexport {\n AuthoringBindingEditorAdapter,\n AuthoringPropertyInspectorAdapter,\n AuthoringSelectionAdapter,\n ThemeEditorAdapter,\n} from './authoring';\nexport type { CarouselProps, CarouselSlide, CarouselTransition } from './features/carousel/public';\nexport { Carousel } from './features/carousel/public';\nexport type {\n ColorHueScaleProps,\n ColorPickerProps,\n ColorPickerSelection,\n ColorPickerTab,\n ColorPickerValue,\n ColorToneDefinition,\n ColorToneProps,\n ColorToneSelection,\n ColorToneTarget,\n ColorWheelProps,\n ColorWheelSelection,\n} from './features/color/public';\nexport { ColorHueScale, ColorPicker, ColorTone, ColorWheel } from './features/color/public';\nexport type {\n MasterDetailActivePane,\n MasterDetailDesktopMode,\n MasterDetailMasterWidth,\n MasterDetailProps,\n} from './features/master-detail/public';\nexport { MasterDetail } from './features/master-detail/public';\nexport type {\n ReaderColorScheme,\n ReaderDocumentFormat,\n ReaderErrorCode,\n ReaderErrorEvent,\n ReaderExternalLinkEvent,\n ReaderLineHeight,\n ReaderLocationChangeEvent,\n ReaderNavigationTrigger,\n ReaderProps,\n ReaderResolvedSource,\n ReaderStatus,\n} from './features/reader/public';\nexport { Reader, resolveReaderProgress } from './features/reader/public';\nexport { ZORA_COMPONENT_REGISTRY } from './features/registry/public';\nexport * from './readerFree';\nexport type { ZoraComponentRegistry } from './types/registry';\n"]}
@@ -82,6 +82,8 @@ export type { ManifestListProps, ManifestListSection, ManifestSectionListProps,
82
82
  export type { ListChildrenProps, ListItemProps, ListItemsProps, ListItemVariant, ListProps, ListSectionProps, } from './features/list/public';
83
83
  export { FlatList, SectionList } from './features/list/public';
84
84
  export { List, ListItem, ListSection } from './features/list/public';
85
+ export type { MasterDetailActivePane, MasterDetailDesktopMode, MasterDetailMasterWidth, MasterDetailProps, } from './features/master-detail/public';
86
+ export { MasterDetail } from './features/master-detail/public';
85
87
  export type { MatrixGridProps } from './features/matrix-grid/public';
86
88
  export { MatrixGrid } from './features/matrix-grid/public';
87
89
  export { MissingElement, type MissingElementProps } from './features/missing-element/public';
@@ -1 +1 @@
1
- {"version":3,"file":"readerFree.d.ts","sourceRoot":"","sources":["../src/readerFree.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,aAAa,EACb,KAAK,kBAAkB,EACvB,KAAK,aAAa,EAClB,KAAK,sBAAsB,EAC3B,KAAK,cAAc,EACnB,KAAK,oBAAoB,GAC1B,MAAM,6BAA6B,CAAC;AACrC,OAAO,EACL,iBAAiB,EACjB,KAAK,sBAAsB,GAC5B,MAAM,sCAAsC,CAAC;AAC9C,YAAY,EAAE,UAAU,EAAE,kBAAkB,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAC7F,OAAO,EAAE,MAAM,EAAE,MAAM,2BAA2B,CAAC;AACnD,OAAO,EAAE,SAAS,EAAE,KAAK,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC9E,YAAY,EACV,iBAAiB,EACjB,kBAAkB,EAClB,cAAc,EACd,eAAe,EACf,uBAAuB,EACvB,wBAAwB,EACxB,wBAAwB,EACxB,qBAAqB,EACrB,iBAAiB,EACjB,uBAAuB,EACvB,sBAAsB,EACtB,YAAY,EACZ,aAAa,EACb,eAAe,EACf,gBAAgB,EAChB,eAAe,EACf,eAAe,EACf,gBAAgB,GACjB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,UAAU,EACV,4BAA4B,EAC5B,kBAAkB,EAClB,mBAAmB,EACnB,iBAAiB,EACjB,OAAO,EACP,wBAAwB,EACxB,yBAAyB,EACzB,UAAU,E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AppShell, Divider, Grid, Screen, ScrollView, View } from './features/layout/public';
49
49
  export { FlatList, SectionList } from './features/list/public';
50
50
  export { List, ListItem, ListSection } from './features/list/public';
51
+ export { MasterDetail } from './features/master-detail/public';
51
52
  export { MatrixGrid } from './features/matrix-grid/public';
52
53
  export { MissingElement } from './features/missing-element/public';
53
54
  export { Pagination } from './features/pagination/public';
@@ -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,GAKT,MAAM,4BAA4B,CAAC;AAYpC,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAC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GX,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 {\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 { 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.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,w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,YAAY,EAGZ,YAAY,EAKZ,YAAY,GAEb,MAAM,4BAA4B,CAAC;AAMpC,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAE7D,OAAO,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAC;AAyBpD,OAAO,EACL,QAAQ,EACR,QAAQ,EACR,6BAA6B,EAC7B,yBAAyB,EACzB,uBAAuB,EACvB,WAAW,EACX,kBAAkB,EAClB,sBAAsB,EACtB,aAAa,EACb,iBAAiB,GAClB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,GAAG,EACH,OAAO,EAEP,QAAQ,EAGR,IAAI,GAEL,MAAM,wBAAwB,CAAC;AAOhC,OAAO,EACL,WAAW,EACX,aAAa,EACb,mBAAmB,EACnB,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 {\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"]}
@@ -0,0 +1,21 @@
1
+ import type React from 'react';
2
+ import type { ZoraBaseProps } from './base';
3
+ /** Identifies the compact pane selected by host-owned route state. */
4
+ export type MasterDetailActivePane = 'master' | 'detail';
5
+ /** Controls the expanded-width presentation without changing route state. */
6
+ export type MasterDetailDesktopMode = 'split' | 'master';
7
+ /** Limits the master column to readable workspace proportions. */
8
+ export type MasterDetailMasterWidth = 25 | 30 | 35 | 40;
9
+ /**
10
+ * Presentation-only workspace composition. Place it as a direct child of a non-scrolling Screen
11
+ * so its panes own bounded scrolling. The host supplies activePane from its route state; ZORA
12
+ * never creates routes or handles back navigation.
13
+ */
14
+ export interface MasterDetailProps extends ZoraBaseProps {
15
+ /** The first child is the master pane and the second child is the detail pane. */
16
+ children?: React.ReactNode;
17
+ activePane?: MasterDetailActivePane;
18
+ desktopMode?: MasterDetailDesktopMode;
19
+ masterWidth?: MasterDetailMasterWidth;
20
+ }
21
+ //# sourceMappingURL=master-detail.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"master-detail.d.ts","sourceRoot":"","sources":["../../src/types/master-detail.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AAE5C,sEAAsE;AACtE,MAAM,MAAM,sBAAsB,GAAG,QAAQ,GAAG,QAAQ,CAAC;AAEzD,6EAA6E;AAC7E,MAAM,MAAM,uBAAuB,GAAG,OAAO,GAAG,QAAQ,CAAC;AAEzD,kEAAkE;AAClE,MAAM,MAAM,uBAAuB,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC;AAExD;;;;GAIG;AACH,MAAM,WAAW,iBAAkB,SAAQ,aAAa;IACtD,kFAAkF;IAClF,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,UAAU,CAAC,EAAE,sBAAsB,CAAC;IACpC,WAAW,CAAC,EAAE,uBAAuB,CAAC;IACtC,WAAW,CAAC,EAAE,uBAAuB,CAAC;CACvC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=master-detail.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"master-detail.js","sourceRoot":"","sources":["../../src/types/master-detail.ts"],"names":[],"mappings":"","sourcesContent":["import type React from 'react';\n\nimport type { ZoraBaseProps } from './base';\n\n/** Identifies the compact pane selected by host-owned route state. */\nexport type MasterDetailActivePane = 'master' | 'detail';\n\n/** Controls the expanded-width presentation without changing route state. */\nexport type MasterDetailDesktopMode = 'split' | 'master';\n\n/** Limits the master column to readable workspace proportions. */\nexport type MasterDetailMasterWidth = 25 | 30 | 35 | 40;\n\n/**\n * Presentation-only workspace composition. Place it as a direct child of a non-scrolling Screen\n * so its panes own bounded scrolling. The host supplies activePane from its route state; ZORA\n * never creates routes or handles back navigation.\n */\nexport interface MasterDetailProps extends ZoraBaseProps {\n /** The first child is the master pane and the second child is the detail pane. */\n children?: React.ReactNode;\n activePane?: MasterDetailActivePane;\n desktopMode?: MasterDetailDesktopMode;\n masterWidth?: MasterDetailMasterWidth;\n}\n"]}
@@ -1,3 +1,4 @@
1
+ import type { ButtonIconSpec, ButtonLabelWeight } from '@ankhorage/surface';
1
2
  import type { ZoraBaseProps } from './base';
2
3
  export interface SelectOption<TValue extends string = string> {
3
4
  value: TValue;
@@ -13,6 +14,10 @@ export interface SelectProps<TValue extends string = string> extends ZoraBasePro
13
14
  helperText?: string;
14
15
  errorText?: string;
15
16
  placeholder?: string;
17
+ /** Optional Surface icon source rendered before the trigger label. */
18
+ leadingIcon?: ButtonIconSpec;
19
+ /** Optional Surface Button label emphasis; defaults to semiBold. */
20
+ labelWeight?: ButtonLabelWeight;
16
21
  required?: boolean;
17
22
  disabled?: boolean;
18
23
  readOnly?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"select.d.ts","sourceRoot":"","sources":["../../src/types/select.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AAE5C,MAAM,WAAW,YAAY,CAAC,MAAM,SAAS,MAAM,GAAG,MAAM;IAC1D,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,WAAW,WAAW,CAAC,MAAM,SAAS,MAAM,GAAG,MAAM,CAAE,SAAQ,aAAa;IAChF,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,OAAO,EAAE,SAAS,YAAY,CAAC,MAAM,CAAC,EAAE,CAAC;IACzC,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB"}
1
+ {"version":3,"file":"select.d.ts","sourceRoot":"","sources":["../../src/types/select.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAE5E,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AAE5C,MAAM,WAAW,YAAY,CAAC,MAAM,SAAS,MAAM,GAAG,MAAM;IAC1D,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,WAAW,WAAW,CAAC,MAAM,SAAS,MAAM,GAAG,MAAM,CAAE,SAAQ,aAAa;IAChF,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,OAAO,EAAE,SAAS,YAAY,CAAC,MAAM,CAAC,EAAE,CAAC;IACzC,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,sEAAsE;IACtE,WAAW,CAAC,EAAE,cAAc,CAAC;IAC7B,oEAAoE;IACpE,WAAW,CAAC,EAAE,iBAAiB,CAAC;IAChC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB"}
@@ -1 +1 @@
1
- {"version":3,"file":"select.js","sourceRoot":"","sources":["../../src/types/select.ts"],"names":[],"mappings":"","sourcesContent":["import type { ZoraBaseProps } from './base';\n\nexport interface SelectOption<TValue extends string = string> {\n value: TValue;\n label: string;\n disabled?: boolean;\n}\n\nexport interface SelectProps<TValue extends string = string> extends ZoraBaseProps {\n value?: TValue;\n defaultValue?: TValue;\n options: readonly SelectOption<TValue>[];\n onValueChange?: (value: TValue) => void;\n label?: string;\n helperText?: string;\n errorText?: string;\n placeholder?: string;\n required?: boolean;\n disabled?: boolean;\n readOnly?: boolean;\n invalid?: boolean;\n testID?: string;\n}\n"]}
1
+ {"version":3,"file":"select.js","sourceRoot":"","sources":["../../src/types/select.ts"],"names":[],"mappings":"","sourcesContent":["import type { ButtonIconSpec, ButtonLabelWeight } from '@ankhorage/surface';\n\nimport type { ZoraBaseProps } from './base';\n\nexport interface SelectOption<TValue extends string = string> {\n value: TValue;\n label: string;\n disabled?: boolean;\n}\n\nexport interface SelectProps<TValue extends string = string> extends ZoraBaseProps {\n value?: TValue;\n defaultValue?: TValue;\n options: readonly SelectOption<TValue>[];\n onValueChange?: (value: TValue) => void;\n label?: string;\n helperText?: string;\n errorText?: string;\n placeholder?: string;\n /** Optional Surface icon source rendered before the trigger label. */\n leadingIcon?: ButtonIconSpec;\n /** Optional Surface Button label emphasis; defaults to semiBold. */\n labelWeight?: ButtonLabelWeight;\n required?: boolean;\n disabled?: boolean;\n readOnly?: boolean;\n invalid?: boolean;\n testID?: string;\n}\n"]}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ankhorage/zora",
3
3
  "type": "module",
4
- "version": "27.8.0",
4
+ "version": "27.10.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": {
@@ -43,13 +43,13 @@
43
43
  "dependencies": {
44
44
  "@ankhorage/capability": "^0.2.3",
45
45
  "@ankhorage/color-theory": "^0.3.4",
46
- "@ankhorage/contracts": "^26.13.1",
46
+ "@ankhorage/contracts": "^26.17.0",
47
47
  "@ankhorage/game": "^0.1.4",
48
48
  "@ankhorage/graph": "^0.4.0",
49
49
  "@ankhorage/grid-view": "^0.5.0",
50
50
  "@ankhorage/reader": "^0.1.3",
51
- "@ankhorage/runtime": "^5.5.10",
52
- "@ankhorage/surface": "^9.5.20",
51
+ "@ankhorage/runtime": "^5.5.12",
52
+ "@ankhorage/surface": "^9.6.3",
53
53
  "@ankhorage/utility": "^1.10.1",
54
54
  "expo-document-picker": "~57.0.3",
55
55
  "expo-image-picker": "~57.0.20"
@@ -63,6 +63,20 @@
63
63
  "CHANGELOG.md",
64
64
  "LICENSE"
65
65
  ],
66
+ "imports": {
67
+ "#zora/theme/*": {
68
+ "types": "./dist/features/theme/*.d.ts",
69
+ "react-native": "./src/features/theme/*.ts",
70
+ "browser": "./src/features/theme/*.ts",
71
+ "import": "./dist/features/theme/*.js",
72
+ "default": "./dist/features/theme/*.js"
73
+ },
74
+ "#zora/types/*": {
75
+ "types": "./dist/types/*.d.ts",
76
+ "import": "./dist/types/*.js",
77
+ "default": "./dist/types/*.js"
78
+ }
79
+ },
66
80
  "exports": {
67
81
  ".": {
68
82
  "react-native": "./src/index.ts",
@@ -168,7 +182,7 @@
168
182
  "version-packages": "ankhorage-changeset version"
169
183
  },
170
184
  "devDependencies": {
171
- "@ankhorage/devtools": "^2.10.9",
185
+ "@ankhorage/devtools": "^2.10.15",
172
186
  "@ankhorage/paradox": "^0.6.0",
173
187
  "@react-native-vector-icons/fontawesome": "^14.0.0",
174
188
  "@react-native-vector-icons/fontawesome5": "^14.0.0",
@@ -36,6 +36,7 @@ export const FEATURE_MANIFEST_ELEMENTS = {
36
36
  icon: ['Icon'],
37
37
  image: ['Image'],
38
38
  'keyboard-avoiding-view': ['KeyboardAvoidingView'],
39
+ 'master-detail': ['MasterDetail'],
39
40
  'content-rail': ['ContentRail'],
40
41
  layout: ['Divider', 'Grid', 'Screen', 'ScrollView', 'View'],
41
42
  section: ['ScreenSection', 'SectionHeader'],
@@ -104,6 +105,7 @@ export const CONTAINER_ALLOWED_CHILDREN = [
104
105
  'Image',
105
106
  'Hero',
106
107
  'KeyboardAvoidingView',
108
+ 'MasterDetail',
107
109
  'Button',
108
110
  'ButtonGroup',
109
111
  'RadioGroup',
@@ -15,6 +15,8 @@ export function SelectTrigger<TValue extends string>({
15
15
  disabled={props.disabled}
16
16
  fullWidth
17
17
  interactionPolicy={props.interactionPolicy}
18
+ leadingIcon={props.leadingIcon}
19
+ labelWeight={props.labelWeight ?? 'semiBold'}
18
20
  onPress={props.readOnly ? undefined : onPress}
19
21
  testID={props.testID ? `${props.testID}-trigger` : undefined}
20
22
  trailingIcon={SELECT_CHEVRON_ICON}
@@ -1,5 +1,6 @@
1
1
  import { expect, test } from 'bun:test';
2
2
 
3
+ import type { SelectProps } from '../../../types/select';
3
4
  import { selectMeta } from './selectMeta';
4
5
 
5
6
  test('Select is a direct manifest node with valueChange payload', () => {
@@ -10,6 +11,36 @@ test('Select is a direct manifest node with valueChange payload', () => {
10
11
  ]);
11
12
  });
12
13
 
14
+ test('Select registers the optional leading icon as instance-owned media metadata', () => {
15
+ expect(selectMeta.props.leadingIcon).toEqual({
16
+ type: 'media',
17
+ category: 'Content',
18
+ label: 'Leading SVG icon',
19
+ mediaKinds: ['image'],
20
+ authoring: { authority: 'instance' },
21
+ });
22
+ });
23
+
24
+ test('Select registers optional trigger label emphasis as serializable metadata', () => {
25
+ expect(selectMeta.props.labelWeight).toEqual({
26
+ type: 'string',
27
+ category: 'Style',
28
+ label: 'Label weight',
29
+ enum: ['semiBold', 'bold'],
30
+ default: 'semiBold',
31
+ authoring: { authority: 'instance' },
32
+ });
33
+ });
34
+
35
+ test('Select is exported through its public component entrypoint', async () => {
36
+ const publicEntry = await Bun.file('src/features/form/select/public.ts').text();
37
+
38
+ expect(publicEntry).toContain(
39
+ "export type { SelectOption, SelectProps } from '../../../types/select';",
40
+ );
41
+ expect(publicEntry).toContain("export { Select } from './adapters/inbound/Select';");
42
+ });
43
+
13
44
  test('Select uses web Popover and native BottomSheetFlatList presentation', async () => {
14
45
  const [neutral, web, native] = await Promise.all([
15
46
  Bun.file('src/features/form/select/adapters/inbound/Select.tsx').text(),
@@ -23,3 +54,26 @@ test('Select uses web Popover and native BottomSheetFlatList presentation', asyn
23
54
  expect(native).toContain("contentMode: 'direct'");
24
55
  expect(`${neutral}\n${web}\n${native}`).not.toContain('@react-native-picker/picker');
25
56
  });
57
+
58
+ test('Select supports default weight, bold emphasis, SVG icons, and their combination', async () => {
59
+ const props: SelectProps = {
60
+ options: [{ label: 'Workspace', value: 'workspace' }],
61
+ };
62
+ const svgIcon = {
63
+ source:
64
+ 'data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"%3E%3C/svg%3E',
65
+ } as const;
66
+ const configurations = [
67
+ props,
68
+ { ...props, labelWeight: 'bold' },
69
+ { ...props, leadingIcon: svgIcon },
70
+ { ...props, labelWeight: 'bold', leadingIcon: svgIcon },
71
+ ] satisfies readonly SelectProps[];
72
+ const selectTrigger = await Bun.file(
73
+ 'src/features/form/select/composition/SelectTrigger.tsx',
74
+ ).text();
75
+
76
+ expect(configurations).toHaveLength(4);
77
+ expect(selectTrigger).toContain("labelWeight={props.labelWeight ?? 'semiBold'}");
78
+ expect(selectTrigger).toContain('leadingIcon={props.leadingIcon}');
79
+ });