Comparing version 1.1.4 to 1.2.0
# History | ||
---- | ||
## 1.2.0 | ||
* add vertical steps | ||
## 1.1.4 | ||
@@ -5,0 +9,0 @@ |
@@ -91,5 +91,9 @@ 'use strict'; | ||
var iws = this._itemsWidth; | ||
var clsName = prefixCls; | ||
clsName += props.size === 'small' ? ' ' + prefixCls + '-small' : ''; | ||
clsName += props.direction === 'vertical' ? ' ' + prefixCls + '-vertical' : ''; | ||
return React.createElement( | ||
'div', | ||
{ className: prefixCls + (props.size === 'small' ? ' ' + prefixCls + '-small' : '') }, | ||
{ className: clsName }, | ||
React.Children.map(children, function (ele, idx) { | ||
@@ -96,0 +100,0 @@ var np = { |
{ | ||
"name": "rc-steps", | ||
"version": "1.1.4", | ||
"version": "1.2.0", | ||
"description": "steps ui component for react", | ||
@@ -37,2 +37,3 @@ "keywords": [ | ||
"publish": "rc-tools run tag", | ||
"pub": "rc-tools run pub", | ||
"lint": "rc-tools run lint", | ||
@@ -47,3 +48,3 @@ "saucelabs": "node --harmony node_modules/.bin/rc-tools run saucelabs", | ||
"rc-server": "3.x", | ||
"rc-tools": "3.x", | ||
"rc-tools": "4.x", | ||
"react": "0.13.x" | ||
@@ -50,0 +51,0 @@ }, |
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
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
7490
6
156
2