@reqvire-org/ads 0.4.0 → 0.4.3
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 +115 -87
- package/dist/a11y.mjs +133 -48
- package/dist/analysis/compiler-options.mjs +13 -0
- package/dist/analysis/context.mjs +46 -0
- package/dist/analysis/file-tree.mjs +52 -0
- package/dist/analysis/helpers.mjs +142 -0
- package/dist/analysis/impact.mjs +20 -0
- package/dist/analysis/inputs.mjs +22 -0
- package/dist/analysis/module-resolvers.mjs +46 -0
- package/dist/analysis/native-adapter.mjs +180 -0
- package/dist/analysis/native-project.mjs +323 -0
- package/dist/analysis/queries.mjs +133 -0
- package/dist/analysis/service.mjs +153 -0
- package/dist/analysis/standalone.mjs +57 -0
- package/dist/analysis/syntax.mjs +179 -0
- package/dist/analysis/worker.mjs +182 -0
- package/dist/assets.mjs +6 -6
- package/dist/atomic-composition.mjs +191 -70
- package/dist/atomic-trace.mjs +120 -50
- package/dist/behavior-libraries.mjs +106 -37
- package/dist/behaviors.mjs +219 -77
- package/dist/boundaries.mjs +140 -41
- package/dist/brand-assets.mjs +219 -47
- package/dist/brands.mjs +86 -27
- package/dist/bun-compiler.mjs +28 -14
- package/dist/bun-worker.mjs +7 -5
- package/dist/capture/worker.mjs +15 -4
- package/dist/capture-store.mjs +4 -2
- package/dist/capture.mjs +17 -14
- package/dist/check-service.mjs +44 -58
- package/dist/check.mjs +754 -188
- package/dist/cli.mjs +200 -99
- package/dist/color-values.mjs +21 -21
- package/dist/component-contrast.mjs +127 -9
- package/dist/config.mjs +303 -135
- package/dist/construction-styles.cjs +10 -0
- package/dist/contrast-composition.mjs +134 -0
- package/dist/control-padding.mjs +45 -25
- package/dist/css-values.mjs +3 -2
- package/dist/declarative-flow.mjs +209 -109
- package/dist/design-values.mjs +136 -51
- package/dist/development-runtime.mjs +4 -6
- package/dist/draft-boundary.mjs +11 -6
- package/dist/evidence.mjs +1 -1
- package/dist/finding-rules.mjs +9 -5
- package/dist/font-rules.mjs +22 -17
- package/dist/fonts-generated.mjs +23 -16
- package/dist/foundation-views.mjs +242 -0
- package/dist/foundation.mjs +63 -39
- package/dist/generated-entries.mjs +101 -34
- package/dist/icons.mjs +79 -32
- package/dist/image-attributes.mjs +143 -66
- package/dist/image-size.mjs +1 -1
- package/dist/index.mjs +0 -2
- package/dist/init.mjs +122 -41
- package/dist/investigations.mjs +2 -2
- package/dist/layers.mjs +298 -129
- package/dist/layout-widths.mjs +180 -85
- package/dist/linaria/preserve-values.cjs +7 -0
- package/dist/linaria/spatial-inputs.cjs +56 -0
- package/dist/lockup-composition.mjs +44 -0
- package/dist/lockup-model.cjs +64 -0
- package/dist/mcp/THIRD_PARTY_NOTICES.md +51 -1
- package/dist/mcp/apps.mjs +4 -30
- package/dist/mcp/behavior-pages.mjs +72 -24
- package/dist/mcp/build-status.mjs +257 -64
- package/dist/mcp/catalog.mjs +90 -26
- package/dist/mcp/context.mjs +17 -18
- package/dist/mcp/draft-discovery.mjs +44 -21
- package/dist/mcp/drafts.mjs +903 -281
- package/dist/mcp/execution-coordinator.mjs +417 -167
- package/dist/mcp/execution-results.mjs +7 -7
- package/dist/mcp/mutations.mjs +673 -234
- package/dist/mcp/preview-watch.mjs +448 -170
- package/dist/mcp/preview-widget.bundle.js +44 -50
- package/dist/mcp/prompts.mjs +5 -5
- package/dist/mcp/result-pages.mjs +1 -1
- package/dist/mcp/sandbox-host.mjs +1 -1
- package/dist/mcp/server.mjs +2409 -577
- package/dist/mcp/showcase-host.mjs +165 -41
- package/dist/mcp/skills.mjs +1 -1
- package/dist/mcp/text-diff.mjs +29 -10
- package/dist/paint-contracts.mjs +174 -81
- package/dist/palette-generated.mjs +2 -2
- package/dist/pictogram-model.mjs +59 -0
- package/dist/pictograms.mjs +52 -0
- package/dist/preview-bun.mjs +494 -187
- package/dist/preview-failure.mjs +1 -1
- package/dist/preview-files.mjs +13 -13
- package/dist/preview-imports.mjs +104 -55
- package/dist/preview-inputs.mjs +2 -2
- package/dist/preview-requests.mjs +24 -0
- package/dist/preview-resources.mjs +288 -147
- package/dist/preview-scope.mjs +5 -4
- package/dist/program-cache.mjs +8 -34
- package/dist/project-documents.mjs +1 -1
- package/dist/public-api.mjs +69 -31
- package/dist/public-props.mjs +39 -22
- package/dist/{browser-audit → render-audit}/axe-run.mjs +3 -3
- package/dist/{browser-audit → render-audit}/image-shape.mjs +15 -5
- package/dist/{browser-audit → render-audit}/layout-overflow.mjs +86 -23
- package/dist/{browser-audit → render-audit}/non-text-contrast.mjs +86 -27
- package/dist/render-audit/pictograms.mjs +88 -0
- package/dist/{browser-audit → render-audit}/render-states.mjs +208 -52
- package/dist/{browser-audit → render-audit}/worker.mjs +98 -30
- package/dist/render-audit.mjs +838 -0
- package/dist/render-color-probe.mjs +96 -42
- package/dist/render-composition.mjs +164 -0
- package/dist/resource-limits.mjs +229 -97
- package/dist/runtime-contracts.mjs +467 -185
- package/dist/scenario-groups.mjs +22 -10
- package/dist/scenario-inspector.mjs +6 -43
- package/dist/scenario-program.mjs +8 -25
- package/dist/scenario-registry.mjs +72 -30
- package/dist/scenario-selectors.mjs +161 -64
- package/dist/scenario-slots.mjs +149 -56
- package/dist/scenario-trace.mjs +215 -109
- package/dist/scenarios-compiler.mjs +719 -378
- package/dist/scenarios-vite.d.mts +1 -3
- package/dist/scenarios-vite.mjs +2 -81
- package/dist/scenarios.mjs +421 -157
- package/dist/selector-match.mjs +2 -2
- package/dist/showcase/client.bundle.js +57 -56
- package/dist/showcase/draft-navigation.js +21 -3
- package/dist/showcase/favicon.ico +0 -0
- package/dist/showcase/favicon.svg +1 -0
- package/dist/showcase/foundation-view.css +58 -0
- package/dist/showcase/foundation-view.mjs +255 -0
- package/dist/showcase/guide-controls.ads.review.mjs +32 -0
- package/dist/showcase/icons.js +1 -145
- package/dist/showcase/index.html +3 -31
- package/dist/showcase/pictogram-view.mjs +53 -0
- package/dist/showcase/preview-frame.ads.review.css +46 -0
- package/dist/showcase/preview-frame.ads.review.d.mts +11 -0
- package/dist/showcase/preview-frame.ads.review.mjs +22 -0
- package/dist/showcase/preview-state.js +0 -9
- package/dist/showcase/refresh-scheduler.js +23 -0
- package/dist/showcase/style.css +5 -47
- package/dist/showcase/ui/ui.css +1353 -0
- package/dist/showcase/ui/ui.js +1064 -0
- package/dist/showcase-coverage.mjs +58 -37
- package/dist/skills/README.md +24 -23
- package/dist/skills/ads-designer/README.md +8 -2
- package/dist/skills/ads-designer/SKILL.md +143 -120
- package/dist/skills/ads-designer/references/accessibility.md +78 -15
- package/dist/skills/ads-designer/references/atomic-styles.md +4 -4
- package/dist/skills/ads-designer/references/behaviors.md +30 -27
- package/dist/skills/ads-designer/references/branding.md +101 -24
- package/dist/skills/ads-designer/references/captures.md +25 -0
- package/dist/skills/ads-designer/references/cli.md +21 -24
- package/dist/skills/ads-designer/references/contracts.md +7 -6
- package/dist/skills/ads-designer/references/design-data.md +49 -52
- package/dist/skills/ads-designer/references/drafts.md +20 -17
- package/dist/skills/ads-designer/references/evidence.md +1 -5
- package/dist/skills/ads-designer/references/guarded-editing.md +14 -18
- package/dist/skills/ads-designer/references/layers.md +1 -1
- package/dist/skills/ads-designer/references/layout.md +347 -0
- package/dist/skills/ads-designer/references/mobile.md +2 -1
- package/dist/skills/{ads-motion/references/performance.md → ads-designer/references/motion-performance.md} +5 -1
- package/dist/skills/{ads-motion/references/build.md → ads-designer/references/motion.md} +73 -5
- package/dist/skills/ads-designer/references/performance.md +3 -2
- package/dist/skills/ads-designer/references/pictograms.md +131 -0
- package/dist/skills/ads-designer/references/review.md +37 -34
- package/dist/skills/ads-designer/references/runtimes.md +33 -30
- package/dist/skills/ads-designer/references/scenarios.md +16 -18
- package/dist/skills/{ads-break-ui/references/catalog.md → ads-designer/references/stress-catalog.md} +3 -1
- package/dist/skills/ads-designer/references/stress-test.md +68 -0
- package/dist/skills/ads-designer/references/validation.md +83 -75
- package/dist/skills/ads-designer/references/workflows.md +8 -33
- package/dist/skills/ads-import/SKILL.md +43 -325
- package/dist/skills/ads-import/references/atomic-styles.md +4 -4
- package/dist/skills/ads-import/references/behaviors.md +30 -27
- package/dist/skills/ads-import/references/branding.md +5 -5
- package/dist/skills/ads-import/references/captures.md +25 -0
- package/dist/skills/ads-import/references/cli.md +21 -24
- package/dist/skills/ads-import/references/compatibility.md +1 -1
- package/dist/skills/ads-import/references/contracts.md +7 -6
- package/dist/skills/ads-import/references/design-data.md +49 -52
- package/dist/skills/ads-import/references/drafts.md +20 -17
- package/dist/skills/ads-import/references/evidence.md +1 -5
- package/dist/skills/ads-import/references/guarded-editing.md +14 -18
- package/dist/skills/ads-import/references/implementation.md +2 -1
- package/dist/skills/ads-import/references/layers.md +1 -1
- package/dist/skills/ads-import/references/layout.md +347 -0
- package/dist/skills/ads-import/references/review.md +37 -34
- package/dist/skills/ads-import/references/runtimes.md +33 -30
- package/dist/skills/ads-import/references/scenarios.md +16 -18
- package/dist/skills/ads-import/references/tokens.md +3 -3
- package/dist/skills/ads-import/references/validation.md +83 -75
- package/dist/skills/ads-import/references/workflows.md +8 -33
- package/dist/skills/ads-migrate/SKILL.md +56 -0
- package/dist/skills/ads-migrate/references/0.4.1-to-0.4.2.md +602 -0
- package/dist/skills/ads-port/SKILL.md +58 -344
- package/dist/skills/ads-port/references/atomic-styles.md +4 -4
- package/dist/skills/ads-port/references/behaviors.md +30 -27
- package/dist/skills/ads-port/references/captures.md +25 -0
- package/dist/skills/ads-port/references/cli.md +21 -24
- package/dist/skills/ads-port/references/contracts.md +7 -6
- package/dist/skills/ads-port/references/design-data.md +49 -52
- package/dist/skills/ads-port/references/drafts.md +20 -17
- package/dist/skills/ads-port/references/evidence.md +1 -5
- package/dist/skills/ads-port/references/guarded-editing.md +14 -18
- package/dist/skills/ads-port/references/layers.md +1 -1
- package/dist/skills/ads-port/references/layout.md +347 -0
- package/dist/skills/ads-port/references/lint-and-docs.md +8 -11
- package/dist/skills/ads-port/references/native-implementation.md +2 -1
- package/dist/skills/ads-port/references/review.md +37 -34
- package/dist/skills/ads-port/references/runtimes.md +33 -30
- package/dist/skills/ads-port/references/scenarios.md +16 -18
- package/dist/skills/ads-port/references/validation.md +83 -75
- package/dist/skills/ads-port/references/workflows.md +8 -33
- package/dist/source-symbols.mjs +1 -8
- package/dist/source-values.mjs +270 -129
- package/dist/spatial-composition.mjs +322 -0
- package/dist/spatial-contexts.cjs +56 -0
- package/dist/spatial-css.cjs +351 -0
- package/dist/spatial-inputs.cjs +80 -0
- package/dist/spatial-metadata.mjs +18 -0
- package/dist/spatial-model.cjs +322 -0
- package/dist/spatial.mjs +21 -0
- package/dist/stage-timing.cjs +20 -0
- package/dist/starters/preact/design-system/patterns/Conversation/Conversation.tsx +105 -0
- package/dist/starters/preact/design-system/patterns/Shell/Shell.tsx +275 -0
- package/dist/starters/preact/design-system/review/demo-frame/DemoFrame.ads.review.tsx +7 -0
- package/dist/starters/preact/design-system/review/screen-frame/ScreenFrame.ads.review.tsx +10 -0
- package/dist/starters/preact/design-system/showcase/mcp/main.ads.mount.tsx +8 -0
- package/dist/starters/preact/ds.config.json +25 -6
- package/dist/starters/preact/package.json +4 -8
- package/dist/starters/preact/tsconfig.json +4 -5
- package/dist/starters/preact/vite.config.ts +3 -3
- package/dist/starters/react/ADS.md +42 -47
- package/dist/starters/react/README.md +47 -49
- package/dist/starters/react/design-system/assets/pictograms/catalog.ads.json +13 -0
- package/dist/starters/react/design-system/assets/pictograms/journey.dark.svg +7 -0
- package/dist/starters/react/design-system/assets/pictograms/journey.svg +7 -0
- package/dist/starters/react/design-system/components/Actions/IconButton/IconButton.tsx +18 -2
- package/dist/starters/react/design-system/components/Actions/IconButton/README.md +3 -0
- package/dist/starters/react/design-system/components/Content/Pictogram/Pictogram.ads.exports.ts +1 -0
- package/dist/starters/react/design-system/components/Content/Pictogram/Pictogram.ads.fixture.ts +1 -0
- package/dist/starters/react/design-system/components/Content/Pictogram/Pictogram.ads.scenario.tsx +7 -0
- package/dist/starters/react/design-system/components/Content/Pictogram/Pictogram.tsx +26 -0
- package/dist/starters/react/design-system/composition/Workspace/WorkspacePage/README.md +5 -0
- package/dist/starters/react/design-system/composition/Workspace/WorkspacePage/WorkspacePage.ads.fixture.ts +13 -0
- package/dist/starters/react/design-system/composition/Workspace/WorkspacePage/WorkspacePage.ads.scenario.tsx +22 -0
- package/dist/starters/react/design-system/index.ts +2 -1
- package/dist/starters/react/design-system/patterns/Conversation/Conversation.ads.exports.ts +1 -0
- package/dist/starters/react/design-system/patterns/Conversation/Conversation.ads.fixture.ts +7 -0
- package/dist/starters/react/design-system/patterns/Conversation/Conversation.ads.scenario.tsx +15 -0
- package/dist/starters/react/design-system/patterns/Conversation/Conversation.tsx +105 -0
- package/dist/starters/react/design-system/patterns/Conversation/README.md +9 -0
- package/dist/starters/react/design-system/patterns/Shell/Floating.ads.fixture.ts +5 -0
- package/dist/starters/react/design-system/patterns/Shell/Floating.ads.scenario.tsx +21 -0
- package/dist/starters/react/design-system/patterns/Shell/README.md +43 -0
- package/dist/starters/react/design-system/patterns/Shell/Shell.ads.exports.ts +1 -0
- package/dist/starters/react/design-system/patterns/Shell/Shell.ads.fixture.ts +5 -0
- package/dist/starters/react/design-system/patterns/Shell/Shell.ads.scenario.tsx +21 -0
- package/dist/starters/react/design-system/patterns/Shell/Shell.tsx +274 -0
- package/dist/starters/react/design-system/review/demo-frame/DemoFrame.ads.exports.ts +1 -1
- package/dist/starters/react/design-system/review/demo-frame/DemoFrame.ads.review.tsx +7 -0
- package/dist/starters/react/design-system/review/index.ads.review.ts +4 -0
- package/dist/starters/react/design-system/review/region-block/RegionBlock.ads.exports.ts +1 -0
- package/dist/starters/react/design-system/review/region-block/RegionBlock.ads.review.tsx +6 -0
- package/dist/starters/react/design-system/review/screen-frame/ScreenFrame.ads.exports.ts +1 -1
- package/dist/starters/react/design-system/review/screen-frame/ScreenFrame.ads.review.tsx +10 -0
- package/dist/starters/react/design-system/showcase/mcp/{main.tsx → main.ads.mount.tsx} +4 -2
- package/dist/starters/react/design-system/tokens/catalog.ads.json +1221 -0
- package/dist/starters/react/design-system/tokens/colors.css +1 -1
- package/dist/starters/react/design-system/tokens/spacing.css +22 -32
- package/dist/starters/react/design-system/tokens/spatial.ads.json +70 -0
- package/dist/starters/react/design-system/tokens/themes.generated.ts +1 -1
- package/dist/starters/react/ds.config.json +25 -6
- package/dist/starters/react/package.json +2 -6
- package/dist/starters/react/tsconfig.json +2 -3
- package/dist/starters/react/vite.config.ts +3 -3
- package/dist/style-boundaries.mjs +70 -25
- package/dist/task-cache.mjs +173 -72
- package/dist/task-worker.mjs +22 -11
- package/dist/test-boundaries.mjs +132 -59
- package/dist/themes-generated.mjs +1 -1
- package/dist/themes-watch.mjs +57 -22
- package/dist/themes.mjs +176 -73
- package/dist/token-export.mjs +39 -14
- package/dist/token-policy.mjs +6 -3
- package/dist/token-quality.mjs +6 -6
- package/dist/token-samples.mjs +16 -5
- package/dist/tokens.mjs +71 -26
- package/dist/ui-framework.mjs +16 -14
- package/dist/unit-contracts.mjs +251 -104
- package/dist/units.mjs +209 -99
- package/dist/usage.mjs +138 -38
- package/dist/validation-checks.mjs +115 -38
- package/dist/validation-inputs.mjs +191 -78
- package/dist/validation.mjs +268 -102
- package/dist/verification/browser.mjs +27 -5
- package/dist/verification.mjs +711 -187
- package/docs/ADS.md +96 -80
- package/docs/ARCHITECTURE.md +368 -137
- package/docs/BEHAVIORS.md +29 -25
- package/docs/CACHING.md +77 -17
- package/docs/CHANGELOG.md +332 -17
- package/docs/CONTRACTS.md +12 -4
- package/docs/DESIGN-REFERENCES.md +40 -0
- package/docs/GUIDE.md +300 -263
- package/docs/MCP.md +187 -324
- package/docs/SPATIAL-CHECKS.md +69 -0
- package/docs/benchmarks/README.md +39 -0
- package/package.json +43 -34
- package/dist/browser-audit.mjs +0 -429
- package/dist/create.mjs +0 -48
- package/dist/lint-config.mjs +0 -50
- package/dist/mcp/project-widget.bundle.js +0 -114
- package/dist/mcp/reports.mjs +0 -101
- package/dist/mcp/widget.bundle.js +0 -147
- package/dist/oxlint.mjs +0 -89
- package/dist/preview-builder.mjs +0 -133
- package/dist/preview-workers.mjs +0 -184
- package/dist/showcase.mjs +0 -77
- package/dist/skills/ads-break-ui/LICENSE.upstream +0 -21
- package/dist/skills/ads-break-ui/README.md +0 -16
- package/dist/skills/ads-break-ui/SKILL.md +0 -412
- package/dist/skills/ads-break-ui/agents/openai.yaml +0 -4
- package/dist/skills/ads-break-ui/references/atomic-styles.md +0 -293
- package/dist/skills/ads-break-ui/references/behaviors.md +0 -412
- package/dist/skills/ads-break-ui/references/captures.md +0 -135
- package/dist/skills/ads-break-ui/references/contracts.md +0 -317
- package/dist/skills/ads-break-ui/references/design-data.md +0 -354
- package/dist/skills/ads-break-ui/references/drafts.md +0 -194
- package/dist/skills/ads-break-ui/references/evidence.md +0 -128
- package/dist/skills/ads-break-ui/references/guarded-editing.md +0 -165
- package/dist/skills/ads-break-ui/references/layers.md +0 -145
- package/dist/skills/ads-break-ui/references/reporting.md +0 -101
- package/dist/skills/ads-break-ui/references/review.md +0 -97
- package/dist/skills/ads-break-ui/references/runtimes.md +0 -203
- package/dist/skills/ads-break-ui/references/scenarios.md +0 -246
- package/dist/skills/ads-break-ui/references/validation.md +0 -166
- package/dist/skills/ads-break-ui/references/verification.md +0 -58
- package/dist/skills/ads-break-ui/references/workflows.md +0 -90
- package/dist/skills/ads-designer/references/reporting.md +0 -101
- package/dist/skills/ads-import/references/reporting.md +0 -101
- package/dist/skills/ads-motion/LICENSE.upstream +0 -21
- package/dist/skills/ads-motion/README.md +0 -22
- package/dist/skills/ads-motion/SKILL.md +0 -385
- package/dist/skills/ads-motion/agents/openai.yaml +0 -4
- package/dist/skills/ads-motion/references/atomic-styles.md +0 -293
- package/dist/skills/ads-motion/references/audit.md +0 -44
- package/dist/skills/ads-motion/references/behaviors.md +0 -412
- package/dist/skills/ads-motion/references/captures.md +0 -135
- package/dist/skills/ads-motion/references/contracts.md +0 -317
- package/dist/skills/ads-motion/references/design-data.md +0 -354
- package/dist/skills/ads-motion/references/drafts.md +0 -194
- package/dist/skills/ads-motion/references/evidence.md +0 -128
- package/dist/skills/ads-motion/references/guarded-editing.md +0 -165
- package/dist/skills/ads-motion/references/layers.md +0 -145
- package/dist/skills/ads-motion/references/motion-review.md +0 -35
- package/dist/skills/ads-motion/references/reporting.md +0 -101
- package/dist/skills/ads-motion/references/review.md +0 -97
- package/dist/skills/ads-motion/references/runtimes.md +0 -203
- package/dist/skills/ads-motion/references/scenarios.md +0 -246
- package/dist/skills/ads-motion/references/validation.md +0 -166
- package/dist/skills/ads-motion/references/verification.md +0 -39
- package/dist/skills/ads-motion/references/workflows.md +0 -90
- package/dist/skills/ads-port/references/reporting.md +0 -101
- package/dist/starters/preact/design-system/components/Layout/Grid/Grid.ads.contract.ts +0 -6
- package/dist/starters/preact/design-system/components/Layout/Grid/Grid.tsx +0 -76
- package/dist/starters/preact/design-system/review/demo-frame/DemoFrame.tsx +0 -29
- package/dist/starters/preact/design-system/review/screen-frame/ScreenFrame.tsx +0 -34
- package/dist/starters/preact/design-system/review/token-preview/TokenPreview.ads.contract.ts +0 -6
- package/dist/starters/preact/design-system/review/token-preview/TokenPreview.tsx +0 -137
- package/dist/starters/preact/design-system/showcase/mcp/main.tsx +0 -6
- package/dist/starters/react/design-system/brand/Icons/AppIcon/AppIcon.ads.fixture.ts +0 -7
- package/dist/starters/react/design-system/brand/Icons/AppIcon/AppIcon.ads.scenario.tsx +0 -4
- package/dist/starters/react/design-system/brand/Identity/Logo/Logo.ads.fixture.ts +0 -7
- package/dist/starters/react/design-system/brand/Identity/Logo/Logo.ads.scenario.tsx +0 -4
- package/dist/starters/react/design-system/components/Layout/Grid/Grid.ads.contract.ts +0 -6
- package/dist/starters/react/design-system/components/Layout/Grid/Grid.ads.exports.ts +0 -1
- package/dist/starters/react/design-system/components/Layout/Grid/Grid.ads.fixture.ts +0 -12
- package/dist/starters/react/design-system/components/Layout/Grid/Grid.ads.scenario.tsx +0 -17
- package/dist/starters/react/design-system/components/Layout/Grid/Grid.tsx +0 -75
- package/dist/starters/react/design-system/components/Layout/Grid/README.md +0 -21
- package/dist/starters/react/design-system/review/brand-preview/BrandPreview.ads.exports.ts +0 -1
- package/dist/starters/react/design-system/review/brand-preview/BrandPreview.tsx +0 -112
- package/dist/starters/react/design-system/review/demo-frame/DemoFrame.tsx +0 -29
- package/dist/starters/react/design-system/review/grid-cell/GridCell.ads.exports.ts +0 -1
- package/dist/starters/react/design-system/review/grid-cell/GridCell.tsx +0 -18
- package/dist/starters/react/design-system/review/index.ts +0 -6
- package/dist/starters/react/design-system/review/screen-frame/ScreenFrame.tsx +0 -34
- package/dist/starters/react/design-system/review/token-preview/TokenPreview.ads.contract.ts +0 -6
- package/dist/starters/react/design-system/review/token-preview/TokenPreview.ads.exports.ts +0 -1
- package/dist/starters/react/design-system/review/token-preview/TokenPreview.tsx +0 -137
- package/dist/starters/react/design-system/showcase/mcp/index.html +0 -1
- package/dist/starters/react/design-system/tokens/Color.ads.fixture.ts +0 -124
- package/dist/starters/react/design-system/tokens/Color.ads.scenario.tsx +0 -4
- package/dist/starters/react/design-system/tokens/Layout.ads.fixture.ts +0 -39
- package/dist/starters/react/design-system/tokens/Layout.ads.scenario.tsx +0 -4
- package/dist/starters/react/design-system/tokens/Motion.ads.fixture.ts +0 -18
- package/dist/starters/react/design-system/tokens/Motion.ads.scenario.tsx +0 -4
- package/dist/starters/react/design-system/tokens/Shape.ads.fixture.ts +0 -30
- package/dist/starters/react/design-system/tokens/Shape.ads.scenario.tsx +0 -4
- package/dist/starters/react/design-system/tokens/Space.ads.fixture.ts +0 -37
- package/dist/starters/react/design-system/tokens/Space.ads.scenario.tsx +0 -4
- package/dist/starters/react/design-system/tokens/Type.ads.fixture.ts +0 -29
- package/dist/starters/react/design-system/tokens/Type.ads.scenario.tsx +0 -4
- package/dist/starters/react/package-lock.json +0 -4707
- package/dist/token-fixtures.mjs +0 -30
- package/docs/benchmarks/bun-previews.md +0 -91
- package/docs/benchmarks/preview-memory.md +0 -147
- package/docs/benchmarks/turbo-poc.md +0 -284
- package/docs/plans/execution-coordination.md +0 -57
- /package/dist/{browser-audit → render-audit}/first-render.mjs +0 -0
- /package/dist/{browser-audit → render-audit}/layout-shift.mjs +0 -0
|
@@ -0,0 +1,602 @@
|
|
|
1
|
+
# ADS 0.4.1 → 0.4.2
|
|
2
|
+
|
|
3
|
+
Status: planned next patch release. This guide describes changes from the committed
|
|
4
|
+
0.4.1 source to the current development tree. Confirm the target package or local
|
|
5
|
+
build contains them before applying it; the guide does not publish 0.4.2.
|
|
6
|
+
|
|
7
|
+
This upgrade includes source/configuration incompatibilities despite the patch
|
|
8
|
+
number. Apply the relevant sections to an existing design system; a fresh starter
|
|
9
|
+
already has the new layout.
|
|
10
|
+
|
|
11
|
+
Contents: [configuration](#1-runtime-and-configuration),
|
|
12
|
+
[file roles](#2-mark-project-development-source),
|
|
13
|
+
[showcase and mounts](#3-move-generic-showcase-ux-to-ads),
|
|
14
|
+
[tokens](#4-separate-product-tokens-from-demonstration-values),
|
|
15
|
+
[production builds](#5-enforce-the-production-boundary),
|
|
16
|
+
[compiler and integrations](#6-replace-old-preview-builders-and-integrations),
|
|
17
|
+
[icons](#7-repair-missing-starter-icon-configuration),
|
|
18
|
+
[obsolete files](#8-remove-obsolete-files),
|
|
19
|
+
[token and brand views](#9-let-ads-render-the-tokens-and-brand-views),
|
|
20
|
+
[layouts](#10-replace-the-grid-wrapper-with-ads-layout),
|
|
21
|
+
[guide options and tools](#11-guide-options-and-tools),
|
|
22
|
+
[verification](#12-regenerate-and-verify),
|
|
23
|
+
[ADS contributors](#ads-repository-only-shared-starters-and-playground).
|
|
24
|
+
|
|
25
|
+
## 1. Runtime and configuration
|
|
26
|
+
|
|
27
|
+
ADS CLI/MCP execution now requires Bun ≥1.4.1. Keep an npm/Node application's
|
|
28
|
+
runtime and build tools if that is what the project uses; install Bun for ADS and
|
|
29
|
+
make it available to CI and the MCP launcher too. Replace launchers that force
|
|
30
|
+
`node .../ads/dist/cli.mjs` or the ADS server with Bun. The `linaria`,
|
|
31
|
+
`scenarios/vite` and `verification` package integrations remain usable from Node.
|
|
32
|
+
|
|
33
|
+
Upgrade the existing dependency with the project's package manager, for example
|
|
34
|
+
`npm install --save-dev @reqvire-org/ads@0.4.2` or
|
|
35
|
+
`bun add --dev @reqvire-org/ads@0.4.2` **once that release is available**. For a
|
|
36
|
+
pre-release migration, use the supplied local target package instead. Retain the
|
|
37
|
+
dependency's existing placement if the project deliberately manages it elsewhere.
|
|
38
|
+
|
|
39
|
+
Unknown configuration fields now fail. Remove the following keys from
|
|
40
|
+
`ds.config.json`, including keys whose value is `null` or a former default:
|
|
41
|
+
|
|
42
|
+
| Removed field | Required replacement/action |
|
|
43
|
+
|---------------|-----------------------------|
|
|
44
|
+
| `publicAlias` | Use `@ds` and `@ds/review`; update source imports and aliases if customized. |
|
|
45
|
+
| `publicEntry` | Generated production entry is `<dsDir>/index.ts`. |
|
|
46
|
+
| `reviewEntry` | Generated review entry is `<dsDir>/review/index.ads.review.ts`. |
|
|
47
|
+
| `stylesEntry` | Generated foundation CSS entry is `<dsDir>/styles.css`. |
|
|
48
|
+
| `tokenDir` | Foundation sheets live in `<dsDir>/tokens/`. |
|
|
49
|
+
| `oxlint` | Move project lint plugins/rules/overrides into the project's own linter configuration; remove ADS adapter registration. Keep `ads check` as a separate gate. |
|
|
50
|
+
| `mcp.previewManifest` | ADS publishes `.ds/preview/manifest.json` automatically. |
|
|
51
|
+
| `mcp.previewWatch` | ADS owns the preview compiler; custom commands and `false` external-builder mode are removed. |
|
|
52
|
+
| `mcp.apps` | Discover scenarios through ADS; separate registered HTML pages are removed. |
|
|
53
|
+
| `mcp.showcaseUrl` | Use the running server's reported URL; launch `ads mcp`/`ads showcase` with `--port` when a stable port is needed. |
|
|
54
|
+
|
|
55
|
+
`sourceDir`, `dsDir`, `framework`, themes, brands, assets and supported resource/
|
|
56
|
+
validation settings remain project choices. If an old layout was customized,
|
|
57
|
+
move its actual content to the fixed paths and update every consumer before
|
|
58
|
+
removing the configuration overrides. Merely deleting the keys loses the mapping.
|
|
59
|
+
|
|
60
|
+
The 0.4.1 gate configuration already uses `acceptance.scripts`,
|
|
61
|
+
`acceptance.behavior`, `acceptance.audit`, and `validation.scripts`/`inputs`.
|
|
62
|
+
Preserve it. Older `checks`, `behaviorChecks`, `browserAudit` or validation policy
|
|
63
|
+
settings indicate an earlier migration is incomplete; they are not new 0.4.2 fields.
|
|
64
|
+
|
|
65
|
+
## 2. Mark project development source
|
|
66
|
+
|
|
67
|
+
Folder names no longer make source development-only. Unmarked implementation in
|
|
68
|
+
`review/`, `showcase/`, `composition/` or `brand/` fails `development-role`.
|
|
69
|
+
Use the role in the filename, including for colocated development code:
|
|
70
|
+
|
|
71
|
+
| Existing responsibility/example | Target |
|
|
72
|
+
|---------------------------------|--------|
|
|
73
|
+
| `review/demo-frame/DemoFrame.tsx` | `DemoFrame.ads.review.tsx` |
|
|
74
|
+
| Owned review styles, such as `review/frame/frame.css` | `frame.ads.review.css` |
|
|
75
|
+
| Generated `review/index.ts` | `review/index.ads.review.ts` |
|
|
76
|
+
| `showcase/mcp/main.tsx` | `showcase/mcp/main.ads.mount.tsx` |
|
|
77
|
+
| A retained development HTML mount | `index.ads.mount.html` |
|
|
78
|
+
| Scenario and fixture | `<Owner>.ads.scenario.tsx`, `<Owner>.ads.fixture.ts` (already marked in 0.4.1) |
|
|
79
|
+
| Plural `.ads.fixtures.*` spelling | Rename to `.ads.fixture.*` and update imports; the plural role is no longer accepted. |
|
|
80
|
+
| Non-styling development helper | `<Name>.ads.helpers.ts`/`.tsx` |
|
|
81
|
+
|
|
82
|
+
Review scripts/styles use `.ads.review.*`; mount scripts/HTML use `.ads.mount.*`.
|
|
83
|
+
Token and brand review renderers (`TokenPreview`, `BrandPreview`) are not renamed:
|
|
84
|
+
ADS renders those views itself, so remove them as described in
|
|
85
|
+
[section 9](#9-let-ads-render-the-tokens-and-brand-views).
|
|
86
|
+
Keep the established `.ads.exports.ts`, `.ads.contract.ts` and test/spec roles.
|
|
87
|
+
Tests and declaration files have their existing exceptions. Product code and
|
|
88
|
+
artwork do not acquire a marker merely because a review uses them.
|
|
89
|
+
|
|
90
|
+
After renaming, update imports, owner exports, contract implementation references,
|
|
91
|
+
test paths, aliases, build includes/excludes and links. For example:
|
|
92
|
+
|
|
93
|
+
```ts
|
|
94
|
+
// review/demo-frame/DemoFrame.ads.exports.ts
|
|
95
|
+
export { DemoFrame } from "./DemoFrame.ads.review";
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
Shared review owners belong under `review/`; ADS collects their exports sidecars
|
|
99
|
+
into the review entry. A helper local to a production owner may remain colocated
|
|
100
|
+
and marked, imported directly by development consumers. Do not put that helper
|
|
101
|
+
in a production owner's `.ads.exports.ts`: exports outside `review/` feed the
|
|
102
|
+
production barrel.
|
|
103
|
+
|
|
104
|
+
Regenerate entries with `ads assets` after editing owner sidecars. Remove the old
|
|
105
|
+
generated `review/index.ts` once all references have moved. If it contains manual
|
|
106
|
+
edits, preserve their intended exports in the correct owner sidecars first.
|
|
107
|
+
Update `@ds/review` in TypeScript and any independent dev/bundler harness to
|
|
108
|
+
`<dsDir>/review/index.ads.review.ts`. Put that exact alias before a broad `@ds`
|
|
109
|
+
alias in an ordered resolver.
|
|
110
|
+
|
|
111
|
+
Inspect responsibility before moving anything. A genuine product pattern named
|
|
112
|
+
`TokenPreview` or `Showcase` remains production UI if applications use it. A demo
|
|
113
|
+
wrapper incorrectly exported as product UI must have its consumers moved to the
|
|
114
|
+
review entry before its production export is removed. Do not delete real behavior
|
|
115
|
+
or coverage to make a rename pass.
|
|
116
|
+
|
|
117
|
+
## 3. Move generic showcase UX to ADS
|
|
118
|
+
|
|
119
|
+
ADS owns navigation, section grouping, theme/viewport controls, preview framing,
|
|
120
|
+
hosting and grid inspection. A project supplies actual design examples and small
|
|
121
|
+
review helpers needed to demonstrate them. Keep these helpers next to the subject
|
|
122
|
+
or in `review/`; they do not belong in the application's `src/` unless they are
|
|
123
|
+
actual application UI.
|
|
124
|
+
|
|
125
|
+
Replace copied generic `Showcase.tsx`, page browsers, framing CSS and production
|
|
126
|
+
demo-frame patterns with the tooling preview API. Preserve project-specific
|
|
127
|
+
arrangements and stateful demonstrations as `.ads.review.*`. Token and brand
|
|
128
|
+
presentation moves to ADS entirely ([section 9](#9-let-ads-render-the-tokens-and-brand-views)).
|
|
129
|
+
There is no requirement to maintain `TokensPage`, `ComponentsPage`, `PatternsPage`
|
|
130
|
+
or `CompositionPage`; the shell discovers scenario groups. Remove obsolete pages
|
|
131
|
+
and their imports only after preserving any unique scenarios or fixtures they held.
|
|
132
|
+
|
|
133
|
+
The compiler imports **`showcase/mcp/main.ads.mount.tsx`**. Renaming the file is
|
|
134
|
+
mandatory even if retaining a custom native mount: this applies the development
|
|
135
|
+
filename rule to the compiler's entrypoint. The `mountScenario(Scenario, container)`
|
|
136
|
+
signature and returned cleanup function are unchanged.
|
|
137
|
+
|
|
138
|
+
To adopt ADS-owned framing, render into `createPreviewRoot(container)` and clean
|
|
139
|
+
up both the framework root and frame on unmount, as below. This replaces copied
|
|
140
|
+
generic frame styling; it is not a new mount signature or a requirement enforced
|
|
141
|
+
on custom mount implementations. Preserve necessary project providers and custom
|
|
142
|
+
lifecycle behavior.
|
|
143
|
+
|
|
144
|
+
React example:
|
|
145
|
+
|
|
146
|
+
```tsx
|
|
147
|
+
import { createRoot } from "react-dom/client";
|
|
148
|
+
import type { ComponentType } from "react";
|
|
149
|
+
import { createPreviewRoot } from "@reqvire-org/ads/preview";
|
|
150
|
+
import "@ds";
|
|
151
|
+
|
|
152
|
+
export function mountScenario(Scenario: ComponentType, container: HTMLElement) {
|
|
153
|
+
const frame = createPreviewRoot(container);
|
|
154
|
+
const root = createRoot(frame);
|
|
155
|
+
root.render(<Scenario />);
|
|
156
|
+
return () => { root.unmount(); frame.remove(); };
|
|
157
|
+
}
|
|
158
|
+
```
|
|
159
|
+
|
|
160
|
+
Preact uses its native renderer:
|
|
161
|
+
|
|
162
|
+
```tsx
|
|
163
|
+
import { render, type ComponentType } from "preact";
|
|
164
|
+
import { createPreviewRoot } from "@reqvire-org/ads/preview";
|
|
165
|
+
import "@ds";
|
|
166
|
+
|
|
167
|
+
export function mountScenario(Scenario: ComponentType, container: HTMLElement) {
|
|
168
|
+
const frame = createPreviewRoot(container);
|
|
169
|
+
render(<Scenario />, frame);
|
|
170
|
+
return () => { render(null, frame); frame.remove(); };
|
|
171
|
+
}
|
|
172
|
+
```
|
|
173
|
+
|
|
174
|
+
Small project review adapters can use `previewFrameClasses` from the same package,
|
|
175
|
+
for example `<div className={previewFrameClasses("row", "padded")}>…</div>`.
|
|
176
|
+
ADS supplies that generic framing CSS during preview compilation. Do not copy the
|
|
177
|
+
tool stylesheet into product tokens or import the preview API from production.
|
|
178
|
+
The old unused `showcase/mcp/index.html` is unnecessary for ADS's managed compiler;
|
|
179
|
+
retain a marked HTML mount only if a separate deliberate dev harness still uses it.
|
|
180
|
+
|
|
181
|
+
## 4. Separate product tokens from demonstration values
|
|
182
|
+
|
|
183
|
+
Trace consumers before changing token ownership. Foundation sheets contain product
|
|
184
|
+
palette primitives, scales and semantic roles. A value used by both production
|
|
185
|
+
and review remains a production token; review may reuse it. Component `--ds-*`
|
|
186
|
+
and pattern `--ux-*` mappings stay in their owners rather than creating more shared
|
|
187
|
+
token catalogues. Do not add `audience`, `mixed`, `unknown` or classification flags
|
|
188
|
+
as a migration prerequisite.
|
|
189
|
+
|
|
190
|
+
For values used only to size a demonstration:
|
|
191
|
+
|
|
192
|
+
1. Move the sizing into the responsible `.ads.review.*` helper/style, or use the
|
|
193
|
+
generic preview framing API if it already supplies the arrangement.
|
|
194
|
+
2. Update review consumers and remove the obsolete shared token declaration only
|
|
195
|
+
after verifying no production consumer depends on it. Remove its entry from
|
|
196
|
+
`tokens/catalog.ads.json` ([section 9](#9-let-ads-render-the-tokens-and-brand-views)).
|
|
197
|
+
3. Regenerate entries/theme output and check token coverage. Preserve product
|
|
198
|
+
colors, typography, spacing and state semantics.
|
|
199
|
+
|
|
200
|
+
Raw finite demonstration sizes are allowed only on `width`, `height`,
|
|
201
|
+
`inline-size`, `block-size` and their `min-`/`max-` variants, `flex-basis`,
|
|
202
|
+
`grid-template-columns` and `grid-template-rows` in marked review implementation.
|
|
203
|
+
This does not permit arbitrary hardcoded colors, spacing, type or motion, inline
|
|
204
|
+
styles without their normal contract, or overrides of product state styling.
|
|
205
|
+
Scenarios/fixtures still define no CSS; a helper's filename grants no other bypass.
|
|
206
|
+
|
|
207
|
+
CSS files with `.ads.*` in their name are excluded from the shared token inventory,
|
|
208
|
+
including when located beneath `tokens/`. That is not a new review token system:
|
|
209
|
+
prefer local helper geometry and existing product tokens. Move production values
|
|
210
|
+
out of a mistakenly marked sheet, and remove marked review CSS from product imports.
|
|
211
|
+
|
|
212
|
+
If reporting counts, distinguish primitive palettes/scales from semantic product
|
|
213
|
+
roles, list review-only values separately, and exclude owner mappings from shared
|
|
214
|
+
counts. Explain whether light/dark halves were collapsed. A lower inventory count
|
|
215
|
+
after removing demo values is not evidence that product tokens were lost.
|
|
216
|
+
|
|
217
|
+
## 5. Enforce the production boundary
|
|
218
|
+
|
|
219
|
+
Replace the old `draftImportGuard` import and plugin call in the production
|
|
220
|
+
Vite/Rollup configuration with `developmentImportGuard` from the same package:
|
|
221
|
+
|
|
222
|
+
```ts
|
|
223
|
+
import { developmentImportGuard } from "@reqvire-org/ads/scenarios/vite";
|
|
224
|
+
// Include developmentImportGuard() in the existing plugins array.
|
|
225
|
+
```
|
|
226
|
+
|
|
227
|
+
`draftImportGuard` is no longer exported; there is no compatibility alias.
|
|
228
|
+
`developmentImportGuard()` rejects unaccepted drafts, all `.ads.*` modules/styles
|
|
229
|
+
and the preview API, including entry loads and resolved aliases or symlinks.
|
|
230
|
+
A build that previously imported a review helper may now fail correctly.
|
|
231
|
+
Move real reusable application behavior into its production owner and keep the
|
|
232
|
+
demonstration consumer in review; do not rename development code to evade the guard.
|
|
233
|
+
|
|
234
|
+
Production imports use the generated `@ds` barrel, never `.ads.exports.ts` itself,
|
|
235
|
+
`@ds/review`, `.ads.*` source or `@reqvire-org/ads/preview`. For declaration builds,
|
|
236
|
+
start from the production entry and exclude development files. TypeScript `exclude`
|
|
237
|
+
alone does not prevent a production import from pulling them in. Inspect the real
|
|
238
|
+
production JS/CSS/declarations, including projects with another bundler.
|
|
239
|
+
|
|
240
|
+
## 6. Replace old preview builders and integrations
|
|
241
|
+
|
|
242
|
+
An ordinary 0.4.1 starter already uses `vite build` plus TypeScript for production
|
|
243
|
+
and `ads compile .` for previews. Those commands remain valid. Update its review
|
|
244
|
+
alias, replace the `draftImportGuard` import/call with `developmentImportGuard`,
|
|
245
|
+
and resolve any newly rejected production imports.
|
|
246
|
+
|
|
247
|
+
ADS now exclusively owns preview compilation through its managed Bun compiler
|
|
248
|
+
and shared resource graph. The builder removals below affect projects using those
|
|
249
|
+
old integrations. Remove or replace scripts/configuration that call removed APIs,
|
|
250
|
+
preserving any application work they also perform. Keep the application's Vite
|
|
251
|
+
build and Linaria integration. A thin script calling `compilePreviews()` from
|
|
252
|
+
`@reqvire-org/ads/scenarios/compile` remains supported, as does `ads compile .`;
|
|
253
|
+
neither needs replacing just for this upgrade. Do not launch a separate watcher
|
|
254
|
+
alongside the compiler managed by `ads mcp` or `ads showcase`.
|
|
255
|
+
|
|
256
|
+
| Old integration | Migration |
|
|
257
|
+
|-----------------|-----------|
|
|
258
|
+
| `draftImportGuard()` from `scenarios/vite` | Replace the import and call with `developmentImportGuard()`; the old export is removed. |
|
|
259
|
+
| `createVitePreviewBuilder`, `createPreviewResources`, `previewEntriesPlugin`, `scenarioRegistryPlugin`, `inlineScenarioHtml` from `scenarios/vite` | Remove preview-builder/virtual-registry usage. The export now supplies only the production guards. ADS discovers marked scenarios. |
|
|
260
|
+
| `@reqvire-org/ads/scenarios/compiler`, `/scenarios/bun`, `/mcp/build` | Removed public subpaths. Replace project builder/reporter scripts with `ads compile`, or let `ads mcp`/`ads showcase` manage compilation. |
|
|
261
|
+
| `ads lint-config`, `generateLintConfig`, `@reqvire-org/ads/oxlint`, generated `.ds/oxlintrc.json` | Remove ADS adapter wiring. Preserve project lint rules in its own configuration and execute its lint scripts alongside `ads check`. |
|
|
262
|
+
| `ads create`, `createProject`, `--name`, `--package-manager` | Setup scripts use an existing directory/package.json and `ads init --framework react\|preact`, optionally `--include-starter` for a fresh example. Init reads `packageManager` or an npm/Bun lockfile, not the launcher. Existing projects need source migration, not reinitialization. |
|
|
263
|
+
| Legacy `ds …` package scripts | Update explicitly to `ads …`; init no longer recognizes them as managed scripts. |
|
|
264
|
+
| Starter/repository `build:mcp-previews` script | Use `build:showcase` (`ads compile .`). Update callers, then delete the duplicate script. ADS recognizes `build:showcase` as configuration tooling. |
|
|
265
|
+
| Starter/repository `preview` or `preview:showcase` scripts | Use `dev:showcase` (`ads showcase`), then delete these duplicate scripts. Preserve an application's own preview command if it serves the application. |
|
|
266
|
+
| Repository `test:tool` script | Use `bun run test`; the duplicate script is removed. |
|
|
267
|
+
| Per-scenario HTML artifacts, `ui://ads/scenario`, `ui://ads/tokens` | Use discovered scenarios and the shared `ui://ads/preview` App/resource graph. |
|
|
268
|
+
| `?category=…` links | Use `?scenario=<discovered scenario id>`; do not invent a category alias. |
|
|
269
|
+
| `ads_show_tokens` | Use `ads_scenarios({kind:"tokens"})` then `ads_show_scenario({id})`. |
|
|
270
|
+
| `ads_status.previewWatch` | Read `ads_status.compiler`; also inspect build freshness/errors. |
|
|
271
|
+
| `ads_prepare_token_samples` | Removed. Token sample bindings are data in `tokens/catalog.ads.json`; edit it in a `tokens` draft ([section 9](#9-let-ads-render-the-tokens-and-brand-views)). |
|
|
272
|
+
| `ads_report_bug`, `ads_request_feature`, `ads_status.reports`, reporting guide/store | Removed. Update dependent automation; retained local report data is not a migration input and need not be deleted. |
|
|
273
|
+
| Unconditional `ads_skills` / `ads_read_skill` calls | Modern `2026-07-28` clients use native `skills/list`, `skills/get` and skill resources. The tools remain for 2025-era clients. |
|
|
274
|
+
|
|
275
|
+
The runtime's `showcaseUrl` is authoritative; `--no-showcase` produces no showcase
|
|
276
|
+
URL. Restart existing servers after upgrading so a new CLI does not talk to an
|
|
277
|
+
old process. Do not run a second watcher beside the managed compiler.
|
|
278
|
+
|
|
279
|
+
Remove the old full-preview build from `acceptance.scripts`; do not replace it
|
|
280
|
+
there with `build:showcase`. ADS already compiles the affected previews during
|
|
281
|
+
acceptance. Preserve other custom checks and any application-specific work in a
|
|
282
|
+
script before removing its old name.
|
|
283
|
+
|
|
284
|
+
## 7. Repair missing starter icon configuration
|
|
285
|
+
|
|
286
|
+
New `init --include-starter` configurations now retain the selected starter's asset
|
|
287
|
+
choices. Existing configurations are preserved, so an older copied starter can
|
|
288
|
+
have glyph files but `assets.glyphs: null`, which hides the Icons section.
|
|
289
|
+
|
|
290
|
+
If this affects the project, merge the appropriate asset paths/settings. For the
|
|
291
|
+
unchanged starter these are:
|
|
292
|
+
|
|
293
|
+
```json
|
|
294
|
+
{
|
|
295
|
+
"assets": {
|
|
296
|
+
"iconSource": "assets/brand/app-icon.svg",
|
|
297
|
+
"glyphs": {
|
|
298
|
+
"source": "assets/glyphs",
|
|
299
|
+
"output": "components/Content/Icon/glyphs.ts",
|
|
300
|
+
"attributes": {
|
|
301
|
+
"fill": "none", "stroke": "currentColor", "stroke-width": "2",
|
|
302
|
+
"stroke-linecap": "round", "stroke-linejoin": "round"
|
|
303
|
+
}
|
|
304
|
+
}
|
|
305
|
+
}
|
|
306
|
+
}
|
|
307
|
+
```
|
|
308
|
+
|
|
309
|
+
These paths are relative to `dsDir`. Preserve existing `assets` settings and the
|
|
310
|
+
project's own icon source, glyph location and paint attributes. `iconSource` is
|
|
311
|
+
for brand asset generation; `glyphs` config enables the glyph catalogue. Do not
|
|
312
|
+
point at missing starter artwork or overwrite a custom icon implementation.
|
|
313
|
+
Run `ads assets`, then verify Icons search, aliases, rendering and size/grid views.
|
|
314
|
+
|
|
315
|
+
## 8. Remove obsolete files
|
|
316
|
+
|
|
317
|
+
Finish renames as moves, not copies that leave both versions behind. ADS writes
|
|
318
|
+
the new generated entries; it does not delete every obsolete project file for you.
|
|
319
|
+
Paths below are relative to `dsDir` except where identified as project-root paths.
|
|
320
|
+
|
|
321
|
+
| Old file or responsibility | Cleanup after migrating its consumers |
|
|
322
|
+
|----------------------------|---------------------------------------|
|
|
323
|
+
| `review/index.ts` | Remove after preserving any manual export intent in owner sidecars and generating `review/index.ads.review.ts`. Update all aliases/direct imports. |
|
|
324
|
+
| `showcase/mcp/main.tsx` | Move its implementation/providers/cleanup into `main.ads.mount.tsx`; the old path must be absent. |
|
|
325
|
+
| Unmarked review implementations/styles, such as `DemoFrame.tsx` or `frame.css` | Move to their `.ads.review.*` names and update imports/contracts/exports. Remove the old copies; retain the migrated implementation. |
|
|
326
|
+
| `showcase/mcp/index.html` | Remove the old ADS preview entry when adopting the managed showcase. If a deliberate separate dev harness still uses it, migrate that harness and rename its entry to `index.ads.mount.html`. |
|
|
327
|
+
| Copied generic showcase shell, catalogue pages and framing CSS | Remove after the tool shell replaces their responsibilities and unique examples/state have moved into marked scenarios/review helpers. Names such as `Showcase.tsx`, `showcase.css` or `TokensPage.tsx` are examples, not a deletion glob. Preserve actual application UI. |
|
|
328
|
+
| Project-root scripts/configuration that exist solely for removed preview-builder APIs | Remove after updating package scripts, CI and launch settings to ADS-managed compilation. Preserve unrelated application build logic. A supported `compilePreviews()` wrapper need not be deleted. |
|
|
329
|
+
| Project-root `.ds/oxlintrc.json` and helpers used solely by the removed ADS Oxlint adapter | Remove generated adapter configuration after migrating any project rules into the project's own linter config and removing references. Keep the project's linter and its real rules. |
|
|
330
|
+
|
|
331
|
+
Remove review-only token declarations once all consumers have moved, but keep a
|
|
332
|
+
foundation sheet that still defines product tokens. Remove obsolete scripts/imports
|
|
333
|
+
from configuration along with their files; remove a dependency through the package
|
|
334
|
+
manager only if nothing retained uses it.
|
|
335
|
+
|
|
336
|
+
Old standalone showcase build outputs, such as `dist-showcase/`, can be discarded
|
|
337
|
+
if that directory belongs exclusively to the retired builder. No blanket cache
|
|
338
|
+
deletion is required. `.ds/scenarios/manifest.json` and the preview resource graph
|
|
339
|
+
remain active ADS outputs; let the target compiler regenerate them. Preserve
|
|
340
|
+
unfinished drafts (`ads-drafts/` and associated `.ds/` state), captures/report data
|
|
341
|
+
and unrelated work. Do not delete the consuming project's `design-system/`, assets,
|
|
342
|
+
Vite/TypeScript configuration or lockfile because ADS's own repository removed or
|
|
343
|
+
reorganized similarly named files.
|
|
344
|
+
|
|
345
|
+
Search for each retired path/import in source, aliases, scripts and CI, then run
|
|
346
|
+
the verification below. Include the actual removed files in the migration report.
|
|
347
|
+
|
|
348
|
+
## 9. Let ADS render the Tokens and Brand views
|
|
349
|
+
|
|
350
|
+
ADS now builds the **Tokens** section itself from the token sheets and a new
|
|
351
|
+
`tokens/catalog.ads.json`. Each catalogue group is a sidebar group with one view per kind of
|
|
352
|
+
token, `tokens/<Group>/<section>` (for example `tokens/Typography/line-height`); a group with one
|
|
353
|
+
kind is a single `tokens/<Group>` view. It builds the **Brand** section
|
|
354
|
+
(`brand/Assets`) from the artwork in `assets/brand/`, subfolders such as `pictograms/`
|
|
355
|
+
included. Projects no longer author token scenarios, brand preview scenarios or their
|
|
356
|
+
review renderers.
|
|
357
|
+
|
|
358
|
+
1. **Create the catalogue from the existing token fixtures.** Each 0.4.1 token scenario
|
|
359
|
+
(`tokens/<Name>.ads.scenario.tsx`) has a fixture with `samples: [{ token, property, probe }]`.
|
|
360
|
+
Turn each into one group, keeping the bindings unchanged:
|
|
361
|
+
|
|
362
|
+
```ts
|
|
363
|
+
// Before: tokens/Color.ads.fixture.ts
|
|
364
|
+
export const fixture = { title: "Color", samples: [
|
|
365
|
+
{ token: "--accent", property: "background-color", probe: "rgb(31, 97, 163)" },
|
|
366
|
+
] };
|
|
367
|
+
```
|
|
368
|
+
|
|
369
|
+
```json
|
|
370
|
+
// After: tokens/catalog.ads.json
|
|
371
|
+
{ "schemaVersion": 1, "groups": [
|
|
372
|
+
{ "id": "Color", "title": "Color", "samples": [
|
|
373
|
+
{ "token": "--accent", "property": "background-color", "probe": "rgb(31, 97, 163)" }
|
|
374
|
+
] }
|
|
375
|
+
] }
|
|
376
|
+
```
|
|
377
|
+
|
|
378
|
+
Group ids must be unique and each token may belong to one group. A token with no entry
|
|
379
|
+
is shown in a **Values** group with a default binding for its type; add an entry when it
|
|
380
|
+
needs a specific property.
|
|
381
|
+
2. **Remove the render-only sources.** Delete the token scenarios and fixtures under
|
|
382
|
+
`tokens/`, the `TokenPreview` review renderer and its exports sidecar, the `brand/`
|
|
383
|
+
preview scenarios and fixtures, and the `BrandPreview` renderer. Keep a product `Logo`
|
|
384
|
+
component and its own component scenario. Remove imports of the deleted renderers from
|
|
385
|
+
other review code first.
|
|
386
|
+
3. **Update references to token view ids.** Capture targets, review links, documentation and
|
|
387
|
+
scripts that name a 0.4.1 token scenario id (`tokens/Color`) now name a section view
|
|
388
|
+
(`tokens/Color/color`, `tokens/Color/text`). List the current ids with
|
|
389
|
+
`ads_scenarios({kind:"tokens"})`.
|
|
390
|
+
4. **Regenerate and check.** Run `ads assets`, then `ads check`. Invalid catalogue entries
|
|
391
|
+
are `foundation-catalog` errors. A leftover scenario whose id matches a view fails with
|
|
392
|
+
"Remove the render-only … scenario". The `brand-preview` rule no longer exists;
|
|
393
|
+
`brand-readme`, `brand-license` and `brand-unused` still apply.
|
|
394
|
+
|
|
395
|
+
## 10. Replace the Grid wrapper with @ads-layout
|
|
396
|
+
|
|
397
|
+
This applies when the project kept the 0.4.1 starter's `components/Layout/Grid` (`Grid`,
|
|
398
|
+
`GridItem`) or uses `--grid-span-N` width tokens. Layout geometry is now written with
|
|
399
|
+
`@ads-layout` in owned Linaria styles, validated against a spatial definition and compiled
|
|
400
|
+
to plain CSS; there is no layout component. Read `ads://guides/layout` (ads-designer
|
|
401
|
+
`references/layout.md`) for the constructions.
|
|
402
|
+
|
|
403
|
+
### How the layout system works
|
|
404
|
+
|
|
405
|
+
Three parts, each with one job:
|
|
406
|
+
|
|
407
|
+
1. **The spatial definition** (`tokens/spatial.ads.json`) is the one source of layout
|
|
408
|
+
values: the mini unit, the sizing scale, supported ratios, the breakpoints (each with
|
|
409
|
+
its column count and outer margin) and the gutter modes. It names token roles; change
|
|
410
|
+
values in the token sheets and every layout follows.
|
|
411
|
+
2. **Constructions** (`@ads-layout` inside an owner's Linaria `css`) say *what* a layout
|
|
412
|
+
is; ADS writes the CSS: grid templates, placement for each breakpoint, margins and the
|
|
413
|
+
maximum width, container queries and overlays. ADS checks every construction against
|
|
414
|
+
the definition during the build and `ads check`. A mistake is a `grid-construction`
|
|
415
|
+
error naming the cell and the breakpoint, before anything renders.
|
|
416
|
+
3. **Inspection.** The showcase's layout guides draw the real tracks, gutters, padding
|
|
417
|
+
and margins of the element you point at.
|
|
418
|
+
|
|
419
|
+
Pick the layout by what extra space should do:
|
|
420
|
+
|
|
421
|
+
| Layout | Extra space… | Typical use |
|
|
422
|
+
|---|---|---|
|
|
423
|
+
| `fluid` | …makes each column wider | Page content, forms, card grids |
|
|
424
|
+
| `fixed` (`tile: <token>`) | …shows more tiles | Galleries, icon grids |
|
|
425
|
+
| `hybrid` (`fixed-start` / `fixed-end`) | …goes to the fluid tracks; fixed tracks keep their size | Side panels, an indent, a rail |
|
|
426
|
+
| `flow` | …nothing; items keep their natural height | Text, settings lists |
|
|
427
|
+
| `inherited` (inside a cell) | …follows the parent's columns | Nested content that must line up with the page |
|
|
428
|
+
|
|
429
|
+
Anatomy of a construction:
|
|
430
|
+
|
|
431
|
+
```tsx
|
|
432
|
+
const page = css`
|
|
433
|
+
@ads-layout fluid { /* columns share the width: 4 / 8 / 16 by breakpoint */
|
|
434
|
+
gutter: wide; /* cell insets: where content sits inside each track */
|
|
435
|
+
row-gap: --space-16; /* space between rows, set on its own */
|
|
436
|
+
@ads-cell .ux-page-title { span: full; }
|
|
437
|
+
@ads-cell .ux-page-body { /* a direct child, named by its class */
|
|
438
|
+
span: full; /* base placement, at every width */
|
|
439
|
+
@ads-at lg { start: 3; span: 10; } /* from lg upwards */
|
|
440
|
+
}
|
|
441
|
+
}
|
|
442
|
+
`;
|
|
443
|
+
```
|
|
444
|
+
|
|
445
|
+
The rules that matter:
|
|
446
|
+
|
|
447
|
+
- **Cells are direct children,** named by a class or `[data-*]` selector that is on the
|
|
448
|
+
element.
|
|
449
|
+
- **Responsive changes go through `@ads-at <breakpoint>`.** Each one applies from that
|
|
450
|
+
breakpoint up. Never write `@media (min-width: …)` for layout tracks.
|
|
451
|
+
- **Placement is checked at every breakpoint.** `start: 3; span: 3` fails at `sm` if `sm`
|
|
452
|
+
has 4 columns; give a base placement and widen it with `@ads-at`.
|
|
453
|
+
- **Keep every construction outcome source-resolvable.** Constants, imports and local
|
|
454
|
+
helpers are supported when every return path resolves. Unknown outcomes or exceeded
|
|
455
|
+
analysis limits fail rather than leaving an alternative unchecked.
|
|
456
|
+
- **Nest deliberately.** `@ads-layout inherited` inside a cell continues the parent's
|
|
457
|
+
columns (subgrid). For an independent layout, give the cell `container: region` and
|
|
458
|
+
use `context: container` on the child layout, so it responds to the space it gets
|
|
459
|
+
rather than the window.
|
|
460
|
+
- **Regions and panels** use a hybrid layout with fixed tracks that change per breakpoint,
|
|
461
|
+
cells that `overlay: start | end` (cover instead of push), `rows: auto fill` and
|
|
462
|
+
`visible: false`. The new starter's `Shell` pattern is a complete example.
|
|
463
|
+
|
|
464
|
+
`ads://guides/layout` (ads-designer `references/layout.md`) has the full property
|
|
465
|
+
reference, worked examples and fixes for each error.
|
|
466
|
+
|
|
467
|
+
### Migration steps
|
|
468
|
+
|
|
469
|
+
1. **Add the spatial definition.** Create `tokens/spatial.ads.json` and the roles it names.
|
|
470
|
+
The new starter's values, as a starting point:
|
|
471
|
+
|
|
472
|
+
```css
|
|
473
|
+
/* tokens/spacing.css, :root */
|
|
474
|
+
--grid-mini-unit: var(--space-4);
|
|
475
|
+
--grid-fine-unit: var(--space-1);
|
|
476
|
+
--grid-breakpoint-sm: 320px; --grid-breakpoint-md: 672px; --grid-breakpoint-lg: 1056px;
|
|
477
|
+
--grid-breakpoint-xl: 1312px; --grid-breakpoint-max: 1584px;
|
|
478
|
+
--grid-max-width: var(--grid-breakpoint-max);
|
|
479
|
+
--grid-gutter-wide-start: var(--space-8); --grid-gutter-wide-end: var(--space-8);
|
|
480
|
+
--grid-gutter-narrow-start: var(--space-0); --grid-gutter-narrow-end: var(--space-8);
|
|
481
|
+
--grid-gutter-condensed-start: calc(var(--border-w) / 2);
|
|
482
|
+
--grid-gutter-condensed-end: var(--grid-gutter-condensed-start);
|
|
483
|
+
```
|
|
484
|
+
|
|
485
|
+
Copy `spatial.ads.json` from the new starter (`dist/starters/react/design-system/tokens/`)
|
|
486
|
+
and adjust it to the project's roles. Keep the existing `--grid-columns-*` and
|
|
487
|
+
`--grid-margin-*`. Remove `--grid-gutter`, `--grid-gutter-narrow` and
|
|
488
|
+
`--grid-gutter-condensed` once nothing uses them.
|
|
489
|
+
2. **Decide the breakpoints.** 0.4.1's `Grid` switched columns at 768 and 1024 px of
|
|
490
|
+
*container* width and margins at 768 and 1280 px. The new reference set is
|
|
491
|
+
320/672/1056/1312/1584 px. Keep the old thresholds by setting the `--grid-breakpoint-*`
|
|
492
|
+
values, or adopt the new ones deliberately: either way it is a visual decision, so
|
|
493
|
+
compare the affected screens.
|
|
494
|
+
3. **Mind the gutter change.** The old `gutter` prop was a CSS `gap` (32/16/1 px) on both
|
|
495
|
+
axes. Gutter modes are now **cell insets** on stable tracks (wide 16 + 16, narrow 0 + 16,
|
|
496
|
+
condensed 0.5 + 0.5), with `row-gap` set separately. Separation between cells is the
|
|
497
|
+
same, but content in the first and last cells is inset too, so keylines move. This is
|
|
498
|
+
not a textual rename; check alignment with the layout guides.
|
|
499
|
+
4. **Rewrite each consumer in its owning pattern.**
|
|
500
|
+
|
|
501
|
+
```tsx
|
|
502
|
+
// Before
|
|
503
|
+
<Grid gutter="wide">
|
|
504
|
+
<GridItem span={{ sm: 4, md: 4, lg: 8 }}><Card /></GridItem>
|
|
505
|
+
</Grid>
|
|
506
|
+
```
|
|
507
|
+
|
|
508
|
+
```tsx
|
|
509
|
+
// After
|
|
510
|
+
const cards = css`
|
|
511
|
+
@ads-layout fluid {
|
|
512
|
+
gutter: wide;
|
|
513
|
+
row-gap: --space-16;
|
|
514
|
+
@ads-cell .ux-cards-item { span: full; @ads-at md { span: 4; } @ads-at lg { span: 8; } }
|
|
515
|
+
}
|
|
516
|
+
`;
|
|
517
|
+
<div className={cards}><article className="ux-cards-item"><Card /></article></div>
|
|
518
|
+
```
|
|
519
|
+
|
|
520
|
+
Placement now cascades from the base upward: an `@ads-at` applies from that
|
|
521
|
+
breakpoint on, and the base placement applies below it. 0.4.1 made an omitted size
|
|
522
|
+
take the full row; write `span: full` where that was intended. Cells must be direct
|
|
523
|
+
children of the layout element.
|
|
524
|
+
5. **Container behaviour.** The old `Grid` answered to its own container width. The
|
|
525
|
+
equivalent is `context: container` on the layout, inside a cell declaring
|
|
526
|
+
`container: region`. The checker requires a proven owned ancestor at every owned call
|
|
527
|
+
site; wrapping one occurrence or adding a scenario-only container does not certify
|
|
528
|
+
the other occurrences. A missing ancestor is a construction error.
|
|
529
|
+
6. **Review each `--grid-span-N` use.** Inside a grid it becomes cell placement. Elsewhere
|
|
530
|
+
use `%`, `fr` or a content width token; do not replace it blindly.
|
|
531
|
+
7. **Remove the wrapper.** Delete `components/Layout/Grid` after its consumers have moved,
|
|
532
|
+
then run `ads assets` to regenerate the barrel. Layout tracks written with `@ads-layout`
|
|
533
|
+
are not judged again by `layout-fixed-width`.
|
|
534
|
+
|
|
535
|
+
## 11. Guide options and tools
|
|
536
|
+
|
|
537
|
+
- **Preview guide helpers.** `setPreviewGuides` / `observePreviewGuides` options are now a
|
|
538
|
+
`mode` (`"off" | "hover" | "always"`) plus the layer booleans. `all: true` is still read
|
|
539
|
+
as `"always"`. Always now draws the *selected* layers on every element instead of forcing
|
|
540
|
+
every layer on; select all layers for the old behaviour. A composed toolbar that passed
|
|
541
|
+
`showAll`/`onAllChange` to a guide menu passes `mode`/`onModeChange` instead.
|
|
542
|
+
- **New, optional.** The starter's `Shell` pattern (application regions and panels),
|
|
543
|
+
`IconButton`'s `id`, `expanded` and `controls` props, and the preview frame's `region`
|
|
544
|
+
layout. Component and pattern previews now mark the scenario's subject automatically;
|
|
545
|
+
nothing to migrate.
|
|
546
|
+
|
|
547
|
+
## 12. Regenerate and verify
|
|
548
|
+
|
|
549
|
+
After source/configuration migration, run the **installed target version** from
|
|
550
|
+
the consuming project root. This explicit invocation avoids fetching another
|
|
551
|
+
version through a package runner:
|
|
552
|
+
|
|
553
|
+
```sh
|
|
554
|
+
bun node_modules/@reqvire-org/ads/dist/cli.mjs assets .
|
|
555
|
+
bun node_modules/@reqvire-org/ads/dist/cli.mjs check .
|
|
556
|
+
bun node_modules/@reqvire-org/ads/dist/cli.mjs compile .
|
|
557
|
+
bun node_modules/@reqvire-org/ads/dist/cli.mjs validate .
|
|
558
|
+
```
|
|
559
|
+
|
|
560
|
+
Run the project's own typecheck, lint, production build and relevant tests as well;
|
|
561
|
+
some may already be registered under acceptance/validation scripts. Confirm full
|
|
562
|
+
validation is current, including registered behaviors and the render audit.
|
|
563
|
+
Open the project's `ads showcase` or connected runtime URL and review affected
|
|
564
|
+
token, component, pattern and composition scenarios in supported themes and sizes.
|
|
565
|
+
Exercise scenario switching, cleanup, lazy content and interactions that were moved.
|
|
566
|
+
Verify configured Icons separately. The layout-guides menu (Off · Hover · Always and
|
|
567
|
+
layer tiles) is available for Components, Patterns, Composition and the Tokens →
|
|
568
|
+
Grid system view; its guides describe each rendered element's actual geometry. It
|
|
569
|
+
stays hidden for other Tokens views, Icons and Brand.
|
|
570
|
+
|
|
571
|
+
| Failure after upgrade | Inspect/fix |
|
|
572
|
+
|-----------------------|-------------|
|
|
573
|
+
| `Unknown … configuration field` | Remove the exact retired key after migrating its intent using section 1. |
|
|
574
|
+
| `development-role` | Rename the actual development implementation/style with its supported role and update references. |
|
|
575
|
+
| `generated-entry` | Fix owner sidecars and run `ads assets`; remove obsolete generated entries after preserving any manual intent. |
|
|
576
|
+
| Missing `main.ads.mount.tsx` or unresolved review import | Apply the mount rename and review alias/exports changes, then rebuild. |
|
|
577
|
+
| `review-import`, `review-contract` or production guard rejection | Remove product→review dependencies and private product imports from review; demonstrate the public API. |
|
|
578
|
+
| “The preview resource graph is not ready for this scenario. Rebuild previews.” | Confirm the intended root/version and discovered scenario ID; inspect compiler diagnostics and build freshness, fix the failing source/configuration, then compile and reopen the scenario. A running process alone is not readiness. |
|
|
579
|
+
| `foundation-catalog` | Fix `tokens/catalog.ads.json`: unique group ids, one group per token, valid `{token, property, probe}` entries, no entries for removed tokens. |
|
|
580
|
+
| "Remove the render-only … scenario" | Delete the old token/brand scenario that duplicates an ADS view ([section 9](#9-let-ads-render-the-tokens-and-brand-views)). |
|
|
581
|
+
| `grid-construction` / `grid-definition` | Fix the `@ads-layout` rule or `spatial.ads.json` named in the message; see `ads://guides/layout`. |
|
|
582
|
+
| Unresolved `Grid`/`GridItem` import or `--grid-span-N` | Finish [section 10](#10-replace-the-grid-wrapper-with-ads-layout) for that consumer. |
|
|
583
|
+
|
|
584
|
+
Generated preview artifacts and old evidence are not migration source. Rebuild
|
|
585
|
+
them with the new compiler. Do not erase all `.ds/` to clear a preview failure:
|
|
586
|
+
it can also contain unfinished drafts and other work. Check a reported failure
|
|
587
|
+
before selectively cleaning any disposable cache.
|
|
588
|
+
|
|
589
|
+
## ADS repository only: shared starters and playground
|
|
590
|
+
|
|
591
|
+
For ADS contributors, `starters/shared/` is the sole authored design system.
|
|
592
|
+
React/Preact folders retain only native `main.ads.mount.tsx` adapters; the build
|
|
593
|
+
generates framework import/type/build differences under `dist/starters/`.
|
|
594
|
+
The duplicate repository-root `design-system/` is gone. `bun run dev` initializes
|
|
595
|
+
and serves the shipped Preact starter under `.ds/playground/`; `bun run dev:react`
|
|
596
|
+
selects React. Promote intended starter edits into `starters/shared/` or the native
|
|
597
|
+
mount, then restart. Do not maintain generated playground/dist copies by hand.
|
|
598
|
+
|
|
599
|
+
This is a tooling-repository change, not a consuming-project directory migration.
|
|
600
|
+
Existing projects keep their own `dsDir`, React/Preact choice and product source;
|
|
601
|
+
they do not need a shared-starter generator or a framework switch. The lazy-loading
|
|
602
|
+
regression fixture belongs to ADS tests, not a required consumer demo component.
|