@zonos/elements 1.3.11-alpha.0 → 1.3.11-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 (350) hide show
  1. package/dist/cjs/{cart-7e28f026.js → cart-b34c001b.js} +92 -28
  2. package/dist/cjs/{getBorderRadius-d795f526.js → getBorderRadius-4fa738c3.js} +1 -1
  3. package/dist/cjs/getContrastColor-c72796c6.js +20 -0
  4. package/dist/cjs/{isColorVariable-41cacd82.js → isColorVariable-fff5e469.js} +1 -1
  5. package/dist/cjs/{isDarkColor-33fb96a7.js → isDarkColor-7faf0a82.js} +2 -1
  6. package/dist/cjs/loader.cjs.js +1 -1
  7. package/dist/cjs/{submitGtag-586d3206.js → submitGtag-1f1fbe1c.js} +15 -2
  8. package/dist/cjs/zonos-address_4.cjs.entry.js +15 -12
  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} +164 -53
  14. package/dist/cjs/zonos-checkout.cjs.entry.js +249 -26
  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 +16 -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-bd2a0c59.js} +20 -2
  31. package/dist/collection/collection-manifest.json +1 -0
  32. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-finish/zonos-checkout-finish.js +4 -5
  33. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-footer/zonos-checkout-footer.css +32 -22
  34. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-footer/zonos-checkout-footer.js +76 -16
  35. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.css +2 -4
  36. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.js +102 -22
  37. package/dist/collection/components/checkout/zonos-checkout/zonos-review/zonos-review.css +1 -1
  38. package/dist/collection/components/checkout/zonos-checkout/zonos-shipping/zonos-shipping.js +43 -24
  39. package/dist/collection/components/common/component-template/zonos-link/zonos-link.js +1 -1
  40. package/dist/collection/components/common/zonos-badge/zonos-badge.js +3 -3
  41. package/dist/collection/components/common/zonos-button/zonos-button.css +1 -1
  42. package/dist/collection/components/common/zonos-button/zonos-button.js +18 -4
  43. package/dist/collection/components/common/zonos-card/zonos-card.js +2 -2
  44. package/dist/collection/components/common/zonos-checkbox/zonos-checkbox.js +5 -5
  45. package/dist/collection/components/common/zonos-checkout-progress-tabs/assets/TabCheckmark.svg +3 -0
  46. package/dist/collection/components/common/zonos-checkout-progress-tabs/zonos-checkout-progress-tabs.css +103 -0
  47. package/dist/collection/components/common/zonos-checkout-progress-tabs/zonos-checkout-progress-tabs.js +194 -0
  48. package/dist/collection/components/common/zonos-collapse/zonos-collapse.js +2 -2
  49. package/dist/collection/components/common/zonos-country-select/zonos-country-select.js +2 -2
  50. package/dist/collection/components/common/zonos-custom-message/zonos-custom-message.js +1 -1
  51. package/dist/collection/components/common/zonos-dialog/zonos-dialog.css +1 -1
  52. package/dist/collection/components/common/zonos-dialog/zonos-dialog.js +5 -30
  53. package/dist/collection/components/common/zonos-icon/zonos-icon.js +9 -5
  54. package/dist/collection/components/common/zonos-language-select/zonos-language-select.js +2 -2
  55. package/dist/collection/components/common/zonos-logo/zonos-logo.js +4 -4
  56. package/dist/collection/components/common/zonos-select-dialog-header/zonos-select-dialog-header.js +2 -2
  57. package/dist/collection/components/common/zonos-shipping-rich-radio/zonos-shipping-rich-radio.js +33 -7
  58. package/dist/collection/components/common/zonos-text/zonos-text.js +7 -3
  59. package/dist/collection/components/common/zonos-tooltip/zonos-tooltip.js +2 -2
  60. package/dist/collection/components/common/zonos-v-stack/zonos-v-stack.js +2 -2
  61. package/dist/collection/components/component-template/zonos-component/zonos-component.js +1 -1
  62. package/dist/collection/components/hello/zonos-hello/zonos-hello.js +17 -2
  63. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog-footer/zonos-hello-dialog-footer.js +2 -2
  64. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog.js +5 -5
  65. package/dist/collection/components/main/zonos-controller.js +1 -1
  66. package/dist/collection/components/store/checkout/cart.js +26 -0
  67. package/dist/collection/components/store/checkout/stripe.js +3 -0
  68. package/dist/collection/components/store/translationStore/strings.arabic.js +3 -0
  69. package/dist/collection/components/store/translationStore/strings.base.js +3 -0
  70. package/dist/collection/components/store/translationStore/strings.chinese.js +3 -0
  71. package/dist/collection/components/store/translationStore/strings.danish.js +3 -0
  72. package/dist/collection/components/store/translationStore/strings.dutch.js +3 -0
  73. package/dist/collection/components/store/translationStore/strings.french.js +3 -0
  74. package/dist/collection/components/store/translationStore/strings.german.js +3 -0
  75. package/dist/collection/components/store/translationStore/strings.hebrew.js +3 -0
  76. package/dist/collection/components/store/translationStore/strings.indonesian.js +3 -0
  77. package/dist/collection/components/store/translationStore/strings.italian.js +3 -0
  78. package/dist/collection/components/store/translationStore/strings.japanese.js +3 -0
  79. package/dist/collection/components/store/translationStore/strings.korean.js +3 -0
  80. package/dist/collection/components/store/translationStore/strings.norwegian.js +3 -0
  81. package/dist/collection/components/store/translationStore/strings.polish.js +3 -0
  82. package/dist/collection/components/store/translationStore/strings.portuguese.js +3 -0
  83. package/dist/collection/components/store/translationStore/strings.russian.js +3 -0
  84. package/dist/collection/components/store/translationStore/strings.spanish.js +3 -0
  85. package/dist/collection/components/store/translationStore/strings.swedish.js +3 -0
  86. package/dist/collection/components/store/translationStore/strings.turkish.js +3 -0
  87. package/dist/collection/components/store/translationStore/strings.vietnamese.js +3 -0
  88. package/dist/collection/components/store/zonosStore.js +20 -3
  89. package/dist/collection/components/stripe/zonos-address/zonos-address.js +5 -2
  90. package/dist/collection/components/stripe/zonos-link-authentication/zonos-link-authentication.js +1 -1
  91. package/dist/collection/components/stripe/zonos-payment/zonos-payment.js +1 -1
  92. package/dist/collection/components/utils/api/buildCartItemsByTempCart.js +24 -0
  93. package/dist/collection/components/utils/api/tempCartItem/getAttributes.js +66 -0
  94. package/dist/collection/components/utils/api/tempCartItem/getMeasurements.js +58 -0
  95. package/dist/collection/components/utils/api/trackConversionEvent.js +2 -0
  96. package/dist/collection/components/utils/checkout/isShippableCountry.js +2 -0
  97. package/dist/collection/components/utils/createCustomEvent.js +9 -0
  98. package/dist/collection/components/utils/getContrastColor.js +16 -0
  99. package/dist/collection/components/utils/isColorVariable.js +1 -1
  100. package/dist/collection/components/utils/styles.js +12 -0
  101. package/dist/collection/scripts/zonosBase.js +1 -0
  102. package/dist/collection/styles/stripe/addressRuleStyle.js +0 -3
  103. package/dist/collection/types/checkout/api/TempCart.js +1 -0
  104. package/dist/collection/types/generated/graphql.customer.types.js +73 -0
  105. package/dist/components/getContrastColor.js +18 -0
  106. package/dist/components/isColorVariable.js +1 -1
  107. package/dist/components/isDarkColor.js +1 -1
  108. package/dist/components/stripe.js +90 -25
  109. package/dist/components/trackConversionEvent.js +3 -1
  110. package/dist/components/zonos-address2.js +5 -2
  111. package/dist/components/zonos-badge2.js +3 -3
  112. package/dist/components/zonos-button2.js +30 -4
  113. package/dist/components/zonos-card2.js +2 -2
  114. package/dist/components/zonos-checkbox2.js +3 -3
  115. package/dist/components/zonos-checkout-finish2.js +15 -7
  116. package/dist/components/zonos-checkout-footer2.js +33 -17
  117. package/dist/components/zonos-checkout-progress-tabs.d.ts +11 -0
  118. package/dist/components/zonos-checkout-progress-tabs.js +6 -0
  119. package/dist/components/zonos-checkout-progress-tabs2.js +122 -0
  120. package/dist/components/zonos-checkout.js +277 -46
  121. package/dist/components/zonos-collapse2.js +2 -2
  122. package/dist/components/zonos-component.js +1 -1
  123. package/dist/components/zonos-controller.js +2 -2
  124. package/dist/components/zonos-country-select2.js +2 -2
  125. package/dist/components/zonos-custom-message2.js +1 -1
  126. package/dist/components/zonos-dialog2.js +4 -6
  127. package/dist/components/zonos-hello-dialog-footer2.js +2 -2
  128. package/dist/components/zonos-hello-dialog2.js +2 -2
  129. package/dist/components/zonos-hello.js +17 -3
  130. package/dist/components/zonos-icon2.js +5 -1
  131. package/dist/components/zonos-language-select2.js +3 -3
  132. package/dist/components/zonos-link-authentication2.js +1 -1
  133. package/dist/components/zonos-link.js +1 -1
  134. package/dist/components/zonos-logo.js +2 -2
  135. package/dist/components/zonos-payment2.js +1 -1
  136. package/dist/components/zonos-review2.js +1 -1
  137. package/dist/components/zonos-select-dialog-header2.js +2 -2
  138. package/dist/components/zonos-shipping-rich-radio2.js +11 -1
  139. package/dist/components/zonos-shipping2.js +44 -25
  140. package/dist/components/zonos-text2.js +5 -1
  141. package/dist/components/zonos-tooltip2.js +2 -2
  142. package/dist/components/zonos-v-stack2.js +2 -2
  143. package/dist/components/zonosStore.js +20 -3
  144. package/dist/esm/{cart-5a88b4f3.js → cart-cc09eaef.js} +93 -28
  145. package/dist/esm/{getBorderRadius-5d750ab8.js → getBorderRadius-a89e45fb.js} +1 -1
  146. package/dist/esm/getContrastColor-5fbc4746.js +18 -0
  147. package/dist/esm/{isColorVariable-91c33804.js → isColorVariable-fbf2d80d.js} +1 -1
  148. package/dist/esm/{isDarkColor-c34dfed9.js → isDarkColor-6bf71e51.js} +2 -2
  149. package/dist/esm/loader.js +1 -1
  150. package/dist/esm/{submitGtag-289ddd8b.js → submitGtag-2eedb117.js} +15 -3
  151. package/dist/esm/zonos-address_4.entry.js +15 -12
  152. package/dist/esm/zonos-badge_2.entry.js +6 -6
  153. package/dist/esm/zonos-banner.entry.js +1 -1
  154. package/dist/esm/{zonos-button_3.entry.js → zonos-button_2.entry.js} +35 -36
  155. package/dist/esm/zonos-card_2.entry.js +8 -8
  156. package/dist/esm/{zonos-cart-items_9.entry.js → zonos-cart-items_10.entry.js} +164 -54
  157. package/dist/esm/zonos-checkout.entry.js +249 -26
  158. package/dist/esm/zonos-component.entry.js +1 -1
  159. package/dist/esm/zonos-controller.entry.js +5 -5
  160. package/dist/esm/zonos-country-flag.entry.js +4 -4
  161. package/dist/esm/zonos-country-select_3.entry.js +9 -9
  162. package/dist/esm/zonos-elements.js +1 -1
  163. package/dist/esm/zonos-hello-dialog.entry.js +5 -5
  164. package/dist/esm/zonos-hello.entry.js +16 -4
  165. package/dist/esm/zonos-icon.entry.js +35 -0
  166. package/dist/esm/zonos-link.entry.js +1 -1
  167. package/dist/esm/zonos-logo.entry.js +3 -3
  168. package/dist/esm/zonos-notification.entry.js +1 -1
  169. package/dist/esm/zonos-payment.entry.js +5 -5
  170. package/dist/esm/zonos-select-dialog-header_2.entry.js +5 -5
  171. package/dist/esm/zonos-shipping-rich-radio.entry.js +13 -4
  172. package/dist/esm/zonos-text.entry.js +6 -2
  173. package/dist/esm/{zonosStore-aac7c6ac.js → zonosStore-c4c45591.js} +20 -3
  174. package/dist/esm-es5/cart-cc09eaef.js +1 -0
  175. package/dist/esm-es5/{getBorderRadius-5d750ab8.js → getBorderRadius-a89e45fb.js} +1 -1
  176. package/dist/esm-es5/getContrastColor-5fbc4746.js +1 -0
  177. package/dist/esm-es5/isColorVariable-fbf2d80d.js +1 -0
  178. package/dist/esm-es5/{isDarkColor-c34dfed9.js → isDarkColor-6bf71e51.js} +1 -1
  179. package/dist/esm-es5/loader.js +1 -1
  180. package/dist/esm-es5/submitGtag-2eedb117.js +1 -0
  181. package/dist/esm-es5/zonos-address_4.entry.js +1 -1
  182. package/dist/esm-es5/zonos-badge_2.entry.js +1 -1
  183. package/dist/esm-es5/zonos-banner.entry.js +1 -1
  184. package/dist/esm-es5/zonos-button_2.entry.js +1 -0
  185. package/dist/esm-es5/zonos-card_2.entry.js +1 -1
  186. package/dist/esm-es5/zonos-cart-items_10.entry.js +1 -0
  187. package/dist/esm-es5/zonos-checkout.entry.js +1 -1
  188. package/dist/esm-es5/zonos-component.entry.js +1 -1
  189. package/dist/esm-es5/zonos-controller.entry.js +1 -1
  190. package/dist/esm-es5/zonos-country-flag.entry.js +1 -1
  191. package/dist/esm-es5/zonos-country-select_3.entry.js +1 -1
  192. package/dist/esm-es5/zonos-elements.js +1 -1
  193. package/dist/esm-es5/zonos-hello-dialog.entry.js +1 -1
  194. package/dist/esm-es5/zonos-hello.entry.js +1 -1
  195. package/dist/esm-es5/zonos-icon.entry.js +1 -0
  196. package/dist/esm-es5/zonos-link.entry.js +1 -1
  197. package/dist/esm-es5/zonos-logo.entry.js +1 -1
  198. package/dist/esm-es5/zonos-notification.entry.js +1 -1
  199. package/dist/esm-es5/zonos-payment.entry.js +1 -1
  200. package/dist/esm-es5/zonos-select-dialog-header_2.entry.js +1 -1
  201. package/dist/esm-es5/zonos-shipping-rich-radio.entry.js +1 -1
  202. package/dist/esm-es5/zonos-text.entry.js +1 -1
  203. package/dist/esm-es5/{zonosStore-aac7c6ac.js → zonosStore-c4c45591.js} +1 -1
  204. package/dist/scripts/getTempCartById.js +1 -0
  205. package/dist/scripts/loadZonos.js +1 -1
  206. package/dist/scripts/zonos.js +1 -1
  207. package/dist/scripts/zonosBase.js +1 -1
  208. package/dist/types/components/checkout/zonos-checkout/zonos-checkout-footer/zonos-checkout-footer.d.ts +14 -2
  209. package/dist/types/components/checkout/zonos-checkout/zonos-checkout.d.ts +7 -1
  210. package/dist/types/components/checkout/zonos-checkout/zonos-shipping/zonos-shipping.d.ts +7 -0
  211. package/dist/types/components/common/zonos-button/zonos-button.d.ts +1 -0
  212. package/dist/types/components/common/zonos-checkbox/zonos-checkbox.d.ts +1 -1
  213. package/dist/types/components/common/zonos-checkout-progress-tabs/zonos-checkout-progress-tabs.d.ts +29 -0
  214. package/dist/types/components/common/zonos-dialog/zonos-dialog.d.ts +1 -6
  215. package/dist/types/components/common/zonos-icon/zonos-icon.d.ts +4 -2
  216. package/dist/types/components/common/zonos-logo/zonos-logo.d.ts +1 -1
  217. package/dist/types/components/common/zonos-shipping-rich-radio/zonos-shipping-rich-radio.d.ts +7 -1
  218. package/dist/types/components/common/zonos-text/zonos-text.d.ts +3 -1
  219. package/dist/types/components/hello/zonos-hello/zonos-hello.d.ts +1 -0
  220. package/dist/types/components/hello/zonos-hello-dialog/zonos-hello-dialog.d.ts +2 -1
  221. package/dist/types/components/store/checkout/cart.d.ts +19 -4
  222. package/dist/types/components/store/translationStore/strings.arabic.d.ts +3 -0
  223. package/dist/types/components/store/translationStore/strings.base.d.ts +3 -0
  224. package/dist/types/components/store/translationStore/strings.chinese.d.ts +3 -0
  225. package/dist/types/components/store/translationStore/strings.danish.d.ts +3 -0
  226. package/dist/types/components/store/translationStore/strings.dutch.d.ts +3 -0
  227. package/dist/types/components/store/translationStore/strings.french.d.ts +3 -0
  228. package/dist/types/components/store/translationStore/strings.german.d.ts +3 -0
  229. package/dist/types/components/store/translationStore/strings.hebrew.d.ts +3 -0
  230. package/dist/types/components/store/translationStore/strings.indonesian.d.ts +3 -0
  231. package/dist/types/components/store/translationStore/strings.italian.d.ts +3 -0
  232. package/dist/types/components/store/translationStore/strings.japanese.d.ts +3 -0
  233. package/dist/types/components/store/translationStore/strings.korean.d.ts +3 -0
  234. package/dist/types/components/store/translationStore/strings.norwegian.d.ts +3 -0
  235. package/dist/types/components/store/translationStore/strings.polish.d.ts +3 -0
  236. package/dist/types/components/store/translationStore/strings.portuguese.d.ts +3 -0
  237. package/dist/types/components/store/translationStore/strings.russian.d.ts +3 -0
  238. package/dist/types/components/store/translationStore/strings.spanish.d.ts +3 -0
  239. package/dist/types/components/store/translationStore/strings.swedish.d.ts +3 -0
  240. package/dist/types/components/store/translationStore/strings.turkish.d.ts +3 -0
  241. package/dist/types/components/store/translationStore/strings.vietnamese.d.ts +3 -0
  242. package/dist/types/components/store/zonosStore.d.ts +11 -2
  243. package/dist/types/components/utils/api/buildCartItemsByTempCart.d.ts +7 -0
  244. package/dist/types/components/utils/api/getLocaleMessages.d.ts +1 -1
  245. package/dist/types/components/utils/api/tempCartItem/getAttributes.d.ts +11 -0
  246. package/dist/types/components/utils/api/tempCartItem/getMeasurements.d.ts +7 -0
  247. package/dist/types/components/utils/changeDeepProperty.d.ts +1 -1
  248. package/dist/types/components/utils/changeDeepPropertyAtIndex.d.ts +1 -1
  249. package/dist/types/components/utils/createCustomEvent.d.ts +12 -0
  250. package/dist/types/components/utils/getBorderRadius.d.ts +1 -1
  251. package/dist/types/components/utils/getContrastColor.d.ts +4 -0
  252. package/dist/types/components/utils/handleFetch.d.ts +2 -1
  253. package/dist/types/components/utils/isColorVariable.d.ts +1 -1
  254. package/dist/types/components/utils/styles.d.ts +7 -0
  255. package/dist/types/components.d.ts +69 -18
  256. package/dist/types/scripts/zonosBase.d.ts +10 -1
  257. package/dist/types/styles/stripe/addressRuleStyle.d.ts +2 -1
  258. package/dist/types/types/checkout/CheckoutConfig.d.ts +6 -1
  259. package/dist/types/types/checkout/api/TempCart.d.ts +80 -0
  260. package/dist/types/types/generated/graphql.customer.types.d.ts +97 -0
  261. package/dist/types/types/generated/graphql.customer.types.ts +135 -1
  262. package/dist/types/types/generated/graphql.frontend.types.d.ts +1 -1
  263. package/dist/types/types/generated/graphql.frontend.types.ts +1 -1
  264. package/dist/types/types/global.d.ts +10 -0
  265. package/dist/types/types/utils/deep/IDeepKeyofAtIndex.d.ts +1 -1
  266. package/dist/zonos-elements/assets/TabCheckmark.svg +3 -0
  267. package/dist/zonos-elements/{p-4ad5f307.system.entry.js → p-001518eb.system.entry.js} +1 -1
  268. package/dist/zonos-elements/p-07022f11.js +1 -0
  269. package/dist/zonos-elements/p-0fe52bae.system.entry.js +1 -0
  270. package/dist/zonos-elements/{p-14bf3658.entry.js → p-105a2e51.entry.js} +1 -1
  271. package/dist/zonos-elements/{p-a87803b7.system.entry.js → p-15cd4a76.system.entry.js} +1 -1
  272. package/dist/zonos-elements/{p-482371fb.system.entry.js → p-160cdf4e.system.entry.js} +1 -1
  273. package/dist/zonos-elements/p-167b3369.system.js +1 -0
  274. package/dist/zonos-elements/p-171eb334.entry.js +1 -0
  275. package/dist/zonos-elements/p-1bbdfae5.js +1 -0
  276. package/dist/zonos-elements/p-1d833f22.system.entry.js +1 -0
  277. package/dist/zonos-elements/{p-dad00ad3.system.entry.js → p-1df9ab6a.system.entry.js} +1 -1
  278. package/dist/zonos-elements/p-1f54c83e.entry.js +1 -0
  279. package/dist/zonos-elements/{p-27d57265.system.entry.js → p-20b080d1.system.entry.js} +1 -1
  280. package/dist/zonos-elements/{p-333da541.entry.js → p-215cd7ec.entry.js} +1 -1
  281. package/dist/zonos-elements/p-26e8f37a.entry.js +1 -0
  282. package/dist/zonos-elements/{p-77727098.system.js → p-41c2b1c5.system.js} +1 -1
  283. package/dist/zonos-elements/p-425865fd.system.entry.js +1 -0
  284. package/dist/zonos-elements/{p-5f2cb4b6.entry.js → p-43022147.entry.js} +1 -1
  285. package/dist/zonos-elements/{p-188ddbe2.entry.js → p-4515ec7b.entry.js} +1 -1
  286. package/dist/zonos-elements/{p-9db3028d.entry.js → p-470284a3.entry.js} +1 -1
  287. package/dist/zonos-elements/p-4c9367f1.entry.js +1 -0
  288. package/dist/zonos-elements/{p-770384fa.system.entry.js → p-4d7b27af.system.entry.js} +1 -1
  289. package/dist/zonos-elements/p-55519ef5.system.js +1 -0
  290. package/dist/zonos-elements/{p-8445a084.system.entry.js → p-5ba91f13.system.entry.js} +1 -1
  291. package/dist/zonos-elements/p-6484bf31.system.js +1 -0
  292. package/dist/zonos-elements/p-6a1b934d.system.entry.js +1 -0
  293. package/dist/zonos-elements/{p-a725946f.entry.js → p-6bd4b5e6.entry.js} +1 -1
  294. package/dist/zonos-elements/{p-7e355496.system.entry.js → p-6c5c5377.system.entry.js} +1 -1
  295. package/dist/zonos-elements/p-6e81adba.system.js +1 -1
  296. package/dist/zonos-elements/p-72c6bf0f.entry.js +1 -0
  297. package/dist/zonos-elements/p-7575a42a.js +1 -0
  298. package/dist/zonos-elements/p-7f9889bd.system.entry.js +1 -0
  299. package/dist/zonos-elements/{p-c1e54094.system.js → p-86034f1e.system.js} +1 -1
  300. package/dist/zonos-elements/p-9a1db995.entry.js +1 -0
  301. package/dist/zonos-elements/{p-77c54b83.js → p-9a90fb56.js} +1 -1
  302. package/dist/zonos-elements/{p-d5a9dfc7.entry.js → p-9bdcd7b6.entry.js} +1 -1
  303. package/dist/zonos-elements/{p-edbea8df.system.js → p-9db2f9d1.system.js} +1 -1
  304. package/dist/zonos-elements/p-a144d26a.system.entry.js +1 -0
  305. package/dist/zonos-elements/{p-93e51987.system.entry.js → p-a2f71e4f.system.entry.js} +1 -1
  306. package/dist/zonos-elements/{p-6181f2d5.entry.js → p-ad499520.entry.js} +1 -1
  307. package/dist/zonos-elements/{p-e4e1ca2f.system.entry.js → p-b4c23bb5.system.entry.js} +1 -1
  308. package/dist/zonos-elements/{p-315c1fc2.entry.js → p-b62aee3d.entry.js} +1 -1
  309. package/dist/zonos-elements/{p-e969cec9.entry.js → p-b8718429.entry.js} +1 -1
  310. package/dist/zonos-elements/{p-25fbcefe.system.entry.js → p-ba5596ae.system.entry.js} +1 -1
  311. package/dist/zonos-elements/p-beba218e.js +1 -0
  312. package/dist/zonos-elements/p-c7f11c60.entry.js +1 -0
  313. package/dist/zonos-elements/{p-febddb45.entry.js → p-d4222f1f.entry.js} +1 -1
  314. package/dist/zonos-elements/p-dde4c859.system.entry.js +1 -0
  315. package/dist/zonos-elements/p-e28ed57c.js +1 -0
  316. package/dist/zonos-elements/p-e3a3e376.entry.js +1 -0
  317. package/dist/zonos-elements/{p-a578facf.entry.js → p-e3de496a.entry.js} +1 -1
  318. package/dist/zonos-elements/{p-afcded5d.system.js → p-ed23a5df.system.js} +1 -1
  319. package/dist/zonos-elements/{p-e392e212.system.entry.js → p-ed597cc9.system.entry.js} +1 -1
  320. package/dist/zonos-elements/{p-d0d12a64.entry.js → p-f1037168.entry.js} +1 -1
  321. package/dist/zonos-elements/{p-c6de2e40.system.entry.js → p-f42bffad.system.entry.js} +1 -1
  322. package/dist/zonos-elements/{p-0b4910fe.system.entry.js → p-f62b49aa.system.entry.js} +1 -1
  323. package/dist/zonos-elements/p-fa3d0aea.js +1 -0
  324. package/dist/zonos-elements/zonos-elements.esm.js +1 -1
  325. package/package.json +1 -1
  326. package/dist/esm-es5/cart-5a88b4f3.js +0 -1
  327. package/dist/esm-es5/isColorVariable-91c33804.js +0 -1
  328. package/dist/esm-es5/submitGtag-289ddd8b.js +0 -1
  329. package/dist/esm-es5/zonos-button_3.entry.js +0 -1
  330. package/dist/esm-es5/zonos-cart-items_9.entry.js +0 -1
  331. package/dist/zonos-elements/p-144f4d31.entry.js +0 -1
  332. package/dist/zonos-elements/p-4569bc92.js +0 -1
  333. package/dist/zonos-elements/p-49a5be72.js +0 -1
  334. package/dist/zonos-elements/p-4c414a92.js +0 -1
  335. package/dist/zonos-elements/p-5c991faa.system.entry.js +0 -1
  336. package/dist/zonos-elements/p-691d8075.entry.js +0 -1
  337. package/dist/zonos-elements/p-723628b7.js +0 -1
  338. package/dist/zonos-elements/p-87c4ac09.system.entry.js +0 -1
  339. package/dist/zonos-elements/p-9f532a3f.entry.js +0 -1
  340. package/dist/zonos-elements/p-afc0460d.entry.js +0 -1
  341. package/dist/zonos-elements/p-ca6b4c1e.system.entry.js +0 -1
  342. package/dist/zonos-elements/p-d2885590.system.js +0 -1
  343. package/dist/zonos-elements/p-d7690752.system.entry.js +0 -1
  344. package/dist/zonos-elements/p-d9c65636.system.js +0 -1
  345. package/dist/zonos-elements/p-dd153a4e.entry.js +0 -1
  346. package/dist/zonos-elements/p-def8823e.entry.js +0 -1
  347. package/dist/zonos-elements/p-e4749f19.js +0 -1
  348. package/dist/zonos-elements/p-e87e8c9c.system.entry.js +0 -1
  349. package/dist/zonos-elements/p-f1170e7b.entry.js +0 -1
  350. package/dist/zonos-elements/p-fe0930e4.system.entry.js +0 -1
