2 lines
806 B
JavaScript
2 lines
806 B
JavaScript
import{r as o,j as r,a9 as c,aa as i,ab as p,ac as t,ad as x}from"./vendor-BKmmeuxg.js";import{c as d}from"./utils-DxSsnXxD.js";const f=o.forwardRef(({className:e,children:a,...l},s)=>r.jsxs(c,{ref:s,className:d("relative overflow-hidden",e),...l,children:[r.jsx(i,{className:"h-full w-full rounded-[inherit]",children:a}),r.jsx(n,{}),r.jsx(p,{})]}));f.displayName=c.displayName;const n=o.forwardRef(({className:e,orientation:a="vertical",...l},s)=>r.jsx(t,{ref:s,orientation:a,className:d("flex touch-none select-none transition-colors",a==="vertical"&&"h-full w-2.5 border-l border-l-transparent p-[1px]",a==="horizontal"&&"h-2.5 flex-col border-t border-t-transparent p-[1px]",e),...l,children:r.jsx(x,{className:"relative flex-1 rounded-full bg-border"})}));n.displayName=t.displayName;export{f as S};
|