@zonos/elements 1.3.15 → 1.3.16

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 (263) hide show
  1. package/dist/cjs/RemoveIcon-081ac073.js +5 -0
  2. package/dist/cjs/{cart-db549f04.js → cart-d25723e7.js} +2 -1
  3. package/dist/cjs/{isColorVariable-fff5e469.js → isColorVariable-6f5a9608.js} +2 -2
  4. package/dist/cjs/{submitGtag-fd8acad5.js → submitGtag-484eaf9d.js} +1 -1
  5. package/dist/cjs/zonos-address_8.cjs.entry.js +13 -13
  6. package/dist/cjs/zonos-badge_2.cjs.entry.js +2 -2
  7. package/dist/cjs/zonos-banner.cjs.entry.js +3 -3
  8. package/dist/cjs/zonos-button_3.cjs.entry.js +9 -9
  9. package/dist/cjs/zonos-card_2.cjs.entry.js +3 -3
  10. package/dist/cjs/zonos-cart-items_9.cjs.entry.js +27 -24
  11. package/dist/cjs/zonos-checkout.cjs.entry.js +16 -5
  12. package/dist/cjs/zonos-controller.cjs.entry.js +1 -1
  13. package/dist/cjs/zonos-country-flag.cjs.entry.js +1 -1
  14. package/dist/cjs/zonos-country-select_3.cjs.entry.js +6 -6
  15. package/dist/cjs/zonos-hello-dialog.cjs.entry.js +9 -17
  16. package/dist/cjs/zonos-hello.cjs.entry.js +2 -2
  17. package/dist/cjs/zonos-input.cjs.entry.js +1 -1
  18. package/dist/cjs/zonos-link.cjs.entry.js +1 -1
  19. package/dist/cjs/zonos-notification.cjs.entry.js +1 -1
  20. package/dist/cjs/zonos-payment.cjs.entry.js +1 -1
  21. package/dist/cjs/zonos-select-dialog-header_2.cjs.entry.js +1 -1
  22. package/dist/cjs/zonos-shipping-rich-radio.cjs.entry.js +4 -4
  23. package/dist/cjs/zonos-text.cjs.entry.js +3 -3
  24. package/dist/collection/__mocks__/vercel-app/zonos-hello.entry.js +1 -1
  25. package/dist/collection/__mocks__/zonos-url/zonos-hello.entry.js +1 -1
  26. package/dist/collection/components/checkout/zonos-checkout/assets/LeftArrow.svg +1 -1
  27. package/dist/collection/components/checkout/zonos-checkout/assets/RemoveIcon.svg +1 -1
  28. package/dist/collection/components/checkout/zonos-checkout/zonos-address-update-dialog/zonos-address-display/zonos-address-display.css +2 -2
  29. package/dist/collection/components/checkout/zonos-checkout/zonos-address-update-dialog/zonos-address-update-dialog.css +3 -3
  30. package/dist/collection/components/checkout/zonos-checkout/zonos-cart-items/zonos-cart-items.css +2 -2
  31. package/dist/collection/components/checkout/zonos-checkout/zonos-cart-subtotal/zonos-cart-subtotal.css +2 -2
  32. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-finish/assets/RemoveIcon.svg +1 -1
  33. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-finish/assets/SuccessIcon.svg +1 -1
  34. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-finish/zonos-checkout-finish.css +1 -1
  35. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-finish/zonos-checkout-finish.js +6 -3
  36. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-footer/assets/chevronDownIcon.svg +1 -1
  37. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-footer/assets/globe.svg +1 -1
  38. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-footer/assets/zonosIcon.svg +1 -1
  39. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-footer/zonos-checkout-footer.css +8 -8
  40. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-payment/zonos-checkout-payment.css +3 -3
  41. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.css +10 -10
  42. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.js +13 -2
  43. package/dist/collection/components/checkout/zonos-checkout/zonos-customer-info/zonos-customer-info.css +3 -3
  44. package/dist/collection/components/checkout/zonos-checkout/zonos-review/assets/ChevronDownIcon.svg +1 -1
  45. package/dist/collection/components/checkout/zonos-checkout/zonos-review/assets/ChevronUpIcon.svg +1 -1
  46. package/dist/collection/components/checkout/zonos-checkout/zonos-review/zonos-review.css +1 -1
  47. package/dist/collection/components/checkout/zonos-checkout/zonos-shipping/zonos-shipping.css +3 -3
  48. package/dist/collection/components/common/component-template/zonos-link/zonos-link.css +4 -4
  49. package/dist/collection/components/common/zonos-badge/zonos-badge.css +30 -30
  50. package/dist/collection/components/common/zonos-banner/zonos-banner.css +10 -10
  51. package/dist/collection/components/common/zonos-banner/zonos-banner.js +2 -2
  52. package/dist/collection/components/common/zonos-button/zonos-button.css +63 -63
  53. package/dist/collection/components/common/zonos-button/zonos-button.js +4 -4
  54. package/dist/collection/components/common/zonos-card/zonos-card.css +7 -7
  55. package/dist/collection/components/common/zonos-checkbox/zonos-checkbox.css +3 -3
  56. package/dist/collection/components/common/zonos-checkbox/zonos-checkbox.js +7 -7
  57. package/dist/collection/components/common/zonos-checkout-progress-tabs/zonos-checkout-progress-tabs.js +4 -4
  58. package/dist/collection/components/common/zonos-country-select/zonos-country-select.css +8 -8
  59. package/dist/collection/components/common/zonos-custom-message/zonos-custom-message.css +2 -2
  60. package/dist/collection/components/common/zonos-dialog/zonos-dialog.css +12 -12
  61. package/dist/collection/components/common/zonos-icon/zonos-icon.js +1 -1
  62. package/dist/collection/components/common/zonos-input/zonos-input.css +22 -22
  63. package/dist/collection/components/common/zonos-language-select/zonos-language-select.css +2 -2
  64. package/dist/collection/components/common/zonos-notification/zonos-notification.css +4 -4
  65. package/dist/collection/components/common/zonos-select-dialog-header/zonos-select-dialog-header.css +1 -1
  66. package/dist/collection/components/common/zonos-shipping-rich-radio/zonos-shipping-rich-radio.css +7 -7
  67. package/dist/collection/components/common/zonos-shipping-rich-radio/zonos-shipping-rich-radio.js +2 -2
  68. package/dist/collection/components/common/zonos-spinner/zonos-spinner.css +14 -14
  69. package/dist/collection/components/common/zonos-text/zonos-text.css +7 -7
  70. package/dist/collection/components/common/zonos-text/zonos-text.js +1 -1
  71. package/dist/collection/components/common/zonos-tooltip/zonos-tooltip.css +3 -3
  72. package/dist/collection/components/hello/zonos-hello/zonos-hello.css +30 -30
  73. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog-footer/assets/chevronDownIcon.svg +1 -1
  74. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog-footer/assets/globe.svg +1 -1
  75. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog-footer/assets/zonosIcon.svg +1 -1
  76. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog-footer/zonos-hello-dialog-footer.css +379 -371
  77. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog.css +11 -11
  78. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog.js +7 -15
  79. package/dist/collection/components/store/hello/localization.js +2 -2
  80. package/dist/collection/components/utils/getButtonTheme.js +1 -1
  81. package/dist/collection/components/utils/isColorVariable.js +2 -2
  82. package/dist/components/isColorVariable.js +2 -2
  83. package/dist/components/stripe.js +2 -2
  84. package/dist/components/trackConversionEvent.js +1 -1
  85. package/dist/components/zonos-address-display2.js +1 -1
  86. package/dist/components/zonos-address-update-dialog2.js +2 -2
  87. package/dist/components/zonos-badge2.js +1 -1
  88. package/dist/components/zonos-banner2.js +3 -3
  89. package/dist/components/zonos-button2.js +6 -6
  90. package/dist/components/zonos-card2.js +1 -1
  91. package/dist/components/zonos-cart-items2.js +1 -1
  92. package/dist/components/zonos-cart-subtotal2.js +1 -1
  93. package/dist/components/zonos-checkbox2.js +8 -8
  94. package/dist/components/zonos-checkout-finish2.js +10 -7
  95. package/dist/components/zonos-checkout-footer2.js +3 -3
  96. package/dist/components/zonos-checkout-payment2.js +1 -1
  97. package/dist/components/zonos-checkout-progress-tabs2.js +4 -4
  98. package/dist/components/zonos-checkout.js +14 -3
  99. package/dist/components/zonos-controller.js +1 -1
  100. package/dist/components/zonos-country-select2.js +1 -1
  101. package/dist/components/zonos-custom-message2.js +1 -1
  102. package/dist/components/zonos-customer-info2.js +2 -2
  103. package/dist/components/zonos-dialog2.js +1 -1
  104. package/dist/components/zonos-hello-dialog-footer2.js +3 -3
  105. package/dist/components/zonos-hello-dialog2.js +9 -17
  106. package/dist/components/zonos-hello.js +2 -2
  107. package/dist/components/zonos-icon2.js +1 -1
  108. package/dist/components/zonos-input2.js +1 -1
  109. package/dist/components/zonos-language-select2.js +2 -2
  110. package/dist/components/zonos-link.js +1 -1
  111. package/dist/components/zonos-notification2.js +1 -1
  112. package/dist/components/zonos-review2.js +3 -3
  113. package/dist/components/zonos-select-dialog-header2.js +1 -1
  114. package/dist/components/zonos-shipping-rich-radio2.js +3 -3
  115. package/dist/components/zonos-shipping2.js +2 -2
  116. package/dist/components/zonos-spinner2.js +1 -1
  117. package/dist/components/zonos-text2.js +2 -2
  118. package/dist/components/zonos-tooltip2.js +1 -1
  119. package/dist/esm/RemoveIcon-9dc5dd1a.js +3 -0
  120. package/dist/esm/{cart-462e89a6.js → cart-02f5c2ea.js} +2 -2
  121. package/dist/esm/{isColorVariable-fbf2d80d.js → isColorVariable-82457bef.js} +2 -2
  122. package/dist/esm/{submitGtag-ac7c3c89.js → submitGtag-ba38e1ac.js} +1 -1
  123. package/dist/esm/zonos-address_8.entry.js +13 -13
  124. package/dist/esm/zonos-badge_2.entry.js +2 -2
  125. package/dist/esm/zonos-banner.entry.js +3 -3
  126. package/dist/esm/zonos-button_3.entry.js +9 -9
  127. package/dist/esm/zonos-card_2.entry.js +3 -3
  128. package/dist/esm/zonos-cart-items_9.entry.js +27 -24
  129. package/dist/esm/zonos-checkout.entry.js +16 -5
  130. package/dist/esm/zonos-controller.entry.js +1 -1
  131. package/dist/esm/zonos-country-flag.entry.js +1 -1
  132. package/dist/esm/zonos-country-select_3.entry.js +6 -6
  133. package/dist/esm/zonos-hello-dialog.entry.js +9 -17
  134. package/dist/esm/zonos-hello.entry.js +2 -2
  135. package/dist/esm/zonos-input.entry.js +1 -1
  136. package/dist/esm/zonos-link.entry.js +1 -1
  137. package/dist/esm/zonos-notification.entry.js +1 -1
  138. package/dist/esm/zonos-payment.entry.js +1 -1
  139. package/dist/esm/zonos-select-dialog-header_2.entry.js +1 -1
  140. package/dist/esm/zonos-shipping-rich-radio.entry.js +4 -4
  141. package/dist/esm/zonos-text.entry.js +3 -3
  142. package/dist/esm-es5/RemoveIcon-9dc5dd1a.js +1 -0
  143. package/dist/esm-es5/{cart-462e89a6.js → cart-02f5c2ea.js} +1 -1
  144. package/dist/esm-es5/isColorVariable-82457bef.js +1 -0
  145. package/dist/esm-es5/{submitGtag-ac7c3c89.js → submitGtag-ba38e1ac.js} +1 -1
  146. package/dist/esm-es5/zonos-address_8.entry.js +1 -1
  147. package/dist/esm-es5/zonos-badge_2.entry.js +1 -1
  148. package/dist/esm-es5/zonos-banner.entry.js +1 -1
  149. package/dist/esm-es5/zonos-button_3.entry.js +1 -1
  150. package/dist/esm-es5/zonos-card_2.entry.js +1 -1
  151. package/dist/esm-es5/zonos-cart-items_9.entry.js +1 -1
  152. package/dist/esm-es5/zonos-checkout.entry.js +1 -1
  153. package/dist/esm-es5/zonos-controller.entry.js +1 -1
  154. package/dist/esm-es5/zonos-country-flag.entry.js +1 -1
  155. package/dist/esm-es5/zonos-country-select_3.entry.js +1 -1
  156. package/dist/esm-es5/zonos-hello-dialog.entry.js +1 -1
  157. package/dist/esm-es5/zonos-hello.entry.js +1 -1
  158. package/dist/esm-es5/zonos-input.entry.js +1 -1
  159. package/dist/esm-es5/zonos-link.entry.js +1 -1
  160. package/dist/esm-es5/zonos-notification.entry.js +1 -1
  161. package/dist/esm-es5/zonos-payment.entry.js +1 -1
  162. package/dist/esm-es5/zonos-select-dialog-header_2.entry.js +1 -1
  163. package/dist/esm-es5/zonos-shipping-rich-radio.entry.js +1 -1
  164. package/dist/esm-es5/zonos-text.entry.js +1 -1
  165. package/dist/scripts/loadZonos.js +1 -1
  166. package/dist/scripts/zonos.js +1 -1
  167. package/dist/scripts/zonosBase.js +1 -1
  168. package/dist/types/components/checkout/zonos-checkout/zonos-checkout.d.ts +4 -0
  169. package/dist/types/components/store/hello/localization.d.ts +2 -2
  170. package/dist/types/types/checkout/CheckoutConfig.d.ts +4 -1
  171. package/dist/zonos-elements/assets/ChevronDownIcon.svg +1 -1
  172. package/dist/zonos-elements/assets/ChevronUpIcon.svg +1 -1
  173. package/dist/zonos-elements/assets/LeftArrow.svg +1 -1
  174. package/dist/zonos-elements/assets/RemoveIcon.svg +1 -1
  175. package/dist/zonos-elements/assets/SuccessIcon.svg +1 -1
  176. package/dist/zonos-elements/{p-a6d7ac46.js → p-0265da6f.js} +1 -1
  177. package/dist/zonos-elements/p-0267a969.entry.js +1 -0
  178. package/dist/zonos-elements/p-08e7107d.js +1 -0
  179. package/dist/zonos-elements/p-154aaf95.system.js +1 -1
  180. package/dist/zonos-elements/{p-df192668.system.js → p-168e5b5f.system.js} +1 -1
  181. package/dist/zonos-elements/p-17e265c3.system.entry.js +1 -0
  182. package/dist/zonos-elements/p-1b8082dd.entry.js +1 -0
  183. package/dist/zonos-elements/p-1ba4cf64.entry.js +1 -0
  184. package/dist/zonos-elements/p-239cc943.system.entry.js +1 -0
  185. package/dist/zonos-elements/p-246133d3.entry.js +1 -0
  186. package/dist/zonos-elements/p-2770ba48.system.js +1 -0
  187. package/dist/zonos-elements/p-305f27c7.entry.js +1 -0
  188. package/dist/zonos-elements/p-3638e2ed.entry.js +1 -0
  189. package/dist/zonos-elements/p-36a461a6.system.entry.js +1 -0
  190. package/dist/zonos-elements/{p-df24d548.system.entry.js → p-47e00966.system.entry.js} +1 -1
  191. package/dist/zonos-elements/p-4a107b6f.system.js +1 -0
  192. package/dist/zonos-elements/p-4dca5484.system.entry.js +1 -0
  193. package/dist/zonos-elements/p-532995a4.system.entry.js +1 -0
  194. package/dist/zonos-elements/p-54004793.system.entry.js +1 -0
  195. package/dist/zonos-elements/p-54a32fd7.entry.js +1 -0
  196. package/dist/zonos-elements/{p-5f9c066d.system.entry.js → p-572a4de2.system.entry.js} +1 -1
  197. package/dist/zonos-elements/{p-baee62a4.entry.js → p-57adc7f8.entry.js} +1 -1
  198. package/dist/zonos-elements/{p-094c0ee8.entry.js → p-582d8b27.entry.js} +1 -1
  199. package/dist/zonos-elements/p-5d13795a.system.entry.js +1 -0
  200. package/dist/zonos-elements/p-5e33aab7.system.entry.js +1 -0
  201. package/dist/zonos-elements/p-66eb66d1.js +1 -0
  202. package/dist/zonos-elements/p-6dec476d.system.entry.js +1 -0
  203. package/dist/zonos-elements/p-6ece23b9.entry.js +1 -0
  204. package/dist/zonos-elements/p-835c8928.entry.js +1 -0
  205. package/dist/zonos-elements/p-83fecb2a.entry.js +1 -0
  206. package/dist/zonos-elements/{p-11f1b78c.entry.js → p-905d842b.entry.js} +1 -1
  207. package/dist/zonos-elements/{p-5d993965.js → p-981bf71a.js} +1 -1
  208. package/dist/zonos-elements/p-9da0562e.system.entry.js +1 -0
  209. package/dist/zonos-elements/{p-a93f2e84.entry.js → p-a889c1bc.entry.js} +1 -1
  210. package/dist/zonos-elements/p-ad088d46.system.entry.js +1 -0
  211. package/dist/zonos-elements/p-b98bdbcc.system.entry.js +1 -0
  212. package/dist/zonos-elements/{p-3d8667a7.entry.js → p-cf0f8e32.entry.js} +1 -1
  213. package/dist/zonos-elements/p-d7acc81c.entry.js +1 -0
  214. package/dist/zonos-elements/{p-578f0aad.system.js → p-e0e66004.system.js} +1 -1
  215. package/dist/zonos-elements/p-e108e5ed.system.entry.js +1 -0
  216. package/dist/zonos-elements/p-ed7d251d.system.entry.js +1 -0
  217. package/dist/zonos-elements/{p-a6eeb4bd.system.entry.js → p-f124e659.system.entry.js} +1 -1
  218. package/dist/zonos-elements/p-f71489e5.system.entry.js +1 -0
  219. package/dist/zonos-elements/p-f99eb5e7.entry.js +1 -0
  220. package/dist/zonos-elements/p-fd49d864.entry.js +1 -0
  221. package/dist/zonos-elements/p-fe246229.system.entry.js +1 -0
  222. package/dist/zonos-elements/p-ff403840.entry.js +1 -0
  223. package/dist/zonos-elements/zonos-elements.css +17 -9
  224. package/dist/zonos-elements/zonos-elements.esm.js +1 -1
  225. package/package.json +1 -1
  226. package/dist/cjs/RemoveIcon-6c79a2a1.js +0 -5
  227. package/dist/esm/RemoveIcon-f6715b36.js +0 -3
  228. package/dist/esm-es5/RemoveIcon-f6715b36.js +0 -1
  229. package/dist/esm-es5/isColorVariable-fbf2d80d.js +0 -1
  230. package/dist/zonos-elements/p-029f11dd.system.entry.js +0 -1
  231. package/dist/zonos-elements/p-11504442.entry.js +0 -1
  232. package/dist/zonos-elements/p-11bef836.system.entry.js +0 -1
  233. package/dist/zonos-elements/p-1e934274.entry.js +0 -1
  234. package/dist/zonos-elements/p-20582e58.system.entry.js +0 -1
  235. package/dist/zonos-elements/p-2439c82f.system.entry.js +0 -1
  236. package/dist/zonos-elements/p-321226b0.entry.js +0 -1
  237. package/dist/zonos-elements/p-3221530d.system.entry.js +0 -1
  238. package/dist/zonos-elements/p-32d27535.entry.js +0 -1
  239. package/dist/zonos-elements/p-3d10866d.entry.js +0 -1
  240. package/dist/zonos-elements/p-3f05d130.system.entry.js +0 -1
  241. package/dist/zonos-elements/p-430eefd4.entry.js +0 -1
  242. package/dist/zonos-elements/p-49825866.system.entry.js +0 -1
  243. package/dist/zonos-elements/p-5525b740.entry.js +0 -1
  244. package/dist/zonos-elements/p-58a8ef6c.entry.js +0 -1
  245. package/dist/zonos-elements/p-60e262f0.system.entry.js +0 -1
  246. package/dist/zonos-elements/p-64b594f4.js +0 -1
  247. package/dist/zonos-elements/p-66471df6.entry.js +0 -1
  248. package/dist/zonos-elements/p-80d78980.system.entry.js +0 -1
  249. package/dist/zonos-elements/p-8a61a04f.system.entry.js +0 -1
  250. package/dist/zonos-elements/p-8b32f560.system.entry.js +0 -1
  251. package/dist/zonos-elements/p-94b15a5e.system.entry.js +0 -1
  252. package/dist/zonos-elements/p-9a45fae5.system.entry.js +0 -1
  253. package/dist/zonos-elements/p-9db2f9d1.system.js +0 -1
  254. package/dist/zonos-elements/p-b19d51e0.entry.js +0 -1
  255. package/dist/zonos-elements/p-b9652402.system.entry.js +0 -1
  256. package/dist/zonos-elements/p-cd1cc224.entry.js +0 -1
  257. package/dist/zonos-elements/p-d1b63cec.system.entry.js +0 -1
  258. package/dist/zonos-elements/p-d6b103d5.system.js +0 -1
  259. package/dist/zonos-elements/p-da6767d8.entry.js +0 -1
  260. package/dist/zonos-elements/p-dde1383b.entry.js +0 -1
  261. package/dist/zonos-elements/p-e28ed57c.js +0 -1
  262. package/dist/zonos-elements/p-f3d3c754.system.entry.js +0 -1
  263. package/dist/zonos-elements/p-f79682b5.entry.js +0 -1
