Files
maestro/design/components/core/QuotaMeter.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

16 lines
544 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/**
* 额度/用量计量条:LED 分段小灯 + 同色加粗百分比,用量分级自动变色(≤80% 青 / >80% 琥珀 / >95% 红),已用格带辉光。
*/
export interface QuotaMeterProps {
/** 左侧小标签,如 "5h" / "周" */
label?: string;
/** 用量百分比 0100 */
pct?: number;
/** 右侧弱化说明,如 "3h 8m 后重置" */
detail?: string;
/** 分段格数,默认 16 */
cells?: number;
style?: React.CSSProperties;
}
export declare function QuotaMeter(props: QuotaMeterProps): JSX.Element;