import{j as e}from"./vendor-react-wBh_31cN.js";import{d as i}from"./index-dNe6i2rS.js";import{O as t,aE as x,Q as g,V as m}from"./vendor-icons-BUUmD6ht.js";const f={info:"border-quartz-label-blue bg-quartz-label-blue-shade2 text-quartz-label-blue",warning:"border-quartz-label-orange bg-quartz-label-orange-shade2 text-quartz-label-orange",error:"border-quartz-label-red bg-quartz-label-red-shade2 text-quartz-label-red",success:"border-quartz-label-green bg-quartz-label-green-shade2 text-quartz-label-green",neutral:"border-input bg-muted text-foreground"},z={info:t,warning:m,error:g,success:x,neutral:t};function j({variant:l,type:s,title:r,content:n,children:o,className:d,...b}){const a=s??l??"info",u=z[a],c=n??o;return e.jsxs("div",{"data-slot":"callout",role:"alert",className:i("flex items-start gap-2.5 rounded-md border px-3 py-2.5 text-sm",f[a],d),...b,children:[e.jsx(u,{className:"mt-0.5 size-4 shrink-0"}),e.jsxs("div",{className:"flex flex-col gap-1",children:[r&&e.jsx("span",{className:"font-bold",children:r}),e.jsx("span",{className:"text-sm",children:c})]})]})}export{j as C};
