@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
|
@@ -2,7 +2,7 @@ import { r as registerInstance, h, H as Host } from './index-86b8247e.js';
|
|
|
2
2
|
import { d as zonosStoreFontFamily } from './zonosStore-6b5bd87c.js';
|
|
3
3
|
import { c as classes } from './classes-0d95c529.js';
|
|
4
4
|
|
|
5
|
-
const zonosBannerCss = ":host{font-family:var(--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host{border-radius:var(--zonos-elements-radius-10);padding:16px;background:var(--zonos-elements-gray-100)}:host .zonos--container{display:grid;-ms-flex-align:center;align-items:center;grid-template-areas:\"icon header\" \". content\";grid-template-columns:32px auto 0}:host .zonos--icon-wrapper{grid-area:icon;display:-ms-flexbox;display:flex;justify-self:start}:host .zonos--header-wrapper{margin-top:0px;grid-area:header}:host .zonos--content-wrapper{grid-area:content;margin-top:4px}:host(.info){background-color:var(--zonos-elements-blue-100);border:1px solid var(--zonos-elements-blue-200)}:host(.success){background-color:var(--zonos-elements-green-100);border:1px solid var(--zonos-elements-green-200)}:host(.error){background-color:var(--zonos-elements-red-100);border:1px solid var(--zonos-elements-red-200)}:host(.warning){background-color:var(--zonos-elements-orange-100);border:1px solid var(--zonos-elements-orange-200)}";
|
|
5
|
+
const zonosBannerCss = ":host{font-family:var(--zonos--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--zonos--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host{border-radius:var(--zonos-elements-radius-10);padding:16px;background:var(--zonos-elements-gray-100)}:host .zonos--container{display:grid;-ms-flex-align:center;align-items:center;grid-template-areas:\"icon header\" \". content\";grid-template-columns:32px auto 0}:host .zonos--icon-wrapper{grid-area:icon;display:-ms-flexbox;display:flex;justify-self:start}:host .zonos--header-wrapper{margin-top:0px;grid-area:header}:host .zonos--content-wrapper{grid-area:content;margin-top:4px}:host(.info){background-color:var(--zonos-elements-blue-100);border:1px solid var(--zonos-elements-blue-200)}:host(.success){background-color:var(--zonos-elements-green-100);border:1px solid var(--zonos-elements-green-200)}:host(.error){background-color:var(--zonos-elements-red-100);border:1px solid var(--zonos-elements-red-200)}:host(.warning){background-color:var(--zonos-elements-orange-100);border:1px solid var(--zonos-elements-orange-200)}";
|
|
6
6
|
const ZonosBannerStyle0 = zonosBannerCss;
|
|
7
7
|
|
|
8
8
|
const ZonosBanner = class {
|
|
@@ -34,31 +34,31 @@ const ZonosBanner = class {
|
|
|
34
34
|
switch (this.intent) {
|
|
35
35
|
case 'error':
|
|
36
36
|
return (h(Host, { class: baseClass, style: {
|
|
37
|
-
'--font-family': font,
|
|
37
|
+
'--zonos--font-family': font,
|
|
38
38
|
} }, renderContent({
|
|
39
39
|
color: 'red',
|
|
40
40
|
})));
|
|
41
41
|
case 'info':
|
|
42
42
|
return (h(Host, { class: baseClass, style: {
|
|
43
|
-
'--font-family': font,
|
|
43
|
+
'--zonos--font-family': font,
|
|
44
44
|
} }, renderContent({
|
|
45
45
|
color: 'blue',
|
|
46
46
|
})));
|
|
47
47
|
case 'success':
|
|
48
48
|
return (h(Host, { class: baseClass, style: {
|
|
49
|
-
'--font-family': font,
|
|
49
|
+
'--zonos--font-family': font,
|
|
50
50
|
} }, renderContent({
|
|
51
51
|
color: 'green',
|
|
52
52
|
})));
|
|
53
53
|
case 'warning':
|
|
54
54
|
return (h(Host, { class: baseClass, style: {
|
|
55
|
-
'--font-family': font,
|
|
55
|
+
'--zonos--font-family': font,
|
|
56
56
|
} }, renderContent({
|
|
57
57
|
color: 'orange',
|
|
58
58
|
})));
|
|
59
59
|
default:
|
|
60
60
|
return (h(Host, { class: baseClass, style: {
|
|
61
|
-
'--font-family': font,
|
|
61
|
+
'--zonos--font-family': font,
|
|
62
62
|
} }, renderContent({
|
|
63
63
|
color: 'gray',
|
|
64
64
|
})));
|
|
@@ -2,8 +2,9 @@ import { r as registerInstance, h, H as Host, d as getElement } from './index-86
|
|
|
2
2
|
import { z as zonosStore, d as zonosStoreFontFamily } from './zonosStore-6b5bd87c.js';
|
|
3
3
|
import { c as classes } from './classes-0d95c529.js';
|
|
4
4
|
import { g as getBorderRadius } from './getBorderRadius-008516a4.js';
|
|
5
|
-
import { i as isColorVariable } from './isColorVariable-
|
|
5
|
+
import { i as isColorVariable } from './isColorVariable-0a94004f.js';
|
|
6
6
|
import { i as isDarkColor } from './isDarkColor-dc08fa26.js';
|
|
7
|
+
import { s as styles } from './styles-6fc2fad9.js';
|
|
7
8
|
|
|
8
9
|
/**
|
|
9
10
|
* Get theme for button text based on background color
|
|
@@ -24,20 +25,7 @@ const isElementUsingDarkTheme = (element) => isDarkColor(window
|
|
|
24
25
|
.getComputedStyle(element)
|
|
25
26
|
.getPropertyValue('--zonos-elements-gray-0'));
|
|
26
27
|
|
|
27
|
-
|
|
28
|
-
* Filter out all of the undefined values from the object so we don't have undefined css variable values
|
|
29
|
-
*/
|
|
30
|
-
const styles = (props) => {
|
|
31
|
-
// loop through the object and filter out all of the underfined values
|
|
32
|
-
return Object.entries(props).reduce((acc, [key, value]) => {
|
|
33
|
-
if (value) {
|
|
34
|
-
acc[key] = value;
|
|
35
|
-
}
|
|
36
|
-
return acc;
|
|
37
|
-
}, {});
|
|
38
|
-
};
|
|
39
|
-
|
|
40
|
-
const zonosButtonCss = ":host{font-family:var(--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host{display:-ms-inline-flexbox;display:inline-flex;border-radius:var(--border-radius, var(--zonos-elements-radius-10))}:host .zonos--spinner-wrapper{position:absolute;top:0;left:0;right:0;bottom:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;background-color:var(--zonos-elements-surface-color);-ms-flex-pack:center;justify-content:center;border-radius:var(--zonos-elements-radius-10);gap:8px}:host button{width:100%;position:relative;font-size:14px;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;background-color:var(--zonos-elements-surface-color);border:none;outline:1px solid var(--zonos-elements-surface-color);border-radius:var(--border-radius, var(--zonos-elements-radius-10));-webkit-transition:var(--zonos-elements-transition);transition:var(--zonos-elements-transition);font-weight:500;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-family:var(--font-family, Inter), Inter;letter-spacing:normal;cursor:pointer;white-space:nowrap;padding:8px 24px;color:var(--color, var(--zonos-elements-gray-1000));margin:1px;}:host button:not([disabled]):hover{background-image:var(--zonos-elements-button-standard-hover)}:host button:not([disabled]):active{background:var(--zonos-elements-gray-700)}:host button:not([disabled]):focus{-webkit-box-shadow:var(--zonos-elements-focus-button);box-shadow:var(--zonos-elements-focus-button)}:host button.with-box-shadow{-webkit-box-shadow:var(--zonos-elements-shadow-button-standard);box-shadow:var(--zonos-elements-shadow-button-standard)}:host button.sm.no-background,:host button.md.no-background,:host button.lg.no-background{background:none;outline:none}:host button.sm.no-padding-left,:host button.md.no-padding-left,:host button.lg.no-padding-left{padding-left:0}:host button.sm.no-padding-right,:host button.md.no-padding-right,:host button.lg.no-padding-right{padding-right:0}:host button[disabled]{cursor:not-allowed;background-color:var(--background-color, var(--zonos-elements-gray-200))}:host button[disabled] .zonos--spinner-wrapper{background-color:var(--background-color, var(--zonos-elements-gray-200))}:host button:active{-webkit-transform:scale(0.99);transform:scale(0.99)}:host button.sm{height:var(--zonos-elements-size-sm);line-height:var(--zonos-elements-size-sm);padding:4px 8px}:host button.sm:not(.has-content).has-icon{padding:0 4px}:host button.md{height:var(--zonos-elements-size-md);line-height:var(--zonos-elements-size-md);padding:8px 16px}:host button.md:not(.has-content).has-icon{padding:0 8px}:host button.lg{height:var(--zonos-elements-size-lg);line-height:var(--zonos-elements-size-lg);padding:12px 24px}:host button.lg:not(.has-content).has-icon{padding:0 16px}:host button:not(.only-icon).has-icon{gap:8px}@media (max-width: 400px){:host button:not(.only-icon).has-icon{font-size:var(--zonos-elements-font-size-s)}}:host button.override-background{background-color:var(--background-color, var(--zonos-elements-gray-0));color:var(--color, var(--zonos-elements-gray-1000));outline:1px solid var(--background-color, var(--zonos-elements-gray-0))}:host button.override-background:disabled{opacity:0.8}:host button.override-background:not(:disabled):hover{opacity:0.9}:host button:not(.override-background){}:host button:not(.override-background).primary{background:var(--zonos-elements-blue-600);outline:1px solid var(--zonos-elements-blue-600);color:var(--zonos-elements-gray-0)}:host button:not(.override-background).primary:not([disabled]):hover{background-image:var(--zonos-elements-button-primary-hover)}:host button:not(.override-background).primary:not([disabled]):active{background:var(--zonos-elements-blue-700)}:host button:not(.override-background).primary:not([disabled]):focus{-webkit-box-shadow:var(--zonos-elements-focus-button);box-shadow:var(--zonos-elements-focus-button)}:host button:not(.override-background).primary[disabled]{background:var(--zonos-elements-blue-400)}:host button:not(.override-background).primary[disabled] .zonos--spinner-wrapper{background-color:var(--zonos-elements-blue-400)}:host button:not(.override-background).primary .zonos--spinner-wrapper{background-color:var(--zonos-elements-blue-600)}:host button:not(.override-background).success{background:var(--zonos-elements-green-600);outline:1px solid var(--zonos-elements-green-600);color:var(--zonos-elements-gray-0)}:host button:not(.override-background).success:not([disabled]):hover{background-image:var(--zonos-elements-button-success-hover)}:host button:not(.override-background).success:not([disabled]):active{background:var(--zonos-elements-green-700)}:host button:not(.override-background).success:not([disabled]):focus{-webkit-box-shadow:var(--zonos-elements-focus-button);box-shadow:var(--zonos-elements-focus-button)}:host button:not(.override-background).success[disabled]{background:var(--zonos-elements-green-400)}:host button:not(.override-background).success[disabled] .zonos--spinner-wrapper{background-color:var(--zonos-elements-green-400)}:host button:not(.override-background).danger{background:var(--zonos-elements-red-600);outline:1px solid var(--zonos-elements-red-600);color:var(--zonos-elements-gray-0)}:host button:not(.override-background).danger:not([disabled]):hover{background-image:var(--zonos-elements-button-danger-hover)}:host button:not(.override-background).danger:not([disabled]):active{background:var(--zonos-elements-red-700)}:host button:not(.override-background).danger:not([disabled]):focus{-webkit-box-shadow:var(--zonos-elements-focus-button);box-shadow:var(--zonos-elements-focus-button)}:host button:not(.override-background).danger[disabled]{background:var(--zonos-elements-red-400)}:host button:not(.override-background).danger[disabled] .zonos--spinner-wrapper{background-color:var(--zonos-elements-red-400)}:host button:not(.override-background).warning{background:var(--zonos-elements-orange-600);outline:1px solid var(--zonos-elements-orange-600);color:var(--zonos-elements-gray-0)}:host button:not(.override-background).warning:not([disabled]):hover{background-image:var(--zonos-elements-button-warning-hover)}:host button:not(.override-background).warning:not([disabled]):active{background:var(--zonos-elements-orange-700)}:host button:not(.override-background).warning:not([disabled]):focus{-webkit-box-shadow:var(--zonos-elements-focus-button);box-shadow:var(--zonos-elements-focus-button)}:host button:not(.override-background).warning[disabled]{background:var(--zonos-elements-orange-400)}:host button:not(.override-background).warning[disabled] .zonos--spinner-wrapper{background-color:var(--zonos-elements-orange-400)}:host button:not(.override-background).subtle{background:transparent;color:var(--color);outline:none}:host button:not(.override-background).subtle:not([disabled]):hover{background:var(--zonos-elements-gray-900)}:host button:not(.override-background).subtle:not([disabled]):active{background:var(--zonos-elements-gray-800)}:host button:not(.override-background).subtle:not([disabled]).dark-hover-subtle:hover{background:var(--zonos-elements-gray-100)}:host button:not(.override-background).subtle:not([disabled]).dark-hover-subtle:active{background:var(--zonos-elements-gray-200)}:host button:not(.override-background).subtle:focus{-webkit-box-shadow:var(--zonos-elements-button-focus-ring);box-shadow:var(--zonos-elements-button-focus-ring)}:host button:not(.override-background).subtle[disabled] .content{opacity:0.6}:host button:not(.override-background).subtle[disabled] .zonos--spinner-wrapper{background-color:var(--zonos-elements-gray-0)}:host button:not(.override-background).outline{background:transparent;outline:1px solid var(--zonos-elements-gray-700)}:host button:not(.override-background).outline:not([disabled]):hover{background-color:var(--zonos-elements-gray-100)}:host button:not(.override-background).outline:not([disabled]):active{background:var(--zonos-elements-gray-200)}:host .zonos--footer-country-flag{height:18px;width:18px;position:relative;overflow:hidden;border-radius:30px;-webkit-box-shadow:var(--zonos-elements-v3-shadow-medium);box-shadow:var(--zonos-elements-v3-shadow-medium);z-index:10;justify-self:center;border-radius:var(--zonos-elements-radius-4);width:24px}";
|
|
28
|
+
const zonosButtonCss = ":host{font-family:var(--zonos--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--zonos--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host{display:-ms-inline-flexbox;display:inline-flex;border-radius:var(--zonos--border-radius, var(--zonos-elements-radius-10))}:host .zonos--spinner-wrapper{position:absolute;top:0;left:0;right:0;bottom:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;background-color:var(--zonos-elements-surface-color);-ms-flex-pack:center;justify-content:center;border-radius:var(--zonos-elements-radius-10);gap:8px}:host button{width:100%;position:relative;font-size:14px;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;background-color:var(--zonos-elements-surface-color);border:none;outline:1px solid var(--zonos-elements-surface-color);border-radius:var(--zonos--border-radius, var(--zonos-elements-radius-10));-webkit-transition:var(--zonos-elements-transition);transition:var(--zonos-elements-transition);font-weight:500;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-family:var(--zonos--font-family, Inter), Inter;letter-spacing:normal;cursor:pointer;white-space:nowrap;padding:8px 24px;color:var(--zonos--color, var(--zonos-elements-gray-1000));margin:1px;}:host button:not([disabled]):hover{background-image:var(--zonos-elements-button-standard-hover)}:host button:not([disabled]):active{background:var(--zonos-elements-gray-700)}:host button:not([disabled]):focus{-webkit-box-shadow:var(--zonos-elements-focus-button);box-shadow:var(--zonos-elements-focus-button)}:host button.with-box-shadow{-webkit-box-shadow:var(--zonos-elements-shadow-button-standard);box-shadow:var(--zonos-elements-shadow-button-standard)}:host button.sm.no-background,:host button.md.no-background,:host button.lg.no-background{background:none;outline:none}:host button.sm.no-padding-left,:host button.md.no-padding-left,:host button.lg.no-padding-left{padding-left:0}:host button.sm.no-padding-right,:host button.md.no-padding-right,:host button.lg.no-padding-right{padding-right:0}:host button[disabled]{cursor:not-allowed;background-color:var(--zonos--background-color, var(--zonos-elements-gray-200))}:host button[disabled] .zonos--spinner-wrapper{background-color:var(--zonos--background-color, var(--zonos-elements-gray-200))}:host button:active{-webkit-transform:scale(0.99);transform:scale(0.99)}:host button.sm{height:var(--zonos-elements-size-sm);line-height:var(--zonos-elements-size-sm);padding:4px 8px}:host button.sm:not(.has-content).has-icon{padding:0 4px}:host button.md{height:var(--zonos-elements-size-md);line-height:var(--zonos-elements-size-md);padding:8px 16px}:host button.md:not(.has-content).has-icon{padding:0 8px}:host button.lg{height:var(--zonos-elements-size-lg);line-height:var(--zonos-elements-size-lg);padding:12px 24px}:host button.lg:not(.has-content).has-icon{padding:0 16px}:host button:not(.only-icon).has-icon{gap:8px}@media (max-width: 400px){:host button:not(.only-icon).has-icon{font-size:var(--zonos-elements-font-size-s)}}:host button.override-background{background-color:var(--zonos--background-color, var(--zonos-elements-gray-0));color:var(--zonos--color, var(--zonos-elements-gray-1000));outline:1px solid var(--zonos--background-color, var(--zonos-elements-gray-0))}:host button.override-background:disabled{opacity:0.8}:host button.override-background:not(:disabled):hover{opacity:0.9}:host button:not(.override-background){}:host button:not(.override-background).primary{background:var(--zonos-elements-blue-600);outline:1px solid var(--zonos-elements-blue-600);color:var(--zonos-elements-gray-0)}:host button:not(.override-background).primary:not([disabled]):hover{background-image:var(--zonos-elements-button-primary-hover)}:host button:not(.override-background).primary:not([disabled]):active{background:var(--zonos-elements-blue-700)}:host button:not(.override-background).primary:not([disabled]):focus{-webkit-box-shadow:var(--zonos-elements-focus-button);box-shadow:var(--zonos-elements-focus-button)}:host button:not(.override-background).primary[disabled]{background:var(--zonos-elements-blue-400)}:host button:not(.override-background).primary[disabled] .zonos--spinner-wrapper{background-color:var(--zonos-elements-blue-400)}:host button:not(.override-background).primary .zonos--spinner-wrapper{background-color:var(--zonos-elements-blue-600)}:host button:not(.override-background).success{background:var(--zonos-elements-green-600);outline:1px solid var(--zonos-elements-green-600);color:var(--zonos-elements-gray-0)}:host button:not(.override-background).success:not([disabled]):hover{background-image:var(--zonos-elements-button-success-hover)}:host button:not(.override-background).success:not([disabled]):active{background:var(--zonos-elements-green-700)}:host button:not(.override-background).success:not([disabled]):focus{-webkit-box-shadow:var(--zonos-elements-focus-button);box-shadow:var(--zonos-elements-focus-button)}:host button:not(.override-background).success[disabled]{background:var(--zonos-elements-green-400)}:host button:not(.override-background).success[disabled] .zonos--spinner-wrapper{background-color:var(--zonos-elements-green-400)}:host button:not(.override-background).danger{background:var(--zonos-elements-red-600);outline:1px solid var(--zonos-elements-red-600);color:var(--zonos-elements-gray-0)}:host button:not(.override-background).danger:not([disabled]):hover{background-image:var(--zonos-elements-button-danger-hover)}:host button:not(.override-background).danger:not([disabled]):active{background:var(--zonos-elements-red-700)}:host button:not(.override-background).danger:not([disabled]):focus{-webkit-box-shadow:var(--zonos-elements-focus-button);box-shadow:var(--zonos-elements-focus-button)}:host button:not(.override-background).danger[disabled]{background:var(--zonos-elements-red-400)}:host button:not(.override-background).danger[disabled] .zonos--spinner-wrapper{background-color:var(--zonos-elements-red-400)}:host button:not(.override-background).warning{background:var(--zonos-elements-orange-600);outline:1px solid var(--zonos-elements-orange-600);color:var(--zonos-elements-gray-0)}:host button:not(.override-background).warning:not([disabled]):hover{background-image:var(--zonos-elements-button-warning-hover)}:host button:not(.override-background).warning:not([disabled]):active{background:var(--zonos-elements-orange-700)}:host button:not(.override-background).warning:not([disabled]):focus{-webkit-box-shadow:var(--zonos-elements-focus-button);box-shadow:var(--zonos-elements-focus-button)}:host button:not(.override-background).warning[disabled]{background:var(--zonos-elements-orange-400)}:host button:not(.override-background).warning[disabled] .zonos--spinner-wrapper{background-color:var(--zonos-elements-orange-400)}:host button:not(.override-background).subtle{background:transparent;color:var(--zonos--color, var(--zonos-elements-gray-1000));outline:none}:host button:not(.override-background).subtle:not([disabled]):hover{background:var(--zonos-elements-gray-900)}:host button:not(.override-background).subtle:not([disabled]):active{background:var(--zonos-elements-gray-800)}:host button:not(.override-background).subtle:not([disabled]).dark-hover-subtle:hover{background:var(--zonos-elements-gray-100)}:host button:not(.override-background).subtle:not([disabled]).dark-hover-subtle:active{background:var(--zonos-elements-gray-200)}:host button:not(.override-background).subtle:focus{-webkit-box-shadow:var(--zonos-elements-button-focus-ring);box-shadow:var(--zonos-elements-button-focus-ring)}:host button:not(.override-background).subtle[disabled] .content{opacity:0.6}:host button:not(.override-background).subtle[disabled] .zonos--spinner-wrapper{background-color:var(--zonos-elements-gray-0)}:host button:not(.override-background).outline{background:transparent;outline:1px solid var(--zonos-elements-gray-700)}:host button:not(.override-background).outline:not([disabled]):hover{background-color:var(--zonos-elements-gray-100)}:host button:not(.override-background).outline:not([disabled]):active{background:var(--zonos-elements-gray-200)}:host .zonos--footer-country-flag{height:18px;width:18px;position:relative;overflow:hidden;border-radius:30px;-webkit-box-shadow:var(--zonos-elements-v3-shadow-medium);box-shadow:var(--zonos-elements-v3-shadow-medium);z-index:10;justify-self:center;border-radius:var(--zonos-elements-radius-4);width:24px}";
|
|
41
29
|
const ZonosButtonStyle0 = zonosButtonCss;
|
|
42
30
|
|
|
43
31
|
const ZonosButton = class {
|
|
@@ -155,12 +143,12 @@ const ZonosButton = class {
|
|
|
155
143
|
const borderStyle = getBorderRadius({
|
|
156
144
|
overrideBorderStyle: this.borderStyle,
|
|
157
145
|
});
|
|
158
|
-
return (h(Host, { key: '
|
|
159
|
-
'--background-color': backgroundColor,
|
|
160
|
-
'--border-radius': borderStyle,
|
|
161
|
-
'--color': color,
|
|
162
|
-
'--font-family': zonosStoreFontFamily(),
|
|
163
|
-
}) }, h("button", { key: '
|
|
146
|
+
return (h(Host, { key: 'a862db0549563c67361d2f93baf6bed668a9a561', class: classes(['zonos--elements']), "data-theme": this.theme || buttonTheme, disabled: disabled, style: styles({
|
|
147
|
+
'--zonos--background-color': backgroundColor,
|
|
148
|
+
'--zonos--border-radius': borderStyle,
|
|
149
|
+
'--zonos--color': color,
|
|
150
|
+
'--zonos--font-family': zonosStoreFontFamily(),
|
|
151
|
+
}) }, h("button", { key: 'e848c5d69708b8eee9a2be1c1649eb0f9c85dae0', class: classes([
|
|
164
152
|
this.hasIcon && 'has-icon',
|
|
165
153
|
this.hasContent && 'has-content',
|
|
166
154
|
this.noBackground && 'no-background',
|
|
@@ -175,7 +163,7 @@ const ZonosButton = class {
|
|
|
175
163
|
backgroundColor && variant === 'standard' && 'override-background',
|
|
176
164
|
]), disabled: disabled, style: {
|
|
177
165
|
justifyContent: this.justifyContent,
|
|
178
|
-
} }, this.loading && (h("div", { key: '
|
|
166
|
+
} }, this.loading && (h("div", { key: '3d6af592a449d698a205bb327ee3f29b57a406ff', class: "zonos--spinner-wrapper" }, h("zonos-spinner", { key: 'c4e28edbbed061e57ad6c6f532887b74441e4acc', size: 16, spinnerColor: spinnerColor }))), !this.loading && !this.iconRight && this.icon, h("slot", { key: 'dbbf5f30085d61932505f8724473bb61dd67c7b7', onSlotchange: this.handleSlotChange }), !this.loading && this.iconRight && this.icon)));
|
|
179
167
|
}
|
|
180
168
|
static get delegatesFocus() { return true; }
|
|
181
169
|
get ele() { return getElement(this); }
|
|
@@ -185,7 +173,7 @@ const ZonosButton = class {
|
|
|
185
173
|
};
|
|
186
174
|
ZonosButton.style = ZonosButtonStyle0;
|
|
187
175
|
|
|
188
|
-
const zonosIconCss = ":host{font-family:var(--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host{display:-ms-inline-flexbox;display:inline-flex}:host svg{width:var(--width);height:var(--height);fill:var(--color);color:var(--color)}";
|
|
176
|
+
const zonosIconCss = ":host{font-family:var(--zonos--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--zonos--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host{display:-ms-inline-flexbox;display:inline-flex}:host svg{width:var(--zonos--width);height:var(--zonos--height);fill:var(--zonos--color);color:var(--zonos--color)}";
|
|
189
177
|
const ZonosIconStyle0 = zonosIconCss;
|
|
190
178
|
|
|
191
179
|
const ZonosIcon = class {
|
|
@@ -205,17 +193,17 @@ const ZonosIcon = class {
|
|
|
205
193
|
: this.iconColor;
|
|
206
194
|
this.el.shadowRoot.innerHTML = this.content;
|
|
207
195
|
return (h(Host, { class: "zonos--elements", style: {
|
|
208
|
-
'--color': iconColor,
|
|
209
|
-
'--font-family': zonosStoreFontFamily(),
|
|
210
|
-
'--height': `${this.autoHeight ? 'auto' : `${this.size}px`}`,
|
|
211
|
-
'--width': `${this.size}px`,
|
|
196
|
+
'--zonos--color': iconColor,
|
|
197
|
+
'--zonos--font-family': zonosStoreFontFamily(),
|
|
198
|
+
'--zonos--height': `${this.autoHeight ? 'auto' : `${this.size}px`}`,
|
|
199
|
+
'--zonos--width': `${this.size}px`,
|
|
212
200
|
} }));
|
|
213
201
|
}
|
|
214
202
|
get el() { return getElement(this); }
|
|
215
203
|
};
|
|
216
204
|
ZonosIcon.style = ZonosIconStyle0;
|
|
217
205
|
|
|
218
|
-
const zonosSpinnerCss = ":host{font-family:var(--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host{position:relative;overflow:hidden;width:var(--size);height:var(--size);display:-ms-inline-flexbox;display:inline-flex}:host svg{width:var(--size);height:var(--size);stroke:var(--zonos-elements-blue-600);-webkit-animation:rotate 2s linear infinite;animation:rotate 2s linear infinite}:host circle.track{stroke:var(--zonos-elements-gray-200)}@-webkit-keyframes rotate{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes rotate{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@-webkit-keyframes dash{0%{stroke-dasharray:1, 150;stroke-dashoffset:0}50%{stroke-dasharray:90, 150;stroke-dashoffset:-35}100%{stroke-dasharray:90, 150;stroke-dashoffset:-124}}@keyframes dash{0%{stroke-dasharray:1, 150;stroke-dashoffset:0}50%{stroke-dasharray:90, 150;stroke-dashoffset:-35}100%{stroke-dasharray:90, 150;stroke-dashoffset:-124}}:host circle:not(.track){stroke-linecap:round;-webkit-animation:dash 1.5s ease-in-out infinite;animation:dash 1.5s ease-in-out infinite}:host(.black) circle{stroke:var(--zonos-elements-spinner-stroke-black)}:host(.black) circle.track{stroke:var(--zonos-elements-spinner-track-black)}:host(.white) circle{stroke:var(--zonos-elements-spinner-stroke-white)}:host(.white) circle.track{stroke:var(--zonos-elements-spinner-track-white)}:host(.info) circle{stroke:var(--zonos-elements-blue-600)}:host(.info) circle.track{stroke:var(--zonos-elements-blue-100)}:host(.success) circle{stroke:var(--zonos-elements-green-600)}:host(.success) circle.track{stroke:var(--zonos-elements-green-100)}:host(.danger) circle{stroke:var(--zonos-elements-red-600)}:host(.danger) circle.track{stroke:var(--zonos-elements-red-100)}:host(.warning) circle{stroke:var(--zonos-elements-orange-600)}:host(.warning) circle.track{stroke:var(--zonos-elements-orange-100)}";
|
|
206
|
+
const zonosSpinnerCss = ":host{font-family:var(--zonos--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--zonos--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host{position:relative;overflow:hidden;width:var(--zonos--size);height:var(--zonos--size);display:-ms-inline-flexbox;display:inline-flex}:host svg{width:var(--zonos--size);height:var(--zonos--size);stroke:var(--zonos-elements-blue-600);-webkit-animation:rotate 2s linear infinite;animation:rotate 2s linear infinite}:host circle.track{stroke:var(--zonos-elements-gray-200)}@-webkit-keyframes rotate{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes rotate{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@-webkit-keyframes dash{0%{stroke-dasharray:1, 150;stroke-dashoffset:0}50%{stroke-dasharray:90, 150;stroke-dashoffset:-35}100%{stroke-dasharray:90, 150;stroke-dashoffset:-124}}@keyframes dash{0%{stroke-dasharray:1, 150;stroke-dashoffset:0}50%{stroke-dasharray:90, 150;stroke-dashoffset:-35}100%{stroke-dasharray:90, 150;stroke-dashoffset:-124}}:host circle:not(.track){stroke-linecap:round;-webkit-animation:dash 1.5s ease-in-out infinite;animation:dash 1.5s ease-in-out infinite}:host(.black) circle{stroke:var(--zonos-elements-spinner-stroke-black)}:host(.black) circle.track{stroke:var(--zonos-elements-spinner-track-black)}:host(.white) circle{stroke:var(--zonos-elements-spinner-stroke-white)}:host(.white) circle.track{stroke:var(--zonos-elements-spinner-track-white)}:host(.info) circle{stroke:var(--zonos-elements-blue-600)}:host(.info) circle.track{stroke:var(--zonos-elements-blue-100)}:host(.success) circle{stroke:var(--zonos-elements-green-600)}:host(.success) circle.track{stroke:var(--zonos-elements-green-100)}:host(.danger) circle{stroke:var(--zonos-elements-red-600)}:host(.danger) circle.track{stroke:var(--zonos-elements-red-100)}:host(.warning) circle{stroke:var(--zonos-elements-orange-600)}:host(.warning) circle.track{stroke:var(--zonos-elements-orange-100)}";
|
|
219
207
|
const ZonosSpinnerStyle0 = zonosSpinnerCss;
|
|
220
208
|
|
|
221
209
|
const ZonosSpinner = class {
|
|
@@ -229,7 +217,7 @@ const ZonosSpinner = class {
|
|
|
229
217
|
return null;
|
|
230
218
|
}
|
|
231
219
|
return (h(Host, { class: classes(['zonos--elements', this.spinnerColor]), style: {
|
|
232
|
-
'--size': `${this.size}px`,
|
|
220
|
+
'--zonos--size': `${this.size}px`,
|
|
233
221
|
} }, 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" }))));
|
|
234
222
|
}
|
|
235
223
|
get el() { return getElement(this); }
|
|
@@ -3,7 +3,7 @@ import { d as zonosStoreFontFamily } from './zonosStore-6b5bd87c.js';
|
|
|
3
3
|
import { c as classes } from './classes-0d95c529.js';
|
|
4
4
|
import { g as getBorderRadius } from './getBorderRadius-008516a4.js';
|
|
5
5
|
|
|
6
|
-
const zonosCardCss = ":host{font-family:var(--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host .styled-card{border:var(--zonos-elements-border);border-radius:var(--border-radius, var(--zonos-elements-radius-6));padding:var(--spacing, 24px);text-align:left;background-color:var(--background-color);overflow:hidden}:host .styled-card hr{margin-left:calc(var(--spacing, 24px) * -1);margin-right:calc(var(--spacing, 24px) * -1)}:host .styled-card .card-header{margin:calc(var(--spacing, 24px) * -1);padding:var(--spacing, 24px);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;margin-bottom:var(--spacing, 24px);border-bottom:var(--zonos-elements-border);height:65px;line-height:65px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}:host .styled-card .card-header h5{margin-bottom:0;-ms-flex:1;flex:1}:host .styled-card .card-footer{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;margin:calc(var(--spacing, 24px) * -1);padding:var(--spacing, 24px);border-top:var(--zonos-elements-border);background:var(--zonos-elements-surface-color-secondary);margin-top:var(--spacing, 24px);border-bottom-left-radius:var(--zonos-elements-radius-8);border-bottom-right-radius:var(--zonos-elements-radius-8);height:var(--footerHeight)}";
|
|
6
|
+
const zonosCardCss = ":host{font-family:var(--zonos--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--zonos--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host .styled-card{border:var(--zonos-elements-border);border-radius:var(--zonos--border-radius, var(--zonos-elements-radius-6));padding:var(--spacing, 24px);text-align:left;background-color:var(--zonos--background-color);overflow:hidden}:host .styled-card hr{margin-left:calc(var(--spacing, 24px) * -1);margin-right:calc(var(--spacing, 24px) * -1)}:host .styled-card .card-header{margin:calc(var(--spacing, 24px) * -1);padding:var(--spacing, 24px);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;margin-bottom:var(--spacing, 24px);border-bottom:var(--zonos-elements-border);height:65px;line-height:65px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}:host .styled-card .card-header h5{margin-bottom:0;-ms-flex:1;flex:1}:host .styled-card .card-footer{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;margin:calc(var(--spacing, 24px) * -1);padding:var(--spacing, 24px);border-top:var(--zonos-elements-border);background:var(--zonos-elements-surface-color-secondary);margin-top:var(--spacing, 24px);border-bottom-left-radius:var(--zonos-elements-radius-8);border-bottom-right-radius:var(--zonos-elements-radius-8);height:var(--footerHeight)}";
|
|
7
7
|
const ZonosCardStyle0 = zonosCardCss;
|
|
8
8
|
|
|
9
9
|
const ZonosCard = class {
|
|
@@ -26,16 +26,16 @@ const ZonosCard = class {
|
|
|
26
26
|
customRoundRadius: `${this.borderRadius}px`,
|
|
27
27
|
overrideBorderStyle: 'ROUNDED',
|
|
28
28
|
});
|
|
29
|
-
return (h(Host, { key: '
|
|
30
|
-
'--font-family': zonosStoreFontFamily(),
|
|
31
|
-
} }, h("div", { key: '
|
|
32
|
-
'--background-color': backgroundColor,
|
|
33
|
-
'--border-radius': borderRadius,
|
|
29
|
+
return (h(Host, { key: '84d131edbe30a0ce9869351c197c438082bcadac', style: {
|
|
30
|
+
'--zonos--font-family': zonosStoreFontFamily(),
|
|
31
|
+
} }, h("div", { key: 'c1ab46423b1716badf577b51c1e10a59f6d857c7', class: classes(['styled-card']), style: {
|
|
32
|
+
'--zonos--background-color': backgroundColor,
|
|
33
|
+
'--zonos--border-radius': borderRadius,
|
|
34
34
|
padding: this.spacing,
|
|
35
|
-
} }, this.label && (h("header", { key: '
|
|
35
|
+
} }, this.label && (h("header", { key: '3f86015a24d5d86f41955c57a96c1051aa8cd0fb', class: "card-header", style: { padding: this.spacing } }, h("zonos-text", { key: '697b450d8c77935d602a2c6fc11279c38a558f8e', type: "subheader" }, this.label), h("h-stack", { key: 'ef44ce7c7d1fd3d8f683656c2156f0b24232b6c0', spacing: 8 }, this.actions))), h("slot", { key: '1e5bc6315fcc134e5a7c608547ea2f481ecb91df' }), (this.footerActions || this.footerContent) && (h("footer", { key: 'aabb9ec4c7f1122662ac13655caa4cd3557266cc', class: "card-footer", style: {
|
|
36
36
|
height: this.footerHeight ? `${this.footerHeight}px` : 'auto',
|
|
37
37
|
padding: this.spacing,
|
|
38
|
-
} }, h("div", { key: '
|
|
38
|
+
} }, h("div", { key: 'c92b803303485ce25b66dad4237411e3c4d5c15c' }, this.footerContent), h("h-stack", { key: '12c395e0b5c537f991d6814352f62d3da15432a1', spacing: 8 }, this.footerActions))))));
|
|
39
39
|
}
|
|
40
40
|
};
|
|
41
41
|
ZonosCard.style = ZonosCardStyle0;
|