Open
Conversation
809949b to
ce014f7
Compare
46199e8 to
89e384a
Compare
fbf6e3c to
5ff3e29
Compare
5ff3e29 to
b0b8308
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.7.3→1.13.11.7.3→1.13.11.7.3→1.11.09.15.0→9.39.47.33.5→7.40.018.19.67→18.19.13018.3.12→18.3.2818.3.1→18.3.74.3.4→4.7.09.15.0→9.39.45.0.0→5.2.015.12.0→15.15.0~5.6.2→~5.9.08.16.0→8.58.0Release Notes
digdir/designsystemet (@digdir/designsystemet-css)
v1.13.1Compare Source
@digdir/designsystemet@1.13.1
Patch Changes
fix: add missing references for token sync in Figma (#4659)
Updated dependencies []:
@digdir/designsystemet-css@1.13.1
Patch Changes
input: fix height of empty date and time inputs on iOS Safari (#4634)
define
browserfield inpackage.jsonfor easier use client-side in browser and CDN. (#4646)dropdown: don't style
button, a, [role="button"]in a nested<dialog>(#4651)dropdown: selector only targeting direct children (#4656)
Updated dependencies []:
@digdir/designsystemet-react@1.13.1
Patch Changes
update npm non-major dependencies (
cc33a61)Tabs:
onChangewas not called when keyboard changes active tab (#4616)Dropdown:
classNamein subcomponents was not forwarded to DOM-element (#4655)dropdown: selector only targeting direct children (#4656)
Tabs: fix controlled version not behaving properly (#4635)
input: add suppressHydrationWarning as attributes will be added by ds-field (#4656)
Updated dependencies [
cc33a61,811fa99,80f9305,97ebdb3,f403286]:@digdir/designsystemet-types@1.13.1
@digdir/designsystemet-web@1.13.1
Patch Changes
update npm non-major dependencies (
cc33a61)update dependency rolldown to v1.0.0-rc.9 (#4642)
Fixed an issue in tooltip that caused delay on all touch interactions on iOS devices (#4657)
dropdown: selector only targeting direct children (#4656)
popover: stop positioning non-popovers. (#4651)
<dialog>s in popoversv1.13.0Compare Source
@digdir/designsystemet@1.13.0
Patch Changes
update npm non-major dependencie (#4607)
update npm non-major dependencies (#4548)
update npm non-major dependencies (#4573)
Updated dependencies []:
@digdir/designsystemet-css@1.13.0
Patch Changes
Badge, Button, Spinner, Tabs, Tag: Icons now scale in Safari when zooming (#4484)
update npm non-major dependencie (#4607)
select: fixed missing chevron icon when
readonly(#4585)badge: ensure badge is positioned above focus-ring when using
.ds-badge--position(#4511)card: Fix deeply nested
.ds-detailsremoving padding (#4576)update npm non-major dependencies (#4573)
Updated dependencies []:
@digdir/designsystemet-react@1.13.0
Patch Changes
Badge, Button, Spinner, Tabs, Tag: Icons now scale in Safari when zooming (#4484)
ToggleGroupItem: Add missing props for backward compatibility. An internal rewrite from
buttontolabel+inputin version v1.12.0 led to a lack of some props onToggleGroupItemrelated tobutton. (#4580)update npm non-major dependencie (#4607)
update npm non-major dependencies (#4548)
toggle-group: re-introduce support for disabled items (#4618)
update npm non-major dependencies (#4573)
Details: use
DetailsHTMLAttributestype to allownameattribute (#4557)Dialog: fixed non-modal Dialog not opening when using
Dialog.Trigger(#4611)AvatarStack: changed underlying element from
figuretospanto avoid html-validation issues when used inside aspan(#4579)AvatarStack: replaced tabindex="-1" with no tabindex at all when
expandableis not set (#4579)Updated dependencies [
5776e4b,dc023a4,9f7d318,303ee66,4bd54bd]:@digdir/designsystemet-types@1.13.0
@digdir/designsystemet-web@1.13.0
Minor Changes
Patch Changes
Tooltip now supports being changed programmatically (#4562)
update npm non-major dependencie (#4607)
toggle-group: re-introduce support for disabled items (#4618)
Update dependency rolldown to v1.0.0-rc.7 (#4606)
v1.12.1Compare Source
@digdir/designsystemet@1.12.1
Patch Changes
@digdir/designsystemet-css@1.12.1
Patch Changes
@digdir/designsystemet-react@1.12.1
Patch Changes
Avatar: fixed an issue where tooltip could not be set (#4534)
Updated dependencies [
d81048f,d81048f]:@digdir/designsystemet-types@1.12.1
@digdir/designsystemet-web@1.12.1
Patch Changes
tooltip: prevent errors when pressing esc before tooltip is mounted (#4535)
field: update counter when
data-limitattribute changes (#4535)v1.12.0Compare Source
@digdir/designsystemet@1.12.0
Patch Changes
update npm non-major dependencies (#4517)
update npm non-major dependencies (#4497)
Updated dependencies []:
@digdir/designsystemet-css@1.12.0
Minor Changes
input: add support for
[aria-readonly='true'](#4409)field: add new css variables: (#4409)
--dsc-field-counter-over: '%d tegn for mye';--dsc-field-counter-under: '%d tegn igjen';Support for new package with custom elements and observers for Designsystemet. (#4409)
popover: add
--dsc-popover-placementwith default valuetop(#4409)fieldset: add
--dsc-fieldset-gapwith default valuevar(--ds-size-4)(#4409)tooltip: add
--dsc-tooltip-placementwith default valuetop(#4409)dropdown: add
--dsc-dropdown-placementwith default valuebottom(#4409)pagination: (#4409)
--dsc-pagination-ellipsiswith default value'\2026'--dsc-pagination-label: 'Bla i sider';if language is'nn','nb'or'no'Patch Changes
suggestion: various changes to chip styling. You no longer need to pass a class to
<data>(#4409)link: don't set
:visitedcolor and set defaultborder-radiusto 0 (#4409)dialog: style
.ds-dialog button[command='close']:empty::beforewith X-icon (#4409)toggle-group: remove
--dsc-togglegroup-text-color, as this was not used (#4409)update npm non-major dependencies (#4517)
Card: fix issues with deeply nested heading links. Now uses web observer
data-clickdelegateforinternally. (#4409)toggle-group: add styling for new DOM structure introduced in
@digdir/designsystemet-web(#4409)field: add styling for
<ds-field>counter. (#4409)tabs: add support for
<ds-tabs>(#4409)breadcrumbs: don't remove underline on
a[aria-current='page'], but onli:last-child a(#4409)added class
ds-floating, which is used on floating elements internally (#4409)Updated dependencies []:
@digdir/designsystemet-react@1.12.0
Minor Changes
Input Support for new attribute
data-indeterminateto toggle indeterminate state whentype="checkbox"insideField/ds-field. (#4409)Support for new package with custom elements and observers for Designsystemet. (#4409)
ToggleGroup: Updated DOM structure and now uses new web observer
data-toggle-group. (#4409)Add
suppressHydrationWarningto various components. This is to support@digdir/designsystemet-webbeing used internally. (#4409)Field.Counter: Deprecate
hint(#4409)Field: Deprecated
asChildas this component now uses<ds-field>internally. (#4409)ErrorSummary: Deprecate
asChildas this component now uses<ds-error-summary>internally. (#4409)Select: Deprecate
readOnly. Usearia-readonlyinstead. (#4409)RovingFocus: Deprecate component. This will be removed in the next major version (#4409)
Tooltip: Deprecate
open. This should not be used on Tooltip. Use aPopoverinstead. (#4409)Dialog: Deprecate
data-command="close". Usecommand="close"andcommandfor="DIALOG-ID"instead. (#4409)Patch Changes
Breadcrumbs: Now uses
<ds-breadcrumbs>internally. (#4409)Card: Fix deeply nested anchors in headings causing navigation (#4409)
update npm non-major dependencies (#4517)
Card: fix issues with deeply nested heading links. Now uses web observer
data-clickdelegateforinternally. (#4409)Pagination: Now uses
<ds-pagination>internally. (#4409)update npm non-major dependencies (#4497)
Tabs: Now uses
<ds-tabs>and related web components internally (#4409)Tooltip: Now uses
data-tooltipfrom@digdir/designsystemet-webinternally (#4409)Details: Use
<details>and<summary>internally. (#4409)Updated dependencies [
6bde739,34c1ca7]:@digdir/designsystemet-types@1.12.0
@digdir/designsystemet-web@1.12.0
Minor Changes
New package with custom elements and observers for Designsystemet. (#4409)
ds-breadcrumbsds-error-summaryds-fieldds-paginationds-suggestionds-tabsds-tablistds-tabds-tabpaneldata-clickdelegatefordata-toggle-groupdata-tooltipreadonlyreadonlysupport onselectandinputelementspopoverpopovertargetfor placement ofds-floatingelements.details&summarydialogcommand&commandforPatch Changes
v1.11.1Compare Source
@digdir/designsystemet@1.11.1
Patch Changes
update npm non-major dependencies (#4469)
update dependency colorjs.io to ^0.6.1 (#4422)
update npm non-major dependencies (#4445)
update npm non-major dependencies (#4423)
Updated dependencies []:
@digdir/designsystemet-css@1.11.1
Patch Changes
update npm non-major dependencies (#4469)
AvatarStack: override user-agent margins on figure (#4431)
update dependency postcss-nesting to v14 (#4424)
Removed browserlist entry
"cover 90% in NO"due to an apparent error in the dataset causing excessive irrelevant prefixing. This reduces the size ofindex.cssfrom 157 to 113kb. (#4434)Updated dependencies []:
@digdir/designsystemet-react@1.11.1
Patch Changes
update npm non-major dependencies (#4469)
Avatar: fix - removed aria-hidden and role=img when asChild (#4445)
update npm non-major dependencies (#4445)
update dependency @navikt/aksel-icons to v8 (#4447)
update npm non-major dependencies (#4423)
Updated dependencies []:
@digdir/designsystemet-types@1.11.1
v1.11.0@digdir/designsystemet@1.11.0
Minor Changes
1.10.0was released by accident, and we are skipping to1.11.0(#4392)1.10.0is deprecated on npm, and not accessible on Github. Use1.11.0or newer.Patch Changes
update npm non-major dependencies (#4373)
Update dependency zod-validation-error to v5 (#4401)
Update dependency colorjs.io to ^0.6.0 (#4372)
Remove
change-caseas dependency (#4343)Update
@types/nodeto24.10.7(#4396)update npm non-major dependencies (#4336)
update npm non-major dependencies (#4398)
Update npm non-major dependencies (#4347)
Updated dependencies [
4d48a81]:@digdir/designsystemet-css@1.11.0
Minor Changes
Version
1.10.0was released by accident, and we are skipping to1.11.0(#4392)1.10.0is deprecated on npm, and not accessible on Github. Use1.11.0or newer.avatar-stack: New experimental component (#4331)
Patch Changes
avatar: added
--dsc-avatar-font-sizeto easier override font size (#4331)Hover styles for cards containing
<a>inside a heading will no longer propagate to wrapping cards (#4360)update npm non-major dependencies (#4336)
card: Fix focus being clipped on nested
<summary>(#4379)Dialog: removed media-query that forces 100% width under 640px (#4345)
dialog: More gentle animations when using
data-placement(#4350)Updated dependencies [
4d48a81]:@digdir/designsystemet-react@1.11.0
Minor Changes
Version
1.10.0was released by accident, and we are skipping to1.11.0(#4392)1.10.0is deprecated on npm, and not accessible on Github. Use1.11.0or newer.Avatar: added
asChildprop (#4331)AvatarStack: New experimental component (#4331)
Suggestion: Add new prop
autoPlacement, which is by defaulttrue(#4359)Suggestionwill now try to stay within the viewport on the y-axisPatch Changes
update npm non-major dependencies (#4373)
Removed
sideEffects:falseproperty used by some bundlers to help tree-shake cjs files. (#4376)update npm non-major dependencies (#4336)
update npm non-major dependencies (#4398)
Suggestion: Always call
onSelectedChange, and returnnullinstead ofundefined(#4388)Update npm non-major dependencies (#4347)
Updated dependencies [
4d48a81]:@digdir/designsystemet-theme@1.11.0
Minor Changes
Version
1.10.0was released by accident, and we are skipping to1.11.0(#4392)1.10.0is deprecated on npm, and not accessible on Github. Use1.11.0or newer.Patch Changes
4d48a81]:@digdir/designsystemet-types@1.11.0
Minor Changes
1.10.0was released by accident, and we are skipping to1.11.0(#4392)1.10.0is deprecated on npm, and not accessible on Github. Use1.11.0or newer.v1.9.0Compare Source
@digdir/designsystemet@1.9.0
Minor Changes
Add ability to override focus colors from config: (#4320)
{ "overrides": { "focus": { "inner": { "light": "HEX", "dark": "HEX" }, "outer": { "light": "HEX", "dark": "HEX" } } } }This comes with a change to you design tokens, where focus colors are now on the theme layer.
Make sure you rebuild your tokens:
npx @​digdir/designsystemet tokens create <options> --cleanPatch Changes
Update
@tokens-studio/sd-transformsto2.0.3(#4315)Updated dependencies []:
@digdir/designsystemet-css@1.9.0
Minor Changes
data-placementselector styles the Dialog as a "drawer"-component from the direction given (left | right | top | bottomorcenterwhich is the default) (#4323)Added 3 new local variables:
--dsc-dialog-placement-inline-max-width(max-width when placement="left | right")--dsc-dialog-placement-block-max-width(max-width when placement="top | bottom")--dsc-dialog-transition-duration(duration for the slide in animations)Patch Changes
Input, Search, Suggestion, Textfield: Uppercase Å was cut off at the top in Chrome and Safari, making it look like Ă (#4301)
link: Style background, border, and padding regardless of default browser styles (#4231) (#4302)
Add export for a default theme under
/theme. (#4328)If you are using the default theme from
@digdir/designsystemet-theme, we recommend importing the CSS from@digdir/designsystemet-css/theme.cssand removing@digdir/designsystemet-themefrom your dependencies.@digdir/designsystemet-react@1.9.0
Minor Changes
placementprop. This will setdata-placementand style theDialogas a "drawer"-component from the direction given:left | right | top | bottomorcenter(default) (#4323)Patch Changes
SuggestionClear: send
onClick. In earlier versionsonClickwas never called (#4327)Popover: Fix controlled open state going out of sync (#4314)
Update npm non-major dependencies (#4308)
Updated dependencies []:
@digdir/designsystemet-theme@1.9.0
Patch Changes
Export
designsystemet.cssunder@digdir/designsystemet-theme/index.css(#4291)Updated dependencies []:
@digdir/designsystemet-types@1.9.0
v1.8.0Compare Source
@digdir/designsystemet-theme
Minor Changes
Move submodule
@digdir/designsystemet/typesto a new package@digdir/designsystemet-typesand change all references. (#4241)After re-running
tokens builddownstream, this removes transitive dependencies on runtime dependencies on CLI tools likecommanderandstyle-dictionarywhich are never used in runtime, but are required for the CLI to function. It also makes code which doesn't use the CLI unaffected by our node version limitations (currently >= 22 due tostyle-dictionary).@digdir/designsystemet/typesis preserved for now as a deprecated re-export of@digdir/designsystemet-typesto avoid breaking people's builds.Patch Changes
Update npm non-major dependencies (#4262)
Updated dependencies [
c2faf2e]:@digdir/designsystemet-react
Minor Changes
Move submodule
@digdir/designsystemet/typesto a new package@digdir/designsystemet-typesand change all references. (#4241)After re-running
tokens builddownstream, this removes transitive dependencies on runtime dependencies on CLI tools likecommanderandstyle-dictionarywhich are never used in runtime, but are required for the CLI to function. It also makes code which doesn't use the CLI unaffected by our node version limitations (currently >= 22 due tostyle-dictionary).@digdir/designsystemet/typesis preserved for now as a deprecated re-export of@digdir/designsystemet-typesto avoid breaking people's builds.Patch Changes
Update npm non-major dependencies (#4275)
Update npm non-major dependencies (#4242)
Popover: Fix unnecesary call of
onOpenand missing call ofonClose(#4230)onOpenwhen clickingPopover.TriggerwhenPopoveris already open.onClosewhen a controlledPopoveris closed by clicking onPopover.Trigger.Update npm non-major dependencies (#4262)
Update
reactandreact-domto19.2.1(#4276)Updated dependencies [
c2faf2e]:@digdir/designsystemet-css
Patch Changes
badge: Set
display: inline-flexon.ds-badge(#4269)Update npm non-major dependencies (#4242)
select: Fix
:hoveron<label>adding border to<select>(#4248)Update npm non-major dependencies (#4262)
@digdir/designsystemet
Minor Changes
Move submodule
@digdir/designsystemet/typesto a new package@digdir/designsystemet-typesand change all references. (#4241)After re-running
tokens builddownstream, this removes transitive dependencies on runtime dependencies on CLI tools likecommanderandstyle-dictionarywhich are never used in runtime, but are required for the CLI to function. It also makes code which doesn't use the CLI unaffected by our node version limitations (currently >= 22 due tostyle-dictionary).@digdir/designsystemet/typesis preserved for now as a deprecated re-export of@digdir/designsystemet-typesto avoid breaking people's builds.Patch Changes
Update npm non-major dependencies (#4275)
Update npm non-major dependencies (#4242)
Update npm non-major dependencies (#4262)
Update dependency @tokens-studio/sd-transforms to v2 (#4271)
Updated dependencies [
c2faf2e]:@digdir/designsystemet-types@1.8.0
Minor Changes
Move submodule
@digdir/designsystemet/typesto a new package@digdir/designsystemet-typesand change all references. (#4241)After re-running
tokens builddownstream, this removes transitive dependencies on runtime dependencies on CLI tools likecommanderandstyle-dictionarywhich are never used in runtime, but are required for the CLI to function. It also makes code which doesn't use the CLI unaffected by our node version limitations (currently >= 22 due tostyle-dictionary).@digdir/designsystemet/typesis preserved for now as a deprecated re-export of@digdir/designsystemet-typesto avoid breaking people's builds.eslint/eslint (@eslint/js)
v9.39.4Compare Source
v9.39.3Compare Source
Bug Fixes
791bf8dfix: restore TypeScript 4.0 compatibility in types (#20504) (sethamus)Chores
8594a43chore: upgrade @eslint/js@9.39.3 (#20529) (Milos Djermanovic)9ceef92chore: package.json update for @eslint/js release (Jenkins)af498c6chore: ignore/docs/v9.xin link checker (#20453) (Milos Djermanovic)v9.39.2Compare Source
v9.39.1Compare Source
v9.39.0Compare Source
v9.38.0Compare Source
Features
ce40f74feat: updatecomplexityrule to only highlight function header (#20048) (Atul Nair)e37e590feat: correctno-loss-of-precisionfalse positives withenotation (#20187) (Francesco Trotta)Bug Fixes
50c3dfdfix: improve type support for isolated dependencies in pnpm (#20201) (Francesco Trotta)a1f06a3fix: correct SourceCode typings (#20114) (Pixel998)Documentation
462675adocs: improve web accessibility by hiding non-semantic character (#20205) (루밀LuMir)c070e65docs: correct formatting inno-irregular-whitespacerule documentation (#20203) (루밀LuMir)b39e71adocs: Update README (GitHub Actions Bot)cd39983docs: movecustom-formatterstype descriptions tonodejs-api(#20190) (Percy Ma)Chores
d17c795chore: upgrade @eslint/js@9.38.0 (#20221) (Milos Djermanovic)25d0e33chore: package.json update for @eslint/js release (Jenkins)c82b5efrefactor: Use types from @eslint/core (#20168) (Nicholas C. Zakas)ff31609ci: add Node.js 25 toci.yml(#20220) (루밀LuMir)004577eci: bump github/codeql-action from 3 to 4 (#20211) (dependabot[bot])eac71fbtest: remove use ofnodejsScopeoption of eslint-scope from tests (#20206) (Milos Djermanovic)4168a18chore: fix typo in legacy-eslint.js (#20202) (Sweta Tanwar)205dbd2chore: fix typos (#20200) (ntnyq)dbb200echore: use team member's username when name is not available in data (#20194) (Milos Djermanovic)8962089chore: mark deprecated rules as available until v11.0.0 (#20184) (Pixel998)v9.37.0Compare Source
Features
39f7fb4feat:preserve-caught-errorshould recognize all static "cause" keys (#20163) (Pixel998)f81eabcfeat: support TS syntax inno-restricted-imports(#19562) (Nitin Kumar)Bug Fixes
a129ccefix: correctno-loss-of-precisionfalse positives for leading zeros (#20164) (Francesco Trotta)09e04fc](https:/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.