-
Notifications
You must be signed in to change notification settings - Fork 269
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
chore(deps): update @primer/react to v37 #1746
Open
renovate
wants to merge
1
commit into
main
Choose a base branch
from
renovate/primer-react-37.x
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
setchy
requested changes
Jan 20, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When bringing Primer React into your project you will need a bundler setup to be aware of how to handle CSS when imported from a JavaScript context.
afonsojramos
approved these changes
Feb 6, 2025
|
e637a16
to
5c548bd
Compare
d03e23d
to
0725eb4
Compare
b3620d6
to
015d1a4
Compare
80be4f2
to
5b506d1
Compare
3416e68
to
51da6e3
Compare
8aebef6
to
361b13c
Compare
73f6f35
to
9e8d5a9
Compare
4b12e24
to
7546834
Compare
7546834
to
cdae43a
Compare
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
36.27.0
->37.17.0
Release Notes
primer/react (@primer/react)
v37.17.0
Compare Source
Minor Changes
#5804
687343c
Thanks @jonrohan! - Remove CSS modules feature flag from the InlineMessage component#5786
0f165d4
Thanks @jonrohan! - Remove the CSS modules feature flag from the Timeline component#5793
4213a86
Thanks @jonrohan! - Remove the CSS modules feature flag from the Autocomplete component.#5741
d32dd27
Thanks @mperrotti! - AddshasBorder
prop to PageHeader to allow a bottom border#5810
2411aa9
Thanks @hussam-i-am! - ActionList.Group + ActionList.TrailingAction: add missing className propLabelGroup: add missing className prop
#5792
4e85438
Thanks @jonrohan! - Remove the CSS modules feature flag from the KeybindingHint Component.#5790
acc5d27
Thanks @hectahertz! - Add Notice to SelectPanel#5821
3a102a7
Thanks @jamieshark! - Adds util function to swap out SX enabled components.#5795
1555b1b
Thanks @jonrohan! - Remove the CSS modules feature flag from the ConfirmationDialog component#5787
9272a8c
Thanks @jonrohan! - Remove the CSS module feature flag from SkeletonAvatar SkeletonBox and SkeletonTextPatch Changes
#5811
91b52f7
Thanks @TylerJDev! - DialogV2: Fix CSS issue whereflex-grow
wasn't getting applied via classname#5436
11b8d4c
Thanks @TylerJDev! - ShowTooltip
on close button inDialog
#5832
b6c7690
Thanks @francinelucca! - chore(SelectPanel): put fullscreen functionality behind FF#5816
59e62c1
Thanks @langermank! - Bug fix:className
passed to PageLayout twice#5761
94bc6e4
Thanks @siddharthkp! - SelectPanel: Make SelectPanel full screen on narrow devices with a Save button#5797
fbc6f97
Thanks @broccolinisoup! - SubNav: Update selected styles to only apply todata-selected='true'
v37.16.0
Compare Source
Minor Changes
#5763
d3926d1
Thanks @hussam-i-am! - chore(Box): Mark Box and its props as deprecated#5772
0970415
Thanks @jonrohan! - Removing the CSS modules feature flag from the SubNav component.#5785
fbd7fc9
Thanks @jonrohan! - Remove CSS modules feature flag from VisuallyHidden#5760
8b492cf
Thanks @TylerJDev! - Radio: Removesaria-invalid
andaria-required
fromRadio
, as they are not supported on the element's role.#5759
76bf60d
Thanks @siddharthkp! - AnchoredOverlay: Add prop to set responsive variant. Example:variant: {regular: 'anchored', narrow: 'anchored'}
#5725
d3b48b1
Thanks @lukasoppermann! - Allow button count prop to accept a number or a string, to allow for human format, like 3.2kPatch Changes
#5768
7b2eb4e
Thanks @joshblack! - Update CSS Custom Property used in skeletons to fix animation behind feature flag.#5773
9e18567
Thanks @lukasoppermann! - Update icon color for Blankslate to--fgColor-muted
to align with Figma and Primer ViewComponents#5764
c63e805
Thanks @joshblack! - Update base component for Checkbox and Radio to pass along correct prop type in React 19#5765
86a6211
Thanks @joshblack! - Update ordering of selectors to improve rendering of checked Radio options#5649
63ca6f2
Thanks @joshblack! - Update BaseStyles to set data-color-mode to auto when colorMode in ThemeProvider is auto#5767
e0c34d0
Thanks @mperrotti! - Upgrades tab-container-elementv37.15.0
Compare Source
Minor Changes
#4686
6b137a4
Thanks @TylerJDev! - AddNavList.ShowMoreItem
component to support showing more content within aNavList
.#5726
2646c12
Thanks @smockle! - feat: SupportclassName
prop inFormControl.Caption
component#5716
d62a494
Thanks @hussam-i-am! - chore: Ensure class names conform to PascalCase#5666
7400549
Thanks @TylerJDev! - ActionBar: Improvesdisabled
state onActionBar.IconButton
; includesdisabled
state in overflow menu#5737
454ff20
Thanks @hussam-i-am! - fix(SplitPageLayout): add className propPatch Changes
#5738
a4137bc
Thanks @jamieshark! - Update FormControl to use CSS Modules GA feature flag.#5742
86cd9f0
Thanks @francinelucca! - fix: user red focus state for inputs when in error state#5705
2857a8e
Thanks @iansan5653! - FixAvatarStack
stackingz-index
bugs by creating a new stacking context around the component#5710
b1cdc63
Thanks @jonrohan! - Moving AvatarStack toprimer_react_css_modules_ga
feature flag#5710
b1cdc63
Thanks @jonrohan! - Moving PageLayout toprimer_react_css_modules_ga
feature flag#5710
b1cdc63
Thanks @jonrohan! - Moving Pagination toprimer_react_css_modules_ga
feature flag#5710
b1cdc63
Thanks @jonrohan! - Moving SegmentedControl toprimer_react_css_modules_ga
feature flag#5710
b1cdc63
Thanks @jonrohan! - Moving SelectPanel toprimer_react_css_modules_ga
feature flag#5710
b1cdc63
Thanks @jonrohan! - Moving SubNav toprimer_react_css_modules_ga
feature flag#5710
b1cdc63
Thanks @jonrohan! - Moving Token toprimer_react_css_modules_ga
feature flag#5710
b1cdc63
Thanks @jonrohan! - Moving Tooltip toprimer_react_css_modules_ga
feature flag#5710
b1cdc63
Thanks @jonrohan! - Moving BaseStyles toprimer_react_css_modules_ga
feature flag#5710
b1cdc63
Thanks @jonrohan! - Moving SideNav toprimer_react_css_modules_ga
feature flag#5710
b1cdc63
Thanks @jonrohan! - Moving ConfirmationDialog toprimer_react_css_modules_ga
feature flag#5710
b1cdc63
Thanks @jonrohan! - Moving DataTable toprimer_react_css_modules_ga
feature flag#5710
b1cdc63
Thanks @jonrohan! - Moving UnderlinePanels toprimer_react_css_modules_ga
feature flag#5710
b1cdc63
Thanks @jonrohan! - Moving InlineMessage toprimer_react_css_modules_ga
feature flag#5710
b1cdc63
Thanks @jonrohan! - Moving KeybindingHint toprimer_react_css_modules_ga
feature flag#5710
b1cdc63
Thanks @jonrohan! - Moving NavList toprimer_react_css_modules_ga
feature flag#5710
b1cdc63
Thanks @jonrohan! - Moving Overlay toprimer_react_css_modules_ga
feature flag#5710
b1cdc63
Thanks @jonrohan! - Moving PageHeader toprimer_react_css_modules_ga
feature flag#5710
b1cdc63
Thanks @jonrohan! - Moving Autocomplete toprimer_react_css_modules_ga
feature flag#5743
9d78410
Thanks @langermank! - MoveActionList
feature flag to GA#5733
7849c95
Thanks @francinelucca! - fix(TextInput): use cursor text on wrapper#5714
0cfafe8
Thanks @mperrotti! - Fixes AvatarStack styling bugs. Primarily, preventing avatars from appearing above overlays such as dialog modals.v37.14.0
Compare Source
Minor Changes
#5687
2bbc5a0
Thanks @TylerJDev! - Blankslate: Add support for button inBlankslate.PrimaryAction
#5510
37a91b5
Thanks @jonrohan! - Remove CSS modules feature flag from HeaderPatch Changes
#5712
22508b7
Thanks @jonrohan! - bugfix(SelectPanel): Set border-top-color on selectpanel footer#5686
64f183b
Thanks @jonrohan! - TheUnderlinePanels
component wasn't supporting passing inclassName
. Adding to the prop list#5661
1262f5a
Thanks @TylerJDev! - SubNav: Addsaria-current
to selected links#5562
947b59d
Thanks @francinelucca! - fix(SelectPanel): Correctly recalculate position on overflow#5655
56baa0a
Thanks @hectahertz! - Fix LinkButton types and storiesv37.13.0
Compare Source
Minor Changes
dbcb8f7
Thanks @khiga8! - feat: Introduce Tooltip to SegmentedControlIconButtonPatch Changes
#5636
c2165af
Thanks @ktravers! - Update useOpenAndCloseFocus hook to apply return focus when preventFocusOnOpen prop is given#5662
613cf0c
Thanks @kendallgassner! - Autocomplete: Use aria-live to announce "no selectable options".#5669
b2bc006
Thanks @jonrohan! - Move FormControl css modules feature flag from team to staff#5628
621c878
Thanks @hectahertz! - Update the Dialog stress test story to go fullscreen on narrow screens#5667
10436f5
Thanks @lukasoppermann! - Replaced raw values for duration and easing with primitives#4481
6e7da1e
Thanks @TylerJDev! - AllowsActionMenu
andSelectPanel
items to remain focusable whendisabled
#5683
8bb78e1
Thanks @jonrohan! - Remove the CSS modules feature flag from the Hidden componentv37.12.0
Compare Source
Permalink to documentation
Minor Changes
#5466
eb0857d
Thanks @jonrohan! - Remove CSS modules feature flag from Spinner#5492
469f703
Thanks @joshblack! - Update dependency range for React dependencies to include 19.x#5608
3a41430
Thanks @hussam-i-am! - feat(AvatarStack): add style prop#5139
59e0efa
Thanks @broccolinisoup! - [SelectPanel] Implement loading states#5174
cf80bf2
Thanks @TylerJDev! - TreeView: Addsaria-label
prop toTreeView.Subtree
Patch Changes
#5606
f291e81
Thanks @joshblack! - Update BaseStyles to no longer pass system props when feature flag is enabled#5595
2db6c92
Thanks @francinelucca! - fix(useResizeObserver): undefined variable alternative#5593
2b05aad
Thanks @camertron! - Fix experimental SelectPanel anchoring behavior#5657
de4fc48
Thanks @langermank! - Remove style from sx#5610
32b1f2f
Thanks @jonrohan! - Moving CSS component feature flag for Autocomplete fromteam
tostaff
#5610
32b1f2f
Thanks @jonrohan! - Moving CSS component feature flag for Overlay fromteam
tostaff
#5610
32b1f2f
Thanks @jonrohan! - Moving CSS component feature flag for PageHeader fromteam
tostaff
#5610
32b1f2f
Thanks @jonrohan! - Moving CSS component feature flag for PageLayout fromteam
tostaff
#5610
32b1f2f
Thanks @jonrohan! - Moving CSS component feature flag for Pagination fromteam
tostaff
#5610
32b1f2f
Thanks @jonrohan! - Moving CSS component feature flag for SegmentedControl fromteam
tostaff
#5610
32b1f2f
Thanks @jonrohan! - Moving CSS component feature flag for SelectPanel fromteam
tostaff
#5610
32b1f2f
Thanks @jonrohan! - Moving CSS component feature flag for SideNav fromteam
tostaff
#5610
32b1f2f
Thanks @jonrohan! - Moving CSS component feature flag for SubNav fromteam
tostaff
#5610
32b1f2f
Thanks @jonrohan! - Moving CSS component feature flag for Token fromteam
tostaff
#5610
32b1f2f
Thanks @jonrohan! - Moving CSS component feature flag for TooltipV2 fromteam
tostaff
#5610
32b1f2f
Thanks @jonrohan! - Moving CSS component feature flag for AvatarStack fromteam
tostaff
#5610
32b1f2f
Thanks @jonrohan! - Moving CSS component feature flag for UnderlinePanels fromteam
tostaff
#5610
32b1f2f
Thanks @jonrohan! - Moving CSS component feature flag for UnderlineTabbedInterface fromteam
tostaff
#5610
32b1f2f
Thanks @jonrohan! - Moving CSS component feature flag for BaseStyles fromteam
tostaff
#5610
32b1f2f
Thanks @jonrohan! - Moving CSS component feature flag for ConfirmationDialog fromteam
tostaff
#5610
32b1f2f
Thanks @jonrohan! - Moving CSS component feature flag for DataTable fromteam
tostaff
#5610
32b1f2f
Thanks @jonrohan! - Moving CSS component feature flag for Hidden fromteam
tostaff
#5610
32b1f2f
Thanks @jonrohan! - Moving CSS component feature flag for InlineMessage fromteam
tostaff
#5610
32b1f2f
Thanks @jonrohan! - Moving CSS component feature flag for KeybindingHint fromteam
tostaff
#5610
32b1f2f
Thanks @jonrohan! - Moving CSS component feature flag for NavList fromteam
tostaff
#5605
d14c48c
Thanks @francinelucca! - fix(Button): do not render main spinner if there is a count when loading#5590
d045ae4
Thanks @hectahertz! - Pagination: Optimize the page rendering algorithm and prevent layout shifts.v37.11.2
Compare Source
37.11.2
N/A, re-release of v37.11.1
v37.11.1
Compare Source
Patch Changes
a12ab59
Thanks @hussam-i-am! - fix(FormControl): fix spacing in vertical layouts"v37.11.0
Compare Source
Minor Changes
#5583
db6c360
Thanks @brphelps! - Banner now supports onDismiss used when using variant critical.#5578
88b8533
Thanks @hussam-i-am! - Update FormControl to use CSS Modules behind feature flag#5540
20788da
Thanks @langermank! - - Convert ActionBar to CSS Modules#5527
ccc3c99
Thanks @ddoyle2017! - Add an onSelect callback for UnderlinePanels.TabPatch Changes
#5568
42c20dd
Thanks @khiga8! - bug: ensure Announce components work without pre-existing text node#5591
12f1af7
Thanks @jonrohan! - Move Popover CSS modules feature flag from staff to ga#5591
12f1af7
Thanks @jonrohan! - Move Textarea CSS modules feature flag from staff to ga#5591
12f1af7
Thanks @jonrohan! - Move UnstyledTextInput CSS modules feature flag from staff to ga#5591
12f1af7
Thanks @jonrohan! - Move SelectPanel2 CSS modules feature flag from staff to ga#5551
c0360db
Thanks @camertron! - Fix an issue in useAnnouncements.tsx causing a TypeError in production. The activeItem variable may be null.#5591
12f1af7
Thanks @jonrohan! - Move Breadcrumbs CSS modules feature flag from staff to ga#5591
12f1af7
Thanks @jonrohan! - Move ProgressBar CSS modules feature flag from staff to ga#5552
c87e80c
Thanks @camertron! - Avoid accessing properties of potentially null document.body in PageLayout#5591
12f1af7
Thanks @jonrohan! - Move Dialog CSS modules feature flag from staff to ga#5591
12f1af7
Thanks @jonrohan! - Move Timeline CSS modules feature flag from staff to ga#5585
d76cd26
Thanks @langermank! - Promote ActionList to staff#5467
c7b109d
Thanks @langermank! - Addflex-shrink
to IconButton#5584
b661959
Thanks @joshblack! - Update specificity for ButtonBase to be at least 0,1,0#5567
8bdff77
Thanks @langermank! - Hide NavList sub items if collapsed#5591
12f1af7
Thanks @jonrohan! - Move DialogV1 CSS modules feature flag from staff to ga#5591
12f1af7
Thanks @jonrohan! - Move TreeView CSS modules feature flag from staff to ga#5549
16c572e
Thanks @francinelucca! - fix(SelectPanel): pass anchorId to AnchoredOverlay#5591
12f1af7
Thanks @jonrohan! - Move CheckboxOrRadioGroup CSS modules feature flag from staff to gav37.10.0
Compare Source
Minor Changes
#5457
b1e5699
Thanks @jonrohan! - Remove CSS modules feature flag from ButtonGroup#5458
b763ecd
Thanks @jonrohan! - Remove CSS modules feature flag from Details#5463
b55025c
Thanks @jonrohan! - Remove CSS modules feature flag from Radio#5462
8b8ec3c
Thanks @jonrohan! - Remove the CSS module feature flag from PageheadPatch Changes
e352e19
Thanks @hectahertz! - Pagination: Hides thePagination
Previous and Next buttons from the accessibility tree when they are disabled.v37.9.1
Compare Source
Permalink to documentation
37.9.1
Patch Changes
8c1cff4
Thanks @francinelucca! - fix(ActionList): remove className from menuItemProps to prevent duplicate className bugv37.9.0
Compare Source
Permalink to documentation
Minor Changes
#5448
00600f7
Thanks @mperrotti! - Corrects horizontal padding of<Button>
when the button only contains an icon and a counter label (no button text label).#5398
215d8e6
Thanks @langermank! - Convert ActionList, ActionList sub components and NavList to CSS Modules#5453
b07f806
Thanks @hussam-i-am! - Convert Autocomplete to CSS modules behind feature flag#5443
f03ae58
Thanks @jonrohan! - Deprecate use of sx prop by deprecating theSxProp
type definition#5484
efb1659
Thanks @hussam-i-am! - Fix responsive width of PageLayout#5456
e990fdb
Thanks @langermank! - chore(deps): update @primer/octicons-react to 19.13.0#5451
59a1346
Thanks @randall-krauskopf! - Convert Box usage in Autocomplete to CSS modules behind feature flag#5435
5cba52a
Thanks @joshblack! - Update Table to use CSS Modules behind feature flagPatch Changes
#5123
becad7d
Thanks @langermank! - Bug fix: ButtonGroup with Tooltip border-radius is incorrect#5382
83607df
Thanks @jonrohan! - Move Skeleton component css module feature flag to ga#5441
30e8c31
Thanks @joshblack! - test: add check for story ids in generated docs#5386
177eadc
Thanks @jonrohan! - Move Select component css module feature flag to ga#5388
e3856ba
Thanks @jonrohan! - Move TreeView component css module feature flag to staff#5384
eedbdbd
Thanks @jonrohan! - Move Stack component css module feature flag to ga#5444
8e481ca
Thanks @JelloBagel! - Fix Typography and Common props for BaseStyles when CSS modules feature flag is enabled#5387
e29c40c
Thanks @jonrohan! - Move Breadcrumbs component css module feature flag to ga#5380
fcc041d
Thanks @jonrohan! - Move Header component css module feature flag to ga#5476
578a33d
Thanks @TylerJDev! - ActionBar: Fixes issue whereActionBar
overflow menu would persist even if it was no longer needed; allows overflow menu to appear on initial render if there is no space for all items.v37.8.0
Compare Source
Permalink to documentation
Minor Changes
#5414
d44a4cf
Thanks @iansan5653! - AddonPrimary
variant
toKeybindingHint
#5310
13ce9a3
Thanks @francinelucca! - feat(Overlay): Convert Overlay to CSS modules behind team feature flag#5413
9f5a9ac
Thanks @JelloBagel! - Convert SideNav component to CSS Modules behind team feature flag#5403
877497c
Thanks @JelloBagel! - ConvertHidden
to CSS modules behind team feature flag#5357
161e3fd
Thanks @randall-krauskopf! - Convert UnderlinePanels to CSS modules behind feature flags#5331
e39dddb
Thanks @TylerJDev! - Convert ConfirmationDialog to CSS modules behind feature flagPatch Changes
#5419
73da985
Thanks @jonrohan! - bugfix(Stack): Fix typo in custom media variable used in Stack component#5415
67fc8f5
Thanks @randall-krauskopf! - Fix display bug forPageHeader
component title.#5378
5a8138a
Thanks @jonrohan! - Move Pagehead component css module feature flag to ga#5416
1dcc534
Thanks @langermank! - ActionList color bug fixes#5381
18692e5
Thanks @jonrohan! - Move BranchName component css module feature flag to ga#5350
4bcf78b
Thanks @francinelucca! - fix(TooltipV2): delay tooltip opening time by ms#5434
da7debd
Thanks @francinelucca! - Revert "refactor(FormControl): update to CSS Modules behind feature flag" & "refactor(Table): update to CSS Modules"#5428
d544f64
Thanks @joshblack! - Update Pagination CSS syntax to help with parsing downstream#5409
d48afbc
Thanks @langermank! - Fixborder-color
on ActionList Group header#5411
74d3de4
Thanks @langermank! - Removemin-width
on leading visuals in ActionList#5432
60a2f47
Thanks @langermank! - AddheadingWrapElement
prop toActionList.GroupHeading
to supportdiv
orli
elements for proper list markupv37.7.2
Compare Source
Permalink to documentation
37.7.2
Patch Changes
f2d188f
Thanks @TylerDixon! - Add className back to TokenBasev37.7.1
Compare Source
Permalink to documentation
37.7.1
Patch Changes
7d195fc
Thanks @jonrohan! - Revert changes to ButtonGroup componentv37.7.0
Compare Source
Permalink to documentation
Minor Changes
#5324
bd5f0d4
Thanks @hussam-i-am! - Convert SelectPanel to CSS modules behind feature flag#5336 [
59a6654
](https://github.com/primer/react/commit/59a6654b34430d4469eConfiguration
📅 Schedule: Branch creation - "* 0-3 * * 1" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.