import{v as s,_ as r,o as n,c as a,a as _,B as i,C as p}from"./CibDhUcP.js";const d=s({__name:"AutoHeight",props:{open:{type:Boolean,default:!1}},setup(o,{expose:t}){t();const e={};return Object.defineProperty(e,"__isScriptSetup",{enumerable:!1,value:!0}),e}}),l={class:"overflow-hidden"};function c(o,t,e,u,f,m){return n(),a("div",{class:p(["grid transition-[grid-template-rows] group-hover:py-2 duration-300",[e.open?"grid-rows-[1fr]":"grid-rows-[0fr]",{"":o.$slots.default&&e.open}]])},[_("div",l,[i(o.$slots,"default")])],2)}const h=Object.assign(r(d,[["render",c],["__file","AutoHeight.vue"]]),{__name:"AutoHeight"});export{h as _};
