import{j as e,i as x,I as a,T as i}from"./index-BX768Frx.js";function b({variant:n="default",radius:c="rounded",size:r="md",leftIcon:t,rightIcon:s,children:d,className:o}){return e.jsxs("div",{className:x({default:"border-secondary bg-tertiary text-secondary",heavy:"border-accent-heavy bg-accent-heavy text-on-accent",brand:"border-accent bg-accent text-on-brand",blue:"border-accent bg-accent-tertiary text-accent",green:"border-success bg-success-tertiary text-success",yellow:"border-warning bg-warning-tertiary text-warning",red:"border-error bg-error-tertiary text-error",transparent:"border-secondary text-secondary"}[n],{rounded:"rounded-2xl",sqrt:"rounded-sm"}[c],{sm:"px-1.5 py-0.25",md:"px-2 py-0.5"}[r],"inline-flex items-center justify-center gap-1 border",o),children:[t&&e.jsx(a,{type:t,size:"sm"}),e.jsx(i,{as:"div",size:{sm:"xs",md:"sm"}[r],className:"truncate text-center",children:d}),s&&e.jsx(a,{type:s,size:"sm"})]})}export{b as T};
