@zonos/elements 1.3.10 → 1.3.11-alpha.1

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 (307) hide show
  1. package/dist/cjs/{cart-34d4bf2e.js → cart-d9e9ecfc.js} +209 -25
  2. package/dist/cjs/{getBorderRadius-d795f526.js → getBorderRadius-9d619bf6.js} +1 -1
  3. package/dist/cjs/getContrastColor-af2386af.js +20 -0
  4. package/dist/cjs/{isColorVariable-41cacd82.js → isColorVariable-fff5e469.js} +1 -1
  5. package/dist/cjs/{isDarkColor-33fb96a7.js → isDarkColor-a68274cf.js} +2 -1
  6. package/dist/cjs/loader.cjs.js +1 -1
  7. package/dist/cjs/{submitGtag-1f92afd1.js → submitGtag-b7ef5d5b.js} +2 -2
  8. package/dist/cjs/zonos-address_4.cjs.entry.js +11 -11
  9. package/dist/cjs/zonos-badge_2.cjs.entry.js +6 -6
  10. package/dist/cjs/zonos-banner.cjs.entry.js +1 -1
  11. package/dist/cjs/{zonos-button_3.cjs.entry.js → zonos-button_2.cjs.entry.js} +34 -36
  12. package/dist/cjs/zonos-card_2.cjs.entry.js +8 -8
  13. package/dist/cjs/{zonos-cart-items_9.cjs.entry.js → zonos-cart-items_10.cjs.entry.js} +161 -48
  14. package/dist/cjs/zonos-checkout.cjs.entry.js +20 -22
  15. package/dist/cjs/zonos-component.cjs.entry.js +1 -1
  16. package/dist/cjs/zonos-controller.cjs.entry.js +5 -5
  17. package/dist/cjs/zonos-country-flag.cjs.entry.js +4 -4
  18. package/dist/cjs/zonos-country-select_3.cjs.entry.js +9 -9
  19. package/dist/cjs/zonos-elements.cjs.js +1 -1
  20. package/dist/cjs/zonos-hello-dialog.cjs.entry.js +5 -5
  21. package/dist/cjs/zonos-hello.cjs.entry.js +4 -4
  22. package/dist/cjs/zonos-icon.cjs.entry.js +39 -0
  23. package/dist/cjs/zonos-link.cjs.entry.js +1 -1
  24. package/dist/cjs/zonos-logo.cjs.entry.js +3 -3
  25. package/dist/cjs/zonos-notification.cjs.entry.js +1 -1
  26. package/dist/cjs/zonos-payment.cjs.entry.js +5 -5
  27. package/dist/cjs/zonos-select-dialog-header_2.cjs.entry.js +5 -5
  28. package/dist/cjs/zonos-shipping-rich-radio.cjs.entry.js +13 -4
  29. package/dist/cjs/zonos-text.cjs.entry.js +6 -2
  30. package/dist/cjs/{zonosStore-d3f0173b.js → zonosStore-21334303.js} +1 -1
  31. package/dist/collection/collection-manifest.json +1 -0
  32. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-footer/zonos-checkout-footer.css +32 -22
  33. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-footer/zonos-checkout-footer.js +76 -16
  34. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.css +2 -4
  35. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.js +15 -17
  36. package/dist/collection/components/checkout/zonos-checkout/zonos-review/zonos-review.css +1 -1
  37. package/dist/collection/components/checkout/zonos-checkout/zonos-shipping/zonos-shipping.js +43 -24
  38. package/dist/collection/components/common/component-template/zonos-link/zonos-link.js +1 -1
  39. package/dist/collection/components/common/zonos-badge/zonos-badge.js +3 -3
  40. package/dist/collection/components/common/zonos-button/zonos-button.css +1 -1
  41. package/dist/collection/components/common/zonos-button/zonos-button.js +18 -4
  42. package/dist/collection/components/common/zonos-card/zonos-card.js +2 -2
  43. package/dist/collection/components/common/zonos-checkbox/zonos-checkbox.js +3 -3
  44. package/dist/collection/components/common/zonos-checkout-progress-tabs/assets/TabCheckmark.svg +3 -0
  45. package/dist/collection/components/common/zonos-checkout-progress-tabs/zonos-checkout-progress-tabs.css +102 -0
  46. package/dist/collection/components/common/zonos-checkout-progress-tabs/zonos-checkout-progress-tabs.js +193 -0
  47. package/dist/collection/components/common/zonos-collapse/zonos-collapse.js +2 -2
  48. package/dist/collection/components/common/zonos-country-select/zonos-country-select.js +2 -2
  49. package/dist/collection/components/common/zonos-custom-message/zonos-custom-message.js +1 -1
  50. package/dist/collection/components/common/zonos-dialog/zonos-dialog.css +1 -1
  51. package/dist/collection/components/common/zonos-dialog/zonos-dialog.js +3 -28
  52. package/dist/collection/components/common/zonos-icon/zonos-icon.js +7 -3
  53. package/dist/collection/components/common/zonos-language-select/zonos-language-select.js +2 -2
  54. package/dist/collection/components/common/zonos-logo/zonos-logo.js +4 -4
  55. package/dist/collection/components/common/zonos-select-dialog-header/zonos-select-dialog-header.js +2 -2
  56. package/dist/collection/components/common/zonos-shipping-rich-radio/zonos-shipping-rich-radio.js +27 -1
  57. package/dist/collection/components/common/zonos-text/zonos-text.js +7 -3
  58. package/dist/collection/components/common/zonos-tooltip/zonos-tooltip.js +2 -2
  59. package/dist/collection/components/common/zonos-v-stack/zonos-v-stack.js +2 -2
  60. package/dist/collection/components/component-template/zonos-component/zonos-component.js +1 -1
  61. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog-footer/zonos-hello-dialog-footer.js +2 -2
  62. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog.js +1 -1
  63. package/dist/collection/components/main/zonos-controller.js +1 -1
  64. package/dist/collection/components/store/checkout/cart.js +26 -0
  65. package/dist/collection/components/store/translationStore/strings.arabic.js +9 -0
  66. package/dist/collection/components/store/translationStore/strings.base.js +9 -0
  67. package/dist/collection/components/store/translationStore/strings.chinese.js +9 -0
  68. package/dist/collection/components/store/translationStore/strings.danish.js +9 -0
  69. package/dist/collection/components/store/translationStore/strings.dutch.js +9 -0
  70. package/dist/collection/components/store/translationStore/strings.french.js +9 -0
  71. package/dist/collection/components/store/translationStore/strings.german.js +9 -0
  72. package/dist/collection/components/store/translationStore/strings.hebrew.js +9 -0
  73. package/dist/collection/components/store/translationStore/strings.indonesian.js +9 -0
  74. package/dist/collection/components/store/translationStore/strings.italian.js +9 -0
  75. package/dist/collection/components/store/translationStore/strings.japanese.js +9 -0
  76. package/dist/collection/components/store/translationStore/strings.korean.js +9 -0
  77. package/dist/collection/components/store/translationStore/strings.norwegian.js +9 -0
  78. package/dist/collection/components/store/translationStore/strings.polish.js +9 -0
  79. package/dist/collection/components/store/translationStore/strings.portuguese.js +9 -0
  80. package/dist/collection/components/store/translationStore/strings.russian.js +9 -0
  81. package/dist/collection/components/store/translationStore/strings.spanish.js +9 -0
  82. package/dist/collection/components/store/translationStore/strings.swedish.js +9 -0
  83. package/dist/collection/components/store/translationStore/strings.turkish.js +9 -0
  84. package/dist/collection/components/store/translationStore/strings.vietnamese.js +9 -0
  85. package/dist/collection/components/store/zonosStore.js +1 -1
  86. package/dist/collection/components/stripe/zonos-address/zonos-address.js +1 -1
  87. package/dist/collection/components/stripe/zonos-link-authentication/zonos-link-authentication.js +1 -1
  88. package/dist/collection/components/stripe/zonos-payment/zonos-payment.js +1 -1
  89. package/dist/collection/components/utils/getContrastColor.js +16 -0
  90. package/dist/collection/components/utils/isColorVariable.js +1 -1
  91. package/dist/collection/components/utils/styles.js +12 -0
  92. package/dist/components/getContrastColor.js +18 -0
  93. package/dist/components/isColorVariable.js +1 -1
  94. package/dist/components/isDarkColor.js +1 -1
  95. package/dist/components/stripe.js +207 -22
  96. package/dist/components/trackConversionEvent.js +1 -1
  97. package/dist/components/zonos-address2.js +1 -1
  98. package/dist/components/zonos-badge2.js +3 -3
  99. package/dist/components/zonos-button2.js +30 -4
  100. package/dist/components/zonos-card2.js +2 -2
  101. package/dist/components/zonos-checkbox2.js +3 -3
  102. package/dist/components/zonos-checkout-finish2.js +1 -1
  103. package/dist/components/zonos-checkout-footer2.js +33 -17
  104. package/dist/components/zonos-checkout-progress-tabs.d.ts +11 -0
  105. package/dist/components/zonos-checkout-progress-tabs.js +6 -0
  106. package/dist/components/zonos-checkout-progress-tabs2.js +122 -0
  107. package/dist/components/zonos-checkout.js +44 -40
  108. package/dist/components/zonos-collapse2.js +2 -2
  109. package/dist/components/zonos-component.js +1 -1
  110. package/dist/components/zonos-controller.js +2 -2
  111. package/dist/components/zonos-country-select2.js +2 -2
  112. package/dist/components/zonos-custom-message2.js +1 -1
  113. package/dist/components/zonos-dialog2.js +4 -6
  114. package/dist/components/zonos-hello-dialog-footer2.js +2 -2
  115. package/dist/components/zonos-hello-dialog2.js +2 -2
  116. package/dist/components/zonos-hello.js +1 -1
  117. package/dist/components/zonos-icon2.js +5 -1
  118. package/dist/components/zonos-language-select2.js +3 -3
  119. package/dist/components/zonos-link-authentication2.js +1 -1
  120. package/dist/components/zonos-link.js +1 -1
  121. package/dist/components/zonos-logo.js +2 -2
  122. package/dist/components/zonos-payment2.js +1 -1
  123. package/dist/components/zonos-review2.js +1 -1
  124. package/dist/components/zonos-select-dialog-header2.js +2 -2
  125. package/dist/components/zonos-shipping-rich-radio2.js +11 -1
  126. package/dist/components/zonos-shipping2.js +44 -25
  127. package/dist/components/zonos-text2.js +5 -1
  128. package/dist/components/zonos-tooltip2.js +2 -2
  129. package/dist/components/zonos-v-stack2.js +2 -2
  130. package/dist/components/zonosStore.js +1 -1
  131. package/dist/esm/{cart-8526eb36.js → cart-6cfd7560.js} +210 -25
  132. package/dist/esm/{getBorderRadius-5d750ab8.js → getBorderRadius-c5fb7746.js} +1 -1
  133. package/dist/esm/getContrastColor-a1a6f6aa.js +18 -0
  134. package/dist/esm/{isColorVariable-91c33804.js → isColorVariable-fbf2d80d.js} +1 -1
  135. package/dist/esm/{isDarkColor-c34dfed9.js → isDarkColor-810fcaa5.js} +2 -2
  136. package/dist/esm/loader.js +1 -1
  137. package/dist/esm/{submitGtag-b1e6731d.js → submitGtag-acca574d.js} +2 -2
  138. package/dist/esm/zonos-address_4.entry.js +11 -11
  139. package/dist/esm/zonos-badge_2.entry.js +6 -6
  140. package/dist/esm/zonos-banner.entry.js +1 -1
  141. package/dist/esm/{zonos-button_3.entry.js → zonos-button_2.entry.js} +35 -36
  142. package/dist/esm/zonos-card_2.entry.js +8 -8
  143. package/dist/esm/{zonos-cart-items_9.entry.js → zonos-cart-items_10.entry.js} +161 -49
  144. package/dist/esm/zonos-checkout.entry.js +20 -22
  145. package/dist/esm/zonos-component.entry.js +1 -1
  146. package/dist/esm/zonos-controller.entry.js +5 -5
  147. package/dist/esm/zonos-country-flag.entry.js +4 -4
  148. package/dist/esm/zonos-country-select_3.entry.js +9 -9
  149. package/dist/esm/zonos-elements.js +1 -1
  150. package/dist/esm/zonos-hello-dialog.entry.js +5 -5
  151. package/dist/esm/zonos-hello.entry.js +4 -4
  152. package/dist/esm/zonos-icon.entry.js +35 -0
  153. package/dist/esm/zonos-link.entry.js +1 -1
  154. package/dist/esm/zonos-logo.entry.js +3 -3
  155. package/dist/esm/zonos-notification.entry.js +1 -1
  156. package/dist/esm/zonos-payment.entry.js +5 -5
  157. package/dist/esm/zonos-select-dialog-header_2.entry.js +5 -5
  158. package/dist/esm/zonos-shipping-rich-radio.entry.js +13 -4
  159. package/dist/esm/zonos-text.entry.js +6 -2
  160. package/dist/esm/{zonosStore-aac7c6ac.js → zonosStore-e5f3d4da.js} +1 -1
  161. package/dist/esm-es5/cart-6cfd7560.js +1 -0
  162. package/dist/esm-es5/{getBorderRadius-5d750ab8.js → getBorderRadius-c5fb7746.js} +1 -1
  163. package/dist/esm-es5/getContrastColor-a1a6f6aa.js +1 -0
  164. package/dist/esm-es5/isColorVariable-fbf2d80d.js +1 -0
  165. package/dist/esm-es5/{isDarkColor-c34dfed9.js → isDarkColor-810fcaa5.js} +1 -1
  166. package/dist/esm-es5/loader.js +1 -1
  167. package/dist/esm-es5/{submitGtag-b1e6731d.js → submitGtag-acca574d.js} +1 -1
  168. package/dist/esm-es5/zonos-address_4.entry.js +1 -1
  169. package/dist/esm-es5/zonos-badge_2.entry.js +1 -1
  170. package/dist/esm-es5/zonos-banner.entry.js +1 -1
  171. package/dist/esm-es5/zonos-button_2.entry.js +1 -0
  172. package/dist/esm-es5/zonos-card_2.entry.js +1 -1
  173. package/dist/esm-es5/zonos-cart-items_10.entry.js +1 -0
  174. package/dist/esm-es5/zonos-checkout.entry.js +1 -1
  175. package/dist/esm-es5/zonos-component.entry.js +1 -1
  176. package/dist/esm-es5/zonos-controller.entry.js +1 -1
  177. package/dist/esm-es5/zonos-country-flag.entry.js +1 -1
  178. package/dist/esm-es5/zonos-country-select_3.entry.js +1 -1
  179. package/dist/esm-es5/zonos-elements.js +1 -1
  180. package/dist/esm-es5/zonos-hello-dialog.entry.js +1 -1
  181. package/dist/esm-es5/zonos-hello.entry.js +1 -1
  182. package/dist/esm-es5/zonos-icon.entry.js +1 -0
  183. package/dist/esm-es5/zonos-link.entry.js +1 -1
  184. package/dist/esm-es5/zonos-logo.entry.js +1 -1
  185. package/dist/esm-es5/zonos-notification.entry.js +1 -1
  186. package/dist/esm-es5/zonos-payment.entry.js +1 -1
  187. package/dist/esm-es5/zonos-select-dialog-header_2.entry.js +1 -1
  188. package/dist/esm-es5/zonos-shipping-rich-radio.entry.js +1 -1
  189. package/dist/esm-es5/zonos-text.entry.js +1 -1
  190. package/dist/esm-es5/{zonosStore-aac7c6ac.js → zonosStore-e5f3d4da.js} +1 -1
  191. package/dist/scripts/loadZonos.js +1 -1
  192. package/dist/scripts/zonos.js +1 -1
  193. package/dist/scripts/zonosBase.js +1 -1
  194. package/dist/types/components/checkout/zonos-checkout/zonos-checkout-footer/zonos-checkout-footer.d.ts +14 -2
  195. package/dist/types/components/checkout/zonos-checkout/zonos-checkout.d.ts +0 -1
  196. package/dist/types/components/checkout/zonos-checkout/zonos-shipping/zonos-shipping.d.ts +7 -0
  197. package/dist/types/components/common/zonos-button/zonos-button.d.ts +1 -0
  198. package/dist/types/components/common/zonos-checkout-progress-tabs/zonos-checkout-progress-tabs.d.ts +29 -0
  199. package/dist/types/components/common/zonos-dialog/zonos-dialog.d.ts +0 -5
  200. package/dist/types/components/common/zonos-icon/zonos-icon.d.ts +3 -1
  201. package/dist/types/components/common/zonos-logo/zonos-logo.d.ts +1 -1
  202. package/dist/types/components/common/zonos-shipping-rich-radio/zonos-shipping-rich-radio.d.ts +5 -0
  203. package/dist/types/components/common/zonos-text/zonos-text.d.ts +3 -1
  204. package/dist/types/components/store/checkout/cart.d.ts +10 -1
  205. package/dist/types/components/store/translationStore/strings.arabic.d.ts +9 -0
  206. package/dist/types/components/store/translationStore/strings.base.d.ts +9 -0
  207. package/dist/types/components/store/translationStore/strings.chinese.d.ts +9 -0
  208. package/dist/types/components/store/translationStore/strings.danish.d.ts +9 -0
  209. package/dist/types/components/store/translationStore/strings.dutch.d.ts +9 -0
  210. package/dist/types/components/store/translationStore/strings.french.d.ts +9 -0
  211. package/dist/types/components/store/translationStore/strings.german.d.ts +9 -0
  212. package/dist/types/components/store/translationStore/strings.hebrew.d.ts +9 -0
  213. package/dist/types/components/store/translationStore/strings.indonesian.d.ts +9 -0
  214. package/dist/types/components/store/translationStore/strings.italian.d.ts +9 -0
  215. package/dist/types/components/store/translationStore/strings.japanese.d.ts +9 -0
  216. package/dist/types/components/store/translationStore/strings.korean.d.ts +9 -0
  217. package/dist/types/components/store/translationStore/strings.norwegian.d.ts +9 -0
  218. package/dist/types/components/store/translationStore/strings.polish.d.ts +9 -0
  219. package/dist/types/components/store/translationStore/strings.portuguese.d.ts +9 -0
  220. package/dist/types/components/store/translationStore/strings.russian.d.ts +9 -0
  221. package/dist/types/components/store/translationStore/strings.spanish.d.ts +9 -0
  222. package/dist/types/components/store/translationStore/strings.swedish.d.ts +9 -0
  223. package/dist/types/components/store/translationStore/strings.turkish.d.ts +9 -0
  224. package/dist/types/components/store/translationStore/strings.vietnamese.d.ts +9 -0
  225. package/dist/types/components/utils/getContrastColor.d.ts +4 -0
  226. package/dist/types/components/utils/isColorVariable.d.ts +1 -1
  227. package/dist/types/components/utils/styles.d.ts +7 -0
  228. package/dist/types/components.d.ts +67 -14
  229. package/dist/zonos-elements/assets/TabCheckmark.svg +3 -0
  230. package/dist/zonos-elements/p-0b51de7b.system.entry.js +1 -0
  231. package/dist/zonos-elements/{p-f8e7aea7.system.entry.js → p-0dfd549e.system.entry.js} +1 -1
  232. package/dist/zonos-elements/{p-c1e54094.system.js → p-0f414d6a.system.js} +1 -1
  233. package/dist/zonos-elements/p-0f8acb62.js +1 -0
  234. package/dist/zonos-elements/{p-27d57265.system.entry.js → p-20b080d1.system.entry.js} +1 -1
  235. package/dist/zonos-elements/{p-7e355496.system.entry.js → p-212992ec.system.entry.js} +1 -1
  236. package/dist/zonos-elements/p-22db99c9.system.entry.js +1 -0
  237. package/dist/zonos-elements/{p-473943ae.entry.js → p-26aee7a0.entry.js} +1 -1
  238. package/dist/zonos-elements/{p-c6de2e40.system.entry.js → p-2d5a6a7f.system.entry.js} +1 -1
  239. package/dist/zonos-elements/{p-b1a44483.system.entry.js → p-2fdec8bc.system.entry.js} +1 -1
  240. package/dist/zonos-elements/p-352ba771.system.js +1 -0
  241. package/dist/zonos-elements/p-4051a42d.js +1 -0
  242. package/dist/zonos-elements/p-5162f4cc.system.entry.js +1 -0
  243. package/dist/zonos-elements/{p-d0d12a64.entry.js → p-51c32b3d.entry.js} +1 -1
  244. package/dist/zonos-elements/{p-f3e497d0.js → p-55b8b98b.js} +1 -1
  245. package/dist/zonos-elements/p-59595553.entry.js +1 -0
  246. package/dist/zonos-elements/p-5a40684c.entry.js +1 -0
  247. package/dist/zonos-elements/{p-8d608535.system.entry.js → p-60ac5342.system.entry.js} +1 -1
  248. package/dist/zonos-elements/p-61e08de7.system.entry.js +1 -0
  249. package/dist/zonos-elements/{p-ab7657fa.entry.js → p-65a877e2.entry.js} +1 -1
  250. package/dist/zonos-elements/p-66cc1554.system.js +1 -0
  251. package/dist/zonos-elements/p-6a80f7f5.entry.js +1 -0
  252. package/dist/zonos-elements/{p-4eb24c96.entry.js → p-6daa64bf.entry.js} +1 -1
  253. package/dist/zonos-elements/{p-77727098.system.js → p-6db032ee.system.js} +1 -1
  254. package/dist/zonos-elements/{p-188ddbe2.entry.js → p-6dc606c6.entry.js} +1 -1
  255. package/dist/zonos-elements/p-6e81adba.system.js +1 -1
  256. package/dist/zonos-elements/{p-4ad5f307.system.entry.js → p-7e00a5dc.system.entry.js} +1 -1
  257. package/dist/zonos-elements/{p-e12a18d3.entry.js → p-817e7f8e.entry.js} +1 -1
  258. package/dist/zonos-elements/{p-2984aa3d.system.entry.js → p-824b8708.system.entry.js} +1 -1
  259. package/dist/zonos-elements/{p-770384fa.system.entry.js → p-9a2c3874.system.entry.js} +1 -1
  260. package/dist/zonos-elements/{p-edbea8df.system.js → p-9db2f9d1.system.js} +1 -1
  261. package/dist/zonos-elements/{p-77c54b83.js → p-a1a477c9.js} +1 -1
  262. package/dist/zonos-elements/{p-1fc444b0.system.entry.js → p-a398bc59.system.entry.js} +1 -1
  263. package/dist/zonos-elements/{p-6255bfe6.entry.js → p-a641dfcd.entry.js} +1 -1
  264. package/dist/zonos-elements/p-a7bfe188.entry.js +1 -0
  265. package/dist/zonos-elements/{p-9db3028d.entry.js → p-ac7155d7.entry.js} +1 -1
  266. package/dist/zonos-elements/{p-6181f2d5.entry.js → p-ad499520.entry.js} +1 -1
  267. package/dist/zonos-elements/{p-a578facf.entry.js → p-b0e9226a.entry.js} +1 -1
  268. package/dist/zonos-elements/{p-d9c65636.system.js → p-b1ee44c6.system.js} +1 -1
  269. package/dist/zonos-elements/{p-9b95b387.system.entry.js → p-b2c48954.system.entry.js} +1 -1
  270. package/dist/zonos-elements/{p-315c1fc2.entry.js → p-b62aee3d.entry.js} +1 -1
  271. package/dist/zonos-elements/p-b76909ab.entry.js +1 -0
  272. package/dist/zonos-elements/{p-333da541.entry.js → p-b9cde0c3.entry.js} +1 -1
  273. package/dist/zonos-elements/{p-482371fb.system.entry.js → p-c4862aab.system.entry.js} +1 -1
  274. package/dist/zonos-elements/p-c6e44a9b.entry.js +1 -0
  275. package/dist/zonos-elements/p-cde25873.js +1 -0
  276. package/dist/zonos-elements/p-d96f8d89.system.entry.js +1 -0
  277. package/dist/zonos-elements/p-e2131057.entry.js +1 -0
  278. package/dist/zonos-elements/p-e28ed57c.js +1 -0
  279. package/dist/zonos-elements/{p-49a5be72.js → p-e74f27da.js} +1 -1
  280. package/dist/zonos-elements/{p-a554d58d.system.js → p-ed4d8d71.system.js} +1 -1
  281. package/dist/zonos-elements/{p-0b4910fe.system.entry.js → p-f62b49aa.system.entry.js} +1 -1
  282. package/dist/zonos-elements/{p-a87803b7.system.entry.js → p-f8b03017.system.entry.js} +1 -1
  283. package/dist/zonos-elements/{p-22802400.system.entry.js → p-fac20c60.system.entry.js} +1 -1
  284. package/dist/zonos-elements/{p-aaf75ede.system.entry.js → p-fd8c50e8.system.entry.js} +1 -1
  285. package/dist/zonos-elements/{p-0e63111b.entry.js → p-ff17c03b.entry.js} +1 -1
  286. package/dist/zonos-elements/p-ff962844.entry.js +1 -0
  287. package/dist/zonos-elements/zonos-elements.esm.js +1 -1
  288. package/package.json +2 -2
  289. package/dist/esm-es5/cart-8526eb36.js +0 -1
  290. package/dist/esm-es5/isColorVariable-91c33804.js +0 -1
  291. package/dist/esm-es5/zonos-button_3.entry.js +0 -1
  292. package/dist/esm-es5/zonos-cart-items_9.entry.js +0 -1
  293. package/dist/zonos-elements/p-144f4d31.entry.js +0 -1
  294. package/dist/zonos-elements/p-4c414a92.js +0 -1
  295. package/dist/zonos-elements/p-5c991faa.system.entry.js +0 -1
  296. package/dist/zonos-elements/p-5d2dd287.entry.js +0 -1
  297. package/dist/zonos-elements/p-92e88f3d.system.js +0 -1
  298. package/dist/zonos-elements/p-95cc6b89.entry.js +0 -1
  299. package/dist/zonos-elements/p-ada42479.entry.js +0 -1
  300. package/dist/zonos-elements/p-adc2e8c3.system.entry.js +0 -1
  301. package/dist/zonos-elements/p-b0c84054.entry.js +0 -1
  302. package/dist/zonos-elements/p-cf03cb54.system.entry.js +0 -1
  303. package/dist/zonos-elements/p-dd153a4e.entry.js +0 -1
  304. package/dist/zonos-elements/p-e4749f19.js +0 -1
  305. package/dist/zonos-elements/p-e87e8c9c.system.entry.js +0 -1
  306. package/dist/zonos-elements/p-ed7d1948.js +0 -1
  307. package/dist/zonos-elements/p-f1170e7b.entry.js +0 -1
