import{j as e,i as l,I as d,T as a}from"./index-BX768Frx.js";function x({variant:r="default",title:c,className:i,children:t,actions:s}){const n={default:"info-circle",brand:"info-circle",success:"success-circle",warning:"warning-triangle",error:"error-circle"}[r];return e.jsxs("div",{className:l("flex flex-wrap items-center justify-between gap-2 gap-y-3 rounded-xl border-1 p-3",{default:"border-primary bg-secondary text-primary",brand:"border-accent bg-accent-tertiary text-accent",success:"border-success bg-success-tertiary text-success",warning:"border-warning bg-warning-tertiary text-warning",error:"border-error bg-error-tertiary text-error"}[r],i),children:[e.jsxs("div",{className:"flex gap-3",children:[e.jsx(d,{type:n,size:"md"}),e.jsxs("div",{className:"flex flex-col gap-1",children:[e.jsx(a,{weight:"medium",className:"leading-none",children:c}),e.jsx(a,{as:"div",size:"sm",className:"text-secondary",children:t})]})]}),s&&e.jsx("div",{className:"flex flex-wrap gap-x-3 gap-y-1",children:s})]})}export{x as A};
