v1.5.0
@digdir/[email protected]
Minor Changes
-
Sizing and size modes have been reimplemented align code and Figma implementations, and to support setting size mode in css queries. (#3866)
--ds-size-*
variables are now independent of the element's font size, and only depend on the size mode, which aligns the code implementation with how the modes already worked in Figma. Important: This will have a large visual impact on existing code where size variables have been used to style Heading elements (e.g. margin).Read Sizes in code for info on how size modes work after these changes.
Patch Changes
- Update npm non-major dependencies (#4039)
@digdir/[email protected]
Minor Changes
-
Sizing and size modes have been reimplemented align code and Figma implementations, and to support setting size mode in css queries. (#3866)
--ds-size-*
variables are now independent of the element's font size, and only depend on the size mode, which aligns the code implementation with how the modes already worked in Figma. Important: This will have a large visual impact on existing code where size variables have been used to style Heading elements (e.g. margin).Read Sizes in code for info on how size modes work after these changes.
@digdir/[email protected]
Minor Changes
-
Sizing and size modes have been reimplemented align code and Figma implementations, and to support setting size mode in css queries. (#3866)
--ds-size-*
variables are now independent of the element's font size, and only depend on the size mode, which aligns the code implementation with how the modes already worked in Figma. Important: This will have a large visual impact on existing code where size variables have been used to style Heading elements (e.g. margin).Read Sizes in code for info on how size modes work after these changes.
Patch Changes
-
Update npm non-major dependencies (#4039)
-
Details: Updated
u-details
package to adress an issue where you could tab into the content when details was closed (firefox only) (#4022)
@digdir/[email protected]
Minor Changes
-
Sizing and size modes have been reimplemented align code and Figma implementations, and to support setting size mode in css queries. (#3866)
--ds-size-*
variables are now independent of the element's font size, and only depend on the size mode, which aligns the code implementation with how the modes already worked in Figma. Important: This will have a large visual impact on existing code where size variables have been used to style Heading elements (e.g. margin).Read Sizes in code for info on how size modes work after these changes.