Comparing version 4.1.0 to 4.1.2
@@ -144,2 +144,3 @@ import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties"; | ||
subTitle = _this$props3.subTitle, | ||
progressDot = _this$props3.progressDot, | ||
stepIcon = _this$props3.stepIcon, | ||
@@ -151,3 +152,3 @@ tailContent = _this$props3.tailContent, | ||
onClick = _this$props3.onClick, | ||
restProps = _objectWithoutProperties(_this$props3, ["className", "prefixCls", "style", "active", "status", "iconPrefix", "icon", "wrapperStyle", "stepNumber", "disabled", "description", "title", "subTitle", "stepIcon", "tailContent", "icons", "stepIndex", "onStepClick", "onClick"]); | ||
restProps = _objectWithoutProperties(_this$props3, ["className", "prefixCls", "style", "active", "status", "iconPrefix", "icon", "wrapperStyle", "stepNumber", "disabled", "description", "title", "subTitle", "progressDot", "stepIcon", "tailContent", "icons", "stepIndex", "onStepClick", "onClick"]); | ||
@@ -154,0 +155,0 @@ var classString = classNames("".concat(prefixCls, "-item"), "".concat(prefixCls, "-item-").concat(status), className, (_classNames2 = {}, _defineProperty(_classNames2, "".concat(prefixCls, "-item-custom"), icon), _defineProperty(_classNames2, "".concat(prefixCls, "-item-active"), active), _defineProperty(_classNames2, "".concat(prefixCls, "-item-disabled"), disabled === true), _classNames2)); |
@@ -20,3 +20,2 @@ import _defineProperty from "@babel/runtime/helpers/esm/defineProperty"; | ||
import toArray from "rc-util/es/Children/toArray"; | ||
import devWarning from "rc-util/es/warning"; | ||
import classNames from 'classnames'; | ||
@@ -79,3 +78,2 @@ import Step from './Step'; | ||
var classString = classNames(prefixCls, "".concat(prefixCls, "-").concat(direction), className, (_classNames = {}, _defineProperty(_classNames, "".concat(prefixCls, "-").concat(size), size), _defineProperty(_classNames, "".concat(prefixCls, "-label-").concat(adjustedLabelPlacement), direction === 'horizontal'), _defineProperty(_classNames, "".concat(prefixCls, "-dot"), !!progressDot), _defineProperty(_classNames, "".concat(prefixCls, "-navigation"), isNav), _classNames)); | ||
devWarning(!progressDot, '`progressDot` is deprecated. Please use `stepRender` to custom icon.'); | ||
return React.createElement("div", Object.assign({ | ||
@@ -82,0 +80,0 @@ className: classString, |
@@ -160,2 +160,3 @@ "use strict"; | ||
subTitle = _this$props3.subTitle, | ||
progressDot = _this$props3.progressDot, | ||
stepIcon = _this$props3.stepIcon, | ||
@@ -167,3 +168,3 @@ tailContent = _this$props3.tailContent, | ||
onClick = _this$props3.onClick, | ||
restProps = (0, _objectWithoutProperties2.default)(_this$props3, ["className", "prefixCls", "style", "active", "status", "iconPrefix", "icon", "wrapperStyle", "stepNumber", "disabled", "description", "title", "subTitle", "stepIcon", "tailContent", "icons", "stepIndex", "onStepClick", "onClick"]); | ||
restProps = (0, _objectWithoutProperties2.default)(_this$props3, ["className", "prefixCls", "style", "active", "status", "iconPrefix", "icon", "wrapperStyle", "stepNumber", "disabled", "description", "title", "subTitle", "progressDot", "stepIcon", "tailContent", "icons", "stepIndex", "onStepClick", "onClick"]); | ||
var classString = (0, _classnames.default)("".concat(prefixCls, "-item"), "".concat(prefixCls, "-item-").concat(status), className, (_classNames2 = {}, (0, _defineProperty2.default)(_classNames2, "".concat(prefixCls, "-item-custom"), icon), (0, _defineProperty2.default)(_classNames2, "".concat(prefixCls, "-item-active"), active), (0, _defineProperty2.default)(_classNames2, "".concat(prefixCls, "-item-disabled"), disabled === true), _classNames2)); | ||
@@ -170,0 +171,0 @@ |
@@ -30,4 +30,2 @@ "use strict"; | ||
var _warning = _interopRequireDefault(require("rc-util/lib/warning")); | ||
var _classnames = _interopRequireDefault(require("classnames")); | ||
@@ -97,3 +95,2 @@ | ||
var classString = (0, _classnames.default)(prefixCls, "".concat(prefixCls, "-").concat(direction), className, (_classNames = {}, (0, _defineProperty2.default)(_classNames, "".concat(prefixCls, "-").concat(size), size), (0, _defineProperty2.default)(_classNames, "".concat(prefixCls, "-label-").concat(adjustedLabelPlacement), direction === 'horizontal'), (0, _defineProperty2.default)(_classNames, "".concat(prefixCls, "-dot"), !!progressDot), (0, _defineProperty2.default)(_classNames, "".concat(prefixCls, "-navigation"), isNav), _classNames)); | ||
(0, _warning.default)(!progressDot, '`progressDot` is deprecated. Please use `stepRender` to custom icon.'); | ||
return _react.default.createElement("div", Object.assign({ | ||
@@ -100,0 +97,0 @@ className: classString, |
{ | ||
"name": "rc-steps", | ||
"version": "4.1.0", | ||
"version": "4.1.2", | ||
"description": "steps ui component for react", | ||
@@ -5,0 +5,0 @@ "engines": { |
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
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
56697
1219
1