chore(deps): update dependency @headlessui/react to v2 #2017
+1,137
−2,537
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.7.12->2.2.9Release Notes
tailwindlabs/headlessui (@headlessui/react)
v2.2.9Compare Source
Fixed
Comboboxwhen touching theComboboxButtonwhile dragging on mobile (#3795)Dialogcomponents are scrollable on mobile (#3796)Comboboxtype based ononChangehandler (#3798)ComboboxInputwhenComboboxis closed (#3798)Dialogon iOS works after interacting with a disallowed area (#3801)v2.2.8Compare Source
Fixed
staticprop is used (#3779)onChangetypes are contravariant instead of bivariant (#3781)<summary>as a focusable element inside<details>(#3389)Maximum update depth exceededcrash when usingtransitionprop (#3782)Tabin theComboboxInput, correctly syncs the input value (#3785)--button-widthand--input-widthhave the latest value (#3786)data-headlessui-statesupplied toReact.Fragment' warning (#3788)elementinrefcallback is always connected when rendering in aPortal(#3789)data-openonComboboxInputis up to date (#3791)immediateprop value on theComboboxcomponent works as expected (#3792)v2.2.7Compare Source
Fixed
.click()onMenuButtonref works (#3768)v2.2.6Compare Source
Fixed
v2.2.5Compare Source
Fixed
v2.2.4Compare Source
Fixed
Comboboxerror (unexpected undefined) when using virtual mode (#3734)v2.2.3Compare Source
Added
Menu,ListboxandComboboxcomponents (#3700)Fixed
Labelcomponent should open<Input type="file">(#3707)Labelcomponent works (#3709)Listboxnot focusing first or last option on ArrowUp / ArrowDown (#3721)Menuinside aDialog(#3722)Menuwhen otherMenuis opened (#3726)v2.2.2Compare Source
Fixed
Menucomponent performance (#3685)Listboxcomponent performance (#3688)MenuandListboxonmousedown(#3689)Transitioncomponent from incorrectly exposing theClosingstate (#3696)Comboboxcomponent performance (#3697)v2.2.1Compare Source
Added
tabIndexon theCheckboxcomponent (#3645)tabIndexon theRadioGroupcomponent (#3646)Fixed
ownerDocumentwhen using internalPortalcomponent (#3594)@tanstack/react-virtualto fix warnings in React 19 projects (#3588)aria-invalidattributes to have a valid'true'value (#3639)invalidprop toComboboxcomponent (#3677)Unexpected undefinedcrash inComboboxcomponent withvirtualmode (#3678)v2.2.0Compare Source
Added
v2.1.10Compare Source
Fixed
React.JSXinstead of deprecated globalJSX(#3511)ListboxOptionswhen usingas={Fragment}(#3513)v2.1.9Compare Source
Fixed
Elementis available before polyfilling to prevent crashes in non-browser environments (#3493)instanceof HTMLElementin some environments (#3494)processin Combobox component when using virtualization (#3495)v2.1.8Compare Source
Fixed
as={Fragment}onMenuButton,ListboxButton,DisclosureButtonorButtoncomponents (#3478)v2.1.7Compare Source
Fixed
Element.prototype.getAnimationsis not available (#3473)v2.1.6Compare Source
Fixed
ListboxOptionsbeing incorrectly marked asinert(#3466)DisclosureButtoninside of aDisclosurePanelwhen theDisclosureis open by default (#3465)v2.1.5Compare Source
Fixed
PopoverButtonin rapid succession (#3452)v2.1.4Compare Source
Fixed
transitionprop (#3448)v2.1.3Compare Source
Fixed
Transitioncomponent state doesn't change when it becomes hidden (#3372)transitionprop, and after scrolling the page (#3407)v2.1.2Compare Source
Fixed
ListboxOptions(#3337)unmountonDialogworks in combination with thetransitionprop onDialogBackdropandDialogPanelcomponents (#3352)Comboboxcomponent when invirtualmode when options are empty (#3356)anchorprop (#3357)transitionandfocusprop combination forPopoverPanelcomponent (#3361)Popovercomponents (#3362)Dialogcomponent (#3365)flushSyncwarning forComboboxcomponent withimmediateprop enabled (#3366)v2.1.1Compare Source
Fixed
React.JSXinstead of deprecated globalJSX(#3511)ListboxOptionswhen usingas={Fragment}(#3513)v2.1.0Compare Source
Added
Dialogcomponents at once (without nesting them) (#3242)DialogBackdropcomponent (#3307, #3310)PopoverBackdropcomponent to replacePopoverOverlay(#3308)Fixed
Comboboxopen when clicking scrollbar inComboboxOptions(#3249)ComboboxInputdoes not sync with current value while typing (#3259)Comboboxcomponent when using native scrollbar (#3190)ComboboxOptionswhile closing (#3304)styleprop onComboboxOptions,ListboxOptions,MenuItems, andPopoverPanelcomponents (#3250)Checkboxwhen it isdisabled(#3251)useIdinstead of React internals (for React 19 compatibility) (#3254)TransitionandTransitionChildcomponents (#3303)Changed
TabandShift+Tabkeys when theListboxcomponent is open (#3284)v2.0.4Compare Source
Fixed
Escapeto close theDialogcomponent (#3218)virtualand non-virtual mode inComboboxcomponent (#3236)PopoverPanelcomponent moves focus inside (without usingPortalGroup) (#3239)defaultValueis used (#3240)Deprecated
SwitchGroupas deprecated, preferFieldinstead (#3232)Changed
fieldsetinstead ofdivby default forFieldsetcomponent (#3237)v2.0.3Compare Source
Fixed
Comboboxworks (#3182)v2.0.2Compare Source
Fixed
useInertOthershook (#3181)v2.0.1Compare Source
Fixed
DialogPanelandDialogTitle(#3176)v2.0.0Compare Source
Added
Checkboxcomponent (#2887, #2962)Buttoncomponent (#2887)Inputcomponent (#2887, #2902, #2940)Textareacomponent (#2887, #2902, #2940)Selectcomponent (#2887, #2902)FieldsetandLegendcomponents (#2887)Field,Label, andDescriptioncomponents (#2887, #2941)MenuSection,MenuHeading, andMenuSeparatorcomponents (#2887)ListboxSelectedOptioncomponent (#2887)DataInteractivecomponent (#2887)CloseButtoncomponent anduseClosehook (#3096)anchor,modal, andportalprops toCombobox,Listbox,MenuandPopovercomponents (#2887, #3075, #3097, #3111, #3115, #3121, #3124, #3133, #3138, #3148, #3152, #3154, #3157)autoFocusprop to focusable components (#2887)virtualprop toComboboxcomponent (#2779, #3128, #3160, #3161, #3163)onCloseprop toComboboxcomponent (#3122)immediateprop toComboboxfor immediately opening the Combobox when theinputreceives focus (#2686)--button-widthCSS variable on theListboxOptions,MenuItems, andPopoverPanelcomponents (#2887, #3058)--input-widthand--button-widthCSS variables on theComboboxOptionscomponent (#3057)data-*attributes as an alternative to the existingdata-headlessui-stateattribute (#2887, #3035, #3061)Fixed
disabledoraria-disabledattributes (#2890)displayValuecallback inComboboxInputcomponent (#3048)multipleprop inComboboxcomponent (#3099)ComboboxInputcomponent (#3065, #3073)Transitioncomponent (#3074)ListboxOptionsandMenuItemscomponents (#3112)Dialogcomponent (#2889)touchmoveoninputelements inside a dialog (#3166)Changed
Checkbox,Switch, andRadioGroupcomponents (#3095)RadioGroup.Optioncomponent in favor of newRadiocomponent (#2887)activeprop in favor of newfocusprop (#2887)ListboxOptions,ListboxOption,ComboboxOptions,ComboboxOption, andTabGroupcomponents (#3109)divtoFragmentonTransitioncomponents (#3110, #3147)Comboboxcomponent to have anullvalue (#3064, #3100)ListboxButtoncomponent (#2972)enteredprop on theTransitioncomponent (#3089)ComboboxOptionscomponent (#3126)DialogBackdropandDialogOverlaycomponents (#3171)v1.7.19Compare Source
Fixed
disabledstate onTabcomponent (#2918)Dialog.Panel(#2919)hiddenattribute to internalHiddencomponent when theFeatures.Hiddenfeature is used (#2955)tabIndexon theSwitchcomponent (#2966)disabledstate to hidden inputs in form-like components (#3004)selectedIndexfor controlledTabcomponents (#3037)v1.7.18Compare Source
Fixed
Dialog'sonClosetwice on mobile devices (#2690)Dialog(#2697)Tab.Panelcomponents are hidden from the accessibility tree (#2708)role="alertdialog"toDialogcomponent (#2709)Combobox.Inputcomponent closes theCombobox(#2712)classNameprop when theTransitioncomponent is currently not transitioning (#2722)Disclosure.PanelandPopover.Panelwhenas={Fragment}(#2760)Listboxcomponent in Chrome (#2824)v1.7.17Compare Source
Fixed
<Listbox multiple>and<Combobox multiple>(#2626)MainTreeNodeinPopover.Groupcomponent only (#2634)Dialogcomponents on iOS (#2635)Tabcomponents are available when setting the next index (#2642)Combobox.Inputcomponent on page load (#2654)appearworks using theTransitioncomponent (even when used with SSR) (#2646)nullableprop on theComboboxcomponent (#2660)Suspense(#2663)v1.7.16Compare Source
Fixed
Combobox.Inputvalue (#2568)aria-expandedpurely based on the open/closed state (#2610)Entereven if no submit-like button was found (#2613)v1.7.15Compare Source
Added
MenuandPopovercomponents (#2448)Fixed
FocusTrapis only active when the givenenabledvalue istrue(#2456)<Transition appear>from overwriting classes on re-render (#2457)MenuandListboxoptions while searching (#2471)Portalcomponent, does not close thePopovercomponent (#2492)Changed
typescondition to the front (#2469)v1.7.14Compare Source
Fixed
Transitioncomponent (#2374)FocusTrapevent listeners once document has loaded (#2389)classNamehydration for<Transition appear>(#2390)Comboboxtypes to improve false positives (#2411)classNamecorrectly when it’s a function (#2412)Combobox.Input(#2426)Added
formprop to form-like components such asRadioGroup,Switch,Listbox, andCombobox(#2356)v1.7.13Compare Source
Fixed
Transitioncomponent completes if nothing is transitioning (#2318)Switchwhere possible (#2265)Dialogcomponent in theFocusTrapcomponent (#2322)XYZPropsWeControland cleanup internal TypeScript types (#2329)Popover.Buttoncomponents inside aPopover.Panel(#2333)Dialogcomponent closes (#2326)Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.