Repository navigation
v1.16.0
@digdir/designsystemet@1.16.0
Patch Changes
- Updated dependencies []:
- @digdir/designsystemet-types@1.16.0
@digdir/designsystemet-css@1.16.0
Minor Changes
- Root: Add
--ds-icon-sizevariable for easier consistent icon sizing. Size--ds-size-6by default. (#4971)
Root: Increasedread-onlyicon size from1.2emto6for consistency and configurable using--ds-icon-size
Alert, Chip, Suggestion Chip, Search, IconButton: Decreased icon size from7to6for consistency and configurable using--ds-icon-size
Dialog: Add missing--dsc-dialog-icon-sizevariable
Patch Changes
- Avatar: Now fully supports rendering as a
<button>(#4968)
Button, Tabs, Tag: No longer shrink insidedisplay: flex, preventing unintended multi-line text wrapping
Button: Added missing--dsc-button-border-radiusCSS custom property
Button: Added missing--dsc-button-color--activeCSS custom property
Chip: Now correctly inheritstext-alignwhen rendered as a<button>
Chip: Prevents the remove icon (x) from shrinking whendata-variant="removable"contains long text
Dialog: Now centers correctly when placed inside adisplay: flexcontainer
Field: Now usescolumn-gapinstead ofpaddingto create spacing betweenradio/checkboxinputs and their labels.
Heading: Prevents page breaks immediately after headings when printing
Input: Added missing--dsc-input-border-radiusCSS custom property
Input: Placeholder text is now styled using the--dsc-input-color-placeholderCSS custom property
Input: Fixes a Safari bug whereinput[type="date"]placeholder text could appear cyan
Input: Enforces a minimumfont-sizeof16pxto prevent mobile browser zooming, and adds--dsc-input-font-sizefor overwriting this
Pagination, ToggleGroup: Interactive elements are now styled correctly regardless ofdata-variant
ToggleGroup: Now supports<a>elements as interactive controls
ToggleGroup: Outer edge now usesoutlineinstead ofborderin bothprimaryandsecondaryvariants for consistent rendering
Table: Added--dsc-table-vertical-alignCSS custom property
Table: Prevents page breaks within tables when printing
Tag: Added missing--dsc-tag-border-radiusCSS custom property - Updated dependencies []:
- @digdir/designsystemet-types@1.16.0
@digdir/designsystemet-react@1.16.0
Patch Changes
-
Suggestion: Better handle React async rendering child
<u-datalist>element (#4933) -
Dialog: do not trigger
closeevent when using controlled mode (#4965) -
Label: Removed unneeded default value for
weightprop. (#4955) -
Suggestion: Updated VoiceOver compatibility - both with and without QuickNav (#4970)
-
Dialog: Apply
autofocusonly for dialog-level animations, not nested element animations (#4958) -
Button: No longer renders a redundant
data-variantattribute in HTML when novariantis specified. (#4968)
Field: Added missing TypeScript support fordata-positionwhen usingradioorcheckboxinputs.
usePagination: No longer outputs redundantvariantprops -
Export missing types
DefaultPropsandPlacement(#4978) -
Updated dependencies [
4e8fa0f,ae3a92b,ef2bf9c]:- @digdir/designsystemet-web@1.16.0
- @digdir/designsystemet-types@1.16.0