Skip to content

chore(deps): bump @chassis-ui/tokens from 0.5.3 to 0.6.0 in the chassis group across 1 directory - #2

Closed
dependabot[bot] wants to merge 1 commit into
developfrom
dependabot/npm_and_yarn/develop/chassis-f139805936
Closed

dependabot[bot] wants to merge 1 commit into
developfrom
dependabot/npm_and_yarn/develop/chassis-f139805936

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 1, 2026 •

Copy link
Copy Markdown
Contributor

Bumps the chassis group with 1 update in the / directory: @chassis-ui/tokens.

Updates @chassis-ui/tokens from 0.5.3 to 0.6.0

Release notes

Sourced from @​chassis-ui/tokens's releases.

@​chassis-ui/tokens v0.6.0

The token build was rewritten on Style Dictionary 5.5, and the iOS and Android output was fixed so that it compiles and holds values the platforms can use. The web SCSS output keeps its format; the tokens it renames, removes and corrects are listed below. The npm package now holds the iOS and Android files too.

Breaking changes

All platforms:

  • size.nav-left.wdith-collapsed is now size.nav-left.width-collapsed: $cx-size-nav-left-width-collapsed, SizeNavLeftWidthCollapsed, size_nav_left_width_collapsed. Rename it where you use it
  • borderWidth.context.none, thin and thick are removed. They held the same widths as zero, small and xlarge; use those instead
  • The build no longer writes the groups that exist for Figma only: figma.* ($cx-figma-website-size-page-w and the other figma.website.* tokens) and bg-blur.* ($cx-bg-blur-default, BgBlurDefaultColor and their other parts). Nothing replaces them in the output; they stay in the token source for Figma

Web:

  • $cx-space-website-content-headers-gap in number-small.scss is now $cx-space-website-content-header-gap, the name the medium and large files use. Rename it where you use it
  • package.json has an exports map, so Node and bundlers resolve only @chassis-ui/tokens/dist/… and @chassis-ui/tokens/package.json. Every dist/ path works as before; import nothing else from the package

iOS:

  • Each file declares its own type, and Main.swift is now ChassisTokens.swift. The types are ChassisTokens (main file), ChassisTokensString, ChassisTokensColorLight, ChassisTokensColorDark, ChassisTokensNumber<Screen> and the new ChassisTokensColor. They are caseless enums without @objc, not classes. Replace ChassisTokens.X from a color, number or string file with that file's type, such as ChassisTokensColorLight.ColorContextDefaultBgMain, or use ChassisTokensColor for colors that follow dark mode
  • Font weights are UIFont.Weight (UIFont.Weight.regular), not String ("regular"). Pass them to UIFont.systemFont(ofSize:weight:) directly and remove any name-to-weight mapping
  • Line heights that are a percentage in the design are points (CGFloat(120) for a 96 pt font at 125%), not the percentage (CGFloat(125)). Use the value as the line height
  • Gradient tokens are an …Angle, and a …Stop<N>Color and …Stop<N>Position per stop. The single gradient constant, which held the first stop color only, is gone

Android:

  • Opacity and letter spacing tokens are <item type="dimen" format="float">, not <integer> (which did not compile). Read them with ResourcesCompat.getFloat(resources, R.dimen.…), and reference them as @dimen/…
  • Font weights are <integer> from 100 to 900 (400), not <string> (regular). Read them with resources.getInteger(R.integer.…)
  • Letter spacing of typography tokens is in ems of the font size (-0.0052), not design pixels (-0.5). Pass it to TextView.setLetterSpacing or android:letterSpacing as it is. The standalone letter spacing scale stays in pixels
  • Line heights that are a percentage in the design are sp (120sp), not the percentage (125sp)
  • Gradient tokens are an …_angle, and a …_stop_<n>_color and …_stop_<n>_position per stop, instead of one color resource

Build:

  • The build needs Node.js 22 or later, and engines says so. npm and pnpm warn when a project that installs the package runs an older Node.js; they refuse only with engine-strict

Presets for other CSS frameworks

