chore(deps): update @primer/react to v38 #2324
Open
+16
−185
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:
37.31.0->38.0.0Release Notes
primer/react (@primer/react)
v38.0.0Compare Source
Major Changes
#6944
446956dThanks @liuliu-dev! - Remove sx from deprecated ActionList component.#6965
f61238cThanks @francinelucca! - Chore/remove styled. components: deprecated UnderlineNav, ValidationAnimation, LabelGroup, Tooltip#6921
c58f171Thanks @llastflowers! - Update ActionList component and related components to no longer support sx/styled-components#6902
c395547Thanks @iansan5653! - Support nested children in ActionBar.#6930
260c74cThanks @mperrotti! - Removessxprop from DataTable.Container#6942
3ced917Thanks @francinelucca! - Removes sx prop from PageLayout and subcomponents#6951
2703bc9Thanks @francinelucca! - Update FormControl component to no longer support sx#7027
415fafcThanks @francinelucca! - Remove styled-components and styled-system from dependencies#7032
9fce541Thanks @francinelucca! - - remove sx, SxProp, exports#6897
c1448ccThanks @siddharthkp! - ReplacesuseThemeusage withtheme. If an application uses a custom theme that modifies one of the following 5 tokens, they will be reset to the default theme values. (space.2, colors.success.fg, colors.border.default, colors.border.muted, animation.easeOutCubic)#7015
0889246Thanks @francinelucca! - @primer/react: chore: remove Box, BoxProps export#6945
1c84c0fThanks @francinelucca! - chore(Octicon): remove sx#6904
62df166Thanks @pksjce! - Remove sx property from Button#6874
15824dbThanks @pksjce! - Remove sx from UnderlinePanels#6690
c5c2053Thanks @liuliu-dev! - Remove sx support from the Token component.#6673
19befd6Thanks @llastflowers! - Update CircleBadge component to no longer support sx#6868
2053cb3Thanks @mperrotti! - Removes Box usage and sx prop from NavList and ActionList#6631
86b3e60Thanks @joshblack! - Remove the sx prop from Label#6865
eaf7e58Thanks @francinelucca! - chore: remove sx from Overlay#6825
4196e0eThanks @mperrotti! - RemovesBoxcomponent usage andsxprop from theLinkcomponent, Storybook stories, and a .figma.tsx file#6864
b0abd78Thanks @jonrohan! - Remove support forsxfrom theTabNavcomponent#6923
e5753f0Thanks @francinelucca! - chore: remove sx from deprecated Dialog#6729
7ae5db2Thanks @liuliu-dev! - Update Text component to no longer support sx.#6667
d122122Thanks @liuliu-dev! - Update Tooltip component to no longer support sx.#6611
15c1eb7Thanks @joshblack! - Update Avatar component to no longer support sx, add sx wrapper to @primer/styled-react#6844
1f9f582Thanks @TylerJDev! - UpdateBreadcrumbsto no longer support sx#6812
0834e9eThanks @joshblack! - Remove support forsxfrom the Dialog component and sub-components#6928
2eeff36Thanks @mperrotti! - Removessxprop from VisuallyHidden component, and as a result also removessxprop from CheckboxGroup.Label and RadioGroup.Label#6860
628e601Thanks @joshblack! - Remove support forsxfrom theHeadingcomponent#6805
0f075d1Thanks @mperrotti! - Removes usage of Box component from other components.#6857
b9b558eThanks @pksjce! - Remove PointerBox from @primer-react#6708
b7b8a36Thanks @liuliu-dev! - Remove sx prop support from the Spinner component.#6833
5ad1e93Thanks @joshblack! - Remove sx support from Radio#6841
3e02e2cThanks @joshblack! - Remove support forsxfromdeprecated/Pagehead#6692
bb8d648Thanks @liuliu-dev! - Remove sx Props and BoxWithFallBack from Timeline component.#6668
acb6233Thanks @liuliu-dev! - Update UnderlineNav component to no longer support sx and remove Box usage from it.#6835
961c1c4Thanks @joshblack! - Remove support forsxfromButtonGroup#6834
fa70b5eThanks @joshblack! - Remove thesxprop fromFlash#6876
2102252Thanks @llastflowers! - Update FilteredActionList and FilteredActionListLoaders components to no longer support sx#6840
aba8050Thanks @joshblack! - Remove support forsxprop fromdeprecated/FilteredSearch#6685
00261c9Thanks @liuliu-dev! - Remove the sx prop from RadioGroup and Truncate.#6878
7081dd3Thanks @llastflowers! - Update BaseStyles component to no longer support sx#6679
6158135Thanks @llastflowers! - Update CounterLabel component to no longer support sx#6827
6843040Thanks @joshblack! - Remove support for the sx prop from RelativeTime#6813
a1a4ad0Thanks @joshblack! - Remove support forsxprop forInlineMessage#6866
3237a4eThanks @francinelucca! - chore(LinkButton): remove sx from LinkButton#6655
092185fThanks @llastflowers! - Update CheckboxGroup component to no longer support sx#6654
513cc3fThanks @llastflowers! - Update Checkbox component to no longer support sx#6837
134f96eThanks @TylerJDev! - Update ProgressBar to no longer support sx#6839
32febacThanks @joshblack! - Remove support forsxfromHeader#6871
44b3d73Thanks @joshblack! - Remove support forsxfromPageHeader#6863
9614c0eThanks @pksjce! - Remove Banner from experimental#6754
4d080aaThanks @TylerJDev! - Update Popover to no longer support sx#6666
71382dcThanks @mperrotti! - Removes styled-system usage from TextInputWrapper and related components and Storybook stories.#6425
e23d965Thanks @joshblack! - Update @primer/react to only export ESM bundles#6806
9d13904Thanks @joshblack! - Remove thesxprop fromAnnounce,AriaAlert, andAriaStatus#6741
4896ef1Thanks @liuliu-dev! - Remove sx prop support from the SegmentedControl component.#6634
d883432Thanks @TylerJDev! - CircleOcticon: Remove componentCircleOcticon#6713
7d7b797Thanks @copilot-swe-agent! - Deprecate TextInputWithTokens component. The component has been moved to the deprecated entrypoint due to low usage and accessibility implications. Import from@primer/react/deprecatedinstead of@primer/react.#6272
d74d73eThanks @llastflowers! - remove unusedcontrastfrom Select component#6652
c6d923fThanks @llastflowers! - Update AvatarStack component to no longer support sx#6716
e177d55Thanks @liuliu-dev! - Remove sx prop support from the SelectPanel component.#6737
2d01fc4Thanks @liuliu-dev! - Remove sx prop support from the Select component.#6706
e3f26ccThanks @TylerJDev! - Deprecate CircleBadge component#6676
ab5ffb0Thanks @mperrotti! - Removes styled-system and related utilities from Caret.tsx, IssueLabelToken.tsx, StateLabel.tsx, ToggleSwitch.tsx, and deprecated/ActionList/List.tsxRemoves WidthProps from ProgressBar.tsx
#6735
45a52c1Thanks @liuliu-dev! - Update SideNav component to no longer support sx.#6682
5bbaae7Thanks @llastflowers! - Update LabelGroup component to no longer support sx#6680
5c30443Thanks @llastflowers! - Update Details component to no longer support sx#6625
65ae375Thanks @llastflowers! - Update BranchName component to no longer support sx#6627
6111046Thanks @liuliu-dev! - Update ToggleSwitch component to no longer support sx, add sx wrapper to @primer/styled-react.#6607
133d5a5Thanks @jonrohan! - Remove sx prop support from the VisuallyHidden component#6622
247b3f7Thanks @francinelucca! - BREAKING CHANGE: remove AvatarTokenBREAKING CHANGE: make Caret component internal only
#6595
de5a4b7Thanks @copilot-swe-agent! - Remove AvatarPair component from codebase#6656
3a778b9Thanks @liuliu-dev! - Update StateLabel component to no longer support sx.#6610
65fc87dThanks @jonrohan! - Remove sx prop support from the Stack component#6613
3ab94c5Thanks @llastflowers! - Update SplitPageLayout component to no longer support sx#6602
d6d25dcThanks @jonrohan! - Remove sx support from SubNav componentMinor Changes
#6979
8b2632bThanks @TylerJDev! - ActionBar: AddsActionBar.Groupsub component#7066
c32f726Thanks @adierkens! - Exports useAnchoredPosition utility#7045
7595b8dThanks @langermank! - Add newBanneractionsLayoutprop to handle actions layout edge cases#7033
4c4c4cdThanks @liuliu-dev! - DeprecateleadingIconin favor ofleadingVisualforSegmentedControl.Button.#6976
2ec5bf2Thanks @francinelucca! - feat: support custom slots#6919
32e12c6Thanks @TylerJDev! - TreeView: AddcountandclassNamesupport for trailing actions#6889
9201d93Thanks @broccolinisoup! - Tooltip: Add delay functionality to tooltips with the options ofinstant(default),medium,long#6937
09ee0eaThanks @francinelucca! - chore: add styles to formcontrol and subcomponents#6456
fbd3ac7Thanks @TylerJDev! - TreeView: Add trailing actions propsecondaryActions#6855
356a129Thanks @cheshire137! - Add buttonLabelOn and buttonLabelOff to ToggleSwitch#6815
2024709Thanks @francinelucca! - chore: add PortalContext#6709
78784b3Thanks @pksjce! - Remove overflow property from popover (It has no usage)#6721
d6378c2Thanks @cheshire137! - Add count to SegmentedControlButton#6843
f082c77Thanks @camchenry! - Allow changing initially focused button in ConfirmationDialog#6726
50c230fThanks @joshblack! - Add ProgressBarItemProps and ProgressBarItemProps type exports to @primer/react#6726
50c230fThanks @joshblack! - Add ToggleSwitchProps type to package exports#6542
f4ded58Thanks @TylerJDev! - CircleOcticon: Deprecate component#6535
e6c7614Thanks @hussam-i-am! - fix(Label): Add missing ref for Label without sx prop#6468
1f531cbThanks @copilot-swe-agent! - Deprecate AvatarPair component - move to @primer/react/deprecatedPatch Changes
#6994
701a9d0Thanks @francinelucca! - chore: prevent slot rewrite on CheckboxOrRadioGroup subcomponents#6984
a3765c2Thanks @mperrotti! - Fixes vertical alignment of prev/next pagination chevrons#7014
a108ab9Thanks @francinelucca! - chore: remove useTheme from IssueLabel#7020
aaa2e1fThanks @hectahertz! - FixesDetailsflickering, prevents re-renders#6981
3099210Thanks @mperrotti! - Removes unwanted box-shadow on buttons with 'inactive' prop passed.#7008
ca6d60dThanks @langermank! - Use primitives for Button line-height#6877
860ac93Thanks @mperrotti! - InActionBar,aria-labelnow gets added to therole="toolbar"element.#7017
2fd6c82Thanks @langermank! - update token close button sizing#7000
34e7fa8Thanks @pksjce! - Add gap prop to ActionBar for customizable spacing between items#6959
76f1ca3Thanks @francinelucca! - chore(AvatarStack, CheckboxOrRadioGroup, UnstyledTextInput): cleanup remaining sx props#6973
a3f7ea9Thanks @jonrohan! - fix(AnchoredOverlay): Omit aria-label and aria-labelledby from renderAnchor props#7046
4ffe66dThanks @pksjce! - Fix: ActionMenu with overflow contains scrollbars within its rounded border#6996
173f76dThanks @francinelucca! - chore: add missing slot checks to CheckboxOrRadioGroup, SelectPanel, ActionMenu, Treeview, SegmentedControl and PageHeader#6954
7dd483fThanks @langermank! - Adjust ConfirmationDialog heading styling#7007
96968a2Thanks @mperrotti! - Corrects bg color of disabled indeterminate checkbox#7019
4308179Thanks @francinelucca! - add missing isSlot checks#6982
3c32e7eThanks @mperrotti! - Uses correct bg color for disabled ToggleSwitch knob#6935
8641c7aThanks @JelloBagel! - Fix overflow calculations of more menu button in action bar#6925
ecc81b5Thanks @francinelucca! - chore(TextInput): remove sx#7030
52d6cf7Thanks @francinelucca! - fix(SelectPanel): remove hidden attribute from selection Radio#6958
3032026Thanks @siddharthkp! - @primer/react: ExportuseIdanduseSyncedState#6980
4b84948Thanks @TylerJDev! - ActionBar: Suppliesaria-labelto toolbar inside ofActionBar#7048
f4a92f6Thanks @langermank! - Adjust Breadcrumb item focus outline4378ee8Thanks @langermank! - Add missing CSS forKeybindingHint#6900
e3e601cThanks @francinelucca! - fix(SelectPanel): do not bubble up keyboard events#6673
19befd6Thanks @llastflowers! - Remove support forsxfromCircleBadgecomponent#6908
af288e6Thanks @llastflowers! - update FormControl ValidationIcon position#6931
d5c5ecfThanks @francinelucca! - use UnderlinePanels.Tab, UnderlinePanels.Panel from @primer/react#6905
1cb348fThanks @lukasoppermann! - Replace StateLabel color with new draft token#6927
913739dThanks @lukasoppermann! - Link: Adjust text-decoration-offset#6829
b568765Thanks @francinelucca! - chore: fix ActionBar gap issue#6879
c8fc6b8Thanks @francinelucca! - chore(FilteredActionList): fix className override#6896
5c29b01Thanks @liuliu-dev! - Fix typing issues in PageHeader exports.#6881
8d52362Thanks @langermank! - Implement forced colors for progress bar#6854
dd8eeedThanks @pksjce! - Breadcrumbs: Fix esc button not being able to focus on the menubuttonRef#6669
627cc4bThanks @francinelucca! - chore: use Banner instead of custom implementation for SelectPanel notice#6664
2910207Thanks @pksjce! - Breadcrumbs : Add overflow menu for responsive behavior#6664
2910207Thanks @pksjce! - Breadcrumb overflow styling#6846
37ce4aaThanks @mperrotti! - Addssxprop back to TextInput#6701
1aa7404Thanks @pksjce! - Banner: Should prefer aria-labelled-by over aria-label#6715
6def61eThanks @liuliu-dev! - Remove sx from the SkeletonBox component.#6750
0077b96Thanks @pksjce! - v38: Make sure Banner is exported from main and experimental#6751
c8f3879Thanks @pksjce! - v38: Move pointerbox to deprecated still maintaining the main export#6592
bdac258Thanks @langermank! - Add support forloadingfooter buttons in ConfirmationDialog#6509
3b3cf52Thanks @joshblack! - Update layout for Banner to address extra spacing below description when no actions are included#6431
0c21301Thanks @langermank! - Addborderandbackground-colortokens toProgressBarCSS, which increases contrast for high contrast themes#6603
f781f7fThanks @langermank! - Only show focus outline forRadioiffocus-visible#6604
77a60e7Thanks @joshblack! - Add @github/mini-throttle as dependency to project to help with bundle output#6478
77c8739Thanks @llastflowers! - Update Select component to correctly pass className to TextInputWraper for styling purposes#6429
661eae0Thanks @devinmcinnis! - Anchor elements render as interactive elements in TokenBaseConfiguration
📅 Schedule: Branch creation - Between 12:00 AM and 03:59 AM, only on Monday ( * 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.