@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
|
@@ -55,13 +55,15 @@ export class ZonosController {
|
|
|
55
55
|
searchParams.set('family', fontSelected);
|
|
56
56
|
const { errors, json } = await handleFetch(`/api/zonos-elements/get-font-detail?${searchParams.toString()}`);
|
|
57
57
|
// Keep using Inter font, font in the setting maybe outdated and not found in google font, API will return Inter font instead
|
|
58
|
-
if (errors.length > 0
|
|
58
|
+
if (errors.length > 0) {
|
|
59
59
|
log(`Failed to load font ${fontSelected}`, 'warn');
|
|
60
60
|
zonosStore.appearance = Object.assign(Object.assign({}, zonosStore.appearance), { fontFamily: 'Inter' });
|
|
61
61
|
return;
|
|
62
62
|
}
|
|
63
|
-
const fontUrl = json.fontUrl;
|
|
64
|
-
|
|
63
|
+
const fontUrl = json === null || json === void 0 ? void 0 : json.fontUrl;
|
|
64
|
+
if (fontUrl) {
|
|
65
|
+
(_b = (_a = window.Zonos).injectSupportGoogleFont) === null || _b === void 0 ? void 0 : _b.call(_a, fontUrl);
|
|
66
|
+
}
|
|
65
67
|
if (!overrideFont) {
|
|
66
68
|
return;
|
|
67
69
|
}
|
|
@@ -204,7 +206,7 @@ export class ZonosController {
|
|
|
204
206
|
zonosStore.organizationName = organizationName;
|
|
205
207
|
}
|
|
206
208
|
render() {
|
|
207
|
-
return h(Host, { key: '
|
|
209
|
+
return h(Host, { key: '20b7c1424c04dcf837b80edf57a3e8d74d1d230a', class: "zonos--elements" });
|
|
208
210
|
}
|
|
209
211
|
static get is() { return "zonos-controller"; }
|
|
210
212
|
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%;
|
|
@@ -221,6 +221,9 @@ export const stringsArabic = {
|
|
|
221
221
|
'Please ensure your text uses the Latin alphabet only (A-Z, a-z).': {
|
|
222
222
|
value: 'يرجى التأكد من أن نصك يستخدم الأبجدية اللاتينية فقط (A-Z, a-z).',
|
|
223
223
|
},
|
|
224
|
+
'Please enter a valid email address.': {
|
|
225
|
+
value: 'يرجى إدخال عنوان بريد إلكتروني صالح.',
|
|
226
|
+
},
|
|
224
227
|
'Postal code': {
|
|
225
228
|
value: 'الرمز البريدي',
|
|
226
229
|
},
|
|
@@ -221,6 +221,9 @@ export const stringsBase = {
|
|
|
221
221
|
'Please ensure your text uses the Latin alphabet only (A-Z, a-z).': {
|
|
222
222
|
value: 'Please ensure your text uses the Latin alphabet only (A-Z, a-z).',
|
|
223
223
|
},
|
|
224
|
+
'Please enter a valid email address.': {
|
|
225
|
+
value: 'Please enter a valid email address.',
|
|
226
|
+
},
|
|
224
227
|
'Postal code': {
|
|
225
228
|
value: 'Postal code',
|
|
226
229
|
},
|
|
@@ -221,6 +221,9 @@ export const stringsChinese = {
|
|
|
221
221
|
'Please ensure your text uses the Latin alphabet only (A-Z, a-z).': {
|
|
222
222
|
value: '请确保您的文本仅使用拉丁字母表(A-Z, a-z)。',
|
|
223
223
|
},
|
|
224
|
+
'Please enter a valid email address.': {
|
|
225
|
+
value: '请输入有效的电子邮件地址。',
|
|
226
|
+
},
|
|
224
227
|
'Postal code': {
|
|
225
228
|
value: '邮政编码',
|
|
226
229
|
},
|
|
@@ -221,6 +221,9 @@ export const stringsDanish = {
|
|
|
221
221
|
'Please ensure your text uses the Latin alphabet only (A-Z, a-z).': {
|
|
222
222
|
value: 'Sørg venligst for, at din tekst kun bruger det latinske alfabet (A-Z, a-z).',
|
|
223
223
|
},
|
|
224
|
+
'Please enter a valid email address.': {
|
|
225
|
+
value: 'Indtast venligst en gyldig e-mailadresse.',
|
|
226
|
+
},
|
|
224
227
|
'Postal code': {
|
|
225
228
|
value: 'Postnummer',
|
|
226
229
|
},
|
|
@@ -221,6 +221,9 @@ export const stringsDutch = {
|
|
|
221
221
|
'Please ensure your text uses the Latin alphabet only (A-Z, a-z).': {
|
|
222
222
|
value: 'Zorg ervoor dat uw tekst alleen het Latijnse alfabet gebruikt (A-Z, a-z).',
|
|
223
223
|
},
|
|
224
|
+
'Please enter a valid email address.': {
|
|
225
|
+
value: 'Voer een geldig e-mailadres in.',
|
|
226
|
+
},
|
|
224
227
|
'Postal code': {
|
|
225
228
|
value: 'Postcode',
|
|
226
229
|
},
|
|
@@ -221,6 +221,9 @@ export const stringsFrench = {
|
|
|
221
221
|
'Please ensure your text uses the Latin alphabet only (A-Z, a-z).': {
|
|
222
222
|
value: "Veuillez vous assurer que votre texte utilise uniquement l'alphabet latin (A-Z, a-z).",
|
|
223
223
|
},
|
|
224
|
+
'Please enter a valid email address.': {
|
|
225
|
+
value: 'Veuillez entrer une adresse e-mail valide.',
|
|
226
|
+
},
|
|
224
227
|
'Postal code': {
|
|
225
228
|
value: 'Code postal',
|
|
226
229
|
},
|
|
@@ -221,6 +221,9 @@ export const stringsGerman = {
|
|
|
221
221
|
'Please ensure your text uses the Latin alphabet only (A-Z, a-z).': {
|
|
222
222
|
value: 'Bitte stellen Sie sicher, dass Ihr Text nur das lateinische Alphabet verwendet (A-Z, a-z).',
|
|
223
223
|
},
|
|
224
|
+
'Please enter a valid email address.': {
|
|
225
|
+
value: 'Bitte geben Sie eine gültige E-Mail-Adresse ein.',
|
|
226
|
+
},
|
|
224
227
|
'Postal code': {
|
|
225
228
|
value: 'Postleitzahl',
|
|
226
229
|
},
|
|
@@ -221,6 +221,9 @@ export const stringsHebrew = {
|
|
|
221
221
|
'Please ensure your text uses the Latin alphabet only (A-Z, a-z).': {
|
|
222
222
|
value: 'אנא ודא שהטקסט שלך משתמש באלפבית הלטיני בלבד (A-Z, a-z).',
|
|
223
223
|
},
|
|
224
|
+
'Please enter a valid email address.': {
|
|
225
|
+
value: 'אנא הזן כתובת דוא"ל חוקית.',
|
|
226
|
+
},
|
|
224
227
|
'Postal code': {
|
|
225
228
|
value: 'מיקוד',
|
|
226
229
|
},
|
|
@@ -221,6 +221,9 @@ export const stringsIndonesian = {
|
|
|
221
221
|
'Please ensure your text uses the Latin alphabet only (A-Z, a-z).': {
|
|
222
222
|
value: 'Harap pastikan teks Anda hanya menggunakan alfabet Latin (A-Z, a-z).',
|
|
223
223
|
},
|
|
224
|
+
'Please enter a valid email address.': {
|
|
225
|
+
value: 'Silakan masukkan alamat email yang valid.',
|
|
226
|
+
},
|
|
224
227
|
'Postal code': {
|
|
225
228
|
value: 'Kode Pos',
|
|
226
229
|
},
|
|
@@ -221,6 +221,9 @@ export const stringsItalian = {
|
|
|
221
221
|
'Please ensure your text uses the Latin alphabet only (A-Z, a-z).': {
|
|
222
222
|
value: "Si prega di assicurarsi che il testo utilizzi solo l'alfabeto latino (A-Z, a-z).",
|
|
223
223
|
},
|
|
224
|
+
'Please enter a valid email address.': {
|
|
225
|
+
value: 'Per favore, inserisci un indirizzo email valido.',
|
|
226
|
+
},
|
|
224
227
|
'Postal code': {
|
|
225
228
|
value: 'Codice postale',
|
|
226
229
|
},
|
|
@@ -221,6 +221,9 @@ export const stringsJapanese = {
|
|
|
221
221
|
'Please ensure your text uses the Latin alphabet only (A-Z, a-z).': {
|
|
222
222
|
value: 'テキストがラテンアルファベットのみを使用していることを確認してください(A-Z、a-z)。',
|
|
223
223
|
},
|
|
224
|
+
'Please enter a valid email address.': {
|
|
225
|
+
value: '有効なメールアドレスを入力してください。',
|
|
226
|
+
},
|
|
224
227
|
'Postal code': {
|
|
225
228
|
value: '郵便番号',
|
|
226
229
|
},
|
|
@@ -221,6 +221,9 @@ export const stringsKorean = {
|
|
|
221
221
|
'Please ensure your text uses the Latin alphabet only (A-Z, a-z).': {
|
|
222
222
|
value: '텍스트가 라틴 알파벳만 사용하는지 확인해 주세요 (A-Z, a-z).',
|
|
223
223
|
},
|
|
224
|
+
'Please enter a valid email address.': {
|
|
225
|
+
value: '유효한 이메일 주소를 입력하세요.',
|
|
226
|
+
},
|
|
224
227
|
'Postal code': {
|
|
225
228
|
value: '우편 번호',
|
|
226
229
|
},
|
|
@@ -221,6 +221,9 @@ export const stringsNorwegian = {
|
|
|
221
221
|
'Please ensure your text uses the Latin alphabet only (A-Z, a-z).': {
|
|
222
222
|
value: 'Vennligst sørg for at teksten din kun bruker det latinske alfabetet (A-Z, a-z).',
|
|
223
223
|
},
|
|
224
|
+
'Please enter a valid email address.': {
|
|
225
|
+
value: 'Vennligst skriv inn en gyldig e-postadresse.',
|
|
226
|
+
},
|
|
224
227
|
'Postal code': {
|
|
225
228
|
value: 'Postnummer',
|
|
226
229
|
},
|
|
@@ -221,6 +221,9 @@ export const stringsPolish = {
|
|
|
221
221
|
'Please ensure your text uses the Latin alphabet only (A-Z, a-z).': {
|
|
222
222
|
value: 'Proszę upewnić się, że tekst używa tylko alfabetu łacińskiego (A-Z, a-z).',
|
|
223
223
|
},
|
|
224
|
+
'Please enter a valid email address.': {
|
|
225
|
+
value: 'Proszę wprowadzić prawidłowy adres e-mail.',
|
|
226
|
+
},
|
|
224
227
|
'Postal code': {
|
|
225
228
|
value: 'Kod pocztowy',
|
|
226
229
|
},
|
|
@@ -221,6 +221,9 @@ export const stringsPortuguese = {
|
|
|
221
221
|
'Please ensure your text uses the Latin alphabet only (A-Z, a-z).': {
|
|
222
222
|
value: 'Por favor, certifique-se de que seu texto utilize apenas o alfabeto latino (A-Z, a-z).',
|
|
223
223
|
},
|
|
224
|
+
'Please enter a valid email address.': {
|
|
225
|
+
value: 'Por favor, insira um endereço de e-mail válido.',
|
|
226
|
+
},
|
|
224
227
|
'Postal code': {
|
|
225
228
|
value: 'Código Postal',
|
|
226
229
|
},
|
|
@@ -221,6 +221,9 @@ export const stringsRussian = {
|
|
|
221
221
|
'Please ensure your text uses the Latin alphabet only (A-Z, a-z).': {
|
|
222
222
|
value: 'Пожалуйста, убедитесь, что ваш текст использует только латинский алфавит (A-Z, a-z).',
|
|
223
223
|
},
|
|
224
|
+
'Please enter a valid email address.': {
|
|
225
|
+
value: 'Пожалуйста, введите действительный адрес электронной почты.',
|
|
226
|
+
},
|
|
224
227
|
'Postal code': {
|
|
225
228
|
value: 'Почтовый индекс',
|
|
226
229
|
},
|
|
@@ -221,6 +221,9 @@ export const stringsSpanish = {
|
|
|
221
221
|
'Please ensure your text uses the Latin alphabet only (A-Z, a-z).': {
|
|
222
222
|
value: 'Por favor, asegúrese de que su texto use solo el alfabeto latino (A-Z, a-z).',
|
|
223
223
|
},
|
|
224
|
+
'Please enter a valid email address.': {
|
|
225
|
+
value: 'Por favor, introduce una dirección de correo electrónico válida.',
|
|
226
|
+
},
|
|
224
227
|
'Postal code': {
|
|
225
228
|
value: 'Código postal',
|
|
226
229
|
},
|
|
@@ -221,6 +221,9 @@ export const stringsSwedish = {
|
|
|
221
221
|
'Please ensure your text uses the Latin alphabet only (A-Z, a-z).': {
|
|
222
222
|
value: 'Vänligen se till att din text endast använder det latinska alfabetet (A-Z, a-z).',
|
|
223
223
|
},
|
|
224
|
+
'Please enter a valid email address.': {
|
|
225
|
+
value: 'Vänligen ange en giltig e-postadress.',
|
|
226
|
+
},
|
|
224
227
|
'Postal code': {
|
|
225
228
|
value: 'Postnummer',
|
|
226
229
|
},
|
|
@@ -221,6 +221,9 @@ export const stringsTurkish = {
|
|
|
221
221
|
'Please ensure your text uses the Latin alphabet only (A-Z, a-z).': {
|
|
222
222
|
value: 'Lütfen metninizin sadece Latin alfabesini kullandığından emin olun (A-Z, a-z).',
|
|
223
223
|
},
|
|
224
|
+
'Please enter a valid email address.': {
|
|
225
|
+
value: 'Lütfen geçerli bir e-posta adresi girin.',
|
|
226
|
+
},
|
|
224
227
|
'Postal code': {
|
|
225
228
|
value: 'Posta kodu',
|
|
226
229
|
},
|
|
@@ -221,6 +221,9 @@ export const stringsVietnamese = {
|
|
|
221
221
|
'Please ensure your text uses the Latin alphabet only (A-Z, a-z).': {
|
|
222
222
|
value: 'Vui lòng đảm bảo rằng văn bản của bạn chỉ sử dụng bảng chữ cái Latinh (A-Z, a-z).',
|
|
223
223
|
},
|
|
224
|
+
'Please enter a valid email address.': {
|
|
225
|
+
value: 'Vui lòng nhập địa chỉ email hợp lệ.',
|
|
226
|
+
},
|
|
224
227
|
'Postal code': {
|
|
225
228
|
value: 'Mã bưu điện',
|
|
226
229
|
},
|
|
@@ -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/stripe/zonos-link-authentication/zonos-link-authentication.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%;
|
|
@@ -33,4 +33,8 @@
|
|
|
33
33
|
|
|
34
34
|
:host .zonos--title {
|
|
35
35
|
margin-bottom: 16px;
|
|
36
|
+
}
|
|
37
|
+
:host .zonos--input-invalid {
|
|
38
|
+
border: 2px solid var(--zonos-elements-red-600);
|
|
39
|
+
border-radius: var(--zonos--border-radius);
|
|
36
40
|
}
|
package/dist/collection/components/stripe/zonos-link-authentication/zonos-link-authentication.js
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
2
|
-
import { h, Host } from "@stencil/core";
|
|
2
|
+
import { h, Host, } from "@stencil/core";
|
|
3
3
|
import { stripeStore } from "../../store/checkout/stripe";
|
|
4
|
+
import { translate } from "../../store/translationStore";
|
|
5
|
+
import { getBorderRadius } from "../../utils/getBorderRadius";
|
|
4
6
|
import { logError } from "../../utils/logging/logError";
|
|
5
7
|
/**
|
|
6
8
|
* This component is a wrapper for the stripe authentication element that would render default style object
|
|
@@ -9,6 +11,7 @@ export class ZonosLinkAuthentication {
|
|
|
9
11
|
constructor() {
|
|
10
12
|
this.titleText = undefined;
|
|
11
13
|
this.defaultEmail = null;
|
|
14
|
+
this.isEmailError = false;
|
|
12
15
|
this.stripe = stripeStore.stripe;
|
|
13
16
|
}
|
|
14
17
|
watchInitStripe() {
|
|
@@ -32,7 +35,9 @@ export class ZonosLinkAuthentication {
|
|
|
32
35
|
}
|
|
33
36
|
linkAuthenticationElement.mount(linkAuthenticationElementContainer);
|
|
34
37
|
linkAuthenticationElement.on('change', event => {
|
|
38
|
+
var _a;
|
|
35
39
|
stripeStore.stripeLinkEventData = event;
|
|
40
|
+
(_a = this.linkAuthenticationChange) === null || _a === void 0 ? void 0 : _a.emit();
|
|
36
41
|
});
|
|
37
42
|
stripeStore.stripeLinkElement = linkAuthenticationElement;
|
|
38
43
|
}
|
|
@@ -42,7 +47,9 @@ export class ZonosLinkAuthentication {
|
|
|
42
47
|
}
|
|
43
48
|
render() {
|
|
44
49
|
// this component loads iframe from the stripe elements and puts here, so we don't need to do anything here
|
|
45
|
-
return (h(Host, { key: '
|
|
50
|
+
return (h(Host, { key: '7950960b06faca8192a2132d8543013a99a0e5ba', class: "zonos--link-authentication zonos--elements", style: {
|
|
51
|
+
'--zonos--border-radius': getBorderRadius(),
|
|
52
|
+
} }, h("zonos-text", { key: '1f8f7f96e39f0d0c0b4012846b27fef994aa9db1', class: "zonos--title", type: "semiBoldLabel" }, this.titleText), h("div", { key: '4b6b2471fe7254cea24b628284451bd46146f001', class: `zonos--link-authentication-component ${this.isEmailError && 'zonos--input-invalid'}` }), this.isEmailError && (h("zonos-text", { key: '3d55092ae5c569641c0ae915e63abe005f362207', textColor: "red-600" }, translate('Please enter a valid email address.')))));
|
|
46
53
|
}
|
|
47
54
|
static get is() { return "zonos-link-authentication"; }
|
|
48
55
|
static get encapsulation() { return "scoped"; }
|
|
@@ -92,6 +99,24 @@ export class ZonosLinkAuthentication {
|
|
|
92
99
|
"attribute": "default-email",
|
|
93
100
|
"reflect": false,
|
|
94
101
|
"defaultValue": "null"
|
|
102
|
+
},
|
|
103
|
+
"isEmailError": {
|
|
104
|
+
"type": "boolean",
|
|
105
|
+
"mutable": false,
|
|
106
|
+
"complexType": {
|
|
107
|
+
"original": "boolean",
|
|
108
|
+
"resolved": "boolean",
|
|
109
|
+
"references": {}
|
|
110
|
+
},
|
|
111
|
+
"required": false,
|
|
112
|
+
"optional": false,
|
|
113
|
+
"docs": {
|
|
114
|
+
"tags": [],
|
|
115
|
+
"text": "Email error text to dispaly"
|
|
116
|
+
},
|
|
117
|
+
"attribute": "is-email-error",
|
|
118
|
+
"reflect": false,
|
|
119
|
+
"defaultValue": "false"
|
|
95
120
|
}
|
|
96
121
|
};
|
|
97
122
|
}
|
|
@@ -100,6 +125,24 @@ export class ZonosLinkAuthentication {
|
|
|
100
125
|
"stripe": {}
|
|
101
126
|
};
|
|
102
127
|
}
|
|
128
|
+
static get events() {
|
|
129
|
+
return [{
|
|
130
|
+
"method": "linkAuthenticationChange",
|
|
131
|
+
"name": "linkAuthenticationChange",
|
|
132
|
+
"bubbles": true,
|
|
133
|
+
"cancelable": true,
|
|
134
|
+
"composed": true,
|
|
135
|
+
"docs": {
|
|
136
|
+
"tags": [],
|
|
137
|
+
"text": "Event emitted when the authentication element changes"
|
|
138
|
+
},
|
|
139
|
+
"complexType": {
|
|
140
|
+
"original": "void",
|
|
141
|
+
"resolved": "void",
|
|
142
|
+
"references": {}
|
|
143
|
+
}
|
|
144
|
+
}];
|
|
145
|
+
}
|
|
103
146
|
static get elementRef() { return "el"; }
|
|
104
147
|
static get watchers() {
|
|
105
148
|
return [{
|
|
@@ -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%;
|
|
@@ -36,7 +36,7 @@ export class ZonosPayment {
|
|
|
36
36
|
}
|
|
37
37
|
render() {
|
|
38
38
|
// this component loads iframe from the stripe elements and puts here, so we don't need to do anything here
|
|
39
|
-
return (h(Host, { key: '
|
|
39
|
+
return (h(Host, { key: 'cf616ec959fd1b7396ed86b23561f459e0da8722', class: "zonos--payment zonos--elements" }, this.titleText && (h("zonos-text", { key: 'e5564db71ba2c0d67d372cb1804d6d462cdf1b33', class: "zonos--title", type: "semiBoldLabel" }, this.titleText)), h("div", { key: '3ea47f2c0a541590210d181bc73ecb3fb27e7783', class: "zonos--payment-component" }), h("div", { key: 'd3a46a127448568caf4309806e88556594075c12', class: "zonos--payment-paypal-container" })));
|
|
40
40
|
}
|
|
41
41
|
static get is() { return "zonos-payment"; }
|
|
42
42
|
static get encapsulation() { return "scoped"; }
|
|
@@ -2,6 +2,8 @@ export const isColorVariable = (color) => {
|
|
|
2
2
|
const isAminoVariable = color &&
|
|
3
3
|
// match --zonos-elements-<color>
|
|
4
4
|
(/--zonos-elements-/gi.test(color) ||
|
|
5
|
+
// match --zonos--<color>
|
|
6
|
+
/--zonos--/gi.test(color) ||
|
|
5
7
|
// match 'gray-0'
|
|
6
8
|
/(\-*)\w+-\d+/gi.test(color));
|
|
7
9
|
return (!!isAminoVariable &&
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { zonosStore } from "../../components/store/zonosStore";
|
|
1
2
|
export const addressRuleStyle = ({ theme, }) => {
|
|
2
3
|
const defaultStyle = {
|
|
3
4
|
'.AccordionItem': {
|
|
@@ -11,6 +12,9 @@ export const addressRuleStyle = ({ theme, }) => {
|
|
|
11
12
|
},
|
|
12
13
|
'.Input': {
|
|
13
14
|
boxShadow: 'none',
|
|
15
|
+
fontSize: zonosStore.appearance.fontSizeInputValue
|
|
16
|
+
? `${zonosStore.appearance.fontSizeInputValue}px`
|
|
17
|
+
: undefined,
|
|
14
18
|
// need to reset everything and the paddingTop to default, otherwise the paddingTop will not be updated.
|
|
15
19
|
padding: '0',
|
|
16
20
|
paddingBottom: '8px',
|
|
@@ -19,6 +23,11 @@ export const addressRuleStyle = ({ theme, }) => {
|
|
|
19
23
|
// any value here will be add up to the default paddingTop (20px).
|
|
20
24
|
paddingTop: '6px',
|
|
21
25
|
},
|
|
26
|
+
'.Label--resting': {
|
|
27
|
+
fontSize: zonosStore.appearance.fontSizeInputLabel
|
|
28
|
+
? `${zonosStore.appearance.fontSizeInputLabel}px`
|
|
29
|
+
: undefined,
|
|
30
|
+
},
|
|
22
31
|
'.PickerItem--highlight': {
|
|
23
32
|
boxShadow: '0 0 0 2px var(--colorBackground)',
|
|
24
33
|
},
|