Releases: primer/react
@primer/[email protected]
Permalink to storybook
Major Changes
- #4992
d1d911aThanks @joshblack! - Move Octicon, Pagehead, Dialog (v1), and Tooltip (v1) to@primer/react/deprecated
Patch Changes
-
#5036
6671a20Thanks @langermank! - ActionList.Group: Fix styles for description -
#5033
0b83fe9Thanks @siddharthkp! - SelectPanel: Fix font weight from active styles for modern ActionList (behind feature flagprimer_react_select_panel_with_modern_action_list)
@primer/[email protected]
Permalink to storybook
Major Changes
-
#4784
b518005Thanks @joshblack! - Remove temporary folders for TypeScript resolution of sub-paths -
#4807
055c9a7Thanks @langermank! - Remove deprecatedButtoncomponent
Minor Changes
-
#4965
5426a9aThanks @joshblack! - Update CounterLabel to use CSS Modules behind feature flag -
#4956
15cb90fThanks @francinelucca! - fix(PageHeader): add role prop and aria-label in top-level element -
#4962
1977a68Thanks @joshblack! - Update Checkbox component to use CSS Modules behind feature flag -
#4976
f448b1bThanks @joshblack! - Add certain wildcard exports to named entry points -
#5007
c909285Thanks @lukasoppermann! - ProgressBar: Addbgprop toProgressBar.Item -
#4960
21c3fceThanks @joshblack! - Add support for experimental IssueLabel component -
#5002
9bd5c89Thanks @jonrohan! - chore(AvatarPair): Convert AvatarPair to CSS modules
Patch Changes
-
#5026
3302440Thanks @siddharthkp! - Banner: Fix alignment of secondary action without primary action -
#5018
8e4beaeThanks @jonrohan! - Remove the CSS modules feature flag fromHeading -
#5023
1691e46Thanks @jonrohan! - Move Button component feature flag from primer_react_css_modules_team to primer_react_css_modules_staff -
#5020
31f03fbThanks @jonrohan! - Move Text component feature flag from primer_react_css_modules_staff to primer_react_css_modules_ga -
#5001
597d285Thanks @jonrohan! - MigrateButtonGroupcomponent to use CSS modules behind theprimer_react_css_modules_teamfeature flag -
#5022
4395d16Thanks @jonrohan! - Move Label component feature flag from primer_react_css_modules_staff to primer_react_css_modules_ga -
#4969
0cd6151Thanks @TylerJDev! - Add initial loading state to live region announcement inTreeView -
#5024
45f3597Thanks @jonrohan! - Move Avatar component feature flag from primer_react_css_modules_team to primer_react_css_modules_staff -
#5011
7a5205dThanks @langermank! - Bug fix:Buttonaria-expanded state (CSS Modules)
@primer/[email protected]
Permalink to storybook
Major Changes
- #4953
04e8c9cThanks @iansan5653! - Delete deprecated draft componentsMarkdownEditor,MarkdownInput, andInlineAutocomplete
Minor Changes
- #4913
6c9121eThanks @joshblack! - Update Banner to use CSS Modules behind feature flag
Patch Changes
-
#5000
b8f6888Thanks @jonrohan! -Textcomponent CSS module feature flag changed toprimer_react_css_modules_staff -
#4975
0b89fc0Thanks @jonrohan! - Change the Link component feature flag from primer_react_css_modules_staff to primer_react_css_modules_ga -
#4981
c8fe1c6Thanks @jonrohan! - Removes the feature flag from theBlankslatecomponent to always render with CSS modules. -
#4986
d6471aaThanks @francinelucca! - fix(Dialog): track mousedown event to prevent accidental closing -
#4967
98d3d13Thanks @TylerJDev! - Utilizes[disabled]selector instead of:disabledinTooltipV2to address a false positive -
#4977
1adea12Thanks @siddharthkp! - SelectPanel: Addrole=comboboxto filter input (behind feature flagprimer_react_select_panel_with_modern_action_list) -
#4971
ff56b04Thanks @jonrohan! - Changed Heading feature flag fromprimer_react_css_modules_stafftoprimer_react_css_modules_ga -
#4989
dc80aa6Thanks @camertron! - Allow color to be customized for medium-sized IconButtons -
#4968
da0f48bThanks @siddharthkp! - SelectPanel: Add announcements for screen readers (behind feature flagprimer_react_select_panel_with_modern_action_list) -
#4970
44a3dc9Thanks @joshblack! - Update tab in UnderlinePanels to set explicit type -
#5000
b8f6888Thanks @jonrohan! -Labelcomponent CSS module feature flag changed toprimer_react_css_modules_staff -
#4995
8a1ee22Thanks @lukasoppermann! - ProgressBar: Adding default gap between sections for progressbars with more than one section -
#4966
c097e96Thanks @siddharthkp! - SelectPanel: Fix focus and selection styles for Windows high contrast themes (behind feature flagprimer_react_select_panel_with_modern_action_list) -
#4997
dc2d1f3Thanks @TylerJDev! - Popover: Add note on deprecation ofcaretin v38 -
#4987
b82286dThanks @langermank! - Bump stylelint + fixes
@primer/[email protected]
Permalink to storybook
Major Changes
-
#4785
b74c47fThanks @joshblack! - The drafts entrypoint has been removed from @primer/react. Use
@primer/react/experimental instead. -
#4940
4d3b504Thanks @langermank! - Refactor ButtonBase component to use CSS modules behine flag
Minor Changes
-
#4951
c9009deThanks @francinelucca! - fix(Pagination): Use anchor instead of button for disabled prev/next controls -
#4885
373ce95Thanks @jonrohan! - Refactor Avatar component to use CSS modules behind feature flag -
#4906
dbf82f4Thanks @siddharthkp! - SelectPanel: Support PageDown and PageUp for keyboard navigationSelectPanel: Label
listboxby the title of the panel
Patch Changes
-
#4910
c2e4d5eThanks @TylerJDev! - Changes the accessible name of the "toggle" button inLabelGroupto contain the visual label -
#4941
80fe025Thanks @langermank! - Bug fix: Button loading spinner color -
#4957
6874b89Thanks @langermank! - Add missingwideCSS + className to Stack -
#4648
c6931d2Thanks @siddharthkp! - ActionMenu: Make sure event handlers on ActionMenu.Button and ActionMenu.Anchor are called -
#4972
082b4e7Thanks @joshblack! - Update issue where FormControl.Caption was rendering incorrectly when CSS Modules flags were enabled -
#4794
5f996c6Thanks @broccolinisoup! - SelectPanel: Update SelectPanel to use modern ActionList behind a feature flagprimer_react_select_panel_with_modern_action_list -
#4954
af7f589Thanks @joshblack! - Banner: Update alignment of actions when it is dismissible and has a hidden title -
#4943
c282642Thanks @langermank! - Button bug fixes:invisiblevariant icon colors missing variables + icon button disabled state
@primer/[email protected]
Permalink to storybook
Minor Changes
-
#4893
1b098edThanks @jonrohan! - Refactor Label to use CSS modules behind the primer_react_css_modules_team feature flag -
#4884
46dc2f3Thanks @langermank! - Bumpprimer/primitivesv9 -
#4923
1dded73Thanks @jonrohan! - Move the Blankslate css modules feature flag to primer_react_css_modules_ga -
#4779
551aff3Thanks @TylerJDev! - Adds dependencies toDialogfocus trap to ensure focus trap is reset when content within changes -
#4874
4c69b38Thanks @jonrohan! - RefactorTextto CSS modules behind primer_react_css_modules_team feature flag
Patch Changes
-
#4916
7a24a01Thanks @jonrohan! - Moving Link CSS modules to staff feature flag -
#4911
9846375Thanks @TylerJDev! - Include current selected menu item in accessible name when using anaria-labelinSegmentedControl -
#4915
69922d1Thanks @jonrohan! - Move Heading component to staff feature flag -
#4891
ae00350Thanks @langermank! -StackItemresponsive grow bug fix -
#4928
caf4bcfThanks @langermank! - Bug fix:invisibleButton variant missing background color when disabled -
#4865
ce2c674Thanks @camertron! - UpdateLabelfont weight to match Rails component -
#4895
0208e9eThanks @langermank! - Bumpprimer/primitivesv9.0.3
@primer/[email protected]
Permalink to documentation
Patch Changes
-
#4870
3ca513c824fc50b49a88320ec98dd3f1a15d25b9Thanks @jonrohan! - Add:where()selector to classes that land on nodes that have asxprop. -
#4811
5ee8704ff5b85ec2b848dcfc10c3a8ae40a3a892Thanks @siddharthkp! - Octicon: Add aria-label to the Icon instead of it's container -
#4858
6c69bffb288caf8006cc3316afe86396d9987e49Thanks @jonrohan! - Refactor Link, Blankslate, Heading to use :where css -
#4866
587603bcd750e558f443b071deb3dac90d004a90Thanks @langermank! - AddclassNameto Blankslate -
#4831
0d7a02a062d19b8909124b0756a41bec6455a39eThanks @siddharthkp! - TextInput: Update trailing action styles for hover state
@primer/[email protected]
Permalink to documentation
Major Changes
-
#4783
7c57f40d55ba2f10c6255e5273d5ae8021a919e5Thanks @joshblack! - Remove the SSRProvider component and useSSRSafeId hook -
#4781
2d7307ae575e0a5e17e602bab860e538e2bc148aThanks @joshblack! - Remove the deprecated FilterList component from Primer React
Minor Changes
-
#4804
fd2c7052be423150648d30f4baca0857b0644318Thanks @joshblack! - Remove experimental TabPanels component in preference of UnderlinePanels -
#4819
0112347b23d1aebf9a5dfea5cb01591b700dd653Thanks @joshblack! - Update Heading component to use CSS Modules behind feature flag -
#4750
414c140cf86b37cd0104cdc8b027636a57cc0127Thanks @iansan5653! - AddKeybindingHintcomponent for indicating an available keyboard shortcut -
#4852
1cb1470d587087d9927abd2b2991c5068b79cdf4Thanks @joshblack! - Add support for sourcemaps for emitted CSS files
Patch Changes
-
#4795
ca6b4b1b6db2e867212689417503fcf3f29a7bceThanks @siddharthkp! - ActionList: Enable focusZone for roles listbox and menu -
#4828
1a674f7ad18eb51bfc3ea63ec53b14880ebfd25aThanks @jonrohan! - Refactor Link component to use CSS modules using the feature flagprimer_react_css_modules -
#4841
f3b08dfd20681b04c5812a5ff66ea65d0e090db9Thanks @TylerJDev! - Removearia-busyfromProgressBarcomponent -
#4857
16c31e6933d4f98db15baa880110fdf8aa2409e5Thanks @jonrohan! - fix(Blankslate): Don't use Box to render heading when flag is enabled -
#4855
873249a1e31d74e1d94399f495558ce9574f22c5Thanks @mattcosta7! - avoid useeffect when syncing theme config
@primer/[email protected]
Permalink to documentation
Minor Changes
-
#4834
7ce1fda3174b8f707c784a8ffdf576e6ffbfac9dThanks @langermank! - Addsizeandweightprops toText -
#4824
b85d5057d2576a4bad37469daeb8ef66d34091cdThanks @iansan5653! - Adds newclassNameprop toFormControlcomponent -
#4810
c0425ff7d0b9572f7551f114133fd0302980815fThanks @joshblack! - Update Blankslate component to use CSS Modules behind a feature flag -
#4838
7a3b55d1374217b3cd2a33f048c7d60929fca5b5Thanks @joshblack! - Add support for custom icons when a Banner is variant="upsell"
Patch Changes
-
#4806
84d1604ecf2c07b5584f7c5db2cd078c18847cbfThanks @langermank! - Addvariantprop to Heading for small, medium and large styles -
#4766
e74e5810590ea389a8594153a60b45e6b37f69b3Thanks @broccolinisoup! - chore(deps): Update eslint-plugin-primer-react to latest -
#4816
f9bc73c167f4453cfb7a0636e72d216c6bd0d039Thanks @siddharthkp! - FilteredActionList: exportFilteredActionListfrom '@primer/react/experimental'
@primer/[email protected]
Permalink to documentation
Major Changes
- #4800
482b4d6ab815350d5f5b71d686bf76cb3d234686Thanks @joshblack! - Update Primer React to emit _.css files that are imported by emitted _.js files for styling
Minor Changes
-
#4814
1cda89c2d92719e0fa85e3945a53bd5bd6b301deThanks @langermank! - Addlinkvariant to Button -
#4771
92e05f7c51d23778ead897f935f2cc14ed8ceff1Thanks @TylerJDev! - SetopenOnFocusdefault tofalse, making the menu closed initially rather than opening on focus of input -
#4798
0fa60a49177cf6bf60cdb5d4714d5e55708461f9Thanks @joshblack! - Add the deprecated Dialog, Octicon, Pagehead, TabNav, and Tooltip components to @primer/react/deprecated
Patch Changes
-
#4774
11e7aef33f124e84b4cf5c9e62c766834c6d1c31Thanks @langermank! - - Adjust checkbox and radio border color values for high contrast themes- Add default border to SegmentedControl
- Add inset box-shadow to StatusLabel to prep for new border-color in dark high contrast
-
#4666
04eac6280224d365f0496d927a87b32150006f9eThanks @TylerJDev! - ActionList: Addsaria-labelledbytoActionList.TrailingVisual, making it part of the accessible name ofActionList.Item -
#4768
b7c90ea44be4abfb00a451567115cda6d9bc864dThanks @siddharthkp! - Header: Add overflow when there are a lot of items -
#4803
527f9a9320c51b9b1a0884b388d5ff53af7c11b1Thanks @aprendendofelipe! - Bumps @github/relative-time-element to v4.4.2
@primer/[email protected]
Permalink to documentation
Minor Changes
-
#4485
991839cd2487a24e76f45b516acb974ea006e1c8Thanks @mperrotti! - Addloadingstate toButtonandIconButton -
#4725
6db8b2fba72ac934db1481adc4a6f067032b5936Thanks @broccolinisoup! - PageHeader: Promote the component to Beta status and now it is available to import from "@primer/react" -
#4719
801ca9653154490f664e55bbb357cd6cf6f198beThanks @joshblack! - Add experimental ScrollableRegion component and useOverflow hook
Patch Changes
-
#4770
8574027d887eeb202f3c902397d3f9750b0aeaa4Thanks @mperrotti! - Prevents inactive indicator icon/tooltip from appearing in ActionMenu items -
#4733
1c131f8ca56790ae516290a8a4199718ccff475bThanks @broccolinisoup! - TextInput: Refactor TextInputInnerAction to use the default icon button tooltip (No changes in the behaviour or DOM is expected) -
#4778
a9730c93f3d51b6d976fe598f8168e67d4649fb0Thanks @langermank! - Bug fix: ActionList divider disappears on selected items -
#4757
d4f23fbaf6ee251e142fddadfa69ab1bd6216ef5Thanks @siddharthkp! - experimental/SelectPanel v2: Fix heading color for dark themes -
#4741
a9fab9805e166a80585366f865ce50f0a727e660Thanks @Princeyadav05! - AnchoredOverlay: Add 'className' prop to the component -
#4738
453279368462c8e8581b65c56ba3d31a689009c3Thanks @broccolinisoup! - PageHeader: Fix shrinking Actions sub component in Safari -
#4772
3779dbf117793112945668fe2694cdc6715c2e32Thanks @TylerJDev! - (Behind feature flag) ActionList: Fix issue where triggering a keyboard event was possible when using theonSelectprop -
#4764
533f997922f2621e242ab3bbe1799939a3d5a6f0Thanks @siddharthkp! - StateLabel: Differentiate issue and pull request labels for screen readers -
#4710
7d086c73a980de333c55717717dd9e744196dd8eThanks @joshblack! - Update Blankslate styles to better support server-side rendering