@reqvire-org/ads 0.5.0 → 0.5.2

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 (554) hide show
  1. package/README.md +9 -6
  2. package/dist/ads-errors.mjs +382 -34
  3. package/dist/ads-views.mjs +4 -4
  4. package/dist/analysis/composition-axes.mjs +48 -0
  5. package/dist/analysis/construction-memo.mjs +38 -0
  6. package/dist/analysis/context.mjs +19 -0
  7. package/dist/analysis/design-reads.mjs +177 -0
  8. package/dist/analysis/design-usage.mjs +20 -4
  9. package/dist/analysis/factored-classes.mjs +90 -0
  10. package/dist/analysis/helpers.mjs +5 -7
  11. package/dist/analysis/mock-check.mjs +5 -4
  12. package/dist/analysis/native-project.mjs +12 -0
  13. package/dist/analysis/owner-analysis-cache.mjs +86 -23
  14. package/dist/analysis/owner-analysis-key.mjs +42 -10
  15. package/dist/analysis/owner-choices.mjs +195 -43
  16. package/dist/analysis/owner-composition.mjs +152 -43
  17. package/dist/analysis/owner-controls.mjs +27 -0
  18. package/dist/analysis/owner-reuse.mjs +8 -6
  19. package/dist/analysis/owner-source.mjs +309 -83
  20. package/dist/analysis/prose-owners.mjs +57 -0
  21. package/dist/analysis/scenario-keys.mjs +10 -7
  22. package/dist/analysis/service.mjs +50 -3
  23. package/dist/analysis/standalone.mjs +7 -4
  24. package/dist/analysis/styling-ownership.mjs +22 -0
  25. package/dist/analysis/syntax.mjs +59 -1
  26. package/dist/analysis/worker-protocol.mjs +14 -2
  27. package/dist/analysis/worker.mjs +32 -10
  28. package/dist/architecture-report.mjs +26 -0
  29. package/dist/asset-view-facts.mjs +16 -2
  30. package/dist/boundaries.mjs +26 -10
  31. package/dist/bun-compiler.mjs +2 -2
  32. package/dist/check-service.mjs +29 -17
  33. package/dist/check.mjs +20 -7
  34. package/dist/cli-arguments.mjs +2 -2
  35. package/dist/cli.mjs +4 -4
  36. package/dist/composed-contrast.mjs +28 -8
  37. package/dist/composed-keyline.mjs +107 -0
  38. package/dist/config.mjs +2 -1
  39. package/dist/construction-output.mjs +149 -20
  40. package/dist/construction-spec.d.mts +320 -12
  41. package/dist/construction-spec.mjs +452 -69
  42. package/dist/corner-overpaint.mjs +65 -0
  43. package/dist/derived-states.mjs +182 -0
  44. package/dist/design-foundation.mjs +6 -1
  45. package/dist/design-inputs.mjs +18 -3
  46. package/dist/design-system-closure.mjs +12 -7
  47. package/dist/design-usage.mjs +8 -2
  48. package/dist/emit/contract.mjs +24 -5
  49. package/dist/emit/emission.mjs +14 -5
  50. package/dist/emit/font-emission.mjs +21 -1
  51. package/dist/emit/foundation-sheet.mjs +6 -5
  52. package/dist/emit/integrity.mjs +8 -2
  53. package/dist/emit/output-watch.mjs +120 -0
  54. package/dist/emit/owner-emission-cache.mjs +4 -4
  55. package/dist/emit/preview-emitter.mjs +4 -2
  56. package/dist/emit/preview-tree.mjs +1 -1
  57. package/dist/emit/service.mjs +8 -2
  58. package/dist/finding-rules.mjs +10 -0
  59. package/dist/font-checks.mjs +42 -0
  60. package/dist/font-declaration.d.mts +10 -0
  61. package/dist/font-declaration.mjs +25 -3
  62. package/dist/font-fallback.d.mts +37 -0
  63. package/dist/font-fallback.mjs +25 -0
  64. package/dist/font-macro.d.mts +10 -0
  65. package/dist/font-metrics.d.mts +34 -0
  66. package/dist/font-metrics.mjs +314 -0
  67. package/dist/font-model.mjs +28 -2
  68. package/dist/form-states.mjs +8 -0
  69. package/dist/foundation-macro.d.mts +1 -1
  70. package/dist/frame-regions.mjs +92 -9
  71. package/dist/grid-facts.mjs +72 -16
  72. package/dist/grid-lowering.mjs +11 -5
  73. package/dist/hover-geometry.mjs +15 -0
  74. package/dist/init.mjs +14 -23
  75. package/dist/input-digests.mjs +17 -10
  76. package/dist/linaria/delivery.mjs +2 -0
  77. package/dist/lowering-enter.mjs +31 -0
  78. package/dist/lowering-properties.mjs +27 -1
  79. package/dist/lowering-region-layout.mjs +49 -10
  80. package/dist/lowering-sequence.mjs +89 -0
  81. package/dist/lowering-session.mjs +7 -0
  82. package/dist/lowering-transitions.mjs +22 -8
  83. package/dist/mcp/build-status.mjs +9 -1
  84. package/dist/mcp/compiler-channel.mjs +11 -4
  85. package/dist/mcp/mutations.mjs +1 -0
  86. package/dist/mcp/preview-http.bundle.js +2 -2
  87. package/dist/mcp/preview-watch.mjs +2 -1
  88. package/dist/mcp/preview-widget.bundle.js +5 -5
  89. package/dist/motion-model.mjs +3 -1
  90. package/dist/owner-analysis-check.mjs +86 -12
  91. package/dist/owner-errors.mjs +20 -2
  92. package/dist/owner-lowering.mjs +104 -25
  93. package/dist/owner-scenarios.mjs +29 -4
  94. package/dist/ownership-model.mjs +37 -4
  95. package/dist/paint-contrast.mjs +5 -0
  96. package/dist/placeholder-contrast.mjs +18 -1
  97. package/dist/platform-features.mjs +35 -2
  98. package/dist/preview-bun.mjs +17 -16
  99. package/dist/preview-controls.mjs +35 -0
  100. package/dist/preview-incremental.mjs +1 -1
  101. package/dist/preview-source.mjs +2 -2
  102. package/dist/profile-macro.d.mts +15 -0
  103. package/dist/profile-model.mjs +3 -3
  104. package/dist/profile-view-facts.mjs +55 -4
  105. package/dist/prose-model.d.mts +81 -0
  106. package/dist/prose-model.mjs +101 -0
  107. package/dist/recipe-macro.d.mts +176 -15
  108. package/dist/recipe-model.mjs +35 -7
  109. package/dist/region-lowering.mjs +463 -65
  110. package/dist/render-audit/corner-overpaint.page.mjs +54 -0
  111. package/dist/render-audit/layout-shift.page.mjs +24 -0
  112. package/dist/render-audit/render-states.mjs +122 -1
  113. package/dist/render-audit/render-states.page.mjs +140 -0
  114. package/dist/render-audit/worker.mjs +23 -3
  115. package/dist/render-audit.mjs +139 -1
  116. package/dist/role-vocabulary.d.mts +43 -2
  117. package/dist/role-vocabulary.mjs +50 -4
  118. package/dist/scenario-kit.d.mts +6 -0
  119. package/dist/scenario-registry.mjs +1 -1
  120. package/dist/scenarios-compiler.mjs +20 -6
  121. package/dist/scheme-switch.d.mts +8 -0
  122. package/dist/scheme-switch.mjs +1 -0
  123. package/dist/showcase/ads-views.mjs +116 -53
  124. package/dist/showcase/assets-view.mjs +136 -89
  125. package/dist/showcase/client.bundle.js +65 -65
  126. package/dist/showcase/http-client.bundle.js +17 -17
  127. package/dist/showcase/preview-frame.css +2 -0
  128. package/dist/showcase/profiles-view.mjs +163 -122
  129. package/dist/showcase/scenario-page.d.mts +11 -1
  130. package/dist/showcase/scenario-page.mjs +18 -3
  131. package/dist/showcase/token-sample.mjs +47 -4
  132. package/dist/showcase/tokens-view.mjs +82 -34
  133. package/dist/showcase/ui/ui.css +1 -1
  134. package/dist/showcase/ui/ui.js +5 -5
  135. package/dist/skills/README.md +5 -5
  136. package/dist/skills/ads-designer/README.md +1 -1
  137. package/dist/skills/ads-designer/SKILL.md +13 -12
  138. package/dist/skills/ads-designer/references/accessibility.md +9 -2
  139. package/dist/skills/ads-designer/references/atomic-styles.md +8 -1
  140. package/dist/skills/ads-designer/references/branding.md +20 -5
  141. package/dist/skills/ads-designer/references/cli.md +4 -4
  142. package/dist/skills/ads-designer/references/contracts.md +14 -4
  143. package/dist/skills/ads-designer/references/design-craft.md +1 -1
  144. package/dist/skills/ads-designer/references/design-data.md +3 -3
  145. package/dist/skills/ads-designer/references/forms.md +6 -6
  146. package/dist/skills/ads-designer/references/layout.md +46 -3
  147. package/dist/skills/ads-designer/references/motion.md +45 -1
  148. package/dist/skills/ads-designer/references/performance.md +7 -1
  149. package/dist/skills/ads-designer/references/recipes.md +92 -7
  150. package/dist/skills/ads-designer/references/runtimes.md +1 -1
  151. package/dist/skills/ads-designer/references/scenarios.md +1 -0
  152. package/dist/skills/ads-import/references/atomic-styles.md +8 -1
  153. package/dist/skills/ads-import/references/cli.md +4 -4
  154. package/dist/skills/ads-import/references/contracts.md +14 -4
  155. package/dist/skills/ads-import/references/design-data.md +3 -3
  156. package/dist/skills/ads-import/references/forms.md +6 -6
  157. package/dist/skills/ads-import/references/layout.md +46 -3
  158. package/dist/skills/ads-import/references/recipes.md +92 -7
  159. package/dist/skills/ads-import/references/runtimes.md +1 -1
  160. package/dist/skills/ads-import/references/scenarios.md +1 -0
  161. package/dist/skills/ads-migrate/SKILL.md +3 -1
  162. package/dist/skills/ads-migrate/references/0.5.0-to-0.5.1.md +239 -0
  163. package/dist/skills/ads-migrate/references/0.5.1-to-0.5.2.md +185 -0
  164. package/dist/skills/ads-port/references/atomic-styles.md +8 -1
  165. package/dist/skills/ads-port/references/cli.md +4 -4
  166. package/dist/skills/ads-port/references/contracts.md +14 -4
  167. package/dist/skills/ads-port/references/design-data.md +3 -3
  168. package/dist/skills/ads-port/references/forms.md +6 -6
  169. package/dist/skills/ads-port/references/layout.md +46 -3
  170. package/dist/skills/ads-port/references/recipes.md +92 -7
  171. package/dist/skills/ads-port/references/runtimes.md +1 -1
  172. package/dist/skills/ads-port/references/scenarios.md +1 -0
  173. package/dist/spatial-model.mjs +20 -4
  174. package/dist/state-conditions.d.mts +29 -0
  175. package/dist/state-conditions.mjs +42 -2
  176. package/dist/surface-contrast.mjs +69 -10
  177. package/dist/surface-effects.mjs +100 -0
  178. package/dist/target-size.mjs +1 -1
  179. package/dist/task-cache.mjs +9 -19
  180. package/dist/token-dtcg.mjs +1 -0
  181. package/dist/token-view-facts.mjs +54 -5
  182. package/dist/unreached-sources.mjs +5 -0
  183. package/dist/validation-checks.mjs +1 -1
  184. package/dist/validation.mjs +1 -1
  185. package/docs/ADS.md +36 -13
  186. package/docs/ARCHITECTURE.md +223 -23
  187. package/docs/ASSETS.md +81 -10
  188. package/docs/CACHING.md +152 -24
  189. package/docs/CHANGELOG.md +525 -23
  190. package/docs/DESIGN-REFERENCES.md +5 -5
  191. package/docs/GUIDE.md +286 -73
  192. package/docs/LANGUAGE.md +428 -24
  193. package/docs/LOWERING.md +13 -1
  194. package/docs/MOTION.md +241 -7
  195. package/docs/PROFILE-KINDS.md +176 -14
  196. package/docs/PROFILES.md +2 -2
  197. package/docs/RULES.md +63 -24
  198. package/docs/TOKEN-ROLES.md +15 -7
  199. package/package.json +1 -1
  200. package/dist/starter-files.mjs +0 -155
  201. package/dist/starter-overlay.mjs +0 -189
  202. package/dist/starters/preact/design-system/assets/avatars/avatar.ads.ts +0 -10
  203. package/dist/starters/preact/design-system/assets/avatars/member.svg +0 -1
  204. package/dist/starters/preact/design-system/assets/brand/emblem.ads.ts +0 -18
  205. package/dist/starters/preact/design-system/assets/brand/emblem.svg +0 -4
  206. package/dist/starters/preact/design-system/assets/brand/iris-emblem.ads.ts +0 -14
  207. package/dist/starters/preact/design-system/assets/brand/iris-emblem.svg +0 -4
  208. package/dist/starters/preact/design-system/assets/brand/mark.ads.ts +0 -14
  209. package/dist/starters/preact/design-system/assets/brand/mark.svg +0 -1
  210. package/dist/starters/preact/design-system/assets/glyphs/arrow.ads.ts +0 -14
  211. package/dist/starters/preact/design-system/assets/glyphs/arrow.svg +0 -1
  212. package/dist/starters/preact/design-system/assets/glyphs/chevron-20.svg +0 -1
  213. package/dist/starters/preact/design-system/assets/glyphs/chevron-24.svg +0 -1
  214. package/dist/starters/preact/design-system/assets/glyphs/chevron.ads.ts +0 -20
  215. package/dist/starters/preact/design-system/assets/glyphs/close.ads.ts +0 -13
  216. package/dist/starters/preact/design-system/assets/glyphs/close.svg +0 -1
  217. package/dist/starters/preact/design-system/assets/glyphs/favorite.ads.ts +0 -23
  218. package/dist/starters/preact/design-system/assets/glyphs/favorite.normal.svg +0 -1
  219. package/dist/starters/preact/design-system/assets/glyphs/favorite.selected.svg +0 -1
  220. package/dist/starters/preact/design-system/assets/glyphs/search.ads.ts +0 -10
  221. package/dist/starters/preact/design-system/assets/glyphs/search.svg +0 -1
  222. package/dist/starters/preact/design-system/assets/illustrations/journey.ads.ts +0 -32
  223. package/dist/starters/preact/design-system/assets/illustrations/journey.contrast.svg +0 -6
  224. package/dist/starters/preact/design-system/assets/illustrations/journey.dark.svg +0 -13
  225. package/dist/starters/preact/design-system/assets/illustrations/journey.light.svg +0 -13
  226. package/dist/starters/preact/design-system/assets/logos/harbor-pay.ads.ts +0 -17
  227. package/dist/starters/preact/design-system/assets/logos/harbor-pay.dark.svg +0 -10
  228. package/dist/starters/preact/design-system/assets/logos/harbor-pay.light.svg +0 -10
  229. package/dist/starters/preact/design-system/assets/logos/lumen-cloud.ads.ts +0 -15
  230. package/dist/starters/preact/design-system/assets/logos/lumen-cloud.dark.svg +0 -9
  231. package/dist/starters/preact/design-system/assets/logos/lumen-cloud.light.svg +0 -9
  232. package/dist/starters/preact/design-system/assets/status/error.svg +0 -1
  233. package/dist/starters/preact/design-system/assets/status/outcomes.ads.ts +0 -31
  234. package/dist/starters/preact/design-system/assets/status/status.ads.ts +0 -16
  235. package/dist/starters/preact/design-system/assets/status/success.svg +0 -1
  236. package/dist/starters/preact/design-system/assets/status/sync-status.ads.ts +0 -14
  237. package/dist/starters/preact/design-system/assets/status/sync-status.svg +0 -7
  238. package/dist/starters/preact/design-system/assets/status/warning.svg +0 -1
  239. package/dist/starters/preact/design-system/components/Actions/Button/Button.ads.scenario.tsx +0 -12
  240. package/dist/starters/preact/design-system/components/Actions/Button/Button.tsx +0 -198
  241. package/dist/starters/preact/design-system/components/Actions/IconButton/IconButton.tsx +0 -95
  242. package/dist/starters/preact/design-system/components/Actions/ToggleTile/ToggleTile.ads.scenario.tsx +0 -22
  243. package/dist/starters/preact/design-system/components/Actions/ToggleTile/ToggleTile.tsx +0 -60
  244. package/dist/starters/preact/design-system/components/Containers/Disclosure/Disclosure.ads.scenario.tsx +0 -24
  245. package/dist/starters/preact/design-system/components/Containers/Disclosure/Disclosure.tsx +0 -50
  246. package/dist/starters/preact/design-system/components/Content/Artwork/Artwork.ads.scenario.tsx +0 -8
  247. package/dist/starters/preact/design-system/components/Content/Artwork/Artwork.tsx +0 -110
  248. package/dist/starters/preact/design-system/components/Content/BarChart/BarChart.ads.scenario.tsx +0 -25
  249. package/dist/starters/preact/design-system/components/Content/BarChart/BarChart.tsx +0 -72
  250. package/dist/starters/preact/design-system/components/Content/GuideGrid/GuideGrid.ads.scenario.tsx +0 -8
  251. package/dist/starters/preact/design-system/components/Content/GuideGrid/GuideGrid.tsx +0 -43
  252. package/dist/starters/preact/design-system/components/Content/Icon/Icon.ads.scenario.tsx +0 -21
  253. package/dist/starters/preact/design-system/components/Content/Icon/Icon.tsx +0 -41
  254. package/dist/starters/preact/design-system/components/Content/Icon/glyphs/arrow.tsx +0 -10
  255. package/dist/starters/preact/design-system/components/Content/Icon/glyphs/close.tsx +0 -10
  256. package/dist/starters/preact/design-system/components/Content/Icon/glyphs/search.tsx +0 -10
  257. package/dist/starters/preact/design-system/components/Content/Image/Image.ads.fixture.ts +0 -9
  258. package/dist/starters/preact/design-system/components/Content/Image/Image.ads.scenario.tsx +0 -12
  259. package/dist/starters/preact/design-system/components/Content/Image/Image.tsx +0 -83
  260. package/dist/starters/preact/design-system/components/Content/InspectedGlyph/InspectedGlyph.ads.scenario.tsx +0 -27
  261. package/dist/starters/preact/design-system/components/Content/InspectedGlyph/InspectedGlyph.tsx +0 -46
  262. package/dist/starters/preact/design-system/components/Content/PartnerLogo/PartnerLogo.ads.scenario.tsx +0 -17
  263. package/dist/starters/preact/design-system/components/Content/PartnerLogo/PartnerLogo.tsx +0 -41
  264. package/dist/starters/preact/design-system/components/Content/StatusIcon/StatusIcon.ads.scenario.tsx +0 -20
  265. package/dist/starters/preact/design-system/components/Content/StatusIcon/StatusIcon.tsx +0 -37
  266. package/dist/starters/preact/design-system/components/Forms/TextField/TextField.ads.scenario.tsx +0 -24
  267. package/dist/starters/preact/design-system/components/Forms/TextField/TextField.tsx +0 -173
  268. package/dist/starters/preact/design-system/components/Identity/Identity.ads.scenario.tsx +0 -13
  269. package/dist/starters/preact/design-system/components/Identity/Identity.tsx +0 -146
  270. package/dist/starters/preact/design-system/components/Overlays/Menu/Menu.ads.scenario.tsx +0 -27
  271. package/dist/starters/preact/design-system/components/Overlays/Menu/Menu.tsx +0 -194
  272. package/dist/starters/preact/design-system/components/Overlays/Popover/Popover.ads.scenario.tsx +0 -19
  273. package/dist/starters/preact/design-system/components/Overlays/Popover/Popover.tsx +0 -37
  274. package/dist/starters/preact/design-system/controllers/FormField/FormField.ads.behavior.ts +0 -70
  275. package/dist/starters/preact/design-system/controllers/FormField/FormField.behavior.spec.ts +0 -237
  276. package/dist/starters/preact/design-system/controllers/FormField/FormField.ts +0 -343
  277. package/dist/starters/preact/design-system/controllers/FormField/useFormField.ts +0 -70
  278. package/dist/starters/preact/design-system/controllers/Palette/Palette.ts +0 -165
  279. package/dist/starters/preact/design-system/foundation.ads.ts +0 -22
  280. package/dist/starters/preact/design-system/index.ts +0 -51
  281. package/dist/starters/preact/design-system/mocks/ConstructionProofs/ConstructionProofs.ads.fixture.ts +0 -5
  282. package/dist/starters/preact/design-system/mocks/ConstructionProofs/ConstructionProofs.ads.scenario.tsx +0 -22
  283. package/dist/starters/preact/design-system/mocks/Inspector/Inspector.ads.fixture.ts +0 -12
  284. package/dist/starters/preact/design-system/mocks/Inspector/Inspector.ads.scenario.tsx +0 -21
  285. package/dist/starters/preact/design-system/mocks/Workspace/Layouts.ads.scenario.tsx +0 -24
  286. package/dist/starters/preact/design-system/mocks/Workspace/Media.ads.scenario.tsx +0 -24
  287. package/dist/starters/preact/design-system/mocks/Workspace/Stress.ads.scenario.tsx +0 -36
  288. package/dist/starters/preact/design-system/mocks/Workspace/Workspace.ads.fixture.ts +0 -13
  289. package/dist/starters/preact/design-system/mocks/Workspace/Workspace.ads.scenario.tsx +0 -27
  290. package/dist/starters/preact/design-system/mocks/Workspace/media/ads.svg +0 -1
  291. package/dist/starters/preact/design-system/palette.generated.ts +0 -188
  292. package/dist/starters/preact/design-system/patterns/ArtworkCatalogue/ArtworkCatalogue/ArtworkCatalogue.tsx +0 -73
  293. package/dist/starters/preact/design-system/patterns/ConstructionWorkbench/ConstructionWorkbench/ConstructionWorkbench.ads.scenario.tsx +0 -23
  294. package/dist/starters/preact/design-system/patterns/ConstructionWorkbench/ConstructionWorkbench/ConstructionWorkbench.tsx +0 -94
  295. package/dist/starters/preact/design-system/patterns/Forms/InviteMember/InviteMember.ads.scenario.tsx +0 -21
  296. package/dist/starters/preact/design-system/patterns/Forms/InviteMember/InviteMember.tsx +0 -137
  297. package/dist/starters/preact/design-system/patterns/Inspector/Inspector/Inspector.ads.scenario.tsx +0 -22
  298. package/dist/starters/preact/design-system/patterns/Inspector/Inspector/Inspector.tsx +0 -248
  299. package/dist/starters/preact/design-system/patterns/Shell/Shell.ads.scenario.tsx +0 -26
  300. package/dist/starters/preact/design-system/patterns/Shell/Shell.tsx +0 -268
  301. package/dist/starters/preact/design-system/patterns/Workspace/Workspace/Workspace.ads.scenario.tsx +0 -28
  302. package/dist/starters/preact/design-system/patterns/Workspace/Workspace/Workspace.tsx +0 -105
  303. package/dist/starters/preact/design-system/patterns/Workspace/Workspace/WorkspacePanels.tsx +0 -179
  304. package/dist/starters/preact/design-system/profiles/Containers/containers.ads.ts +0 -67
  305. package/dist/starters/preact/design-system/profiles/Containers/frames.ads.ts +0 -32
  306. package/dist/starters/preact/design-system/profiles/Containers/geometry.ads.ts +0 -30
  307. package/dist/starters/preact/design-system/profiles/Containers/spacing.ads.ts +0 -26
  308. package/dist/starters/preact/design-system/profiles/Controls/controls.ads.ts +0 -157
  309. package/dist/starters/preact/design-system/profiles/Controls/frames.ads.ts +0 -50
  310. package/dist/starters/preact/design-system/profiles/Controls/spacing.ads.ts +0 -29
  311. package/dist/starters/preact/design-system/profiles/Focus/keyboard.ads.ts +0 -13
  312. package/dist/starters/preact/design-system/profiles/Identity/identity.ads.ts +0 -25
  313. package/dist/starters/preact/design-system/profiles/Identity/spacing.ads.ts +0 -22
  314. package/dist/starters/preact/design-system/profiles/Layout/grid.ads.ts +0 -69
  315. package/dist/starters/preact/design-system/profiles/Layout/inspector.ads.ts +0 -146
  316. package/dist/starters/preact/design-system/profiles/Layout/overlays.ads.ts +0 -94
  317. package/dist/starters/preact/design-system/profiles/Layout/regions.ads.ts +0 -296
  318. package/dist/starters/preact/design-system/profiles/Motion/feedback.ads.ts +0 -92
  319. package/dist/starters/preact/design-system/profiles/Surfaces/controls.ads.ts +0 -142
  320. package/dist/starters/preact/design-system/profiles/Surfaces/document.ads.ts +0 -2
  321. package/dist/starters/preact/design-system/profiles/Surfaces/materials.ads.ts +0 -18
  322. package/dist/starters/preact/design-system/profiles/Surfaces/surfaces.ads.ts +0 -48
  323. package/dist/starters/preact/design-system/profiles/Typography/details.ads.ts +0 -19
  324. package/dist/starters/preact/design-system/profiles/Typography/document.ads.ts +0 -2
  325. package/dist/starters/preact/design-system/profiles/Typography/headings.ads.ts +0 -15
  326. package/dist/starters/preact/design-system/profiles/Typography/text.ads.ts +0 -73
  327. package/dist/starters/preact/design-system/profiles/Visuals/artwork.ads.ts +0 -46
  328. package/dist/starters/preact/design-system/profiles/Visuals/charts.ads.ts +0 -31
  329. package/dist/starters/preact/design-system/profiles/Visuals/content.ads.ts +0 -52
  330. package/dist/starters/preact/design-system/profiles/Visuals/glyphs.ads.ts +0 -35
  331. package/dist/starters/preact/design-system/profiles/Visuals/identity.ads.ts +0 -24
  332. package/dist/starters/preact/design-system/tokens/Artwork/paint.ads.css +0 -7
  333. package/dist/starters/preact/design-system/tokens/Artwork/visual-size.ads.css +0 -12
  334. package/dist/starters/preact/design-system/tokens/Brand/paint.ads.css +0 -7
  335. package/dist/starters/preact/design-system/tokens/Charts/paint.ads.css +0 -19
  336. package/dist/starters/preact/design-system/tokens/Containers/border-width.ads.css +0 -1
  337. package/dist/starters/preact/design-system/tokens/Containers/content-gap.ads.css +0 -5
  338. package/dist/starters/preact/design-system/tokens/Containers/frame-inset.ads.css +0 -6
  339. package/dist/starters/preact/design-system/tokens/Containers/frame-size.ads.css +0 -11
  340. package/dist/starters/preact/design-system/tokens/Containers/radius.ads.css +0 -1
  341. package/dist/starters/preact/design-system/tokens/Controls/border-width.ads.css +0 -4
  342. package/dist/starters/preact/design-system/tokens/Controls/content-gap.ads.css +0 -6
  343. package/dist/starters/preact/design-system/tokens/Controls/control-min-size.ads.css +0 -17
  344. package/dist/starters/preact/design-system/tokens/Controls/frame-inset.ads.css +0 -21
  345. package/dist/starters/preact/design-system/tokens/Controls/radius.ads.css +0 -1
  346. package/dist/starters/preact/design-system/tokens/Controls/target-min-size.ads.css +0 -2
  347. package/dist/starters/preact/design-system/tokens/Controls/visual-size.ads.css +0 -2
  348. package/dist/starters/preact/design-system/tokens/Focus/border-width.ads.css +0 -1
  349. package/dist/starters/preact/design-system/tokens/Focus/focus-offset.ads.css +0 -1
  350. package/dist/starters/preact/design-system/tokens/Foundation/spacing.ads.css +0 -20
  351. package/dist/starters/preact/design-system/tokens/Grid/grid-gutter.ads.css +0 -6
  352. package/dist/starters/preact/design-system/tokens/Grid/layer.ads.css +0 -2
  353. package/dist/starters/preact/design-system/tokens/Grid/layout-size.ads.css +0 -15
  354. package/dist/starters/preact/design-system/tokens/Grid/spacing.ads.css +0 -12
  355. package/dist/starters/preact/design-system/tokens/Grid/track-count.ads.css +0 -1
  356. package/dist/starters/preact/design-system/tokens/Identity/content-gap.ads.css +0 -6
  357. package/dist/starters/preact/design-system/tokens/Identity/visual-size.ads.css +0 -1
  358. package/dist/starters/preact/design-system/tokens/Motion/duration.ads.css +0 -6
  359. package/dist/starters/preact/design-system/tokens/Motion/easing.ads.css +0 -5
  360. package/dist/starters/preact/design-system/tokens/Motion/motion-angle.ads.css +0 -1
  361. package/dist/starters/preact/design-system/tokens/Motion/motion-distance.ads.css +0 -2
  362. package/dist/starters/preact/design-system/tokens/Motion/motion-scale.ads.css +0 -9
  363. package/dist/starters/preact/design-system/tokens/Surfaces/blur.ads.css +0 -2
  364. package/dist/starters/preact/design-system/tokens/Surfaces/gradient.ads.css +0 -2
  365. package/dist/starters/preact/design-system/tokens/Surfaces/opacity.ads.css +0 -2
  366. package/dist/starters/preact/design-system/tokens/Surfaces/paint.ads.css +0 -58
  367. package/dist/starters/preact/design-system/tokens/Surfaces/shadow.ads.css +0 -20
  368. package/dist/starters/preact/design-system/tokens/Typography/font-family.ads.css +0 -1
  369. package/dist/starters/preact/design-system/tokens/Typography/font-features.ads.css +0 -1
  370. package/dist/starters/preact/design-system/tokens/Typography/font-size.ads.css +0 -9
  371. package/dist/starters/preact/design-system/tokens/Typography/font-stretch.ads.css +0 -1
  372. package/dist/starters/preact/design-system/tokens/Typography/font-variations.ads.css +0 -1
  373. package/dist/starters/preact/design-system/tokens/Typography/font-weight.ads.css +0 -1
  374. package/dist/starters/preact/design-system/tokens/Typography/letter-spacing.ads.css +0 -1
  375. package/dist/starters/preact/design-system/tokens/Typography/line-height.ads.css +0 -11
  376. package/dist/starters/preact/design-system/tokens/Typography/word-spacing.ads.css +0 -1
  377. package/dist/starters/preact/starter.json +0 -11
  378. package/dist/starters/react/design-system/assets/avatars/avatar.ads.ts +0 -10
  379. package/dist/starters/react/design-system/assets/avatars/member.svg +0 -1
  380. package/dist/starters/react/design-system/assets/brand/emblem.ads.ts +0 -18
  381. package/dist/starters/react/design-system/assets/brand/emblem.svg +0 -4
  382. package/dist/starters/react/design-system/assets/brand/iris-emblem.ads.ts +0 -14
  383. package/dist/starters/react/design-system/assets/brand/iris-emblem.svg +0 -4
  384. package/dist/starters/react/design-system/assets/brand/mark.ads.ts +0 -14
  385. package/dist/starters/react/design-system/assets/brand/mark.svg +0 -1
  386. package/dist/starters/react/design-system/assets/glyphs/arrow.ads.ts +0 -14
  387. package/dist/starters/react/design-system/assets/glyphs/arrow.svg +0 -1
  388. package/dist/starters/react/design-system/assets/glyphs/chevron-20.svg +0 -1
  389. package/dist/starters/react/design-system/assets/glyphs/chevron-24.svg +0 -1
  390. package/dist/starters/react/design-system/assets/glyphs/chevron.ads.ts +0 -20
  391. package/dist/starters/react/design-system/assets/glyphs/close.ads.ts +0 -13
  392. package/dist/starters/react/design-system/assets/glyphs/close.svg +0 -1
  393. package/dist/starters/react/design-system/assets/glyphs/favorite.ads.ts +0 -23
  394. package/dist/starters/react/design-system/assets/glyphs/favorite.normal.svg +0 -1
  395. package/dist/starters/react/design-system/assets/glyphs/favorite.selected.svg +0 -1
  396. package/dist/starters/react/design-system/assets/glyphs/search.ads.ts +0 -10
  397. package/dist/starters/react/design-system/assets/glyphs/search.svg +0 -1
  398. package/dist/starters/react/design-system/assets/illustrations/journey.ads.ts +0 -32
  399. package/dist/starters/react/design-system/assets/illustrations/journey.contrast.svg +0 -6
  400. package/dist/starters/react/design-system/assets/illustrations/journey.dark.svg +0 -13
  401. package/dist/starters/react/design-system/assets/illustrations/journey.light.svg +0 -13
  402. package/dist/starters/react/design-system/assets/logos/harbor-pay.ads.ts +0 -17
  403. package/dist/starters/react/design-system/assets/logos/harbor-pay.dark.svg +0 -10
  404. package/dist/starters/react/design-system/assets/logos/harbor-pay.light.svg +0 -10
  405. package/dist/starters/react/design-system/assets/logos/lumen-cloud.ads.ts +0 -15
  406. package/dist/starters/react/design-system/assets/logos/lumen-cloud.dark.svg +0 -9
  407. package/dist/starters/react/design-system/assets/logos/lumen-cloud.light.svg +0 -9
  408. package/dist/starters/react/design-system/assets/status/error.svg +0 -1
  409. package/dist/starters/react/design-system/assets/status/outcomes.ads.ts +0 -31
  410. package/dist/starters/react/design-system/assets/status/status.ads.ts +0 -16
  411. package/dist/starters/react/design-system/assets/status/success.svg +0 -1
  412. package/dist/starters/react/design-system/assets/status/sync-status.ads.ts +0 -14
  413. package/dist/starters/react/design-system/assets/status/sync-status.svg +0 -7
  414. package/dist/starters/react/design-system/assets/status/warning.svg +0 -1
  415. package/dist/starters/react/design-system/components/Actions/Button/Button.ads.scenario.tsx +0 -12
  416. package/dist/starters/react/design-system/components/Actions/Button/Button.tsx +0 -198
  417. package/dist/starters/react/design-system/components/Actions/IconButton/IconButton.tsx +0 -95
  418. package/dist/starters/react/design-system/components/Actions/ToggleTile/ToggleTile.ads.scenario.tsx +0 -22
  419. package/dist/starters/react/design-system/components/Actions/ToggleTile/ToggleTile.tsx +0 -60
  420. package/dist/starters/react/design-system/components/Containers/Disclosure/Disclosure.ads.scenario.tsx +0 -24
  421. package/dist/starters/react/design-system/components/Containers/Disclosure/Disclosure.tsx +0 -50
  422. package/dist/starters/react/design-system/components/Content/Artwork/Artwork.ads.scenario.tsx +0 -8
  423. package/dist/starters/react/design-system/components/Content/Artwork/Artwork.tsx +0 -110
  424. package/dist/starters/react/design-system/components/Content/BarChart/BarChart.ads.scenario.tsx +0 -25
  425. package/dist/starters/react/design-system/components/Content/BarChart/BarChart.tsx +0 -72
  426. package/dist/starters/react/design-system/components/Content/GuideGrid/GuideGrid.ads.scenario.tsx +0 -8
  427. package/dist/starters/react/design-system/components/Content/GuideGrid/GuideGrid.tsx +0 -43
  428. package/dist/starters/react/design-system/components/Content/Icon/Icon.ads.scenario.tsx +0 -21
  429. package/dist/starters/react/design-system/components/Content/Icon/Icon.tsx +0 -41
  430. package/dist/starters/react/design-system/components/Content/Icon/glyphs/arrow.tsx +0 -10
  431. package/dist/starters/react/design-system/components/Content/Icon/glyphs/close.tsx +0 -10
  432. package/dist/starters/react/design-system/components/Content/Icon/glyphs/search.tsx +0 -10
  433. package/dist/starters/react/design-system/components/Content/Image/Image.ads.fixture.ts +0 -9
  434. package/dist/starters/react/design-system/components/Content/Image/Image.ads.scenario.tsx +0 -12
  435. package/dist/starters/react/design-system/components/Content/Image/Image.tsx +0 -83
  436. package/dist/starters/react/design-system/components/Content/InspectedGlyph/InspectedGlyph.ads.scenario.tsx +0 -27
  437. package/dist/starters/react/design-system/components/Content/InspectedGlyph/InspectedGlyph.tsx +0 -46
  438. package/dist/starters/react/design-system/components/Content/PartnerLogo/PartnerLogo.ads.scenario.tsx +0 -17
  439. package/dist/starters/react/design-system/components/Content/PartnerLogo/PartnerLogo.tsx +0 -41
  440. package/dist/starters/react/design-system/components/Content/StatusIcon/StatusIcon.ads.scenario.tsx +0 -20
  441. package/dist/starters/react/design-system/components/Content/StatusIcon/StatusIcon.tsx +0 -37
  442. package/dist/starters/react/design-system/components/Forms/TextField/TextField.ads.scenario.tsx +0 -24
  443. package/dist/starters/react/design-system/components/Forms/TextField/TextField.tsx +0 -173
  444. package/dist/starters/react/design-system/components/Identity/Identity.ads.scenario.tsx +0 -13
  445. package/dist/starters/react/design-system/components/Identity/Identity.tsx +0 -146
  446. package/dist/starters/react/design-system/components/Overlays/Menu/Menu.ads.scenario.tsx +0 -27
  447. package/dist/starters/react/design-system/components/Overlays/Menu/Menu.tsx +0 -194
  448. package/dist/starters/react/design-system/components/Overlays/Popover/Popover.ads.scenario.tsx +0 -19
  449. package/dist/starters/react/design-system/components/Overlays/Popover/Popover.tsx +0 -37
  450. package/dist/starters/react/design-system/controllers/FormField/FormField.ads.behavior.ts +0 -70
  451. package/dist/starters/react/design-system/controllers/FormField/FormField.behavior.spec.ts +0 -237
  452. package/dist/starters/react/design-system/controllers/FormField/FormField.ts +0 -343
  453. package/dist/starters/react/design-system/controllers/FormField/useFormField.ts +0 -70
  454. package/dist/starters/react/design-system/controllers/Palette/Palette.ts +0 -165
  455. package/dist/starters/react/design-system/foundation.ads.ts +0 -22
  456. package/dist/starters/react/design-system/index.ts +0 -51
  457. package/dist/starters/react/design-system/mocks/ConstructionProofs/ConstructionProofs.ads.fixture.ts +0 -5
  458. package/dist/starters/react/design-system/mocks/ConstructionProofs/ConstructionProofs.ads.scenario.tsx +0 -22
  459. package/dist/starters/react/design-system/mocks/Inspector/Inspector.ads.fixture.ts +0 -12
  460. package/dist/starters/react/design-system/mocks/Inspector/Inspector.ads.scenario.tsx +0 -21
  461. package/dist/starters/react/design-system/mocks/Workspace/Layouts.ads.scenario.tsx +0 -24
  462. package/dist/starters/react/design-system/mocks/Workspace/Media.ads.scenario.tsx +0 -24
  463. package/dist/starters/react/design-system/mocks/Workspace/Stress.ads.scenario.tsx +0 -36
  464. package/dist/starters/react/design-system/mocks/Workspace/Workspace.ads.fixture.ts +0 -13
  465. package/dist/starters/react/design-system/mocks/Workspace/Workspace.ads.scenario.tsx +0 -27
  466. package/dist/starters/react/design-system/mocks/Workspace/media/ads.svg +0 -1
  467. package/dist/starters/react/design-system/palette.generated.ts +0 -188
  468. package/dist/starters/react/design-system/patterns/ArtworkCatalogue/ArtworkCatalogue/ArtworkCatalogue.tsx +0 -73
  469. package/dist/starters/react/design-system/patterns/ConstructionWorkbench/ConstructionWorkbench/ConstructionWorkbench.ads.scenario.tsx +0 -23
  470. package/dist/starters/react/design-system/patterns/ConstructionWorkbench/ConstructionWorkbench/ConstructionWorkbench.tsx +0 -94
  471. package/dist/starters/react/design-system/patterns/Forms/InviteMember/InviteMember.ads.scenario.tsx +0 -21
  472. package/dist/starters/react/design-system/patterns/Forms/InviteMember/InviteMember.tsx +0 -137
  473. package/dist/starters/react/design-system/patterns/Inspector/Inspector/Inspector.ads.scenario.tsx +0 -22
  474. package/dist/starters/react/design-system/patterns/Inspector/Inspector/Inspector.tsx +0 -248
  475. package/dist/starters/react/design-system/patterns/Shell/Shell.ads.scenario.tsx +0 -26
  476. package/dist/starters/react/design-system/patterns/Shell/Shell.tsx +0 -268
  477. package/dist/starters/react/design-system/patterns/Workspace/Workspace/Workspace.ads.scenario.tsx +0 -28
  478. package/dist/starters/react/design-system/patterns/Workspace/Workspace/Workspace.tsx +0 -105
  479. package/dist/starters/react/design-system/patterns/Workspace/Workspace/WorkspacePanels.tsx +0 -179
  480. package/dist/starters/react/design-system/profiles/Containers/containers.ads.ts +0 -67
  481. package/dist/starters/react/design-system/profiles/Containers/frames.ads.ts +0 -32
  482. package/dist/starters/react/design-system/profiles/Containers/geometry.ads.ts +0 -30
  483. package/dist/starters/react/design-system/profiles/Containers/spacing.ads.ts +0 -26
  484. package/dist/starters/react/design-system/profiles/Controls/controls.ads.ts +0 -157
  485. package/dist/starters/react/design-system/profiles/Controls/frames.ads.ts +0 -50
  486. package/dist/starters/react/design-system/profiles/Controls/spacing.ads.ts +0 -29
  487. package/dist/starters/react/design-system/profiles/Focus/keyboard.ads.ts +0 -13
  488. package/dist/starters/react/design-system/profiles/Identity/identity.ads.ts +0 -25
  489. package/dist/starters/react/design-system/profiles/Identity/spacing.ads.ts +0 -22
  490. package/dist/starters/react/design-system/profiles/Layout/grid.ads.ts +0 -69
  491. package/dist/starters/react/design-system/profiles/Layout/inspector.ads.ts +0 -146
  492. package/dist/starters/react/design-system/profiles/Layout/overlays.ads.ts +0 -94
  493. package/dist/starters/react/design-system/profiles/Layout/regions.ads.ts +0 -296
  494. package/dist/starters/react/design-system/profiles/Motion/feedback.ads.ts +0 -92
  495. package/dist/starters/react/design-system/profiles/Surfaces/controls.ads.ts +0 -142
  496. package/dist/starters/react/design-system/profiles/Surfaces/document.ads.ts +0 -2
  497. package/dist/starters/react/design-system/profiles/Surfaces/materials.ads.ts +0 -18
  498. package/dist/starters/react/design-system/profiles/Surfaces/surfaces.ads.ts +0 -48
  499. package/dist/starters/react/design-system/profiles/Typography/details.ads.ts +0 -19
  500. package/dist/starters/react/design-system/profiles/Typography/document.ads.ts +0 -2
  501. package/dist/starters/react/design-system/profiles/Typography/headings.ads.ts +0 -15
  502. package/dist/starters/react/design-system/profiles/Typography/text.ads.ts +0 -73
  503. package/dist/starters/react/design-system/profiles/Visuals/artwork.ads.ts +0 -46
  504. package/dist/starters/react/design-system/profiles/Visuals/charts.ads.ts +0 -31
  505. package/dist/starters/react/design-system/profiles/Visuals/content.ads.ts +0 -52
  506. package/dist/starters/react/design-system/profiles/Visuals/glyphs.ads.ts +0 -35
  507. package/dist/starters/react/design-system/profiles/Visuals/identity.ads.ts +0 -24
  508. package/dist/starters/react/design-system/tokens/Artwork/paint.ads.css +0 -7
  509. package/dist/starters/react/design-system/tokens/Artwork/visual-size.ads.css +0 -12
  510. package/dist/starters/react/design-system/tokens/Brand/paint.ads.css +0 -7
  511. package/dist/starters/react/design-system/tokens/Charts/paint.ads.css +0 -19
  512. package/dist/starters/react/design-system/tokens/Containers/border-width.ads.css +0 -1
  513. package/dist/starters/react/design-system/tokens/Containers/content-gap.ads.css +0 -5
  514. package/dist/starters/react/design-system/tokens/Containers/frame-inset.ads.css +0 -6
  515. package/dist/starters/react/design-system/tokens/Containers/frame-size.ads.css +0 -11
  516. package/dist/starters/react/design-system/tokens/Containers/radius.ads.css +0 -1
  517. package/dist/starters/react/design-system/tokens/Controls/border-width.ads.css +0 -4
  518. package/dist/starters/react/design-system/tokens/Controls/content-gap.ads.css +0 -6
  519. package/dist/starters/react/design-system/tokens/Controls/control-min-size.ads.css +0 -17
  520. package/dist/starters/react/design-system/tokens/Controls/frame-inset.ads.css +0 -21
  521. package/dist/starters/react/design-system/tokens/Controls/radius.ads.css +0 -1
  522. package/dist/starters/react/design-system/tokens/Controls/target-min-size.ads.css +0 -2
  523. package/dist/starters/react/design-system/tokens/Controls/visual-size.ads.css +0 -2
  524. package/dist/starters/react/design-system/tokens/Focus/border-width.ads.css +0 -1
  525. package/dist/starters/react/design-system/tokens/Focus/focus-offset.ads.css +0 -1
  526. package/dist/starters/react/design-system/tokens/Foundation/spacing.ads.css +0 -20
  527. package/dist/starters/react/design-system/tokens/Grid/grid-gutter.ads.css +0 -6
  528. package/dist/starters/react/design-system/tokens/Grid/layer.ads.css +0 -2
  529. package/dist/starters/react/design-system/tokens/Grid/layout-size.ads.css +0 -15
  530. package/dist/starters/react/design-system/tokens/Grid/spacing.ads.css +0 -12
  531. package/dist/starters/react/design-system/tokens/Grid/track-count.ads.css +0 -1
  532. package/dist/starters/react/design-system/tokens/Identity/content-gap.ads.css +0 -6
  533. package/dist/starters/react/design-system/tokens/Identity/visual-size.ads.css +0 -1
  534. package/dist/starters/react/design-system/tokens/Motion/duration.ads.css +0 -6
  535. package/dist/starters/react/design-system/tokens/Motion/easing.ads.css +0 -5
  536. package/dist/starters/react/design-system/tokens/Motion/motion-angle.ads.css +0 -1
  537. package/dist/starters/react/design-system/tokens/Motion/motion-distance.ads.css +0 -2
  538. package/dist/starters/react/design-system/tokens/Motion/motion-scale.ads.css +0 -9
  539. package/dist/starters/react/design-system/tokens/Surfaces/blur.ads.css +0 -2
  540. package/dist/starters/react/design-system/tokens/Surfaces/gradient.ads.css +0 -2
  541. package/dist/starters/react/design-system/tokens/Surfaces/opacity.ads.css +0 -2
  542. package/dist/starters/react/design-system/tokens/Surfaces/paint.ads.css +0 -58
  543. package/dist/starters/react/design-system/tokens/Surfaces/shadow.ads.css +0 -20
  544. package/dist/starters/react/design-system/tokens/Typography/font-family.ads.css +0 -1
  545. package/dist/starters/react/design-system/tokens/Typography/font-features.ads.css +0 -1
  546. package/dist/starters/react/design-system/tokens/Typography/font-size.ads.css +0 -9
  547. package/dist/starters/react/design-system/tokens/Typography/font-stretch.ads.css +0 -1
  548. package/dist/starters/react/design-system/tokens/Typography/font-variations.ads.css +0 -1
  549. package/dist/starters/react/design-system/tokens/Typography/font-weight.ads.css +0 -1
  550. package/dist/starters/react/design-system/tokens/Typography/letter-spacing.ads.css +0 -1
  551. package/dist/starters/react/design-system/tokens/Typography/line-height.ads.css +0 -11
  552. package/dist/starters/react/design-system/tokens/Typography/word-spacing.ads.css +0 -1
  553. package/dist/starters/react/starter.json +0 -11
  554. package/docs/STARTER.md +0 -167
