Skip to content

Build(deps): bump @primer/primitives from 11.6.0 to 11.7.0#933

Merged
jeffwilcox merged 1 commit intomainfrom
dependabot/npm_and_yarn/primer/primitives-11.7.0
Apr 15, 2026
Merged

Build(deps): bump @primer/primitives from 11.6.0 to 11.7.0#933
jeffwilcox 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 15, 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

Most Recent Ignore Conditions Applied to This Pull Request
Dependency Name Ignore Conditions
@primer/primitives [>= 11.0.a, < 11.1]
@primer/primitives [>= 11.1.a, < 11.2]

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Apr 15, 2026
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:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/primer/primitives-11.7.0 branch from 662ac41 to 85607c9 Compare April 15, 2026 06:27
@jeffwilcox jeffwilcox merged commit dce0598 into main Apr 15, 2026
2 checks passed
@jeffwilcox jeffwilcox deleted the dependabot/npm_and_yarn/primer/primitives-11.7.0 branch April 15, 2026 06:46
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