import{d as n,e as a,o as s,E as o,b as i,ag as t}from"./Dk4AzF7j.js";const u=n({__name:"AutoHeight",props:{open:{type:Boolean,default:!1},innerClasses:{default:""}},setup(r){return(e,l)=>(s(),a("div",{class:o(["grid transition-[grid-template-rows] group-hover:py-2 duration-300",[e.open?"grid-rows-[1fr]":"grid-rows-[0fr]",{"":e.$slots.default&&e.open}]])},[i("div",{class:o(["overflow-hidden",e.innerClasses])},[t(e.$slots,"default")],2)],2))}}),g=Object.assign(u,{__name:"AutoHeight"}),c=()=>({stateColor:{unboarded:"bg-uiInfo-400 dark:bg-uiInfo-300",incomplete:"bg-uiNeutral-100 dark:bg-uiNeutral-100",bad:"bg-uiError-400 dark:bg-uiError-100",good:"bg-uiSuccess-400 dark:bg-uiSuccess-100",medium:"bg-uiWarning-400 dark:bg-uiWarning-100",unmonitored:"bg-[var(--cp-warning)] dark:bg-[var(--cp-info)]"},extraColor:{unboarded:"outline-uiInfo-600",incomplete:"outline-uiNeutral-600",good:"outline-uiSuccess-600",bad:"outline-uiError-600",medium:"outline-uiWarning-600"}});export{g as _,c as u};
