Skip to content

Releases: tailwindlabs/headlessui

@headlessui/react@v1.7.14

12 Apr 17:10
c5d2e3b
Compare
Choose a tag to compare

Fixed

  • Fix focus styles showing up when using the mouse (#2347)
  • Fix "Can't perform a React state update on an unmounted component." when using the Transition component (#2374)
  • Add FocusTrap event listeners once document has loaded (#2389)
  • Fix className hydration for <Transition appear> (#2390)
  • Improve Combobox types to improve false positives (#2411)
  • Merge className correctly when it’s a function (#2412)

Added

  • Add form prop to form-like components such as RadioGroup, Switch, Listbox, and Combobox (#2356)

@headlessui/vue@v1.7.12

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

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/vue@v1.7.11

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

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/vue@v1.7.10

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

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

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

Fixed

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

@headlessui/vue@v1.7.9

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

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)