Skip to content

Bump @primer/primitives from 11.4.0 to 11.5.1#959

Merged
ntkme merged 2 commits intomainfrom
dependabot/npm_and_yarn/primer/primitives-11.5.1
Mar 2, 2026
Merged

Bump @primer/primitives from 11.4.0 to 11.5.1#959
ntkme merged 2 commits intomainfrom
dependabot/npm_and_yarn/primer/primitives-11.5.1

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 2, 2026

Bumps @primer/primitives from 11.4.0 to 11.5.1.

Release notes

Sourced from @​primer/primitives's releases.

v11.5.1

Patch Changes

v11.5.0

Minor Changes

  • #1319 dccf2af Thanks @​lukasoppermann! - Add z-index design tokens for managing stacking context. Introduces base z-index scale (0-600) and 8 semantic functional tokens: behind, default, sticky, dropdown, overlay, modal, popover, and skipLink. Includes LLM metadata with usage guidance and shadow-to-z-index alignment rules.

  • #1315 8bb3e76 Thanks @​lukasoppermann! - Add some missing tokens that confused the AI

  • #1320 6c1af22 Thanks @​lukasoppermann! - Add negative base size tokens (negative-2 through negative-48) for sizes 2–48

Patch Changes

  • #1301 423b6e1 Thanks @​lukasoppermann! - Convert duration tokens to w3c

  • #1318 4d0f257 Thanks @​lukasoppermann! - Fix dark mode contrast for controlTrack and controlKnob tokens. The track now recedes (darker) and the knob stands out (lighter) in all dark mode variants, fixing the inverted visual hierarchy in SegmentedControl and ToggleSwitch.

  • #1308 135dd9b Thanks @​lukasoppermann! - Update shadow tokens to use W3C DTCG object format for dimension values

    • Shadow token dimension properties (offsetX, offsetY, blur, spread) now use object format { value: number, unit: "px" } instead of legacy strings like "1px"
    • Updated shadowToCss transformer to handle W3C dimension objects
    • Updated ShadowTokenValue type to require DimensionTokenValue for dimension properties
    • Legacy string format for shadow dimensions is no longer supported
  • #1306 e4e355f Thanks @​lukasoppermann! - Adding metadata for:

    • shadow tokens
    • display tokens
    • ansi colors
    • syntax colors
  • #1305 305c559 Thanks @​lukasoppermann! - Change dimension tokens to W3C DTCG format (breaking change)

    • The transformers dimensionToRem, dimensionToRemPxArray, and dimensionToPixelUnitless now only accept W3C DTCG object-format dimension tokens. Legacy string-based dimension values are no longer supported and will throw errors.
    • In the W3C DTCG format, only px and rem units are supported. Support for em units has been removed.
  • #1302 d5a7908 Thanks @​lukasoppermann! - Improve context for agents

Changelog

Sourced from @​primer/primitives's changelog.

11.5.1

Patch Changes

11.5.0

Minor Changes

  • #1319 dccf2af Thanks @​lukasoppermann! - Add z-index design tokens for managing stacking context. Introduces base z-index scale (0-600) and 8 semantic functional tokens: behind, default, sticky, dropdown, overlay, modal, popover, and skipLink. Includes LLM metadata with usage guidance and shadow-to-z-index alignment rules.

  • #1315 8bb3e76 Thanks @​lukasoppermann! - Add some missing tokens that confused the AI

  • #1320 6c1af22 Thanks @​lukasoppermann! - Add negative base size tokens (negative-2 through negative-48) for sizes 2–48

Patch Changes

  • #1301 423b6e1 Thanks @​lukasoppermann! - Convert duration tokens to w3c

  • #1318 4d0f257 Thanks @​lukasoppermann! - Fix dark mode contrast for controlTrack and controlKnob tokens. The track now recedes (darker) and the knob stands out (lighter) in all dark mode variants, fixing the inverted visual hierarchy in SegmentedControl and ToggleSwitch.

  • #1308 135dd9b Thanks @​lukasoppermann! - Update shadow tokens to use W3C DTCG object format for dimension values

    • Shadow token dimension properties (offsetX, offsetY, blur, spread) now use object format { value: number, unit: "px" } instead of legacy strings like "1px"
    • Updated shadowToCss transformer to handle W3C dimension objects
    • Updated ShadowTokenValue type to require DimensionTokenValue for dimension properties
    • Legacy string format for shadow dimensions is no longer supported
  • #1306 e4e355f Thanks @​lukasoppermann! - Adding metadata for:

    • shadow tokens
    • display tokens
    • ansi colors
    • syntax colors
  • #1305 305c559 Thanks @​lukasoppermann! - Change dimension tokens to W3C DTCG format (breaking change)

    • The transformers dimensionToRem, dimensionToRemPxArray, and dimensionToPixelUnitless now only accept W3C DTCG object-format dimension tokens. Legacy string-based dimension values are no longer supported and will throw errors.
    • In the W3C DTCG format, only px and rem units are supported. Support for em units has been removed.
  • #1302 d5a7908 Thanks @​lukasoppermann! - Improve context for agents

Commits
  • 74599a8 Version Packages (#1324)
  • 0dcf7b5 Fix Update snapshots workflow crash when no snapshot artifacts exist (#1323)
  • af16c12 Changing dark dimmed fgColor-default to previous value (#1322)
  • 5af30f5 Version Packages (#1304)
  • 4d0f257 fix: swap controlTrack/controlKnob dark mode values for correct contrast (#1318)
  • dccf2af Add z-index design tokens for stacking context management (#1319)
  • 6c1af22 Add negative base size tokens for sizes 2-48 (#1320)
  • 87dd04a add test for ms conversion (#1317)
  • b77f0fa Bump tar and storybook in /docs/storybook (#1316)
  • c873be2 Bump lodash from 4.17.21 to 4.17.23 in /docs/storybook (#1296)
  • 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 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 [@primer/primitives](https://github.com/primer/primitives) from 11.4.0 to 11.5.1.
- [Release notes](https://github.com/primer/primitives/releases)
- [Changelog](https://github.com/primer/primitives/blob/main/CHANGELOG.md)
- [Commits](primer/primitives@v11.4.0...v11.5.1)

---
updated-dependencies:
- dependency-name: "@primer/primitives"
  dependency-version: 11.5.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Mar 2, 2026
@ntkme ntkme merged commit 28621f0 into main Mar 2, 2026
4 checks passed
@ntkme ntkme deleted the dependabot/npm_and_yarn/primer/primitives-11.5.1 branch March 2, 2026 04:17
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.

1 participant