Releases: tailwindlabs/headlessui
Releases · tailwindlabs/headlessui
@headlessui/react@v1.2.0
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
@headlessui/vue@v1.1.1
@headlessui/react@v1.1.1
Fixes
- Fix form submission within Dialog (#460)
@headlessui/vue@v1.1.0
@headlessui/react@v1.1.0
@headlessui/vue@v1.0.0
This is the v1 release of Headless UI - Vue
We introduced a bunch of new components for this release:
We also created a beautiful new documentation website: https://headlessui.dev/vue
Changelog:
Fixes
Added
- Add
SwitchDescription
component, which adds thearia-describedby
to the actual Switch (#220) - Add
Disclosure
,DisclosureButton
,DisclosurePanel
components (#282) - Add
Dialog
,DialogOverlay
,DialogTitle
andDialogDescription
components (#282) - Add
Portal
andPortalGroup
components (#282) - Add
FocusTrap
component (#282) - Add
Popover
,PopoverButton
,PopoverOverlay
,PopoverPanel
andPopoverGroup
components (#282) - Add
RadioGroup
,RadioGroupOption
,RadioGroupLabel
andRadioGroupDescription
components (#282) - Add
TransitionRoot
andTransitionChild
components (#326)
@headlessui/react@v1.0.0
This is the v1 release of Headless UI - React
We introduced a bunch of new components for this release:
We also created a beautiful new documentation website: https://headlessui.dev/react
Changelog:
Fixes
- Fixed
outside click
not re-focusing theMenu.Button
(#220, #256) - Fixed
outside click
not re-focusing theListbox.Button
(#220, #256) - Force focus in
Menu.Items
andListbox.Options
from within the component itself (#261) - Stop propagating keyboard/mouse events (#261)
Added
- Add
Disclosure
,Disclosure.Button
andDisclosure.Panel
components (#220) - Add
Dialog
,Dialog.Overlay
,Dialog.Tile
andDialog.Description
components (#220) - Add
Portal
andPortal.Group
component (#220) - Add
Switch.Description
component, which adds thearia-describedby
to the actual Switch (#220) - Add
FocusTrap
component (#220) - Add
Popover
,Popover.Button
,Popover.Overlay
,Popover.Panel
andPopover.Group
components (#220) - All components that accept a
className
, can now also receive a function with the renderProp argument (#257) - Add
RadioGroup
,RadioGroup.Option
,RadioGroup.Label
andRadioGroup.Description
components (#274)
@headlessui/vue@v0.3.1
Fixes
- Fix broken behaviour since Vue 3.0.5 (#279)