Skip to content

Releases: tokens-studio/sd-transforms

v2.0.1

26 Jun 09:21

Choose a tag to compare

Patch Changes

  • e41b548: Fix bug where usesDtcg flag was not passed to convertTokenData utility.

v2.0.0

04 Jun 10:45
c1777cc

Choose a tag to compare

Major Changes

  • 7fc3b8f: Upgrade to latest Style Dictionary v5.0.0. The only breaking change is that this version sd-transforms is no longer compatible with v4, due to the preprocessors making direct use of the performance improvements that came with Style Dictionary v5.

v1.3.0

11 Apr 14:07
f233ad3

Choose a tag to compare

Minor Changes

  • a8f4c73: - Supporting color modifier value calculations
    • Changing the default color precision to the ColorJS default of 5
    • Updating the integration tests to use vitest instead of mocha chai

v1.2.12

10 Mar 15:40
3b1b5c3

Choose a tag to compare

Patch Changes

  • 9801a8f: Specify version range for SD peer dep to specifically support the 5.0.0 release candidates.

v1.2.11

10 Mar 15:21
56cb9d5

Choose a tag to compare

Patch Changes

  • 59d9d7f: Migrate to latest Style Dictionary v4 and allow v5 in peerDependencies for now, as v5 doesn't plan to be a breaking change for packages like this one.

v1.2.9

04 Dec 10:30
dc74a21

Choose a tag to compare

Patch Changes

  • e0aab62: Fix ts/size/px transform to handle multi-value token values such as 'button.padding': { value: '4 8' }.

v1.2.8

07 Nov 22:10
811ca8b

Choose a tag to compare

Patch Changes

  • 5de4025: Addressed issue #316 about letterSpacing. LetterSpacing is no longer a dimension token. Also, the expand composition test token has been modify to test if the letterSpacing still works properly.

v1.2.7

06 Nov 11:55
695cea7

Choose a tag to compare

Patch Changes

  • fb3c7d3: Export TransformOption type to be publicly available (#319)
  • 26cf7f9: -Made the font weight case insensitive; Extra checks for style and weight values, confusions cleared up in the code; Font style and value are not both mandatory, it is fine if only one is specified; If font style is not provided, the style field will take the weight value; The bug from issue #267 is fixed.

v1.2.6

22 Oct 10:12
6ffaa55

Choose a tag to compare

Patch Changes

  • b4461f4: Ensure that shadow value is still of type object (either Object or Array) before attempting to resolve math for each property/item.

v1.2.5

16 Sep 07:21
64e38c7

Choose a tag to compare

Patch Changes

  • 61af02f: Check for color transforms that the value is of type string, since other color object types could occur from previously ran transforms.