Headlessui Versions Save

Completely unstyled, fully accessible UI components, designed to integrate beautifully with Tailwind CSS.

@headlessui/[email protected]

1 week ago

Fixed

  • Prevent closing the Combobox component when clicking inside the scrollbar area (#3104)
  • Don’t unmount portal targets used by other portals (#3144)

@headlessui/[email protected]

2 weeks ago

Fixed

  • Make sure panels re-register when IDs are calculated in React < 18 (#2883)
  • Expose disabled state on <Tab /> component (#2918)
  • Prevent default behaviour when clicking outside of a Dialog.Panel (#2919)
  • Add hidden attribute to internal <Hidden /> component when the Features.Hidden feature is used (#2955)
  • Allow setting custom tabIndex on the <Switch /> component (#2966)
  • Forward disabled state to hidden inputs in form-like components (#3004)
  • Respect selectedIndex for controlled <Tab/> components (#3037)

@headlessui/[email protected]

2 weeks ago

Fixed

  • Expose disabled state on <Tab /> component (#2918)
  • Prevent default behaviour when clicking outside of a DialogPanel (#2919)
  • Don’t override explicit disabled prop for components inside <MenuItem> (#2929)
  • Add hidden attribute to internal <Hidden /> component when the Features.Hidden feature is used (#2955)
  • Allow setting custom tabIndex on the <Switch /> component (#2966)
  • Forward disabled state to hidden inputs in form-like components (#3004)
  • Respect selectedIndex for controlled <Tab/> components (#3037)

@headlessui/[email protected]

2 months ago
  • Fix Combobox activeOption render prop (#2973)

@headlessui/[email protected]

3 months ago

Added

  • Allow users customize ID generation (#2959)

@headlessui/[email protected]

3 months ago

Fixed

  • Don't call <Dialog>'s onClose twice on mobile devices (#2690)
  • Fix Portal SSR hydration mismatches (#2700)
  • Ensure hidden TabPanel components are hidden from the accessibility tree (#2708)
  • Add support for role="alertdialog" to <Dialog> component (#2709)
  • Ensure blurring the ComboboxInput component closes the Combobox (#2712)
  • Allow <button> to be in nested components in <PopoverButton> (#2715)
  • Don't overwrite user-defined template refs when rendering (#2720)
  • Fix missing data-headlessui-state attribute when as="template" (#2787)
  • Fix VoiceOver bug for Listbox component in Chrome (#2824)
  • Fix outside click detection when component is mounted in the Shadow DOM (6846231)
  • Fix CJS types (#2880)
  • Fix error when transition classes contain new lines (#2871)

@headlessui/[email protected]

3 months ago

Fixed

  • Don't call <Dialog>'s onClose twice on mobile devices (#2690)
  • Lazily resolve default containers in <Dialog> (#2697)
  • Ensure hidden Tab.Panel components are hidden from the accessibility tree (#2708)
  • Add support for role="alertdialog" to <Dialog> component (#2709)
  • Ensure blurring the Combobox.Input component closes the Combobox (#2712)
  • Allow changes to the className prop when the <Transition /> component is currently not transitioning (#2722)
  • Export (internal-only) component interfaces for TypeScript compiler (#2313)
  • Fix infinite render-loop for <Disclosure.Panel> and <Popover.Panel> when as={Fragment} (#2760)
  • Fix VoiceOver bug for Listbox component in Chrome (#2824)
  • Fix outside click detection when component is mounted in the Shadow DOM (#2866)
  • Fix CJS types (#2880)
  • Fix error when transition classes contain new lines (#2871)
  • Improve iOS locking (7721aca)

@headlessui/[email protected]

4 months ago

Fixed

  • Ensure Input, Select and Textarea expose Ref related types (#2902)

@headlessui/[email protected]

4 months ago

Fixed

  • Further fine tune scroll locking on iOS (#2891)

@headlessui/[email protected]

4 months ago

Fixed

  • Allow horizontal scrolling inside the Dialog component (#2889)
  • Improve cancellation of events when using disabled or aria-disabled attributes (#2890)