@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
package/docs/GUIDE.md CHANGED
@@ -1,9 +1,9 @@
1
1
  # ADS tool guide
2
2
 
3
3
  ADS is development tooling for a project's local design system. The package
4
- contains a Bun CLI, asynchronous native static checks, the design-system
5
- compiler and a starter design system that `ads init` installs. `ads emit`
6
- compiles the design system into plain modules and stylesheets. ADS adds no
4
+ contains a Bun CLI, asynchronous native static checks and the design-system
5
+ compiler. `ads init` sets a project up; the design system is the project's own
6
+ to author. `ads emit` compiles it into plain modules and stylesheets. ADS adds no
7
7
  runtime dependency to the application's shipped UI.
8
8
 
9
9
  There are two [editing routes](../skills/ads-designer/references/workflows.md).
@@ -100,7 +100,7 @@ ahead of time, run the command that a failed installation names:
100
100
  `ads check` enforces. [Emitting the design system](#emitting-the-design-system)
101
101
  describes the output that an application imports.
102
102
 
103
- The starter and the emitted output target the project's framework: React, or
103
+ The emitted output targets the project's framework: React, or
104
104
  native Preact (owners typed by Preact's own JSX runtime, `preact/hooks`, no
105
105
  `preact/compat`).
106
106
 
@@ -133,15 +133,15 @@ design system that registers no checks reports `not-available`
133
133
  (`no-behavior-checks`). See
134
134
  [registered checks and their status](BEHAVIORS.md#registered-checks-and-their-status).
135
135
 
136
- The starter's form-field bridge (`controllers/FormField`) registers eight
137
- guarantees with unit checks. On an installed starter, `ads behaviors` lists them
136
+ The example design system's form-field bridge (`controllers/FormField`) registers eight
137
+ guarantees with unit checks. In the example design system, `ads behaviors` lists them
138
138
  and `ads verify` runs them under the built-in `unit` profile.
139
139
 
140
140
  ### Forms
141
141
 
142
142
  A field shows a constraint error only after the user interacts with it (a
143
143
  commit, a blur after an edit, a failed submit). It shows an application error (a
144
- server's verdict) immediately. The starter's form-field bridge
144
+ server's verdict) immediately. The example design system's form-field bridge
145
145
  (`controllers/FormField`: `bindFormField`, `bindForm`, and the hooks
146
146
  `useFormField` and `useFormBridge`) mirrors that timing onto the field's root as
147
147
  `data-user-invalid`, `data-user-valid` and `data-autofill`, which recipes select
@@ -152,7 +152,7 @@ failed submit focuses the form's error summary, or the first invalid field.
152
152
  Where the browser lacks `:user-invalid`, its own tracked events give the same
153
153
  timing.
154
154
 
155
- The starter's `TextField` takes `type`, `autoComplete`, `inputMode`,
155
+ The example design system's `TextField` takes `type`, `autoComplete`, `inputMode`,
156
156
  `enterKeyHint`, `spellCheck`, `autoCorrect` and `autoCapitalize` (off by default
157
157
  for email, tel, url and password), `pattern`, `minLength`, `maxLength`,
158
158
  `required`, `error` (the application's), `validationMessage` and
@@ -288,8 +288,8 @@ peer. npm 7+, pnpm and Bun install a missing peer and report a range conflict.
288
288
  **Framework.** `--framework react` or `--framework preact` is required on the
289
289
  first init. Init saves it as `framework` in `ds.config.json`, and later runs use
290
290
  the saved value. ADS does not detect a framework and has no default. A Preact
291
- design system gets the native Preact starter: the same design system, with
292
- owners that import `preact/hooks` and Preact's types (`ComponentChildren`). If
291
+ design system's owners import `preact/hooks` and Preact's types
292
+ (`ComponentChildren`). If
293
293
  the flag differs from the saved framework, init stops; change `ds.config.json`
294
294
  explicitly.
295
295
 
@@ -297,10 +297,12 @@ explicitly.
297
297
 
298
298
  - Creates the folder and its `package.json` when absent (name from the folder,
299
299
  `version` `0.1.0`, `type: "module"`, and `private` with `--out`).
300
- - Copies the starter's declared file set into an empty or absent design-system
301
- folder: role token sheets, profiles, `foundation.ads.ts`, asset declarations
302
- and drawings, controllers, owners, mocks, `palette.generated.ts` and
303
- the authored barrel `index.ts`. Init generates nothing else.
300
+ - Creates the design-system folder when it is absent, and leaves it empty. Init
301
+ installs no design system and generates no source: you author the
302
+ foundation (`foundation.ads.ts`), the public barrel (`index.ts`), the role
303
+ token sheets, the profiles and the owners
304
+ ([Design system source](#design-system-source)). Until the foundation and
305
+ the barrel exist, `ads check` fails and names what is missing.
304
306
  - Writes `ds.config.json` with `schemaVersion`, `framework`, `dsDir` and the
305
307
  `compile` defaults (`outDir` from `--out`). If the file exists, init keeps
306
308
  every saved field and adds only the missing ones. Themes and brands are
@@ -370,7 +372,7 @@ tests read. `scripts/playground.mjs` creates the copy once.
370
372
  `bun scripts/playground.mjs showcase --fresh` replaces it with the fixture's
371
373
  current files, and the same script runs `mcp`, `check`, `validate`, `emit` or
372
374
  `sync` on it. Playground edits are experiments: promote deliberate changes to
373
- the fixture or the starter by hand.
375
+ the fixture by hand.
374
376
 
375
377
  To run the playground's MCP server and showcase together:
376
378
 
@@ -419,7 +421,7 @@ and [local-package resolution](https://docs.npmjs.com/cli/v11/commands/npm-exec/
419
421
  - The versionless `npx -y @reqvire-org/ads mcp` configuration uses the linked
420
422
  copy when the client starts in this project.
421
423
  - The link points to the built `dist/`; it does not compile source. After you
422
- change ADS tool code, packaged skills, the starter or the showcase client, run
424
+ change ADS tool code, packaged skills or the showcase client, run
423
425
  `npm run build` in this checkout and reconnect MCP.
424
426
  - Changes to the test project's design system still use its managed preview
425
427
  watcher.
@@ -484,7 +486,7 @@ install.
484
486
 
485
487
  | Command | Behavior |
486
488
  |---------|----------|
487
- | `ads init [folder] --framework react [--out ../src/ui]` | Set up the design package: tooling, configuration and the starter design system ([Set up a design package](#set-up-a-design-package)). A saved framework can omit the flag |
489
+ | `ads init [folder] --framework react [--out ../src/ui]` | Set up the design package: tooling, configuration and an empty design-system folder to author in ([Set up a design package](#set-up-a-design-package)). A saved framework can omit the flag |
488
490
  | `ads check [directory]` | Read-only check of the design system: structure, imports, owner analysis, mocks and the emitted output ([Design system source](#design-system-source)) |
489
491
  | `ads compile [directory]` | Build ADS previews with Bun (`--watch` for incremental previews) |
490
492
  | `ads emit [directory]` | Check, then write the compiled design system to its output folder ([Emitting the design system](#emitting-the-design-system)) |
@@ -583,7 +585,7 @@ summary.
583
585
  | Gate | What runs |
584
586
  |---|---|
585
587
  | `ads check` | Design-system structure, the import closure, owner analysis, mock ownership, declared themes and brands, generated source and the emitted output folder; no browser |
586
- | `ads audit` | `ads check`, then axe-core (WCAG A/AA rules), ADS's non-text contrast check, `layout-shift`, `layout-overflow` and `img-shape` in every registered scenario, once per declared brand and theme, and the text passes (`a11y-text-scale`, `a11y-text-spacing-override`, `a11y-reflow`) once per scenario |
588
+ | `ads audit` | `ads check`, then axe-core (WCAG A/AA rules), ADS's non-text contrast check, `layout-shift`, `layout-overflow`, `img-shape` and `corner-overpainted` in every registered scenario, once per declared brand and theme, and the text passes (`a11y-text-scale`, `a11y-text-spacing-override`, `a11y-reflow`) once per scenario |
587
589
  | MCP acceptance | `ads_accept` checks the draft's candidate and writes no source unless it passes (`dryRun:true` writes nothing): `ads check` rules, `acceptance.scripts`, the draft owners' own registered behavior tests (`acceptance.behavior`, default `true`) and the render audit of their own UI scenarios (`acceptance.audit`, default `true`) |
588
590
  | `ads validate` | The project gate, applying nothing: `ads check` rules, `acceptance.scripts` then `validation.scripts`, current previews, and every registered behavior test and render audit its change set reaches |
589
591
  | `ads validate --changed` | The same for what changed since the last successful full run. Configuration, foundation or token changes, and changes outside `dsDir` such as manifests, lockfiles or tooling, widen it to everything. Run it after direct edits or a series of accepted drafts |
@@ -699,6 +701,13 @@ What the audit measures in each render:
699
701
  - **Images and layout shift**: `img-shape` reports a visible image whose box
700
702
  differs from its declared ratio. `layout-shift` reports a Cumulative Layout
701
703
  Shift above 0.1 on first render, where the browser reports it (Chromium).
704
+ - **Rounded corners**: `corner-overpainted` reports an element with a radius
705
+ and visible overflow whose corner a descendant paints over (a child
706
+ component's background, an image). `ads check` proves the same for a
707
+ recipe's own parts (`construction/corner-overpaint`); the audit covers what
708
+ a recipe cannot see. ADS never clips for you, because clipping also cuts
709
+ focus outlines, shadows and menus: clip the element, inset it, or round what
710
+ it holds.
702
711
 
703
712
  ## Showcase
704
713
 
@@ -776,12 +785,17 @@ scenario coverage never list or count them, and no source file declares them.
776
785
  They read the preview tree of the emitted revision, never live source, so an
777
786
  edit appears after it is emitted.
778
787
 
779
- - **Foundation** (id `foundation`, in the Tokens section) shows the grid of each
780
- spatial profile: its breakpoints, outer margins and cell gutters in pixels,
781
- the tokens that declare them, an example region per profile that steps through
782
- the breakpoints as you resize the preview, and the mini unit. Each example is
783
- the grid algebra's own expansion, carried in the preview tree's facts file
784
- with its token references; the view derives no margins, bounds or tracks
788
+ - **Spatial grids** (id `foundation`, in the Profiles section after its
789
+ summary) shows the grid of each
790
+ spatial profile as cards: one per breakpoint with its columns and outer
791
+ margin drawn to scale, one per gutter mode with the content placed in its
792
+ columns, the spacing scale step by step and the units. After the cards come
793
+ example regions that
794
+ step through the breakpoints as you resize the preview: one per gutter mode,
795
+ a hybrid grid when the profile states fixed tracks, and a fixed tiling when
796
+ it states a tile size. Each example is the grid algebra's own expansion,
797
+ carried in the preview tree's facts file with its token references; the
798
+ view derives no margins, bounds or tracks
785
799
  itself. A changed margin or gutter token thus changes the example in the
786
800
  frame's theme and brand. The guide overlay draws on the examples. It draws
787
801
  each element's lattice in the mini unit of the spatial profile that the grids
@@ -789,16 +803,12 @@ edit appears after it is emitted.
789
803
  `ads_show_scenario({ id: "foundation" })` opens the view like a scenario.
790
804
  - **Profiles** (id `profiles`, the Profiles section) lists every profile,
791
805
  whether or not an owner selects it. The left menu lists the folders under
792
- `profiles/`; a folder's page shows its profiles in kind order. Each
793
- profile is a section that names its kind, what it builds on (`with`), which profiles
794
- build on it or select it in a slot, and where it is declared. Its table has
795
- one row per field: the authored value, a sample when the field reads one
796
- token, the role it reads (or `profile` for a composite's slot), and the
797
- profile that states the value: "this profile", or the one it comes from. Each
798
- choice has its own table with every option's fields. Each profile ends with
799
- an **Applied** sample that shows it as a whole: text set in a text profile, a
800
- surface painted with a surface profile, a box framed by a frame profile,
801
- items spaced by a spacing profile, a control with a focus profile's
806
+ `profiles/`; a folder's page shows its profiles under their kinds. Each
807
+ profile is a card: its sample, its name, and a line of its first fields
808
+ (for a composite, the fields that shape it), what it states itself before
809
+ what it takes from another profile. The sample shows the profile as a whole: text set in a text
810
+ profile, a surface painted with a surface profile, a box framed by a frame
811
+ profile, items spaced by a spacing profile, a control with a focus profile's
802
812
  indicator, and a composite's profiles together. A motion profile also
803
813
  plays: a square moves by the profile's timing on its own effect (a turn, a
804
814
  scale or a distance), with a **Replay** button; it stays still when the
@@ -816,7 +826,7 @@ edit appears after it is emitted.
816
826
  differs between its drawings (themes, sizes, states), its optical centre
817
827
  when that is not the middle of its box, and where it is declared. A themed asset shows the drawing of the preview's theme.
818
828
  `ads_show_scenario({ id: "assets" })` opens the view like a scenario.
819
- - **Tokens** (id `tokens`, also in the Tokens section) lists every token of the
829
+ - **Tokens** (id `tokens`, the Tokens section) lists every token of the
820
830
  token inventory (`ads tokens`), whether or not an owner uses it. No scenario
821
831
  thus has to exercise a token. The left menu lists the token folders as groups
822
832
  and each role sheet (`tokens/<Group>/<role>.ads.css`) as an entry; an entry's
@@ -824,23 +834,23 @@ edit appears after it is emitted.
824
834
  its name a section says what the role is for, the unit to write it in, the
825
835
  profile fields that read it, and whether it may derive from a spacing token. A
826
836
  **Problems** choice lists every token whose status is not valid. A group shows
827
- its first 100 rows, and **Show more** adds the next 100. A token edit keeps
837
+ its first 100 tokens, and **Show more** adds the next 100. A token edit keeps
828
838
  the selected group; an edit to an owner alone does not rebuild the view. The
829
839
  explorer entry of the view is the token category, whose count is the number of
830
- tokens. Each row shows:
831
- - the name;
832
- - a sample drawn from the token itself, in a box of the project's canvas: a
833
- swatch for a paint, gradient, shadow or opacity; a bar for a length; a
834
- corner for a radius; a line eight times as thick for a border width; a type
835
- sample for a font family, size, weight or letter spacing; a bar for a
836
- duration (1px per 5ms); the curve of an easing. Numbers are shown as text;
837
- - its value here: what the frame computes in the theme and brand selected in
838
- the showcase;
839
- - the values that other contexts declare where they differ
840
- (`dark: …; iris · dark: …; @media (…): …`);
841
- - its value-shape status (valid, invalid, not following the text size, or not
842
- statically checked, with the contexts and reason);
843
- - where it is declared.
840
+ tokens. Each token is a card:
841
+ - a sample drawn from the token itself: a swatch as wide as the card for a
842
+ paint, gradient or shadow, or, when the token differs between themes, one
843
+ small swatch per theme with the theme's name and the value there; two
844
+ lines of text for a line height; a bar for a length; a corner for a radius; a
845
+ line eight times as thick for a border width; a type sample for a font
846
+ family, size, weight or letter spacing; for a duration or an easing, a
847
+ square that travels a track for that long, or along that curve (at rest
848
+ when the reader asks for reduced motion);
849
+ - the name, then its value here (what the frame computes in the theme and
850
+ brand selected in the showcase), what its author says it is for (the
851
+ comment above its declaration), what a brand or a condition changes
852
+ (`iris: …; @media (…): …`) and its value-shape status when it is not
853
+ valid. `ads tokens` lists where each token is declared and what reads it.
844
854
 
845
855
  **Phone viewport.** The toggle in the showcase header constrains the real
846
856
  preview iframe to 390 CSS pixels, or to the available width on a narrower
@@ -1092,21 +1102,43 @@ Inactive elements and states (`:disabled`, `[aria-disabled="true"]`, not a state
1092
1102
  only excluded with `:not()`) have no minimum. The same is true for placeholder
1093
1103
  contrast.
1094
1104
 
1105
+ The minimum follows what the colour paints:
1106
+
1107
+ | The colour paints | Minimum | How ADS knows |
1108
+ | --- | --- | --- |
1109
+ | Text | 4.5:1 | the default |
1110
+ | Large text | 3:1 | the element's text profile resolves to 24px, or 18.66px at weight 700 |
1111
+ | Artwork that carries meaning | 3:1 (WCAG 1.4.11) | a visual part, or a control that renders no text |
1112
+ | Decorative artwork | none | a visual part whose element is `aria-hidden` |
1113
+
1095
1114
  **`surface-contrast`** (error, at the profile's declaration): a surface profile
1096
1115
  that sets both `color` and `background` reaches 4.5:1 in every context. Its
1097
1116
  `background-image` gradient stops count as backgrounds. A profile does not state
1098
- whether its colour paints only non-text UI, so the text minimum applies to every
1099
- pair.
1100
-
1101
- - A translucent background, an `opacity` below 1 or an image that is not a
1102
- gradient of known colours is a `surface-contrast-unresolved` review item.
1117
+ what its colour paints, so 4.5:1 is its default; a pair below it is accepted
1118
+ when it is enough for every place the design system uses the profile (the
1119
+ table above). A quiet icon colour at 3:1 is its own surface profile, selected
1120
+ only by visual parts or text-less controls. These keep 4.5:1: a profile
1121
+ nothing uses, one a composite slot supplies, the document surface, and one the
1122
+ recipe also names for a pseudo-element, a prose element, a backdrop or an
1123
+ entrance. Nothing is released while an owner fails, because its uses are not
1124
+ known.
1125
+
1126
+ - A partly transparent background, an `opacity` below 1 or an image that is not
1127
+ a gradient of known colours is a `surface-contrast-unresolved` review item.
1128
+ - A fully transparent background (a ghost button's `transparent`) is the note
1129
+ `surface-contrast-placed` (info): the profile paints nothing, so its text
1130
+ contrast is decided where it is placed, by the cross-owner check and, for
1131
+ what scenarios show, the render audit.
1103
1132
  - A surface that paints a disabled control declares `state: "inactive"` among
1104
1133
  its fields and is not checked. A construction can select it only under an
1105
1134
  inactive owner state; anywhere else is `construction/inactive-surface-active`.
1106
1135
 
1107
1136
  **State contrast** (owner analysis): an owner's `when` states pair the colour of
1108
1137
  one profile with the background of another, such as a colour-only error state
1109
- over the base fill, or a hover fill under the base colour.
1138
+ over the base fill, or a hover fill under the base colour. Two states that
1139
+ cannot hold on one root together are not paired: two values of one attribute
1140
+ (`[aria-pressed="false"]:hover` and `[aria-pressed="true"]`), a state and its
1141
+ `:not()`, `:disabled` and `:enabled`.
1110
1142
  `construction/state-contrast-insufficient` blocks the owner;
1111
1143
  `review/state-contrast-unresolved` is a review item.
1112
1144
 
@@ -1207,7 +1239,7 @@ an owner-analysis finding with its fine-grained code, reported under its
1207
1239
  needs a person's approval at acceptance (see the accessibility reference of
1208
1240
  the skill).
1209
1241
  - A control's artwork paints with its text colour, which `surface-contrast`
1210
- already holds to 4.5:1. The surroundings of a control root are its parent's
1242
+ holds to 4.5:1, or to 3:1 where the control renders no text. The surroundings of a control root are its parent's
1211
1243
  composition, which the render audit measures.
1212
1244
 
1213
1245
  #### Assets, fonts and the application icon
@@ -1244,12 +1276,13 @@ export default font({
1244
1276
  { source: "./Inter-Italic.woff2", weight: [100, 900], style: "italic" },
1245
1277
  ],
1246
1278
  preload: [{ weight: 600 }], // optional: faces to preload beyond the document text's
1279
+ fallback: "Arial", // optional: the system font drawn while Inter loads, matched to it
1247
1280
  });
1248
1281
  ```
1249
1282
 
1250
1283
  A font is used where a font-family role token names it first
1251
1284
  (`--font-ui: "Inter", system-ui, sans-serif`), in any theme, brand or condition.
1252
- The starter keeps system fonts. A face's file is a design input. A missing file,
1285
+ The example design system keeps system fonts. A face's file is a design input. A missing file,
1253
1286
  a source outside the declaration's folder, a file whose bytes are not its
1254
1287
  format, a repeated family (`fonts/family-duplicate`) or overlapping faces reject
1255
1288
  the declaration.
@@ -1265,6 +1298,48 @@ the declaration.
1265
1298
  - `font-format` (review): a file is not WOFF2.
1266
1299
  - `font-display` (review): display `block` (invisible text while loading) or
1267
1300
  `optional` (one page can mix the face and the fallback).
1301
+ - `font-fallback` (error, at the token): the family declares a `fallback`, and a
1302
+ font-family token names the family first without `"<family> Fallback"` right
1303
+ after it.
1304
+
1305
+ **A fallback that does not move the page.** With `display: "swap"`, text is
1306
+ drawn in a system font until the family loads. The two fonts have different
1307
+ widths and line heights, so lines rewrap and the page moves when the family
1308
+ arrives. `fallback` makes ADS read each face file's own measurements and emit a
1309
+ second face, `"<family> Fallback"`, which is the system font sized and spaced
1310
+ like the family. For Karla Regular with `fallback: "Arial"` it emits:
1311
+
1312
+ ```css
1313
+ @font-face {
1314
+ font-family: "Karla Fallback";
1315
+ src: local("Arial");
1316
+ font-weight: 400;
1317
+ font-style: normal;
1318
+ size-adjust: 102.29%; /* Karla's average width over Arial's */
1319
+ ascent-override: 89.64%; /* Karla's own line metrics */
1320
+ descent-override: 24.63%;
1321
+ line-gap-override: 0%;
1322
+ }
1323
+ ```
1324
+
1325
+ Name it right after the family in the font-family token:
1326
+ `--font-ui: "Inter", "Inter Fallback", system-ui, sans-serif`. There is one
1327
+ fallback face per declared face, for the same weights and style; a face from
1328
+ weight 600 falls back to the system font's bold, an italic face to its italic.
1329
+
1330
+ - `fallback` is `"Arial"`, `"Times New Roman"` or `"Courier New"`: fonts every
1331
+ desktop platform has or substitutes, whose widths ADS knows. Choose the one
1332
+ nearest the family: sans-serif, serif or monospaced.
1333
+ - For another system font, state the size yourself:
1334
+ `fallback: { font: "Georgia", sizeAdjust: 104 }` (a percentage; ADS still
1335
+ takes the line metrics from the family's files).
1336
+ - The width is the average over English prose (letters, spaces, capitals and
1337
+ punctuation by their frequency), so text in the two fonts differs by a
1338
+ fraction of a percent in ordinary copy and more in unusual text such as
1339
+ all-capital headings. A face without those characters needs the stated form. A file ADS cannot measure (a font collection, a damaged file)
1340
+ rejects the declaration.
1341
+ - Where the system font is absent, the browser skips the fallback face and uses
1342
+ the next family in the token, as without a fallback.
1268
1343
 
1269
1344
  **Application icon.** `foundation({ appIcon })` names a declared asset as the
1270
1345
  icon that browsers, launchers and app stores show
@@ -1426,7 +1501,7 @@ applications on different frameworks.
1426
1501
  - **Images.** The application asks the library for the URLs and passes them to
1427
1502
  the design system's image owner: with Next.js, `getImageProps` from
1428
1503
  `next/image` gives `src`, `srcSet` and `sizes` as data; Cloudinary and imgix
1429
- build the same from a source and a width. The starter's `Image` takes
1504
+ build the same from a source and a width. The example design system's `Image` takes
1430
1505
  `source` and `responsive: { srcSet, sizes }`.
1431
1506
  - **Links.** The pattern renders `<a href>` and reports the click; the
1432
1507
  application navigates in the handler with its router.
@@ -1458,6 +1533,62 @@ does not cap to the region, or a `min-inline-size`.
1458
1533
  - Frames deeper inside a cell are checked against the cell less the inline
1459
1534
  insets and fixed sizes of the owned elements between. A public component, or a
1460
1535
  list, figure, blockquote or fieldset in the way, is reviewed.
1536
+
1537
+ ##### The text keyline
1538
+
1539
+ In a grid, text should start on one vertical line. That line is the **keyline**:
1540
+ the start inset of the spatial profile's `wide` gutter, which a grid takes when
1541
+ it names no gutter (16px in the example design system).
1542
+
1543
+ A grid on another gutter mode starts its cells nearer the column line: `narrow`
1544
+ at the line itself, `condensed` half a border from it. Such grids are for
1545
+ frames that should sit flush, such as cards. The frame then insets its own
1546
+ content with its padding, and that padding decides where its text lands:
1547
+
1548
+ | Card in a narrow-gutter cell | Its text starts at | On the 16px keyline? |
1549
+ | --- | --- | --- |
1550
+ | 16px inline padding | 16px | Yes |
1551
+ | 24px inline padding | 24px | No: 8px past it |
1552
+
1553
+ `ads check` enforces it. A frame in the same owner as the grid is
1554
+ `source/keyline-missed`; a public component placed in the cell, whose frame
1555
+ belongs to another owner, is `component-keyline`. Both use the same comparison:
1556
+
1557
+ - **What is compared.** The gutter's start inset plus the frame's inline
1558
+ padding, against the wide gutter's start.
1559
+ - **Tolerance.** The spatial profile's fine unit (`fineUnit`, 2px in the
1560
+ example design system). A condensed gutter's half border is inside it.
1561
+ - **Borders are not counted.** A border is the frame's edge. Its width may
1562
+ change with the theme (the example design system draws 2px in its dark and high-contrast
1563
+ themes), and no inset token may be derived from a border width, so an inset
1564
+ cannot follow it. Text therefore sits a border's width past the keyline.
1565
+ - **Where it applies.** The cell's own container frame, or the first padded
1566
+ container frame inside the cell, in a `fluid` or `hybrid` grid whose gutter is
1567
+ a declared mode other than `wide`. It is checked in every theme and brand.
1568
+ - **Across owners.** For a public component in the cell, the frame is the
1569
+ component's root: the outermost element of its markup. A component whose root
1570
+ is another component takes that one's root. The finding is at the placement,
1571
+ and names the root frame as a related position. A root that ADS cannot read
1572
+ is the review item `component-keyline-unresolved`, never a pass.
1573
+ - **Where it does not.** A control (a button or a tile has its own inset, sized
1574
+ for its label and target); a frame without inline padding (flush content is a
1575
+ choice); what is inside a frame that already pads; `gutter: "none"` grids,
1576
+ which are structural layouts such as an application shell and have no text
1577
+ column; fixed tiling.
1578
+ - **Cost.** A design system with no component in a narrower-gutter grid has
1579
+ nothing to join: the cross-owner check returns before reading a token value.
1580
+
1581
+ The repair is a frame whose inline padding is the wide gutter's own token. The
1582
+ example design system's `card-cell` profile does this for the cards in its condensed grid:
1583
+
1584
+ ```ts
1585
+ // tokens/Containers/frame-inset.ads.css: --card-cell-inset: var(--grid-gutter-wide-start);
1586
+ export const cardCellFrame = profile({
1587
+ name: "card-cell-frame",
1588
+ kind: "frame",
1589
+ fields: { paddingBlock: "--card-padding", paddingInline: "--card-cell-inset", borderWidth: "--container-border", radius: "--radius-panel" },
1590
+ });
1591
+ ```
1461
1592
  - For the children of a fixed tiling grid, a size wider than the tile fails. Any
1462
1593
  other fixed size is reviewed, because a tile shrinks to a narrower region.
1463
1594
  - A public component placed as a cell or tile is reviewed, naming the narrowest
@@ -1518,7 +1649,7 @@ The owner writes the values with `recipe.measured.set` and `.clear`, or spreads
1518
1649
  `construction/cover-asset-unsupported`. A measured size on a `frame: "control"`
1519
1650
  part is checked for target size with its fallback and reviewed
1520
1651
  (`a11y-target-size-unresolved`). Measured values never take part in contrast.
1521
- The starter's `Menu` is a worked example: it places its panel below its trigger,
1652
+ The example design system's `Menu` is a worked example: it places its panel below its trigger,
1522
1653
  or above it when only that side has room, and clears the values when it closes.
1523
1654
 
1524
1655
  **Interaction properties** ([language](LANGUAGE.md#interaction-properties)).
@@ -1539,7 +1670,7 @@ writes `recipe.paints.set` and `.clear`. Codes:
1539
1670
  `construction/paint-profile-conflict`,
1540
1671
  `construction/paint-contrast-insufficient`, `source/paint-undeclared`,
1541
1672
  `source/paint-value-untyped`, `review/paint-unused` and
1542
- `review/paint-contrast-unresolved`. The starter's `BarChart` paints its bars
1673
+ `review/paint-contrast-unresolved`. The example design system's `BarChart` paints its bars
1543
1674
  from the `--chart-1`…`--chart-3` series tokens (`tokens/Charts/paint.ads.css`,
1544
1675
  with light, dark and high-contrast values).
1545
1676
 
@@ -1549,17 +1680,17 @@ the motion slot of the recipe: on the artwork part of a control, or on a region
1549
1680
  or control root that declares `transition: ["scale"]`. A scale factor is
1550
1681
  relative: 0.96 moves a 40px button in by less than 1px per side, and a 400px
1551
1682
  card by 8px. Select the factor per size class, through the motion profile that
1552
- the motion slot of the composite selects. The starter names the classes
1683
+ the motion slot of the composite selects. The example design system names the classes
1553
1684
  (`tokens/Motion/motion-scale.ads.css`, `profiles/Motion/feedback.ads.ts`):
1554
1685
 
1555
1686
  | Element size | Profile | Factor | Shrink |
1556
1687
  | --- | --- | --- | --- |
1557
- | Artwork inside a control (~20px) | `press-glyph` | 0.98 in the starter; 0.9 gives a visible ~1px | ~0.2px per side at 0.98 |
1688
+ | Artwork inside a control (~20px) | `press-glyph` | 0.98 in the example design system; 0.9 gives a visible ~1px | ~0.2px per side at 0.98 |
1558
1689
  | A control (~120 × 40px) | `press-control` | 0.97 | ~1–2px |
1559
1690
  | A card or tile surface (~300px) | `press-surface` | 0.99 | ~1.5px |
1560
1691
  | A page-sized region | none | — | no press scale |
1561
1692
 
1562
- The starter's Button, IconButton and ToggleTile press their artwork
1693
+ The example design system's Button, IconButton and ToggleTile press their artwork
1563
1694
  (`action-feedback` composes `press-glyph`). A `frame: "container"` root whose
1564
1695
  press factor is below 0.98 in some token context, or cannot be read as a number,
1565
1696
  is the review item `review/press-scale-large-surface` at the `scale` endpoint
@@ -1628,6 +1759,27 @@ again. Use local state for what a person changes by using the owner. The
1628
1759
  showcase address names the chosen state (`&state=<name>`), so a state can be
1629
1760
  linked, and `ads_capture` takes the same name to capture it.
1630
1761
 
1762
+ **Live controls.** `controls: true` asks ADS to draw a control for each closed
1763
+ prop of the first owner in `covers`: a union of literals (`size`, `variant`)
1764
+ or a boolean (`disabled`). ADS takes the list from the owner's own analysis,
1765
+ so it is exactly the props that change the owner's markup or styling; text,
1766
+ numbers, callbacks and data are never controls. Every `render` receives the
1767
+ chosen values as props, over the chosen state's, and takes part by spreading
1768
+ them:
1769
+
1770
+ ```tsx
1771
+ export const scenario = {
1772
+ title: "Button",
1773
+ covers: ["Button"],
1774
+ controls: true,
1775
+ specimens: [{ title: "Try it", render: (props) => <Button label="Continue" {...props} /> }],
1776
+ } satisfies Scenario;
1777
+ ```
1778
+
1779
+ Named states are for situations that need data (loaded, empty, failed); the
1780
+ controls are for switches. The render audit renders named states only: a
1781
+ combination made with the controls is not a named case.
1782
+
1631
1783
  **Frames.** `frame: "inline"` (the default) is a page of boxed specimens.
1632
1784
  `frame: "screen"` shows the first specimen as a whole screen, with the state
1633
1785
  switch in a bar above it; a mock uses it. `frame: "phone"` shows it in a
@@ -1756,14 +1908,28 @@ follows:
1756
1908
  tokens express, not a rule that ADS enforces. An owned hit area
1757
1909
  (`minTargetBlockSize`, `minTargetInlineSize` on a frame profile) can enlarge
1758
1910
  the target without a change to the layout.
1759
- - The starter does this ([starter touch density](STARTER.md#touch-density)). To
1760
- see it, open a scenario in a touch context: Chromium DevTools device
1911
+ - To see a coarse-pointer density, open a scenario in a touch context: Chromium DevTools device
1761
1912
  emulation, or Playwright's `hasTouch: true`, which makes Chromium report a
1762
1913
  coarse primary pointer.
1763
1914
  - Prefer `(pointer: coarse)` for the primary input. `(any-pointer: coarse)` also
1764
1915
  matches a laptop with a touch screen, which then gets touch density with a
1765
1916
  mouse also.
1766
1917
 
1918
+ ### Surface effects
1919
+
1920
+ A surface profile can blur its element (`blur`), blur and saturate what is
1921
+ behind it (`backdropBlur`, `backdropSaturate`: a glass bar over scrolling
1922
+ content), and cast a shadow that follows a shape instead of a box
1923
+ (`shapeShadow` on an image or artwork part, `groupShadow` on a container whose
1924
+ contents should cast one shadow). ADS composes them into the element's one
1925
+ `filter` and one `backdrop-filter` in a fixed order and writes the `-webkit-`
1926
+ companion. Their values are tokens: blur radii in `tokens/<Group>/blur.ads.css`,
1927
+ the saturation percentage in `saturation.ads.css`, and shadows in
1928
+ `shadow.ads.css`, where a shape or group shadow is one layer without spread.
1929
+ [Profile kinds](PROFILE-KINDS.md#surface-effects) has the fields, the rules and
1930
+ an example; the example design system's `profiles/Surfaces/materials.ads.ts` declares a
1931
+ translucent surface and a lifted drawing.
1932
+
1767
1933
  ### Colours that depend on their surroundings
1768
1934
 
1769
1935
  Some UI must change its colours with what it sits on. Examples are a dark footer
@@ -1983,7 +2149,10 @@ The folder holds:
1983
2149
  the default focus indicator from the `focus` profile
1984
2150
  (`foundation({ focus: "keyboard-focus" })`) on every `:focus-visible` element,
1985
2151
  at zero specificity so that the indicator of a construction wins;
1986
- `color-scheme` for each declared theme; the page scroll lock behind a modal
2152
+ `color-scheme` for each declared theme, with the two scheme switches beside
2153
+ it (`--ads-not-light`, `--ads-not-dark`) that display a
2154
+ [light or dark content image](ASSETS.md#a-content-image-with-a-light-and-a-dark-file);
2155
+ the page scroll lock behind a modal
1987
2156
  dialog, when an owner needs it; and the tokens that these use.
1988
2157
  - **`index.ts`**, the public barrel: the authored `<dsDir>/index.ts` with the
1989
2158
  same exports, which resolve to the emitted modules (public `@ds` imports, if
@@ -2106,8 +2275,8 @@ modules, and a second wildcard declaration would conflict with them.
2106
2275
  a second download. With Bun.build, preload only faces of 128 KiB or more.
2107
2276
 
2108
2277
  **Server rendering.** The generated modules (`fonts.ts`, `app-icons.ts`, the
2109
- palette) touch no `window` or `document` when they load. The starter's owners
2110
- use the DOM only in effects, ref callbacks and handlers, so the emitted starter
2278
+ palette) touch no `window` or `document` when they load. The example design system's owners
2279
+ use the DOM only in effects, ref callbacks and handlers, so the emitted example design system
2111
2280
  renders with `react-dom/server` or `preact-render-to-string` and hydrates
2112
2281
  without mismatch. For other owners, their own module-level code decides this.
2113
2282
 
@@ -2282,7 +2451,7 @@ among the info notes. A folder without a readable contract is
2282
2451
 
2283
2452
  Code that draws on a canvas or with WebGL needs theme colours as JavaScript
2284
2453
  values. A design system that declares `palette: true` in `foundation()` (the
2285
- starter does) keeps `<dsDir>/palette.generated.ts`: every paint-role token,
2454
+ example design system does) keeps `<dsDir>/palette.generated.ts`: every paint-role token,
2286
2455
  resolved in every declared context (each theme of the default brand, then
2287
2456
  `<brand>/<theme>`). A design system that does not declare it gets none.
2288
2457
 
@@ -2297,7 +2466,7 @@ resolved in every declared context (each theme of the default brand, then
2297
2466
  foundation declares `followSystemTheme: true`. Otherwise it is `null`.
2298
2467
  - The module is generated source. Owners and controllers import it relatively
2299
2468
  and typecheck against its exact token union, and emission copies it as a plain
2300
- module. The starter's `controllers/Palette/Palette.ts` reads it (`paletteFor`,
2469
+ module. The example design system's `controllers/Palette/Palette.ts` reads it (`paletteFor`,
2301
2470
  `observePalette`, `resolveColor`, `paletteContext`, exported from the barrel).
2302
2471
  - `ads emit` never writes source, so it refuses while `ads check` reports
2303
2472
  `palette-generated`
@@ -2425,7 +2594,7 @@ library. These are agent workflows, not CLI import or design subcommands.
2425
2594
  - Install the skills through `npx skills`, or read the packaged skills through
2426
2595
  the [stdio MCP server](MCP.md#skills). MCP serving does not install or
2427
2596
  automatically activate a skill.
2428
- - The tool bundles no UI component or example library other than the starter.
2597
+ - The tool bundles no UI component or example library, and no design system.
2429
2598
 
2430
2599
  ## Release maintenance
2431
2600