Comparing version 4.0.0-alpha.0 to 4.0.0
@@ -74,8 +74,10 @@ import _extends from "@babel/runtime/helpers/extends"; | ||
}), loadingIcon, /*#__PURE__*/React.createElement("span", { | ||
className: "".concat(prefixCls, "-inner") | ||
}, /*#__PURE__*/React.createElement("span", { | ||
className: "".concat(prefixCls, "-inner-checked") | ||
}, checkedChildren), /*#__PURE__*/React.createElement("span", { | ||
className: "".concat(prefixCls, "-inner-unchecked") | ||
}, unCheckedChildren)); | ||
}, unCheckedChildren))); | ||
}); | ||
Switch.displayName = 'Switch'; | ||
export default Switch; |
@@ -98,6 +98,8 @@ "use strict"; | ||
}), loadingIcon, /*#__PURE__*/React.createElement("span", { | ||
className: "".concat(prefixCls, "-inner") | ||
}, /*#__PURE__*/React.createElement("span", { | ||
className: "".concat(prefixCls, "-inner-checked") | ||
}, checkedChildren), /*#__PURE__*/React.createElement("span", { | ||
className: "".concat(prefixCls, "-inner-unchecked") | ||
}, unCheckedChildren)); | ||
}, unCheckedChildren))); | ||
}); | ||
@@ -104,0 +106,0 @@ Switch.displayName = 'Switch'; |
{ | ||
"name": "rc-switch", | ||
"version": "4.0.0-alpha.0", | ||
"version": "4.0.0", | ||
"description": "switch ui component for react", | ||
@@ -58,2 +58,3 @@ "keywords": [ | ||
"father": "^4.0.0", | ||
"gh-pages": "^4.0.0", | ||
"husky": "^8.0.1", | ||
@@ -60,0 +61,0 @@ "less": "^3.11.1", |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
19824
309
0
0
19