@reqvire-org/ads 0.5.0 → 0.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -6
- package/dist/ads-errors.mjs +382 -34
- package/dist/ads-views.mjs +4 -4
- package/dist/analysis/composition-axes.mjs +48 -0
- package/dist/analysis/construction-memo.mjs +38 -0
- package/dist/analysis/context.mjs +19 -0
- package/dist/analysis/design-reads.mjs +177 -0
- package/dist/analysis/design-usage.mjs +20 -4
- package/dist/analysis/factored-classes.mjs +90 -0
- package/dist/analysis/helpers.mjs +5 -7
- package/dist/analysis/mock-check.mjs +5 -4
- package/dist/analysis/native-project.mjs +12 -0
- package/dist/analysis/owner-analysis-cache.mjs +86 -23
- package/dist/analysis/owner-analysis-key.mjs +42 -10
- package/dist/analysis/owner-choices.mjs +195 -43
- package/dist/analysis/owner-composition.mjs +152 -43
- package/dist/analysis/owner-controls.mjs +27 -0
- package/dist/analysis/owner-reuse.mjs +8 -6
- package/dist/analysis/owner-source.mjs +309 -83
- package/dist/analysis/prose-owners.mjs +57 -0
- package/dist/analysis/scenario-keys.mjs +10 -7
- package/dist/analysis/service.mjs +50 -3
- package/dist/analysis/standalone.mjs +7 -4
- package/dist/analysis/styling-ownership.mjs +22 -0
- package/dist/analysis/syntax.mjs +59 -1
- package/dist/analysis/worker-protocol.mjs +14 -2
- package/dist/analysis/worker.mjs +32 -10
- package/dist/architecture-report.mjs +26 -0
- package/dist/asset-view-facts.mjs +16 -2
- package/dist/boundaries.mjs +26 -10
- package/dist/bun-compiler.mjs +2 -2
- package/dist/check-service.mjs +29 -17
- package/dist/check.mjs +20 -7
- package/dist/cli-arguments.mjs +2 -2
- package/dist/cli.mjs +4 -4
- package/dist/composed-contrast.mjs +28 -8
- package/dist/composed-keyline.mjs +107 -0
- package/dist/config.mjs +2 -1
- package/dist/construction-output.mjs +149 -20
- package/dist/construction-spec.d.mts +320 -12
- package/dist/construction-spec.mjs +452 -69
- package/dist/corner-overpaint.mjs +65 -0
- package/dist/derived-states.mjs +182 -0
- package/dist/design-foundation.mjs +6 -1
- package/dist/design-inputs.mjs +18 -3
- package/dist/design-system-closure.mjs +12 -7
- package/dist/design-usage.mjs +8 -2
- package/dist/emit/contract.mjs +24 -5
- package/dist/emit/emission.mjs +14 -5
- package/dist/emit/font-emission.mjs +21 -1
- package/dist/emit/foundation-sheet.mjs +6 -5
- package/dist/emit/integrity.mjs +8 -2
- package/dist/emit/output-watch.mjs +120 -0
- package/dist/emit/owner-emission-cache.mjs +4 -4
- package/dist/emit/preview-emitter.mjs +4 -2
- package/dist/emit/preview-tree.mjs +1 -1
- package/dist/emit/service.mjs +8 -2
- package/dist/finding-rules.mjs +10 -0
- package/dist/font-checks.mjs +42 -0
- package/dist/font-declaration.d.mts +10 -0
- package/dist/font-declaration.mjs +25 -3
- package/dist/font-fallback.d.mts +37 -0
- package/dist/font-fallback.mjs +25 -0
- package/dist/font-macro.d.mts +10 -0
- package/dist/font-metrics.d.mts +34 -0
- package/dist/font-metrics.mjs +314 -0
- package/dist/font-model.mjs +28 -2
- package/dist/form-states.mjs +8 -0
- package/dist/foundation-macro.d.mts +1 -1
- package/dist/frame-regions.mjs +92 -9
- package/dist/grid-facts.mjs +72 -16
- package/dist/grid-lowering.mjs +11 -5
- package/dist/hover-geometry.mjs +15 -0
- package/dist/init.mjs +14 -23
- package/dist/input-digests.mjs +17 -10
- package/dist/linaria/delivery.mjs +2 -0
- package/dist/lowering-enter.mjs +31 -0
- package/dist/lowering-properties.mjs +27 -1
- package/dist/lowering-region-layout.mjs +49 -10
- package/dist/lowering-sequence.mjs +89 -0
- package/dist/lowering-session.mjs +7 -0
- package/dist/lowering-transitions.mjs +22 -8
- package/dist/mcp/build-status.mjs +9 -1
- package/dist/mcp/compiler-channel.mjs +11 -4
- package/dist/mcp/mutations.mjs +1 -0
- package/dist/mcp/preview-http.bundle.js +2 -2
- package/dist/mcp/preview-watch.mjs +2 -1
- package/dist/mcp/preview-widget.bundle.js +5 -5
- package/dist/motion-model.mjs +3 -1
- package/dist/owner-analysis-check.mjs +86 -12
- package/dist/owner-errors.mjs +20 -2
- package/dist/owner-lowering.mjs +104 -25
- package/dist/owner-scenarios.mjs +29 -4
- package/dist/ownership-model.mjs +37 -4
- package/dist/paint-contrast.mjs +5 -0
- package/dist/placeholder-contrast.mjs +18 -1
- package/dist/platform-features.mjs +35 -2
- package/dist/preview-bun.mjs +17 -16
- package/dist/preview-controls.mjs +35 -0
- package/dist/preview-incremental.mjs +1 -1
- package/dist/preview-source.mjs +2 -2
- package/dist/profile-macro.d.mts +15 -0
- package/dist/profile-model.mjs +3 -3
- package/dist/profile-view-facts.mjs +55 -4
- package/dist/prose-model.d.mts +81 -0
- package/dist/prose-model.mjs +101 -0
- package/dist/recipe-macro.d.mts +176 -15
- package/dist/recipe-model.mjs +35 -7
- package/dist/region-lowering.mjs +463 -65
- package/dist/render-audit/corner-overpaint.page.mjs +54 -0
- package/dist/render-audit/layout-shift.page.mjs +24 -0
- package/dist/render-audit/render-states.mjs +122 -1
- package/dist/render-audit/render-states.page.mjs +140 -0
- package/dist/render-audit/worker.mjs +23 -3
- package/dist/render-audit.mjs +139 -1
- package/dist/role-vocabulary.d.mts +43 -2
- package/dist/role-vocabulary.mjs +50 -4
- package/dist/scenario-kit.d.mts +6 -0
- package/dist/scenario-registry.mjs +1 -1
- package/dist/scenarios-compiler.mjs +20 -6
- package/dist/scheme-switch.d.mts +8 -0
- package/dist/scheme-switch.mjs +1 -0
- package/dist/showcase/ads-views.mjs +116 -53
- package/dist/showcase/assets-view.mjs +136 -89
- package/dist/showcase/client.bundle.js +65 -65
- package/dist/showcase/http-client.bundle.js +17 -17
- package/dist/showcase/preview-frame.css +2 -0
- package/dist/showcase/profiles-view.mjs +163 -122
- package/dist/showcase/scenario-page.d.mts +11 -1
- package/dist/showcase/scenario-page.mjs +18 -3
- package/dist/showcase/token-sample.mjs +47 -4
- package/dist/showcase/tokens-view.mjs +82 -34
- package/dist/showcase/ui/ui.css +1 -1
- package/dist/showcase/ui/ui.js +5 -5
- package/dist/skills/README.md +5 -5
- package/dist/skills/ads-designer/README.md +1 -1
- package/dist/skills/ads-designer/SKILL.md +13 -12
- package/dist/skills/ads-designer/references/accessibility.md +9 -2
- package/dist/skills/ads-designer/references/atomic-styles.md +8 -1
- package/dist/skills/ads-designer/references/branding.md +20 -5
- package/dist/skills/ads-designer/references/cli.md +4 -4
- package/dist/skills/ads-designer/references/contracts.md +14 -4
- package/dist/skills/ads-designer/references/design-craft.md +1 -1
- package/dist/skills/ads-designer/references/design-data.md +3 -3
- package/dist/skills/ads-designer/references/forms.md +6 -6
- package/dist/skills/ads-designer/references/layout.md +46 -3
- package/dist/skills/ads-designer/references/motion.md +45 -1
- package/dist/skills/ads-designer/references/performance.md +7 -1
- package/dist/skills/ads-designer/references/recipes.md +92 -7
- package/dist/skills/ads-designer/references/runtimes.md +1 -1
- package/dist/skills/ads-designer/references/scenarios.md +1 -0
- package/dist/skills/ads-import/references/atomic-styles.md +8 -1
- package/dist/skills/ads-import/references/cli.md +4 -4
- package/dist/skills/ads-import/references/contracts.md +14 -4
- package/dist/skills/ads-import/references/design-data.md +3 -3
- package/dist/skills/ads-import/references/forms.md +6 -6
- package/dist/skills/ads-import/references/layout.md +46 -3
- package/dist/skills/ads-import/references/recipes.md +92 -7
- package/dist/skills/ads-import/references/runtimes.md +1 -1
- package/dist/skills/ads-import/references/scenarios.md +1 -0
- package/dist/skills/ads-migrate/SKILL.md +3 -1
- package/dist/skills/ads-migrate/references/0.5.0-to-0.5.1.md +239 -0
- package/dist/skills/ads-migrate/references/0.5.1-to-0.5.2.md +185 -0
- package/dist/skills/ads-port/references/atomic-styles.md +8 -1
- package/dist/skills/ads-port/references/cli.md +4 -4
- package/dist/skills/ads-port/references/contracts.md +14 -4
- package/dist/skills/ads-port/references/design-data.md +3 -3
- package/dist/skills/ads-port/references/forms.md +6 -6
- package/dist/skills/ads-port/references/layout.md +46 -3
- package/dist/skills/ads-port/references/recipes.md +92 -7
- package/dist/skills/ads-port/references/runtimes.md +1 -1
- package/dist/skills/ads-port/references/scenarios.md +1 -0
- package/dist/spatial-model.mjs +20 -4
- package/dist/state-conditions.d.mts +29 -0
- package/dist/state-conditions.mjs +42 -2
- package/dist/surface-contrast.mjs +69 -10
- package/dist/surface-effects.mjs +100 -0
- package/dist/target-size.mjs +1 -1
- package/dist/task-cache.mjs +9 -19
- package/dist/token-dtcg.mjs +1 -0
- package/dist/token-view-facts.mjs +54 -5
- package/dist/unreached-sources.mjs +5 -0
- package/dist/validation-checks.mjs +1 -1
- package/dist/validation.mjs +1 -1
- package/docs/ADS.md +36 -13
- package/docs/ARCHITECTURE.md +223 -23
- package/docs/ASSETS.md +81 -10
- package/docs/CACHING.md +152 -24
- package/docs/CHANGELOG.md +525 -23
- package/docs/DESIGN-REFERENCES.md +5 -5
- package/docs/GUIDE.md +286 -73
- package/docs/LANGUAGE.md +428 -24
- package/docs/LOWERING.md +13 -1
- package/docs/MOTION.md +241 -7
- package/docs/PROFILE-KINDS.md +176 -14
- package/docs/PROFILES.md +2 -2
- package/docs/RULES.md +63 -24
- package/docs/TOKEN-ROLES.md +15 -7
- package/package.json +1 -1
- package/dist/starter-files.mjs +0 -155
- package/dist/starter-overlay.mjs +0 -189
- package/dist/starters/preact/design-system/assets/avatars/avatar.ads.ts +0 -10
- package/dist/starters/preact/design-system/assets/avatars/member.svg +0 -1
- package/dist/starters/preact/design-system/assets/brand/emblem.ads.ts +0 -18
- package/dist/starters/preact/design-system/assets/brand/emblem.svg +0 -4
- package/dist/starters/preact/design-system/assets/brand/iris-emblem.ads.ts +0 -14
- package/dist/starters/preact/design-system/assets/brand/iris-emblem.svg +0 -4
- package/dist/starters/preact/design-system/assets/brand/mark.ads.ts +0 -14
- package/dist/starters/preact/design-system/assets/brand/mark.svg +0 -1
- package/dist/starters/preact/design-system/assets/glyphs/arrow.ads.ts +0 -14
- package/dist/starters/preact/design-system/assets/glyphs/arrow.svg +0 -1
- package/dist/starters/preact/design-system/assets/glyphs/chevron-20.svg +0 -1
- package/dist/starters/preact/design-system/assets/glyphs/chevron-24.svg +0 -1
- package/dist/starters/preact/design-system/assets/glyphs/chevron.ads.ts +0 -20
- package/dist/starters/preact/design-system/assets/glyphs/close.ads.ts +0 -13
- package/dist/starters/preact/design-system/assets/glyphs/close.svg +0 -1
- package/dist/starters/preact/design-system/assets/glyphs/favorite.ads.ts +0 -23
- package/dist/starters/preact/design-system/assets/glyphs/favorite.normal.svg +0 -1
- package/dist/starters/preact/design-system/assets/glyphs/favorite.selected.svg +0 -1
- package/dist/starters/preact/design-system/assets/glyphs/search.ads.ts +0 -10
- package/dist/starters/preact/design-system/assets/glyphs/search.svg +0 -1
- package/dist/starters/preact/design-system/assets/illustrations/journey.ads.ts +0 -32
- package/dist/starters/preact/design-system/assets/illustrations/journey.contrast.svg +0 -6
- package/dist/starters/preact/design-system/assets/illustrations/journey.dark.svg +0 -13
- package/dist/starters/preact/design-system/assets/illustrations/journey.light.svg +0 -13
- package/dist/starters/preact/design-system/assets/logos/harbor-pay.ads.ts +0 -17
- package/dist/starters/preact/design-system/assets/logos/harbor-pay.dark.svg +0 -10
- package/dist/starters/preact/design-system/assets/logos/harbor-pay.light.svg +0 -10
- package/dist/starters/preact/design-system/assets/logos/lumen-cloud.ads.ts +0 -15
- package/dist/starters/preact/design-system/assets/logos/lumen-cloud.dark.svg +0 -9
- package/dist/starters/preact/design-system/assets/logos/lumen-cloud.light.svg +0 -9
- package/dist/starters/preact/design-system/assets/status/error.svg +0 -1
- package/dist/starters/preact/design-system/assets/status/outcomes.ads.ts +0 -31
- package/dist/starters/preact/design-system/assets/status/status.ads.ts +0 -16
- package/dist/starters/preact/design-system/assets/status/success.svg +0 -1
- package/dist/starters/preact/design-system/assets/status/sync-status.ads.ts +0 -14
- package/dist/starters/preact/design-system/assets/status/sync-status.svg +0 -7
- package/dist/starters/preact/design-system/assets/status/warning.svg +0 -1
- package/dist/starters/preact/design-system/components/Actions/Button/Button.ads.scenario.tsx +0 -12
- package/dist/starters/preact/design-system/components/Actions/Button/Button.tsx +0 -198
- package/dist/starters/preact/design-system/components/Actions/IconButton/IconButton.tsx +0 -95
- package/dist/starters/preact/design-system/components/Actions/ToggleTile/ToggleTile.ads.scenario.tsx +0 -22
- package/dist/starters/preact/design-system/components/Actions/ToggleTile/ToggleTile.tsx +0 -60
- package/dist/starters/preact/design-system/components/Containers/Disclosure/Disclosure.ads.scenario.tsx +0 -24
- package/dist/starters/preact/design-system/components/Containers/Disclosure/Disclosure.tsx +0 -50
- package/dist/starters/preact/design-system/components/Content/Artwork/Artwork.ads.scenario.tsx +0 -8
- package/dist/starters/preact/design-system/components/Content/Artwork/Artwork.tsx +0 -110
- package/dist/starters/preact/design-system/components/Content/BarChart/BarChart.ads.scenario.tsx +0 -25
- package/dist/starters/preact/design-system/components/Content/BarChart/BarChart.tsx +0 -72
- package/dist/starters/preact/design-system/components/Content/GuideGrid/GuideGrid.ads.scenario.tsx +0 -8
- package/dist/starters/preact/design-system/components/Content/GuideGrid/GuideGrid.tsx +0 -43
- package/dist/starters/preact/design-system/components/Content/Icon/Icon.ads.scenario.tsx +0 -21
- package/dist/starters/preact/design-system/components/Content/Icon/Icon.tsx +0 -41
- package/dist/starters/preact/design-system/components/Content/Icon/glyphs/arrow.tsx +0 -10
- package/dist/starters/preact/design-system/components/Content/Icon/glyphs/close.tsx +0 -10
- package/dist/starters/preact/design-system/components/Content/Icon/glyphs/search.tsx +0 -10
- package/dist/starters/preact/design-system/components/Content/Image/Image.ads.fixture.ts +0 -9
- package/dist/starters/preact/design-system/components/Content/Image/Image.ads.scenario.tsx +0 -12
- package/dist/starters/preact/design-system/components/Content/Image/Image.tsx +0 -83
- package/dist/starters/preact/design-system/components/Content/InspectedGlyph/InspectedGlyph.ads.scenario.tsx +0 -27
- package/dist/starters/preact/design-system/components/Content/InspectedGlyph/InspectedGlyph.tsx +0 -46
- package/dist/starters/preact/design-system/components/Content/PartnerLogo/PartnerLogo.ads.scenario.tsx +0 -17
- package/dist/starters/preact/design-system/components/Content/PartnerLogo/PartnerLogo.tsx +0 -41
- package/dist/starters/preact/design-system/components/Content/StatusIcon/StatusIcon.ads.scenario.tsx +0 -20
- package/dist/starters/preact/design-system/components/Content/StatusIcon/StatusIcon.tsx +0 -37
- package/dist/starters/preact/design-system/components/Forms/TextField/TextField.ads.scenario.tsx +0 -24
- package/dist/starters/preact/design-system/components/Forms/TextField/TextField.tsx +0 -173
- package/dist/starters/preact/design-system/components/Identity/Identity.ads.scenario.tsx +0 -13
- package/dist/starters/preact/design-system/components/Identity/Identity.tsx +0 -146
- package/dist/starters/preact/design-system/components/Overlays/Menu/Menu.ads.scenario.tsx +0 -27
- package/dist/starters/preact/design-system/components/Overlays/Menu/Menu.tsx +0 -194
- package/dist/starters/preact/design-system/components/Overlays/Popover/Popover.ads.scenario.tsx +0 -19
- package/dist/starters/preact/design-system/components/Overlays/Popover/Popover.tsx +0 -37
- package/dist/starters/preact/design-system/controllers/FormField/FormField.ads.behavior.ts +0 -70
- package/dist/starters/preact/design-system/controllers/FormField/FormField.behavior.spec.ts +0 -237
- package/dist/starters/preact/design-system/controllers/FormField/FormField.ts +0 -343
- package/dist/starters/preact/design-system/controllers/FormField/useFormField.ts +0 -70
- package/dist/starters/preact/design-system/controllers/Palette/Palette.ts +0 -165
- package/dist/starters/preact/design-system/foundation.ads.ts +0 -22
- package/dist/starters/preact/design-system/index.ts +0 -51
- package/dist/starters/preact/design-system/mocks/ConstructionProofs/ConstructionProofs.ads.fixture.ts +0 -5
- package/dist/starters/preact/design-system/mocks/ConstructionProofs/ConstructionProofs.ads.scenario.tsx +0 -22
- package/dist/starters/preact/design-system/mocks/Inspector/Inspector.ads.fixture.ts +0 -12
- package/dist/starters/preact/design-system/mocks/Inspector/Inspector.ads.scenario.tsx +0 -21
- package/dist/starters/preact/design-system/mocks/Workspace/Layouts.ads.scenario.tsx +0 -24
- package/dist/starters/preact/design-system/mocks/Workspace/Media.ads.scenario.tsx +0 -24
- package/dist/starters/preact/design-system/mocks/Workspace/Stress.ads.scenario.tsx +0 -36
- package/dist/starters/preact/design-system/mocks/Workspace/Workspace.ads.fixture.ts +0 -13
- package/dist/starters/preact/design-system/mocks/Workspace/Workspace.ads.scenario.tsx +0 -27
- package/dist/starters/preact/design-system/mocks/Workspace/media/ads.svg +0 -1
- package/dist/starters/preact/design-system/palette.generated.ts +0 -188
- package/dist/starters/preact/design-system/patterns/ArtworkCatalogue/ArtworkCatalogue/ArtworkCatalogue.tsx +0 -73
- package/dist/starters/preact/design-system/patterns/ConstructionWorkbench/ConstructionWorkbench/ConstructionWorkbench.ads.scenario.tsx +0 -23
- package/dist/starters/preact/design-system/patterns/ConstructionWorkbench/ConstructionWorkbench/ConstructionWorkbench.tsx +0 -94
- package/dist/starters/preact/design-system/patterns/Forms/InviteMember/InviteMember.ads.scenario.tsx +0 -21
- package/dist/starters/preact/design-system/patterns/Forms/InviteMember/InviteMember.tsx +0 -137
- package/dist/starters/preact/design-system/patterns/Inspector/Inspector/Inspector.ads.scenario.tsx +0 -22
- package/dist/starters/preact/design-system/patterns/Inspector/Inspector/Inspector.tsx +0 -248
- package/dist/starters/preact/design-system/patterns/Shell/Shell.ads.scenario.tsx +0 -26
- package/dist/starters/preact/design-system/patterns/Shell/Shell.tsx +0 -268
- package/dist/starters/preact/design-system/patterns/Workspace/Workspace/Workspace.ads.scenario.tsx +0 -28
- package/dist/starters/preact/design-system/patterns/Workspace/Workspace/Workspace.tsx +0 -105
- package/dist/starters/preact/design-system/patterns/Workspace/Workspace/WorkspacePanels.tsx +0 -179
- package/dist/starters/preact/design-system/profiles/Containers/containers.ads.ts +0 -67
- package/dist/starters/preact/design-system/profiles/Containers/frames.ads.ts +0 -32
- package/dist/starters/preact/design-system/profiles/Containers/geometry.ads.ts +0 -30
- package/dist/starters/preact/design-system/profiles/Containers/spacing.ads.ts +0 -26
- package/dist/starters/preact/design-system/profiles/Controls/controls.ads.ts +0 -157
- package/dist/starters/preact/design-system/profiles/Controls/frames.ads.ts +0 -50
- package/dist/starters/preact/design-system/profiles/Controls/spacing.ads.ts +0 -29
- package/dist/starters/preact/design-system/profiles/Focus/keyboard.ads.ts +0 -13
- package/dist/starters/preact/design-system/profiles/Identity/identity.ads.ts +0 -25
- package/dist/starters/preact/design-system/profiles/Identity/spacing.ads.ts +0 -22
- package/dist/starters/preact/design-system/profiles/Layout/grid.ads.ts +0 -69
- package/dist/starters/preact/design-system/profiles/Layout/inspector.ads.ts +0 -146
- package/dist/starters/preact/design-system/profiles/Layout/overlays.ads.ts +0 -94
- package/dist/starters/preact/design-system/profiles/Layout/regions.ads.ts +0 -296
- package/dist/starters/preact/design-system/profiles/Motion/feedback.ads.ts +0 -92
- package/dist/starters/preact/design-system/profiles/Surfaces/controls.ads.ts +0 -142
- package/dist/starters/preact/design-system/profiles/Surfaces/document.ads.ts +0 -2
- package/dist/starters/preact/design-system/profiles/Surfaces/materials.ads.ts +0 -18
- package/dist/starters/preact/design-system/profiles/Surfaces/surfaces.ads.ts +0 -48
- package/dist/starters/preact/design-system/profiles/Typography/details.ads.ts +0 -19
- package/dist/starters/preact/design-system/profiles/Typography/document.ads.ts +0 -2
- package/dist/starters/preact/design-system/profiles/Typography/headings.ads.ts +0 -15
- package/dist/starters/preact/design-system/profiles/Typography/text.ads.ts +0 -73
- package/dist/starters/preact/design-system/profiles/Visuals/artwork.ads.ts +0 -46
- package/dist/starters/preact/design-system/profiles/Visuals/charts.ads.ts +0 -31
- package/dist/starters/preact/design-system/profiles/Visuals/content.ads.ts +0 -52
- package/dist/starters/preact/design-system/profiles/Visuals/glyphs.ads.ts +0 -35
- package/dist/starters/preact/design-system/profiles/Visuals/identity.ads.ts +0 -24
- package/dist/starters/preact/design-system/tokens/Artwork/paint.ads.css +0 -7
- package/dist/starters/preact/design-system/tokens/Artwork/visual-size.ads.css +0 -12
- package/dist/starters/preact/design-system/tokens/Brand/paint.ads.css +0 -7
- package/dist/starters/preact/design-system/tokens/Charts/paint.ads.css +0 -19
- package/dist/starters/preact/design-system/tokens/Containers/border-width.ads.css +0 -1
- package/dist/starters/preact/design-system/tokens/Containers/content-gap.ads.css +0 -5
- package/dist/starters/preact/design-system/tokens/Containers/frame-inset.ads.css +0 -6
- package/dist/starters/preact/design-system/tokens/Containers/frame-size.ads.css +0 -11
- package/dist/starters/preact/design-system/tokens/Containers/radius.ads.css +0 -1
- package/dist/starters/preact/design-system/tokens/Controls/border-width.ads.css +0 -4
- package/dist/starters/preact/design-system/tokens/Controls/content-gap.ads.css +0 -6
- package/dist/starters/preact/design-system/tokens/Controls/control-min-size.ads.css +0 -17
- package/dist/starters/preact/design-system/tokens/Controls/frame-inset.ads.css +0 -21
- package/dist/starters/preact/design-system/tokens/Controls/radius.ads.css +0 -1
- package/dist/starters/preact/design-system/tokens/Controls/target-min-size.ads.css +0 -2
- package/dist/starters/preact/design-system/tokens/Controls/visual-size.ads.css +0 -2
- package/dist/starters/preact/design-system/tokens/Focus/border-width.ads.css +0 -1
- package/dist/starters/preact/design-system/tokens/Focus/focus-offset.ads.css +0 -1
- package/dist/starters/preact/design-system/tokens/Foundation/spacing.ads.css +0 -20
- package/dist/starters/preact/design-system/tokens/Grid/grid-gutter.ads.css +0 -6
- package/dist/starters/preact/design-system/tokens/Grid/layer.ads.css +0 -2
- package/dist/starters/preact/design-system/tokens/Grid/layout-size.ads.css +0 -15
- package/dist/starters/preact/design-system/tokens/Grid/spacing.ads.css +0 -12
- package/dist/starters/preact/design-system/tokens/Grid/track-count.ads.css +0 -1
- package/dist/starters/preact/design-system/tokens/Identity/content-gap.ads.css +0 -6
- package/dist/starters/preact/design-system/tokens/Identity/visual-size.ads.css +0 -1
- package/dist/starters/preact/design-system/tokens/Motion/duration.ads.css +0 -6
- package/dist/starters/preact/design-system/tokens/Motion/easing.ads.css +0 -5
- package/dist/starters/preact/design-system/tokens/Motion/motion-angle.ads.css +0 -1
- package/dist/starters/preact/design-system/tokens/Motion/motion-distance.ads.css +0 -2
- package/dist/starters/preact/design-system/tokens/Motion/motion-scale.ads.css +0 -9
- package/dist/starters/preact/design-system/tokens/Surfaces/blur.ads.css +0 -2
- package/dist/starters/preact/design-system/tokens/Surfaces/gradient.ads.css +0 -2
- package/dist/starters/preact/design-system/tokens/Surfaces/opacity.ads.css +0 -2
- package/dist/starters/preact/design-system/tokens/Surfaces/paint.ads.css +0 -58
- package/dist/starters/preact/design-system/tokens/Surfaces/shadow.ads.css +0 -20
- package/dist/starters/preact/design-system/tokens/Typography/font-family.ads.css +0 -1
- package/dist/starters/preact/design-system/tokens/Typography/font-features.ads.css +0 -1
- package/dist/starters/preact/design-system/tokens/Typography/font-size.ads.css +0 -9
- package/dist/starters/preact/design-system/tokens/Typography/font-stretch.ads.css +0 -1
- package/dist/starters/preact/design-system/tokens/Typography/font-variations.ads.css +0 -1
- package/dist/starters/preact/design-system/tokens/Typography/font-weight.ads.css +0 -1
- package/dist/starters/preact/design-system/tokens/Typography/letter-spacing.ads.css +0 -1
- package/dist/starters/preact/design-system/tokens/Typography/line-height.ads.css +0 -11
- package/dist/starters/preact/design-system/tokens/Typography/word-spacing.ads.css +0 -1
- package/dist/starters/preact/starter.json +0 -11
- package/dist/starters/react/design-system/assets/avatars/avatar.ads.ts +0 -10
- package/dist/starters/react/design-system/assets/avatars/member.svg +0 -1
- package/dist/starters/react/design-system/assets/brand/emblem.ads.ts +0 -18
- package/dist/starters/react/design-system/assets/brand/emblem.svg +0 -4
- package/dist/starters/react/design-system/assets/brand/iris-emblem.ads.ts +0 -14
- package/dist/starters/react/design-system/assets/brand/iris-emblem.svg +0 -4
- package/dist/starters/react/design-system/assets/brand/mark.ads.ts +0 -14
- package/dist/starters/react/design-system/assets/brand/mark.svg +0 -1
- package/dist/starters/react/design-system/assets/glyphs/arrow.ads.ts +0 -14
- package/dist/starters/react/design-system/assets/glyphs/arrow.svg +0 -1
- package/dist/starters/react/design-system/assets/glyphs/chevron-20.svg +0 -1
- package/dist/starters/react/design-system/assets/glyphs/chevron-24.svg +0 -1
- package/dist/starters/react/design-system/assets/glyphs/chevron.ads.ts +0 -20
- package/dist/starters/react/design-system/assets/glyphs/close.ads.ts +0 -13
- package/dist/starters/react/design-system/assets/glyphs/close.svg +0 -1
- package/dist/starters/react/design-system/assets/glyphs/favorite.ads.ts +0 -23
- package/dist/starters/react/design-system/assets/glyphs/favorite.normal.svg +0 -1
- package/dist/starters/react/design-system/assets/glyphs/favorite.selected.svg +0 -1
- package/dist/starters/react/design-system/assets/glyphs/search.ads.ts +0 -10
- package/dist/starters/react/design-system/assets/glyphs/search.svg +0 -1
- package/dist/starters/react/design-system/assets/illustrations/journey.ads.ts +0 -32
- package/dist/starters/react/design-system/assets/illustrations/journey.contrast.svg +0 -6
- package/dist/starters/react/design-system/assets/illustrations/journey.dark.svg +0 -13
- package/dist/starters/react/design-system/assets/illustrations/journey.light.svg +0 -13
- package/dist/starters/react/design-system/assets/logos/harbor-pay.ads.ts +0 -17
- package/dist/starters/react/design-system/assets/logos/harbor-pay.dark.svg +0 -10
- package/dist/starters/react/design-system/assets/logos/harbor-pay.light.svg +0 -10
- package/dist/starters/react/design-system/assets/logos/lumen-cloud.ads.ts +0 -15
- package/dist/starters/react/design-system/assets/logos/lumen-cloud.dark.svg +0 -9
- package/dist/starters/react/design-system/assets/logos/lumen-cloud.light.svg +0 -9
- package/dist/starters/react/design-system/assets/status/error.svg +0 -1
- package/dist/starters/react/design-system/assets/status/outcomes.ads.ts +0 -31
- package/dist/starters/react/design-system/assets/status/status.ads.ts +0 -16
- package/dist/starters/react/design-system/assets/status/success.svg +0 -1
- package/dist/starters/react/design-system/assets/status/sync-status.ads.ts +0 -14
- package/dist/starters/react/design-system/assets/status/sync-status.svg +0 -7
- package/dist/starters/react/design-system/assets/status/warning.svg +0 -1
- package/dist/starters/react/design-system/components/Actions/Button/Button.ads.scenario.tsx +0 -12
- package/dist/starters/react/design-system/components/Actions/Button/Button.tsx +0 -198
- package/dist/starters/react/design-system/components/Actions/IconButton/IconButton.tsx +0 -95
- package/dist/starters/react/design-system/components/Actions/ToggleTile/ToggleTile.ads.scenario.tsx +0 -22
- package/dist/starters/react/design-system/components/Actions/ToggleTile/ToggleTile.tsx +0 -60
- package/dist/starters/react/design-system/components/Containers/Disclosure/Disclosure.ads.scenario.tsx +0 -24
- package/dist/starters/react/design-system/components/Containers/Disclosure/Disclosure.tsx +0 -50
- package/dist/starters/react/design-system/components/Content/Artwork/Artwork.ads.scenario.tsx +0 -8
- package/dist/starters/react/design-system/components/Content/Artwork/Artwork.tsx +0 -110
- package/dist/starters/react/design-system/components/Content/BarChart/BarChart.ads.scenario.tsx +0 -25
- package/dist/starters/react/design-system/components/Content/BarChart/BarChart.tsx +0 -72
- package/dist/starters/react/design-system/components/Content/GuideGrid/GuideGrid.ads.scenario.tsx +0 -8
- package/dist/starters/react/design-system/components/Content/GuideGrid/GuideGrid.tsx +0 -43
- package/dist/starters/react/design-system/components/Content/Icon/Icon.ads.scenario.tsx +0 -21
- package/dist/starters/react/design-system/components/Content/Icon/Icon.tsx +0 -41
- package/dist/starters/react/design-system/components/Content/Icon/glyphs/arrow.tsx +0 -10
- package/dist/starters/react/design-system/components/Content/Icon/glyphs/close.tsx +0 -10
- package/dist/starters/react/design-system/components/Content/Icon/glyphs/search.tsx +0 -10
- package/dist/starters/react/design-system/components/Content/Image/Image.ads.fixture.ts +0 -9
- package/dist/starters/react/design-system/components/Content/Image/Image.ads.scenario.tsx +0 -12
- package/dist/starters/react/design-system/components/Content/Image/Image.tsx +0 -83
- package/dist/starters/react/design-system/components/Content/InspectedGlyph/InspectedGlyph.ads.scenario.tsx +0 -27
- package/dist/starters/react/design-system/components/Content/InspectedGlyph/InspectedGlyph.tsx +0 -46
- package/dist/starters/react/design-system/components/Content/PartnerLogo/PartnerLogo.ads.scenario.tsx +0 -17
- package/dist/starters/react/design-system/components/Content/PartnerLogo/PartnerLogo.tsx +0 -41
- package/dist/starters/react/design-system/components/Content/StatusIcon/StatusIcon.ads.scenario.tsx +0 -20
- package/dist/starters/react/design-system/components/Content/StatusIcon/StatusIcon.tsx +0 -37
- package/dist/starters/react/design-system/components/Forms/TextField/TextField.ads.scenario.tsx +0 -24
- package/dist/starters/react/design-system/components/Forms/TextField/TextField.tsx +0 -173
- package/dist/starters/react/design-system/components/Identity/Identity.ads.scenario.tsx +0 -13
- package/dist/starters/react/design-system/components/Identity/Identity.tsx +0 -146
- package/dist/starters/react/design-system/components/Overlays/Menu/Menu.ads.scenario.tsx +0 -27
- package/dist/starters/react/design-system/components/Overlays/Menu/Menu.tsx +0 -194
- package/dist/starters/react/design-system/components/Overlays/Popover/Popover.ads.scenario.tsx +0 -19
- package/dist/starters/react/design-system/components/Overlays/Popover/Popover.tsx +0 -37
- package/dist/starters/react/design-system/controllers/FormField/FormField.ads.behavior.ts +0 -70
- package/dist/starters/react/design-system/controllers/FormField/FormField.behavior.spec.ts +0 -237
- package/dist/starters/react/design-system/controllers/FormField/FormField.ts +0 -343
- package/dist/starters/react/design-system/controllers/FormField/useFormField.ts +0 -70
- package/dist/starters/react/design-system/controllers/Palette/Palette.ts +0 -165
- package/dist/starters/react/design-system/foundation.ads.ts +0 -22
- package/dist/starters/react/design-system/index.ts +0 -51
- package/dist/starters/react/design-system/mocks/ConstructionProofs/ConstructionProofs.ads.fixture.ts +0 -5
- package/dist/starters/react/design-system/mocks/ConstructionProofs/ConstructionProofs.ads.scenario.tsx +0 -22
- package/dist/starters/react/design-system/mocks/Inspector/Inspector.ads.fixture.ts +0 -12
- package/dist/starters/react/design-system/mocks/Inspector/Inspector.ads.scenario.tsx +0 -21
- package/dist/starters/react/design-system/mocks/Workspace/Layouts.ads.scenario.tsx +0 -24
- package/dist/starters/react/design-system/mocks/Workspace/Media.ads.scenario.tsx +0 -24
- package/dist/starters/react/design-system/mocks/Workspace/Stress.ads.scenario.tsx +0 -36
- package/dist/starters/react/design-system/mocks/Workspace/Workspace.ads.fixture.ts +0 -13
- package/dist/starters/react/design-system/mocks/Workspace/Workspace.ads.scenario.tsx +0 -27
- package/dist/starters/react/design-system/mocks/Workspace/media/ads.svg +0 -1
- package/dist/starters/react/design-system/palette.generated.ts +0 -188
- package/dist/starters/react/design-system/patterns/ArtworkCatalogue/ArtworkCatalogue/ArtworkCatalogue.tsx +0 -73
- package/dist/starters/react/design-system/patterns/ConstructionWorkbench/ConstructionWorkbench/ConstructionWorkbench.ads.scenario.tsx +0 -23
- package/dist/starters/react/design-system/patterns/ConstructionWorkbench/ConstructionWorkbench/ConstructionWorkbench.tsx +0 -94
- package/dist/starters/react/design-system/patterns/Forms/InviteMember/InviteMember.ads.scenario.tsx +0 -21
- package/dist/starters/react/design-system/patterns/Forms/InviteMember/InviteMember.tsx +0 -137
- package/dist/starters/react/design-system/patterns/Inspector/Inspector/Inspector.ads.scenario.tsx +0 -22
- package/dist/starters/react/design-system/patterns/Inspector/Inspector/Inspector.tsx +0 -248
- package/dist/starters/react/design-system/patterns/Shell/Shell.ads.scenario.tsx +0 -26
- package/dist/starters/react/design-system/patterns/Shell/Shell.tsx +0 -268
- package/dist/starters/react/design-system/patterns/Workspace/Workspace/Workspace.ads.scenario.tsx +0 -28
- package/dist/starters/react/design-system/patterns/Workspace/Workspace/Workspace.tsx +0 -105
- package/dist/starters/react/design-system/patterns/Workspace/Workspace/WorkspacePanels.tsx +0 -179
- package/dist/starters/react/design-system/profiles/Containers/containers.ads.ts +0 -67
- package/dist/starters/react/design-system/profiles/Containers/frames.ads.ts +0 -32
- package/dist/starters/react/design-system/profiles/Containers/geometry.ads.ts +0 -30
- package/dist/starters/react/design-system/profiles/Containers/spacing.ads.ts +0 -26
- package/dist/starters/react/design-system/profiles/Controls/controls.ads.ts +0 -157
- package/dist/starters/react/design-system/profiles/Controls/frames.ads.ts +0 -50
- package/dist/starters/react/design-system/profiles/Controls/spacing.ads.ts +0 -29
- package/dist/starters/react/design-system/profiles/Focus/keyboard.ads.ts +0 -13
- package/dist/starters/react/design-system/profiles/Identity/identity.ads.ts +0 -25
- package/dist/starters/react/design-system/profiles/Identity/spacing.ads.ts +0 -22
- package/dist/starters/react/design-system/profiles/Layout/grid.ads.ts +0 -69
- package/dist/starters/react/design-system/profiles/Layout/inspector.ads.ts +0 -146
- package/dist/starters/react/design-system/profiles/Layout/overlays.ads.ts +0 -94
- package/dist/starters/react/design-system/profiles/Layout/regions.ads.ts +0 -296
- package/dist/starters/react/design-system/profiles/Motion/feedback.ads.ts +0 -92
- package/dist/starters/react/design-system/profiles/Surfaces/controls.ads.ts +0 -142
- package/dist/starters/react/design-system/profiles/Surfaces/document.ads.ts +0 -2
- package/dist/starters/react/design-system/profiles/Surfaces/materials.ads.ts +0 -18
- package/dist/starters/react/design-system/profiles/Surfaces/surfaces.ads.ts +0 -48
- package/dist/starters/react/design-system/profiles/Typography/details.ads.ts +0 -19
- package/dist/starters/react/design-system/profiles/Typography/document.ads.ts +0 -2
- package/dist/starters/react/design-system/profiles/Typography/headings.ads.ts +0 -15
- package/dist/starters/react/design-system/profiles/Typography/text.ads.ts +0 -73
- package/dist/starters/react/design-system/profiles/Visuals/artwork.ads.ts +0 -46
- package/dist/starters/react/design-system/profiles/Visuals/charts.ads.ts +0 -31
- package/dist/starters/react/design-system/profiles/Visuals/content.ads.ts +0 -52
- package/dist/starters/react/design-system/profiles/Visuals/glyphs.ads.ts +0 -35
- package/dist/starters/react/design-system/profiles/Visuals/identity.ads.ts +0 -24
- package/dist/starters/react/design-system/tokens/Artwork/paint.ads.css +0 -7
- package/dist/starters/react/design-system/tokens/Artwork/visual-size.ads.css +0 -12
- package/dist/starters/react/design-system/tokens/Brand/paint.ads.css +0 -7
- package/dist/starters/react/design-system/tokens/Charts/paint.ads.css +0 -19
- package/dist/starters/react/design-system/tokens/Containers/border-width.ads.css +0 -1
- package/dist/starters/react/design-system/tokens/Containers/content-gap.ads.css +0 -5
- package/dist/starters/react/design-system/tokens/Containers/frame-inset.ads.css +0 -6
- package/dist/starters/react/design-system/tokens/Containers/frame-size.ads.css +0 -11
- package/dist/starters/react/design-system/tokens/Containers/radius.ads.css +0 -1
- package/dist/starters/react/design-system/tokens/Controls/border-width.ads.css +0 -4
- package/dist/starters/react/design-system/tokens/Controls/content-gap.ads.css +0 -6
- package/dist/starters/react/design-system/tokens/Controls/control-min-size.ads.css +0 -17
- package/dist/starters/react/design-system/tokens/Controls/frame-inset.ads.css +0 -21
- package/dist/starters/react/design-system/tokens/Controls/radius.ads.css +0 -1
- package/dist/starters/react/design-system/tokens/Controls/target-min-size.ads.css +0 -2
- package/dist/starters/react/design-system/tokens/Controls/visual-size.ads.css +0 -2
- package/dist/starters/react/design-system/tokens/Focus/border-width.ads.css +0 -1
- package/dist/starters/react/design-system/tokens/Focus/focus-offset.ads.css +0 -1
- package/dist/starters/react/design-system/tokens/Foundation/spacing.ads.css +0 -20
- package/dist/starters/react/design-system/tokens/Grid/grid-gutter.ads.css +0 -6
- package/dist/starters/react/design-system/tokens/Grid/layer.ads.css +0 -2
- package/dist/starters/react/design-system/tokens/Grid/layout-size.ads.css +0 -15
- package/dist/starters/react/design-system/tokens/Grid/spacing.ads.css +0 -12
- package/dist/starters/react/design-system/tokens/Grid/track-count.ads.css +0 -1
- package/dist/starters/react/design-system/tokens/Identity/content-gap.ads.css +0 -6
- package/dist/starters/react/design-system/tokens/Identity/visual-size.ads.css +0 -1
- package/dist/starters/react/design-system/tokens/Motion/duration.ads.css +0 -6
- package/dist/starters/react/design-system/tokens/Motion/easing.ads.css +0 -5
- package/dist/starters/react/design-system/tokens/Motion/motion-angle.ads.css +0 -1
- package/dist/starters/react/design-system/tokens/Motion/motion-distance.ads.css +0 -2
- package/dist/starters/react/design-system/tokens/Motion/motion-scale.ads.css +0 -9
- package/dist/starters/react/design-system/tokens/Surfaces/blur.ads.css +0 -2
- package/dist/starters/react/design-system/tokens/Surfaces/gradient.ads.css +0 -2
- package/dist/starters/react/design-system/tokens/Surfaces/opacity.ads.css +0 -2
- package/dist/starters/react/design-system/tokens/Surfaces/paint.ads.css +0 -58
- package/dist/starters/react/design-system/tokens/Surfaces/shadow.ads.css +0 -20
- package/dist/starters/react/design-system/tokens/Typography/font-family.ads.css +0 -1
- package/dist/starters/react/design-system/tokens/Typography/font-features.ads.css +0 -1
- package/dist/starters/react/design-system/tokens/Typography/font-size.ads.css +0 -9
- package/dist/starters/react/design-system/tokens/Typography/font-stretch.ads.css +0 -1
- package/dist/starters/react/design-system/tokens/Typography/font-variations.ads.css +0 -1
- package/dist/starters/react/design-system/tokens/Typography/font-weight.ads.css +0 -1
- package/dist/starters/react/design-system/tokens/Typography/letter-spacing.ads.css +0 -1
- package/dist/starters/react/design-system/tokens/Typography/line-height.ads.css +0 -11
- package/dist/starters/react/design-system/tokens/Typography/word-spacing.ads.css +0 -1
- package/dist/starters/react/starter.json +0 -11
- package/docs/STARTER.md +0 -167
package/docs/CHANGELOG.md
CHANGED
|
@@ -1,61 +1,563 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
##
|
|
4
|
-
|
|
5
|
-
## 0.5.0
|
|
3
|
+
## 0.5.2
|
|
6
4
|
|
|
7
5
|
<!-- ads-local-tests:start -->
|
|
8
|
-
Local verification: **
|
|
9
|
-
Tested commit: `
|
|
10
|
-
Completed 2026-11-
|
|
6
|
+
Local verification: **2057/2057 passed** with `bun run test`.
|
|
7
|
+
Tested commit: `78b12682fd713a89b7e6568e8ceff8253dde2164`; Bun 1.4.4.
|
|
8
|
+
Completed 2026-11-22T19:17:44.135Z (1218 seconds).
|
|
11
9
|
|
|
12
10
|
<!-- ads-local-test-proof
|
|
13
11
|
{
|
|
14
12
|
"schema": 3,
|
|
15
|
-
"version": "0.5.
|
|
16
|
-
"commit": "
|
|
17
|
-
"sourceSha256": "
|
|
13
|
+
"version": "0.5.2",
|
|
14
|
+
"commit": "78b12682fd713a89b7e6568e8ceff8253dde2164",
|
|
15
|
+
"sourceSha256": "5a604aaed2bda2c6992be54e566251b3a3f3286085fab6845c2006356dc78f55",
|
|
18
16
|
"command": "bun run test",
|
|
19
17
|
"result": "pass",
|
|
20
|
-
"tests":
|
|
21
|
-
"pass":
|
|
18
|
+
"tests": 2057,
|
|
19
|
+
"pass": 2057,
|
|
22
20
|
"fail": 0,
|
|
23
21
|
"skipped": 0,
|
|
24
22
|
"groups": [
|
|
25
23
|
{
|
|
26
24
|
"name": "unit",
|
|
27
|
-
"tests":
|
|
28
|
-
"pass":
|
|
25
|
+
"tests": 794,
|
|
26
|
+
"pass": 794,
|
|
29
27
|
"fail": 0,
|
|
30
28
|
"skipped": 0,
|
|
31
|
-
"reportSha256": "
|
|
29
|
+
"reportSha256": "4ac02df92738ab8b238858afcaf74b67e3fc685a8e6e36fdbd661235ac06e7b3"
|
|
32
30
|
},
|
|
33
31
|
{
|
|
34
32
|
"name": "integration",
|
|
35
|
-
"tests":
|
|
36
|
-
"pass":
|
|
33
|
+
"tests": 959,
|
|
34
|
+
"pass": 959,
|
|
37
35
|
"fail": 0,
|
|
38
36
|
"skipped": 0,
|
|
39
|
-
"reportSha256": "
|
|
37
|
+
"reportSha256": "d7680d3c352321f6cc0865b431331b61b102b0c127a85d9b8ec01938ed401453"
|
|
40
38
|
},
|
|
41
39
|
{
|
|
42
40
|
"name": "browser",
|
|
43
|
-
"tests":
|
|
44
|
-
"pass":
|
|
41
|
+
"tests": 304,
|
|
42
|
+
"pass": 304,
|
|
45
43
|
"fail": 0,
|
|
46
44
|
"skipped": 0,
|
|
47
|
-
"reportSha256": "
|
|
45
|
+
"reportSha256": "54a837df140c284b108816016a7273364b79fd2ccb25d57ae5a285b51336fef4"
|
|
48
46
|
}
|
|
49
47
|
],
|
|
50
48
|
"testOverrides": {},
|
|
51
49
|
"bun": "1.4.4",
|
|
52
|
-
"completedAt": "2026-11-
|
|
53
|
-
"durationMs":
|
|
54
|
-
"logSha256": "
|
|
50
|
+
"completedAt": "2026-11-22T19:17:44.135Z",
|
|
51
|
+
"durationMs": 1218204,
|
|
52
|
+
"logSha256": "b7e7eada9bb2797ce9b085514c9d0c5dc46e9d499fcc646e9077e082dca9e345"
|
|
55
53
|
}
|
|
56
54
|
-->
|
|
57
55
|
<!-- ads-local-tests:end -->
|
|
58
56
|
|
|
57
|
+
### Fixed
|
|
58
|
+
|
|
59
|
+
- Accepting a draft while its preview was still building could log a background compiler
|
|
60
|
+
error (`ENOENT` on the draft preview's page): the build finished after the draft's preview
|
|
61
|
+
output had been removed. Such a build is no longer reported as ready, and nothing is logged.
|
|
62
|
+
- The MCP server keeps watching emitted files after `ads emit` replaces the output
|
|
63
|
+
tree. Watch handles are reopened for replaced directories at the same paths, so
|
|
64
|
+
a later edit still fails a reused check with `generated-modified`.
|
|
65
|
+
- **MCP previews reuse the emitter's check.** The server's emitter and preview
|
|
66
|
+
compiler checked each revision separately. The emitter now sends its passing
|
|
67
|
+
report over their private IPC channel, kept in memory for the MCP process's
|
|
68
|
+
lifetime. The compiler reuses it when all task inputs match, refreshing output
|
|
69
|
+
integrity and retaining the publication fence. Missing or stale evidence checks
|
|
70
|
+
normally, as does standalone compilation. Emission also prepares the server's
|
|
71
|
+
saved report, so its first ordinary check can be a direct hit; acceptance
|
|
72
|
+
candidates do not eagerly occupy that live-project shortcut.
|
|
73
|
+
- A part with `extent: "fill"` no longer collapses in a stack whose height is only a minimum. Such a stack (its
|
|
74
|
+
frame states `minBlockSize` and nothing fixes, caps, clips or scrolls its height) grows with its content, but the
|
|
75
|
+
filling part gave up its minimum height, so tall content ran past it and under the next part: a page's main area
|
|
76
|
+
came out as tall as the free space while its content continued beneath the footer. The part now keeps its
|
|
77
|
+
content's height there. Stacks with a fixed height, a cap, a ratio or `overflow` are unchanged: the part's content
|
|
78
|
+
stays confined to it. Emitted CSS changes only for a filling part in such a minimum-height stack (it loses
|
|
79
|
+
`min-block-size: 0`).
|
|
80
|
+
- Testing whether an optional glyph was given (`icon !== undefined && …`, `icon && …`, `icon ? a : b`, `!icon`) is
|
|
81
|
+
accepted, as the language reference says. It was reported as `source/glyph-reference-read`.
|
|
82
|
+
- A recipe's setters for values declared on a part are typed correctly under TypeScript 5: `measured.props({
|
|
83
|
+
focus: [x, y] })` and `({ intrinsic: [width, height] })` were typed as a number there, so a project's own
|
|
84
|
+
type check failed on an owner that `ads check` accepted. Verified under TypeScript 5.5 and ADS's own compiler.
|
|
85
|
+
- `choice/branch-limit` names the limit and every value the selection branched on, with how many values each
|
|
86
|
+
takes, so the props to merge or move are in the message.
|
|
87
|
+
- An optional slot no longer multiplies its parent's class analysis. A child rendered under `condition && …` whose
|
|
88
|
+
presence changes nothing the parent is checked for (an element that is no declared part, such as an indent
|
|
89
|
+
spacer with its own recipe, or an optional part that is neither artwork nor a control's text) is analysed as
|
|
90
|
+
present without branching on its condition. An ordinary list row with an optional lead, line, end and indent
|
|
91
|
+
spacer went from 8064 branches, past the limit, to well under it. Its parts are still checked whenever they
|
|
92
|
+
render.
|
|
93
|
+
- **Large variant matrices are checked in full and emitted as groups.** Every reachable combination of a class
|
|
94
|
+
expression is still lowered and checked; the limits now follow the measured cost (about 2 ms per construction):
|
|
95
|
+
4096 constructions per owner and 16384 branches per selection. A selection of 32 combinations or more whose class
|
|
96
|
+
strings are the classes they all share plus, per group of inputs, classes that depend on that group alone is
|
|
97
|
+
emitted as one lookup per group, joined, verified against every combination; otherwise as before. An owner with
|
|
98
|
+
seven colours and four two-way props went from a 2.7 MB emitted module to 8 KB.
|
|
99
|
+
- **Draft acceptance reuses the owners a draft leaves unchanged.** Each acceptance checks a candidate copy of the
|
|
100
|
+
project, and owner analyses and emitted modules were keyed by the folder they were analysed in, so every
|
|
101
|
+
acceptance re-analysed every owner. Keys are now root-relative and a reused outcome's paths are moved to the
|
|
102
|
+
requesting copy: an acceptance, an MCP check or the emit after it analyzes only the owners the change reaches.
|
|
103
|
+
Within an edited owner, each construction's lowering and checks are reused when the construction is unchanged,
|
|
104
|
+
and each distinct list of recipe fragments is combined once per analysis. Measured on the reference project
|
|
105
|
+
with a 1792-combination owner: a later acceptance that edits another owner went from 3.1 s to 0.85 s, and one
|
|
106
|
+
that edits the large owner itself from 3.2 s to 2.45 s.
|
|
107
|
+
- **Large variant matrices get their cross-owner contrast proven.** A text position recorded every prop of its
|
|
108
|
+
component with each chain above it, so an owner with 1792 combinations kept 1792 distinct leaves per position,
|
|
109
|
+
passed the 512 limit and reported `component-contrast-unresolved` for review. Only the props that change the
|
|
110
|
+
chain are recorded now (exactly), and the chains are proven. Positions on the same path share one enumeration and
|
|
111
|
+
element reads are reused across choices; an edit to such an owner is about 10 % faster.
|
|
112
|
+
- **Analysis reads the captured configuration.** Inside an analysis, `ds.config.json` and the TypeScript
|
|
113
|
+
configuration (with its `extends` chain) were read from disk, so an edit after the capture could mix revisions.
|
|
114
|
+
Both are now read through the capture, including `extends` targets named by absolute path.
|
|
115
|
+
- **A TypeScript configuration that does not parse is an error.** A `tsconfig.json`, or a configuration it extends,
|
|
116
|
+
with a syntax error, a rejected option or an `extends` target that does not exist left ADS analysing with other
|
|
117
|
+
compiler options than the project's, silently. Check reports `typescript-config-invalid` at the file. A circular
|
|
118
|
+
`extends` chain, or one longer than 64 levels, is reported the same way; neither is finished from disk.
|
|
119
|
+
- **Fewer output-folder reads per check.** The emitted files were read and digested for every report-cache key
|
|
120
|
+
(two to three times per check); a returned report now reads them once. A returned report whose output folder
|
|
121
|
+
was edited since it was cached is the evidence a fresh check gives: failed, with acceptance not established.
|
|
122
|
+
The MCP server keeps its project's output folder event-fed: a reused report reads no emitted file unless one was
|
|
123
|
+
edited.
|
|
124
|
+
- **Drafts reuse scenario results, closure checks and design inputs.** Their keys named the analysed root, so a
|
|
125
|
+
draft or acceptance candidate recomputed every scenario's facts and styling, every file's import closure and the
|
|
126
|
+
design inputs. They are now root-relative and relocated, as owner analyses are.
|
|
127
|
+
- **A profile or asset edit re-analyzes only what read it.** Owner analyses and construction lowerings record the
|
|
128
|
+
profiles and assets they read and are reused while those read the same; a comment-only profile edit, or an edit
|
|
129
|
+
to a profile an owner does not use, no longer re-analyzes every owner.
|
|
130
|
+
- **Cancelling an analysis stops it.** A canceled request was still computed to the end in the analysis worker,
|
|
131
|
+
holding the requests behind it. The worker now stops it at its next owner, choice, scenario or file, and skips
|
|
132
|
+
it if it had not started.
|
|
133
|
+
- **Library calls keep their compiler session between calls.** Direct library clients closed their session one
|
|
134
|
+
second after each call, losing programs and ASTs. Sessions now stay for 60 seconds without keeping a finished
|
|
135
|
+
process alive.
|
|
136
|
+
- **Analysis requests send only changed files.** An unregistered request sent the worker the whole project
|
|
137
|
+
inventory each time; it now sends the files changed since the last request, and the complete inventory only
|
|
138
|
+
when the worker does not hold that base.
|
|
139
|
+
- A visual part with `frame: { profile }` keeps the frame profile's size. The profile's `inlineSize` and
|
|
140
|
+
`blockSize` were written and then replaced by the drawing's own size, so a 22 px disc behind an 11 px mark came
|
|
141
|
+
out 11 px, with no error. The frame now sizes the box and the drawing keeps its visual profile's size, centred.
|
|
142
|
+
|
|
143
|
+
### Added
|
|
144
|
+
|
|
145
|
+
- **The render audit measures owner states by itself.** Every state a recipe declares is switched on, on each
|
|
146
|
+
scenario that renders the owner, and measured for colour contrast, non-text contrast and layout overflow; findings
|
|
147
|
+
name the state. Nothing is written for it: ADS derives the states from the compiled constructions into a
|
|
148
|
+
preview-only file (`ads-preview-audit.json`), which `ads emit` never writes, and the page finds each construction
|
|
149
|
+
by the preview's owner marker and its classes. Over a full audit, constructions with states that no scenario
|
|
150
|
+
renders are a new review item, `render-audit-construction-unrendered`. The `Covered:` line counts the derived
|
|
151
|
+
states measured; states the audit cannot set are `render-audit-skipped` info items. In each state the audit
|
|
152
|
+
also re-measures image shape, corner overpaint and layout that keeps moving once the state has settled. Each
|
|
153
|
+
runtime paint value and each glyph set member is drawn in turn and measured. A state measured by setting its
|
|
154
|
+
attribute where the owner's markup also depends on that prop is `render-audit-state-forced` (review); a scenario
|
|
155
|
+
state that only shows what the audit derives is `render-audit-state-derivable` (info).
|
|
156
|
+
- **The audit renders at the widths a condition flips at.** Besides 390, 768 and 1280 px, layout overflow, image
|
|
157
|
+
shape and corner overpaint are measured just inside and just outside each viewport width the design system's
|
|
158
|
+
compiled CSS changes at (named conditions and breakpoints), up to eight widths.
|
|
159
|
+
- **Hover geometry is reviewed.** A state that changes an in-flow element's geometry under `:hover` is
|
|
160
|
+
`review/hover-geometry-shift`: what follows it moves as the pointer passes.
|
|
161
|
+
|
|
162
|
+
- **A turn under a state.** `rotate` joins the state effects of a control's visual part and of a region part
|
|
163
|
+
(`when: { '&[aria-expanded="true"]': { rotate: { slot: "motion", field: "angle" } } }`, with `"rotate"` in
|
|
164
|
+
`transition` to animate it): a plus that becomes a cross while its panel is open. Reduced motion keeps the turned
|
|
165
|
+
shape and drops only its animation. A control's artwork effects are also accepted under
|
|
166
|
+
`&[aria-expanded="true"]` and `&[aria-pressed="true"]`.
|
|
167
|
+
- **Brightness.** A surface profile's `brightness` field reads a token of the new `brightness` role
|
|
168
|
+
(`brightness.ads.css`, a percentage) and lowers to `filter: brightness()`: a picture with no dark version takes a
|
|
169
|
+
token that is `100%` in the light theme and lower in the dark one. It belongs to a visual part; anywhere else it
|
|
170
|
+
is `construction/surface-effect-misplaced`, because text under it could not be proven readable.
|
|
171
|
+
- **An outset as a share of the box.** The new `box-share` role (`box-share.ads.css`, a percentage) is accepted by
|
|
172
|
+
two new spacing profile fields, `outsetBlock` and `outsetInline`, which `outset` binds like any spacing field. A
|
|
173
|
+
backdrop then extends by that share of its own box on each axis and grows with it.
|
|
174
|
+
- **Focus on a stand-in.** `focus: { of: "<sibling part>" }` on a region part draws the focus profile's outline on
|
|
175
|
+
that part while the named part of the same parent has keyboard focus: the drawn box of a checkbox, radio or
|
|
176
|
+
switch whose native `<input>` is visually hidden.
|
|
177
|
+
- **Where a jump lands.** `anchorClear` on a region root, a part or a prose block element lowers to
|
|
178
|
+
`scroll-margin-block-start`. It reads the layer profile's `clearBlockStart` (right under the region sticky
|
|
179
|
+
elements clear) or the spacing profile's new `anchorGap` (the element's own distance, for a target that lines
|
|
180
|
+
up with a sticky column beside it).
|
|
181
|
+
- **Geometry by state.** A `when` entry on a region root or a part selects another frame profile
|
|
182
|
+
(`frame: { profile }`) and another spacing profile (`spacing`), each lowered and checked whole; a part is
|
|
183
|
+
`collapsed` at rest or under a state (no room, transparent, out of the accessibility tree and focus; open, its
|
|
184
|
+
content's size). `overlap` on an `inline` or `stack` arrangement makes neighbours overlap by a spacing value
|
|
185
|
+
from the new `overlap` token role, in real layout. `geometryTransition: { channels, motion }` animates the
|
|
186
|
+
channels `size`, `inset`, `gap`, `radius`, `border-width` and `overlap`. A `:hover` geometry state needs a focus
|
|
187
|
+
or attribute state of the same geometry; geometry under the autofill state is refused. Not on text-entry
|
|
188
|
+
control parts, controls or top-layer roots. A frame a state selects is checked as the element's own is: the
|
|
189
|
+
text keyline, the fit in a grid cell and corner overpaint run for it; a hit area never changes by state,
|
|
190
|
+
neighbouring targets are proven at every gap a state selects, and overlapping targets are refused.
|
|
191
|
+
- **Standalone artwork with its own colour.** A recipe that is only a visual part takes `surface` on its root: a
|
|
192
|
+
colour-only surface, the colour its foreground drawing takes (an Icon's quiet tone, so a slot that holds it
|
|
193
|
+
sets none).
|
|
194
|
+
- **Decorative boxes in a control.** A control holds at most one text part and one visual part, and any number of
|
|
195
|
+
decorative boxes (parts without a `kind`, each with `frame: { profile }`): a switch is a control with a knob
|
|
196
|
+
that travels under `&[aria-checked="true"]`. The text part is no longer required. The knob's position is the
|
|
197
|
+
state's shape, kept under reduced motion.
|
|
198
|
+
- **Several drawings in one region.** A region may declare several visual parts, each bound to its own asset
|
|
199
|
+
and read by its own name: a row with a leading mark and a trailing one, a tile with a picture and a badge.
|
|
200
|
+
`construction/parts-visual-repeated` is retired. A control and standalone artwork still have one visual part.
|
|
201
|
+
- **A visual part inside another part.** An owner reads the class and drawing of a visual part nested in
|
|
202
|
+
another part of the same recipe by the part's name (`recipe.parts.glyph`, `recipe.assets.glyph.source`), as it
|
|
203
|
+
does for a top-level part: a mark inside a boxed cell beside a label needs no owner of its own. A name several
|
|
204
|
+
nested parts share is `choice/part-ambiguous`.
|
|
205
|
+
- **Any artwork in a control.** A control's visual part draws slot artwork (several paints, each a token or the
|
|
206
|
+
text colour) and intrinsic artwork (a product's logo in its own colours, as an `<img>`), not only foreground
|
|
207
|
+
glyphs. Slot artwork needs one paint at 3:1 on the control's own background in every theme, brand and state
|
|
208
|
+
(`construction/artwork-paint-contrast-insufficient`); a logo is not checked. Where the control paints no
|
|
209
|
+
background of its own the static check has nothing to prove against, and the render audit's icon contrast
|
|
210
|
+
applies. `construction/paint-unsupported` is retired.
|
|
211
|
+
- **A progress bar's fill.** `pseudo: { progressValue: { surface } }` on a `<progress>` part paints the filled part
|
|
212
|
+
over the part's own surface, the track, in each engine's own pseudo-element, and proves the fill at 3:1 against
|
|
213
|
+
the track.
|
|
214
|
+
- **Prose.** `spaceAfter` on a block (the space to whatever follows it, in place of the rhythm; the larger of it and
|
|
215
|
+
the next block's own `spaceBefore`, where that block states one); `markers` on `list` (an unordered list's marker shape per depth of nesting); `markerText` on `item` (a
|
|
216
|
+
text profile whose weight the marker takes); `elements.component` (`spaceBefore` and `spaceAfter` for any
|
|
217
|
+
component placed directly among the blocks).
|
|
218
|
+
- `textAlign` on a control's text part (`"start" | "center" | "end"`): how a button's label lines sit once the label
|
|
219
|
+
wraps or the control is wider than it. It was accepted on other text parts and refused here
|
|
220
|
+
(`spec/field-unsupported`).
|
|
221
|
+
- **Showcase: where each asset is drawn, and at what size.** Each Artwork tile says which owners draw the asset and
|
|
222
|
+
at what size ("drawn at 20px by Button; 16px by Menu"). Owner analysis records each binding's visual size (a glyph
|
|
223
|
+
set's members at the set's size); the preview facts carry it, sorted, so an owner edit that leaves its artwork as it
|
|
224
|
+
was does not rebuild the view. Owner analyses and lowered constructions cached by an earlier version are computed
|
|
225
|
+
once again.
|
|
226
|
+
- **Showcase: artwork beside text.** The Artwork page's settings gain **Place**: alone, or beside text, where each
|
|
227
|
+
tile draws its asset at the chosen size before its title in body text, as a control places a glyph before its
|
|
228
|
+
label.
|
|
229
|
+
- **Showcase: the section menu on a phone.** Below 36rem the header's row of sections is one select naming the
|
|
230
|
+
current section, so the tools keep their room; wider, the row returns.
|
|
231
|
+
- **Showcase: the artwork catalogue.** The "all sizes" page of an artwork folder (formerly the icon catalogue) is
|
|
232
|
+
named for what it draws: any artwork, whatever its paint.
|
|
233
|
+
|
|
234
|
+
## 0.5.1
|
|
235
|
+
|
|
236
|
+
Upgrade from 0.5.0 with the `ads-migrate` skill
|
|
237
|
+
(`skills/ads-migrate/references/0.5.0-to-0.5.1.md`): the text keyline check can
|
|
238
|
+
fail a design system that passed before, animation defined in script is now
|
|
239
|
+
an error (`source/script-animation`), and a part or child that paints over a
|
|
240
|
+
rounded corner is an error (`construction/corner-overpaint`,
|
|
241
|
+
`corner-overpainted`). `ads init` no longer installs a design system. Everything
|
|
242
|
+
else is additive.
|
|
243
|
+
|
|
244
|
+
**Performance, measured.** The analysis benchmark's record for this version is
|
|
245
|
+
committed with its comparison marked failed, after investigation. Measured back
|
|
246
|
+
to back against the 0.5.0 code on the same machine: no change at 8 owners; at
|
|
247
|
+
24 owners the check after an owner edit, draft reject and sibling checks, and
|
|
248
|
+
warm emission are about 8 to 18% slower (under the suite's 25% gate), the cold
|
|
249
|
+
check about 3% slower, and peak memory is unchanged (about 1.1 GB). In each of
|
|
250
|
+
two recording runs one or two short scenarios (40 to 160 ms) crossed 25%, a
|
|
251
|
+
different pair each time. The likely cause of the real part is more work per
|
|
252
|
+
owner (the props recorded for live controls, surface uses for the contrast
|
|
253
|
+
rules, the optional-prop presence axis); it is not yet profiled.
|
|
254
|
+
|
|
255
|
+
- **`ads init` sets a project up and installs no design system.** It writes
|
|
256
|
+
`ds.config.json`, the dependencies and scripts, and creates the design-system
|
|
257
|
+
folder empty for the project to author in; the package no longer contains
|
|
258
|
+
`dist/starters/`. An existing project is not affected. `initProject`'s
|
|
259
|
+
outcome `installed` is now `empty`. The design system ADS is tested with
|
|
260
|
+
stays in the repository as a test project (`tests/fixtures/starter-project/`)
|
|
261
|
+
and is what the documents' examples quote.
|
|
262
|
+
|
|
263
|
+
- **A state of a part as an owner state.** A `when` key may read a state of one
|
|
264
|
+
of the recipe's own direct parts: `&:has(> .part:state)` with `:checked`,
|
|
265
|
+
`:indeterminate`, `:focus-visible`, `:hover` or `:disabled`. A checkbox's
|
|
266
|
+
drawn box follows its native input, and a field's control reacts to its own
|
|
267
|
+
hover, without script. See [the language](LANGUAGE.md).
|
|
268
|
+
- **Named corners, and a frame under a condition.** A region root's frame
|
|
269
|
+
rounds the corners it names (`corners: ["end-start", "end-end"]`), and
|
|
270
|
+
`at: { <condition>: { frame: { rules?, corners? } } }` changes its ruled
|
|
271
|
+
sides and rounded corners under a named condition of its spatial profile.
|
|
272
|
+
- **Track weights.** A fluid grid with local `columns` takes `weights: [0.85,
|
|
273
|
+
1.15]`: each column gets its share of the width, in the emitted tracks and
|
|
274
|
+
in the cell widths the checks use.
|
|
275
|
+
- **A backdrop larger than its box.** A childless part of a `layered` parent
|
|
276
|
+
takes `outset: { block?, inline? }` from the spacing slot and is drawn past
|
|
277
|
+
its parent's box (a glow behind a card); the layout does not change
|
|
278
|
+
(`construction/outset-unsupported` elsewhere).
|
|
279
|
+
- **A content image with a light and a dark file.** Two sibling visual parts
|
|
280
|
+
declare `scheme: "light"` and `scheme: "dark"`; both `<img>` elements are in
|
|
281
|
+
the markup and the theme in effect displays one, however the page selected
|
|
282
|
+
it (root `data-theme`, a themed section, the OS preference), with no script.
|
|
283
|
+
`foundation.css` writes the switches (`--ads-not-light`, `--ads-not-dark`)
|
|
284
|
+
beside every `color-scheme`. The image the default theme hides must be
|
|
285
|
+
`loading="lazy"`, so its file is not downloaded
|
|
286
|
+
(`source/scheme-image-not-lazy`, `source/scheme-image-size-missing`,
|
|
287
|
+
`source/scheme-image-element`, `construction/scheme-unsupported`). The
|
|
288
|
+
starter's `Image` takes the second file as `sourceDark`.
|
|
289
|
+
- **An optional callback, object or slot selects markup directly.** An
|
|
290
|
+
optional prop (or mapped item field) typed as an object, a function or a
|
|
291
|
+
node is one input with two variants, given and not given, both checked:
|
|
292
|
+
`{onRemove && <button>}`, `{icon ? … : …}`, `{footer !== undefined && <div>}`.
|
|
293
|
+
No second boolean prop or always-rendered `hidden` wrapper is needed. A node
|
|
294
|
+
selects only by `!== undefined` / `=== undefined` (given, it may still be
|
|
295
|
+
`0`, `""`, `false` or `null`), and `choice/domain-not-finite` says so; a type
|
|
296
|
+
that admits `null` beside an object has a third variant; a default makes
|
|
297
|
+
the prop always given. Optional text compared with `undefined` or `null` is
|
|
298
|
+
read in each of its three variants. See [the language](LANGUAGE.md).
|
|
299
|
+
- **Text weight by state.** A `when` entry may name a `text` profile for a text
|
|
300
|
+
part, a root or a control. It changes the weight and the tracking only
|
|
301
|
+
(`construction/state-text-field` for anything else), so the line does not
|
|
302
|
+
move.
|
|
303
|
+
- **`normalize.resize`.** A `<textarea>` part states `resize: "vertical"` or
|
|
304
|
+
`"none"` (`source/resize-not-textarea` on another element).
|
|
305
|
+
- **A showcase that shows what matters.**
|
|
306
|
+
- *Live controls.* `controls: true` on a scenario draws a control for each
|
|
307
|
+
closed prop of the owner it covers, taken from the owner's own analysis;
|
|
308
|
+
every specimen receives the chosen values as props.
|
|
309
|
+
- *Profile samples decided by ADS.* The facts of the Profiles view state
|
|
310
|
+
what each profile's sample is (one control, a box, text, a gap, a size, a
|
|
311
|
+
focus indicator), the values for each part, the frame's own extent and,
|
|
312
|
+
for a composite, the fields that shape it. A control is drawn as one
|
|
313
|
+
control, a sized frame on a stage, a focus ring only on a focus profile.
|
|
314
|
+
- *The views are pictures, not listings.* Tokens, Profiles, Artwork and the
|
|
315
|
+
grid are drawn as cards: a sample on a stage, the name, and one line of
|
|
316
|
+
what it is (a token's value and what its author says it is for; a
|
|
317
|
+
profile's own fields first). A duration and an easing are a square
|
|
318
|
+
travelling a track for that long, or along that curve.
|
|
319
|
+
- *Every theme at once.* A paint, gradient or shadow that differs between
|
|
320
|
+
themes is drawn in each, with the value there beside its swatch: ADS
|
|
321
|
+
resolves each theme's value (the token facts' `themed`), so nothing has to
|
|
322
|
+
be switched to compare.
|
|
323
|
+
- *Samples that say what they are.* A spacing profile draws every gap it
|
|
324
|
+
names as the space between two blocks. Artwork's size is a lined stand-in
|
|
325
|
+
with its size in pixels. A composite of artwork and text is drawn as the
|
|
326
|
+
two together. A change of scale is played on a control-sized block, where
|
|
327
|
+
a press of a few percent can be seen. A line height is two lines that far
|
|
328
|
+
apart. Artwork groups, glyph sets and the summaries are cards too.
|
|
329
|
+
- *One-line sidebar titles.* A title that does not fit ends in "…"; the
|
|
330
|
+
whole title is its tooltip.
|
|
331
|
+
- *The grids, drawn.* The grid view stands in Profiles as "Spatial grids"
|
|
332
|
+
(it stood under Tokens as "Foundation"), since it draws the spatial
|
|
333
|
+
profiles: a card per breakpoint with its columns and outer margin to
|
|
334
|
+
scale, a card per gutter mode with the content placed in its columns, the
|
|
335
|
+
spacing scale and the units, then the grid itself at the preview's width,
|
|
336
|
+
each example in its own card. Profiles that build on one grid share its
|
|
337
|
+
cards: they are drawn once, and each other profile shows only its own
|
|
338
|
+
tracks.
|
|
339
|
+
- *Fixed.* The Profiles and Tokens pages sometimes showed their own kind
|
|
340
|
+
or group buttons beside the sidebar: a re-rendered view was not told
|
|
341
|
+
again which page to show. A stand-in block painted over a rounded
|
|
342
|
+
corner of a profile's sample.
|
|
343
|
+
- *The showcase's own controls are set apart.* A scenario's state switch and
|
|
344
|
+
its live controls stand in one lined panel captioned "Showcase settings",
|
|
345
|
+
so they are not taken for part of the component shown.
|
|
346
|
+
- *Fixed.* A whole-screen scenario collapsed to its header's height. The
|
|
347
|
+
header's section menu was cut mid-item in a narrow window. The Motion
|
|
348
|
+
sample's own scenario did nothing on Replay.
|
|
349
|
+
- **Dashed and dotted borders.** A frame profile states `borderStyle:
|
|
350
|
+
"solid" | "dashed" | "dotted"`; a region's frame, its one-sided rules, a
|
|
351
|
+
part's box and a control draw their border with it.
|
|
352
|
+
- **A control's own text profile.** `text: "<profile>"` on a control recipe
|
|
353
|
+
replaces the text slot of its profile and sizes the control.
|
|
354
|
+
- **The starter's Popover opens at its trigger.** It was pinned to the
|
|
355
|
+
viewport's corner wherever its trigger stood. `placement="toolbar"` keeps
|
|
356
|
+
the pinned tool panel. The placement the Menu and the Popover share is
|
|
357
|
+
`anchoredPlacement` in `controllers/AnchoredPanel/`.
|
|
358
|
+
- **New rules for rounded corners.** `construction/corner-overpaint` (error):
|
|
359
|
+
a region root with a radius, visible overflow and no inset whose first or
|
|
360
|
+
last part (or a layer) paints a background over a corner. The render audit's
|
|
361
|
+
`corner-overpainted` (error) measures the same where the child is another
|
|
362
|
+
component or an image. Both can fail a design system that passed before;
|
|
363
|
+
the repair is to clip the root, inset it or round the part.
|
|
364
|
+
- **Safe alignment where an element scrolls.** Centre and end alignment on an
|
|
365
|
+
axis the element itself scrolls are emitted as `safe center` / `safe end`,
|
|
366
|
+
so overflowing content starts at the scroll origin instead of before it.
|
|
367
|
+
- **Contrast minimums follow what the colour paints.** 0.5.0 held every
|
|
368
|
+
surface colour to the text minimum, 4.5:1. Now large text and artwork that
|
|
369
|
+
carries meaning (a visual part, a control that renders no text) need 3:1,
|
|
370
|
+
and artwork hidden from assistive technology has none (WCAG 2.2 1.4.3,
|
|
371
|
+
1.4.11). A surface profile's own pair below 4.5:1 is accepted when every use
|
|
372
|
+
of the profile in the design system is one of those; anything ADS cannot
|
|
373
|
+
prove keeps 4.5:1.
|
|
374
|
+
- **Fixed: state contrast paired states that cannot hold together.** A
|
|
375
|
+
toggle's hover colour while not chosen (`&[aria-pressed="false"]:hover`) was
|
|
376
|
+
checked against its chosen fill (`&[aria-pressed="true"]`) and failed with
|
|
377
|
+
`construction/state-contrast-insufficient`. Two values of one attribute, a
|
|
378
|
+
state and its `:not()`, and `:disabled` with `:enabled` are no longer paired;
|
|
379
|
+
the same holds for placeholder contrast.
|
|
380
|
+
|
|
381
|
+
- **Prose: long-form content.** `layout: "prose"` styles the plain flow
|
|
382
|
+
elements of content its owner does not write (the elements Markdown produces
|
|
383
|
+
and the common HTML beside them), wherever they nest, from the text, surface
|
|
384
|
+
and frame profiles each element names, with a `rhythm` between blocks. Only
|
|
385
|
+
elements without a class are styled, so components in the content keep their
|
|
386
|
+
design. Each declared colour is proven on every surface it can sit on
|
|
387
|
+
(`construction/prose-contrast-insufficient`). Scenarios, mocks and
|
|
388
|
+
application source may hold plain flow markup inside a prose owner; an
|
|
389
|
+
element its recipe does not declare is `prose-element-undeclared`. `ads emit`
|
|
390
|
+
writes `ads-prose.json` for `ads-guard`. Spacing profiles gain `sectionGap`
|
|
391
|
+
and `indent`. The starter has a **Prose** pattern as the worked example, with
|
|
392
|
+
`ProseHtml` for content that arrives as an HTML string. See
|
|
393
|
+
[Prose](LANGUAGE.md#prose-long-form-content).
|
|
394
|
+
- **Masks.** Surface field `mask` (role `gradient`) fades an element by the
|
|
395
|
+
gradient's alpha, as `mask-image` with its `-webkit-` companion, on a visual
|
|
396
|
+
part or on an element that scrolls; elsewhere it is
|
|
397
|
+
`construction/surface-effect-misplaced`. The platform inventory lists
|
|
398
|
+
`mask-image`.
|
|
399
|
+
- **Sticky elements.** `sticky: { edge, clear? }` on a region root or part
|
|
400
|
+
keeps it at a block edge of its scrolling container (a menu bar, a contents
|
|
401
|
+
list, a table header). `clear: "block-start"` holds it below a bar by the
|
|
402
|
+
layer profile's `clearBlockStart`; the layer profile's new `stickyLayer`
|
|
403
|
+
stacks it.
|
|
404
|
+
- **Borders whose sides differ.** Frame profiles gain a border width per side
|
|
405
|
+
(`borderInlineStartWidth`, …) and surface profiles a border paint per side
|
|
406
|
+
(`borderInlineStartColor`, …), beside the shared `borderWidth` and
|
|
407
|
+
`borderColor`: a card with a thick accent edge and hairlines elsewhere.
|
|
408
|
+
One-sided `rules` take each named side's own values.
|
|
409
|
+
- **Frame insets per side.** Frame profiles gain `paddingInlineStart`,
|
|
410
|
+
`paddingInlineEnd`, `paddingBlockStart` and `paddingBlockEnd` for container
|
|
411
|
+
frames (a chip padded less beside its leading mark). A side stated beside its
|
|
412
|
+
axis or beside `padding` is `construction/frame-field-conflict`. The keyline
|
|
413
|
+
check reads the start inset.
|
|
414
|
+
- **Insets per side on a control frame.** A control's frame profile (a
|
|
415
|
+
button, a chip, a text input's frame) takes `paddingInlineStart` /
|
|
416
|
+
`paddingInlineEnd` and `paddingBlockStart` / `paddingBlockEnd` too: a tag
|
|
417
|
+
padded more before its remove button. A block side's inset is its least
|
|
418
|
+
inset, with `minimumBlockInset` as the axis's field; the target-size check
|
|
419
|
+
and one-sided `rules` read each side's own. A control frame with equal
|
|
420
|
+
sides emits the same CSS as before.
|
|
421
|
+
- **A visual part's size under a condition.** `at: { "<condition>": { visual:
|
|
422
|
+
"<profile>" } }` on a visual part resizes its drawing inside a named
|
|
423
|
+
condition's range (a play glyph that is smaller on narrow screens). New rule
|
|
424
|
+
`construction/condition-visual-unsupported`.
|
|
425
|
+
- **Sequences.** A new profile kind, `sequence`, holds a fixed series of
|
|
426
|
+
`steps` (opacity, travel, scale, rotation at percentages of the run) with a
|
|
427
|
+
duration, an easing, a `repeat` (`loop`, `alternate`, `once`) and an optional
|
|
428
|
+
`stagger`. A region part, a recipe root (region or control), a control's artwork or a
|
|
429
|
+
standalone artwork plays one with `play: { sequence, order? }`, always
|
|
430
|
+
or under an owner state: a mascot's blink, dots pulsing in turn, a shake.
|
|
431
|
+
ADS emits `@keyframes`; reduced motion plays nothing. A repeating sequence
|
|
432
|
+
that plays whenever its part is rendered gets the note `a11y-motion-endless`
|
|
433
|
+
(info, WCAG 2.2.2). The Profiles view lists a sequence's steps and plays
|
|
434
|
+
them. See [Sequences](MOTION.md#sequences).
|
|
435
|
+
- **A measured value can be animated.** `motion: "<motion profile>"` on a
|
|
436
|
+
measured `length` or `transform` makes the browser animate each change the
|
|
437
|
+
owner sets (an accordion opening to its content's height), instead of a
|
|
438
|
+
frame loop in script.
|
|
439
|
+
- **New rule: `source/script-animation`.** An owner or a plain module that
|
|
440
|
+
defines an animation in script (`element.animate`, `new Animation`,
|
|
441
|
+
`new KeyframeEffect`, `setKeyframes`) is an error: keyframes and timing are
|
|
442
|
+
design, declared in the recipe. Controlling a declared animation
|
|
443
|
+
(`getAnimations()`, `finished`, `cancel()`, `pause()`, `currentTime`, the
|
|
444
|
+
animation events) is not affected. Until now such a call passed unnoticed
|
|
445
|
+
while a direct style write was refused. **A design system that animates from
|
|
446
|
+
script fails `ads check`** until the motion is declared in its recipe.
|
|
447
|
+
- **Opacity is a transition channel.** `paintTransition.channels` gains
|
|
448
|
+
`opacity`, the surface's `opacity` between states (a toast fading out). A
|
|
449
|
+
state that changes opacity on a transitioned element needs the channel.
|
|
450
|
+
- **Scale on one axis.** `scaleInline` and `scaleBlock` beside `scale`, on a
|
|
451
|
+
control's visual part and on a region part (a blink).
|
|
452
|
+
- **New rule: `source-unreached`.** A script in the design system that its
|
|
453
|
+
public entry never reaches (no exported owner imports it) is a review item.
|
|
454
|
+
Until now such a file was silently ignored: no rule ran on it and nothing
|
|
455
|
+
emitted it, so a component could sit in the design system unchecked. It does
|
|
456
|
+
not fail `ads check`; export the file, import it from an exported owner, or
|
|
457
|
+
delete it.
|
|
458
|
+
- **Motion on a region's parts.** A region part can move under an owner state
|
|
459
|
+
of its root: `transition: ["translate", "scale"]` with `translateInline`,
|
|
460
|
+
`translateBlock` and `scale` effects in `when`, timed by the recipe's motion
|
|
461
|
+
slot or the part's own `motion` profile (a card whose arrow slides and whose
|
|
462
|
+
picture lifts while the card is hovered). Before, only a control's visual
|
|
463
|
+
part could move. See [Motion on a region's parts](MOTION.md#motion-on-a-regions-parts).
|
|
464
|
+
- **A mapped item's fields are finite choices.** In a `.map` over data,
|
|
465
|
+
`item.sub && <span>…</span>` is accepted for an optional text field, and a
|
|
466
|
+
literal-union or boolean field selects design, as the destructured form
|
|
467
|
+
(`({ sub }) => …`) already did. Before, reading the field through the item
|
|
468
|
+
was `domain-not-finite`, which pushed owners into a public child component
|
|
469
|
+
per item.
|
|
470
|
+
- **Fewer contrast reviews.** A surface whose background is fully transparent
|
|
471
|
+
is now the note `surface-contrast-placed` (info) instead of the review
|
|
472
|
+
`surface-contrast-unresolved`: it paints nothing itself, and its contrast is
|
|
473
|
+
decided where it is placed. A partly transparent background is still
|
|
474
|
+
reviewed.
|
|
475
|
+
- **A region part binds its own artwork.** A region's visual part may state
|
|
476
|
+
`asset` (or `set`, or `glyph: "reference"`) with `visual` and `state`, so the
|
|
477
|
+
recipe is its own binding: `parts.<name>` on the element and
|
|
478
|
+
`assets.<name>.source` as the drawing. Before, a region needed a second,
|
|
479
|
+
binding-only recipe, or a separate icon component.
|
|
480
|
+
- **A part's own box.** `frame: { profile: "<frame profile>" }` on a region
|
|
481
|
+
part gives it that profile's padding, border, radius and sizes (a disc
|
|
482
|
+
behind a mark, a badge's box). Before, a part's frame could only be a control
|
|
483
|
+
frame, so a decorative box needed its own owner.
|
|
484
|
+
- **A control that fills its container.** `extent: "container"` on a control's
|
|
485
|
+
recipe root makes it as wide as its container in any parent, as on an inline
|
|
486
|
+
region. Before, a full-width button depended on each parent stretching it.
|
|
487
|
+
- **Text profiles.** New field `textTransform` (`"uppercase"`, `"lowercase"`,
|
|
488
|
+
`"capitalize"`), a fixed choice that cases the text as drawn. Fixed: a text
|
|
489
|
+
profile's `letterSpacing`, `wordSpacing`, `fontStretch`,
|
|
490
|
+
`fontFeatureSettings`, `fontVariationSettings`, `textDecorationColor`,
|
|
491
|
+
`textDecorationThickness` and `textUnderlineOffset` passed `ads check` but
|
|
492
|
+
failed emission (`unregistered-property`) for the first owner that used them
|
|
493
|
+
in 0.5.0.
|
|
494
|
+
- A motion profile without `delay` now times a control's glyph transition; the
|
|
495
|
+
field was required there and optional everywhere else, so projects carried a
|
|
496
|
+
`0ms` token only to satisfy it.
|
|
497
|
+
- **Font fallback metrics.** `font({ …, fallback: "Arial" })` makes ADS read
|
|
498
|
+
each face file's measurements and emit a `"<family> Fallback"` `@font-face`
|
|
499
|
+
per face: the system font (`src: local()`) with `size-adjust`,
|
|
500
|
+
`ascent-override`, `descent-override` and `line-gap-override` matched to the
|
|
501
|
+
family, so text does not move when the web font arrives. `fallback` is
|
|
502
|
+
`"Arial"`, `"Times New Roman"`, `"Courier New"`, or
|
|
503
|
+
`{ font, sizeAdjust }` for another system font. New rule `font-fallback`
|
|
504
|
+
(error): a font-family token that names such a family first names
|
|
505
|
+
`"<family> Fallback"` right after it.
|
|
506
|
+
- **Entrances.** A recipe root (region or control) or a region part can enter
|
|
507
|
+
on its first render: `enter: { from: { surface, translate | scale | rotate },
|
|
508
|
+
motion }`. The starting surface states only `opacity` and `blur`; at most one
|
|
509
|
+
movement is read from the entrance's motion profile, which needs a duration,
|
|
510
|
+
an easing and `reduced: "static"`; a part's own `delay` staggers it. ADS
|
|
511
|
+
emits `@starting-style` and a transition group, with no script; reduced
|
|
512
|
+
motion and browsers without `@starting-style` show the element settled. New
|
|
513
|
+
rules: `construction/enter-surface-unsupported`,
|
|
514
|
+
`construction/enter-property-conflict`. See
|
|
515
|
+
[Entrances](MOTION.md#entrances). Entrances driven by scrolling are not built
|
|
516
|
+
yet.
|
|
517
|
+
- **Surface effects.** A surface profile's `blur` and `backdropBlur` now
|
|
518
|
+
lower (`filter: blur()`, `backdrop-filter: blur()`); in 0.5.0 an owner that
|
|
519
|
+
used such a surface failed emission with `unregistered-property`. New fields:
|
|
520
|
+
`backdropSaturate` (new token role **`saturation`**, sheet
|
|
521
|
+
`saturation.ads.css`, a percentage where `100%` is unchanged),
|
|
522
|
+
`shapeShadow` (a shadow that follows a drawing's shape, on a visual part) and
|
|
523
|
+
`groupShadow` (one shadow for a container and everything in it, an explicit
|
|
524
|
+
choice). ADS composes them in a fixed order, `filter: blur() drop-shadow()`
|
|
525
|
+
and `backdrop-filter: blur() saturate()`, with the `-webkit-backdrop-filter`
|
|
526
|
+
companion. A shape or group shadow in the wrong place is
|
|
527
|
+
`construction/surface-effect-misplaced`; its token must be one layer without
|
|
528
|
+
spread, inset or `none` in every theme and brand
|
|
529
|
+
(`construction/surface-shadow-layer`). `paintTransition` gains the channels
|
|
530
|
+
`filter` and `backdrop-filter`; an effect that changes between surfaces
|
|
531
|
+
needs its channel, where before any blur on a transitioned element was
|
|
532
|
+
refused. The platform inventory lists `backdrop-filter` and
|
|
533
|
+
`filter-effects`. The starter gains the `saturation` sheet, a one-layer
|
|
534
|
+
`--shadow-shape` and the `lifted-drawing` surface.
|
|
535
|
+
- **New rules: the text keyline.** A padded container frame in a cell of a grid
|
|
536
|
+
on a narrower gutter than `wide` (a card in a `narrow` or `condensed` cell)
|
|
537
|
+
must put its content on the grid's text keyline: that gutter's start and the
|
|
538
|
+
frame's inline padding equal the wide gutter's start, within the spatial
|
|
539
|
+
profile's fine unit, in every theme and brand. A frame in the grid's own
|
|
540
|
+
owner is `source/keyline-missed`; a public component placed in the cell is
|
|
541
|
+
checked by its root frame across owners, as `component-keyline` (a root ADS
|
|
542
|
+
cannot read is the review item `component-keyline-unresolved`). Borders are
|
|
543
|
+
not counted; controls, frames without inline padding and `gutter: "none"`
|
|
544
|
+
grids are exempt. **A design system with such a frame fails `ads check`**
|
|
545
|
+
until the frame's inline padding is the wide gutter's token; the starter
|
|
546
|
+
gains a `card-cell` profile that shows the repair.
|
|
547
|
+
- The starter has a **SplitView** pattern: two panes resized by a grip, by
|
|
548
|
+
pointer or keyboard, on a measured width, with a minimum for each pane, right
|
|
549
|
+
to left, and the values assistive technology needs. Its scenario nests a
|
|
550
|
+
container-context grid in a pane. It is the starter's example of a resizable
|
|
551
|
+
layout; before, a split view existed only as a test fixture.
|
|
552
|
+
- The Foundation view shows more of each grid: one example per gutter mode
|
|
553
|
+
(before, only the first), a hybrid grid for a profile that states fixed
|
|
554
|
+
tracks, a fixed tiling for one that states a tile size, and the spacing scale
|
|
555
|
+
with a bar per step. All come from the preview facts, where `example` is
|
|
556
|
+
replaced by `examples` and `omitted`. The view now takes the full token
|
|
557
|
+
sheet and no owner's sheet, so an owner-only edit no longer rebuilds it.
|
|
558
|
+
|
|
559
|
+
## 0.5.0
|
|
560
|
+
|
|
59
561
|
**0.5.0 has one new design model, and it is a breaking release.** A 0.4.x
|
|
60
562
|
design system fails the 0.5.0 checks; ADS does not detect or convert one.
|
|
61
563
|
Migrate with the `ads-migrate` skill
|
|
@@ -4,9 +4,9 @@ ADS's design draws on published work from IBM and Adobe. Thank you to their
|
|
|
4
4
|
designers and maintainers for publishing both guidance and source.
|
|
5
5
|
|
|
6
6
|
Two things are kept apart here: what the ADS engine requires of every project,
|
|
7
|
-
and what only the
|
|
7
|
+
and what only the example design system chooses.
|
|
8
8
|
|
|
9
|
-
| Borrowed from | In the ADS engine (every project) | In the
|
|
9
|
+
| Borrowed from | In the ADS engine (every project) | In the example design system only (a project may change it) |
|
|
10
10
|
| --- | --- | --- |
|
|
11
11
|
| IBM Carbon's 2x Grid | The shape of a `spatial` profile: a mini unit and a fine unit that divides it, ordered breakpoint tiers with a column count and an outer margin, and gutter modes that are insets inside a cell | The values: an 8px mini unit, 4/8/16 columns, the 320/672/1056px breakpoints (authored as 20/42/66rem), a 1584px maximum width, and the mode names `wide`, `narrow`, `condensed` |
|
|
12
12
|
| Adobe Spectrum | Nothing is required. A spacing scale is an explicit list of named tokens, so it may be uniform or not | A non-uniform scale: 0, 1, 2, 4, 6, 8, 12, 16, 24, 32, 48, 64, 96px |
|
|
@@ -15,13 +15,13 @@ and what only the starter chooses.
|
|
|
15
15
|
|
|
16
16
|
| Source | What it informed |
|
|
17
17
|
| --- | --- |
|
|
18
|
-
| [Carbon 2x Grid](https://www.carbondesignsystem.com/building-blocks/foundations/2x-grid/overview) | Mini-unit rhythm, fixed/fluid/hybrid layout concepts, shared track keylines and the
|
|
18
|
+
| [Carbon 2x Grid](https://www.carbondesignsystem.com/building-blocks/foundations/2x-grid/overview) | Mini-unit rhythm, fixed/fluid/hybrid layout concepts, shared track keylines and the example design system's breakpoint family |
|
|
19
19
|
| [Carbon grid implementation](https://github.com/carbon-design-system/carbon/tree/593de4deda2d96f47f71cdfc9b30d07bd1302304/packages/grid) | Reference for wide/narrow/condensed cell insets, responsive placement and inherited track alignment |
|
|
20
20
|
| [IBM UI icons](https://www.ibm.com/design/language/iconography/ui-icons/usage/) | Size roles and optical centering beside text in showcase UI and design guidance |
|
|
21
21
|
| [Adobe Spectrum](https://spectrum.adobe.com/) | The non-uniform spacing scale; the static-colour guidance |
|
|
22
22
|
| [IBM pictograms](https://www.ibm.com/design/language/iconography/pictograms/usage/) | Distinguishing larger illustration artwork from UI glyphs and preserving clear space |
|
|
23
23
|
|
|
24
|
-
The
|
|
24
|
+
The example design system's breakpoint values, column counts and outer margins follow Carbon's
|
|
25
25
|
[breakpoint table](https://www.carbondesignsystem.com/building-blocks/foundations/2x-grid/overview#breakpoints).
|
|
26
26
|
|
|
27
27
|
Carbon's Sass and React grid packages are not installed, vendored or runtime
|
|
@@ -29,7 +29,7 @@ dependencies of ADS. The grid source reference above identifies the revision
|
|
|
29
29
|
used during the design research.
|
|
30
30
|
|
|
31
31
|
This acknowledgment records design provenance, not a license change or a claim
|
|
32
|
-
that ADS implements every Carbon feature. The ADS marks and the
|
|
32
|
+
that ADS implements every Carbon feature. The ADS marks and the example design system
|
|
33
33
|
placeholder artwork have their own credits in their asset directories. Other
|
|
34
34
|
third-party material keeps its colocated notices, including the upstream license
|
|
35
35
|
shipped with `ads-designer`.
|