Skip to content

Latest commit

 

History

History
1188 lines (698 loc) · 49.6 KB

releases.mdx

File metadata and controls

1188 lines (698 loc) · 49.6 KB
metaTitle metaDescription
Releases
Radix Primitives releases and their changelogs.

Releases

Radix Primitives releases and their changelogs.

October 1, 2024

  • 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 the Viewport
  • 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

June 28, 2024

  • Export CheckedState type
  • Export TooltipProviderProps type

June 21, 2024

  • Add a missing internal utility to package.json. The corresponding packages that provide a Portal part also received a patch update.

June 19, 2024


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 in onEscapeKeyDown 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

September 25, 2023

  • 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 inside Dialog 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 a value 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

May 26, 2023

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 using collisionBoundary
  • 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

March 8, 2023

This release introduces a brand new primitive in preview: Form.

  • New primitive

February 24, 2023

  • 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 on ContextMenu.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 on DropdownMenu.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 on Menubar.CheckboxItem
  • Expose new CSS custom properties to enable size constraints
  • Expose new CSS custom properties to enable size constraints

January 17, 2023

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 with dir
  • 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 to Select.Content to enable popper positioning
  • Fix consistency issue with RTL positioning

December 14, 2022

  • Add disabled prop to ContextMenu.Trigger

November 15, 2022

  • Fix invalid pointerId in Cypress when running Firefox

October 17, 2022

  • 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 the CheckboxItem 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 the CheckboxItem part and your codebase is written in TypeScript.
  • Correctly pair DropdownMenu.Trigger open state with aria-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 as button or input.
  • Improve native behavior by using the native label element
  • Prevent menu from re-opening with the pointer after being dismissed with escape
  • Add delayDuration and skipDelayDuration props to NavigationMenu.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 to RadioGroup.Root
  • Fix issue where RadioGroup.Root was focusable when all items were disabled
  • Add disabled prop to Select.Root
  • Add required prop to Select.Root
  • Add ability to visually invert the slider using the new inverted prop on Slider.Root
  • Add onValueCommit prop to Slider.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 returning null
  • Add onPause and onResume props to Toast.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

July 21, 2022

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 on dir attribute inheritance from document (or any element).
  • [Breaking] Remove allowPinchZoom prop, now defaults to true
  • Improve compatibility with JS animation libraries with forceMount on AlertDialog.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 to true
  • [Breaking] Add new Portal part. To avoid regressions, use this part if you want portalling behavior. Note that z-index isn't managed anymore so you have full control of layering.
  • [Breaking] Remove offset on Arrow part
  • [Breaking] Rename collisionTolerance to collisionPadding on Content 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 to Trigger part
  • Add collisionBoundary, arrowPadding, sticky, hideWhenDetached props on Content part
  • [Breaking] Remove allowPinchZoom prop, now defaults to true
  • Improve compatibility with JS animation libraries with forceMount on Dialog.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 to true
  • [Breaking] Add new Portal part. To avoid regressions, use this part if you want portalling behavior. Note that z-index isn't managed anymore so you have full control of layering.
  • [Breaking] Remove offset on Arrow part
  • [Breaking] Rename collisionTolerance to collisionPadding on Content 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 on Content part
  • [Breaking] Add new Portal part. To avoid regressions, use this part if you want portalling behavior. Note that z-index isn't managed anymore so you have full control of layering.
  • [Breaking] Remove offset on Arrow part
  • [Breaking] Rename collisionTolerance to collisionPadding on Content part and accepts a number or a padding object
  • Add collisionBoundary, arrowPadding, sticky, hideWhenDetached props on Content part
  • Ensure menu closes after clicking NavigationMenu.Link
  • Add onSelect prop to NavigationMenu.Link
  • [Breaking] Remove allowPinchZoom prop, now defaults to true
  • [Breaking] Add new Portal part. To avoid regressions, use this part if you want portalling behavior. Note that z-index isn't managed anymore so you have full control of layering.
  • [Breaking] Remove offset on Arrow part
  • [Breaking] Rename collisionTolerance to collisionPadding on Content part and accepts a number or a padding object
  • Add collisionBoundary, arrowPadding, sticky, hideWhenDetached props on Content 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 from containerRef (ref) to container (element). The data-radix-portal was removed because you can use asChild to control the element.
  • Add aria-required to root
  • ScrollArea.Thumb is now animatable
  • [Breaking] Renamed data-state values from active|inactive to checked|unchecked
  • [Breaking] Add new Portal part. To avoid regressions, use this part if you want portalling behavior. Note that z-index isn't managed anymore so you have full control of layering.
  • Fix position breaking when using asChild on Select.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 on Select.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 that z-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 to Tooltip.Provider to restore previous behavior
  • [Breaking] side on Tooltip.Content now defaults to top
  • [Breaking] Tooltip.Provider is now required, you must wrap your app to avoid regressions.
  • [Breaking] Remove offset on Arrow part
  • [Breaking] Rename collisionTolerance to collisionPadding on Content 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 on Content part

