Socket
Socket
Sign inDemoInstall

rc-steps

Package Overview
Dependencies
Maintainers
3
Versions
74
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rc-steps - npm Package Compare versions

Comparing version 1.4.0 to 1.4.1

assets/iconfont.css

9

lib/Steps.js

@@ -36,2 +36,4 @@ 'use strict';

componentDidMount: function componentDidMount() {
var _this = this;
if (this.props.direction === 'vertical') {

@@ -64,5 +66,4 @@ return;

*/
var me = this;
setTimeout(function () {
me._resize();
_this._resize();
});

@@ -115,2 +116,4 @@

render: function render() {
var _this2 = this;
var props = this.props;

@@ -134,3 +137,3 @@ var prefixCls = props.prefixCls;

stepLast: idx === len,
tailWidth: iws.length === 0 || idx === len ? 'auto' : iws[idx] + this.state.tailWidth,
tailWidth: iws.length === 0 || idx === len ? 'auto' : iws[idx] + _this2.state.tailWidth,
prefixCls: prefixCls,

@@ -137,0 +140,0 @@ iconPrefix: iconPrefix,

{
"name": "rc-steps",
"version": "1.4.0",
"version": "1.4.1",
"description": "steps ui component for react",

@@ -11,2 +11,6 @@ "keywords": [

"main": "./lib/index",
"files": [
"lib",
"assets/*.css"
],
"homepage": "http://github.com/react-component/steps",

@@ -45,3 +49,3 @@ "maintainers": [

"expect.js": "~0.3.x",
"precommit-hook": "1.x",
"pre-commit": "1.x",
"rc-server": "3.x",

@@ -52,5 +56,5 @@ "rc-tools": "~4.2.6",

},
"precommit": [
"pre-commit": [
"lint"
]
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc