Files
maestro/design/components/core/CountBadge.d.ts
T
wangjia 5a1e185b1a docs(design): 解压 Maestro Design System 到 design/(重构参照材料)
phosphor console v1.1 设计系统(从现网 web/style.css 演化):tokens(colors/effects/
typography/fonts) + components(core/forms/surfaces .jsx) + ui_kits(console + console_mobile)
+ assets/icons(15 双色 SVG) + guidelines + CLAUDE/SKILL/readme。供 B1–B6 重构任务对照实现。

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-13 14:29:07 +08:00

12 lines
481 B
TypeScript

/**
* 顶栏计数徽章:⚠ 待审批(紫脉冲)· ▸ 待执行(绿)· ◉ 执行中(青)· ⛓ 被阻塞(琥珀虚线边)· Σ 总量(中性)。hover 展开文字标签;count 为 0 时灰化。
*/
export interface CountBadgeProps {
kind?: 'gate' | 'ready' | 'run' | 'blocked' | 'total';
count?: number;
/** 覆盖默认中文标签 */
label?: string;
title?: string;
}
export declare function CountBadge(props: CountBadgeProps): JSX.Element;