Skip to content

Releases: primer/react

v35.23.0

29 Mar 14:31
7a91f4d

Choose a tag to compare

Permalink to documentation

Minor Changes

  • #3068 09e11335 Thanks @mperrotti! - Adds text alignment option to columns

  • #3012 04d9db02 Thanks @radglob! - Adds tabIndex and role="region" to PageLayout.Pane when overflow is detected (scrollHeight > clientHeight). Also requires either aria-labelledby or aria-label when overflow is detected, and throws an error if neither is defined.

Patch Changes

v35.22.0

17 Mar 16:02
560135a

Choose a tag to compare

Permalink to documentation

Minor Changes

Patch Changes

  • #2996 baa63958 Thanks @mperrotti! - Implements column width features for the DataTable

  • #3036 51a2cc94 Thanks @colebemis! - PageLayout and SplitPageLayout are now SSR-compatible.

    Warning: In this new implementation, PageLayout.Header and PageLayout.Footer must be direct children of PageLayout. The same applies to SplitPageLayout

  • #3029 bb9f1561 Thanks @mperrotti! - Adds new a11y improvements to Pagination.

  • #2993 6aa9205e Thanks @mperrotti! - Makes StateLabel's 'status' prop required

  • #3009 cc4e2bc5 Thanks @iansan5653! - Recalculate autocomplete suggestions if the input data changes while the menu is open

  • #3010 022d449c Thanks @broccolinisoup! - SegmentedControl: Resolve axe-violation by adding a discernible text to the icon button and removing the tooltip until it is marked as accessible

v35.21.0

10 Mar 06:44
f0e0ec7

Choose a tag to compare

Permalink to documentation

Minor Changes

Patch Changes

v35.20.0

21 Feb 19:31
fbfe8f9

Choose a tag to compare

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

v35.19.0

30 Jan 10:32
98be95f

Choose a tag to compare

Permalink to documentation

Minor Changes

  • #2807 81447a10 Thanks @joshblack! - Add default type="button" for Button. This removes the implicit type="submit" for a <button> and requires an explicit type to change.

  • #2789 44f66cb9 Thanks @green6erry! - warn user if link as prop is not or

Patch Changes

v35.18.0

25 Jan 04:30
aee44bd

Choose a tag to compare

Permalink to documentation

Minor Changes

Patch Changes

v35.17.0

12 Jan 20:45
99e01d5

Choose a tag to compare

Permalink to documentation

Minor Changes

Patch Changes

v35.16.0

16 Dec 02:52
cf4a6e2

Choose a tag to compare

Permalink to documentation

Minor Changes

Patch Changes

v35.15.1

05 Dec 15:39
0cfdad8

Choose a tag to compare

Patch Changes

v35.15.0

30 Nov 23:05
6173b12

Choose a tag to compare

Minor Changes

Patch Changes