Skip to content

v1.19.0

Choose a tag to compare

@github-actions github-actions released this 11 Aug 10:56
· 182 commits to main since this release
7403a84

@digdir/designsystemet@1.19.0

Minor Changes

  • cli: Add support for JSONC config files. Config files may now contain comments and trailing commas, and a designsystemet.config.jsonc file is auto-detected in addition to designsystemet.config.json. (#5051)

Patch Changes

  • Update dependency tsdown to v0.22.14 (#5102)

  • Update npm non-major dependencies (#5122)

  • fixed missing types error that might occur for @tokens-studio/types. (#5061)

  • Update dependency colorjs.io to ^0.7.1 (#5121)

  • Update dependency colorjs.io to ^0.7.0 (#5108)

  • Reduced package size by removing unintended declaration map files being generated. (#5065)

  • Clarified error message when different theme colors are detected (#5068)

  • New exports for internal use (not documented). (#5068)

  • Update npm non-major dependencies (#5136)

  • Tailwind: --experimental-tailwind now also generates --shadow-* and --opacity-disabled config (#5139)

  • typography and borderRadius are no longer required in the config file. If omitted, defaults will be used: typography.fontFamily = "Inter" and borderRadius = 4. (#5099)

  • Update npm non-major dependencies (#5057)

    • add option -v and --version for display version number. (#5098)
    • add option -h and --help for display help.
  • Update npm non-major dependencies (#5103)

  • Update dependency colorjs.io to ^0.7.1 (#5121)

  • Updated dependencies []:

    • @digdir/designsystemet-types@1.19.0

@digdir/designsystemet-css@1.19.0

Minor Changes

  • file-upload: New experimental component. Style with the ds-file-upload class. (#4540)

  • Suggestion: added toggle list button (#5039)

Patch Changes

  • Update npm non-major dependencies (#5122)

  • Dialog: now applies a z-index even when opened in non-modal mode (without a backdrop). (#5123)

  • Update npm non-major dependencies (#5136)

  • Update npm non-major dependencies (#5057)

  • ds-dropdown: no longer requires the ds-popover class added on the same element. (#5133)

  • fix loading order for popover-polyfill (#5027)

  • Update npm non-major dependencies (#5103)

  • Suggestion: Now support data-empty on option, showing empty-state text in normal mode or a create button in data-creatable mode. (#5097)

  • Chip: now aligns checkbox, radio and x to top when multi-line text (#5083)

  • Updated dependencies []:

    • @digdir/designsystemet-types@1.19.0

@digdir/designsystemet-react@1.19.0

Minor Changes

  • New experimental component: FileUpload. Use it by importing EXPERIMENTAL_FileUpload from @digdir/designsystemet-react. (#4540)

  • ToggleGroup: Deprecates data-toggle-group in favor of focusgroup="radiogroup" with aria-label. (#5095)

  • Suggestion: added toggle list button (#5039)

Patch Changes

  • Update npm non-major dependencies (#5122)

  • Update npm non-major dependencies (#5072)

  • Update npm non-major dependencies (#5136)

  • React types: allow all values of data-color in all components (#5082)

  • fix component types for data-color and data-size to behave the same on components as globally (#5156)

  • Update npm non-major dependencies (#5057)

  • Global types: added focusgroup and focusgroupstart to the global HTML attribute types. (#5133)

  • Dialog: now adds aria-haspopup on focus event to enhance performance and support Shadow DOM rendering (#5095)

  • Update npm non-major dependencies (#5103)

  • Suggestion: Now support data-empty on option, showing empty-state text in normal mode or a create button in data-creatable mode. (#5097)

  • Updated dependencies [69e17d0, 5894236, 6182865, 8390111, 92922af, 8390111, 74fb48c, 703abc1, 6182865, 99265a3, 9434ea7, a519003, 8390111, a398b3a, 8390111, 22bdfeb, a685ffd, 2eb9e66]:

    • @digdir/designsystemet-web@1.19.0
    • @digdir/designsystemet-types@1.19.0

@digdir/designsystemet-types@1.19.0

@digdir/designsystemet-web@1.19.0

Minor Changes

  • focusgroup: is now automatically polyfilled according to upcoming specification (#5095)

  • Web: All functionality now supports rendering inside Shadow DOM (#5095)

  • ToggleGroup: Deprecates data-toggle-group in favor of focusgroup="radiogroup" with aria-label. (#5095)

  • Suggestion: added toggle list button (#5039)

Patch Changes

  • clickdelegatefor: Fixes an issue with using data-clickdelegatefor inside of <details> (#5074)

  • Update dependency tsdown to v0.22.14 (#5102)

  • Breadcrumbs, Pagination, ToggleGroup: support aria-labelledby (#5081)

  • Update npm non-major dependencies (#5136)

  • Update dependency @oddbird/popover-polyfill to v0.7.1 (#5101)

  • Field: now scopes internal cache to DSFieldElement class to avoid version conflicts (#5077)

  • Tooltip: allow data-tooltip with CSS ID selector like #id to retrieve text from another element (#5081)

  • tooltip: Now inherits nearest data-size (#5119)

  • Update npm non-major dependencies (#5057)

  • clickdelegatefor: now only skips interactive child elements (#5080)

  • Dialog: now adds aria-haspopup on focus event to enhance performance and support Shadow DOM rendering (#5095)

  • fix loading order for popover-polyfill (#5027)

  • Update npm non-major dependencies (#5103)

  • Suggestion: Now support data-empty on option, showing empty-state text in normal mode or a create button in data-creatable mode. (#5097)