import{I as e,It as t,Q as n,T as r,Wt as i,bt as a,j as o,rn as s,tt as c}from"./_plugin-vue_export-helper-BVhEvvHC.js";import{Ni as l,or as u}from"./src-CD6Jsigc.js";import"./separator-BIarUqSA.js";e(),a(),i();var d=[`data-orientation`],f=o({__name:`ButtonGroup`,props:{class:{type:[Boolean,null,String,Object,Array]},orientation:{}},setup(e){let i=e;return(e,a)=>(n(),r(`div`,{role:`group`,"data-slot":`button-group`,"data-orientation":i.orientation,class:s(t(l)(t(p)({orientation:i.orientation}),i.class))},[c(e.$slots,`default`)],10,d))}}),p=u(`flex w-fit items-stretch [&>*:focus-visible]:z-10 [&>*:focus-visible]:relative [&>[data-slot=select-trigger]:not([class*='w-'])]:w-fit [&>input]:flex-1 has-[select[aria-hidden=true]:last-child]:[&>[data-slot=select-trigger]:last-of-type]:rounded-r-md has-[>[data-slot=button-group]]:gap-2`,{variants:{orientation:{horizontal:`[&>*:not(:first-child)]:rounded-l-none [&>*:not(:first-child)]:border-l-0 [&>*:not(:last-child)]:rounded-r-none`,vertical:`flex-col [&>*:not(:first-child)]:rounded-t-none [&>*:not(:first-child)]:border-t-0 [&>*:not(:last-child)]:rounded-b-none`}},defaultVariants:{orientation:`horizontal`}});export{f as t};