import{i as e}from"./vendor-react.C_maUxYk.js";import{Ft as t,Ot as n,ht as r}from"./vendor-ui.DXm-99Gq.js";import{t as i}from"./info.BWfwMR0C.js";var a=e(),o={error:{bg:`errorBackground`,borderColor:`error`,color:`error`},warning:{bg:`warningCardBg`,borderColor:`warning`,color:`warning`},neutral:{bg:`mainBackground`,borderColor:`border`,color:`secondary`}},s=({tone:e=`neutral`,children:s,...c})=>{let l=o[e];return(0,a.jsx)(n,{borderRadius:`10px`,border:`1px solid`,px:`16px`,py:`14px`,...l,...c,children:(0,a.jsxs)(r,{align:`flex-start`,gap:`10px`,children:[(0,a.jsx)(t,{as:i,color:l.color,boxSize:`16px`,flexShrink:0,mt:`2px`}),(0,a.jsx)(n,{flex:`1 1 auto`,children:s})]})})};export{s as t};