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-haspopupandaria-expandedattributes to indicate their state. See the Dropdown docs for more information. - Dropdown
positionhas been renamed toplacement. - Dropdown
endprop has been removed. Use the newplacementoptions, instead. - Dropdown
positionnow supports additional values.- Previously only
left,right,top, andbottomwere supported. - Now an
-endor-startsuffix 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, andbottom-end.
- Previously only
- Dropdowns now use FloatingUI so they use absolute positioning to flow above the content.
- Added the
MenuExpandandMenuExpandTogglecomponents to replace inline dropdowns inside of menus. See the Menu docs for more information.
Migrating from 2.x to 3.x:
- Combine the
positionandendattributes into the newplacementattribute.
2.x
2.2.0
- Added the
DropdownTargetcomponent to allow for unstyled dropdown buttons. See the Dropdown docs for more information.