import { cn } from "@openstatus/ui/lib/utils"; import type { ReactNode } from "react"; type Props = { label: ReactNode; value?: ReactNode; className?: string; /** Visual emphasis. `default` matches the audit-log palette. */ variant?: "default" | "outline"; }; /** * Two-part chip: muted label cell + mono value cell, separated by a * vertical border. Returns `null` when `value` is empty so callers can map * over a heterogeneous metadata bag without filtering first. */ export function Pill({ label, value, className, variant = "default" }: Props) { if (value === undefined || value === null || value === "") return null; return (