February 28, 2022

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 to Dialog.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 and End keys
  • Prevent accidental focus activation via right click
  • New primitive
  • Improve accessibility by using radio role for single toggle group

December 13, 2021

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 and value 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. Move allowPinchZoom 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. Move allowPinchZoom 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 to button element
  • Improve TSDocs
  • Remove invalid aria-orientation attribute on role=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 from Tooltip.Trigger
  • Fix tooltip activation regression
  • Fix key warnings

October 15, 2021

  • 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 via allowPinchZoom prop
  • Add pinch to zoom support to ContextMenu.Content via allowPinchZoom 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 via allowPinchZoom 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 via allowPinchZoom 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

September 7, 2021

  • All primitives moved to Beta and are now versioned 0.1.0
  • [Breaking] Replace polymorphic as prop with asChild 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

August 4, 2021

  • 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 to ScrollBar part
  • Prevent thumb receiving focus when disabled
  • Prevent focus loss on thumb when using React.StrictMode

June 24, 2021

  • Can now be triggered on touch with a long press
  • Add optional Title and Description parts for simpler labelling
  • Add data-orientation to Scrollbar for styling convenience
  • Fix forceMount type issue on Scrollbar
  • 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

June 15, 2021

  • Improve polymorphic types
  • [Breaking] Rename Accordion.Button to Accordion.Trigger
  • [Breaking] Rename Accordion.Panel to Accordion.Content
  • [Breaking] Rename custom property accordingly (--radix-accordion-content-height)
  • [Breaking] type=“single” Accordion now has a new collapsible prop which is false 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 now onCheckedChange(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 to Collapsible.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 on ContextMenu.Content before, you should now use alignOffset. 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 now onValueChange(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 and overflowY props
  • [Breaking] Remove ScrollAreaButtonStart, ScrollAreaButtonEnd and ScrollAreaTrack
  • [Breaking] Rename scrollbarVisibility prop to type. The values are auto, always, scroll or hover
  • [Breaking] Rename scrollbarVisibilityRestTimeout prop to scrollHideDelay
  • [Breaking] Remove trackClickBehavior prop as we've removed built-in animation. Clicking on track always snaps to pointer position
  • [Breaking] ScrollAreaScrollbarX and ScrollAreaScrollbarY 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 now onCheckedChange(checked: boolean)
  • Improve compatibility with native form validation
  • Improve usage within forms
  • Improve accessibility when wrapped in native label
  • [Breaking] Rename Tabs.Tab to Tabs.Trigger
  • [Breaking] Rename Tabs.Panel to Tabs.Content

May 3, 2021

  • 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 optional Anchor 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

March 26, 2021

  • 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 to Toggle
  • [Breaking] Rename toggled prop to pressed
  • [Breaking] Rename defaultToggled prop to defaultPressed
  • [Breaking] Rename onToggledChange prop to onPressedChange
  • New primitive
  • New primitive
  • Add custom timing support
  • Add unmount animation support

March 5, 2021

  • Add height CSS custom property to panel for easier animation
  • Add height CSS custom property to content for easier animation
  • Fix type definition conflicts

March 3, 2021

  • Add support for SSR
  • [Breaking] Remove selector prop and data-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)

February 17, 2021

  • Ensure events are composed when using <Trigger as={Slot}>

February 15, 2021

  • Expose onCloseAutoFocus prop
  • Expose onCloseAutoFocus prop

February 10, 2021

  • Fix type autocompletion when using as prop
  • Prevent open/close flickering
  • Ensure focus is returned properly on close
  • [Breaking] Move name prop from Item to Root

February 1, 2021

  • Re–add missing children
  • Re–add missing children
  • Prevent flickering (sliding) issue

January 29, 2021

  • New utility

January 25, 2021

  • Fix regression when tabbing out would close
  • Fix broken arrow keys navigation

January 22, 2021

  • Add selector prop
  • Ensure setting disabled={false} on Root 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

December 15, 2020

  • Initial release! 🎉