From 0ad229d75a146e26d958ee37a94df62d3bb7f49b Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 10 Dec 2024 17:02:53 +0000 Subject: [PATCH] chore: release --- .changeset/few-mails-push.md | 5 ----- .changeset/five-vans-whisper.md | 5 ----- .changeset/gentle-chairs-teach.md | 5 ----- .changeset/gentle-rocks-compete.md | 5 ----- .changeset/hungry-carrots-protect.md | 5 ----- .changeset/ninety-adults-sing.md | 5 ----- .changeset/perfect-carrots-divide.md | 5 ----- .changeset/rich-cars-unite.md | 5 ----- .changeset/tame-pears-talk.md | 5 ----- .changeset/two-islands-dance.md | 5 ----- CHANGELOG.md | 18 ++++++++++++++++++ package-lock.json | 4 ++-- package.json | 2 +- 13 files changed, 21 insertions(+), 53 deletions(-) delete mode 100644 .changeset/few-mails-push.md delete mode 100644 .changeset/five-vans-whisper.md delete mode 100644 .changeset/gentle-chairs-teach.md delete mode 100644 .changeset/gentle-rocks-compete.md delete mode 100644 .changeset/hungry-carrots-protect.md delete mode 100644 .changeset/ninety-adults-sing.md delete mode 100644 .changeset/perfect-carrots-divide.md delete mode 100644 .changeset/rich-cars-unite.md delete mode 100644 .changeset/tame-pears-talk.md delete mode 100644 .changeset/two-islands-dance.md diff --git a/.changeset/few-mails-push.md b/.changeset/few-mails-push.md deleted file mode 100644 index cfc51b3f..00000000 --- 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 aff460bb..00000000 --- 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 583b6128..00000000 --- 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 9ba187e3..00000000 --- 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 84f0ffb4..00000000 --- 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 0077c899..00000000 --- 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 13e1811b..00000000 --- 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 55b11343..00000000 --- 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 58dafc7a..00000000 --- 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 85b586a8..00000000 --- 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 82d3264c..517433a9 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 fd7b4fd1..f6b0675e 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 b634d6c2..19f37139 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",