Skip to content

Releases: primer/react

v35.30.0

20 Sep 06:16
4bcc98e
Compare
Choose a tag to compare

Permalink to documentation

Minor Changes

  • #3714 88340269 Thanks @iansan5653! - Add support for controlling which side ActionMenu renders on (via a side prop on ActionMenu.Overlay)

  • #3715 1f889281 Thanks @joshblack! - Add support for leadingVisual and trailingVisual props to Button

  • #3739 b90e5476 Thanks @joshblack! - Add the Column type and createColumnHelper function to easily define columns for DataTable

  • #3719 500e529d Thanks @joshblack! - The UnderlineNav, FilterList, and FilteredSearch components will be deprecated in v36 and have been moved to the deprecated entrypoint. To use the new UnderlineNav, migrate to the component available in drafts.

  • #3732 8928acc3 Thanks @joshblack! - Add default type="button" to IconButton component

Patch Changes

v35.29.0

06 Sep 18:07
6ce0ba5
Compare
Choose a tag to compare

Permalink to documentation

Minor Changes

  • #3692 4046e058 Thanks @broccolinisoup! - Octicons: Upgrade react-octicons to v19.7.0

  • #3647 e480a4a4 Thanks @paxos! - Adds onSelectSuggestion callback to InlineAutocomplete

  • #3607 c0e22fc1 Thanks @langermank! - Update ActionList checkbox styles to form checkbox styles (impacts ActionMenu and SelectPanel)

  • #3632 3a8b841c Thanks @iansan5653! - Allow consumers to make components that are compatible with FormControl by reading forwarded props in from the useFormControlForwardedProps hook

Patch Changes

  • #3675 ade10e64 Thanks @radglob! - PageLayout.Content no longer renders as main by default. Instead, developers may add a main landmark within Pagelayout.Content themselves.

  • #3709 edc0168e Thanks @mperrotti! - Fixes a bug where children of AvatarStack would still show a transition when the component re-renders with a different number of children. Fixes #3688

  • #3698 d759fd32 Thanks @gracepark! - Adds the defaultOpen prop to NavList.Item

  • #3662 2ca670a8 Thanks @joshblack! - Update type exports to prevent missing export warnings

  • #3654 556d826a Thanks @langermank! - Use control CSS var with fallback for form component border-color

  • #3689 5d992715 Thanks @jdrush89! - Fix dialog bug where escape would move focus when dialog was closed

v35.28.0

21 Aug 03:32
a0e846a
Compare
Choose a tag to compare

Permalink to documentation

Minor Changes

  • #3563 3bb6dc8c Thanks @radglob! - Add option to specify custom widths for PageLayout.Pane via the width prop.

Patch Changes

v35.27.1

04 Aug 16:58
e87c723
Compare
Choose a tag to compare

Permalink to documentation

