rc-upload
Advanced tools
Comparing version 4.0.1 to 4.1.0
@@ -362,3 +362,4 @@ import _extends from "@babel/runtime/helpers/esm/extends"; | ||
onMouseLeave = _this$props3.onMouseLeave, | ||
otherProps = _objectWithoutProperties(_this$props3, ["component", "prefixCls", "className", "disabled", "id", "style", "multiple", "accept", "children", "directory", "openFileDialogOnClick", "onMouseEnter", "onMouseLeave"]); | ||
capture = _this$props3.capture, | ||
otherProps = _objectWithoutProperties(_this$props3, ["component", "prefixCls", "className", "disabled", "id", "style", "multiple", "accept", "children", "directory", "openFileDialogOnClick", "onMouseEnter", "onMouseLeave", "capture"]); | ||
@@ -403,3 +404,5 @@ var cls = classNames((_classNames = {}, _defineProperty(_classNames, prefixCls, true), _defineProperty(_classNames, "".concat(prefixCls, "-disabled"), disabled), _defineProperty(_classNames, className, className), _classNames)); // because input don't have directory/webkitdirectory type declaration | ||
onChange: this.onChange | ||
})), children); | ||
}, capture != null ? { | ||
capture: capture | ||
} : {})), children); | ||
} | ||
@@ -406,0 +409,0 @@ }]); |
@@ -387,3 +387,4 @@ "use strict"; | ||
onMouseLeave = _this$props3.onMouseLeave, | ||
otherProps = (0, _objectWithoutProperties2.default)(_this$props3, ["component", "prefixCls", "className", "disabled", "id", "style", "multiple", "accept", "children", "directory", "openFileDialogOnClick", "onMouseEnter", "onMouseLeave"]); | ||
capture = _this$props3.capture, | ||
otherProps = (0, _objectWithoutProperties2.default)(_this$props3, ["component", "prefixCls", "className", "disabled", "id", "style", "multiple", "accept", "children", "directory", "openFileDialogOnClick", "onMouseEnter", "onMouseLeave", "capture"]); | ||
var cls = (0, _classnames.default)((_classNames = {}, (0, _defineProperty2.default)(_classNames, prefixCls, true), (0, _defineProperty2.default)(_classNames, "".concat(prefixCls, "-disabled"), disabled), (0, _defineProperty2.default)(_classNames, className, className), _classNames)); // because input don't have directory/webkitdirectory type declaration | ||
@@ -427,3 +428,5 @@ | ||
onChange: this.onChange | ||
})), children); | ||
}, capture != null ? { | ||
capture: capture | ||
} : {})), children); | ||
} | ||
@@ -430,0 +433,0 @@ }]); |
{ | ||
"name": "rc-upload", | ||
"version": "4.0.1", | ||
"version": "4.1.0", | ||
"description": "upload ui component for react", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
60687
1468