@@ -1,23 +1,24 @@
1
1
  import { proxyCustomElement, HTMLElement, h, Host, Fragment } from '@stencil/core/internal/client';
2
- import { a as localizationStore, b as log, d as stripeStoreGetDomesticShippingSession, e as localizationStoreUpdateSelectedCountryCode, f as stripeStoreCleanupDomesticShippingSession, l as logError, g as stripeStoreSaveDomesticShippingSession, i as initStripeElements, c as cartStore, h as cartStoreUpdateItems, j as cartStoreReset, s as stripeStore, k as stripeStoreInitCheckoutSession, m as cartStoreUpdateToErrorState, t as translate, n as stripeStorePrefetchLandedCost, o as cartStoreNextStep, p as stripeStoreConfirmPayment, q as stripeStoreReset, r as cartStorePreviousStep } from './stripe.js';
2
+ import { a as localizationStore, b as log, d as stripeStoreGetDomesticShippingSession, e as localizationStoreUpdateSelectedCountryCode, f as stripeStoreCleanupDomesticShippingSession, l as logError, g as stripeStoreSaveDomesticShippingSession, i as initStripeElements, c as cartStore, h as cartStoreUpdateItems, j as cartStoreReset, s as stripeStore, k as stripeStoreInitCheckoutSession, m as cartStoreUpdateToErrorState, t as translate, n as stripeStorePrefetchLandedCost, o as cartStoreNextStep, p as stripeStoreConfirmPayment, q as stripeStoreReset } from './stripe.js';
3
3
  import { z as zonosStore, m as mergeConfig } from './zonosStore.js';
