@reglow/reui-mcp 0.3.2 → 0.3.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reglow/reui-mcp",
3
- "version": "0.3.2",
3
+ "version": "0.3.4",
4
4
  "description": "ReUI 组件库 MCP 服务器与 Skills 知识包:让 AI 助手查询 ReUI 组件文档、示例、源码与函数实现",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -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.6.1(`reui/package.json`)。
5
+ > 版本基线:`@reglow/reui` 0.6.5(`reui/package.json`)。
6
6
 
7
7
  ## 使用方式
8
8
 
@@ -12,17 +12,18 @@ import { Splitter, PageTable, ConfigProvider } from "@reglow/reui";
12
12
 
13
13
  // 按需子路径(等价,粒度更细)
14
14
  import { Splitter, SplitterPanel } from "@reglow/reui/reui/splitter";
15
- import { Button } from "@reglow/reui/ui/button";
15
+ import { Button } from "@reglow/reui/reui/button";
16
16
  ```
17
17
 
18
18
  - 文档链接形如 `https://reglow.huoli.tech/components-library/reui/components/<category>/<name>`。
19
19
  - `子路径` 列中的 `ui/*` 表示基础组件层,`reui/*` 表示高级组件层;主入口同名组件以 `reui` 为准(`guide.md` §3)。
20
+ - 已迁移到 `reui/*` 的组件(`button` / `combobox` / `native-select` / `tags-input`)在 `ui/*` 下保留映射,旧引入路径仍可用。
20
21
 
21
22
  ## 通用 general
22
23
 
23
24
  | 组件 | 中文名 | 说明 | 导入符号 | 子路径 |
24
25
  | --------------------------------------------------------------------------------------- | ------ | ----------------------------------------- | ----------------------------------------------------------------------- | -------------- |
