@baishuyun/ai-design 2.0.10 → 2.0.11

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,14 @@
1
1
  # @baishuyun/ai-design
2
2
 
3
+ ## 2.0.11
4
+
5
+ ### Patch Changes
6
+
7
+ - fix data range input format
8
+ - Updated dependencies
9
+ - @baishuyun/ai-feat-utils@2.0.11
10
+ - @baishuyun/types@3.0.11
11
+
3
12
  ## 2.0.10
4
13
 
5
14
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@baishuyun/ai-design",
3
- "version": "2.0.10",
3
+ "version": "2.0.11",
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.10",
64
- "@baishuyun/types": "3.0.10"
63
+ "@baishuyun/types": "3.0.11",
64
+ "@baishuyun/ai-feat-utils": "2.0.11"
65
65
  },
66
66
  "peerDependencies": {
67
67
  "react": "^19.0.0",
@@ -83,7 +83,7 @@
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",
86
+ "@baishuyun/types": "3.0.11",
87
87
  "@baishuyun/typescript-config": "2.0.9",
88
88
  "@baishuyun/tailwind-config": "3.0.9"
89
89
  },
@@ -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}