From 49dce2c3fc70d012bd70537cde01379bd2a36dfc Mon Sep 17 00:00:00 2001 From: Danny Banks <djb@amazon.com> Date: Wed, 30 Oct 2019 14:52:27 -0700 Subject: [PATCH] chore(release): 2.8.3 --- CHANGELOG.md | 11 +++++++++++ docs/api.md | 2 +- examples/advanced/assets-base64-embed/package.json | 2 +- examples/advanced/auto-rebuild-watcher/package.json | 4 ++-- examples/advanced/component-cti/package.json | 2 +- examples/advanced/create-react-app/package.json | 2 +- .../custom-formats-with-templates/package.json | 2 +- examples/advanced/custom-transforms/package.json | 2 +- .../advanced/multi-brand-multi-platform/package.json | 2 +- .../package.json | 2 +- examples/advanced/npm-module/package.json | 2 +- examples/advanced/referencing_aliasing/package.json | 2 +- examples/advanced/s3/package.json | 2 +- examples/advanced/tokens-deprecation/package.json | 2 +- examples/complete/package.json | 2 +- package-lock.json | 2 +- package.json | 2 +- 17 files changed, 28 insertions(+), 17 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index cad1d0305..4af1eddaa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,17 @@ 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. +<a name="2.8.3"></a> +## [2.8.3](https://github.com/amzn/style-dictionary/compare/v2.8.2...v2.8.3) (2019-10-30) + + +### Bug Fixes + +* **format:** minor css format output fix ([#323](https://github.com/amzn/style-dictionary/issues/323)) ([adb94e1](https://github.com/amzn/style-dictionary/commit/adb94e1)), closes [#322](https://github.com/amzn/style-dictionary/issues/322) +* **utils:** handle 0 values ([#325](https://github.com/amzn/style-dictionary/issues/325)) ([189d61b](https://github.com/amzn/style-dictionary/commit/189d61b)), closes [#324](https://github.com/amzn/style-dictionary/issues/324) + + + <a name="2.8.2"></a> ## [2.8.2](https://github.com/amzn/style-dictionary/compare/v2.8.1...v2.8.2) (2019-09-04) diff --git a/docs/api.md b/docs/api.md index 28f60b676..3929be229 100644 --- a/docs/api.md +++ b/docs/api.md @@ -276,7 +276,7 @@ Transforms can manipulate a property's name, value, or attributes | transform.type | <code>String</code> | Type of transform, can be: name, attribute, or value | | transform.name | <code>String</code> | Name of the transformer (used by transformGroup to call a list of transforms). | | [transform.matcher] | <code>function</code> | Matcher function, return boolean if transform should be applied. If you omit the matcher function, it will match all properties. | -| transform.transformer | <code>function</code> | Performs a transform on a property object, should return a string or object depending on the type. Will only update certain properties to avoid accidentally messing up property objects. | +| transform.transformer | <code>function</code> | Performs a transform on a property object, should return a string or object depending on the type. Will only update certain properties by which you can't mess up property objects on accident. | **Example** ```js diff --git a/examples/advanced/assets-base64-embed/package.json b/examples/advanced/assets-base64-embed/package.json index 951b987a6..71dc29124 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.2" + "style-dictionary": "2.8.3" } } \ 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 e4d41a2a3..488dcbc83 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.2" + "style-dictionary": "2.8.3" } -} +} \ No newline at end of file diff --git a/examples/advanced/component-cti/package.json b/examples/advanced/component-cti/package.json index 6c86e891e..24f449fa0 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.2" + "style-dictionary": "2.8.3" } } \ 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 72e010c4f..c2237fb99 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.2" + "style-dictionary": "2.8.3" }, "scripts": { "build-dictionary": "style-dictionary build --config ./style-dictionary/config.json", diff --git a/examples/advanced/custom-formats-with-templates/package.json b/examples/advanced/custom-formats-with-templates/package.json index 5cfb4d4fa..db1c3ca3a 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.2" + "style-dictionary": "2.8.3" } } \ No newline at end of file diff --git a/examples/advanced/custom-transforms/package.json b/examples/advanced/custom-transforms/package.json index 80c058426..0335b2f99 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.2" + "style-dictionary": "2.8.3" } } \ 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 217e13ef5..148dedab5 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.2" + "style-dictionary": "2.8.3" } } \ 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 5da33548c..1b533811d 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.2", + "style-dictionary": "2.8.3", "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 9b3cf715e..de59ca611 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.2" + "style-dictionary": "2.8.3" } } \ No newline at end of file diff --git a/examples/advanced/referencing_aliasing/package.json b/examples/advanced/referencing_aliasing/package.json index 909dcdb2d..704a0d6d3 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.2" + "style-dictionary": "2.8.3" } } \ No newline at end of file diff --git a/examples/advanced/s3/package.json b/examples/advanced/s3/package.json index ff4ee716d..36d4fb367 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.2" + "style-dictionary": "2.8.3" } } \ No newline at end of file diff --git a/examples/advanced/tokens-deprecation/package.json b/examples/advanced/tokens-deprecation/package.json index 5beec6037..44f27ad8d 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.2" + "style-dictionary": "2.8.3" } } \ No newline at end of file diff --git a/examples/complete/package.json b/examples/complete/package.json index ad52df921..1e437a6ca 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.2" + "style-dictionary": "2.8.3" } } \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 015322dc5..5f11af4c8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "style-dictionary", - "version": "2.8.2", + "version": "2.8.3", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 08ffd5bc9..acd6756fc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "style-dictionary", - "version": "2.8.2", + "version": "2.8.3", "description": "Style once, use everywhere. A build system for creating cross-platform styles.", "keywords": [ "style dictionary",