@plurix/ecom-components 1.16.6-commerce.2 → 1.17.0-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.
- package/dist/packages/ProductCard/ProductCardButton/AddToCartButton.d.ts +1 -2
- package/dist/packages/ProductCard/ProductCardButton/AddToCartButton.js +8 -11
- package/dist/packages/ProductCard/ProductCardButton/index.d.ts +1 -2
- package/dist/packages/ProductCard/ProductCardButton/index.js +13 -20
- package/dist/packages/ProductCard/ProductCardHorizontal/index.d.ts +1 -1
- package/dist/packages/ProductCard/ProductCardHorizontal/index.js +25 -27
- package/dist/packages/ProductCard/ProductCardVertical/index.d.ts +1 -1
- package/dist/packages/ProductCard/ProductCardVertical/index.js +22 -24
- package/dist/packages/ProductCard/index.d.ts +1 -1
- package/dist/packages/ProductCard/index.js +37 -40
- package/dist/packages/Regionalization/components/Navigation.js +21 -21
- package/dist/styles/product-card.global.css +1 -1
- package/dist/types/ProductCard.d.ts +0 -1
- package/package.json +1 -1
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
interface AddToCartButtonProps {
|
|
2
2
|
handleAddToCart: () => void;
|
|
3
|
-
buttonAddToCartText: string;
|
|
4
3
|
}
|
|
5
|
-
export declare const AddToCartButton: ({ handleAddToCart
|
|
4
|
+
export declare const AddToCartButton: ({ handleAddToCart }: AddToCartButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
5
|
export {};
|
|
@@ -1,11 +1,8 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { CartShop as
|
|
3
|
-
import
|
|
4
|
-
const
|
|
5
|
-
|
|
6
|
-
buttonAddToCartText: o
|
|
7
|
-
}) => /* @__PURE__ */ r(
|
|
8
|
-
n,
|
|
1
|
+
import { jsxs as o, jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import { CartShop as a } from "../../../assets/svgs/CartShop.js";
|
|
3
|
+
import i from "./CustomQuantitySelector/Button.js";
|
|
4
|
+
const m = ({ handleAddToCart: t }) => /* @__PURE__ */ o(
|
|
5
|
+
i,
|
|
9
6
|
{
|
|
10
7
|
onClick: t,
|
|
11
8
|
"data-button-variant": "primary",
|
|
@@ -13,11 +10,11 @@ const e = ({
|
|
|
13
10
|
title: "Add to cart Sales",
|
|
14
11
|
className: "product-card-button",
|
|
15
12
|
children: [
|
|
16
|
-
/* @__PURE__ */ a
|
|
17
|
-
|
|
13
|
+
/* @__PURE__ */ r(a, {}),
|
|
14
|
+
"Adicionar"
|
|
18
15
|
]
|
|
19
16
|
}
|
|
20
17
|
);
|
|
21
18
|
export {
|
|
22
|
-
|
|
19
|
+
m as AddToCartButton
|
|
23
20
|
};
|
|
@@ -4,8 +4,7 @@ interface ProductCardButtonProps {
|
|
|
4
4
|
addToCartAction: () => void;
|
|
5
5
|
quantitySelectorAction: ProductCardProps['quantitySelectorAction'];
|
|
6
6
|
productInCart: boolean;
|
|
7
|
-
buttonAddToCartText: string;
|
|
8
7
|
layout?: string;
|
|
9
8
|
}
|
|
10
|
-
export declare const ProductCardButton: ({ addToCartAction, quantitySelectorAction, productInCart, layout
|
|
9
|
+
export declare const ProductCardButton: ({ addToCartAction, quantitySelectorAction, productInCart, layout }: ProductCardButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
10
|
export {};
|
|
@@ -1,31 +1,24 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
1
|
+
var e = Object.defineProperty, m = Object.defineProperties;
|
|
2
|
+
var p = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var n = Object.getOwnPropertySymbols;
|
|
4
|
-
var
|
|
5
|
-
var i = (o, t, r) => t in o ?
|
|
4
|
+
var f = Object.prototype.hasOwnProperty, l = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var i = (o, t, r) => t in o ? e(o, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : o[t] = r, u = (o, t) => {
|
|
6
6
|
for (var r in t || (t = {}))
|
|
7
|
-
|
|
7
|
+
f.call(t, r) && i(o, r, t[r]);
|
|
8
8
|
if (n)
|
|
9
9
|
for (var r of n(t))
|
|
10
|
-
|
|
10
|
+
l.call(t, r) && i(o, r, t[r]);
|
|
11
11
|
return o;
|
|
12
|
-
}, a = (o, t) =>
|
|
12
|
+
}, a = (o, t) => m(o, p(t));
|
|
13
13
|
import { jsx as d } from "react/jsx-runtime";
|
|
14
|
-
import { AddToCartButton as
|
|
15
|
-
import
|
|
16
|
-
const
|
|
14
|
+
import { AddToCartButton as C } from "./AddToCartButton.js";
|
|
15
|
+
import h from "./QuantitySelector.js";
|
|
16
|
+
const T = ({
|
|
17
17
|
addToCartAction: o,
|
|
18
18
|
quantitySelectorAction: t,
|
|
19
19
|
productInCart: r,
|
|
20
|
-
layout: c
|
|
21
|
-
|
|
22
|
-
}) => /* @__PURE__ */ d("div", { id: "product-card-button", children: r ? /* @__PURE__ */ d(s, a(u({}, t), { layout: c })) : /* @__PURE__ */ d(
|
|
23
|
-
h,
|
|
24
|
-
{
|
|
25
|
-
handleAddToCart: o,
|
|
26
|
-
buttonAddToCartText: e
|
|
27
|
-
}
|
|
28
|
-
) });
|
|
20
|
+
layout: c
|
|
21
|
+
}) => /* @__PURE__ */ d("div", { id: "product-card-button", children: r ? /* @__PURE__ */ d(h, a(u({}, t), { layout: c })) : /* @__PURE__ */ d(C, { handleAddToCart: o }) });
|
|
29
22
|
export {
|
|
30
|
-
|
|
23
|
+
T as ProductCardButton
|
|
31
24
|
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { ProductCardProps } from '../../../types/ProductCard';
|
|
2
2
|
|
|
3
|
-
export declare const ProductCardHorizontal: ({ account, hasPlusFriendBadge, promotion, product, hasPromotionalPrice, clubPrice, outOfStock, variant, defaultScListPrice, isClubClient, addToCartAction, quantitySelectorAction, productInCart, openModal
|
|
3
|
+
export declare const ProductCardHorizontal: ({ account, hasPlusFriendBadge, promotion, product, hasPromotionalPrice, clubPrice, outOfStock, variant, defaultScListPrice, isClubClient, addToCartAction, quantitySelectorAction, productInCart, openModal }: ProductCardProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { jsx as s, jsxs as t } from "react/jsx-runtime";
|
|
2
2
|
import { useState as d } from "react";
|
|
3
|
-
import { ProductCardUnavailable as
|
|
4
|
-
import { ProductCardBadgeKg as
|
|
5
|
-
import { ProductCardDiscountBadge as
|
|
6
|
-
import { ProductCardButton as
|
|
7
|
-
import { ProductCardImage as
|
|
8
|
-
import { ProductCardName as
|
|
9
|
-
import { ProductCardPrice as
|
|
10
|
-
import { ProductCardPromotionFlag as
|
|
11
|
-
const
|
|
3
|
+
import { ProductCardUnavailable as B } from "../ProducCardUnavailable/index.js";
|
|
4
|
+
import { ProductCardBadgeKg as N } from "../ProductCardBadge/ProductCardBadgeKg.js";
|
|
5
|
+
import { ProductCardDiscountBadge as O } from "../ProductCardBadge/ProductCardDiscountBadge.js";
|
|
6
|
+
import { ProductCardButton as M } from "../ProductCardButton/index.js";
|
|
7
|
+
import { ProductCardImage as p } from "../ProductCardImage/index.js";
|
|
8
|
+
import { ProductCardName as y } from "../ProductCardName/index.js";
|
|
9
|
+
import { ProductCardPrice as U } from "../ProductCardPrice/index.js";
|
|
10
|
+
import { ProductCardPromotionFlag as E } from "../ProductCardPromotionFlag/index.js";
|
|
11
|
+
const T = ({
|
|
12
12
|
account: r,
|
|
13
13
|
hasPlusFriendBadge: c,
|
|
14
14
|
promotion: i,
|
|
@@ -22,14 +22,13 @@ const q = ({
|
|
|
22
22
|
addToCartAction: g,
|
|
23
23
|
quantitySelectorAction: h,
|
|
24
24
|
productInCart: b,
|
|
25
|
-
openModal: v
|
|
26
|
-
buttonAddToCartText: S
|
|
25
|
+
openModal: v
|
|
27
26
|
}) => {
|
|
28
27
|
var m, f;
|
|
29
|
-
const [
|
|
28
|
+
const [S, k] = d(!1), [D, x] = d(!1), z = r === "domolivio" ? "#EBE0CF" : "#FDF3DE";
|
|
30
29
|
if (P)
|
|
31
30
|
return /* @__PURE__ */ s(
|
|
32
|
-
|
|
31
|
+
B,
|
|
33
32
|
{
|
|
34
33
|
image: (m = e.image) == null ? void 0 : m[0],
|
|
35
34
|
name: e.name,
|
|
@@ -43,7 +42,7 @@ const q = ({
|
|
|
43
42
|
{
|
|
44
43
|
className: "product-card-horizontal",
|
|
45
44
|
style: {
|
|
46
|
-
backgroundColor: u ?
|
|
45
|
+
backgroundColor: u ? z : "var(--color-grayScale-faded)"
|
|
47
46
|
},
|
|
48
47
|
children: [
|
|
49
48
|
/* @__PURE__ */ t(
|
|
@@ -53,7 +52,7 @@ const q = ({
|
|
|
53
52
|
onClick: v,
|
|
54
53
|
children: [
|
|
55
54
|
/* @__PURE__ */ s(
|
|
56
|
-
|
|
55
|
+
p,
|
|
57
56
|
{
|
|
58
57
|
isProductClubAndClient: u,
|
|
59
58
|
variant: a,
|
|
@@ -65,26 +64,26 @@ const q = ({
|
|
|
65
64
|
),
|
|
66
65
|
/* @__PURE__ */ t("div", { className: "product-card-horizontal-description", children: [
|
|
67
66
|
/* @__PURE__ */ t("div", { className: "product-card-section-name", children: [
|
|
68
|
-
/* @__PURE__ */ s(
|
|
67
|
+
/* @__PURE__ */ s(y, { name: e.name }),
|
|
69
68
|
/* @__PURE__ */ t(
|
|
70
69
|
"div",
|
|
71
70
|
{
|
|
72
71
|
className: "product-card-section-badge-horizontal",
|
|
73
72
|
style: {
|
|
74
|
-
display: !
|
|
73
|
+
display: !D && !S ? "none" : ""
|
|
75
74
|
},
|
|
76
75
|
children: [
|
|
77
76
|
/* @__PURE__ */ s(
|
|
78
|
-
|
|
77
|
+
N,
|
|
79
78
|
{
|
|
80
79
|
unitMultiplier: e.unitMultiplier,
|
|
81
80
|
skuSpecifications: e.skuSpecifications,
|
|
82
81
|
measurementUnit: e.measurementUnit,
|
|
83
|
-
setIsShowProductBadge:
|
|
82
|
+
setIsShowProductBadge: x
|
|
84
83
|
}
|
|
85
84
|
),
|
|
86
85
|
/* @__PURE__ */ s(
|
|
87
|
-
|
|
86
|
+
O,
|
|
88
87
|
{
|
|
89
88
|
offers: e.offers,
|
|
90
89
|
defaultScListPrice: l,
|
|
@@ -93,7 +92,7 @@ const q = ({
|
|
|
93
92
|
skuSpecifications: e.skuSpecifications,
|
|
94
93
|
unitMultiplier: e.unitMultiplier,
|
|
95
94
|
hasPromotionalPrice: o,
|
|
96
|
-
setIsShowProductBadge:
|
|
95
|
+
setIsShowProductBadge: k
|
|
97
96
|
}
|
|
98
97
|
)
|
|
99
98
|
]
|
|
@@ -101,7 +100,7 @@ const q = ({
|
|
|
101
100
|
)
|
|
102
101
|
] }),
|
|
103
102
|
a === "horizontal" && /* @__PURE__ */ s(
|
|
104
|
-
|
|
103
|
+
E,
|
|
105
104
|
{
|
|
106
105
|
variant: a,
|
|
107
106
|
productSectionBadge: {
|
|
@@ -114,7 +113,7 @@ const q = ({
|
|
|
114
113
|
}
|
|
115
114
|
),
|
|
116
115
|
/* @__PURE__ */ s(
|
|
117
|
-
|
|
116
|
+
U,
|
|
118
117
|
{
|
|
119
118
|
account: r,
|
|
120
119
|
isClubClient: n,
|
|
@@ -139,13 +138,12 @@ const q = ({
|
|
|
139
138
|
}
|
|
140
139
|
),
|
|
141
140
|
/* @__PURE__ */ s(
|
|
142
|
-
|
|
141
|
+
M,
|
|
143
142
|
{
|
|
144
143
|
addToCartAction: g,
|
|
145
144
|
quantitySelectorAction: h,
|
|
146
145
|
productInCart: b,
|
|
147
|
-
layout: a
|
|
148
|
-
buttonAddToCartText: S
|
|
146
|
+
layout: a
|
|
149
147
|
}
|
|
150
148
|
)
|
|
151
149
|
]
|
|
@@ -153,5 +151,5 @@ const q = ({
|
|
|
153
151
|
);
|
|
154
152
|
};
|
|
155
153
|
export {
|
|
156
|
-
|
|
154
|
+
T as ProductCardHorizontal
|
|
157
155
|
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { ProductCardProps } from '../../../types/ProductCard';
|
|
2
2
|
|
|
3
|
-
export declare const ProductCardVertical: ({ account, hasPlusFriendBadge, promotion, product, hasPromotionalPrice, clubPrice, outOfStock, variant, defaultScListPrice, isClubClient, hasClub, openModal, addToCartAction, quantitySelectorAction, productInCart
|
|
3
|
+
export declare const ProductCardVertical: ({ account, hasPlusFriendBadge, promotion, product, hasPromotionalPrice, clubPrice, outOfStock, variant, defaultScListPrice, isClubClient, hasClub, openModal, addToCartAction, quantitySelectorAction, productInCart }: ProductCardProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsx as e, jsxs as s } from "react/jsx-runtime";
|
|
2
2
|
import { useState as f } from "react";
|
|
3
|
-
import { ProductCardUnavailable as
|
|
4
|
-
import { ProductCardBadgeKg as
|
|
5
|
-
import { ProductCardDiscountBadge as
|
|
6
|
-
import { ProductCardButton as
|
|
7
|
-
import { ProductCardImage as
|
|
8
|
-
import { ProductCardName as
|
|
9
|
-
import { ProductCardPrice as
|
|
10
|
-
const
|
|
3
|
+
import { ProductCardUnavailable as B } from "../ProducCardUnavailable/index.js";
|
|
4
|
+
import { ProductCardBadgeKg as M } from "../ProductCardBadge/ProductCardBadgeKg.js";
|
|
5
|
+
import { ProductCardDiscountBadge as y } from "../ProductCardBadge/ProductCardDiscountBadge.js";
|
|
6
|
+
import { ProductCardButton as U } from "../ProductCardButton/index.js";
|
|
7
|
+
import { ProductCardImage as x } from "../ProductCardImage/index.js";
|
|
8
|
+
import { ProductCardName as E } from "../ProductCardName/index.js";
|
|
9
|
+
import { ProductCardPrice as I } from "../ProductCardPrice/index.js";
|
|
10
|
+
const G = ({
|
|
11
11
|
account: t,
|
|
12
12
|
hasPlusFriendBadge: o,
|
|
13
13
|
promotion: d,
|
|
@@ -22,14 +22,13 @@ const H = ({
|
|
|
22
22
|
openModal: g,
|
|
23
23
|
addToCartAction: b,
|
|
24
24
|
quantitySelectorAction: v,
|
|
25
|
-
productInCart: h
|
|
26
|
-
buttonAddToCartText: S
|
|
25
|
+
productInCart: h
|
|
27
26
|
}) => {
|
|
28
27
|
var l, u;
|
|
29
|
-
const [
|
|
28
|
+
const [S, k] = f(!1), [D, N] = f(!1), O = t === "domolivio" ? "#EBE0CF" : "#FDF3DE";
|
|
30
29
|
if (p)
|
|
31
30
|
return /* @__PURE__ */ e(
|
|
32
|
-
|
|
31
|
+
B,
|
|
33
32
|
{
|
|
34
33
|
image: (l = i.image) == null ? void 0 : l[0],
|
|
35
34
|
name: i.name,
|
|
@@ -44,7 +43,7 @@ const H = ({
|
|
|
44
43
|
id: "product-card",
|
|
45
44
|
className: "product-card",
|
|
46
45
|
style: {
|
|
47
|
-
backgroundColor: n ?
|
|
46
|
+
backgroundColor: n ? O : "var(--color-grayScale-faded)"
|
|
48
47
|
},
|
|
49
48
|
children: [
|
|
50
49
|
/* @__PURE__ */ s(
|
|
@@ -54,7 +53,7 @@ const H = ({
|
|
|
54
53
|
onClick: g,
|
|
55
54
|
children: [
|
|
56
55
|
/* @__PURE__ */ e(
|
|
57
|
-
|
|
56
|
+
x,
|
|
58
57
|
{
|
|
59
58
|
isProductClubAndClient: n,
|
|
60
59
|
variant: r,
|
|
@@ -66,26 +65,26 @@ const H = ({
|
|
|
66
65
|
),
|
|
67
66
|
/* @__PURE__ */ s("div", { className: "product-card-description", children: [
|
|
68
67
|
/* @__PURE__ */ s("div", { className: "product-card-section-name", children: [
|
|
69
|
-
/* @__PURE__ */ e(
|
|
68
|
+
/* @__PURE__ */ e(E, { name: i.name }),
|
|
70
69
|
/* @__PURE__ */ s(
|
|
71
70
|
"div",
|
|
72
71
|
{
|
|
73
72
|
className: "product-card-section-badge",
|
|
74
73
|
style: {
|
|
75
|
-
display: !
|
|
74
|
+
display: !D && !S ? "none" : ""
|
|
76
75
|
},
|
|
77
76
|
children: [
|
|
78
77
|
/* @__PURE__ */ e(
|
|
79
|
-
|
|
78
|
+
M,
|
|
80
79
|
{
|
|
81
80
|
unitMultiplier: i.unitMultiplier,
|
|
82
81
|
skuSpecifications: i.skuSpecifications,
|
|
83
82
|
measurementUnit: i.measurementUnit,
|
|
84
|
-
setIsShowProductBadge:
|
|
83
|
+
setIsShowProductBadge: N
|
|
85
84
|
}
|
|
86
85
|
),
|
|
87
86
|
/* @__PURE__ */ e(
|
|
88
|
-
|
|
87
|
+
y,
|
|
89
88
|
{
|
|
90
89
|
offers: i.offers,
|
|
91
90
|
defaultScListPrice: c,
|
|
@@ -94,7 +93,7 @@ const H = ({
|
|
|
94
93
|
skuSpecifications: i.skuSpecifications,
|
|
95
94
|
unitMultiplier: i.unitMultiplier,
|
|
96
95
|
hasPromotionalPrice: a,
|
|
97
|
-
setIsShowProductBadge:
|
|
96
|
+
setIsShowProductBadge: k
|
|
98
97
|
}
|
|
99
98
|
)
|
|
100
99
|
]
|
|
@@ -102,7 +101,7 @@ const H = ({
|
|
|
102
101
|
)
|
|
103
102
|
] }),
|
|
104
103
|
/* @__PURE__ */ e(
|
|
105
|
-
|
|
104
|
+
I,
|
|
106
105
|
{
|
|
107
106
|
account: t,
|
|
108
107
|
hasClub: C,
|
|
@@ -128,12 +127,11 @@ const H = ({
|
|
|
128
127
|
}
|
|
129
128
|
),
|
|
130
129
|
/* @__PURE__ */ e(
|
|
131
|
-
|
|
130
|
+
U,
|
|
132
131
|
{
|
|
133
132
|
addToCartAction: b,
|
|
134
133
|
quantitySelectorAction: v,
|
|
135
134
|
productInCart: h,
|
|
136
|
-
buttonAddToCartText: S,
|
|
137
135
|
layout: r
|
|
138
136
|
}
|
|
139
137
|
)
|
|
@@ -142,5 +140,5 @@ const H = ({
|
|
|
142
140
|
);
|
|
143
141
|
};
|
|
144
142
|
export {
|
|
145
|
-
|
|
143
|
+
G as ProductCardVertical
|
|
146
144
|
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { ProductCardProps } from '../../types/ProductCard';
|
|
2
2
|
|
|
3
|
-
export declare const ProductCard: ({ product, variant, account, hasPlusFriendBadge, hasPromotionalPrice, clubPrice, defaultScListPrice, hasClub, isClubClient, openModal, promotion, outOfStock, addToCartAction, quantitySelectorAction, productInCart
|
|
3
|
+
export declare const ProductCard: ({ product, variant, account, hasPlusFriendBadge, hasPromotionalPrice, clubPrice, defaultScListPrice, hasClub, isClubClient, openModal, promotion, outOfStock, addToCartAction, quantitySelectorAction, productInCart }: ProductCardProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,67 +1,64 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { ProductCardHorizontal as
|
|
3
|
-
import { ProductCardVertical as
|
|
4
|
-
/* empty css */const
|
|
5
|
-
product:
|
|
1
|
+
import { jsx as D } from "react/jsx-runtime";
|
|
2
|
+
import { ProductCardHorizontal as G } from "./ProductCardHorizontal/index.js";
|
|
3
|
+
import { ProductCardVertical as J } from "./ProductCardVertical/index.js";
|
|
4
|
+
/* empty css */const U = ({
|
|
5
|
+
product: C,
|
|
6
6
|
variant: r,
|
|
7
|
-
account:
|
|
7
|
+
account: f,
|
|
8
8
|
hasPlusFriendBadge: i = !1,
|
|
9
9
|
hasPromotionalPrice: l,
|
|
10
|
-
clubPrice:
|
|
11
|
-
defaultScListPrice:
|
|
10
|
+
clubPrice: x,
|
|
11
|
+
defaultScListPrice: V,
|
|
12
12
|
hasClub: m,
|
|
13
|
-
isClubClient:
|
|
14
|
-
openModal:
|
|
15
|
-
promotion:
|
|
16
|
-
outOfStock:
|
|
13
|
+
isClubClient: E,
|
|
14
|
+
openModal: j,
|
|
15
|
+
promotion: p,
|
|
16
|
+
outOfStock: s,
|
|
17
17
|
addToCartAction: z,
|
|
18
18
|
quantitySelectorAction: H,
|
|
19
|
-
productInCart:
|
|
20
|
-
buttonAddToCartText: D
|
|
19
|
+
productInCart: b
|
|
21
20
|
}) => {
|
|
22
|
-
const
|
|
23
|
-
return r === "vertical" ? /* @__PURE__ */
|
|
24
|
-
|
|
21
|
+
const w = !!(m && E);
|
|
22
|
+
return r === "vertical" ? /* @__PURE__ */ D(
|
|
23
|
+
J,
|
|
25
24
|
{
|
|
26
|
-
isClubClient:
|
|
25
|
+
isClubClient: w,
|
|
27
26
|
hasClub: m,
|
|
28
|
-
defaultScListPrice:
|
|
27
|
+
defaultScListPrice: V,
|
|
29
28
|
hasPromotionalPrice: l,
|
|
30
|
-
product:
|
|
29
|
+
product: C,
|
|
31
30
|
variant: r,
|
|
32
|
-
outOfStock:
|
|
33
|
-
promotion:
|
|
34
|
-
clubPrice:
|
|
35
|
-
openModal:
|
|
31
|
+
outOfStock: s,
|
|
32
|
+
promotion: p,
|
|
33
|
+
clubPrice: x,
|
|
34
|
+
openModal: j,
|
|
36
35
|
hasPlusFriendBadge: i,
|
|
37
36
|
addToCartAction: z,
|
|
38
37
|
quantitySelectorAction: H,
|
|
39
|
-
productInCart:
|
|
40
|
-
account:
|
|
41
|
-
buttonAddToCartText: D
|
|
38
|
+
productInCart: b,
|
|
39
|
+
account: f
|
|
42
40
|
}
|
|
43
|
-
) : /* @__PURE__ */
|
|
44
|
-
|
|
41
|
+
) : /* @__PURE__ */ D(
|
|
42
|
+
G,
|
|
45
43
|
{
|
|
46
|
-
openModal:
|
|
47
|
-
isClubClient:
|
|
44
|
+
openModal: j,
|
|
45
|
+
isClubClient: w,
|
|
48
46
|
hasClub: m,
|
|
49
|
-
defaultScListPrice:
|
|
47
|
+
defaultScListPrice: V,
|
|
50
48
|
hasPromotionalPrice: l,
|
|
51
|
-
product:
|
|
49
|
+
product: C,
|
|
52
50
|
variant: r,
|
|
53
51
|
hasPlusFriendBadge: i,
|
|
54
|
-
outOfStock:
|
|
55
|
-
promotion:
|
|
56
|
-
clubPrice:
|
|
52
|
+
outOfStock: s,
|
|
53
|
+
promotion: p,
|
|
54
|
+
clubPrice: x,
|
|
57
55
|
addToCartAction: z,
|
|
58
56
|
quantitySelectorAction: H,
|
|
59
|
-
productInCart:
|
|
60
|
-
account:
|
|
61
|
-
buttonAddToCartText: D
|
|
57
|
+
productInCart: b,
|
|
58
|
+
account: f
|
|
62
59
|
}
|
|
63
60
|
);
|
|
64
61
|
};
|
|
65
62
|
export {
|
|
66
|
-
|
|
63
|
+
U as ProductCard
|
|
67
64
|
};
|
|
@@ -1,55 +1,55 @@
|
|
|
1
|
-
import { jsxs as x, jsx as
|
|
1
|
+
import { jsxs as x, jsx as v } from "react/jsx-runtime";
|
|
2
2
|
import { SetViewButton as d } from "./SetViewButton.js";
|
|
3
3
|
import { ArrowIcon as C } from "../../../assets/svgs/ArrowIcon.js";
|
|
4
4
|
import { useRegionalizationContext as N } from "../context/RegionalizationContext.js";
|
|
5
5
|
import { deliverySetData as V } from "../utils/deliverySetData.js";
|
|
6
6
|
import { pickupSetData as j } from "../utils/pickupSetData.js";
|
|
7
7
|
const F = ({
|
|
8
|
-
moreInfosScreen:
|
|
8
|
+
moreInfosScreen: a,
|
|
9
9
|
pickuConfirmScreem: h
|
|
10
10
|
}) => {
|
|
11
11
|
const {
|
|
12
|
-
confirmButton:
|
|
13
|
-
textBackButton:
|
|
12
|
+
confirmButton: s,
|
|
13
|
+
textBackButton: I,
|
|
14
14
|
delivery: e,
|
|
15
|
-
pickup:
|
|
15
|
+
pickup: l,
|
|
16
16
|
pickupAddress: o,
|
|
17
|
-
internalMethod:
|
|
17
|
+
internalMethod: i,
|
|
18
18
|
regionalizeCatalog: n,
|
|
19
19
|
address: t,
|
|
20
|
-
deliveryRequestInfos:
|
|
21
|
-
postalCode:
|
|
20
|
+
deliveryRequestInfos: S,
|
|
21
|
+
postalCode: p,
|
|
22
22
|
setMethod: r,
|
|
23
|
-
setCity:
|
|
24
|
-
setUf:
|
|
23
|
+
setCity: c,
|
|
24
|
+
setUf: m,
|
|
25
25
|
setPickupName: f,
|
|
26
|
-
setPickupTimes:
|
|
27
|
-
pickupTimes:
|
|
28
|
-
setInputPostalCode:
|
|
26
|
+
setPickupTimes: u,
|
|
27
|
+
pickupTimes: w,
|
|
28
|
+
setInputPostalCode: b
|
|
29
29
|
} = N();
|
|
30
30
|
return /* @__PURE__ */ x("div", { className: "container-navigation", children: [
|
|
31
31
|
/* @__PURE__ */ x(
|
|
32
32
|
d,
|
|
33
33
|
{
|
|
34
|
-
view:
|
|
34
|
+
view: a ? "InitialView" : h ? "AllStoresScreen" : "PostalCodeInputScreen",
|
|
35
35
|
className: "back-button",
|
|
36
36
|
children: [
|
|
37
|
-
/* @__PURE__ */
|
|
38
|
-
|
|
37
|
+
/* @__PURE__ */ v("span", { children: /* @__PURE__ */ v(C, { color: "var(--color-main)" }) }),
|
|
38
|
+
I
|
|
39
39
|
]
|
|
40
40
|
}
|
|
41
41
|
),
|
|
42
|
-
/* @__PURE__ */
|
|
42
|
+
/* @__PURE__ */ v(
|
|
43
43
|
d,
|
|
44
44
|
{
|
|
45
45
|
view: "InitialView",
|
|
46
|
-
closeModal: !
|
|
46
|
+
closeModal: !a,
|
|
47
47
|
className: "continue-button",
|
|
48
48
|
onClick: () => {
|
|
49
|
-
var
|
|
50
|
-
r == null || r(
|
|
49
|
+
var B;
|
|
50
|
+
r == null || r(i), i === "delivery" && (V(t, S, p), c == null || c(t == null ? void 0 : t.localidade), m == null || m(t == null ? void 0 : t.uf), n == null || n(p)), i === "pickup-in-point" && (b(((B = o == null ? void 0 : o.address) == null ? void 0 : B.postalCode) || ""), j(o, w), f == null || f(o == null ? void 0 : o.name), u == null || u(w), n == null || n(o == null ? void 0 : o.address.postalCode));
|
|
51
51
|
},
|
|
52
|
-
children:
|
|
52
|
+
children: a ? s : i === "delivery" ? e == null ? void 0 : e.confirmButton : l == null ? void 0 : l.confirmButton
|
|
53
53
|
}
|
|
54
54
|
)
|
|
55
55
|
] });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
*{-webkit-tap-highlight-color:transparent}:root{--product-card-horizontal-width: 100px;--product-card-horizontal-margin: 8px;--product-card-horizontal-padding: 8px}#product-card,#product-card-unavailable{display:flex;flex-direction:column;min-height:276px;max-height:304px;height:100%}#product-card-unavailable.product-card-horizontal-unavailable{min-height:172px;max-height:206px}.product-card{display:flex;flex-direction:column;flex:1;position:relative;height:100%;cursor:pointer;border:1px solid var(--color-grayScale-lightest);border-radius:8px;overflow:hidden}.clean-button{display:flex;flex-direction:column;appearance:none;border:none;background:none;outline:none;text-align:left;cursor:pointer;font:inherit;color:inherit;margin:0;padding:0;text-transform:none;height:100%}.product-card,.product-card+.product-card-unavailable-text{width:162px}.product-card-description{display:flex;flex-direction:column;gap:4px;padding:8px;height:100%}.invisible-button{width:100%;height:46px;background-color:transparent}.product-card-horizontal .invisible-button{height:38px}.product-card-badge{display:flex;gap:4px}.product-card-badge-kg{display:inline-block;width:fit-content;height:16px;padding:2px 4px;background-color:var(--color-main);border-radius:2px;color:var(--color-grayScale-white);font-weight:var(--text-weight-bold);font-size:10px;line-height:13px;text-align:center;vertical-align:middle}.product-card-discount-badge{display:flex;align-items:center;justify-content:center;width:42px;height:16px;background-color:var(--color-badge-main);border-radius:2px}.product-card-discount-badge-value{font-weight:var(--text-weight-bold);font-size:var(--text-size-0);line-height:16px;color:var(--color-badge-secondary)}.product-card-badge-club{width:43px;background-color:var(--color-badge-main);border-radius:4px;text-align:center}.product-card-badge-club-text{font-weight:var(--text-weight-bold);font-size:var(--text-size-0);line-height:16px;color:var(--color-badge-secondary);padding:1px 0}.product-card-section-badge{display:flex;gap:4px}.product-card-horizontal{position:relative;display:flex;flex-direction:column;width:304px;height:100%;min-height:163px;max-height:206px;border:1px solid var(--color-grayScale-lightest);border-radius:8px}.product-card-section-product-horizontal{display:flex;flex-direction:row;position:relative;height:100%;border-radius:8px}.product-card-section-product-horizontal .product-card-image-container{position:relative;align-self:flex-start;padding:0 var(--product-card-horizontal-padding);height:100%;min-height:163px;max-height:206px}.product-card-section-product-horizontal .product-card-image-container .image{width:var(--product-card-horizontal-width);height:100px;object-fit:contain;margin-top:8px;margin-bottom:auto}.product-card-horizontal-description{display:flex;flex-direction:column;gap:4px;height:100%;width:100%;padding:7.5px 8px;border-radius:8px;border-bottom-left-radius:unset;border-top-left-radius:unset}.product-card-section-name{display:flex;flex-direction:column;gap:4px}.product-card-horizontal-description .product-card-club-price{line-height:18px}.out-of-stock{min-height:126px}.out-of-stock-description-content{display:flex;flex-direction:column;flex:1;background-color:var(--color-grayScale-faded)}.product-card-section-product-horizontal .product-card-name{font-size:var(--text-size-1);line-height:20px;min-height:auto;height:100%;max-width:172px}.product-card-section-product-horizontal .product-card-section-badge-horizontal{display:flex;gap:4px;height:16px}.product-card-horizontal .product-card-price-container{display:flex;flex-direction:row;align-items:center;min-height:20px}.product-card-horizontal .product-card-price-container .product-card-old-price{padding-right:4px;border-right:1px solid var(--color-grayScale-light)}.product-card-horizontal .product-card-price-container .product-card-new-price{padding-left:4px;font-size:var(--text-size-2);line-height:20px}.product-card-section-badge-container.horizontal{position:unset;height:24px;width:100%}.product-card-button{display:flex;justify-content:center;align-items:center;width:calc(100% - 16px);height:40px;padding:8px 16px;margin:8px;border:1px solid var(--color-main);border-radius:20px;background-color:var(--color-main);color:var(--color-grayScale-white);font-weight:var(--text-weight-bold);font-size:var(--text-size-2);line-height:20px;cursor:pointer}.product-card-button span{display:flex;align-items:center;gap:4px}#product-card-button{position:absolute;bottom:0;left:0;width:stretch}.product-card-button.unavailable{background-color:var(--color-grayScale-lightest);color:#545454;cursor:not-allowed}.product-card-button .button{padding:12px;border-bottom-left-radius:8px;border-bottom-right-radius:8px;font-size:var(--text-size-3);line-height:24px;max-height:unset}.product-card-image-container{position:relative;display:flex;justify-content:center;align-items:center;padding:7.5px 8px;background-color:var(--color-grayScale-white)}.product-card .product-card-image-container{border-top:7px}.product-card-horizontal .product-card-image-container{border-top-left-radius:7px;border-bottom-left-radius:7px}.product-card-image-container .image{max-width:96px;height:96px;object-fit:contain}.product-club-badge{position:absolute;width:50px;height:18px;inset:8px 0 0 8px}.product-card-section-badge-container{position:absolute;bottom:8px;height:18px;width:calc(100% - 32px);display:flex;justify-content:center;align-items:center;border-radius:4px}.product-card-section-badge-text{font-weight:var(--text-weight-bold);font-size:var(--text-size-0);line-height:16px;vertical-align:middle;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:0 4px}.product-club-badge.horizontal{inset:9px 0 0 9px}.product-card-name{display:-webkit-box;font-weight:var(--text-weight-regular);font-size:var(--text-size-1);line-height:18px;color:#545454;vertical-align:middle;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.product-card-price{display:flex;flex-direction:column;gap:4px;margin-top:auto}.product-card-club-price{display:inline-block;width:100%;padding:4px;border-radius:4px;font-weight:var(--text-weight-bold);font-size:var(--text-size-0);line-height:16px}.product-card-old-price{height:16px;font-weight:400;font-size:var(--text-size-0);line-height:16px;color:#545454;text-decoration:line-through;vertical-align:middle}.product-card-new-price{font-weight:var(--text-weight-bold);font-size:var(--text-size-3);line-height:24px;color:var(--color-main);vertical-align:middle}.product-card-price-container{display:flex;flex-direction:column;min-height:24px}.product-card-old-price .mobile{display:block}@media (min-width: 769px){.product-card,.product-card+.product-card-unavailable-text{width:226px}#product-card,#product-card-unavailable{min-height:324px;max-height:350px}.product-card-description{padding:8px 16px 0}.product-card-unavailable{height:74px}.product-card-image-container{padding:15.5px 16px 7.5px}.product-card-image-container .image{max-width:144px;height:144px}.product-club-badge{width:67px;height:24px;inset:16px 0 0 16px}.product-card-section-badge-container{max-width:194px;height:24px}.product-card-section-badge-text{font-size:var(--text-size-1);line-height:18px}.product-card-name{font-size:var(--text-size-2);line-height:20px}.product-card-old-price .mobile{display:none}.product-card-old-price{padding-right:4px;border-right:2px solid var(--color-grayScale-light)}.product-card-new-price{padding-left:4px}.product-card-club-price{font-size:var(--text-size-1);line-height:18px}.product-card-price-container{display:flex;flex-direction:row;align-items:center}.product-card-badge-club{width:57px}.product-card-badge-club-text{font-size:var(--text-size-1);line-height:18px;padding:3px 0}.product-card .quantity-selector,.product-card .product-card-button,.product-card-horizontal .quantity-selector,.product-card-horizontal .product-card-button{width:calc(100% - 32px);margin:8px 16px}}.quantity-selector{display:flex;flex-direction:row;align-items:center;justify-content:space-between;width:calc(100% - 16px);height:40px;margin:8px;border:1px solid var(--color-grayScale-light);border-radius:20px;background-color:var(--color-grayScale-white);box-shadow:0 0 0 var(--border-width-0) var(--color-support-shadow);transition:box-shadow .2s ease}[data-store-quantity-selector] [data-store-icon]{display:inline-block;margin:0;color:var(--color-main);line-height:0}.quantity-selector .quantity-selector-quantity{display:block;width:100%;height:100%;padding:0;font-weight:400;line-height:20px;color:var(--color-grayScale);text-align:center;background-color:transparent;border-width:0;opacity:1}.quantity-selector .quantity-selector-quantity:focus{outline:0}.quantity-selector .quantity-selector-quantity:disabled{color:var(--color-grayScale);opacity:1}.quantity-selector-button{display:flex;align-items:center;justify-content:center;width:46px;height:100%;padding:var(--space-0);background-color:#e6e6e6;border:unset;border-bottom-left-radius:20px;border-top-left-radius:20px;cursor:pointer}.quantity-selector-button.quantity-selector-button-plus{border-top-right-radius:20px;border-top-left-radius:unset;border-bottom-right-radius:20px;border-bottom-left-radius:unset}.quantity-selector-measure-unit{font-family:DM Sans,sans-serif;font-size:var;font-weight:400;line-height:20px;color:var(--color-grayScale)}.quantity-selector .quantity-selector-button [data-store-icon]{display:flex;align-items:center;justify-content:center;width:100%;height:100%;border-radius:var(--border-radius-default);transition:background-color .2s ease}.quantity-selector .quantity-selector-button:disabled{cursor:not-allowed}.quantity-selector .quantity-selector-button:disabled [data-store-icon]{color:var(--color-grayScale-light)}.quantity-selector[data-store-quantity-selector=disabled]{background-color:var(--color-grayScale-light);box-shadow:0 0 0 var(--border-width-0) var(--color-support-shadow)}@media not all and (min-resolution: .001dpcm){@supports (-webkit-appearance: none){.quantity-selector .quantity-selector-button:focus{outline:none;box-shadow:none}}}.product-add-text{display:block;height:10px;padding-bottom:17px;text-align:center;transition-delay:.25s;transition-property:margin-top}.product-add-text p{font-family:DM Sans,sans-serif;font-size:var(--text-size-0);font-weight:400;font-style:normal;line-height:16px;color:var(--color-positiveFeedback-dark);text-align:center;white-space:nowrap}@include media(">tablet"){.product-add-text p {font-size: var(--text-size-1); line-height: 18px;}}.product-card-unavailable-text{height:40px;margin:8px;align-content:center;border:1px solid var(--color-grayScale-light);border-radius:20px;position:absolute;bottom:0;left:0;width:stretch;background-color:var(--color-grayScale-lightest)}.product-card-unavailable-text p{text-align:center;font-size:var(--text-size-3);font-weight:var(--text-weight-bold);line-height:24px;color:var(--color-grayScale-darkest)}
|
|
1
|
+
*{-webkit-tap-highlight-color:transparent}:root{--product-card-horizontal-width: 100px;--product-card-horizontal-margin: 8px;--product-card-horizontal-padding: 8px}#product-card,#product-card-unavailable{display:flex;flex-direction:column;min-height:276px;max-height:304px;height:100%}#product-card-unavailable.product-card-horizontal-unavailable{min-height:172px;max-height:206px}.product-card{display:flex;flex-direction:column;flex:1;position:relative;height:100%;cursor:pointer;border:1px solid var(--color-grayScale-lightest);border-radius:8px;overflow:hidden}.clean-button{display:flex;flex-direction:column;appearance:none;border:none;background:none;outline:none;text-align:left;cursor:pointer;font:inherit;color:inherit;margin:0;padding:0;text-transform:none;height:100%}.product-card,.product-card+.product-card-unavailable-text{width:162px}.product-card-description{display:flex;flex-direction:column;gap:4px;padding:8px;height:100%}.invisible-button{width:100%;height:46px;background-color:transparent}.product-card-horizontal .invisible-button{height:38px}.product-card-badge{display:flex;gap:4px}.product-card-badge-kg{display:inline-block;width:fit-content;height:16px;padding:2px 4px;background-color:var(--color-main);border-radius:2px;color:var(--color-grayScale-white);font-weight:var(--text-weight-bold);font-size:10px;line-height:13px;text-align:center;vertical-align:middle}.product-card-discount-badge{display:flex;align-items:center;justify-content:center;width:42px;height:16px;background-color:var(--color-badge-main);border-radius:2px}.product-card-discount-badge-value{font-weight:var(--text-weight-bold);font-size:var(--text-size-0);line-height:16px;color:var(--color-badge-secondary)}.product-card-badge-club{width:43px;background-color:var(--color-badge-main);border-radius:4px;text-align:center}.product-card-badge-club-text{font-weight:var(--text-weight-bold);font-size:var(--text-size-0);line-height:16px;color:var(--color-badge-secondary);padding:1px 0}.product-card-section-badge{display:flex;gap:4px}.product-card-horizontal{position:relative;display:flex;flex-direction:column;width:304px;height:100%;min-height:163px;max-height:206px;border:1px solid var(--color-grayScale-lightest);border-radius:8px}.product-card-section-product-horizontal{display:flex;flex-direction:row;position:relative;height:100%;border-radius:8px}.product-card-section-product-horizontal .product-card-image-container{position:relative;align-self:flex-start;padding:0 var(--product-card-horizontal-padding);height:100%}.product-card-section-product-horizontal .product-card-image-container .image{width:var(--product-card-horizontal-width);height:100px;object-fit:contain;margin-top:8px;margin-bottom:auto}.product-card-horizontal-description{display:flex;flex-direction:column;gap:4px;height:100%;width:100%;padding:7.5px 8px;border-radius:8px;border-bottom-left-radius:unset;border-top-left-radius:unset}.product-card-section-name{display:flex;flex-direction:column;gap:4px}.product-card-horizontal-description .product-card-club-price{line-height:18px}.out-of-stock{min-height:126px}.out-of-stock-description-content{display:flex;flex-direction:column;flex:1;background-color:var(--color-grayScale-faded)}.product-card-section-product-horizontal .product-card-name{font-size:var(--text-size-1);line-height:20px;min-height:auto;height:100%;max-width:172px}.product-card-section-product-horizontal .product-card-section-badge-horizontal{display:flex;gap:4px;height:16px}.product-card-horizontal .product-card-price-container{display:flex;flex-direction:row;align-items:center;min-height:20px}.product-card-horizontal .product-card-price-container .product-card-old-price{padding-right:4px;border-right:1px solid var(--color-grayScale-light)}.product-card-horizontal .product-card-price-container .product-card-new-price{padding-left:4px;font-size:var(--text-size-2);line-height:20px}.product-card-section-badge-container.horizontal{position:unset;height:24px;width:100%}.product-card-button{display:flex;justify-content:center;align-items:center;width:calc(100% - 16px);height:40px;padding:8px 16px;margin:8px;border:1px solid var(--color-main);border-radius:20px;background-color:var(--color-main);color:var(--color-grayScale-white);font-weight:var(--text-weight-bold);font-size:var(--text-size-2);line-height:20px;cursor:pointer}.product-card-button span{display:flex;align-items:center;gap:4px}#product-card-button{position:absolute;bottom:0;left:0;width:stretch}.product-card-button.unavailable{background-color:var(--color-grayScale-lightest);color:#545454;cursor:not-allowed}.product-card-button .button{padding:12px;border-bottom-left-radius:8px;border-bottom-right-radius:8px;font-size:var(--text-size-3);line-height:24px;max-height:unset}.product-card-image-container{position:relative;display:flex;justify-content:center;align-items:center;padding:7.5px 8px;background-color:var(--color-grayScale-white)}.product-card .product-card-image-container{border-top:7px}.product-card-horizontal .product-card-image-container{border-top-left-radius:7px;border-bottom-left-radius:7px}.product-card-image-container .image{max-width:96px;height:96px;object-fit:contain}.product-club-badge{position:absolute;width:50px;height:18px;inset:8px 0 0 8px}.product-card-section-badge-container{position:absolute;bottom:8px;height:18px;width:calc(100% - 32px);display:flex;justify-content:center;align-items:center;border-radius:4px}.product-card-section-badge-text{font-weight:var(--text-weight-bold);font-size:var(--text-size-0);line-height:16px;vertical-align:middle;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:0 4px}.product-club-badge.horizontal{inset:9px 0 0 9px}.product-card-name{display:-webkit-box;font-weight:var(--text-weight-regular);font-size:var(--text-size-1);line-height:18px;color:#545454;vertical-align:middle;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.product-card-price{display:flex;flex-direction:column;gap:4px;margin-top:auto}.product-card-club-price{display:inline-block;width:100%;padding:4px;border-radius:4px;font-weight:var(--text-weight-bold);font-size:var(--text-size-0);line-height:16px}.product-card-old-price{height:16px;font-weight:400;font-size:var(--text-size-0);line-height:16px;color:#545454;text-decoration:line-through;vertical-align:middle}.product-card-new-price{font-weight:var(--text-weight-bold);font-size:var(--text-size-3);line-height:24px;color:var(--color-main);vertical-align:middle}.product-card-price-container{display:flex;flex-direction:column;min-height:24px}.product-card-old-price .mobile{display:block}@media (min-width: 769px){.product-card,.product-card+.product-card-unavailable-text{width:226px}#product-card,#product-card-unavailable{min-height:324px;max-height:350px}.product-card-description{padding:8px 16px 0}.product-card-unavailable{height:74px}.product-card-image-container{padding:15.5px 16px 7.5px}.product-card-image-container .image{max-width:144px;height:144px}.product-club-badge{width:67px;height:24px;inset:16px 0 0 16px}.product-card-section-badge-container{max-width:194px;height:24px}.product-card-section-badge-text{font-size:var(--text-size-1);line-height:18px}.product-card-name{font-size:var(--text-size-2);line-height:20px}.product-card-old-price .mobile{display:none}.product-card-old-price{padding-right:4px;border-right:2px solid var(--color-grayScale-light)}.product-card-new-price{padding-left:4px}.product-card-club-price{font-size:var(--text-size-1);line-height:18px}.product-card-price-container{display:flex;flex-direction:row;align-items:center}.product-card-badge-club{width:57px}.product-card-badge-club-text{font-size:var(--text-size-1);line-height:18px;padding:3px 0}.product-card .quantity-selector,.product-card .product-card-button,.product-card-horizontal .quantity-selector,.product-card-horizontal .product-card-button{width:calc(100% - 32px);margin:8px 16px}}.quantity-selector{display:flex;flex-direction:row;align-items:center;justify-content:space-between;width:calc(100% - 16px);height:40px;margin:8px;border:1px solid var(--color-grayScale-light);border-radius:20px;background-color:var(--color-grayScale-white);box-shadow:0 0 0 var(--border-width-0) var(--color-support-shadow);transition:box-shadow .2s ease}[data-store-quantity-selector] [data-store-icon]{display:inline-block;margin:0;color:var(--color-main);line-height:0}.quantity-selector .quantity-selector-quantity{display:block;width:100%;height:100%;padding:0;font-weight:400;line-height:20px;color:var(--color-grayScale);text-align:center;background-color:transparent;border-width:0;opacity:1}.quantity-selector .quantity-selector-quantity:focus{outline:0}.quantity-selector .quantity-selector-quantity:disabled{color:var(--color-grayScale);opacity:1}.quantity-selector-button{display:flex;align-items:center;justify-content:center;width:46px;height:100%;padding:var(--space-0);background-color:#e6e6e6;border:unset;border-bottom-left-radius:20px;border-top-left-radius:20px;cursor:pointer}.quantity-selector-button.quantity-selector-button-plus{border-top-right-radius:20px;border-top-left-radius:unset;border-bottom-right-radius:20px;border-bottom-left-radius:unset}.quantity-selector-measure-unit{font-family:DM Sans,sans-serif;font-size:var;font-weight:400;line-height:20px;color:var(--color-grayScale)}.quantity-selector .quantity-selector-button [data-store-icon]{display:flex;align-items:center;justify-content:center;width:100%;height:100%;border-radius:var(--border-radius-default);transition:background-color .2s ease}.quantity-selector .quantity-selector-button:disabled{cursor:not-allowed}.quantity-selector .quantity-selector-button:disabled [data-store-icon]{color:var(--color-grayScale-light)}.quantity-selector[data-store-quantity-selector=disabled]{background-color:var(--color-grayScale-light);box-shadow:0 0 0 var(--border-width-0) var(--color-support-shadow)}@media not all and (min-resolution: .001dpcm){@supports (-webkit-appearance: none){.quantity-selector .quantity-selector-button:focus{outline:none;box-shadow:none}}}.product-add-text{display:block;height:10px;padding-bottom:17px;text-align:center;transition-delay:.25s;transition-property:margin-top}.product-add-text p{font-family:DM Sans,sans-serif;font-size:var(--text-size-0);font-weight:400;font-style:normal;line-height:16px;color:var(--color-positiveFeedback-dark);text-align:center;white-space:nowrap}@include media(">tablet"){.product-add-text p {font-size: var(--text-size-1); line-height: 18px;}}.product-card-unavailable-text{height:40px;margin:8px;align-content:center;border:1px solid var(--color-grayScale-light);border-radius:20px;position:absolute;bottom:0;left:0;width:stretch;background-color:var(--color-grayScale-lightest)}.product-card-unavailable-text p{text-align:center;font-size:var(--text-size-3);font-weight:var(--text-weight-bold);line-height:24px;color:var(--color-grayScale-darkest)}
|