fix(deps): update dependency @headlessui/react to v2 #529
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.13
->^2.0.0
Release Notes
tailwindlabs/headlessui (@headlessui/react)
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
anchor="selection"
positioning (#3324)ComboboxOptions
to useany
instead ofunknown
(#3327)Transition
boundary forDialog
component (#3331)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 using<PortalGroup>
) (#3239)defaultValue
is used (#3240)Deprecated
SwitchGroup
as deprecated, preferField
instead (#3232)Changed
fieldset
instead ofdiv
by default for<Fieldset />
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>
and<DialogTitle>
(#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)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)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.