@plurix/ecom-components 1.18.20-commerce → 1.18.22-commerce
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.
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { jsxs as l, jsx as s } from "react/jsx-runtime";
|
|
2
|
-
import { ClubCollectsIcon as
|
|
3
|
-
/* empty css */const
|
|
4
|
-
currentSeals:
|
|
2
|
+
import { ClubCollectsIcon as d } from "../../assets/svgs/ClubCollectsIcon.js";
|
|
3
|
+
/* empty css */const _ = ({
|
|
4
|
+
currentSeals: e,
|
|
5
5
|
nextSealProgress: o,
|
|
6
6
|
missingValue: r,
|
|
7
|
-
sealGoalValue:
|
|
8
|
-
subtotalValue:
|
|
9
|
-
sealQuantityText:
|
|
7
|
+
sealGoalValue: n,
|
|
8
|
+
subtotalValue: i,
|
|
9
|
+
sealQuantityText: c,
|
|
10
10
|
bannerSrc: a
|
|
11
11
|
}) => /* @__PURE__ */ l("div", { className: "clubCollects", children: [
|
|
12
12
|
/* @__PURE__ */ l("div", { className: "clubCollects__header", children: [
|
|
13
|
-
/* @__PURE__ */ s(
|
|
13
|
+
/* @__PURE__ */ s(d, {}),
|
|
14
14
|
/* @__PURE__ */ s("span", { className: "clubCollects__logo", children: "Coleciona" })
|
|
15
15
|
] }),
|
|
16
16
|
/* @__PURE__ */ l("div", { className: "clubCollects__content", children: [
|
|
@@ -18,9 +18,9 @@ import { ClubCollectsIcon as t } from "../../assets/svgs/ClubCollectsIcon.js";
|
|
|
18
18
|
"Garantidos no carrinho atual:",
|
|
19
19
|
" ",
|
|
20
20
|
/* @__PURE__ */ l("span", { children: [
|
|
21
|
-
|
|
21
|
+
e,
|
|
22
22
|
" ",
|
|
23
|
-
|
|
23
|
+
e === 1 ? "selo" : "selos"
|
|
24
24
|
] })
|
|
25
25
|
] }),
|
|
26
26
|
/* @__PURE__ */ l("div", { className: "clubCollects__progressWrapper", children: [
|
|
@@ -33,7 +33,7 @@ import { ClubCollectsIcon as t } from "../../assets/svgs/ClubCollectsIcon.js";
|
|
|
33
33
|
) }),
|
|
34
34
|
/* @__PURE__ */ l("span", { className: "clubCollects__next", children: [
|
|
35
35
|
"+",
|
|
36
|
-
|
|
36
|
+
c,
|
|
37
37
|
" selo"
|
|
38
38
|
] })
|
|
39
39
|
] }),
|
|
@@ -41,7 +41,7 @@ import { ClubCollectsIcon as t } from "../../assets/svgs/ClubCollectsIcon.js";
|
|
|
41
41
|
"Subtotal ",
|
|
42
42
|
/* @__PURE__ */ l("span", { children: [
|
|
43
43
|
"R$ ",
|
|
44
|
-
Number(
|
|
44
|
+
Number(i).toFixed(2)
|
|
45
45
|
] }),
|
|
46
46
|
" faltam",
|
|
47
47
|
" ",
|
|
@@ -56,14 +56,16 @@ import { ClubCollectsIcon as t } from "../../assets/svgs/ClubCollectsIcon.js";
|
|
|
56
56
|
"A cada ",
|
|
57
57
|
/* @__PURE__ */ l("strong", { children: [
|
|
58
58
|
"R$ ",
|
|
59
|
-
|
|
59
|
+
n
|
|
60
60
|
] }),
|
|
61
|
-
"
|
|
61
|
+
" ganhe",
|
|
62
62
|
" ",
|
|
63
|
-
/* @__PURE__ */ s("strong", { children:
|
|
63
|
+
/* @__PURE__ */ s("strong", { children: c }),
|
|
64
|
+
" selo",
|
|
65
|
+
/* @__PURE__ */ s("span", { children: "Produtos aceleradores dão selos extras!" })
|
|
64
66
|
] })
|
|
65
67
|
] })
|
|
66
68
|
] });
|
|
67
69
|
export {
|
|
68
|
-
|
|
70
|
+
_ as ClubCollects
|
|
69
71
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.clubCollects{background:#0f2144;border-radius:8px;padding:16px;max-width:
|
|
1
|
+
.clubCollects{background:#0f2144;border-radius:8px;padding:16px;max-width:370px;color:#fff}.clubCollects__header{display:flex;justify-content:center;align-items:center;margin-bottom:16px;gap:5px}.clubCollects__logo{font-size:16px;font-weight:600;color:#f4af25}.clubCollects__content{display:flex;flex-direction:column;gap:12px}.clubCollects__current{font-size:12px;font-weight:700;line-height:16px;margin:0;text-align:center}.clubCollects__current span{color:#f4af25;font-size:16px}.clubCollects__progressWrapper{display:flex;align-items:center;gap:8px}.clubCollects__progress{flex:1;height:6px;background:rgba(255,255,255,.2);border-radius:999px;overflow:hidden;position:relative}.clubCollects__progressFill{height:100%;border-radius:999px;background:#f4af25;transition:width .3s ease}.clubCollects__next{font-size:14px;font-weight:700;white-space:nowrap}.clubCollects__missing{font-size:12px;text-align:center;margin:0}.clubCollects__missing span{color:#f4af25;font-weight:700}.clubCollects__rule{text-align:center;font-size:12px;margin:0}.clubCollects__rule strong{font-weight:700}.clubCollects__rule span{display:block}.clubCollects__banner img{display:block;object-fit:contain;width:100%;height:100%}
|