Repository navigation
Release v4.44.0
Summary
Built-in form fields and dialog footer buttons now render through the presentation slots, and a new Designsystemet theme bridge maps Digdir Designsystemet tokens onto the Cratis tokens.
Added
@cratis/components/themes/designsystemetbridges a Digdir Designsystemet theme (--ds-*) to the Cratis tokens, including focus, typography, corner and size-mode tokens (part of #529)
Changed
- CommandForm text, text-area, checkbox, radio and toggle-switch fields now render through the presentation slots, so an active renderer adapter styles the inputs in command dialogs and forms (#527)
- Dialog footer buttons (OK, Cancel, Yes, No) now render through the
common.buttonslot, so an active renderer adapter styles them like every other button (#528) - Component styles read the Cratis tokens instead of hard-coded values, so a token bridge restyles them (part of #529)
Fixed
- The MUI and PrimeReact button adapters keep an explicit
aria-busyand a part-suppliedtitle(#528)