Skip to content

v35.20.0

Choose a tag to compare

@primer-css primer-css released this 21 Feb 19:31
· 3217 commits to main since this release
fbfe8f9

Permalink to documentation

Minor Changes

  • 5967b0a9 Thanks @broccolinisoup! - Issue a deprecation notice for UnderlineNav v1

  • #2815 74df59c4 Thanks @mperrotti! - Addresses feedback from the accessibility team about our SegmentedControl component. These changes include an update to ActionMenu that allows u to specify the ID of the DOM node that labels the menu.

  • #2768 5055b91b Thanks @green6erry! - Confine Heading as prop to header element types

  • #2903 13651ba1 Thanks @colebemis! - TreeView promoted to beta status. You can now import it from the main bundle instead of /drafts:

    - import {TreeView} from '@primer/react/drafts'
    + import {TreeView} from '@primer/react'

Patch Changes

  • #2792 03b470b0 Thanks @broccolinisoup! - - Add a block prop for full width

    • Add alignContent prop to align content to center or start for full width buttons
    • Use control sizing CSS variable values (not using CSS vars just yet)
    • Use height over padding for more control over sizing
    • Adjust invisible button variant to match new design using ActionList colors
  • #2868 03ebf41b Thanks @colebemis! - TreeView: Reliably move focus from loading item to first asynchronously loaded item

  • #2845 c31314c8 Thanks @colebemis! - TreeView: When moving focus to TreeView, the current item will be focused by default.

  • #2770 3bf1b0e3 Thanks @broccolinisoup! - UnderlineNav2: Handle the case when container is too small to render any items

  • d8f18435 Thanks @iansan5653! - Add aria-modal attribute to Dialog (V2) element

  • 3127e104 Thanks @jbrown1618! - Upgrade primer/behaviors from 1.3.1 to 1.3.2

  • 2a00aab6 Thanks @colebemis! - TreeView: Set aria-selected=true on focused item

  • ca7398df Thanks @broccolinisoup! - CounterLabel: Do not parse children to string for visually hidden content

  • #2900 3768cd7d Thanks @broccolinisoup! - PageHeader: A11y eng review remediations

  • 8bce9740 Thanks @broccolinisoup! - UnderlineNav2: Update total height of the navigation to 48px

  • 196a7929 Thanks @iansan5653! - Fix useDynamicTextareaHeight not taking into account top padding of textarea

    Also makes the hook accept a RefObject instead of an element instance

  • #2845 c31314c8 Thanks @colebemis! - TabNav: Re-focusing a TabNav will focus the selected tab