Skip to content

chore(deps-dev): bump style-dictionary from 5.6.0 to 5.7.0 - #45

Merged
robinlopez merged 2 commits into
mainfrom
dependabot/npm_and_yarn/style-dictionary-5.6.1
Oct 22, 2026
Merged

robinlopez merged 2 commits into
mainfrom
dependabot/npm_and_yarn/style-dictionary-5.6.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 19, 2026 •

Copy link
Copy Markdown
Contributor

Bumps style-dictionary from 5.6.0 to 5.7.0.

Release notes

Sourced from style-dictionary's releases.

v5.7.0

Minor Changes

  • 2f0b0ff: Add support for DTCG v2025.10 duration token values, while remaining backwards compatible for Style Dictionary time tokens.

    The time/seconds transform now also matches duration tokens and handles their object values, and transition/css/shorthand stringifies the duration and delay properties of a transition, including when those properties reference duration tokens.

    {
      "fast": {
        "$type": "duration",
        "$value": { "value": 200, "unit": "ms" }
      },
      "fade": {
        "$type": "transition",
        "$value": {
          "duration": "{fast}",
          "delay": { "value": 0, "unit": "ms" },
          "timingFunction": "ease-in-out"
        }
      }
    }

    time/seconds now uses the minimum amount of decimals that keeps the precision of the input, instead of a fixed two. A 1ms duration resolves to 0.001s instead of being rounded away to 0.00s, and a value that needs no decimals is no longer padded with them. A value that is already in seconds, e.g. "0.36s", is also no longer divided a second time into "0.00s".

    Note that dropping the fixed two decimals changes existing output: a time token of 500 now transforms to 0.5s rather than 0.50s, and 1000 to 1s rather than 1.00s. The values are equivalent on every platform this transform targets.

Patch Changes

  • 871dbfb: Ignore a trailing DTCG v2025.10 $root path segment in the built-in name transforms, so a root token is named after its group (e.g. --color-text-warning instead of --color-text-warning-root). Also fix outputReferences not replacing references to $root tokens.

v5.6.1

Patch Changes

  • 7a80396: Fix sortByReference collecting "filtered out token references" warnings while sorting. With multiple levels of references, it reported references of tokens that are never output, and outputReferencesFilter could not clear those warnings.
Changelog

Sourced from style-dictionary's changelog.

5.7.0

Minor Changes

  • 2f0b0ff: Add support for DTCG v2025.10 duration token values, while remaining backwards compatible for Style Dictionary time tokens.

    The time/seconds transform now also matches duration tokens and handles their object values, and transition/css/shorthand stringifies the duration and delay properties of a transition, including when those properties reference duration tokens.

    {
      "fast": {
        "$type": "duration",
        "$value": { "value": 200, "unit": "ms" }
      },
      "fade": {
        "$type": "transition",
        "$value": {
          "duration": "{fast}",
          "delay": { "value": 0, "unit": "ms" },
          "timingFunction": "ease-in-out"
        }
      }
    }

    time/seconds now uses the minimum amount of decimals that keeps the precision of the input, instead of a fixed two. A 1ms duration resolves to 0.001s instead of being rounded away to 0.00s, and a value that needs no decimals is no longer padded with them. A value that is already in seconds, e.g. "0.36s", is also no longer divided a second time into "0.00s".

    Note that dropping the fixed two decimals changes existing output: a time token of 500 now transforms to 0.5s rather than 0.50s, and 1000 to 1s rather than 1.00s. The values are equivalent on every platform this transform targets.

Patch Changes

  • 871dbfb: Ignore a trailing DTCG v2025.10 $root path segment in the built-in name transforms, so a root token is named after its group (e.g. --color-text-warning instead of --color-text-warning-root). Also fix outputReferences not replacing references to $root tokens.

5.6.1

Patch Changes

  • 7a80396: Fix sortByReference collecting "filtered out token references" warnings while sorting. With multiple levels of references, it reported references of tokens that are never output, and outputReferencesFilter could not clear those warnings.
Commits
  • 745264a chore: fix workflow npm build
  • d79ba47 chore: release (#1776)
  • 124645c chore: upgrade to changesets v3 and lint-staged latest (#1777)
  • cdb5cab Change logo image source in examples README (#1775)
  • 871dbfb fix: ignore trailing DTCG $root segment in name transforms (#1772)
  • 2f0b0ff feat: support DTCG duration token values in time and transition transforms (#...
  • 81ecc05 chore: release (#1764)
  • f859fd5 chore: increase timeout flaky test (#1771)
  • 5f4f959 feat(examples): add Storybook token docs example (#1766)
  • 94e1cad docs: show css platform in basic example to match examples/basic (#1765)
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Oct 19, 2026
@dependabot dependabot Bot changed the title chore(deps-dev): bump style-dictionary from 5.6.0 to 5.6.1 chore(deps-dev): bump style-dictionary from 5.6.0 to 5.7.0 Oct 19, 2026
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/style-dictionary-5.6.1 branch 5 times, most recently from 2902cec to d598f56 Compare October 21, 2026 15:53
@robinlopez

Copy link
Copy Markdown
Collaborator

@dependabot rebase

Bumps [style-dictionary](https://github.com/style-dictionary/style-dictionary) from 5.6.0 to 5.7.0.
- [Release notes](https://github.com/style-dictionary/style-dictionary/releases)
- [Changelog](https://github.com/style-dictionary/style-dictionary/blob/main/CHANGELOG.md)
- [Commits](style-dictionary/style-dictionary@v5.6.0...v5.7.0)

---
updated-dependencies:
- dependency-name: style-dictionary
  dependency-version: 5.6.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/style-dictionary-5.6.1 branch from d598f56 to 4faa7c1 Compare October 21, 2026 15:57
@dependabot @github

dependabot Bot commented on behalf of github Oct 21, 2026

Copy link
Copy Markdown
Contributor Author

Looks like this PR has been edited by someone other than Dependabot. That means Dependabot can't rebase it - sorry!

If you're happy for Dependabot to recreate it from scratch, overwriting any edits, you can request @dependabot recreate.

@robinlopez
robinlopez merged commit 8133340 into main Oct 22, 2026
2 checks passed
@robinlopez
robinlopez deleted the dependabot/npm_and_yarn/style-dictionary-5.6.1 branch October 22, 2026 07:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant