rc-progress
Advanced tools
Comparing version 2.1.2 to 2.2.0
@@ -91,2 +91,3 @@ import _extends from 'babel-runtime/helpers/extends'; | ||
var showCirclePath = restProps.percent > 0; | ||
delete restProps.percent; | ||
@@ -110,3 +111,3 @@ delete restProps.gapDegree; | ||
}), | ||
React.createElement('path', { | ||
showCirclePath && React.createElement('path', { | ||
className: prefixCls + '-circle-path', | ||
@@ -113,0 +114,0 @@ d: pathString, |
@@ -5,2 +5,5 @@ # History | ||
## 2.2.0 | ||
- when circle percent == 0, make stroke not visible | ||
## 2.1.0 | ||
@@ -7,0 +10,0 @@ - Add `gapDegree` `gapPosition` props. |
@@ -125,2 +125,3 @@ 'use strict'; | ||
var showCirclePath = restProps.percent > 0; | ||
delete restProps.percent; | ||
@@ -144,3 +145,3 @@ delete restProps.gapDegree; | ||
}), | ||
_react2['default'].createElement('path', { | ||
showCirclePath && _react2['default'].createElement('path', { | ||
className: prefixCls + '-circle-path', | ||
@@ -147,0 +148,0 @@ d: pathString, |
{ | ||
"name": "rc-progress", | ||
"version": "2.1.2", | ||
"version": "2.2.0", | ||
"description": "progress ui component for react", | ||
@@ -39,7 +39,7 @@ "keywords": [ | ||
"lint:fix": "rc-tools run lint --fix", | ||
"karma": "rc-tools run karma", | ||
"saucelabs": "rc-tools run saucelabs", | ||
"test": "rc-tools run test", | ||
"chrome-test": "rc-tools run chrome-test", | ||
"coverage": "rc-tools run coverage" | ||
"karma": "rc-test run karma", | ||
"saucelabs": "rc-test run saucelabs", | ||
"test": "rc-test run test", | ||
"chrome-test": "rc-test run chrome-test", | ||
"coverage": "rc-test run coverage" | ||
}, | ||
@@ -49,2 +49,3 @@ "devDependencies": { | ||
"pre-commit": "1.x", | ||
"rc-test": "^6.0.1", | ||
"rc-tools": "6.x", | ||
@@ -51,0 +52,0 @@ "react": "^15.5.4", |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
30466
572
0
6