@reqvire-org/ads 0.5.0 → 0.5.1

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 (510) hide show
  1. package/README.md +9 -6
  2. package/dist/ads-errors.mjs +275 -12
  3. package/dist/ads-views.mjs +4 -4
  4. package/dist/analysis/design-usage.mjs +20 -4
  5. package/dist/analysis/mock-check.mjs +5 -4
  6. package/dist/analysis/owner-analysis-key.mjs +1 -1
  7. package/dist/analysis/owner-choices.mjs +172 -39
  8. package/dist/analysis/owner-composition.mjs +37 -13
  9. package/dist/analysis/owner-controls.mjs +27 -0
  10. package/dist/analysis/owner-source.mjs +67 -18
  11. package/dist/analysis/prose-owners.mjs +57 -0
  12. package/dist/analysis/styling-ownership.mjs +22 -0
  13. package/dist/check.mjs +7 -1
  14. package/dist/cli-arguments.mjs +2 -2
  15. package/dist/cli.mjs +3 -3
  16. package/dist/composed-contrast.mjs +28 -8
  17. package/dist/composed-keyline.mjs +107 -0
  18. package/dist/construction-output.mjs +146 -18
  19. package/dist/construction-spec.d.mts +212 -9
  20. package/dist/construction-spec.mjs +297 -56
  21. package/dist/corner-overpaint.mjs +53 -0
  22. package/dist/design-foundation.mjs +6 -1
  23. package/dist/design-usage.mjs +8 -2
  24. package/dist/emit/emission.mjs +11 -4
  25. package/dist/emit/font-emission.mjs +21 -1
  26. package/dist/emit/foundation-sheet.mjs +6 -5
  27. package/dist/emit/preview-tree.mjs +1 -1
  28. package/dist/finding-rules.mjs +7 -0
  29. package/dist/font-checks.mjs +42 -0
  30. package/dist/font-declaration.d.mts +10 -0
  31. package/dist/font-declaration.mjs +25 -3
  32. package/dist/font-fallback.d.mts +37 -0
  33. package/dist/font-fallback.mjs +25 -0
  34. package/dist/font-macro.d.mts +10 -0
  35. package/dist/font-metrics.d.mts +34 -0
  36. package/dist/font-metrics.mjs +314 -0
  37. package/dist/font-model.mjs +28 -2
  38. package/dist/foundation-macro.d.mts +1 -1
  39. package/dist/frame-regions.mjs +66 -3
  40. package/dist/grid-facts.mjs +72 -16
  41. package/dist/grid-lowering.mjs +11 -5
  42. package/dist/init.mjs +14 -23
  43. package/dist/lowering-enter.mjs +31 -0
  44. package/dist/lowering-properties.mjs +22 -1
  45. package/dist/lowering-region-layout.mjs +42 -8
  46. package/dist/lowering-sequence.mjs +89 -0
  47. package/dist/lowering-session.mjs +7 -0
  48. package/dist/lowering-transitions.mjs +22 -8
  49. package/dist/mcp/preview-http.bundle.js +2 -2
  50. package/dist/mcp/preview-widget.bundle.js +5 -5
  51. package/dist/motion-model.mjs +2 -0
  52. package/dist/owner-analysis-check.mjs +67 -7
  53. package/dist/owner-errors.mjs +16 -0
  54. package/dist/owner-lowering.mjs +36 -16
  55. package/dist/owner-scenarios.mjs +25 -3
  56. package/dist/ownership-model.mjs +23 -4
  57. package/dist/paint-contrast.mjs +5 -0
  58. package/dist/placeholder-contrast.mjs +1 -0
  59. package/dist/platform-features.mjs +26 -2
  60. package/dist/preview-bun.mjs +17 -16
  61. package/dist/preview-controls.mjs +35 -0
  62. package/dist/preview-incremental.mjs +1 -1
  63. package/dist/preview-source.mjs +2 -2
  64. package/dist/profile-macro.d.mts +15 -0
  65. package/dist/profile-model.mjs +3 -3
  66. package/dist/profile-view-facts.mjs +55 -4
  67. package/dist/prose-model.d.mts +81 -0
  68. package/dist/prose-model.mjs +101 -0
  69. package/dist/recipe-macro.d.mts +105 -3
  70. package/dist/recipe-model.mjs +31 -7
  71. package/dist/region-lowering.mjs +241 -41
  72. package/dist/render-audit/corner-overpaint.page.mjs +54 -0
  73. package/dist/render-audit/worker.mjs +6 -1
  74. package/dist/render-audit.mjs +25 -0
  75. package/dist/role-vocabulary.d.mts +38 -2
  76. package/dist/role-vocabulary.mjs +39 -4
  77. package/dist/scenario-kit.d.mts +6 -0
  78. package/dist/scenario-registry.mjs +1 -1
  79. package/dist/scheme-switch.d.mts +8 -0
  80. package/dist/scheme-switch.mjs +1 -0
  81. package/dist/showcase/ads-views.mjs +116 -53
  82. package/dist/showcase/assets-view.mjs +117 -86
  83. package/dist/showcase/client.bundle.js +65 -65
  84. package/dist/showcase/http-client.bundle.js +17 -17
  85. package/dist/showcase/preview-frame.css +2 -0
  86. package/dist/showcase/profiles-view.mjs +163 -122
  87. package/dist/showcase/scenario-page.d.mts +11 -1
  88. package/dist/showcase/scenario-page.mjs +18 -3
  89. package/dist/showcase/token-sample.mjs +47 -4
  90. package/dist/showcase/tokens-view.mjs +82 -34
  91. package/dist/showcase/ui/ui.css +1 -1
  92. package/dist/showcase/ui/ui.js +5 -5
  93. package/dist/skills/README.md +5 -5
  94. package/dist/skills/ads-designer/README.md +1 -1
  95. package/dist/skills/ads-designer/SKILL.md +13 -12
  96. package/dist/skills/ads-designer/references/accessibility.md +2 -2
  97. package/dist/skills/ads-designer/references/atomic-styles.md +8 -1
  98. package/dist/skills/ads-designer/references/branding.md +7 -2
  99. package/dist/skills/ads-designer/references/cli.md +4 -4
  100. package/dist/skills/ads-designer/references/contracts.md +9 -2
  101. package/dist/skills/ads-designer/references/design-craft.md +1 -1
  102. package/dist/skills/ads-designer/references/design-data.md +3 -3
  103. package/dist/skills/ads-designer/references/forms.md +6 -6
  104. package/dist/skills/ads-designer/references/layout.md +42 -3
  105. package/dist/skills/ads-designer/references/motion.md +37 -1
  106. package/dist/skills/ads-designer/references/performance.md +7 -1
  107. package/dist/skills/ads-designer/references/recipes.md +67 -6
  108. package/dist/skills/ads-designer/references/runtimes.md +1 -1
  109. package/dist/skills/ads-designer/references/scenarios.md +1 -0
  110. package/dist/skills/ads-import/references/atomic-styles.md +8 -1
  111. package/dist/skills/ads-import/references/cli.md +4 -4
  112. package/dist/skills/ads-import/references/contracts.md +9 -2
  113. package/dist/skills/ads-import/references/design-data.md +3 -3
  114. package/dist/skills/ads-import/references/forms.md +6 -6
  115. package/dist/skills/ads-import/references/layout.md +42 -3
  116. package/dist/skills/ads-import/references/recipes.md +67 -6
  117. package/dist/skills/ads-import/references/runtimes.md +1 -1
  118. package/dist/skills/ads-import/references/scenarios.md +1 -0
  119. package/dist/skills/ads-migrate/SKILL.md +2 -1
  120. package/dist/skills/ads-migrate/references/0.5.0-to-0.5.1.md +239 -0
  121. package/dist/skills/ads-port/references/atomic-styles.md +8 -1
  122. package/dist/skills/ads-port/references/cli.md +4 -4
  123. package/dist/skills/ads-port/references/contracts.md +9 -2
  124. package/dist/skills/ads-port/references/design-data.md +3 -3
  125. package/dist/skills/ads-port/references/forms.md +6 -6
  126. package/dist/skills/ads-port/references/layout.md +42 -3
  127. package/dist/skills/ads-port/references/recipes.md +67 -6
  128. package/dist/skills/ads-port/references/runtimes.md +1 -1
  129. package/dist/skills/ads-port/references/scenarios.md +1 -0
  130. package/dist/spatial-model.mjs +20 -4
  131. package/dist/state-conditions.d.mts +29 -0
  132. package/dist/state-conditions.mjs +42 -2
  133. package/dist/surface-contrast.mjs +68 -10
  134. package/dist/surface-effects.mjs +98 -0
  135. package/dist/target-size.mjs +1 -1
  136. package/dist/task-cache.mjs +1 -1
  137. package/dist/token-dtcg.mjs +1 -0
  138. package/dist/token-view-facts.mjs +54 -5
  139. package/dist/unreached-sources.mjs +5 -0
  140. package/dist/validation.mjs +1 -1
  141. package/docs/ADS.md +36 -13
  142. package/docs/ARCHITECTURE.md +160 -16
  143. package/docs/ASSETS.md +81 -10
  144. package/docs/CACHING.md +1 -1
  145. package/docs/CHANGELOG.md +346 -21
  146. package/docs/DESIGN-REFERENCES.md +5 -5
  147. package/docs/GUIDE.md +241 -72
  148. package/docs/LANGUAGE.md +287 -21
  149. package/docs/LOWERING.md +13 -1
  150. package/docs/MOTION.md +233 -7
  151. package/docs/PROFILE-KINDS.md +167 -13
  152. package/docs/PROFILES.md +2 -2
  153. package/docs/RULES.md +49 -18
  154. package/docs/TOKEN-ROLES.md +9 -7
  155. package/package.json +1 -1
  156. package/dist/starter-files.mjs +0 -155
  157. package/dist/starter-overlay.mjs +0 -189
  158. package/dist/starters/preact/design-system/assets/avatars/avatar.ads.ts +0 -10
  159. package/dist/starters/preact/design-system/assets/avatars/member.svg +0 -1
  160. package/dist/starters/preact/design-system/assets/brand/emblem.ads.ts +0 -18
  161. package/dist/starters/preact/design-system/assets/brand/emblem.svg +0 -4
  162. package/dist/starters/preact/design-system/assets/brand/iris-emblem.ads.ts +0 -14
  163. package/dist/starters/preact/design-system/assets/brand/iris-emblem.svg +0 -4
  164. package/dist/starters/preact/design-system/assets/brand/mark.ads.ts +0 -14
  165. package/dist/starters/preact/design-system/assets/brand/mark.svg +0 -1
  166. package/dist/starters/preact/design-system/assets/glyphs/arrow.ads.ts +0 -14
  167. package/dist/starters/preact/design-system/assets/glyphs/arrow.svg +0 -1
  168. package/dist/starters/preact/design-system/assets/glyphs/chevron-20.svg +0 -1
  169. package/dist/starters/preact/design-system/assets/glyphs/chevron-24.svg +0 -1
  170. package/dist/starters/preact/design-system/assets/glyphs/chevron.ads.ts +0 -20
  171. package/dist/starters/preact/design-system/assets/glyphs/close.ads.ts +0 -13
  172. package/dist/starters/preact/design-system/assets/glyphs/close.svg +0 -1
  173. package/dist/starters/preact/design-system/assets/glyphs/favorite.ads.ts +0 -23
  174. package/dist/starters/preact/design-system/assets/glyphs/favorite.normal.svg +0 -1
  175. package/dist/starters/preact/design-system/assets/glyphs/favorite.selected.svg +0 -1
  176. package/dist/starters/preact/design-system/assets/glyphs/search.ads.ts +0 -10
  177. package/dist/starters/preact/design-system/assets/glyphs/search.svg +0 -1
  178. package/dist/starters/preact/design-system/assets/illustrations/journey.ads.ts +0 -32
  179. package/dist/starters/preact/design-system/assets/illustrations/journey.contrast.svg +0 -6
  180. package/dist/starters/preact/design-system/assets/illustrations/journey.dark.svg +0 -13
  181. package/dist/starters/preact/design-system/assets/illustrations/journey.light.svg +0 -13
  182. package/dist/starters/preact/design-system/assets/logos/harbor-pay.ads.ts +0 -17
  183. package/dist/starters/preact/design-system/assets/logos/harbor-pay.dark.svg +0 -10
  184. package/dist/starters/preact/design-system/assets/logos/harbor-pay.light.svg +0 -10
  185. package/dist/starters/preact/design-system/assets/logos/lumen-cloud.ads.ts +0 -15
  186. package/dist/starters/preact/design-system/assets/logos/lumen-cloud.dark.svg +0 -9
  187. package/dist/starters/preact/design-system/assets/logos/lumen-cloud.light.svg +0 -9
  188. package/dist/starters/preact/design-system/assets/status/error.svg +0 -1
  189. package/dist/starters/preact/design-system/assets/status/outcomes.ads.ts +0 -31
  190. package/dist/starters/preact/design-system/assets/status/status.ads.ts +0 -16
  191. package/dist/starters/preact/design-system/assets/status/success.svg +0 -1
  192. package/dist/starters/preact/design-system/assets/status/sync-status.ads.ts +0 -14
  193. package/dist/starters/preact/design-system/assets/status/sync-status.svg +0 -7
  194. package/dist/starters/preact/design-system/assets/status/warning.svg +0 -1
  195. package/dist/starters/preact/design-system/components/Actions/Button/Button.ads.scenario.tsx +0 -12
  196. package/dist/starters/preact/design-system/components/Actions/Button/Button.tsx +0 -198
  197. package/dist/starters/preact/design-system/components/Actions/IconButton/IconButton.tsx +0 -95
  198. package/dist/starters/preact/design-system/components/Actions/ToggleTile/ToggleTile.ads.scenario.tsx +0 -22
  199. package/dist/starters/preact/design-system/components/Actions/ToggleTile/ToggleTile.tsx +0 -60
  200. package/dist/starters/preact/design-system/components/Containers/Disclosure/Disclosure.ads.scenario.tsx +0 -24
  201. package/dist/starters/preact/design-system/components/Containers/Disclosure/Disclosure.tsx +0 -50
  202. package/dist/starters/preact/design-system/components/Content/Artwork/Artwork.ads.scenario.tsx +0 -8
  203. package/dist/starters/preact/design-system/components/Content/Artwork/Artwork.tsx +0 -110
  204. package/dist/starters/preact/design-system/components/Content/BarChart/BarChart.ads.scenario.tsx +0 -25
  205. package/dist/starters/preact/design-system/components/Content/BarChart/BarChart.tsx +0 -72
  206. package/dist/starters/preact/design-system/components/Content/GuideGrid/GuideGrid.ads.scenario.tsx +0 -8
  207. package/dist/starters/preact/design-system/components/Content/GuideGrid/GuideGrid.tsx +0 -43
  208. package/dist/starters/preact/design-system/components/Content/Icon/Icon.ads.scenario.tsx +0 -21
  209. package/dist/starters/preact/design-system/components/Content/Icon/Icon.tsx +0 -41
  210. package/dist/starters/preact/design-system/components/Content/Icon/glyphs/arrow.tsx +0 -10
  211. package/dist/starters/preact/design-system/components/Content/Icon/glyphs/close.tsx +0 -10
  212. package/dist/starters/preact/design-system/components/Content/Icon/glyphs/search.tsx +0 -10
  213. package/dist/starters/preact/design-system/components/Content/Image/Image.ads.fixture.ts +0 -9
  214. package/dist/starters/preact/design-system/components/Content/Image/Image.ads.scenario.tsx +0 -12
  215. package/dist/starters/preact/design-system/components/Content/Image/Image.tsx +0 -83
  216. package/dist/starters/preact/design-system/components/Content/InspectedGlyph/InspectedGlyph.ads.scenario.tsx +0 -27
  217. package/dist/starters/preact/design-system/components/Content/InspectedGlyph/InspectedGlyph.tsx +0 -46
  218. package/dist/starters/preact/design-system/components/Content/PartnerLogo/PartnerLogo.ads.scenario.tsx +0 -17
  219. package/dist/starters/preact/design-system/components/Content/PartnerLogo/PartnerLogo.tsx +0 -41
  220. package/dist/starters/preact/design-system/components/Content/StatusIcon/StatusIcon.ads.scenario.tsx +0 -20
  221. package/dist/starters/preact/design-system/components/Content/StatusIcon/StatusIcon.tsx +0 -37
  222. package/dist/starters/preact/design-system/components/Forms/TextField/TextField.ads.scenario.tsx +0 -24
  223. package/dist/starters/preact/design-system/components/Forms/TextField/TextField.tsx +0 -173
  224. package/dist/starters/preact/design-system/components/Identity/Identity.ads.scenario.tsx +0 -13
  225. package/dist/starters/preact/design-system/components/Identity/Identity.tsx +0 -146
  226. package/dist/starters/preact/design-system/components/Overlays/Menu/Menu.ads.scenario.tsx +0 -27
  227. package/dist/starters/preact/design-system/components/Overlays/Menu/Menu.tsx +0 -194
  228. package/dist/starters/preact/design-system/components/Overlays/Popover/Popover.ads.scenario.tsx +0 -19
  229. package/dist/starters/preact/design-system/components/Overlays/Popover/Popover.tsx +0 -37
  230. package/dist/starters/preact/design-system/controllers/FormField/FormField.ads.behavior.ts +0 -70
  231. package/dist/starters/preact/design-system/controllers/FormField/FormField.behavior.spec.ts +0 -237
  232. package/dist/starters/preact/design-system/controllers/FormField/FormField.ts +0 -343
  233. package/dist/starters/preact/design-system/controllers/FormField/useFormField.ts +0 -70
  234. package/dist/starters/preact/design-system/controllers/Palette/Palette.ts +0 -165
  235. package/dist/starters/preact/design-system/foundation.ads.ts +0 -22
  236. package/dist/starters/preact/design-system/index.ts +0 -51
  237. package/dist/starters/preact/design-system/mocks/ConstructionProofs/ConstructionProofs.ads.fixture.ts +0 -5
  238. package/dist/starters/preact/design-system/mocks/ConstructionProofs/ConstructionProofs.ads.scenario.tsx +0 -22
  239. package/dist/starters/preact/design-system/mocks/Inspector/Inspector.ads.fixture.ts +0 -12
  240. package/dist/starters/preact/design-system/mocks/Inspector/Inspector.ads.scenario.tsx +0 -21
  241. package/dist/starters/preact/design-system/mocks/Workspace/Layouts.ads.scenario.tsx +0 -24
  242. package/dist/starters/preact/design-system/mocks/Workspace/Media.ads.scenario.tsx +0 -24
  243. package/dist/starters/preact/design-system/mocks/Workspace/Stress.ads.scenario.tsx +0 -36
  244. package/dist/starters/preact/design-system/mocks/Workspace/Workspace.ads.fixture.ts +0 -13
  245. package/dist/starters/preact/design-system/mocks/Workspace/Workspace.ads.scenario.tsx +0 -27
  246. package/dist/starters/preact/design-system/mocks/Workspace/media/ads.svg +0 -1
  247. package/dist/starters/preact/design-system/palette.generated.ts +0 -188
  248. package/dist/starters/preact/design-system/patterns/ArtworkCatalogue/ArtworkCatalogue/ArtworkCatalogue.tsx +0 -73
  249. package/dist/starters/preact/design-system/patterns/ConstructionWorkbench/ConstructionWorkbench/ConstructionWorkbench.ads.scenario.tsx +0 -23
  250. package/dist/starters/preact/design-system/patterns/ConstructionWorkbench/ConstructionWorkbench/ConstructionWorkbench.tsx +0 -94
  251. package/dist/starters/preact/design-system/patterns/Forms/InviteMember/InviteMember.ads.scenario.tsx +0 -21
  252. package/dist/starters/preact/design-system/patterns/Forms/InviteMember/InviteMember.tsx +0 -137
  253. package/dist/starters/preact/design-system/patterns/Inspector/Inspector/Inspector.ads.scenario.tsx +0 -22
  254. package/dist/starters/preact/design-system/patterns/Inspector/Inspector/Inspector.tsx +0 -248
  255. package/dist/starters/preact/design-system/patterns/Shell/Shell.ads.scenario.tsx +0 -26
  256. package/dist/starters/preact/design-system/patterns/Shell/Shell.tsx +0 -268
  257. package/dist/starters/preact/design-system/patterns/Workspace/Workspace/Workspace.ads.scenario.tsx +0 -28
  258. package/dist/starters/preact/design-system/patterns/Workspace/Workspace/Workspace.tsx +0 -105
  259. package/dist/starters/preact/design-system/patterns/Workspace/Workspace/WorkspacePanels.tsx +0 -179
  260. package/dist/starters/preact/design-system/profiles/Containers/containers.ads.ts +0 -67
  261. package/dist/starters/preact/design-system/profiles/Containers/frames.ads.ts +0 -32
  262. package/dist/starters/preact/design-system/profiles/Containers/geometry.ads.ts +0 -30
  263. package/dist/starters/preact/design-system/profiles/Containers/spacing.ads.ts +0 -26
  264. package/dist/starters/preact/design-system/profiles/Controls/controls.ads.ts +0 -157
  265. package/dist/starters/preact/design-system/profiles/Controls/frames.ads.ts +0 -50
  266. package/dist/starters/preact/design-system/profiles/Controls/spacing.ads.ts +0 -29
  267. package/dist/starters/preact/design-system/profiles/Focus/keyboard.ads.ts +0 -13
  268. package/dist/starters/preact/design-system/profiles/Identity/identity.ads.ts +0 -25
  269. package/dist/starters/preact/design-system/profiles/Identity/spacing.ads.ts +0 -22
  270. package/dist/starters/preact/design-system/profiles/Layout/grid.ads.ts +0 -69
  271. package/dist/starters/preact/design-system/profiles/Layout/inspector.ads.ts +0 -146
  272. package/dist/starters/preact/design-system/profiles/Layout/overlays.ads.ts +0 -94
  273. package/dist/starters/preact/design-system/profiles/Layout/regions.ads.ts +0 -296
  274. package/dist/starters/preact/design-system/profiles/Motion/feedback.ads.ts +0 -92
  275. package/dist/starters/preact/design-system/profiles/Surfaces/controls.ads.ts +0 -142
  276. package/dist/starters/preact/design-system/profiles/Surfaces/document.ads.ts +0 -2
  277. package/dist/starters/preact/design-system/profiles/Surfaces/materials.ads.ts +0 -18
  278. package/dist/starters/preact/design-system/profiles/Surfaces/surfaces.ads.ts +0 -48
  279. package/dist/starters/preact/design-system/profiles/Typography/details.ads.ts +0 -19
  280. package/dist/starters/preact/design-system/profiles/Typography/document.ads.ts +0 -2
  281. package/dist/starters/preact/design-system/profiles/Typography/headings.ads.ts +0 -15
  282. package/dist/starters/preact/design-system/profiles/Typography/text.ads.ts +0 -73
  283. package/dist/starters/preact/design-system/profiles/Visuals/artwork.ads.ts +0 -46
  284. package/dist/starters/preact/design-system/profiles/Visuals/charts.ads.ts +0 -31
  285. package/dist/starters/preact/design-system/profiles/Visuals/content.ads.ts +0 -52
  286. package/dist/starters/preact/design-system/profiles/Visuals/glyphs.ads.ts +0 -35
  287. package/dist/starters/preact/design-system/profiles/Visuals/identity.ads.ts +0 -24
  288. package/dist/starters/preact/design-system/tokens/Artwork/paint.ads.css +0 -7
  289. package/dist/starters/preact/design-system/tokens/Artwork/visual-size.ads.css +0 -12
  290. package/dist/starters/preact/design-system/tokens/Brand/paint.ads.css +0 -7
  291. package/dist/starters/preact/design-system/tokens/Charts/paint.ads.css +0 -19
  292. package/dist/starters/preact/design-system/tokens/Containers/border-width.ads.css +0 -1
  293. package/dist/starters/preact/design-system/tokens/Containers/content-gap.ads.css +0 -5
  294. package/dist/starters/preact/design-system/tokens/Containers/frame-inset.ads.css +0 -6
  295. package/dist/starters/preact/design-system/tokens/Containers/frame-size.ads.css +0 -11
  296. package/dist/starters/preact/design-system/tokens/Containers/radius.ads.css +0 -1
  297. package/dist/starters/preact/design-system/tokens/Controls/border-width.ads.css +0 -4
  298. package/dist/starters/preact/design-system/tokens/Controls/content-gap.ads.css +0 -6
  299. package/dist/starters/preact/design-system/tokens/Controls/control-min-size.ads.css +0 -17
  300. package/dist/starters/preact/design-system/tokens/Controls/frame-inset.ads.css +0 -21
  301. package/dist/starters/preact/design-system/tokens/Controls/radius.ads.css +0 -1
  302. package/dist/starters/preact/design-system/tokens/Controls/target-min-size.ads.css +0 -2
  303. package/dist/starters/preact/design-system/tokens/Controls/visual-size.ads.css +0 -2
  304. package/dist/starters/preact/design-system/tokens/Focus/border-width.ads.css +0 -1
  305. package/dist/starters/preact/design-system/tokens/Focus/focus-offset.ads.css +0 -1
  306. package/dist/starters/preact/design-system/tokens/Foundation/spacing.ads.css +0 -20
  307. package/dist/starters/preact/design-system/tokens/Grid/grid-gutter.ads.css +0 -6
  308. package/dist/starters/preact/design-system/tokens/Grid/layer.ads.css +0 -2
  309. package/dist/starters/preact/design-system/tokens/Grid/layout-size.ads.css +0 -15
  310. package/dist/starters/preact/design-system/tokens/Grid/spacing.ads.css +0 -12
  311. package/dist/starters/preact/design-system/tokens/Grid/track-count.ads.css +0 -1
  312. package/dist/starters/preact/design-system/tokens/Identity/content-gap.ads.css +0 -6
  313. package/dist/starters/preact/design-system/tokens/Identity/visual-size.ads.css +0 -1
  314. package/dist/starters/preact/design-system/tokens/Motion/duration.ads.css +0 -6
  315. package/dist/starters/preact/design-system/tokens/Motion/easing.ads.css +0 -5
  316. package/dist/starters/preact/design-system/tokens/Motion/motion-angle.ads.css +0 -1
  317. package/dist/starters/preact/design-system/tokens/Motion/motion-distance.ads.css +0 -2
  318. package/dist/starters/preact/design-system/tokens/Motion/motion-scale.ads.css +0 -9
  319. package/dist/starters/preact/design-system/tokens/Surfaces/blur.ads.css +0 -2
  320. package/dist/starters/preact/design-system/tokens/Surfaces/gradient.ads.css +0 -2
  321. package/dist/starters/preact/design-system/tokens/Surfaces/opacity.ads.css +0 -2
  322. package/dist/starters/preact/design-system/tokens/Surfaces/paint.ads.css +0 -58
  323. package/dist/starters/preact/design-system/tokens/Surfaces/shadow.ads.css +0 -20
  324. package/dist/starters/preact/design-system/tokens/Typography/font-family.ads.css +0 -1
  325. package/dist/starters/preact/design-system/tokens/Typography/font-features.ads.css +0 -1
  326. package/dist/starters/preact/design-system/tokens/Typography/font-size.ads.css +0 -9
  327. package/dist/starters/preact/design-system/tokens/Typography/font-stretch.ads.css +0 -1
  328. package/dist/starters/preact/design-system/tokens/Typography/font-variations.ads.css +0 -1
  329. package/dist/starters/preact/design-system/tokens/Typography/font-weight.ads.css +0 -1
  330. package/dist/starters/preact/design-system/tokens/Typography/letter-spacing.ads.css +0 -1
  331. package/dist/starters/preact/design-system/tokens/Typography/line-height.ads.css +0 -11
  332. package/dist/starters/preact/design-system/tokens/Typography/word-spacing.ads.css +0 -1
  333. package/dist/starters/preact/starter.json +0 -11
  334. package/dist/starters/react/design-system/assets/avatars/avatar.ads.ts +0 -10
  335. package/dist/starters/react/design-system/assets/avatars/member.svg +0 -1
  336. package/dist/starters/react/design-system/assets/brand/emblem.ads.ts +0 -18
  337. package/dist/starters/react/design-system/assets/brand/emblem.svg +0 -4
  338. package/dist/starters/react/design-system/assets/brand/iris-emblem.ads.ts +0 -14
  339. package/dist/starters/react/design-system/assets/brand/iris-emblem.svg +0 -4
  340. package/dist/starters/react/design-system/assets/brand/mark.ads.ts +0 -14
  341. package/dist/starters/react/design-system/assets/brand/mark.svg +0 -1
  342. package/dist/starters/react/design-system/assets/glyphs/arrow.ads.ts +0 -14
  343. package/dist/starters/react/design-system/assets/glyphs/arrow.svg +0 -1
  344. package/dist/starters/react/design-system/assets/glyphs/chevron-20.svg +0 -1
  345. package/dist/starters/react/design-system/assets/glyphs/chevron-24.svg +0 -1
  346. package/dist/starters/react/design-system/assets/glyphs/chevron.ads.ts +0 -20
  347. package/dist/starters/react/design-system/assets/glyphs/close.ads.ts +0 -13
  348. package/dist/starters/react/design-system/assets/glyphs/close.svg +0 -1
  349. package/dist/starters/react/design-system/assets/glyphs/favorite.ads.ts +0 -23
  350. package/dist/starters/react/design-system/assets/glyphs/favorite.normal.svg +0 -1
  351. package/dist/starters/react/design-system/assets/glyphs/favorite.selected.svg +0 -1
  352. package/dist/starters/react/design-system/assets/glyphs/search.ads.ts +0 -10
  353. package/dist/starters/react/design-system/assets/glyphs/search.svg +0 -1
  354. package/dist/starters/react/design-system/assets/illustrations/journey.ads.ts +0 -32
  355. package/dist/starters/react/design-system/assets/illustrations/journey.contrast.svg +0 -6
  356. package/dist/starters/react/design-system/assets/illustrations/journey.dark.svg +0 -13
  357. package/dist/starters/react/design-system/assets/illustrations/journey.light.svg +0 -13
  358. package/dist/starters/react/design-system/assets/logos/harbor-pay.ads.ts +0 -17
  359. package/dist/starters/react/design-system/assets/logos/harbor-pay.dark.svg +0 -10
  360. package/dist/starters/react/design-system/assets/logos/harbor-pay.light.svg +0 -10
  361. package/dist/starters/react/design-system/assets/logos/lumen-cloud.ads.ts +0 -15
  362. package/dist/starters/react/design-system/assets/logos/lumen-cloud.dark.svg +0 -9
  363. package/dist/starters/react/design-system/assets/logos/lumen-cloud.light.svg +0 -9
  364. package/dist/starters/react/design-system/assets/status/error.svg +0 -1
  365. package/dist/starters/react/design-system/assets/status/outcomes.ads.ts +0 -31
  366. package/dist/starters/react/design-system/assets/status/status.ads.ts +0 -16
  367. package/dist/starters/react/design-system/assets/status/success.svg +0 -1
  368. package/dist/starters/react/design-system/assets/status/sync-status.ads.ts +0 -14
  369. package/dist/starters/react/design-system/assets/status/sync-status.svg +0 -7
  370. package/dist/starters/react/design-system/assets/status/warning.svg +0 -1
  371. package/dist/starters/react/design-system/components/Actions/Button/Button.ads.scenario.tsx +0 -12
  372. package/dist/starters/react/design-system/components/Actions/Button/Button.tsx +0 -198
  373. package/dist/starters/react/design-system/components/Actions/IconButton/IconButton.tsx +0 -95
  374. package/dist/starters/react/design-system/components/Actions/ToggleTile/ToggleTile.ads.scenario.tsx +0 -22
  375. package/dist/starters/react/design-system/components/Actions/ToggleTile/ToggleTile.tsx +0 -60
  376. package/dist/starters/react/design-system/components/Containers/Disclosure/Disclosure.ads.scenario.tsx +0 -24
  377. package/dist/starters/react/design-system/components/Containers/Disclosure/Disclosure.tsx +0 -50
  378. package/dist/starters/react/design-system/components/Content/Artwork/Artwork.ads.scenario.tsx +0 -8
  379. package/dist/starters/react/design-system/components/Content/Artwork/Artwork.tsx +0 -110
  380. package/dist/starters/react/design-system/components/Content/BarChart/BarChart.ads.scenario.tsx +0 -25
  381. package/dist/starters/react/design-system/components/Content/BarChart/BarChart.tsx +0 -72
  382. package/dist/starters/react/design-system/components/Content/GuideGrid/GuideGrid.ads.scenario.tsx +0 -8
  383. package/dist/starters/react/design-system/components/Content/GuideGrid/GuideGrid.tsx +0 -43
  384. package/dist/starters/react/design-system/components/Content/Icon/Icon.ads.scenario.tsx +0 -21
  385. package/dist/starters/react/design-system/components/Content/Icon/Icon.tsx +0 -41
  386. package/dist/starters/react/design-system/components/Content/Icon/glyphs/arrow.tsx +0 -10
  387. package/dist/starters/react/design-system/components/Content/Icon/glyphs/close.tsx +0 -10
  388. package/dist/starters/react/design-system/components/Content/Icon/glyphs/search.tsx +0 -10
  389. package/dist/starters/react/design-system/components/Content/Image/Image.ads.fixture.ts +0 -9
  390. package/dist/starters/react/design-system/components/Content/Image/Image.ads.scenario.tsx +0 -12
  391. package/dist/starters/react/design-system/components/Content/Image/Image.tsx +0 -83
  392. package/dist/starters/react/design-system/components/Content/InspectedGlyph/InspectedGlyph.ads.scenario.tsx +0 -27
  393. package/dist/starters/react/design-system/components/Content/InspectedGlyph/InspectedGlyph.tsx +0 -46
  394. package/dist/starters/react/design-system/components/Content/PartnerLogo/PartnerLogo.ads.scenario.tsx +0 -17
  395. package/dist/starters/react/design-system/components/Content/PartnerLogo/PartnerLogo.tsx +0 -41
  396. package/dist/starters/react/design-system/components/Content/StatusIcon/StatusIcon.ads.scenario.tsx +0 -20
  397. package/dist/starters/react/design-system/components/Content/StatusIcon/StatusIcon.tsx +0 -37
  398. package/dist/starters/react/design-system/components/Forms/TextField/TextField.ads.scenario.tsx +0 -24
  399. package/dist/starters/react/design-system/components/Forms/TextField/TextField.tsx +0 -173
  400. package/dist/starters/react/design-system/components/Identity/Identity.ads.scenario.tsx +0 -13
  401. package/dist/starters/react/design-system/components/Identity/Identity.tsx +0 -146
  402. package/dist/starters/react/design-system/components/Overlays/Menu/Menu.ads.scenario.tsx +0 -27
  403. package/dist/starters/react/design-system/components/Overlays/Menu/Menu.tsx +0 -194
  404. package/dist/starters/react/design-system/components/Overlays/Popover/Popover.ads.scenario.tsx +0 -19
  405. package/dist/starters/react/design-system/components/Overlays/Popover/Popover.tsx +0 -37
  406. package/dist/starters/react/design-system/controllers/FormField/FormField.ads.behavior.ts +0 -70
  407. package/dist/starters/react/design-system/controllers/FormField/FormField.behavior.spec.ts +0 -237
  408. package/dist/starters/react/design-system/controllers/FormField/FormField.ts +0 -343
  409. package/dist/starters/react/design-system/controllers/FormField/useFormField.ts +0 -70
  410. package/dist/starters/react/design-system/controllers/Palette/Palette.ts +0 -165
  411. package/dist/starters/react/design-system/foundation.ads.ts +0 -22
  412. package/dist/starters/react/design-system/index.ts +0 -51
  413. package/dist/starters/react/design-system/mocks/ConstructionProofs/ConstructionProofs.ads.fixture.ts +0 -5
  414. package/dist/starters/react/design-system/mocks/ConstructionProofs/ConstructionProofs.ads.scenario.tsx +0 -22
  415. package/dist/starters/react/design-system/mocks/Inspector/Inspector.ads.fixture.ts +0 -12
  416. package/dist/starters/react/design-system/mocks/Inspector/Inspector.ads.scenario.tsx +0 -21
  417. package/dist/starters/react/design-system/mocks/Workspace/Layouts.ads.scenario.tsx +0 -24
  418. package/dist/starters/react/design-system/mocks/Workspace/Media.ads.scenario.tsx +0 -24
  419. package/dist/starters/react/design-system/mocks/Workspace/Stress.ads.scenario.tsx +0 -36
  420. package/dist/starters/react/design-system/mocks/Workspace/Workspace.ads.fixture.ts +0 -13
  421. package/dist/starters/react/design-system/mocks/Workspace/Workspace.ads.scenario.tsx +0 -27
  422. package/dist/starters/react/design-system/mocks/Workspace/media/ads.svg +0 -1
  423. package/dist/starters/react/design-system/palette.generated.ts +0 -188
  424. package/dist/starters/react/design-system/patterns/ArtworkCatalogue/ArtworkCatalogue/ArtworkCatalogue.tsx +0 -73
  425. package/dist/starters/react/design-system/patterns/ConstructionWorkbench/ConstructionWorkbench/ConstructionWorkbench.ads.scenario.tsx +0 -23
  426. package/dist/starters/react/design-system/patterns/ConstructionWorkbench/ConstructionWorkbench/ConstructionWorkbench.tsx +0 -94
  427. package/dist/starters/react/design-system/patterns/Forms/InviteMember/InviteMember.ads.scenario.tsx +0 -21
  428. package/dist/starters/react/design-system/patterns/Forms/InviteMember/InviteMember.tsx +0 -137
  429. package/dist/starters/react/design-system/patterns/Inspector/Inspector/Inspector.ads.scenario.tsx +0 -22
  430. package/dist/starters/react/design-system/patterns/Inspector/Inspector/Inspector.tsx +0 -248
  431. package/dist/starters/react/design-system/patterns/Shell/Shell.ads.scenario.tsx +0 -26
  432. package/dist/starters/react/design-system/patterns/Shell/Shell.tsx +0 -268
  433. package/dist/starters/react/design-system/patterns/Workspace/Workspace/Workspace.ads.scenario.tsx +0 -28
  434. package/dist/starters/react/design-system/patterns/Workspace/Workspace/Workspace.tsx +0 -105
  435. package/dist/starters/react/design-system/patterns/Workspace/Workspace/WorkspacePanels.tsx +0 -179
  436. package/dist/starters/react/design-system/profiles/Containers/containers.ads.ts +0 -67
  437. package/dist/starters/react/design-system/profiles/Containers/frames.ads.ts +0 -32
  438. package/dist/starters/react/design-system/profiles/Containers/geometry.ads.ts +0 -30
  439. package/dist/starters/react/design-system/profiles/Containers/spacing.ads.ts +0 -26
  440. package/dist/starters/react/design-system/profiles/Controls/controls.ads.ts +0 -157
  441. package/dist/starters/react/design-system/profiles/Controls/frames.ads.ts +0 -50
  442. package/dist/starters/react/design-system/profiles/Controls/spacing.ads.ts +0 -29
  443. package/dist/starters/react/design-system/profiles/Focus/keyboard.ads.ts +0 -13
  444. package/dist/starters/react/design-system/profiles/Identity/identity.ads.ts +0 -25
  445. package/dist/starters/react/design-system/profiles/Identity/spacing.ads.ts +0 -22
  446. package/dist/starters/react/design-system/profiles/Layout/grid.ads.ts +0 -69
  447. package/dist/starters/react/design-system/profiles/Layout/inspector.ads.ts +0 -146
  448. package/dist/starters/react/design-system/profiles/Layout/overlays.ads.ts +0 -94
  449. package/dist/starters/react/design-system/profiles/Layout/regions.ads.ts +0 -296
  450. package/dist/starters/react/design-system/profiles/Motion/feedback.ads.ts +0 -92
  451. package/dist/starters/react/design-system/profiles/Surfaces/controls.ads.ts +0 -142
  452. package/dist/starters/react/design-system/profiles/Surfaces/document.ads.ts +0 -2
  453. package/dist/starters/react/design-system/profiles/Surfaces/materials.ads.ts +0 -18
  454. package/dist/starters/react/design-system/profiles/Surfaces/surfaces.ads.ts +0 -48
  455. package/dist/starters/react/design-system/profiles/Typography/details.ads.ts +0 -19
  456. package/dist/starters/react/design-system/profiles/Typography/document.ads.ts +0 -2
  457. package/dist/starters/react/design-system/profiles/Typography/headings.ads.ts +0 -15
  458. package/dist/starters/react/design-system/profiles/Typography/text.ads.ts +0 -73
  459. package/dist/starters/react/design-system/profiles/Visuals/artwork.ads.ts +0 -46
  460. package/dist/starters/react/design-system/profiles/Visuals/charts.ads.ts +0 -31
  461. package/dist/starters/react/design-system/profiles/Visuals/content.ads.ts +0 -52
  462. package/dist/starters/react/design-system/profiles/Visuals/glyphs.ads.ts +0 -35
  463. package/dist/starters/react/design-system/profiles/Visuals/identity.ads.ts +0 -24
  464. package/dist/starters/react/design-system/tokens/Artwork/paint.ads.css +0 -7
  465. package/dist/starters/react/design-system/tokens/Artwork/visual-size.ads.css +0 -12
  466. package/dist/starters/react/design-system/tokens/Brand/paint.ads.css +0 -7
  467. package/dist/starters/react/design-system/tokens/Charts/paint.ads.css +0 -19
  468. package/dist/starters/react/design-system/tokens/Containers/border-width.ads.css +0 -1
  469. package/dist/starters/react/design-system/tokens/Containers/content-gap.ads.css +0 -5
  470. package/dist/starters/react/design-system/tokens/Containers/frame-inset.ads.css +0 -6
  471. package/dist/starters/react/design-system/tokens/Containers/frame-size.ads.css +0 -11
  472. package/dist/starters/react/design-system/tokens/Containers/radius.ads.css +0 -1
  473. package/dist/starters/react/design-system/tokens/Controls/border-width.ads.css +0 -4
  474. package/dist/starters/react/design-system/tokens/Controls/content-gap.ads.css +0 -6
  475. package/dist/starters/react/design-system/tokens/Controls/control-min-size.ads.css +0 -17
  476. package/dist/starters/react/design-system/tokens/Controls/frame-inset.ads.css +0 -21
  477. package/dist/starters/react/design-system/tokens/Controls/radius.ads.css +0 -1
  478. package/dist/starters/react/design-system/tokens/Controls/target-min-size.ads.css +0 -2
  479. package/dist/starters/react/design-system/tokens/Controls/visual-size.ads.css +0 -2
  480. package/dist/starters/react/design-system/tokens/Focus/border-width.ads.css +0 -1
  481. package/dist/starters/react/design-system/tokens/Focus/focus-offset.ads.css +0 -1
  482. package/dist/starters/react/design-system/tokens/Foundation/spacing.ads.css +0 -20
  483. package/dist/starters/react/design-system/tokens/Grid/grid-gutter.ads.css +0 -6
  484. package/dist/starters/react/design-system/tokens/Grid/layer.ads.css +0 -2
  485. package/dist/starters/react/design-system/tokens/Grid/layout-size.ads.css +0 -15
  486. package/dist/starters/react/design-system/tokens/Grid/spacing.ads.css +0 -12
  487. package/dist/starters/react/design-system/tokens/Grid/track-count.ads.css +0 -1
  488. package/dist/starters/react/design-system/tokens/Identity/content-gap.ads.css +0 -6
  489. package/dist/starters/react/design-system/tokens/Identity/visual-size.ads.css +0 -1
  490. package/dist/starters/react/design-system/tokens/Motion/duration.ads.css +0 -6
  491. package/dist/starters/react/design-system/tokens/Motion/easing.ads.css +0 -5
  492. package/dist/starters/react/design-system/tokens/Motion/motion-angle.ads.css +0 -1
  493. package/dist/starters/react/design-system/tokens/Motion/motion-distance.ads.css +0 -2
  494. package/dist/starters/react/design-system/tokens/Motion/motion-scale.ads.css +0 -9
  495. package/dist/starters/react/design-system/tokens/Surfaces/blur.ads.css +0 -2
  496. package/dist/starters/react/design-system/tokens/Surfaces/gradient.ads.css +0 -2
  497. package/dist/starters/react/design-system/tokens/Surfaces/opacity.ads.css +0 -2
  498. package/dist/starters/react/design-system/tokens/Surfaces/paint.ads.css +0 -58
  499. package/dist/starters/react/design-system/tokens/Surfaces/shadow.ads.css +0 -20
  500. package/dist/starters/react/design-system/tokens/Typography/font-family.ads.css +0 -1
  501. package/dist/starters/react/design-system/tokens/Typography/font-features.ads.css +0 -1
  502. package/dist/starters/react/design-system/tokens/Typography/font-size.ads.css +0 -9
  503. package/dist/starters/react/design-system/tokens/Typography/font-stretch.ads.css +0 -1
  504. package/dist/starters/react/design-system/tokens/Typography/font-variations.ads.css +0 -1
  505. package/dist/starters/react/design-system/tokens/Typography/font-weight.ads.css +0 -1
  506. package/dist/starters/react/design-system/tokens/Typography/letter-spacing.ads.css +0 -1
  507. package/dist/starters/react/design-system/tokens/Typography/line-height.ads.css +0 -11
  508. package/dist/starters/react/design-system/tokens/Typography/word-spacing.ads.css +0 -1
  509. package/dist/starters/react/starter.json +0 -11
  510. package/docs/STARTER.md +0 -167
