Skip to content

Commit

Permalink
Merge pull request amzn#1407 from amzn/changeset-release/main
Browse files Browse the repository at this point in the history
Version Packages
  • Loading branch information
jorenbroekema authored Dec 10, 2024
2 parents 08b5f36 + c38c618 commit c6540f8
Show file tree
Hide file tree
Showing 13 changed files with 21 additions and 53 deletions.
5 changes: 0 additions & 5 deletions .changeset/few-mails-push.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/five-vans-whisper.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/gentle-chairs-teach.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/gentle-rocks-compete.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/hungry-carrots-protect.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/ninety-adults-sing.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/perfect-carrots-divide.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/rich-cars-unite.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/tame-pears-talk.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/two-islands-dance.md

This file was deleted.

18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions 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": "4.2.0",
"version": "4.3.0",
"description": "Style once, use everywhere. A build system for creating cross-platform styles.",
"keywords": [
"style dictionary",
Expand Down

0 comments on commit c6540f8

Please sign in to comment.