- Fixed a type regression where callback props that were previously declared as methods rejected handlers whose parameter is narrower than the prop's.
- 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.
- Updated dependencies:
@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]
- 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]
- Updated dependencies:
@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]
- 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. - Fixed a bug where updating a
Checkbox,Switch, orRadioGroupvalue programmatically (eg. a "select all" control) while inside a<form>would dispatch aclickevent from the hidden bubble input that propagated to ancestoronClickhandlers. - 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]
- 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. - Updated dependencies:
@radix-ui/[email protected],@radix-ui/[email protected]
- Updated dependencies:
@radix-ui/[email protected]
- Updated dependencies:
@radix-ui/[email protected]
- Added unstable
Provider,TriggerandBubbleInputparts to Switch. These expose the previously internal composition (context provider, the interactive control, and the hidden form input) so consumers can directly access and recompose them. TheSwitchcomponent continues to render them by default. - 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]
- Updated dependencies:
@radix-ui/[email protected],@radix-ui/[email protected],@radix-ui/[email protected]
- Replace deprecated 'ElementRef' with 'ComponentRef' (#3426)
- Updated dependencies:
@radix-ui/[email protected]
- Updated dependencies:
@radix-ui/[email protected]
- Updated dependencies:
@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]