@reglow/reui-mcp 0.1.1 → 0.2.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 +8 -0
- package/package.json +1 -1
- package/skills/reui-components/COMPONENTS.md +13 -10
package/catalog.mjs
CHANGED
|
@@ -40,6 +40,7 @@ export const CATEGORIES = [
|
|
|
40
40
|
{ name: "affix", cn: "固钉", desc: "滚动时固定元素位置" },
|
|
41
41
|
{ name: "breadcrumb", cn: "面包屑", desc: "显示页面层级路径" },
|
|
42
42
|
{ name: "dropdown-menu", cn: "下拉菜单", desc: "下拉操作菜单" },
|
|
43
|
+
{ name: "steps", cn: "步骤条", desc: "分步流程引导" },
|
|
43
44
|
{ name: "tabs", cn: "标签页", desc: "多标签内容切换" },
|
|
44
45
|
],
|
|
45
46
|
},
|
|
@@ -81,11 +82,18 @@ export const CATEGORIES = [
|
|
|
81
82
|
{ name: "badge", cn: "徽标", desc: "角标与状态点" },
|
|
82
83
|
{ name: "calendar", cn: "日历", desc: "日历展示" },
|
|
83
84
|
{ name: "card", cn: "卡片", desc: "内容容器卡片" },
|
|
85
|
+
{ name: "carousel", cn: "轮播图", desc: "循环播放的内容切换" },
|
|
84
86
|
{ name: "chat", cn: "对话", desc: "对话气泡组件" },
|
|
87
|
+
{ name: "collapse", cn: "折叠面板", desc: "可折叠的内容面板" },
|
|
85
88
|
{ name: "collapsible", cn: "折叠面板", desc: "可折叠内容" },
|
|
86
89
|
{ name: "empty", cn: "空状态", desc: "空数据占位" },
|
|
87
90
|
{ name: "hover-card", cn: "悬停卡片", desc: "悬停展示详情" },
|
|
88
91
|
{ name: "image-viewer", cn: "图片预览", desc: "图片放大预览" },
|
|
92
|
+
{
|
|
93
|
+
name: "list",
|
|
94
|
+
cn: "虚拟列表",
|
|
95
|
+
desc: "高性能列表(虚拟滚动/分组吸顶/拖拽排序)",
|
|
96
|
+
},
|
|
89
97
|
{ name: "popover", cn: "气泡卡片", desc: "悬浮气泡内容" },
|
|
90
98
|
{ name: "pricing-table", cn: "价格表", desc: "定价方案对比" },
|
|
91
99
|
{ name: "qr-code", 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.4.0(`reui/package.json`)。
|
|
6
6
|
|
|
7
7
|
## 使用方式
|
|
8
8
|
|
|
@@ -43,6 +43,7 @@ import { Button } from "@reglow/reui/ui/button";
|
|
|
43
43
|
| [affix](https://reglow.huoli.tech/components-library/reui/components/navigation/affix) | 固钉 | 滚动时固定元素位置 | `Affix` | `reui/affix` |
|
|
44
44
|
| [breadcrumb](https://reglow.huoli.tech/components-library/reui/components/navigation/breadcrumb) | 面包屑 | 显示页面层级路径 | `Breadcrumb` | `reui/breadcrumb` |
|
|
45
45
|
| [dropdown-menu](https://reglow.huoli.tech/components-library/reui/components/navigation/dropdown-menu) | 下拉菜单 | 下拉操作菜单(reka-ui 透传) | `DropdownMenu` / `DropdownMenuTrigger` / `DropdownMenuContent` / `DropdownMenuItem` / `DropdownMenuSub` … | `reui/dropdown-menu` |
|
|
46
|
+
| [steps](https://reglow.huoli.tech/components-library/reui/components/navigation/steps) | 步骤条 | 分步流程引导(配置式/复合式、6 种类型) | `Steps` / `StepsItem` / `StepsIcon` | `reui/steps` |
|
|
46
47
|
| [tabs](https://reglow.huoli.tech/components-library/reui/components/navigation/tabs) | 标签页 | 多标签内容切换(配置式 / 复合式,6 种样式) | `Tabs` / `TabsList` / `TabsTrigger` / `TabsContent` | `reui/tabs` |
|
|
47
48
|
|
|
48
49
|
## 数据录入 data-entry
|
|
@@ -90,6 +91,7 @@ import { Button } from "@reglow/reui/ui/button";
|
|
|
90
91
|
| [empty](https://reglow.huoli.tech/components-library/reui/components/data-display/empty) | 空状态 | 空数据占位 | `Empty` | `reui/empty` |
|
|
91
92
|
| [hover-card](https://reglow.huoli.tech/components-library/reui/components/data-display/hover-card) | 悬停卡片 | 悬停展示详情 | `HoverCard` / `HoverCardTrigger` / `HoverCardContent` | `reui/hover-card` |
|
|
92
93
|
| [image-viewer](https://reglow.huoli.tech/components-library/reui/components/data-display/image-viewer) | 图片预览 | 图片放大预览 | `Image` / `ImageViewer` / `PreviewGroup` | `reui/image-viewer` |
|
|
94
|
+
| [list](https://reglow.huoli.tech/components-library/reui/components/data-display/list) | 虚拟列表 | 高性能列表(虚拟滚动/分组吸顶/拖拽排序) | `List` / `ListItemMeta` | `reui/list` |
|
|
93
95
|
| [popover](https://reglow.huoli.tech/components-library/reui/components/data-display/popover) | 气泡卡片 | 悬浮气泡内容 | `Popover` / `PopoverTrigger` / `PopoverContent` | `reui/popover` |
|
|
94
96
|
| [pricing-table](https://reglow.huoli.tech/components-library/reui/components/data-display/pricing-table) | 价格表 | 定价方案对比 | `PricingTable` | `reui/pricing-table` |
|
|
95
97
|
| [qr-code](https://reglow.huoli.tech/components-library/reui/components/data-display/qr-code) | 二维码 | 二维码生成 | `QRCode` | `reui/qr-code` |
|
|
@@ -130,12 +132,13 @@ import { Button } from "@reglow/reui/ui/button";
|
|
|
130
132
|
|
|
131
133
|
## 常见选型对照
|
|
132
134
|
|
|
133
|
-
| 需求
|
|
134
|
-
|
|
|
135
|
-
| 带分页/搜索/行操作的数据列表
|
|
136
|
-
| 通用表格(排序/行选择/展开行)
|
|
137
|
-
| 模态确认删除
|
|
138
|
-
| 表单内日期输入
|
|
139
|
-
| 左右分栏可拖拽
|
|
140
|
-
|
|
|
141
|
-
|
|
|
135
|
+
| 需求 | 选它 | 不要选 |
|
|
136
|
+
| ------------------------------------ | --------------------------------------------------------- | ------------------------------------------------- |
|
|
137
|
+
| 带分页/搜索/行操作的数据列表 | `PageTable`(`reui/table`) | `Table`(通用表格,不含分页/搜索/列管理) |
|
|
138
|
+
| 通用表格(排序/行选择/展开行) | `Table`(`reui/table`) | `TableRoot` + 原子组件(无排序/选择,需完全自建) |
|
|
139
|
+
| 模态确认删除 | `Modal.confirm` / `PopConfirm` | `ui/alert-dialog`(reka-ui 风格,需自行组装) |
|
|
140
|
+
| 表单内日期输入 | `DatePicker` / `DateRangePicker`(`Dayjs` 值) | `Calendar`(面板形态,用于嵌入式日历) |
|
|
141
|
+
| 左右分栏可拖拽 | `Splitter` + `SplitterPanel` | `MasonryGrid`(瀑布流,不同场景) |
|
|
142
|
+
| 长列表(虚拟滚动/分组吸顶/拖拽排序) | `List`(`sortable` 开启拖拽、`v-model:items` 同步顺序) | `PageTable`(表格形态)/ `MasonryGrid`(瀑布流) |
|
|
143
|
+
| 可折叠内容区 | `Collapse`(多面板、手风琴)/ `Collapsible`(单个折叠区) | — |
|
|
144
|
+
| 代码展示 / 编辑 | `CodeEditor`(`readonly` 作展示) | `Textarea`(无高亮) |
|