4
4
  import { t as trackConversionEvent } from './trackConversionEvent.js';
5
5
  import { i as isCheckoutMobile } from './isCheckoutMobile.js';
6
- import { s as sendErrorLog, d as defineCustomElement$k } from './zonos-checkout-finish2.js';
6
+ import { s as sendErrorLog, d as defineCustomElement$l } from './zonos-checkout-finish2.js';
7
7
  import { c as classes } from './classes.js';
8
8
  import { g as getBorderRadius } from './getBorderRadius.js';
9
9
  import { i as isDarkColor } from './isDarkColor.js';
10
10
  import { s as submitGtag } from './submitGtag.js';
11
- import { d as defineCustomElement$s } from './zonos-address2.js';
12
- import { d as defineCustomElement$r } from './zonos-badge2.js';
13
- import { d as defineCustomElement$q } from './zonos-banner2.js';
14
- import { d as defineCustomElement$p } from './zonos-button2.js';
15
- import { d as defineCustomElement$o } from './zonos-card2.js';
16
- import { d as defineCustomElement$n } from './zonos-cart-items2.js';
17
- import { d as defineCustomElement$m } from './zonos-cart-subtotal2.js';
18
- import { d as defineCustomElement$l } from './zonos-checkbox2.js';
19
- import { d as defineCustomElement$j } from './zonos-checkout-footer2.js';
20
- import { d as defineCustomElement$i } from './zonos-checkout-payment2.js';
11
+ import { d as defineCustomElement$t } from './zonos-address2.js';
12
+ import { d as defineCustomElement$s } from './zonos-badge2.js';
13
+ import { d as defineCustomElement$r } from './zonos-banner2.js';
14
+ import { d as defineCustomElement$q } from './zonos-button2.js';
15
+ import { d as defineCustomElement$p } from './zonos-card2.js';
16
+ import { d as defineCustomElement$o } from './zonos-cart-items2.js';
17
+ import { d as defineCustomElement$n } from './zonos-cart-subtotal2.js';
18
+ import { d as defineCustomElement$m } from './zonos-checkbox2.js';
19
+ import { d as defineCustomElement$k } from './zonos-checkout-footer2.js';
20
+ import { d as defineCustomElement$j } from './zonos-checkout-payment2.js';
21
+ import { d as defineCustomElement$i } from './zonos-checkout-progress-tabs2.js';
21
22
  import { d as defineCustomElement$h } from './zonos-collapse2.js';
22
23
  import { d as defineCustomElement$g } from './zonos-custom-message2.js';
23
24
  import { d as defineCustomElement$f } from './zonos-customer-info2.js';
@@ -155,8 +156,6 @@ const watchBigcommerceDomesticCheckout = ({ domesticRedirectedBtnSelector, onShi
155
156
  });
156
157
  };
157
158
 
158
- const LeftArrow = `<svg color="var(--amino-gray-800)" fill="none" height="24" viewBox="0 0 24 24" width="24" xmlns="https://www.w3.org/2000/svg"><path clip-rule="evenodd" d="M9.707 16.707a1 1 0 0 1-1.414 0l-3.647-3.646a1.5 1.5 0 0 1 0-2.122l3.647-3.646a1 1 0 0 1 1.414 1.414L7.414 11H19a1 1 0 1 1 0 2H7.414l2.293 2.293a1 1 0 0 1 0 1.414Z" fill="currentColor" fill-rule="evenodd"></path></svg>`;
159
-
160
159
  const MessageIcon = `<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="https://www.w3.org/2000/svg">
161
160
  <path fill-rule="evenodd" clip-rule="evenodd" d="M2.25 4.5C2.25 3.25736 3.25736 2.25 4.5 2.25H13.5C14.7426 2.25 15.75 3.25736 15.75 4.5V10.5C15.75 11.7426 14.7426 12.75 13.5 12.75H8.25C8.01393 12.75 7.79164 12.8611 7.65 13.05L6.3 14.85C5.87508 15.4166 5.2082 15.75 4.5 15.75C3.25736 15.75 2.25 14.7426 2.25 13.5V4.5ZM4.5 3.75C4.08579 3.75 3.75 4.08579 3.75 4.5V13.5C3.75 13.9142 4.08579 14.25 4.5 14.25C4.73607 14.25 4.95836 14.1389 5.1 13.95L6.45 12.15C6.87492 11.5834 7.5418 11.25 8.25 11.25H13.5C13.9142 11.25 14.25 10.9142 14.25 10.5V4.5C14.25 4.08579 13.9142 3.75 13.5 3.75H4.5ZM5.25 6C5.25 5.58579 5.58579 5.25 6 5.25H12C12.4142 5.25 12.75 5.58579 12.75 6C12.75 6.41421 12.4142 6.75 12 6.75H6C5.58579 6.75 5.25 6.41421 5.25 6ZM5.25 9C5.25 8.58579 5.58579 8.25 6 8.25H8.25C8.66421 8.25 9 8.58579 9 9C9 9.41421 8.66421 9.75 8.25 9.75H6C5.58579 9.75 5.25 9.41421 5.25 9Z" fill="#4D505A"/>
162
161
  </svg>
@@ -164,7 +163,7 @@ const MessageIcon = `<svg width="18" height="18" viewBox="0 0 18 18" fill="none"
164
163
 
165
164
  const RemoveIcon = `<svg color="var(--amino-gray-800)" fill="none" height="24" viewBox="0 0 24 24" width="24" xmlns="https://www.w3.org/2000/svg"><path clip-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" data-is-secondary-color="true" fill="var(--amino-gray-200)" fill-rule="evenodd"></path><path clip-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" fill="currentColor" fill-rule="evenodd"></path></svg>`;
166
165
 
