- 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.
-
729f698: Restore vanilla HTML implementations to the npm packages of CSS components, with the following files:
dist/html/index.cssdist/html/index.min.cssdist/html/index.mjs
- 725617a: Add
tokens.mjsandtokens.d.mtsfiles to CSS packages.
- e497b08: Export CSS string as default export in
dist/index.mjs.
-
fe20468: Breaking change: Removed "lead" and "small" styling from HTML paragraph component. If "lead" or "small" are now used, there will be no styling.
Removed "lead" and "small" stories from html paragraph.
- 526ba87: Added metadata for paragraph tokens.
- 62f1157: Add SCSS files to
src/directory of CSS component packages.
- 856d996: Switch from alpha releases to semantic versioning.