@@ -37,20 +37,20 @@
37
37
  position: relative;
38
38
  overflow: hidden;
39
39
  border-radius: 30px;
40
- box-shadow: var(--amino-v3-shadow-medium);
40
+ box-shadow: var(--zonos-elements-v3-shadow-medium);
41
41
  z-index: 10;
42
42
  justify-self: center;
43
43
  }
44
44
  :host .zonos--hello-dialog {
45
45
  position: absolute;
46
- background: var(--amino-surface-color);
46
+ background: var(--zonos-elements-surface-color);
47
47
  width: 100vw;
48
48
  max-width: 430px;
49
49
  height: fit-content;
50
50
  max-height: 600px;
51
- border-radius: var(--amino-radius-12);
51
+ border-radius: var(--zonos-elements-radius-12);
52
52
  outline: none;
53
- box-shadow: var(--amino-v3-shadow-xxl);
53
+ box-shadow: var(--zonos-elements-v3-shadow-xxl);
54
54
  overflow-y: auto;
55
55
  top: -2px;
56
56
  right: -2px;
@@ -82,8 +82,8 @@
82
82
  }
83
83
  :host .zonos--hello-dialog::-webkit-scrollbar-track {
84
84
  background: #f5f5f5;
85
- border-top-right-radius: var(--amino-radius-12);
86
- border-bottom-right-radius: var(--amino-radius-12);
85
+ border-top-right-radius: var(--zonos-elements-radius-12);
86
+ border-bottom-right-radius: var(--zonos-elements-radius-12);
87
87
  }
