- Allow explicit
undefinedfor all optional types for compatibility with TypeScript'sexactOptionalPropertyTypesflag. - 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]
-
Added a
ScrollArea.Contentpart so consumers can own the wrapper element implicitly rendered byScrollArea.Viewport. PassdisableImplicitContentElementto the viewport and renderScrollArea.Contentas its child.<ScrollArea.Root> <ScrollArea.Viewport disableImplicitContentElement> <ScrollArea.Content>{children}</ScrollArea.Content> </ScrollArea.Viewport> <ScrollArea.Scrollbar> <ScrollArea.Thumb /> </ScrollArea.Scrollbar> </ScrollArea.Root>
In the next major release, the viewport will no longer render this element implicitly. We recommend migrating to this API now for a smoother upgrade.
-
Fixed a bug where
asChildonScrollArea.Viewportmerged props onto the implicit content element instead of the consumer's element. -
Updated dependencies:
@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]
- 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],@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]
- Fixed
--radix-scroll-area-corner-widthand--radix-scroll-area-corner-heightnot resetting to0when the corner is removed (eg. when one of the scrollbars is no longer visible). Previously these values would stick around and leave a permanent gap on the remaining scrollbar. - Updated dependencies:
@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]
- Stabilized the viewport style tag unless the nonce changes.
- Fixed
Duplicate index signatureerrors that surfaced when consuming multiple packages together. - Updated dependencies:
@radix-ui/[email protected]
- Fixed missing
data-stateattribute for Scroll Area scrollbars - 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]
- Updated dependencies:
@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]
- Updated dependencies:
@radix-ui/[email protected]
- Updated dependencies:
@radix-ui/[email protected]
- Updated dependencies:
@radix-ui/[email protected]
- Updated dependencies:
@radix-ui/[email protected]