@zonos/elements 1.3.15-alpha.1 → 1.3.15-alpha.3
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/cjs/zonos-address_4.cjs.entry.js +10 -10
- package/dist/cjs/zonos-badge_2.cjs.entry.js +7 -7
- package/dist/cjs/zonos-banner.cjs.entry.js +1 -1
- package/dist/cjs/zonos-button_2.cjs.entry.js +4 -4
- package/dist/cjs/zonos-card_2.cjs.entry.js +7 -7
- package/dist/cjs/zonos-cart-items_10.cjs.entry.js +18 -18
- package/dist/cjs/zonos-checkout.cjs.entry.js +1 -1
- package/dist/cjs/zonos-component.cjs.entry.js +1 -1
- package/dist/cjs/zonos-controller.cjs.entry.js +1 -1
- package/dist/cjs/zonos-country-select_3.cjs.entry.js +9 -9
- package/dist/cjs/zonos-hello-dialog.cjs.entry.js +4 -4
- package/dist/cjs/zonos-hello.cjs.entry.js +1 -1
- package/dist/cjs/zonos-link.cjs.entry.js +1 -1
- package/dist/cjs/zonos-logo.cjs.entry.js +2 -2
- package/dist/cjs/zonos-notification.cjs.entry.js +1 -1
- package/dist/cjs/zonos-payment.cjs.entry.js +2 -2
- package/dist/cjs/zonos-select-dialog-header_2.cjs.entry.js +5 -5
- package/dist/cjs/zonos-shipping-rich-radio.cjs.entry.js +1 -1
- package/dist/collection/components/checkout/zonos-checkout/zonos-cart-items/zonos-cart-items.css +1 -1
- package/dist/collection/components/checkout/zonos-checkout/zonos-cart-subtotal/zonos-cart-subtotal.css +2 -2
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-finish/zonos-checkout-finish.css +4 -4
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-footer/zonos-checkout-footer.css +20 -8
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-footer/zonos-checkout-footer.js +1 -1
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-payment/zonos-checkout-payment.css +5 -5
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.css +16 -16
- package/dist/collection/components/checkout/zonos-checkout/zonos-customer-info/zonos-customer-info.css +8 -8
- package/dist/collection/components/checkout/zonos-checkout/zonos-review/zonos-review.css +5 -5
- package/dist/collection/components/checkout/zonos-checkout/zonos-shipping/zonos-shipping.css +7 -7
- package/dist/collection/components/checkout/zonos-checkout/zonos-shipping/zonos-shipping.js +1 -1
- package/dist/collection/components/common/component-template/zonos-link/zonos-link.js +1 -1
- package/dist/collection/components/common/zonos-badge/zonos-badge.css +1 -1
- package/dist/collection/components/common/zonos-badge/zonos-badge.js +3 -3
- package/dist/collection/components/common/zonos-banner/zonos-banner.css +3 -3
- package/dist/collection/components/common/zonos-button/zonos-button.css +9 -9
- package/dist/collection/components/common/zonos-button/zonos-button.js +3 -3
- package/dist/collection/components/common/zonos-card/zonos-card.css +9 -9
- package/dist/collection/components/common/zonos-card/zonos-card.js +3 -3
- package/dist/collection/components/common/zonos-checkbox/zonos-checkbox.css +1 -1
- package/dist/collection/components/common/zonos-checkbox/zonos-checkbox.js +3 -3
- package/dist/collection/components/common/zonos-checkout-progress-tabs/zonos-checkout-progress-tabs.css +1 -1
- package/dist/collection/components/common/zonos-checkout-progress-tabs/zonos-checkout-progress-tabs.js +3 -3
- package/dist/collection/components/common/zonos-collapse/zonos-collapse.js +2 -2
- package/dist/collection/components/common/zonos-country-select/zonos-country-select.css +5 -5
- package/dist/collection/components/common/zonos-country-select/zonos-country-select.js +2 -2
- package/dist/collection/components/common/zonos-custom-message/zonos-custom-message.css +1 -1
- package/dist/collection/components/common/zonos-custom-message/zonos-custom-message.js +2 -2
- package/dist/collection/components/common/zonos-dialog/zonos-dialog.css +3 -3
- package/dist/collection/components/common/zonos-dialog/zonos-dialog.js +3 -3
- package/dist/collection/components/common/zonos-language-select/zonos-language-select.css +4 -4
- package/dist/collection/components/common/zonos-language-select/zonos-language-select.js +2 -2
- package/dist/collection/components/common/zonos-logo/zonos-logo.js +2 -2
- package/dist/collection/components/common/zonos-notification/zonos-notification.css +3 -3
- package/dist/collection/components/common/zonos-select-dialog-header/zonos-select-dialog-header.css +1 -1
- package/dist/collection/components/common/zonos-select-dialog-header/zonos-select-dialog-header.js +2 -2
- package/dist/collection/components/common/zonos-shipping-rich-radio/zonos-shipping-rich-radio.css +2 -2
- package/dist/collection/components/common/zonos-tooltip/zonos-tooltip.css +1 -1
- package/dist/collection/components/common/zonos-tooltip/zonos-tooltip.js +2 -2
- package/dist/collection/components/common/zonos-v-stack/zonos-v-stack.js +2 -2
- package/dist/collection/components/component-template/zonos-component/zonos-component.js +1 -1
- package/dist/collection/components/hello/zonos-hello/zonos-hello.css +18 -18
- package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog-footer/zonos-hello-dialog-footer.css +241 -242
- package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog-footer/zonos-hello-dialog-footer.js +2 -2
- package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog.css +4 -4
- package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog.js +3 -3
- package/dist/collection/components/main/zonos-controller.js +1 -1
- package/dist/collection/components/stripe/zonos-address/zonos-address.css +2 -2
- package/dist/collection/components/stripe/zonos-address/zonos-address.js +1 -1
- package/dist/collection/components/stripe/zonos-link-authentication/zonos-link-authentication.css +1 -1
- package/dist/collection/components/stripe/zonos-link-authentication/zonos-link-authentication.js +1 -1
- package/dist/collection/components/stripe/zonos-payment/zonos-payment.css +1 -1
- package/dist/collection/components/stripe/zonos-payment/zonos-payment.js +1 -1
- package/dist/components/zonos-address2.js +2 -2
- package/dist/components/zonos-badge2.js +4 -4
- package/dist/components/zonos-banner2.js +1 -1
- package/dist/components/zonos-button2.js +4 -4
- package/dist/components/zonos-card2.js +4 -4
- package/dist/components/zonos-cart-items2.js +1 -1
- package/dist/components/zonos-cart-subtotal2.js +1 -1
- package/dist/components/zonos-checkbox2.js +4 -4
- package/dist/components/zonos-checkout-finish2.js +1 -1
- package/dist/components/zonos-checkout-footer2.js +2 -2
- package/dist/components/zonos-checkout-payment2.js +1 -1
- package/dist/components/zonos-checkout-progress-tabs2.js +4 -4
- package/dist/components/zonos-checkout.js +1 -1
- package/dist/components/zonos-collapse2.js +2 -2
- package/dist/components/zonos-component.js +1 -1
- package/dist/components/zonos-controller.js +1 -1
- package/dist/components/zonos-country-select2.js +3 -3
- package/dist/components/zonos-custom-message2.js +3 -3
- package/dist/components/zonos-customer-info2.js +1 -1
- package/dist/components/zonos-dialog2.js +4 -4
- package/dist/components/zonos-hello-dialog-footer2.js +3 -3
- package/dist/components/zonos-hello-dialog2.js +4 -4
- package/dist/components/zonos-hello.js +1 -1
- package/dist/components/zonos-language-select2.js +3 -3
- package/dist/components/zonos-link-authentication2.js +2 -2
- package/dist/components/zonos-link.js +1 -1
- package/dist/components/zonos-logo.js +2 -2
- package/dist/components/zonos-notification2.js +1 -1
- package/dist/components/zonos-payment2.js +2 -2
- package/dist/components/zonos-review2.js +1 -1
- package/dist/components/zonos-select-dialog-header2.js +3 -3
- package/dist/components/zonos-shipping-rich-radio2.js +1 -1
- package/dist/components/zonos-shipping2.js +2 -2
- package/dist/components/zonos-tooltip2.js +3 -3
- package/dist/components/zonos-v-stack2.js +2 -2
- package/dist/esm/zonos-address_4.entry.js +10 -10
- package/dist/esm/zonos-badge_2.entry.js +7 -7
- package/dist/esm/zonos-banner.entry.js +1 -1
- package/dist/esm/zonos-button_2.entry.js +4 -4
- package/dist/esm/zonos-card_2.entry.js +7 -7
- package/dist/esm/zonos-cart-items_10.entry.js +18 -18
- package/dist/esm/zonos-checkout.entry.js +1 -1
- package/dist/esm/zonos-component.entry.js +1 -1
- package/dist/esm/zonos-controller.entry.js +1 -1
- package/dist/esm/zonos-country-select_3.entry.js +9 -9
- package/dist/esm/zonos-hello-dialog.entry.js +4 -4
- package/dist/esm/zonos-hello.entry.js +1 -1
- package/dist/esm/zonos-link.entry.js +1 -1
- package/dist/esm/zonos-logo.entry.js +2 -2
- package/dist/esm/zonos-notification.entry.js +1 -1
- package/dist/esm/zonos-payment.entry.js +2 -2
- package/dist/esm/zonos-select-dialog-header_2.entry.js +5 -5
- package/dist/esm/zonos-shipping-rich-radio.entry.js +1 -1
- package/dist/esm-es5/zonos-address_4.entry.js +1 -1
- package/dist/esm-es5/zonos-badge_2.entry.js +1 -1
- package/dist/esm-es5/zonos-banner.entry.js +1 -1
- package/dist/esm-es5/zonos-button_2.entry.js +1 -1
- package/dist/esm-es5/zonos-card_2.entry.js +1 -1
- package/dist/esm-es5/zonos-cart-items_10.entry.js +1 -1
- package/dist/esm-es5/zonos-checkout.entry.js +1 -1
- package/dist/esm-es5/zonos-component.entry.js +1 -1
- package/dist/esm-es5/zonos-controller.entry.js +1 -1
- package/dist/esm-es5/zonos-country-select_3.entry.js +1 -1
- package/dist/esm-es5/zonos-hello-dialog.entry.js +1 -1
- package/dist/esm-es5/zonos-hello.entry.js +1 -1
- package/dist/esm-es5/zonos-link.entry.js +1 -1
- package/dist/esm-es5/zonos-logo.entry.js +1 -1
- package/dist/esm-es5/zonos-notification.entry.js +1 -1
- package/dist/esm-es5/zonos-payment.entry.js +1 -1
- package/dist/esm-es5/zonos-select-dialog-header_2.entry.js +1 -1
- package/dist/esm-es5/zonos-shipping-rich-radio.entry.js +1 -1
- package/dist/scripts/loadZonos.js +1 -1
- package/dist/scripts/zonos.js +1 -1
- package/dist/scripts/zonosBase.js +1 -1
- package/dist/zonos-elements/p-0253aeae.entry.js +1 -0
- package/dist/zonos-elements/p-031086ba.system.entry.js +1 -0
- package/dist/zonos-elements/p-1264b362.entry.js +1 -0
- package/dist/zonos-elements/p-1950dda7.entry.js +1 -0
- package/dist/zonos-elements/{p-dd1ba8fb.entry.js → p-24fee841.entry.js} +1 -1
- package/dist/zonos-elements/p-2a99c8b5.system.entry.js +1 -0
- package/dist/zonos-elements/{p-66b42924.entry.js → p-376bdf70.entry.js} +1 -1
- package/dist/zonos-elements/{p-b4c3dcda.entry.js → p-3e417d7c.entry.js} +1 -1
- package/dist/zonos-elements/{p-ca8ae8a4.system.entry.js → p-46f9c93e.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-8126011d.entry.js → p-48a2b8b0.entry.js} +1 -1
- package/dist/zonos-elements/p-49120f0e.system.entry.js +1 -0
- package/dist/zonos-elements/p-593948b5.system.entry.js +1 -0
- package/dist/zonos-elements/{p-6adbe3e4.entry.js → p-5ee8a685.entry.js} +1 -1
- package/dist/zonos-elements/{p-2ffcc816.entry.js → p-6743734f.entry.js} +1 -1
- package/dist/zonos-elements/p-6d9dbecb.system.entry.js +1 -0
- package/dist/zonos-elements/{p-e703c902.entry.js → p-6e8d43de.entry.js} +1 -1
- package/dist/zonos-elements/{p-7411d43e.system.entry.js → p-70ede197.system.entry.js} +1 -1
- package/dist/zonos-elements/p-7891f8d2.entry.js +1 -0
- package/dist/zonos-elements/p-78d22069.system.entry.js +1 -0
- package/dist/zonos-elements/p-8bc0e56a.system.entry.js +1 -0
- package/dist/zonos-elements/p-92446677.entry.js +1 -0
- package/dist/zonos-elements/p-9350d19f.entry.js +1 -0
- package/dist/zonos-elements/{p-8b44b059.system.entry.js → p-95c864ca.system.entry.js} +1 -1
- package/dist/zonos-elements/p-9768840a.system.entry.js +1 -0
- package/dist/zonos-elements/p-9e8f1065.system.entry.js +1 -0
- package/dist/zonos-elements/{p-34565753.system.entry.js → p-a0abc499.system.entry.js} +1 -1
- package/dist/zonos-elements/p-ae4a4634.system.entry.js +1 -0
- package/dist/zonos-elements/{p-2ee0d779.entry.js → p-af8391bb.entry.js} +1 -1
- package/dist/zonos-elements/p-b8e8330b.system.js +1 -1
- package/dist/zonos-elements/{p-44e8e803.entry.js → p-bc3a0f7c.entry.js} +1 -1
- package/dist/zonos-elements/p-bfa8d9a4.system.entry.js +1 -0
- package/dist/zonos-elements/p-d149bc5d.system.entry.js +1 -0
- package/dist/zonos-elements/{p-440eb12c.entry.js → p-d3772fd3.entry.js} +1 -1
- package/dist/zonos-elements/p-e705c44c.entry.js +1 -0
- package/dist/zonos-elements/{p-97534044.entry.js → p-e9fafda6.entry.js} +1 -1
- package/dist/zonos-elements/{p-596a4beb.system.entry.js → p-eff12c31.system.entry.js} +1 -1
- package/dist/zonos-elements/p-fc35d717.system.entry.js +1 -0
- package/dist/zonos-elements/zonos-elements.css +11 -15
- package/dist/zonos-elements/zonos-elements.esm.js +1 -1
- package/package.json +1 -1
- package/dist/zonos-elements/p-056a453e.entry.js +0 -1
- package/dist/zonos-elements/p-0a0d45e9.system.entry.js +0 -1
- package/dist/zonos-elements/p-0fc08944.entry.js +0 -1
- package/dist/zonos-elements/p-19f0392f.system.entry.js +0 -1
- package/dist/zonos-elements/p-24bd40ec.entry.js +0 -1
- package/dist/zonos-elements/p-26c55472.system.entry.js +0 -1
- package/dist/zonos-elements/p-509717bc.system.entry.js +0 -1
- package/dist/zonos-elements/p-51afdc14.system.entry.js +0 -1
- package/dist/zonos-elements/p-536b62a8.system.entry.js +0 -1
- package/dist/zonos-elements/p-5c41ac7d.system.entry.js +0 -1
- package/dist/zonos-elements/p-6fb15797.system.entry.js +0 -1
- package/dist/zonos-elements/p-7432179a.system.entry.js +0 -1
- package/dist/zonos-elements/p-74c8aa64.entry.js +0 -1
- package/dist/zonos-elements/p-8d1f81e1.entry.js +0 -1
- package/dist/zonos-elements/p-8e5796a8.system.entry.js +0 -1
- package/dist/zonos-elements/p-b2f56dcb.system.entry.js +0 -1
- package/dist/zonos-elements/p-b4e704c7.entry.js +0 -1
- package/dist/zonos-elements/p-b6393a04.entry.js +0 -1
- package/dist/zonos-elements/p-d0d78094.system.entry.js +0 -1
- package/dist/zonos-elements/p-e7b5cf0d.system.entry.js +0 -1
|
@@ -36,7 +36,7 @@ export class ZonosCheckoutFooter {
|
|
|
36
36
|
return (h(Host, { key: 'fae1e5cb1250e834ecf3b09f11785ddea61be3b2', class: classes(['zonos--elements', this.isMobile && 'mobile']) }, h("div", { key: 'f3d48fcc675458dd38ca48e21f24a003b5ff9b56', class: "zonos--checkout-footer" }, h("div", { key: '97daec871630cf2bb33956b668abee2e715eceb5', class: "zonos--checkout-locale-wrapper" }, h("zonos-button", { key: 'cd6e12e8d1320e3e6542eef16f15ab27921748c3', buttonColor: colorDesktop, class: "zonos--checkout-footer-language-button", icon: h("zonos-icon", { "aria-label": "Language select", content: Globe, iconColor: colorDesktop }), onClick: () => this.toggleLanguageDialog(), variant: "subtle" }, languageLabel), h("div", { key: 'bdc6d9311d2d039e87c261ead45474b7bf1fe992', class: classes([
|
|
37
37
|
'zonos--checkout-footer-dialog',
|
|
38
38
|
this.showLanguageDialog && 'zonos--checkout-footer-dialog-open',
|
|
39
|
-
]) }, h("zonos-language-select", { key: '7318bb4137e160e9ed05a423fb80f1806c4f0104', handleOnClose: () => this.toggleLanguageDialog() }))), h("div", { key: '55c76c6cf6777407532c00cf167d59e3cefc5eab', class: "zonos--checkout-footer-icon-wrapper" }, h("zonos-text", { key: '
|
|
39
|
+
]) }, h("zonos-language-select", { key: '7318bb4137e160e9ed05a423fb80f1806c4f0104', handleOnClose: () => this.toggleLanguageDialog() }))), h("div", { key: '55c76c6cf6777407532c00cf167d59e3cefc5eab', class: "zonos--checkout-footer-icon-wrapper" }, h("a", { key: 'e2cf10499ed764fb2e7086761ece106580cd6440', href: "https://zonos.com/docs/legal/zonos-privacy-policy", target: "_blank" }, h("zonos-text", { key: '0fe6c810a6d7f84a781655cefc47ec6cbb5131c9', textColor: colorDesktop }, "Privacy policy")), h("div", { key: '50401876a45161e80f593971e602e4c449e78dbe', class: "zonos--checkout-footer-logo" }, h("zonos-text", { key: '0f69d9d9955165de13a49ff00a7044090b141800', textColor: colorDesktop }, "Powered by"), h("a", { key: '680e6fe4d0a783e2ebc55a51ffb55846ad997249', href: "https://zonos.com", target: "_blank", title: "Zonos website" }, h("zonos-icon", { key: '22aee1eb21306141e620bcc1b0dbf035bd710fba', autoHeight: true, content: ZonosIcon, iconColor: colorDesktop, size: 108 })))))));
|
|
40
40
|
}
|
|
41
41
|
static get is() { return "zonos-checkout-footer"; }
|
|
42
42
|
static get encapsulation() { return "shadow"; }
|
|
@@ -37,10 +37,10 @@
|
|
|
37
37
|
flex-direction: column;
|
|
38
38
|
}
|
|
39
39
|
:host .zonos--title {
|
|
40
|
-
margin-bottom:
|
|
40
|
+
margin-bottom: 24px;
|
|
41
41
|
}
|
|
42
42
|
:host .zonos--group {
|
|
43
|
-
margin-bottom:
|
|
43
|
+
margin-bottom: 20px;
|
|
44
44
|
overflow: auto;
|
|
45
45
|
padding: 5px;
|
|
46
46
|
}
|
|
@@ -60,10 +60,10 @@
|
|
|
60
60
|
background: #d6d6d6;
|
|
61
61
|
}
|
|
62
62
|
:host .zonos--payment-error-banner {
|
|
63
|
-
margin-bottom:
|
|
63
|
+
margin-bottom: 8px;
|
|
64
64
|
}
|
|
65
65
|
:host .zonos--error-banner {
|
|
66
|
-
margin-bottom:
|
|
66
|
+
margin-bottom: 16px;
|
|
67
67
|
}
|
|
68
68
|
:host zonos-button {
|
|
69
69
|
box-shadow: 0 0 1px 0 var(--amino-gray-600);
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
display: flex;
|
|
74
74
|
justify-content: center;
|
|
75
75
|
bottom: 0;
|
|
76
|
-
margin-top:
|
|
76
|
+
margin-top: 12px;
|
|
77
77
|
background: var(--primary-color, var(--amino-gray-0));
|
|
78
78
|
}
|
|
79
79
|
:host .zonos--group-btn zonos-button {
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
:host .zonos--content .zonos--left,
|
|
56
56
|
:host .zonos--content .zonos--right {
|
|
57
57
|
flex: 1;
|
|
58
|
-
padding:
|
|
58
|
+
padding: 32px;
|
|
59
59
|
}
|
|
60
60
|
:host .zonos--content .zonos--left {
|
|
61
61
|
background-color: var(--primary-color, var(--amino-gray-0));
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
background-color: var(--amino-gray-0);
|
|
74
74
|
align-items: center;
|
|
75
75
|
justify-content: center;
|
|
76
|
-
padding:
|
|
76
|
+
padding: 24px;
|
|
77
77
|
padding-bottom: 50px;
|
|
78
78
|
}
|
|
79
79
|
:host .zonos--content .zonos--done .zonos--header {
|
|
@@ -97,18 +97,18 @@
|
|
|
97
97
|
flex-direction: column;
|
|
98
98
|
}
|
|
99
99
|
:host .zonos--left .zonos--wrapper {
|
|
100
|
-
padding: 0
|
|
100
|
+
padding: 0 8px 8px;
|
|
101
101
|
}
|
|
102
102
|
:host .zonos--left .zonos--payment-error-banner {
|
|
103
|
-
margin-top:
|
|
103
|
+
margin-top: 24px;
|
|
104
104
|
}
|
|
105
105
|
:host .zonos--right {
|
|
106
106
|
position: relative;
|
|
107
107
|
}
|
|
108
108
|
:host .zonos--right .zonos--close-button {
|
|
109
109
|
position: absolute;
|
|
110
|
-
right:
|
|
111
|
-
top:
|
|
110
|
+
right: 24px;
|
|
111
|
+
top: 24px;
|
|
112
112
|
z-index: 2;
|
|
113
113
|
}
|
|
114
114
|
:host .zonos--wrapper {
|
|
@@ -126,8 +126,8 @@
|
|
|
126
126
|
align-items: center;
|
|
127
127
|
}
|
|
128
128
|
:host .zonos--checkout-default-message {
|
|
129
|
-
margin-left:
|
|
130
|
-
margin-bottom:
|
|
129
|
+
margin-left: 76px;
|
|
130
|
+
margin-bottom: 8px;
|
|
131
131
|
}
|
|
132
132
|
|
|
133
133
|
:host(.preview) {
|
|
@@ -138,7 +138,7 @@
|
|
|
138
138
|
border: var(--amino-border);
|
|
139
139
|
}
|
|
140
140
|
:host(.preview) .zonos--content .zonos--done {
|
|
141
|
-
padding:
|
|
141
|
+
padding: 32px;
|
|
142
142
|
}
|
|
143
143
|
|
|
144
144
|
:host(.mobile) {
|
|
@@ -155,13 +155,13 @@
|
|
|
155
155
|
}
|
|
156
156
|
:host(.mobile) .zonos--content .zonos--left,
|
|
157
157
|
:host(.mobile) .zonos--content .zonos--right {
|
|
158
|
-
padding:
|
|
159
|
-
padding-bottom:
|
|
158
|
+
padding: 12px;
|
|
159
|
+
padding-bottom: 76px;
|
|
160
160
|
}
|
|
161
161
|
@media (max-width: 768px) {
|
|
162
162
|
:host(.mobile) .zonos--content .zonos--left,
|
|
163
163
|
:host(.mobile) .zonos--content .zonos--right {
|
|
164
|
-
padding-bottom:
|
|
164
|
+
padding-bottom: 0px;
|
|
165
165
|
}
|
|
166
166
|
}
|
|
167
167
|
:host(.mobile) .zonos--content .zonos--left {
|
|
@@ -170,7 +170,7 @@
|
|
|
170
170
|
}
|
|
171
171
|
:host(.mobile) .zonos--content .zonos--right {
|
|
172
172
|
order: 1;
|
|
173
|
-
padding-top:
|
|
173
|
+
padding-top: 16px;
|
|
174
174
|
}
|
|
175
175
|
:host(.mobile) .zonos--content .zonos--right .zonos--wrapper {
|
|
176
176
|
display: flex;
|
|
@@ -178,14 +178,14 @@
|
|
|
178
178
|
border: var(--amino-border);
|
|
179
179
|
border-radius: var(--border-radius, var(--amino-radius-10));
|
|
180
180
|
background-color: var(--amino-gray-50);
|
|
181
|
-
padding:
|
|
182
|
-
margin-top:
|
|
181
|
+
padding: 12px;
|
|
182
|
+
margin-top: 32px;
|
|
183
183
|
}
|
|
184
184
|
:host(.mobile) .zonos--content .zonos--right .zonos--review {
|
|
185
185
|
margin-bottom: 0;
|
|
186
186
|
}
|
|
187
187
|
:host(.mobile) .zonos--content .zonos--right .zonos--cart-items {
|
|
188
|
-
margin-top:
|
|
188
|
+
margin-top: 8px;
|
|
189
189
|
}
|
|
190
190
|
:host(.mobile) .zonos--content zonos-checkout-footer {
|
|
191
191
|
order: 3;
|
|
@@ -37,16 +37,16 @@
|
|
|
37
37
|
flex-direction: column;
|
|
38
38
|
}
|
|
39
39
|
:host .zonos--title {
|
|
40
|
-
margin-bottom:
|
|
40
|
+
margin-bottom: 20px;
|
|
41
41
|
}
|
|
42
42
|
:host .zonos--link-authentication {
|
|
43
|
-
margin-bottom:
|
|
43
|
+
margin-bottom: 32px;
|
|
44
44
|
}
|
|
45
45
|
:host .zonos--address {
|
|
46
|
-
margin-bottom:
|
|
46
|
+
margin-bottom: 16px;
|
|
47
47
|
}
|
|
48
48
|
:host .zonos--checkbox {
|
|
49
|
-
margin-bottom:
|
|
49
|
+
margin-bottom: 16px;
|
|
50
50
|
}
|
|
51
51
|
:host .zonos--checkbox + .zonos--address {
|
|
52
52
|
margin-bottom: 0;
|
|
@@ -55,10 +55,10 @@
|
|
|
55
55
|
box-shadow: 0 0 1px 0 var(--amino-gray-600);
|
|
56
56
|
}
|
|
57
57
|
:host .zonos--error-banner {
|
|
58
|
-
margin-bottom:
|
|
58
|
+
margin-bottom: 16px;
|
|
59
59
|
}
|
|
60
60
|
:host .zonos--group {
|
|
61
|
-
margin-bottom:
|
|
61
|
+
margin-bottom: 20px;
|
|
62
62
|
overflow: auto;
|
|
63
63
|
padding: 5px;
|
|
64
64
|
}
|
|
@@ -82,8 +82,8 @@
|
|
|
82
82
|
display: flex;
|
|
83
83
|
justify-content: center;
|
|
84
84
|
bottom: -5px;
|
|
85
|
-
padding-top:
|
|
86
|
-
margin-top:
|
|
85
|
+
padding-top: 8px;
|
|
86
|
+
margin-top: 12px;
|
|
87
87
|
background: var(--primary-color, var(--amino-gray-0));
|
|
88
88
|
}
|
|
89
89
|
:host .zonos--group-btn zonos-button {
|
|
@@ -38,22 +38,22 @@
|
|
|
38
38
|
z-index: 1;
|
|
39
39
|
}
|
|
40
40
|
:host .zonos--total-pay {
|
|
41
|
-
margin:
|
|
41
|
+
margin: 8px 0 24px;
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
:host(.mobile) {
|
|
45
45
|
display: flex;
|
|
46
46
|
flex-direction: row;
|
|
47
|
-
gap:
|
|
47
|
+
gap: 24px;
|
|
48
48
|
justify-content: space-between;
|
|
49
|
-
padding:
|
|
50
|
-
margin-bottom:
|
|
49
|
+
padding: 4px 0;
|
|
50
|
+
margin-bottom: 8px;
|
|
51
51
|
background-color: transparent;
|
|
52
52
|
}
|
|
53
53
|
:host(.mobile) .zonos--title {
|
|
54
54
|
display: flex;
|
|
55
55
|
align-self: center;
|
|
56
|
-
gap:
|
|
56
|
+
gap: 8px;
|
|
57
57
|
}
|
|
58
58
|
:host(.mobile) .zonos--total-pay {
|
|
59
59
|
margin: 0;
|
package/dist/collection/components/checkout/zonos-checkout/zonos-shipping/zonos-shipping.css
CHANGED
|
@@ -37,16 +37,16 @@
|
|
|
37
37
|
flex-direction: column;
|
|
38
38
|
}
|
|
39
39
|
:host .zonos--title {
|
|
40
|
-
margin-bottom:
|
|
40
|
+
margin-bottom: 24px;
|
|
41
41
|
}
|
|
42
42
|
:host .zonos--shipping-method-title {
|
|
43
|
-
margin-bottom:
|
|
43
|
+
margin-bottom: 16px;
|
|
44
44
|
}
|
|
45
45
|
:host .zonos-shipping-rich-radio {
|
|
46
|
-
margin-bottom:
|
|
46
|
+
margin-bottom: 24px;
|
|
47
47
|
}
|
|
48
48
|
:host .zonos--group {
|
|
49
|
-
margin-bottom:
|
|
49
|
+
margin-bottom: 20px;
|
|
50
50
|
overflow: auto;
|
|
51
51
|
padding: 5px;
|
|
52
52
|
}
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
background: #d6d6d6;
|
|
67
67
|
}
|
|
68
68
|
:host .zonos--error-banner {
|
|
69
|
-
margin-bottom:
|
|
69
|
+
margin-bottom: 16px;
|
|
70
70
|
}
|
|
71
71
|
:host zonos-button {
|
|
72
72
|
box-shadow: 0 0 1px 0 var(--amino-gray-600);
|
|
@@ -76,12 +76,12 @@
|
|
|
76
76
|
display: flex;
|
|
77
77
|
justify-content: center;
|
|
78
78
|
bottom: 0;
|
|
79
|
-
margin-top:
|
|
79
|
+
margin-top: 12px;
|
|
80
80
|
background: var(--primary-color, var(--amino-gray-0));
|
|
81
81
|
}
|
|
82
82
|
:host .zonos--group-btn zonos-button {
|
|
83
83
|
width: 100%;
|
|
84
84
|
}
|
|
85
85
|
:host zonos-banner {
|
|
86
|
-
margin-top:
|
|
86
|
+
margin-top: 24px;
|
|
87
87
|
}
|
|
@@ -91,7 +91,7 @@ export class ZonosShipping {
|
|
|
91
91
|
if (this.showErrorBanner) {
|
|
92
92
|
this.showErrorBanner = !this.handleValidate();
|
|
93
93
|
}
|
|
94
|
-
return (h(Host, { key: '
|
|
94
|
+
return (h(Host, { key: 'c172dbd75de8a0d5d32d7e3e1814a124aaa05c05', class: "zonos--shipping zonos--elements" }, h("div", { key: '3dbbfadac7c8fb2bd4f3337206da535add7c4dd5', class: "zonos--group" }, h("zonos-text", { key: '93c2e9f56359a0c046e23a0e8c70af9af2dad3f4', class: "zonos--title", type: "semiBoldSubheader" }, translate('Delivery options')), this.showErrorBanner && !!((_a = this.serviceLevels) === null || _a === void 0 ? void 0 : _a.length) && (h("zonos-banner", { key: 'dc0aa4f036719929344071fe68dd8bf98d493642', class: "zonos--error-banner", intent: "error" }, translate('No shipping method selected'))), h("zonos-text", { key: '98dd599d8a87e3a350b928a5d0d9300aa197d731', class: "zonos--shipping-method-title", type: "semiBoldLabel" }, translate('Shipping method')), !((_b = this.serviceLevels) === null || _b === void 0 ? void 0 : _b.length) ? (h("zonos-banner", { bannerTitle: translate('No shipping methods found - please review and update your address details by selecting the "Customer" tab above. If you continue to encounter issues, contact our support team for assistance.'), intent: "error" })) : (h("zonos-shipping-rich-radio", { initialSelectedValue: (_c = this.selectedShippingMethod) === null || _c === void 0 ? void 0 : _c.value, items: this.serviceLevels, onRadioSelected: e => this.handleRadioSelected(e) })), h("div", { key: 'a59a2833967bde37cd2b31dca4209e8730ec92dc', class: "zonos--group-btn" }, h("zonos-button", { key: 'ef100ac737c28901f609b188bfa0b9e58d4363e8', backgroundColor: this.submitBtnColor, loading: this.continueLoading || this.isSelecting, onClick: () => this.continueClickHandler(), size: "lg",
|
|
95
95
|
// use primary type when on mobile mode
|
|
96
96
|
variant: this.submitBtnType }, translate('Go to payment'))))));
|
|
97
97
|
}
|
|
@@ -7,7 +7,7 @@ export class ZonosLink {
|
|
|
7
7
|
this.linkTitle = undefined;
|
|
8
8
|
}
|
|
9
9
|
render() {
|
|
10
|
-
return (h(Host, { key: '
|
|
10
|
+
return (h(Host, { key: 'af4c861f0a7f0a86c60c2ba6fe12a37721d50c1b', class: "zonos--elements" }, h("a", { key: 'b8fc607e0aa5269f2c3c1ccf51e233b52fac6693', href: this.href, rel: this.rel, target: this.target, title: this.linkTitle }, h("slot", { key: '98ebca9c8962143426fd1c88d9189b92fc402505' }))));
|
|
11
11
|
}
|
|
12
12
|
static get is() { return "zonos-link"; }
|
|
13
13
|
static get encapsulation() { return "shadow"; }
|
|
@@ -11,16 +11,16 @@ export class ZonosBadge {
|
|
|
11
11
|
this.rounded = false;
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
|
-
return (h(Host, { key: '
|
|
14
|
+
return (h(Host, { key: 'cc521e396f505c1f3a69d40b755585c1e439f120', class: classes(['zonos--elements zonos--badge']), style: {
|
|
15
15
|
'--font-family': zonosStoreFontFamily(),
|
|
16
|
-
} }, h("div", { key: '
|
|
16
|
+
} }, h("div", { key: '132ee2adfd3be7634d71df9ee1bf813fd56fe768', class: classes([
|
|
17
17
|
'zonos--badge-content',
|
|
18
18
|
this.badgeColor,
|
|
19
19
|
this.rounded && 'rounded',
|
|
20
20
|
this.iconRight && 'icon-right',
|
|
21
21
|
this.size,
|
|
22
22
|
this.bold && 'bold',
|
|
23
|
-
]) }, this.icon, h("zonos-text", { key: '
|
|
23
|
+
]) }, this.icon, h("zonos-text", { key: 'ebe7b204422dc3b0d9fe93d3ca9bd75ceddb9f37' }, h("slot", { key: 'e58b021307f14226ce15df693bedfa50f79f6d8a' })))));
|
|
24
24
|
}
|
|
25
25
|
static get is() { return "zonos-badge"; }
|
|
26
26
|
static get encapsulation() { return "shadow"; }
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
|
|
34
34
|
:host {
|
|
35
35
|
border-radius: var(--amino-radius-10);
|
|
36
|
-
padding:
|
|
36
|
+
padding: 16px;
|
|
37
37
|
background: var(--amino-gray-100);
|
|
38
38
|
}
|
|
39
39
|
:host .zonos--container {
|
|
@@ -48,12 +48,12 @@
|
|
|
48
48
|
justify-self: start;
|
|
49
49
|
}
|
|
50
50
|
:host .zonos--header-wrapper {
|
|
51
|
-
margin-top:
|
|
51
|
+
margin-top: 0px;
|
|
52
52
|
grid-area: header;
|
|
53
53
|
}
|
|
54
54
|
:host .zonos--content-wrapper {
|
|
55
55
|
grid-area: content;
|
|
56
|
-
margin-top:
|
|
56
|
+
margin-top: 4px;
|
|
57
57
|
}
|
|
58
58
|
|
|
59
59
|
:host(.info) {
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
background-color: var(--amino-surface-color);
|
|
47
47
|
justify-content: center;
|
|
48
48
|
border-radius: var(--amino-radius-10);
|
|
49
|
-
gap:
|
|
49
|
+
gap: 8px;
|
|
50
50
|
}
|
|
51
51
|
:host button {
|
|
52
52
|
width: 100%;
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
letter-spacing: normal;
|
|
69
69
|
cursor: pointer;
|
|
70
70
|
white-space: nowrap;
|
|
71
|
-
padding:
|
|
71
|
+
padding: 8px 24px;
|
|
72
72
|
color: var(--color, var(--amino-gray-1200));
|
|
73
73
|
margin: 1px;
|
|
74
74
|
/** Button size */
|
|
@@ -96,29 +96,29 @@
|
|
|
96
96
|
:host button.sm {
|
|
97
97
|
height: var(--amino-size-sm);
|
|
98
98
|
line-height: var(--amino-size-sm);
|
|
99
|
-
padding:
|
|
99
|
+
padding: 4px 8px;
|
|
100
100
|
}
|
|
101
101
|
:host button.sm:not(.has-content).has-icon {
|
|
102
|
-
padding: 0
|
|
102
|
+
padding: 0 4px;
|
|
103
103
|
}
|
|
104
104
|
:host button.md {
|
|
105
105
|
height: var(--amino-size-md);
|
|
106
106
|
line-height: var(--amino-size-md);
|
|
107
|
-
padding:
|
|
107
|
+
padding: 8px 16px;
|
|
108
108
|
}
|
|
109
109
|
:host button.md:not(.has-content).has-icon {
|
|
110
|
-
padding: 0
|
|
110
|
+
padding: 0 8px;
|
|
111
111
|
}
|
|
112
112
|
:host button.lg {
|
|
113
113
|
height: var(--amino-size-lg);
|
|
114
114
|
line-height: var(--amino-size-lg);
|
|
115
|
-
padding:
|
|
115
|
+
padding: 12px 24px;
|
|
116
116
|
}
|
|
117
117
|
:host button.lg:not(.has-content).has-icon {
|
|
118
|
-
padding: 0
|
|
118
|
+
padding: 0 16px;
|
|
119
119
|
}
|
|
120
120
|
:host button:not(.only-icon).has-icon {
|
|
121
|
-
gap:
|
|
121
|
+
gap: 8px;
|
|
122
122
|
}
|
|
123
123
|
@media (max-width: 400px) {
|
|
124
124
|
:host button:not(.only-icon).has-icon {
|
|
@@ -66,12 +66,12 @@ export class ZonosButton {
|
|
|
66
66
|
const spinnerColor = backgroundActualColor && isDarkColor(backgroundActualColor)
|
|
67
67
|
? 'white'
|
|
68
68
|
: 'black';
|
|
69
|
-
return (h(Host, { key: '
|
|
69
|
+
return (h(Host, { key: '105badc02dbdcd9c782942e2b71719cd0ae7444e', class: classes(['zonos--elements']), "data-theme": this.theme || buttonTheme, disabled: disabled, style: styles({
|
|
70
70
|
'--background-color': overrideBackground,
|
|
71
71
|
'--border-radius': borderStyle,
|
|
72
72
|
'--color': color,
|
|
73
73
|
'--font-family': zonosStoreFontFamily(),
|
|
74
|
-
}) }, h("button", { key: '
|
|
74
|
+
}) }, h("button", { key: 'c817b0eec6a0649e48155f284965412beb89a5f6', class: classes([
|
|
75
75
|
this.hasIcon && 'has-icon',
|
|
76
76
|
this.hasContent && 'has-content',
|
|
77
77
|
this.noBackground && 'no-background',
|
|
@@ -84,7 +84,7 @@ export class ZonosButton {
|
|
|
84
84
|
overrideBackground &&
|
|
85
85
|
variant === 'standard' &&
|
|
86
86
|
'override-background',
|
|
87
|
-
]), disabled: disabled }, this.loading && (h("div", { key: '
|
|
87
|
+
]), disabled: disabled }, this.loading && (h("div", { key: '85d6175e728b87276b95e831560530a3f7424a7c', class: "zonos--spinner-wrapper" }, h("zonos-spinner", { key: 'c65d771ca5182ac27da1769884dd8a4060037a1b', size: 16, spinnerColor: spinnerColor }))), !this.loading && !this.iconRight && this.icon, h("slot", { key: 'e3c6b155c4eb0f22aa9378586563face84ef8c2d', onSlotchange: this.handleSlotChange }), !this.loading && this.iconRight && this.icon)));
|
|
88
88
|
}
|
|
89
89
|
static get is() { return "zonos-button"; }
|
|
90
90
|
static get encapsulation() { return "shadow"; }
|
|
@@ -34,19 +34,19 @@
|
|
|
34
34
|
:host .styled-card {
|
|
35
35
|
border: var(--amino-border);
|
|
36
36
|
border-radius: var(--amino-radius-6);
|
|
37
|
-
padding: var(--spacing,
|
|
37
|
+
padding: var(--spacing, 24px);
|
|
38
38
|
text-align: left;
|
|
39
39
|
}
|
|
40
40
|
:host .styled-card hr {
|
|
41
|
-
margin-left: calc(var(--spacing,
|
|
42
|
-
margin-right: calc(var(--spacing,
|
|
41
|
+
margin-left: calc(var(--spacing, 24px) * -1);
|
|
42
|
+
margin-right: calc(var(--spacing, 24px) * -1);
|
|
43
43
|
}
|
|
44
44
|
:host .styled-card .card-header {
|
|
45
|
-
margin: calc(var(--spacing,
|
|
46
|
-
padding: var(--spacing,
|
|
45
|
+
margin: calc(var(--spacing, 24px) * -1);
|
|
46
|
+
padding: var(--spacing, 24px);
|
|
47
47
|
display: flex;
|
|
48
48
|
align-items: center;
|
|
49
|
-
margin-bottom: var(--spacing,
|
|
49
|
+
margin-bottom: var(--spacing, 24px);
|
|
50
50
|
border-bottom: var(--amino-border);
|
|
51
51
|
height: 65px;
|
|
52
52
|
line-height: 65px;
|
|
@@ -60,11 +60,11 @@
|
|
|
60
60
|
display: flex;
|
|
61
61
|
align-items: center;
|
|
62
62
|
justify-content: space-between;
|
|
63
|
-
margin: calc(var(--spacing,
|
|
64
|
-
padding: var(--spacing,
|
|
63
|
+
margin: calc(var(--spacing, 24px) * -1);
|
|
64
|
+
padding: var(--spacing, 24px);
|
|
65
65
|
border-top: var(--amino-border);
|
|
66
66
|
background: var(--amino-surface-color-secondary);
|
|
67
|
-
margin-top: var(--spacing,
|
|
67
|
+
margin-top: var(--spacing, 24px);
|
|
68
68
|
border-bottom-left-radius: var(--amino-radius-8);
|
|
69
69
|
border-bottom-right-radius: var(--amino-radius-8);
|
|
70
70
|
height: var(--footerHeight);
|
|
@@ -12,12 +12,12 @@ export class ZonosCard {
|
|
|
12
12
|
this.spacing = '24px';
|
|
13
13
|
}
|
|
14
14
|
render() {
|
|
15
|
-
return (h(Host, { key: '
|
|
15
|
+
return (h(Host, { key: '49d97d816bec7113ef6654cdf6f54598a17ebc00', style: {
|
|
16
16
|
'--font-family': zonosStoreFontFamily(),
|
|
17
|
-
} }, h("div", { key: '
|
|
17
|
+
} }, h("div", { key: '6c4e326aa182ab597b099ddaf228b8b83efc471f', class: classes(['styled-card']), style: { padding: this.spacing } }, this.label && (h("header", { key: 'eb96bb3be8a7f78cec51f0288ed7d78b4f598659', class: "card-header", style: { padding: this.spacing } }, h("zonos-text", { key: '11b6afcf37ec978d154990ab0a6b558d3b203126', type: "subheader" }, this.label), h("h-stack", { key: 'ae03b7569dc0f0e28fccd6c225305db778c6a21e', spacing: 8 }, this.actions))), h("slot", { key: 'b6224bc4d019e302b36a81c6c3a81e2bca4504b1' }), (this.footerActions || this.footerContent) && (h("footer", { key: 'f629f3d4914a92f400e7ccfd347e211bbf11035b', class: "card-footer", style: {
|
|
18
18
|
height: this.footerHeight ? `${this.footerHeight}px` : 'auto',
|
|
19
19
|
padding: this.spacing,
|
|
20
|
-
} }, h("div", { key: '
|
|
20
|
+
} }, h("div", { key: '696d8588e5de862f111c09b801d26f2625e4017f' }, this.footerContent), h("h-stack", { key: '3b2df392b850b27fcdc6e745a2d5093124562367', spacing: 8 }, this.footerActions))))));
|
|
21
21
|
}
|
|
22
22
|
static get is() { return "zonos-card"; }
|
|
23
23
|
static get encapsulation() { return "shadow"; }
|
|
@@ -27,14 +27,14 @@ export class ZonosCheckbox {
|
|
|
27
27
|
? 'var(--amino-gray-800)'
|
|
28
28
|
: 'var(--amino-gray-0)';
|
|
29
29
|
const borderStyle = getBorderRadius(this.borderStyle, '4px');
|
|
30
|
-
return (h(Host, { key: '
|
|
30
|
+
return (h(Host, { key: '1383262a5cca00ede5154fbdf37bbabb8cbcd501', class: classes(['zonos--elements zonos--checkbox']), style: {
|
|
31
31
|
'--background-color': backgroundColor,
|
|
32
32
|
'--border-radius': borderStyle,
|
|
33
33
|
'--font-family': zonosStoreFontFamily(),
|
|
34
34
|
'--size': `${this.size}px`,
|
|
35
|
-
} }, h("label", { key: '
|
|
35
|
+
} }, h("label", { key: 'aa01d0b1eebb53587f8d2d344e3b1d01a6a7a683', class: classes([this.isDisabled && 'disabled']) }, h("input", { key: '166eef6010570137110f8548c9eb76f32e5616e9', checked: this.isChecked, disabled: this.isDisabled, hidden: true, onChange: e => {
|
|
36
36
|
this.checkboxSelected.emit(e.target.checked);
|
|
37
|
-
}, type: "checkbox" }), h("span", { key: '
|
|
37
|
+
}, type: "checkbox" }), h("span", { key: 'd98289266cd4e78dd1e5c9b89019d0dd4927e4d0', class: "checkmark-container" }, h("svg", { key: 'e179fe12a77e0c7f1f48bc943ff472d0a75e05d5', class: "checkmark", color: checkmarkColor, fill: "none", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: '147acf112b6d28fa30af8e8c7fe8d7f998a507ab', "clip-rule": "evenodd", d: "M17.456 7.404a.75.75 0 0 1 .14 1.052l-6.5 8.5a.75.75 0 0 1-1.126.074l-4-4a.75.75 0 0 1 1.06-1.06l3.395 3.394 5.98-7.82a.75.75 0 0 1 1.05-.14Z", fill: "currentColor", "fill-rule": "evenodd" }))), this.label && (h("zonos-text", { key: 'b83bb5bb1881580be3d0ab3ed83157a0c0ce3f8e', size: this.fontSize }, this.label)))));
|
|
38
38
|
}
|
|
39
39
|
static get is() { return "zonos-checkbox"; }
|
|
40
40
|
static get encapsulation() { return "shadow"; }
|
|
@@ -63,17 +63,17 @@ export class ZonosCheckoutProgressTabs {
|
|
|
63
63
|
color: labelSelectedColor,
|
|
64
64
|
})
|
|
65
65
|
: labelSelectedColor;
|
|
66
|
-
return (h(Host, { key: '
|
|
66
|
+
return (h(Host, { key: '8b1ca1b840103589ca7929771a7b828928ef1a64', class: "zonos--elements", style: {
|
|
67
67
|
'--color': contrastLabelColor,
|
|
68
68
|
'--progress-percent': this.getTotalSuccessStep(),
|
|
69
|
-
} }, h("div", { key: '
|
|
69
|
+
} }, h("div", { key: 'b1bd07fcc96bd4e900ba945e9f57b27967d3a458', class: "zonos--tab-wrapper" }, Object.values(cartStore.tabItems).map((tab, index) => {
|
|
70
70
|
const isSelected = tab.value === selectedStep;
|
|
71
71
|
return (h("button", { class: classes([
|
|
72
72
|
'zonos--tab-item',
|
|
73
73
|
tab.value === selectedStep && 'selected',
|
|
74
74
|
tab.isDone && 'done',
|
|
75
75
|
]), disabled: !this.isTabClickable(tab.value), key: tab.value, onClick: () => (cartStore.step = tab.value) }, h("div", { class: "zonos--tab-index" }, h("zonos-text", { class: "zonos--tab-index-label", textColor: isSelected ? contrastLabelColor : 'gray-1200', type: "label" }, index + 1), h("zonos-icon", { class: "zonos--tab-index-done-icon", content: TabCheckmark, iconColor: isSelected ? contrastLabelColor : 'gray-1200' })), h("zonos-text", { textColor: isSelected ? contrastLabelColor : 'gray-1200', type: "label" }, translate(tab.label))));
|
|
76
|
-
})), h("div", { key: '
|
|
76
|
+
})), h("div", { key: 'f5b8b79050e1ebf23355161202a53854a0d9d08d', class: "zonos--tab-progress" }, h("div", { key: '5e9b4a726dd0cc6601a0097652b06759a7bba1fe', class: "zonos--progress-bar-fill" }))));
|
|
77
77
|
}
|
|
78
78
|
static get is() { return "zonos-checkout-progress-tabs"; }
|
|
79
79
|
static get encapsulation() { return "shadow"; }
|
|
@@ -42,10 +42,10 @@ export class ZonosCollapse {
|
|
|
42
42
|
// set overflow to hidden to prevent content from showing when collapsed
|
|
43
43
|
this.el.style.overflow = 'hidden';
|
|
44
44
|
}
|
|
45
|
-
return (h(Host, { key: '
|
|
45
|
+
return (h(Host, { key: 'ec163c2c73f38e479ba22bb3bea5dbe2f156170b', class: 'zonos--elements zonos--collapse', style: {
|
|
46
46
|
'--font-family': zonosStoreFontFamily(),
|
|
47
47
|
height: this.getElementHeight(),
|
|
48
|
-
} }, h("div", { key: '
|
|
48
|
+
} }, h("div", { key: 'ab8b73ff44968d8e2f3dcf75439b09da36fdfb22' }, h("iframe", { key: '0b6d3518382c4c17a6eacb07c1617e84c7301c39', class: "height-change-listener", tabindex: "-1", title: "collapse-height-change-listener" }), h("slot", { key: '752d9054dadf8905e22cfcca81bb966c2d3ce8d3' }))));
|
|
49
49
|
}
|
|
50
50
|
static get is() { return "zonos-collapse"; }
|
|
51
51
|
static get encapsulation() { return "shadow"; }
|
|
@@ -41,18 +41,18 @@
|
|
|
41
41
|
z-index: 11;
|
|
42
42
|
}
|
|
43
43
|
:host .zonos--country-select .zonos--country-select-input {
|
|
44
|
-
padding:
|
|
44
|
+
padding: 8px;
|
|
45
45
|
border-radius: var(--amino-radius-4);
|
|
46
46
|
border: var(--amino-border);
|
|
47
47
|
}
|
|
48
48
|
:host .zonos--country-select .zonos--country-select-content {
|
|
49
|
-
padding:
|
|
50
|
-
padding-top:
|
|
49
|
+
padding: 16px;
|
|
50
|
+
padding-top: 0px;
|
|
51
51
|
}
|
|
52
52
|
:host .zonos--country-select .zonos--country-select-country {
|
|
53
53
|
display: flex;
|
|
54
|
-
gap:
|
|
55
|
-
padding:
|
|
54
|
+
gap: 16px;
|
|
55
|
+
padding: 8px;
|
|
56
56
|
align-items: center;
|
|
57
57
|
border-radius: var(--amino-radius-4);
|
|
58
58
|
cursor: pointer;
|
|
@@ -35,9 +35,9 @@ export class ZonosCountrySelect {
|
|
|
35
35
|
const filteredCountries = this.inputValue
|
|
36
36
|
? fuseObject.map(country => country.item)
|
|
37
37
|
: countries.sort((a, b) => a.displayName.localeCompare(b.displayName));
|
|
38
|
-
return (h(Host, { key: '
|
|
38
|
+
return (h(Host, { key: '4ac4ac37704300786a6a4b3668b1608cf9c2fd96', class: "zonos--elements", style: {
|
|
39
39
|
'--font-family': zonosStoreFontFamily(),
|
|
40
|
-
} }, h("div", { key: '
|
|
40
|
+
} }, h("div", { key: 'aecc099069d42c73703f510b7021d1a0b988b810', class: "zonos--country-select" }, h("zonos-v-stack", { key: '358b01905c26ea03eef9c8a1551d1faa5c13b763', class: "zonos--country-select-header", spacing: 8 }, h("zonos-select-dialog-header", { key: 'a22baac4b445d2dee08be2cb9c31714b226d9327', handleOnClose: () => this.handleOnClose(), label: "Select a country" }, h("input", { key: '71515910f8bb3ef512c76a71246272f49506ee63', class: "zonos--country-select-input", onInput: this.handleInputChange, placeholder: "Search countries", value: this.inputValue }))), h("div", { key: '44d417c7859f4263c8286e60a2cc9bfbe7a6698d', class: "zonos--country-select-content" }, filteredCountries.map(country => (h("button", { class: "zonos--country-select-country", onClick: () => this.countrySelected(country.code) }, h("zonos-country-flag", { class: "zonos--country-flag", countryCode: country.code }), h("zonos-text", { textColor: "gray-800" }, country.displayName), country.code === localizationStore.selectedCountryCode && (h("zonos-icon", { content: GreenCheckDuotoneIcon, size: 20 })))))))));
|
|
41
41
|
}
|
|
42
42
|
static get is() { return "zonos-country-select"; }
|
|
43
43
|
static get encapsulation() { return "shadow"; }
|