fat-design 0.0.1-beta.20250831120355 → 0.0.1-beta.20250831121040
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/index.browser.js +2 -2
- package/index.js +1 -1
- package/index.umd.cjs +1 -1
- package/index.umd.js +1 -1
- package/package.json +2 -2
- package/types/upload/index.d.ts +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fat-design",
|
|
3
|
-
"version": "0.0.1-beta.
|
|
3
|
+
"version": "0.0.1-beta.20250831121040",
|
|
4
4
|
"scripts": {},
|
|
5
5
|
"main": "index.umd.js",
|
|
6
6
|
"module": "index.js",
|
|
@@ -16,5 +16,5 @@
|
|
|
16
16
|
"publishConfig": {
|
|
17
17
|
"registry": "https://registry.npmjs.org"
|
|
18
18
|
},
|
|
19
|
-
"buildTime": "Sun, 31 Aug 2025 04:
|
|
19
|
+
"buildTime": "Sun, 31 Aug 2025 04:10:40 GMT"
|
|
20
20
|
}
|
package/types/upload/index.d.ts
CHANGED
|
@@ -259,7 +259,7 @@ export interface CardProps extends HTMLAttributesWeak, CommonProps {
|
|
|
259
259
|
/**
|
|
260
260
|
* 改变时候的回调
|
|
261
261
|
*/
|
|
262
|
-
onChange?: (value: File[]) => void;
|
|
262
|
+
onChange?: (value: File[], param2?: any) => void;
|
|
263
263
|
|
|
264
264
|
/**
|
|
265
265
|
* 可选参数, 用于校验文件,afterSelect仅在 autoUpload=false 的时候生效,autoUpload=true时,可以使用beforeUpload完全可以替代该功能.
|
|
@@ -325,7 +325,7 @@ export interface SimpleJSONUploadProps extends UploadProps, CardProps {
|
|
|
325
325
|
/**
|
|
326
326
|
* 上传文件改变时的状态。两个参数的OnChange函数,可以接收最原始的返回值。
|
|
327
327
|
*/
|
|
328
|
-
onChange2?: (value: File[],
|
|
328
|
+
onChange2?: (value: File[], param2?: any) => void;
|
|
329
329
|
}
|
|
330
330
|
|
|
331
331
|
export class SimpleJSONUpload extends React.Component<SimpleJSONUploadProps, any> {} {
|