The presets for teams that do not use Chassis CSS are kept, in the new structure: web-px, web-vw, the cx/scss-variables format, and outputReferences for SCSS and Android. Their output is the same as before, with these fixes:

  • web-px typography maps divide the letter spacing by the base font size, as web-vw does: -0.5px prints -0.0313em, not -0.5em
  • Android references are printed only when they compile and keep the value. 30 lines now print their value: 16 letter spacing references to a <dimen> as @integer/…, 8 font sizes in sp that referenced a size in dp, and 6 rgba() colors that referenced another element or lost their alpha
  • A SCSS variables reference to a variable that no file declares fails the build

outputReferences now also works on iOS (new): a Swift constant names another constant of the same class, such as SizeUnit4 = DimensionBase4, with the same rule as Android.

Changed

  • Upgraded to Style Dictionary 5.5 and @tokens-studio/sd-transforms 2.0; the build now needs Node.js 22 or later
  • Moved platform value encoding (UIColor(…), ARGB colors, sp/dp, quoting, em units, var(--…) references) out of the output templates into tested modules (build/values/ and the web reference policies), which run on fully resolved tokens
  • Build one Style Dictionary instance per token-set list instead of one run per file group: a full build runs 16 builds instead of 36 and takes about 6 s instead of 20 s

... (truncated)

Changelog

Sourced from @​chassis-ui/tokens's changelog.

[0.6.0] - 2026-09-27

The token build was rewritten on Style Dictionary 5.5, and the iOS and Android output was fixed so that it compiles and holds values the platforms can use. The web SCSS output keeps its format; the tokens it renames, removes and corrects are listed below. The npm package now holds the iOS and Android files too.

Breaking changes

All platforms:

  • size.nav-left.wdith-collapsed is now size.nav-left.width-collapsed: $cx-size-nav-left-width-collapsed, SizeNavLeftWidthCollapsed, size_nav_left_width_collapsed. Rename it where you use it
  • borderWidth.context.none, thin and thick are removed. They held the same widths as zero, small and xlarge; use those instead
  • The build no longer writes the groups that exist for Figma only: figma.* ($cx-figma-website-size-page-w and the other figma.website.* tokens) and bg-blur.* ($cx-bg-blur-default, BgBlurDefaultColor and their other parts). Nothing replaces them in the output; they stay in the token source for Figma

Web:

  • $cx-space-website-content-headers-gap in number-small.scss is now $cx-space-website-content-header-gap, the name the medium and large files use. Rename it where you use it
  • package.json has an exports map, so Node and bundlers resolve only @chassis-ui/tokens/dist/… and @chassis-ui/tokens/package.json. Every dist/ path works as before; import nothing else from the package

iOS:

  • Each file declares its own type, and Main.swift is now ChassisTokens.swift. The types are ChassisTokens (main file), ChassisTokensString, ChassisTokensColorLight, ChassisTokensColorDark, ChassisTokensNumber<Screen> and the new ChassisTokensColor. They are caseless enums without @objc, not classes. Replace ChassisTokens.X from a color, number or string file with that file's type, such as ChassisTokensColorLight.ColorContextDefaultBgMain, or use ChassisTokensColor for colors that follow dark mode
  • Font weights are UIFont.Weight (UIFont.Weight.regular), not String ("regular"). Pass them to UIFont.systemFont(ofSize:weight:) directly and remove any name-to-weight mapping
  • Line heights that are a percentage in the design are points (CGFloat(120) for a 96 pt font at 125%), not the percentage (CGFloat(125)). Use the value as the line height
  • Gradient tokens are an …Angle, and a …Stop<N>Color and …Stop<N>Position per stop. The single gradient constant, which held the first stop color only, is gone

Android:

  • Opacity and letter spacing tokens are <item type="dimen" format="float">, not <integer> (which did not compile). Read them with ResourcesCompat.getFloat(resources, R.dimen.…), and reference them as @dimen/…
  • Font weights are <integer> from 100 to 900 (400), not <string> (regular). Read them with resources.getInteger(R.integer.…)
  • Letter spacing of typography tokens is in ems of the font size (-0.0052), not design pixels (-0.5). Pass it to TextView.setLetterSpacing or android:letterSpacing as it is. The standalone letter spacing scale stays in pixels
  • Line heights that are a percentage in the design are sp (120sp), not the percentage (125sp)
  • Gradient tokens are an …_angle, and a …_stop_<n>_color and …_stop_<n>_position per stop, instead of one color resource

