Update dependency @digdir/designsystemet-css to v1.0.0-next.41 #1173
+6
−6
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.0.0-next.35
->1.0.0-next.41
Release Notes
digdir/designsystemet (@digdir/designsystemet-css)
v1.0.0-next.41
Compare Source
Minor Changes
v1.0.0-next.40
Compare Source
Patch Changes
Accordion
toDetails
(#2839)v1.0.0-next.39
Compare Source
v1.0.0-next.38
Compare Source
v1.0.0-next.37
Compare Source
Major Changes
data-ds-color-mode
has been renamed todata-color-scheme
(#2798)v1.0.0-next.36
Compare Source
Major Changes
Search: New compound API (#2708)
Radio + Checkbox: (#2607)
label
prop instead ofchildren
as label textRadio.Group
andCheckbox.Group
and useFieldset
insteadMinor Changes
React components and css now support custom colors through the
data-color
attribute. (#2703)BREAKING CHANGE: All React components that had a
color
prop have been changed to usedata-color
.All1 css targeting
data-color
has been changed to work with all custom colors generated by the CLI.Avatar
,Badge
,Button
, andLink
use--ds-color-accent-*
2, unlessdata-color
is set directly on the element.For components that had a
color
prop, but defaulted to something other than"accent"
,data-color
must also be set directly on the element.All other components that defaulted to
"accent"
, or previously only existed in"accent"
color, now supportdata-color
. They will also inherit their color from the closestdata-color
attribute. If none is found, they use--ds-color-accent-*
2.1: ...except
Alert
, which only supportsinfo
,warning
,danger
andsuccess
colors. 2: If an"accent"
color is not defined in the theme, the--ds-color-accent-*
variables will point to the firstmain-color
.Implemented a more flexible system of semantic border-radius tokens. (#2497)
Patch Changes
Accordion: Fix chevron abandoning parent in scroll container (#2699)
SkipLink: Add css variables (#2626)
ValidationMessage: Add icon when
error={true}
(#2596)ValidationMessage: fix icon abandoning the component when scrolling (#2646)
Accordion: Add css variable for chevron (#2626)
CSS: base sizing on font-size so all components can have all sizes, and naturally inherits size from context (#2541)
CSS: Move default background-color to
<body>
element (#2754)Dropdown: Add
Dropdown.Button
for more explicit API (#2694)Breadcrumbs: Add css variable for chevron (#2626)
Input: Sufficient color contrast for readonly (#2621)
Alert: fix icon abandoning the component when scrolling (#2648)
chip: Fix wrong font sizes (#2595)
Button: Fix SVG and images shrinking in flex containers (#2612)
Fieldset: Move to compound components
Fieldset.Legend
andFieldset.Description
(#2705)Table: add
z-index
to stickhy header (#2761)Tooltip: Add more variables (#2626)
Button: Use font-weight
--ds-font-weight-medium
(#2618)Field: Adds
<Field>
component wrapping and connecting internal form elements for better accessibility (#2502)Chip: Use correct
32px
height to align nicely with<Tag>
(#2683)Combobox: fix overflow on screens narrower than ~340px (#2570)
Label: Fix icon abandoning parent in scroll container (#2699)
Label: Use data attributes for styling (#2588)
ValidationMessage: Use data attributes for styling
Select + Textarea: (#2571)
label
,hideLabel
,description
,characterLimit
anderror
as these will be part ofField
APIPagination: Add css variable for chevron (#2626)
Field.Affix: (#2793)
Field.AffixWrapper
toField.Affixes
size
attributeRemove
baseline
layer and fix layerorder for typography (#2588)Modal backdrop was invisible in some browser versions. See https://caniuse.com/mdn-css_selectors_backdrop_inherit_from_originating_element for affected versions. (#2615)
Table: Add
Table.Foot
and style caption (#2744)Configuration
📅 Schedule: Branch creation - "before 07:00 on Thursday" in timezone Europe/Oslo, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.