@zonos/elements 1.3.4-alpha.0 → 1.3.4-alpha.2
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-cfa5d5fd.js → cart-f31374d4.js} +4 -4
- package/dist/cjs/{getBorderRadius-c3c63ee6.js → getBorderRadius-cd7ef574.js} +1 -1
- package/dist/cjs/{index-0dcccc22.js → index-3ead02fe.js} +56 -22
- package/dist/cjs/index.cjs.js +6 -6
- package/dist/cjs/{isDarkColor-fc8c294a.js → isDarkColor-5eda1323.js} +7 -3
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{localization-4746acf7.js → localization-d43e1540.js} +1 -1
- package/dist/cjs/{submitGtag-ca175427.js → submitGtag-42f29b3a.js} +2 -2
- package/dist/cjs/zonos-address_2.cjs.entry.js +12 -10
- package/dist/cjs/zonos-badge.cjs.entry.js +7 -6
- package/dist/cjs/zonos-banner.cjs.entry.js +4 -3
- package/dist/cjs/zonos-button_2.cjs.entry.js +11 -9
- package/dist/cjs/zonos-card_2.cjs.entry.js +10 -8
- package/dist/cjs/zonos-cart-items_10.cjs.entry.js +36 -26
- package/dist/cjs/zonos-checkout.cjs.entry.js +9 -8
- package/dist/cjs/zonos-component.cjs.entry.js +4 -3
- package/dist/cjs/zonos-controller.cjs.entry.js +9 -8
- package/dist/cjs/zonos-country-flag_4.cjs.entry.js +19 -15
- package/dist/cjs/zonos-elements.cjs.js +2 -2
- package/dist/cjs/zonos-hello-dialog.cjs.entry.js +7 -6
- package/dist/cjs/zonos-hello.cjs.entry.js +44 -27
- package/dist/cjs/zonos-icon.cjs.entry.js +4 -3
- package/dist/cjs/zonos-notification.cjs.entry.js +6 -5
- package/dist/cjs/zonos-payment.cjs.entry.js +9 -8
- package/dist/cjs/zonos-shipping-rich-radio.cjs.entry.js +6 -5
- package/dist/cjs/zonos-text.cjs.entry.js +4 -3
- package/dist/cjs/{zonosStore-10d1d6ff.js → zonosStore-b88b5671.js} +571 -332
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/checkout/zonos-checkout/zonos-cart-items/zonos-cart-items.js +1 -1
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-finish/zonos-checkout-finish.js +1 -1
- package/dist/collection/components/common/zonos-badge/zonos-badge.js +3 -3
- package/dist/collection/components/common/zonos-button/zonos-button.js +3 -3
- package/dist/collection/components/common/zonos-card/zonos-card.js +2 -2
- package/dist/collection/components/common/zonos-collapse/zonos-collapse.js +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.js +2 -2
- package/dist/collection/components/common/zonos-dialog/zonos-dialog.js +3 -3
- package/dist/collection/components/common/zonos-logo/zonos-logo.js +2 -2
- package/dist/collection/components/common/zonos-notification/zonos-notification.js +2 -2
- package/dist/collection/components/common/zonos-shipping-rich-radio/zonos-shipping-rich-radio.js +1 -1
- 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 +2 -2
- package/dist/collection/components/main/zonos-controller.js +1 -1
- package/dist/collection/components/stripe/zonos-address/zonos-address.js +1 -1
- 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/components/isDarkColor.js +7 -3
- package/dist/components/zonos-address2.js +3 -2
- package/dist/components/zonos-badge2.js +6 -5
- package/dist/components/zonos-banner2.js +3 -2
- package/dist/components/zonos-button2.js +6 -5
- package/dist/components/zonos-card2.js +5 -4
- package/dist/components/zonos-cart-items2.js +3 -2
- package/dist/components/zonos-cart-subtotal2.js +2 -1
- package/dist/components/zonos-checkout-finish2.js +3 -2
- package/dist/components/zonos-checkout-payment2.js +2 -1
- package/dist/components/zonos-checkout.js +2 -1
- package/dist/components/zonos-collapse2.js +5 -4
- package/dist/components/zonos-component.js +3 -2
- package/dist/components/zonos-controller.js +4 -3
- package/dist/components/zonos-country-flag2.js +3 -2
- package/dist/components/zonos-country-select2.js +6 -5
- package/dist/components/zonos-custom-message2.js +5 -4
- package/dist/components/zonos-customer-info2.js +2 -1
- package/dist/components/zonos-dialog2.js +6 -5
- package/dist/components/zonos-hello-dialog-footer2.js +4 -3
- package/dist/components/zonos-hello-dialog2.js +4 -3
- package/dist/components/zonos-hello.js +42 -25
- package/dist/components/zonos-icon2.js +3 -2
- package/dist/components/zonos-link-authentication2.js +3 -2
- package/dist/components/zonos-logo2.js +5 -4
- package/dist/components/zonos-notification2.js +5 -4
- package/dist/components/zonos-payment2.js +3 -2
- package/dist/components/zonos-review2.js +2 -1
- package/dist/components/zonos-shipping-rich-radio2.js +4 -3
- package/dist/components/zonos-shipping2.js +2 -1
- package/dist/components/zonos-spinner2.js +2 -1
- package/dist/components/zonos-text2.js +3 -2
- package/dist/components/zonos-v-stack2.js +5 -4
- package/dist/components/zonosStore.js +571 -331
- package/dist/esm/{cart-d81b92ea.js → cart-c9124cc3.js} +4 -4
- package/dist/esm/{getBorderRadius-77e97943.js → getBorderRadius-9e4cb3b1.js} +1 -1
- package/dist/esm/{index-36ff6342.js → index-81a199ef.js} +56 -22
- package/dist/esm/index.js +6 -6
- package/dist/esm/{isDarkColor-69090b29.js → isDarkColor-8696cb70.js} +7 -3
- package/dist/esm/loader.js +2 -2
- package/dist/esm/{localization-0c5b29fd.js → localization-5d83fde2.js} +1 -1
- package/dist/esm/{submitGtag-8a0fbd41.js → submitGtag-a7d07aec.js} +2 -2
- package/dist/esm/zonos-address_2.entry.js +12 -10
- package/dist/esm/zonos-badge.entry.js +7 -6
- package/dist/esm/zonos-banner.entry.js +4 -3
- package/dist/esm/zonos-button_2.entry.js +11 -9
- package/dist/esm/zonos-card_2.entry.js +10 -8
- package/dist/esm/zonos-cart-items_10.entry.js +36 -26
- package/dist/esm/zonos-checkout.entry.js +9 -8
- package/dist/esm/zonos-component.entry.js +4 -3
- package/dist/esm/zonos-controller.entry.js +9 -8
- package/dist/esm/zonos-country-flag_4.entry.js +19 -15
- package/dist/esm/zonos-elements.js +3 -3
- package/dist/esm/zonos-hello-dialog.entry.js +7 -6
- package/dist/esm/zonos-hello.entry.js +44 -27
- package/dist/esm/zonos-icon.entry.js +4 -3
- package/dist/esm/zonos-notification.entry.js +6 -5
- package/dist/esm/zonos-payment.entry.js +9 -8
- package/dist/esm/zonos-shipping-rich-radio.entry.js +6 -5
- package/dist/esm/zonos-text.entry.js +4 -3
- package/dist/esm/{zonosStore-34f07ee8.js → zonosStore-e59617f8.js} +572 -332
- package/dist/esm-es5/{cart-d81b92ea.js → cart-c9124cc3.js} +1 -1
- package/dist/esm-es5/{getBorderRadius-77e97943.js → getBorderRadius-9e4cb3b1.js} +1 -1
- package/dist/esm-es5/index-81a199ef.js +2 -0
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/isDarkColor-8696cb70.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/{localization-0c5b29fd.js → localization-5d83fde2.js} +1 -1
- package/dist/esm-es5/{submitGtag-8a0fbd41.js → submitGtag-a7d07aec.js} +1 -1
- package/dist/esm-es5/zonos-address_2.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_2.entry.js +1 -1
- package/dist/esm-es5/zonos-card_2.entry.js +1 -1
- package/dist/esm-es5/zonos-cart-items_10.entry.js +1 -1
- 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_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-icon.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-shipping-rich-radio.entry.js +1 -1
- package/dist/esm-es5/zonos-text.entry.js +1 -1
- package/dist/esm-es5/zonosStore-e59617f8.js +1 -0
- package/dist/scripts/loadZonos.js +1 -1
- package/dist/scripts/zonos.js +1 -1
- package/dist/scripts/zonosBase.js +1 -1
- package/dist/zonos-elements/index.esm.js +1 -1
- package/dist/zonos-elements/p-0024f8c2.js +1 -0
- package/dist/zonos-elements/p-027abb50.entry.js +1 -0
- package/dist/zonos-elements/{p-a54d8db3.system.js → p-12ecf765.system.js} +1 -1
- package/dist/zonos-elements/p-139fc767.entry.js +1 -0
- package/dist/zonos-elements/p-1c00ffea.system.entry.js +1 -0
- package/dist/zonos-elements/{p-c1e298d5.system.entry.js → p-21793192.entry.js} +1 -1
- package/dist/zonos-elements/p-26edde4d.system.entry.js +1 -0
- package/dist/zonos-elements/p-28d7b75d.entry.js +1 -0
- package/dist/zonos-elements/p-2ac66cea.system.entry.js +1 -0
- package/dist/zonos-elements/p-39d12bf0.entry.js +1 -0
- package/dist/zonos-elements/p-3d965e88.entry.js +1 -0
- package/dist/zonos-elements/p-410045c5.system.entry.js +1 -0
- package/dist/zonos-elements/{p-c0494ed6.entry.js → p-43220d68.entry.js} +1 -1
- package/dist/zonos-elements/p-4d39efb6.system.js +2 -0
- package/dist/zonos-elements/p-4d8545e1.js +2 -0
- package/dist/zonos-elements/{p-ed074fbf.system.js → p-51a40ddf.system.js} +1 -1
- package/dist/zonos-elements/{p-5bada106.system.entry.js → p-5a0264e8.system.entry.js} +1 -1
- package/dist/zonos-elements/p-5d91e45c.entry.js +1 -0
- package/dist/zonos-elements/p-62851827.system.entry.js +1 -0
- package/dist/zonos-elements/p-73174d0c.system.entry.js +1 -0
- package/dist/zonos-elements/p-741a1402.system.entry.js +1 -0
- package/dist/zonos-elements/p-7748735d.entry.js +1 -0
- package/dist/zonos-elements/p-7cae86a0.system.entry.js +1 -0
- package/dist/zonos-elements/p-7f68c103.system.js +1 -0
- package/dist/zonos-elements/p-83bb8727.system.entry.js +1 -0
- package/dist/zonos-elements/{p-a244579e.js → p-8ebc0b64.js} +1 -1
- package/dist/zonos-elements/p-97e659b7.entry.js +1 -0
- package/dist/zonos-elements/p-9f3cad08.entry.js +1 -0
- package/dist/zonos-elements/{p-ab179c88.system.js → p-a6f2e282.system.js} +1 -1
- package/dist/zonos-elements/p-afed9236.entry.js +1 -0
- package/dist/zonos-elements/{p-24fbe845.system.js → p-b035f9e5.system.js} +1 -1
- package/dist/zonos-elements/{p-3509ffaa.entry.js → p-b1ffb37b.entry.js} +1 -1
- package/dist/zonos-elements/{p-17ef815f.entry.js → p-b494d540.entry.js} +1 -1
- package/dist/zonos-elements/{p-06a332cd.js → p-b87fa3a1.js} +1 -1
- package/dist/zonos-elements/{p-ab00288a.entry.js → p-bd02a65c.entry.js} +1 -1
- package/dist/zonos-elements/p-be23cc91.system.entry.js +1 -0
- package/dist/zonos-elements/p-bea31a7b.system.entry.js +1 -0
- package/dist/zonos-elements/p-c134eecd.system.js +1 -0
- package/dist/zonos-elements/p-d170748c.system.entry.js +1 -0
- package/dist/zonos-elements/p-dc09ca69.system.js +1 -0
- package/dist/zonos-elements/{p-2b41549a.js → p-e59b6648.js} +1 -1
- package/dist/zonos-elements/p-e8da4463.js +1 -0
- package/dist/zonos-elements/{p-ccd1794a.system.entry.js → p-eb96f893.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-5066955b.system.js → p-ee8b44c0.system.js} +1 -1
- package/dist/zonos-elements/{p-935fa685.system.entry.js → p-efd1544b.system.entry.js} +1 -1
- package/dist/zonos-elements/p-f2733cc7.js +1 -0
- package/dist/zonos-elements/{p-e6556b0d.entry.js → p-f342e7c7.entry.js} +1 -1
- package/dist/zonos-elements/p-f7b1dfd0.system.entry.js +1 -0
- package/dist/zonos-elements/p-f82e000f.system.entry.js +1 -0
- package/dist/zonos-elements/p-ffc91e42.entry.js +1 -0
- package/dist/zonos-elements/zonos-elements.esm.js +1 -1
- package/dist/zonos-elements/zonos-elements.js +1 -1
- package/package.json +29 -29
- package/dist/esm-es5/index-36ff6342.js +0 -2
- package/dist/esm-es5/isDarkColor-69090b29.js +0 -1
- package/dist/esm-es5/zonosStore-34f07ee8.js +0 -1
- package/dist/zonos-elements/p-02175f85.entry.js +0 -1
- package/dist/zonos-elements/p-124857ae.entry.js +0 -1
- package/dist/zonos-elements/p-18904b7c.system.js +0 -2
- package/dist/zonos-elements/p-1f494581.system.entry.js +0 -1
- package/dist/zonos-elements/p-2e1e9074.js +0 -1
- package/dist/zonos-elements/p-3c8763a7.entry.js +0 -1
- package/dist/zonos-elements/p-3e7444c6.entry.js +0 -1
- package/dist/zonos-elements/p-4b3baf99.js +0 -1
- package/dist/zonos-elements/p-53ea93c2.system.entry.js +0 -1
- package/dist/zonos-elements/p-67154df2.system.entry.js +0 -1
- package/dist/zonos-elements/p-684ed483.entry.js +0 -1
- package/dist/zonos-elements/p-72cfaee2.system.entry.js +0 -1
- package/dist/zonos-elements/p-7730250d.system.js +0 -1
- package/dist/zonos-elements/p-80748529.system.entry.js +0 -1
- package/dist/zonos-elements/p-86f22026.js +0 -1
- package/dist/zonos-elements/p-88600956.entry.js +0 -1
- package/dist/zonos-elements/p-8b1cb8a4.entry.js +0 -1
- package/dist/zonos-elements/p-8bd04aaa.entry.js +0 -1
- package/dist/zonos-elements/p-956efa27.js +0 -2
- package/dist/zonos-elements/p-9c1f19b6.entry.js +0 -1
- package/dist/zonos-elements/p-a063c4b7.entry.js +0 -1
- package/dist/zonos-elements/p-a174d834.system.js +0 -1
- package/dist/zonos-elements/p-b3a71ae4.system.entry.js +0 -1
- package/dist/zonos-elements/p-b3e034bb.system.entry.js +0 -1
- package/dist/zonos-elements/p-bb7de2c4.system.entry.js +0 -1
- package/dist/zonos-elements/p-c1665c4f.system.js +0 -1
- package/dist/zonos-elements/p-c520d819.system.entry.js +0 -1
- package/dist/zonos-elements/p-ca875e60.system.entry.js +0 -1
- package/dist/zonos-elements/p-e2c7adaa.system.entry.js +0 -1
- package/dist/zonos-elements/p-e3bca405.entry.js +0 -1
- package/dist/zonos-elements/p-e58cc024.entry.js +0 -1
- package/dist/zonos-elements/p-f1e9b431.system.entry.js +0 -1
- package/dist/zonos-elements/p-fbc09dae.system.entry.js +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
2
|
-
import { _ as _root,
|
|
2
|
+
import { _ as _root, e as _baseGetTag, i as isObjectLike_1, f as isObject_1, z as zonosStore, m as mergeConfig } from './zonosStore.js';
|
|
3
3
|
import { h as handleFetch, l as logError, b as localizationStore, i as isValidSelector, t as translate, g as getZCountryUrlParam, s as setZCountryUrlParam, a as log, e as currencyDisplay, f as currencyConvertAndFormat, j as currencyConvert, k as currencyFormat } from './localization.js';
|
|
4
4
|
import { c as classes } from './classes.js';
|
|
5
5
|
import { g as getHasMoreSpaceOnRight, d as defineCustomElement$7 } from './zonos-hello-dialog2.js';
|
|
@@ -15,6 +15,8 @@ import { d as defineCustomElement$4 } from './zonos-spinner2.js';
|
|
|
15
15
|
import { d as defineCustomElement$3 } from './zonos-text2.js';
|
|
16
16
|
import { d as defineCustomElement$2 } from './zonos-v-stack2.js';
|
|
17
17
|
|
|
18
|
+
var root = _root;
|
|
19
|
+
|
|
18
20
|
/**
|
|
19
21
|
* Gets the timestamp of the number of milliseconds that have elapsed since
|
|
20
22
|
* the Unix epoch (1 January 1970 00:00:00 UTC).
|
|
@@ -31,13 +33,14 @@ import { d as defineCustomElement$2 } from './zonos-v-stack2.js';
|
|
|
31
33
|
* }, _.now());
|
|
32
34
|
* // => Logs the number of milliseconds it took for the deferred invocation.
|
|
33
35
|
*/
|
|
34
|
-
var now = function() {
|
|
35
|
-
return
|
|
36
|
+
var now$1 = function() {
|
|
37
|
+
return root.Date.now();
|
|
36
38
|
};
|
|
37
39
|
|
|
38
|
-
var now_1 = now;
|
|
40
|
+
var now_1 = now$1;
|
|
39
41
|
|
|
40
42
|
/** Used to match a single whitespace character. */
|
|
43
|
+
|
|
41
44
|
var reWhitespace = /\s/;
|
|
42
45
|
|
|
43
46
|
/**
|
|
@@ -48,14 +51,16 @@ var reWhitespace = /\s/;
|
|
|
48
51
|
* @param {string} string The string to inspect.
|
|
49
52
|
* @returns {number} Returns the index of the last non-whitespace character.
|
|
50
53
|
*/
|
|
51
|
-
function trimmedEndIndex(string) {
|
|
54
|
+
function trimmedEndIndex$1(string) {
|
|
52
55
|
var index = string.length;
|
|
53
56
|
|
|
54
57
|
while (index-- && reWhitespace.test(string.charAt(index))) {}
|
|
55
58
|
return index;
|
|
56
59
|
}
|
|
57
60
|
|
|
58
|
-
var _trimmedEndIndex = trimmedEndIndex;
|
|
61
|
+
var _trimmedEndIndex = trimmedEndIndex$1;
|
|
62
|
+
|
|
63
|
+
var trimmedEndIndex = _trimmedEndIndex;
|
|
59
64
|
|
|
60
65
|
/** Used to match leading whitespace. */
|
|
61
66
|
var reTrimStart = /^\s+/;
|
|
@@ -67,13 +72,16 @@ var reTrimStart = /^\s+/;
|
|
|
67
72
|
* @param {string} string The string to trim.
|
|
68
73
|
* @returns {string} Returns the trimmed string.
|
|
69
74
|
*/
|
|
70
|
-
function baseTrim(string) {
|
|
75
|
+
function baseTrim$1(string) {
|
|
71
76
|
return string
|
|
72
|
-
? string.slice(0,
|
|
77
|
+
? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, '')
|
|
73
78
|
: string;
|
|
74
79
|
}
|
|
75
80
|
|
|
76
|
-
var _baseTrim = baseTrim;
|
|
81
|
+
var _baseTrim = baseTrim$1;
|
|
82
|
+
|
|
83
|
+
var baseGetTag = _baseGetTag,
|
|
84
|
+
isObjectLike = isObjectLike_1;
|
|
77
85
|
|
|
78
86
|
/** `Object#toString` result references. */
|
|
79
87
|
var symbolTag = '[object Symbol]';
|
|
@@ -95,12 +103,16 @@ var symbolTag = '[object Symbol]';
|
|
|
95
103
|
* _.isSymbol('abc');
|
|
96
104
|
* // => false
|
|
97
105
|
*/
|
|
98
|
-
function isSymbol(value) {
|
|
106
|
+
function isSymbol$1(value) {
|
|
99
107
|
return typeof value == 'symbol' ||
|
|
100
|
-
(
|
|
108
|
+
(isObjectLike(value) && baseGetTag(value) == symbolTag);
|
|
101
109
|
}
|
|
102
110
|
|
|
103
|
-
var isSymbol_1 = isSymbol;
|
|
111
|
+
var isSymbol_1 = isSymbol$1;
|
|
112
|
+
|
|
113
|
+
var baseTrim = _baseTrim,
|
|
114
|
+
isObject$1 = isObject_1,
|
|
115
|
+
isSymbol = isSymbol_1;
|
|
104
116
|
|
|
105
117
|
/** Used as references for various `Number` constants. */
|
|
106
118
|
var NAN = 0 / 0;
|
|
@@ -140,28 +152,32 @@ var freeParseInt = parseInt;
|
|
|
140
152
|
* _.toNumber('3.2');
|
|
141
153
|
* // => 3.2
|
|
142
154
|
*/
|
|
143
|
-
function toNumber(value) {
|
|
155
|
+
function toNumber$1(value) {
|
|
144
156
|
if (typeof value == 'number') {
|
|
145
157
|
return value;
|
|
146
158
|
}
|
|
147
|
-
if (
|
|
159
|
+
if (isSymbol(value)) {
|
|
148
160
|
return NAN;
|
|
149
161
|
}
|
|
150
|
-
if (
|
|
162
|
+
if (isObject$1(value)) {
|
|
151
163
|
var other = typeof value.valueOf == 'function' ? value.valueOf() : value;
|
|
152
|
-
value =
|
|
164
|
+
value = isObject$1(other) ? (other + '') : other;
|
|
153
165
|
}
|
|
154
166
|
if (typeof value != 'string') {
|
|
155
167
|
return value === 0 ? value : +value;
|
|
156
168
|
}
|
|
157
|
-
value =
|
|
169
|
+
value = baseTrim(value);
|
|
158
170
|
var isBinary = reIsBinary.test(value);
|
|
159
171
|
return (isBinary || reIsOctal.test(value))
|
|
160
172
|
? freeParseInt(value.slice(2), isBinary ? 2 : 8)
|
|
161
173
|
: (reIsBadHex.test(value) ? NAN : +value);
|
|
162
174
|
}
|
|
163
175
|
|
|
164
|
-
var toNumber_1 = toNumber;
|
|
176
|
+
var toNumber_1 = toNumber$1;
|
|
177
|
+
|
|
178
|
+
var isObject = isObject_1,
|
|
179
|
+
now = now_1,
|
|
180
|
+
toNumber = toNumber_1;
|
|
165
181
|
|
|
166
182
|
/** Error message constants. */
|
|
167
183
|
var FUNC_ERROR_TEXT = 'Expected a function';
|
|
@@ -239,11 +255,11 @@ function debounce(func, wait, options) {
|
|
|
239
255
|
if (typeof func != 'function') {
|
|
240
256
|
throw new TypeError(FUNC_ERROR_TEXT);
|
|
241
257
|
}
|
|
242
|
-
wait =
|
|
243
|
-
if (
|
|
258
|
+
wait = toNumber(wait) || 0;
|
|
259
|
+
if (isObject(options)) {
|
|
244
260
|
leading = !!options.leading;
|
|
245
261
|
maxing = 'maxWait' in options;
|
|
246
|
-
maxWait = maxing ? nativeMax(
|
|
262
|
+
maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;
|
|
247
263
|
trailing = 'trailing' in options ? !!options.trailing : trailing;
|
|
248
264
|
}
|
|
249
265
|
|
|
@@ -288,7 +304,7 @@ function debounce(func, wait, options) {
|
|
|
288
304
|
}
|
|
289
305
|
|
|
290
306
|
function timerExpired() {
|
|
291
|
-
var time =
|
|
307
|
+
var time = now();
|
|
292
308
|
if (shouldInvoke(time)) {
|
|
293
309
|
return trailingEdge(time);
|
|
294
310
|
}
|
|
@@ -317,11 +333,11 @@ function debounce(func, wait, options) {
|
|
|
317
333
|
}
|
|
318
334
|
|
|
319
335
|
function flush() {
|
|
320
|
-
return timerId === undefined ? result : trailingEdge(
|
|
336
|
+
return timerId === undefined ? result : trailingEdge(now());
|
|
321
337
|
}
|
|
322
338
|
|
|
323
339
|
function debounced() {
|
|
324
|
-
var time =
|
|
340
|
+
var time = now(),
|
|
325
341
|
isInvoking = shouldInvoke(time);
|
|
326
342
|
|
|
327
343
|
lastArgs = arguments;
|
|
@@ -460,6 +476,7 @@ const getProductsOnPage = () => {
|
|
|
460
476
|
};
|
|
461
477
|
|
|
462
478
|
const zonosHelloCss = ":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:inline-block}:host .zonos--hello-wrapper{position:relative}:host .zonos--hello-wrapper .zonos--hello-dialog-wrapper-mobile-override{position:fixed;bottom:0;left:0;width:100vw;z-index:1001;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content}@media (max-width: 768px){:host .zonos--hello-wrapper{position:fixed;bottom:0;left:0;width:100vw;z-index:1001;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content}}:host .zonos--hello-widget{-webkit-transition:all 0.7s cubic-bezier(0.31, -0.02, 0.06, 1.53);transition:all 0.7s cubic-bezier(0.31, -0.02, 0.06, 1.53);padding:6px;border-radius:30px;background:var(--amino-page-background);font-size:var(--amino-font-size-s);border:var(--amino-border);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;cursor:pointer;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;position:relative;z-index:1000}:host .zonos--hello-widget>.zonos--hello-message{-ms-flex-order:0;order:0;max-width:0;height:100%;white-space:nowrap;-webkit-transition:border 0.3s ease-in, all 0.7s cubic-bezier(0.31, -0.02, 0.06, 1.53);transition:border 0.3s ease-in, all 0.7s cubic-bezier(0.31, -0.02, 0.06, 1.53);overflow:hidden;color:var(--amino-text-color);position:absolute;background:var(--amino-page-background);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;border-top-left-radius:30px;border-bottom-left-radius:30px;left:0;-webkit-transform:translateX(calc(-100% + var(--amino-space-16)));transform:translateX(calc(-100% + var(--amino-space-16)));width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;border-top:var(--amino-border);border-bottom:var(--amino-border)}:host .zonos--hello-widget.zonos--hello-has-restrictions{background:var(--amino-red-100);border:1px solid var(--amino-red-200)}:host .zonos--hello-widget.zonos--hello-has-restrictions>.zonos--hello-message{background:var(--amino-red-100);color:var(--amino-red-800);font-weight:500}:host .zonos--hello-widget.zonos--hello-has-restrictions.zonos--hello-show-peek-message>.zonos--hello-message{border:1px solid var(--amino-red-200)}:host .zonos--hello-widget.zonos--hello-show-peek-message{max-width:100vw;width:100%}:host .zonos--hello-widget.zonos--hello-show-peek-message>.zonos--hello-message{max-width:100vw;padding:0 6px;padding-right:var(--amino-space-16);border:var(--amino-border)}:host .zonos--hello-widget.zonos--hello-show-peek-message:not(.zonos--hello-widget-animate-from-left){border-top-left-radius:0;border-bottom-left-radius:0}:host .zonos--hello-widget.zonos--hello-show-peek-message:not(.zonos--hello-widget-animate-from-left)>.zonos--hello-message{border-right:none}:host .zonos--hello-widget.zonos--hello-show-peek-message.zonos--hello-widget-animate-from-left{border-top-right-radius:0;border-bottom-right-radius:0}:host .zonos--hello-widget.zonos--hello-show-peek-message.zonos--hello-widget-animate-from-left>.zonos--hello-message{border-left:0}:host .zonos--hello-widget.zonos--hello-show-peek-message.zonos--hello-widget-animate-from-left>.zonos--hello-message{padding-left:var(--amino-space-16);padding-right:6px;border-left:none}:host .zonos--hello-widget.zonos--hello-widget-animate-from-left>.zonos--hello-message{-ms-flex-order:1;order:1;-webkit-transform:translateX(calc(100% - var(--amino-space-16)));transform:translateX(calc(100% - var(--amino-space-16)));right:0;left:auto;border-top-left-radius:0;border-bottom-left-radius:0;border-top-right-radius:30px;border-bottom-right-radius:30px}:host .zonos--hello-widget .zonos--hello-country-flag-wrapper{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center}:host .zonos--hello-widget .zonos--hello-country-flag-wrapper .zonos--hello-country-flag{height:18px;width:18px;position:relative;overflow:hidden;border-radius:30px;-webkit-box-shadow:var(--amino-v3-shadow-medium);box-shadow:var(--amino-v3-shadow-medium);z-index:10;justify-self:center}@media (max-width: 768px){:host .zonos--hello-widget .zonos--hello-country-flag-wrapper .zonos--hello-country-flag{border-radius:var(--amino-radius-4);width:24px}}@media (max-width: 768px){:host .zonos--hello-widget{position:fixed;bottom:var(--amino-space-32);right:var(--amino-space-32);border-radius:var(--amino-radius-4);padding:var(--amino-space-4);border:1px solid transparent}:host .zonos--hello-widget.zonos--hello-widget-left{left:var(--amino-space-32);right:auto}:host .zonos--hello-widget.zonos--hello-widget-top{bottom:auto;top:var(--amino-space-32)}:host .zonos--hello-widget.zonos--hello-has-restrictions.zonos--hello-show-peek-message>.zonos--hello-message{border:none}:host .zonos--hello-widget>.zonos--hello-message{position:relative;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;border-radius:30px;top:0;bottom:0;left:0;-webkit-transform:translateX(0);transform:translateX(0);width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;border:none}:host .zonos--hello-widget.zonos--hello-widget-animate-from-left>.zonos--hello-message{-webkit-transform:translateX(0);transform:translateX(0)}:host .zonos--hello-widget.zonos--hello-show-peek-message{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}:host .zonos--hello-widget.zonos--hello-show-peek-message:not(.zonos--hello-widget-animate-from-left){border-top-left-radius:var(--amino-radius-4);border-bottom-left-radius:var(--amino-radius-4)}:host .zonos--hello-widget.zonos--hello-show-peek-message.zonos--hello-widget-animate-from-left{border-top-right-radius:var(--amino-radius-4);border-bottom-right-radius:var(--amino-radius-4)}:host .zonos--hello-widget.zonos--hello-show-peek-message.zonos--hello-widget-animate-from-left>.zonos--hello-message{padding-left:var(--amino-space-8);padding-right:var(--amino-space-4)}:host .zonos--hello-widget.zonos--hello-show-peek-message>.zonos--hello-message{padding:0 var(--amino-radius-4);padding-right:6px;border:none}:host .zonos--hello-widget .zonos--hello-country-flag-wrapper{border-radius:var(--amino-radius-4)}}:host .zonos--hello-mobile-override.zonos--hello-widget{position:fixed;bottom:var(--amino-space-32);right:var(--amino-space-32);border-radius:var(--amino-radius-4);padding:var(--amino-space-4);border:1px solid transparent}:host .zonos--hello-mobile-override.zonos--hello-widget.zonos--hello-widget-left{left:var(--amino-space-32);right:auto}:host .zonos--hello-mobile-override.zonos--hello-widget.zonos--hello-widget-top{bottom:auto;top:var(--amino-space-32)}:host .zonos--hello-mobile-override.zonos--hello-widget.zonos--hello-has-restrictions.zonos--hello-show-peek-message>.zonos--hello-message{border:none}:host .zonos--hello-mobile-override.zonos--hello-widget>.zonos--hello-message{position:relative;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;border-radius:30px;top:0;bottom:0;left:0;-webkit-transform:translateX(0);transform:translateX(0);width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;border:none}:host .zonos--hello-mobile-override.zonos--hello-widget.zonos--hello-widget-animate-from-left>.zonos--hello-message{-webkit-transform:translateX(0);transform:translateX(0)}:host .zonos--hello-mobile-override.zonos--hello-widget.zonos--hello-show-peek-message{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}:host .zonos--hello-mobile-override.zonos--hello-widget.zonos--hello-show-peek-message:not(.zonos--hello-widget-animate-from-left){border-top-left-radius:var(--amino-radius-4);border-bottom-left-radius:var(--amino-radius-4)}:host .zonos--hello-mobile-override.zonos--hello-widget.zonos--hello-show-peek-message.zonos--hello-widget-animate-from-left{border-top-right-radius:var(--amino-radius-4);border-bottom-right-radius:var(--amino-radius-4)}:host .zonos--hello-mobile-override.zonos--hello-widget.zonos--hello-show-peek-message.zonos--hello-widget-animate-from-left>.zonos--hello-message{padding-left:var(--amino-space-8);padding-right:var(--amino-space-4)}:host .zonos--hello-mobile-override.zonos--hello-widget.zonos--hello-show-peek-message>.zonos--hello-message{padding:0 var(--amino-radius-4);padding-right:6px;border:none}:host .zonos--hello-mobile-override.zonos--hello-widget .zonos--hello-country-flag-wrapper{border-radius:var(--amino-radius-4)}:host .zonos--hello-mobile-override.zonos--hello-widget .zonos--hello-country-flag{border-radius:var(--amino-radius-4);width:24px}";
|
|
479
|
+
const ZonosHelloStyle0 = zonosHelloCss;
|
|
463
480
|
|
|
464
481
|
const PEEK_MESSAGE_CLOSE_DELAY_MS = 3000;
|
|
465
482
|
const RESIZE_DEBOUNCE_DELAY_MS = 500;
|
|
@@ -722,7 +739,7 @@ const ZonosHello$1 = /*@__PURE__*/ proxyCustomElement(class ZonosHello extends H
|
|
|
722
739
|
'zonos--hello-dialog-wrapper-mobile-override',
|
|
723
740
|
]), style: { height: this.showDialog ? 'fit-content' : '0px' } }, h("zonos-hello-dialog", { animateFromLeftOverride: this.animateFromLeftOverride, appearanceSettings: appearanceSettings, isOpen: this.showDialog, mobileLocationOverride: this.mobileLocationOverride, restrictedItems: restrictedItemsOnPage, setIsOpen: this.changeShowDialog }))))));
|
|
724
741
|
}
|
|
725
|
-
static get style() { return
|
|
742
|
+
static get style() { return ZonosHelloStyle0; }
|
|
726
743
|
}, [1, "zonos-hello", {
|
|
727
744
|
"mobileLocationOverride": [1, "mobile-location-override"],
|
|
728
745
|
"animateFromLeftOverride": [4, "animate-from-left-override"],
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
2
|
-
import {
|
|
2
|
+
import { b as zonosStoreFontFamily } from './zonosStore.js';
|
|
3
3
|
|
|
4
4
|
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)}";
|
|
5
|
+
const ZonosIconStyle0 = zonosIconCss;
|
|
5
6
|
|
|
6
7
|
const ZonosIcon = /*@__PURE__*/ proxyCustomElement(class ZonosIcon extends HTMLElement {
|
|
7
8
|
constructor() {
|
|
@@ -26,7 +27,7 @@ const ZonosIcon = /*@__PURE__*/ proxyCustomElement(class ZonosIcon extends HTMLE
|
|
|
26
27
|
} }));
|
|
27
28
|
}
|
|
28
29
|
get el() { return this; }
|
|
29
|
-
static get style() { return
|
|
30
|
+
static get style() { return ZonosIconStyle0; }
|
|
30
31
|
}, [1, "zonos-icon", {
|
|
31
32
|
"autoHeight": [4, "auto-height"],
|
|
32
33
|
"color": [1],
|
|
@@ -3,6 +3,7 @@ import { s as stripeStore, k as stripeStorePrefetchLandedCost } from './cart.js'
|
|
|
3
3
|
import { d as defineCustomElement$1 } from './zonos-text2.js';
|
|
4
4
|
|
|
5
5
|
const zonosLinkAuthenticationCss = ".sc-zonos-link-authentication-h{font-family:var(--font-family, Inter), Inter;display:block;white-space:normal}.sc-zonos-link-authentication-h *.sc-zonos-link-authentication{font-family:var(--font-family, Inter), Inter}.sc-zonos-link-authentication-h img.sc-zonos-link-authentication{max-width:100%}.sc-zonos-link-authentication-h dl.sc-zonos-link-authentication,.sc-zonos-link-authentication-h dd.sc-zonos-link-authentication,.sc-zonos-link-authentication-h h1.sc-zonos-link-authentication,.sc-zonos-link-authentication-h h2.sc-zonos-link-authentication,.sc-zonos-link-authentication-h h3.sc-zonos-link-authentication,.sc-zonos-link-authentication-h h4.sc-zonos-link-authentication,.sc-zonos-link-authentication-h h5.sc-zonos-link-authentication,.sc-zonos-link-authentication-h h6.sc-zonos-link-authentication,.sc-zonos-link-authentication-h hr.sc-zonos-link-authentication,.sc-zonos-link-authentication-h figure.sc-zonos-link-authentication,.sc-zonos-link-authentication-h p.sc-zonos-link-authentication,.sc-zonos-link-authentication-h pre.sc-zonos-link-authentication{margin:0}.sc-zonos-link-authentication-h{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}.sc-zonos-link-authentication-h .zonos--title.sc-zonos-link-authentication{margin-bottom:var(--amino-space-16)}";
|
|
6
|
+
const ZonosLinkAuthenticationStyle0 = zonosLinkAuthenticationCss;
|
|
6
7
|
|
|
7
8
|
const ZonosLinkAuthentication = /*@__PURE__*/ proxyCustomElement(class ZonosLinkAuthentication extends HTMLElement {
|
|
8
9
|
constructor() {
|
|
@@ -38,13 +39,13 @@ const ZonosLinkAuthentication = /*@__PURE__*/ proxyCustomElement(class ZonosLink
|
|
|
38
39
|
}
|
|
39
40
|
render() {
|
|
40
41
|
// this component loads iframe from the stripe elements and puts here, so we don't need to do anything here
|
|
41
|
-
return (h(Host, { class: "zonos--link-authentication zonos--elements" }, h("zonos-text", { class: "zonos--title", type: "semiBoldLabel" }, this.titleText), h("div", { class: "zonos--link-authentication-component" })));
|
|
42
|
+
return (h(Host, { key: '48ec92ca8a1500c3b8e85222c3df069c32074e72', class: "zonos--link-authentication zonos--elements" }, h("zonos-text", { key: '9060fab8ab9f88157ee6951af830e106e6ff9509', class: "zonos--title", type: "semiBoldLabel" }, this.titleText), h("div", { key: 'dac7e96170d15faa8c1013fb298ae86e2ce99f0b', class: "zonos--link-authentication-component" })));
|
|
42
43
|
}
|
|
43
44
|
get el() { return this; }
|
|
44
45
|
static get watchers() { return {
|
|
45
46
|
"stripe": ["watchInitStripe"]
|
|
46
47
|
}; }
|
|
47
|
-
static get style() { return
|
|
48
|
+
static get style() { return ZonosLinkAuthenticationStyle0; }
|
|
48
49
|
}, [2, "zonos-link-authentication", {
|
|
49
50
|
"titleText": [1, "title-text"],
|
|
50
51
|
"stripe": [32]
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, h, Host, getAssetPath } from '@stencil/core/internal/client';
|
|
2
|
-
import {
|
|
2
|
+
import { b as zonosStoreFontFamily } from './zonosStore.js';
|
|
3
3
|
import { c as classes } from './classes.js';
|
|
4
4
|
|
|
5
5
|
const zonosLogoCss = ":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 img{-webkit-filter:var(--filter-color);filter:var(--filter-color);width:var(--width)}";
|
|
6
|
+
const ZonosLogoStyle0 = zonosLogoCss;
|
|
6
7
|
|
|
7
8
|
const ZonosLogo = /*@__PURE__*/ proxyCustomElement(class ZonosLogo extends HTMLElement {
|
|
8
9
|
constructor() {
|
|
@@ -17,14 +18,14 @@ const ZonosLogo = /*@__PURE__*/ proxyCustomElement(class ZonosLogo extends HTMLE
|
|
|
17
18
|
const filterColor = this.theme === 'DARK'
|
|
18
19
|
? 'invert(100%) sepia(100%) saturate(0%) hue-rotate(288deg) brightness(102%) contrast(102%)'
|
|
19
20
|
: 'whiteinvert(0%) sepia(100%) saturate(32%) hue-rotate(92deg) brightness(107%) contrast(107%)';
|
|
20
|
-
return (h(Host, { class: classes(['zonos--elements zonos--logo', this.class]), style: {
|
|
21
|
+
return (h(Host, { key: '7ddd949ab91ed0c61ee34ce6ee80da54b3ba3664', class: classes(['zonos--elements zonos--logo', this.class]), style: {
|
|
21
22
|
'--filter-color': filterColor,
|
|
22
23
|
'--font-family': zonosStoreFontFamily(),
|
|
23
24
|
'--width': this.width,
|
|
24
|
-
} }, h("img", { alt: "Zonos Logo", src: getAssetPath('./assets/ZonosLogo.png') })));
|
|
25
|
+
} }, h("img", { key: '1a8d98f7d836f253a21654c84ab0251969362e2f', alt: "Zonos Logo", src: getAssetPath('./assets/ZonosLogo.png') })));
|
|
25
26
|
}
|
|
26
27
|
static get assetsDirs() { return ["assets"]; }
|
|
27
|
-
static get style() { return
|
|
28
|
+
static get style() { return ZonosLogoStyle0; }
|
|
28
29
|
}, [1, "zonos-logo", {
|
|
29
30
|
"theme": [1],
|
|
30
31
|
"width": [1],
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
2
|
-
import {
|
|
2
|
+
import { b as zonosStoreFontFamily } from './zonosStore.js';
|
|
3
3
|
import { c as classes } from './classes.js';
|
|
4
4
|
import { d as defineCustomElement$1 } from './zonos-text2.js';
|
|
5
5
|
|
|
6
6
|
const zonosNotificationCss = ":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-flexbox;display:flex;-ms-flex-pack:center;justify-content:center}:host .zonos--notification-items{position:fixed;z-index:9999999;bottom:var(--amino-space-24);gap:var(--amino-space-8);display:-ms-inline-flexbox;display:inline-flex;-ms-flex-direction:column;flex-direction:column}:host .zonos--notification-item{cursor:pointer;-webkit-transition:all 0.3s ease;transition:all 0.3s ease;padding:var(--amino-space-8);border-radius:var(--border-radius, var(--amino-radius-6));opacity:0;-ms-flex-negative:0.0001;flex-shrink:0.0001;-webkit-transform:translateY(100%);transform:translateY(100%)}:host .zonos--notification-item+:host .zonos--notification-item{margin-top:8px}:host .zonos--notification-item.show{opacity:1;-webkit-transform:translateY(0);transform:translateY(0);-ms-flex-positive:1000;flex-grow:1000}:host .zonos--notification-item.success{background-color:var(--amino-green-700)}:host .zonos--notification-item.error{background-color:var(--amino-red-700)}:host .zonos--notification-item.warning{background-color:var(--amino-orange-700)}";
|
|
7
|
+
const ZonosNotificationStyle0 = zonosNotificationCss;
|
|
7
8
|
|
|
8
9
|
const ZonosNotification = /*@__PURE__*/ proxyCustomElement(class ZonosNotification extends HTMLElement {
|
|
9
10
|
constructor() {
|
|
@@ -53,9 +54,9 @@ const ZonosNotification = /*@__PURE__*/ proxyCustomElement(class ZonosNotificati
|
|
|
53
54
|
}, 300);
|
|
54
55
|
}
|
|
55
56
|
render() {
|
|
56
|
-
return (h(Host, { class: classes(['zonos--elements zonos--notification', this.class]), style: {
|
|
57
|
+
return (h(Host, { key: '0846607651bce1e7acfc92cc775f86ce399dc789', class: classes(['zonos--elements zonos--notification', this.class]), style: {
|
|
57
58
|
'--font-family': zonosStoreFontFamily(),
|
|
58
|
-
} }, h("div", { class: "zonos--notification-items" }, this.notificationArray.map(notification => {
|
|
59
|
+
} }, h("div", { key: '1a4dd6b138b21b8a626d3df3a9c353590d51fd8c', class: "zonos--notification-items" }, this.notificationArray.map(notification => {
|
|
59
60
|
return (h("div", { "aria-hidden": "true", class: classes([
|
|
60
61
|
'zonos--notification-item',
|
|
61
62
|
notification.type,
|
|
@@ -65,7 +66,7 @@ const ZonosNotification = /*@__PURE__*/ proxyCustomElement(class ZonosNotificati
|
|
|
65
66
|
} }, h("zonos-text", { color: "gray-0" }, notification.message)));
|
|
66
67
|
}))));
|
|
67
68
|
}
|
|
68
|
-
static get style() { return
|
|
69
|
+
static get style() { return ZonosNotificationStyle0; }
|
|
69
70
|
}, [1, "zonos-notification", {
|
|
70
71
|
"class": [1],
|
|
71
72
|
"notificationArray": [32],
|
|
@@ -3,6 +3,7 @@ import { s as stripeStore } from './cart.js';
|
|
|
3
3
|
import { d as defineCustomElement$1 } from './zonos-text2.js';
|
|
4
4
|
|
|
5
5
|
const zonosPaymentCss = ".sc-zonos-payment-h{font-family:var(--font-family, Inter), Inter;display:block;white-space:normal}.sc-zonos-payment-h *.sc-zonos-payment{font-family:var(--font-family, Inter), Inter}.sc-zonos-payment-h img.sc-zonos-payment{max-width:100%}.sc-zonos-payment-h dl.sc-zonos-payment,.sc-zonos-payment-h dd.sc-zonos-payment,.sc-zonos-payment-h h1.sc-zonos-payment,.sc-zonos-payment-h h2.sc-zonos-payment,.sc-zonos-payment-h h3.sc-zonos-payment,.sc-zonos-payment-h h4.sc-zonos-payment,.sc-zonos-payment-h h5.sc-zonos-payment,.sc-zonos-payment-h h6.sc-zonos-payment,.sc-zonos-payment-h hr.sc-zonos-payment,.sc-zonos-payment-h figure.sc-zonos-payment,.sc-zonos-payment-h p.sc-zonos-payment,.sc-zonos-payment-h pre.sc-zonos-payment{margin:0}.sc-zonos-payment-h{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}.sc-zonos-payment-h .zonos--title.sc-zonos-payment{margin-bottom:var(--amino-space-16)}";
|
|
6
|
+
const ZonosPaymentStyle0 = zonosPaymentCss;
|
|
6
7
|
|
|
7
8
|
const ZonosPayment = /*@__PURE__*/ proxyCustomElement(class ZonosPayment extends HTMLElement {
|
|
8
9
|
constructor() {
|
|
@@ -39,14 +40,14 @@ const ZonosPayment = /*@__PURE__*/ proxyCustomElement(class ZonosPayment extends
|
|
|
39
40
|
}
|
|
40
41
|
render() {
|
|
41
42
|
// this component loads iframe from the stripe elements and puts here, so we don't need to do anything here
|
|
42
|
-
return (h(Host, { class: "zonos--payment zonos--elements" }, this.titleText && (h("zonos-text", { class: "zonos--title", type: "semiBoldLabel" }, this.titleText)), h("div", { class: "zonos--payment-component" })));
|
|
43
|
+
return (h(Host, { key: '8a674f72e9235f9b6afcc8d8e0374639423e0bb3', class: "zonos--payment zonos--elements" }, this.titleText && (h("zonos-text", { class: "zonos--title", type: "semiBoldLabel" }, this.titleText)), h("div", { key: '94a0a064e6f6d8058bc11d114ecc4c3ab495e802', class: "zonos--payment-component" })));
|
|
43
44
|
}
|
|
44
45
|
get el() { return this; }
|
|
45
46
|
static get watchers() { return {
|
|
46
47
|
"stripeElements": ["watchInitStripe"],
|
|
47
48
|
"stripe": ["watchInitStripe"]
|
|
48
49
|
}; }
|
|
49
|
-
static get style() { return
|
|
50
|
+
static get style() { return ZonosPaymentStyle0; }
|
|
50
51
|
}, [2, "zonos-payment", {
|
|
51
52
|
"titleText": [1, "title-text"],
|
|
52
53
|
"stripe": [32],
|
|
@@ -17,6 +17,7 @@ const ChevronDownIcon = `<svg color="var(--amino-gray-400)" fill="none" height="
|
|
|
17
17
|
const ChevronUpIcon = `<svg color="var(--amino-gray-400)" fill="none" height="24" viewBox="0 0 24 24" width="24" xmlns="https://www.w3.org/2000/svg"><path clip-rule="evenodd" d="M17.707 14.707a1 1 0 0 1-1.414 0L12 10.414l-4.293 4.293a1 1 0 0 1-1.414-1.414l4.93-4.93a1.1 1.1 0 0 1 1.555 0l4.93 4.93a1 1 0 0 1 0 1.414Z" fill="currentColor" fill-rule="evenodd"></path></svg>`;
|
|
18
18
|
|
|
19
19
|
const zonosReviewCss = ":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 .zonos--total-pay{margin:var(--amino-space-16) 0 var(--amino-space-32)}:host(.mobile){display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;gap:var(--amino-space-24);-ms-flex-pack:justify;justify-content:space-between;padding:var(--amino-space-4) 0;margin-bottom:var(--amino-space-8)}:host(.mobile) .zonos--title{display:-ms-flexbox;display:flex;-ms-flex-item-align:center;align-self:center;gap:var(--amino-space-8)}:host(.mobile) .zonos--total-pay{margin:0}";
|
|
20
|
+
const ZonosReviewStyle0 = zonosReviewCss;
|
|
20
21
|
|
|
21
22
|
const ZonosReview = /*@__PURE__*/ proxyCustomElement(class ZonosReview extends HTMLElement {
|
|
22
23
|
constructor() {
|
|
@@ -63,7 +64,7 @@ const ZonosReview = /*@__PURE__*/ proxyCustomElement(class ZonosReview extends H
|
|
|
63
64
|
})))));
|
|
64
65
|
}
|
|
65
66
|
static get assetsDirs() { return ["assets"]; }
|
|
66
|
-
static get style() { return
|
|
67
|
+
static get style() { return ZonosReviewStyle0; }
|
|
67
68
|
}, [1, "zonos-review", {
|
|
68
69
|
"mobile": [4],
|
|
69
70
|
"collapsed": [4],
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
2
|
-
import {
|
|
2
|
+
import { b as zonosStoreFontFamily, z as zonosStore } from './zonosStore.js';
|
|
3
3
|
import { c as classes } from './classes.js';
|
|
4
4
|
import { g as getBorderRadius } from './getBorderRadius.js';
|
|
5
5
|
import { i as isColorVariable } from './isColorVariable.js';
|
|
6
6
|
import { d as defineCustomElement$1 } from './zonos-text2.js';
|
|
7
7
|
|
|
8
8
|
const zonosShippingRichRadioCss = ":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-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}:host input{margin:0;accent-color:var(--selected-border-color, var(--amino-blue-600))}:host .zonos--shipping-rich-radio-item{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;padding:var(--amino-space-16);-ms-flex-align:center;align-items:center;gap:var(--amino-space-16);cursor:pointer;border:1px solid var(--amino-gray-200)}:host .zonos--shipping-rich-radio-item:first-child{border-top-left-radius:var(--border-radius, var(--amino-radius-10));border-top-right-radius:var(--border-radius, var(--amino-radius-10))}:host .zonos--shipping-rich-radio-item:last-child{border-bottom-right-radius:var(--border-radius, var(--amino-radius-10));border-bottom-left-radius:var(--border-radius, var(--amino-radius-10))}:host .zonos--shipping-rich-radio-item:not(:last-child){border-bottom:none}:host .zonos--shipping-rich-radio-item.selected{outline:1px solid var(--selected-border-color, var(--amino-blue-600));outline-offset:-1px}:host .zonos--shipping-info{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex:1;flex:1}:host .zonos--shipping-detail{-ms-flex:1;flex:1}:host .zonos--sub-detail{display:-ms-inline-flexbox;display:inline-flex;gap:8px;-ms-flex-wrap:wrap;flex-wrap:wrap}";
|
|
9
|
+
const ZonosShippingRichRadioStyle0 = zonosShippingRichRadioCss;
|
|
9
10
|
|
|
10
11
|
const ZonosShippingRichRadio = /*@__PURE__*/ proxyCustomElement(class ZonosShippingRichRadio extends HTMLElement {
|
|
11
12
|
constructor() {
|
|
@@ -36,7 +37,7 @@ const ZonosShippingRichRadio = /*@__PURE__*/ proxyCustomElement(class ZonosShipp
|
|
|
36
37
|
}
|
|
37
38
|
render() {
|
|
38
39
|
var _a;
|
|
39
|
-
return (h(Host, { class: "zonos--shipping-rich-radio zonos--elements", "data-theme": this.theme, style: Object.assign(Object.assign({}, this.getRadioItemStyleVariables()), { '--font-family': zonosStoreFontFamily() }) }, (_a = this.items) === null || _a === void 0 ? void 0 : _a.map(item => {
|
|
40
|
+
return (h(Host, { key: '0dc36a16b2f51816755010c46b416b8b1f4b4744', class: "zonos--shipping-rich-radio zonos--elements", "data-theme": this.theme, style: Object.assign(Object.assign({}, this.getRadioItemStyleVariables()), { '--font-family': zonosStoreFontFamily() }) }, (_a = this.items) === null || _a === void 0 ? void 0 : _a.map(item => {
|
|
40
41
|
var _a;
|
|
41
42
|
const selected = ((_a = this.selectedItem) === null || _a === void 0 ? void 0 : _a.value) === item.value;
|
|
42
43
|
return (h("div", { "aria-hidden": "true", class: classes([
|
|
@@ -45,7 +46,7 @@ const ZonosShippingRichRadio = /*@__PURE__*/ proxyCustomElement(class ZonosShipp
|
|
|
45
46
|
]), onClick: () => this.handleRichRadioSelect(item) }, h("input", { checked: selected, class: "zonos--shipping-rich-radio-input", name: "zonos--shipping-rich-radio", type: "radio", value: item.value }), h("div", { class: "zonos--shipping-info" }, h("div", { class: "zonos--shipping-detail" }, h("zonos-text", { class: "zonos--shipping-label", type: "label" }, item.label), (item.sublabel || item.caption) && (h("div", { class: "zonos--sub-detail" }, item.sublabel && (h("zonos-text", { color: "gray-800" }, item.sublabel)), item.caption && (h("zonos-text", { color: "gray-400" }, item.caption))))), h("zonos-text", { type: "semiBoldLabel" }, item.price))));
|
|
46
47
|
})));
|
|
47
48
|
}
|
|
48
|
-
static get style() { return
|
|
49
|
+
static get style() { return ZonosShippingRichRadioStyle0; }
|
|
49
50
|
}, [1, "zonos-shipping-rich-radio", {
|
|
50
51
|
"items": [16],
|
|
51
52
|
"borderColor": [1, "border-color"],
|
|
@@ -10,6 +10,7 @@ import { d as defineCustomElement$2 } from './zonos-spinner2.js';
|
|
|
10
10
|
import { d as defineCustomElement$1 } from './zonos-text2.js';
|
|
11
11
|
|
|
12
12
|
const zonosShippingCss = ".sc-zonos-shipping-h{font-family:var(--font-family, Inter), Inter;display:block;white-space:normal}.sc-zonos-shipping-h *.sc-zonos-shipping{font-family:var(--font-family, Inter), Inter}.sc-zonos-shipping-h img.sc-zonos-shipping{max-width:100%}.sc-zonos-shipping-h dl.sc-zonos-shipping,.sc-zonos-shipping-h dd.sc-zonos-shipping,.sc-zonos-shipping-h h1.sc-zonos-shipping,.sc-zonos-shipping-h h2.sc-zonos-shipping,.sc-zonos-shipping-h h3.sc-zonos-shipping,.sc-zonos-shipping-h h4.sc-zonos-shipping,.sc-zonos-shipping-h h5.sc-zonos-shipping,.sc-zonos-shipping-h h6.sc-zonos-shipping,.sc-zonos-shipping-h hr.sc-zonos-shipping,.sc-zonos-shipping-h figure.sc-zonos-shipping,.sc-zonos-shipping-h p.sc-zonos-shipping,.sc-zonos-shipping-h pre.sc-zonos-shipping{margin:0}.sc-zonos-shipping-h{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}.sc-zonos-shipping-h{overflow:hidden;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.sc-zonos-shipping-h .zonos--title.sc-zonos-shipping{margin-bottom:var(--amino-space-24)}.sc-zonos-shipping-h .zonos--shipping-method-title.sc-zonos-shipping{margin-bottom:var(--amino-space-16)}.sc-zonos-shipping-h .zonos-shipping-rich-radio.sc-zonos-shipping{margin-bottom:var(--amino-space-24)}.sc-zonos-shipping-h .zonos--group.sc-zonos-shipping{margin-bottom:var(--amino-space-20);overflow:auto;padding:5px}.sc-zonos-shipping-h .zonos--group.sc-zonos-shipping::-webkit-scrollbar{width:10px}.sc-zonos-shipping-h .zonos--group.sc-zonos-shipping::-webkit-scrollbar-track{background:var(--amino-gray-50)}.sc-zonos-shipping-h .zonos--group.sc-zonos-shipping::-webkit-scrollbar-thumb{border-radius:10px;background:#cccccc;border:3px solid transparent;background-clip:content-box}.sc-zonos-shipping-h .zonos--group.sc-zonos-shipping::-webkit-scrollbar-thumb:hover{background:#d6d6d6}.sc-zonos-shipping-h .zonos--group-btn.sc-zonos-shipping{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center}.sc-zonos-shipping-h .zonos--group-btn.sc-zonos-shipping zonos-button.sc-zonos-shipping{width:calc(100% - 10px)}.sc-zonos-shipping-h zonos-banner.sc-zonos-shipping{margin-top:var(--amino-space-24)}";
|
|
13
|
+
const ZonosShippingStyle0 = zonosShippingCss;
|
|
13
14
|
|
|
14
15
|
const ZonosShipping = /*@__PURE__*/ proxyCustomElement(class ZonosShipping extends HTMLElement {
|
|
15
16
|
constructor() {
|
|
@@ -81,7 +82,7 @@ const ZonosShipping = /*@__PURE__*/ proxyCustomElement(class ZonosShipping exten
|
|
|
81
82
|
static get watchers() { return {
|
|
82
83
|
"disabled": ["watchFormComplete"]
|
|
83
84
|
}; }
|
|
84
|
-
static get style() { return
|
|
85
|
+
static get style() { return ZonosShippingStyle0; }
|
|
85
86
|
}, [2, "zonos-shipping", {
|
|
86
87
|
"continueLoading": [4, "continue-loading"],
|
|
87
88
|
"submitBtnColor": [1, "submit-btn-color"],
|
|
@@ -2,6 +2,7 @@ import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal
|
|
|
2
2
|
import { c as classes } from './classes.js';
|
|
3
3
|
|
|
4
4
|
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(--amino-blue-600);-webkit-animation:rotate 2s linear infinite;animation:rotate 2s linear infinite}:host circle.track{stroke:var(--amino-gray-200)}:host.black{stroke:var(--amino-spinner-stroke-black)}:host.black circle.track{stroke:var(--amino-spinner-track-black)}:host.white{stroke:var(--amino-spinner-stroke-white)}:host.white circle.track{stroke:var(--amino-spinner-track-white)}:host.info{stroke:var(--amino-blue-600)}:host.info circle.track{stroke:var(--amino-blue-100)}:host.success{stroke:var(--amino-green-600)}:host.success circle.track{stroke:var(--amino-green-100)}:host.danger{stroke:var(--amino-red-600)}:host.danger circle.track{stroke:var(--amino-red-100)}:host.warning{stroke:var(--amino-orange-600)}:host.warning circle.track{stroke:var(--amino-orange-100)}@-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}";
|
|
5
|
+
const ZonosSpinnerStyle0 = zonosSpinnerCss;
|
|
5
6
|
|
|
6
7
|
const ZonosSpinner = /*@__PURE__*/ proxyCustomElement(class ZonosSpinner extends HTMLElement {
|
|
7
8
|
constructor() {
|
|
@@ -20,7 +21,7 @@ const ZonosSpinner = /*@__PURE__*/ proxyCustomElement(class ZonosSpinner extends
|
|
|
20
21
|
} }, 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" }))));
|
|
21
22
|
}
|
|
22
23
|
get el() { return this; }
|
|
23
|
-
static get style() { return
|
|
24
|
+
static get style() { return ZonosSpinnerStyle0; }
|
|
24
25
|
}, [1, "zonos-spinner", {
|
|
25
26
|
"size": [2],
|
|
26
27
|
"color": [1]
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
2
|
-
import {
|
|
2
|
+
import { b as zonosStoreFontFamily } from './zonosStore.js';
|
|
3
3
|
import { c as classes } from './classes.js';
|
|
4
4
|
|
|
5
5
|
const textOptions = {
|
|
@@ -103,6 +103,7 @@ const textOptions = {
|
|
|
103
103
|
};
|
|
104
104
|
|
|
105
105
|
const zonosTextCss = ":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{color:var(--color)}:host(.zonos--text-size-3xl)>*,:host(.zonos--text-size-3xl){font-size:var(--amino-font-size-3xl)}:host(.zonos--text-size-2xl)>*,:host(.zonos--text-size-2xl){font-size:var(--amino-font-size-2xl)}:host(.zonos--text-size-xl)>*,:host(.zonos--text-size-xl){font-size:var(--amino-font-size-xl)}:host(.zonos--text-size-l)>*,:host(.zonos--text-size-l){font-size:var(--amino-font-size-l)}:host(.zonos--text-size-base)>*,:host(.zonos--text-size-base){font-size:var(--amino-font-size-base)}:host(.zonos--text-size-s)>*,:host(.zonos--text-size-s){font-size:var(--amino-font-size-s)}:host(.zonos--text-size-xs)>*,:host(.zonos--text-size-xs){font-size:var(--amino-font-size-xs)}:host(.zonos--text-weight-900)>*,:host(.zonos--text-weight-900){font-weight:900}:host(.zonos--text-weight-700)>*,:host(.zonos--text-weight-700){font-weight:700}:host(.zonos--text-weight-600)>*,:host(.zonos--text-weight-600){font-weight:600}:host(.zonos--text-weight-500)>*,:host(.zonos--text-weight-500){font-weight:500}:host(.zonos--text-weight-400)>*,:host(.zonos--text-weight-400){font-weight:400}";
|
|
106
|
+
const ZonosTextStyle0 = zonosTextCss;
|
|
106
107
|
|
|
107
108
|
const ZonosText = /*@__PURE__*/ proxyCustomElement(class ZonosText extends HTMLElement {
|
|
108
109
|
constructor() {
|
|
@@ -152,7 +153,7 @@ const ZonosText = /*@__PURE__*/ proxyCustomElement(class ZonosText extends HTMLE
|
|
|
152
153
|
'--font-family': zonosStoreFontFamily(),
|
|
153
154
|
} }, renderText()));
|
|
154
155
|
}
|
|
155
|
-
static get style() { return
|
|
156
|
+
static get style() { return ZonosTextStyle0; }
|
|
156
157
|
}, [1, "zonos-text", {
|
|
157
158
|
"class": [1],
|
|
158
159
|
"color": [1],
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
2
|
-
import {
|
|
2
|
+
import { b as zonosStoreFontFamily } from './zonosStore.js';
|
|
3
3
|
import { c as classes } from './classes.js';
|
|
4
4
|
|
|
5
5
|
const zonosVStackCss = ":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 .vstack{display:grid;grid-auto-columns:minmax(0, 1fr);grid-row-gap:var(--spacing, 24px);grid-auto-flow:row}";
|
|
6
|
+
const ZonosVStackStyle0 = zonosVStackCss;
|
|
6
7
|
|
|
7
8
|
const VStack = /*@__PURE__*/ proxyCustomElement(class VStack extends HTMLElement {
|
|
8
9
|
constructor() {
|
|
@@ -13,11 +14,11 @@ const VStack = /*@__PURE__*/ proxyCustomElement(class VStack extends HTMLElement
|
|
|
13
14
|
this.class = '';
|
|
14
15
|
}
|
|
15
16
|
render() {
|
|
16
|
-
return (h(Host, { style: {
|
|
17
|
+
return (h(Host, { key: 'd363ffeb2bbae49e7318b26ab56b4b8871844daf', style: {
|
|
17
18
|
'--font-family': zonosStoreFontFamily(),
|
|
18
|
-
} }, h("div", { class: classes(['vstack', this.class]), style: { 'grid-row-gap': `${this.spacing}px` } }, h("slot",
|
|
19
|
+
} }, h("div", { key: '5d9fa5ae9ffca787ca42f38e4ec75fedc24823f9', class: classes(['vstack', this.class]), style: { 'grid-row-gap': `${this.spacing}px` } }, h("slot", { key: 'e1d6fef3378b92c18c2c43ec8616e8c733a4290c' }))));
|
|
19
20
|
}
|
|
20
|
-
static get style() { return
|
|
21
|
+
static get style() { return ZonosVStackStyle0; }
|
|
21
22
|
}, [1, "zonos-v-stack", {
|
|
22
23
|
"spacing": [2],
|
|
23
24
|
"class": [1]
|