import{M as e,P as t,W as n,Y as r,b as i,ft as a,it as o,j as s,l as c,n as l,ot as u,q as d,r as f,st as p,t as m}from"../../client.js";import h from"../statusdot/StatusDot.js";var g=t(`<div><!> <span class="mc-status-badge__label svelte-1oceydf"> </span></div>`),_={hash:`svelte-1oceydf`,code:`/**
 * Do not edit directly, this file was auto-generated.
 */.mc-status-badge.svelte-1oceydf {background-color:var(--status-badge-color-background-info, #e1f3f9);border:var(--border-width-s, 0.0625rem) solid var(--status-badge-color-border-info, #a7d9ed);font-weight:var(--font-weight-regular, 400);font-size:var(--font-size-100, 0.875rem);display:inline-flex;align-items:center;gap:0.25rem;border-radius:var(--border-radius-s, 0.25rem);padding-right:0.5rem;padding-left:0.5rem;text-transform:lowercase;white-space:nowrap;min-height:1.5rem;}.mc-status-badge__label.svelte-1oceydf {color:var(--status-badge-color-label, #000000);}.mc-status-badge__label.svelte-1oceydf::first-letter {text-transform:uppercase;}.mc-status-badge--success.svelte-1oceydf {background-color:var(--status-badge-color-background-success, #ebf5de);border:var(--border-width-s, 0.0625rem) solid var(--status-badge-color-border-success, #c5e39e);}.mc-status-badge--error.svelte-1oceydf {background-color:var(--status-badge-color-background-error, #fdeaea);border:var(--border-width-s, 0.0625rem) solid var(--status-badge-color-border-error, #f8bcbb);}.mc-status-badge--warning.svelte-1oceydf {background-color:var(--status-badge-color-background-warning, #fdf1e8);border:var(--border-width-s, 0.0625rem) solid var(--status-badge-color-border-warning, #f8d2b3);}.mc-status-badge--neutral.svelte-1oceydf {background-color:var(--status-badge-color-background-neutral, #f2f2f2);border:var(--border-width-s, 0.0625rem) solid var(--status-badge-color-border-neutral, #cccccc);}.mc-status-dot.svelte-1oceydf {background-color:var(--status-dot-color-background-info, #0b96cc);height:0.5rem;width:0.5rem;border-radius:var(--border-radius-full, 100%);display:inline-block;}.mc-status-dot--s.svelte-1oceydf {height:0.25rem;width:0.25rem;}.mc-status-dot--l.svelte-1oceydf {height:1rem;width:1rem;}.mc-status-dot--success.svelte-1oceydf {background-color:var(--status-dot-color-background-success, #3f9e10);}.mc-status-dot--error.svelte-1oceydf {background-color:var(--status-dot-color-background-error, #ea302d);}.mc-status-dot--warning.svelte-1oceydf {background-color:var(--status-dot-color-background-warning, #ea7315);}.mc-status-dot--neutral.svelte-1oceydf {background-color:var(--status-dot-color-background-neutral, #808080);}`};function v(t,m){p(m,!0),i(t,_);let v=l(m,`status`,7,`info`),y=l(m,`label`,7),b=l(m,`class`,7),x=f(m,[`$$slots`,`$$events`,`$$legacy`,`$$host`,`status`,`label`,`class`]);var S={get status(){return v()},set status(e=`info`){v(e),o()},get label(){return y()},set label(e){y(e),o()},get class(){return b()},set class(e){b(e),o()}},C=g();c(C,()=>({class:[`mc-status-badge`,`mc-status-badge--${v()}`,b()],...x}),void 0,void 0,void 0,`svelte-1oceydf`);var w=d(C);h(w,{get status(){return v()},size:`m`});var T=r(w,2),E=d(T,!0);return a(T),a(C),n(()=>s(E,y())),e(t,C),u(S)}customElements.define(`m-status-badge`,m(v,{status:{},label:{},class:{}},[],[],{mode:`open`}));export{v as default};
//# sourceMappingURL=StatusBadge.js.map