@zonos/elements 1.3.13-alpha.2 → 1.3.14-alpha.0

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.
Files changed (237) hide show
  1. package/dist/cjs/{cart-b32bfb92.js → cart-5d196917.js} +3 -3
  2. package/dist/cjs/{getBorderRadius-4fa738c3.js → getBorderRadius-c8cc2bb3.js} +1 -1
  3. package/dist/cjs/{index-564fe383.js → index-3b4816ef.js} +20 -2
  4. package/dist/cjs/{isDarkColor-7faf0a82.js → isDarkColor-f5473002.js} +1 -1
  5. package/dist/cjs/loader.cjs.js +1 -1
  6. package/dist/cjs/{sendErrorLog-5f732a8a.js → sendErrorLog-3e181984.js} +1 -1
  7. package/dist/cjs/{submitGtag-fe94f3a0.js → submitGtag-44e3a996.js} +2 -2
  8. package/dist/cjs/zonos-address_4.cjs.entry.js +13 -13
  9. package/dist/cjs/zonos-badge_2.cjs.entry.js +7 -7
  10. package/dist/cjs/zonos-banner.cjs.entry.js +2 -2
  11. package/dist/cjs/zonos-button_2.cjs.entry.js +7 -7
  12. package/dist/cjs/zonos-card_2.cjs.entry.js +10 -10
  13. package/dist/cjs/zonos-cart-items_10.cjs.entry.js +17 -17
  14. package/dist/cjs/zonos-checkout.cjs.entry.js +7 -7
  15. package/dist/cjs/zonos-component.cjs.entry.js +2 -2
  16. package/dist/cjs/zonos-controller.cjs.entry.js +6 -6
  17. package/dist/cjs/zonos-country-flag.cjs.entry.js +5 -5
  18. package/dist/cjs/zonos-country-select_3.cjs.entry.js +14 -16
  19. package/dist/cjs/zonos-elements.cjs.js +2 -2
  20. package/dist/cjs/zonos-hello-dialog.cjs.entry.js +8 -8
  21. package/dist/cjs/zonos-hello.cjs.entry.js +5 -5
  22. package/dist/cjs/zonos-icon.cjs.entry.js +2 -2
  23. package/dist/cjs/zonos-link.cjs.entry.js +2 -2
  24. package/dist/cjs/zonos-logo.cjs.entry.js +4 -4
  25. package/dist/cjs/zonos-notification.cjs.entry.js +2 -2
  26. package/dist/cjs/zonos-payment.cjs.entry.js +6 -6
  27. package/dist/cjs/zonos-select-dialog-header_2.cjs.entry.js +6 -6
  28. package/dist/cjs/zonos-shipping-rich-radio.cjs.entry.js +3 -3
  29. package/dist/cjs/zonos-text.cjs.entry.js +2 -2
  30. package/dist/cjs/{zonosStore-bd2a0c59.js → zonosStore-aee974e0.js} +1 -1
  31. package/dist/collection/collection-manifest.json +2 -2
  32. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-finish/zonos-checkout-finish.js +1 -1
  33. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-footer/zonos-checkout-footer.js +2 -2
  34. package/dist/collection/components/checkout/zonos-checkout/zonos-shipping/zonos-shipping.js +1 -1
  35. package/dist/collection/components/common/component-template/zonos-link/zonos-link.js +1 -1
  36. package/dist/collection/components/common/zonos-badge/zonos-badge.js +3 -3
  37. package/dist/collection/components/common/zonos-button/zonos-button.js +3 -3
  38. package/dist/collection/components/common/zonos-card/zonos-card.js +3 -3
  39. package/dist/collection/components/common/zonos-checkbox/zonos-checkbox.js +3 -3
  40. package/dist/collection/components/common/zonos-checkout-progress-tabs/zonos-checkout-progress-tabs.js +3 -3
  41. package/dist/collection/components/common/zonos-collapse/zonos-collapse.js +2 -2
  42. package/dist/collection/components/common/zonos-country-select/zonos-country-select.js +2 -2
  43. package/dist/collection/components/common/zonos-custom-message/zonos-custom-message.js +2 -2
  44. package/dist/collection/components/common/zonos-dialog/zonos-dialog.js +3 -3
  45. package/dist/collection/components/common/zonos-language-select/zonos-language-select.js +2 -2
  46. package/dist/collection/components/common/zonos-logo/zonos-logo.js +2 -2
  47. package/dist/collection/components/common/zonos-select-dialog-header/zonos-select-dialog-header.js +2 -2
  48. package/dist/collection/components/common/zonos-tooltip/zonos-tooltip.js +2 -2
  49. package/dist/collection/components/common/zonos-v-stack/zonos-v-stack.js +2 -2
  50. package/dist/collection/components/component-template/zonos-component/zonos-component.js +1 -1
  51. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog-footer/zonos-hello-dialog-footer.js +2 -2
  52. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog.js +3 -3
  53. package/dist/collection/components/main/zonos-controller.js +1 -1
  54. package/dist/collection/components/stripe/zonos-address/zonos-address.js +1 -1
  55. package/dist/collection/components/stripe/zonos-link-authentication/zonos-link-authentication.js +1 -1
  56. package/dist/collection/components/stripe/zonos-payment/zonos-payment.js +1 -1
  57. package/dist/components/zonos-address2.js +1 -1
  58. package/dist/components/zonos-badge2.js +3 -3
  59. package/dist/components/zonos-button2.js +3 -3
  60. package/dist/components/zonos-card2.js +3 -3
  61. package/dist/components/zonos-checkbox2.js +3 -3
  62. package/dist/components/zonos-checkout-finish2.js +1 -1
  63. package/dist/components/zonos-checkout-footer2.js +2 -2
  64. package/dist/components/zonos-checkout-progress-tabs2.js +3 -3
  65. package/dist/components/zonos-collapse2.js +2 -2
  66. package/dist/components/zonos-component.js +1 -1
  67. package/dist/components/zonos-controller.js +1 -1
  68. package/dist/components/zonos-country-select2.js +5 -7
  69. package/dist/components/zonos-custom-message2.js +2 -2
  70. package/dist/components/zonos-dialog2.js +3 -3
  71. package/dist/components/zonos-hello-dialog-footer2.js +2 -2
  72. package/dist/components/zonos-hello-dialog2.js +3 -3
  73. package/dist/components/zonos-language-select2.js +2 -2
  74. package/dist/components/zonos-link-authentication2.js +1 -1
  75. package/dist/components/zonos-link.js +1 -1
  76. package/dist/components/zonos-logo.js +2 -2
  77. package/dist/components/zonos-payment2.js +1 -1
  78. package/dist/components/zonos-select-dialog-header2.js +2 -2
  79. package/dist/components/zonos-shipping2.js +1 -1
  80. package/dist/components/zonos-tooltip2.js +2 -2
  81. package/dist/components/zonos-v-stack2.js +2 -2
  82. package/dist/esm/{cart-9f9f26f9.js → cart-515aac56.js} +3 -3
  83. package/dist/esm/{getBorderRadius-a89e45fb.js → getBorderRadius-8129b0cb.js} +1 -1
  84. package/dist/esm/{index-dd40cc85.js → index-0e31d804.js} +20 -2
  85. package/dist/esm/{isDarkColor-6bf71e51.js → isDarkColor-7a6d2d14.js} +1 -1
  86. package/dist/esm/loader.js +2 -2
  87. package/dist/esm/{sendErrorLog-283f65ab.js → sendErrorLog-e4546d7b.js} +1 -1
  88. package/dist/esm/{submitGtag-5847d1a1.js → submitGtag-6767c31f.js} +2 -2
  89. package/dist/esm/zonos-address_4.entry.js +13 -13
  90. package/dist/esm/zonos-badge_2.entry.js +7 -7
  91. package/dist/esm/zonos-banner.entry.js +2 -2
  92. package/dist/esm/zonos-button_2.entry.js +7 -7
  93. package/dist/esm/zonos-card_2.entry.js +10 -10
  94. package/dist/esm/zonos-cart-items_10.entry.js +17 -17
  95. package/dist/esm/zonos-checkout.entry.js +7 -7
  96. package/dist/esm/zonos-component.entry.js +2 -2
  97. package/dist/esm/zonos-controller.entry.js +6 -6
  98. package/dist/esm/zonos-country-flag.entry.js +5 -5
  99. package/dist/esm/zonos-country-select_3.entry.js +14 -16
  100. package/dist/esm/zonos-elements.js +3 -3
  101. package/dist/esm/zonos-hello-dialog.entry.js +8 -8
  102. package/dist/esm/zonos-hello.entry.js +5 -5
  103. package/dist/esm/zonos-icon.entry.js +2 -2
  104. package/dist/esm/zonos-link.entry.js +2 -2
  105. package/dist/esm/zonos-logo.entry.js +4 -4
  106. package/dist/esm/zonos-notification.entry.js +2 -2
  107. package/dist/esm/zonos-payment.entry.js +6 -6
  108. package/dist/esm/zonos-select-dialog-header_2.entry.js +6 -6
  109. package/dist/esm/zonos-shipping-rich-radio.entry.js +3 -3
  110. package/dist/esm/zonos-text.entry.js +2 -2
  111. package/dist/esm/{zonosStore-c4c45591.js → zonosStore-f3eef64b.js} +1 -1
  112. package/dist/esm-es5/{cart-9f9f26f9.js → cart-515aac56.js} +1 -1
  113. package/dist/esm-es5/{getBorderRadius-a89e45fb.js → getBorderRadius-8129b0cb.js} +1 -1
  114. package/dist/esm-es5/index-0e31d804.js +2 -0
  115. package/dist/esm-es5/{isDarkColor-6bf71e51.js → isDarkColor-7a6d2d14.js} +1 -1
  116. package/dist/esm-es5/loader.js +1 -1
  117. package/dist/esm-es5/{sendErrorLog-283f65ab.js → sendErrorLog-e4546d7b.js} +1 -1
  118. package/dist/esm-es5/{submitGtag-5847d1a1.js → submitGtag-6767c31f.js} +1 -1
  119. package/dist/esm-es5/zonos-address_4.entry.js +1 -1
  120. package/dist/esm-es5/zonos-badge_2.entry.js +1 -1
  121. package/dist/esm-es5/zonos-banner.entry.js +1 -1
  122. package/dist/esm-es5/zonos-button_2.entry.js +1 -1
  123. package/dist/esm-es5/zonos-card_2.entry.js +1 -1
  124. package/dist/esm-es5/zonos-cart-items_10.entry.js +1 -1
  125. package/dist/esm-es5/zonos-checkout.entry.js +1 -1
  126. package/dist/esm-es5/zonos-component.entry.js +1 -1
  127. package/dist/esm-es5/zonos-controller.entry.js +1 -1
  128. package/dist/esm-es5/zonos-country-flag.entry.js +1 -1
  129. package/dist/esm-es5/zonos-country-select_3.entry.js +1 -1
  130. package/dist/esm-es5/zonos-elements.js +1 -1
  131. package/dist/esm-es5/zonos-hello-dialog.entry.js +1 -1
  132. package/dist/esm-es5/zonos-hello.entry.js +1 -1
  133. package/dist/esm-es5/zonos-icon.entry.js +1 -1
  134. package/dist/esm-es5/zonos-link.entry.js +1 -1
  135. package/dist/esm-es5/zonos-logo.entry.js +1 -1
  136. package/dist/esm-es5/zonos-notification.entry.js +1 -1
  137. package/dist/esm-es5/zonos-payment.entry.js +1 -1
  138. package/dist/esm-es5/zonos-select-dialog-header_2.entry.js +1 -1
  139. package/dist/esm-es5/zonos-shipping-rich-radio.entry.js +1 -1
  140. package/dist/esm-es5/zonos-text.entry.js +1 -1
  141. package/dist/esm-es5/{zonosStore-c4c45591.js → zonosStore-f3eef64b.js} +1 -1
  142. package/dist/scripts/loadStripe.js +1 -1
  143. package/dist/scripts/loadZonos.js +1 -1
  144. package/dist/scripts/stripe.js +1 -1
  145. package/dist/scripts/zonos.js +1 -1
  146. package/dist/scripts/zonosBase.js +1 -1
  147. package/dist/types/components/checkout/zonos-checkout/zonos-shipping/zonos-shipping.d.ts +1 -1
  148. package/dist/types/components/store/checkout/stripe.d.ts +1 -1
  149. package/dist/types/components/store/zonosStore.d.ts +1 -1
  150. package/dist/types/components/utils/api/getLocaleMessages.d.ts +1 -1
  151. package/dist/types/components/utils/createCustomEvent.d.ts +1 -1
  152. package/dist/types/components/utils/darkenColor.d.ts +1 -1
  153. package/dist/types/components/utils/formatCurrency.d.ts +1 -1
  154. package/dist/types/components/utils/handleFetch.d.ts +1 -1
  155. package/dist/types/components/utils/lightenColor.d.ts +2 -2
  156. package/dist/types/components/utils/styles.d.ts +1 -2
  157. package/dist/types/environment.d.ts +2 -4
  158. package/dist/types/styles/stripe/defaultVariable.d.ts +1 -1
  159. package/dist/types/types/generated/graphql.customer.types.d.ts +17 -17
  160. package/dist/types/types/generated/graphql.frontend.types.d.ts +24 -24
  161. package/dist/zonos-elements/assets/RemoveIcon.svg +1 -1
  162. package/dist/zonos-elements/{p-62c458ac.system.entry.js → p-05f749dc.system.entry.js} +1 -1
  163. package/dist/zonos-elements/{p-160cdf4e.system.entry.js → p-0a0d45e9.system.entry.js} +1 -1
  164. package/dist/zonos-elements/{p-5c9c2973.system.entry.js → p-16b59229.system.entry.js} +1 -1
  165. package/dist/zonos-elements/{p-eb1b1d4a.entry.js → p-1744bddb.entry.js} +1 -1
  166. package/dist/zonos-elements/{p-b5f28531.system.entry.js → p-17ded5a1.system.entry.js} +1 -1
  167. package/dist/zonos-elements/{p-4515ec7b.entry.js → p-1f5c2d7b.entry.js} +1 -1
  168. package/dist/zonos-elements/p-2244534c.js +2 -0
  169. package/dist/zonos-elements/{p-ad499520.entry.js → p-257af88b.entry.js} +1 -1
  170. package/dist/zonos-elements/p-2825570c.system.js +2 -0
  171. package/dist/zonos-elements/{p-4d7b27af.system.entry.js → p-2aa3c0e8.system.entry.js} +1 -1
  172. package/dist/zonos-elements/{p-3639f458.system.js → p-2d404058.system.js} +1 -1
  173. package/dist/zonos-elements/{p-215cd7ec.entry.js → p-2ee0d779.entry.js} +1 -1
  174. package/dist/zonos-elements/p-3b4225b2.entry.js +1 -0
  175. package/dist/zonos-elements/{p-20b080d1.system.entry.js → p-3d8254a2.system.entry.js} +1 -1
  176. package/dist/zonos-elements/p-3e38990b.entry.js +1 -0
  177. package/dist/zonos-elements/p-3f713699.entry.js +1 -0
  178. package/dist/zonos-elements/{p-e55d8394.system.entry.js → p-4029034e.system.entry.js} +1 -1
  179. package/dist/zonos-elements/{p-b2d9dc9d.entry.js → p-418c056d.entry.js} +1 -1
  180. package/dist/zonos-elements/{p-f42bffad.system.entry.js → p-4f626a90.system.entry.js} +1 -1
  181. package/dist/zonos-elements/p-4fbd0ce6.entry.js +1 -0
  182. package/dist/zonos-elements/{p-15cd4a76.system.entry.js → p-509717bc.system.entry.js} +1 -1
  183. package/dist/zonos-elements/{p-167b3369.system.js → p-520e8e63.system.js} +1 -1
  184. package/dist/zonos-elements/{p-72c6bf0f.entry.js → p-5ca09163.entry.js} +1 -1
  185. package/dist/zonos-elements/p-7aef7d5d.system.entry.js +1 -0
  186. package/dist/zonos-elements/p-808413f8.entry.js +1 -0
  187. package/dist/zonos-elements/{p-c5321a31.js → p-816f1aee.js} +1 -1
  188. package/dist/zonos-elements/{p-5a464374.system.js → p-882ec68e.system.js} +1 -1
  189. package/dist/zonos-elements/{p-f1037168.entry.js → p-8cb8fa93.entry.js} +1 -1
  190. package/dist/zonos-elements/{p-70c1f877.system.entry.js → p-8ec3995a.system.entry.js} +1 -1
  191. package/dist/zonos-elements/p-93698719.system.entry.js +1 -0
  192. package/dist/zonos-elements/{p-470284a3.entry.js → p-97534044.entry.js} +1 -1
  193. package/dist/zonos-elements/p-9da65d62.entry.js +1 -0
  194. package/dist/zonos-elements/{p-b62aee3d.entry.js → p-a48e7c84.entry.js} +1 -1
  195. package/dist/zonos-elements/{p-e237784c.system.entry.js → p-a583e3c6.system.entry.js} +1 -1
  196. package/dist/zonos-elements/{p-1d833f22.system.entry.js → p-a6bbf6de.system.entry.js} +1 -1
  197. package/dist/zonos-elements/p-aa5e2f7c.system.entry.js +1 -0
  198. package/dist/zonos-elements/p-aa671fa6.entry.js +1 -0
  199. package/dist/zonos-elements/p-ab06e5c8.system.entry.js +1 -0
  200. package/dist/zonos-elements/{p-6e81adba.system.js → p-b8e8330b.system.js} +1 -1
  201. package/dist/zonos-elements/{p-001518eb.system.entry.js → p-bc2bd266.system.entry.js} +1 -1
  202. package/dist/zonos-elements/{p-ad9c7245.system.js → p-bdd775f2.system.js} +1 -1
  203. package/dist/zonos-elements/{p-4c9367f1.entry.js → p-be022d8e.entry.js} +1 -1
  204. package/dist/zonos-elements/{p-f62b49aa.system.entry.js → p-c5bc49b5.system.entry.js} +1 -1
  205. package/dist/zonos-elements/{p-03da9e9d.js → p-ca6cf075.js} +1 -1
  206. package/dist/zonos-elements/{p-e3de496a.entry.js → p-cd449b56.entry.js} +1 -1
  207. package/dist/zonos-elements/{p-9a90fb56.js → p-d01576d7.js} +1 -1
  208. package/dist/zonos-elements/{p-6c5c5377.system.entry.js → p-d0d78094.system.entry.js} +1 -1
  209. package/dist/zonos-elements/{p-1bbdfae5.js → p-d41b5762.js} +1 -1
  210. package/dist/zonos-elements/{p-9726ff53.entry.js → p-d9aa8599.entry.js} +1 -1
  211. package/dist/zonos-elements/{p-a144d26a.system.entry.js → p-e1ac5b2a.system.entry.js} +1 -1
  212. package/dist/zonos-elements/{p-171eb334.entry.js → p-e703c902.entry.js} +1 -1
  213. package/dist/zonos-elements/{p-10dec8e6.entry.js → p-e9a41fd8.entry.js} +1 -1
  214. package/dist/zonos-elements/p-ed2e94d2.js +1 -0
  215. package/dist/zonos-elements/{p-c43da0c6.js → p-f0b4e58a.js} +1 -1
  216. package/dist/zonos-elements/p-f48a613e.system.entry.js +1 -0
  217. package/dist/zonos-elements/{p-41c2b1c5.system.js → p-f4c38bfc.system.js} +1 -1
  218. package/dist/zonos-elements/{p-86034f1e.system.js → p-fc4da55c.system.js} +1 -1
  219. package/dist/zonos-elements/zonos-elements.esm.js +1 -1
  220. package/dist/zonos-elements/zonos-elements.js +1 -1
  221. package/package.json +42 -40
  222. package/dist/esm-es5/index-dd40cc85.js +0 -2
  223. package/dist/zonos-elements/p-07022f11.js +0 -1
  224. package/dist/zonos-elements/p-07bb1bed.js +0 -2
  225. package/dist/zonos-elements/p-0b3cb5c2.system.entry.js +0 -1
  226. package/dist/zonos-elements/p-14c7d651.system.entry.js +0 -1
  227. package/dist/zonos-elements/p-29034d9c.entry.js +0 -1
  228. package/dist/zonos-elements/p-50777610.entry.js +0 -1
  229. package/dist/zonos-elements/p-52de4d70.system.js +0 -2
  230. package/dist/zonos-elements/p-6f5cc827.entry.js +0 -1
  231. package/dist/zonos-elements/p-76ac5680.system.entry.js +0 -1
  232. package/dist/zonos-elements/p-887bfef2.system.entry.js +0 -1
  233. package/dist/zonos-elements/p-9ab6e2b5.entry.js +0 -1
  234. package/dist/zonos-elements/p-b4a086e0.entry.js +0 -1
  235. package/dist/zonos-elements/p-e1bb026f.entry.js +0 -1
  236. package/dist/zonos-elements/p-f7da5199.system.entry.js +0 -1
  237. package/dist/zonos-elements/p-ff699d46.entry.js +0 -1
