- eabbf23: Publish
tokens.jsonin DTCG format:$valueinstead ofvalue, standard$type, etcetera.
- 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.
- 8c57d0c: Remove SVG checkmark background image from checkbox :focus and :active states.
- 725617a: Add
tokens.mjsandtokens.d.mtsfiles to CSS packages.
- e497b08: Export CSS string as default export in
dist/index.mjs.
- 0e2e4da: Fix rendering of the checkbox component in the combined indeterminate and checked state, to have an indeterminate icon instead of a checked icon.'
- 62f1157: Add SCSS files to
src/directory of CSS component packages.
- 856d996: Switch from alpha releases to semantic versioning.