5a1e185b1a
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>
19 lines
610 B
TypeScript
19 lines
610 B
TypeScript
/**
|
|
* 状态流转时间线:左侧 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;
|