@@ -2,18 +2,18 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-564fe383.js');
6
- const cart = require('./cart-b32bfb92.js');
7
- const zonosStore = require('./zonosStore-bd2a0c59.js');
5
+ const index = require('./index-3b4816ef.js');
6
+ const cart = require('./cart-5d196917.js');
7
+ const zonosStore = require('./zonosStore-aee974e0.js');
8
8
  const formatStringWithLinks = require('./formatStringWithLinks-52341fc7.js');
9
- const isDarkColor = require('./isDarkColor-7faf0a82.js');
9
+ const isDarkColor = require('./isDarkColor-f5473002.js');
10
10
  const ILanguage = require('./ILanguage-d247b45b.js');
11
- require('./getBorderRadius-4fa738c3.js');
11
+ require('./getBorderRadius-c8cc2bb3.js');
12
12
 
13
13
  /**
14
- * Fuse.js v6.6.2 - Lightweight fuzzy-search (http://fusejs.io)
14
+ * Fuse.js v7.0.0 - Lightweight fuzzy-search (http://fusejs.io)
15
15
  *
16
- * Copyright (c) 2022 Kiro Risk (http://kiro.me)
16
+ * Copyright (c) 2023 Kiro Risk (http://kiro.me)
17
17
  * All Rights Reserved. Apache Software License 2.0
18
18
  *
19
19
  * http://www.apache.org/licenses/LICENSE-2.0
@@ -111,8 +111,6 @@ class KeyStore {
111
111
  keys.forEach((key) => {
112
112
  let obj = createKey(key);
113
113
 
114
- totalWeight += obj.weight;
115
-
116
114
  this._keys.push(obj);
117
115
  this._keyMap[obj.id] = obj;
118
116
 
@@ -1776,7 +1774,7 @@ class Fuse {
1776
1774
  }
1777
1775
  }
1778
1776
 
1779
- Fuse.version = '6.6.2';
1777
+ Fuse.version = '7.0.0';
1780
1778
  Fuse.createIndex = createIndex;
1781
1779
  Fuse.parseIndex = parseIndex;
1782
1780
  Fuse.config = Config;
@@ -1830,9 +1828,9 @@ const ZonosCountrySelect = class {
1830
1828
  const filteredCountries = this.inputValue
1831
1829
  ? fuseObject.map(country => country.item)
1832
1830
  : countries.sort((a, b) => a.displayName.localeCompare(b.displayName));
1833
- return (index.h(index.Host, { key: '0024a7061a593cf3c92fd7f6b5916aaac3a835c9', class: "zonos--elements", style: {
1831
+ return (index.h(index.Host, { key: 'ae921c5a4aa83cdde8f42d8993603e824344f11a', class: "zonos--elements", style: {
1834
1832
  '--font-family': zonosStore.zonosStoreFontFamily(),
1835
- } }, index.h("div", { key: 'e6ef5d8cc13e731c94ee5ef037c02eac36d9bce6', class: "zonos--country-select" }, index.h("zonos-v-stack", { key: 'f698da7688757b6728e99e0cecb21ac4ce586d30', class: "zonos--country-select-header", spacing: 8 }, index.h("zonos-select-dialog-header", { key: 'd37801e6023262a582d3ecc6e3a39f505f7e82b8', handleOnClose: () => this.handleOnClose(), label: "Select a country" }, index.h("input", { key: '6f053c963f5e25b5285a94070336650537bbdad3', class: "zonos--country-select-input", onInput: this.handleInputChange, placeholder: "Search countries", value: this.inputValue }))), index.h("div", { key: '3d3e180b204bf9fa0893fec7839f1d0d5c4740c1', class: "zonos--country-select-content" }, filteredCountries.map(country => (index.h("button", { class: "zonos--country-select-country", onClick: () => this.countrySelected(country.code) }, index.h("zonos-country-flag", { class: "zonos--country-flag", countryCode: country.code }), index.h("zonos-text", { textColor: "gray-800" }, country.displayName), country.code === cart.localizationStore.selectedCountryCode && (index.h("zonos-icon", { content: GreenCheckDuotoneIcon, size: 20 })))))))));
1833
+ } }, index.h("div", { key: 'b3bd4c0a0a4aeee8f4de78aadd8cd26b69e060a3', class: "zonos--country-select" }, index.h("zonos-v-stack", { key: 'aae54d33cc8a3b6befcbb259f92320da230df5be', class: "zonos--country-select-header", spacing: 8 }, index.h("zonos-select-dialog-header", { key: '8627db51744e70f94ce01a024ac38343d7f2ee00', handleOnClose: () => this.handleOnClose(), label: "Select a country" }, index.h("input", { key: 'affa5003e513bae802cdf029f3996cc2dd31f7d4', class: "zonos--country-select-input", onInput: this.handleInputChange, placeholder: "Search countries", value: this.inputValue }))), index.h("div", { key: '8b892a23cb69d44d886b69a7a038e3a98c97eb1b', class: "zonos--country-select-content" }, filteredCountries.map(country => (index.h("button", { class: "zonos--country-select-country", onClick: () => this.countrySelected(country.code) }, index.h("zonos-country-flag", { class: "zonos--country-flag", countryCode: country.code }), index.h("zonos-text", { textColor: "gray-800" }, country.displayName), country.code === cart.localizationStore.selectedCountryCode && (index.h("zonos-icon", { content: GreenCheckDuotoneIcon, size: 20 })))))))));
1836
1834
  }
1837
1835
  get ele() { return index.getElement(this); }
1838
1836
  };
@@ -1849,9 +1847,9 @@ const ZonosCustomMessage = class {
1849
1847
  }
1850
1848
  render() {
1851
1849
  const messageWithLinks = formatStringWithLinks.formatStringWithLinks(this.message);
1852
- return (index.h(index.Host, { key: 'b09b7025fb55c4323aaa24ccb7e410d1638bed8a', class: "zonos--elements", style: {
1850
+ return (index.h(index.Host, { key: 'b917fa2e0b2293b3423ba8910cca667b62c3b7c0', class: "zonos--elements", style: {
1853
1851
  '--font-family': zonosStore.zonosStoreFontFamily(),
1854
- } }, this.message && (index.h("zonos-card", { class: "zonos--custom-message", spacing: "12px" }, index.h("div", { class: "zonos--flex-message" }, index.h("zonos-icon", { "aria-label": "Custom message icon", content: this.icon }), index.h("zonos-text", { innerHTML: messageWithLinks }))))));
1852
+ } }, this.message && (index.h("zonos-card", { key: '28d3e6d986ee9a2d56ddb173f1e1e5094d18634a', class: "zonos--custom-message", spacing: "12px" }, index.h("div", { key: '526de02e727a977f42e5547fc1ba0c91d682e72f', class: "zonos--flex-message" }, index.h("zonos-icon", { key: '0e2360d11bff3c94c3ba722a0a2b4767f04232fc', "aria-label": "Custom message icon", content: this.icon }), index.h("zonos-text", { key: 'fa8c7e5042f1d622053ccd86bb52b51304ffc83e', innerHTML: messageWithLinks }))))));
1855
1853
  }
1856
1854
  };
1857
1855
  ZonosCustomMessage.style = ZonosCustomMessageStyle0;
@@ -1883,9 +1881,9 @@ const ZonosHelloDialogFooter = class {
1883
1881
  const primaryColor = (_a = this.appearanceSettings) === null || _a === void 0 ? void 0 : _a.colorPrimary;
1884
1882
  const footerTheme = primaryColor && isDarkColor.isDarkColor(primaryColor) ? 'DARK' : 'LIGHT';
1885
1883
  const language = (_b = ILanguage.languages.find(x => x.code === cart.localizationStore.selectedLocale)) === null || _b === void 0 ? void 0 : _b.translatedLabel;
1886
- return (index.h(index.Host, { key: 'ae185b9859f64fea077e093af2decc170f24170b', class: "zonos--elements" }, index.h("div", { key: 'c472973505ab6cde075af193df735d0524fc35a0', class: "zonos--hello-dialog-footer", "data-theme": footerTheme, style: {
1884
+ return (index.h(index.Host, { key: '046b97e6ed7c35e5e9a244d0ffc3b59dfd206a8a', class: "zonos--elements" }, index.h("div", { key: '9134e27c1ec407b7661b6b92cd37cd17333e0f15', class: "zonos--hello-dialog-footer", "data-theme": footerTheme, style: {
1887
1885
  '--primary-color': (_c = this.appearanceSettings) === null || _c === void 0 ? void 0 : _c.colorPrimary,
1888
- } }, index.h("a", { key: '95cb8c09a3a3f566365f0044d6fcdcf6a82facee', href: "https://zonos.com", target: "_blank", title: "Zonos website" }, index.h("zonos-icon", { key: 'e11df129f087f9de259c2f24bd294f8d0a881e0d', "aria-label": "Zonos Logo", autoHeight: true, content: ZonosIcon, iconColor: "gray-1200", size: 108 })), index.h("div", { key: 'df26ef41d24395a2db6d8e3c9dc83a62e0e707ef', class: "zonos--hello-locale-wrapper" }, index.h("zonos-button", { key: '9b1797c3fdd17044fecb6ae4526d3c053d1ab59a', buttonColor: "gray-1200", icon: index.h("zonos-icon", { "aria-label": "Open language select", content: Globe, iconColor: "gray-1200" }), onClick: () => this.setShowLanguageSelect(true), variant: "subtle" }, language), index.h("zonos-button", { key: 'eac17e7e84dc2a80abfcbaed3753512e6358f8db', buttonColor: "gray-1200", icon: index.h("zonos-country-flag", { "aria-label": "Open country select", class: "zonos--footer-country-flag", countryCode: cart.localizationStore.selectedCountryCode }), onClick: () => this.setShowCountrySelect(true), variant: "subtle" }, cart.localizationStore.selectedCountryCode)))));
1886
+ } }, index.h("a", { key: '670c4627ff0297e2a4869a00e19032b3289396d7', href: "https://zonos.com", target: "_blank", title: "Zonos website" }, index.h("zonos-icon", { key: 'b67dd84bc4a4a245a0f2117e5b063df659f12ef9', "aria-label": "Zonos Logo", autoHeight: true, content: ZonosIcon, iconColor: "gray-1200", size: 108 })), index.h("div", { key: '823af21d0e96c52eed9cb9b6b13faf875bba13c8', class: "zonos--hello-locale-wrapper" }, index.h("zonos-button", { key: 'edd4b9d15b9e2f5051bd5e3e524fcd0d93e66543', buttonColor: "gray-1200", icon: index.h("zonos-icon", { "aria-label": "Open language select", content: Globe, iconColor: "gray-1200" }), onClick: () => this.setShowLanguageSelect(true), variant: "subtle" }, language), index.h("zonos-button", { key: 'f350f61d47eb93d7ac8ebc5c8faddc932262f990', buttonColor: "gray-1200", icon: index.h("zonos-country-flag", { "aria-label": "Open country select", class: "zonos--footer-country-flag", countryCode: cart.localizationStore.selectedCountryCode }), onClick: () => this.setShowCountrySelect(true), variant: "subtle" }, cart.localizationStore.selectedCountryCode)))));
1889
1887
  }
1890
1888
  };
1891
1889
  ZonosHelloDialogFooter.style = ZonosHelloDialogFooterStyle0;
@@ -2,11 +2,11 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-564fe383.js');
5
+ const index = require('./index-3b4816ef.js');
6
6
  const appGlobals = require('./app-globals-3a1e7e63.js');
7
7
 
8
8
  /*
9
- Stencil Client Patch Browser v4.12.6 | MIT Licensed | https://stenciljs.com
9
+ Stencil Client Patch Browser v4.16.0 | MIT Licensed | https://stenciljs.com
10
10
  */
