Releases: primer/react
@primer/react@38.6.1
Patch Changes
- #7307
5dcc87cThanks @mattcosta7! - reapplies PageLayout resizable enhancements without INP drop from expensive selectors
@primer/react@38.6.0
Minor Changes
-
#7157
eddd934Thanks @joshblack! - Add feature flag to control whether Spinner animations are synchronized -
#7277
4a1c9a5Thanks @kendallgassner! - Added callback prop onActiveDescendantChanged to FilteredActionList
Patch Changes
- #7305
335e9e8Thanks @llastflowers! - Revert PR #7275
@primer/react@38.5.0
Minor Changes
-
#7240
79a6df1Thanks @TylerJDev! - FilteredActionList: Adds new propsetInitialFocuswhich will preventaria-activedescendantfrom being set until user action -
#7240
79a6df1Thanks @TylerJDev! - FilteredActionList: Add propdisableSelectOnHoverwhich will disable the ability where hovering over an item sets it as thearia-activedescendantvalue
Patch Changes
-
#7259
c32b964Thanks @TylerJDev! - AvatarStack: Border was incorrectly applying to elements that were notAvatarchildren. -
#7259
c32b964Thanks @TylerJDev! - AvatarStack: The square prop was not applying to individualAvatarcomponents. -
#7275
822c3e7Thanks @mattcosta7! - Improve drag performance for PageLayout -
#7242
32faa80Thanks @pksjce! - useFocusTrap - Fix bug related to restoring focus on scrolling
@primer/react@38.4.0
Minor Changes
-
#7258
8e66a2cThanks @kendallgassner! - Make MappedActionListItem a forwardRef component -
#7250
a193d30Thanks @siddharthkp! - Banner: Addflushprop for use within confined spaces, such as dialogs, tables, cards, or boxes where available space is limited. -
#7247
e1021e7Thanks @liuliu-dev! - Add leadingVisual to InlineMessage component. -
#7047
c07dd71Thanks @TylerJDev! - Remove the feature flag forprimer_react_segmented_control_tooltipand GA tooltip by default behavior.- Ensure that when
disabledis applied, the tooltip is still triggered.
- Ensure that when
Patch Changes
-
#7244
d973c5aThanks @lukasoppermann! - "Update logic for how hex codes are applied" -
#7230
534ca11Thanks @mperrotti! - Replaces 'aria-live' usage and removes internal LiveRegion component -
#7267
1d8759aThanks @lukasoppermann! - Used correct tokens for disabled radio control -
#7241
181f12eThanks @francinelucca! - fix(LabelGroup): add role and aria-label to hidden items overlay
@primer/react@38.3.0
Minor Changes
-
#7200
0a0c2a0Thanks @joshblack! - AddleadingVisualprop toUnderlineNav.Item -
#7197
9605a30Thanks @liuliu-dev! - Deprecateiconprop in favor ofleadingVisualand fix SecondaryAction styling in Banner. -
#7220
62fc3bbThanks @kendallgassner! - Expose props to allow virtualization in the SelectPanel -
#7177
feb7001Thanks @joshblack! - Add experimental TopicTag and TopicTag.Group components
Patch Changes
-
#6987
cd5ab1bThanks @kerimmoresh! - docs: Fix Typos in comments -
#7239
2735220Thanks @lukasoppermann! - Center align header and description for BlankSlate -
#7223
f9fb9ebThanks @liuliu-dev! - ActionBar: Add padding to Divider when gap="none". -
#7134
585c5faThanks @hectahertz! - SegmentedControl: Remove useResponsiveValue hook from fullWidth and variant props to usegetResponsiveAttributesinstead. -
#7211
46a7ebeThanks @langermank! - AdjustActionList.Itemdanger variant CSS to support trailing count/keybinding hint -
#7246
1667225Thanks @pksjce! - chore - Fix type compatibility with react 19 refs
@primer/react@38.2.0
Minor Changes
-
#7185
a05b1f9Thanks @lukasoppermann! - CounterLabel: Add variant prop and deprecate scheme prop -
#7165
f2ba02aThanks @liuliu-dev! - Fixes multiple styling issues in the Token component. -
#7194
32cdcfcThanks @francinelucca! - feat(NavList): add support for inline and block description -
#7143
25a5f99Thanks @langermank! - Adjust styling for button's that have nested keybinding hints -
#7196
70f5ffeThanks @TylerJDev! - FilteredActionList: RemoveusingRemoveActiveDescendantfeature flag, add private prop -
#7059
fd3d09eThanks @jonrohan! - feat(Spinner): Adds a delay prop to the Spinner component that delays rendering by 1000ms. -
#7149
5e6e04eThanks @lukasoppermann! - StateLabel: Add size prop and deprecate variant prop to align with APIs in other components. -
#7142
4f3be9cThanks @TylerJDev! - IconButton: Hide tooltip when a popup is open.
Patch Changes
-
#7102
07c9e55Thanks @mperrotti! - Makes Button and LinkButton 'link' variant respect user underline preference -
#7189
424cbc5Thanks @liuliu-dev! - Prevent focus reset on date/time input clicks in Safari. -
#7180
f051a39Thanks @copilot-swe-agent! - Feature flags: Remove feature flagprimer_react_use_styled_react_theming -
#7198
b1a8accThanks @copilot-swe-agent! - Popover: add missing shadow -
#7188
9403294Thanks @liuliu-dev! - Remove unusedunderlineprop from LinkButtonProps. -
#7192
b78167aThanks @TylerJDev! - SelectPanel: RemoveusingRemoveActiveDescendantusage from component
@primer/react@38.1.0
Minor Changes
-
#7065
9090053Thanks @TylerJDev! - ActionBar: AddActionBar.Menusubcomponent -
#7056
6ff2797Thanks @adierkens! - Update active indicators for ActionList & FilteredActionList to follow content height -
#7063
247c66aThanks @francinelucca! - Feat: popover implement click outside -
#7123
01b16dbThanks @adierkens! - Adds an experimentalTabsutility component & associated hooks -
#7109
34e7108Thanks @adierkens! - Add support to ActionList for 'tablist' and 'tab' roles -
#7112
7160709Thanks @hectahertz! - PageHeader: Remove useResponsiveValue hook from TitleArea variant propMigrates PageHeader.TitleArea's
variantprop to usegetResponsiveAttributesfollowing ADR-018 for SSR-safe responsive values. This prevents layout shift during hydration when using responsive variants.
Patch Changes
-
#7114
15a13c6Thanks @liuliu-dev! - ActionList: Fix trailing action button to take full height. -
#7124
a746a83Thanks @lukasoppermann! - Fixed Timeline.Break when followed by a condensed item and clip sidebar for condensed items. -
#7060
3468793Thanks @francinelucca! - @primer/react: chore(Dialog): allow direct children -
#7115
21cefb9Thanks @siddharthkp! - ActionBar: IconButton no longer adds it's owndata-testid -
#7061
e58e102Thanks @francinelucca! - PageLayout: update wrapper dimensions to match PageLayout's root element -
#7130
57ffdbcThanks @joshblack! - Update theAnchoredOverlaycomponent so that therefvalue is not overridden when spreading props -
#7097
12fad7aThanks @francinelucca! - chore: fix UnderlineWrapper html structure -
#7101
9382e52Thanks @hectahertz! - Remove use of useResponsiveValue hook - PageLayout -
#7128
4d0f08aThanks @liuliu-dev! - Link: Remove deprecated underline prop. (Not used in github-ui)
@primer/react@38.0.0
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
...
@primer/styled-react@1.0.0-rc.10
@primer/react@38.0.0-rc.9
Major Changes
- #7032
9fce541Thanks @francinelucca! - - remove sx, SxProp, exports- add type ThemeColorPaths, type ThemeShadowPaths
Minor Changes
- #7045
7595b8dThanks @langermank! - Add newBanneractionsLayoutprop to handle actions layout edge cases
Patch Changes
-
#7020
aaa2e1fThanks @hectahertz! - FixesDetailsflickering, prevents re-renders -
#7008
ca6d60dThanks @langermank! - Use primitives for Button line-height -
#7046
4ffe66dThanks @pksjce! - Fix: ActionMenu with overflow contains scrollbars within its rounded border -
#7030
52d6cf7Thanks @francinelucca! - fix(SelectPanel): remove hidden attribute from selection Radio -
#7048
f4a92f6Thanks @langermank! - Adjust Breadcrumb item focus outline