Releases: primer/react
@primer/react@38.0.0-rc.4
Major Changes
-
#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
Minor Changes
-
#6456
fbd3ac7Thanks @TylerJDev! - TreeView: Add trailing actions propsecondaryActions -
#6855
356a129Thanks @cheshire137! - Add buttonLabelOn and buttonLabelOff to ToggleSwitch
Patch Changes
-
#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
@primer/styled-react@1.0.0-rc.3
@primer/react@38.0.0-rc.3
Major Changes
-
#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.
Minor Changes
-
#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
Patch Changes
-
#6669
627cc4bThanks @francinelucca! - chore: use Banner instead of custom implementation for SelectPanel notice -
#6664
2910207Thanks @pksjce! - Breadcrumbs : Add overflow menu for responsive behavior -
#6846
37ce4aaThanks @mperrotti! - Addssxprop back to TextInput
@primer/styled-react@1.0.0-rc.2
Patch Changes
-
#6726
50c230fThanks @joshblack! - Refactor ToggleSwitch export type to match original type from @primer/react -
#6726
50c230fThanks @joshblack! - Remove several components that have no sx usage -
#6703
f87899bThanks @siddharthkp! - Export theming utilities from styled-react -
Updated dependencies [
d883432,7d7b797,d74d73e,c6d923f,50c230f,1aa7404,e177d55,6def61e,0077b96,2d01fc4,50c230f,e3f26cc,ab5ffb0,45a52c1,5bbaae7,5c30443,65ae375,c8f3879]:- @primer/react@38.0.0-rc.2
@primer/react@38.0.0-rc.2
Major Changes
-
#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
Minor Changes
-
#6726
50c230fThanks @joshblack! - Add ProgressBarItemProps and ProgressBarItemProps type exports to @primer/react -
#6726
50c230fThanks @joshblack! - Add ToggleSwitchProps type to package exports
Patch Changes
-
#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
@primer/styled-react@1.0.0-rc.1
Minor Changes
-
#6627
6111046Thanks @liuliu-dev! - Update ToggleSwitch component to no longer support sx, add sx wrapper to @primer/styled-react. -
#6612
7ad9b81Thanks @joshblack! - Add all components from @primer/react as exports to package
Patch Changes
@primer/react@38.0.0-rc.1
Major Changes
-
#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 AvatarToken
BREAKING 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
@primer/styled-react@1.0.0-rc.0
@primer/react@38.0.0-rc.0
Major Changes
Minor Changes
-
#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/deprecated
Patch Changes
-
#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 TokenBase
@primer/react@37.31.0
Minor Changes
-
#6470
e53228cThanks @copilot-swe-agent! - Addsizeprop to ActionList.LinkItem component. Thesizeprop accepts'medium'(default) or'large'values and provides the same styling options as ActionList.Item for consistent sizing across ActionList components. -
#6265
829a933Thanks @joshblack! - Update IssueLabel component types to support custom content throughchildrenand support theasprop -
#6420
024b82aThanks @chanakyav! - Addsvariantandshapeprops toAvatarStackcomponent. Thevariantprop will allow the component to render in a cascade view (by default) or a new stacked view which will evenly space the avatars and remove opacity. Theshapeprop will allow the avatars to be rendered as circles (by default) or squares. -
#4744
3c9e322Thanks @TylerJDev! - Address additional ToggleSwitch a11y feedback -
#6182
9e49abdThanks @TylerJDev! - Textarea: AddsminHeightandmaxHeightas props
Patch Changes
-
#6330
fbdcac4Thanks @francinelucca! - feat(SelectPanel): remove aria activedescendant and add a roving tab index -
#6365
ae4dd07Thanks @langermank! - Addwidth: 100%toPortal