is used but it is missing a parent \u003CTransitionRoot />.\");return e}function ge(){let e=(0,__vite_ssr_import_0__.inject)(N,null);if(e===null)throw new Error(\"A \u003CTransitionChild /> is used but it is missing a parent \u003CTransitionRoot />.\");return e}let N=Symbol(\"NestingContext\");function L(e){return\"children\"in e?L(e.children):e.value.filter(({state:t})=>t===\"visible\").length>0}function Q(e){let t=(0,__vite_ssr_import_0__.ref)([]),a=(0,__vite_ssr_import_0__.ref)(!1);(0,__vite_ssr_import_0__.onMounted)(()=>a.value=!0),(0,__vite_ssr_import_0__.onUnmounted)(()=>a.value=!1);function s(n,r=__vite_ssr_import_6__.RenderStrategy.Hidden){let l=t.value.findIndex(({id:f})=>f===n);l!==-1&&((0,__vite_ssr_import_5__.match)(r,{[__vite_ssr_import_6__.RenderStrategy.Unmount](){t.value.splice(l,1)},[__vite_ssr_import_6__.RenderStrategy.Hidden](){t.value[l].state=\"hidden\"}}),!L(t)&&a.value&&(e==null||e()))}function h(n){let r=t.value.find(({id:l})=>l===n);return r?r.state!==\"visible\"&&(r.state=\"visible\"):t.value.push({id:n,state:\"visible\"}),()=>s(n,__vite_ssr_import_6__.RenderStrategy.Unmount)}return{children:t,register:h,unregister:s}}let W=__vite_ssr_import_6__.Features.RenderStrategy,he=(0,__vite_ssr_import_0__.defineComponent)({props:{as:{type:[Object,String],default:\"div\"},show:{type:[Boolean],default:null},unmount:{type:[Boolean],default:!0},appear:{type:[Boolean],default:!1},enter:{type:[String],default:\"\"},enterFrom:{type:[String],default:\"\"},enterTo:{type:[String],default:\"\"},entered:{type:[String],default:\"\"},leave:{type:[String],default:\"\"},leaveFrom:{type:[String],default:\"\"},leaveTo:{type:[String],default:\"\"}},emits:{beforeEnter:()=>!0,afterEnter:()=>!0,beforeLeave:()=>!0,afterLeave:()=>!0},setup(e,{emit:t,attrs:a,slots:s,expose:h}){let n=(0,__vite_ssr_import_0__.ref)(0);function r(){n.value|=__vite_ssr_import_2__.State.Opening,t(\"beforeEnter\")}function l(){n.value&=~__vite_ssr_import_2__.State.Opening,t(\"afterEnter\")}function f(){n.value|=__vite_ssr_import_2__.State.Closing,t(\"beforeLeave\")}function S(){n.value&=~__vite_ssr_import_2__.State.Closing,t(\"afterLeave\")}if(!me()&&(0,__vite_ssr_import_2__.hasOpenClosed)())return()=>(0,__vite_ssr_import_0__.h)(Se,{...e,onBeforeEnter:r,onAfterEnter:l,onBeforeLeave:f,onAfterLeave:S},s);let d=(0,__vite_ssr_import_0__.ref)(null),y=(0,__vite_ssr_import_0__.computed)(()=>e.unmount?__vite_ssr_import_6__.RenderStrategy.Unmount:__vite_ssr_import_6__.RenderStrategy.Hidden);h({el:d,$el:d});let{show:v,appear:A}=Te(),{register:D,unregister:H}=ge(),i=(0,__vite_ssr_import_0__.ref)(v.value?\"visible\":\"hidden\"),I={value:!0},c=(0,__vite_ssr_import_1__.useId)(),b={value:!1},P=Q(()=>{!b.value&&i.value!==\"hidden\"&&(i.value=\"hidden\",H(c),S())});(0,__vite_ssr_import_0__.onMounted)(()=>{let o=D(c);(0,__vite_ssr_import_0__.onUnmounted)(o)}),(0,__vite_ssr_import_0__.watchEffect)(()=>{if(y.value===__vite_ssr_import_6__.RenderStrategy.Hidden&&c){if(v.value&&i.value!==\"visible\"){i.value=\"visible\";return}(0,;__vite_ssr_import_5__.match)(i.value,{[\"hidden\"]:()=>H(c),[\"visible\"]:()=>D(c)})}});let j=g(e.enter),M=g(e.enterFrom),X=g(e.enterTo),_=g(e.entered),Y=g(e.leave),Z=g(e.leaveFrom),ee=g(e.leaveTo);(0,__vite_ssr_import_0__.onMounted)(()=>{(0,__vite_ssr_import_0__.watchEffect)(()=>{if(i.value===\"visible\"){let o=(0,__vite_ssr_import_3__.dom)(d);if(o instanceof Comment&&o.data===\"\")throw new Error(\"Did you forget to passthrough the ref to the actual DOM node?\")}})});function te(o){let E=I.value&&!A.value,p=(0,__vite_ssr_import_3__.dom)(d);!p||!(p instanceof HTMLElement)||E||(b.value=!0,v.value&&r(),v.value||f(),o(v.value?(0,__vite_ssr_import_7__.transition)(p,j,M,X,_,V=>{b.value=!1,V===__vite_ssr_import_7__.Reason.Finished&&l()}):(0,__vite_ssr_import_7__.transition)(p,Y,Z,ee,_,V=>{b.value=!1,V===__vite_ssr_import_7__.Reason.Finished&&(L(P)||(i.value=\"hidden\",H(c),S()))})))}return (0,__vite_ssr_import_0__.onMounted)(()=>{(0,__vite_ssr_import_0__.watch)([v],(o,E,p)=>{te(p),I.value=!1},{immediate:!0})}),(0,__vite_ssr_import_0__.provide)(N,P),(0,__vite_ssr_import_2__.useOpenClosedProvider)((0,__vite_ssr_import_0__.computed)(()=>(0,__vite_ssr_import_5__.match)(i.value,{[\"visible\"]:__vite_ssr_import_2__.State.Open,[\"hidden\"]:__vite_ssr_import_2__.State.Closed})|n.value)),()=>{let{appear:o,show:E,enter:p,enterFrom:V,enterTo:Ce,entered:ye,leave:be,leaveFrom:Ee,leaveTo:Ve,...U}=e,ne={ref:d},re={...U,...A.value&&v.value&&__vite_ssr_import_4__.env.isServer?{class:(0,__vite_ssr_import_0__.normalizeClass)([a.class,U.class,...j,...M])}:{}};return (0,__vite_ssr_import_6__.render)({theirProps:re,ourProps:ne,slot:{},slots:s,attrs:a,features:W,visible:i.value===\"visible\",name:\"TransitionChild\"})}}}),ce=he,Se=(0,__vite_ssr_import_0__.defineComponent)({inheritAttrs:!1,props:{as:{type:[Object,String],default:\"div\"},show:{type:[Boolean],default:null},unmount:{type:[Boolean],default:!0},appear:{type:[Boolean],default:!1},enter:{type:[String],default:\"\"},enterFrom:{type:[String],default:\"\"},enterTo:{type:[String],default:\"\"},entered:{type:[String],default:\"\"},leave:{type:[String],default:\"\"},leaveFrom:{type:[String],default:\"\"},leaveTo:{type:[String],default:\"\"}},emits:{beforeEnter:()=>!0,afterEnter:()=>!0,beforeLeave:()=>!0,afterLeave:()=>!0},setup(e,{emit:t,attrs:a,slots:s}){let h=(0,__vite_ssr_import_2__.useOpenClosed)(),n=(0,__vite_ssr_import_0__.computed)(()=>e.show===null&&h!==null?(h.value&__vite_ssr_import_2__.State.Open)===__vite_ssr_import_2__.State.Open:e.show);(0,__vite_ssr_import_0__.watchEffect)(()=>{if(![!0,!1].includes(n.value))throw new Error('A \u003CTransition /> is used but it is missing a :show=\"true | false\" prop.')});let r=(0,__vite_ssr_import_0__.ref)(n.value?\"visible\":\"hidden\"),l=Q(()=>{r.value=\"hidden\"}),f=(0,__vite_ssr_import_0__.ref)(!0),S={show:n,appear:(0,__vite_ssr_import_0__.computed)(()=>e.appear||!f.value)};return (0,__vite_ssr_import_0__.onMounted)(()=>{(0,__vite_ssr_import_0__.watchEffect)(()=>{f.value=!1,n.value?r.value=\"visible\":L(l)||(r.value=\"hidden\")})}),(0,__vite_ssr_import_0__.provide)(N,l),(0,__vite_ssr_import_0__.provide)(R,S),()=>{let d=(0,__vite_ssr_import_6__.omit)(e,[\"show\",\"appear\",\"unmount\",\"onBeforeEnter\",\"onBeforeLeave\",\"onAfterEnter\",\"onAfterLeave\"]),y={unmount:e.unmount};return (0,__vite_ssr_import_6__.render)({ourProps:{...y,as:\"template\"},theirProps:{},slot:{},slots:{...s,default:()=>[(0,__vite_ssr_import_0__.h)(ce,{onBeforeEnter:()=>t(\"beforeEnter\"),onAfterEnter:()=>t(\"afterEnter\"),onBeforeLeave:()=>t(\"beforeLeave\"),onAfterLeave:()=>t(\"afterLeave\"),...a,...y,...d},s.default)]},attrs:{},features:W,visible:r.value===\"visible\",name:\"Transition\"})}}});\n\n\n SyntaxError: Unexpected token ';'\n at new Script (node:vm:116:7)\n at createScript (node:vm:268:10)\n at Object.runInThisContext (node:vm:316:10)\n at ViteNodeRunner.runModule (/D:/Dev/maideo/maideo-maid/node_modules/vite-node/dist/client.mjs:398:19)\n at ViteNodeRunner.directRequest (/D:/Dev/maideo/maideo-maid/node_modules/vite-node/dist/client.mjs:381:16) \n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async ViteNodeRunner.cachedRequest (/D:/Dev/maideo/maideo-maid/node_modules/vite-node/dist/client.mjs:206:14) \n at async ViteNodeRunner.dependencyRequest (/D:/Dev/maideo/maideo-maid/node_modules/vite-node/dist/client.mjs:259:12)\n at async node_modules\\@headlessui\\vue\\dist\\headlessui.esm.js:23:32\n at async ViteNodeRunner.runModule (/D:/Dev/maideo/maideo-maid/node_modules/vite-node/dist/client.mjs:399:5) \n\n### Logs\n\n```shell-script\n\n```",[3053,3054],{"name":3020,"color":3021},{"name":3055,"color":3056},"duplicate","cfd3d7",2972,"Syntax error in the Headless UI Vue component code","2024-12-25T10:39:30Z","https://github.com/nuxt/ui/issues/2972",0.6499361,{"description":3063,"labels":3064,"number":3069,"owner":3029,"repository":3030,"state":3045,"title":3070,"updated_at":3071,"url":3072,"score":3073},"### Description\n\nIn v3, we seem to have lost any focus indication on Buttons. This looks intentional as I see `focus:outline-hidden` on the base. For a11y and good keyboard navigation, it's best practice to have a visual indication of focus: https://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#discernibleandpredictablekeyboardfocus\n\nIt seems we've taken a step backward from v2 in this regard. Was this intentional? Is the intent for users to add their own `focus-visible:*` classes via app config?",[3065,3068],{"name":3066,"color":3067},"question","d876e3",{"name":3023,"color":3024},3658,"Button Focus Indication","2025-03-24T09:50:12Z","https://github.com/nuxt/ui/issues/3658",0.6505038,{"description":3075,"labels":3076,"number":3080,"owner":3029,"repository":3030,"state":3045,"title":3081,"updated_at":3082,"url":3083,"score":3084},"### Environment\n\nyall lost cursor-pointer on paginations switching from v2-v3\n\n### Is this bug related to Nuxt or Vue?\n\nNuxt\n\n### Version\n\nv3.xx\n\n### Reproduction\n\ntake your mouse and hover over stuff on https://ui3.nuxt.dev/components/pagination\n\n\n### Description\n\ntheres no cursor: pointer; on hover for paginations in v3\n\n### Additional context\n\n_No response_\n\n### Logs\n\n```shell-script\n\n```",[3077,3078,3079],{"name":3020,"color":3021},{"name":3055,"color":3056},{"name":3023,"color":3024},2928,"yall lost cursor-pointer on paginations switching from v2-v3","2025-04-02T09:37:31Z","https://github.com/nuxt/ui/issues/2928",0.65483105,{"description":3086,"labels":3087,"number":3090,"owner":3029,"repository":3030,"state":3045,"title":3091,"updated_at":3092,"url":3093,"score":3094},"### Environment\n\n- \"nuxt\": \"3.14.1592\",\n-\"vue\": \"3.5.13\",\n\n### Is this bug related to Nuxt or Vue?\n\nNuxt\n\n### Version\n\n3.0.0-alpha.10\n\n### Reproduction\n\nWhen Put the `USelectMenu` inside `UModal` the USelectMenu's SearchInput does not get the focus at all\n\n### Description\n\nWhen Put the `USelectMenu` inside `UModal` the USelectMenu's SearchInput does not get the focus at all\n\n### Additional context\n\n_No response_\n\n### Logs\n\n```shell-script\n\n```",[3088,3089],{"name":3020,"color":3021},{"name":3023,"color":3024},3475,"The searchInput of the USelectMenu doesn't work when put the USelectMenu inside a Modal","2025-03-07T13:06:29Z","https://github.com/nuxt/ui/issues/3475",0.6766207,{"description":3096,"labels":3097,"number":3099,"owner":3029,"repository":3030,"state":3045,"title":3100,"updated_at":3101,"url":3102,"score":3103},"### Environment\n\n- Operating System: Linux\r\n- Node Version: v20.12.0\r\n- Nuxt Version: 3.10.0\r\n- CLI Version: 3.10.0\r\n- Nitro Version: 2.8.1\r\n- Package Manager: npm@10.5.0\r\n- Builder: -\r\n- User Config: devtools, modules\r\n- Runtime Modules: @nuxt/ui@2.18.6\r\n- Build Modules: -\n\n### Version\n\n2.18.6\n\n### Reproduction\n\nhttps://codesandbox.io/p/devbox/k6rsz6?file=%2Fapp.vue%3A1%2C1\n\n### Description\n\nI'm trying to add types for a `ref` to a `UForm` component, but when I tried to use the `setErrors` method there was the following typescript error:\r\n\r\n```\r\nProperty 'setErrors' does not exist on type\r\n'CreateComponentPublicInstanceWithMixins\u003CReadonly\u003CExtractPropTypes\u003C{ schema: { type: PropType\u003CZodSchema> | PropType\u003CYupObjectSchema\u003Cany>> | PropType\u003CJoiSchema> | PropType\u003Cany>; default: any; }; state: { type: ObjectConstructor; required: true; }; validate: { ...; }; validateOn: { ...; }; }>> & Readonly\u003C...>, ... 24 m...'.\r\nDid you mean 'errors'?\r\n```\n\n### Additional context\n\n_No response_\n\n### Logs\n\n_No response_",[3098],{"name":3020,"color":3021},2292,"Property 'setErrors' does not exist on type","2024-10-06T17:50:16Z","https://github.com/nuxt/ui/issues/2292",0.6782524,{"description":3105,"labels":3106,"number":3113,"owner":3029,"repository":3029,"state":3045,"title":3114,"updated_at":3115,"url":3116,"score":3117},"### Environment\r\n\r\nNuxt module using `@nuxt/kit` on rc 9\r\n\r\n### Reproduction\r\n\r\nMain branch of my repo, stopping me from releasing the module:\r\nhttps://github.com/Lexpeartha/nuxt-xstate\r\n\r\n### Describe the bug\r\n\r\nAfter rc 9, after trying to publish the module my `module.ts` file throws an error as:\r\n```\r\nsrc/module.ts(11,7): error TS2742: The inferred type of 'module' cannot be named without a reference to 'nuxt/node_modules/@nuxt/schema'. This is likely not portable. A type annotation is necessary.\r\n```\r\n\r\nNot sure what is happening, but after doing what is suggested in error\r\n```ts\r\nimport type { NuxtModule } from '@nuxt/schema'\r\n\r\nconst module: NuxtModule\u003CModuleOptions> = defineNuxtModule\u003CModuleOptions>(\r\n // Module options...\r\n)\r\n\r\nexport default module\r\n```\r\nI get a type error that module is not compatible with the set value (or more exactly `Types of property 'getOptions' are incompatible`). Considering I didn't change anything in `module.ts` file itself, and that this didn't occur before rc 9, I'm wondering what I'm doing wrong\r\n\r\n### Additional context\r\n\r\n_No response_\r\n\r\n### Logs\r\n\r\n```shell\r\nError: Failed to compile. Check the logs above.\r\n at error (file:///home/aleksa/Desktop/Projects/nuxt-xstate/node_modules/unbuild/node_modules/rollup/dist/es/shared/rollup.js:1858:30)\r\n at throwPluginError (file:///home/aleksa/Desktop/Projects/nuxt-xstate/node_modules/unbuild/node_modules/rollup/dist/es/shared/rollup.js:21764:12)\r\n at Object.error (file:///home/aleksa/Desktop/Projects/nuxt-xstate/node_modules/unbuild/node_modules/rollup/dist/es/shared/rollup.js:22486:20)\r\n at Object.error (file:///home/aleksa/Desktop/Projects/nuxt-xstate/node_modules/unbuild/node_modules/rollup/dist/es/shared/rollup.js:21941:42)\r\n at Object.transform (file:///home/aleksa/Desktop/Projects/nuxt-xstate/node_modules/unbuild/node_modules/rollup-plugin-dts/dist/rollup-plugin-dts.mjs:1590:26)\r\n at file:///home/aleksa/Desktop/Projects/nuxt-xstate/node_modules/unbuild/node_modules/rollup/dist/es/shared/rollup.js:22695:37\r\n```\r\n```\r\n",[3107,3110],{"name":3108,"color":3109},"3.x","29bc7f",{"name":3111,"color":3112},"pending triage","E99695",14806,"bug(kit): necessary type annotation for the module","2023-01-19T17:40:35Z","https://github.com/nuxt/nuxt/issues/14806",0.6801472,{"description":3119,"labels":3120,"number":3129,"owner":3029,"repository":3029,"state":3045,"title":3130,"updated_at":3131,"url":3132,"score":3133},"### Environment\n\n------------------------------\r\n- Operating System: `Darwin`\r\n- Node Version: `v16.15.1`\r\n- Nuxt Version: `3.0.0-rc.10-27710784.e22bbcc`\r\n- Nitro Version: `0.5.2-27709289.11cc5cd`\r\n- Package Manager: `npm@8.12.1`\r\n- Builder: `vite`\r\n- User Config: `app`, `css`, `build`, `imports`, `modules`, `nitro`, `runtimeConfig`, `typescript`, `vite`\r\n- Runtime Modules: `nuxt-graphql-client@0.1.15`\r\n- Build Modules: `-`\r\n------------------------------\n\n### Reproduction\n\nCan't reproduce because Stacklblitz doesn't actually show any TS.\n\n### Describe the bug\n\nWhen defining a server api route, it'll autmoatically infer the right return types (yay!), so when calling `const data = $fetch('/api/test')`, `data` can be used safely.\r\n\r\nHowever if you call the API with a query parameter, `const data = $fetch('/api/test?q=hello')`, you will lose all typesafety because the returned type becomes `Promise\u003Cunknown>`.\r\n\r\nI'm not 100% sure why, but maybe because the called URL doesn't match the actual API route due to the added params?\n\n### Additional context\n\n_No response_\n\n### Logs\n\n_No response_",[3121,3124,3125,3126],{"name":3122,"color":3123},"types","2875C3",{"name":3108,"color":3109},{"name":3020,"color":3021},{"name":3127,"color":3128},"🔨 p3-minor","FBCA04",14850,"API route types not correctly inferred when using query params in $fetch","2023-01-19T17:41:08Z","https://github.com/nuxt/nuxt/issues/14850",0.6839801,{"description":3135,"labels":3136,"number":3142,"owner":3029,"repository":3030,"state":3045,"title":3143,"updated_at":3144,"url":3145,"score":3146},"### Environment\n\n- Vue Version: 3.5.13\n- Package Mannger: bun\n- Bun Version: 1.1.45\n\n### Is this bug related to Nuxt or Vue?\n\nVue\n\n### Version\n\nv3.0.0-alpha.11\n\n### Reproduction\n\nhttps://codesandbox.io/p/devbox/morning-grass-t68z6n\n\n### Description\n\nAs shown in the example, components in Nuxt UI cannot be imported automatically. \nWhen unplugin-vue-components is imported and used separately, the auto import in Nuxt UI is disabled.\n\nHowever, unplugin-auto-import seems to work properly with Nuxt UI.\n\n### Additional context\n\n_No response_\n\n### Logs\n\n```shell-script\n\n```",[3137,3138,3139],{"name":3020,"color":3021},{"name":3023,"color":3024},{"name":3140,"color":3141},"vue","42b883",3151,"unplugin-vue-components conflict","2025-01-30T11:17:43Z","https://github.com/nuxt/ui/issues/3151",0.68621266,["Reactive",3148],{},["Set"],["ShallowReactive",3151],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fDTNzZeHZ_3HicZX-p6qLiT75fYomshsonnU7XtFHlcU":-1},"/nuxt/ui/2717"]