@@ -1,6 +1,6 @@
1
- import { c as createStore, z as zonosStore } from './zonosStore-aac7c6ac.js';
2
- import { i as isDarkColor } from './isDarkColor-c34dfed9.js';
3
- import { g as getBorderRadius } from './getBorderRadius-5d750ab8.js';
1
+ import { c as createStore, z as zonosStore } from './zonosStore-c4c45591.js';
2
+ import { i as isDarkColor } from './isDarkColor-6bf71e51.js';
3
+ import { g as getBorderRadius } from './getBorderRadius-a89e45fb.js';
4
4
 
5
5
  const stringsArabic = {
6
6
  'Above de minimis threshold for': {
@@ -66,6 +66,9 @@ const stringsArabic = {
66
66
  'No shipping method selected': {
67
67
  value: 'لم يتم تحديد طريقة الشحن',
68
68
  },
69
+ 'No shipping methods found - please review and update your address details by selecting the "Customer" tab above. If you continue to encounter issues, contact our support team for assistance.': {
70
+ value: 'لم يتم العثور على طرق شحن - يرجى مراجعة وتحديث تفاصيل عنوانك بتحديد علامة التبويب "العميل" أعلاه. إذا واصلت مواجهة مشكلات، اتصل بفريق الدعم لدينا للحصول على المساعدة.',
71
+ },
69
72
  'No shipping methods found - try editing your address or contacting support if the error persists': {
70
73
  value: 'لم يتم العثور على طرق شحن - جرب تحرير عنوانك أو الاتصال بالدعم إذا استمر الخطأ',
71
74
  },
@@ -246,6 +249,9 @@ const stringsBase = {
246
249
  'No shipping method selected': {
247
250
  value: 'No shipping method selected',
248
251
  },
252
+ 'No shipping methods found - please review and update your address details by selecting the "Customer" tab above. If you continue to encounter issues, contact our support team for assistance.': {
253
+ value: 'No shipping methods found - please review and update your address details by selecting the "Customer" tab above. If you continue to encounter issues, contact our support team for assistance.',
254
+ },
249
255
  'No shipping methods found - try editing your address or contacting support if the error persists': {
250
256
  value: 'No shipping methods found - try editing your address or contacting support if the error persists',
251
257
  },
@@ -426,6 +432,9 @@ const stringsChinese = {
426
432
  'No shipping method selected': {
427
433
  value: '未选择运输方式',
428
434
  },
435
+ 'No shipping methods found - please review and update your address details by selecting the "Customer" tab above. If you continue to encounter issues, contact our support team for assistance.': {
436
+ value: '未找到配送方式 - 请通过选择上方的"客户"标签,检查并更新您的地址详情。如果您继续遇到问题,请联系我们的支持团队寻求帮助。',
437
+ },
429
438
  'No shipping methods found - try editing your address or contacting support if the error persists': {
430
439
  value: '未找到运输方法 - 如果错误仍然存在,请尝试编辑您的地址或联系支持',
431
440
  },
@@ -606,6 +615,9 @@ const stringsDanish = {
606
615
  'No shipping method selected': {
607
616
  value: 'Ingen leveringsmetode valgt',
608
617
  },
618
+ 'No shipping methods found - please review and update your address details by selecting the "Customer" tab above. If you continue to encounter issues, contact our support team for assistance.': {
619
+ value: 'Ingen leveringsmetoder fundet - venligst gennemgå og opdater dine adresseoplysninger ved at vælge "Kunde" fanen ovenfor. Hvis du fortsætter med at opleve problemer, kontakt da vores supportteam for assistance.',
620
+ },
609
621
  'No shipping methods found - try editing your address or contacting support if the error persists': {
610
622
  value: 'Ingen forsendelsesmetoder fundet - prøv at redigere din adresse eller kontakte support, hvis fejlen fortsætter',
611
623
  },
@@ -786,6 +798,9 @@ const stringsDutch = {
786
798
  'No shipping method selected': {
787
799
  value: 'Geen verzendmethode geselecteerd',
788
800
  },
801
+ 'No shipping methods found - please review and update your address details by selecting the "Customer" tab above. If you continue to encounter issues, contact our support team for assistance.': {
802
+ value: 'Geen verzendmethoden gevonden - gelieve uw adresgegevens te controleren en bij te werken door het tabblad "Klant" hierboven te selecteren. Als u problemen blijft ondervinden, neem dan contact op met ons ondersteuningsteam voor hulp.',
803
+ },
789
804
  'No shipping methods found - try editing your address or contacting support if the error persists': {
790
805
  value: 'Geen verzendmethoden gevonden - probeer uw adres te bewerken of neem contact op met de ondersteuning als de fout aanhoudt',
791
806
  },
@@ -966,6 +981,9 @@ const stringsFrench = {
966
981
  'No shipping method selected': {
967
982
  value: 'Aucune méthode de livraison sélectionnée',
968
983
  },
984
+ 'No shipping methods found - please review and update your address details by selecting the "Customer" tab above. If you continue to encounter issues, contact our support team for assistance.': {
985
+ value: "Aucune méthode d'expédition trouvée - veuillez vérifier et mettre à jour vos détails d'adresse en sélectionnant l'onglet 'Client' ci-dessus. Si vous continuez à rencontrer des problèmes, contactez notre équipe de support pour assistance.",
986
+ },
969
987
  'No shipping methods found - try editing your address or contacting support if the error persists': {
970
988
  value: "Aucune méthode d'expédition trouvée - essayez de modifier votre adresse ou de contacter le support si l'erreur persiste",
971
989
  },
@@ -1146,6 +1164,9 @@ const stringsGerman = {
1146
1164
  'No shipping method selected': {
1147
1165
  value: 'Keine Versandart ausgewählt',
1148
1166
  },
1167
+ 'No shipping methods found - please review and update your address details by selecting the "Customer" tab above. If you continue to encounter issues, contact our support team for assistance.': {
1168
+ value: 'Keine Versandmethoden gefunden - bitte überprüfen und aktualisieren Sie Ihre Adressangaben, indem Sie den Reiter "Kunde" oben auswählen. Wenn Sie weiterhin Probleme haben, kontaktieren Sie unser Support-Team zur Unterstützung.',
1169
+ },
1149
1170
  'No shipping methods found - try editing your address or contacting support if the error persists': {
1150
1171
  value: 'Keine Versandmethoden gefunden - versuchen Sie, Ihre Adresse zu bearbeiten, oder kontaktieren Sie den Support, wenn der Fehler weiterhin besteht',
1151
1172
  },
@@ -1326,6 +1347,9 @@ const stringsHebrew = {
1326
1347
  'No shipping method selected': {
1327
1348
  value: 'לא נבחרה שיטת משלוח',
1328
1349
  },
1350
+ 'No shipping methods found - please review and update your address details by selecting the "Customer" tab above. If you continue to encounter issues, contact our support team for assistance.': {
1351
+ value: 'לא נמצאו שיטות משלוח - אנא בדוק ועדכן את פרטי הכתובת שלך על ידי בחירת הכרטיסייה "לקוח" למעלה. אם אתה ממשיך להיתקל בבעיות, צור קשר עם צוות התמיכה שלנו לעזרה.',
1352
+ },
1329
1353
  'No shipping methods found - try editing your address or contacting support if the error persists': {
1330
1354
  value: 'לא נמצאו שיטות משלוח - נסו לערוך את הכתובת שלך או ליצור קשר עם התמיכה אם השגיאה ממשיכה',
1331
1355
  },
@@ -1506,6 +1530,9 @@ const stringsIndonesian = {
1506
1530
  'No shipping method selected': {
1507
1531
  value: 'Tidak ada metode pengiriman yang dipilih',
1508
1532
  },
1533
+ 'No shipping methods found - please review and update your address details by selecting the "Customer" tab above. If you continue to encounter issues, contact our support team for assistance.': {
1534
+ value: 'Tidak ditemukan metode pengiriman - silakan tinjau dan perbarui detail alamat Anda dengan memilih tab "Pelanggan" di atas. Jika Anda terus mengalami masalah, hubungi tim dukungan kami untuk bantuan.',
1535
+ },
1509
1536
  'No shipping methods found - try editing your address or contacting support if the error persists': {
1510
1537
  value: 'Tidak ditemukan metode pengiriman - coba edit alamat Anda atau hubungi dukungan jika kesalahan masih berlanjut',
1511
1538
  },
@@ -1686,6 +1713,9 @@ const stringsItalian = {
1686
1713
  'No shipping method selected': {
1687
1714
  value: 'Nessun metodo di spedizione selezionato',
1688
1715
  },
1716
+ 'No shipping methods found - please review and update your address details by selecting the "Customer" tab above. If you continue to encounter issues, contact our support team for assistance.': {
1717
+ value: 'Nessun metodo di spedizione trovato - si prega di rivedere e aggiornare i dettagli del vostro indirizzo selezionando la scheda "Cliente" sopra. Se continuate a incontrare problemi, contattate il nostro team di supporto per assistenza.',
1718
+ },
1689
1719
  'No shipping methods found - try editing your address or contacting support if the error persists': {
1690
1720
  value: "Nessun metodo di spedizione trovato - prova a modificare il tuo indirizzo o contatta il supporto se l'errore persiste",
1691
1721
  },
@@ -1866,6 +1896,9 @@ const stringsJapanese = {
1866
1896
  'No shipping method selected': {
1867
1897
  value: '配送方法が選択されていません',
1868
1898
  },
1899
+ 'No shipping methods found - please review and update your address details by selecting the "Customer" tab above. If you continue to encounter issues, contact our support team for assistance.': {
1900
+ value: '配送方法が見つかりませんでした - 上の「顧客」タブを選択して住所の詳細を確認し、更新してください。引き続き問題が発生する場合は、サポートチームに連絡して支援を受けてください。',
1901
+ },
1869
1902
  'No shipping methods found - try editing your address or contacting support if the error persists': {
1870
1903
  value: '配送方法が見つかりません - 住所を編集するか、エラーが続く場合はサポートにお問い合わせください',
1871
1904
  },
@@ -2046,6 +2079,9 @@ const stringsKorean = {
2046
2079
  'No shipping method selected': {
2047
2080
  value: '선택된 배송 방법이 없습니다',
2048
2081
  },
2082
+ 'No shipping methods found - please review and update your address details by selecting the "Customer" tab above. If you continue to encounter issues, contact our support team for assistance.': {
2083
+ value: '배송 방법을 찾을 수 없습니다 - 위의 "고객" 탭을 선택하여 주소 세부 정보를 검토하고 업데이트하십시오. 문제가 계속 발생하는 경우, 지원 팀에 연락하여 도움을 받으십시오.',
2084
+ },
2049
2085
  'No shipping methods found - try editing your address or contacting support if the error persists': {
2050
2086
  value: '배송 방법을 찾을 수 없습니다 - 주소를 편집하거나 오류가 계속되는 경우 지원팀에 문의하세요',
2051
2087
  },
@@ -2226,6 +2262,9 @@ const stringsNorwegian = {
2226
2262
  'No shipping method selected': {
2227
2263
  value: 'Ingen fraktmetode valgt',
2228
2264
  },
2265
+ 'No shipping methods found - please review and update your address details by selecting the "Customer" tab above. If you continue to encounter issues, contact our support team for assistance.': {
2266
+ value: 'Ingen fraktmetoder funnet - vennligst se over og oppdater dine adresseopplysninger ved å velge "Kunde"-fanen ovenfor. Hvis du fortsetter å oppleve problemer, kontakt vårt støtteteam for assistanse.',
2267
+ },
2229
2268
  'No shipping methods found - try editing your address or contacting support if the error persists': {
2230
2269
  value: 'Ingen fraktmetoder funnet - prøv å redigere adressen din eller kontakte støtte hvis feilen fortsetter',
2231
2270
  },
@@ -2406,6 +2445,9 @@ const stringsPolish = {
2406
2445
  'No shipping method selected': {
2407
2446
  value: 'Nie wybrano metody wysyłki',
2408
2447
  },
2448
+ 'No shipping methods found - please review and update your address details by selecting the "Customer" tab above. If you continue to encounter issues, contact our support team for assistance.': {
2449
+ value: 'Nie znaleziono metod wysyłki - proszę przejrzeć i zaktualizować szczegóły adresu, wybierając zakładkę "Klient" powyżej. Jeśli nadal napotykasz problemy, skontaktuj się z naszym zespołem wsparcia w celu uzyskania pomocy.',
2450
+ },
2409
2451
  'No shipping methods found - try editing your address or contacting support if the error persists': {
2410
2452
  value: 'Nie znaleziono metod dostawy - spróbuj edytować swój adres lub skontaktować się z obsługą, jeśli błąd będzie się utrzymywać',
2411
2453
  },
@@ -2586,6 +2628,9 @@ const stringsPortuguese = {
2586
2628
  'No shipping method selected': {
2587
2629
  value: 'Nenhum método de envio selecionado',
2588
2630
  },
2631
+ 'No shipping methods found - please review and update your address details by selecting the "Customer" tab above. If you continue to encounter issues, contact our support team for assistance.': {
2632
+ value: 'Nenhum método de envio encontrado - por favor, revise e atualize os detalhes do seu endereço selecionando a aba "Cliente" acima. Se você continuar encontrando problemas, entre em contato com nossa equipe de suporte para assistência.',
2633
+ },
2589
2634
  'No shipping methods found - try editing your address or contacting support if the error persists': {
2590
2635
  value: 'Nenhum método de envio encontrado - tente editar seu endereço ou entrar em contato com o suporte se o erro persistir',
2591
2636
  },
@@ -2766,6 +2811,9 @@ const stringsRussian = {
2766
2811
  'No shipping method selected': {
2767
2812
  value: 'Метод доставки не выбран',
2768
2813
  },
2814
+ 'No shipping methods found - please review and update your address details by selecting the "Customer" tab above. If you continue to encounter issues, contact our support team for assistance.': {
2815
+ value: 'Способы доставки не найдены - пожалуйста, проверьте и обновите детали вашего адреса, выбрав вкладку "Клиент" выше. Если вы продолжаете сталкиваться с проблемами, свяжитесь с нашей службой поддержки за помощью.',
2816
+ },
2769
2817
  'No shipping methods found - try editing your address or contacting support if the error persists': {
2770
2818
  value: 'Не найдено методов доставки - попробуйте отредактировать ваш адрес или свяжитесь с поддержкой, если ошибка сохраняется',
2771
2819
  },
@@ -2946,6 +2994,9 @@ const stringsSpanish = {
2946
2994
  'No shipping method selected': {
2947
2995
  value: 'No se ha seleccionado un método de envío',
2948
2996
  },
2997
+ 'No shipping methods found - please review and update your address details by selecting the "Customer" tab above. If you continue to encounter issues, contact our support team for assistance.': {
2998
+ value: 'No se encontraron métodos de envío - por favor revise y actualice los detalles de su dirección seleccionando la pestaña "Cliente" arriba. Si continúa encontrando problemas, contacte a nuestro equipo de soporte para obtener ayuda.',
2999
+ },
2949
3000
  'No shipping methods found - try editing your address or contacting support if the error persists': {
2950
3001
  value: 'No se encontraron métodos de envío: intenta editar tu dirección o contactar al soporte si el error persiste',
2951
3002
  },
@@ -3126,6 +3177,9 @@ const stringsSwedish = {
3126
3177
  'No shipping method selected': {
3127
3178
  value: 'Ingen fraktmetod vald',
3128
3179
  },
3180
+ 'No shipping methods found - please review and update your address details by selecting the "Customer" tab above. If you continue to encounter issues, contact our support team for assistance.': {
3181
+ value: 'Inga leveransmetoder hittades - vänligen granska och uppdatera dina adressuppgifter genom att välja "Kund"-fliken ovan. Om du fortsätter att stöta på problem, kontakta vårt supportteam för hjälp.',
3182
+ },
3129
3183
  'No shipping methods found - try editing your address or contacting support if the error persists': {
3130
3184
  value: 'Inga leveransmetoder hittades - försök redigera din adress eller kontakta supporten om felet kvarstår',
3131
3185
  },
@@ -3306,6 +3360,9 @@ const stringsTurkish = {
3306
3360
  'No shipping method selected': {
3307
3361
  value: 'Kargo yöntemi seçilmedi',
3308
3362
  },
3363
+ 'No shipping methods found - please review and update your address details by selecting the "Customer" tab above. If you continue to encounter issues, contact our support team for assistance.': {
3364
+ value: 'Gönderim yöntemleri bulunamadı - lütfen "Müşteri" sekmesini yukarıdan seçerek adres detaylarınızı gözden geçirin ve güncelleyin. Sorunlarla karşılaşmaya devam ederseniz, yardım için destek ekibimizle iletişime geçin.',
3365
+ },
3309
3366
  'No shipping methods found - try editing your address or contacting support if the error persists': {
3310
3367
  value: 'Hiçbir gönderi yöntemi bulunamadı - eğer hata devam ediyorsa adresinizi düzenlemeyi deneyin veya destekle iletişime geçin',
3311
3368
  },
@@ -3486,6 +3543,9 @@ const stringsVietnamese = {
3486
3543
  'No shipping method selected': {
3487
3544
  value: 'Chưa chọn phương thức vận chuyển',
3488
3545
  },
3546
+ 'No shipping methods found - please review and update your address details by selecting the "Customer" tab above. If you continue to encounter issues, contact our support team for assistance.': {
3547
+ value: 'Không tìm thấy phương thức vận chuyển - vui lòng xem lại và cập nhật chi tiết địa chỉ của bạn bằng cách chọn tab "Khách hàng" phía trên. Nếu bạn tiếp tục gặp sự cố, hãy liên hệ với đội ngũ hỗ trợ của chúng tôi để được hỗ trợ.',
3548
+ },
3489
3549
  'No shipping methods found - try editing your address or contacting support if the error persists': {
3490
3550
  value: 'Không tìm thấy phương thức vận chuyển - hãy thử chỉnh sửa địa chỉ của bạn hoặc liên hệ hỗ trợ nếu lỗi vẫn tiếp tục',
3491
3551
  },
@@ -4409,9 +4469,6 @@ const addressRuleStyle = ({ theme, }) => {
4409
4469
  // any value here will be add up to the default paddingTop (20px).
4410
4470
  paddingTop: '6px',
4411
4471
  },
4412
- '.Input:focus': {
4413
- boxShadow: 'none',
4414
- },
4415
4472
  '.PickerItem--highlight': {
4416
4473
  boxShadow: '0 0 0 2px var(--colorBackground)',
4417
4474
  },
@@ -4633,6 +4690,9 @@ const stripeStorePrefetchLandedCost = async () => {
4633
4690
  }
4634
4691
  }
4635
4692
  catch (err) {
4693
+ // default to empty array if we fail to fetch landed cost, so we can show the error message
4694
+ cartStore.landedCostData = [];
4695
+ cartStore.shippingData = [];
4636
4696
  logError(err);
4637
4697
  }
4638
4698
  stripeStore.isFetchingLandedCost = false;
@@ -4817,6 +4877,7 @@ const getDaysDifference = (targetDate) => {
4817
4877
  const { onChange, reset, state: cartStore, } = createStore(() => ({
4818
4878
  checkoutSessionId: sessionStorage.getItem('zonos--checkout-session-id') || null,
4819
4879
  currency: 'USD',
4880
+ doneSteps: [],
4820
4881
  dutiesTaxFees: 0,
4821
4882
  error: null,
4822
4883
  exchangeRate: null,
@@ -4832,6 +4893,27 @@ const { onChange, reset, state: cartStore, } = createStore(() => ({
4832
4893
  shippingData: null,
4833
4894
  step: 'customer-info',
4834
4895
  subtotal: 0,
4896
+ tabItems: {
4897
+ 'customer-info': {
4898
+ index: 1,
4899
+ isDone: false,
4900
+ label: 'Customer',
4901
+ value: 'customer-info',
4902
+ },
4903
+ shipping: {
4904
+ index: 2,
4905
+ isDone: false,
4906
+ label: 'Delivery',
4907
+ value: 'shipping',
4908
+ },
4909
+ // eslint-disable-next-line sort-keys/sort-keys-fix
4910
+ payment: {
4911
+ index: 3,
4912
+ isDone: false,
4913
+ label: 'Payment',
4914
+ value: 'payment',
4915
+ },
4916
+ },
4835
4917
  total: 0,
4836
4918
  }));
4837
4919
  /**
@@ -4981,37 +5063,20 @@ const cartStoreUpdateItems = async (items) => {
4981
5063
  });
4982
5064
  stripeStore.isFetchingSession = false;
4983
5065
  };
4984
- const cartStoreResetSelectedShippingOption = () => {
4985
- cartStore.selectedShippingOption = null;
4986
- cartStore.isSelectedShippingAboveDeminimis = false;
4987
- cartStore.isSelectedShippingGuarantee = false;
4988
- cartStore.selectedShippingOptionExpectedDate = '';
4989
- cartStore.selectedShippingOptionTransitTime = '';
4990
- cartStore.dutiesTaxFees = 0;
4991
- cartStore.shipping = 0;
4992
- // reset total to subtotal
4993
- cartStore.total = cartStore.subtotal;
4994
- };
4995
5066
  const cartStoreNextStep = () => {
4996
5067
  if (cartStore.step === 'customer-info') {
4997
5068
  cartStore.step = 'shipping';
5069
+ // set customer-info step to done
5070
+ cartStore.tabItems = Object.assign(Object.assign({}, cartStore.tabItems), { 'customer-info': Object.assign(Object.assign({}, cartStore.tabItems['customer-info']), { isDone: true }) });
4998
5071
  }
4999
5072
  else if (cartStore.step === 'shipping') {
5000
5073
  cartStore.step = 'payment';
5074
+ // set shipping step to done
5075
+ cartStore.tabItems = Object.assign(Object.assign({}, cartStore.tabItems), { shipping: Object.assign(Object.assign({}, cartStore.tabItems.shipping), { isDone: true }) });
5001
5076
  }
5002
5077
  else if (cartStore.step === 'payment') {
5003
5078
  cartStore.step = 'finish';
5004
5079
  }
5005
5080
  };
5006
- const cartStorePreviousStep = () => {
5007
- if (cartStore.step === 'payment') {
5008
- cartStore.step = 'shipping';
5009
- }
5010
- else if (cartStore.step === 'shipping') {
5011
- cartStore.step = 'customer-info';
5012
- // reset selected shipping option
5013
- cartStoreResetSelectedShippingOption();
5014
- }
5015
- };
5016
5081
 
5017
- export { currencyConvertAndFormat as A, currencyConvert as B, currencyFormat as C, stripeStoreRetrievePayment as D, cartStoreUpdateSelectedShippingOption as E, cartStoreGetShippingTransitInfo as F, localizationStoreUpdateSelectedLocale as G, log as a, localizationStoreUpdateSelectedCountryCode as b, stripeStoreCleanupDomesticShippingSession as c, logError as d, stripeStoreSaveDomesticShippingSession as e, cartStore as f, cartStoreUpdateItems as g, cartStoreReset as h, initStripeElements as i, stripeStore as j, stripeStoreInitCheckoutSession as k, localizationStore as l, cartStoreUpdateToErrorState as m, stripeStorePrefetchLandedCost as n, cartStoreNextStep as o, stripeStoreConfirmPayment as p, stripeStoreReset as q, cartStorePreviousStep as r, stripeStoreGetDomesticShippingSession as s, translate as t, handleFetch as u, isValidSelector as v, initLocalizationStore as w, getZCountryUrlParam as x, setZCountryUrlParam as y, currencyDisplay as z };
5082
+ export { currencyConvert as A, currencyFormat as B, stripeStoreRetrievePayment as C, cartStoreUpdateSelectedShippingOption as D, cartStoreGetShippingTransitInfo as E, localizationStoreUpdateSelectedLocale as F, log as a, localizationStoreUpdateSelectedCountryCode as b, stripeStoreCleanupDomesticShippingSession as c, logError as d, stripeStoreSaveDomesticShippingSession as e, cartStore as f, cartStoreUpdateItems as g, cartStoreReset as h, initStripeElements as i, stripeStore as j, stripeStoreInitCheckoutSession as k, localizationStore as l, cartStoreUpdateToErrorState as m, stripeStorePrefetchLandedCost as n, cartStoreNextStep as o, stripeStoreConfirmPayment as p, stripeStoreReset as q, handleFetch as r, stripeStoreGetDomesticShippingSession as s, translate as t, isValidSelector as u, initLocalizationStore as v, getZCountryUrlParam as w, setZCountryUrlParam as x, currencyDisplay as y, currencyConvertAndFormat as z };
@@ -1,4 +1,4 @@
1
- import { z as zonosStore } from './zonosStore-aac7c6ac.js';
1
+ import { z as zonosStore } from './zonosStore-c4c45591.js';
2
2
 
3
3
  /**
4
4
  * Get the border radius for the elements based on the style
@@ -0,0 +1,18 @@
1
+ import { t as tinycolor, i as isDarkColor } from './isDarkColor-6bf71e51.js';
2
+
3
+ const getContrastColor = ({ backgroundColor, color, }) => {
4
+ // get readibility of the color
5
+ const colorReadibilityValue = tinycolor.readability(color, backgroundColor);
6
+ if (colorReadibilityValue > 2.5) {
7
+ // no need to change the color if it's already contrast enough
8
+ return color;
9
+ }
10
+ if (isDarkColor(color)) {
11
+ return '#ffffff';
12
+ }
13
+ else {
14
+ return tinycolor(color).darken(25).toHexString();
15
+ }
16
+ };
17
+
18
+ export { getContrastColor as g };
@@ -4,7 +4,7 @@ const isColorVariable = (color) => {
4
4
  (/--amino-/gi.test(color) ||
5
5
  // match 'gray-0'
6
6
  /(\-*)\w+-\d+/gi.test(color));
7
- return (isAminoVariable &&
7
+ return (!!isAminoVariable &&
8
8
  // match rgb, rgba, hsl, hsla, hex, and css variable
9
9
  !color.includes('(') &&
10
10
  // match hex
@@ -1,4 +1,4 @@
1
- import { a as commonjsGlobal } from './zonosStore-aac7c6ac.js';
1
+ import { a as commonjsGlobal } from './zonosStore-c4c45591.js';
2
2
 
3
3
  var tinycolor$1 = {exports: {}};
4
4
 
@@ -1196,4 +1196,4 @@ const isDarkColor = (color) => {
1196
1196
  return tinycolor(color).isDark();
1197
1197
  };
1198
1198
 
1199
- export { isDarkColor as i };
1199
+ export { isDarkColor as i, tinycolor as t };
@@ -5,7 +5,7 @@ import { g as globalScripts } from './app-globals-0f993ce5.js';
5
5
  const defineCustomElements = async (win, options) => {
6
6
  if (typeof window === 'undefined') return undefined;
7
7
  await globalScripts();
8
- return bootstrapLazy([["zonos-checkout",[[2,"zonos-checkout",{"appearanceSettingsOverride":[16],"preview":[4],"mobile":[4],"defaultAddress":[16],"forceDialogOpen":[4,"force-dialog-open"],"open":[32],"stripe":[32],"submitLoading":[32],"paymentError":[32],"collapseReviewMobile":[32],"isAttachError":[32],"isMobile":[32],"zonosReviewRef":[32],"storybookPaymentStatusOverride":[32],"domesticRedirectedBtnSelector":[32],"closeDialogHandler":[64],"init":[64],"setToFinishStep":[64]},[[16,"zonos--init-cart-info","initCartInfoHandler"],[9,"resize","handleWindowResize"]],{"appearanceSettingsOverride":["appearanceSettingsOverrideChanged"],"mobile":["handleMobileChange"]}]]],["zonos-hello",[[1,"zonos-hello",{"mobileLocationOverride":[1,"mobile-location-override"],"animateFromLeftOverride":[4,"animate-from-left-override"],"appearanceSettingsOverride":[16],"showPeekMessage":[32],"zonosStoreHelloSettings":[32],"showDialog":[32],"peekMessage":[32],"initialUrl":[32],"allRestrictedItems":[32],"allFoundProducts":[32],"productsOnPage":[32],"displayCurrency":[64],"convertAndFormat":[64],"convert":[64],"format":[64],"openHelloDialog":[64]},[[9,"resize","handleResize"]]]]],["zonos-controller",[[1,"zonos-controller",{"config":[16],"zonosApiKey":[1,"zonos-api-key"],"initCheckoutElement":[64],"setupGoogleFont":[64],"showNotification":[64],"overrideConfig":[64],"overrideCountry":[64],"getAppearanceSetting":[64],"updateOrganizationName":[64]}]]],["zonos-component",[[1,"zonos-component",{"first":[1],"middle":[1],"last":[1]}]]],["zonos-link",[[1,"zonos-link",{"href":[1],"rel":[1],"target":[1],"linkTitle":[1,"link-title"]}]]],["zonos-logo",[[1,"zonos-logo",{"theme":[1],"width":[1]}]]],["zonos-text",[[1,"zonos-text",{"textColor":[1,"text-color"],"size":[1],"type":[1],"weight":[2],"content":[1],"ready":[32]}]]],["zonos-hello-dialog",[[1,"zonos-hello-dialog",{"isOpen":[4,"is-open"],"setIsOpen":[16],"mobileLocationOverride":[1,"mobile-location-override"],"animateFromLeftOverride":[4,"animate-from-left-override"],"appearanceSettings":[16],"restrictedItems":[16],"welcomeMessage":[32],"showCountrySelect":[32],"showLanguageSelect":[32]},[[4,"click","globalClickHandler"]],{"isOpen":["isOpenHandler"]}]]],["zonos-notification",[[1,"zonos-notification",{"notificationArray":[32],"showNotification":[64]}]]],["zonos-payment",[[2,"zonos-payment",{"titleText":[1,"title-text"],"stripe":[32],"stripeElements":[32]},null,{"stripeElements":["watchInitStripe"],"stripe":["watchInitStripe"]}]]],["zonos-shipping-rich-radio",[[1,"zonos-shipping-rich-radio",{"items":[16],"borderColor":[1,"border-color"],"borderStyle":[1,"border-style"],"theme":[1],"selectedItem":[32]}]]],["zonos-badge_2",[[1,"zonos-badge",{"bold":[4],"badgeColor":[1,"badge-color"],"icon":[16],"iconRight":[4,"icon-right"],"size":[1],"rounded":[4]}],[1,"zonos-tooltip",{"label":[1],"subtitle":[1],"showTooltip":[32]}]]],["zonos-country-flag",[[1,"zonos-country-flag",{"countryCode":[1,"country-code"],"size":[2]}]]],["zonos-banner",[[1,"zonos-banner",{"bannerTitle":[1,"banner-title"],"intent":[1],"hasContent":[32]}]]],["zonos-button_3",[[1,"zonos-button",{"buttonColor":[1,"button-color"],"backgroundColor":[1,"background-color"],"borderStyle":[1,"border-style"],"isDisabled":[4,"is-disabled"],"icon":[16],"iconRight":[4,"icon-right"],"size":[1],"variant":[1],"noBackground":[4,"no-background"],"noPaddingLeft":[4,"no-padding-left"],"noPaddingRight":[4,"no-padding-right"],"loading":[4],"theme":[1],"hasIcon":[32],"hasContent":[32]},[[2,"click","clickHandler"]],{"icon":["iconChangeHandler"]}],[1,"zonos-icon",{"autoHeight":[4,"auto-height"],"iconColor":[1,"icon-color"],"content":[1],"size":[2]}],[1,"zonos-spinner",{"size":[2],"spinnerColor":[1,"spinner-color"]}]]],["zonos-select-dialog-header_2",[[1,"zonos-select-dialog-header",{"handleOnClose":[16],"label":[1]}],[1,"zonos-v-stack",{"spacing":[2]}]]],["zonos-card_2",[[1,"zonos-language-select",{"handleOnClose":[16]}],[1,"zonos-card",{"actions":[16],"footerActions":[16],"footerContent":[16],"footerHeight":[2,"footer-height"],"label":[16],"spacing":[1]}]]],["zonos-country-select_3",[[1,"zonos-country-select",{"handleOnClose":[16],"inputValue":[32]}],[1,"zonos-hello-dialog-footer",{"appearanceSettings":[16],"setShowCountrySelect":[16],"setShowLanguageSelect":[16]}],[1,"zonos-custom-message",{"icon":[1],"message":[1]}]]],["zonos-address_4",[[2,"zonos-address",{"type":[1],"titleText":[1,"title-text"],"defaultAddress":[16],"stripe":[32],"hasInvalidCharacters":[32],"isDirtyAddress":[32]},null,{"stripe":["watchInitStripe"]}],[1,"zonos-checkbox",{"backgroundColor":[1,"background-color"],"label":[1],"isChecked":[4,"is-checked"],"isDisabled":[4,"is-disabled"],"size":[2],"fontSize":[1,"font-size"],"borderStyle":[1,"border-style"]}],[2,"zonos-link-authentication",{"titleText":[1,"title-text"],"stripe":[32]},null,{"stripe":["watchInitStripe"]}],[1,"zonos-collapse",{"collapsed":[4],"collapseSize":[2,"collapse-size"],"height":[32],"iframe":[32]}]]],["zonos-cart-items_9",[[2,"zonos-customer-info",{"continueLoading":[4,"continue-loading"],"submitBtnType":[1,"submit-btn-type"],"submitBtnColor":[1,"submit-btn-color"],"defaultAddress":[16],"disabled":[32],"hasInvalidShippingCharacters":[32],"hasInvalidBillingCharacters":[32]},null,{"disabled":["watchFormComplete"]}],[1,"zonos-checkout-footer",{"showDialog":[32]},[[4,"click","handleGlobalClick"]]],[2,"zonos-checkout-payment",{"paymentError":[4,"payment-error"],"submitBtnType":[1,"submit-btn-type"],"continueLoading":[4,"continue-loading"],"submitBtnColor":[1,"submit-btn-color"],"disabled":[32]},null,{"disabled":["watchFormComplete"]}],[2,"zonos-shipping",{"continueLoading":[4,"continue-loading"],"submitBtnColor":[1,"submit-btn-color"],"submitBtnType":[1,"submit-btn-type"],"selectedShippingMethod":[32],"disabled":[32]},null,{"disabled":["watchFormComplete"]}],[1,"zonos-cart-subtotal"],[1,"zonos-checkout-finish",{"borderRadius":[1,"border-radius"],"storybookForceStatus":[1,"storybook-force-status"],"overrideNotification":[16],"isLoading":[32],"notificationType":[32],"notificationTitle":[32],"notificationMessages":[32],"order":[32]}],[1,"zonos-dialog",{"open":[4],"headerText":[1,"header-text"],"width":[1],"height":[1],"noHeader":[4,"no-header"],"noBodyPadding":[4,"no-body-padding"],"noBorder":[4,"no-border"],"footerRightAction":[16],"borderStyle":[1,"border-style"],"noCloseButton":[4,"no-close-button"],"noClickOutside":[4,"no-click-outside"],"mobile":[4],"isLoading":[4,"is-loading"],"isMobile":[32]},[[9,"resize","handleWindowResize"]]],[1,"zonos-review",{"mobile":[4],"collapsed":[4],"isMobile":[32]},[[9,"resize","handleWindowResize"]]],[1,"zonos-cart-items",{"errorImages":[32]}]]]], options);
8
+ return bootstrapLazy([["zonos-checkout",[[2,"zonos-checkout",{"appearanceSettingsOverride":[16],"preview":[4],"mobile":[4],"defaultAddress":[16],"forceDialogOpen":[4,"force-dialog-open"],"open":[32],"stripe":[32],"submitLoading":[32],"paymentError":[32],"collapseReviewMobile":[32],"isAttachError":[32],"isMobile":[32],"zonosReviewRef":[32],"storybookPaymentStatusOverride":[32],"domesticRedirectedBtnSelector":[32],"legacyCheckoutHiddenBtnSelector":[32],"isLegacyCheckout":[32],"closeDialogHandler":[64],"init":[64],"setToFinishStep":[64]},[[16,"zonos--init-cart-info","initCartInfoHandler"],[9,"resize","handleWindowResize"]],{"appearanceSettingsOverride":["appearanceSettingsOverrideChanged","handleAppearanceSettingsOverrideChange"],"mobile":["handleMobileChange"]}]]],["zonos-hello",[[1,"zonos-hello",{"mobileLocationOverride":[1,"mobile-location-override"],"animateFromLeftOverride":[4,"animate-from-left-override"],"appearanceSettingsOverride":[16],"showPeekMessage":[32],"zonosStoreHelloSettings":[32],"showDialog":[32],"peekMessage":[32],"initialUrl":[32],"allRestrictedItems":[32],"allFoundProducts":[32],"productsOnPage":[32],"displayCurrency":[64],"convertAndFormat":[64],"convert":[64],"format":[64],"openHelloDialog":[64]},[[9,"resize","handleResize"]],{"appearanceSettingsOverride":["handleAppearanceSettingsOverrideChange"]}]]],["zonos-controller",[[1,"zonos-controller",{"config":[16],"zonosApiKey":[1,"zonos-api-key"],"initCheckoutElement":[64],"setupGoogleFont":[64],"showNotification":[64],"overrideConfig":[64],"overrideCountry":[64],"getAppearanceSetting":[64],"updateOrganizationName":[64]}]]],["zonos-component",[[1,"zonos-component",{"first":[1],"middle":[1],"last":[1]}]]],["zonos-link",[[1,"zonos-link",{"href":[1],"rel":[1],"target":[1],"linkTitle":[1,"link-title"]}]]],["zonos-logo",[[1,"zonos-logo",{"theme":[1],"width":[1]}]]],["zonos-text",[[1,"zonos-text",{"textColor":[1,"text-color"],"size":[1],"type":[1],"weight":[2],"content":[1],"ready":[32]}]]],["zonos-hello-dialog",[[1,"zonos-hello-dialog",{"isOpen":[4,"is-open"],"setIsOpen":[16],"mobileLocationOverride":[1,"mobile-location-override"],"animateFromLeftOverride":[4,"animate-from-left-override"],"appearanceSettings":[16],"restrictedItems":[16],"welcomeMessage":[32],"showCountrySelect":[32],"showLanguageSelect":[32]},[[4,"click","globalClickHandler"]],{"isOpen":["isOpenHandler"]}]]],["zonos-notification",[[1,"zonos-notification",{"notificationArray":[32],"showNotification":[64]}]]],["zonos-payment",[[2,"zonos-payment",{"titleText":[1,"title-text"],"stripe":[32],"stripeElements":[32]},null,{"stripeElements":["watchInitStripe"],"stripe":["watchInitStripe"]}]]],["zonos-shipping-rich-radio",[[1,"zonos-shipping-rich-radio",{"items":[16],"borderColor":[1,"border-color"],"borderStyle":[1,"border-style"],"theme":[1],"initialSelectedValue":[8,"initial-selected-value"],"selectedItem":[32]}]]],["zonos-badge_2",[[1,"zonos-badge",{"bold":[4],"badgeColor":[1,"badge-color"],"icon":[16],"iconRight":[4,"icon-right"],"size":[1],"rounded":[4]}],[1,"zonos-tooltip",{"label":[1],"subtitle":[1],"showTooltip":[32]}]]],["zonos-country-flag",[[1,"zonos-country-flag",{"countryCode":[1,"country-code"],"size":[2]}]]],["zonos-banner",[[1,"zonos-banner",{"bannerTitle":[1,"banner-title"],"intent":[1],"hasContent":[32]}]]],["zonos-icon",[[1,"zonos-icon",{"autoHeight":[4,"auto-height"],"iconColor":[1,"icon-color"],"content":[1],"size":[2]}]]],["zonos-button_2",[[1,"zonos-button",{"buttonColor":[1,"button-color"],"backgroundColor":[1,"background-color"],"borderStyle":[1,"border-style"],"isDisabled":[4,"is-disabled"],"icon":[16],"iconRight":[4,"icon-right"],"size":[1],"variant":[1],"noBackground":[4,"no-background"],"noPaddingLeft":[4,"no-padding-left"],"noPaddingRight":[4,"no-padding-right"],"loading":[4],"theme":[1],"hasIcon":[32],"hasContent":[32]},[[2,"click","clickHandler"]],{"icon":["iconChangeHandler"]}],[1,"zonos-spinner",{"size":[2],"spinnerColor":[1,"spinner-color"]}]]],["zonos-select-dialog-header_2",[[1,"zonos-select-dialog-header",{"handleOnClose":[16],"label":[1]}],[1,"zonos-v-stack",{"spacing":[2]}]]],["zonos-card_2",[[1,"zonos-language-select",{"handleOnClose":[16]}],[1,"zonos-card",{"actions":[16],"footerActions":[16],"footerContent":[16],"footerHeight":[2,"footer-height"],"label":[16],"spacing":[1]}]]],["zonos-country-select_3",[[1,"zonos-country-select",{"handleOnClose":[16],"inputValue":[32]}],[1,"zonos-hello-dialog-footer",{"appearanceSettings":[16],"setShowCountrySelect":[16],"setShowLanguageSelect":[16]}],[1,"zonos-custom-message",{"icon":[1],"message":[1]}]]],["zonos-address_4",[[2,"zonos-address",{"type":[1],"titleText":[1,"title-text"],"defaultAddress":[16],"stripe":[32],"hasInvalidCharacters":[32],"isDirtyAddress":[32]},null,{"stripe":["watchInitStripe"]}],[1,"zonos-checkbox",{"backgroundColor":[1,"background-color"],"label":[1],"isChecked":[4,"is-checked"],"isDisabled":[4,"is-disabled"],"size":[2],"fontSize":[1,"font-size"],"borderStyle":[1,"border-style"]}],[2,"zonos-link-authentication",{"titleText":[1,"title-text"],"stripe":[32]},null,{"stripe":["watchInitStripe"]}],[1,"zonos-collapse",{"collapsed":[4],"collapseSize":[2,"collapse-size"],"height":[32],"iframe":[32]}]]],["zonos-cart-items_10",[[2,"zonos-customer-info",{"continueLoading":[4,"continue-loading"],"submitBtnType":[1,"submit-btn-type"],"submitBtnColor":[1,"submit-btn-color"],"defaultAddress":[16],"disabled":[32],"hasInvalidShippingCharacters":[32],"hasInvalidBillingCharacters":[32]},null,{"disabled":["watchFormComplete"]}],[1,"zonos-checkout-footer",{"mobile":[4],"dataTheme":[1,"data-theme"],"showLanguageDialog":[32],"isMobile":[32]},[[4,"click","handleGlobalClick"]],{"mobile":["handleMobileChange"]}],[2,"zonos-checkout-payment",{"paymentError":[4,"payment-error"],"submitBtnType":[1,"submit-btn-type"],"continueLoading":[4,"continue-loading"],"submitBtnColor":[1,"submit-btn-color"],"disabled":[32]},null,{"disabled":["watchFormComplete"]}],[2,"zonos-shipping",{"continueLoading":[4,"continue-loading"],"submitBtnColor":[1,"submit-btn-color"],"submitBtnType":[1,"submit-btn-type"],"selectedShippingMethod":[32],"isSelecting":[32],"disabled":[32],"serviceLevels":[32]},null,{"disabled":["watchFormComplete"]}],[1,"zonos-cart-subtotal"],[1,"zonos-checkout-finish",{"borderRadius":[1,"border-radius"],"storybookForceStatus":[1,"storybook-force-status"],"overrideNotification":[16],"isLoading":[32],"notificationType":[32],"notificationTitle":[32],"notificationMessages":[32],"order":[32]}],[1,"zonos-dialog",{"open":[4],"headerText":[1,"header-text"],"width":[1],"height":[1],"noHeader":[4,"no-header"],"noBodyPadding":[4,"no-body-padding"],"noBorder":[4,"no-border"],"borderStyle":[1,"border-style"],"noCloseButton":[4,"no-close-button"],"noClickOutside":[4,"no-click-outside"],"mobile":[4],"isLoading":[4,"is-loading"],"isMobile":[32]},[[9,"resize","handleWindowResize"]]],[1,"zonos-checkout-progress-tabs",{"tabColor":[1,"tab-color"],"backgroundColor":[1,"background-color"],"setTabItems":[64],"setTabSelected":[64]}],[1,"zonos-review",{"mobile":[4],"collapsed":[4],"isMobile":[32]},[[9,"resize","handleWindowResize"]]],[1,"zonos-cart-items",{"errorImages":[32]}]]]], options);
9
9
  };
10
10
 
11
11
  export { defineCustomElements };
@@ -1,10 +1,12 @@
1
- import { u as handleFetch, l as localizationStore, a as log } from './cart-5a88b4f3.js';
2
- import { z as zonosStore } from './zonosStore-aac7c6ac.js';
1
+ import { r as handleFetch, l as localizationStore, a as log } from './cart-cc09eaef.js';
2
+ import { z as zonosStore } from './zonosStore-c4c45591.js';
3
3
 
4
4
  const trackConversionEvent = async (eventName, metadata) => {
5
5
  var _a, _b;
6
6
  // If a Zonos domain, or in qa mode with zonosQaUrl, or debug mode is on, we don't want analytics to be tracked
7
7
  if (window.location.href.includes('zonos.com') ||
8
+ // legacy mock checkout, no need to track analytics for this
9
+ window.location.href.includes('checkout.iglobalstores.com') ||
8
10
  !!((_a = window.Zonos) === null || _a === void 0 ? void 0 : _a.zonosQaUrl) ||
9
11
  !!((_b = window.Zonos) === null || _b === void 0 ? void 0 : _b.debug)) {
10
12
  return;
@@ -24,6 +26,16 @@ const trackConversionEvent = async (eventName, metadata) => {
24
26
  });
25
27
  };
26
28
 
29
+ /**
30
+ * Strongly typed custom event creation for all available events in zonos-checkout project
31
+ */
32
+ const createCustomEvent = (eventName, detail) => {
33
+ // eslint-disable-next-line no-restricted-syntax
34
+ return new CustomEvent(eventName, {
35
+ detail,
36
+ });
37
+ };
38
+
27
39
  const sendErrorLog = async ({ endpoint, errors, metadata }) => {
28
40
  const userAgentData = 'userAgentData' in window.navigator
29
41
  ? // userAgentData is not yet supported in all browsers
@@ -57,4 +69,4 @@ const submitGtag = (event) => {
57
69
  }
58
70
  };
59
71
 
60
- export { submitGtag as a, sendErrorLog as s, trackConversionEvent as t };
72
+ export { submitGtag as a, createCustomEvent as c, sendErrorLog as s, trackConversionEvent as t };
@@ -1,10 +1,10 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host, d as getElement } from './index-dd40cc85.js';
2
- import { j as stripeStore, d as logError, l as localizationStore, t as translate, n as stripeStorePrefetchLandedCost } from './cart-5a88b4f3.js';
3
- import { z as zonosStore, d as zonosStoreFontFamily } from './zonosStore-aac7c6ac.js';
2
+ import { j as stripeStore, d as logError, l as localizationStore, t as translate, n as stripeStorePrefetchLandedCost } from './cart-cc09eaef.js';
3
+ import { z as zonosStore, d as zonosStoreFontFamily } from './zonosStore-c4c45591.js';
4
4
  import { i as isCheckoutMobile } from './isCheckoutMobile-8846dccb.js';
5
5
  import { c as classes } from './classes-0d95c529.js';
6
- import { g as getBorderRadius } from './getBorderRadius-5d750ab8.js';
7
- import { i as isDarkColor } from './isDarkColor-c34dfed9.js';
6
+ import { g as getBorderRadius } from './getBorderRadius-a89e45fb.js';
7
+ import { i as isDarkColor } from './isDarkColor-6bf71e51.js';
8
8
 
9
9
  /**
10
10
  * Check if the given address object contains non-latin characters
@@ -115,7 +115,10 @@ const ZonosAddress = class {
115
115
  : [];
116
116
  const addressElement = stripeElements.create('address', {
117
117
  allowedCountries: this.type === 'shipping' ? shippingZone : [],
118
- contacts: this.defaultAddress ? [this.defaultAddress] : [],
118
+ // only show the default address if stripeAddressEventData is not provided
119
+ contacts: this.defaultAddress && !stripeAddressEventData
120
+ ? [this.defaultAddress]
121
+ : [],
119
122
  defaultValues: {
120
123
  address: Object.assign(Object.assign({}, stripeAddressEventData === null || stripeAddressEventData === void 0 ? void 0 : stripeAddressEventData.value.address), { country: (stripeAddressEventData === null || stripeAddressEventData === void 0 ? void 0 : stripeAddressEventData.value.address.country) ||
121
124
  localizationStore.selectedCountryCode ||
@@ -189,7 +192,7 @@ const ZonosAddress = class {
189
192
  }
190
193
  render() {
191
194
  // this component loads iframe from the stripe elements and puts here, so we don't need to do anything here
192
- return (h(Host, { key: '3927946760be161a50ccf924cef5a58503887ac8', class: "zonos--address zonos--elements" }, h("zonos-text", { key: 'ac95946a7322dbfab13b3d29df2e22d251ba553c', class: "zonos--title", type: "semiBoldLabel" }, this.titleText), h("div", { key: '552c6e94d64a842f702c5499320713c8b8fcab6b', class: "zonos--address-component" }), this.hasInvalidCharacters && (h("zonos-banner", { bannerTitle: translate('Please ensure your text uses the Latin alphabet only (A-Z, a-z).'), intent: "error" }))));
195
+ return (h(Host, { key: '81b9d2e822eea4eb85a3d7d21ff645c9f0841f30', class: "zonos--address zonos--elements" }, h("zonos-text", { key: 'cd180e130f161233fd05365f9250913214846ced', class: "zonos--title", type: "semiBoldLabel" }, this.titleText), h("div", { key: 'b4d15f56e1215305367c071c4d9be985b09245b8', class: "zonos--address-component" }), this.hasInvalidCharacters && (h("zonos-banner", { bannerTitle: translate('Please ensure your text uses the Latin alphabet only (A-Z, a-z).'), intent: "error" }))));
193
196
  }
194
197
  get el() { return getElement(this); }
195
198
  static get watchers() { return {
@@ -237,14 +240,14 @@ const ZonosCheckbox = class {
237
240
  ? 'var(--amino-gray-800)'
238
241
  : 'var(--amino-gray-0)';
239
242
  const borderStyle = getBorderRadius(this.borderStyle, '4px');
240
- return (h(Host, { key: '5f8516f5933b739cc3f21d901e50dec1c761fa58', class: classes(['zonos--elements zonos--checkbox']), style: {
243
+ return (h(Host, { key: '2ae2a0d33d34aafe96cc91e1cd7c7ee530dede4b', class: classes(['zonos--elements zonos--checkbox']), style: {
241
244
  '--background-color': backgroundColor,
242
245
  '--border-radius': borderStyle,
243
246
  '--font-family': zonosStoreFontFamily(),
244
247
  '--size': `${this.size}px`,
245
- } }, h("label", { key: '6544f51a8c892d616123ab4194d069b055e3dc86', class: classes([this.isDisabled && 'disabled']) }, h("input", { key: '958e35bf16be575230748fccdb1a3916942c3a30', checked: this.isChecked, disabled: this.isDisabled, hidden: true, onChange: e => {
248
+ } }, h("label", { key: 'b9630027581a9f20374c2dfe88faa94cb50203c9', class: classes([this.isDisabled && 'disabled']) }, h("input", { key: 'd1b2411d9f906692f18514a15df1bb290f662164', checked: this.isChecked, disabled: this.isDisabled, hidden: true, onChange: e => {
246
249
  this.checkboxSelected.emit(e.target.checked);
247
- }, type: "checkbox" }), h("span", { key: '2c55e0a190b092dd083c433c35143e253910f54f', class: "checkmark-container" }, h("svg", { key: '0aa1f705b728055835159a399173a170aee4f7c0', class: "checkmark", color: checkmarkColor, fill: "none", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: 'd526bbafde4d4399be3f3a0a7cc87e92634d9548', "clip-rule": "evenodd", d: "M17.456 7.404a.75.75 0 0 1 .14 1.052l-6.5 8.5a.75.75 0 0 1-1.126.074l-4-4a.75.75 0 0 1 1.06-1.06l3.395 3.394 5.98-7.82a.75.75 0 0 1 1.05-.14Z", fill: "currentColor", "fill-rule": "evenodd" }))), this.label && (h("zonos-text", { size: this.fontSize }, this.label)))));
250
+ }, type: "checkbox" }), h("span", { key: '8fc3cda232615f446aff5db71cd992de5327b8e7', class: "checkmark-container" }, h("svg", { key: '5b91a7a26abfd80850eb3c2bb2e045ef73abfd7a', class: "checkmark", color: checkmarkColor, fill: "none", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: '2046a40a75da63ac288c5def90d82ab0d0e0523c', "clip-rule": "evenodd", d: "M17.456 7.404a.75.75 0 0 1 .14 1.052l-6.5 8.5a.75.75 0 0 1-1.126.074l-4-4a.75.75 0 0 1 1.06-1.06l3.395 3.394 5.98-7.82a.75.75 0 0 1 1.05-.14Z", fill: "currentColor", "fill-rule": "evenodd" }))), this.label && (h("zonos-text", { size: this.fontSize }, this.label)))));
248
251
  }
249
252
  };
250
253
  ZonosCheckbox.style = ZonosCheckboxStyle0;
@@ -294,10 +297,10 @@ const ZonosCollapse = class {
294
297
  // set overflow to hidden to prevent content from showing when collapsed
295
298
  this.el.style.overflow = 'hidden';
296
299
  }
297
- return (h(Host, { key: '7ac8b898feadfb4424b3b48a98135cb18994f4e0', class: 'zonos--elements zonos--collapse', style: {
300
+ return (h(Host, { key: '032f5818dd8394b5111927907c8fa135a55fef5c', class: 'zonos--elements zonos--collapse', style: {
298
301
  '--font-family': zonosStoreFontFamily(),
299
302
  height: this.getElementHeight(),
300
- } }, h("div", { key: '4a527ec319b59041196284d4d9a8f22b943a74e6' }, h("iframe", { key: '2fb51c16e13ca90561b1b1e6cab89d87e4a37a47', class: "height-change-listener", tabindex: "-1", title: "collapse-height-change-listener" }), h("slot", { key: '6d7849f6c35be611446b0da36d657396e5ca3122' }))));
303
+ } }, h("div", { key: '5ddbf406c93f37c9e23375f11dd8439934c0d2a5' }, h("iframe", { key: 'b3efa8bc198918dbb3284e8ce658ffca6249eaa8', class: "height-change-listener", tabindex: "-1", title: "collapse-height-change-listener" }), h("slot", { key: 'ffcd123c3a046e62855a650da9972cde94a7774c' }))));
301
304
  }
302
305
  get el() { return getElement(this); }
303
306
  };
@@ -338,7 +341,7 @@ const ZonosLinkAuthentication = class {
338
341
  }
339
342
  render() {
340
343
  // this component loads iframe from the stripe elements and puts here, so we don't need to do anything here
341
- 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" })));
344
+ 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" })));
342
345
  }
343
346
  get el() { return getElement(this); }
344
347
  static get watchers() { return {
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, h, H as Host } from './index-dd40cc85.js';
2
- import { d as zonosStoreFontFamily } from './zonosStore-aac7c6ac.js';
2
+ import { d as zonosStoreFontFamily } from './zonosStore-c4c45591.js';
3
3
  import { c as classes } from './classes-0d95c529.js';
4
4
 
5
5
  const zonosBadgeCss = ":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 .zonos--badge-content{display:-ms-flexbox;display:flex;gap:var(--amino-space-8);font-size:var(--amino-font-size-s);padding:4px 8px;text-align:center;border-radius:var(--amino-radius-6);background-color:var(--amino-gray-100);color:var(--amino-gray-800);-ms-flex-align:center;align-items:center}:host p{font-weight:600;line-height:16px}:host .icon-right svg{-ms-flex-order:2;order:2}:host .small{padding:2px 8px}:host .rounded{border-radius:20px}:host .bold{background-color:var(--amino-gray-600);color:var(--amino-gray-100)}:host .blue{background-color:var(--amino-blue-100);color:var(--amino-blue-800)}:host .blue.bold{background-color:var(--amino-blue-600);color:var(--amino-blue-100)}:host .green{background-color:var(--amino-green-100);color:var(--amino-green-800)}:host .green.bold{background-color:var(--amino-green-600);color:var(--amino-green-100)}:host .red{background-color:var(--amino-red-100);color:var(--amino-red-800)}:host .red.bold{background-color:var(--amino-red-600);color:var(--amino-red-100)}:host .orange{background-color:var(--amino-orange-100);color:var(--amino-orange-800)}:host .orange.bold{background-color:var(--amino-orange-600);color:var(--amino-orange-100)}:host .purple{background-color:var(--amino-purple-100);color:var(--amino-purple-800)}:host .purple.bold{background-color:var(--amino-purple-600);color:var(--amino-purple-100)}:host .cyan{background-color:var(--amino-cyan-100);color:var(--amino-cyan-800)}:host .cyan.bold{background-color:var(--amino-cyan-600);color:var(--amino-cyan-100)}";
@@ -16,16 +16,16 @@ const ZonosBadge = class {
16
16
  this.rounded = false;
17
17
  }
18
18
  render() {
19
- return (h(Host, { key: '1cece57ce37e04873f625d05ad5a0bea6368b46b', class: classes(['zonos--elements zonos--badge']), style: {
19
+ return (h(Host, { key: '9e6c4ec2341f5ca076a3c54bcce347db9e83bb38', class: classes(['zonos--elements zonos--badge']), style: {
20
20
  '--font-family': zonosStoreFontFamily(),
21
- } }, h("div", { key: '8caf3f2ffb7deda215c44ad0c6c0892936d526c2', class: classes([
21
+ } }, h("div", { key: 'ad4d88e7ac5b8e8a617bb904faeaad73d426c271', class: classes([
22
22
  'zonos--badge-content',
23
23
  this.badgeColor,
24
24
  this.rounded && 'rounded',
25
25
  this.iconRight && 'icon-right',
26
26
  this.size,
27
27
  this.bold && 'bold',
28
- ]) }, this.icon, h("zonos-text", { key: 'fb8ac7f09675f9cfd829ecea54c61f5c699caa00' }, h("slot", { key: '978bc876e427d932662a0100043e04b105e9df8d' })))));
28
+ ]) }, this.icon, h("zonos-text", { key: 'd0709a3ffbcc65703933273f614bbb71792b8f61' }, h("slot", { key: '997537e7fd4102a35a1e16789fa7b5444ee85a5a' })))));
29
29
  }
30
30
  };
31
31
  ZonosBadge.style = ZonosBadgeStyle0;
@@ -41,10 +41,10 @@ const ZonosTooltip = class {
41
41
  this.showTooltip = false;
42
42
  }
43
43
  render() {
44
- return (h(Host, { key: '4864150b0af4119fc7d87aec5af3c258fb27802d', class: "zonos--elements" }, h("div", { key: 'c11d3da431f9c4507bc58ec38d0b1ef21c99b584', class: "zonos--tooltip", onMouseEnter: () => (this.showTooltip = true), onMouseLeave: () => (this.showTooltip = false) }, h("slot", { key: '0a92efb2e6c17f67c2feacbd17bbddd4fb63f7da' }), h("div", { key: '0ea54bfaf54a2f170044d77c2b555e5da37af8ae', class: classes([
44
+ return (h(Host, { key: 'a23ad45e8f96b88b0feaf17690c6bdb75aacb12c', class: "zonos--elements" }, h("div", { key: 'b057f5ae304921f5fd50536cb5b7fb493120f1e7', class: "zonos--tooltip", onMouseEnter: () => (this.showTooltip = true), onMouseLeave: () => (this.showTooltip = false) }, h("slot", { key: '396ac2ec3fcc8d49f8a346d1059cb096ef2e2874' }), h("div", { key: '4aa607dcc9c4c675224e9d7effd1e8ad2bdee097', class: classes([
45
45
  this.showTooltip && 'zonos--show-tooltip',
46
46
  'zonos--tooltip-content',
47
- ]) }, h("zonos-text", { key: '73c55a7318eb36760d2779691f9ea79d2c5bf8c7', size: "s", textColor: "gray-0", type: "boldLabel" }, this.label), h("zonos-text", { key: '1f4106f67fc468121d7fb7fbc0ee69363bb26186', size: "xs", textColor: "gray-0" }, this.subtitle)))));
47
+ ]) }, h("zonos-text", { key: 'e69a1883f21f277be88e892a99ae6e66a9829a1c', size: "s", textColor: "gray-0", type: "boldLabel" }, this.label), h("zonos-text", { key: 'cb901c3cd7d0931f157eddef8fe4286fbd66b66b', size: "xs", textColor: "gray-0" }, this.subtitle)))));
48
48
  }
49
49
  };
50
50
  ZonosTooltip.style = ZonosTooltipStyle0;
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, h, H as Host } from './index-dd40cc85.js';
2
- import { d as zonosStoreFontFamily } from './zonosStore-aac7c6ac.js';
2
+ import { d as zonosStoreFontFamily } from './zonosStore-c4c45591.js';
3
3
  import { c as classes } from './classes-0d95c529.js';
4
4
 
5
5
  const zonosBannerCss = ":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{border-radius:var(--amino-radius-10);padding:var(--amino-space-16);background:var(--amino-gray-100)}:host .zonos--container{display:grid;-ms-flex-align:center;align-items:center;grid-template-areas:\"icon header\" \". content\";grid-template-columns:32px auto 0}:host .zonos--icon-wrapper{grid-area:icon;display:-ms-flexbox;display:flex;justify-self:start}:host .zonos--header-wrapper{margin-top:var(--amino-space-0);grid-area:header}:host .zonos--content-wrapper{grid-area:content;margin-top:var(--amino-space-4)}:host(.info){background-color:var(--amino-blue-100);border:1px solid var(--amino-blue-200)}:host(.success){background-color:var(--amino-green-100);border:1px solid var(--amino-green-200)}:host(.error){background-color:var(--amino-red-100);border:1px solid var(--amino-red-200)}:host(.warning){background-color:var(--amino-orange-100);border:1px solid var(--amino-orange-200)}";