import{sva as t}from"../lib/sva.js";const r=t({slots:["trigger","content","spacer"],base:{trigger:"relative w-auto",content:["w-max max-w-[18rem] text-text-secondary","bg-surface-primary border-neutral-secondary border-thin","dark:bg-surface-tertiary","absolute py-2 px-3 rounded-xl","shadow-[0px_4px_20px_0px_rgba(0,0,0,0.10)]","z-max hidden"].join(" "),spacer:"absolute"},variants:{expand:{true:{trigger:"w-full"}},isOpen:{true:{content:"block"}},placement:{top:{content:"top-0 left-1/2 [transform:translateX(-50%)_translateY(calc(-100%-0.75rem))]"},"top left":{content:"top-0 right-full [transform:translateX(10%)_translateY(calc(-100%-0.75rem))]"},"top right":{content:"top-0 left-full [transform:translateX(-10%)_translateY(calc(-100%-0.75rem))]"},left:{content:"top-1/2 left-0 [transform:translateX(calc(-100%-0.75rem))_translateY(-50%)]"},"left top":{content:"top-1/2 left-0 [transform:translateX(calc(-100%-0.75rem))_translateY(-75%)]"},"left bottom":{content:"top-1/2 left-0 [transform:translateX(calc(-100%-0.75rem))_translateY(-25%)]"},right:{content:"top-1/2 right-0 [transform:translateX(calc(100%+0.75rem))_translateY(-50%)]"},"right top":{content:"top-1/2 right-0 [transform:translateX(calc(100%+0.75rem))_translateY(-75%)]"},"right bottom":{content:"top-1/2 right-0 [transform:translateX(calc(100%+0.75rem))_translateY(-25%)]"},bottom:{content:"bottom-0 left-1/2 [transform:translateX(-50%)_translateY(calc(100%+0.75rem))]"},"bottom left":{content:"bottom-0 right-full [transform:translateX(10%)_translateY(calc(100%+0.75rem))]"},"bottom right":{content:"bottom-0 left-full [transform:translateX(-10%)_translateY(calc(100%+0.75rem))]"}},position:{top:{spacer:"w-[18rem] h-4 bottom-0 left-1/2 [transform:translateX(-50%)_translateY(0.75rem)]"},bottom:{spacer:"w-[18rem] h-4 top-0 left-1/2 [transform:translateX(-50%)_translateY(-0.75rem)]"},left:{spacer:"w-4 h-48 top-1/2 -right-6 [transform:translateX(-0.75rem)_translateY(-50%)]"},right:{spacer:"w-4 h-48 top-1/2 -left-6 [transform:translateX(0.75rem)_translateY(-50%)]"}}}});export{r as tooltip};
//# sourceMappingURL=tooltip.js.map
