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>
This commit is contained in:
+18
@@ -0,0 +1,18 @@
|
||||
/**
|
||||
* 状态流转时间线:左侧 2px 竖线 + 圆点的只读事件序列,用于归档详情/任务历史。
|
||||
*/
|
||||
export interface TimelineItem {
|
||||
/** 时间文字,如 "2026-06-12 14:02:31" */
|
||||
time: string;
|
||||
/** 事件文字,如 "执行中 → 待审/合" */
|
||||
text: string;
|
||||
/** 操作者/来源,如 "编排器 · 依赖满足自动放行" */
|
||||
who?: string;
|
||||
/** 圆点颜色(CSS 值),默认 --muted */
|
||||
color?: string;
|
||||
}
|
||||
export interface TimelineProps {
|
||||
items?: TimelineItem[];
|
||||
style?: React.CSSProperties;
|
||||
}
|
||||
export declare function Timeline(props: TimelineProps): JSX.Element;
|
||||
Reference in New Issue
Block a user