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 was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@digdir/designsystemet-react@0.101.0
Minor Changes
SeverityColors
is removed fromColor
type. Components where we deem severity to be relevant, now explicitly have SeverityColors added todata-color
.Button
component only allows"danger"
. (#3223)Badge
,Card
,Details
,Popover
: Renamedata-variant
prop tovariant
(#3241)ToggleGroup.Item
: Disallow settingvariant
directly, it should only be set based on which item in the group is active (#3241)Patch Changes
Dialog: Remove
backdropClose
, and replace withclosedby="none | closerequest | any"
to align with upcoming browser standard (#3281)Suggestion: Fix clear button not unselecting the selected option (#3212)
Button:
loading
now setsaria-disabled="true"
(#3211)MultiSelect: New experimental component replacing
Combobox
in multiple mode (#3097)Fix
peerDependencies
definition for React 19 (#3262)Dialog: Add prop
modal
to toggle between modal and non-modal dialogs (#3210)@digdir/designsystemet@0.101.0
Patch Changes
tokens: Renamed
font.family
tofont-family
(#3264)tokens:
extra-bold
token should now have correct value according to Token Studio (#3264)tokens: Added
font-weight
to token name for fontWeight tokens (e.g.font-weight.medium
) (#3264)Removed
--ds-global
colors from tokens build (#3250)Some options supplied to the CLI were being overridden by their default values (#3267)
Added
--ds-link-color-visited
for styling visited links (#3250)@digdir/designsystemet-css@0.101.0
Patch Changes
New class
ds-focus--inset
for adding a focus border on the insider of an element (#3222)Button: When setting both
aria-busy
andaria-disabled
, we don't turn down opacity, and show a progress cursor (#3211)Radio: fix filled error state in
Fieldset
(#3257)Tabs: Focus now fully encompasses
Tab
(#3270)Tabs: change selected color and inherit color on content (#3191)
Details: Change to inset focus (#3271)
Dropdown: Move dropdown closer to trigger (#3273)
Removed
--ds-global
colors from tokens build (#3250)Breadcrumbs: Fix arrow to inherit color when in a link (#3269)
Rename
--ds-disabled-opacity
to--ds-opacity-disabled
(#3250)Added
:not([hidden])
arounddisplay
CSS properties to respect nativehidden
attribute (#3278)Added
--ds-link-color-visited
for styling visited links (#3250)@digdir/designsystemet-theme@0.101.0