Skip to content

Release v4.44.0

Choose a tag to compare

@github-actions github-actions released this 18 Nov 21:51
eb3041a

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/designsystemet bridges 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.button slot, 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-busy and a part-supplied title (#528)