167
- const zonosCheckoutCss = ".sc-zonos-checkout-h{font-family:var(--font-family, Inter), Inter;display:block;white-space:normal}.sc-zonos-checkout-h *.sc-zonos-checkout{font-family:var(--font-family, Inter), Inter}.sc-zonos-checkout-h img.sc-zonos-checkout{max-width:100%}.sc-zonos-checkout-h dl.sc-zonos-checkout,.sc-zonos-checkout-h dd.sc-zonos-checkout,.sc-zonos-checkout-h h1.sc-zonos-checkout,.sc-zonos-checkout-h h2.sc-zonos-checkout,.sc-zonos-checkout-h h3.sc-zonos-checkout,.sc-zonos-checkout-h h4.sc-zonos-checkout,.sc-zonos-checkout-h h5.sc-zonos-checkout,.sc-zonos-checkout-h h6.sc-zonos-checkout,.sc-zonos-checkout-h hr.sc-zonos-checkout,.sc-zonos-checkout-h figure.sc-zonos-checkout,.sc-zonos-checkout-h p.sc-zonos-checkout,.sc-zonos-checkout-h pre.sc-zonos-checkout{margin:0}.sc-zonos-checkout-h{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}.sc-zonos-checkout-h *.sc-zonos-checkout::-webkit-scrollbar{width:10px}.sc-zonos-checkout-h *.sc-zonos-checkout::-webkit-scrollbar-track{background:var(--amino-gray-50)}.sc-zonos-checkout-h *.sc-zonos-checkout::-webkit-scrollbar-thumb{border-radius:10px;background:#cccccc;border:3px solid transparent;background-clip:content-box}.sc-zonos-checkout-h *.sc-zonos-checkout::-webkit-scrollbar-thumb:hover{background:#d6d6d6}.sc-zonos-checkout-h .zonos--content.sc-zonos-checkout{display:-ms-flexbox;display:flex;height:100%;overflow:hidden;border-radius:var(--border-radius, var(--amino-radius-10))}.sc-zonos-checkout-h .zonos--content.sc-zonos-checkout .zonos--left.sc-zonos-checkout,.sc-zonos-checkout-h .zonos--content.sc-zonos-checkout .zonos--right.sc-zonos-checkout{-ms-flex:1;flex:1;padding:var(--amino-space-48) var(--amino-space-56) var(--amino-space-76)}.sc-zonos-checkout-h .zonos--content.sc-zonos-checkout .zonos--left.sc-zonos-checkout{background-color:var(--primary-color, var(--amino-gray-0));border-right:1px solid var(--amino-gray-200)}.sc-zonos-checkout-h .zonos--content.sc-zonos-checkout .zonos--right.sc-zonos-checkout{background-color:var(--amino-gray-0)}.sc-zonos-checkout-h .zonos--content.sc-zonos-checkout .zonos--done.sc-zonos-checkout{width:100%;max-height:100%;height:100%;overflow:auto;-ms-flex-direction:column;flex-direction:column;background-color:var(--amino-gray-0);-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;padding:var(--amino-space-24);padding-bottom:50px}.sc-zonos-checkout-h .zonos--content.sc-zonos-checkout .zonos--done.sc-zonos-checkout .zonos--header.sc-zonos-checkout{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:center;align-items:center;width:100%}.sc-zonos-checkout-h .zonos--content.sc-zonos-checkout .zonos--done.sc-zonos-checkout .zonos--header.sc-zonos-checkout img.sc-zonos-checkout{width:150px;min-width:150px}.sc-zonos-checkout-h .zonos--content.sc-zonos-checkout .zonos--done.sc-zonos-checkout .zonos--logo.sc-zonos-checkout{margin-bottom:0}.sc-zonos-checkout-h .zonos--content.sc-zonos-checkout .zonos--done.sc-zonos-checkout zonos-checkout-finish.sc-zonos-checkout{-ms-flex:1;flex:1}.sc-zonos-checkout-h .zonos--left.sc-zonos-checkout{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.sc-zonos-checkout-h .zonos--left.sc-zonos-checkout .zonos--back-button.sc-zonos-checkout{margin-bottom:var(--amino-space-24)}.sc-zonos-checkout-h .zonos--left.sc-zonos-checkout .zonos--wrapper.sc-zonos-checkout{padding:0 var(--amino-space-8) var(--amino-space-8)}.sc-zonos-checkout-h .zonos--left.sc-zonos-checkout .zonos--payment-error-banner.sc-zonos-checkout{margin-top:var(--amino-space-24)}.sc-zonos-checkout-h .zonos--right.sc-zonos-checkout{position:relative}.sc-zonos-checkout-h .zonos--right.sc-zonos-checkout .zonos--close-button.sc-zonos-checkout{position:absolute;right:var(--amino-space-24);top:var(--amino-space-24)}.sc-zonos-checkout-h .zonos--wrapper.sc-zonos-checkout{overflow:auto;max-height:100%;position:relative}.sc-zonos-checkout-h .flex--wrapper.sc-zonos-checkout{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;max-height:100%}.sc-zonos-checkout-h .zonos--logo.sc-zonos-checkout{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.sc-zonos-checkout-h .zonos--checkout-default-message.sc-zonos-checkout{margin-left:var(--amino-space-76);margin-bottom:var(--amino-space-8)}.preview.sc-zonos-checkout-h{min-width:500px;margin:auto}.preview.sc-zonos-checkout-h .zonos--content.sc-zonos-checkout{border:var(--amino-border)}.preview.sc-zonos-checkout-h .zonos--content.sc-zonos-checkout .zonos--done.sc-zonos-checkout{padding:var(--amino-space-32)}.mobile.sc-zonos-checkout-h{min-width:auto}.mobile.sc-zonos-checkout-h .zonos--content.sc-zonos-checkout{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;overflow:auto;border-radius:0;max-height:100%;height:100%;border:0}.mobile.sc-zonos-checkout-h .zonos--content.sc-zonos-checkout .zonos--left.sc-zonos-checkout,.mobile.sc-zonos-checkout-h .zonos--content.sc-zonos-checkout .zonos--right.sc-zonos-checkout{padding:var(--amino-space-12);padding-bottom:var(--amino-space-76)}@media (max-width: 768px){.mobile.sc-zonos-checkout-h .zonos--content.sc-zonos-checkout .zonos--left.sc-zonos-checkout,.mobile.sc-zonos-checkout-h .zonos--content.sc-zonos-checkout .zonos--right.sc-zonos-checkout{padding-bottom:var(--amino-space-0)}}.mobile.sc-zonos-checkout-h .zonos--content.sc-zonos-checkout .zonos--left.sc-zonos-checkout{-ms-flex-order:2;order:2;border-right:none}.mobile.sc-zonos-checkout-h .zonos--content.sc-zonos-checkout .zonos--right.sc-zonos-checkout{-ms-flex-order:1;order:1;padding-top:var(--amino-space-16)}.mobile.sc-zonos-checkout-h .zonos--content.sc-zonos-checkout .zonos--right.sc-zonos-checkout .zonos--wrapper.sc-zonos-checkout{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;border:var(--amino-border);border-radius:var(--border-radius, var(--amino-radius-10));background-color:var(--amino-gray-50);padding:var(--amino-space-12);margin-top:var(--amino-space-32)}.mobile.sc-zonos-checkout-h .zonos--content.sc-zonos-checkout .zonos--right.sc-zonos-checkout .zonos--review.sc-zonos-checkout{margin-bottom:0}.mobile.sc-zonos-checkout-h .zonos--content.sc-zonos-checkout .zonos--right.sc-zonos-checkout .zonos--cart-items.sc-zonos-checkout{margin-top:var(--amino-space-8)}.mobile.sc-zonos-checkout-h .zonos--content.sc-zonos-checkout zonos-checkout-footer.sc-zonos-checkout{-ms-flex-order:3;order:3}.mobile.sc-zonos-checkout-h .zonos--content.sc-zonos-checkout .zonos--wrapper.sc-zonos-checkout{max-height:100%}.mobile.sc-zonos-checkout-h .zonos--content.sc-zonos-checkout .zonos--footer.sc-zonos-checkout{-ms-flex-order:3;order:3}.mobile.sc-zonos-checkout-h .zonos--content.sc-zonos-checkout .zonos--done.sc-zonos-checkout{width:auto}.mobile.sc-zonos-checkout-h .zonos--cart-subtotal.sc-zonos-checkout{margin:0}";
166
+ const zonosCheckoutCss = ".sc-zonos-checkout-h{font-family:var(--font-family, Inter), Inter;display:block;white-space:normal}.sc-zonos-checkout-h *.sc-zonos-checkout{font-family:var(--font-family, Inter), Inter}.sc-zonos-checkout-h img.sc-zonos-checkout{max-width:100%}.sc-zonos-checkout-h dl.sc-zonos-checkout,.sc-zonos-checkout-h dd.sc-zonos-checkout,.sc-zonos-checkout-h h1.sc-zonos-checkout,.sc-zonos-checkout-h h2.sc-zonos-checkout,.sc-zonos-checkout-h h3.sc-zonos-checkout,.sc-zonos-checkout-h h4.sc-zonos-checkout,.sc-zonos-checkout-h h5.sc-zonos-checkout,.sc-zonos-checkout-h h6.sc-zonos-checkout,.sc-zonos-checkout-h hr.sc-zonos-checkout,.sc-zonos-checkout-h figure.sc-zonos-checkout,.sc-zonos-checkout-h p.sc-zonos-checkout,.sc-zonos-checkout-h pre.sc-zonos-checkout{margin:0}.sc-zonos-checkout-h{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}.sc-zonos-checkout-h *.sc-zonos-checkout::-webkit-scrollbar{width:10px}.sc-zonos-checkout-h *.sc-zonos-checkout::-webkit-scrollbar-track{background:var(--amino-gray-50)}.sc-zonos-checkout-h *.sc-zonos-checkout::-webkit-scrollbar-thumb{border-radius:10px;background:#cccccc;border:3px solid transparent;background-clip:content-box}.sc-zonos-checkout-h *.sc-zonos-checkout::-webkit-scrollbar-thumb:hover{background:#d6d6d6}.sc-zonos-checkout-h .zonos--content.sc-zonos-checkout{display:-ms-flexbox;display:flex;height:100%;overflow:hidden;border-radius:var(--border-radius, var(--amino-radius-10))}.sc-zonos-checkout-h .zonos--content.sc-zonos-checkout .zonos--left.sc-zonos-checkout,.sc-zonos-checkout-h .zonos--content.sc-zonos-checkout .zonos--right.sc-zonos-checkout{-ms-flex:1;flex:1;padding:var(--amino-space-32)}.sc-zonos-checkout-h .zonos--content.sc-zonos-checkout .zonos--left.sc-zonos-checkout{background-color:var(--primary-color, var(--amino-gray-0));border-right:1px solid var(--amino-gray-200)}.sc-zonos-checkout-h .zonos--content.sc-zonos-checkout .zonos--right.sc-zonos-checkout{background-color:var(--amino-gray-0)}.sc-zonos-checkout-h .zonos--content.sc-zonos-checkout .zonos--done.sc-zonos-checkout{width:100%;max-height:100%;height:100%;overflow:auto;-ms-flex-direction:column;flex-direction:column;background-color:var(--amino-gray-0);-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;padding:var(--amino-space-24);padding-bottom:50px}.sc-zonos-checkout-h .zonos--content.sc-zonos-checkout .zonos--done.sc-zonos-checkout .zonos--header.sc-zonos-checkout{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:center;align-items:center;width:100%}.sc-zonos-checkout-h .zonos--content.sc-zonos-checkout .zonos--done.sc-zonos-checkout .zonos--header.sc-zonos-checkout img.sc-zonos-checkout{width:150px;min-width:150px}.sc-zonos-checkout-h .zonos--content.sc-zonos-checkout .zonos--done.sc-zonos-checkout .zonos--logo.sc-zonos-checkout{margin-bottom:0}.sc-zonos-checkout-h .zonos--content.sc-zonos-checkout .zonos--done.sc-zonos-checkout zonos-checkout-finish.sc-zonos-checkout{-ms-flex:1;flex:1}.sc-zonos-checkout-h .zonos--left.sc-zonos-checkout{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.sc-zonos-checkout-h .zonos--left.sc-zonos-checkout .zonos--wrapper.sc-zonos-checkout{padding:0 var(--amino-space-8) var(--amino-space-8)}.sc-zonos-checkout-h .zonos--left.sc-zonos-checkout .zonos--payment-error-banner.sc-zonos-checkout{margin-top:var(--amino-space-24)}.sc-zonos-checkout-h .zonos--right.sc-zonos-checkout{position:relative}.sc-zonos-checkout-h .zonos--right.sc-zonos-checkout .zonos--close-button.sc-zonos-checkout{position:absolute;right:var(--amino-space-24);top:var(--amino-space-24);z-index:2}.sc-zonos-checkout-h .zonos--wrapper.sc-zonos-checkout{overflow:auto;max-height:100%;position:relative}.sc-zonos-checkout-h .flex--wrapper.sc-zonos-checkout{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;max-height:100%}.sc-zonos-checkout-h .zonos--logo.sc-zonos-checkout{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.sc-zonos-checkout-h .zonos--checkout-default-message.sc-zonos-checkout{margin-left:var(--amino-space-76);margin-bottom:var(--amino-space-8)}.preview.sc-zonos-checkout-h{min-width:500px;margin:auto}.preview.sc-zonos-checkout-h .zonos--content.sc-zonos-checkout{border:var(--amino-border)}.preview.sc-zonos-checkout-h .zonos--content.sc-zonos-checkout .zonos--done.sc-zonos-checkout{padding:var(--amino-space-32)}.mobile.sc-zonos-checkout-h{min-width:auto}.mobile.sc-zonos-checkout-h .zonos--content.sc-zonos-checkout{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;overflow:auto;border-radius:0;max-height:100%;height:100%;border:0}.mobile.sc-zonos-checkout-h .zonos--content.sc-zonos-checkout .zonos--left.sc-zonos-checkout,.mobile.sc-zonos-checkout-h .zonos--content.sc-zonos-checkout .zonos--right.sc-zonos-checkout{padding:var(--amino-space-12);padding-bottom:var(--amino-space-76)}@media (max-width: 768px){.mobile.sc-zonos-checkout-h .zonos--content.sc-zonos-checkout .zonos--left.sc-zonos-checkout,.mobile.sc-zonos-checkout-h .zonos--content.sc-zonos-checkout .zonos--right.sc-zonos-checkout{padding-bottom:var(--amino-space-0)}}.mobile.sc-zonos-checkout-h .zonos--content.sc-zonos-checkout .zonos--left.sc-zonos-checkout{-ms-flex-order:2;order:2;border-right:none}.mobile.sc-zonos-checkout-h .zonos--content.sc-zonos-checkout .zonos--right.sc-zonos-checkout{-ms-flex-order:1;order:1;padding-top:var(--amino-space-16)}.mobile.sc-zonos-checkout-h .zonos--content.sc-zonos-checkout .zonos--right.sc-zonos-checkout .zonos--wrapper.sc-zonos-checkout{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;border:var(--amino-border);border-radius:var(--border-radius, var(--amino-radius-10));background-color:var(--amino-gray-50);padding:var(--amino-space-12);margin-top:var(--amino-space-32)}.mobile.sc-zonos-checkout-h .zonos--content.sc-zonos-checkout .zonos--right.sc-zonos-checkout .zonos--review.sc-zonos-checkout{margin-bottom:0}.mobile.sc-zonos-checkout-h .zonos--content.sc-zonos-checkout .zonos--right.sc-zonos-checkout .zonos--cart-items.sc-zonos-checkout{margin-top:var(--amino-space-8)}.mobile.sc-zonos-checkout-h .zonos--content.sc-zonos-checkout zonos-checkout-footer.sc-zonos-checkout{-ms-flex-order:3;order:3}.mobile.sc-zonos-checkout-h .zonos--content.sc-zonos-checkout .zonos--wrapper.sc-zonos-checkout{max-height:100%}.mobile.sc-zonos-checkout-h .zonos--content.sc-zonos-checkout .zonos--footer.sc-zonos-checkout{-ms-flex-order:3;order:3}.mobile.sc-zonos-checkout-h .zonos--content.sc-zonos-checkout .zonos--done.sc-zonos-checkout{width:auto}.mobile.sc-zonos-checkout-h .zonos--cart-subtotal.sc-zonos-checkout{margin:0}";
168
167
  const ZonosCheckoutStyle0 = zonosCheckoutCss;
