import{j as e}from"./query-Bw69rE6b.js";import{c as i}from"./index-CoUu6FiM.js";const l={neutral:"bg-surface-subtle text-ink-muted",accent:"bg-accent-soft text-accent-ink",positive:"bg-positive-soft text-positive",warning:"bg-warning-soft text-warning",critical:"bg-critical-soft text-critical",info:"bg-info-soft text-info"},f={neutral:"bg-ink-dim",accent:"bg-accent",positive:"bg-positive",warning:"bg-warning",critical:"bg-critical",info:"bg-info"};function x({tone:t="neutral",dot:n=!1,pulse:s=!1,size:a="md",className:c,children:o}){const r=a==="sm"?"px-1.5 py-0 text-[10px]":"px-2 py-0.5 text-[11px]";return e.jsxs("span",{className:i("inline-flex items-center gap-1.5 rounded-full font-medium",r,l[t],c),children:[n&&e.jsx("span",{className:i("h-1.5 w-1.5 shrink-0 rounded-full",f[t],s&&"amx-pulse"),"aria-hidden":"true"}),o]})}export{x as B};
