Skip to content

Bump @primer/primitives from 11.6.0 to 11.7.0#973

Merged
ntkme merged 1 commit intomainfrom
dependabot/npm_and_yarn/primer/primitives-11.7.0
Apr 20, 2026
Merged

Bump @primer/primitives from 11.6.0 to 11.7.0#973
ntkme merged 1 commit intomainfrom
dependabot/npm_and_yarn/primer/primitives-11.7.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Apr 20, 2026

Bumps @primer/primitives from 11.6.0 to 11.7.0.

Release notes

Sourced from @​primer/primitives's releases.

v11.7.0

Minor Changes

  • #1349 4bedeb1 Thanks @​lukasoppermann! - Remove redundant lineBoxHeight tokens

    The following tokens have been removed:

    • text-display-lineBoxHeight - Duplicated text-display-lineHeight value
    • control-xsmall-lineBoxHeight
    • control-small-lineBoxHeight
    • control-medium-lineBoxHeight
    • control-large-lineBoxHeight
    • control-xlarge-lineBoxHeight

    These tokens were inconsistently defined (typography used unitless multipliers while controls used absolute dimensions) and were not providing clear value. The control sizing formula (size = lineBoxHeight + 2 × paddingBlock) can be derived from existing size and paddingBlock tokens. Breaking changes have been mitigated on the platform.

Patch Changes

  • #1344 cb7c706 Thanks @​lukasoppermann! - Consolidate focus outline tokens into src/tokens/component/focus.json5 with consistent kebab-case naming (focus-outline-color, focus-outline-width, focus-outline-offset). Deprecated aliases for the old names are included for backward compatibility.

    Route focus dimension tokens (--focus-outline-width, --focus-outline-offset, --outline-focus-offset, --outline-focus-width) to css/functional/size/border.css instead of theme CSS files, since these values are static and don't vary by theme.

  • #1345 35d9a90 Thanks @​lukasoppermann! - Remove shadow.floating.legacy. Reduce shadow.floating.small light mode border alpha from 0.5 to 0.25.

  • #1346 7728903 Thanks @​copilot-swe-agent! - Update light-high-contrast fgColor tokens to custom hex values between scale levels 5 and 6

    Improves visual differentiation between status colors (open/closed/done) in the light high-contrast theme. The three affected tokens (fgColor.success, fgColor.danger, fgColor.done) previously resolved to base color scale level 6, making them too dark and visually indistinct. No single scale step satisfies both the 7:1 contrast minimum and chromatic distinction, so custom hex values interpolated between levels 5 and 6 are used instead, following the precedent set by dark high-contrast theme overrides.

Changelog

Sourced from @​primer/primitives's changelog.

11.7.0

Minor Changes

  • #1349 4bedeb1 Thanks @​lukasoppermann! - Remove redundant lineBoxHeight tokens

    The following tokens have been removed:

    • text-display-lineBoxHeight - Duplicated text-display-lineHeight value
    • control-xsmall-lineBoxHeight
    • control-small-lineBoxHeight
    • control-medium-lineBoxHeight
    • control-large-lineBoxHeight
    • control-xlarge-lineBoxHeight

    These tokens were inconsistently defined (typography used unitless multipliers while controls used absolute dimensions) and were not providing clear value. The control sizing formula (size = lineBoxHeight + 2 × paddingBlock) can be derived from existing size and paddingBlock tokens. Breaking changes have been mitigated on the platform.

Patch Changes

  • #1344 cb7c706 Thanks @​lukasoppermann! - Consolidate focus outline tokens into src/tokens/component/focus.json5 with consistent kebab-case naming (focus-outline-color, focus-outline-width, focus-outline-offset). Deprecated aliases for the old names are included for backward compatibility.

    Route focus dimension tokens (--focus-outline-width, --focus-outline-offset, --outline-focus-offset, --outline-focus-width) to css/functional/size/border.css instead of theme CSS files, since these values are static and don't vary by theme.

  • #1345 35d9a90 Thanks @​lukasoppermann! - Remove shadow.floating.legacy. Reduce shadow.floating.small light mode border alpha from 0.5 to 0.25.

  • #1346 7728903 Thanks @​copilot-swe-agent! - Update light-high-contrast fgColor tokens to custom hex values between scale levels 5 and 6

    Improves visual differentiation between status colors (open/closed/done) in the light high-contrast theme. The three affected tokens (fgColor.success, fgColor.danger, fgColor.done) previously resolved to base color scale level 6, making them too dark and visually indistinct. No single scale step satisfies both the 7:1 contrast minimum and chromatic distinction, so custom hex values interpolated between levels 5 and 6 are used instead, following the precedent set by dark high-contrast theme overrides.

Commits
  • c19e78d Version Packages (#1348)
  • cb7c706 Refactor: consolidate focus outline tokens into component file (#1344)
  • 4bedeb1 Remove redundant lineBoxHeight tokens (#1349)
  • 7728903 Update light-high-contrast fgColor tokens to custom hex values between scale ...
  • 35d9a90 Deprecate shadow-floating-legacy and reduce floating-small border alpha (#1345)
  • 92fbba4 Bump vite from 7.1.11 to 7.3.2 (#1343)
  • e7af848 Bump lodash from 4.17.23 to 4.18.1 in /docs/storybook (#1342)
  • e36be8f Bump defu from 6.1.4 to 6.1.6 in /docs/storybook (#1341)
  • 526012e Bump handlebars from 4.7.8 to 4.7.9 in /docs/storybook (#1339)
  • 843d641 Bump picomatch (#1337)
  • 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.6.0 to 11.7.0.
- [Release notes](https://github.com/primer/primitives/releases)
- [Changelog](https://github.com/primer/primitives/blob/main/CHANGELOG.md)
- [Commits](primer/primitives@v11.6.0...v11.7.0)

---
updated-dependencies:
- dependency-name: "@primer/primitives"
  dependency-version: 11.7.0
  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 Apr 20, 2026
@ntkme ntkme merged commit 062dff3 into main Apr 20, 2026
4 checks passed
@ntkme ntkme deleted the dependabot/npm_and_yarn/primer/primitives-11.7.0 branch April 20, 2026 01:44
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