@baishuyun/ai-design 2.0.10 → 2.0.12
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
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @baishuyun/ai-design
|
|
2
2
|
|
|
3
|
+
## 2.0.12
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- fix ctx match error
|
|
8
|
+
- Updated dependencies
|
|
9
|
+
- @baishuyun/ai-feat-utils@2.0.12
|
|
10
|
+
- @baishuyun/types@3.0.12
|
|
11
|
+
|
|
12
|
+
## 2.0.11
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- fix data range input format
|
|
17
|
+
- Updated dependencies
|
|
18
|
+
- @baishuyun/ai-feat-utils@2.0.11
|
|
19
|
+
- @baishuyun/types@3.0.11
|
|
20
|
+
|
|
3
21
|
## 2.0.10
|
|
4
22
|
|
|
5
23
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@baishuyun/ai-design",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.12",
|
|
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.12",
|
|
64
|
+
"@baishuyun/types": "3.0.12"
|
|
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.10",
|
|
87
86
|
"@baishuyun/typescript-config": "2.0.9",
|
|
88
|
-
"@baishuyun/tailwind-config": "3.0.9"
|
|
87
|
+
"@baishuyun/tailwind-config": "3.0.9",
|
|
88
|
+
"@baishuyun/types": "3.0.12"
|
|
89
89
|
},
|
|
90
90
|
"keywords": [],
|
|
91
91
|
"author": "",
|
|
@@ -160,7 +160,7 @@ export function RangeDateTimeInput({ value, onChange, disabled }: FieldValueInpu
|
|
|
160
160
|
<div className="flex items-center gap-[8px]">
|
|
161
161
|
<DateInput
|
|
162
162
|
value={minDate}
|
|
163
|
-
onChange={(date) => onChange?.({ ...rangeValue, min: date ? date.toISOString() : undefined })}
|
|
163
|
+
onChange={(date) => onChange?.({ ...rangeValue, min: date ? formatDateByFormat(date, 'yyyy-MM-dd HH:mm:ss') /* date.toISOString() */ : undefined })}
|
|
164
164
|
format="yyyy-MM-dd"
|
|
165
165
|
placeholder="开始日期"
|
|
166
166
|
disabled={disabled}
|