@zonos/elements 1.3.18-alpha.1 → 1.3.18-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.
Files changed (266) hide show
  1. package/dist/cjs/{cart-95209ae8.js → cart-941a31dd.js} +255 -5
  2. package/dist/cjs/{getBorderRadius-44b3eca1.js → getBorderRadius-bcb309a8.js} +1 -1
  3. package/dist/cjs/{index-654a6001.js → index-b071017b.js} +4 -1
  4. package/dist/cjs/{isDarkColor-01f45d3f.js → isDarkColor-b0393089.js} +1 -1
  5. package/dist/cjs/loader.cjs.js +2 -2
  6. package/dist/cjs/{submitGtag-9d60f3bb.js → submitGtag-9210b4fe.js} +2 -2
  7. package/dist/cjs/zonos-address_8.cjs.entry.js +22 -11
  8. package/dist/cjs/zonos-badge_2.cjs.entry.js +4 -4
  9. package/dist/cjs/zonos-banner.cjs.entry.js +2 -2
  10. package/dist/cjs/zonos-button_3.cjs.entry.js +22 -11
  11. package/dist/cjs/zonos-card_2.cjs.entry.js +7 -7
  12. package/dist/cjs/{zonos-cart-items_10.cjs.entry.js → zonos-cart-items_11.cjs.entry.js} +112 -6
  13. package/dist/cjs/zonos-checkout.cjs.entry.js +34 -8
  14. package/dist/cjs/zonos-component.cjs.entry.js +2 -2
  15. package/dist/cjs/zonos-controller.cjs.entry.js +6 -6
  16. package/dist/cjs/zonos-country-flag.cjs.entry.js +5 -5
  17. package/dist/cjs/zonos-country-select_3.cjs.entry.js +11 -11
  18. package/dist/cjs/zonos-elements.cjs.js +2 -2
  19. package/dist/cjs/zonos-hello-dialog.cjs.entry.js +8 -8
  20. package/dist/cjs/zonos-hello.cjs.entry.js +5 -5
  21. package/dist/cjs/zonos-input.cjs.entry.js +7 -7
  22. package/dist/cjs/zonos-link.cjs.entry.js +1 -1
  23. package/dist/cjs/zonos-logo.cjs.entry.js +4 -4
  24. package/dist/cjs/zonos-notification.cjs.entry.js +2 -2
  25. package/dist/cjs/zonos-payment.cjs.entry.js +6 -6
  26. package/dist/cjs/zonos-select-dialog-header_2.cjs.entry.js +6 -6
  27. package/dist/cjs/zonos-shipping-rich-radio.cjs.entry.js +3 -3
  28. package/dist/cjs/zonos-text.cjs.entry.js +2 -2
  29. package/dist/cjs/{zonosStore-d8bb0bda.js → zonosStore-7c6205ca.js} +2 -1
  30. package/dist/collection/collection-manifest.json +1 -0
  31. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.js +42 -5
  32. package/dist/collection/components/common/zonos-button/zonos-button.css +12 -0
  33. package/dist/collection/components/common/zonos-button/zonos-button.js +43 -8
  34. package/dist/collection/components/common/zonos-confirm-dialog/assets/ExclamationMarkDuotoneIcon.svg +4 -0
  35. package/dist/collection/components/common/zonos-confirm-dialog/assets/HelpDuotoneIcon.svg +4 -0
  36. package/dist/collection/components/common/zonos-confirm-dialog/assets/WarningDuotoneIcon.svg +4 -0
  37. package/dist/collection/components/common/zonos-confirm-dialog/zonos-confirm-dialog.css +125 -0
  38. package/dist/collection/components/common/zonos-confirm-dialog/zonos-confirm-dialog.js +322 -0
  39. package/dist/collection/components/common/zonos-country-select/zonos-country-select.js +2 -2
  40. package/dist/collection/components/common/zonos-custom-message/zonos-custom-message.js +2 -2
  41. package/dist/collection/components/common/zonos-dialog/zonos-dialog.css +1 -4
  42. package/dist/collection/components/common/zonos-dialog/zonos-dialog.js +38 -4
  43. package/dist/collection/components/common/zonos-input/zonos-input.js +4 -4
  44. package/dist/collection/components/common/zonos-language-select/zonos-language-select.js +2 -2
  45. package/dist/collection/components/common/zonos-logo/zonos-logo.js +2 -2
  46. package/dist/collection/components/common/zonos-select-dialog-header/zonos-select-dialog-header.js +2 -2
  47. package/dist/collection/components/common/zonos-tooltip/zonos-tooltip.js +2 -2
  48. package/dist/collection/components/common/zonos-v-stack/zonos-v-stack.js +2 -2
  49. package/dist/collection/components/component-template/zonos-component/zonos-component.js +1 -1
  50. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog-footer/zonos-hello-dialog-footer.js +2 -2
  51. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog.js +3 -3
  52. package/dist/collection/components/main/zonos-controller.js +3 -3
  53. package/dist/collection/components/store/hello/localization.js +12 -2
  54. package/dist/collection/components/store/translationStore/strings.arabic.js +12 -0
  55. package/dist/collection/components/store/translationStore/strings.base.js +12 -0
  56. package/dist/collection/components/store/translationStore/strings.chinese.js +12 -0
  57. package/dist/collection/components/store/translationStore/strings.danish.js +12 -0
  58. package/dist/collection/components/store/translationStore/strings.dutch.js +12 -0
  59. package/dist/collection/components/store/translationStore/strings.french.js +12 -0
  60. package/dist/collection/components/store/translationStore/strings.german.js +12 -0
  61. package/dist/collection/components/store/translationStore/strings.hebrew.js +12 -0
  62. package/dist/collection/components/store/translationStore/strings.indonesian.js +12 -0
  63. package/dist/collection/components/store/translationStore/strings.italian.js +12 -0
  64. package/dist/collection/components/store/translationStore/strings.japanese.js +12 -0
  65. package/dist/collection/components/store/translationStore/strings.korean.js +12 -0
  66. package/dist/collection/components/store/translationStore/strings.norwegian.js +12 -0
  67. package/dist/collection/components/store/translationStore/strings.polish.js +12 -0
  68. package/dist/collection/components/store/translationStore/strings.portuguese.js +12 -0
  69. package/dist/collection/components/store/translationStore/strings.russian.js +12 -0
  70. package/dist/collection/components/store/translationStore/strings.spanish.js +12 -0
  71. package/dist/collection/components/store/translationStore/strings.swedish.js +12 -0
  72. package/dist/collection/components/store/translationStore/strings.turkish.js +12 -0
  73. package/dist/collection/components/store/translationStore/strings.vietnamese.js +12 -0
  74. package/dist/collection/components/store/zonosStore.js +1 -0
  75. package/dist/collection/components/stripe/zonos-address/zonos-address.js +1 -1
  76. package/dist/collection/components/stripe/zonos-link-authentication/zonos-link-authentication.js +1 -1
  77. package/dist/collection/components/stripe/zonos-payment/zonos-payment.js +1 -1
  78. package/dist/collection/scripts/zonosBase.js +2 -1
  79. package/dist/components/stripe.js +12 -2
  80. package/dist/components/translationStore.js +240 -0
  81. package/dist/components/zonos-address2.js +1 -1
  82. package/dist/components/zonos-button2.js +20 -8
  83. package/dist/components/zonos-checkout.js +70 -37
  84. package/dist/components/zonos-component.js +1 -1
  85. package/dist/components/zonos-confirm-dialog.d.ts +11 -0
  86. package/dist/components/zonos-confirm-dialog.js +6 -0
  87. package/dist/components/zonos-confirm-dialog2.js +161 -0
  88. package/dist/components/zonos-controller.js +1 -1
  89. package/dist/components/zonos-country-select2.js +2 -2
  90. package/dist/components/zonos-custom-message2.js +2 -2
  91. package/dist/components/zonos-dialog2.js +17 -5
  92. package/dist/components/zonos-hello-dialog-footer2.js +2 -2
  93. package/dist/components/zonos-hello-dialog2.js +3 -3
  94. package/dist/components/zonos-input2.js +4 -4
  95. package/dist/components/zonos-language-select2.js +2 -2
  96. package/dist/components/zonos-link-authentication2.js +1 -1
  97. package/dist/components/zonos-logo.js +2 -2
  98. package/dist/components/zonos-payment2.js +1 -1
  99. package/dist/components/zonos-select-dialog-header2.js +2 -2
  100. package/dist/components/zonos-tooltip2.js +2 -2
  101. package/dist/components/zonos-v-stack2.js +2 -2
  102. package/dist/components/zonosStore.js +1 -0
  103. package/dist/esm/{cart-6448e883.js → cart-cc593c2b.js} +255 -5
  104. package/dist/esm/{getBorderRadius-567f1786.js → getBorderRadius-d244b4b1.js} +1 -1
  105. package/dist/esm/{index-e063389c.js → index-3b46f3c3.js} +4 -1
  106. package/dist/esm/{isDarkColor-7f62035a.js → isDarkColor-39a36e82.js} +1 -1
  107. package/dist/esm/loader.js +3 -3
  108. package/dist/esm/{submitGtag-b7d369cd.js → submitGtag-e50f903f.js} +2 -2
  109. package/dist/esm/zonos-address_8.entry.js +22 -11
  110. package/dist/esm/zonos-badge_2.entry.js +4 -4
  111. package/dist/esm/zonos-banner.entry.js +2 -2
  112. package/dist/esm/zonos-button_3.entry.js +22 -11
  113. package/dist/esm/zonos-card_2.entry.js +7 -7
  114. package/dist/esm/{zonos-cart-items_10.entry.js → zonos-cart-items_11.entry.js} +112 -7
  115. package/dist/esm/zonos-checkout.entry.js +34 -8
  116. package/dist/esm/zonos-component.entry.js +2 -2
  117. package/dist/esm/zonos-controller.entry.js +6 -6
  118. package/dist/esm/zonos-country-flag.entry.js +5 -5
  119. package/dist/esm/zonos-country-select_3.entry.js +11 -11
  120. package/dist/esm/zonos-elements.js +3 -3
  121. package/dist/esm/zonos-hello-dialog.entry.js +8 -8
  122. package/dist/esm/zonos-hello.entry.js +5 -5
  123. package/dist/esm/zonos-input.entry.js +7 -7
  124. package/dist/esm/zonos-link.entry.js +1 -1
  125. package/dist/esm/zonos-logo.entry.js +4 -4
  126. package/dist/esm/zonos-notification.entry.js +2 -2
  127. package/dist/esm/zonos-payment.entry.js +6 -6
  128. package/dist/esm/zonos-select-dialog-header_2.entry.js +6 -6
  129. package/dist/esm/zonos-shipping-rich-radio.entry.js +3 -3
  130. package/dist/esm/zonos-text.entry.js +2 -2
  131. package/dist/esm/{zonosStore-33ff08ff.js → zonosStore-32e33a45.js} +2 -1
  132. package/dist/esm-es5/cart-cc593c2b.js +1 -0
  133. package/dist/esm-es5/{getBorderRadius-567f1786.js → getBorderRadius-d244b4b1.js} +1 -1
  134. package/dist/esm-es5/{index-e063389c.js → index-3b46f3c3.js} +1 -1
  135. package/dist/esm-es5/{isDarkColor-7f62035a.js → isDarkColor-39a36e82.js} +1 -1
  136. package/dist/esm-es5/loader.js +1 -1
  137. package/dist/esm-es5/{submitGtag-b7d369cd.js → submitGtag-e50f903f.js} +1 -1
  138. package/dist/esm-es5/zonos-address_8.entry.js +1 -1
  139. package/dist/esm-es5/zonos-badge_2.entry.js +1 -1
  140. package/dist/esm-es5/zonos-banner.entry.js +1 -1
  141. package/dist/esm-es5/zonos-button_3.entry.js +1 -1
  142. package/dist/esm-es5/zonos-card_2.entry.js +1 -1
  143. package/dist/esm-es5/zonos-cart-items_11.entry.js +1 -0
  144. package/dist/esm-es5/zonos-checkout.entry.js +1 -1
  145. package/dist/esm-es5/zonos-component.entry.js +1 -1
  146. package/dist/esm-es5/zonos-controller.entry.js +1 -1
  147. package/dist/esm-es5/zonos-country-flag.entry.js +1 -1
  148. package/dist/esm-es5/zonos-country-select_3.entry.js +1 -1
  149. package/dist/esm-es5/zonos-elements.js +1 -1
  150. package/dist/esm-es5/zonos-hello-dialog.entry.js +1 -1
  151. package/dist/esm-es5/zonos-hello.entry.js +1 -1
  152. package/dist/esm-es5/zonos-input.entry.js +1 -1
  153. package/dist/esm-es5/zonos-link.entry.js +1 -1
  154. package/dist/esm-es5/zonos-logo.entry.js +1 -1
  155. package/dist/esm-es5/zonos-notification.entry.js +1 -1
  156. package/dist/esm-es5/zonos-payment.entry.js +1 -1
  157. package/dist/esm-es5/zonos-select-dialog-header_2.entry.js +1 -1
  158. package/dist/esm-es5/zonos-shipping-rich-radio.entry.js +1 -1
  159. package/dist/esm-es5/zonos-text.entry.js +1 -1
  160. package/dist/esm-es5/{zonosStore-33ff08ff.js → zonosStore-32e33a45.js} +1 -1
  161. package/dist/scripts/loadZonos.js +1 -1
  162. package/dist/scripts/zonos.js +1 -1
  163. package/dist/scripts/zonosBase.js +1 -1
  164. package/dist/types/components/checkout/zonos-checkout/zonos-checkout.d.ts +11 -1
  165. package/dist/types/components/common/zonos-button/zonos-button.d.ts +7 -1
  166. package/dist/types/components/common/zonos-confirm-dialog/zonos-confirm-dialog.d.ts +60 -0
  167. package/dist/types/components/common/zonos-dialog/zonos-dialog.d.ts +6 -1
  168. package/dist/types/components/store/translationStore/strings.arabic.d.ts +12 -0
  169. package/dist/types/components/store/translationStore/strings.base.d.ts +12 -0
  170. package/dist/types/components/store/translationStore/strings.chinese.d.ts +12 -0
  171. package/dist/types/components/store/translationStore/strings.danish.d.ts +12 -0
  172. package/dist/types/components/store/translationStore/strings.dutch.d.ts +12 -0
  173. package/dist/types/components/store/translationStore/strings.french.d.ts +12 -0
  174. package/dist/types/components/store/translationStore/strings.german.d.ts +12 -0
  175. package/dist/types/components/store/translationStore/strings.hebrew.d.ts +12 -0
  176. package/dist/types/components/store/translationStore/strings.indonesian.d.ts +12 -0
  177. package/dist/types/components/store/translationStore/strings.italian.d.ts +12 -0
  178. package/dist/types/components/store/translationStore/strings.japanese.d.ts +12 -0
  179. package/dist/types/components/store/translationStore/strings.korean.d.ts +12 -0
  180. package/dist/types/components/store/translationStore/strings.norwegian.d.ts +12 -0
  181. package/dist/types/components/store/translationStore/strings.polish.d.ts +12 -0
  182. package/dist/types/components/store/translationStore/strings.portuguese.d.ts +12 -0
  183. package/dist/types/components/store/translationStore/strings.russian.d.ts +12 -0
  184. package/dist/types/components/store/translationStore/strings.spanish.d.ts +12 -0
  185. package/dist/types/components/store/translationStore/strings.swedish.d.ts +12 -0
  186. package/dist/types/components/store/translationStore/strings.turkish.d.ts +12 -0
  187. package/dist/types/components/store/translationStore/strings.vietnamese.d.ts +12 -0
  188. package/dist/types/components/store/translationStore.d.ts +1 -1
  189. package/dist/types/components/store/zonosStore.d.ts +4 -0
  190. package/dist/types/components.d.ts +142 -5
  191. package/dist/types/scripts/zonosBase.d.ts +15 -1
  192. package/dist/types/types/checkout/CheckoutConfig.d.ts +7 -0
  193. package/dist/zonos-elements/assets/ExclamationMarkDuotoneIcon.svg +4 -0
  194. package/dist/zonos-elements/assets/HelpDuotoneIcon.svg +4 -0
  195. package/dist/zonos-elements/assets/WarningDuotoneIcon.svg +4 -0
  196. package/dist/zonos-elements/{p-d7acc81c.entry.js → p-020a9b86.entry.js} +1 -1
  197. package/dist/zonos-elements/{p-6ea746b9.entry.js → p-04030a48.entry.js} +1 -1
  198. package/dist/zonos-elements/{p-fe246229.system.entry.js → p-0d0f9694.system.entry.js} +1 -1
  199. package/dist/zonos-elements/{p-dbee6587.entry.js → p-0e892292.entry.js} +1 -1
  200. package/dist/zonos-elements/{p-7f48fafe.entry.js → p-0fac99e7.entry.js} +1 -1
  201. package/dist/zonos-elements/p-1795c760.system.entry.js +1 -0
  202. package/dist/zonos-elements/{p-771fbeb3.system.js → p-1b9442f6.system.js} +1 -1
  203. package/dist/zonos-elements/{p-c1f4bb4a.entry.js → p-24ac1c6f.entry.js} +1 -1
  204. package/dist/zonos-elements/p-26a60a6e.entry.js +1 -0
  205. package/dist/zonos-elements/{p-835c8928.entry.js → p-281b8bdf.entry.js} +1 -1
  206. package/dist/zonos-elements/{p-a889c1bc.entry.js → p-2af19b63.entry.js} +1 -1
  207. package/dist/zonos-elements/{p-582d8b27.entry.js → p-2ced091f.entry.js} +1 -1
  208. package/dist/zonos-elements/{p-909a331c.js → p-2f759d82.js} +1 -1
  209. package/dist/zonos-elements/p-32744531.entry.js +1 -0
  210. package/dist/zonos-elements/{p-58f8cee7.system.entry.js → p-35ac375a.system.entry.js} +1 -1
  211. package/dist/zonos-elements/{p-e0706108.system.entry.js → p-3bc88c3c.system.entry.js} +1 -1
  212. package/dist/zonos-elements/{p-36a461a6.system.entry.js → p-3e26d7b3.system.entry.js} +1 -1
  213. package/dist/zonos-elements/{p-9ec93319.entry.js → p-498a0e18.entry.js} +1 -1
  214. package/dist/zonos-elements/{p-61100d2e.system.entry.js → p-4caaaaeb.system.entry.js} +1 -1
  215. package/dist/zonos-elements/{p-79f3c4f5.system.js → p-58e730b6.system.js} +1 -1
  216. package/dist/zonos-elements/{p-e7b4b756.entry.js → p-597b75f3.entry.js} +1 -1
  217. package/dist/zonos-elements/{p-3be2e469.entry.js → p-5e783394.entry.js} +1 -1
  218. package/dist/zonos-elements/{p-87badea9.system.js → p-62ecfbcc.system.js} +1 -1
  219. package/dist/zonos-elements/{p-beca252d.entry.js → p-6366e7e3.entry.js} +1 -1
  220. package/dist/zonos-elements/p-693b9985.js +1 -0
  221. package/dist/zonos-elements/{p-bf32179a.system.entry.js → p-6eda6199.system.entry.js} +1 -1
  222. package/dist/zonos-elements/{p-0759a84d.system.entry.js → p-7c8ee4b9.system.entry.js} +1 -1
  223. package/dist/zonos-elements/{p-305f27c7.entry.js → p-80442f16.entry.js} +1 -1
  224. package/dist/zonos-elements/{p-345503b7.entry.js → p-80ea85b8.entry.js} +1 -1
  225. package/dist/zonos-elements/{p-679877b1.system.entry.js → p-8171d013.system.entry.js} +1 -1
  226. package/dist/zonos-elements/{p-83cc2936.js → p-8c0b4a61.js} +1 -1
  227. package/dist/zonos-elements/{p-4dca5484.system.entry.js → p-8cd6633a.system.entry.js} +1 -1
  228. package/dist/zonos-elements/p-8da16d53.system.js +1 -0
  229. package/dist/zonos-elements/p-96b8c9ba.system.entry.js +1 -0
  230. package/dist/zonos-elements/{p-70c35519.system.entry.js → p-98a0b694.system.entry.js} +1 -1
  231. package/dist/zonos-elements/{p-fd49d864.entry.js → p-9aab3ad7.entry.js} +1 -1
  232. package/dist/zonos-elements/{p-ad088d46.system.entry.js → p-9e8d38f7.system.entry.js} +1 -1
  233. package/dist/zonos-elements/{p-83fecb2a.entry.js → p-9e9c318b.entry.js} +1 -1
  234. package/dist/zonos-elements/{p-e108e5ed.system.entry.js → p-a47382ae.system.entry.js} +1 -1
  235. package/dist/zonos-elements/{p-0ee61fba.system.entry.js → p-b98cdf39.system.entry.js} +1 -1
  236. package/dist/zonos-elements/{p-3638e2ed.entry.js → p-bd9b2165.entry.js} +1 -1
  237. package/dist/zonos-elements/{p-ff403840.entry.js → p-c20e5430.entry.js} +1 -1
  238. package/dist/zonos-elements/{p-13ddaf31.js → p-ce347974.js} +1 -1
  239. package/dist/zonos-elements/{p-f71489e5.system.entry.js → p-d0bc8902.system.entry.js} +1 -1
  240. package/dist/zonos-elements/{p-17e265c3.system.entry.js → p-d7a939df.system.entry.js} +1 -1
  241. package/dist/zonos-elements/p-d7b8c1c1.system.entry.js +1 -0
  242. package/dist/zonos-elements/{p-163ff5b5.system.js → p-d99232c5.system.js} +1 -1
  243. package/dist/zonos-elements/p-dd0fd351.entry.js +1 -0
  244. package/dist/zonos-elements/p-e015cb0e.js +1 -0
  245. package/dist/zonos-elements/p-e0bf9666.system.js +1 -0
  246. package/dist/zonos-elements/{p-b98bdbcc.system.entry.js → p-e13bfbda.system.entry.js} +1 -1
  247. package/dist/zonos-elements/{p-2fc561ac.system.entry.js → p-e1fbd05d.system.entry.js} +1 -1
  248. package/dist/zonos-elements/{p-7cc730b0.js → p-e553dd19.js} +1 -1
  249. package/dist/zonos-elements/p-e6fa0ebc.system.js +1 -0
  250. package/dist/zonos-elements/{p-c64eefdd.system.entry.js → p-f6546bf4.system.entry.js} +1 -1
  251. package/dist/zonos-elements/zonos-elements.esm.js +1 -1
  252. package/dist/zonos-elements/zonos-elements.js +1 -1
  253. package/package.json +2 -2
  254. package/dist/esm-es5/cart-6448e883.js +0 -1
  255. package/dist/esm-es5/zonos-cart-items_10.entry.js +0 -1
  256. package/dist/zonos-elements/p-154aaf95.system.js +0 -1
  257. package/dist/zonos-elements/p-47c75f81.system.entry.js +0 -1
  258. package/dist/zonos-elements/p-54004793.system.entry.js +0 -1
  259. package/dist/zonos-elements/p-7b19cd96.entry.js +0 -1
  260. package/dist/zonos-elements/p-9c575a18.system.entry.js +0 -1
  261. package/dist/zonos-elements/p-aaf1e517.system.js +0 -1
  262. package/dist/zonos-elements/p-aff5f4ca.js +0 -1
  263. package/dist/zonos-elements/p-ca621143.entry.js +0 -1
  264. package/dist/zonos-elements/p-e3335228.entry.js +0 -1
  265. package/dist/zonos-elements/p-ef9cbb66.system.js +0 -1
  266. package/dist/zonos-elements/p-f1962041.js +0 -1