package/docs/MOTION.md CHANGED
@@ -15,7 +15,7 @@ CSS transitions and keyframes. [LANGUAGE.md](LANGUAGE.md) describes recipes;
15
15
  - Component, controller and application code owns the actual interaction or
16
16
  loading state and its application consequences.
17
17
 
18
- The starter's `motion` profiles (`profiles/Motion/feedback.ads.ts`), as
18
+ The example design system's `motion` profiles (`profiles/Motion/feedback.ads.ts`), as
19
19
  `name` (`with`): `fields`:
20
20
 
21
21
  - `feedback-timing`: `duration: "--feedback-duration"`,
@@ -78,7 +78,7 @@ motion profile alone starts nothing. `kind` identifies the treatment a part
78
78
  consumes: ADS infers none from the names `label` or `visual`, an HTML tag or a
79
79
  class name.
80
80
 
81
- In the starter's Button (`components/Actions/Button/Button.tsx`), press
81
+ In the example design system's Button (`components/Actions/Button/Button.tsx`), press
82
82
  feedback applies to the artwork, not the outer box. The arrow choice's fragment
83
83
  adds forward movement on hover:
84
84
 
@@ -104,7 +104,7 @@ result.
104
104
 
105
105
  ## Direct binding when no default exists
106
106
 
