Skip to content

Bump @primer/react from 38.7.0 to 38.20.0#318

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/primer/react-38.20.0
Open

Bump @primer/react from 38.7.0 to 38.20.0#318
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/primer/react-38.20.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

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

Bumps @primer/react from 38.7.0 to 38.20.0.

Release notes

Sourced from @​primer/react's releases.

@​primer/react@​38.20.0

Minor Changes

  • #7723 ec6c88f Thanks @​liuliu-dev! - Add Card component with subcomponents: Card.Icon, Card.Image, Card.Heading, Card.Description, Card.Menu, and Card.Metadata

  • #7725 d7b9313 Thanks @​TylerJDev! - AnchoredOverlay: Remove polyfill for CSS Anchor Positioning, use primer/behaviors as fallback. Ensure overlays take available space.

  • #7752 d7380a7 Thanks @​liuliu-dev! - Breadcrumbs: Graduate primer_react_breadcrumbs_overflow_menu feature flag, making the overflow menu behavior always-on.

  • #7733 b9211db Thanks @​francinelucca! - Overlay: Graduate primer_react_overlay_max_height_clamp_to_viewport feature flag

    The max-height of overlays is now clamped to the viewport height by default using min(size, 100dvh). This prevents overlays from extending beyond the viewport on smaller screens.

  • #7698 5c34ab4 Thanks @​hectahertz! - Timeline: add variant prop to Timeline.Badge for built-in color schemes (accent, success, attention, severe, danger, done, open, closed, sponsors)

Patch Changes

  • #7738 f5f2869 Thanks @​francinelucca! - ActionMenu, Table: Fix component mutation issue where Object.assign was modifying original @primer/react components. Now uses wrapper components to avoid side effects.

  • #7747 b7dfb78 Thanks @​copilot-swe-agent! - Fix IssueLabelToken text contrast in light theme by updating the lightness-switch formula to use a division-based approach that properly produces a binary switch value for selecting black vs white text

  • #7739 efa7af8 Thanks @​copilot-swe-agent! - Spinner: Remove feature flag primer_react_spinner_synchronize_animations, treat it as always enabled.

  • #7746 30206c4 Thanks @​jonrohan! - Update TokenTextContainer line-height to use primer primitives CSS variable var(--base-text-lineHeight-normal)

@​primer/react@​38.19.0

Minor Changes

  • #7677 c1a81b1 Thanks @​TylerJDev! - AnchoredOverlay: Add Popover API to AnchoredOverlay (behind primer_react_css_anchor_positioning feature flag)

  • #7697 990ce7b Thanks @​hectahertz! - Stack: Add tight (4px) and cozy (12px) spacing values to gap and padding props. Add paddingBlock and paddingInline props for directional padding control.

Patch Changes

  • #7652 5d19e2b Thanks @​owenniblock! - useAnchoredPosition: recalculate overlay position when any scrollable ancestor (or the window) is scrolled.

  • #7707 6431bfe Thanks @​liuliu-dev! - Fix anchor-name not being set on the anchor element when SelectPanel is opened in Copilot code agent.

  • #7633 a107d39 Thanks @​copilot-swe-agent! - Graduate primer_react_css_has_selector_perf feature flag: the CSS :has() performance optimization (body[data-dialog-scroll-disabled]) is now the default behavior for Dialog scroll disabling

  • #7695 780fc3d Thanks @​mattcosta7! - perf(ThemeProvider): Reduce unnecessary renders and effect cascades

    • Replace useState + useEffect SSR hydration handoff with useSyncExternalStore — eliminates post-hydration re-render
    • Replace useState + useEffect in useSystemColorMode with useSyncExternalStore — eliminates effect gap and stale-then-update flicker
    • Cache getServerHandoff DOM read + JSON.parse per ID (runs once, not on every call)
    • Memoize context value object to prevent unnecessary re-renders of all consumers
  • #7706 fd8910a Thanks @​liuliu-dev! - ActionList.Item: fix inline descriptions being referenced via aria-labelledby instead of aria-describedby

@​primer/react@​38.18.0

... (truncated)

Commits
  • aeffb84 Release tracking 38.20.0 (#7740)
  • 5c34ab4 feat(Timeline): add variant prop to Timeline.Badge (#7698)
  • d7380a7 remove primer_react_breadcrumbs_overflow_menu feature flag (#7752)
  • 30dfb69 chore(deps-dev): bump flatted from 3.3.3 to 3.4.2 (#7687)
  • d7b9313 Replace polyfill with useAnchoredPosition (#7725)
  • efa7af8 chore: remove primer_react_spinner_synchronize_animations feature flag (#7739)
  • 5402c71 chore: update @​github/relative-time-element to 5.0.0 (#7741)
  • 94c96a4 fix(ActionList): replace deprecated --control-medium-lineBoxHeight with --bas...
  • b9211db chore: graduate primer_react_overlay_max_height_clamp_to_viewport (#7733)
  • b7dfb78 fix(IssueLabelToken): Fix lightness-switch formula for label text contrast (#...
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Apr 24, 2026
@dependabot dependabot Bot requested a review from a team as a code owner April 24, 2026 07:14
@dependabot dependabot Bot requested a review from jonrohan April 24, 2026 07:14
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Apr 24, 2026
Bumps [@primer/react](https://github.com/primer/react) from 38.7.0 to 38.20.0.
- [Release notes](https://github.com/primer/react/releases)
- [Commits](https://github.com/primer/react/compare/@primer/react@38.7.0...@primer/react@38.20.0)

---
updated-dependencies:
- dependency-name: "@primer/react"
  dependency-version: 38.20.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/react-38.20.0 branch from 73af093 to f828205 Compare April 25, 2026 00:24
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.

0 participants