feat(ui): 自研 Celadon 组件族入库与 AntD 消费全量替换 - base(Kbd/StatusBadge/IconButton/ToolButton)+product(EmptyState/Callout/SegmentedControl/Checkbox/Select/Tooltip/Switch), composio 视觉基底, globals.css 覆盖清理 (ADR-0008)
This commit is contained in:
1 parent
0dcd8e1c72
commit
c3e2758736
128 files changed
+2791
-737
No files matched your search
@@ -1,4 +1,7 @@
|
||||
import { App, Button, Form, Input, Modal, Segmented, Select, Switch, Upload, type UploadFile } from "antd";
|
||||
import { App, Button, Form, Input, Modal, Upload, type UploadFile } from "antd";
|
||||
import { Select } from "@/components/ui/base/select";
|
||||
import { Switch } from "@/components/ui/base/switch";
|
||||
import { SegmentedControl } from "@/components/ui/base/segmented-control";
|
||||
import { FileArchive, FileText, GitBranch, UploadCloud } from "lucide-react";
|
||||
import { useEffect, useState } from "react";
|
||||
|
||||
@@ -90,7 +93,7 @@ export function SkillInstallModal({ open, onClose, onInstalled, onManualCreate }
|
||||
)}
|
||||
>
|
||||
<p className="mb-4 text-sm leading-6 text-foreground/55">支持标准 <code>SKILL.md</code>、包含多层目录的 ZIP 技能包,或公开 GitHub 仓库。名称和简介会优先从技能入口自动读取。</p>
|
||||
<Segmented className="skill-install-mode" block options={modeOptions} value={mode} onChange={(value) => { setMode(value as InstallMode); setFileList([]); }} />
|
||||
<SegmentedControl className="skill-install-mode" block options={modeOptions} value={mode} onChange={(value) => { setMode(value as InstallMode); setFileList([]); }} />
|
||||
|
||||
<Form form={form} layout="vertical" requiredMark="optional" className="skill-install-form">
|
||||
{mode === "github" ? (
|
||||
|
||||
Reference in new issue
Block a user