@@ -8,7 +8,7 @@ import { d as defineCustomElement$1 } from './zonos-spinner2.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>`;
10
10
 
11
- const zonosDialogCss = ":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--backdrop,:host .zonos--dialog-layout{opacity:0;z-index:-999;visibility:hidden;-webkit-transition:0.3s all ease;transition:0.3s all ease}:host .zonos--backdrop{width:100vw;height:100vh;left:0;top:0;background:var(--zonos-elements-backdrop-color);z-index:-999;opacity:0;visibility:hidden;position:fixed}:host .zonos--loading{position:absolute;left:0;right:0;bottom:0;top:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;z-index:10002;background:var(--zonos-elements-gray-0);border-radius:var(--border-radius, var(--zonos-elements-radius-10))}:host .zonos--dialog-layout{width:100vw;height:100vh;left:0;top:0;position:fixed;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;color:var(--zonos-elements-text-color);visibility:hidden}:host .zonos--dialog{position:relative;z-index:10001;background:var(--zonos-elements-gray-0);max-width:90vw;max-height:90vh;min-height:500px;height:var(--height, auto);width:var(--width, auto);border-radius:var(--border-radius, var(--zonos-elements-radius-10));outline:none;-webkit-box-shadow:var(--zonos-elements-v3-shadow-xxl);box-shadow:var(--zonos-elements-v3-shadow-xxl);border:var(--zonos-elements-border);display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}:host .zonos--header{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;padding:16px 24px}:host .zonos--header .-zonos-stencil-library--header-text{-ms-flex-positive:1;flex-grow:1}:host .zonos--header .zonos--close-button{width:var(--zonos-elements-size-md);height:var(--zonos-elements-size-md);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;cursor:pointer;border-radius:var(--zonos-elements-radius-10)}:host .zonos--header .zonos--close-button:hover{background:var(--zonos-elements-hover-color)}:host .zonos--body{padding:8px 24px;max-height:100%;height:100%;overflow:auto}:host .zonos--body.zonos--no-body-padding{padding:0}:host .zonos--footer{padding:16px 24px}:host(.open) .zonos--dialog-layout,:host(.open) .zonos--backdrop{visibility:visible}:host(.open) .zonos--backdrop{z-index:10001;opacity:0.65}:host(.open) .zonos--dialog-layout{opacity:1;z-index:10002;-webkit-transform:scale(1);transform:scale(1)}:host(.no-border) .zonos--dialog{border:none}:host(.mobile) .zonos--dialog{max-width:100vw;max-height:100vh;height:100%;width:100%;border-radius:0;-webkit-box-shadow:none;box-shadow:none;border:none}";
11
+ const zonosDialogCss = ":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--backdrop,:host .zonos--dialog-layout{opacity:0;z-index:-999;visibility:hidden;-webkit-transition:0.3s all ease;transition:0.3s all ease}:host .zonos--backdrop{width:100vw;height:100vh;left:0;top:0;background:var(--zonos-elements-backdrop-color);position:fixed}:host .zonos--loading{position:absolute;left:0;right:0;bottom:0;top:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;z-index:10002;background:var(--zonos-elements-gray-0);border-radius:var(--border-radius, var(--zonos-elements-radius-10))}:host .zonos--dialog-layout{width:100vw;height:100vh;left:0;top:0;position:fixed;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;color:var(--zonos-elements-text-color);visibility:hidden}:host .zonos--dialog{position:relative;z-index:10001;background:var(--zonos-elements-gray-0);max-width:90vw;max-height:90vh;min-height:var(--min-height, auto);height:var(--height, auto);width:var(--width, auto);border-radius:var(--border-radius, var(--zonos-elements-radius-10));outline:none;-webkit-box-shadow:var(--zonos-elements-v3-shadow-xxl);box-shadow:var(--zonos-elements-v3-shadow-xxl);border:var(--zonos-elements-border);display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}:host .zonos--header{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;padding:16px 24px}:host .zonos--header .-zonos-stencil-library--header-text{-ms-flex-positive:1;flex-grow:1}:host .zonos--header .zonos--close-button{width:var(--zonos-elements-size-md);height:var(--zonos-elements-size-md);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;cursor:pointer;border-radius:var(--zonos-elements-radius-10)}:host .zonos--header .zonos--close-button:hover{background:var(--zonos-elements-hover-color)}:host .zonos--body{padding:8px 24px;max-height:100%;height:100%;overflow:auto}:host .zonos--body.zonos--no-body-padding{padding:0}:host .zonos--footer{padding:16px 24px}:host(.open) .zonos--dialog-layout,:host(.open) .zonos--backdrop{visibility:visible}:host(.open) .zonos--backdrop{z-index:10001;opacity:0.65}:host(.open) .zonos--dialog-layout{opacity:1;z-index:10002;-webkit-transform:scale(1);transform:scale(1)}:host(.no-border) .zonos--dialog{border:none}:host(.mobile) .zonos--dialog{max-width:100vw;max-height:100vh;height:100%;width:100%;border-radius:0;-webkit-box-shadow:none;box-shadow:none;border:none}";
12
12
  const ZonosDialogStyle0 = zonosDialogCss;
