"use strict";const u=require("react/jsx-runtime"),c=require("@mui/material/Chip"),r=require("./types.cjs");function s({status:t,size:o="sm",label:l,sx:e}){const a=r.statusToColor(t),i=r.toMuiColor(a),n=l??t.charAt(0).toUpperCase()+t.slice(1);return u.jsx(c,{label:n,color:i==="default"||i==="inherit"?void 0:i,variant:"outlined",size:o==="xs"||o==="sm"?"small":"medium",sx:{fontWeight:500,fontSize:o==="xs"?"var(--ov-text-xs)":"var(--ov-text-sm)",...typeof e=="object"&&!Array.isArray(e)?e:{}}})}s.displayName="StatusPill";exports.StatusPill=s;