169
168
 
170
169
  const ZonosCheckout$1 = /*@__PURE__*/ proxyCustomElement(class ZonosCheckout extends HTMLElement {
@@ -203,7 +202,7 @@ const ZonosCheckout$1 = /*@__PURE__*/ proxyCustomElement(class ZonosCheckout ext
203
202
  this.stripe = window.Zonos.stripe;
204
203
  this.submitLoading = false;
205
204
  this.paymentError = false;
206
- this.collapseReviewMobile = false;
205
+ this.collapseReviewMobile = true;
207
206
  this.isAttachError = false;
208
207
  this.isMobile = false;
209
208
  this.zonosReviewRef = undefined;
@@ -466,14 +465,6 @@ const ZonosCheckout$1 = /*@__PURE__*/ proxyCustomElement(class ZonosCheckout ext
466
465
  // Reload the page
467
466
  window.location.reload();
468
467
  }
469
- async handleBackClick() {
470
- // close the modal if back button is clicked on customer info step
471
- if (cartStore.step === 'customer-info') {
472
- await this.closeDialogHandler();
473
- return;
474
- }
475
- cartStorePreviousStep();
476
- }
477
468
  handleWindowResize() {
478
469
  this.isMobile = isCheckoutMobile(this.mobile);
479
470
  // apply theme to stripe elements
@@ -521,23 +512,31 @@ const ZonosCheckout$1 = /*@__PURE__*/ proxyCustomElement(class ZonosCheckout ext
521
512
  const localePageEnum = this.getCurrentLocalePageEnum();
522
513
  const filteredMessages = customMessages.filter(x => x.pageName === localePageEnum);
523
514
  const renderLogo = () => (h("div", { class: "zonos--logo" }, logoUrl && (h("img", { alt: `${zonosStore.organizationName} logo`, src: logoUrl, width: 100 }))));
524
- const renderTopHeader = () => (h("zonos-v-stack", null, renderLogo(), filteredMessages.map(x => (h("zonos-custom-message", { icon: MessageIcon, message: x.message }))), h("div", null, h("zonos-button", { class: "zonos--back-button", icon: h("zonos-icon", { "aria-label": "Back to previous step", content: LeftArrow }), noBackground: true, noPaddingLeft: true, noPaddingRight: true, onClick: () => this.handleBackClick(), theme: leftSideTheme }, translate('Back')))));
515
+ const renderTopHeader = () => (h("zonos-v-stack", null, renderLogo(), h("zonos-checkout-progress-tabs", { backgroundColor:
516
+ // only use different contrast color when the secondary color is too off with the background in mobile
517
+ this.isMobile ? '--amino-gray-0' : null }), filteredMessages.map(x => (h("zonos-custom-message", { icon: MessageIcon, message: x.message })))));
525
518
  const renderContent = () => {
526
519
  return (h("div", { class: 'zonos--content', style: {
527
520
  '--border-radius': getBorderRadius(style),
528
521
  } }, cartStore.step !== 'finish' && cartStore.step !== 'error' && (h(Fragment, null, h("div", { class: "zonos--left", "data-theme": leftSideTheme, style: {
529
522
  '--primary-color': !this.isMobile ? colorPrimary : '',
530
- } }, !this.isMobile && renderTopHeader(), cartStore.step === 'customer-info' && (h("zonos-customer-info", { continueLoading: this.submitLoading, defaultAddress: this.defaultAddress, onContinueClicked: () => this.handleCustomerInfoContinue(), submitBtnColor: submitButtonColor })), cartStore.step === 'shipping' && (h("zonos-shipping", { continueLoading: this.submitLoading, onContinueClicked: () => this.handleShippingContinue(), submitBtnColor: submitButtonColor })), cartStore.step === 'payment' && (h("zonos-checkout-payment", { continueLoading: this.submitLoading, onContinueClicked: () => this.handleCheckoutPaymentContinue(), paymentError: this.paymentError, submitBtnColor: submitButtonColor }))), h("div", { class: "zonos--right", "data-theme": rightSideTheme }, this.isMobile && renderTopHeader(), !this.isMobile && (h("zonos-button", { class: "zonos--close-button", icon: h("zonos-icon", { "aria-label": "Close checkout dialog", content: RemoveIcon }), noBackground: true, onClick: () => this.closeDialogHandler() })), h("div", { class: "flex--wrapper" }, h("div", { class: "zonos--wrapper" }, h("zonos-review", { collapsed: this.collapseReviewMobile, mobile: this.isMobile, onClick: () => {
523
+ } }, !this.isMobile && renderTopHeader(), cartStore.step === 'customer-info' && (h("zonos-customer-info", { continueLoading: this.submitLoading, defaultAddress: this.defaultAddress, onContinueClicked: () => this.handleCustomerInfoContinue(), submitBtnColor: submitButtonColor })), cartStore.step === 'shipping' && (h("zonos-shipping", { continueLoading: this.submitLoading, onContinueClicked: () => this.handleShippingContinue(), submitBtnColor: submitButtonColor })), cartStore.step === 'payment' && (h("zonos-checkout-payment", { continueLoading: this.submitLoading, onContinueClicked: () => this.handleCheckoutPaymentContinue(), paymentError: this.paymentError, submitBtnColor: submitButtonColor }))), h("div", { class: "zonos--right", "data-theme": rightSideTheme }, this.isMobile && renderTopHeader(), h("zonos-button", { class: "zonos--close-button", icon: h("zonos-icon", { "aria-label": "Close checkout dialog", content: RemoveIcon }), noBackground: true, onClick: () => this.closeDialogHandler() }), h("div", { class: "flex--wrapper" }, h("div", { class: "zonos--wrapper" }, h("zonos-review", { collapsed: this.collapseReviewMobile, mobile: this.isMobile, onClick: () => {
531
524
  // do nothing if it's not mobile
532
525
  if (!this.isMobile) {
533
526
  return;
534
527
  }
535
528
  this.collapseReviewMobile = !this.collapseReviewMobile;
536
529
  } }), h("zonos-collapse", {
537
- // only collapse on mobile
530
+ // only collapsible on mobile
538
531
  collapsed: this.collapseReviewMobile && this.isMobile
539
- }, h("zonos-cart-items", null))), h("zonos-v-stack", { spacing: 16 }, h("zonos-cart-subtotal", null), h("zonos-custom-message", { class: "zonos--checkout-default-message", icon: MessageIcon, message: defaultMessage })))))), (cartStore.step === 'finish' || cartStore.step === 'error') && (h("div", { class: "zonos--done", "data-theme": rightSideTheme }, h("div", { class: "zonos--header" }, renderLogo(), h("zonos-button", { class: "zonos--close-button", icon: h("zonos-icon", { "aria-label": "Close checkout dialog", content: RemoveIcon }), noBackground: true, onClick: () => this.handleFinishClick(), theme: rightSideTheme })), h("zonos-checkout-finish", { borderRadius: style, onCloseClick: () => this.handleFinishClick(), overrideNotification: cartStore.step === 'error' && !!cartStore.error
540
- ? Object.assign(Object.assign({}, cartStore.error), { type: 'error' }) : undefined, storybookForceStatus: this.storybookPaymentStatusOverride }))), h("zonos-checkout-footer", null)));
532
+ }, h("zonos-cart-items", null), this.isMobile && (h("zonos-v-stack", { spacing: 16 }, h("zonos-cart-subtotal", null), h("zonos-custom-message", { class: "zonos--checkout-default-message", icon: MessageIcon, message: defaultMessage }))))), !this.isMobile && (h("zonos-v-stack", { spacing: 16 }, h("zonos-cart-subtotal", null), h("zonos-custom-message", { class: "zonos--checkout-default-message", icon: MessageIcon, message: defaultMessage }))))))), (cartStore.step === 'finish' || cartStore.step === 'error') && (h("div", { class: "zonos--done", "data-theme": rightSideTheme }, h("div", { class: "zonos--header" }, renderLogo(), h("zonos-button", { class: "zonos--close-button", icon: h("zonos-icon", { "aria-label": "Close checkout dialog", content: RemoveIcon }), noBackground: true, onClick: () => this.handleFinishClick(), theme: rightSideTheme })), h("zonos-checkout-finish", { borderRadius: style, onCloseClick: () => this.handleFinishClick(), overrideNotification: cartStore.step === 'error' && !!cartStore.error
533
+ ? Object.assign(Object.assign({}, cartStore.error), { type: 'error' }) : undefined, storybookForceStatus: this.storybookPaymentStatusOverride }))), h("zonos-checkout-footer", { "data-theme": rightSideTheme, mobile: this.isMobile,
534
+ /**
535
+ * For this component, use slot instead of passing JSX through prop of other component. Because
536
+ * the click outside event will be triggered on and targeted to whichever component that it's attached to.
537
+ * Move it into <slot /> would resolve the issue.
538
+ */
539
+ slot: !this.isMobile ? 'dialog-footer' : undefined })));
541
540
  };