25
- | [button](https://reglow.huoli.tech/components-library/reui/components/general/button) | 按钮 | 触发操作的基础按钮 | `Button` | `ui/button` |
26
+ | [button](https://reglow.huoli.tech/components-library/reui/components/general/button) | 按钮 | 触发操作的基础按钮 | `Button` | `reui/button` |
26
27
  | [divider](https://reglow.huoli.tech/components-library/reui/components/general/divider) | 分割线 | 分隔内容区域 | `Divider` | `reui/divider` |
27
28
  | [icon](https://reglow.huoli.tech/components-library/reui/components/general/icon) | 图标 | 统一图标组件(lucide / radix / 本地 SVG) | `Icon`(`adminIcons` / `radixIcons` / `registerIcons` / `resolveIcon`) | `reui/icon` |
28
29
  | [label](https://reglow.huoli.tech/components-library/reui/components/general/label) | 标签 | 表单字段文本标签 | `Label` | `ui/label` |
@@ -55,21 +56,21 @@ import { Button } from "@reglow/reui/ui/button";
55
56
  | [cascader](https://reglow.huoli.tech/components-library/reui/components/data-entry/cascader) | 级联选择 | 多级联动选择 | `Cascader` | `reui/cascader` |
56
57
  | [checkbox](https://reglow.huoli.tech/components-library/reui/components/data-entry/checkbox) | 多选框 | 多项选择(含不确定态) | `Checkbox` / `CheckboxGroup` | `reui/checkbox` |
57
58
  | [code-editor](https://reglow.huoli.tech/components-library/reui/components/data-entry/code-editor) | 代码编辑器 | 零依赖语法高亮 + 可编辑(Python/TS/Java/Rust) | `CodeEditor`(`highlightCode` / `tokenizeLines`) | `reui/code-editor` |
58
- | [combobox](https://reglow.huoli.tech/components-library/reui/components/data-entry/combobox) | 组合框 | 可搜索选择框 | `Combobox` / `EditableCombobox` | `ui/combobox` |
59
+ | [combobox](https://reglow.huoli.tech/components-library/reui/components/data-entry/combobox) | 组合框 | 可搜索选择框 | `Combobox` / `EditableCombobox` | `reui/combobox` |
59
60
  | [command](https://reglow.huoli.tech/components-library/reui/components/data-entry/command) | 命令面板 | 命令式菜单 | `Command` / `CommandDialog` / `CommandInput` / `CommandList` / `CommandItem` / `CommandEmpty` / `CommandGroup` / `CommandSeparator` / `CommandShortcut` | `ui/command` |
60
61
  | [date-picker](https://reglow.huoli.tech/components-library/reui/components/data-entry/date-picker) | 日期选择 | 选择日期 / 日期范围 / 日期时间 | `DatePicker` / `DateRangePicker` / `CalendarPanel` | `reui/date-picker` |
61
62
  | [editor](https://reglow.huoli.tech/components-library/reui/components/data-entry/editor) | 富文本 | 富文本编辑器(Tiptap) | `Editor` / `EditorToolbar` / `EditorBubbleMenu` / `EditorDragHandle` / `EditorSuggestionMenu` / `EditorMentionMenu` / `EditorEmojiMenu` | `reui/editor` |
62
63
  | [input](https://reglow.huoli.tech/components-library/reui/components/data-entry/input) | 输入框 | 基础文本输入(含 variant / status) | `Input` | `reui/input` |
63
64
  | [input-password](https://reglow.huoli.tech/components-library/reui/components/data-entry/input-password) | 密码输入框 | 掩码显示与显隐切换 | `InputPassword` | `reui/input-password` |
64
65
  | [input-select](https://reglow.huoli.tech/components-library/reui/components/data-entry/input-select) | 输入选择 | 输入与下拉结合 | `InputSelect` | `reui/input-select` |
65
- | [native-select](https://reglow.huoli.tech/components-library/reui/components/data-entry/native-select) | 原生选择 | 原生下拉框 | `NativeSelect` / `NativeSelectOptGroup` / `NativeSelectOption` | `ui/native-select` |
66
+ | [native-select](https://reglow.huoli.tech/components-library/reui/components/data-entry/native-select) | 原生选择 | 原生下拉框 | `NativeSelect` / `NativeSelectOptGroup` / `NativeSelectOption` | `reui/native-select` |
66
67
  | [radio](https://reglow.huoli.tech/components-library/reui/components/data-entry/radio) | 单选框 | 单项选择(含按钮组) | `RadioGroup` / `RadioGroupItem` / `RadioGroupSingle` / `RadioSingle` | `reui/radio` |
67
68
  | [rate](https://reglow.huoli.tech/components-library/reui/components/data-entry/rate) | 评分 | 星级评分 | `Rate` | `reui/rate` |
68
69
  | [segmented](https://reglow.huoli.tech/components-library/reui/components/data-entry/segmented) | 分段控制 | 分段选择 | `Segmented` | `reui/segmented` |
69
70
  | [select](https://reglow.huoli.tech/components-library/reui/components/data-entry/select) | 选择器 | 下拉选择(reka-ui 透传) | `Select` / `SelectTrigger` / `SelectContent` / `SelectItem` / `SelectValue` / `SelectGroup` / `SelectLabel` … | `reui/select` |
70
71
  | [slide-captcha](https://reglow.huoli.tech/components-library/reui/components/data-entry/slide-captcha) | 滑块验证 | 滑块验证码 | `SlideCaptcha` | `reui/slide-captcha` |
71
72
  | [switch](https://reglow.huoli.tech/components-library/reui/components/data-entry/switch) | 开关 | 受控开关 | `Switch` | `ui/switch` |
72
- | [tags-input](https://reglow.huoli.tech/components-library/reui/components/data-entry/tags-input) | 标签输入 | 标签式输入 | `TagsInput` / `TagsInputInput` / `TagsInputItem` / `TagsInputItemText` / `TagsInputItemDelete` | `ui/tags-input` |
73
+ | [tags-input](https://reglow.huoli.tech/components-library/reui/components/data-entry/tags-input) | 标签输入 | 标签式输入 | `TagsInput` / `TagsInputInput` / `TagsInputItem` / `TagsInputItemText` / `TagsInputItemDelete` | `reui/tags-input` |
73
74
  | [textarea](https://reglow.huoli.tech/components-library/reui/components/data-entry/textarea) | 多行文本 | 多行文本输入 | `Textarea` | `reui/textarea` |
74
75
  | [time-picker](https://reglow.huoli.tech/components-library/reui/components/data-entry/time-picker) | 时间选择 | 选择时间 | `TimePicker` | `reui/time-picker` |
75
76
  | [transfer](https://reglow.huoli.tech/components-library/reui/components/data-entry/transfer) | 穿梭框 | 双栏数据穿梭 | `Transfer` | `reui/transfer` |