import{sva as r}from"../lib/sva.js";const e=r({slots:["content","wrapper"],base:{content:"h-full w-full box-border",wrapper:["h-full w-full bg-surface-primary relative overflow-auto","[scrollbar-width:none]"].join(" ")},variants:{fullscreen:{true:{wrapper:"h-screen w-screen"},false:{wrapper:["md:top-12 md:mx-auto md:w-[25rem] md:h-fit","md:shadow-[0px_12px_56px_rgba(119,118,122,0.15)]","md:rounded-container","md:dark:shadow-none"].join(" ")}},animate:{false:{wrapper:"[animation-name:none] scale-100"}},isOpen:{true:{}},paddingType:{none:{wrapper:"p-0"},sm:{wrapper:"p-2 pb-0"},md:{wrapper:"p-4 pb-0"},lg:{wrapper:"p-8 pb-0"}},showBorder:{true:{wrapper:"md:dark:border md:dark:border-solid md:dark:border-neutral-secondary"}},isMobileBrowser:{true:{}},isWidget:{true:{wrapper:"h-auto md:top-0"}}},compoundVariants:[{animate:!0,isOpen:!0,class:{wrapper:"[animation-fill-mode:forwards] [animation-name:scaleIn] [animation-duration:250ms] motion-reduce:scale-100"}},{animate:!0,isOpen:!1,class:{wrapper:"[animation-fill-mode:forwards] [animation-name:scaleOut] [animation-duration:150ms] motion-reduce:scale-100"}},{fullscreen:!0,isMobileBrowser:!0,class:{wrapper:"max-md:h-[100dvh]"}},{fullscreen:!1,isWidget:!0,class:{wrapper:"max-w-[25rem] mx-auto rounded-container dark:border dark:border-solid dark:border-neutral-secondary"}}],defaultVariants:{animate:!0,isOpen:!0,paddingType:"none"}});export{e as modal};
//# sourceMappingURL=modal.js.map