542
541
  return (h(Host, { class: classes([
543
542
  'zonos--checkout zonos--elements',
@@ -579,7 +578,7 @@ function defineCustomElement$1() {
579
578
  if (typeof customElements === "undefined") {
580
579
  return;
581
580
  }
582
- const components = ["zonos-checkout", "zonos-address", "zonos-badge", "zonos-banner", "zonos-button", "zonos-card", "zonos-cart-items", "zonos-cart-subtotal", "zonos-checkbox", "zonos-checkout-finish", "zonos-checkout-footer", "zonos-checkout-payment", "zonos-collapse", "zonos-custom-message", "zonos-customer-info", "zonos-dialog", "zonos-icon", "zonos-language-select", "zonos-link-authentication", "zonos-payment", "zonos-review", "zonos-select-dialog-header", "zonos-shipping", "zonos-shipping-rich-radio", "zonos-spinner", "zonos-text", "zonos-tooltip", "zonos-v-stack"];
581
+ const components = ["zonos-checkout", "zonos-address", "zonos-badge", "zonos-banner", "zonos-button", "zonos-card", "zonos-cart-items", "zonos-cart-subtotal", "zonos-checkbox", "zonos-checkout-finish", "zonos-checkout-footer", "zonos-checkout-payment", "zonos-checkout-progress-tabs", "zonos-collapse", "zonos-custom-message", "zonos-customer-info", "zonos-dialog", "zonos-icon", "zonos-language-select", "zonos-link-authentication", "zonos-payment", "zonos-review", "zonos-select-dialog-header", "zonos-shipping", "zonos-shipping-rich-radio", "zonos-spinner", "zonos-text", "zonos-tooltip", "zonos-v-stack"];
583
582
  components.forEach(tagName => { switch (tagName) {
584
583
  case "zonos-checkout":
585
584
  if (!customElements.get(tagName)) {
@@ -588,55 +587,60 @@ function defineCustomElement$1() {
588
587
  break;
589
588
  case "zonos-address":
590
589
  if (!customElements.get(tagName)) {
591
- defineCustomElement$s();
590
+ defineCustomElement$t();
592
591
  }
593
592
  break;
594
593
  case "zonos-badge":
595
594
  if (!customElements.get(tagName)) {
596
- defineCustomElement$r();
595
+ defineCustomElement$s();
597
596
  }
598
597
  break;
599
598
  case "zonos-banner":
600
599
  if (!customElements.get(tagName)) {
601
- defineCustomElement$q();
600
+ defineCustomElement$r();
602
601
  }
603
602
  break;
604
603
  case "zonos-button":
605
604
  if (!customElements.get(tagName)) {
606
- defineCustomElement$p();
605
+ defineCustomElement$q();
607
606
  }
608
607
  break;
609
608
  case "zonos-card":
610
609
  if (!customElements.get(tagName)) {
611
- defineCustomElement$o();
610
+ defineCustomElement$p();
612
611
  }
613
612
  break;
614
613
  case "zonos-cart-items":
615
614
  if (!customElements.get(tagName)) {
616
- defineCustomElement$n();
615
+ defineCustomElement$o();
617
616
  }
618
617
  break;
619
618
  case "zonos-cart-subtotal":
620
619
  if (!customElements.get(tagName)) {
621
- defineCustomElement$m();
620
+ defineCustomElement$n();
622
621
  }
623
622
  break;
624
623
  case "zonos-checkbox":
625
624
  if (!customElements.get(tagName)) {
626
- defineCustomElement$l();
625
+ defineCustomElement$m();
627
626
  }
628
627
  break;
629
628
  case "zonos-checkout-finish":
630
629
  if (!customElements.get(tagName)) {
631
- defineCustomElement$k();
630
+ defineCustomElement$l();
632
631
  }
633
632
  break;
634
633
  case "zonos-checkout-footer":
635
634
  if (!customElements.get(tagName)) {
636
- defineCustomElement$j();
635
+ defineCustomElement$k();
637
636
  }
638
637
  break;
639
638
  case "zonos-checkout-payment":
639
+ if (!customElements.get(tagName)) {
640
+ defineCustomElement$j();
641
+ }
642
+ break;
643
+ case "zonos-checkout-progress-tabs":
640
644
  if (!customElements.get(tagName)) {
641
645
  defineCustomElement$i();
642
646
  }
@@ -48,10 +48,10 @@ const ZonosCollapse = /*@__PURE__*/ proxyCustomElement(class ZonosCollapse exten
48
48
  // set overflow to hidden to prevent content from showing when collapsed
49
49
  this.el.style.overflow = 'hidden';
50
50
  }
51
- return (h(Host, { key: '7ac8b898feadfb4424b3b48a98135cb18994f4e0', class: 'zonos--elements zonos--collapse', style: {
51
+ return (h(Host, { key: '032f5818dd8394b5111927907c8fa135a55fef5c', class: 'zonos--elements zonos--collapse', style: {
52
52
  '--font-family': zonosStoreFontFamily(),
53
53
  height: this.getElementHeight(),
54
- } }, h("div", { key: '4a527ec319b59041196284d4d9a8f22b943a74e6' }, h("iframe", { key: '2fb51c16e13ca90561b1b1e6cab89d87e4a37a47', class: "height-change-listener", tabindex: "-1", title: "collapse-height-change-listener" }), h("slot", { key: '6d7849f6c35be611446b0da36d657396e5ca3122' }))));
54
+ } }, h("div", { key: '5ddbf406c93f37c9e23375f11dd8439934c0d2a5' }, h("iframe", { key: 'b3efa8bc198918dbb3284e8ce658ffca6249eaa8', class: "height-change-listener", tabindex: "-1", title: "collapse-height-change-listener" }), h("slot", { key: 'ffcd123c3a046e62855a650da9972cde94a7774c' }))));
55
55
  }
56
56
  get el() { return this; }
57
57
  static get style() { return ZonosCollapseStyle0; }
@@ -20,7 +20,7 @@ const ZonosComponent$1 = /*@__PURE__*/ proxyCustomElement(class ZonosComponent e
20
20
  return format(this.first, this.middle, this.last);
21
21
  }
22
22
  render() {
23
- return h("div", { key: '3b7429a0c03b00f0a80e15a94bebd08aedaafe51' }, "Hello, World! I'm ", this.getText());
23
+ return h("div", { key: '9a5547114b58b739fb5d783f551bc345f067779d' }, "Hello, World! I'm ", this.getText());
24
24
  }
25
25
  static get style() { return ZonosComponentStyle0; }
26
26
  }, [1, "zonos-component", {
@@ -1,5 +1,5 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
2
- import { u as handleFetch, l as logError, z as isValidSelector, b as log, s as stripeStore, A as initLocalizationStore, e as localizationStoreUpdateSelectedCountryCode } from './stripe.js';
2
+ import { r as handleFetch, l as logError, y as isValidSelector, b as log, s as stripeStore, z as initLocalizationStore, e as localizationStoreUpdateSelectedCountryCode } from './stripe.js';
3
3
  import { z as zonosStore, d as zonosStoreInitSetting, a as zonosStoreFontFamily } from './zonosStore.js';
4
4
  import { d as defineCustomElement$3 } from './zonos-notification2.js';
5
5
  import { d as defineCustomElement$2 } from './zonos-text2.js';
@@ -227,7 +227,7 @@ const ZonosController$1 = /*@__PURE__*/ proxyCustomElement(class ZonosController
227
227
  zonosStore.organizationName = organizationName;
228
228
  }
229
229
  render() {
230
- return h(Host, { key: '0b734aaa82bd08277fb3a2694197b13242a4d0a6', class: "zonos--elements" });
230
+ return h(Host, { key: 'bd56d32009707ec9042ae5f8a87de7a7cedcca73', class: "zonos--elements" });
231
231
  }
232
232
  static get style() { return ZonosControllerStyle0; }
233
233
  }, [1, "zonos-controller", {
@@ -1831,9 +1831,9 @@ const ZonosCountrySelect = /*@__PURE__*/ proxyCustomElement(class ZonosCountrySe
1831
1831
  const filteredCountries = this.inputValue
1832
1832
  ? fuseObject.map(country => country.item)
1833
1833
  : countries.sort((a, b) => a.displayName.localeCompare(b.displayName));
1834
- return (h(Host, { key: '2b8e15643f92ac489706aff7623b1d1efdebce70', class: "zonos--elements", style: {
1834
+ return (h(Host, { key: '0024a7061a593cf3c92fd7f6b5916aaac3a835c9', class: "zonos--elements", style: {
1835
1835
  '--font-family': zonosStoreFontFamily(),
1836
- } }, h("div", { key: '06b0c7765d8144ca102c9033e74cf1edb14743ac', class: "zonos--country-select" }, h("zonos-v-stack", { key: 'f2af99575f518acb753448f7cb1f7aecd790de9d', class: "zonos--country-select-header", spacing: 8 }, h("zonos-select-dialog-header", { key: '296b92c476439aace00f6817b452a3fd3e1d353d', handleOnClose: () => this.handleOnClose(), label: "Select a country" }, h("input", { key: 'd988b856392f88a66bcc3016ccf55107bda4a411', class: "zonos--country-select-input", onInput: this.handleInputChange, placeholder: "Search countries", value: this.inputValue }))), h("div", { key: '4376bec824141dd7d2dbfb84f465ac4a48e1d050', 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 })))))))));
1836
+ } }, 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 })))))))));
1837
1837
  }
1838
1838
  get ele() { return this; }
1839
1839
  static get style() { return ZonosCountrySelectStyle0; }
@@ -31,7 +31,7 @@ const ZonosCustomMessage = /*@__PURE__*/ proxyCustomElement(class ZonosCustomMes
31
31
  }
