@zonos/elements 1.3.125 → 1.3.127
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/{cart-7e5608b4.js → cart-3bdaf092.js} +6 -4
- package/dist/cjs/index.cjs.js +7 -7
- package/dist/cjs/{isColorVariable-6f5a9608.js → isColorVariable-525dbfa7.js} +2 -0
- package/dist/cjs/{paypal-4c479f19.js → paypal-2f48ab8d.js} +1 -1
- package/dist/cjs/zonos-address_7.cjs.entry.js +23 -23
- 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 +34 -34
- package/dist/cjs/zonos-checkout.cjs.entry.js +12 -7
- 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 +2 -2
- package/dist/cjs/zonos-country-flag.cjs.entry.js +4 -4
- package/dist/cjs/zonos-country-select_4.cjs.entry.js +14 -14
- package/dist/cjs/zonos-hello-dialog.cjs.entry.js +2 -2
- package/dist/cjs/zonos-hello.cjs.entry.js +2 -2
- package/dist/cjs/zonos-input.cjs.entry.js +7 -7
- package/dist/cjs/zonos-language-select_2.cjs.entry.js +9 -9
- 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 +10 -9
- 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/api/triggerBuildLandedCost.js +6 -4
- package/dist/collection/components/utils/isColorVariable.js +2 -0
- package/dist/esm/{cart-65c7d5f1.js → cart-519f08e3.js} +6 -4
- package/dist/esm/index.js +7 -7
- package/dist/esm/{isColorVariable-82457bef.js → isColorVariable-0a94004f.js} +2 -0
- package/dist/esm/{paypal-cd96efa7.js → paypal-d0a05eda.js} +1 -1
- package/dist/esm/zonos-address_7.entry.js +23 -23
- 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 +34 -34
- package/dist/esm/zonos-checkout.entry.js +12 -7
- 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 +2 -2
- package/dist/esm/zonos-country-flag.entry.js +4 -4
- package/dist/esm/zonos-country-select_4.entry.js +14 -14
- package/dist/esm/zonos-hello-dialog.entry.js +2 -2
- package/dist/esm/zonos-hello.entry.js +2 -2
- package/dist/esm/zonos-input.entry.js +7 -7
- package/dist/esm/zonos-language-select_2.entry.js +9 -9
- 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 +10 -9
- 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/{cart-65c7d5f1.js → cart-519f08e3.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/isColorVariable-0a94004f.js +1 -0
- package/dist/esm-es5/{paypal-cd96efa7.js → paypal-d0a05eda.js} +1 -1
- 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-f8827566.js → p-00ff4f4a.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-0cb426b8.entry.js +1 -0
- package/dist/zonos-elements/p-167b7fa8.system.entry.js +1 -0
- package/dist/zonos-elements/p-1e4d8228.entry.js +1 -0
- package/dist/zonos-elements/{p-988b6d65.system.js → p-1ed1ce99.system.js} +1 -1
- package/dist/zonos-elements/{p-c6f74e2c.js → p-2402e12c.js} +1 -1
- package/dist/zonos-elements/p-2906956b.entry.js +1 -0
- package/dist/zonos-elements/p-2db962f9.system.entry.js +1 -0
- 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-b2262a9c.entry.js → p-3dbfe639.entry.js} +1 -1
- package/dist/zonos-elements/p-4170b042.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-5610934b.entry.js +1 -0
- package/dist/zonos-elements/p-57d93236.entry.js +1 -0
- package/dist/zonos-elements/p-5ac777a7.system.entry.js +1 -0
- package/dist/zonos-elements/p-61380d53.system.entry.js +1 -0
- package/dist/zonos-elements/p-685e395e.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-148e7eb7.entry.js → p-723c9d4d.entry.js} +1 -1
- package/dist/zonos-elements/p-76d03238.entry.js +1 -0
- package/dist/zonos-elements/{p-66303c89.system.entry.js → p-798d715c.entry.js} +1 -1
- 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-8df3d5d0.system.entry.js +1 -0
- package/dist/zonos-elements/p-970527fe.entry.js +1 -0
- package/dist/zonos-elements/p-9833f37d.system.entry.js +1 -0
- package/dist/zonos-elements/p-a372a9a0.entry.js +1 -0
- package/dist/zonos-elements/p-a7eaa9ad.entry.js +1 -0
- package/dist/zonos-elements/{p-0ceb45a9.system.js → p-abbfde44.system.js} +1 -1
- package/dist/zonos-elements/p-ae393255.js +1 -0
- package/dist/zonos-elements/p-bc9987f2.system.entry.js +1 -0
- package/dist/zonos-elements/{p-f8c7bc1d.entry.js → p-bf2f9095.entry.js} +1 -1
- 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-cf7a5119.entry.js +1 -0
- package/dist/zonos-elements/p-d6f1b6fa.system.entry.js +1 -0
- package/dist/zonos-elements/p-e2cda105.system.entry.js +1 -0
- 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-ea8663b7.entry.js +1 -0
- package/dist/zonos-elements/p-eb6d1e26.system.entry.js +1 -0
- package/dist/zonos-elements/p-eca920dc.system.entry.js +1 -0
- package/dist/zonos-elements/p-efffbaec.entry.js +1 -0
- package/dist/zonos-elements/p-f50f48da.entry.js +1 -0
- package/dist/zonos-elements/{p-80a4d1e0.system.js → p-f7d56ce5.system.js} +1 -1
- package/dist/zonos-elements/p-f962fc6a.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%;
|
|
@@ -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%;
|
|
@@ -16,12 +16,12 @@ export class ZonosCountryFlag {
|
|
|
16
16
|
const font = zonosStoreFontFamily();
|
|
17
17
|
return (h(Host, { class: "zonos--elements", style: this.size
|
|
18
18
|
? {
|
|
19
|
-
'--font-family': font,
|
|
19
|
+
'--zonos--font-family': font,
|
|
20
20
|
height: `${this.size}px`,
|
|
21
21
|
width: `${this.size}px`,
|
|
22
22
|
}
|
|
23
23
|
: {
|
|
24
|
-
'--font-family': font,
|
|
24
|
+
'--zonos--font-family': font,
|
|
25
25
|
} }, h("div", { class: classes([`flag-container`]) }, h("div", { class: "flag-icon", style: { backgroundImage: `url(${flagUrl})` } }))));
|
|
26
26
|
}
|
|
27
27
|
static get is() { return "zonos-country-flag"; }
|
|
@@ -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%;
|
|
@@ -44,9 +44,9 @@ export class ZonosCountrySelect {
|
|
|
44
44
|
? fuseObject.map(country => country.item)
|
|
45
45
|
: countries.sort((a, b) => a.displayName.localeCompare(b.displayName));
|
|
46
46
|
const isEmpty = !filteredCountries.length;
|
|
47
|
-
return (h(Host, { key: '
|
|
48
|
-
'--font-family': zonosStoreFontFamily(),
|
|
49
|
-
} }, h("div", { key: '
|
|
47
|
+
return (h(Host, { key: 'd2c7e2e16fc85fc8d606110a225660e8681bb1cd', class: "zonos--elements", style: {
|
|
48
|
+
'--zonos--font-family': zonosStoreFontFamily(),
|
|
49
|
+
} }, h("div", { key: '362b75ddd36ee67c0d9110353636dca3baa33ea3', class: "zonos--country-select" }, h("zonos-v-stack", { key: '5a1129ee4c1b4c4164144c510b6d694e8cbcc51c', class: "zonos--country-select-header", spacing: 8 }, h("zonos-select-dialog-header", { key: 'dc9d35418d2cfe4157cc1f15e2257841495fd94c', handleOnClose: () => this.handleOnClose(), label: translate('Select a country') }, h("input", { key: 'f6cd61f0b9b1bf4c878747c1262e7572589900df', autocomplete: "off", autofocus: "autofocus", class: "zonos--country-select-input", onInput: this.handleInputChange, placeholder: translate('Search countries'), value: this.inputValue }))), h("div", { key: '418cb6c9e1f69b6d79ea591952ac37d29618915c', class: "zonos--country-select-content" }, isEmpty && (h("zonos-text", { key: '32953d9f132413689091bfd5cb08be538f5fb1ec', class: "no-country", textColor: "gray-800" }, translate('No countries found'))), h("zonos-virtual-scroll", { key: '78c4cfdd6c53c4ea779ee6911402f148a6a0029b', class: "zonos--country-filter-content", fallbackItemHeight: 34, itemHeights: filteredCountries.map(() => 34), renderItem: index => {
|
|
50
50
|
const country = filteredCountries[index];
|
|
51
51
|
if (!country) {
|
|
52
52
|
return null;
|
|
@@ -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%;
|
|
@@ -8,9 +8,9 @@ export class ZonosCustomMessage {
|
|
|
8
8
|
}
|
|
9
9
|
render() {
|
|
10
10
|
const messageWithLinks = formatStringWithLinks(this.message);
|
|
11
|
-
return (h(Host, { key: '
|
|
12
|
-
'--font-family': zonosStoreFontFamily(),
|
|
13
|
-
} }, this.message && (h("zonos-card", { key: '
|
|
11
|
+
return (h(Host, { key: '614049a461ddd3d83ac735f57de933a89d76c0e4', class: "zonos--elements", style: {
|
|
12
|
+
'--zonos--font-family': zonosStoreFontFamily(),
|
|
13
|
+
} }, this.message && (h("zonos-card", { key: 'a2cd47b27b31a8b9386a69f8a0ebc4e57b9d08b4', class: "zonos--custom-message", spacing: "12px" }, h("div", { key: '6336e3d3250f0b242f629c1d3656b46966fc7e8f', class: "zonos--flex-message" }, h("zonos-icon", { key: '6ee749947941aef5f6ed1e2e2b7e37e36c7f4437', "aria-label": "Custom message icon", content: this.icon }), h("zonos-text", { key: 'c2f2981d4e91ee8bf5f981e753269b0e5f6a165e', innerHTML: messageWithLinks }))))));
|
|
14
14
|
}
|
|
15
15
|
static get is() { return "zonos-custom-message"; }
|
|
16
16
|
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%;
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
justify-content: center;
|
|
58
58
|
z-index: 2147483009;
|
|
59
59
|
background: var(--zonos-elements-gray-0);
|
|
60
|
-
border-radius: var(--border-radius, var(--zonos-elements-radius-10));
|
|
60
|
+
border-radius: var(--zonos--border-radius, var(--zonos-elements-radius-10));
|
|
61
61
|
}
|
|
62
62
|
:host .zonos--dialog-layout {
|
|
63
63
|
width: 100vw;
|
|
@@ -77,10 +77,10 @@
|
|
|
77
77
|
background: var(--zonos-elements-gray-0);
|
|
78
78
|
max-width: 90vw;
|
|
79
79
|
max-height: 90vh;
|
|
80
|
-
min-height: var(--min-height, auto);
|
|
81
|
-
height: var(--height, auto);
|
|
82
|
-
width: var(--width, auto);
|
|
83
|
-
border-radius: var(--border-radius, var(--zonos-elements-radius-10));
|
|
80
|
+
min-height: var(--zonos--min-height, auto);
|
|
81
|
+
height: var(--zonos--height, auto);
|
|
82
|
+
width: var(--zonos--width, auto);
|
|
83
|
+
border-radius: var(--zonos--border-radius, var(--zonos-elements-radius-10));
|
|
84
84
|
outline: none;
|
|
85
85
|
box-shadow: var(--zonos-elements-v3-shadow-xxl);
|
|
86
86
|
border: var(--zonos-elements-border);
|
|
@@ -59,22 +59,22 @@ export class ZonosDialog {
|
|
|
59
59
|
const borderStyle = getBorderRadius({
|
|
60
60
|
overrideBorderStyle: this.borderStyle,
|
|
61
61
|
});
|
|
62
|
-
return (h(Host, { key: '
|
|
62
|
+
return (h(Host, { key: 'ba7a8197ab543be448706f9e9691b57738d0caae', class: classes([
|
|
63
63
|
'zonos--elements',
|
|
64
64
|
this.open && 'open',
|
|
65
65
|
this.isLoading && 'is-loading',
|
|
66
66
|
this.noBorder && 'no-border',
|
|
67
67
|
this.isMobile && 'mobile',
|
|
68
68
|
]), style: {
|
|
69
|
-
'--border-radius': borderStyle,
|
|
70
|
-
'--font-family': zonosStoreFontFamily(),
|
|
71
|
-
'--height': this.height || 'initial',
|
|
72
|
-
'--min-height': this.minHeight || '500px',
|
|
73
|
-
'--width': this.width,
|
|
74
|
-
} }, h("div", { key: '
|
|
69
|
+
'--zonos--border-radius': borderStyle,
|
|
70
|
+
'--zonos--font-family': zonosStoreFontFamily(),
|
|
71
|
+
'--zonos--height': this.height || 'initial',
|
|
72
|
+
'--zonos--min-height': this.minHeight || '500px',
|
|
73
|
+
'--zonos--width': this.width,
|
|
74
|
+
} }, h("div", { key: 'b930321b762118180765fa981ec36331fcf582e3', class: "zonos--backdrop" }), h("div", { key: '9e2c43b255342bf5ba2cce5a3ebd3690a855dea4', class: "zonos--dialog-layout", inert: !this.open, onClick: this.clickOutsideDialogHandler }, h("div", { key: 'ba38ab19c3af855c46cd50cf1c9aac5279158432', class: "zonos--dialog" }, this.isLoading && (h("div", { key: 'a3ee6a94bb75c349b4f724295d514d3fd2c212dd', class: "zonos--loading" }, h("zonos-spinner", { key: '91f094db949bbf1698bebc871f1ae5455f647ead', size: 30 }))), (this.headerText || !this.noCloseButton) && (h("div", { key: '4804b7611ecf1eefb24126c408952941ab535ba4', class: "zonos--header" }, this.headerText && (h("h3", { key: '9e8c592e93d3c144553321f59176a2ba7b29ef95', class: "zonos--header-text" }, this.headerText)), !this.noCloseButton && (h("zonos-button", { key: '35d49072fdeadf26797f9ef82d63b8448100f833', class: "zonos--close-button", icon: h("zonos-icon", { "aria-label": "Close dialog", content: RemoveIcon }), noBackground: true, onClick: this.closeButtonHandler, variant: "subtle" })))), h("div", { key: 'f74d2afc8f0296a7ef81e8a3b530fd60d92f3274', class: classes([
|
|
75
75
|
'zonos--body',
|
|
76
76
|
this.noBodyPadding && 'zonos--no-body-padding',
|
|
77
|
-
]) }, h("slot", { key: '
|
|
77
|
+
]) }, h("slot", { key: '78138acb4bc703c5248687468621e87262b7cc90' })), h("slot", { key: 'a98f325d222c53ba779075871fcf6aad5542d743', name: "dialog-footer" })))));
|
|
78
78
|
}
|
|
79
79
|
static get is() { return "zonos-dialog"; }
|
|
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%;
|
|
@@ -35,8 +35,8 @@
|
|
|
35
35
|
display: inline-flex;
|
|
36
36
|
}
|
|
37
37
|
:host svg {
|
|
38
|
-
width: var(--width);
|
|
39
|
-
height: var(--height);
|
|
40
|
-
fill: var(--color);
|
|
41
|
-
color: var(--color);
|
|
38
|
+
width: var(--zonos--width);
|
|
39
|
+
height: var(--zonos--height);
|
|
40
|
+
fill: var(--zonos--color);
|
|
41
|
+
color: var(--zonos--color);
|
|
42
42
|
}
|
|
@@ -17,10 +17,10 @@ export class ZonosIcon {
|
|
|
17
17
|
: this.iconColor;
|
|
18
18
|
this.el.shadowRoot.innerHTML = this.content;
|
|
19
19
|
return (h(Host, { class: "zonos--elements", style: {
|
|
20
|
-
'--color': iconColor,
|
|
21
|
-
'--font-family': zonosStoreFontFamily(),
|
|
22
|
-
'--height': `${this.autoHeight ? 'auto' : `${this.size}px`}`,
|
|
23
|
-
'--width': `${this.size}px`,
|
|
20
|
+
'--zonos--color': iconColor,
|
|
21
|
+
'--zonos--font-family': zonosStoreFontFamily(),
|
|
22
|
+
'--zonos--height': `${this.autoHeight ? 'auto' : `${this.size}px`}`,
|
|
23
|
+
'--zonos--width': `${this.size}px`,
|
|
24
24
|
} }));
|
|
25
25
|
}
|
|
26
26
|
static get is() { return "zonos-icon"; }
|
|
@@ -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,7 +42,7 @@
|
|
|
42
42
|
height: 100%;
|
|
43
43
|
width: 100%;
|
|
44
44
|
background: var(--zonos-elements-input-background);
|
|
45
|
-
border-radius: var(--border-radius);
|
|
45
|
+
border-radius: var(--zonos--border-radius);
|
|
46
46
|
border: var(--zonos-elements-border);
|
|
47
47
|
}
|
|
48
48
|
:host .zonos--label-wrapper:hover {
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
outline: none;
|
|
56
56
|
transition: var(--zonos-elements-transition);
|
|
57
57
|
width: 100%;
|
|
58
|
-
border-radius: var(--border-radius);
|
|
58
|
+
border-radius: var(--zonos--border-radius);
|
|
59
59
|
background: var(--zonos-elements-input-background);
|
|
60
60
|
border: 0;
|
|
61
61
|
order: 2;
|
|
@@ -130,7 +130,7 @@
|
|
|
130
130
|
right: 0;
|
|
131
131
|
top: 0;
|
|
132
132
|
bottom: 0;
|
|
133
|
-
border-radius: var(--border-radius);
|
|
133
|
+
border-radius: var(--zonos--border-radius);
|
|
134
134
|
}
|
|
135
135
|
:host .disabled .zonos--floated-label {
|
|
136
136
|
pointer-events: inherit;
|
|
@@ -17,17 +17,17 @@ export class ZonosInput {
|
|
|
17
17
|
this.inputChange.emit(newValue);
|
|
18
18
|
}
|
|
19
19
|
render() {
|
|
20
|
-
return (h(Host, { key: '
|
|
20
|
+
return (h(Host, { key: '402137e0e5b191d36b4d51619d29f05ef050f114', class: classes([
|
|
21
21
|
'zonos--input zonos--elements',
|
|
22
22
|
this.inputSize,
|
|
23
23
|
this.isError && 'has-error',
|
|
24
24
|
]), style: {
|
|
25
|
-
'--border-radius': getBorderRadius(),
|
|
26
|
-
'--font-family': zonosStoreFontFamily(),
|
|
27
|
-
} }, h("div", { key: '
|
|
25
|
+
'--zonos--border-radius': getBorderRadius(),
|
|
26
|
+
'--zonos--font-family': zonosStoreFontFamily(),
|
|
27
|
+
} }, h("div", { key: '601de098f0929c7e0e89efc63a0ffd5f9dc14428', class: classes([
|
|
28
28
|
'zonos--label-wrapper',
|
|
29
29
|
this.isDisabled && 'disabled',
|
|
30
|
-
]) }, h("input", { key: '
|
|
30
|
+
]) }, h("input", { key: '151162f4e5052f1cef11efd4666dfa6e89df4b25', class: classes([
|
|
31
31
|
'zonos--floated-input',
|
|
32
32
|
!!this.inputLabel && 'has-label',
|
|
33
33
|
this.inputValue && 'has-content',
|
|
@@ -35,7 +35,7 @@ export class ZonosInput {
|
|
|
35
35
|
]), disabled: this.isDisabled, onInput: e => {
|
|
36
36
|
const input = e.target;
|
|
37
37
|
this.inputChange.emit(input.value);
|
|
38
|
-
}, placeholder: this.inputPlaceholder, type: "text", value: this.value }), h("label", { key: '
|
|
38
|
+
}, placeholder: this.inputPlaceholder, type: "text", value: this.value }), h("label", { key: '65f207f694763f7505c75a13a2be5c24d57ec9c1', class: "zonos--floated-label", "data-label": this.inputLabel }))));
|
|
39
39
|
}
|
|
40
40
|
static get is() { return "zonos-input"; }
|
|
41
41
|
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%;
|
|
@@ -16,9 +16,9 @@ export class ZonosLanguageSelect {
|
|
|
16
16
|
}
|
|
17
17
|
render() {
|
|
18
18
|
const { selectedLocale } = localizationStore;
|
|
19
|
-
return (h(Host, { key: '
|
|
20
|
-
'--font-family': zonosStoreFontFamily(),
|
|
21
|
-
} }, h("div", { key: '
|
|
19
|
+
return (h(Host, { key: 'eaca22844486965ba2b78c46571cdecd1f3002e7', class: "zonos--elements", style: {
|
|
20
|
+
'--zonos--font-family': zonosStoreFontFamily(),
|
|
21
|
+
} }, h("div", { key: '2846ee489019e8c83d7b64b8a29dc67353b8f8c0', class: "zonos--language-select" }, h("zonos-select-dialog-header", { key: '72c36cbf777562c15346c26716e07469a5889f8d', handleOnClose: () => this.handleOnClose(), label: translate('Select a language') }), h("div", { key: 'd84fda6dc4aceaec2b3b8fda359ca60f78db448a', class: "zonos--language-select-content" }, languages.map(language => (h("button", { class: "zonos--language-select-button", onClick: () => this.languageSelected(language.code) }, h("zonos-text", { textColor: "gray-800" }, language.translatedLabel), language.code === selectedLocale && (h("zonos-icon", { content: GreenCheckDuotoneIcon, size: 16 })))))))));
|
|
22
22
|
}
|
|
23
23
|
static get is() { return "zonos-language-select"; }
|
|
24
24
|
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%;
|
|
@@ -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%;
|
|
@@ -35,6 +35,6 @@
|
|
|
35
35
|
display: inline-flex;
|
|
36
36
|
}
|
|
37
37
|
:host img {
|
|
38
|
-
filter: var(--filter-color);
|
|
39
|
-
width: var(--width);
|
|
38
|
+
filter: var(--zonos--filter-color);
|
|
39
|
+
width: var(--zonos--width);
|
|
40
40
|
}
|
|
@@ -10,11 +10,11 @@ export class ZonosLogo {
|
|
|
10
10
|
const filterColor = this.theme === 'DARK'
|
|
11
11
|
? 'invert(100%) sepia(100%) saturate(0%) hue-rotate(288deg) brightness(102%) contrast(102%)'
|
|
12
12
|
: 'whiteinvert(0%) sepia(100%) saturate(32%) hue-rotate(92deg) brightness(107%) contrast(107%)';
|
|
13
|
-
return (h(Host, { key: '
|
|
14
|
-
'--filter-color': filterColor,
|
|
15
|
-
'--font-family': zonosStoreFontFamily(),
|
|
16
|
-
'--width': this.width,
|
|
17
|
-
} }, h("img", { key: '
|
|
13
|
+
return (h(Host, { key: 'd914d74b5aee16c30242fe3fad20b917c020b5c5', class: classes(['zonos--elements zonos--logo']), style: {
|
|
14
|
+
'--zonos--filter-color': filterColor,
|
|
15
|
+
'--zonos--font-family': zonosStoreFontFamily(),
|
|
16
|
+
'--zonos--width': this.width,
|
|
17
|
+
} }, h("img", { key: '39f9bd18354de97a358432e9daf3373dfb6914b6', alt: "Zonos Logo", src: getAssetPath('./assets/ZonosLogo.png') })));
|
|
18
18
|
}
|
|
19
19
|
static get is() { return "zonos-logo"; }
|
|
20
20
|
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%;
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
cursor: pointer;
|
|
48
48
|
transition: all 0.3s ease;
|
|
49
49
|
padding: 8px;
|
|
50
|
-
border-radius: var(--border-radius, var(--zonos-elements-radius-6));
|
|
50
|
+
border-radius: var(--zonos--border-radius, var(--zonos-elements-radius-6));
|
|
51
51
|
opacity: 0;
|
|
52
52
|
flex-shrink: 0.0001;
|
|
53
53
|
transform: translateY(100%);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
|
2
2
|
import { zonosStoreFontFamily } from "../../store/zonosStore";
|
|
3
3
|
import { classes } from "../../utils/classes";
|
|
4
|
+
import { getBorderRadius } from "../../utils/getBorderRadius";
|
|
4
5
|
export class ZonosNotification {
|
|
5
6
|
constructor() {
|
|
6
7
|
this.notificationArray = [];
|
|
@@ -45,9 +46,10 @@ export class ZonosNotification {
|
|
|
45
46
|
}, 300);
|
|
46
47
|
}
|
|
47
48
|
render() {
|
|
48
|
-
return (h(Host, { key: '
|
|
49
|
-
'--
|
|
50
|
-
|
|
49
|
+
return (h(Host, { key: '6a790a39afc037ae56f8a53dc89c3fa899b2d659', class: classes(['zonos--elements zonos--notification']), style: {
|
|
50
|
+
'--zonos--border-radius': getBorderRadius(),
|
|
51
|
+
'--zonos--font-family': zonosStoreFontFamily(),
|
|
52
|
+
} }, h("div", { key: '32245a784f2322fb69a65b491648a30a84b0b3d3', class: "zonos--notification-items" }, this.notificationArray.map(notification => {
|
|
51
53
|
return (h("div", { "aria-hidden": "true", class: classes([
|
|
52
54
|
'zonos--notification-item',
|
|
53
55
|
notification.type,
|
|
@@ -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%;
|
|
@@ -14,11 +14,11 @@ export class ZonosRestState {
|
|
|
14
14
|
}
|
|
15
15
|
render() {
|
|
16
16
|
const imageUrl = this.getImageRestState();
|
|
17
|
-
return (h(Host, { key: '
|
|
18
|
-
'--font-family': zonosStoreFontFamily(),
|
|
19
|
-
} }, h("div", { key: '
|
|
17
|
+
return (h(Host, { key: '49903eabc623a041c5ae876f20cc23a037d57302', class: classes(['zonos--elements zonos--restState']), style: {
|
|
18
|
+
'--zonos--font-family': zonosStoreFontFamily(),
|
|
19
|
+
} }, h("div", { key: 'd85f98a9c615057f699c3e6a3894946c28252831', class: "zonos--restState-image" }, h("img", { key: 'e28aa5192809cca36d3f395d743ef5194ec79fdb', alt: this.restStateType, onError: () => {
|
|
20
20
|
this.isErrorImageLoad = true;
|
|
21
|
-
}, src: imageUrl })), h("div", { key: '
|
|
21
|
+
}, src: imageUrl })), h("div", { key: '09ca8ea866d82f4929587850e23e349edfbca4c0', class: "content" }, h("zonos-text", { key: 'e6a5d80825a3e73b71a7910a66a8fb9181c2fb46', class: "title", type: "boldSubheader" }, this.restStateTitle), h("zonos-text", { key: 'a109d7750dfe7e84d0e6e37d6833c288d508ed41', class: "subtitle" }, this.restStateSubtitle)), h("div", { key: 'd130db9c0c743058f5c5e6dc3477e5baf5fef5d5', class: "action" }, h("slot", { key: 'cce93629fbfe6b196a59a20850a7efc5309fd461' }))));
|
|
22
22
|
}
|
|
23
23
|
static get is() { return "zonos-rest-state"; }
|
|
24
24
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/components/common/zonos-select-dialog-header/zonos-select-dialog-header.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%;
|
package/dist/collection/components/common/zonos-select-dialog-header/zonos-select-dialog-header.js
CHANGED
|
@@ -8,9 +8,9 @@ export class ZonosSelectDialogHeader {
|
|
|
8
8
|
this.label = '';
|
|
9
9
|
}
|
|
10
10
|
render() {
|
|
11
|
-
return (h(Host, { key: '
|
|
12
|
-
'--font-family': zonosStoreFontFamily(),
|
|
13
|
-
} }, h("zonos-v-stack", { key: '
|
|
11
|
+
return (h(Host, { key: 'fbc386d771a9f1ee4b145b54c53a3ce31ac4aae5', class: "zonos--elements", style: {
|
|
12
|
+
'--zonos--font-family': zonosStoreFontFamily(),
|
|
13
|
+
} }, h("zonos-v-stack", { key: 'ed5cab44fd2b06a3d700602f4cb501608205e5b6', class: "zonos--select-dialog-header-wrapper", spacing: 8 }, h("div", { key: 'c2345cdad3bd812d7add7029b1f37d2f623de310', class: "zonos--select-dialog-header" }, h("zonos-text", { key: 'c43a9009db5e83ea96bc683ff99a36c4fcdef6fc', type: "boldLabel" }, this.label), h("zonos-button", { key: '6884b1569d52688dbc74ee3772755e37eadb1e79', class: "zonos--close-button", icon: h("zonos-icon", { "aria-label": "Close select dialog", content: RemoveIcon, size: 20 }), noBackground: true, onClick: () => this.handleOnClose() })), h("slot", { key: '8af3df1a34ea6da62be137313e0c42cc90ba704d' }))));
|
|
14
14
|
}
|
|
15
15
|
static get is() { return "zonos-select-dialog-header"; }
|
|
16
16
|
static get encapsulation() { return "shadow"; }
|