11
11
  const patchBrowser = () => {
12
12
  const importMeta = (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('zonos-elements.cjs.js', document.baseURI).href));
@@ -2,14 +2,14 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-564fe383.js');
6
- const cart = require('./cart-b32bfb92.js');
7
- const zonosStore = require('./zonosStore-bd2a0c59.js');
5
+ const index = require('./index-3b4816ef.js');
6
+ const cart = require('./cart-5d196917.js');
7
+ const zonosStore = require('./zonosStore-aee974e0.js');
8
8
  const classes = require('./classes-b7918f56.js');
9
9
  const formatStringWithLinks = require('./formatStringWithLinks-52341fc7.js');
10
10
  const getHasMoreSpaceOnRight = require('./getHasMoreSpaceOnRight-4c94667f.js');
11
- require('./isDarkColor-7faf0a82.js');
12
- require('./getBorderRadius-4fa738c3.js');
11
+ require('./isDarkColor-f5473002.js');
12
+ require('./getBorderRadius-c8cc2bb3.js');
13
13
 
14
14
  const getHasMoreSpaceAbove = (ref) => {
15
15
  const componentRect = ref.getBoundingClientRect();
@@ -186,17 +186,17 @@ const ZonosHelloDialog = class {
186
186
  const defaultMessage = formatStringWithLinks.formatStringWithLinks(defaultMessageStr);
187
187
  const currentPage = this.getCurrentPageEnum();
188
188
  const filteredMessages = customMessages.filter(x => x.pageName === currentPage);
189
- return (index.h(index.Host, { key: 'ccabd686943b009ed6bb9c0ec64a6a4e7cc917f5', class: "zonos--elements" }, index.h("div", { key: '6bfbae15f5b43413fc76d21b94d0d56a2ce48f4d', "aria-hidden": "true", class: classes.classes([
189
+ return (index.h(index.Host, { key: 'f300db080cf0634c72aae93aceae288ce67c500c', class: "zonos--elements" }, index.h("div", { key: 'e61bbf7022be71909ab56267721026f95b9fc2fc', "aria-hidden": "true", class: classes.classes([
190
190
  'zonos--hello-dialog',
191
191
  animateLeft && 'zonos--hello-dialog-animate-from-left',
192
192
  animateFromBottom && 'zonos--hello-dialog-animate-from-bottom',
193
193
  !!this.mobileLocationOverride &&
194
194
  'zonos--hello-dialog-mobile-override',
195
195
  this.isOpen && 'zonos--hello-dialog-open',
196
- ]), ref: el => el && (this.dialogRef = el) }, !this.showCountrySelect && !this.showLanguageSelect && (index.h("div", null, index.h("div", { class: "zonos--hello-dialog-content" }, index.h("zonos-button", { class: "zonos--close-button", icon: index.h("zonos-icon", { "aria-label": "Close Zonos Hello dialog", content: RemoveIcon }), noBackground: true, onClick: () => this.setIsOpen(false) }), index.h("zonos-v-stack", { spacing: 24 }, index.h("zonos-country-flag", { class: "zonos--hello-country-flag", countryCode: selectedCountryCode }), index.h("zonos-v-stack", { class: "zonos--hello-dialog-header", spacing: 4 }, index.h("zonos-text", { type: "boldSubheader" }, welcomeMessage), index.h("zonos-text", { innerHTML: defaultMessage, textColor: "gray-800" })), index.h("zonos-v-stack", { spacing: 8 }, this.restrictedItems.map(item => {
196
+ ]), ref: el => el && (this.dialogRef = el) }, !this.showCountrySelect && !this.showLanguageSelect && (index.h("div", { key: '909e251587e2650dbdc1afe5b19e9b3a55f72a18' }, index.h("div", { key: 'a4a79886507449ba688c87474d064528cae3779b', class: "zonos--hello-dialog-content" }, index.h("zonos-button", { key: '1e7a3e74f3f5ab94a70983a067cc08d596d9c5be', class: "zonos--close-button", icon: index.h("zonos-icon", { "aria-label": "Close Zonos Hello dialog", content: RemoveIcon }), noBackground: true, onClick: () => this.setIsOpen(false) }), index.h("zonos-v-stack", { key: '1c981178390c120427d61f68a05808a95f8da72a', spacing: 24 }, index.h("zonos-country-flag", { key: '095e060cf50ee4525ea501e682735370c0c03cfa', class: "zonos--hello-country-flag", countryCode: selectedCountryCode }), index.h("zonos-v-stack", { key: '1db18e95118922462526c7092accf42639bd4fdd', class: "zonos--hello-dialog-header", spacing: 4 }, index.h("zonos-text", { key: 'f494d050c90922328f3e8ea3bd05e1cf9e6d239c', type: "boldSubheader" }, welcomeMessage), index.h("zonos-text", { key: 'b31645d57a3c5f25eb59b61482d4e383e3cb962c', innerHTML: defaultMessage, textColor: "gray-800" })), index.h("zonos-v-stack", { key: '1e8f0a656074cd830715d19685c2a3c9daced9be', spacing: 8 }, this.restrictedItems.map(item => {
197
197
  var _a;
198
198
  return item && (index.h("zonos-banner", { bannerTitle: item.name, intent: "error" }, (_a = item.itemRestrictions) === null || _a === void 0 ? void 0 : _a.map(x => (index.h("zonos-text", { textColor: "red-800" }, x === null || x === void 0 ? void 0 : x.note)))));
199
- }), index.h("zonos-card", { spacing: "12px" }, index.h("zonos-v-stack", { spacing: 12 }, index.h("div", { class: "zonos--flex-message" }, index.h("zonos-icon", { "aria-label": "Duty de minimis", content: ImportIcon }), index.h("zonos-text", null, dutyDeMinimisMessage)), index.h("div", { class: "zonos--flex-message" }, index.h("zonos-icon", { "aria-label": "Tax de minimis", content: MoneyIcon }), index.h("zonos-text", null, taxDeMinimisMessage)), additionalInformation && (index.h("div", { class: "zonos--flex-message" }, index.h("zonos-icon", { "aria-label": "Low value order shipping restriction", content: BagIcon }), index.h("zonos-text", null, additionalInformation))))), filteredMessages.map(x => (index.h("zonos-custom-message", { icon: MessageIcon, message: x.message })))))), index.h("zonos-hello-dialog-footer", { appearanceSettings: this.appearanceSettings, setShowCountrySelect: value => this.setShowCountrySelect(value), setShowLanguageSelect: value => this.setShowLanguageSelect(value) }))), this.showCountrySelect && (index.h("div", null, index.h("zonos-country-select", { handleOnClose: () => this.setShowCountrySelect(false) }))), this.showLanguageSelect && (index.h("div", null, index.h("zonos-language-select", { handleOnClose: () => this.setShowLanguageSelect(false) }))))));
199
+ }), index.h("zonos-card", { key: 'fd2c574714b2e0dafacb4f9390c81b7b6003c7d3', spacing: "12px" }, index.h("zonos-v-stack", { key: '41a9864f58ddc28f1767113f517a7a9cf3a0be6d', spacing: 12 }, index.h("div", { key: 'ced705bcf185987815a898a173d08c571017a052', class: "zonos--flex-message" }, index.h("zonos-icon", { key: '4724edca926eec5e050c711dcb96c6b914985695', "aria-label": "Duty de minimis", content: ImportIcon }), index.h("zonos-text", { key: '6c6d3b36897fd141ca83fbf008dae9f24ac56e40' }, dutyDeMinimisMessage)), index.h("div", { key: 'abe17715558f2ee3ded882eb2c5c1466904bfc8e', class: "zonos--flex-message" }, index.h("zonos-icon", { key: 'e8371f1e89a5b21947bfdcf73e6294bd6de49946', "aria-label": "Tax de minimis", content: MoneyIcon }), index.h("zonos-text", { key: '952485295cfec2d7ad1b61523bb05378bae08e34' }, taxDeMinimisMessage)), additionalInformation && (index.h("div", { key: 'abc0e4c7ddecbe85dd8f4b8adab15073b1b6a2db', class: "zonos--flex-message" }, index.h("zonos-icon", { key: '973ea223a40648ca8cac99bd0c839dd324894f1c', "aria-label": "Low value order shipping restriction", content: BagIcon }), index.h("zonos-text", { key: 'c6460eefa388097ed27e29d3a91055afbf8a5261' }, additionalInformation))))), filteredMessages.map(x => (index.h("zonos-custom-message", { icon: MessageIcon, message: x.message })))))), index.h("zonos-hello-dialog-footer", { key: 'daabdaf6f1f59e6e2ef3ad7516af60eb50a34633', appearanceSettings: this.appearanceSettings, setShowCountrySelect: value => this.setShowCountrySelect(value), setShowLanguageSelect: value => this.setShowLanguageSelect(value) }))), this.showCountrySelect && (index.h("div", { key: '88608070d3a34b3742eeac74cb836b98ddb171eb' }, index.h("zonos-country-select", { key: '91acd80a1549277528927512e9d299282a0e3d26', handleOnClose: () => this.setShowCountrySelect(false) }))), this.showLanguageSelect && (index.h("div", { key: '5b70e70778b8e863d1f256406f884179a01d9de2' }, index.h("zonos-language-select", { key: 'ba74dfc5baa25694dec9273c08644db8cd312dc1', handleOnClose: () => this.setShowLanguageSelect(false) }))))));
200
200
  }
201
201
  static get assetsDirs() { return ["assets"]; }
202
202
  static get watchers() { return {
@@ -2,13 +2,13 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-564fe383.js');
6
- const zonosStore = require('./zonosStore-bd2a0c59.js');
7
- const cart = require('./cart-b32bfb92.js');
5
+ const index = require('./index-3b4816ef.js');
6
+ const zonosStore = require('./zonosStore-aee974e0.js');
7
+ const cart = require('./cart-5d196917.js');
8
8
  const classes = require('./classes-b7918f56.js');
9
9
  const getHasMoreSpaceOnRight = require('./getHasMoreSpaceOnRight-4c94667f.js');
10
- require('./isDarkColor-7faf0a82.js');
11
- require('./getBorderRadius-4fa738c3.js');
10
+ require('./isDarkColor-f5473002.js');
11
+ require('./getBorderRadius-c8cc2bb3.js');
12
12
 
13
13
  var root = zonosStore._root;
14
14
 
@@ -2,8 +2,8 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-564fe383.js');
6
- const zonosStore = require('./zonosStore-bd2a0c59.js');
5
+ const index = require('./index-3b4816ef.js');
6
+ const zonosStore = require('./zonosStore-aee974e0.js');
7
7
  const isColorVariable = require('./isColorVariable-fff5e469.js');
8
8
 
9
9
  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)}";
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-564fe383.js');
5
+ const index = require('./index-3b4816ef.js');
6
6
 
7
7
  const zonosLinkCss = ":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 a{padding-bottom:2px;color:var(--amino-primary);-webkit-box-shadow:none;box-shadow:none;text-decoration:none;word-break:break-word;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;overflow-wrap:break-word}:host a:link,:host a:visited{color:var(--amino-primary);-webkit-transition:all 150ms ease-in-out;transition:all 150ms ease-in-out}:host a:hover,:host a:active{color:var(--amino-primary);-webkit-box-shadow:0 1px 0 var(--amino-primary);box-shadow:0 1px 0 var(--amino-primary)}";
8
8
  const ZonosLinkStyle0 = zonosLinkCss;
@@ -16,7 +16,7 @@ const ZonosLink = class {
16
16
  this.linkTitle = undefined;
17
17
  }
18
18
  render() {
19
- return (index.h(index.Host, { key: 'b4def20f1c697c437e98c35e7355e84bfea88be2', class: "zonos--elements" }, index.h("a", { key: '8bb78fc9f3a38256cc3e7cda104c7eec1c93d185', href: this.href, rel: this.rel, target: this.target, title: this.linkTitle }, index.h("slot", { key: '897301f324059f6917a71f9ed444ddae32535485' }))));
19
+ return (index.h(index.Host, { key: '7af1c9dfc60d61837c25ed586b34d03737e190b7', class: "zonos--elements" }, index.h("a", { key: '6be4c2839936832d9d512e9afe4b8fe4e69889bf', href: this.href, rel: this.rel, target: this.target, title: this.linkTitle }, index.h("slot", { key: '897ec8e65f325161cf80d71b6efbcf05c4a444ae' }))));
20
20
  }
21
21
  };
