All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Nothing yet!
- Nothing yet!
@headlessui/[email protected] - 2021-05-10
- Introduce Open/Closed state, to simplify component communication (#466)
- Improve SSR for
Dialog
(#477) - Delay focus trap initialization (#477)
- Improve incorrect behaviour for nesting
Dialog
components (#560)
@headlessui/[email protected] - 2021-05-10
- Introduce Open/Closed state, to simplify component communication (#466)
@headlessui/[email protected] - 2021-04-28
- Fix form submission within Dialog (#460)
@headlessui/[email protected] - 2021-04-28
@headlessui/[email protected] - 2021-04-26
- Improve search, make searching case insensitive (#385)
- Fix unreachable
RadioGroup
(#401) - Fix closing nested
Dialog
components when pressingEscape
(#430)
- Add
disabled
prop toRadioGroup
andRadioGroup.Option
(#401) - Add
defaultOpen
prop to theDisclosure
component (#447)
@headlessui/[email protected] - 2021-04-26
- Improve search, make searching case insensitive (#385)
- Fix unreachable
RadioGroup
(#401) - Fix
RadioGroupOption
value type (#400) - Fix closing nested
Dialog
components when pressingEscape
(#430)
- Add
disabled
prop toRadioGroup
andRadioGroupOption
(#401) - Add
defaultOpen
prop to theDisclosure
component (#447)
@headlessui/[email protected] - 2021-04-14
- 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)
- 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/[email protected] - 2021-04-14
- 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/[email protected] - 2021-04-02
@headlessui/[email protected] - 2021-04-02
- Fix broken behaviour since Vue 3.0.5 (#279)
@headlessui/[email protected] - 2021-02-11
@headlessui/[email protected] - 2021-02-06
- Ensure that you can't use Enter to invoke the Switch
- Fix outside click refocus bug (#114)
- Prevent scrolling when refocusing items
- Ensure
Switch
hastype="button"
(#192) - Fix
useId()
hook returningundefined
on the client - Fix
disabled
not working when inside a disabled fieldset (#202) - Trigger "outside click" behaviour on mousedown (#212)
- Ensure the
active
MenuItem is scrolled into view - Ensure valid Menu accessibility tree (#228)
- Add Transition events (
beforeEnter
,afterEnter
,beforeLeave
andafterLeave
) (#57) - Add render features + render strategy (
static
andunmount={true | false}
) (#106) - Add displayName to all contexts (#175)
- Add
disabled
prop toListbox
itself, instead of theListbox.Button
(#229)
- Changes the API of the Transition component.
- We will now always render a
div
by default (unless you change this using theas={...}
prop). - The render function prop doesn't expose a
ref
anymore. - Adds
unmount
prop to theTransition
andTransition.Child
components.
- We will now always render a
@headlessui/[email protected] - 2021-02-06
- Ensure that you can't use Enter to invoke the Switch
- Fix outside click refocus bug (#114)
- Prevent scrolling when refocusing items
- Ensure
Switch
hastype="button"
(#192) - Added
emits
property to Vue components (#199) - Fix
disabled
not working when inside a disabled fieldset (#202) - Trigger "outside click" behaviour on mousedown (#212)
- Ensure the
active
MenuItem is scrolled into view - Ensure valid Menu accessibility tree (#228)
- Add render features + render strategy (
static
andunmount={true | false}
) (#106) - Add
disabled
prop toListbox
itself, instead of theListboxButton
(#229)
@headlessui/[email protected] - 2020-10-06
- Add
Listbox
component - Add
Switch
component
@headlessui/[email protected] - 2020-10-06
- Add
Listbox
component - Add
Switch
component
@headlessui/[email protected] - 2020-09-29
- Fix outside click behaviour. If you had multiple menu's, when menu 1 is open, menu 2 is closed and you click on menu button 2 it will open both menu's. This is now fixed.
- Ensure when using keyboard navigation we prevent the default behaviour.
@headlessui/[email protected] - 2020-09-29
- Fix an issue where you couldn't click on menu items that were links.
- Fix outside click behaviour. If you had multiple menu's, when menu 1 is open, menu 2 is closed and you click on menu button 2 it will open both menu's. This is now fixed.
- Ensure when using keyboard navigation we prevent the default behaviour.
@headlessui/[email protected] - 2020-09-25
- Add tests for
onClick
handling that wasn't working properly in @headlessui/vue to ensure behavior stays the same in this library - Don't pass
disabled
prop through to children, only addaria-disabled
@headlessui/[email protected] - 2020-09-25
- Fix issue where button
MenuItem
instances didn't properly fire click events - Don't pass
disabled
prop through to children, only addaria-disabled
@headlessui/[email protected] - 2020-09-24
- Initial release
@headlessui/[email protected] - 2020-09-24
- Initial release