Skip to content

chore(deps-dev): bump style-dictionary from 3.9.2 to 4.4.0 #691

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 25, 2025

Bumps style-dictionary from 3.9.2 to 4.4.0.

Release notes

Sourced from style-dictionary's releases.

v4.4.0

Minor Changes

  • f2395f3: Add a 'flat' option to the javascriptEsm format
  • 2f13dcb: Added support for using the selector option as a string or string array in the css/variables formatter. When an array is provided, the CSS variables will be nested within the specified selectors in order

Patch Changes

  • ee85609: fix misaligned comments in typescript/es6-declarations
  • 6ff17ec: If several preprocessors are defined in the SD configuration, the execution of the preprocessors is now guaranteed in the exact order in which they were configured in the SD configuration.

v4.3.3

Patch Changes

  • ea0ec73: Fix convertToDTCG for sets that are already (partially) DTCG.
  • 1d4389a: - 'color/hex' (colorHex enum) built-in transform can now handle alpha channels properly by outputting hex8 format if needed. This also affects the transformGroups less and js which apply this transform.
    • 'color/hex8' (colorHex8 enum) built-in transform is now deprecated, use 'color/hex' (colorHex enum) instead.
  • e77feb4: Move the tinycolor2 patch from a patch file to a 3-liner fix in our source code, so it gets correctly published and usable by consumers.
  • 177c25e: Account for multiline comments in javascript/es6 format

v4.3.2

Patch Changes

  • 7d60069: Hotfix for 'size/rem' => sizeRem transform to not change values with 'px' units to 'rem'. Regression was added in v4.3.1 (commit sha 1684a8e).

v4.3.1

Patch Changes

  • 1684a8e: Fix sizeRem to allow negative values
  • 803d1f8: Fix gradients with rgba values returning rgba(0, 0, 0, 0)
  • 6cc1da3: Add and check types to CLI file, fix typo for --platform flag.

v4.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.
  • 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

  • 2966cfd: handle DTCG-format tokens in typescript/es6-declarations formatter
  • 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

... (truncated)

Changelog

Sourced from style-dictionary's changelog.

4.4.0

Minor Changes

  • f2395f3: Add a 'flat' option to the javascriptEsm format
  • 2f13dcb: Added support for using the selector option as a string or string array in the css/variables formatter. When an array is provided, the CSS variables will be nested within the specified selectors in order

Patch Changes

  • ee85609: fix misaligned comments in typescript/es6-declarations
  • 6ff17ec: If several preprocessors are defined in the SD configuration, the execution of the preprocessors is now guaranteed in the exact order in which they were configured in the SD configuration.

4.3.3

Patch Changes

  • ea0ec73: Fix convertToDTCG for sets that are already (partially) DTCG.
  • 1d4389a: - 'color/hex' (colorHex enum) built-in transform can now handle alpha channels properly by outputting hex8 format if needed. This also affects the transformGroups less and js which apply this transform.
    • 'color/hex8' (colorHex8 enum) built-in transform is now deprecated, use 'color/hex' (colorHex enum) instead.
  • e77feb4: Move the tinycolor2 patch from a patch file to a 3-liner fix in our source code, so it gets correctly published and usable by consumers.
  • 177c25e: Account for multiline comments in javascript/es6 format

4.3.2

Patch Changes

  • 7d60069: Hotfix for 'size/rem' => sizeRem transform to not change values with 'px' units to 'rem'. Regression was added in v4.3.1 (commit sha 1684a8e).

4.3.1

Patch Changes

  • 1684a8e: Fix sizeRem to allow negative values
  • 803d1f8: Fix gradients with rgba values returning rgba(0, 0, 0, 0)
  • 6cc1da3: Add and check types to CLI file, fix typo for --platform flag.

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.
  • 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

... (truncated)

Commits
  • 86c2c30 chore: release (#1490)
  • 2f13dcb feat: support selector option as string or string array in css/variables form...
  • f2395f3 feat: formats javascript/esm add flat option (#1474)
  • 6ff17ec fix: guaranteed order of preprocessor execution (#1489)
  • ee85609 fix(formats): fix misaligned comments in typescript/es6-declarations (#1473)
  • 31c29df refactor: update import paths to fix build step (#1452)
  • 6492978 docs(migration): fix parsers migration example (#1468)
  • 08e3e26 Update filters.md (#1454)
  • 85d12e0 Merge pull request #1446 from bengie/usesDtcg-option-docs
  • 2f3d629 Merge pull request #1444 from amzn/changeset-release/main
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [style-dictionary](https://github.com/amzn/style-dictionary) from 3.9.2 to 4.4.0.
- [Release notes](https://github.com/amzn/style-dictionary/releases)
- [Changelog](https://github.com/amzn/style-dictionary/blob/main/CHANGELOG.md)
- [Commits](amzn/style-dictionary@v3.9.2...v4.4.0)

---
updated-dependencies:
- dependency-name: style-dictionary
  dependency-version: 4.4.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code major labels Apr 25, 2025
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code major
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants