From cc4b3f947f58f69ded566a76d4f0e66e0972ce8c Mon Sep 17 00:00:00 2001 From: InJung Chung Date: Mon, 12 Jun 2017 09:16:23 +0900 Subject: [PATCH] Release 1.0.9 --- lib/Step.js | 60 ++++++++++++++++++++++++------------------------- lib/Stepper.js | 61 +++++++++++++++++++++++++------------------------- package.json | 2 +- 3 files changed, 61 insertions(+), 62 deletions(-) diff --git a/lib/Step.js b/lib/Step.js index 5a528a1..f2c8ee8 100644 --- a/lib/Step.js +++ b/lib/Step.js @@ -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: { @@ -266,4 +266,4 @@ Step.propTypes = { defaultBorderStyle: _propTypes.PropTypes.string, completeBorderStyle: _propTypes.PropTypes.string, activeBorderStyle: _propTypes.PropTypes.string -}; +}; \ No newline at end of file diff --git a/lib/Stepper.js b/lib/Stepper.js index 54c6273..384de93 100644 --- a/lib/Stepper.js +++ b/lib/Stepper.js @@ -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', @@ -148,4 +147,4 @@ Stepper.propTypes = { activeBorderStyle: _propTypes.PropTypes.string }; -exports.default = Stepper; +exports.default = Stepper; \ No newline at end of file diff --git a/package.json b/package.json index c565247..95ee376 100644 --- a/package.json +++ b/package.json @@ -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": {