Releases: tailwindlabs/headlessui
Releases · tailwindlabs/headlessui
@headlessui/[email protected]
@headlessui/[email protected]
@headlessui/[email protected]
@headlessui/[email protected]
Added
@headlessui/[email protected]
Added
- Add new
Tabs
component (#674, #698) - Make
Disclosure.Button
close the disclosure inside aDisclosure.Panel
(#682) - Add
aria-orientation
toListbox
, which swaps Up/Down with Left/Right keys (#683) - Expose
close
function from the render prop forDisclosure
,Disclosure.Panel
,Popover
andPopover.Panel
(#697)
@headlessui/[email protected]
@headlessui/[email protected]
Added
- Ensure that you can use
Transition.Child
when using implicit Transitions (#503) - Add new
entered
prop forTransition
andTransition.Child
components (#504)
Fixes
- Add
aria-disabled
on disabledRadioGroup.Option
components (#543) - Improve
disabled
andtabindex
prop handling (#512) - Improve React peer dependency version range (#544)
- Improve types for the
open
prop in theDialog
component (#550) - Improve
aria-expanded
logic (#592) - Remove undocumented
:className
prop (#607) - Improve types for
Listbox
component (#576) - Remove explicit
:class
prop (#608) - Improve tree shaking (#602)
- Improve peer dependencies for
react-dom
, and for the future version18
(#622)
@headlessui/[email protected]
Added
- Introduce Open/Closed state, to simplify component communication (#466)
@headlessui/[email protected]
Added
- Introduce Open/Closed state, to simplify component communication (#466)
Fixes
- Improve SSR for
Dialog
(#477) - Delay focus trap initialization (#477)
- Improve incorrect behaviour for nesting
Dialog
components (#560)
The Open/Closed
state unlocks a feature where all our components can interact with each other. This means that you don't need to use the render prop function, and that you also don't need the static
prop anymore for transitions. Here is an example in the docs that explains this: https://headlessui.dev/react/menu#transitions