-
Notifications
You must be signed in to change notification settings - Fork 0
Update dependency @headlessui/react to v2 #12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
🚨 gitStream Monthly Automation Limit Reached 🚨 Your organization has exceeded the number of pull requests allowed for automation with gitStream. To continue automating your PR workflows and unlock additional features, please contact LinearB. |
Reviewer's GuideThis PR upgrades @headlessui/react from v1.x to v2.x by updating the package specifier and fully regenerating the pnpm lockfile with new resolutions, peer ranges, and required sub-dependencies. Sequence Diagram: Improved Menu Opening Interaction in @headlessui/react v2sequenceDiagram
actor User
participant MenuButton_v2 as "MenuButton (@headlessui/react v2)"
participant MenuComponent_v2 as "Menu Component (@headlessui/react v2)"
User->>MenuButton_v2: Mousedown event (initiates open)
activate MenuButton_v2
MenuButton_v2->>MenuComponent_v2: Trigger open action
deactivate MenuButton_v2
activate MenuComponent_v2
MenuComponent_v2-->>User: Displays menu items (improved performance)
deactivate MenuComponent_v2
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Join our Discord community for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
CI Feedback 🧐A test triggered by this PR failed. Here is an AI-generated analysis of the failure:
|
2e97d13
to
f8386e9
Compare
🚨 gitStream Monthly Automation Limit Reached 🚨 Your organization has exceeded the number of pull requests allowed for automation with gitStream. To continue automating your PR workflows and unlock additional features, please contact LinearB. |
f8386e9
to
372fd42
Compare
This PR contains the following updates:
^1.7.17
->^2.0.0
Release Notes
tailwindlabs/headlessui (@headlessui/react)
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)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.