"use strict";var e=require("../lib/sva.js");const t=e.sva({slots:["button","label","focus","icon","iconContainer"],base:{button:["inline-flex items-center justify-center relative font-semibold box-border","rounded-button border-thin border-solid border-transparent","cursor-pointer transition-all duration-100 ease-in-out outline-none","[will-change:transform,opacity] bg-none","active:scale-95","disabled:opacity-30 disabled:pointer-events-none",'before:content-[""] before:absolute before:inset-0 before:rounded-[inherit]',"before:bg-[linear-gradient(rgba(0,0,0,0.05),rgba(0,0,0,0.05))]","dark:before:bg-[linear-gradient(rgba(255,255,255,0.05),rgba(255,255,255,0.05))]","before:opacity-0 before:transition-opacity before:duration-100 before:ease-in-out","hover:before:opacity-100"].join(" "),label:"flex text-center justify-center whitespace-nowrap transition-all duration-100 ease-in-out",focus:"outline-brand-base outline outline-thick outline-offset-[0.125rem]",icon:"transition-all duration-100 ease-in-out",iconContainer:""},variants:{size:{sm:{button:"h-9 py-1.5 px-4",label:"text-sm leading-6",iconContainer:"w-9 p-1.5"},md:{button:"h-12 py-3 px-6",label:"text-base leading-6",iconContainer:"w-12 p-3"},lg:{button:"h-15 py-4 px-6",label:"text-lg leading-7",iconContainer:"w-15 p-4"}},variant:{primary:{button:"bg-brand-base",label:"text-surface-primary",icon:"text-surface-primary"},secondary:{button:"bg-brand-lightest",label:"text-brand-darker",icon:"text-brand-darker"},positive:{button:"bg-positive-darker",label:"text-surface-primary",icon:"text-surface-primary"},negative:{button:"bg-negative-darker",label:"text-surface-primary",icon:"text-surface-primary"},neutral:{button:"bg-neutral-tertiary mix-blend-multiply dark:mix-blend-normal",label:"text-text-primary",icon:"text-text-primary"},tertiary:{button:"bg-transparent border-neutral-primary",label:"text-text-primary",icon:"text-brand-base"},text:{button:"p-0 h-fit hover:before:opacity-0",label:"text-brand-base group-hover:text-brand-darkest dark:group-hover:text-brand-lighter",icon:"text-brand-base group-hover:text-brand-darkest dark:group-hover:text-brand-lighter"},transparent:{button:"bg-[#ffffff14] hover:bg-[#ffffff4d] dark:bg-[#ffffff29] backdrop-blur-[3px] before:hidden",label:"text-chalk",icon:"text-chalk"},inverse:{button:["bg-ink-90 dark:bg-paper","before:bg-[linear-gradient(rgba(255,255,255,0.05),rgba(255,255,255,0.05))]","dark:before:bg-[linear-gradient(rgba(0,0,0,0.05),rgba(0,0,0,0.05))]"].join(" "),label:"text-chalk dark:text-ink-90",icon:"text-chalk dark:text-ink-90"}},validating:{true:{button:"pointer-events-none"}},expand:{true:{button:"w-full"}},iconOnly:{true:{button:"rounded-full"}},textStyle:{positive:{},negative:{},neutral:{},subtle:{}}},compoundVariants:[{textStyle:"positive",class:{label:"text-positive-base",icon:"text-positive-base"}},{variant:"text",textStyle:"positive",class:{label:"group-hover:text-positive-darker dark:group-hover:text-positive-darker",icon:"group-hover:text-positive-darker dark:group-hover:text-positive-darker"}},{textStyle:"negative",class:{label:"text-negative-darker dark:text-negative-base",icon:"text-negative-darker dark:text-negative-base"}},{variant:"text",textStyle:"negative",class:{label:"group-hover:text-negative-darkest dark:group-hover:text-negative-lighter",icon:"group-hover:text-negative-darkest dark:group-hover:text-negative-lighter"}},{textStyle:"neutral",class:{label:"text-text-primary",icon:"text-text-primary"}},{variant:"text",textStyle:"neutral",class:{label:"group-hover:text-text-secondary dark:group-hover:text-text-secondary",icon:"group-hover:text-text-secondary dark:group-hover:text-text-secondary"}},{textStyle:"subtle",class:{label:"text-text-tertiary",icon:"text-text-tertiary"}},{variant:"text",textStyle:"subtle",class:{label:"group-hover:text-text-secondary dark:group-hover:text-text-secondary",icon:"group-hover:text-text-secondary dark:group-hover:text-text-secondary"}},{variant:"text",iconOnly:!0,class:{iconContainer:"p-1.5 w-fit"}}],defaultVariants:{size:"md",variant:"primary"}});exports.button=t;
//# sourceMappingURL=button.js.map
