Skip to content

chore(deps): update @primer/react to v38.32.0#3041

Merged
setchy merged 3 commits into
mainfrom
renovate/primer-react-38.x
Jul 20, 2026
Merged

chore(deps): update @primer/react to v38.32.0#3041
setchy merged 3 commits into
mainfrom
renovate/primer-react-38.x

Conversation

@renovate

@renovate renovate Bot commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
@primer/react 38.29.038.32.0 age confidence

Release Notes

primer/react (@​primer/react)

v38.32.0

Compare Source

Minor Changes
  • #​8133 0cb8e17 Thanks @​iansan5653! - UnderlineNav: Replaced dynamic icon visibility with static breakpoints to avoid flickering. Breakpoints customizable via the hideIconsBreakpoint prop.

  • #​8112 50face0 Thanks @​llastflowers! - Add data-component attributes and associated tests for:

    SplitPageLayout
    Stack
    StateLabel
    SubNav
    TabNav
    Text
    TextArea
    ThemeProvider

Patch Changes
  • #​7901 8288ed9 Thanks @​mattcosta7! - PageHeader: improve rendering performance by removing expensive :has() selectors. No visual or API changes.

  • #​8115 07c530a Thanks @​mattcosta7! - Improve rendering performance in Safari by removing expensive :has() selectors from ActionList/NavList, Breadcrumbs, SelectPanel, and SegmentedControl. No visual or API changes.

  • #​8024 18e3b7d Thanks @​mattcosta7! - ToggleSwitch: Fire onChange from the user interaction instead of an effect, so it no longer fires on mount or when a controlled checked value changes externally.

  • #​8035 723f4d6 Thanks @​mattcosta7! - UnderlineNav, ActionBar: Detect item overflow with a single shared IntersectionObserver per component instead of one observer per item, reducing observer churn during resize. No public API changes.

  • #​8001 4edc824 Thanks @​mattcosta7! - useMedia now reads the live matchMedia value on the first client render instead of after an effect, removing a redundant render pass. defaultState is only used for the SSR/hydration snapshot (no public API changes).

  • #​8023 71fa75c Thanks @​mattcosta7! - FormControl: Avoid an extra re-render when showing a validation message.

v38.31.0

Compare Source

Minor Changes
  • #​8057 0b9c81e Thanks @​francinelucca! - ThemeProvider: Remove primer_react_theme_provider_remove_ssr_handoff feature flag.

  • #​8105 be2950f Thanks @​joshblack! - React Compiler: Enable compiler output for Banner, ConfirmationDialog, PageLayout, Pagination, UnderlineNav, useMergedRefs, and useScrollFlash

Patch Changes
  • #​8066 dd66aa2 Thanks @​janmaarten-a11y! - Fix invalid HTML nesting in ActionList.Heading by applying the visually-hidden styles directly to the heading element instead of wrapping it in a span.

  • #​8054 1775f2e Thanks @​joshblack! - AvatarStack: Improve rendering performance with React Compiler support

  • #​8053 b2151ae Thanks @​joshblack! - Checkbox, CheckboxGroup, and RadioGroup: Improve rendering performance with React Compiler support

  • #​8052 a1b24cf Thanks @​joshblack! - Heading, Link, Pagehead, Portal, and SideNav: Improve rendering performance with React Compiler support

v38.30.0

Compare Source

Minor Changes
  • #​8048 0add561 Thanks @​copilot-swe-agent! - ActionBar: Add ActionBar.Button for rendering text buttons that overflow into the menu, alongside the existing ActionBar.IconButton

  • #​8031 cb79351 Thanks @​janmaarten-a11y! - Add a NavList.Heading slot that names the navigation region. It renders an h2
    by default (configurable to h3 via as), supports a visuallyHidden variant,
    labels the nav landmark via aria-labelledby, and makes NavList.Group
    headings default to one level deeper (h3, or h4 under an h3 heading) for a
    correct heading hierarchy.

  • #​7991 b906268 Thanks @​llastflowers! - Add data-component attributes and associated tests for:

    Radio
    RadioGroup
    RelativeTime
    ScrollableRegion
    SegmentedControl
    Select
    SideNav
    SkeletonBox
    SkeletonAvatar
    SkeletonText
    Spinner

  • #​8026 73a45df Thanks @​TylerJDev! - SelectPanel: Add cssAnchorPositioningSettings prop to customize CSS anchor positioning behavior

  • #​7506 e58907c Thanks @​iansan5653! - Refactors UnderlineNav overflow handling to use CSS-based overflow detection instead of JavaScript width measurements, eliminating layout shift (CLS) issues and improving performance. The overflow menu is now implemented with ActionMenu, and item registration uses a descendant registry instead of the React.Children API. Consumer-facing changes: items can now be wrapped in fragments or wrapper components; the current item may appear in the overflow menu when the viewport is narrow; and the overflow menu button is right-aligned.

Patch Changes
  • #​8021 6131a94 Thanks @​mattcosta7! - Announce, AriaStatus, AriaAlert: Avoid an extra React render on every content change (e.g. per keystroke when tied to an input)

  • #​7935 5b3c806 Thanks @​copilot-swe-agent! - ConfirmationDialog: useConfirm/confirm now removes its host element from document.body after the dialog is closed, and uses a fresh host element per call, so the empty container no longer lingers or leaks into other components and tests

  • #​8007 f052126 Thanks @​copilot-swe-agent! - Improve style-recalc performance by making ButtonGroup, DataTable Pagination, and Checkbox CSS selectors bucketable (removing universal */:not([attr]) subjects and :is() selector-list merges)

  • #​8021 6131a94 Thanks @​mattcosta7! - Textarea: Improve typing performance by deriving the character counter in render instead of in effects, removing extra re-renders on each keystroke.

  • #​8021 6131a94 Thanks @​mattcosta7! - TextInput: Improve typing performance by deriving the character counter in render instead of in effects, removing extra re-renders on each keystroke.


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • Between 12:00 AM and 03:59 AM, only on Monday (* 0-3 * * 1)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot added the dependency Dependency updates label Jul 20, 2026
@renovate
renovate Bot requested review from afonsojramos and setchy as code owners July 20, 2026 20:50
@renovate
renovate Bot force-pushed the renovate/primer-react-38.x branch from aff18dc to 99cd3aa Compare July 20, 2026 21:05
@renovate
renovate Bot force-pushed the renovate/primer-react-38.x branch from 99cd3aa to 94ad15d Compare July 20, 2026 21:48
setchy added 2 commits July 21, 2026 07:53
Signed-off-by: Adam Setch <adam.setch@outlook.com>
Signed-off-by: Adam Setch <adam.setch@outlook.com>
@setchy
setchy merged commit b643362 into main Jul 20, 2026
13 checks passed
@setchy
setchy deleted the renovate/primer-react-38.x branch July 20, 2026 22:13
@github-actions github-actions Bot added this to the Release 7.0.0 milestone Jul 20, 2026
@sonarqubecloud

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependency Dependency updates

Development

Successfully merging this pull request may close these issues.

1 participant