@reglow/reui-mcp 0.2.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/catalog.mjs +10 -0
- package/package.json +1 -1
- package/skills/reui-components/COMPONENTS.md +10 -8
package/catalog.mjs
CHANGED
|
@@ -19,6 +19,11 @@ export const CATEGORIES = [
|
|
|
19
19
|
components: [
|
|
20
20
|
{ name: "button", cn: "按钮", desc: "触发操作的基础按钮" },
|
|
21
21
|
{ name: "divider", cn: "分割线", desc: "分隔内容区域" },
|
|
22
|
+
{
|
|
23
|
+
name: "icon",
|
|
24
|
+
cn: "图标",
|
|
25
|
+
desc: "统一图标组件(lucide / radix / 本地 SVG)",
|
|
26
|
+
},
|
|
22
27
|
{ name: "label", cn: "标签", desc: "表单字段文本标签" },
|
|
23
28
|
{ name: "spinner", cn: "加载圈", desc: "基础加载指示" },
|
|
24
29
|
{ name: "toggle", cn: "开关", desc: "简单布尔值开关" },
|
|
@@ -84,6 +89,11 @@ export const CATEGORIES = [
|
|
|
84
89
|
{ name: "card", cn: "卡片", desc: "内容容器卡片" },
|
|
85
90
|
{ name: "carousel", cn: "轮播图", desc: "循环播放的内容切换" },
|
|
86
91
|
{ name: "chat", cn: "对话", desc: "对话气泡组件" },
|
|
92
|
+
{
|
|
93
|
+
name: "chart",
|
|
94
|
+
cn: "图表",
|
|
95
|
+
desc: "基于 Unovis 的图表(漏斗/仪表盘/雷达/迷你图等)",
|
|
96
|
+
},
|
|
87
97
|
{ name: "collapse", cn: "折叠面板", desc: "可折叠的内容面板" },
|
|
88
98
|
{ name: "collapsible", cn: "折叠面板", desc: "可折叠内容" },
|
|
89
99
|
{ name: "empty", cn: "空状态", desc: "空数据占位" },
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
> 分类与文档链接取自官网组件总览 https://reglow.huoli.tech/components-library/reui (同源仓库文件:`reglow-docs/content/components-library/1.reui/1.index.md`)。
|
|
4
4
|
> 导入符号已逐一核对各组件目录的 `index.ts`(`reui/components/reui/*/index.ts`、`reui/components/ui/*/index.ts`)。
|
|
5
|
-
> 版本基线:`@reglow/reui` 0.
|
|
5
|
+
> 版本基线:`@reglow/reui` 0.5.0(`reui/package.json`)。
|
|
6
6
|
|
|
7
7
|
## 使用方式
|
|
8
8
|
|
|
@@ -20,13 +20,14 @@ import { Button } from "@reglow/reui/ui/button";
|
|
|
20
20
|
|
|
21
21
|
## 通用 general
|
|
22
22
|
|
|
23
|
-
| 组件 | 中文名 | 说明
|
|
24
|
-
| --------------------------------------------------------------------------------------- | ------ |
|
|
25
|
-
| [button](https://reglow.huoli.tech/components-library/reui/components/general/button) | 按钮 | 触发操作的基础按钮
|
|
26
|
-
| [divider](https://reglow.huoli.tech/components-library/reui/components/general/divider) | 分割线 | 分隔内容区域
|
|
27
|
-
| [
|
|
28
|
-
| [
|
|
29
|
-
| [
|
|
23
|
+
| 组件 | 中文名 | 说明 | 导入符号 | 子路径 |
|
|
24
|
+
| --------------------------------------------------------------------------------------- | ------ | ----------------------------------------- | ----------------------------------------------------------------------- | -------------- |
|
|
25
|
+
| [button](https://reglow.huoli.tech/components-library/reui/components/general/button) | 按钮 | 触发操作的基础按钮 | `Button` | `ui/button` |
|
|
26
|
+
| [divider](https://reglow.huoli.tech/components-library/reui/components/general/divider) | 分割线 | 分隔内容区域 | `Divider` | `reui/divider` |
|
|
27
|
+
| [icon](https://reglow.huoli.tech/components-library/reui/components/general/icon) | 图标 | 统一图标组件(lucide / radix / 本地 SVG) | `Icon`(`adminIcons` / `radixIcons` / `registerIcons` / `resolveIcon`) | `reui/icon` |
|
|
28
|
+
| [label](https://reglow.huoli.tech/components-library/reui/components/general/label) | 标签 | 表单字段文本标签 | `Label` | `ui/label` |
|
|
29
|
+
| [spinner](https://reglow.huoli.tech/components-library/reui/components/general/spinner) | 加载圈 | 基础加载指示 | `Spinner` | `ui/spinner` |
|
|
30
|
+
| [toggle](https://reglow.huoli.tech/components-library/reui/components/general/toggle) | 开关 | 简单布尔值开关 | `Toggle` | `ui/toggle` |
|
|
30
31
|
|
|
31
32
|
## 布局 layout
|
|
32
33
|
|
|
@@ -86,6 +87,7 @@ import { Button } from "@reglow/reui/ui/button";
|
|
|
86
87
|
| [card](https://reglow.huoli.tech/components-library/reui/components/data-display/card) | 卡片 | 内容容器卡片 | `Card` / `CardHeader` / `CardTitle` / `CardDescription` / `CardContent` / `CardFooter` / `CardMeta` / `CardGroup` | `reui/card` |
|
|
87
88
|
| [carousel](https://reglow.huoli.tech/components-library/reui/components/data-display/carousel) | 轮播图 | 循环播放的内容切换(自动播放/淡入淡出/拖拽) | `Carousel` | `reui/carousel` |
|
|
88
89
|
| [chat](https://reglow.huoli.tech/components-library/reui/components/data-display/chat) | 对话 | 对话气泡组件 | `ChatMessage` / `ChatMessages` / `ChatPalette` / `ChatPrompt` / `ChatPromptSubmit` / `ChatReasoning` / `ChatShimmer` / `ChatTool` | `reui/chat` |
|
|
90
|
+
| [chart](https://reglow.huoli.tech/components-library/reui/components/data-display/chart) | 图表 | 基于 Unovis 的图表(漏斗 / 仪表盘 / 雷达 / 迷你图等) | `ChartContainer` / `ChartTooltip` / `ChartCrosshair` / `ChartLegend` / `FunnelChart` / `GaugeChart` / `RadarChart` / `MiniChart` | `reui/chart` |
|
|
89
91
|
| [collapse](https://reglow.huoli.tech/components-library/reui/components/data-display/collapse) | 折叠面板 | 配置式 + 复合式、手风琴、ghost | `Collapse` / `CollapsePanel` | `reui/collapse` |
|
|
90
92
|
| [collapsible](https://reglow.huoli.tech/components-library/reui/components/data-display/collapsible) | 折叠面板 | 可折叠内容(配置式 + 复合式双模式) | `Collapsible` / `CollapsibleRoot` / `CollapsibleTrigger` / `CollapsibleContent` | `reui/collapsible` |
|
|
91
93
|
| [empty](https://reglow.huoli.tech/components-library/reui/components/data-display/empty) | 空状态 | 空数据占位 | `Empty` | `reui/empty` |
|