Tabs component (#674, #698)Disclosure.Button close the disclosure inside a Disclosure.Panel (#682)aria-orientation to Listbox, which swaps Up/Down with Left/Right keys (#683)close function from the render prop for Disclosure, Disclosure.Panel, Popover and Popover.Panel (#697)Transition.Child when using implicit Transitions (#503)entered prop for Transition and Transition.Child components (#504)aria-disabled on disabled RadioGroup.Option components (#543)disabled and tabindex prop handling (#512)open prop in the Dialog component (#550)aria-expanded logic (#592):className prop (#607)Listbox component (#576):class prop (#608)react-dom, and for the future version 18 (#622)Dialog (#477)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
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
outside click not re-focusing the Menu.Button (#220, #256)outside click not re-focusing the Listbox.Button (#220, #256)Menu.Items and Listbox.Options from within the component itself (#261)Disclosure, Disclosure.Button and Disclosure.Panel components (#220)Dialog, Dialog.Overlay, Dialog.Tile and Dialog.Description components (#220)Portal and Portal.Group component (#220)Switch.Description component, which adds the aria-describedby to the actual Switch (#220)FocusTrap component (#220)Popover, Popover.Button, Popover.Overlay, Popover.Panel and Popover.Group components (#220)className, can now also receive a function with the renderProp argument (#257)RadioGroup, RadioGroup.Option, RadioGroup.Label and RadioGroup.Description components (#274)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
SwitchDescription component, which adds the aria-describedby to the actual Switch (#220)Disclosure, DisclosureButton, DisclosurePanel components (#282)Dialog, DialogOverlay, DialogTitle and DialogDescription components (#282)Portal and PortalGroup components (#282)FocusTrap component (#282)Popover, PopoverButton, PopoverOverlay, PopoverPanel and PopoverGroup components (#282)RadioGroup, RadioGroupOption, RadioGroupLabel and RadioGroupDescription components (#282)TransitionRoot and TransitionChild components (#326)