v1.7.2
@digdir/designsystemet@1.7.2
Patch Changes
-
Add option to override
linkVisitedcolor in config: (#4182)"theme": { "overrides": { "linkVisited": { "light": "#ff1234", "dark": "#1234ff" } } }
-
New command that lets you generate a config file from your design tokens: (#4207)
npx @digdir/designsystemet generate-config-from-tokens --dir <path to design tokens>- This command does not include any overrides you may have done.
-
Update npm non-major dependencies (#4193)
-
Update npm non-major dependencies (#4214)
-
For your config file, you can now get the schema file from designsystemet.no (#4195)
"$schema": "https://designsystemet.no/schemas/cli/[VERSION].json"
@digdir/designsystemet-css@1.7.2
Patch Changes
-
input: Remove hover effect when
<label>is hovered (#4196) -
tag: Add new variant,
[data-variant="outline"]. (#4173)- To use the old variant, either don't set
data-variant, or set it todefault.
- To use the old variant, either don't set
-
Update npm non-major dependencies (#4214)
-
card: Add support for
<picture>(#4137) -
search: Don't set
position: relative, but useisolation: isolateon.ds-search(#4212)- This removes
z-indexonbutton[type="reset"]
- This removes
-
tag: New css variables to go with
[data-variant="outline"]: (#4173)--dsc-tag-border-width--dsc-tag-border-color--dsc-tag-border-style
@digdir/designsystemet-react@1.7.2
Patch Changes
-
Update
@u-elements/comboboxto v1.0.4 (#4226) -
Dialog: If the browser supports
closedByon<dialog>, we let the browser handle it (#4210) -
Tooltip: Tooltip is now automatically
aria-describedbyoraria-labelledbybased on the content of the trigger component. (#4202)- This can be overridden with the new
type-prop that acceptsdecribedbyorlabelledby.
- This can be overridden with the new
-
Update npm non-major dependencies (#4193)
-
Update npm non-major dependencies (#4214)
-
Tag: Add new prop
variant(#4173)- Accepts
default|outline.defaultis the default value.
- Accepts
@digdir/designsystemet-theme@1.7.2
Patch Changes
- Update npm non-major dependencies (#4214)