Skip to content

Releases: tailwindlabs/headlessui

@headlessui/[email protected]

26 Apr 19:00
Compare
Choose a tag to compare

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]

15 Apr 15:40
be95227
Compare
Choose a tag to compare

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]

15 Apr 15:40
8599e49
Compare
Choose a tag to compare

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]

07 Feb 21:50
Compare
Choose a tag to compare
  • Fix Combobox activeOption render prop (#2973)

@headlessui/[email protected]

02 Feb 20:40
Compare
Choose a tag to compare

Added

  • Allow users customize ID generation (#2959)

@headlessui/[email protected]

08 Jan 15:10
d5c2c0a
Compare
Choose a tag to compare

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]

08 Jan 15:10
afb3c8c
Compare
Choose a tag to compare

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]

03 Jan 14:07
33286d0
Compare
Choose a tag to compare
Pre-release

Fixed

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

@headlessui/[email protected]

21 Dec 01:52
d94038f
Compare
Choose a tag to compare
Pre-release

Fixed

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

@headlessui/[email protected]

20 Dec 23:34
13f4cd5
Compare
Choose a tag to compare
Pre-release

Fixed

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