Skip to content

Commit

Permalink
chore(release): 3.0.0-rc.2
Browse files Browse the repository at this point in the history
  • Loading branch information
dbanksdesign committed Jan 12, 2021
1 parent 99b3357 commit 8d5b2ab
Show file tree
Hide file tree
Showing 20 changed files with 39 additions and 24 deletions.
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,21 @@

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.0.0-rc.2](https://github.com/amzn/style-dictionary/compare/v3.0.0-rc.1...v3.0.0-rc.2) (2021-01-12)


### Features

* **format:** adding android/resources format ([e43aafd](https://github.com/amzn/style-dictionary/commit/e43aafd0e4c5f34158ea0cdc222833b79b35ab16))
* **transforms:** add 'px to rem' transform ([#491](https://github.com/amzn/style-dictionary/issues/491)) ([75f0ba3](https://github.com/amzn/style-dictionary/commit/75f0ba36e1211edf955c7b6bd6c58cbd9fc6524c))


### Bug Fixes

* **extend:** use given file path for token data ([#499](https://github.com/amzn/style-dictionary/issues/499)) ([0b23c9d](https://github.com/amzn/style-dictionary/commit/0b23c9d77e367b2080e4b624fcb294773b2aefcb))
* **parsers:** fixed an error where parsers weren't running ([#511](https://github.com/amzn/style-dictionary/issues/511)) ([b0077c3](https://github.com/amzn/style-dictionary/commit/b0077c3d06caf5b7fcacd7378aab7827cdaa3961))
* **types:** fix transform options type [#502](https://github.com/amzn/style-dictionary/issues/502) ([32787f8](https://github.com/amzn/style-dictionary/commit/32787f8a133a61f6132cef4bb88922f72951b804))

## [3.0.0-rc.1](https://github.com/amzn/style-dictionary/compare/v3.0.0-rc.0...v3.0.0-rc.1) (2020-12-04)

## [3.0.0-rc.0](https://github.com/amzn/style-dictionary/compare/v2.10.2...v3.0.0-rc.0) (2020-12-03)
Expand Down
12 changes: 6 additions & 6 deletions docs/transforms.md
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ Transforms the value into a density-independent pixel (dp) value for non-font si
### 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).
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 (or the value of 'basePxFontSize' on the platform in your config).

```js
// Matches: prop.attributes.category === 'size' && prop.attributes.type === 'font'
Expand All @@ -395,7 +395,7 @@ Transforms the value from a REM size on web into a scale-independent pixel (sp)
### 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 (common base font size on web).
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).

```js
// Matches: prop.attributes.category === 'size' && prop.attributes.type !== 'font'
Expand Down Expand Up @@ -437,7 +437,7 @@ Adds 'rem' to the end of the number. Does not scale the number
### size/remToPt


Scales the number by 16 (default web font size) and adds 'pt' to the end.
Scales the number by 16 (or the value of 'basePxFontSize' on the platform in your config) and adds 'pt' to the end.

```js
// Matches: prop.attributes.category === 'size'
Expand All @@ -451,7 +451,7 @@ Scales the number by 16 (default web font size) and adds 'pt' to the end.
### size/swift/remToCGFloat


Scales the number by 16 to get to points for Swift and initializes a CGFloat
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

```js
// Matches: prop.attributes.category === 'size'
Expand All @@ -464,7 +464,7 @@ Scales the number by 16 to get to points for Swift and initializes a CGFloat
### size/remToPx


Scales the number by 16 (default web font size) and adds 'px' to the end.
Scales the number by 16 (or the value of 'basePxFontSize' on the platform in your config) and adds 'px' to the end.

```js
// Matches: prop.attributes.category === 'size'
Expand Down Expand Up @@ -679,7 +679,7 @@ Wraps the value in a double-quoted string to make a string literal.
### size/flutter/remToDouble


Scales the number by 16 to get to points for Flutter
Scales the number by 16 (or the value of 'basePxFontSize' on the platform in your config) to get to points for Flutter

```dart
// Matches: prop.attributes.category === 'size'
Expand Down
2 changes: 1 addition & 1 deletion examples/advanced/assets-base64-embed/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@
"author": "",
"license": "Apache-2.0",
"devDependencies": {
"style-dictionary": "3.0.0-rc.1"
"style-dictionary": "3.0.0-rc.2"
}
}
2 changes: 1 addition & 1 deletion examples/advanced/auto-rebuild-watcher/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@
"license": "Apache-2.0",
"devDependencies": {
"chokidar-cli": "^1.2.0",
"style-dictionary": "3.0.0-rc.1"
"style-dictionary": "3.0.0-rc.2"
}
}
2 changes: 1 addition & 1 deletion examples/advanced/component-cti/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@
"author": "",
"license": "Apache-2.0",
"devDependencies": {
"style-dictionary": "3.0.0-rc.1"
"style-dictionary": "3.0.0-rc.2"
}
}
2 changes: 1 addition & 1 deletion examples/advanced/create-react-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"styled-components": "^5.1.1"
},
"devDependencies": {
"style-dictionary": "3.0.0-rc.1"
"style-dictionary": "3.0.0-rc.2"
},
"scripts": {
"build-dictionary": "style-dictionary build --config ./style-dictionary/config.json",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@
"handlebars": "^4.0.12",
"lodash": "^4.17.11",
"pug": "^2.0.3",
"style-dictionary": "3.0.0-rc.1"
"style-dictionary": "3.0.0-rc.2"
}
}
2 changes: 1 addition & 1 deletion examples/advanced/custom-parser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@
"author": "",
"license": "Apache-2.0",
"devDependencies": {
"style-dictionary": "3.0.0-rc.1"
"style-dictionary": "3.0.0-rc.2"
}
}
2 changes: 1 addition & 1 deletion examples/advanced/custom-transforms/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@
"author": "",
"license": "Apache-2.0",
"devDependencies": {
"style-dictionary": "3.0.0-rc.1"
"style-dictionary": "3.0.0-rc.2"
}
}
2 changes: 1 addition & 1 deletion examples/advanced/matching-build-files/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@
"author": "Kelly Harrop <[email protected]>",
"license": "Apache-2.0",
"devDependencies": {
"style-dictionary": "3.0.0-rc.1"
"style-dictionary": "3.0.0-rc.2"
}
}
2 changes: 1 addition & 1 deletion examples/advanced/multi-brand-multi-platform/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@
"author": "",
"license": "Apache-2.0",
"devDependencies": {
"style-dictionary": "3.0.0-rc.1"
"style-dictionary": "3.0.0-rc.2"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
},
"homepage": "https://github.com/dbanksdesign/style-dictionary-node#readme",
"devDependencies": {
"style-dictionary": "3.0.0-rc.1",
"style-dictionary": "3.0.0-rc.2",
"tinycolor2": "^1.4.1"
}
}
2 changes: 1 addition & 1 deletion examples/advanced/npm-module/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@
"author": "",
"license": "Apache-2.0",
"devDependencies": {
"style-dictionary": "3.0.0-rc.1"
"style-dictionary": "3.0.0-rc.2"
}
}
2 changes: 1 addition & 1 deletion examples/advanced/referencing_aliasing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@
"author": "",
"license": "Apache-2.0",
"devDependencies": {
"style-dictionary": "3.0.0-rc.1"
"style-dictionary": "3.0.0-rc.2"
}
}
2 changes: 1 addition & 1 deletion examples/advanced/s3/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@
"devDependencies": {
"aws-sdk": "^2.7.21",
"fs-extra": "^1.0.0",
"style-dictionary": "3.0.0-rc.1"
"style-dictionary": "3.0.0-rc.2"
}
}
2 changes: 1 addition & 1 deletion examples/advanced/tokens-deprecation/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@
"license": "Apache-2.0",
"devDependencies": {
"lodash": "^4.17.11",
"style-dictionary": "3.0.0-rc.1"
"style-dictionary": "3.0.0-rc.2"
}
}
2 changes: 1 addition & 1 deletion examples/advanced/transitive-transforms/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@
"license": "ISC",
"devDependencies": {
"chroma-js": "^2.1.0",
"style-dictionary": "3.0.0-rc.1"
"style-dictionary": "3.0.0-rc.2"
}
}
2 changes: 1 addition & 1 deletion examples/advanced/yaml-tokens/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"author": "",
"license": "Apache-2.0",
"devDependencies": {
"style-dictionary": "3.0.0-rc.1",
"style-dictionary": "3.0.0-rc.2",
"yaml": "^1.10.0"
}
}
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "style-dictionary",
"version": "3.0.0-rc.1",
"version": "3.0.0-rc.2",
"description": "Style once, use everywhere. A build system for creating cross-platform styles.",
"keywords": [
"style dictionary",
Expand Down

0 comments on commit 8d5b2ab

Please sign in to comment.