@betterstore/react 0.3.9 → 0.3.10
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/CHANGELOG.md +6 -0
- package/dist/index.cjs.js +3 -5
- package/dist/index.mjs +3 -5
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/index.cjs.js
CHANGED
|
@@ -35776,11 +35776,9 @@ function CheckoutSummary({ appliedDiscounts, lineItems, shipping, tax, currency,
|
|
|
35776
35776
|
React.createElement("div", { className: "absolute -top-2 -right-2 w-6 h-6 bg-primary rounded-full flex items-center text-background justify-center text-sm" }, item.quantity)),
|
|
35777
35777
|
React.createElement("div", { className: "ml-4 flex-1" },
|
|
35778
35778
|
React.createElement("h3", { className: "text-lg font-medium" }, (_e = item.productData) === null || _e === void 0 ? void 0 : _e.title),
|
|
35779
|
-
React.createElement("p", { className: "text-muted-foreground text-ellipsis line-clamp-1 md:max-w-[75%] text-sm" }, item.variantOptions
|
|
35780
|
-
option.name
|
|
35781
|
-
"
|
|
35782
|
-
option.value,
|
|
35783
|
-
" "))))),
|
|
35779
|
+
React.createElement("p", { className: "text-muted-foreground text-ellipsis line-clamp-1 md:max-w-[75%] text-sm" }, item.variantOptions
|
|
35780
|
+
.map((option) => `${option.name}: ${option.value}`)
|
|
35781
|
+
.join(", "))),
|
|
35784
35782
|
React.createElement("div", { className: "text-right" }, isDiscounted ? (React.createElement("div", { className: "flex flex-col" },
|
|
35785
35783
|
React.createElement("p", { className: "text-sm font-medium -mb-0.5 line-through text-muted-foreground" }, storeHelpers.formatPrice((_f = productItem === null || productItem === void 0 ? void 0 : productItem.priceInCents) !== null && _f !== void 0 ? _f : 0, currency, exchangeRate)),
|
|
35786
35784
|
React.createElement("p", { className: "text-lg font-medium" }, discountedPrice <= 0
|
package/dist/index.mjs
CHANGED
|
@@ -35753,11 +35753,9 @@ function CheckoutSummary({ appliedDiscounts, lineItems, shipping, tax, currency,
|
|
|
35753
35753
|
React__default.createElement("div", { className: "absolute -top-2 -right-2 w-6 h-6 bg-primary rounded-full flex items-center text-background justify-center text-sm" }, item.quantity)),
|
|
35754
35754
|
React__default.createElement("div", { className: "ml-4 flex-1" },
|
|
35755
35755
|
React__default.createElement("h3", { className: "text-lg font-medium" }, (_e = item.productData) === null || _e === void 0 ? void 0 : _e.title),
|
|
35756
|
-
React__default.createElement("p", { className: "text-muted-foreground text-ellipsis line-clamp-1 md:max-w-[75%] text-sm" }, item.variantOptions
|
|
35757
|
-
option.name
|
|
35758
|
-
"
|
|
35759
|
-
option.value,
|
|
35760
|
-
" "))))),
|
|
35756
|
+
React__default.createElement("p", { className: "text-muted-foreground text-ellipsis line-clamp-1 md:max-w-[75%] text-sm" }, item.variantOptions
|
|
35757
|
+
.map((option) => `${option.name}: ${option.value}`)
|
|
35758
|
+
.join(", "))),
|
|
35761
35759
|
React__default.createElement("div", { className: "text-right" }, isDiscounted ? (React__default.createElement("div", { className: "flex flex-col" },
|
|
35762
35760
|
React__default.createElement("p", { className: "text-sm font-medium -mb-0.5 line-through text-muted-foreground" }, storeHelpers.formatPrice((_f = productItem === null || productItem === void 0 ? void 0 : productItem.priceInCents) !== null && _f !== void 0 ? _f : 0, currency, exchangeRate)),
|
|
35763
35761
|
React__default.createElement("p", { className: "text-lg font-medium" }, discountedPrice <= 0
|