88
88
  :host .zonos--hello-dialog::-webkit-scrollbar-thumb {
89
89
  border-radius: 10px;
@@ -111,8 +111,8 @@
111
111
  position: absolute;
112
112
  right: 8px;
113
113
  top: 8px;
114
- width: var(--amino-size-md);
115
- height: var(--amino-size-md);
114
+ width: var(--zonos-elements-size-md);
115
+ height: var(--zonos-elements-size-md);
116
116
  display: flex;
117
117
  align-items: center;
118
118
  justify-content: center;
@@ -120,14 +120,14 @@
120
120
  z-index: 10;
121
121
  }
122
122
  :host .zonos--hello-dialog .zonos--close-button:hover {
123
- background: var(--amino-hover-color);
124
- border-radius: var(--amino-radius-6);
123
+ background: var(--zonos-elements-hover-color);
124
+ border-radius: var(--zonos-elements-radius-6);
125
125
  }
126
126
  :host .zonos--hello-dialog .zonos--hello-dialog-content {
127
127
  padding: 16px;
128
128
  }
129
129
  :host .zonos--hello-dialog .zonos--hello-dialog-content .zonos--hello-country-flag {
130
- border-radius: var(--amino-radius-4);
130
+ border-radius: var(--zonos-elements-radius-4);
131
131
  width: 32px;
132
132
  height: 24px;
133
133
  }
@@ -50,13 +50,9 @@ export class ZonosHelloDialog {
50
50
  const dutyDeminimis = (countryLandedCost === null || countryLandedCost === void 0 ? void 0 : countryLandedCost.dutyDeminimus)
51
51
  ? currencyFormat(countryLandedCost.dutyDeminimus)
52
52
  : null;
53
- // If Canada, use 40 CAD (courier duty de minimis)
54
- const dutyDeminimisToUse = localizationStore.selectedCountryCode === 'CA'
55
- ? currencyFormat(40)
56
- : dutyDeminimis;
57
53
  // If deminimis is undefined or null, assume it's $0
58
- return dutyDeminimisToUse
59
- ? `${translate('Spend')} ${dutyDeminimisToUse} ${translate('duty free')}`
54
+ return dutyDeminimis
55
+ ? `${translate('Spend')} ${dutyDeminimis} ${translate('duty free')}`
60
56
  : translate('Duties will apply to all orders');
61
57
  };