@@ -1,11 +0,0 @@
1
- :root { --panel-preferred-inline: 24rem; --panel-min-inline: 16rem; }
2
- :root { --form-frame-max: var(--measure-form); }
3
- :root { --media-inline-limit: 100%; }
4
- :root { --drawer-width: var(--measure-panel); --popover-width: var(--measure-panel); }
5
- :root { --workspace-min-height: 100svh; --workspace-aside-width: var(--measure-panel); --workbench-narrow-width: var(--measure-tile); }
6
- /* The inspector panel's fixed height and its scrolling rail's bound. */
7
- :root { --inspector-height: 30rem; --inspector-rail-max: 12rem; }
8
- /* Owned overlays fill their layer: the guide grid and the inspected drawing's stage. */
9
- :root { --fill-extent: 100%; --inspected-stage: 6rem; }
10
- /* A chart fills its container up to a readable width; its drawing keeps its ratio. */
11
- :root { --chart-inline-limit: var(--measure-panel); }
@@ -1 +0,0 @@
1
- :root { --radius-panel: 12px; }
@@ -1,4 +0,0 @@
1
- :root { --border-control: 1px; }
2
- /* A theme can change geometry too; derived insets must observe this override. */
3
- :root[data-theme="dark"] { --border-control: 2px; }
4
- :root[data-theme="high-contrast"] { --border-control: 2px; }
@@ -1,6 +0,0 @@
1
- :root {
2
- --control-gap-sm: 4px;
3
- --control-gap-md: 5.5px;
4
- --control-gap-lg: 7.5px;
5
- --field-label-gap: var(--space-xxs);
6
- }
@@ -1,17 +0,0 @@
1
- /* Proposed build-time macro: round a preferred frame up to the structural unit.
2
- 30 / 38 / 46 become 32 / 40 / 48px. This does not round text or inner gaps. */
3
- :root {
4
- --control-height-sm: ads-snap-up(30px, var(--grid-mini-unit));
5
- --control-height-md: ads-snap-up(38px, var(--grid-mini-unit));
6
- --control-height-lg: ads-snap-up(46px, var(--grid-mini-unit));
7
- }
8
- /* Touch density: on a touch screen as the primary pointer every control is one
9
- step taller, so a medium control reaches the common 44px touch guideline:
10
- 38 / 44 / 52 become 40 / 48 / 56px. */
11
- @media (pointer: coarse) {
12
- :root {
13
- --control-height-sm: ads-snap-up(38px, var(--grid-mini-unit));
14
- --control-height-md: ads-snap-up(44px, var(--grid-mini-unit));
15
- --control-height-lg: ads-snap-up(52px, var(--grid-mini-unit));
16
- }
17
- }
@@ -1,21 +0,0 @@
1
- /* Independent progressions for inside-border insets. No generic size multiplier. */
2
- :root {
3
- --control-inline-sm: 10px;
4
- --control-inline-md: 14px;
5
- --control-inline-lg: 20px;
6
- --control-block-min-sm: 3px;
7
- --control-block-min-md: 4px;
8
- --control-block-min-lg: 6.5px;
9
- }
10
- /* The insets that go with the taller touch frames (control-min-size.ads.css):
11
- wider labels' sides, and a block minimum that keeps text off the taller border. */
12
- @media (pointer: coarse) {
13
- :root {
14
- --control-inline-sm: 12px;
15
- --control-inline-md: 16px;
16
- --control-inline-lg: 24px;
17
- --control-block-min-sm: 4px;
18
- --control-block-min-md: 6px;
19
- --control-block-min-lg: 8px;
20
- }
21
- }
@@ -1 +0,0 @@
1
- :root { --radius-control: 6px; }
@@ -1,2 +0,0 @@
1
- /* A project choice for an input context, not a universal device classification. */
2
- :root { --target-min-comfortable: 2.75rem; }
@@ -1,2 +0,0 @@
1
- /* Visuals follow the selected text profile, not an unrelated frame-size multiplier. */
2
- :root { --glyph-sm: 1rem; --glyph-md: 1.125rem; --glyph-lg: 1.25rem; }
@@ -1 +0,0 @@
1
- :root { --border-focus: 2px; }
@@ -1 +0,0 @@
1
- :root { --focus-offset: 2px; }
@@ -1,20 +0,0 @@
1
- /* Explicit, non-uniform steps; the suffix is a stable identifier, not arithmetic.
2
- These are project values. ADS does not mandate this particular scale. */
3
- :root {
4
- --space-none: 0px;
5
- --space-hair: 1px;
6
- --space-tiny: 2px;
7
- --space-xxs: 4px;
8
- --space-xs: 6px;
9
- --space-sm: 8px;
10
- --space-md: 12px;
11
- --space-lg: 16px;
12
- --space-xl: 24px;
13
- --space-2xl: 32px;
14
- --space-3xl: 48px;
15
- --space-4xl: 64px;
16
- --space-5xl: 96px;
17
- }
18
-
19
- /* The rail holds text-sized icon controls, so it grows with the reader's text (rem). */
20
- :root { --measure-form: 720px; --measure-rail: 3rem; --measure-panel: 240px; --measure-tile: 160px; }
@@ -1,6 +0,0 @@
1
- /* A registered geometric operation may use a stroke to produce a grid gutter.
2
- This does NOT authorize stroke-derived content gaps or arbitrary arithmetic. */
3
- :root {
4
- --grid-gutter-condensed-start: ads-half-border(var(--border-control));
5
- --grid-gutter-condensed-end: var(--grid-gutter-condensed-start);
6
- }
@@ -1,2 +0,0 @@
1
- /* Relative ordering within the owning layer context; not a global escape hatch. */
2
- :root { --layer-overlay: 2; }
@@ -1,15 +0,0 @@
1
- :root {
2
- --grid-breakpoint-sm: 20rem;
3
- --grid-breakpoint-md: 42rem;
4
- --grid-breakpoint-lg: 66rem;
5
- --grid-max-width: 1584px;
6
- --panel-width: var(--measure-panel);
7
- --rail-width: var(--measure-rail);
8
- --tile-width: var(--measure-tile);
9
- --form-max-width: var(--measure-form);
10
- }
11
- :root { --grid-track-none: 0px; --form-wrap-width: 30em; }
12
- /* A fixed toolbar band an anchored popover keeps clear of. */
13
- :root { --toolbar-clearance: 64px; }
14
- /* The inspector hides its title and collapses below this width (a 760px viewport at a 16px root). */
15
- :root { --inspector-compact-width: 47.5rem; }
@@ -1,12 +0,0 @@
1
- /* The page grid keeps its structural 8px / 2px units. A component's 5.5px
2
- content gap does not alter these tracks, margins or gutter roles. */
3
- :root {
4
- --grid-mini-unit: var(--space-sm);
5
- --grid-fine-unit: var(--space-tiny);
6
- --grid-margin-small: var(--space-none);
7
- --grid-margin-large: var(--space-lg);
8
- --grid-gutter-wide-start: var(--space-lg);
9
- --grid-gutter-wide-end: var(--space-lg);
10
- --grid-gutter-narrow-start: var(--space-none);
11
- --grid-gutter-narrow-end: var(--space-lg);
12
- }
@@ -1 +0,0 @@
1
- :root { --columns-sm: 4; --columns-md: 8; --columns-lg: 16; }
@@ -1,6 +0,0 @@
1
- :root {
2
- --identity-visual-gap: var(--space-md);
3
- --identity-details-gap: 3.5px;
4
- --identity-meta-gap: var(--space-sm);
5
- --brand-text-gap: var(--space-xs);
6
- }
@@ -1 +0,0 @@
1
- :root { --avatar-size: 2rem; --brand-mark-size: 1.25rem; }
@@ -1,6 +0,0 @@
1
- :root {
2
- --feedback-duration: 160ms;
3
- --feedback-delay: 0ms;
4
- --loading-duration: 900ms;
5
- --drawer-duration: 240ms;
6
- }
@@ -1,5 +0,0 @@
1
- :root {
2
- --feedback-easing: cubic-bezier(0.2, 0, 0, 1);
3
- --loading-easing: linear;
4
- --drawer-easing: cubic-bezier(0.2, 0, 0, 1);
5
- }
@@ -1 +0,0 @@
1
- :root { --loading-turn: 1turn; }
@@ -1,2 +0,0 @@
1
- /* Motion may consume shared spacing; it cannot supply static alignment nudges. */
2
- :root { --feedback-travel: var(--space-xs); }
@@ -1,9 +0,0 @@
1
- /* Press scale per size class. A scale factor is relative: the same factor moves
2
- a large element much further than a small one, so each size class has its own,
3
- chosen so the pressed element moves in by roughly 1–2px per side. A page-sized
4
- region has none: nothing selects a press scale for it. */
5
- :root {
6
- --press-scale-glyph: 0.98;
7
- --press-scale-control: 0.97;
8
- --press-scale-surface: 0.99;
9
- }
@@ -1,2 +0,0 @@
1
- /* Semantic material extent. */
2
- :root { --surface-backdrop-blur: 8px; }
@@ -1,2 +0,0 @@
1
- /* A semantic effect composed from semantic paints in this group. */
2
- :root { --surface-wash: linear-gradient(135deg, var(--surface-panel), var(--surface-control)); }
@@ -1,2 +0,0 @@
1
- /* Semantic material intensity. */
2
- :root { --surface-translucency: 0.96; }
@@ -1,58 +0,0 @@
1
- /* Semantic surface/action paints. Folder groups do not establish dependencies. */
2
- :root {
3
- --surface-page: #ffffff;
4
- --surface-panel: #f2f7f6;
5
- --surface-control: #ffffff;
6
- --text-primary: #183c35;
7
- --text-secondary: #45655e;
8
- --action-fill: #145e50;
9
- --action-hover: #0d493e;
10
- --action-text: #ffffff;
11
- --outline-control: #597870;
12
- --focus-ring: #145e50;
13
- --error-text: #9d2525;
14
- --surface-scrim: rgb(16 28 25 / 0.48);
15
- }
16
- :root[data-theme="dark"] {
17
- --surface-page: #101c19;
18
- --surface-panel: #182d27;
19
- --surface-control: #12251f;
20
- --text-primary: #edf8f4;
21
- --text-secondary: #b3cec4;
22
- --action-fill: #a6e8cf;
23
- --action-hover: #c8f4e4;
24
- --action-text: #102b22;
25
- --outline-control: #90b2a5;
26
- --focus-ring: #a6e8cf;
27
- --error-text: #ffb8b8;
28
- --surface-scrim: rgb(0 0 0 / 0.64);
29
- }
30
- :root[data-brand="iris"] {
31
- --action-fill: #51429a;
32
- --action-hover: #3c3076;
33
- --focus-ring: #51429a;
34
- }
35
- :root[data-brand="iris"][data-theme="dark"] {
36
- --action-fill: #c6baff;
37
- --action-hover: #ded6ff;
38
- --focus-ring: #c6baff;
39
- }
40
- :root[data-theme="high-contrast"] {
41
- --surface-page: #000000;
42
- --surface-panel: #0a0a0a;
43
- --surface-control: #000000;
44
- --text-primary: #ffffff;
45
- --text-secondary: #e6e6e6;
46
- --action-fill: #ffff00;
47
- --action-hover: #ffffa0;
48
- --action-text: #000000;
49
- --outline-control: #ffffff;
50
- --focus-ring: #ffff00;
51
- --error-text: #ff9a9a;
52
- --surface-scrim: rgb(0 0 0 / 0.8);
53
- }
54
- :root[data-brand="iris"][data-theme="high-contrast"] {
55
- --action-fill: #ffff00;
56
- --action-hover: #ffffa0;
57
- --focus-ring: #ffff00;
58
- }
@@ -1,20 +0,0 @@
1
- /* Semantic surface-state effects, not primitive measurements. */
2
- :root {
3
- --shadow-none: none;
4
- --shadow-emphasized: 0 1px 2px rgb(0 0 0 / 0.12), 0 4px 12px rgb(0 0 0 / 0.12);
5
- --shadow-emphasized-hover: 0 2px 4px rgb(0 0 0 / 0.14), 0 8px 20px rgb(0 0 0 / 0.14);
6
- --shadow-emphasized-dragged: 0 4px 8px rgb(0 0 0 / 0.18), 0 16px 40px rgb(0 0 0 / 0.18);
7
- /* Field states: inset rings inside the border, so they take no space and are not colour alone. */
8
- --shadow-invalid: inset 0 0 0 1px var(--error-text);
9
- --shadow-autofill: inset 0 0 0 1px var(--action-fill);
10
- }
11
- :root[data-theme="dark"] {
12
- --shadow-emphasized: 0 1px 2px rgb(0 0 0 / 0.3), 0 4px 12px rgb(0 0 0 / 0.3);
13
- --shadow-emphasized-hover: 0 2px 4px rgb(0 0 0 / 0.34), 0 8px 20px rgb(0 0 0 / 0.34);
14
- --shadow-emphasized-dragged: 0 4px 8px rgb(0 0 0 / 0.4), 0 16px 40px rgb(0 0 0 / 0.4);
15
- }
16
- :root[data-theme="high-contrast"] {
17
- --shadow-emphasized: 0 0 0 1px #ffffff;
18
- --shadow-emphasized-hover: 0 0 0 2px #ffffff;
19
- --shadow-emphasized-dragged: 0 0 0 2px #ffff00;
20
- }
@@ -1 +0,0 @@
1
- :root { --font-ui: system-ui, sans-serif; }
@@ -1 +0,0 @@
1
- :root { --font-features-ui: normal; }
@@ -1,9 +0,0 @@
1
- /* Relative lengths keep user font preferences effective. */
2
- :root {
3
- --label-size-sm: 0.8125rem;
4
- --label-size-md: 0.875rem;
5
- --label-size-lg: 1rem;
6
- --identity-name-size: 1rem;
7
- --identity-detail-size: 0.875rem;
8
- --heading-size: 1.5rem;
9
- }
@@ -1 +0,0 @@
1
- :root { --font-width-ui: 100%; }
@@ -1 +0,0 @@
1
- :root { --font-axes-ui: normal; }
@@ -1 +0,0 @@
1
- :root { --weight-normal: 400; --weight-emphasis: 600; }
@@ -1 +0,0 @@
1
- :root { --tracking-detail: 0em; }
@@ -1,11 +0,0 @@
1
- /* Multipliers of each profile's paired font size (18/13, 20/14, 24/16, 24/16,
2
- 20/14 and 32/24 px at a 16px root): the line grows with the reader's text and
3
- keeps its ratio where text of another size inherits it. */
4
- :root {
5
- --label-line-sm: 1.3846;
6
- --label-line-md: 1.4286;
7
- --label-line-lg: 1.5;
8
- --identity-name-line: 1.5;
9
- --identity-detail-line: 1.4286;
10
- --heading-line: 1.3333;
11
- }
@@ -1 +0,0 @@
1
- :root { --word-gap-detail: 0em; }
@@ -1,11 +0,0 @@
1
- {
2
- "format": "ads-starter",
3
- "version": 1,
4
- "designSystem": "design-system",
5
- "include": ["index.ts", "foundation.ads.ts", "palette.generated.ts", "tokens", "profiles", "assets", "controllers", "components", "patterns", "mocks"],
6
- "exclude": [],
7
- "devDependencies": {
8
- "react": { "react": "19.2.7", "react-dom": "19.2.7", "@types/react": "19.2.17" },
9
- "preact": { "preact": "11.0.1" }
10
- }
11
- }
package/docs/STARTER.md DELETED
@@ -1,167 +0,0 @@
1
- # The starter design system
2
-
3
- `ads init` installs a starter: one coherent design system whose real owners are
4
- also its showcase demonstrations. It is authored once, for React; the native
5
- Preact starter is generated from it. Once installed it is your project's
6
- source: replace or delete any of it.
7
-
8
- ## Public owners
9
-
10
- | Owner | Purpose and source coverage |
11
- | --- | --- |
12
- | Button | Text, optional glyph, icon-only naming, finite size/text choices, pressed/disabled states, motion and focus treatments; a ref/expanded interface lets an owning controller manage disclosures |
13
- | IconButton | An icon-only control drawn from a glyph reference; its label is its accessible name and tooltip |
14
- | ToggleTile | A stacked toggle, artwork above label; its frame owns a 44px hit area for touch |
15
- | TextField | Controlled input, label/help/error anatomy, disabled/required semantics and public alignment rows; `type`, `autoComplete`, `inputMode`, `enterKeyHint`, identifier spelling controls and native constraints; constraint errors after interaction and application errors at once through the FormField bridge (`[data-user-invalid]`, `[data-autofill]` rings); a soft field (quiet fill, one block-end rule at 3:1 through `frame: { kind: "control", rules: ["block-end"] }`) that passes WCAG 1.4.11 without a four-sided border |
16
- | Identity | Avatar with text stack; brand drawing with baseline text; asset-owned optical anchors |
17
- | Artwork | Registered design artwork: 20/24 optical icons, selected drawings, multicolor glyphs and themed illustrations |
18
- | Icon, `ArrowIcon`, `CloseIcon`, `SearchIcon` | A glyph drawn from a reference (`arrowGlyph`, `closeGlyph`, `searchGlyph`), in three sizes |
19
- | StatusIcon | The glyph of a status chosen from data, from the `status` [glyph set](ASSETS.md#icons-and-glyph-sets) |
20
- | PartnerLogo | Other products' logos (`assets/logos/`): intrinsic artwork with light and dark drawings, shown unaltered in the theme it sits in |
21
- | Image | Application content media, required alt/intrinsic metadata, optional paired responsive resource hints, lazy or priority loading; profiles own display geometry |
22
- | Disclosure | Native details/summary interaction, controlled open state, profile-owned container and focus treatment; open surface is a state binding, not a new profile kind |
23
- | Shell | Reusable header, navigation, compact rail, main and details slots; adaptive/floating details, controlled visibility, trigger relationships and scoped Escape/focus return |
24
- | Popover | A non-modal tool panel in the top layer (`popover="auto"`), pinned below a fixed toolbar band at the inline-end corner; opened by a Button's `popoverTarget` |
25
- | Menu | An action menu (`role="menu"` of `menuitem` buttons) in a measured popover anchored to its trigger Button (`aria-haspopup="menu"`): placed below it, above it when only that side has room, from the trigger's measured box through `recipe.measured.set`, cleared on close; focus starts on the first item, arrow keys/Home/End move and wrap, Escape and a choice return focus to the trigger; its listeners live only while open and none survive unmounting |
26
- | BarChart | A bar per data item whose fill is the item's series paint (`--chart-1`…`--chart-3`, light/dark/high-contrast values proven at 3:1 on the page surface; the high-contrast ones also hold on a black page) through `recipe.paints.set`, the first series when an item names none; the drawing fills its container up to `--chart-inline-limit` |
27
- | GuideGrid | Owned SVG geometry: computed guide lines, decorative and hidden from assistive technology |
28
- | InspectedGlyph | Another project's sanitized glyph, alone or under guide lines |
29
- | InviteMember | Component composition, public field/action alignment, density independent of child size, validation/pending/status presentation |
30
- | Workspace | Application-facing assembly using Shell, with controlled Team/Media/Layouts views; accepts application content and callbacks |
31
- | Inspector | A tool layout: rules, scrolling, fill, layers, condition visibility, native elements and text layout |
32
- | ConstructionWorkbench | Real pattern for independent choices, optional content and brand comparisons |
33
- | ArtworkCatalogue | Real pattern showing owned artwork variants and their intended surfaces |
34
-
35
- Shell:
36
-
37
- - Shell imports no Workspace, form, gallery, application router or fixture; its
38
- slots carry ordinary UI. The layout owns placement and its regional frames,
39
- and slot children keep their own recipes.
40
- - The closed and floating variants select a spatial profile that reserves no
41
- empty details track. The narrow rail and wide navigation are separate
42
- supplied content, selected by the declared breakpoint.
43
- - Below lg the rail's first control opens the full navigation as a
44
- [modal sheet](LANGUAGE.md#top-layer-roots) that slides from the inline start.
45
- The owner puts initial focus on the first navigation item and closes on a
46
- press outside the sheet (not on a drag from its content). When the viewport
47
- reaches lg, it closes the sheet and moves focus to the in-track navigation.
48
- The breakpoint is the recipe's `modalQuery`.
49
- - Details are non-modal: opening them does not trap focus or make the
50
- application inert. Escape from the trigger or details closes the panel and
51
- returns focus; events a nested owner already handled are respected.
52
-
53
- Disclosure keeps native summary semantics and its marker, with no second
54
- keyboard or state implementation.
55
-
56
- ## Controllers
57
-
58
- | Controller | Purpose and source coverage |
59
- | --- | --- |
60
- | FormField | Validation timing, error accessibility and autofill for fields: `bindFormField`/`bindForm` (framework-neutral) and the hooks `useFormField`/`useFormBridge`; mirrors `data-user-invalid`, `data-user-valid` and `data-autofill` onto the field root, sets `aria-invalid` and `aria-describedby`, announces blur-triggered errors through the form's one polite live region and focuses the summary or first invalid field after a failed submit. Eight registered unit checks (`FormField.ads.behavior.ts`); TextField and InviteMember bind it |
61
- | Palette | Renderer colours for canvas/WebGL drawing: `paletteFor`, `observePalette`, `resolveColor`, `paletteContext` over the generated `palette.generated.ts` (every paint token per theme and brand × theme, regenerated by `ads sync` or draft acceptance, verified by `ads check`) |
62
-
63
- A controller is a plain module the barrel exports, emitted as authored. The
64
- module graph enforces what any plain module obeys: no ADS import (a file that
65
- authors a recipe is discovered as an owner), no development file and nothing
66
- outside the design system. It may import the generated palette and installed
67
- packages. That a controller has no markup or styling is a review convention,
68
- not a check.
69
-
70
- ## Grid tiers and ratios are a starter simplification
71
-
72
- The starter's `page-grid` declares three breakpoints (`sm` 20rem, `md` 42rem,
73
- `lg` 66rem; 320, 672 and 1056px at the default text size) and three permitted
74
- ratios (1:1, 3:2, 16:9). That keeps the starter small and is not an engine
75
- limit: a spatial profile may declare any number of ordered breakpoints and
76
- ratios, and the spatial algebra, grid lowering, the overlay and the foundation
77
- view read whatever it declares.
78
-
79
- ## Content media is application data
80
-
81
- An application supplies `Image` with its source URL, intrinsic width and height
82
- and alternative text.
83
-
84
- - The intrinsic dimensions describe the file, not the display size, which the
85
- visual and frame profiles own.
86
- - `Image` contains an image at its own ratio, or with `aspectRatio` crops it to
87
- that shape around the image's focal point (`source.focus`, the image's own
88
- data, like an asset's optical centre), which the server-rendered markup
89
- carries. The contained form spreads the file's own size the same way, so its
90
- box is reserved before the file loads.
91
-
92
- Content images are **not production design-system assets**.
93
- `mocks/Workspace/media/ads.svg` is the single ADS-owned preview fixture,
94
- a copy of the repository's showcase logo. Only the mock fixture imports
95
- it and passes its URL and metadata to Workspace as mock data. No public owner
96
- imports it, and it is not registered as design artwork.
97
-
98
- `ads emit` writes only what the public barrel reaches, so mocks, fixtures
99
- and their media are never emitted;
100
- [`ads check`](LANGUAGE.md#mocks-are-the-applications-screens-mocked) rejects a
101
- production owner that imports them, and mock media used as raw markup.
102
- Registered artwork that an owner binds is a design-owned asset and is emitted.
103
-
104
- ## Scenarios
105
-
106
- Every public owner is covered by a scenario (`*.ads.scenario.tsx`) beside its
107
- source or under `mocks/`:
108
-
109
- | Source | What it exercises |
110
- | --- | --- |
111
- | `patterns/Shell/Shell.ads.scenario.tsx` | Shell used independently of Workspace; controlled details and an action inside the panel |
112
- | `components/Content/BarChart/BarChart.ads.scenario.tsx` | Application data mapped to series paints through a typed `Record<Channel, SeriesPaint>` |
113
- | `mocks/Workspace/Workspace.ads.scenario.tsx` | Team view, navigation, invitation callback and details visibility |
114
- | `mocks/Workspace/Media.ads.scenario.tsx` | Application media data beside separately registered artwork |
115
- | `mocks/Workspace/Layouts.ads.scenario.tsx` | Existing grid gallery, inherited/fixed/flow layouts and forced floating details |
116
- | `mocks/Workspace/Stress.ads.scenario.tsx` | RTL direction, long content, compact density, larger profile text and error → pending → success simulation with timer cleanup |
117
- | `mocks/ConstructionProofs/ConstructionProofs.ads.scenario.tsx` | Independent control choices and optical/presence cases |
118
-
119
- - Mocks provide only data, state and simulated application effects, and
120
- no layouts, styles or metric overrides.
121
- - RTL is a direction case, not a claim that the example is fully translated.
122
- Text-size choices do not replace browser zoom and user-font testing.
123
- - Theme and brand resolution use the shared foundation. The starter does not
124
- declare `sections: true`, so its emitted CSS carries no section rules and only
125
- `<html>`'s `data-theme`/`data-brand` select a context.
126
- - A design system that opts in gets sections that switch their subtree's tokens
127
- (the themes and brands browser tests and
128
- `tests/browser/token-sections-browser.test.ts` prove it). A mock that
129
- adds one demonstrates that context, not new token scope behavior.
130
-
131
- ## What is verified
132
-
133
- - `ads init` installs the starter's declared file set into empty and existing
134
- projects, and `ads check` and `ads emit` pass on both.
135
- - The emitted starter renders on the server and hydrates in Chromium for React
136
- and for Preact, and applications build it with Vite and with Bun.
137
- - The rendered suite runs for each framework at three widths, in light and dark
138
- themes, LTR and RTL, with long content and larger text. It exercises the
139
- navigation sheet's modal focus, Escape and backdrop dismissal, the menu's
140
- keyboard operation, the disclosure's open state, the invalid and autofilled
141
- field and live reduced motion.
142
- - The render audit is clean in every theme and brand: axe, contrast, overflow,
143
- layout shift, 200% text and zoom, text spacing and 320 px reflow.
144
- - The FormField controller registers eight behaviour guarantees, from
145
- validation timing to a bounded lifetime (`FormField.ads.behavior.ts`).
146
-
147
- The starter passes the text checks by design, not by exemption: names and
148
- details break long words, the rail grows with its text-sized icon controls, the
149
- navigation regions are stacks, and a themed illustration keeps a fixed height
150
- (a picture, not text).
151
-
152
- ## Touch density
153
-
154
- Under `@media (pointer: coarse)` the starter's control frames are one step
155
- taller and wider inside, each token in its own role sheet
156
- (`tokens/Controls/control-min-size.ads.css`,
157
- `tokens/Controls/frame-inset.ads.css`):
158
-
159
- - `--control-height-sm/md/lg`: 32/40/48 → 40/48/56px, still snapped to the 8px
160
- mini unit, so a medium control reaches the common 44px touch guideline.
161
- - `--control-inline-*`: 10/14/20 → 12/16/24px.
162
- - `--control-block-min-*`: 3/4/6.5 → 4/6/8px.
163
-
164
- The guide's [*Touch density*](GUIDE.md) describes the mechanism and its
165
- checks. The design-system browser suite (React and Preact) opens a touch
166
- context, confirms that `(pointer: coarse)` matches and reads the coarse heights
167
- and insets on the rendered controls, and the fine ones with a mouse.