chore(deps): update dependency @nuxt/ui to v4#440
Conversation
Review or Edit in CodeSandboxOpen the branch in Web Editor • VS Code • Insiders |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
33d4034 to
648ffb5
Compare
648ffb5 to
b238ffe
Compare
b238ffe to
38207d6
Compare
38207d6 to
9ac71a9
Compare
9ac71a9 to
cec4627
Compare
cec4627 to
439de80
Compare
439de80 to
dae1616
Compare
dae1616 to
1f79ae0
Compare
1f79ae0 to
4bd0a9f
Compare
4bd0a9f to
361d67a
Compare
361d67a to
16bb00f
Compare
16bb00f to
d53599c
Compare
53c93c1 to
c87e4f4
Compare
c87e4f4 to
0bfa9c8
Compare
0bfa9c8 to
79f3b65
Compare
79f3b65 to
6424447
Compare
6424447 to
8332e56
Compare
8332e56 to
0e27ac4
Compare
0e27ac4 to
ba679d6
Compare
ba679d6 to
e4d2199
Compare
e4d2199 to
3d62cd9
Compare
3d62cd9 to
f7df8e3
Compare
f7df8e3 to
cd4e802
Compare
cd4e802 to
1254417
Compare
1254417 to
b7371e2
Compare
b7371e2 to
54f3830
Compare
There was a problem hiding this comment.
Additional Suggestion:
The popover configuration using the popper key is incompatible with @nuxt/ui v4, which switched from Popper.js to Floating UI. This configuration needs to be updated to use the new Floating UI API.
View Details
📝 Patch Details
diff --git a/app/app.config.ts b/app/app.config.ts
index b076b95..1fe68f4 100644
--- a/app/app.config.ts
+++ b/app/app.config.ts
@@ -24,10 +24,5 @@ export default defineAppConfig({
md: 'text-base px-2 py-1',
},
},
- popover: {
- popper: {
- placement: 'bottom-start',
- },
- },
},
})
Analysis
Incompatible popover configuration in app.config.ts for Nuxt UI v4
What fails: TypeScript compilation error in app/app.config.ts line 28: the popper key is not recognized by Nuxt UI v4's popover component schema
How to reproduce:
pnpm install
pnpm run buildResult:
app/app.config.ts(28,7): error TS2353: Object literal may only specify known properties, and 'popper' does not exist in type '{ slots?: { content?: ClassNameValue; arrow?: ClassNameValue; } | undefined; } & { compoundVariants?: ... }'.
Expected: Build should complete successfully. The popper key was specific to Nuxt UI's old Popper.js integration. Nuxt UI v4 migrated to Floating UI and no longer supports the popper configuration in app.config.
Per Nuxt UI v4 Popover documentation, positioning options like placement should be configured via the component's content prop (e.g., ), not in app.config. The app.config.ui.popover section should only contain styling via slots properties.
Fix: Removed the popper configuration block from app/app.config.ts lines 27-31. The default Floating UI positioning (side: 'bottom', align: 'start') matches the previous bottom-start placement, so no functionality is lost.
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
This PR contains the following updates:
^2.22.3→^4.7.0Release Notes
nuxt/ui (@nuxt/ui)
v4.7.0Compare Source
Features
separatorslot (#6305) (81c7ddb)titleanddescriptionprops (3cf7d75), closes #6001group-labelslot (#6329) (7fc773c)searchDelayprop (7d2af05)@nuxtjs/i18nis installed (#5537) (92cfda0)autoResizemethod (#6120) (9c5c0df)Bug Fixes
leading-nonefrom fallback (#6383) (77ce09a)disabledprop when status is notready(600a2ca)defaultVariantsin template logic (#6361) (75b37d0)colorandhighlightinstead of raw props (bb5a9ed)v-showand$elresolution (#6310) (2c4ff35)tagPriorityfor inline style tags (#6299) (ae693d0)codeprop is missing (#6333) (b808ce4)item-alignedposition mode (#6358) (255807a)v4.6.1Compare Source
Bug Fixes
part.statefor streaming detection and deprecateisReasoningStreaming(d2d7543)collapsed: falsein mobile menu slots (957a0f5), closes #6157reka-uito prevent injection errors (#6286) (b822c43)v4.6.0Compare Source
⚠ BREAKING CHANGES
moduleDependenciesto manipulate options (#5384)Features
filesslot (12d6020)trueValue/falseValueprops (#6150) (91c6356)highlight-variantprop (#5746) (df080ce)filterprop (#6153) (a529b43)fileImageprop (#5935) (40f9c2e)autocompleteprop (#6026) (ee8a248)rangeprop (#6203) (c124f29)moduleDependenciesto manipulate options (#5384) (dd3f5c5)Bug Fixes
liftcalls for unavailable list extensions (#6100) (065db6b)statusandstatusTextproperties (1350d62), closes #6134close:preventemit (#6226) (9a0d501)v4.5.1Compare Source
Bug Fixes
stroke-defaultandfill-bg(#6095) (0e9198e)transformUIfrom mutating cacheduseComponentUIvalue (286738a), closes #6104 #4387isArrayOfArraytype return (#6097) (04292d9)v4.5.0Compare Source
Features
autoCloseprop (#6089) (2663deb)nested/nestedOptionsprops and emithoverevent (#5960) (ed60193)horizontalorientation (#5682) (f46b504)chipin items (#6064) (401a2c0)skipMeasurementvirtualize option (#5721) (548b711)outlineandsubtlevariants (94b0c31)Bug Fixes
ImgHTMLAttributestype for image prop (#6007) (0185856)data-stateconflict when used inside Tooltip (2bb1a8b), closes #3599update:modelValueemit type (#5927) (64d2e88)fixedprop to prevent responsive text size reduction (#6074) (8f5f44c)charprop as mention prefix instead of always@(0b9b097), closes #6035sizeto buttons (1ec1698), closes #5958cssLayeroption fromcomponentstobase(#6076) (e8bc322)byprop (14dceaf)shallowRefwhen watch deep is disabled (#6023) (bc06ce2)updateto keep toast open and reset duration (82afa0a)DotPathKeysaccuracy andGetItemKeysperformance (#6077) (6f7af3e)v4.4.0Compare Source
Features
weekNumbersprop (#4555) (7a1a71b)indicatorprop (#5257) (6a925cd)estimateSizeas function (#5748) (d51b424)inputprop (#5736) (12052e8)sizeprop (#5878) (3ae04c6)byprop (#5906) (36cd5e5)valueKeyprop (#5905) (55646ea)placeholder.modeprop (d90acb3), closes #5785sizeprop in menus (#5889) (571d50d)taskListhandler (#5837) (db04197)imageandmentionprops (b6fa83a), closes #5820ignoreFilterprop (#5880) (f8d1883)viewportReffor infinite scroll (#5836) (f4a945c)clearprop (#5643) (ec6b8ec)alignprop (859390e), closes #5795selectevent (#5826) (8e431be)Bug Fixes
contentTypewhen updating value (c37d6f7), closes #5709onClickfrom being called twice on items (cbed0cc), closes #5784maininstead ofdiv(6ccb1f5)csandskterminology for correct inflection (#5789) (af6f288)primarycolor andmdsize default variants (f422de8)expandAllprop (c79cb77), closes #5828v4.3.0Compare Source
Features
subprop on content slots (#5609) (b09e6bc)layoutIndependentoption (#4251) (ece0568)separatoroption (#5642) (4e71271)orientationprop (#5632) (b74ec6e)modelModifiersprop (#5559) (a92ee7b)[@source](https://redirect.github.com/source)for nuxt layers (#5630) (de98a72)itemsprop (cb34ca5)insetprop (05bd995)routeroption to disable router (#5213) (b34cf8a)scanPackagesoption (#5510) (4e57139)Bug Fixes
z-index(07147f1)UButtonimport (1b850bb)kind(feb756d)reverseprop under lg screens (#5545) (60b430c)aria-labelto thumb (#5313) (f99ec46)size(e885b0e), closes #4721 #3927v4.2.1Compare Source
Bug Fixes
stopandreloademits (#5400) (736a547)nametype (#5498) (b654a77)#app(#5491) (da8daaa)#build/ui.cssalias (#5499) (d9aadc7)v4.2.0Compare Source
⚠ BREAKING CHANGES
Features
data-slotattributes (#5447) (dd81d46)previewprop (#5443) (2af82e7)scrollableprop (#5306) (240897e)theme.prefixoption (#5341) (7fca5d7)estimateSizeas function (ebc8568)Bug Fixes
leadingslot (#5405) (b61127a)disabledprop (a8f2156), closes #5300locale/dirprops proxy (#5432) (a6efa7a)nestedprop type handling and simplify logic (#5360) (8d5c26f)modelModifiersgeneric (#5361) (5c347af)vue-routerandinertia(637ef58)experimental.componentDetection(5a5ac45)modelValue/defaultValuein vertical orientation (cffaaaa), closes #5392inline-blockclass to icon (#5317) (fc36f69)update:modelValueemit type (#5349) (4cb0638)thbased on column meta (#5418) (620defa)import.meta.env.SSRto supportvite-ssg(#5347) (8f38c04)v4.1.0Compare Source
⚠ BREAKING CHANGES
children-iconprop to usetrailing-iconin input (#4397)Features
variantprop (#5138) (bb4f42c)children-iconprop to usetrailing-iconin input (#4397) (edda8a6)uiin slot props where used (#5207) (63c0a5f)descriptionin items (#5193) (70cf05f)increment/decrementas booleans (#4805) (1858908)experimental.componentDetectionoption (#5222) (f80474c)closemethod in slots (#5176) (53c6508)zoomtransition (#4998) (d502c30)$elfor drag and drop example (#5239) (fcf6117)maxglobal configuration (#5068) (e4c6113)Bug Fixes
imageprop (9632f99), closes #5276activein items (cc8cbf3), closes #4771should-auto-scroll(#5252) (db73765)uiprop type (#5234) (240bc1a)presentationrole (70aaf4a), closes #4945uiprop in prose proxy components (#5205) (d1afe90)Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, 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.