@reqvire-org/ads 0.4.7 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +265 -420
- package/dist/accessibility-declarations.mjs +43 -0
- package/dist/active-clock.d.mts +30 -0
- package/dist/active-clock.mjs +26 -17
- package/dist/ads-errors.mjs +3421 -0
- package/dist/ads-view-choices.mjs +17 -0
- package/dist/ads-views.mjs +12 -0
- package/dist/analysis/captured-content.mjs +16 -0
- package/dist/analysis/compiler-options.mjs +3 -7
- package/dist/analysis/context.mjs +14 -20
- package/dist/analysis/controller-gates.mjs +119 -0
- package/dist/analysis/design-usage.mjs +126 -0
- package/dist/analysis/file-tree.mjs +44 -29
- package/dist/analysis/framework-imports.mjs +62 -0
- package/dist/analysis/glyph-macros.mjs +103 -0
- package/dist/analysis/helpers.mjs +119 -91
- package/dist/analysis/impact.mjs +25 -12
- package/dist/analysis/inputs.mjs +19 -13
- package/dist/analysis/mock-check.mjs +98 -0
- package/dist/analysis/module-graph.mjs +156 -0
- package/dist/analysis/module-resolvers.mjs +30 -28
- package/dist/analysis/native-adapter.mjs +139 -146
- package/dist/analysis/native-boundary.mjs +52 -0
- package/dist/analysis/native-project.mjs +331 -231
- package/dist/analysis/native-session.mjs +20 -0
- package/dist/analysis/owner-accessibility.mjs +74 -0
- package/dist/analysis/owner-analysis-cache.mjs +125 -0
- package/dist/analysis/owner-analysis-key.mjs +114 -0
- package/dist/analysis/owner-choices.mjs +763 -0
- package/dist/analysis/owner-composition.mjs +612 -0
- package/dist/analysis/owner-discovery.mjs +164 -0
- package/dist/analysis/owner-failures.mjs +19 -0
- package/dist/analysis/owner-outcomes.mjs +42 -0
- package/dist/analysis/owner-reuse.mjs +100 -0
- package/dist/analysis/owner-source.mjs +1506 -0
- package/dist/analysis/public-imports.mjs +31 -0
- package/dist/analysis/queries.mjs +72 -54
- package/dist/analysis/runtime-setters.mjs +114 -0
- package/dist/analysis/scenario-keys.mjs +151 -0
- package/dist/analysis/service.mjs +111 -70
- package/dist/analysis/standalone.mjs +40 -37
- package/dist/analysis/styling-ownership.mjs +276 -0
- package/dist/analysis/svg-attributes.mjs +199 -0
- package/dist/analysis/syntax.mjs +82 -78
- package/dist/analysis/visual-bindings.mjs +68 -0
- package/dist/analysis/worker-protocol.mjs +302 -0
- package/dist/analysis/worker.mjs +234 -166
- package/dist/api-signature.mjs +53 -0
- package/dist/app-icon-checks.mjs +298 -0
- package/dist/app-icon-declaration.d.mts +53 -0
- package/dist/app-icon-declaration.mjs +66 -0
- package/dist/asset-binding.mjs +35 -0
- package/dist/asset-catalog.mjs +83 -0
- package/dist/asset-declaration.d.mts +42 -0
- package/dist/asset-declaration.mjs +108 -0
- package/dist/asset-macro.d.mts +63 -0
- package/dist/asset-macro.mjs +22 -0
- package/dist/asset-model.mjs +74 -0
- package/dist/asset-usage.mjs +14 -0
- package/dist/asset-view-facts.mjs +41 -0
- package/dist/authoring-macro.d.mts +11 -0
- package/dist/authoring-macro.mjs +21 -0
- package/dist/autocomplete-hints.mjs +31 -0
- package/dist/availability.mjs +9 -0
- package/dist/behavior-macro.d.mts +31 -0
- package/dist/behavior-macro.mjs +3 -0
- package/dist/behavior-registry.mjs +358 -0
- package/dist/boundaries.mjs +50 -212
- package/dist/browser-runtime.mjs +73 -0
- package/dist/browser-test.d.mts +3 -0
- package/dist/browser-test.mjs +2 -0
- package/dist/bun-bundler.mjs +10 -0
- package/dist/bun-compiler.mjs +30 -18
- package/dist/bun-runtime.mjs +4 -0
- package/dist/bun-worker.mjs +10 -4
- package/dist/capture/request.mjs +81 -0
- package/dist/capture/worker.mjs +69 -40
- package/dist/capture/worker.page.mjs +6 -0
- package/dist/capture-store.mjs +159 -75
- package/dist/capture.mjs +232 -95
- package/dist/check-service.mjs +27 -33
- package/dist/check.mjs +200 -904
- package/dist/cli-arguments.mjs +278 -0
- package/dist/cli.mjs +374 -304
- package/dist/color-values.mjs +294 -242
- package/dist/composed-contrast.mjs +628 -0
- package/dist/config.mjs +162 -468
- package/dist/construction-output.mjs +217 -0
- package/dist/construction-spec.d.mts +712 -0
- package/dist/construction-spec.mjs +937 -0
- package/dist/css-length.mjs +80 -0
- package/dist/css-quantity.mjs +173 -0
- package/dist/deletion-model.mjs +56 -0
- package/dist/deletion-plan.mjs +364 -0
- package/dist/dependency-manifest.mjs +56 -0
- package/dist/design-context-model.d.mts +61 -0
- package/dist/design-context-model.mjs +79 -0
- package/dist/design-contexts.mjs +105 -0
- package/dist/design-foundation.mjs +527 -0
- package/dist/design-inputs.mjs +156 -0
- package/dist/design-modules.mjs +27 -0
- package/dist/design-rejection.d.mts +23 -0
- package/dist/design-rejection.mjs +29 -0
- package/dist/design-system-closure.mjs +108 -0
- package/dist/design-usage.mjs +48 -0
- package/dist/development-modules.mjs +2 -0
- package/dist/development-runtime.mjs +0 -7
- package/dist/digest.mjs +2 -0
- package/dist/draft-boundary.mjs +1 -27
- package/dist/draft-workspace.mjs +11 -5
- package/dist/emit/accept.mjs +33 -0
- package/dist/emit/app-icon-emission.mjs +124 -0
- package/dist/emit/app-icon-render.mjs +126 -0
- package/dist/emit/asset-imports.mjs +18 -0
- package/dist/emit/cli-report.mjs +97 -0
- package/dist/emit/contract.mjs +136 -0
- package/dist/emit/emission.mjs +175 -0
- package/dist/emit/font-emission.mjs +91 -0
- package/dist/emit/foundation-sheet.mjs +55 -0
- package/dist/emit/icon-containers.mjs +46 -0
- package/dist/emit/integrity.mjs +61 -0
- package/dist/emit/lock.mjs +66 -0
- package/dist/emit/namespace.mjs +79 -0
- package/dist/emit/operation-reply.mjs +3 -0
- package/dist/emit/operation.mjs +36 -0
- package/dist/emit/output-location.mjs +20 -0
- package/dist/emit/output-package.mjs +7 -0
- package/dist/emit/owner-emission-cache.mjs +52 -0
- package/dist/emit/palette-module.mjs +19 -0
- package/dist/emit/palette-refresh.mjs +77 -0
- package/dist/emit/preview-emitter.mjs +110 -0
- package/dist/emit/preview-tree.mjs +174 -0
- package/dist/emit/scheduler.mjs +75 -0
- package/dist/emit/service.mjs +249 -0
- package/dist/emit/sync.mjs +38 -0
- package/dist/emit/watch.mjs +74 -0
- package/dist/emit/writer.mjs +102 -0
- package/dist/evidence.mjs +6 -8
- package/dist/example-babel.mjs +7 -0
- package/dist/example-literals.mjs +88 -0
- package/dist/finding-rules.mjs +71 -77
- package/dist/focus-checks.mjs +93 -0
- package/dist/font-checks.mjs +143 -0
- package/dist/font-declaration.d.mts +54 -0
- package/dist/font-declaration.mjs +77 -0
- package/dist/font-macro.d.mts +32 -0
- package/dist/font-macro.mjs +6 -0
- package/dist/font-model.mjs +37 -0
- package/dist/form-states.mjs +82 -0
- package/dist/foundation-macro.d.mts +108 -0
- package/dist/foundation-macro.mjs +6 -0
- package/dist/frame-regions.mjs +190 -0
- package/dist/glyph-set-declaration.d.mts +27 -0
- package/dist/glyph-set-declaration.mjs +36 -0
- package/dist/grid-checks.mjs +94 -0
- package/dist/grid-facts.mjs +92 -0
- package/dist/grid-lowering.mjs +257 -0
- package/dist/guard/cli.mjs +51 -0
- package/dist/guard/config.mjs +67 -0
- package/dist/guard/files.mjs +31 -0
- package/dist/guard/index.mjs +3 -0
- package/dist/guard/run.mjs +56 -0
- package/dist/guard/tsconfig.declarations.json +13 -0
- package/dist/index.mjs +2 -7
- package/dist/init-project.mjs +134 -0
- package/dist/init.mjs +225 -263
- package/dist/input-digests.mjs +109 -163
- package/dist/input-scope.mjs +18 -41
- package/dist/inspected-svg.d.mts +28 -0
- package/dist/inspected-svg.mjs +40 -0
- package/dist/inventories.mjs +149 -0
- package/dist/inventory-query.mjs +15 -0
- package/dist/investigations.mjs +177 -99
- package/dist/json.d.mts +10 -0
- package/dist/json.mjs +36 -0
- package/dist/linaria/atomic-processor.json +96 -0
- package/dist/linaria/atomic-processor.mjs +2452 -0
- package/dist/linaria/backend-identity.mjs +26 -0
- package/dist/linaria/compatibility.json +61 -0
- package/dist/linaria/css-shape.mjs +94 -0
- package/dist/linaria/custom-property-css.mjs +56 -0
- package/dist/linaria/delivery.mjs +111 -0
- package/dist/linaria/direct-extract.mjs +43 -0
- package/dist/linaria/extraction-cache.mjs +31 -0
- package/dist/linaria/extraction-model.mjs +5 -0
- package/dist/linaria/fingerprint.mjs +183 -0
- package/dist/linaria/pair-manifest.json +2315 -0
- package/dist/linaria/persisted-extraction-cache.mjs +352 -0
- package/dist/linaria/preservation.mjs +13 -0
- package/dist/linaria/priority-emitted-rank.mjs +40 -0
- package/dist/linaria/priority-manifest.mjs +87 -0
- package/dist/linaria/priority-table.mjs +47 -0
- package/dist/linaria/priority-tiers.mjs +27 -0
- package/dist/linaria/processor-host.mjs +42 -0
- package/dist/linaria/processor-runtime.mjs +36 -0
- package/dist/linaria-processor-NOTICES.md +147 -0
- package/dist/lowering-components.mjs +14 -0
- package/dist/lowering-effects.mjs +38 -0
- package/dist/lowering-emitter.mjs +29 -0
- package/dist/lowering-hidden.mjs +30 -0
- package/dist/lowering-layer.mjs +141 -0
- package/dist/lowering-motion.mjs +37 -0
- package/dist/lowering-normalize.mjs +194 -0
- package/dist/lowering-overlaps.mjs +328 -0
- package/dist/lowering-paint.mjs +32 -0
- package/dist/lowering-properties.mjs +144 -0
- package/dist/lowering-region-layout.mjs +191 -0
- package/dist/lowering-serialize.mjs +40 -0
- package/dist/lowering-session.mjs +130 -0
- package/dist/lowering-tiers.mjs +23 -0
- package/dist/lowering-transitions.mjs +39 -0
- package/dist/mcp/ads-mcp.mjs +423 -0
- package/dist/mcp/apps.mjs +3 -25
- package/dist/mcp/behavior-pages.mjs +58 -51
- package/dist/mcp/build-status.mjs +233 -267
- package/dist/mcp/catalog.mjs +21 -128
- package/dist/mcp/compiler-channel.mjs +218 -83
- package/dist/mcp/context.mjs +50 -40
- package/dist/mcp/deletions.mjs +147 -0
- package/dist/mcp/draft-discovery.mjs +43 -38
- package/dist/mcp/drafts.mjs +635 -691
- package/dist/mcp/execution-context.mjs +33 -22
- package/dist/mcp/execution-coordinator.mjs +367 -354
- package/dist/mcp/execution-results.mjs +440 -173
- package/dist/mcp/mutation-limits.mjs +1 -2
- package/dist/mcp/mutations.mjs +515 -553
- package/dist/mcp/patch.mjs +117 -75
- package/dist/mcp/preview-http.bundle.js +3 -7
- package/dist/mcp/preview-http.mjs +220 -107
- package/dist/mcp/preview-owner-guard.mjs +81 -43
- package/dist/mcp/preview-watch.mjs +428 -365
- package/dist/mcp/preview-widget.bundle.js +42 -46
- package/dist/mcp/preview-work.mjs +25 -13
- package/dist/mcp/prompts.mjs +22 -16
- package/dist/mcp/resource-loader.js +1 -1
- package/dist/mcp/result-pages.mjs +94 -54
- package/dist/mcp/sandbox-host.mjs +41 -19
- package/dist/mcp/server-discovery.mjs +96 -0
- package/dist/mcp/server-guides.mjs +43 -0
- package/dist/mcp/server-host.mjs +203 -0
- package/dist/mcp/server-observation.mjs +225 -0
- package/dist/mcp/server-project.mjs +371 -0
- package/dist/mcp/server-resources.mjs +466 -0
- package/dist/mcp/server-shared.mjs +79 -0
- package/dist/mcp/server-tools.mjs +791 -0
- package/dist/mcp/server.mjs +2 -2813
- package/dist/mcp/showcase-host.mjs +209 -135
- package/dist/mcp/showcase-http.mjs +50 -28
- package/dist/mcp/skills.mjs +32 -36
- package/dist/mcp/text-diff.mjs +18 -36
- package/dist/measured-geometry.mjs +157 -0
- package/dist/motion-model.mjs +50 -0
- package/dist/non-text-contrast.mjs +118 -0
- package/dist/owner-analysis-check.mjs +651 -0
- package/dist/owner-design.mjs +15 -0
- package/dist/owner-errors.mjs +200 -0
- package/dist/owner-lowering.mjs +186 -0
- package/dist/owner-scenarios.mjs +832 -0
- package/dist/ownership-model.d.mts +6 -0
- package/dist/ownership-model.mjs +124 -0
- package/dist/package-declarations.mjs +34 -0
- package/dist/paint-contrast.mjs +181 -0
- package/dist/palette-generated.mjs +101 -116
- package/dist/pictogram-model.mjs +13 -51
- package/dist/placeholder-contrast.mjs +34 -0
- package/dist/platform-features.mjs +377 -0
- package/dist/press-scale.mjs +26 -0
- package/dist/preview-bun.mjs +333 -404
- package/dist/preview-compile-inputs.mjs +78 -0
- package/dist/preview-contexts.mjs +7 -0
- package/dist/preview-failure.mjs +20 -10
- package/dist/preview-files.mjs +18 -36
- package/dist/preview-imports.mjs +76 -70
- package/dist/preview-incremental.mjs +322 -222
- package/dist/preview-inputs.mjs +26 -26
- package/dist/preview-manifest-update.mjs +67 -49
- package/dist/preview-requests.mjs +10 -17
- package/dist/preview-resources.mjs +275 -323
- package/dist/preview-scope.mjs +15 -17
- package/dist/preview-source.mjs +182 -0
- package/dist/preview-spatial.mjs +27 -0
- package/dist/profile-macro.d.mts +41 -0
- package/dist/profile-macro.mjs +6 -0
- package/dist/profile-model.d.mts +65 -0
- package/dist/profile-model.mjs +213 -0
- package/dist/profile-view-facts.mjs +42 -0
- package/dist/program-cache.mjs +9 -7
- package/dist/project-boundary.mjs +8 -13
- package/dist/project-documents.mjs +25 -29
- package/dist/property-registrations.mjs +44 -35
- package/dist/public-catalog.mjs +76 -0
- package/dist/recipe-defaults.mjs +117 -0
- package/dist/recipe-macro.d.mts +400 -0
- package/dist/recipe-macro.mjs +23 -0
- package/dist/recipe-model.d.mts +26 -0
- package/dist/recipe-model.mjs +190 -0
- package/dist/region-lowering.mjs +523 -0
- package/dist/registration-css.mjs +41 -0
- package/dist/registration-roles.mjs +35 -0
- package/dist/render-audit/axe-run.page.mjs +28 -0
- package/dist/render-audit/first-render.page.mjs +35 -0
- package/dist/render-audit/image-shape.page.mjs +42 -0
- package/dist/render-audit/layout-overflow.page.mjs +240 -0
- package/dist/render-audit/layout-shift.page.mjs +36 -0
- package/dist/render-audit/non-text-contrast.page.mjs +138 -0
- package/dist/render-audit/render-states.mjs +66 -293
- package/dist/render-audit/render-states.page.mjs +177 -0
- package/dist/render-audit/text-scale.mjs +42 -0
- package/dist/render-audit/text-scale.page.mjs +25 -0
- package/dist/render-audit/worker.mjs +125 -112
- package/dist/render-audit/worker.page.mjs +21 -0
- package/dist/render-audit.mjs +465 -500
- package/dist/resource-limits.mjs +174 -223
- package/dist/result.d.mts +34 -0
- package/dist/result.mjs +60 -0
- package/dist/role-vocabulary.d.mts +224 -0
- package/dist/role-vocabulary.mjs +223 -0
- package/dist/runtime-paint-contrast.mjs +97 -0
- package/dist/runtime-paint.mjs +42 -0
- package/dist/runtime-requirements.mjs +10 -11
- package/dist/runtime-style.mjs +21 -0
- package/dist/scenario-groups.mjs +42 -33
- package/dist/scenario-inspector.mjs +4 -4
- package/dist/scenario-kit.d.mts +79 -0
- package/dist/scenario-kit.mjs +18 -0
- package/dist/scenario-registry-model.mjs +2 -0
- package/dist/scenario-registry.mjs +89 -108
- package/dist/scenarios-compiler.mjs +875 -662
- package/dist/showcase/ads-views.mjs +103 -0
- package/dist/showcase/assets-view.mjs +221 -0
- package/dist/showcase/client.bundle.js +222 -59
- package/dist/showcase/guide-controls.d.mts +28 -0
- package/dist/showcase/guide-controls.mjs +31 -0
- package/dist/showcase/http-client.bundle.js +172 -9
- package/dist/showcase/index.html +1 -1
- package/dist/showcase/preview-frame.css +16 -0
- package/dist/showcase/preview-frame.d.mts +5 -0
- package/dist/showcase/preview-frame.mjs +4 -0
- package/dist/showcase/preview-root.d.mts +2 -0
- package/dist/showcase/preview-root.mjs +9 -0
- package/dist/showcase/profiles-view.mjs +280 -0
- package/dist/showcase/project-rules.mjs +9 -0
- package/dist/showcase/sandbox.bundle.js +1 -1
- package/dist/showcase/scenario-page.d.mts +39 -0
- package/dist/showcase/scenario-page.mjs +90 -0
- package/dist/showcase/style.css +2 -0
- package/dist/showcase/token-sample.mjs +46 -0
- package/dist/showcase/tokens-view.mjs +185 -0
- package/dist/showcase/ui/apple-touch-icon-9zwv3w79.png +0 -0
- package/dist/showcase/{favicon.ico → ui/favicon-c2c9kvtf.ico} +0 -0
- package/dist/showcase/ui/icon-192-t5zh7mxx.png +0 -0
- package/dist/showcase/ui/icon-512-ed6yz0n0.png +0 -0
- package/dist/showcase/ui/ui.css +1 -1353
- package/dist/showcase/ui/ui.js +165 -1064
- package/dist/showcase-http-routes.mjs +28 -21
- package/dist/skills/README.md +26 -26
- package/dist/skills/ads-designer/README.md +1 -1
- package/dist/skills/ads-designer/SKILL.md +311 -550
- package/dist/skills/ads-designer/references/accessibility.md +162 -114
- package/dist/skills/ads-designer/references/atomic-styles.md +61 -273
- package/dist/skills/ads-designer/references/behaviors.md +144 -280
- package/dist/skills/ads-designer/references/branding.md +132 -222
- package/dist/skills/ads-designer/references/captures.md +13 -7
- package/dist/skills/ads-designer/references/cli.md +80 -63
- package/dist/skills/ads-designer/references/contracts.md +218 -286
- package/dist/skills/ads-designer/references/design-craft.md +1 -1
- package/dist/skills/ads-designer/references/design-data.md +299 -323
- package/dist/skills/ads-designer/references/drafts.md +83 -22
- package/dist/skills/ads-designer/references/evidence.md +2 -1
- package/dist/skills/ads-designer/references/forms.md +199 -0
- package/dist/skills/ads-designer/references/guarded-editing.md +37 -48
- package/dist/skills/ads-designer/references/layers.md +64 -76
- package/dist/skills/ads-designer/references/layout.md +185 -330
- package/dist/skills/ads-designer/references/mobile.md +2 -2
- package/dist/skills/ads-designer/references/motion.md +30 -25
- package/dist/skills/ads-designer/references/performance.md +48 -49
- package/dist/skills/ads-designer/references/pictograms.md +62 -127
- package/dist/skills/ads-designer/references/recipes.md +307 -0
- package/dist/skills/ads-designer/references/review.md +51 -95
- package/dist/skills/ads-designer/references/runtimes.md +34 -33
- package/dist/skills/ads-designer/references/scenarios.md +255 -216
- package/dist/skills/ads-designer/references/stress-test.md +13 -5
- package/dist/skills/ads-designer/references/validation.md +28 -21
- package/dist/skills/ads-designer/references/workflows.md +7 -5
- package/dist/skills/ads-import/SKILL.md +29 -29
- package/dist/skills/ads-import/references/atomic-styles.md +61 -273
- package/dist/skills/ads-import/references/behaviors.md +144 -280
- package/dist/skills/ads-import/references/branding.md +24 -41
- package/dist/skills/ads-import/references/captures.md +13 -7
- package/dist/skills/ads-import/references/cli.md +80 -63
- package/dist/skills/ads-import/references/compatibility.md +3 -3
- package/dist/skills/ads-import/references/contracts.md +218 -286
- package/dist/skills/ads-import/references/design-data.md +299 -323
- package/dist/skills/ads-import/references/drafts.md +83 -22
- package/dist/skills/ads-import/references/evidence.md +2 -1
- package/dist/skills/ads-import/references/forms.md +199 -0
- package/dist/skills/ads-import/references/guarded-editing.md +37 -48
- package/dist/skills/ads-import/references/implementation.md +20 -20
- package/dist/skills/ads-import/references/layers.md +64 -76
- package/dist/skills/ads-import/references/layout.md +185 -330
- package/dist/skills/ads-import/references/recipes.md +307 -0
- package/dist/skills/ads-import/references/review.md +51 -95
- package/dist/skills/ads-import/references/runtimes.md +34 -33
- package/dist/skills/ads-import/references/scenarios.md +255 -216
- package/dist/skills/ads-import/references/tokens.md +26 -17
- package/dist/skills/ads-import/references/validation.md +28 -21
- package/dist/skills/ads-import/references/workflows.md +7 -5
- package/dist/skills/ads-migrate/SKILL.md +19 -5
- package/dist/skills/ads-migrate/references/0.4.1-to-0.4.2.md +6 -0
- package/dist/skills/ads-migrate/references/0.4.7-to-0.5.0-boundary.md +71 -0
- package/dist/skills/ads-migrate/references/0.4.7-to-0.5.0-grid.md +204 -0
- package/dist/skills/ads-migrate/references/0.4.7-to-0.5.0.md +727 -0
- package/dist/skills/ads-port/SKILL.md +27 -28
- package/dist/skills/ads-port/references/atomic-styles.md +61 -273
- package/dist/skills/ads-port/references/behaviors.md +144 -280
- package/dist/skills/ads-port/references/captures.md +13 -7
- package/dist/skills/ads-port/references/cli.md +80 -63
- package/dist/skills/ads-port/references/contracts.md +218 -286
- package/dist/skills/ads-port/references/design-data.md +299 -323
- package/dist/skills/ads-port/references/drafts.md +83 -22
- package/dist/skills/ads-port/references/evidence.md +2 -1
- package/dist/skills/ads-port/references/forms.md +199 -0
- package/dist/skills/ads-port/references/guarded-editing.md +37 -48
- package/dist/skills/ads-port/references/layers.md +64 -76
- package/dist/skills/ads-port/references/layout.md +185 -330
- package/dist/skills/ads-port/references/lint-and-docs.md +2 -3
- package/dist/skills/ads-port/references/native-implementation.md +23 -33
- package/dist/skills/ads-port/references/recipes.md +307 -0
- package/dist/skills/ads-port/references/review.md +51 -95
- package/dist/skills/ads-port/references/runtimes.md +34 -33
- package/dist/skills/ads-port/references/scenarios.md +255 -216
- package/dist/skills/ads-port/references/validation.md +28 -21
- package/dist/skills/ads-port/references/workflows.md +7 -5
- package/dist/source-inventory.mjs +33 -0
- package/dist/source-values.mjs +272 -262
- package/dist/spatial-css.mjs +403 -0
- package/dist/spatial-metadata.mjs +11 -11
- package/dist/spatial-model.mjs +422 -0
- package/dist/spatial-reading.mjs +127 -0
- package/dist/stage-timing.mjs +27 -0
- package/dist/starter-files.mjs +155 -0
- package/dist/starter-overlay.mjs +189 -0
- package/dist/starters/preact/design-system/assets/avatars/avatar.ads.ts +10 -0
- package/dist/starters/preact/design-system/assets/avatars/member.svg +1 -0
- package/dist/starters/preact/design-system/assets/brand/emblem.ads.ts +18 -0
- package/dist/starters/preact/design-system/assets/brand/emblem.svg +4 -0
- package/dist/starters/preact/design-system/assets/brand/iris-emblem.ads.ts +14 -0
- package/dist/starters/preact/design-system/assets/brand/iris-emblem.svg +4 -0
- package/dist/starters/preact/design-system/assets/brand/mark.ads.ts +14 -0
- package/dist/starters/preact/design-system/assets/brand/mark.svg +1 -0
- package/dist/starters/preact/design-system/assets/glyphs/arrow.ads.ts +14 -0
- package/dist/starters/preact/design-system/assets/glyphs/arrow.svg +1 -0
- package/dist/starters/preact/design-system/assets/glyphs/chevron-20.svg +1 -0
- package/dist/starters/preact/design-system/assets/glyphs/chevron-24.svg +1 -0
- package/dist/starters/preact/design-system/assets/glyphs/chevron.ads.ts +20 -0
- package/dist/starters/preact/design-system/assets/glyphs/close.ads.ts +13 -0
- package/dist/starters/preact/design-system/assets/glyphs/close.svg +1 -0
- package/dist/starters/preact/design-system/assets/glyphs/favorite.ads.ts +23 -0
- package/dist/starters/preact/design-system/assets/glyphs/favorite.normal.svg +1 -0
- package/dist/starters/preact/design-system/assets/glyphs/favorite.selected.svg +1 -0
- package/dist/starters/preact/design-system/assets/glyphs/search.ads.ts +10 -0
- package/dist/starters/preact/design-system/assets/glyphs/search.svg +1 -0
- package/dist/starters/preact/design-system/assets/illustrations/journey.ads.ts +32 -0
- package/dist/starters/preact/design-system/assets/illustrations/journey.contrast.svg +6 -0
- package/dist/starters/preact/design-system/assets/illustrations/journey.dark.svg +13 -0
- package/dist/starters/preact/design-system/assets/illustrations/journey.light.svg +13 -0
- package/dist/starters/preact/design-system/assets/logos/harbor-pay.ads.ts +17 -0
- package/dist/starters/preact/design-system/assets/logos/harbor-pay.dark.svg +10 -0
- package/dist/starters/preact/design-system/assets/logos/harbor-pay.light.svg +10 -0
- package/dist/starters/preact/design-system/assets/logos/lumen-cloud.ads.ts +15 -0
- package/dist/starters/preact/design-system/assets/logos/lumen-cloud.dark.svg +9 -0
- package/dist/starters/preact/design-system/assets/logos/lumen-cloud.light.svg +9 -0
- package/dist/starters/preact/design-system/assets/status/error.svg +1 -0
- package/dist/starters/preact/design-system/assets/status/outcomes.ads.ts +31 -0
- package/dist/starters/preact/design-system/assets/status/status.ads.ts +16 -0
- package/dist/starters/preact/design-system/assets/status/success.svg +1 -0
- package/dist/starters/preact/design-system/assets/status/sync-status.ads.ts +14 -0
- package/dist/starters/preact/design-system/assets/status/sync-status.svg +7 -0
- package/dist/starters/preact/design-system/assets/status/warning.svg +1 -0
- package/dist/starters/preact/design-system/components/Actions/Button/Button.ads.scenario.tsx +12 -0
- package/dist/starters/preact/design-system/components/Actions/Button/Button.tsx +198 -0
- package/dist/starters/preact/design-system/components/Actions/IconButton/IconButton.tsx +95 -0
- package/dist/starters/preact/design-system/components/Actions/ToggleTile/ToggleTile.ads.scenario.tsx +22 -0
- package/dist/starters/preact/design-system/components/Actions/ToggleTile/ToggleTile.tsx +60 -0
- package/dist/starters/preact/design-system/components/Containers/Disclosure/Disclosure.ads.scenario.tsx +24 -0
- package/dist/starters/preact/design-system/components/Containers/Disclosure/Disclosure.tsx +50 -0
- package/dist/starters/preact/design-system/components/Content/Artwork/Artwork.ads.scenario.tsx +8 -0
- package/dist/starters/preact/design-system/components/Content/Artwork/Artwork.tsx +110 -0
- package/dist/starters/preact/design-system/components/Content/BarChart/BarChart.ads.scenario.tsx +25 -0
- package/dist/starters/preact/design-system/components/Content/BarChart/BarChart.tsx +72 -0
- package/dist/starters/preact/design-system/components/Content/GuideGrid/GuideGrid.ads.scenario.tsx +8 -0
- package/dist/starters/preact/design-system/components/Content/GuideGrid/GuideGrid.tsx +43 -0
- package/dist/starters/preact/design-system/components/Content/Icon/Icon.ads.scenario.tsx +21 -0
- package/dist/starters/preact/design-system/components/Content/Icon/Icon.tsx +41 -0
- package/dist/starters/preact/design-system/components/Content/Icon/glyphs/arrow.tsx +10 -0
- package/dist/starters/preact/design-system/components/Content/Icon/glyphs/close.tsx +10 -0
- package/dist/starters/preact/design-system/components/Content/Icon/glyphs/search.tsx +10 -0
- package/dist/starters/preact/design-system/components/Content/Image/Image.ads.fixture.ts +9 -0
- package/dist/starters/preact/design-system/components/Content/Image/Image.ads.scenario.tsx +12 -0
- package/dist/starters/preact/design-system/components/Content/Image/Image.tsx +83 -0
- package/dist/starters/preact/design-system/components/Content/InspectedGlyph/InspectedGlyph.ads.scenario.tsx +27 -0
- package/dist/starters/preact/design-system/components/Content/InspectedGlyph/InspectedGlyph.tsx +46 -0
- package/dist/starters/preact/design-system/components/Content/PartnerLogo/PartnerLogo.ads.scenario.tsx +17 -0
- package/dist/starters/preact/design-system/components/Content/PartnerLogo/PartnerLogo.tsx +41 -0
- package/dist/starters/preact/design-system/components/Content/StatusIcon/StatusIcon.ads.scenario.tsx +20 -0
- package/dist/starters/preact/design-system/components/Content/StatusIcon/StatusIcon.tsx +37 -0
- package/dist/starters/preact/design-system/components/Forms/TextField/TextField.ads.scenario.tsx +24 -0
- package/dist/starters/preact/design-system/components/Forms/TextField/TextField.tsx +173 -0
- package/dist/starters/preact/design-system/components/Identity/Identity.ads.scenario.tsx +13 -0
- package/dist/starters/preact/design-system/components/Identity/Identity.tsx +146 -0
- package/dist/starters/preact/design-system/components/Overlays/Menu/Menu.ads.scenario.tsx +27 -0
- package/dist/starters/preact/design-system/components/Overlays/Menu/Menu.tsx +194 -0
- package/dist/starters/preact/design-system/components/Overlays/Popover/Popover.ads.scenario.tsx +19 -0
- package/dist/starters/preact/design-system/components/Overlays/Popover/Popover.tsx +37 -0
- package/dist/starters/preact/design-system/controllers/FormField/FormField.ads.behavior.ts +70 -0
- package/dist/starters/preact/design-system/controllers/FormField/FormField.behavior.spec.ts +237 -0
- package/dist/starters/preact/design-system/controllers/FormField/FormField.ts +343 -0
- package/dist/starters/preact/design-system/controllers/FormField/useFormField.ts +70 -0
- package/dist/starters/preact/design-system/controllers/Palette/Palette.ts +165 -0
- package/dist/starters/preact/design-system/foundation.ads.ts +22 -0
- package/dist/starters/preact/design-system/index.ts +51 -0
- package/dist/starters/preact/design-system/mocks/ConstructionProofs/ConstructionProofs.ads.fixture.ts +5 -0
- package/dist/starters/preact/design-system/mocks/ConstructionProofs/ConstructionProofs.ads.scenario.tsx +22 -0
- package/dist/starters/preact/design-system/mocks/Inspector/Inspector.ads.fixture.ts +12 -0
- package/dist/starters/preact/design-system/mocks/Inspector/Inspector.ads.scenario.tsx +21 -0
- package/dist/starters/preact/design-system/mocks/Workspace/Layouts.ads.scenario.tsx +24 -0
- package/dist/starters/preact/design-system/mocks/Workspace/Media.ads.scenario.tsx +24 -0
- package/dist/starters/preact/design-system/mocks/Workspace/Stress.ads.scenario.tsx +36 -0
- package/dist/starters/preact/design-system/mocks/Workspace/Workspace.ads.fixture.ts +13 -0
- package/dist/starters/preact/design-system/mocks/Workspace/Workspace.ads.scenario.tsx +27 -0
- package/dist/starters/preact/design-system/mocks/Workspace/media/ads.svg +1 -0
- package/dist/starters/preact/design-system/palette.generated.ts +188 -0
- package/dist/starters/preact/design-system/patterns/ArtworkCatalogue/ArtworkCatalogue/ArtworkCatalogue.tsx +73 -0
- package/dist/starters/preact/design-system/patterns/ConstructionWorkbench/ConstructionWorkbench/ConstructionWorkbench.ads.scenario.tsx +23 -0
- package/dist/starters/preact/design-system/patterns/ConstructionWorkbench/ConstructionWorkbench/ConstructionWorkbench.tsx +94 -0
- package/dist/starters/preact/design-system/patterns/Forms/InviteMember/InviteMember.ads.scenario.tsx +21 -0
- package/dist/starters/preact/design-system/patterns/Forms/InviteMember/InviteMember.tsx +137 -0
- package/dist/starters/preact/design-system/patterns/Inspector/Inspector/Inspector.ads.scenario.tsx +22 -0
- package/dist/starters/preact/design-system/patterns/Inspector/Inspector/Inspector.tsx +248 -0
- package/dist/starters/preact/design-system/patterns/Shell/Shell.ads.scenario.tsx +26 -0
- package/dist/starters/preact/design-system/patterns/Shell/Shell.tsx +254 -261
- package/dist/starters/preact/design-system/patterns/Workspace/Workspace/Workspace.ads.scenario.tsx +28 -0
- package/dist/starters/preact/design-system/patterns/Workspace/Workspace/Workspace.tsx +105 -0
- package/dist/starters/preact/design-system/patterns/Workspace/Workspace/WorkspacePanels.tsx +179 -0
- package/dist/starters/preact/design-system/profiles/Containers/containers.ads.ts +67 -0
- package/dist/starters/preact/design-system/profiles/Containers/frames.ads.ts +32 -0
- package/dist/starters/preact/design-system/profiles/Containers/geometry.ads.ts +30 -0
- package/dist/starters/preact/design-system/profiles/Containers/spacing.ads.ts +26 -0
- package/dist/starters/preact/design-system/profiles/Controls/controls.ads.ts +157 -0
- package/dist/starters/preact/design-system/profiles/Controls/frames.ads.ts +50 -0
- package/dist/starters/preact/design-system/profiles/Controls/spacing.ads.ts +29 -0
- package/dist/starters/preact/design-system/profiles/Focus/keyboard.ads.ts +13 -0
- package/dist/starters/preact/design-system/profiles/Identity/identity.ads.ts +25 -0
- package/dist/starters/preact/design-system/profiles/Identity/spacing.ads.ts +22 -0
- package/dist/starters/preact/design-system/profiles/Layout/grid.ads.ts +69 -0
- package/dist/starters/preact/design-system/profiles/Layout/inspector.ads.ts +146 -0
- package/dist/starters/preact/design-system/profiles/Layout/overlays.ads.ts +94 -0
- package/dist/starters/preact/design-system/profiles/Layout/regions.ads.ts +296 -0
- package/dist/starters/preact/design-system/profiles/Motion/feedback.ads.ts +92 -0
- package/dist/starters/preact/design-system/profiles/Surfaces/controls.ads.ts +142 -0
- package/dist/starters/preact/design-system/profiles/Surfaces/document.ads.ts +2 -0
- package/dist/starters/preact/design-system/profiles/Surfaces/materials.ads.ts +18 -0
- package/dist/starters/preact/design-system/profiles/Surfaces/surfaces.ads.ts +48 -0
- package/dist/starters/preact/design-system/profiles/Typography/details.ads.ts +19 -0
- package/dist/starters/preact/design-system/profiles/Typography/document.ads.ts +2 -0
- package/dist/starters/preact/design-system/profiles/Typography/headings.ads.ts +15 -0
- package/dist/starters/preact/design-system/profiles/Typography/text.ads.ts +73 -0
- package/dist/starters/preact/design-system/profiles/Visuals/artwork.ads.ts +46 -0
- package/dist/starters/preact/design-system/profiles/Visuals/charts.ads.ts +31 -0
- package/dist/starters/preact/design-system/profiles/Visuals/content.ads.ts +52 -0
- package/dist/starters/preact/design-system/profiles/Visuals/glyphs.ads.ts +35 -0
- package/dist/starters/preact/design-system/profiles/Visuals/identity.ads.ts +24 -0
- package/dist/starters/preact/design-system/tokens/Artwork/paint.ads.css +7 -0
- package/dist/starters/preact/design-system/tokens/Artwork/visual-size.ads.css +12 -0
- package/dist/starters/preact/design-system/tokens/Brand/paint.ads.css +7 -0
- package/dist/starters/preact/design-system/tokens/Charts/paint.ads.css +19 -0
- package/dist/starters/preact/design-system/tokens/Containers/border-width.ads.css +1 -0
- package/dist/starters/preact/design-system/tokens/Containers/content-gap.ads.css +5 -0
- package/dist/starters/preact/design-system/tokens/Containers/frame-inset.ads.css +6 -0
- package/dist/starters/preact/design-system/tokens/Containers/frame-size.ads.css +11 -0
- package/dist/starters/preact/design-system/tokens/Containers/radius.ads.css +1 -0
- package/dist/starters/preact/design-system/tokens/Controls/border-width.ads.css +4 -0
- package/dist/starters/preact/design-system/tokens/Controls/content-gap.ads.css +6 -0
- package/dist/starters/preact/design-system/tokens/Controls/control-min-size.ads.css +17 -0
- package/dist/starters/preact/design-system/tokens/Controls/frame-inset.ads.css +21 -0
- package/dist/starters/preact/design-system/tokens/Controls/radius.ads.css +1 -0
- package/dist/starters/preact/design-system/tokens/Controls/target-min-size.ads.css +2 -0
- package/dist/starters/preact/design-system/tokens/Controls/visual-size.ads.css +2 -0
- package/dist/starters/preact/design-system/tokens/Focus/border-width.ads.css +1 -0
- package/dist/starters/preact/design-system/tokens/Focus/focus-offset.ads.css +1 -0
- package/dist/starters/preact/design-system/tokens/Foundation/spacing.ads.css +20 -0
- package/dist/starters/preact/design-system/tokens/Grid/grid-gutter.ads.css +6 -0
- package/dist/starters/preact/design-system/tokens/Grid/layer.ads.css +2 -0
- package/dist/starters/preact/design-system/tokens/Grid/layout-size.ads.css +15 -0
- package/dist/starters/preact/design-system/tokens/Grid/spacing.ads.css +12 -0
- package/dist/starters/preact/design-system/tokens/Grid/track-count.ads.css +1 -0
- package/dist/starters/preact/design-system/tokens/Identity/content-gap.ads.css +6 -0
- package/dist/starters/preact/design-system/tokens/Identity/visual-size.ads.css +1 -0
- package/dist/starters/preact/design-system/tokens/Motion/duration.ads.css +6 -0
- package/dist/starters/preact/design-system/tokens/Motion/easing.ads.css +5 -0
- package/dist/starters/preact/design-system/tokens/Motion/motion-angle.ads.css +1 -0
- package/dist/starters/preact/design-system/tokens/Motion/motion-distance.ads.css +2 -0
- package/dist/starters/preact/design-system/tokens/Motion/motion-scale.ads.css +9 -0
- package/dist/starters/preact/design-system/tokens/Surfaces/blur.ads.css +2 -0
- package/dist/starters/preact/design-system/tokens/Surfaces/gradient.ads.css +2 -0
- package/dist/starters/preact/design-system/tokens/Surfaces/opacity.ads.css +2 -0
- package/dist/starters/preact/design-system/tokens/Surfaces/paint.ads.css +58 -0
- package/dist/starters/preact/design-system/tokens/Surfaces/shadow.ads.css +20 -0
- package/dist/starters/preact/design-system/tokens/Typography/font-family.ads.css +1 -0
- package/dist/starters/preact/design-system/tokens/Typography/font-features.ads.css +1 -0
- package/dist/starters/preact/design-system/tokens/Typography/font-size.ads.css +9 -0
- package/dist/starters/preact/design-system/tokens/Typography/font-stretch.ads.css +1 -0
- package/dist/starters/preact/design-system/tokens/Typography/font-variations.ads.css +1 -0
- package/dist/starters/preact/design-system/tokens/Typography/font-weight.ads.css +1 -0
- package/dist/starters/preact/design-system/tokens/Typography/letter-spacing.ads.css +1 -0
- package/dist/starters/preact/design-system/tokens/Typography/line-height.ads.css +11 -0
- package/dist/starters/preact/design-system/tokens/Typography/word-spacing.ads.css +1 -0
- package/dist/starters/preact/starter.json +11 -0
- package/dist/starters/react/design-system/assets/avatars/avatar.ads.ts +10 -0
- package/dist/starters/react/design-system/assets/avatars/member.svg +1 -0
- package/dist/starters/react/design-system/assets/brand/emblem.ads.ts +18 -0
- package/dist/starters/react/design-system/assets/brand/emblem.svg +4 -0
- package/dist/starters/react/design-system/assets/brand/iris-emblem.ads.ts +14 -0
- package/dist/starters/react/design-system/assets/brand/iris-emblem.svg +4 -0
- package/dist/starters/react/design-system/assets/brand/mark.ads.ts +14 -0
- package/dist/starters/react/design-system/assets/brand/mark.svg +1 -0
- package/dist/starters/react/design-system/assets/glyphs/arrow.ads.ts +14 -0
- package/dist/starters/react/design-system/assets/glyphs/arrow.svg +1 -0
- package/dist/starters/react/design-system/assets/glyphs/chevron-20.svg +1 -0
- package/dist/starters/react/design-system/assets/glyphs/chevron-24.svg +1 -0
- package/dist/starters/react/design-system/assets/glyphs/chevron.ads.ts +20 -0
- package/dist/starters/react/design-system/assets/glyphs/close.ads.ts +13 -0
- package/dist/starters/react/design-system/assets/glyphs/close.svg +1 -1
- package/dist/starters/react/design-system/assets/glyphs/favorite.ads.ts +23 -0
- package/dist/starters/react/design-system/assets/glyphs/favorite.normal.svg +1 -0
- package/dist/starters/react/design-system/assets/glyphs/favorite.selected.svg +1 -0
- package/dist/starters/react/design-system/assets/glyphs/search.ads.ts +10 -0
- package/dist/starters/react/design-system/assets/glyphs/search.svg +1 -1
- package/dist/starters/react/design-system/assets/illustrations/journey.ads.ts +32 -0
- package/dist/starters/react/design-system/assets/illustrations/journey.contrast.svg +6 -0
- package/dist/starters/react/design-system/assets/illustrations/journey.dark.svg +13 -0
- package/dist/starters/react/design-system/assets/illustrations/journey.light.svg +13 -0
- package/dist/starters/react/design-system/assets/logos/harbor-pay.ads.ts +17 -0
- package/dist/starters/react/design-system/assets/logos/harbor-pay.dark.svg +10 -0
- package/dist/starters/react/design-system/assets/logos/harbor-pay.light.svg +10 -0
- package/dist/starters/react/design-system/assets/logos/lumen-cloud.ads.ts +15 -0
- package/dist/starters/react/design-system/assets/logos/lumen-cloud.dark.svg +9 -0
- package/dist/starters/react/design-system/assets/logos/lumen-cloud.light.svg +9 -0
- package/dist/starters/react/design-system/assets/status/error.svg +1 -0
- package/dist/starters/react/design-system/assets/status/outcomes.ads.ts +31 -0
- package/dist/starters/react/design-system/assets/status/status.ads.ts +16 -0
- package/dist/starters/react/design-system/assets/status/success.svg +1 -0
- package/dist/starters/react/design-system/assets/status/sync-status.ads.ts +14 -0
- package/dist/starters/react/design-system/assets/status/sync-status.svg +7 -0
- package/dist/starters/react/design-system/assets/status/warning.svg +1 -0
- package/dist/starters/react/design-system/components/Actions/Button/Button.ads.scenario.tsx +11 -12
- package/dist/starters/react/design-system/components/Actions/Button/Button.tsx +187 -45
- package/dist/starters/react/design-system/components/Actions/IconButton/IconButton.tsx +83 -48
- package/dist/starters/react/design-system/components/Actions/ToggleTile/ToggleTile.ads.scenario.tsx +22 -0
- package/dist/starters/react/design-system/components/Actions/ToggleTile/ToggleTile.tsx +60 -0
- package/dist/starters/react/design-system/components/Containers/Disclosure/Disclosure.ads.scenario.tsx +24 -0
- package/dist/starters/react/design-system/components/Containers/Disclosure/Disclosure.tsx +50 -0
- package/dist/starters/react/design-system/components/Content/Artwork/Artwork.ads.scenario.tsx +8 -0
- package/dist/starters/react/design-system/components/Content/Artwork/Artwork.tsx +110 -0
- package/dist/starters/react/design-system/components/Content/BarChart/BarChart.ads.scenario.tsx +25 -0
- package/dist/starters/react/design-system/components/Content/BarChart/BarChart.tsx +72 -0
- package/dist/starters/react/design-system/components/Content/GuideGrid/GuideGrid.ads.scenario.tsx +8 -0
- package/dist/starters/react/design-system/components/Content/GuideGrid/GuideGrid.tsx +43 -0
- package/dist/starters/react/design-system/components/Content/Icon/Icon.ads.scenario.tsx +21 -16
- package/dist/starters/react/design-system/components/Content/Icon/Icon.tsx +32 -33
- package/dist/starters/react/design-system/components/Content/Icon/glyphs/arrow.tsx +10 -0
- package/dist/starters/react/design-system/components/Content/Icon/glyphs/close.tsx +10 -0
- package/dist/starters/react/design-system/components/Content/Icon/glyphs/search.tsx +10 -0
- package/dist/starters/react/design-system/components/Content/Image/Image.ads.fixture.ts +9 -2
- package/dist/starters/react/design-system/components/Content/Image/Image.ads.scenario.tsx +10 -11
- package/dist/starters/react/design-system/components/Content/Image/Image.tsx +74 -42
- package/dist/starters/react/design-system/components/Content/InspectedGlyph/InspectedGlyph.ads.scenario.tsx +27 -0
- package/dist/starters/react/design-system/components/Content/InspectedGlyph/InspectedGlyph.tsx +46 -0
- package/dist/starters/react/design-system/components/Content/PartnerLogo/PartnerLogo.ads.scenario.tsx +17 -0
- package/dist/starters/react/design-system/components/Content/PartnerLogo/PartnerLogo.tsx +41 -0
- package/dist/starters/react/design-system/components/Content/StatusIcon/StatusIcon.ads.scenario.tsx +20 -0
- package/dist/starters/react/design-system/components/Content/StatusIcon/StatusIcon.tsx +37 -0
- package/dist/starters/react/design-system/components/Forms/TextField/TextField.ads.scenario.tsx +23 -12
- package/dist/starters/react/design-system/components/Forms/TextField/TextField.tsx +161 -49
- package/dist/starters/react/design-system/components/Identity/Identity.ads.scenario.tsx +13 -0
- package/dist/starters/react/design-system/components/Identity/Identity.tsx +146 -0
- package/dist/starters/react/design-system/components/Overlays/Menu/Menu.ads.scenario.tsx +27 -0
- package/dist/starters/react/design-system/components/Overlays/Menu/Menu.tsx +194 -0
- package/dist/starters/react/design-system/components/Overlays/Popover/Popover.ads.scenario.tsx +19 -0
- package/dist/starters/react/design-system/components/Overlays/Popover/Popover.tsx +37 -0
- package/dist/starters/react/design-system/controllers/FormField/FormField.ads.behavior.ts +70 -0
- package/dist/starters/react/design-system/controllers/FormField/FormField.behavior.spec.ts +237 -0
- package/dist/starters/react/design-system/controllers/FormField/FormField.ts +343 -0
- package/dist/starters/react/design-system/controllers/FormField/useFormField.ts +70 -0
- package/dist/starters/react/design-system/controllers/Palette/Palette.ts +5 -4
- package/dist/starters/react/design-system/foundation.ads.ts +22 -0
- package/dist/starters/react/design-system/index.ts +51 -12
- package/dist/starters/react/design-system/mocks/ConstructionProofs/ConstructionProofs.ads.fixture.ts +5 -0
- package/dist/starters/react/design-system/mocks/ConstructionProofs/ConstructionProofs.ads.scenario.tsx +22 -0
- package/dist/starters/react/design-system/mocks/Inspector/Inspector.ads.fixture.ts +12 -0
- package/dist/starters/react/design-system/mocks/Inspector/Inspector.ads.scenario.tsx +21 -0
- package/dist/starters/react/design-system/mocks/Workspace/Layouts.ads.scenario.tsx +24 -0
- package/dist/starters/react/design-system/mocks/Workspace/Media.ads.scenario.tsx +24 -0
- package/dist/starters/react/design-system/mocks/Workspace/Stress.ads.scenario.tsx +36 -0
- package/dist/starters/react/design-system/mocks/Workspace/Workspace.ads.fixture.ts +13 -0
- package/dist/starters/react/design-system/mocks/Workspace/Workspace.ads.scenario.tsx +27 -0
- package/dist/starters/react/design-system/mocks/Workspace/media/ads.svg +1 -0
- package/dist/starters/react/design-system/palette.generated.ts +188 -0
- package/dist/starters/react/design-system/patterns/ArtworkCatalogue/ArtworkCatalogue/ArtworkCatalogue.tsx +73 -0
- package/dist/starters/react/design-system/patterns/ConstructionWorkbench/ConstructionWorkbench/ConstructionWorkbench.ads.scenario.tsx +23 -0
- package/dist/starters/react/design-system/patterns/ConstructionWorkbench/ConstructionWorkbench/ConstructionWorkbench.tsx +94 -0
- package/dist/starters/react/design-system/patterns/Forms/InviteMember/InviteMember.ads.scenario.tsx +21 -0
- package/dist/starters/react/design-system/patterns/Forms/InviteMember/InviteMember.tsx +137 -0
- package/dist/starters/react/design-system/patterns/Inspector/Inspector/Inspector.ads.scenario.tsx +22 -0
- package/dist/starters/react/design-system/patterns/Inspector/Inspector/Inspector.tsx +248 -0
- package/dist/starters/react/design-system/patterns/Shell/Shell.ads.scenario.tsx +26 -21
- package/dist/starters/react/design-system/patterns/Shell/Shell.tsx +255 -261
- package/dist/starters/react/design-system/patterns/Workspace/Workspace/Workspace.ads.scenario.tsx +28 -0
- package/dist/starters/react/design-system/patterns/Workspace/Workspace/Workspace.tsx +105 -0
- package/dist/starters/react/design-system/patterns/Workspace/Workspace/WorkspacePanels.tsx +179 -0
- package/dist/starters/react/design-system/profiles/Containers/containers.ads.ts +67 -0
- package/dist/starters/react/design-system/profiles/Containers/frames.ads.ts +32 -0
- package/dist/starters/react/design-system/profiles/Containers/geometry.ads.ts +30 -0
- package/dist/starters/react/design-system/profiles/Containers/spacing.ads.ts +26 -0
- package/dist/starters/react/design-system/profiles/Controls/controls.ads.ts +157 -0
- package/dist/starters/react/design-system/profiles/Controls/frames.ads.ts +50 -0
- package/dist/starters/react/design-system/profiles/Controls/spacing.ads.ts +29 -0
- package/dist/starters/react/design-system/profiles/Focus/keyboard.ads.ts +13 -0
- package/dist/starters/react/design-system/profiles/Identity/identity.ads.ts +25 -0
- package/dist/starters/react/design-system/profiles/Identity/spacing.ads.ts +22 -0
- package/dist/starters/react/design-system/profiles/Layout/grid.ads.ts +69 -0
- package/dist/starters/react/design-system/profiles/Layout/inspector.ads.ts +146 -0
- package/dist/starters/react/design-system/profiles/Layout/overlays.ads.ts +94 -0
- package/dist/starters/react/design-system/profiles/Layout/regions.ads.ts +296 -0
- package/dist/starters/react/design-system/profiles/Motion/feedback.ads.ts +92 -0
- package/dist/starters/react/design-system/profiles/Surfaces/controls.ads.ts +142 -0
- package/dist/starters/react/design-system/profiles/Surfaces/document.ads.ts +2 -0
- package/dist/starters/react/design-system/profiles/Surfaces/materials.ads.ts +18 -0
- package/dist/starters/react/design-system/profiles/Surfaces/surfaces.ads.ts +48 -0
- package/dist/starters/react/design-system/profiles/Typography/details.ads.ts +19 -0
- package/dist/starters/react/design-system/profiles/Typography/document.ads.ts +2 -0
- package/dist/starters/react/design-system/profiles/Typography/headings.ads.ts +15 -0
- package/dist/starters/react/design-system/profiles/Typography/text.ads.ts +73 -0
- package/dist/starters/react/design-system/profiles/Visuals/artwork.ads.ts +46 -0
- package/dist/starters/react/design-system/profiles/Visuals/charts.ads.ts +31 -0
- package/dist/starters/react/design-system/profiles/Visuals/content.ads.ts +52 -0
- package/dist/starters/react/design-system/profiles/Visuals/glyphs.ads.ts +35 -0
- package/dist/starters/react/design-system/profiles/Visuals/identity.ads.ts +24 -0
- package/dist/starters/react/design-system/tokens/Artwork/paint.ads.css +7 -0
- package/dist/starters/react/design-system/tokens/Artwork/visual-size.ads.css +12 -0
- package/dist/starters/react/design-system/tokens/Brand/paint.ads.css +7 -0
- package/dist/starters/react/design-system/tokens/Charts/paint.ads.css +19 -0
- package/dist/starters/react/design-system/tokens/Containers/border-width.ads.css +1 -0
- package/dist/starters/react/design-system/tokens/Containers/content-gap.ads.css +5 -0
- package/dist/starters/react/design-system/tokens/Containers/frame-inset.ads.css +6 -0
- package/dist/starters/react/design-system/tokens/Containers/frame-size.ads.css +11 -0
- package/dist/starters/react/design-system/tokens/Containers/radius.ads.css +1 -0
- package/dist/starters/react/design-system/tokens/Controls/border-width.ads.css +4 -0
- package/dist/starters/react/design-system/tokens/Controls/content-gap.ads.css +6 -0
- package/dist/starters/react/design-system/tokens/Controls/control-min-size.ads.css +17 -0
- package/dist/starters/react/design-system/tokens/Controls/frame-inset.ads.css +21 -0
- package/dist/starters/react/design-system/tokens/Controls/radius.ads.css +1 -0
- package/dist/starters/react/design-system/tokens/Controls/target-min-size.ads.css +2 -0
- package/dist/starters/react/design-system/tokens/Controls/visual-size.ads.css +2 -0
- package/dist/starters/react/design-system/tokens/Focus/border-width.ads.css +1 -0
- package/dist/starters/react/design-system/tokens/Focus/focus-offset.ads.css +1 -0
- package/dist/starters/react/design-system/tokens/Foundation/spacing.ads.css +20 -0
- package/dist/starters/react/design-system/tokens/Grid/grid-gutter.ads.css +6 -0
- package/dist/starters/react/design-system/tokens/Grid/layer.ads.css +2 -0
- package/dist/starters/react/design-system/tokens/Grid/layout-size.ads.css +15 -0
- package/dist/starters/react/design-system/tokens/Grid/spacing.ads.css +12 -0
- package/dist/starters/react/design-system/tokens/Grid/track-count.ads.css +1 -0
- package/dist/starters/react/design-system/tokens/Identity/content-gap.ads.css +6 -0
- package/dist/starters/react/design-system/tokens/Identity/visual-size.ads.css +1 -0
- package/dist/starters/react/design-system/tokens/Motion/duration.ads.css +6 -0
- package/dist/starters/react/design-system/tokens/Motion/easing.ads.css +5 -0
- package/dist/starters/react/design-system/tokens/Motion/motion-angle.ads.css +1 -0
- package/dist/starters/react/design-system/tokens/Motion/motion-distance.ads.css +2 -0
- package/dist/starters/react/design-system/tokens/Motion/motion-scale.ads.css +9 -0
- package/dist/starters/react/design-system/tokens/Surfaces/blur.ads.css +2 -0
- package/dist/starters/react/design-system/tokens/Surfaces/gradient.ads.css +2 -0
- package/dist/starters/react/design-system/tokens/Surfaces/opacity.ads.css +2 -0
- package/dist/starters/react/design-system/tokens/Surfaces/paint.ads.css +58 -0
- package/dist/starters/react/design-system/tokens/Surfaces/shadow.ads.css +20 -0
- package/dist/starters/react/design-system/tokens/Typography/font-family.ads.css +1 -0
- package/dist/starters/react/design-system/tokens/Typography/font-features.ads.css +1 -0
- package/dist/starters/react/design-system/tokens/Typography/font-size.ads.css +9 -0
- package/dist/starters/react/design-system/tokens/Typography/font-stretch.ads.css +1 -0
- package/dist/starters/react/design-system/tokens/Typography/font-variations.ads.css +1 -0
- package/dist/starters/react/design-system/tokens/Typography/font-weight.ads.css +1 -0
- package/dist/starters/react/design-system/tokens/Typography/letter-spacing.ads.css +1 -0
- package/dist/starters/react/design-system/tokens/Typography/line-height.ads.css +11 -0
- package/dist/starters/react/design-system/tokens/Typography/word-spacing.ads.css +1 -0
- package/dist/starters/react/starter.json +11 -0
- package/dist/state-conditions.d.mts +51 -0
- package/dist/state-conditions.mjs +67 -0
- package/dist/static-values.mjs +94 -0
- package/dist/surface-contrast.mjs +194 -0
- package/dist/target-size.mjs +177 -0
- package/dist/task-cache.mjs +142 -136
- package/dist/task-worker.mjs +18 -18
- package/dist/test-boundaries.mjs +50 -189
- package/dist/token-checks.mjs +21 -0
- package/dist/token-dtcg.mjs +135 -0
- package/dist/token-expression.mjs +19 -0
- package/dist/token-inventory.mjs +146 -0
- package/dist/token-operations.mjs +37 -0
- package/dist/token-overlap.mjs +29 -0
- package/dist/token-provenance.mjs +260 -0
- package/dist/token-references.mjs +71 -0
- package/dist/token-registrations.mjs +116 -0
- package/dist/token-resolution.mjs +38 -0
- package/dist/token-sections.mjs +123 -0
- package/dist/token-shapes.mjs +121 -0
- package/dist/token-sheet-check.mjs +54 -0
- package/dist/token-type-check.mjs +89 -0
- package/dist/token-view-facts.mjs +62 -0
- package/dist/tsconfig.declarations.json +24 -0
- package/dist/types/css-tree.d.ts +45 -0
- package/dist/ui-framework.mjs +34 -34
- package/dist/units.mjs +186 -226
- package/dist/unknown.d.mts +9 -0
- package/dist/unknown.mjs +13 -0
- package/dist/validation-checks.mjs +62 -71
- package/dist/validation-inputs.mjs +209 -279
- package/dist/validation.mjs +132 -159
- package/dist/verification/browser.d.mts +21 -25
- package/dist/verification/browser.mjs +281 -124
- package/dist/verification/browser.page.d.mts +22 -0
- package/dist/verification/browser.page.mjs +19 -0
- package/dist/verification/paint-audit.page.d.mts +55 -0
- package/dist/verification/paint-audit.page.mjs +144 -0
- package/dist/verification/playwright-reporter.mjs +160 -0
- package/dist/verification/preview-startup.d.mts +51 -0
- package/dist/verification/preview-startup.mjs +76 -0
- package/dist/verification/request.d.mts +28 -0
- package/dist/verification/request.mjs +30 -0
- package/dist/verification/unit-preload.mjs +37 -0
- package/dist/verification.mjs +574 -607
- package/docs/ADS.md +562 -565
- package/docs/ARCHITECTURE.md +1857 -1383
- package/docs/ASSETS.md +416 -0
- package/docs/BEHAVIORS.md +339 -370
- package/docs/CACHING.md +365 -154
- package/docs/CHANGELOG.md +137 -21
- package/docs/COMPARISON.md +21 -26
- package/docs/DESIGN-REFERENCES.md +39 -26
- package/docs/GUIDE.md +2306 -1294
- package/docs/LANGUAGE.md +893 -0
- package/docs/LOWERING.md +168 -0
- package/docs/MCP.md +1461 -1179
- package/docs/MOTION.md +265 -0
- package/docs/PROFILE-KINDS.md +390 -0
- package/docs/PROFILES.md +176 -0
- package/docs/RULES.md +559 -0
- package/docs/STARTER.md +167 -0
- package/docs/TOKEN-ROLES.md +375 -0
- package/docs/benchmarks/README.md +26 -27
- package/package.json +59 -45
- package/dist/a11y.mjs +0 -187
- package/dist/assets.mjs +0 -159
- package/dist/atomic-composition.mjs +0 -337
- package/dist/atomic-trace.mjs +0 -162
- package/dist/behavior-libraries.mjs +0 -174
- package/dist/behaviors.mjs +0 -306
- package/dist/brand-assets.mjs +0 -458
- package/dist/brands.mjs +0 -141
- package/dist/component-contrast.mjs +0 -256
- package/dist/construction-styles.cjs +0 -10
- package/dist/contracts/foundation.json +0 -211
- package/dist/contracts/tokens.json +0 -52
- package/dist/contracts.d.mts +0 -30
- package/dist/contrast-composition.mjs +0 -80
- package/dist/contrast-styles.mjs +0 -88
- package/dist/control-padding.mjs +0 -113
- package/dist/css-values.mjs +0 -27
- package/dist/declarative-flow.mjs +0 -244
- package/dist/design-values.mjs +0 -173
- package/dist/font-rules.mjs +0 -108
- package/dist/fonts-generated.mjs +0 -112
- package/dist/foundation-views.mjs +0 -242
- package/dist/foundation.mjs +0 -154
- package/dist/generated-entries.mjs +0 -198
- package/dist/html.mjs +0 -30
- package/dist/icons.mjs +0 -154
- package/dist/image-attributes.mjs +0 -187
- package/dist/image-size.mjs +0 -28
- package/dist/layers.mjs +0 -461
- package/dist/layout-widths.mjs +0 -332
- package/dist/linaria/atomic-css.cjs +0 -2
- package/dist/linaria/atomic-styled.cjs +0 -2
- package/dist/linaria/preserve-values.cjs +0 -58
- package/dist/linaria/spatial-inputs.cjs +0 -56
- package/dist/linaria.d.mts +0 -1
- package/dist/linaria.mjs +0 -9
- package/dist/lockup-composition.mjs +0 -44
- package/dist/lockup-model.cjs +0 -64
- package/dist/paint-contracts.mjs +0 -216
- package/dist/pictograms.mjs +0 -52
- package/dist/public-api.mjs +0 -121
- package/dist/public-props.mjs +0 -91
- package/dist/render-audit/axe-run.mjs +0 -17
- package/dist/render-audit/first-render.mjs +0 -40
- package/dist/render-audit/image-shape.mjs +0 -46
- package/dist/render-audit/layout-overflow.mjs +0 -167
- package/dist/render-audit/layout-shift.mjs +0 -32
- package/dist/render-audit/non-text-contrast.mjs +0 -151
- package/dist/render-audit/pictograms.mjs +0 -88
- package/dist/render-color-probe.mjs +0 -202
- package/dist/render-composition.mjs +0 -186
- package/dist/runtime-contracts.mjs +0 -506
- package/dist/scenario-program.mjs +0 -19
- package/dist/scenario-selectors.mjs +0 -237
- package/dist/scenario-slots.mjs +0 -217
- package/dist/scenario-trace.mjs +0 -314
- package/dist/scenarios-vite.d.mts +0 -2
- package/dist/scenarios-vite.mjs +0 -2
- package/dist/scenarios.mjs +0 -616
- package/dist/selector-match.mjs +0 -94
- package/dist/showcase/comparison.js +0 -48
- package/dist/showcase/connection.js +0 -10
- package/dist/showcase/draft-navigation.js +0 -59
- package/dist/showcase/foundation-view.css +0 -58
- package/dist/showcase/foundation-view.mjs +0 -255
- package/dist/showcase/guide-controls.ads.review.mjs +0 -32
- package/dist/showcase/http-connection.js +0 -86
- package/dist/showcase/http-preview.js +0 -81
- package/dist/showcase/icons.js +0 -2
- package/dist/showcase/navigation.js +0 -13
- package/dist/showcase/pictogram-view.mjs +0 -53
- package/dist/showcase/preview-frame.ads.review.css +0 -46
- package/dist/showcase/preview-frame.ads.review.d.mts +0 -11
- package/dist/showcase/preview-frame.ads.review.mjs +0 -22
- package/dist/showcase/preview-state.js +0 -11
- package/dist/showcase/refresh-scheduler.js +0 -23
- package/dist/showcase/resource-reader.js +0 -37
- package/dist/showcase-coverage.mjs +0 -139
- package/dist/source-symbols.mjs +0 -4
- package/dist/spatial-composition.mjs +0 -322
- package/dist/spatial-contexts.cjs +0 -56
- package/dist/spatial-css.cjs +0 -351
- package/dist/spatial-inputs.cjs +0 -80
- package/dist/spatial-model.cjs +0 -322
- package/dist/spatial.mjs +0 -21
- package/dist/stage-timing.cjs +0 -21
- package/dist/starters/preact/design-system/patterns/Conversation/Conversation.tsx +0 -105
- package/dist/starters/preact/design-system/review/demo-frame/DemoFrame.ads.review.tsx +0 -7
- package/dist/starters/preact/design-system/review/screen-frame/ScreenFrame.ads.review.tsx +0 -10
- package/dist/starters/preact/design-system/showcase/mcp/main.ads.mount.tsx +0 -8
- package/dist/starters/preact/ds.config.json +0 -37
- package/dist/starters/preact/package.json +0 -35
- package/dist/starters/preact/src/vite-env.d.ts +0 -7
- package/dist/starters/preact/tsconfig.json +0 -35
- package/dist/starters/preact/vite.config.ts +0 -23
- package/dist/starters/react/ADS.md +0 -286
- package/dist/starters/react/README.md +0 -184
- package/dist/starters/react/biome.css.json +0 -21
- package/dist/starters/react/design-system/assets/brand/README.md +0 -41
- package/dist/starters/react/design-system/assets/brand/app-icon.svg +0 -4
- package/dist/starters/react/design-system/assets/brand/logo.dark.svg +0 -6
- package/dist/starters/react/design-system/assets/brand/logo.svg +0 -6
- package/dist/starters/react/design-system/assets/glyphs/README.md +0 -15
- package/dist/starters/react/design-system/assets/glyphs/aliases.json +0 -1
- package/dist/starters/react/design-system/assets/glyphs/check.svg +0 -1
- package/dist/starters/react/design-system/assets/glyphs/chevron-down.svg +0 -1
- package/dist/starters/react/design-system/assets/glyphs/chevron-right.svg +0 -1
- package/dist/starters/react/design-system/assets/glyphs/external-link.svg +0 -1
- package/dist/starters/react/design-system/assets/glyphs/info.svg +0 -1
- package/dist/starters/react/design-system/assets/glyphs/menu.svg +0 -1
- package/dist/starters/react/design-system/assets/glyphs/plus.svg +0 -1
- package/dist/starters/react/design-system/assets/glyphs/warning.svg +0 -1
- package/dist/starters/react/design-system/assets/pictograms/catalog.ads.json +0 -13
- package/dist/starters/react/design-system/assets/pictograms/journey.dark.svg +0 -7
- package/dist/starters/react/design-system/assets/pictograms/journey.svg +0 -7
- package/dist/starters/react/design-system/components/Actions/Button/Button.ads.exports.ts +0 -1
- package/dist/starters/react/design-system/components/Actions/Button/Button.ads.fixture.ts +0 -1
- package/dist/starters/react/design-system/components/Actions/Button/README.md +0 -12
- package/dist/starters/react/design-system/components/Actions/IconButton/IconButton.ads.exports.ts +0 -1
- package/dist/starters/react/design-system/components/Actions/IconButton/IconButton.ads.fixture.ts +0 -9
- package/dist/starters/react/design-system/components/Actions/IconButton/IconButton.ads.scenario.tsx +0 -16
- package/dist/starters/react/design-system/components/Actions/IconButton/README.md +0 -17
- package/dist/starters/react/design-system/components/Content/Icon/Icon.ads.exports.ts +0 -1
- package/dist/starters/react/design-system/components/Content/Icon/Icon.ads.fixture.ts +0 -6
- package/dist/starters/react/design-system/components/Content/Icon/README.md +0 -17
- package/dist/starters/react/design-system/components/Content/Icon/glyphs.ts +0 -17
- package/dist/starters/react/design-system/components/Content/Image/Image.ads.exports.ts +0 -1
- package/dist/starters/react/design-system/components/Content/Image/README.md +0 -20
- package/dist/starters/react/design-system/components/Content/Logo/Logo.ads.exports.ts +0 -1
- package/dist/starters/react/design-system/components/Content/Logo/Logo.ads.fixture.ts +0 -1
- package/dist/starters/react/design-system/components/Content/Logo/Logo.ads.scenario.tsx +0 -12
- package/dist/starters/react/design-system/components/Content/Logo/Logo.tsx +0 -35
- package/dist/starters/react/design-system/components/Content/Logo/README.md +0 -12
- package/dist/starters/react/design-system/components/Content/Pictogram/Pictogram.ads.exports.ts +0 -1
- package/dist/starters/react/design-system/components/Content/Pictogram/Pictogram.ads.fixture.ts +0 -1
- package/dist/starters/react/design-system/components/Content/Pictogram/Pictogram.ads.scenario.tsx +0 -7
- package/dist/starters/react/design-system/components/Content/Pictogram/Pictogram.tsx +0 -26
- package/dist/starters/react/design-system/components/Forms/TextField/README.md +0 -14
- package/dist/starters/react/design-system/components/Forms/TextField/TextField.ads.exports.ts +0 -1
- package/dist/starters/react/design-system/components/Forms/TextField/TextField.ads.fixture.ts +0 -6
- package/dist/starters/react/design-system/composition/Search/SearchPage/README.md +0 -4
- package/dist/starters/react/design-system/composition/Search/SearchPage/SearchPage.ads.fixture.ts +0 -7
- package/dist/starters/react/design-system/composition/Search/SearchPage/SearchPage.ads.scenario.tsx +0 -16
- package/dist/starters/react/design-system/composition/Workspace/WorkspacePage/README.md +0 -5
- package/dist/starters/react/design-system/composition/Workspace/WorkspacePage/WorkspacePage.ads.fixture.ts +0 -13
- package/dist/starters/react/design-system/composition/Workspace/WorkspacePage/WorkspacePage.ads.scenario.tsx +0 -22
- package/dist/starters/react/design-system/controllers/Palette/Palette.ads.exports.ts +0 -1
- package/dist/starters/react/design-system/patterns/Conversation/Conversation.ads.exports.ts +0 -1
- package/dist/starters/react/design-system/patterns/Conversation/Conversation.ads.fixture.ts +0 -7
- package/dist/starters/react/design-system/patterns/Conversation/Conversation.ads.scenario.tsx +0 -15
- package/dist/starters/react/design-system/patterns/Conversation/Conversation.tsx +0 -105
- package/dist/starters/react/design-system/patterns/Conversation/README.md +0 -9
- package/dist/starters/react/design-system/patterns/Search/SearchBar/README.md +0 -12
- package/dist/starters/react/design-system/patterns/Search/SearchBar/SearchBar.ads.exports.ts +0 -1
- package/dist/starters/react/design-system/patterns/Search/SearchBar/SearchBar.ads.fixture.ts +0 -1
- package/dist/starters/react/design-system/patterns/Search/SearchBar/SearchBar.ads.scenario.tsx +0 -11
- package/dist/starters/react/design-system/patterns/Search/SearchBar/SearchBar.tsx +0 -41
- package/dist/starters/react/design-system/patterns/Shell/Floating.ads.fixture.ts +0 -5
- package/dist/starters/react/design-system/patterns/Shell/Floating.ads.scenario.tsx +0 -21
- package/dist/starters/react/design-system/patterns/Shell/README.md +0 -43
- package/dist/starters/react/design-system/patterns/Shell/Shell.ads.exports.ts +0 -1
- package/dist/starters/react/design-system/patterns/Shell/Shell.ads.fixture.ts +0 -5
- package/dist/starters/react/design-system/review/demo-frame/DemoFrame.ads.exports.ts +0 -1
- package/dist/starters/react/design-system/review/demo-frame/DemoFrame.ads.review.tsx +0 -7
- package/dist/starters/react/design-system/review/index.ads.review.ts +0 -4
- package/dist/starters/react/design-system/review/region-block/RegionBlock.ads.exports.ts +0 -1
- package/dist/starters/react/design-system/review/region-block/RegionBlock.ads.review.tsx +0 -6
- package/dist/starters/react/design-system/review/screen-frame/ScreenFrame.ads.exports.ts +0 -1
- package/dist/starters/react/design-system/review/screen-frame/ScreenFrame.ads.review.tsx +0 -10
- package/dist/starters/react/design-system/showcase/mcp/main.ads.mount.tsx +0 -10
- package/dist/starters/react/design-system/styles.css +0 -7
- package/dist/starters/react/design-system/tokens/base.css +0 -36
- package/dist/starters/react/design-system/tokens/catalog.ads.json +0 -1221
- package/dist/starters/react/design-system/tokens/colors.css +0 -215
- package/dist/starters/react/design-system/tokens/elevation.css +0 -53
- package/dist/starters/react/design-system/tokens/spacing.css +0 -87
- package/dist/starters/react/design-system/tokens/spatial.ads.json +0 -70
- package/dist/starters/react/design-system/tokens/themes.generated.css +0 -142
- package/dist/starters/react/design-system/tokens/themes.generated.ts +0 -402
- package/dist/starters/react/design-system/tokens/typography.css +0 -31
- package/dist/starters/react/ds.config.json +0 -37
- package/dist/starters/react/gitignore.template +0 -8
- package/dist/starters/react/package.json +0 -39
- package/dist/starters/react/scripts/build-mcp-previews.mjs +0 -3
- package/dist/starters/react/src/vite-env.d.ts +0 -7
- package/dist/starters/react/tsconfig.build.json +0 -20
- package/dist/starters/react/tsconfig.json +0 -34
- package/dist/starters/react/vite.config.ts +0 -23
- package/dist/style-boundaries.mjs +0 -106
- package/dist/style-token-rules.mjs +0 -51
- package/dist/themes-generated.mjs +0 -161
- package/dist/themes-watch.mjs +0 -83
- package/dist/themes.mjs +0 -360
- package/dist/token-export.mjs +0 -94
- package/dist/token-origins.mjs +0 -24
- package/dist/token-policy.mjs +0 -26
- package/dist/token-quality.mjs +0 -149
- package/dist/token-samples.mjs +0 -19
- package/dist/tokens.mjs +0 -194
- package/dist/unit-contracts.mjs +0 -396
- package/dist/usage.mjs +0 -184
- package/dist/verification/playwright-reporter.cjs +0 -87
- package/docs/CONTRACTS.md +0 -285
- package/docs/HTTP-SHOWCASE-POC.md +0 -397
- package/docs/SPATIAL-CHECKS.md +0 -69
- package/docs/benchmarks/http-showcase-optimized.json +0 -1879
- package/docs/benchmarks/http-showcase-profile.json +0 -308
- package/docs/benchmarks/http-showcase.json +0 -3069
- /package/dist/{starters/react/design-system/assets/fonts/.gitkeep → analysis/semantic.mjs} +0 -0
- /package/dist/{starters/react/design-system/controllers/.gitkeep → lowering-model.mjs} +0 -0
- /package/dist/showcase/{favicon.svg → ui/favicon-scavmehf.svg} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: ads-designer
|
|
3
|
-
description: Start a local React or Preact design system with `ads init --
|
|
3
|
+
description: Start a local React or Preact design system with `ads init folder --framework react|preact`, or build UI using a project's existing design system. Covers role tokens, profiles, owner recipes, assets, local ownership, public APIs, layout, motion, stress-testing with worst-case content, external source integration, emission and validation.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
## Choose the editing workflow
|
|
@@ -9,11 +9,11 @@ Read [direct editing and MCP-only editing](references/workflows.md) and use the
|
|
|
9
9
|
route matching the user's instructions and your actual source access:
|
|
10
10
|
|
|
11
11
|
- **Direct code access:** edit owned files with the normal editor; use MCP for
|
|
12
|
-
discovery,
|
|
13
|
-
|
|
14
|
-
- **MCP-only access:** use source/draft mutation tools
|
|
15
|
-
|
|
16
|
-
|
|
12
|
+
discovery, checks and emission. Ordinary source edits do not require a
|
|
13
|
+
tracked draft or `ads_accept`, even when MCP mutations are enabled.
|
|
14
|
+
- **MCP-only access:** use source/draft mutation tools and exact-revision
|
|
15
|
+
acceptance. Follow [tracked drafts](references/drafts.md). Without mutation
|
|
16
|
+
tools or another source channel, editing is unavailable.
|
|
17
17
|
|
|
18
18
|
Direct editors can also choose tracked drafts for isolation and comparison.
|
|
19
19
|
When using drafts, do not report coherent design work complete before reviewing
|
|
@@ -21,217 +21,204 @@ and accepting its required proposals. If blocked, report the exact unfinished
|
|
|
21
21
|
draft/blocker; retain a proposal intentionally only when the user requests it.
|
|
22
22
|
Auto mode means agent review, without an extra human approval step.
|
|
23
23
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
For Node/Bun setup, MCP launch, compiler workers and project resource budgets,
|
|
31
|
-
read [runtimes.md](references/runtimes.md). Keep runtime choices, worker counts
|
|
32
|
-
and memory limits in project configuration; verify real workloads under them.
|
|
24
|
+
For validation scope, gates and CLI/MCP parity, read
|
|
25
|
+
[validation.md](references/validation.md). For Node/Bun setup, MCP launch,
|
|
26
|
+
compiler workers and project resource budgets, read
|
|
27
|
+
[runtimes.md](references/runtimes.md). Keep runtime choices, worker counts and
|
|
28
|
+
memory limits in project configuration; verify real workloads under them.
|
|
33
29
|
|
|
34
30
|
Inspect the target before editing. Read its `README.md`, `docs/ARCHITECTURE.md`
|
|
35
|
-
and `docs/ADS.md` when present (or existing project guides), public
|
|
36
|
-
|
|
37
|
-
framework and
|
|
38
|
-
project, which
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
31
|
+
and `docs/ADS.md` when present (or existing project guides), the public barrel
|
|
32
|
+
`<dsDir>/index.ts`, `foundation.ads.ts` and the owners involved. Preserve its
|
|
33
|
+
framework and declarations. Starting from zero uses `ads init --framework react`
|
|
34
|
+
(or `preact`) in the project, which installs the starter shipped in the ADS package; no example
|
|
35
|
+
repository is needed.
|
|
36
|
+
|
|
37
|
+
ADS is tooling only. The target project owns its design-system source and token
|
|
38
|
+
values. Applications import the compiled output `ads emit` writes (the emitted
|
|
39
|
+
`index.ts` in `compile.outDir`); inside the design system, mocks and
|
|
40
|
+
owners import public owners through `@ds`, the authored barrel. Components,
|
|
41
|
+
patterns and token values come from external sources only through explicit ADS
|
|
42
|
+
import/adaptation workflows. Do not treat the tool repository as a built-in UI
|
|
43
|
+
catalogue. Tool upgrades preserve project values and customized implementations.
|
|
44
|
+
|
|
45
|
+
## How a design system is authored
|
|
46
|
+
|
|
47
|
+
**Tokens define values → profiles bind them to design responsibilities → owner
|
|
48
|
+
recipes consume profiles and declare construction → TypeScript handles markup
|
|
49
|
+
and behavior.** Every declaration is a typed Bun macro imported with
|
|
50
|
+
`with { type: "macro" }` from the installed `@reqvire-org/ads` package; nothing
|
|
51
|
+
ships at runtime.
|
|
52
|
+
|
|
53
|
+
| Source | Responsibility |
|
|
54
|
+
| --- | --- |
|
|
55
|
+
| `tokens/<group>/<role>.ads.css` | Values. The filename names the token role; themes and brands override values in the same file |
|
|
56
|
+
| `profiles/**/*.ads.ts` | Globally named `profile()` declarations of one kind (`text`, `frame`, `surface`, `visual`, `spacing`, `motion`, `focus`, `spatial`, `layer`, `composite`) |
|
|
57
|
+
| `assets/<group>/*.ads.ts` beside their SVGs | `asset()` declarations: identity, license, paint policy, drawings and optical geometry |
|
|
58
|
+
| `foundation.ads.ts` | One `foundation()` declaration: document text and surface profiles, reset, the ordered themes and the optional brands |
|
|
59
|
+
| `components/`, `patterns/` | Owners: TSX whose elements are styled only through their local `recipe()` / `combineRecipes()` |
|
|
60
|
+
| `controllers/` | Plain behavior modules the barrel exports: no recipe and no markup |
|
|
61
|
+
| `mocks/` | Preview adapters: mock data, state and callbacks passed to public patterns |
|
|
62
|
+
| `index.ts` | The authored public barrel; it names each public owner (`export *` is rejected) |
|
|
63
|
+
|
|
64
|
+
**Group by folder.** A subfolder is a group, and the showcase's left menu shows
|
|
65
|
+
it: people find a token, a profile or a component by its group, so a flat
|
|
66
|
+
folder gives them one long list. Group from the start, by what a designer
|
|
67
|
+
would call the area, not by technical kind.
|
|
68
|
+
|
|
69
|
+
| Source | Folder | In the showcase |
|
|
70
|
+
| --- | --- | --- |
|
|
71
|
+
| Tokens | `tokens/<Group>/<role>.ads.css` | Tokens: the group, then one entry per role sheet |
|
|
72
|
+
| Profiles | `profiles/<Group>/*.ads.ts` | Profiles: one entry per group |
|
|
73
|
+
| Artwork | `assets/<group>/` | Icons: one entry per group, then the glyph sets |
|
|
74
|
+
| Components, patterns, mocks | `components/<Group>/<Owner>/` (a folder that holds only owner folders) | The group, then the owner's scenarios |
|
|
75
|
+
|
|
76
|
+
- Use the same group names across tokens, profiles and owners where the area
|
|
77
|
+
is the same (`Controls`, `Surfaces`, `Typography`), so one area reads as one
|
|
78
|
+
thing in every section.
|
|
79
|
+
- A group is a place to look, not a namespace: names stay globally unique, and
|
|
80
|
+
moving a file between groups changes no behaviour.
|
|
81
|
+
- Aim for groups of about 3 to 12 entries. Split a group that grows past that;
|
|
82
|
+
merge groups of one.
|
|
83
|
+
- Do not group by state, size or theme (`hover`, `small`, `dark`): those are
|
|
84
|
+
choices and contexts of one decision, not areas.
|
|
85
|
+
| `palette.generated.ts` | Optional generated renderer palette; `ads sync` regenerates it |
|
|
86
|
+
|
|
87
|
+
Owners never author measurements, paints, local custom properties or direct
|
|
88
|
+
token reads; a new shared value belongs in a role token sheet and a profile,
|
|
89
|
+
even with one user. Read [design-data.md](references/design-data.md)
|
|
90
|
+
(`ads://guides/tokens`) before adding or changing tokens, themes or brands, and
|
|
91
|
+
[atomic-styles.md](references/atomic-styles.md) (`ads://guides/atomic-styles`)
|
|
92
|
+
for how recipe selections combine and compile. Read [recipes.md](references/recipes.md)
|
|
93
|
+
(`ads://guides/recipes`) before writing or changing a recipe: profiles and slots,
|
|
94
|
+
parts, choices, `when` states, layouts, layers, measured values, text layout,
|
|
95
|
+
assets, and what the compiler rejects and why. Read [forms.md](references/forms.md)
|
|
96
|
+
(`ads://guides/forms`) before building or changing a field or form: validation
|
|
97
|
+
timing, error announcement and linking, autofill, the form-field bridge and its
|
|
98
|
+
root states, and the form checks.
|
|
99
|
+
|
|
100
|
+
**A refusal is not something to route around.** ADS closes the forms its
|
|
101
|
+
checks have to understand (recipe and profile fields, `when` selectors, token
|
|
102
|
+
roles, breakpoint units, colour forms) and reports what it cannot evaluate as
|
|
103
|
+
review items. When a check refuses a form, tell the user what is refused, and
|
|
104
|
+
use the supported form the error names. If the design needs the refused one, it
|
|
105
|
+
needs an ADS release that adds it: say so and report the need. Never get past a
|
|
106
|
+
refusal with raw CSS, a renamed token, a wrapper element, an alias or
|
|
107
|
+
application code.
|
|
108
|
+
|
|
109
|
+
`ads check` runs one captured revision: project structure, the design-system
|
|
110
|
+
import closure, owner analysis of everything the barrel reaches (type-check,
|
|
111
|
+
analysis, lowering, compilation and token CSS, each failure an `owner-analysis`
|
|
112
|
+
finding with a fine-grained `code`, group, repair and position), mock
|
|
113
|
+
ownership, declared themes and brands, the generated palette and the integrity
|
|
114
|
+
of the emitted output folder. What analysis cannot prove is a nonblocking
|
|
115
|
+
`owner-analysis-review` item. Read [contracts.md](references/contracts.md)
|
|
116
|
+
(`ads://guides/contracts`) for the source rules owner analysis enforces.
|
|
70
117
|
|
|
71
118
|
## MCP access when available
|
|
72
119
|
|
|
73
|
-
Use `ads_status`
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
120
|
+
Use `ads_status` for the project root, commands, compiler, build and mutation
|
|
121
|
+
state. Find public UI and behavioral APIs with `ads_catalog` (kind, props, scenarios
|
|
122
|
+
and, for owners, the profiles and choices they select) and tokens with `ads_tokens`
|
|
123
|
+
(values per theme, brand and condition, the profiles and owners using each); read
|
|
124
|
+
their owners with `ads_units` and `ads_read_file`. Find scenarios
|
|
125
|
+
with `ads_scenarios` and preview them with `ads_show_scenario`; in a project without
|
|
126
|
+
scenarios, previews, captures and the render audit report `no-scenarios`. Behavior
|
|
127
|
+
tools report `no-behavior-checks`; treat these as "nothing ran", never as a pass. Use the returned `projectRoot` and
|
|
128
|
+
`project.commands`; the connected ADS may be inside a different or nested
|
|
129
|
+
repository. Metadata and source reads do not prove rendered behavior.
|
|
82
130
|
|
|
83
131
|
For MCP-only guarded editing with `ads_status.mutations.enabled`, every source change
|
|
84
132
|
goes through a draft: discover the owner with `ads_units`, create its draft with
|
|
85
133
|
`ads_create_draft`, read relevant ranges with `ads_read_file`, edit the draft's files
|
|
86
134
|
or send a Git unified diff with `ads_update_draft({id, revision, patch})`, review it
|
|
87
135
|
with `ads_show_draft`, then `ads_accept` its exact revision (`dryRun: true` checks
|
|
88
|
-
without writing). A unit includes its own implementation
|
|
89
|
-
imported peers remain separate. `tokens`
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
`
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
apply to the MCP editing route; direct editors use the workflow above and run
|
|
108
|
-
the same required gates/checks.
|
|
109
|
-
For owner drafts, token-sample reconciliation, multi-owner drafts and local
|
|
110
|
-
shared Data ownership, read [guarded-editing.md](references/guarded-editing.md).
|
|
111
|
-
For on-demand current/candidate screenshots and visual dry-run review, read
|
|
136
|
+
without writing). A unit includes its own implementation and development files;
|
|
137
|
+
imported peers remain separate. `tokens` owns the token sheets; `foundation` owns
|
|
138
|
+
the public barrel and `foundation.ads.ts`. An owner is in at most one open draft;
|
|
139
|
+
coupled owners share one draft, and a draft can depend on another owner's open
|
|
140
|
+
draft. Acceptance runs `ads check`, `acceptance.scripts`, and the draft owners' own
|
|
141
|
+
behavior tests and render audit (`acceptance.behavior`/`acceptance.audit`); a stage
|
|
142
|
+
with nothing to run is listed as skipped with its not-available reason and is never
|
|
143
|
+
reported as passed. Accepting regenerates stale generated source in the candidate
|
|
144
|
+
and emits the published revision unless `compile.emitOnAccept` is `false`.
|
|
145
|
+
`ads_validate` checks everything a change reaches. Fix a failed acceptance in the
|
|
146
|
+
draft; never bypass a rejection with direct source writes. Root guides use
|
|
147
|
+
`documentation`, artwork uses its discovered `assets/<group>` unit, and
|
|
148
|
+
intentional configuration, registered guard code and compiler changes use
|
|
149
|
+
`configuration`. For binary/large assets, generate `git diff --binary --full-index`
|
|
150
|
+
into `.ds/patches/<name>.patch` and send `patchFile` instead of inline `patch`, so
|
|
151
|
+
bytes stay out of model context. Binary changes require Git. Direct editors run the
|
|
152
|
+
same gates themselves.
|
|
153
|
+
For owner drafts and multi-owner drafts, read
|
|
154
|
+
[guarded-editing.md](references/guarded-editing.md). For captures, read
|
|
112
155
|
[captures.md](references/captures.md).
|
|
113
|
-
For spacing or grid diagnosis, use `ads_capture` with selected `guides` layers
|
|
114
|
-
(`bounds`, `tracks`, `gaps`, `padding`, `margins`, `mini`) and read the returned
|
|
115
|
-
PNG resource. Capture with `guides:[]` for final appearance review. Read each
|
|
116
|
-
image before replacing that target's slot; guides do not establish passing
|
|
117
|
-
layout or behavior checks. Discover supported scenarios rather than inventing IDs.
|
|
118
156
|
For a rejected patch, failed check or loading error, read
|
|
119
157
|
[evidence and diagnosis](references/evidence.md); inspect the failing boundary
|
|
120
158
|
then page needed `ads_results` sections using the returned result ID. Inspect
|
|
121
159
|
one `ads_investigate({unit,check,runId})` summary before changing APIs or policy;
|
|
122
160
|
load request/error/artifact details only when relevant.
|
|
123
161
|
|
|
124
|
-
The showcase owns generic preview UX. Project-specific demonstrations use `.ads.scenario.*`, `.ads.fixture.*`, and small `.ads.review.*` helpers. Shared helpers may be organized in `review/` and exported through `@ds/review`, never the production barrel. Product patterns are application UI. For ownership, migration, token
|
|
125
|
-
renderers, build aliases or `review-import` / `review-contract` diagnostics, read
|
|
126
|
-
[development review UI](references/review.md), also served as `ads://guides/review`.
|
|
127
|
-
|
|
128
162
|
A component provides one cohesive UI capability; a pattern arranges capabilities
|
|
129
|
-
into reusable structures or workflows.
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
[layer responsibilities and contracts](references/layers.md), also served as
|
|
134
|
-
`ads://guides/layers`. Preserve public APIs and documented non-state styling hooks.
|
|
135
|
-
|
|
136
|
-
For folder-group navigation, parent/child `covers`, conditional-control review, reference comparisons,
|
|
137
|
-
public style-helper use, native slot/selector composition, fragment navigation,
|
|
138
|
-
or `scenario-render` / `showcase-control` / `showcase-class` findings, read [scenario contracts](references/scenarios.md). Its verification
|
|
139
|
-
examples explain API visibility, reference baselines and state-transition checks.
|
|
140
|
-
Traced parents can cover declared public children; verified public Linaria
|
|
141
|
-
helpers do not grant custom scenario CSS.
|
|
142
|
-
|
|
143
|
-
For atomic base/variant styling, helper/wrapper class composition, extracted
|
|
144
|
-
custom-property arithmetic, typed `@property` registrations, or an
|
|
145
|
-
`atomic-composition-review` / `atomic-composition-limit` finding, read
|
|
146
|
-
[atomic style composition](references/atomic-styles.md). The same guide is served
|
|
147
|
-
as `ads://guides/atomic-styles`. It explains shorthand/logical conflicts and
|
|
148
|
-
matching-property fixes, plus the build resolver for preserving opaque custom
|
|
149
|
-
properties through extraction. Check review items in the real `cx` composition and verify
|
|
150
|
-
computed styles across affected sizes/states; retain intentional product behavior.
|
|
151
|
-
|
|
152
|
-
For positioning, menu/listbox keyboard handling, focus trapping and virtual lists,
|
|
153
|
-
prefer an installed library already listed in `ds.config.json` behaviorLibraries.
|
|
154
|
-
Use it directly in its consuming component, pattern or controller, with project-owned
|
|
155
|
-
styling and existing measured-geometry boundaries. If none fits, suggest a suitable
|
|
156
|
-
framework-free package for approval or implement natively. Add dependencies and
|
|
157
|
-
allowlist entries only with authorization; existing approval need not be repeated.
|
|
163
|
+
into reusable structures or workflows. Do not classify by component count. For
|
|
164
|
+
owner selection, the import closure, public dependencies and mock rules,
|
|
165
|
+
read [layer responsibilities](references/layers.md) (`ads://guides/layers`).
|
|
166
|
+
Preserve public APIs.
|
|
158
167
|
|
|
159
168
|
Controllers are UI behavior owners: private helpers stay with their component or
|
|
160
|
-
pattern; reusable controllers
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
with `ads_behaviors`; the gates run them, and `ads verify` runs one unit's checks from the CLI. Optional
|
|
167
|
-
`exercises` links public behavioral APIs to scenarios; keep `covers` for rendered
|
|
168
|
-
UI. Registration and demonstration are not passing evidence. `<Owner>.ads.contract.ts`,
|
|
169
|
-
scenarios, fixtures and checks stay out of production exports/imports. Verify
|
|
170
|
-
current results, including lifecycle setup/cleanup/setup and the actual browser
|
|
171
|
-
profile when promised. React StrictMode needs a development harness; wrapping a
|
|
172
|
-
production widget cannot replay development effects. Keep dynamic behavior and
|
|
173
|
-
capabilities intact rather than rewriting them only for static coverage.
|
|
174
|
-
|
|
169
|
+
pattern; reusable controllers live in `controllers/<Name>`. Use the project's
|
|
170
|
+
configured framework and declared dependencies, or plain TypeScript, browser
|
|
171
|
+
APIs and local helpers. MCP hosts supply no ad hoc runtime APIs. For
|
|
172
|
+
controller/behavior work, read [behaviors.md](references/behaviors.md)
|
|
173
|
+
(`ads://guides/behaviors`). Keep dynamic behavior and capabilities intact rather
|
|
174
|
+
than rewriting them only for static coverage.
|
|
175
175
|
|
|
176
176
|
Never launch another preview builder: `ads mcp` runs ADS's compiler, reported in
|
|
177
|
-
`ads_status.compiler`.
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
activation; ordinary resource reads do not establish it. Never rebuild a project
|
|
185
|
-
from skill text: the starter comes from `ads init --include-starter`.
|
|
177
|
+
`ads_status.compiler`. Check `ads_status.build` or `ads://project/build` explicitly:
|
|
178
|
+
a running process, older artifact or unreported freshness does not establish
|
|
179
|
+
current source. Fix reported diagnostics in the owning source; notifications may
|
|
180
|
+
not reach the agent. When this skill is served over MCP, resolve relative
|
|
181
|
+
references/assets from its `SKILL.md` URI and fetch supporting files lazily. The
|
|
182
|
+
host controls native skill activation; ordinary resource reads do not establish it.
|
|
183
|
+
Never rebuild a project from skill text: the starter comes from `ads init`.
|
|
186
184
|
|
|
187
185
|
## Start from zero
|
|
188
186
|
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
187
|
+
The design system is its own package. `ads init <folder>` creates it (its package
|
|
188
|
+
manager follows the repository it sits in, else Bun) and installs the starter that
|
|
189
|
+
ships in the same ADS package version, so the design system always matches the tool
|
|
190
|
+
that checks it. For one application, put it in the application's `design/` folder
|
|
191
|
+
and emit into its source; for several applications, give it its own repository
|
|
192
|
+
(they install its committed `dist/` by git reference, tarball or registry):
|
|
194
193
|
|
|
195
194
|
```sh
|
|
196
|
-
npx @reqvire-org/ads@<version> init --framework react --
|
|
197
|
-
#
|
|
195
|
+
npx @reqvire-org/ads@<version> init design --framework react --out ../src/ui
|
|
196
|
+
# several applications: npx @reqvire-org/ads@<version> init acme-design --framework react
|
|
197
|
+
cd design # or acme-design
|
|
198
198
|
npm install # bun install
|
|
199
|
-
npm run
|
|
199
|
+
npm run lint:ds # ads check
|
|
200
|
+
npm run emit:ds # ads emit
|
|
200
201
|
```
|
|
201
202
|
|
|
202
203
|
Use the latest published version unless the user names one; read
|
|
203
|
-
[references/cli.md](references/cli.md) for a local tarball (`--tool-package`)
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
Initialize/install ADS before running `npm run dev:showcase` for visual inspection.
|
|
222
|
-
`dev:showcase` and the project's ADS MCP (`.mcp.json`) each serve a showcase:
|
|
223
|
-
give them different ports, or open the MCP's showcase instead of starting one.
|
|
224
|
-
Use an existing MCP runtime URL when connected; do not leave an unrequested
|
|
225
|
-
server running.
|
|
226
|
-
|
|
227
|
-
For an existing app without an ADS, run init inside that app when the tool is
|
|
228
|
-
available, then integrate its local public alias, CSS entry, and Linaria
|
|
229
|
-
extraction with the existing framework. Init detects the package manager from
|
|
230
|
-
the app and preserves its scripts and lockfile. Init adds only the foundation
|
|
231
|
-
(token sheets, `catalog.ads.json`, `spatial.ads.json`, the scenario mount and the generated
|
|
232
|
-
entries); copy no other starter files.
|
|
233
|
-
Inspect files before editing; preserve configuration and application entry
|
|
234
|
-
points. Never copy the standalone package/configuration over an existing app.
|
|
204
|
+
[references/cli.md](references/cli.md) for a local tarball (`--tool-package`) and
|
|
205
|
+
what init writes. Use `--framework preact` for a Preact project: it installs the
|
|
206
|
+
native Preact starter (Preact's own JSX runtime and `preact/hooks`, no `preact/compat`).
|
|
207
|
+
Never copy starter files by hand.
|
|
208
|
+
|
|
209
|
+
The starter is one coherent design system: role token sheets, profiles for every
|
|
210
|
+
kind, a foundation declaring its themes and brands, declared artwork, components,
|
|
211
|
+
patterns, a renderer-palette controller and preview mocks. Treat them as the
|
|
212
|
+
project's own: adapt or replace them for the requested product.
|
|
213
|
+
|
|
214
|
+
For an existing app without a design system, run `ads init design --out ../src/ui`
|
|
215
|
+
in that app: the design package gets its own folder, `package.json` and install, and
|
|
216
|
+
the application's own files, scripts and lockfile stay untouched (the application
|
|
217
|
+
never installs ADS). Init never edits `.gitignore` or writes a lockfile, and stops
|
|
218
|
+
before writing anything when the design-system folder already has content and the
|
|
219
|
+
package has no `ds.config.json`. The application imports the emitted source and
|
|
220
|
+
declares the packages `ads-dependencies.json` lists; ADS does not rewrite
|
|
221
|
+
application configuration.
|
|
235
222
|
|
|
236
223
|
## External references and content
|
|
237
224
|
|
|
@@ -241,146 +228,83 @@ continue independent local discovery first. Do not invent a repository URL or
|
|
|
241
228
|
use the tooling checkout's origin as an example library. Bootstrap needs no
|
|
242
229
|
external source.
|
|
243
230
|
|
|
244
|
-
Inspect the external repository's instructions, architecture, actual
|
|
245
|
-
public
|
|
246
|
-
Do not assume it has a particular component, hook, font
|
|
247
|
-
|
|
231
|
+
Inspect the external repository's instructions, architecture, actual design-system
|
|
232
|
+
folder, public barrel, item guides, token sheets, profiles, build and license.
|
|
233
|
+
Do not assume it has a particular component, hook, font or token. Record the
|
|
234
|
+
source revision and required dependencies.
|
|
248
235
|
|
|
249
236
|
Use the ADS import workflow to bring selected existing ADS items into the target,
|
|
250
|
-
or
|
|
237
|
+
or porting to create a native component from an upstream library. Follow
|
|
251
238
|
those workflows directly if the corresponding skills are unavailable: copy
|
|
252
239
|
selected source and its dependency closure, or study/reproduce the upstream
|
|
253
|
-
|
|
254
|
-
notices
|
|
255
|
-
Mocks and example screens remain
|
|
240
|
+
behavior; integrate local ownership, the barrel, profiles, tokens, assets, credits,
|
|
241
|
+
applicable notices and checks. Do not copy the whole catalogue or source
|
|
242
|
+
configuration. Mocks and example screens remain mocks unless explicitly
|
|
243
|
+
requested.
|
|
256
244
|
|
|
257
245
|
Preserve the target's performance strategy when changing ownership: lazy imports,
|
|
258
246
|
worker execution, caches, memoization, cancellation, and stale-result rejection.
|
|
259
247
|
Public exports must not eagerly load heavy renderers for unrelated consumers.
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
architectural reuse does not require moving application services into the ADS.
|
|
248
|
+
Shared screen patterns can accept injected services; architectural reuse does not
|
|
249
|
+
require moving application services into the design system.
|
|
263
250
|
|
|
264
251
|
## Token and component ownership
|
|
265
252
|
|
|
266
|
-
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
- Scaffold defaults are 16 px body text, the 2 px spacing rhythm, slate surfaces
|
|
276
|
-
and text, a rose accent, restrained elevation, and system fonts. Treat these as
|
|
277
|
-
initial project values; honor requested branding and preserve existing themes.
|
|
278
|
-
- Reuse existing public components, patterns, and shared icons when compatible.
|
|
279
|
-
Add missing primitives in their owning layer; inspect exports rather than
|
|
253
|
+
- Global token names are unique and their role comes from the sheet's filename;
|
|
254
|
+
folders organize files and infer no semantics. Reuse existing roles and
|
|
255
|
+
profiles before adding new ones.
|
|
256
|
+
- Shared token names, meanings, roles and relationships form the contract;
|
|
257
|
+
project values and per-theme/brand values can differ. Item imports retain
|
|
258
|
+
existing values and add missing definitions. Explicit token-value imports adopt
|
|
259
|
+
source values and their theme and brand overrides.
|
|
260
|
+
- Reuse existing public components, patterns and declared assets when compatible.
|
|
261
|
+
Add missing primitives in their owning layer; read the barrel rather than
|
|
280
262
|
assuming they exist.
|
|
281
|
-
- Components own hover, selected, active, focus, disabled, loading
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
`
|
|
299
|
-
(`
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
through the application's own bundler without public asset collisions. Keep
|
|
308
|
-
manifest metadata and other platform exports project-owned. Verify the actual
|
|
309
|
-
consumer paths, dimensions, and transparent/background variants. With no icon
|
|
310
|
-
source, generation is a no-op. Component imports retain destination branding;
|
|
311
|
-
artwork replacement and token-value adoption are explicit selections.
|
|
312
|
-
|
|
313
|
-
Committed native and export icons are `assets.targets` (SVG copy, PNG, ICO, ICNS),
|
|
314
|
-
and UI icon sets are `assets.glyphs`; `ads assets` keeps them and the committed
|
|
315
|
-
`assets/generated.json` current, and `ads check` fails when they are stale. Describe
|
|
316
|
-
and license each artwork in `assets/brand/README.md`, pair dark-theme variants as
|
|
317
|
-
`<name>.dark.svg`, and show them through a component where the product uses them. ADS renders
|
|
318
|
-
the artwork in `assets/brand/` in the Brand section itself; do not author brand preview scenarios. Finished PNG/JPEG/WebP images and
|
|
319
|
-
delivered `.ico`/`.icns` files are artwork too; supply enough source resolution for
|
|
320
|
-
their production size. Enlarged inspection samples do not add image detail.
|
|
321
|
-
Other products' logos are not brand artwork or glyphs: keep them, in their own
|
|
322
|
-
colors and under their owners' trademark and usage terms, in `assets/logos/` and
|
|
323
|
-
show them as images, never muted, tinted or recolored; ADS generates
|
|
324
|
-
and checks nothing there.
|
|
325
|
-
Read [branding.md](references/branding.md) (`ads://guides/branding`) before changing
|
|
326
|
-
brand artwork, icon outputs or glyphs. Its alignment guidance distinguishes UI
|
|
327
|
-
icons beside text from a brand mark paired with a name: use the project's size
|
|
328
|
-
roles and optical centering, and do not assume equal boxes or cap-height matching
|
|
329
|
-
prove visual alignment. Use its opt-in `@ads-lockup` construction to guard an owned
|
|
330
|
-
artwork/text pairing: declare the size token and direct artwork/text hooks, keep
|
|
331
|
-
text runs in spans, and fix `lockup-construction` errors at that declaration.
|
|
332
|
-
|
|
333
|
-
## Pictograms
|
|
334
|
-
|
|
335
|
-
Keep illustrative pictograms separate from brand identity and small UI icons.
|
|
336
|
-
Read [pictograms.md](references/pictograms.md) (`ads://guides/pictograms`) before
|
|
337
|
-
adding them. It covers `assets/pictograms/catalog.ads.json`, fixed-color/gradient
|
|
338
|
-
artwork, theme variants, the dedicated gallery and source/render guards. Preserve
|
|
339
|
-
artistic freedom; do not apply glyph recoloring or brand-lockup sizing to them.
|
|
263
|
+
- Components own hover, selected, active, focus, disabled, loading and motion,
|
|
264
|
+
as recipe state treatments (`when`) selecting shared profiles. Change them
|
|
265
|
+
through finite typed props. Consumers style a child only through its public
|
|
266
|
+
props, never by classing its interior.
|
|
267
|
+
- Owned elements are styled only through their recipe: no inline `style`, `css`
|
|
268
|
+
attributes, spreads onto owned elements, imperative style writes or class names
|
|
269
|
+
built from anything but recipe outputs.
|
|
270
|
+
- Keep product data, routing, effects and callbacks in application code.
|
|
271
|
+
Application text is data: design may depend on whether text is present, never
|
|
272
|
+
on what it says.
|
|
273
|
+
- Document detailed API, behavior, motion, validation and source credits beside
|
|
274
|
+
each component or pattern. Shared project architecture belongs in its guide.
|
|
275
|
+
|
|
276
|
+
## Branding and artwork
|
|
277
|
+
|
|
278
|
+
Discover existing tokens, profiles and asset declarations before changing identity.
|
|
279
|
+
Brand values live in the role token sheets, with non-default brands under
|
|
280
|
+
`:root[data-brand="<name>"]` and brands declared in `foundation.ads.ts`. Artwork is
|
|
281
|
+
declared with `asset()` beside its SVGs under `assets/<group>/`, with its
|
|
282
|
+
description, license and paint policy (`foreground`, `slots` or `intrinsic`);
|
|
283
|
+
owners bind it through a visual part. Read [branding.md](references/branding.md)
|
|
284
|
+
(`ads://guides/branding`) before changing brand values or artwork, and
|
|
285
|
+
[pictograms.md](references/pictograms.md) (`ads://guides/pictograms`) for
|
|
286
|
+
illustrative, multicolor and themed artwork. Other products' logos are intrinsic
|
|
287
|
+
assets in a group of their own (`assets/logos/`), shown unaltered in their own
|
|
288
|
+
colors under their owners' terms; the starter's `PartnerLogo` is the example.
|
|
340
289
|
|
|
341
290
|
## Layout
|
|
342
291
|
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
[design-data.md](references/design-data.md) (`ads://guides/tokens`).
|
|
360
|
-
|
|
361
|
-
## Web performance
|
|
362
|
-
|
|
363
|
-
Use the project's image component; give `priority` to the view's main visible image only, since
|
|
364
|
-
lazy loading above the fold hurts. Call `preloadFonts()` from the public entry (the barrel re-exports it once `ads assets` has
|
|
365
|
-
written it) in the app entry, or put its `fontPreloadTags()` in the page from a build step for an
|
|
366
|
-
earlier preload. `ads check` fails unsized or unchosen `<img>` (`img-attributes`), oversized assets
|
|
367
|
-
(`asset-image-budget`, `asset-font-budget`) and a weight no face covers (`font-weight-missing`);
|
|
368
|
-
`ads audit` fails layout shift above 0.1 (`layout-shift`) and an image at another shape than it
|
|
369
|
-
declares (`img-shape`). ADS does not cover page metadata, `noindex`, sitemaps or hosting: run Lighthouse
|
|
370
|
-
on a production build with real URLs. Read [performance.md](references/performance.md)
|
|
371
|
-
(`ads://guides/performance`).
|
|
372
|
-
|
|
373
|
-
## Accessibility
|
|
374
|
-
|
|
375
|
-
Target WCAG 2.2 AA. `ads check` fails on contrast in every theme and brand, target size,
|
|
376
|
-
focus, text resize, reduced motion, text spacing, image alternatives and icon-only controls
|
|
377
|
-
(`a11y-*`, `token-contrast` and `component-contrast`), and lists keyboard reach for review
|
|
378
|
-
(`a11y-keyboard`); `ads audit` adds axe-core and non-text contrast in the browser. Read [accessibility.md](references/accessibility.md)
|
|
379
|
-
(`ads://guides/accessibility`) for the rules and the practice no tool can check. When a
|
|
380
|
-
required color (a brand or reference color) cannot reach contrast with its text, follow its
|
|
381
|
-
"When a required color cannot reach contrast" options: other text color, WCAG's 3:1
|
|
382
|
-
large-text minimum (size declared in the block that pairs the colors), or the nearest passing
|
|
383
|
-
color, presented with ratios when the color is a stakeholder's decision.
|
|
292
|
+
Grids and regions are recipe constructions: a `layout` mode (`fluid`, `fixed`,
|
|
293
|
+
`hybrid`, `flow`, `inherited`, `stack`, `inline`, `layered`), a spatial profile
|
|
294
|
+
supplying tracks, breakpoints, gutters and conditions, and per-cell placement with
|
|
295
|
+
`at` tiers. Public rows a child exposes align through `alignRows`. Read
|
|
296
|
+
[layout.md](references/layout.md) (`ads://guides/layout`) for worked examples and
|
|
297
|
+
the fixes for spatial errors.
|
|
298
|
+
|
|
299
|
+
## Web performance and accessibility
|
|
300
|
+
|
|
301
|
+
Read [performance.md](references/performance.md) (`ads://guides/performance`) for
|
|
302
|
+
images, fonts and layout stability, and
|
|
303
|
+
[accessibility.md](references/accessibility.md) (`ads://guides/accessibility`) for
|
|
304
|
+
what owner analysis proves (placeholder contrast, named dialogs, summaries,
|
|
305
|
+
reachable scrollers), what the browser audit measures and the practice no tool can
|
|
306
|
+
check. Target WCAG 2.2 AA. Run Lighthouse on a production build for page metadata,
|
|
307
|
+
hosting and real-network loading.
|
|
384
308
|
|
|
385
309
|
## Design craft and mobile behavior
|
|
386
310
|
|
|
@@ -394,215 +318,55 @@ than imposing mobile application setup on every component task.
|
|
|
394
318
|
## Motion
|
|
395
319
|
|
|
396
320
|
To implement, review or audit animation, read [references/motion.md](references/motion.md):
|
|
397
|
-
when motion is worth adding, driver choice, timing and easing through
|
|
398
|
-
recipes for common controls, a review checklist and interruption coverage.
|
|
399
|
-
rendering cost, read
|
|
400
|
-
|
|
321
|
+
when motion is worth adding, driver choice, timing and easing through motion
|
|
322
|
+
profiles, recipes for common controls, a review checklist and interruption coverage.
|
|
323
|
+
For jank or rendering cost, read
|
|
324
|
+
[references/motion-performance.md](references/motion-performance.md). Motion
|
|
325
|
+
profiles declare their reduced-motion policy; owners do not repeat it.
|
|
326
|
+
|
|
327
|
+
Implement motion inside the owner using existing profiles. Use the project's
|
|
328
|
+
existing driver, preserve documented exceptions, and verify interruption and
|
|
329
|
+
cleanup.
|
|
401
330
|
|
|
402
331
|
## Stress-testing
|
|
403
332
|
|
|
404
333
|
To find what real content and states break a component or pattern, read
|
|
405
334
|
[references/stress-test.md](references/stress-test.md) and pick values from
|
|
406
335
|
[references/stress-catalog.md](references/stress-catalog.md). The default is a report;
|
|
407
|
-
fix only when asked (`+fix`).
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
Shared runtime, foundation CSS, fonts and
|
|
442
|
-
selected scenario modules load through MCP
|
|
443
|
-
resources inside the sandboxed App. Never inject project styles/runtime into
|
|
444
|
-
the outer host. Keep the declared framework and its native mount/unmount adapter
|
|
445
|
-
consistent; scenario teardown must release owned timers, portals and workers.
|
|
446
|
-
The host shows errors and marks retained output as stale. Other hosts may need an
|
|
447
|
-
explicit preview-tool invocation. ADS compiles the project's TSX/Linaria
|
|
448
|
-
source automatically; the application's production build remains project-owned.
|
|
449
|
-
|
|
450
|
-
Project-specific review helpers use `.ads.review.*`; generic framing belongs to the showcase preview UX. Shared helpers are exported through the separate review entry, while scenario
|
|
451
|
-
files define no CSS, custom classes or widget replicas. Keep real presentation in
|
|
452
|
-
its component/pattern owner. The tooling shell's CSS is outside that project
|
|
453
|
-
contract. A project's own showcase pages are checked like other showcase source; the
|
|
454
|
-
built-in client requires no TokensPage/ComponentsPage/PatternsPage/CompositionPage files.
|
|
455
|
-
|
|
456
|
-
Colocate `<Owner>.ads.scenario.tsx` and `<Owner>.ads.fixture.ts` with tokens and
|
|
457
|
-
each component/pattern. Put larger entries under `composition/<Name>/` with their
|
|
458
|
-
own marked scenario and fixture. Export a default
|
|
459
|
-
zero-input mountable view and literal metadata, for example
|
|
460
|
-
`export const scenario = { title: "Button states", covers: ["Button"] };`.
|
|
461
|
-
Import the real UI from the public ADS alias. Keep fixture inputs, simulated
|
|
462
|
-
services and initial state/callback adapters beside the scenario. Empty fixtures
|
|
463
|
-
are valid for an entry with no inputs. Extra development helpers use a
|
|
464
|
-
`<Owner>.ads.helpers.ts` file, so guards
|
|
465
|
-
recognize their role even beside runtime code. Never require a page, router or store to
|
|
466
|
-
initialize the entry. Several contextual public parts may share one scenario.
|
|
467
|
-
|
|
468
|
-
IDs derive from ADS-relative filenames: both `components/core/Button/Button.ads.scenario.tsx`
|
|
469
|
-
and `components/core/Button.ads.scenario.tsx` identify `components/core/Button`.
|
|
470
|
-
Use one form, no duplicate IDs or hand-maintained registry. Renames change IDs.
|
|
471
|
-
The showcase and external hosts mount the same discovered entry. ADS owns Bun
|
|
472
|
-
preview compilation and Linaria extraction independently of the application's
|
|
473
|
-
bundler. Declare `framework`; ADS publishes `.ds/preview/manifest.json`
|
|
474
|
-
automatically. Keep the project-owned
|
|
475
|
-
framework mount adapter and its cleanup. Use `ads compile` for standalone/CI
|
|
476
|
-
preview builds. MCP discovers metadata without importing executable TSX. Read
|
|
477
|
-
[Runtime and compiler setup](references/runtimes.md) when setting up or migrating
|
|
478
|
-
the compiler.
|
|
479
|
-
Use `ads_scenarios` (query/kind/limit) and `ads_show_scenario({id})` to open an exact
|
|
480
|
-
entry. Check its build freshness; HTML delivery is not browser verification.
|
|
481
|
-
If Apps or resource forwarding are unavailable, open that scenario in the real
|
|
482
|
-
showcase, using the tool result's URL. Do not build a preview-only replica.
|
|
483
|
-
|
|
484
|
-
For a production screen, find and render the application's public screen pattern.
|
|
485
|
-
Its owner supplies structure, controls, layout and presentation. Scenario fixtures
|
|
486
|
-
supply data/state/callbacks. Move shared presentation into a pattern if needed,
|
|
487
|
-
preserving existing behavior and lazy imports, workers, caching and cancellation.
|
|
488
|
-
Do not reassemble an alternative screen or substitute placeholder content.
|
|
489
|
-
Screen reuse remains skill guidance, not a dedicated screen-parity lint.
|
|
490
|
-
|
|
491
|
-
Resolve `scenario-contract`, `scenario-render` and `scenario-coverage` findings
|
|
492
|
-
with meaningful entries. Every public renderable component and pattern needs an
|
|
493
|
-
addressable scenario, including unused exports; types/constants/utilities do not.
|
|
494
|
-
Direct and traced parent/child public render references reachable from the default
|
|
495
|
-
entry count. Declared children need returned JSX selected by known props/defaults;
|
|
496
|
-
unresolved branches do not grant speculative coverage. Tests and
|
|
497
|
-
unused imports/functions do not. Static reachability does not prove successful
|
|
498
|
-
mounting, correct content, every branch/state or visual parity: open each affected
|
|
499
|
-
entry independently and verify real behavior at narrow/wide sizes in both themes.
|
|
500
|
-
The `showcase-coverage` policy also checks application render references.
|
|
501
|
-
|
|
502
|
-
ADS renders the Tokens views itself from the token definitions and `tokens/catalog.ads.json`.
|
|
503
|
-
Each catalogue group is a sidebar group with one view per kind of token
|
|
504
|
-
(`tokens/<Group>/<section>`, such as `tokens/Typography/line-height`); a group with one kind is a
|
|
505
|
-
single `tokens/<Group>` view. The catalogue groups tokens and gives each a sample binding:
|
|
506
|
-
`{ "token": "--accent", "property": "background-color", "probe": "rgb(31, 97, 163)" }`, the CSS
|
|
507
|
-
property the token is shown with and a valid test value different from its own. Tokens without an
|
|
508
|
-
entry appear in a "Values" group with a default binding for their type. Do not author
|
|
509
|
-
`tokens/…` scenarios or token review renderers: a project scenario with a foundation view's
|
|
510
|
-
ID fails. Invalid catalogue entries are `foundation-catalog` errors. Discover the views with
|
|
511
|
-
`ads_scenarios({kind:"tokens"})` and inspect definitions with `ads_tokens`.
|
|
512
|
-
|
|
513
|
-
Development review helpers need no product catalogue scenario; component and pattern
|
|
514
|
-
scenarios cover their production subjects. Keep review exports in the separate review entry.
|
|
515
|
-
Remove redundant helper catalogue scenarios during migration. Product UI retains
|
|
516
|
-
its real render-coverage requirement. Keep directory ownership anchored by its
|
|
517
|
-
implementation entry (`index` or a file matching the directory name).
|
|
518
|
-
Import colocated image/font fixtures so MCP serves them through asset resources.
|
|
519
|
-
For a broken-image case, use a local failing fixture, rather than an external
|
|
520
|
-
network failure or a domain-specific CSP exception. Production asset APIs remain
|
|
521
|
-
unrestricted by this fixture guidance.
|
|
522
|
-
|
|
523
|
-
Scenarios, colocated fixtures and helpers are development-only. Never export them
|
|
524
|
-
from the runtime barrel or import them in production, including through aliases,
|
|
525
|
-
re-exports or dynamic imports. They may not import application stores, routers,
|
|
526
|
-
providers or HTTP clients. Live business data is application-owned; UI uses typed
|
|
527
|
-
inputs or injected services/callbacks. Direct global fetch/XHR/WebSocket/EventSource
|
|
528
|
-
is rejected; custom clients and computed access require review/project guards.
|
|
529
|
-
Use local simulated services in fixtures. Tests may import fixtures; load real
|
|
530
|
-
foundation CSS rather than assigning shared token values in JavaScript. Keep
|
|
531
|
-
full-app integration harnesses and workflow coverage in application test support.
|
|
532
|
-
|
|
533
|
-
Foundation CSS is checked, not an escape hatch. Value sheets define shared tokens
|
|
534
|
-
on the document root (per-theme halves) or a brand's `[data-brand]`; `fonts.css`
|
|
535
|
-
holds font-face metadata. `base.css` has three closed roles: root/body typography,
|
|
536
|
-
canvas and theme defaults; limited native normalization; and global focus
|
|
537
|
-
indicators/reduced-motion rules. Every selector
|
|
538
|
-
branch, property and value must fit its role. Token-backed control skins, layout,
|
|
539
|
-
interactive state rules and owner hooks are rejected even through `:where()`.
|
|
540
|
-
Do not copy an unchecked upstream preflight or turn a component repair into a reset.
|
|
541
|
-
Keep behavior and skin in their runtime owner. Put demo-only sizing and framing
|
|
542
|
-
in a development-only review helper; add component props for a deliberate runtime
|
|
543
|
-
API need. Preserve required capabilities while following ownership rules.
|
|
544
|
-
Use tokens for absolute/font-relative lengths, including `ch`, `ex`, `cap`, `ic`
|
|
545
|
-
and `lh`; calculations and fallback values follow the same rule. Structural
|
|
546
|
-
angle units remain available for orientation, skew and spin. Put tunable visual
|
|
547
|
-
angles in project tokens; static checks cannot infer that intent. Percentages,
|
|
548
|
-
grid fractions and viewport/container relationships retain structural use.
|
|
549
|
-
Browser review still verifies the effects.
|
|
550
|
-
|
|
551
|
-
Invalid metadata and source failures keep the managed compiler alive for repairs.
|
|
552
|
-
Read `ads_status.build` or `ads://project/build`, fix the owner, then wait for current
|
|
553
|
-
successful output. If the builder exited, fix its command and invoke the preview
|
|
554
|
-
again; ADS starts one fresh child without an MCP reconnect. Compiler-code changes
|
|
555
|
-
also reload on the next preview invocation. Reconnect the client when upgrading
|
|
556
|
-
the ADS server package itself. Persistent SSE/notification streams make
|
|
557
|
-
`networkidle` unsuitable: wait for the App's current ready/error state instead.
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
Run ADS's own gates directly with `ads check`. Register project-specific checks as explicit package scripts in
|
|
563
|
-
`acceptance.scripts` / `validation.scripts` (list each once), and behavior tests
|
|
564
|
-
through ADS contracts. Direct edits run `ads validate --changed` or
|
|
565
|
-
`ads_validate({scope:"changed"})`. Follow [validation](references/validation.md)
|
|
566
|
-
for what each gate runs; never weaken a gate to pass a failing change.
|
|
567
|
-
A project can use its own linter in those scripts when desired. Measured renderer properties and documented
|
|
568
|
-
non-state hooks are declared in the owner's contract (`styles.writes`,
|
|
569
|
-
`styles.inline`, `customization`); shared token writes and primitive state overrides
|
|
570
|
-
cannot be allowed. When moving JSX inline geometry to imperative writes, change the
|
|
571
|
-
source and its contract permissions together in the owner's draft. Remove obsolete
|
|
572
|
-
`styles.inline` entries and unused `styles.writes` properties; do not broaden
|
|
573
|
-
permissions to keep a change passing.
|
|
574
|
-
Pointer-capture advisories call for review of cancellation, capture loss and
|
|
575
|
-
teardown, including cleanup delegated to hooks. Verify actual cleanup in a browser;
|
|
576
|
-
a locally present handler alone does not prove correctness.
|
|
577
|
-
Add generic architectural protections to
|
|
578
|
-
ADS core and keep domain/component-specific rules registered in project setup.
|
|
579
|
-
|
|
580
|
-
Examples and composition scenarios must consume the same public components, patterns,
|
|
581
|
-
foundation CSS, and token values as the application. Scenario adapters may own sample data,
|
|
582
|
-
state, callbacks, and example selection. A missing reusable control or pattern
|
|
583
|
-
must be implemented/exported in its owning ADS layer, then imported through the
|
|
584
|
-
public API. Never finish a mock with a separately styled component replica.
|
|
585
|
-
The outer shell, navigation and theme controls belong to the tool client.
|
|
586
|
-
Scenario labels and sample layouts use known public ADS entities with defined
|
|
587
|
-
APIs, owned by development-only `review/`. Keep review layouts minimal so they do not
|
|
588
|
-
influence the product design. Showcase/scenario
|
|
589
|
-
files define no CSS, custom class names, inline styling, or widget markup.
|
|
590
|
-
Use semantic fixture content and public entities; a missing frame/layout is an
|
|
591
|
-
explicit review-layer change. Component appearance, states, sizing policy,
|
|
592
|
-
accessibility, and motion stay in the shared owner.
|
|
593
|
-
|
|
594
|
-
Update examples when creating/changing components, patterns, or token values.
|
|
595
|
-
Include meaningful variants, difficult content, supported states, themes, and
|
|
596
|
-
container sizes. Run ADS and registered project guards for both app and showcase
|
|
597
|
-
builds; do not exclude scenarios or loosen ownership rules to make a demo pass.
|
|
598
|
-
For unchecked source formats or styling engines, retain the project's matching
|
|
599
|
-
guards and report the gap. A clean static check does not prove all UI is shared.
|
|
600
|
-
|
|
601
|
-
Inspect the rendered examples and relevant interactions. Fix shared design in
|
|
602
|
-
the implementation so the showcase and application receive it together. Give
|
|
603
|
-
the human a full running URL, or an exact command when the server is stopped,
|
|
604
|
-
and identify what is ready to review. Continue already-authorized work without
|
|
605
|
-
adding an approval step solely because a showcase exists.
|
|
336
|
+
fix only when asked (`+fix`). A stress test adds the content, collection, state and
|
|
337
|
+
environment cases no guard knows.
|
|
338
|
+
|
|
339
|
+
Selected design, mobile and motion guidance adapts Emil Kowalski's skills.
|
|
340
|
+
Preserve its [credits](README.md) and [MIT notice](LICENSE.upstream) with
|
|
341
|
+
redistributed material.
|
|
342
|
+
|
|
343
|
+
## Development files and mocks
|
|
344
|
+
|
|
345
|
+
Scenarios (`*.ads.scenario.*`), fixtures (`*.ads.fixture.*`), export stubs,
|
|
346
|
+
tests and everything under `mocks/` are development files: they are never
|
|
347
|
+
emitted, and production code never imports them. Mocks supply mock data,
|
|
348
|
+
local state and simulated actions to public patterns; they render only public
|
|
349
|
+
patterns from `@ds` with explicit props, import only `@ds`, react's adapter hooks,
|
|
350
|
+
their own captured helpers and their own `media/` images, and define no design
|
|
351
|
+
(`mock-ownership`, codes `mock/<kind>`). Read
|
|
352
|
+
[scenarios.md](references/scenarios.md) (`ads://guides/scenarios`) and
|
|
353
|
+
[review.md](references/review.md) (`ads://guides/review`).
|
|
354
|
+
|
|
355
|
+
A scenario supplies data and subjects; ADS draws the page. Export one literal
|
|
356
|
+
`scenario` with `specimens` (each a title, a note, an arrangement, a width and a
|
|
357
|
+
`render` that returns owners), optional named `states`, and `frame: "screen"` for
|
|
358
|
+
a mock. Write no markup, styles or helper components in it
|
|
359
|
+
(`scenario-markup`); use the kit from `@reqvire-org/ads/showcase` (Container,
|
|
360
|
+
Placeholder, Anchor, EventLog) where a subject needs a sized parent, a stand-in,
|
|
361
|
+
an overlay's control or a callback's output.
|
|
362
|
+
|
|
363
|
+
Every public owner needs a scenario covering it (`scenario-coverage`), and `covers`
|
|
364
|
+
names only public UI its specimens render (`scenario-covers`,
|
|
365
|
+
`scenario-covers-role`, `scenario-render`). Optional `exercises` names the public
|
|
366
|
+
behavioral APIs (hooks, controllers, providers) the mounted code calls
|
|
367
|
+
(`scenario-exercise-api`, `scenario-exercise`). ADS registers these scenarios: the showcase lists them and
|
|
368
|
+
`ads_show_scenario` previews them from the emitted design system. Say which
|
|
369
|
+
environment you inspected when you report rendered evidence.
|
|
606
370
|
|
|
607
371
|
## Notifications when a local Toast exists
|
|
608
372
|
|
|
@@ -611,43 +375,40 @@ no Toast. Follow its host/provider mounting, routing, scope, duration, and focus
|
|
|
611
375
|
contracts instead of assuming Sonner compatibility or a particular native API.
|
|
612
376
|
|
|
613
377
|
Create transient notifications from client handlers/callbacks, rather than render
|
|
614
|
-
or server execution.
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
Customize through shared tokens, component mappings and documented variants. Stacking, gestures,
|
|
620
|
-
measured geometry, and animation belong to the component. Register the notification API in
|
|
621
|
-
`usage.notifications` (`[{ "api", "host", "rootFiles" }]` in `ds.config.json`): `ads check` then
|
|
622
|
-
fails a call during render or from a `'use server'` module (`notification-client-usage`) and a
|
|
623
|
-
host mounted outside the listed roots (`notification-host-root`).
|
|
378
|
+
or server execution. Use the component's promise/loading lifecycle API when
|
|
379
|
+
available and settle manual loading notifications on success and failure. Keep
|
|
380
|
+
field errors and persistent information in the relevant form, inline alert, or
|
|
381
|
+
dialog. ADS does not read application source, so where the application calls the
|
|
382
|
+
notification API or mounts its host is checked by the application's own tooling.
|
|
624
383
|
|
|
625
384
|
## Validate
|
|
626
385
|
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
386
|
+
Run `ads check` (the starter's `lint:ds`) after every change, and `ads emit`
|
|
387
|
+
(`emit:ds`) when the application should receive it. After changing colour tokens
|
|
388
|
+
or the declared themes and brands by direct edits, run `ads sync` so
|
|
389
|
+
`palette.generated.ts` is current. Register project-specific checks as explicit
|
|
390
|
+
package scripts in `acceptance.scripts` / `validation.scripts` (list each once).
|
|
391
|
+
Direct edits run `ads validate --changed` or `ads_validate({scope:"changed"})`.
|
|
392
|
+
Follow [validation](references/validation.md) for what each gate runs; never
|
|
393
|
+
weaken a gate to pass a failing change. Follow [references/cli.md](references/cli.md)
|
|
394
|
+
to integrate the tool as a development dependency in the target's actual
|
|
395
|
+
lint/build pipeline.
|
|
396
|
+
|
|
397
|
+
**Application source (optional).** ADS checks the design system, not the
|
|
398
|
+
application. When you also edit application code, look for
|
|
399
|
+
`ads-guard.config.json` in the application's root. If it is there, run
|
|
400
|
+
`npx ads-guard` (or `bunx ads-guard`) after your edits and fix every finding:
|
|
401
|
+
use a design-system owner, put a component inside a pattern, or add the missing
|
|
402
|
+
pattern to the design system. Do not add the file to `exclude` and do not add a
|
|
403
|
+
component to `allow` to make a finding go away; those are the project's
|
|
404
|
+
decisions. If the application has no guard and the user wants application code
|
|
405
|
+
kept free of design, suggest `@reqvire-org/ads-guard`
|
|
406
|
+
([scenarios.md](references/scenarios.md), "The guard"); it is the user's
|
|
407
|
+
choice.
|
|
408
|
+
|
|
409
|
+
Core checks do not replace framework type checking, project rules or interaction
|
|
410
|
+
tests. For visual work, inspect the real rendered UI, including keyboard/focus,
|
|
411
|
+
relevant pointer/touch behavior, every declared theme and reduced motion as
|
|
412
|
+
needed. A screenshot alone does not prove behavior or animation. Validate public
|
|
413
|
+
imports, CSS/asset resolution and local documentation links in the consuming
|
|
414
|
+
application.
|