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>
15 lines
555 B
TypeScript
15 lines
555 B
TypeScript
/**
|
|
* 区块标题:▍色块标记 + 全大写宽字距标题,可挂右侧动作。
|
|
*/
|
|
export interface SectionHeadProps {
|
|
/** ▍标记颜色:绿(默认)/ 紫(审批)/ 琥珀(警示)/ 青(agent) */
|
|
mark?: 'green' | 'violet' | 'amber' | 'cyan';
|
|
title?: React.ReactNode;
|
|
/** 右侧动作(通常是 ghost xs 按钮) */
|
|
action?: React.ReactNode;
|
|
/** 滚动容器内吸顶 + 底缘淡出 */
|
|
sticky?: boolean;
|
|
style?: React.CSSProperties;
|
|
}
|
|
export declare function SectionHead(props: SectionHeadProps): JSX.Element;
|