chore(deps): update dependency @headlessui/react to v2.2.9#700
chore(deps): update dependency @headlessui/react to v2.2.9#700renovate[bot] wants to merge 1 commit intomainfrom
Conversation
|
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
c96d67a to
5476faf
Compare
5476faf to
19f1ff2
Compare
f0e2c88 to
6610eaf
Compare
6610eaf to
263c636
Compare
263c636 to
61c8bb9
Compare
| '@headlessui/react': | ||
| specifier: 1.7.17 | ||
| version: 1.7.17(react-dom@18.3.1(react@18.3.1))(react@18.3.1) | ||
| version: 2.2.9(react-dom@18.3.1(react@18.3.1))(react@18.3.1) |
There was a problem hiding this comment.
The lock file is resolving @headlessui/react to version 2.2.9 for packages that explicitly depend on version 1.7.17, creating a major version mismatch that will cause runtime failures.
View Details
📝 Patch Details
diff --git a/packages/nameguard-react/src/components/Search/SearchModal.tsx b/packages/nameguard-react/src/components/Search/SearchModal.tsx
index b693c10..2506ca1 100644
--- a/packages/nameguard-react/src/components/Search/SearchModal.tsx
+++ b/packages/nameguard-react/src/components/Search/SearchModal.tsx
@@ -39,7 +39,7 @@ export const SearchModal = () => {
leaveFrom="opacity-100"
leaveTo="opacity-0"
>
- <Dialog.Overlay className="fixed inset-0 bg-black/50 backdrop-blur-sm" />
+ <div className="fixed inset-0 bg-black/50 backdrop-blur-sm" />
</Transition.Child>
<div className="fixed inset-0 z-20 overflow-y-auto">
Analysis
pnpm resolves @headlessui/react to v2.2.9 instead of specified v1.7.17, breaking Dialog.Overlay usage
What fails: packages/nameguard-react and packages/namekit-react specify @headlessui/react@1.7.17 but pnpm-lock.yaml resolves to v2.2.9, causing runtime failures when SearchModal component uses Dialog.Overlay
How to reproduce:
pnpm install
# Check resolved version:
cd packages/nameguard-react && node -e "console.log(require('@headlessui/react/package.json').version)"
# Returns: 2.2.9 (should be 1.7.17)Result: Runtime error when Dialog.Overlay is rendered - component is undefined in HeadlessUI v2.x. SearchModal.tsx line 41 uses <Dialog.Overlay> which was removed in v2.0.
Expected: packages should receive v1.7.17 as specified, or code should be updated to use v2 API with DialogBackdrop
This PR contains the following updates:
2.2.0→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)Configuration
📅 Schedule: Branch creation - "before 4am on the first day of the month" (UTC), 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.