@zonos/elements 1.3.125 → 1.3.126
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/index.cjs.js +7 -7
- package/dist/cjs/{isColorVariable-6f5a9608.js → isColorVariable-525dbfa7.js} +2 -0
- package/dist/cjs/zonos-address_7.cjs.entry.js +22 -22
- package/dist/cjs/zonos-badge.cjs.entry.js +5 -5
- package/dist/cjs/zonos-banner.cjs.entry.js +6 -6
- package/dist/cjs/zonos-button_3.cjs.entry.js +16 -16
- package/dist/cjs/zonos-card.cjs.entry.js +8 -8
- package/dist/cjs/zonos-cart-items_13.cjs.entry.js +32 -32
- package/dist/cjs/zonos-checkout.cjs.entry.js +10 -5
- package/dist/cjs/zonos-collapse.cjs.entry.js +4 -4
- 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-flag.cjs.entry.js +3 -3
- package/dist/cjs/zonos-country-select_4.cjs.entry.js +13 -13
- package/dist/cjs/zonos-hello-dialog.cjs.entry.js +1 -1
- package/dist/cjs/zonos-hello.cjs.entry.js +1 -1
- package/dist/cjs/zonos-input.cjs.entry.js +7 -7
- package/dist/cjs/zonos-language-select_2.cjs.entry.js +8 -8
- package/dist/cjs/zonos-link.cjs.entry.js +1 -1
- package/dist/cjs/zonos-logo.cjs.entry.js +6 -6
- package/dist/cjs/zonos-notification_3.cjs.entry.js +8 -7
- package/dist/cjs/zonos-shipping-rich-radio.cjs.entry.js +5 -5
- package/dist/cjs/zonos-text.cjs.entry.js +5 -5
- package/dist/cjs/zonos-toggle.cjs.entry.js +4 -4
- package/dist/cjs/zonos-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/zonos-v-stack.cjs.entry.js +4 -4
- package/dist/collection/components/checkout/zonos-checkout/zonos-address-update-dialog/zonos-address-display/zonos-address-display.css +2 -2
- package/dist/collection/components/checkout/zonos-checkout/zonos-address-update-dialog/zonos-address-form/zonos-address-form.css +2 -2
- package/dist/collection/components/checkout/zonos-checkout/zonos-address-update-dialog/zonos-address-update-dialog.css +2 -2
- package/dist/collection/components/checkout/zonos-checkout/zonos-cart-items/zonos-cart-items.css +2 -2
- package/dist/collection/components/checkout/zonos-checkout/zonos-cart-restricted-items/zonos-cart-restricted-items.css +2 -2
- 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 +3 -3
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-finish/zonos-checkout-finish.js +4 -4
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-footer/zonos-checkout-footer.css +2 -2
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-payment/zonos-checkout-payment.css +3 -3
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.css +5 -5
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.js +9 -4
- package/dist/collection/components/checkout/zonos-checkout/zonos-customer-info/zonos-customer-info.css +3 -3
- package/dist/collection/components/checkout/zonos-checkout/zonos-review/zonos-review.css +2 -2
- package/dist/collection/components/checkout/zonos-checkout/zonos-shipping/zonos-shipping.css +3 -3
- package/dist/collection/components/common/zonos-badge/zonos-badge.css +2 -2
- package/dist/collection/components/common/zonos-badge/zonos-badge.js +4 -4
- package/dist/collection/components/common/zonos-banner/zonos-banner.css +2 -2
- package/dist/collection/components/common/zonos-banner/zonos-banner.js +5 -5
- package/dist/collection/components/common/zonos-button/zonos-button.css +12 -12
- package/dist/collection/components/common/zonos-button/zonos-button.js +7 -7
- package/dist/collection/components/common/zonos-card/zonos-card.css +4 -4
- package/dist/collection/components/common/zonos-card/zonos-card.js +7 -7
- package/dist/collection/components/common/zonos-checkbox/zonos-checkbox.css +7 -7
- package/dist/collection/components/common/zonos-checkbox/zonos-checkbox.js +7 -7
- package/dist/collection/components/common/zonos-checkout-progress-tabs/zonos-checkout-progress-tabs.css +5 -5
- package/dist/collection/components/common/zonos-checkout-progress-tabs/zonos-checkout-progress-tabs.js +5 -5
- package/dist/collection/components/common/zonos-collapse/zonos-collapse.css +2 -2
- package/dist/collection/components/common/zonos-collapse/zonos-collapse.js +3 -3
- package/dist/collection/components/common/zonos-confirm-dialog/zonos-confirm-dialog.css +4 -4
- package/dist/collection/components/common/zonos-confirm-dialog/zonos-confirm-dialog.js +6 -6
- package/dist/collection/components/common/zonos-country-flag/zonos-country-flag.css +2 -2
- package/dist/collection/components/common/zonos-country-flag/zonos-country-flag.js +2 -2
- package/dist/collection/components/common/zonos-country-select/zonos-country-select.css +2 -2
- package/dist/collection/components/common/zonos-country-select/zonos-country-select.js +3 -3
- package/dist/collection/components/common/zonos-custom-message/zonos-custom-message.css +2 -2
- package/dist/collection/components/common/zonos-custom-message/zonos-custom-message.js +3 -3
- package/dist/collection/components/common/zonos-dialog/zonos-dialog.css +7 -7
- package/dist/collection/components/common/zonos-dialog/zonos-dialog.js +8 -8
- package/dist/collection/components/common/zonos-icon/zonos-icon.css +6 -6
- package/dist/collection/components/common/zonos-icon/zonos-icon.js +4 -4
- package/dist/collection/components/common/zonos-input/zonos-input.css +5 -5
- package/dist/collection/components/common/zonos-input/zonos-input.js +6 -6
- package/dist/collection/components/common/zonos-language-select/zonos-language-select.css +2 -2
- package/dist/collection/components/common/zonos-language-select/zonos-language-select.js +3 -3
- package/dist/collection/components/common/zonos-link/zonos-link.css +2 -2
- package/dist/collection/components/common/zonos-logo/zonos-logo.css +4 -4
- package/dist/collection/components/common/zonos-logo/zonos-logo.js +5 -5
- package/dist/collection/components/common/zonos-notification/zonos-notification.css +3 -3
- package/dist/collection/components/common/zonos-notification/zonos-notification.js +5 -3
- package/dist/collection/components/common/zonos-rest-state/zonos-rest-state.css +2 -2
- package/dist/collection/components/common/zonos-rest-state/zonos-rest-state.js +4 -4
- package/dist/collection/components/common/zonos-select-dialog-header/zonos-select-dialog-header.css +2 -2
- package/dist/collection/components/common/zonos-select-dialog-header/zonos-select-dialog-header.js +3 -3
- package/dist/collection/components/common/zonos-shipping-rich-radio/zonos-shipping-rich-radio.css +8 -8
- package/dist/collection/components/common/zonos-shipping-rich-radio/zonos-shipping-rich-radio.js +3 -3
- package/dist/collection/components/common/zonos-spinner/zonos-spinner.css +6 -6
- package/dist/collection/components/common/zonos-spinner/zonos-spinner.js +1 -1
- package/dist/collection/components/common/zonos-text/zonos-text.css +4 -4
- package/dist/collection/components/common/zonos-text/zonos-text.js +3 -3
- package/dist/collection/components/common/zonos-toggle/zonos-toggle.css +2 -2
- package/dist/collection/components/common/zonos-toggle/zonos-toggle.js +3 -3
- package/dist/collection/components/common/zonos-tooltip/zonos-tooltip.css +2 -2
- package/dist/collection/components/common/zonos-v-stack/zonos-v-stack.css +2 -2
- package/dist/collection/components/common/zonos-v-stack/zonos-v-stack.js +3 -3
- package/dist/collection/components/common/zonos-virtual-scroll/zonos-virtual-scroll.css +2 -2
- package/dist/collection/components/component-template/zonos-component/zonos-component.css +2 -2
- package/dist/collection/components/hello/zonos-hello/zonos-hello.css +2 -2
- package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog-footer/zonos-hello-dialog-footer.css +3 -3
- package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog-footer/zonos-hello-dialog-footer.js +3 -3
- package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog.css +2 -2
- package/dist/collection/components/main/zonos-controller.css +2 -2
- package/dist/collection/components/paypal/zonos-paypal-payment.css +2 -2
- package/dist/collection/components/stripe/zonos-address/zonos-address.css +2 -2
- package/dist/collection/components/stripe/zonos-link-authentication/zonos-link-authentication.css +2 -2
- package/dist/collection/components/stripe/zonos-payment/zonos-payment.css +2 -2
- package/dist/collection/components/utils/isColorVariable.js +2 -0
- package/dist/esm/index.js +7 -7
- package/dist/esm/{isColorVariable-82457bef.js → isColorVariable-0a94004f.js} +2 -0
- package/dist/esm/zonos-address_7.entry.js +22 -22
- package/dist/esm/zonos-badge.entry.js +5 -5
- package/dist/esm/zonos-banner.entry.js +6 -6
- package/dist/esm/zonos-button_3.entry.js +16 -16
- package/dist/esm/zonos-card.entry.js +8 -8
- package/dist/esm/zonos-cart-items_13.entry.js +32 -32
- package/dist/esm/zonos-checkout.entry.js +10 -5
- package/dist/esm/zonos-collapse.entry.js +4 -4
- package/dist/esm/zonos-component.entry.js +1 -1
- package/dist/esm/zonos-controller.entry.js +1 -1
- package/dist/esm/zonos-country-flag.entry.js +3 -3
- package/dist/esm/zonos-country-select_4.entry.js +13 -13
- package/dist/esm/zonos-hello-dialog.entry.js +1 -1
- package/dist/esm/zonos-hello.entry.js +1 -1
- package/dist/esm/zonos-input.entry.js +7 -7
- package/dist/esm/zonos-language-select_2.entry.js +8 -8
- package/dist/esm/zonos-link.entry.js +1 -1
- package/dist/esm/zonos-logo.entry.js +6 -6
- package/dist/esm/zonos-notification_3.entry.js +8 -7
- package/dist/esm/zonos-shipping-rich-radio.entry.js +5 -5
- package/dist/esm/zonos-text.entry.js +5 -5
- package/dist/esm/zonos-toggle.entry.js +4 -4
- package/dist/esm/zonos-tooltip.entry.js +1 -1
- package/dist/esm/zonos-v-stack.entry.js +4 -4
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/isColorVariable-0a94004f.js +1 -0
- package/dist/esm-es5/zonos-address_7.entry.js +1 -1
- package/dist/esm-es5/zonos-badge.entry.js +1 -1
- package/dist/esm-es5/zonos-banner.entry.js +1 -1
- package/dist/esm-es5/zonos-button_3.entry.js +1 -1
- package/dist/esm-es5/zonos-card.entry.js +1 -1
- package/dist/esm-es5/zonos-cart-items_13.entry.js +1 -1
- package/dist/esm-es5/zonos-checkout.entry.js +1 -1
- package/dist/esm-es5/zonos-collapse.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-flag.entry.js +1 -1
- package/dist/esm-es5/zonos-country-select_4.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-input.entry.js +1 -1
- package/dist/esm-es5/zonos-language-select_2.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_3.entry.js +1 -1
- package/dist/esm-es5/zonos-shipping-rich-radio.entry.js +1 -1
- package/dist/esm-es5/zonos-text.entry.js +1 -1
- package/dist/esm-es5/zonos-toggle.entry.js +1 -1
- package/dist/esm-es5/zonos-tooltip.entry.js +1 -1
- package/dist/esm-es5/zonos-v-stack.entry.js +1 -1
- package/dist/scripts/index.js +1 -1
- package/dist/scripts/loadZonos.js +1 -1
- package/dist/scripts/zonos.js +1 -1
- package/dist/zonos-elements/assets/RemoveIcon.svg +1 -1
- package/dist/zonos-elements/index.esm.js +1 -1
- package/dist/zonos-elements/p-0082eefd.system.entry.js +1 -0
- package/dist/zonos-elements/{p-f8c7bc1d.entry.js → p-054a24bf.entry.js} +1 -1
- package/dist/zonos-elements/p-0bc813a9.system.entry.js +1 -0
- package/dist/zonos-elements/p-0c6a933c.entry.js +1 -0
- package/dist/zonos-elements/p-1e4d8228.entry.js +1 -0
- package/dist/zonos-elements/p-2906956b.entry.js +1 -0
- package/dist/zonos-elements/{p-b2262a9c.entry.js → p-2cd05dd5.entry.js} +1 -1
- package/dist/zonos-elements/p-311f6702.entry.js +1 -0
- package/dist/zonos-elements/p-3b5f49f6.system.entry.js +1 -0
- package/dist/zonos-elements/p-4170b042.entry.js +1 -0
- package/dist/zonos-elements/p-42ff40eb.system.entry.js +1 -0
- package/dist/zonos-elements/p-4cd1e79c.system.entry.js +1 -0
- package/dist/zonos-elements/p-4fee6e7f.system.entry.js +1 -0
- package/dist/zonos-elements/p-5278717e.system.entry.js +1 -0
- package/dist/zonos-elements/p-5610934b.entry.js +1 -0
- package/dist/zonos-elements/p-566c5607.system.entry.js +1 -0
- package/dist/zonos-elements/p-57d93236.entry.js +1 -0
- package/dist/zonos-elements/p-5886302b.system.entry.js +1 -0
- package/dist/zonos-elements/p-5ac777a7.system.entry.js +1 -0
- package/dist/zonos-elements/p-6a2bed3e.system.entry.js +1 -0
- package/dist/zonos-elements/p-6b0a8709.system.entry.js +1 -0
- package/dist/zonos-elements/p-6c047faf.system.entry.js +1 -0
- package/dist/zonos-elements/p-6de5611e.entry.js +1 -0
- package/dist/zonos-elements/{p-66303c89.system.entry.js → p-798d715c.entry.js} +1 -1
- package/dist/zonos-elements/p-799d2a3f.system.entry.js +1 -0
- package/dist/zonos-elements/p-8915d6cf.system.entry.js +1 -0
- package/dist/zonos-elements/p-8b3d9796.system.entry.js +1 -0
- package/dist/zonos-elements/p-8ca3b73a.entry.js +1 -0
- package/dist/zonos-elements/p-9178fbe0.entry.js +1 -0
- package/dist/zonos-elements/p-970527fe.entry.js +1 -0
- package/dist/zonos-elements/p-989e6a4f.entry.js +1 -0
- package/dist/zonos-elements/p-a01635df.system.entry.js +1 -0
- package/dist/zonos-elements/p-a372a9a0.entry.js +1 -0
- package/dist/zonos-elements/p-ae393255.js +1 -0
- package/dist/zonos-elements/p-b6cd212c.system.entry.js +1 -0
- package/dist/zonos-elements/p-c5d1217f.system.js +1 -0
- package/dist/zonos-elements/p-c78dd680.system.js +1 -1
- package/dist/zonos-elements/p-c94d0f07.entry.js +1 -0
- package/dist/zonos-elements/p-cf7a5119.entry.js +1 -0
- package/dist/zonos-elements/p-d999e680.entry.js +1 -0
- package/dist/zonos-elements/p-dde44079.entry.js +1 -0
- package/dist/zonos-elements/p-df4ca0c4.system.entry.js +1 -0
- package/dist/zonos-elements/{p-148e7eb7.entry.js → p-e1e00336.entry.js} +1 -1
- package/dist/zonos-elements/p-e6fad32a.system.entry.js +1 -0
- package/dist/zonos-elements/p-e933cbf0.system.entry.js +1 -0
- package/dist/zonos-elements/p-ea6d75ad.entry.js +1 -0
- package/dist/zonos-elements/p-eb6d1e26.system.entry.js +1 -0
- package/dist/zonos-elements/p-f20f939e.entry.js +1 -0
- package/dist/zonos-elements/{p-988b6d65.system.js → p-f544a6b1.system.js} +1 -1
- package/dist/zonos-elements/p-f828bf3a.system.entry.js +1 -0
- package/dist/zonos-elements/p-fe899c47.entry.js +1 -0
- package/dist/zonos-elements/p-ff0a79e6.system.entry.js +1 -0
- package/dist/zonos-elements/zonos-elements.esm.js +1 -1
- package/package.json +1 -1
- package/dist/esm-es5/isColorVariable-82457bef.js +0 -1
- package/dist/zonos-elements/p-0cedb17a.system.entry.js +0 -1
- package/dist/zonos-elements/p-139fd9b9.entry.js +0 -1
- package/dist/zonos-elements/p-149612d6.entry.js +0 -1
- package/dist/zonos-elements/p-14c67ae2.system.entry.js +0 -1
- package/dist/zonos-elements/p-1aed6403.system.entry.js +0 -1
- package/dist/zonos-elements/p-1d1c3377.entry.js +0 -1
- package/dist/zonos-elements/p-1e4f7997.system.entry.js +0 -1
- package/dist/zonos-elements/p-21970d09.system.entry.js +0 -1
- package/dist/zonos-elements/p-26be7ea7.entry.js +0 -1
- package/dist/zonos-elements/p-28b79606.system.entry.js +0 -1
- package/dist/zonos-elements/p-30476a6b.entry.js +0 -1
- package/dist/zonos-elements/p-3e2aa5e2.entry.js +0 -1
- package/dist/zonos-elements/p-3f5b6e7a.system.entry.js +0 -1
- package/dist/zonos-elements/p-4161a0f2.system.entry.js +0 -1
- package/dist/zonos-elements/p-44991bcf.entry.js +0 -1
- package/dist/zonos-elements/p-46d96a0d.entry.js +0 -1
- package/dist/zonos-elements/p-4a107b6f.system.js +0 -1
- package/dist/zonos-elements/p-4a3c1449.system.entry.js +0 -1
- package/dist/zonos-elements/p-4c6033ed.system.entry.js +0 -1
- package/dist/zonos-elements/p-4c64f0ea.system.entry.js +0 -1
- package/dist/zonos-elements/p-55d26aaa.system.entry.js +0 -1
- package/dist/zonos-elements/p-56370c8b.system.entry.js +0 -1
- package/dist/zonos-elements/p-66eb66d1.js +0 -1
- package/dist/zonos-elements/p-6de38759.entry.js +0 -1
- package/dist/zonos-elements/p-7a4170ba.entry.js +0 -1
- package/dist/zonos-elements/p-80733970.system.entry.js +0 -1
- package/dist/zonos-elements/p-99ab4440.entry.js +0 -1
- package/dist/zonos-elements/p-9a89de05.system.entry.js +0 -1
- package/dist/zonos-elements/p-a435037c.entry.js +0 -1
- package/dist/zonos-elements/p-a7c24425.system.entry.js +0 -1
- package/dist/zonos-elements/p-ada1c7b6.entry.js +0 -1
- package/dist/zonos-elements/p-b2247065.entry.js +0 -1
- package/dist/zonos-elements/p-b31095d5.system.entry.js +0 -1
- package/dist/zonos-elements/p-bb53bce8.entry.js +0 -1
- package/dist/zonos-elements/p-d13f3ea0.system.entry.js +0 -1
- package/dist/zonos-elements/p-d3472a00.system.entry.js +0 -1
- package/dist/zonos-elements/p-d91da318.entry.js +0 -1
- package/dist/zonos-elements/p-daba3f99.system.entry.js +0 -1
- package/dist/zonos-elements/p-de2fe7f5.entry.js +0 -1
- package/dist/zonos-elements/p-e19034a3.entry.js +0 -1
- package/dist/zonos-elements/p-e46bd90a.entry.js +0 -1
- package/dist/zonos-elements/p-eeb2c2f4.system.entry.js +0 -1
- package/dist/zonos-elements/p-f0b32dd6.entry.js +0 -1
- package/dist/zonos-elements/p-fe855df9.system.entry.js +0 -1
- package/dist/zonos-elements/p-ff6e4ea6.entry.js +0 -1
- package/dist/zonos-elements/p-fff6e3d9.system.entry.js +0 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
:host {
|
|
2
|
-
font-family: var(--font-family, Inter), Inter;
|
|
2
|
+
font-family: var(--zonos--font-family, Inter), Inter;
|
|
3
3
|
display: block;
|
|
4
4
|
white-space: normal;
|
|
5
5
|
}
|
|
6
6
|
:host * {
|
|
7
|
-
font-family: var(--font-family, Inter), Inter;
|
|
7
|
+
font-family: var(--zonos--font-family, Inter), Inter;
|
|
8
8
|
}
|
|
9
9
|
:host img {
|
|
10
10
|
max-width: 100%;
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
gap: 12px;
|
|
85
85
|
bottom: 0;
|
|
86
86
|
padding-top: 12px;
|
|
87
|
-
background: var(--primary-color, var(--zonos-elements-gray-0));
|
|
87
|
+
background: var(--zonos--primary-color, var(--zonos-elements-gray-0));
|
|
88
88
|
}
|
|
89
89
|
:host .zonos--group-btn zonos-text {
|
|
90
90
|
text-align: center;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
:host {
|
|
2
|
-
font-family: var(--font-family, Inter), Inter;
|
|
2
|
+
font-family: var(--zonos--font-family, Inter), Inter;
|
|
3
3
|
display: block;
|
|
4
4
|
white-space: normal;
|
|
5
5
|
}
|
|
6
6
|
:host * {
|
|
7
|
-
font-family: var(--font-family, Inter), Inter;
|
|
7
|
+
font-family: var(--zonos--font-family, Inter), Inter;
|
|
8
8
|
}
|
|
9
9
|
:host img {
|
|
10
10
|
max-width: 100%;
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
display: flex;
|
|
54
54
|
height: 100%;
|
|
55
55
|
overflow: hidden;
|
|
56
|
-
border-radius: var(--border-radius, var(--zonos-elements-radius-10));
|
|
56
|
+
border-radius: var(--zonos--border-radius, var(--zonos-elements-radius-10));
|
|
57
57
|
}
|
|
58
58
|
:host .zonos--content .zonos--left,
|
|
59
59
|
:host .zonos--content .zonos--right {
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
padding: 32px;
|
|
62
62
|
}
|
|
63
63
|
:host .zonos--content .zonos--left {
|
|
64
|
-
background-color: var(--primary-color, var(--zonos-elements-gray-0));
|
|
64
|
+
background-color: var(--zonos--primary-color, var(--zonos-elements-gray-0));
|
|
65
65
|
border-right: 1px solid var(--zonos-elements-gray-200);
|
|
66
66
|
}
|
|
67
67
|
:host .zonos--content .zonos--right {
|
|
@@ -197,7 +197,7 @@
|
|
|
197
197
|
display: flex;
|
|
198
198
|
flex-direction: column;
|
|
199
199
|
border: var(--zonos-elements-border);
|
|
200
|
-
border-radius: var(--border-radius, var(--zonos-elements-radius-10));
|
|
200
|
+
border-radius: var(--zonos--border-radius, var(--zonos-elements-radius-10));
|
|
201
201
|
background-color: var(--zonos-elements-gray-50);
|
|
202
202
|
padding: 12px;
|
|
203
203
|
margin-top: 32px;
|
|
@@ -24,6 +24,7 @@ import { logError } from "../../utils/logging/logError";
|
|
|
24
24
|
import { sendErrorLog } from "../../utils/logging/sendErrorLog";
|
|
25
25
|
import { sendLoadCheckoutFacadeLog } from "../../utils/logging/sendLoadCheckoutFacadeLog";
|
|
26
26
|
import { mergeConfig } from "../../utils/mergeConfig";
|
|
27
|
+
import { styles } from "../../utils/styles";
|
|
27
28
|
import { submitGtag } from "../../utils/submitGtag";
|
|
28
29
|
import { setupCartData } from "../../../scripts/cart/_setupCartData";
|
|
29
30
|
import { checkoutHiddenBtnSelector, domesticRedirectedBtnSelector, } from "../../../types/checkout/CheckoutConfig";
|
|
@@ -697,10 +698,14 @@ export class ZonosCheckout {
|
|
|
697
698
|
return (h("zonos-rest-state", { class: "zonos--session-timeout", restStateSubtitle: translate('Your checkout session has expired. Please reload the page to continue.'), restStateTitle: translate('Session timed out'), restStateType: 'Warning' }, h("zonos-button", { onClick: () => this.reloadCheckoutSession(), variant: "primary" }, translate('Reload'))));
|
|
698
699
|
}
|
|
699
700
|
return (h("div", { class: 'zonos--content', style: {
|
|
700
|
-
'--border-radius': getBorderRadius({
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
} },
|
|
701
|
+
'--zonos--border-radius': getBorderRadius({
|
|
702
|
+
overrideBorderStyle: style,
|
|
703
|
+
}),
|
|
704
|
+
} }, cartStore.step !== 'finish' && cartStore.step !== 'error' && (h(Fragment, null, h("div", { class: "zonos--left", "data-theme": leftSideTheme, style: styles({
|
|
705
|
+
'--zonos--primary-color': !this.isMobile
|
|
706
|
+
? colorPrimary
|
|
707
|
+
: undefined,
|
|
708
|
+
}) }, !this.isMobile && renderTopHeader(), cartStore.step === 'customer-info' && (h("zonos-customer-info", { continueLoading: this.submitLoading, defaultAddress: this.defaultAddress, isMobile: this.isMobile, onContinueClicked: () => this.handleCustomerInfoContinue(), submitBtnColor: submitButtonColor })), cartStore.step === 'shipping' && (h("zonos-shipping", { continueLoading: this.submitLoading, onContinueClicked: () => this.handleShippingContinue(), submitBtnColor: submitButtonColor })), cartStore.step === 'payment' && (h("zonos-checkout-payment", { continueLoading: this.submitLoading, onContinueClicked: async () => {
|
|
704
709
|
await this.handleStripePaymentContinue();
|
|
705
710
|
}, submitBtnColor: submitButtonColor }))), h("div", { class: "zonos--right", "data-theme": rightSideTheme }, this.isMobile && renderTopHeader(), h("div", { class: "zonos--right-actions" }, window.Zonos.showBaseForeign && (h("zonos-currency-toggle", null)), !this.isLegacyCheckout && (h("zonos-button", { class: "zonos--close-button", icon: h("zonos-icon", { "aria-label": "Close checkout dialog", content: RemoveIcon }), noBackground: true, onClick: () => this.closeDialogHandler() }))), h("div", { class: "flex--wrapper" }, h("div", { class: "zonos--wrapper" }, h("zonos-review", { collapsed: this.collapseReviewMobile, mobile: this.isMobile, onClick: () => {
|
|
706
711
|
// do nothing if it's not mobile
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
:host {
|
|
2
|
-
font-family: var(--font-family, Inter), Inter;
|
|
2
|
+
font-family: var(--zonos--font-family, Inter), Inter;
|
|
3
3
|
display: block;
|
|
4
4
|
white-space: normal;
|
|
5
5
|
}
|
|
6
6
|
:host * {
|
|
7
|
-
font-family: var(--font-family, Inter), Inter;
|
|
7
|
+
font-family: var(--zonos--font-family, Inter), Inter;
|
|
8
8
|
}
|
|
9
9
|
:host img {
|
|
10
10
|
max-width: 100%;
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
bottom: -5px;
|
|
86
86
|
padding-top: 8px;
|
|
87
87
|
margin-top: 12px;
|
|
88
|
-
background: var(--primary-color, var(--zonos-elements-gray-0));
|
|
88
|
+
background: var(--zonos--primary-color, var(--zonos-elements-gray-0));
|
|
89
89
|
}
|
|
90
90
|
:host .zonos--group-btn zonos-button {
|
|
91
91
|
width: 100%;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
:host {
|
|
2
|
-
font-family: var(--font-family, Inter), Inter;
|
|
2
|
+
font-family: var(--zonos--font-family, Inter), Inter;
|
|
3
3
|
display: block;
|
|
4
4
|
white-space: normal;
|
|
5
5
|
}
|
|
6
6
|
:host * {
|
|
7
|
-
font-family: var(--font-family, Inter), Inter;
|
|
7
|
+
font-family: var(--zonos--font-family, Inter), Inter;
|
|
8
8
|
}
|
|
9
9
|
:host img {
|
|
10
10
|
max-width: 100%;
|
package/dist/collection/components/checkout/zonos-checkout/zonos-shipping/zonos-shipping.css
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
:host {
|
|
2
|
-
font-family: var(--font-family, Inter), Inter;
|
|
2
|
+
font-family: var(--zonos--font-family, Inter), Inter;
|
|
3
3
|
display: block;
|
|
4
4
|
white-space: normal;
|
|
5
5
|
}
|
|
6
6
|
:host * {
|
|
7
|
-
font-family: var(--font-family, Inter), Inter;
|
|
7
|
+
font-family: var(--zonos--font-family, Inter), Inter;
|
|
8
8
|
}
|
|
9
9
|
:host img {
|
|
10
10
|
max-width: 100%;
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
bottom: 0;
|
|
80
80
|
z-index: 1;
|
|
81
81
|
margin-top: 12px;
|
|
82
|
-
background: var(--primary-color, var(--zonos-elements-gray-0));
|
|
82
|
+
background: var(--zonos--primary-color, var(--zonos-elements-gray-0));
|
|
83
83
|
}
|
|
84
84
|
:host .zonos--group-btn zonos-button {
|
|
85
85
|
width: 100%;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
:host {
|
|
2
|
-
font-family: var(--font-family, Inter), Inter;
|
|
2
|
+
font-family: var(--zonos--font-family, Inter), Inter;
|
|
3
3
|
display: block;
|
|
4
4
|
white-space: normal;
|
|
5
5
|
}
|
|
6
6
|
:host * {
|
|
7
|
-
font-family: var(--font-family, Inter), Inter;
|
|
7
|
+
font-family: var(--zonos--font-family, Inter), Inter;
|
|
8
8
|
}
|
|
9
9
|
:host img {
|
|
10
10
|
max-width: 100%;
|
|
@@ -15,16 +15,16 @@ export class ZonosBadge {
|
|
|
15
15
|
this.dismissHandler = undefined;
|
|
16
16
|
}
|
|
17
17
|
render() {
|
|
18
|
-
return (h(Host, { key: '
|
|
19
|
-
'--font-family': zonosStoreFontFamily(),
|
|
20
|
-
} }, h("div", { key: '
|
|
18
|
+
return (h(Host, { key: 'ef7686107447f0d7b0fb090d1995ea66ab9d9147', class: classes(['zonos--elements zonos--badge']), style: {
|
|
19
|
+
'--zonos--font-family': zonosStoreFontFamily(),
|
|
20
|
+
} }, h("div", { key: '78dd37a1413c192fba84ba17e068cdd07bc54db1', class: classes([
|
|
21
21
|
'zonos--badge-content',
|
|
22
22
|
this.badgeColor,
|
|
23
23
|
this.rounded && 'rounded',
|
|
24
24
|
this.iconRight && 'icon-right',
|
|
25
25
|
this.size,
|
|
26
26
|
this.bold && 'bold',
|
|
27
|
-
]) }, this.icon, h("zonos-text", { key: '
|
|
27
|
+
]) }, this.icon, h("zonos-text", { key: '10ee8b496e4db3d9550d9e46859446ba4c91a823', textColor: `${this.badgeColor}-800` }, h("slot", { key: 'c9341850364d8e289d7c3569ebb41e37e2e1d99b' })), this.dismissHandler && (h("zonos-icon", { key: '85f69b0f3c31ce57978a078eb96ee856da1555a2', "aria-label": "Remove action", class: "zonos--badge-dismiss", content: RemoveLineIcon, onClick: () => { var _a; return (_a = this.dismissHandler) === null || _a === void 0 ? void 0 : _a.call(this); } })))));
|
|
28
28
|
}
|
|
29
29
|
static get is() { return "zonos-badge"; }
|
|
30
30
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
:host {
|
|
2
|
-
font-family: var(--font-family, Inter), Inter;
|
|
2
|
+
font-family: var(--zonos--font-family, Inter), Inter;
|
|
3
3
|
display: block;
|
|
4
4
|
white-space: normal;
|
|
5
5
|
}
|
|
6
6
|
:host * {
|
|
7
|
-
font-family: var(--font-family, Inter), Inter;
|
|
7
|
+
font-family: var(--zonos--font-family, Inter), Inter;
|
|
8
8
|
}
|
|
9
9
|
:host img {
|
|
10
10
|
max-width: 100%;
|
|
@@ -29,31 +29,31 @@ export class ZonosBanner {
|
|
|
29
29
|
switch (this.intent) {
|
|
30
30
|
case 'error':
|
|
31
31
|
return (h(Host, { class: baseClass, style: {
|
|
32
|
-
'--font-family': font,
|
|
32
|
+
'--zonos--font-family': font,
|
|
33
33
|
} }, renderContent({
|
|
34
34
|
color: 'red',
|
|
35
35
|
})));
|
|
36
36
|
case 'info':
|
|
37
37
|
return (h(Host, { class: baseClass, style: {
|
|
38
|
-
'--font-family': font,
|
|
38
|
+
'--zonos--font-family': font,
|
|
39
39
|
} }, renderContent({
|
|
40
40
|
color: 'blue',
|
|
41
41
|
})));
|
|
42
42
|
case 'success':
|
|
43
43
|
return (h(Host, { class: baseClass, style: {
|
|
44
|
-
'--font-family': font,
|
|
44
|
+
'--zonos--font-family': font,
|
|
45
45
|
} }, renderContent({
|
|
46
46
|
color: 'green',
|
|
47
47
|
})));
|
|
48
48
|
case 'warning':
|
|
49
49
|
return (h(Host, { class: baseClass, style: {
|
|
50
|
-
'--font-family': font,
|
|
50
|
+
'--zonos--font-family': font,
|
|
51
51
|
} }, renderContent({
|
|
52
52
|
color: 'orange',
|
|
53
53
|
})));
|
|
54
54
|
default:
|
|
55
55
|
return (h(Host, { class: baseClass, style: {
|
|
56
|
-
'--font-family': font,
|
|
56
|
+
'--zonos--font-family': font,
|
|
57
57
|
} }, renderContent({
|
|
58
58
|
color: 'gray',
|
|
59
59
|
})));
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
:host {
|
|
2
|
-
font-family: var(--font-family, Inter), Inter;
|
|
2
|
+
font-family: var(--zonos--font-family, Inter), Inter;
|
|
3
3
|
display: block;
|
|
4
4
|
white-space: normal;
|
|
5
5
|
}
|
|
6
6
|
:host * {
|
|
7
|
-
font-family: var(--font-family, Inter), Inter;
|
|
7
|
+
font-family: var(--zonos--font-family, Inter), Inter;
|
|
8
8
|
}
|
|
9
9
|
:host img {
|
|
10
10
|
max-width: 100%;
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
|
|
34
34
|
:host {
|
|
35
35
|
display: inline-flex;
|
|
36
|
-
border-radius: var(--border-radius, var(--zonos-elements-radius-10));
|
|
36
|
+
border-radius: var(--zonos--border-radius, var(--zonos-elements-radius-10));
|
|
37
37
|
}
|
|
38
38
|
:host .zonos--spinner-wrapper {
|
|
39
39
|
position: absolute;
|
|
@@ -60,16 +60,16 @@
|
|
|
60
60
|
background-color: var(--zonos-elements-surface-color);
|
|
61
61
|
border: none;
|
|
62
62
|
outline: 1px solid var(--zonos-elements-surface-color);
|
|
63
|
-
border-radius: var(--border-radius, var(--zonos-elements-radius-10));
|
|
63
|
+
border-radius: var(--zonos--border-radius, var(--zonos-elements-radius-10));
|
|
64
64
|
transition: var(--zonos-elements-transition);
|
|
65
65
|
font-weight: 500;
|
|
66
66
|
user-select: none;
|
|
67
|
-
font-family: var(--font-family, Inter), Inter;
|
|
67
|
+
font-family: var(--zonos--font-family, Inter), Inter;
|
|
68
68
|
letter-spacing: normal;
|
|
69
69
|
cursor: pointer;
|
|
70
70
|
white-space: nowrap;
|
|
71
71
|
padding: 8px 24px;
|
|
72
|
-
color: var(--color, var(--zonos-elements-gray-1000));
|
|
72
|
+
color: var(--zonos--color, var(--zonos-elements-gray-1000));
|
|
73
73
|
margin: 1px;
|
|
74
74
|
/** Button size */
|
|
75
75
|
}
|
|
@@ -97,10 +97,10 @@
|
|
|
97
97
|
}
|
|
98
98
|
:host button[disabled] {
|
|
99
99
|
cursor: not-allowed;
|
|
100
|
-
background-color: var(--background-color, var(--zonos-elements-gray-200));
|
|
100
|
+
background-color: var(--zonos--background-color, var(--zonos-elements-gray-200));
|
|
101
101
|
}
|
|
102
102
|
:host button[disabled] .zonos--spinner-wrapper {
|
|
103
|
-
background-color: var(--background-color, var(--zonos-elements-gray-200));
|
|
103
|
+
background-color: var(--zonos--background-color, var(--zonos-elements-gray-200));
|
|
104
104
|
}
|
|
105
105
|
:host button:active {
|
|
106
106
|
transform: scale(0.99);
|
|
@@ -138,9 +138,9 @@
|
|
|
138
138
|
}
|
|
139
139
|
}
|
|
140
140
|
:host button.override-background {
|
|
141
|
-
background-color: var(--background-color, var(--zonos-elements-gray-0));
|
|
142
|
-
color: var(--color, var(--zonos-elements-gray-1000));
|
|
143
|
-
outline: 1px solid var(--background-color, var(--zonos-elements-gray-0));
|
|
141
|
+
background-color: var(--zonos--background-color, var(--zonos-elements-gray-0));
|
|
142
|
+
color: var(--zonos--color, var(--zonos-elements-gray-1000));
|
|
143
|
+
outline: 1px solid var(--zonos--background-color, var(--zonos-elements-gray-0));
|
|
144
144
|
}
|
|
145
145
|
:host button.override-background:disabled {
|
|
146
146
|
opacity: 0.8;
|
|
@@ -236,7 +236,7 @@
|
|
|
236
236
|
}
|
|
237
237
|
:host button:not(.override-background).subtle {
|
|
238
238
|
background: transparent;
|
|
239
|
-
color: var(--color);
|
|
239
|
+
color: var(--zonos--color, var(--zonos-elements-gray-1000));
|
|
240
240
|
outline: none;
|
|
241
241
|
}
|
|
242
242
|
:host button:not(.override-background).subtle:not([disabled]):hover {
|
|
@@ -121,12 +121,12 @@ export class ZonosButton {
|
|
|
121
121
|
const borderStyle = getBorderRadius({
|
|
122
122
|
overrideBorderStyle: this.borderStyle,
|
|
123
123
|
});
|
|
124
|
-
return (h(Host, { key: '
|
|
125
|
-
'--background-color': backgroundColor,
|
|
126
|
-
'--border-radius': borderStyle,
|
|
127
|
-
'--color': color,
|
|
128
|
-
'--font-family': zonosStoreFontFamily(),
|
|
129
|
-
}) }, h("button", { key: '
|
|
124
|
+
return (h(Host, { key: 'a862db0549563c67361d2f93baf6bed668a9a561', class: classes(['zonos--elements']), "data-theme": this.theme || buttonTheme, disabled: disabled, style: styles({
|
|
125
|
+
'--zonos--background-color': backgroundColor,
|
|
126
|
+
'--zonos--border-radius': borderStyle,
|
|
127
|
+
'--zonos--color': color,
|
|
128
|
+
'--zonos--font-family': zonosStoreFontFamily(),
|
|
129
|
+
}) }, h("button", { key: 'e848c5d69708b8eee9a2be1c1649eb0f9c85dae0', class: classes([
|
|
130
130
|
this.hasIcon && 'has-icon',
|
|
131
131
|
this.hasContent && 'has-content',
|
|
132
132
|
this.noBackground && 'no-background',
|
|
@@ -141,7 +141,7 @@ export class ZonosButton {
|
|
|
141
141
|
backgroundColor && variant === 'standard' && 'override-background',
|
|
142
142
|
]), disabled: disabled, style: {
|
|
143
143
|
justifyContent: this.justifyContent,
|
|
144
|
-
} }, this.loading && (h("div", { key: '
|
|
144
|
+
} }, this.loading && (h("div", { key: '3d6af592a449d698a205bb327ee3f29b57a406ff', class: "zonos--spinner-wrapper" }, h("zonos-spinner", { key: 'c4e28edbbed061e57ad6c6f532887b74441e4acc', size: 16, spinnerColor: spinnerColor }))), !this.loading && !this.iconRight && this.icon, h("slot", { key: 'dbbf5f30085d61932505f8724473bb61dd67c7b7', onSlotchange: this.handleSlotChange }), !this.loading && this.iconRight && this.icon)));
|
|
145
145
|
}
|
|
146
146
|
static get is() { return "zonos-button"; }
|
|
147
147
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
:host {
|
|
2
|
-
font-family: var(--font-family, Inter), Inter;
|
|
2
|
+
font-family: var(--zonos--font-family, Inter), Inter;
|
|
3
3
|
display: block;
|
|
4
4
|
white-space: normal;
|
|
5
5
|
}
|
|
6
6
|
:host * {
|
|
7
|
-
font-family: var(--font-family, Inter), Inter;
|
|
7
|
+
font-family: var(--zonos--font-family, Inter), Inter;
|
|
8
8
|
}
|
|
9
9
|
:host img {
|
|
10
10
|
max-width: 100%;
|
|
@@ -33,10 +33,10 @@
|
|
|
33
33
|
|
|
34
34
|
:host .styled-card {
|
|
35
35
|
border: var(--zonos-elements-border);
|
|
36
|
-
border-radius: var(--border-radius, var(--zonos-elements-radius-6));
|
|
36
|
+
border-radius: var(--zonos--border-radius, var(--zonos-elements-radius-6));
|
|
37
37
|
padding: var(--spacing, 24px);
|
|
38
38
|
text-align: left;
|
|
39
|
-
background-color: var(--background-color);
|
|
39
|
+
background-color: var(--zonos--background-color);
|
|
40
40
|
overflow: hidden;
|
|
41
41
|
}
|
|
42
42
|
:host .styled-card hr {
|
|
@@ -22,16 +22,16 @@ export class ZonosCard {
|
|
|
22
22
|
customRoundRadius: `${this.borderRadius}px`,
|
|
23
23
|
overrideBorderStyle: 'ROUNDED',
|
|
24
24
|
});
|
|
25
|
-
return (h(Host, { key: '
|
|
26
|
-
'--font-family': zonosStoreFontFamily(),
|
|
27
|
-
} }, h("div", { key: '
|
|
28
|
-
'--background-color': backgroundColor,
|
|
29
|
-
'--border-radius': borderRadius,
|
|
25
|
+
return (h(Host, { key: '84d131edbe30a0ce9869351c197c438082bcadac', style: {
|
|
26
|
+
'--zonos--font-family': zonosStoreFontFamily(),
|
|
27
|
+
} }, h("div", { key: 'c1ab46423b1716badf577b51c1e10a59f6d857c7', class: classes(['styled-card']), style: {
|
|
28
|
+
'--zonos--background-color': backgroundColor,
|
|
29
|
+
'--zonos--border-radius': borderRadius,
|
|
30
30
|
padding: this.spacing,
|
|
31
|
-
} }, this.label && (h("header", { key: '
|
|
31
|
+
} }, this.label && (h("header", { key: '3f86015a24d5d86f41955c57a96c1051aa8cd0fb', class: "card-header", style: { padding: this.spacing } }, h("zonos-text", { key: '697b450d8c77935d602a2c6fc11279c38a558f8e', type: "subheader" }, this.label), h("h-stack", { key: 'ef44ce7c7d1fd3d8f683656c2156f0b24232b6c0', spacing: 8 }, this.actions))), h("slot", { key: '1e5bc6315fcc134e5a7c608547ea2f481ecb91df' }), (this.footerActions || this.footerContent) && (h("footer", { key: 'aabb9ec4c7f1122662ac13655caa4cd3557266cc', class: "card-footer", style: {
|
|
32
32
|
height: this.footerHeight ? `${this.footerHeight}px` : 'auto',
|
|
33
33
|
padding: this.spacing,
|
|
34
|
-
} }, h("div", { key: '
|
|
34
|
+
} }, h("div", { key: 'c92b803303485ce25b66dad4237411e3c4d5c15c' }, this.footerContent), h("h-stack", { key: '12c395e0b5c537f991d6814352f62d3da15432a1', spacing: 8 }, this.footerActions))))));
|
|
35
35
|
}
|
|
36
36
|
static get is() { return "zonos-card"; }
|
|
37
37
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
:host {
|
|
2
|
-
font-family: var(--font-family, Inter), Inter;
|
|
2
|
+
font-family: var(--zonos--font-family, Inter), Inter;
|
|
3
3
|
display: block;
|
|
4
4
|
white-space: normal;
|
|
5
5
|
}
|
|
6
6
|
:host * {
|
|
7
|
-
font-family: var(--font-family, Inter), Inter;
|
|
7
|
+
font-family: var(--zonos--font-family, Inter), Inter;
|
|
8
8
|
}
|
|
9
9
|
:host img {
|
|
10
10
|
max-width: 100%;
|
|
@@ -58,12 +58,12 @@
|
|
|
58
58
|
opacity: 0;
|
|
59
59
|
}
|
|
60
60
|
:host .checkmark-container {
|
|
61
|
-
height: var(--size);
|
|
62
|
-
width: var(--size);
|
|
61
|
+
height: var(--zonos--size);
|
|
62
|
+
width: var(--zonos--size);
|
|
63
63
|
background-color: transparent;
|
|
64
64
|
border: 1.5px solid var(--zonos-elements-gray-400);
|
|
65
65
|
position: relative;
|
|
66
|
-
border-radius: var(--border-radius, var(--zonos-elements-radius-4));
|
|
66
|
+
border-radius: var(--zonos--border-radius, var(--zonos-elements-radius-4));
|
|
67
67
|
}
|
|
68
68
|
:host .checkmark {
|
|
69
69
|
opacity: 0;
|
|
@@ -75,8 +75,8 @@
|
|
|
75
75
|
width: calc(100% + 3px);
|
|
76
76
|
transition: 0.3s all cubic-bezier(0.175, 0.885, 0.32, 1.275);
|
|
77
77
|
transform: scale(0.4);
|
|
78
|
-
background-color: var(--background-color);
|
|
79
|
-
border-radius: var(--border-radius, var(--zonos-elements-radius-4));
|
|
78
|
+
background-color: var(--zonos--background-color);
|
|
79
|
+
border-radius: var(--zonos--border-radius, var(--zonos-elements-radius-4));
|
|
80
80
|
}
|
|
81
81
|
:host input[type=checkbox]:checked ~ .checkmark-container .checkmark {
|
|
82
82
|
opacity: 1;
|
|
@@ -36,14 +36,14 @@ export class ZonosCheckbox {
|
|
|
36
36
|
customRoundRadius: '4px',
|
|
37
37
|
overrideBorderStyle: this.borderStyle,
|
|
38
38
|
});
|
|
39
|
-
return (h(Host, { key: '
|
|
40
|
-
'--background-color': backgroundColor,
|
|
41
|
-
'--border-radius': borderStyle,
|
|
42
|
-
'--font-family': zonosStoreFontFamily(),
|
|
43
|
-
'--size': `${this.size}px`,
|
|
44
|
-
} }, h("label", { key: '
|
|
39
|
+
return (h(Host, { key: 'a863e05a6e647b9ea8ef8902a4c618f6998894cd', class: classes(['zonos--elements zonos--checkbox']), style: {
|
|
40
|
+
'--zonos--background-color': backgroundColor,
|
|
41
|
+
'--zonos--border-radius': borderStyle,
|
|
42
|
+
'--zonos--font-family': zonosStoreFontFamily(),
|
|
43
|
+
'--zonos--size': `${this.size}px`,
|
|
44
|
+
} }, h("label", { key: '2b84b59d106661937c10e76ccb1c05f887c657ec', class: classes([this.isDisabled && 'disabled']) }, h("input", { key: '1dc2037bf17c37c8f762f2ac28509e3d607c9e61', checked: this.isChecked, disabled: this.isDisabled, hidden: true, onChange: e => {
|
|
45
45
|
this.checkboxSelected.emit(e.target.checked);
|
|
46
|
-
}, type: "checkbox" }), h("span", { key: '
|
|
46
|
+
}, type: "checkbox" }), h("span", { key: '75175e238cbe841c11f43392797a2126d1cd65a8', class: "checkmark-container" }, h("svg", { key: '5e853c2248dd1777f0b4029a1b7beeb0fb8a0e1c', class: "checkmark", color: checkmarkColor, fill: "none", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: '367494224e826b903acb560cbb93f532502aa4d2', "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: '573cfdccbd768246996bff4eaed8064b67e90009', size: this.fontSize }, this.label)))));
|
|
47
47
|
}
|
|
48
48
|
static get is() { return "zonos-checkbox"; }
|
|
49
49
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
:host {
|
|
2
|
-
font-family: var(--font-family, Inter), Inter;
|
|
2
|
+
font-family: var(--zonos--font-family, Inter), Inter;
|
|
3
3
|
display: block;
|
|
4
4
|
white-space: normal;
|
|
5
5
|
}
|
|
6
6
|
:host * {
|
|
7
|
-
font-family: var(--font-family, Inter), Inter;
|
|
7
|
+
font-family: var(--zonos--font-family, Inter), Inter;
|
|
8
8
|
}
|
|
9
9
|
:host img {
|
|
10
10
|
max-width: 100%;
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
top: 50%;
|
|
86
86
|
}
|
|
87
87
|
:host .zonos--tab-item.selected zonos-text {
|
|
88
|
-
color: var(--color);
|
|
88
|
+
color: var(--zonos--color);
|
|
89
89
|
}
|
|
90
90
|
:host .zonos--tab-progress {
|
|
91
91
|
width: 100%;
|
|
@@ -99,8 +99,8 @@
|
|
|
99
99
|
}
|
|
100
100
|
:host .zonos--tab-progress .zonos--progress-bar-fill {
|
|
101
101
|
border-radius: 10px;
|
|
102
|
-
background-color: var(--color);
|
|
102
|
+
background-color: var(--zonos--color);
|
|
103
103
|
height: 100%;
|
|
104
|
-
width: var(--progress-percent);
|
|
104
|
+
width: var(--zonos--progress-percent);
|
|
105
105
|
transition: width 0.5s ease-in-out;
|
|
106
106
|
}
|
|
@@ -64,17 +64,17 @@ export class ZonosCheckoutProgressTabs {
|
|
|
64
64
|
color: labelSelectedColor,
|
|
65
65
|
})
|
|
66
66
|
: labelSelectedColor;
|
|
67
|
-
return (h(Host, { key: '
|
|
68
|
-
'--color': contrastLabelColor,
|
|
69
|
-
'--progress-percent': this.getTotalSuccessStep(),
|
|
70
|
-
} }, h("div", { key: '
|
|
67
|
+
return (h(Host, { key: '2b92000ea02fe5efcd8c8b4cab82253344fb9fba', class: "zonos--elements", style: {
|
|
68
|
+
'--zonos--color': contrastLabelColor,
|
|
69
|
+
'--zonos--progress-percent': this.getTotalSuccessStep(),
|
|
70
|
+
} }, h("div", { key: '2d10ca52da867104ebec46ea6406fcb1688d96d6', class: "zonos--tab-wrapper" }, Object.values(cartStore.tabItems).map((tab, index) => {
|
|
71
71
|
const isSelected = tab.value === selectedStep;
|
|
72
72
|
return (h("button", { class: classes([
|
|
73
73
|
'zonos--tab-item',
|
|
74
74
|
tab.value === selectedStep && 'selected',
|
|
75
75
|
tab.isDone && 'done',
|
|
76
76
|
]), 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-1000', type: "label" }, index + 1), h("zonos-icon", { class: "zonos--tab-index-done-icon", content: TabCheckmark, iconColor: isSelected ? contrastLabelColor : 'gray-1000' })), h("zonos-text", { textColor: isSelected ? contrastLabelColor : 'gray-1000', type: "label" }, translate(tab.label))));
|
|
77
|
-
})), h("div", { key: '
|
|
77
|
+
})), h("div", { key: 'cb87fe27155f6d6a02ec668d1750a1fd397652a0', class: "zonos--tab-progress" }, h("div", { key: 'd260e03cbb980b35f4c8047233a4e54714a8a756', class: "zonos--progress-bar-fill" }))));
|
|
78
78
|
}
|
|
79
79
|
static get is() { return "zonos-checkout-progress-tabs"; }
|
|
80
80
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
:host {
|
|
2
|
-
font-family: var(--font-family, Inter), Inter;
|
|
2
|
+
font-family: var(--zonos--font-family, Inter), Inter;
|
|
3
3
|
display: block;
|
|
4
4
|
white-space: normal;
|
|
5
5
|
}
|
|
6
6
|
:host * {
|
|
7
|
-
font-family: var(--font-family, Inter), Inter;
|
|
7
|
+
font-family: var(--zonos--font-family, Inter), Inter;
|
|
8
8
|
}
|
|
9
9
|
:host img {
|
|
10
10
|
max-width: 100%;
|
|
@@ -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: '
|
|
46
|
-
'--font-family': zonosStoreFontFamily(),
|
|
45
|
+
return (h(Host, { key: '4362f714c77107361d6a12b37611d443b3913360', class: 'zonos--elements zonos--collapse', style: {
|
|
46
|
+
'--zonos--font-family': zonosStoreFontFamily(),
|
|
47
47
|
height: this.getElementHeight(),
|
|
48
|
-
} }, h("div", { key: '
|
|
48
|
+
} }, h("div", { key: '0d66a5810e4d4e5485680eb07dd4201001ddeeb3' }, h("iframe", { key: '8ca06be959cfbb3d791bc93b9db9e6abc820466f', class: "height-change-listener", tabindex: "-1", title: "collapse-height-change-listener" }), h("slot", { key: 'cd8be075228fdd276b7d2f12929e49847d7a8b2d' }))));
|
|
49
49
|
}
|
|
50
50
|
static get is() { return "zonos-collapse"; }
|
|
51
51
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
:host {
|
|
2
|
-
font-family: var(--font-family, Inter), Inter;
|
|
2
|
+
font-family: var(--zonos--font-family, Inter), Inter;
|
|
3
3
|
display: block;
|
|
4
4
|
white-space: normal;
|
|
5
5
|
}
|
|
6
6
|
:host * {
|
|
7
|
-
font-family: var(--font-family, Inter), Inter;
|
|
7
|
+
font-family: var(--zonos--font-family, Inter), Inter;
|
|
8
8
|
}
|
|
9
9
|
:host img {
|
|
10
10
|
max-width: 100%;
|
|
@@ -62,8 +62,8 @@
|
|
|
62
62
|
background: var(--zonos-elements-gray-0);
|
|
63
63
|
max-width: 90vw;
|
|
64
64
|
max-height: 90vh;
|
|
65
|
-
width: var(--dialog-width);
|
|
66
|
-
border-radius: var(--border-radius, 10px);
|
|
65
|
+
width: var(--zonos--dialog-width);
|
|
66
|
+
border-radius: var(--zonos--border-radius, 10px);
|
|
67
67
|
outline: none;
|
|
68
68
|
box-shadow: var(--zonos-elements-v3-shadow-xxl);
|
|
69
69
|
border: var(--zonos-elements-border);
|
|
@@ -83,13 +83,13 @@ export class ZonosConfirmDialog {
|
|
|
83
83
|
const borderStyle = getBorderRadius();
|
|
84
84
|
// Get theme for the update dialog, inherit from the theme, no from this component theme
|
|
85
85
|
const theme = getZonosStoreTheme(zonosStore.appearance.theme);
|
|
86
|
-
return (h(Host, { key: '
|
|
87
|
-
'--border-radius': borderStyle,
|
|
88
|
-
'--dialog-width': `${this.dialogWidth}px`,
|
|
89
|
-
'--font-family': zonosStoreFontFamily(),
|
|
90
|
-
} }, h("div", { key: '
|
|
86
|
+
return (h(Host, { key: '6fbde5144cb14f8c418f4108037866d8d5b9a403', class: classes([this.dialogOpen && 'open', 'zonos--elements']), "data-dialog-type": this.dialogType, "data-theme": theme, style: {
|
|
87
|
+
'--zonos--border-radius': borderStyle,
|
|
88
|
+
'--zonos--dialog-width': `${this.dialogWidth}px`,
|
|
89
|
+
'--zonos--font-family': zonosStoreFontFamily(),
|
|
90
|
+
} }, h("div", { key: '972e16777f091277e935ba2cf779b98c03f1b8d9', class: "zonos--backdrop", tabIndex: -1 }), h("div", { key: 'a88ae021456007ae9ddfcf6ab778539c1500afa2', "aria-hidden": "true", class: classes(['zonos--confirm-layout', this.dialogIntent]), onClick: e => this.clickOutsideDialogHandler(e) }, h("div", { key: '1613ef615b0dc37e90858b7e91699d62e88abce7', class: "zonos--confirm-dialog", onBlur: () => {
|
|
91
91
|
this.focusDialog();
|
|
92
|
-
} }, h("div", { key: '
|
|
92
|
+
} }, h("div", { key: '02d698138743f985dc232f19336b848b68d01fc1', class: "wrapper" }, h("div", { key: '29126adc0d48657e01bc645f2b272ae895adb053', class: "icon-wrapper" }, this.renderIcon()), h("div", { key: '2ba6eb8d4669ea346fae88bc60d79feb97aca3c2', class: "content" }, h("div", { key: 'c8b4552f75713f621bb57281b5187d13255b4a7e', class: "title" }, h("zonos-text", { key: '97543734f7870a6aec308bfc0e1b0146f77612be', type: "subheader" }, this.dialogTitle)), this.dialogSubtitle && (h("div", { key: '8dec061fd863eedcde33653c2f06ce6bead894e4', class: "subtitle" }, h("zonos-text", { key: '354bd2b34a2f4673dd74569d4bde114535bdcf08', textColor: "gray-800" }, this.dialogSubtitle)))), h("div", { key: 'b0dd25b3f2848c057ea1d949bb2904fdc0850ca8', class: "footer" }, this.dialogType === 'confirm' && (h("zonos-button", { key: 'a3c9c2cd7a051aa63126d42e55d4ffbef68ffbaf', backgroundColor: "gray-0", class: "cancel-button", onClick: () => this.closeDialogHandler(), size: "lg", withBoxShadow: true }, this.dialogCancelBtnText || translate('Cancel'))), h("zonos-button", { key: '4a0d517ab5932deb0cb4c78d02e28b7d8307dbe0', class: "confirm-button", onClick: () => this.confirmDialogHandler(), size: "lg", variant: this.getButtonConfirmVariant() }, this.dialogConfirmBtnText)))))));
|
|
93
93
|
}
|
|
94
94
|
static get is() { return "zonos-confirm-dialog"; }
|
|
95
95
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
:host {
|
|
2
|
-
font-family: var(--font-family, Inter), Inter;
|
|
2
|
+
font-family: var(--zonos--font-family, Inter), Inter;
|
|
3
3
|
display: block;
|
|
4
4
|
white-space: normal;
|
|
5
5
|
}
|
|
6
6
|
:host * {
|
|
7
|
-
font-family: var(--font-family, Inter), Inter;
|
|
7
|
+
font-family: var(--zonos--font-family, Inter), Inter;
|
|
8
8
|
}
|
|
9
9
|
:host img {
|
|
10
10
|
max-width: 100%;
|