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>
14 lines
555 B
TypeScript
14 lines
555 B
TypeScript
/**
|
|
* 下拉选择(自绘弹层,非原生 select):触发器与 Input 同形制,弹出磷光风格选项菜单——当前项绿色 ▍ 标记 + 抬升底。选项文案用「值 · 中文」格式(如 "manual · 手动")。
|
|
*/
|
|
export interface SelectProps {
|
|
label?: string;
|
|
required?: boolean;
|
|
options?: Array<string | { value: string; label: string }>;
|
|
value?: string;
|
|
defaultValue?: string;
|
|
onChange?: (value: string) => void;
|
|
style?: React.CSSProperties;
|
|
}
|
|
export declare function Select(props: SelectProps): JSX.Element;
|