107
- The starter's Artwork (`components/Content/Artwork/Artwork.tsx`) has no
107
+ The example design system's Artwork (`components/Content/Artwork/Artwork.tsx`) has no
108
108
  composite motion default. Its sync indicator binds a profile on the part:
109
109
 
110
110
  ```ts
@@ -147,6 +147,13 @@ effective motion profile. A `when` entry gives each channel its endpoint,
147
147
  | `scale` | `scale` | `scale` | Scale 1 | Uniform visual scaling; no frame or hit-area resizing |
148
148
  | `rotate` | `rotate` | `angle` | Zero rotation | Positive is clockwise; not reversed for RTL |
149
149
 
150
+ A turn under a state says something (a plus turned into a cross while its panel
151
+ is open), so reduced motion keeps the turned shape and only drops its animation;
152
+ travel and scale return to rest. A control's artwork takes its effects under
153
+ pointer feedback (`&:hover:not(:disabled)`, `&:active:not(:disabled)`), a busy
154
+ control (`&[aria-busy="true"]`) and the two toggle states a control shows by its
155
+ artwork (`&[aria-expanded="true"]`, `&[aria-pressed="true"]`).
156
+
150
157
  The neutral values are operation identities, not authored offsets. A motion
151
158
  distance never becomes a static alignment correction or replaces an asset's
152
159
  optical center.
@@ -220,8 +227,14 @@ recipe({
220
227
  ```
