Update Digdir design system to v1.3.0 #3624
Open
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.1.10
->1.3.0
1.1.10
->1.3.0
1.1.10
->1.3.0
Release Notes
digdir/designsystemet (@digdir/designsystemet-css)
v1.3.0
Compare Source
@digdir/designsystemet@1.3.0
Minor Changes
Patch Changes
@digdir/designsystemet-css@1.3.0
@digdir/designsystemet-react@1.3.0
Minor Changes
Suggestion: TypeScript typing now depends on whether
multiple
is true or false. Whenmultiple
is true,selected
,defaultSelected
andonSelectedChange
are typed for arrays of items. Otherwise, they are typed for single items. (#3909)Suggestion: Removed type
SuggestionValues
, as this union is no longer useful. Usestring
orSuggestionItem
whenmultiple
isfalse
, andstring[]
orSuggestionItem[]
whenmultiple
istrue
. (#3909)Suggestion: remove deprecated props
value
,defaultValue
andonValueChange
. Useselected
,defaultSelected
andonSelectedChange
instead. (#3909)Patch Changes
update u-elements/u-details to 0.1.3 (#3981)
update u-elements/u-combobox to 1.0.1 (#3981)
Suggestion: Remove deprecated
Suggestion.Chips
(#3981)update u-elements/u-datalist to 1.0.14 (#3981)
Update npm non-major dependencies (#3973)
@digdir/designsystemet-theme@1.3.0
v1.2.0
Compare Source
@digdir/designsystemet@1.2.0
Patch Changes
Update npm non-major dependencies (#3923)
Replace
chalk
withpicocolors
(#3910)@digdir/designsystemet-css@1.2.0
Minor Changes
Badge: Allow adjusting the position of the badge using css variables
--dsc-badge-{top,bottom,left,right}
(#3965)Link: Automatically add recommended spacing to icons (svg or img), when there is also a
<span>
present. (#3942)<Link><Icon />Text</Link>
will not get spacing<Link><Icon /> Text</Link>
will get a leading underlined space character between icon and text, which looks bad<Link><Icon /><span>Text</span></Link>
will get recommended spacingPatch Changes
data-command="close"
will get an "X" iconbutton[data-command="close"]
is the first child of.ds-dialog
, it will float to the top right@digdir/designsystemet-react@1.2.0
Patch Changes
Field: Don't check for hidden elements (#3950)
Dialog: Add
data-command="close"
, which you can use to close the modal. (#3959)<form>
on our close buttonDialog: Deprecate
asChild
. Should always be a<dialog>
element. Will be removed in the next major version (#3940)Tabs.Panel: Add
aria-labelledby
to associated button (#3939)Tabs: Don't conditionally render
TabPanel
, usehidden
instead (#3936)TabPanel
components have heavy code, consider conditional rendering to improve performanceUpdate dependency @u-elements/u-details to ^0.1.2 (#3955)
Update npm non-major dependencies (#3923)
Skeleton: Deprecate
characters
prop, which never had any effect. (#3961)Tooltip: Close on click outside, applicable for mobile devices (#3957)
@digdir/designsystemet-theme@1.2.0
Configuration
📅 Schedule: Branch creation - Between 12:00 AM and 07:59 AM, Monday through Friday ( * 0-7 * * 1-5 ) 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 these updates again.
This PR was generated by Mend Renovate. View the repository job log.