Skip to content

@primer/react@38.32.0

Choose a tag to compare

@primer primer released this 13 Jul 14:07
Immutable release. Only release title and notes can be modified.
c11a00e

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.