Changelog

3.x

3.0.1

  • Finally update the README.md to be about the project. 😁

3.0.0

  • Dropdowns have been rebuilt with accessibility in mind. They now use the aria-haspopup and aria-expanded attributes to indicate their state. See the Dropdown docs for more information.
  • Dropdown position has been renamed to placement.
  • Dropdown end prop has been removed. Use the new placement options, instead.
  • Dropdown position now supports additional values.
    • Previously only left, right, top, and bottom were supported.
    • Now an -end or -start suffix can be added to any of the previous values to indicate the end or start of the target element.
    • Additional values include left-start, left-end, right-start, right-end, top-start, top-end, bottom-start, and bottom-end.
  • Dropdowns now use FloatingUI so they use absolute positioning to flow above the content.
  • Added the MenuExpand and MenuExpandToggle components to replace inline dropdowns inside of menus. See the Menu docs for more information.

Migrating from 2.x to 3.x:

  • Combine the position and end attributes into the new placement attribute.

2.x

2.2.0

  • Added the DropdownTarget component to allow for unstyled dropdown buttons. See the Dropdown docs for more information.