Skip to content

v1.7.2

Choose a tag to compare

@github-actions github-actions released this 11 Nov 07:31
· 184 commits to main since this release
fbcc96b

@digdir/designsystemet@1.7.2

Patch Changes

  • Add option to override linkVisited color in config: (#4182)

    "theme": {
      "overrides": {
        "linkVisited": {
          "light": "#ff1234",
          "dark": "#1234ff"
        }
      }
    }
  • New command that lets you generate a config file from your design tokens: (#4207)
    npx @digdir/designsystemet generate-config-from-tokens --dir <path to design tokens>

    • This command does not include any overrides you may have done.
  • Update npm non-major dependencies (#4193)

  • Update npm non-major dependencies (#4214)

  • For your config file, you can now get the schema file from designsystemet.no (#4195)

    "$schema": "https://designsystemet.no/schemas/cli/[VERSION].json"

@digdir/designsystemet-css@1.7.2

Patch Changes

  • input: Remove hover effect when <label> is hovered (#4196)

  • tag: Add new variant, [data-variant="outline"]. (#4173)

    • To use the old variant, either don't set data-variant, or set it to default.
  • Update npm non-major dependencies (#4214)

  • card: Add support for <picture> (#4137)

  • search: Don't set position: relative, but use isolation: isolate on .ds-search (#4212)

    • This removes z-index on button[type="reset"]
  • tag: New css variables to go with [data-variant="outline"]: (#4173)

    • --dsc-tag-border-width
    • --dsc-tag-border-color
    • --dsc-tag-border-style

@digdir/designsystemet-react@1.7.2

Patch Changes

  • Update @u-elements/combobox to v1.0.4 (#4226)

  • Dialog: If the browser supports closedBy on <dialog>, we let the browser handle it (#4210)

  • Tooltip: Tooltip is now automatically aria-describedby or aria-labelledby based on the content of the trigger component. (#4202)

    • This can be overridden with the new type-prop that accepts decribedby or labelledby.
  • Update npm non-major dependencies (#4193)

  • Update npm non-major dependencies (#4214)

  • Tag: Add new prop variant (#4173)

    • Accepts default|outline. default is the default value.

@digdir/designsystemet-theme@1.7.2

Patch Changes

  • Update npm non-major dependencies (#4214)