@pelcro/react-pelcro-js 3.26.0-beta.41 → 3.26.0-beta.42
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/index.cjs.js +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/pelcro.css +4 -0
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -21519,7 +21519,7 @@ const TaxAmount = () => {
|
|
|
21519
21519
|
const isTaxInclusive = (_window$Pelcro$site = window.Pelcro.site) === null || _window$Pelcro$site === void 0 ? void 0 : (_window$Pelcro$site$r = _window$Pelcro$site.read()) === null || _window$Pelcro$site$r === void 0 ? void 0 : _window$Pelcro$site$r.tax_inclusive;
|
|
21520
21520
|
if (taxAmount) {
|
|
21521
21521
|
return /*#__PURE__*/React__default['default'].createElement("div", {
|
|
21522
|
-
className: "plc-text-center pelcro-tax-amount"
|
|
21522
|
+
className: "plc-text-center pelcro-tax-amount plc-mt-10"
|
|
21523
21523
|
}, isTaxInclusive && "(", isTaxInclusive ? `Includes ${t("labels.tax")}` : `+ ${t("labels.tax")}`, " ", /*#__PURE__*/React__default['default'].createElement("span", {
|
|
21524
21524
|
className: "plc-font-bold"
|
|
21525
21525
|
}, priceFormatted), isTaxInclusive && ")");
|
package/dist/index.esm.js
CHANGED
|
@@ -21489,7 +21489,7 @@ const TaxAmount = () => {
|
|
|
21489
21489
|
const isTaxInclusive = (_window$Pelcro$site = window.Pelcro.site) === null || _window$Pelcro$site === void 0 ? void 0 : (_window$Pelcro$site$r = _window$Pelcro$site.read()) === null || _window$Pelcro$site$r === void 0 ? void 0 : _window$Pelcro$site$r.tax_inclusive;
|
|
21490
21490
|
if (taxAmount) {
|
|
21491
21491
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
21492
|
-
className: "plc-text-center pelcro-tax-amount"
|
|
21492
|
+
className: "plc-text-center pelcro-tax-amount plc-mt-10"
|
|
21493
21493
|
}, isTaxInclusive && "(", isTaxInclusive ? `Includes ${t("labels.tax")}` : `+ ${t("labels.tax")}`, " ", /*#__PURE__*/React__default.createElement("span", {
|
|
21494
21494
|
className: "plc-font-bold"
|
|
21495
21495
|
}, priceFormatted), isTaxInclusive && ")");
|
package/dist/pelcro.css
CHANGED