Skip to content

Releases: tailwindlabs/headlessui

@headlessui/vue@v1.7.17

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/react@v1.7.18

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/react@v2.0.0-alpha.4

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/react@v2.0.0-alpha.3

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

Fixed

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

@headlessui/react@v2.0.0-alpha.2

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)

@headlessui/react@v2.0.0-alpha.1

20 Dec 19:20
a7cf43e
Compare
Choose a tag to compare
Pre-release

Added

  • Add immediate prop to <Combobox /> for immediately opening the Combobox when the input receives focus (#2686)
  • Add virtual prop to Combobox component (#2779)
  • Add new Checkbox component
  • Add new Radio component as an alternative to the existing RadioGroup.Option component
  • Add new Button component
  • Add new Input component
  • Add new Textarea component
  • Add new Select component
  • Add new Field, Label, Description, Fieldset and Legend components
  • Add new DataInteractive component
  • Add new anchor and modal prop to ComboboxOptions, ListboxOptions, MenuItems and PopoverPanel components
  • Add new ListboxSelectedOption component
  • Add new MenuSection, MenuHeading, and MenuSeparator components
  • Add new simplified data-* attributes as an alternative to the existing data-headlessui-state="..." attribute
  • Add autoFocus prop on focusable components (which maps to data-autofocus)

Changed

  • Bumped to React and React DOM 18
  • Dialog is focused by default instead of the first focusable element (unless an element exists with a data-autofocus in the dialog)

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)
  • Fix iOS scroll lock glitches

@headlessui/vue@v1.7.16

17 Aug 15:20
Compare
Choose a tag to compare

Fixed

  • Fix form elements for uncontrolled <Listbox multiple> and <Combobox multiple> (#2626)
  • Use correct value when resetting <Listbox multiple> and <Combobox multiple> (#2626)
  • Render <MainTreeNode /> in PopoverGroup component only (#2634)
  • Disable smooth scrolling when opening/closing Dialog components on iOS (#2635)
  • Don't assume <Tab /> components are available when setting the next index (#2642)
  • Improve SSR of the Disclosure component (#2645)
  • Fix incorrectly focused ComboboxInput component on page load (#2654)
  • Improve resetting values when using the nullable prop on the Combobox component (#2660)
  • Prevent scrolling when focusing a tab (#2674)

@headlessui/react@v1.7.17

17 Aug 15:20
Compare
Choose a tag to compare

Fixed

  • Use correct value when resetting <Listbox multiple> and <Combobox multiple> (#2626)
  • Render <MainTreeNode /> in Popover.Group component only (#2634)
  • Disable smooth scrolling when opening/closing Dialog components on iOS (#2635)
  • Don't assume <Tab /> components are available when setting the next index (#2642)
  • Fix incorrectly focused Combobox.Input component on page load (#2654)
  • Ensure appear works using the Transition component (even when used with SSR) (#2646)
  • Improve resetting values when using the nullable prop on the Combobox component (#2660)
  • Fix hydration of components inside <Suspense> (#2663)
  • Prevent scrolling when focusing a tab (#2674)

@headlessui/vue@v1.7.15

27 Jul 14:28
e4fc1b0
Compare
Choose a tag to compare

Fixed

  • Ensure the caret is in a consistent position when syncing the Combobox.Input value (#2568)
  • Improve "outside click" behaviour in combination with 3rd party libraries (#2572)
  • Improve performance of Combobox component (#2574)
  • Ensure IME works on Android devices (#2580)
  • Calculate aria-expanded purely based on the open/closed state (#2610)
  • Submit form on Enter even if no submit-like button was found (#2613)

@headlessui/tailwindcss@v0.2.0

27 Jul 14:29
954a3ac
Compare
Choose a tag to compare

Added

  • Add ui-focus-visible variant to Tailwind plugin (#2347)
  • Add ui-not-focus-visible variant to Tailwind plugin (#2618)