@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
|
@@ -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"; }
|
package/dist/collection/components/common/zonos-shipping-rich-radio/zonos-shipping-rich-radio.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%;
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
}
|
|
38
38
|
:host input {
|
|
39
39
|
margin: 0;
|
|
40
|
-
accent-color: var(--selected-border-color, var(--zonos-elements-blue-600));
|
|
40
|
+
accent-color: var(--zonos--selected-border-color, var(--zonos-elements-blue-600));
|
|
41
41
|
}
|
|
42
42
|
:host .zonos--shipping-rich-radio-item {
|
|
43
43
|
display: flex;
|
|
@@ -49,18 +49,18 @@
|
|
|
49
49
|
border: 1px solid var(--zonos-elements-gray-200);
|
|
50
50
|
}
|
|
51
51
|
:host .zonos--shipping-rich-radio-item:first-child {
|
|
52
|
-
border-top-left-radius: var(--border-radius, var(--zonos-elements-radius-10));
|
|
53
|
-
border-top-right-radius: var(--border-radius, var(--zonos-elements-radius-10));
|
|
52
|
+
border-top-left-radius: var(--zonos--border-radius, var(--zonos-elements-radius-10));
|
|
53
|
+
border-top-right-radius: var(--zonos--border-radius, var(--zonos-elements-radius-10));
|
|
54
54
|
}
|
|
55
55
|
:host .zonos--shipping-rich-radio-item:last-child {
|
|
56
|
-
border-bottom-right-radius: var(--border-radius, var(--zonos-elements-radius-10));
|
|
57
|
-
border-bottom-left-radius: var(--border-radius, var(--zonos-elements-radius-10));
|
|
56
|
+
border-bottom-right-radius: var(--zonos--border-radius, var(--zonos-elements-radius-10));
|
|
57
|
+
border-bottom-left-radius: var(--zonos--border-radius, var(--zonos-elements-radius-10));
|
|
58
58
|
}
|
|
59
59
|
:host .zonos--shipping-rich-radio-item:not(:last-child) {
|
|
60
60
|
border-bottom: none;
|
|
61
61
|
}
|
|
62
62
|
:host .zonos--shipping-rich-radio-item.selected {
|
|
63
|
-
outline: 1px solid var(--selected-border-color, var(--zonos-elements-blue-600));
|
|
63
|
+
outline: 1px solid var(--zonos--selected-border-color, var(--zonos-elements-blue-600));
|
|
64
64
|
outline-offset: -1px;
|
|
65
65
|
}
|
|
66
66
|
:host .zonos--shipping-info {
|
package/dist/collection/components/common/zonos-shipping-rich-radio/zonos-shipping-rich-radio.js
CHANGED
|
@@ -15,10 +15,10 @@ export class ZonosShippingRichRadio {
|
|
|
15
15
|
? `var(--zonos-elements-${usedColor})`
|
|
16
16
|
: usedColor;
|
|
17
17
|
return {
|
|
18
|
-
'--border-radius': getBorderRadius({
|
|
18
|
+
'--zonos--border-radius': getBorderRadius({
|
|
19
19
|
overrideBorderStyle: this.borderStyle,
|
|
20
20
|
}),
|
|
21
|
-
'--selected-border-color': secondaryColor || 'unset',
|
|
21
|
+
'--zonos--selected-border-color': secondaryColor || 'unset',
|
|
22
22
|
};
|
|
23
23
|
};
|
|
24
24
|
this.items = undefined;
|
|
@@ -29,7 +29,7 @@ export class ZonosShippingRichRadio {
|
|
|
29
29
|
}
|
|
30
30
|
render() {
|
|
31
31
|
var _a;
|
|
32
|
-
return (h(Host, { key: '
|
|
32
|
+
return (h(Host, { key: '34abb7026ed7d382870f912b5e5c5631e4f06f76', class: "zonos--shipping-rich-radio zonos--elements", "data-theme": this.theme, style: Object.assign(Object.assign({}, this.getRadioItemStyleVariables()), { '--zonos--font-family': zonosStoreFontFamily() }) }, (_a = this.items) === null || _a === void 0 ? void 0 : _a.map(item => {
|
|
33
33
|
var _a;
|
|
34
34
|
const selected = ((_a = this.selectedItem) === null || _a === void 0 ? void 0 : _a.value) === item.value;
|
|
35
35
|
return (h("div", { "aria-hidden": "true", class: classes([
|
|
@@ -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%;
|
|
@@ -34,13 +34,13 @@
|
|
|
34
34
|
:host {
|
|
35
35
|
position: relative;
|
|
36
36
|
overflow: hidden;
|
|
37
|
-
width: var(--size);
|
|
38
|
-
height: var(--size);
|
|
37
|
+
width: var(--zonos--size);
|
|
38
|
+
height: var(--zonos--size);
|
|
39
39
|
display: inline-flex;
|
|
40
40
|
}
|
|
41
41
|
:host svg {
|
|
42
|
-
width: var(--size);
|
|
43
|
-
height: var(--size);
|
|
42
|
+
width: var(--zonos--size);
|
|
43
|
+
height: var(--zonos--size);
|
|
44
44
|
stroke: var(--zonos-elements-blue-600);
|
|
45
45
|
animation: rotate 2s linear infinite;
|
|
46
46
|
}
|
|
@@ -10,7 +10,7 @@ export class ZonosSpinner {
|
|
|
10
10
|
return null;
|
|
11
11
|
}
|
|
12
12
|
return (h(Host, { class: classes(['zonos--elements', this.spinnerColor]), style: {
|
|
13
|
-
'--size': `${this.size}px`,
|
|
13
|
+
'--zonos--size': `${this.size}px`,
|
|
14
14
|
} }, h("svg", { viewBox: "0 0 50 50" }, h("circle", { class: "track", cx: "25", cy: "25", fill: "none", id: "loading-spinner-circle", r: "20", "stroke-width": "5" }), h("circle", { cx: "25", cy: "25", fill: "none", id: "loading-spinner-circle", r: "20", "stroke-width": "5" }))));
|
|
15
15
|
}
|
|
16
16
|
static get is() { return "zonos-spinner"; }
|
|
@@ -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%;
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
:host {
|
|
35
|
-
color: var(--color);
|
|
35
|
+
color: var(--zonos--color);
|
|
36
36
|
}
|
|
37
37
|
|
|
38
38
|
:host(.zonos--text-size-3xl) > *, :host(.zonos--text-size-3xl) {
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
:host(.zonos--text-size-base) > *, :host(.zonos--text-size-base) {
|
|
55
|
-
font-size: var(--font-size-base, var(--zonos-elements-font-size-base));
|
|
55
|
+
font-size: var(--zonos--font-size-base, var(--zonos-elements-font-size-base));
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
:host(.zonos--text-size-s) > *, :host(.zonos--text-size-s) {
|
|
@@ -46,9 +46,9 @@ export class ZonosText {
|
|
|
46
46
|
`zonos--text-size-${textSize}`,
|
|
47
47
|
`zonos--text-weight-${textWeight}`,
|
|
48
48
|
]), style: styles({
|
|
49
|
-
'--color': actualTextColor,
|
|
50
|
-
'--font-family': zonosStoreFontFamily(),
|
|
51
|
-
'--font-size-base': zonosStore.appearance.fontSize
|
|
49
|
+
'--zonos--color': actualTextColor,
|
|
50
|
+
'--zonos--font-family': zonosStoreFontFamily(),
|
|
51
|
+
'--zonos--font-size-base': zonosStore.appearance.fontSize
|
|
52
52
|
? `${zonosStore.appearance.fontSize}px`
|
|
53
53
|
: undefined,
|
|
54
54
|
}) }, renderText()));
|
|
@@ -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%;
|