@zonos/elements 1.3.124 → 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/{cart-a2a94f35.js → cart-7e5608b4.js} +69 -1
- package/dist/cjs/index.cjs.js +7 -7
- package/dist/cjs/{isColorVariable-6f5a9608.js → isColorVariable-525dbfa7.js} +2 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{paypal-bf7d3c50.js → paypal-4c479f19.js} +1 -1
- package/dist/cjs/styles-d1e64fb9.js +16 -0
- package/dist/cjs/zonos-address_7.cjs.entry.js +30 -24
- 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 +17 -29
- package/dist/cjs/zonos-card.cjs.entry.js +8 -8
- package/dist/cjs/zonos-cart-items_13.cjs.entry.js +52 -35
- 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 +8 -6
- 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-elements.cjs.js +1 -1
- 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 +11 -10
- package/dist/cjs/zonos-shipping-rich-radio.cjs.entry.js +5 -5
- package/dist/cjs/zonos-text.cjs.entry.js +10 -6
- 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 +10 -5
- package/dist/collection/components/checkout/zonos-checkout/zonos-customer-info/zonos-customer-info.css +3 -3
- package/dist/collection/components/checkout/zonos-checkout/zonos-customer-info/zonos-customer-info.js +20 -2
- 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 +9 -5
- 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/zonos-hello.js +1 -1
- 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 +4 -4
- package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog.css +2 -2
- package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog.js +1 -1
- package/dist/collection/components/main/zonos-controller.css +2 -2
- package/dist/collection/components/main/zonos-controller.js +6 -4
- package/dist/collection/components/paypal/zonos-paypal-payment.css +2 -2
- package/dist/collection/components/store/checkout/cart.js +1 -1
- package/dist/collection/components/store/translationStore/strings.arabic.js +3 -0
- package/dist/collection/components/store/translationStore/strings.base.js +3 -0
- package/dist/collection/components/store/translationStore/strings.chinese.js +3 -0
- package/dist/collection/components/store/translationStore/strings.danish.js +3 -0
- package/dist/collection/components/store/translationStore/strings.dutch.js +3 -0
- package/dist/collection/components/store/translationStore/strings.french.js +3 -0
- package/dist/collection/components/store/translationStore/strings.german.js +3 -0
- package/dist/collection/components/store/translationStore/strings.hebrew.js +3 -0
- package/dist/collection/components/store/translationStore/strings.indonesian.js +3 -0
- package/dist/collection/components/store/translationStore/strings.italian.js +3 -0
- package/dist/collection/components/store/translationStore/strings.japanese.js +3 -0
- package/dist/collection/components/store/translationStore/strings.korean.js +3 -0
- package/dist/collection/components/store/translationStore/strings.norwegian.js +3 -0
- package/dist/collection/components/store/translationStore/strings.polish.js +3 -0
- package/dist/collection/components/store/translationStore/strings.portuguese.js +3 -0
- package/dist/collection/components/store/translationStore/strings.russian.js +3 -0
- package/dist/collection/components/store/translationStore/strings.spanish.js +3 -0
- package/dist/collection/components/store/translationStore/strings.swedish.js +3 -0
- package/dist/collection/components/store/translationStore/strings.turkish.js +3 -0
- package/dist/collection/components/store/translationStore/strings.vietnamese.js +3 -0
- package/dist/collection/components/stripe/zonos-address/zonos-address.css +2 -2
- package/dist/collection/components/stripe/zonos-link-authentication/zonos-link-authentication.css +6 -2
- package/dist/collection/components/stripe/zonos-link-authentication/zonos-link-authentication.js +45 -2
- package/dist/collection/components/stripe/zonos-payment/zonos-payment.css +2 -2
- package/dist/collection/components/stripe/zonos-payment/zonos-payment.js +1 -1
- package/dist/collection/components/utils/isColorVariable.js +2 -0
- package/dist/collection/styles/stripe/addressRuleStyle.js +9 -0
- package/dist/esm/{cart-7d97dbff.js → cart-65c7d5f1.js} +69 -1
- package/dist/esm/index.js +7 -7
- package/dist/esm/{isColorVariable-82457bef.js → isColorVariable-0a94004f.js} +2 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{paypal-7264946a.js → paypal-cd96efa7.js} +1 -1
- package/dist/esm/styles-6fc2fad9.js +14 -0
- package/dist/esm/zonos-address_7.entry.js +30 -24
- 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 +17 -29
- package/dist/esm/zonos-card.entry.js +8 -8
- package/dist/esm/zonos-cart-items_13.entry.js +52 -35
- 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 +8 -6
- 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-elements.js +1 -1
- 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 +11 -10
- package/dist/esm/zonos-shipping-rich-radio.entry.js +5 -5
- package/dist/esm/zonos-text.entry.js +11 -7
- 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 +1 -0
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/isColorVariable-0a94004f.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/{paypal-7264946a.js → paypal-cd96efa7.js} +1 -1
- package/dist/esm-es5/styles-6fc2fad9.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-elements.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.d.ts +31 -1
- package/dist/scripts/index.js +1 -1
- package/dist/scripts/loadZonos.js +1 -1
- package/dist/scripts/zonos.js +1 -1
- package/dist/types/components/checkout/zonos-checkout/zonos-customer-info/zonos-customer-info.d.ts +5 -0
- package/dist/types/components/store/checkout/cart.d.ts +1 -1
- package/dist/types/components/store/translationStore/strings.arabic.d.ts +3 -0
- package/dist/types/components/store/translationStore/strings.base.d.ts +3 -0
- package/dist/types/components/store/translationStore/strings.chinese.d.ts +3 -0
- package/dist/types/components/store/translationStore/strings.danish.d.ts +3 -0
- package/dist/types/components/store/translationStore/strings.dutch.d.ts +3 -0
- package/dist/types/components/store/translationStore/strings.french.d.ts +3 -0
- package/dist/types/components/store/translationStore/strings.german.d.ts +3 -0
- package/dist/types/components/store/translationStore/strings.hebrew.d.ts +3 -0
- package/dist/types/components/store/translationStore/strings.indonesian.d.ts +3 -0
- package/dist/types/components/store/translationStore/strings.italian.d.ts +3 -0
- package/dist/types/components/store/translationStore/strings.japanese.d.ts +3 -0
- package/dist/types/components/store/translationStore/strings.korean.d.ts +3 -0
- package/dist/types/components/store/translationStore/strings.norwegian.d.ts +3 -0
- package/dist/types/components/store/translationStore/strings.polish.d.ts +3 -0
- package/dist/types/components/store/translationStore/strings.portuguese.d.ts +3 -0
- package/dist/types/components/store/translationStore/strings.russian.d.ts +3 -0
- package/dist/types/components/store/translationStore/strings.spanish.d.ts +3 -0
- package/dist/types/components/store/translationStore/strings.swedish.d.ts +3 -0
- package/dist/types/components/store/translationStore/strings.turkish.d.ts +3 -0
- package/dist/types/components/store/translationStore/strings.vietnamese.d.ts +3 -0
- package/dist/types/components/store/translationStore.d.ts +1 -1
- package/dist/types/components/store/zonosStore.d.ts +3 -0
- package/dist/types/components/stripe/zonos-link-authentication/zonos-link-authentication.d.ts +9 -0
- package/dist/types/components.d.ts +27 -0
- 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-054a24bf.entry.js +1 -0
- 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-8e833a0c.system.js → p-0ceb45a9.system.js} +1 -1
- package/dist/zonos-elements/p-1aa93d1e.system.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-2cd05dd5.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-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-80a4d1e0.system.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-96d77739.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-c6f74e2c.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-1a7975a6.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-db6be6ab.system.js → p-f544a6b1.system.js} +1 -1
- package/dist/zonos-elements/p-f828bf3a.system.entry.js +1 -0
- package/dist/zonos-elements/{p-9368629a.js → p-f8827566.js} +1 -1
- 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/cart-7d97dbff.js +0 -1
- package/dist/esm-es5/isColorVariable-82457bef.js +0 -1
- package/dist/zonos-elements/p-02c97b12.system.entry.js +0 -1
- package/dist/zonos-elements/p-069a1891.entry.js +0 -1
- package/dist/zonos-elements/p-073bcd19.system.entry.js +0 -1
- package/dist/zonos-elements/p-0cedb17a.system.entry.js +0 -1
- package/dist/zonos-elements/p-149612d6.entry.js +0 -1
- package/dist/zonos-elements/p-1aed6403.system.entry.js +0 -1
- package/dist/zonos-elements/p-1e4f7997.system.entry.js +0 -1
- package/dist/zonos-elements/p-26be7ea7.entry.js +0 -1
- package/dist/zonos-elements/p-2763b93b.entry.js +0 -1
- package/dist/zonos-elements/p-28b79606.system.entry.js +0 -1
- package/dist/zonos-elements/p-3251fb8b.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-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-4afde7ca.system.entry.js +0 -1
- package/dist/zonos-elements/p-55d26aaa.system.entry.js +0 -1
- package/dist/zonos-elements/p-66eb66d1.js +0 -1
- package/dist/zonos-elements/p-68f30f18.system.entry.js +0 -1
- package/dist/zonos-elements/p-6cc6c6c4.entry.js +0 -1
- package/dist/zonos-elements/p-6de38759.entry.js +0 -1
- package/dist/zonos-elements/p-71a733d4.system.entry.js +0 -1
- package/dist/zonos-elements/p-78adf768.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-8138eb01.entry.js +0 -1
- package/dist/zonos-elements/p-8333a565.entry.js +0 -1
- package/dist/zonos-elements/p-861ed8e9.entry.js +0 -1
- package/dist/zonos-elements/p-86f0d69c.system.entry.js +0 -1
- package/dist/zonos-elements/p-8b1f00a6.entry.js +0 -1
- package/dist/zonos-elements/p-8dd3b09d.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-9c7618b3.system.entry.js +0 -1
- package/dist/zonos-elements/p-a17ebf04.system.entry.js +0 -1
- package/dist/zonos-elements/p-ab4d2507.system.entry.js +0 -1
- package/dist/zonos-elements/p-b31095d5.system.entry.js +0 -1
- package/dist/zonos-elements/p-c8f24421.entry.js +0 -1
- package/dist/zonos-elements/p-d1a3fa94.system.entry.js +0 -1
- package/dist/zonos-elements/p-d2ca12ed.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-de2fe7f5.entry.js +0 -1
- package/dist/zonos-elements/p-e23684e2.system.entry.js +0 -1
- package/dist/zonos-elements/p-e46bd90a.entry.js +0 -1
- package/dist/zonos-elements/p-ebb97202.entry.js +0 -1
- package/dist/zonos-elements/p-eeb2c2f4.system.entry.js +0 -1
- package/dist/zonos-elements/p-f399a2e5.system.js +0 -1
- package/dist/zonos-elements/p-ff6e4ea6.entry.js +0 -1
|
@@ -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(--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) {
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
|
2
|
-
import { zonosStoreFontFamily } from "../../store/zonosStore";
|
|
2
|
+
import { zonosStore, zonosStoreFontFamily, } from "../../store/zonosStore";
|
|
3
3
|
import { classes } from "../../utils/classes";
|
|
4
4
|
import { isColorVariable } from "../../utils/isColorVariable";
|
|
5
|
+
import { styles } from "../../utils/styles";
|
|
5
6
|
import { textOptions, } from "../../../types/styles/Text";
|
|
6
7
|
export class ZonosText {
|
|
7
8
|
constructor() {
|
|
@@ -44,10 +45,13 @@ export class ZonosText {
|
|
|
44
45
|
'zonos--elements',
|
|
45
46
|
`zonos--text-size-${textSize}`,
|
|
46
47
|
`zonos--text-weight-${textWeight}`,
|
|
47
|
-
]), style: {
|
|
48
|
-
'--color': actualTextColor,
|
|
49
|
-
'--font-family': zonosStoreFontFamily(),
|
|
50
|
-
|
|
48
|
+
]), style: styles({
|
|
49
|
+
'--zonos--color': actualTextColor,
|
|
50
|
+
'--zonos--font-family': zonosStoreFontFamily(),
|
|
51
|
+
'--zonos--font-size-base': zonosStore.appearance.fontSize
|
|
52
|
+
? `${zonosStore.appearance.fontSize}px`
|
|
53
|
+
: undefined,
|
|
54
|
+
}) }, renderText()));
|
|
51
55
|
}
|
|
52
56
|
static get is() { return "zonos-text"; }
|
|
53
57
|
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%;
|
|
@@ -7,9 +7,9 @@ export class ZonosToggle {
|
|
|
7
7
|
this.value = undefined;
|
|
8
8
|
}
|
|
9
9
|
render() {
|
|
10
|
-
return (h(Host, { key: '
|
|
11
|
-
'--font-family': zonosStoreFontFamily(),
|
|
12
|
-
} }, h("div", { key: '
|
|
10
|
+
return (h(Host, { key: 'c49d16b02ca854ead2b2652cc1e39a423fd67251', class: classes(['zonos--elements zonos--toggle']), style: {
|
|
11
|
+
'--zonos--font-family': zonosStoreFontFamily(),
|
|
12
|
+
} }, h("div", { key: 'cda75445836db4a4d8466e840eac952a18b3ad48', class: "wrapper" }, this.options.map(option => {
|
|
13
13
|
const selected = option.value === this.value;
|
|
14
14
|
return (h("button", { class: classes(['zonos--option', selected && 'selected']), key: option.value, onClick: () => {
|
|
15
15
|
this.toggleChanged.emit(option.value);
|
|
@@ -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%;
|
|
@@ -7,9 +7,9 @@ export class VStack {
|
|
|
7
7
|
this.spacing = 24;
|
|
8
8
|
}
|
|
9
9
|
render() {
|
|
10
|
-
return (h(Host, { key: '
|
|
11
|
-
'--font-family': zonosStoreFontFamily(),
|
|
12
|
-
} }, h("div", { key: '
|
|
10
|
+
return (h(Host, { key: '1c12857cdab3dcbfae5135d40cbf276451bbcf81', style: {
|
|
11
|
+
'--zonos--font-family': zonosStoreFontFamily(),
|
|
12
|
+
} }, h("div", { key: '8c88f2390c758ed9961daf1d9f5cadb3bd67b928', class: classes(['vstack']), style: { 'grid-row-gap': `${this.spacing}px` } }, h("slot", { key: 'fa31c9a430b53b837d840827097a56acbd033b8e' }))));
|
|
13
13
|
}
|
|
14
14
|
static get is() { return "zonos-v-stack"; }
|
|
15
15
|
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%;
|
|
@@ -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%;
|
|
@@ -451,7 +451,7 @@ export class ZonosHello {
|
|
|
451
451
|
"mutable": false,
|
|
452
452
|
"complexType": {
|
|
453
453
|
"original": "Partial<AppearanceConfig>",
|
|
454
|
-
"resolved": "undefined | { colorPrimary?: string | undefined; colorSecondary?: string | undefined; fontFamily?: string | undefined; logoUrl?: string | undefined; style?: ElementsUiStyle | undefined; theme?: ElementsUiTheme | undefined; zonosAttribution?: ZonosAttribution | null | undefined; }",
|
|
454
|
+
"resolved": "undefined | { colorPrimary?: string | undefined; colorSecondary?: string | undefined; fontFamily?: string | undefined; fontSize?: number | undefined; fontSizeInputLabel?: number | undefined; fontSizeInputValue?: number | undefined; logoUrl?: string | undefined; style?: ElementsUiStyle | undefined; theme?: ElementsUiTheme | undefined; zonosAttribution?: ZonosAttribution | null | undefined; }",
|
|
455
455
|
"references": {
|
|
456
456
|
"Partial": {
|
|
457
457
|
"location": "global",
|
|
@@ -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,7 +35,7 @@
|
|
|
35
35
|
text-align: left;
|
|
36
36
|
display: flex;
|
|
37
37
|
justify-content: space-between;
|
|
38
|
-
background: var(--primary-color, var(--zonos-elements-surface-color-secondary));
|
|
38
|
+
background: var(--zonos--primary-color, var(--zonos-elements-surface-color-secondary));
|
|
39
39
|
border-top: var(--zonos-elements-border);
|
|
40
40
|
padding: 12px;
|
|
41
41
|
align-items: center;
|
|
@@ -18,9 +18,9 @@ export class ZonosHelloDialogFooter {
|
|
|
18
18
|
const language = (_b = languages.find(x => x.code === localizationStore.selectedLocale)) === null || _b === void 0 ? void 0 : _b.translatedLabel;
|
|
19
19
|
// Only use gray-0 (white) when the background color is dark (apply inverted color if the element is using dark theme variable)
|
|
20
20
|
const mainColor = primaryColor && isDarkColor(primaryColor) ? 'white' : 'black';
|
|
21
|
-
return (h(Host, { key: 'a9b52a67a2db1967fe6fde4f19dc8d2785469f8a', class: "zonos--elements" }, h("div", { key: '
|
|
22
|
-
'--primary-color': primaryColor,
|
|
23
|
-
} }, h("a", { key: '
|
|
21
|
+
return (h(Host, { key: 'a9b52a67a2db1967fe6fde4f19dc8d2785469f8a', class: "zonos--elements" }, h("div", { key: '83ab5c0ef0cd0d3e59d5197d8d16e5cf8b6f9c54', class: "zonos--hello-dialog-footer", style: {
|
|
22
|
+
'--zonos--primary-color': primaryColor,
|
|
23
|
+
} }, h("a", { key: 'a87d05b7a59adc9362012ea8b19df45afc5f6b33', href: "https://zonos.com", target: "_blank", title: "Zonos website" }, h("zonos-icon", { key: 'b3ff790f651daa228b67354c972577093b731f2c', "aria-label": "Zonos Logo", autoHeight: true, content: ZonosIcon, iconColor: mainColor, size: 108 })), h("div", { key: '45c168a25c0d7d03d4fe70b05b7306cf7b784cd6', class: "zonos--hello-locale-wrapper" }, h("zonos-button", { key: '7263a0906b4e226c31ba6fdfa0c66c41c557d318', buttonColor: mainColor, icon: h("zonos-icon", { "aria-label": "Open language select", content: Globe, iconColor: mainColor }), onClick: () => this.setShowLanguageSelect(true), variant: "subtle" }, language), h("zonos-button", { key: '2f1789e1f8ac23b81b4c07c47a50a44b18baccfe', buttonColor: mainColor, icon: h("zonos-country-flag", { "aria-label": "Open country select", class: "zonos--footer-country-flag", countryCode: localizationStore.selectedCountryCode }), onClick: () => this.setShowCountrySelect(true), variant: "subtle" }, localizationStore.selectedCountryCode)))));
|
|
24
24
|
}
|
|
25
25
|
static get is() { return "zonos-hello-dialog-footer"; }
|
|
26
26
|
static get encapsulation() { return "shadow"; }
|
|
@@ -41,7 +41,7 @@ export class ZonosHelloDialogFooter {
|
|
|
41
41
|
"mutable": false,
|
|
42
42
|
"complexType": {
|
|
43
43
|
"original": "Partial<AppearanceConfig>",
|
|
44
|
-
"resolved": "undefined | { colorPrimary?: string | undefined; colorSecondary?: string | undefined; fontFamily?: string | undefined; logoUrl?: string | undefined; style?: ElementsUiStyle | undefined; theme?: ElementsUiTheme | undefined; zonosAttribution?: ZonosAttribution | null | undefined; }",
|
|
44
|
+
"resolved": "undefined | { colorPrimary?: string | undefined; colorSecondary?: string | undefined; fontFamily?: string | undefined; fontSize?: number | undefined; fontSizeInputLabel?: number | undefined; fontSizeInputValue?: number | undefined; logoUrl?: string | undefined; style?: ElementsUiStyle | undefined; theme?: ElementsUiTheme | undefined; zonosAttribution?: ZonosAttribution | null | undefined; }",
|
|
45
45
|
"references": {
|
|
46
46
|
"Partial": {
|
|
47
47
|
"location": "global",
|
|
@@ -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%;
|
|
@@ -348,7 +348,7 @@ export class ZonosHelloDialog {
|
|
|
348
348
|
"mutable": false,
|
|
349
349
|
"complexType": {
|
|
350
350
|
"original": "Partial<AppearanceConfig>",
|
|
351
|
-
"resolved": "undefined | { colorPrimary?: string | undefined; colorSecondary?: string | undefined; fontFamily?: string | undefined; logoUrl?: string | undefined; style?: ElementsUiStyle | undefined; theme?: ElementsUiTheme | undefined; zonosAttribution?: ZonosAttribution | null | undefined; }",
|
|
351
|
+
"resolved": "undefined | { colorPrimary?: string | undefined; colorSecondary?: string | undefined; fontFamily?: string | undefined; fontSize?: number | undefined; fontSizeInputLabel?: number | undefined; fontSizeInputValue?: number | undefined; logoUrl?: string | undefined; style?: ElementsUiStyle | undefined; theme?: ElementsUiTheme | undefined; zonosAttribution?: ZonosAttribution | null | undefined; }",
|
|
352
352
|
"references": {
|
|
353
353
|
"Partial": {
|
|
354
354
|
"location": "global",
|
|
@@ -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%;
|