"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={primary:"primary",secondary:"secondary",success:"success",warning:"warning",error:"error",info:"info",neutral:"default",accent:"primary",danger:"error",muted:"inherit"};function n(r){return e[r]}const o={solid:"contained",soft:"soft",outline:"outlined",ghost:"text",link:"link"};function t(r){return o[r]}const a={xs:"small",sm:"small",md:"medium",lg:"large",xl:"large"};function i(r){return a[r]}function u(r){if(r==="xs")return{minHeight:"1.5rem",padding:"2px 8px",fontSize:"0.6875rem"};if(r==="xl")return{minHeight:"3.25rem",padding:"12px 24px",fontSize:"1rem"}}const s={xs:"1.75rem",sm:"2.25rem",md:"2.75rem",lg:"3.25rem",xl:"3.75rem"};function d(r){return r==="xs"||r==="sm"?"small":"medium"}const l={rounded:"var(--ov-radius-md, 6px)",pill:999,square:0};function c(r){return l[r]}const m={primary:"var(--ov-accent)",secondary:"var(--ov-fg-muted)",success:"var(--ov-success-default)",warning:"var(--ov-warning-default)",error:"var(--ov-danger-default)",info:"var(--ov-info-default)",neutral:"var(--ov-fg-default)",accent:"var(--ov-accent)",danger:"var(--ov-danger-default)",muted:"var(--ov-fg-muted)"};function f(r){return m[r]}const g={healthy:"success",warning:"warning",degraded:"warning",error:"error",unknown:"neutral",pending:"info"};function v(r){return g[r]}exports.INPUT_HEIGHTS=s;exports.sizeOverrideSx=u;exports.statusToColor=v;exports.toBorderRadius=c;exports.toCssColor=f;exports.toMuiColor=n;exports.toMuiInputSize=d;exports.toMuiSize=i;exports.toMuiVariant=t;
