- eabbf23: Publish
tokens.jsonin DTCG format:$valueinstead ofvalue, standard$type, etcetera.
- 9a2eeb4: Remove font and line-height design tokens, move those to the Root component.
- 9b3cb1e: Release with npm provenance.
-
77438bb: # BREAKING CHANGE: Migrate from SCSS @import to @use/@forward
Migrated all SCSS files from the legacy
@importsyntax to the modern@useand@forwardmodule system.- Import syntax changed:
@importstatements replaced with@use/@forward - Namespace requirements: Some imports now require explicit namespaces
- File structure: Added
_forward.scssfiles for mixin exports - Module loading: Modules are now loaded once and cached
// Before @import "~@utrecht/button-css/src/index"; // After (recommended) @use "~@utrecht/button-css/src/index"; // Note: @import still works for CSS-only files but @use is recommended
// Before @import "~@utrecht/button-css/src/mixin"; @include utrecht-button; // After @use "~@utrecht/button-css/src/forward" as *; @include utrecht-button;
@use "~@utrecht/focus-ring-css/src/forward" as focus-ring; @include focus-ring.utrecht-focus-visible;
- Better performance through module caching
- Namespace safety prevents naming conflicts
- Explicit dependencies improve maintainability
- Future-proof with modern SCSS standards
See
SCSS_MIGRATION.mdfor detailed migration instructions. - Import syntax changed:
- e20f33c: Provide
.d.mtsfile for.mjsfiles in CSS components.
- f54840f: Provide
.cssfile for thebodyselector for styling vanilla HTML.
- 725617a: Add
tokens.mjsandtokens.d.mtsfiles to CSS packages.
- 65c5a25: Create new
utrecht-bodyCSS component.