Skip to content

Releases: primer/react

@primer/[email protected]

05 Nov 15:37
d6bf8b1
Compare
Choose a tag to compare

Minor Changes

  • #5168 b9749d4 Thanks @TylerJDev! - TreeView: Adds indication of no nodes in a tree item, allows for `aria-expanded even if the item is empty.

  • #5202 293c574 Thanks @hussam-i-am! - Update SubNav component to use CSS modules behind the feature flag primer_react_css_modules_team

Patch Changes

@primer/[email protected]

04 Nov 13:42
d25d58a
Compare
Choose a tag to compare

Permalink to storybook

Minor Changes

Patch Changes

@primer/[email protected]

21 Oct 16:20
fe0ea00
Compare
Choose a tag to compare

Patch Changes

@primer/[email protected]

21 Oct 15:17
e9607e7
Compare
Choose a tag to compare

Permalink to storybook

In this release, we're beginning a transition of Primer React from styled-components to CSS Modules. In addition, we promoted several components that have been improved for accessibility and removed components that have been deprecated.

For more information about this release, check out our discussion post. If you run into any issues when migrating, or have any questions or feedback, we'd love to hear from you in that discussion!

Major Changes

Minor Changes

Read more

@primer/[email protected]

17 Oct 00:02
32fcbbc
Compare
Choose a tag to compare
Pre-release

Minor Changes

Patch Changes

@primer/[email protected]

09 Oct 08:43
00ff2f8
Compare
Choose a tag to compare
Pre-release

Minor Changes

Patch Changes

  • #5059 682e787 Thanks @gwwar! - Fixes negative and invalid pages in data table pagination on re-render.

  • #5078 3b7bf41 Thanks @jonrohan! - Set the min-width of IconButton to unset to resolve layout issues.

  • #5062 0f5d5e0 Thanks @jonrohan! - Move CSS modules feature flag from staff to ga for Avatar component

  • #5082 212714c Thanks @langermank! - Add focus styles to Pagination component

  • #5077 6490b27 Thanks @jonrohan! - Bug fix(Avatar): Changed rounded border calculation for the "square" Avatar to better align with existing border styles

  • #5055 73135c1 Thanks @francinelucca! - fix(Banner): rewrite PrimaryAction & SecondaryAction types

  • #5068 5f7bd0b Thanks @jonrohan! - fix for toggleStyledComponent utility, When the feature flag is enabled and sx prop is passed in use, Box

  • #5091 4218bef Thanks @jonrohan! - Bug fix for IconButton to respect the style prop width when the feature flag is on.

  • #5073 472967a Thanks @siddharthkp! - SelectPanel: Fix items not being selected when defined within scope (track selection by item.id)

  • #5066 702ba5c Thanks @jonrohan! - Use the IconButton for the close button on Dialog

  • #5079 a2e5671 Thanks @jonrohan! - Correctly pass styled system typography and common props to the Box component in the Text component when the CSS modules feature flag is enabled.

@primer/[email protected]

03 Oct 14:13
b00874c
Compare
Choose a tag to compare
Pre-release

Permalink to storybook

Minor Changes

Patch Changes

@primer/[email protected]

01 Oct 11:33
ab2fb1f
Compare
Choose a tag to compare
Pre-release

Permalink to storybook

Major Changes

  • #4992 d1d911a Thanks @joshblack! - Move Octicon, Pagehead, Dialog (v1), and Tooltip (v1) to @primer/react/deprecated

Patch Changes

  • #5036 6671a20 Thanks @langermank! - ActionList.Group: Fix styles for description

  • #5033 0b83fe9 Thanks @siddharthkp! - SelectPanel: Fix font weight from active styles for modern ActionList (behind feature flag primer_react_select_panel_with_modern_action_list)

@primer/[email protected]

27 Sep 16:29
a58b1a4
Compare
Choose a tag to compare
Pre-release

Permalink to storybook

Major Changes

Minor Changes

Patch Changes

  • #5026 3302440 Thanks @siddharthkp! - Banner: Fix alignment of secondary action without primary action

  • #5018 8e4beae Thanks @jonrohan! - Remove the CSS modules feature flag from Heading

  • #5023 1691e46 Thanks @jonrohan! - Move Button component feature flag from primer_react_css_modules_team to primer_react_css_modules_staff

  • #5020 31f03fb Thanks @jonrohan! - Move Text component feature flag from primer_react_css_modules_staff to primer_react_css_modules_ga

  • #5001 597d285 Thanks @jonrohan! - Migrate ButtonGroup component to use CSS modules behind the primer_react_css_modules_team feature flag

  • #5022 4395d16 Thanks @jonrohan! - Move Label component feature flag from primer_react_css_modules_staff to primer_react_css_modules_ga

  • #4969 0cd6151 Thanks @TylerJDev! - Add initial loading state to live region announcement in TreeView

  • #5024 45f3597 Thanks @jonrohan! - Move Avatar component feature flag from primer_react_css_modules_team to primer_react_css_modules_staff

  • #5011 7a5205d Thanks @langermank! - Bug fix: Button aria-expanded state (CSS Modules)

@primer/[email protected]

23 Sep 15:13
a5d8785
Compare
Choose a tag to compare
Pre-release

Permalink to storybook

Major Changes

  • #4953 04e8c9c Thanks @iansan5653! - Delete deprecated draft components MarkdownEditor, MarkdownInput, and InlineAutocomplete

Minor Changes

Patch Changes

  • #5000 b8f6888 Thanks @jonrohan! - Text component CSS module feature flag changed to primer_react_css_modules_staff

  • #4975 0b89fc0 Thanks @jonrohan! - Change the Link component feature flag from primer_react_css_modules_staff to primer_react_css_modules_ga

  • #4981 c8fe1c6 Thanks @jonrohan! - Removes the feature flag from the Blankslate component to always render with CSS modules.

  • #4986 d6471aa Thanks @francinelucca! - fix(Dialog): track mousedown event to prevent accidental closing

  • #4967 98d3d13 Thanks @TylerJDev! - Utilizes [disabled] selector instead of :disabled in TooltipV2 to address a false positive

  • #4977 1adea12 Thanks @siddharthkp! - SelectPanel: Add role=combobox to filter input (behind feature flag primer_react_select_panel_with_modern_action_list)

  • #4971 ff56b04 Thanks @jonrohan! - Changed Heading feature flag from primer_react_css_modules_staff to primer_react_css_modules_ga

  • #4989 dc80aa6 Thanks @camertron! - Allow color to be customized for medium-sized IconButtons

  • #4968 da0f48b Thanks @siddharthkp! - SelectPanel: Add announcements for screen readers (behind feature flag primer_react_select_panel_with_modern_action_list)

  • #4970 44a3dc9 Thanks @joshblack! - Update tab in UnderlinePanels to set explicit type

  • #5000 b8f6888 Thanks @jonrohan! - Label component CSS module feature flag changed to primer_react_css_modules_staff

  • #4995 8a1ee22 Thanks @lukasoppermann! - ProgressBar: Adding default gap between sections for progressbars with more than one section

  • #4966 c097e96 Thanks @siddharthkp! - SelectPanel: Fix focus and selection styles for Windows high contrast themes (behind feature flag primer_react_select_panel_with_modern_action_list)

  • #4997 dc2d1f3 Thanks @TylerJDev! - Popover: Add note on deprecation of caret in v38

  • #4987 b82286d Thanks @langermank! - Bump stylelint + fixes