magneto365.ui 2.60.1 → 2.61.0

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.
package/dist/cjs/index.js CHANGED
@@ -4543,11 +4543,11 @@ var styles$1d = {"magneto-ui-comparative-counter":"mg_comparative_counter_magnet
4543
4543
 
4544
4544
  var nf = new Intl.NumberFormat('de-DE');
4545
4545
  var Component$1r = function (_a) {
4546
- var _b = _a.current, current = _b === void 0 ? 0 : _b, _c = _a.max, max = _c === void 0 ? 0 : _c;
4546
+ var _b = _a.current, current = _b === void 0 ? 0 : _b, _c = _a.max, max = _c === void 0 ? 0 : _c, _d = _a.position, position = _d === void 0 ? 'left' : _d;
4547
4547
  var currentHigherMax = React.useMemo(function () {
4548
4548
  return current > max;
4549
4549
  }, [current, max]);
4550
- return (React__default["default"].createElement("p", { className: "".concat(styles$1d["".concat(classMUI, "-comparative-counter")], " ").concat(currentHigherMax ? styles$1d['error-label'] : '') },
4550
+ return (React__default["default"].createElement("p", { style: { textAlign: position }, className: "".concat(styles$1d["".concat(classMUI, "-comparative-counter")], " ").concat(currentHigherMax ? styles$1d['error-label'] : '') },
4551
4551
  nf.format(current),
4552
4552
  React__default["default"].createElement("span", null,
4553
4553
  " / ",