@sheinx/base 3.6.0-beta.11 → 3.6.0-beta.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.
@@ -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,4CA4PX,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,4CAkQX,CAAC;AAEF,eAAe,MAAM,CAAC"}
@@ -106,9 +106,10 @@ var Upload = function Upload(props0) {
106
106
  wrapperProps = _useInputClick.wrapperProps;
107
107
  var renderHandler = function renderHandler() {
108
108
  if (restLength <= 0) return null;
109
- var inputOriginProps = {
110
- webkitdirectory: props.webkitdirectory
111
- };
109
+ var inputOriginProps = {};
110
+ if (props.webkitdirectory) {
111
+ inputOriginProps.webkitdirectory = 'true';
112
+ }
112
113
  return /*#__PURE__*/(0, _jsxRuntime.jsx)(_drop.default, {
113
114
  drop: drop,
114
115
  accept: accept,
@@ -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,4CA4PX,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,4CAkQX,CAAC;AAEF,eAAe,MAAM,CAAC"}
@@ -100,9 +100,10 @@ var Upload = function Upload(props0) {
100
100
  wrapperProps = _useInputClick.wrapperProps;
101
101
  var renderHandler = function renderHandler() {
102
102
  if (restLength <= 0) return null;
103
- var inputOriginProps = {
104
- webkitdirectory: props.webkitdirectory
105
- };
103
+ var inputOriginProps = {};
104
+ if (props.webkitdirectory) {
105
+ inputOriginProps.webkitdirectory = 'true';
106
+ }
106
107
  return /*#__PURE__*/_jsx(Drop, {
107
108
  drop: drop,
108
109
  accept: accept,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sheinx/base",
3
- "version": "3.6.0-beta.11",
3
+ "version": "3.6.0-beta.12",
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.0-beta.11",
13
+ "@sheinx/hooks": "3.6.0-beta.12",
14
14
  "immer": "^10.0.0",
15
15
  "classnames": "^2.0.0",
16
16
  "@shined/reactive": "^0.1.3-alpha.0"