orbcafe-ui 1.2.1 → 1.2.2

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/README.md CHANGED
@@ -51,6 +51,24 @@
51
51
  - `AgentUI` 模块文档:`src/components/AgentUI/README.md`
52
52
  - `AI 模块契约索引`:`skills/orbcafe-ui-component-usage/references/module-contracts.md`
53
53
  - `Pad skill`:`skills/orbcafe-pad-workflow/SKILL.md`
54
+ - `组件通俗名映射(多语言)`:`skills/orbcafe-ui-component-usage/references/component-glossary-i18n.md`
55
+
56
+ ### 组件通俗名(Natural Name)对照
57
+
58
+ 用于“用户自然语言 -> 组件 canonical API”映射,避免只有英文技术名才可路由。
59
+
60
+ | Canonical API | English natural name | 中文通俗名 | German cues |
61
+ | --- | --- | --- | --- |
62
+ | `CTable` | Desktop table | 电脑端表格 | Desktop Tabelle |
63
+ | `CSmartFilter` | Smart filter bar | 智能筛选条 | Filterleiste |
64
+ | `PTable` | Pad/touch table | 平板触摸表格 | Tablet Tabelle |
65
+ | `PSmartFilter` | Pad filter bar | 平板筛选条 | Tablet Filter |
66
+ | `PBarcodeScanner` | Camera barcode scanner | 摄像头扫码控件 | Barcode Scanner |
67
+ | `PNumericKeypad` | On-screen numeric keypad | 屏幕数字小键盘 | Ziffernblock |
68
+ | `CAppPageLayout` | App shell layout | 应用壳层布局 | App Layout |
69
+ | `CDetailInfoPage` | Detail page | 详情页 | Detailseite |
70
+ | `CPivotTable` | Pivot table | 透视表 | Pivot Tabelle |
71
+ | `AgentPanel` | Agent chat panel | 智能体聊天面板 | Agent Chat Panel |
54
72
 
55
73
  ---
56
74
 
@@ -108,15 +126,16 @@ import {
108
126
 
109
127
  如果目标是让 AI 在 vibe coding 场景里稳定使用 ORBCAFE UI,推荐遵循这条顺序:
110
128
 
111
- 1. 先用 `skills/orbcafe-ui-component-usage` 判定目标模块。
112
- 2. 再看 `skills/orbcafe-ui-component-usage/references/module-contracts.md`,确认:
129
+ 1. 先看 `skills/orbcafe-ui-component-usage/references/component-glossary-i18n.md`,把自然语言组件名映射到 canonical API。
130
+ 2. 再用 `skills/orbcafe-ui-component-usage` 判定目标模块。
131
+ 3. 再看 `skills/orbcafe-ui-component-usage/references/module-contracts.md`,确认:
113
132
  - 公共导出入口
114
133
  - 推荐标准组件
115
134
  - 是否公开 hooks
116
135
  - 最小状态结构
117
136
  - 标准 example
118
137
  - 验证与排障清单
119
- 3. 最后才看具体模块 README 和官方 examples。
138
+ 4. 最后才看具体模块 README 和官方 examples。
120
139
 
121
140
  ### 当前标准化原则
122
141