@baishuyun/ai-design 2.0.29 → 2.0.30
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
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@baishuyun/ai-design",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.30",
|
|
4
4
|
"description": "AI 功能 UI 组件库 - 所有 AI 功能的 UI 表现唯一真相来源",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "src/index.ts",
|
|
@@ -60,8 +60,8 @@
|
|
|
60
60
|
"tw-animate-css": "^1.4.0",
|
|
61
61
|
"vaul": "^1.1.2",
|
|
62
62
|
"zod": "^4.1.13",
|
|
63
|
-
"@baishuyun/ai-feat-utils": "2.0.
|
|
64
|
-
"@baishuyun/types": "3.0.
|
|
63
|
+
"@baishuyun/ai-feat-utils": "2.0.28",
|
|
64
|
+
"@baishuyun/types": "3.0.26"
|
|
65
65
|
},
|
|
66
66
|
"peerDependencies": {
|
|
67
67
|
"react": "^19.0.0",
|
|
@@ -83,9 +83,9 @@
|
|
|
83
83
|
"typescript": "^5.5.0",
|
|
84
84
|
"vite": "^5.1.4",
|
|
85
85
|
"vite-plugin-dts": "^4.5.4",
|
|
86
|
-
"@baishuyun/types": "3.0.
|
|
87
|
-
"@baishuyun/
|
|
88
|
-
"@baishuyun/
|
|
86
|
+
"@baishuyun/types": "3.0.26",
|
|
87
|
+
"@baishuyun/typescript-config": "2.0.9",
|
|
88
|
+
"@baishuyun/tailwind-config": "3.0.9"
|
|
89
89
|
},
|
|
90
90
|
"keywords": [],
|
|
91
91
|
"author": "",
|
|
@@ -106,6 +106,8 @@ const VALID_TYPE_MAP: Partial<Record<FieldType, Set<FieldType>>> = {
|
|
|
106
106
|
'text': new Set(['text', 'textarea']),
|
|
107
107
|
'number': new Set(['text', 'textarea']),
|
|
108
108
|
'radio': new Set(['radio', 'radiogroup']),
|
|
109
|
+
'signature': new Set(['signature', 'image', 'upload']),
|
|
110
|
+
'image': new Set(['signature', 'image', 'upload']),
|
|
109
111
|
}
|
|
110
112
|
|
|
111
113
|
const EMPTY_SET = new Set();
|