Packages

@headlessui/react

2.2.10 · 7 Apr 2026MIT10.3M / weekRepositoryHomepagenpmAtom feed

Upgrading @headlessui/react From 1.7.8 to 1.7.19

11 releases in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 1.7.8Latest2.2.10
  1. 1.7.8yours
  2. 10 releases
  3. 1.7.19target
0
changes to make
0
advisories fixed
6
new
62
fixes

Release by release

  1. 1.7.19

    15 Apr 20241 new · 6 fixes
    • New

      Add hidden attribute to internal Hidden component when the Features.Hidden feature is used

    • Fixed

      Make sure panels re-register when IDs are calculated in React < 18

    • Fixed

      Expose disabled state on Tab component

    • Fixed

      Prevent default behaviour when clicking outside of a Dialog.Panel

    • Fixed

      Allow setting custom tabIndex on the Switch component

    • Fixed

      Forward disabled state to hidden inputs in form-like components

    • Fixed

      Respect selectedIndex for controlled Tab components

  2. 1.7.18

    8 Jan 20241 new · 12 fixes
    • New

      Add support for role="alertdialog" to <Dialog> component

    • Fixed

      Don't call <Dialog>'s onClose twice on mobile devices

    • Fixed

      Lazily resolve default containers in <Dialog>

    • Fixed

      Ensure hidden Tab.Panel components are hidden from the accessibility tree

  3. 1.7.17

    17 Aug 20239 fixes
    • Fixed

      Use correct value when resetting <Listbox multiple> and <Combobox multiple>

    • Fixed

      Render <MainTreeNode /> in Popover.Group component only

    • Fixed

      Disable smooth scrolling when opening/closing Dialog components on iOS

    • Fixed

      Don't assume <Tab /> components are available when setting the next index

  4. 1.7.16

    27 Jul 20235 fixes
    • Fixed

      Ensure the caret is in a consistent position when syncing the Combobox.Input value

    • Fixed

      Improve "outside click" behaviour in combination with 3rd party libraries

    • Fixed

      Ensure IME works on Android devices

    • Fixed

      Calculate aria-expanded purely based on the open/closed state

    • Fixed

      Submit form on Enter even if no submit-like button was found

  5. 1.7.15

    1 Jun 20231 new · 5 fixes
    • New

      Add demo mode to Menu and Popover components

    • Fixed

      Ensure FocusTrap is only active when the given enabled value is true

    • Fixed

      Stop <Transition appear> from overwriting classes on re-render

    • Fixed

      Improve control over Menu and Listbox options while searching

    • Fixed

      Consider clicks inside iframes to be "outside"

    • Fixed

      Ensure moving focus within a Portal component, does not close the Popover component

  6. 1.7.14

    12 Apr 20232 new · 5 fixes
    • New

      Add FocusTrap event listeners once document has loaded

    • New

      Add form prop to form-like components such as RadioGroup, Switch, Listbox, and Combobox

    • Fixed

      Fix focus styles showing up when using the mouse

    • Fixed

      Fix "Can't perform a React state update on an unmounted component." when using the Transition component

    • Fixed

      Fix className hydration for <Transition appear>

    • Fixed

      Improve Combobox types to improve false positives

    • Fixed

      Merge className correctly when it’s a function

  7. 1.7.13

    3 Mar 20236 fixes
    • Fixed

      Ensure Transition component completes if nothing is transitioning

    • Fixed

      Enable native label behavior for <Switch> where possible

    • Fixed

      Allow root containers from the Dialog component in the FocusTrap component

    • Fixed

      Fix XYZPropsWeControl and cleanup internal TypeScript types

    • Fixed

      Fix invalid warning when using multiple Popover.Button components inside a Popover.Panel

    • Fixed

      Fix restore focus to buttons in Safari, when Dialog component closes

  8. 1.7.12

    24 Feb 20231 new · 4 fixes
    • New

      Add explicit props types for every component

    • Fixed

      Ensure the main tree and parent Dialog components are marked as inert

    • Fixed

      Fix nested Popover components not opening

    • Fixed

      Make React types more compatible with other libraries

    • Fixed

      Fix Dialog cleanup when the Dialog becomes hidden

2 other lines we could not sort, mostly version bumps
  • Move types condition to the front

    1.7.15
  • Revert "Use the import * as React from 'react' pattern

    1.7.10

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.