diff --git a/.changeset/few-mails-push.md b/.changeset/few-mails-push.md deleted file mode 100644 index cfc51b3f6..000000000 --- a/.changeset/few-mails-push.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'style-dictionary': patch ---- - -add accessControl field to Android Compose template diff --git a/.changeset/five-vans-whisper.md b/.changeset/five-vans-whisper.md deleted file mode 100644 index aff460bb9..000000000 --- a/.changeset/five-vans-whisper.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'style-dictionary': minor ---- - -Introduce a new entrypoint: `style-dictionary/enums` for most of the library's hard-coded string values. Most of these are built-in hooks names. This provides better type-safety for consumers as well as various maintainability related benefits for this library. [See documentation for more info](https://styledictionary.com/reference/enums). diff --git a/.changeset/gentle-chairs-teach.md b/.changeset/gentle-chairs-teach.md deleted file mode 100644 index 583b61285..000000000 --- a/.changeset/gentle-chairs-teach.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'style-dictionary': minor ---- - -Add tailwind preset example, remove unused .editorconfig file diff --git a/.changeset/gentle-rocks-compete.md b/.changeset/gentle-rocks-compete.md deleted file mode 100644 index 9ba187e30..000000000 --- a/.changeset/gentle-rocks-compete.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'style-dictionary': minor ---- - -Add support for native .TS token & config file processing. diff --git a/.changeset/hungry-carrots-protect.md b/.changeset/hungry-carrots-protect.md deleted file mode 100644 index 84f0ffb40..000000000 --- a/.changeset/hungry-carrots-protect.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'style-dictionary': patch ---- - -Fix Prettier imports, see https://prettier.io/docs/en/api#custom-parser-api-removed for more info. diff --git a/.changeset/ninety-adults-sing.md b/.changeset/ninety-adults-sing.md deleted file mode 100644 index 0077c8990..000000000 --- a/.changeset/ninety-adults-sing.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'style-dictionary': minor ---- - -Add `tokenMap` properties to Dictionary, which is a JavaScript Map structure of the tokens, which makes it easy to iterate as well as access tokens. Also add `convertTokenData` utility that allows to seemlessly convert between Map, Object or Array of tokens, and deprecate the `flattenTokens` utility in favor of that one. diff --git a/.changeset/perfect-carrots-divide.md b/.changeset/perfect-carrots-divide.md deleted file mode 100644 index 13e1811b7..000000000 --- a/.changeset/perfect-carrots-divide.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'style-dictionary': patch ---- - -handle DTCG-format tokens in javascript/es6 formatter diff --git a/.changeset/rich-cars-unite.md b/.changeset/rich-cars-unite.md deleted file mode 100644 index 55b113437..000000000 --- a/.changeset/rich-cars-unite.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'style-dictionary': patch ---- - -Move prettier to dependencies since style-dictionary isn't really a prettier plugin and a direct dependency seems more accurate here. diff --git a/.changeset/tame-pears-talk.md b/.changeset/tame-pears-talk.md deleted file mode 100644 index 58dafc7a9..000000000 --- a/.changeset/tame-pears-talk.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'style-dictionary': patch ---- - -Fix `outputReferencesTransformed` util, would return `true` for tokens which original values were not strings. diff --git a/.changeset/two-islands-dance.md b/.changeset/two-islands-dance.md deleted file mode 100644 index 85b586a84..000000000 --- a/.changeset/two-islands-dance.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'style-dictionary': patch ---- - -Fix font-style and font-weight logic for fonts.css.template.js diff --git a/CHANGELOG.md b/CHANGELOG.md index 82d3264ce..517433a94 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,23 @@ # Changelog +## 4.3.0 + +### Minor Changes + +- 302b466: Introduce a new entrypoint: `style-dictionary/enums` for most of the library's hard-coded string values. Most of these are built-in hooks names. This provides better type-safety for consumers as well as various maintainability related benefits for this library. [See documentation for more info](https://styledictionary.com/reference/enums). +- 5aad797: Add tailwind preset example, remove unused .editorconfig file +- bd8be17: Add support for native .TS token & config file processing. +- 209085d: Add `tokenMap` properties to Dictionary, which is a JavaScript Map structure of the tokens, which makes it easy to iterate as well as access tokens. Also add `convertTokenData` utility that allows to seemlessly convert between Map, Object or Array of tokens, and deprecate the `flattenTokens` utility in favor of that one. + +### Patch Changes + +- 4a7bca7: add accessControl field to Android Compose template +- f694f67: Fix Prettier imports, see https://prettier.io/docs/en/api#custom-parser-api-removed for more info. +- fd8cdb4: handle DTCG-format tokens in javascript/es6 formatter +- 6a6a409: Move prettier to dependencies since style-dictionary isn't really a prettier plugin and a direct dependency seems more accurate here. +- 8a9cfa0: Fix `outputReferencesTransformed` util, would return `true` for tokens which original values were not strings. +- 7a661bb: Fix font-style and font-weight logic for fonts.css.template.js + ## 4.2.0 ### Minor Changes diff --git a/package-lock.json b/package-lock.json index fd7b4fd18..f6b0675e5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "style-dictionary", - "version": "4.2.0", + "version": "4.3.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "style-dictionary", - "version": "4.2.0", + "version": "4.3.0", "hasInstallScript": true, "license": "Apache-2.0", "dependencies": { diff --git a/package.json b/package.json index b634d6c2e..19f371396 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "style-dictionary", - "version": "4.2.0", + "version": "4.3.0", "description": "Style once, use everywhere. A build system for creating cross-platform styles.", "keywords": [ "style dictionary",