Repository navigation
v1.22.0
@digdir/designsystemet@1.22.0
No changes in this release.
@digdir/designsystemet-css@1.22.0
Minor Changes
- Suggestion: Now supports setting localization through CSS Custom Properties (thanks @unekinn) (#5321)
Patch Changes
-
Tag: Now gets accessible focus outline if rendered as interactive element to support tag clouds etc. (#5361)
-
Radio: Fixed tiny rendering glitch gap between hover outline and border at 400% zoom. (#5341)
-
Avatar: Now scales initials text to match avatar size (#5340)
-
Breadcrumbs: Now correctly announced as a list by VoiceOver in Safari (#5367)
-
Chip: Improve optical spacing between input/icon and text, which leads to slightly slimmer chip width. (#5330)
-
Dropdown: Now correctly announced as a list by VoiceOver in Safari (#5367)
-
AvatarStack: Now correctly announced as a list by VoiceOver in Safari (#5367)
-
Chip: Removable chips now automatically include screen reader instructions. Customize the instructions using
aria-labelor the new--dsc-chip-removable-labelCSS custom property. (#5330) -
Avatar: Now supports direct text content, removing the need for inner
<span>ordata-initials. (#5340)- deprecated
data-initialswill be removed in next major release.
- deprecated
-
Link: Adjusted the default
--dsc-link-text-decoration-thicknessto0.06em(from0.0625em) and--dsc-link-text-decoration-thickness--hoverto0.12em(from0.125em) for slimmer, more consistent underlines across cards, headings, and links. (#5365) -
Card: Now supports
--dsc-card-link-text-decoration-thicknessand--dsc-card-link-text-decoration-thickness--hoveraligning underline behaviour with link component (#5365) -
Pagination: Now correctly announced as a list by VoiceOver in Safari (#5367)
@digdir/designsystemet-react@1.22.0
Minor Changes
-
Suggestion.Clear:
aria-labelprop deprecated in React. Please use CSS custom properties--dsc-suggestion-sr-clearor attributedata-sr-clearon Suggestion. (#5321) -
Suggestion:
singularandpluralprops deprecated in React. Please use CSS custom properties--dsc-suggestion-sr-singularand--dsc-suggestion-sr-pluralor attributesdata-sr-singularanddata-sr-plural. (#5321) -
Suggestion: Now supports setting localization through CSS Custom Properties (thanks @unekinn) (#5321)
-
Search.Clear:
aria-labelprop deprecated in React. Please use CSS custom properties--dsc-suggestion-sr-clearor attributedata-sr-clearon Search. (#5321)
Patch Changes
-
Utils: Correctly unescapes quotes in localized CSS custom property texts (thanks @unekinn) (#5321)
-
Search: Now correctly sets state of clear button also when programmatically changing
value(thanks @unekinn) (#5321) -
Suggestion: Now correctly renders focus ring in Safari (thanks @ssb-cgn) (#5321)
-
Suggestion: Now correctly renders clear button state when rendered asynchronously (thanks @stianmorsund) (#5321)
-
Search: No longer causes hydration warning when server side rendered. (#5368)
-
Tag: Now supports
asChildproperty (#5361) -
Avatar: Now supports direct text content, removing the need for inner
<span>ordata-initials. (#5340)- deprecated
data-initialswill be removed in next major release.
- deprecated
-
Suggestion: Now correctly handles internal state when preventing a selection (thanks @olemartinorg) (#5321)
-
Suggestion: Now correctly renders
data-emptyoption when not creatable (thanks @lassopicasso) (#5321)
@digdir/designsystemet-types@1.22.0
No changes in this release.
@digdir/designsystemet-web@1.22.0
Minor Changes
- Suggestion: Now supports setting localization through CSS Custom Properties (thanks @unekinn) (#5321)
Patch Changes
-
Utils: Correctly unescapes quotes in localized CSS custom property texts (thanks @unekinn) (#5321)
-
Search: Now correctly sets state of clear button also when programmatically changing
value(thanks @unekinn) (#5321) -
Suggestion: Now correctly renders focus ring in Safari (thanks @ssb-cgn) (#5321)
-
Suggestion: Now correctly renders clear button state when rendered asynchronously (thanks @stianmorsund) (#5321)
-
Tooltips: Now only warns about missing
tabindexif not explicitly set and not if label which has implicit interaction (#5353) -
Suggestion: Now correctly handles internal state when preventing a selection (thanks @olemartinorg) (#5321)
-
Suggestion: Now correctly renders
data-emptyoption when not creatable (thanks @lassopicasso) (#5321)