22
22
  ZonosLink.style = ZonosLinkStyle0;
@@ -2,8 +2,8 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-564fe383.js');
6
- const zonosStore = require('./zonosStore-bd2a0c59.js');
5
+ const index = require('./index-3b4816ef.js');
6
+ const zonosStore = require('./zonosStore-aee974e0.js');
7
7
  const classes = require('./classes-b7918f56.js');
8
8
 
9
9
  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)}";
@@ -19,11 +19,11 @@ const ZonosLogo = class {
19
19
  const filterColor = this.theme === 'DARK'
20
20
  ? 'invert(100%) sepia(100%) saturate(0%) hue-rotate(288deg) brightness(102%) contrast(102%)'
21
21
  : 'whiteinvert(0%) sepia(100%) saturate(32%) hue-rotate(92deg) brightness(107%) contrast(107%)';
22
- return (index.h(index.Host, { key: '483016f5ffe43ea7742e895b5335212da6ec1d18', class: classes.classes(['zonos--elements zonos--logo']), style: {
22
+ return (index.h(index.Host, { key: 'eb9e895db6d309b91f24aaba07b6bef785d64982', class: classes.classes(['zonos--elements zonos--logo']), style: {
23
23
  '--filter-color': filterColor,
24
24
  '--font-family': zonosStore.zonosStoreFontFamily(),
25
25
  '--width': this.width,
26
- } }, index.h("img", { key: 'aed23717de194da43d48ee7b068f3e7568c0bbb3', alt: "Zonos Logo", src: index.getAssetPath('./assets/ZonosLogo.png') })));
26
+ } }, index.h("img", { key: '411e92bcfdab9d8b7362b3fbeeffb836d8d20756', alt: "Zonos Logo", src: index.getAssetPath('./assets/ZonosLogo.png') })));
27
27
  }