62
58
  this.getTaxMessage = () => {
@@ -65,12 +61,8 @@ export class ZonosHelloDialog {
65
61
  const taxDeminimis = (countryLandedCost === null || countryLandedCost === void 0 ? void 0 : countryLandedCost.vatTaxDeminimus)
66
62
  ? currencyFormat(countryLandedCost.vatTaxDeminimus)
67
63
  : null;
68
- // If Canada, use 150 CAD (courier tax de minimis)
69
- const taxDeminimisToUse = localizationStore.selectedCountryCode === 'CA'
70
- ? currencyFormat(150)
71
- : taxDeminimis;
72
- return taxDeminimisToUse
73
- ? `${translate('Spend')} ${taxDeminimisToUse} ${translate('tax free')}`
64
+ return taxDeminimis
65
+ ? `${translate('Spend')} ${taxDeminimis} ${translate('tax free')}`
74
66
  : translate('Taxes will apply to all orders');
75
67
  };
76
68
  this.getUkDutyTaxMessage = (landedCost) => {
@@ -157,17 +149,17 @@ export class ZonosHelloDialog {
157
149
  const defaultMessage = formatStringWithLinks(defaultMessageStr);
158
150
  const currentPage = this.getCurrentPageEnum();
159
151
  const filteredMessages = customMessages.filter(x => x.pageName === currentPage);
160
- return (h(Host, { key: '7e8de73755369d6e94a502ad580f051fa6c8da6d', class: "zonos--elements" }, h("div", { key: '1680bee2115bd6b9c21cf7288aac99343a106fc6', "aria-hidden": "true", class: classes([
152
+ return (h(Host, { key: 'e54181bd2c3eb1c77d5dad36c5426f4e9ddee766', class: "zonos--elements" }, h("div", { key: '3960f91898ed2409018cbac487491f38ab0b0c5e', "aria-hidden": "true", class: classes([
161
153
  'zonos--hello-dialog',
162
154
  animateLeft && 'zonos--hello-dialog-animate-from-left',
163
155
  animateFromBottom && 'zonos--hello-dialog-animate-from-bottom',
164
156
  !!this.mobileLocationOverride &&
165
157
  'zonos--hello-dialog-mobile-override',
166
158
  this.isOpen && 'zonos--hello-dialog-open',
167
- ]), ref: el => el && (this.dialogRef = el) }, !this.showCountrySelect && !this.showLanguageSelect && (h("div", { key: '878dfde3a7df3cb257a3344a7d45b5d09f06abdd' }, h("div", { key: '167f9ad860c1d8acf36bde0ebf718d3e7e37a1e5', class: "zonos--hello-dialog-content" }, h("zonos-button", { key: '5aa8eeb4b01fb2282b881377ba4bf11cd7caa623', class: "zonos--close-button", icon: h("zonos-icon", { "aria-label": "Close Zonos Hello dialog", content: RemoveIcon }), noBackground: true, onClick: () => this.setIsOpen(false) }), h("zonos-v-stack", { key: 'aee8f07760b9f68abd57476683cf2b450a20e09e', spacing: 24 }, h("zonos-country-flag", { key: 'd71c48fb777ef4a7e15d419e4902ba1b0f4ca212', class: "zonos--hello-country-flag", countryCode: selectedCountryCode }), h("zonos-v-stack", { key: 'a00c00aaf92c76c1e7e207fb301c3e5002a83407', class: "zonos--hello-dialog-header", spacing: 4 }, h("zonos-text", { key: '77c763fa74510d3a182a4f6f1b4f48eab6498573', type: "boldSubheader" }, welcomeMessage), h("zonos-text", { key: '3d3a634aee3b4277460de8f977a901ae29f5baac', innerHTML: defaultMessage, textColor: "gray-800" })), h("zonos-v-stack", { key: '85237fae85ab07206bcdfff86de4cfae928fb730', spacing: 8 }, this.restrictedItems.map(item => {
159
+ ]), ref: el => el && (this.dialogRef = el) }, !this.showCountrySelect && !this.showLanguageSelect && (h("div", { key: '69c9b9ebe1cdde7a43773eeabfa07e9bb842df14' }, h("div", { key: 'fcad53ed6962a775ec1cb325636db397f34f62b2', class: "zonos--hello-dialog-content" }, h("zonos-button", { key: '018c3ce79334f35d6f7c04143b2a1f14c068405f', class: "zonos--close-button", icon: h("zonos-icon", { "aria-label": "Close Zonos Hello dialog", content: RemoveIcon }), noBackground: true, onClick: () => this.setIsOpen(false) }), h("zonos-v-stack", { key: '38e19b5e803f0fcd89adf54e95f40549c93ea511', spacing: 24 }, h("zonos-country-flag", { key: '01ea29a0de53d00c9eb49e29fb8680da92656db4', class: "zonos--hello-country-flag", countryCode: selectedCountryCode }), h("zonos-v-stack", { key: '7a1dd895a58fdf4e008164828e6ee7bae96723ab', class: "zonos--hello-dialog-header", spacing: 4 }, h("zonos-text", { key: 'a1c334ba3f4e7a15de6f14d17440faae44a26498', type: "boldSubheader" }, welcomeMessage), h("zonos-text", { key: 'dad722c938d002eaa223ef847c86bafbe1815bdc', innerHTML: defaultMessage, textColor: "gray-800" })), h("zonos-v-stack", { key: '1b1d7d1e3ee671fecba8ec2731ffb0f4356af1e7', spacing: 8 }, this.restrictedItems.map(item => {
168
160
  var _a;
169
161
  return item && (h("zonos-banner", { bannerTitle: item.name, intent: "error" }, (_a = item.itemRestrictions) === null || _a === void 0 ? void 0 : _a.map(x => (h("zonos-text", { textColor: "red-800" }, x === null || x === void 0 ? void 0 : x.note)))));
170
- }), h("zonos-card", { key: '7538d03f14fe518406f2a16afff5e08460fbbc37', spacing: "12px" }, h("zonos-v-stack", { key: 'e8e7d5dd2765b70b38e22028a0cd084a826bafbd', spacing: 12 }, h("div", { key: '0822cd8d0023b2dbf2f99e957d0cd7c0ddab5d30', class: "zonos--flex-message" }, h("zonos-icon", { key: '098699a08612c6bccd07a32597f4cb69b111ddbd', "aria-label": "Duty de minimis", content: ImportIcon }), h("zonos-text", { key: '28e26206a7a4eb7604030f3612265e0b623f17a5' }, dutyDeMinimisMessage)), h("div", { key: '2128d439fa2bdf1304979b8f4a1c4e438d11cced', class: "zonos--flex-message" }, h("zonos-icon", { key: 'd1fa307f787d7f8f36b31e13208761fd841603fe', "aria-label": "Tax de minimis", content: MoneyIcon }), h("zonos-text", { key: 'b29a178d243d8b0300adef157a03e8f80e8d6590' }, taxDeMinimisMessage)), additionalInformation && (h("div", { key: '2c764bc1c8eb74f6ea036c6bab4ac7ba12753531', class: "zonos--flex-message" }, h("zonos-icon", { key: '91277f65b642b8e79a04839f7fbf3f1886d3585b', "aria-label": "Low value order shipping restriction", content: BagIcon }), h("zonos-text", { key: 'cabce597179bdf0a92334e0e72297661c9d6cd67' }, additionalInformation))))), filteredMessages.map(x => (h("zonos-custom-message", { icon: MessageIcon, message: x.message })))))), h("zonos-hello-dialog-footer", { key: '6582cdaa19e7252b4c6401c1a69bd9df7b690b3c', appearanceSettings: this.appearanceSettings, setShowCountrySelect: value => this.setShowCountrySelect(value), setShowLanguageSelect: value => this.setShowLanguageSelect(value) }))), this.showCountrySelect && (h("div", { key: 'f10d4c707e32dd77888292cbfec2bf4fe71f4467' }, h("zonos-country-select", { key: '5f09ef49c781096248104eb77845b783aa3d6d56', handleOnClose: () => this.setShowCountrySelect(false) }))), this.showLanguageSelect && (h("div", { key: '8985543a50da7be63ddfbf40a01e5a6af3e9d7b9' }, h("zonos-language-select", { key: '9b2197ea5b765a5d15a02522a14e959100254669', handleOnClose: () => this.setShowLanguageSelect(false) }))))));
162
+ }), h("zonos-card", { key: '0bef1474f44e1a60c48845562f455bfb214bcc80', spacing: "12px" }, h("zonos-v-stack", { key: '5d65f0de1641b30119463da8b42622805fef4f9b', spacing: 12 }, h("div", { key: 'f752d5a9738490220fd4c98615bc7416d38cc2d1', class: "zonos--flex-message" }, h("zonos-icon", { key: '7a9ac42800b0d35a18cc13bd611d79acd20244cf', "aria-label": "Duty de minimis", content: ImportIcon }), h("zonos-text", { key: '3d31748fcd4c718326ff62ea2e97088d8ab1ed3e' }, dutyDeMinimisMessage)), h("div", { key: '699d72e9efc630452bf947be8f0e44ca09819cfe', class: "zonos--flex-message" }, h("zonos-icon", { key: 'e997263930e53e22c3a4e8dd5f20e1ee3cd695e4', "aria-label": "Tax de minimis", content: MoneyIcon }), h("zonos-text", { key: 'e1c2a5ee2718a5446a63c2b8d547848e262817f0' }, taxDeMinimisMessage)), additionalInformation && (h("div", { key: '8522ab846d9733fb8ffd3b9873e8b9650aa63b58', class: "zonos--flex-message" }, h("zonos-icon", { key: '20cb281304b9839fe7f30685949af2aa3af9721d', "aria-label": "Low value order shipping restriction", content: BagIcon }), h("zonos-text", { key: '9347d34c8fbfd9bf04ba2b6d79186263b524c2a8' }, additionalInformation))))), filteredMessages.map(x => (h("zonos-custom-message", { icon: MessageIcon, message: x.message })))))), h("zonos-hello-dialog-footer", { key: 'a6980cae6e361ae1f5b00ec4827127422adee301', appearanceSettings: this.appearanceSettings, setShowCountrySelect: value => this.setShowCountrySelect(value), setShowLanguageSelect: value => this.setShowLanguageSelect(value) }))), this.showCountrySelect && (h("div", { key: 'be7793fb262c395ae96fa6acfe0c14fbf062b1c9' }, h("zonos-country-select", { key: '2224aade7391512826b4b9c46bd826f013945f83', handleOnClose: () => this.setShowCountrySelect(false) }))), this.showLanguageSelect && (h("div", { key: '006ac0317c9a7911c1e48f7c30f66b3e8882f6d6' }, h("zonos-language-select", { key: '1577f733b5556e7683b6c74dc111e99c77ba0649', handleOnClose: () => this.setShowLanguageSelect(false) }))))));
171
163
  }
172
164
  static get is() { return "zonos-hello-dialog"; }
173
165
  static get encapsulation() { return "shadow"; }
@@ -14,7 +14,7 @@ import { getCurrencyCode } from "../../utils/hello/currencyConversion/getCurrenc
14
14
  import { setZCountryUrlParam } from "../../utils/hello/setZCountryUrlParam";
15
15
  import { log } from "../../utils/logging/log";
16
16
  import { logError } from "../../utils/logging/logError";
17
- const { state: localizationStore } = createStore({
17
+ const { onChange: localizationStoreOnUpdate, state: localizationStore } = createStore({
18
18
  countryLandedCost: null,
19
19
  customMessages: [],
20
20
  exchangeRate: null,
@@ -171,4 +171,4 @@ const localizationStoreUpdateSelectedLocale = (newSelectedLocale) => {
171
171
  translationStoreUpdateLanguage(newSelectedLocale);
172
172
  void updateCheckoutSessionLanguage();
173
173
  };
174
- export { initLocalizationStore, localizationStore, localizationStoreUpdateSelectedCountryCode, localizationStoreUpdateSelectedLocale, };
174
+ export { initLocalizationStore, localizationStore, localizationStoreOnUpdate, localizationStoreUpdateSelectedCountryCode, localizationStoreUpdateSelectedLocale, };
@@ -8,7 +8,7 @@ export const getButtonTheme = (overrideBackground) => {
8
8
  // use override background if it exists, otherwise use color from setting
9
9
  const background = overrideBackground || zonosStore.appearance.colorSecondary;
10
10
  const backgroundColor = background && isColorVariable(background)
11
- ? `var(--amino-${background})`
11
+ ? `var(--zonos-elements-${background})`
12
12
  : background;
13
13
  // determine theme based on background color (to change button text color if needed)
14
14
  const buttonTheme = backgroundColor && isDarkColor(backgroundColor) ? 'DARK' : 'LIGHT';
@@ -1,7 +1,7 @@
1
1
  export const isColorVariable = (color) => {
2
2
  const isAminoVariable = color &&
3
- // match --amino-<color>
4
- (/--amino-/gi.test(color) ||
3
+ // match --zonos-elements-<color>
4
+ (/--zonos-elements-/gi.test(color) ||
5
5
  // match 'gray-0'
6
6
  /(\-*)\w+-\d+/gi.test(color));
7
7
  return (!!isAminoVariable &&
@@ -1,7 +1,7 @@
1
1
  const isColorVariable = (color) => {
2
2
  const isAminoVariable = color &&
3
- // match --amino-<color>
4
- (/--amino-/gi.test(color) ||
3
+ // match --zonos-elements-<color>
4
+ (/--zonos-elements-/gi.test(color) ||
5
5
  // match 'gray-0'
6
6
  /(\-*)\w+-\d+/gi.test(color));
7
7
  return (!!isAminoVariable &&
@@ -452,7 +452,7 @@ const setZCountryUrlParam = (selectedCountryCode) => {
452
452
  window.history.replaceState({}, '', newUrl);
453
453
  };
454
454
 
455
- const { state: localizationStore } = createStore({
455
+ const { onChange: localizationStoreOnUpdate, state: localizationStore } = createStore({
456
456
  countryLandedCost: null,
457
457
  customMessages: [],
458
458
  exchangeRate: null,
@@ -1619,4 +1619,4 @@ onChange('clientSecret', clientSecret => {
1619
1619
  }
1620
1620
  });
1621
1621
 
1622
- export { initLocalizationStore as A, getZCountryUrlParam as B, setZCountryUrlParam as C, currencyDisplay as D, currencyConvertAndFormat as E, currencyConvert as F, currencyFormat as G, localizationStore as a, log as b, cartStore as c, stripeStoreGetDomesticShippingSession as d, localizationStoreUpdateSelectedCountryCode as e, stripeStoreCleanupDomesticShippingSession as f, stripeStoreSaveDomesticShippingSession as g, cartStoreUpdateItems as h, initStripeElements as i, cartStoreReset as j, cartStoreResetTabItems as k, logError as l, stripeStoreInitCheckoutSession as m, cartStoreUpdateToErrorState as n, stripeStorePrefetchLandedCost as o, cartStoreNextStep as p, stripeStoreConfirmPayment as q, stripeStoreReset as r, stripeStore as s, handleFetch as t, stripeStoreRetrievePayment as u, stripeStoreTranslateAddressToLatin as v, localizationStoreUpdateSelectedLocale as w, cartStoreUpdateSelectedShippingOption as x, cartStoreGetShippingTransitInfo as y, isValidSelector as z };
1622
+ export { isValidSelector as A, initLocalizationStore as B, getZCountryUrlParam as C, setZCountryUrlParam as D, currencyDisplay as E, currencyConvertAndFormat as F, currencyConvert as G, currencyFormat as H, localizationStore as a, log as b, cartStore as c, stripeStoreGetDomesticShippingSession as d, localizationStoreUpdateSelectedCountryCode as e, stripeStoreCleanupDomesticShippingSession as f, stripeStoreSaveDomesticShippingSession as g, cartStoreUpdateItems as h, initStripeElements as i, cartStoreReset as j, cartStoreResetTabItems as k, logError as l, stripeStoreInitCheckoutSession as m, cartStoreUpdateToErrorState as n, stripeStorePrefetchLandedCost as o, cartStoreNextStep as p, stripeStoreConfirmPayment as q, stripeStoreReset as r, stripeStore as s, localizationStoreOnUpdate as t, handleFetch as u, stripeStoreRetrievePayment as v, stripeStoreTranslateAddressToLatin as w, localizationStoreUpdateSelectedLocale as x, cartStoreUpdateSelectedShippingOption as y, cartStoreGetShippingTransitInfo as z };
@@ -1,4 +1,4 @@
1
- import { t as handleFetch, c as cartStore, a as localizationStore } from './stripe.js';
1
+ import { u as handleFetch, c as cartStore, a as localizationStore } from './stripe.js';
2
2
  import { z as zonosStore } from './zonosStore.js';
3
3
 
4
4
  const trackConversionEvent = async (eventName, metadata) => {
@@ -5,7 +5,7 @@ import { i as isTextContainsNonLatinChars } from './containsNonLatinChars.js';
5
5
  import { d as defineCustomElement$2 } from './zonos-country-flag2.js';
6
6
  import { d as defineCustomElement$1 } from './zonos-text2.js';
7
7
 
8
- const zonosAddressDisplayCss = ":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--title{margin-bottom:12px}:host .zonos--address-group{display:-ms-flexbox;display:flex;gap:4px;-ms-flex-direction:column;flex-direction:column}:host .zonos--address-line{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}:host .zonos--address-line zonos-text+zonos-text::before{content:\", \";color:var(--amino-gray-1200);margin-right:4px}:host .zonos--country-flag{width:20px;height:14px;border-radius:2px;margin:1px;position:relative;overflow:hidden;-webkit-box-shadow:var(--amino-v3-shadow-medium);box-shadow:var(--amino-v3-shadow-medium);margin-right:8px;z-index:10;justify-self:center}";
8
+ const zonosAddressDisplayCss = ":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--title{margin-bottom:12px}:host .zonos--address-group{display:-ms-flexbox;display:flex;gap:4px;-ms-flex-direction:column;flex-direction:column}:host .zonos--address-line{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}:host .zonos--address-line zonos-text+zonos-text::before{content:\", \";color:var(--zonos-elements-gray-1200);margin-right:4px}:host .zonos--country-flag{width:20px;height:14px;border-radius:2px;margin:1px;position:relative;overflow:hidden;-webkit-box-shadow:var(--zonos-elements-v3-shadow-medium);box-shadow:var(--zonos-elements-v3-shadow-medium);margin-right:8px;z-index:10;justify-self:center}";
9
9
  const ZonosAddressDisplayStyle0 = zonosAddressDisplayCss;
10
10
 
11
11
  const ZonosAddressDisplay = /*@__PURE__*/ proxyCustomElement(class ZonosAddressDisplay extends HTMLElement {
@@ -13,9 +13,9 @@ import { d as defineCustomElement$3 } from './zonos-input2.js';
13
13
  import { d as defineCustomElement$2 } from './zonos-spinner2.js';
14
14
  import { d as defineCustomElement$1 } from './zonos-text2.js';
15
15
 
16
- 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>`;
16
+ const RemoveIcon = `<svg color="var(--zonos-elements-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(--zonos-elements-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>`;
17
17
 
18
- const zonosAddressUpdateDialogCss = ":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--body{padding:0 24px;position:relative}:host .zonos--dialog-header{margin-bottom:32px;position:-webkit-sticky;position:sticky;padding-top:24px;top:0;z-index:11;background:var(--amino-gray-0)}:host .zonos--dialog-title{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:center;align-items:center;margin-bottom:12px}:host .zonos--group{overflow:auto;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:8px}:host .zonos--group::-webkit-scrollbar{width:10px}:host .zonos--group::-webkit-scrollbar-track{background:var(--amino-gray-50)}:host .zonos--group::-webkit-scrollbar-thumb{border-radius:10px;background:#cccccc;border:3px solid transparent;background-clip:content-box}:host .zonos--group::-webkit-scrollbar-thumb:hover{background:#d6d6d6}:host .zonos--address-display-group{display:-ms-flexbox;display:flex;gap:8px;margin-bottom:20px}:host .zonos--address-display-group zonos-address-display{-ms-flex:1;flex:1}:host .zonos--what-you-entered{margin-bottom:8px}:host .zonos--address-form-section{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:24px}:host .zonos--group-btn{position:-webkit-sticky;position:sticky;padding:24px 0;bottom:0;display:-ms-flexbox;display:flex;-ms-flex-pack:end;justify-content:end;background:var(--amino-gray-0);z-index:11}:host .zonos--group-btn .zonos--button-wrapper{display:-ms-flexbox;display:flex;gap:8px}:host(.mobile) .zonos--button-wrapper{-ms-flex-direction:column;flex-direction:column;width:100%}:host(.mobile) .zonos--button-wrapper zonos-button{width:100%}:host(.mobile) .zonos--button-wrapper .zonos--cancel-btn{-ms-flex-order:2;order:2}:host(.mobile) .zonos--button-wrapper .zonos--update-btn{-ms-flex-order:1;order:1}";
18
+ const zonosAddressUpdateDialogCss = ":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--body{padding:0 24px;position:relative}:host .zonos--dialog-header{margin-bottom:32px;position:-webkit-sticky;position:sticky;padding-top:24px;top:0;z-index:11;background:var(--zonos-elements-gray-0)}:host .zonos--dialog-title{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:center;align-items:center;margin-bottom:12px}:host .zonos--group{overflow:auto;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:8px}:host .zonos--group::-webkit-scrollbar{width:10px}:host .zonos--group::-webkit-scrollbar-track{background:var(--zonos-elements-gray-50)}:host .zonos--group::-webkit-scrollbar-thumb{border-radius:10px;background:#cccccc;border:3px solid transparent;background-clip:content-box}:host .zonos--group::-webkit-scrollbar-thumb:hover{background:#d6d6d6}:host .zonos--address-display-group{display:-ms-flexbox;display:flex;gap:8px;margin-bottom:20px}:host .zonos--address-display-group zonos-address-display{-ms-flex:1;flex:1}:host .zonos--what-you-entered{margin-bottom:8px}:host .zonos--address-form-section{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:24px}:host .zonos--group-btn{position:-webkit-sticky;position:sticky;padding:24px 0;bottom:0;display:-ms-flexbox;display:flex;-ms-flex-pack:end;justify-content:end;background:var(--zonos-elements-gray-0);z-index:11}:host .zonos--group-btn .zonos--button-wrapper{display:-ms-flexbox;display:flex;gap:8px}:host(.mobile) .zonos--button-wrapper{-ms-flex-direction:column;flex-direction:column;width:100%}:host(.mobile) .zonos--button-wrapper zonos-button{width:100%}:host(.mobile) .zonos--button-wrapper .zonos--cancel-btn{-ms-flex-order:2;order:2}:host(.mobile) .zonos--button-wrapper .zonos--update-btn{-ms-flex-order:1;order:1}";
19
19
  const ZonosAddressUpdateDialogStyle0 = zonosAddressUpdateDialogCss;
20
20
 
21
21
  const ZonosAddressUpdateDialog = /*@__PURE__*/ proxyCustomElement(class ZonosAddressUpdateDialog extends HTMLElement {
@@ -3,7 +3,7 @@ import { a as zonosStoreFontFamily } from './zonosStore.js';
3
3
  import { c as classes } from './classes.js';
4
4
  import { d as defineCustomElement$1 } from './zonos-text2.js';
5
5
 
6
- 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:8px;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)}";
6
+ 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:8px;font-size:var(--zonos-elements-font-size-s);padding:4px 8px;text-align:center;border-radius:var(--zonos-elements-radius-6);background-color:var(--zonos-elements-gray-100);color:var(--zonos-elements-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(--zonos-elements-gray-600);color:var(--zonos-elements-gray-100)}:host .blue{background-color:var(--zonos-elements-blue-100);color:var(--zonos-elements-blue-800)}:host .blue.bold{background-color:var(--zonos-elements-blue-600);color:var(--zonos-elements-blue-100)}:host .green{background-color:var(--zonos-elements-green-100);color:var(--zonos-elements-green-800)}:host .green.bold{background-color:var(--zonos-elements-green-600);color:var(--zonos-elements-green-100)}:host .red{background-color:var(--zonos-elements-red-100);color:var(--zonos-elements-red-800)}:host .red.bold{background-color:var(--zonos-elements-red-600);color:var(--zonos-elements-red-100)}:host .orange{background-color:var(--zonos-elements-orange-100);color:var(--zonos-elements-orange-800)}:host .orange.bold{background-color:var(--zonos-elements-orange-600);color:var(--zonos-elements-orange-100)}:host .purple{background-color:var(--zonos-elements-purple-100);color:var(--zonos-elements-purple-800)}:host .purple.bold{background-color:var(--zonos-elements-purple-600);color:var(--zonos-elements-purple-100)}:host .cyan{background-color:var(--zonos-elements-cyan-100);color:var(--zonos-elements-cyan-800)}:host .cyan.bold{background-color:var(--zonos-elements-cyan-600);color:var(--zonos-elements-cyan-100)}";
7
7
  const ZonosBadgeStyle0 = zonosBadgeCss;
8
8
 
9
9
  const ZonosBadge = /*@__PURE__*/ proxyCustomElement(class ZonosBadge extends HTMLElement {
@@ -3,7 +3,7 @@ import { a as zonosStoreFontFamily } from './zonosStore.js';
3
3
  import { c as classes } from './classes.js';
4
4
  import { d as defineCustomElement$1 } from './zonos-text2.js';
5
5
 
6
- 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:16px;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:0px;grid-area:header}:host .zonos--content-wrapper{grid-area:content;margin-top:4px}: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)}";
6
+ 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(--zonos-elements-radius-10);padding:16px;background:var(--zonos-elements-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:0px;grid-area:header}:host .zonos--content-wrapper{grid-area:content;margin-top:4px}:host(.info){background-color:var(--zonos-elements-blue-100);border:1px solid var(--zonos-elements-blue-200)}:host(.success){background-color:var(--zonos-elements-green-100);border:1px solid var(--zonos-elements-green-200)}:host(.error){background-color:var(--zonos-elements-red-100);border:1px solid var(--zonos-elements-red-200)}:host(.warning){background-color:var(--zonos-elements-orange-100);border:1px solid var(--zonos-elements-orange-200)}";
7
7
  const ZonosBannerStyle0 = zonosBannerCss;
8
8
 
9
9
  const ZonosBanner = /*@__PURE__*/ proxyCustomElement(class ZonosBanner extends HTMLElement {
@@ -23,8 +23,8 @@ const ZonosBanner = /*@__PURE__*/ proxyCustomElement(class ZonosBanner extends H
23
23
  }
24
24
  render() {
25
25
  const renderContent = ({ color }) => {
26
- const primaryColor = `var(--amino-${color}-800)`;
27
- const secondaryColor = `var(--amino-${color}-300)`;
26
+ const primaryColor = `var(--zonos-elements-${color}-800)`;
27
+ const secondaryColor = `var(--zonos-elements-${color}-300)`;
28
28
  const [header, content] = [
29
29
  this.bannerTitle,
30
30
  h("slot", { onSlotchange: this.handleSlotChange }),
@@ -13,7 +13,7 @@ const getButtonTheme = (overrideBackground) => {
13
13
  // use override background if it exists, otherwise use color from setting
14
14
  const background = overrideBackground || zonosStore.appearance.colorSecondary;
15
15
  const backgroundColor = background && isColorVariable(background)
16
- ? `var(--amino-${background})`
16
+ ? `var(--zonos-elements-${background})`
17
17
  : background;
18
18
  // determine theme based on background color (to change button text color if needed)
19
19
  const buttonTheme = backgroundColor && isDarkColor(backgroundColor) ? 'DARK' : 'LIGHT';
@@ -33,7 +33,7 @@ const styles = (props) => {
33
33
  }, {});
34
34
  };
35
35
 
36
- const zonosButtonCss = ":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;border-radius:var(--border-radius, var(--amino-radius-10))}:host .zonos--spinner-wrapper{position:absolute;top:0;left:0;right:0;bottom:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;background-color:var(--amino-surface-color);-ms-flex-pack:center;justify-content:center;border-radius:var(--amino-radius-10);gap:8px}:host button{width:100%;position:relative;font-size:14px;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;background-color:var(--amino-surface-color);border:none;outline:1px solid var(--amino-surface-color);border-radius:var(--border-radius, var(--amino-radius-10));-webkit-transition:var(--amino-transition);transition:var(--amino-transition);font-weight:500;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-family:var(--font-family, Inter), Inter;letter-spacing:normal;cursor:pointer;white-space:nowrap;padding:8px 24px;color:var(--color, var(--amino-gray-1200));margin:1px;}:host button.sm.no-background,:host button.md.no-background,:host button.lg.no-background{background:none;outline:none}:host button.sm.no-padding-left,:host button.md.no-padding-left,:host button.lg.no-padding-left{padding-left:0}:host button.sm.no-padding-right,:host button.md.no-padding-right,:host button.lg.no-padding-right{padding-right:0}:host button[disabled]{cursor:not-allowed;background-color:var(--background-color, var(--amino-gray-200))}:host button[disabled] .zonos--spinner-wrapper{background-color:var(--background-color, var(--amino-gray-200))}:host button:active{-webkit-transform:scale(0.99);transform:scale(0.99)}:host button.sm{height:var(--amino-size-sm);line-height:var(--amino-size-sm);padding:4px 8px}:host button.sm:not(.has-content).has-icon{padding:0 4px}:host button.md{height:var(--amino-size-md);line-height:var(--amino-size-md);padding:8px 16px}:host button.md:not(.has-content).has-icon{padding:0 8px}:host button.lg{height:var(--amino-size-lg);line-height:var(--amino-size-lg);padding:12px 24px}:host button.lg:not(.has-content).has-icon{padding:0 16px}:host button:not(.only-icon).has-icon{gap:8px}@media (max-width: 400px){:host button:not(.only-icon).has-icon{font-size:var(--amino-font-size-s)}}:host button.override-background{background-color:var(--background-color, var(--amino-gray-0));color:var(--color, var(--amino-gray-1200));outline:1px solid var(--background-color, var(--amino-gray-0))}:host button.override-background:disabled{opacity:0.8}:host button.override-background:not(:disabled):hover{opacity:0.9}:host button:not(.override-background){}:host button:not(.override-background).primary{background:var(--amino-blue-600);outline:1px solid var(--amino-blue-600);color:var(--amino-gray-0)}:host button:not(.override-background).primary:not([disabled]):hover{background-image:var(--amino-button-primary-hover)}:host button:not(.override-background).primary:not([disabled]):active{background:var(--amino-blue-700)}:host button:not(.override-background).primary:not([disabled]):focus{-webkit-box-shadow:var(--amino-focus-button);box-shadow:var(--amino-focus-button)}:host button:not(.override-background).primary[disabled]{background:var(--amino-blue-400)}:host button:not(.override-background).primary[disabled] .zonos--spinner-wrapper{background-color:var(--amino-blue-400)}:host button:not(.override-background).primary .zonos--spinner-wrapper{background-color:var(--amino-blue-600)}:host button:not(.override-background).success{background:var(--amino-green-600);outline:1px solid var(--amino-green-600);color:var(--amino-gray-0)}:host button:not(.override-background).success:not([disabled]):hover{background-image:var(--amino-button-success-hover)}:host button:not(.override-background).success:not([disabled]):active{background:var(--amino-green-700)}:host button:not(.override-background).success:not([disabled]):focus{-webkit-box-shadow:var(--amino-focus-button);box-shadow:var(--amino-focus-button)}:host button:not(.override-background).success[disabled]{background:var(--amino-green-400)}:host button:not(.override-background).success[disabled] .zonos--spinner-wrapper{background-color:var(--amino-green-400)}:host button:not(.override-background).danger{background:var(--amino-red-600);outline:1px solid var(--amino-red-600);color:var(--amino-gray-0)}:host button:not(.override-background).danger:not([disabled]):hover{background-image:var(--amino-button-danger-hover)}:host button:not(.override-background).danger:not([disabled]):active{background:var(--amino-red-700)}:host button:not(.override-background).danger:not([disabled]):focus{-webkit-box-shadow:var(--amino-focus-button);box-shadow:var(--amino-focus-button)}:host button:not(.override-background).danger[disabled]{background:var(--amino-red-400)}:host button:not(.override-background).danger[disabled] .zonos--spinner-wrapper{background-color:var(--amino-red-400)}:host button:not(.override-background).warning{background:var(--amino-orange-600);outline:1px solid var(--amino-orange-600);color:var(--amino-gray-0)}:host button:not(.override-background).warning:not([disabled]):hover{background-image:var(--amino-button-warning-hover)}:host button:not(.override-background).warning:not([disabled]):active{background:var(--amino-orange-700)}:host button:not(.override-background).warning:not([disabled]):focus{-webkit-box-shadow:var(--amino-focus-button);box-shadow:var(--amino-focus-button)}:host button:not(.override-background).warning[disabled]{background:var(--amino-orange-400)}:host button:not(.override-background).warning[disabled] .zonos--spinner-wrapper{background-color:var(--amino-orange-400)}:host button:not(.override-background).subtle{background:transparent;color:var(--color);outline:none}:host button:not(.override-background).subtle:not([disabled]):hover{background:var(--amino-gray-500);color:var(--amino-gray-0)}:host button:not(.override-background).subtle:not([disabled]):active{background:var(--amino-gray-200)}:host button:not(.override-background).subtle:focus{-webkit-box-shadow:var(--amino-button-focus-ring);box-shadow:var(--amino-button-focus-ring)}:host button:not(.override-background).subtle[disabled] .content{opacity:0.6}:host button:not(.override-background).subtle[disabled] .zonos--spinner-wrapper{background-color:var(--amino-gray-0)}:host button:not(.override-background).outline{background:transparent;outline:1px solid var(--amino-gray-700)}:host button:not(.override-background).outline:not([disabled]):hover{background-color:var(--amino-gray-100)}:host button:not(.override-background).outline:not([disabled]):active{background:var(--amino-gray-200)}:host .zonos--footer-country-flag{height:18px;width:18px;position:relative;overflow:hidden;border-radius:30px;-webkit-box-shadow:var(--amino-v3-shadow-medium);box-shadow:var(--amino-v3-shadow-medium);z-index:10;justify-self:center;border-radius:var(--amino-radius-4);width:24px}";
36
+ const zonosButtonCss = ":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;border-radius:var(--border-radius, var(--zonos-elements-radius-10))}:host .zonos--spinner-wrapper{position:absolute;top:0;left:0;right:0;bottom:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;background-color:var(--zonos-elements-surface-color);-ms-flex-pack:center;justify-content:center;border-radius:var(--zonos-elements-radius-10);gap:8px}:host button{width:100%;position:relative;font-size:14px;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;background-color:var(--zonos-elements-surface-color);border:none;outline:1px solid var(--zonos-elements-surface-color);border-radius:var(--border-radius, var(--zonos-elements-radius-10));-webkit-transition:var(--zonos-elements-transition);transition:var(--zonos-elements-transition);font-weight:500;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-family:var(--font-family, Inter), Inter;letter-spacing:normal;cursor:pointer;white-space:nowrap;padding:8px 24px;color:var(--color, var(--zonos-elements-gray-1200));margin:1px;}:host button.sm.no-background,:host button.md.no-background,:host button.lg.no-background{background:none;outline:none}:host button.sm.no-padding-left,:host button.md.no-padding-left,:host button.lg.no-padding-left{padding-left:0}:host button.sm.no-padding-right,:host button.md.no-padding-right,:host button.lg.no-padding-right{padding-right:0}:host button[disabled]{cursor:not-allowed;background-color:var(--background-color, var(--zonos-elements-gray-200))}:host button[disabled] .zonos--spinner-wrapper{background-color:var(--background-color, var(--zonos-elements-gray-200))}:host button:active{-webkit-transform:scale(0.99);transform:scale(0.99)}:host button.sm{height:var(--zonos-elements-size-sm);line-height:var(--zonos-elements-size-sm);padding:4px 8px}:host button.sm:not(.has-content).has-icon{padding:0 4px}:host button.md{height:var(--zonos-elements-size-md);line-height:var(--zonos-elements-size-md);padding:8px 16px}:host button.md:not(.has-content).has-icon{padding:0 8px}:host button.lg{height:var(--zonos-elements-size-lg);line-height:var(--zonos-elements-size-lg);padding:12px 24px}:host button.lg:not(.has-content).has-icon{padding:0 16px}:host button:not(.only-icon).has-icon{gap:8px}@media (max-width: 400px){:host button:not(.only-icon).has-icon{font-size:var(--zonos-elements-font-size-s)}}:host button.override-background{background-color:var(--background-color, var(--zonos-elements-gray-0));color:var(--color, var(--zonos-elements-gray-1200));outline:1px solid var(--background-color, var(--zonos-elements-gray-0))}:host button.override-background:disabled{opacity:0.8}:host button.override-background:not(:disabled):hover{opacity:0.9}:host button:not(.override-background){}:host button:not(.override-background).primary{background:var(--zonos-elements-blue-600);outline:1px solid var(--zonos-elements-blue-600);color:var(--zonos-elements-gray-0)}:host button:not(.override-background).primary:not([disabled]):hover{background-image:var(--zonos-elements-button-primary-hover)}:host button:not(.override-background).primary:not([disabled]):active{background:var(--zonos-elements-blue-700)}:host button:not(.override-background).primary:not([disabled]):focus{-webkit-box-shadow:var(--zonos-elements-focus-button);box-shadow:var(--zonos-elements-focus-button)}:host button:not(.override-background).primary[disabled]{background:var(--zonos-elements-blue-400)}:host button:not(.override-background).primary[disabled] .zonos--spinner-wrapper{background-color:var(--zonos-elements-blue-400)}:host button:not(.override-background).primary .zonos--spinner-wrapper{background-color:var(--zonos-elements-blue-600)}:host button:not(.override-background).success{background:var(--zonos-elements-green-600);outline:1px solid var(--zonos-elements-green-600);color:var(--zonos-elements-gray-0)}:host button:not(.override-background).success:not([disabled]):hover{background-image:var(--zonos-elements-button-success-hover)}:host button:not(.override-background).success:not([disabled]):active{background:var(--zonos-elements-green-700)}:host button:not(.override-background).success:not([disabled]):focus{-webkit-box-shadow:var(--zonos-elements-focus-button);box-shadow:var(--zonos-elements-focus-button)}:host button:not(.override-background).success[disabled]{background:var(--zonos-elements-green-400)}:host button:not(.override-background).success[disabled] .zonos--spinner-wrapper{background-color:var(--zonos-elements-green-400)}:host button:not(.override-background).danger{background:var(--zonos-elements-red-600);outline:1px solid var(--zonos-elements-red-600);color:var(--zonos-elements-gray-0)}:host button:not(.override-background).danger:not([disabled]):hover{background-image:var(--zonos-elements-button-danger-hover)}:host button:not(.override-background).danger:not([disabled]):active{background:var(--zonos-elements-red-700)}:host button:not(.override-background).danger:not([disabled]):focus{-webkit-box-shadow:var(--zonos-elements-focus-button);box-shadow:var(--zonos-elements-focus-button)}:host button:not(.override-background).danger[disabled]{background:var(--zonos-elements-red-400)}:host button:not(.override-background).danger[disabled] .zonos--spinner-wrapper{background-color:var(--zonos-elements-red-400)}:host button:not(.override-background).warning{background:var(--zonos-elements-orange-600);outline:1px solid var(--zonos-elements-orange-600);color:var(--zonos-elements-gray-0)}:host button:not(.override-background).warning:not([disabled]):hover{background-image:var(--zonos-elements-button-warning-hover)}:host button:not(.override-background).warning:not([disabled]):active{background:var(--zonos-elements-orange-700)}:host button:not(.override-background).warning:not([disabled]):focus{-webkit-box-shadow:var(--zonos-elements-focus-button);box-shadow:var(--zonos-elements-focus-button)}:host button:not(.override-background).warning[disabled]{background:var(--zonos-elements-orange-400)}:host button:not(.override-background).warning[disabled] .zonos--spinner-wrapper{background-color:var(--zonos-elements-orange-400)}:host button:not(.override-background).subtle{background:transparent;color:var(--color);outline:none}:host button:not(.override-background).subtle:not([disabled]):hover{background:var(--zonos-elements-gray-500);color:var(--zonos-elements-gray-0)}:host button:not(.override-background).subtle:not([disabled]):active{background:var(--zonos-elements-gray-200)}:host button:not(.override-background).subtle:focus{-webkit-box-shadow:var(--zonos-elements-button-focus-ring);box-shadow:var(--zonos-elements-button-focus-ring)}:host button:not(.override-background).subtle[disabled] .content{opacity:0.6}:host button:not(.override-background).subtle[disabled] .zonos--spinner-wrapper{background-color:var(--zonos-elements-gray-0)}:host button:not(.override-background).outline{background:transparent;outline:1px solid var(--zonos-elements-gray-700)}:host button:not(.override-background).outline:not([disabled]):hover{background-color:var(--zonos-elements-gray-100)}:host button:not(.override-background).outline:not([disabled]):active{background:var(--zonos-elements-gray-200)}:host .zonos--footer-country-flag{height:18px;width:18px;position:relative;overflow:hidden;border-radius:30px;-webkit-box-shadow:var(--zonos-elements-v3-shadow-medium);box-shadow:var(--zonos-elements-v3-shadow-medium);z-index:10;justify-self:center;border-radius:var(--zonos-elements-radius-4);width:24px}";
37
37
  const ZonosButtonStyle0 = zonosButtonCss;
38
38
 
39
39
  const ZonosButton = /*@__PURE__*/ proxyCustomElement(class ZonosButton extends HTMLElement {
@@ -97,7 +97,7 @@ const ZonosButton = /*@__PURE__*/ proxyCustomElement(class ZonosButton extends H
97
97
  : overrideBackground;
98
98
  // use the variable if it's a color variable, otherwise use the color
99
99
  const color = this.buttonColor && isColorVariable(this.buttonColor)
100
- ? `var(--amino-${this.buttonColor})`
100
+ ? `var(--zonos-elements-${this.buttonColor})`
101
101
  : this.buttonColor;
102
102
  // set contrast color if background color is dark for all variants except subtle
103
103
  const contrastColor = this.variant !== 'subtle' &&
@@ -108,12 +108,12 @@ const ZonosButton = /*@__PURE__*/ proxyCustomElement(class ZonosButton extends H
108
108
  const spinnerColor = backgroundActualColor && isDarkColor(backgroundActualColor)
109
109
  ? 'white'
110
110
  : 'black';
111
- return (h(Host, { key: '10bfc0423b83cc231fb22fdc430a1e5de66705fc', class: classes(['zonos--elements']), "data-theme": this.theme || buttonTheme, disabled: disabled, style: styles({
111
+ return (h(Host, { key: 'f5fd039f9ceeacae2448a09228bacc1bd6476be7', class: classes(['zonos--elements']), "data-theme": this.theme || buttonTheme, disabled: disabled, style: styles({
112
112
  '--background-color': overrideBackground,
113
113
  '--border-radius': borderStyle,
114
114
  '--color': contrastColor,
115
115
  '--font-family': zonosStoreFontFamily(),
116
- }) }, h("button", { key: '1feab99eec063d35c53ed8c308ac7675988e565c', class: classes([
116
+ }) }, h("button", { key: 'bcd3c7bf52464dd1e7485cdac6b0e3defbf63af3', class: classes([
117
117
  this.hasIcon && 'has-icon',
118
118
  this.hasContent && 'has-content',
119
119
  this.noBackground && 'no-background',
@@ -126,7 +126,7 @@ const ZonosButton = /*@__PURE__*/ proxyCustomElement(class ZonosButton extends H
126
126
  overrideBackground &&
127
127
  variant === 'standard' &&
128
128
  'override-background',
129
- ]), disabled: disabled }, this.loading && (h("div", { key: '4c7ad847266e626638762aeecfec011fbac3189b', class: "zonos--spinner-wrapper" }, h("zonos-spinner", { key: 'd433f729bb10922694c27314a31d5159095ef4a9', size: 16, spinnerColor: spinnerColor }))), !this.loading && !this.iconRight && this.icon, h("slot", { key: '06f32dc6cb7e10b1acbbde8bf1a0f663ea458608', onSlotchange: this.handleSlotChange }), !this.loading && this.iconRight && this.icon)));
129
+ ]), disabled: disabled }, this.loading && (h("div", { key: 'ea73d8c4b4973f3a8ed6e5b85c2236c0f20b4c6f', class: "zonos--spinner-wrapper" }, h("zonos-spinner", { key: 'cdbe444e0aee0e64facd757a1b5ebd74208359e0', size: 16, spinnerColor: spinnerColor }))), !this.loading && !this.iconRight && this.icon, h("slot", { key: 'e7a46cced38d7916873e5dea8aff4c33e137cdf6', onSlotchange: this.handleSlotChange }), !this.loading && this.iconRight && this.icon)));
130
130
  }
131
131
  get ele() { return this; }
132
132
  static get watchers() { return {
@@ -3,7 +3,7 @@ import { a as zonosStoreFontFamily } from './zonosStore.js';
3
3
  import { c as classes } from './classes.js';
4
4
  import { d as defineCustomElement$1 } from './zonos-text2.js';
5
5
 
6
- const zonosCardCss = ":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 .styled-card{border:var(--amino-border);border-radius:var(--amino-radius-6);padding:var(--spacing, 24px);text-align:left}:host .styled-card hr{margin-left:calc(var(--spacing, 24px) * -1);margin-right:calc(var(--spacing, 24px) * -1)}:host .styled-card .card-header{margin:calc(var(--spacing, 24px) * -1);padding:var(--spacing, 24px);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;margin-bottom:var(--spacing, 24px);border-bottom:var(--amino-border);height:65px;line-height:65px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}:host .styled-card .card-header h5{margin-bottom:0;-ms-flex:1;flex:1}:host .styled-card .card-footer{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;margin:calc(var(--spacing, 24px) * -1);padding:var(--spacing, 24px);border-top:var(--amino-border);background:var(--amino-surface-color-secondary);margin-top:var(--spacing, 24px);border-bottom-left-radius:var(--amino-radius-8);border-bottom-right-radius:var(--amino-radius-8);height:var(--footerHeight)}";
6
+ const zonosCardCss = ":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 .styled-card{border:var(--zonos-elements-border);border-radius:var(--zonos-elements-radius-6);padding:var(--spacing, 24px);text-align:left}:host .styled-card hr{margin-left:calc(var(--spacing, 24px) * -1);margin-right:calc(var(--spacing, 24px) * -1)}:host .styled-card .card-header{margin:calc(var(--spacing, 24px) * -1);padding:var(--spacing, 24px);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;margin-bottom:var(--spacing, 24px);border-bottom:var(--zonos-elements-border);height:65px;line-height:65px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}:host .styled-card .card-header h5{margin-bottom:0;-ms-flex:1;flex:1}:host .styled-card .card-footer{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;margin:calc(var(--spacing, 24px) * -1);padding:var(--spacing, 24px);border-top:var(--zonos-elements-border);background:var(--zonos-elements-surface-color-secondary);margin-top:var(--spacing, 24px);border-bottom-left-radius:var(--zonos-elements-radius-8);border-bottom-right-radius:var(--zonos-elements-radius-8);height:var(--footerHeight)}";
7
7
  const ZonosCardStyle0 = zonosCardCss;
8
8
 
9
9
  const ZonosCard = /*@__PURE__*/ proxyCustomElement(class ZonosCard extends HTMLElement {
@@ -3,7 +3,7 @@ import { c as cartStore } from './stripe.js';
3
3
  import { f as formatCurrency } from './formatCurrency.js';
4
4
  import { d as defineCustomElement$1 } from './zonos-text2.js';
5
5
 
6
- const zonosCartItemsCss = ":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--cart-table{width:100%;border:none;border-collapse:collapse;overflow:auto;font-size:var(--amino-font-size-base)}:host .zonos--cart-table .zonos--column{padding:8px;font-size:var(--amino-font-size-base)}:host .zonos--cart-table .zonos--column:last-child{text-align:right}:host .zonos--cart-table .zonos--column:first-child{width:60px}:host img{min-width:40px}";
6
+ const zonosCartItemsCss = ":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--cart-table{width:100%;border:none;border-collapse:collapse;overflow:auto;font-size:var(--zonos-elements-font-size-base)}:host .zonos--cart-table .zonos--column{padding:8px;font-size:var(--zonos-elements-font-size-base)}:host .zonos--cart-table .zonos--column:last-child{text-align:right}:host .zonos--cart-table .zonos--column:first-child{width:60px}:host img{min-width:40px}";
7
7
  const ZonosCartItemsStyle0 = zonosCartItemsCss;
8
8
 
9
9
  const ZonosCartItems = /*@__PURE__*/ proxyCustomElement(class ZonosCartItems extends HTMLElement {
@@ -13,7 +13,7 @@ const InfoIcon = `<svg viewBox="0 0 17 16" fill="none" xmlns="https://www.w3.org
13
13
  </svg>
14
14
  `;
15
15
 
16
- const zonosCartSubtotalCss = ":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--cart-table{width:100%;border:none;border-collapse:collapse;overflow:auto;font-size:var(--amino-font-size-base)}:host .zonos--cart-table .zonos--column{padding:20px 8px;vertical-align:top}:host .zonos--cart-table .zonos--column:last-child{text-align:right}:host .zonos--cart-table .zonos--column:first-child{width:60px}:host .zonos--title-with-icon{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;gap:8px}:host .zonos--cart-subtotal-title,:host .zonos--cart-subtotal-price{border-bottom:1px solid var(--amino-gray-200)}:host .zonos--cart-duty-tax-price{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:end;align-items:flex-end;gap:5px}:host .zonos--cart-subtotal-price{text-align:right}";
16
+ const zonosCartSubtotalCss = ":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--cart-table{width:100%;border:none;border-collapse:collapse;overflow:auto;font-size:var(--zonos-elements-font-size-base)}:host .zonos--cart-table .zonos--column{padding:20px 8px;vertical-align:top}:host .zonos--cart-table .zonos--column:last-child{text-align:right}:host .zonos--cart-table .zonos--column:first-child{width:60px}:host .zonos--title-with-icon{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;gap:8px}:host .zonos--cart-subtotal-title,:host .zonos--cart-subtotal-price{border-bottom:1px solid var(--zonos-elements-gray-200)}:host .zonos--cart-duty-tax-price{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:end;align-items:flex-end;gap:5px}:host .zonos--cart-subtotal-price{text-align:right}";
17
17
  const ZonosCartSubtotalStyle0 = zonosCartSubtotalCss;
18
18
 
19
19
  const ZonosCartSubtotal = /*@__PURE__*/ proxyCustomElement(class ZonosCartSubtotal extends HTMLElement {
@@ -16,7 +16,7 @@ const colorPrefixes = [
16
16
  'glass',
17
17
  ];
18
18
 
19
- const zonosCheckboxCss = ":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;cursor:pointer}:host label{display:-ms-inline-flexbox;display:inline-flex;position:relative;gap:8px;-ms-flex-align:center;align-items:center}:host label.disabled{cursor:not-allowed;opacity:0.6}:host input[type=checkbox]{opacity:0;position:absolute;left:0;width:0;height:0;top:0;z-index:-99999}:host svg{opacity:0}:host .checkmark-container{height:var(--size);width:var(--size);background-color:transparent;border:1.5px solid var(--amino-gray-400);position:relative;border-radius:var(--border-radius, var(--amino-radius-4))}:host .checkmark{opacity:0;position:absolute;top:-1.5px;left:-1.5px;right:-1.5px;bottom:-1.5px;width:calc(100% + 3px);-webkit-transition:0.3s all cubic-bezier(0.175, 0.885, 0.32, 1.275);transition:0.3s all cubic-bezier(0.175, 0.885, 0.32, 1.275);-webkit-transform:scale(0.4);transform:scale(0.4);background-color:var(--background-color);border-radius:var(--border-radius, var(--amino-radius-4))}:host input[type=checkbox]:checked~.checkmark-container .checkmark{opacity:1;-webkit-transform:scale(1);transform:scale(1)}";
19
+ const zonosCheckboxCss = ":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;cursor:pointer}:host label{display:-ms-inline-flexbox;display:inline-flex;position:relative;gap:8px;-ms-flex-align:center;align-items:center}:host label.disabled{cursor:not-allowed;opacity:0.6}:host input[type=checkbox]{opacity:0;position:absolute;left:0;width:0;height:0;top:0;z-index:-99999}:host svg{opacity:0}:host .checkmark-container{height:var(--size);width:var(--size);background-color:transparent;border:1.5px solid var(--zonos-elements-gray-400);position:relative;border-radius:var(--border-radius, var(--zonos-elements-radius-4))}:host .checkmark{opacity:0;position:absolute;top:-1.5px;left:-1.5px;right:-1.5px;bottom:-1.5px;width:calc(100% + 3px);-webkit-transition:0.3s all cubic-bezier(0.175, 0.885, 0.32, 1.275);transition:0.3s all cubic-bezier(0.175, 0.885, 0.32, 1.275);-webkit-transform:scale(0.4);transform:scale(0.4);background-color:var(--background-color);border-radius:var(--border-radius, var(--zonos-elements-radius-4))}:host input[type=checkbox]:checked~.checkmark-container .checkmark{opacity:1;-webkit-transform:scale(1);transform:scale(1)}";
20
20
  const ZonosCheckboxStyle0 = zonosCheckboxCss;
21
21
 
22
22
  const ZonosCheckbox = /*@__PURE__*/ proxyCustomElement(class ZonosCheckbox extends HTMLElement {
@@ -42,27 +42,27 @@ const ZonosCheckbox = /*@__PURE__*/ proxyCustomElement(class ZonosCheckbox exten
42
42
  render() {
43
43
  const isBackgroundVariable = colorPrefixes.includes(this.backgroundColor);
44
44
  const backgroundColor = isBackgroundVariable
45
- ? `var(--amino-${this.backgroundColor}-600)`
45
+ ? `var(--zonos-elements-${this.backgroundColor}-600)`
46
46
  : this.backgroundColor;
47
47
  const checkmarkColor = isBackgroundVariable
48
48
  ? // use lighter color if the color is amino variable
49
- `var(--amino-${this.backgroundColor}-200)`
49
+ `var(--zonos-elements-${this.backgroundColor}-200)`
50
50
  : // if it's not an amino variable, use white if the background is dark, and dark if the background is light
51
51
  !isDarkColor(backgroundColor)
52
- ? 'var(--amino-gray-800)'
53
- : 'var(--amino-gray-0)';
52
+ ? 'var(--zonos-elements-gray-800)'
53
+ : 'var(--zonos-elements-gray-0)';
54
54
  const borderStyle = getBorderRadius({
55
55
  customRoundRadius: '4px',
56
56
  overrideBorderStyle: this.borderStyle,
57
57
  });
58
- return (h(Host, { key: '8a3d5f66a7fb956dcb063f1b375bfb80856a80c4', class: classes(['zonos--elements zonos--checkbox']), style: {
58
+ return (h(Host, { key: 'be29586ffd5ae5227614622cfb402686ff5e0583', class: classes(['zonos--elements zonos--checkbox']), style: {
59
59
  '--background-color': backgroundColor,
60
60
  '--border-radius': borderStyle,
61
61
  '--font-family': zonosStoreFontFamily(),
62
62
  '--size': `${this.size}px`,
63
- } }, h("label", { key: '95dc70a3821652e588706b570b40272a5f124b7f', class: classes([this.isDisabled && 'disabled']) }, h("input", { key: 'ef61adbd2246fbb934a17b31ea62cd5ce4ff88f7', checked: this.isChecked, disabled: this.isDisabled, hidden: true, onChange: e => {
63
+ } }, h("label", { key: '091c2388668a94962d7b2bde4496856805f675e8', class: classes([this.isDisabled && 'disabled']) }, h("input", { key: 'c0f66d11f63591b03631cb1c970c0db201d435e2', checked: this.isChecked, disabled: this.isDisabled, hidden: true, onChange: e => {
64
64
  this.checkboxSelected.emit(e.target.checked);
65
- }, type: "checkbox" }), h("span", { key: '0587bf8dc5ee1477d91360e20d521efd9853c554', class: "checkmark-container" }, h("svg", { key: '3b7abf05f170aa2c4a31f76763c79ce975a543bc', class: "checkmark", color: checkmarkColor, fill: "none", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: '7d16a3850fbdca9fd3af7fa1f64a1715497b9c7b', "clip-rule": "evenodd", d: "M17.456 7.404a.75.75 0 0 1 .14 1.052l-6.5 8.5a.75.75 0 0 1-1.126.074l-4-4a.75.75 0 0 1 1.06-1.06l3.395 3.394 5.98-7.82a.75.75 0 0 1 1.05-.14Z", fill: "currentColor", "fill-rule": "evenodd" }))), this.label && (h("zonos-text", { key: '305600e6860aeba8dfa0f3019d51d1bf91498310', size: this.fontSize }, this.label)))));
65
+ }, type: "checkbox" }), h("span", { key: 'ab6c4847d006a812829bd8e871520455da91c7b0', class: "checkmark-container" }, h("svg", { key: '617693bef302910db463cdf95b10700b72ea8d44', class: "checkmark", color: checkmarkColor, fill: "none", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: '410728b7d5edf27966e660e598f166ce8292015e', "clip-rule": "evenodd", d: "M17.456 7.404a.75.75 0 0 1 .14 1.052l-6.5 8.5a.75.75 0 0 1-1.126.074l-4-4a.75.75 0 0 1 1.06-1.06l3.395 3.394 5.98-7.82a.75.75 0 0 1 1.05-.14Z", fill: "currentColor", "fill-rule": "evenodd" }))), this.label && (h("zonos-text", { key: '1b9a21e7ef15ad34684453bc25cb3744ba183cd0', size: this.fontSize }, this.label)))));
66
66
  }
67
67
  static get style() { return ZonosCheckboxStyle0; }
68
68
  }, [1, "zonos-checkbox", {
@@ -1,5 +1,5 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h, Host, Fragment } from '@stencil/core/internal/client';
2
- import { t as handleFetch, r as stripeStoreReset, c as cartStore, s as stripeStore, u as stripeStoreRetrievePayment } from './stripe.js';
2
+ import { u as handleFetch, r as stripeStoreReset, c as cartStore, s as stripeStore, v as stripeStoreRetrievePayment } from './stripe.js';
3
3
  import { a as translate } from './translationStore.js';
4
4
  import { z as zonosStore } from './zonosStore.js';
5
5
  import { t as trackConversionEvent } from './trackConversionEvent.js';
@@ -38,11 +38,11 @@ const sendErrorLog = async ({ endpoint, errors, metadata }) => {
38
38
  });
39
39
  };
40
40
 
41
- const RemoveIcon = `<svg color="var(--amino-red-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-red-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>`;
41
+ const RemoveIcon = `<svg color="var(--zonos-elements-red-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(--zonos-elements-red-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>`;
42
42
 
43
- const SuccessIcon = `<svg color="var(--amino-blue-800)" fill="none" height="24" viewBox="0 0 24 24" width="24" xmlns="https://www.w3.org/2000/svg"><path clip-rule="evenodd" d="M2 12C2 6.477 6.477 2 12 2s10 4.477 10 10-4.477 10-10 10S2 17.523 2 12Z" data-is-secondary-color="true" fill="var(--amino-blue-100)" fill-rule="evenodd"></path><path clip-rule="evenodd" d="M15.707 9.293a1 1 0 0 1 0 1.414l-3.646 3.647a1.5 1.5 0 0 1-2.122 0l-1.646-1.647a1 1 0 1 1 1.414-1.414L11 12.586l3.293-3.293a1 1 0 0 1 1.414 0Z" fill="currentColor" fill-rule="evenodd"></path></svg>`;
43
+ const SuccessIcon = `<svg color="var(--zonos-elements-blue-800)" fill="none" height="24" viewBox="0 0 24 24" width="24" xmlns="https://www.w3.org/2000/svg"><path clip-rule="evenodd" d="M2 12C2 6.477 6.477 2 12 2s10 4.477 10 10-4.477 10-10 10S2 17.523 2 12Z" data-is-secondary-color="true" fill="var(--zonos-elements-blue-100)" fill-rule="evenodd"></path><path clip-rule="evenodd" d="M15.707 9.293a1 1 0 0 1 0 1.414l-3.646 3.647a1.5 1.5 0 0 1-2.122 0l-1.646-1.647a1 1 0 1 1 1.414-1.414L11 12.586l3.293-3.293a1 1 0 0 1 1.414 0Z" fill="currentColor" fill-rule="evenodd"></path></svg>`;
44
44
 
45
- const zonosCheckoutFinishCss = ":host{font-family:var(--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}:host .zonos--group{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;margin-bottom:24px;border-radius:var(--border-radius, 10px);gap:24px;max-width:360px;width:auto;margin:auto;margin-top:24px;background-color:var(--amino-gray-50);padding:20px}:host zonos-button{width:100%}:host .loading-wrapper{min-height:300px;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}";
45
+ const zonosCheckoutFinishCss = ":host{font-family:var(--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}:host .zonos--group{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;margin-bottom:24px;border-radius:var(--border-radius, 10px);gap:24px;max-width:360px;width:auto;margin:auto;margin-top:24px;background-color:var(--zonos-elements-gray-50);padding:20px}:host zonos-button{width:100%}:host .loading-wrapper{min-height:300px;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}";
46
46
  const ZonosCheckoutFinishStyle0 = zonosCheckoutFinishCss;
47
47
 
48
48
  const ZonosCheckoutFinish = /*@__PURE__*/ proxyCustomElement(class ZonosCheckoutFinish extends HTMLElement {
@@ -60,7 +60,10 @@ const ZonosCheckoutFinish = /*@__PURE__*/ proxyCustomElement(class ZonosCheckout
60
60
  return null;
61
61
  }
62
62
  // onOrderSuccess callback may be provided on Zonos.init
63
- await ((_b = (_a = zonosStore.checkoutSettings).onOrderSuccess) === null || _b === void 0 ? void 0 : _b.call(_a, json));
63
+ await ((_b = (_a = zonosStore.checkoutSettings).onOrderSuccess) === null || _b === void 0 ? void 0 : _b.call(_a, {
64
+ zonosApiRoute: baseUrl,
65
+ zonosOrder: json,
66
+ }));
64
67
  return json;
65
68
  };
66
69
  this.handleSuccessBehavior = (orderId) => {
@@ -188,11 +191,11 @@ const ZonosCheckoutFinish = /*@__PURE__*/ proxyCustomElement(class ZonosCheckout
188
191
  // const totalItems = this.order?.items?.reduce((acc, item) => {
189
192
  // return acc + item.quantity;
190
193
  // }, 0);
191
- return (h(Host, { key: 'fffe0cbefd173f892f3a0359ac45a8b97392172e', class: "zonos--checkout-finish zonos--elements", style: {
194
+ return (h(Host, { key: '5ff65f7e0c06f41df8aae634bdfc5d6c249066e3', class: "zonos--checkout-finish zonos--elements", style: {
192
195
  '--border-radius': getBorderRadius({
193
196
  overrideBorderStyle: this.borderRadius,
194
197
  }),
195
- } }, this.isLoading && (h("div", { key: 'b0a8c67102f0eb841d114e8cd1cd7e44fe895df4', class: "loading-wrapper" }, h("zonos-spinner", { key: 'e45f13d061cd94f777abfef5f12a8dc9a927c9e1' }))), !this.isLoading && (h(Fragment, null, h("div", { key: '81ca150772d4f6b38563bb46d5c76ebc51f9628c', class: "zonos--group" }, this.notificationType === 'success' ? (h("zonos-icon", { "aria-label": "Order success", content: SuccessIcon, iconColor: 'blue-800', size: 50 })) : (h("zonos-icon", { "aria-label": "Order failed", content: RemoveIcon, iconColor: 'red-800', size: 50 })), h("zonos-text", { key: 'c88feb2cc5956087fc91c5a00edb4e142efbfee0', class: "zonos--title", type: "semiBoldSubheader" }, this.notificationTitle), h("zonos-text", { key: '621b100ed02aa5dc37f1da5be90c8f14568a21f3' }, this.notificationMessages.map(message => (h(Fragment, null, message, h("br", null))))), h("zonos-button", { key: '9fff5bc809f97f8126a8117b2896f984e07fc1be', onClick: () => this.closeClickHandler(), size: "md", variant: "primary" }, translate('Keep shopping')))))));
198
+ } }, this.isLoading && (h("div", { key: '90a55566440c372885ecfd0d4ec1ceaca61d5169', class: "loading-wrapper" }, h("zonos-spinner", { key: '814fcab377f26107b42d431a9bd89cb415ea2aba' }))), !this.isLoading && (h(Fragment, null, h("div", { key: '5f0af17eadfad44a28b7a3cab861630aab10ea46', class: "zonos--group" }, this.notificationType === 'success' ? (h("zonos-icon", { "aria-label": "Order success", content: SuccessIcon, iconColor: 'blue-800', size: 50 })) : (h("zonos-icon", { "aria-label": "Order failed", content: RemoveIcon, iconColor: 'red-800', size: 50 })), h("zonos-text", { key: 'cb98643270b2faf2522437d653251b7a1b520d8c', class: "zonos--title", type: "semiBoldSubheader" }, this.notificationTitle), h("zonos-text", { key: '24b040b053da852c0e6d9e76532647d7f4ec3d7a' }, this.notificationMessages.map(message => (h(Fragment, null, message, h("br", null))))), h("zonos-button", { key: '664c02f338ef2020fed645c759cfa70fcd1edb97', onClick: () => this.closeClickHandler(), size: "md", variant: "primary" }, translate('Keep shopping')))))));
196
199
  }
197
200
  static get assetsDirs() { return ["assets"]; }
198
201
  static get style() { return ZonosCheckoutFinishStyle0; }