Build:

  • The build needs Node.js 22 or later, and engines says so. npm and pnpm warn when a project that installs the package runs an older Node.js; they refuse only with engine-strict

Presets for other CSS frameworks

The presets for teams that do not use Chassis CSS are kept, in the new structure: web-px, web-vw, the cx/scss-variables format, and outputReferences for SCSS and Android. Their output is the same as before, with these fixes:

  • web-px typography maps divide the letter spacing by the base font size, as web-vw does: -0.5px prints -0.0313em, not -0.5em
  • Android references are printed only when they compile and keep the value. 30 lines now print their value: 16 letter spacing references to a <dimen> as @integer/…, 8 font sizes in sp that referenced a size in dp, and 6 rgba() colors that referenced another element or lost their alpha
  • A SCSS variables reference to a variable that no file declares fails the build

outputReferences now also works on iOS (new): a Swift constant names another constant of the same class, such as SizeUnit4 = DimensionBase4, with the same rule as Android.

Changed

  • Upgraded to Style Dictionary 5.5 and @tokens-studio/sd-transforms 2.0; the build now needs Node.js 22 or later
  • Moved platform value encoding (UIColor(…), ARGB colors, sp/dp, quoting, em units, var(--…) references) out of the output templates into tested modules (build/values/ and the web reference policies), which run on fully resolved tokens

... (truncated)

Commits
  • 590de5a fix: correct the source and build findings before the 0.6.0 release
  • bc109c3 refactor: write the build code and tests in American English
  • 8d05e6c docs: write the repository docs in American English
  • b9cbab6 rewrite(phase 34): Swift package and Android library
  • 6154fb0 rewrite(phase 33): native compile checks in CI
  • 96ac883 rewrite(phase 32): type checking of the build code
  • eddcb40 rewrite(phase 31): token source lint
  • 7fdfba6 rewrite(phase 30): token diff report on pull requests
  • 61a04ff rewrite(phase 29): release automation with Changesets
  • eddfbff rewrite(phase 27b): align the layout with chassis-react
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by GitHub Actions, a new releaser for @​chassis-ui/tokens since your current version.


@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Oct 1, 2026
@dependabot
dependabot Bot requested a review from ozgurgunes as a code owner October 1, 2026 20:08
@dependabot dependabot Bot changed the title chore(deps): bump @chassis-ui/tokens from 0.5.3 to 0.6.0 in the chassis group chore(deps): bump @chassis-ui/tokens from 0.5.3 to 0.6.0 in the chassis group across 1 directory Oct 2, 2026
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/develop/chassis-f139805936 branch from b19dfe6 to 166443d Compare October 2, 2026 10:38
Bumps the chassis group with 1 update in the / directory: [@chassis-ui/tokens](https://github.com/chassis-ui/tokens/tree/HEAD/packages/tokens).


Updates `@chassis-ui/tokens` from 0.5.3 to 0.6.0
- [Release notes](https://github.com/chassis-ui/tokens/releases)
- [Changelog](https://github.com/chassis-ui/tokens/blob/main/packages/tokens/CHANGELOG.md)
- [Commits](https://github.com/chassis-ui/tokens/commits/v0.6.0/packages/tokens)

---
updated-dependencies:
- dependency-name: "@chassis-ui/tokens"
  dependency-version: 0.6.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: chassis
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/develop/chassis-f139805936 branch from 166443d to 6faf65d Compare October 2, 2026 11:42
@dependabot @github

dependabot Bot commented on behalf of github Oct 3, 2026

Copy link
Copy Markdown
Contributor Author

Looks like @chassis-ui/tokens is no longer updatable, so this is no longer needed.

@dependabot dependabot Bot closed this Oct 3, 2026
@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/develop/chassis-f139805936 branch October 3, 2026 21:47
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants