import { jsx as _jsx } from "react/jsx-runtime";
import { StatusBadge } from "../design/StatusBadge.js";
export function compactBoundaryLabel(hiddenMessages) {
    return `compact +${Math.max(0, hiddenMessages)}`;
}
export function CompactBoundaryMessage(props) {
    return _jsx(StatusBadge, { label: compactBoundaryLabel(props.hiddenMessages), tone: "muted" });
}
