Skip to content

@primer/react@38.15.1

Choose a tag to compare

@primer primer released this 16 Mar 23:20
· 58 commits to main since this release
3e61f83

Patch Changes

  • #7625 2e8c707 Thanks @liuliu-dev! - Banner: stack inline actions vertically on narrow viewports.

  • #7554 f34f0c3 Thanks @hectahertz! - perf(ActionList): memoize context values, menuItemProps, and aria attributes

  • #7598 4b345db Thanks @hectahertz! - perf(Banner): replace :has(.BannerActions) with [data-has-actions] attribute selector

  • #7597 adadd38 Thanks @hectahertz! - perf(Button): replace :has(.Visual) with [data-no-visuals] attribute selector in link variant styling

  • #7599 e6513c2 Thanks @hectahertz! - perf(Dialog): replace :has(.Footer) with [data-has-footer] attribute selector for footer border detection

  • #7620 ec0b789 Thanks @hectahertz! - Use stable object reference for DialogContext value to prevent unnecessary re-renders

  • #7621 235126a Thanks @hectahertz! - Memoize SelectPanel overlayProps, focusTrapSettings, and preventBubbling to reduce allocations on re-renders

  • #7600 0d7cc92 Thanks @hectahertz! - perf(TextInput): skip redundant character counter updates

  • #7654 a09a60c Thanks @copilot-swe-agent! - SelectPanel: use 100dvh and env(safe-area-inset-bottom) in fullscreen-on-narrow mode to prevent content from being obscured by iOS Safari's browser chrome.

  • #7545 17ec46f Thanks @hectahertz! - perf(TreeView): defer scrollIntoView to coalesce reflows during rapid navigation