32
32
  render() {
33
33
  const messageWithLinks = formatStringWithLinks(this.message);
34
- return (h(Host, { key: '73091a3267f0989e8820800054aebc75168dc5d6', class: "zonos--elements", style: {
34
+ return (h(Host, { key: 'b09b7025fb55c4323aaa24ccb7e410d1638bed8a', class: "zonos--elements", style: {
35
35
  '--font-family': zonosStoreFontFamily(),
36
36
  } }, this.message && (h("zonos-card", { class: "zonos--custom-message", spacing: "12px" }, h("div", { class: "zonos--flex-message" }, h("zonos-icon", { "aria-label": "Custom message icon", content: this.icon }), h("zonos-text", { innerHTML: messageWithLinks }))))));
37
37
  }
@@ -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:0px;top:0px;background:var(--amino-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:white}: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(--amino-text-color);visibility:hidden}:host .zonos--dialog{position:relative;z-index:10001;background:var(--amino-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(--amino-radius-10));outline:none;-webkit-box-shadow:var(--amino-v3-shadow-xxl);box-shadow:var(--amino-v3-shadow-xxl);border:var(--amino-border);overflow:hidden;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:var(--amino-space-16) var(--amino-space-24)}:host .zonos--header .-zonos-stencil-library--header-text{-ms-flex-positive:1;flex-grow:1}:host .zonos--header .zonos--close-button{width:var(--amino-size-md);height:var(--amino-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(--amino-radius-10)}:host .zonos--header .zonos--close-button:hover{background:var(--amino-hover-color)}:host .zonos--body{padding:var(--amino-space-8) var(--amino-space-24);max-height:100%;height:100%;overflow:auto}:host .zonos--body.zonos--no-body-padding{padding:0}:host .zonos--footer{padding:var(--amino-space-16) var(--amino-space-24)}: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:0px;top:0px;background:var(--amino-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:white;border-radius:var(--border-radius, var(--amino-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(--amino-text-color);visibility:hidden}:host .zonos--dialog{position:relative;z-index:10001;background:var(--amino-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(--amino-radius-10));outline:none;-webkit-box-shadow:var(--amino-v3-shadow-xxl);box-shadow:var(--amino-v3-shadow-xxl);border:var(--amino-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:var(--amino-space-16) var(--amino-space-24)}:host .zonos--header .-zonos-stencil-library--header-text{-ms-flex-positive:1;flex-grow:1}:host .zonos--header .zonos--close-button{width:var(--amino-size-md);height:var(--amino-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(--amino-radius-10)}:host .zonos--header .zonos--close-button:hover{background:var(--amino-hover-color)}:host .zonos--body{padding:var(--amino-space-8) var(--amino-space-24);max-height:100%;height:100%;overflow:auto}:host .zonos--body.zonos--no-body-padding{padding:0}:host .zonos--footer{padding:var(--amino-space-16) var(--amino-space-24)}: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 {
@@ -35,7 +35,6 @@ const ZonosDialog = /*@__PURE__*/ proxyCustomElement(class ZonosDialog extends H
35
35
  this.noHeader = false;
36
36
  this.noBodyPadding = false;
37
37
  this.noBorder = false;
38
- this.footerRightAction = null;
39
38
  this.borderStyle = undefined;
40
39
  this.noCloseButton = false;
41
40
  this.noClickOutside = false;
@@ -58,7 +57,7 @@ const ZonosDialog = /*@__PURE__*/ proxyCustomElement(class ZonosDialog extends H
58
57
  document.body.style.overflow = 'auto';
59
58
  }
60
59
  const borderStyle = getBorderRadius(this.borderStyle);
61
- return (h(Host, { key: '3927d9cf0ebbd8b497a0ec42328c4392925d198a', class: classes([
60
+ return (h(Host, { key: '6bda73bd75e6bc31e73ad53849a51752396ee42d', class: classes([
62
61
  'zonos--elements',
63
62
  this.open && 'open',
64
63
  this.isLoading && 'is-loading',
@@ -69,10 +68,10 @@ const ZonosDialog = /*@__PURE__*/ proxyCustomElement(class ZonosDialog extends H
69
68
  '--font-family': zonosStoreFontFamily(),
70
69
  '--height': this.height || 'initial',
71
70
  '--width': this.width,
72
- } }, h("div", { key: 'df93af61bfd856db3a572cdb98f60a8dd5c5bb7d', class: "zonos--backdrop" }), h("div", { key: 'f306feb4858dff642fbfd731e5aad849a8f29941', "aria-hidden": "true", class: "zonos--dialog-layout", onClick: this.clickOutsideDialogHandler }, h("div", { key: 'b914ea2e54fb2af825008ae28e235c461dce67e9', class: "zonos--dialog" }, this.isLoading && (h("div", { class: "zonos--loading" }, h("zonos-spinner", { size: 30 }))), (this.headerText || !this.noCloseButton) && (h("div", { class: "zonos--header" }, this.headerText && (h("h3", { class: "zonos--header-text" }, this.headerText)), !this.noCloseButton && (h("zonos-button", { class: "zonos--close-button", icon: h("zonos-icon", { "aria-label": "Close dialog", content: RemoveIcon }), noBackground: true, onClick: this.closeButtonHandler })))), h("div", { key: '19219c0c8d167bbacec992ba10b1fe0f31a8b8f6', class: classes([
71
+ } }, h("div", { key: 'cd3ff21820f95faee3f16e23a272e080bd7930c8', class: "zonos--backdrop" }), h("div", { key: '85af066de976e3b29505c8804e544ca0a1f8a012', "aria-hidden": "true", class: "zonos--dialog-layout", onClick: this.clickOutsideDialogHandler }, h("div", { key: '389491715fcb12f9c86b744e2e9c20930a2a9f25', class: "zonos--dialog" }, this.isLoading && (h("div", { class: "zonos--loading" }, h("zonos-spinner", { size: 30 }))), (this.headerText || !this.noCloseButton) && (h("div", { class: "zonos--header" }, this.headerText && (h("h3", { class: "zonos--header-text" }, this.headerText)), !this.noCloseButton && (h("zonos-button", { class: "zonos--close-button", icon: h("zonos-icon", { "aria-label": "Close dialog", content: RemoveIcon }), noBackground: true, onClick: this.closeButtonHandler })))), h("div", { key: 'a28ad12faab02ef30769a3234b24e749b38c46b4', class: classes([
73
72
  'zonos--body',
74
73
  this.noBodyPadding && 'zonos--no-body-padding',
75
- ]) }, h("slot", { key: '38f9b83418dacd47cc2395f253a32ff0a6723d54' })), this.footerRightAction && (h("div", { class: "zonos--footer" }, h("div", { class: "zonos--footer-right-action" }, this.footerRightAction)))))));
74
+ ]) }, h("slot", { key: '7da31d739197a17ae94df1909c93f70c1282da95' })), h("slot", { key: 'fe02670713895b786dfa6b0c30ad6553c32796cd', name: "dialog-footer" })))));
76
75
  }
77
76
  static get assetsDirs() { return ["assets"]; }
78
77
  static get style() { return ZonosDialogStyle0; }
@@ -84,7 +83,6 @@ const ZonosDialog = /*@__PURE__*/ proxyCustomElement(class ZonosDialog extends H
84
83
  "noHeader": [4, "no-header"],
85
84
  "noBodyPadding": [4, "no-body-padding"],
86
85
  "noBorder": [4, "no-border"],
87
- "footerRightAction": [16],
88
86
  "borderStyle": [1, "border-style"],
89
87
  "noCloseButton": [4, "no-close-button"],
90
88
  "noClickOutside": [4, "no-click-outside"],
@@ -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: 'f97688788d9f6d1a640f054a2a22dbae6955b83c', class: "zonos--elements" }, h("div", { key: '3539323f9044acef3890fc072bdd981e2495fc18', class: "zonos--hello-dialog-footer", "data-theme": footerTheme, style: {
39
+ return (h(Host, { key: 'ae185b9859f64fea077e093af2decc170f24170b', class: "zonos--elements" }, h("div", { key: 'c472973505ab6cde075af193df735d0524fc35a0', 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: '5e30052240f87211c6f0092ef6a27c217f3ecefb', href: "https://zonos.com", target: "_blank", title: "Zonos website" }, h("zonos-icon", { key: 'c60142bcd26086c2944ac3464885ca1f96e5cfbe', "aria-label": "Zonos Logo", autoHeight: true, content: ZonosIcon, iconColor: "gray-1200", size: 108 })), h("div", { key: '67297b4c557ee5b49a4406a459588f2924183195', class: "zonos--hello-locale-wrapper" }, h("zonos-button", { key: '9348bff826187730f36d191f7e01f516f2b9785c', 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: 'ecf1a8639e8e92a07a0e774abb560de53c19587c', 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: '95cb8c09a3a3f566365f0044d6fcdcf6a82facee', href: "https://zonos.com", target: "_blank", title: "Zonos website" }, h("zonos-icon", { key: 'e11df129f087f9de259c2f24bd294f8d0a881e0d', "aria-label": "Zonos Logo", autoHeight: true, content: ZonosIcon, iconColor: "gray-1200", size: 108 })), h("div", { key: 'df26ef41d24395a2db6d8e3c9dc83a62e0e707ef', class: "zonos--hello-locale-wrapper" }, h("zonos-button", { key: '9b1797c3fdd17044fecb6ae4526d3c053d1ab59a', 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: 'eac17e7e84dc2a80abfcbaed3753512e6358f8db', 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", {
@@ -1,5 +1,5 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
2
- import { G as currencyFormat, a as localizationStore, t as translate } from './stripe.js';
2
+ import { F as currencyFormat, a as localizationStore, t as translate } from './stripe.js';
3
3
  import { z as zonosStore } from './zonosStore.js';
4
4
  import { c as classes } from './classes.js';
5
5
  import { f as formatStringWithLinks, d as defineCustomElement$8 } from './zonos-custom-message2.js';
@@ -136,7 +136,7 @@ const ZonosHelloDialog = /*@__PURE__*/ proxyCustomElement(class ZonosHelloDialog
136
136
  const defaultMessage = formatStringWithLinks(defaultMessageStr);
137
137
  const currentPage = this.getCurrentPageEnum();
138
138
  const filteredMessages = customMessages.filter(x => x.pageName === currentPage);
139
- return (h(Host, { key: 'd5ac86955cf9f9a22e47fe2154dee6e10f6a9361', class: "zonos--elements" }, h("div", { key: 'd34dd3f937330cd5fdd2d7a11dc321c215983146', "aria-hidden": "true", class: classes([
139
+ return (h(Host, { key: 'a9e9d5946604f86ea0680af79ece9e079d4d00d7', class: "zonos--elements" }, h("div", { key: '47ed38de794c10b5689778257d134006c109c101', "aria-hidden": "true", class: classes([
140
140
  'zonos--hello-dialog',
141
141
  animateLeft && 'zonos--hello-dialog-animate-from-left',
142
142
  animateFromBottom && 'zonos--hello-dialog-animate-from-bottom',
@@ -1,6 +1,6 @@
1
1
  import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
2
2
  import { _ as _root, e as _baseGetTag, i as isObjectLike_1, f as isObject_1, z as zonosStore, m as mergeConfig } from './zonosStore.js';
3
- import { u as handleFetch, l as logError, a as localizationStore, z as isValidSelector, t as translate, B as getZCountryUrlParam, C as setZCountryUrlParam, b as log, D as currencyDisplay, E as currencyConvertAndFormat, F as currencyConvert, G as currencyFormat } from './stripe.js';
3
+ import { r as handleFetch, l as logError, a as localizationStore, y as isValidSelector, t as translate, A as getZCountryUrlParam, B as setZCountryUrlParam, b as log, C as currencyDisplay, D as currencyConvertAndFormat, E as currencyConvert, F as currencyFormat } from './stripe.js';
4
4
  import { c as classes } from './classes.js';
5
5
  import { g as getHasMoreSpaceOnRight, d as defineCustomElement$9 } from './zonos-hello-dialog2.js';
6
6
  import { d as defineCustomElement$f } from './zonos-banner2.js';
@@ -1,5 +1,6 @@
1
1
  import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
2
2
  import { a as zonosStoreFontFamily } from './zonosStore.js';
3
+ import { i as isColorVariable } from './isColorVariable.js';
3
4
 
4
5
  const zonosIconCss = ":host{font-family:var(--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host{display:-ms-inline-flexbox;display:inline-flex}:host svg{width:var(--width);height:var(--height);fill:var(--color);color:var(--color)}";
5
6
  const ZonosIconStyle0 = zonosIconCss;
@@ -18,9 +19,12 @@ const ZonosIcon = /*@__PURE__*/ proxyCustomElement(class ZonosIcon extends HTMLE
18
19
  if (!this.content || !this.el.shadowRoot) {
19
20
  return null;
20
21
  }
22
+ const iconColor = isColorVariable(this.iconColor)
23
+ ? `var(--amino-${this.iconColor})`
24
+ : this.iconColor;
21
25
  this.el.shadowRoot.innerHTML = this.content;
22
26
  return (h(Host, { class: "zonos--elements", style: {
23
- '--color': `var(--amino-${this.iconColor})`,
27
+ '--color': iconColor,
24
28
  '--font-family': zonosStoreFontFamily(),
25
29
  '--height': `${this.autoHeight ? 'auto' : `${this.size}px`}`,
26
30
  '--width': `${this.size}px`,
@@ -1,5 +1,5 @@
1
1
  import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
2
- import { w as localizationStoreUpdateSelectedLocale, t as translate, a as localizationStore } from './stripe.js';
2
+ import { v as localizationStoreUpdateSelectedLocale, t as translate, a as localizationStore } from './stripe.js';
3
3
  import { a as zonosStoreFontFamily } from './zonosStore.js';
4
4
  import { l as languages } from './ILanguage.js';
5
5
  import { d as defineCustomElement$6 } from './zonos-button2.js';
@@ -32,9 +32,9 @@ const ZonosLanguageSelect = /*@__PURE__*/ proxyCustomElement(class ZonosLanguage
32
32
  }
33
33
  render() {
34
34
  const { selectedLocale } = localizationStore;
35
- return (h(Host, { key: 'd12676d6438941bb8d987826f68c1b72a7e02ccd', class: "zonos--elements", style: {
35
+ return (h(Host, { key: '25e0e2be0bbac853efa9c26c1595a1d57461a1a1', class: "zonos--elements", style: {
36
36
  '--font-family': zonosStoreFontFamily(),
37
- } }, h("div", { key: '259eaa6a8ae682cc96c98eaaab574757285188b9', class: "zonos--language-select" }, h("zonos-select-dialog-header", { key: '88bff024a5f678b00bf4edd7b2497177a986af4c', handleOnClose: () => this.handleOnClose(), label: translate('Select a language') }), h("div", { key: 'be1d87991dec9ac2a3b530a0cf9129b9e191781b', 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 })))))))));
37
+ } }, h("div", { key: 'b9f3a630f945570a9c0058bb0367e810b7650eb0', class: "zonos--language-select" }, h("zonos-select-dialog-header", { key: 'b30a41cc7f4eab57f15b48ffa3f7c0ad1e695e65', handleOnClose: () => this.handleOnClose(), label: translate('Select a language') }), h("div", { key: 'c6826b80ece54415befc388e57baa02d56472aef', 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
38
  }
39
39
  static get style() { return ZonosLanguageSelectStyle0; }
40
40
  }, [1, "zonos-language-select", {
@@ -38,7 +38,7 @@ const ZonosLinkAuthentication = /*@__PURE__*/ proxyCustomElement(class ZonosLink
38
38
  }
39
39
  render() {
40
40
  // this component loads iframe from the stripe elements and puts here, so we don't need to do anything here
41
- return (h(Host, { key: '671681b3ca3e95ab25a70cb44e84db7e2b3903e8', class: "zonos--link-authentication zonos--elements" }, h("zonos-text", { key: '8d20c795500e3ce27b92cdeb0446908e550f9f13', class: "zonos--title", type: "semiBoldLabel" }, this.titleText), h("div", { key: 'b8374d7d7a4844b4c2cf6363b8d2d225bb52b21d', class: "zonos--link-authentication-component" })));
41
+ return (h(Host, { key: 'a434761e3f237cd44971e458512c7649f214eb4d', class: "zonos--link-authentication zonos--elements" }, h("zonos-text", { key: '0c350ff6dabb1c71376e4e6539a68613d7174189', class: "zonos--title", type: "semiBoldLabel" }, this.titleText), h("div", { key: 'e9cc2bd1e68b64e2fed41851a0d2f2be40583337', class: "zonos--link-authentication-component" })));
42
42
  }
43
43
  get el() { return this; }
44
44
  static get watchers() { return {
@@ -14,7 +14,7 @@ const ZonosLink$1 = /*@__PURE__*/ proxyCustomElement(class ZonosLink extends HTM
14
14
  this.linkTitle = undefined;
15
15
  }
16
16
  render() {
17
- return (h(Host, { key: '99bf9ff46cf84f424739b76d3da8a8c770c0a88f', class: "zonos--elements" }, h("a", { key: 'bd3553a33f27b4815a7b0573a34862093242b456', href: this.href, rel: this.rel, target: this.target, title: this.linkTitle }, h("slot", { key: 'ad80829c1ca5cd9b0e2dd62542025eeecf436196' }))));
17
+ 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' }))));
18
18
  }
19
19
  static get style() { return ZonosLinkStyle0; }
20
20
  }, [1, "zonos-link", {
@@ -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: 'b93db6ec62ecaacb3ded0ab07dd2f38ed488f8d1', class: classes(['zonos--elements zonos--logo']), style: {
20
+ return (h(Host, { key: '483016f5ffe43ea7742e895b5335212da6ec1d18', 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: '026162477b24250e4204318fa3018b1cfd383ab5', alt: "Zonos Logo", src: getAssetPath('./assets/ZonosLogo.png') })));
24
+ } }, h("img", { key: 'aed23717de194da43d48ee7b068f3e7568c0bbb3', 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: 'e10a4ce1a9ecf05ad8efaceeb861284a92e475d2', class: "zonos--payment zonos--elements" }, this.titleText && (h("zonos-text", { class: "zonos--title", type: "semiBoldLabel" }, this.titleText)), h("div", { key: 'a1b52de6a2cec2f707e00c39ebcd7752ad191af6', class: "zonos--payment-component" })));
42
+ return (h(Host, { key: 'db50fedad509b3bc972cfe02d5973a3c93a6eb23', class: "zonos--payment zonos--elements" }, this.titleText && (h("zonos-text", { class: "zonos--title", type: "semiBoldLabel" }, this.titleText)), h("div", { key: 'a773ce78377a70c57577eb1efdac9d2563d1a60d', class: "zonos--payment-component" })));
43
43
  }
44
44
  get el() { return this; }
45
45
  static get watchers() { return {
@@ -11,7 +11,7 @@ const ChevronDownIcon = `<svg color="var(--amino-gray-400)" fill="none" height="
11
11
 
12
12
  const ChevronUpIcon = `<svg color="var(--amino-gray-400)" fill="none" height="24" viewBox="0 0 24 24" width="24" xmlns="https://www.w3.org/2000/svg"><path clip-rule="evenodd" d="M17.707 14.707a1 1 0 0 1-1.414 0L12 10.414l-4.293 4.293a1 1 0 0 1-1.414-1.414l4.93-4.93a1.1 1.1 0 0 1 1.555 0l4.93 4.93a1 1 0 0 1 0 1.414Z" fill="currentColor" fill-rule="evenodd"></path></svg>`;
13
13
 
14
- const zonosReviewCss = ":host{font-family:var(--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host{position:-webkit-sticky;position:sticky;top:0;background-color:var(--amino-gray-0);z-index:1}:host .zonos--total-pay{margin:var(--amino-space-16) 0 var(--amino-space-32)}:host(.mobile){display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;gap:var(--amino-space-24);-ms-flex-pack:justify;justify-content:space-between;padding:var(--amino-space-4) 0;margin-bottom:var(--amino-space-8);background-color:transparent}:host(.mobile) .zonos--title{display:-ms-flexbox;display:flex;-ms-flex-item-align:center;align-self:center;gap:var(--amino-space-8)}:host(.mobile) .zonos--total-pay{margin:0}";
14
+ const zonosReviewCss = ":host{font-family:var(--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host{position:-webkit-sticky;position:sticky;top:0;background-color:var(--amino-gray-0);z-index:1}:host .zonos--total-pay{margin:var(--amino-space-8) 0 var(--amino-space-32)}:host(.mobile){display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;gap:var(--amino-space-24);-ms-flex-pack:justify;justify-content:space-between;padding:var(--amino-space-4) 0;margin-bottom:var(--amino-space-8);background-color:transparent}:host(.mobile) .zonos--title{display:-ms-flexbox;display:flex;-ms-flex-item-align:center;align-self:center;gap:var(--amino-space-8)}:host(.mobile) .zonos--total-pay{margin:0}";
15
15
  const ZonosReviewStyle0 = zonosReviewCss;
16
16
 
17
17
  const ZonosReview = /*@__PURE__*/ proxyCustomElement(class ZonosReview extends HTMLElement {
@@ -20,9 +20,9 @@ const ZonosSelectDialogHeader = /*@__PURE__*/ proxyCustomElement(class ZonosSele
20
20
  this.label = '';
21
21
  }
22
22
  render() {
23
- return (h(Host, { key: 'd0882c22934d6f9635bd0b31af5703283cd0a1be', class: "zonos--elements", style: {
23
+ return (h(Host, { key: 'e7867deee86e4a155c21db2618eafd6f3c6cea3b', class: "zonos--elements", style: {
24
24
  '--font-family': zonosStoreFontFamily(),
25
- } }, h("zonos-v-stack", { key: '2e227c5bdeeeb0fa772847267007df5aea2e0824', class: "zonos--select-dialog-header-wrapper", spacing: 8 }, h("div", { key: 'c43b72c938069ff1a99a985b3b388a785f94d100', class: "zonos--select-dialog-header" }, h("zonos-text", { key: 'b1008e43ca022ca1e1b63a60ab5c347d1228396e', type: "boldLabel" }, this.label), h("zonos-button", { key: '4722586c58eac765ded4a7baeeca8eb58d44dd0a', 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: '36babf745ea5de00c82823520134b1dfcfc9d16d' }))));
25
+ } }, h("zonos-v-stack", { key: 'f7aedb0f819b61da26afd53add628bcddcca5d8a', class: "zonos--select-dialog-header-wrapper", spacing: 8 }, h("div", { key: '7ec77c24a440a5d42965f657502506c769d3098c', class: "zonos--select-dialog-header" }, h("zonos-text", { key: 'bab0ffc53edd20840438e82c0067c1eae8f13ec7', type: "boldLabel" }, this.label), h("zonos-button", { key: 'a85fc2b745b25c07bcccfe60eb1f1e722c7999c2', 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: 'fe932e62edd5f679061c76a62650885d4337363c' }))));
26
26
  }
27
27
  static get style() { return ZonosSelectDialogHeaderStyle0; }
28
28
  }, [1, "zonos-select-dialog-header", {
@@ -33,11 +33,20 @@ const ZonosShippingRichRadio = /*@__PURE__*/ proxyCustomElement(class ZonosShipp
33
33
  this.borderColor = undefined;
34
34
  this.borderStyle = undefined;
35
35
  this.theme = undefined;
36
+ this.initialSelectedValue = undefined;
36
37
  this.selectedItem = null;
37
38
  }
39
+ componentWillLoad() {
40
+ // Set initial selected item
41
+ if (this.initialSelectedValue) {
42
+ this.selectedItem =
43
+ this.items.find(item => item.value === this.initialSelectedValue) ||
44
+ null;
45
+ }
46
+ }
38
47
  render() {
39
48
  var _a;
40
- return (h(Host, { key: '0dc36a16b2f51816755010c46b416b8b1f4b4744', class: "zonos--shipping-rich-radio zonos--elements", "data-theme": this.theme, style: Object.assign(Object.assign({}, this.getRadioItemStyleVariables()), { '--font-family': zonosStoreFontFamily() }) }, (_a = this.items) === null || _a === void 0 ? void 0 : _a.map(item => {
49
+ return (h(Host, { key: '3633e3be9f679c54647d475c9d1831428410302b', class: "zonos--shipping-rich-radio zonos--elements", "data-theme": this.theme, style: Object.assign(Object.assign({}, this.getRadioItemStyleVariables()), { '--font-family': zonosStoreFontFamily() }) }, (_a = this.items) === null || _a === void 0 ? void 0 : _a.map(item => {
41
50
  var _a;
42
51
  const selected = ((_a = this.selectedItem) === null || _a === void 0 ? void 0 : _a.value) === item.value;
43
52
  return (h("div", { "aria-hidden": "true", class: classes([
@@ -52,6 +61,7 @@ const ZonosShippingRichRadio = /*@__PURE__*/ proxyCustomElement(class ZonosShipp
52
61
  "borderColor": [1, "border-color"],
53
62
  "borderStyle": [1, "border-style"],
54
63
  "theme": [1],
64
+ "initialSelectedValue": [8, "initial-selected-value"],
55
65
  "selectedItem": [32]
56
66
  }]);
57
67
  function defineCustomElement() {