Skip to content

build(deps): update dependency style-dictionary to v5.4.0#14264

Merged
jcfranco merged 2 commits intodevfrom
renovate/build-(tokens)
Apr 15, 2026
Merged

build(deps): update dependency style-dictionary to v5.4.0#14264
jcfranco merged 2 commits intodevfrom
renovate/build-(tokens)

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate bot commented Apr 15, 2026

This PR contains the following updates:

Package Change Age Confidence
style-dictionary (source) 5.3.35.4.0 age confidence

Release Notes

style-dictionary/style-dictionary (style-dictionary)

v5.4.0

Compare Source

Minor Changes
  • edceda7: Add support for DTCG v2025.10 dimension token type object value, while remaining backwards compatible for dimension tokens using string values.

    All built-in transforms can now handle dimension tokens.

    This includes CSS shorthand transforms for composed token types such as typography, border and shadows, which can contain properties that are dimensions.

    {
      "spacing": {
        "$type": "dimension",
        "$value": { "value": 1, "unit": "px" }
      },
      "shadow": {
        "$type": "shadow",
        "$value": {
          "color": { "colorSpace": "srgb", "components": [0, 0, 0], "alpha": 0.4 },
          "offsetX": { "value": 2, "unit": "px" },
          "offsetY": { "value": 2, "unit": "px" },
          "blur": { "value": 4, "unit": "px" },
          "spread": { "value": 6, "unit": "px" }
        }
      }
    }
  • 3d5c140: Generate strict types (tuples) for the tokens of the same type

Patch Changes
  • edceda7: Fix very old bug where size/remToPt wasn't converting to pt unit, but rather to f (iOS float). Fixed this, added size/remToFloat to use the old behavior, and updated the ios transformGroup to use this instead. This is technically potentially "breaking" but because it is a bugfix, this is a patch.

  • If you want to rebase/retry this PR, check this box

@renovate renovate bot requested a review from jcfranco as a code owner April 15, 2026 09:22
@renovate renovate bot added chore Issues with changes that don't modify src or test files. dependencies Pull requests that update a dependency file labels Apr 15, 2026
@jcfranco jcfranco requested a review from matgalla as a code owner April 15, 2026 15:30
@jcfranco jcfranco added the skip visual snapshots Pull requests that do not need visual regression testing. label Apr 15, 2026
@renovate
Copy link
Copy Markdown
Contributor Author

renovate bot commented Apr 15, 2026

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

@jcfranco
Copy link
Copy Markdown
Member

@matgalla This tightens types, so let's keep an eye on feedback in case we need to tweak anything.

@jcfranco jcfranco merged commit faea5b9 into dev Apr 15, 2026
15 checks passed
@jcfranco jcfranco deleted the renovate/build-(tokens) branch April 15, 2026 15:51
@github-actions github-actions bot added this to the 2026-04-29 - Apr Milestone milestone Apr 15, 2026
aPreciado88 pushed a commit that referenced this pull request Apr 16, 2026
This PR contains the following updates:

| Package | Change |
[Age](https://docs.renovatebot.com/merge-confidence/) |
[Confidence](https://docs.renovatebot.com/merge-confidence/) |
|---|---|---|---|
| [style-dictionary](https://styledictionary.com)
([source](https://redirect.github.com/style-dictionary/style-dictionary))
| [`5.3.3` →
`5.4.0`](https://renovatebot.com/diffs/npm/style-dictionary/5.3.3/5.4.0)
|
![age](https://developer.mend.io/api/mc/badges/age/npm/style-dictionary/5.4.0?slim=true)
|
![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/style-dictionary/5.3.3/5.4.0?slim=true)
|

---

### Release Notes

<details>
<summary>style-dictionary/style-dictionary (style-dictionary)</summary>

###
[`v5.4.0`](https://redirect.github.com/style-dictionary/style-dictionary/blob/HEAD/CHANGELOG.md#540)

[Compare
Source](https://redirect.github.com/style-dictionary/style-dictionary/compare/v5.3.3...v5.4.0)

##### Minor Changes

-
[`edceda7`](https://redirect.github.com/style-dictionary/style-dictionary/commit/edceda7):
Add support for [DTCG
v2025.10](https://www.designtokens.org/tr/2025.10/) dimension token type
object value, while remaining backwards compatible for dimension tokens
using string values.

All built-in transforms can now handle [dimension
tokens](https://www.designtokens.org/tr/2025.10/format/#dimension).

This includes CSS shorthand transforms for composed token types such as
typography, border and shadows, which can contain properties that are
dimensions.

  ```json
  {
    "spacing": {
      "$type": "dimension",
      "$value": { "value": 1, "unit": "px" }
    },
    "shadow": {
      "$type": "shadow",
      "$value": {
"color": { "colorSpace": "srgb", "components": [0, 0, 0], "alpha": 0.4
},
        "offsetX": { "value": 2, "unit": "px" },
        "offsetY": { "value": 2, "unit": "px" },
        "blur": { "value": 4, "unit": "px" },
        "spread": { "value": 6, "unit": "px" }
      }
    }
  }
  ```

-
[`3d5c140`](https://redirect.github.com/style-dictionary/style-dictionary/commit/3d5c140):
Generate strict types (tuples) for the tokens of the same type

##### Patch Changes

-
[`edceda7`](https://redirect.github.com/style-dictionary/style-dictionary/commit/edceda7):
Fix very old bug where size/remToPt wasn't converting to `pt` unit, but
rather to `f` (iOS float). Fixed this, added `size/remToFloat` to use
the old behavior, and updated the ios transformGroup to use this
instead. This is technically potentially "breaking" but because it is a
bugfix, this is a patch.

</details>

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4xMjAuMiIsInVwZGF0ZWRJblZlciI6IjQzLjEyMC4yIiwidGFyZ2V0QnJhbmNoIjoiZGV2IiwibGFiZWxzIjpbImNob3JlIiwiZGVwZW5kZW5jaWVzIl19-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: JC Franco <jfranco@esri.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore Issues with changes that don't modify src or test files. dependencies Pull requests that update a dependency file skip visual snapshots Pull requests that do not need visual regression testing.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant