simple-wizard-component
Advanced tools
Comparing version 0.6.0 to 0.6.1
@@ -121,13 +121,12 @@ 'use strict'; | ||
{ className: 'wizard' }, | ||
_react2.default.createElement(ProgressBar, { steps: steps.length, position: position }), | ||
_react2.default.createElement( | ||
CurrentStep, | ||
{ startData: data[position], | ||
endData: data[position + 1], | ||
staticData: staticData, | ||
cancel: this.cancel, | ||
next: completeStep, | ||
previous: prevStep }, | ||
children | ||
) | ||
_react2.default.createElement(ProgressBar, { | ||
steps: steps.length, | ||
position: position }), | ||
_react2.default.createElement(CurrentStep, { | ||
startData: data[position], | ||
endData: data[position + 1], | ||
staticData: staticData, | ||
cancel: this.cancel, | ||
next: completeStep, | ||
previous: prevStep }) | ||
); | ||
@@ -160,3 +159,5 @@ } | ||
key: i, | ||
className: ['marker', i < position ? 'complete' : null, i == position ? 'active' : null].join(' ') }); | ||
className: ['marker', i < position ? 'complete' : null, i == position ? 'active' : null].filter(function (c) { | ||
return c !== null; | ||
}).join(' ').trim() }); | ||
}) | ||
@@ -163,0 +164,0 @@ ); |
{ | ||
"name": "simple-wizard-component", | ||
"version": "0.6.0", | ||
"version": "0.6.1", | ||
"description": "a basic wizard for use in React", | ||
@@ -13,4 +13,6 @@ "files": [ | ||
"prebuild": "rimraf lib", | ||
"build": "babel ./src -d lib", | ||
"test": "" | ||
"build": "babel ./src -d lib --ignore __tests__", | ||
"test": "jest", | ||
"test:watch": "jest --watch", | ||
"coverage": "jest --coverage" | ||
}, | ||
@@ -34,6 +36,10 @@ "repository": { | ||
"babel-core": "^6.7.6", | ||
"babel-jest": "^16.0.0", | ||
"babel-preset-es2015": "^6.6.0", | ||
"babel-preset-react": "^6.5.0", | ||
"jest": "^16.0.1", | ||
"react": "^15.3.2", | ||
"react-test-renderer": "^15.3.2", | ||
"rimraf": "^2.5.2" | ||
} | ||
} |
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 tests
QualityPackage does not have any tests. This is a strong signal of a poorly maintained or low quality package.
Found 1 instance in 1 package
13296
144
1
0
9