Skip to content

Commit c6540f8

Browse files
Merge pull request #1407 from amzn/changeset-release/main
Version Packages
2 parents 08b5f36 + c38c618 commit c6540f8

13 files changed

+21
-53
lines changed

.changeset/few-mails-push.md

-5
This file was deleted.

.changeset/five-vans-whisper.md

-5
This file was deleted.

.changeset/gentle-chairs-teach.md

-5
This file was deleted.

.changeset/gentle-rocks-compete.md

-5
This file was deleted.

.changeset/hungry-carrots-protect.md

-5
This file was deleted.

.changeset/ninety-adults-sing.md

-5
This file was deleted.

.changeset/perfect-carrots-divide.md

-5
This file was deleted.

.changeset/rich-cars-unite.md

-5
This file was deleted.

.changeset/tame-pears-talk.md

-5
This file was deleted.

.changeset/two-islands-dance.md

-5
This file was deleted.

CHANGELOG.md

+18
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,23 @@
11
# Changelog
22

3+
## 4.3.0
4+
5+
### Minor Changes
6+
7+
- 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).
8+
- 5aad797: Add tailwind preset example, remove unused .editorconfig file
9+
- bd8be17: Add support for native .TS token & config file processing.
10+
- 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.
11+
12+
### Patch Changes
13+
14+
- 4a7bca7: add accessControl field to Android Compose template
15+
- f694f67: Fix Prettier imports, see https://prettier.io/docs/en/api#custom-parser-api-removed for more info.
16+
- fd8cdb4: handle DTCG-format tokens in javascript/es6 formatter
17+
- 6a6a409: Move prettier to dependencies since style-dictionary isn't really a prettier plugin and a direct dependency seems more accurate here.
18+
- 8a9cfa0: Fix `outputReferencesTransformed` util, would return `true` for tokens which original values were not strings.
19+
- 7a661bb: Fix font-style and font-weight logic for fonts.css.template.js
20+
321
## 4.2.0
422

523
### Minor Changes

package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "style-dictionary",
3-
"version": "4.2.0",
3+
"version": "4.3.0",
44
"description": "Style once, use everywhere. A build system for creating cross-platform styles.",
55
"keywords": [
66
"style dictionary",

0 commit comments

Comments
 (0)