import React from "react"; const colors = { live: "var(--status-live)", ok: "var(--status-ok)", warn: "var(--status-warn)", error: "var(--status-error)", idle: "var(--text-disabled)", }; /** * Status dot with optional pulsing ring — on-air / live indicators. */ export function StatusDot({ status = "idle", pulse = false, size = 8, label, style = {} }) { const c = colors[status] || colors.idle; const doPulse = pulse || status === "live"; return ( {doPulse && ( )} {label && {label}} ); }