@uiw/react-button
Advanced tools
Comparing version 4.1.0 to 4.1.1
@@ -32,3 +32,3 @@ "use strict"; | ||
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function () { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; } | ||
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; } | ||
@@ -75,3 +75,3 @@ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } } | ||
if (!child) return child; | ||
if (_react.default.isValidElement(child)) return child; | ||
if ( /*#__PURE__*/_react.default.isValidElement(child)) return child; | ||
return /*#__PURE__*/_react.default.createElement("span", null, child); | ||
@@ -78,0 +78,0 @@ })); |
@@ -10,3 +10,3 @@ import _extends from "@babel/runtime/helpers/esm/extends"; | ||
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function () { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; } | ||
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; } | ||
@@ -60,3 +60,3 @@ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } } | ||
if (!child) return child; | ||
if (React.isValidElement(child)) return child; | ||
if ( /*#__PURE__*/React.isValidElement(child)) return child; | ||
return /*#__PURE__*/React.createElement("span", null, child); | ||
@@ -63,0 +63,0 @@ })); |
{ | ||
"name": "@uiw/react-button", | ||
"version": "4.1.0", | ||
"version": "4.1.1", | ||
"description": "Button component", | ||
@@ -46,4 +46,4 @@ "author": "Kenny Wong <wowohoo@qq.com>", | ||
"dependencies": { | ||
"@uiw/react-icon": "^4.1.0", | ||
"@uiw/utils": "^4.1.0", | ||
"@uiw/react-icon": "^4.1.1", | ||
"@uiw/utils": "^4.1.1", | ||
"classnames": "^2.2.6" | ||
@@ -62,3 +62,3 @@ }, | ||
}, | ||
"gitHead": "5a2547993b7f4538e7075f6dce7e550620e31eca" | ||
"gitHead": "1f6848374148d3e573244cf52dc88ecd001a6423" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
65153
Updated@uiw/react-icon@^4.1.1
Updated@uiw/utils@^4.1.1