@plurix/ecom-components 1.8.1 → 1.9.1
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.
|
@@ -3,6 +3,7 @@ interface CartClubAlertProps {
|
|
|
3
3
|
discount: string;
|
|
4
4
|
participeLink: string;
|
|
5
5
|
learnMoreLink: string;
|
|
6
|
+
hasPlusFriendBadge?: boolean;
|
|
6
7
|
}
|
|
7
|
-
export declare const CartClubAlert: ({ discount, participeLink, learnMoreLink }: CartClubAlertProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export declare const CartClubAlert: ({ discount, participeLink, learnMoreLink, hasPlusFriendBadge }: CartClubAlertProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
9
|
export {};
|
|
@@ -1,13 +1,18 @@
|
|
|
1
1
|
import { jsxs as r, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { DiscountIcon as
|
|
3
|
-
/* empty css */const
|
|
2
|
+
import { DiscountIcon as s } from "../../assets/svgs/DiscountIcon.js";
|
|
3
|
+
/* empty css */const t = ({
|
|
4
4
|
discount: a,
|
|
5
5
|
participeLink: c,
|
|
6
|
-
learnMoreLink: o
|
|
6
|
+
learnMoreLink: o,
|
|
7
|
+
hasPlusFriendBadge: l = !1
|
|
7
8
|
}) => /* @__PURE__ */ r("div", { className: "club-cart-alert-container", children: [
|
|
8
9
|
/* @__PURE__ */ r("header", { children: [
|
|
9
|
-
/* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(
|
|
10
|
-
/* @__PURE__ */
|
|
10
|
+
/* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(s, {}) }),
|
|
11
|
+
/* @__PURE__ */ r("p", { className: "club-infos-container", children: [
|
|
12
|
+
"Produtos do seu carrinho estão em promoção no",
|
|
13
|
+
" ",
|
|
14
|
+
l ? "+ Amigo" : "Clube de Fidelidade"
|
|
15
|
+
] })
|
|
11
16
|
] }),
|
|
12
17
|
/* @__PURE__ */ r("p", { className: "club-alert-ad", children: [
|
|
13
18
|
"Tenha ",
|
|
@@ -18,5 +23,5 @@ import { DiscountIcon as l } from "../../assets/svgs/DiscountIcon.js";
|
|
|
18
23
|
/* @__PURE__ */ e("a", { className: "club-more-infos", href: o, children: "Saber Mais" })
|
|
19
24
|
] });
|
|
20
25
|
export {
|
|
21
|
-
|
|
26
|
+
t as CartClubAlert
|
|
22
27
|
};
|