28
28
  static get assetsDirs() { return ["assets"]; }
29
29
  };
@@ -2,8 +2,8 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-564fe383.js');
6
- const zonosStore = require('./zonosStore-bd2a0c59.js');
5
+ const index = require('./index-3b4816ef.js');
6
+ const zonosStore = require('./zonosStore-aee974e0.js');
7
7
  const classes = require('./classes-b7918f56.js');
8
8
 
9
9
  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)}";
@@ -2,11 +2,11 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-564fe383.js');
6
- const cart = require('./cart-b32bfb92.js');
7
- require('./zonosStore-bd2a0c59.js');
8
- require('./isDarkColor-7faf0a82.js');
9
- require('./getBorderRadius-4fa738c3.js');
5
+ const index = require('./index-3b4816ef.js');
6
+ const cart = require('./cart-5d196917.js');
7
+ require('./zonosStore-aee974e0.js');
8
+ require('./isDarkColor-f5473002.js');
9
+ require('./getBorderRadius-c8cc2bb3.js');
10
10
 
11
11
  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)}";
12
12
  const ZonosPaymentStyle0 = zonosPaymentCss;
@@ -44,7 +44,7 @@ const ZonosPayment = class {
44
44
  }
45
45
  render() {
46
46
  // this component loads iframe from the stripe elements and puts here, so we don't need to do anything here
47
- return (index.h(index.Host, { key: 'db50fedad509b3bc972cfe02d5973a3c93a6eb23', class: "zonos--payment zonos--elements" }, this.titleText && (index.h("zonos-text", { class: "zonos--title", type: "semiBoldLabel" }, this.titleText)), index.h("div", { key: 'a773ce78377a70c57577eb1efdac9d2563d1a60d', class: "zonos--payment-component" })));
47
+ return (index.h(index.Host, { key: '4886087d915369f60296b6ba86fe9400ae6db8dd', class: "zonos--payment zonos--elements" }, this.titleText && (index.h("zonos-text", { key: 'ac83371e795b8ae833087143c719cf6dfc066ab3', class: "zonos--title", type: "semiBoldLabel" }, this.titleText)), index.h("div", { key: '2895560e50d856a071bef08c800b3112899e22e8', class: "zonos--payment-component" })));
48
48
  }
49
49
  get el() { return index.getElement(this); }
