diff --git a/CHANGELOG.md b/CHANGELOG.md index 4af1eddaa..cba7543d4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,24 @@ 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. + +# [2.9.0](https://github.com/amzn/style-dictionary/compare/v2.8.3...v2.9.0) (2020-04-21) + + +### Bug Fixes + +* **transforms:** add NaN check to all size transforms ([#413](https://github.com/amzn/style-dictionary/issues/413)) ([d353795](https://github.com/amzn/style-dictionary/commit/d353795)) +* **transforms:** add specificity so color for hex values is correct ([#412](https://github.com/amzn/style-dictionary/issues/412)) ([01cc11c](https://github.com/amzn/style-dictionary/commit/01cc11c)), closes [#407](https://github.com/amzn/style-dictionary/issues/407) +* clean require cache before loading file content ([#405](https://github.com/amzn/style-dictionary/issues/405)) ([18a50d0](https://github.com/amzn/style-dictionary/commit/18a50d0)), closes [#404](https://github.com/amzn/style-dictionary/issues/404) +* parseFloat() has only one argument ([#417](https://github.com/amzn/style-dictionary/issues/417)) ([16c3040](https://github.com/amzn/style-dictionary/commit/16c3040)), closes [#416](https://github.com/amzn/style-dictionary/issues/416) + + +### Features + +* **attribute/cti:** attribute/cti should respect manually set attributes ([#415](https://github.com/amzn/style-dictionary/issues/415)) ([fb3e393](https://github.com/amzn/style-dictionary/commit/fb3e393)), closes [#414](https://github.com/amzn/style-dictionary/issues/414) + + + ## [2.8.3](https://github.com/amzn/style-dictionary/compare/v2.8.2...v2.8.3) (2019-10-30) diff --git a/docs/formats.md b/docs/formats.md index d09501e22..3d9511b12 100644 --- a/docs/formats.md +++ b/docs/formats.md @@ -674,7 +674,7 @@ Creates a JSON flat file of the style dictionary. ### sketch/palette -Creates a [sketchpalette](https://github.com/andrewfiorillo/sketch-palettes/releases/tag/1.5) file of all the base colors +Creates a sketchpalette file of all the base colors **Example** ```json @@ -694,7 +694,7 @@ Creates a [sketchpalette](https://github.com/andrewfiorillo/sketch-palettes/rele ### sketch/palette/v2 -Creates a [sketchpalette](https://github.com/andrewfiorillo/sketch-palettes) file compatible with version 2 of +Creates a sketchpalette file compatible with version 2 of the sketchpalette plugin. To use this you should use the 'color/sketch' transform to get the correct value for the colors. diff --git a/examples/advanced/assets-base64-embed/package.json b/examples/advanced/assets-base64-embed/package.json index 71dc29124..e21a801bf 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": "2.8.3" + "style-dictionary": "2.9.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 488dcbc83..5afb9204f 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": "2.8.3" + "style-dictionary": "2.9.0" } } \ No newline at end of file diff --git a/examples/advanced/component-cti/package.json b/examples/advanced/component-cti/package.json index 24f449fa0..e51ee5a80 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": "2.8.3" + "style-dictionary": "2.9.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 881f4781a..7d4f27243 100644 --- a/examples/advanced/create-react-app/package.json +++ b/examples/advanced/create-react-app/package.json @@ -10,7 +10,7 @@ "styled-components": "^4.1.2" }, "devDependencies": { - "style-dictionary": "2.8.3" + "style-dictionary": "2.9.0" }, "scripts": { "build-dictionary": "style-dictionary build --config ./style-dictionary/config.json", @@ -29,4 +29,4 @@ "not op_mini all" ], "license": "Apache-2.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 db1c3ca3a..33aeb0845 100644 --- a/examples/advanced/custom-formats-with-templates/package.json +++ b/examples/advanced/custom-formats-with-templates/package.json @@ -19,6 +19,6 @@ "handlebars": "^4.0.12", "lodash": "^4.17.11", "pug": "^2.0.3", - "style-dictionary": "2.8.3" + "style-dictionary": "2.9.0" } } \ No newline at end of file diff --git a/examples/advanced/custom-transforms/package.json b/examples/advanced/custom-transforms/package.json index 0335b2f99..b3c0bc2fa 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": "2.8.3" + "style-dictionary": "2.9.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 148dedab5..64133d66a 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": "2.8.3" + "style-dictionary": "2.9.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 1b533811d..9a5788ed8 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": "2.8.3", + "style-dictionary": "2.9.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 de59ca611..28bff7f58 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": "2.8.3" + "style-dictionary": "2.9.0" } } \ No newline at end of file diff --git a/examples/advanced/referencing_aliasing/package.json b/examples/advanced/referencing_aliasing/package.json index 704a0d6d3..cf2e67946 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": "2.8.3" + "style-dictionary": "2.9.0" } } \ No newline at end of file diff --git a/examples/advanced/s3/package.json b/examples/advanced/s3/package.json index 36d4fb367..d7c030b9c 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": "2.8.3" + "style-dictionary": "2.9.0" } } \ No newline at end of file diff --git a/examples/advanced/tokens-deprecation/package.json b/examples/advanced/tokens-deprecation/package.json index 44f27ad8d..1bd0c8a21 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": "2.8.3" + "style-dictionary": "2.9.0" } } \ No newline at end of file diff --git a/examples/complete/package.json b/examples/complete/package.json index 1e437a6ca..bda4a22af 100644 --- a/examples/complete/package.json +++ b/examples/complete/package.json @@ -11,6 +11,6 @@ "author": "", "license": "Apache-2.0", "devDependencies": { - "style-dictionary": "2.8.3" + "style-dictionary": "2.9.0" } } \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index c6779ead6..0d14c444a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "style-dictionary", - "version": "2.8.3", + "version": "2.9.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index f01feec29..c6bef4feb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "style-dictionary", - "version": "2.8.3", + "version": "2.9.0", "description": "Style once, use everywhere. A build system for creating cross-platform styles.", "keywords": [ "style dictionary",