Skip to content

Releases: tailwindlabs/headlessui

@headlessui/[email protected]

03 Mar 20:11
9a7dcfc
Compare
Choose a tag to compare

Fixed

  • Enable native label behavior for <Switch> where possible (#2265)
  • Allow root containers from the Dialog component in the FocusTrap component (#2322)
  • Cleanup internal TypeScript types (#2329)
  • Fix restore focus to buttons in Safari, when Dialog component closes (#2326)
  • Ensure hooks in the FocusTrap component only apply when mounted (#2331)

@headlessui/[email protected]

03 Mar 20:11
df61edc
Compare
Choose a tag to compare

Fixed

  • Ensure Transition component completes if nothing is transitioning (#2318)
  • Enable native label behavior for <Switch> where possible (#2265)
  • Allow root containers from the Dialog component in the FocusTrap component (#2322)
  • Fix XYZPropsWeControl and cleanup internal TypeScript types (#2329)
  • Fix invalid warning when using multiple Popover.Button components inside a Popover.Panel (#2333)
  • Fix restore focus to buttons in Safari, when Dialog component closes (#2326)

@headlessui/[email protected]

24 Feb 15:30
7794d56
Compare
Choose a tag to compare

Fixed

  • Ensure the main tree and parent Dialog components are marked as inert (#2290)
  • Fix nested Popover components not opening (#2293)
  • Fix change event incorrectly getting called on blur (#2296)
  • Fix Dialog cleanup when the Dialog becomes hidden (#2303)

@headlessui/[email protected]

24 Feb 15:30
885f446
Compare
Choose a tag to compare

Added

  • Add explicit props types for every component (#2282)

Fixed

  • Ensure the main tree and parent Dialog components are marked as inert (#2290)
  • Fix nested Popover components not opening (#2293)
  • Make React types more compatible with other libraries (#2282)
  • Fix Dialog cleanup when the Dialog becomes hidden (#2303)

@headlessui/[email protected]

15 Feb 14:13
d6d6c20
Compare
Choose a tag to compare

Fixed

  • Don’t fire afterLeave event more than once for a given transition (#2267)
  • Move aria-multiselectable to [role=listbox] in the Combobox component (#2271)
  • Re-focus Combobox.Input when a Combobox.Option is selected (#2272)
  • Ensure we reset the activeOptionIndex if the active option is unmounted (#2274)
  • Start cleanup phase of the Dialog component when going into the Closing state (#2264)

@headlessui/[email protected]

15 Feb 14:13
2c2a22b
Compare
Choose a tag to compare

Fixed

  • Ensure we handle null values for the dataRef correctly (#2258)
  • Move aria-multiselectable to [role=listbox] in the Combobox component (#2271)
  • Re-focus Combobox.Input when a Combobox.Option is selected (#2272)
  • Ensure we reset the activeOptionIndex if the active option is unmounted (#2274)
  • Improve Ref type for forwarded Switch's ref (#2277)
  • Start cleanup phase of the Dialog component when going into the Closing state (#2264)

@headlessui/[email protected]

06 Feb 11:34
597256b
Compare
Choose a tag to compare

Fixed

  • Revert "Use the import * as React from 'react' pattern (#2242)

@headlessui/[email protected]

03 Feb 16:41
fc908a1
Compare
Choose a tag to compare

Fixed

  • Don't break overflow when multiple dialogs are open at the same time (#2215)

@headlessui/[email protected]

03 Feb 16:42
885fa6a
Compare
Choose a tag to compare

Fixed

  • Fix SSR tab hydration when using Strict Mode in development (#2231)
  • Don't break overflow when multiple dialogs are open at the same time (#2215)
  • Fix "This Suspense boundary received an update before it finished hydrating" error in the Disclosure component (#2238)
  • Use the import * as React from 'react' pattern (#2242)

@headlessui/[email protected]

27 Jan 16:26
63fb14d
Compare
Choose a tag to compare

Fixed

  • Ensure disabled="false" is not incorrectly passed to the underlying DOM Node (#2138)
  • Fix arrow key handling in Tab (after DOM order changes) (#2145)
  • Fix Tab key with non focusable elements in Popover.Panel (#2147)
  • Don’t overwrite classes during SSR when rendering fragments (#2173)
  • Improve Combobox accessibility (#2153)
  • Fix crash when reading headlessuiFocusGuard of relatedTarget in the FocusTrap component (#2203)
  • Fix FocusTrap in Dialog when there is only 1 focusable element (#2172)
  • Improve Tabs wrapping around when controlling the component and overflowing the selectedIndex (#2213)
  • Fix shadow-root bug closing Dialog containers (#2217)

Added

  • Allow setting tabIndex on the Tab.Panel (#2214)

Changed

  • Adjust SSR detection mechanism (#2102)