trimble-terra 1.1.4 → 1.1.6
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/src/component/Accordion/Accordion.css +1 -1
- package/dist/src/component/Accordion/Accordion.js +21 -21
- package/dist/src/component/CardEcommerce/CardEcommerceMethods.js +1 -1
- package/dist/src/component/FlyoutCart/FlyoutCart.stories.d.ts +94 -5
- package/dist/src/component/FlyoutCart/FlyoutCart.stories.d.ts.map +1 -1
- package/dist/src/component/FlyoutCartComponent/FlyoutCartComponent.css +1 -1
- package/dist/src/component/FlyoutCartComponent/FlyoutCartComponent.d.ts +8 -1
- package/dist/src/component/FlyoutCartComponent/FlyoutCartComponent.d.ts.map +1 -1
- package/dist/src/component/FlyoutCartComponent/FlyoutCartComponent.js +98 -83
- package/dist/src/component/ProductDetail/PricingCards/PricingCards.css +1 -1
- package/dist/src/component/ProductDetail/PricingCards/PricingCards.d.ts.map +1 -1
- package/dist/src/component/ProductDetail/PricingCards/PricingCards.js +65 -78
- package/dist/src/component/ProductDetail/ProductDetail.css +1 -1
- package/dist/src/component/ProductDetail/ProductDetail.d.ts +1 -0
- package/dist/src/component/ProductDetail/ProductDetail.d.ts.map +1 -1
- package/dist/src/component/ProductDetail/ProductDetail.js +151 -147
- package/dist/src/component/ProductDetail/ProductDetail.stories.d.ts +10 -10
- package/dist/src/component/ProductDetail/ProductOverview.d.ts +2 -1
- package/dist/src/component/ProductDetail/ProductOverview.d.ts.map +1 -1
- package/dist/src/component/ProductDetail/ProductOverview.js +46 -50
- package/dist/src/component/ProductDetail/PromoCodeBadge/PromoCodeBadge.css +1 -0
- package/dist/src/component/ProductDetail/PromoCodeBadge/PromoCodeBadge.d.ts +8 -0
- package/dist/src/component/ProductDetail/PromoCodeBadge/PromoCodeBadge.d.ts.map +1 -0
- package/dist/src/component/ProductDetail/PromoCodeBadge/PromoCodeBadge.js +28 -0
- package/dist/src/navigation/Footer/SectorFooter/SectorFooter.css +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
.t2-accordion{border-bottom:1px solid #e0e1e9;padding:40px 108px}@media(min-width:960px)and (max-width:1079px){.t2-accordion{padding:40px 80px}}@media(min-width:600px)and (max-width:959px){.t2-accordion{padding:40px 60px}}@media(max-width:599px){.t2-accordion{padding:30px 20px}}.t2-accordion--compact{padding-left:20px;padding-right:20px}.t2-accordion--is-open{background-color:#f1f1f64d;border-bottom:1px dashed #a3a6b1;border-top:1px dashed #a3a6b1!important}.t2-accordion:has(+.t2-accordion--is-open){border-bottom:none}.t2-accordion:first-child{border-top:1px solid #ddd}.t2-accordion-title{cursor:pointer;display:flex;justify-content:space-between;align-items:center}@media screen and (max-width:600px){.t2-accordion-title{align-items:flex-start;margin-bottom:12px}}.t2-accordion-title__headline{font-size:1.25rem;font-weight:700;line-height:1.625rem;max-width:747px}@media screen and (max-width:1020px){.t2-accordion-title__headline{line-height:1.375rem;font-weight:600;max-width:560px;margin:0}}@media screen and (max-width:780px){.t2-accordion-title__headline{font-size:1.125rem;line-height:1.375rem;font-weight:600;max-width:400px;margin:0}}@media screen and (max-width:660px){.t2-accordion-title__headline{font-size:1rem;line-height:1.375rem;font-weight:600;max-width:280px;margin:0}}.t2-accordion-title__button{display:flex;justify-content:center;align-items:center;width:50px;height:50px;color:#353a40;border:1px solid #353a40;border-radius:50%;background:#fff;font-size:1.5rem;line-height:1;cursor:pointer}.t2-accordion-title__button svg{padding:4px}@media screen and (max-width:600px){.t2-accordion-title__button{min-width:40px;width:40px;height:40px;font-size:1.25rem}}.t2-accordion-title__button--is-open{background-color:#fbad26;border:none}.t2-accordion-content{font-size:1.375rem;font-weight:400;line-height:2.25rem;max-height:0;overflow:hidden;transition:max-height .3s ease,padding .3s ease}@media screen and (max-width:1020px){.t2-accordion-content{font-size:1.25rem;line-height:2rem}}@media screen and (max-width:780px){.t2-accordion-content{font-size:1.125rem;line-height:1.75rem}}@media screen and (max-width:600px){.t2-accordion-content{font-size:1rem;line-height:1.375rem;font-weight:300}}.t2-accordion-content--is-open{max-height:
|
|
1
|
+
.t2-accordion{border-bottom:1px solid #e0e1e9;padding:40px 108px}@media(min-width:960px)and (max-width:1079px){.t2-accordion{padding:40px 80px}}@media(min-width:600px)and (max-width:959px){.t2-accordion{padding:40px 60px}}@media(max-width:599px){.t2-accordion{padding:30px 20px}}.t2-accordion--compact{padding-left:20px;padding-right:20px}.t2-accordion--is-open{background-color:#f1f1f64d;border-bottom:1px dashed #a3a6b1;border-top:1px dashed #a3a6b1!important}.t2-accordion:has(+.t2-accordion--is-open){border-bottom:none}.t2-accordion:first-child{border-top:1px solid #ddd}.t2-accordion-title{cursor:pointer;display:flex;justify-content:space-between;align-items:center}@media screen and (max-width:600px){.t2-accordion-title{align-items:flex-start;margin-bottom:12px}}.t2-accordion-title__headline{font-size:1.25rem;font-weight:700;line-height:1.625rem;max-width:747px}@media screen and (max-width:1020px){.t2-accordion-title__headline{line-height:1.375rem;font-weight:600;max-width:560px;margin:0}}@media screen and (max-width:780px){.t2-accordion-title__headline{font-size:1.125rem;line-height:1.375rem;font-weight:600;max-width:400px;margin:0}}@media screen and (max-width:660px){.t2-accordion-title__headline{font-size:1rem;line-height:1.375rem;font-weight:600;max-width:280px;margin:0}}.t2-accordion-title__button{display:flex;justify-content:center;align-items:center;width:50px;height:50px;color:#353a40;border:1px solid #353a40;border-radius:50%;background:#fff;font-size:1.5rem;line-height:1;cursor:pointer}.t2-accordion-title__button svg{padding:4px}@media screen and (max-width:600px){.t2-accordion-title__button{min-width:40px;width:40px;height:40px;font-size:1.25rem}}.t2-accordion-title__button--is-open{background-color:#fbad26;border:none}.t2-accordion-content{font-size:1.375rem;font-weight:400;line-height:2.25rem;max-height:0;overflow:hidden;transition:max-height .3s ease,padding .3s ease}@media screen and (max-width:1020px){.t2-accordion-content{font-size:1.25rem;line-height:2rem}}@media screen and (max-width:780px){.t2-accordion-content{font-size:1.125rem;line-height:1.75rem}}@media screen and (max-width:600px){.t2-accordion-content{font-size:1rem;line-height:1.375rem;font-weight:300}}.t2-accordion-content--is-open{max-height:2000px}.t2-accordion-content--description{max-width:747px;margin-bottom:26px}.t2-accordion-content__image{margin:1rem 0}.t2-accordion-content__image img{height:auto;max-width:100%;-o-object-fit:contain;object-fit:contain}.t2-color-setting--dark .t2-accordion-title__headline{color:#fff}
|
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
import { jsxs as a, jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import { useState as u, useEffect as $ } from "react";
|
|
3
|
-
import { Icon as
|
|
3
|
+
import { Icon as d } from "@trimble-creative-strategy/trimble-mxp-icons";
|
|
4
4
|
import { SpecialButton as b } from "../SpecialButton/SpecialButton.js";
|
|
5
5
|
import './Accordion.css';import '../../styles/layout.css';/* empty css */
|
|
6
6
|
/* empty css */
|
|
7
7
|
import { CommonDescription as x } from "../CommonDescription/CommonDescription.js";
|
|
8
8
|
import { RichTextRenderer as y } from "../../utils/RichTextRenderer.js";
|
|
9
9
|
const E = ({
|
|
10
|
-
headline:
|
|
10
|
+
headline: n,
|
|
11
11
|
description: e,
|
|
12
12
|
ctaLink: r,
|
|
13
|
-
className:
|
|
14
|
-
isOpen:
|
|
13
|
+
className: m = "",
|
|
14
|
+
isOpen: c = !1,
|
|
15
15
|
onToggle: f = () => {
|
|
16
16
|
}
|
|
17
17
|
}) => {
|
|
18
|
-
const [o,
|
|
18
|
+
const [o, s] = u(c || !1);
|
|
19
19
|
$(() => {
|
|
20
|
-
|
|
21
|
-
}, [
|
|
22
|
-
const
|
|
23
|
-
|
|
24
|
-
},
|
|
20
|
+
typeof c == "boolean" && s(c);
|
|
21
|
+
}, [c]);
|
|
22
|
+
const i = () => {
|
|
23
|
+
s(!o), f(o);
|
|
24
|
+
}, l = `accordion-item-${n.replace(/\s+/g, "-").toLowerCase()}`;
|
|
25
25
|
return /* @__PURE__ */ a(
|
|
26
26
|
"div",
|
|
27
27
|
{
|
|
28
|
-
className: `t2-accordion ${o && "t2-accordion--is-open"} ${
|
|
28
|
+
className: `t2-accordion ${o && "t2-accordion--is-open"} ${m}`,
|
|
29
29
|
children: [
|
|
30
30
|
/* @__PURE__ */ a(
|
|
31
31
|
"div",
|
|
32
32
|
{
|
|
33
33
|
className: "t2-accordion-title",
|
|
34
|
-
onClick:
|
|
34
|
+
onClick: i,
|
|
35
35
|
"aria-expanded": o,
|
|
36
|
-
"aria-controls": `${
|
|
36
|
+
"aria-controls": `${l}-content`,
|
|
37
37
|
role: "button",
|
|
38
38
|
tabIndex: 0,
|
|
39
|
-
onKeyDown: (
|
|
40
|
-
(
|
|
39
|
+
onKeyDown: (p) => {
|
|
40
|
+
(p.key === "Enter" || p.key === " ") && i();
|
|
41
41
|
},
|
|
42
42
|
children: [
|
|
43
|
-
/* @__PURE__ */ t("h3", { className: "t2-accordion-title__headline", children:
|
|
43
|
+
/* @__PURE__ */ t("h3", { className: "t2-accordion-title__headline", children: n }),
|
|
44
44
|
/* @__PURE__ */ a(
|
|
45
45
|
"span",
|
|
46
46
|
{
|
|
47
47
|
className: `t2-accordion-title__button ${o ? "t2-accordion-title__button--is-open" : null}`,
|
|
48
|
-
"aria-label": o ? `Collapse ${
|
|
48
|
+
"aria-label": o ? `Collapse ${n}` : `Expand ${n}`,
|
|
49
49
|
children: [
|
|
50
|
-
o && /* @__PURE__ */ t(
|
|
51
|
-
!o && /* @__PURE__ */ t(
|
|
50
|
+
o && /* @__PURE__ */ t(d, { type: "t2u-collapse-open" }),
|
|
51
|
+
!o && /* @__PURE__ */ t(d, { type: "t2u-collapse-close" })
|
|
52
52
|
]
|
|
53
53
|
}
|
|
54
54
|
)
|
|
@@ -58,8 +58,8 @@ const E = ({
|
|
|
58
58
|
/* @__PURE__ */ a(
|
|
59
59
|
"div",
|
|
60
60
|
{
|
|
61
|
-
className: `t2-accordion-content ${o ? "t2-accordion-content--is-open" :
|
|
62
|
-
id: `${
|
|
61
|
+
className: `t2-accordion-content ${o ? "t2-accordion-content--is-open" : ""}`,
|
|
62
|
+
id: `${l}-content`,
|
|
63
63
|
children: [
|
|
64
64
|
e && /* @__PURE__ */ t(
|
|
65
65
|
x,
|
|
@@ -11,7 +11,7 @@ const i = (e, r) => e ? /* @__PURE__ */ t(
|
|
|
11
11
|
"path",
|
|
12
12
|
{
|
|
13
13
|
d: "M8.98007 17.9998C8.72007 17.9998 8.49007 17.8998 8.29007 17.7098L4.29007 13.7098C4.10309 13.5229 3.99805 13.2693 3.99805 13.0048C3.99805 12.7404 4.10309 12.4868 4.29007 12.2998C4.47705 12.1129 4.73064 12.0078 4.99507 12.0078C5.25949 12.0078 5.51309 12.1129 5.70007 12.2998L8.99007 15.5898L18.2801 6.29983C18.467 6.11286 18.7206 6.00781 18.9851 6.00781C19.2495 6.00781 19.5031 6.11286 19.6901 6.29983C19.877 6.48681 19.9821 6.74041 19.9821 7.00483C19.9821 7.26926 19.877 7.52286 19.6901 7.70983L9.69007 17.7098C9.49007 17.9098 9.24007 17.9998 8.98007 17.9998Z",
|
|
14
|
-
fill: "#
|
|
14
|
+
fill: "#006638"
|
|
15
15
|
}
|
|
16
16
|
)
|
|
17
17
|
}
|
|
@@ -11,15 +11,24 @@ export namespace Primary {
|
|
|
11
11
|
}
|
|
12
12
|
function render(args: any): import("react/jsx-runtime").JSX.Element;
|
|
13
13
|
}
|
|
14
|
-
export namespace
|
|
14
|
+
export namespace WithPromoCode {
|
|
15
15
|
export namespace args_1 {
|
|
16
|
-
export {
|
|
16
|
+
export { promoCartData as cartData };
|
|
17
17
|
export { cartSettings };
|
|
18
18
|
}
|
|
19
19
|
export { args_1 as args };
|
|
20
20
|
export function render_1(args: any): import("react/jsx-runtime").JSX.Element;
|
|
21
21
|
export { render_1 as render };
|
|
22
22
|
}
|
|
23
|
+
export namespace EmptyCart {
|
|
24
|
+
export namespace args_2 {
|
|
25
|
+
export { cartEmptyData as cartData };
|
|
26
|
+
export { cartSettings };
|
|
27
|
+
}
|
|
28
|
+
export { args_2 as args };
|
|
29
|
+
export function render_2(args: any): import("react/jsx-runtime").JSX.Element;
|
|
30
|
+
export { render_2 as render };
|
|
31
|
+
}
|
|
23
32
|
declare namespace cartData {
|
|
24
33
|
export namespace itemAdded {
|
|
25
34
|
let id: string;
|
|
@@ -79,9 +88,42 @@ declare namespace cartSettings {
|
|
|
79
88
|
let switchAccountLabel: string;
|
|
80
89
|
function onAccountClick(): void;
|
|
81
90
|
}
|
|
82
|
-
declare namespace
|
|
83
|
-
let
|
|
84
|
-
|
|
91
|
+
declare namespace promoCartData {
|
|
92
|
+
let itemAdded_1: {
|
|
93
|
+
id: string;
|
|
94
|
+
image: string;
|
|
95
|
+
name: string;
|
|
96
|
+
sku: string;
|
|
97
|
+
quantity: number;
|
|
98
|
+
max: number;
|
|
99
|
+
price: {
|
|
100
|
+
currencyCode: string;
|
|
101
|
+
amount: number;
|
|
102
|
+
};
|
|
103
|
+
strikePrice: string;
|
|
104
|
+
discount: string;
|
|
105
|
+
discountCode: string;
|
|
106
|
+
duration: string;
|
|
107
|
+
isLoading: boolean;
|
|
108
|
+
} | {
|
|
109
|
+
id: string;
|
|
110
|
+
image: string;
|
|
111
|
+
name: string;
|
|
112
|
+
sku: string;
|
|
113
|
+
quantity: number;
|
|
114
|
+
max: number;
|
|
115
|
+
price: {
|
|
116
|
+
currencyCode: string;
|
|
117
|
+
amount: number;
|
|
118
|
+
};
|
|
119
|
+
duration: string;
|
|
120
|
+
isLoading: boolean;
|
|
121
|
+
strikePrice?: undefined;
|
|
122
|
+
discount?: undefined;
|
|
123
|
+
discountCode?: undefined;
|
|
124
|
+
};
|
|
125
|
+
export { itemAdded_1 as itemAdded };
|
|
126
|
+
export { promoLineItems as lineItems };
|
|
85
127
|
export { relatedItems };
|
|
86
128
|
export namespace totalNet_1 {
|
|
87
129
|
let currencyCode_2: string;
|
|
@@ -93,6 +135,20 @@ declare namespace cartEmptyData {
|
|
|
93
135
|
let totalLineItemQuantity_1: number;
|
|
94
136
|
export { totalLineItemQuantity_1 as totalLineItemQuantity };
|
|
95
137
|
}
|
|
138
|
+
declare namespace cartEmptyData {
|
|
139
|
+
let lineItems_1: never[];
|
|
140
|
+
export { lineItems_1 as lineItems };
|
|
141
|
+
export { relatedItems };
|
|
142
|
+
export namespace totalNet_2 {
|
|
143
|
+
let currencyCode_3: string;
|
|
144
|
+
export { currencyCode_3 as currencyCode };
|
|
145
|
+
let amount_3: number;
|
|
146
|
+
export { amount_3 as amount };
|
|
147
|
+
}
|
|
148
|
+
export { totalNet_2 as totalNet };
|
|
149
|
+
let totalLineItemQuantity_2: number;
|
|
150
|
+
export { totalLineItemQuantity_2 as totalLineItemQuantity };
|
|
151
|
+
}
|
|
96
152
|
declare const lineItems: {
|
|
97
153
|
id: string;
|
|
98
154
|
image: string;
|
|
@@ -122,4 +178,37 @@ declare const relatedItems: {
|
|
|
122
178
|
text: string;
|
|
123
179
|
};
|
|
124
180
|
}[];
|
|
181
|
+
declare const promoLineItems: ({
|
|
182
|
+
id: string;
|
|
183
|
+
image: string;
|
|
184
|
+
name: string;
|
|
185
|
+
sku: string;
|
|
186
|
+
quantity: number;
|
|
187
|
+
max: number;
|
|
188
|
+
price: {
|
|
189
|
+
currencyCode: string;
|
|
190
|
+
amount: number;
|
|
191
|
+
};
|
|
192
|
+
strikePrice: string;
|
|
193
|
+
discount: string;
|
|
194
|
+
discountCode: string;
|
|
195
|
+
duration: string;
|
|
196
|
+
isLoading: boolean;
|
|
197
|
+
} | {
|
|
198
|
+
id: string;
|
|
199
|
+
image: string;
|
|
200
|
+
name: string;
|
|
201
|
+
sku: string;
|
|
202
|
+
quantity: number;
|
|
203
|
+
max: number;
|
|
204
|
+
price: {
|
|
205
|
+
currencyCode: string;
|
|
206
|
+
amount: number;
|
|
207
|
+
};
|
|
208
|
+
duration: string;
|
|
209
|
+
isLoading: boolean;
|
|
210
|
+
strikePrice?: undefined;
|
|
211
|
+
discount?: undefined;
|
|
212
|
+
discountCode?: undefined;
|
|
213
|
+
})[];
|
|
125
214
|
//# sourceMappingURL=FlyoutCart.stories.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FlyoutCart.stories.d.ts","sourceRoot":"","sources":["../../../../src/component/FlyoutCart/FlyoutCart.stories.jsx"],"names":[],"mappings":";;;;;;;;;;IA8IU,oEA0EP;;;;;;;;IAQO,6EAWP;;;
|
|
1
|
+
{"version":3,"file":"FlyoutCart.stories.d.ts","sourceRoot":"","sources":["../../../../src/component/FlyoutCart/FlyoutCart.stories.jsx"],"names":[],"mappings":";;;;;;;;;;IA8IU,oEA0EP;;;;;;;;IAqDO,6EA8DP;;;;;;;;;IAQO,6EAWP;;;uBA5VoB,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAqHlB,sCAAY;;;;;;;;;;;;;;IAab,gCAEf;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAvHH;;;;;;;;;;;;;IA6BE;AAEF;;;;;;;;;;;;;;IA+BE;AA8IF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAgCC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.ter-cart-item+.ter-cart-item{border-top:1px solid #e0e1e9}.ter-cart-item{display:flex;justify-content:flex-start;gap:16px;padding:32px 0}.ter-cart-item .ter-quantity-tracker__input-wrapper{width:110px}.ter-cart-item__figure{all:unset;outline:1px solid #f1f1f6;min-width:115px;width:115px;height:115px}.ter-cart-item__figure__img{width:100%;height:100%;-o-object-fit:contain;object-fit:contain}.ter-cart-item__details{flex-grow:1}.ter-cart-item__product-name{font-size:1.25rem;line-height:1.75rem;font-weight:700;margin-bottom:4px}.ter-cart-item__sku{font-size:.875rem;line-height:1.125rem;margin-bottom:4px}.ter-cart-item__price-wrapper{margin
|
|
1
|
+
.ter-cart-item+.ter-cart-item{border-top:1px solid #e0e1e9}.ter-cart-item{display:flex;justify-content:flex-start;gap:16px;padding:32px 0}.ter-cart-item .ter-quantity-tracker__input-wrapper{width:110px}.ter-cart-item__figure{all:unset;outline:1px solid #f1f1f6;min-width:115px;width:115px;height:115px}.ter-cart-item__figure__img{width:100%;height:100%;-o-object-fit:contain;object-fit:contain}.ter-cart-item__details{flex-grow:1}.ter-cart-item__product-name{font-size:1.25rem;line-height:1.75rem;font-weight:700;margin-bottom:4px;margin-top:0}.ter-cart-item__sku{font-size:.875rem;line-height:1.125rem;margin-bottom:4px;line-height:24px}.ter-cart-item__price-wrapper{margin:4px 0}.ter-cart-item__price{font-size:1rem;line-height:1.75rem;font-weight:800}.ter-cart-item__price--strike{display:block;font-size:16px;font-weight:600;color:#90939f;text-decoration:line-through;line-height:28px}.ter-cart-item__duration{font-size:.875rem;line-height:1.125rem}.ter-cart-item__discount{margin:4px 0}.ter-cart-item__qty{display:flex;flex-direction:column;align-items:flex-start;gap:8px;margin-top:16px}.ter-cart-item__qty__label{font-weight:600;font-size:.875rem;line-height:1.25rem;font-weight:700}.ter-cart-item__remove{all:unset;font-weight:600;font-size:.875rem;line-height:1.25rem;color:#252a2e;font-weight:700;-webkit-text-decoration:underline solid 2px #fbad26;text-decoration:underline solid 2px #fbad26;text-underline-offset:4px;cursor:pointer;display:flex;align-items:center;margin-top:16px}.ter-cart-item__remove:focus,.ter-cart-item__remove:active{font-weight:700}.ter-cart-item__remove svg{color:#252a2e}.ter-cart-item__link{font-weight:600;font-size:.875rem;line-height:1.25rem;font-weight:700}
|
|
@@ -7,6 +7,9 @@ interface LinkType {
|
|
|
7
7
|
url: string;
|
|
8
8
|
text: string;
|
|
9
9
|
}
|
|
10
|
+
interface LabelsType {
|
|
11
|
+
quantityLabel?: string;
|
|
12
|
+
}
|
|
10
13
|
interface CartComponentProps {
|
|
11
14
|
id: string;
|
|
12
15
|
imageURL?: string;
|
|
@@ -14,15 +17,19 @@ interface CartComponentProps {
|
|
|
14
17
|
quantity?: number;
|
|
15
18
|
sku: string;
|
|
16
19
|
price?: PriceType;
|
|
20
|
+
strikePrice?: string;
|
|
21
|
+
discount?: string;
|
|
22
|
+
discountCode?: string;
|
|
17
23
|
duration?: string;
|
|
18
24
|
isMaxThresholdError?: boolean;
|
|
19
25
|
link?: LinkType;
|
|
26
|
+
labels?: LabelsType;
|
|
20
27
|
settings?: any;
|
|
21
28
|
isLoading?: boolean;
|
|
22
29
|
onChangeQuantity?: (id: string, sku: string, name: string, quantity: number) => void;
|
|
23
30
|
onRemove?: (id: string, sku: string, name: string) => void;
|
|
24
31
|
LinkComponent: React.Component<any, any>;
|
|
25
32
|
}
|
|
26
|
-
declare function CartComponent({ id, imageURL, name, quantity, sku, price, duration, isMaxThresholdError, link, settings, isLoading, onChangeQuantity, onRemove, LinkComponent, }: CartComponentProps): import("react/jsx-runtime").JSX.Element;
|
|
33
|
+
declare function CartComponent({ id, imageURL, name, quantity, sku, price, strikePrice, discount, discountCode, duration, isMaxThresholdError, link, labels, settings, isLoading, onChangeQuantity, onRemove, LinkComponent, }: CartComponentProps): import("react/jsx-runtime").JSX.Element;
|
|
27
34
|
export default CartComponent;
|
|
28
35
|
//# sourceMappingURL=FlyoutCartComponent.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FlyoutCartComponent.d.ts","sourceRoot":"","sources":["../../../../src/component/FlyoutCartComponent/FlyoutCartComponent.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"FlyoutCartComponent.d.ts","sourceRoot":"","sources":["../../../../src/component/FlyoutCartComponent/FlyoutCartComponent.tsx"],"names":[],"mappings":"AACA,OAAO,KAAsC,MAAM,OAAO,CAAA;AAK1D,OAAO,4BAA4B,CAAA;AAEnC,UAAU,SAAS;IACjB,YAAY,EAAE,MAAM,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,UAAU,QAAQ;IAChB,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;CACd;AAED,UAAU,UAAU;IAClB,aAAa,CAAC,EAAE,MAAM,CAAA;CACvB;AAED,UAAU,kBAAkB;IAC1B,EAAE,EAAE,MAAM,CAAA;IACV,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,GAAG,EAAE,MAAM,CAAA;IACX,KAAK,CAAC,EAAE,SAAS,CAAA;IACjB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,mBAAmB,CAAC,EAAE,OAAO,CAAA;IAC7B,IAAI,CAAC,EAAE,QAAQ,CAAA;IACf,MAAM,CAAC,EAAE,UAAU,CAAA;IACnB,QAAQ,CAAC,EAAE,GAAG,CAAA;IACd,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,gBAAgB,CAAC,EAAE,CACjB,EAAE,EAAE,MAAM,EACV,GAAG,EAAE,MAAM,EACX,IAAI,EAAE,MAAM,EACZ,QAAQ,EAAE,MAAM,KACb,IAAI,CAAC;IACV,QAAQ,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IAC3D,aAAa,EAAE,KAAK,CAAC,SAAS,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC;CAC1C;AASD,iBAAS,aAAa,CAAC,EACrB,EAAE,EACF,QAAQ,EACR,IAAI,EACJ,QAAY,EACZ,GAAG,EACH,KAAK,EACL,WAAW,EACX,QAAQ,EACR,YAAY,EACZ,QAAQ,EACR,mBAA2B,EAC3B,IAAI,EACJ,MAAM,EACN,QAAiC,EACjC,SAAiB,EACjB,gBAA2B,EAC3B,QAAmB,EACnB,aAAa,GACd,EAAE,kBAAkB,2CAsLpB;AAED,eAAe,aAAa,CAAC"}
|
|
@@ -1,72 +1,77 @@
|
|
|
1
1
|
import { jsxs as s, jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import { useRef as
|
|
3
|
-
import { QuantityTracker as
|
|
4
|
-
import { ErrorMessage as
|
|
5
|
-
import { TerraLink as
|
|
2
|
+
import { useRef as E, useState as g, useEffect as j } from "react";
|
|
3
|
+
import { QuantityTracker as K } from "../QuantityTracker/QuantityTracker.js";
|
|
4
|
+
import { ErrorMessage as w } from "../QuantityTracker/ErrorMessage.js";
|
|
5
|
+
import { TerraLink as k } from "../TerraLink/TerraLink.js";
|
|
6
|
+
import q from "../ProductDetail/PromoCodeBadge/PromoCodeBadge.js";
|
|
6
7
|
import './FlyoutCartComponent.css';/* empty css */
|
|
7
|
-
const
|
|
8
|
+
const O = {
|
|
8
9
|
removeBtnLabel: "Remove",
|
|
9
10
|
errorMessageForMinQuantity: "Quantity must be at least 1",
|
|
10
11
|
errorMessageForMaxQuantity: "The quantity selected exceeds the maximum allowed for this transaction. Please contact sales to complete your order."
|
|
11
12
|
};
|
|
12
|
-
function
|
|
13
|
-
id:
|
|
13
|
+
function X({
|
|
14
|
+
id: l,
|
|
14
15
|
imageURL: y,
|
|
15
16
|
name: a,
|
|
16
|
-
quantity:
|
|
17
|
+
quantity: i = 1,
|
|
17
18
|
sku: n,
|
|
18
19
|
price: m,
|
|
19
|
-
|
|
20
|
-
|
|
20
|
+
strikePrice: C,
|
|
21
|
+
discount: b,
|
|
22
|
+
discountCode: M,
|
|
23
|
+
duration: v,
|
|
24
|
+
isMaxThresholdError: x = !1,
|
|
21
25
|
link: h,
|
|
22
|
-
|
|
23
|
-
|
|
26
|
+
labels: T,
|
|
27
|
+
settings: _ = { ...O },
|
|
28
|
+
isLoading: H = !1,
|
|
24
29
|
onChangeQuantity: u = () => {
|
|
25
30
|
},
|
|
26
|
-
onRemove:
|
|
31
|
+
onRemove: Q = () => {
|
|
27
32
|
},
|
|
28
|
-
LinkComponent:
|
|
33
|
+
LinkComponent: D
|
|
29
34
|
}) {
|
|
30
|
-
const
|
|
31
|
-
|
|
32
|
-
typeof
|
|
33
|
-
}, [
|
|
34
|
-
const
|
|
35
|
+
const p = E(null), [r, c] = g(i), [d, f] = g(null);
|
|
36
|
+
j(() => {
|
|
37
|
+
typeof i == "number" && c(i);
|
|
38
|
+
}, [i]);
|
|
39
|
+
const I = () => {
|
|
35
40
|
if (typeof r != "number") return;
|
|
36
41
|
d && clearTimeout(d);
|
|
37
42
|
const e = r - 1;
|
|
38
|
-
|
|
39
|
-
const
|
|
40
|
-
u(
|
|
43
|
+
c(e);
|
|
44
|
+
const o = setTimeout(() => {
|
|
45
|
+
u(l, n, a, e), f(null);
|
|
41
46
|
}, 1e3);
|
|
42
|
-
f(
|
|
43
|
-
},
|
|
47
|
+
f(o);
|
|
48
|
+
}, L = () => {
|
|
44
49
|
if (typeof r != "number") return;
|
|
45
50
|
d && clearTimeout(d);
|
|
46
51
|
const e = r + 1;
|
|
47
|
-
|
|
48
|
-
const
|
|
49
|
-
u(
|
|
52
|
+
c(e);
|
|
53
|
+
const o = setTimeout(() => {
|
|
54
|
+
u(l, n, a, e), f(null);
|
|
50
55
|
}, 1e3);
|
|
51
|
-
f(
|
|
52
|
-
},
|
|
56
|
+
f(o);
|
|
57
|
+
}, V = (e) => {
|
|
53
58
|
if (e.currentTarget.value === "") {
|
|
54
|
-
|
|
59
|
+
c(0);
|
|
55
60
|
return;
|
|
56
61
|
}
|
|
57
|
-
const
|
|
58
|
-
o
|
|
59
|
-
},
|
|
60
|
-
e.preventDefault(),
|
|
61
|
-
},
|
|
62
|
+
const o = parseInt(e.currentTarget.value);
|
|
63
|
+
c(o);
|
|
64
|
+
}, B = (e) => {
|
|
65
|
+
e.preventDefault(), Q(l, n, a);
|
|
66
|
+
}, F = () => {
|
|
62
67
|
if (typeof r == "number") {
|
|
63
68
|
if (r < 0) return;
|
|
64
|
-
u(
|
|
69
|
+
u(l, n, a, r);
|
|
65
70
|
} else
|
|
66
|
-
|
|
67
|
-
},
|
|
68
|
-
e.key === "Enter" &&
|
|
69
|
-
}, { removeBtnLabel:
|
|
71
|
+
c(1), u(l, n, a, 1);
|
|
72
|
+
}, S = (e) => {
|
|
73
|
+
e.key === "Enter" && p ? p?.current?.blur() : e.key.toLowerCase() === "e" && e.preventDefault();
|
|
74
|
+
}, { removeBtnLabel: R = "Remove" } = _, N = typeof i == "number", Z = new Intl.NumberFormat(void 0, {
|
|
70
75
|
style: "currency",
|
|
71
76
|
currency: m?.currencyCode || "USD",
|
|
72
77
|
currencyDisplay: "narrowSymbol"
|
|
@@ -89,74 +94,84 @@ function q({
|
|
|
89
94
|
n
|
|
90
95
|
] }),
|
|
91
96
|
m && /* @__PURE__ */ s("div", { className: "ter-cart-item__price-wrapper", children: [
|
|
97
|
+
C && /* @__PURE__ */ t("span", { className: "ter-cart-item__price--strike", children: C }),
|
|
92
98
|
/* @__PURE__ */ s("span", { className: "ter-cart-item__price", children: [
|
|
93
|
-
|
|
99
|
+
Z.format(m?.amount),
|
|
94
100
|
" ",
|
|
95
101
|
m?.currencyCode
|
|
96
102
|
] }),
|
|
97
103
|
" ",
|
|
98
|
-
|
|
104
|
+
v && /* @__PURE__ */ t("span", { className: "ter-cart-item__duration", children: v })
|
|
99
105
|
] }),
|
|
100
|
-
|
|
106
|
+
b && /* @__PURE__ */ t(
|
|
107
|
+
q,
|
|
108
|
+
{
|
|
109
|
+
discount: b,
|
|
110
|
+
discountCode: M,
|
|
111
|
+
className: "ter-cart-item__discount"
|
|
112
|
+
}
|
|
113
|
+
),
|
|
114
|
+
N && /* @__PURE__ */ s("div", { className: "ter-cart-item__qty", children: [
|
|
115
|
+
/* @__PURE__ */ t("span", { className: "ter-cart-item__qty__label", children: T?.quantityLabel ?? "Quantity" }),
|
|
101
116
|
/* @__PURE__ */ t(
|
|
102
|
-
|
|
117
|
+
K,
|
|
103
118
|
{
|
|
104
|
-
ref:
|
|
119
|
+
ref: p,
|
|
105
120
|
labelText: "",
|
|
106
121
|
quantityCount: r,
|
|
107
122
|
min: 0,
|
|
108
|
-
disabled:
|
|
123
|
+
disabled: H,
|
|
109
124
|
hasDeleteOption: !0,
|
|
110
|
-
handleBlur:
|
|
111
|
-
handleDecreaseQuantity:
|
|
112
|
-
handleIncreaseQuantity:
|
|
113
|
-
handleChangeQuantity:
|
|
114
|
-
handleKeyDown:
|
|
115
|
-
}
|
|
116
|
-
),
|
|
117
|
-
/* @__PURE__ */ s(
|
|
118
|
-
"button",
|
|
119
|
-
{
|
|
120
|
-
className: "ter-cart-item__qty__remove",
|
|
121
|
-
onClick: D,
|
|
122
|
-
children: [
|
|
123
|
-
V,
|
|
124
|
-
/* @__PURE__ */ t(
|
|
125
|
-
"svg",
|
|
126
|
-
{
|
|
127
|
-
width: "24",
|
|
128
|
-
height: "24",
|
|
129
|
-
viewBox: "0 0 24 24",
|
|
130
|
-
fill: "currentColor",
|
|
131
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
132
|
-
children: /* @__PURE__ */ t(
|
|
133
|
-
"path",
|
|
134
|
-
{
|
|
135
|
-
d: "M15.21 3.71001L14.8 3.30001C14.61 3.11001 14.36 3.01001 14.09 3.01001H9.92C9.65 3.01001 9.4 3.12001 9.21 3.30001L8.8 3.71001C8.61 3.90001 8.36 4.00001 8.09 4.00001H6C5.45 4.00001 5 4.45001 5 5.00001C5 5.55001 5.45 6.00001 6 6.00001H18C18.55 6.00001 19 5.55001 19 5.00001C19 4.45001 18.55 4.00001 18 4.00001H15.91C15.64 4.00001 15.39 3.89001 15.2 3.71001H15.21ZM8 21H16C17.1 21 18 20.1 18 19V7.00001H6V19C6 20.1 6.9 21 8 21ZM13.54 8.78001H14.46V19H13.54V8.78001ZM9.54 8.78001H10.46V19H9.54V8.78001Z",
|
|
136
|
-
fill: "currentColor"
|
|
137
|
-
}
|
|
138
|
-
)
|
|
139
|
-
}
|
|
140
|
-
)
|
|
141
|
-
]
|
|
125
|
+
handleBlur: F,
|
|
126
|
+
handleDecreaseQuantity: I,
|
|
127
|
+
handleIncreaseQuantity: L,
|
|
128
|
+
handleChangeQuantity: V,
|
|
129
|
+
handleKeyDown: S
|
|
142
130
|
}
|
|
143
131
|
)
|
|
144
132
|
] }),
|
|
145
|
-
|
|
146
|
-
|
|
133
|
+
N && /* @__PURE__ */ s(
|
|
134
|
+
"button",
|
|
135
|
+
{
|
|
136
|
+
className: "ter-cart-item__remove",
|
|
137
|
+
onClick: B,
|
|
138
|
+
children: [
|
|
139
|
+
R,
|
|
140
|
+
/* @__PURE__ */ t(
|
|
141
|
+
"svg",
|
|
142
|
+
{
|
|
143
|
+
width: "24",
|
|
144
|
+
height: "24",
|
|
145
|
+
viewBox: "0 0 24 24",
|
|
146
|
+
fill: "currentColor",
|
|
147
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
148
|
+
children: /* @__PURE__ */ t(
|
|
149
|
+
"path",
|
|
150
|
+
{
|
|
151
|
+
d: "M15.21 3.71001L14.8 3.30001C14.61 3.11001 14.36 3.01001 14.09 3.01001H9.92C9.65 3.01001 9.4 3.12001 9.21 3.30001L8.8 3.71001C8.61 3.90001 8.36 4.00001 8.09 4.00001H6C5.45 4.00001 5 4.45001 5 5.00001C5 5.55001 5.45 6.00001 6 6.00001H18C18.55 6.00001 19 5.55001 19 5.00001C19 4.45001 18.55 4.00001 18 4.00001H15.91C15.64 4.00001 15.39 3.89001 15.2 3.71001H15.21ZM8 21H16C17.1 21 18 20.1 18 19V7.00001H6V19C6 20.1 6.9 21 8 21ZM13.54 8.78001H14.46V19H13.54V8.78001ZM9.54 8.78001H10.46V19H9.54V8.78001Z",
|
|
152
|
+
fill: "currentColor"
|
|
153
|
+
}
|
|
154
|
+
)
|
|
155
|
+
}
|
|
156
|
+
)
|
|
157
|
+
]
|
|
158
|
+
}
|
|
159
|
+
),
|
|
160
|
+
Number(r) < 0 && /* @__PURE__ */ t(w, { errorMessage: _?.errorMessageForMinQuantity }),
|
|
161
|
+
x && /* @__PURE__ */ t(w, { errorMessage: _?.errorMessageForMaxQuantity }),
|
|
147
162
|
h && /* @__PURE__ */ t("div", { className: "ter-cart-item__link-wrapper", children: /* @__PURE__ */ t(
|
|
148
|
-
|
|
163
|
+
k,
|
|
149
164
|
{
|
|
150
165
|
label: h.text,
|
|
151
166
|
destination: h.url,
|
|
152
167
|
linkType: "text",
|
|
153
168
|
className: "ter-cart-item__link",
|
|
154
|
-
LinkComponent:
|
|
169
|
+
LinkComponent: D
|
|
155
170
|
}
|
|
156
171
|
) })
|
|
157
172
|
] })
|
|
158
173
|
] });
|
|
159
174
|
}
|
|
160
175
|
export {
|
|
161
|
-
|
|
176
|
+
X as default
|
|
162
177
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.t2-pricing-cards,.t2-pricing-cards *,.t2-pricing-card,.t2-pricing-card *{box-sizing:border-box}.t2-pricing-card{margin-inline:0px;padding-inline:0px;padding-block:0px;background-color:#fff;color:#585c65;border:1px solid #252a2e;border-radius:10px;letter-spacing:.15px;margin-bottom:8px}.t2-pricing-card--region-blocked{border:1px solid #6A6E79}.t2-pricing-card--region-blocked:hover,.t2-pricing-card--region-blocked{cursor:not-allowed}.t2-pricing-card--region-available:hover{cursor:pointer}.t2-pricing-card--selected{border:1px solid #0063a3;color:#252a2e}.t2-pricing-card__content{padding:16px}@media screen and (max-width:300px){.t2-pricing-card__content{flex-direction:column;align-items:flex-start;gap:0px}}.t2-pricing-card__title{font-size:18px;font-weight:600;line-height:32px;margin:14px}.t2-pricing-card__region-blocked-text{font-size:14px;color:#6a6e79;line-height:24px;list-style-type:none;font-weight:400;padding:0;margin:0}.t2-pricing-card__vat-container--text{font-size:14px;line-height:24px;list-style-type:none;font-weight:400;margin:0 0 0 32px}.t2-pricing-card__price{display:flex;font-size:24px;font-weight:700;line-height:32px;letter-spacing:.15px;margin:0 0 0 24px}@media screen and (max-width:300px){.t2-pricing-card__price{text-align:left}}.t2-pricing-card__price--strike{margin-left:16px;font-style:normal;font-weight:600;color:#90939f;text-decoration:line-through}.t2-pricing-card__price--currency{font-size:14px;font-weight:600;margin-left:8px;position:relative;top:2px}.t2-pricing-card__price-description{font-size:14px;font-weight:400;line-height:24px;letter-spacing:.15px;margin:0 0 0 48px}@media screen and (max-width:300px){.t2-pricing-card__price-description{text-align:left}}.t2-pricing-card__price--type{font-size:.875rem;font-weight:600;line-height:1.5rem;margin:0}.t2-pricing-card__price-tax{font-size:.75rem;font-weight:400;line-height:1.25rem;letter-spacing:.15px;text-align:right;margin:0}.t2-pricing-card__custom-radio-label,.t2-pricing-card__custom-radio-button{margin:0 6px;border-color:#0063a3;box-shadow:none}.t2-pricing-card__custom-radio-button{height:16px;width:16px;border-radius:50%;border:2px solid #252a2e;display:inline-block;position:relative;box-shadow:none;transition:border-color .2s}.t2-pricing-card__native-radio-hide:checked+.t2-pricing-card__custom-radio-button{border-color:#0063a3}.t2-pricing-card__native-radio-hide:checked+.t2-pricing-card__custom-radio-button:after{content:"";background:#0063a3}.t2-pricing-card__native-radio-hide:checked+.t2-pricing-card__custom-radio-button:after{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:8px;height:8px;border-radius:50%;background:#0063a3}.t2-pricing-card__native-radio-hide{opacity:0;position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);border:0}.t2-pricing-card__discount-container{
|
|
1
|
+
.t2-pricing-cards,.t2-pricing-cards *,.t2-pricing-card,.t2-pricing-card *{box-sizing:border-box}.t2-pricing-card{margin-inline:0px;padding-inline:0px;padding-block:0px;background-color:#fff;color:#585c65;border:1px solid #252a2e;border-radius:10px;letter-spacing:.15px;margin-bottom:8px}.t2-pricing-card--region-blocked{border:1px solid #6A6E79}.t2-pricing-card--region-blocked:hover,.t2-pricing-card--region-blocked{cursor:not-allowed}.t2-pricing-card--region-available:hover{cursor:pointer}.t2-pricing-card--selected{border:1px solid #0063a3;color:#252a2e}.t2-pricing-card__content{padding:16px}@media screen and (max-width:300px){.t2-pricing-card__content{flex-direction:column;align-items:flex-start;gap:0px}}.t2-pricing-card__title{font-size:18px;font-weight:600;line-height:32px;margin:14px}.t2-pricing-card__region-blocked-text{font-size:14px;color:#6a6e79;line-height:24px;list-style-type:none;font-weight:400;padding:0;margin:0}.t2-pricing-card__vat-container--text{font-size:14px;line-height:24px;list-style-type:none;font-weight:400;margin:0 0 0 32px}.t2-pricing-card__price{display:flex;font-size:24px;font-weight:700;line-height:32px;letter-spacing:.15px;margin:0 0 0 24px}@media screen and (max-width:300px){.t2-pricing-card__price{text-align:left}}.t2-pricing-card__price--strike{margin-left:16px;font-style:normal;font-weight:600;color:#90939f;text-decoration:line-through}.t2-pricing-card__price--currency{font-size:14px;font-weight:600;margin-left:8px;position:relative;top:2px}.t2-pricing-card__price-description{font-size:14px;font-weight:400;line-height:24px;letter-spacing:.15px;margin:0 0 0 48px}@media screen and (max-width:300px){.t2-pricing-card__price-description{text-align:left}}.t2-pricing-card__price--type{font-size:.875rem;font-weight:600;line-height:1.5rem;margin:0}.t2-pricing-card__price-tax{font-size:.75rem;font-weight:400;line-height:1.25rem;letter-spacing:.15px;text-align:right;margin:0}.t2-pricing-card__custom-radio-label,.t2-pricing-card__custom-radio-button{margin:0 6px;border-color:#0063a3;box-shadow:none}.t2-pricing-card__custom-radio-button{height:16px;width:16px;border-radius:50%;border:2px solid #252a2e;display:inline-block;position:relative;box-shadow:none;transition:border-color .2s}.t2-pricing-card__native-radio-hide:checked+.t2-pricing-card__custom-radio-button{border-color:#0063a3}.t2-pricing-card__native-radio-hide:checked+.t2-pricing-card__custom-radio-button:after{content:"";background:#0063a3}.t2-pricing-card__native-radio-hide:checked+.t2-pricing-card__custom-radio-button:after{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:8px;height:8px;border-radius:50%;background:#0063a3}.t2-pricing-card__native-radio-hide{opacity:0;position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);border:0}.t2-pricing-card__discount-container{margin:0 0 16px 60px}.t2-pricing-card__discount-container .ter-promo-badge__label{height:44px;padding:8px}.t2-pricing-card__discount-container .ter-promo-badge__label:has(.ter-promo-badge__code){padding:1px 8px}.t2-pricing-card__featured{background-color:#dcedf9;border-radius:10px 10px 0 0;display:flex;border-bottom:1px solid #252a2e}.t2-pricing-card__featured--text{justify-content:center;align-items:center;color:#0063a3;text-transform:uppercase;margin:0 auto;padding:8px;font-size:12px;letter-spacing:.24px;font-weight:800}.t2-pricing-card__native-radio-hide:checked+.t2-pricing-card__custom-radio-button,.t2-pricing-card:hover .t2-pricing-card__custom-radio-button{border-color:#0063a3}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PricingCards.d.ts","sourceRoot":"","sources":["../../../../../src/component/ProductDetail/PricingCards/PricingCards.jsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"PricingCards.d.ts","sourceRoot":"","sources":["../../../../../src/component/ProductDetail/PricingCards/PricingCards.jsx"],"names":[],"mappings":";AAmIA,+DAmCE;kBArKoD,OAAO"}
|