Files
Frost/MIGRATION.md
Fretux 50fe5ec2e9
CI / Test and package (push) Successful in 1m29s
Release and RC / Verify and publish (push) Failing after 6m12s
Prepare Frost 1.0.0 release candidate
2026-11-21 14:48:53 +01:00

1.6 KiB

Migrating from Frost 0.4 to 1.0

Frost 1.0 keeps the existing component and token names and adds a formal public API contract. The main packaging change is the default entrypoint.

Default import

@fretuks/frost now resolves to the built, import-free dist/frost.css bundle. Existing imports normally continue to work:

@import "@fretuks/frost";

If a build intentionally depended on the modular source entrypoint, use:

@import "@fretuks/frost/frost.css";

The explicit core, utility-layer, component-layer, tokens, components, utilities, and forced-colors exports remain available. Bundled aliases are available as @fretuks/frost/bundle and @fretuks/frost/bundle.min. Import-free layer bundles are exported under @fretuks/frost/dist/utility-layer.css and @fretuks/frost/dist/component-layer.css, with matching .min.css variants.

New behavior to verify

  • Check custom themes in forced-colors: active and prefers-contrast: more.
  • Confirm interactive code still synchronizes hidden, aria-expanded, tab selection, and dialog focus; Frost supplies styles rather than behavior.
  • Review newly strengthened disabled, validation, current-page, and focus states.
  • If application CSS targets internal selectors instead of documented frost-* classes and properties, move those overrides to the public semantic tokens.

Release-candidate installation

Install the candidate without changing the stable npm tag:

npm install @fretuks/frost@next

Run the application in Chromium, Firefox, and Safari/WebKit before promoting the exact candidate commit to 1.0.0.