@yumiai/chat-widget 0.2.0 → 0.2.1
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/CHANGELOG.md +8 -0
- package/package.json +3 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.2.1] - 2026-05-19
|
|
4
|
+
|
|
5
|
+
### Fixed
|
|
6
|
+
|
|
7
|
+
- **完善 `peerDependencies`**:将 `@ant-design/icons` 和 `tailwindcss-scoped-preflight` 加入 `peerDependencies`。0.2.0 的 dist 直接以 bare import 引用这两者,但 package.json 既未声明 dep 也未声明 peerDep,导致下游消费者(如 JetForge frontend)`npm install` 后 vite/rollup 在 `Can't resolve 'tailwindcss-scoped-preflight'` 处崩。`@ant-design/icons` 同款问题,但消费侧若自己已装则巧合可过。
|
|
8
|
+
- `@ant-design/icons`: `^6.0.0 || ^7.0.0`,标记 `optional`(仅在使用相关 icon 时需要)。
|
|
9
|
+
- `tailwindcss-scoped-preflight`: `^4.0.0`,**必需**(chat-widget 的 CSS scoping 依赖它)。
|
|
10
|
+
|
|
3
11
|
## [0.2.0] - 2026-05-19
|
|
4
12
|
|
|
5
13
|
聚合自 0.1.2 以来 ~198 次提交,覆盖 **CWRF-001 → CWRF-013** 全部 Phase(P1 ~ P6)和若干 JETP 集成。重点是:a2ui / GenUI 渲染管线落地、shadcn × Tailwind v4 设计体系接入、DashboardLayout / RiskRegister / DataTable 三件套 Split 重构(已删除 legacy 但提供 transformer 自动迁移)、Phase 5 a11y 严格化(axe-core CI gate)、Phase 6 catalog 89 组件三件 contract 形式化。
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yumiai/chat-widget",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"description": "JetPave ChatWidget SDK — Agent conversation UI component",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -39,12 +39,14 @@
|
|
|
39
39
|
"src/components/jetPaveGerberViewer/src/viewer-src/**/*.js"
|
|
40
40
|
],
|
|
41
41
|
"peerDependencies": {
|
|
42
|
+
"@ant-design/icons": "^6.0.0 || ^7.0.0",
|
|
42
43
|
"@phosphor-icons/react": "^2.0.0",
|
|
43
44
|
"antd": "^5.0.0 || ^6.0.0",
|
|
44
45
|
"occt-import-js": ">=0.0.20",
|
|
45
46
|
"react": "^18.0.0 || ^19.0.0",
|
|
46
47
|
"react-dom": "^18.0.0 || ^19.0.0",
|
|
47
48
|
"react-force-graph-3d": "^1.29.0",
|
|
49
|
+
"tailwindcss-scoped-preflight": "^4.0.0",
|
|
48
50
|
"three": ">=0.150.0",
|
|
49
51
|
"three-spritetext": "^1.10.0"
|
|
50
52
|
},
|