Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

rc-steps

Package Overview
Dependencies
Maintainers
4
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 2.1.4 to 2.1.5

9

lib/Steps.js

@@ -92,4 +92,5 @@ 'use strict';

var size = props.size;
var current = props.current;
var restProps = _objectWithoutProperties(props, ['prefixCls', 'style', 'className', 'children', 'direction', 'labelPlacement', 'iconPrefix', 'status', 'size']);
var restProps = _objectWithoutProperties(props, ['prefixCls', 'style', 'className', 'children', 'direction', 'labelPlacement', 'iconPrefix', 'status', 'size', 'current']);

@@ -117,3 +118,3 @@ var lastIndex = children.length - 1;

// fix tail color
if (props.status === 'error' && idx === props.current - 1) {
if (status === 'error' && idx === current - 1) {
np.className = props.prefixCls + '-next-error';

@@ -123,5 +124,5 @@ }

if (!ele.props.status) {
if (idx === props.current) {
if (idx === current) {
np.status = status;
} else if (idx < props.current) {
} else if (idx < current) {
np.status = 'finish';

@@ -128,0 +129,0 @@ } else {

{
"name": "rc-steps",
"version": "2.1.4",
"version": "2.1.5",
"description": "steps ui component for react",

@@ -5,0 +5,0 @@ "keywords": [

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