50
50
  static get watchers() { return {
@@ -2,8 +2,8 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-564fe383.js');
6
- const zonosStore = require('./zonosStore-bd2a0c59.js');
5
+ const index = require('./index-3b4816ef.js');
6
+ const zonosStore = require('./zonosStore-aee974e0.js');
7
7
  const classes = require('./classes-b7918f56.js');
8
8
 
9
9
  const RemoveIcon = `<svg xmlns="https://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path fill="#C5C6CA" fill-rule="evenodd" d="M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Z" clip-rule="evenodd"/><path fill="#4D505A" fill-rule="evenodd" d="M8.293 8.293a1 1 0 0 1 1.414 0L12 10.586l2.293-2.293a1 1 0 1 1 1.414 1.414L13.414 12l2.293 2.293a1 1 0 0 1-1.414 1.414L12 13.414l-2.293 2.293a1 1 0 0 1-1.414-1.414L10.586 12 8.293 9.707a1 1 0 0 1 0-1.414Z" clip-rule="evenodd"/></svg>`;
@@ -18,9 +18,9 @@ const ZonosSelectDialogHeader = class {
18
18
  this.label = '';
19
19
  }
20
20
  render() {
21
- return (index.h(index.Host, { key: 'e7867deee86e4a155c21db2618eafd6f3c6cea3b', class: "zonos--elements", style: {
21
+ return (index.h(index.Host, { key: 'cd3cc096f08cdb3dd2170d9e8d578f603155b0d0', class: "zonos--elements", style: {
22
22
  '--font-family': zonosStore.zonosStoreFontFamily(),
23
- } }, index.h("zonos-v-stack", { key: 'f7aedb0f819b61da26afd53add628bcddcca5d8a', class: "zonos--select-dialog-header-wrapper", spacing: 8 }, index.h("div", { key: '7ec77c24a440a5d42965f657502506c769d3098c', class: "zonos--select-dialog-header" }, index.h("zonos-text", { key: 'bab0ffc53edd20840438e82c0067c1eae8f13ec7', type: "boldLabel" }, this.label), index.h("zonos-button", { key: 'a85fc2b745b25c07bcccfe60eb1f1e722c7999c2', class: "zonos--close-button", icon: index.h("zonos-icon", { "aria-label": "Close select dialog", content: RemoveIcon, size: 20 }), noBackground: true, onClick: () => this.handleOnClose() })), index.h("slot", { key: 'fe932e62edd5f679061c76a62650885d4337363c' }))));
23
+ } }, index.h("zonos-v-stack", { key: '40ddbfe738428ca388cb4b3a8244d86e5e26d876', class: "zonos--select-dialog-header-wrapper", spacing: 8 }, index.h("div", { key: '4706e9acb42c11b213044084e25be8a5c13119f1', class: "zonos--select-dialog-header" }, index.h("zonos-text", { key: 'b5c5289219bb4ff380aa5e3c0738ae9029d00cdf', type: "boldLabel" }, this.label), index.h("zonos-button", { key: '6d8c62ee077ab7883081a693825a00fd06cded69', class: "zonos--close-button", icon: index.h("zonos-icon", { "aria-label": "Close select dialog", content: RemoveIcon, size: 20 }), noBackground: true, onClick: () => this.handleOnClose() })), index.h("slot", { key: '42241292083a7041d600ac4af3034e61c5d4a6b1' }))));
24
24
  }
25
25
  };
26
26
  ZonosSelectDialogHeader.style = ZonosSelectDialogHeaderStyle0;
@@ -34,9 +34,9 @@ const VStack = class {
34
34
  this.spacing = 24;
35
35
  }
36
36
  render() {
37
- return (index.h(index.Host, { key: '3d9977f4c55f7f1047ec94dcc3a3c40105559c00', style: {
37
+ return (index.h(index.Host, { key: '415d652d553042161ef364e2a8ccd226fcfe3d84', style: {
38
38
  '--font-family': zonosStore.zonosStoreFontFamily(),
39
- } }, index.h("div", { key: 'aa910d4f9a11d3d1a66836aed442726241b73273', class: classes.classes(['vstack']), style: { 'grid-row-gap': `${this.spacing}px` } }, index.h("slot", { key: 'ec50cc05f71018b4b6fef1288f1371ddde030a3a' }))));
39
+ } }, index.h("div", { key: '1d8df528db72b8c1102742203eb53ce81efb1aae', class: classes.classes(['vstack']), style: { 'grid-row-gap': `${this.spacing}px` } }, index.h("slot", { key: '66d247c7e8c8da9e311014695ce3a50b38709c33' }))));
40
40
  }
41
41
  };
42
42
  VStack.style = ZonosVStackStyle0;
@@ -2,10 +2,10 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-564fe383.js');
6
- const zonosStore = require('./zonosStore-bd2a0c59.js');
5
+ const index = require('./index-3b4816ef.js');
6
+ const zonosStore = require('./zonosStore-aee974e0.js');
7
7
  const classes = require('./classes-b7918f56.js');
8
- const getBorderRadius = require('./getBorderRadius-4fa738c3.js');
8
+ const getBorderRadius = require('./getBorderRadius-c8cc2bb3.js');
9
9
  const isColorVariable = require('./isColorVariable-fff5e469.js');
10
10
 
11
11
  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}";
@@ -2,8 +2,8 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-564fe383.js');
6
- const zonosStore = require('./zonosStore-bd2a0c59.js');
5
+ const index = require('./index-3b4816ef.js');
6
+ const zonosStore = require('./zonosStore-aee974e0.js');
7
7
  const classes = require('./classes-b7918f56.js');
8
8
  const isColorVariable = require('./isColorVariable-fff5e469.js');
9
9
 
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- const index = require('./index-564fe383.js');
3
+ const index = require('./index-3b4816ef.js');
4
4
 
5
5
  const appendToMap = (map, propName, value) => {
6
6
  const items = map.get(propName);
@@ -42,8 +42,8 @@
42
42
  ],
43
43
  "compiler": {
44
44
  "name": "@stencil/core",
45
- "version": "4.12.6",
46
- "typescriptVersion": "5.3.3"
45
+ "version": "4.16.0",
46
+ "typescriptVersion": "5.4.5"
47
47
  },
48
48
  "collections": [],
49
49
  "bundles": []
