Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version Packages #1407

Merged
merged 2 commits into from
Dec 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading