chore(deps): update dependency @headlessui/react to v2 #2017
+1,136
−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.9
Release Notes
tailwindlabs/headlessui (@headlessui/react)
v2.2.9
Compare Source
Fixed
Combobox
when touching theComboboxButton
while dragging on mobile (#3795)Dialog
components are scrollable on mobile (#3796)Combobox
type based ononChange
handler (#3798)ComboboxInput
whenCombobox
is closed (#3798)Dialog
on iOS works after interacting with a disallowed area (#3801)v2.2.8
Compare Source
Fixed
static
prop is used (#3779)onChange
types are contravariant instead of bivariant (#3781)<summary>
as a focusable element inside<details>
(#3389)Maximum update depth exceeded
crash when usingtransition
prop (#3782)Tab
in theComboboxInput
, correctly syncs the input value (#3785)--button-width
and--input-width
have the latest value (#3786)data-headlessui-state
supplied toReact.Fragment
' warning (#3788)element
inref
callback is always connected when rendering in aPortal
(#3789)data-open
onComboboxInput
is up to date (#3791)immediate
prop value on theCombobox
component works as expected (#3792)v2.2.7
Compare Source
Fixed
.click()
onMenuButton
ref works (#3768)v2.2.6
Compare Source
Fixed
v2.2.5
Compare Source
Fixed
v2.2.4
Compare Source
Fixed
Combobox
error (unexpected undefined) when using virtual mode (#3734)v2.2.3
Compare Source
Added
Menu
,Listbox
andCombobox
components (#3700)Fixed
Label
component should open<Input type="file">
(#3707)Label
component works (#3709)Listbox
not focusing first or last option on ArrowUp / ArrowDown (#3721)Menu
inside aDialog
(#3722)Menu
when otherMenu
is opened (#3726)v2.2.2
Compare Source
Fixed
Menu
component performance (#3685)Listbox
component performance (#3688)Menu
andListbox
onmousedown
(#3689)Transition
component from incorrectly exposing theClosing
state (#3696)Combobox
component performance (#3697)v2.2.1
Compare Source
Added
tabIndex
on theCheckbox
component (#3645)tabIndex
on theRadioGroup
component (#3646)Fixed
ownerDocument
when using internalPortal
component (#3594)@tanstack/react-virtual
to fix warnings in React 19 projects (#3588)aria-invalid
attributes to have a valid'true'
value (#3639)invalid
prop toCombobox
component (#3677)Unexpected undefined
crash inCombobox
component withvirtual
mode (#3678)v2.2.0
Compare Source
Added
v2.1.10
Compare Source
Fixed
React.JSX
instead of deprecated globalJSX
(#3511)ListboxOptions
when usingas={Fragment}
(#3513)v2.1.9
Compare Source
Fixed
Element
is available before polyfilling to prevent crashes in non-browser environments (#3493)instanceof HTMLElement
in some environments (#3494)process
in Combobox component when using virtualization (#3495)v2.1.8
Compare Source
Fixed
as={Fragment}
onMenuButton
,ListboxButton
,DisclosureButton
orButton
components (#3478)v2.1.7
Compare Source
Fixed
Element.prototype.getAnimations
is not available (#3473)v2.1.6
Compare Source
Fixed
ListboxOptions
being incorrectly marked asinert
(#3466)DisclosureButton
inside of aDisclosurePanel
when theDisclosure
is open by default (#3465)v2.1.5
Compare Source
Fixed
PopoverButton
in rapid succession (#3452)v2.1.4
Compare Source
Fixed
transition
prop (#3448)v2.1.3
Compare Source
Fixed
Transition
component state doesn't change when it becomes hidden (#3372)transition
prop, and after scrolling the page (#3407)v2.1.2
Compare Source
Fixed
ListboxOptions
(#3337)unmount
onDialog
works in combination with thetransition
prop onDialogBackdrop
andDialogPanel
components (#3352)Combobox
component when invirtual
mode when options are empty (#3356)anchor
prop (#3357)transition
andfocus
prop combination forPopoverPanel
component (#3361)Popover
components (#3362)Dialog
component (#3365)flushSync
warning forCombobox
component withimmediate
prop enabled (#3366)v2.1.1
Compare Source
Fixed
React.JSX
instead of deprecated globalJSX
(#3511)ListboxOptions
when usingas={Fragment}
(#3513)v2.1.0
Compare Source
Added
Dialog
components at once (without nesting them) (#3242)DialogBackdrop
component (#3307, #3310)PopoverBackdrop
component to replacePopoverOverlay
(#3308)Fixed
Combobox
open when clicking scrollbar inComboboxOptions
(#3249)ComboboxInput
does not sync with current value while typing (#3259)Combobox
component when using native scrollbar (#3190)ComboboxOptions
while closing (#3304)style
prop onComboboxOptions
,ListboxOptions
,MenuItems
, andPopoverPanel
components (#3250)Checkbox
when it isdisabled
(#3251)useId
instead of React internals (for React 19 compatibility) (#3254)Transition
andTransitionChild
components (#3303)Changed
Tab
andShift+Tab
keys when theListbox
component is open (#3284)v2.0.4
Compare Source
Fixed
Escape
to close theDialog
component (#3218)virtual
and non-virtual mode inCombobox
component (#3236)PopoverPanel
component moves focus inside (without usingPortalGroup
) (#3239)defaultValue
is used (#3240)Deprecated
SwitchGroup
as deprecated, preferField
instead (#3232)Changed
fieldset
instead ofdiv
by default forFieldset
component (#3237)v2.0.3
Compare Source
Fixed
Combobox
works (#3182)v2.0.2
Compare Source
Fixed
useInertOthers
hook (#3181)v2.0.1
Compare Source
Fixed
DialogPanel
andDialogTitle
(#3176)v2.0.0
Compare Source
Added
Checkbox
component (#2887, #2962)Button
component (#2887)Input
component (#2887, #2902, #2940)Textarea
component (#2887, #2902, #2940)Select
component (#2887, #2902)Fieldset
andLegend
components (#2887)Field
,Label
, andDescription
components (#2887, #2941)MenuSection
,MenuHeading
, andMenuSeparator
components (#2887)ListboxSelectedOption
component (#2887)DataInteractive
component (#2887)CloseButton
component anduseClose
hook (#3096)anchor
,modal
, andportal
props toCombobox
,Listbox
,Menu
andPopover
components (#2887, #3075, #3097, #3111, #3115, #3121, #3124, #3133, #3138, #3148, #3152, #3154, #3157)autoFocus
prop to focusable components (#2887)virtual
prop toCombobox
component (#2779, #3128, #3160, #3161, #3163)onClose
prop toCombobox
component (#3122)immediate
prop toCombobox
for immediately opening the Combobox when theinput
receives focus (#2686)--button-width
CSS variable on theListboxOptions
,MenuItems
, andPopoverPanel
components (#2887, #3058)--input-width
and--button-width
CSS variables on theComboboxOptions
component (#3057)data-*
attributes as an alternative to the existingdata-headlessui-state
attribute (#2887, #3035, #3061)Fixed
disabled
oraria-disabled
attributes (#2890)displayValue
callback inComboboxInput
component (#3048)multiple
prop inCombobox
component (#3099)ComboboxInput
component (#3065, #3073)Transition
component (#3074)ListboxOptions
andMenuItems
components (#3112)Dialog
component (#2889)touchmove
oninput
elements inside a dialog (#3166)Changed
Checkbox
,Switch
, andRadioGroup
components (#3095)RadioGroup.Option
component in favor of newRadio
component (#2887)active
prop in favor of newfocus
prop (#2887)ListboxOptions
,ListboxOption
,ComboboxOptions
,ComboboxOption
, andTabGroup
components (#3109)div
toFragment
onTransition
components (#3110, #3147)Combobox
component to have anull
value (#3064, #3100)ListboxButton
component (#2972)entered
prop on theTransition
component (#3089)ComboboxOptions
component (#3126)DialogBackdrop
andDialogOverlay
components (#3171)v1.7.19
Compare Source
Fixed
disabled
state onTab
component (#2918)Dialog.Panel
(#2919)hidden
attribute to internalHidden
component when theFeatures.Hidden
feature is used (#2955)tabIndex
on theSwitch
component (#2966)disabled
state to hidden inputs in form-like components (#3004)selectedIndex
for controlledTab
components (#3037)v1.7.18
Compare Source
Fixed
Dialog
'sonClose
twice on mobile devices (#2690)Dialog
(#2697)Tab.Panel
components are hidden from the accessibility tree (#2708)role="alertdialog"
toDialog
component (#2709)Combobox.Input
component closes theCombobox
(#2712)className
prop when theTransition
component is currently not transitioning (#2722)Disclosure.Panel
andPopover.Panel
whenas={Fragment}
(#2760)Listbox
component in Chrome (#2824)v1.7.17
Compare Source
Fixed
<Listbox multiple>
and<Combobox multiple>
(#2626)MainTreeNode
inPopover.Group
component only (#2634)Dialog
components on iOS (#2635)Tab
components are available when setting the next index (#2642)Combobox.Input
component on page load (#2654)appear
works using theTransition
component (even when used with SSR) (#2646)nullable
prop on theCombobox
component (#2660)Suspense
(#2663)v1.7.16
Compare Source
Fixed
Combobox.Input
value (#2568)aria-expanded
purely based on the open/closed state (#2610)Enter
even if no submit-like button was found (#2613)v1.7.15
Compare Source
Added
Menu
andPopover
components (#2448)Fixed
FocusTrap
is only active when the givenenabled
value istrue
(#2456)<Transition appear>
from overwriting classes on re-render (#2457)Menu
andListbox
options while searching (#2471)Portal
component, does not close thePopover
component (#2492)Changed
types
condition to the front (#2469)v1.7.14
Compare Source
Fixed
Transition
component (#2374)FocusTrap
event listeners once document has loaded (#2389)className
hydration for<Transition appear>
(#2390)Combobox
types to improve false positives (#2411)className
correctly when it’s a function (#2412)Combobox.Input
(#2426)Added
form
prop to form-like components such asRadioGroup
,Switch
,Listbox
, andCombobox
(#2356)v1.7.13
Compare Source
Fixed
Transition
component completes if nothing is transitioning (#2318)Switch
where possible (#2265)Dialog
component in theFocusTrap
component (#2322)XYZPropsWeControl
and cleanup internal TypeScript types (#2329)Popover.Button
components inside aPopover.Panel
(#2333)Dialog
component 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.