@sheinx/base 3.6.5-beta.5 → 3.6.5-beta.7

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.
@@ -1 +1 @@
1
- {"version":3,"file":"upload.d.ts","sourceRoot":"","sources":["upload.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAW5C,QAAA,MAAM,MAAM,wEAsQX,CAAC;AAEF,eAAe,MAAM,CAAC"}
1
+ {"version":3,"file":"upload.d.ts","sourceRoot":"","sources":["upload.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAW5C,QAAA,MAAM,MAAM,wEAuQX,CAAC;AAEF,eAAe,MAAM,CAAC"}
@@ -71,7 +71,8 @@ var Upload = function Upload(props0) {
71
71
  invalidImage: (0, _config.getLocale)(locale, 'invalidImage')
72
72
  },
73
73
  value: value,
74
- onChange: onChange
74
+ onChange: onChange,
75
+ functionalOnChange: props.functionalOnChange
75
76
  })),
76
77
  func = _useUpload.func,
77
78
  files = _useUpload.files,
@@ -1 +1 @@
1
- {"version":3,"file":"upload.d.ts","sourceRoot":"","sources":["upload.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAW5C,QAAA,MAAM,MAAM,wEAsQX,CAAC;AAEF,eAAe,MAAM,CAAC"}
1
+ {"version":3,"file":"upload.d.ts","sourceRoot":"","sources":["upload.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAW5C,QAAA,MAAM,MAAM,wEAuQX,CAAC;AAEF,eAAe,MAAM,CAAC"}
@@ -65,7 +65,8 @@ var Upload = function Upload(props0) {
65
65
  invalidImage: getLocale(locale, 'invalidImage')
66
66
  },
67
67
  value: value,
68
- onChange: onChange
68
+ onChange: onChange,
69
+ functionalOnChange: props.functionalOnChange
69
70
  })),
70
71
  func = _useUpload.func,
71
72
  files = _useUpload.files,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sheinx/base",
3
- "version": "3.6.5-beta.5",
3
+ "version": "3.6.5-beta.7",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "license": "MIT",
@@ -10,7 +10,7 @@
10
10
  "module": "./esm/index.js",
11
11
  "typings": "./cjs/index.d.ts",
12
12
  "dependencies": {
13
- "@sheinx/hooks": "3.6.5-beta.5",
13
+ "@sheinx/hooks": "3.6.5-beta.7",
14
14
  "immer": "^10.0.0",
15
15
  "classnames": "^2.0.0",
16
16
  "@shined/reactive": "^0.1.3-alpha.0"