From 983d9c67e0dbcf0906dace7dbcef167de6d63001 Mon Sep 17 00:00:00 2001 From: Danny Banks Date: Thu, 16 Dec 2021 14:21:26 -0800 Subject: [PATCH] chore(release): 3.1.0 --- CHANGELOG.md | 20 ++++ docs/formats.md | 28 ++--- docs/transform_groups.md | 32 +++--- docs/transforms.md | 107 +++++++++--------- .../advanced/assets-base64-embed/package.json | 2 +- .../auto-rebuild-watcher/package.json | 4 +- examples/advanced/component-cti/package.json | 2 +- .../advanced/create-react-app/package.json | 2 +- .../create-react-native-app/package.json | 2 +- .../advanced/custom-file-header/package.json | 2 +- .../package.json | 2 +- examples/advanced/custom-parser/package.json | 2 +- .../advanced/custom-transforms/package.json | 2 +- examples/advanced/format-helpers/package.json | 2 +- .../matching-build-files/package.json | 2 +- .../multi-brand-multi-platform/package.json | 2 +- .../package.json | 2 +- examples/advanced/npm-module/package.json | 2 +- .../referencing_aliasing/package.json | 2 +- examples/advanced/s3/package.json | 2 +- .../advanced/tokens-deprecation/package.json | 2 +- .../transitive-transforms/package.json | 2 +- .../variables-in-outputs/package.json | 2 +- examples/advanced/yaml-tokens/package.json | 2 +- package-lock.json | 2 +- package.json | 2 +- 26 files changed, 127 insertions(+), 106 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a98e1c4e..6c2b919a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,26 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. +## [3.1.0](https://github.com/amzn/style-dictionary/compare/v3.0.3...v3.1.0) (2021-12-16) + + +### Features + +* **formats:** Add `outputReferences` support to `scss/map-deep` ([#720](https://github.com/amzn/style-dictionary/issues/720)) ([65453e0](https://github.com/amzn/style-dictionary/commit/65453e0d980273aeeb1a201a1996c4ad3a5719a5)), closes [#712](https://github.com/amzn/style-dictionary/issues/712) +* **formats:** add support for Microsoft's JSONC format ([#732](https://github.com/amzn/style-dictionary/issues/732)) ([cfa83cb](https://github.com/amzn/style-dictionary/commit/cfa83cb65b7ec7b3e5a9def7f0ceb6ac3b2898df)), closes [#698](https://github.com/amzn/style-dictionary/issues/698) +* **formats:** object handling for typescript/es6-declarations ([#718](https://github.com/amzn/style-dictionary/issues/718)) ([4e3905a](https://github.com/amzn/style-dictionary/commit/4e3905a7a3525f872615adaf0cae0b5553309bb6)) +* **references:** ability to reference other tokens without 'value' ([#746](https://github.com/amzn/style-dictionary/issues/746)) ([c6f482e](https://github.com/amzn/style-dictionary/commit/c6f482e2845f8e13e579ffc858b0e53b9155a47e)) +* **transforms:** add transformer for Color class from SwiftUI ([#733](https://github.com/amzn/style-dictionary/issues/733)) ([439e474](https://github.com/amzn/style-dictionary/commit/439e474aee9da8390f447f31d412e496c45b4605)) + + +### Bug Fixes + +* **cli:** fixing unknown commands message ([#747](https://github.com/amzn/style-dictionary/issues/747)) ([8a5f047](https://github.com/amzn/style-dictionary/commit/8a5f047af4a97a51894d4dfe4c917bf91686db8e)) +* **examples:** Watch correct directory ([#739](https://github.com/amzn/style-dictionary/issues/739)) ([56574a4](https://github.com/amzn/style-dictionary/commit/56574a4247eafc79a843e80f433feaf025142ff8)), closes [#705](https://github.com/amzn/style-dictionary/issues/705) +* **types:** adding registerFileHeader type ([#722](https://github.com/amzn/style-dictionary/issues/722)) ([54332b3](https://github.com/amzn/style-dictionary/commit/54332b3e4ee77a0b0e8f84836413949f8e64ccd5)), closes [#665](https://github.com/amzn/style-dictionary/issues/665) +* **types:** fixing transform group types ([#729](https://github.com/amzn/style-dictionary/issues/729)) ([ad7f6ea](https://github.com/amzn/style-dictionary/commit/ad7f6ea555ec77defd264c9ade9628aefd108959)) +* **types:** make FileHeaderArgs.commentStyle optional ([#743](https://github.com/amzn/style-dictionary/issues/743)) ([401d93b](https://github.com/amzn/style-dictionary/commit/401d93b72caf02cec34fba3c214edfdd5d52b362)) + ### [3.0.3](https://github.com/amzn/style-dictionary/compare/v3.0.2...v3.0.3) (2021-10-15) diff --git a/docs/formats.md b/docs/formats.md index 63b2de2e..5db642a1 100644 --- a/docs/formats.md +++ b/docs/formats.md @@ -379,6 +379,9 @@ which uses: prefix, indentation, separator, suffix, and commentStyle. options.formattingObject

