- Fixed a type regression where callback props that were previously declared as methods rejected handlers whose parameter is narrower than the prop's.
- Updated dependencies:
@radix-ui/[email protected],@radix-ui/[email protected]
- Allow explicit
undefinedfor all optional types for compatibility with TypeScript'sexactOptionalPropertyTypesflag. - Fixed bugs in form-nested control components where a user-driven change was treated as programmatic in some cases, preventing bubbled event handlers from being called.
- Fixed content alignment when all items are disabled.
- Fixed a bug where updating a
Selectvalue programmatically while inside a<form>would dispatch aclickevent from the hidden bubble select that propagated to ancestoronClickhandlers. - Fixed a bug resulting from incorrect tree-shaking in SWC-minified code.
- Updated dependencies:
@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected]
- Fixed a bug where internal event handlers were still called on disabled
Select.Itemelements. Consumer-provided event handlers still run, but Radix's own selection logic no longer fires for disabled items. - Updated dependencies:
@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected]
- Reverted breaking changes that caused compatibility issues with React Server Components.
- Updated dependencies:
@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected]
- Updated dependencies:
@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected]
- Republish through CI to attach provenance attestations. The previous versions of these packages were published manually outside of CI and therefore shipped without provenance; this patch re-releases the same code through the CI pipeline so every package includes an attestation.
- Updated dependencies:
@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected]
- Improved tree-shaking so bundlers can drop unused components. Component parts are now marked
/* @__PURE__ */and use named render functions instead ofComponent.displayName = ...assignments, which previously prevented dead-code elimination with some bundlers. - Updated dependencies:
@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected]
- Fixed a bug in form control components to ensure their values are updated when their associated form's is reset. This affects
RadioGroup,Slider,Select, andSwitch. - Fixed menu items, tab triggers, toolbar links, and select items intercepting
Space/Enterkeys that originate from focusable descendants. - Updated dependencies:
@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected]
- Fixed infinite re-render loop in React 19 caused by unstable composed ref callback references.
- Updated dependencies:
@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected]
- Allowed a
Select.Itemwith an empty string value to act as a "clear" option. Selecting it resets the selection back to the placeholder, restoring the native<select>behavior for optional selects. - Fixed a bug where typeahead search resulted in focusing an element that no longer exists.
- Updated dependencies:
@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected]
- Added unstable
ProviderandBubbleInputparts to Select.Select.unstable_Providersets up Select's context and state without implicitly rendering the hidden nativeselect, andSelect.unstable_BubbleInputexposes that previously internal nativeselectso consumers can recompose it explicitly.Selectcontinues to render both by default. - Added support for presence-based exit animations in Select
- Fixed Select hidden input so it submits empty string when no value is selected
- Fixed placeholder rendering when a controlled Select is reset to an empty value
- Added missing
__selectScopeprop toPopperContentcomponent - Fixed
Selectclosing unexpectedly after touch-scrolling its content when rendered inside an open shadow DOM - Fixed a bug where iOS text selection and editing on HTML inputs within
react-dialogwere broken - Fixed triggers referencing a non-existent element via
aria-controlswhen their content is removed from the DOM (credit to @dodomorandi for the original PR) - Fixed
SelectValuelogging invalid prop errors when used with bothasChildand a placeholder - Added repository.directory to all package.json files
- Updated dependencies:
@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected]
- Updated dependencies:
@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected]
- Replace deprecated 'ElementRef' with 'ComponentRef' (#3426)
- Updated dependencies:
@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected]
- Updated dependencies:
@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected]
- Updated dependencies:
@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected]
- Updated dependencies:
@radix-ui/[email protected]
- Updated dependencies:
@radix-ui/[email protected]
- All form controls with internal bubble inputs now use the Radix
Primitivecomponent by default. This will allow us to expose these components directly so users can better control this behavior in the future. - Minor improvements to
useControllableStateto enhance performance, reduce surface area for bugs, and log warnings when misused (#3455) - Updated dependencies:
@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected]