@zonos/elements 1.3.18-alpha.1 → 1.3.18-alpha.3
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/README.md +341 -96
- package/dist/cjs/{cart-95209ae8.js → cart-5468dfd1.js} +284 -89
- package/dist/cjs/{getBorderRadius-44b3eca1.js → getBorderRadius-bcb309a8.js} +1 -1
- package/dist/cjs/{index-654a6001.js → index-b071017b.js} +4 -1
- package/dist/cjs/index.cjs.js +624 -0
- package/dist/cjs/{isDarkColor-01f45d3f.js → isDarkColor-b0393089.js} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/logError-4e2f2020.js +58 -0
- package/dist/cjs/{submitGtag-9d60f3bb.js → submitGtag-127a220f.js} +4 -3
- package/dist/cjs/zonos-address_8.cjs.entry.js +30 -18
- package/dist/cjs/zonos-badge_2.cjs.entry.js +7 -7
- package/dist/cjs/zonos-banner.cjs.entry.js +2 -2
- package/dist/cjs/zonos-button_3.cjs.entry.js +22 -11
- package/dist/cjs/zonos-card_2.cjs.entry.js +11 -10
- package/dist/cjs/{zonos-cart-items_10.cjs.entry.js → zonos-cart-items_11.cjs.entry.js} +118 -11
- package/dist/cjs/zonos-checkout.cjs.entry.js +47 -20
- package/dist/cjs/zonos-component.cjs.entry.js +2 -2
- package/dist/cjs/zonos-controller.cjs.entry.js +29 -24
- package/dist/cjs/zonos-country-flag.cjs.entry.js +6 -5
- package/dist/cjs/zonos-country-select_3.cjs.entry.js +12 -11
- package/dist/cjs/zonos-elements.cjs.js +2 -2
- package/dist/cjs/zonos-hello-dialog.cjs.entry.js +9 -8
- package/dist/cjs/zonos-hello.cjs.entry.js +14 -13
- package/dist/cjs/zonos-input.cjs.entry.js +7 -7
- package/dist/cjs/zonos-link.cjs.entry.js +2 -2
- package/dist/cjs/zonos-logo.cjs.entry.js +4 -4
- package/dist/cjs/zonos-notification.cjs.entry.js +2 -2
- package/dist/cjs/zonos-payment.cjs.entry.js +8 -7
- package/dist/cjs/zonos-select-dialog-header_2.cjs.entry.js +6 -6
- package/dist/cjs/zonos-shipping-rich-radio.cjs.entry.js +3 -3
- package/dist/cjs/zonos-text.cjs.entry.js +2 -2
- package/dist/cjs/{zonosStore-d8bb0bda.js → zonosStore-7c6205ca.js} +2 -1
- package/dist/collection/__mocks__/zonos-url/index.js +1 -0
- package/dist/collection/__tests__/build-utils/urlCheckOne.js +1 -1
- package/dist/collection/collection-manifest.json +2 -1
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-finish/zonos-checkout-finish.js +4 -9
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.js +45 -8
- package/dist/collection/components/checkout/zonos-checkout/zonos-customer-info/zonos-customer-info.js +3 -3
- package/dist/collection/components/common/zonos-badge/zonos-badge.js +3 -3
- package/dist/collection/components/common/zonos-button/zonos-button.css +12 -0
- package/dist/collection/components/common/zonos-button/zonos-button.js +43 -8
- package/dist/collection/components/common/zonos-card/zonos-card.js +3 -3
- package/dist/collection/components/common/zonos-checkbox/zonos-checkbox.js +3 -3
- package/dist/collection/components/common/zonos-checkout-progress-tabs/zonos-checkout-progress-tabs.js +3 -3
- package/dist/collection/components/common/zonos-collapse/zonos-collapse.js +2 -2
- package/dist/collection/components/common/zonos-confirm-dialog/assets/ExclamationMarkDuotoneIcon.svg +4 -0
- package/dist/collection/components/common/zonos-confirm-dialog/assets/HelpDuotoneIcon.svg +4 -0
- package/dist/collection/components/common/zonos-confirm-dialog/assets/WarningDuotoneIcon.svg +4 -0
- package/dist/collection/components/common/zonos-confirm-dialog/zonos-confirm-dialog.css +125 -0
- package/dist/collection/components/common/zonos-confirm-dialog/zonos-confirm-dialog.js +322 -0
- package/dist/collection/components/common/zonos-country-select/zonos-country-select.js +2 -2
- package/dist/collection/components/common/zonos-custom-message/zonos-custom-message.js +2 -2
- package/dist/collection/components/common/zonos-dialog/zonos-dialog.css +1 -4
- package/dist/collection/components/common/zonos-dialog/zonos-dialog.js +38 -4
- package/dist/collection/components/common/zonos-input/zonos-input.js +4 -4
- package/dist/collection/components/common/zonos-language-select/zonos-language-select.js +2 -2
- package/dist/collection/components/common/{component-template/zonos-link → zonos-link}/zonos-link.js +1 -1
- package/dist/collection/components/common/zonos-logo/zonos-logo.js +2 -2
- package/dist/collection/components/common/zonos-select-dialog-header/zonos-select-dialog-header.js +2 -2
- package/dist/collection/components/common/zonos-tooltip/zonos-tooltip.js +2 -2
- package/dist/collection/components/common/zonos-v-stack/zonos-v-stack.js +2 -2
- package/dist/collection/components/component-template/zonos-component/zonos-component.js +1 -1
- package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog-footer/zonos-hello-dialog-footer.js +2 -2
- package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog.js +3 -3
- package/dist/collection/components/main/zonos-controller.js +12 -8
- package/dist/collection/components/store/hello/localization.js +12 -2
- package/dist/collection/components/store/translationStore/strings.arabic.js +12 -0
- package/dist/collection/components/store/translationStore/strings.base.js +12 -0
- package/dist/collection/components/store/translationStore/strings.chinese.js +12 -0
- package/dist/collection/components/store/translationStore/strings.danish.js +12 -0
- package/dist/collection/components/store/translationStore/strings.dutch.js +12 -0
- package/dist/collection/components/store/translationStore/strings.french.js +12 -0
- package/dist/collection/components/store/translationStore/strings.german.js +12 -0
- package/dist/collection/components/store/translationStore/strings.hebrew.js +12 -0
- package/dist/collection/components/store/translationStore/strings.indonesian.js +12 -0
- package/dist/collection/components/store/translationStore/strings.italian.js +12 -0
- package/dist/collection/components/store/translationStore/strings.japanese.js +12 -0
- package/dist/collection/components/store/translationStore/strings.korean.js +12 -0
- package/dist/collection/components/store/translationStore/strings.norwegian.js +12 -0
- package/dist/collection/components/store/translationStore/strings.polish.js +12 -0
- package/dist/collection/components/store/translationStore/strings.portuguese.js +12 -0
- package/dist/collection/components/store/translationStore/strings.russian.js +12 -0
- package/dist/collection/components/store/translationStore/strings.spanish.js +12 -0
- package/dist/collection/components/store/translationStore/strings.swedish.js +12 -0
- package/dist/collection/components/store/translationStore/strings.turkish.js +12 -0
- package/dist/collection/components/store/translationStore/strings.vietnamese.js +12 -0
- package/dist/collection/components/store/zonosStore.js +1 -0
- package/dist/collection/components/stripe/zonos-address/zonos-address.js +3 -3
- package/dist/collection/components/stripe/zonos-link-authentication/zonos-link-authentication.js +1 -1
- package/dist/collection/components/stripe/zonos-payment/zonos-payment.js +1 -1
- package/dist/collection/environment.js +0 -2
- package/dist/collection/index.js +1 -0
- package/dist/collection/scripts/_extractZonosQaUrl.js +26 -0
- package/dist/collection/scripts/_getZonosQaUrl.js +40 -0
- package/dist/collection/scripts/{loadStripe.js → _loadStripe.js} +1 -1
- package/dist/collection/scripts/{zonosBase.js → _zonosBase.js} +31 -7
- package/dist/collection/scripts/index.js +2 -0
- package/dist/collection/types/generated/graphql.customer.types.js +1 -0
- package/dist/collection/types/generated/graphql.frontend.types.js +1 -0
- package/dist/esm/{cart-6448e883.js → cart-63d120e1.js} +257 -60
- package/dist/{components/getBorderRadius.js → esm/getBorderRadius-d244b4b1.js} +1 -1
- package/dist/esm/{index-e063389c.js → index-3b46f3c3.js} +4 -1
- package/dist/esm/index.js +621 -0
- package/dist/{components/isDarkColor.js → esm/isDarkColor-39a36e82.js} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/logError-c456c092.js +55 -0
- package/dist/esm/{submitGtag-b7d369cd.js → submitGtag-35bb3945.js} +3 -2
- package/dist/esm/zonos-address_8.entry.js +28 -16
- package/dist/esm/zonos-badge_2.entry.js +7 -7
- package/dist/esm/zonos-banner.entry.js +2 -2
- package/dist/esm/zonos-button_3.entry.js +22 -11
- package/dist/esm/zonos-card_2.entry.js +11 -10
- package/dist/esm/{zonos-cart-items_10.entry.js → zonos-cart-items_11.entry.js} +118 -12
- package/dist/esm/zonos-checkout.entry.js +35 -8
- package/dist/esm/zonos-component.entry.js +2 -2
- package/dist/esm/zonos-controller.entry.js +12 -7
- package/dist/esm/zonos-country-flag.entry.js +6 -5
- package/dist/esm/zonos-country-select_3.entry.js +12 -11
- package/dist/esm/zonos-elements.js +3 -3
- package/dist/esm/zonos-hello-dialog.entry.js +9 -8
- package/dist/esm/zonos-hello.entry.js +6 -5
- package/dist/esm/zonos-input.entry.js +7 -7
- package/dist/esm/zonos-link.entry.js +2 -2
- package/dist/esm/zonos-logo.entry.js +4 -4
- package/dist/esm/zonos-notification.entry.js +2 -2
- package/dist/esm/zonos-payment.entry.js +7 -6
- package/dist/esm/zonos-select-dialog-header_2.entry.js +6 -6
- package/dist/esm/zonos-shipping-rich-radio.entry.js +3 -3
- package/dist/esm/zonos-text.entry.js +2 -2
- package/dist/esm/{zonosStore-33ff08ff.js → zonosStore-32e33a45.js} +2 -1
- package/dist/esm-es5/cart-63d120e1.js +1 -0
- package/dist/esm-es5/{getBorderRadius-567f1786.js → getBorderRadius-d244b4b1.js} +1 -1
- package/dist/esm-es5/{index-e063389c.js → index-3b46f3c3.js} +1 -1
- package/dist/esm-es5/index.js +1 -0
- package/dist/esm-es5/{isDarkColor-7f62035a.js → isDarkColor-39a36e82.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/logError-c456c092.js +1 -0
- package/dist/esm-es5/submitGtag-35bb3945.js +1 -0
- package/dist/esm-es5/zonos-address_8.entry.js +1 -1
- package/dist/esm-es5/zonos-badge_2.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_2.entry.js +1 -1
- package/dist/esm-es5/zonos-cart-items_11.entry.js +1 -0
- package/dist/esm-es5/zonos-checkout.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_3.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-link.entry.js +1 -1
- package/dist/esm-es5/zonos-logo.entry.js +1 -1
- package/dist/esm-es5/zonos-notification.entry.js +1 -1
- package/dist/esm-es5/zonos-payment.entry.js +1 -1
- package/dist/esm-es5/zonos-select-dialog-header_2.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/{zonosStore-33ff08ff.js → zonosStore-32e33a45.js} +1 -1
- package/dist/scripts/index.d.ts +3908 -0
- package/dist/scripts/index.js +1 -0
- package/dist/scripts/loadZonos.d.ts +3954 -0
- package/dist/scripts/loadZonos.js +1 -1
- package/dist/scripts/zonos.js +1 -1
- package/dist/types/components/checkout/zonos-checkout/zonos-checkout-finish/zonos-checkout-finish.d.ts +5 -7
- package/dist/types/components/checkout/zonos-checkout/zonos-checkout.d.ts +13 -3
- package/dist/types/components/checkout/zonos-checkout/zonos-customer-info/zonos-customer-info.d.ts +2 -2
- package/dist/types/components/common/zonos-button/zonos-button.d.ts +7 -1
- package/dist/types/components/common/zonos-confirm-dialog/zonos-confirm-dialog.d.ts +60 -0
- package/dist/types/components/common/zonos-dialog/zonos-dialog.d.ts +6 -1
- package/dist/types/components/main/zonos-controller.d.ts +1 -1
- package/dist/types/components/store/checkout/stripe.d.ts +1 -1
- package/dist/types/components/store/translationStore/strings.arabic.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.base.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.chinese.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.danish.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.dutch.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.french.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.german.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.hebrew.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.indonesian.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.italian.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.japanese.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.korean.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.norwegian.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.polish.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.portuguese.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.russian.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.spanish.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.swedish.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.turkish.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.vietnamese.d.ts +12 -0
- package/dist/types/components/store/translationStore.d.ts +1 -1
- package/dist/types/components/store/zonosStore.d.ts +5 -1
- package/dist/types/components/stripe/zonos-address/zonos-address.d.ts +2 -2
- package/dist/types/components/utils/styles.d.ts +1 -0
- package/dist/types/components.d.ts +164 -19
- package/dist/types/index.d.ts +1 -0
- package/dist/types/scripts/_extractZonosQaUrl.d.ts +11 -0
- package/dist/types/scripts/_getZonosQaUrl.d.ts +4 -0
- package/dist/types/scripts/{loadStripe.d.ts → _loadStripe.d.ts} +1 -1
- package/dist/types/scripts/{zonosBase.d.ts → _zonosBase.d.ts} +51 -3
- package/dist/types/scripts/index.d.ts +2 -0
- package/dist/types/types/checkout/CheckoutConfig.d.ts +12 -0
- package/dist/types/types/checkout/api/CalculateLandedCostRequest.d.ts +9 -0
- package/dist/types/types/generated/graphql.customer.types.d.ts +1 -0
- package/dist/types/types/generated/graphql.customer.types.ts +3 -0
- package/dist/types/types/generated/graphql.frontend.types.d.ts +1 -0
- package/dist/types/types/generated/graphql.frontend.types.ts +1 -0
- package/dist/types/types/global.d.ts +1 -1
- package/dist/zonos-elements/assets/ExclamationMarkDuotoneIcon.svg +4 -0
- package/dist/zonos-elements/assets/HelpDuotoneIcon.svg +4 -0
- package/dist/zonos-elements/assets/WarningDuotoneIcon.svg +4 -0
- package/dist/zonos-elements/index.esm.js +1 -0
- package/dist/zonos-elements/p-023c764c.system.entry.js +1 -0
- package/dist/zonos-elements/p-06b6ce37.system.entry.js +1 -0
- package/dist/zonos-elements/p-07c53d83.entry.js +1 -0
- package/dist/zonos-elements/{p-fe246229.system.entry.js → p-0d0f9694.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-fd49d864.entry.js → p-0d5b5bcc.entry.js} +1 -1
- package/dist/zonos-elements/{p-771fbeb3.system.js → p-1b9442f6.system.js} +1 -1
- package/dist/zonos-elements/p-200b661c.entry.js +1 -0
- package/dist/zonos-elements/{p-835c8928.entry.js → p-281b8bdf.entry.js} +1 -1
- package/dist/zonos-elements/{p-a889c1bc.entry.js → p-2af19b63.entry.js} +1 -1
- package/dist/zonos-elements/{p-582d8b27.entry.js → p-2ced091f.entry.js} +1 -1
- package/dist/zonos-elements/{p-909a331c.js → p-2f759d82.js} +1 -1
- package/dist/zonos-elements/p-3b66df06.system.entry.js +1 -0
- package/dist/zonos-elements/{p-d7acc81c.entry.js → p-3ba8838a.entry.js} +1 -1
- package/dist/zonos-elements/p-428c034a.entry.js +1 -0
- package/dist/zonos-elements/p-43b2d28d.system.entry.js +1 -0
- package/dist/zonos-elements/p-47a42a30.js +1 -0
- package/dist/zonos-elements/{p-9ec93319.entry.js → p-498a0e18.entry.js} +1 -1
- package/dist/zonos-elements/{p-f71489e5.system.entry.js → p-4f72bfee.system.entry.js} +1 -1
- package/dist/zonos-elements/p-4fc1459c.entry.js +1 -0
- package/dist/zonos-elements/p-4fca8fd5.system.entry.js +1 -0
- package/dist/zonos-elements/{p-79f3c4f5.system.js → p-58e730b6.system.js} +1 -1
- package/dist/zonos-elements/{p-83fecb2a.entry.js → p-58fc8ec1.entry.js} +1 -1
- package/dist/zonos-elements/{p-e7b4b756.entry.js → p-597b75f3.entry.js} +1 -1
- package/dist/zonos-elements/{p-87badea9.system.js → p-62ecfbcc.system.js} +1 -1
- package/dist/zonos-elements/p-63db40b9.system.js +1 -0
- package/dist/zonos-elements/p-693b9985.js +1 -0
- package/dist/zonos-elements/{p-ff403840.entry.js → p-6cb9812b.entry.js} +1 -1
- package/dist/zonos-elements/p-6df1fc3a.system.entry.js +1 -0
- package/dist/zonos-elements/{p-bf32179a.system.entry.js → p-6eda6199.system.entry.js} +1 -1
- package/dist/zonos-elements/p-6f6f160d.entry.js +1 -0
- package/dist/zonos-elements/p-7c78e340.entry.js +1 -0
- package/dist/zonos-elements/{p-305f27c7.entry.js → p-80442f16.entry.js} +1 -1
- package/dist/zonos-elements/p-808fa731.js +1 -0
- package/dist/zonos-elements/p-80f174b9.system.js +1 -0
- package/dist/zonos-elements/{p-679877b1.system.entry.js → p-8171d013.system.entry.js} +1 -1
- package/dist/zonos-elements/p-85f3d13f.system.js +1 -0
- package/dist/zonos-elements/p-8aeb0629.entry.js +1 -0
- package/dist/zonos-elements/{p-83cc2936.js → p-8c0b4a61.js} +1 -1
- package/dist/zonos-elements/{p-4dca5484.system.entry.js → p-8cd6633a.system.entry.js} +1 -1
- package/dist/zonos-elements/p-9288fd21.system.entry.js +1 -0
- package/dist/zonos-elements/p-98ad4ab3.system.entry.js +1 -0
- package/dist/zonos-elements/{p-ad088d46.system.entry.js → p-9e8d38f7.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-e108e5ed.system.entry.js → p-a47382ae.system.entry.js} +1 -1
- package/dist/zonos-elements/p-b1567fa3.system.entry.js +1 -0
- package/dist/zonos-elements/p-b81562f5.entry.js +1 -0
- package/dist/zonos-elements/{p-3638e2ed.entry.js → p-bd9b2165.entry.js} +1 -1
- package/dist/zonos-elements/p-bdfa3705.system.entry.js +1 -0
- package/dist/zonos-elements/{p-13ddaf31.js → p-ce347974.js} +1 -1
- package/dist/zonos-elements/p-cfae51c1.system.js +1 -0
- package/dist/zonos-elements/p-d6eb260c.entry.js +1 -0
- package/dist/zonos-elements/{p-17e265c3.system.entry.js → p-d7a939df.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-163ff5b5.system.js → p-d99232c5.system.js} +1 -1
- package/dist/zonos-elements/p-dc40a60c.entry.js +1 -0
- package/dist/zonos-elements/{p-36a461a6.system.entry.js → p-dda78e8e.system.entry.js} +1 -1
- package/dist/zonos-elements/p-de405d7e.system.entry.js +1 -0
- package/dist/zonos-elements/p-e0bf9666.system.js +1 -0
- package/dist/zonos-elements/p-eaa335e1.js +1 -0
- package/dist/zonos-elements/{p-b98bdbcc.system.entry.js → p-ed3524ae.system.entry.js} +1 -1
- package/dist/zonos-elements/zonos-elements.esm.js +1 -1
- package/dist/zonos-elements/zonos-elements.js +1 -1
- package/package.json +5 -3
- package/dist/components/ILanguage.js +0 -24
- package/dist/components/classes.js +0 -12
- package/dist/components/containsNonLatinChars.js +0 -21
- package/dist/components/formatCurrency.js +0 -11
- package/dist/components/index.d.ts +0 -33
- package/dist/components/index.js +0 -1
- package/dist/components/isCheckoutMobile.js +0 -6
- package/dist/components/isColorVariable.js +0 -14
- package/dist/components/stripe.js +0 -1681
- package/dist/components/submitGtag.js +0 -19
- package/dist/components/trackConversionEvent.js +0 -37
- package/dist/components/translationStore.js +0 -5371
- package/dist/components/zonos-address-display.d.ts +0 -11
- package/dist/components/zonos-address-display.js +0 -6
- package/dist/components/zonos-address-display2.js +0 -64
- package/dist/components/zonos-address-form.d.ts +0 -11
- package/dist/components/zonos-address-form.js +0 -6
- package/dist/components/zonos-address-form2.js +0 -84
- package/dist/components/zonos-address-update-dialog.d.ts +0 -11
- package/dist/components/zonos-address-update-dialog.js +0 -6
- package/dist/components/zonos-address-update-dialog2.js +0 -264
- package/dist/components/zonos-address.d.ts +0 -11
- package/dist/components/zonos-address.js +0 -6
- package/dist/components/zonos-address2.js +0 -176
- package/dist/components/zonos-badge.d.ts +0 -11
- package/dist/components/zonos-badge.js +0 -6
- package/dist/components/zonos-badge2.js +0 -61
- package/dist/components/zonos-banner.d.ts +0 -11
- package/dist/components/zonos-banner.js +0 -6
- package/dist/components/zonos-banner2.js +0 -95
- package/dist/components/zonos-button.d.ts +0 -11
- package/dist/components/zonos-button.js +0 -6
- package/dist/components/zonos-button2.js +0 -174
- package/dist/components/zonos-card.d.ts +0 -11
- package/dist/components/zonos-card.js +0 -6
- package/dist/components/zonos-card2.js +0 -57
- package/dist/components/zonos-cart-items.d.ts +0 -11
- package/dist/components/zonos-cart-items.js +0 -6
- package/dist/components/zonos-cart-items2.js +0 -57
- package/dist/components/zonos-cart-restricted-items.d.ts +0 -11
- package/dist/components/zonos-cart-restricted-items.js +0 -6
- package/dist/components/zonos-cart-restricted-items2.js +0 -135
- package/dist/components/zonos-cart-subtotal.d.ts +0 -11
- package/dist/components/zonos-cart-subtotal.js +0 -6
- package/dist/components/zonos-cart-subtotal2.js +0 -91
- package/dist/components/zonos-checkbox.d.ts +0 -11
- package/dist/components/zonos-checkbox.js +0 -6
- package/dist/components/zonos-checkbox2.js +0 -96
- package/dist/components/zonos-checkout-finish.d.ts +0 -11
- package/dist/components/zonos-checkout-finish.js +0 -6
- package/dist/components/zonos-checkout-finish2.js +0 -246
- package/dist/components/zonos-checkout-footer.d.ts +0 -11
- package/dist/components/zonos-checkout-footer.js +0 -6
- package/dist/components/zonos-checkout-footer2.js +0 -125
- package/dist/components/zonos-checkout-payment.d.ts +0 -11
- package/dist/components/zonos-checkout-payment.js +0 -6
- package/dist/components/zonos-checkout-payment2.js +0 -104
- package/dist/components/zonos-checkout-progress-tabs.d.ts +0 -11
- package/dist/components/zonos-checkout-progress-tabs.js +0 -6
- package/dist/components/zonos-checkout-progress-tabs2.js +0 -138
- package/dist/components/zonos-checkout.d.ts +0 -11
- package/dist/components/zonos-checkout.js +0 -1018
- package/dist/components/zonos-collapse.d.ts +0 -11
- package/dist/components/zonos-collapse.js +0 -6
- package/dist/components/zonos-collapse2.js +0 -78
- package/dist/components/zonos-component.d.ts +0 -11
- package/dist/components/zonos-component.js +0 -48
- package/dist/components/zonos-controller.d.ts +0 -11
- package/dist/components/zonos-controller.js +0 -309
- package/dist/components/zonos-country-flag.d.ts +0 -11
- package/dist/components/zonos-country-flag.js +0 -6
- package/dist/components/zonos-country-flag2.js +0 -54
- package/dist/components/zonos-country-select.d.ts +0 -11
- package/dist/components/zonos-country-select.js +0 -6
- package/dist/components/zonos-country-select2.js +0 -1891
- package/dist/components/zonos-custom-message.d.ts +0 -11
- package/dist/components/zonos-custom-message.js +0 -6
- package/dist/components/zonos-custom-message2.js +0 -72
- package/dist/components/zonos-customer-info.d.ts +0 -11
- package/dist/components/zonos-customer-info.js +0 -6
- package/dist/components/zonos-customer-info2.js +0 -316
- package/dist/components/zonos-dialog.d.ts +0 -11
- package/dist/components/zonos-dialog.js +0 -6
- package/dist/components/zonos-dialog2.js +0 -124
- package/dist/components/zonos-hello-dialog-footer.d.ts +0 -11
- package/dist/components/zonos-hello-dialog-footer.js +0 -6
- package/dist/components/zonos-hello-dialog-footer2.js +0 -83
- package/dist/components/zonos-hello-dialog.d.ts +0 -11
- package/dist/components/zonos-hello-dialog.js +0 -6
- package/dist/components/zonos-hello-dialog2.js +0 -305
- package/dist/components/zonos-hello.d.ts +0 -11
- package/dist/components/zonos-hello.js +0 -879
- package/dist/components/zonos-icon.d.ts +0 -11
- package/dist/components/zonos-icon.js +0 -6
- package/dist/components/zonos-icon2.js +0 -55
- package/dist/components/zonos-input.d.ts +0 -11
- package/dist/components/zonos-input.js +0 -6
- package/dist/components/zonos-input2.js +0 -78
- package/dist/components/zonos-language-select.d.ts +0 -11
- package/dist/components/zonos-language-select.js +0 -6
- package/dist/components/zonos-language-select2.js +0 -88
- package/dist/components/zonos-link-authentication.d.ts +0 -11
- package/dist/components/zonos-link-authentication.js +0 -6
- package/dist/components/zonos-link-authentication2.js +0 -80
- package/dist/components/zonos-link.d.ts +0 -11
- package/dist/components/zonos-link.js +0 -43
- package/dist/components/zonos-logo.d.ts +0 -11
- package/dist/components/zonos-logo.js +0 -49
- package/dist/components/zonos-notification.d.ts +0 -11
- package/dist/components/zonos-notification.js +0 -6
- package/dist/components/zonos-notification2.js +0 -92
- package/dist/components/zonos-payment.d.ts +0 -11
- package/dist/components/zonos-payment.js +0 -6
- package/dist/components/zonos-payment2.js +0 -77
- package/dist/components/zonos-review.d.ts +0 -11
- package/dist/components/zonos-review.js +0 -6
- package/dist/components/zonos-review2.js +0 -89
- package/dist/components/zonos-select-dialog-header.d.ts +0 -11
- package/dist/components/zonos-select-dialog-header.js +0 -6
- package/dist/components/zonos-select-dialog-header2.js +0 -71
- package/dist/components/zonos-shipping-rich-radio.d.ts +0 -11
- package/dist/components/zonos-shipping-rich-radio.js +0 -6
- package/dist/components/zonos-shipping-rich-radio2.js +0 -88
- package/dist/components/zonos-shipping.d.ts +0 -11
- package/dist/components/zonos-shipping.js +0 -6
- package/dist/components/zonos-shipping2.js +0 -159
- package/dist/components/zonos-spinner.d.ts +0 -11
- package/dist/components/zonos-spinner.js +0 -6
- package/dist/components/zonos-spinner2.js +0 -43
- package/dist/components/zonos-text.d.ts +0 -11
- package/dist/components/zonos-text.js +0 -6
- package/dist/components/zonos-text2.js +0 -182
- package/dist/components/zonos-tooltip.d.ts +0 -11
- package/dist/components/zonos-tooltip.js +0 -6
- package/dist/components/zonos-tooltip2.js +0 -48
- package/dist/components/zonos-v-stack.d.ts +0 -11
- package/dist/components/zonos-v-stack.js +0 -6
- package/dist/components/zonos-v-stack2.js +0 -38
- package/dist/components/zonosStore.js +0 -2880
- package/dist/esm/getBorderRadius-567f1786.js +0 -18
- package/dist/esm/isDarkColor-7f62035a.js +0 -1199
- package/dist/esm-es5/cart-6448e883.js +0 -1
- package/dist/esm-es5/submitGtag-b7d369cd.js +0 -1
- package/dist/esm-es5/zonos-cart-items_10.entry.js +0 -1
- package/dist/scripts/checkIfLoadVersionDomain.js +0 -1
- package/dist/scripts/extractZonosQaUrl.js +0 -1
- package/dist/scripts/getTempCartById.js +0 -1
- package/dist/scripts/loadStripe.js +0 -1
- package/dist/scripts/stripe.js +0 -1
- package/dist/scripts/zonosBase.js +0 -1
- package/dist/zonos-elements/p-0759a84d.system.entry.js +0 -1
- package/dist/zonos-elements/p-0ee61fba.system.entry.js +0 -1
- package/dist/zonos-elements/p-154aaf95.system.js +0 -1
- package/dist/zonos-elements/p-2fc561ac.system.entry.js +0 -1
- package/dist/zonos-elements/p-345503b7.entry.js +0 -1
- package/dist/zonos-elements/p-3be2e469.entry.js +0 -1
- package/dist/zonos-elements/p-47c75f81.system.entry.js +0 -1
- package/dist/zonos-elements/p-50ea2036.system.js +0 -1
- package/dist/zonos-elements/p-54004793.system.entry.js +0 -1
- package/dist/zonos-elements/p-58f8cee7.system.entry.js +0 -1
- package/dist/zonos-elements/p-61100d2e.system.entry.js +0 -1
- package/dist/zonos-elements/p-6ea746b9.entry.js +0 -1
- package/dist/zonos-elements/p-70c35519.system.entry.js +0 -1
- package/dist/zonos-elements/p-7b19cd96.entry.js +0 -1
- package/dist/zonos-elements/p-7cc730b0.js +0 -1
- package/dist/zonos-elements/p-7f48fafe.entry.js +0 -1
- package/dist/zonos-elements/p-9c575a18.system.entry.js +0 -1
- package/dist/zonos-elements/p-aaf1e517.system.js +0 -1
- package/dist/zonos-elements/p-aff5f4ca.js +0 -1
- package/dist/zonos-elements/p-beca252d.entry.js +0 -1
- package/dist/zonos-elements/p-c1f4bb4a.entry.js +0 -1
- package/dist/zonos-elements/p-c64eefdd.system.entry.js +0 -1
- package/dist/zonos-elements/p-ca621143.entry.js +0 -1
- package/dist/zonos-elements/p-dbee6587.entry.js +0 -1
- package/dist/zonos-elements/p-e0706108.system.entry.js +0 -1
- package/dist/zonos-elements/p-e3335228.entry.js +0 -1
- package/dist/zonos-elements/p-ef9cbb66.system.js +0 -1
- package/dist/zonos-elements/p-f1962041.js +0 -1
- /package/dist/collection/components/common/{component-template/zonos-link → zonos-link}/zonos-link.css +0 -0
- /package/dist/collection/scripts/{checkIfLoadVersionDomain.js → _checkIfLoadVersionDomain.js} +0 -0
- /package/dist/collection/scripts/{stripe.js → _stripe.js} +0 -0
- /package/dist/types/components/common/{component-template/zonos-link → zonos-link}/zonos-link.d.ts +0 -0
- /package/dist/types/scripts/{checkIfLoadVersionDomain.d.ts → _checkIfLoadVersionDomain.d.ts} +0 -0
- /package/dist/types/scripts/{stripe.d.ts → _stripe.d.ts} +0 -0
|
@@ -17,13 +17,13 @@
|
|
|
17
17
|
"components/checkout/zonos-checkout/zonos-customer-info/zonos-customer-info.js",
|
|
18
18
|
"components/checkout/zonos-checkout/zonos-review/zonos-review.js",
|
|
19
19
|
"components/checkout/zonos-checkout/zonos-shipping/zonos-shipping.js",
|
|
20
|
-
"components/common/component-template/zonos-link/zonos-link.js",
|
|
21
20
|
"components/common/zonos-badge/zonos-badge.js",
|
|
22
21
|
"components/common/zonos-button/zonos-button.js",
|
|
23
22
|
"components/common/zonos-card/zonos-card.js",
|
|
24
23
|
"components/common/zonos-checkbox/zonos-checkbox.js",
|
|
25
24
|
"components/common/zonos-checkout-progress-tabs/zonos-checkout-progress-tabs.js",
|
|
26
25
|
"components/common/zonos-collapse/zonos-collapse.js",
|
|
26
|
+
"components/common/zonos-confirm-dialog/zonos-confirm-dialog.js",
|
|
27
27
|
"components/common/zonos-country-flag/zonos-country-flag.js",
|
|
28
28
|
"components/common/zonos-country-select/zonos-country-select.js",
|
|
29
29
|
"components/common/zonos-custom-message/zonos-custom-message.js",
|
|
@@ -31,6 +31,7 @@
|
|
|
31
31
|
"components/common/zonos-icon/zonos-icon.js",
|
|
32
32
|
"components/common/zonos-input/zonos-input.js",
|
|
33
33
|
"components/common/zonos-language-select/zonos-language-select.js",
|
|
34
|
+
"components/common/zonos-link/zonos-link.js",
|
|
34
35
|
"components/common/zonos-logo/zonos-logo.js",
|
|
35
36
|
"components/common/zonos-select-dialog-header/zonos-select-dialog-header.js",
|
|
36
37
|
"components/common/zonos-text/zonos-text.js",
|
|
@@ -156,11 +156,11 @@ export class ZonosCheckoutFinish {
|
|
|
156
156
|
// const totalItems = this.order?.items?.reduce((acc, item) => {
|
|
157
157
|
// return acc + item.quantity;
|
|
158
158
|
// }, 0);
|
|
159
|
-
return (h(Host, { key: '
|
|
159
|
+
return (h(Host, { key: '1e4627e936e0508761c12d842523adb51d3c797e', class: "zonos--checkout-finish zonos--elements", style: {
|
|
160
160
|
'--border-radius': getBorderRadius({
|
|
161
161
|
overrideBorderStyle: this.borderRadius,
|
|
162
162
|
}),
|
|
163
|
-
} }, this.isLoading && (h("div", { key: '
|
|
163
|
+
} }, this.isLoading && (h("div", { key: '4d3be87aec252946c5b6fb516c882830232a83e5', class: "loading-wrapper" }, h("zonos-spinner", { key: '25e9bafaaebed75582efd936c57121921c8f2f8a' }))), !this.isLoading && (h(Fragment, null, h("div", { key: '49c211db17af433b3936e69722c3c76c9197c170', class: "zonos--group" }, this.notificationType === 'success' ? (h("zonos-icon", { "aria-label": "Order success", content: SuccessIcon, iconColor: 'blue-800', size: 50 })) : (h("zonos-icon", { "aria-label": "Order failed", content: RemoveIcon, iconColor: 'red-800', size: 50 })), h("zonos-text", { key: '4cb90069dcf385886cb9235ee0854d63781e4452', class: "zonos--title", type: "semiBoldSubheader" }, this.notificationTitle), h("zonos-text", { key: '8e16be3b15d7fba7b697ba9ed41332c9794f3551' }, this.notificationMessages.map(message => (h(Fragment, null, message, h("br", null))))), h("zonos-button", { key: 'e1bfacd92d36c303defc464c7eaf10b8853175c1', onClick: () => this.closeClickHandler(), size: "md", variant: "primary" }, translate('Keep shopping')))))));
|
|
164
164
|
}
|
|
165
165
|
static get is() { return "zonos-checkout-finish"; }
|
|
166
166
|
static get encapsulation() { return "shadow"; }
|
|
@@ -228,14 +228,9 @@ export class ZonosCheckoutFinish {
|
|
|
228
228
|
"type": "unknown",
|
|
229
229
|
"mutable": false,
|
|
230
230
|
"complexType": {
|
|
231
|
-
"original": "
|
|
231
|
+
"original": "{\n messages: string[];\n title: string;\n type: 'success' | 'error';\n }",
|
|
232
232
|
"resolved": "undefined | { messages: string[]; title: string; type: \"error\" | \"success\"; }",
|
|
233
|
-
"references": {
|
|
234
|
-
"OverrideNotification": {
|
|
235
|
-
"location": "global",
|
|
236
|
-
"id": "global::OverrideNotification"
|
|
237
|
-
}
|
|
238
|
-
}
|
|
233
|
+
"references": {}
|
|
239
234
|
},
|
|
240
235
|
"required": false,
|
|
241
236
|
"optional": true,
|
|
@@ -68,6 +68,7 @@ export class ZonosCheckout {
|
|
|
68
68
|
this.domesticRedirectedBtnSelector = '#zonos--domestic-redirected-checkout-button';
|
|
69
69
|
this.legacyCheckoutHiddenBtnSelector = '#legacy-checkout-hidden-button';
|
|
70
70
|
this.isLegacyCheckout = false;
|
|
71
|
+
this.confirmDialogOpen = false;
|
|
71
72
|
}
|
|
72
73
|
/**
|
|
73
74
|
* Init cart info handler event
|
|
@@ -76,10 +77,27 @@ export class ZonosCheckout {
|
|
|
76
77
|
const cartItems = e.detail;
|
|
77
78
|
void cartStoreUpdateItems(cartItems);
|
|
78
79
|
}
|
|
80
|
+
async handleKeyPress(e) {
|
|
81
|
+
if (e.key === 'Escape') {
|
|
82
|
+
void this.closeDialogHandler();
|
|
83
|
+
}
|
|
84
|
+
}
|
|
79
85
|
/**
|
|
80
86
|
* Close dialog action
|
|
81
87
|
*/
|
|
82
|
-
async closeDialogHandler() {
|
|
88
|
+
async closeDialogHandler(props) {
|
|
89
|
+
var _a, _b;
|
|
90
|
+
if (!this.open) {
|
|
91
|
+
// Do nothing if the checkout is not even open
|
|
92
|
+
return;
|
|
93
|
+
}
|
|
94
|
+
// Only proceed when user select confirmed.
|
|
95
|
+
if (!(props === null || props === void 0 ? void 0 : props.confirmed)) {
|
|
96
|
+
this.confirmDialogOpen = true;
|
|
97
|
+
return;
|
|
98
|
+
}
|
|
99
|
+
// Close the confirm dialog
|
|
100
|
+
this.confirmDialogOpen = false;
|
|
83
101
|
submitGtag('zonos-checkout-close');
|
|
84
102
|
this.open = this.forceDialogOpen || false;
|
|
85
103
|
if (!this.preview && cartStore.step === 'finish') {
|
|
@@ -90,6 +108,10 @@ export class ZonosCheckout {
|
|
|
90
108
|
cartStore.step = 'customer-info';
|
|
91
109
|
// reset the tab item, so that user needs to click on Continue button to re-quote the landed cost if needed.
|
|
92
110
|
cartStoreResetTabItems();
|
|
111
|
+
/**
|
|
112
|
+
* Trigger callback when the checkout is closed
|
|
113
|
+
*/
|
|
114
|
+
(_b = (_a = zonosStore.checkoutSettings).onClose) === null || _b === void 0 ? void 0 : _b.call(_a);
|
|
93
115
|
}
|
|
94
116
|
async buildCartAndInit() {
|
|
95
117
|
// if tempCartUUID is provided, use it instead of buildCartDetail
|
|
@@ -494,7 +516,11 @@ export class ZonosCheckout {
|
|
|
494
516
|
hasFooter && 'has-footer',
|
|
495
517
|
this.preview && 'preview',
|
|
496
518
|
this.isMobile && 'mobile',
|
|
497
|
-
]) }, this.preview ? (renderContent()) : (h("zonos-dialog", { borderStyle: style, "data-theme": rightSideTheme, height: "980px", isLoading: dialogLoading, mobile: this.isMobile, noBodyPadding: true, noBorder: true, noClickOutside: true, noCloseButton: true, onCloseDialog: () => this.closeDialogHandler(), open: this.open, width: "1200px" }, renderContent()))))
|
|
519
|
+
]) }, this.preview ? (renderContent()) : (h("zonos-dialog", { borderStyle: style, "data-theme": rightSideTheme, height: "980px", isLoading: dialogLoading, mobile: this.isMobile, noBodyPadding: true, noBorder: true, noClickOutside: true, noCloseButton: true, onCloseDialog: () => this.closeDialogHandler(), open: this.open, width: "1200px" }, renderContent())), h("zonos-confirm-dialog", { dialogCancelBtnText: translate("Don't close"), dialogConfirmBtnText: translate('Close'), dialogIntent: "warn", dialogOpen: this.confirmDialogOpen, dialogSubtitle: translate('Would you like to close checkout and return to the site?'), dialogTitle: translate('Are you sure?'), onCancelClicked: () => {
|
|
520
|
+
this.confirmDialogOpen = false;
|
|
521
|
+
},
|
|
522
|
+
// Mark user selected confirm to close the dialog
|
|
523
|
+
onConfirmClicked: () => this.closeDialogHandler({ confirmed: true }) })));
|
|
498
524
|
}
|
|
499
525
|
static get is() { return "zonos-checkout"; }
|
|
500
526
|
static get encapsulation() { return "scoped"; }
|
|
@@ -576,13 +602,13 @@ export class ZonosCheckout {
|
|
|
576
602
|
"type": "unknown",
|
|
577
603
|
"mutable": false,
|
|
578
604
|
"complexType": {
|
|
579
|
-
"original": "
|
|
605
|
+
"original": "StripeStoreContactOption | null",
|
|
580
606
|
"resolved": "null | { address: { city: string; country: string; line1: string; line2?: string | undefined; postal_code: string; state: string; }; email: string; name: string; phone?: string | undefined; }",
|
|
581
607
|
"references": {
|
|
582
|
-
"
|
|
608
|
+
"StripeStoreContactOption": {
|
|
583
609
|
"location": "import",
|
|
584
610
|
"path": "src/components/store/checkout/stripe",
|
|
585
|
-
"id": "src/components/store/checkout/stripe.ts::
|
|
611
|
+
"id": "src/components/store/checkout/stripe.ts::StripeStoreContactOption"
|
|
586
612
|
}
|
|
587
613
|
}
|
|
588
614
|
},
|
|
@@ -627,15 +653,20 @@ export class ZonosCheckout {
|
|
|
627
653
|
"storybookPaymentStatusOverride": {},
|
|
628
654
|
"domesticRedirectedBtnSelector": {},
|
|
629
655
|
"legacyCheckoutHiddenBtnSelector": {},
|
|
630
|
-
"isLegacyCheckout": {}
|
|
656
|
+
"isLegacyCheckout": {},
|
|
657
|
+
"confirmDialogOpen": {}
|
|
631
658
|
};
|
|
632
659
|
}
|
|
633
660
|
static get methods() {
|
|
634
661
|
return {
|
|
635
662
|
"closeDialogHandler": {
|
|
636
663
|
"complexType": {
|
|
637
|
-
"signature": "() => Promise<void>",
|
|
638
|
-
"parameters": [
|
|
664
|
+
"signature": "(props?: { confirmed: boolean; }) => Promise<void>",
|
|
665
|
+
"parameters": [{
|
|
666
|
+
"name": "props",
|
|
667
|
+
"type": "{ confirmed: boolean; } | undefined",
|
|
668
|
+
"docs": ""
|
|
669
|
+
}],
|
|
639
670
|
"references": {
|
|
640
671
|
"Promise": {
|
|
641
672
|
"location": "global",
|
|
@@ -717,6 +748,12 @@ export class ZonosCheckout {
|
|
|
717
748
|
"target": "body",
|
|
718
749
|
"capture": false,
|
|
719
750
|
"passive": false
|
|
751
|
+
}, {
|
|
752
|
+
"name": "keydown",
|
|
753
|
+
"method": "handleKeyPress",
|
|
754
|
+
"target": "document",
|
|
755
|
+
"capture": false,
|
|
756
|
+
"passive": false
|
|
720
757
|
}, {
|
|
721
758
|
"name": "resize",
|
|
722
759
|
"method": "handleWindowResize",
|
|
@@ -279,13 +279,13 @@ export class ZonosCustomerInfo {
|
|
|
279
279
|
"type": "unknown",
|
|
280
280
|
"mutable": false,
|
|
281
281
|
"complexType": {
|
|
282
|
-
"original": "
|
|
282
|
+
"original": "StripeStoreContactOption | null",
|
|
283
283
|
"resolved": "null | { address: { city: string; country: string; line1: string; line2?: string | undefined; postal_code: string; state: string; }; email: string; name: string; phone?: string | undefined; }",
|
|
284
284
|
"references": {
|
|
285
|
-
"
|
|
285
|
+
"StripeStoreContactOption": {
|
|
286
286
|
"location": "import",
|
|
287
287
|
"path": "src/components/store/checkout/stripe",
|
|
288
|
-
"id": "src/components/store/checkout/stripe.ts::
|
|
288
|
+
"id": "src/components/store/checkout/stripe.ts::StripeStoreContactOption"
|
|
289
289
|
}
|
|
290
290
|
}
|
|
291
291
|
},
|
|
@@ -11,16 +11,16 @@ export class ZonosBadge {
|
|
|
11
11
|
this.rounded = false;
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
|
-
return (h(Host, { key: '
|
|
14
|
+
return (h(Host, { key: '6abf1f29bb6368710b45414baca9643421de2643', class: classes(['zonos--elements zonos--badge']), style: {
|
|
15
15
|
'--font-family': zonosStoreFontFamily(),
|
|
16
|
-
} }, h("div", { key: '
|
|
16
|
+
} }, h("div", { key: 'fb0b246a59f0350313673d4430ac4f2bcd9d6b80', class: classes([
|
|
17
17
|
'zonos--badge-content',
|
|
18
18
|
this.badgeColor,
|
|
19
19
|
this.rounded && 'rounded',
|
|
20
20
|
this.iconRight && 'icon-right',
|
|
21
21
|
this.size,
|
|
22
22
|
this.bold && 'bold',
|
|
23
|
-
]) }, this.icon, h("zonos-text", { key: '
|
|
23
|
+
]) }, this.icon, h("zonos-text", { key: '2d6024af48ce0e082d3a1332794978cfd42793d6' }, h("slot", { key: '9cb7e771b0a949b912c6fa5946018cbf072ed018' })))));
|
|
24
24
|
}
|
|
25
25
|
static get is() { return "zonos-badge"; }
|
|
26
26
|
static get encapsulation() { return "shadow"; }
|
|
@@ -73,6 +73,18 @@
|
|
|
73
73
|
margin: 1px;
|
|
74
74
|
/** Button size */
|
|
75
75
|
}
|
|
76
|
+
:host button:not([disabled]):hover {
|
|
77
|
+
background-image: var(--zonos-elements-button-standard-hover);
|
|
78
|
+
}
|
|
79
|
+
:host button:not([disabled]):active {
|
|
80
|
+
background: var(--zonos-elements-gray-700);
|
|
81
|
+
}
|
|
82
|
+
:host button:not([disabled]):focus {
|
|
83
|
+
box-shadow: var(--zonos-elements-focus-button);
|
|
84
|
+
}
|
|
85
|
+
:host button.with-box-shadow {
|
|
86
|
+
box-shadow: var(--zonos-elements-shadow-button-standard);
|
|
87
|
+
}
|
|
76
88
|
:host button.sm.no-background, :host button.md.no-background, :host button.lg.no-background {
|
|
77
89
|
background: none;
|
|
78
90
|
outline: none;
|
|
@@ -14,6 +14,7 @@ export class ZonosButton {
|
|
|
14
14
|
this.handleSlotChange = () => {
|
|
15
15
|
this.hasContent = true;
|
|
16
16
|
};
|
|
17
|
+
this.getColorVarProperty = (color) => color.replace('var(', '').replace(')', '');
|
|
17
18
|
this.buttonColor = undefined;
|
|
18
19
|
this.backgroundColor = undefined;
|
|
19
20
|
this.borderStyle = undefined;
|
|
@@ -23,6 +24,7 @@ export class ZonosButton {
|
|
|
23
24
|
this.size = 'sm';
|
|
24
25
|
this.variant = 'standard';
|
|
25
26
|
this.noBackground = false;
|
|
27
|
+
this.withBoxShadow = false;
|
|
26
28
|
this.noPaddingLeft = false;
|
|
27
29
|
this.noPaddingRight = false;
|
|
28
30
|
this.loading = false;
|
|
@@ -52,15 +54,22 @@ export class ZonosButton {
|
|
|
52
54
|
* So need to re-assign the variant prop with the default value if the value is `undefined` here.
|
|
53
55
|
*/
|
|
54
56
|
const variant = this.variant || 'standard';
|
|
57
|
+
// use the variable if it's a color variable, otherwise use the color
|
|
58
|
+
const backgroundColor = this.backgroundColor && isColorVariable(this.backgroundColor)
|
|
59
|
+
? `var(--zonos-elements-${this.backgroundColor})`
|
|
60
|
+
: this.backgroundColor;
|
|
55
61
|
// use override background if it exists, otherwise use color from setting
|
|
56
|
-
const overrideBackground =
|
|
62
|
+
const overrideBackground = backgroundColor || zonosStore.appearance.colorSecondary;
|
|
57
63
|
// only set theme for button to change text color if variant is standard and override background is set
|
|
58
64
|
const buttonTheme = variant === 'standard' ? getButtonTheme(overrideBackground) : undefined;
|
|
59
65
|
const borderStyle = getBorderRadius({
|
|
60
66
|
overrideBorderStyle: this.borderStyle,
|
|
61
67
|
});
|
|
62
|
-
const backgroundActualColor =
|
|
63
|
-
|
|
68
|
+
const backgroundActualColor = overrideBackground &&
|
|
69
|
+
isColorVariable(this.getColorVarProperty(overrideBackground))
|
|
70
|
+
? window
|
|
71
|
+
.getComputedStyle(this.ele)
|
|
72
|
+
.getPropertyValue(this.getColorVarProperty(overrideBackground))
|
|
64
73
|
: overrideBackground;
|
|
65
74
|
// use the variable if it's a color variable, otherwise use the color
|
|
66
75
|
const color = this.buttonColor && isColorVariable(this.buttonColor)
|
|
@@ -75,28 +84,30 @@ export class ZonosButton {
|
|
|
75
84
|
const spinnerColor = backgroundActualColor && isDarkColor(backgroundActualColor)
|
|
76
85
|
? 'white'
|
|
77
86
|
: 'black';
|
|
78
|
-
return (h(Host, { key: '
|
|
87
|
+
return (h(Host, { key: '00d085d600a759366f4a2de8617d81831c0ce16b', class: classes(['zonos--elements']), "data-theme": this.theme || buttonTheme, disabled: disabled, style: styles({
|
|
79
88
|
'--background-color': overrideBackground,
|
|
80
89
|
'--border-radius': borderStyle,
|
|
81
90
|
'--color': contrastColor,
|
|
82
91
|
'--font-family': zonosStoreFontFamily(),
|
|
83
|
-
}) }, h("button", { key: '
|
|
92
|
+
}) }, h("button", { key: 'b79ffdb0212630598e95f07059bb3b41049cff47', class: classes([
|
|
84
93
|
this.hasIcon && 'has-icon',
|
|
85
94
|
this.hasContent && 'has-content',
|
|
86
95
|
this.noBackground && 'no-background',
|
|
87
96
|
this.noPaddingLeft && 'no-padding-left',
|
|
88
97
|
this.noPaddingRight && 'no-padding-right',
|
|
89
98
|
this.iconRight && 'icon-right',
|
|
99
|
+
this.withBoxShadow && 'with-box-shadow',
|
|
90
100
|
variant,
|
|
91
101
|
this.size,
|
|
92
102
|
// only override background if variant is set to standard
|
|
93
103
|
overrideBackground &&
|
|
94
104
|
variant === 'standard' &&
|
|
95
105
|
'override-background',
|
|
96
|
-
]), disabled: disabled }, this.loading && (h("div", { key: '
|
|
106
|
+
]), disabled: disabled }, this.loading && (h("div", { key: '4462430185736b45b11bd18f08d1e3c6177f192f', class: "zonos--spinner-wrapper" }, h("zonos-spinner", { key: 'c866ff989b95929e8d6a44d950dc943531f1dc0c', size: 16, spinnerColor: spinnerColor }))), !this.loading && !this.iconRight && this.icon, h("slot", { key: 'a57d0b3924eef51bf3938261c8d823e9d8aa0206', onSlotchange: this.handleSlotChange }), !this.loading && this.iconRight && this.icon)));
|
|
97
107
|
}
|
|
98
108
|
static get is() { return "zonos-button"; }
|
|
99
109
|
static get encapsulation() { return "shadow"; }
|
|
110
|
+
static get delegatesFocus() { return true; }
|
|
100
111
|
static get originalStyleUrls() {
|
|
101
112
|
return {
|
|
102
113
|
"$": ["zonos-button.scss"]
|
|
@@ -288,8 +299,14 @@ export class ZonosButton {
|
|
|
288
299
|
"required": false,
|
|
289
300
|
"optional": false,
|
|
290
301
|
"docs": {
|
|
291
|
-
"tags": [
|
|
292
|
-
|
|
302
|
+
"tags": [{
|
|
303
|
+
"name": "note",
|
|
304
|
+
"text": "If the button `variant` is set to 'standard', backgroundColor will be disregarded"
|
|
305
|
+
}, {
|
|
306
|
+
"name": "default",
|
|
307
|
+
"text": "standard"
|
|
308
|
+
}],
|
|
309
|
+
"text": "The variance of the button"
|
|
293
310
|
},
|
|
294
311
|
"attribute": "variant",
|
|
295
312
|
"reflect": false,
|
|
@@ -316,6 +333,24 @@ export class ZonosButton {
|
|
|
316
333
|
"reflect": false,
|
|
317
334
|
"defaultValue": "false"
|
|
318
335
|
},
|
|
336
|
+
"withBoxShadow": {
|
|
337
|
+
"type": "boolean",
|
|
338
|
+
"mutable": false,
|
|
339
|
+
"complexType": {
|
|
340
|
+
"original": "boolean",
|
|
341
|
+
"resolved": "boolean",
|
|
342
|
+
"references": {}
|
|
343
|
+
},
|
|
344
|
+
"required": false,
|
|
345
|
+
"optional": false,
|
|
346
|
+
"docs": {
|
|
347
|
+
"tags": [],
|
|
348
|
+
"text": "Whether or not the button has a box shadow"
|
|
349
|
+
},
|
|
350
|
+
"attribute": "with-box-shadow",
|
|
351
|
+
"reflect": false,
|
|
352
|
+
"defaultValue": "false"
|
|
353
|
+
},
|
|
319
354
|
"noPaddingLeft": {
|
|
320
355
|
"type": "boolean",
|
|
321
356
|
"mutable": false,
|
|
@@ -12,12 +12,12 @@ export class ZonosCard {
|
|
|
12
12
|
this.spacing = '24px';
|
|
13
13
|
}
|
|
14
14
|
render() {
|
|
15
|
-
return (h(Host, { key: '
|
|
15
|
+
return (h(Host, { key: '0e52ca31db6c2f956da1910d6e0a222b588c1bcc', style: {
|
|
16
16
|
'--font-family': zonosStoreFontFamily(),
|
|
17
|
-
} }, h("div", { key: '
|
|
17
|
+
} }, h("div", { key: '69f391d821f88cbee4b0c586a8323b1dd68d7fd3', class: classes(['styled-card']), style: { padding: this.spacing } }, this.label && (h("header", { key: '4568a1d7c354830e6e65e31b20b38140aaab9d01', class: "card-header", style: { padding: this.spacing } }, h("zonos-text", { key: 'e0a6b7a3776916f8208c27373878041807d91960', type: "subheader" }, this.label), h("h-stack", { key: 'c5f8d01b2f477b16ab9387081987eae64b156e76', spacing: 8 }, this.actions))), h("slot", { key: '6001acfaae8ba37456a7c23bae5c44a91da074f9' }), (this.footerActions || this.footerContent) && (h("footer", { key: '78b926a323a5f1375c8120d5aa8b1ab2a4f3fa4a', class: "card-footer", style: {
|
|
18
18
|
height: this.footerHeight ? `${this.footerHeight}px` : 'auto',
|
|
19
19
|
padding: this.spacing,
|
|
20
|
-
} }, h("div", { key: '
|
|
20
|
+
} }, h("div", { key: '2bd0c86b75096c2ee786d4a9b16a3d6e385fbbf1' }, this.footerContent), h("h-stack", { key: '7a3f840ac9678a905338a99b8327115bc8199789', spacing: 8 }, this.footerActions))))));
|
|
21
21
|
}
|
|
22
22
|
static get is() { return "zonos-card"; }
|
|
23
23
|
static get encapsulation() { return "shadow"; }
|
|
@@ -36,14 +36,14 @@ export class ZonosCheckbox {
|
|
|
36
36
|
customRoundRadius: '4px',
|
|
37
37
|
overrideBorderStyle: this.borderStyle,
|
|
38
38
|
});
|
|
39
|
-
return (h(Host, { key: '
|
|
39
|
+
return (h(Host, { key: '8a1adb8ba23d34a7730e5b5a81bc6b5ada58cb83', class: classes(['zonos--elements zonos--checkbox']), style: {
|
|
40
40
|
'--background-color': backgroundColor,
|
|
41
41
|
'--border-radius': borderStyle,
|
|
42
42
|
'--font-family': zonosStoreFontFamily(),
|
|
43
43
|
'--size': `${this.size}px`,
|
|
44
|
-
} }, h("label", { key: '
|
|
44
|
+
} }, h("label", { key: 'e954bcef9e021bfbb98031f030542a89d8faf0f3', class: classes([this.isDisabled && 'disabled']) }, h("input", { key: '17788f6c205a139dde1b42cc91579d0975233e77', checked: this.isChecked, disabled: this.isDisabled, hidden: true, onChange: e => {
|
|
45
45
|
this.checkboxSelected.emit(e.target.checked);
|
|
46
|
-
}, type: "checkbox" }), h("span", { key: '
|
|
46
|
+
}, type: "checkbox" }), h("span", { key: '589486a19b7b0b42ce8eabd2230a8b4620ca3216', class: "checkmark-container" }, h("svg", { key: 'd56ce06c20e0c3460b6222d323d0a17059147157', class: "checkmark", color: checkmarkColor, fill: "none", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: '5e6af8d520bcb7c3b0fe2891ce0c2e783976b501', "clip-rule": "evenodd", d: "M17.456 7.404a.75.75 0 0 1 .14 1.052l-6.5 8.5a.75.75 0 0 1-1.126.074l-4-4a.75.75 0 0 1 1.06-1.06l3.395 3.394 5.98-7.82a.75.75 0 0 1 1.05-.14Z", fill: "currentColor", "fill-rule": "evenodd" }))), this.label && (h("zonos-text", { key: '18c5a586756ddc0808c05f305c89dbb07f1b7d16', size: this.fontSize }, this.label)))));
|
|
47
47
|
}
|
|
48
48
|
static get is() { return "zonos-checkbox"; }
|
|
49
49
|
static get encapsulation() { return "shadow"; }
|
|
@@ -63,17 +63,17 @@ export class ZonosCheckoutProgressTabs {
|
|
|
63
63
|
color: labelSelectedColor,
|
|
64
64
|
})
|
|
65
65
|
: labelSelectedColor;
|
|
66
|
-
return (h(Host, { key: '
|
|
66
|
+
return (h(Host, { key: '1c51be111b22f45ad33d430dc4d0a250f8e4d911', class: "zonos--elements", style: {
|
|
67
67
|
'--color': contrastLabelColor,
|
|
68
68
|
'--progress-percent': this.getTotalSuccessStep(),
|
|
69
|
-
} }, h("div", { key: '
|
|
69
|
+
} }, h("div", { key: '01e24d42123318aa23982e742b5f2053f5b5392d', class: "zonos--tab-wrapper" }, Object.values(cartStore.tabItems).map((tab, index) => {
|
|
70
70
|
const isSelected = tab.value === selectedStep;
|
|
71
71
|
return (h("button", { class: classes([
|
|
72
72
|
'zonos--tab-item',
|
|
73
73
|
tab.value === selectedStep && 'selected',
|
|
74
74
|
tab.isDone && 'done',
|
|
75
75
|
]), disabled: !this.isTabClickable(tab.value), key: tab.value, onClick: () => (cartStore.step = tab.value) }, h("div", { class: "zonos--tab-index" }, h("zonos-text", { class: "zonos--tab-index-label", textColor: isSelected ? contrastLabelColor : 'gray-1200', type: "label" }, index + 1), h("zonos-icon", { class: "zonos--tab-index-done-icon", content: TabCheckmark, iconColor: isSelected ? contrastLabelColor : 'gray-1200' })), h("zonos-text", { textColor: isSelected ? contrastLabelColor : 'gray-1200', type: "label" }, translate(tab.label))));
|
|
76
|
-
})), h("div", { key: '
|
|
76
|
+
})), h("div", { key: '55832cb123f7efa019ccddfe6bd82938d9f02206', class: "zonos--tab-progress" }, h("div", { key: '15fd9749c64530f09854a297cbc35fe97d3398e3', class: "zonos--progress-bar-fill" }))));
|
|
77
77
|
}
|
|
78
78
|
static get is() { return "zonos-checkout-progress-tabs"; }
|
|
79
79
|
static get encapsulation() { return "shadow"; }
|
|
@@ -42,10 +42,10 @@ export class ZonosCollapse {
|
|
|
42
42
|
// set overflow to hidden to prevent content from showing when collapsed
|
|
43
43
|
this.el.style.overflow = 'hidden';
|
|
44
44
|
}
|
|
45
|
-
return (h(Host, { key: '
|
|
45
|
+
return (h(Host, { key: 'c268257dcef8e8def5e34bf5b3ea432136c06d6a', class: 'zonos--elements zonos--collapse', style: {
|
|
46
46
|
'--font-family': zonosStoreFontFamily(),
|
|
47
47
|
height: this.getElementHeight(),
|
|
48
|
-
} }, h("div", { key: '
|
|
48
|
+
} }, h("div", { key: 'ea4abe6a03ffed6f4fd1248e668d123c1a8cef77' }, h("iframe", { key: 'dc010404892272fece7a913149e75171bb6e786c', class: "height-change-listener", tabindex: "-1", title: "collapse-height-change-listener" }), h("slot", { key: 'c9dc7dd83363211d249ee417111f3a36057f0af0' }))));
|
|
49
49
|
}
|
|
50
50
|
static get is() { return "zonos-collapse"; }
|
|
51
51
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/components/common/zonos-confirm-dialog/assets/ExclamationMarkDuotoneIcon.svg
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg color="var(--zonos-elements-red-800)" fill="none" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg" style="display: block;">
|
|
2
|
+
<path d="M12 4a8 8 0 1 0 0 16 8 8 0 0 0 0-16Z" data-is-secondary-color="true" fill="var(--zonos-elements-red-400)"></path>
|
|
3
|
+
<path d="M12.75 9a.75.75 0 0 0-1.5 0v2.5a.75.75 0 0 0 1.5 0V9Zm0 5.5a.75.75 0 0 0-1.5 0v.5a.75.75 0 0 0 1.5 0v-.5Z" fill="currentColor"></path>
|
|
4
|
+
</svg>
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg color="var(--zonos-elements-blue-800)" fill="none" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg" style="display: block;">
|
|
2
|
+
<path d="M12 4a8 8 0 1 0 0 16 8 8 0 0 0 0-16Z" data-is-secondary-color="true" fill="var(--zonos-elements-blue-400)"></path>
|
|
3
|
+
<path d="M10.25 10.25a1.75 1.75 0 1 1 2.431 1.613c-.616.26-1.431.885-1.431 1.887a.75.75 0 0 0 1.5 0c0-.053.02-.128.108-.228.092-.104.236-.205.408-.278A3.25 3.25 0 1 0 8.75 10.25a.75.75 0 0 0 1.5 0Zm2.5 5.75a.75.75 0 0 0-1.5 0v.25a.75.75 0 0 0 1.5 0V16Z" fill="currentColor"></path>
|
|
4
|
+
</svg>
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg color="var(--zonos-elements-orange-800)" fill="none" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg" style="display: block;">
|
|
2
|
+
<path d="M14.46 5.492c-1.014-2.027-3.906-2.027-4.92 0L4.276 16.02c-.914 1.83.416 3.98 2.46 3.98h10.528c2.044 0 3.374-2.151 2.46-3.98L14.46 5.492Z" data-is-secondary-color="true" fill="var(--zonos-elements-orange-400)"></path>
|
|
3
|
+
<path d="M12.75 10a.75.75 0 0 0-1.5 0v2.5a.75.75 0 0 0 1.5 0V10Zm0 5.5a.75.75 0 0 0-1.5 0v.5a.75.75 0 0 0 1.5 0v-.5Z" fill="currentColor"></path>
|
|
4
|
+
</svg>
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
:host {
|
|
2
|
+
font-family: var(--font-family, Inter), Inter;
|
|
3
|
+
display: block;
|
|
4
|
+
white-space: normal;
|
|
5
|
+
}
|
|
6
|
+
:host * {
|
|
7
|
+
font-family: var(--font-family, Inter), Inter;
|
|
8
|
+
}
|
|
9
|
+
:host img {
|
|
10
|
+
max-width: 100%;
|
|
11
|
+
}
|
|
12
|
+
:host dl,
|
|
13
|
+
:host dd,
|
|
14
|
+
:host h1,
|
|
15
|
+
:host h2,
|
|
16
|
+
:host h3,
|
|
17
|
+
:host h4,
|
|
18
|
+
:host h5,
|
|
19
|
+
:host h6,
|
|
20
|
+
:host hr,
|
|
21
|
+
:host figure,
|
|
22
|
+
:host p,
|
|
23
|
+
:host pre {
|
|
24
|
+
margin: 0;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
/* All sets of variable are here */
|
|
28
|
+
/* smooth font rendering */
|
|
29
|
+
:host {
|
|
30
|
+
-moz-osx-font-smoothing: grayscale;
|
|
31
|
+
-webkit-font-smoothing: antialiased;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
:host .zonos--backdrop,
|
|
35
|
+
:host .zonos--confirm-layout {
|
|
36
|
+
opacity: 0;
|
|
37
|
+
z-index: -999;
|
|
38
|
+
visibility: hidden;
|
|
39
|
+
transition: opacity 0.3s, visibility 0.3s;
|
|
40
|
+
}
|
|
41
|
+
:host .zonos--backdrop {
|
|
42
|
+
width: 100vw;
|
|
43
|
+
height: 100vh;
|
|
44
|
+
left: 0;
|
|
45
|
+
top: 0;
|
|
46
|
+
background: var(--zonos-elements-backdrop-color);
|
|
47
|
+
position: fixed;
|
|
48
|
+
}
|
|
49
|
+
:host .zonos--confirm-layout {
|
|
50
|
+
width: 100vw;
|
|
51
|
+
height: 100vh;
|
|
52
|
+
left: 0;
|
|
53
|
+
top: 0;
|
|
54
|
+
position: fixed;
|
|
55
|
+
display: flex;
|
|
56
|
+
justify-content: center;
|
|
57
|
+
align-items: center;
|
|
58
|
+
color: var(--zonos-elements-text-color);
|
|
59
|
+
}
|
|
60
|
+
:host .zonos--confirm-dialog {
|
|
61
|
+
position: relative;
|
|
62
|
+
background: var(--zonos-elements-gray-0);
|
|
63
|
+
max-width: 90vw;
|
|
64
|
+
max-height: 90vh;
|
|
65
|
+
width: 350px;
|
|
66
|
+
border-radius: var(--border-radius, 10px);
|
|
67
|
+
outline: none;
|
|
68
|
+
box-shadow: var(--zonos-elements-v3-shadow-xxl);
|
|
69
|
+
border: var(--zonos-elements-border);
|
|
70
|
+
display: flex;
|
|
71
|
+
flex-direction: column;
|
|
72
|
+
}
|
|
73
|
+
:host .wrapper {
|
|
74
|
+
display: flex;
|
|
75
|
+
flex-direction: column;
|
|
76
|
+
align-items: center;
|
|
77
|
+
justify-content: center;
|
|
78
|
+
padding: 24px;
|
|
79
|
+
gap: 24px;
|
|
80
|
+
}
|
|
81
|
+
:host .icon-wrapper {
|
|
82
|
+
display: inline-flex;
|
|
83
|
+
align-items: center;
|
|
84
|
+
justify-content: center;
|
|
85
|
+
height: 40px;
|
|
86
|
+
width: 40px;
|
|
87
|
+
border-radius: 50%;
|
|
88
|
+
background: var(--zonos-elements-blue-100);
|
|
89
|
+
}
|
|
90
|
+
:host .warn .icon-wrapper {
|
|
91
|
+
background: var(--zonos-elements-orange-100);
|
|
92
|
+
}
|
|
93
|
+
:host .danger .icon-wrapper {
|
|
94
|
+
background: var(--zonos-elements-red-100);
|
|
95
|
+
}
|
|
96
|
+
:host .footer {
|
|
97
|
+
display: flex;
|
|
98
|
+
width: 100%;
|
|
99
|
+
gap: 8px;
|
|
100
|
+
}
|
|
101
|
+
:host .footer zonos-button {
|
|
102
|
+
flex: 1;
|
|
103
|
+
}
|
|
104
|
+
:host .content {
|
|
105
|
+
display: flex;
|
|
106
|
+
gap: 8px;
|
|
107
|
+
flex-direction: column;
|
|
108
|
+
}
|
|
109
|
+
:host .content zonos-text {
|
|
110
|
+
text-align: center;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
:host(.open) .zonos--confirm-layout,
|
|
114
|
+
:host(.open) .zonos--backdrop {
|
|
115
|
+
visibility: visible;
|
|
116
|
+
}
|
|
117
|
+
:host(.open) .zonos--backdrop {
|
|
118
|
+
z-index: 10003;
|
|
119
|
+
opacity: 0.65;
|
|
120
|
+
}
|
|
121
|
+
:host(.open) .zonos--confirm-layout {
|
|
122
|
+
opacity: 1;
|
|
123
|
+
z-index: 10004;
|
|
124
|
+
transform: scale(1);
|
|
125
|
+
}
|