Skip to content

@primer/react@38.21.0

Choose a tag to compare

@primer primer released this 27 Apr 17:38
· 31 commits to main since this release
a217832

Minor Changes

  • #7760 b2e0efd Thanks @siddharthkp! - Deprecate the useResponsiveValue hook.

  • #7724 d813099 Thanks @francinelucca! - Add stable data-component selectors to multiple components following ADR-023:

    • ActionBar
    • ActionList and friends
    • Button
    • FilteredActionList and friends
    • Link
    • LinkButton
    • Pagination
    • SelectPanel and friends
    • Table and friends
    • TextInput
    • TextInputWithTokens
    • TooltipV2

    This enables consumers to query and test components using stable selectors like [data-component="Table.Row"].

  • #7766 b3f06f1 Thanks @TylerJDev! - AnchoredOverlay: (Behind feature flag) Make popover API usage opt-in

  • #7763 b288d6e Thanks @liuliu-dev! - Add borderRadius prop to Card component.

Patch Changes

  • #7714 e974d9f Thanks @hectahertz! - perf(ActionList): replace :has() selector with JS-computed attribute

  • #7754 9e3fe4b Thanks @liuliu-dev! - Breadcrumbs: On narrow viewports, only show the current page breadcrumb and the overflow menu when overflow="menu" is set.

  • #7757 ed82a1e Thanks @liuliu-dev! - SelectPanel: Lock body scroll when modal variant is on.

  • #7734 421ebf0 Thanks @llastflowers! - add data-component attributes for Avatar, AvatarStack, Banner, & BaseStyles