import{j as e,d as c,I as o,T as t}from"./index-CHfgriyV.js";function g({variant:s="default",title:n,className:i,children:l,actions:a,size:r="md"}){const d={default:"info-circle",brand:"info-circle",success:"success-circle",warning:"warning-triangle",error:"error-circle"}[s];return e.jsxs("div",{className:c("border-1 flex flex-wrap items-center justify-between gap-2 gap-y-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"}[s],{sm:"rounded-lg p-2",md:"rounded-xl p-3"}[r],i),children:[e.jsxs("div",{className:c("flex w-full items-start",{sm:"gap-2",md:"gap-3"}[r]),children:[e.jsx(o,{type:d,size:"md"}),e.jsxs("div",{className:"flex flex-1 flex-col gap-1",children:[e.jsx(t,{weight:"medium",size:r,className:"leading-none",children:n}),e.jsx(t,{as:"div",size:r==="sm"?"xs":"sm",className:"text-secondary",children:l})]})]}),a&&e.jsx("div",{className:"flex flex-wrap gap-x-3 gap-y-1",children:a})]})}export{g as A};
