Skip to content
This repository has been archived by the owner on May 20, 2019. It is now read-only.

Commit

Permalink
Release 1.0.9
Browse files Browse the repository at this point in the history
  • Loading branch information
InJung Chung committed Jun 12, 2017
1 parent 1780857 commit cc4b3f9
Show file tree
Hide file tree
Showing 3 changed files with 61 additions and 62 deletions.
60 changes: 30 additions & 30 deletions lib/Step.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,36 +35,36 @@ var Step = function (_Component) {
_createClass(Step, [{
key: 'getStyles',
value: function getStyles() {
var _props = this.props;
var activeColor = _props.activeColor;
var completeColor = _props.completeColor;
var defaultColor = _props.defaultColor;
var circleFontColor = _props.circleFontColor;
var activeTitleColor = _props.activeTitleColor;
var completeTitleColor = _props.completeTitleColor;
var defaultTitleColor = _props.defaultTitleColor;
var size = _props.size;
var circleFontSize = _props.circleFontSize;
var titleFontSize = _props.titleFontSize;
var circleTop = _props.circleTop;
var titleTop = _props.titleTop;
var width = _props.width;
var completeOpacity = _props.completeOpacity;
var activeOpacity = _props.activeOpacity;
var defaultOpcaity = _props.defaultOpcaity;
var completeTitleOpacity = _props.completeTitleOpacity;
var activeTitleOpacity = _props.activeTitleOpacity;
var defaultTitleOpacity = _props.defaultTitleOpacity;
var barStyle = _props.barStyle;
var defaultBarColor = _props.defaultBarColor;
var completeBarColor = _props.completeBarColor;
var defaultBorderColor = _props.defaultBorderColor;
var completeBorderColor = _props.completeBorderColor;
var activeBorderColor = _props.activeBorderColor;
var defaultBorderStyle = _props.defaultBorderStyle;
var completeBorderStyle = _props.completeBorderStyle;
var activeBorderStyle = _props.activeBorderStyle;

var _props = this.props,
activeColor = _props.activeColor,
completeColor = _props.completeColor,
defaultColor = _props.defaultColor,
circleFontColor = _props.circleFontColor,
activeTitleColor = _props.activeTitleColor,
completeTitleColor = _props.completeTitleColor,
defaultTitleColor = _props.defaultTitleColor,
size = _props.size,
circleFontSize = _props.circleFontSize,
titleFontSize = _props.titleFontSize,
circleTop = _props.circleTop,
titleTop = _props.titleTop,
width = _props.width,
completeOpacity = _props.completeOpacity,
activeOpacity = _props.activeOpacity,
defaultOpcaity = _props.defaultOpcaity,
completeTitleOpacity = _props.completeTitleOpacity,
activeTitleOpacity = _props.activeTitleOpacity,
defaultTitleOpacity = _props.defaultTitleOpacity,
barStyle = _props.barStyle,
defaultBarColor = _props.defaultBarColor,
completeBarColor = _props.completeBarColor,
defaultBorderColor = _props.defaultBorderColor,
completeBorderColor = _props.completeBorderColor,
activeBorderColor = _props.activeBorderColor,
defaultBorderStyle = _props.defaultBorderStyle,
completeBorderStyle = _props.completeBorderStyle,
activeBorderStyle = _props.activeBorderStyle;

return {
step: {
Expand Down Expand Up @@ -266,4 +266,4 @@ Step.propTypes = {
defaultBorderStyle: _propTypes.PropTypes.string,
completeBorderStyle: _propTypes.PropTypes.string,
activeBorderStyle: _propTypes.PropTypes.string
};
};
61 changes: 30 additions & 31 deletions lib/Stepper.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,36 +30,35 @@ var styles = {
};

function Stepper(_ref) {

var activeStep = _ref.activeStep,
steps = _ref.steps,
activeColor = _ref.activeColor,
completeColor = _ref.completeColor,
defaultColor = _ref.defaultColor,
circleFontColor = _ref.circleFontColor,
activeTitleColor = _ref.activeTitleColor,
completeTitleColor = _ref.completeTitleColor,
defaultTitleColor = _ref.defaultTitleColor,
size = _ref.size,
circleFontSize = _ref.circleFontSize,
titleFontSize = _ref.titleFontSize,
circleTop = _ref.circleTop,
titleTop = _ref.titleTop,
completeOpacity = _ref.completeOpacity,
activeOpacity = _ref.activeOpacity,
defaultOpcaity = _ref.defaultOpcaity,
completeTitleOpacity = _ref.completeTitleOpacity,
activeTitleOpacity = _ref.activeTitleOpacity,
defaultTitleOpacity = _ref.defaultTitleOpacity,
barStyle = _ref.barStyle,
defaultBorderColor = _ref.defaultBorderColor,
completeBorderColor = _ref.completeBorderColor,
activeBorderColor = _ref.activeBorderColor,
defaultBorderStyle = _ref.defaultBorderStyle,
completeBorderStyle = _ref.completeBorderStyle,
activeBorderStyle = _ref.activeBorderStyle,
defaultBarColor = _ref.defaultBarColor,
completeBarColor = _ref.completeBarColor;
var activeStep = _ref.activeStep;
var steps = _ref.steps;
var activeColor = _ref.activeColor;
var completeColor = _ref.completeColor;
var defaultColor = _ref.defaultColor;
var circleFontColor = _ref.circleFontColor;
var activeTitleColor = _ref.activeTitleColor;
var completeTitleColor = _ref.completeTitleColor;
var defaultTitleColor = _ref.defaultTitleColor;
var size = _ref.size;
var circleFontSize = _ref.circleFontSize;
var titleFontSize = _ref.titleFontSize;
var circleTop = _ref.circleTop;
var titleTop = _ref.titleTop;
var completeOpacity = _ref.completeOpacity;
var activeOpacity = _ref.activeOpacity;
var defaultOpcaity = _ref.defaultOpcaity;
var completeTitleOpacity = _ref.completeTitleOpacity;
var activeTitleOpacity = _ref.activeTitleOpacity;
var defaultTitleOpacity = _ref.defaultTitleOpacity;
var barStyle = _ref.barStyle;
var defaultBorderColor = _ref.defaultBorderColor;
var completeBorderColor = _ref.completeBorderColor;
var activeBorderColor = _ref.activeBorderColor;
var defaultBorderStyle = _ref.defaultBorderStyle;
var completeBorderStyle = _ref.completeBorderStyle;
var activeBorderStyle = _ref.activeBorderStyle;
var defaultBarColor = _ref.defaultBarColor;
var completeBarColor = _ref.completeBarColor;

return _react2.default.createElement(
'div',
Expand Down Expand Up @@ -148,4 +147,4 @@ Stepper.propTypes = {
activeBorderStyle: _propTypes.PropTypes.string
};

exports.default = Stepper;
exports.default = Stepper;
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-stepper-horizontal",
"version": "1.0.8",
"version": "1.0.9",
"description": "Well-designed stepper component for react",
"main": "lib/index.js",
"scripts": {
Expand Down

0 comments on commit cc4b3f9

Please sign in to comment.