@primer/react@38.32.0
Minor Changes
-
#8133
0cb8e17Thanks @iansan5653! -UnderlineNav: Replaced dynamic icon visibility with static breakpoints to avoid flickering. Breakpoints customizable via thehideIconsBreakpointprop. -
#8112
50face0Thanks @llastflowers! - Add data-component attributes and associated tests for:SplitPageLayout
Stack
StateLabel
SubNav
TabNav
Text
TextArea
ThemeProvider
Patch Changes
-
#7901
8288ed9Thanks @mattcosta7! - PageHeader: improve rendering performance by removing expensive:has()selectors. No visual or API changes. -
#8115
07c530aThanks @mattcosta7! - Improve rendering performance in Safari by removing expensive:has()selectors from ActionList/NavList, Breadcrumbs, SelectPanel, and SegmentedControl. No visual or API changes. -
#8024
18e3b7dThanks @mattcosta7! - ToggleSwitch: FireonChangefrom the user interaction instead of an effect, so it no longer fires on mount or when a controlledcheckedvalue changes externally. -
#8035
723f4d6Thanks @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
4edc824Thanks @mattcosta7! -useMedianow reads the livematchMediavalue on the first client render instead of after an effect, removing a redundant render pass.defaultStateis only used for the SSR/hydration snapshot (no public API changes). -
#8023
71fa75cThanks @mattcosta7! - FormControl: Avoid an extra re-render when showing a validation message.