metaTitle | metaDescription |
---|---|
Releases |
Radix Primitives releases and their changelogs. |
Radix Primitives releases and their changelogs.
- Added a
radix-ui
package that exposes the latest version of all Radix Primitives from a single place. This tree-shakable entrypoint makes it easier to bring in whatever components you need and keep them up-to-date without worrying about conflicting or duplicate dependencies. - Updated
aria-hidden
andreact-remove-scroll
dependencies for the following components:- Alert Dialog
- Context Menu
- Dialog
- Dropdown Menu
- Hover Card
- Menubar
- Navigation Menu
- Popover
- Select
- Toast
- Tooltip
- Fix
allowPinchZoom
bug for trackpad users
- Check for
referrerPolicy
when checking the image loading status
- Fix a bug where
defaultChecked
unexpectedly changed for uncontrolled checkboxes - Forward the
form
prop to the bubble input element to fix non-parent form submissions
- Fix
allowPinchZoom
bug for trackpad users
- Forward the
form
prop to the bubble input element to fix non-parent form submissions
- Fix
asChild
prop not working as expected on theViewport
- Update internal styles to fix other issues with
Viewport
- Fix error thrown when items are initially undefined
- Fix several bugs for touch devices
- Forward the
form
prop to the bubble input element to fix non-parent form submissions - Fix position bug where popover may start off-screen for long items
- Forward the root
form
prop to each thumb's bubble input element to fix non-parent form submissions
- Forward the
form
prop to the bubble input element to fix non-parent form submissions
- Fix incorrect focus when
hotkey
is an empty array
- Export
CheckedState
type
- Export
TooltipProviderProps
type
- Add a missing internal utility to
package.json
. The corresponding packages that provide a Portal part also received a patch update.
Released minor versions for all primitives with the following changes:
- Full React 19 compatability
- Full RSC compatibility
- Internal build tooling changes
- Update and pin
react-remove-scroll
dependency version to avoid double scrollbar bugs in edge cases - Don’t scroll menu items in response to hover
- Make sure that components that close on Escape key press capture the corresponding keyboard event. This way you can call
stopPropagation
inonEscapeKeyDown
if you need more control rendering Radix components within another component that closes on Escape key press. - Make sure that components with roving focus do not interfere with browser or system hotkeys, such as back navigation
- Make sure that components that support
hideWhenDetached
prop do not allow interactions with hidden content
- Log an error when an accessible title via the
Dialog.Title
part is missing - Log a warning when an accessible description via the
Dialog.Description
part is missing
- Make sure that the component doesn’t interfere when clicking on the spinner of a number input
- Remove unsupported
disableOutsidePointerEvents
prop
- Fix hydration error in SSR on the initial render
- Explicitly allow
value={undefined}
to represent an indeterminate state, matching the current practical behaviour
- Add
nonce
prop to be able to pass CSP nonce to the inline styles
- Add
nonce
prop to be able to pass CSP nonce to the inline styles
- Fix pointer-events issue when clicking outside
- Fix
Portal
part types lying about accepting DOM props
- Prevent image flash
- Fix pointer-events issue when clicking outside
- Fix
Portal
part types lying about accepting DOM props
- Fix pointer-events issue when clicking outside
- Fix
Portal
part types lying about accepting DOM props
- Fix pointer-events issue when clicking outside
- Fix
Portal
part types lying about accepting DOM props
- Fix pointer-events issue when clicking outside
- Fix
Portal
part types lying about accepting DOM props
- Fix pointer-events issue when clicking outside
- Fix
Portal
part types lying about accepting DOM props
- Fix pointer-events issue when clicking outside
- Fix
Portal
part types lying about accepting DOM props
- Fix pointer-events issue when clicking outside
- Fix
Portal
part types lying about accepting DOM props - Fix
Popover
nested insideDialog
not opening
- Add
scroll-behavior: smooth
compatibility
- [Breaking] Add ability to reset to placeholder using
""
value
. Note that this is only a breaking change if you were using an option with avalue
of""
. - Fix pointer-events issue when clicking outside
- Fix
Portal
part types lying about accepting DOM props
- Fix pointer-events issue when clicking outside
- Fix pointer-events issue when clicking outside
- Fix
Portal
part types lying about accepting DOM props - Fix issue with boundary padding calculations
- Add option to always re-position
Content
on the fly
This release ensures all of our primitives are ESM compatible. We have also updated to the latest version of Floating UI for all of our popper-positioned primitives.
- Improve ESM compatibility
- Fix possible upstream compiler errors (
@types/react
phantom dependency)
- Position content correctly when matching trigger size
- Prevent non-modal dialog from re-opening when closing using trigger in Safari
- Ensure focus trapping is maintained when the focused item is deleted
- Position content correctly when matching trigger size
- Position content correctly when matching trigger size
- Position content correctly when matching trigger size
- Do not close when clicking items and meta key is down
- Position content correctly when matching trigger size
- Prevent non-modal popover from re-opening when closing using trigger in Safari
- Ensure
--radix-popper-available-width
is calculated correctly when usingcollisionBoundary
- Position content correctly when matching trigger size
- Improve scroll buttons touch screen support
- Clamp thumb position within range
- Ensure
Slot
can be used in a React Server Component
- Position content correctly when matching trigger size
- Improve large content hoverability
This release introduces a brand new primitive in preview: Form
.
- New primitive
- Reset checkbox state when form is reset
- Expose new CSS custom properties to enable size constraints
- Don't exit fullscreen mode when pressing escape to dismiss from submenu
- Relax
onCheckedChange
type onContextMenu.CheckboxItem
- Expose new CSS custom properties to enable size constraints
- Don't exit fullscreen mode when pressing escape to dismiss from submenu
- Relax
onCheckedChange
type onDropdownMenu.CheckboxItem
- Expose new CSS custom properties to enable size constraints
- Expose new CSS custom properties to enable size constraints
- Don't exit fullscreen mode when pressing escape to dismiss from submenu
- Relax
onCheckedChange
type onMenubar.CheckboxItem
- Expose new CSS custom properties to enable size constraints
- Expose new CSS custom properties to enable size constraints
This release introduces a brand new primitive: Menubar
. It also adds support for a highly requested feature for Select
: the ability to position the content in a similar way to Popover
or DropdownMenu
.
- Add horizontal orientation support with new
orientation
prop, as well as RTL support withdir
- Fix consistency issue with RTL positioning
- Fix consistency issue with RTL positioning
- Fix consistency issue with RTL positioning
- New primitive
- Fix consistency issue with RTL positioning
- Add
position
prop toSelect.Content
to enable popper positioning
- Fix consistency issue with RTL positioning
- Add
disabled
prop toContextMenu.Trigger
- Fix invalid
pointerId
in Cypress when running Firefox
- Fix initial animation playback in Firefox and Safari
- Fix issue with textarea elements not being scrollable in Firefox
- Fix initial animation playback in Firefox and Safari
- [Breaking] Add support for indeterminate state on
ContextMenu.CheckboxItem
. Note that this is only a breaking change if you are currently using theCheckboxItem
part and your codebase is written in TypeScript.
- Fix issue with textarea elements not being scrollable in Firefox
- [Breaking] Add support for indeterminate state on
DropdownMenu.CheckboxItem
. Note that this is only a breaking change if you are currently using theCheckboxItem
part and your codebase is written in TypeScript. - Correctly pair
DropdownMenu.Trigger
open state witharia-expanded
when closed - Fix issue with eager selection of items when using
asChild
- Fix issue with dismissing when the component is used in a separate popup window
- Improve text selection experience
- [Breaking] Remove
useLabelContext
and support for fully custom controls. For native labelling to work, ensure your custom controls are based on native elements such asbutton
orinput
. - Improve native behavior by using the native
label
element
- Prevent menu from re-opening with the pointer after being dismissed with escape
- Add
delayDuration
andskipDelayDuration
props toNavigationMenu.Root
. Note that by default, triggers now have a brief delay before opening in order to improve UX, this can be modified using the props provided.
- Add
disabled
prop toRadioGroup.Root
- Fix issue where
RadioGroup.Root
was focusable when all items were disabled
- Add
disabled
prop toSelect.Root
- Add
required
prop toSelect.Root
- Add ability to visually invert the slider using the new
inverted
prop onSlider.Root
- Add
onValueCommit
prop toSlider.Root
to better handle discrete value changes
- Stop eagerly creating callback props
- Fix regression with screen readers announcing as "group" rather than "status"
- Fix regression with
ref
assignments on child elements returningnull
- Add
onPause
andonResume
props toToast.Root
- Fix timer reset issue which would cause toasts to dismiss early in some cases
- Prevent
Toolbar.Item
click handlers firing twice
- Ensure tooltip doesn't open if interacting with the trigger before the open timer expires
With this release, we start following semantic versioning strictly. All primitives are now versioned 1.0.0.
We also move the Select
, Toast
and NavigationMenu
from preview to stable.
- Improve support for React 18
- [Breaking] Improve RTL performance. You need to use
DirectionProvider
if you were relying ondir
attribute inheritance from document (or any element).
- [Breaking] Remove
allowPinchZoom
prop, now defaults totrue
- Improve compatibility with JS animation libraries with
forceMount
onAlertDialog.Portal
- Fix regressions with page interactivity while/after closing dialog
- [Breaking] Improve indirect nesting of context menus. Submenus must now be created using explicit parts.
- [Breaking] Remove
allowPinchZoom
prop, now defaults totrue
- [Breaking] Add new
Portal
part. To avoid regressions, use this part if you want portalling behavior. Note thatz-index
isn't managed anymore so you have full control of layering. - [Breaking] Remove
offset
onArrow
part - [Breaking] Rename
collisionTolerance
tocollisionPadding
onContent
part and accepts a number or a padding object - Fix issue with native context menu appearing in React 18
- Add
data-highlighted
attribute to support styling - Add
data-state
attribute toTrigger
part - Add
collisionBoundary
,arrowPadding
,sticky
,hideWhenDetached
props onContent
part
- [Breaking] Remove
allowPinchZoom
prop, now defaults totrue
- Improve compatibility with JS animation libraries with
forceMount
onDialog.Portal
- Fix regressions with page interactivity while/after closing dialog
- [Breaking] Improve indirect nesting of dropdown menus. Submenus must now be created using explicit parts.
- [Breaking] Remove
allowPinchZoom
prop, now defaults totrue
- [Breaking] Add new
Portal
part. To avoid regressions, use this part if you want portalling behavior. Note thatz-index
isn't managed anymore so you have full control of layering. - [Breaking] Remove
offset
onArrow
part - [Breaking] Rename
collisionTolerance
tocollisionPadding
onContent
part and accepts a number or a padding object - Add
data-highlighted
attribute to support styling - Prevent escape key from exiting fullscreen mode in Firefox & Safari
- Add
collisionBoundary
,arrowPadding
,sticky
,hideWhenDetached
props onContent
part
- [Breaking] Add new
Portal
part. To avoid regressions, use this part if you want portalling behavior. Note thatz-index
isn't managed anymore so you have full control of layering. - [Breaking] Remove
offset
onArrow
part - [Breaking] Rename
collisionTolerance
tocollisionPadding
onContent
part and accepts a number or a padding object - Add
collisionBoundary
,arrowPadding
,sticky
,hideWhenDetached
props onContent
part
- Ensure menu closes after clicking
NavigationMenu.Link
- Add
onSelect
prop toNavigationMenu.Link
- [Breaking] Remove
allowPinchZoom
prop, now defaults totrue
- [Breaking] Add new
Portal
part. To avoid regressions, use this part if you want portalling behavior. Note thatz-index
isn't managed anymore so you have full control of layering. - [Breaking] Remove
offset
onArrow
part - [Breaking] Rename
collisionTolerance
tocollisionPadding
onContent
part and accepts a number or a padding object - Add
collisionBoundary
,arrowPadding
,sticky
,hideWhenDetached
props onContent
part
- [Breaking] Note that
z-index
isn't managed anymore so you have full control of layering. The prop to provide a custom container evolves fromcontainerRef
(ref) tocontainer
(element). Thedata-radix-portal
was removed because you can useasChild
to control the element.
- Add
aria-required
to root
ScrollArea.Thumb
is now animatable
- [Breaking] Renamed
data-state
values fromactive|inactive
tochecked|unchecked
- [Breaking] Add new
Portal
part. To avoid regressions, use this part if you want portalling behavior. Note thatz-index
isn't managed anymore so you have full control of layering. - Fix position breaking when using
asChild
onSelect.Content
- Improve trigger/content alignment when
Select.Content
has padding - Fix trigger/content alignment when there are less than 5 items
- Support trigger/content alignment when no value is provided
- Add
data-highlighted
attribute to support styling - Add support for placeholder via
placeholder
prop onSelect.Value
- Resolve value mismatch with underlying native select
- Fix issue with children ordering when using
Slottable
- Add support for lifecycle animation to
Tabs.Content
- [Breaking] The default toast order has changed, they now render top to bottom from oldest to newest
- Improve Typescript types when using
asChild
- Fix issue with toast reordering when updating React's
key
prop - Improve compatability with animation libraries
- [Breaking] Add new
Portal
part. To avoid regressions, use this part if you want portalling behavior. Note thatz-index
isn't managed anymore so you have full control of layering. - [Breaking] By default
Tooltip.Content
will remain open when hovering (WCAG 2.1 Content on Hover compliance).disableHoverableContent
can be supplied toTooltip.Provider
to restore previous behavior - [Breaking]
side
onTooltip.Content
now defaults totop
- [Breaking]
Tooltip.Provider
is now required, you must wrap your app to avoid regressions. - [Breaking] Remove
offset
onArrow
part - [Breaking] Rename
collisionTolerance
tocollisionPadding
onContent
part and accepts a number or a padding object - Improve layering of tooltip with other primitives
- Fix tooltip closing when transforming/animation trigger
- Add
collisionBoundary
,arrowPadding
,sticky
,hideWhenDetached
props onContent
part
This release introduces 3 brand new primitives in preview: Select
, Toast
and NavigationMenu
, whilst also shipping a ton of fixes and improvements.
- Prevent form submission when pressing
Accordion.Trigger
- Fix animation issue with React 18
- Improve pointer-events management
- Prevent activation via enter key
- Fix animation issue with React 18
- Prevent
DropdownMenu.TriggerItem
click from firing twice - Improve idle performance
- Improve pointer-events management
- [Breaking]
Dialog.Title
is now a required part so will throw an error if not used.aria-describedby={undefined}
must be passed toDialog.Content
if no description is needed.
- Improve composability with
Dialog
/AlertDialog
- Prevent clicking trigger to close from immediately reopening in non-modal mode
- Prevent
DropdownMenu.TriggerItem
click from firing twice - Improve idle performance
- New primitive
- Prevent activation via enter key
- New primitive
- Prevent page scroll when using
Home
andEnd
keys
- Prevent accidental focus activation via right click
- New primitive
- Improve accessibility by using radio role for single toggle group
This release focuses on React 18 support and introduces a number of breaking changes to some packages, mostly related to portalling dialogs.
- [Breaking] Deprecate
IdProvider
. Improves support for React 18 going forward and is no longer needed in older versions. Remove from your app to avoid deprecation warnings.
- Improve React 18 support
- Improve dev mode errors with mismatched
type
andvalue
props - Prevent
Accordion.Content
height animation on initial page load
- [Breaking] Add new
Portal
part. To avoid regressions, use this part if you want portalling behavior. - [Breaking] Support scrolling within
AlertDialog.Overlay
. MoveallowPinchZoom
to root. - Fix
asChild
TypeScript error
- Prevent
Collapsible.Content
height animation on initial page load
- [Breaking] Add new
Portal
part. To avoid regressions, use this part if you want portalling behavior. - [Breaking] Support scrolling within
Dialog.Overlay
. MoveallowPinchZoom
to root.
- Prevent disabled trigger from opening menu
- Fix ability to focus
HoverCard
when inside a dialog
- Prevent programmatic focus from changing value
- [Breaking] Change
Tabs.Trigger
tobutton
element - Improve TSDocs
- Remove invalid
aria-orientation
attribute onrole=group
element
- Fix
asChild
TypeScript error - Remove invalid
toolbaritem
role
- [Breaking] Add new
TooltipProvider
part. You must wrap your app to avoid regressions. - [Breaking] Remove
type=button
attribute fromTooltip.Trigger
- Fix tooltip activation regression
- Fix
key
warnings
- All primitives are now versioned 0.1.1
- Fix composability issues between primitives by scoping context
- Fix CSS unmount animations
- Add new CSS variable to
Accordion.Content
to help with width animations
- Improve composability with
Dialog
- [Breaking] Remove
AlertDialog.Content
onInteractOutside
prop
- Improve composability with
AlertDialog
- Add pinch to zoom support to
DropdownMenu.Content
viaallowPinchZoom
prop
- Add pinch to zoom support to
ContextMenu.Content
viaallowPinchZoom
prop - Prevent scroll via arrow keypress on submenu triggers
- Add new CSS variable to
Collapsible.Content
to help with width animations
- Prevent screen reader virtual cursor from accessing hidden input
- Improve composability with
Tooltip
- Add pinch to zoom support to
DropdownMenu.Content
viaallowPinchZoom
prop - Prevent scroll via arrow keypress on submenu triggers
- Open on focus to improve keyboard support
- Compose correct pointer events internally
- Allow its children to prevent event propagation
- Prevent screen reader virtual cursor from accessing hidden inputs
- Add pinch to zoom support to
Popover.Content
viaallowPinchZoom
prop
- Fix calculations when value is
0
- Prevent screen reader virtual cursor from accessing hidden input
- [Breaking] Unmount content within
Tabs.Content
when tab is inactive
- All primitives moved to Beta and are now versioned 0.1.0
- [Breaking] Replace polymorphic
as
prop withasChild
boolean prop. Learn more about how to change the rendered element here
- Improve composability with
DropdownMenu
- Improve composability with
Dialog
- Re-enable
pointer-events
when closed - Prevent body text from selecting on close (Firefox)
- Ensure sub triggers receive focus on click (iOS Safari)
- [Breaking] Deprecate
extendPrimitive
utility
- Improve polymorphic types performance
- [Breaking] Remove
AlertDialog.Content
onPointerDownOutside
prop - Prevent outside pointer events triggering prematurely on touch devices
- Add modality support via
modal
prop - [Breaking] Remove
ContextMenu.Content
disableOutsidePointerEvents
prop - Prevent outside pointer events triggering prematurely on touch devices
- Add modality support via
modal
prop - Improve animation rendering in React 18
- Ensure focus is restored to trigger on close when using the
autofocus
attribute on a child element - Prevent outside pointer events triggering prematurely on touch devices
- Ensure iOS Safari consistently focuses the first focusable element
- Add modality support via
modal
prop - [Breaking] Remove
DropdownMenu.Content
disableOutsideScroll
prop - [Breaking] Remove
DropdownMenu.Content
disableOutsidePointerEvents
prop - Prevent outside pointer events triggering prematurely on touch devices
- Add modality support via
modal
prop - [Breaking] Remove
Popover.Content
disableOutsideScroll
prop - [Breaking] Remove
Popover.Content
disableOutsidePointerEvents
prop - [Breaking] Remove
Popover.Content
trapFocus
prop - Improve animation rendering in React 18
- Ensure focus is restored to trigger on close when using the
autofocus
attribute on a child element - Prevent outside pointer events triggering prematurely on touch devices
- Ensure iOS Safari consistently focuses the first focusable element
- Add
data-state
toScrollBar
part
- Prevent thumb receiving focus when disabled
- Prevent focus loss on thumb when using
React.StrictMode
- Can now be triggered on touch with a long press
- Add optional
Title
andDescription
parts for simpler labelling
- Add
data-orientation
toScrollbar
for styling convenience - Fix
forceMount
type issue onScrollbar
- Ensure the correct thumb is focused when using keyboard and crossing another thumb
- Ensure only one arrow press is needed when crossing another thumb
- Improve types compatibility
- Ensure only one click is needed to toggle a single controlled toggle group
- Ensure focus behavior is consistent on Safari
- Improve polymorphic types
- [Breaking] Rename
Accordion.Button
toAccordion.Trigger
- [Breaking] Rename
Accordion.Panel
toAccordion.Content
- [Breaking] Rename custom property accordingly (
--radix-accordion-content-height
) - [Breaking]
type=“single”
Accordion
now has a newcollapsible
prop which isfalse
by default. This means that the default behavior has now changed. By default a user cannot close all items.
- [Breaking] Allow preventing default in
onPointerDownOutside
without inadvertently preventing focus
- [Breaking]
onCheckedChange(event)
is nowonCheckedChange(checked: CheckedState)
- Improve compatibility with native form validation
- Allow stopping propagation on
Checkbox
onClick
- Improve compatibility with native
label
- Improve accessibility when wrapped in native
label
- [Breaking] Rename
Collapsible.Button
toCollapsible.Trigger
- Add submenu support
- Add
ContextMenu.TriggerItem
- Add
ContextMenu.Arrow
- Add
dir
prop for RTL support with submenus - [Breaking] Allow preventing default in
onPointerDownOutside
without inadvertently preventing focus - [Breaking] Remove
ContextMenu.Content
side
prop - [Breaking] Remove
ContextMenu.Content
align
prop - [Breaking] If you had
sideOffset
onContextMenu.Content
before, you should now usealignOffset
. This is to standardize vertical alignment for both root and sub-menus. - [Breaking]
onFocusOutside
is now a custom event - Improve support of content and item with no padding
- Align with WAI-ARIA spec by focusing first item when opening via keyboard
- [Breaking] Allow preventing default in
onPointerDownOutside
without inadvertently preventing focus
- Add submenu support
- Add
DropdownMenu.TriggerItem
- Add
dir
prop for RTL support with submenus - [Breaking] Allow preventing default in
onPointerDownOutside
without inadvertently preventing focus - [Breaking]
onFocusOutside
is now a custom event - [Breaking] The up arrow no longer opens the menu
- Align with WAI-ARIA spec by focusing first item when opening via keyboard
- [Breaking] Allow preventing default in
onPointerDownOutside
without inadvertently preventing focus - [Breaking]
onFocusOutside
is now a custom event
- [Breaking]
onValueChange(event)
is nowonValueChange(value: string)
- [Breaking] Remove
RadioGroup.Item
onCheckedChange
prop - Improve compatibility with native form validation
- Improve usage within forms
- Brand new version with a simpler API
- Improve Safari support
- Improve RTL support
- Improve touch support
Scrollbar
mount/unmount can now be animated- Add minimum width/height to thumb so it's always grabbable
- Move functional CSS into component to improve DX
- Bundle size significantly reduced
- [Breaking] Remove
overflowX
andoverflowY
props - [Breaking] Remove
ScrollAreaButtonStart
,ScrollAreaButtonEnd
andScrollAreaTrack
- [Breaking] Rename
scrollbarVisibility
prop totype
. The values areauto
,always
,scroll
orhover
- [Breaking] Rename
scrollbarVisibilityRestTimeout
prop toscrollHideDelay
- [Breaking] Remove
trackClickBehavior
prop as we've removed built-in animation. Clicking on track always snaps to pointer position - [Breaking]
ScrollAreaScrollbarX
andScrollAreaScrollbarY
are now<ScrollAreaScrollbar orientation="horizontal" />
and<ScrollAreaScrollbar orientation="vertical" />
- Ensure no scrollbars are shown when scrolling is disabled
- Ensure children event handlers don't break
- Ensure scroll area updates when children content size changes
- Improve usage within forms
- Fix key binding issue in LTR
- [Breaking]
onCheckedChange(event)
is nowonCheckedChange(checked: boolean)
- Improve compatibility with native form validation
- Improve usage within forms
- Improve accessibility when wrapped in native
label
- [Breaking] Rename
Tabs.Tab
toTabs.Trigger
- [Breaking] Rename
Tabs.Panel
toTabs.Content
- Improve polymorphic types performance
- Ensure only one click is needed to close a single controlled accordion
- [Breaking] Remove
readOnly
prop
- Add
onOpenChange
prop
- Ensure focus position isn't lost when blurring out window and re-focusing it
- Take into account non-visible items
- [Breaking] Remove
anchorRef
prop - Prevent page from scrolling when selecting an item with space key
- New primitive
- [Breaking] Remove
anchorRef
prop and replace with optionalAnchor
part
- Add optional
orientation
,dir
,loop
props - [Breaking] Remove
readOnly
prop
- [Breaking] Remove
readOnly
prop
- Add optional
orientation
,dir
,loop
props
- [Breaking] Remove
anchorRef
prop
- Improve tree-shaking
- Ensure you can open a context menu when one is already open
- Fix potential overlap issue
- Ensure
Content
closes when it has multiple close animations
- [Breaking] Rename
ToggleButton
primitive toToggle
- [Breaking] Rename
toggled
prop topressed
- [Breaking] Rename
defaultToggled
prop todefaultPressed
- [Breaking] Rename
onToggledChange
prop toonPressedChange
- New primitive
- New primitive
- Add custom timing support
- Add unmount animation support
- Add height CSS custom property to panel for easier animation
- Add height CSS custom property to content for easier animation
- Fix type definition conflicts
- Add support for SSR
- [Breaking] Remove
selector
prop anddata-radix-*
atributes
- [Breaking] Add support for multiple values. Note that this is a breaking change because the new
type
prop is required
- Ensure
step
is rounded correctly
- Add RTL support (
dir
prop)
- Ensure events are composed when using
<Trigger as={Slot}>
- Expose
onCloseAutoFocus
prop
- Expose
onCloseAutoFocus
prop
- Fix type autocompletion when using
as
prop
- Prevent open/close flickering
- Ensure focus is returned properly on close
- [Breaking] Move
name
prop fromItem
toRoot
- Re–add missing
children
- Re–add missing
children
- Prevent flickering (sliding) issue
- New utility
- Fix regression when tabbing out would close
- Fix broken arrow keys navigation
- Add
selector
prop
- Ensure setting
disabled={false}
onRoot
doesn't enable disabled items
- Add enter key support on trigger
- Prevent focus race condition
- Ensure
Content
repositions on window resize - Ensure last element inside
Content
triggers blur event
- Initial release! 🎉