Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 19, 2026

Bumps @primer/behaviors from 1.8.4 to 1.10.0.

Release notes

Sourced from @​primer/behaviors's releases.

v1.10.0

Minor Changes

  • #668 15b49ab Thanks @​TylerJDev! - Focus-zone: Reinitialize focus zone when new items are added and focusPrependedElements is true

v1.9.2

Patch Changes

  • #661 419bcf0 Thanks @​copilot-swe-agent! - Optimize getAnchoredPosition by reducing getComputedStyle calls
    • Combine DOM traversals for positioned parent and clipping node lookups into a single pass
    • Cache computed styles during traversal to avoid redundant getComputedStyle calls
    • Reduce calls from 2n + 2 to n for DOM trees of depth n (57% reduction for typical cases)
    • Improve performance for anchored positioning with deep DOM trees

v1.9.1

Patch Changes

  • #665 7fa6e9a Thanks @​kelsey-myers! - [Focus Zone] Fix edge-case where prepended element is not focused when elements are reordered

  • #657 457a1fb Thanks @​mattcosta7! - Optimize DOM operations for better web vitals (INP, CLS, FID)

    • Batch reflow-causing reads in isFocusable() to minimize layout thrashing
    • Use Set for O(1) tag lookups instead of Array.includes()
    • Optimize getClippingRect() and getPositionedParent() with early exits
    • Batch MutationObserver DOM operations (read phase, then write phase)
    • Add sr-only inline styles to focus-trap sentinels to prevent CLS
    • Use :scope selector for faster direct-child sentinel lookup
    • Add IndexedSet for O(1) membership checks in focus zone hot paths

v1.9.0

Minor Changes

  • #648 0cd03c3 Thanks @​TylerJDev! - FocusZone: Introduce a new focusInStrategy option, "initial," to allow disabling the default behavior of focusing on the first item when the focus zone becomes active.

  • #641 cd90185 Thanks @​TylerJDev! - FocusZone: Add setting ignoreHoverEvents which provides a configurable setting to disable selection on mouse hover

Changelog

Sourced from @​primer/behaviors's changelog.

1.10.0

Minor Changes

  • #668 15b49ab Thanks @​TylerJDev! - Focus-zone: Reinitialize focus zone when new items are added and focusPrependedElements is true

1.9.2

Patch Changes

  • #661 419bcf0 Thanks @​copilot-swe-agent! - Optimize getAnchoredPosition by reducing getComputedStyle calls
    • Combine DOM traversals for positioned parent and clipping node lookups into a single pass
    • Cache computed styles during traversal to avoid redundant getComputedStyle calls
    • Reduce calls from 2n + 2 to n for DOM trees of depth n (57% reduction for typical cases)
    • Improve performance for anchored positioning with deep DOM trees

1.9.1

Patch Changes

  • #665 7fa6e9a Thanks @​kelsey-myers! - [Focus Zone] Fix edge-case where prepended element is not focused when elements are reordered

  • #657 457a1fb Thanks @​mattcosta7! - Optimize DOM operations for better web vitals (INP, CLS, FID)

    • Batch reflow-causing reads in isFocusable() to minimize layout thrashing
    • Use Set for O(1) tag lookups instead of Array.includes()
    • Optimize getClippingRect() and getPositionedParent() with early exits
    • Batch MutationObserver DOM operations (read phase, then write phase)
    • Add sr-only inline styles to focus-trap sentinels to prevent CLS
    • Use :scope selector for faster direct-child sentinel lookup
    • Add IndexedSet for O(1) membership checks in focus zone hot paths

1.9.0

Minor Changes

  • #648 0cd03c3 Thanks @​TylerJDev! - FocusZone: Introduce a new focusInStrategy option, "initial," to allow disabling the default behavior of focusing on the first item when the focus zone becomes active.

  • #641 cd90185 Thanks @​TylerJDev! - FocusZone: Add setting ignoreHoverEvents which provides a configurable setting to disable selection on mouse hover

Commits
  • 57a21ad Version Packages (#671)
  • 15b49ab Reinitialize focus zone when items are prepended to the container (#668)
  • 9722d52 Bump @​types/node in the development-dependencies group (#670)
  • 3db5455 Bump the development-dependencies group with 2 updates (#669)
  • c166e52 Version Packages (#667)
  • 419bcf0 Optimize getComputedStyle calls in anchored-position by combining DOM travers...
  • c10c756 Version Packages (#660)
  • 7fa6e9a [Focus Zone] Fix edge-case where prepended element is not focused when elemen...
  • 737a2ba Bump the development-dependencies group with 2 updates (#664)
  • 9d5d953 Bump the development-dependencies group with 3 updates (#663)
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by [GitHub Actions](https://www.npmjs.com/~GitHub Actions), a new releaser for @​primer/behaviors since your current version.


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)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file npm npm dependencies skip changeset Pull requests that don't change the library output labels Jan 19, 2026
@dependabot dependabot bot requested a review from a team as a code owner January 19, 2026 11:30
@dependabot dependabot bot added skip changeset Pull requests that don't change the library output npm npm dependencies labels Jan 19, 2026
@dependabot dependabot bot requested a review from TylerJDev January 19, 2026 11:30
@changeset-bot
Copy link

changeset-bot bot commented Jan 19, 2026

⚠️ No Changeset found

Latest commit: ec38126

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Bumps [@primer/behaviors](https://github.com/primer/behaviors) from 1.8.4 to 1.10.0.
- [Release notes](https://github.com/primer/behaviors/releases)
- [Changelog](https://github.com/primer/behaviors/blob/main/CHANGELOG.md)
- [Commits](primer/behaviors@v1.8.4...v1.10.0)

---
updated-dependencies:
- dependency-name: "@primer/behaviors"
  dependency-version: 1.10.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/primer/behaviors-1.10.0 branch from b142183 to ec38126 Compare January 19, 2026 11:56
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 npm npm dependencies skip changeset Pull requests that don't change the library output

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant