Repository navigation
Releases
Radix Themes v3.4.0
Summary
-
Update build and lint toolchain dependencies to versions with fixes for known security advisories.
-
Restore release checks on clean Next.js checkouts and supported Linux runners, and update the macOS visual baseline for the corrected Inset clipping.
-
Fix
Popover.Trigger(and otherasChildtriggers) failing to open when the triggerAvatarhas nosrcand renders only its fallback. Injected interaction props now stay on the persistent root element (#605). -
Fix right-aligned and RTL
TextFieldvalues sitting flush against the border by insetting the inline-end edge (#435). -
Fix
ScrollAreaignoring arbitrary margin values (for examplem="100px"). It now uses the same custom properties as every other component, so responsive margin values also apply per breakpoint. -
Fix the
smbreakpoint of themxmargin utility reading themdcustom properties, which dropped thesmvalue and reset the margin to zero. -
Stop mutating the responsive prop objects passed to components. Frozen objects no longer throw and shared objects are no longer modified.
-
Keep the
classicvariant's border and drop shadow when aTextFieldis invalid; the red ring is now layered on top of them instead of replacing them. -
Fix
ThemePanel's "Copy Theme" button throwing and getting stuck when the Clipboard API is unavailable (for example on a non-secure origin). -
Fix the
DropdownMenucheckbox item and submenu trigger emitting the wrong component-specific class names. -
Use longhand offsets for the
ThemePanelswatch inputs so they keep working on browsers withoutinsetsupport. -
Fix the release smoke test so the published tarball is verified against every supported React version (16.14, 17.0, 18.3 and 19.2).
-
Preserve custom dialog content elements when using
Dialog.Content asChild, including with the built-in close button. UsecloseButtonLabelto give the button a localized accessible name. -
Improve Select placeholder and item text contrast in dark themes to satisfy WCAG AA.
-
Apply themed scrollbars and accent-colored text selection in supported browsers.
-
Upgrade the internal
radix-uiprimitives dependency to 1.8.1. This fixesSelectform integration: the hidden native select now renders an empty option forvalue="", so required validation works and submitted form entries no longer contain stale values (#234, #610, #558) -
Fix
Inset'sclip="border-box"andclip="padding-box"calculations being swapped, which made the default inset stop 1px short of the card edge (#812) -
Invert the appearance of
Tooltipcontent so accent-colored components stay readable (#418, #440, #476) -
Support the
disabledprop onSegmentedControl.Item(#489) -
Add
DataList.Separator(#533) -
Add
autoResizeprop toTextArea(#570) -
Render a red ring on
TextFieldinputs marked invalid viaaria-invalidor:user-invalid(#586) -
Add a responsive
orderlayout prop for flex and grid children (#436) -
Add an optional built-in close button to
Dialog.Contentvia thecloseButtonprop (#630) -
Support 20 items, RTL direction and vertical orientation in
SegmentedControl(#730, #720, #729) -
Stop pointer events on disabled
Selecttriggers so aSelectinside a disabledfieldsetcannot be opened (#746) -
Darken
Callouttext slightly so it meets WCAG AA contrast on tinted backgrounds for every accent color (#694) -
Match native
textareatypes forTextArea'svalue/defaultValueprops (#564) -
Exclude
"auto"from theresolvedGrayColortype (#639) -
Support common semantic HTML tags in
Box'sasprop (#587) -
Add
Table.Footercomponent (#524) -
Fix lingering global
transition: nonestyle after changing appearance viaThemePanel(#615) -
Apply disabled styles to
Button-based components inside disabledfieldsets and block interaction whendisabledis slotted onto non-button elements (#745, #796) -
Stop styling read-only
TextFieldinputs as disabled (#764) -
Stop forwarding
typeto the visualCheckboxbutton so spreading input props no longer submits the form (#711) -
Add missing negative utility classes for
inset,top,right,bottomandleftlayout props (#690, #735) -
Add
aroundandevenlyvalues toFlex'sjustifyprop (#664) -
Allow React 16.9+ via the
^16.8peer dependency range (#555) -
Fix misaligned values in
TextFieldinputs of type date/time on Firefox (#527) -
Stop accepting
checkedonRadioGroup.ItemandRadioCards.Item, where it overrode the state derived from the root'svalueprop (#451) -
Forward the
dirprop onScrollAreato the underlying root (#628) -
Add
disabledprop toTooltip(#719) -
Use
border-collapse: separateonTablesoposition: stickyworks on headers (#767) -
Declare types for CSS side-effect imports, fixing
noUncheckedSideEffectImportsunder TypeScript 7 (#801) -
Expand the prop type for
Select'splaceholderprop to accept anyReactNode(#693) -
Add
ghost-offsetvariant toButton,IconButtonandSelectTriggercomponents (#546) -
Fix broken loading state for
ButtonandIconButtoncomponents usingasChild(#752) -
Fix incorrect Firefox vendor prefix for
:placeholder-shownpseudo-element (#783, postcss/autoprefixer#1532) -
Improve responsiveness and consistency of styling in
ThemePanel -
Fix nested
Containercomponents not respecting thesizeprop (#593)