13
13
 
14
14
  const ZonosDialog = /*@__PURE__*/ proxyCustomElement(class ZonosDialog extends HTMLElement {
@@ -21,6 +21,10 @@ const ZonosDialog = /*@__PURE__*/ proxyCustomElement(class ZonosDialog extends H
21
21
  return this.mobile || window.innerWidth <= 768;
22
22
  };
23
23
  this.closeButtonHandler = () => {
24
+ // Only do the action if the dialog is open
25
+ if (!this.open) {
26
+ return;
27
+ }
24
28
  this.closeDialog.emit();
25
29
  };
26
30
  this.clickOutsideDialogHandler = (event) => {
@@ -32,6 +36,7 @@ const ZonosDialog = /*@__PURE__*/ proxyCustomElement(class ZonosDialog extends H
32
36
  this.headerText = '';
33
37
  this.width = '460px';
34
38
  this.height = undefined;
39
+ this.minHeight = undefined;
35
40
  this.noHeader = false;
36
41
  this.noBodyPadding = false;
37
42
  this.noBorder = false;
@@ -45,6 +50,11 @@ const ZonosDialog = /*@__PURE__*/ proxyCustomElement(class ZonosDialog extends H
45
50
  handleWindowResize() {
46
51
  this.isMobile = this.isMobileMode();
47
52
  }
53
+ handleKeyDown(ev) {
54
+ if (ev.key === 'Escape') {
55
+ this.closeButtonHandler();
56
+ }
57
+ }
48
58
  componentDidLoad() {
49
59
  this.isMobile = this.isMobileMode();
50
60
  }
@@ -59,7 +69,7 @@ const ZonosDialog = /*@__PURE__*/ proxyCustomElement(class ZonosDialog extends H
59
69
  const borderStyle = getBorderRadius({
60
70
  overrideBorderStyle: this.borderStyle,
61
71
  });
62
- return (h(Host, { key: '48eb2701a74a7973d3502fd1fdc65ce85a6d71ed', class: classes([
72
+ return (h(Host, { key: 'b27bdee33f67e2209dfbd9621b95633f4af726b2', class: classes([
63
73
  'zonos--elements',
64
74
  this.open && 'open',
65
75
  this.isLoading && 'is-loading',
@@ -69,11 +79,12 @@ const ZonosDialog = /*@__PURE__*/ proxyCustomElement(class ZonosDialog extends H
69
79
  '--border-radius': borderStyle,
70
80
  '--font-family': zonosStoreFontFamily(),
71
81
  '--height': this.height || 'initial',
82
+ '--min-height': this.minHeight || '500px',
72
83
  '--width': this.width,
73
- } }, h("div", { key: 'b408d792740d8854bab8ea60bd50ce894a75a836', class: "zonos--backdrop" }), h("div", { key: '04affcf48e0b209fa8dacc74039dad536ed9cd9b', "aria-hidden": "true", class: "zonos--dialog-layout", onClick: this.clickOutsideDialogHandler }, h("div", { key: 'c615792a60b2fa51a74af265b7c944a64e9ff18d', class: "zonos--dialog" }, this.isLoading && (h("div", { key: '78d3b571f75c6037fdd694b4621fb9eae48d8ce0', class: "zonos--loading" }, h("zonos-spinner", { key: 'bd96037d5fe1717ebeae5b1ba27b96aa9ec9253d', size: 30 }))), (this.headerText || !this.noCloseButton) && (h("div", { key: 'cc057cbed99107d7d234d08d38e67cbf0140dc66', class: "zonos--header" }, this.headerText && (h("h3", { key: '587fff6b04981f1c24b44736b3b40044480f68ba', class: "zonos--header-text" }, this.headerText)), !this.noCloseButton && (h("zonos-button", { key: '9a1944508996cd8ccb87f68ae175564528af3c4c', class: "zonos--close-button", icon: h("zonos-icon", { "aria-label": "Close dialog", content: RemoveIcon }), noBackground: true, onClick: this.closeButtonHandler })))), h("div", { key: 'b563c1939c32489b63516cd4dd14df58a32a08cf', class: classes([
84
+ } }, h("div", { key: 'ca94e3347d10460973663685d9b8c0048418cb86', class: "zonos--backdrop" }), h("div", { key: 'e766937dc1899141ed7beb07e9f13a60066880a1', "aria-hidden": "true", class: "zonos--dialog-layout", onClick: this.clickOutsideDialogHandler }, h("div", { key: '41c43bb5cf011a3a810c6116c4300ad7a713c787', class: "zonos--dialog" }, this.isLoading && (h("div", { key: '5ca28c9f3b1f6f0742484ef5414ba60f16e1faa7', class: "zonos--loading" }, h("zonos-spinner", { key: 'e0131cd9fd3fa7a9c502e7a55b75b8c76be86fc3', size: 30 }))), (this.headerText || !this.noCloseButton) && (h("div", { key: '2ef2237cb4518980eb3a5c97cc1a1ea2c87444be', class: "zonos--header" }, this.headerText && (h("h3", { key: '751e1be4417cc733dffa8a683d3f4c8774ee83f5', class: "zonos--header-text" }, this.headerText)), !this.noCloseButton && (h("zonos-button", { key: '720f9250c88e0097d839276ab0d2319e31fc170b', class: "zonos--close-button", icon: h("zonos-icon", { "aria-label": "Close dialog", content: RemoveIcon }), noBackground: true, onClick: this.closeButtonHandler, variant: "subtle" })))), h("div", { key: 'd64547b7d802a4b14e64454ae329dbb6d88f1cfd', class: classes([
74
85
  'zonos--body',
75
86
  this.noBodyPadding && 'zonos--no-body-padding',
76
- ]) }, h("slot", { key: '39d66d136f630afbac7ced146d3a8ac60d3c9672' })), h("slot", { key: '5bace66c84150024d0203f89fbf8f5c263cb7472', name: "dialog-footer" })))));
87
+ ]) }, h("slot", { key: '96d1683414cc4a947a36c6ae28e5afb781be4dae' })), h("slot", { key: '06b8ff1ad17f74e28fc4980fbc4594dde5e4573f', name: "dialog-footer" })))));
77
88
  }
78
89
  static get assetsDirs() { return ["assets"]; }
79
90
  static get style() { return ZonosDialogStyle0; }
@@ -82,6 +93,7 @@ const ZonosDialog = /*@__PURE__*/ proxyCustomElement(class ZonosDialog extends H
82
93
  "headerText": [1, "header-text"],
83
94
  "width": [1],
84
95
  "height": [1],
96
+ "minHeight": [1, "min-height"],
85
97
  "noHeader": [4, "no-header"],
86
98
  "noBodyPadding": [4, "no-body-padding"],
87
99
  "noBorder": [4, "no-border"],
@@ -91,7 +103,7 @@ const ZonosDialog = /*@__PURE__*/ proxyCustomElement(class ZonosDialog extends H
91
103
  "mobile": [4],
92
104
  "isLoading": [4, "is-loading"],
93
105
  "isMobile": [32]
94
- }, [[9, "resize", "handleWindowResize"]]]);
106
+ }, [[9, "resize", "handleWindowResize"], [4, "keydown", "handleKeyDown"]]]);
95
107
  function defineCustomElement() {
96
108
  if (typeof customElements === "undefined") {
97
109
  return;
@@ -36,9 +36,9 @@ const ZonosHelloDialogFooter = /*@__PURE__*/ proxyCustomElement(class ZonosHello
36
36
  const primaryColor = (_a = this.appearanceSettings) === null || _a === void 0 ? void 0 : _a.colorPrimary;
37
37
  const footerTheme = primaryColor && isDarkColor(primaryColor) ? 'DARK' : 'LIGHT';
38
38
  const language = (_b = languages.find(x => x.code === localizationStore.selectedLocale)) === null || _b === void 0 ? void 0 : _b.translatedLabel;
39
- return (h(Host, { key: '73782964897f8b09fd603de0bdbaa8348a4117c7', class: "zonos--elements" }, h("div", { key: 'bbb22af415fd9ba14900eca3e7c1b07d5bb9e831', class: "zonos--hello-dialog-footer", "data-theme": footerTheme, style: {
39
+ return (h(Host, { key: '714c0ccdaab553158a4990e24e471e0a0be64655', class: "zonos--elements" }, h("div", { key: '4c177b9120aee7ccdc242bb656399e1597b35f28', class: "zonos--hello-dialog-footer", "data-theme": footerTheme, style: {
40
40
  '--primary-color': (_c = this.appearanceSettings) === null || _c === void 0 ? void 0 : _c.colorPrimary,
41
- } }, h("a", { key: 'c4b098b21f8a6905f87457bfcfb5d1e0dee64470', href: "https://zonos.com", target: "_blank", title: "Zonos website" }, h("zonos-icon", { key: '64d86210a96b229ddfa932bb92678ab608eb59b9', "aria-label": "Zonos Logo", autoHeight: true, content: ZonosIcon, iconColor: "gray-1200", size: 108 })), h("div", { key: 'be711084541626184d7c742a8df88c1bf61c30e4', class: "zonos--hello-locale-wrapper" }, h("zonos-button", { key: '2f1370424b58f393a81c2c0b71669d38782cf17e', buttonColor: "gray-1200", icon: h("zonos-icon", { "aria-label": "Open language select", content: Globe, iconColor: "gray-1200" }), onClick: () => this.setShowLanguageSelect(true), variant: "subtle" }, language), h("zonos-button", { key: '724e7897179be3d852a661a7109a264bb32b01b8', buttonColor: "gray-1200", icon: h("zonos-country-flag", { "aria-label": "Open country select", class: "zonos--footer-country-flag", countryCode: localizationStore.selectedCountryCode }), onClick: () => this.setShowCountrySelect(true), variant: "subtle" }, localizationStore.selectedCountryCode)))));
41
+ } }, h("a", { key: 'cb2b3ffb8a637825c76d4b33d71fa38d20a19220', href: "https://zonos.com", target: "_blank", title: "Zonos website" }, h("zonos-icon", { key: 'affb176b938a399d51ccb6ae4fb5906e31ea2ff0', "aria-label": "Zonos Logo", autoHeight: true, content: ZonosIcon, iconColor: "gray-1200", size: 108 })), h("div", { key: '4aa0ce039d196d804b26df7e2b8608252da2a478', class: "zonos--hello-locale-wrapper" }, h("zonos-button", { key: '088259ecd3d2271fb9a4042126886c7f4fe3a9ba', buttonColor: "gray-1200", icon: h("zonos-icon", { "aria-label": "Open language select", content: Globe, iconColor: "gray-1200" }), onClick: () => this.setShowLanguageSelect(true), variant: "subtle" }, language), h("zonos-button", { key: 'e20dcd573266b53341e9f21bab3b34672d4d96a1', buttonColor: "gray-1200", icon: h("zonos-country-flag", { "aria-label": "Open country select", class: "zonos--footer-country-flag", countryCode: localizationStore.selectedCountryCode }), onClick: () => this.setShowCountrySelect(true), variant: "subtle" }, localizationStore.selectedCountryCode)))));
42
42
  }
43
43
  static get style() { return ZonosHelloDialogFooterStyle0; }
44
44
  }, [1, "zonos-hello-dialog-footer", {
@@ -193,17 +193,17 @@ const ZonosHelloDialog = /*@__PURE__*/ proxyCustomElement(class ZonosHelloDialog
193
193
  const defaultMessage = formatStringWithLinks(defaultMessageStr);
194
194
  const currentPage = this.getCurrentPageEnum();
195
195
  const filteredMessages = customMessages.filter(x => x.pageName === currentPage);
196
- return (h(Host, { key: 'e54181bd2c3eb1c77d5dad36c5426f4e9ddee766', class: "zonos--elements" }, h("div", { key: '3960f91898ed2409018cbac487491f38ab0b0c5e', "aria-hidden": "true", class: classes([
196
+ return (h(Host, { key: 'e6432c897bf4f7c60e69f3e4e4c356be11e61842', class: "zonos--elements" }, h("div", { key: 'd18df4158ffb6be5037251a9a665739fee6a0755', "aria-hidden": "true", class: classes([
197
197
  'zonos--hello-dialog',
198
198
  animateLeft && 'zonos--hello-dialog-animate-from-left',
199
199
  animateFromBottom && 'zonos--hello-dialog-animate-from-bottom',
200
200
  !!this.mobileLocationOverride &&
201
201
  'zonos--hello-dialog-mobile-override',
202
202
  this.isOpen && 'zonos--hello-dialog-open',
203
- ]), ref: el => el && (this.dialogRef = el) }, !this.showCountrySelect && !this.showLanguageSelect && (h("div", { key: '69c9b9ebe1cdde7a43773eeabfa07e9bb842df14' }, h("div", { key: 'fcad53ed6962a775ec1cb325636db397f34f62b2', class: "zonos--hello-dialog-content" }, h("zonos-button", { key: '018c3ce79334f35d6f7c04143b2a1f14c068405f', class: "zonos--close-button", icon: h("zonos-icon", { "aria-label": "Close Zonos Hello dialog", content: RemoveIcon }), noBackground: true, onClick: () => this.setIsOpen(false) }), h("zonos-v-stack", { key: '38e19b5e803f0fcd89adf54e95f40549c93ea511', spacing: 24 }, h("zonos-country-flag", { key: '01ea29a0de53d00c9eb49e29fb8680da92656db4', class: "zonos--hello-country-flag", countryCode: selectedCountryCode }), h("zonos-v-stack", { key: '7a1dd895a58fdf4e008164828e6ee7bae96723ab', class: "zonos--hello-dialog-header", spacing: 4 }, h("zonos-text", { key: 'a1c334ba3f4e7a15de6f14d17440faae44a26498', type: "boldSubheader" }, welcomeMessage), h("zonos-text", { key: 'dad722c938d002eaa223ef847c86bafbe1815bdc', innerHTML: defaultMessage, textColor: "gray-800" })), h("zonos-v-stack", { key: '1b1d7d1e3ee671fecba8ec2731ffb0f4356af1e7', spacing: 8 }, this.restrictedItems.map(item => {
203
+ ]), ref: el => el && (this.dialogRef = el) }, !this.showCountrySelect && !this.showLanguageSelect && (h("div", { key: '1266216272683cb9f7086190686551df57ad8741' }, h("div", { key: 'ab2cb53cd0cc4c33002ae19925e8c32ebf94e426', class: "zonos--hello-dialog-content" }, h("zonos-button", { key: '9d973abe25de4a7e18f3bf588b6f0247b8edc96d', class: "zonos--close-button", icon: h("zonos-icon", { "aria-label": "Close Zonos Hello dialog", content: RemoveIcon }), noBackground: true, onClick: () => this.setIsOpen(false) }), h("zonos-v-stack", { key: 'cb8eb025500c0a4eed79e690e67edc418dc6c1e1', spacing: 24 }, h("zonos-country-flag", { key: '3ceddaa0d44d9c0779124a7ea199cf12a763d82c', class: "zonos--hello-country-flag", countryCode: selectedCountryCode }), h("zonos-v-stack", { key: 'd49da8684213be9ceb686428343247d0387e61e5', class: "zonos--hello-dialog-header", spacing: 4 }, h("zonos-text", { key: '1edc2747b7760479916276ddcaf3461cc5678461', type: "boldSubheader" }, welcomeMessage), h("zonos-text", { key: 'fbb00b765b4a29230db98253c72c320e02a5fccf', innerHTML: defaultMessage, textColor: "gray-800" })), h("zonos-v-stack", { key: '0614fbd574c7832e6dee73b3e26c659c2679b714', spacing: 8 }, this.restrictedItems.map(item => {
204
204
  var _a;
205
205
  return item && (h("zonos-banner", { bannerTitle: item.name, intent: "error" }, (_a = item.itemRestrictions) === null || _a === void 0 ? void 0 : _a.map(x => (h("zonos-text", { textColor: "red-800" }, x === null || x === void 0 ? void 0 : x.note)))));
206
- }), h("zonos-card", { key: '0bef1474f44e1a60c48845562f455bfb214bcc80', spacing: "12px" }, h("zonos-v-stack", { key: '5d65f0de1641b30119463da8b42622805fef4f9b', spacing: 12 }, h("div", { key: 'f752d5a9738490220fd4c98615bc7416d38cc2d1', class: "zonos--flex-message" }, h("zonos-icon", { key: '7a9ac42800b0d35a18cc13bd611d79acd20244cf', "aria-label": "Duty de minimis", content: ImportIcon }), h("zonos-text", { key: '3d31748fcd4c718326ff62ea2e97088d8ab1ed3e' }, dutyDeMinimisMessage)), h("div", { key: '699d72e9efc630452bf947be8f0e44ca09819cfe', class: "zonos--flex-message" }, h("zonos-icon", { key: 'e997263930e53e22c3a4e8dd5f20e1ee3cd695e4', "aria-label": "Tax de minimis", content: MoneyIcon }), h("zonos-text", { key: 'e1c2a5ee2718a5446a63c2b8d547848e262817f0' }, taxDeMinimisMessage)), additionalInformation && (h("div", { key: '8522ab846d9733fb8ffd3b9873e8b9650aa63b58', class: "zonos--flex-message" }, h("zonos-icon", { key: '20cb281304b9839fe7f30685949af2aa3af9721d', "aria-label": "Low value order shipping restriction", content: BagIcon }), h("zonos-text", { key: '9347d34c8fbfd9bf04ba2b6d79186263b524c2a8' }, additionalInformation))))), filteredMessages.map(x => (h("zonos-custom-message", { icon: MessageIcon, message: x.message })))))), h("zonos-hello-dialog-footer", { key: 'a6980cae6e361ae1f5b00ec4827127422adee301', appearanceSettings: this.appearanceSettings, setShowCountrySelect: value => this.setShowCountrySelect(value), setShowLanguageSelect: value => this.setShowLanguageSelect(value) }))), this.showCountrySelect && (h("div", { key: 'be7793fb262c395ae96fa6acfe0c14fbf062b1c9' }, h("zonos-country-select", { key: '2224aade7391512826b4b9c46bd826f013945f83', handleOnClose: () => this.setShowCountrySelect(false) }))), this.showLanguageSelect && (h("div", { key: '006ac0317c9a7911c1e48f7c30f66b3e8882f6d6' }, h("zonos-language-select", { key: '1577f733b5556e7683b6c74dc111e99c77ba0649', handleOnClose: () => this.setShowLanguageSelect(false) }))))));
206
+ }), h("zonos-card", { key: '05ec570de14760e8a07d9bfa7a0fca6def3bfe4b', spacing: "12px" }, h("zonos-v-stack", { key: '9b5c301c737c784bd4e7738080fe90dfc0c82bb5', spacing: 12 }, h("div", { key: '5c3691d22fefcab028c4836d2ce774609789e9f3', class: "zonos--flex-message" }, h("zonos-icon", { key: '9a498a80b3c3652f9aec2e409d30acd09b983397', "aria-label": "Duty de minimis", content: ImportIcon }), h("zonos-text", { key: 'c7b0323a0f4704a5ee29b4275cab60e7390f1f9a' }, dutyDeMinimisMessage)), h("div", { key: '5910f4b782a28777fb6fa41ae9399dfae3a8cee8', class: "zonos--flex-message" }, h("zonos-icon", { key: 'ed57f0c4e985332568c0197506ba6b07c2da5b34', "aria-label": "Tax de minimis", content: MoneyIcon }), h("zonos-text", { key: '72727be7a47c98b2b6105532d3370fbc05bfca3e' }, taxDeMinimisMessage)), additionalInformation && (h("div", { key: 'f802df72c31a9031ae737a2d2b461482354d21d8', class: "zonos--flex-message" }, h("zonos-icon", { key: '66ac284793d67089e46671aff79691f025abbc31', "aria-label": "Low value order shipping restriction", content: BagIcon }), h("zonos-text", { key: '9931ab1b57336d4d4326d8f52975566638340e01' }, additionalInformation))))), filteredMessages.map(x => (h("zonos-custom-message", { icon: MessageIcon, message: x.message })))))), h("zonos-hello-dialog-footer", { key: '81576154c1db509ea3a9f8dfbe0dfb811f49b495', appearanceSettings: this.appearanceSettings, setShowCountrySelect: value => this.setShowCountrySelect(value), setShowLanguageSelect: value => this.setShowLanguageSelect(value) }))), this.showCountrySelect && (h("div", { key: 'e9109f275db0fbd9baca229af1004de0497753d8' }, h("zonos-country-select", { key: '8ac0328e65ae7346ebe024e7bd735afdd506d120', handleOnClose: () => this.setShowCountrySelect(false) }))), this.showLanguageSelect && (h("div", { key: '5ea929a6f391b6f00d0da0e462239bff5f0550d2' }, h("zonos-language-select", { key: 'f59d0da0cb849f1bfe77184d10a713ef6b25f225', handleOnClose: () => this.setShowLanguageSelect(false) }))))));
207
207
  }
208
208
  static get assetsDirs() { return ["assets"]; }
209
209
  static get watchers() { return {
@@ -25,17 +25,17 @@ const ZonosInput = /*@__PURE__*/ proxyCustomElement(class ZonosInput extends HTM
25
25
  this.inputChange.emit(newValue);
26
26
  }
27
27
  render() {
28
- return (h(Host, { key: '97f9a886695c81bf72ffa5cc4b7afc26e40a2694', class: classes([
28
+ return (h(Host, { key: 'c032eae81e9183b73ed9f12ca3397786e499d8a7', class: classes([
29
29
  'zonos--input zonos--elements',
30
30
  this.inputSize,
31
31
  this.isError && 'has-error',
32
32
  ]), style: {
33
33
  '--border-radius': getBorderRadius(),
34
34
  '--font-family': zonosStoreFontFamily(),
35
- } }, h("div", { key: 'ffc96e546684499a5272dd0f5b4b087b1f717353', class: classes([
35
+ } }, h("div", { key: '54177758c126bf8d4043cc5e3dd92f0aa6e2c838', class: classes([
36
36
  'zonos--label-wrapper',
37
37
  this.isDisabled && 'disabled',
38
- ]) }, h("input", { key: '162556990fe4c93fc9400f7cf947d8fdbeffd2f1', class: classes([
38
+ ]) }, h("input", { key: '10f853e84c278aa9d9a050548801ea366583836d', class: classes([
39
39
  'zonos--floated-input',
40
40
  !!this.inputLabel && 'has-label',
41
41
  this.inputValue && 'has-content',
@@ -43,7 +43,7 @@ const ZonosInput = /*@__PURE__*/ proxyCustomElement(class ZonosInput extends HTM
43
43
  ]), disabled: this.isDisabled, onInput: e => {
44
44
  const input = e.target;
45
45
  this.inputChange.emit(input.value);
46
- }, placeholder: this.inputPlaceholder, type: "text", value: this.value }), h("label", { key: '9b73d42d50090f1ac761ccf27bd606d474cd8d53', class: "zonos--floated-label", "data-label": this.inputLabel }))));
46
+ }, placeholder: this.inputPlaceholder, type: "text", value: this.value }), h("label", { key: '0f9a9fcb308f4117ec0f08a07d4de8d6f5c4fb03', class: "zonos--floated-label", "data-label": this.inputLabel }))));
47
47
  }
48
48
  get el() { return this; }
49
49
  static get watchers() { return {
@@ -33,9 +33,9 @@ const ZonosLanguageSelect = /*@__PURE__*/ proxyCustomElement(class ZonosLanguage
33
33
  }
34
34
  render() {
35
35
  const { selectedLocale } = localizationStore;
36
- return (h(Host, { key: 'e1943addb44b8e06d5b4534865f403a721175cdd', class: "zonos--elements", style: {
36
+ return (h(Host, { key: 'e719b6e5e5d52ec572525ba02c78989bfe6c6b91', class: "zonos--elements", style: {
37
37
  '--font-family': zonosStoreFontFamily(),
38
- } }, h("div", { key: '888a410d444424f4ffb06dd28e5151bca9269de2', class: "zonos--language-select" }, h("zonos-select-dialog-header", { key: '59aa5ae5e685f65baa1c7b1a19c1000ab8cdac74', handleOnClose: () => this.handleOnClose(), label: translate('Select a language') }), h("div", { key: '854c44fefe28f22fdd37b251d482ca6db46b0895', class: "zonos--language-select-content" }, languages.map(language => (h("button", { class: "zonos--language-select-button", onClick: () => this.languageSelected(language.code) }, h("zonos-text", { textColor: "gray-800" }, language.translatedLabel), language.code === selectedLocale && (h("zonos-icon", { content: GreenCheckDuotoneIcon, size: 16 })))))))));
38
+ } }, h("div", { key: '5a2d7fe751fe92455f7e56bf02360ef9992baffb', class: "zonos--language-select" }, h("zonos-select-dialog-header", { key: 'b37d91ffc91949aac8dda2d2ec94acbdfadfcdf4', handleOnClose: () => this.handleOnClose(), label: translate('Select a language') }), h("div", { key: '881a00e8bd3e4358a5c1784bd957a81917863134', class: "zonos--language-select-content" }, languages.map(language => (h("button", { class: "zonos--language-select-button", onClick: () => this.languageSelected(language.code) }, h("zonos-text", { textColor: "gray-800" }, language.translatedLabel), language.code === selectedLocale && (h("zonos-icon", { content: GreenCheckDuotoneIcon, size: 16 })))))))));
39
39
  }
40
40
  static get style() { return ZonosLanguageSelectStyle0; }
41
41
  }, [1, "zonos-language-select", {
@@ -44,7 +44,7 @@ const ZonosLinkAuthentication = /*@__PURE__*/ proxyCustomElement(class ZonosLink
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 (h(Host, { key: '4a7b9eb534e938f791f70e04756aa9fb1c39f2c7', class: "zonos--link-authentication zonos--elements" }, h("zonos-text", { key: 'cc4fe49ed6d4bd7cec502ef739b9e835e9e26584', class: "zonos--title", type: "semiBoldLabel" }, this.titleText), h("div", { key: 'f04a438d04e6ccd608d7ff61ac300fb09da4f0ce', class: "zonos--link-authentication-component" })));
47
+ return (h(Host, { key: '1a206ef754ae3df55e57f7b8f587bde7d04c20d3', class: "zonos--link-authentication zonos--elements" }, h("zonos-text", { key: '7f938c30d9ee5d404df05db96b814a48786c9c83', class: "zonos--title", type: "semiBoldLabel" }, this.titleText), h("div", { key: 'fddc855fd5eabf43a4d99532516053f0da71ae20', class: "zonos--link-authentication-component" })));
48
48
  }
49
49
  get el() { return this; }
50
50
  static get watchers() { return {
@@ -17,11 +17,11 @@ const ZonosLogo$1 = /*@__PURE__*/ proxyCustomElement(class ZonosLogo extends HTM
17
17
  const filterColor = this.theme === 'DARK'
18
18
  ? 'invert(100%) sepia(100%) saturate(0%) hue-rotate(288deg) brightness(102%) contrast(102%)'
19
19
  : 'whiteinvert(0%) sepia(100%) saturate(32%) hue-rotate(92deg) brightness(107%) contrast(107%)';
20
- return (h(Host, { key: 'c68b772cba1e8562b48a58bace45e0643bd18dcf', class: classes(['zonos--elements zonos--logo']), style: {
20
+ return (h(Host, { key: 'c790c72d413c586a873c5046a1aee797c1f0af36', class: classes(['zonos--elements zonos--logo']), style: {
21
21
  '--filter-color': filterColor,
22
22
  '--font-family': zonosStoreFontFamily(),
23
23
  '--width': this.width,
24
- } }, h("img", { key: 'a3a48b9f4dc2401d543afe0d2334b5bd57aad4d6', alt: "Zonos Logo", src: getAssetPath('./assets/ZonosLogo.png') })));
24
+ } }, h("img", { key: '68efd2097a0d8488308de0b50bef30cc67deb6fa', alt: "Zonos Logo", src: getAssetPath('./assets/ZonosLogo.png') })));
25
25
  }
26
26
  static get assetsDirs() { return ["assets"]; }
27
27
  static get style() { return ZonosLogoStyle0; }
@@ -39,7 +39,7 @@ const ZonosPayment = /*@__PURE__*/ proxyCustomElement(class ZonosPayment extends
39
39
  }
40
40
  render() {
41
41
  // this component loads iframe from the stripe elements and puts here, so we don't need to do anything here
42
- return (h(Host, { key: '7967dfeb2c8661201aed74d3d9f4be1df9eb993d', class: "zonos--payment zonos--elements" }, this.titleText && (h("zonos-text", { key: '2a3b744c1935f471897ab492efa7d3788907b126', class: "zonos--title", type: "semiBoldLabel" }, this.titleText)), h("div", { key: '7d643ec935dc15339c79237572bd067efa8f23ea', class: "zonos--payment-component" })));
42
+ return (h(Host, { key: 'fa213e672515b2aa3e389f0e7f918350a076e493', class: "zonos--payment zonos--elements" }, this.titleText && (h("zonos-text", { key: 'ed1fa911c3765962f7a3a7ce606a334541ca0a9a', class: "zonos--title", type: "semiBoldLabel" }, this.titleText)), h("div", { key: 'afeb5892da35ae3fef9659d05a0bb77924acb7f0', class: "zonos--payment-component" })));
43
43
  }
44
44
  get el() { return this; }
45
45
  static get watchers() { return {
@@ -20,9 +20,9 @@ const ZonosSelectDialogHeader = /*@__PURE__*/ proxyCustomElement(class ZonosSele
20
20
  this.label = '';
21
21
  }
22
22
  render() {
23
- return (h(Host, { key: '7b7a5a39307cfacdfda4dd622d9b7e052013f80e', class: "zonos--elements", style: {
23
+ return (h(Host, { key: '6bbc81e8045153c49da17c4b999bc1992aa9f01d', class: "zonos--elements", style: {
24
24
  '--font-family': zonosStoreFontFamily(),
25
- } }, h("zonos-v-stack", { key: '3b4152d041961241d48acfdfefe421b487fc63c1', class: "zonos--select-dialog-header-wrapper", spacing: 8 }, h("div", { key: '9b72b53159ef2ea9ef3ac2682da24e6b2bc0f71b', class: "zonos--select-dialog-header" }, h("zonos-text", { key: '9aee88932746e76c819d1e40ed45ba3c44a74a0a', type: "boldLabel" }, this.label), h("zonos-button", { key: '5e794ef5039bbff4f8cd52bb942a8f6c655adbe7', class: "zonos--close-button", icon: h("zonos-icon", { "aria-label": "Close select dialog", content: RemoveIcon, size: 20 }), noBackground: true, onClick: () => this.handleOnClose() })), h("slot", { key: 'ee4e5657d5034a4068b52d1f4e3a8971ccbee626' }))));
25
+ } }, h("zonos-v-stack", { key: 'c0184343c6cefd3c996695964800d242d1673ee1', class: "zonos--select-dialog-header-wrapper", spacing: 8 }, h("div", { key: 'ae13d39c8a0917df33aec34a10853892d9470a9c', class: "zonos--select-dialog-header" }, h("zonos-text", { key: '32e9af076b72f63cb1ec0c92b7e77d3196572106', type: "boldLabel" }, this.label), h("zonos-button", { key: 'eb4d2f0cef4a2b0eafe628c19d0fcbac4f3493e6', class: "zonos--close-button", icon: h("zonos-icon", { "aria-label": "Close select dialog", content: RemoveIcon, size: 20 }), noBackground: true, onClick: () => this.handleOnClose() })), h("slot", { key: '98a6f0e4f44e74208b5e446ad8066b74b1f7beaa' }))));
26
26
  }
27
27
  static get style() { return ZonosSelectDialogHeaderStyle0; }
28
28
  }, [1, "zonos-select-dialog-header", {
@@ -15,10 +15,10 @@ const ZonosTooltip = /*@__PURE__*/ proxyCustomElement(class ZonosTooltip extends
15
15
  this.showTooltip = false;
16
16
  }
17
17
  render() {
18
- return (h(Host, { key: '39503dadb0422477303a6715a744478d765e6ecf', class: "zonos--elements" }, h("div", { key: '834be19e46353d018bf827327f418d3e82502cf5', class: "zonos--tooltip", onMouseEnter: () => (this.showTooltip = true), onMouseLeave: () => (this.showTooltip = false) }, h("slot", { key: '7c8f731f548d1bcf750615be450d93004e83a369' }), h("div", { key: 'b7f02a3057f2d2f6eeb65715e64783b48cab71ea', class: classes([
18
+ return (h(Host, { key: 'dd98e35a2295dd72209775ce1e63d6f653913466', class: "zonos--elements" }, h("div", { key: '4bee5ca82e3a493826b723f620baa6d7cf7af63a', class: "zonos--tooltip", onMouseEnter: () => (this.showTooltip = true), onMouseLeave: () => (this.showTooltip = false) }, h("slot", { key: '1320496e6caed5f16d940f0e5119d5f19186f565' }), h("div", { key: '2a9b891c672d03cdbe8babf59312942e101704a7', class: classes([
19
19
  this.showTooltip && 'zonos--show-tooltip',
20
20
  'zonos--tooltip-content',
21
- ]) }, h("zonos-text", { key: 'f65ede18a38c299d389403400a4ae00a0387e2cb', size: "s", textColor: "gray-0", type: "boldLabel" }, this.label), h("zonos-text", { key: 'eb69da57b2e4f0e9be31801101c079618ac30148', size: "xs", textColor: "gray-0" }, this.subtitle)))));
21
+ ]) }, h("zonos-text", { key: '0146fad3f70fa07e9eb644b26d6dd65963a70c3d', size: "s", textColor: "gray-0", type: "boldLabel" }, this.label), h("zonos-text", { key: '36e76d4624927255679107ee47022b7314479441', size: "xs", textColor: "gray-0" }, this.subtitle)))));
22
22
  }
23
23
  static get style() { return ZonosTooltipStyle0; }
24
24
  }, [1, "zonos-tooltip", {
@@ -13,9 +13,9 @@ const VStack = /*@__PURE__*/ proxyCustomElement(class VStack extends HTMLElement
13
13
  this.spacing = 24;
14
14
  }
15
15
  render() {
16
- return (h(Host, { key: 'd6e16e46c900ee9e15cb1664a1f07133b9e82135', style: {
16
+ return (h(Host, { key: '3d0753111d525b29e1f36684c89b7216ee0b323f', style: {
17
17
  '--font-family': zonosStoreFontFamily(),
18
- } }, h("div", { key: 'f634995e617314160ecf5a432958207a43a40201', class: classes(['vstack']), style: { 'grid-row-gap': `${this.spacing}px` } }, h("slot", { key: 'aa7bca0df7412bb0b8913e02ffd3617a511b9c8c' }))));
18
+ } }, h("div", { key: '95b732681743abc1b08b1b8bc722855c3c8e967a', class: classes(['vstack']), style: { 'grid-row-gap': `${this.spacing}px` } }, h("slot", { key: 'b93347c5fb986a70f9f1d67ce2216bba84db7ba4' }))));
19
19
  }
20
20
  static get style() { return ZonosVStackStyle0; }
21
21
  }, [1, "zonos-v-stack", {
@@ -2871,6 +2871,7 @@ const zonosStoreInitSetting = ({ overrideSettings, zonosSettings, }) => {
2871
2871
  zonosStore.organizationName = ((_b = zonosSettings === null || zonosSettings === void 0 ? void 0 : zonosSettings.organization) === null || _b === void 0 ? void 0 : _b.name) || '';
2872
2872
  zonosStore.storeId = ((_d = (_c = zonosSettings === null || zonosSettings === void 0 ? void 0 : zonosSettings.organization) === null || _c === void 0 ? void 0 : _c.references) === null || _d === void 0 ? void 0 : _d.storeId) || null;
2873
2873
  zonosStore.currencyConverter = overrideSettings === null || overrideSettings === void 0 ? void 0 : overrideSettings.currencyConverter;
2874
+ zonosStore.onCountryChange = overrideSettings === null || overrideSettings === void 0 ? void 0 : overrideSettings.onCountryChange;
2874
2875
  };
2875
2876
  const zonosStoreFontFamily = () => {
2876
2877
  const fontFamily = zonosStore.appearance.fontFamily || 'Inter';