@@ -155,7 +155,7 @@ export class ZonosCheckoutFinish {
155
155
  // }, 0);
156
156
  return (h(Host, { key: '8c2087b3a0578cbbd7979fff5e6b696a4325e548', class: "zonos--checkout-finish zonos--elements", style: {
157
157
  '--border-radius': getBorderRadius(this.borderRadius),
158
- } }, this.isLoading && (h("div", { class: "loading-wrapper" }, h("zonos-spinner", null))), !this.isLoading && (h(Fragment, null, h("div", { 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", { class: "zonos--title", type: "semiBoldSubheader" }, this.notificationTitle), h("zonos-text", null, this.notificationMessages.map(message => (h(Fragment, null, message, h("br", null))))), h("zonos-button", { onClick: () => this.closeClickHandler(), size: "md", variant: "primary" }, translate('Keep shopping')))))));
158
+ } }, this.isLoading && (h("div", { key: 'dd86d26aee1eb604b8e9b2e7328706db43c80467', class: "loading-wrapper" }, h("zonos-spinner", { key: 'a2f07a512a1d45df0be48461b0e989681b6cb78d' }))), !this.isLoading && (h(Fragment, null, h("div", { key: 'f147c24eefb4aa36ed556c581c2f64a096dbe17b', 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: '33a02654ede8a7ef7d884b0138c6e2c96406372f', class: "zonos--title", type: "semiBoldSubheader" }, this.notificationTitle), h("zonos-text", { key: 'c179ac24421803973ae8509a338cc34a4c80ac54' }, this.notificationMessages.map(message => (h(Fragment, null, message, h("br", null))))), h("zonos-button", { key: '488594968d4e957856218b0f804ed9b9947102aa', onClick: () => this.closeClickHandler(), size: "md", variant: "primary" }, translate('Keep shopping')))))));
159
159
  }
160
160
  static get is() { return "zonos-checkout-finish"; }
161
161
  static get encapsulation() { return "shadow"; }
@@ -33,10 +33,10 @@ export class ZonosCheckoutFooter {
33
33
  const languageLabel = (_a = languages.find(x => x.code === localizationStore.selectedLocale)) === null || _a === void 0 ? void 0 : _a.label;
34
34
  // reverse color when on desktop. With the coversheet backdrop, the color should be white
35
35
  const colorDesktop = this.dataTheme === 'LIGHT' && !this.mobile ? 'gray-0' : 'gray-1200';
36
- return (h(Host, { key: '2ce26e27b7c90b4d37f26197821ed1a39ddb9fae', class: classes(['zonos--elements', this.isMobile && 'mobile']) }, h("div", { key: '5f52ec7b5ad1659ceb9d2edb4661e5995b72afaf', class: "zonos--checkout-footer" }, h("div", { key: '5d127f033702bff94cc2db76b4695a03055ec783', class: "zonos--checkout-locale-wrapper" }, h("zonos-button", { key: '701b5014848ea716f7dcc22221b453146af92962', buttonColor: colorDesktop, class: "zonos--checkout-footer-language-button", icon: h("zonos-icon", { "aria-label": "Language select", content: Globe, iconColor: colorDesktop }), onClick: () => this.toggleLanguageDialog(), variant: "subtle" }, languageLabel), h("div", { key: 'e2a319113905bd76473aef822780521f2be58405', class: classes([
36
+ return (h(Host, { key: 'fae1e5cb1250e834ecf3b09f11785ddea61be3b2', class: classes(['zonos--elements', this.isMobile && 'mobile']) }, h("div", { key: 'f3d48fcc675458dd38ca48e21f24a003b5ff9b56', class: "zonos--checkout-footer" }, h("div", { key: '97daec871630cf2bb33956b668abee2e715eceb5', class: "zonos--checkout-locale-wrapper" }, h("zonos-button", { key: 'cd6e12e8d1320e3e6542eef16f15ab27921748c3', buttonColor: colorDesktop, class: "zonos--checkout-footer-language-button", icon: h("zonos-icon", { "aria-label": "Language select", content: Globe, iconColor: colorDesktop }), onClick: () => this.toggleLanguageDialog(), variant: "subtle" }, languageLabel), h("div", { key: 'bdc6d9311d2d039e87c261ead45474b7bf1fe992', class: classes([
37
37
  'zonos--checkout-footer-dialog',
38
38
  this.showLanguageDialog && 'zonos--checkout-footer-dialog-open',
39
- ]) }, h("zonos-language-select", { key: '4fb9860a4547541f3947d349ab6056e899335952', handleOnClose: () => this.toggleLanguageDialog() }))), h("div", { key: '0a348521a7ccecc23a7a69019940c2421bb8420c', class: "zonos--checkout-footer-icon-wrapper" }, h("zonos-text", { key: '9adf4c24fcf1b5d0827556e9e68006860b0bb9c4', textColor: colorDesktop, type: "caption" }, "Powered by"), h("a", { key: 'a3f957e10d14d68d3973169470a21fdabb2f7a06', href: "https://zonos.com", target: "_blank", title: "Zonos website" }, h("zonos-icon", { key: '49592d8302447d007dc840de18fa78af7898f382', autoHeight: true, content: ZonosIcon, iconColor: colorDesktop, size: 108 }))))));
39
+ ]) }, h("zonos-language-select", { key: '7318bb4137e160e9ed05a423fb80f1806c4f0104', handleOnClose: () => this.toggleLanguageDialog() }))), h("div", { key: '55c76c6cf6777407532c00cf167d59e3cefc5eab', class: "zonos--checkout-footer-icon-wrapper" }, h("zonos-text", { key: '41a7fae5a1a08d22b91341ccfcc0df9daeeb8f82', textColor: colorDesktop, type: "caption" }, "Powered by"), h("a", { key: '394e19392718d2a40a351692fa358f8f86366b46', href: "https://zonos.com", target: "_blank", title: "Zonos website" }, h("zonos-icon", { key: '4d8cadbb7c26e8f7888caad2b158d521ab504590', autoHeight: true, content: ZonosIcon, iconColor: colorDesktop, size: 108 }))))));
40
40
  }
41
41
  static get is() { return "zonos-checkout-footer"; }
42
42
  static get encapsulation() { return "shadow"; }
@@ -85,7 +85,7 @@ export class ZonosShipping {
85
85
  }
86
86
  render() {
87
87
  var _a, _b;
88
- return (h(Host, { key: 'ab881bdb575ac0177154ffa8a2d84d668151c46d', class: "zonos--shipping zonos--elements" }, h("div", { key: 'b8738e0fb5c32b329ae03ccd2cb2d1a178a05aa8', class: "zonos--group" }, h("zonos-text", { key: 'd942ab3f4e77631145a0a38dae95999454a92b56', class: "zonos--title", type: "semiBoldSubheader" }, translate('Shipping information')), h("zonos-text", { key: '6855f44cf3458891776b3c215417bec329de89dc', class: "zonos--shipping-method-title", type: "semiBoldLabel" }, translate('Shipping method')), !((_a = this.serviceLevels) === null || _a === void 0 ? void 0 : _a.length) ? (h("zonos-banner", { bannerTitle: translate('No shipping methods found - please review and update your address details by selecting the "Customer" tab above. If you continue to encounter issues, contact our support team for assistance.'), intent: "error" })) : (h("zonos-shipping-rich-radio", { initialSelectedValue: (_b = this.selectedShippingMethod) === null || _b === void 0 ? void 0 : _b.value, items: this.serviceLevels, onRadioSelected: e => this.handleRadioSelected(e) })), h("div", { key: 'f6398edeecd18c603680ad6c7c8e1aa5f5cebe4a', class: "zonos--group-btn" }, h("zonos-button", { key: 'a548fb385ed341308ff86e615d9088e7cd4ec34d', backgroundColor: this.submitBtnColor, isDisabled: this.disabled, loading: this.continueLoading || this.isSelecting, onClick: () => this.continueClickHandler(), size: "lg",
88
+ return (h(Host, { key: '0ded6474793fbb142e8e9a3bc10f1b5ae88858a7', class: "zonos--shipping zonos--elements" }, h("div", { key: '334d49db61fe69bf43f2bf68828c724cb7c9851e', class: "zonos--group" }, h("zonos-text", { key: '57ac7f10aff623a7e9c009bee86a4e88c979417f', class: "zonos--title", type: "semiBoldSubheader" }, translate('Shipping information')), h("zonos-text", { key: 'bb7679250828b859f90940617dc03c20addb6252', class: "zonos--shipping-method-title", type: "semiBoldLabel" }, translate('Shipping method')), !((_a = this.serviceLevels) === null || _a === void 0 ? void 0 : _a.length) ? (h("zonos-banner", { bannerTitle: translate('No shipping methods found - please review and update your address details by selecting the "Customer" tab above. If you continue to encounter issues, contact our support team for assistance.'), intent: "error" })) : (h("zonos-shipping-rich-radio", { initialSelectedValue: (_b = this.selectedShippingMethod) === null || _b === void 0 ? void 0 : _b.value, items: this.serviceLevels, onRadioSelected: e => this.handleRadioSelected(e) })), h("div", { key: 'ace80fcc503601d577fb7751777b00331c027f16', class: "zonos--group-btn" }, h("zonos-button", { key: 'd48000ef65953b5f99d95c4b404bb7a47351dbce', backgroundColor: this.submitBtnColor, isDisabled: this.disabled, loading: this.continueLoading || this.isSelecting, onClick: () => this.continueClickHandler(), size: "lg",
89
89
  // use primary type when on mobile mode
90
90
  variant: this.submitBtnType }, translate('Go to payment'))))));
91
91
  }
@@ -7,7 +7,7 @@ export class ZonosLink {
7
7
  this.linkTitle = undefined;
8
8
  }
9
9
  render() {
10
- return (h(Host, { key: 'b4def20f1c697c437e98c35e7355e84bfea88be2', class: "zonos--elements" }, h("a", { key: '8bb78fc9f3a38256cc3e7cda104c7eec1c93d185', href: this.href, rel: this.rel, target: this.target, title: this.linkTitle }, h("slot", { key: '897301f324059f6917a71f9ed444ddae32535485' }))));
10
+ return (h(Host, { key: '7af1c9dfc60d61837c25ed586b34d03737e190b7', class: "zonos--elements" }, h("a", { key: '6be4c2839936832d9d512e9afe4b8fe4e69889bf', href: this.href, rel: this.rel, target: this.target, title: this.linkTitle }, h("slot", { key: '897ec8e65f325161cf80d71b6efbcf05c4a444ae' }))));
11
11
  }
12
12
  static get is() { return "zonos-link"; }
13
13
  static get encapsulation() { return "shadow"; }
@@ -11,16 +11,16 @@ export class ZonosBadge {
11
11
  this.rounded = false;
12
12
  }
13
13
  render() {
14
- return (h(Host, { key: '9e6c4ec2341f5ca076a3c54bcce347db9e83bb38', class: classes(['zonos--elements zonos--badge']), style: {
14
+ return (h(Host, { key: '9113b76d0368284d8062ba73cb1433ae64648c56', class: classes(['zonos--elements zonos--badge']), style: {
15
15
  '--font-family': zonosStoreFontFamily(),
16
- } }, h("div", { key: 'ad4d88e7ac5b8e8a617bb904faeaad73d426c271', class: classes([
16
+ } }, h("div", { key: '0edaabad09319fa6cc2d5b02c304e5ed77d35eac', 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: 'd0709a3ffbcc65703933273f614bbb71792b8f61' }, h("slot", { key: '997537e7fd4102a35a1e16789fa7b5444ee85a5a' })))));
23
+ ]) }, this.icon, h("zonos-text", { key: '2d37289c26e12cb074ff7003032a1d417bbf1fdf' }, h("slot", { key: '2caa00a312b624d747dbe145b8673ced9118e49e' })))));
24
24
  }
25
25
  static get is() { return "zonos-badge"; }
26
26
  static get encapsulation() { return "shadow"; }
@@ -66,12 +66,12 @@ export class ZonosButton {
66
66
  const spinnerColor = backgroundActualColor && isDarkColor(backgroundActualColor)
67
67
  ? 'white'
68
68
  : 'black';
69
- return (h(Host, { key: '284820ccca8e757e0223e3cc5fb13b7ed89a1eba', class: classes(['zonos--elements']), "data-theme": this.theme || buttonTheme, disabled: disabled, style: styles({
69
+ return (h(Host, { key: '104b26d8b3fac6bafce6f5f852775af682d1b3f3', class: classes(['zonos--elements']), "data-theme": this.theme || buttonTheme, disabled: disabled, style: styles({
70
70
  '--background-color': overrideBackground,
71
71
  '--border-radius': borderStyle,
72
72
  '--color': color,
73
73
  '--font-family': zonosStoreFontFamily(),
74
- }) }, h("button", { key: '635799fed660c88d0a2a3f3b6f5490149bb5edc3', class: classes([
74
+ }) }, h("button", { key: '2ad1b59dd11e4460928b42f33e5d421e90f259d2', class: classes([
75
75
  this.hasIcon && 'has-icon',
76
76
  this.hasContent && 'has-content',
77
77
  this.noBackground && 'no-background',
@@ -84,7 +84,7 @@ export class ZonosButton {
84
84
  overrideBackground &&
85
85
  variant === 'standard' &&
86
86
  'override-background',
87
- ]), disabled: disabled }, this.loading && (h("div", { class: "zonos--spinner-wrapper" }, h("zonos-spinner", { size: 16, spinnerColor: spinnerColor }))), !this.loading && !this.iconRight && this.icon, h("slot", { key: '35af5f49e65bb8cf93d538fa741302b41887da67', onSlotchange: this.handleSlotChange }), !this.loading && this.iconRight && this.icon)));
87
+ ]), disabled: disabled }, this.loading && (h("div", { key: '2849e63aa713c682e61a4a0c95e9bd5e0f5f8892', class: "zonos--spinner-wrapper" }, h("zonos-spinner", { key: '7040089b82edd821ae997f39fbbab50c0e523924', size: 16, spinnerColor: spinnerColor }))), !this.loading && !this.iconRight && this.icon, h("slot", { key: 'b20b86b70bbb180f45880ffaf1fd13751fc4682f', onSlotchange: this.handleSlotChange }), !this.loading && this.iconRight && this.icon)));
88
88
  }
89
89
  static get is() { return "zonos-button"; }
90
90
  static get encapsulation() { return "shadow"; }
@@ -12,12 +12,12 @@ export class ZonosCard {
12
12
  this.spacing = '24px';
13
13
  }
14
14
  render() {
15
- return (h(Host, { key: 'c2f25ffa32920500b63702df35b9e30dcf28b47d', style: {
15
+ return (h(Host, { key: '0d8b5af14b922c5bb4664a657da1f5f40dbb80c9', style: {
16
16
  '--font-family': zonosStoreFontFamily(),
17
- } }, h("div", { key: '30515451d4694d3fffffab4c23ac2b0ff0e37710', class: classes(['styled-card']), style: { padding: this.spacing } }, this.label && (h("header", { class: "card-header", style: { padding: this.spacing } }, h("zonos-text", { type: "subheader" }, this.label), h("h-stack", { spacing: 8 }, this.actions))), h("slot", { key: 'a1ced320f20a585c7201fc5c7b0729ce8e91a176' }), (this.footerActions || this.footerContent) && (h("footer", { class: "card-footer", style: {
17
+ } }, h("div", { key: '4636de2659dac17eddf05aa9ce0e3b1b3091de65', class: classes(['styled-card']), style: { padding: this.spacing } }, this.label && (h("header", { key: '591276139b808995cb26b54921bdbb1d55995fbb', class: "card-header", style: { padding: this.spacing } }, h("zonos-text", { key: '017ca4195a3d2b9efdc337966203165a1f0f074d', type: "subheader" }, this.label), h("h-stack", { key: 'dc3a2c4ad7cb2a053819727fc5bff90d70438a25', spacing: 8 }, this.actions))), h("slot", { key: '0f19e23f2744b2ccbfc5ca7d1aefebf7326ab649' }), (this.footerActions || this.footerContent) && (h("footer", { key: 'fd0adb2b5146f0542c12b2628f011417911c54ec', class: "card-footer", style: {
18
18
  height: this.footerHeight ? `${this.footerHeight}px` : 'auto',
19
19
  padding: this.spacing,
20
- } }, h("div", null, this.footerContent), h("h-stack", { spacing: 8 }, this.footerActions))))));
20
+ } }, h("div", { key: '82bc7d63eec3c3d716128740e86879a11befa0aa' }, this.footerContent), h("h-stack", { key: '66261eaffa40882c5bd2255649325a16a5f65f7e', spacing: 8 }, this.footerActions))))));
21
21
  }
22
22
  static get is() { return "zonos-card"; }
23
23
  static get encapsulation() { return "shadow"; }
@@ -27,14 +27,14 @@ export class ZonosCheckbox {
27
27
  ? 'var(--amino-gray-800)'
28
28
  : 'var(--amino-gray-0)';
29
29
  const borderStyle = getBorderRadius(this.borderStyle, '4px');
30
- return (h(Host, { key: '2ae2a0d33d34aafe96cc91e1cd7c7ee530dede4b', class: classes(['zonos--elements zonos--checkbox']), style: {
30
+ return (h(Host, { key: '47b3b90b44f846e49de755f2c131e79da3f34c0f', class: classes(['zonos--elements zonos--checkbox']), style: {
31
31
  '--background-color': backgroundColor,
32
32
  '--border-radius': borderStyle,
33
33
  '--font-family': zonosStoreFontFamily(),
34
34
  '--size': `${this.size}px`,
35
- } }, h("label", { key: 'b9630027581a9f20374c2dfe88faa94cb50203c9', class: classes([this.isDisabled && 'disabled']) }, h("input", { key: 'd1b2411d9f906692f18514a15df1bb290f662164', checked: this.isChecked, disabled: this.isDisabled, hidden: true, onChange: e => {
35
+ } }, h("label", { key: '6c1aac697aee17eb684d8416ae65092e3095fada', class: classes([this.isDisabled && 'disabled']) }, h("input", { key: 'f75b6bff9ea136596af3489721096d862ea622c3', checked: this.isChecked, disabled: this.isDisabled, hidden: true, onChange: e => {
36
36
  this.checkboxSelected.emit(e.target.checked);
37
- }, type: "checkbox" }), h("span", { key: '8fc3cda232615f446aff5db71cd992de5327b8e7', class: "checkmark-container" }, h("svg", { key: '5b91a7a26abfd80850eb3c2bb2e045ef73abfd7a', class: "checkmark", color: checkmarkColor, fill: "none", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: '2046a40a75da63ac288c5def90d82ab0d0e0523c', "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", { size: this.fontSize }, this.label)))));
37
+ }, type: "checkbox" }), h("span", { key: '2a2dcd8e798fdd54daf43dedcb42dac3088a6dfc', class: "checkmark-container" }, h("svg", { key: 'e74713df9adc970d0a5b8d6374eb63e69c64ff1a', class: "checkmark", color: checkmarkColor, fill: "none", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: '3ae1a1a8f74a607ad5d4e4f940b45ac0b242426e', "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: '25ff0a74e7ec6409e41d3f2998648f0c28a28ae0', size: this.fontSize }, this.label)))));
38
38
  }
39
39
  static get is() { return "zonos-checkbox"; }
40
40
  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: 'e79dc4967096d3b6f0ac25d58f02e77f773c8e95', class: "zonos--elements", style: {
66
+ return (h(Host, { key: '508d496a46dc5c97d68326e079a344f677f9cfc2', class: "zonos--elements", style: {
67
67
  '--color': contrastLabelColor,
68
68
  '--progress-percent': this.getTotalSuccessStep(),
69
- } }, h("div", { key: '20e500d31c28ee0705c1999e0f258b679af9d73a', class: "zonos--tab-wrapper" }, Object.values(cartStore.tabItems).map((tab, index) => {
69
+ } }, h("div", { key: '35892f4230914211d8aecde8bbc99fffebe44f47', 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: '129502b873f339192ef5f4c67ac8c06d533ccfca', class: "zonos--tab-progress" }, h("div", { key: '728a074d6a411b400be30929bf9a5fdc8431745d', class: "zonos--progress-bar-fill" }))));
76
+ })), h("div", { key: '475526f811089f65ecfa1d81348f22e77662e565', class: "zonos--tab-progress" }, h("div", { key: 'b45d8170d733043c66e7d6e8f52874f3ccfa0274', 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: '032f5818dd8394b5111927907c8fa135a55fef5c', class: 'zonos--elements zonos--collapse', style: {
45
+ return (h(Host, { key: 'db574e5124dcd54045af65a6f429af3fddc501fd', class: 'zonos--elements zonos--collapse', style: {
46
46
  '--font-family': zonosStoreFontFamily(),
47
47
  height: this.getElementHeight(),
48
- } }, h("div", { key: '5ddbf406c93f37c9e23375f11dd8439934c0d2a5' }, h("iframe", { key: 'b3efa8bc198918dbb3284e8ce658ffca6249eaa8', class: "height-change-listener", tabindex: "-1", title: "collapse-height-change-listener" }), h("slot", { key: 'ffcd123c3a046e62855a650da9972cde94a7774c' }))));
48
+ } }, h("div", { key: '9f773ededa3fb0b47b2dba74ef701fd8dc3af396' }, h("iframe", { key: '50a8449beb6272a854c34b859be04cdeea10f804', class: "height-change-listener", tabindex: "-1", title: "collapse-height-change-listener" }), h("slot", { key: '5c0bd94dfe7bbb6a8dc20b1bac69e81ae7f99f76' }))));
49
49
  }
50
50
  static get is() { return "zonos-collapse"; }
51
51
  static get encapsulation() { return "shadow"; }
@@ -35,9 +35,9 @@ export class ZonosCountrySelect {
35
35
  const filteredCountries = this.inputValue
36
36
  ? fuseObject.map(country => country.item)
37
37
  : countries.sort((a, b) => a.displayName.localeCompare(b.displayName));
38
- return (h(Host, { key: '0024a7061a593cf3c92fd7f6b5916aaac3a835c9', class: "zonos--elements", style: {
38
+ return (h(Host, { key: 'ae921c5a4aa83cdde8f42d8993603e824344f11a', class: "zonos--elements", style: {
39
39
  '--font-family': zonosStoreFontFamily(),
40
- } }, h("div", { key: 'e6ef5d8cc13e731c94ee5ef037c02eac36d9bce6', class: "zonos--country-select" }, h("zonos-v-stack", { key: 'f698da7688757b6728e99e0cecb21ac4ce586d30', class: "zonos--country-select-header", spacing: 8 }, h("zonos-select-dialog-header", { key: 'd37801e6023262a582d3ecc6e3a39f505f7e82b8', handleOnClose: () => this.handleOnClose(), label: "Select a country" }, h("input", { key: '6f053c963f5e25b5285a94070336650537bbdad3', class: "zonos--country-select-input", onInput: this.handleInputChange, placeholder: "Search countries", value: this.inputValue }))), h("div", { key: '3d3e180b204bf9fa0893fec7839f1d0d5c4740c1', class: "zonos--country-select-content" }, filteredCountries.map(country => (h("button", { class: "zonos--country-select-country", onClick: () => this.countrySelected(country.code) }, h("zonos-country-flag", { class: "zonos--country-flag", countryCode: country.code }), h("zonos-text", { textColor: "gray-800" }, country.displayName), country.code === localizationStore.selectedCountryCode && (h("zonos-icon", { content: GreenCheckDuotoneIcon, size: 20 })))))))));
40
+ } }, h("div", { key: 'b3bd4c0a0a4aeee8f4de78aadd8cd26b69e060a3', class: "zonos--country-select" }, h("zonos-v-stack", { key: 'aae54d33cc8a3b6befcbb259f92320da230df5be', class: "zonos--country-select-header", spacing: 8 }, h("zonos-select-dialog-header", { key: '8627db51744e70f94ce01a024ac38343d7f2ee00', handleOnClose: () => this.handleOnClose(), label: "Select a country" }, h("input", { key: 'affa5003e513bae802cdf029f3996cc2dd31f7d4', class: "zonos--country-select-input", onInput: this.handleInputChange, placeholder: "Search countries", value: this.inputValue }))), h("div", { key: '8b892a23cb69d44d886b69a7a038e3a98c97eb1b', class: "zonos--country-select-content" }, filteredCountries.map(country => (h("button", { class: "zonos--country-select-country", onClick: () => this.countrySelected(country.code) }, h("zonos-country-flag", { class: "zonos--country-flag", countryCode: country.code }), h("zonos-text", { textColor: "gray-800" }, country.displayName), country.code === localizationStore.selectedCountryCode && (h("zonos-icon", { content: GreenCheckDuotoneIcon, size: 20 })))))))));
41
41
  }
42
42
  static get is() { return "zonos-country-select"; }
43
43
  static get encapsulation() { return "shadow"; }