Releases: primer/react
@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
@primer/react@37.30.0
Minor Changes
-
#6350
8731f43Thanks @liuliu-dev! - Addsiconandactionprops toSelectPanelMessageto improve UX and accessibility. -
#6378
3f68aa7Thanks @langermank! - Addsizeprop toActionList.Item
Patch Changes
-
#6339
3d19045Thanks @francinelucca! - chore(FilteredActionList): remove modern action list FF -
#6349
b831e20Thanks @langermank! - Alignfontwith PVC for Tooltip -
#6341
744102bThanks @ompharate! - Update TextInput TypeScript types to make shared props optional -
#6404
c6bda10Thanks @hectahertz! - SelectPanel announces loading prop changes
@primer/react@37.29.1
Patch Changes
-
#6370
56e4638Thanks @francinelucca! - chore: update typescript-plugin-css-modules to v5.2.0 -
#6373
95c23acThanks @llastflowers! - update SelectPanel default empty state message to be more generic -
#6321
8cced18Thanks @francinelucca! - fix(SelectPanel): prioritize message over loading status -
#6346
271630fThanks @TylerJDev! - SelectPanel: Ensure empty message live region reads from provided or default message -
#6323
c65abcbThanks @adierkens! - Add support for prefers-reduced-motion animations on TooltipV2 & Overlay -
#6331
86a7af6Thanks @joshblack! - Update icon color in Blankslate to use --fgColor-muted -
#6329
14d6afdThanks @llastflowers! - Add new SelectPanelSelect allfeature -
#6374
ad76aa8Thanks @francinelucca! - fix(SelectPanel): add loading state to stories -
#6327
61130b8Thanks @liuliu-dev! - Fix SelectPanel close button alignment in narrow viewports. -
#6262
82e9237Thanks @langermank! - Adjust ActionList label font-weight if a list has both items with descriptions AND without -
#6371
73ce4b4Thanks @mattcosta7! - corrects peer dependencies around react-is and types
@primer/react@37.29.0
Minor Changes
-
#6260
8210573Thanks @adierkens! - Stack.Item: add support forshrinkprop -
#6303
c77acc4Thanks @pksjce! - Add height, width and overflow to Popover component -
#6273
0cb9a5dThanks @jonrohan! - chore(DataTable.Pagination): Convert DataTable.Pagination to CSS modules -
#6083
26232b3Thanks @jonrohan! - Convert_VisuallyHiddeninternal component to CSS modules
Patch Changes
-
#6311
db0b27aThanks @jonrohan! - chore: Migrate from toggleSxComponent to BoxWithFallback helper -
#6277
b384225Thanks @liuliu-dev! - Fix Button styles while dragging inactive variants -
#6302
4c9aa4bThanks @llastflowers! - Change padding in TextInput before leading visual and after trailing visual from 12px to 8px. -
#5960
e88782aThanks @joshblack! - Advances remaining Skeleton components to 'alpha' status -
#6326
3b6d68aThanks @adierkens! - Fix alignment styles for Banner component with hidden titles -
#6314
a5a0afeThanks @liuliu-dev! - Add basic link styles to BaseStyles.
@primer/react@37.28.1
Patch Changes
@primer/react@37.28.0
Minor Changes
-
#6239
ccd5babThanks @liuliu-dev! - Add loading support to ActionList.TrailingAction component. -
#6211
c99d42eThanks @joshblack! - Add partial support for React Compiler to components -
#6257
2fe33bfThanks @joshblack! - Update Truncate to use CSS Modules -
#6176
507da36Thanks @jonrohan! - Migrate the TabNav component to use CSS modules
Patch Changes
-
#6256
0318b4bThanks @langermank! - Fix PageHeader context barfont-weight -
#6223
4d85c34Thanks @liuliu-dev! - Fix ActionList.Description title attribute for non-string children with truncate -
#6266
ac5a9c1Thanks @jonrohan! - Bug fix: Fixing issue where page shifts when Dialog is open -
#6270
b2a44c3Thanks @langermank! - Add CSS variable tocontrastTextInput -
#6267
196fbf5Thanks @lukasoppermann! - Fixed position of leadingVisual -
#6295
12468d8Thanks @francinelucca! - chore(FormControl): remove sx props -
#6259
ad6a52cThanks @TylerJDev! - SelectPanel: Adds focus indicator to disabled items -
#6284
ff6bf5cThanks @pksjce! - Fix the disappearance of overflow property in the Overlay component -
#6275
c50d530Thanks @langermank! - Setcoloron SegmentedControl icons -
#6177
5e1ed83Thanks @langermank! - Add gap between ActionList label andtrailingVisual -
#6278
29facaeThanks @jonrohan! - chore: Refactor components to use BoxWithFallback instead of custom Box if statements and remove defaultSxProp references -
#6225
669c338Thanks @KirankumarAmbati! - fix: remove min height calc logic for SelectPanel -
#6235
5446544Thanks @liuliu-dev! - Prevent ActionList crash when selected prop is true without selectionVariant.
@primer/react@37.27.0
Minor Changes
-
#6116
4cca0e9Thanks @TylerJDev! - ActionList: Add new propdisableFocusZoneto disable the default focus zone provided -
#6090
7bbdcabThanks @jonrohan! - Remove the CSS modules feature flag from the ActionList and related components -
#6183
a5f7928Thanks @TylerJDev! - SelectPanel: Addalignprop toSelectPanelwhich determines the alignment of the panel relative to the anchor -
#6169
15f942dThanks @hussam-i-am! - fix(ProgressBar): pass-through style props
Patch Changes
-
#6190
613a362Thanks @llastflowers! - fix Banner spacing / vertical alignment issue -
#6170
e4f0fc6Thanks @llastflowers! - Update SelectPanel so that content isn't hidden behind mobile keyboard -
#5829
72ae1e2Thanks @maraisr! - feat(UnderlineNav): Now supports variant 'inset' and 'flush' that allow for contextual horizontally aligned spacing -
#6108
df60cb0Thanks @francinelucca! - chore(ActionMenu): Add fullscreen sample story and variant prop -
#6210
a8b871bThanks @kelsey-myers! - Adds notice announcements to SelectPanel -
#6200
2317ca8Thanks @owenniblock! - Fixes issue with Tooltip description id overriding existing description ids
@primer/react@37.26.0
Minor Changes
- #6138
3325ad6Thanks @copilot-swe-agent! - Add disableFullscreenOnNarrow prop to SelectPanel for opt-out of fullscreen behavior
Patch Changes
-
#6113
96c4b48Thanks @llastflowers! - add new line of CSS to separate underline from hover event -
#6146
6588cf2Thanks @TylerJDev! - ActionList: Ensuresaria-describedbyis applied toActionList.Itemwhen description is present -
#6111
33b6bf1Thanks @francinelucca! - fix(Stack): correctly forward a Ref -
#6139
091165fThanks @francinelucca! - fix(SelectPanel): update input fontSize to 16 on small viewports on iOS -
#6124
ad5e73bThanks @joshblack! - Update Select to correctly merge classes when className is provided -
#5897
6df6cbfThanks @mperrotti! - Updates Dialog to only show border between body and footer when the body scrolls. -
#6129
1a15bacThanks @copilot-swe-agent! - UnderlineNav.Item accepts className prop without overriding existing styling -
#6125
91b3c71Thanks @francinelucca! - fix(DataTable): fix incorrect page numbers rendered bug
@primer/react@37.25.0
Minor Changes
-
#6107
694dd95Thanks @copilot-swe-agent! - feat(ConfirmationDialog): add className, width and height -
#5899
7cf029dThanks @joshblack! - Add support for different sizes to Blankslate -
#6051
a007808Thanks @jonrohan! - Remove the css modules feature flag from the SelectPanel2 experimental component -
#6052
06361d1Thanks @jonrohan! - Remove the CSS module feature flag from the AvatarStack component -
#5899
7cf029dThanks @joshblack! - Add support for HTML attributes being passed to Blankslate components -
#6050
53ef8eaThanks @hectahertz! - Switch to a CSS based solution for the PageLayout sticky pane
Patch Changes
-
#6109
f7471f8Thanks @TylerJDev! - DataTable: Add visually hidden text to sortable DataTable column buttons -
#6055
3b6b1d1Thanks @TylerJDev! - DataTable: Adds outline-offset to focus indicator on pagination buttons -
#6077
cf97cb5Thanks @langermank! - FixSkeletonbackground color -
#6054
3fc7741Thanks @khiga8! - Add support for aria-label on ActionList.Group -
#6095
3beba5bThanks @francinelucca! - fix(Button): correct loading alignment -
#6049
776e05eThanks @TylerJDev! - ActionList: Ensurerole="option"is added whenrole="listbox"is used; allow disabled items to remain focusable -
#6100
a7e99f8Thanks @jonrohan! - Remove unused getBreakpointDeclarations function and any related code.