build(deps): update dependency @tokens-studio/sd-transforms to v0.16.1 #11626
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:
0.12.2
->0.16.1
Release Notes
tokens-studio/sd-transforms (@tokens-studio/sd-transforms)
v0.16.1
Compare Source
Patch Changes
3ab8d64
: Restructure evaluate math util to support expr eval expressions in combination with regular math.3ab8d64
: Allow math expressions where multiple components contain units, as long as they are still computable.v0.16.0
Compare Source
Minor Changes
5856621
: BREAKING: update to Style Dictionaryv4.0.0-prerelease.27
, set preprocessor name to'tokens-studio'
, which now has to be applied if you want to exclude parent keys, expand composite types or add font style properties to typography values.v0.15.2
Compare Source
Patch Changes
7617f9d
: Pass colorspace to mix modifier, to use the correct color space to mix in.v0.15.1
Compare Source
Patch Changes
000b202
: Update to latest style-dictionary pre.22v0.15.0
Compare Source
Minor Changes
09b1fc0
: BREAKING: remove optionsaddAttributeCTI
&casing
.Since
transformGroup
can now be combined withtransforms
, this is now much easier to accomplish in Style-Dictionary without additional sd-transforms options.Before:
After:
v0.14.4
Compare Source
Patch Changes
41d83fa
: Add "book" to named font weights, converted to 400v0.14.3
Compare Source
Patch Changes
9351782
: Fix expand utility with latest style-dictionary prerelease.16, values would end up undefined due to bad reference resolve.v0.14.2
Compare Source
Patch Changes
d2c1ff6
: Revert back change that throws fatal error for broken references when expanding tokens or adding fontStyle. To keep compatibility with Style-Dictionary v3.See the issue describing the problem and necessary workaround for v3.
d2c1ff6
: Fix fontWeights transformer to allow spaces within fontWeights.v0.14.1
Compare Source
Patch Changes
f5a8b12
: Copy metadata from composite type tokens when expanding.v0.14.0
Compare Source
Minor Changes
03e3819
: Add W3C Design Token Community Group draft spec forward compatibility.v0.13.4
Compare Source
Patch Changes
8bde22d
: Support references in color modifiers now that style-dictionary transformers can defer themselves.771428a
: Fix expanding composition tokens flattening to not occur for certain object values and resulting in [object Object].v0.13.3
Compare Source
Patch Changes
cfc0c3d
: Fix rgba(hex, alpha) regex to allow percentages, add more tests for different types of alpha values.v0.13.2
Compare Source
Patch Changes
3f97dc2
: Remove trailing console logs from previous update.v0.13.1
Compare Source
Patch Changes
7409419
: Use expr-eval-fork to work around a prototype pollution vulnerability in the original package.v0.13.0
Compare Source
Minor Changes
6c95fe4
: BREAKING: remove code that allowed user to not pass StyleDictionary instance to registerTransforms, and grabbed the locally installed StyleDictionary automatically. This seemed like a cool feature at first, but can cause hard to trace bugs if there are multiple installations of style-dictionary (due to incompatible semver).6c95fe4
: Will now use preprocessors instead of parsers when user Style-Dictionary is v4.0.0-prerelease.2 or higher. Fixes an issue with multi-file references not being resolvable when running composite token expansion or add font style utilities.