import{aq as l,g as s,at as t,bP as r,bW as u,c,o as p,w as f,ag as d,E as m,m as x,ai as v}from"./Dk4AzF7j.js";const y={base:"relative",variants:{size:{xs:"",sm:"",md:"",lg:"",xl:""},orientation:{horizontal:"inline-flex -space-x-px",vertical:"flex flex-col -space-y-px"}}},b={__name:"UButtonGroup",props:{as:{type:null,required:!1},size:{type:null,required:!1},orientation:{type:null,required:!1,default:"horizontal"},class:{type:null,required:!1},ui:{type:null,required:!1}},setup(e){const a=e,i=l(),n=s(()=>t({extend:t(y),...i.ui?.buttonGroup||{}}));return r(u,s(()=>({orientation:a.orientation,size:a.size}))),(o,z)=>(p(),c(x(v),{as:e.as,class:m(n.value({orientation:e.orientation,class:a.class}))},{default:f(()=>[d(o.$slots,"default")]),_:3},8,["as","class"]))}};export{b as _};
