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