Patch Changes

  • #3589 d598a53b Thanks @siddharthkp! - - PageLayout: Undo deprecation of position prop for PageLayout.Pane (Revert #3389)

    • SplitPageLayout: Undo deprecation of position prop for SplitPageLayout.Pane (Revert #3389)

v35.27.0

02 Aug 09:43
2a8190a
Compare
Choose a tag to compare

Permalink to documentation

Minor Changes

  • #3510 bdbcfd15 Thanks @camertron! - Implement accessibility audit feedback for ToggleSwitch

  • #3466 11b54ac8 Thanks @mperrotti! - Allows consumers to disable the behavior where the AvatarStack expands to show each Avatar on hover. There are also changes that allow users to customize the size of the avatars - even responsively!

  • #3390 b4e15b84 Thanks @mperrotti! - The showPages prop on both Pagination components can now accept a responsive value.

  • #3496 11cdbdcc Thanks @joshblack! - Update dependency ranges to use caret ranges instead of pinned versions

Patch Changes

v35.26.1

06 Jul 18:48
7f5a792
Compare
Choose a tag to compare

Permalink to documentation

Patch Changes

v35.26.0

16 Jun 08:13
84993e7
Compare
Choose a tag to compare

Permalink to documentation

Minor Changes

Patch Changes

v35.25.1

24 Apr 14:47
0039d7b
Compare
Choose a tag to compare

Patch Changes

Permalink to documentation

  • #3174 d4c6ae5b Thanks @colebemis! - MarkdownEditor is now SSR-compatible.

    Warning: In this new implementation, MarkdownEditor.Toolbar, MarkdownEditor.Actions, and MarkdownEditor.Label must be direct children of MarkdownEditor.

  • #3209 a6279536 Thanks @langermank! - Remove --primer prefix from CSS var

  • #3173 6b900e90 Thanks @colebemis! - ActionList and NavList are now SSR-compatible.

    Warning: In this new implementation, ActionList.LeadingVisual, ActionList.TrailingVisual, and ActionList.Description must be direct children of ActionList. The same applies to NavList.

  • #3198 a273748b Thanks @langermank! - Bug fix: ButtonGroup borders show incorrectly on hover

v35.25.0

19 Apr 23:19
14c00e7
Compare
Choose a tag to compare

Permalink to documentation

Minor Changes

Patch Changes

  • #3124 5b3cf499 Thanks @mattcosta7! - replace createRef with useRef

  • #3149 4c2d121f Thanks @colebemis! - FormControl is now SSR-compatible.

    Warning: In this new implementation, FormControl.Caption, FormControl.Label, FormControl.LeadingVisual, and FormControl.Validation must be direct children of FormControl.

  • #3114 f5c7f299 Thanks @radglob! - Adds the option to declare multiple segments in a ProgressBar.

  • #3127 5224fcbf Thanks @siddharthkp! - Suppress SSR warning for useLayoutEffect in NavList, use useIsomorphicLayoutEffect instead of useLayoutEffect

  • #3165 d749f495 Thanks @broccolinisoup! - UnderlineNav2: Add transparent outline for focus to support WHCM

  • #3120 9e40fdf4 Thanks @simurai! - Bump @primer/primitives to 7.11.5

  • #3093 8b5307da Thanks @simurai! - Bump @primer/primitives to 7.11.3

  • #3097 a38c00e6 Thanks @colebemis! - TreeView is now SSR-compatible.

    Warning: In this new implementation, TreeView.LeadingVisual and TreeView.TrailingView must be direct children of TreeView.Item.

  • #3170 1f2df9b7 Thanks @lukasoppermann! - When an inline description is added to the item the normal text is set to bold

  • #3160 4b05b19e Thanks @joshblack! - Update PageLayout.Pane to provide a warning instead of an error when overflow is detected and no label has been provided

  • #3094 16cae51a Thanks @mperrotti! - Fixes styling issue where PointerBox would show a border between the caret and the box if the background color was transparent.

  • #3112 bd4e1393 Thanks @langermank! - Adds shadow and color change to IssueLabelToken on hover

  • #3146 a19b721c Thanks @colebemis! - CheckboxGroup and RadioGroup are now SSR-compatible.

    Warning: In this new implementation, CheckboxGroup.Caption, CheckboxGroup.Label, and CheckboxGroup.Validation must be direct children of CheckboxGroup. The same applies to RadioGroup.

v35.24.0

31 Mar 02:15
d88b14f
Compare
Choose a tag to compare

Permalink to documentation

Minor Changes

  • #3071 681e2271 Thanks @mperrotti! - Adds a helper component for rendering placeholder text to explain why a DataTable cell has no content.

  • #3089 4a6a9f73 Thanks @mperrotti! - Adds the ability to exclose indentation for flat tree views.

  • #3011 f8132d8e Thanks @edersonlucas! - Add the tooltipDirection property to the TextInput.Action component to make the tooltip position flexible.

Patch Changes