Custom formatting properties that define parts of a declaration line in code. The configurable strings are: prefix, indentation, separator, suffix, and commentStyle. Those are used to generate a line like this: ${indentation}${prefix}${prop.name}${separator} ${prop.value}${suffix}

+ + + options.themeableBoolean

[false] - Whether tokens should default to being themeable.

@@ -434,7 +437,7 @@ default file header. StyleDictionary.registerFormat({ name: 'myCustomFormat', formatter: function({ dictionary, file }) { - return fileHeader({file, 'short') + + return fileHeader({file, commentStyle: 'short'}) + dictionary.allTokens.map(token => `${token.name} = ${token.value}`) .join('\n'); } @@ -468,6 +471,9 @@ This is used to create lists of variables like Sass variables or CSS custom prop options.formattingObject

Custom formatting properties that define parts of a declaration line in code. This will get passed to formatHelpers.createPropertyFormatter and used for the lineSeparator between lines of code.

+ + + options.themeableBoolean

[false] - Whether tokens should default to being themeable.

@@ -488,7 +494,7 @@ StyleDictionary.registerFormat({ > formatHelpers.getTypeScriptType(value) ⇒ String Given some value, returns a basic valid TypeScript type for that value. -Supports numbers, strings, booleans, and arrays of any of those types. +Supports numbers, strings, booleans, arrays and objects of any of those types. **Returns**: String - A valid name for a TypeScript type. ``` @@ -767,7 +773,7 @@ $tokens: ( Creates a SCSS file with a deep map based on the style dictionary. -Note that `options.themeable` defaults to `true` by default, unlike the [scss/variables](scss/variables) format, for backwards compatibility. +Name the map by adding a 'mapName' attribute on the file object in your config. @@ -779,16 +785,10 @@ Note that `options.themeable` defaults to `true` by default, unlike the [scss/va - - - - - -
optionsObject
[options.mapName]Stringtokens

Name the Sass map

-
[options.showFileHeader]Booleantrue

Whether or not to include a comment that has the build date

-
[options.themeable]Booleantrue

Whether or not to add the `!default` flag on Sass variables by default. This may be overridden by setting a `themeable` attribute in a token's definition.

+
[options.outputReferences]Booleanfalse

Whether or not to keep references (a -> b -> c) in the output.

[options.outputReferences]Booleanfalse

Whether or not to keep references (a -> b -> c) in the output.

+
[options.themeable]Booleantrue

Whether or not tokens should default to being themeable, if not otherwise specified per token.

@@ -815,6 +815,8 @@ $tokens: { Creates a SCSS file with variable definitions based on the style dictionary. +Add `!default` to any variable by setting a `themeable: true` attribute in the token's definition. + @@ -828,10 +830,10 @@ Creates a SCSS file with variable definitions based on the style dictionary. - -
[options.showFileHeader]Booleantrue

Whether or not to include a comment that has the build date

[options.themeable]Booleanfalse

Whether or not to add the `!default` flag on Sass variables by default. This may be overridden by setting a `themeable` attribute in a token's definition.

+
[options.outputReferences]Booleanfalse

Whether or not to keep references (a -> b -> c) in the output.

[options.outputReferences]Booleanfalse

Whether or not to keep references (a -> b -> c) in the output.

+
[options.themeable]Booleanfalse

Whether or not tokens should default to being themeable, if not otherwise specified per token.

diff --git a/docs/transform_groups.md b/docs/transform_groups.md index 6c92836c..2b13eda7 100644 --- a/docs/transform_groups.md +++ b/docs/transform_groups.md @@ -25,7 +25,7 @@ You use transformGroups in your config file under platforms > [platform] > trans [lib/common/transformGroups.js](https://github.com/amzn/style-dictionary/blob/main/lib/common/transformGroups.js) -### web +### web Transforms: @@ -38,7 +38,7 @@ Transforms: * * * -### js +### js Transforms: @@ -51,7 +51,7 @@ Transforms: * * * -### scss +### scss Transforms: @@ -66,7 +66,7 @@ Transforms: * * * -### css +### css Transforms: @@ -81,7 +81,7 @@ Transforms: * * * -### less +### less Transforms: @@ -96,7 +96,7 @@ Transforms: * * * -### html +### html Transforms: @@ -108,7 +108,7 @@ Transforms: * * * -### android +### android Transforms: @@ -122,7 +122,7 @@ Transforms: * * * -### compose +### compose Transforms: @@ -137,7 +137,7 @@ Transforms: * * * -### ios +### ios Transforms: @@ -153,7 +153,7 @@ Transforms: * * * -### ios-swift +### ios-swift Transforms: @@ -161,7 +161,6 @@ Transforms: [attribute/cti](transforms.md#attributecti) [name/cti/camel](transforms.md#namecticamel) [color/UIColorSwift](transforms.md#coloruicolorswift) -[`color/ColorSwiftUI`](transforms.md#colorcolorswiftui) [content/swift/literal](transforms.md#contentswiftliteral) [asset/swift/literal](transforms.md#assetswiftliteral) [size/swift/remToCGFloat](transforms.md#sizeswiftremtocgfloat) @@ -170,7 +169,7 @@ Transforms: * * * -### ios-swift-separate +### ios-swift-separate Transforms: @@ -178,7 +177,6 @@ Transforms: [attribute/cti](transforms.md#attributecti) [name/ti/camel](transforms.md#nameticamel) [color/UIColorSwift](transforms.md#coloruicolorswift) -[color/ColorSwiftUI](transforms.md#colorcolorswiftui) [content/swift/literal](transforms.md#contentswiftliteral) [asset/swift/literal](transforms.md#assetswiftliteral) [size/swift/remToCGFloat](transforms.md#sizeswiftremtocgfloat) @@ -189,7 +187,7 @@ This is to be used if you want to have separate files per category and you don't * * * -### assets +### assets Transforms: @@ -199,7 +197,7 @@ Transforms: * * * -### flutter +### flutter Transforms: @@ -215,7 +213,7 @@ Transforms: * * * -### flutter-separate +### flutter-separate Transforms: @@ -233,7 +231,7 @@ This is to be used if you want to have separate files per category and you don't * * * -### react-native +### react-native Transforms: diff --git a/docs/transforms.md b/docs/transforms.md index 7d3e2d8f..f76eb0f9 100644 --- a/docs/transforms.md +++ b/docs/transforms.md @@ -88,7 +88,7 @@ If you want to learn more about transitive transforms, take a look at the [trans > All the pre-defined transforms included use the [CTI structure](tokens.md?id=category-type-item) for matching tokens. If you structure your design tokens differently you will need to write [custom transforms](transforms.md?id=defining-custom-transforms) or make sure the proper CTIs are on the attributes of your design tokens. -### attribute/cti +### attribute/cti Adds: category, type, item, subitem, and state on the attributes object based on the location in the style dictionary. @@ -108,7 +108,7 @@ Adds: category, type, item, subitem, and state on the attributes object based on * * * -### attribute/color +### attribute/color Adds: hex, hsl, hsv, rgb, red, blue, green. @@ -127,7 +127,7 @@ Adds: hex, hsl, hsv, rgb, red, blue, green. * * * -### name/human +### name/human Creates a human-friendly name @@ -141,7 +141,7 @@ Creates a human-friendly name * * * -### name/cti/camel +### name/cti/camel Creates a camel case name. If you define a prefix on the platform in your config, it will prepend with your prefix @@ -156,7 +156,7 @@ Creates a camel case name. If you define a prefix on the platform in your config * * * -### name/ti/camel +### name/ti/camel Creates a camel case name without the category at the front. This is most useful when there is a class, struct, enum, etc. @@ -173,7 +173,7 @@ If you define a prefix on the platform in your config, it will prepend with your * * * -### name/cti/kebab +### name/cti/kebab Creates a kebab case name. If you define a prefix on the platform in your config, it will prepend with your prefix @@ -188,7 +188,7 @@ Creates a kebab case name. If you define a prefix on the platform in your config * * * -### name/cti/snake +### name/cti/snake Creates a snake case name. If you define a prefix on the platform in your config, it will prepend with your prefix @@ -203,7 +203,7 @@ Creates a snake case name. If you define a prefix on the platform in your config * * * -### name/cti/constant +### name/cti/constant Creates a constant-style name based on the full CTI of the token. If you define a prefix on the platform in your config, it will prepend with your prefix @@ -218,7 +218,7 @@ Creates a constant-style name based on the full CTI of the token. If you define * * * -### name/ti/constant +### name/ti/constant Creates a constant-style name on the type and item of the token. This is useful if you want to create different static classes/files for categories like `Color.BACKGROUND_BASE`. If you define a prefix on the platform in your config, it will prepend with your prefix. @@ -233,7 +233,7 @@ Creates a constant-style name on the type and item of the token. This is useful * * * -### name/cti/pascal +### name/cti/pascal Creates a Pascal case name. If you define a prefix on the platform in your config, it will prepend with your prefix @@ -248,7 +248,7 @@ Creates a Pascal case name. If you define a prefix on the platform in your confi * * * -### color/rgb +### color/rgb Transforms the value into an RGB string @@ -262,7 +262,7 @@ Transforms the value into an RGB string * * * -### color/hsl +### color/hsl Transforms the value into an HSL string or HSLA if alpha is present. Better browser support than color/hsl-4 @@ -277,7 +277,7 @@ Transforms the value into an HSL string or HSLA if alpha is present. Better brow * * * -### color/hsl-4 +### color/hsl-4 Transforms the value into an HSL string, using fourth argument if alpha is present. @@ -292,7 +292,7 @@ Transforms the value into an HSL string, using fourth argument if alpha is prese * * * -### color/hex +### color/hex Transforms the value into an 6-digit hex string @@ -306,7 +306,7 @@ Transforms the value into an 6-digit hex string * * * -### color/hex8 +### color/hex8 Transforms the value into an 8-digit hex string @@ -320,7 +320,7 @@ Transforms the value into an 8-digit hex string * * * -### color/hex8android +### color/hex8android Transforms the value into an 8-digit hex string for Android because they put the alpha channel first @@ -334,7 +334,7 @@ Transforms the value into an 8-digit hex string for Android because they put the * * * -### color/composeColor +### color/composeColor Transforms the value into a Color class for Compose @@ -348,7 +348,7 @@ Color(0xFF009688) * * * -### color/UIColor +### color/UIColor Transforms the value into an UIColor class for iOS @@ -362,7 +362,7 @@ Transforms the value into an UIColor class for iOS * * * -### color/UIColorSwift +### color/UIColorSwift Transforms the value into an UIColor swift class for iOS @@ -373,12 +373,13 @@ Transforms the value into an UIColor swift class for iOS UIColor(red: 0.667, green: 0.667, blue: 0.667, alpha: 0.6) ``` + * * * -### color/ColorSwiftUI +### color/ColorSwiftUI -Transforms the value into an Color from SwiftUI for iOS +Transforms the value into an UIColor swift class for iOS ```swift // Matches: token.attributes.category === 'color' @@ -389,7 +390,7 @@ Color(red: 0.667, green: 0.667, blue: 0.667, opacity: 0.6) * * * -### color/css +### color/css Transforms the value into a hex or rgb string depending on if it has transparency @@ -404,7 +405,7 @@ rgba(0,0,0,0.5) * * * -### color/sketch +### color/sketch Transforms a color into an object with red, green, blue, and alpha @@ -425,7 +426,7 @@ colors. * * * -### size/sp +### size/sp Transforms the value into a scale-independent pixel (sp) value for font sizes on Android. It will not scale the number. @@ -439,7 +440,7 @@ Transforms the value into a scale-independent pixel (sp) value for font sizes on * * * -### size/dp +### size/dp Transforms the value into a density-independent pixel (dp) value for non-font sizes on Android. It will not scale the number. @@ -453,7 +454,7 @@ Transforms the value into a density-independent pixel (dp) value for non-font si * * * -### size/object +### size/object Transforms the value into a usefull object ( for React Native support ) @@ -472,7 +473,7 @@ Transforms the value into a usefull object ( for React Native support ) * * * -### size/remToSp +### size/remToSp Transforms the value from a REM size on web into a scale-independent pixel (sp) value for font sizes on Android. It WILL scale the number by a factor of 16 (common base font size on web). @@ -486,7 +487,7 @@ Transforms the value from a REM size on web into a scale-independent pixel (sp) * * * -### size/remToDp +### size/remToDp Transforms the value from a REM size on web into a density-independent pixel (dp) value for font sizes on Android. It WILL scale the number by a factor of 16 (or the value of 'basePxFontSize' on the platform in your config). @@ -500,7 +501,7 @@ Transforms the value from a REM size on web into a density-independent pixel (dp * * * -### size/px +### size/px Adds 'px' to the end of the number. Does not scale the number @@ -514,7 +515,7 @@ Adds 'px' to the end of the number. Does not scale the number * * * -### size/rem +### size/rem Adds 'rem' to the end of the number. Does not scale the number @@ -528,7 +529,7 @@ Adds 'rem' to the end of the number. Does not scale the number * * * -### size/remToPt +### size/remToPt Scales the number by 16 (or the value of 'basePxFontSize' on the platform in your config) and adds 'pt' to the end. @@ -542,7 +543,7 @@ Scales the number by 16 (or the value of 'basePxFontSize' on the platform in you * * * -### size/compose/remToSp +### size/compose/remToSp Transforms the value from a REM size on web into a scale-independent pixel (sp) value for font sizes in Compose. It WILL scale the number by a factor of 16 (common base font size on web). @@ -556,7 +557,7 @@ Transforms the value from a REM size on web into a scale-independent pixel (sp) * * * -### size/compose/remToDp +### size/compose/remToDp Transforms the value from a REM size on web into a density-independent pixel (dp) value for font sizes in Compose. It WILL scale the number by a factor of 16 (or the value of 'basePxFontSize' on the platform in your config). @@ -570,7 +571,7 @@ Transforms the value from a REM size on web into a density-independent pixel (dp * * * -### size/compose/em +### size/compose/em Adds the .em Compose extension to the end of a number. Does not scale the value @@ -584,7 +585,7 @@ Adds the .em Compose extension to the end of a number. Does not scale the value * * * -### size/swift/remToCGFloat +### size/swift/remToCGFloat Scales the number by 16 (or the value of 'basePxFontSize' on the platform in your config) to get to points for Swift and initializes a CGFloat @@ -597,7 +598,7 @@ Scales the number by 16 (or the value of 'basePxFontSize' on the platform in you * * * -### size/remToPx +### size/remToPx Scales the number by 16 (or the value of 'basePxFontSize' on the platform in your config) and adds 'px' to the end. @@ -611,7 +612,7 @@ Scales the number by 16 (or the value of 'basePxFontSize' on the platform in you * * * -### content/icon +### content/icon Takes a unicode point and transforms it into a form CSS can use. @@ -625,7 +626,7 @@ Takes a unicode point and transforms it into a form CSS can use. * * * -### content/quote +### content/quote Wraps the value in a single quoted string @@ -639,7 +640,7 @@ Wraps the value in a single quoted string * * * -### content/objC/literal +### content/objC/literal Wraps the value in a double-quoted string and prepends an '@' to make a string literal. @@ -648,11 +649,11 @@ Wraps the value in a double-quoted string and prepends an '@' to make a string l // Matches: token.attributes.category === 'content' // Returns: -**"string"**: ``` +**"string"**: ``` * * * -### content/swift/literal +### content/swift/literal Wraps the value in a double-quoted string to make a string literal. @@ -666,7 +667,7 @@ Wraps the value in a double-quoted string to make a string literal. * * * -### font/objC/literal +### font/objC/literal Wraps the value in a double-quoted string and prepends an '@' to make a string literal. @@ -679,7 +680,7 @@ Wraps the value in a double-quoted string and prepends an '@' to make a string l * * * -### font/swift/literal +### font/swift/literal Wraps the value in a double-quoted string to make a string literal. @@ -692,7 +693,7 @@ Wraps the value in a double-quoted string to make a string literal. * * * -### time/seconds +### time/seconds Assumes a time in miliseconds and transforms it into a decimal @@ -706,7 +707,7 @@ Assumes a time in miliseconds and transforms it into a decimal * * * -### asset/base64 +### asset/base64 Wraps the value in a double-quoted string and prepends an '@' to make a string literal. @@ -720,7 +721,7 @@ Wraps the value in a double-quoted string and prepends an '@' to make a string l * * * -### asset/path +### asset/path Prepends the local file path @@ -734,7 +735,7 @@ Prepends the local file path * * * -### asset/objC/literal +### asset/objC/literal Wraps the value in a double-quoted string and prepends an '@' to make a string literal. @@ -747,7 +748,7 @@ Wraps the value in a double-quoted string and prepends an '@' to make a string l * * * -### asset/swift/literal +### asset/swift/literal Wraps the value in a double-quoted string to make a string literal. @@ -760,7 +761,7 @@ Wraps the value in a double-quoted string to make a string literal. * * * -### color/hex8flutter +### color/hex8flutter Transforms the value into a Flutter Color object using 8-digit hex with the alpha chanel on start @@ -773,7 +774,7 @@ Transforms the value into a Flutter Color object using 8-digit hex with the alph * * * -### content/flutter/literal +### content/flutter/literal Wraps the value in a double-quoted string to make a string literal. @@ -786,7 +787,7 @@ Wraps the value in a double-quoted string to make a string literal. * * * -### asset/flutter/literal +### asset/flutter/literal Wraps the value in a double-quoted string to make a string literal. @@ -799,7 +800,7 @@ Wraps the value in a double-quoted string to make a string literal. * * * -### font/flutter/literal +### font/flutter/literal Wraps the value in a double-quoted string to make a string literal. @@ -812,7 +813,7 @@ Wraps the value in a double-quoted string to make a string literal. * * * -### size/flutter/remToDouble +### size/flutter/remToDouble Scales the number by 16 (or the value of 'basePxFontSize' on the platform in your config) to get to points for Flutter diff --git a/examples/advanced/assets-base64-embed/package.json b/examples/advanced/assets-base64-embed/package.json index 638dd62e..f8ef3d62 100644 --- a/examples/advanced/assets-base64-embed/package.json +++ b/examples/advanced/assets-base64-embed/package.json @@ -11,6 +11,6 @@ "author": "", "license": "Apache-2.0", "devDependencies": { - "style-dictionary": "3.0.3" + "style-dictionary": "3.1.0" } } \ No newline at end of file diff --git a/examples/advanced/auto-rebuild-watcher/package.json b/examples/advanced/auto-rebuild-watcher/package.json index 1fd94270..900f0652 100644 --- a/examples/advanced/auto-rebuild-watcher/package.json +++ b/examples/advanced/auto-rebuild-watcher/package.json @@ -17,6 +17,6 @@ "license": "Apache-2.0", "devDependencies": { "chokidar-cli": "^1.2.0", - "style-dictionary": "3.0.3" + "style-dictionary": "3.1.0" } -} +} \ No newline at end of file diff --git a/examples/advanced/component-cti/package.json b/examples/advanced/component-cti/package.json index 4ce6156b..410d2411 100644 --- a/examples/advanced/component-cti/package.json +++ b/examples/advanced/component-cti/package.json @@ -15,6 +15,6 @@ "author": "", "license": "Apache-2.0", "devDependencies": { - "style-dictionary": "3.0.3" + "style-dictionary": "3.1.0" } } \ No newline at end of file diff --git a/examples/advanced/create-react-app/package.json b/examples/advanced/create-react-app/package.json index 13ec4ca9..37306934 100644 --- a/examples/advanced/create-react-app/package.json +++ b/examples/advanced/create-react-app/package.json @@ -10,7 +10,7 @@ "styled-components": "^5.3.0" }, "devDependencies": { - "style-dictionary": "3.0.3" + "style-dictionary": "3.1.0" }, "resolutions": { "immer": "8.0.1", diff --git a/examples/advanced/create-react-native-app/package.json b/examples/advanced/create-react-native-app/package.json index fc848fa2..7f2704ff 100644 --- a/examples/advanced/create-react-native-app/package.json +++ b/examples/advanced/create-react-native-app/package.json @@ -27,7 +27,7 @@ "babel-jest": "~25.2.6", "jest": "~25.2.6", "react-test-renderer": "~16.13.1", - "style-dictionary": "3.0.3" + "style-dictionary": "3.1.0" }, "jest": { "preset": "react-native" diff --git a/examples/advanced/custom-file-header/package.json b/examples/advanced/custom-file-header/package.json index 263e65bd..29667567 100644 --- a/examples/advanced/custom-file-header/package.json +++ b/examples/advanced/custom-file-header/package.json @@ -10,6 +10,6 @@ "author": "", "license": "ISC", "devDependencies": { - "style-dictionary": "3.0.3" + "style-dictionary": "3.1.0" } } \ No newline at end of file diff --git a/examples/advanced/custom-formats-with-templates/package.json b/examples/advanced/custom-formats-with-templates/package.json index 10ac04ae..fa6620a8 100644 --- a/examples/advanced/custom-formats-with-templates/package.json +++ b/examples/advanced/custom-formats-with-templates/package.json @@ -18,6 +18,6 @@ "handlebars": "^4.7.7", "lodash": "^4.17.21", "pug": "^3.0.2", - "style-dictionary": "3.0.3" + "style-dictionary": "3.1.0" } } \ No newline at end of file diff --git a/examples/advanced/custom-parser/package.json b/examples/advanced/custom-parser/package.json index feac4af2..cfd30ea7 100644 --- a/examples/advanced/custom-parser/package.json +++ b/examples/advanced/custom-parser/package.json @@ -9,6 +9,6 @@ "author": "", "license": "Apache-2.0", "devDependencies": { - "style-dictionary": "3.0.3" + "style-dictionary": "3.1.0" } } \ No newline at end of file diff --git a/examples/advanced/custom-transforms/package.json b/examples/advanced/custom-transforms/package.json index e631dd88..974bd427 100644 --- a/examples/advanced/custom-transforms/package.json +++ b/examples/advanced/custom-transforms/package.json @@ -15,6 +15,6 @@ "author": "", "license": "Apache-2.0", "devDependencies": { - "style-dictionary": "3.0.3" + "style-dictionary": "3.1.0" } } \ No newline at end of file diff --git a/examples/advanced/format-helpers/package.json b/examples/advanced/format-helpers/package.json index 5e2e451a..dc0e21bf 100644 --- a/examples/advanced/format-helpers/package.json +++ b/examples/advanced/format-helpers/package.json @@ -10,6 +10,6 @@ "author": "", "license": "Apache-2.0", "devDependencies": { - "style-dictionary": "3.0.3" + "style-dictionary": "3.1.0" } } \ No newline at end of file diff --git a/examples/advanced/matching-build-files/package.json b/examples/advanced/matching-build-files/package.json index 5808ddfc..a659e138 100644 --- a/examples/advanced/matching-build-files/package.json +++ b/examples/advanced/matching-build-files/package.json @@ -16,6 +16,6 @@ "author": "Kelly Harrop ", "license": "Apache-2.0", "devDependencies": { - "style-dictionary": "3.0.3" + "style-dictionary": "3.1.0" } } \ No newline at end of file diff --git a/examples/advanced/multi-brand-multi-platform/package.json b/examples/advanced/multi-brand-multi-platform/package.json index 8e6596b7..d23576eb 100644 --- a/examples/advanced/multi-brand-multi-platform/package.json +++ b/examples/advanced/multi-brand-multi-platform/package.json @@ -15,6 +15,6 @@ "author": "", "license": "Apache-2.0", "devDependencies": { - "style-dictionary": "3.0.3" + "style-dictionary": "3.1.0" } } \ No newline at end of file diff --git a/examples/advanced/node-modules-as-config-and-properties/package.json b/examples/advanced/node-modules-as-config-and-properties/package.json index df86ef7a..80c1e25c 100644 --- a/examples/advanced/node-modules-as-config-and-properties/package.json +++ b/examples/advanced/node-modules-as-config-and-properties/package.json @@ -19,7 +19,7 @@ }, "homepage": "https://github.com/dbanksdesign/style-dictionary-node#readme", "devDependencies": { - "style-dictionary": "3.0.3", + "style-dictionary": "3.1.0", "tinycolor2": "^1.4.1" } } \ No newline at end of file diff --git a/examples/advanced/npm-module/package.json b/examples/advanced/npm-module/package.json index 83ad987c..ffdc890a 100644 --- a/examples/advanced/npm-module/package.json +++ b/examples/advanced/npm-module/package.json @@ -16,6 +16,6 @@ "author": "", "license": "Apache-2.0", "devDependencies": { - "style-dictionary": "3.0.3" + "style-dictionary": "3.1.0" } } \ No newline at end of file diff --git a/examples/advanced/referencing_aliasing/package.json b/examples/advanced/referencing_aliasing/package.json index c13371fa..dbda64ea 100644 --- a/examples/advanced/referencing_aliasing/package.json +++ b/examples/advanced/referencing_aliasing/package.json @@ -15,6 +15,6 @@ "author": "", "license": "Apache-2.0", "devDependencies": { - "style-dictionary": "3.0.3" + "style-dictionary": "3.1.0" } } \ No newline at end of file diff --git a/examples/advanced/s3/package.json b/examples/advanced/s3/package.json index ca8ac3f7..366c106a 100644 --- a/examples/advanced/s3/package.json +++ b/examples/advanced/s3/package.json @@ -15,6 +15,6 @@ "devDependencies": { "aws-sdk": "^2.7.21", "fs-extra": "^1.0.0", - "style-dictionary": "3.0.3" + "style-dictionary": "3.1.0" } } \ No newline at end of file diff --git a/examples/advanced/tokens-deprecation/package.json b/examples/advanced/tokens-deprecation/package.json index da3f1f3e..b6873637 100644 --- a/examples/advanced/tokens-deprecation/package.json +++ b/examples/advanced/tokens-deprecation/package.json @@ -16,6 +16,6 @@ "license": "Apache-2.0", "devDependencies": { "lodash": "^4.17.11", - "style-dictionary": "3.0.3" + "style-dictionary": "3.1.0" } } \ No newline at end of file diff --git a/examples/advanced/transitive-transforms/package.json b/examples/advanced/transitive-transforms/package.json index 44033f85..4cfee1ef 100644 --- a/examples/advanced/transitive-transforms/package.json +++ b/examples/advanced/transitive-transforms/package.json @@ -11,6 +11,6 @@ "license": "ISC", "devDependencies": { "chroma-js": "^2.1.0", - "style-dictionary": "3.0.3" + "style-dictionary": "3.1.0" } } \ No newline at end of file diff --git a/examples/advanced/variables-in-outputs/package.json b/examples/advanced/variables-in-outputs/package.json index 93ea8548..a755a955 100644 --- a/examples/advanced/variables-in-outputs/package.json +++ b/examples/advanced/variables-in-outputs/package.json @@ -10,6 +10,6 @@ "author": "", "license": "MIT", "devDependencies": { - "style-dictionary": "3.0.3" + "style-dictionary": "3.1.0" } } \ No newline at end of file diff --git a/examples/advanced/yaml-tokens/package.json b/examples/advanced/yaml-tokens/package.json index 38fb2958..aa8e9629 100644 --- a/examples/advanced/yaml-tokens/package.json +++ b/examples/advanced/yaml-tokens/package.json @@ -9,7 +9,7 @@ "author": "", "license": "Apache-2.0", "devDependencies": { - "style-dictionary": "3.0.3", + "style-dictionary": "3.1.0", "yaml": "^1.10.0" } } \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 302ed880..120a2f76 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "style-dictionary", - "version": "3.0.3", + "version": "3.1.0", "lockfileVersion": 2, "requires": true, "packages": { diff --git a/package.json b/package.json index ee1f1222..0f67c302 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "style-dictionary", - "version": "3.0.3", + "version": "3.1.0", "description": "Style once, use everywhere. A build system for creating cross-platform styles.", "keywords": [ "style dictionary",