@plurix/ecom-components 1.16.5-commerce.10 → 1.16.5-commerce.11
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.
|
@@ -8,22 +8,22 @@ const x = ({
|
|
|
8
8
|
isClubClient: a,
|
|
9
9
|
hasPlusFriendBadge: p
|
|
10
10
|
}) => {
|
|
11
|
-
const s = !!(c && c !== r.spotPriceCustom), l = (
|
|
11
|
+
const s = !!(c && c !== r.spotPriceCustom), l = (u) => u.toLocaleString("pt-br", { style: "currency", currency: "BRL" }), o = g({
|
|
12
12
|
measurementUnit: d,
|
|
13
13
|
spotPriceCustom: r.spotPriceCustom,
|
|
14
14
|
spotPriceKg: r == null ? void 0 : r.spotPriceKg,
|
|
15
15
|
unitMultiplier: t
|
|
16
|
-
}),
|
|
16
|
+
}), C = p ? "no +amigo" : "no clube";
|
|
17
17
|
return /* @__PURE__ */ i(P, { children: /* @__PURE__ */ n("div", { className: "product-card-price", children: [
|
|
18
18
|
!a && s && c !== o && /* @__PURE__ */ i("div", { className: "product-card-club-price-container", children: /* @__PURE__ */ i(
|
|
19
19
|
"p",
|
|
20
20
|
{
|
|
21
21
|
className: "product-card-club-price",
|
|
22
22
|
style: {
|
|
23
|
-
backgroundColor: e === "domolivio" ? "#
|
|
24
|
-
color: e === "domolivio" ? "#181247" : "#
|
|
23
|
+
backgroundColor: e === "domolivio" ? "#EBE0CF" : "#FADB9D",
|
|
24
|
+
color: e === "domolivio" ? "#181247" : "#2C3490"
|
|
25
25
|
},
|
|
26
|
-
children: `${l(c || 0)} ${
|
|
26
|
+
children: `${l(c || 0)} ${C}`
|
|
27
27
|
}
|
|
28
28
|
) }),
|
|
29
29
|
/* @__PURE__ */ n("div", { className: "product-card-price-container", children: [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.product-card-see-more{width:162px;height:100%;display:flex;flex-direction:column;min-height:276px;max-height:304px;border:1px solid var(--color-grayScale-lightest);border-radius:8px}.product-card-see-more-text-container{display:flex;align-items:center;flex:1;height:100%}.border-color-white{border:1px solid var(--color-grayScale-white)}.product-card-see-more-link-horizontal,.product-card-see-more-text{padding:0 16px;margin:auto 0;font-weight:var(--text-weight-regular);font-size:var(--text-size-2);line-height:20px;color:var(--color-grayScale)}.product-card-see-more-link-horizontal,.product-card-see-more-text span{display:block;font-weight:var(--text-weight-bold);font-size:24px;line-height:28px}.product-card-see-more-link-horizontal,.product-card-see-more-link{display:flex;align-items:center;justify-content:center;height:40px;margin:8px;border:1px solid var(--color-main);border-radius:20px;background-color:var(--color-main);font-size:var(--text-size-2);font-weight:var(--text-weight-bold);line-height:20px;text-align:center;color:var(--color-grayScale-white);text-decoration:none}.product-card-see-more-horizontal{width:304px;min-height:176px;max-height:206px;display:flex;flex-direction:column;height:
|
|
1
|
+
.product-card-see-more{width:162px;height:100%;display:flex;flex-direction:column;min-height:276px;max-height:304px;border:1px solid var(--color-grayScale-lightest);border-radius:8px}.product-card-see-more-text-container{display:flex;align-items:center;flex:1;height:100%}.border-color-white{border:1px solid var(--color-grayScale-white)}.product-card-see-more-link-horizontal,.product-card-see-more-text{padding:0 16px;margin:auto 0;font-weight:var(--text-weight-regular);font-size:var(--text-size-2);line-height:20px;color:var(--color-grayScale)}.product-card-see-more-link-horizontal,.product-card-see-more-text span{display:block;font-weight:var(--text-weight-bold);font-size:24px;line-height:28px}.product-card-see-more-link-horizontal,.product-card-see-more-link{display:flex;align-items:center;justify-content:center;height:40px;margin:8px;border:1px solid var(--color-main);border-radius:20px;background-color:var(--color-main);font-size:var(--text-size-2);font-weight:var(--text-weight-bold);line-height:20px;text-align:center;color:var(--color-grayScale-white);text-decoration:none}.product-card-see-more-horizontal{width:304px;min-height:176px;max-height:206px;display:flex;flex-direction:column;height:100%;border:1px solid var(--color-grayScale-lightest);border-radius:8px}.product-card-see-more-horizontal-container{flex:1}.product-card-see-more-horizontal div{padding:24px 16px}@media (min-width: 769px){.product-card-see-more{width:226px;min-height:324px;max-height:350px}.product-card-see-more-text span{font-size:32px;line-height:36px}}.product-card-see-more-text-horizontal{max-width:270px;font-weight:var(--text-weight-regular);font-size:var(--text-size-2);line-height:20px;color:var(--color-grayScale)}.product-card-see-more-text-horizontal span{font-weight:var(--text-weight-bold);font-size:24px;line-height:28px}
|