Update npm non-major dependencies #64
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.0.8
->1.6.0
1.0.8
->1.6.0
1.0.8
->1.6.0
9.29.0
->9.37.0
7.24.0
->7.32.1
24.0.2
->24.7.1
19.1.8
->19.2.2
19.1.6
->19.2.1
4.5.2
->4.7.0
9.29.0
->9.37.0
16.2.0
->16.4.0
25.3.2
->25.5.3
19.1.0
->19.2.0
19.1.0
->19.2.0
15.6.0
->15.7.4
7.6.2
->7.9.4
~5.8.3
->~5.9.0
8.34.0
->8.46.0
Release Notes
digdir/designsystemet (@digdir/designsystemet-css)
v1.6.0
Compare Source
@digdir/designsystemet@1.6.0
Patch Changes
Add possiblity to override colors in config: (#4073)
Font size variables are now rounded to the nearest pixel. This affects size modes "sm" and "lg", which had subpixel values after v1.5.0. (#4070)
Update npm non-major dependencies (#4093)
Update supported engines. Now supports node >=20 <25 (#3925)
@digdir/designsystemet-css@1.6.0
Minor Changes
toggle-group: Added new secondary design available with
data-variant="secondary"
(orvariant="secondary"
in react) (#4092)toggle-group: Changed border-radius to
--ds-border-radius-default
, border-color to--ds-color-border-default
and color to--ds-color-text-default
. (#4092)Patch Changes
link: Change
:focus-visible
styling to use border, not background (#4095)--dsc-link-background--focus
--dsc-link-color--focus
link: Add
--dsc-link-border-radius
, default isvar(--ds-border-radius-md)
(#4095)Dropdown:
Dropdown.Heading
(h2-h6) - changed color to text-default and font-weight to 500 (#4076)@digdir/designsystemet-react@1.6.0
Minor Changes
variant
to enable newsecondary
design option (#4092)Patch Changes
Spinner: Allow using
aria-hidden
whenaria-label
is set, which can be useful to hide or show the element from the accessibility tree based on some UI state like whether a visual label is also rendered. (#4077)Update npm non-major dependencies (#4093)
Avatar: Allow using
aria-hidden
instead ofaria-label
in situations with visible text (#4077)@digdir/designsystemet-theme@1.6.0
Patch Changes
v1.5.1
Compare Source
@digdir/designsystemet@1.5.1
Patch Changes
@digdir/designsystemet-css@1.5.1
Patch Changes
<select>
and<textarea>
is not on same line as label (#4048)@digdir/designsystemet-react@1.5.1
Patch Changes
Field.Counter: Update count when react controls the input (#4047)
Popover: Only call
onClose
whenPopover
is open (#4065)@digdir/designsystemet-theme@1.5.1
v1.5.0
Compare Source
@digdir/designsystemet@1.5.0
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
@digdir/designsystemet-css@1.5.0
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/designsystemet-react@1.5.0
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/designsystemet-theme@1.5.0
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.
v1.4.0
Compare Source
@digdir/designsystemet@1.4.0
Patch Changes
Update npm non-major dependencies (#3989)
Update npm non-major dependencies (#4014)
@digdir/designsystemet-css@1.4.0
Patch Changes
Card: If
.ds-link
is used in a heading, remove focus and active styling (#4005)Fieldset: Removed uneccessary margin when visually hiding
Fieldset.Legend
with.ds-sr-only
(#3996)Update npm non-major dependencies (#3989)
Button: Change sizes of svg and icon (#3998)
[data-icon]
), it is1.5em
1.3em
@digdir/designsystemet-react@1.4.0
Patch Changes
Update npm non-major dependencies (#3989)
Update npm non-major dependencies (#4014)
Switch: correct jsdoc on
label
prop (#3984)@digdir/designsystemet-theme@1.4.0
Minor Changes
brand3
(#4008)import '@​digdir/designsystemet-theme/digdir.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
v1.1.10
Compare Source
@digdir/designsystemet@1.1.10
Patch Changes
Update dependency zod-validation-error to v4 (#3897)
update dependency @types/ramda to ^0.31.0 (#3922)
Update dependency zod to v4 (#3896)
Updated non-major dependencies (#3890)
Updated non-major dependencies (#3894)
@digdir/designsystemet-css@1.1.10
Patch Changes
Details: Using
margin
instead ofpadding
to style children ofDetails
to allow direct children such asButton
(#3883)Updated non-major dependencies (#3890)
@digdir/designsystemet-react@1.1.10
Patch Changes
Dialog: Respect default prevented keydown event (#3908)
Update
@u-elements/u-datalist
to 1.0.12 (#3908)Updated non-major dependencies (#3890)
Update
@u-elements/u-combobox
to 0.0.20 (#3908)RovingFocus: Eliminate unnecessary rerender (#3929)
Updated non-major dependencies (#3894)
@digdir/designsystemet-theme@1.1.10
v1.1.9
Compare Source
@digdir/designsystemet@1.1.9
@digdir/designsystemet-css@1.1.9
@digdir/designsystemet-react@1.1.9
Patch Changes
data-color
,data-size
,data-color-scheme
) (#3881)@digdir/designsystemet-theme@1.1.9
v1.1.8
Compare Source
@digdir/designsystemet@1.1.8
Patch Changes
ColorScheme
(used fordata-color-scheme
) (#3879)@digdir/designsystemet-css@1.1.8
@digdir/designsystemet-react@1.1.8
Patch Changes
data-color-scheme
on JSX elements in React usingreact-types.d.ts
(#3879)@digdir/designsystemet-theme@1.1.8
v1.1.7
Compare Source
@digdir/designsystemet@1.1.7
@digdir/designsystemet-css@1.1.7
@digdir/designsystemet-react@1.1.7
Patch Changes
Deprecate unintended exported
omit
utility (#3873)Deprecate
useDebounceCallback
,useIsomorphicLayoutEffect
anduseMediaQuery
. Use utility libraries or create your own utility function. (#3873)@digdir/designsystemet-theme@1.1.7
v1.1.6
Compare Source
@digdir/designsystemet@1.1.6
Patch Changes
Added new type declaration files for theme types when building tokens;
types.d.ts
. Use this instead ofcolors.d.ts
. (#3837)Deprecate
colors.d.ts
fromtokens build
. Replaced bytypes.d.ts
. (#3837)Updated non-major dependencies (#3868)
Add new export for augmented theme types;
@digdir/designsystemet/types
. (#3837)Use this with generated theme declaration file for types for your theme.
@digdir/designsystemet-css@1.1.6
@digdir/designsystemet-react@1.1.6
Patch Changes
Fix missing jsdocs for compound components (Component with sub-components on the component, e.g.
Details.Summary
etc) (#3865)Updated non-major dependencies (#3868)
Deprecate
@digdir/designsystemet-react/color
module. Replaced by@digdir/designsystemet/types
. (#3837)@digdir/designsystemet-theme@1.1.6
Patch Changes
colors.d.ts
fromtokens build
. Replaced bytypes.d.ts
. (#3837)v1.1.5
Compare Source
@digdir/designsystemet@1.1.5
@digdir/designsystemet-css@1.1.5
Patch Changes
Table: (#3859)
Button
component (which isdisplay: flex
) as parentdata-border
adjustsborder-radius
according toborder-width
Tabs: adjusted to allow non-tab-button-elements inside
tablist
(#3859)Details: content using
overflow: hidden
to prevent margin clipping (#3859)@digdir/designsystemet-react@1.1.5
Patch Changes
Suggestion: Fix controlled value being cleared if edited in React 18 strict mode. (#3853)
Dialog: Fix
onClose
being called twice when React is in strict mode (#3854)Field, Checkbox, Radio, Switch, Textfield: Fix duplicate ids in
aria-describedby
when React is in strict mode (#3854)Suggestion: (#3857)
value
, useselected
insteaddefaultValue
, usedefaultSelected
insteadonValueChange
, useonSelectedChange
insteadSuggestion.Chips
, userenderSelected
onSuggestion
insteadonBeforeMatch
toSuggestion
for custom matchingvalue
to currentselected
when no match@digdir/designsystemet-theme@1.1.5
v1.1.4
Compare Source
@digdir/designsystemet@1.1.4
Patch Changes
Updated non-major dependencies (#3803)
Fixed type declaration producing invalid syntax when a color name includes hyphens (#3802)
fix: letter-spacing now uses
em
unit instead of invalid percentage unit (#3759)npx @​digdir/designsystemet@latest tokens build <options>
to rebuild css-variables with now valid letter-spacing. This will result in a slight visual change in the typography.Removed non-working
--preview
option (#3758)Updated non-major dependencies (#3838)
@digdir/designsystemet-css@1.1.4
Patch Changes
Avatar: Text as children have same font-size as data-initials (#3835)
Select: Flip chevron when open, uses
:open
with limited availability. Does not work in Safari (#3846)Updated non-major dependencies (#3803)
SkipLink: Class is now
ds-skip-link
. Filename is nowskip-link.css
. (#3829)The old class and file is still present, and can imported and used as before. This will be removed in the next major version.
ToggleGroup: Class is now
ds-toggle-group
. Filename is nowtoggle-group.css
. (#3829)The old class and file is still present, and can imported and used as before. This will be removed in the next major version.
@digdir/designsystemet-react@1.1.4
Patch Changes
Internal change: Removed index files that only exported one component. (#3836)
Avatar: Text as children have same font-size as data-initials (#3835)
Suggestion: fix crash when changing the value if the initial value was an empty string (#3818)
Updated non-major dependencies (#3803)
Suggestion: now triggers change on enter or blur, or when clicking an option - not while typing (#3833)
Suggestion: Use popover API for datalist (#3845)
Updated non-major dependencies (#3838)
Internal change: Use kebab case instead of pascal case for files and folders (#3819)
@digdir/designsystemet-theme@1.1.4
Patch Changes
em
unit instead of invalid percentage unit (#3759)npx @​digdir/designsystemet@latest tokens build <options>
to rebuild css-variables with now valid letter-spacing. This will result in a slight visual change in the typography.v1.1.3
Compare Source
@digdir/designsystemet@1.1.3
@digdir/designsystemet-css@1.1.3
Patch Changes
Field: The gap between
label
andRadio
/Checkbox
/Switch
is now clickable (#3785)Details: Single outer padding when multiple children (#3796)
Round to nearest 1px a few places (#3786)
@digdir/designsystemet-react@1.1.3
Patch Changes
Field: Make sure there will be no duplicate IDs when having multiple of the same
data-field
type (#3794)Textfield: Fix wrong type definition for
type
prop (#3797)Suggestion: Visual value didn't correctly update in single mode when controlled value was updated externally (#3782)
Fix typo in
Suggestion.Chips
jsdoc (#3798)usePagination: Don't send negative pages if
showPages
is greater thantotalPages
(#3793)@digdir/designsystemet-theme@1.1.3
v1.1.2
Compare Source
@digdir/designsystemet@1.1.2
@digdir/designsystemet-css@1.1.2
Patch Changes
@digdir/designsystemet-react@1.1.2
Patch Changes
<select>
element, which is only rendered whenSuggestion
has aname
, gets a deterministic id instead of one that changes on every page load. (#3777)@digdir/designsystemet-theme@1.1.2
v1.1.1
Compare Source
@digdir/designsystemet@1.1.1
Patch Changes
Updated non-major dependencies (#3774)
Fix zod schema error when creating tokens from config file (#3774)
@digdir/designsystemet-css@1.1.1
Patch Changes
Updated non-major dependencies (#3774)
Suggestion: Reduced padding around
chip
remove-button (#3774)@digdir/designsystemet-react@1.1.1
Patch Changes
Updated non-major dependencies (#3774)
Tooltip: Will now stay open when mouse is moved to the
Tooltip
(#3774)@digdir/designsystemet-theme@1.1.1
v1.1.0
Compare Source
@digdir/designsystemet@1.1.0
Patch Changes
Update dependency
@commander-js/extra-typings
to v14 (#3734)Add experimental option to generate Tailwind config. (#3710)
Use
--experimental-tailwind
when runningtokens build
to generate.Round
--ds-size-*
CSS variables by 1px instead of by 0.0625rem. With the (#3681)default root font size (16px) the result is the same, but if the user has
changed the browser's font size we now avoid fractional pixels.
Remove unused dependencies (#3737)
Updated non-major dependencies (#3696)
Updated non-major dependencies (#3732)
@digdir/designsystemet-css@1.1.0
Patch Changes
Updated non-major dependencies (#3696)
Updated non-major dependencies (#3732)
@digdir/designsystemet-react@1.1.0
Minor Changes
Suggestion: API has changed to support multiple values. See Storybook for documentation (#3675)
MultiSuggestion: Remove component. Use
<Suggestion>
withmultiple
. See Storybook for documentation (#3675)Patch Changes
Field: Add
asChild
prop to change the default rendered element (#3704)Updated non-major dependencies (#3696)
fix(Tab): static
useId()
in rendering (#3731)Updated non-major dependencies (#3732)
@digdir/designsystemet-theme@1.1.0
Patch Changes
Round
--ds-size-*
CSS variables by 1px instead of by 0.0625rem. With the (#3681)default root font size (16px) the result is the same, but if the user has
changed the browser's font size we now avoid fractional pixels.
Add export for tailwind config for default theme -
@digdir/designsystemet-theme/tailwind
. (#3710)eslint/eslint (@eslint/js)
v9.37.0
Compare Source
v9.36.0
Compare Source
Features
47afcf6
feat: correctpreserve-caught-error
edge cases (#20109) (Francesco Trotta)Bug Fixes
75b74d8
fix: add missing rule option types (#20127) (ntnyq)1c0d850
fix: updateeslint-all.js
to useObject.freeze
forrules
object (#20116) (루밀LuMir)7d61b7f
fix: add missing scope types toScope.type
(#20110) (Pixel998)7a670c3
fix: correct rule option typings inrules.d.ts
(#20084) (Pixel998)Documentation
b73ab12
docs: update examples to usedefineConfig
(#20131) (sethamus)31d9392
docs: fix typos (#20118) (Pixel998)c7f861b
docs: Update README (GitHub Actions Bot)6b0c08b
docs: Update README (GitHub Actions Bot)91f97c5
docs: Update README (GitHub Actions Bot)Chores
12411e8
chore: upgrade @eslint/js@9.36.0 (#20139) (Milos Djermanovic)488cba6
chore: package.json update for @eslint/js release (Jenkins)bac82a2
ci: simplify renovate configuration (#19907) (唯然)c00bb37
ci: bump actions/labeler from 5 to 6 (#20090) (dependabot[bot])fee751d
refactor: usedefaultOptions
in rules (#20121) (Pixel998)1ace67d
chore: update example to usedefineConfig
(#20111) (루밀LuMir)4821963
test: add missing loc information to error objects in rule tests (#20112) (루밀LuMir)b42c42e
chore: disallow use of deprecatedtype
property in core rule tests (#20094) (Milos Djermanovic)7bb498d
test: remove deprecatedtype
property from core rule tests (#20093) (Pixel998)e10cf2a
ci: bump actions/setup-node from 4 to 5 (#20089) (dependabot[bot])5cb0ce4
refactor: usemeta.defaultOptions
inpreserve-caught-error
(#20080) (Pixel998)f9f7cb5
chore: package.json update for eslint-config-eslint release (Jenkins)81764b2
chore: updateeslint
peer dependency ineslint-config-eslint
(#20079) (Milos Djermanovic)v9.35.0
Compare Source
v9.34.0
Compare Source
v9.33.0
Compare Source
v9.32.0
Compare Source
v9.31.0
Compare Source
v9.30.1
Compare Source
v9.30.0
Compare Source
navikt/aksel (@navikt/aksel-icons)
v7.32.1
Compare Source
v7.32.0
Compare Source
Minor Changes
Icons: Updated
SignLanguageTwoHands
-design. (#4115)Icons: 🎉 Added some new icons
ChairTable
,Footprint
,Lifebuoy
,OpenBook
,OpenMagazine
andSlide
. ([#&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.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.