mirror of
https://github.com/hanzobot/adnexus.git
synced 2026-10-30 19:44:10 +00:00
2 lines
1.2 KiB
JavaScript
2 lines
1.2 KiB
JavaScript
import{r as i,j as c,S as u}from"./ui-SA1K2VdO.js";import{e as d,f as g}from"./index-BBRaFEzF.js";const f=g("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-full text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{primary:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-transparent hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent/10 hover:text-accent-foreground",link:"text-foreground underline-offset-4 hover:underline",minimal:"bg-transparent text-foreground hover:bg-accent/5"},size:{default:"h-9 px-4 py-2",sm:"h-8 px-3 text-xs",lg:"h-10 px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"primary",size:"default"}}),p=i.forwardRef(({className:e,variant:r,size:t,asChild:n=!1,...o},s)=>{const a=n?u:"button";return c.jsx(a,{className:d(f({variant:r,size:t,className:e})),ref:s,...o})});p.displayName="Button";export{p as B};
|