build(deps): update dependency style-dictionary to v5.4.0#14264
Merged
build(deps): update dependency style-dictionary to v5.4.0#14264
Conversation
jcfranco
approved these changes
Apr 15, 2026
Contributor
Author
Edited/Blocked NotificationRenovate 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. |
Member
|
@matgalla This tightens types, so let's keep an eye on feedback in case we need to tweak anything. |
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) |  |  | --- ### 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>
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:
5.3.3→5.4.0Release Notes
style-dictionary/style-dictionary (style-dictionary)
v5.4.0Compare 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 typePatch Changes
edceda7: Fix very old bug where size/remToPt wasn't converting toptunit, but rather tof(iOS float). Fixed this, addedsize/remToFloatto 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.