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:
maomaochong-ai committed 2026-09-06 20:28:51 +08:00
1 parent 0dcd8e1c72
commit c3e2758736
128 files changed
+2791 -737

No files matched your search

+2 -2
View File
@@ -1,5 +1,5 @@
import { type ReactNode } from "react";
import { Switch } from "antd";
import { Switch } from "@/components/ui/base/switch";
import { ImageSettingsTheme } from "@/components/image-settings-panel";
import { boolConfig, isSeedanceFastModel, isSeedanceVideoConfig, normalizeSeedanceDuration, normalizeSeedanceRatio, normalizeSeedanceResolution, seedanceRatioOptions } from "@/lib/seedance-video";
@@ -357,7 +357,7 @@ function SwitchRow({ label, checked, theme, onChange }: { label: string; checked
{label}
</span>
<span className="shrink-0" onMouseDown={(event) => event.stopPropagation()}>
<Switch size="small" checked={checked} onChange={onChange} />
<Switch size="sm" checked={checked} onChange={onChange} />
</span>
</div>
);