221
228
 
222
229
  `channels` are `background-color` (the surface's `background`), `border-color`,
223
- `color` and `box-shadow`. `motion` is `{ slot: "motion" }` (the nearest
224
- recipe's motion slot) or a motion profile name. Each starter Button skin
230
+ `color`, `box-shadow`, `opacity` (the surface's `opacity`: a toast that fades
231
+ out, a stack that fades in), `filter` (the surface's `blur`, `shapeShadow` and
232
+ `groupShadow`) and `backdrop-filter` (its `backdropBlur` and
233
+ `backdropSaturate`). An opacity or a surface effect that changes between the
234
+ surfaces must have its channel listed, or it would snap while the paints interpolate
235
+ (`construction/paint-transition-effect-unsupported`); a gradient image never
236
+ interpolates. `motion` is `{ slot: "motion" }` (the nearest
237
+ recipe's motion slot) or a motion profile name. Each Button skin of the example design system
225
238
  transitions what its hover surface changes: the primary its background, the
226
239
  secondary its outline.
227
240
 
@@ -230,8 +243,9 @@ The compiler rejects:
230
243
  - an empty, unknown or repeated channel;
231
244
  - a channel that no state surface changes
232
245
  (`construction/paint-transition-redundant`);
233
- - a gradient image or blur on a surface of the element, which would snap while
234
- the paints interpolate;
246
+ - a gradient image on a surface of the element, or a surface effect that
247
+ changes without its channel listed: either would snap while the paints
248
+ interpolate (`construction/paint-transition-effect-unsupported`);
235
249
  - a motion profile without duration or easing, or a reduced-motion policy other
236
250
  than `static`.
237
251
 
@@ -248,6 +262,226 @@ for every construction. A paint transition never shares an element with transfor
248
262
  channels: it belongs to roots and region parts, transform channels to a
249
263
  control's visual part.
250
264
 
265
+ ## Motion on a region's parts
266
+
267
+ A card whose arrow slides, or whose picture lifts and grows, while the whole
268
+ card is hovered: the state is the root's, the motion a part's. A region part
269
+ declares it like a control's visual part does:
270
+
271
+ ```ts
272
+ profile({ name: "card-slide", kind: "motion", fields: { duration: "--feedback-duration", easing: "--feedback-easing", distance: "--card-arrow-travel", reduced: "static" } });
273
+ profile({ name: "card-lift", kind: "motion", fields: { duration: "--card-lift-duration", easing: "--feedback-easing", distance: "--card-lift", scale: "--card-grow", reduced: "static" } });
274
+
275
+ recipe({
276
+ layout: "stack",
277
+ profile: "card", // its composite selects motionProfile: "card-slide"
278
+ parts: {
279
+ arrow: {
280
+ selector: ".ux-card-arrow",
281
+ transition: ["translate"],
282
+ when: { "&:hover": { translateInline: { slot: "motion", field: "distance" } } },
283
+ },
284
+ picture: {
285
+ selector: ".ux-card-picture",
286
+ kind: "visual",
287
+ motion: "card-lift", // this part's own timing and endpoints
288
+ transition: ["translate", "scale"],
289
+ when: { "&:hover": { translateBlock: { slot: "motion", field: "distance" }, scale: { slot: "motion", field: "scale" } } },
290
+ },
291
+ },
292
+ });
293
+ ```
294
+
295
+ - A `when` entry of a part may carry a state `surface`, motion effects, or
296
+ both. The effects are `translateInline`, `translateBlock` (both read the
297
+ motion profile's `distance`), `scale`, and `scaleInline` or `scaleBlock` for
298
+ one axis only with the other at rest (a blink closes on the block axis); the
299
+ three scales read the profile's `scale` and are one channel, so a state takes
300
+ one of them. `rotate` turns the part in place by the profile's `angle`. A
301
+ control's visual part takes the same scales and `rotate`.
302
+ - `transition` lists the channels that animate: `translate`, `scale`, `rotate`. An effect
303
+ whose channel is not listed applies at once. A listed channel without an
304
+ effect is refused.
305
+ - `motion` on the part names its motion profile; without it the part takes the
306
+ recipe's motion slot. A part needs its own profile when its distance, scale
307
+ or timing differ from another part's.
308
+ - The part rests at `translate: 0px` and `scale: 1`. Inline travel is mirrored
309
+ under right-to-left. Under reduced motion the part stays at rest and its
310
+ transition is instant, as the profile's `reduced: "static"` says.
311
+ - The channels join the part's one transition set beside its paint transition.
312
+ An [entrance](#entrances) cannot use a channel the part's own motion moves.
313
+ - The condition is an owner state of the root (`&:hover`, `&:focus-within`,
314
+ `&[data-open="true"]`). What makes the card interactive (a link, a button
315
+ inside it) is still a control with its own target size; hovering a region
316
+ only decorates it.
317
+
318
+ ## Entrances
319
+
320
+ An entrance is "the element starts looking like this and settles into its own
321
+ look". A recipe root (a region or a control) or a region part declares it with
322
+ `enter`:
323
+
324
+ ```ts
325
+ // Tokens: roles blur, opacity, duration, easing, motion-distance.
326
+ profile({ name: "entering", kind: "surface", fields: { opacity: "--enter-opacity", blur: "--enter-blur" } });
327
+ profile({ name: "enter-motion", kind: "motion", fields: {
328
+ duration: "--enter-duration", easing: "--enter-easing", distance: "--enter-rise", reduced: "static",
329
+ } });
330
+ profile({ name: "enter-motion-later", kind: "motion", with: ["enter-motion"], fields: { delay: "--enter-stagger" } });
331
+
332
+ recipe({
333
+ layout: "stack",
334
+ enter: { from: { surface: "entering" }, motion: "enter-motion" },
335
+ parts: {
336
+ media: {
337
+ selector: ".ux-hero-media",
338
+ enter: { from: { surface: "entering", translate: { slot: "motion", field: "distance" } }, motion: "enter-motion-later" },
339
+ },
340
+ },
341
+ });
342
+ ```
343
+
344
+ - `from.surface` is a surface profile that states only `opacity`, `blur` or
345
+ both. Each has an obvious resting value (opaque, sharp). A starting
346
+ background or colour would be a second design of the element; that is a
347
+ state (`when`), not an entrance (`construction/enter-surface-unsupported`).
348
+ - `from` may also name one movement, read from the entrance's motion profile:
349
+ `translate` (its `distance`, on the block axis: a positive distance starts
350
+ below and rises), `scale` (its `scale`) or `rotate` (its `angle`). `from`
351
+ needs a surface, a movement or both.
352
+ - `motion` is a motion profile name or `{ slot: "motion" }` (the nearest
353
+ recipe's motion slot). It needs a duration, an easing and `reduced: "static"`.
354
+ - A staggered entrance is each part with its own motion profile carrying a
355
+ different `delay`.
356
+
357
+ The driver is the element's first render. ADS lowers it to the browser's first
358
+ style, with no script:
359
+
360
+ ```css
361
+ .hero { transition-property: opacity, filter; transition-duration: …; transition-timing-function: …; }
362
+ @starting-style { .hero { opacity: var(--enter-opacity); filter: blur(var(--enter-blur)); } }
363
+ @media (prefers-reduced-motion: reduce) { .hero { transition-duration: 0s; transition-delay: 0s; } }
364
+ ```
365
+
366
+ Under reduced motion the element is settled at once. A browser without
367
+ `@starting-style` (the `starting-style` platform feature) shows the element
368
+ settled, with no entrance. The browser replays the entrance whenever the
369
+ element is rendered again: inserted, or shown after `display: none`.
370
+
371
+ The entrance's properties are a group of their own in the element's one
372
+ transition set, beside its paint transition and press. So:
373
+
374
+ - A property has one timing: an entrance cannot animate a property the element
375
+ already transitions (`filter` listed in `paintTransition.channels`, the
376
+ `scale` of a root press): `construction/enter-property-conflict`. Enter
377
+ through another property, or put the entrance on a wrapping part.
378
+ - The properties stay transitioned by the entrance's motion afterwards: a state
379
+ surface that later changes `opacity` moves over the same timing.
380
+ - An element first rendered in a state (hovered, selected) still starts from
381
+ the entrance: the first style is repeated under each state surface that
382
+ writes the same property.
383
+ - Filter lists interpolate only between lists of the same functions. An
384
+ element with a `shapeShadow` or `groupShadow` that enters blurred rests at
385
+ `filter: blur(0px) drop-shadow(…)` and starts from `blur(…) drop-shadow(…)`,
386
+ so the blur sharpens and the shadow stays.
387
+
388
+ A top-layer root (`layer`) takes no `enter`: its layer motion is its entrance.
389
+ Contrast is checked for the settled look, not during the entrance. Entrances
390
+ started by an owner state (once, when scrolled into view) or by the scroll
391
+ position are not built yet.
392
+
393
+ ## Sequences
394
+
395
+ An element plays a [`sequence` profile](PROFILE-KINDS.md#sequence) with `play`.
396
+ Five places take it:
397
+
398
+ | Place | Where `play` is written | Example |
399
+ | --- | --- | --- |
400
+ | A region's part | on the part | three dots that light up in turn |
401
+ | A region's root | on the recipe | a "Live" badge that fades as a whole |
402
+ | A control's root | on the recipe | a "Record" button that grows and shrinks |
403
+ | A control's artwork | on the control's `visual` part | a bell that rings while its button stays still |
404
+ | Standalone artwork | on the artwork recipe's `visual` part | an hourglass that tips over and back |
405
+
406
+ A top-layer root (`layer`) takes no `play`: it opens and closes with its
407
+ layer's motion. On a region's parts:
408
+
409
+ ```ts
410
+ recipe({
411
+ layout: "inline",
412
+ parts: {
413
+ first: { selector: ".ux-dot-1", play: { sequence: "dot-pulse" } },
414
+ second: { selector: ".ux-dot-2", play: { sequence: "dot-pulse", order: 1 } }, // one stagger later
415
+ third: { selector: ".ux-dot-3", play: { sequence: "dot-pulse", order: 2 } },
416
+ },
417
+ });
418
+ ```
419
+
420
+ - **Always, or under a state.** `play` on the element plays whenever it is
421
+ rendered. `play` in a `when` entry plays only in that owner state
422
+ (`when: { '&[data-blink="true"]': { play: { sequence: "blink" } } }`), so the
423
+ owner starts and stops it by the attribute. A root's `when` entry may hold a
424
+ `play` beside or instead of its `surface`.
425
+ - **In turn.** `order` starts the part that many of the profile's `stagger`s
426
+ late. Parts with the same steps share one `@keyframes` rule.
427
+ - **No script.** ADS emits `@keyframes` and `animation-*`. Inline travel has
428
+ mirrored keyframes under right-to-left. Under reduced motion
429
+ `animation-name` is `none`.
430
+ - **One source of motion per property.** A property the sequence animates is
431
+ not also moved by the element's own `transition`, its `opacity` paint
432
+ channel, its `enter`, a root's press `scale`, a control artwork's press or
433
+ travel effect, or a standalone artwork's continuous rotation
434
+ (`construction/sequence-property-conflict`). Use another property, or put
435
+ the sequence on a wrapping part.
436
+ - **Control stays in script.** An owner waits for a one-shot sequence with
437
+ `animationend`, or pauses, cancels and seeks it through
438
+ `element.getAnimations()`.
439
+ - **A loop that never stops is noted.** A repeating sequence played whenever
440
+ its element is rendered gets the note `a11y-motion-endless` (info): motion that
441
+ starts by itself and runs longer than five seconds beside other content must
442
+ be pausable (WCAG 2.2 2.2.2), and reduced motion covers only users who set
443
+ it. An indicator rendered only while work is in progress needs nothing more.
444
+ - The older continuous rotation (`repeat: "continuous"` with `rotate` on a
445
+ standalone artwork part) is unchanged.
446
+
447
+ ## Animating a measured value
448
+
449
+ A size or position known only at run time (an accordion's content height) is a
450
+ [measured value](LANGUAGE.md#measured-runtime-geometry). Naming a motion profile
451
+ on it makes the browser animate each change over that profile's timing:
452
+
453
+ ```ts
454
+ measured: { height: { type: "length", property: "block-size", motion: "open-motion" } }
455
+ // in the owner
456
+ panel.measured.set(element, { height: content.scrollHeight }); // animates to the new height
457
+ ```
458
+
459
+ - For `length` and `transform` values of a region root or a top-level part. A
460
+ grid's `size-track` takes no `motion`.
461
+ - The property joins the element's one transition set, beside its paint
462
+ transition and its own motion. Under reduced motion the change is instant.
463
+ - Without `motion` the value applies at once, as before.
464
+
465
+ ## Defined in the recipe, controlled in script
466
+
467
+ An animation's keyframes, duration and easing are design. They are declared in
468
+ a recipe (a state `transition` or `paintTransition`, an `enter`, a sequence, a
469
+ measured value's `motion`), take their values from tokens, and are at rest under
470
+ reduced motion. When and how far it runs is behaviour, and that is script's:
471
+
472
+ | Script may | Script may not |
473
+ | --- | --- |
474
+ | Set the owner state that starts or stops it (`data-working="true"`) | `element.animate(keyframes, timing)` |
475
+ | Wait for it: `animationend`, `transitionend`, `element.getAnimations()` and each one's `finished` | `new Animation(…)`, `new KeyframeEffect(…)` |
476
+ | `cancel()`, `pause()`, `play()` what the recipe declared | `effect.setKeyframes(…)` |
477
+ | Seek it by a gesture's progress: `animation.currentTime = …` | |
478
+ | Follow the pointer with a [measured value](LANGUAGE.md#measured-runtime-geometry) | |
479
+
480
+ The right column is `source/script-animation` (error) in an owner and in a
481
+ plain module: raw design values in script, outside tokens and outside the
482
+ reduced-motion policy. It is the same line ADS draws for sizes: a module may
483
+ not write `style.width`, but it may set a measured value the recipe declared.
484
+
251
485
  ## Guarantees and boundaries
252
486
 
253
487
  Besides the errors above, the compiler rejects missing or incorrect profile
@@ -14,7 +14,7 @@ slots of a `composite`. A component can consume a text, visual or spatial
14
14
  profile directly when the operation calls for that kind; only an operation that
15
15
  coordinates slots requires a composite.
16
16
 
17
- ## Ten kinds
17
+ ## Eleven kinds
18
18
 
19
19
  | Kind | Owns | Does not own |
20
20
  | --- | --- | --- |
@@ -24,6 +24,7 @@ coordinates slots requires a composite.
24
24
  | `visual` | Artwork sizing, fitting, aspect preservation and anchor policy | The asset's actual anchor, surrounding arrangement |
25
25
  | `spacing` | Named gaps between parts/items/sections | Padding, border width, arbitrary positional offsets |
26
26
  | `motion` | Timing, curves and declared motion/reduction choices | Triggering actions, state machines, animation lifecycle |
27
+ | `sequence` | A fixed series of steps an element plays: its timing, how it repeats, and what the element looks like at each step | Which element plays it (a part, a root or an artwork), and when: that is the recipe's and the owner's state |
27
28
  | `focus` | Focus indicator appearance and geometry | Focus movement, keyboard commands, accessibility semantics |
28
29
  | `spatial` | Grid units, spacing scale, breakpoint tiers, track defaults, gutters, bounds, permitted ratios and the overlay layer | Element arrangement, actual child placement, component interior spacing |
29
30
  | `layer` | A top-layer root's placement against the viewport: edge gap, viewport margin and a fixed block-start clearance | The top-layer element itself, opening and dismissal, the panel's frame and paint |
@@ -49,8 +50,13 @@ Fields:
49
50
  `font-variations`.
50
51
  - `textDecorationColor` reads `paint`, `textDecorationThickness` `border-width`
51
52
  and `textUnderlineOffset` `spacing`.
53
+ - `textTransform` is a fixed choice, not a token: `"uppercase"`, `"lowercase"`
54
+ or `"capitalize"`. It changes how the text is drawn, not the content, so a
55
+ label that comes from data (a status, a month) is cased without rewriting
56
+ it, and assistive technology still reads the content as written. Give
57
+ uppercase labels their own `letterSpacing`.
52
58
 
53
- The starter's detailed text specimen is `profiles/Typography/details.ads.ts`.
59
+ The example design system's detailed text specimen is `profiles/Typography/details.ads.ts`.
54
60
 
55
61
  - Trimming, wrapping and truncation are explicit part policies that must not
56
62
  silently discard essential labels or change semantics.
@@ -66,6 +72,7 @@ The starter's detailed text specimen is `profiles/Typography/details.ads.ts`.
66
72
  | --- | --- |
67
73
  | `borderWidth`, `radius` | `border-width`, `radius` |
68
74
  | `padding`, `paddingInline`, `paddingBlock`, `minimumBlockInset` | `frame-inset` |
75
+ | `paddingInlineStart`, `paddingInlineEnd`, `paddingBlockStart`, `paddingBlockEnd` (container and control frames: one side's inset where the two sides of an axis differ; a side has one source, and on a control frame `minimumBlockInset` is the block axis's) | `frame-inset` |
69
76
  | `inlineSize`, `blockSize`, `maxInlineSize`, `maxBlockSize` | `frame-size` |
70
77
  | `minInlineSize`, `minBlockSize` | `frame-size` or `control-min-size` |
71
78
  | `minTargetInlineSize`, `minTargetBlockSize` | `target-min-size` |
@@ -89,15 +96,117 @@ The starter's detailed text specimen is `profiles/Typography/details.ads.ts`.
89
96
  ## Surface
90
97
 
91
98
  Fields: `background`, `color` and `borderColor` (`paint`), `boxShadow`
92
- (`shadow`), `backgroundImage` (`gradient`), `opacity` (`opacity`), `blur` and
93
- `backdropBlur` (`blur`), and the policy field `state`.
99
+ (`shadow`), `backgroundImage` (`gradient`), `opacity` (`opacity`), the effects
100
+ `blur` and `backdropBlur` (`blur`), `backdropSaturate` (`saturation`),
101
+ `shapeShadow` and `groupShadow` (`shadow`), `mask` (`gradient`), a paint per
102
+ border side, and the policy field `state`.
94
103
 
95
104
  A shadow is a composite effect, not component-local raw offsets and colors.
96
105
  Light, dark and brand variants may resolve to different paints and shadows. In
97
- the starter (`tokens/Surfaces/shadow.ads.css`,
106
+ the example design system (`tokens/Surfaces/shadow.ads.css`,
98
107
  `profiles/Surfaces/surfaces.ads.ts`), `quiet-surface` binds the no-shadow token
99
108
  and `emphasized-surface` a shared shadow.
100
109
 
110
+ ### The border's line
111
+
112
+ `borderStyle` is a fixed choice, not a token: `"solid"` (the default),
113
+ `"dashed"` or `"dotted"`. A region's frame, its one-sided rules and a part's
114
+ box draw their border with it. A control draws it too; its recipe then states
115
+ no `normalize.borderStyle` (that field only replaces the browser's own button
116
+ border with a solid one, and two sources are a conflict). A dashed or dotted
117
+ border that bounds a control still needs 3:1 like any border.
118
+
119
+ ```ts
120
+ profile({ name: "shared-avatar-frame", kind: "frame", fields: { borderWidth: "--hairline", borderStyle: "dashed", radius: "--radius-round" } });
121
+ ```
122
+
123
+ ### A border whose sides differ
124
+
125
+ `borderColor` paints every side. A side that is painted differently states its
126
+ own: `borderInlineStartColor`, `borderInlineEndColor`, `borderBlockStartColor`,
127
+ `borderBlockEndColor` (role `paint`). The frame profile states the matching
128
+ width (`borderInlineStartWidth` and the other three, role `border-width`)
129
+ beside its `borderWidth`. A side without its own value takes the shared one; a
130
+ frame or surface with only a side's value borders only that side.
131
+
132
+ ```ts
133
+ // A quote card: a 4 px accent edge at the start, 1 px hairlines on the other sides.
134
+ profile({ name: "quote-frame", kind: "frame", fields: { borderWidth: "--hairline", borderInlineStartWidth: "--accent-edge", padding: "--card-padding" } });
135
+ profile({ name: "quote-surface", kind: "surface", fields: { background: "--surface-panel", color: "--text-primary", borderColor: "--outline-quiet", borderInlineStartColor: "--accent" } });
136
+ ```
137
+
138
+ The sides are logical, so the edge follows the writing direction. A state
139
+ surface that states only `borderColor` repaints every side; restate the side's
140
+ own paint there to keep it. One-sided `rules` take each named side's own width
141
+ and paint. Per-side widths are for container frames; a control frame has one
142
+ border width.
143
+
144
+ ### Surface effects
145
+
146
+ Five fields are effects, not paints of the element's box. An element has one
147
+ `filter` list and one `backdrop-filter` list, so ADS composes a surface's
148
+ effect fields into them in a fixed order, whatever order the profile states:
149
+
150
+ | Field | Role | Effect | Emitted |
151
+ | --- | --- | --- | --- |
152
+ | `blur` | `blur` | Blurs the element and everything in it | `filter: blur()` |
153
+ | `shapeShadow` | `shadow` | A shadow that follows a drawing's shape | `filter: drop-shadow()` |
154
+ | `groupShadow` | `shadow` | One shadow cast by a container and everything in it | `filter: drop-shadow()` |
155
+ | `backdropBlur` | `blur` | Blurs what is behind the element | `backdrop-filter: blur()` |
156
+ | `backdropSaturate` | `saturation` | Makes what is behind the element more or less vivid | `backdrop-filter: saturate()` |
157
+ | `brightness` | `brightness` | Dims or brightens a drawing: a picture with no dark version, dimmed in the dark theme (the token is `100%` in light and lower in dark). A visual part's only: text under it could not be proven readable (`construction/surface-effect-misplaced`) | `filter: brightness()`, first in the list |
158
+
159
+ The element is blurred before its shadow is cast (`filter: blur() drop-shadow()`),
160
+ and the backdrop is blurred before it is saturated
161
+ (`backdrop-filter: blur() saturate()`). `backdrop-filter` is written with its
162
+ `-webkit-` companion. A backdrop effect shows only through a translucent
163
+ background, so the surface's text must stay readable without it: contrast is
164
+ proven against the declared paints, never against a blur.
165
+
166
+ ```ts
167
+ profile({ name: "menu-bar-surface", kind: "surface", fields: {
168
+ background: "--surface-bar", color: "--text-primary",
169
+ backdropBlur: "--surface-backdrop-blur", backdropSaturate: "--surface-backdrop-saturation",
170
+ } });
171
+ profile({ name: "lifted-drawing", kind: "surface", fields: { shapeShadow: "--shadow-shape" } });
172
+ ```
173
+
174
+ Three shadows, three meanings:
175
+
176
+ - `boxShadow` is the shadow of the element's box (with its radius). It is the
177
+ shadow of a card, a panel or a control, and takes any shadow token.
178
+ - `shapeShadow` follows what is drawn: an image with transparency, artwork, a
179
+ glyph. It belongs to a **visual part** (`kind: "visual"`), which has nothing
180
+ inside it.
181
+ - `groupShadow` is the same operation chosen on purpose for a **container** (a
182
+ region root, a control, a grid, a non-visual part): everything inside it casts
183
+ one shadow, text included. Use it for a shape built from several elements.
184
+
185
+ A surface declares at most one of `shapeShadow` and `groupShadow`, and each in
186
+ its place (`construction/surface-effect-misplaced`). Their token is one shadow
187
+ layer in every theme and brand: two offsets, an optional blur and a colour, with
188
+ no second layer, spread, `inset` or `none`
189
+ (`construction/surface-shadow-layer`); give them their own token rather than a
190
+ layered `boxShadow` one. Effects that change between an element's surfaces
191
+ transition through the `filter` and `backdrop-filter`
192
+ [paint channels](MOTION.md#effect-and-state-semantics).
193
+
194
+ `mask` (role `gradient`) fades the element by the gradient's alpha: opaque
195
+ where the gradient is opaque, gone where it is transparent. It is written as
196
+ `mask-image` with its `-webkit-` companion. It belongs to a **visual part** (a
197
+ graph that fades toward the text beside it) or to an element whose `overflow`
198
+ **scrolls** (a table whose edge fades to say there is more). On any other
199
+ container its text would fade where it stands, which cannot be proven
200
+ readable: `construction/surface-effect-misplaced`.
201
+
202
+ ```ts
203
+ // tokens/Surfaces/gradient.ads.css: --fade-inline-end: linear-gradient(to right, black 80%, transparent);
204
+ profile({ name: "graph-fade", kind: "surface", fields: { mask: "--fade-inline-end" } });
205
+ ```
206
+
207
+ Blur and backdrop effects cost rendering time in proportion to the area they
208
+ cover; how much to spend is the designer's decision, and ADS does not limit it.
209
+
101
210
  - **Partial surfaces.** Completeness belongs to the consuming operation.
102
211
  `primary-foreground` and `secondary-foreground` supply only a text color, and
103
212
  artwork sample surfaces only a background. A container requires its fill,
@@ -122,7 +231,7 @@ and `emphasized-surface` a shared shadow.
122
231
  ### Interactive emphasized containers
123
232
 
124
233
  Emphasis is a visual variant. Hover and dragging are interaction states, not
125
- kinds. The starter declares three surfaces and their complete card composites:
234
+ kinds. The example design system declares three surfaces and their complete card composites:
126
235
 
127
236
  | Resolved state | Surface profile | Card composite | Shadow token |
128
237
  | --- | --- | --- | --- |
@@ -151,7 +260,7 @@ measurements ADS imposes.
151
260
  - Static guards validate profile roles, exclusive reachable selections and
152
261
  conflicting style overrides. Behavior checks exercise state bindings,
153
262
  cancellation and disabled behavior. Render checks cover visible focus, shadow
154
- clipping and theme results. The starter shows three labelled appearance
263
+ clipping and theme results. The example design system shows three labelled appearance
155
264
  specimens and does not simulate dragging.
156
265
 
157
266
  ## Visual
@@ -184,8 +293,17 @@ its optical center.
184
293
 
185
294
  ## Spacing
186
295
 
187
- Fields: `contentGap`, `labelGap`, `detailsGap` and `metaGap`, each `content-gap`
188
- or `spacing`.
296
+ Fields: `contentGap`, `labelGap`, `detailsGap`, `metaGap`, and for
297
+ [prose](LANGUAGE.md#prose-long-form-content) `sectionGap` (the space before a
298
+ section's heading) and `indent` (a list's start inset), each `content-gap`
299
+ or `spacing`. `anchorGap` (`layout-size`, `content-gap` or `spacing`) is where a
300
+ jump to an element lands below the top of its scroll container
301
+ ([`anchorClear`](LANGUAGE.md)). `overlap` (`overlap`, `content-gap` or
302
+ `spacing`) is how far the neighbours of an arrangement overlap in place of a
303
+ gap ([geometry by state](LANGUAGE.md#geometry-by-state)); a state selects
304
+ another spacing profile to change it. `outsetBlock` and `outsetInline` are how far a layered backdrop is
305
+ drawn past its box ([`outset`](LANGUAGE.md)): a `content-gap` or `spacing`
306
+ length, or a `box-share` percentage, which grows with the box.
189
307
 
190
308
  - Gaps have a purpose: content to visual, label to control, name to detail,
191
309
  between metadata runs, list items or sections. Inline and block axes can be
@@ -208,7 +326,7 @@ Fields: `duration` and `delay` (`duration`), `easing` (`easing`), `distance`
208
326
  policy `reduced`.
209
327
 
210
328
  [MOTION.md](MOTION.md) owns the motion DSL, the supported effects and their
211
- limits. The starter's `press-glyph`, `advance-feedback` and `loading-motion`
329
+ limits. The example design system's `press-glyph`, `advance-feedback` and `loading-motion`
212
330
  (`profiles/Motion/feedback.ads.ts`) are project profiles that share one timing
213
331
  provider. Its `reduced: "static"` suppresses the spatial effects and keeps
214
332
  static content and state feedback.
@@ -222,11 +340,51 @@ static content and state feedback.
222
340
  feedback, interruption and cleanup. Preference changes apply during the
223
341
  session.
224
342
 
343
+ ## Sequence
344
+
345
+ A fixed series of steps an element plays: a mascot's glance and blink, three
346
+ dots pulsing in turn, a badge that fades as a whole, a bell that rings in its
347
+ button. [Where a sequence plays](MOTION.md#sequences) lists the five places.
348
+
349
+ Fields: `duration` (`duration`), `easing` (`easing`), `stagger` (`duration`,
350
+ optional), and the policies `reduced` and `repeat`. Its `steps` are a list, each
351
+ at a whole percentage of the run:
352
+
353
+ ```ts
354
+ profile({
355
+ name: "dot-pulse",
356
+ kind: "sequence",
357
+ fields: { duration: "--pulse-duration", easing: "--pulse-easing", stagger: "--pulse-stagger", reduced: "static" },
358
+ steps: [
359
+ { at: 0, opacity: "--dot-dim" },
360
+ { at: 50, opacity: "--dot-lit" },
361
+ { at: 100, opacity: "--dot-dim" },
362
+ ],
363
+ });
364
+ ```
365
+
366
+ - A step states what the part looks like there: `opacity` (`opacity`),
367
+ `translateInline` and `translateBlock` (`motion-distance`), one scale
368
+ (`scale`, or `scaleInline` / `scaleBlock` for one axis; `motion-scale`) and
369
+ `rotate` (`motion-angle`). A property a step leaves out is interpolated
370
+ between the steps that state it.
371
+ - The steps run from `0` to `100`, at distinct whole percentages
372
+ (`construction/sequence-steps-invalid`).
373
+ - `repeat` is `"loop"` (the default), `"alternate"` or `"once"`. A loop ends
374
+ where it starts: its step at 100 states the values of its step at 0, so it
375
+ has no jump (`construction/sequence-not-seamless`). `"alternate"` plays
376
+ forward then backward, forever. `"once"` plays one time and holds its last
377
+ step.
378
+ - `reduced: "static"` is required: under reduced motion nothing plays and the
379
+ part keeps its own look.
380
+ - `stagger` is the time between parts that share the sequence
381
+ ([Sequences](MOTION.md#sequences)).
382
+
225
383
  ## Focus
226
384
 
227
385
  Fields: `color` (`paint`), `width` (`border-width`) and `offset`
228
386
  (`focus-offset`). Focus is separate from a surface border because it must stay
229
- recognizable independently of hover, selection and emphasis. The starter's
387
+ recognizable independently of hover, selection and emphasis. The example design system's
230
388
  profile (`profiles/Focus/keyboard.ads.ts`):
231
389
 
232
390
  ```ts
@@ -241,7 +399,7 @@ export const keyboardFocus = profile({
241
399
  });
242
400
  ```
243
401
 
244
- - The starter's `control` composite binds `focusProfile: "keyboard-focus"`
402
+ - The example design system's `control` composite binds `focusProfile: "keyboard-focus"`
245
403
  once. `frame: "control"` consumes it on the Button root or TextField's native
246
404
  input and supplies the focus-visible appearance. It does not focus elements,
247
405
  suppress native semantics or prove clipping or contrast.
@@ -271,7 +429,7 @@ Owns the shared structural grid definition, declared beside the other profiles.
271
429
  Clause names are local to the profile. Breakpoints and condition bounds are
272
430
  authored in `rem` ([Units](TOKEN-ROLES.md#units)).
273
431
 
274
- - The starter's `page-grid` (`profiles/Layout/grid.ads.ts`) has an 8px mini
432
+ - The example design system's `page-grid` (`profiles/Layout/grid.ads.ts`) has an 8px mini
275
433
  unit, a 2px fine unit, 4/8/16 track tiers and wide, narrow and condensed
276
434
  gutters. The special `none` gutter is structural zero.
277
435
  - `profiles/Layout/regions.ads.ts` adds fixed-side and tile dimensions,
@@ -304,6 +462,10 @@ a toolbar band. The clearance must resolve to a fixed length. A composite's
304
462
  `layer-profile` slot selects the profile. A modal sheet is full height and
305
463
  attached to its edge, so it needs no layer profile.
306
464
 
465
+ `stickyLayer` (`layer`) is the layer a [sticky element](LANGUAGE.md#sticky-elements)
466
+ stacks in; a sticky element with `clear: "block-start"` reads `clearBlockStart`
467
+ as its offset.
468
+
307
469
  ## Composite
308
470
 
309
471
  Combines profiles through named typed slots, written in camelCase in `profile()`
@@ -327,7 +489,7 @@ Combines profiles through named typed slots, written in camelCase in `profile()`
327
489
  - A component cannot reassign a shared field after selection: select a declared
328
490
  option or another shared profile.
329
491
  - The slot list is closed. Unknown keys are not additional text or visual slots.
330
- - In the starter, `{ profile: "control", select: { size: "sm", typography: "lg" } }`
492
+ - In the example design system, `{ profile: "control", select: { size: "sm", typography: "lg" } }`
331
493
  selects a small frame and spacing with larger text and visual, without a named
332
494
  profile for every pair. `card` combines the card frame and spacing with a
333
495
  quiet surface.
package/docs/PROFILES.md CHANGED
@@ -32,7 +32,7 @@ export const label = profile({
32
32
  });
33
33
  ```
34
34
 
35
- These are the starter's (`profiles/Typography/text.ads.ts`). `with` composes
35
+ These are the example design system's (`profiles/Typography/text.ads.ts`). `with` composes
36
36
  profiles of the same kind. An input may be partial; a consumer requires a
37
37
  complete contract for its operation. There is no inheritance chain, stylesheet
38
38
  ordering, arbitrary mixin or callback execution.
@@ -120,7 +120,7 @@ function. Every kind can declare choices.
120
120
  - A refinement cannot silently add options to an inherited domain.
121
121
  - A missing or conflicting default, or an unknown selection, is an error.
122
122
 
123
- The starter's control combines the frame and spacing choice `size` with the
123
+ The example design system's control combines the frame and spacing choice `size` with the
124
124
  coordinated text and visual choice `typography`:
125
125
 
126
126
  ```ts