Releases: primer/react
@primer/[email protected]
Patch Changes
-
#6726
50c230f
Thanks @joshblack! - Refactor ToggleSwitch export type to match original type from @primer/react -
#6726
50c230f
Thanks @joshblack! - Remove several components that have no sx usage -
#6703
f87899b
Thanks @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/[email protected]
@primer/[email protected]
Major Changes
-
#6634
d883432
Thanks @TylerJDev! - CircleOcticon: Remove componentCircleOcticon
-
#6713
7d7b797
Thanks @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/deprecated
instead of@primer/react
. -
#6272
d74d73e
Thanks @llastflowers! - remove unusedcontrast
from Select component -
#6652
c6d923f
Thanks @llastflowers! - Update AvatarStack component to no longer support sx -
#6716
e177d55
Thanks @liuliu-dev! - Remove sx prop support from the SelectPanel component. -
#6737
2d01fc4
Thanks @liuliu-dev! - Remove sx prop support from the Select component. -
#6706
e3f26cc
Thanks @TylerJDev! - Deprecate CircleBadge component -
#6676
ab5ffb0
Thanks @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
45a52c1
Thanks @liuliu-dev! - Update SideNav component to no longer support sx. -
#6682
5bbaae7
Thanks @llastflowers! - Update LabelGroup component to no longer support sx -
#6680
5c30443
Thanks @llastflowers! - Update Details component to no longer support sx -
#6625
65ae375
Thanks @llastflowers! - Update BranchName component to no longer support sx
Minor Changes
-
#6726
50c230f
Thanks @joshblack! - Add ProgressBarItemProps and ProgressBarItemProps type exports to @primer/react -
#6726
50c230f
Thanks @joshblack! - Add ToggleSwitchProps type to package exports
Patch Changes
-
#6701
1aa7404
Thanks @pksjce! - Banner: Should prefer aria-labelled-by over aria-label -
#6715
6def61e
Thanks @liuliu-dev! - Remove sx from the SkeletonBox component. -
#6750
0077b96
Thanks @pksjce! - v38: Make sure Banner is exported from main and experimental -
#6751
c8f3879
Thanks @pksjce! - v38: Move pointerbox to deprecated still maintaining the main export
@primer/[email protected]
Minor Changes
-
#6627
6111046
Thanks @liuliu-dev! - Update ToggleSwitch component to no longer support sx, add sx wrapper to @primer/styled-react. -
#6612
7ad9b81
Thanks @joshblack! - Add all components from @primer/react as exports to package
Patch Changes
@primer/[email protected]
Major Changes
-
#6627
6111046
Thanks @liuliu-dev! - Update ToggleSwitch component to no longer support sx, add sx wrapper to @primer/styled-react. -
#6607
133d5a5
Thanks @jonrohan! - Remove sx prop support from the VisuallyHidden component -
#6622
247b3f7
Thanks @francinelucca! - BREAKING CHANGE: remove AvatarToken
BREAKING CHANGE: make Caret component internal only -
#6595
de5a4b7
Thanks @copilot-swe-agent! - Remove AvatarPair component from codebase -
#6656
3a778b9
Thanks @liuliu-dev! - Update StateLabel component to no longer support sx. -
#6610
65fc87d
Thanks @jonrohan! - Remove sx prop support from the Stack component -
#6613
3ab94c5
Thanks @llastflowers! - Update SplitPageLayout component to no longer support sx
@primer/[email protected]
@primer/[email protected]
Major Changes
Minor Changes
-
#6542
f4ded58
Thanks @TylerJDev! - CircleOcticon: Deprecate component -
#6535
e6c7614
Thanks @hussam-i-am! - fix(Label): Add missing ref for Label without sx prop -
#6468
1f531cb
Thanks @copilot-swe-agent! - Deprecate AvatarPair component - move to @primer/react/deprecated
Patch Changes
-
#6592
bdac258
Thanks @langermank! - Add support forloading
footer buttons in ConfirmationDialog -
#6509
3b3cf52
Thanks @joshblack! - Update layout for Banner to address extra spacing below description when no actions are included -
#6431
0c21301
Thanks @langermank! - Addborder
andbackground-color
tokens toProgressBar
CSS, which increases contrast for high contrast themes -
#6603
f781f7f
Thanks @langermank! - Only show focus outline forRadio
iffocus-visible
-
#6604
77a60e7
Thanks @joshblack! - Add @github/mini-throttle as dependency to project to help with bundle output -
#6478
77c8739
Thanks @llastflowers! - Update Select component to correctly pass className to TextInputWraper for styling purposes -
#6429
661eae0
Thanks @devinmcinnis! - Anchor elements render as interactive elements in TokenBase
@primer/[email protected]
Minor Changes
-
#6470
e53228c
Thanks @copilot-swe-agent! - Addsize
prop to ActionList.LinkItem component. Thesize
prop accepts'medium'
(default) or'large'
values and provides the same styling options as ActionList.Item for consistent sizing across ActionList components. -
#6265
829a933
Thanks @joshblack! - Update IssueLabel component types to support custom content throughchildren
and support theas
prop -
#6420
024b82a
Thanks @chanakyav! - Addsvariant
andshape
props toAvatarStack
component. Thevariant
prop 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. Theshape
prop will allow the avatars to be rendered as circles (by default) or squares. -
#4744
3c9e322
Thanks @TylerJDev! - Address additional ToggleSwitch a11y feedback -
#6182
9e49abd
Thanks @TylerJDev! - Textarea: AddsminHeight
andmaxHeight
as props
Patch Changes
-
#6330
fbdcac4
Thanks @francinelucca! - feat(SelectPanel): remove aria activedescendant and add a roving tab index -
#6365
ae4dd07
Thanks @langermank! - Addwidth: 100%
toPortal
@primer/[email protected]
Minor Changes
-
#6350
8731f43
Thanks @liuliu-dev! - Addsicon
andaction
props toSelectPanelMessage
to improve UX and accessibility. -
#6378
3f68aa7
Thanks @langermank! - Addsize
prop toActionList.Item
Patch Changes
-
#6339
3d19045
Thanks @francinelucca! - chore(FilteredActionList): remove modern action list FF -
#6349
b831e20
Thanks @langermank! - Alignfont
with PVC for Tooltip -
#6341
744102b
Thanks @ompharate! - Update TextInput TypeScript types to make shared props optional -
#6404
c6bda10
Thanks @hectahertz! - SelectPanel announces loading prop changes
@primer/[email protected]
Patch Changes
-
#6370
56e4638
Thanks @francinelucca! - chore: update typescript-plugin-css-modules to v5.2.0 -
#6373
95c23ac
Thanks @llastflowers! - update SelectPanel default empty state message to be more generic -
#6321
8cced18
Thanks @francinelucca! - fix(SelectPanel): prioritize message over loading status -
#6346
271630f
Thanks @TylerJDev! - SelectPanel: Ensure empty message live region reads from provided or default message -
#6323
c65abcb
Thanks @adierkens! - Add support for prefers-reduced-motion animations on TooltipV2 & Overlay -
#6331
86a7af6
Thanks @joshblack! - Update icon color in Blankslate to use --fgColor-muted -
#6329
14d6afd
Thanks @llastflowers! - Add new SelectPanelSelect all
feature -
#6374
ad76aa8
Thanks @francinelucca! - fix(SelectPanel): add loading state to stories -
#6327
61130b8
Thanks @liuliu-dev! - Fix SelectPanel close button alignment in narrow viewports. -
#6262
82e9237
Thanks @langermank! - Adjust ActionList label font-weight if a list has both items with descriptions AND without -
#6371
73ce4b4
Thanks @mattcosta7! - corrects peer dependencies around react-is and types
@primer/[email protected]
Minor Changes
-
#6260
8210573
Thanks @adierkens! - Stack.Item: add support forshrink
prop -
#6303
c77acc4
Thanks @pksjce! - Add height, width and overflow to Popover component -
#6273
0cb9a5d
Thanks @jonrohan! - chore(DataTable.Pagination): Convert DataTable.Pagination to CSS modules -
#6083
26232b3
Thanks @jonrohan! - Convert_VisuallyHidden
internal component to CSS modules
Patch Changes
-
#6311
db0b27a
Thanks @jonrohan! - chore: Migrate from toggleSxComponent to BoxWithFallback helper -
#6277
b384225
Thanks @liuliu-dev! - Fix Button styles while dragging inactive variants -
#6302
4c9aa4b
Thanks @llastflowers! - Change padding in TextInput before leading visual and after trailing visual from 12px to 8px. -
#5960
e88782a
Thanks @joshblack! - Advances remaining Skeleton components to 'alpha' status -
#6326
3b6d68a
Thanks @adierkens! - Fix alignment styles for Banner component with hidden titles -
#6314
a5a0afe
Thanks @liuliu-dev! - Add basic link styles to BaseStyles.