intelicoreact 0.2.69 → 0.2.70
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -43,7 +43,7 @@ var ProgressLine = function ProgressLine(_ref) {
|
|
|
43
43
|
_ref$variant = _ref.variant,
|
|
44
44
|
variant = _ref$variant === void 0 ? 'info' : _ref$variant,
|
|
45
45
|
_ref$useVariantLabelC = _ref.useVariantLabelColor,
|
|
46
|
-
useVariantLabelColor = _ref$useVariantLabelC === void 0 ?
|
|
46
|
+
useVariantLabelColor = _ref$useVariantLabelC === void 0 ? true : _ref$useVariantLabelC,
|
|
47
47
|
_ref$className = _ref.className,
|
|
48
48
|
className = _ref$className === void 0 ? '' : _ref$className;
|
|
49
49
|
|
|
@@ -96,7 +96,7 @@ var ProgressLine = function ProgressLine(_ref) {
|
|
|
96
96
|
return /*#__PURE__*/_react.default.createElement("div", {
|
|
97
97
|
className: "progress-line"
|
|
98
98
|
}, renderLabel(), /*#__PURE__*/_react.default.createElement("div", {
|
|
99
|
-
className: "progress-line__wrapper variant-".concat(variant, " value-").concat(valueVerticalPosition, "-").concat(valueHorizontalPosition, " ").concat(className)
|
|
99
|
+
className: "progress-line__wrapper variant-".concat(useVariantLabelColor && variant, " value-").concat(valueVerticalPosition, "-").concat(valueHorizontalPosition, " ").concat(className)
|
|
100
100
|
}, renderProgressValue(), renderLine()));
|
|
101
101
|
};
|
|
102
102
|
|